onBarTap property

dynamic Function(DataItem) onBarTap
final

Callback function triggered when a sector is tapped. Called with the DataItem corresponding to the tapped sector. Defaults to a no-op function.

Implementation

final Function(DataItem) onBarTap;