elementIndex property

int? elementIndex
final

The index of the element within its dataset or data list.

For point-based charts, this is the point index. For pie charts, this is the segment index. Non-null when isHit is true.

Implementation

final int? elementIndex;