a.binder 6 роки тому
батько
коміт
bfa95aada8

+ 432 - 0
SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.plot.complex.testROW.xsl

@@ -0,0 +1,432 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet version="2.0"
+    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+    xmlns:svg="http://www.w3.org/2000/svg"  
+    xmlns:svgu="http://www.ora.com/XSLTCookbook/ns/svg-utils"
+    xmlns:emath="http://www.exslt.org/math" 
+    xmlns:test="http://www.ora.com/XSLTCookbook/ns/test"
+    xmlns:system_cache__dita__x3A__svg="http://biuro.biall-net.pl/WPS_Functions/system_cache__dita__x3A__p5gnuplot/system_cache__dita__x3A__svg.xsd"
+    xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+    xmlns:system_cache__dita__x3A__p5gnuplot="http://biuro.biall-net.pl/WPS_Functions/system_cache__dita__x3A__p5gnuplot/system_cache__dita__x3A__p5gnuplot.xsd"
+    xmlns:p5gnuplot__x3A__system_cache__dita="http://biuro.biall-net.pl/WPS_Functions/p5gnuplot__x3A__system_cache__dita/p5gnuplot__x3A__system_cache__dita.xsd"
+    xmlns:p5gnuplot="http://biuro.biall-net.pl/WPS_Functions/graph_gnuplot"
+    xmlns:system_cache__dita="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/dita.xsd"
+    xmlns:default_db__x3A__BI_audit_ENERGA_RUM_UMOWY="https://biuro.biall-net.pl/wfs/default_db/BI_audit_ENERGA_RUM_UMOWY"
+    xmlns:default_db__x3A__BI_audit_BENFORD="https://biuro.biall-net.pl/wfs/default_db/BI_audit_BENFORD"
+    >
+    
+    <xsl:import href="system_cache__dita__x3A__svg.utils.xsl"/>
+    
+    <xsl:include href="../tree_to_dita.xsl"/>
+    
+    <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes" 
+        doctype-public="-//W3C//DTD SVG 1.0/EN"
+        doctype-system="http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"/>
+    
+    
+    <test:root>
+        
+        <row>
+            <dataX>1</dataX>
+            <Low>0</Low>
+            <High>100</High>
+            <Open>10</Open>
+            <Close>50</Close>
+            <Volume>2000</Volume>
+            <Vol10MA>4445</Vol10MA>
+        </row>
+        <row>
+            <dataX>2</dataX>
+            <Low>555</Low>
+            <High>665</High>
+            <Open>444</Open>
+            <Close>777</Close>
+            <Volume>3000</Volume>
+            <Vol10MA>5555</Vol10MA>
+        </row>
+        <row>
+            <dataX>3</dataX>
+            <Low>222</Low>
+            <High>333</High>
+            <Open>266</Open>
+            <Close>300</Close>
+            <Volume>5000</Volume>
+            <Vol10MA>8000</Vol10MA>
+        </row>
+        <row>
+            <dataX>4</dataX>
+            <Low>111</Low>
+            <High>266</High>
+            <Open>212</Open>
+            <Close>500</Close>
+            <Volume>15000</Volume>
+            <Vol10MA>7500</Vol10MA>
+        </row>
+    </test:root>
+    
+    <!-- VOLUME -->
+    <xsl:variable name="system_cache__dita__x3A__svg:vheight" select="$system_cache__dita__x3A__svg:vheight.default"/>
+    
+    <xsl:variable name="system_cache__dita__x3A__svg:offsetY" select="10"/>
+    <xsl:variable name="system_cache__dita__x3A__svg:width" select="500"/>
+    <!--<xsl:variable name="system_cache__dita__x3A__svg:height" select="700 +
+        $system_cache__dita__x3A__svg:offsetY + 
+        $system_cache__dita__x3A__svg:title.font-size.default +
+        $system_cache__dita__x3A__svg:shortdesc.font-size.default +
+        $system_cache__dita__x3A__svg:vheight"/>-->
+    <!--<xsl:variable name="system_cache__dita__x3A__svg:pwidth" select="500"/>-->
+    <!--<xsl:variable name="system_cache__dita__x3A__svg:pheight" select="500"/>-->
+    <!--<xsl:variable name="system_cache__dita__x3A__svg:offsetX" select="system_cache__dita__x3A__svg:offsetX($system_cache__dita__x3A__svg:width,$system_cache__dita__x3A__svg:pwidth)"/>-->
+    
+    
+    <xsl:variable name="system_cache__dita__x3A__svg:dataMin">
+        <xsl:call-template name="system_cache__dita__x3A__svg:emath.min">
+            <xsl:with-param name="nodes" select="//Low"/>
+        </xsl:call-template>
+    </xsl:variable> 
+    
+    <xsl:variable name="system_cache__dita__x3A__svg:dataMax">
+        <xsl:call-template name="system_cache__dita__x3A__svg:emath.max">
+            <xsl:with-param name="nodes" select="//High"/>
+        </xsl:call-template>
+    </xsl:variable> 
+    
+    <xsl:variable name="system_cache__dita__x3A__svg:min" select="$system_cache__dita__x3A__svg:dataMin * 0.9"/>
+    <xsl:variable name="system_cache__dita__x3A__svg:max" select="$system_cache__dita__x3A__svg:dataMax * 1.1"/>
+    
+   
+    <!-- This is to make the line plot start on first bar and end on last bar -->  
+    <!--<xsl:variable name="system_cache__dita__x3A__svg:spacing" select="system_cache__dita__x3A__svg:spacing($system_cache__dita__x3A__svg:pwidth,count(//High))"/>-->
+    
+    
+    
+    
+    
+    <xsl:variable name="DEVEL_FLAG_YAXIS_TOP_LEFT_90" select="1"/>
+    <xsl:variable name="DEVEL_FLAG_HI_LOW_FROM_POWIAZANIA" select="1"/>
+    <xsl:variable name="DEVEL_FLAG_HI_LOW_FROM_POWIAZANIA.TEMP_GEM" select="1"/>
+    
+    
+    <xsl:template match="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row">
+        <!-- preserveAspectRatio="xMinYMin" -->
+        
+        
+        
+        
+        <xsl:param name="system_cache__dita__x3A__svg:width" select="470"/>
+        <xsl:param name="system_cache__dita__x3A__svg:height" select="200"/>
+        <xsl:param name="system_cache__dita__x3A__svg:offsetY" select="8"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.block.header.height" select="$system_cache__dita__x3A__svg:height * 0.1"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.block.row_object_1.height" select="$system_cache__dita__x3A__svg:height * 0.1"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.block.horizontal-time-activity.height" select="$system_cache__dita__x3A__svg:height * 0.6"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.block.horizontal-time-activity.region_after" select="50"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.block.total-volume.height" select="$system_cache__dita__x3A__svg:height * 0.0004"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.block.hi-lo-chart-1.height" select="$system_cache__dita__x3A__svg:height * 0.0004"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.block.hi-lo-chart-1.region_after.height" select="20"/>
+        
+        <xsl:param name="system_cache__dita__x3A__svg:labelMajor.font-size" select="5"/>
+        <xsl:param name="system_cache__dita__x3A__svg:title.font-size" select="$system_cache__dita__x3A__svg:labelMajor.font-size * 1.5"/>
+        <xsl:param name="system_cache__dita__x3A__svg:shortdesc.font-size" select="$system_cache__dita__x3A__svg:labelMajor.font-size * 1.2"/>
+        
+        <xsl:variable name="system_cache__dita__x3A__svg:height" select="$system_cache__dita__x3A__svg:offsetY +
+            $system_cache__dita__x3A__svg:resolution.coordinate.block.header.height +
+            $system_cache__dita__x3A__svg:resolution.coordinate.block.row_object_1.height +
+            $system_cache__dita__x3A__svg:resolution.coordinate.block.horizontal-time-activity.height +
+            $system_cache__dita__x3A__svg:resolution.coordinate.block.horizontal-time-activity.region_after +
+            $system_cache__dita__x3A__svg:resolution.coordinate.block.hi-lo-chart-1.height +
+            $system_cache__dita__x3A__svg:resolution.coordinate.block.hi-lo-chart-1.region_after.height +
+            $system_cache__dita__x3A__svg:resolution.coordinate.block.total-volume.height
+            "/><!-- $system_cache__dita__x3A__svg:shortdesc.font-size + -->
+        <xsl:variable name="system_cache__dita__x3A__svg:height.max" select="$system_cache__dita__x3A__svg:height"/>
+        <svg:svg width="{$system_cache__dita__x3A__svg:width}" height="{$system_cache__dita__x3A__svg:height.max}"  
+            ><!-- width="{$system_cache__dita__x3A__svg:width}" height="{$system_cache__dita__x3A__svg:height}" -->
+            <!-- preserveAspectRatio="xMaxYMax meet"
+            viewBox="0 0 {$system_cache__dita__x3A__svg:width} {$system_cache__dita__x3A__svg:height.max}" -->
+            <xsl:comment>system_cache__dita__x3A__svg:cursor#110</xsl:comment>
+            
+            <xsl:variable name="system_cache__dita__x3A__svg:cursor">
+                <xsl:call-template name="system_cache__dita__x3A__svg:cursor.initial">
+                    <xsl:with-param name="system_cache__dita__x3A__svg:offsetY" select="$system_cache__dita__x3A__svg:offsetY"/>
+                    <xsl:with-param name="system_cache__dita__x3A__svg:height__x3A__limit" select="$system_cache__dita__x3A__svg:height"/>
+                    <xsl:with-param name="system_cache__dita__x3A__svg:width__x3A__limit" select="$system_cache__dita__x3A__svg:width"/>
+                    
+                    <xsl:with-param name="system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate" select="0"/>
+                    <xsl:with-param name="system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate" select="$system_cache__dita__x3A__svg:width"/>
+                    
+                    <xsl:with-param name="system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate" select="0"/>
+                    <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate" select="$system_cache__dita__x3A__svg:height"/>
+                    
+                </xsl:call-template>
+            </xsl:variable>
+            
+            
+            
+            
+            <xsl:variable name="system_cache__dita__x3A__svg:cursor">
+                <xsl:call-template name="system_cache__dita__x3A__svg:cursor.commit">
+                    <xsl:with-param name="system_cache__dita__x3A__svg:cursor" select="$system_cache__dita__x3A__svg:cursor"/>
+                    <xsl:with-param name="id" select="'system_cache__dita__x3A__svg:resolution.coordinate.block.header.height'"/>
+                    <xsl:with-param name="system_cache__dita__x3A__svg:increment" select="$system_cache__dita__x3A__svg:resolution.coordinate.block.header.height"/>
+                    <xsl:with-param name="system_cache__dita__x3A__svg:height__x3A__limit__x3A__validate" select="$system_cache__dita__x3A__svg:height" tunnel="yes"/>
+                </xsl:call-template>
+            </xsl:variable>
+               
+            
+            
+            
+            
+            <!--<svg:polygon  
+                points="1,{$system_cache__dita__x3A__svg:resolution.coordinate.block.header.height}
+                {$system_cache__dita__x3A__svg:width},{$system_cache__dita__x3A__svg:resolution.coordinate.block.header.height}
+                {$system_cache__dita__x3A__svg:width},{$system_cache__dita__x3A__svg:height - $system_cache__dita__x3A__svg:resolution.coordinate.block.horizontal-time-activity.region_after}
+                0,{$system_cache__dita__x3A__svg:height - $system_cache__dita__x3A__svg:resolution.coordinate.block.horizontal-time-activity.region_after}"
+                
+                style="fill:rgb(100,255,100);stroke-width:1;stroke:rgb(0,0,0)" />-->
+            <svg:polygon  
+                points="1,{$system_cache__dita__x3A__svg:resolution.coordinate.block.header.height}
+                {$system_cache__dita__x3A__svg:width - 1},{$system_cache__dita__x3A__svg:resolution.coordinate.block.header.height}
+                {$system_cache__dita__x3A__svg:width - 1},{$system_cache__dita__x3A__svg:height - $system_cache__dita__x3A__svg:resolution.coordinate.block.horizontal-time-activity.region_after}
+                1,{$system_cache__dita__x3A__svg:height - $system_cache__dita__x3A__svg:resolution.coordinate.block.horizontal-time-activity.region_after}"
+                
+                style="fill:rgb(0,255,0);stroke-width:1;stroke:rgb(0,0,0);opacity:0.2" />
+            <!--<svg:polygon  
+                points="1,{$system_cache__dita__x3A__svg:resolution.coordinate.block.header.height}
+                {$system_cache__dita__x3A__svg:width},{$system_cache__dita__x3A__svg:resolution.coordinate.block.header.height}
+                {$system_cache__dita__x3A__svg:width},{$system_cache__dita__x3A__svg:resolution.coordinate.block.header.height + $system_cache__dita__x3A__svg:title.font-size * 3}
+                0,{$system_cache__dita__x3A__svg:resolution.coordinate.block.header.height + $system_cache__dita__x3A__svg:title.font-size * 3}"
+                
+                style="fill:rgb(100,255,100);stroke-width:1;stroke:rgb(0,0,0)" />-->
+          
+            <xsl:variable name="system_cache__dita__x3A__svg:cursor">
+                <xsl:call-template name="system_cache__dita__x3A__svg:cursor.commit">
+                    <xsl:with-param name="system_cache__dita__x3A__svg:cursor" select="$system_cache__dita__x3A__svg:cursor"/>
+                    <xsl:with-param name="id" select="'system_cache__dita__x3A__svg:resolution.coordinate.block.row_object_1.height'"/>
+                    <xsl:with-param name="system_cache__dita__x3A__svg:increment" select="$system_cache__dita__x3A__svg:resolution.coordinate.block.row_object_1.height"/>
+                    <xsl:with-param name="system_cache__dita__x3A__svg:height__x3A__limit__x3A__validate" select="$system_cache__dita__x3A__svg:height" tunnel="yes"/>
+                </xsl:call-template>
+            </xsl:variable>
+            <xsl:variable name="system_cache__dita__x3A__svg:cursor.current.height">
+                <xsl:call-template name="system_cache__dita__x3A__svg:cursor.current.height">
+                    <xsl:with-param name="system_cache__dita__x3A__svg:cursor" select="$system_cache__dita__x3A__svg:cursor"/>
+                </xsl:call-template>
+            </xsl:variable>
+            
+            
+            
+            <svg:text system_cache__dita__x3A__svg:hash="#246" x="{$system_cache__dita__x3A__svg:width div 2}" y="{system_cache__dita__x3A__svg:cursor.current.Y($system_cache__dita__x3A__svg:cursor) + $system_cache__dita__x3A__svg:cursor.current.height - $system_cache__dita__x3A__svg:title.font-size}" ><!-- 2 * $system_cache__dita__x3A__svg:offsetY -->
+                <xsl:call-template name="system_cache__dita__x3A__svg:style">
+                    <xsl:with-param name="text-anchor.middle" select="true()"/>
+                    <xsl:with-param name="font-size" select="$system_cache__dita__x3A__svg:title.font-size"/>
+                </xsl:call-template>
+                <xsl:value-of select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = 1]/*[1]/@default_db__x3A__BI_audit_BENFORD:NameField__x3A__print"/>
+               <!-- <xsl:value-of select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = 1]/*/imiona"/><xsl:text> </xsl:text>
+                <xsl:value-of select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = 1]/*/nazwisko"/><xsl:text> </xsl:text>
+                <!-\-<xsl:value-of select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = 1]/*/nip"/><xsl:text> </xsl:text>-\->
+                <xsl:value-of select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = 1]/*/Pelna_nazwa_kontrahenta"/><xsl:text> </xsl:text>
+                <xsl:value-of select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = 1]/*/nazwa"/><xsl:text> </xsl:text>-->
+            </svg:text>
+            
+            
+            <xsl:variable name="system_cache__dita__x3A__svg:cursor">
+                <xsl:call-template name="system_cache__dita__x3A__svg:cursor.commit">
+                    <xsl:with-param name="system_cache__dita__x3A__svg:cursor" select="$system_cache__dita__x3A__svg:cursor"/>
+                    <xsl:with-param name="id" select="'system_cache__dita__x3A__svg:shortdesc.font-size.default'"/>
+                    <xsl:with-param name="system_cache__dita__x3A__svg:increment" select="$system_cache__dita__x3A__svg:shortdesc.font-size"/>
+                    <xsl:with-param name="system_cache__dita__x3A__svg:height__x3A__limit__x3A__validate" select="$system_cache__dita__x3A__svg:height" tunnel="yes"/>
+                </xsl:call-template>
+            </xsl:variable>
+            <!--<svg:text system_cache__dita__x3A__svg:hash="#171" x="{$system_cache__dita__x3A__svg:width div 2}" y="{system_cache__dita__x3A__svg:cursor.current.Y($system_cache__dita__x3A__svg:cursor) + $system_cache__dita__x3A__svg:cursor.current.height + $system_cache__dita__x3A__svg:shortdesc.font-size }"  
+                                                                style="text-anchor:middle; font-size:{$system_cache__dita__x3A__svg:shortdesc.font-size}">Relacje kapitałowe w okresach</svg:text>-->
+            
+            
+            <xsl:variable name="system_cache__dita__x3A__svg:cursor">
+                <xsl:call-template name="system_cache__dita__x3A__svg:cursor.commit">
+                    <xsl:with-param name="system_cache__dita__x3A__svg:cursor" select="$system_cache__dita__x3A__svg:cursor"/>
+                    <xsl:with-param name="id" select="system_cache__dita__x3A__svg:resolution.coordinate.block.horizontal-time-activity()"/>
+                    
+                    <xsl:with-param name="system_cache__dita__x3A__svg:increment" select="$system_cache__dita__x3A__svg:resolution.coordinate.block.horizontal-time-activity.height"/>
+                    <xsl:with-param name="comment">#225-571 after volumes force by $system_cache__dita__x3A__svg:pheight; in this time</xsl:with-param>
+                    <xsl:with-param name="system_cache__dita__x3A__svg:height__x3A__limit__x3A__validate" select="$system_cache__dita__x3A__svg:height" tunnel="yes"/>
+                    <xsl:with-param name="system_cache__dita__x3A__svg:cursor.commit.region.start.extent" select="40" tunnel="yes"/>
+                    
+                </xsl:call-template>
+            </xsl:variable>
+            
+            
+            <xsl:variable name="system_cache__dita__x3A__svg:cursor">
+                <xsl:call-template name="system_cache__dita__x3A__svg:cursor.commit">
+                    <xsl:with-param name="system_cache__dita__x3A__svg:cursor" select="$system_cache__dita__x3A__svg:cursor"/>
+                    <xsl:with-param name="id" select="concat(system_cache__dita__x3A__svg:resolution.coordinate.block.horizontal-time-activity(),'.region_after')"/>
+                    <!--<xsl:with-param name="system_cache__dita__x3A__svg:next.neighbor.bottom.id"/>-->
+                    <xsl:with-param name="system_cache__dita__x3A__svg:increment" select="$system_cache__dita__x3A__svg:resolution.coordinate.block.horizontal-time-activity.region_after"/>
+                    <xsl:with-param name="comment">#235-580 bottom for timeline axis</xsl:with-param>
+                    <xsl:with-param name="system_cache__dita__x3A__svg:height__x3A__limit__x3A__validate" select="$system_cache__dita__x3A__svg:height" tunnel="yes"/>
+                    <xsl:with-param name="system_cache__dita__x3A__svg:cursor.commit.region.start.extent" select="40" tunnel="yes"/>
+                    
+                </xsl:call-template>
+            </xsl:variable>
+            
+            <xsl:variable name="system_cache__dita__x3A__svg:cursor">
+                <xsl:call-template name="system_cache__dita__x3A__svg:cursor.commit.region.instream-foreign-object">
+                    <xsl:with-param name="system_cache__dita__x3A__svg:cursor" select="$system_cache__dita__x3A__svg:cursor"/>
+                    <xsl:with-param name="id" select="system_cache__dita__x3A__svg:resolution.coordinate.block.horizontal-time-activity()"/>
+                    <xsl:with-param name="system_cache__dita__x3A__svg:plot__x3A__order" select="5"/>
+                    <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.region">system_cache__dita__x3A__svg:esolution.coordinate.region.body</xsl:with-param>
+                    
+                    <!--<xsl:with-param name="system_cache__dita__x3A__svg:cursor.commit.region.instream-foreign-object.Ydata" select="'Volume'" />-->
+                    <xsl:with-param name="system_cache__dita__x3A__svg:cursor.commit.region.instream-foreign-object.apply-template.mode" select="'system_cache__dita__x3A__svg:openHiLoClose__x3A__horizontal__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row'" />
+                    <xsl:with-param name="system_cache__dita__x3A__svg:cursor.commit.region.instream-foreign-object.apply-template.select.param" select="'system_cache__dita__x3A__svg:data__x3A__assign'" />
+                    <xsl:with-param name="system_cache__dita__x3A__svg:cursor.commit.region.instream-foreign-object.labelMajor" select="true()"  />
+                    <!--<xsl:with-param name="system_cache__dita__x3A__svg:cursor.commit.region.instream-foreign-object.openData" select="'Open'"/>-->            
+                    
+                    
+                    <!--<xsl:with-param name="system_cache__dita__x3A__svg:data.x.value" select="'system_cache__dita__x3A__svg:data.position'"/>-->
+                    
+                    
+                    
+                    <xsl:with-param name="system_cache__dita__x3A__svg:data.y1.name" select="'system_cache__dita__x3A__svg:data.name'"/><!-- system_cache__dita__x3A__svg:data.y1.name -->
+                    <xsl:with-param name="system_cache__dita__x3A__svg:data.y1.value" select="'system_cache__dita__x3A__svg:data.position'"/><!-- system_cache__dita__x3A__svg:data.y1.value -->
+                    <xsl:with-param name="system_cache__dita__x3A__svg:data.y1.label" select="'system_cache__dita__x3A__svg:data.position'"/><!-- system_cache__dita__x3A__svg:data.y1.label -->
+                    <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.name" select="'system_cache__dita__x3A__svg:data.name'"/><!-- system_cache__dita__x3A__svg:data.y2.name -->
+                    <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.value" select="'system_cache__dita__x3A__svg:data.position'"/><!-- system_cache__dita__x3A__svg:data.y2.value -->
+                    <xsl:with-param name="system_cache__dita__x3A__svg:data.x.label" select="'system_cache__dita__x3A__svg:data.position'"/><!-- system_cache__dita__x3A__svg:data.y2.label -->
+                    <xsl:with-param name="system_cache__dita__x3A__svg:data.x.name" select="'system_cache__dita__x3A__svg:data.name'"/>
+                    <xsl:with-param name="system_cache__dita__x3A__svg:data.x.name.value" select="'BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object'"/>
+                    
+                    <xsl:with-param name="system_cache__dita__x3A__svg:data.x1.value" select="'system_cache__dita__x3A__svg:data.y1.value'"/>
+                    <xsl:with-param name="system_cache__dita__x3A__svg:data.x1.label" select="'system_cache__dita__x3A__svg:data.y2.label'"/>
+                    <xsl:with-param name="system_cache__dita__x3A__svg:data.x2.value" select="'system_cache__dita__x3A__svg:data.y2.value'"/>
+                    <xsl:with-param name="system_cache__dita__x3A__svg:data.x2.label" select="'system_cache__dita__x3A__svg:data.y2.label'"/>
+                    
+                    <xsl:with-param name="system_cache__dita__x3A__svg:data.x.value.bounds" select="'system_cache__dita__x3A__svg:data.y.bounds.data.value.leadingTimeYear-month.bounds'"/>
+                    <xsl:with-param name="system_cache__dita__x3A__svg:data.x.preceding-sibling.fid" select="'system_cache__dita__x3A__svg:data.x.preceding-sibling.fid'"/>
+                    <xsl:with-param name="system_cache__dita__x3A__svg:data.x.following-sibling.fid" select="'system_cache__dita__x3A__svg:data.x.following-sibling.fid'"/>
+                    <xsl:with-param name="system_cache__dita__x3A__svg:data.x.self.fid" select="'system_cache__dita__x3A__svg:data.x.self.fid'"/>
+                    <!--<xsl:with-param name="system_cache__dita__x3A__svg:cursor.commit.region.instream-foreign-object.closeData" select="'Close'"/>-->
+                    <!--<xsl:with-param name=""></xsl:with-param>-->
+                </xsl:call-template>
+            </xsl:variable>
+            
+            
+            <xsl:variable name="system_cache__dita__x3A__svg:cursor">
+                <xsl:call-template name="system_cache__dita__x3A__svg:cursor.commit.region.instream-foreign-object">
+                    <xsl:with-param name="system_cache__dita__x3A__svg:cursor" select="$system_cache__dita__x3A__svg:cursor"/>
+                    <xsl:with-param name="id" select="system_cache__dita__x3A__svg:resolution.coordinate.block.horizontal-time-activity()"/>
+                    <xsl:with-param name="system_cache__dita__x3A__svg:plot__x3A__order" select="10"/>
+                    <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.region">system_cache__dita__x3A__svg:esolution.coordinate.region.start</xsl:with-param>
+                    
+                    <!--<xsl:with-param name="system_cache__dita__x3A__svg:cursor.commit.region.instream-foreign-object.Ydata" select="'Volume'" />-->
+                    
+                    <xsl:with-param name="system_cache__dita__x3A__svg:cursor.commit.region.instream-foreign-object.apply-template.mode" select="'system_cache__dita__x3A__svg:openHiLoCloseYaxis__x3A__horizontal__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row'" />
+                    <xsl:with-param name="system_cache__dita__x3A__svg:cursor.commit.region.instream-foreign-object.apply-template.select.param" select="'system_cache__dita__x3A__svg:data__x3A__assign'" />
+                    <xsl:with-param name="system_cache__dita__x3A__svg:cursor.commit.region.instream-foreign-object.labelMajor" select="true()"  />
+                    <!--<xsl:with-param name="system_cache__dita__x3A__svg:cursor.commit.region.instream-foreign-object.openData" select="'Open'"/>-->            
+                    
+                    <xsl:with-param name="system_cache__dita__x3A__svg:data.y1.name" select="'system_cache__dita__x3A__svg:data.name'"/><!-- 'system_cache__dita__x3A__svg:data.y1.name' -->
+                    <xsl:with-param name="system_cache__dita__x3A__svg:data.y1.value" select="'system_cache__dita__x3A__svg:data.position'"/><!-- 'system_cache__dita__x3A__svg:data.position' -->
+                    <xsl:with-param name="system_cache__dita__x3A__svg:data.y1.label" select="'system_cache__dita__x3A__svg:data.position'"/><!-- 'system_cache__dita__x3A__svg:data.y1.label' -->
+                    <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.name" select="'system_cache__dita__x3A__svg:data.name'"/><!-- 'system_cache__dita__x3A__svg:data.y2.name' -->
+                    <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.value" select="'system_cache__dita__x3A__svg:data.position'"/>
+                    <xsl:with-param name="system_cache__dita__x3A__svg:data.x.label" select="'system_cache__dita__x3A__svg:data.y2.label'"/><!-- 'system_cache__dita__x3A__svg:data.y2.label' -->
+                    <xsl:with-param name="system_cache__dita__x3A__svg:data.x.name" select="'system_cache__dita__x3A__svg:data.name'"/>
+                    <xsl:with-param name="system_cache__dita__x3A__svg:data.x.name.value" select="'BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object'"/>
+                    <!--<xsl:with-param name="system_cache__dita__x3A__svg:data.x.value" select="'system_cache__dita__x3A__svg:data.position'"/>-->
+                    
+                    
+                    <xsl:with-param name="system_cache__dita__x3A__svg:data.x1.value" select="'system_cache__dita__x3A__svg:data.y1.value'"/>
+                    <xsl:with-param name="system_cache__dita__x3A__svg:data.x1.label" select="'default_db__x3A__BI_audit_BENFORD:NameField.foreign.value'"/>
+                    <xsl:with-param name="system_cache__dita__x3A__svg:data.x2.value" select="'system_cache__dita__x3A__svg:data.y2.value'"/>
+                    <xsl:with-param name="system_cache__dita__x3A__svg:data.x2.label" select="'default_db__x3A__BI_audit_BENFORD:NameField.foreign.value'"/>
+                    <!--<xsl:with-param name="system_cache__dita__x3A__svg:cursor.commit.region.instream-foreign-object.closeData" select="'Close'"/>-->
+                    <!--<xsl:with-param name=""></xsl:with-param>-->
+                </xsl:call-template>
+            </xsl:variable>
+            
+                    <xsl:variable name="system_cache__dita__x3A__svg:cursor">
+                        <xsl:call-template name="system_cache__dita__x3A__svg:cursor.commit.region.instream-foreign-object">
+                            <xsl:with-param name="system_cache__dita__x3A__svg:cursor" select="$system_cache__dita__x3A__svg:cursor"/>
+                            <xsl:with-param name="id" select="concat(system_cache__dita__x3A__svg:resolution.coordinate.block.horizontal-time-activity(),'.region_after')"/>
+                            <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.region">system_cache__dita__x3A__svg:esolution.coordinate.region.body</xsl:with-param>
+                            
+                            <!--<xsl:with-param name="system_cache__dita__x3A__svg:cursor.commit.region.instream-foreign-object.Ydata" select="'Volume'" />-->
+                            
+                            <xsl:with-param name="system_cache__dita__x3A__svg:cursor.commit.region.instream-foreign-object.apply-template.mode" select="'system_cache__dita__x3A__svg:xAxis'" />
+                            <xsl:with-param name="system_cache__dita__x3A__svg:cursor.commit.region.instream-foreign-object.apply-template.select.param" select="'system_cache__dita__x3A__svg:data__x3A__assign'" />
+                            <xsl:with-param name="system_cache__dita__x3A__svg:cursor.commit.region.instream-foreign-object.labelMajor" select="true()"  />
+                            <!--<xsl:with-param name="system_cache__dita__x3A__svg:cursor.commit.region.instream-foreign-object.openData" select="'Open'"/>-->            
+                            
+                            <!-- <xsl:with-param name="system_cache__dita__x3A__svg:data.y1.name" select="'system_cache__dita__x3A__svg:data.y1.name'"/>
+                                                            <xsl:with-param name="system_cache__dita__x3A__svg:data.y1.value" select="'system_cache__dita__x3A__svg:data.y1.value'"/>
+                                                            <xsl:with-param name="system_cache__dita__x3A__svg:data.y1.label" select="'system_cache__dita__x3A__svg:data.y1.label'"/>
+                                                            <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.name" select="'system_cache__dita__x3A__svg:data.y2.name'"/>
+                                                            <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.value" select="'system_cache__dita__x3A__svg:data.y2.value'"/>
+                                                            <xsl:with-param name="system_cache__dita__x3A__svg:data.x.label" select="'system_cache__dita__x3A__svg:data.y2.label'"/>
+                                                            <xsl:with-param name="system_cache__dita__x3A__svg:data.x.name" select="'system_cache__dita__x3A__svg:data.name'"/>
+                                                            <xsl:with-param name="system_cache__dita__x3A__svg:data.x.name.value" select="'BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object'"/>
+                                                            <xsl:with-param name="system_cache__dita__x3A__svg:data.x.value" select="'system_cache__dita__x3A__svg:data.position'"/>-->
+                            
+                            <!--<xsl:with-param name="system_cache__dita__x3A__svg:data.x.label" select="'system_cache__dita__x3A__svg:data.y.BI_audit_ENERGA_FAKTURY.current-grouping-key'"/>-->
+                            <xsl:with-param name="system_cache__dita__x3A__svg:data.x.label" select="'system_cache__dita__x3A__svg:data.y.leadingTimeYear-month.bounds.X.label'"/>
+                            <xsl:with-param name="system_cache__dita__x3A__svg:data.x.name" select="'system_cache__dita__x3A__svg:data.y.leadingTimeYear-month.bounds.X.data.name'"/>
+                            <xsl:with-param name="system_cache__dita__x3A__svg:data.x.name.value" select="'leadingTimeYear-month.bounds.X'"/>
+                            <!--<xsl:with-param name="system_cache__dita__x3A__svg:data.x.value.bounds" select="'system_cache__dita__x3A__svg:data.y.bounds.data.value.leadingTimeYear-month.bounds'"/>-->
+                            <xsl:with-param name="system_cache__dita__x3A__svg:data.x.value.bounds" select="'system_cache__dita__x3A__svg:data.y.bounds.data.value.leadingTimeYear-month.bounds'"/>
+                            <xsl:with-param name="system_cache__dita__x3A__svg:data.x.value" select="'system_cache__dita__x3A__svg:data.x.leadingTimeYear-month.bounds.X.value'"/>
+                            
+                            <!--<xsl:with-param name="system_cache__dita__x3A__svg:cursor.commit.region.instream-foreign-object.closeData" select="'Close'"/>-->
+                            <!--<xsl:with-param name=""></xsl:with-param>-->
+                        </xsl:call-template>
+                    </xsl:variable>
+            
+            <xsl:variable name="system_cache__dita__x3A__svg:data__x3A__assign" select="doc('/opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-219_000001/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row.3664597____APT_trasy_rowsvg_data__x3A__assign.xml.dita')/system_cache__dita__x3A__svg:data__x3A__assign/*"/>
+            
+                                    <xsl:result-document href="/Users/a.binder/Downloads/system_cache__dita__x3A__svg.cursor.xml">
+                                            <xsl:copy-of select="$system_cache__dita__x3A__svg:cursor"/>
+                                    </xsl:result-document>
+                                    <xsl:result-document href="/Users/a.binder/Downloads/system_cache__dita__x3A__svg.data__x3A__assign.xml">
+                                        <system_cache__dita__x3A__svg:data__x3A__assign>
+                                            <xsl:copy-of select="$system_cache__dita__x3A__svg:data__x3A__assign" copy-namespaces="yes"/>
+                                        </system_cache__dita__x3A__svg:data__x3A__assign>
+                                    </xsl:result-document>
+            
+            
+                                    
+                                    <xsl:call-template name="system_cache__dita__x3A__svg:cursor.region.plot">
+                                        <xsl:with-param name="system_cache__dita__x3A__svg:cursor" select="$system_cache__dita__x3A__svg:cursor"/>
+                                        <xsl:with-param name="system_cache__dita__x3A__svg:height__x3A__limit__x3A__validate" select="$system_cache__dita__x3A__svg:height" tunnel="yes"/>
+                                        <xsl:with-param name="system_cache__dita__x3A__svg:width__x3A__limit__x3A__validate" select="$system_cache__dita__x3A__svg:width" tunnel="yes"/>
+                                        <!--<xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.region" select="system_cache__dita__x3A__svg:resolution.coordinate.region(system_cache__dita__x3A__svg:resolution.coordinate.region.start())"/>-->
+                                        <!--<xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.region">system_cache__dita__x3A__svg:esolution.coordinate.region.body</xsl:with-param>-->
+                                        <!--<xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.region.position" select="1"/>-->
+                                        <!--<xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.id" select="system_cache__dita__x3A__svg:resolution.coordinate.block.hi-lo-chart-1()"/>-->
+                                        <!--<xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.id" select="system_cache__dita__x3A__svg:resolution.coordinate.block.horizontal-time-activity()"/>-->
+                                        <!--<xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.id" select="concat(system_cache__dita__x3A__svg:resolution.coordinate.block.horizontal-time-activity(),'.region_after')"/>-->
+                                        <!--<xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.id" select="system_cache__dita__x3A__svg:resolution.coordinate.block.total-volume()"/>-->
+                                        <xsl:with-param name="system_cache__dita__x3A__svg:data__x3A__assign" select="$system_cache__dita__x3A__svg:data__x3A__assign" tunnel="yes"/>
+                                    </xsl:call-template>
+                                    
+                                    
+                                    <xsl:comment>#1186 lower applying powiazania for hi low ( + $system_cache__dita__x3A__svg:height == <xsl:value-of select="$system_cache__dita__x3A__svg:height"/>)
+                                    
+                                      system_cache__dita__x3A__svg:cursor.current.height()  <xsl:value-of select="$system_cache__dita__x3A__svg:cursor.current.height"/>
+                                         system_cache__dita__x3A__svg:cursor.current.Y()  <xsl:value-of select="system_cache__dita__x3A__svg:cursor.current.Y($system_cache__dita__x3A__svg:cursor)"/>
+                                        system_cache__dita__x3A__svg:height__x3A__limit__x3A__extract($system_cache__dita__x3A__svg:cursor) = <xsl:value-of select="system_cache__dita__x3A__svg:height__x3A__limit__x3A__extract($system_cache__dita__x3A__svg:cursor)"/>
+                                        test manu <xsl:copy-of select="$system_cache__dita__x3A__svg:cursor/system_cache__dita__x3A__svg:cursor/*[@system_cache__dita__x3A__svg:height__x3A__limit][1]//@system_cache__dita__x3A__svg:height__x3A__limit"/>
+                                        system_cache__dita__x3A__svg:height__x3A__limit__x3A__validate () <xsl:value-of select="system_cache__dita__x3A__svg:height__x3A__limit__x3A__validate($system_cache__dita__x3A__svg:cursor,system_cache__dita__x3A__svg:height__x3A__limit__x3A__extract($system_cache__dita__x3A__svg:cursor),$system_cache__dita__x3A__svg:cursor.current.height )"/>
+                                    </xsl:comment>
+                                    
+                                    
+                                    
+                                   
+                                    
+                                    <xsl:comment>#250 TODO POSSIBLE COPY copy-of select="$system_cache__dita__x3A__svg:data__x3A__assig to uncomment - context</xsl:comment>
+                                    
+                   
+        </svg:svg>
+        
+    </xsl:template>
+    
+    <xsl:include href="system_cache__dita__x3A__svg.plot.complex.test.305.xsl"/>
+    
+    
+</xsl:stylesheet>