Skip to content

Bug - Hoverformat for second axis fails if axis is not visible #2317

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
emanuelnastasa opened this issue Feb 1, 2018 · 1 comment · Fixed by #2329
Closed

Bug - Hoverformat for second axis fails if axis is not visible #2317

emanuelnastasa opened this issue Feb 1, 2018 · 1 comment · Fixed by #2329
Labels
bug something broken regression this used to work

Comments

@emanuelnastasa
Copy link

emanuelnastasa commented Feb 1, 2018

Observed behavior:
Having a chart with 2 Y axes, if you mark the second Y axis as "visible:false" the hoverformat property for that axis is ignored and the values are shown in exponential form.

Expected behavior:
The hoverformat is respected regardless of the visible parameter.

Steps to reproduce:
1.Access the JSFiddle:https://jsfiddle.net/a75dhu5z/
2. Change layout.yaxis2.visible between false and true and observe the value displayed in the hover tool-tip of the top point in the orange trace.

Build found
It's reproducing in all builds from 1.31 to the latest release 1.33.1

@etpinard
Copy link
Contributor

etpinard commented Feb 1, 2018

Thanks for the report.

@etpinard etpinard added bug something broken regression this used to work labels Feb 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken regression this used to work
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants