Quantcast
Channel: OxyPlot (moved to GitHub)
Viewing all articles
Browse latest Browse all 2061

Commented Unassigned: GetNearestPoint return DataPoint even when custom IDataPoint used [10115]

$
0
0
I noticed that Series.Points is a collection of IDataPoint.

"Great!" I thought. So I created a custom type (where I could hold some extra info) and drew my graph and it worked.

The problem is when I use Series.GetNearestPoint it seems to be returning me DataPoint underneath the IDataPoint when I'm expecting it to return my custom type.

Any clues?
Comments: Did you check the Item property of the TrackerHitResult? I think the DataPoint property contains an interpolated point.

Viewing all articles
Browse latest Browse all 2061

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>