Axis labeling delegate.
More...
#import <CPTAxis.h>
◆ axis:labelTouchDown:
(Optional) Informs the delegate that an axis label was pressed.
- Parameters
-
axis | The axis. |
label | The selected axis label. |
◆ axis:labelTouchDown:withEvent:
(Optional) Informs the delegate that an axis label was pressed.
- Parameters
-
axis | The axis. |
label | The selected axis label. |
event | The event that triggered the selection. |
◆ axis:labelTouchUp:
(Optional) Informs the delegate that an axis label was released.
- Parameters
-
axis | The axis. |
label | The selected axis label. |
◆ axis:labelTouchUp:withEvent:
(Optional) Informs the delegate that an axis label was released.
- Parameters
-
axis | The axis. |
label | The selected axis label. |
event | The event that triggered the selection. |
◆ axis:labelWasSelected:
(Optional) Informs the delegate that an axis label was both pressed and released.
- Parameters
-
axis | The axis. |
label | The selected axis label. |
◆ axis:labelWasSelected:withEvent:
(Optional) Informs the delegate that an axis label was both pressed and released.
- Parameters
-
axis | The axis. |
label | The selected axis label. |
event | The event that triggered the selection. |
◆ axis:minorTickLabelWasSelected:
- (void) axis: |
|
(nonnull CPTAxis *) |
axis |
minorTickLabelWasSelected: |
|
(nonnull CPTAxisLabel *) |
label |
|
|
| |
(Optional) Informs the delegate that a minor tick axis label was both pressed and released.
- Parameters
-
axis | The axis. |
label | The selected minor tick axis label. |
◆ axis:minorTickLabelWasSelected:withEvent:
(Optional) Informs the delegate that a minor tick axis label was both pressed and released.
- Parameters
-
axis | The axis. |
label | The selected minor tick axis label. |
event | The event that triggered the selection. |
◆ axis:minorTickTouchDown:
(Optional) Informs the delegate that a minor tick axis label was pressed.
- Parameters
-
axis | The axis. |
label | The selected minor tick axis label. |
◆ axis:minorTickTouchDown:withEvent:
(Optional) Informs the delegate that a minor tick axis label was pressed.
- Parameters
-
axis | The axis. |
label | The selected minor tick axis label. |
event | The event that triggered the selection. |
◆ axis:minorTickTouchUp:
(Optional) Informs the delegate that a minor tick axis label was released.
- Parameters
-
axis | The axis. |
label | The selected minor tick axis label. |
◆ axis:minorTickTouchUp:withEvent:
(Optional) Informs the delegate that a minor tick axis label was released.
- Parameters
-
axis | The axis. |
label | The selected minor tick axis label. |
event | The event that triggered the selection. |
◆ axis:shouldUpdateAxisLabelsAtLocations:
(Optional) This method gives the delegate a chance to create custom labels for each tick. It can be used with any labeling policy. Returning NO will cause the axis not to update the labels. It is then the delegate’s responsibility to do this.
- Parameters
-
axis | The axis. |
locations | The locations of the major ticks. |
- Returns
- YES if the axis class should proceed with automatic labeling.
◆ axis:shouldUpdateMinorAxisLabelsAtLocations:
(Optional) This method gives the delegate a chance to create custom labels for each minor tick. It can be used with any labeling policy. Returning NO will cause the axis not to update the labels. It is then the delegate’s responsibility to do this.
- Parameters
-
axis | The axis. |
locations | The locations of the minor ticks. |
- Returns
- YES if the axis class should proceed with automatic labeling.
◆ axisDidRelabel:
- (void) axisDidRelabel: |
|
(nonnull CPTAxis *) |
axis |
|
(Optional) The method is called after the axis is relabeled to allow the delegate to perform any necessary cleanup or further labeling actions.
- Parameters
-
◆ axisShouldRelabel:
(Optional) Determines if the axis should relabel itself now.
- Parameters
-
- Returns
- YES if the axis should relabel now.
The documentation for this protocol was generated from the following file: