Hello Mark,
Thank you for sharing your feedback with us.
You can have a look at
this help article which lists the values the DataFormatString property exposes (i.e. date format is not included here). As my colleague has already mentioned in his post, date time objects are not supported by the RadHtmlChart yet. This is a limitation of the control and our online documentation can, indeed, be improved to expose it better.
Nevertheless, our developers are currently working on handling DateTime objects as a datasource to the RadHtmlChart. However, I cannot guarantee any time bounds for its implementation due to the:
- Specifics of this feature request - .NET DateTime objects are different than JavaScript Date objects which requires additional conversion
- The control should not modify the datasource the developer passes. We are still trying to find a way around this obvious contradiction of concepts
Regarding the name of the property, note that it is called DataFormatString and not a DateFormatString. You can also have a look at this help article that shows an example on how to create a custom conversion of the DateTime objects and populate them on the XAxis labels.
All the best,
Danail Vasilev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their
blog feed now.