Core Plot (macOS)
Cocoa plotting framework for macOS, iOS, and tvOS
|
Scatter plot delegate. More...
#import <CPTScatterPlot.h>
Public Instance Methods | |
Data Point Selection | |
(void) | - scatterPlot:plotSymbolWasSelectedAtRecordIndex: |
(Optional) Informs the delegate that a data point was both pressed and released. More... | |
(void) | - scatterPlot:plotSymbolWasSelectedAtRecordIndex:withEvent: |
(Optional) Informs the delegate that a data point was both pressed and released. More... | |
(void) | - scatterPlot:plotSymbolTouchDownAtRecordIndex: |
(Optional) Informs the delegate that a data point was pressed. More... | |
(void) | - scatterPlot:plotSymbolTouchDownAtRecordIndex:withEvent: |
(Optional) Informs the delegate that a data point was pressed. More... | |
(void) | - scatterPlot:plotSymbolTouchUpAtRecordIndex: |
(Optional) Informs the delegate that a data point was released. More... | |
(void) | - scatterPlot:plotSymbolTouchUpAtRecordIndex:withEvent: |
(Optional) Informs the delegate that a data point was released. More... | |
Data Line Selection | |
(void) | - scatterPlotDataLineWasSelected: |
(Optional) Informs the delegate that the mouse was both pressed and released on the plot line. More... | |
(void) | - scatterPlot:dataLineWasSelectedWithEvent: |
(Optional) Informs the delegate that the mouse was both pressed and released on the plot line. More... | |
(void) | - scatterPlotDataLineTouchDown: |
(Optional) Informs the delegate that the mouse was pressed while over the plot line. More... | |
(void) | - scatterPlot:dataLineTouchDownWithEvent: |
(Optional) Informs the delegate that the mouse was pressed while over the plot line. More... | |
(void) | - scatterPlotDataLineTouchUp: |
(Optional) Informs the delegate that the mouse was released while over the plot line. More... | |
(void) | - scatterPlot:dataLineTouchUpWithEvent: |
(Optional) Informs the delegate that the mouse was released while over the plot line. More... | |
Drawing | |
(void) | - scatterPlot:prepareForDrawingPlotLine:inContext: |
(Optional) Gives the delegate an opportunity to do something just before the plot line will be drawn. A common operation is to draw a selection indicator for the plot line. This is called after the plot fill has been drawn. 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: |
Scatter plot delegate.
- (void) scatterPlot: | (nonnull CPTScatterPlot *) | plot | |
dataLineTouchDownWithEvent: | (nonnull CPTNativeEvent *) | event | |
(Optional) Informs the delegate that the mouse was pressed while over the plot line.
plot | The scatter plot. |
event | The event that triggered the selection. |
- (void) scatterPlot: | (nonnull CPTScatterPlot *) | plot | |
dataLineTouchUpWithEvent: | (nonnull CPTNativeEvent *) | event | |
(Optional) Informs the delegate that the mouse was released while over the plot line.
plot | The scatter plot. |
event | The event that triggered the selection. |
- (void) scatterPlot: | (nonnull CPTScatterPlot *) | plot | |
dataLineWasSelectedWithEvent: | (nonnull CPTNativeEvent *) | event | |
(Optional) Informs the delegate that the mouse was both pressed and released on the plot line.
plot | The scatter plot. |
event | The event that triggered the selection. |
- (void) scatterPlot: | (nonnull CPTScatterPlot *) | plot | |
plotSymbolTouchDownAtRecordIndex: | (NSUInteger) | idx | |
(Optional) Informs the delegate that a data point was pressed.
plot | The scatter plot. |
idx | The index of the clicked data point. |
- (void) scatterPlot: | (nonnull CPTScatterPlot *) | plot | |
plotSymbolTouchDownAtRecordIndex: | (NSUInteger) | idx | |
withEvent: | (nonnull CPTNativeEvent *) | event | |
(Optional) Informs the delegate that a data point was pressed.
plot | The scatter plot. |
idx | The index of the clicked data point. |
event | The event that triggered the selection. |
- (void) scatterPlot: | (nonnull CPTScatterPlot *) | plot | |
plotSymbolTouchUpAtRecordIndex: | (NSUInteger) | idx | |
(Optional) Informs the delegate that a data point was released.
plot | The scatter plot. |
idx | The index of the clicked data point. |
- (void) scatterPlot: | (nonnull CPTScatterPlot *) | plot | |
plotSymbolTouchUpAtRecordIndex: | (NSUInteger) | idx | |
withEvent: | (nonnull CPTNativeEvent *) | event | |
(Optional) Informs the delegate that a data point was released.
plot | The scatter plot. |
idx | The index of the clicked data point. |
event | The event that triggered the selection. |
- (void) scatterPlot: | (nonnull CPTScatterPlot *) | plot | |
plotSymbolWasSelectedAtRecordIndex: | (NSUInteger) | idx | |
(Optional) Informs the delegate that a data point was both pressed and released.
plot | The scatter plot. |
idx | The index of the clicked data point. |
- (void) scatterPlot: | (nonnull CPTScatterPlot *) | plot | |
plotSymbolWasSelectedAtRecordIndex: | (NSUInteger) | idx | |
withEvent: | (nonnull CPTNativeEvent *) | event | |
(Optional) Informs the delegate that a data point was both pressed and released.
plot | The scatter plot. |
idx | The index of the clicked data point. |
event | The event that triggered the selection. |
- (void) scatterPlot: | (nonnull CPTScatterPlot *) | plot | |
prepareForDrawingPlotLine: | (nonnull CGPathRef) | dataLinePath | |
inContext: | (nonnull CGContextRef) | context | |
(Optional) Gives the delegate an opportunity to do something just before the plot line will be drawn. A common operation is to draw a selection indicator for the plot line. This is called after the plot fill has been drawn.
plot | The scatter plot. |
dataLinePath | The CGPath describing the plot line that is about to be drawn. |
context | The graphics context in which the plot line will be drawn. |
- (void) scatterPlotDataLineTouchDown: | (nonnull CPTScatterPlot *) | plot |
(Optional) Informs the delegate that the mouse was pressed while over the plot line.
plot | The scatter plot. |
- (void) scatterPlotDataLineTouchUp: | (nonnull CPTScatterPlot *) | plot |
(Optional) Informs the delegate that the mouse was released while over the plot line.
plot | The scatter plot. |
- (void) scatterPlotDataLineWasSelected: | (nonnull CPTScatterPlot *) | plot |
(Optional) Informs the delegate that the mouse was both pressed and released on the plot line.
plot | The scatter plot. |