Skip to content

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

Closed
@emanuelnastasa

Description

@emanuelnastasa

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething brokenregressionthis used to work

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions