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

Bar plot delegate. More...

#import <CPTBarPlot.h>

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

Public Instance Methods

Point Selection
(void) - barPlot:barWasSelectedAtRecordIndex:
 (Optional) Informs the delegate that a bar received both the touch down and up events. More...
 
(void) - barPlot:barWasSelectedAtRecordIndex:withEvent:
 (Optional) Informs the delegate that a bar received both the touch down and up events. More...
 
(void) - barPlot:barTouchDownAtRecordIndex:
 (Optional) Informs the delegate that a bar touch started. More...
 
(void) - barPlot:barTouchDownAtRecordIndex:withEvent:
 (Optional) Informs the delegate that a bar touch started. More...
 
(void) - barPlot:barTouchUpAtRecordIndex:
 (Optional) Informs the delegate that a bar touch ended. More...
 
(void) - barPlot: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

Bar plot delegate.

Method Documentation

◆ barPlot:barTouchDownAtRecordIndex:

- (void) barPlot: (nonnull CPTBarPlot *)  plot
barTouchDownAtRecordIndex: (NSUInteger idx 

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

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

◆ barPlot:barTouchDownAtRecordIndex:withEvent:

- (void) barPlot: (nonnull CPTBarPlot *)  plot
barTouchDownAtRecordIndex: (NSUInteger idx
withEvent: (nonnull CPTNativeEvent *)  event 

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

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

◆ barPlot:barTouchUpAtRecordIndex:

- (void) barPlot: (nonnull CPTBarPlot *)  plot
barTouchUpAtRecordIndex: (NSUInteger idx 

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

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

◆ barPlot:barTouchUpAtRecordIndex:withEvent:

- (void) barPlot: (nonnull CPTBarPlot *)  plot
barTouchUpAtRecordIndex: (NSUInteger idx
withEvent: (nonnull CPTNativeEvent *)  event 

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

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

◆ barPlot:barWasSelectedAtRecordIndex:

- (void) barPlot: (nonnull CPTBarPlot *)  plot
barWasSelectedAtRecordIndex: (NSUInteger idx 

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

Parameters
plotThe bar plot.
idxThe index of the

touched bar.

◆ barPlot:barWasSelectedAtRecordIndex:withEvent:

- (void) barPlot: (nonnull CPTBarPlot *)  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 bar plot.
idxThe index of the

touched bar.

Parameters
eventThe event that triggered the selection.

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