https://www.youtube.com/watch?v=5JL95AK_Idw
I have been trying to to make this work, sadly, I have two problems
My first problem is that I can not implement the ChartData Class
and the second item I can not make work is the instance in the ViewDidLoad
_data = [ChartData generateDataForNumberOfDays:10];
Again it refers to the ChartData Class
I have uploaded the project for you to be able to download to check it out.
WHAT IS STRANGE, Is that the code is identical to the video
Thank you for any feedback in advance.
You can download the project below
https://www.dropbox.com/s/0bhaqgq6iairdih/PieChart.zip?dl=0
Hi Rob,
There were some bugs with your translation in the implementation.
Also you never declared the ChartData class in the header file.
@interface ChartData : NSObject
@property(nonatomic, assign)CGFloat value;
@property(nonatomic, retain)NSString* display;
+(NSArray *)generateDataForNumberOfDays:(NSInteger)days;
@end
I've attached the updated project. Hope this helps.
-SteveZ
THANK YOU for including the updated file for as soon as I saw it, it made total sense from the previous response. Thank you again, for the responses from both of you and from Sarah Scott from Sales, have totally convinced me that you are the best company for my future projects.
I have submitted questions to ShonobiControls and the lack of replies and when they did reply felt like I was a burden.
Thank you again for both your help a new developer in Charts.
Sincerely
robert