Parcourir la source

fix(abakysis): fix tooltip style,fix #436

Vben il y a 4 ans
Parent
commit
1e4a250da1

+ 0 - 1
src/views/dashboard/analysis/components/AnalysisBar.vue

@@ -18,7 +18,6 @@
         setOptions({
           tooltip: {
             trigger: 'axis',
-            backgroundColor: 'rgba(0, 0, 0, .6)',
             axisPointer: {
               // 坐标轴指示器,坐标轴触发有效
               type: 'shadow', // 默认为直线,可选为:'line' | 'shadow'

+ 0 - 2
src/views/dashboard/analysis/components/AnalysisLine.vue

@@ -22,12 +22,10 @@
           tooltip: {
             trigger: 'axis',
             padding: 3,
-            backgroundColor: 'rgba(0, 0, 0, .6)',
             borderColor: '#777',
             borderWidth: 1,
           },
           legend: {
-            icon: 'rect',
             itemWidth: 15,
             itemHeight: 4,
             left: 80,

+ 0 - 2
src/views/dashboard/analysis/components/AnalysisPie.vue

@@ -41,10 +41,8 @@
           ],
           tooltip: {
             trigger: 'item',
-            backgroundColor: 'rgba(0, 0, 0, .6)',
           },
           legend: {
-            icon: 'circle',
             itemHeight: 10,
             type: 'scroll',
             orient: 'vertical',

+ 0 - 1
src/views/dashboard/analysis/components/TrendLine.vue

@@ -18,7 +18,6 @@
           tooltip: {
             trigger: 'axis',
             padding: 3,
-            backgroundColor: 'rgba(0, 0, 0, .6)',
             borderColor: '#777',
             borderWidth: 1,
           },