Dashboard overview
This commit is contained in:
parent
bb6d14e4cb
commit
3680fc57c4
|
|
@ -20,8 +20,9 @@ class ChartDataGroup {
|
|||
Map<String, List<String>> entityMap = {};
|
||||
List<Series<dynamic, DateTime>> chartSeries;
|
||||
double preriodTotal = 0.0;
|
||||
double average = 0.0;
|
||||
double previousTotal = 0.0;
|
||||
double total = 0.0;
|
||||
double average = 0.0;
|
||||
}
|
||||
|
||||
class ChartMoneyData {
|
||||
|
|
|
|||
|
|
@ -659,6 +659,16 @@ class DashboardPanels extends StatelessWidget {
|
|||
Text(formatNumber(0, context),
|
||||
style: textTheme.headline5,
|
||||
textAlign: TextAlign.center),
|
||||
if (settings.showTotal) ...[
|
||||
SizedBox(height: 20),
|
||||
Text(localization.total,
|
||||
style: textTheme.subtitle1,
|
||||
textAlign: TextAlign.center),
|
||||
SizedBox(height: 4),
|
||||
Text(formatNumber(0, context),
|
||||
style: textTheme.headline5,
|
||||
textAlign: TextAlign.center),
|
||||
]
|
||||
],
|
||||
);
|
||||
}).toList(),
|
||||
|
|
|
|||
Loading…
Reference in New Issue