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