Closed AK1979 closed 8 years ago
Yes, this is not too difficult. You have to change the default value for the "format" option.
see : https://github.com/FVANCOP/ChartNew.js/wiki/100_050_Format and https://github.com/FVANCOP/ChartNew.js/wiki/900_010_format.js
I can see date / time / round format options but not the above format.
Which format changes to human numbers ? 10000 to 10K , 1,000,000 to 1M and so on ..
Thanks :)
Check this one from wiki page https://github.com/FVANCOP/ChartNew.js/wiki/900_010_format.js#abreviatenumber This should be what you are looking for.
Hi ,
thanks a lot .
Few questions :
can i use the "fmtYLabel : "abbreviatenumber" in a dougnut ?
Is it possible in Line charts to adjust the annotateLabel and to data inGrapData format to "abbreviatenumber" ?
Hi,
FmtYLabel is an option only valid for chart with axis; No axis in Doughnut, so fmtYLabel cannot be used in doughnuts.
To use the "abbreviateNumber in the annotate, set option fmtV3 : "abbreviateNumber".
Regards, François
Hi ,
Is there any option to display human friendly numbers ?
10,000 = 10K and so on ....