Make the Y axis start at zero

Because tiny changes in, say, response time (210ms -> 219ms -> 208ms) on the non-zero Y scale (200ms to 220ms) might look like really big scary peaks or dips even if they are actually not.
This commit is contained in:
Alex Olshansky
2016-02-09 09:57:27 +01:00
parent 025373aa1a
commit f2365e6e67

View File

@@ -39,6 +39,7 @@
<script>
(function () {
Chart.defaults.global.pointHitDetectionRadius = 1;
Chart.defaults.global.scaleBeginAtZero = true;
var charts = JSON.parse(document.getElementById('metricData').text);