highlightValue3 method

void highlightValue3(
  1. double x,
  2. int dataSetIndex,
  3. bool callListener
)

Highlights any y-value at the given x-value in the given DataSet. Provide -1 as the dataSetIndex to undo all highlighting. @param x The x-value to highlight @param dataSetIndex The dataset index to search in @param callListener Should the listener be called for this change

Implementation

void highlightValue3(double x, int dataSetIndex, bool callListener) {
  highlightValue4(x, double.nan, dataSetIndex, callListener);
}