Adding and Customizing Charts on a Portal Page
  • 25 Feb 2020
  • 2 Minutes to read
  • Dark
    Light
  This documentation version is deprecated, please click here for the latest version.

Adding and Customizing Charts on a Portal Page

  • Dark
    Light

Article summary

Overview

Charts represent the report results in a graphical form. To enhance charts visually they can be configured in many ways; by changing the colors represented in the chart, adding titles and legends, and more.

Example

In this example, create a page and add a Chart to it, add a title and custom colors to the chart. Then add a Legend to the page.

Prerequisites
This example uses a pre-made Report. This report uses the Account Data Source and Email Address, Created on Date, and Can Use Portal as fields. The data is grouped by Can Use Portal. To learn more about creating reports, navigate here.2019-09-24_095654.png

Begin by navigating to a Designer Folder and selecting Manage > Page/Dashboard > Add Page/Dashboard.

2019-09-24_105358.png

In the Add Page dialog, give the new page a name and select Create.

2019-09-24_105441.png

Add the first chart to the page by dragging the Pie chart element into the workspace. Find the Pie chart element by navigating to it via the Reports > Charts category of the Page Elements panel.

To set the data source for the Pie chart, select the element. Then, in the Properties panel under Chart Data > Source, select Pick.

In the Pick Chart Source dialog, select the report to be used as the chart’s data source. Select Count (can_use_portal).

2019-09-24_095641.png

With the Pie chart selected in the Properties panel, under Chart Settings add a Title to the chart by setting the Show Title checkbox to true. Type "Which account can use the Portal?".

Next, there are many settings that can be configured, in this example select Pie Slices Have Border. Then to add custom color to the chart select Use Custom Color.

2019-09-24_095906.png

With the Use Custom Color checkbox set to true the User Defined Colors box will show. Under this box, select Add New.

In the Edit User Defined Color dialog, name the color after the piece of data the color will represent. In this example the Pie chart is grouped by a Boolean type, so two separate colors need defining: True (green) and False (red).

Select Ok to save the color definition.

2019-09-24_100147.png

After the colors are defined, remove the chart labels by changing the Chart Label drop-down box to None. A legend will be added to the page to show what colors represent True or False.

2019-09-24_100810.png

To add a Legend to the page, in the Page Elements panel under Reports > Charts drag and drop Legend to the Page. Give the Legend a Title, then under Settings > Chart choose the chart that the Legend will be referencing.

This completes the page, save it and close the Page Designer.

2019-09-24_100555.png

Back in the Designer Folder, to preview the page, select the page view that was created when the page was created.

The Pie chart and Legend show the data that was grouped in the report, the custom colors and the titles that were configured.

2019-09-24_100920.png


Was this article helpful?