Dear Telerik Team,
I am still working on this issue. I found the NumericalAxis Demo Project very interesting for this one. So I implemented this in my project. Everything was working well, like in the demo. Now I try to add my specific data to it.
My Method look like this :
List<DateTime> data = _scriptLogParser.GetLogEntrys();
hourStep = 1 / 24.0;
minuteStep = hourStep / 60;
startTime = data.First().ToOADate();
endTime = data.Last().ToOADate();
start = data.First().ToString();
end = data.Last().ToString();
radChart1.PlotArea.XAxis.AddRange(startTime, endTime, hourStep);
ChartSeries series = radChart1.Series;
currentTime = startTime; currentTime < endTime; currentTime += minuteStep)
ChartSeriesItem item =
item.XValue = currentTime * minuteStep;
DateTime test = DateTime.FromOADate(currentTime);
index = data.FindIndex(p => p == DateTime.FromOADate(currentTime));
(index >= 0)
item.YValue = 1;
item.YValue = 0;
First I get my data from "_scriptLogParser.GetLogEntrys();".
After that I set the start date and end date and interate through this in minute steps. I debug this part and it worked pretty well. But my Output is false. It looks like this :
This is not correct. I manipulate the data. So I got data from 15 till 18 o´clock. Than nothing and then the data come up at 23 o´clock. But it seems that the chart is displaying there was always data.
Where is my wrong line ?