Automatic zoom and scroll with mouse

TeeChart for ActiveX, COM and ASP
Post Reply
Drifter
Newbie
Newbie
Posts: 1
Joined: Tue Mar 22, 2011 12:00 am

Automatic zoom and scroll with mouse

Post by Drifter » Fri Jul 22, 2011 10:37 am

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

Yeray
Site Admin
Site Admin
Posts: 9602
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Automatic zoom and scroll with mouse

Post by Yeray » Wed Jul 27, 2011 11:08 am

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.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply