Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Chart control does not work with a data page as Source

SA-101070

Summary



Chart control does not work with a data page as the Source. Count of the records in the X-axis does not populate for the Y-axis values.


Error Messages



Not Applicable


Steps to Reproduce

  1. Create a data page with a report definition as the Source
  2. Create a section with a Chart control to refer the data page
  3. Observe the chart on the section on any portal


Root Cause



The property which is referred in the X-axis is fetched from a data page which is again sourced from a report definition. The Y-axis of the chart is defined to display the count of the X-axis input. The report definition chart displays as expected. However, a column which retrieves unique Id of each record is not present in the report definition.


Resolution



Perform the following local-change: 
  1. Configure input report definition such that unique Id of each record is held to fetch the entire records holding X-axis. A column with X-axis is present. Another column is summarized as count.
  2. Source the below report definition to the data page

 

 

Published February 17, 2020 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us