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

Trading range plot delegate. More...

#import <CPTTradingRangePlot.h>

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

Public Instance Methods

Point Selection
(void) - tradingRangePlot:barWasSelectedAtRecordIndex:
 (Optional) Informs the delegate that a bar was both pressed and released. More...
 
(void) - tradingRangePlot:barWasSelectedAtRecordIndex:withEvent:
 (Optional) Informs the delegate that a bar was both pressed and released. More...
 
(void) - tradingRangePlot:barTouchDownAtRecordIndex:
 (Optional) Informs the delegate that a bar was pressed. More...
 
(void) - tradingRangePlot:barTouchDownAtRecordIndex:withEvent:
 (Optional) Informs the delegate that a bar was pressed. More...
 
(void) - tradingRangePlot:barTouchUpAtRecordIndex:
 (Optional) Informs the delegate that a bar was released. More...
 
(void) - tradingRangePlot:barTouchUpAtRecordIndex: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

Trading range plot delegate.

Method Documentation

◆ tradingRangePlot:barTouchDownAtRecordIndex:

- (void) tradingRangePlot: (nonnull CPTTradingRangePlot *)  plot
barTouchDownAtRecordIndex: (NSUInteger idx 

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

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

◆ tradingRangePlot:barTouchDownAtRecordIndex:withEvent:

- (void) tradingRangePlot: (nonnull CPTTradingRangePlot *)  plot
barTouchDownAtRecordIndex: (NSUInteger idx
withEvent: (nonnull CPTNativeEvent *)  event 

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

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

◆ tradingRangePlot:barTouchUpAtRecordIndex:

- (void) tradingRangePlot: (nonnull CPTTradingRangePlot *)  plot
barTouchUpAtRecordIndex: (NSUInteger idx 

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

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

◆ tradingRangePlot:barTouchUpAtRecordIndex:withEvent:

- (void) tradingRangePlot: (nonnull CPTTradingRangePlot *)  plot
barTouchUpAtRecordIndex: (NSUInteger idx
withEvent: (nonnull CPTNativeEvent *)  event 

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

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

◆ tradingRangePlot:barWasSelectedAtRecordIndex:

- (void) tradingRangePlot: (nonnull CPTTradingRangePlot *)  plot
barWasSelectedAtRecordIndex: (NSUInteger idx 

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

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

◆ tradingRangePlot:barWasSelectedAtRecordIndex:withEvent:

- (void) tradingRangePlot: (nonnull CPTTradingRangePlot *)  plot
barWasSelectedAtRecordIndex: (NSUInteger idx
withEvent: (nonnull CPTNativeEvent *)  event 

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

Parameters
plotThe trading 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: