Increment of x Axis
Posted: Mon Jul 16, 2007 10:04 am
Hi !
We have a logging software which plots every second one point to the chart / to the series (we use fastline Series).
Everytime a new point is added to a series the chart is repainted. So the increment of the x axis is only one point.
Is there a way to increment the x axis with a custom percentage?
A simple example:
Lets say you have one FastLine Series with 100 datapoints. The X axis shows 0 at the left and 100 at the right. Now you add an addition datapoint to the series. The x axis only increments to 101 on the right side.
But it would be much more efficient if the x axis would increment to 120 instead of 101. If you do so the next 19 datapoints don´t need a complete repaint of the chart. You simple enhance the actual one.
If you have 120 datapoints you enhance the x axis again with 20%.
Is this possible with TeeChart?
We have a logging software which plots every second one point to the chart / to the series (we use fastline Series).
Everytime a new point is added to a series the chart is repainted. So the increment of the x axis is only one point.
Is there a way to increment the x axis with a custom percentage?
A simple example:
Lets say you have one FastLine Series with 100 datapoints. The X axis shows 0 at the left and 100 at the right. Now you add an addition datapoint to the series. The x axis only increments to 101 on the right side.
But it would be much more efficient if the x axis would increment to 120 instead of 101. If you do so the next 19 datapoints don´t need a complete repaint of the chart. You simple enhance the actual one.
If you have 120 datapoints you enhance the x axis again with 20%.
Is this possible with TeeChart?