huww98 / TimeChart

An chart library specialized for large-scale time-series data, built on WebGL.
https://huww98.github.io/TimeChart
MIT License
365 stars 31 forks source link

How to use two or more Y Axis, Series has yAxisID mapped to one Y Axis,and zoom each Y Axis like chartjs-zoom-plugin.. #46

Open moll33er opened 2 years ago

moll33er commented 2 years ago

How to use two or more Y Axis, Series has yAxisID mapped to one Y Axis,and zoom each Y Axis like chartjs-zoom-plugin.(panning directions should only be available when the mouse cursor is over a scale for that axis). Thanks.

Snipaste_2022-08-03_13-39-13

huww98 commented 2 years ago

Sorry, multiple Y-axes is not supported now. PR is welcome.

Could you show me a sample of how chartjs-zoom-plugin deal with multiple y-axes? How user is supposed to zoom/pan each axis independently?

moll33er commented 2 years ago

this is uPlot demo, can wheel or drag in series and Y-axes. ( wheel mousedown to drag) uplot wheel demo