XuniChartHitTestInfo Class Reference

Inherits from XuniHitTestInfo : NSObject
Declared in ChartHitTestInfo.h

Overview

XuniChartHitTestInfo Class.

XuniChartHitTestInfo Class.

Other Methods

  chart

Gets the chart object the hit test occured inside.

@property (readonly) FlexChart *chart

Discussion

Gets the chart object the hit test occured inside.

Declared In

ChartHitTestInfo.h

  dataPoint

Gets the DataPoint of the XuniChartHitTestInfo.

@property (readonly) XuniChartDataPoint *dataPoint

Discussion

Gets the DataPoint of the XuniChartHitTestInfo.

Declared In

ChartHitTestInfo.h

  chartElement

Gets the chart element type selected.

@property (readonly) XuniChartElement chartElement

Discussion

Gets the chart element type selected.

Declared In

ChartHitTestInfo.h

  distance

Gets the distance from the closest data point.

@property (readonly) double distance

Discussion

Gets the distance from the closest data point.

Declared In

ChartHitTestInfo.h

  annotation

Gets or sets the selected annotation.

@property (nonatomic) XuniChartAnnotation *annotation

Discussion

Gets or sets the selected annotation.

Declared In

ChartHitTestInfo.h

– initWithChart:x:y:

Initialize an object of XuniChartHitTestInfo.

- (id)initWithChart:(FlexChart *)chart x:(double)x y:(double)y

Parameters

chart

the FlexChart.

x

the x coordinate.

y

the y coordinate.

Return Value

an object of XuniChartHitTestInfo.

Discussion

Initialize an object of XuniChartHitTestInfo.

Declared In

ChartHitTestInfo.h

Extension Methods

  area

Gets or sets the hit area.

@property NSObject<IXuniHitArea> *area

Discussion

Gets or sets the hit area.

Declared In

ChartHitTestInfoPrivate.h

  series

Gets or sets the chart series of the XuniChartHitTestInfo.

@property (nonatomic) XuniSeries *series

Discussion

Gets or sets the chart series of the XuniChartHitTestInfo.

Declared In

ChartHitTestInfoPrivate.h