Customizing Chart Elements > ChartLabels Programming Considerations |
Also, see Using ChartLabels.
A ChartLabel object defines an independent rectangular region which can be attached to a chart. The ChartLabels collection contains all of the chart labels defined for a particular chart.
To create a ChartLabel object, call the Add method:
Dim label As Object
Set label = Chart3D1.ChartLabels.Add
The Remove method removes a ChartLabel from the collection:
Chart3D1.ChartLabels.Remove 1