ZoomCharts Documentation



This type does not define any methods.


angle: number

Label rotation angle.

connectorLength: number

Minimal connector length from slice to label.

connectors: boolean

Whether to show connector lines for labels.

enabled: boolean

Show/hide labels.

insideLabel: "always" | "auto" | "append"

Inside label placement method.

Valid values:
  • always - always show
  • auto - show only when available area is at least insideLabelVisibilityFraction from label size
  • append - same as auto, but append inside label to normal label when it cannot be shown inside.
insideLabelVisibilityFraction: number

Inside label is not shown if the fraction of label that fits inside slice is smaller than this.

interLabelSpacing: number

Min distance between labels, as a fraction of line height.

labelAppendFunction: (outerText: string, innerText: string, isRightSide: boolean) => string
outerText: string
innerText: string
isRightSide: boolean
Return value
Data type: string
placement: "aligned" | "wrap"

Outside labels placement method.

Valid values:
  • aligned - align labels in vertical lines
  • wrap - wrap labels tightly around pie