You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
selector allows displaying additional values in a hover tooltip. As far as I understand, the additional values are extracted from the variables present in the underlying data object, separately from the declared/inferred vdims. I'm opening this issue to discuss whether the variables included in the tooltip should honor vdims.
Now we'll look at how vdims interact with aggregator and selector. We'll start by not declaring explicitly the dimensions. The output looks similar to what we got with the non-rasterized plot, all the remaining variables are included in the tooltip.
This discussion was converted from issue #6594 on May 28, 2025 09:49.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
selector
allows displaying additional values in a hover tooltip. As far as I understand, the additional values are extracted from the variables present in the underlying data object, separately from the declared/inferred vdims. I'm opening this issue to discuss whether the variables included in the tooltip should honorvdims
.By default and for a non-rasterized element:
Setting explicitly the list of vdims affects the variables displayed in the tooltip:
Now we'll look at how
vdims
interact withaggregator
andselector
. We'll start by not declaring explicitly the dimensions. The output looks similar to what we got with the non-rasterized plot, all the remaining variables are included in the tooltip.Let's declare a Points element with only
's'
as a vdim.An error is raised when attempting the use an
aggregator
on'val'
, a variable not included in the dimensionsNo error is raised when setting
selector
to a variable that is not part of any of the element dimensions.Beta Was this translation helpful? Give feedback.
All reactions