Xceed Chart for WinForms v4.4 Documentation
LineBorder Property
Example 


Xceed.Chart.Core.v4.4 Assembly > Xceed.Chart.Core Namespace > LineSeries Class : LineBorder Property
Controls the appearance of the line borders.
Syntax
'Declaration
 
<DescriptionAttribute("Controls the appearance of the line borders.")>

<CategoryAttribute("Series Appearance")>

Public Property LineBorder As LineProperties
'Usage
 
Dim instance As LineSeries

Dim value As LineProperties

 

instance.LineBorder = value

 

value = instance.LineBorder
[Description("Controls the appearance of the line borders.")]

[Category("Series Appearance")]

public LineProperties LineBorder {get; set;}
Remarks
If the line series is displayed in Tape or Tube style the line properties control the border of the segments. If the style is set to Line the line properties control the appearance of the displayed line. The line properties are taken into account if the LineMode property of the associated Appearance object is set to Series.
Example
The following code displays a simple line series in blue color.
lineSeries.LineStyle = LineSeriesStyle.Line

line.Appearance.LineMode = AppearanceLineMode.Series

line.LineBorder.Color = Color.Blue
lineSeries.LineStyle = LineSeriesStyle.Line;

line.Appearance.LineMode = AppearanceLineMode.Series;

line.LineBorder.Color = Color.Blue;
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

LineSeries Class
LineSeries Members