NChartLOD Class Reference

Inherits from NSObject
Declared in NChartLODSeries.h

Overview

The NChartLOD class provides storage for a certain level of detail (LOD).

+ lodWithSeries:andZoom:

Create a LOD instance.

+ (NChartLOD *)lodWithSeries:(NChartSeries *)series andZoom:(float)zoom

Parameters

series
  • series that corresponds to this LOD.
zoom
  • zoom level of this LOD.

Return Value

LOD instance.

Declared In

NChartLODSeries.h

+ lodWithSeries:zoom:data:dataType:andDataLength:

Create a LOD instance.

+ (NChartLOD *)lodWithSeries:(NChartSeries *)series zoom:(float)zoom data:(double *)data dataType:(NChartRawArrayElementType)dataType andDataLength:(NSUInteger)dataLength

Parameters

series
  • series that corresponds to this LOD.
zoom
  • zoom level of this LOD.
data
  • raw array of data for this LOD. It is not owned by LOD, which means, you have to delete it yourself when it is no longer needed.
dataType
  • type of raw array elements.
dataLength
  • number of raw array elements (full entries, not individual double values).

Return Value

LOD instance.

Declared In

NChartLODSeries.h

– initWithSeries:andZoom:

Initialize a LOD instance.

- (instancetype)initWithSeries:(NChartSeries *)series andZoom:(float)zoom

Parameters

series
  • series that corresponds to this LOD.
zoom
  • zoom level of this LOD.

Return Value

initialized LOD instance.

Declared In

NChartLODSeries.h

– initWithSeries:zoom:data:dataType:andDataLength:

Initialize a LOD instance.

- (instancetype)initWithSeries:(NChartSeries *)series zoom:(float)zoom data:(double *)data dataType:(NChartRawArrayElementType)dataType andDataLength:(NSUInteger)dataLength

Parameters

series
  • series that corresponds to this LOD.
zoom
  • zoom level of this LOD.
data
  • raw array of data for this LOD. It is not owned by LOD, which means, you have to delete it yourself when it is no longer needed.
dataType
  • type of raw array elements.
dataLength
  • number of raw array elements (full entries, not individual double values).

Return Value

initialized LOD instance.

Declared In

NChartLODSeries.h

  series

LOD series.

@property (nonatomic, readonly) NChartSeries *series

Declared In

NChartLODSeries.h

  zoom

Zoom level.

@property (nonatomic, readonly) float zoom

Declared In

NChartLODSeries.h

  data

LOD data.

@property (nonatomic, readonly) const double *data

Declared In

NChartLODSeries.h

  elementType

Data element type.

@property (nonatomic, readonly) NChartRawArrayElementType elementType

Declared In

NChartLODSeries.h

  elementsCount

Data elements count (in entries of given type).

@property (nonatomic, readonly) NSUInteger elementsCount

Declared In

NChartLODSeries.h