Mercurial > dive4elements > river
diff flys-artifacts/src/main/java/de/intevation/flys/exports/XYChartGenerator.java @ 1861:11c4b1429117
Cosmetics, resolve code duplicate.
flys-artifacts/trunk@3210 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 10 Nov 2011 10:18:31 +0000 |
parents | 5d5dd44d613e |
children | de0c2bbb27f9 |
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/XYChartGenerator.java Thu Nov 10 10:13:57 2011 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/XYChartGenerator.java Thu Nov 10 10:18:31 2011 +0000 @@ -647,7 +647,14 @@ /** - * Store themed annotations like MainValues for later plotting. + * Register annotations like MainValues for later plotting + * + * @param o list of annotations (data of facet). + * @param facet The facet. This facet does NOT support any data objects. Use + * FLYSArtifact.getNativeFacet() instead to retrieve a Facet which supports + * data. + * @param theme Theme document for given annotations. + * @param visible The visibility of the annotations. */ protected void doAnnotations( FLYSAnnotation annotations, @@ -657,6 +664,7 @@ ){ logger.debug("doAnnotations"); + // Add all annotations to our annotation pool. annotations.setTheme(theme); annotations.setLabel(facet.getDescription()); addAnnotations(annotations, visible);