This demo illustrates how to customize the PieChart component labels.
The series.label object allows you to specify the following settings:
visible
Specifies the visibility of point labels.
position
Specifies a label position relative to the PieChart.
outside
The labels are outside the component.
columns
The labels are outside the component and are arranged in columns. In this demo, you can see this mode in action.
inside
The labels are inside the points.
customizeText
A function that returns text displayed by point labels.
font
Specifies font properties for label text. This demo uses the nested size property to change the font size.
connector
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.