You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2022/02/27 17:37:43 UTC

[GitHub] [echarts] Vasile-Peste opened a new issue #16585: [Feature] Allow horizontal scrolling with trackpad (like http://tradingview.com)

Vasile-Peste opened a new issue #16585:
URL: https://github.com/apache/echarts/issues/16585


   ### What problem does this feature solve?
   
   Currently on PC the only way to scroll a chart horizontally is by dragging with the mouse cursor to the left or to the right.
   We need something similar to the dataZoom on the Y axis: for anyone using a MacBook or any laptop it would be very easy to scroll horizontally using only two fingers (by swiping left and swiping right on the trackpad, like any graph on http://tradingview.com)
   
   ### What does the proposed API look like?
   
   ```
   xAxis: {
       scrollOnSwipe: true,
   },
   ```
   
   Which allows scrolling by swiping on the trackpad (if the actual data zoom is < 100)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org