Skip to content

Wrong fullData passed plotly_click listeners after zoom #1713

Closed
@n-riesco

Description

@n-riesco

The object plotlyEvent passed to a listener to plotly_click events contains amongst other the properties:

  • plotlyEvent.points[0].data = trace before transforms
  • plotlyEvent.points[0].fullData = trace after transforms

This codepen shows a chart with a sort transform that reorders the circles from A, B, C to B, C, A. It also defines a plotly_click listener that outputs the order in data and fullData.

The screencast below shows how before zooming the order in fullData is B, C, A but after zooming the order changes to A, B, C.

peek 2017-05-22 21-36

Metadata

Metadata

Assignees

Labels

bugsomething broken

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions