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 order not same as source RD

SA-16665

Summary



Chart controls using a pie chart displays data in ascending order, rather than in the same order as the source input.

Error Messages



Not Applicable.

Steps to Reproduce



1. Configure Report definition with chart.
2. For Chart, configure some legends.
3. Embed the chart in a section by by using pxChart control, observe that legends are not displayed in configured order.


Resolution



Perform the following local-change: 

In report viewer, the legends order is based on data set or configured order.

If data displayed in descending or ascending order, then receptive legends also displayed in descending or ascending order. However, when report definition embedded in section, then legends are displaying in alphabetical order.​
So to display the legends as per configuration, one must use chart control which is used in report viewer.

After replacing the pxChart control to chart that is, report viewer control, the issue gets resolved and it works as expected. 

Published January 31, 2016 - 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?

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