Adding a Currency Prefix to AmCharts

Hi, fellow programmers .. I'm trying to add the $ prefix for Amcharts Has anyone had experience adding a currency format to AmCharts graphics? So far, I have not tried many options around the next without success ...

chart.numberFormatter = { numberFormatter = numberPrefix="$"; }; 
+6
source share
1 answer

To add a prefix to the axis of values:

 valueAxis.unit = "$"; valueAxis.unitPosition = "left"; 

If you need this in a balloon, add it to balloonText:

 graph.balloonText = "$[[value]]"; 
+10
source

All Articles