addDefaultInteractions method
Create the list of default interaction behaviors.
Subclasses can override this method to customize the default interactions that are added to the chart.
behaviors
The list of ChartBehavior to add the default interactions
to.
Implementation
void addDefaultInteractions(List<ChartBehavior> behaviors) {
// Update selection model
behaviors.add(
SelectNearest<D>(),
);
}