You can add one or more grouped bar charts to a project to view data differences between the groups more clearly.

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 Settings
    • 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.
    • Bar
      • Inner Padding: To adjust the horizontal spacing between the bars, enter a value or drag the slider. The value range is from 0 to 1.
        Note Each label corresponds to a group.
      • Outer Padding: To adjust spacing 1 (spacing between the bottom bar and the bottom border) and spacing 2 (spacing between the top bar and the top border), enter a value or drag the slider. The value range is from 0 to 1.
    • Margin
      • Top: To adjust the spacing between the bars and the top border of the chart, enter a value, or click + or .
      • Bottom: To adjust the spacing between the bars and the bottom border of the chart, enter a value, or click + or .
      • Left: To adjust the spacing between the bars and the left border of the chart, enter a value, or click + or .
      • Right: To adjust the spacing between the bars and the right border of the chart, enter a value, or click + or .
    • Label: To display the labels, click the Eye icon.
      • Text Style
        • Font Size: To change the font size of the label text, enter a value, or click + or .
        • 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.
      • Position: To set the position of the labels, click the drop-down arrow and select the target position.
        • Left
        • Middle
        • Right


  • X Axis: To display the x-axis, click the Eye icon.
    • Text Style
      • Font Size: To change the font size of the text along the x-axis, enter a value, or click + or .
      • Font Color: To change the font color of the text along the x-axis, see Color picker.
      • Font Weight: To set the font weight of the text along the x-axis, click the drop-down arrow and select the target font weight.
    • Axis Label: To display the axis labels, click the Eye icon.
      • Min: To set the display format of the minimum value along the x-axis, click the drop-down arrow and select the target format.
        • Minimum data value
        • Automatic rounding
      • Max: To set the display format of the maximum value along the x-axis, click the drop-down arrow and select the target format.
        Note The value auto indicates automatic rounding.
        • Maximum data value
        • Automatic rounding
      • Quantity: To change the number of axis labels, enter a value, or click + or .
        Note If you set this field to 0, the axis labels are automatically displayed according to the data and the number of the bars.
      • Display Format: To set the display format of the axis labels, click the drop-down arrow and select the target format.
    • Unit: To display the unit option, click the Eye icon.
      • Unit: You can set the unit of the label text along the x-axis as needed.
    • Axis Line: To display the axis line, click the Eye icon.
      • Color: To change the color of the axis line, see Color picker.
    • Grid Lines: To display the grid lines, click the Eye icon.
      • Color: To change the color of the grid lines, see Color picker.


  • Y Axis: To display the y-axis, click the Eye icon.
    • Text Style
      • Font Size: To change the font size of the text along the y-axis, enter a value, or click + or .
      • Font Color: To change the font color of the text along the y-axis, see Color picker.
      • Font Weight: To set the font weight of the text along the y-axis, click the drop-down arrow and select the target font weight.
    • Axis Label: To display the axis labels, click the Eye icon.
      • Angle
        • Horizontal
        • Slant
        • Vertical
    • Axis Line: To display the axis line, click the Eye icon.
      • Color: To change the color of the axis line, see Color picker.
    • Decoration
      • Decoration Line: To change the color of the decoration lines, see Color picker.
      • Decoration Shape Fill: To change the color of the decoration pentagons, see Color picker.
      • Decoration Shape Stroke: To change the color of the decoration pentagon strokes, see Color picker.
    • Grid Lines: To display the grid lines, click the Eye icon.
      • Color: To change the color of the grid lines, see Color picker.


  • Legend: To display the legend items, click the Eye icon.
    • Text Style
      • Font Size: To change the font size of the legend text, enter a value, or click + or .
      • Font Color: To change the font color of the legend text, see Color picker.
      • Font Weight: To set the font weight of the legend text, click the drop-down arrow and select the target font weight.
    • Layout
      • Margin
        • Horizontal Interval: To adjust spacing 1 (spacing between the legend items and the right border of the chart) and spacing 2 (spacing between the legend items and the left border of the chart), enter a value, or click + or .
        • Vertical Interval: To adjust spacing 1 (spacing between the legend items and the top border of the chart) and spacing 2 (spacing between the legend items and the bottom border of the chart), enter a value, or click + or .
      • Position: To set the position of the legend items, click the drop-down arrow and select the target position.
        • Top center
        • Top left
        • Top right
        • Bottom center
        • Bottom left
        • Bottom right


  • Series: To add or delete a series, click + or click the Trash icon.
    • Series Name: You can set a name for the series as needed. If the series does not have a name, the value of s is automatically displayed as the series name. If the series has a name, ensure that the data is displayed in the proper order. For more information, see Frequently asked questions (User self-check process).
    • Color: To set the fill color type, click the drop-down arrow and select the target type.
      • Solid fill: To change the color of a series, see Color picker.
      • Gradient fill
        • You can select two colors as the gradient colors. For more information, see Color picker.
        • To change the gradient angle, enter a value or drag the slider. The value range is from 0 to 360.


  • Animation: To display the animation option, click the Eye icon.
    • Original Duration: To change the duration to which the widget renders the animation for the first time, enter a value, or click + or . The unit is milliseconds.
    • Easing: To set animation easing, click the drop-down arrow and select the target effect.
    • Animations of All Series in Sequence: If you select this option, the animations of the bars of different series in the chart are displayed in sequence. If you clear this option, the animations of the bars of different series in the chart are displayed at the same time.
    • Duration for Data Update: To change the animation duration when data changes, enter a value, or click + or . The unit is milliseconds.
    • Update from Latest Status: If you select this option, the animation begins from the bar where the data has changed. If you clear this option, the animation begins from the starting point.


Data

  • x: category text of each bar
  • y: actual data value of each bar
  • s: (optional) series data


Interaction

This widget is not connected to any events yet.