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

Plot delegate. More...

#import <CPTPlot.h>

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

Public Instance Methods

Point Selection
(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...
 
Drawing
(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

Plot delegate.

Method Documentation

◆ didFinishDrawing:

- (void) didFinishDrawing: (nonnull CPTPlot *)  plot

(Optional) Informs the delegate that plot drawing is finished.

Parameters
plotThe plot.

◆ plot:dataLabelTouchDownAtRecordIndex:

- (void) plot: (nonnull CPTPlot *)  plot
dataLabelTouchDownAtRecordIndex: (NSUInteger)  idx 

(Optional) Informs the delegate that a data label was pressed.

Parameters
plotThe plot.
idxThe index of the clicked data label.

◆ plot:dataLabelTouchDownAtRecordIndex:withEvent:

- (void) plot: (nonnull CPTPlot *)  plot
dataLabelTouchDownAtRecordIndex: (NSUInteger)  idx
withEvent: (nonnull CPTNativeEvent *)  event 

(Optional) Informs the delegate that a data label was pressed.

Parameters
plotThe plot.
idxThe index of the clicked data label.
eventThe event that triggered the selection.

◆ plot:dataLabelTouchUpAtRecordIndex:

- (void) plot: (nonnull CPTPlot *)  plot
dataLabelTouchUpAtRecordIndex: (NSUInteger)  idx 

(Optional) Informs the delegate that a data label was released.

Parameters
plotThe plot.
idxThe index of the clicked data label.

◆ plot:dataLabelTouchUpAtRecordIndex:withEvent:

- (void) plot: (nonnull CPTPlot *)  plot
dataLabelTouchUpAtRecordIndex: (NSUInteger)  idx
withEvent: (nonnull CPTNativeEvent *)  event 

(Optional) Informs the delegate that a data label was released.

Parameters
plotThe plot.
idxThe index of the clicked data label.
eventThe event that triggered the selection.

◆ plot:dataLabelWasSelectedAtRecordIndex:

- (void) plot: (nonnull CPTPlot *)  plot
dataLabelWasSelectedAtRecordIndex: (NSUInteger)  idx 

(Optional) Informs the delegate that a data label was both pressed and released.

Parameters
plotThe plot.
idxThe index of the clicked data label.

◆ plot:dataLabelWasSelectedAtRecordIndex:withEvent:

- (void) plot: (nonnull CPTPlot *)  plot
dataLabelWasSelectedAtRecordIndex: (NSUInteger)  idx
withEvent: (nonnull CPTNativeEvent *)  event 

(Optional) Informs the delegate that a data label was both pressed and released.

Parameters
plotThe plot.
idxThe index of the clicked data label.
eventThe event that triggered the selection.

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