Page 1 of 1

View3D touch rotate

Posted: Fri Sep 16, 2022 12:12 pm
by mat-d
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

Re: View3D touch rotate

Posted: Fri Sep 16, 2022 2:24 pm
by ArctionKestutis
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.

Re: View3D touch rotate

Posted: Mon Sep 19, 2022 5:30 am
by mat-d
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