Commit 4524fdf5 by 匡雅琴

修改

1 parent d4ae65d9
...@@ -9,13 +9,13 @@ import * as echarts from 'echarts' ...@@ -9,13 +9,13 @@ import * as echarts from 'echarts'
function getBarOptions(obj) { function getBarOptions(obj) {
const { tooltipFormatter } = obj const { tooltipFormatter } = obj
var barLineOption = { var barLineOption = {
tooltip: { // tooltip: {
trigger: 'axis', // trigger: 'axis',
borderWidth: 0, // borderWidth: 0,
padding: 0, // padding: 0,
formatter: tooltipFormatter || '', // formatter: tooltipFormatter || '',
confine: true // confine: true
}, // },
xAxis: { xAxis: {
data: [] data: []
}, },
......
...@@ -3,13 +3,13 @@ import utils from '../../../utils/util' ...@@ -3,13 +3,13 @@ import utils from '../../../utils/util'
function getBarLineOptions(obj) { function getBarLineOptions(obj) {
const { tooltipFormatter, seriesData } = obj const { tooltipFormatter, seriesData } = obj
var barLineOption = { var barLineOption = {
tooltip: { // tooltip: {
trigger: 'axis', // trigger: 'axis',
borderWidth: 0, // borderWidth: 0,
padding: 0, // padding: 0,
backgroundColor: '#051526', // backgroundColor: '#051526',
formatter: tooltipFormatter || '' // formatter: tooltipFormatter || ''
}, // },
xAxis: { xAxis: {
data: [] data: []
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!