Skip to main content
A newer version of this page is available.

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.v18.2.dll

Declaration

public 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 ChartHitInfo.HitObject property instead.

See Also