echarts [Feature] Natural(browser-native) horizontal scroll (move).

c2e8gylq  于 5个月前  发布在  Echarts
关注(0)|答案(1)|浏览(103)

What problem does this feature solve?

As an apple user, I use double-finger horizontal swipe for horizontal scroll. It is native behavior. As well as SHIFT + WHEEL for windows or mouse - users.
Currently native horizontal scroll not supported.
moveOnMouseWheel: 'shift' Completely unusable on mac touchpad

Enabling natural scroll will solve this problems making panning(moving) more accessible.
Here is my playground with dataZoom settings.

What does the proposed API look like?

dataZoom: [
    {
        naturalScrolling: true // enables native horizontal/vertical moving
    },
2o7dmzc5

2o7dmzc51#

no one cares LOL

Please let me know if u see any other js charts with natural chart scrolling support

相关问题