Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/TimeseriesChartGenerator.java @ 9726:0a5239a1e46e 3.2.x
Upgrade to Log4j 2
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Wed, 02 Mar 2022 10:26:50 +0100 |
parents | 0071702ba03f |
children | ae298eccc25c |
comparison
equal
deleted
inserted
replaced
9725:da398790fa32 | 9726:0a5239a1e46e |
---|---|
31 import java.util.List; | 31 import java.util.List; |
32 import java.util.Map; | 32 import java.util.Map; |
33 | 33 |
34 import javax.swing.ImageIcon; | 34 import javax.swing.ImageIcon; |
35 | 35 |
36 import org.apache.log4j.Logger; | 36 import org.apache.logging.log4j.Logger; |
37 import org.apache.logging.log4j.LogManager; | |
37 import org.jfree.chart.ChartFactory; | 38 import org.jfree.chart.ChartFactory; |
38 import org.jfree.chart.JFreeChart; | 39 import org.jfree.chart.JFreeChart; |
39 import org.jfree.chart.LegendItem; | 40 import org.jfree.chart.LegendItem; |
40 import org.jfree.chart.LegendItemCollection; | 41 import org.jfree.chart.LegendItemCollection; |
41 import org.jfree.chart.annotations.XYAnnotation; | 42 import org.jfree.chart.annotations.XYAnnotation; |
69 protected Map<String, String> attributes; | 70 protected Map<String, String> attributes; |
70 | 71 |
71 protected boolean domainZeroLineVisible; | 72 protected boolean domainZeroLineVisible; |
72 | 73 |
73 private static final Logger log = | 74 private static final Logger log = |
74 Logger.getLogger(TimeseriesChartGenerator.class); | 75 LogManager.getLogger(TimeseriesChartGenerator.class); |
75 | 76 |
76 public static final int AXIS_SPACE = 5; | 77 public static final int AXIS_SPACE = 5; |
77 | 78 |
78 protected Map<Integer, Bounds> xBounds; | 79 protected Map<Integer, Bounds> xBounds; |
79 | 80 |