NChartValueAxisSeriesMark Class Reference

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

Overview

The NChartValueAxisSeriesMark class provides methods to handle special marks on the value axes indicating the series.

This mark is placed on the given axis by the nearest value of the given series. “Nearest” means the value of the series point that is the nearest to the axis in question. The value property of NChartValueAxisMark is overridden by this class and the setter has no effect (because the value is dynamically taken from the given series).

+ seriesMark

Create new mark instance.

+ (NChartValueAxisSeriesMark *)seriesMark

Return Value

new mark instance.

Declared In

NChartValueAxisSeriesMark.h

  series

Series the mark indicates. The default value is nil, which means, no series is tracked and no mark is displayed.

@property (nonatomic, strong) NChartSeries *series

Declared In

NChartValueAxisSeriesMark.h

  preventOverlapping

Flag determining if the overlapping of series marks should be prevented (YES) or not (NO). The default value is YES.

@property (nonatomic, assign) BOOL preventOverlapping

Discussion

The overlapping prevention works by shifting the overlapping marks away from each other, so they still stay as close as possible to their series but do not cover each other.

Declared In

NChartValueAxisSeriesMark.h