mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-03 03:00:14 +00:00
22 lines
633 B
JavaScript
22 lines
633 B
JavaScript
/* globals google, accountIds, budgetYearOverviewUri */
|
|
|
|
var chartDrawn;
|
|
var budgetChart;
|
|
$(function () {
|
|
"use strict";
|
|
chartDrawn = false;
|
|
drawChart();
|
|
|
|
loadAjaxPartial('budgetOverview',budgetYearOverviewUri);
|
|
});
|
|
|
|
function drawChart() {
|
|
"use strict";
|
|
|
|
lineChart('chart/report/net-worth/' + reportType + '/' + 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');
|
|
|
|
|
|
}
|