From 1c040f6a22b2b9c9c9741011ba398486db98a3df Mon Sep 17 00:00:00 2001 From: Pavel Loginov Date: Sun, 28 Feb 2021 13:18:17 +0600 Subject: [PATCH] v5.0.0.0 Changelog: https://haproxy-wi.org/changelog.py#5_0_0 --- app/templates/ovw.html | 4 ++-- inc/metrics.js | 9 ++++----- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/app/templates/ovw.html b/app/templates/ovw.html index 2dd504c8..998c7599 100644 --- a/app/templates/ovw.html +++ b/app/templates/ovw.html @@ -42,7 +42,7 @@ - + @@ -63,7 +63,7 @@ {% endif %} - + diff --git a/inc/metrics.js b/inc/metrics.js index d67c12d7..70c75bef 100644 --- a/inc/metrics.js +++ b/inc/metrics.js @@ -55,6 +55,7 @@ function renderChart(data, labels, server) { ] }, options: { + animation: false, maintainAspectRatio: false, title: { display: true, @@ -69,7 +70,6 @@ function renderChart(data, labels, server) { } }], xAxes: [{ - offset: true, ticks: { major: { enabled: true, @@ -78,8 +78,7 @@ function renderChart(data, labels, server) { source: 'data', autoSkip: true, autoSkipPadding:45, - maxRotation: 0, - sampleSize: 100 + maxRotation: 0 } }] }, @@ -133,6 +132,7 @@ function renderWafChart(data, labels, server) { ] }, options: { + animation: false, maintainAspectRatio: false, title: { display: true, @@ -155,8 +155,7 @@ function renderWafChart(data, labels, server) { source: 'data', autoSkip: true, autoSkipPadding: 45, - maxRotation: 0, - sampleSize: 100 + maxRotation: 0 } }] },