You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "helgasoft (via GitHub)" <gi...@apache.org> on 2023/02/17 19:36:30 UTC

[GitHub] [echarts] helgasoft commented on issue #15872: vertical mousewheel scroll trigger horizontal action

helgasoft commented on issue #15872:
URL: https://github.com/apache/echarts/issues/15872#issuecomment-1435143724

   @xvaara , in your code the chart behaves exactly as instructed - a **single** mouse wheel controls **both** horizontal and vertical scrolling. And the result is not pretty.
   An improvement would be to assign **mouse move** to vertical and **mouse wheel** to horizontal scrolling: [Demo Code](https://echarts.apache.org/examples/en/editor.html?c=line-simple&code=PYBwLglsB2AEC8sDeBYAULWkwBsCmAXMuppmHgB5hEBEAQgIYBOsAwgBbNg0mwC-AGl4ATBmAYAtYMAC2RANq9MqDKTIBPEIVg0I0AM4RheGkNVqKAQQoR9ASWjGKRAAxm1mAGYQc5JgFlgY1poGBN3D31xJmpYAGY3TDxHIgA2VIi1AHoskCY8ADdksAARPE8GAFdfQMr9PECiojAmSrxM0gAvaRkAeWha-oB1djw8HCIKnHqOzByZYCL-wYbF7Ra2gUwlUgWlgeA6vBGxiaxW9tIc2AB3UfGEWHZgJghu6HEcHcEdlQ8sTTaXQGIzhHaYdTWWwOJyuWawby-PABIJA0LQMHmLo9AAywAAxgBrZoXeFRLhEAAsiWSwiIAHZ6fDurJlodhvczlMZuDYHs8Gyjo11qSrlk-WtHkUYhB8Qwvli5ll-YKOacSW1vrwALoRKw2fREP6kUTiBQ0ADKlWgph0gRtWxoABU2raaEM8MI3U72JU3QAxV5ui1iGja3g_VSQg1GyOYeqvPCG2CKLHGtRgQG0ABGzFMvNNDAUACZi4kAIwADmLW3LAE5y1ti3FKU264k4gktnFyy5w1i-Dr0HwgA)


-- 
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