I've got a VI in LV 2012 with a chart in one of two pages of a tab control. Whether compiled to an executable or not, when the waveform chart contains data that is no longer being updated and the x-axis range doesn't show the last point of data, the horizontal scroll bar auto-adjusts to show that last point if you switch pages (back to the chart) on the tab control. I've tried turning off Autoscaling but that doesn't stop the effect.
Additional issues:
- On some of these attempts at reproducing this, the X-Axis will even change scaling, zooming in on the data.
- When data is pushed left by this bug to allow displaying the furthest data point, if the leftmost area of the chart was blank before the data was pushed left, the data pushed left into the formerly blank area will not be displayed. This happened only when the X-Axis was manually autoscaled prior to pushing the data off the right edge of the chart, and only if the x-axis scale was not changed. If the tab pages are again switched at this point away and back to the chart, the data re-appears.
The chart is a stacked plot if that makes a difference, Also, the tab control is not linked to any event handlers.
Also, the scrollbar works fine if you scroll such that the rightmost data points are on the chart along with blank area to the right, whether there is more data off the left edge of the chart or not.
Last, the Y-Axis of each stacked plot is unaffected by any of this.
I hope this isn't a duplicate - I didn't find it in the forums.
Thanks,
Erik