[Statistics] Adjusted parameters for the doughnuts when log contains many bands and satellites
这个提交包含在:
父节点
58b4968cfc
当前提交
18bd01286e
共有 2 个文件被更改,包括 10 次插入 和 10 次删除
|
|
@ -38,7 +38,7 @@
|
||||||
|
|
||||||
<div class="tab-pane fade" id="satellite" role="tabpanel" aria-labelledby="satellite-tab">
|
<div class="tab-pane fade" id="satellite" role="tabpanel" aria-labelledby="satellite-tab">
|
||||||
<br/>
|
<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>
|
<table style="width:100%" class="sattable table table-sm table-bordered table-hover table-striped table-condensed text-center"><thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
|
||||||
|
|
@ -258,7 +258,7 @@ function totalBandQsos() {
|
||||||
success: function (data) {
|
success: function (data) {
|
||||||
if (data.length > 0) {
|
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
|
// 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>' +
|
$("#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: {
|
options: {
|
||||||
layout: {
|
layout: {
|
||||||
padding: 100
|
padding: 150
|
||||||
},
|
},
|
||||||
title: {
|
title: {
|
||||||
fontColor: color,
|
fontColor: color,
|
||||||
|
|
@ -341,11 +341,11 @@ function totalBandQsos() {
|
||||||
borderRadius: 2, // Border radius of Label
|
borderRadius: 2, // Border radius of Label
|
||||||
borderWidth: 2, // Thickness of border
|
borderWidth: 2, // Thickness of border
|
||||||
color: 'white',
|
color: 'white',
|
||||||
stretch: 45,
|
stretch: 10,
|
||||||
padding: 0,
|
padding: 0,
|
||||||
font: {
|
font: {
|
||||||
resizable: true,
|
resizable: true,
|
||||||
minSize: 15,
|
minSize: 12,
|
||||||
maxSize: 25,
|
maxSize: 25,
|
||||||
family: Chart.defaults.font.family,
|
family: Chart.defaults.font.family,
|
||||||
size: Chart.defaults.font.size,
|
size: Chart.defaults.font.size,
|
||||||
|
|
@ -363,7 +363,7 @@ function totalBandQsos() {
|
||||||
$('.bandtable').DataTable({
|
$('.bandtable').DataTable({
|
||||||
responsive: false,
|
responsive: false,
|
||||||
ordering: false,
|
ordering: false,
|
||||||
"scrollY": "170px",
|
"scrollY": "330px",
|
||||||
"scrollCollapse": true,
|
"scrollCollapse": true,
|
||||||
"paging": false,
|
"paging": false,
|
||||||
"scrollX": true,
|
"scrollX": true,
|
||||||
|
|
@ -440,7 +440,7 @@ function totalSatQsos() {
|
||||||
|
|
||||||
options: {
|
options: {
|
||||||
layout: {
|
layout: {
|
||||||
padding: 100
|
padding: 150
|
||||||
},
|
},
|
||||||
title: {
|
title: {
|
||||||
fontColor: color,
|
fontColor: color,
|
||||||
|
|
@ -467,11 +467,11 @@ function totalSatQsos() {
|
||||||
borderRadius: 2, // Border radius of Label
|
borderRadius: 2, // Border radius of Label
|
||||||
borderWidth: 2, // Thickness of border
|
borderWidth: 2, // Thickness of border
|
||||||
color: 'white',
|
color: 'white',
|
||||||
stretch: 45,
|
stretch: 10,
|
||||||
padding: 0,
|
padding: 0,
|
||||||
font: {
|
font: {
|
||||||
resizable: true,
|
resizable: true,
|
||||||
minSize: 15,
|
minSize: 12,
|
||||||
maxSize: 25,
|
maxSize: 25,
|
||||||
family: Chart.defaults.font.family,
|
family: Chart.defaults.font.family,
|
||||||
size: Chart.defaults.font.size,
|
size: Chart.defaults.font.size,
|
||||||
|
|
@ -496,7 +496,7 @@ function totalSatQsos() {
|
||||||
$('.sattable').DataTable({
|
$('.sattable').DataTable({
|
||||||
responsive: false,
|
responsive: false,
|
||||||
ordering: false,
|
ordering: false,
|
||||||
"scrollY": "170px",
|
"scrollY": "330px",
|
||||||
"scrollX": true,
|
"scrollX": true,
|
||||||
"ScrollCollapse": true,
|
"ScrollCollapse": true,
|
||||||
"paging": false,
|
"paging": false,
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用