Real time charting - changing axis maximum
Posted: Thu Oct 01, 2009 4:03 pm
I am charting data in real time - scrolling as per your example of charting data in real time.
My data can range from 0-100%. I would like the axis->maximum not to be less than 10%, otherwise, I would like it to scale automatically. I am adding data to the chart 5 times per second. I can set the axis->Automatic feature on before I add data, add the data, and then check the axis->Maximum value and see if it is below 10%. At that point I can then set it the Maximum to 10%. Is this correct - will this work? If I do this, will the chart be bouncing between the automatic settting and the 10% - which would then be hard to follow?
What would you suggest as the best way to implement this?
Thank you for your assistance.
M Weingarden
My data can range from 0-100%. I would like the axis->maximum not to be less than 10%, otherwise, I would like it to scale automatically. I am adding data to the chart 5 times per second. I can set the axis->Automatic feature on before I add data, add the data, and then check the axis->Maximum value and see if it is below 10%. At that point I can then set it the Maximum to 10%. Is this correct - will this work? If I do this, will the chart be bouncing between the automatic settting and the 10% - which would then be hard to follow?
What would you suggest as the best way to implement this?
Thank you for your assistance.
M Weingarden