Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java @ 2017:e384d78ff78b
Cosmetics.
flys-artifacts/trunk@3472 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Tue, 20 Dec 2011 06:26:25 +0000 |
parents | 4ae9c92feb8c |
children | 9d2a06c3a134 |
comparison
equal
deleted
inserted
replaced
2016:796dfe96b6b2 | 2017:e384d78ff78b |
---|---|
76 import org.jfree.chart.renderer.xy.XYItemRenderer; | 76 import org.jfree.chart.renderer.xy.XYItemRenderer; |
77 | 77 |
78 import org.jfree.ui.ApplicationFrame; | 78 import org.jfree.ui.ApplicationFrame; |
79 import org.jfree.ui.RefineryUtilities; | 79 import org.jfree.ui.RefineryUtilities; |
80 | 80 |
81 /** | |
82 * Standalone tech-demo. | |
83 */ | |
81 public class CrossSectionApp | 84 public class CrossSectionApp |
82 extends ApplicationFrame | 85 extends ApplicationFrame |
83 { | 86 { |
84 public static final String RIVER = System.getProperty("river", "Saar"); | 87 public static final String RIVER = System.getProperty("river", "Saar"); |
85 | 88 |
529 | 532 |
530 datasets.add(new Pair<XYDataset, XYItemRenderer>( | 533 datasets.add(new Pair<XYDataset, XYItemRenderer>( |
531 new XYSeriesCollection(series), null));; | 534 new XYSeriesCollection(series), null));; |
532 } | 535 } |
533 | 536 |
537 | |
538 /** | |
539 * @param legend the legend entry. | |
540 */ | |
534 public void generateGround( | 541 public void generateGround( |
535 List<Point2D> points, | 542 List<Point2D> points, |
536 String legend, | 543 String legend, |
537 List<Pair<XYDataset, XYItemRenderer>> datasets | 544 List<Pair<XYDataset, XYItemRenderer>> datasets |
538 ) { | 545 ) { |