Pavel Loginov 2021-02-28 13:18:17 +06:00
parent e863daf738
commit 1c040f6a22
2 changed files with 6 additions and 7 deletions

View File

@ -42,7 +42,7 @@
</a> </a>
</td> </td>
<td class="padding10"> <td class="padding10">
<a onclick="showOverview(ip, hostnamea)" title="Refresh" style="float: right; margin-right: 25px;"> <a onclick="showOverview(ip, hostnamea)" title="Refresh" style="float: right;">
<span class="service-reload"></span> <span class="service-reload"></span>
</a> </a>
</td> </td>
@ -63,7 +63,7 @@
{% endif %} {% endif %}
</td> </td>
<td> <td>
<a onclick="showOverviewHapWI()" title="Refresh" style="float: right; margin-right: 25px;"> <a onclick="showOverviewHapWI()" title="Refresh" style="float: right; margin-right: 15px;">
<span class="service-reload"></span> <span class="service-reload"></span>
</a> </a>
</td> </td>

View File

@ -55,6 +55,7 @@ function renderChart(data, labels, server) {
] ]
}, },
options: { options: {
animation: false,
maintainAspectRatio: false, maintainAspectRatio: false,
title: { title: {
display: true, display: true,
@ -69,7 +70,6 @@ function renderChart(data, labels, server) {
} }
}], }],
xAxes: [{ xAxes: [{
offset: true,
ticks: { ticks: {
major: { major: {
enabled: true, enabled: true,
@ -78,8 +78,7 @@ function renderChart(data, labels, server) {
source: 'data', source: 'data',
autoSkip: true, autoSkip: true,
autoSkipPadding:45, autoSkipPadding:45,
maxRotation: 0, maxRotation: 0
sampleSize: 100
} }
}] }]
}, },
@ -133,6 +132,7 @@ function renderWafChart(data, labels, server) {
] ]
}, },
options: { options: {
animation: false,
maintainAspectRatio: false, maintainAspectRatio: false,
title: { title: {
display: true, display: true,
@ -155,8 +155,7 @@ function renderWafChart(data, labels, server) {
source: 'data', source: 'data',
autoSkip: true, autoSkip: true,
autoSkipPadding: 45, autoSkipPadding: 45,
maxRotation: 0, maxRotation: 0
sampleSize: 100
} }
}] }]
}, },