This happens beacuse RadChart will create a new item in the X axis for each item in the datasource. In order to achieve the desired result, you will need to populate the chart and create the X axis items manually. I have attached a small example showing this. Some notes on it:
- The datasource should be sorted by the field that provides the values for X axis
- There is an artificial numeric field added -- it is used for the correct positioning of the ChartSeriesItems along the X axis.
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward!
We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>