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-unsubscr...@echarts.apache.org

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



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

Reply via email to