I get the datasource data as date time and I want to display the x-axis data for past 8 hours. But the data is there only for 1hour. How can I set the MinValue and MaxValue so that I see all the 8 hours in x-axis but see data only in the particular hours and gaps for other data.
1 Answer, 1 is accepted
answered on 08 Dec 2014, 01:54 PM
The RadHtmlChart supports different baseUnits for its date x-axis, so you can try to set a lower base unit(e.g., BaseUnit="minutes"). More information on the matter is available in the Date Axis help article and this online demo.
As for setting min and max values for the x-axis:
- For a category series like line, bar, column, etc. you can use the MinDateValue and MaxDateValue properties.
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.