1.0.0 release #31
1 changed files with 10 additions and 8 deletions
|
@ -186,14 +186,16 @@ class ExpensesLineChart extends StatelessWidget {
|
|||
topTitles: const AxisTitles(),
|
||||
leftTitles: AxisTitles(
|
||||
sideTitles: SideTitles(
|
||||
reservedSize: (NumberFormat.compact()
|
||||
reservedSize: ((expenseDataSorted.isNotEmpty &&
|
||||
NumberFormat.compact(locale: locale)
|
||||
.format(expenseDataSorted.last)
|
||||
.length >=
|
||||
5 ||
|
||||
NumberFormat.compact()
|
||||
5) ||
|
||||
(incomeDataSorted.isNotEmpty &&
|
||||
NumberFormat.compact(locale: locale)
|
||||
.format(incomeDataSorted.last)
|
||||
.length >=
|
||||
5)
|
||||
5))
|
||||
? 50
|
||||
: 25,
|
||||
showTitles: true,
|
||||
|
|
Loading…
Reference in a new issue