apexcharts.js
apexcharts.js copied to clipboard
Zoom is broken if x-axis range is set
Description
For a line chart, if the x-axis range is set, zoom only moves the view but doesn't zoom in.
Steps to Reproduce
- Create a new line chart and add some dummy date
- Set a fixed x-axis range
- Press the zoom in button
Expected Behavior
The zoom works as expected
Actual Behavior
The chart just shifts it's position, but doesn't zoom in
Screenshots
See codepen below for a demo