Skip to main content
All docs
V24.2

ChartHitInfoBase.HitObjects Property

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

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.2.dll

Declaration

public virtual object[] HitObjects { get; }

Property Value

Type Description
Object[]

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

Remarks

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.

Note

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

See Also