Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/transition/profile/horizontal/HorizontalProfileOutputTransition.java @ 310:45625b5cd6d4
Added timegap definitions to charts. Adapted constructors and constructor calls.
gnv-artifacts/trunk@368 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 24 Nov 2009 19:14:58 +0000 |
parents | f0f106c7b906 |
children | e6e172a4915e |
comparison
equal
deleted
inserted
replaced
309:333ea3d54423 | 310:45625b5cd6d4 |
---|---|
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 | |
69 | |
68 @Override | 70 @Override |
69 protected Chart getChart( | 71 protected Chart getChart( |
70 ChartLabels chartLables, | 72 ChartLabels chartLables, |
71 Collection parameters, | 73 Collection parameters, |
72 Collection measurements, | 74 Collection measurements, |
75 Collection dates, | |
73 Collection result, | 76 Collection result, |
74 Collection dates, | |
75 Locale locale, | 77 Locale locale, |
76 String uuid | 78 String uuid |
77 ) { | 79 ) { |
78 Chart chart = null; | 80 Chart chart = null; |
79 | 81 |
89 chart = new HorizontalProfileChart( | 91 chart = new HorizontalProfileChart( |
90 chartLables, | 92 chartLables, |
91 createStyle(), | 93 createStyle(), |
92 parameters, | 94 parameters, |
93 measurements, | 95 measurements, |
96 dates, | |
94 result, | 97 result, |
95 dates, | 98 null, |
96 locale | 99 locale |
97 ); | 100 ); |
98 chart.generateChart(); | 101 chart.generateChart(); |
99 | 102 |
100 if (CACHE_CHART) { | 103 if (CACHE_CHART) { |