mirror of https://github.com/itflow-org/itflow
Fixed Max value on dashboard to include projected income as well
This commit is contained in:
parent
7e82ccfa54
commit
eee1914d7b
|
|
@ -556,7 +556,7 @@ var myLineChart = new Chart(ctx, {
|
||||||
yAxes: [{
|
yAxes: [{
|
||||||
ticks: {
|
ticks: {
|
||||||
min: 0,
|
min: 0,
|
||||||
max: <?php $max = max($largest_expense_month, $largest_income_month); echo roundUpToNearestMultiple($max); ?>,
|
max: <?php $max = max($largest_expense_month, $largest_income_month, $largest_invoice_month); echo roundUpToNearestMultiple($max); ?>,
|
||||||
maxTicksLimit: 5
|
maxTicksLimit: 5
|
||||||
},
|
},
|
||||||
gridLines: {
|
gridLines: {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue