柱状图上的数字

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")
);
this.columnarEcharts.setOption({
tooltip: {
show: this.filterShow == true? false: true ,
trigger: "axis",
},
dataZoom: [
{
type: "slider",
@@ -610,7 +614,15 @@ export default {
},
},
series: [
{
{
label: {
show: true,
position: true,
textStyle: {
fontSize: 13,
color: '#666'
}
},
data: yData,
itemStyle: {
normal: {