Segmented Ring Gauge Chart
Draws one circular capacity ring whose filled amount is divided into colored segments.
Each value in the single data series is a non-negative contribution to capacity. Their sum must not exceed that capacity. Categories optionally name segments in the legend and selected title. The unfilled part of the ring remains visible as the track, while centerLabel defaults to the formatted segment total. Tapping a segment selects it for three seconds; tapping again renews that timeout. Programmatic selections persist when interactionEnabled is false.
Parameters
One series of at least one non-negative finite value. Categories are optional and, when set, must contain one name for every value.
The finite positive total represented by the full ring.
The primary text inside the ring. When null, the sum of segments is formatted.
Optional text below centerLabel, such as of 2000 kcal.
Formats the default center total. During animation, intermediate values are rounded to whole numbers before formatting; the final total retains its precision.
When false, disables tap-to-select and the auto-deselect timeout.