VBPieChart
Charts iOS Control with animations
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;
--
Version: 0.2.2
License: MIT
--
Twitter: @SAKrisT