BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
@override
void initState() {
for (int i = 1; i < 29; i++) {
chartData.add(_ChartData(
DateTime(2019, 12, i), (min + random.nextInt(max - min)).toDouble()));
// Found the first day of the week
if (xMinimum == null &&
DateFormat('EEEE').format(DateTime(2019, 12, i)) == 'Monday')
xMinimum = DateTime(2019, 12, i);
}
}
SfCartesianChart(
primaryXAxis: DateTimeAxis(
// Set the range here
minimum: xMinimum,
interval: 7,
intervalType: DateTimeIntervalType.days),
// Other configurations
),
|