OCKChart Class Reference

Inherits from OCKInsightItem : NSObject
Declared in OCKChart.h

The OCKChart class provides a model for charts in OCKInsightsViewController.

This class cannot be directly initialized. In order to use an OCKChart, you must use one of the subclassed charts, such as OCKBarChart.

– chartView

Override this method to provide a custom chart view for any subclasses of OCKChart.

- (UIView *)chartView

Declared In

OCKChart.h

+ animateView:withDuration:

Override this method to provide custom animation for any subclasses of OCKChart.

+ (void)animateView:(UIView *)view withDuration:(NSTimeInterval)duration

Parameters

view

The chart view.

duration

The animation duration.

Discussion

This method is called for visible charts only. It is called once and only when OCKInsightsViewController appears.

Declared In

OCKChart.h