mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-26 05:26:17 +00:00
Fixed lots of chart references.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
$(document).ready(function () {
|
||||
|
||||
if (typeof(googleComboChart) === 'function' && typeof(billID) !== 'undefined') {
|
||||
googleComboChart('chart/bills/' + billID, 'bill-overview');
|
||||
googleComboChart('chart/bill/' + billID, 'bill-overview');
|
||||
}
|
||||
}
|
||||
);
|
||||
@@ -1,8 +1,8 @@
|
||||
$(function () {
|
||||
|
||||
if (typeof categoryID !== 'undefined') {
|
||||
googleColumnChart('chart/category/' + categoryID + '/overview', 'componentOverview');
|
||||
googleColumnChart('chart/category/' + categoryID + '/period', 'periodOverview');
|
||||
googleColumnChart('chart/category/' + categoryID + '/all', 'all');
|
||||
googleColumnChart('chart/category/' + categoryID + '/month', 'month');
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -2,11 +2,12 @@ google.setOnLoadCallback(drawChart);
|
||||
|
||||
|
||||
function drawChart() {
|
||||
googleLineChart('chart/home/account', 'accounts-chart');
|
||||
//googleColumnChart('chart/home/budgets', 'budgets-chart');
|
||||
googleStackedColumnChart('chart/home/budgets', 'budgets-chart');
|
||||
googleColumnChart('chart/home/categories', 'categories-chart');
|
||||
googlePieChart('chart/home/bills', 'bills-chart');
|
||||
googleLineChart('chart/account/frontpage', 'accounts-chart');
|
||||
googlePieChart('chart/bill/frontpage', 'bills-chart');
|
||||
googleStackedColumnChart('chart/budget/frontpage', 'budgets-chart');
|
||||
googleColumnChart('chart/category/frontpage', 'categories-chart');
|
||||
|
||||
|
||||
getBoxAmounts();
|
||||
}
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ $(function () {
|
||||
$('.removeMoney').on('click', removeMoney);
|
||||
|
||||
if (typeof(googleLineChart) === 'function' && typeof(piggyBankID) !== 'undefined') {
|
||||
googleLineChart('chart/piggy-history/' + piggyBankID, 'piggy-bank-history');
|
||||
googleLineChart('chart/piggyBank/' + piggyBankID, 'piggy-bank-history');
|
||||
}
|
||||
|
||||
$('#sortable tbody').sortable(
|
||||
|
||||
Reference in New Issue
Block a user