getAllDatumDetails method
Retrieves the datum details for all data on the chart.
Implementation
List<DatumDetails<D>> getAllDatumDetails({
bool includeOverlaySeries = false,
}) {
final details = <DatumDetails<D>>[];
if (_currentSeriesList == null) {
return details;
}
for (final series in _currentSeriesList!) {
final rendererId = series.getAttr(rendererIdKey);
if (!includeOverlaySeries && series.overlaySeries) {
continue;
}
for (final dynamic datum in series.data) {
details.add(
getSeriesRenderer(rendererId)
.getDetailsForSeriesDatum(SeriesDatum<D>(series, datum)),
);
}
}
return details;
}