Pinch to Zoom

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
HCCKPM
Newbie
Newbie
Posts: 7
Joined: Wed Jul 18, 2018 12:00 am

Pinch to Zoom

Post by HCCKPM » Mon Aug 13, 2018 6:31 am

How to activate Pinch to Zoom in the Teechart WPF

Sandra
Site Admin
Site Admin
Posts: 3128
Joined: Fri Nov 07, 2008 12:00 am

Re: Pinch to Zoom

Post by Sandra » Mon Aug 13, 2018 11:33 am

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
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

HCCKPM
Newbie
Newbie
Posts: 7
Joined: Wed Jul 18, 2018 12:00 am

Re: Pinch to Zoom

Post by HCCKPM » Wed Aug 15, 2018 11:21 am

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 ?

Christopher
Guru
Posts: 1111
Joined: Fri Nov 15, 2002 12:00 am

Re: Pinch to Zoom

Post by Christopher » Thu Aug 16, 2018 6:39 am

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.
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Instructions - How to post in this forum

HCCKPM
Newbie
Newbie
Posts: 7
Joined: Wed Jul 18, 2018 12:00 am

Re: Pinch to Zoom

Post by HCCKPM » Wed Aug 22, 2018 4:07 am

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.

Christopher
Guru
Posts: 1111
Joined: Fri Nov 15, 2002 12:00 am

Re: Pinch to Zoom

Post by Christopher » Fri Aug 24, 2018 1:27 pm

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.
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Instructions - How to post in this forum

Christopher
Guru
Posts: 1111
Joined: Fri Nov 15, 2002 12:00 am

Re: Pinch to Zoom

Post by Christopher » Thu Oct 11, 2018 11:07 am

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.
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Instructions - How to post in this forum

Post Reply