Fixed Max value on dashboard to include projected income as well

This commit is contained in:
johnny@pittpc.com 2021-01-16 17:27:55 -05:00
parent 7e82ccfa54
commit eee1914d7b
1 changed files with 1 additions and 1 deletions

View File

@ -556,7 +556,7 @@ var myLineChart = new Chart(ctx, {
yAxes: [{
ticks: {
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
},
gridLines: {