开发工具:
文件大小: 14kb
下载次数: 0
上传时间: 2012-11-06
详细说明:
一个封装好的JS绘制曲线图的类,有例子 无标题文档 [removed][removed] [removed] window.onload=function(){ var data=new period([0,10,22,13,34,25,28,26,30,35,28,34,39,28,26,50,35,28,34,39,55],//y轴数据 [188,189,190,191,192,193,194 ,195,196,197,198,199,200,201,202,203,204,205,206,207,208]//x轴数据 ); var data1=new period([48,23,10,2,12,8,24,25,15,35,25,14,42,58,46,25,12,8,14,28,42],//y轴数据 [188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208]//x轴数据 ); new gov.Graphic(data,"box"); new gov.Graphic(data1,"box1",{ pointColor:"#3366ff",lineColor:"#33ffff"}); } [removed]