Pie Chart
This component displays a pie chart.
Dialog Property
| 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 Property
| 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 |
Example 1 Value (value)
[ {"value":44.33,"color":"#394E79","month":"Jan"}, {"value":22.12,"color":"#5E83BA","month":"Feb"}, {"value":53.21,"color":"#C2D2E9","month":"Mar"}, {"value":34.25,"color":"#9A8BA5","month":"Apr"}, {"value":24.65,"color":"#E3C5D5","month":"May"}]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