Core Plot (macOS)
Cocoa plotting framework for macOS, iOS, and tvOS
<CPTPieChartDelegate> Protocol Reference

Pie chart delegate. More...

#import <CPTPieChart.h>

+ Inheritance diagram for <CPTPieChartDelegate>:
+ Collaboration diagram for <CPTPieChartDelegate>:

Public Instance Methods

Slice Selection
(void) - pieChart:sliceWasSelectedAtRecordIndex:
 (Optional) Informs the delegate that a pie slice was both pressed and released. More...
 
(void) - pieChart:sliceWasSelectedAtRecordIndex:withEvent:
 (Optional) Informs the delegate that a pie slice was both pressed and released. More...
 
(void) - pieChart:sliceTouchDownAtRecordIndex:
 (Optional) Informs the delegate that a pie slice was pressed. More...
 
(void) - pieChart:sliceTouchDownAtRecordIndex:withEvent:
 (Optional) Informs the delegate that a pie slice was pressed. More...
 
(void) - pieChart:sliceTouchUpAtRecordIndex:
 (Optional) Informs the delegate that a pie slice was released. More...
 
(void) - pieChart:sliceTouchUpAtRecordIndex:withEvent:
 (Optional) Informs the delegate that a pie slice was released. More...
 
- Public Instance Methods inherited from <CPTPlotDelegate>
(void) - plot:dataLabelWasSelectedAtRecordIndex:
 (Optional) Informs the delegate that a data label was both pressed and released. More...
 
(void) - plot:dataLabelWasSelectedAtRecordIndex:withEvent:
 (Optional) Informs the delegate that a data label was both pressed and released. More...
 
(void) - plot:dataLabelTouchDownAtRecordIndex:
 (Optional) Informs the delegate that a data label was pressed. More...
 
(void) - plot:dataLabelTouchDownAtRecordIndex:withEvent:
 (Optional) Informs the delegate that a data label was pressed. More...
 
(void) - plot:dataLabelTouchUpAtRecordIndex:
 (Optional) Informs the delegate that a data label was released. More...
 
(void) - plot:dataLabelTouchUpAtRecordIndex:withEvent:
 (Optional) Informs the delegate that a data label was released. More...
 
(void) - didFinishDrawing:
 (Optional) Informs the delegate that plot drawing is finished. More...
 
- Public Instance Methods inherited from <NSObject>
(NSString *) - description
 
(NSUInteger- hash
 
(BOOL- isEqual:
 

Detailed Description

Pie chart delegate.

Method Documentation

◆ pieChart:sliceTouchDownAtRecordIndex:

- (void) pieChart: (nonnull CPTPieChart *)  plot
sliceTouchDownAtRecordIndex: (NSUInteger idx 

(Optional) Informs the delegate that a pie slice was pressed.

Parameters
plotThe pie chart.
idxThe index of the clicked pie slice.

◆ pieChart:sliceTouchDownAtRecordIndex:withEvent:

- (void) pieChart: (nonnull CPTPieChart *)  plot
sliceTouchDownAtRecordIndex: (NSUInteger idx
withEvent: (nonnull CPTNativeEvent *)  event 

(Optional) Informs the delegate that a pie slice was pressed.

Parameters
plotThe pie chart.
idxThe index of the clicked pie slice.
eventThe event that triggered the selection.

◆ pieChart:sliceTouchUpAtRecordIndex:

- (void) pieChart: (nonnull CPTPieChart *)  plot
sliceTouchUpAtRecordIndex: (NSUInteger idx 

(Optional) Informs the delegate that a pie slice was released.

Parameters
plotThe pie chart.
idxThe index of the clicked pie slice.

◆ pieChart:sliceTouchUpAtRecordIndex:withEvent:

- (void) pieChart: (nonnull CPTPieChart *)  plot
sliceTouchUpAtRecordIndex: (NSUInteger idx
withEvent: (nonnull CPTNativeEvent *)  event 

(Optional) Informs the delegate that a pie slice was released.

Parameters
plotThe pie chart.
idxThe index of the clicked pie slice.
eventThe event that triggered the selection.

◆ pieChart:sliceWasSelectedAtRecordIndex:

- (void) pieChart: (nonnull CPTPieChart *)  plot
sliceWasSelectedAtRecordIndex: (NSUInteger idx 

(Optional) Informs the delegate that a pie slice was both pressed and released.

Parameters
plotThe pie chart.
idxThe index of the clicked pie slice.

◆ pieChart:sliceWasSelectedAtRecordIndex:withEvent:

- (void) pieChart: (nonnull CPTPieChart *)  plot
sliceWasSelectedAtRecordIndex: (NSUInteger idx
withEvent: (nonnull CPTNativeEvent *)  event 

(Optional) Informs the delegate that a pie slice was both pressed and released.

Parameters
plotThe pie chart.
idxThe index of the clicked pie slice.
eventThe event that triggered the selection.

The documentation for this protocol was generated from the following file: