Skip to content

Use withChartViewport inside the network chart component #5552

@canova

Description

@canova

Currently we don't use withChartViewport and handle the viewport related logic in in there. But Markus pointed out here that because of this network chart doesn't support pinch-zoom and panning. We should make this component use withChartViewport so it can support these, and we can simplify the mouseMove event handler by removing getBoundingClientRect and a bunch of margin related constants.

┆Issue is synchronized with this Jira Task

Metadata

Metadata

Assignees

No one assigned

    Labels

    network panelRelated to the networking panelpolishSmall features or changes that do not require planning to work on. These help out our end users.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions