getLastData method
Implementation
List<ChartItemLayoutState>? getLastData(bool need) {
if (!need) {
return null;
}
ChartBodyRender? e = controller.lastCoordinate?.charts[index];
if (e == null) {
return null;
}
return e.chartState.children;
}