要求鼠标放到线上面时,能够在小框中出现该点的数据和对应时间
这段代码应该能生成3条线才对, 但是现在一条线也没有
xAxis: [{
type:'datetime',
title:{
text:'时间'
}
}],
yAxis: [{
series: [{
name:'Varid' +[<%=AN1 %>],
color: '#D9D919',
type: 'spline',
data:[ ]
}],[{
name:'Varid' +[<%=AN2 %>],
color: '#D9D919',
type: 'spline',
data:[ ]
}],[{
name:'Varid' +[<%=AN3 %>],
color: '#D9D919',
type: 'spline',
data:[ ]
}]
}]
想问一下,如果我用了json data[]这里该怎么写
如果不用json,又该怎么写
我QQ : 1079825151