Commit 1e4a250da10b01bfd4e667d533f6cae9b8c58fe9

Authored by Vben
1 parent 2e11ea67

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

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