View3D touch rotate

A forum dedicated to WinForms version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
mat-d
Posts: 5
Joined: Sat Jun 26, 2021 4:27 am

View3D touch rotate

Post by mat-d » Fri Sep 16, 2022 12:12 pm

Hello,

Is there a way to rotate View3D by touch.
Is there a way to make it the default touch interaction instead of pan?

Thanks

Mat

ArctionKestutis
Posts: 456
Joined: Mon Mar 14, 2016 9:22 am

Re: View3D touch rotate

Post by ArctionKestutis » Fri Sep 16, 2022 2:24 pm

Hello Mat,

LightningChart should work just fine with touch screens in 3D as well as in XY view.

Did you change _Chart.View3D.ZoomPanOptions properties?

The default settings rotation behavior is very easy to do. With mouse you just press the assigned mouse button down and by dragging horizontally or vertically. On touch screen same is done with one finger. When you want to pan 3D, you use two fingers and move them to the same direction to apply panning.

At least this how it should work with WPF or UWP edition.
In case you are using WinFroms edition, the touch-screen rotation is not implemented. Only way is to have some external control to modify camera RotationX, RotationY and RotationZ properties.

mat-d
Posts: 5
Joined: Sat Jun 26, 2021 4:27 am

Re: View3D touch rotate

Post by mat-d » Mon Sep 19, 2022 5:30 am

Hi Kestutis,

yes I'm using the winforms version,

hopefully we'll move to a new ui toolset in the future, but it is likely to be maui rather than uwp or wpf.

Thanks for responding

cheers

Mat

Post Reply