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.v20.1.dll

Declaration

public object[] HitObjects { get; }
Public ReadOnly Property HitObjects As Object()

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