Description
Series that have the "hidden" flag set to true are still rendered in a line chart.
This bug appeared in version 5.10.4 (it works flawlessly in 5.10.3).
Steps to Reproduce
- Create a line chart with multiple series
- Set the "hidden" flag on some series to false
- Render the chart
Expected Behavior
Only render the series that are not "hidden"
Actual Behavior
You will see all series rendered in the chart. You will also see the hidden series' labels dimmed, which confirms that the "hidden" flag is present and that it does something.
Screenshots
Reproduction Link
This shows multiple series. Half of them should be hidden, but all of them are rendered in the chart.
https://codesandbox.io/p/devbox/react-basic-example-forked-czgd8h?workspaceId=ws_WJLdvWLykSPYYPCutRtykc
Description
Series that have the "hidden" flag set to true are still rendered in a line chart.
This bug appeared in version 5.10.4 (it works flawlessly in 5.10.3).
Steps to Reproduce
Expected Behavior
Only render the series that are not "hidden"
Actual Behavior
You will see all series rendered in the chart. You will also see the hidden series' labels dimmed, which confirms that the "hidden" flag is present and that it does something.
Screenshots
Reproduction Link
This shows multiple series. Half of them should be hidden, but all of them are rendered in the chart.
https://codesandbox.io/p/devbox/react-basic-example-forked-czgd8h?workspaceId=ws_WJLdvWLykSPYYPCutRtykc