mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Join two charts, simpler code.
This commit is contained in:
@@ -5,7 +5,7 @@ $(function () {
|
||||
"use strict";
|
||||
drawChart();
|
||||
|
||||
loadAjaxPartial('budgetMultiYear', budgetMultiUri);
|
||||
loadAjaxPartial('budgetPeriodReport', budgetPeriodReportUri);
|
||||
});
|
||||
|
||||
function drawChart() {
|
||||
|
@@ -1,16 +1,16 @@
|
||||
/* globals google, accountIds, budgetYearOverviewUri */
|
||||
/* globals google, accountIds, budgetPeriodReportUri */
|
||||
|
||||
$(function () {
|
||||
"use strict";
|
||||
drawChart();
|
||||
|
||||
loadAjaxPartial('budgetOverview',budgetYearOverviewUri);
|
||||
loadAjaxPartial('budgetPeriodReport', budgetPeriodReportUri);
|
||||
});
|
||||
|
||||
function drawChart() {
|
||||
"use strict";
|
||||
|
||||
lineChart('chart/report/net-worth/' + reportType + '/' + startDate + '/' + endDate + '/' + accountIds, 'net-worth');
|
||||
lineChart('chart/report/net-worth/' + startDate + '/' + endDate + '/' + accountIds, 'net-worth');
|
||||
columnChart('chart/report/in-out/' + startDate + '/' + endDate + '/' + accountIds, 'income-expenses-chart');
|
||||
columnChart('chart/report/in-out-sum/' + startDate + '/' + endDate + '/' + accountIds, 'income-expenses-sum-chart');
|
||||
|
||||
|
Reference in New Issue
Block a user