[PATCH 3 of 3] Konfiguration for legend aggregation of events themes in fixa

Wald Commits scm-commit at wald.intevation.org
Tue Oct 23 16:27:24 CEST 2018


# HG changeset patch
# User gernotbelger
# Date 1540304831 -7200
# Node ID 145895212b3c7edc960f05beb0176ef1e84ccea8
# Parent  9b8e8fc1f4081dbf89ebc346d7598631ee02264f
Konfiguration for legend aggregation of events themes in fixa.

diff -r 9b8e8fc1f408 -r 145895212b3c artifacts/doc/conf/themes.xml
--- a/artifacts/doc/conf/themes.xml	Tue Oct 23 16:26:58 2018 +0200
+++ b/artifacts/doc/conf/themes.xml	Tue Oct 23 16:27:11 2018 +0200
@@ -1,10 +1,12 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE themes [
+    <!ENTITY legend SYSTEM "${artifacts.config.dir}/themes/legend.xml">
     <!ENTITY virtual SYSTEM "${artifacts.config.dir}/themes/virtual.xml">
     <!ENTITY default SYSTEM "${artifacts.config.dir}/themes/default.xml">
     <!ENTITY second  SYSTEM "${artifacts.config.dir}/themes/second.xml">
 ]>
 <themes>
+    &legend;
     &virtual;
     &default;
     &second;
diff -r 9b8e8fc1f408 -r 145895212b3c artifacts/doc/conf/themes/legend.xml
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/artifacts/doc/conf/themes/legend.xml	Tue Oct 23 16:27:11 2018 +0200
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<legendgroup>
+  <!-- Themes in legend groups define how aggregated legend items (aggregated by theme-type) get styled The style is basically copied from the original legend item and then changed with the settings here. The name attribute contains the theme type (i.e. facet name). -->
+
+  <theme name="longitudinal_section.w" desc="longitudinal_section.w.legend">
+    <fields>
+    </fields>
+  </theme>
+  <theme name="longitudinal_section.q" desc="longitudinal_section.q.legend">
+    <fields>
+    </fields>
+  </theme>
+  <theme name="other.wqkms.w" desc="other.wqkms.w.legend">
+    <fields>
+    </fields>
+  </theme>
+  <theme name="other.wqkms.q" desc="other.wqkms.q.legend">
+    <fields>
+    </fields>
+  </theme>
+
+  <theme name="cross_section_water_line" desc="cross_section_water_line.legend">
+    <fields>
+    </fields>
+  </theme>
+  
+  <theme name="fix_events_wqkms" desc="fix.vollmer.wq.events">
+    <fields>
+       <!-- set color to black because the unaggregated themes have random color -->
+      <field name="pointcolor" type="Color" default="0, 0, 0"/>
+    </fields>
+  </theme>
+
+  <theme name="fix_analysis_events_wq" desc="fix.analysis">
+    <fields>
+    </fields>
+  </theme>
+  <theme name="fix_analysis_events_dwt" desc="fix.analysis">
+    <fields>
+    </fields>
+  </theme>
+  <theme name="fix_analysis_events_ls" desc="fix.analysis">
+    <fields>
+    </fields>
+  </theme>
+
+  <theme name="fix_reference_events_dwt" desc="fix.reference.period.event">
+    <fields>
+    </fields>
+  </theme>
+  <theme name="fix_reference_events_ls" desc="fix.reference.period.event">
+    <fields>
+    </fields>
+  </theme>
+  <theme name="fix_reference_events_wq" desc="fix.reference.period.event">
+    <fields>
+    </fields>
+  </theme>
+</legendgroup>
\ No newline at end of file


More information about the Dive4Elements-commits mailing list