Core Plot (iOS and tvOS)
Cocoa plotting framework for macOS, iOS, and tvOS
|
An abstract axis class. 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... | |
Ticks | |
(nullable CPTNumberSet *) | - filteredMajorTickLocations: |
Removes any major ticks falling inside the label exclusion ranges from the set of tick locations. More... | |
(nullable CPTNumberSet *) | - filteredMinorTickLocations: |
Removes any minor ticks falling inside the label exclusion ranges from the set of tick locations. More... | |
Initialization | |
(nonnull instancetype) | - initWithFrame: [implementation] |
Initializes a newly allocated CPTAxis object with the provided frame rectangle. More... | |
Layout | |
(void) | - layoutSublayers [implementation] |
Updates the layout of all sublayers. The axes are relabeled if needed and all axis labels are repositioned. More... | |
User Interaction | |
(BOOL) | - pointingDeviceDownEvent:atPoint: [implementation] |
Informs the receiver that the user has started touching the screen. More... | |
(BOOL) | - pointingDeviceUpEvent:atPoint: [implementation] |
Informs the receiver that the user has ended touching the screen. More... | |
Coordinate Space Conversions | |
(CGPoint) | - viewPointForCoordinateValue: |
Public Instance Methods inherited from CPTLayer | |
(nullable instancetype) | - initWithCoder: |
Returns an object initialized from data in a given unarchiver. More... | |
(nonnull instancetype) | - initWithLayer: |
Override to copy or initialize custom fields of the specified layer. More... | |
(nonnull instancetype) | - init [implementation] |
Initializes a newly allocated CPTLayer object with an empty frame rectangle. More... | |
(void) | - logLayers |
Logs this layer and all of its sublayers. More... | |
(BOOL) | - pointingDeviceDownEvent:atPoint: [implementation] |
(BOOL) | - pointingDeviceUpEvent:atPoint: [implementation] |
(BOOL) | - pointingDeviceDraggedEvent:atPoint: [implementation] |
(BOOL) | - pointingDeviceCancelledEvent: [implementation] |
(nullable CPTNativeImage *) | - imageOfLayer |
Gets an image of the layer contents. More... | |
(void) | - setNeedsDisplayAllLayers |
Recursively marks this layer and all sublayers as needing to be redrawn. More... | |
(void) | - renderAsVectorInContext: |
Draws layer content into the provided graphics context. More... | |
(void) | - recursivelyRenderInContext: |
Draws layer content and the content of all sublayers into the provided graphics context. More... | |
(void) | - layoutAndRenderInContext: |
Updates the layer layout if needed and then draws layer content and the content of all sublayers into the provided graphics context. More... | |
(nonnull NSData *) | - dataForPDFRepresentationOfLayer |
Draws layer content and the content of all sublayers into a PDF document. More... | |
(void) | - applySublayerMaskToContext:forSublayer:withOffset: |
Recursively sets the clipping path of the given graphics context to the sublayer masking paths of its superlayers. More... | |
(void) | - applyMaskToContext: |
Sets the clipping path of the given graphics context to mask the content. More... | |
(void) | - pixelAlign |
Align the receiver’s position with pixel boundaries. More... | |
(void) | - sublayerMarginLeft:top:right:bottom: |
Returns the margins that should be left between the bounds of the receiver and all sublayers. More... | |
Public Instance Methods inherited from CALayer | |
(BOOL) | - containsPoint: |
(void) | - drawInContext: |
(id) | - init |
(id) | - initWithLayer |
(void) | - layoutSublayers |
(void) | - setNeedsDisplay |
(void) | - setNeedsDisplayInRect: |
(void) | - setNeedsLayout |
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 <CPTResponder> | |
(BOOL) | - pointingDeviceDraggedEvent:atPoint: |
(Required) Informs the receiver that the user has moved their finger while touching the screen. More... | |
(BOOL) | - pointingDeviceCancelledEvent: |
(Required) Informs the receiver that tracking of touches has been cancelled for any reason. More... | |
Properties | |
Axis | |
CPTLineStyle * | axisLineStyle |
The line style for the axis line. If nil, the line is not drawn. More... | |
CPTCoordinate | coordinate |
The axis coordinate. More... | |
NSNumber * | labelingOrigin |
The origin used for axis labels. The default value is 0 . It is only used when the axis labeling policy is CPTAxisLabelingPolicyFixedInterval. The origin is a reference point used to being labeling. Labels are added at the origin, as well as at fixed intervals above and below the origin. More... | |
CPTSign | tickDirection |
The tick direction. The direction is given as the sign that ticks extend along the axis (e.g., positive or negative). More... | |
CPTPlotRange * | visibleRange |
The plot range over which the axis and ticks are visible. Use this to restrict an axis and its grid lines to less than the full plot area width. Use the visibleAxisRange to specify a separate range for the axis line, if needed. Set to nil for no restriction. More... | |
CPTPlotRange * | visibleAxisRange |
The plot range over which the axis itself is visible. Use this to restrict an axis line to less than the full plot area width. This range is independent of the visibleRange and overrides it for the axis line and line cap. Set to nil to use the visibleRange instead. More... | |
CPTLineCap * | axisLineCapMin |
The line cap for the end of the axis line with the minimum value. More... | |
CPTLineCap * | axisLineCapMax |
The line cap for the end of the axis line with the maximum value. More... | |
Major Ticks | |
NSNumber * | majorIntervalLength |
The distance between major tick marks expressed in data coordinates. More... | |
CGFloat | majorTickLength |
The length of the major tick marks. More... | |
CPTLineStyle * | majorTickLineStyle |
The line style for the major tick marks. If nil, the major ticks are not drawn. More... | |
CPTNumberSet * | majorTickLocations |
A set of axis coordinates for all major tick marks. More... | |
NSUInteger | preferredNumberOfMajorTicks |
The number of ticks that should be targeted when auto-generating positions. This property only applies when the CPTAxisLabelingPolicyAutomatic or CPTAxisLabelingPolicyEqualDivisions policies are in use. If zero (0 ) (the default), Core Plot will choose a reasonable number of ticks. More... | |
Minor Ticks | |
NSUInteger | minorTicksPerInterval |
The number of minor tick marks drawn in each major tick interval. More... | |
CGFloat | minorTickLength |
The length of the minor tick marks. More... | |
CPTLineStyle * | minorTickLineStyle |
The line style for the minor tick marks. If nil, the minor ticks are not drawn. More... | |
CPTNumberSet * | minorTickLocations |
A set of axis coordinates for all minor tick marks. More... | |
Plot Space | |
CPTPlotSpace * | plotSpace |
The plot space for the axis. More... | |
Layers | |
BOOL | separateLayers |
Use separate layers for drawing grid lines? More... | |
CPTPlotArea * | plotArea |
The plot area that the axis belongs to. More... | |
CPTGridLines * | minorGridLines |
The layer that draws the minor grid lines. More... | |
CPTGridLines * | majorGridLines |
The layer that draws the major grid lines. More... | |
CPTAxisSet * | axisSet |
The axis set that the axis belongs to. More... | |
Properties inherited from CPTLayer | |
CPTGraph * | graph |
The graph for the layer. More... | |
CGFloat | paddingLeft |
Amount to inset the left side of each sublayer. More... | |
CGFloat | paddingTop |
Amount to inset the top of each sublayer. More... | |
CGFloat | paddingRight |
Amount to inset the right side of each sublayer. More... | |
CGFloat | paddingBottom |
Amount to inset the bottom of each sublayer. More... | |
id< NSCopying, NSCoding, NSObject > | identifier |
An object used to identify the layer in collections. More... | |
CGFloat | contentsScale |
The scale factor applied to the layer. More... | |
BOOL | useFastRendering |
If YES, subclasses should optimize their drawing for speed over precision. More... | |
CPTShadow * | shadow |
The shadow drawn under the layer content. If nil (the default), no shadow is drawn. More... | |
CGSize | shadowMargin |
The maximum margin size needed to fully enclose the layer shadow. More... | |
BOOL | masksToBorder |
If YES, a sublayer mask is applied to clip sublayer content to the inside of the border. More... | |
CGPathRef | outerBorderPath |
A drawing path that encompasses the outer boundary of the layer border. More... | |
CGPathRef | innerBorderPath |
A drawing path that encompasses the inner boundary of the layer border. More... | |
CGPathRef | maskingPath |
A drawing path that encompasses the layer content including any borders. Set to NULL when no masking is desired. More... | |
CGPathRef | sublayerMaskingPath |
A drawing path that encompasses the layer content excluding any borders. Set to NULL when no masking is desired. More... | |
CPTSublayerSet * | sublayersExcludedFromAutomaticLayout |
A set of sublayers that should be excluded from the automatic sublayer layout. More... | |
Properties inherited from CALayer | |
CGPoint | anchorPoint |
CGRect | bounds |
CGFloat | contentsScale |
CGFloat | cornerRadius |
id | delegate |
CGRect | frame |
BOOL | masksToBounds |
BOOL | needsDisplayOnBoundsChange |
BOOL | opacity |
BOOL | opaque |
Properties inherited from <CAMediaTiming> | |
BOOL | autoreverses |
CFTimeInterval | beginTime |
CFTimeInterval | duration |
NSString * | fillMode |
float | repeatCount |
id | repeatDuration |
float | speed |
CFTimeInterval | timeOffset |
Title | |
CPTTextStyle * | titleTextStyle |
The text style used to draw the axis title text. More... | |
CPTAxisTitle * | axisTitle |
The axis title. If nil, no title is drawn. More... | |
CGFloat | titleOffset |
The offset distance between the axis title and the axis line. More... | |
NSString * | title |
A convenience property for setting the text title of the axis. More... | |
NSAttributedString * | attributedTitle |
A convenience property for setting the styled text title of the axis. More... | |
CGFloat | titleRotation |
The rotation angle of the axis title in radians. If NaN (the default), the title will be parallel to the axis. More... | |
CPTSign | titleDirection |
The offset direction for the axis title. The direction is given as the sign that ticks extend along the axis (e.g., positive or negative). If the title direction is CPTSignNone (the default), the title is offset in the direction indicated by the tickDirection. More... | |
NSNumber * | titleLocation |
The position along the axis where the axis title should be centered. If NaN (the default), the defaultTitleLocation will be used. More... | |
NSNumber * | defaultTitleLocation |
The position along the axis where the axis title should be centered if titleLocation is NaN . More... | |
(void) | - updateAxisTitle |
Update the axis title position. More... | |
Labels | |
CPTAxisLabelingPolicy | labelingPolicy |
The axis labeling policy. More... | |
CGFloat | labelOffset |
The offset distance between the tick marks and labels. More... | |
CGFloat | minorTickLabelOffset |
The offset distance between the minor tick marks and labels. More... | |
CGFloat | labelRotation |
The rotation of the axis labels in radians. Set this property to π/2 to have labels read up the screen, for example. More... | |
CGFloat | minorTickLabelRotation |
The rotation of the axis minor tick labels in radians. Set this property to π/2 to have labels read up the screen, for example. More... | |
CPTAlignment | labelAlignment |
The alignment of the axis label with respect to the tick mark. More... | |
CPTAlignment | minorTickLabelAlignment |
The alignment of the axis label with respect to the tick mark. More... | |
CPTTextStyle * | labelTextStyle |
The text style used to draw the label text. More... | |
CPTTextStyle * | minorTickLabelTextStyle |
The text style used to draw the label text of minor tick labels. More... | |
CPTSign | tickLabelDirection |
The offset direction for major tick labels. The direction is given as the sign that ticks extend along the axis (e.g., positive or negative). If the label direction is CPTSignNone (the default), the labels are offset in the direction indicated by the tickDirection. More... | |
CPTSign | minorTickLabelDirection |
The offset direction for minor tick labels. The direction is given as the sign that ticks extend along the axis (e.g., positive or negative). If the label direction is CPTSignNone (the default), the labels are offset in the direction indicated by the tickDirection. More... | |
NSFormatter * | labelFormatter |
The number formatter used to format the label text. If you need a non-numerical label, such as a date, you can use a formatter than turns the numerical plot coordinate into a string (e.g., “Jan 10, 2010”). The CPTCalendarFormatter and CPTTimeFormatter classes are useful for this purpose. More... | |
NSFormatter * | minorTickLabelFormatter |
The number formatter used to format the label text of minor ticks. If you need a non-numerical label, such as a date, you can use a formatter than turns the numerical plot coordinate into a string (e.g., “Jan 10, 2010”). The CPTCalendarFormatter and CPTTimeFormatter classes are useful for this purpose. More... | |
CPTAxisLabelSet * | axisLabels |
The set of axis labels. More... | |
CPTAxisLabelSet * | minorTickAxisLabels |
The set of minor tick axis labels. More... | |
BOOL | needsRelabel |
If YES, the axis needs to be relabeled before the layer content is drawn. More... | |
CPTPlotRangeArray * | labelExclusionRanges |
An array of CPTPlotRange objects. Any tick marks and labels falling inside any of the ranges in the array will not be drawn. More... | |
CPTShadow * | labelShadow |
The shadow applied to each axis label. More... | |
CPTShadow * | minorTickLabelShadow |
The shadow applied to each minor tick axis label. More... | |
(void) | - relabel |
Updates the axis labels. More... | |
(void) | - setNeedsRelabel |
Marks the receiver as needing to update the labels before the content is next drawn. More... | |
(void) | - updateMajorTickLabels |
Update the major tick mark labels. More... | |
(void) | - updateMinorTickLabels |
Update the minor tick mark labels. More... | |
Grid Lines | |
CPTLineStyle * | majorGridLineStyle |
The line style for the major grid lines. If nil, the major grid lines are not drawn. More... | |
CPTLineStyle * | minorGridLineStyle |
The line style for the minor grid lines. If nil, the minor grid lines are not drawn. More... | |
CPTPlotRange * | gridLinesRange |
The plot range over which the grid lines are visible. Note that this range applies to the orthogonal coordinate, not the axis coordinate itself. Set to nil for no restriction. More... | |
(void) | - drawGridLinesInContext:isMajor: |
Background Bands | |
CPTFillArray * | alternatingBandFills |
An array of two or more fills to be drawn between successive major tick marks. More... | |
NSNumber * | alternatingBandAnchor |
The starting location of the first band fill. More... | |
CPTLimitBandArray * | backgroundLimitBands |
An array of CPTLimitBand objects. More... | |
(void) | - addBackgroundLimitBand: |
Add a background limit band. More... | |
(void) | - removeBackgroundLimitBand: |
Remove a background limit band. More... | |
(void) | - removeAllBackgroundLimitBands |
Remove all background limit bands. More... | |
(void) | - drawBackgroundBandsInContext: |
(void) | - drawBackgroundLimitsInContext: |
Additional Inherited Members | |
Public Class Methods inherited from CALayer | |
(id) | + layer |
Public Class Methods inherited from NSObject | |
(id) | + alloc |
(Class) | + class |
(void) | + initialize |
(void) | + load |
(id) | + new |
Public Class Methods inherited from <NSSecureCoding> | |
(BOOL) | + supportsSecureCoding: |
An abstract axis class.
The figure below illustrates the relationship between the three plot range properties. If all are nil, the axis and grid lines will extend the full width of the plot area.
- (void) addBackgroundLimitBand: | (nullable CPTLimitBand *) | limitBand |
Add a background limit band.
limitBand | The new limit band. |
|
implementation |
Draws alternating background bands into the provided graphics context.
context | The graphics context to draw into. |
Provided by category CPTAxis(AbstractMethods).
- (void) drawBackgroundBandsInContext: | (nonnull CGContextRef) | context |
Provided by category CPTAxis(AbstractMethods).
|
implementation |
Draws background limit ranges into the provided graphics context.
context | The graphics context to draw into. |
Provided by category CPTAxis(AbstractMethods).
- (void) drawBackgroundLimitsInContext: | (nonnull CGContextRef) | context |
Provided by category CPTAxis(AbstractMethods).
|
implementation |
Draws grid lines into the provided graphics context.
context | The graphics context to draw into. |
major | Draw the major grid lines If YES, minor grid lines otherwise. |
Provided by category CPTAxis(AbstractMethods).
- (void) drawGridLinesInContext: | (nonnull CGContextRef) | context | |
isMajor: | (BOOL) | major | |
Provided by category CPTAxis(AbstractMethods).
- (nullable CPTNumberSet *) filteredMajorTickLocations: | (nullable CPTNumberSet *) | allLocations |
Removes any major ticks falling inside the label exclusion ranges from the set of tick locations.
allLocations | A set of major tick locations. |
- (nullable CPTNumberSet *) filteredMinorTickLocations: | (nullable CPTNumberSet *) | allLocations |
Removes any minor ticks falling inside the label exclusion ranges from the set of tick locations.
allLocations | A set of minor tick locations. |
|
implementation |
Initializes a newly allocated CPTAxis object with the provided frame rectangle.
This is the designated initializer. The initialized layer will have the following properties:
0
3.0
5.0
2.0
2.0
0.0
0.0
30.0
0
1
1
NaN
NaN
newFrame | The frame rectangle. |
Reimplemented from CPTLayer.
Reimplemented in CPTXYAxis.
|
implementation |
Updates the layout of all sublayers. The axes are relabeled if needed and all axis labels are repositioned.
This is where we do our custom replacement for the Mac-only layout manager and autoresizing mask. Subclasses should override this method to provide a different layout of their own sublayers.
Reimplemented from CPTLayer.
|
implementation |
Informs the receiver that the user has started touching the screen.
If this axis has a delegate that responds to either -axis:labelTouchDown: or -axis:labelTouchDown:withEvent: methods, the axis labels are searched to find the one containing the interactionPoint
. The delegate method will be called and this method returns YES if the interactionPoint
is within a label.
If this axis has a delegate that responds to either -axis:minorTickTouchDown: or -axis:minorTickTouchDown:withEvent: methods, the minor tick axis labels are searched to find the one containing the interactionPoint
. The delegate method will be called and this method returns YES if the interactionPoint
is within a label.
This method returns NO if the interactionPoint
is outside all of the labels.
event | The OS event. |
interactionPoint | The coordinates of the interaction. |
Reimplemented from <CPTResponder>.
|
implementation |
Informs the receiver that the user has ended touching the screen.
If this axis has a delegate that responds to -axis:labelTouchUp: , -axis:labelTouchUp:withEvent: -axis:labelWasSelected: , and/or -axis:labelWasSelected:withEvent: methods, the axis labels are searched to find the one containing the interactionPoint
. The delegate method will be called and this method returns YES if the interactionPoint
is within a label.
If this axis has a delegate that responds to -axis:minorTickTouchUp: , -axis:minorTickTouchUp:withEvent: -axis:minorTickLabelWasSelected: , and/or -axis:minorTickLabelWasSelected:withEvent: methods, the minor tick axis labels are searched to find the one containing the interactionPoint
. The delegate method will be called and this method returns YES if the interactionPoint
is within a label.
This method returns NO if the interactionPoint
is outside all of the labels.
event | The OS event. |
interactionPoint | The coordinates of the interaction. |
Reimplemented from <CPTResponder>.
- (void) relabel |
Updates the axis labels.
- (void) removeAllBackgroundLimitBands |
Remove all background limit bands.
- (void) removeBackgroundLimitBand: | (nullable CPTLimitBand *) | limitBand |
Remove a background limit band.
limitBand | The limit band to be removed. |
- (void) setNeedsRelabel |
Marks the receiver as needing to update the labels before the content is next drawn.
- (void) updateAxisTitle |
Update the axis title position.
- (void) updateMajorTickLabels |
Update the major tick mark labels.
- (void) updateMinorTickLabels |
Update the minor tick mark labels.
|
implementation |
Converts a position on the axis to drawing coordinates.
coordinateValue | The axis value in data coordinate space. |
Provided by category CPTAxis(AbstractMethods).
Provided by category CPTAxis(AbstractMethods).
|
readwritenonatomicstrong |
The starting location of the first band fill.
If nil (the default), the first fill is drawn between the bottom left corner of the plot area and the first major tick location inside the plot area. If the anchor falls between two major tick locations, the first band fill wiil be drawn between those locations.
|
readwritenonatomiccopy |
An array of two or more fills to be drawn between successive major tick marks.
When initializing the fills, provide an NSArray containing any combination of CPTFill, CPTColor, CPTGradient, and/or CPTImage objects. Blank (transparent) bands can be created by using an NSNull object in place of some of the CPTFill objects.
|
readwritenonatomiccopy |
A convenience property for setting the styled text title of the axis.
Assigning a new value to this property also sets the value of the title property to the same string without formatting information. It also replaces the titleTextStyle with a style matching the first position (location 0
) of the styled title. Default is nil.
|
readwritenonatomicstrong |
The set of axis labels.
|
readwritenonatomiccopy |
The line cap for the end of the axis line with the maximum value.
|
readwritenonatomiccopy |
The line cap for the end of the axis line with the minimum value.
|
readwritenonatomiccopy |
The line style for the axis line. If nil, the line is not drawn.
|
readnonatomicassign |
The axis set that the axis belongs to.
|
readwritenonatomicstrong |
The axis title. If nil, no title is drawn.
|
readnonatomicassign |
An array of CPTLimitBand objects.
The limit bands are drawn on top of the alternating band fills.
|
readwritenonatomicassign |
The axis coordinate.
|
readnonatomicassign |
The position along the axis where the axis title should be centered if titleLocation is NaN
.
|
readwritenonatomiccopy |
The plot range over which the grid lines are visible. Note that this range applies to the orthogonal coordinate, not the axis coordinate itself. Set to nil for no restriction.
|
readwritenonatomicassign |
The alignment of the axis label with respect to the tick mark.
|
readwritenonatomicstrong |
An array of CPTPlotRange objects. Any tick marks and labels falling inside any of the ranges in the array will not be drawn.
|
readwritenonatomicstrong |
The number formatter used to format the label text. If you need a non-numerical label, such as a date, you can use a formatter than turns the numerical plot coordinate into a string (e.g., “Jan 10, 2010”). The CPTCalendarFormatter and CPTTimeFormatter classes are useful for this purpose.
|
readwritenonatomicstrong |
The origin used for axis labels. The default value is 0
. It is only used when the axis labeling policy is CPTAxisLabelingPolicyFixedInterval. The origin is a reference point used to being labeling. Labels are added at the origin, as well as at fixed intervals above and below the origin.
|
readwritenonatomicassign |
The axis labeling policy.
|
readwritenonatomicstrong |
The shadow applied to each axis label.
|
readwritenonatomiccopy |
The text style used to draw the label text.
|
readnonatomicweak |
The layer that draws the major grid lines.
|
readwritenonatomiccopy |
The line style for the major grid lines. If nil, the major grid lines are not drawn.
|
readwritenonatomicstrong |
The distance between major tick marks expressed in data coordinates.
|
readwritenonatomicassign |
The length of the major tick marks.
|
readwritenonatomiccopy |
The line style for the major tick marks. If nil, the major ticks are not drawn.
|
readwritenonatomicstrong |
A set of axis coordinates for all major tick marks.
|
readnonatomicweak |
The layer that draws the minor grid lines.
|
readwritenonatomiccopy |
The line style for the minor grid lines. If nil, the minor grid lines are not drawn.
|
readwritenonatomicstrong |
The set of minor tick axis labels.
|
readwritenonatomicassign |
The alignment of the axis label with respect to the tick mark.
|
readwritenonatomicassign |
The offset direction for minor tick labels. The direction is given as the sign that ticks extend along the axis (e.g., positive or negative). If the label direction is CPTSignNone (the default), the labels are offset in the direction indicated by the tickDirection.
|
readwritenonatomicstrong |
The number formatter used to format the label text of minor ticks. If you need a non-numerical label, such as a date, you can use a formatter than turns the numerical plot coordinate into a string (e.g., “Jan 10, 2010”). The CPTCalendarFormatter and CPTTimeFormatter classes are useful for this purpose.
|
readwritenonatomicstrong |
The shadow applied to each minor tick axis label.
|
readwritenonatomiccopy |
The text style used to draw the label text of minor tick labels.
|
readwritenonatomicassign |
The length of the minor tick marks.
|
readwritenonatomiccopy |
The line style for the minor tick marks. If nil, the minor ticks are not drawn.
|
readwritenonatomicstrong |
A set of axis coordinates for all minor tick marks.
|
readwritenonatomicassign |
The number of minor tick marks drawn in each major tick interval.
|
readnonatomicassign |
If YES, the axis needs to be relabeled before the layer content is drawn.
|
readwritenonatomicweak |
The plot area that the axis belongs to.
|
readwritenonatomicstrong |
The plot space for the axis.
|
readwritenonatomicassign |
The number of ticks that should be targeted when auto-generating positions. This property only applies when the CPTAxisLabelingPolicyAutomatic or CPTAxisLabelingPolicyEqualDivisions policies are in use. If zero (0
) (the default), Core Plot will choose a reasonable number of ticks.
|
readwritenonatomicassign |
|
readwritenonatomicassign |
The tick direction. The direction is given as the sign that ticks extend along the axis (e.g., positive or negative).
|
readwritenonatomicassign |
The offset direction for major tick labels. The direction is given as the sign that ticks extend along the axis (e.g., positive or negative). If the label direction is CPTSignNone (the default), the labels are offset in the direction indicated by the tickDirection.
|
readwritenonatomiccopy |
A convenience property for setting the text title of the axis.
Assigning a new value to this property also sets the value of the attributedTitle property to nil.
|
readwritenonatomicassign |
The offset direction for the axis title. The direction is given as the sign that ticks extend along the axis (e.g., positive or negative). If the title direction is CPTSignNone (the default), the title is offset in the direction indicated by the tickDirection.
|
readwritenonatomicstrong |
The position along the axis where the axis title should be centered. If NaN
(the default), the defaultTitleLocation will be used.
|
readwritenonatomiccopy |
The text style used to draw the axis title text.
Assigning a new value to this property also sets the value of the attributedTitle property to nil.
|
readwritenonatomiccopy |
The plot range over which the axis itself is visible. Use this to restrict an axis line to less than the full plot area width. This range is independent of the visibleRange and overrides it for the axis line and line cap. Set to nil to use the visibleRange instead.
|
readwritenonatomiccopy |
The plot range over which the axis and ticks are visible. Use this to restrict an axis and its grid lines to less than the full plot area width. Use the visibleAxisRange to specify a separate range for the axis line, if needed. Set to nil for no restriction.