ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Touch support for Resizing the Viewport on the WebViewPortControl
Posted by Martin Sisifa on Feb-01-2018 05:03
Back in 2016, we were provided with a custom cdjcv.js that allowed support for partialUpdate on the WebViewPortControl. (link to the support ticket below)

http://www.chartdir.com/forum/download_thread.php?bn=chartdir_support&pattern=robert+yin&thread=1475121954

This has work out great so far. However, touch support on mobile for the WebViewPortController seems limiting, as compared to its mouse support on desktop. It seems that the only way to control the viewport on the WebViewportCotnrol via touch is dragging the viewport left or right, i.e. you cannot Resize the viewport via touch. We could not find any way to do this on the documentation.

Can you please advise the best way to do this?

Thanks,

Martin.

  Re: Touch support for Resizing the Viewport on the WebViewPortControl
Posted by Peter Kwan on Feb-03-2018 01:14
Hi Martin,

Sorry for the late reply.

Unluckily, the WebViewPortControl does not have touch gestures for controlling zooming. We have tested using pinch for zooming, but it is confusing and hard to use. When the user pinches, it is not sure if he wants to zoom in the chart or zoom in the entire web page (as the browser itself also uses pinch to zoom in the web page). The WebViewPortControl is often small, and it is hard to put two fingers on it and move the fingers.

To touch interactions, we suggest to simply tap on the main chart to zoom in and out. Our zooming and scrolling sample code are all designed this way.

Regards
Peter Kwan