柱状图上的数字

This commit is contained in:
shijingjing
2022-07-28 17:11:31 +08:00
parent a51ad3e3c1
commit ee272b2cfe

View File

@@ -583,6 +583,10 @@ export default {
document.getElementById("columnarEcharts") document.getElementById("columnarEcharts")
); );
this.columnarEcharts.setOption({ this.columnarEcharts.setOption({
tooltip: {
show: this.filterShow == true? false: true ,
trigger: "axis",
},
dataZoom: [ dataZoom: [
{ {
type: "slider", type: "slider",
@@ -611,6 +615,14 @@ export default {
}, },
series: [ series: [
{ {
label: {
show: true,
position: true,
textStyle: {
fontSize: 13,
color: '#666'
}
},
data: yData, data: yData,
itemStyle: { itemStyle: {
normal: { normal: {