Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/transition/timeseries/TimeSeriesOutputTransition.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 | a16d337c5678 |
children | 63f8b3fb7d9a |
comparison
equal
deleted
inserted
replaced
309:333ea3d54423 | 310:45625b5cd6d4 |
---|---|
407 log.debug("Create chart."); | 407 log.debug("Create chart."); |
408 Chart chart = getChart( | 408 Chart chart = getChart( |
409 chartLables, | 409 chartLables, |
410 parameters, | 410 parameters, |
411 measurements, | 411 measurements, |
412 dates, | |
412 getChartResult(uuid), | 413 getChartResult(uuid), |
413 timeGapDefinitions, | |
414 null, // Locale | 414 null, // Locale |
415 uuid | 415 uuid |
416 ); | 416 ); |
417 | 417 |
418 if (chart == null) { | 418 if (chart == null) { |
430 exportFormat, | 430 exportFormat, |
431 outputStream | 431 outputStream |
432 ); | 432 ); |
433 } | 433 } |
434 | 434 |
435 | |
435 protected Chart getChart( | 436 protected Chart getChart( |
436 ChartLabels chartLables, | 437 ChartLabels chartLables, |
437 Collection parameters, | 438 Collection parameters, |
438 Collection measurements, | 439 Collection measurements, |
440 Collection dates, | |
439 Collection result, | 441 Collection result, |
440 Collection dates, | |
441 Locale locale, | 442 Locale locale, |
442 String uuid | 443 String uuid |
443 ) { | 444 ) { |
444 Chart chart = null; | 445 Chart chart = null; |
445 | 446 |
455 chart = new TimeSeriesChart( | 456 chart = new TimeSeriesChart( |
456 chartLables, | 457 chartLables, |
457 createStyle(), | 458 createStyle(), |
458 parameters, | 459 parameters, |
459 measurements, | 460 measurements, |
461 dates, | |
460 result, | 462 result, |
461 dates, | 463 timeGapDefinitions, |
462 null | 464 null |
463 ); | 465 ); |
464 chart.generateChart(); | 466 chart.generateChart(); |
465 | 467 |
466 if (CACHE_CHART) { | 468 if (CACHE_CHART) { |