Summary
Tag name:
<dvt:annotationSet>
Use the annotationSet tag to wrap any number of annotation tags for a graph.
Relationship with other tags
The annotationSet tag must be a child of one of the following components:
Advanced graph, areaGraph, barGraph, comboGraph, dualYBarGraph, dualYComboGraph,
dualYLineGraph, horizontalBarGraph, horizontalStackedBarGraph, paretoGraph,
lineGraph, stackedBarGraph.
The annotationSet tag has the following child tag: annotation tag.
Example
The following example shows the XML for an annotationSet tag that wraps six annotations for a graph.
<dvt:graph
<dvt:annotationSet>
<dvt:annotation series="0" group="0" text="annotation #1"/>
<dvt:annotation series="0" group="0" text="Second annotation for the same series and group"/>
<dvt:annotation series="1" group="3" text="This is a long long long annotation text for series 1 and group 3">
<dvt:graphFont name="SansSerif" size="10" color="#0000FF" bold="false" italic="true" underline="false"/>
</dvt:annotation>
<dvt:annotation series="1" group="7" text="fourth annotation"/>
<dvt:annotation series="0" group="7" fillColor="#55FFFF00" borderColor="#55FF0000" text="fifth annotation"/>
<dvt:annotation series="0" group="7" fillColor="#55FFFF00" borderColor="#55FF0000" text="sixth of the same set"/>
</dvt:annotationSet>
</dvt:graph>
Attributes
| Name |
Type |
Supports EL? |
Description |
| id |
java.lang.String |
no |
Specifies the identifier for the component |
| annotationMap |
java.util.Map |
no |
Specifies a Map containing Annotation child components. |