Skip to main content

Bar

The Bar component displays the trend of multiple data changes in columnar form, making it easier for you to analyze and compare data changes.This article introduces the detailed configuration method of the bar component.

Bar chart

Private Properties

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

Color

Column color configuration, displayed according to the vertical axis configuration

Parameters
Description
Default value
Vertical axis parametersColumn 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 barShow
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
Namex-Axis
SizeOptional value: 12~7212
Color#333333
ThicknessOptional values: Standard, BoldStandard
Axis 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 SetupAuto Setup
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 Y-axis value is displayed in the column

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