VBPieChart

https://github.com/sakrist/VBPieChart

Pie Chart iOS control with different animations to present.

Usage - 使用

VBPieChart *chart = [[VBPieChart alloc] init];
[self.view addSubview:chart];
[chart setFrame:CGRectMake(10, 50, 300, 300)];
[chart setEnableStrokeColor:YES];
[chart setHoleRadiusPrecent:0.3]; /* hole inside of chart */
NSArray *chartValues = @[...];
[chart setChartValues:chartValues animation:YES];

Animation options:

动画的种类:

  • VBPieChartAnimationFanAll
  • VBPieChartAnimationGrowth
  • VBPieChartAnimationGrowthAll
  • VBPieChartAnimationGrowthBack
  • VBPieChartAnimationGrowthBackAll
  • VBPieChartAnimationFan
  • VBPieChartAnimationTimingEaseInOut
  • VBPieChartAnimationTimingEaseIn
  • VBPieChartAnimationTimingEaseOut
  • VBPieChartAnimationTimingLinea

For:
- (void) setChartValues:(NSArray *)chartValues animation:(BOOL)animation duration:(float)duration options:(VBPieChartAnimationOptions)options;

最新文章

  1. 如何解决虚拟机克隆导致"Bringing up interface eth0: Error: No suitable device found: no device found for connection 'System eth0'."
  2. java实现数据库连接池
  3. 一、什么是WPF?
  4. Volley网络请求框架的基本用法
  5. Plan-9效应:为什么东西不坏就不要去修它
  6. Virtual Environments
  7. linux内核源码阅读之facebook硬盘加速flashcache之三
  8. hdu4602(矩阵快速幂)
  9. Android-往来:包Group添加到联系人
  10. asp.net mvc 中 tempdata、viewdata、viewbag生命周期(转载)
  11. 货物搬运(move)
  12. c语言的,三个工具可以使编译器生成性能更佳的代码。
  13. 04_Linux命令
  14. nginx新的站点的配置
  15. 51 nod 1766 树上的最远点对(线段树+lca)
  16. Netstat状态分类
  17. 吴恩达课后作业学习1-week2-homework-logistic
  18. OpenCV 学习笔记 06 图像检索以及基于图像描述符的搜索
  19. (转)github设置添加SSH
  20. linux下 GCC编译链接静态库&动态库

热门文章

  1. 关于语法节点Tree、类型Type和符号Symbol
  2. mysql 导入 csv 格式数据
  3. CentOS 6.4下安装 Mono 3.2 和Jexus 5.4
  4. 使用Vue搭建多页面应用
  5. 选择适用才最好 盘点MySQL备份方式
  6. [转]Web API OData V4 Keys, Composite Keys and Functions Part 11
  7. Command操作数据
  8. 如何在vscode里面调试js和node.js
  9. 手机浏览器的User-Agent汇总
  10. CSS属性之relative