Conforms to NSObject
Declared in IGFunnelChartView.h

Overview

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

Instance Methods

funnelChartView:innerLabelWithOldLabel:index:

This methods allows the user to change funnel slice’s inner label that is about to be displayed.

- (NSString *)funnelChartView:(IGFunnelChartView *)funnelChartView innerLabelWithOldLabel:(NSString *)oldLabel index:(NSInteger)index

Parameters

funnelChartView

Reference to the funnel chart.

oldLabel

Previous inner label of the slice.

index

Index of the current slice.

Return Value

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

Declared In

IGFunnelChartView.h

funnelChartView:outerLabelWithOldLabel:index:

This methods allows the user to change funnel slice’s outer label that is about to be displayed.

- (NSString *)funnelChartView:(IGFunnelChartView *)funnelChartView outerLabelWithOldLabel:(NSString *)oldLabel index:(NSInteger)index

Parameters

funnelChartView

Reference to the funnel chart.

oldLabel

Previous inner label of the slice.

index

Index of the current slice.

Return Value

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

Declared In

IGFunnelChartView.h

funnelChartView:tapWithItem:atPoint:

This method provides the handling of the tap gesture.

- (void)funnelChartView:(IGFunnelChartView *)funnelChartView tapWithItem:(IGFunnelSliceInfo *)item atPoint:(CGPoint)point

Parameters

funnelChartView

Reference to the funnel chart.

item

Information about the current funnel slice.

point

The touch location.

Declared In

IGFunnelChartView.h

funnelChartView:viewForTooltipWithItem:

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

- (UIView *)funnelChartView:(IGFunnelChartView *)funnelChartView viewForTooltipWithItem:(IGFunnelSliceInfo *)info

Parameters

funnelChartView

Reference to the funnel chart.

info

Information about the current funnel slice.

Return Value

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

Declared In

IGFunnelChartView.h