可视化缩放

master
OathK1per 2022-11-16 15:24:30 +08:00
parent b464585fdd
commit e220a0efb4
1 changed files with 10 additions and 4 deletions

View File

@ -15,8 +15,8 @@
<div class="am-btn-toolbar" style="padding-left:.5rem;">
<div class="am-btn-group am-btn-group-xs">
<div class="am-btn-group am-btn-group-xs am-form-file">
<div id="chartmain" style="width:800px; height: 500px;margin:20px auto"></div>
<div id="chartmain2" style="width:800px; height: 500px;margin:20px auto"></div>
<div id="chartmain" style="width:600px; height: 500px;margin:20px auto"></div>
<div id="chartmain2" style="width:600px; height: 500px;margin:20px auto"></div>
</div>
</div>
</div>
@ -67,7 +67,7 @@
{
name: '把握度',
type: 'pie',
radius: ['40%', '70%'],
radius: ['20%', '50%'],
avoidLabelOverlap: true,
data: [],
label: {
@ -105,13 +105,19 @@
color:[colors[0], colors[1]],
xAxis: {
type: 'category',
name: '项目把握度',
name: '把握度',
// triggerEvent: true,
axisLabel: {
interval:0
},
data: []
},
grid: {
left: '3%',
right: '4%',
bottom: '3%',
containLabel: true
},
yAxis: [
{
type: 'value',