This is a migrated thread and some comments may be shown as answers.

Chart localization

1 Answer 156 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Mathieu
Top achievements
Rank 1
Mathieu asked on 07 Sep 2015, 03:39 PM

Hi,

I have a question about charts localization.

 

I create a chart, the horizontal axe is a DateTimeCategoricalAxis.

The format of the label is (Month - Year).

I display the graph with english and french culture, the month is translated correctly, which is very good !! :)

My question :  is it possible the force the graph to display in french culutre even if the current culture is english  ? 

 

Regards,

 Mathieu.

 

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 08 Sep 2015, 08:31 AM
Hi Mathieu,

Thank you for contacting us. 

You can change the culture of the current thread:
Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("fr-FR");

Another approach would be to use custom strings. More information is available here: Custom labels text.

I hope this helps. Should you have any other questions do not hesitate to ask.
 
Dimitar
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
ChartView
Asked by
Mathieu
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or