Core Plot (iOS and tvOS)
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 received both the touch down and up events. More...
 
(void) - tradingRangePlot:barWasSelectedAtRecordIndex:withEvent:
 (Optional) Informs the delegate that a bar received both the touch down and up events. More...
 
(void) - tradingRangePlot:barTouchDownAtRecordIndex:
 (Optional) Informs the delegate that a bar touch started. More...
 
(void) - tradingRangePlot:barTouchDownAtRecordIndex:withEvent:
 (Optional) Informs the delegate that a bar touch started. More...
 
(void) - tradingRangePlot:barTouchUpAtRecordIndex:
 (Optional) Informs the delegate that a bar touch ended. More...
 
(void) - tradingRangePlot:barTouchUpAtRecordIndex:withEvent:
 (Optional) Informs the delegate that a bar touch ended. More...
 
- Public Instance Methods inherited from <CPTPlotDelegate>
(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...
 
(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 touch started.

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

◆ tradingRangePlot:barTouchDownAtRecordIndex:withEvent:

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

(Optional) Informs the delegate that a bar touch started.

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

◆ tradingRangePlot:barTouchUpAtRecordIndex:

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

(Optional) Informs the delegate that a bar touch ended.

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

◆ tradingRangePlot:barTouchUpAtRecordIndex:withEvent:

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

(Optional) Informs the delegate that a bar touch ended.

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

◆ tradingRangePlot:barWasSelectedAtRecordIndex:

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

(Optional) Informs the delegate that a bar received both the touch down and up events.

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

◆ tradingRangePlot:barWasSelectedAtRecordIndex:withEvent:

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

(Optional) Informs the delegate that a bar received both the touch down and up events.

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

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