XuniSeries Class Reference

Inherits from NSObject
Conforms to IXuniSeries
Declared in Series.h

Overview

Represents a series in the chart.

  chart

The chart control that owns this series.

@property (nonatomic) FlexChart *chart

Discussion

The chart control that owns this series.

Declared In

Series.h

  axisX

binding Axis x to the series.

@property (nonatomic) XuniAxis *axisX

Discussion

binding Axis x to the series.

Declared In

Series.h

  axisY

binding Axis Y to the series.

@property (nonatomic) XuniAxis *axisY

Discussion

binding Axis Y to the series.

Declared In

Series.h

  axisXname

Gets or sets axisXname.

@property (nonatomic) NSString *axisXname

Discussion

Gets or sets axisXname.

Declared In

Series.h

  axisYname

Gets or sets axisYname.

@property (nonatomic) NSString *axisYname

Discussion

Gets or sets axisYname.

Declared In

Series.h

  chartType

Gets or sets the chart type of this data series.

@property (nonatomic) XuniChartType chartType

Discussion

Gets or sets the chart type of this data series.

Declared In

Series.h

  name

Gets or sets the series name to be displayed in the chart legend. Series without names do not appear in the legend.

@property (nonatomic) NSString *name

Discussion

Gets or sets the series name to be displayed in the chart legend. Series without names do not appear in the legend.

Declared In

Series.h

  binding

Gets or sets the name of the bound property to be plotted on the Y axis.

@property (nonatomic) NSString *binding

Discussion

Gets or sets the name of the bound property to be plotted on the Y axis.

Declared In

Series.h

  bindingX

Gets or sets the name of the bound property to be plotted on the X axis.

@property (nonatomic) NSString *bindingX

Discussion

Gets or sets the name of the bound property to be plotted on the X axis.

Declared In

Series.h

  itemsSource

Gets or sets the data source for this series.

@property (nonatomic) NSMutableArray *itemsSource

Discussion

Gets or sets the data source for this series.

Declared In

Series.h

  collectionView

Gets the XuniCollectionView that contains the series data.

@property (nonatomic) XuniCollectionView *collectionView

Discussion

Gets the XuniCollectionView that contains the series data.

Declared In

Series.h

  visibility

Gets or sets the series visibility.

@property (nonatomic) XuniSeriesVisibility visibility

Discussion

Gets or sets the series visibility.

Declared In

Series.h

  color

Gets or sets the fill color for plot elements.

@property (nonatomic) UIColor *color

Discussion

Gets or sets the fill color for plot elements.

Declared In

Series.h

  borderColor

Gets or sets the border color for plot elements.

@property (nonatomic) UIColor *borderColor

Discussion

Gets or sets the border color for plot elements.

Declared In

Series.h

  borderWidth

Gets or sets the border width for plot elements.

@property (nonatomic) double borderWidth

Discussion

Gets or sets the border width for plot elements.

Declared In

Series.h

  opacity

Gets or sets the opacity value applied to plot elements.

@property (nonatomic) double opacity

Discussion

Gets or sets the opacity value applied to plot elements.

Declared In

Series.h

  symbolColor

Gets or sets the fill color for symbols.

@property (nonatomic) UIColor *symbolColor

Discussion

Gets or sets the fill color for symbols.

Declared In

Series.h

  symbolBorderColor

Gets or sets the border color for symbols.

@property (nonatomic) UIColor *symbolBorderColor

Discussion

Gets or sets the border color for symbols.

Declared In

Series.h

  symbolBorderWidth

Gets or sets the border width for symbols.

@property (nonatomic) double symbolBorderWidth

Discussion

Gets or sets the border width for symbols.

Declared In

Series.h

  symbolOpacity

Gets or sets the opacity value applied to symbols.

@property (nonatomic) double symbolOpacity

Discussion

Gets or sets the opacity value applied to symbols.

Declared In

Series.h

  symbolMarker

Gets or sets the symbol marker.

@property (nonatomic) XuniMarkerType symbolMarker

Discussion

Gets or sets the symbol marker.

Declared In

Series.h

  symbolSize

Gets or sets the symbol size.

@property (nonatomic) double symbolSize

Discussion

Gets or sets the symbol size.

Declared In

Series.h

  values

Gets or sets the the values of series.

@property (nonatomic, readonly) NSArray *values

Discussion

Gets or sets the the values of series.

Declared In

Series.h

  xvalues

Gets or sets the the X values of series.

@property (nonatomic, readonly) NSArray *xvalues

Discussion

Gets or sets the the X values of series.

Declared In

Series.h

  animationTime

Gets or sets the animation time of series.

@property (nonatomic) double animationTime

Discussion

Gets or sets the animation time of series.

Declared In

Series.h

  animationDuration

Gets or sets the animation duration of series.

@property (nonatomic) double animationDuration

Discussion

Gets or sets the animation duration of series.

Declared In

Series.h

  itemRowNum

Gets or sets the item’s row number in the chart legend.

@property (nonatomic) int itemRowNum

Discussion

Gets or sets the item’s row number in the chart legend.

Declared In

Series.h

  itemColumnNum

Gets or sets the item’s column number in the chart legend.

@property (nonatomic) int itemColumnNum

Discussion

Gets or sets the item’s column number in the chart legend.

Declared In

Series.h

– init

Initialize an object for series.

- (instancetype)init

Return Value

an object of series.

Discussion

Initialize an object for series.

Declared In

Series.h

– initForChart:binding:name:

Initialize an object for series.

- (id)initForChart:(FlexChart *)chart binding:(NSString *)binding name:(NSString *)name

Parameters

chart

the chart.

binding

the key for values.

name

the key for values.

Return Value

return an object of series.

Discussion

Initialize an object for series.

Declared In

Series.h

– hitTest:

Gets the info after hit the area.

- (XuniHitTestInfo *)hitTest:(XuniPoint *)point

Parameters

point

the point in control coordinates that this HitTestInfo refers to.

Return Value

return the info after hit the area.

Discussion

Gets the info after hit the area.

Declared In

Series.h

– hitTest:y:

Gets the info after hit the area.

- (XuniHitTestInfo *)hitTest:(double)x y:(double)y

Parameters

x

x value of a point.

y

y value of a point.

Return Value

return the info after hit the area.

Discussion

Gets the info after hit the area.

Declared In

Series.h

– clearValues

Clear some values.

- (void)clearValues

Discussion

Clear some values.

Declared In

Series.h

– getItem:

Get the corresponding item.

- (id)getItem:(NSInteger)pointIndex

Parameters

pointIndex

the index of the item.

Return Value

the corresponding item.

Discussion

Get the corresponding item.

Declared In

Series.h

– getBindingValues:

Get binging values.

- (NSArray *)getBindingValues:(NSInteger)index

Parameters

index

the index of object in binging array.

Return Value

return binging values.

Discussion

Get binging values.

Declared In

Series.h

– getBinding:

Get binging values.

- (NSString *)getBinding:(NSInteger)index

Parameters

index

the index of object in binging array.

Return Value

return binging values.

Discussion

Get binging values.

Declared In

Series.h

– getLength

Get the count of itemSource.

- (NSInteger)getLength

Return Value

return the count of itemSource.

Discussion

Get the count of itemSource.

Declared In

Series.h