当前位置:网站首页>Chart. JS - Format Y axis - chart js - Formatting Y axis

Chart. JS - Format Y axis - chart js - Formatting Y axis

2022-07-05 06:17:00 Zafo

problem :

I'm using Chart.js to draw a simple bar plot and I need to format its Y axis like I am using Chart.js Draw a simple bar chart , I need to format it Y Axis

123456.05 to 123 456,05 $123456.05 to 123 456,05 $

I don't understand how to use scaleLabel : "<%=value%>" I don't understand how to use scaleLabel : "<%=value%>"

I saw someone pointing to " JS Micro-Templating ", I can see Someone pointed JS Micro-Templating ”,
but no clue how to use that with our scaleLabel option. But I don't know how to use our scaleLabel Options .

Does someone know how to format this Y axis, and maybe give me an example ? Someone knows how to format this Y Axis , Maybe give me an example ?


Solution :

Reference resources : https://stackoom.com/en/question/1NTeV
原网站

版权声明
本文为[Zafo]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202140617524235.html