NChartSeries Class Reference
| Inherits from | NChartObject : NSObject |
|---|---|
| Declared in | NChartSeries.h |
+ series
Create instance of series.
+ (id)seriesReturn Value
an autoreleased instance of the series.
Declared In
NChartSeries.h
nameColor
Color of the series name displayed in the legend. If nil, the textColor from the legend is used. The default value is nil.
@property (nonatomic, strong) UIColor *nameColorDeclared In
NChartSeries.h
disabledNameColor
Color of the series name displayed in the legend when the series is hidden (aka disabled). If nil, the textColor from the legend is used. The default value is nil.
@property (nonatomic, strong) UIColor *disabledNameColorDeclared In
NChartSeries.h
image
Image that is displayed in the legend. This property returns the image only if it was provided by the data source. If the default image is used, nil is returned.
@property (nonatomic, readonly) UIImage *imageDeclared In
NChartSeries.h
disabledImage
Image that is displayed in the legend when the series is hidden (aka disabled). This property returns the image only if it was provided by the data source. If the default image is used, nil is returned.
@property (nonatomic, readonly) UIImage *disabledImageDeclared In
NChartSeries.h
legendMarkerSize
Size of default series' marker in legend in pixels. The default value is 20.
@property (nonatomic, assign) float legendMarkerSizeDeclared In
NChartSeries.h
scale
Brush scale of the series used to color the map.
@property (nonatomic, strong) NChartBrushScale *scaleDeclared In
NChartSeries.h
tag
Tag of the series. You may use it as you want.
@property (nonatomic, assign) NSInteger tagDeclared In
NChartSeries.h
hostsOnSX
Flag that determines if the series is hosted on the secondary X-axis. If YES, it will be drawn according to the secondary X-axis, if NO according to the normal X-axis. The secondary axis appears opposite the normal axis and is managed separately: it can have its own min and max; its own color settings and so on.
@property (nonatomic, assign) BOOL hostsOnSXDeclared In
NChartSeries.h
hostsOnSY
Flag that determines if the series is hosted on the secondary Y-axis. If YES, it will be drawn according to the secondary Y-axis, if NO according to the normal Y-axis. The secondary axis appears opposite the normal axis and is managed separately: it can have its own min and max; its own color settings and so on.
@property (nonatomic, assign) BOOL hostsOnSYDeclared In
NChartSeries.h
hostsOnSZ
Flag that determines if the series is hosted on the secondary Z-axis. If YES, it will be drawn according to the secondary Z-axis, if NO according to the normal Z-axis. The secondary axis appears opposite the normal axis and is managed separately: can have its own min and max; its own color settings and so on.
@property (nonatomic, assign) BOOL hostsOnSZDeclared In
NChartSeries.h
forceAbsolute
Flag that determines if the series forces absolute value axis. If YES, the series is drawn as if value axes type would be absolute, even if it’s not. If NO, the series is drawn according to the actual value axes type set in Cartesian system. The default value is NO.
@property (nonatomic, assign) BOOL forceAbsoluteDiscussion
This property has effect for Cartesian system based series only. Otherwise it’s ignored.
Declared In
NChartSeries.h
dataSource
Data source for the series.
@property (nonatomic, assign) id<NChartSeriesDataSource> dataSourceSee Also
Declared In
NChartSeries.h
dataSmoother
Data smoother used. The default value is nil (no data smoother used).
@property (nonatomic, strong) NChartDataSmoother *dataSmootherSee Also
Declared In
NChartSeries.h
pointSelectionEnabled
Flag determining if the chart points can be selected by tap (YES) or not (NO). The default value is YES.If you do not want to select points by tap, it is better to disable selection, because it will save memory and boost the data updating.
@property (nonatomic, assign) BOOL pointSelectionEnabledDiscussion
This property works in conjuction with pointSelectionEnabled of NChart allowing to fine-tune the point
selection for individual series.
Declared In
NChartSeries.h
needsSeparateSums
Flag determining if in the additive value axis mode (when certesianSystem.valueAxesType = NChartValueAxesTypeAdditive) positive and negative values are added separately, so all positives are above zero and all negatives are below zero (YES), or all the values are just added together (NO). The default value is YES. Normally it’s reasonable to separate the sums (so keep this flag in its default state), but sometimes you may want to preserve the series order when they are stacked on the additive axis. In this case you may want to toggle this flag to NO.
@property (nonatomic, assign) BOOL needsSeparateSumsDeclared In
NChartSeries.h