jQchart折线图数字显示代码

									<script type="text/javascript">
											var chartSetting={
											  config : { 
											 	 title : '流量(ton)    ( 红色表示今年,绿色表示去年 )',
											 	 labelX : ["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],
											 	 scaleY : {min: 1000,max:2000,gap:200},
											   	 width  : 600 , 
											     height : 380 ,
											      line   : {  
													          lineWidth   : [1,1,1,1,1,1,1,1],  
													          strokeStyle : ['red','green']  
													        }  
											  },
											  data : [[${nowPower!''}],[${lastPower!''}]]
											};
												$(function(){
													$('#canvasMy').jQchart(chartSetting);
												});
										</script>

你可能感兴趣的:(jQchart折线图数字显示代码)