diff --git a/src-modules/module/xcube/masken/21000_felderinfo.unl b/src-modules/module/xcube/masken/21000_felderinfo.unl index 3bcfeba..9c9a46a 100644 --- a/src-modules/module/xcube/masken/21000_felderinfo.unl +++ b/src-modules/module/xcube/masken/21000_felderinfo.unl @@ -42,5 +42,10 @@ and trim(F.table_name) || '.' || F.name in (select trim(tablename)||'.'||trim(fi 21027^Hörerstatus (intern)^43^0^0^140^80^1^char^30^0^12^<> select tid,name,sortnr from sichten where art in ('XCUBE-Hörerstatus-Sicht') order by 3,2;^^^ 21028^Spaltenvisualisierung^10000^0^0^140^80^1^char^30^0^1^<> select '_graph','Balken (horiz. linksb.)' from xdummy\ union select '_graphbarright','Balken (horiz. rechtsb.)' from xdummy\ -union select '_graphbaralternating','Balken (horiz. rechtsb./linksb.)' from xdummy^^^ +union select '_graphbaralternating','Balken (horiz. rechtsb./linksb.)' from xdummy\ +union select '_sparkbar','Balkendiagramm' from xdummy\ +where 0 < (select count(*) from sx_stylesheets where filename='tabelle_html_viz.xsl')\ +union select '_sparkline','Liniendiagramm' from xdummy\ +where 0 < (select count(*) from sx_stylesheets where filename='tabelle_html_viz.xsl')\ +order by 1^^^ 21029^Zeilenfilter bis Ebene^140^0^0^140^80^1^integer^30^0^0^ ^^^ diff --git a/src-modules/module/xcube/masken/21000_maskeninfo.unl b/src-modules/module/xcube/masken/21000_maskeninfo.unl index 44e972a..032e89f 100644 --- a/src-modules/module/xcube/masken/21000_maskeninfo.unl +++ b/src-modules/module/xcube/masken/21000_maskeninfo.unl @@ -380,7 +380,11 @@ select \ ebene as level, --bei Grafiken keine Ebenenanzeige\ \ \ +<#if graph_col?starts_with("_spark")>\ +name as _categorySpark\ + <#else>\ name\ +\ --TODO: wenn <<2.Ansicht in Zeilen>>"!="" dann ,col2\ <#assign i=0/>\ <#foreach spalte in ergspalten>\ @@ -393,14 +397,22 @@ name\ <#else>\ , '' || c${i}::${datatype} || '|' || tmp_cellmax.maxvalue as _graphbarright${i}\ \ -<#else>\ + <#elseif graph_col?starts_with("_spark")>\ +, c${i} as ${graph_col}${i}\ + <#else>\ , '' || c${i}::${datatype} || '|' || tmp_cellmax.maxvalue as ${graph_col}${i}\ \ \ <#else>\ +--letzte Spalte:\ +<#if graph_col?starts_with("_spark")>\ +, c${i} as ${graph_col}${i}\ +<#else>\ , c${i}::${datatype} as col${i}\ \ \ +\ +\ \ \ from tmp_erg, tmp_cellmax order by sortnr;^--freemarker Template\