ChartHitInfo.HitObjects Property

Gets a collection of objects which represent all the visual elements located under the test point.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v21.1.dll


public object[] HitObjects { get; }

Property Value

Type Description

A collection of Objects which represent all the chart elements under the test point.


Use the HitObjects property to access all the chart elements located under the test point. Note that the elements in the collection are located in the reversed order of how they’re drawn on a chart’s surface. Hence, the topmost element has 0 index in the collection, and the bottommost element has the last index in the collection.


If you need to get the topmost chart element located under the test point only, not the all chart elements, you should use the ChartHitInfo.HitObject property instead.

See Also