merge with origin

This commit is contained in:
Yan
2017-10-12 10:23:51 +06:30
16 changed files with 342 additions and 270 deletions

View File

@@ -17,7 +17,7 @@
var realtime = 'on';
function initRealTimeChart() {
//Real time ==========================================================================================
var plot = $.plot('#real_time_chart', [getRandomData()], {
/*var plot = $.plot('#real_time_chart', [getRandomData()], {
series: {
shadowSize: 0,
color: 'rgb(0, 188, 212)'
@@ -57,7 +57,7 @@ function initRealTimeChart() {
$('#realtime').on('change', function () {
realtime = this.checked ? 'on' : 'off';
updateRealTime();
});
});*/
//====================================================================================================
}
@@ -69,7 +69,7 @@ function initSparkline() {
}
function initDonutChart() {
Morris.Donut({
/*Morris.Donut({
element: 'donut_chart',
data: [{
label: 'Chrome',
@@ -92,7 +92,7 @@ function initDonutChart() {
formatter: function (y) {
return y + '%'
}
});
});*/
}
var data = [], totalPoints = 110;