Skip to content

Line chart zoom sync bug #15

@danieltsoukup

Description

@danieltsoukup

Describe the bug
If one line chart is zoomed in and then the other zoomed out, the second syncing does not happen despite the current callback watching for changes in plot properties.

To Reproduce
Start the dashboard.

  1. Zoom in the first chart (the two plots will sync still).
  2. Zoom out on the second chart.
  3. See error: now the two plots are out of sync.
image

Expected behavior
The syncing callback should keep the two line chart zoom setting in sync at all times regardless of the order of zooming.

Additional context
Look at app_components.py and the update_zoom() callback.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomerswontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions