This issue has been discussed in other threads:
When a stripchart is horizontally resized, the X-scale range can't be changed, so that visible data in shrunk or stretched to the new dimension. But this behavior is not so useful.
It would be better if resizing the chart changed the X-scale accordingly, so that a larger or shorter period would be displayed.
But if you set ATTR_POINTS_PER_SCREEN parameter all the data history is cleared, so that it's impossible to resize the chart.
I think that resizing a chart in the way I described is a quite common need, so I suggest to implement ATTR_POINTS_PER_SCREEN in a way that doesn't clear the whole data history.
ClearStripChart() should be the only function that clears the chart.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.