This commit is contained in:
parent
23ac9c636e
commit
8481e3453e
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div ref="chart" style="width: 100%; height: 200px"></div>
|
||||
<div ref="chart" style="width: 100%; height: calc(100% - 36px);"></div>
|
||||
</template>
|
||||
|
||||
<script setup >
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div ref="chart" style="width: 100%; height: 200px"></div>
|
||||
<div ref="chart" style="width: 100%; height: calc(100% - 36px);"></div>
|
||||
</template>
|
||||
|
||||
<script setup >
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div ref="chart" style="width:100%;height:200px;"></div>
|
||||
<div ref="chart" style="width:100%;height:calc(100% - 200px);"></div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
|
@ -238,7 +238,7 @@ function getPie3D(pieData, internalDiameterRatio) {
|
|||
zoomSensitivity: 0, //设置为0无法缩放
|
||||
panSensitivity: 0, //设置为0无法平移
|
||||
alpha: 25, //角度(这个很重要 调节角度的)
|
||||
distance: 90, //调整视角到主体的距离,类似调整zoom(这是整体大小)
|
||||
distance: 100, //调整视角到主体的距离,类似调整zoom(这是整体大小)
|
||||
},
|
||||
top: '-30',
|
||||
left: '-120',
|
||||
|
|
|
@ -207,7 +207,7 @@ const change = (name, index) => {
|
|||
<style lang="scss" scoped>
|
||||
.displayFlex {
|
||||
box-sizing: border-box;
|
||||
// height: 90vh;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
// flex: 1;
|
||||
|
@ -228,6 +228,8 @@ const change = (name, index) => {
|
|||
|
||||
.module {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
height: calc(100vh - 112px);
|
||||
}
|
||||
|
||||
.yd_title {
|
||||
|
|
Loading…
Reference in New Issue