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

How to Localize Values in Pie Chart of Report Definition?

SA-3650

Summary



Users are using a Report Definition to display MI in their application. The report definition displays the results in a Pie-Chart fashion along with the values on which Group By clause is built. Currently the group by clause is on pyStatusWork property. Users have localized values for each of these statuses. But in pie chart users are getting the actual values in DB instead of the field value.

Resolution



The explanation for this behavior is as follows: 


We use flash charts in PRPC 6.2 SP1 which does not allow localization of chart values. This feature has been implemented from v6.3 onwards using fusion charts.

However, we can localize chart legends in a summary view in v6.2 SP1 by using a control to do the localization as below.

1.       Create a new control.
          <%=tools.getLocalizedTextForString("pyCaption",tools.getActiveValue())%>

2.       Add this control to the under Format Options in the Data tab of the Chart definition window.


 

Published January 31, 2016 - Updated October 8, 2020

Was this useful?

100% 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