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

Defines a range and fill used to highlight a band of data. More...

#import <CPTLimitBand.h>

+ Inheritance diagram for CPTLimitBand:
+ Collaboration diagram for CPTLimitBand:

Public Class Methods

Factory Methods
(nonnull instancetype) + limitBandWithRange:fill:
 Creates and returns a new CPTLimitBand instance initialized with the provided range and fill. More...
 
- Public Class Methods inherited from NSObject
(id+ alloc
 
(Class+ class
 
(void) + initialize
 
(void) + load
 
(id+ new
 
- Public Class Methods inherited from <NSKeyValueBindingCreation>
(void) + exposeBinding:
 
- Public Class Methods inherited from <NSSecureCoding>
(BOOL+ supportsSecureCoding:
 

Public Instance Methods

Initialization
(nonnull instancetype) - initWithRange:fill:
 Initializes a newly allocated CPTLimitBand object with the provided range and fill. More...
 
(nullable instancetype) - initWithCoder:
 Returns an object initialized from data in a given unarchiver. 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 <NSKeyValueBindingCreation>
(NSArray *) - exposedBindings
 
(Class- valueClassForBinding:
 
(void) - bind:toObject:withKeyPath:options:
 
(NSArray *) - optionDescriptionsForBinding:
 
(NSDictionary *) - infoForBinding:
 
(void) - unbind:
 
- Public Instance Methods inherited from <NSCopying>
(id- copyWithZone:
 
- Public Instance Methods inherited from <NSCoding>
(id- initWithCoder:
 
(void) - encodeWithCoder:
 

Properties

CPTPlotRangerange
 The data range for the band. More...
 
CPTFillfill
 The fill used to draw the band. More...
 

Detailed Description

Defines a range and fill used to highlight a band of data.

Method Documentation

◆ initWithCoder:

- (nullable instancetype) initWithCoder: (nonnull NSCoder *)  decoder

Returns an object initialized from data in a given unarchiver.

Parameters
decoderAn unarchiver object.
Returns
An object initialized from data in a given unarchiver.

◆ initWithRange:fill:

- (nonnull instancetype) initWithRange: (nullable CPTPlotRange *)  newRange
fill: (nullable CPTFill *)  newFill 

Initializes a newly allocated CPTLimitBand object with the provided range and fill.

Parameters
newRangeThe range of the band.
newFillThe fill used to draw the interior of the band.
Returns
The initialized CPTLimitBand object.

◆ limitBandWithRange:fill:

+ (nonnull instancetype) limitBandWithRange: (nullable CPTPlotRange *)  newRange
fill: (nullable CPTFill *)  newFill 

Creates and returns a new CPTLimitBand instance initialized with the provided range and fill.

Parameters
newRangeThe range of the band.
newFillThe fill used to draw the interior of the band.
Returns
A new CPTLimitBand instance initialized with the provided range and fill.

Property Documentation

◆ fill

- (nullable CPTFill *) fill
readwritenonatomicstrong

The fill used to draw the band.

◆ range

- (nullable CPTPlotRange *) range
readwritenonatomicstrong

The data range for the band.


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