Open marshallpete opened 1 month ago
We already do this for hover interactions. The prop is called highlightBy
and it is on the ChartTooltip
component. This feature request is basically doing the same thing but for ChartPopover
and the prop should still be called highlightBy
.
It's best to go through the code for highlightBy
on ChartTooltip
and figure out what it is doing. Then most of this logic can be reused or copied and modified for ChartPopover
.
It's also helpful to understand how signals work in vega. Before starting on this issue, I can meet with you to explain a lot of this and get you pointed in the right direction.
Provide a general summary of the feature here
Be able to specify which data points get selected for chart popovers.
๐ค Expected Behavior?
Currently you can only select a single point.
It would be nice to be able to select points by the following:
item
(default)dimension
series
string[]
(group)๐ Possible Solution
Need to add select highlighting logic to support the different methods.
This needs to be done for each of the different chart types since most of them handle select highlighting on their own.
๐ฆ Context
There are requests to be able to select grouped bars by dimension.
๐ป Examples
No response
๐งข Your Company/Team
Adobe/AEP