CocoaPods trunk is moving to be read-only. Read more on the blog, there are 19 months to go.
TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | May 2015 |
Maintained by andjash.
Configurable stripe chart
Import required headers
#import "AYStripeChartView.h"
#import "AYStripeChartEntry.h"
Create instance of AYStripeChartView and attach it to another view. Create instances of AYStripeChartEntry according to your data and attach entries to AYPieChartView
AYStripeChartEntry *beer = [AYStripeChartEntry entryWithValue:0.2 color:[UIColor brownColor] detailsView:beerDetails];
AYStripeChartEntry *pizza = [AYStripeChartEntry entryWithValue:0.1 color:[UIColor redColor] detailsView:pizzaDetails];
AYStripeChartEntry *fry = [AYStripeChartEntry entryWithValue:0.5 color:[UIColor orangeColor] detailsView:fryDetails];
self.stripeChart.stripeChartEntries = @[beer, pizza, fry];
Thats all for simple case!
For more interesting cases pls review demo.