Thousands separator in values

Hello.
I have a chart with quite large values:

I want to see them with the separation of the thousands.
In the configuration I have:
this.primaryYAxis = {
title: 'Importe',
valueType: 'Double',
labelFormat: 'c2'
};

and :
setCulture('es');
setCurrencyCode('EUR');
How can I make the thousands separator appear?

Regards.







3 Replies

BP Baby Palanidurai Syncfusion Team July 30, 2018 05:57 AM UTC

Hi Juan, 

Thanks for using syncfusion products, 

We have analyzed your query and your requirement can be achieved by setting true for  useGroupingSeparator property in chart options. Please find the below code snippet to achieve this requirement, 

<ejs-chart useGroupingSeparator = "true"
   </ejs-chart> 

Screenshot: 

 

Sample for your reference, can be find from below link, 


kindly revert us, if you have any concerns. 

Thanks, 
Baby. 



JU Juan July 30, 2018 06:23 AM UTC

Perfect!

Thank you very much!



BP Baby Palanidurai Syncfusion Team July 30, 2018 06:59 AM UTC

Hi Juan, 

Thanks for your update, 

   Please let us know if you need any further assistance on this. 


Thanks, 
Baby.

Loader.
Up arrow icon