I'm using the bar chart. My current dataset has 8 entries in it, dates in the range of Sept 2nd through Oct 2nd. When I display the chart I expect there to only be 8 sets of bars. Instead it is showing every date in between. I don't want that.
2 Answers, 1 is accepted
0
Marin Bratanov
Telerik team
answered on 04 Oct 2013, 01:25 PM
Hello Glenn,
Could you try setting the Type property of the XAxis to Category? When dates are passed it will default to Date which will add the time intervals inbetween as items, while using the Category setting it will create objects only for the items in the datasource, regardless of their actual time difference: http://www.telerik.com/help/aspnet-ajax/htmlchart-date-axis.html.
Regards,
Marin Bratanov
Telerik
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 the blog feed now.