日报周报月报
This commit is contained in:
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 6.9 KiB |
@@ -625,7 +625,7 @@ Map<String, dynamic> buildMonthlyChartData(Map<String, dynamic> dyspData) {
|
|||||||
DateTime baseDate = DateTime.fromMillisecondsSinceEpoch(data.first['st']);
|
DateTime baseDate = DateTime.fromMillisecondsSinceEpoch(data.first['st']);
|
||||||
double daysInMonth = DateTime(baseDate.year, baseDate.month + 1, 0)
|
double daysInMonth = DateTime(baseDate.year, baseDate.month + 1, 0)
|
||||||
.day
|
.day
|
||||||
.toDouble(); // 👈 改为 double
|
.toDouble()-1; // 👈 改为 double
|
||||||
|
|
||||||
List<Offset> points = [];
|
List<Offset> points = [];
|
||||||
List<String> colors = [];
|
List<String> colors = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user