看板
Showing
2 changed files
with
5 additions
and
3 deletions
| ... | @@ -628,9 +628,9 @@ const setC = (h1, h2, h3) => { | ... | @@ -628,9 +628,9 @@ const setC = (h1, h2, h3) => { |
| 628 | chartC = echarts.init(payeeRef.value) | 628 | chartC = echarts.init(payeeRef.value) |
| 629 | const option = { | 629 | const option = { |
| 630 | tooltip: { | 630 | tooltip: { |
| 631 | axisPointer: { | 631 | // axisPointer: { |
| 632 | type: 'shadow' | 632 | // type: 'shadow' |
| 633 | }, | 633 | // }, |
| 634 | valueFormatter: (value) => (value * 1).toFixed() + '万', | 634 | valueFormatter: (value) => (value * 1).toFixed() + '万', |
| 635 | backgroundColor: 'rgba(5, 28, 51, 1)', // 背景色 | 635 | backgroundColor: 'rgba(5, 28, 51, 1)', // 背景色 |
| 636 | borderColor: 'rgba(46, 151, 198, 1)', // 边框颜色 | 636 | borderColor: 'rgba(46, 151, 198, 1)', // 边框颜色 |
| ... | @@ -639,6 +639,7 @@ const setC = (h1, h2, h3) => { | ... | @@ -639,6 +639,7 @@ const setC = (h1, h2, h3) => { |
| 639 | color: '#fff', // 文字颜色 | 639 | color: '#fff', // 文字颜色 |
| 640 | fontSize: 12, // 文字大小 | 640 | fontSize: 12, // 文字大小 |
| 641 | }, | 641 | }, |
| 642 | confine: true, | ||
| 642 | position: 'top', | 643 | position: 'top', |
| 643 | formatter: function (row) { | 644 | formatter: function (row) { |
| 644 | return ` | 645 | return ` | ... | ... |
| ... | @@ -849,6 +849,7 @@ const setC = (arry, arr1, arr2, arr3) => { | ... | @@ -849,6 +849,7 @@ const setC = (arry, arr1, arr2, arr3) => { |
| 849 | // axisPointer: { | 849 | // axisPointer: { |
| 850 | // type: 'shadow' | 850 | // type: 'shadow' |
| 851 | // }, | 851 | // }, |
| 852 | confine: true, | ||
| 852 | valueFormatter: (value) => value + '万', | 853 | valueFormatter: (value) => value + '万', |
| 853 | backgroundColor: 'rgba(5, 28, 51, 1)', // 背景色 | 854 | backgroundColor: 'rgba(5, 28, 51, 1)', // 背景色 |
| 854 | borderColor: 'rgba(46, 151, 198, 1)', // 边框颜色 | 855 | borderColor: 'rgba(46, 151, 198, 1)', // 边框颜色 | ... | ... |
-
Please register or sign in to post a comment