Adding Ad Hoc Charts to a Report at Runtime
  • Updated on 10 Oct 2013
  • 1 minute to read
  • Print
  • Dark
    Light

Adding Ad Hoc Charts to a Report at Runtime

  • Print
  • Dark
    Light

When viewing a report, a user can add a chart to display the report’s data in a different format. There are many chart types to choose from, including Pie, Bars, and Columns.
A report must already contain a chart (for example, data columns) for a user to be able to add a chart at runtime. There also must be multiple groupings for your chart to display. If there is only one group the Add an Ad-hoc Chart button will not appear.
Example


This example creates a portal page, adds a Data View component for the report Folder Report to it, previews the page, and adds a Columns chart to the report.
The Folder Report was created for this example and contains a chart.  To begin, navigate to the My Designs folder or a specific Designer folder and click the Create Report/Page button at the bottom of the window, then click Create Page/Dashboard.
2018-02-07_154037-1024x519.png

In the resulting pop-up window, name the page and click OK to open it in the Page Designer .
2018-02-07_154106-1024x519.png

To add the report to the portal page, in the Toolbox Panel on the right, expand the Reports > [Existing Reports] > [Current Folder] > Report: Folder Report , and drag a Data View component to the workspace.
2018-02-07_154249-1024x519.png

Save the page and close thePage Designer .
To view the report, click the page and select View > Preview Page from its Action menu.
2018-02-07_154401-1024x519.png

The report will open in a new window.  Be sure the Charts view mode for the report is selected.  This can be accomplished by clicking on the Charts icon.

2018-02-08_110955.png

Next, in the upper right, click on the Add an Ad-hoc chart button.
2018-02-08_111020.png

In the resulting pop-up window select chart type from the Type drop down list.  In the Title field, enter a title and click Add Chart .
2018-02-08_111144.png

The ad-hoc chart will appear alongside the default chart. To remove the ad-hoc chart, click the Remove Ad-hoc Chart button. 
2018-02-08_111214.png

Was this article helpful?