You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Zooming seems to be broken with logarithmic scaling.
Steps to Reproduce
More than one series
Use yAxis for both series, happens automatically or via new seriesName Array
Set yAxis to logarithmic = true
Try to zoom by selecting area with mouse
Expected Behavior
Zooming to selected area as normal
Actual Behavior
Selected area is show, than freeze with exception in console:
apexcharts:6 Uncaught TypeError: Cannot read properties of undefined (reading 'niceMax')
at apexcharts:6:246152
at Array.forEach ()
at i.value (apexcharts:6:246061)
at i.value (apexcharts:6:240941)
Firefox: Selection can not be finished
Chrome: Freeze
ms20de
changed the title
zoom does not in combination with logarithmic yaxis with more than one series
zoom does not work in combination with logarithmic yaxis with more than one series
Mar 21, 2024
This is fixed in yesterdays pull request #4341, in response to issue #4340.
Apologies for not catching it in the initial versions of the seriesName-as-an-array feature. Zooming works in 3.48.0 with the traditional seriesName-as-a-string-only style.
PS. Zooming using the "+" and "-" toolbar buttons works in either style. It's just the drag selection zoom that is broken I believe.
Description
Zooming seems to be broken with logarithmic scaling.
Steps to Reproduce
Expected Behavior
Zooming to selected area as normal
Actual Behavior
Selected area is show, than freeze with exception in console:
apexcharts:6 Uncaught TypeError: Cannot read properties of undefined (reading 'niceMax')
at apexcharts:6:246152
at Array.forEach ()
at i.value (apexcharts:6:246061)
at i.value (apexcharts:6:240941)
Firefox: Selection can not be finished
Chrome: Freeze
Works if logarithmic is not set.
Screenshots
Freeze after selection is finished.
Reproduction Link
https://codepen.io/ms20de/pen/LYvWgyV
The text was updated successfully, but these errors were encountered: