A Chart3DLabel object defines an independent rectangular region that can be attached to a chart. The Chart3DLabelscollection contains all the chart labels defined for a particular chart.
Specify the index number in the Chart3DLabels collection in order to access a ChartLabel individually:
C1Chart3D1.ChartLabels(0).Text = "This is the first label in the collection"
•C#
C1Chart3D1.ChartLabels[0].Text = "This is the first label in the collection";
To create a Chart3DLabel object, call the AddNewLabel method:
Dim label As Chart3DLabel
label = C1Chart3D1.ChartLabels.AddNewLabel()
•C#
Chart3DLabel label;
label = C1Chart3D1.ChartLabels.AddNewLabel();
The Remove method removes a Chart3DLabel from the collection:
C1Chart3D1.ChartLabels.Remove(label)
•C#
C1Chart3D1.ChartLabels.Remove(label);