Core Plot (iOS and tvOS)
Cocoa plotting framework for macOS, iOS, and tvOS
|
CPTAxis abstract methods—must be overridden by subclasses. More...
#import <CPTAxis.h>
Public Instance Methods | |
(CGPoint) | - viewPointForCoordinateValue: [implementation] |
Converts a position on the axis to drawing coordinates. More... | |
(void) | - drawGridLinesInContext:isMajor: [implementation] |
Draws grid lines into the provided graphics context. More... | |
(void) | - drawBackgroundBandsInContext: [implementation] |
Draws alternating background bands into the provided graphics context. More... | |
(void) | - drawBackgroundLimitsInContext: [implementation] |
Draws background limit ranges into the provided graphics context. More... | |
Coordinate Space Conversions | |
(CGPoint) | - viewPointForCoordinateValue: |
Grid Lines | |
(void) | - drawGridLinesInContext:isMajor: |
Background Bands | |
(void) | - drawBackgroundBandsInContext: |
(void) | - drawBackgroundLimitsInContext: |
CPTAxis abstract methods—must be overridden by subclasses.
|
implementation |
Draws alternating background bands into the provided graphics context.
context | The graphics context to draw into. |
Extends class CPTAxis.
- (void) drawBackgroundBandsInContext: | (nonnull CGContextRef) | context |
Extends class CPTAxis.
|
implementation |
Draws background limit ranges into the provided graphics context.
context | The graphics context to draw into. |
Extends class CPTAxis.
- (void) drawBackgroundLimitsInContext: | (nonnull CGContextRef) | context |
Extends class CPTAxis.
|
implementation |
- (void) drawGridLinesInContext: | (nonnull CGContextRef) | context | |
isMajor: | (BOOL) | major | |
Extends class CPTAxis.
|
implementation |
Converts a position on the axis to drawing coordinates.
coordinateValue | The axis value in data coordinate space. |
Extends class CPTAxis.
Extends class CPTAxis.