fog.dashboard.js (fogproject-1.5.7) | : | fog.dashboard.js (fogproject-1.5.8) | ||
---|---|---|---|---|
skipping to change at line 433 | skipping to change at line 433 | |||
dataType: 'json', | dataType: 'json', | |||
success: function(data) { | success: function(data) { | |||
console.log('here'); | console.log('here'); | |||
setStuff(data); | setStuff(data); | |||
} | } | |||
}); | }); | |||
// Bandwidth chart | // Bandwidth chart | |||
function updateBandwidth() { | function updateBandwidth() { | |||
var GraphBandwidthOpts = { | var GraphBandwidthOpts = { | |||
colors: ['#3c8dbc', '#0073b7'], | ||||
grid: { | grid: { | |||
borderColor: '#f3f3f3', | borderColor: '#f3f3f3', | |||
borderWidth: 1, | borderWidth: 1, | |||
tickColor: '#f3f3f3' | tickColor: '#f3f3f3' | |||
}, | }, | |||
series: { | series: { | |||
shadowSize: 0, | shadowSize: 0, | |||
colors: ['#3c8dbc', '#0073b7'], | ||||
lines: { | lines: { | |||
show: true | show: true | |||
} | } | |||
}, | }, | |||
lines: { | lines: { | |||
fill: false, | fill: false | |||
colors: ['#3c8dbc', '#0073b7'] | ||||
}, | }, | |||
xaxis: { | xaxis: { | |||
mode: 'time', | mode: 'time', | |||
show: true | show: true | |||
}, | }, | |||
yaxis: { | yaxis: { | |||
min: 0, | min: 0, | |||
tickFormatter: function(v) { | tickFormatter: function(v) { | |||
var f = parseFloat(v); | var f = parseFloat(v); | |||
f = f.toFixed(2); | f = f.toFixed(2); | |||
End of changes. 3 change blocks. | ||||
4 lines changed or deleted | 1 lines changed or added |