In Pentaho CDE CCC2 charts - If you want to suffix a Percent sign (%) or a Dollar sign ($) on the Y-Axis label of the Charts, do the following:
- Select the Chart Component
- Click on the Advanced Properties
- Scroll down till you find orthoAxisTickFormatter option. Click to edit it
- Paste the following code:
function percent_suffix_yaxis(per) { return sprintf('%d %', per); }
// Note: To change to a dollar ($) sign change % to $ after %d. - Save the Dashboard and Preview it.
No comments:
Post a Comment