The short answer would be no, no bug here. But let me provide you with some info on RadChart axes.
A point (or a bar) in RadChart is drawn according to two coordinates -- X and Y. They are represented by the XValue
properties of the DataPoint object (well, there are special cases like CandleStick charts, where Open, High, Low and Close properties are used). So, the YValue property is a must -- if it is not present - by default it is 0 and the point/bar will be with 0 height. The XValue is optional -- if you supply it the point/bar will be drawn at that position. If it is not provided - RadChart will draw the points/bars next to each other.
By default RadChart will calculate the range for each axis, however you can change that by setting the AutoRange
property to false. I can see you have already done this. But setting MinValue and MaxValue for AxisX you force the chart to display only items with XValue
falling between these values. Your code shows, that you add series mappings but it does not show if these series mappings have ItemMapping for XValue property. My bet would be -- there isn't any. The reason -- I can see the chart is populated by a list of arrays of doubles, so each array would represent a DataSeries and each member of that array (a double value) would represent a DataPoint. There does not seem to be enough information about the position of that point along the XAxis - hence RadChart will start from 1 and add the items next to each other. But MinValue and MaxValue are set and their values are close to 40000 (the OLE Automation date equivalent), so the items are there, but they are out of the axis range.
To fix this, you need to provide the necessary information for XValue for each DataPoint -- you may need to replace the double values by an object, which would contain the double value as well as a DateTime value for positioning along the X axis. You can find more details about X axis and series mappings here
. You can find an example showing series mappings with DateTime values here
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.