I would like to know how can we set Culture of RadHtmlChart in backend. Since based on the location the cultureinfo varies dynamically, I want to assign the cultureinfo in backend. And more over I wanted to know how can we set a customized culture to RadHtmlChart?
4 Answers, 1 is accepted
If you want to localize the RadHtmlChart you must load initially the corresponding culture script files and then set the culture to the chartObject. More information on how this can be achieved is available in Localization of RadHtmlChart Controls help article.
The culture type can also be set dynamically with a server code block.
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
"The culture type can also be set dynamically with a server code block" - Can you show me how this can be done?
I have big problems integrating the .js files for localization of HTMLChart. Is there a way without any kendo-files, just some options to set in the base-class of the htmlchart? i only need numbers in german culture.
My problems are described here: http://www.telerik.com/forums/chart-localisation#1HYU7Jg_FkmBe4uBRH8oMw
You can use the following code block to get the current culture of the page:
More information on the matter is available here - https://msdn.microsoft.com/en-us/library/system.globalization.cultureinfo(v=vs.110).aspx
Can you please give example how to use the script. I just can not get the Thread to work.