My FNZ Studio Version

Solution Maintenance

Latest Update: 25.07.2022 |
Recipe
2024
2023
2022.2
2022.1
11
10
9
8
7
6

Problem

I installed the BAM including the out-of-the-box dashboards. Now I would like to add a new chart to the BAM dashboards that helps me see if there is any correlation between the duration of my process and the value of a custom business indicator (KPI). How can I add a scatter plot chart to display such data? [BAM version 2.0.x, 3.0.x, 3.1.x, 3.2.x, 3.3.x, 3.4.x, 3.5.x]

Solution

An example could be creating a scatter plot chart that shows if there is any correlation between the distance (in km) of travel being requested (on the x axis), and the duration (in hours) of a travel booking process (on the y axis). By looking at this chart it will be possible to identify if there is a correlation between the two values, that is, if the duration of the process increases/decreases as the distance increases/decreases.

In order to add a scatter plot chart to the BAM Performance Metrics dashboard, follow these steps:

  1. Create a new Screen to host the chart. Let's call it BAMScatterPlot (can be any ID).

  2. Enable the first (available) custom chart by setting the conf column to true for the additionalChart1Enabled entry in the BAM_DefaultFeatures catalog.

  3. Change the conf column for the additionalChart1Label entry in the BAM_DefaultFeatures catalog to, for example, Duration Scatter Plot (can be any title).

  4. Include the BAMScatterPlot Screen in the BAM – Dashboards Screen inside the template area ADDITIONAL_CHART1 (or the first available template area).

  5. Open the BAMScatterPlot Screen and inherit the $filter variable from the BAM — Dashboards Screen.

  6. Add a Line/Bar Chart component and give it the HTML ID SCATTERPLOT (can be any ID).

  7. Style the chart as desired by configuring the component properties. In order to match the other BAM charts' size, select 320px as Width and 320px as Height.

  8. Configure the chart data property as follows:

BAM_GenerateScatterPlotChart($filter, 'Distance')

This uses the BAM_GenerateScatterPlotChart function that is available in the BAM dashboards out-of-the-box export. This function generates the necessary chart data based on the two provided inputs: the $filter variable, which represents the user selection, and the name of the KPI to be investigated for correlation.

Example file

Click to download the BAMScatterPlotRecipe.awexport containing a custom scatter plot chart Screen.

© 2026 Appway AG. All Rights Reserved