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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.