Chart localization

2 posts, 0 answers
  1. Mathieu
    Mathieu avatar
    6 posts
    Member since:
    Feb 2014

    Posted 07 Sep 2015 Link to this post


    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  ? 





  2. Dimitar
    Dimitar avatar
    1337 posts

    Posted 08 Sep 2015 Link to this post

    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.
    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
  3. DevCraft banner
Back to Top