setSelection method
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]);