This topic describes the chart style and configuration panel of an Echarts stacked column chart.
Chart style
An Echarts stacked column chart is a type of column chart. It can intelligently display multi-dimensional data differences in a small visualization application space. Supports custom y-axis intervals, multi-series data configuration, and stacked data display.

Configuration Panel 
- Search for Configurations: In the right-side panel of Canvas Editor, click the Settings tab, and click Search for Configurations in the upper-right corner. Enter the required configuration item in the search box, and click the search icon to quickly locate the configuration item. Fuzzy match is supported. For more information, see Search for Configurations.
- Size: indicates the size of a widget, including its pixel width and height. You can click the
icon to proportionally adjust the width and height of a widget. After you click this icon again, you can adjust the width and height as needed. - Position: the position of a widget, which is indicated by pixel X and Y coordinates. X-coordinate indicates the pixel distance between the upper-left corner of the widget and the left border of the canvas. Y-coordinate indicates the pixel distance between the upper-left corner of the widget and the upper border of the canvas.
- Rotation Angle: the angle of a rotation that uses the center point of a widget as the rotation point. The unit is degrees (°). You can use one of the following methods to control the rotation angle of a widget:
- Directly enter the degrees in the Rotation Angle spin box or click the plus sign (+) or minus sign (-) to increase or decrease the value in the Rotation Angle spin box.
- Drag the black dot in the
icon. - Click the
icon to horizontally flip a widget. - Click the
icon to vertically flip a widget.
- Opacity: the opacity of a widget. Valid values: 0 and 1. If this parameter is set to 0, the widget is hidden. If this parameter is set to 1, the widget is completely displayed. Default value: 1.
Render Engine: the rendering engine for the histogram. Including canvas and svg.
Legend: Click the Eye icon on the right to display the legend style.

Width: Enter a value to adjust the width of the legend. The default value is auto, which adapts to the width of the legend.
Height: Enter a value to adjust the height of the legend. Default value: auto.
Orientation: Select the orientation of the legend from the drop-down list.
Horizontal: the horizontal distribution of the legend.
Vertical: The legend is distributed vertically.
Alignment: Click the drop-down list and select an alignment method for the legend and text. The default value is Auto, which is determined based on the position and orientation of the widget.
Automatic
Align Left
Align to Center
Align Right
Pin: Click the + or-sign or enter a number to adjust the inner margin of the legend. Unit: pixels. The default inner margin is 5.
Element Spacing: Click the + or-sign or enter a number to adjust the distance between each item in the legend. Horizontal spacing for horizontal layout, vertical spacing for vertical layout.
Graph Width: Click the + or-sign or enter a number to adjust the width of the legend.
Graphic Height: Click the + or-sign or enter a value to adjust the height of the legend.
Selection Mode: Click the Eye icon to display the selection mode.
Off Color: Modify the color of the legend when the legend is off. For more information, see color picker description. You can see the effect only when you click the legend element on the Preview or Publish page.
Text Style
Color: Modify the color of the legend text. For more information, see color picker description.
Font Style: the font style of the legend text.
Font weight: the font weight of the legend text.
Font: the font family of the legend text.
Font Size: Click + or-, or enter a value to change the font size of the legend.
Background Color: Modify the background color of the legend. For more information, see color picker description.
Border Color: Modify the border color of the legend. For more information, see color picker description.
Border Size: Click + or-, or enter a value to adjust the border thickness of the legend.
Alignment: Click the drop-down list and select an alignment method for the legend mark and the chart. According to the position and orientation of the components.
Align Left
Align to Center
Align Right
Grid: Click the Eye icon on the right to display the grid style.

Left: the distance between the grid and the left border of the widget. Default value: 3%. The following types of input are supported:
The specific pixel value, for example, 20.
Percentage relative to the height and width of the container, for example, 20%.
left, center or right, the components are automatically aligned according to the corresponding position.
Top: the distance between the grid and the upper border of the widget. Default value: 60. The following types of input are supported:
The specific pixel value, for example, 20.
Percentage relative to the height and width of the container, for example, 20%.
left, center or right, the components are automatically aligned according to the corresponding position.
Right: the distance between the grid and the right border of the widget. Default value: 4%. The following types of input are supported:
The specific pixel value, for example, 20.
Percentage relative to the height and width of the container, for example, 20%.
left, center or right, the components are automatically aligned according to the corresponding position.
Bottom: the distance between the grid and the lower boundary of the widget. Default value: 3%. The following types of input are supported:
The specific pixel value, for example, 20.
Percentage relative to the height and width of the container, for example, 20%.
left, center or right, the components are automatically aligned according to the corresponding position.
Width: the width of the grid. Default value: auto. The width is adaptive.
Height: the height of the grid. Default value: auto.
Adaptive Layout: If you select this check box, the histogram is used to adapt the layout. If you clear this check box, the histogram is used to adapt the layout.
Background Color: Modify the background color of the mesh. By default, the background color is transparent. For more information, see the color picker description.
Border Color: Modify the border color of the grid. The default color is transparent. For more information, see color picker description.
Border Width: Click + or-, or enter a value to adjust the border thickness.
X Axis: Click the Eye icon to display the X axis.

Displacement: the offset of the x-axis from the default position. The default value is 0.
Name: the name of the x-axis.
Position: the position of the name on the x-axis. You can select Start, Center, or End. Default value: End.
Name Style
Color: Modify the color of the name text on the x-axis. For more information, see color picker description.
Font Style: the font style of the name on the x-axis.
Font weight: the font weight of the name on the x-axis.
Font: the font family of the name on the x-axis.
Font Size: Click + or-, or enter a value to modify the font size of the name on the x-axis.
Name Interval: Click the + or-sign or enter a value to change the distance between the axis and the axis.
Rotate Name: Click the + or-sign or enter a value to change the rotation angle of the axis name.
Reverse: If you select this check box, the axes are displayed in the reverse direction. If you clear this check box, the axes are displayed in the forward direction.
Leave White: If you select this check box, both sides of the axis are left blank. If you clear this check box, both sides of the axis are left blank.
Minimum Value: the minimum value of the axis scale. The default value is Minimum Data Value, which indicates that the minimum value of data on the axis is used as the minimum scale. If you do not set this parameter, the minimum value is automatically calculated to ensure the even distribution of the scale of the axis.
Maximum Value: the maximum value of the scale on an axis. The default value is Maximum Data Value. This value indicates that the maximum value of data on the axis is used as the maximum scale. If you do not set this value, the maximum value is automatically calculated to ensure the even distribution of the axis scale.
auto scaling: When selected, the coordinate scale does not forcibly include a zero scale. This parameter is valid only in the value axis. This configuration items is invalid after the maximum and minimum values are set.
segments: Click the + or-sign, or enter a value to set the segments of the axis. If you do not set this parameter, the minimum value is automatically calculated to ensure the even distribution of the scale of the axis. It should be noted that this segments is only an estimated value, and the number of segments actually displayed will be adjusted on this basis according to the legisibility of the axis scale display after segmentation. Invalid in category axis.
Minimum Interval Size: Click + or-, or enter a value to specify the minimum interval between axes. For example, it can be set to 1 ensure that the coordinate axis division scale is displayed as an integer. Valid only in the value axis or time axis.
Base: the base of the logarithmic axis. This parameter is valid only for the logarithmic axis.
Axis: Click the eye icon on the right to display the x-axis.
On Zero: indicates whether the axis of the x-axis or y-axis is on the zero scale of the other axis. This field is valid only when the other axis is a value axis and contains the zero scale.
Axis Style
Color: Modify the color of the x-axis line by referring to the color picker description.
Width: Click + or-, or enter a value to modify the width of the x-axis.
Type: the type of the x-axis line separator axis. Optional. Valid values: Solid lines and Dashed lines.
Opacity: Click the + or-sign or enter a value to modify the transparency of the x-axis. The range is [0,1].
Scale: Click the Eye icon on the right to display the scale on the x-axis.
Align with Labels: If you select this check box, the tick marks are aligned with the labels. If you select Leave blank in the category axis, this field takes effect.
interval: Click the + or-sign, or enter a number manually to modify the display interval of the axis scale. This is valid in category axes.
Internal: If you select this check box, the axis scale faces inward. If you remove this check box, the axis scale faces outward.
Length: Click the + or-sign or enter a number to modify the length of the scale.
Axis Style
Color: Modify the color of the tick marks by referring to the color picker description.
Width: Click the + or-sign or enter a value to modify the width of the tick mark.
Type: the type of the axis. Optional. Valid values: Solid lines and Dashed lines.
Transparency: Click the + or-sign or enter a value to modify the transparency of the tick marks. The range is [0,1].
Scale Labels: Click the Eye icon on the right to display the scale labels on the x-axis.
interval: The display interval of the scale labels on the axis. This parameter is valid in the category axis. By default, labels are displayed at intervals that do not overlap with each other. You can set it to 0 force all labels to be displayed. If you set this parameter to 1, one label is displayed every other label. If you set this parameter to 2, one label is displayed every other label.
Internal: If you select this check box, the axis labels face inward. If you remove this check box, the axis labels face outward.
Rotate: the rotation angle of the scale labels. If the category labels on the category axis cannot be displayed, you can rotate the scale labels to prevent them from overlapping. The angle of rotation ranges from -90 degrees to 90 degrees.
Outer Spacing: the distance between the scale label and the axis.
Show Minimum Label: If you select this option, the smallest scale label is displayed. By default, it is automatically determined that if the labels overlap, the smallest scale label will not be displayed.
Show Max Labels: If you select this option, the largest scale label is displayed. By default, it is automatically determined that if the labels overlap, the largest scale label will not be displayed.
Text Style
Color: Modify the color of the scale labels for the axes. For more information, see color picker description.
Font Style: the font style of the axis labels.
Font weight: the font weight of the axis label text.
Font: the font family of the axis label text.
Font Size: the font size of the axis scale label text.
Alignment: the horizontal alignment of the scale label text on the axis. The default value is Auto. Optional.
automatic
Align Left
Center
Align Right
Alignment: Optional. You can select Top Alignment, Center Alignment, or Bottom Alignment.
line separator: Click the eye icon on the right to display the line separator.
interval: Click the + or-sign, or enter a number manually to modify the display interval of the axis separation line. This parameter is valid in the category axis. By default, the line separator is displayed at line separator non-overlapping policy intervals. You can set 0 to force all line separator to be displayed. A value of 1 indicates that every line separator displays a line separator. A value of 2 indicates that every two line separator displays a line separator.
Axis Style
Width: Click the + or-sign or enter a value to modify the width of the line in the x-axis line separator.
Type: the type of the x-axis line separator axis. Optional. Valid values: Solid lines and Dashed lines.
Transparency: Click the + or-sign or enter a value to modify the transparency of the line separator on the x-axis. The value ranges from 0 to 1.
Split Area: Click the Eye icon on the right to display the split area.
interval: Click the + or-sign, or enter a number manually to modify the display interval of the axis separation area. This parameter is valid in the category axis. By default, the split area is displayed at a non-overlapping interval. It can be set to 0 force all the divided regions to be displayed. If the value is set to 1, one split region is displayed every other split region. If the value is set to 2, one split region is displayed every two split regions.
Area Style
Transparency: Click the + or-sign or enter a value to modify the transparency of the split area. Valid values: 0 to 1.
Axis Indicator: Click the Eye icon to display the axis indicator.
Type: the type of the indicator. Valid values: Line Indicator and Shadow Indicator.
Automatic Adsorption: If you select this check box, the axis indicator is automatically adsorbed to the point. This function is more meaningful on the numerical axis and the time axis, and can automatically find small numerical points.
Initial Value: the initial position of the axis indicator. The default value is 0.
Status: the current status of the axis indicator. If you select the check box, the indicator is displayed. If you clear the check box, the indicator is hidden.
Label: Click the Eye icon on the right to display the label of the axis indicator.
precision: the decimal point precision of the value in the text label. By default, the value is automatically determined based on the value of the current axis. You can also specify an integer value, such as 2, which indicates that two decimal places are retained.
Outer Spacing: If you select this option, there is a certain distance between the axis indicator label and the axis. If you clear the check box, there is no spacing between the axis indicator label and the axis.
Text Style
Color: Modify the color of the axis indicator label text. For more information, see color picker description.
Font Style: the font style of the axis indicator label text.
Font weight: the font weight of the axis indicator label text.
Font: the font family of the axis indicator label text.
Font Size: the font size of the axis indicator label text.
Background Color: the background color of the axis indicator text label.
Border Color: the border color of the axis indicator text label.
Border Size: the border size of the axis indicator's text label.
Shadow Style
Color: Modify the color of the shadow pattern. For more information, see color picker description.
Opacity: Click the + or-sign or enter a value to modify the opacity of the shadow. The value ranges from 0 to 1.
Drag Handle: Click the Eye icon on the right to display the drag handle.
Size: Click the + or-sign or enter a value to modify the size of the drag handle.
Outer Spacing: Click the + or-sign or enter a value to change the distance between the center point and the axis of the drag handle.
Color: the color of the drag handle.
Refresh Frequency: The update cycle of the large screen is triggered when the handle is dragged. Unit: milliseconds. If you increase the value, the performance is improved but the experience is reduced.
Y Axis: For more information, see X Axis.
dialog box: Click the eye icon on the right to display the dialog box.

Trigger Condition: the type of the trigger that you want to trigger. You can select Mouse Move Trigger, Mouse Click Trigger, and Mouse Move and Click Trigger.
Background Color: Change the background color of the dialog box. For more information, see color picker description.
Border Color: Modify the border color of the dialog box. For more information, see color picker description.
Border Width: Click + or-, or enter a value to change the border thickness of the background frame.
Pin: Click the + or-sign, or enter a number manually to modify the inner margin of the background frame. Unit: pixels. The default inner margin is 5.
Text Style
Color: Modify the color of the dialog box text. For more information, see color picker description.
Font Style: dialog box the font style of the text.
Font weight: dialog box the font weight of the text.
Font: dialog box the font family of the text.
Font Size: dialog box the font size of the text.
Series: Click the
or
icon to add or delete a conditional style. Click the
or
icon to configure the arrangement style of multiple conditional styles. Click the
icon to copy the selected conditional style configuration and add a conditional style with the same configuration. 
Name: the name of the custom series. It must be used together with the s field value in the data.
Legend Interaction Highlight: If you select this check box, the interaction is highlighted when the legend hover is started.
Stacked chart: Data is stacked. stack values with the same configuration on the same category axis can be stacked.
Column Width: the width of the column. This parameter is adaptive when no column is specified. You can set this parameter to a percentage of the category width. Default value: 15%.
Histogram Interval: The distance between columns in different series, as a percentage (if 30%, the 30% of column width). If you want two series of columns to overlap, you can set the histogram interval to -100%, which is useful when using columns as the background.
Pillar Spacing between categories: the distance between columns of the same series. The default value is the 20% of the category spacing. static field can be set.
Tags
Normal Items: Click the Eye icon on the right to display the label text of normal items (columns that do not respond to mouse events).
Position: Set the position of the label corresponding to the column chart, including but not limited to top, left, and inside.
Text Style
Color: Modify the color of the common item label text. For more information, see color picker description.
Font Style: the font style of the label text.
Font weight: the font weight of the label text.
Font: the font family of the label text.
Font Size: the font size of the label text.
Key Items: Click the Eye icon on the right to display the label text of the key item (the column that responds to mouse events).
Position: Set the position of the label corresponding to the column chart, including but not limited to top, left, and inside.
Text Style
Color: Modify the color of the major item label text. For more information, see color picker description.
Font Style: the font style of the key item label.
Font weight: the font weight of the highlight label text.
Font: the font family of the highlight label text.
Font Size: the font size of the key item label.
Element Style
Ordinary Item
Color: Modify the background color of common elements by referring to the color picker description.
Border Color: Modify the border color of common item elements. For more information, see color picker description.
Border thickness: Click the + or-sign or enter a value to modify the border thickness of the normal element.
Border Style: the type of the border. You can select Solid Line or Dotted Line. Default value: Solid.
Bar Chart Fillet: Click the + or-sign or enter a value to modify the fillet of a column chart.
Transparency: Click the + or-sign or enter a value to modify the transparency of normal elements. The value ranges from 0 to 1.
Major Items
Color: Modify the background color of the highlight element by referring to the color picker description.
Border Color: Modify the border color of the major item element. For more information, see color picker description.
Border thickness: Click + or-, or enter a value manually to change the border thickness of the key element.
Border Style: the type of the border. You can select Solid Line or Dotted Line. Default value: Solid.
Transparency: Click the + or-sign or enter a value to modify the transparency of normal elements. The value ranges from 0 to 1.
Marking
Color: modify the color of the reticle by referring to the color picker description.
Style: the stroke type of the border. The stroke type can be solid or dotted. Default value: Solid.
Animation: Select this check box to enable animation.
Animation Threshold: Click + or-or enter a value to modify the animation threshold. Unit: milliseconds. When the number of graphics displayed in a single series is greater than the threshold you set, the system disables the animation effect to prevent the component from crashing.
Animation Duration: Click the + or-sign or enter a value to modify the duration of the initial animation. Unit: milliseconds.
Easement Effect: Select an easing effect for the data update animation from the drop-down list. The default value is cubicOut.
Data tab

Configuration field description
Parameter | Description |
| Used to configure the category of each x-axis in the column chart, that is, the value of the x-axis. |
| Used to configure the value of each point in the column chart. |
| (Optional) The series value, used in conjunction with the series configuration items in the Style panel. |
| Parameter | Description |
| Controlled Mode | If you turn on the switch, data is not requested when a widget is initialized. Data requests are triggered only based on callback IDs or the method configured in Blueprint Editor. If you turn off the switch, data requests are automatically triggered. By default, the switch is turned off. |
| Auto Data Request | After you select the Auto Data Request check box, you can enable dynamic polling, and manually specify the polling interval. If you do not select this check box, data is not automatically requested. You must manually refresh the page to request data or use Blueprint Editor or callback ID events to trigger data requests. |
| Data Source | In the right-side panel of Canvas Editor, click the Data tab. Click Set next to Static Data. In the Configure Datasource panel, select a data source from the Data Source Type drop-down list. Enter code for data query in the code editor, click Preview Data Response to preview the response of the data source, and then view the response. For more information, see Configure asset data. |
| Data Filter | If you select the Data Filter check box, you can convert the data structure, filter data, and perform simple calculations. If you click the plus sign (+) next to Add Filter, you can configure the script for the data filter in the editor that appears. For more information, see Use the data filter. |
| Data Response Result | The response to a data request. If the data source changes, you can click the |
Interaction tab

Interaction description
Interaction | Description |
When a data item is clicked | Select the Enable check box to enable interactions between widgets. The stacked column chart widget has interactive configurations. When a data item is selected, a callback value is returned. By default, the x and y fields in the data are returned. For more information, see Configure the callback ID of a ticker board. |
When the legend is clicked | Select the Enable check box to enable interactions between widgets. The Stacked Column Chart widget has interactive configurations. When a legend is clicked, a callback value is returned. By default, selected fields in the data are returned. For more information, see Configure the callback ID of a ticker board. |
Configure interactions in Blueprint Editor
In Canvas Editor, right-click a widget in the Layer panel and select Add to Blueprint Editor.
Click the
icon in the upper-left corner. In Blueprint Editor, click the Stacked Bar Chart widget in the Import Nodes pane. You can view the parameters in the canvas, as shown in the following figure.

Event
Event
Description
When the data interface request is completed
The event is triggered with the processed JSON data after a data interface request is responded and processed by a filter. For more information about specific data examples, see the Data Response Result section of the Data tab in the right-side configuration panel of the canvas editor.
When a data interface request fails
The event that is returned when a data interface request fails (the request may be due to network problems or interface errors) and is processed by the filter. The event also throws the processed JSON data. For more information about specific data examples, see the Data Response Result section of the Data tab in the right-side configuration panel of the canvas editor.
When a data item is clicked
The event that is raised when a column of a stacked column chart is clicked, and the data item corresponding to the column is also raised.
When the legend is clicked
The event that is raised when the legend of a stacked column chart is clicked, and the data item corresponding to the column is also raised.
Action
Policy Action
Description
Request Data Interface
This action is performed to request the server data again. The data sent by an upstream data processing node or layer node is used as a parameter. For example, if the API data source is
https://api.testand the data passed to the request data interface is{ id: '1'}, the final request interface ishttps://api.test?id=1.Import data
After data of a widget is processed in accordance with its drawing format, the widget is imported for redrawing. You do not need to request server data again. For more information about specific data examples, see the Data Response Result section of the Data tab in the right-side configuration panel of the canvas editor.
Display dialog box
The input data of the action is of the object type. The parameters include
dataindex(data index),name(data name),x(x-axis position), andy(y-axis position). Sample data:{ "dataIndex": 1, "name": "", "x": 1, "y": 1 }Hide dialog box
Hide dialog box, no parameters required.
Legend control
The input data of the action is of the object type. The parameters include
type(legend action type) andname(legend name). Sample data:{ "type": "legendToggleSelect", "name": "" }Update component configurations
Style configurations of widgets are dynamically updated. Before this action is executed, you must click the widget in Canvas Editor, click the Settings tab in the right-side panel, and click Copy Configurations to... to obtain widget configurations. After that, change the style field for the data processing node in Blueprint Editor.
Display
Displays the widget. The following example shows the reference data.
return{ "animationType": "", "animationDuration": 1000, "animationEasing": "linear" }Hide
Displays the widget. The following example shows the reference data.
return{ "animationType": "", "animationDuration": 1000, "animationEasing": "linear" }Switch to the implicit state
Specifies whether to show or hide a widget. The following example shows the reference data.
return { "animationIn": { "animationType": "", "animationDuration": 1000, "animationEasing": "linear" }, "animationOut": { "animationType": "", "animationDuration": 1000, "animationEasing": "linear" } }Move
Move a widget to a specified location. The following example shows the reference data.
return{ // The positioning type. to indicates absolute positioning, whereas by indicates relative positioning. The default value is to. "positionType": "to", // The location, which is indicated by the x and y coordinates. "attr": { "x": 0, "y": 0 }, // The animation type. "animation": { "enable": false, // The duration in which animation is displayed. "animationDuration": 1000, // The animation curve, which can be set to linear|easeInOutQuad|easeInOutExpo. "animationEasing": "linear" } }