Browse Source

xCube mit Sparklines #3

master
Daniel Quathamer 9 months ago
parent
commit
20468a134e
  1. 7
      src-modules/module/xcube/masken/21000_felderinfo.unl
  2. 12
      src-modules/module/xcube/masken/21000_maskeninfo.unl

7
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^<<SQL>> select tid,name,sortnr from sichten where art in ('XCUBE-Hörerstatus-Sicht') order by 3,2;^^^ 21027^Hörerstatus (intern)^43^0^0^140^80^1^char^30^0^12^<<SQL>> 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^<<SQL>> select '_graph','Balken (horiz. linksb.)' from xdummy\ 21028^Spaltenvisualisierung^10000^0^0^140^80^1^char^30^0^1^<<SQL>> select '_graph','Balken (horiz. linksb.)' from xdummy\
union select '_graphbarright','Balken (horiz. rechtsb.)' 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^ ^^^ 21029^Zeilenfilter bis Ebene^140^0^0^140^80^1^integer^30^0^0^ ^^^

12
src-modules/module/xcube/masken/21000_maskeninfo.unl

@ -380,7 +380,11 @@ select \
ebene as level, --bei Grafiken keine Ebenenanzeige\ ebene as level, --bei Grafiken keine Ebenenanzeige\
</#if>\ </#if>\
</#if>\ </#if>\
<#if graph_col?starts_with("_spark")>\
name as _categorySpark\
<#else>\
name\ name\
</#if>\
--TODO: wenn <<2.Ansicht in Zeilen>>"!="" dann ,col2\ --TODO: wenn <<2.Ansicht in Zeilen>>"!="" dann ,col2\
<#assign i=0/>\ <#assign i=0/>\
<#foreach spalte in ergspalten>\ <#foreach spalte in ergspalten>\
@ -393,14 +397,22 @@ name\
<#else>\ <#else>\
, '' || c${i}::${datatype} || '|' || tmp_cellmax.maxvalue as _graphbarright${i}\ , '' || c${i}::${datatype} || '|' || tmp_cellmax.maxvalue as _graphbarright${i}\
</#if>\ </#if>\
<#elseif graph_col?starts_with("_spark")>\
, c${i} as ${graph_col}${i}\
<#else>\ <#else>\
, '' || c${i}::${datatype} || '|' || tmp_cellmax.maxvalue as ${graph_col}${i}\ , '' || c${i}::${datatype} || '|' || tmp_cellmax.maxvalue as ${graph_col}${i}\
</#if>\ </#if>\
\ \
<#else>\ <#else>\
--letzte Spalte:\
<#if graph_col?starts_with("_spark")>\
, c${i} as ${graph_col}${i}\
<#else>\
, c${i}::${datatype} as col${i}\ , c${i}::${datatype} as col${i}\
</#if>\ </#if>\
\ \
</#if>\
\
</#foreach>\ </#foreach>\
\ \
from tmp_erg, tmp_cellmax order by sortnr;^--freemarker Template\ from tmp_erg, tmp_cellmax order by sortnr;^--freemarker Template\

Loading…
Cancel
Save