[Bug] Zoom parameter in ChartEvent.ts
char101 opened this issue · comments
Char commented
Version
Steps to Reproduce
I think this line in
https://github.com/liihuu/KLineChart/blob/main/src/ChartEvent.ts#L152
Current Behavior
this._chart.getChartStore().getTimeScaleStore().zoom(scale, { x: event.x, y: event.y })
should be
Expected Behavior
this._chart.getChartStore().getTimeScaleStore().zoom(scale, zoomCoordinate)
Environment
- OS:
- Browser:
- Framework:
Any additional comments?
No response