Spread Windows Forms 8.0 Product Documentation
DropLinesLine Property (AreaSeries)
Example 


Gets or sets the line used to draw the drop lines.
Syntax
'Declaration
 
Public Property DropLinesLine As Line
'Usage
 
Dim instance As AreaSeries
Dim value As Line
 
instance.DropLinesLine = value
 
value = instance.DropLinesLine
public Line DropLinesLine {get; set;}
Remarks
Value of null (Nothing in VB) indicates that the line is unset for the series.
Example
This example creates drop lines.
FarPoint.Win.Chart.AreaSeries aseries1 = new FarPoint.Win.Chart.AreaSeries();
aseries1.SeriesName = "Series2";
aseries1.Values.Add(1);
aseries1.Values.Add(2);
aseries1.Values.Add(4);
aseries1.Values.Add(8);
aseries1.AreaFill = new FarPoint.Win.Chart.GradientFill(Color.Azure, Color.Bisque);
aseries.AreaBorder = new FarPoint.Win.Chart.SolidLine(Color.Blue);
aseries.DropLinesVisible = true;
aseries.DropLinesLine = new FarPoint.Win.Chart.SolidLine(Color.RosyBrown);
Dim aseries1 As New FarPoint.Win.Chart.AreaSeries
aseries1.SeriesName = "Series2"
aseries1.Values.Add(1.0)
aseries1.Values.Add(2.0)
aseries1.Values.Add(4.0)
aseries1.Values.Add(8.0)
aseries1.AreaFill = New FarPoint.Win.Chart.GradientFill(Color.Azure, Color.Bisque)
aseries.AreaBorder = New FarPoint.Win.Chart.SolidLine(Color.Blue)
aseries.DropLinesVisible = True
aseries.DropLinesLine = New FarPoint.Win.Chart.SolidLine(Color.RosyBrown)
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

Reference

AreaSeries Class
AreaSeries Members

 

 


Copyright © GrapeCity, inc. All rights reserved.