Area chart
Introduction
The area chart component, a basic Magic Pen component for data visualization, displays a data set as an area chart.

Configuration items
Category |
Configuration |
Example |
Description |
Content |
Data source |
|
The data source. For more information, see Area Chart Data Mapping. |
Horizontal axis property |
The field that corresponds to the horizontal axis. |
||
Vertical axis property |
The field that corresponds to the vertical axis. |
||
Grouping property |
The grouping field. For more information, see Area Chart Data Mapping. |
||
Style |
Margin |
The margin. For more information, see General Properties. |
|
Configuration type |
The configuration type. Options include preset and custom. |
||
Configuration content |
|
The custom chart style. For more information, see Area Chart Style. |
|
Interaction |
Hide |
Hides the component. For more information, see General Properties. |
|
Keep layout when hidden |
Keeps the layout when the component is hidden. For more information, see General Properties. |
Properties and methods
Name |
Type |
Example |
Description |
hidden |
boolean |
|
Specifies whether to hide the component. |
clearHidden |
func |
|
Purges the `hidden` value of the component. |
setHidden |
func |
|
Sets whether to hide the component. |

