comparison artifacts/src/main/java/org/dive4elements/river/themes/ThemeDocument.java @ 9602:6b2496d71936

Reimplemented baseline for tkh. Extended area-dataset to be able to draw baseline.
author gernotbelger
date Tue, 12 Feb 2019 14:08:16 +0100
parents ef5754ba5573
children
comparison
equal deleted inserted replaced
9601:8f59aa01c22a 9602:6b2496d71936
122 122
123 public final static String BANDWIDTH = "bandwidth"; 123 public final static String BANDWIDTH = "bandwidth";
124 124
125 public final static String SHOWEXTRAMARK = "showextramark"; 125 public final static String SHOWEXTRAMARK = "showextramark";
126 126
127 private final static String BASE_LINE_COLOR = "baselineColor";
128
127 /* boolean parameter if the range of this theme should be considered when auto-zooming. Only works for area-series at the moment */ 129 /* boolean parameter if the range of this theme should be considered when auto-zooming. Only works for area-series at the moment */
128 private static final String CALCULATE_RANGE = "calculateRange"; 130 private static final String CALCULATE_RANGE = "calculateRange";
129 131
130 private Map<String, String> values; 132 private Map<String, String> values;
131 133
594 596
595 public int parseTransparency() { 597 public int parseTransparency() {
596 return parseInteger(getTransparencyString(), 50); 598 return parseInteger(getTransparencyString(), 50);
597 } 599 }
598 600
601 public Color parseBaseLineColor() {
602 final String colorStr = getValue(BASE_LINE_COLOR);
603 return parseColor(colorStr);
604 }
599 605
600 /** 606 /**
601 * Gets color from color field. 607 * Gets color from color field.
602 * @return color. 608 * @return color.
603 */ 609 */

http://dive4elements.wald.intevation.org