profiler
profiler copied to clipboard
Use `withChartViewport` inside the network chart component
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