Core Plot (iOS and tvOS)
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 received both the touch down and up events. More...
 
(void) - plot:dataLabelWasSelectedAtRecordIndex:withEvent:
 (Optional) Informs the delegate that a data label received both the touch down and up events. More...
 
(void) - plot:dataLabelTouchDownAtRecordIndex:
 (Optional) Informs the delegate that a data label touch started. More...
 
(void) - plot:dataLabelTouchDownAtRecordIndex:withEvent:
 (Optional) Informs the delegate that a data label touch started. More...
 
(void) - plot:dataLabelTouchUpAtRecordIndex:
 (Optional) Informs the delegate that a data label touch ended. More...
 
(void) - plot:dataLabelTouchUpAtRecordIndex:withEvent:
 (Optional) Informs the delegate that a data label touch ended. 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 touch started.

Parameters
plotThe plot.
idxThe index of the touched 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 touch started.

Parameters
plotThe plot.
idxThe index of the touched 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 touch ended.

Parameters
plotThe plot.
idxThe index of the touched 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 touch ended.

Parameters
plotThe plot.
idxThe index of the touched 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 received both the touch down and up events.

Parameters
plotThe plot.
idxThe index of the touched 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 received both the touch down and up events.

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

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