highlightValue1 method

void highlightValue1(
  1. double x,
  2. int dataSetIndex
)

Highlights any y-value at the given x-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 dataSetIndex The dataset index to search in

Implementation

void highlightValue1(double x, int dataSetIndex) {
  highlightValue3(x, dataSetIndex, true);
}