addDefaultInteractions method

void addDefaultInteractions(
  1. List<ChartBehavior> behaviors
)

Create the list of default interaction behaviors.

Implementation

void addDefaultInteractions(List<ChartBehavior> behaviors) {
  // Update selection model
  behaviors.add(new SelectNearest<D>(
      eventTrigger: common.SelectionTrigger.tap,
      selectionModelType: common.SelectionModelType.info,
      selectClosestSeries: true));
}