changeset 9557:145895212b3c

Konfiguration for legend aggregation of events themes in fixa.
author gernotbelger
date Tue, 23 Oct 2018 16:27:11 +0200
parents 9b8e8fc1f408
children 709a73badd48
files artifacts/doc/conf/themes.xml artifacts/doc/conf/themes/legend.xml
diffstat 2 files changed, 61 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;
--- /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

http://dive4elements.wald.intevation.org