[Statistics] Adjusted parameters for the doughnuts when log contains many bands and satellites

pull/1605/head
Andreas 2022-09-18 17:59:57 +02:00
rodzic 58b4968cfc
commit 18bd01286e
2 zmienionych plików z 10 dodań i 10 usunięć

Wyświetl plik

@ -38,7 +38,7 @@
<div class="tab-pane fade" id="satellite" role="tabpanel" aria-labelledby="satellite-tab">
<br/>
<div style="display: flex;" id="satContainer"><div style="flex: 1;"><canvas id="satChart" width="500" height="500"></canvas></div><div style="flex: 1;" id="satTable">
<div style="display: flex;" id="satContainer"><div style="flex: 1;"><canvas id="satChart" width="600" height="600"></canvas></div><div style="flex: 1;" id="satTable">
<table style="width:100%" class="sattable table table-sm table-bordered table-hover table-striped table-condensed text-center"><thead>
<tr>

Wyświetl plik

@ -258,7 +258,7 @@ function totalBandQsos() {
success: function (data) {
if (data.length > 0) {
$(".band").append('<br /><div style="display: flex;" id="bandContainer"><h2>Bands</h2><div style="flex: 1;"><canvas id="bandChart" width="500" height="500"></canvas></div><div style="flex: 1;" id="bandTable"></div></div><br />');
$(".band").append('<br /><div style="display: flex;" id="bandContainer"><h2>Bands</h2><div style="flex: 1;"><canvas id="bandChart" width="600" height="600"></canvas></div><div style="flex: 1;" id="bandTable"></div></div><br />');
// appending table to hold the data
$("#bandTable").append('<table style="width:100%" class="bandtable table table-sm table-bordered table-hover table-striped table-condensed text-center"><thead>' +
@ -314,7 +314,7 @@ function totalBandQsos() {
},
options: {
layout: {
padding: 100
padding: 150
},
title: {
fontColor: color,
@ -341,11 +341,11 @@ function totalBandQsos() {
borderRadius: 2, // Border radius of Label
borderWidth: 2, // Thickness of border
color: 'white',
stretch: 45,
stretch: 10,
padding: 0,
font: {
resizable: true,
minSize: 15,
minSize: 12,
maxSize: 25,
family: Chart.defaults.font.family,
size: Chart.defaults.font.size,
@ -363,7 +363,7 @@ function totalBandQsos() {
$('.bandtable').DataTable({
responsive: false,
ordering: false,
"scrollY": "170px",
"scrollY": "330px",
"scrollCollapse": true,
"paging": false,
"scrollX": true,
@ -440,7 +440,7 @@ function totalSatQsos() {
options: {
layout: {
padding: 100
padding: 150
},
title: {
fontColor: color,
@ -467,11 +467,11 @@ function totalSatQsos() {
borderRadius: 2, // Border radius of Label
borderWidth: 2, // Thickness of border
color: 'white',
stretch: 45,
stretch: 10,
padding: 0,
font: {
resizable: true,
minSize: 15,
minSize: 12,
maxSize: 25,
family: Chart.defaults.font.family,
size: Chart.defaults.font.size,
@ -496,7 +496,7 @@ function totalSatQsos() {
$('.sattable').DataTable({
responsive: false,
ordering: false,
"scrollY": "170px",
"scrollY": "330px",
"scrollX": true,
"ScrollCollapse": true,
"paging": false,