Column chart
Introduction
The column chart component is a basic component in Magic Pen for data visualization. It displays a set of data as a column chart.

Configuration items
Category |
Configuration |
Example |
Description |
Content |
Data source |
|
The data source. For more information, see Column chart data mapping. |
Horizontal axis properties |
The properties of the horizontal axis. |
||
Vertical axis properties |
The properties of the vertical axis. |
||
Grouping properties |
The grouping field. Use this field to view metrics for different cases within the same dimension. |
||
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 Column 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 |
|
Clears the hidden value of the component. |
setHidden |
func |
|
Sets whether the component is hidden. |

