Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/jfree/AnnotationHelper.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 |
---|---|
30 import org.dive4elements.river.themes.TextStyle; | 30 import org.dive4elements.river.themes.TextStyle; |
31 import org.dive4elements.river.exports.ChartSettings; | 31 import org.dive4elements.river.exports.ChartSettings; |
32 import org.dive4elements.river.exports.LegendSection; | 32 import org.dive4elements.river.exports.LegendSection; |
33 import org.dive4elements.river.exports.ChartArea; | 33 import org.dive4elements.river.exports.ChartArea; |
34 | 34 |
35 import org.apache.log4j.Logger; | 35 import org.apache.logging.log4j.Logger; |
36 import org.apache.logging.log4j.LogManager; | |
36 | 37 |
37 /** Annotation helper class, handles plotting of annotations. */ | 38 /** Annotation helper class, handles plotting of annotations. */ |
38 public class AnnotationHelper { | 39 public class AnnotationHelper { |
39 private static final Logger log = Logger.getLogger(AnnotationHelper.class); | 40 private static final Logger log = LogManager.getLogger(AnnotationHelper.class); |
40 | 41 |
41 protected static float ANNOTATIONS_AXIS_OFFSET = 0.02f; | 42 protected static float ANNOTATIONS_AXIS_OFFSET = 0.02f; |
42 | 43 |
43 /* arr this would be better in chartsettings */ | 44 /* arr this would be better in chartsettings */ |
44 public static final int DEFAULT_FONT_SIZE = 12; | 45 public static final int DEFAULT_FONT_SIZE = 12; |