Browse Source

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

pull/443/head
Vben 5 years ago
parent
commit
1e4a250da1
  1. 1
      src/views/dashboard/analysis/components/AnalysisBar.vue
  2. 2
      src/views/dashboard/analysis/components/AnalysisLine.vue
  3. 2
      src/views/dashboard/analysis/components/AnalysisPie.vue
  4. 1
      src/views/dashboard/analysis/components/TrendLine.vue

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'

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,

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',

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,
},

Loading…
Cancel
Save