Skip to content

restyle makes it harder to hover on trace legend #893

Closed
@colinfang

Description

@colinfang

This is very weird, and it seems to only occur when legends is inside the main plot.

Without restyle, the cursor changes immediately when over on the legends.

http://codepen.io/anon/pen/LRPrgV

However with restyle, it requires a bit of luck to get cursor correctly hover on the legends.

 Plotly.restyle(graphDiv, {visible: [false, false, true, true]});
 Plotly.restyle(graphDiv, {showlegend: [false, false, true, true]});

http://codepen.io/anon/pen/JRPwaj

I am using Chrome

Metadata

Metadata

Assignees

Labels

bugsomething broken

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions