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


FarPoint.Win.Chart Assembly > FarPoint.Win.Chart Namespace > AreaSeries Class : DropLinesLine Property
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)
See Also

Reference

AreaSeries Class
AreaSeries Members