corelibraries-devexpress-dot-xtracharts-dot-charthitinfo-95951d30.md
Gets an object which represents the topmost series point located under the test point.
Namespace : DevExpress.XtraCharts
Assembly : DevExpress.XtraCharts.v25.2.dll
NuGet Package : DevExpress.Charts
public SeriesPoint SeriesPoint { get; }
Public ReadOnly Property SeriesPoint As SeriesPoint
| Type | Description |
|---|---|
| SeriesPoint |
A SeriesPoint object which represents the topmost series point under the test point.
|
Use the SeriesPoint property to access the series point located under the test point if the ChartHitInfo.InSeries property returns true. Note that if the ChartHitInfo.InSeries is false , then the SeriesPoint property returns null ( Nothing in Visual Basic).
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SeriesPoint property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
winforms-chart-make-points-in-a-chartcontrol-adjustable-interactively/CS/Form1.cs#L15
private void chartControl1_ObjectHotTracked(object sender, HotTrackEventArgs e) {
if(e.HitInfo.SeriesPoint != null)
selectedPoint = e.HitInfo.SeriesPoint;
winforms-chart-make-points-in-a-chartcontrol-adjustable-interactively/VB/Form1.vb#L20
Private Sub chartControl1_ObjectHotTracked(ByVal sender As Object, ByVal e As HotTrackEventArgs)
If e.HitInfo.SeriesPoint IsNot Nothing Then selectedPoint = e.HitInfo.SeriesPoint
If selectedPoint IsNot Nothing AndAlso isPressed Then
See Also