Annotation

An annotation draws a text description on the chart canvas.

Attributes

position

where the text is drawn:

  1. TOPRIGHT
  2. BOTTOMRIGHT
  3. BOTTOMLEFT
  4. TOPLEFT

text

the text to display

backgroundStyle

change the background colour of the annotation. Uses SVG syntax e.g. backgroundStyle=”fill:#FFF100”

style

set the style of text. Uses SVG syntax e.g. style=”font-size:10;font-weight:bold”


Click to see Comments

Help comments powered by Disqus