klinecharts / KLineChart

📈Lightweight k-line chart that can be highly customized. Zero dependencies. Support mobile.(可高度自定义的轻量级k线图,无第三方依赖,支持移动端)
https://klinecharts.com/
Apache License 2.0
2.44k stars 615 forks source link

Enhance Touch Event Recognition for mobiles [Feature] #525

Open pruthvi-itribe opened 10 months ago

pruthvi-itribe commented 10 months ago

Feature Description

Problem Statement: I've noticed that the touch events in the Kline are not recognized properly when accessed on mobile devices. This issue affects the usability of the tool on touchscreen interfaces, which is particularly important given the increasing prevalence of mobile device usage.

https://github.com/klinecharts/KLineChart/assets/92719921/d0cc1010-7e40-49ec-84b8-64068b1a54e3

To Do

  1. Handle touchDown, touchMove, touchUp events
  2. Should be able to use the graph in mobile browsers
Rittercn commented 6 months ago

Probably because it's not based on canvas

inthedark122 commented 2 weeks ago

Good day. What about this issue? Would be perfect to use scale functionality on the mobile browser as well