SChartDateRange Class Reference

Inherits from SChartRange : NSObject
Declared in SChartDateRange.h
Availability Standard
Premium
Related samples ColumnChart
FinancialChart
LineChart

Overview

An SChartDateRange object is an instance of SChartRange that is specific to NSDate - with each element in the range represented by an NSDate object. This is the likely range of choice for an SChartDateTimeAxis.

Instance Methods

initWithDateMinimum:andDateMaximum:NS_DESIGNATED_INITIALIZER:

Initializes and returns a newly allocated range object with the specified minimum and maximum dates.

- (id)initWithDateMinimum:(NSDate *)min andDateMaximum:(NSDate *)max NS_DESIGNATED_INITIALIZER

Parameters

min

The minimum date in the range.

max

The maximum date in the range.

Return Value

An initialized range object or nil if the range couldn’t be created.

Declared In

SChartDateRange.h

maximumAsDate

Returns the maximum of the range as an NSDate object.

- (NSDate *)maximumAsDate

Declared In

SChartDateRange.h

minimumAsDate

Returns the minimum of the range as an NSDate object.

- (NSDate *)minimumAsDate

Declared In

SChartDateRange.h