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

Bar plot delegate.

Method Documentation

◆ barPlot:barTouchDownAtRecordIndex:

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

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

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

◆ barPlot:barTouchDownAtRecordIndex:withEvent:

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

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

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

◆ barPlot:barTouchUpAtRecordIndex:

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

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

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

◆ barPlot:barTouchUpAtRecordIndex:withEvent:

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

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

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

◆ barPlot:barWasSelectedAtRecordIndex:

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

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

Parameters
plotThe bar plot.
idxThe index of the

clicked bar.

◆ barPlot:barWasSelectedAtRecordIndex:withEvent:

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

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

Parameters
plotThe bar plot.
idxThe index of the

clicked bar.

Parameters
eventThe event that triggered the selection.

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