SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components

0 votes
394 views

We have annotations placed based on mouseposition. To snap the annotation to the position of the datapoints, we use IDataSeries.FindClosestPoint(..) method to step to the nearest point, then applying it to the “X1”-property of the belonging annotation. This works well for most of the Series, but it fails for

XyDataSeries<int, double>

error:

InvalidCastException Specified cast is not valid.

Is this a known issue, any work-arounds for this ?

  • Steffen asked 4 months ago
  • last active 4 months ago
Showing 1 result
This template supports the sidebar's widgets. Add one or use Full Width layout.