Does the pie series fire MouseUp/MouseDown event? Those events do not seem to trigger when I click on the slices.
PieSeries pieSeries = new PieSeries();
pieSeries.Slices = listOfPieSlices; // populate
pieSeries.MouseDown += (o, args) =>
// handle mousedown event - never trigger here
May 6, 2013 at 8:39 AM
Sorry, the mouse events are not yet supported by the
But it should be quite easy to implement:
- store the polygons in the
PieSeries.Render method in a private field
- in the
PieSeries.GetNearestPoint method, check if the point is inside any of these polygons (use
see a similar implementation in the
BarSeriesBase and return a TrackerHitResult
If you or someone else want to make a pull request for this issue, remember to include an example!