Page 1 of 1

Automatic zoom and scroll with mouse

Posted: Fri Jul 22, 2011 10:37 am
by 16658827
hi,
i have TeeChart2010.0.0.3ActiveX.
I want to make automatic zoom and scroll with mouse.
I believe its only checking "Allow" in "chart->general->zoom" and in "chart->general->scroll" but both these options are checked and it doesnt work.

Is there any other option i need to check, or any issue i should pay atention?
I had tryed it in several ways (with automatic and manual axis, adding some tools, etc) but i cant make it work.

Any ideas I should try?

regards
Gonçalo

Re: Automatic zoom and scroll with mouse

Posted: Wed Jul 27, 2011 11:08 am
by yeray
Hello Gonçalo,

Both zooming and scrolling features are enables by default when you create a Chart. Note that:
- The Zoom is done by drawing a rectangle with the left mouse button (click down the left mouse button into the chart, move the mouse without releasing the left mouse button so a rectangle is drawn, and release the left mouse button to apply the zoom).
- The Scroll is done by dragging the chart with the right mouse button (click down the right mouse button into the chart, move the mouse without releasing the right mouse button and the chart should be scrolled).

Also note that the chart needs a series with values drawn for both features to work. You can't zoom or scroll an empty chart.
And finally note that the majority of series support zoom&scroll but there are some "special" series (such as pies and gauges) that don't.

If you have problems with it in your application, please try it before in the features demo program included with the installation.