NChartValueAxisRange Class Reference

Inherits from NSObject
Declared in NChartValueAxisRange.h

Overview

The NChartValueAxisRange class provides properties to store ranges of value axis.

+ valueAxisRangeWithValuesFrom:to:

Create new instance of NChartValueAxisRange.

+ (NChartValueAxisRange *)valueAxisRangeWithValuesFrom:(double)from to:(double)to

Parameters

from
  • starting value in range.
to
  • nding value in range.

Return Value

new instance of NChartValueAxisRange.

Declared In

NChartValueAxisRange.h

+ valueAxisRangeWithDatesFrom:to:

Create new instance of NChartValueAxisRange.

+ (NChartValueAxisRange *)valueAxisRangeWithDatesFrom:(NSDate *)from to:(NSDate *)to

Parameters

from
  • starting date in range.
to
  • ending date in range.

Return Value

new instance of NChartValueAxisRange.

Declared In

NChartValueAxisRange.h

– initWithValuesFrom:to:

Initialize instance of NChartValueAxisRange.

- (instancetype)initWithValuesFrom:(double)from to:(double)to

Parameters

from
  • starting value in range.
to
  • ending value in range.

Return Value

initialized instance of NChartValueAxisRange.

Declared In

NChartValueAxisRange.h

– initWithDatesFrom:to:

Initialize instance of NChartValueAxisRange.

- (instancetype)initWithDatesFrom:(NSDate *)from to:(NSDate *)to

Parameters

from
  • starting date in range.
to
  • ending date in range.

Return Value

initialized instance of NChartValueAxisRange.

Declared In

NChartValueAxisRange.h

  fromValue

Starting (minimal) value of the range.

@property (nonatomic, readonly) double fromValue

Discussion

If the axis has dates, this value is always 0.

Declared In

NChartValueAxisRange.h

  toValue

Ending (maximal) value of the range.

@property (nonatomic, readonly) double toValue

Discussion

If the axis has dates, this value is always 0.

Declared In

NChartValueAxisRange.h

  fromDate

Starting (minimal) date of the range.

@property (nonatomic, readonly) NSDate *fromDate

Discussion

If the axis has no dates, this value is always nil.

Declared In

NChartValueAxisRange.h

  toDate

Ending (maximal) date of the range.

@property (nonatomic, readonly) NSDate *toDate

Discussion

If the axis has no dates, this value is always nil.

Declared In

NChartValueAxisRange.h