Conforms to NSObject
Declared in IGPieChartView.h

Overview

This protocol has methods that provide the ability to interact with the pie chart.

Instance Methods

pieChartView:label:item:

This methods allows the user to change pie chart label that is about to be displayed.

- (NSString *)pieChartView:(IGPieChartView *)pieChartView label:(NSString *)label item:(IGPieSliceInfo *)item

Parameters

pieChartView

Reference to the pie chart.

label

The pie label that’s about to be displayed.

item

Information about the current pie slice.

Return Value

Returns a string that will be used as the slice’s label.

Declared In

IGPieChartView.h

pieChartView:tapWithItem:atPoint:

This method provides the handling of the tap gesture.

- (void)pieChartView:(IGPieChartView *)pieChartView tapWithItem:(IGPieSliceInfo *)item atPoint:(CGPoint)point

Parameters

pieChartView

Reference to the pie chart.

item

Information about the current pie slice.

point

The touch location.

Declared In

IGPieChartView.h

pieChartView:viewForTooltipWithItem:

This method allows the user to supply a UIView that will be used as a tooltip for a pie slice.

- (UIView *)pieChartView:(IGPieChartView *)pieChartView viewForTooltipWithItem:(IGPieSliceInfo *)item

Parameters

pieChartView

Reference to the pie chart.

item

Information about the current pie slice.

Return Value

Returns the view that will be the slice’s tooltip.

Declared In

IGPieChartView.h