💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
![](https://box.kancloud.cn/003f135387b5d4d1a0927460064edd8b_316x304.gif) [运行一下](http://www.shouce.ren/study/api/s/7111) ~~~ <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>图形展示</title> </head> <body> <div class="detail-section"> <div id="canvas"> </div> </div> <script src="http://g.tbcdn.cn/bui/acharts/1.0.32/acharts-min.js"></script> <!-- https://g.alicdn.com/bui/acharts/1.0.29/acharts-min.js --> <script type="text/javascript"> var chart = new AChart({ theme : AChart.Theme.SmoothBase, id : 'canvas', width : 950, height : 500, legend : null ,//不显示图例 tooltip : { pointRenderer : function(point){ return (point.percent * 100).toFixed(2)+ '%'; } }, series : [{ type: 'pie', name: 'Browser share', allowPointSelect : true, labels : { distance : -30, label : { fill : '#fff' } }, data: [ ['Firefox', 45.0], ['IE', 26.8], { name: 'Chrome', y: 12.8, sliced: true, selected: true }, ['Safari', 8.5], ['Opera', 6.2], ['Others', 0.7] ] }] }); chart.render(); </script> </body> </html> ~~~