![]() |
Core Plot (iOS and tvOS)
Cocoa plotting framework for macOS, iOS, and tvOS
|
Scatter plot delegate. More...
#import <CPTScatterPlot.h>
Inheritance diagram for <CPTScatterPlotDelegate>:
Collaboration diagram for <CPTScatterPlotDelegate>:Public Instance Methods | |
Data Point Selection | |
| (void) | - scatterPlot:plotSymbolWasSelectedAtRecordIndex: |
| (Optional) Informs the delegate that a data point received both the touch down and up events. More... | |
| (void) | - scatterPlot:plotSymbolWasSelectedAtRecordIndex:withEvent: |
| (Optional) Informs the delegate that a data point received both the touch down and up events. More... | |
| (void) | - scatterPlot:plotSymbolTouchDownAtRecordIndex: |
| (Optional) Informs the delegate that a data point touch started. More... | |
| (void) | - scatterPlot:plotSymbolTouchDownAtRecordIndex:withEvent: |
| (Optional) Informs the delegate that a data point touch started. More... | |
| (void) | - scatterPlot:plotSymbolTouchUpAtRecordIndex: |
| (Optional) Informs the delegate that a data point touch ended. More... | |
| (void) | - scatterPlot:plotSymbolTouchUpAtRecordIndex:withEvent: |
| (Optional) Informs the delegate that a data point touch ended. More... | |
Data Line Selection | |
| (void) | - scatterPlotDataLineWasSelected: |
| (Optional) Informs the delegate that the plot line received both the touch down and up events. More... | |
| (void) | - scatterPlot:dataLineWasSelectedWithEvent: |
| (Optional) Informs the delegate that the plot line received both the touch down and up events. More... | |
| (void) | - scatterPlotDataLineTouchDown: |
| (Optional) Informs the delegate that touch started while over the plot line. More... | |
| (void) | - scatterPlot:dataLineTouchDownWithEvent: |
| (Optional) Informs the delegate that touch started while over the plot line. More... | |
| (void) | - scatterPlotDataLineTouchUp: |
| (Optional) Informs the delegate that touch ended while over the plot line. More... | |
| (void) | - scatterPlot:dataLineTouchUpWithEvent: |
| (Optional) Informs the delegate that touch ended 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 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: |
Scatter plot delegate.
| - (void) scatterPlot: | (nonnull CPTScatterPlot *) | plot | |
| dataLineTouchDownWithEvent: | (nonnull CPTNativeEvent *) | event | |
(Optional) Informs the delegate that touch started 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 touch ended 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 plot line received both the touch down and up events.
| 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 touch started.
| plot | The scatter plot. |
| idx | The index of the touched data point. |
| - (void) scatterPlot: | (nonnull CPTScatterPlot *) | plot | |
| plotSymbolTouchDownAtRecordIndex: | (NSUInteger) | idx | |
| withEvent: | (nonnull CPTNativeEvent *) | event | |
(Optional) Informs the delegate that a data point touch started.
| plot | The scatter plot. |
| idx | The index of the touched 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 touch ended.
| plot | The scatter plot. |
| idx | The index of the touched data point. |
| - (void) scatterPlot: | (nonnull CPTScatterPlot *) | plot | |
| plotSymbolTouchUpAtRecordIndex: | (NSUInteger) | idx | |
| withEvent: | (nonnull CPTNativeEvent *) | event | |
(Optional) Informs the delegate that a data point touch ended.
| plot | The scatter plot. |
| idx | The index of the touched 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 received both the touch down and up events.
| plot | The scatter plot. |
| idx | The index of the touched data point. |
| - (void) scatterPlot: | (nonnull CPTScatterPlot *) | plot | |
| plotSymbolWasSelectedAtRecordIndex: | (NSUInteger) | idx | |
| withEvent: | (nonnull CPTNativeEvent *) | event | |
(Optional) Informs the delegate that a data point received both the touch down and up events.
| plot | The scatter plot. |
| idx | The index of the touched 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 touch started while over the plot line.
| plot | The scatter plot. |
| - (void) scatterPlotDataLineTouchUp: | (nonnull CPTScatterPlot *) | plot |
(Optional) Informs the delegate that touch ended while over the plot line.
| plot | The scatter plot. |
| - (void) scatterPlotDataLineWasSelected: | (nonnull CPTScatterPlot *) | plot |
(Optional) Informs the delegate that the plot line received both the touch down and up events.
| plot | The scatter plot. |