代码如下:
//初始化数据录入情况echarts实例
var echarts_dataEntry = echarts.init(document.getElementById('echarts_dataEntry'));
option = {
title: {
// text: '折线图堆叠'
},
tooltip: {
trigger: 'axis'
},
legend: {
// icon: "circle", //图例变成小圆点
x: 'center', //可设定图例在左、右、居中
y: 'bottom', //可设定图例在上、下、居中
data: ['基础数据', '空间数据', '成果数据']
},
grid: {
top: '3%',
left: '3%',
right: '4%',
bottom: '8%',
containLabel: true
},
xAxis: {
type: '