ZoomCharts Documentation

Version: 1.21.4 (2025-05-13)
Switch to Version 2.0 (BETA)

Layout

Pie chart automatically computes size and location of the chart and labels.

First some room is reserved for Title and Credits. After that configuration parameters are used to determine pie position and size:

Pie center and angle

X and Y can be one of:

Main pie layout

Radius can be one of:

When radius = null and adaptiveRadius = true pie radius will change dynamically to make room for labels.

Inner radius can be one of:

Inner pies

Labels

Outside labels are placed around the pie at connectorLength distance form the pie. Labels are split into multiple lines if there is not enough room for a single-line label. When the available space allows, labels will be vertically aligned, if not they are wrapped around the pie.

Inside labels are simply placed at the center of each slice. insideLabel option governs what to do when there is not enough room: "append" - append to the outside label, "always" - always show the inside label, "auto" - hide if not enough room.

X