Learn how to add and set up charts in your DataPages to make complex data easier to compare and interpret.

Steps to create a chart  

  1. In the upper panel, select the Add elements button.  
  2. In the Charts section, select the type of chart that you want to add.
    If you later decide to change the type of your chart, you can always do it from the right panel.   
  3. Select the data source and fields that you want to show on the chart: 
    1. In the Data source panel, select a table or view that will be the primary data source for your DataPart. 
    2. From the Available fields panel, select the fields you want to use in your chart. To do that, click the field or drag it into the Selected fields section.
      Select two fields for Pie Charts and two or more for other chart types.

Note: Smart logic will distribute the selected fields automatically among settings properties (the x-axis and y-axis) of your chart. You can change the default field distribution in the DataPart settings panel. Learn more.

The following image shows the Select fields dialog box for a sample Column Chart:

Sample view showing the available tables and views as well as the fields to add to a column chart

  1. Click Save.

Note: You can restrict the visibility of specific records in a chart by managing roles. Learn more.

After creating a Chart DataPart, you can modify it further by applying additional configuration in the right panel: 

DataPart configuration

Data filters

Settings

Display options

DataPart configuration   

Select the Change data source button to choose a different table or view to source the data for this chart.  

Note: All chart settings will be lost if you choose another data source and save the changes.  

Data filters

Select Set filters to set up criteria for DataPart filtering. Learn more.

Settings  

Fields selected from a data source are distributed among different sections depending on the chart type. For Bar, Column, Area, Line and Combination Chart you can distribute the fields among X-axis,Series, and Y-axis, and for a Pie Chart among Category and Value sections. The arrangement of fields in these sections forms the look of your chart. 

See the settings configuration for each chart type below:

Sorting options

Select how you want to sort the chart data by default and how the app users can change it.

  1. Optional: If you want to sort the chart data by default based on field data, in the Default sorting section, select By field, and then add and arrange the sorting fields.
  2. Optional: If you want to display a dropdown list with sorting options next to the chart, turn on the Sorting options for app users switch, and then arrange the options that you want to display in the dropdown.