Skip to content

Commit

Permalink
Changes to declarative chart to enable multiple legend selection
Browse files Browse the repository at this point in the history
  • Loading branch information
srmukher committed Dec 27, 2024
1 parent 39f2d5c commit 1da2036
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ export const DeclarativeChart: React.FunctionComponent<DeclarativeChartProps> =
return (
<VerticalBarChart
{...transformPlotlyJsonToVBCProps(plotlySchema, colorMap, isDarkTheme)}
legendProps={legendProps}
legendProps={{ ...legendProps, canSelectMultipleLegends: true, selectedLegends: activeLegends }}
componentRef={chartRef}
calloutProps={{ layerProps: { eventBubblingEnabled: true } }}
/>
Expand Down

0 comments on commit 1da2036

Please sign in to comment.