Configuration items for the dual-axis line chart widget with all options selected.
Chart style
A dual-axis line chart is a type of line chart. Unlike a basic line chart, each category corresponds to two values and only two data series are supported. It combines lines and areas to display two-dimensional data trends. 
Style Panel 
-
Search Configuration: Click the Search configuration items icon
in the upper-right corner of the Style panel. In the search panel, enter a configuration item name to locate it. Fuzzy match is supported. For more information, see Search configuration items. -
Size: the width and height of the widget. Unit: pixels.
-
Positioning: the x-axis and y-axis of the component. Unit: pixels. 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.
-
Rotate: the rotation angle of the widget around its center. Unit: degrees.
-
Enter a value in the Rotation Angle spin box, or click the plus (+) or minus (-) sign to adjust it.
-
Click the
icon to flip the widget style. -
Click the
icon to flip the widget style.
-
-
Opacity: Valid values: 0 to 1. A value of 0 hides the widget, and a value of 1 fully displays it. Default value: 1.
-
Chart name
-
Margin: the distance between the chart area and the top, bottom, left, and right borders of the widget. Unit: pixels.
-
Nullable Data: If you turn on the switch, the line passes through points with a y-axis value of 0.
-
Maximum Load: The maximum number of data records to load. The system uses this limit for layout, rendering, and computation to ensure application performance.
-
Legend: the style of the legend. You can click the
icon to display or hide the legend. Parameter
Description
Text
Set the style of the legend text, including the text font style, font size, font color, and font weight. For more information, see color picker instructions.
Layout
The positional layout of the legends.
-
Spacing
-
Left and Right Spacing: The horizontal distance between adjacent legends. This configuration item is valid only when multiple series exist.
-
Distance: the distance between the legend and the upper and lower boundaries of the widget.
-
-
Position: the position of the legend relative to the start coordinates of the widget. Valid values: Top Left, Top Center, Top Right, Bottom Left, Bottom Center, and Bottom Right.
-
-
-
Coordinate Axis: The component coordinate axes include the x-axis, y-axis, and z-axis.
-
X Axis
-
X Axis Visible: If you turn on the switch, the x-axis style in the widget is visible. If you turn off the switch, the x-axis style in the widget is invisible.
-
Data Type: the type of the x-axis label data. This parameter is optional.
Parameter
Description
Numeric Type
Supports numeric data such as integers and floating-point numbers.
Category Type
Supports category data such as characters and strings.
Time Type
Time data requires a configured data format.
-
Both Ends: the padding between the two ends. Valid values: 0 to 1.
-
Range: the range of the maximum and minimum values of the data on the x-axis. This parameter is available only when the Data Type parameter is set to Numeric or Time.
-
Maximum Value: the maximum value of the x-axis. You can specify a custom value. The default value is auto, which means the system automatically calculates the value based on the maximum value, minimum value, and number of labels.
-
Minimum Value: the minimum value of the x-axis. You can specify a custom value. The default value is auto, which means the system automatically calculates the value based on the maximum value, minimum value, and number of labels.
-
-
interval: the percentage of the gap between two categories on the x-axis. A larger value indicates a wider gap. Valid values: 0 to 1. This value is available only when Data Type is set to Category.
-
data format: the data display format. Valid only for time data. Configure the format by referring to
%Y/%m/%d %H:%M:%S. This parameter is available only when the Data Type parameter is set to Time. -
Axis Label: the style of the x-axis label. You can click the
icon to display or hide the x-axis label. NoteIf the data format and display format are inconsistent, the widget may not display correctly.
Parameter
Description
Display Format
The data display format. Valid only for time and numeric data. For time, use the
%m/%d%Y%H:%M:%Sformat. For integers, used. For floating-point numbers, use.1f.Text
The text style of the x-axis label, including font style, font size, font color, and font weight. For more information, see the color picker description.
Axis Label Display
The display style of the x-axis labels, including:
-
Offset: the distance between the labels on the x-axis. Unit: pixels.
-
Angle: the angle of the x-axis label. Valid values: Horizontal, Oblique, and Vertical.
-
Quantity: the number of labels on the x-axis.
-
Axis Unit: the unit of the x-axis label.
-
-
Axis: the style of the x-axis. You can click the
icon to display the x-axis. Color: the color of the x-axis.
-
Gridlines: the style of the x-axis gridlines. You can click the
icon to display or hide the x-axis gridlines. Color: the color of the x-axis grid lines.
-
-
Y-axis
The left y-axis configuration is similar to the x-axis. For details, see the x-axis section.
-
Z axis
The right vertical axis. The configuration is similar to the x-axis. For details, see the x-axis section.
-
-
Series: The component series includes Series Y and Series Z.
NoteBy default, a dual-axis line chart has two series for configuring the data and style of the y-axis and z-axis respectively, including series names, line styles, dot styles, and area styles.
-
Series Name: the name of the series.
-
Line: the style of the line in the series.
Parameter
Description
thickness
The thickness of the line.
Curve Type
The type of the line. You can select Smooth Curve or Line.
Mode
The type of the line. You can select Solid Line, Dotted Line, or Dashed Line.
Color
The color of the line.
-
Dot: the style of the dots on the line. You can click the
icon to show or hide the dots. Parameter
Description
Radius
The radius of the dot. Unit: pixels.
Color
The color of the dots.
-
Area: the style of the area under the line. You can click the
icon to show or hide the area. Color: the color style of the area. Color and Gradient Fill are supported.
-
Value Label: the value label style of the line in this series, including the font style, weight, font size, and color of the label text. Click the
icon to control the display of value labels.
-
-
Remarks
-
Ease Animation: the animation effect style of the chart. You can click the
icon to enable or disable the animation effect. Parameter
Description
Animation Settings
-
Ease Effect: the easing effect of the animation. The system provides a variety of common easing effects for you to choose from.
-
Sequential Animation: If you turn on the switch, the animation of each series is played in sequence. If you turn off the switch, the animation of all series is played together.
Admission Animation
The duration of the first animation rendered by the component. Unit: ms.
Update Animation
-
Update Animation Duration: the duration of the animation when the widget data is updated. Unit: ms.
-
Start From Previous Position: If you turn on the switch, the animation starts from the previous position when the widget data is updated. If you turn off the switch, the animation starts from the initial position when the widget data is updated.
-
-
dialog box: the tooltip that appears when you hover over or click a data point on a preview or published page. Click the
icon to show or hide the tooltip. Parameter
Description
Trigger
-
Trigger Type: the type of target that triggers the tooltip. This parameter is optional, including Data Item and Axis.
-
Trigger Action: the action that triggers the tooltip. This parameter is optional, including Hover and Click.
Text Style
The style of the text in the dialog box, including the font style, weight, font size, and color.
Disappearing Delay Time
When the trigger condition is no longer met, the tooltip disappears after this delay. Unit: ms.
Background Box Style
The background box style of the dialog box.
-
Background Color: the background color of the dialog box.
-
Custom: the width and height of the dialog box. Unit: pixels. Click the
icon to turn custom dialog box on or off. -
Pin: the inner margin of the dialog box. Unit: pixels.
-
Offset
-
Horizontal Offset: the horizontal offset of the dialog box relative to the mouse arrow. Unit: px.
-
Vertical Offset: the vertical offset of the dialog box relative to the mouse arrow. Unit: px.
-
-
Borders
-
Border Size: the border size of the dialog box. Unit: pixels.
-
Border Color: The border color of the dialog box.
-
-
-
Data Sources panel 
|
Column |
Description |
|
|
The category of each data point in the line chart, corresponding to the x-axis value. The field type and format must match the label data type and format configured for the x-axis. |
|
|
The left y-axis value of each data point in the line chart. |
|
|
The right z-axis value of each data point in the line chart. |
|
Configure data items |
Description |
|
Data sources |
Use the code editor or visual editor to view the data fields of the widget. You can also change the data type for flexible data configuration. |
|
Data Mapping |
To customize chart field configurations, set different field mappings in the Data Mapping module to map them to the corresponding widget fields. This lets you match data without modifying the data source fields. You can also click the |
|
Configure a filter |
Turn on Filter, select an existing data filter or create a data filter, and configure a data filter script to filter data. For more information, see Manage data filters. |
|
Data Response Result |
The Data Response Result section displays widget data in real time. If the data source changes, this section shows the latest data. If the response is delayed, click the |
|
Forbid Loading |
If selected, loading indicators are hidden during component initialization when you update the widget and preview the data dashboard. This check box is cleared by default. |
|
Controlled Mode |
If selected, the widget does not request data during initialization and only requests data through global variables or methods configured in Blueprint Editor. If cleared, the widget can use automatic updates to request data. This check box is cleared by default. |
|
Auto Data Request |
Select the check box and enter a polling interval to enable dynamic data polling. If cleared, the page does not update automatically. You must manually refresh the page or use Blueprint Editor and global variable events to trigger data updates. |
Advanced Panel 
When you click a data item: Turn on the switch to enable widget interaction. When a data point on the dual-axis line chart is clicked, a data request is triggered and a temporary variable is emitted to dynamically load data for different data points. By default, the x, y, and z values in the data are displayed. For more information, see Component interaction configuration.
Blueprint Interaction
-
Click the
icon in the upper-left corner to go to the Blueprint page. -
On the Layer Nodes tab, add the widget to the main canvas.
-
View blueprint configuration parameters.

-
Event
Event
Description
When the dual axis line chart interface request is completed
After a data interface request is responded to and processed by a filter, this event is triggered with the processed JSON data. For more information about specific data examples, see the Data Response Result section of the Data Source tab in the right-side configuration panel of the canvas editor.
When a data item is clicked
The event triggered when a data point on the dual-axis line chart is clicked, along with the corresponding data item.
-
Action
Action
Description
Import dual axis line chart Interface
After widget data is formatted for rendering, the widget is redrawn without requesting server data again. For more information about specific data examples, see the Data Response Result section of the Data Source tab in the right-side configuration panel of the canvas editor.
Request dual axis line chart Interface
Requests server data again, using data from an upstream data processing node or layer node as a parameter. For example, if the dual-axis line chart API data source is configured as
https://api.testand the data passed to the request dual axis line chart interface is{ id: '1'}, the final request URL ishttps://api.test?id=1.Highlight
data: the data item to be highlighted.
{ x: '2010/01/01 00:00:00' }Reference data example
{ "data": {}, "options": {} }Unhighlight
data: the data item that needs to be unhighlighted. If the
datafield is not specified, all highlighted data is unhighlighted.{ x: '2010/01/01 00:00:00' }Reference data example
{ "data": {}, "options": {} }Clear components
Clear the widget data. No parameters are required.
Move
Move a widget to a specified location. See the data example for details.
{ // 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 animation delay. Unit: milliseconds. "animationDuration": 1000, // The animation curve, which can be set to linear|easeInOutQuad|easeInOutExpo. "animationEasing": "linear" } }Switch Display /Hide
Toggle the visibility of a widget. No parameters are required.
Display
Display the widget. See the data example for details.
{ "animationType": "",// The animation method. Valid value: fade. If you do not specify this parameter, no animation is generated. "animationDuration": 1000,// The animation delay. Unit: ms. "animationEasing": ""// animation curve }Hide
Hide the widget. See the data example for details.
{ "animationType": "",// The animation method. Valid value: fade. If you do not specify this parameter, no animation is generated. "animationDuration": 1000,// The animation delay. Unit: ms. "animationEasing": ""// animation curve }Update component configurations
Dynamically update widget style configurations. In the Style panel, click Copy Configuration to Clipboard to obtain the widget configuration data. Then, modify the style field in the data processing node in Blueprint Editor.
-
icon to display or hide the legend. 
icon to configure field styles.
icon to view the data response result, or click the
icon to fetch the latest data. You can also click View Example to view a sample response. 
icon in the upper-left corner to go to the Blueprint page. 