mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Moved settings so they can be changed each round.
This commit is contained in:
parent
8d209f673c
commit
4eda75caea
@ -7,19 +7,6 @@ function chartCallback() {
|
|||||||
|
|
||||||
function drawAccountChart() {
|
function drawAccountChart() {
|
||||||
|
|
||||||
var opt = {
|
|
||||||
curveType: 'function',
|
|
||||||
legend: {
|
|
||||||
position: 'none'
|
|
||||||
},
|
|
||||||
chartArea: {
|
|
||||||
left: 50,
|
|
||||||
top: 10,
|
|
||||||
width: '90%',
|
|
||||||
height: 180
|
|
||||||
},
|
|
||||||
height: 230
|
|
||||||
};
|
|
||||||
|
|
||||||
$.each($('.homeChart'), function (i, v) {
|
$.each($('.homeChart'), function (i, v) {
|
||||||
var obj = $(v);
|
var obj = $(v);
|
||||||
@ -29,8 +16,25 @@ function drawAccountChart() {
|
|||||||
var URL = 'chart/home/' + accountID;
|
var URL = 'chart/home/' + accountID;
|
||||||
console.log('URL: ' + URL);
|
console.log('URL: ' + URL);
|
||||||
|
|
||||||
|
|
||||||
|
var opt = {
|
||||||
|
curveType: 'function',
|
||||||
|
legend: {
|
||||||
|
position: 'none'
|
||||||
|
},
|
||||||
|
chartArea: {
|
||||||
|
left: 50,
|
||||||
|
top: 10,
|
||||||
|
width: '90%',
|
||||||
|
height: 180
|
||||||
|
},
|
||||||
|
height: 230,
|
||||||
|
lineWidth: 1
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
// draw it!
|
// draw it!
|
||||||
drawChart('#' + holderID,URL, opt);
|
drawChart('#' + holderID, URL, opt);
|
||||||
});
|
});
|
||||||
|
|
||||||
//var URL = 'chart/home';
|
//var URL = 'chart/home';
|
||||||
|
Loading…
Reference in New Issue
Block a user