实例如下:
< xmlns = "http://www.w3.org/1999/xhtml"> <head> <meta http-equiv = "content-type" content = "text/html; charset = gb2312"/> <title> html+js+highcharts src = "jQuery-1.4.2.min.js"> </script> <script> <text/javascript "src =" highcharts.js "> </script> </head> <body> <div id =" content "> <br> <br> <br> <! - デモスタート - >チャート; $(function(){var totalmoney = 999 <span style = "white-space:pre"> </span> var zccw = 178 <span style = "white sycw = var sycw = 821 $(document).read(function(){chart = chart = new highcharts.chart({renderto: 'pie_Chart'、pie_Chart '、pie_Chart'、pie_Chart '、pie_Chart'、pie_Chart '、pie_Chart'、pie_Chart ' 'white'、//背景颜色plotborderwidth:0、plotshadow:false}、title:{text: '+g+totalmoney+'剩余车位: '+sycw、verticalAlign:' bottom '、y:-60}、{// PerportageEcimals:1、Formatter:function(){return this.point.name+':'+totalmoney*this.point.percentage/100; -50、//通过设置这个属性、将每个小饼图的显示名称和每个饼图重叠スタイル:{fontsize: '10px'、lineheight: '10px'}、formatter:function(index){return '<span style = "color:#00008B; 'pie'、null、data:[{name '、color:'#3da9ff '、zccw}、{name'、color: '#008fe0'、y:sycw}、]}}); </script> </div> </body> </html>html+js+highcharts绘制圆饼图表的简单实例就是小编分享给大家的全部内容了、希望能给大家一个参考、也希望大家多多支持武林网。