Commit 1e4a250da10b01bfd4e667d533f6cae9b8c58fe9
1 parent
2e11ea67
fix(abakysis): fix tooltip style,fix #436
Showing
4 changed files
with
0 additions
and
6 deletions
src/views/dashboard/analysis/components/AnalysisBar.vue
@@ -18,7 +18,6 @@ | @@ -18,7 +18,6 @@ | ||
18 | setOptions({ | 18 | setOptions({ |
19 | tooltip: { | 19 | tooltip: { |
20 | trigger: 'axis', | 20 | trigger: 'axis', |
21 | - backgroundColor: 'rgba(0, 0, 0, .6)', | ||
22 | axisPointer: { | 21 | axisPointer: { |
23 | // 坐标轴指示器,坐标轴触发有效 | 22 | // 坐标轴指示器,坐标轴触发有效 |
24 | type: 'shadow', // 默认为直线,可选为:'line' | 'shadow' | 23 | type: 'shadow', // 默认为直线,可选为:'line' | 'shadow' |
src/views/dashboard/analysis/components/AnalysisLine.vue
@@ -22,12 +22,10 @@ | @@ -22,12 +22,10 @@ | ||
22 | tooltip: { | 22 | tooltip: { |
23 | trigger: 'axis', | 23 | trigger: 'axis', |
24 | padding: 3, | 24 | padding: 3, |
25 | - backgroundColor: 'rgba(0, 0, 0, .6)', | ||
26 | borderColor: '#777', | 25 | borderColor: '#777', |
27 | borderWidth: 1, | 26 | borderWidth: 1, |
28 | }, | 27 | }, |
29 | legend: { | 28 | legend: { |
30 | - icon: 'rect', | ||
31 | itemWidth: 15, | 29 | itemWidth: 15, |
32 | itemHeight: 4, | 30 | itemHeight: 4, |
33 | left: 80, | 31 | left: 80, |
src/views/dashboard/analysis/components/AnalysisPie.vue
@@ -41,10 +41,8 @@ | @@ -41,10 +41,8 @@ | ||
41 | ], | 41 | ], |
42 | tooltip: { | 42 | tooltip: { |
43 | trigger: 'item', | 43 | trigger: 'item', |
44 | - backgroundColor: 'rgba(0, 0, 0, .6)', | ||
45 | }, | 44 | }, |
46 | legend: { | 45 | legend: { |
47 | - icon: 'circle', | ||
48 | itemHeight: 10, | 46 | itemHeight: 10, |
49 | type: 'scroll', | 47 | type: 'scroll', |
50 | orient: 'vertical', | 48 | orient: 'vertical', |
src/views/dashboard/analysis/components/TrendLine.vue