Google Pie Chart Number Format
-
Hi,
I did create a Google Pie Chart that works fine.
I am displaying Value instead of Percentage and would like the Value to be displayed as a dollar amount (like 450.25 $) instead of just a number (like 450.25).I am using wpDataCharts callbacks and I included these options:
obj.options = { is3D: ‘true’, pieSliceText: ‘value’ };
obj.options.pieSliceTextStyle = { fontSize: 16 };What would be the syntax for formating the pieSliceText ?
I see that these verbs exist : suffix:’$’, pattern:’###,###.00 $’, format:’###,###.00 $’
but cant figure out how to write the “obj.options”Thanks in advance
The topic ‘Google Pie Chart Number Format’ is closed to new replies.