profiler icon indicating copy to clipboard operation
profiler copied to clipboard

Use `withChartViewport` inside the network chart component

Open canova opened this issue 4 months ago • 0 comments

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

canova avatar Aug 12 '25 13:08 canova