Przeglądaj źródła

Merge branch 'ZHNY_WW' into ZHNY_DCF

DESKTOP-GBVU60Q\dell 2 lat temu
rodzic
commit
8a16a9e74b
1 zmienionych plików z 11 dodań i 1 usunięć
  1. 11 1
      src/views/Map3d/components/nhtbtj.vue

+ 11 - 1
src/views/Map3d/components/nhtbtj.vue

@@ -46,7 +46,17 @@
 						text: ''
 					},
 					tooltip: {
-						trigger: 'axis'
+						trigger: 'item', //item数据项图形触发,主要在散点图,饼图等无类目轴的图表中使用。
+						axisPointer: {
+							// 坐标轴指示器,坐标轴触发有效
+							type: 'shadow' // 默认为直线,可选为:'line' | 'shadow'
+						},
+						backgroundColor: "rgba(255,255,255,0.2)",
+						borderColor: "rgba(255,255,255,0.2)",
+						textStyle: { // 提示框浮层的文本样式。
+							color: 'rgba(255,255,255,0.8)',
+						
+						},
 					},
 					legend: {
 						orient: 'horizontal',