mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-03 03:00:14 +00:00
Update chart to show sum
This commit is contained in:
@@ -125,9 +125,9 @@ function doubleYChart(URI, container) {
|
||||
];
|
||||
options.stacked = true;
|
||||
options.scales.xAxes[0].stacked = true;
|
||||
console.log(options);
|
||||
// console.log(options);
|
||||
|
||||
var chartType = 'line';
|
||||
var chartType = 'bar';
|
||||
|
||||
drawAChart(URI, container, chartType, options, colorData);
|
||||
}
|
||||
|
@@ -36,7 +36,7 @@ function drawChart() {
|
||||
"use strict";
|
||||
|
||||
// month view:
|
||||
stackedColumnChart(mainUri, 'in-out-chart');
|
||||
doubleYChart(mainUri, 'in-out-chart');
|
||||
|
||||
// draw pie chart of income, depending on "show other transactions too":
|
||||
redrawPieChart('categories-in-pie-chart', categoryIncomeUri);
|
||||
|
Reference in New Issue
Block a user