How to design number formatting for chart types on Dashboard (ERPNext v15.62)?

Hi everyone,

I’m using ERPNext version 15.62, and I want to customize the number formatting on charts inside the Dashboard (for example: showing values as “17.78 B” instead of “17780000000”).

I would like to ask:

How can I customize number formatting for each type of chart (Pie/Donut, Bar, Line, Number Card, etc.) in ERPNext v15.62?

  • Is there an official way to format tooltip values or labels?

  • Do charts support a “Custom Script” section (JavaScript) in this version?

  • If not, what is the recommended workaround?

Any help or guidance would be appreciated.
Thank you!