Skip to content

Implement hoveron: 'fills' for scattergl and scatterpolargl #2887

Open
@jonmmease

Description

@jonmmease

During a discussion in the plotly.py forums in came up that the hoverlabel for the scatterpolar trace has a different behavior when the fill state is set to toself than when it's set to none.

CodePen: https://codepen.io/anon/pen/EpOGdX

fill: 'none' for scatterpolar
screen shot 2018-08-09 at 5 52 32 am

fill: 'toself' for scatterpolar
screen shot 2018-08-09 at 5 52 59 am

It also seems that the hoverinfo propery has no effect when fill is toself.

I did the same comparison with the scatterpolargl trace and it has the behavior that I expected:

fill: 'toself; for scatterpolargl
screen shot 2018-08-09 at 5 56 18 am

I don't know if this is a bug in scatterpolar or scatterpolargl, but I find the current scatterpolargl behavior (The behavior consistent with fill of none) to be more helpful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3backlogfeaturesomething new

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions