Spread for ASP.NET 11 Product Documentation
DropLinesLine Property (AreaSeries)
Example 


FarPoint.Web.Chart Assembly > FarPoint.Web.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 sets the DropLinesLine property.

FarPoint.Web.Chart.AreaSeries aseries1 = new FarPoint.Web.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.Web.Chart.GradientFill(System.Drawing.Color.Azure, System.Drawing.Color.Bisque);
aseries1.AreaBorder = new FarPoint.Web.Chart.SolidLine(System.Drawing.Color.Blue);
aseries1.DropLinesVisible = true;
aseries1.DropLinesLine = new FarPoint.Web.Chart.SolidLine(System.Drawing.Color.RosyBrown);
Dim aseries1 As New FarPoint.Web.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.Web.Chart.GradientFill(System.Drawing.Color.Azure, System.Drawing.Color.Bisque)
aseries1.AreaBorder = New FarPoint.Web.Chart.SolidLine(System.Drawing.Color.Blue)
aseries1.DropLinesVisible = True
aseries1.DropLinesLine = New FarPoint.Web.Chart.SolidLine(System.Drawing.Color.RosyBrown)
See Also

Reference

AreaSeries Class
AreaSeries Members