Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/jfree/StableXYDifferenceRenderer.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 | 5e38e2924c07 |
children |
comparison
equal
deleted
inserted
replaced
9725:da398790fa32 | 9726:0a5239a1e46e |
---|---|
131 | 131 |
132 import org.dive4elements.river.artifacts.math.Linear; | 132 import org.dive4elements.river.artifacts.math.Linear; |
133 | 133 |
134 import java.text.NumberFormat; | 134 import java.text.NumberFormat; |
135 | 135 |
136 import org.apache.log4j.Logger; | 136 import org.apache.logging.log4j.Logger; |
137 import org.apache.logging.log4j.LogManager; | |
137 | 138 |
138 /** | 139 /** |
139 * A renderer for an {@link XYPlot} that highlights the differences between two | 140 * A renderer for an {@link XYPlot} that highlights the differences between two |
140 * series. The example shown here is generated by the | 141 * series. The example shown here is generated by the |
141 * <code>DifferenceChartDemo1.java</code> program included in the JFreeChart | 142 * <code>DifferenceChartDemo1.java</code> program included in the JFreeChart |
145 * alt="StableXYDifferenceRendererSample.png" /> | 146 * alt="StableXYDifferenceRendererSample.png" /> |
146 */ | 147 */ |
147 public class StableXYDifferenceRenderer extends AbstractXYItemRenderer | 148 public class StableXYDifferenceRenderer extends AbstractXYItemRenderer |
148 implements XYItemRenderer, PublicCloneable { | 149 implements XYItemRenderer, PublicCloneable { |
149 | 150 |
150 private static Logger log = Logger.getLogger( | 151 private static Logger log = LogManager.getLogger( |
151 StableXYDifferenceRenderer.class); | 152 StableXYDifferenceRenderer.class); |
152 | 153 |
153 public static final int CALCULATE_POSITIVE_AREA = 1; | 154 public static final int CALCULATE_POSITIVE_AREA = 1; |
154 public static final int CALCULATE_NEGATIVE_AREA = 2; | 155 public static final int CALCULATE_NEGATIVE_AREA = 2; |
155 public static final int CALCULATE_ALL_AREA = | 156 public static final int CALCULATE_ALL_AREA = |