Changed the look slightly to look closer to the "old" style (v 1.0.1)

This commit is contained in:
DL6ER
2016-11-05 20:25:25 +01:00
parent b8175effe9
commit cd02546416
2 changed files with 14 additions and 11 deletions
+3 -3
View File
@@ -65,7 +65,7 @@
</div>
<div class="box-body">
<div class="chart">
<canvas id="queryOverTimeChart" style="height: 247px; width: 466px;" width="932" height="200"></canvas>
<canvas id="queryOverTimeChart" width="800" height="100"></canvas>
</div>
</div>
<div class="overlay">
@@ -84,7 +84,7 @@
</div>
<div class="box-body">
<div class="chart">
<canvas id="queryTypeChart" style="height: 247px; width: 466px;" width="932" height="400"></canvas>
<canvas id="queryTypeChart" width="400" height="160"></canvas>
</div>
</div>
<div class="overlay">
@@ -100,7 +100,7 @@
</div>
<div class="box-body">
<div class="chart">
<canvas id="forwardDestinationChart" style="height: 247px; width: 466px;" width="932" height="400"></canvas>
<canvas id="forwardDestinationChart" width="400" height="160"></canvas>
</div>
</div>
<div class="overlay">
+11 -8
View File
@@ -61,6 +61,9 @@ $(document).ready(function() {
tooltips: {
enabled: true,
mode: 'x-axis'
},
legend: {
display: false
}
}
});
@@ -70,14 +73,13 @@ $(document).ready(function() {
type: 'doughnut',
data: {
labels: [],
datasets: [{
data: []
}]
datasets: [{ data: [] }]
},
options: {
legend: {
display: false
}
},
cutoutPercentage: 30
}
});
@@ -86,14 +88,13 @@ $(document).ready(function() {
type: 'doughnut',
data: {
labels: [],
datasets: [{
data: []
}]
datasets: [{ data: [] }]
},
options: {
legend: {
display: false
}
},
cutoutPercentage: 30
}
});
});
@@ -145,6 +146,7 @@ function updateQueriesOverTime() {
}
$('#queries-over-time .overlay').remove();
timeLineChart.update();
timeLineChart.resize();
});
}
@@ -166,6 +168,7 @@ function updateQueryTypes() {
queryTypeChart.data.datasets.push(dd);
$('#query-types .overlay').remove();
queryTypeChart.update();
queryTypeChart.resize();
});
}