[Statistics] Adjusted size of canvas and padding.

这个提交包含在:
Andreas 2022-09-19 09:55:44 +02:00
父节点 c0ef366fa3
当前提交 4628c7742c
共有 2 个文件被更改,包括 4 次插入4 次删除

查看文件

@ -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="600" height="600"></canvas></div><div style="flex: 1;" id="satTable"> <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">
<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="600" height="600"></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="500" height="500"></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>' +
@ -316,7 +316,7 @@ function totalBandQsos() {
}, },
options: { options: {
layout: { layout: {
padding: 150 padding: 100
}, },
title: { title: {
fontColor: color, fontColor: color,
@ -447,7 +447,7 @@ function totalSatQsos() {
options: { options: {
layout: { layout: {
padding: 150 padding: 100
}, },
title: { title: {
fontColor: color, fontColor: color,