We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Can I replace text in a label?

Hi,

I would like to know if it is possible to replace "." with "," on displaying percentage in a column chart.

I am able to display it correctly, but due to the fact I am in Brazil, and here we use percentage
formatted with ",", I want to display it like that, is it possible?

1 Reply

SK Sanjith Kesavan Syncfusion Team April 26, 2016 06:24 AM UTC

Hi Artur, 

We have analyzed your query and prepared sample based on your requirement. In the sample, to render the chart in Brazil language we have set “pt-BR” value for locale. Locale is used to mention culture name, in which chart have to render. Please find the below code example. 

[ASPX] 
<ej:Chart runat="server" Locale="pt-BR"> 
             <PrimaryYAxis LabelFormat="p2"></PrimaryYAxis> 
</ej:Chart> 

As the chart is rendering in Brazil language, percentage will displayed using “,” separator. Please find the screenshot. 

 

To know more details about chart localization please follow the below link 

In the below link, we have attached sample for your reference.  

Please let us know if you have any concern. 

Regards, 
Sanjith. 


Loader.
Live Chat Icon For mobile
Up arrow icon