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