Pie chart
Introduction
An area chart widget is a basic Magic Pen widget in the data visualization realm. It displays a dataset as an area chart.

Configurations
Category |
Configuration |
Example |
Description |
Content |
Data source |
|
The data source. For more information about the configuration, see Pie chart data mapping. |
Data property |
The data property. |
||
Grouping property |
The grouping field. Use this to view metrics for different scenarios within a single dimension. |
||
Style |
Margin |
The margin. For more information, see Common properties. |
|
Configuration type |
The configuration type. You can choose between preset and custom. |
||
Configuration content |
|
Custom chart styles. For more information about the configuration, see Pie chart styles. |
|
Interaction |
Hide |
Hides the component. For more information, see Common properties. |
|
Keep layout when hidden |
Keeps the layout when the component is hidden. For more information, see Common properties. |
Properties and methods
Name |
Type |
Example |
Description |
hidden |
boolean |
|
Specifies whether the component is hidden. |
clearHidden |
func |
|
Clears the `hidden` value of the component. |
setHidden |
func |
|
Sets whether the component is hidden. |

