A simple Zoom on the X-Axis??
Posted: Sun May 04, 2014 9:21 am
Hi
We are using TeeChart version 3.5.3187.15585
Ive spent some time searching the forums for an example of how to do a simple zoom IN on the horizontal axis only. The vertical axis should not be zoomed. Is it possible to do this.
Simple example. If the chart has 100 points starting from x=1 to x=100 but I just want to display from points 10 to 90 then how do I do this? Ive been playing about with the ZoomPercent() function but that doesn't restrict the zoom to any axis, just seems to zoom in both axes (also I cant seem to zoom in only zoom out). There is a ZoomRect() function also which looks more promising but again not sure how to implement this and the zoom parameters appear to be in pixels.
A code snippet would be great or perhaps its been done before and a link would help also.
Thanks!!
We are using TeeChart version 3.5.3187.15585
Ive spent some time searching the forums for an example of how to do a simple zoom IN on the horizontal axis only. The vertical axis should not be zoomed. Is it possible to do this.
Simple example. If the chart has 100 points starting from x=1 to x=100 but I just want to display from points 10 to 90 then how do I do this? Ive been playing about with the ZoomPercent() function but that doesn't restrict the zoom to any axis, just seems to zoom in both axes (also I cant seem to zoom in only zoom out). There is a ZoomRect() function also which looks more promising but again not sure how to implement this and the zoom parameters appear to be in pixels.
A code snippet would be great or perhaps its been done before and a link would help also.
Thanks!!