This question is locked. New answers and comments are not allowed.
Hello,
I am trying to draw a graph with possibly many thousands of data points, bound using the SeriesMapping/ItemMapping method. Both axes are bound as Value type data points (XValue & YValue).
My problem is that when sampling is turned on, my X axis displays values beginning from 0 in DateTime (31.12.1899, 1.1.1900... etc). When I turn off sampling (or zoom in enough that there are less data points than the sampling threshold), the graph draws just fine with tooltips etc working perfectly, but when it is turned on, the X axis values and tooltips are broken. The data points show up where they should though.
I've tried setting IsDateTime on and off (which should only be necessary for DataPoint binding anyway, according to the docs). IsZeroBased for XAxis is set to false as well. I also tried setting the AxisX.MinValue and MaxValue properties manually (which I believe shouldn't work when AutoRange isn't set to false) to no avail.
Any solutions?
I am trying to draw a graph with possibly many thousands of data points, bound using the SeriesMapping/ItemMapping method. Both axes are bound as Value type data points (XValue & YValue).
My problem is that when sampling is turned on, my X axis displays values beginning from 0 in DateTime (31.12.1899, 1.1.1900... etc). When I turn off sampling (or zoom in enough that there are less data points than the sampling threshold), the graph draws just fine with tooltips etc working perfectly, but when it is turned on, the X axis values and tooltips are broken. The data points show up where they should though.
I've tried setting IsDateTime on and off (which should only be necessary for DataPoint binding anyway, according to the docs). IsZeroBased for XAxis is set to false as well. I also tried setting the AxisX.MinValue and MaxValue properties manually (which I believe shouldn't work when AutoRange isn't set to false) to no avail.
Any solutions?