|
@@ -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',
|