das-developers / das2java

The original das2 library. Provides interactive publication-ready 2-D plotting
https://das2.org
GNU Lesser General Public License v3.0
4 stars 0 forks source link

Granny Text Renderer / DasAnnotations rotate control #56

Open jbfaden opened 1 year ago

jbfaden commented 1 year ago

The GrannyTextRenderer is only able to draw in one orientation, so annotations are never rotated. The DasAxis rotates the graphics context, but the GTR itsself is unaware. It would be useful to be able to do this, for example to efficiently label a vertical line. Generalize rotations might be nice, too, for angled ticks.

jbfaden commented 1 year ago

The events renderer would benefit from rotated labels, and would allow the problem to be studied.