Core Plot (iOS and tvOS)
Cocoa plotting framework for macOS, iOS, and tvOS
|
An axis title. More...
#import <CPTAxisTitle.h>
Public Instance Methods | |
Comparison | |
(BOOL) | - isEqual: [implementation] |
Returns a boolean value that indicates whether the received is equal to the given object. Axis titles are equal if they have the same tickLocation, rotation, and contentLayer. More... | |
Public Instance Methods inherited from CPTAxisLabel | |
(nonnull instancetype) | - initWithText:textStyle: |
Initializes a newly allocated text-based CPTAxisLabel object with the provided text and style. More... | |
(nonnull instancetype) | - initWithContentLayer: |
Initializes a newly allocated CPTAxisLabel object with the provided layer. This is the designated initializer. More... | |
(nullable instancetype) | - initWithCoder: |
Returns an object initialized from data in a given unarchiver. More... | |
(void) | - positionRelativeToViewPoint:forCoordinate:inDirection: |
Positions the axis label relative to the given point. The algorithm for positioning is different when the rotation property is non-zero. When zero, the anchor point is positioned along the closest side of the label. When non-zero, the anchor point is left at the center. This has consequences for the value taken by the offset. More... | |
(void) | - positionBetweenViewPoint:andViewPoint:forCoordinate:inDirection: |
Positions the axis label between two given points. More... | |
Public Instance Methods inherited from NSObject | |
(Class) | - classForCoder |
(id) | - copy |
(void) | - dealloc |
(void) | - finalize |
(id) | - init |
(id) | - mutableCopy |
Public Instance Methods inherited from <NSObject> | |
(NSString *) | - description |
(NSUInteger) | - hash |
(BOOL) | - isEqual: |
Public Instance Methods inherited from <NSCoding> | |
(id) | - initWithCoder: |
(void) | - encodeWithCoder: |
Additional Inherited Members | |
Public Class Methods inherited from NSObject | |
(id) | + alloc |
(Class) | + class |
(void) | + initialize |
(void) | + load |
(id) | + new |
Public Class Methods inherited from <NSSecureCoding> | |
(BOOL) | + supportsSecureCoding: |
Properties inherited from CPTAxisLabel | |
CPTLayer * | contentLayer |
The label content. More... | |
CGFloat | offset |
The offset distance between the axis and label. More... | |
CGFloat | rotation |
The rotation of the label in radians. More... | |
CPTAlignment | alignment |
The alignment of the axis label with respect to the tick mark. More... | |
NSNumber * | tickLocation |
The data coordinate of the tick location. More... | |
An axis title.
The title can be text-based or can be the content of any CPTLayer provided by the user.
Returns a boolean value that indicates whether the received is equal to the given object. Axis titles are equal if they have the same tickLocation, rotation, and contentLayer.
object | The object to be compared with the receiver. |
Reimplemented from CPTAxisLabel.