Hello Benjamin,
I saw from your code snippet that you are trying to set integer numbers as XValue-s. Indeed RadChart works only with numeric types but it can't convert numeric values into DateTime format. To be able to set DateTime values on axis you should convert them to their OLE Automation equivalents using
ToOADate().
Please, review this online example -
http://demos.telerik.com/aspnet-ajax/chart/examples/functionality/numericalaxis/defaultcs.aspx that demonstrates how you can display DateTime on the axes of RadChart.
If you want to set custom Range for XAxis you can do it like this:
You can also rotate axis Item Labels so they won't overlap like this:
Here is how you can create your Series:
Regards,
Evgenia
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items