Border Property
Applies To
Axis object, AxisTitle object, ChartArea object, ChartTitle object, DataLabel object, DataLabels Collection object, DataTable object, DownBars object, DropLines object, ErrorBars object, Floor object, Gridlines object, HiLoLines object, LeaderLines object, Legend object, LegendKey object, PlotArea object, Point object, Series object, SeriesLines object, Trendline object, UpBars object, Walls object.
Description
Returns a Border object that represents the border of the object. Read-only.
Example
This example sets the color of the chart area border to red.
myChart.ChartArea.Border.ColorIndex = 3