JS简单的曲线绘制

//通过二维数组绘制曲线
<script src="js/jquery-1.11.0.min.js" type="text/javascript"></script> <script src="js/drawcharts.js" type="text/javascript"></script> <script src="js/highcharts.js" type="text/javascript"></script> <script type="text/javascript"> $(function(){ //曲线图显示用的二维数组数据 var data = [ [1398368037823,2],[1398470377015,6], [1398710239656,10],[1398643177964,9], [1398710239656,10],[1398784852105,7] ]; //绘制曲线 showChart('#curve','spline','',false,data); }); </script>

 

posted @ 2020-04-27 20:24  -XZY  阅读(2194)  评论(0编辑  收藏  举报