Skip to main content

List

The scroll list component is suitable for scenarios with large amounts of data, limited space, or that require dynamic loading, such as displaying temperature data of IoT devices.This article describes the detailed configuration method of the component.

list.jpg

Private Properties​

Parameters
Description
Default value
Data SourceConfigurable data sources—
BG Color#ffffff

List Data​

After the data source is configured, the column name of the acquired data is displayed. The display name can be customized

Parameters
Description
Default value
The column name of the dataData Key—

Config​

Parameters
Description
Default value
ScrollOptional values: Yes, NoYes
Cycle Time1000
Radius0
Split Space0

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

Default Display

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

Content​

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

Inside Border​

Not displayed by default

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

Outside Borders​

Default Display

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

Export​

Not displayed by default

Parameters
Description
Default value
AlignOptional values: Right, Center, LeftRight
NameExport
SizeOptional value: 12~7212
Color#ffffff
ThicknessOptional values: Standard, BoldStandard

Border​

Default Display

Parameters
Description
Default value
Thickness1
Fill Color#ffffff
StyleOptional values: straight line, dashed line, dotted linestraight line

Aggregate​

Not displayed by default

Parameters
Description
Default value
Aggregate functionsYou can customize multiple filter conditions to aggregate data
Statistical method:Sum, Average, Count

Node​

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

Application Examples​

Displays the temperature data reported by a sensor device every day in the past 7 days in a scrolling list.

list_01


FAQ​

1. Which data source is referenced in this case?​

Please refer to (Statistics of the average temperature, maximum temperature, and minimum temperature of each day in the past 7 days)

2. How does a component configure a data source?​

Please refer to (Component Configuration Data Source)

3. How to set the background of the list dragged onto the canvas to be transparent?​

Please set the background transparency of the following parts to 0 and the color to ffffff:

  • Private properties
  • Header
  • content

For specific operation methods, please refer to: list_01

4. How to set different colors for the data in the list to distinguish the display according to specific conditions?​

The following are configuration examples of text color and cell background for reference. list_01