Pinch to Zoom
Pinch to Zoom
How to activate Pinch to Zoom in the Teechart WPF
Re: Pinch to Zoom
Hello,
In TeeChart WPf by default the zoom is active, but to active Zoom or Scroll you must do the same as code below:
Hoping this helps you
Thanks in advance
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);}
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 |
Instructions - How to post in this forum |
Re: Pinch to Zoom
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 ?
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 ?
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Pinch to Zoom
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.
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 |
Re: Pinch to Zoom
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.
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.
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Pinch to Zoom
Hello,
I'm afraid it isn't, no.
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.HCCKPM wrote: ↑Wed Aug 22, 2018 4:07 amWhen 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.
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 |
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Pinch to Zoom
This issue has now been fixed and the fix can be downloaded from the latest TeeChart build on Nuget here.Christopher wrote: ↑Fri Aug 24, 2018 1:27 pmI 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 |
Re: Pinch to Zoom
Hello & Good Morning,
we still have problems on activating "Pinch to Zoom" in the WPF version of TeeChart.
Can you explain how to activate?
we still have problems on activating "Pinch to Zoom" in the WPF version of TeeChart.
Can you explain how to activate?
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Pinch to Zoom
What problems are you experiencing?
If I remember correctly the tests we made back in 2018 using a touch screen (not a tablet or phone), activation happened automatically. I have a gif I made from that time:
Unfortunately, due to Covid-19, I do not have access to the touch screen so I cannot run tests again to give you the code which I used to create the gif above.
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 |
Re: Pinch to Zoom
Hello,
sorry for my late response, didn't get a notification that you replied.
We are using your latest DLL and still can't pinch to zoom like used to do a zoom on an iPhone or any other touch device. We only can zoom like we are used to do by mouse.
Therefore an example would be great.
BR
Jochen
sorry for my late response, didn't get a notification that you replied.
We are using your latest DLL and still can't pinch to zoom like used to do a zoom on an iPhone or any other touch device. We only can zoom like we are used to do by mouse.
Therefore an example would be great.
BR
Jochen
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Pinch to Zoom
Hello Jochen,
I will get an example to you as soon as I can, but please be aware that I still don't have access to the touch screen which is necessary for me to get the example together for you.
I will get an example to you as soon as I can, but please be aware that I still don't have access to the touch screen which is necessary for me to get the example together for you.
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 |
-
- Newbie
- Posts: 25
- Joined: Wed Jul 01, 2020 12:00 am
Re: Pinch to Zoom
Hello Christopher,
were you able to test the pinch to zoom functionality yet?
BR
Jochen
were you able to test the pinch to zoom functionality yet?
BR
Jochen
Best regards,
HCC/KPM
HCC/KPM
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Pinch to Zoom
Hello Jochen,
I'm really sorry, but I've been working from home for the last 150 days and still haven't been to the office. Next week I will try to hook up with a colleague who lives close to it and will ask him to find the screen for me. Apologies again.
Code: Select all
were you able to test the pinch to zoom functionality yet?
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 |
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Pinch to Zoom
Hello Jochen,
I now have a touch-screen and have been making tests - unfortunately without resolving your issue at the moment. What is curious to me is that I can't even get a simple example from the Microsoft documentation to work, concretely this one:
https://docs.microsoft.com/en-us/dotnet ... pplication
I suspect that it is my hardware/software configuration that is impeding the correct functioning of this demo, but before I make changes I wonder if you would be so kind as to run the above example at your end and tell me whether it works as expected for you or not. If you were to confirm the correct functioning of this demo I will take the necessary steps at my end.
I now have a touch-screen and have been making tests - unfortunately without resolving your issue at the moment. What is curious to me is that I can't even get a simple example from the Microsoft documentation to work, concretely this one:
https://docs.microsoft.com/en-us/dotnet ... pplication
I suspect that it is my hardware/software configuration that is impeding the correct functioning of this demo, but before I make changes I wonder if you would be so kind as to run the above example at your end and tell me whether it works as expected for you or not. If you were to confirm the correct functioning of this demo I will take the necessary steps at my end.
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 |
-
- Newbie
- Posts: 25
- Joined: Wed Jul 01, 2020 12:00 am
Re: Pinch to Zoom
Hi Christopher,
I am able to run the example.
It works fine.
I can zoom, rotate and move the rectangle.
Does your touch display react anyhow?
I am able to run the example.
It works fine.
I can zoom, rotate and move the rectangle.
Does your touch display react anyhow?
Best regards,
HCC/KPM
HCC/KPM