highlightValue2 method

void highlightValue2(
  1. double x,
  2. double y,
  3. int dataSetIndex
)

Highlights the value at the given x-value and y-value in the given DataSet. Provide -1 as the dataSetIndex to undo all highlighting. This method will call the listener. @param x The x-value to highlight @param y The y-value to highlight. Supply NaN for "any" @param dataSetIndex The dataset index to search in

Implementation

void highlightValue2(double x, double y, int dataSetIndex) {
  highlightValue4(x, y, dataSetIndex, true);
}