Core Plot (iOS and tvOS)
Cocoa plotting framework for macOS, iOS, and tvOS
CPTAxisTitle Class Reference

An axis title. More...

#import <CPTAxisTitle.h>

+ Inheritance diagram for CPTAxisTitle:
+ Collaboration diagram for CPTAxisTitle:

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
CPTLayercontentLayer
 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...
 
NSNumbertickLocation
 The data coordinate of the tick location. More...
 

Detailed Description

An axis title.

The title can be text-based or can be the content of any CPTLayer provided by the user.

Method Documentation

◆ isEqual:

- (BOOL) isEqual: (nullable id object
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.

Parameters
objectThe object to be compared with the receiver.
Returns
YES if object is equal to the receiver, NO otherwise.

Reimplemented from CPTAxisLabel.


The documentation for this class was generated from the following files: