The label board widget allows you to customize the label style, the content of different label types, and other options as needed.

Style

  • Basic Attributes
    • Size: Set the size of the widget by adjusting its width and height.
    • Position: Set the position of the widget by adjusting its abscissa and ordinate.
    • Others: Set the rotation angle and opacity of the widget.
  • Global
    • Auto Mode: If you select this option, the width of the table is automatically adjusted according to the label content. If you clear this option, the label content is displayed randomly. You need to set the number of rows and the margins.
      Note Options such as Number of Rows, Number of Columns, Margin Right, and Margin Bottom are displayed only when you clear the Auto Mode option.
    • Number of Rows: To adjust the number of rows in the label board, enter a value, or click + or .
    • Number of Columns: To adjust the number of columns in the label board, enter a value, or click + or .
    • Margin Right: You can adjust the horizontal margin between the labels as needed. The unit is pixels.
    • Margin Bottom: You can customize the vertical margin between the labels as needed. The unit is pixels.
    • Text Style
      • Font Family: To set the font of the displayed text, click the drop-down arrow and select the target font. The default font is Microsoft YaHei.


  • Default Label
    • Padding: You can customize the padding between the label content and the label borders as needed. The unit is pixels.
    • Border Radius: You can customize the border radius of each label as needed. The unit is pixels.
    • Background Color: To change the background color of the default labels (that is, labels that do not have the type value in the data pane), see Color picker.
    • Text Style
      • Font Size: To change the font size of the text of the default labels, enter a value or drag the slider. The value range is from 0 to 100.
      • Font Color: To change the font color of the text of the default labels, see Color picker.
      • Font Weight: To change the font weight of the text of the default labels, click the drop-down arrow and select the target font weight.


  • Series: To add or delete a series label, click + or click the Trash icon.
    • Label Type Name: You can set a name for a series label as needed.
      Notice The label type name must match the data format of the type field in the Data pane.
    • Background Color: To change the background color of the labels of the same type, see Color picker.
    • Text Style
      • Font Size: To change the font size of the label text, enter a value or drag the slider. The value range is from 0 to 100.
      • Font Color: To change the font color of the label text, see Color picker.
      • Font Weight: To change the font weight of the label text, click the drop-down arrow and select the target font weight.


Data

content: label content

value: label type (series) name. The value in the Data pane must be match the Label Type Name in the Configuration pane.

Interaction

This widget is not connected to any events yet.