Annotations
It is possible to drop annotations on a graph using the parameter 'notex'. Up to 20 annotations
can be displayed, each of them receiving an index ranging from 1 to 20. Actually any number of annotations
can be displayed, however the applets source code has to be slightly modified to support more than
20 annotations.
An annotation can be dragged and can have its opacity switched on/off, either by double-clicking
the annotation box or using the parameter 'notex_opaque'.
There are parameters to configure diverse properties, like text alignment, the dimension of the
note box, foreground and background colors, etc. A list of all annotation parameters can be
found here.
The following example displays two annotations, one opaque and the other transparent. To drag an
annotation, click it and drag mouse. A double click on an annotation alternates its opacity.
<applet code="GraphApplet.class" codebase="../../../demo/applets/classes" archive="GraphChart.jar" width=400 height=300>
<param name="tooltipson" value="yes">
<param name="title" value="The JetChart Library,Annotations">
<param name="graphset0_gridon" value="yes">
<param name="graphset0_gridcolor" value="999999">
<param name="graphset0_gridstyle" value="1">
<param name="serie1" value="bar,Bar series,00ff00">
<param name="serie1_values" value="100,200,150,300,90">
<param name="note1" value="This is an,opaque annotation">
<param name="note1_location" value="100,150">
<param name="note1_backcolor" value="0000ff">
<param name="note1_color" value="ffff00">
<param name="note2" value="This is a,transparent annotation">
<param name="note2_location" value="60,40">
<param name="note2_opaque" value="no">
<param name="note2_font" value="SansSerif,12,1">
<param name="note2_backcolor" value="ffff00">
</applet>