Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/transition/profile/horizontal/HorizontalProfileOutputTransition.java @ 307:f0f106c7b906
Fixed some broken Method-Extentions.
Added some null-value checks.
gnv-artifacts/trunk@365 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Tue, 24 Nov 2009 14:39:36 +0000 |
parents | 3ea030aafe65 |
children | 45625b5cd6d4 |
comparison
equal
deleted
inserted
replaced
306:e7f1c79bf9cd | 307:f0f106c7b906 |
---|---|
63 */ | 63 */ |
64 public HorizontalProfileOutputTransition() { | 64 public HorizontalProfileOutputTransition() { |
65 super(); | 65 super(); |
66 super.domainLable = "Distance [km]"; | 66 super.domainLable = "Distance [km]"; |
67 } | 67 } |
68 | 68 @Override |
69 protected Chart getChart( | 69 protected Chart getChart( |
70 ChartLabels chartLables, | 70 ChartLabels chartLables, |
71 ChartTheme chartTheme, | |
72 Collection parameters, | 71 Collection parameters, |
73 Collection measurements, | 72 Collection measurements, |
74 Collection result, | 73 Collection result, |
75 Collection dates, | 74 Collection dates, |
76 Locale locale, | 75 Locale locale, |
87 return chart; | 86 return chart; |
88 | 87 |
89 log.info("Chart not in cache yet."); | 88 log.info("Chart not in cache yet."); |
90 chart = new HorizontalProfileChart( | 89 chart = new HorizontalProfileChart( |
91 chartLables, | 90 chartLables, |
92 chartTheme, | 91 createStyle(), |
93 parameters, | 92 parameters, |
94 measurements, | 93 measurements, |
95 result, | 94 result, |
96 dates, | 95 dates, |
97 locale | 96 locale |