developer.annotations

From autoplot.org

Jump to: navigation, search

Purpose: define new features to complete DasAnnotation Audience: Das2 developers.

Contents

  1. Introduction
  2. Current State
  3. Proposed Changes
  4. Current State (2018-06-14)
  5. New Proposed Changes

1. Introduction

The DasAnnotation object allows annotations to be added to the dasCanvas.

2. Current State

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.

3. Proposed Changes

  • 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.

4. Current State (2018-06-14)

This was all implemented, excluding rotations. See http://autoplot.org//Annotations and http://autoplot.org//help.annotationCommand

5. New Proposed Changes

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/

Personal tools