Here are the details:
currentChartSeries = FastLineSeries<PressureReading, DateTime>(
dataSource: _listPressureReading, //myChartDataList[counter],
xValueMapper: (PressureReading currentChatData, _) => currentChatData.time,
yValueMapper: (PressureReading currentChatData, _) => currentChatData.value,
);
I want to get the min and max DateTime in my Chart series:
ChartSeries minChartSeries = myChartSeries.reduce((currentChartSeries, nextChartSeries) =>
currentChartSeries.xValueMapper!(0).isBefore(nextChartSeries.xValueMapper!(0))
? currentChartSeries
: nextChartSeries);
How do I get the data DateTime from ChartSeries?