Skip to content

Commit

Permalink
controlled legend multi select fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Anush2303 committed Dec 18, 2024
1 parent b90ec2a commit 76d5ba3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export const DeclarativeChart: React.FunctionComponent<DeclarativeChartProps> =
<LineChart
{...transformPlotlyJsonToScatterChartProps({ data, layout }, false, colorMap, isDarkTheme)}
legendProps={{
...legendProps,
onChange: onActiveLegendsChange,
canSelectMultipleLegends: true,
selectedLegends: activeLegends,
}}
Expand Down

0 comments on commit 76d5ba3

Please sign in to comment.