This commit is contained in:
zk
2023-12-26 17:39:59 +08:00
parent 541fbb4b0a
commit dd89375d40
10 changed files with 78 additions and 56 deletions
+10
View File
@@ -74,6 +74,16 @@
height: calc(100% - 40px);
}
.inner::after {
content: '';
position: absolute;
left: 0;
top: 0;
width: 20px;
height: 20px;
background-color: #051a2b;
}
.left-pie {
position: relative;
padding-bottom: 0 !important;
+4 -4
View File
@@ -2,6 +2,7 @@
import {visibleChartLabel} from "/@/utils/utils.ts";
export function screenPie(chartData, total, color) {
const data = visibleChartLabel(chartData)
return {
color: color,
tooltip: {
@@ -43,7 +44,7 @@ export function screenPie(chartData, total, color) {
length2: 10,
minTurnAngle: 120,
},
data: chartData,
data: data,
},
],
};
@@ -51,8 +52,7 @@ export function screenPie(chartData, total, color) {
//左侧圆
export function circleRing(chartData, total, color) {
// const data = visibleChartLabel(chartData)
// const data = chartData
const data = visibleChartLabel(chartData)
return {
color: color,
tooltip: {
@@ -92,7 +92,7 @@ export function circleRing(chartData, total, color) {
labelLine: {
show: false,
},
data: chartData,
data: data,
},
],
};