This demo illustrates how to customize the PieChart component labels.
The series.label object allows you to specify the following settings:
Specifies the visibility of point labels.
Specifies a label position relative to the PieChart.
The labels are outside the component.
The labels are outside the component and are arranged in columns. In this demo, you can see this mode in action.
The labels are inside the points.
A function that returns text displayed by point labels.
Specifies font properties for label text. This demo uses the nested size property to change the font size.
Specifies connector properties for labels. In this demo, the nested visible property is enabled, and the connector width is set to 0.5.
You can also format label text and change word wrap mode, specify the background color and borders, and rotate and shift the labels.