Spread for ASP.NET 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 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)
Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

AreaSeries Class
AreaSeries Members

 

 


Copyright © GrapeCity, inc. All rights reserved.