Selection
Overview
A Selection represents a group of items that define what should be selected or deselected in the interacted visual.
- From version: 2025.02
Properties
Properties
datapoints
datapoints: Datapoint[]
Array of data points associated with the selected values.
const datapoints = selection.datapoints;
elements
elements: Element[]
Array of elements representing the visual entities linked to those data points.
const elementsConnectedToDp = selection.elements;
Notes
The selection objects are used with the Inject function, when making composite member or datapoint (tuple) selections for cross-query injections.