Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/transition/profile/vertical/VerticalProfileOutputTransition.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 |
---|---|
37 super(); | 37 super(); |
38 super.domainLable = "Depth [m]"; | 38 super.domainLable = "Depth [m]"; |
39 } | 39 } |
40 | 40 |
41 | 41 |
42 | |
43 @Override | 42 @Override |
44 protected Chart getChart(ChartLabels chartLables, Collection parameters, | 43 protected Chart getChart( |
45 Collection measurements, Collection result, | 44 ChartLabels chartLables, |
46 Collection dates, Locale locale, String uuid) { | 45 Collection parameters, |
46 Collection measurements, | |
47 Collection dates, | |
48 Collection result, | |
49 Locale locale, | |
50 String uuid | |
51 ) { | |
47 Chart chart = null; | 52 Chart chart = null; |
48 | 53 |
49 if (CACHE_CHART) { | 54 if (CACHE_CHART) { |
50 log.info("Try to get verticalprofile chart from cache."); | 55 log.info("Try to get verticalprofile chart from cache."); |
51 chart = (Chart) getChartFromCache(uuid); | 56 chart = (Chart) getChartFromCache(uuid); |
58 chart = new VerticalProfileChart( | 63 chart = new VerticalProfileChart( |
59 chartLables, | 64 chartLables, |
60 this.createStyle(), | 65 this.createStyle(), |
61 parameters, | 66 parameters, |
62 measurements, | 67 measurements, |
68 dates, | |
63 result, | 69 result, |
64 dates, | 70 null, |
65 locale | 71 locale |
66 ); | 72 ); |
67 chart.generateChart(); | 73 chart.generateChart(); |
68 | 74 |
69 if (CACHE_CHART) { | 75 if (CACHE_CHART) { |