XuniBasePlotter Class Reference

Inherits from NSObject
Conforms to IXuniPlotter
Declared in IPlotter.h

Overview

XuniBasePlotter Class.

  chart

gets or sets chart.

@property FlexChart *chart

Discussion

gets or sets chart.

Declared In

IPlotter.h

  dataInfo

gets or sets dataInfo.

@property XuniDataInfo *dataInfo

Discussion

gets or sets dataInfo.

Declared In

IPlotter.h

  hitTester

gets or sets the chart element at specified point.

@property XuniHitTester *hitTester

Discussion

gets or sets the chart element at specified point.

Declared In

IPlotter.h

  stacking

gets or sets the stacking type of chart.

@property XuniStacking stacking

Discussion

gets or sets the stacking type of chart.

Declared In

IPlotter.h

  rotated

gets or sets whether the direction of plotting is inverted.

@property BOOL rotated

Discussion

gets or sets whether the direction of plotting is inverted.

Declared In

IPlotter.h

  time

gets or sets the time.

@property double time

Discussion

gets or sets the time.

Declared In

IPlotter.h

  dataInfoCount

gets or sets the dataInfoCount.

@property int dataInfoCount

Discussion

gets or sets the dataInfoCount.

Declared In

IPlotter.h

  symbolSize

gets or sets the size of symbols.

@property double symbolSize

Discussion

gets or sets the size of symbols.

Declared In

IPlotter.h

  origin

gets or sets the origin of the series plotted.

@property double origin

Discussion

gets or sets the origin of the series plotted.

Declared In

IPlotter.h

– init:

Initialize an instance for LinePlotter.

- (id)init:(FlexChart *)chart

Parameters

chart

the chart.

Return Value

an instance of LinePlotter.

Discussion

Initialize an instance for LinePlotter.

Declared In

IPlotter.h

– getRealLen:

Get real length.

- (int)getRealLen:(XuniObservableArray *)seriesCollection

Parameters

seriesCollection

the seriesCollection.

Return Value

the real length.

Discussion

Get real length.

Declared In

IPlotter.h

– plotSeries:engine:axisX:axisY:index:realIndex:count:selectedIndex:chartType:stackPos:stackNeg:

Specific method for plotting series.

- (void)plotSeries:(NSObject<IXuniSeries> *)series engine:(NSObject<IXuniRenderEngine> *)engine axisX:(NSObject<IXuniAxis> *)ax axisY:(NSObject<IXuniAxis> *)ay index:(int)iser realIndex:(int)irealser count:(int)nser selectedIndex:(int)sel chartType:(XuniChartType)chartType stackPos:(NSMutableDictionary *)stackPos stackNeg:(NSMutableDictionary *)stackNeg

Parameters

series

the series.

engine

the engine.

ax

the axis X.

ay

the axis Y.

iser

the index of the series in seriesCollection.

irealser

the index of the series when only counting series that are visible.

nser

the seriesCollection size.

sel

the index of the selected series in seriesCollection.

chartType

the type chart to plot.

stackPos

internal stack of positive values.

stackNeg

internal stack of negative values.

Discussion

Specific method for plotting series.

Declared In

IPlotter.h

– plotSeriesCollection:engine:axisX:axisY:selectedSeries:elementIndex:stackPos:stackNeg:

Specific method for plotting series.

- (void)plotSeriesCollection:(XuniObservableArray *)seriesCollection engine:(NSObject<IXuniRenderEngine> *)engine axisX:(NSObject<IXuniAxis> *)ax axisY:(NSObject<IXuniAxis> *)ay selectedSeries:(NSObject<IXuniSeries> *)selection elementIndex:(int)isel stackPos:(NSMutableDictionary *)stackPos stackNeg:(NSMutableDictionary *)stackNeg

Parameters

seriesCollection

the seriesCollection to plot.

engine

the engine.

ax

the Axis X.

ay

the Axis Y.

selection

the selected series.

isel

the index of the selected series in seriesCollection.

stackPos

internal stack of positive values.

stackNeg

internal stack of negative values.

Discussion

Specific method for plotting series.

Declared In

IPlotter.h