highcharts 制作3D立体饼图
2017-05-24 09:16
926 查看
由于公司项目的需求,需要做一个立体的饼图来展示数据,但是翻了很久Echarts的手册,始终找不到解决的方法。于是开始接触了highcharts.发现highcharts可以很轻松的制作一个立体的饼图。而且视觉效果很棒。所以,写下这篇博客,希望可以帮助到同样有3D立体饼图需求的人。
实现效果如图所示:
draw:function (data) { $("."+this.install.sty).highcharts({ chart: { type: 'pie', backgroundColor: '#EDEDED', options3d: { enabled: true, alpha: 45, beta: 0 } }, title: { text: this.install.name }, exporting: { enabled:false }, tooltip: { pointFormat: '{series.name}: <b>{point.percentage:.1f}%</b>' }, plotOptions: { pie: { allowPointSelect: true, cursor: 'pointer', depth: 35, dataLabels: { enabled: true, formatter:function(){ return this.point.name+'('+this.point.percentage.toFixed(1)+"%)"; }, connectorWidth:1, distance:5 } } }, series: [{ type: 'pie', name: '占比', data:data }] }); }
实现效果如图所示:
相关文章推荐
- 纯CSS3彩色边线3D立体按钮制作教程
- 纯CSS3彩色边线3D立体按钮制作教程
- 见过这样的用CSS3制作的3D立体效果文字吗?
- 类Excel图表:制作立体的3D饼图
- PS图层样式制作3D立体金属吊坠
- 分想下用highcharts制作的3d饼图
- highcharts实现立体3D饼状图
- highcharts图表组件实战经验篇:如何设置柱状图柱子立体(颜色渐变)效果类似3D效果之linearGradient和stops
- 利用阴影和过渡制作精美的立体按钮
- CSS3(背景样式,文本立体效果,2d3d转换及动画)第八天
- CSS3实现3D立体效果
- 纯CSS3制作骰子3D旋转动画效果
- asp.net中调用Office来制作3D统计图
- 如何制作3D桌面
- 如何利用CSS3制作3D文字效果
- Highcharts 基本配置+3D画图
- 《Genesis-3D开源游戏引擎--横版格斗游戏制作教程08:虚拟键盘实现》完结
- 3D旋转图片立体展示jquery幻灯片插件(附源码)
- PHOTOSHOP制作安卓立体相机图标
- ASP.NET中制作各种3D图表的方法