AnyChart
API Reference
Still have questions?
Contact support
Top

[enum] anychart.enums.SunburstCalculationMode Improve this Doc

Sunburst calculation mode.

Try it:

Value Description
ordinal-from-leaves "Ordinal-from-leaves" mode. The calculation is based on a number of leaves. All leaves divide 360 into equal parts and have the same angle.
ordinal-from-root "Ordinal-from-root" mode. The calculation is based on a number of points on the levels. The data value in the field isn't considered.
parent-dependent "Parent-dependent" mode. The calculation is based on a values of the field "value". An angular quantity of the points depends on node value and parent value.
parent-independent 'Parent-independent' mode. The calculation is based on leaves values. Parent values are calculated as the sum of the values of their children.