HighlightCallbackFunc typedef

HighlightCallbackFunc = void Function(Event e, dynamic x, List points, int row, [String seriesName])

Implementation

typedef HighlightCallbackFunc = void Function(
  // the JavaScript mousemove event
  Event e,
  // the x-coordinate of the highlighted points
  dynamic x,
  // an array of highlighted points: [ {name: 'series', yval: y-value}, … ]
  List points,
  // integer index of the highlighted row in the data table, starting from 0
  int row, [
  // name of the highlighted series, only present if highlightSeriesOpts is set
  String seriesName,
]);