Page 1 of 1

Pinch to Zoom

Posted: Mon Aug 13, 2018 6:31 am
by 15684006
How to activate Pinch to Zoom in the Teechart WPF

Re: Pinch to Zoom

Posted: Mon Aug 13, 2018 11:33 am
by 10050769
Hello,
In TeeChart WPf by default the zoom is active, but to active Zoom or Scroll you must do the same as code below:

Code: Select all

		private void InitializeChart()
		{
			//  tChart1.Dock = DockStyle.Fill;
			tChart1.Aspect.View3D = true;
			//zoom
			tChart1.Zoom.Active = true;
			tChart1.Zoom.Direction = Steema.TeeChart.WPF.ZoomDirections.Both;
			//Scroll
			tChart1.Panning.Active = true;
			tChart1.Panning.Allow = Steema.TeeChart.WPF.ScrollModes.Horizontal;

			Steema.TeeChart.WPF.Styles.Line line1 = new Steema.TeeChart.WPF.Styles.Line(tChart1.Chart);
			line1.FillSampleValues(50);}
Hoping this helps you
Thanks in advance

Re: Pinch to Zoom

Posted: Wed Aug 15, 2018 11:21 am
by 15684006
Hello,
Zoom with the mouse and one finger touch works that way.
Two finger touch does not work like this,
only the first touch point is used as with the mouse, the second touch point has no effect ?

Re: Pinch to Zoom

Posted: Thu Aug 16, 2018 6:39 am
by Christopher
Hello -

at present TeeChart.WPF.dll only supports zoom with a mouse - for full support of touch-screen environments we offer the TeeChart.UWP.dll.

Re: Pinch to Zoom

Posted: Wed Aug 22, 2018 4:07 am
by 15684006
Hello,
is the TeeChart.UWP.dll completely supported in a WPF desktop application or are there any differences to the WPF dll?
When is it planned to have "pinch to zoom" support in the WPF DLL? We really need this functionality. Our application can be controlled completely by touch so the user will not understand why he can't zoom the way he is used to zoom from his smartphone/tablet.

Re: Pinch to Zoom

Posted: Fri Aug 24, 2018 1:27 pm
by Christopher
Hello,
HCCKPM wrote:
Wed Aug 22, 2018 4:07 am
is the TeeChart.UWP.dll completely supported in a WPF desktop application or are there any differences to the WPF dll?
I'm afraid it isn't, no.
HCCKPM wrote:
Wed Aug 22, 2018 4:07 am
When is it planned to have "pinch to zoom" support in the WPF DLL? We really need this functionality. Our application can be controlled completely by touch so the user will not understand why he can't zoom the way he is used to zoom from his smartphone/tablet.
I have added this issue to our issue-tracker with id=2080. We are presently making plans to implement this feature before the middle of the last quarter of this year, at the latest.

Re: Pinch to Zoom

Posted: Thu Oct 11, 2018 11:07 am
by Christopher
Christopher wrote:
Fri Aug 24, 2018 1:27 pm
I have added this issue to our issue-tracker with id=2080. We are presently making plans to implement this feature before the middle of the last quarter of this year, at the latest.
This issue has now been fixed and the fix can be downloaded from the latest TeeChart build on Nuget here.