Skip to main content

DXChartHitInfo Class

The information about chart elements located in a specific point.

Declaration

@interface DXChartHitInfo

Properties

inLegend Property

Returns the value indicating whether the hit tested point is in the legend.

Declaration

@property (readonly) BOOL inLegend

Property Value

Type Description
BOOL

YES if the hit tested point is in the legend; otherwise NO.

inPoint Property

Returns the value indicating whether the hit tested point is in a point.

Declaration

@property (readonly) BOOL inPoint

Property Value

Type Description
BOOL

YES if the hit tested point is in a series point; otherwise NO.

inSeries Property

Returns the value indicating whether the hit tested point is in a series.

Declaration

@property (readonly) BOOL inSeries

Property Value

Type Description
BOOL

YES if the hit tested point is in a series; otherwise NO.

pointIndices Property

Returns the indices of data points that are under the hit tested point.

Declaration

@property (readonly, copy) NSArray *pointIndices

Property Value

Type Description
NSArray *

The array of data point indices that are under the hit tested point.

Remarks

Note that this property returns multiple data points when these data points are aggregated in one point drawn on a chart.

seriesIndex Property

Returns the index of series that is under the hit tested point.

Declaration

@property (readonly) NSInteger seriesIndex

Property Value

Type Description
NSInteger

The index of the series that is under the hit tested point.