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

Range plot delegate. More...

#import <CPTRangePlot.h>

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

Public Instance Methods

Point Selection
(void) - rangePlot:rangeWasSelectedAtRecordIndex:
 (Optional) Informs the delegate that a bar was both pressed and released. More...
 
(void) - rangePlot:rangeWasSelectedAtRecordIndex:withEvent:
 (Optional) Informs the delegate that a bar was both pressed and released. More...
 
(void) - rangePlot:rangeTouchDownAtRecordIndex:
 (Optional) Informs the delegate that a bar was pressed. More...
 
(void) - rangePlot:rangeTouchDownAtRecordIndex:withEvent:
 (Optional) Informs the delegate that a bar was pressed. More...
 
(void) - rangePlot:rangeTouchUpAtRecordIndex:
 (Optional) Informs the delegate that a bar was released. More...
 
(void) - rangePlot:rangeTouchUpAtRecordIndex:withEvent:
 (Optional) Informs the delegate that a bar 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

Range plot delegate.

Method Documentation

◆ rangePlot:rangeTouchDownAtRecordIndex:

- (void) rangePlot: (nonnull CPTRangePlot *)  plot
rangeTouchDownAtRecordIndex: (NSUInteger idx 

(Optional) Informs the delegate that a bar was pressed.

Parameters
plotThe range plot.
idxThe index of the clicked bar.

◆ rangePlot:rangeTouchDownAtRecordIndex:withEvent:

- (void) rangePlot: (nonnull CPTRangePlot *)  plot
rangeTouchDownAtRecordIndex: (NSUInteger idx
withEvent: (nonnull CPTNativeEvent *)  event 

(Optional) Informs the delegate that a bar was pressed.

Parameters
plotThe range plot.
idxThe index of the clicked bar.
eventThe event that triggered the selection.

◆ rangePlot:rangeTouchUpAtRecordIndex:

- (void) rangePlot: (nonnull CPTRangePlot *)  plot
rangeTouchUpAtRecordIndex: (NSUInteger idx 

(Optional) Informs the delegate that a bar was released.

Parameters
plotThe range plot.
idxThe index of the clicked bar.

◆ rangePlot:rangeTouchUpAtRecordIndex:withEvent:

- (void) rangePlot: (nonnull CPTRangePlot *)  plot
rangeTouchUpAtRecordIndex: (NSUInteger idx
withEvent: (nonnull CPTNativeEvent *)  event 

(Optional) Informs the delegate that a bar was released.

Parameters
plotThe range plot.
idxThe index of the clicked bar.
eventThe event that triggered the selection.

◆ rangePlot:rangeWasSelectedAtRecordIndex:

- (void) rangePlot: (nonnull CPTRangePlot *)  plot
rangeWasSelectedAtRecordIndex: (NSUInteger idx 

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

Parameters
plotThe range plot.
idxThe index of the clicked bar.

◆ rangePlot:rangeWasSelectedAtRecordIndex:withEvent:

- (void) rangePlot: (nonnull CPTRangePlot *)  plot
rangeWasSelectedAtRecordIndex: (NSUInteger idx
withEvent: (nonnull CPTNativeEvent *)  event 

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

Parameters
plotThe range plot.
idxThe index of the clicked bar.
eventThe event that triggered the selection.

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