|| | |||Browse by category|
How can I select data points in my chart?
This sample illustrates an implementation of a chart select interactor -
You can add a listener to the select interactor to retrieve the Data Window information within the listener and draw a selection data window around the selected points, but in the provided sample, the Data Window information management is let to the interactor.
To do so, you should build an interaction event to be captured when the interaction is done by firing an interaction event to a newly created subclass of
ChartInteractionEvent in order to get the selected points.
Then, you can retrieve the selected points and / or corresponding bounds from the subclass of
You can download here the sample which illustrates this : select-interactor.zip