How to Customise PQL Report Charts
In this article, we will show you how to change the look of an advanced (PQL) report chart with Chart settings, including stacked bars and line styles.
NOTE: Chart settings are part of the report builder, so you need to be able to edit the report. They're available when the report is shown as a Bar, Pie or Donut chart (and Line, Area or Horizontal bars where your account offers those), but not for Table, KPI tiles or KPI comparison.
Step 1: Open the Report in the Report Builder
Go to Analytics → Reports and click Build a custom report. In Data Objects, open the Advanced tab, write your query (or use AI Suggest) and click Build report. To change a report you've already saved, open it in the builder instead.
Step 2: Choose a Chart and Open Chart Settings
At the top of the preview, pick how to show the report: Bar, Pie or Donut. Then click Chart settings. The panel opens beside the chart and every change shows on the preview straight away.
The Chart settings button and panel in the report builder
Step 3: Set the Legend, Colours and Series
Under Appearance:
- Legend position: Auto, or a fixed side for the legend, or hidden.
- Colour palette: the set of colours the chart uses. The swatches under the box show the palette's colours.
- Series (bar charts): Side by side shows each number as its own bar, which is how bars have always looked. Stacked piles them into one bar per group, so you can see the total and how it splits.
- Series colours: pick a colour for each number from the palette, or click the multicoloured swatch for a custom colour. Reset colours goes back to the palette's colours.
Series set to Stacked
TIP: On a Line chart you also get Line style: Line, Line with shadow (a soft fade from the line down to the bottom of the chart) or Area.
Step 4: Show Data Labels and Set the Value Axis
Under Data labels, turn on Show data labels to print each value on the chart, then set the Label colour, Font size, Decimal places and whether to Abbreviate large numbers.
Under Value axis, add an Axis title and, if you want a fixed range, a Minimum and Maximum. Leave the bounds empty for automatic scaling; values outside the range are still shown when you hover over the chart. To undo everything, click Reset all settings.
Step 5: Save the Report
Click Close to hide the panel, then click Save Report. The chart then looks the same in the report and in its dashboard widget.
NOTE: A report opened from a shared link shows the chart with its default look.
KPI Tiles on a Dashboard
When a report is shown as KPI tiles on a dashboard, the tiles now fill their widget in even rows: one row when they fit, two by two at medium width, and one column when the widget is narrow. Where your account has the KPI tiles section under Customise, you can also set the figures' Font size (16 to 96).
Related Articles
How to Use Chart Settings covers the same panel in the standard custom report builder.
Was this guide helpful? Let us know by voting below - your feedback helps us write clearer articles.
For more guides, browse the related articles below or use the search bar at the top of the page. You can also watch our video learning series, the Pabau Academy, or visit the Support page for additional help.