Skip to content

fix line chart hover

Warren Gifford requested to merge jdb/fix-line-chart-hover into main

Created by: unclejustin

re-sorts series data to put hovered line last so that the line renders on top.

Closes https://github.com/sourcegraph/sourcegraph/issues/31658

Note

This PR will not actually take effect until https://github.com/sourcegraph/sourcegraph/pull/33799 is merged since it only updates the new line chart component

Test plan

Open Smart Insights View Grid Example in storybook. When hovering over a chart with many lines, the hovered line should always render on top.

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading