Skip to main content
Version: 2027 R1

Chart

The Chart attribute lets you visualize data using one of four chart types: line, bar, pie, or donut.

For the attribute to be configured correctly, the selected data source must return at least 2 columns – one holding the data series (numeric values) and one serving as the label column (the category axis for line and bar charts, or the section titles for pie and donut charts).

The chart type can be chosen in the Properties section, and the display and interaction details for each type are described on their own pages:

info

Additional information on the Chart attribute is available in this article on the WEBCON Community website.

Properties​

Properties section of the Chart attribute configuration with numbered groups

1. Data sources​

  • Data source – lets you specify the source of the values displayed by the attribute.
  • Use additional filters – a switch that lets you narrow the results returned from the data source.
  • Override data source sort – a switch that lets you replace the sorting configured in the data source; consecutive sort levels (Column name, Sort type) are added with the Add button. See the Person or group form field for details.
  • Test – opens the Test window, where you can check the results returned by the data source with the current configuration.

The Use additional filters, Override data source sort, and Test options are available once a data source is selected.

2. Chart type​

Lets you choose one of four chart types:

OptionDescription
LineLets you present multiple data series on one chart
BarNumeric values are represented as rectangular bars
PieOnly one data series is presented, as sections of a circle
DonutWorks like a pie chart, with a blank circle cut out of the center

3. Chart data​

The Data series table lets you pick which columns from the data source are presented as data series on the chart – each row is one series. New rows are added with the Add data series button and removed with the trash icon next to a row. Each row contains:

  • Column – lets you pick a column returned from the data source,
  • Display name – the series name displayed on the form.

For Pie and Donut charts, the Add data series button is disabled – these chart types can only display a single data series.

The Horizontal axis labels field lets you pick the column providing the category-axis labels (for line and bar charts) or the section titles (for pie and donut charts). The <Automatic axis numbering> value numbers the categories automatically.

4. Appearance​

  • Chart color – lets you define the chart's colors:

    OptionDescription
    Use report color in themeThe theme's main color (default value)
    Use alternative report color in themeThe theme's alternative color
    Use selected colorA freely chosen color
    Use data series colorOnly available for Line and Bar charts – selecting it adds an extra Color on chart column to the Data series table (section 3), letting you pick an individual color for each series
  • Chart title – lets you enter a title displayed above the chart, with the option to define a translation.

  • X axis label – only available for Line and Bar charts – lets you enter a label for the X axis, with the option to define a translation.

  • Y axis label – only available for Line and Bar charts – lets you enter a label for the Y axis, with the option to define a translation.

  • Chart height – lets you specify the height of the displayed chart, in pixels.

  • Display mode of chart labels – only available for Line and Bar charts:

    OptionDescription
    HorizontallyX-axis labels are displayed in a horizontal line (default value)
    AngledX-axis labels are displayed at an angle
  • Show form field name – a switch that lets you specify whether the attribute name is displayed above the chart.

For Pie and Donut charts, the X axis label, Y axis label, and Display mode of chart labels fields are not available – these chart types don't present a category axis in that form.