This commit is contained in:
zhuangyuanke 2024-08-15 08:33:43 +08:00
parent d425c878ac
commit cb0ba25c76

View File

@ -149,7 +149,7 @@ export default {
}, },
}, },
legend: { legend: {
data: ["签约数量", "签约率(%)"], data: ["患者数量", "签约率(%)"],
}, },
color: ["#2BBD2E", "#68B4FF"], color: ["#2BBD2E", "#68B4FF"],
xAxis: [ xAxis: [
@ -173,7 +173,7 @@ export default {
yAxis: [ yAxis: [
{ {
type: "value", type: "value",
name: "签约数量", name: "患者数量",
// min: 0, // min: 0,
// max: 20, // max: 20,
// interval: 4, // interval: 4,
@ -194,7 +194,7 @@ export default {
], ],
series: [ series: [
{ {
name: "签约数量", name: "患者数量",
type: "bar", type: "bar",
tooltip: { tooltip: {
valueFormatter: function (value) { valueFormatter: function (value) {
@ -211,7 +211,7 @@ export default {
yAxisIndex: 1, yAxisIndex: 1,
tooltip: { tooltip: {
valueFormatter: function (value) { valueFormatter: function (value) {
return value + " %"; return value*100 + " %";
}, },
}, },
data: proportionlist, data: proportionlist,