1
This commit is contained in:
@@ -15,7 +15,11 @@ export default function ({
|
||||
top: 0,
|
||||
containLabel: true,
|
||||
},
|
||||
tooltip: {},
|
||||
tooltip: {
|
||||
// formatter(params) {
|
||||
// return `${params.name}: ${(params.value * 100).toFixed(0)}%`;
|
||||
// }
|
||||
},
|
||||
title: {
|
||||
text: titleValue,
|
||||
left: "49%",
|
||||
@@ -60,7 +64,7 @@ export default function ({
|
||||
data: [
|
||||
{
|
||||
value: currentSum,
|
||||
name: "当前累计产出",
|
||||
name: "当前良率",
|
||||
selected: false,
|
||||
itemStyle: {
|
||||
borderJoin: "round",
|
||||
@@ -93,9 +97,9 @@ export default function ({
|
||||
? currentSum == 0
|
||||
? 1
|
||||
: 0
|
||||
: 0,
|
||||
: targetSum,
|
||||
|
||||
name: "未达成累计",
|
||||
name: "未达成",
|
||||
itemStyle: { color: "transparent" },
|
||||
label: { show: false },
|
||||
},
|
||||
@@ -118,7 +122,7 @@ export default function ({
|
||||
data: [
|
||||
{
|
||||
value: previousSum,
|
||||
name: "上期累计产出",
|
||||
name: "上期良率",
|
||||
selected: false,
|
||||
itemStyle: {
|
||||
borderJoin: "round",
|
||||
@@ -146,6 +150,9 @@ export default function ({
|
||||
? 1
|
||||
: 0,
|
||||
name: "-",
|
||||
formatter: {
|
||||
show: false
|
||||
},
|
||||
itemStyle: { color: "transparent" },
|
||||
label: { show: false },
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user