Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
3590
Stepline series using CategoryDateTimeXAxis is shifted to the right
posted

I had a previous post where I thought the data points being added to a Stepline series were in the center of the range but upon further testing it is not. It appears to be dependent on the interval between data points.

A quick example to reproduce the issue is to add a Stepline series with 3 data points, each 6 minutes apart. My first point was set to 1/20/2011 00:00:00 and last point was 1/20/2011 00:12:00. If you plot that my first point shows up around 1/20/2011 00:02:40 and the last pint does not even appear on the chart. I had to modify the example to set the max value of the xaxis to be 4 minutes longer. After this I realized that the whole series was shifted that 2:40 (approx).

For our purposes it wasn't that noticeable since we plot every second for testing. However, now in production that interval dropped down to every 60 seconds or so and it is extremely noticeable. In our scenario I have implemented a mouseover (from the sample that Graham Murray supplied) that displays the values at a the hovered point on each series and that makes this issue much more obvious.

Is there any workaround for this problem or is there a fix that we can beta test for you because as it is right now this section of our product is unshippable and it was due to be release Feb 1.