mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-01 00:28:18 +08:00
@@ -1537,12 +1537,12 @@ Widget buildDmChart(
|
|||||||
lineTouchData: const LineTouchData(enabled: false),
|
lineTouchData: const LineTouchData(enabled: false),
|
||||||
gridData: const FlGridData(show: false),
|
gridData: const FlGridData(show: false),
|
||||||
borderData: FlBorderData(show: false),
|
borderData: FlBorderData(show: false),
|
||||||
// minX: 0,
|
minX: 0,
|
||||||
// maxX: (plPlayerController.dmTrend.length - 1).toDouble(),
|
maxX: (plPlayerController.dmTrend.length - 1).toDouble(),
|
||||||
// minY: 0,
|
minY: 0,
|
||||||
// maxY: plPlayerController.dmTrend
|
maxY: plPlayerController.dmTrend
|
||||||
// .reduce((a, b) => a > b ? a : b)
|
.reduce((a, b) => a > b ? a : b)
|
||||||
// .toDouble(),
|
.toDouble(),
|
||||||
lineBarsData: [
|
lineBarsData: [
|
||||||
LineChartBarData(
|
LineChartBarData(
|
||||||
spots: List.generate(
|
spots: List.generate(
|
||||||
|
|||||||
Reference in New Issue
Block a user