oxyplot
oxyplot copied to clipboard
Annotation Rotation
I was going to use an ellipse annotation as a simple way to overlay a 95% confidence ellipse on some X,Y scatter data. Would be nice to have rotation on all ShapeAnnotations.
See also http://discussion.oxyplot.org/topic/546899-ellipse-annotation-rotation/
All annotation types? Or only rectangle and ellipse annotations? Image annotations?
I think there is a few alternative implementations
- Implement rotated ellipses/rectangles by calculating rotate coordinates and draw as polygon
- Extending IRenderContext rectangle and ellipse drawing with rotation angle
- Extending IRenderContext with transforms (apply/reset)
(ordered by amount of work)
Should the text inside the annotations be rotated?
Sorry, I have been working on a project that uses oxyplot as a side project, and haven't had much time lately. For lack of time I utilized option 1, implementing the a function that calculates points for an ellipse and draws it as polygons. Would be nice to be able to apply rotation to most of the shape annotations. The ultimate would be to have the ability to apply a separate rotation to the text inside the annotation, but I'd settle for any rotation :)
Has this been implemented?
Image annotations?