oxyplot icon indicating copy to clipboard operation
oxyplot copied to clipboard

Annotation Rotation

Open dgwaldo opened this issue 10 years ago • 5 comments

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.

dgwaldo avatar Dec 02 '14 03:12 dgwaldo

See also http://discussion.oxyplot.org/topic/546899-ellipse-annotation-rotation/

objorke avatar Dec 02 '14 14:12 objorke

All annotation types? Or only rectangle and ellipse annotations? Image annotations?

I think there is a few alternative implementations

  1. Implement rotated ellipses/rectangles by calculating rotate coordinates and draw as polygon
  2. Extending IRenderContext rectangle and ellipse drawing with rotation angle
  3. Extending IRenderContext with transforms (apply/reset)

(ordered by amount of work)

Should the text inside the annotations be rotated?

objorke avatar Dec 02 '14 14:12 objorke

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 :)

dgwaldo avatar Jan 13 '15 22:01 dgwaldo

Has this been implemented?

D-Bullock avatar Jun 13 '19 01:06 D-Bullock

Image annotations?

thecco avatar Dec 21 '21 05:12 thecco