corelibraries-devexpress-dot-xtracharts-dot-charthitinfo-cd49b34c.md
Returns a value indicating whether the cursor is over a series point or not.
Namespace : DevExpress.XtraCharts
Assembly : DevExpress.XtraCharts.v25.2.dll
NuGet Package : DevExpress.Charts
public bool InSeriesPoint { get; }
Public ReadOnly Property InSeriesPoint As Boolean
| Type | Description |
|---|---|
| Boolean |
true if the cursor is over a series point; otherwise false.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the InSeriesPoint 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.
ChartHitInfo hitInfo = chart.CalcHitInfo(e.Location);
if (hitInfo.InSeriesPoint)
{
private void OnObjectHotTracked(object sender, HotTrackEventArgs e) {
trackedPointArgument = e.HitInfo.InSeriesPoint ? e.HitInfo.SeriesPoint.Argument : null;
chart.Invalidate();
ChartHitInfo hitInfo = chart.CalcHitInfo(e.Location);
if(hitInfo.InSeriesPoint) {
if(Interactivity.CanPerformDrillDown)
Dim hitInfo As ChartHitInfo = chart.CalcHitInfo(e.Location)
If hitInfo.InSeriesPoint Then
If Interactivity.CanPerformDrillDown Then
Private Sub OnObjectHotTracked(ByVal sender As Object, ByVal e As DevExpress.XtraCharts.HotTrackEventArgs)
Me.trackedPointArgument = If(e.HitInfo.InSeriesPoint, e.HitInfo.SeriesPoint.Argument, Nothing)
Me.chart.Invalidate()
Dim hitInfo As ChartHitInfo = chart.CalcHitInfo(e.Location)
If hitInfo.InSeriesPoint Then
If Interactivity.CanPerformDrillDown Then
See Also