highlightValue method

void highlightValue(
  1. double x,
  2. int dataSetIndex,
  3. int stackIndex
)

Highlights the value at the given x-value in the given DataSet. Provide -1 as the dataSetIndex to undo all highlighting.

@param x @param dataSetIndex @param stackIndex the index inside the stack - only relevant for stacked entries

Implementation

void highlightValue(double x, int dataSetIndex, int stackIndex) {
  highlightValue6(
      Highlight(x: x, dataSetIndex: dataSetIndex, stackIndex: stackIndex),
      false);
}