fix(图标展示): 修复饼状图元素过多时没出现滚动条的缺陷

--bug=1009173 --user=宋天阳 [报表统计]-选择四个创建人统计结果,饼图只显示前三个。
https://www.tapd.cn/55049933/s/1085695
This commit is contained in:
song-tianyang 2021-12-22 20:19:27 +08:00 committed by song-tianyang
parent 1796b3473a
commit 7ae67838b7
2 changed files with 10 additions and 5 deletions

View File

@ -28,10 +28,12 @@
size="lg" @click="unFullScreen"/>
</div>
</el-row>
<el-row style="overflow: auto">
<ms-chart ref="chart1" v-if="!loading" :options="dataOption"
:style="{width: chartWidthNumber+'px', height: (h-50) + 'px'}" class="chart-config" :autoresize="true"
id="picChart"/>
<el-row>
<div class="chart-style">
<ms-chart ref="chart1" v-if="!loading" :options="dataOption"
:style="{width: chartWidthNumber+'px', height: (h-70) + 'px'}" class="chart-config" :autoresize="true"
id="picChart"/>
</div>
</el-row>
</el-card>
</div>
@ -223,6 +225,9 @@ export default {
height: calc(100vh / 1.95);
}
.chart-style{
overflow: auto;
}
.tip {
float: left;
font-size: 14px;

@ -1 +1 @@
Subproject commit ed6902f776faa1f04a732a6f92b825a32116b3a0
Subproject commit d6c139164b4b0519dcee21e111fc4da142b85c88