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
The billboardjs chart fails with error, when using axis.y2.show: false with y2 axis data.
Error:
Error in /turbo_modules/billboard.js@1.10.0/dist/billboard.js (8719:86)
yScaleGetter.call(...) is not a function
Expected behaviour
The chart should show a line of data that is related to the y2 axis, but y2 axis scale itself should be hidden. Note, that y axis can be hidden with axis.y.show: false and there is no error.
This worked well in the previous versions, but started to fail after an upgrade.
If this behaviour is by design, please update the docs to elaborate what axis.y.show: false does and find another way to hide the y2 axis. Also the way y axis works should be consistent with how y2 axis works.
Description
The billboardjs chart fails with error, when using
axis.y2.show: false
with y2 axis data.Error:
Expected behaviour
The chart should show a line of data that is related to the y2 axis, but y2 axis scale itself should be hidden. Note, that y axis can be hidden with
axis.y.show: false
and there is no error.This worked well in the previous versions, but started to fail after an upgrade.
If this behaviour is by design, please update the docs to elaborate what
axis.y.show: false
does and find another way to hide the y2 axis. Also the way y axis works should be consistent with how y2 axis works.Steps to check or reproduce
The code to reproduce:
See it live here:
https://stackblitz.com/edit/v6mvnu-sld8qb?file=index.js
The text was updated successfully, but these errors were encountered: