The Sunburst Chart component for classic apps
A content area to display sunburst charts.
The Sunburst Chart component renders hierarchical data in a series of concentric rings. Sunburst Chart is useful for visualizing parent-child relationships and how parts make up a whole.
For more information about using the Sunburst Chart component, refer to the charts guide.
Properties
All properties for this object with supported data types or values. You can write JavaScript almost anywhere in Retool to manipulate or read property values.
chartType
The type of chart to display.
| Type | string | ||||||||||||||||||||||||||||||||||||||||||
| Format | Plain Text | ||||||||||||||||||||||||||||||||||||||||||
| Configurability | Inspector > Content > Series > Chart type | ||||||||||||||||||||||||||||||||||||||||||
| Allowed Values |
| ||||||||||||||||||||||||||||||||||||||||||
| Default | null |
Examples
false"bar"
clearOnEmptyData
Whether to clear the chart when the data is empty.
| Type | boolean |
| Format | True/False |
| Configurability | Inspector > Content > Clear when data is empty |
| Default | false |
Examples
falsetrue
colorArray
A list of colors to use when colorInputMode is colorArray.
| Type | array |
| Format | Color |
| Array values | string |
| Configurability | Inspector |
| Default | null |
Examples
false["#ff0000", "#00ff00", "#0000ff"]
colorArrayDropDown
A list of colors to use when colorInputMode is colorArrayDropDown.
| Type | array |
| Format | Color |
| Array values | string |
| Configurability | Inspector > Appearance > Color selection |
| Default | null |
Examples
false["#ff0000", "#00ff00", "#0000ff"]
colorInputMode
The mode for the color input.
| Type | string | ||||||||||||
| Format | Plain Text | ||||||||||||
| Configurability | Inspector > Appearance > Color selection | ||||||||||||
| Allowed Values |
| ||||||||||||
| Default | colorArray |
Examples
false"colorArray"