Conforms to NSObject
Declared in YLPieChartDelegate.h

Overview

Implement this delegate to get notified about selection events in a YLPieChartView object.

Tasks

Instance Methods

pieChartView:didDeselectSliceAtIndex:

Called when a pie slice is deselected.

- (void)pieChartView:(YLPieChartView *)pieChartView didDeselectSliceAtIndex:(NSUInteger)index

Parameters

pieChartView

The YLPieChartView instance.

index

The pie slice index.

Discussion

Called when a pie slice is deselected.

Declared In

YLPieChartDelegate.h

pieChartView:didSelectSliceAtIndex:

Called when a pie slice is selected.

- (void)pieChartView:(YLPieChartView *)pieChartView didSelectSliceAtIndex:(NSUInteger)index

Parameters

pieChartView

The YLPieChartView instance.

index

The pie slice index.

Discussion

Called when a pie slice is selected.

Declared In

YLPieChartDelegate.h

pieChartView:willDeselectSliceAtIndex:

Called when a pie slice will be deselected.

- (void)pieChartView:(YLPieChartView *)pieChartView willDeselectSliceAtIndex:(NSUInteger)index

Parameters

pieChartView

The YLPieChartView instance.

index

The pie slice index.

Discussion

Called when a pie slice will be deselected.

Declared In

YLPieChartDelegate.h

pieChartView:willSelectSliceAtIndex:

Called when a pie slice will be selected.

- (void)pieChartView:(YLPieChartView *)pieChartView willSelectSliceAtIndex:(NSUInteger)index

Parameters

pieChartView

The YLPieChartView instance.

index

The pie slice index.

Discussion

Called when a pie slice will be selected.

Declared In

YLPieChartDelegate.h