Plot space delegate.
More...
#import <CPTPlotSpace.h>
◆ plotSpace:didChangePlotRangeForCoordinate:
(Optional) Notifies that plot space has changed a plot range.
- Parameters
-
space | The plot space. |
coordinate | The coordinate of the range. |
◆ plotSpace:shouldHandlePointingDeviceCancelledEvent:
(Optional) Notifies that plot space intercepted a device cancelled event.
- Parameters
-
space | The plot space. |
event | The native event. |
- Returns
- Whether the plot space should handle the event or not. In either case, the delegate may choose to take extra actions, or handle the event itself.
◆ plotSpace:shouldHandlePointingDeviceDownEvent:atPoint:
(Optional) Notifies that plot space intercepted a device down event.
- Parameters
-
space | The plot space. |
event | The native event. |
point | The point in the host view. |
- Returns
- Whether the plot space should handle the event or not. In either case, the delegate may choose to take extra actions, or handle the event itself.
◆ plotSpace:shouldHandlePointingDeviceDraggedEvent:atPoint:
(Optional) Notifies that plot space intercepted a device dragged event.
- Parameters
-
space | The plot space. |
event | The native event. |
point | The point in the host view. |
- Returns
- Whether the plot space should handle the event or not. In either case, the delegate may choose to take extra actions, or handle the event itself.
◆ plotSpace:shouldHandlePointingDeviceUpEvent:atPoint:
(Optional) Notifies that plot space intercepted a device up event.
- Parameters
-
space | The plot space. |
event | The native event. |
point | The point in the host view. |
- Returns
- Whether the plot space should handle the event or not. In either case, the delegate may choose to take extra actions, or handle the event itself.
◆ plotSpace:shouldScaleBy:aboutPoint:
(Optional) Informs the receiver that it should uniformly scale (e.g., in response to a pinch gesture).
- Parameters
-
space | The plot space. |
interactionScale | The scaling factor. |
interactionPoint | The coordinates of the scaling centroid. |
- Returns
- YES if the gesture should be handled by the plot space, and NO if not. In either case, the delegate may choose to take extra actions, or handle the scaling itself.
◆ plotSpace:willChangePlotRangeTo:forCoordinate:
(Optional) Notifies that plot space is going to change a plot range.
- Parameters
-
space | The plot space. |
newRange | The proposed new plot range. |
coordinate | The coordinate of the range. |
- Returns
- The new plot range to be used.
◆ plotSpace:willDisplaceBy:
(Optional) Notifies that plot space is going to scroll.
- Parameters
-
space | The plot space. |
proposedDisplacementVector | The proposed amount by which the plot space will shift. |
- Returns
- The displacement actually applied.
The documentation for this protocol was generated from the following file: