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
Live data causes DataChart to draw stepline diferently on each update
posted

I have a XamDataChart that I use to chart real-time data. I used an observablequeue as itemsource of the series with 360 items. If I shrink the browser window down to a size where all 360 points cannot fit, each time a new entry is added to the queue the line appears to shift between two slightly different renderings. As soon as you increase the width of the browser to a large enough size that shifting stops. Does this have to do with the way the XamDataChart is interpolating the data? Do we have some control over how that is done? For example, can we opt to draw a vertical line from the min val to the max val for each pixel that has more than one data point or are we stuck with the algorithm you have chose (which appears to be some sort of average?)?

Thanks,
Mike