-
Notifications
You must be signed in to change notification settings - Fork 0
developer.annotations
Jeremy Faden edited this page Jun 14, 2024
·
3 revisions
Purpose: define new features to complete DasAnnotation Audience: Das2 developers.
The DasAnnotation object allows annotations to be added to the dasCanvas.
It is positioned with a row and column, uses GrannyText, and allows pointing at a coordinate.
It currently misses the bounds if you enlarge the font.
- This should have a position relative to the box control, similar to the legend.
- The default is NW, but this could also be SW,NE,SE,OutsideSE,Above,Below.
- It would be nice to have rotations and offsets. (NW;+3em+10pt,+2em)
- It would be nice to be able to attach it to data as well, so instead of drawing an arrow, it would locate based on the data.
This was all implemented, excluding rotations. See http://autoplot.org//Annotations and http://autoplot.org//help.annotationCommand
I'd like for annotations to be able to implement plot legends. This would mean adding a new capability to the GrannyTextRenderer to insert plot symbols and colors. See https://sourceforge.net/p/autoplot/feature-requests/634/