NChartValueAxisMark Class Reference

Inherits from NChartLabel : NChartPlaced : NChartObject : NSObject
Declared in NChartValueAxisMark.h

Overview

The NChartValueAxisMark class provides methods to handle marks on the value axes.

+ mark

Create new mark instance.

+ (NChartValueAxisMark *)mark

Return Value

new mark instance.

Declared In

NChartValueAxisMark.h

  value

Value of the mark. This property sets/returns the value of the mark corresponding to the 0-th time index.

@property (nonatomic, assign) double value

See Also

Declared In

NChartValueAxisMark.h

– valueForTimeIndex:

Get value for a given time index. Time indices start with 0 and are driven by the time axis.

- (double)valueForTimeIndex:(NSUInteger)timeIndex

Parameters

timeIndex
  • time index.

Return Value

value that corresponds to the given time index.

See Also

Declared In

NChartValueAxisMark.h

– setValue:forTimeIndex:

Get value for a given time index. Time indices start with 0 and are driven by the time axis.

- (void)setValue:(double)value forTimeIndex:(NSUInteger)timeIndex

Parameters

value
  • value to set.
timeIndex
  • time index.

See Also

Declared In

NChartValueAxisMark.h

  tick

Tick of the mark. It is invisible by default.

@property (nonatomic, readonly) NChartAxisTick *tick

Declared In

NChartValueAxisMark.h