5
我有这个谷歌折线图,但想填补一个面积图一样的线。我看着谷歌,似乎他们的语法与用于创建图表的代码非常不同 - 我根本没有明白。下面是我的图表选项:谷歌折线图填入数据线
var l1=new google.visualization.LineChart($('l1'))
l1.draw(d,{
width:900
,height:280
,fontSize:11
,legend:{position:'right'}
,pointSize:2
,chartArea:{left:35,top:8,width:'80%',height:220}
,backgroundColor:"#DDDDDD"
,colors:["blue","green","yellow","orange","red"]
,hAxis:{textPosition:'out'
,slantedText:true},
series:{0:{color:'#BBBBBB',lineWidth:10},1:{color:'#CCCCCC',lineWidth:10},2:{color:'yellow'},3:{color:'orange'},4:{color:'red'}}
})
因为这不支持曲线 – pjcard 2014-09-30 08:32:02