Tracker vs. Annotation

Apr 2, 2014 at 10:15 AM
I just tried out OxyPlot yesterday so I don't have that much experience yet.

In the "Getting Started"-example ( a Function Series is introduced, and a Tracker is shown in the resulting plot when pressing the left mouse button.
Instead of a Function Series, I would like to draw some polygons with a Tracker attached. I tried to add a Polygon Annotation showing nice polygons in the plot, but no Tracker is shown when pressing the left mouse button. Do I have to implement the polygons using Series or is there another way of getting the Tracker together with annotations? Do I miss something?
Apr 2, 2014 at 11:14 AM
Annotations are (currently) not target for the tracker. The tracker only does hit testing on the series. I would suggest to create a custom PolygonSeries that implements the hit test method. The AreaSeries is another alternative, but not as clean.