Core Plot (macOS)
Cocoa plotting framework for macOS, iOS, and tvOS
CPTAxis(AbstractMethods) Category Reference

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:
 

Detailed Description

CPTAxis abstract methods—must be overridden by subclasses.

Method Documentation

◆ drawBackgroundBandsInContext: [1/2]

- (void) drawBackgroundBandsInContext: (nonnull CGContextRef __unused)  context
implementation

Draws alternating background bands into the provided graphics context.

Parameters
contextThe graphics context to draw into.

Extends class CPTAxis.

◆ drawBackgroundBandsInContext: [2/2]

- (void) drawBackgroundBandsInContext: (nonnull CGContextRef context

Extends class CPTAxis.

◆ drawBackgroundLimitsInContext: [1/2]

- (void) drawBackgroundLimitsInContext: (nonnull CGContextRef __unused)  context
implementation

Draws background limit ranges into the provided graphics context.

Parameters
contextThe graphics context to draw into.

Extends class CPTAxis.

◆ drawBackgroundLimitsInContext: [2/2]

- (void) drawBackgroundLimitsInContext: (nonnull CGContextRef context

Extends class CPTAxis.

◆ drawGridLinesInContext:isMajor: [1/2]

- (void) drawGridLinesInContext: (nonnull CGContextRef __unused)  context
isMajor: (BOOL __unused)  major 
implementation

Draws grid lines into the provided graphics context.

Parameters
contextThe graphics context to draw into.
majorDraw the major grid lines If YES, minor grid lines otherwise.

Extends class CPTAxis.

◆ drawGridLinesInContext:isMajor: [2/2]

- (void) drawGridLinesInContext: (nonnull CGContextRef context
isMajor: (BOOL major 

Extends class CPTAxis.

◆ viewPointForCoordinateValue: [1/2]

- (CGPoint) viewPointForCoordinateValue: (nullable NSNumber *__unused)  coordinateValue
implementation

Converts a position on the axis to drawing coordinates.

Parameters
coordinateValueThe axis value in data coordinate space.
Returns
The drawing coordinates of the point.

Extends class CPTAxis.

◆ viewPointForCoordinateValue: [2/2]

- (CGPoint) viewPointForCoordinateValue: (nullable NSNumber *)  coordinateValue

Extends class CPTAxis.


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