Skip to main content

ChartHitInfo.SeriesPoint Property

Gets a series point which is located under the test point.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v14.2.dll

#Declaration

public SeriesPoint SeriesPoint { get; }

#Property Value

Type Description
SeriesPoint

A SeriesPoint object, specifying the series point located under the test point.

#Remarks

Use the SeriesPoint property to access the series point located under the test point (if the ChartHitInfo.InSeries property returns true).

And, if ChartHitInfo.InSeries is false, the SeriesPoint property returns null (Nothing in Visual Basic).

#Examples

This example demonstrates how to calculate the hit information for the chart element over which the mouse pointer is hovering.

To accomplish this, handle the ChartControl.MouseMove event, obtain the current chart element via the ChartControl.CalcHitInfo method, and if the element is not null (Nothing in Visual Basic), display its information.

See Also