setSelection method

void setSelection(
  1. dynamic row, [
  2. String? seriesName,
  3. bool? locked
])

Manually set the selected points and display information about them in the legend. The selection can be cleared using clearSelection() and queried using getSelection().

To set a selected series but not a selected point, call setSelection with row=false and the selected series name.

Implementation

external void setSelection(dynamic row, [String? seriesName, bool? locked]);