You need to set AxisX.AutoRange
property to false
in order to be able to set its MinValue, MaxValue
In addition, we recommend using the AddRange
method, here is an example:
min = items.FirstOrDefault().LastUpdate.ToOADate();
max = items.LastOrDefault().LastUpdate.ToOADate();
radChart.DefaultView.ChartArea.AxisX.AddRange(min, max, (max - min) / 2);
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?
Telerik Public Issue Tracking
system and vote to affect the priority of the items.