Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
245
Creating IGDataSource,IGChartView with custom objects.
posted

Good Morning,

I have already taken a look at your tutorials on how to create an IGChart. Unfortunately they examples provided only describe the process using randomly generated double values.

Presently I have an array of custom objects. Each object is a custom type called Graph Object.

@interface GraphObject : NSObject

@property (nonatomic,retain) NSString *Territory;

@property double Cost;

@end

I would like to have a datasource that can support an NSMutableArray of these objects. The chart should have

numeric values along the Y axis (Cost) with the Territory values along the X axis.

Can you please assist? I do enjoy the tools.

Best regards.