mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 15:17:31 +00:00
fixed bug in total energy consumption chart.
This commit is contained in:
@ -35,9 +35,6 @@ class TotalEnergyConsumptionChart extends StatelessWidget {
|
|||||||
List<LineChartBarData> get _lineBarsData {
|
List<LineChartBarData> get _lineBarsData {
|
||||||
return [
|
return [
|
||||||
LineChartBarData(
|
LineChartBarData(
|
||||||
preventCurveOvershootingThreshold: 0.1,
|
|
||||||
curveSmoothness: 0.55,
|
|
||||||
preventCurveOverShooting: true,
|
|
||||||
spots: chartData
|
spots: chartData
|
||||||
.asMap()
|
.asMap()
|
||||||
.entries
|
.entries
|
||||||
|
Reference in New Issue
Block a user