修改问题

This commit is contained in:
zhujiyan
2024-10-22 14:00:39 +08:00
parent 1e1993d125
commit 28c0e2d23c
6 changed files with 204 additions and 456 deletions

View File

@@ -190,6 +190,9 @@ const initRadioCharts = () => {
tooltip: {
formatter: '{a} <br/>{c} {b}'
},
toolbox:{
show:false
},
legend: {
show: false
},
@@ -203,7 +206,7 @@ const initRadioCharts = () => {
// 表盘最大值
max: -180,
// 表盘分割数
splitNumber: 12,
splitNumber: 6,
// 圆心位置
center: ['50%', '50%'],
// 半径
@@ -301,7 +304,7 @@ const initRadioCharts = () => {
// 表盘最大值
max: -180,
// 表盘分割数
splitNumber: 12,
splitNumber: 6,
// 圆心位置
center: ['50%', '50%'],
// 半径
@@ -433,6 +436,9 @@ const init = () => {
echartsData.value = {
options: {
tooltip: {},
toolbox:{
show:false
},
series: [
{
type: 'gauge',
@@ -442,7 +448,7 @@ const init = () => {
max: 450,
radius: '150%',
center: ['55%', '76%'],
splitNumber: 3, //刻度数量
splitNumber: 2, //刻度数量
axisLine: {
show: true,
lineStyle: {
@@ -607,6 +613,7 @@ onMounted(() => {
justify-content: space-between;
//border: 1px solid #eee;
// padding: 10px;
margin-top: 10px;
.view_top_left,
.view_top_right {
// width: 300px;
@@ -636,10 +643,10 @@ onMounted(() => {
position: relative;
.mid_charts {
width: 100%;
height: 80%;
position: absolute;
top: 20%;
bottom: 10px;
height: 280px;
// position: absolute;
// top: 20%;
// bottom: 10px;
}
}