Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
65
Optimize x or y axis to display amount in currency values
posted

Hi Guys,

I was wondering if it is possible to automatically convert the values in the data to display currency values. Let's say I have a data set 

data = [{ 'Label':'Pen', 'Amount': 1000 },

{ 'Label':'Pencil', 'Amount': 2000},

{ 'Label':'Paper', 'Amount': 3000}];

I would like to Display a dollar $ symbol with the values or it would be better if values like 1000 are truncated as $1k and the same is reflected all over the graph while displaying final values and even while using the tooltip.

Parents Reply Children
No Data