0

According to the documentation of the evaluation version of TeeChart for Android ("TeeChartJavaAndroid_2013Eval"), zooming with two-finger touch can be enabled for ZoomStyle.FULLCHART mode:

FullChart mode

Scroll
Touch a finger to the screen and drag it in the direction that you would like the entire Chart to move.

Zoom
To Zoom, touch two fingers to the screen at the centre location you wish to zoom and drag the fingers apart. To Unzoom invert the procedure, touch the screen at any two outer locations and drag your fingers togther before releasing them from the screen.

Nevertheless, for InChart mode it uses a one-click drag zoom and scroll approach.
Is there any way to enable the two-finger zooming for InChart mode?.

4

1 回答 1

0

我了解您想使用捏合手势使图表重新调整坐标轴,对吗?

这里的问题是,在捏合手势的开始和结束之间,每次设备检测到您的一根手指的移动。而且,如果我们在每次检测到移动时重新缩放并重新绘制图表,我们将多次重新绘制图表,从而减慢该过程。

在某些版本的 TeeChart 中,有一种特殊的缩放样式,可以通过图像播放来实现这种缩放效果,使其更快。但恐怕这种风格在 TeeChart Java for Android 中尚不可用。

于 2013-09-10T13:27:04.077 回答