onValueSelected abstract method

void onValueSelected(
  1. Entry? e,
  2. Highlight? h
)

Called when a value has been selected inside the chart.

@param e The selected Entry @param h The corresponding highlight object that contains information about the highlighted position such as dataSetIndex, ...

Implementation

void onValueSelected(Entry? e, Highlight? h);