FlexChart Class Reference

Inherits from FlexChartBase : XuniView : UIView
Conforms to UIGestureRecognizerDelegate
Declared in FlexChart.h

Overview

The FlexChart control provides a powerful and flexible way to visualize data.

  plotRect

The bounds of the plot area.

@property (readonly) XuniRect *plotRect

Discussion

The bounds of the plot area.

Declared In

FlexChart.h

  dataLabel

Data Label for the FlexChart

@property (nonatomic) FlexChartDataLabel *dataLabel

Discussion

Data Label for the FlexChart

Declared In

FlexChart.h

  dataLabelRenderer

Data Label for the FlexChart

@property (nonatomic) FlexChartDataLabelRenderer *dataLabelRenderer

Discussion

Data Label for the FlexChart

Declared In

FlexChart.h

  lineMarker

Gets or sets the line marker for the FlexChart.

@property (nonatomic) XuniChartLineMarker *lineMarker

Discussion

Gets or sets the line marker for the FlexChart.

Declared In

FlexChart.h

  series

Gets the array of data series collections.

@property (readonly) XuniObservableArray<XuniSeries*> *series

Discussion

Gets the array of data series collections.

Declared In

FlexChart.h

  annotations

Gets or sets the array of annotations.

@property (nonatomic) XuniObservableArray<XuniChartAnnotation*> *annotations

Discussion

Gets or sets the array of annotations.

Declared In

FlexChart.h

  axesArray

Gets the array of Axes collection.

@property (nonatomic) NSMutableArray<XuniAxis*> *axesArray

Discussion

Gets the array of Axes collection.

Declared In

FlexChart.h

  axisX

Gets the main horizontal (X) axis.

@property (readonly) XuniAxis *axisX

Discussion

Gets the main horizontal (X) axis.

Declared In

FlexChart.h

  axisY

Gets the main vertical (Y) axis.

@property (readonly) XuniAxis *axisY

Discussion

Gets the main vertical (Y) axis.

Declared In

FlexChart.h

  stacking

Gets or sets whether series should be stacked or plotted independently.

@property (nonatomic) XuniStacking stacking

Discussion

Gets or sets whether series should be stacked or plotted independently.

Declared In

FlexChart.h

  symbolSize

Gets or sets the size of the symbols used to render this chart.

@property (nonatomic) double symbolSize

Discussion

Gets or sets the size of the symbols used to render this chart.

Declared In

FlexChart.h

  interpolateNulls

Gets or sets whether to interpolate null data values. If true, the chart will interpolate the value of any missing data based on neighboring points. If false, it will leave a break in lines and areas at the points with null values.

@property (nonatomic) IBInspectable BOOL interpolateNulls

Discussion

Gets or sets whether to interpolate null data values. If true, the chart will interpolate the value of any missing data based on neighboring points. If false, it will leave a break in lines and areas at the points with null values.

Declared In

FlexChart.h

  isReallyRotated

Gets whether the chart is rotated.

@property (readonly) BOOL isReallyRotated

Discussion

Gets whether the chart is rotated.

Declared In

FlexChart.h

  rotated

Gets or sets whether the direction of plotting is inverted. If false (the default), the direction of plotting is horizontal. If true, the direction of plotting is vertical and the axes are swapped.

@property (nonatomic) IBInspectable BOOL rotated

Discussion

Gets or sets whether the direction of plotting is inverted. If false (the default), the direction of plotting is horizontal. If true, the direction of plotting is vertical and the axes are swapped.

Declared In

FlexChart.h

  isAnimated

Gets or sets whether animation is enabled for the chart.

@property (nonatomic) IBInspectable BOOL isAnimated

Discussion

Gets or sets whether animation is enabled for the chart.

Declared In

FlexChart.h

  loadAnimation

Gets or sets the animation that occurs when the chart is first displayed.

@property (nonatomic) XuniChartLoadAnimation *loadAnimation

Discussion

Gets or sets the animation that occurs when the chart is first displayed.

Declared In

FlexChart.h

  updateAnimation

Gets or sets the animation that occurs when a data point changes or a series is removed or hidden.

@property (nonatomic) XuniAnimation *updateAnimation

Discussion

Gets or sets the animation that occurs when a data point changes or a series is removed or hidden.

Declared In

FlexChart.h

  maxItemsVisible

Gets or sets the maximum number of items to be plotted in the X axis. If the total number of items is greater than this value, then the user must swipe to view the remaining items.

@property (nonatomic) IBInspectable NSUInteger maxItemsVisible

Discussion

Gets or sets the maximum number of items to be plotted in the X axis. If the total number of items is greater than this value, then the user must swipe to view the remaining items.

Declared In

FlexChart.h

  zoomMode

Gets or sets the axis scrolling behavior.

@property (nonatomic) XuniZoomMode zoomMode

Discussion

Gets or sets the axis scrolling behavior.

Declared In

FlexChart.h

  options

Gets or sets the axis scrolling behavior.

@property (nonatomic) FlexChartOptions *options

Discussion

Gets or sets the axis scrolling behavior.

Declared In

FlexChart.h

  xlabels

Gets the labels array of axis X.

@property (readonly) NSArray *xlabels

Discussion

Gets the labels array of axis X.

Declared In

FlexChart.h

  xvals

Gets the vals of axis X.

@property (readonly) NSArray *xvals

Discussion

Gets the vals of axis X.

Declared In

FlexChart.h

  xDataType

Gets the xDataType.

@property (readonly) XuniDataType xDataType

Discussion

Gets the xDataType.

Declared In

FlexChart.h

  plotterChart

Gets the plotterChart.

@property (readonly) XuniRect *plotterChart

Discussion

Gets the plotterChart.

Declared In

FlexChart.h

  valueFormatter

Gets or sets the value format.

@property (nonatomic) NSObject<IXuniValueFormatter> *valueFormatter

Discussion

Gets or sets the value format.

Declared In

FlexChart.h

  customPlotElement

Gets or sets the custom plot element.

@property (nonatomic) UIView *customPlotElement

Discussion

Gets or sets the custom plot element.

Declared In

FlexChart.h

  beginPlotElementLoading

Gets or sets whether begin plot element loading event.

@property (nonatomic) BOOL beginPlotElementLoading

Discussion

Gets or sets whether begin plot element loading event.

Declared In

FlexChart.h

  isHandleXFPlotElementLoading

Gets or sets whether handle XF plot element loading event.

@property (nonatomic) BOOL isHandleXFPlotElementLoading

Discussion

Gets or sets whether handle XF plot element loading event.

Declared In

FlexChart.h

  activeUpdateAnimation

Gets or sets the active updateAnimation.

@property (nonatomic) XuniAnimation *activeUpdateAnimation

Discussion

Gets or sets the active updateAnimation.

Declared In

FlexChart.h

  isUpdateTask1

Gets or sets whether is isUpdateTask1.

@property (nonatomic) BOOL isUpdateTask1

Discussion

Gets or sets whether is isUpdateTask1.

Declared In

FlexChart.h

  isUpdateTask2

Gets or sets whether is updateTask2.

@property (nonatomic) BOOL isUpdateTask2

Discussion

Gets or sets whether is updateTask2.

Declared In

FlexChart.h

  isSeriesCollectionUpdated

Gets or sets whether is seriesCollection updated.

@property (nonatomic) BOOL isSeriesCollectionUpdated

Discussion

Gets or sets whether is seriesCollection updated.

Declared In

FlexChart.h

  isCollectionViewUpdated

Gets or sets whether is collectionView updated.

@property (nonatomic) BOOL isCollectionViewUpdated

Discussion

Gets or sets whether is collectionView updated.

Declared In

FlexChart.h

  updateEventArgs

Gets or sets the update event arguments.

@property (nonatomic) XuniNotifyCollectionChangedEventArgs *updateEventArgs

Discussion

Gets or sets the update event arguments.

Declared In

FlexChart.h

  prevAxisYMax

Gets or sets the previous axis Y maximum value.

@property (nonatomic) double prevAxisYMax

Discussion

Gets or sets the previous axis Y maximum value.

Declared In

FlexChart.h

  prevAxisYMin

Gets or sets the previous axis Y minimum value.

@property (nonatomic) double prevAxisYMin

Discussion

Gets or sets the previous axis Y minimum value.

Declared In

FlexChart.h

  prevAxisXMax

Gets or sets the previous axis X maximum value.

@property (nonatomic) double prevAxisXMax

Discussion

Gets or sets the previous axis X maximum value.

Declared In

FlexChart.h

  prevAxisXMin

Gets or sets the previous axis X minimum value.

@property (nonatomic) double prevAxisXMin

Discussion

Gets or sets the previous axis X minimum value.

Declared In

FlexChart.h

  prevXValsArray

Gets or sets the previous X values array.

@property (nonatomic) NSMutableArray *prevXValsArray

Discussion

Gets or sets the previous X values array.

Declared In

FlexChart.h

  prevYValsArray

Gets or sets the previous Y values array.

@property (nonatomic) NSMutableArray *prevYValsArray

Discussion

Gets or sets the previous Y values array.

Declared In

FlexChart.h

  stackAbs

@exclude.

@property (nonatomic) NSMutableDictionary *stackAbs

Discussion

@exclude.

Declared In

FlexChart.h

  isChartUpdate

Gets whether chart is in update animation.

@property (readonly) BOOL isChartUpdate

Discussion

Gets whether chart is in update animation.

Declared In

FlexChart.h

  plotElementLoading

Gets or sets the plotElementLoading event.

@property (nonatomic) XuniEvent<XuniChartPlotElementEventArgs*> *plotElementLoading

Discussion

Gets or sets the plotElementLoading event.

Declared In

FlexChart.h

– onPlotElementLoading:

Raised the plotElementLoading event before the plot Element is loading.

- (void)onPlotElementLoading:(XuniChartPlotElementEventArgs *)args

Parameters

args

the event arguments.

Discussion

Raised the plotElementLoading event before the plot Element is loading.

Declared In

FlexChart.h

– pointToData:

Converts a point from control coordinates to chart data coordinates.

- (XuniPoint *)pointToData:(XuniPoint *)point

Parameters

point

Point in control coordinates.

Return Value

Point in chart data coordinates.

Discussion

Converts a point from control coordinates to chart data coordinates.

Declared In

FlexChart.h

– dataToPoint:

Converts a point from chart data coordinates to control coordinates.

- (XuniPoint *)dataToPoint:(XuniPoint *)point

Parameters

point

Point in chart data coordinates.

Return Value

Point in control coordinates.

Discussion

Converts a point from chart data coordinates to control coordinates.

Declared In

FlexChart.h

– hitTest:

Gets a HitTestInfo object with information about a given point.

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

Parameters

point

Point to investigate, in screen coordinates.

Return Value

XuniChartHitTestInfo object with information about the point.

Discussion

Gets a HitTestInfo object with information about a given point.

Declared In

FlexChart.h

– getEasing

Get ease type.

- (id<IXuniEaseAction>)getEasing

Return Value

a ease type.

Discussion

Get ease type.

Declared In

FlexChart.h

– getDescriptor:

Get a descriptor of font.

- (UIFontDescriptor *)getDescriptor:(NSMutableDictionary *)attributes

Parameters

attributes

the font attributes.

Return Value

a descriptor.

Discussion

Get a descriptor of font.

Declared In

FlexChart.h

– isSeriesSelected:

Judge whether the series is selected.

- (BOOL)isSeriesSelected:(XuniSeries *)series

Parameters

series

the series.

Return Value

return a boolean value.

Discussion

Judge whether the series is selected.

Declared In

FlexChart.h

– getDataPointsAroundPoint:y:

Get an array of data points around coordinate x/y.

- (NSArray *)getDataPointsAroundPoint:(double)x y:(double)y

Parameters

x

the x coordinate.

y

the y coordinate.

Return Value

return an array of data points.

Discussion

Get an array of data points around coordinate x/y.

Declared In

FlexChart.h

– getHitTestInfoValue:formatted:pointIndex:series:

Get the value.

- (id)getHitTestInfoValue:(int)index formatted:(BOOL)formatted pointIndex:(int)pointIndex series:(XuniSeries *)series

Parameters

index

the index of series.

formatted

whether is formatted.

pointIndex

the pointIndex of series.

series

the series.

Return Value

return the value.

Discussion

Get the value.

Declared In

FlexChart.h

– hitTestSeries:seriesIndex:

Get the chart element info at specified point.

- (XuniChartHitTestInfo *)hitTestSeries:(XuniPoint *)point seriesIndex:(int)seriesIndex

Parameters

point

Point in chart data coordinates.

seriesIndex

the index of series.

Return Value

the chart element info at specified point.

Discussion

Get the chart element info at specified point.

Declared In

FlexChart.h

– getInterpolatedValue:index:count:

Get the interpolated value based on neighboring values.

- (double)getInterpolatedValue:(NSArray *)arrvalues index:(int)index count:(int)count

Parameters

arrvalues

Array of values.

index

The index.

count

The count.

Return Value

The interpolated value.

Discussion

Get the interpolated value based on neighboring values.

Declared In

FlexChart.h

– isAllSeriesHidden

Judge if all series are hidden.

- (BOOL)isAllSeriesHidden

Return Value

return a boolean value.

Discussion

Judge if all series are hidden.

Declared In

FlexChart.h