ChartArea.BorderColor Property

.NET Framework (current version)
 

Gets or sets the border color of a ChartArea object.

Namespace:   System.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)

[BindableAttribute(true)]
[TypeConverterAttribute(typeof(ColorConverter))]
public Color BorderColor { get; set; }

Property Value

Type: System.Drawing.Color

A Color value that specifies the border color of a chart area. The default color is Empty.

You can set the BorderColor property to any valid ARGB (alpha, red, green, blue) value.

System_CAPS_noteNote

For pie and doughnut charts, this property determines the color of radial and horizontal lines if data labels are drawn outside the pie or doughnut—that is, if the LabelStyle custom property is set to "Outside".

This property also determines the marker lines for 3D charts if the ShowMarkerLines custom property is set to true.

.NET Framework
Available since 4.0
Return to top
Show: