Gets or sets the border color of a ChartArea object.
The border line color
Visual Basic (Declaration) | |
---|---|
Public Property BorderColor As Color |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public Color BorderColor {get; set;} |
Return Value
A Color structure. The default color for all elements except the chart class is empty (Color.Empty).
You can set this property to any valid ARGB (Alpha, Red, Green, Blue) value.
NOTE that for pie and doughnut charts this property determines the color of radial and horizontal lines if data labels are drawn outside of the pie or doughnut (e.g. the LabelStyle custom attribute is set to "outside".
This property also determines the marker lines for 3D charts if the ShowMarkerLines custom attribute is set to true.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family