# Adding and Positioning Labels

## Content



With Sunburst chart, you can configure the arrangement and display properties for data labels depending on what suits your needs the best. By default, the data labels are not displayed on the chart, however, you can enable them by setting the Position and Content properties of DataLabel class.

The example code below uses the **Position** and **Content** properties to enable data labels and set their position.

**xml**

```xml
<c1:C1Sunburst.DataLabel>
<c1:PieDataLabel Position="Inside" 
Content="{}{name}">
</c1:PieDataLabel>
</c1:C1Sunburst.DataLabel>
```

### Code

```html
sunburst.DataLabel.Content = "{Name}{value}";
sunburst.DataLabel.Position = C1.Chart.PieLabelPosition.Inside;
```

![](https://cdn.mescius.io/document-site-files/images/8ba28e07-1633-4a6a-9114-13b9f1f04eed/images/sunburstdatalabels.png)