Edit

Share via


ChartArea.BorderColor Property

Definition

Gets or sets the border color of a ChartArea object.

public:
 property System::Drawing::Color BorderColor { System::Drawing::Color get(); void set(System::Drawing::Color value); };
[System.ComponentModel.Bindable(true)]
[System.ComponentModel.TypeConverter(typeof(System.Drawing.ColorConverter))]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public System.Drawing.Color BorderColor { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.ComponentModel.TypeConverter(typeof(System.Drawing.ColorConverter))>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
member this.BorderColor : System.Drawing.Color with get, set
Public Property BorderColor As Color

Property Value

A Color value. The default color is Empty.

Attributes

Remarks

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

Note

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.

Applies to