-- 为 ECharts 准备一个具备大小(宽高)的 DOM -->
<...'}, //y轴显示数据
series: [{
name: 'PV', //数据名
stack:"count",
type: 'line', //line折线/bar柱状...100 //默认结束位置:100%
},
{
type: 'slider', //控制y轴,滚轮滚动
show: true,
yAxisIndex: [0]...,
left: '93%',
start: 1,
end: 100
},
{
type: 'inside', //控制x轴,坐标轴内可滚动...xAxisIndex: [0],
start: 1,
end: 100
},
{
type: 'inside', //控制y轴,坐标轴内可滚动
yAxisIndex