Files
firefly-iii/public/assets/javascript/firefly/gcharts.options.js

123 lines
2.5 KiB
JavaScript
Raw Normal View History

var defaultLineChartOptions = {
2014-10-29 10:30:52 +01:00
curveType: 'function',
legend: {
position: 'none'
},
interpolateNulls: true,
2014-10-29 10:30:52 +01:00
lineWidth: 1,
chartArea: {
left: 50,
top: 10,
width: '85%',
height: '80%'
},
height: 400,
2014-11-02 21:24:50 +01:00
colors: ["#4285f4", "#db4437", "#f4b400", "#0f9d58", "#ab47bc", "#00acc1", "#ff7043", "#9e9d24", "#5c6bc0", "#f06292", "#00796b", "#c2185b"],
hAxis: {
textStyle: {
color: '#838383',
2014-11-02 21:26:41 +01:00
fontName: 'Roboto2',
2014-11-02 21:24:50 +01:00
fontSize: '12'
},
gridlines: {
color: 'transparent'
}
},
vAxis: {
textStyle: {
color: '#838383',
2014-11-02 21:26:41 +01:00
fontName: 'Roboto2',
2014-11-02 21:24:50 +01:00
fontSize: '12'
2014-11-07 22:06:30 +01:00
},
format: '\u20AC #'
2014-11-02 21:24:50 +01:00
}
2014-10-29 10:30:52 +01:00
};
var defaultBarChartOptions = {
height: 400,
2014-11-02 21:24:50 +01:00
bars: 'horizontal',
2014-10-29 10:30:52 +01:00
hAxis: {format: '\u20AC #'},
chartArea: {
left: 75,
top: 10,
width: '100%',
height: '90%'
},
legend: {
position: 'none'
2014-11-02 21:24:50 +01:00
},
2014-10-29 10:30:52 +01:00
};
var defaultColumnChartOptions = {
height: 400,
chartArea: {
left: 50,
top: 10,
width: '85%',
height: '80%'
},
vAxis: {format: '\u20AC #'},
legend: {
position: 'none'
2014-11-02 21:24:50 +01:00
},
2014-10-29 10:30:52 +01:00
};
2014-11-07 22:06:30 +01:00
var defaultStackedColumnChartOptions = {
height: 400,
chartArea: {
left: 50,
top: 10,
width: '85%',
height: '80%'
},
vAxis: {format: '\u20AC #'},
legend: {
position: 'none'
},
isStacked: true,
colors: ["#4285f4", "#db4437", "#f4b400", "#0f9d58", "#ab47bc", "#00acc1", "#ff7043", "#9e9d24", "#5c6bc0", "#f06292", "#00796b", "#c2185b"],
vAxis: {
textStyle: {
color: '#838383',
fontName: 'Roboto2',
fontSize: '12'
},
format: '\u20AC #'
},
hAxis: {
textStyle: {
color: '#838383',
fontName: 'Roboto2',
fontSize: '12'
},
gridlines: {
color: 'transparent'
}
},
};
2014-10-29 10:30:52 +01:00
var defaultPieChartOptions = {
chartArea: {
left: 0,
top: 0,
width: '100%',
height: '100%'
},
2014-10-30 18:06:29 +01:00
height: 200,
2014-10-29 10:30:52 +01:00
legend: {
position: 'none'
2014-11-02 21:24:50 +01:00
},
colors: ["#4285f4", "#db4437", "#f4b400", "#0f9d58", "#ab47bc", "#00acc1", "#ff7043", "#9e9d24", "#5c6bc0", "#f06292", "#00796b", "#c2185b"]
2014-10-30 18:06:29 +01:00
};
var defaultSankeyChartOptions = {
height: 400
}
var defaultTableOptions = {
2014-11-08 19:11:51 +01:00
allowHtml: true,
page: 'enable',
pageSize: 50
};