You are not logged in.
Hi,
I have negative values in my chart.I want to format it based on use preference.
For example negative values can be shown as follows
-1.1
- 1.1
(1.1)
1.1-
1.1 -
I want negative values to be formatted in balloon and also labels.Please let me know is there any option to do that or any other simply way to achieve this. I have the source code.
Offline
For axis labels you can use ValueAxis' labelFunction:
http://flex.amcharts.com/class_referenc … elFunction
For any other numbers you have two options:
1) Modify the component source code;
or
2) Add additional field to your data that holds already formatted numbers in String format. Then just use that field in balloons and data labels instead of [[value]].
I.e.: <.... labelText="[[formatted_value]]" />
Offline
© amCharts | Forum engine: PunBB