# Customizing 3D Chart Labels

## Content



The [Chart3DLabels](/componentone/api/win/online-chart3d/dotnet-framework-api/C1.Win.C1Chart3D.4.8/C1.Win.C1Chart3D.Chart3DLabels.html) object has a [DefaultStyle](/componentone/api/win/online-chart3d/dotnet-framework-api/C1.Win.C1Chart3D.4.8/C1.Win.C1Chart3D.Chart3DLabels.DefaultStyle.html) 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:

DOC-DETAILS-TAG-OPEN

DOC-SUMMARY-TAG-OPEN

To write code in Visual Basic

DOC-SUMMARY-TAG-CLOSE

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

DOC-DETAILS-TAG-CLOSE

DOC-DETAILS-TAG-OPEN

DOC-SUMMARY-TAG-OPEN

To write code in C#

DOC-SUMMARY-TAG-CLOSE

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

DOC-DETAILS-TAG-CLOSE

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](/componentone/docs/win/online-chart3d/3dlabels/customizing3dchartla/3dchartlabelconnecti)

[3D Chart Label Text and Position](/componentone/docs/win/online-chart3d/3dlabels/customizing3dchartla/3dchartlabeltextandp)

[3D Chart Label Border](/componentone/docs/win/online-chart3d/3dlabels/customizing3dchartla/3dchartlabelborder)

[3D Chart Label Colors](/componentone/docs/win/online-chart3d/3dlabels/customizing3dchartla/3dchartlabelcolors)

[3D Chart Label Fonts](/componentone/docs/win/online-chart3d/3dlabels/customizing3dchartla/3dchartlabelfonts)