Browse Source

Diagramme nach Abschlussgruppe, Lehramt und Bildungstyp erstellt #11

master
Daniel Quathamer 1 month ago
parent
commit
4d88e6b83c
  1. 27
      src-modules/module/viz/conf/viz.xml
  2. 29
      src-modules/module/viz/masken/44310_felderinfo.unl
  3. 1
      src-modules/module/viz/masken/44310_maske_system_bez.unl
  4. 15
      src-modules/module/viz/masken/44310_masken_felder_bez.unl
  5. 1
      src-modules/module/viz/masken/44310_maskeninfo.unl
  6. 1
      src-modules/module/viz/masken/44310_sachgeb_maske_bez.unl
  7. 29
      src-modules/module/viz/masken/44340_felderinfo.unl
  8. 1
      src-modules/module/viz/masken/44340_maske_system_bez.unl
  9. 15
      src-modules/module/viz/masken/44340_masken_felder_bez.unl
  10. 1
      src-modules/module/viz/masken/44340_maskeninfo.unl
  11. 1
      src-modules/module/viz/masken/44340_sachgeb_maske_bez.unl
  12. 32
      src-modules/module/viz/schluesseltabellen/macro_masken_bez_fuellen.sql
  13. 53
      src-modules/module/viz/schluesseltabellen/rpta_column_layout_sos_stud_abgrp_fuellen.sql
  14. 54
      src-modules/module/viz/schluesseltabellen/rpta_column_layout_sos_stud_bildungstyp_fuellen.sql
  15. 54
      src-modules/module/viz/schluesseltabellen/rpta_column_layout_sos_stud_la_fuellen.sql
  16. 14
      src-modules/module/viz/schluesseltabellen/sx_stylesheets_einfuegen.sql
  17. 91
      src-modules/module/viz/schluesseltabellen/viz_chart.unl
  18. 2
      superx/xml/js/viz/viz_viewer.js

27
src-modules/module/viz/conf/viz.xml

@ -422,7 +422,19 @@ parent="Visualisierungen">Abfragen zur Administration von Visualisierungen </the @@ -422,7 +422,19 @@ parent="Visualisierungen">Abfragen zur Administration von Visualisierungen </the
<path>$VIZ_PFAD/masken</path>
</src>
</maske>
<maske tid="44510" name="Studienanfänger_innen nach Jahr" thema="Visualisierungen">
<maske tid="44310" name="Studierende nach Abschluss" thema="Visualisierungen">
<description> </description>
<src>
<path>$VIZ_PFAD/masken</path>
</src>
</maske>
<maske tid="44310" name="Studierende nach Abschluss" thema="Visualisierungen">
<description> </description>
<src>
<path>$VIZ_PFAD/masken</path>
</src>
</maske>
<maske tid="44340" name="Studierende nach Bildungstyp" thema="Visualisierungen">
<description> </description>
<src>
<path>$VIZ_PFAD/masken</path>
@ -446,7 +458,7 @@ parent="Visualisierungen">Abfragen zur Administration von Visualisierungen </the @@ -446,7 +458,7 @@ parent="Visualisierungen">Abfragen zur Administration von Visualisierungen </the
<path>$VIZ_PFAD/masken</path>
</src>
</maske>
<maske tid="44630" name="VIZ-Dashboard Settings" thema="Initialisierung für Makroberichte">
<maske tid="44630" name="Dashboard Kopfzeile" thema="Initialisierung für Makroberichte">
<description> </description>
<src>
<path>$VIZ_PFAD/masken</path>
@ -576,10 +588,9 @@ parent="Visualisierungen">Abfragen zur Administration von Visualisierungen </the @@ -576,10 +588,9 @@ parent="Visualisierungen">Abfragen zur Administration von Visualisierungen </the
<nativeaction sql="" scriptfile="$VIZ_PFAD/schluesseltabellen/rpta_column_layout_sos_stud_lkreis_hzbkfz_fuellen.sql" database=""/>
<nativeaction sql="" scriptfile="$VIZ_PFAD/schluesseltabellen/rpta_column_layout_sos_stud_lkreis_semkfz_fuellen.sql" database=""/>
<nativeaction sql="" scriptfile="$VIZ_PFAD/schluesseltabellen/rpta_column_layout_sos_stud_zeitreihe_fuellen.sql" database=""/>
<nativeaction sql="" scriptfile="$VIZ_PFAD/schluesseltabellen/rpta_column_layout_sos_stud_bildungstyp_fuellen.sql" database=""/>
<nativeaction sql="" scriptfile="$VIZ_PFAD/schluesseltabellen/rpta_column_layout_sos_stud_abgrp_fuellen.sql" database=""/>
<nativeaction sql="" scriptfile="$VIZ_PFAD/schluesseltabellen/rpta_column_layout_sos_stud_la_fuellen.sql" database=""/>
</action>
</install-step>
@ -665,6 +676,10 @@ parent="Visualisierungen">Abfragen zur Administration von Visualisierungen </the @@ -665,6 +676,10 @@ parent="Visualisierungen">Abfragen zur Administration von Visualisierungen </the
<nativeaction sql="" scriptfile="$VIZ_PFAD/schluesseltabellen/rpta_column_layout_sos_stud_lkreis_hzbkfz_fuellen.sql" database=""/>
<nativeaction sql="" scriptfile="$VIZ_PFAD/schluesseltabellen/rpta_column_layout_sos_stud_lkreis_semkfz_fuellen.sql" database=""/>
<nativeaction sql="" scriptfile="$VIZ_PFAD/schluesseltabellen/rpta_column_layout_sos_stud_zeitreihe_fuellen.sql" database=""/>
<nativeaction sql="" scriptfile="$VIZ_PFAD/schluesseltabellen/rpta_column_layout_sos_stud_bildungstyp_fuellen.sql" database=""/>
<nativeaction sql="" scriptfile="$VIZ_PFAD/schluesseltabellen/rpta_column_layout_sos_stud_abgrp_fuellen.sql" database=""/>
<nativeaction sql="" scriptfile="$VIZ_PFAD/schluesseltabellen/rpta_column_layout_sos_stud_la_fuellen.sql" database=""/>
</action>
<action>

29
src-modules/module/viz/masken/44310_felderinfo.unl

@ -0,0 +1,29 @@ @@ -0,0 +1,29 @@
44310^Spaltenlayout^3000^350^-1^140^180^1^char^30^1^1^<<SQL>>SELECT uniquename,\
caption\
FROM rpta_column_layout \
where resultset_id in (select R.tid from rpta_resultset R where R.uniquename in ('sos_stud_astat')\
and R.systeminfo_id=7)\
and uniquename in ('sos_stud_abgrp','sos_stud_la')\
order by sortnr, caption\
;^^<<SQL>>SELECT uniquename,\
caption\
FROM rpta_column_layout \
where resultset_id in (select R.tid from rpta_resultset R where R.uniquename in ('sos_stud_astat')\
and R.systeminfo_id=7)\
and uniquename in ('sos_stud_abgrp')\
order by sortnr, caption limit 1\
;^
44311^Seit Semester^10^0^0^140^80^1^integer^30^0^1^<<SQL>> select tid, eintrag from semester order by tid DESC;^ ^<<SQL>> select tid,eintrag from semester where today() between sem_beginn and sem_ende;^
44312^Fächer^30^0^0^130^200^6^char^1000^0^12^<<SQL>> select tid,name,sortnr from sichten where art='Fächer-Sicht' order by 3,2;^ ^ ^
44313^Abschluss^40^0^0^100^200^3^char^1500^0^1^<<SQL>> select apnr, druck from cifx where key=35 order by 2;^ ^ ^
44314^bis Fachsemester^1000^300^-1^200^100^1^integer^30^0^13^^ ^ ^
44315^Grafik^4000^300^-1^170^150^1^char^30^0^1^<<SQL>> select uniquename, caption from viz_chart where maskeninfo_id=44310 and chart_active=1 order by 2;^^<<SQL>> select uniquename, caption from viz_chart where maskeninfo_id=44310 and chart_active=1 order by 2 limit 1;^
44317^Bis Semester^20^350^-1^140^80^1^integer^30^0^1^<<SQL>> select tid, eintrag from semester order by tid DESC;^ ^<<SQL>> select tid,eintrag from semester where today() between sem_beginn and sem_ende;^
44318^Staatsangehörigkeit^150^0^0^140^150^10^char^30^0^12^<<SQL>> select tid,name,sortnr from sichten where art='SOS-Staaten-Sicht' order by 3,2;^ ^ ^
44319^Studiengang^25^0^0^140^150^50^char^1000^0^12^<<SQL>> select tid,name,sortnr from sichten where art in ('SOS-Kostenstellen-Sicht', 'SOS-Studiengang-Sicht') order by 3,2;^ ^ ^
44320^tablestylesheet^150^0^0^100^100^1^char^255^1^1^<<SQL>> select filename,caption from sx_stylesheets S, sx_mask_style M where S.tid=M.stylesheet_id and M.maskeninfo_id=44310 order by ord^ ^<<SQL>> select filename,caption from sx_stylesheets S, sx_mask_style M where S.tid=M.stylesheet_id and M.maskeninfo_id=44310 order by ord limit 1^
44321^Stichtag^23^330^-1^130^100^1^sql^30^1^1^<<SQL>> select tid, name from sos_stichtag where stichtagsart='Studierende';^ ^<<SQL>> select tid, name from sos_stichtag where stichtagsart='Studierende' and appl_key='0';^
44322^Hörerstatus^200^330^-1^140^150^1^sql^30^0^1^<<SQL>> select apnr, eintrag from hoererstatus order by 2^ ^<<SQL>> select apnr, eintrag from hoererstatus where eintrag='alle';^
44323^Jahr^110^0^0^140^80^1^integer^30^0^13^ ^ ^ ^
44328^Köpfe oder Fälle ?^0^0^0^140^150^1^sql^70^0^1^<<SQL>> select apnr, eintrag from koepfe_oder_faelle order by 2^apnr, eintrag^<<SQL>> select apnr, eintrag from koepfe_oder_faelle where eintrag = 'Fälle';^
44332^Geschlecht^110^0^0^140^80^1^integer^30^0^1^<<SQL>> SELECT apnr,druck FROM cif where key = 9003 and apnr between 1 and 4 order by 1;^ ^ ^

1
src-modules/module/viz/masken/44310_maske_system_bez.unl

@ -0,0 +1 @@ @@ -0,0 +1 @@
44310^7^

15
src-modules/module/viz/masken/44310_masken_felder_bez.unl

@ -0,0 +1,15 @@ @@ -0,0 +1,15 @@
44310^44310^
44310^44311^
44310^44312^
44310^44313^
44310^44314^
44310^44315^
44310^44317^
44310^44318^
44310^44319^
44310^44320^
44310^44321^
44310^44322^
44310^44323^
44310^44328^
44310^44332^

1
src-modules/module/viz/masken/44310_maskeninfo.unl

@ -0,0 +1 @@ @@ -0,0 +1 @@
44310^Studierende nach Abschluss^<sximport>select select_stmt from maskeninfo where tid=48000</sximport>^<sximport>select xil_proplist from maskeninfo where tid=48000</sximport>^Studienfach^Anzahl bzw. Anteil^Ausgabe der Studierenden nach Fakultät mit verschiedenen Visualisierungen (z.B. Tortendiagramm)^<sximport>select cleanup_stmt from maskeninfo where tid=48000</sximport>^^2^850^540^^1^<<SQL>>SELECT description FROM rpta_column_layout where tid=<<Spaltenlayout>>;^

1
src-modules/module/viz/masken/44310_sachgeb_maske_bez.unl

@ -0,0 +1 @@ @@ -0,0 +1 @@
16^44310^

29
src-modules/module/viz/masken/44340_felderinfo.unl

@ -0,0 +1,29 @@ @@ -0,0 +1,29 @@
44340^Spaltenlayout^3000^350^-1^140^180^1^char^30^1^1^<<SQL>>SELECT uniquename,\
caption\
FROM rpta_column_layout \
where resultset_id in (select R.tid from rpta_resultset R where R.uniquename in ('sos_stud_astat')\
and R.systeminfo_id=7)\
and uniquename in ('sos_stud_bildungstyp')\
order by sortnr, caption\
;^^<<SQL>>SELECT uniquename,\
caption\
FROM rpta_column_layout \
where resultset_id in (select R.tid from rpta_resultset R where R.uniquename in ('sos_stud_astat')\
and R.systeminfo_id=7)\
and uniquename in ('sos_stud_bildungstyp')\
order by sortnr, caption limit 1\
;^
44341^Seit Semester^10^0^0^140^80^1^integer^30^0^1^<<SQL>> select tid, eintrag from semester order by tid DESC;^ ^<<SQL>> select tid,eintrag from semester where today() between sem_beginn and sem_ende;^
44342^Fächer^30^0^0^130^200^6^char^1000^0^12^<<SQL>> select tid,name,sortnr from sichten where art='Fächer-Sicht' order by 3,2;^ ^ ^
44343^Abschluss^40^0^0^100^200^3^char^1500^0^1^<<SQL>> select apnr, druck from cifx where key=35 order by 2;^ ^ ^
44344^bis Fachsemester^1000^300^-1^200^100^1^integer^30^0^13^^ ^ ^
44345^Grafik^4000^300^-1^170^150^1^char^30^0^1^<<SQL>> select uniquename, caption from viz_chart where maskeninfo_id=44340 and chart_active=1 order by 2;^^<<SQL>> select uniquename, caption from viz_chart where maskeninfo_id=44340 and chart_active=1 order by 2 limit 1;^
44347^Bis Semester^20^350^-1^140^80^1^integer^30^0^1^<<SQL>> select tid, eintrag from semester order by tid DESC;^ ^<<SQL>> select tid,eintrag from semester where today() between sem_beginn and sem_ende;^
44348^Staatsangehörigkeit^150^0^0^140^150^10^char^30^0^12^<<SQL>> select tid,name,sortnr from sichten where art='SOS-Staaten-Sicht' order by 3,2;^ ^ ^
44349^Studiengang^25^0^0^140^150^50^char^1000^0^12^<<SQL>> select tid,name,sortnr from sichten where art in ('SOS-Kostenstellen-Sicht', 'SOS-Studiengang-Sicht') order by 3,2;^ ^ ^
44350^tablestylesheet^150^0^0^100^100^1^char^255^1^1^<<SQL>> select filename,caption from sx_stylesheets S, sx_mask_style M where S.tid=M.stylesheet_id and M.maskeninfo_id=44340 order by ord^ ^<<SQL>> select filename,caption from sx_stylesheets S, sx_mask_style M where S.tid=M.stylesheet_id and M.maskeninfo_id=44340 order by ord limit 1^
44351^Stichtag^23^330^-1^130^100^1^sql^30^1^1^<<SQL>> select tid, name from sos_stichtag where stichtagsart='Studierende';^ ^<<SQL>> select tid, name from sos_stichtag where stichtagsart='Studierende' and appl_key='0';^
44352^Hörerstatus^200^330^-1^140^150^1^sql^30^0^1^<<SQL>> select apnr, eintrag from hoererstatus order by 2^ ^<<SQL>> select apnr, eintrag from hoererstatus where eintrag='alle';^
44353^Jahr^110^0^0^140^80^1^integer^30^0^13^ ^ ^ ^
44358^Köpfe oder Fälle ?^0^0^0^140^150^1^sql^70^0^1^<<SQL>> select apnr, eintrag from koepfe_oder_faelle order by 2^apnr, eintrag^<<SQL>> select apnr, eintrag from koepfe_oder_faelle where eintrag = 'Köpfe';^
44362^Geschlecht^110^0^0^140^80^1^integer^30^0^1^<<SQL>> SELECT apnr,druck FROM cif where key = 9003 and apnr between 1 and 4 order by 1;^ ^ ^

1
src-modules/module/viz/masken/44340_maske_system_bez.unl

@ -0,0 +1 @@ @@ -0,0 +1 @@
44340^7^

15
src-modules/module/viz/masken/44340_masken_felder_bez.unl

@ -0,0 +1,15 @@ @@ -0,0 +1,15 @@
44340^44340^
44340^44341^
44340^44342^
44340^44343^
44340^44344^
44340^44345^
44340^44347^
44340^44348^
44340^44349^
44340^44350^
44340^44351^
44340^44352^
44340^44353^
44340^44358^
44340^44362^

1
src-modules/module/viz/masken/44340_maskeninfo.unl

@ -0,0 +1 @@ @@ -0,0 +1 @@
44340^Studierende nach Bildungstyp^<sximport>select select_stmt from maskeninfo where tid=48000</sximport>^<sximport>select xil_proplist from maskeninfo where tid=48000</sximport>^Studienfach^Anzahl bzw. Anteil^Bildungsinländer / -ausländer^<sximport>select cleanup_stmt from maskeninfo where tid=48000</sximport>^^2^850^540^^1^<<SQL>>SELECT description FROM rpta_column_layout where tid=<<Spaltenlayout>>;^

1
src-modules/module/viz/masken/44340_sachgeb_maske_bez.unl

@ -0,0 +1 @@ @@ -0,0 +1 @@
16^44340^

32
src-modules/module/viz/schluesseltabellen/macro_masken_bez_fuellen.sql

@ -23,7 +23,10 @@ @@ -23,7 +23,10 @@
{"makro":"44190", "tid":"44570", "sortnr":"1"},
{"makro":"44190", "tid":"44220", "sortnr":"10"},
{"makro":"44190", "tid":"44280", "sortnr":"20"},
{"makro":"44190", "tid":"44600", "sortnr":"30"}
{"makro":"44190", "tid":"44310", "sortnr":"30"},
{"makro":"44190", "tid":"44310", "sortnr":"40"},
{"makro":"44190", "tid":"44340", "sortnr":"50"},
{"makro":"44190", "tid":"44600", "sortnr":"60"}
] />
@ -107,11 +110,30 @@ @@ -107,11 +110,30 @@
{"makro":"44190", "sortnr":"20", "feldname":"bis Fachsemester", "value":"1"},
{"makro":"44190", "sortnr":"20", "feldname":"tablestylesheet", "value":"tabelle_html_datenblatt.xsl"},
{"makro":"44190", "sortnr":"30", "feldname":"Köpfe oder Fälle ?", "value":"studiengang_nr = 1 and fach_nr = 1"},
{"makro":"44190", "sortnr":"30", "feldname":"Spaltenlayout", "value":"sos_stud_hzb_bland"},
{"makro":"44190", "sortnr":"30", "feldname":"Grafik", "value":"STUDANF_HZB_LAND_BAR"},
{"makro":"44190", "sortnr":"30", "feldname":"Köpfe oder Fälle ?", "value":"1=1"},
{"makro":"44190", "sortnr":"30", "feldname":"Spaltenlayout", "value":"sos_stud_abgrp"},
{"makro":"44190", "sortnr":"30", "feldname":"Grafik", "value":"STUDANF_ABGRP_BAR_Y_ECHART"},
{"makro":"44190", "sortnr":"30", "feldname":"bis Fachsemester", "value":"1"},
{"makro":"44190", "sortnr":"30", "feldname":"tablestylesheet", "value":"tabelle_html_datenblatt.xsl"}
{"makro":"44190", "sortnr":"30", "feldname":"tablestylesheet", "value":"tabelle_html_datenblatt.xsl"},
{"makro":"44190", "sortnr":"40", "feldname":"Köpfe oder Fälle ?", "value":"1=1"},
{"makro":"44190", "sortnr":"40", "feldname":"Spaltenlayout", "value":"sos_stud_la"},
{"makro":"44190", "sortnr":"40", "feldname":"Grafik", "value":"STUD_LEHRAMT_DONUT"},
{"makro":"44190", "sortnr":"40", "feldname":"bis Fachsemester", "value":"1"},
{"makro":"44190", "sortnr":"40", "feldname":"tablestylesheet", "value":"tabelle_html_datenblatt.xsl"},
{"makro":"44190", "sortnr":"50", "feldname":"Köpfe oder Fälle ?", "value":"studiengang_nr = 1 and fach_nr = 1"},
{"makro":"44190", "sortnr":"50", "feldname":"Spaltenlayout", "value":"sos_stud_bildungstyp"},
{"makro":"44190", "sortnr":"50", "feldname":"Grafik", "value":"STUD_BILDUNGSTYP_DONUT"},
{"makro":"44190", "sortnr":"50", "feldname":"bis Fachsemester", "value":"1"},
{"makro":"44190", "sortnr":"50", "feldname":"tablestylesheet", "value":"tabelle_html_datenblatt.xsl"},
{"makro":"44190", "sortnr":"60", "feldname":"Köpfe oder Fälle ?", "value":"studiengang_nr = 1 and fach_nr = 1"},
{"makro":"44190", "sortnr":"60", "feldname":"Spaltenlayout", "value":"sos_stud_hzb_bland"},
{"makro":"44190", "sortnr":"60", "feldname":"Grafik", "value":"STUDANF_HZB_LAND_BAR"},
{"makro":"44190", "sortnr":"60", "feldname":"bis Fachsemester", "value":"1"},
{"makro":"44190", "sortnr":"60", "feldname":"tablestylesheet", "value":"tabelle_html_datenblatt.xsl"}
] />

53
src-modules/module/viz/schluesseltabellen/rpta_column_layout_sos_stud_abgrp_fuellen.sql

@ -0,0 +1,53 @@ @@ -0,0 +1,53 @@
--freemarker template
<#include "RPTA-Makros"/>
<sqlvars>
<sqlvar name="rpta_installed">
select count(*) from systeminfo where tid=330;
</sqlvar>
</sqlvars>
<#assign rpta_column_layout = {"uniquename":"sos_stud_abgrp",
"caption":"Studierende nach Abschlussgruppe",
"rpta_resultset":"sos_stud_astat",
"whereclause":"",
"description":"Studierende nach Abschlussgruppe"
}
/>
<#assign rpta_columns = [
{"uniquename":"dim_studiengang_abschluss_grp_str",
"caption":"Abschlussgruppe",
"srcfieldname":"dim_studiengang_abschluss_grp_str",
"column_type":"physicalColumn",
"col_function":"",
"is_visible":"1",
"visible_size":"10",
"is_aggregate":"0",
"description":"Abschlussgruppe"
},
{"uniquename":"summe",
"caption":"Anzahl der Studierenden",
"srcfieldname":"summe",
"column_type":"physicalColumn",
"col_function":"sum",
"is_visible":"1",
"visible_size":"5",
"is_aggregate":"1",
"description":"Summe der Studierenden"
},
{"uniquename":"anteil",
"caption":"Anteil der Studierenden (in %)",
"srcfieldname":"",
"targetfieldname":"anteil",
"column_type":"computedColumn",
"col_function":"select (summe::float/(select G.summe from tmp_gesamt G)*100)::integer",
"is_visible":"1",
"visible_size":"5",
"is_aggregate":"0",
"description":"Anteil in % der Studierenden"
}
]
/>
<#if rpta_installed==1>
<@rpta_column_layout_fuellen />
</#if>

54
src-modules/module/viz/schluesseltabellen/rpta_column_layout_sos_stud_bildungstyp_fuellen.sql

@ -0,0 +1,54 @@ @@ -0,0 +1,54 @@
--freemarker template
<#include "RPTA-Makros"/>
<sqlvars>
<sqlvar name="rpta_installed">
select count(*) from systeminfo where tid=330;
</sqlvar>
</sqlvars>
<#assign rpta_column_layout = {"uniquename":"sos_stud_bildungstyp",
"caption":"Studierende Bildungstyp",
"rpta_resultset":"sos_stud_astat",
"whereclause":"",
"description":"Studierende Bildungsinländer / -ausländer "
}
/>
<#assign rpta_columns = [
{"uniquename":"sos_stud_bildungstyp",
"caption":"Bildungsinländer / -ausländer",
"srcfieldname":"",
"targetfieldname":"sos_stud_bildungstyp",
"column_type":"logicalColumn",
"col_function":"case when ca12_staat != 0 and (hzbkfzkz = 1 or (hzbart_int in (''31'',''51'',''76'') and hzbkfzkz = 0) or hzbart_int is null) then ''Bildungsausländer'' else ''Bildungsinländer'' end",
"is_visible":"1",
"visible_size":"10",
"is_aggregate":"0",
"description":"Bildungsinländer / -ausländer"
},
{"uniquename":"summe",
"caption":"Anzahl der Studierenden",
"srcfieldname":"summe",
"column_type":"physicalColumn",
"col_function":"sum",
"is_visible":"1",
"visible_size":"5",
"is_aggregate":"1",
"description":"Summe der Studierenden"
},
{"uniquename":"anteil",
"caption":"Anteil der Studierenden (in %)",
"srcfieldname":"",
"targetfieldname":"anteil",
"column_type":"computedColumn",
"col_function":"select (summe::float/(select G.summe from tmp_gesamt G)*100)::integer",
"is_visible":"1",
"visible_size":"5",
"is_aggregate":"0",
"description":"Anteil in % der Studierenden"
}
]
/>
<#if rpta_installed==1>
<@rpta_column_layout_fuellen />
</#if>

54
src-modules/module/viz/schluesseltabellen/rpta_column_layout_sos_stud_la_fuellen.sql

@ -0,0 +1,54 @@ @@ -0,0 +1,54 @@
--freemarker template
<#include "RPTA-Makros"/>
<sqlvars>
<sqlvar name="rpta_installed">
select count(*) from systeminfo where tid=330;
</sqlvar>
</sqlvars>
<#assign rpta_column_layout = {"uniquename":"sos_stud_la",
"caption":"Studierende Lehramt (ja/nein)",
"rpta_resultset":"sos_stud_astat",
"whereclause":"",
"description":"Studierende Lehramt (ja/nein)"
}
/>
<#assign rpta_columns = [
{"uniquename":"dim_studiengang_la",
"caption":"Lehramt (ja/nein)",
"srcfieldname":"",
"targetfieldname":"dim_studiengang_la",
"column_type":"logicalColumn",
"col_function":"case when dim_studiengang_abschluss_astat_bund in (select K.abschluss_astat_bund from k_astat_abschl_grp K where ist_lehramt=1) then ''Lehramt'' else ''Kein Lehramt'' end",
"is_visible":"1",
"visible_size":"10",
"is_aggregate":"0",
"description":"Lehramt (ja/nein)"
},
{"uniquename":"summe",
"caption":"Anzahl der Studierenden",
"srcfieldname":"summe",
"column_type":"physicalColumn",
"col_function":"sum",
"is_visible":"1",
"visible_size":"5",
"is_aggregate":"1",
"description":"Summe der Studierenden"
},
{"uniquename":"anteil",
"caption":"Anteil der Studierenden (in %)",
"srcfieldname":"",
"targetfieldname":"anteil",
"column_type":"computedColumn",
"col_function":"select (summe::float/(select G.summe from tmp_gesamt G)*100)::integer",
"is_visible":"1",
"visible_size":"5",
"is_aggregate":"0",
"description":"Anteil in % der Studierenden"
}
]
/>
<#if rpta_installed==1>
<@rpta_column_layout_fuellen />
</#if>

14
src-modules/module/viz/schluesseltabellen/sx_stylesheets_einfuegen.sql

@ -42,10 +42,22 @@ @@ -42,10 +42,22 @@
{"mask":"44570", "filename":"viz_html_chart_viewer.xsl", "ord":"1"},
{"mask":"44570", "filename":"viz_html_chart_viewer_mask.xsl", "ord":"30"},
{"mask":"44570", "filename":"viz_html_chart_viewer_mask_and_table.xsl", "ord":"40"},
{"mask":"44600", "filename":"tabelle_html_datenblatt.xsl", "ord":"10"},
{"mask":"44600", "filename":"viz_html_chart_viewer.xsl", "ord":"1"},
{"mask":"44600", "filename":"viz_html_chart_viewer_mask.xsl", "ord":"30"},
{"mask":"44600", "filename":"viz_html_chart_viewer_mask_and_table.xsl", "ord":"40"}
{"mask":"44600", "filename":"viz_html_chart_viewer_mask_and_table.xsl", "ord":"40"},
{"mask":"44310", "filename":"tabelle_html_datenblatt.xsl", "ord":"10"},
{"mask":"44310", "filename":"viz_html_chart_viewer.xsl", "ord":"1"},
{"mask":"44310", "filename":"viz_html_chart_viewer_mask.xsl", "ord":"30"},
{"mask":"44310", "filename":"viz_html_chart_viewer_mask_and_table.xsl", "ord":"40"},
{"mask":"44340", "filename":"tabelle_html_datenblatt.xsl", "ord":"10"},
{"mask":"44340", "filename":"viz_html_chart_viewer.xsl", "ord":"1"},
{"mask":"44340", "filename":"viz_html_chart_viewer_mask.xsl", "ord":"30"},
{"mask":"44340", "filename":"viz_html_chart_viewer_mask_and_table.xsl", "ord":"40"}
] />
<#assign stylesheet = [

91
src-modules/module/viz/schluesseltabellen/viz_chart.unl

File diff suppressed because one or more lines are too long

2
superx/xml/js/viz/viz_viewer.js

@ -1320,7 +1320,7 @@ var option = { @@ -1320,7 +1320,7 @@ var option = {
stillShowZeroSum: false,
label: {
show: true,
formatter: '{b}: {c}',
formatter: '{c}',
width:200
},

Loading…
Cancel
Save