In case you do not wish the exact hour of the day to be respected and the ticks to be aligned with the data points, then using the DateTimeCategorical axis would be a better choice.
As for using the DateTimeContinuous axis, there are a couple of properties that would allow you to customize how the chart would appear. First of all, the PlotMode
property, which is generally set to OnTicks
for linear series, however, you may also consider using BetweenTicks
. Also, you can set the MajorStepUnit
(this.HorizontalAxis as DateTimeContinuousAxis).MajorStepUnit = TimeInterval.Day;
(this.HorizontalAxis as DateTimeContinuousAxis).MajorStep = 0.5;
In the demonstrated configuration you would have a tick per each 12 hours.
Hope this helps. In case the issue persists, it would be very helpful if you're able to send us a sample application, which demonstrates your scenario and/or the configuration of the DateTime axis and data.
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>