Skip to main content

ChartHitInfo.InSeriesLabel Property

Gets a value indicating whether the test point is within series labels.

Namespace: DevExpress.Xpf.Charts

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

#Declaration

public bool InSeriesLabel { get; }

#Property Value

Type Description
Boolean

true if the test point is within point labels of a series; otherwise, false.

#Remarks

Use the InSeriesLabel property, to check whether the test point is located within series labels.

To obtain a particular element located under the test point, use the ChartControl.CalcHitInfo method.

#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