Skip to main content

Line

The line chart component displays the trend of multiple data changes in the form of lines or curves, making it easier for you to analyze and compare data changes.This article introduces the detailed configuration method of the line chart component.

Line chart

Private Properties

Parameters
Description
Default value
Data SourceConfigurable data sources
X
Y
Color tagConfigurable
PortraitOptional values: Yes, NoNo
SmoothOptional values: Yes, NoNo

Color

The color configuration of the line is displayed according to the vertical axis configuration

Parameters
Description
Default value
Vertical axis parametersLine color of the vertical axis parameter

Title

Not displayed by default

Parameters
Description
Default value
Text
SizeOptional value: 12~7216
Color#333333
ThicknessOptional values: Standard, BoldStandard
PositionOptional values: Right, Center, LeftLeft
BG Color#ffffff

Legend

Parameters
Description
Default value
SizeOptional value: 12~7212
Color#333333
ThicknessOptional values: Standard, BoldStandard
PositionOptional values: Up-Left, Up-Center, Up-Right, Left-Up, Left-Middle, Left-Bottom, Right-Top, Right-Middle, Right-Bottom, Bottom-Left, Bottom-Center, Bottom-RightUp-Left

Custom

Parameters
Description
Default value
Source vertical axis parametersSelected vertical axis parameters
Unified/Separate settingsUnify/separately set the vertical axis parametersUnified
ShowShow/hide the vertical axis parameter lineShow
RenameModify the text displayed on the vertical axis
Optional values: Custom, Select from properties
Custom: Fixed display of input text
Select from properties:Display the value of the vertical axis parameter corresponding to the selected property
Custom
AttributeAttributes corresponding to the vertical axis parameters
suffixFixed text displayed after the attribute when displayed with "Select from Attributes"

X-Axis

Parameters
Description
Default value
Namexaxis
SizeOptional value: 12~7212
Color#333333
ThicknessOptional values: Standard, BoldStandard
Color#333333
RotationThe angle shown in the subscript0
PostfixFixed text to be displayed after the name

Y-Axis

Parameters
Description
Default value
Name
SizeOptional value: 12~7212
Color#333333
ThicknessOptional values: Standard, BoldStandard
Axis Color#333333
RotationThe angle shown in the subscript0
RangeOptional values: Auto Setup, Manual SetupStandard
Scale UpDisplayed with range Manual Setup, set the maximum scale of the Y axis in %0
Scale DownDisplayed with range Manual Setup, set the minimum scale of the Y axis in %0
PostfixFixed text to be displayed after the name

Tag

Not displayed by default, the line shows the Y-axis value

Parameters
Description
Default value
PositionOptional values: Top, BottomTop
SizeOptional value: 12~7212
Color#333333
ThicknessOptional values: Standard, BoldStandard
Axis Color#333333
PostfixFixed text displayed after the value

Grid Line

Not displayed by default

Parameters
Description
Default value
Thickness1
Color#999999
Line StyleOptional values: solid line, dashed line, dotted linestraight line

BG Color

Not displayed by default

Parameters
Description
Default value
Color#ffffff

Border

Not displayed by default

Parameters
Description
Default value
Thickness1
Color#999999
Line StyleOptional values: solid line, dashed line, dotted linestraight line

Node

Parameters
Description
Default value
WidthOverall width300
HeightOverall height200
XHorizontal coordinate
YVertical coordinate