소스 검색

[Mod 0000] line_enhance图表添加tooltip

ruienger 3 달 전
부모
커밋
4461ab4084
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      src/views/vent/home/configurable/components/detail/CustomChart.vue

+ 3 - 0
src/views/vent/home/configurable/components/detail/CustomChart.vue

@@ -498,6 +498,9 @@
           right: 10,
           textStyle,
         },
+        tooltip: {
+          trigger: 'item',
+        },
         grid: {
           left: 60,
           top: 40,