Appearance
Pie Chart Widget
Last updated
A pie or donut chart of proportions.
Settings
| Setting | Shown for | Description | Default |
|---|---|---|---|
| Donut Style | all | Hollow center | off |
| Show Legend | all | Color legend under the chart | on |
| Data Source | all | Tag Bindings, Custom SQL Query or Named Query | Tag Bindings |
| SQL Query, Named Query | query sources | As for the Bar Chart | — |
| Label Column, Value Column | Custom SQL Query | Slice name and size | first / second column |
| Refresh (ms) | query sources | Re-run interval | 30000 |
Behavior
- Each binding (or row) is a slice, named in the legend by the binding's Label, or after the binding (
value,value1…) when it has none. - Zero, negative and non-numeric values are left out. If every value is zero the widget shows "Add bindings for pie slices" (or "No data" for a query).
- Slices use the same palette as the bar chart: twelve distinct colors, then generated ones, so slices never repeat a color.