Pie Chart
This component displays a pie chart.
Tips
Properties
UI Dialog
Item | Input value | Option | Default value |
---|---|---|---|
ID | string | automatic | |
Width | string | 415 | |
Height | string | 515 | |
X | string | ||
Y | string | ||
Chart Type | option | • Pie • Pie 3D • Donut | Pie |
Visibility | boolean | • on • off | on |
Value | string | ||
Series | table | ||
Legend | table |
Action
Item | Properties | Data Type | Options | Default value |
---|---|---|---|---|
ID | id | string | automatic | |
Width | width | string | 415 | |
Height | height | string | 515 | |
X | x | string | ||
Y | y | string | ||
Chart Type | chartType | string | •pie •pie3D •donut | pie |
Visibility | visibility | boolean | • true • false | true |
Value | value | array of object | ||
Series | series | object | ||
Legend | legend | object |
Tips
Example 1 Value (value)
Example 2 Series (series)
Set the drawing settings for the series.
Value | Text | Color | Stroke | Stroke Width |
---|---|---|---|---|
value | month | color | #FFFFFF | 2 |
Example 3 Legend (legend)
Sets legend information.
Id | Text | Color | Horizontal Align | Vertical Align |
---|---|---|---|---|
value | id | color | right | top |
- The options for Horizontal Align are left | center | right (default).
- The options for Vertical Align are top (default) | bottom.
Event
None