项目报表柱状图上显示数字
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
78f2f530c4
commit
65edc78152
|
|
@ -249,6 +249,16 @@ export default {
|
||||||
emphasis: {
|
emphasis: {
|
||||||
focus: 'series'
|
focus: 'series'
|
||||||
},
|
},
|
||||||
|
label: {
|
||||||
|
show: true,
|
||||||
|
formatter: `{c}`,
|
||||||
|
position: 'inside',
|
||||||
|
textStyle: {
|
||||||
|
fontSize: 14, // 设置字体大小为 14px
|
||||||
|
color: '#000', // 设置字体颜色为白色
|
||||||
|
// fontWeight: 'bold' // 设置字体加粗
|
||||||
|
}
|
||||||
|
},
|
||||||
data: [res.Result.QCQuestion_IngCount, res.Result.CheckQuestion_IngCount, res.Result.MedicalReviewQuestion_IngCount]
|
data: [res.Result.QCQuestion_IngCount, res.Result.CheckQuestion_IngCount, res.Result.MedicalReviewQuestion_IngCount]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -259,6 +269,16 @@ export default {
|
||||||
emphasis: {
|
emphasis: {
|
||||||
focus: 'series'
|
focus: 'series'
|
||||||
},
|
},
|
||||||
|
label: {
|
||||||
|
show: true,
|
||||||
|
formatter: `{c}`,
|
||||||
|
position: 'inside',
|
||||||
|
textStyle: {
|
||||||
|
fontSize: 14, // 设置字体大小为 14px
|
||||||
|
color: '#000', // 设置字体颜色为白色
|
||||||
|
// fontWeight: 'bold' // 设置字体加粗
|
||||||
|
}
|
||||||
|
},
|
||||||
data: [res.Result.QCQuestion_ClosedCount, res.Result.CheckQuestion_ClosedCount, res.Result.MedicalReviewQuestion_ClosedCount]
|
data: [res.Result.QCQuestion_ClosedCount, res.Result.CheckQuestion_ClosedCount, res.Result.MedicalReviewQuestion_ClosedCount]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
@ -392,6 +412,16 @@ export default {
|
||||||
data: obj.seriesData,
|
data: obj.seriesData,
|
||||||
type: 'bar',
|
type: 'bar',
|
||||||
barWidth: 20,
|
barWidth: 20,
|
||||||
|
label: {
|
||||||
|
show: true,
|
||||||
|
formatter: `{c}`,
|
||||||
|
position: 'inside',
|
||||||
|
textStyle: {
|
||||||
|
fontSize: 14, // 设置字体大小为 14px
|
||||||
|
color: '#000', // 设置字体颜色为白色
|
||||||
|
// fontWeight: 'bold' // 设置字体加粗
|
||||||
|
}
|
||||||
|
},
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
@ -441,6 +471,16 @@ export default {
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
label: {
|
||||||
|
show: true,
|
||||||
|
formatter: `{c}`,
|
||||||
|
position: 'inside',
|
||||||
|
textStyle: {
|
||||||
|
fontSize: 14, // 设置字体大小为 14px
|
||||||
|
color: '#000', // 设置字体颜色为白色
|
||||||
|
// fontWeight: 'bold' // 设置字体加粗
|
||||||
|
}
|
||||||
|
},
|
||||||
data: obj.seriesData,
|
data: obj.seriesData,
|
||||||
// data: [1, 2, 3],
|
// data: [1, 2, 3],
|
||||||
type: 'bar',
|
type: 'bar',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue