-
When I have many sets of data, can I hide certain data by clicking the Legend? Sometimes I only want to focus on certain data. Just like the following example Export-1699429944243.mp4Is such a feature supported now? If so, how should I write the code? Thank you all |
Beta Was this translation helpful? Give feedback.
Answered by
ckifer
Nov 9, 2023
Replies: 1 comment 1 reply
-
This should help you out |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ckifer
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This should help you out
https://master--63da8268a0da9970db6992aa.chromatic.com/?path=/story/examples-linechart--hide-on-legend-click
https://github.com/recharts/recharts/blob/master/storybook/stories/Examples/LineChart.stories.tsx#L967