Skip to main content

onUpdatedListener

listen which data is selected

TypeDefault
void Function(NumericData/OrdinalData/TimeData data)?null

onUpdatedListener: (data) {
print('onUpdatedListener');
print(data.toMap());
},

you can use this to check data every time user click/tap on chart