Style charts to fit in.
This commit is contained in:
@@ -961,8 +961,29 @@ BabyStats.prototype.updateDisplayPage_ = function() {
|
|||||||
legend: {
|
legend: {
|
||||||
position: 'none',
|
position: 'none',
|
||||||
},
|
},
|
||||||
|
hAxis: {
|
||||||
|
gridlines: {
|
||||||
|
color: '#E97F02',
|
||||||
|
},
|
||||||
|
textStyle: {
|
||||||
|
color: '#8A9B0F',
|
||||||
|
},
|
||||||
|
},
|
||||||
vAxis: {
|
vAxis: {
|
||||||
|
gridlines: {
|
||||||
|
color: '#E97F02',
|
||||||
|
},
|
||||||
|
textStyle: {
|
||||||
|
color: '#490A3D',
|
||||||
|
},
|
||||||
title: 'Kilograms',
|
title: 'Kilograms',
|
||||||
|
titleTextStyle: {
|
||||||
|
color: '#490A3D',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
titleTextStyle: {
|
||||||
|
color: '#8A9B0F',
|
||||||
|
fontSize: 20,
|
||||||
},
|
},
|
||||||
explorer: {
|
explorer: {
|
||||||
actions: [
|
actions: [
|
||||||
@@ -970,6 +991,9 @@ BabyStats.prototype.updateDisplayPage_ = function() {
|
|||||||
'rightClickToReset',
|
'rightClickToReset',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
colors: [
|
||||||
|
'#BD1550',
|
||||||
|
],
|
||||||
});
|
});
|
||||||
|
|
||||||
this.tempChart_.draw(this.tempTable_, {
|
this.tempChart_.draw(this.tempTable_, {
|
||||||
@@ -979,12 +1003,31 @@ BabyStats.prototype.updateDisplayPage_ = function() {
|
|||||||
position: 'none',
|
position: 'none',
|
||||||
},
|
},
|
||||||
hAxis: {
|
hAxis: {
|
||||||
|
gridlines: {
|
||||||
|
color: '#E97F02',
|
||||||
|
},
|
||||||
|
textStyle: {
|
||||||
|
color: '#8A9B0F',
|
||||||
|
},
|
||||||
viewWindow: {
|
viewWindow: {
|
||||||
min: new Date((now - (60 * 60 * 24 * 7)) * 1000),
|
min: new Date((now - (60 * 60 * 24 * 7)) * 1000),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
vAxis: {
|
vAxis: {
|
||||||
|
gridlines: {
|
||||||
|
color: '#E97F02',
|
||||||
|
},
|
||||||
|
textStyle: {
|
||||||
|
color: '#490A3D',
|
||||||
|
},
|
||||||
title: '° Celsius',
|
title: '° Celsius',
|
||||||
|
titleTextStyle: {
|
||||||
|
color: '#490A3D',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
titleTextStyle: {
|
||||||
|
fontSize: 20,
|
||||||
|
color: '#8A9B0F',
|
||||||
},
|
},
|
||||||
explorer: {
|
explorer: {
|
||||||
actions: [
|
actions: [
|
||||||
@@ -992,6 +1035,9 @@ BabyStats.prototype.updateDisplayPage_ = function() {
|
|||||||
'rightClickToReset',
|
'rightClickToReset',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
colors: [
|
||||||
|
'#BD1550',
|
||||||
|
],
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user