Просмотр исходного кода

[Mod 0000] line_enhance图表添加tooltip

ruienger 1 год назад
Родитель
Сommit
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,
           right: 10,
           textStyle,
           textStyle,
         },
         },
+        tooltip: {
+          trigger: 'item',
+        },
         grid: {
         grid: {
           left: 60,
           left: 60,
           top: 40,
           top: 40,