1)基准线不能直接使用,否则会导致线条出不来,必须引入markline文件;
2)echarts文件引入方式:
let echarts = require('echarts/lib/echarts')
require('echarts/lib/chart/line')或者
import echarts from 'echarts/lib/echarts'
import 'echarts/lib/component/markLine'
1)基准线不能直接使用,否则会导致线条出不来,必须引入markline文件;
2)echarts文件引入方式:
let echarts = require('echarts/lib/echarts')
require('echarts/lib/chart/line')或者
import echarts from 'echarts/lib/echarts'
import 'echarts/lib/component/markLine'