[]
        
(Showing Draft Content)

Customizing 3D Chart Labels

The Chart3DLabels object has a DefaultStyle that controls attributes of all labels (font, colors, border). Each of the labels also has its own individual Style inherited from this Default style. Setting attributes of the individual style overrides the attributes of the DefaultStyle.

For instance, in the following code the background color of the default style can be set to gray:

To write code in Visual Basic

C1Chart3D1.ChartLabels.DefaultStyle.BackColor = Drawing.Color.Gray

To write code in C#

C1Chart3D1.ChartLabels.DefaultStyle.BackColor = Drawing.Color.Gray;

All existing labels will have a gray background (if not deliberately set otherwise), and all new labels created will also adopt a gray background.

See Also

3D Chart Label Connecting Lines and Offset

3D Chart Label Text and Position

3D Chart Label Border

3D Chart Label Colors

3D Chart Label Fonts