IXuniPlotter Protocol Reference

Declared in IPlotter.h

Overview

protocol IXuniPlotter.

  chart required method

gets or sets chart.

@property FlexChart *chart

Discussion

gets or sets chart.

Declared In

IPlotter.h

  dataInfo required method

gets or sets dataInfo.

@property XuniDataInfo *dataInfo

Discussion

gets or sets dataInfo.

Declared In

IPlotter.h

  hitTester required method

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 required method

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 required method

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 required method

gets or sets the time.

@property double time

Discussion

gets or sets the time.

Declared In

IPlotter.h

  dataInfoCount required method

gets or sets the dataInfoCount.

@property int dataInfoCount

Discussion

gets or sets the dataInfoCount.

Declared In

IPlotter.h

  symbolSize required method

gets or sets the size of symbols.

@property double symbolSize

Discussion

gets or sets the size of symbols.

Declared In

IPlotter.h

  origin required method

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

– clear required method

reset something.

- (void)clear

Discussion

reset something.

Declared In

IPlotter.h

– adjustLimits:logBase: required method

Use for caculating the rect of chart.

- (XuniRect *)adjustLimits:(XuniDataInfo *)dataInfo logBase:(NSNumber *)logBase

Parameters

dataInfo

an instance contains data and info of chart.

logBase

the logBase value.

Return Value

the rect of chart.

Discussion

Use for caculating the rect of chart.

Declared In

IPlotter.h

– redoSelection: required method

Method for drawing chart when changing chart type.

- (void)redoSelection:(NSObject<IXuniRenderEngine> *)engine

Parameters

engine

the object of IXuniRenderEngine.

Discussion

Method for drawing chart when changing chart type.

Declared In

IPlotter.h

– getRealLen: required method

Gets real length.

- (int)getRealLen:(XuniObservableArray *)seriesCollection

Parameters

seriesCollection

the seriesCollection.

Return Value

the real length.

Discussion

Gets real length.

Declared In

IPlotter.h

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

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: required method

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