The information about chart elements located in a specific point.
@interface DXChartHitInfo
Returns the value indicating whether the hit tested point is in the legend.
@property (readonly) BOOL inLegend
Type | Description |
---|---|
BOOL | YES if the hit tested point is in the legend; otherwise NO. |
Returns the value indicating whether the hit tested point is in a point.
@property (readonly) BOOL inPoint
Type | Description |
---|---|
BOOL | YES if the hit tested point is in a series point; otherwise NO. |
Returns the value indicating whether the hit tested point is in a series.
@property (readonly) BOOL inSeries
Type | Description |
---|---|
BOOL | YES if the hit tested point is in a series; otherwise NO. |
Returns the indices of data points that are under the hit tested point.
@property (readonly, copy) NSArray *pointIndices
Type | Description |
---|---|
NSArray * | The array of data point indices that are under the hit tested point. |
Note that this property returns multiple data points when these data points are aggregated in one point drawn on a chart.
Returns the index of series that is under the hit tested point.
@property (readonly) NSInteger seriesIndex
Type | Description |
---|---|
NSInteger | The index of the series that is under the hit tested point. |