a.binder 5 năm trước cách đây
mục cha
commit
c0438a1dad
17 tập tin đã thay đổi với 4512 bổ sung109 xóa
  1. 1 1
      SE/schema/WPS_Functions/SvgCharts4Xsl/common.xsl
  2. 1 1
      SE/schema/default_db_xml_cache.public/default_db/BI_audit_BENFORD/default_db__x3A__BI_audit_BENFORD.BI_audit_BENFORD.NWK3.xsl
  3. 16 16
      SE/schema/default_db_xml_cache.public/default_db/BI_audit_BENFORD/default_db__x3A__BI_audit_BENFORD.BI_audit_BENFORD.overwiev_table.xsl
  4. 28 28
      SE/schema/default_db_xml_cache.public/default_db/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_tree_to_dita.xsl
  5. 46 17
      SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.defaults.param.xsl
  6. 216 0
      SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.elements.xsl
  7. 509 6
      SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.plot.Hi-Lo-Close.xsl
  8. 251 0
      SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.plot.bar.test.svg
  9. 35 7
      SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.plot.bar.xsl
  10. 1934 0
      SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.plot.complex.test.svg
  11. 71 6
      SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.plot.complex.test.xsl
  12. 59 0
      SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.plot.pie.test.svg
  13. 305 23
      SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.utils.cursor.xsl
  14. 223 0
      SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.utils.data.xsl
  15. 801 0
      SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.utils.resolution.xsl
  16. 9 4
      SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.utils.xsl
  17. 7 0
      se.oxygen.xpr

+ 1 - 1
SE/schema/WPS_Functions/SvgCharts4Xsl/common.xsl

@@ -189,7 +189,7 @@ Redistribution and use, with or without modification, are permitted provided tha
 		<xsl:if test="$Data.analyzed//yData.postition[@pos=$index.context.position]"><!-- $index &lt; $yMax -->
 				<!--<xsl:variable name="y" select="$totalHeightAll - ($yDelta * $index.context.value.y) "/>-->
 			<!--<xsl:variable name="y.test" select="$viewBoxHeight - (($viewBoxHeight div ($yAllDataMax - $yAllDataMin)) * ($index.context.value.y - $yAllDataMin))"/>-->
-			<xsl:variable name="y" select="$viewBoxHeight - (($viewBoxHeight div ($yAllDataMax - $yAllDataMin)) * ($index.context.value.y - $yAllDataMin))">
+			<xsl:variable name="y" select="$viewBoxHeight - (($viewBoxHeight div ($yAllDataMax - $yAllDataMin)) * ($index.context.value.y - ($yAllDataMin )))">
 				<!--<xsl:choose>
 					<xsl:when test="$yAllMin &lt; 0"><!-\- $yMin -\->
 						<xsl:value-of select="floor($yAllScale*($yAllMax - $index.context.value.y + $stepAll div 2))" /><!-\-$index  $step $yMax $yScale-\->

+ 1 - 1
SE/schema/default_db_xml_cache.public/default_db/BI_audit_BENFORD/default_db__x3A__BI_audit_BENFORD.BI_audit_BENFORD.NWK3.xsl

@@ -53,7 +53,7 @@
                                     <xsl:call-template name="default_db__x3A__BI_audit_BENFORD:NWK3_table">
                                         <xsl:with-param name="groupField" select="."/>
                                         <xsl:with-param name="context" select="$context//default_db__x3A__BI_audit_ENERGA_RUM_UMOWY:BI_audit_ENERGA_RUM_UMOWY"/>
-                                        <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:valueField" select="$default_db__x3A__BI_audit_BENFORD:valueField"/>
+                                        <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:valueField" select="$default_db__x3A__BI_audit_BENFORD:valueField" tunnel="yes"/>
                                     </xsl:call-template>
                                 </simpletable>
                             </xsl:for-each>

+ 16 - 16
SE/schema/default_db_xml_cache.public/default_db/BI_audit_BENFORD/default_db__x3A__BI_audit_BENFORD.BI_audit_BENFORD.overwiev_table.xsl

@@ -36,35 +36,35 @@
                     </title>
                     <body>
                     <xsl:call-template name="default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.overwiev_table_1">
-                        <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:valueField" select="$default_db__x3A__BI_audit_BENFORD:valueField" />
-                        <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:groupField" select="$default_db__x3A__BI_audit_BENFORD:groupField" />
-                        <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:timeField" select="$default_db__x3A__BI_audit_BENFORD:timeField"/>
-                        <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:NameField" select="$default_db__x3A__BI_audit_BENFORD:NameField"/>
+                        <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:valueField" select="$default_db__x3A__BI_audit_BENFORD:valueField" tunnel="yes"/>
+                        <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:groupField" select="$default_db__x3A__BI_audit_BENFORD:groupField" tunnel="yes"/>
+                        <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:timeField" select="$default_db__x3A__BI_audit_BENFORD:timeField" tunnel="yes"/>
+                        <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:NameField" select="$default_db__x3A__BI_audit_BENFORD:NameField" tunnel="yes"/>
                     </xsl:call-template>
                     <xsl:call-template name="default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.overwiev_table_1.graph">
                         <!--<xsl:with-param name="default_db__x3A__BI_audit_BENFORD:valueField"  select="$default_db__x3A__BI_audit_BENFORD:valueField"/>-->
-                        <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:valueField" select="$default_db__x3A__BI_audit_BENFORD:valueField" />
-                        <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:groupField" select="$default_db__x3A__BI_audit_BENFORD:groupField" />
-                        <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:timeField" select="$default_db__x3A__BI_audit_BENFORD:timeField"/>
-                        <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:NameField" select="$default_db__x3A__BI_audit_BENFORD:NameField"/>
+                        <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:valueField" select="$default_db__x3A__BI_audit_BENFORD:valueField" tunnel="yes" />
+                        <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:groupField" select="$default_db__x3A__BI_audit_BENFORD:groupField" tunnel="yes" />
+                        <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:timeField" select="$default_db__x3A__BI_audit_BENFORD:timeField" tunnel="yes"/>
+                        <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:NameField" select="$default_db__x3A__BI_audit_BENFORD:NameField" tunnel="yes"/>
                     </xsl:call-template>
                        <xsl:variable name="context" select="."/>
                         <xsl:for-each select="1 to 9">
                             <xsl:call-template name="default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.overwiev_table_2">
                                 <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:secondStep.leadingNumber"  select="xs:integer(.)" />
                                 <xsl:with-param name="context" select="$context"/>
-                                <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:valueField" select="$default_db__x3A__BI_audit_BENFORD:valueField" />
-                                <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:groupField" select="$default_db__x3A__BI_audit_BENFORD:groupField" />
-                                <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:timeField" select="$default_db__x3A__BI_audit_BENFORD:timeField"/>
-                                <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:NameField" select="$default_db__x3A__BI_audit_BENFORD:NameField"/>
+                                <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:valueField" select="$default_db__x3A__BI_audit_BENFORD:valueField"  tunnel="yes"/>
+                                <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:groupField" select="$default_db__x3A__BI_audit_BENFORD:groupField" tunnel="yes"/>
+                                <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:timeField" select="$default_db__x3A__BI_audit_BENFORD:timeField" tunnel="yes"/>
+                                <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:NameField" select="$default_db__x3A__BI_audit_BENFORD:NameField" tunnel="yes"/>
                             </xsl:call-template>
                             <xsl:call-template name="default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.overwiev_table_2.graph">
                                 <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:secondStep.leadingNumber"  select="xs:integer(.)" />
                                 <xsl:with-param name="context" select="$context"/>
-                                <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:valueField" select="$default_db__x3A__BI_audit_BENFORD:valueField" />
-                                <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:groupField" select="$default_db__x3A__BI_audit_BENFORD:groupField" />
-                                <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:timeField" select="$default_db__x3A__BI_audit_BENFORD:timeField"/>
-                                <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:NameField" select="$default_db__x3A__BI_audit_BENFORD:NameField"/>
+                                <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:valueField" select="$default_db__x3A__BI_audit_BENFORD:valueField" tunnel="yes"/>
+                                <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:groupField" select="$default_db__x3A__BI_audit_BENFORD:groupField" tunnel="yes"/>
+                                <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:timeField" select="$default_db__x3A__BI_audit_BENFORD:timeField" tunnel="yes"/>
+                                <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:NameField" select="$default_db__x3A__BI_audit_BENFORD:NameField" tunnel="yes"/>
                                 <!--<xsl:with-param name="default_db__x3A__BI_audit_BENFORD:valueField"  select="$default_db__x3A__BI_audit_BENFORD:valueField"/>-->
                             </xsl:call-template>
                         </xsl:for-each>

+ 28 - 28
SE/schema/default_db_xml_cache.public/default_db/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_tree_to_dita.xsl

@@ -182,13 +182,13 @@
         
         <xsl:variable name="dita">
             <xsl:call-template name="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.stats_all__x3A__preprocess">
-                <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:valueField" select="$default_db__x3A__BI_audit_BENFORD:valueField" />
-                <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:groupField" select="$default_db__x3A__BI_audit_BENFORD:groupField" />
-                <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:timeField" select="$default_db__x3A__BI_audit_BENFORD:timeField"/>
-                <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:NameField" select="$default_db__x3A__BI_audit_BENFORD:NameField"/>
-                <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:AddressField" select="$default_db__x3A__BI_audit_BENFORD:AddressField"/>
-                <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:PeselField" select="$default_db__x3A__BI_audit_BENFORD:PeselField"/>
-                <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:TaxIdField" select="$default_db__x3A__BI_audit_BENFORD:TaxIdField"/>
+                <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:valueField" select="$default_db__x3A__BI_audit_BENFORD:valueField" tunnel="yes"/>
+                <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:groupField" select="$default_db__x3A__BI_audit_BENFORD:groupField" tunnel="yes"/>
+                <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:timeField" select="$default_db__x3A__BI_audit_BENFORD:timeField" tunnel="yes"/>
+                <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:NameField" select="$default_db__x3A__BI_audit_BENFORD:NameField" tunnel="yes"/>
+                <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:AddressField" select="$default_db__x3A__BI_audit_BENFORD:AddressField" tunnel="yes"/>
+                <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:PeselField" select="$default_db__x3A__BI_audit_BENFORD:PeselField" tunnel="yes"/>
+                <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:TaxIdField" select="$default_db__x3A__BI_audit_BENFORD:TaxIdField" tunnel="yes"/>
                 <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:CostField" select="$default_db__x3A__BI_audit_BENFORD:CostField" tunnel="yes"/>
                 <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:CostSubjectFields" select="$default_db__x3A__BI_audit_BENFORD:CostSubjectFields" tunnel="yes"/>
             </xsl:call-template>
@@ -447,13 +447,13 @@
                 </xsl:variable>
                 
                 <xsl:call-template name="system_cache__dita:map.title">
-                    <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:valueField" select="$default_db__x3A__BI_audit_BENFORD:valueField" />
-                    <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:groupField" select="$default_db__x3A__BI_audit_BENFORD:groupField" />
-                    <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:timeField" select="$default_db__x3A__BI_audit_BENFORD:timeField"/>
-                    <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:NameField" select="$default_db__x3A__BI_audit_BENFORD:NameField"/>
-                    <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:AddressField" select="$default_db__x3A__BI_audit_BENFORD:AddressField" />
-                    <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:PeselField" select="$default_db__x3A__BI_audit_BENFORD:PeselField" />
-                    <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:TaxIdField" select="$default_db__x3A__BI_audit_BENFORD:TaxIdField" />
+                    <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:valueField" select="$default_db__x3A__BI_audit_BENFORD:valueField" tunnel="yes"/>
+                    <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:groupField" select="$default_db__x3A__BI_audit_BENFORD:groupField" tunnel="yes" />
+                    <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:timeField" select="$default_db__x3A__BI_audit_BENFORD:timeField" tunnel="yes"/>
+                    <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:NameField" select="$default_db__x3A__BI_audit_BENFORD:NameField" tunnel="yes"/>
+                    <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:AddressField" select="$default_db__x3A__BI_audit_BENFORD:AddressField" tunnel="yes"/>
+                    <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:PeselField" select="$default_db__x3A__BI_audit_BENFORD:PeselField" tunnel="yes"/>
+                    <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:TaxIdField" select="$default_db__x3A__BI_audit_BENFORD:TaxIdField" tunnel="yes"/>
                     <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:CostField" select="$default_db__x3A__BI_audit_BENFORD:CostField" tunnel="yes"/>
                     <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:CostSubjectFields" select="$default_db__x3A__BI_audit_BENFORD:CostSubjectFields" tunnel="yes"/>
                 </xsl:call-template>
@@ -1175,13 +1175,13 @@
                 <xsl:call-template name="system_cache__dita:BI_audit_operational_raport_note">
                     <xsl:with-param name="sources" select="$sources"/>
                     <xsl:with-param name="interested_row" select="$interested_row"/>
-                    <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:valueField" select="$default_db__x3A__BI_audit_BENFORD:valueField" />
-                    <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:groupField" select="$default_db__x3A__BI_audit_BENFORD:groupField" />
-                    <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:timeField" select="$default_db__x3A__BI_audit_BENFORD:timeField"/>
-                    <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:NameField" select="$default_db__x3A__BI_audit_BENFORD:NameField"/>
-                    <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:AddressField" select="$default_db__x3A__BI_audit_BENFORD:AddressField" />
-                    <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:PeselField" select="$default_db__x3A__BI_audit_BENFORD:PeselField"   />
-                    <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:TaxIdField" select="$default_db__x3A__BI_audit_BENFORD:TaxIdField"  />
+                    <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:valueField" select="$default_db__x3A__BI_audit_BENFORD:valueField" tunnel="yes"/>
+                    <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:groupField" select="$default_db__x3A__BI_audit_BENFORD:groupField" tunnel="yes"/>
+                    <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:timeField" select="$default_db__x3A__BI_audit_BENFORD:timeField" tunnel="yes"/>
+                    <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:NameField" select="$default_db__x3A__BI_audit_BENFORD:NameField" tunnel="yes"/>
+                    <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:AddressField" select="$default_db__x3A__BI_audit_BENFORD:AddressField" tunnel="yes"/>
+                    <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:PeselField" select="$default_db__x3A__BI_audit_BENFORD:PeselField"   tunnel="yes"/>
+                    <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:TaxIdField" select="$default_db__x3A__BI_audit_BENFORD:TaxIdField"  tunnel="yes"/>
                     <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:CostField" select="$default_db__x3A__BI_audit_BENFORD:CostField" tunnel="yes"/>
                     <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:CostSubjectFields" select="$default_db__x3A__BI_audit_BENFORD:CostSubjectFields" tunnel="yes"/>
                 </xsl:call-template>
@@ -1222,13 +1222,13 @@
                     </topicref>
                     
                     <xsl:call-template name="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.stats_all">
-                        <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:valueField" select="$default_db__x3A__BI_audit_BENFORD:valueField" />
-                        <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:groupField" select="$default_db__x3A__BI_audit_BENFORD:groupField" />
-                        <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:timeField" select="$default_db__x3A__BI_audit_BENFORD:timeField"/>
-                        <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:NameField" select="$default_db__x3A__BI_audit_BENFORD:NameField"/>
-                        <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:AddressField" select="$default_db__x3A__BI_audit_BENFORD:AddressField" />
-                        <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:PeselField" select="$default_db__x3A__BI_audit_BENFORD:PeselField"   />
-                        <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:TaxIdField" select="$default_db__x3A__BI_audit_BENFORD:TaxIdField"  />
+                        <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:valueField" select="$default_db__x3A__BI_audit_BENFORD:valueField" tunnel="yes"/>
+                        <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:groupField" select="$default_db__x3A__BI_audit_BENFORD:groupField" tunnel="yes"/>
+                        <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:timeField" select="$default_db__x3A__BI_audit_BENFORD:timeField" tunnel="yes"/>
+                        <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:NameField" select="$default_db__x3A__BI_audit_BENFORD:NameField" tunnel="yes"/>
+                        <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:AddressField" select="$default_db__x3A__BI_audit_BENFORD:AddressField" tunnel="yes" />
+                        <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:PeselField" select="$default_db__x3A__BI_audit_BENFORD:PeselField"  tunnel="yes" />
+                        <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:TaxIdField" select="$default_db__x3A__BI_audit_BENFORD:TaxIdField"  tunnel="yes"/>
                         <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:CostField" select="$default_db__x3A__BI_audit_BENFORD:CostField" tunnel="yes"/>
                         <xsl:with-param name="default_db__x3A__BI_audit_BENFORD:CostSubjectFields" select="$default_db__x3A__BI_audit_BENFORD:CostSubjectFields" tunnel="yes"/>
                     </xsl:call-template>

+ 46 - 17
SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.defaults.param.xsl

@@ -21,12 +21,32 @@
     <xsl:output indent="yes"/>
     <xsl:strip-space elements="*"/>
     
-    <xsl:param name="system_cache__dita__x3A__svg:width.default" select="300"/>
-    <xsl:param name="system_cache__dita__x3A__svg:height.default" select="300"/>
+    
+    <!-- standard zapisysania danych -->
+    <xsl:param name="system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate.default" select="0"/>
+    <xsl:param name="system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate.default" select="300"/>
+    
+    <xsl:param name="system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate.default" select="0"/>
+    <xsl:param name="system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate.default" select="300"/>
+    
+    
+    
+    
+    
+    <xsl:param name="system_cache__dita__x3A__svg:width.default" select="$system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate.default"/>
+    <xsl:param name="system_cache__dita__x3A__svg:height.default" select="$system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate.default"/>
     <xsl:param name="system_cache__dita__x3A__svg:pwidth.default" select="$system_cache__dita__x3A__svg:width.default * 0.8"/>
     <xsl:param name="system_cache__dita__x3A__svg:pheight.default" select="$system_cache__dita__x3A__svg:width.default * 0.8"/><!-- wielkosc % stocku dp VOLUMES -->
     <xsl:param name="system_cache__dita__x3A__svg:offsetX.default" select="($system_cache__dita__x3A__svg:width.default - $system_cache__dita__x3A__svg:pwidth.default) div 2"/>
     <xsl:param name="system_cache__dita__x3A__svg:offsetY.default" select="($system_cache__dita__x3A__svg:height.default - $system_cache__dita__x3A__svg:pheight.default) div 2"/>
+    
+    
+    
+    
+    
+    
+    
+    
     <!--<xsl:variable name="pwidth" select="$width * 0.8"/>-->
     <!--<xsl:with-param name="majorBottomExtent" select="$pwidth div 2"/>-->
     <xsl:param name="system_cache__dita__x3A__svg:majorBottomExtent.default" select="4"/><!-- $system_cache__dita__x3A__svg:pwidth.default div 2 -->
@@ -61,6 +81,9 @@
         </system_cache__dita__x3A__svg:colors>
     </xsl:param>
     
+    
+    <xsl:param name="system_cache__dita__x3A__svg:debug.level" select="0"/>
+    
     <xsl:function name="system_cache__dita__x3A__svg:spacing">
         <xsl:param name="system_cache__dita__x3A__svg:pwidth"/>
         <xsl:param name="count.High"/>
@@ -79,27 +102,33 @@
         <xsl:param name="system_cache__dita__x3A__svg:width" select="$system_cache__dita__x3A__svg:width.default"/>
         <xsl:param name="system_cache__dita__x3A__svg:height" select="$system_cache__dita__x3A__svg:height.default"/>
         <xsl:param name="color" select="'yellow'"/>
-       <!-- <svg:line 
+        <xsl:param name="system_cache__dita__x3A__svg:debug.level.trigger" select="4"/>
+        <xsl:choose>
+            <xsl:when test="number($system_cache__dita__x3A__svg:debug.level) &gt; $system_cache__dita__x3A__svg:debug.level.trigger">
+                <!-- <svg:line 
             x1="0"
             y1="0"
             x2="{$system_cache__dita__x3A__svg:width}"
             y2="0"
             id="width.default.top"
             style="stroke-width: 5; stroke: red"/>-->
-        <svg:line 
-            x1="0"
-            y1="0"
-            x2="{$system_cache__dita__x3A__svg:width}"
-            y2="{$system_cache__dita__x3A__svg:height}"
-            id="width.default.bottom"
-            style="stroke-width: 2; stroke: {$color}"/>
-        <svg:line 
-            x1="0"
-            y1="{$system_cache__dita__x3A__svg:height}"
-            x2="{$system_cache__dita__x3A__svg:width}"
-            y2="0"
-            id="width.default.right"
-            style="stroke-width: 2; stroke: {$color}"/>
+                <svg:line 
+                    x1="0"
+                    y1="0"
+                    x2="{$system_cache__dita__x3A__svg:width}"
+                    y2="{$system_cache__dita__x3A__svg:height}"
+                    id="width.default.bottom"
+                    style="stroke-width: 2; stroke: {$color}"/>
+                <svg:line 
+                    x1="0"
+                    y1="{$system_cache__dita__x3A__svg:height}"
+                    x2="{$system_cache__dita__x3A__svg:width}"
+                    y2="0"
+                    id="width.default.right"
+                    style="stroke-width: 2; stroke: {$color}"/>
+            </xsl:when>
+        </xsl:choose>
+       
     </xsl:template>
   
 </xsl:stylesheet>

+ 216 - 0
SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.elements.xsl

@@ -0,0 +1,216 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+    xmlns:xs="http://www.w3.org/2001/XMLSchema"
+    xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+    xmlns:system_cache__dita="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/dita.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:system_cache__dita__x3A__svg="http://biuro.biall-net.pl/WPS_Functions/system_cache__dita__x3A__p5gnuplot/system_cache__dita__x3A__svg.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:svg="http://www.w3.org/2000/svg"
+    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"
+    
+    xmlns:svgu="http://www.ora.com/XSLTCookbook/ns/svg-utils"
+    xmlns:test="http://www.ora.com/XSLTCookbook/ns/test"
+    exclude-result-prefixes="xs"
+    version="2.0">
+    
+    
+    <xsl:template name="system_cache__dita__x3A__svg:elements.data.dataset__x3A__append" mode="system_cache__dita__x3A__svg:elements.data.dataset__x3A__append" match="*"  >
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.axis" tunnel="yes" required="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.index" tunnel="yes" required="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.class" tunnel="yes" required="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:elements.data.dataset__x3A__values" required="yes"/>
+        
+        <xsl:variable name="system_cache__dita__x3A__svg:resolution.coordinate.value.dataset" select="system_cache__dita__x3A__svg:resolution.coordinate.value.dataset($system_cache__dita__x3A__svg:resolution.coordinate.axis,
+            $system_cache__dita__x3A__svg:resolution.coordinate.index,$system_cache__dita__x3A__svg:resolution.coordinate.class,system_cache__dita__x3A__svg:resolution.coordinate.value.dataset())"/>
+        <xsl:element name="{system_cache__dita__x3A__svg:resolution.coordinate.value.dataset($system_cache__dita__x3A__svg:resolution.coordinate.axis,
+            $system_cache__dita__x3A__svg:resolution.coordinate.index,$system_cache__dita__x3A__svg:resolution.coordinate.class,system_cache__dita__x3A__svg:resolution.coordinate.value.dataset())}" >
+            <xsl:copy-of select="$system_cache__dita__x3A__svg:elements.data.dataset__x3A__values" copy-namespaces="no"/>
+        </xsl:element>
+        
+    </xsl:template>
+    
+    <xsl:template name="system_cache__dita__x3A__svg:elements.data.bounds__x3A__append"  >
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.axis" tunnel="yes" required="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.index" tunnel="yes" required="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.class" tunnel="yes" required="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:elements.data.bounds.min__x3A__value"  required="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:elements.data.bounds.max__x3A__value"  required="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:elements.data.bounds.min__x3A__latest__x3A__value" required="no"/>
+        <xsl:param name="system_cache__dita__x3A__svg:elements.data.bounds.max__x3A__latest__x3A__value" required="no"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.diagnose.option"/>
+        <xsl:variable name="system_cache__dita__x3A__svg:resolution.coordinate.data.bounds.min" select="system_cache__dita__x3A__svg:resolution.coordinate.value.bounds($system_cache__dita__x3A__svg:resolution.coordinate.axis,
+            $system_cache__dita__x3A__svg:resolution.coordinate.index,$system_cache__dita__x3A__svg:resolution.coordinate.class,system_cache__dita__x3A__svg:resolution.coordinate.value.bounds.min())"/>
+        <xsl:variable name="system_cache__dita__x3A__svg:resolution.coordinate.data.bounds.max" select="system_cache__dita__x3A__svg:resolution.coordinate.value.bounds($system_cache__dita__x3A__svg:resolution.coordinate.axis,
+            $system_cache__dita__x3A__svg:resolution.coordinate.index,$system_cache__dita__x3A__svg:resolution.coordinate.class,system_cache__dita__x3A__svg:resolution.coordinate.value.bounds.max())"/>
+        
+        <xsl:variable name="system_cache__dita__x3A__svg:resolution.coordinate.data.bounds.min.latest" select="system_cache__dita__x3A__svg:resolution.coordinate.value.bounds($system_cache__dita__x3A__svg:resolution.coordinate.axis,
+            $system_cache__dita__x3A__svg:resolution.coordinate.index,$system_cache__dita__x3A__svg:resolution.coordinate.class,system_cache__dita__x3A__svg:resolution.coordinate.value.bounds.min.latest())"/>
+        
+        <xsl:variable name="system_cache__dita__x3A__svg:resolution.coordinate.data.bounds.max.latest" select="system_cache__dita__x3A__svg:resolution.coordinate.value.bounds($system_cache__dita__x3A__svg:resolution.coordinate.axis,
+            $system_cache__dita__x3A__svg:resolution.coordinate.index,$system_cache__dita__x3A__svg:resolution.coordinate.class,system_cache__dita__x3A__svg:resolution.coordinate.value.bounds.max.latest())"/>
+        
+        <xsl:element name="{system_cache__dita__x3A__svg:resolution.coordinate.data($system_cache__dita__x3A__svg:resolution.coordinate.axis,
+            $system_cache__dita__x3A__svg:resolution.coordinate.index,$system_cache__dita__x3A__svg:resolution.coordinate.class)}" >
+            <xsl:attribute name="{$system_cache__dita__x3A__svg:resolution.coordinate.data.bounds.min}" select="$system_cache__dita__x3A__svg:elements.data.bounds.min__x3A__value"></xsl:attribute>
+            <xsl:attribute name="{$system_cache__dita__x3A__svg:resolution.coordinate.data.bounds.max}" select="$system_cache__dita__x3A__svg:elements.data.bounds.max__x3A__value"/>
+            <xsl:attribute name="{$system_cache__dita__x3A__svg:resolution.coordinate.data.bounds.min.latest}" select="$system_cache__dita__x3A__svg:elements.data.bounds.min__x3A__latest__x3A__value"/>
+            <xsl:attribute name="{$system_cache__dita__x3A__svg:resolution.coordinate.data.bounds.max.latest}" select="$system_cache__dita__x3A__svg:elements.data.bounds.max__x3A__latest__x3A__value"/>
+            <xsl:if test="$system_cache__dita__x3A__svg:resolution.coordinate.diagnose.option">
+                <xsl:attribute name="system_cache__dita__x3A__svg:resolution.coordinate.diagnose.option">
+                    <xsl:copy-of select="$system_cache__dita__x3A__svg:resolution.coordinate.diagnose.option"/>
+                </xsl:attribute>
+            </xsl:if>
+        </xsl:element>
+        
+    </xsl:template>
+    
+    <xsl:template name="system_cache__dita__x3A__svg:elements.data.count__x3A__append"  >
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.axis" tunnel="yes" required="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.index" tunnel="yes" required="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.class" tunnel="yes" required="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:elements.data.count__x3A__value"  required="yes"/>
+        <xsl:variable name="system_cache__dita__x3A__svg:resolution.coordinate.data.count" select="system_cache__dita__x3A__svg:resolution.coordinate.data.count($system_cache__dita__x3A__svg:resolution.coordinate.axis,
+            $system_cache__dita__x3A__svg:resolution.coordinate.index,$system_cache__dita__x3A__svg:resolution.coordinate.class,system_cache__dita__x3A__svg:resolution.coordinate.data.count())"/>
+        <xsl:element name="{system_cache__dita__x3A__svg:resolution.coordinate.data($system_cache__dita__x3A__svg:resolution.coordinate.axis,
+            $system_cache__dita__x3A__svg:resolution.coordinate.index,$system_cache__dita__x3A__svg:resolution.coordinate.class)}" >
+            <xsl:attribute name="{$system_cache__dita__x3A__svg:resolution.coordinate.data.count}" select="$system_cache__dita__x3A__svg:elements.data.count__x3A__value"></xsl:attribute>
+        </xsl:element>
+        
+    </xsl:template>
+    
+    <xsl:template name="system_cache__dita__x3A__svg:elements.data.class"/>
+    
+    <xsl:template name="system_cache__dita__x3A__svg:elements.data.id"/>
+    
+    <xsl:template name="system_cache__dita__x3A__svg:elements.data.position"/>
+    
+    <xsl:template name="system_cache__dita__x3A__svg:elements.data.name"/>
+    
+    <xsl:template name="system_cache__dita__x3A__svg:elements.data.label">
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.data.name" tunnel="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.axis" tunnel="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.index" tunnel="yes"/>
+        <!--<xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.data.position__x3A__limit"/>-->
+        <!--<xsl:variable name="system_cache__dita__x3A__svg:resolution.coordinate.data.context">
+            <xsl:call-template name="system_cache__dita__x3A__svg:resolution.coordinate.data.context">
+                <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.data.name" select="$system_cache__dita__x3A__svg:resolution.coordinate.data.name" tunnel="yes"/>
+                <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.axis" select="$system_cache__dita__x3A__svg:resolution.coordinate.axis" tunnel="yes"/>
+                <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.index" select="$system_cache__dita__x3A__svg:resolution.coordinate.index" tunnel="yes"/>
+                <!-\-<xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.data.position__x3A__limit" select="$system_cache__dita__x3A__svg:resolution.coordinate.data.position__x3A__limit"/>-\->
+            </xsl:call-template>
+        </xsl:variable>-->
+        
+        <xsl:apply-templates mode="system_cache__dita__x3A__svg:elements.data.label__x3A__append"/><!-- select="$system_cache__dita__x3A__svg:resolution.coordinate.data.name" -->
+           
+        
+    </xsl:template>
+    
+    <xsl:template name="system_cache__dita__x3A__svg:elements.data.label__x3A__append" match="*" mode="system_cache__dita__x3A__svg:elements.data.label__x3A__append">
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.index" tunnel="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.axis" tunnel="yes"/>
+        <!-- system_cache__dita__x3A__svg:data.y1.label -->
+        
+        <xsl:choose>
+            <xsl:when test="@*[name()=system_cache__dita__x3A__svg:resolution.coordinate.data.label($system_cache__dita__x3A__svg:resolution.coordinate.axis,
+                $system_cache__dita__x3A__svg:resolution.coordinate.index)]">
+                <xsl:value-of select="position()"/>:<xsl:value-of select="@*[name()=system_cache__dita__x3A__svg:resolution.coordinate.data.label($system_cache__dita__x3A__svg:resolution.coordinate.axis,
+                    $system_cache__dita__x3A__svg:resolution.coordinate.index)]"/>
+                <xsl:value-of select="@fid"/><xsl:text> </xsl:text>
+            </xsl:when>
+            <xsl:otherwise></xsl:otherwise>
+        </xsl:choose>
+        <xsl:apply-templates mode="#current"/>
+    </xsl:template>
+    
+    <xsl:template  match="text()|comment()" mode="system_cache__dita__x3A__svg:elements.data.label__x3A__append"/>
+        
+    
+    
+    <xsl:template name="system_cache__dita__x3A__svg:elements.data.DateRangeElements"/>
+    <xsl:template name="system_cache__dita__x3A__svg:elements.data.ValueRangeElements"/>
+    
+    
+    <xsl:template name="system_cache__dita__x3A__svg:elements.data.for-each-group.context" />
+    
+    
+    <xsl:template name="system_cache__dita__x3A__svg:elements.style">
+        <xsl:param name="system_cache__dita__x3A__svg:elements.style.vector-effect.non-scaling-stroke"/>
+        <xsl:param name="system_cache__dita__x3A__svg:elements.style.text.anchor.middle"/>
+        <xsl:param name="system_cache__dita__x3A__svg:elements.style.text.font-size"/>
+        <xsl:param name="system_cache__dita__x3A__svg:elements.style.text.baseline-shift"/>
+        
+        
+        <xsl:attribute name="style">
+            <xsl:call-template name="system_cache__dita__x3A__svg:elements.style.vector-effect__x3A__append">
+                <xsl:with-param name="system_cache__dita__x3A__svg:elements.style.vector-effect.non-scaling-stroke" select="$system_cache__dita__x3A__svg:elements.style.vector-effect.non-scaling-stroke"/>
+            </xsl:call-template>
+            
+            <xsl:call-template name="system_cache__dita__x3A__svg:elements.style.text.anchor__x3A__append">
+                <xsl:with-param name="system_cache__dita__x3A__svg:elements.style.text.anchor.middle" select="$system_cache__dita__x3A__svg:elements.style.text.anchor.middle"/>
+            </xsl:call-template>
+            <xsl:call-template name="system_cache__dita__x3A__svg:elements.style.text.font-size__x3A__append">
+                <xsl:with-param name="system_cache__dita__x3A__svg:elements.style.text.font-size" select="$system_cache__dita__x3A__svg:elements.style.text.font-size"/>
+            </xsl:call-template>
+            <xsl:call-template name="system_cache__dita__x3A__svg:elements.style.text.baseline-shift__x3A__append">
+                <xsl:with-param name="system_cache__dita__x3A__svg:elements.style.text.baseline-shift" select="$system_cache__dita__x3A__svg:elements.style.text.baseline-shift"/>
+            </xsl:call-template>
+        </xsl:attribute>
+    </xsl:template>
+    
+    
+    <xsl:template name="system_cache__dita__x3A__svg:elements.style.text.baseline-shift__x3A__append">
+        <xsl:param name="system_cache__dita__x3A__svg:elements.style.text.baseline-shift" select="'-100%'"/>
+        <xsl:choose>
+            <xsl:when test="$system_cache__dita__x3A__svg:elements.style.text.baseline-shift"><xsl:text> baseline-shift:</xsl:text><xsl:value-of select="$system_cache__dita__x3A__svg:elements.style.text.baseline-shift"/><xsl:text>; </xsl:text></xsl:when>
+        </xsl:choose>
+    </xsl:template>
+    
+    <xsl:template name="system_cache__dita__x3A__svg:elements.style.text.font-size__x3A__append">
+        <xsl:param name="system_cache__dita__x3A__svg:elements.style.text.font-size" select="8"/>
+        <xsl:choose>
+            <xsl:when test="$system_cache__dita__x3A__svg:elements.style.text.font-size"><xsl:text> font-size:</xsl:text><xsl:value-of select="$system_cache__dita__x3A__svg:elements.style.text.font-size"/><xsl:text>; </xsl:text></xsl:when>
+        </xsl:choose>
+    </xsl:template>
+    
+    <xsl:template name="system_cache__dita__x3A__svg:elements.style.text.anchor__x3A__append">
+        <xsl:param name="system_cache__dita__x3A__svg:elements.style.text.anchor.middle"/>
+        <xsl:choose>
+            <xsl:when test="$system_cache__dita__x3A__svg:elements.style.text.anchor.middle"><xsl:text> text-anchor:</xsl:text><xsl:value-of select="'middle'"/><xsl:text>; </xsl:text></xsl:when>
+        </xsl:choose>
+    </xsl:template>
+    
+    <xsl:template name="system_cache__dita__x3A__svg:elements.style.vector-effect__x3A__append">
+        <xsl:param name="system_cache__dita__x3A__svg:elements.style.vector-effect.non-scaling-stroke"/>
+        <xsl:choose>
+            <xsl:when test="$system_cache__dita__x3A__svg:elements.style.vector-effect.non-scaling-stroke"><xsl:text> vector-effect:non-scaling-stroke ;</xsl:text></xsl:when>
+        </xsl:choose>
+    </xsl:template>
+    
+    
+    <xsl:template name="system_cache__dita__x3A__svg:elements.text.create">
+        <xsl:param name="system_cache__dita__x3A__svg:cursor" required="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:cursor.current.Y" required="yes"/>
+        <!--<xsl:param name="system_cache__dita__x3A__svg:x1.spacing" required="yes"/>-->
+        
+        <xsl:param name="system_cache__dita__x3A__svg:y.min.DateRangeElements" required="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:y.max.DateRangeElements" required="yes"/>
+        
+        <xsl:param name="system_cache__dita__x3A__svg:y.min.ValueRangeElements" required="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:y.max.ValueRangeElements" required="yes"/>
+        
+        <xsl:param name="system_cache__dita__x3A__svg:cursor.current.height" required="yes"/>
+        
+        <xsl:param name="system_cache__dita__x3A__svg:x1.min.DateRangeElements" required="yes" />
+        <xsl:param name="system_cache__dita__x3A__svg:x1.max.DateRangeElements"  required="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:width__x3A__limit" required="yes"/>
+        
+        
+        
+    
+    </xsl:template>
+    
+  
+</xsl:stylesheet>

+ 509 - 6
SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.plot.Hi-Lo-Close.xsl

@@ -9,9 +9,506 @@
     
     <!--<xsl:include href="system_cache__dita__x3A__svg.utils.xsl"/>-->
     
+    <xsl:template mode="system_cache__dita__x3A__svg:openHiLoClose" match="system_cache__dita__x3A__svg:cursor|*"/>
+    
+    
+    <xsl:template mode="system_cache__dita__x3A__svg:openHiLoClose" match="system_cache__dita__x3A__svg:data.current-group">
+        <xsl:param name="system_cache__dita__x3A__svg:cursor" required="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:cursor.current.Y" select="system_cache__dita__x3A__svg:cursor.current.Y($system_cache__dita__x3A__svg:cursor)"/>
+        <xsl:param name="system_cache__dita__x3A__svg:width__x3A__limit" select="system_cache__dita__x3A__svg:width__x3A__limit__x3A__extract($system_cache__dita__x3A__svg:cursor)"/>
+        <xsl:param name="system_cache__dita__x3A__svg:height__x3A__limit" select="system_cache__dita__x3A__svg:height__x3A__limit__x3A__extract($system_cache__dita__x3A__svg:cursor)"/>
+        <xsl:param name="system_cache__dita__x3A__svg:cursor.current.height" select="system_cache__dita__x3A__svg:cursor.current.height($system_cache__dita__x3A__svg:cursor)"/>
+        <xsl:comment>#15 system_cache__dita__x3A__svg:openHiLoClose matched /n <xsl:value-of select="name()"/>;</xsl:comment>
+        
+        
+        <xsl:variable name="system_cache__dita__x3A__svg:x.count.data.current-group" select="count(descendant-or-self::system_cache__dita__x3A__svg:data.current-group/@system_cache__dita__x3A__svg:data.id)" />
+                       <!-- system_cache__dita__x3A__svg:data.x1.id -->
+        <xsl:variable name="system_cache__dita__x3A__svg:x1.count.leadingTimeDate" select="count(descendant-or-self::system_cache__dita__x3A__svg:leadingTimeDate/@system_cache__dita__x3A__svg:data.id)" />
+        <xsl:variable name="system_cache__dita__x3A__svg:x1.min.leadingTimeDate" select="min(descendant-or-self::system_cache__dita__x3A__svg:leadingTimeDate/@system_cache__dita__x3A__svg:data.position)" />
+        <xsl:variable name="system_cache__dita__x3A__svg:x1.max.leadingTimeDate" select="max(descendant-or-self::system_cache__dita__x3A__svg:leadingTimeDate/@system_cache__dita__x3A__svg:data.position)" />
+        <xsl:variable name="system_cache__dita__x3A__svg:y1.count.relation_DateRangeElements" select="count(descendant-or-self::relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y1.value/number())" />
+        <xsl:variable name="system_cache__dita__x3A__svg:y1.min.relation_DateRangeElements" select="min(descendant-or-self::relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y1.value/number())" />        
+        <xsl:variable name="system_cache__dita__x3A__svg:y1.max.relation_DateRangeElements" select="max(descendant-or-self::relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y1.value/number())" />
+        <xsl:variable name="system_cache__dita__x3A__svg:y2.count.relation_DateRangeElements" select="count(descendant-or-self::relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y2.value/number())" />
+        <xsl:variable name="system_cache__dita__x3A__svg:y2.min.relation_DateRangeElements" select="min(descendant-or-self::relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y2.value/number())" />
+        <xsl:variable name="system_cache__dita__x3A__svg:y2.max.relation_DateRangeElements" select="max(descendant-or-self::relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y2.value/number())" />
+        <xsl:variable name="system_cache__dita__x3A__svg:y.max.relation_DateRangeElements" select="system_cache__dita__x3A__svg:math.max($system_cache__dita__x3A__svg:y1.max.relation_DateRangeElements, $system_cache__dita__x3A__svg:y2.max.relation_DateRangeElements)"/>
+        <xsl:variable name="system_cache__dita__x3A__svg:y.min.relation_DateRangeElements" select="system_cache__dita__x3A__svg:math.max($system_cache__dita__x3A__svg:y1.min.relation_DateRangeElements, $system_cache__dita__x3A__svg:y2.min.relation_DateRangeElements)"/>
+        <xsl:variable name="system_cache__dita__x3A__svg:range.x1" select="$system_cache__dita__x3A__svg:x1.max.leadingTimeDate - $system_cache__dita__x3A__svg:x1.min.leadingTimeDate"/>
+        <xsl:variable name="system_cache__dita__x3A__svg:range.y" select="$system_cache__dita__x3A__svg:y.max.relation_DateRangeElements - $system_cache__dita__x3A__svg:y.min.relation_DateRangeElements"/>
+        
+        
+        
+      
+        <xsl:choose>
+            <xsl:when test="number($system_cache__dita__x3A__svg:debug.level ) &gt; 4 or 1=1">
+                <xsl:copy copy-namespaces="no">
+                    <xsl:attribute name="system_cache__dita__x3A__svg:cursor.current.Y" select="$system_cache__dita__x3A__svg:cursor.current.Y"/>
+                    <xsl:attribute name="system_cache__dita__x3A__svg:width__x3A__limit" select="$system_cache__dita__x3A__svg:width__x3A__limit"/>
+                    <xsl:attribute name="system_cache__dita__x3A__svg:height__x3A__limit" select="$system_cache__dita__x3A__svg:height__x3A__limit"/>
+                    <xsl:attribute name="system_cache__dita__x3A__svg:cursor.current.height" select="$system_cache__dita__x3A__svg:cursor.current.height"/>
+                    <xsl:copy-of select="@*[contains(name(),'system_cache__dita__x3A__svg:data')]" copy-namespaces="no" />
+                    
+                    
+                    
+                    <xsl:attribute name="system_cache__dita__x3A__svg:x.count.data.current-group" select="$system_cache__dita__x3A__svg:x.count.data.current-group"/>
+                    
+                    
+                    <xsl:attribute name="system_cache__dita__x3A__svg:x1.count.leadingTimeDate" select="$system_cache__dita__x3A__svg:x1.count.leadingTimeDate"/>
+                    
+                    
+                    <xsl:attribute name="system_cache__dita__x3A__svg:x1.min.leadingTimeDate" select="$system_cache__dita__x3A__svg:x1.min.leadingTimeDate"/>
+                    
+                    
+                    <xsl:attribute name="system_cache__dita__x3A__svg:x1.max.leadingTimeDate" select="$system_cache__dita__x3A__svg:x1.max.leadingTimeDate"/>
+                    
+                    
+                    
+                    <xsl:attribute name="system_cache__dita__x3A__svg:y1.count.relation_DateRangeElements" select="$system_cache__dita__x3A__svg:y1.count.relation_DateRangeElements"/>
+                    
+                    
+                    <xsl:attribute name="system_cache__dita__x3A__svg:y1.min.relation_DateRangeElements" select="$system_cache__dita__x3A__svg:y1.min.relation_DateRangeElements"/>
+                    
+                    
+                    <xsl:attribute name="system_cache__dita__x3A__svg:y1.max.relation_DateRangeElements" select="$system_cache__dita__x3A__svg:y1.max.relation_DateRangeElements"/>
+                    
+                    
+                    
+                    <!--<xsl:variable name="system_cache__dita__x3A__svg:y2.count.relation_DateRangeElements" select="count(descendant-or-self::relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y2.value/number())" />-->
+                    <xsl:attribute name="system_cache__dita__x3A__svg:y2.count.relation_DateRangeElements" select="$system_cache__dita__x3A__svg:y2.count.relation_DateRangeElements"/>
+                    
+                    <!--<xsl:variable name="system_cache__dita__x3A__svg:y2.min.relation_DateRangeElements" select="min(descendant-or-self::relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y2.value/number())" />-->
+                    <xsl:attribute name="system_cache__dita__x3A__svg:y2.min.relation_DateRangeElements" select="$system_cache__dita__x3A__svg:y2.min.relation_DateRangeElements"/>
+                    
+                    <!--<xsl:variable name="system_cache__dita__x3A__svg:y2.max.relation_DateRangeElements" select="max(descendant-or-self::relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y2.value/number())" />-->
+                    <xsl:attribute name="system_cache__dita__x3A__svg:y2.max.relation_DateRangeElements" select="$system_cache__dita__x3A__svg:y2.max.relation_DateRangeElements"/>
+                    
+                    <!--<xsl:variable name="system_cache__dita__x3A__svg:y.max.relation_DateRangeElements" select="system_cache__dita__x3A__svg:math.max($system_cache__dita__x3A__svg:y1.max.relation_DateRangeElements, $system_cache__dita__x3A__svg:y2.max.relation_DateRangeElements)"/>-->
+                    <xsl:attribute name="system_cache__dita__x3A__svg:y.max.relation_DateRangeElements" select="$system_cache__dita__x3A__svg:y.max.relation_DateRangeElements"/>
+                    
+                    <!--<xsl:variable name="system_cache__dita__x3A__svg:count.hiData" select="count(descendant-or-self::*)" />-->
+                    <!-- <xsl:variable name="system_cache__dita__x3A__svg:hiCount" select="count($hiData)"/>
+            <xsl:variable name="loCount" select="count($loData)"/>
+            <xsl:variable name="openCount" select="count($openData)"/>
+            <xsl:variable name="closeCount" select="count($closeData)"/>
+            -->
+                    <!--<xsl:variable name="system_cache__dita__x3A__svg:numBars" select="system_cache__dita__x3A__svg:math.min($hiCount, $system_cache__dita__x3A__svg:count.leadingTimeDate)"/>-->
+                    <!-- <xsl:variable name="system_cache__dita__x3A__svg:x1.numBars" select="$system_cache__dita__x3A__svg:x1.count.leadingTimeDate"/>
+            <xsl:attribute name="system_cache__dita__x3A__svg:x1.numBars" select="$system_cache__dita__x3A__svg:x1.numBars"/>
+            <xsl:variable name="system_cache__dita__x3A__svg:x1.spacing" select="$system_cache__dita__x3A__svg:width__x3A__limit div ($system_cache__dita__x3A__svg:x1.numBars + 1)"/>
+            <xsl:attribute name="system_cache__dita__x3A__svg:x1.spacing" select="$system_cache__dita__x3A__svg:x1.spacing"/>
+            -->
+                    
+                    <xsl:attribute name="system_cache__dita__x3A__svg:range.x1" select="$system_cache__dita__x3A__svg:range.x1"/>
+                    
+                    
+                    <xsl:attribute name="system_cache__dita__x3A__svg:range.y" select="$system_cache__dita__x3A__svg:range.y"/>
+                    
+                    
+                    
+                    
+                </xsl:copy>
+            </xsl:when>
+        </xsl:choose>
+        
+        
+        
+        
+        <xsl:comment>#119 offsetting datasetn in pairs:
+                $system_cache__dita__x3A__svg:offsetY.minY == ($system_cache__dita__x3A__svg:y.min.relation_DateRangeElements) <xsl:value-of select="$system_cache__dita__x3A__svg:y.min.relation_DateRangeElements"/>
+                $system_cache__dita__x3A__svg:offsetY.maxY == ($system_cache__dita__x3A__svg:y.max.relation_DateRangeElements) <xsl:value-of select="$system_cache__dita__x3A__svg:y.max.relation_DateRangeElements"/>
+                $system_cache__dita__x3A__svg:offsetY.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:offsetX.minX == ($system_cache__dita__x3A__svg:x1.min.leadingTimeDate) <xsl:value-of select="$system_cache__dita__x3A__svg:x1.min.leadingTimeDate"/>
+                system_cache__dita__x3A__svg:offsetX.maxX == ($system_cache__dita__x3A__svg:x1.max.leadingTimeDate) <xsl:value-of select="$system_cache__dita__x3A__svg:x1.max.leadingTimeDate"/>
+                system_cache__dita__x3A__svg:offsetX.width == ($system_cache__dita__x3A__svg:width__x3A__limit) <xsl:value-of select="$system_cache__dita__x3A__svg:width__x3A__limit"/>
+                
+                system_cache__dita__x3A__svg:cursor.current.Y == ($system_cache__dita__x3A__svg:cursor.current.Y) <xsl:value-of select="$system_cache__dita__x3A__svg:cursor.current.Y"/>
+            </xsl:comment>
+        <svg:g debug="svgu:openHiLoClose.x51"  >
+            
+            
+            
+            <xsl:call-template name="system_cache__dita__x3A__svg:transform.translate.basic">
+                <xsl:with-param name="system_cache__dita__x3A__svg:offsetY.minY" select="$system_cache__dita__x3A__svg:y.min.relation_DateRangeElements" />
+                <xsl:with-param name="system_cache__dita__x3A__svg:offsetY.maxY" select="$system_cache__dita__x3A__svg:y.max.relation_DateRangeElements" />
+                <xsl:with-param name="system_cache__dita__x3A__svg:offsetY.height" select="$system_cache__dita__x3A__svg:cursor.current.height"/>
+                
+                <xsl:with-param name="system_cache__dita__x3A__svg:offsetX.minX" select="$system_cache__dita__x3A__svg:x1.min.leadingTimeDate" />
+                <xsl:with-param name="system_cache__dita__x3A__svg:offsetX.maxX" select="$system_cache__dita__x3A__svg:x1.max.leadingTimeDate" />
+                <xsl:with-param name="system_cache__dita__x3A__svg:offsetX.width" select="$system_cache__dita__x3A__svg:width__x3A__limit"/>
+                
+                <xsl:with-param name="system_cache__dita__x3A__svg:cursor.current.Y" select="$system_cache__dita__x3A__svg:cursor.current.Y"/>
+            </xsl:call-template>
+            
+            <!--<xsl:call-template name="system_cache__dita__x3A__svg:transform.translate.major">
+                <xsl:with-param name="system_cache__dita__x3A__svg:offsetX" select="$offsetX"/>
+                <xsl:with-param name="system_cache__dita__x3A__svg:offsetY" select="$offsetY"/>
+                <xsl:with-param name="system_cache__dita__x3A__svg:offsetY.height" select="$height"/>
+                <xsl:with-param name="system_cache__dita__x3A__svg:offsetY.min" select="$min"/>
+                <xsl:with-param name="system_cache__dita__x3A__svg:cursor.current.Y" select="$system_cache__dita__x3A__svg:cursor.current.Y"/>
+                <xsl:with-param name="yscale" select="$scale"/>
+            </xsl:call-template>-->
+            
+            
+            
+            <xsl:apply-templates mode="#current">
+                <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:cursor.current.Y" select="$system_cache__dita__x3A__svg:cursor.current.Y"/>
+                <!--<xsl:with-param name="system_cache__dita__x3A__svg:x1.spacing" select="$system_cache__dita__x3A__svg:x1.spacing"/>-->
+                
+                <xsl:with-param name="system_cache__dita__x3A__svg:y.min.relation_DateRangeElements" select="$system_cache__dita__x3A__svg:y.min.relation_DateRangeElements" />
+                <xsl:with-param name="system_cache__dita__x3A__svg:y.max.relation_DateRangeElements" select="$system_cache__dita__x3A__svg:y.max.relation_DateRangeElements" />
+                <xsl:with-param name="system_cache__dita__x3A__svg:cursor.current.height" select="$system_cache__dita__x3A__svg:cursor.current.height"/>
+                
+                <xsl:with-param name="system_cache__dita__x3A__svg:x1.min.leadingTimeDate" select="$system_cache__dita__x3A__svg:x1.min.leadingTimeDate" />
+                <xsl:with-param name="system_cache__dita__x3A__svg:x1.max.leadingTimeDate" select="$system_cache__dita__x3A__svg:x1.max.leadingTimeDate" />
+                <xsl:with-param name="system_cache__dita__x3A__svg:width__x3A__limit" select="$system_cache__dita__x3A__svg:width__x3A__limit"/>
+                
+                <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.index" select="system_cache__dita__x3A__svg:resolution.coordinate.index.1()" tunnel="yes"/>
+                <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.axis" select="system_cache__dita__x3A__svg:resolution.coordinate.axis.y()" tunnel="yes"/>
+                <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.data.name" select="'leadingTimeDate-From'" tunnel="yes"/>
+                <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.data.position__x3A__limit" select="1" tunnel="yes"/>
+                
+            </xsl:apply-templates>
+        </svg:g>        
+        
+        
+        <xsl:comment>#164 trying 164to append labels in sector</xsl:comment>
+        <!-- teraz przybijamy labele po tozsamosciach -->
+        <!--<xsl:variable name="system_cache__dita__x3A__svg:resolution.coordinate.data">
+            <!-\-<xsl:call-template name="system_cache__dita__x3A__svg:resolution.coordinate.data">
+                <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.axis" select="system_cache__dita__x3A__svg:resolution.coordinate.axis()" tunnel="yes"/>
+                <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.index" select="system_cache__dita__x3A__svg:resolution.coordinate.index()" tunnel="yes"/>
+                <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.class" select="system_cache__dita__x3A__svg:resolution.coordinate.id()" tunnel="yes"/>
+            </xsl:call-template>-\->
+            
+            <!-\-<xsl:attribute name="TEST_DEVBYG_VAR_SHARE" select="$system_cache__dita__x3A__svg:resolution.coordinate.axis"/>-\->
+            <!-\-count(descendant-or-self::system_cache__dita__x3A__svg:data.current-group/@system_cache__dita__x3A__svg:data.id)-\->
+        </xsl:variable>-->
+        
+        <!--<xsl:apply-templates mode="system_cache__dita__x3A__svg:resolution.offset.dataset.prepared.data.label" select="."/>-->
+        <xsl:call-template name="system_cache__dita__x3A__svg:resolution.offset.dataset.prepared.data.label">
+            <xsl:with-param name="system_cache__dita__x3A__svg:cursor" select="$system_cache__dita__x3A__svg:cursor" tunnel="yes"/>
+        </xsl:call-template>
+            
+        
+        
+        
+        <!--<xsl:apply-templates mode="system_cache__dita__x3A__svg:openHiLoClose.label" select="$system_cache__dita__x3A__svg:openHiLoClose.resolution.coordinate.label">
+            <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:cursor.current.Y" select="system_cache__dita__x3A__svg:cursor.current.Y($system_cache__dita__x3A__svg:cursor)"/>
+            <xsl:with-param name="system_cache__dita__x3A__svg:width__x3A__limit" select="system_cache__dita__x3A__svg:width__x3A__limit__x3A__extract($system_cache__dita__x3A__svg:cursor)"/>
+            <xsl:with-param name="system_cache__dita__x3A__svg:height__x3A__limit" select="system_cache__dita__x3A__svg:height__x3A__limit__x3A__extract($system_cache__dita__x3A__svg:cursor)"/>
+            <xsl:with-param name="system_cache__dita__x3A__svg:cursor.current.height" select="system_cache__dita__x3A__svg:cursor.current.height($system_cache__dita__x3A__svg:cursor)"/>
+        </xsl:apply-templates>-->
+        
+        <!--<system_cache__dita__x3A__svg:data.current-group system_cache__dita__x3A__svg:data.name="BI_audit_ENERGA_PRACOWNICY"
+            system_cache__dita__x3A__svg:data.id="BI_audit_ENERGA_PRACOWNICY.65424"
+            system_cache__dita__x3A__svg:data.position="1">
+            <system_cache__dita__x3A__svg:leadingTimeDate system_cache__dita__x3A__svg:data.name="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object"
+                system_cache__dita__x3A__svg:data.id="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object.29827477"
+                system_cache__dita__x3A__svg:data.position="1">
+                <relation_DateRangeElements system_cache__dita__x3A__svg:data.y1.name="leadingTimeDate-From"
+                    system_cache__dita__x3A__svg:data.y1.value="733227"
+                    system_cache__dita__x3A__svg:data.y1.label="2008-10-07"
+                    system_cache__dita__x3A__svg:data.y2.name="leadingTimeDate-To"
+                    system_cache__dita__x3A__svg:data.y2.value="735327"
+                    system_cache__dita__x3A__svg:data.y2.label="2014-07-07"/>
+            </system_cache__dita__x3A__svg:leadingTimeDate>
+            <system_cache__dita__x3A__svg:leadingTimeDate system_cache__dita__x3A__svg:data.name="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object"
+                system_cache__dita__x3A__svg:data.id="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object.29827478"
+                system_cache__dita__x3A__svg:data.position="2">
+                <relation_DateRangeElements system_cache__dita__x3A__svg:data.y1.name="leadingTimeDate-From"
+                    system_cache__dita__x3A__svg:data.y1.value="732957"
+                    system_cache__dita__x3A__svg:data.y1.label="2008-01-07"
+                    system_cache__dita__x3A__svg:data.y2.name="leadingTimeDate-To"
+                    system_cache__dita__x3A__svg:data.y2.value="735327"
+                    system_cache__dita__x3A__svg:data.y2.label="2014-07-07"/>
+            </system_cache__dita__x3A__svg:leadingTimeDate>
+            <system_cache__dita__x3A__svg:leadingTimeDate system_cache__dita__x3A__svg:data.name="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object"
+                system_cache__dita__x3A__svg:data.id="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object.29827456"
+                system_cache__dita__x3A__svg:data.position="3">
+                <relation_DateRangeElements system_cache__dita__x3A__svg:data.y1.name="leadingTimeDate-From"
+                    system_cache__dita__x3A__svg:data.y1.value="732132"
+                    system_cache__dita__x3A__svg:data.y1.label="2005-10-07"
+                    system_cache__dita__x3A__svg:data.y2.name="leadingTimeDate-To"
+                    system_cache__dita__x3A__svg:data.y2.value="735327"
+                    system_cache__dita__x3A__svg:data.y2.label="2014-07-07"/>
+            </system_cache__dita__x3A__svg:leadingTimeDate>
+            <system_cache__dita__x3A__svg:leadingTimeDate system_cache__dita__x3A__svg:data.name="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object"
+                system_cache__dita__x3A__svg:data.id="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object.29827457"
+                system_cache__dita__x3A__svg:data.position="4">
+                <relation_DateRangeElements system_cache__dita__x3A__svg:data.y1.name="leadingTimeDate-From"
+                    system_cache__dita__x3A__svg:data.y1.value="736026"
+                    system_cache__dita__x3A__svg:data.y1.label="2016-06-06"
+                    system_cache__dita__x3A__svg:data.y2.name="leadingTimeDate-To"
+                    system_cache__dita__x3A__svg:data.y2.value="736522"
+                    system_cache__dita__x3A__svg:data.y2.label="2017-10-17"/>
+            </system_cache__dita__x3A__svg:leadingTimeDate>
+            <system_cache__dita__x3A__svg:leadingTimeDate system_cache__dita__x3A__svg:data.name="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object"
+                system_cache__dita__x3A__svg:data.id="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object.29827461"
+                system_cache__dita__x3A__svg:data.position="5">
+                <relation_DateRangeElements system_cache__dita__x3A__svg:data.y1.name="leadingTimeDate-From"
+                    system_cache__dita__x3A__svg:data.y1.value="736026"
+                    system_cache__dita__x3A__svg:data.y1.label="2016-06-06"
+                    system_cache__dita__x3A__svg:data.y2.name="leadingTimeDate-To"
+                    system_cache__dita__x3A__svg:data.y2.value="736522"
+                    system_cache__dita__x3A__svg:data.y2.label="2017-10-17"/>
+            </system_cache__dita__x3A__svg:leadingTimeDate>
+            <system_cache__dita__x3A__svg:leadingTimeDate system_cache__dita__x3A__svg:data.name="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object"
+                system_cache__dita__x3A__svg:data.id="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object.29827465"
+                system_cache__dita__x3A__svg:data.position="6">
+                <relation_DateRangeElements system_cache__dita__x3A__svg:data.y1.name="leadingTimeDate-From"
+                    system_cache__dita__x3A__svg:data.y1.value="736026"
+                    system_cache__dita__x3A__svg:data.y1.label="2016-06-06"
+                    system_cache__dita__x3A__svg:data.y2.name="leadingTimeDate-To"
+                    system_cache__dita__x3A__svg:data.y2.value="736522"
+                    system_cache__dita__x3A__svg:data.y2.label="2017-10-17"/>
+            </system_cache__dita__x3A__svg:leadingTimeDate>
+            <system_cache__dita__x3A__svg:leadingTimeDate system_cache__dita__x3A__svg:data.name="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object"
+                system_cache__dita__x3A__svg:data.id="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object.29827469"
+                system_cache__dita__x3A__svg:data.position="7">
+                <relation_DateRangeElements system_cache__dita__x3A__svg:data.y1.name="leadingTimeDate-From"
+                    system_cache__dita__x3A__svg:data.y1.value="736026"
+                    system_cache__dita__x3A__svg:data.y1.label="2016-06-06"
+                    system_cache__dita__x3A__svg:data.y2.name="leadingTimeDate-To"
+                    system_cache__dita__x3A__svg:data.y2.value="736522"
+                    system_cache__dita__x3A__svg:data.y2.label="2017-10-17"/>
+            </system_cache__dita__x3A__svg:leadingTimeDate>
+            <system_cache__dita__x3A__svg:leadingTimeDate system_cache__dita__x3A__svg:data.name="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object"
+                system_cache__dita__x3A__svg:data.id="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object.29827473"
+                system_cache__dita__x3A__svg:data.position="8">
+                <relation_DateRangeElements system_cache__dita__x3A__svg:data.y1.name="leadingTimeDate-From"
+                    system_cache__dita__x3A__svg:data.y1.value="736026"
+                    system_cache__dita__x3A__svg:data.y1.label="2016-06-06"
+                    system_cache__dita__x3A__svg:data.y2.name="leadingTimeDate-To"
+                    system_cache__dita__x3A__svg:data.y2.value="736522"
+                    system_cache__dita__x3A__svg:data.y2.label="2017-10-17"/>
+            </system_cache__dita__x3A__svg:leadingTimeDate>
+            <system_cache__dita__x3A__svg:leadingTimeDate system_cache__dita__x3A__svg:data.name="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object"
+                system_cache__dita__x3A__svg:data.id="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object.29827452"
+                system_cache__dita__x3A__svg:data.position="9">
+                <relation_DateRangeElements system_cache__dita__x3A__svg:data.y1.name="leadingTimeDate-From"
+                    system_cache__dita__x3A__svg:data.y1.value="733014"
+                    system_cache__dita__x3A__svg:data.y1.label="2008-03-04"
+                    system_cache__dita__x3A__svg:data.y2.name="leadingTimeDate-To"
+                    system_cache__dita__x3A__svg:data.y2.value="733212"
+                    system_cache__dita__x3A__svg:data.y2.label="2008-09-22"/>
+            </system_cache__dita__x3A__svg:leadingTimeDate>
+            <system_cache__dita__x3A__svg:leadingTimeDate system_cache__dita__x3A__svg:data.name="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object"
+                system_cache__dita__x3A__svg:data.id="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object.29827453"
+                system_cache__dita__x3A__svg:data.position="10">
+                <relation_DateRangeElements system_cache__dita__x3A__svg:data.y1.name="leadingTimeDate-From"
+                    system_cache__dita__x3A__svg:data.y1.value="733707"
+                    system_cache__dita__x3A__svg:data.y1.label="2010-01-27"
+                    system_cache__dita__x3A__svg:data.y2.name="leadingTimeDate-To"
+                    system_cache__dita__x3A__svg:data.y2.value="733707"
+                    system_cache__dita__x3A__svg:data.y2.label="2010-01-27"/>
+            </system_cache__dita__x3A__svg:leadingTimeDate>
+        </system_cache__dita__x3A__svg:data.current-group>-->
+    </xsl:template>
+    
+    <xsl:template mode="system_cache__dita__x3A__svg:openHiLoClose" match="system_cache__dita__x3A__svg:openHiLoClose.resolution.coordinate.label">
+        <xsl:comment>#324 SOME ERRORS IN DATASET</xsl:comment>
+    </xsl:template>
+    
+    <xsl:template mode="system_cache__dita__x3A__svg:openHiLoClose" match="system_cache__dita__x3A__svg:openHiLoClose.resolution.coordinate.label[
+        @system_cache__dita__x3A__svg:offsetY.minY
+        and @system_cache__dita__x3A__svg:offsetY.maxY 
+        and @system_cache__dita__x3A__svg:offsetY.height
+        and @system_cache__dita__x3A__svg:offsetX.minX
+        and @system_cache__dita__x3A__svg:offsetX.maxX
+        and @system_cache__dita__x3A__svg:offsetX.width
+        and @system_cache__dita__x3A__svg:offsetY.maxY
+        and @system_cache__dita__x3A__svg:offsetX.width ]">
+        <xsl:param name="system_cache__dita__x3A__svg:offsetY.minY" select="@system_cache__dita__x3A__svg:offsetY.minY"/>
+        <xsl:param name="system_cache__dita__x3A__svg:offsetY.maxY" select="@system_cache__dita__x3A__svg:offsetY.maxY"/>
+        <xsl:param name="system_cache__dita__x3A__svg:offsetY.height" select="@system_cache__dita__x3A__svg:offsetY.height"/>
+        <xsl:param name="system_cache__dita__x3A__svg:offsetX.minX" select="@system_cache__dita__x3A__svg:offsetX.minX"/>
+        <xsl:param name="system_cache__dita__x3A__svg:offsetX.maxX" select="@system_cache__dita__x3A__svg:offsetX.maxX"/>
+        <xsl:param name="system_cache__dita__x3A__svg:offsetX.width" select="@system_cache__dita__x3A__svg:offsetX.width"/>
+        <xsl:param name="system_cache__dita__x3A__svg:cursor.current.Y" select="@system_cache__dita__x3A__svg:cursor.current.Y"/>
+
+        <xsl:comment>#317 testing labels</xsl:comment>
+        <svg:g debug="svgu:openHiLoClose.317"  >
+            <!--<xsl:call-template name="system_cache__dita__x3A__svg:transform.translate.basic">
+                <xsl:with-param name="system_cache__dita__x3A__svg:offsetY.minY" select="$system_cache__dita__x3A__svg:y.min.relation_DateRangeElements" />
+                <xsl:with-param name="system_cache__dita__x3A__svg:offsetY.maxY" select="$system_cache__dita__x3A__svg:y.max.relation_DateRangeElements" />
+                <xsl:with-param name="system_cache__dita__x3A__svg:offsetY.height" select="$system_cache__dita__x3A__svg:cursor.current.height"/>
+                
+                <xsl:with-param name="system_cache__dita__x3A__svg:offsetX.minX" select="$system_cache__dita__x3A__svg:x1.min.leadingTimeDate" />
+                <xsl:with-param name="system_cache__dita__x3A__svg:offsetX.maxX" select="$system_cache__dita__x3A__svg:x1.max.leadingTimeDate" />
+                <xsl:with-param name="system_cache__dita__x3A__svg:offsetX.width" select="$system_cache__dita__x3A__svg:width__x3A__limit"/>
+                
+                <xsl:with-param name="system_cache__dita__x3A__svg:cursor.current.Y" select="$system_cache__dita__x3A__svg:cursor.current.Y"/>
+            </xsl:call-template>-->
+            
+            
+            
+            
+            
+            <!--<xsl:apply-templates mode="#current">
+                <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:cursor.current.Y" select="$system_cache__dita__x3A__svg:cursor.current.Y"/>
+                <!-\-<xsl:with-param name="system_cache__dita__x3A__svg:x1.spacing" select="$system_cache__dita__x3A__svg:x1.spacing"/>-\->
+                
+                <xsl:with-param name="system_cache__dita__x3A__svg:y.min.relation_DateRangeElements" select="$system_cache__dita__x3A__svg:y.min.relation_DateRangeElements" />
+                <xsl:with-param name="system_cache__dita__x3A__svg:y.max.relation_DateRangeElements" select="$system_cache__dita__x3A__svg:y.max.relation_DateRangeElements" />
+                <xsl:with-param name="system_cache__dita__x3A__svg:cursor.current.height" select="$system_cache__dita__x3A__svg:cursor.current.height"/>
+                
+                <xsl:with-param name="system_cache__dita__x3A__svg:x1.min.leadingTimeDate" select="$system_cache__dita__x3A__svg:x1.min.leadingTimeDate" />
+                <xsl:with-param name="system_cache__dita__x3A__svg:x1.max.leadingTimeDate" select="$system_cache__dita__x3A__svg:x1.max.leadingTimeDate" />
+                <xsl:with-param name="system_cache__dita__x3A__svg:width__x3A__limit" select="$system_cache__dita__x3A__svg:width__x3A__limit"/>
+                
+                <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.index" select="system_cache__dita__x3A__svg:resolution.coordinate.index.1()" tunnel="yes"/>
+                <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.axis" select="system_cache__dita__x3A__svg:resolution.coordinate.axis.y()" tunnel="yes"/>
+                <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.data.name" select="'leadingTimeDate-From'" tunnel="yes"/>
+                <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.data.position__x3A__limit" select="1" tunnel="yes"/>
+                
+            </xsl:apply-templates>-->
+        </svg:g>        
+        
+    </xsl:template>
+    
+  
+    <xsl:template mode="system_cache__dita__x3A__svg:openHiLoClose" match="system_cache__dita__x3A__svg:leadingTimeDate[not(count(relation_DateRangeElements) &gt;1)  and @system_cache__dita__x3A__svg:data.position and relation_DateRangeElements[@system_cache__dita__x3A__svg:data.y1.value]]">
+        <xsl:param name="system_cache__dita__x3A__svg:cursor" required="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:cursor.current.Y" required="yes"/>
+        <!--<xsl:param name="system_cache__dita__x3A__svg:x1.spacing" required="yes"/>-->
+        
+        <xsl:param name="system_cache__dita__x3A__svg:y.min.relation_DateRangeElements" required="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:y.max.relation_DateRangeElements" required="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:cursor.current.height" required="yes"/>
+        
+        <xsl:param name="system_cache__dita__x3A__svg:x1.min.leadingTimeDate" required="yes" />
+        <xsl:param name="system_cache__dita__x3A__svg:x1.max.leadingTimeDate"  required="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:width__x3A__limit" required="yes"/>
+        
+        
+        
+        
+        
+        <xsl:comment>#openHiLoClose.229 matched/n<xsl:value-of select="name()"/></xsl:comment>
+        <!--<xsl:copy copy-namespaces="no">
+            <xsl:copy-of select="@*[contains(name(),'system_cache__dita__x3A__svg:data')]" copy-namespaces="no"/>
+            <xsl:apply-templates mode="#current">
+                <xsl:with-param name="system_cache__dita__x3A__svg:cursor" select="$system_cache__dita__x3A__svg:cursor"/>
+            </xsl:apply-templates>
+        </xsl:copy>-->
+        <svg:line   debug="svgu:openHiLoClose.74">
+             
+             <!--id="{$context}_highLow_{$pos}"-->
+            <!--x1="{$spacing * $pos}"-->
+            <!-- y1="{$loData[$pos]}" -->
+            <!--  x2="{$spacing * $pos}"   -->
+            <!-- y2="{current( )}" -->
+            <xsl:call-template name="system_cache__dita__x3A__svg:resolution.x">
+                <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.index" select="1"/>
+                <xsl:with-param name="system_cache__dita__x3A__svg:position" select="@system_cache__dita__x3A__svg:data.position"/>
+                <xsl:with-param name="system_cache__dita__x3A__svg:spacing" select="1"/>
+            </xsl:call-template>
+            <xsl:call-template name="system_cache__dita__x3A__svg:resolution.x">
+                <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.index" select="2"/>
+                <xsl:with-param name="system_cache__dita__x3A__svg:position" select="@system_cache__dita__x3A__svg:data.position"/>
+                <xsl:with-param name="system_cache__dita__x3A__svg:spacing" select="1"/>
+            </xsl:call-template>
+            <xsl:call-template name="system_cache__dita__x3A__svg:resolution.y">
+                <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.index" select="1"/>
+                <xsl:with-param name="system_cache__dita__x3A__svg:position.value" select="relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y1.value"/>
+            </xsl:call-template>
+            <xsl:call-template name="system_cache__dita__x3A__svg:resolution.y">
+                <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.index" select="2"/>
+                <xsl:with-param name="system_cache__dita__x3A__svg:position.value" select="relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y2.value"/>
+            </xsl:call-template>
+            <xsl:call-template name="system_cache__dita__x3A__svg:resolution.id">
+                <xsl:with-param name="system_cache__dita__x3A__svg:resolution.context" select="'HiLow266'"/>
+                <xsl:with-param name="system_cache__dita__x3A__svg:position" select="@system_cache__dita__x3A__svg:data.position"/>
+            </xsl:call-template>
+            <xsl:attribute name="style">
+                <xsl:call-template name="svgu:hiLoBarStyle">
+                    <xsl:with-param name="pos" select="@system_cache__dita__x3A__svg:data.position"/>
+                    <!--<xsl:with-param name="context" select="$context"/>-->
+                    <xsl:with-param name="color">red</xsl:with-param>
+                    <xsl:with-param name="stroke" select="5"/>
+                </xsl:call-template>
+            </xsl:attribute>      
+            <xsl:attribute name="transform.validate.y.1.{relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y1.value}">
+                <xsl:call-template name="system_cache__dita__x3A__svg:transform.translate.basic__x3A__height__x3A__limit__x3A__validate">
+                    <xsl:with-param name="yValue" select="relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y1.value"/>
+                    <xsl:with-param name="xValue" select="@system_cache__dita__x3A__svg:data.position"/>
+                    <xsl:with-param name="system_cache__dita__x3A__svg:offsetY.minY" select="$system_cache__dita__x3A__svg:y.min.relation_DateRangeElements" />
+                    <xsl:with-param name="system_cache__dita__x3A__svg:offsetY.maxY" select="$system_cache__dita__x3A__svg:y.max.relation_DateRangeElements" />
+                    <xsl:with-param name="system_cache__dita__x3A__svg:offsetY.height" select="$system_cache__dita__x3A__svg:cursor.current.height"/>
+                    
+                    <xsl:with-param name="system_cache__dita__x3A__svg:offsetX.minX" select="$system_cache__dita__x3A__svg:x1.min.leadingTimeDate" />
+                    <xsl:with-param name="system_cache__dita__x3A__svg:offsetX.maxX" select="$system_cache__dita__x3A__svg:x1.max.leadingTimeDate" />
+                    <xsl:with-param name="system_cache__dita__x3A__svg:offsetX.width" select="$system_cache__dita__x3A__svg:width__x3A__limit"/>
+                    
+                    <xsl:with-param name="system_cache__dita__x3A__svg:cursor.current.Y" select="$system_cache__dita__x3A__svg:cursor.current.Y"/>
+                </xsl:call-template>
+            </xsl:attribute>
+            
+            <xsl:comment>#debug 277
+                */n()/= <xsl:value-of select="*/name()"/>
+                @system_cache__dita__x3A__svg:data.id = <xsl:value-of select="@system_cache__dita__x3A__svg:data.id"/>
+                    relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y1.value = <xsl:value-of select="relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y1.value"/>
+            </xsl:comment>
+        </svg:line>
+        <svg:text>
+            
+            <xsl:call-template name="system_cache__dita__x3A__svg:elements.style">
+                <xsl:with-param name="system_cache__dita__x3A__svg:elements.style.vector-effect.non-scaling-stroke" select="true()"/>
+                <xsl:with-param name="system_cache__dita__x3A__svg:elements.style.text.anchor.middle" select="true()"/>
+                <xsl:with-param name="system_cache__dita__x3A__svg:elements.style.text.font-size" select="10"/>
+                <xsl:with-param name="system_cache__dita__x3A__svg:elements.style.text.baseline-shift">-150%</xsl:with-param>
+            </xsl:call-template>
+            <xsl:call-template name="system_cache__dita__x3A__svg:resolution.x">
+                <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.index" select="''"/>
+                <xsl:with-param name="system_cache__dita__x3A__svg:position" select="@system_cache__dita__x3A__svg:data.position"/>
+                <xsl:with-param name="system_cache__dita__x3A__svg:spacing" select="1"/>
+            </xsl:call-template>
+            <xsl:call-template name="system_cache__dita__x3A__svg:resolution.y">
+                <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.index" select="''"/>
+                <xsl:with-param name="system_cache__dita__x3A__svg:position.value" select="relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y1.value"/>
+            </xsl:call-template>
+            <!--<xsl:call-template name="system_cache__dita__x3A__svg:resolution.id">
+                <xsl:with-param name="system_cache__dita__x3A__svg:resolution.context" select="'HiLow266Test'"/>
+                <xsl:with-param name="system_cache__dita__x3A__svg:position" select="@system_cache__dita__x3A__svg:data.position"/>
+            </xsl:call-template>-->
+            <!-- Perhaps label format should be parameter -->
+            <!--<xsl:value-of select="relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y1.label"/>-->
+            <xsl:call-template name="system_cache__dita__x3A__svg:elements.data.label"/>
+                
+            
+        </svg:text>        
+        <!--<xsl:call-template name="system_cache__dita__x3A__svg:elements.text.create">
+            
+        </xsl:call-template>-->
+        
+        
+    </xsl:template>
+    
+    
+    <xsl:template mode="system_cache__dita__x3A__svg:openHiLoClose" match="system_cache__dita__x3A__svg:leadingTimeDate">
+        <xsl:comment>#280 Incorrect unmached element to specified n/=<xsl:value-of select="name()"/>;</xsl:comment>
+    </xsl:template>
+        
+    <xsl:template mode="system_cache__dita__x3A__svg:openHiLoClose" match="relation_DateRangeElements">
+        <xsl:param name="system_cache__dita__x3A__svg:cursor" required="yes"/>
+        <xsl:copy copy-namespaces="no">
+            <xsl:copy-of select="@*[contains(name(),'system_cache__dita__x3A__svg:data')]" copy-namespaces="no"/>
+            <xsl:apply-templates mode="#current">
+                <xsl:with-param name="system_cache__dita__x3A__svg:cursor" select="$system_cache__dita__x3A__svg:cursor"/>
+            </xsl:apply-templates>
+        </xsl:copy>
+    </xsl:template>
+    
+    
+    
     
     <xsl:template name="svgu:openHiLoClose">
-        <xsl:param name="openData" select="/.."/>            
+        <xsl:param name="openData" required="yes"/><!-- select="/.." -->            
         <xsl:param name="hiData"  required="yes"/><!-- select="/.." -->            
         <xsl:param name="loData" required="yes" /><!-- select="/.." -->            
         <xsl:param name="closeData" required="yes" /><!-- select="/.." -->            
@@ -71,7 +568,7 @@
                 <xsl:variable name="pos" select="position( )"/>
                 
                 <!--draw hi-lo line -->        
-                <svg:line x1="{$spacing * $pos}" 
+                <svg:line x1="{$spacing * $pos}"  debug="svgu:openHiLoClose.74"
                     y1="{$loData[$pos]}" 
                     x2="{$spacing * $pos}"  
                     y2="{current( )}" id="{$context}_highLow_{$pos}">
@@ -89,7 +586,9 @@
                         y1="{$openData[$pos]}" 
                         x2="{$spacing * $pos}"  
                         y2="{$openData[$pos]}"
-                        id="{$context}_open_{$pos}">
+                        id="{$context}_open_{$pos}"
+                        debug="svgu:openHiLoClose.93"
+                        >
                         <xsl:attribute name="style">
                             <xsl:call-template name="svgu:openCloseBarStyle">
                                 <xsl:with-param name="pos" select="$pos"/>
@@ -106,7 +605,9 @@
                         y1="{$closeData[$pos]}" 
                         x2="{$spacing * $pos +  $openCloseExtent}"  
                         y2="{$closeData[$pos]}"
-                        id="{$context}_close_{$pos}">
+                        id="{$context}_close_{$pos}"
+                        debug="svgu:openHiLoClose.113"
+                        >
                         <xsl:attribute name="style">
                             <xsl:call-template name="svgu:openCloseBarStyle">
                                 <xsl:with-param name="pos" select="$pos"/>
@@ -125,14 +626,16 @@
     <xsl:template name="svgu:hiLoBarStyle">
         <xsl:param name="pos"/>
         <xsl:param name="context"/>
-        <xsl:text>stroke: black; stroke-width: 1 </xsl:text>
+        <xsl:param name="color" select="'black'"/>
+        <xsl:param name="stroke" select="1"/>
+        <xsl:text>stroke: </xsl:text><xsl:value-of select="$color"/><xsl:text>; stroke-width: </xsl:text><xsl:value-of select="$stroke"/><xsl:text>; vector-effect:non-scaling-stroke ; </xsl:text>
     </xsl:template>
     
     <xsl:template name="svgu:openCloseBarStyle">
         <xsl:param name="pos"/>
         <xsl:param name="scale"/>
         <xsl:param name="context"/>
-        <xsl:text>stroke: black; stroke-width: </xsl:text>
+        <xsl:text>stroke: black; vector-effect:non-scaling-stroke ; stroke-width: </xsl:text>
         <xsl:value-of select="2 div $scale"/>
     </xsl:template>
     

+ 251 - 0
SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.plot.bar.test.svg

@@ -0,0 +1,251 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE svg:svg
+  PUBLIC "-//W3C//DTD SVG 1.0/EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
+<svg:svg xmlns:svg="http://www.w3.org/2000/svg"
+         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"
+         width="800"
+         height="800">
+   <svg:g xmlns:emath="http://www.exslt.org/math"
+          transform="translate(50,25)                  translate(150,175)                  rotate(-180)                  translate(-150,-175)">
+      <svg:rect x="0"
+                y="0"
+                height="350"
+                width="300"
+                style="stroke: black;                     stroke-width:0.5;stroke-opacity:0.5;fill:none"/>
+   </svg:g>
+   <svg:g xmlns:emath="http://www.exslt.org/math"
+          transform="translate(50,25)              translate(150,175)              rotate(-180)              translate(-150,-175)              scale(1,14)">
+      <svg:line x1="27.272727272727273"
+                y1="0"
+                x2="27.272727272727273"
+                y2="8.5"
+                id="_bar_1"
+                style="stroke-width: 5; stroke: red"/>
+      <svg:text x="27.272727272727273"
+                y="119"
+                transform="scale(1,0.07142857142857142)                          translate(0,10)                          translate(27.272727272727273,119)                          rotate(180)                          translate(-27.272727272727273,                         -119)"
+                id="_barLabel_1"
+                style="text-anchor: middle">8.5</svg:text>
+      <svg:line x1="54.54545454545455"
+                y1="0"
+                x2="54.54545454545455"
+                y2="22.0"
+                id="_bar_2"
+                style="stroke-width: 5; stroke: green"/>
+      <svg:text x="54.54545454545455"
+                y="308"
+                transform="scale(1,0.07142857142857142)                          translate(0,10)                          translate(54.54545454545455,308)                          rotate(180)                          translate(-54.54545454545455,                         -308)"
+                id="_barLabel_2"
+                style="text-anchor: middle">22.0</svg:text>
+      <svg:line x1="81.81818181818181"
+                y1="0"
+                x2="81.81818181818181"
+                y2="13.9"
+                id="_bar_3"
+                style="stroke-width: 5; stroke: red"/>
+      <svg:text x="81.81818181818181"
+                y="194.6"
+                transform="scale(1,0.07142857142857142)                          translate(0,10)                          translate(81.81818181818181,194.6)                          rotate(180)                          translate(-81.81818181818181,                         -194.6)"
+                id="_barLabel_3"
+                style="text-anchor: middle">13.9</svg:text>
+      <svg:line x1="109.0909090909091"
+                y1="0"
+                x2="109.0909090909091"
+                y2="2.7"
+                id="_bar_4"
+                style="stroke-width: 5; stroke: green"/>
+      <svg:text x="109.0909090909091"
+                y="37.800000000000004"
+                transform="scale(1,0.07142857142857142)                          translate(0,10)                          translate(109.0909090909091,37.800000000000004)                          rotate(180)                          translate(-109.0909090909091,                         -37.800000000000004)"
+                id="_barLabel_4"
+                style="text-anchor: middle">2.7</svg:text>
+      <svg:line x1="136.36363636363637"
+                y1="0"
+                x2="136.36363636363637"
+                y2="13.0"
+                id="_bar_5"
+                style="stroke-width: 5; stroke: red"/>
+      <svg:text x="136.36363636363637"
+                y="182"
+                transform="scale(1,0.07142857142857142)                          translate(0,10)                          translate(136.36363636363637,182)                          rotate(180)                          translate(-136.36363636363637,                         -182)"
+                id="_barLabel_5"
+                style="text-anchor: middle">13.0</svg:text>
+      <svg:line x1="163.63636363636363"
+                y1="0"
+                x2="163.63636363636363"
+                y2="5.0"
+                id="_bar_6"
+                style="stroke-width: 5; stroke: green"/>
+      <svg:text x="163.63636363636363"
+                y="70"
+                transform="scale(1,0.07142857142857142)                          translate(0,10)                          translate(163.63636363636363,70)                          rotate(180)                          translate(-163.63636363636363,                         -70)"
+                id="_barLabel_6"
+                style="text-anchor: middle">5.0</svg:text>
+      <svg:line x1="190.9090909090909"
+                y1="0"
+                x2="190.9090909090909"
+                y2="4.0"
+                id="_bar_7"
+                style="stroke-width: 5; stroke: red"/>
+      <svg:text x="190.9090909090909"
+                y="56"
+                transform="scale(1,0.07142857142857142)                          translate(0,10)                          translate(190.9090909090909,56)                          rotate(180)                          translate(-190.9090909090909,                         -56)"
+                id="_barLabel_7"
+                style="text-anchor: middle">4.0</svg:text>
+      <svg:line x1="218.1818181818182"
+                y1="0"
+                x2="218.1818181818182"
+                y2="3.0"
+                id="_bar_8"
+                style="stroke-width: 5; stroke: green"/>
+      <svg:text x="218.1818181818182"
+                y="42"
+                transform="scale(1,0.07142857142857142)                          translate(0,10)                          translate(218.1818181818182,42)                          rotate(180)                          translate(-218.1818181818182,                         -42)"
+                id="_barLabel_8"
+                style="text-anchor: middle">3.0</svg:text>
+      <svg:line x1="245.45454545454547"
+                y1="0"
+                x2="245.45454545454547"
+                y2="2.0"
+                id="_bar_9"
+                style="stroke-width: 5; stroke: red"/>
+      <svg:text x="245.45454545454547"
+                y="28"
+                transform="scale(1,0.07142857142857142)                          translate(0,10)                          translate(245.45454545454547,28)                          rotate(180)                          translate(-245.45454545454547,                         -28)"
+                id="_barLabel_9"
+                style="text-anchor: middle">2.0</svg:text>
+      <svg:line x1="272.72727272727275"
+                y1="0"
+                x2="272.72727272727275"
+                y2="1.0"
+                id="_bar_10"
+                style="stroke-width: 5; stroke: green"/>
+      <svg:text x="272.72727272727275"
+                y="14"
+                transform="scale(1,0.07142857142857142)                          translate(0,10)                          translate(272.72727272727275,14)                          rotate(180)                          translate(-272.72727272727275,                         -14)"
+                id="_barLabel_10"
+                style="text-anchor: middle">1.0</svg:text>
+   </svg:g>
+   <svg:g xmlns:emath="http://www.exslt.org/math"
+          transform="translate(150,125)                  translate(250,275)                  rotate(-180)                  translate(-250,-275)">
+      <svg:rect x="0"
+                y="0"
+                height="550"
+                width="500"
+                style="stroke: black;                     stroke-width:0.5;stroke-opacity:0.5;fill:none"/>
+   </svg:g>
+   <svg:g xmlns:emath="http://www.exslt.org/math"
+          transform="translate(150,125)              translate(250,275)              rotate(-180)              translate(-250,-275)              scale(1,25)">
+      <svg:line x1="45.45454545454545"
+                y1="0"
+                x2="45.45454545454545"
+                y2="8.5"
+                id="_bar_1"
+                style="stroke-width: 5; stroke: red"/>
+      <svg:text x="45.45454545454545"
+                y="212.5"
+                transform="scale(1,0.04)                          translate(0,10)                          translate(45.45454545454545,212.5)                          rotate(180)                          translate(-45.45454545454545,                         -212.5)"
+                id="_barLabel_1"
+                style="text-anchor: middle">8.5</svg:text>
+      <svg:line x1="90.9090909090909"
+                y1="0"
+                x2="90.9090909090909"
+                y2="22.0"
+                id="_bar_2"
+                style="stroke-width: 5; stroke: green"/>
+      <svg:text x="90.9090909090909"
+                y="550"
+                transform="scale(1,0.04)                          translate(0,10)                          translate(90.9090909090909,550)                          rotate(180)                          translate(-90.9090909090909,                         -550)"
+                id="_barLabel_2"
+                style="text-anchor: middle">22.0</svg:text>
+      <svg:line x1="136.36363636363637"
+                y1="0"
+                x2="136.36363636363637"
+                y2="13.9"
+                id="_bar_3"
+                style="stroke-width: 5; stroke: red"/>
+      <svg:text x="136.36363636363637"
+                y="347.5"
+                transform="scale(1,0.04)                          translate(0,10)                          translate(136.36363636363637,347.5)                          rotate(180)                          translate(-136.36363636363637,                         -347.5)"
+                id="_barLabel_3"
+                style="text-anchor: middle">13.9</svg:text>
+      <svg:line x1="181.8181818181818"
+                y1="0"
+                x2="181.8181818181818"
+                y2="2.7"
+                id="_bar_4"
+                style="stroke-width: 5; stroke: green"/>
+      <svg:text x="181.8181818181818"
+                y="67.5"
+                transform="scale(1,0.04)                          translate(0,10)                          translate(181.8181818181818,67.5)                          rotate(180)                          translate(-181.8181818181818,                         -67.5)"
+                id="_barLabel_4"
+                style="text-anchor: middle">2.7</svg:text>
+      <svg:line x1="227.27272727272725"
+                y1="0"
+                x2="227.27272727272725"
+                y2="13.0"
+                id="_bar_5"
+                style="stroke-width: 5; stroke: red"/>
+      <svg:text x="227.27272727272725"
+                y="325"
+                transform="scale(1,0.04)                          translate(0,10)                          translate(227.27272727272725,325)                          rotate(180)                          translate(-227.27272727272725,                         -325)"
+                id="_barLabel_5"
+                style="text-anchor: middle">13.0</svg:text>
+      <svg:line x1="272.72727272727275"
+                y1="0"
+                x2="272.72727272727275"
+                y2="5.0"
+                id="_bar_6"
+                style="stroke-width: 5; stroke: green"/>
+      <svg:text x="272.72727272727275"
+                y="125"
+                transform="scale(1,0.04)                          translate(0,10)                          translate(272.72727272727275,125)                          rotate(180)                          translate(-272.72727272727275,                         -125)"
+                id="_barLabel_6"
+                style="text-anchor: middle">5.0</svg:text>
+      <svg:line x1="318.1818181818182"
+                y1="0"
+                x2="318.1818181818182"
+                y2="4.0"
+                id="_bar_7"
+                style="stroke-width: 5; stroke: red"/>
+      <svg:text x="318.1818181818182"
+                y="100"
+                transform="scale(1,0.04)                          translate(0,10)                          translate(318.1818181818182,100)                          rotate(180)                          translate(-318.1818181818182,                         -100)"
+                id="_barLabel_7"
+                style="text-anchor: middle">4.0</svg:text>
+      <svg:line x1="363.6363636363636"
+                y1="0"
+                x2="363.6363636363636"
+                y2="3.0"
+                id="_bar_8"
+                style="stroke-width: 5; stroke: green"/>
+      <svg:text x="363.6363636363636"
+                y="75"
+                transform="scale(1,0.04)                          translate(0,10)                          translate(363.6363636363636,75)                          rotate(180)                          translate(-363.6363636363636,                         -75)"
+                id="_barLabel_8"
+                style="text-anchor: middle">3.0</svg:text>
+      <svg:line x1="409.09090909090907"
+                y1="0"
+                x2="409.09090909090907"
+                y2="2.0"
+                id="_bar_9"
+                style="stroke-width: 5; stroke: red"/>
+      <svg:text x="409.09090909090907"
+                y="50"
+                transform="scale(1,0.04)                          translate(0,10)                          translate(409.09090909090907,50)                          rotate(180)                          translate(-409.09090909090907,                         -50)"
+                id="_barLabel_9"
+                style="text-anchor: middle">2.0</svg:text>
+      <svg:line x1="454.5454545454545"
+                y1="0"
+                x2="454.5454545454545"
+                y2="1.0"
+                id="_bar_10"
+                style="stroke-width: 5; stroke: green"/>
+      <svg:text x="454.5454545454545"
+                y="25"
+                transform="scale(1,0.04)                          translate(0,10)                          translate(454.5454545454545,25)                          rotate(180)                          translate(-454.5454545454545,                         -25)"
+                id="_barLabel_10"
+                style="text-anchor: middle">1.0</svg:text>
+   </svg:g>
+</svg:svg>

+ 35 - 7
SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.plot.bar.xsl

@@ -45,16 +45,20 @@
             </xsl:call-template>
         </xsl:param>
         
-        <xsl:param name="minY" select="0"/>
+        <xsl:param name="minY" >
+            <xsl:call-template name="system_cache__dita__x3A__svg:emath.min">
+                <xsl:with-param name="nodes" select="$data"/>
+            </xsl:call-template>
+        </xsl:param>
             
         
         <xsl:param name="minX" select="0"/>
-        <xsl:param name="maxX" select="count($data)"/>
-        
+        <xsl:param name="maxX" select="(number($width) div (count($data) + 1)) * count($data)"/>
+            
         <!--<xsl:variable name="Yrange" select="$maxY - $minY"/>-->
         
-        <!--<xsl:variable name="numBars" select="count($data)"/>-->
-        <xsl:variable name="spacing" select="number($width) div ($maxX + 1)"/>
+        <xsl:variable name="numBars" select="count($data)"/>
+        <xsl:variable name="spacing" select="number($width) div (count($data) + 1)"/><!-- select="$width div ($numBars + 1)" -->
         
         
         
@@ -85,6 +89,15 @@
             </xsl:choose>
         </xsl:variable> 
         
+        
+        <xsl:comment>svgu:bars.89
+            $minX = <xsl:value-of select="$minX"/> ; $maxX = <xsl:value-of select="$maxX"/> $width = <xsl:value-of select="$width"/>
+                $spacing = <xsl:value-of select="$spacing"/> $spacing*$numBars==<xsl:value-of select="$spacing * $numBars"/>
+                $numBars = <xsl:value-of select="$numBars"/>
+            $minY = <xsl:value-of select="$minY"/> ; $maxxY= <xsl:value-of select="$maxY"/> $height =  <xsl:value-of select="$system_cache__dita__x3A__svg:cursor.current.height"/> 
+                -- cursor.current.Y  = <xsl:value-of select="$system_cache__dita__x3A__svg:cursor.current.Y"/>
+        </xsl:comment>
+        
         <svg:g 
             debug="svgu:bars.63  $maxY={$maxY} $width={$width} cursor.current.height={$system_cache__dita__x3A__svg:cursor.current.height} "
             >
@@ -97,7 +110,7 @@
                 <xsl:with-param name="system_cache__dita__x3A__svg:offsetY.maxY" select="$maxY"/>
                 <xsl:with-param name="system_cache__dita__x3A__svg:offsetY.height" select="$system_cache__dita__x3A__svg:cursor.current.height"/>
                 
-                <xsl:with-param name="system_cache__dita__x3A__svg:cursor.current.Y" select="$system_cache__dita__x3A__svg:cursor.current.Y"/>
+                <xsl:with-param name="system_cache__dita__x3A__svg:cursor.current.Y" select="$system_cache__dita__x3A__svg:cursor.current.Y"/><!-- $system_cache__dita__x3A__svg:cursor.current.Y -->
             </xsl:call-template>
             <!-- transform="translate({$offsetX},{$offsetY}) 
             translate({number($width) div 2},{number($system_cache__dita__x3A__svg:cursor.current.height) div 2}) 
@@ -123,7 +136,22 @@
                             <xsl:with-param name="context" select="$context"/>
                             <xsl:with-param name="system_cache__dita__x3A__svg:colors" select="$system_cache__dita__x3A__svg:colors" tunnel="yes"/>
                         </xsl:call-template>
-                    </xsl:attribute>         
+                    </xsl:attribute>    
+                    <xsl:attribute name="transform.validate.y.{current( )}">
+                        <xsl:call-template name="system_cache__dita__x3A__svg:transform.translate.basic__x3A__height__x3A__limit__x3A__validate">
+                            <xsl:with-param name="yValue" select="current( )"/>
+                            <xsl:with-param name="xValue" select="$spacing * $pos"/>
+                            <xsl:with-param name="system_cache__dita__x3A__svg:offsetX.minX" select="$minX"/>
+                            <xsl:with-param name="system_cache__dita__x3A__svg:offsetX.maxX" select="$maxX"/>
+                            <xsl:with-param name="system_cache__dita__x3A__svg:offsetX.width" select="$width"/>
+                            
+                            <xsl:with-param name="system_cache__dita__x3A__svg:offsetY.minY" select="$minY"/>
+                            <xsl:with-param name="system_cache__dita__x3A__svg:offsetY.maxY" select="$maxY"/>
+                            <xsl:with-param name="system_cache__dita__x3A__svg:offsetY.height" select="$system_cache__dita__x3A__svg:cursor.current.height"/>
+                            
+                            <xsl:with-param name="system_cache__dita__x3A__svg:cursor.current.Y" select="$system_cache__dita__x3A__svg:cursor.current.Y"/><!-- $system_cache__dita__x3A__svg:cursor.current.Y -->
+                        </xsl:call-template>
+                    </xsl:attribute>
                 </svg:line>  
                 
                 <!-- If user requests bar labels we position a text value -->

+ 1934 - 0
SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.plot.complex.test.svg

@@ -0,0 +1,1934 @@
+
+<!DOCTYPE svg:svg
+  PUBLIC "-//W3C//DTD SVG 1.0/EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
+<svg:svg 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"
+         width="600"
+         height="655"><!--#93 
+                $system_cache__dita__x3A__svg:offsetY.default = 30
+                system_cache__dita__x3A__svg:spacing = 126-->
+   <svg:text x="300" y="37" style=" text-anchor:middle; font-size:27;">
+                Zintegrowany widok powiązań osób i transakcji</svg:text>
+   <svg:text x="300" y="55" style="text-anchor:middle; font-size:18">od do</svg:text>
+   <!--svgu:openHiLoClose 76-->
+   <system_cache__dita__x3A__svg:cursor>
+      <system_cache__dita__x3A__svg:offsetY lastY="0"
+                                            increment="10"
+                                            nextY="10"
+                                            system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate="0"
+                                            system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate="600"
+                                            system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate="0"
+                                            system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate="655"
+                                            system_cache__dita__x3A__svg:height__x3A__limit="655"
+                                            system_cache__dita__x3A__svg:width__x3A__limit="600"
+                                            system_cache__dita__x3A__svg:data.y2.bounds.min.coordinate="10"
+                                            debug_migrated_todo="$system_cache__dita__x3A__svg:offsetY wywalone - po co tu string?#295"/>
+      <system_cache__dita__x3A__svg:font-size nextY.height=""
+                                              lastY="10"
+                                              increment="27"
+                                              nextY="37"
+                                              comment=" 27"
+                                              system_cache__dita__x3A__svg:data.y2.bounds.max.length=""
+                                              system_cache__dita__x3A__svg:height__x3A__limit__x3A__validate="true"
+                                              system_cache__dita__x3A__svg:data.y2.bounds.min.coordinate="37"/>
+      <system_cache__dita__x3A__svg:font-size nextY.height=""
+                                              lastY="37"
+                                              increment="18"
+                                              nextY="55"
+                                              comment=" 18"
+                                              system_cache__dita__x3A__svg:data.y2.bounds.max.length=""
+                                              system_cache__dita__x3A__svg:height__x3A__limit__x3A__validate="true"
+                                              system_cache__dita__x3A__svg:data.y2.bounds.min.coordinate="55"/>
+   </system_cache__dita__x3A__svg:cursor>
+   <!--#174 applying for powiazania rows lower-->
+   <system_cache__dita__x3A__svg:data.current-group system_cache__dita__x3A__svg:data.name="BI_audit_ENERGA_PRACOWNICY"
+                                                    system_cache__dita__x3A__svg:data.id="BI_audit_ENERGA_PRACOWNICY.65424"
+                                                    system_cache__dita__x3A__svg:data.position="1"
+                                                    system_cache__dita__x3A__svg:data.x1.id="BI_audit_ENERGA_PRACOWNICY.65424">
+      <system_cache__dita__x3A__svg:leadingTimeDate system_cache__dita__x3A__svg:data.name="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object"
+                                                    system_cache__dita__x3A__svg:data.id="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object.29827477"
+                                                    system_cache__dita__x3A__svg:data.position="1"
+                                                    system_cache__dita__x3A__svg:data.x1.id="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object.29827477"><!--#27 bypassed n/BI_audit_KRS--><!--#27 bypassed n/relation_from-->
+         <relation_DateRangeElements xmlns:ogr="http://ogr.maptools.org/"
+                                     xmlns:default_db="https://biuro.biall-net.pl/wfs/default_db"
+                                     xmlns:p5="https://biuro.biall-net.pl/wfs"
+                                     xmlns:get_wfs="http://biuro.biall-net.pl/WPS_Functions/get_wfs/get_wfs.xsd"
+                                     xmlns:default_db__x3A__BI_audit_VALIDATE="https://biuro.biall-net.pl/wfs/default_db/BI_audit_VALIDATE"
+                                     xmlns:default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA="https://biuro.biall-net.pl/wfs/default_db/ENERGA_RUM_KONTRAHENCI_POWIAZANIA"
+                                     system_cache__dita__x3A__svg:data.y1.name="leadingTimeDate-From"
+                                     system_cache__dita__x3A__svg:data.y1.value="733227"
+                                     system_cache__dita__x3A__svg:data.y1.label="2008-10-07"
+                                     system_cache__dita__x3A__svg:data.y2.name="leadingTimeDate-To"
+                                     system_cache__dita__x3A__svg:data.y2.value="735327"
+                                     system_cache__dita__x3A__svg:data.y2.label="2014-07-07"/>
+         <!--#44 lower context apply template/upper select for-each-group-context-->
+      </system_cache__dita__x3A__svg:leadingTimeDate>
+      <system_cache__dita__x3A__svg:leadingTimeDate system_cache__dita__x3A__svg:data.name="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object"
+                                                    system_cache__dita__x3A__svg:data.id="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object.29827478"
+                                                    system_cache__dita__x3A__svg:data.position="2"
+                                                    system_cache__dita__x3A__svg:data.x1.id="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object.29827478"><!--#27 bypassed n/BI_audit_ENERGA_RUM_KONTRAHENCI--><!--#27 bypassed n/relation_from-->
+         <relation_DateRangeElements xmlns:ogr="http://ogr.maptools.org/"
+                                     xmlns:default_db="https://biuro.biall-net.pl/wfs/default_db"
+                                     xmlns:p5="https://biuro.biall-net.pl/wfs"
+                                     xmlns:get_wfs="http://biuro.biall-net.pl/WPS_Functions/get_wfs/get_wfs.xsd"
+                                     xmlns:default_db__x3A__BI_audit_VALIDATE="https://biuro.biall-net.pl/wfs/default_db/BI_audit_VALIDATE"
+                                     xmlns:default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA="https://biuro.biall-net.pl/wfs/default_db/ENERGA_RUM_KONTRAHENCI_POWIAZANIA"
+                                     system_cache__dita__x3A__svg:data.y1.name="leadingTimeDate-From"
+                                     system_cache__dita__x3A__svg:data.y1.value="732957"
+                                     system_cache__dita__x3A__svg:data.y1.label="2008-01-07"
+                                     system_cache__dita__x3A__svg:data.y2.name="leadingTimeDate-To"
+                                     system_cache__dita__x3A__svg:data.y2.value="735327"
+                                     system_cache__dita__x3A__svg:data.y2.label="2014-07-07"/>
+         <relation_DateRangeElements xmlns:ogr="http://ogr.maptools.org/"
+                                     xmlns:default_db="https://biuro.biall-net.pl/wfs/default_db"
+                                     xmlns:p5="https://biuro.biall-net.pl/wfs"
+                                     xmlns:get_wfs="http://biuro.biall-net.pl/WPS_Functions/get_wfs/get_wfs.xsd"
+                                     xmlns:default_db__x3A__BI_audit_VALIDATE="https://biuro.biall-net.pl/wfs/default_db/BI_audit_VALIDATE"
+                                     xmlns:default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA="https://biuro.biall-net.pl/wfs/default_db/ENERGA_RUM_KONTRAHENCI_POWIAZANIA"
+                                     system_cache__dita__x3A__svg:data.y1.name="leadingTimeDate-From"
+                                     system_cache__dita__x3A__svg:data.y1.value="733227"
+                                     system_cache__dita__x3A__svg:data.y1.label="2008-10-07"
+                                     system_cache__dita__x3A__svg:data.y2.name="leadingTimeDate-To"
+                                     system_cache__dita__x3A__svg:data.y2.value="735327"
+                                     system_cache__dita__x3A__svg:data.y2.label="2014-07-07"/>
+         <!--#44 lower context apply template/upper select for-each-group-context-->
+      </system_cache__dita__x3A__svg:leadingTimeDate>
+      <system_cache__dita__x3A__svg:leadingTimeDate system_cache__dita__x3A__svg:data.name="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object"
+                                                    system_cache__dita__x3A__svg:data.id="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object.29827456"
+                                                    system_cache__dita__x3A__svg:data.position="3"
+                                                    system_cache__dita__x3A__svg:data.x1.id="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object.29827456"><!--#27 bypassed n/BI_audit_KRS_person--><!--#27 bypassed n/relation_from-->
+         <relation_DateRangeElements xmlns:ogr="http://ogr.maptools.org/"
+                                     xmlns:default_db="https://biuro.biall-net.pl/wfs/default_db"
+                                     xmlns:p5="https://biuro.biall-net.pl/wfs"
+                                     xmlns:get_wfs="http://biuro.biall-net.pl/WPS_Functions/get_wfs/get_wfs.xsd"
+                                     xmlns:default_db__x3A__BI_audit_VALIDATE="https://biuro.biall-net.pl/wfs/default_db/BI_audit_VALIDATE"
+                                     xmlns:default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA="https://biuro.biall-net.pl/wfs/default_db/ENERGA_RUM_KONTRAHENCI_POWIAZANIA"
+                                     system_cache__dita__x3A__svg:data.y1.name="leadingTimeDate-From"
+                                     system_cache__dita__x3A__svg:data.y1.value="732132"
+                                     system_cache__dita__x3A__svg:data.y1.label="2005-10-07"
+                                     system_cache__dita__x3A__svg:data.y2.name="leadingTimeDate-To"
+                                     system_cache__dita__x3A__svg:data.y2.value="735327"
+                                     system_cache__dita__x3A__svg:data.y2.label="2014-07-07"/>
+         <!--#44 lower context apply template/upper select for-each-group-context-->
+      </system_cache__dita__x3A__svg:leadingTimeDate>
+      <system_cache__dita__x3A__svg:leadingTimeDate system_cache__dita__x3A__svg:data.name="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object"
+                                                    system_cache__dita__x3A__svg:data.id="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object.29827457"
+                                                    system_cache__dita__x3A__svg:data.position="4"
+                                                    system_cache__dita__x3A__svg:data.x1.id="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object.29827457"><!--#27 bypassed n/BI_audit_KRS--><!--#27 bypassed n/relation_from-->
+         <relation_DateRangeElements xmlns:ogr="http://ogr.maptools.org/"
+                                     xmlns:default_db="https://biuro.biall-net.pl/wfs/default_db"
+                                     xmlns:p5="https://biuro.biall-net.pl/wfs"
+                                     xmlns:get_wfs="http://biuro.biall-net.pl/WPS_Functions/get_wfs/get_wfs.xsd"
+                                     xmlns:default_db__x3A__BI_audit_VALIDATE="https://biuro.biall-net.pl/wfs/default_db/BI_audit_VALIDATE"
+                                     xmlns:default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA="https://biuro.biall-net.pl/wfs/default_db/ENERGA_RUM_KONTRAHENCI_POWIAZANIA"
+                                     system_cache__dita__x3A__svg:data.y1.name="leadingTimeDate-From"
+                                     system_cache__dita__x3A__svg:data.y1.value="736026"
+                                     system_cache__dita__x3A__svg:data.y1.label="2016-06-06"
+                                     system_cache__dita__x3A__svg:data.y2.name="leadingTimeDate-To"
+                                     system_cache__dita__x3A__svg:data.y2.value="736522"
+                                     system_cache__dita__x3A__svg:data.y2.label="2017-10-17"/>
+         <!--#44 lower context apply template/upper select for-each-group-context-->
+      </system_cache__dita__x3A__svg:leadingTimeDate>
+      <system_cache__dita__x3A__svg:leadingTimeDate system_cache__dita__x3A__svg:data.name="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object"
+                                                    system_cache__dita__x3A__svg:data.id="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object.29827461"
+                                                    system_cache__dita__x3A__svg:data.position="5"
+                                                    system_cache__dita__x3A__svg:data.x1.id="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object.29827461"><!--#27 bypassed n/BI_audit_KRS--><!--#27 bypassed n/relation_from-->
+         <relation_DateRangeElements xmlns:ogr="http://ogr.maptools.org/"
+                                     xmlns:default_db="https://biuro.biall-net.pl/wfs/default_db"
+                                     xmlns:p5="https://biuro.biall-net.pl/wfs"
+                                     xmlns:get_wfs="http://biuro.biall-net.pl/WPS_Functions/get_wfs/get_wfs.xsd"
+                                     xmlns:default_db__x3A__BI_audit_VALIDATE="https://biuro.biall-net.pl/wfs/default_db/BI_audit_VALIDATE"
+                                     xmlns:default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA="https://biuro.biall-net.pl/wfs/default_db/ENERGA_RUM_KONTRAHENCI_POWIAZANIA"
+                                     system_cache__dita__x3A__svg:data.y1.name="leadingTimeDate-From"
+                                     system_cache__dita__x3A__svg:data.y1.value="736026"
+                                     system_cache__dita__x3A__svg:data.y1.label="2016-06-06"
+                                     system_cache__dita__x3A__svg:data.y2.name="leadingTimeDate-To"
+                                     system_cache__dita__x3A__svg:data.y2.value="736522"
+                                     system_cache__dita__x3A__svg:data.y2.label="2017-10-17"/>
+         <!--#44 lower context apply template/upper select for-each-group-context-->
+      </system_cache__dita__x3A__svg:leadingTimeDate>
+      <system_cache__dita__x3A__svg:leadingTimeDate system_cache__dita__x3A__svg:data.name="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object"
+                                                    system_cache__dita__x3A__svg:data.id="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object.29827465"
+                                                    system_cache__dita__x3A__svg:data.position="6"
+                                                    system_cache__dita__x3A__svg:data.x1.id="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object.29827465"><!--#27 bypassed n/BI_audit_KRS--><!--#27 bypassed n/relation_from-->
+         <relation_DateRangeElements xmlns:ogr="http://ogr.maptools.org/"
+                                     xmlns:default_db="https://biuro.biall-net.pl/wfs/default_db"
+                                     xmlns:p5="https://biuro.biall-net.pl/wfs"
+                                     xmlns:get_wfs="http://biuro.biall-net.pl/WPS_Functions/get_wfs/get_wfs.xsd"
+                                     xmlns:default_db__x3A__BI_audit_VALIDATE="https://biuro.biall-net.pl/wfs/default_db/BI_audit_VALIDATE"
+                                     xmlns:default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA="https://biuro.biall-net.pl/wfs/default_db/ENERGA_RUM_KONTRAHENCI_POWIAZANIA"
+                                     system_cache__dita__x3A__svg:data.y1.name="leadingTimeDate-From"
+                                     system_cache__dita__x3A__svg:data.y1.value="736026"
+                                     system_cache__dita__x3A__svg:data.y1.label="2016-06-06"
+                                     system_cache__dita__x3A__svg:data.y2.name="leadingTimeDate-To"
+                                     system_cache__dita__x3A__svg:data.y2.value="736522"
+                                     system_cache__dita__x3A__svg:data.y2.label="2017-10-17"/>
+         <!--#44 lower context apply template/upper select for-each-group-context-->
+      </system_cache__dita__x3A__svg:leadingTimeDate>
+      <system_cache__dita__x3A__svg:leadingTimeDate system_cache__dita__x3A__svg:data.name="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object"
+                                                    system_cache__dita__x3A__svg:data.id="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object.29827469"
+                                                    system_cache__dita__x3A__svg:data.position="7"
+                                                    system_cache__dita__x3A__svg:data.x1.id="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object.29827469"><!--#27 bypassed n/BI_audit_KRS--><!--#27 bypassed n/relation_from-->
+         <relation_DateRangeElements xmlns:ogr="http://ogr.maptools.org/"
+                                     xmlns:default_db="https://biuro.biall-net.pl/wfs/default_db"
+                                     xmlns:p5="https://biuro.biall-net.pl/wfs"
+                                     xmlns:get_wfs="http://biuro.biall-net.pl/WPS_Functions/get_wfs/get_wfs.xsd"
+                                     xmlns:default_db__x3A__BI_audit_VALIDATE="https://biuro.biall-net.pl/wfs/default_db/BI_audit_VALIDATE"
+                                     xmlns:default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA="https://biuro.biall-net.pl/wfs/default_db/ENERGA_RUM_KONTRAHENCI_POWIAZANIA"
+                                     system_cache__dita__x3A__svg:data.y1.name="leadingTimeDate-From"
+                                     system_cache__dita__x3A__svg:data.y1.value="736026"
+                                     system_cache__dita__x3A__svg:data.y1.label="2016-06-06"
+                                     system_cache__dita__x3A__svg:data.y2.name="leadingTimeDate-To"
+                                     system_cache__dita__x3A__svg:data.y2.value="736522"
+                                     system_cache__dita__x3A__svg:data.y2.label="2017-10-17"/>
+         <!--#44 lower context apply template/upper select for-each-group-context-->
+      </system_cache__dita__x3A__svg:leadingTimeDate>
+      <system_cache__dita__x3A__svg:leadingTimeDate system_cache__dita__x3A__svg:data.name="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object"
+                                                    system_cache__dita__x3A__svg:data.id="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object.29827473"
+                                                    system_cache__dita__x3A__svg:data.position="8"
+                                                    system_cache__dita__x3A__svg:data.x1.id="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object.29827473"><!--#27 bypassed n/BI_audit_KRS--><!--#27 bypassed n/relation_from-->
+         <relation_DateRangeElements xmlns:ogr="http://ogr.maptools.org/"
+                                     xmlns:default_db="https://biuro.biall-net.pl/wfs/default_db"
+                                     xmlns:p5="https://biuro.biall-net.pl/wfs"
+                                     xmlns:get_wfs="http://biuro.biall-net.pl/WPS_Functions/get_wfs/get_wfs.xsd"
+                                     xmlns:default_db__x3A__BI_audit_VALIDATE="https://biuro.biall-net.pl/wfs/default_db/BI_audit_VALIDATE"
+                                     xmlns:default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA="https://biuro.biall-net.pl/wfs/default_db/ENERGA_RUM_KONTRAHENCI_POWIAZANIA"
+                                     system_cache__dita__x3A__svg:data.y1.name="leadingTimeDate-From"
+                                     system_cache__dita__x3A__svg:data.y1.value="736026"
+                                     system_cache__dita__x3A__svg:data.y1.label="2016-06-06"
+                                     system_cache__dita__x3A__svg:data.y2.name="leadingTimeDate-To"
+                                     system_cache__dita__x3A__svg:data.y2.value="736522"
+                                     system_cache__dita__x3A__svg:data.y2.label="2017-10-17"/>
+         <!--#44 lower context apply template/upper select for-each-group-context-->
+      </system_cache__dita__x3A__svg:leadingTimeDate>
+      <system_cache__dita__x3A__svg:leadingTimeDate system_cache__dita__x3A__svg:data.name="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object"
+                                                    system_cache__dita__x3A__svg:data.id="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object.29827452"
+                                                    system_cache__dita__x3A__svg:data.position="9"
+                                                    system_cache__dita__x3A__svg:data.x1.id="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object.29827452"><!--#27 bypassed n/BI_audit_KRS--><!--#27 bypassed n/relation_from-->
+         <relation_DateRangeElements xmlns:ogr="http://ogr.maptools.org/"
+                                     xmlns:default_db="https://biuro.biall-net.pl/wfs/default_db"
+                                     xmlns:p5="https://biuro.biall-net.pl/wfs"
+                                     xmlns:get_wfs="http://biuro.biall-net.pl/WPS_Functions/get_wfs/get_wfs.xsd"
+                                     xmlns:default_db__x3A__BI_audit_VALIDATE="https://biuro.biall-net.pl/wfs/default_db/BI_audit_VALIDATE"
+                                     xmlns:default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA="https://biuro.biall-net.pl/wfs/default_db/ENERGA_RUM_KONTRAHENCI_POWIAZANIA"
+                                     system_cache__dita__x3A__svg:data.y1.name="leadingTimeDate-From"
+                                     system_cache__dita__x3A__svg:data.y1.value="733014"
+                                     system_cache__dita__x3A__svg:data.y1.label="2008-03-04"
+                                     system_cache__dita__x3A__svg:data.y2.name="leadingTimeDate-To"
+                                     system_cache__dita__x3A__svg:data.y2.value="733212"
+                                     system_cache__dita__x3A__svg:data.y2.label="2008-09-22"/>
+         <!--#44 lower context apply template/upper select for-each-group-context-->
+      </system_cache__dita__x3A__svg:leadingTimeDate>
+      <system_cache__dita__x3A__svg:leadingTimeDate system_cache__dita__x3A__svg:data.name="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object"
+                                                    system_cache__dita__x3A__svg:data.id="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object.29827453"
+                                                    system_cache__dita__x3A__svg:data.position="10"
+                                                    system_cache__dita__x3A__svg:data.x1.id="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object.29827453"><!--#27 bypassed n/BI_audit_KRS_company--><!--#27 bypassed n/relation_from-->
+         <relation_DateRangeElements xmlns:ogr="http://ogr.maptools.org/"
+                                     xmlns:default_db="https://biuro.biall-net.pl/wfs/default_db"
+                                     xmlns:p5="https://biuro.biall-net.pl/wfs"
+                                     xmlns:get_wfs="http://biuro.biall-net.pl/WPS_Functions/get_wfs/get_wfs.xsd"
+                                     xmlns:default_db__x3A__BI_audit_VALIDATE="https://biuro.biall-net.pl/wfs/default_db/BI_audit_VALIDATE"
+                                     xmlns:default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA="https://biuro.biall-net.pl/wfs/default_db/ENERGA_RUM_KONTRAHENCI_POWIAZANIA"
+                                     system_cache__dita__x3A__svg:data.y1.name="leadingTimeDate-From"
+                                     system_cache__dita__x3A__svg:data.y1.value="733707"
+                                     system_cache__dita__x3A__svg:data.y1.label="2010-01-27"
+                                     system_cache__dita__x3A__svg:data.y2.name="leadingTimeDate-To"
+                                     system_cache__dita__x3A__svg:data.y2.value="733707"
+                                     system_cache__dita__x3A__svg:data.y2.label="2010-01-27"/>
+         <!--#44 lower context apply template/upper select for-each-group-context-->
+      </system_cache__dita__x3A__svg:leadingTimeDate>
+      <!--#44 lower context apply template/upper select for-each-group-context-->
+   </system_cache__dita__x3A__svg:data.current-group>
+   <!--#1186 lower applying powiazania for hi low ( + $system_cache__dita__x3A__svg:height == 655)-->
+   <!--#15 system_cache__dita__x3A__svg:openHiLoClose matched /n system_cache__dita__x3A__svg:data.current-group;-->
+   <system_cache__dita__x3A__svg:data.current-group system_cache__dita__x3A__svg:cursor.current.Y="55"
+                                                    system_cache__dita__x3A__svg:width__x3A__limit="600"
+                                                    system_cache__dita__x3A__svg:height__x3A__limit="655"
+                                                    system_cache__dita__x3A__svg:cursor.current.height="100"
+                                                    system_cache__dita__x3A__svg:data.name="BI_audit_ENERGA_PRACOWNICY"
+                                                    system_cache__dita__x3A__svg:data.id="BI_audit_ENERGA_PRACOWNICY.65424"
+                                                    system_cache__dita__x3A__svg:data.position="1"
+                                                    system_cache__dita__x3A__svg:data.x1.id="BI_audit_ENERGA_PRACOWNICY.65424"
+                                                    system_cache__dita__x3A__svg:x.count.data.current-group="1"
+                                                    system_cache__dita__x3A__svg:x1.count.leadingTimeDate="10"
+                                                    system_cache__dita__x3A__svg:x1.min.leadingTimeDate="1"
+                                                    system_cache__dita__x3A__svg:x1.max.leadingTimeDate="10"
+                                                    system_cache__dita__x3A__svg:y1.count.relation_DateRangeElements="11"
+                                                    system_cache__dita__x3A__svg:y1.min.relation_DateRangeElements="732132"
+                                                    system_cache__dita__x3A__svg:y1.max.relation_DateRangeElements="736026"
+                                                    system_cache__dita__x3A__svg:y2.count.relation_DateRangeElements="11"
+                                                    system_cache__dita__x3A__svg:y2.min.relation_DateRangeElements="733212"
+                                                    system_cache__dita__x3A__svg:y2.max.relation_DateRangeElements="736522"
+                                                    system_cache__dita__x3A__svg:y.max.relation_DateRangeElements="736522"
+                                                    system_cache__dita__x3A__svg:range.x1="9"
+                                                    system_cache__dita__x3A__svg:range.y="3310"/>
+   <!--#119 offsetting datasetn in pairs:
+                $system_cache__dita__x3A__svg:offsetY.minY == ($system_cache__dita__x3A__svg:y.min.relation_DateRangeElements) 733212
+                $system_cache__dita__x3A__svg:offsetY.maxY == ($system_cache__dita__x3A__svg:y.max.relation_DateRangeElements) 736522
+                $system_cache__dita__x3A__svg:offsetY.height == ($system_cache__dita__x3A__svg:cursor.current.height) 100
+
+                system_cache__dita__x3A__svg:offsetX.minX == ($system_cache__dita__x3A__svg:x1.min.leadingTimeDate) 1
+                system_cache__dita__x3A__svg:offsetX.maxX == ($system_cache__dita__x3A__svg:x1.max.leadingTimeDate) 10
+                system_cache__dita__x3A__svg:offsetX.width == ($system_cache__dita__x3A__svg:width__x3A__limit) 600
+                
+                system_cache__dita__x3A__svg:cursor.current.Y == ($system_cache__dita__x3A__svg:cursor.current.Y) 55-->
+   <svg:g debug="svgu:openHiLoClose.x51"
+          transform=" translate(0,55)  scale(66.66666666666667,1)  translate(-1,0)  translate(0,100)  scale(1,-0.030211480362537766)  translate(0,-733212) "><!--#openHiLoClose.229 matched/nsystem_cache__dita__x3A__svg:leadingTimeDate-->
+      <svg:line debug="svgu:openHiLoClose.74"
+                x1="1"
+                x2="1"
+                y1="733227"
+                y2="735327"
+                id="HiLow266__1"
+                style="stroke: red; stroke-width: 5; vector-effect:non-scaling-stroke ; "
+                transform.validate.y.1.733227="0[OK_X]/55.453172205438065[OK_Y]"><!--#debug 277
+                */n()/= relation_DateRangeElements
+                @system_cache__dita__x3A__svg:data.id = BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object.29827477
+                    relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y1.value = 733227--></svg:line>
+      <svg:text style=" vector-effect:non-scaling-stroke ; text-anchor:middle;  font-size:10;  baseline-shift:-150%; "
+                x="1"
+                y="733227">3:2008-10-07 </svg:text>
+      <!--#280 Incorrect unmached element to specified n/=system_cache__dita__x3A__svg:leadingTimeDate;-->
+      <!--#openHiLoClose.229 matched/nsystem_cache__dita__x3A__svg:leadingTimeDate-->
+      <svg:line debug="svgu:openHiLoClose.74"
+                x1="3"
+                x2="3"
+                y1="732132"
+                y2="735327"
+                id="HiLow266__3"
+                style="stroke: red; stroke-width: 5; vector-effect:non-scaling-stroke ; "
+                transform.validate.y.1.732132="133.33333333333334[OK_X]/22.37160120845921[OK_Y]"><!--#debug 277
+                */n()/= relation_DateRangeElements
+                @system_cache__dita__x3A__svg:data.id = BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object.29827456
+                    relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y1.value = 732132--></svg:line>
+      <svg:text style=" vector-effect:non-scaling-stroke ; text-anchor:middle;  font-size:10;  baseline-shift:-150%; "
+                x="3"
+                y="732132">3:2005-10-07 </svg:text>
+      <!--#openHiLoClose.229 matched/nsystem_cache__dita__x3A__svg:leadingTimeDate-->
+      <svg:line debug="svgu:openHiLoClose.74"
+                x1="4"
+                x2="4"
+                y1="736026"
+                y2="736522"
+                id="HiLow266__4"
+                style="stroke: red; stroke-width: 5; vector-effect:non-scaling-stroke ; "
+                transform.validate.y.1.736026="200[OK_X]/140.01510574018127[OK_Y]"><!--#debug 277
+                */n()/= relation_DateRangeElements
+                @system_cache__dita__x3A__svg:data.id = BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object.29827457
+                    relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y1.value = 736026--></svg:line>
+      <svg:text style=" vector-effect:non-scaling-stroke ; text-anchor:middle;  font-size:10;  baseline-shift:-150%; "
+                x="4"
+                y="736026">3:2016-06-06 </svg:text>
+      <!--#openHiLoClose.229 matched/nsystem_cache__dita__x3A__svg:leadingTimeDate-->
+      <svg:line debug="svgu:openHiLoClose.74"
+                x1="5"
+                x2="5"
+                y1="736026"
+                y2="736522"
+                id="HiLow266__5"
+                style="stroke: red; stroke-width: 5; vector-effect:non-scaling-stroke ; "
+                transform.validate.y.1.736026="266.6666666666667[OK_X]/140.01510574018127[OK_Y]"><!--#debug 277
+                */n()/= relation_DateRangeElements
+                @system_cache__dita__x3A__svg:data.id = BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object.29827461
+                    relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y1.value = 736026--></svg:line>
+      <svg:text style=" vector-effect:non-scaling-stroke ; text-anchor:middle;  font-size:10;  baseline-shift:-150%; "
+                x="5"
+                y="736026">3:2016-06-06 </svg:text>
+      <!--#openHiLoClose.229 matched/nsystem_cache__dita__x3A__svg:leadingTimeDate-->
+      <svg:line debug="svgu:openHiLoClose.74"
+                x1="6"
+                x2="6"
+                y1="736026"
+                y2="736522"
+                id="HiLow266__6"
+                style="stroke: red; stroke-width: 5; vector-effect:non-scaling-stroke ; "
+                transform.validate.y.1.736026="333.33333333333337[OK_X]/140.01510574018127[OK_Y]"><!--#debug 277
+                */n()/= relation_DateRangeElements
+                @system_cache__dita__x3A__svg:data.id = BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object.29827465
+                    relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y1.value = 736026--></svg:line>
+      <svg:text style=" vector-effect:non-scaling-stroke ; text-anchor:middle;  font-size:10;  baseline-shift:-150%; "
+                x="6"
+                y="736026">3:2016-06-06 </svg:text>
+      <!--#openHiLoClose.229 matched/nsystem_cache__dita__x3A__svg:leadingTimeDate-->
+      <svg:line debug="svgu:openHiLoClose.74"
+                x1="7"
+                x2="7"
+                y1="736026"
+                y2="736522"
+                id="HiLow266__7"
+                style="stroke: red; stroke-width: 5; vector-effect:non-scaling-stroke ; "
+                transform.validate.y.1.736026="400[OK_X]/140.01510574018127[OK_Y]"><!--#debug 277
+                */n()/= relation_DateRangeElements
+                @system_cache__dita__x3A__svg:data.id = BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object.29827469
+                    relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y1.value = 736026--></svg:line>
+      <svg:text style=" vector-effect:non-scaling-stroke ; text-anchor:middle;  font-size:10;  baseline-shift:-150%; "
+                x="7"
+                y="736026">3:2016-06-06 </svg:text>
+      <!--#openHiLoClose.229 matched/nsystem_cache__dita__x3A__svg:leadingTimeDate-->
+      <svg:line debug="svgu:openHiLoClose.74"
+                x1="8"
+                x2="8"
+                y1="736026"
+                y2="736522"
+                id="HiLow266__8"
+                style="stroke: red; stroke-width: 5; vector-effect:non-scaling-stroke ; "
+                transform.validate.y.1.736026="466.6666666666667[OK_X]/140.01510574018127[OK_Y]"><!--#debug 277
+                */n()/= relation_DateRangeElements
+                @system_cache__dita__x3A__svg:data.id = BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object.29827473
+                    relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y1.value = 736026--></svg:line>
+      <svg:text style=" vector-effect:non-scaling-stroke ; text-anchor:middle;  font-size:10;  baseline-shift:-150%; "
+                x="8"
+                y="736026">3:2016-06-06 </svg:text>
+      <!--#openHiLoClose.229 matched/nsystem_cache__dita__x3A__svg:leadingTimeDate-->
+      <svg:line debug="svgu:openHiLoClose.74"
+                x1="9"
+                x2="9"
+                y1="733014"
+                y2="733212"
+                id="HiLow266__9"
+                style="stroke: red; stroke-width: 5; vector-effect:non-scaling-stroke ; "
+                transform.validate.y.1.733014="533.3333333333334[OK_X]/49.01812688821752[OK_Y]"><!--#debug 277
+                */n()/= relation_DateRangeElements
+                @system_cache__dita__x3A__svg:data.id = BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object.29827452
+                    relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y1.value = 733014--></svg:line>
+      <svg:text style=" vector-effect:non-scaling-stroke ; text-anchor:middle;  font-size:10;  baseline-shift:-150%; "
+                x="9"
+                y="733014">3:2008-03-04 </svg:text>
+      <!--#openHiLoClose.229 matched/nsystem_cache__dita__x3A__svg:leadingTimeDate-->
+      <svg:line debug="svgu:openHiLoClose.74"
+                x1="10"
+                x2="10"
+                y1="733707"
+                y2="733707"
+                id="HiLow266__10"
+                style="stroke: red; stroke-width: 5; vector-effect:non-scaling-stroke ; "
+                transform.validate.y.1.733707="600[OK_X]/69.95468277945619[OK_Y]"><!--#debug 277
+                */n()/= relation_DateRangeElements
+                @system_cache__dita__x3A__svg:data.id = BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object.29827453
+                    relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y1.value = 733707--></svg:line>
+      <svg:text style=" vector-effect:non-scaling-stroke ; text-anchor:middle;  font-size:10;  baseline-shift:-150%; "
+                x="10"
+                y="733707">3:2010-01-27 </svg:text>
+   </svg:g>
+   <!--#164 trying to append labels in sector-->
+   <!--#800 prepared copy apply-->
+   <system_cache__dita__x3A__svg:openHiLoClose.resolution.coordinate.label debug="1007">
+       
+       
+       
+       <!--#191 to conitnue tutaj-->
+      <system_cache__dita__x3A__svg:data.y1.label.dataset.prepared><!--#150 todo wszystkie wagi i offsety teraz
+                        szukamy kursora ndex.2()
+                    -->
+         <system_cache__dita__x3A__svg:cursor.read>
+            <system_cache__dita__x3A__svg:cursor>
+               <system_cache__dita__x3A__svg:offsetY lastY="0"
+                                                     system_cache__dita__x3A__svg:data.y2.bounds.min.coordinate="10"
+                                                     increment="10"
+                                                     nextY="10"
+                                                     system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate="655"
+                                                     system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate="0"
+                                                     system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate="600"
+                                                     system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate="0"
+                                                     system_cache__dita__x3A__svg:height__x3A__limit="655"
+                                                     system_cache__dita__x3A__svg:data.y2.bounds.max.length="655"
+                                                     system_cache__dita__x3A__svg:width__x3A__limit="600"
+                                                     system_cache__dita__x3A__svg:data.x2.bounds.max.length="600"
+                                                     debug_migrated_todo="$system_cache__dita__x3A__svg:offsetY wywalone - po co tu string?#295"/>
+               <system_cache__dita__x3A__svg:font-size nextY.height=""
+                                                       system_cache__dita__x3A__svg:data.y2.bounds.max.length=""
+                                                       lastY="10"
+                                                       system_cache__dita__x3A__svg:data.y2.bounds.min.coordinate="37"
+                                                       increment="27"
+                                                       nextY="37"
+                                                       system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate="37"
+                                                       comment=" 27"
+                                                       system_cache__dita__x3A__svg:height__x3A__limit__x3A__validate="true"/>
+               <system_cache__dita__x3A__svg:font-size nextY.height=""
+                                                       system_cache__dita__x3A__svg:data.y2.bounds.max.length=""
+                                                       lastY="37"
+                                                       system_cache__dita__x3A__svg:data.y2.bounds.min.coordinate="55"
+                                                       increment="18"
+                                                       nextY="55"
+                                                       system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate="55"
+                                                       comment=" 18"
+                                                       system_cache__dita__x3A__svg:height__x3A__limit__x3A__validate="true"/>
+            </system_cache__dita__x3A__svg:cursor>
+         </system_cache__dita__x3A__svg:cursor.read>
+         <!--#175 cursor() Y1  B  MIN  COR  [[[ y ]]]
+                        [[[ 1 ]]]
+                        [[[ bounds.min.coordinate ]]] -->
+         <system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate.bounds.min="0"
+                                                                     system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate.bounds.max="0"
+                                                                     system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate.bounds.min.latest=""
+                                                                     system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate.bounds.max.latest="0"/>
+         <!--#200 cursor() Y2  B  MAX  COR  [[[ y ]]]
+                        [[[ 2 ]]]
+                        [[[ bounds.max.coordinate ]]] -->
+         <system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate.bounds.min="37"
+                                                                     system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate.bounds.max="655"
+                                                                     system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate.bounds.min.latest="55"
+                                                                     system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate.bounds.max.latest="55"/>
+         <!--#250 cursor() Y2  B  MIN  COR  [[[ y ]]]
+                        [[[ 2 ]]]
+                        [[[ bounds.max.coordinate ]]] -->
+         <system_cache__dita__x3A__svg:data.y2.bounds.min.coordinate system_cache__dita__x3A__svg:data.y2.bounds.min.coordinate.bounds.min="10"
+                                                                     system_cache__dita__x3A__svg:data.y2.bounds.min.coordinate.bounds.max="55"
+                                                                     system_cache__dita__x3A__svg:data.y2.bounds.min.coordinate.bounds.min.latest="55"
+                                                                     system_cache__dita__x3A__svg:data.y2.bounds.min.coordinate.bounds.max.latest="55"/>
+         <!--#275 (zera) cursor() X1  B  MIN  COR  [[[ x ]]]
+                        [[[ 1 ]]]
+                        [[[ bounds.min.coordinate ]]] -->
+         <system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate.bounds.min="0"
+                                                                     system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate.bounds.max="0"
+                                                                     system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate.bounds.min.latest=""
+                                                                     system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate.bounds.max.latest="0"/>
+         <!--#300 (zera) cursor() X2  B  MAX  COR  [[[ x ]]]
+                        [[[ 2 ]]]
+                        [[[ bounds.max.length ]]] -->
+         <system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate.bounds.min="600"
+                                                                     system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate.bounds.max="600"
+                                                                     system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate.bounds.min.latest="600"
+                                                                     system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate.bounds.max.latest="600"/>
+         <!--#350 cursor() Y2  B  MAX  L  [[[ y ]]]
+                        [[[ 2 ]]]
+                        [[[ bounds.max.length ]]] -->
+         <system_cache__dita__x3A__svg:data.y2.bounds.max.length system_cache__dita__x3A__svg:data.y2.bounds.max.length.bounds.min="655"
+                                                                 system_cache__dita__x3A__svg:data.y2.bounds.max.length.bounds.max="655"
+                                                                 system_cache__dita__x3A__svg:data.y2.bounds.max.length.bounds.min.latest="655"
+                                                                 system_cache__dita__x3A__svg:data.y2.bounds.max.length.bounds.max.latest="655"/>
+         <!--#400 cursor() Y2  B  MIN  L  [[[ y ]]]
+                        [[[ 2 ]]]
+                        [[[ bounds.min.length ]]] -->
+         <system_cache__dita__x3A__svg:data.y2.bounds.min.length system_cache__dita__x3A__svg:data.y2.bounds.min.length.bounds.min=""
+                                                                 system_cache__dita__x3A__svg:data.y2.bounds.min.length.bounds.max=""
+                                                                 system_cache__dita__x3A__svg:data.y2.bounds.min.length.bounds.min.latest=""
+                                                                 system_cache__dita__x3A__svg:data.y2.bounds.min.length.bounds.max.latest=""/>
+         <!--#450 cursor() X2  B  MIN  L  [[[ x ]]]
+                        [[[ 2 ]]]
+                        [[[ bounds.max.length ]]] -->
+         <!--data.x2.bounds.max.length="600-->
+         <system_cache__dita__x3A__svg:data.x2.bounds.max.length system_cache__dita__x3A__svg:data.x2.bounds.max.length.bounds.min="600"
+                                                                 system_cache__dita__x3A__svg:data.x2.bounds.max.length.bounds.max="600"
+                                                                 system_cache__dita__x3A__svg:data.x2.bounds.max.length.bounds.min.latest="600"
+                                                                 system_cache__dita__x3A__svg:data.x2.bounds.max.length.bounds.max.latest="600"/>
+         <!--#500  niepotrzebne system_cache__dita__x3A__svg:resolution.coordinate.id couns-->
+         <system_cache__dita__x3A__svg:data.y1.id system_cache__dita__x3A__svg:data.y1.id.count="0"/>
+         <!--#550 system_cache__dita__x3A__svg:resolution.coordinate.label  label couns + 34 trzeba poalczyc w jednen set-->
+         <system_cache__dita__x3A__svg:data.y1.label system_cache__dita__x3A__svg:data.y1.label.bounds.min=""
+                                                     system_cache__dita__x3A__svg:data.y1.label.bounds.max=""
+                                                     system_cache__dita__x3A__svg:data.y1.label.bounds.min.latest=""
+                                                     system_cache__dita__x3A__svg:data.y1.label.bounds.max.latest=""
+                                                     system_cache__dita__x3A__svg:data.y1.label.count="11"/>
+         <!--#44  label bonds on axis"y"; index="1"-->
+         <!--#600-B EOF  label couns + 34 trzeba poalczyc w jednen set-->
+         <!--#650 value() values bonds-->
+         <system_cache__dita__x3A__svg:data.y1.value system_cache__dita__x3A__svg:data.y1.value.bounds.min="732132"
+                                                     system_cache__dita__x3A__svg:data.y1.value.bounds.max="736026"
+                                                     system_cache__dita__x3A__svg:data.y1.value.bounds.min.latest="733707"
+                                                     system_cache__dita__x3A__svg:data.y1.value.bounds.max.latest="733707"/>
+         <!--#700 abel() coords-->
+         <system_cache__dita__x3A__svg:data.y1.label.dataset>
+            <system_cache__dita__x3A__svg:resolution.value.dataset system_cache__dita__x3A__svg:resolution.coordinate.data="system_cache__dita__x3A__svg:data.y1.label">
+               <system_cache__dita__x3A__svg:resolution.coordinate.data.context system_cache__dita__x3A__svg:resolution.coordinate.data="system_cache__dita__x3A__svg:data.y1.label">
+                  <relation_DateRangeElements system_cache__dita__x3A__svg:data.y1.name="leadingTimeDate-From"
+                                              system_cache__dita__x3A__svg:data.y1.value="733227"
+                                              system_cache__dita__x3A__svg:data.y1.label="2008-10-07"
+                                              system_cache__dita__x3A__svg:data.y2.name="leadingTimeDate-To"
+                                              system_cache__dita__x3A__svg:data.y2.value="735327"
+                                              system_cache__dita__x3A__svg:data.y2.label="2014-07-07"/>
+                  <relation_DateRangeElements system_cache__dita__x3A__svg:data.y1.name="leadingTimeDate-From"
+                                              system_cache__dita__x3A__svg:data.y1.value="732957"
+                                              system_cache__dita__x3A__svg:data.y1.label="2008-01-07"
+                                              system_cache__dita__x3A__svg:data.y2.name="leadingTimeDate-To"
+                                              system_cache__dita__x3A__svg:data.y2.value="735327"
+                                              system_cache__dita__x3A__svg:data.y2.label="2014-07-07"/>
+                  <relation_DateRangeElements system_cache__dita__x3A__svg:data.y1.name="leadingTimeDate-From"
+                                              system_cache__dita__x3A__svg:data.y1.value="733227"
+                                              system_cache__dita__x3A__svg:data.y1.label="2008-10-07"
+                                              system_cache__dita__x3A__svg:data.y2.name="leadingTimeDate-To"
+                                              system_cache__dita__x3A__svg:data.y2.value="735327"
+                                              system_cache__dita__x3A__svg:data.y2.label="2014-07-07"/>
+                  <relation_DateRangeElements system_cache__dita__x3A__svg:data.y1.name="leadingTimeDate-From"
+                                              system_cache__dita__x3A__svg:data.y1.value="732132"
+                                              system_cache__dita__x3A__svg:data.y1.label="2005-10-07"
+                                              system_cache__dita__x3A__svg:data.y2.name="leadingTimeDate-To"
+                                              system_cache__dita__x3A__svg:data.y2.value="735327"
+                                              system_cache__dita__x3A__svg:data.y2.label="2014-07-07"/>
+                  <relation_DateRangeElements system_cache__dita__x3A__svg:data.y1.name="leadingTimeDate-From"
+                                              system_cache__dita__x3A__svg:data.y1.value="736026"
+                                              system_cache__dita__x3A__svg:data.y1.label="2016-06-06"
+                                              system_cache__dita__x3A__svg:data.y2.name="leadingTimeDate-To"
+                                              system_cache__dita__x3A__svg:data.y2.value="736522"
+                                              system_cache__dita__x3A__svg:data.y2.label="2017-10-17"/>
+                  <relation_DateRangeElements system_cache__dita__x3A__svg:data.y1.name="leadingTimeDate-From"
+                                              system_cache__dita__x3A__svg:data.y1.value="736026"
+                                              system_cache__dita__x3A__svg:data.y1.label="2016-06-06"
+                                              system_cache__dita__x3A__svg:data.y2.name="leadingTimeDate-To"
+                                              system_cache__dita__x3A__svg:data.y2.value="736522"
+                                              system_cache__dita__x3A__svg:data.y2.label="2017-10-17"/>
+                  <relation_DateRangeElements system_cache__dita__x3A__svg:data.y1.name="leadingTimeDate-From"
+                                              system_cache__dita__x3A__svg:data.y1.value="736026"
+                                              system_cache__dita__x3A__svg:data.y1.label="2016-06-06"
+                                              system_cache__dita__x3A__svg:data.y2.name="leadingTimeDate-To"
+                                              system_cache__dita__x3A__svg:data.y2.value="736522"
+                                              system_cache__dita__x3A__svg:data.y2.label="2017-10-17"/>
+                  <relation_DateRangeElements system_cache__dita__x3A__svg:data.y1.name="leadingTimeDate-From"
+                                              system_cache__dita__x3A__svg:data.y1.value="736026"
+                                              system_cache__dita__x3A__svg:data.y1.label="2016-06-06"
+                                              system_cache__dita__x3A__svg:data.y2.name="leadingTimeDate-To"
+                                              system_cache__dita__x3A__svg:data.y2.value="736522"
+                                              system_cache__dita__x3A__svg:data.y2.label="2017-10-17"/>
+                  <relation_DateRangeElements system_cache__dita__x3A__svg:data.y1.name="leadingTimeDate-From"
+                                              system_cache__dita__x3A__svg:data.y1.value="736026"
+                                              system_cache__dita__x3A__svg:data.y1.label="2016-06-06"
+                                              system_cache__dita__x3A__svg:data.y2.name="leadingTimeDate-To"
+                                              system_cache__dita__x3A__svg:data.y2.value="736522"
+                                              system_cache__dita__x3A__svg:data.y2.label="2017-10-17"/>
+                  <relation_DateRangeElements system_cache__dita__x3A__svg:data.y1.name="leadingTimeDate-From"
+                                              system_cache__dita__x3A__svg:data.y1.value="733014"
+                                              system_cache__dita__x3A__svg:data.y1.label="2008-03-04"
+                                              system_cache__dita__x3A__svg:data.y2.name="leadingTimeDate-To"
+                                              system_cache__dita__x3A__svg:data.y2.value="733212"
+                                              system_cache__dita__x3A__svg:data.y2.label="2008-09-22"/>
+                  <relation_DateRangeElements system_cache__dita__x3A__svg:data.y1.name="leadingTimeDate-From"
+                                              system_cache__dita__x3A__svg:data.y1.value="733707"
+                                              system_cache__dita__x3A__svg:data.y1.label="2010-01-27"
+                                              system_cache__dita__x3A__svg:data.y2.name="leadingTimeDate-To"
+                                              system_cache__dita__x3A__svg:data.y2.value="733707"
+                                              system_cache__dita__x3A__svg:data.y2.label="2010-01-27"/>
+               </system_cache__dita__x3A__svg:resolution.coordinate.data.context>
+            </system_cache__dita__x3A__svg:resolution.value.dataset>
+         </system_cache__dita__x3A__svg:data.y1.label.dataset>
+      </system_cache__dita__x3A__svg:data.y1.label.dataset.prepared>
+      <svg:g debug="svgu:openHiLoClose.3175"
+             transform=" translate(0,55)  scale(54.54545454545455,1)  translate(0,0)  translate(0,655)  scale(1,-INF)  translate(0,-732132) "/>
+   </system_cache__dita__x3A__svg:openHiLoClose.resolution.coordinate.label>
+   <!--#1186-B EOF lower applying powiazania for hi low-->
+   <svg:g debug="svgu:openHiLoClose.1 $min=0 $max=665 $width=500 $height=500 $range=665"
+          transform=" translate(50,10)  translate(0,55)  translate(0,500)  scale(1,-0.7518796992481203) ">
+      <svg:line x1="100"
+                debug="svgu:openHiLoClose.74"
+                y1="0"
+                x2="100"
+                y2="100"
+                id="_highLow_1"
+                style="stroke: black; stroke-width: 1; vector-effect:non-scaling-stroke ; "/>
+      <svg:line x1="92"
+                y1="10"
+                x2="100"
+                y2="10"
+                id="_open_1"
+                debug="svgu:openHiLoClose.93"
+                style="stroke: black; vector-effect:non-scaling-stroke ; stroke-width: 2.66"/>
+      <svg:line x1="100"
+                y1="50"
+                x2="108"
+                y2="50"
+                id="_close_1"
+                debug="svgu:openHiLoClose.113"
+                style="stroke: black; vector-effect:non-scaling-stroke ; stroke-width: 2.66"/>
+      <svg:line x1="200"
+                debug="svgu:openHiLoClose.74"
+                y1="555"
+                x2="200"
+                y2="665"
+                id="_highLow_2"
+                style="stroke: black; stroke-width: 1; vector-effect:non-scaling-stroke ; "/>
+      <svg:line x1="192"
+                y1="444"
+                x2="200"
+                y2="444"
+                id="_open_2"
+                debug="svgu:openHiLoClose.93"
+                style="stroke: black; vector-effect:non-scaling-stroke ; stroke-width: 2.66"/>
+      <svg:line x1="200"
+                y1="777"
+                x2="208"
+                y2="777"
+                id="_close_2"
+                debug="svgu:openHiLoClose.113"
+                style="stroke: black; vector-effect:non-scaling-stroke ; stroke-width: 2.66"/>
+      <svg:line x1="300"
+                debug="svgu:openHiLoClose.74"
+                y1="222"
+                x2="300"
+                y2="333"
+                id="_highLow_3"
+                style="stroke: black; stroke-width: 1; vector-effect:non-scaling-stroke ; "/>
+      <svg:line x1="292"
+                y1="266"
+                x2="300"
+                y2="266"
+                id="_open_3"
+                debug="svgu:openHiLoClose.93"
+                style="stroke: black; vector-effect:non-scaling-stroke ; stroke-width: 2.66"/>
+      <svg:line x1="300"
+                y1="300"
+                x2="308"
+                y2="300"
+                id="_close_3"
+                debug="svgu:openHiLoClose.113"
+                style="stroke: black; vector-effect:non-scaling-stroke ; stroke-width: 2.66"/>
+      <svg:line x1="400"
+                debug="svgu:openHiLoClose.74"
+                y1="111"
+                x2="400"
+                y2="266"
+                id="_highLow_4"
+                style="stroke: black; stroke-width: 1; vector-effect:non-scaling-stroke ; "/>
+      <svg:line x1="392"
+                y1="212"
+                x2="400"
+                y2="212"
+                id="_open_4"
+                debug="svgu:openHiLoClose.93"
+                style="stroke: black; vector-effect:non-scaling-stroke ; stroke-width: 2.66"/>
+      <svg:line x1="400"
+                y1="500"
+                x2="408"
+                y2="500"
+                id="_close_4"
+                debug="svgu:openHiLoClose.113"
+                style="stroke: black; vector-effect:non-scaling-stroke ; stroke-width: 2.66"/>
+   </svg:g>
+   <!--svgu:yAxis 90 gorna lewa os, razem z poziomicami ktore szly za szeroko-->
+   <system_cache__dita__x3A__svg:cursor>
+      <system_cache__dita__x3A__svg:offsetY lastY="0"
+                                            increment="10"
+                                            nextY="10"
+                                            system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate="0"
+                                            system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate="600"
+                                            system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate="0"
+                                            system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate="655"
+                                            system_cache__dita__x3A__svg:height__x3A__limit="655"
+                                            system_cache__dita__x3A__svg:width__x3A__limit="600"
+                                            system_cache__dita__x3A__svg:data.y2.bounds.min.coordinate="10"
+                                            debug_migrated_todo="$system_cache__dita__x3A__svg:offsetY wywalone - po co tu string?#295"/>
+      <system_cache__dita__x3A__svg:font-size nextY.height=""
+                                              lastY="10"
+                                              increment="27"
+                                              nextY="37"
+                                              comment=" 27"
+                                              system_cache__dita__x3A__svg:data.y2.bounds.max.length=""
+                                              system_cache__dita__x3A__svg:height__x3A__limit__x3A__validate="true"
+                                              system_cache__dita__x3A__svg:data.y2.bounds.min.coordinate="37"/>
+      <system_cache__dita__x3A__svg:font-size nextY.height=""
+                                              lastY="37"
+                                              increment="18"
+                                              nextY="55"
+                                              comment=" 18"
+                                              system_cache__dita__x3A__svg:data.y2.bounds.max.length=""
+                                              system_cache__dita__x3A__svg:height__x3A__limit__x3A__validate="true"
+                                              system_cache__dita__x3A__svg:data.y2.bounds.min.coordinate="55"/>
+   </system_cache__dita__x3A__svg:cursor>
+   <!--#202 name="xMajor2" select="$majorRightExtent = 4"
+            $$system_cache__dita__x3A__svg:cursor.current.Y = 55
+            system_cache__dita__x3A__svg:offsetY.height =$height 500
+            $system_cache__dita__x3A__svg:offsetY = 10
+            $offsetX = 50
+            $minorRightExtent = 2-->
+   <svg:g debug="svgu:yAxis.168 $offsetY=10 $min=0 $max=731.5000000000001 $width=500 $height=500              $range=731.5000000000001 cursor.current.Y=55 scale=0.6835269993164729"
+          transform=" translate(50,0)  translate(0,55)  translate(0,500)  scale(1,-0.6835269993164729) ">
+      <system_cache__dita__x3A__svg:transform.cursor>
+         <svgu.yAxis.168 system_cache__dita__x3A__svg:offsetX="50"
+                         system_cache__dita__x3A__svg:offsetY="10"
+                         system_cache__dita__x3A__svg:offsetY.height="500"
+                         system_cache__dita__x3A__svg:cursor.current.Y="55"
+                         yscale="0.6835269993164729"/>
+      </system_cache__dita__x3A__svg:transform.cursor>
+      <svg:line debug="svgu:yAxis.174 1ds=1.4630000000000003 sc=0.6835269993164729"
+                x1="-18"
+                y1="0"
+                x2="-18"
+                y2="731.5000000000001"
+                transform=" translate(-18,731.5000000000001)  scale(1,1.4630000000000003)  translate(18,-731.5000000000001) "
+                transform.validate.y1="386.19275461380715"
+                transform.validate.y2="886.1927546138071"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"/>
+      <!--#246 call ticks with $yMajor1=$min 0; $majorTicks=10 * $minorTicks=4 + 1
+                $$xMajor2== $majorRightExtent=4;
+            -->
+      <!--#325 called ticks with
+                    $yMinor1 0;  $yMinor2 = 0;  $yMajor1 0;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.214"
+                x1="-18"
+                y1="0"
+                x2="4"
+                y2="0"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform=" translate(0,-18)  translate(-18,0)  scale(1,-1.4630000000000003)  translate(18,-0) "/>
+      <svg:text debug="svgu:ticks.240"
+                x="-18"
+                y="0"
+                transform=" translate(0,-18)  translate(-18,0)  scale(1,-1.4630000000000003)  translate(18,-0) "
+                style="text-anchor:end;font-size:9;baseline-shift:-50%"
+                transform.validate.y="-26.334000000000007">0.0</svg:text>
+      <!--#325 called ticks with
+                    $yMinor1 18.2875;  $yMinor2 = 18.2875;  $yMajor1 18.2875;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="18.2875"
+                x2="2"
+                y2="18.2875"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="8.887725000000007"/>
+      <!--#325 called ticks with
+                    $yMinor1 36.575;  $yMinor2 = 36.575;  $yMajor1 36.575;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="36.575"
+                x2="2"
+                y2="36.575"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="44.109450000000024"/>
+      <!--#325 called ticks with
+                    $yMinor1 54.862500000000004;  $yMinor2 = 54.862500000000004;  $yMajor1 54.862500000000004;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="54.862500000000004"
+                x2="2"
+                y2="54.862500000000004"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="79.33117500000003"/>
+      <!--#325 called ticks with
+                    $yMinor1 73.15;  $yMinor2 = 73.15;  $yMajor1 73.15;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.214"
+                x1="-18"
+                y1="73.15"
+                x2="4"
+                y2="73.15"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform=" translate(0,-18)  translate(-18,73.15)  scale(1,-1.4630000000000003)  translate(18,-73.15) "/>
+      <svg:text debug="svgu:ticks.240"
+                x="-18"
+                y="73.15"
+                transform=" translate(0,-18)  translate(-18,73.15)  scale(1,-1.4630000000000003)  translate(18,-73.15) "
+                style="text-anchor:end;font-size:9;baseline-shift:-50%"
+                transform.validate.y="114.55290000000005">73.2</svg:text>
+      <!--#325 called ticks with
+                    $yMinor1 91.4375;  $yMinor2 = 91.4375;  $yMajor1 91.4375;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="91.4375"
+                x2="2"
+                y2="91.4375"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="149.77462500000004"/>
+      <!--#325 called ticks with
+                    $yMinor1 109.725;  $yMinor2 = 109.725;  $yMajor1 109.725;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="109.725"
+                x2="2"
+                y2="109.725"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="184.99635000000004"/>
+      <!--#325 called ticks with
+                    $yMinor1 128.0125;  $yMinor2 = 128.0125;  $yMajor1 128.0125;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="128.0125"
+                x2="2"
+                y2="128.0125"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="220.21807500000006"/>
+      <!--#325 called ticks with
+                    $yMinor1 146.29999999999998;  $yMinor2 = 146.29999999999998;  $yMajor1 146.29999999999998;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.214"
+                x1="-18"
+                y1="146.29999999999998"
+                x2="4"
+                y2="146.29999999999998"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform=" translate(0,-18)  translate(-18,146.29999999999998)  scale(1,-1.4630000000000003)  translate(18,-146.29999999999998) "/>
+      <svg:text debug="svgu:ticks.240"
+                x="-18"
+                y="146.29999999999998"
+                transform=" translate(0,-18)  translate(-18,146.29999999999998)  scale(1,-1.4630000000000003)  translate(18,-146.29999999999998) "
+                style="text-anchor:end;font-size:9;baseline-shift:-50%"
+                transform.validate.y="255.43980000000008">146.3</svg:text>
+      <!--#325 called ticks with
+                    $yMinor1 164.58749999999998;  $yMinor2 = 164.58749999999998;  $yMajor1 164.58749999999998;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="164.58749999999998"
+                x2="2"
+                y2="164.58749999999998"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="290.66152500000004"/>
+      <!--#325 called ticks with
+                    $yMinor1 182.87499999999997;  $yMinor2 = 182.87499999999997;  $yMajor1 182.87499999999997;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="182.87499999999997"
+                x2="2"
+                y2="182.87499999999997"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="325.8832500000001"/>
+      <!--#325 called ticks with
+                    $yMinor1 201.16249999999997;  $yMinor2 = 201.16249999999997;  $yMajor1 201.16249999999997;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="201.16249999999997"
+                x2="2"
+                y2="201.16249999999997"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="361.104975"/>
+      <!--#325 called ticks with
+                    $yMinor1 219.44999999999996;  $yMinor2 = 219.44999999999996;  $yMajor1 219.44999999999996;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.214"
+                x1="-18"
+                y1="219.44999999999996"
+                x2="4"
+                y2="219.44999999999996"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform=" translate(0,-18)  translate(-18,219.44999999999996)  scale(1,-1.4630000000000003)  translate(18,-219.44999999999996) "/>
+      <svg:text debug="svgu:ticks.240"
+                x="-18"
+                y="219.44999999999996"
+                transform=" translate(0,-18)  translate(-18,219.44999999999996)  scale(1,-1.4630000000000003)  translate(18,-219.44999999999996) "
+                style="text-anchor:end;font-size:9;baseline-shift:-50%"
+                transform.validate.y="396.3267000000001">219.4</svg:text>
+      <!--#325 called ticks with
+                    $yMinor1 237.73749999999995;  $yMinor2 = 237.73749999999995;  $yMajor1 237.73749999999995;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="237.73749999999995"
+                x2="2"
+                y2="237.73749999999995"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="431.54842500000007"/>
+      <!--#325 called ticks with
+                    $yMinor1 256.025;  $yMinor2 = 256.025;  $yMajor1 256.025;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="256.025"
+                x2="2"
+                y2="256.025"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="466.77015000000006"/>
+      <!--#325 called ticks with
+                    $yMinor1 274.3125;  $yMinor2 = 274.3125;  $yMajor1 274.3125;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="274.3125"
+                x2="2"
+                y2="274.3125"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="501.99187500000016"/>
+      <!--#325 called ticks with
+                    $yMinor1 292.6;  $yMinor2 = 292.6;  $yMajor1 292.6;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.214"
+                x1="-18"
+                y1="292.6"
+                x2="4"
+                y2="292.6"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform=" translate(0,-18)  translate(-18,292.6)  scale(1,-1.4630000000000003)  translate(18,-292.6) "/>
+      <svg:text debug="svgu:ticks.240"
+                x="-18"
+                y="292.6"
+                transform=" translate(0,-18)  translate(-18,292.6)  scale(1,-1.4630000000000003)  translate(18,-292.6) "
+                style="text-anchor:end;font-size:9;baseline-shift:-50%"
+                transform.validate.y="537.2136000000003">292.6</svg:text>
+      <!--#325 called ticks with
+                    $yMinor1 310.88750000000005;  $yMinor2 = 310.88750000000005;  $yMajor1 310.88750000000005;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="310.88750000000005"
+                x2="2"
+                y2="310.88750000000005"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="572.4353250000003"/>
+      <!--#325 called ticks with
+                    $yMinor1 329.17500000000007;  $yMinor2 = 329.17500000000007;  $yMajor1 329.17500000000007;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="329.17500000000007"
+                x2="2"
+                y2="329.17500000000007"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="607.6570500000004"/>
+      <!--#325 called ticks with
+                    $yMinor1 347.4625000000001;  $yMinor2 = 347.4625000000001;  $yMajor1 347.4625000000001;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="347.4625000000001"
+                x2="2"
+                y2="347.4625000000001"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="642.8787750000004"/>
+      <!--#325 called ticks with
+                    $yMinor1 365.7500000000001;  $yMinor2 = 365.7500000000001;  $yMajor1 365.7500000000001;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.214"
+                x1="-18"
+                y1="365.7500000000001"
+                x2="4"
+                y2="365.7500000000001"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform=" translate(0,-18)  translate(-18,365.7500000000001)  scale(1,-1.4630000000000003)  translate(18,-365.7500000000001) "/>
+      <svg:text debug="svgu:ticks.240"
+                x="-18"
+                y="365.7500000000001"
+                transform=" translate(0,-18)  translate(-18,365.7500000000001)  scale(1,-1.4630000000000003)  translate(18,-365.7500000000001) "
+                style="text-anchor:end;font-size:9;baseline-shift:-50%"
+                transform.validate.y="678.1005000000004">365.8</svg:text>
+      <!--#325 called ticks with
+                    $yMinor1 384.03750000000014;  $yMinor2 = 384.03750000000014;  $yMajor1 384.03750000000014;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="384.03750000000014"
+                x2="2"
+                y2="384.03750000000014"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="713.3222250000006"/>
+      <!--#325 called ticks with
+                    $yMinor1 402.32500000000016;  $yMinor2 = 402.32500000000016;  $yMajor1 402.32500000000016;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="402.32500000000016"
+                x2="2"
+                y2="402.32500000000016"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="748.5439500000006"/>
+      <!--#325 called ticks with
+                    $yMinor1 420.6125000000002;  $yMinor2 = 420.6125000000002;  $yMajor1 420.6125000000002;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="420.6125000000002"
+                x2="2"
+                y2="420.6125000000002"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="783.7656750000006"/>
+      <!--#325 called ticks with
+                    $yMinor1 438.9000000000002;  $yMinor2 = 438.9000000000002;  $yMajor1 438.9000000000002;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.214"
+                x1="-18"
+                y1="438.9000000000002"
+                x2="4"
+                y2="438.9000000000002"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform=" translate(0,-18)  translate(-18,438.9000000000002)  scale(1,-1.4630000000000003)  translate(18,-438.9000000000002) "/>
+      <svg:text debug="svgu:ticks.240"
+                x="-18"
+                y="438.9000000000002"
+                transform=" translate(0,-18)  translate(-18,438.9000000000002)  scale(1,-1.4630000000000003)  translate(18,-438.9000000000002) "
+                style="text-anchor:end;font-size:9;baseline-shift:-50%"
+                transform.validate.y="818.9874000000005">438.9</svg:text>
+      <!--#325 called ticks with
+                    $yMinor1 457.1875000000002;  $yMinor2 = 457.1875000000002;  $yMajor1 457.1875000000002;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="457.1875000000002"
+                x2="2"
+                y2="457.1875000000002"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="854.2091250000008"/>
+      <!--#325 called ticks with
+                    $yMinor1 475.47500000000025;  $yMinor2 = 475.47500000000025;  $yMajor1 475.47500000000025;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="475.47500000000025"
+                x2="2"
+                y2="475.47500000000025"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="889.4308500000008"/>
+      <!--#325 called ticks with
+                    $yMinor1 493.7625000000003;  $yMinor2 = 493.7625000000003;  $yMajor1 493.7625000000003;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="493.7625000000003"
+                x2="2"
+                y2="493.7625000000003"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="924.6525750000008"/>
+      <!--#325 called ticks with
+                    $yMinor1 512.0500000000003;  $yMinor2 = 512.0500000000003;  $yMajor1 512.0500000000003;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.214"
+                x1="-18"
+                y1="512.0500000000003"
+                x2="4"
+                y2="512.0500000000003"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform=" translate(0,-18)  translate(-18,512.0500000000003)  scale(1,-1.4630000000000003)  translate(18,-512.0500000000003) "/>
+      <svg:text debug="svgu:ticks.240"
+                x="-18"
+                y="512.0500000000003"
+                transform=" translate(0,-18)  translate(-18,512.0500000000003)  scale(1,-1.4630000000000003)  translate(18,-512.0500000000003) "
+                style="text-anchor:end;font-size:9;baseline-shift:-50%"
+                transform.validate.y="959.874300000001">512.1</svg:text>
+      <!--#325 called ticks with
+                    $yMinor1 530.3375000000003;  $yMinor2 = 530.3375000000003;  $yMajor1 530.3375000000003;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="530.3375000000003"
+                x2="2"
+                y2="530.3375000000003"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="995.096025000001"/>
+      <!--#325 called ticks with
+                    $yMinor1 548.6250000000003;  $yMinor2 = 548.6250000000003;  $yMajor1 548.6250000000003;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="548.6250000000003"
+                x2="2"
+                y2="548.6250000000003"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="1030.317750000001"/>
+      <!--#325 called ticks with
+                    $yMinor1 566.9125000000004;  $yMinor2 = 566.9125000000004;  $yMajor1 566.9125000000004;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="566.9125000000004"
+                x2="2"
+                y2="566.9125000000004"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="1065.539475000001"/>
+      <!--#325 called ticks with
+                    $yMinor1 585.2000000000004;  $yMinor2 = 585.2000000000004;  $yMajor1 585.2000000000004;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.214"
+                x1="-18"
+                y1="585.2000000000004"
+                x2="4"
+                y2="585.2000000000004"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform=" translate(0,-18)  translate(-18,585.2000000000004)  scale(1,-1.4630000000000003)  translate(18,-585.2000000000004) "/>
+      <svg:text debug="svgu:ticks.240"
+                x="-18"
+                y="585.2000000000004"
+                transform=" translate(0,-18)  translate(-18,585.2000000000004)  scale(1,-1.4630000000000003)  translate(18,-585.2000000000004) "
+                style="text-anchor:end;font-size:9;baseline-shift:-50%"
+                transform.validate.y="1100.7612000000013">585.2</svg:text>
+      <!--#325 called ticks with
+                    $yMinor1 603.4875000000004;  $yMinor2 = 603.4875000000004;  $yMajor1 603.4875000000004;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="603.4875000000004"
+                x2="2"
+                y2="603.4875000000004"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="1135.9829250000012"/>
+      <!--#325 called ticks with
+                    $yMinor1 621.7750000000004;  $yMinor2 = 621.7750000000004;  $yMajor1 621.7750000000004;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="621.7750000000004"
+                x2="2"
+                y2="621.7750000000004"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="1171.204650000001"/>
+      <!--#325 called ticks with
+                    $yMinor1 640.0625000000005;  $yMinor2 = 640.0625000000005;  $yMajor1 640.0625000000005;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="640.0625000000005"
+                x2="2"
+                y2="640.0625000000005"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="1206.4263750000011"/>
+      <!--#325 called ticks with
+                    $yMinor1 658.3500000000005;  $yMinor2 = 658.3500000000005;  $yMajor1 658.3500000000005;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.214"
+                x1="-18"
+                y1="658.3500000000005"
+                x2="4"
+                y2="658.3500000000005"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform=" translate(0,-18)  translate(-18,658.3500000000005)  scale(1,-1.4630000000000003)  translate(18,-658.3500000000005) "/>
+      <svg:text debug="svgu:ticks.240"
+                x="-18"
+                y="658.3500000000005"
+                transform=" translate(0,-18)  translate(-18,658.3500000000005)  scale(1,-1.4630000000000003)  translate(18,-658.3500000000005) "
+                style="text-anchor:end;font-size:9;baseline-shift:-50%"
+                transform.validate.y="1241.6481000000013">658.4</svg:text>
+      <!--#325 called ticks with
+                    $yMinor1 676.6375000000005;  $yMinor2 = 676.6375000000005;  $yMajor1 676.6375000000005;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="676.6375000000005"
+                x2="2"
+                y2="676.6375000000005"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="1276.8698250000014"/>
+      <!--#325 called ticks with
+                    $yMinor1 694.9250000000005;  $yMinor2 = 694.9250000000005;  $yMajor1 694.9250000000005;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="694.9250000000005"
+                x2="2"
+                y2="694.9250000000005"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="1312.0915500000015"/>
+      <!--#325 called ticks with
+                    $yMinor1 713.2125000000005;  $yMinor2 = 713.2125000000005;  $yMajor1 713.2125000000005;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="713.2125000000005"
+                x2="2"
+                y2="713.2125000000005"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="1347.3132750000013"/>
+      <!--#325 called ticks with
+                    $yMinor1 731.5000000000006;  $yMinor2 = 731.5000000000006;  $yMajor1 731.5000000000006;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.214"
+                x1="-18"
+                y1="731.5000000000006"
+                x2="4"
+                y2="731.5000000000006"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform=" translate(0,-18)  translate(-18,731.5000000000006)  scale(1,-1.4630000000000003)  translate(18,-731.5000000000006) "/>
+      <svg:text debug="svgu:ticks.240"
+                x="-18"
+                y="731.5000000000006"
+                transform=" translate(0,-18)  translate(-18,731.5000000000006)  scale(1,-1.4630000000000003)  translate(18,-731.5000000000006) "
+                style="text-anchor:end;font-size:9;baseline-shift:-50%"
+                transform.validate.y="1382.5350000000017">731.5</svg:text>
+      <!--#325 called ticks with
+                    $yMinor1 749.7875000000006;  $yMinor2 = 749.7875000000006;  $yMajor1 749.7875000000006;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+   </svg:g>
+   <!--svgu:bars 100 VOLUME 
+               domyslna wysokosc $system_cache__dita__x3A__svg:height=655
+               $system_cache__dita__x3A__svg:cursor.current.height =100;
+               system_cache__dita__x3A__svg:cursor.current.Y=555 $offsetY=$system_cache__dita__x3A__svg:pheight(500)-$system_cache__dita__x3A__svg:offsetY(10) -->
+   <system_cache__dita__x3A__svg:cursor>
+      <system_cache__dita__x3A__svg:offsetY lastY="0"
+                                            increment="10"
+                                            nextY="10"
+                                            system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate="0"
+                                            system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate="600"
+                                            system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate="0"
+                                            system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate="655"
+                                            system_cache__dita__x3A__svg:height__x3A__limit="655"
+                                            system_cache__dita__x3A__svg:width__x3A__limit="600"
+                                            system_cache__dita__x3A__svg:data.y2.bounds.min.coordinate="10"
+                                            debug_migrated_todo="$system_cache__dita__x3A__svg:offsetY wywalone - po co tu string?#295"/>
+      <system_cache__dita__x3A__svg:font-size nextY.height=""
+                                              lastY="10"
+                                              increment="27"
+                                              nextY="37"
+                                              comment=" 27"
+                                              system_cache__dita__x3A__svg:data.y2.bounds.max.length=""
+                                              system_cache__dita__x3A__svg:height__x3A__limit__x3A__validate="true"
+                                              system_cache__dita__x3A__svg:data.y2.bounds.min.coordinate="37"/>
+      <system_cache__dita__x3A__svg:font-size nextY.height=""
+                                              lastY="37"
+                                              increment="18"
+                                              nextY="55"
+                                              comment=" 18"
+                                              system_cache__dita__x3A__svg:data.y2.bounds.max.length=""
+                                              system_cache__dita__x3A__svg:height__x3A__limit__x3A__validate="true"
+                                              system_cache__dita__x3A__svg:data.y2.bounds.min.coordinate="55"/>
+      <system_cache__dita__x3A__svg:pheight nextY.height="100"
+                                            lastY="55"
+                                            increment="500"
+                                            nextY="555"
+                                            comment="#174 after series of graph, lower graph for volumes 500"
+                                            system_cache__dita__x3A__svg:height__x3A__limit__x3A__validate="true"
+                                            system_cache__dita__x3A__svg:data.y2.bounds.max.length="100"
+                                            system_cache__dita__x3A__svg:data.y2.bounds.min.coordinate="555"/>
+   </system_cache__dita__x3A__svg:cursor>
+   <!--svgu:bars.89
+            $minX = 0 ; $maxX = 400 $width = 500
+                $spacing = 100 $spacing*$numBars==400
+                $numBars = 4
+            $minY = 2000 ; $maxxY= 15000 $height =  100 
+                - - cursor.current.Y  = 555-->
+   <svg:g debug="svgu:bars.63  $maxY=15000 $width=500 cursor.current.height=100 "
+          transform=" translate(0,555)  scale(1.25,1)  translate(0,0)  translate(0,100)  scale(1,-0.007692307692307693)  translate(0,-2000) ">
+      <svg:line x1="100"
+                debug="svgu:bars.115"
+                y1="0"
+                x2="100"
+                y2="15000"
+                id="_bar_1"
+                style="stroke-width: 5; stroke: red"
+                transform.validate.y.15000="125[OK_X]/655[OK_Y]"/>
+      <svg:line x1="200"
+                debug="svgu:bars.115"
+                y1="0"
+                x2="200"
+                y2="5000"
+                id="_bar_2"
+                style="stroke-width: 5; stroke: green"
+                transform.validate.y.5000="250[OK_X]/578.0769230769231[OK_Y]"/>
+      <svg:line x1="300"
+                debug="svgu:bars.115"
+                y1="0"
+                x2="300"
+                y2="3000"
+                id="_bar_3"
+                style="stroke-width: 5; stroke: red"
+                transform.validate.y.3000="375[OK_X]/562.6923076923077[OK_Y]"/>
+      <svg:line x1="400"
+                debug="svgu:bars.115"
+                y1="0"
+                x2="400"
+                y2="2000"
+                id="_bar_4"
+                style="stroke-width: 5; stroke: green"
+                transform.validate.y.2000="500[OK_X]/555[OK_Y]"/>
+   </svg:g>
+   <!--svgu:xyPlot 118 $spacing="126"-->
+   <system_cache__dita__x3A__svg:cursor>
+      <system_cache__dita__x3A__svg:offsetY lastY="0"
+                                            increment="10"
+                                            nextY="10"
+                                            system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate="0"
+                                            system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate="600"
+                                            system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate="0"
+                                            system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate="655"
+                                            system_cache__dita__x3A__svg:height__x3A__limit="655"
+                                            system_cache__dita__x3A__svg:width__x3A__limit="600"
+                                            system_cache__dita__x3A__svg:data.y2.bounds.min.coordinate="10"
+                                            debug_migrated_todo="$system_cache__dita__x3A__svg:offsetY wywalone - po co tu string?#295"/>
+      <system_cache__dita__x3A__svg:font-size nextY.height=""
+                                              lastY="10"
+                                              increment="27"
+                                              nextY="37"
+                                              comment=" 27"
+                                              system_cache__dita__x3A__svg:data.y2.bounds.max.length=""
+                                              system_cache__dita__x3A__svg:height__x3A__limit__x3A__validate="true"
+                                              system_cache__dita__x3A__svg:data.y2.bounds.min.coordinate="37"/>
+      <system_cache__dita__x3A__svg:font-size nextY.height=""
+                                              lastY="37"
+                                              increment="18"
+                                              nextY="55"
+                                              comment=" 18"
+                                              system_cache__dita__x3A__svg:data.y2.bounds.max.length=""
+                                              system_cache__dita__x3A__svg:height__x3A__limit__x3A__validate="true"
+                                              system_cache__dita__x3A__svg:data.y2.bounds.min.coordinate="55"/>
+      <system_cache__dita__x3A__svg:pheight nextY.height="100"
+                                            lastY="55"
+                                            increment="500"
+                                            nextY="555"
+                                            comment="#174 after series of graph, lower graph for volumes 500"
+                                            system_cache__dita__x3A__svg:height__x3A__limit__x3A__validate="true"
+                                            system_cache__dita__x3A__svg:data.y2.bounds.max.length="100"
+                                            system_cache__dita__x3A__svg:data.y2.bounds.min.coordinate="555"/>
+   </system_cache__dita__x3A__svg:cursor>
+   <!--#43 called plotxy 
+            
+            $system_cache__dita__x3A__svg:cursor.current.Y = 555
+            $minY = 4445;
+            $minX=1 $maxX = 4;
+           
+            == $Xrange = 3 select="$maxX=4 - $minX=1" (use it min to firstly substract before scale)
+            == $scaleX=166.66666666666666 =number($width=500) div number($Xrange=3) 
+             - so should be offset -$width=
+              $minY = 4445 $maxY = 8000 
+              $Yrange=3555 ="$maxY=8000 - $minY=4445" (use it min to firstly substract before scale)
+              $scaleY=0.02812939521800281 = $height=100 div $Yrange=3555-->
+   <svg:path debug="svgu:xyPlot.48 $maxX=4 $maxY=8000 width=500 height=100 "
+             transform.old="translate(176,110)                 scale(166.66666666666666,-0.02812939521800281)"
+             transform=" translate(0,555)  scale(166.66666666666666,1)  translate(-1,0)  translate(0,100)  scale(1,-0.02812939521800281)  translate(0,-4445) "
+             d="M 1,4445 L 2,5555 L 3,8000 L 4,7500"
+             transform.validate.y.4445="0[OK_X]/555[OK_Y]"
+             transform.validate.y.5555="166.66666666666666[OK_X]/586.2236286919831[OK_Y]"
+             transform.validate.y.8000="333.3333333333333[OK_X]/655[OK_Y]"
+             style="fill: none; stroke: black; stroke-width:1; vector-effect:non-scaling-stroke;"/>
+   <!--svgu:yAxis 130 mala skala po prawej na dole 
+                $system_cache__dita__x3A__svg:cursor.current.Y=555
+                $offsetY = 10
+                $system_cache__dita__x3A__svg:vheight = 100
+                $width = $system_cache__dita__x3A__svg:pwidth = 500
+                svg width="{600}" height="{655}
+                
+            -->
+   <!--#202 name="xMajor2" select="$majorRightExtent = 4"
+            $$system_cache__dita__x3A__svg:cursor.current.Y = 555
+            system_cache__dita__x3A__svg:offsetY.height =$height 100
+            $system_cache__dita__x3A__svg:offsetY = 10
+            $offsetX = 550
+            $minorRightExtent = 2-->
+   <svg:g debug="svgu:yAxis.168 $offsetY=10 $min=0 $max=10000 $width=500 $height=100              $range=10000 cursor.current.Y=555 scale=0.01"
+          transform=" translate(550,0)  translate(0,555)  translate(0,100)  scale(1,-0.01) ">
+      <system_cache__dita__x3A__svg:transform.cursor>
+         <svgu.yAxis.168 system_cache__dita__x3A__svg:offsetX="550"
+                         system_cache__dita__x3A__svg:offsetY="10"
+                         system_cache__dita__x3A__svg:offsetY.height="100"
+                         system_cache__dita__x3A__svg:cursor.current.Y="555"
+                         yscale="0.01"/>
+      </system_cache__dita__x3A__svg:transform.cursor>
+      <svg:line debug="svgu:yAxis.174 1ds=100 sc=0.01"
+                x1="-18"
+                y1="0"
+                x2="-18"
+                y2="10000"
+                transform=" translate(-18,10000)  scale(1,100)  translate(18,-10000) "
+                transform.validate.y1="6.65"
+                transform.validate.y2="106.65"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"/>
+      <!--#246 call ticks with $yMajor1=$min 0; $majorTicks=10 * $minorTicks=4 + 1
+                $$xMajor2== $majorRightExtent=4;
+            -->
+      <!--#325 called ticks with
+                    $yMinor1 0;  $yMinor2 = 0;  $yMajor1 0;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.214"
+                x1="-18"
+                y1="0"
+                x2="4"
+                y2="0"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform=" translate(0,-18)  translate(-18,0)  scale(1,-100)  translate(18,0) "/>
+      <svg:text debug="svgu:ticks.240"
+                x="-18"
+                y="0"
+                transform=" translate(0,-18)  translate(-18,0)  scale(1,-100)  translate(18,0) "
+                style="text-anchor:end;font-size:9;baseline-shift:-50%"
+                transform.validate.y="-1800">0.0</svg:text>
+      <!--#325 called ticks with
+                    $yMinor1 250;  $yMinor2 = 250;  $yMajor1 250;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="250"
+                x2="2"
+                y2="250"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="47950"/>
+      <!--#325 called ticks with
+                    $yMinor1 500;  $yMinor2 = 500;  $yMajor1 500;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="500"
+                x2="2"
+                y2="500"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="97700"/>
+      <!--#325 called ticks with
+                    $yMinor1 750;  $yMinor2 = 750;  $yMajor1 750;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="750"
+                x2="2"
+                y2="750"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="147450"/>
+      <!--#325 called ticks with
+                    $yMinor1 1000;  $yMinor2 = 1000;  $yMajor1 1000;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.214"
+                x1="-18"
+                y1="1000"
+                x2="4"
+                y2="1000"
+                style="stroke-width:99; stroke:red; vector-effect:non-scaling-stroke"
+                transform=" translate(0,-18)  translate(-18,1000)  scale(1,-100)  translate(18,-1000) "/>
+      <svg:text debug="svgu:ticks.240"
+                x="-18"
+                y="1000"
+                transform=" translate(0,-18)  translate(-18,1000)  scale(1,-100)  translate(18,-1000) "
+                style="text-anchor:end;font-size:9;baseline-shift:-50%"
+                transform.validate.y="197200">1000.0</svg:text>
+      <!--#325 called ticks with
+                    $yMinor1 1250;  $yMinor2 = 1250;  $yMajor1 1250;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="1250"
+                x2="2"
+                y2="1250"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="246950"/>
+      <!--#325 called ticks with
+                    $yMinor1 1500;  $yMinor2 = 1500;  $yMajor1 1500;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="1500"
+                x2="2"
+                y2="1500"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="296700"/>
+      <!--#325 called ticks with
+                    $yMinor1 1750;  $yMinor2 = 1750;  $yMajor1 1750;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="1750"
+                x2="2"
+                y2="1750"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="346450"/>
+      <!--#325 called ticks with
+                    $yMinor1 2000;  $yMinor2 = 2000;  $yMajor1 2000;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.214"
+                x1="-18"
+                y1="2000"
+                x2="4"
+                y2="2000"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform=" translate(0,-18)  translate(-18,2000)  scale(1,-100)  translate(18,-2000) "/>
+      <svg:text debug="svgu:ticks.240"
+                x="-18"
+                y="2000"
+                transform=" translate(0,-18)  translate(-18,2000)  scale(1,-100)  translate(18,-2000) "
+                style="text-anchor:end;font-size:9;baseline-shift:-50%"
+                transform.validate.y="396200">2000.0</svg:text>
+      <!--#325 called ticks with
+                    $yMinor1 2250;  $yMinor2 = 2250;  $yMajor1 2250;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="2250"
+                x2="2"
+                y2="2250"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="445950"/>
+      <!--#325 called ticks with
+                    $yMinor1 2500;  $yMinor2 = 2500;  $yMajor1 2500;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="2500"
+                x2="2"
+                y2="2500"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="495700"/>
+      <!--#325 called ticks with
+                    $yMinor1 2750;  $yMinor2 = 2750;  $yMajor1 2750;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="2750"
+                x2="2"
+                y2="2750"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="545450"/>
+      <!--#325 called ticks with
+                    $yMinor1 3000;  $yMinor2 = 3000;  $yMajor1 3000;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.214"
+                x1="-18"
+                y1="3000"
+                x2="4"
+                y2="3000"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform=" translate(0,-18)  translate(-18,3000)  scale(1,-100)  translate(18,-3000) "/>
+      <svg:text debug="svgu:ticks.240"
+                x="-18"
+                y="3000"
+                transform=" translate(0,-18)  translate(-18,3000)  scale(1,-100)  translate(18,-3000) "
+                style="text-anchor:end;font-size:9;baseline-shift:-50%"
+                transform.validate.y="595200">3000.0</svg:text>
+      <!--#325 called ticks with
+                    $yMinor1 3250;  $yMinor2 = 3250;  $yMajor1 3250;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="3250"
+                x2="2"
+                y2="3250"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="644950"/>
+      <!--#325 called ticks with
+                    $yMinor1 3500;  $yMinor2 = 3500;  $yMajor1 3500;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="3500"
+                x2="2"
+                y2="3500"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="694700"/>
+      <!--#325 called ticks with
+                    $yMinor1 3750;  $yMinor2 = 3750;  $yMajor1 3750;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="3750"
+                x2="2"
+                y2="3750"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="744450"/>
+      <!--#325 called ticks with
+                    $yMinor1 4000;  $yMinor2 = 4000;  $yMajor1 4000;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.214"
+                x1="-18"
+                y1="4000"
+                x2="4"
+                y2="4000"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform=" translate(0,-18)  translate(-18,4000)  scale(1,-100)  translate(18,-4000) "/>
+      <svg:text debug="svgu:ticks.240"
+                x="-18"
+                y="4000"
+                transform=" translate(0,-18)  translate(-18,4000)  scale(1,-100)  translate(18,-4000) "
+                style="text-anchor:end;font-size:9;baseline-shift:-50%"
+                transform.validate.y="794200">4000.0</svg:text>
+      <!--#325 called ticks with
+                    $yMinor1 4250;  $yMinor2 = 4250;  $yMajor1 4250;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="4250"
+                x2="2"
+                y2="4250"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="843950"/>
+      <!--#325 called ticks with
+                    $yMinor1 4500;  $yMinor2 = 4500;  $yMajor1 4500;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="4500"
+                x2="2"
+                y2="4500"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="893700"/>
+      <!--#325 called ticks with
+                    $yMinor1 4750;  $yMinor2 = 4750;  $yMajor1 4750;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="4750"
+                x2="2"
+                y2="4750"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="943450"/>
+      <!--#325 called ticks with
+                    $yMinor1 5000;  $yMinor2 = 5000;  $yMajor1 5000;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.214"
+                x1="-18"
+                y1="5000"
+                x2="4"
+                y2="5000"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform=" translate(0,-18)  translate(-18,5000)  scale(1,-100)  translate(18,-5000) "/>
+      <svg:text debug="svgu:ticks.240"
+                x="-18"
+                y="5000"
+                transform=" translate(0,-18)  translate(-18,5000)  scale(1,-100)  translate(18,-5000) "
+                style="text-anchor:end;font-size:9;baseline-shift:-50%"
+                transform.validate.y="993200">5000.0</svg:text>
+      <!--#325 called ticks with
+                    $yMinor1 5250;  $yMinor2 = 5250;  $yMajor1 5250;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="5250"
+                x2="2"
+                y2="5250"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="1.04295E6"/>
+      <!--#325 called ticks with
+                    $yMinor1 5500;  $yMinor2 = 5500;  $yMajor1 5500;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="5500"
+                x2="2"
+                y2="5500"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="1.0927E6"/>
+      <!--#325 called ticks with
+                    $yMinor1 5750;  $yMinor2 = 5750;  $yMajor1 5750;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="5750"
+                x2="2"
+                y2="5750"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="1.14245E6"/>
+      <!--#325 called ticks with
+                    $yMinor1 6000;  $yMinor2 = 6000;  $yMajor1 6000;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.214"
+                x1="-18"
+                y1="6000"
+                x2="4"
+                y2="6000"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform=" translate(0,-18)  translate(-18,6000)  scale(1,-100)  translate(18,-6000) "/>
+      <svg:text debug="svgu:ticks.240"
+                x="-18"
+                y="6000"
+                transform=" translate(0,-18)  translate(-18,6000)  scale(1,-100)  translate(18,-6000) "
+                style="text-anchor:end;font-size:9;baseline-shift:-50%"
+                transform.validate.y="1.1922E6">6000.0</svg:text>
+      <!--#325 called ticks with
+                    $yMinor1 6250;  $yMinor2 = 6250;  $yMajor1 6250;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="6250"
+                x2="2"
+                y2="6250"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="1.24195E6"/>
+      <!--#325 called ticks with
+                    $yMinor1 6500;  $yMinor2 = 6500;  $yMajor1 6500;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="6500"
+                x2="2"
+                y2="6500"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="1.2917E6"/>
+      <!--#325 called ticks with
+                    $yMinor1 6750;  $yMinor2 = 6750;  $yMajor1 6750;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="6750"
+                x2="2"
+                y2="6750"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="1.34145E6"/>
+      <!--#325 called ticks with
+                    $yMinor1 7000;  $yMinor2 = 7000;  $yMajor1 7000;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.214"
+                x1="-18"
+                y1="7000"
+                x2="4"
+                y2="7000"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform=" translate(0,-18)  translate(-18,7000)  scale(1,-100)  translate(18,-7000) "/>
+      <svg:text debug="svgu:ticks.240"
+                x="-18"
+                y="7000"
+                transform=" translate(0,-18)  translate(-18,7000)  scale(1,-100)  translate(18,-7000) "
+                style="text-anchor:end;font-size:9;baseline-shift:-50%"
+                transform.validate.y="1.3912E6">7000.0</svg:text>
+      <!--#325 called ticks with
+                    $yMinor1 7250;  $yMinor2 = 7250;  $yMajor1 7250;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="7250"
+                x2="2"
+                y2="7250"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="1.44095E6"/>
+      <!--#325 called ticks with
+                    $yMinor1 7500;  $yMinor2 = 7500;  $yMajor1 7500;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="7500"
+                x2="2"
+                y2="7500"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="1.4907E6"/>
+      <!--#325 called ticks with
+                    $yMinor1 7750;  $yMinor2 = 7750;  $yMajor1 7750;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="7750"
+                x2="2"
+                y2="7750"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="1.54045E6"/>
+      <!--#325 called ticks with
+                    $yMinor1 8000;  $yMinor2 = 8000;  $yMajor1 8000;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.214"
+                x1="-18"
+                y1="8000"
+                x2="4"
+                y2="8000"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform=" translate(0,-18)  translate(-18,8000)  scale(1,-100)  translate(18,-8000) "/>
+      <svg:text debug="svgu:ticks.240"
+                x="-18"
+                y="8000"
+                transform=" translate(0,-18)  translate(-18,8000)  scale(1,-100)  translate(18,-8000) "
+                style="text-anchor:end;font-size:9;baseline-shift:-50%"
+                transform.validate.y="1.5902E6">8000.0</svg:text>
+      <!--#325 called ticks with
+                    $yMinor1 8250;  $yMinor2 = 8250;  $yMajor1 8250;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="8250"
+                x2="2"
+                y2="8250"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="1.63995E6"/>
+      <!--#325 called ticks with
+                    $yMinor1 8500;  $yMinor2 = 8500;  $yMajor1 8500;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="8500"
+                x2="2"
+                y2="8500"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="1.6897E6"/>
+      <!--#325 called ticks with
+                    $yMinor1 8750;  $yMinor2 = 8750;  $yMajor1 8750;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="8750"
+                x2="2"
+                y2="8750"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="1.73945E6"/>
+      <!--#325 called ticks with
+                    $yMinor1 9000;  $yMinor2 = 9000;  $yMajor1 9000;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.214"
+                x1="-18"
+                y1="9000"
+                x2="4"
+                y2="9000"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform=" translate(0,-18)  translate(-18,9000)  scale(1,-100)  translate(18,-9000) "/>
+      <svg:text debug="svgu:ticks.240"
+                x="-18"
+                y="9000"
+                transform=" translate(0,-18)  translate(-18,9000)  scale(1,-100)  translate(18,-9000) "
+                style="text-anchor:end;font-size:9;baseline-shift:-50%"
+                transform.validate.y="1.7892E6">9000.0</svg:text>
+      <!--#325 called ticks with
+                    $yMinor1 9250;  $yMinor2 = 9250;  $yMajor1 9250;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="9250"
+                x2="2"
+                y2="9250"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="1.83895E6"/>
+      <!--#325 called ticks with
+                    $yMinor1 9500;  $yMinor2 = 9500;  $yMajor1 9500;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="9500"
+                x2="2"
+                y2="9500"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="1.8887E6"/>
+      <!--#325 called ticks with
+                    $yMinor1 9750;  $yMinor2 = 9750;  $yMajor1 9750;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.257"
+                x1="-2"
+                y1="9750"
+                x2="2"
+                y2="9750"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform.validate.y1="1.93845E6"/>
+      <!--#325 called ticks with
+                    $yMinor1 10000;  $yMinor2 = 10000;  $yMajor1 10000;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+      <svg:line debug="svgu:ticks.214"
+                x1="-18"
+                y1="10000"
+                x2="4"
+                y2="10000"
+                style="stroke-width:0.5;stroke:black;vector-effect:non-scaling-stroke"
+                transform=" translate(0,-18)  translate(-18,10000)  scale(1,-100)  translate(18,-10000) "/>
+      <svg:text debug="svgu:ticks.240"
+                x="-18"
+                y="10000"
+                transform=" translate(0,-18)  translate(-18,10000)  scale(1,-100)  translate(18,-10000) "
+                style="text-anchor:end;font-size:9;baseline-shift:-50%"
+                transform.validate.y="1.9882E6">10000.0</svg:text>
+      <!--#325 called ticks with
+                    $yMinor1 10250;  $yMinor2 = 10250;  $yMajor1 10250;
+                    $xMinor1 = -2 $xMinor2 = 2;  $xMajor2 4-->
+   </svg:g>
+   <system_cache__dita__x3A__svg:cursor>
+      <system_cache__dita__x3A__svg:offsetY lastY="0"
+                                            increment="10"
+                                            nextY="10"
+                                            system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate="0"
+                                            system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate="600"
+                                            system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate="0"
+                                            system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate="655"
+                                            system_cache__dita__x3A__svg:height__x3A__limit="655"
+                                            system_cache__dita__x3A__svg:width__x3A__limit="600"
+                                            system_cache__dita__x3A__svg:data.y2.bounds.min.coordinate="10"
+                                            debug_migrated_todo="$system_cache__dita__x3A__svg:offsetY wywalone - po co tu string?#295"/>
+      <system_cache__dita__x3A__svg:font-size nextY.height=""
+                                              lastY="10"
+                                              increment="27"
+                                              nextY="37"
+                                              comment=" 27"
+                                              system_cache__dita__x3A__svg:data.y2.bounds.max.length=""
+                                              system_cache__dita__x3A__svg:height__x3A__limit__x3A__validate="true"
+                                              system_cache__dita__x3A__svg:data.y2.bounds.min.coordinate="37"/>
+      <system_cache__dita__x3A__svg:font-size nextY.height=""
+                                              lastY="37"
+                                              increment="18"
+                                              nextY="55"
+                                              comment=" 18"
+                                              system_cache__dita__x3A__svg:data.y2.bounds.max.length=""
+                                              system_cache__dita__x3A__svg:height__x3A__limit__x3A__validate="true"
+                                              system_cache__dita__x3A__svg:data.y2.bounds.min.coordinate="55"/>
+      <system_cache__dita__x3A__svg:pheight nextY.height="100"
+                                            lastY="55"
+                                            increment="500"
+                                            nextY="555"
+                                            comment="#174 after series of graph, lower graph for volumes 500"
+                                            system_cache__dita__x3A__svg:height__x3A__limit__x3A__validate="true"
+                                            system_cache__dita__x3A__svg:data.y2.bounds.max.length="100"
+                                            system_cache__dita__x3A__svg:data.y2.bounds.min.coordinate="555"/>
+   </system_cache__dita__x3A__svg:cursor>
+</svg:svg>

+ 71 - 6
SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.plot.complex.test.xsl

@@ -17,6 +17,8 @@
     
     <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"/>
@@ -51,6 +53,15 @@
             <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 -->
@@ -95,6 +106,15 @@
             <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>
             
@@ -102,7 +122,7 @@
                 <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="system_cache__dita__x3A__svg:font-size" select="$system_cache__dita__x3A__svg:title.font-size.default"/>
-                    <xsl:with-param name="system_cache__dita__x3A__svg:height__x3A__limit__x3A__validate" select="$system_cache__dita__x3A__svg: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>
             
@@ -127,7 +147,7 @@
                 <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="system_cache__dita__x3A__svg:font-size" select="$system_cache__dita__x3A__svg:shortdesc.font-size.default"/>
-                    <xsl:with-param name="system_cache__dita__x3A__svg:height__x3A__limit__x3A__validate" select="$system_cache__dita__x3A__svg: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.Y" select="system_cache__dita__x3A__svg:cursor.current.Y($system_cache__dita__x3A__svg:cursor)"/>
@@ -155,11 +175,40 @@
             -->
             <xsl:comment>svgu:openHiLoClose 76</xsl:comment>
             
+            <!--<xsl:variable name="interested_row.relations-1415_000001" select="doc('file:/opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-1415_000001/interested_row.xml')"/>-->
+            
+            
+            <xsl:copy-of select="$system_cache__dita__x3A__svg:cursor"/>
+            
+            <xsl:comment>#174 applying for powiazania rows lower</xsl:comment>  
+            <xsl:variable name="system_cache__dita__x3A__svg:data__x3A__assign">
+                <xsl:apply-templates mode="system_cache__dita__x3A__svg:data__x3A__assign" select="doc('file:/opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-1415_000001/interested_row.xml')">
+                    <xsl:with-param name="system_cache__dita__x3A__svg:cursor" select="$system_cache__dita__x3A__svg:cursor"/>
+                </xsl:apply-templates>
+            </xsl:variable>
+                    <!--<xsl:for-each select="$interested_row.relations-1415_000001/descendant-or-self::BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row">-->
+                        <!-- pierw kowalscy jak powiazani-->
+                        
+                        <!-- pierw umowy na dol -->
+                    <!--</xsl:for-each>-->
+            <xsl:copy-of select="$system_cache__dita__x3A__svg:data__x3A__assign"/>
+            <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"/>)</xsl:comment>
+            <xsl:apply-templates mode="system_cache__dita__x3A__svg:openHiLoClose" select="$system_cache__dita__x3A__svg:data__x3A__assign">
+                <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:apply-templates>
+                
+            <xsl:comment>#1186-B EOF lower applying powiazania for hi low</xsl:comment>
+            
             <xsl:call-template name="svgu:openHiLoClose">
                 <xsl:with-param name="openData" select="//Open"/>            
                 <xsl:with-param name="hiData" select="//High"/>            
                 <xsl:with-param name="loData" select="//Low"/>            
-                <xsl:with-param name="closeData" select="//Close"/>            
+                <xsl:with-param name="closeData" select="//Close"/>
+                
                 <!--<xsl:with-param name="min" />--><!-- select="$system_cache__dita__x3A__svg:min" -->
                 <!--<xsl:with-param name="max" />--><!-- select="$system_cache__dita__x3A__svg:max" -->
                 <xsl:with-param name="width" select="$system_cache__dita__x3A__svg:pwidth"/> 
@@ -169,6 +218,8 @@
                 <xsl:with-param name="boundingBox" select="1"/>
                 <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:cursor.current.Y" select="$system_cache__dita__x3A__svg:cursor.current.Y"/>
+                <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:call-template>
             
@@ -183,6 +234,9 @@
                 <xsl:with-param name="max" select="$system_cache__dita__x3A__svg:max"/>
                 <xsl:with-param name="context" select=" 'price' "/>
                 <xsl:with-param name="labelMajor" select="true()"/>
+                <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:cursor" select="$system_cache__dita__x3A__svg:cursor"/>
                 <xsl:with-param name="system_cache__dita__x3A__svg:cursor.current.Y" select="$system_cache__dita__x3A__svg:cursor.current.Y"/>
             </xsl:call-template>
@@ -192,18 +246,26 @@
                 <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="system_cache__dita__x3A__svg:pheight" select="$system_cache__dita__x3A__svg:pheight"/>
-                    <xsl:with-param name="system_cache__dita__x3A__svg:height__x3A__limit__x3A__validate" select="$system_cache__dita__x3A__svg: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:with-param name="comment">#174 after series of graph, lower graph for volumes</xsl:with-param>
                     <xsl:with-param name="nextY.height" select="$system_cache__dita__x3A__svg:vheight"/>
                 </xsl:call-template>
             </xsl:variable>
+            
+            
+            
             <xsl:variable name="system_cache__dita__x3A__svg:cursor.current.Y" select="system_cache__dita__x3A__svg:cursor.current.Y($system_cache__dita__x3A__svg:cursor)"/>
             <xsl:variable name="system_cache__dita__x3A__svg:cursor.current.height" select="system_cache__dita__x3A__svg:cursor.current.height($system_cache__dita__x3A__svg:cursor)"/>
             
             
-           <xsl:comment>svgu:bars 100 VOLUME $system_cache__dita__x3A__svg:height=<xsl:value-of select="$system_cache__dita__x3A__svg:height"/> 
+           <xsl:comment>svgu:bars 100 VOLUME 
+               domyslna wysokosc $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"/> $offsetY=$system_cache__dita__x3A__svg:pheight(<xsl:value-of select="$system_cache__dita__x3A__svg:pheight"/>)-$system_cache__dita__x3A__svg:offsetY(<xsl:value-of select="$system_cache__dita__x3A__svg:offsetY"/>) </xsl:comment>
             
+            <xsl:copy-of select="$system_cache__dita__x3A__svg:cursor"></xsl:copy-of>
+            
+            
             <xsl:call-template name="svgu:bars">
                 <xsl:with-param name="data" select="//Volume"/>
                 <xsl:with-param name="width" select="$system_cache__dita__x3A__svg:pwidth"/> 
@@ -212,8 +274,11 @@
                 <xsl:with-param name="offsetX" select="$system_cache__dita__x3A__svg:offsetX"/>
                 <xsl:with-param name="offsetY" select="$system_cache__dita__x3A__svg:offsetY"/><!-- $system_cache__dita__x3A__svg:pheight - $system_cache__dita__x3A__svg:offsetY -->
                 <xsl:with-param name="barLabel" select="false( )"/>
+                <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="min" select="$system_cache__dita__x3A__svg:min"/>-->
-                <xsl:with-param name="max" select="$system_cache__dita__x3A__svg:max"/>
+                <!--<xsl:with-param name="max" select="$system_cache__dita__x3A__svg:max"/>-->
                 <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:cursor.current.Y" select="$system_cache__dita__x3A__svg:cursor.current.Y"/>
             </xsl:call-template>

+ 59 - 0
SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.plot.pie.test.svg

@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE svg:svg
+  PUBLIC "-//W3C//DTD SVG 1.0/EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
+<svg:svg xmlns:svg="http://www.w3.org/2000/svg" width="500" height="500">
+   <svg:path xmlns:emath="http://www.exslt.org/math"
+             style="stroke:black;             stroke-width:0.5;             fill: red"
+             id="_pieSlice_1"
+             d="M 249.99999767948967 150.00000000000003 A 100 100,0,0,1,272.2520914564912 152.50720833922156 L 250 250 L 249.99999767948967 150.00000000000003"/>
+   <svg:path xmlns:emath="http://www.exslt.org/math"
+             style="stroke:black;             stroke-width:0.5;             fill: red"
+             id="_pieSlice_2"
+             d="M 272.2520914564912 152.50720833922156 A 100 100,0,0,1,312.3489791491602 171.81685092644585 L 250 250 L 272.2520914564912 152.50720833922156"/>
+   <svg:path xmlns:emath="http://www.exslt.org/math"
+             style="stroke:black;             stroke-width:0.5;             fill: red"
+             id="_pieSlice_3"
+             d="M 312.3489791491602 171.81685092644585 A 100 100,0,0,1,347.49279114441634 227.74790628117853 L 250 250 L 312.3489791491602 171.81685092644585"/>
+   <svg:path xmlns:emath="http://www.exslt.org/math"
+             style="stroke:black;             stroke-width:0.5;             fill: red"
+             id="_pieSlice_4"
+             d="M 347.49279114441634 227.74790628117853 A 100 100,0,0,1,328.1831476267396 312.3489809634082 L 250 250 L 347.49279114441634 227.74790628117853"/>
+   <svg:path xmlns:emath="http://www.exslt.org/math"
+             style="stroke:black;             stroke-width:0.5;             fill: red"
+             id="_pieSlice_5"
+             d="M 328.1831476267396 312.3489809634082 A 100 100,0,0,1,227.7479040188482 347.4927906280542 L 250 250 L 328.1831476267396 312.3489809634082"/>
+   <svg:path xmlns:emath="http://www.exslt.org/math"
+             style="stroke:black;             stroke-width:0.5;             fill: red"
+             id="_pieSlice_6"
+             d="M 227.7479040188482 347.4927906280542 A 100 100,0,0,1,250.00000696153097 150.00000000000023 L 250 250 L 227.7479040188482 347.4927906280542"/>
+   <svg:text xmlns:emath="http://www.exslt.org/math"
+             x="263.9955683659971"
+             y="125.78597476084795"
+             style="text-anchor:middle;font-size: 16;"
+             id="_pieSliceLabel_1">1.0</svg:text>
+   <svg:text xmlns:emath="http://www.exslt.org/math"
+             x="304.2354759765293"
+             y="137.37889564739956"
+             style="text-anchor:middle;font-size: 16;"
+             id="_pieSliceLabel_2">2.0</svg:text>
+   <svg:text xmlns:emath="http://www.exslt.org/math"
+             x="355.84053052531044"
+             y="183.49599938258729"
+             style="text-anchor:start;font-size: 16;"
+             id="_pieSliceLabel_3">3.0</svg:text>
+   <svg:text xmlns:emath="http://www.exslt.org/math"
+             x="371.8659889305204"
+             y="277.81511714852695"
+             style="text-anchor:start;font-size: 16;"
+             id="_pieSliceLabel_4">4.0</svg:text>
+   <svg:text xmlns:emath="http://www.exslt.org/math"
+             x="291.2848805932172"
+             y="367.9854170412759"
+             style="text-anchor:middle;font-size: 16;"
+             id="_pieSliceLabel_5">5.0</svg:text>
+   <svg:text xmlns:emath="http://www.exslt.org/math"
+             x="125.78597443607937"
+             y="236.00443451640217"
+             style="text-anchor:end;font-size: 16;"
+             id="_pieSliceLabel_6">13.0</svg:text>
+</svg:svg>

+ 305 - 23
SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.utils.cursor.xsl

@@ -23,37 +23,215 @@
     
     
     
+    
+    <xsl:template name="system_cache__dita__x3A__svg:cursor.read">
+        <xsl:param name="system_cache__dita__x3A__svg:cursor" required="yes" tunnel="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:cursor.current.Y" select="system_cache__dita__x3A__svg:cursor.current.Y($system_cache__dita__x3A__svg:cursor)"/>
+        <xsl:param name="system_cache__dita__x3A__svg:width__x3A__limit" select="system_cache__dita__x3A__svg:width__x3A__limit__x3A__extract($system_cache__dita__x3A__svg:cursor)"/>
+        <xsl:param name="system_cache__dita__x3A__svg:height__x3A__limit" select="system_cache__dita__x3A__svg:height__x3A__limit__x3A__extract($system_cache__dita__x3A__svg:cursor)"/>
+        <xsl:param name="system_cache__dita__x3A__svg:cursor.current.height" select="system_cache__dita__x3A__svg:cursor.current.height($system_cache__dita__x3A__svg:cursor)"/>
+        <xsl:apply-templates mode="system_cache__dita__x3A__svg:cursor.read" select="$system_cache__dita__x3A__svg:cursor"/>
+        <!--<xsl:call-template name="system_cache__dita__x3A__svg:resolution.value.bounds">
+            <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.axis" select="$system_cache__dita__x3A__svg:resolution.coordinate.axis.y" tunnel="yes"/>
+            <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.index" select="$system_cache__dita__x3A__svg:resolution.coordinate.index" tunnel="yes"/>
+            <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.class" select="system_cache__dita__x3A__svg:resolution.coordinate.label()" tunnel="yes"/>
+            <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.data" select="system_cache__dita__x3A__svg:resolution.coordinate.data(system_cache__dita__x3A__svg:resolution.coordinate.axis.y(),
+                system_cache__dita__x3A__svg:resolution.coordinate.index(),system_cache__dita__x3A__svg:resolution.coordinate.cursor())" tunnel="yes"/>
+        </xsl:call-template>-->
+    </xsl:template>
+    
+    <xsl:template mode="system_cache__dita__x3A__svg:cursor.read" match="*">
+        <xsl:copy>
+            
+            <xsl:choose>
+                <xsl:when test="not(following-sibling::*) and preceding-sibling::*">
+                    <xsl:apply-templates mode="#current" select="@*">
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.latest" select="true()"/>
+                    </xsl:apply-templates>
+                </xsl:when>
+                <xsl:when test="following-sibling::*">
+                    <xsl:apply-templates mode="#current" select="@*">
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.expired" select="true()"/>
+                    </xsl:apply-templates>
+                </xsl:when>
+                <xsl:otherwise><xsl:apply-templates mode="#current" select="@*">
+                    <!--<xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.expired" select="true()"/>-->
+                </xsl:apply-templates></xsl:otherwise>
+            </xsl:choose>
+            <xsl:apply-templates mode="#current" />
+        </xsl:copy>
+    </xsl:template>
+    
+        
+   
+        
+    
+    <xsl:template mode="system_cache__dita__x3A__svg:cursor.read" match="@*[ contains( name(), system_cache__dita__x3A__svg:resolution.coordinate.latest())]">
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.expired"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.latest"/>    
+            <xsl:choose>
+                <xsl:when test="$system_cache__dita__x3A__svg:resolution.coordinate.expired">
+                    <xsl:attribute name="{replace(name(),system_cache__dita__x3A__svg:resolution.coordinate.latest(),system_cache__dita__x3A__svg:resolution.coordinate.expired())}" select="."/>
+                </xsl:when>
+                <xsl:otherwise>
+                    <xsl:copy-of select="."/>
+                </xsl:otherwise>
+            </xsl:choose>
+        
+        </xsl:template>
+    
+    <xsl:template mode="system_cache__dita__x3A__svg:cursor.read" match="@*[ contains( name(), system_cache__dita__x3A__svg:resolution.coordinate.expired())]">
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.expired"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.latest"/>
+                <xsl:choose>
+                    <xsl:when test="$system_cache__dita__x3A__svg:resolution.coordinate.expired">
+                        <xsl:copy-of select="."/>
+                    </xsl:when>
+                    <xsl:otherwise>
+                        <xsl:attribute name="{replace(name(),system_cache__dita__x3A__svg:resolution.coordinate.latest(),system_cache__dita__x3A__svg:resolution.coordinate.expired())}" select="."/>
+                        
+                    </xsl:otherwise>
+                </xsl:choose>
+        
+        </xsl:template>
+        
+     
+            
+            
+    
+    <xsl:template mode="system_cache__dita__x3A__svg:cursor.read" match="@system_cache__dita__x3A__svg:height__x3A__limit">
+        <xsl:copy-of select="."/>
+        <xsl:attribute name="{system_cache__dita__x3A__svg:resolution.coordinate.data(system_cache__dita__x3A__svg:resolution.coordinate.axis.y(),
+            system_cache__dita__x3A__svg:resolution.coordinate.index.2(),system_cache__dita__x3A__svg:resolution.coordinate.cursor.bounds.max.length())}" select="."/>
+    </xsl:template>
+    
+    <xsl:template mode="system_cache__dita__x3A__svg:cursor.read" match="@system_cache__dita__x3A__svg:width__x3A__limit">
+        <xsl:copy-of select="."/>
+        <xsl:attribute name="{system_cache__dita__x3A__svg:resolution.coordinate.data(system_cache__dita__x3A__svg:resolution.coordinate.axis.x(),
+            system_cache__dita__x3A__svg:resolution.coordinate.index.2(),system_cache__dita__x3A__svg:resolution.coordinate.cursor.bounds.max.length())}" select="."/>
+    </xsl:template>
+    
+    <xsl:template mode="system_cache__dita__x3A__svg:cursor.read" match="@nextY.height">
+        <xsl:copy-of select="."/>
+        
+        <!-- @nextY.height --> <xsl:attribute name="{system_cache__dita__x3A__svg:resolution.coordinate.data(system_cache__dita__x3A__svg:resolution.coordinate.axis.y(),
+            system_cache__dita__x3A__svg:resolution.coordinate.index.2(),system_cache__dita__x3A__svg:resolution.coordinate.cursor.bounds.max.length())}" select="."/>
+    </xsl:template>
+    
+    <xsl:template mode="system_cache__dita__x3A__svg:cursor.read" match="@nextY">
+        <xsl:copy-of select="."/>
+        <!-- @nextY --><xsl:attribute name="{system_cache__dita__x3A__svg:resolution.coordinate.data(system_cache__dita__x3A__svg:resolution.coordinate.axis.y(),
+            system_cache__dita__x3A__svg:resolution.coordinate.index.2(),system_cache__dita__x3A__svg:resolution.coordinate.cursor.bounds.max.coordinate())}" select="."/>
+    </xsl:template>
+    
+    <xsl:template mode="system_cache__dita__x3A__svg:cursor.read" match="@lastY">
+        <xsl:copy-of select="."/>
+        <!-- @lastY --><xsl:attribute name="{system_cache__dita__x3A__svg:resolution.coordinate.data(system_cache__dita__x3A__svg:resolution.coordinate.axis.y(),
+            system_cache__dita__x3A__svg:resolution.coordinate.index.2(),system_cache__dita__x3A__svg:resolution.coordinate.cursor.bounds.min.coordinate())}" select="."/>
+    </xsl:template>
+    
+    <xsl:template mode="system_cache__dita__x3A__svg:cursor.read" match="@*">
+        <xsl:copy-of select="."/>
+    </xsl:template>
+    
+    <xsl:template mode="system_cache__dita__x3A__svg:cursor.read" match="text()|comment()">
+        <xsl:copy-of select="."/>
+    </xsl:template>
+    
     <xsl:template name="system_cache__dita__x3A__svg:cursor.commit"><!-- to add context item generated -->
         <xsl:param name="system_cache__dita__x3A__svg:cursor" required="yes"/>
         <xsl:param name="system_cache__dita__x3A__svg:font-size" />
         <xsl:param name="system_cache__dita__x3A__svg:pheight"/>
         <xsl:param name="system_cache__dita__x3A__svg:vheight"/>
-        <xsl:param name="system_cache__dita__x3A__svg:height__x3A__limit__x3A__validate" required="yes"/><!--  -->
-        <xsl:param name="nextY.height"/>
+        <xsl:param name="system_cache__dita__x3A__svg:height__x3A__limit__x3A__validate"  tunnel="yes"/><!--required="yes"  -->
+        <xsl:param name="nextY.height"/><!-- example <system_cache__dita__x3A__svg:pheight 
+                                            nextY.height="100"  mastepny rekord ma miec wysokosc 100
+                                            lastY="55"
+                                            increment="500"   ten rekord ma miec dostepne 500 pikseli
+                                            nextY="555"   nastepny rekord zaczybna sie od piksela 555
+                                            comment="#174 after series of graph, lower graph for volumes"
+                                            system_cache__dita__x3A__svg:height__x3A__limit__x3A__validate="true"/> -->
         <xsl:param name="comment"/>
+        <xsl:param name="id" />
+        <xsl:param name="system_cache__dita__x3A__svg:increment"> <!-- ujednolicona zmienna do wartosci increment -->
+            <xsl:choose>
+                <xsl:when test="$system_cache__dita__x3A__svg:font-size"><xsl:value-of select="$system_cache__dita__x3A__svg:font-size"/></xsl:when>
+                <xsl:when test="$system_cache__dita__x3A__svg:pheight"><xsl:value-of select="$system_cache__dita__x3A__svg:pheight"/></xsl:when>
+                <xsl:when test="$system_cache__dita__x3A__svg:vheight"><xsl:value-of select="$system_cache__dita__x3A__svg:vheight"/></xsl:when>
+            </xsl:choose>
+        </xsl:param><!-- to oznaczania , ze cos ma dostac taki wymiar Y -->
         <!--<xsl:param name="system_cache__dita__x3A__svg:offsetY" select="0"/>-->
         
+        
+        
         <system_cache__dita__x3A__svg:cursor>
             <xsl:copy-of select="$system_cache__dita__x3A__svg:cursor/system_cache__dita__x3A__svg:cursor/*"/>
             
             <xsl:choose>
+                <xsl:when test="$id">
+                    <xsl:element name="{$id}">
+                        <xsl:if test="$comment"><xsl:attribute name="comment" select="$comment"/></xsl:if>
+                        <xsl:call-template name="system_cache__dita__x3A__svg:cursor.increment__x3A__assign">
+                            <xsl:with-param name="system_cache__dita__x3A__svg:increment" select="$system_cache__dita__x3A__svg:increment"/>
+                        </xsl:call-template>
+                        <xsl:call-template name="system_cache__dita__x3A__svg:cursor.lastY__x3A__assign">
+                            <xsl:with-param name="system_cache__dita__x3A__svg:cursor" select="$system_cache__dita__x3A__svg:cursor"/>
+                        </xsl:call-template>
+                        <xsl:call-template name="system_cache__dita__x3A__svg:cursor.nextY__x3A__assign">
+                            <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:increment" select="$system_cache__dita__x3A__svg:increment"/>
+                        </xsl:call-template>
+                    </xsl:element>
+                </xsl:when>
                 <xsl:when test="$system_cache__dita__x3A__svg:font-size">
-                    <system_cache__dita__x3A__svg:font-size nextY.height="{$nextY.height}" lastY="{sum($system_cache__dita__x3A__svg:cursor//@increment)}" increment="{$system_cache__dita__x3A__svg:font-size}" nextY="{sum($system_cache__dita__x3A__svg:cursor//@increment)+$system_cache__dita__x3A__svg:font-size}" comment="{$comment}" >
+                    <system_cache__dita__x3A__svg:font-size
+                        nextY.height="{$nextY.height}" lastY="{sum($system_cache__dita__x3A__svg:cursor//@increment)}"
+                        increment="{$system_cache__dita__x3A__svg:increment}"
+                        nextY="{sum($system_cache__dita__x3A__svg:cursor//@increment)+$system_cache__dita__x3A__svg:increment}"
+                        comment="{$comment} {$system_cache__dita__x3A__svg:font-size}" >
+                        <xsl:attribute name="{system_cache__dita__x3A__svg:resolution.coordinate.data(system_cache__dita__x3A__svg:resolution.coordinate.axis.y(),
+                            system_cache__dita__x3A__svg:resolution.coordinate.index.2(),system_cache__dita__x3A__svg:resolution.coordinate.cursor.bounds.max.length())}" select="$nextY.height"/>
                         <xsl:attribute name="system_cache__dita__x3A__svg:height__x3A__limit__x3A__validate" 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__validate,$system_cache__dita__x3A__svg:font-size)"/>
+                        
+                        <!-- @nextY --><xsl:attribute name="{system_cache__dita__x3A__svg:resolution.coordinate.data(system_cache__dita__x3A__svg:resolution.coordinate.axis.y(),
+                            system_cache__dita__x3A__svg:resolution.coordinate.index.2(),system_cache__dita__x3A__svg:resolution.coordinate.cursor.bounds.min.coordinate())}" select="sum($system_cache__dita__x3A__svg:cursor//@increment)+$system_cache__dita__x3A__svg:increment"/>
+                        
                     </system_cache__dita__x3A__svg:font-size>
                 </xsl:when>
-            </xsl:choose>
-            <xsl:choose>
+           <!-- </xsl:choose>
+            <xsl:choose>-->
                 <xsl:when test="$system_cache__dita__x3A__svg:pheight">
-                    <system_cache__dita__x3A__svg:pheight nextY.height="{$nextY.height}" lastY="{sum($system_cache__dita__x3A__svg:cursor//@increment)}" increment="{$system_cache__dita__x3A__svg:pheight}" nextY="{sum($system_cache__dita__x3A__svg:cursor//@increment)+$system_cache__dita__x3A__svg:pheight}" comment="{$comment}" >
+                    <system_cache__dita__x3A__svg:pheight 
+                        
+                        nextY.height="{$nextY.height}" lastY="{sum($system_cache__dita__x3A__svg:cursor//@increment)}"
+                        increment="{$system_cache__dita__x3A__svg:increment}" 
+                        nextY="{sum($system_cache__dita__x3A__svg:cursor//@increment)+$system_cache__dita__x3A__svg:increment}"
+                        comment="{$comment} {$system_cache__dita__x3A__svg:pheight}" >
                         <xsl:attribute name="system_cache__dita__x3A__svg:height__x3A__limit__x3A__validate" 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__validate,$system_cache__dita__x3A__svg:pheight)"/>
+                        <!-- @nextY.height --> <xsl:attribute name="{system_cache__dita__x3A__svg:resolution.coordinate.data(system_cache__dita__x3A__svg:resolution.coordinate.axis.y(),
+                            system_cache__dita__x3A__svg:resolution.coordinate.index.2(),system_cache__dita__x3A__svg:resolution.coordinate.cursor.bounds.max.length())}" select="$nextY.height"/>
+                        
+                        <!-- @nextY --><xsl:attribute name="{system_cache__dita__x3A__svg:resolution.coordinate.data(system_cache__dita__x3A__svg:resolution.coordinate.axis.y(),
+                            system_cache__dita__x3A__svg:resolution.coordinate.index.2(),system_cache__dita__x3A__svg:resolution.coordinate.cursor.bounds.min.coordinate())}" select="sum($system_cache__dita__x3A__svg:cursor//@increment)+$system_cache__dita__x3A__svg:increment"/>
+                        
+                        
                     </system_cache__dita__x3A__svg:pheight>
                 </xsl:when>
-            </xsl:choose>
-            <xsl:choose>
+          <!--  </xsl:choose>
+            <xsl:choose>-->
+                
                 <xsl:when test="$system_cache__dita__x3A__svg:vheight">
-                    <system_cache__dita__x3A__svg:vheight nextY.height="{$nextY.height}" lastY="{sum($system_cache__dita__x3A__svg:cursor//@increment)}" increment="{$system_cache__dita__x3A__svg:vheight}" nextY="{sum($system_cache__dita__x3A__svg:cursor//@increment)+$system_cache__dita__x3A__svg:vheight}" comment="volume chart forced {$comment}" >
+                    <system_cache__dita__x3A__svg:vheight nextY.height="{$nextY.height}" lastY="{sum($system_cache__dita__x3A__svg:cursor//@increment)}" increment="{$system_cache__dita__x3A__svg:increment}" 
+                        nextY="{sum($system_cache__dita__x3A__svg:cursor//@increment)+$system_cache__dita__x3A__svg:increment}" comment="volume chart forced {$comment} {$system_cache__dita__x3A__svg:vheight}" >
                         <xsl:attribute name="system_cache__dita__x3A__svg:height__x3A__limit__x3A__validate" 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__validate,$system_cache__dita__x3A__svg:vheight)"/>
+                        
+                        <!-- @nextY.height --> <xsl:attribute name="{system_cache__dita__x3A__svg:resolution.coordinate.data(system_cache__dita__x3A__svg:resolution.coordinate.axis.y(),
+                            system_cache__dita__x3A__svg:resolution.coordinate.index.2(),system_cache__dita__x3A__svg:resolution.coordinate.cursor.bounds.max.length())}" select="$nextY.height"/>
+                        
+                        <!-- @nextY --><xsl:attribute name="{system_cache__dita__x3A__svg:resolution.coordinate.data(system_cache__dita__x3A__svg:resolution.coordinate.axis.y(),
+                            system_cache__dita__x3A__svg:resolution.coordinate.index.2(),system_cache__dita__x3A__svg:resolution.coordinate.cursor.bounds.min.coordinate())}" select="sum($system_cache__dita__x3A__svg:cursor//@increment)+$system_cache__dita__x3A__svg:increment"/>
+                        
+                        
                     </system_cache__dita__x3A__svg:vheight>
                 </xsl:when>
                 <xsl:otherwise>
@@ -62,6 +240,7 @@
                 </xsl:otherwise>
             </xsl:choose>
             
+            
         </system_cache__dita__x3A__svg:cursor>
     </xsl:template>
     
@@ -75,16 +254,59 @@
     
     
     
+    <xsl:function name="system_cache__dita__x3A__svg:cursor.lastY__x3A__calculate">
+        <xsl:param name="system_cache__dita__x3A__svg:cursor"/>
+        <xsl:value-of select="sum($system_cache__dita__x3A__svg:cursor//@increment)"/>
+    </xsl:function>
     
+    <xsl:template name="system_cache__dita__x3A__svg:cursor.lastY__x3A__assign">
+        <xsl:param name="system_cache__dita__x3A__svg:cursor" required="yes"/>
+        <xsl:attribute name="lastY" select="system_cache__dita__x3A__svg:cursor.lastY__x3A__calculate($system_cache__dita__x3A__svg:cursor)"/>
+    </xsl:template>
     
-    
+    <xsl:template name="system_cache__dita__x3A__svg:cursor.nextY__x3A__assign">
+        <xsl:param name="system_cache__dita__x3A__svg:cursor" required="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:increment" required="yes"/>
+        <xsl:message>#110 debug system_cache__dita__x3A__svg:cursor.nextY__x3A__assign
+            count($system_cache__dita__x3A__svg:cursor//*)=<xsl:value-of select="count($system_cache__dita__x3A__svg:cursor//*)"/>;
+            $$system_cache__dita__x3A__svg:increment = <xsl:value-of select="$system_cache__dita__x3A__svg:increment"/>;
+        </xsl:message>
+        <xsl:attribute name="nextY" select="system_cache__dita__x3A__svg:cursor.lastY__x3A__calculate($system_cache__dita__x3A__svg:cursor)+$system_cache__dita__x3A__svg:increment"/>
+        <!-- @nextY --><xsl:attribute name="{system_cache__dita__x3A__svg:resolution.coordinate.data(system_cache__dita__x3A__svg:resolution.coordinate.axis.y(),
+            system_cache__dita__x3A__svg:resolution.coordinate.index.2(),system_cache__dita__x3A__svg:resolution.coordinate.cursor.bounds.min.coordinate())}" select="system_cache__dita__x3A__svg:cursor.lastY__x3A__calculate($system_cache__dita__x3A__svg:cursor)+$system_cache__dita__x3A__svg:increment"/>
+        
+    </xsl:template>
     
     
     <xsl:template name="system_cache__dita__x3A__svg:cursor.initial">
         <xsl:param name="system_cache__dita__x3A__svg:offsetY"/>
+        <xsl:param name="system_cache__dita__x3A__svg:height__x3A__limit"/>
+        <xsl:param name="system_cache__dita__x3A__svg:width__x3A__limit"/>
+        
+        <xsl:param name="system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate" select="0"/>
+        <xsl:param name="system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate" select="300"/>
+        
+        <xsl:param name="system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate" select="0"/>
+        <xsl:param name="system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate" select="300"/>
+        
+        
         <system_cache__dita__x3A__svg:cursor>
             <system_cache__dita__x3A__svg:offsetY lastY="0" increment="{$system_cache__dita__x3A__svg:offsetY}" nextY="{$system_cache__dita__x3A__svg:offsetY}">
-                <xsl:value-of select="$system_cache__dita__x3A__svg:offsetY"/>
+                <!--<xsl:attribute name="system_cache__dita__x3A__svg:height__x3A__limit__x3A__validate" 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__validate,$system_cache__dita__x3A__svg:font-size)"/>-->
+                <xsl:if test="$system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate &gt;= 0"><xsl:attribute name="system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate" select="$system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate"/></xsl:if>
+                <xsl:if test="$system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate &gt;= 0"><xsl:attribute name="system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate" select="$system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate"/></xsl:if>
+                <xsl:if test="$system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate &gt;= 0"><xsl:attribute name="system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate" select="$system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate"/></xsl:if>
+                <xsl:if test="$system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate &gt;= 0"><xsl:attribute name="system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate" select="$system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate"/></xsl:if>
+                
+                
+                <xsl:if test="$system_cache__dita__x3A__svg:height__x3A__limit"><xsl:attribute name="system_cache__dita__x3A__svg:height__x3A__limit" select="$system_cache__dita__x3A__svg:height__x3A__limit"/></xsl:if>
+                <xsl:if test="$system_cache__dita__x3A__svg:width__x3A__limit"><xsl:attribute name="system_cache__dita__x3A__svg:width__x3A__limit" select="$system_cache__dita__x3A__svg:width__x3A__limit"/></xsl:if>
+                <!-- @nextY --><xsl:attribute name="{system_cache__dita__x3A__svg:resolution.coordinate.data(system_cache__dita__x3A__svg:resolution.coordinate.axis.y(),
+                    system_cache__dita__x3A__svg:resolution.coordinate.index.2(),system_cache__dita__x3A__svg:resolution.coordinate.cursor.bounds.min.coordinate())}" select="$system_cache__dita__x3A__svg:offsetY"/>
+                <!-- @nextY --><xsl:attribute name="{system_cache__dita__x3A__svg:resolution.coordinate.data(system_cache__dita__x3A__svg:resolution.coordinate.axis.y(),
+                    system_cache__dita__x3A__svg:resolution.coordinate.index.2(),system_cache__dita__x3A__svg:resolution.coordinate.cursor.bounds.min.coordinate())}" select="$system_cache__dita__x3A__svg:offsetY"/>
+                <xsl:attribute name="debug_migrated_todo">$system_cache__dita__x3A__svg:offsetY wywalone - po co tu string?#295</xsl:attribute>
+                <!--<xsl:value-of select="$system_cache__dita__x3A__svg:offsetY"/>-->
             </system_cache__dita__x3A__svg:offsetY>
         </system_cache__dita__x3A__svg:cursor>
     </xsl:template>
@@ -104,6 +326,21 @@
     </xsl:function>
     
     
+    <xsl:function name="system_cache__dita__x3A__svg:height__x3A__limit__x3A__extract">
+        <xsl:param name="system_cache__dita__x3A__svg:cursor"/>
+        <xsl:value-of select="$system_cache__dita__x3A__svg:cursor//*[last() and @system_cache__dita__x3A__svg:height__x3A__limit]/@system_cache__dita__x3A__svg:height__x3A__limit"/>
+    </xsl:function>
+    
+    <xsl:function name="system_cache__dita__x3A__svg:width__x3A__limit__x3A__extract">
+        <xsl:param name="system_cache__dita__x3A__svg:cursor"/>
+        <xsl:value-of select="$system_cache__dita__x3A__svg:cursor//*[last() and @system_cache__dita__x3A__svg:width__x3A__limit]/@system_cache__dita__x3A__svg:width__x3A__limit"/>
+    </xsl:function>
+    
+    <xsl:template name="system_cache__dita__x3A__svg:cursor.increment__x3A__assign">
+        <xsl:param name="system_cache__dita__x3A__svg:increment"/>
+        <xsl:attribute name="increment" select="$system_cache__dita__x3A__svg:increment"/>
+    </xsl:template>
+    
     
     <xsl:function name="system_cache__dita__x3A__svg:cursor.current.Y">
         <xsl:param name="system_cache__dita__x3A__svg:cursor"/>
@@ -118,14 +355,22 @@
     <xsl:function name="system_cache__dita__x3A__svg:cursor.current.height">
         <xsl:param name="system_cache__dita__x3A__svg:cursor"/>
         <xsl:choose>
-            <xsl:when test="$system_cache__dita__x3A__svg:cursor">
-                <xsl:value-of select="number($system_cache__dita__x3A__svg:cursor//*[last()]/@increment/number())"/>        
+            <xsl:when test="$system_cache__dita__x3A__svg:cursor//*[last()]/@nextY.height/number()">
+                <xsl:value-of select="number($system_cache__dita__x3A__svg:cursor//*[last()]/@nextY.height/number())"/>        
             </xsl:when>
+            <xsl:when test="(sum($system_cache__dita__x3A__svg:cursor//@increment/number()) + 100 ) &lt; $system_cache__dita__x3A__svg:cursor//*[position()=1 and @system_cache__dita__x3A__svg:height__x3A__limit]/@system_cache__dita__x3A__svg:height__x3A__limit/number()">
+                <xsl:value-of select="100"/>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:value-of select="$system_cache__dita__x3A__svg:cursor//*[position()=1 and @system_cache__dita__x3A__svg:height__x3A__limit]/@system_cache__dita__x3A__svg:height__x3A__limit/number() - (sum($system_cache__dita__x3A__svg:cursor//@increment/number()) + 100 )"/>
+            </xsl:otherwise>
         </xsl:choose>
-        
     </xsl:function>
     
     
+    
+    
+    
     <xsl:template name="system_cache__dita__x3A__svg:transform.cursor.init">
         <xsl:param name="system_cache__dita__x3A__svg:offsetX"  />
         <xsl:param name="system_cache__dita__x3A__svg:offsetY"  />
@@ -142,13 +387,44 @@
                 <xsl:if test="$system_cache__dita__x3A__svg:offsetY.min"><xsl:attribute name="system_cache__dita__x3A__svg:offsetY.min" select="$system_cache__dita__x3A__svg:offsetY.min"/></xsl:if>
                 <xsl:if test="$system_cache__dita__x3A__svg:cursor.current.Y"><xsl:attribute name="system_cache__dita__x3A__svg:cursor.current.Y" select="$system_cache__dita__x3A__svg:cursor.current.Y"/></xsl:if>
                 <xsl:if test="$yscale"><xsl:attribute name="yscale" select="$yscale"/></xsl:if>
+                
             </xsl:element>
             
         </system_cache__dita__x3A__svg:transform.cursor>
     </xsl:template>
     
     
+    
+    
+   
+    
+    
     <xsl:template name="system_cache__dita__x3A__svg:transform.cursor.append">
+        <xsl:param name="system_cache__dita__x3A__svg:transform.cursor" required="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:offsetX"  />
+        <xsl:param name="system_cache__dita__x3A__svg:offsetY"  />
+        <xsl:param name="system_cache__dita__x3A__svg:offsetY.height"  />
+        <xsl:param name="system_cache__dita__x3A__svg:offsetY.min"  />
+        <xsl:param name="system_cache__dita__x3A__svg:cursor.current.Y" />
+        <xsl:param name="yscale" />
+        <xsl:param name="id" required="yes"/> 
+        <!-- just  done child template to allwo migrate attributes-->
+        <xsl:variable name="system_cache__dita__x3A__svg:transform.cursor.append.child">
+            <xsl:call-template name="system_cache__dita__x3A__svg:transform.cursor.append.child">
+                <xsl:with-param name="system_cache__dita__x3A__svg:transform.cursor" select="$system_cache__dita__x3A__svg:transform.cursor"/>
+                <xsl:with-param name="system_cache__dita__x3A__svg:offsetX" select="$system_cache__dita__x3A__svg:offsetX"  />
+                <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:offsetY.height" select="$system_cache__dita__x3A__svg:offsetY.height" />
+                <xsl:with-param name="system_cache__dita__x3A__svg:offsetY.min" select="$system_cache__dita__x3A__svg:offsetY.min" />
+                <xsl:with-param name="system_cache__dita__x3A__svg:cursor.current.Y" select="$system_cache__dita__x3A__svg:cursor.current.Y" />
+                <xsl:with-param name="yscale" select="$yscale" />
+                <xsl:with-param name="id" select="$id"/>
+            </xsl:call-template>
+        </xsl:variable>
+        <xsl:apply-templates mode="system_cache__dita__x3A__svg:cursor.read" select="$system_cache__dita__x3A__svg:transform.cursor.append.child"/>
+    </xsl:template>
+    
+    <xsl:template name="system_cache__dita__x3A__svg:transform.cursor.append.child">
         <xsl:param name="system_cache__dita__x3A__svg:transform.cursor" required="yes"/>
         <xsl:param name="system_cache__dita__x3A__svg:offsetX"  />
         <xsl:param name="system_cache__dita__x3A__svg:offsetY"  />
@@ -196,10 +472,7 @@
                     </xsl:call-template>
                 </xsl:otherwise>
             </xsl:choose>
-            
-            
-            
-        
+           
     </xsl:template>
     
     <xsl:template name="system_cache__dita__x3A__svg:transform.translate.major__x3A__height__x3A__limit__x3A__validate"><!-- to validate if fit in bounds -->
@@ -299,12 +572,15 @@
         
         <xsl:param name="system_cache__dita__x3A__svg:offsetY.minY" />
         <xsl:param name="system_cache__dita__x3A__svg:offsetY.maxY" />
-        <xsl:param name="system_cache__dita__x3A__svg:offsetY.height" />
+        <xsl:param name="system_cache__dita__x3A__svg:offsetY.height" /><!-- should be replaced by system_cache__dita__x3A__svg:cursor.current.height -->
         <xsl:param name="system_cache__dita__x3A__svg:cursor.current.Y"/>
         
         <xsl:param name="system_cache__dita__x3A__svg:height__x3A__limit__x3A__validate" tunnel="yes"/>
         <xsl:param name="system_cache__dita__x3A__svg:width__x3A__limit__x3A__validate" tunnel="yes"/>
         
+        <xsl:param name="system_cache__dita__x3A__svg:cursor.current.height"/><!-- should be lower -->
+        
+        
         <xsl:variable name="yValue.simulated" select="$yValue"/>
         <xsl:variable name="xValue.simulated" select="$xValue"/>
         
@@ -313,7 +589,7 @@
                 <xsl:when test="$system_cache__dita__x3A__svg:offsetX.width">
                     <xsl:variable name="Xrange" select="$system_cache__dita__x3A__svg:offsetX.maxX - $system_cache__dita__x3A__svg:offsetX.minX"/>
                     <xsl:variable name="Xscale" select="$system_cache__dita__x3A__svg:offsetX.width div $Xrange"/>
-                    <xsl:variable name="Xoffset" select="$system_cache__dita__x3A__svg:offsetX.width div $Xrange"/>
+                    <!--<xsl:variable name="Xoffset" select="$system_cache__dita__x3A__svg:offsetX.width div $Xrange"/>-->
                     
                     <xsl:value-of select="( $xValue.simulated - $system_cache__dita__x3A__svg:offsetX.minX ) * $Xscale"/>
                 </xsl:when>
@@ -327,8 +603,8 @@
             <xsl:choose>
                 <xsl:when test="$system_cache__dita__x3A__svg:offsetY.height">
                     <xsl:variable name="Yrange" select="$system_cache__dita__x3A__svg:offsetY.maxY - $system_cache__dita__x3A__svg:offsetY.minY"/>
-                    <xsl:variable name="Yscale" select="$system_cache__dita__x3A__svg:offsetY.height div $Yrange"/>
-                    <xsl:variable name="Yoffset" select="$system_cache__dita__x3A__svg:offsetY.height div $Yrange"/>
+                     <xsl:variable name="Yscale" select="$system_cache__dita__x3A__svg:offsetY.height div $Yrange"/>
+                    <!--<xsl:variable name="Yoffset" select="$system_cache__dita__x3A__svg:offsetY.height div $Yrange"/>-->
                     
                     <xsl:value-of select="( $yValue.simulated - $system_cache__dita__x3A__svg:offsetY.minY ) * $Yscale"/>
                 </xsl:when>
@@ -361,15 +637,21 @@
                     <xsl:otherwise>[OK_X]</xsl:otherwise>
                 </xsl:choose>
             </xsl:when>
+            <xsl:otherwise>[WARN_X_UNKN_LIMIT]</xsl:otherwise>
         </xsl:choose>
         <xsl:text>/</xsl:text><xsl:value-of select="$yValue.simulated"/><xsl:choose>
             <xsl:when test="$system_cache__dita__x3A__svg:height__x3A__limit__x3A__validate">
                 <xsl:choose>
-                    <xsl:when test="$yValue.simulated &gt; number($system_cache__dita__x3A__svg:height__x3A__limit__x3A__validate)">[ERR_Y_TOO_BIG]</xsl:when>
+                    <xsl:when test="$yValue.simulated &gt; number($system_cache__dita__x3A__svg:height__x3A__limit__x3A__validate)">[ERR_Y_TOO_BIG]<xsl:if test="$system_cache__dita__x3A__svg:offsetY.height"><xsl:variable name="Yrange" select="$system_cache__dita__x3A__svg:offsetY.maxY - $system_cache__dita__x3A__svg:offsetY.minY"/>
+                        <xsl:variable name="Yscale" select="$system_cache__dita__x3A__svg:offsetY.height div $Yrange"/>[-<xsl:value-of select="$system_cache__dita__x3A__svg:offsetY.minY"/>][<xsl:value-of select="$system_cache__dita__x3A__svg:offsetY.height"/> div (<xsl:value-of select="$system_cache__dita__x3A__svg:offsetY.maxY"/>-<xsl:value-of select="$system_cache__dita__x3A__svg:offsetY.minY"/>)*<xsl:value-of select="$Yscale"/>=<xsl:value-of select="( $yValue - $system_cache__dita__x3A__svg:offsetY.minY ) * $Yscale"/>]</xsl:if>
+                        <xsl:if test="$system_cache__dita__x3A__svg:cursor.current.Y">[+<xsl:value-of select="$system_cache__dita__x3A__svg:cursor.current.Y"/>]</xsl:if>
+                    </xsl:when>
                     <xsl:when test="$yValue.simulated &lt; 0">[ERR_Y_LESS_0]</xsl:when>
+                    <xsl:when test="$yValue.simulated &lt; $system_cache__dita__x3A__svg:cursor.current.height">[ERR_Y_OVER_CURSOR]</xsl:when>
                     <xsl:otherwise>[OK_Y]</xsl:otherwise>
                 </xsl:choose>
             </xsl:when>
+            <xsl:otherwise>[WARN_Y_UNKN_LIMIT]</xsl:otherwise>
         </xsl:choose>
         
     </xsl:template>

+ 223 - 0
SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.utils.data.xsl

@@ -0,0 +1,223 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+    xmlns:xs="http://www.w3.org/2001/XMLSchema"
+    xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+    xmlns:system_cache__dita="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/dita.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:system_cache__dita__x3A__svg="http://biuro.biall-net.pl/WPS_Functions/system_cache__dita__x3A__p5gnuplot/system_cache__dita__x3A__svg.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:svg="http://www.w3.org/2000/svg"
+    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"
+    
+    xmlns:svgu="http://www.ora.com/XSLTCookbook/ns/svg-utils"
+    xmlns:test="http://www.ora.com/XSLTCookbook/ns/test"
+    exclude-result-prefixes="xs"
+    version="2.0">
+    
+    
+    
+    <xsl:output indent="yes"/>
+    <xsl:strip-space elements="*"/>
+    
+    
+    
+    <xsl:template  mode="system_cache__dita__x3A__svg:data__x3A__assign" match="*">
+        <xsl:comment>#27 bypassed n/<xsl:value-of select="name()"/></xsl:comment>
+    </xsl:template>
+    
+    <xsl:template mode="system_cache__dita__x3A__svg:data__x3A__assign" match="RelatedFeatureRoot[BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA]">
+        <xsl:param name="system_cache__dita__x3A__svg:cursor"/>
+        <xsl:copy>
+        <xsl:apply-templates mode="#current">
+            <xsl:with-param name="system_cache__dita__x3A__svg:cursor" select="$system_cache__dita__x3A__svg:cursor"/>
+        </xsl:apply-templates>
+        </xsl:copy>
+    </xsl:template>
+    
+    <xsl:template mode="system_cache__dita__x3A__svg:data__x3A__assign" match="interested_row[BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row]">
+        <xsl:param name="system_cache__dita__x3A__svg:cursor"/>
+        <xsl:for-each-group select="descendant-or-self::BI_audit_ENERGA_PRACOWNICY[not(preceding-sibling::*)]" group-by="@fid">
+            <!--<xsl:copy>
+                                <xsl:copy-of select="@fid"/>
+                            </xsl:copy>-->
+            
+            <xsl:call-template name="system_cache__dita__x3A__svg:data__x3A__assign">
+                <xsl:with-param name="system_cache__dita__x3A__svg:data.class">system_cache__dita__x3A__svg:data.current-group</xsl:with-param>
+                <xsl:with-param name="system_cache__dita__x3A__svg:data.for-each-group.context" select="current-group()/ancestor-or-self::BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row[1]/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[relation_DateRangeElements[@*[name()='leadingTimeDate-From' or name()='leadingTimeDate-To']]]"/>
+                <xsl:with-param name="system_cache__dita__x3A__svg:cursor" select="$system_cache__dita__x3A__svg:cursor"/>
+            </xsl:call-template>
+            
+            
+            
+            <!--<system_cache__dita__x3A__svg:data.current-group>
+                                <xsl:attribute name="system_cache__dita__x3A__svg:data.name" select="name()"/>
+                                <xsl:attribute name="system_cache__dita__x3A__svg:data.id" select="@fid"/>
+                                <xsl:attribute name="system_cache__dita__x3A__svg:data.position" select="position()"/>
+                                
+                                <!-\-<xsl:variable name="system_cache__dita__x3A__svg:cursor">
+                                    <xsl:call-template name="system_cache__dita__x3A__svg:cursor.commit">
+                                        <xsl:with-param name="id" select="@fid"/>
+                                        <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:call-template>
+                                </xsl:variable>-\->
+                                
+                                
+                                <!-\-<xsl:for-each select="current-group()/ancestor-or-self::BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row[1]/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[relation_DateRangeElements[@*[name()='leadingTimeDate-From' or name()='leadingTimeDate-To']]]">
+                                    <system_cache__dita__x3A__svg:leadingTimeDate>
+                                       
+                                        <xsl:attribute name="system_cache__dita__x3A__svg:data.name" select="relation_DateRangeElements/name()"/><!-\\- kontekst danych pojedynczego powiazania - parent group dotyczy jednego pracownika - jako grupa - title -\\->
+                                        <xsl:attribute name="system_cache__dita__x3A__svg:data.x.name" select="*[1]/name()"/>
+                                        <xsl:attribute name="system_cache__dita__x3A__svg:data.x.id" select="*[1]/@fid"/>
+                                        <xsl:attribute name="system_cache__dita__x3A__svg:data.y1.name" select="relation_DateRangeElements/@leadingTimeDate-From/name()"/>
+                                        <xsl:attribute name="system_cache__dita__x3A__svg:data.y1.value" select="relation_DateRangeElements/@leadingTimeDate-From/system_cache__dita:year-timestamp-day(.)"/>
+                                        <xsl:attribute name="system_cache__dita__x3A__svg:data.y1.label" select="relation_DateRangeElements/@leadingTimeDate-From"/>
+                                        <xsl:attribute name="system_cache__dita__x3A__svg:data.y2.name" select="relation_DateRangeElements/@leadingTimeDate-To/name()"/>
+                                        <xsl:attribute name="system_cache__dita__x3A__svg:data.y2.value" select="relation_DateRangeElements/@leadingTimeDate-To/system_cache__dita:year-timestamp-day(.)"/>
+                                        <xsl:attribute name="system_cache__dita__x3A__svg:data.y2.label" select="relation_DateRangeElements/@leadingTimeDate-To"/>
+                                        <!-\\-<xsl:choose>
+                                            <xsl:when test="max(relation_DateRangeElements[@*[name()='leadingTimeDate-From' or name()='leadingTimeDate-To']])/system_cache__dita:year-timestamp-day(.)">
+                                                <system_cache__dita__x3A__svg:maxY>
+                                                    <xsl:value-of select="max(relation_DateRangeElements/@*[name()='leadingTimeDate-From' or name()='leadingTimeDate-To'])/system_cache__dita:year-timestamp-day(.)"/>
+                                                </system_cache__dita__x3A__svg:maxY>
+                                            </xsl:when>
+                                        </xsl:choose>-\\->
+                                        <!-\\-<xsl:variable name="minX" select="0"/>-\\->
+                                            <!-\\-<xsl:variable name="maxX" select="count(current-group())"/>-\\->
+                                            
+                                            <!-\\-<xsl:variable name="minY" select="min((current-group()/ancestor-or-self::BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row[1]/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object/relation_DateRangeElements/@*[name()='leadingTimeDate-From' or name()='leadingTimeDate-To'])/system_cache__dita:year-timestamp-day(.))"/><!-\\\\- time string -\\\\->-\\->
+                                            <!-\\-<xsl:variable name="minY.test" select="current-group()/ancestor-or-self::BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row[1]/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object/relation_DateRangeElements/@*[name()='leadingTimeDate-From' or name()='leadingTimeDate-To']"/><!-\\\\-  BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object/relation_DateRangeElements @*[name()='leadingTimeDate-From' or name()='leadingTimeDate-To'] -\\\\->-\\->
+                                            <!-\\-<xsl:variable name="maxY" select="max((current-group()/ancestor-or-self::BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row[1]/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object/relation_DateRangeElements/@*[name()='leadingTimeDate-From' or name()='leadingTimeDate-To'])/system_cache__dita:year-timestamp-day(.))"/>-\\->
+                                            <!-\\-<xsl:comment>#181 
+                                                minY <!-\\\\-<xsl:copy-of select="$minY"/>-\\\\->
+                                                
+                                                $minY.test =<!-\\\\- <xsl:copy-of select="$minY.test"></xsl:copy-of>-\\\\->
+                                                
+                                                maxY <!-\\\\-<xsl:copy-of select="$maxY"/>-\\\\->
+                                             </xsl:comment>-\\->
+                                    </system_cache__dita__x3A__svg:leadingTimeDate>
+                                </xsl:for-each>-\->
+                            </system_cache__dita__x3A__svg:data.current-group>-->
+            <!--<svg:text debug="svgu:kontr_row_test"
+                                x="-18"
+                                y="292.6"
+                                transform=" translate(0,-18)  translate(-18,292.6)  scale(1,-1.4630000000000003)  translate(18,-292.6) "
+                                style="text-anchor:end;font-size:9;baseline-shift:-50%"
+                                transform.validate.y="537.2136000000003">292.6</svg:text>-->
+            
+        </xsl:for-each-group>
+    </xsl:template>
+
+    <xsl:template mode="system_cache__dita__x3A__svg:data__x3A__assign" match="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA">
+        <xsl:param name="system_cache__dita__x3A__svg:cursor"/>
+        <xsl:for-each-group select="descendant-or-self::BI_audit_ENERGA_PRACOWNICY[not(preceding-sibling::*)]" group-by="@fid">
+            <!--<xsl:copy>
+                                <xsl:copy-of select="@fid"/>
+                            </xsl:copy>-->
+            
+            <xsl:call-template name="system_cache__dita__x3A__svg:data__x3A__assign">
+                <xsl:with-param name="system_cache__dita__x3A__svg:data.class">system_cache__dita__x3A__svg:data.current-group</xsl:with-param>
+                <xsl:with-param name="system_cache__dita__x3A__svg:data.for-each-group.context" select="current-group()/ancestor-or-self::BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row[1]/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[relation_DateRangeElements[@*[name()='leadingTimeDate-From' or name()='leadingTimeDate-To']]]"/>
+                <xsl:with-param name="system_cache__dita__x3A__svg:cursor" select="$system_cache__dita__x3A__svg:cursor"/>
+            </xsl:call-template>
+            
+            
+            
+        </xsl:for-each-group>
+    </xsl:template>
+    
+    
+    
+    <xsl:template name="system_cache__dita__x3A__svg:data__x3A__assign">
+        <xsl:param name="system_cache__dita__x3A__svg:data.class" select="'system_cache__dita__x3A__svg:data.current-group'"/>
+        <xsl:param name="system_cache__dita__x3A__svg:data.name" select="name()"/>
+        <xsl:param name="system_cache__dita__x3A__svg:data.id" select="@fid"/>
+        <xsl:param name="system_cache__dita__x3A__svg:data.position" select="position()"/>
+        <xsl:param name="system_cache__dita__x3A__svg:data.for-each-group.context" />
+        <xsl:param name="system_cache__dita__x3A__svg:cursor" required="yes"/><!-- todo -->
+        <xsl:element name="{$system_cache__dita__x3A__svg:data.class}">
+            <xsl:attribute name="system_cache__dita__x3A__svg:data.name" select="$system_cache__dita__x3A__svg:data.name"/>
+            <xsl:attribute name="system_cache__dita__x3A__svg:data.id" select="$system_cache__dita__x3A__svg:data.id"/>
+            <xsl:attribute name="system_cache__dita__x3A__svg:data.position" select="$system_cache__dita__x3A__svg:data.position"/>
+            <xsl:apply-templates mode="system_cache__dita__x3A__svg:resolution__x3A__markup" select="@*"/>
+            <!--<xsl:attribute name="system_cache__dita__x3A__svg:data.for-each-group.context.count" select="count($system_cache__dita__x3A__svg:data.for-each-group.context//*)"/>-->
+            <!--<xsl:attribute name="system_cache__dita__x3A__svg:data.for-each-group.context.name" select="$system_cache__dita__x3A__svg:data.for-each-group.context/name()"/>-->
+            <!--<xsl:variable name="system_cache__dita__x3A__svg:cursor">-->
+            <xsl:choose>
+                <xsl:when test="number($system_cache__dita__x3A__svg:debug.level) &gt;3">
+                    <xsl:call-template name="system_cache__dita__x3A__svg:cursor.commit">
+                        <xsl:with-param name="id" select="$system_cache__dita__x3A__svg:data.id"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:increment" select="50"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:cursor" select="$system_cache__dita__x3A__svg:cursor"/>
+                        <xsl:with-param name="comment">#50 testing assign</xsl:with-param>
+                    </xsl:call-template>
+                </xsl:when>
+            </xsl:choose>
+            
+            <!--</xsl:variable>-->
+            <xsl:apply-templates mode="system_cache__dita__x3A__svg:data__x3A__assign" select="$system_cache__dita__x3A__svg:data.for-each-group.context">
+                <xsl:with-param name="system_cache__dita__x3A__svg:cursor" select="$system_cache__dita__x3A__svg:cursor"/>
+            </xsl:apply-templates>
+            <xsl:comment>#44 lower context apply template/upper select for-each-group-context</xsl:comment>
+            <!--<xsl:apply-templates mode="#current">
+                <xsl:with-param name="system_cache__dita__x3A__svg:cursor" select="$system_cache__dita__x3A__svg:cursor"/>
+            </xsl:apply-templates>-->
+        </xsl:element>
+        
+    </xsl:template>
+    
+    
+    <xsl:template mode="system_cache__dita__x3A__svg:data__x3A__assign" match="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object">
+        <xsl:param name="system_cache__dita__x3A__svg:cursor"/>
+        <todo_62></todo_62>
+    </xsl:template>
+    
+    
+    <xsl:template mode="system_cache__dita__x3A__svg:data__x3A__assign" match="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[relation_DateRangeElements[@*[name()='leadingTimeDate-From' or name()='leadingTimeDate-To']]]">
+        <xsl:param name="system_cache__dita__x3A__svg:cursor"/>
+        <xsl:call-template name="system_cache__dita__x3A__svg:data__x3A__assign">
+            <xsl:with-param name="system_cache__dita__x3A__svg:data.class">system_cache__dita__x3A__svg:leadingTimeDate</xsl:with-param>
+            <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:data.for-each-group.context" select="*"/>
+        </xsl:call-template>
+    </xsl:template>
+    
+    <!--<xsl:template name="system_cache__dita__x3A__svg:data__x3A__assign__x3A__attributes">
+        <xsl:param name="system_cache__dita__x3A__svg:data.name" select="name()"/>
+        <xsl:param name="system_cache__dita__x3A__svg:data.x.name" select="*[1]/name()"/>
+        <xsl:param name="system_cache__dita__x3A__svg:data.x.id" select="*[1]/@fid"/>
+        
+    </xsl:template>-->
+    
+    <xsl:template mode="system_cache__dita__x3A__svg:data__x3A__assign" match="relation_DateRangeElements">
+        <xsl:copy>
+        <xsl:apply-templates mode="#current" select="@*"/>
+            <xsl:apply-templates mode="system_cache__dita__x3A__svg:resolution.related.following-sibling" select="ancestor-or-self::BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[1]/following-sibling::BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[1]/relation_DateRangeElements">
+                <xsl:with-param name="system_cache__dita__x3A__svg:resolution__x3A__markup.preceding-silbing" select="."/>
+            </xsl:apply-templates><!-- to associate silbing @leadingTimeDate-To/From and Mark it -->
+        </xsl:copy>
+    </xsl:template>
+    
+    
+    <xsl:template mode="system_cache__dita__x3A__svg:data__x3A__assign" match="@*"/>
+        
+    
+    <xsl:template mode="system_cache__dita__x3A__svg:data__x3A__assign" match="@leadingTimeDate-From">
+        <xsl:attribute name="system_cache__dita__x3A__svg:data.y1.name" select="name()"/>
+        <xsl:attribute name="system_cache__dita__x3A__svg:data.y1.value" select="system_cache__dita:year-timestamp-day(.)"/>
+        <xsl:attribute name="system_cache__dita__x3A__svg:data.y1.label" select="."/>
+    </xsl:template>
+    
+    
+    
+    <xsl:template mode="system_cache__dita__x3A__svg:data__x3A__assign" match="@leadingTimeDate-To">
+        <xsl:attribute name="system_cache__dita__x3A__svg:data.y2.name" select="name()"/>
+        <xsl:attribute name="system_cache__dita__x3A__svg:data.y2.value" select="system_cache__dita:year-timestamp-day(.)"/>
+        <xsl:attribute name="system_cache__dita__x3A__svg:data.y2.label" select="."/>
+    </xsl:template>
+    
+    <xsl:template mode="system_cache__dita__x3A__svg:data__x3A__assign" match="text()|comment()"/>
+  
+</xsl:stylesheet>

+ 801 - 0
SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.utils.resolution.xsl

@@ -0,0 +1,801 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+    xmlns:xs="http://www.w3.org/2001/XMLSchema"
+    xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+    xmlns:system_cache__dita="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/dita.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:system_cache__dita__x3A__svg="http://biuro.biall-net.pl/WPS_Functions/system_cache__dita__x3A__p5gnuplot/system_cache__dita__x3A__svg.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:svg="http://www.w3.org/2000/svg"
+    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"
+    
+    xmlns:svgu="http://www.ora.com/XSLTCookbook/ns/svg-utils"
+    xmlns:test="http://www.ora.com/XSLTCookbook/ns/test"
+    exclude-result-prefixes="xs"
+    version="2.0">
+    
+    
+    
+    <xsl:output indent="yes"/>
+    <xsl:strip-space elements="*"/>
+    
+    
+    <xsl:template name="system_cache__dita__x3A__svg:resolution.offset.dataset.prepared.data.label" match="*" mode="system_cache__dita__x3A__svg:resolution.offset.dataset.prepared.data.label"><!-- zestawy setow danyuch -->
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.axis.y" select="system_cache__dita__x3A__svg:resolution.coordinate.axis.y()"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.index" select="system_cache__dita__x3A__svg:resolution.coordinate.index.1()"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.data.label" select="system_cache__dita__x3A__svg:resolution.coordinate.data.label($system_cache__dita__x3A__svg:resolution.coordinate.axis.y,$system_cache__dita__x3A__svg:resolution.coordinate.index)"/>
+        <xsl:param name="system_cache__dita__x3A__svg:cursor" tunnel="yes" required="yes"/>
+        <xsl:variable name="system_cache__dita__x3A__svg:resolution.offset.dataset.prepared.data.label">
+            <system_cache__dita__x3A__svg:resolution.offset.dataset.prepared debug="automatically testing 29">
+                <xsl:element name="{system_cache__dita__x3A__svg:resolution.coordinate.data.dataset.prepared($system_cache__dita__x3A__svg:resolution.coordinate.axis.y,
+                    $system_cache__dita__x3A__svg:resolution.coordinate.index,
+                    system_cache__dita__x3A__svg:resolution.coordinate.label(),
+                    system_cache__dita__x3A__svg:resolution.coordinate.data.dataset(),
+                    system_cache__dita__x3A__svg:resolution.coordinate.data.dataset.prepared())}">
+                    
+                    
+                    <!--<xsl:attribute name="testing_filters_datasets">
+                        <xsl:value-of select="system_cache__dita__x3A__svg:resolution.coordinate.label()"/><xsl:text>  </xsl:text>
+                        <xsl:value-of select="system_cache__dita__x3A__svg:resolution.coordinate.value.bounds(system_cache__dita__x3A__svg:resolution.coordinate.axis.y(),
+                            system_cache__dita__x3A__svg:resolution.coordinate.index.1(),system_cache__dita__x3A__svg:resolution.coordinate.value(),system_cache__dita__x3A__svg:resolution.coordinate.value.bounds.min())"/>
+                        <xsl:text> </xsl:text>
+                        <xsl:value-of select="system_cache__dita__x3A__svg:resolution.coordinate.value.bounds(system_cache__dita__x3A__svg:resolution.coordinate.axis.y(),
+                            system_cache__dita__x3A__svg:resolution.coordinate.index.1(),system_cache__dita__x3A__svg:resolution.coordinate.value(),system_cache__dita__x3A__svg:resolution.coordinate.value.bounds.max())"/>
+                        <xsl:text> </xsl:text>
+                        <xsl:value-of select="system_cache__dita__x3A__svg:resolution.coordinate.data(system_cache__dita__x3A__svg:resolution.coordinate.axis(),
+                            system_cache__dita__x3A__svg:resolution.coordinate.index(),system_cache__dita__x3A__svg:resolution.coordinate.id())"/>
+                    </xsl:attribute>-->
+                   
+                   
+                    <xsl:comment>#150 todo wszystkie wagi i offsety teraz
+                        szukamy kursora ndex.2()
+                    </xsl:comment>
+                    <xsl:variable name="system_cache__dita__x3A__svg:cursor.read">
+                        <system_cache__dita__x3A__svg:cursor.read>
+                        <xsl:call-template name="system_cache__dita__x3A__svg:cursor.read">
+                            <xsl:with-param name="system_cache__dita__x3A__svg:cursor" select="$system_cache__dita__x3A__svg:cursor" tunnel="yes"/>
+                        </xsl:call-template>
+                        </system_cache__dita__x3A__svg:cursor.read>
+                    </xsl:variable>
+                    <xsl:copy-of select="$system_cache__dita__x3A__svg:cursor.read"></xsl:copy-of>
+                    <!-- system_cache__dita__x3A__svg:cursor.current - jakis set by sie przydal -->
+                    <!-- ***KURS*** --><!-- ***KURS*** --><!-- ***KURS*** --><!-- ***KURS*** --><!-- ***KURS*** -->
+                   
+                    
+                    <xsl:comment>#175 cursor() Y1  B  MIN  COR  [[[ <xsl:value-of select="system_cache__dita__x3A__svg:resolution.coordinate.axis.y()"/> ]]]
+                        [[[ <xsl:value-of select="system_cache__dita__x3A__svg:resolution.coordinate.index.1()"/> ]]]
+                        [[[ <xsl:value-of select="system_cache__dita__x3A__svg:resolution.coordinate.cursor.bounds.min.coordinate()"/> ]]] </xsl:comment>
+                    <xsl:call-template name="system_cache__dita__x3A__svg:resolution.value.bounds">
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.axis" select="system_cache__dita__x3A__svg:resolution.coordinate.axis.y()" tunnel="yes"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.index" select="system_cache__dita__x3A__svg:resolution.coordinate.index.1()" tunnel="yes"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.class" select="system_cache__dita__x3A__svg:resolution.coordinate.cursor.bounds.min.coordinate()" tunnel="yes"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.data" select="system_cache__dita__x3A__svg:resolution.coordinate.data(system_cache__dita__x3A__svg:resolution.coordinate.axis.y(),
+                            system_cache__dita__x3A__svg:resolution.coordinate.index.1(),system_cache__dita__x3A__svg:resolution.coordinate.cursor.bounds.min.coordinate())" tunnel="yes"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution__x3A__context" select="$system_cache__dita__x3A__svg:cursor.read"/>
+                    </xsl:call-template>
+                    
+                    <xsl:comment>#200 cursor() Y2  B  MAX  COR  [[[ <xsl:value-of select="system_cache__dita__x3A__svg:resolution.coordinate.axis.y()"/> ]]]
+                        [[[ <xsl:value-of select="system_cache__dita__x3A__svg:resolution.coordinate.index.2()"/> ]]]
+                        [[[ <xsl:value-of select="system_cache__dita__x3A__svg:resolution.coordinate.cursor.bounds.max.coordinate()"/> ]]] </xsl:comment>
+                    <xsl:call-template name="system_cache__dita__x3A__svg:resolution.value.bounds">
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.axis" select="system_cache__dita__x3A__svg:resolution.coordinate.axis.y()" tunnel="yes"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.index" select="system_cache__dita__x3A__svg:resolution.coordinate.index.2()" tunnel="yes"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.class" select="system_cache__dita__x3A__svg:resolution.coordinate.cursor.bounds.max.coordinate()" tunnel="yes"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.data" select="system_cache__dita__x3A__svg:resolution.coordinate.data(system_cache__dita__x3A__svg:resolution.coordinate.axis.y(),
+                            system_cache__dita__x3A__svg:resolution.coordinate.index.2(),system_cache__dita__x3A__svg:resolution.coordinate.cursor.bounds.max.coordinate())" tunnel="yes"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution__x3A__context" select="$system_cache__dita__x3A__svg:cursor.read"/>
+                    </xsl:call-template>
+                    
+                    <xsl:comment>#250 cursor() Y2  B  MIN  COR  [[[ <xsl:value-of select="system_cache__dita__x3A__svg:resolution.coordinate.axis.y()"/> ]]]
+                        [[[ <xsl:value-of select="system_cache__dita__x3A__svg:resolution.coordinate.index.2()"/> ]]]
+                        [[[ <xsl:value-of select="system_cache__dita__x3A__svg:resolution.coordinate.cursor.bounds.max.coordinate()"/> ]]] </xsl:comment>
+                    <xsl:call-template name="system_cache__dita__x3A__svg:resolution.value.bounds">
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.axis" select="system_cache__dita__x3A__svg:resolution.coordinate.axis.y()" tunnel="yes"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.index" select="system_cache__dita__x3A__svg:resolution.coordinate.index.2()" tunnel="yes"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.class" select="system_cache__dita__x3A__svg:resolution.coordinate.cursor.bounds.min.coordinate()" tunnel="yes"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.data" select="system_cache__dita__x3A__svg:resolution.coordinate.data(system_cache__dita__x3A__svg:resolution.coordinate.axis.y(),
+                            system_cache__dita__x3A__svg:resolution.coordinate.index.2(),system_cache__dita__x3A__svg:resolution.coordinate.cursor.bounds.min.coordinate())" tunnel="yes"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution__x3A__context" select="$system_cache__dita__x3A__svg:cursor.read"/>
+                    </xsl:call-template>
+                    
+                    <!-- $system_cache__dita__x3A__svg:cursor.current.height z $$system_cache__dita__x3A__svg:offsetY.height -->
+                    <xsl:comment>#275 (zera) cursor() X1  B  MIN  COR  [[[ <xsl:value-of select="system_cache__dita__x3A__svg:resolution.coordinate.axis.x()"/> ]]]
+                        [[[ <xsl:value-of select="system_cache__dita__x3A__svg:resolution.coordinate.index.1()"/> ]]]
+                        [[[ <xsl:value-of select="system_cache__dita__x3A__svg:resolution.coordinate.cursor.bounds.min.coordinate()"/> ]]] </xsl:comment>
+                    <xsl:call-template name="system_cache__dita__x3A__svg:resolution.value.bounds">
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.axis" select="system_cache__dita__x3A__svg:resolution.coordinate.axis.x()" tunnel="yes"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.index" select="system_cache__dita__x3A__svg:resolution.coordinate.index.1()" tunnel="yes"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.class" select="system_cache__dita__x3A__svg:resolution.coordinate.cursor.bounds.min.coordinate()"  tunnel="yes"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.data" select="system_cache__dita__x3A__svg:resolution.coordinate.data(system_cache__dita__x3A__svg:resolution.coordinate.axis.x(),
+                            system_cache__dita__x3A__svg:resolution.coordinate.index.1(),system_cache__dita__x3A__svg:resolution.coordinate.cursor.bounds.min.coordinate())" tunnel="yes"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution__x3A__context" select="$system_cache__dita__x3A__svg:cursor.read"/>
+                    </xsl:call-template>
+                    
+                    <!-- $system_cache__dita__x3A__svg:cursor.current.height z $$system_cache__dita__x3A__svg:offsetY.height -->
+                    <xsl:comment>#300 (zera) cursor() X2  B  MAX  COR  [[[ <xsl:value-of select="system_cache__dita__x3A__svg:resolution.coordinate.axis.x()"/> ]]]
+                        [[[ <xsl:value-of select="system_cache__dita__x3A__svg:resolution.coordinate.index.2()"/> ]]]
+                        [[[ <xsl:value-of select="system_cache__dita__x3A__svg:resolution.coordinate.cursor.bounds.max.length()"/> ]]] </xsl:comment>
+                    <xsl:call-template name="system_cache__dita__x3A__svg:resolution.value.bounds">
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.axis" select="system_cache__dita__x3A__svg:resolution.coordinate.axis.x()" tunnel="yes"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.index" select="system_cache__dita__x3A__svg:resolution.coordinate.index.2()" tunnel="yes"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.class" select="system_cache__dita__x3A__svg:resolution.coordinate.cursor.bounds.max.coordinate()"  tunnel="yes"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.data" select="system_cache__dita__x3A__svg:resolution.coordinate.data(system_cache__dita__x3A__svg:resolution.coordinate.axis.x(),
+                            system_cache__dita__x3A__svg:resolution.coordinate.index.2(),system_cache__dita__x3A__svg:resolution.coordinate.cursor.bounds.max.coordinate())" tunnel="yes"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution__x3A__context" select="$system_cache__dita__x3A__svg:cursor.read"/>
+                    </xsl:call-template>
+                    
+                    
+                    <xsl:comment>#350 cursor() Y2  B  MAX  L  [[[ <xsl:value-of select="system_cache__dita__x3A__svg:resolution.coordinate.axis.y()"/> ]]]
+                        [[[ <xsl:value-of select="system_cache__dita__x3A__svg:resolution.coordinate.index.2()"/> ]]]
+                        [[[ <xsl:value-of select="system_cache__dita__x3A__svg:resolution.coordinate.cursor.bounds.max.length()"/> ]]] </xsl:comment>
+                    <xsl:call-template name="system_cache__dita__x3A__svg:resolution.value.bounds">
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.axis" select="system_cache__dita__x3A__svg:resolution.coordinate.axis.y()" tunnel="yes"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.index" select="system_cache__dita__x3A__svg:resolution.coordinate.index.2()" tunnel="yes"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.class" select="system_cache__dita__x3A__svg:resolution.coordinate.cursor.bounds.max.length()"  tunnel="yes"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.data" select="system_cache__dita__x3A__svg:resolution.coordinate.data(system_cache__dita__x3A__svg:resolution.coordinate.axis.y(),
+                            system_cache__dita__x3A__svg:resolution.coordinate.index.2(),system_cache__dita__x3A__svg:resolution.coordinate.cursor.bounds.max.length())" tunnel="yes"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution__x3A__context" select="$system_cache__dita__x3A__svg:cursor.read"/>
+                    </xsl:call-template>
+                    <xsl:comment>#400 cursor() Y2  B  MIN  L  [[[ <xsl:value-of select="system_cache__dita__x3A__svg:resolution.coordinate.axis.y()"/> ]]]
+                        [[[ <xsl:value-of select="system_cache__dita__x3A__svg:resolution.coordinate.index.2()"/> ]]]
+                        [[[ <xsl:value-of select="system_cache__dita__x3A__svg:resolution.coordinate.cursor.bounds.min.length()"/> ]]] </xsl:comment>
+                    <xsl:call-template name="system_cache__dita__x3A__svg:resolution.value.bounds">
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.axis" select="system_cache__dita__x3A__svg:resolution.coordinate.axis.y()" tunnel="yes"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.index" select="system_cache__dita__x3A__svg:resolution.coordinate.index.2()" tunnel="yes"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.class" select="system_cache__dita__x3A__svg:resolution.coordinate.cursor.bounds.min.length()"  tunnel="yes"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.data" select="system_cache__dita__x3A__svg:resolution.coordinate.data(system_cache__dita__x3A__svg:resolution.coordinate.axis.y(),
+                            system_cache__dita__x3A__svg:resolution.coordinate.index.2(),system_cache__dita__x3A__svg:resolution.coordinate.cursor.bounds.min.length())" tunnel="yes"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution__x3A__context" select="$system_cache__dita__x3A__svg:cursor.read"/>
+                    </xsl:call-template>
+                    <xsl:comment>#450 cursor() X2  B  MIN  L  [[[ <xsl:value-of select="system_cache__dita__x3A__svg:resolution.coordinate.axis.x()"/> ]]]
+                        [[[ <xsl:value-of select="system_cache__dita__x3A__svg:resolution.coordinate.index.2()"/> ]]]
+                        [[[ <xsl:value-of select="system_cache__dita__x3A__svg:resolution.coordinate.cursor.bounds.max.length()"/> ]]] </xsl:comment>
+                                    <xsl:comment>data.x2.bounds.max.length="600</xsl:comment>
+                    <xsl:call-template name="system_cache__dita__x3A__svg:resolution.value.bounds">
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.axis" select="system_cache__dita__x3A__svg:resolution.coordinate.axis.x()" tunnel="yes"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.index" select="system_cache__dita__x3A__svg:resolution.coordinate.index.2()" tunnel="yes"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.class" select="system_cache__dita__x3A__svg:resolution.coordinate.cursor.bounds.max.length()"  tunnel="yes"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.data" select="system_cache__dita__x3A__svg:resolution.coordinate.data(system_cache__dita__x3A__svg:resolution.coordinate.axis.x(),
+                            system_cache__dita__x3A__svg:resolution.coordinate.index.2(),system_cache__dita__x3A__svg:resolution.coordinate.cursor.bounds.max.length())" tunnel="yes"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution__x3A__context" select="$system_cache__dita__x3A__svg:cursor.read"/>
+                    </xsl:call-template>
+                   
+                    <!-- ***KURS*** --><!-- ***KURS*** --><!-- ***KURS*** --><!-- ***KURS*** --><!-- ***KURS*** --> <!-- ***KURS*** --><!-- ***KURS*** --><!-- ***KURS*** --><!-- ***KURS*** --><!-- ***KURS*** --> <!-- ***KURS*** -->
+                   
+                    
+                    <xsl:comment>#500  niepotrzebne system_cache__dita__x3A__svg:resolution.coordinate.id couns</xsl:comment>
+                    <xsl:call-template  name="system_cache__dita__x3A__svg:resolution.count">
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.axis" select="$system_cache__dita__x3A__svg:resolution.coordinate.axis.y" tunnel="yes"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.index" select="$system_cache__dita__x3A__svg:resolution.coordinate.index" tunnel="yes"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.class" select="system_cache__dita__x3A__svg:resolution.coordinate.id()" tunnel="yes"/>
+                        <!--<xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.data" select="$system_cache__dita__x3A__svg:resolution.coordinate.data" tunnel="yes"/>-->
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.data" select="system_cache__dita__x3A__svg:resolution.coordinate.data($system_cache__dita__x3A__svg:resolution.coordinate.axis.y,
+                            $system_cache__dita__x3A__svg:resolution.coordinate.index,system_cache__dita__x3A__svg:resolution.coordinate.id())" tunnel="yes"/>
+                    </xsl:call-template>
+                    
+                   <!-- <test_attr_to_find_id debug="{system_cache__dita__x3A__svg:resolution.coordinate.data($system_cache__dita__x3A__svg:resolution.coordinate.axis.y,
+                        $system_cache__dita__x3A__svg:resolution.coordinate.index,system_cache__dita__x3A__svg:resolution.coordinate.id())}"/>
+                    -->    
+                     <xsl:comment>#550 system_cache__dita__x3A__svg:resolution.coordinate.label  label couns + 34 trzeba poalczyc w jednen set</xsl:comment>
+                             
+                            <xsl:call-template name="system_cache__dita__x3A__svg:resolution__x3A__controller">
+                                <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.axis" select="$system_cache__dita__x3A__svg:resolution.coordinate.axis.y" tunnel="yes"/>
+                                <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.index" select="$system_cache__dita__x3A__svg:resolution.coordinate.index" tunnel="yes"/>
+                                <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.class" select="system_cache__dita__x3A__svg:resolution.coordinate.label()" tunnel="yes"/>
+                                <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.data" select="system_cache__dita__x3A__svg:resolution.coordinate.data($system_cache__dita__x3A__svg:resolution.coordinate.axis.y,
+                                    $system_cache__dita__x3A__svg:resolution.coordinate.index,system_cache__dita__x3A__svg:resolution.coordinate.label())" tunnel="yes"/>
+                                
+                                <xsl:with-param name="system_cache__dita__x3A__svg:resolution.count__x3A__init" select="true()"/>
+                                <xsl:with-param name="system_cache__dita__x3A__svg:resolution.value.bounds__x3A__init" select="true()"/>
+                            </xsl:call-template>
+                             
+                             
+                             <xsl:comment>#44  label bonds on axis"<xsl:value-of select="$system_cache__dita__x3A__svg:resolution.coordinate.axis.y"/>"; index="<xsl:value-of select="$system_cache__dita__x3A__svg:resolution.coordinate.index"/>"</xsl:comment>
+                             
+                    
+                    <xsl:comment>#600-B EOF  label couns + 34 trzeba poalczyc w jednen set</xsl:comment>
+                    <!--<xsl:call-template name="system_cache__dita__x3A__svg:resolution.value.bounds">
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.axis" select="$system_cache__dita__x3A__svg:resolution.coordinate.axis.y" tunnel="yes"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.index" select="$system_cache__dita__x3A__svg:resolution.coordinate.index" tunnel="yes"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.class" select="system_cache__dita__x3A__svg:resolution.coordinate.value()" tunnel="yes"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.data" select="system_cache__dita__x3A__svg:resolution.coordinate.data($system_cache__dita__x3A__svg:resolution.coordinate.axis.y,
+                            $system_cache__dita__x3A__svg:resolution.coordinate.index,system_cache__dita__x3A__svg:resolution.coordinate.value())" tunnel="yes"/>
+                    </xsl:call-template>-->
+                    
+                    
+                                <xsl:comment>#650 value() values bonds</xsl:comment>
+                    
+                                     <xsl:call-template name="system_cache__dita__x3A__svg:resolution.value.bounds">
+                                         <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.axis" select="$system_cache__dita__x3A__svg:resolution.coordinate.axis.y" tunnel="yes"/>
+                                         <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.index" select="$system_cache__dita__x3A__svg:resolution.coordinate.index" tunnel="yes"/>
+                                         <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.class" select="system_cache__dita__x3A__svg:resolution.coordinate.value()" tunnel="yes"/>
+                                         <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.data" select="system_cache__dita__x3A__svg:resolution.coordinate.data($system_cache__dita__x3A__svg:resolution.coordinate.axis.y,
+                                             $system_cache__dita__x3A__svg:resolution.coordinate.index,system_cache__dita__x3A__svg:resolution.coordinate.value())" tunnel="yes"/>
+                                     </xsl:call-template>
+                                     <xsl:comment>#700 abel() coords</xsl:comment>
+                                     <xsl:call-template name="system_cache__dita__x3A__svg:resolution.value.dataset">
+                                         <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.axis" select="$system_cache__dita__x3A__svg:resolution.coordinate.axis.y" tunnel="yes"/>
+                                         <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.index" select="$system_cache__dita__x3A__svg:resolution.coordinate.index" tunnel="yes"/>
+                                         <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.class" select="system_cache__dita__x3A__svg:resolution.coordinate.label()" tunnel="yes"/>
+                                         <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.data" select="system_cache__dita__x3A__svg:resolution.coordinate.data($system_cache__dita__x3A__svg:resolution.coordinate.axis.y,
+                                             $system_cache__dita__x3A__svg:resolution.coordinate.index,system_cache__dita__x3A__svg:resolution.coordinate.label())" tunnel="yes"/>
+                                     </xsl:call-template>
+                                    
+                    
+                </xsl:element>
+            
+            </system_cache__dita__x3A__svg:resolution.offset.dataset.prepared>
+                
+            
+        </xsl:variable>
+        <!--<xsl:copy-of select="$system_cache__dita__x3A__svg:resolution.offset.dataset.prepared.data.label"></xsl:copy-of>-->
+        <xsl:comment>#800 prepared copy apply</xsl:comment>
+        <xsl:apply-templates mode="system_cache__dita__x3A__svg:openHiLoClose.label" select="$system_cache__dita__x3A__svg:resolution.offset.dataset.prepared.data.label"/>
+    </xsl:template>
+    
+    <xsl:template mode="system_cache__dita__x3A__svg:openHiLoClose.label" match="*"><!-- merging datasets -->
+        <xsl:comment>#950 error unantended matched <xsl:value-of select="name()"/></xsl:comment>
+    </xsl:template>
+    
+    <xsl:template mode="system_cache__dita__x3A__svg:openHiLoClose.label" match="system_cache__dita__x3A__svg:resolution.offset.dataset.prepared[system_cache__dita__x3A__svg:data.y1.label.dataset.prepared ]"><!-- merging datasets @*[ contains(local-name() , system_cache__dita__x3A__svg:resolution.coordinate.label()  ) -->
+        <system_cache__dita__x3A__svg:openHiLoClose.resolution.coordinate.label debug="1007">
+                <xsl:apply-templates mode="#current"/>            
+        </system_cache__dita__x3A__svg:openHiLoClose.resolution.coordinate.label>
+    </xsl:template>
+    
+    
+    <xsl:template mode="system_cache__dita__x3A__svg:openHiLoClose.label" match="system_cache__dita__x3A__svg:data.y1.label.dataset.prepared"><!-- merging datasets @*[ contains(local-name() , system_cache__dita__x3A__svg:resolution.coordinate.label()  ) -->
+        <xsl:param name="system_cache__dita__x3A__svg:offsetY.minY" select="system_cache__dita__x3A__svg:data.y1.value/@system_cache__dita__x3A__svg:data.y1.value.bounds.min" />
+        <xsl:param name="system_cache__dita__x3A__svg:offsetY.maxY" select="system_cache__dita__x3A__svg:data.y1.value/@system_cache__dita__x3A__svg:data.y1.value.bounds.min" /><!-- to sa wartosci danych jak dalekp -->
+        <xsl:param name="system_cache__dita__x3A__svg:offsetY.height" select="system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate/@system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate.bounds.max"/><!-- $system_cache__dita__x3A__svg:offsetY.height -->
+        
+        <!--<xsl:param name="system_cache__dita__x3A__svg:offsetX.minX" select="system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate/@system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate.bounds.min" /><!-\- $system_cache__dita__x3A__svg:offsetX.minX -\->-->
+        <xsl:param name="system_cache__dita__x3A__svg:offsetX.minX" select="0" /><!-- system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate/@ -->
+        <xsl:param name="system_cache__dita__x3A__svg:offsetX.maxX" select="system_cache__dita__x3A__svg:data.y1.label/@system_cache__dita__x3A__svg:data.y1.label.count" /><!-- $system_cache__dita__x3A__svg:offsetX.maxX -->
+        
+        <xsl:param name="system_cache__dita__x3A__svg:offsetX.width" select="system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate/@system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate.bounds.max"/>
+        <xsl:param name="system_cache__dita__x3A__svg:cursor.current.Y" select="system_cache__dita__x3A__svg:data.y2.bounds.min.coordinate/@system_cache__dita__x3A__svg:data.y2.bounds.min.coordinate.bounds.max"/>
+        
+        
+        <xsl:comment>#191 to conitnue tutaj</xsl:comment>
+        <!--<xsl:copy-of select="."/>-->
+        <svg:g debug="svgu:openHiLoClose.3175"  >
+            <xsl:call-template name="system_cache__dita__x3A__svg:transform.translate.basic">
+                <xsl:with-param name="system_cache__dita__x3A__svg:offsetY.minY" select="$system_cache__dita__x3A__svg:offsetY.minY" />
+                <xsl:with-param name="system_cache__dita__x3A__svg:offsetY.maxY" select="$system_cache__dita__x3A__svg:offsetY.maxY" />
+                <xsl:with-param name="system_cache__dita__x3A__svg:offsetY.height" select="$system_cache__dita__x3A__svg:offsetY.height"/>
+                
+                <xsl:with-param name="system_cache__dita__x3A__svg:offsetX.minX" select="$system_cache__dita__x3A__svg:offsetX.minX" />
+                <xsl:with-param name="system_cache__dita__x3A__svg:offsetX.maxX" select="$system_cache__dita__x3A__svg:offsetX.maxX" />
+                <xsl:with-param name="system_cache__dita__x3A__svg:offsetX.width" select="$system_cache__dita__x3A__svg:offsetX.width"/>
+                
+                <xsl:with-param name="system_cache__dita__x3A__svg:cursor.current.Y" select="$system_cache__dita__x3A__svg:cursor.current.Y"/>
+            </xsl:call-template>
+            
+            
+            <xsl:comment>#279 willl apply-templates mode="#current"
+                    context/n= <xsl:value-of select="name()"/>
+                == system_cache__dita__x3A__svg:openHiLoClose.label</xsl:comment>
+            
+            
+            <xsl:apply-templates mode="#current">
+                <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:cursor.current.Y" select="$system_cache__dita__x3A__svg:cursor.current.Y"/>
+                <!-\-<xsl:with-param name="system_cache__dita__x3A__svg:x1.spacing" select="$system_cache__dita__x3A__svg:x1.spacing"/>-\->
+                
+                <xsl:with-param name="system_cache__dita__x3A__svg:y.min.relation_DateRangeElements" select="$system_cache__dita__x3A__svg:y.min.relation_DateRangeElements" />
+                <xsl:with-param name="system_cache__dita__x3A__svg:y.max.relation_DateRangeElements" select="$system_cache__dita__x3A__svg:y.max.relation_DateRangeElements" />
+                <xsl:with-param name="system_cache__dita__x3A__svg:cursor.current.height" select="$system_cache__dita__x3A__svg:cursor.current.height"/>
+                
+                <xsl:with-param name="system_cache__dita__x3A__svg:x1.min.leadingTimeDate" select="$system_cache__dita__x3A__svg:x1.min.leadingTimeDate" />
+                <xsl:with-param name="system_cache__dita__x3A__svg:x1.max.leadingTimeDate" select="$system_cache__dita__x3A__svg:x1.max.leadingTimeDate" />
+                <xsl:with-param name="system_cache__dita__x3A__svg:width__x3A__limit" select="$system_cache__dita__x3A__svg:width__x3A__limit"/>
+                
+                <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.index" select="system_cache__dita__x3A__svg:resolution.coordinate.index.1()" tunnel="yes"/>
+                <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.axis" select="system_cache__dita__x3A__svg:resolution.coordinate.axis.y()" tunnel="yes"/>
+                <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.data.name" select="'leadingTimeDate-From'" tunnel="yes"/>
+                <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.data.position__x3A__limit" select="1" tunnel="yes"/>
+                -->
+            </xsl:apply-templates>
+        </svg:g>
+        
+        
+    </xsl:template>
+    
+    
+    <!--
+    system_cache__dita__x3A__svg:data.id.count="21"
+    system_cache__dita__x3A__svg:data.y1.label.count="11"
+    system_cache__dita__x3A__svg:data.y1.value.bounds.min="732132"
+    system_cache__dita__x3A__svg:data.y1.value.bounds.max="736026"
+    
+    @system_cache__dita__x3A__svg:offsetY.minY
+        and @system_cache__dita__x3A__svg:offsetY.maxY 
+        and @system_cache__dita__x3A__svg:offsetY.height
+        and @system_cache__dita__x3A__svg:offsetX.minX
+        and @system_cache__dita__x3A__svg:offsetX.maxX
+        and @system_cache__dita__x3A__svg:offsetX.width
+        and @system_cache__dita__x3A__svg:offsetY.maxY
+        and @system_cache__dita__x3A__svg:offsetX.width 
+    -->
+    <!--<xsl:with-param name="yValue" select="   relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y1.value"  />-->
+    
+    <xsl:template mode="system_cache__dita__x3A__svg:openHiLoClose.label" match="@*"/>
+    
+    
+    <xsl:template name="system_cache__dita__x3A__svg:resolution.x"><!-- to standarize resolution queries -->
+        <xsl:param name="system_cache__dita__x3A__svg:spacing"/>
+        <xsl:param name="system_cache__dita__x3A__svg:position"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.index" required="yes"/>
+        <!--x1="{$spacing * $pos}"-->
+        
+        <xsl:call-template name="system_cache__dita__x3A__svg:resolution.coordinate.write.x">
+            <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.index" select="$system_cache__dita__x3A__svg:resolution.coordinate.index"/>
+            <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.value" select="$system_cache__dita__x3A__svg:spacing * $system_cache__dita__x3A__svg:position"/>
+        </xsl:call-template>
+    </xsl:template>
+    
+    <xsl:function name="system_cache__dita__x3A__svg:resolution.coordinate.data">
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.axis"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.index"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.class"/>
+        <xsl:variable name="out">
+        <xsl:value-of select="'system_cache__dita__x3A__svg:data'"/>
+        <xsl:if test="string-length($system_cache__dita__x3A__svg:resolution.coordinate.axis)&gt;0 or string-length($system_cache__dita__x3A__svg:resolution.coordinate.index)&gt;0">.</xsl:if>
+        <xsl:value-of select="$system_cache__dita__x3A__svg:resolution.coordinate.axis"/>
+        <xsl:value-of select="$system_cache__dita__x3A__svg:resolution.coordinate.index"/>
+        <xsl:if test="string-length($system_cache__dita__x3A__svg:resolution.coordinate.class)&gt;0">.</xsl:if>
+        <xsl:value-of select="$system_cache__dita__x3A__svg:resolution.coordinate.class"/>
+        </xsl:variable>
+        <xsl:value-of select="$out"/>
+    </xsl:function>
+    
+    <xsl:function name="system_cache__dita__x3A__svg:resolution.coordinate.data.count">
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.axis"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.index"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.class"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.data.count"/>
+        <xsl:variable name="out">
+            <xsl:value-of select="system_cache__dita__x3A__svg:resolution.coordinate.data($system_cache__dita__x3A__svg:resolution.coordinate.axis,
+                $system_cache__dita__x3A__svg:resolution.coordinate.index , $system_cache__dita__x3A__svg:resolution.coordinate.class)"/>
+            <xsl:value-of select="'.'"/>
+            <xsl:value-of select="$system_cache__dita__x3A__svg:resolution.coordinate.data.count"/>
+        </xsl:variable>
+        <xsl:value-of select="$out"/>
+    </xsl:function>
+    
+    <xsl:function name="system_cache__dita__x3A__svg:resolution.coordinate.data.dataset">
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.axis"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.index"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.class"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.data.dataset"/>
+        <xsl:variable name="out">
+            <xsl:value-of select="system_cache__dita__x3A__svg:resolution.coordinate.data($system_cache__dita__x3A__svg:resolution.coordinate.axis,
+                $system_cache__dita__x3A__svg:resolution.coordinate.index , $system_cache__dita__x3A__svg:resolution.coordinate.class)"/>
+            <xsl:value-of select="'.'"/>
+            <xsl:value-of select="$system_cache__dita__x3A__svg:resolution.coordinate.data.dataset"/>
+        </xsl:variable>
+        <xsl:value-of select="$out"/>
+    </xsl:function>
+    
+    <xsl:function name="system_cache__dita__x3A__svg:resolution.coordinate.data.dataset.prepared">
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.axis"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.index"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.class"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.data.dataset"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.data.dataset.prepared"/>
+        <xsl:variable name="out">
+            <xsl:value-of select="system_cache__dita__x3A__svg:resolution.coordinate.data($system_cache__dita__x3A__svg:resolution.coordinate.axis,
+                $system_cache__dita__x3A__svg:resolution.coordinate.index , $system_cache__dita__x3A__svg:resolution.coordinate.class)"/>
+            <xsl:value-of select="'.'"/>
+            <xsl:value-of select="$system_cache__dita__x3A__svg:resolution.coordinate.data.dataset"/>
+            <xsl:value-of select="'.'"/>
+            <xsl:value-of select="$system_cache__dita__x3A__svg:resolution.coordinate.data.dataset.prepared"/>
+        </xsl:variable>
+        <xsl:value-of select="$out"/>
+    </xsl:function>
+    
+    <xsl:function name="system_cache__dita__x3A__svg:resolution.coordinate.data.dataset.prepared">prepared</xsl:function>
+    
+    <xsl:function name="system_cache__dita__x3A__svg:resolution.coordinate.value.dataset">
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.axis"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.index"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.class"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.value.dataset"/>
+        <xsl:variable name="out">
+            <xsl:value-of select="system_cache__dita__x3A__svg:resolution.coordinate.data($system_cache__dita__x3A__svg:resolution.coordinate.axis,
+                $system_cache__dita__x3A__svg:resolution.coordinate.index , $system_cache__dita__x3A__svg:resolution.coordinate.class)"/>
+            <xsl:value-of select="'.'"/>
+            <xsl:value-of select="$system_cache__dita__x3A__svg:resolution.coordinate.value.dataset"/>
+        </xsl:variable>
+        <xsl:value-of select="$out"/>
+    </xsl:function>
+    
+    <xsl:function name="system_cache__dita__x3A__svg:resolution.coordinate.value.bounds">
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.axis"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.index"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.class"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.value.bounds"/>
+        <xsl:variable name="out">
+            <xsl:value-of select="system_cache__dita__x3A__svg:resolution.coordinate.data($system_cache__dita__x3A__svg:resolution.coordinate.axis,
+                $system_cache__dita__x3A__svg:resolution.coordinate.index , $system_cache__dita__x3A__svg:resolution.coordinate.class)"/>
+            <xsl:value-of select="'.'"/>
+            <xsl:value-of select="$system_cache__dita__x3A__svg:resolution.coordinate.value.bounds"/>
+        </xsl:variable>
+        <xsl:value-of select="$out"/>
+    </xsl:function>
+    
+    <xsl:function name="system_cache__dita__x3A__svg:resolution.coordinate.data.dataset">dataset</xsl:function>
+    <xsl:function name="system_cache__dita__x3A__svg:resolution.coordinate.data.count">count</xsl:function>
+    
+    <xsl:function name="system_cache__dita__x3A__svg:resolution.coordinate.value.dataset">dataset</xsl:function>
+    
+    <xsl:function name="system_cache__dita__x3A__svg:resolution.coordinate.value.bounds.min.latest">bounds.min.latest</xsl:function>
+    <xsl:function name="system_cache__dita__x3A__svg:resolution.coordinate.value.bounds.min">bounds.min</xsl:function>
+    <xsl:function name="system_cache__dita__x3A__svg:resolution.coordinate.value.bounds.max.latest">bounds.max.latest</xsl:function>
+    <xsl:function name="system_cache__dita__x3A__svg:resolution.coordinate.value.bounds.max">bounds.max</xsl:function>
+    <xsl:function name="system_cache__dita__x3A__svg:resolution.coordinate.value">value</xsl:function>
+    
+    <xsl:function name="system_cache__dita__x3A__svg:resolution.coordinate.diagnose">diagnose</xsl:function>
+    <xsl:function name="system_cache__dita__x3A__svg:resolution.coordinate.diagnose.option">diagnose.option</xsl:function>
+    
+    <xsl:function name="system_cache__dita__x3A__svg:resolution.coordinate.cursor">cursor</xsl:function>
+    
+    <xsl:function name="system_cache__dita__x3A__svg:resolution.coordinate.latest">latest</xsl:function><!-- swieze dane -->
+    <xsl:function name="system_cache__dita__x3A__svg:resolution.coordinate.expired">expired</xsl:function><!-- swieze dane sie przedawnily -->
+    
+    <xsl:function name="system_cache__dita__x3A__svg:resolution.coordinate.cursor.bounds.min.length.latest">bounds.min.length.latest</xsl:function>
+    <xsl:function name="system_cache__dita__x3A__svg:resolution.coordinate.cursor.bounds.min.length">bounds.min.length</xsl:function>
+    <xsl:function name="system_cache__dita__x3A__svg:resolution.coordinate.cursor.bounds.max.length">bounds.max.length</xsl:function>
+    <xsl:function name="system_cache__dita__x3A__svg:resolution.coordinate.cursor.bounds.min.coordinate">bounds.min.coordinate</xsl:function>
+    
+    <xsl:function name="system_cache__dita__x3A__svg:resolution.coordinate.cursor.bounds.max.coordinate">bounds.max.coordinate</xsl:function>
+    <xsl:function name="system_cache__dita__x3A__svg:resolution.coordinate.cursor.bounds.max.coordinate.latest">bounds.max.coordinate.latest</xsl:function>
+    
+    <xsl:function name="system_cache__dita__x3A__svg:resolution.coordinate.cursor.bounds.offset">bounds.offset</xsl:function>
+    
+    
+    
+    <xsl:function name="system_cache__dita__x3A__svg:resolution.coordinate.cursor.limit">cursor.limit</xsl:function>
+    
+    <xsl:function name="system_cache__dita__x3A__svg:resolution.coordinate.id">id</xsl:function>
+    <xsl:function name="system_cache__dita__x3A__svg:resolution.coordinate.label">label</xsl:function>
+    <xsl:function name="system_cache__dita__x3A__svg:resolution.coordinate.data">data</xsl:function>
+    
+    <xsl:function name="system_cache__dita__x3A__svg:resolution.coordinate.data.label">
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.axis"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.index"/>
+        <xsl:value-of select="concat('system_cache__dita__x3A__svg:data.',$system_cache__dita__x3A__svg:resolution.coordinate.axis,$system_cache__dita__x3A__svg:resolution.coordinate.index,'.label')"/>
+    </xsl:function>
+    
+    <xsl:function name="system_cache__dita__x3A__svg:resolution.coordinate.data.name">
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.axis"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.index"/>
+        <xsl:value-of select="concat('system_cache__dita__x3A__svg:data.',$system_cache__dita__x3A__svg:resolution.coordinate.axis,$system_cache__dita__x3A__svg:resolution.coordinate.index,'.name')"/>
+    </xsl:function>
+    
+    
+    <xsl:template name="system_cache__dita__x3A__svg:resolution__x3A__controller">
+        <!-- allow several tests in same dataset output -->
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.data" required="yes" tunnel="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.axis" tunnel="yes" required="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.index" tunnel="yes" required="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.class" tunnel="yes" required="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution__x3A__context"/>
+        
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.value.dataset__x3A__init"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.value.bounds__x3A__init"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.count__x3A__init"/>
+        <xsl:variable name="system_cache__dita__x3A__svg:resolution__x3A__controller.dataset">
+            <system_cache__dita__x3A__svg:resolution__x3A__controller.dataset>
+            <xsl:choose>
+                <xsl:when test="$system_cache__dita__x3A__svg:resolution.value.dataset__x3A__init">
+                    
+                        <xsl:call-template name="system_cache__dita__x3A__svg:resolution.value.dataset">
+                            <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.axis" select="$system_cache__dita__x3A__svg:resolution.coordinate.axis" tunnel="yes"/>
+                            <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.index" select="$system_cache__dita__x3A__svg:resolution.coordinate.index" tunnel="yes"/>
+                            <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.class" select="$system_cache__dita__x3A__svg:resolution.coordinate.class" tunnel="yes"/>
+                            <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.data" select="$system_cache__dita__x3A__svg:resolution.coordinate.data" tunnel="yes"/>
+                        </xsl:call-template>
+                    
+                </xsl:when>
+            </xsl:choose>
+            <xsl:choose>
+                <xsl:when test="$system_cache__dita__x3A__svg:resolution.value.bounds__x3A__init">
+                    <xsl:call-template name="system_cache__dita__x3A__svg:resolution.value.bounds">
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.axis" select="$system_cache__dita__x3A__svg:resolution.coordinate.axis" tunnel="yes"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.index" select="$system_cache__dita__x3A__svg:resolution.coordinate.index" tunnel="yes"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.class" select="$system_cache__dita__x3A__svg:resolution.coordinate.class" tunnel="yes"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.data" select="$system_cache__dita__x3A__svg:resolution.coordinate.data" tunnel="yes"/>
+                    </xsl:call-template>
+                </xsl:when>
+            </xsl:choose>
+            <xsl:choose>
+                <xsl:when test="$system_cache__dita__x3A__svg:resolution.count__x3A__init">
+                    <xsl:call-template name="system_cache__dita__x3A__svg:resolution.count"><!-- label -->
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.axis" select="$system_cache__dita__x3A__svg:resolution.coordinate.axis" tunnel="yes"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.index" select="$system_cache__dita__x3A__svg:resolution.coordinate.index" tunnel="yes"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.class" select="$system_cache__dita__x3A__svg:resolution.coordinate.class" tunnel="yes"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.data" select="$system_cache__dita__x3A__svg:resolution.coordinate.data" tunnel="yes"/>
+                    </xsl:call-template>
+                </xsl:when>
+            </xsl:choose>
+            </system_cache__dita__x3A__svg:resolution__x3A__controller.dataset>
+        </xsl:variable>
+        <xsl:apply-templates mode="system_cache__dita__x3A__svg:resolution__x3A__controller" select="$system_cache__dita__x3A__svg:resolution__x3A__controller.dataset"/>
+    </xsl:template>
+    
+    
+    
+    
+    <xsl:template mode="system_cache__dita__x3A__svg:resolution__x3A__controller" match="system_cache__dita__x3A__svg:resolution__x3A__controller.dataset">
+        <xsl:for-each-group select="*" group-by="name()">
+            <xsl:element name="{name()}">
+                <xsl:for-each select="current-group()">
+                    <xsl:apply-templates mode="#current" select="@*"/>
+                    <xsl:apply-templates mode="#current" select="*"/>
+                </xsl:for-each>
+            </xsl:element>
+        </xsl:for-each-group>
+    </xsl:template>
+    
+    <xsl:template mode="system_cache__dita__x3A__svg:resolution__x3A__controller" match="*">
+        <xsl:copy-of select="."/>
+    </xsl:template>
+    <xsl:template mode="system_cache__dita__x3A__svg:resolution__x3A__controller" match="@*">
+        <xsl:copy-of select="."/>
+    </xsl:template>
+    
+    <xsl:template mode="system_cache__dita__x3A__svg:resolution__x3A__controller" match="text()|comment()">
+        <!--<xsl:copy-of select="."/>-->
+    </xsl:template>
+    
+    
+    <xsl:template name="system_cache__dita__x3A__svg:resolution.value.dataset">
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.data" required="yes" tunnel="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.axis" tunnel="yes" required="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.index" tunnel="yes" required="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.class" tunnel="yes" required="yes"/>
+        <!--count(descendant-or-self::system_cache__dita__x3A__svg:data.current-group/@system_cache__dita__x3A__svg:data.id)-->
+        <xsl:variable name="system_cache__dita__x3A__svg:resolution.value.dataset">
+            <system_cache__dita__x3A__svg:resolution.value.dataset  system_cache__dita__x3A__svg:resolution.coordinate.data="{$system_cache__dita__x3A__svg:resolution.coordinate.data}" >
+                <xsl:call-template name="system_cache__dita__x3A__svg:resolution.coordinate.data.context"/>
+            </system_cache__dita__x3A__svg:resolution.value.dataset>
+        </xsl:variable>
+        <xsl:call-template name="system_cache__dita__x3A__svg:elements.data.dataset__x3A__append" >
+            <xsl:with-param name="system_cache__dita__x3A__svg:elements.data.dataset__x3A__values"  select="$system_cache__dita__x3A__svg:resolution.value.dataset"  />
+            <!--<xsl:with-param name="system_cache__dita__x3A__svg:elements.data.bounds.max__x3A__value"  select="max($system_cache__dita__x3A__svg:resolution.value.bounds/descendant-or-self::*[@*[name()=$system_cache__dita__x3A__svg:resolution.coordinate.data]]/@*[name()=$system_cache__dita__x3A__svg:resolution.coordinate.data]/number(.))"  />-->
+        </xsl:call-template>
+        <!--<xsl:copy-of select="$system_cache__dita__x3A__svg:resolution.value.bounds"/>-->
+        <!--<xsl:value-of select="count($system_cache__dita__x3A__svg:resolution.count/descendant-or-self::*[@*[name()=$system_cache__dita__x3A__svg:resolution.coordinate.data]])"/>-->
+    </xsl:template>
+    
+    <xsl:template name="system_cache__dita__x3A__svg:resolution.value.bounds">
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.data" required="yes" tunnel="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.axis" tunnel="yes" required="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.index" tunnel="yes" required="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.class" tunnel="yes" required="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution__x3A__context"/><!-- to sometimes force some nodes to parse -->
+        <xsl:param name="system_cache__dita__x3A__svg:resolution__x3A__debug"/>
+        <!--count(descendant-or-self::system_cache__dita__x3A__svg:data.current-group/@system_cache__dita__x3A__svg:data.id)-->
+        
+        <xsl:choose>
+            <xsl:when test="$system_cache__dita__x3A__svg:resolution__x3A__debug"><xsl:comment>[#472:Bounds::][[  <xsl:value-of select="$system_cache__dita__x3A__svg:resolution.coordinate.axis"/>  ]]][[[ <xsl:value-of select="$system_cache__dita__x3A__svg:resolution.coordinate.index"/> ]]][[[  <xsl:value-of select="$system_cache__dita__x3A__svg:resolution.coordinate.class"/>  ]]]</xsl:comment></xsl:when>
+        </xsl:choose>
+        <xsl:variable name="system_cache__dita__x3A__svg:resolution.value.bounds">
+            <system_cache__dita__x3A__svg:resolution.value.bounds coordinate.data="{$system_cache__dita__x3A__svg:resolution.coordinate.data}" searched.index="{$system_cache__dita__x3A__svg:resolution.coordinate.index}" >
+                <xsl:call-template name="system_cache__dita__x3A__svg:resolution.coordinate.data.context">
+                    <xsl:with-param name="system_cache__dita__x3A__svg:resolution__x3A__context" select="$system_cache__dita__x3A__svg:resolution__x3A__context"/>
+                </xsl:call-template>
+            </system_cache__dita__x3A__svg:resolution.value.bounds>
+        </xsl:variable>
+        
+        <xsl:variable name="system_cache__dita__x3A__svg:elements.data.bounds.max__x3A__latest__x3A__value" >
+            <xsl:for-each select="$system_cache__dita__x3A__svg:resolution.value.bounds//*[@*[name()=$system_cache__dita__x3A__svg:resolution.coordinate.data and ( number() or . ='0' ) ] 
+                ]/@*[name()=$system_cache__dita__x3A__svg:resolution.coordinate.data and ( number() or . ='0' ) ]"><!-- descendant-or-self::  number(.)-->
+                <xsl:sort select="position()" order="descending" data-type="number"/><!-- and not(preceding-sibling::*)  -->
+                <xsl:choose>
+                    <xsl:when test="position()=1"><xsl:value-of select="number(.)"/></xsl:when>
+                </xsl:choose>
+            </xsl:for-each>
+        </xsl:variable>
+        
+        <xsl:variable name="system_cache__dita__x3A__svg:elements.data.bounds.min__x3A__latest__x3A__value" >
+            <xsl:for-each select="$system_cache__dita__x3A__svg:resolution.value.bounds//*[@*[name()=$system_cache__dita__x3A__svg:resolution.coordinate.data and  number() ]     ]/@*[name()=$system_cache__dita__x3A__svg:resolution.coordinate.data and number() ]"><!-- /number(.) and not(preceding-sibling::*)--> <!-- descendant-or-self:: -->
+                <!--<xsl:sort  select="position()" order="descending" data-type="number"/>-->
+                <!--<xsl:sort select="number()" order="descending" data-type="number"/>-->
+                <xsl:sort select="position()" order="descending" data-type="number"/>
+                <xsl:choose>
+                    <xsl:when test="position()=1"><!--(<xsl:value-of select="position()"/>)<xsl:value-of select="parent::*/name()"/>|<xsl:value-of select="position()"/><xsl:text>||</xsl:text><xsl:value-of select="name()"/><xsl:text>=</xsl:text><xsl:value-of select="number(.)"/><xsl:text>, </xsl:text>-->
+                           <xsl:value-of select="number(.)"/>     
+                    </xsl:when>
+                    <!--<xsl:when test="position() = last()">
+                        (<xsl:value-of select="position()"/>)<xsl:value-of select="parent::*/name()"/>|<xsl:value-of select="position()"/><xsl:text>||</xsl:text><xsl:value-of select="name()"/><xsl:text>=</xsl:text><xsl:value-of select="number(.)"/><xsl:text>, </xsl:text>
+                    </xsl:when>-->
+                </xsl:choose>
+            </xsl:for-each>
+        </xsl:variable>
+        
+        <!--<xsl:variable name="system_cache__dita__x3A__svg:resolution.coordinate.diagnose.option">
+            <system_cache__dita__x3A__svg:resolution.coordinate.diagnose.option>
+                [DDD1][[[<xsl:value-of select="count($system_cache__dita__x3A__svg:resolution.value.bounds//*)"/>]]]]
+                [DD2][[[<xsl:for-each select="$system_cache__dita__x3A__svg:resolution.value.bounds//*">
+                    [n/][<xsl:value-of select="name()"/>][@][<xsl:for-each select="@*">]
+                        [@<xsl:value-of select="name()"/>]==[<xsl:value-of select="."/>][<xsl:if test="number()">(1-9)+</xsl:if>][<xsl:if test=". = '0'">(=0=)</xsl:if>][<xsl:if test="text() = '0'">|||A=0=A||</xsl:if>][<xsl:if test="text() = '0'">|||A=0=A||</xsl:if></xsl:for-each>
+                </xsl:for-each>]]]]
+               <!-\- [$string search==<xsl:value-of select="$system_cache__dita__x3A__svg:resolution.coordinate.data"/>]
+                */n=<xsl:value-of select="$system_cache__dita__x3A__svg:resolution.value.bounds/name()"/>; 
+                
+                [Testif Na,me any like][[<xsl:value-of select="$system_cache__dita__x3A__svg:resolution.value.bounds//*[@*[name()=$system_cache__dita__x3A__svg:resolution.coordinate.data ]     ]/@*[name()=$system_cache__dita__x3A__svg:resolution.coordinate.data ]"/>]]
+                #####
+                [Test 2 czy z ta sama nazwa ] ystem_cache__dita__x3A__svg:data.y1.bounds.min.coordinate
+                <xsl:for-each select="@*">
+                    @=<xsl:value-of select="name()"/>=[[[[<xsl:value-of select="$system_cache__dita__x3A__svg:resolution.value.bounds//*//@*[name()=$system_cache__dita__x3A__svg:resolution.coordinate.data ]"/>) ;]]] 
+                </xsl:for-each>
+                
+                <xsl:for-each select="$system_cache__dita__x3A__svg:resolution.value.bounds//*[@*[name()=$system_cache__dita__x3A__svg:resolution.coordinate.data and (  number() or text()='0' )  ]     ]/@*[name()=$system_cache__dita__x3A__svg:resolution.coordinate.data ]">
+                    <xsl:value-of select="name()"/> = <xsl:value-of select="."/>
+                </xsl:for-each>-\->
+            </system_cache__dita__x3A__svg:resolution.coordinate.diagnose.option>
+        </xsl:variable>-->
+        
+        
+        <xsl:call-template name="system_cache__dita__x3A__svg:elements.data.bounds__x3A__append" >
+            <xsl:with-param  name="system_cache__dita__x3A__svg:elements.data.bounds.min__x3A__latest__x3A__value"  select="$system_cache__dita__x3A__svg:elements.data.bounds.min__x3A__latest__x3A__value"  />
+            <xsl:with-param name="system_cache__dita__x3A__svg:elements.data.bounds.max__x3A__latest__x3A__value"  select="$system_cache__dita__x3A__svg:elements.data.bounds.max__x3A__latest__x3A__value"  />
+            <xsl:with-param name="system_cache__dita__x3A__svg:elements.data.bounds.min__x3A__value"  select="min($system_cache__dita__x3A__svg:resolution.value.bounds/descendant-or-self::*[@*[name()=$system_cache__dita__x3A__svg:resolution.coordinate.data and ( number() or .='0'  )  ]  ]/@*[name()=$system_cache__dita__x3A__svg:resolution.coordinate.data]/number(.))"  />
+            <xsl:with-param name="system_cache__dita__x3A__svg:elements.data.bounds.max__x3A__value"  select="max($system_cache__dita__x3A__svg:resolution.value.bounds/descendant-or-self::*[@*[name()=$system_cache__dita__x3A__svg:resolution.coordinate.data and ( number() or .='0'  )  ]  ]/@*[name()=$system_cache__dita__x3A__svg:resolution.coordinate.data]/number(.))"  />
+            <!--<xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.diagnose.option" select="$system_cache__dita__x3A__svg:resolution.coordinate.diagnose.option" />-->
+        </xsl:call-template>
+        <!--<xsl:copy-of select="$system_cache__dita__x3A__svg:resolution.value.bounds"/>-->
+        <!--<xsl:value-of select="count($system_cache__dita__x3A__svg:resolution.count/descendant-or-self::*[@*[name()=$system_cache__dita__x3A__svg:resolution.coordinate.data]])"/>-->
+    </xsl:template>
+    
+    
+    
+    
+    <xsl:template name="system_cache__dita__x3A__svg:resolution.count">
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.data" required="yes" tunnel="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.axis" tunnel="yes" required="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.index" tunnel="yes" required="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.class" tunnel="yes" required="yes"/>
+        <!--count(descendant-or-self::system_cache__dita__x3A__svg:data.current-group/@system_cache__dita__x3A__svg:data.id)-->
+        <xsl:variable name="system_cache__dita__x3A__svg:resolution.count">
+            <system_cache__dita__x3A__svg:resolution.count system_cache__dita__x3A__svg:resolution.coordinate.data="{$system_cache__dita__x3A__svg:resolution.coordinate.data}">
+                <!--<xsl:attribute name="system_cache__dita__x3A__svg:{$system_cache__dita__x3A__svg:resolution.coordinate.axis}{$system_cache__dita__x3A__svg:resolution.coordinate.index}count.data.{$system_cache__dita__x3A__svg:resolution.coordinate.class}" />-->
+                <xsl:call-template name="system_cache__dita__x3A__svg:resolution.coordinate.data.context"/>
+            </system_cache__dita__x3A__svg:resolution.count>
+        </xsl:variable>
+        <xsl:call-template name="system_cache__dita__x3A__svg:elements.data.count__x3A__append" >
+            <xsl:with-param name="system_cache__dita__x3A__svg:elements.data.count__x3A__value"  select="count($system_cache__dita__x3A__svg:resolution.count/descendant-or-self::*[@*[name()=$system_cache__dita__x3A__svg:resolution.coordinate.data]])"  />
+            
+        </xsl:call-template>
+        <!--<xsl:value-of select="count($system_cache__dita__x3A__svg:resolution.count/descendant-or-self::*[@*[name()=$system_cache__dita__x3A__svg:resolution.coordinate.data]])"/>-->
+    </xsl:template>
+    
+    
+    <xsl:template name="system_cache__dita__x3A__svg:resolution.coordinate.data">
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.axis" tunnel="yes" required="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.index" tunnel="yes" required="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.class" tunnel="yes" required="yes"/>
+        <xsl:variable name="system_cache__dita__x3A__svg:resolution.coordinate.data"  select="system_cache__dita__x3A__svg:resolution.coordinate.data(
+            $system_cache__dita__x3A__svg:resolution.coordinate.axis
+            ,$system_cache__dita__x3A__svg:resolution.coordinate.index,
+            $system_cache__dita__x3A__svg:resolution.coordinate.class)"/>
+        <xsl:value-of select="$system_cache__dita__x3A__svg:resolution.coordinate.data"/>
+    </xsl:template>
+    
+    <xsl:template name="system_cache__dita__x3A__svg:resolution.coordinate.data.context" >
+        <!-- system_cache__dita__x3A__svg:data.y1.name="leadingTimeDate-From" -->
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.data" required="yes" tunnel="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.axis" tunnel="yes" required="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.index" tunnel="yes" required="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.class" tunnel="yes" required="yes"/>
+        
+        <!--<xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.data.name" tunnel="yes" required="yes"/>-->
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.data.position__x3A__limit" select="1" tunnel="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution__x3A__context"/>
+        <system_cache__dita__x3A__svg:resolution.coordinate.data.context system_cache__dita__x3A__svg:resolution.coordinate.data="{$system_cache__dita__x3A__svg:resolution.coordinate.data}">
+            
+            <xsl:choose>
+                <xsl:when test="$system_cache__dita__x3A__svg:resolution__x3A__context">
+                    <xsl:copy-of select="$system_cache__dita__x3A__svg:resolution__x3A__context/descendant-or-self::*[@*[name()=$system_cache__dita__x3A__svg:resolution.coordinate.data]]"/><!-- [$system_cache__dita__x3A__svg:resolution.coordinate.data.position__x3A__limit] -->
+                    <xsl:apply-templates mode="system_cache__dita__x3A__svg:resolution.coordinate.data.context" select="$system_cache__dita__x3A__svg:resolution__x3A__context/*[@*[name()=$system_cache__dita__x3A__svg:resolution.coordinate.data]]">
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.class" select="$system_cache__dita__x3A__svg:resolution.coordinate.class" />
+                    </xsl:apply-templates>
+                </xsl:when>
+                <xsl:otherwise>
+                    <!--<xsl:element name="{name()}"></xsl:element>
+            <xsl:copy-of select="relation_DateRangeElements"/>
+            <xsl:element name="{$system_cache__dita__x3A__svg:resolution.coordinate.data.name}"></xsl:element>-->
+                    <xsl:copy-of select="descendant-or-self::*[@*[name()=$system_cache__dita__x3A__svg:resolution.coordinate.data]]"/><!-- [$system_cache__dita__x3A__svg:resolution.coordinate.data.position__x3A__limit] -->
+                    <xsl:apply-templates mode="system_cache__dita__x3A__svg:resolution.coordinate.data.context" select="*[@*[name()=$system_cache__dita__x3A__svg:resolution.coordinate.data]]">
+                        <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.class" select="$system_cache__dita__x3A__svg:resolution.coordinate.class" />
+                    </xsl:apply-templates>
+                </xsl:otherwise>
+            </xsl:choose>
+            
+           
+        </system_cache__dita__x3A__svg:resolution.coordinate.data.context>
+    </xsl:template>
+    
+    <xsl:template match="text()|comment()" mode="system_cache__dita__x3A__svg:resolution.coordinate.data.context"/>
+    
+    <xsl:template match="*" mode="system_cache__dita__x3A__svg:resolution.coordinate.data.context">
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.class" required="yes"/>
+        <xsl:choose>
+            <xsl:when test="@*[name()=$system_cache__dita__x3A__svg:resolution.coordinate.class]">
+                <xsl:copy>
+                    <xsl:copy-of  select="@*"/>
+                    <xsl:apply-templates  mode="#current"/>
+                </xsl:copy>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:apply-templates mode="#current">
+                    <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.class" select="$system_cache__dita__x3A__svg:resolution.coordinate.class" />
+                </xsl:apply-templates>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+    
+    <xsl:function name="system_cache__dita__x3A__svg:resolution.coordinate.index"/>
+    <xsl:function name="system_cache__dita__x3A__svg:resolution.coordinate.index.1">1</xsl:function>
+    <xsl:function name="system_cache__dita__x3A__svg:resolution.coordinate.index.2">2</xsl:function>
+    
+    <xsl:function name="system_cache__dita__x3A__svg:resolution.coordinate.axis"/>
+    <xsl:function name="system_cache__dita__x3A__svg:resolution.coordinate.axis.x">x</xsl:function>
+    <xsl:function name="system_cache__dita__x3A__svg:resolution.coordinate.axis.y">y</xsl:function>
+    
+    <xsl:template name="system_cache__dita__x3A__svg:resolution.y"><!-- to standarize resolution queries -->
+      <!--  <xsl:param name="system_cache__dita__x3A__svg:spacing"/>
+        <xsl:param name="system_cache__dita__x3A__svg:position"/>-->
+        <xsl:param name="system_cache__dita__x3A__svg:position.value" /><!-- system_cache__dita__x3A__svg:data.y2.value="735327" -->
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.index" required="yes"/>
+        <!--x1="{$spacing * $pos}"-->
+        
+        <xsl:call-template name="system_cache__dita__x3A__svg:resolution.coordinate.write.y">
+            <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.index" select="$system_cache__dita__x3A__svg:resolution.coordinate.index"/>
+            <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.value" select="$system_cache__dita__x3A__svg:position.value"/>
+        </xsl:call-template>
+    </xsl:template>
+    
+    
+    
+    <xsl:template name="system_cache__dita__x3A__svg:resolution.coordinate.write.y">
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.value" required="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.index" required="yes"/>
+        <xsl:attribute name="y{$system_cache__dita__x3A__svg:resolution.coordinate.index}" select="$system_cache__dita__x3A__svg:resolution.coordinate.value"/>
+    </xsl:template>
+    <xsl:template name="system_cache__dita__x3A__svg:resolution.coordinate.write.x">
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.value" required="yes"/>
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.index" required="yes"/>
+        <xsl:attribute name="x{$system_cache__dita__x3A__svg:resolution.coordinate.index}" select="$system_cache__dita__x3A__svg:resolution.coordinate.value"/>
+    </xsl:template>
+    
+    <xsl:template name="system_cache__dita__x3A__svg:resolution.id">
+        <xsl:param name="system_cache__dita__x3A__svg:resolution.context"/>
+        <xsl:param name="system_cache__dita__x3A__svg:position"/>
+        <xsl:attribute name="id">
+            <xsl:value-of select="$system_cache__dita__x3A__svg:resolution.context"/>__<xsl:value-of select="$system_cache__dita__x3A__svg:position"/>
+        </xsl:attribute>
+    </xsl:template>
+    
+    <xsl:template mode="system_cache__dita__x3A__svg:resolution__x3A__markup system_cache__dita__x3A__svg:resolution.related.following-sibling" match="@*"/>
+    
+    
+    <xsl:template mode="system_cache__dita__x3A__svg:resolution__x3A__markup" match="@fid [ parent::*[*]] ">
+        <xsl:attribute name="system_cache__dita__x3A__svg:data.x1.id" select="."/>
+        <!--system_cache__dita__x3A__svg:data.y1.value-->
+    </xsl:template><!-- cos z dziecmi raczej glowny X -->   
+    
+    
+    
+    <xsl:template match="@fid" mode="system_cache__dita__x3A__svg:resolution.related.following-sibling" >
+        <xsl:param name="system_cache__dita__x3A__svg:resolution__x3A__markup.preceding-silbing" />
+        <xsl:attribute name="system_cache__dita__x3A__svg:resolution.related.following-sibling" select="$system_cache__dita__x3A__svg:resolution__x3A__markup.preceding-silbing/@leadingTimeDate-To"/>
+    </xsl:template>
+    
+  
+</xsl:stylesheet>

+ 9 - 4
SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.utils.xsl

@@ -25,6 +25,11 @@
     <xsl:import href="system_cache__dita__x3A__svg.plot.xy.xsl"/>
     
     <xsl:include href="system_cache__dita__x3A__svg.utils.cursor.xsl"/>
+    <xsl:include href="system_cache__dita__x3A__svg.utils.data.xsl"/>
+    
+    <xsl:include href="system_cache__dita__x3A__svg.utils.resolution.xsl"/>
+    <xsl:include href="system_cache__dita__x3A__svg.elements.xsl"/>
+    
     
     <xsl:output indent="yes"/>
     <xsl:strip-space elements="*"/>
@@ -490,8 +495,7 @@
     <!-- Override this template to change x-axis label style -->
     <xsl:template name="xAxisLabelStyle">
         <xsl:param name="context"/>
-        <xsl:text>text-anchor:middle; font-size:8; 
-               baseline-shift:-110%</xsl:text>
+        <xsl:text>text-anchor:middle; font-size:8; baseline-shift:-110%</xsl:text>
     </xsl:template>
     
     <!-- Override this template to change y-axis label style -->
@@ -641,6 +645,7 @@
         <!--<xsl:param name="system_cache__dita__x3A__svg:cursor.current.Y"/>-->
         
         
+        
         <!-- 
          if maxX=100 and minX=50 - range==100-50==50 , $xscale==100 div $range== 100/50==2
             if X==50 - transf by scale = 50*2 = 100, but should be in bottom left so
@@ -698,7 +703,7 @@
                 <xsl:when test="$system_cache__dita__x3A__svg:offsetX.width ">
                     <xsl:variable name="Xrange" select="$system_cache__dita__x3A__svg:offsetX.maxX - $system_cache__dita__x3A__svg:offsetX.minX"/>
                     <xsl:variable name="Xscale" select="$system_cache__dita__x3A__svg:offsetX.width div $Xrange"/>
-                    <xsl:variable name="Xoffset" select="$system_cache__dita__x3A__svg:offsetX.width div $Xrange"/>
+                    <!--<xsl:variable name="Xoffset" select="$system_cache__dita__x3A__svg:offsetX.width div $Xrange"/>-->
                     <!-- np  x3 - min==2== 1 *scale600 =600 ok   x2 min2==0*600 ==0 -->
                     <xsl:value-of select="system_cache__dita__x3A__svg:transform.translate.major.scale_positive($Xscale,1)"/>
                     
@@ -713,7 +718,7 @@
                 <xsl:when test="$system_cache__dita__x3A__svg:offsetY.height">
                     <xsl:variable name="Yrange" select="$system_cache__dita__x3A__svg:offsetY.maxY - $system_cache__dita__x3A__svg:offsetY.minY"/>
                     <xsl:variable name="Yscale" select="$system_cache__dita__x3A__svg:offsetY.height div $Yrange"/>
-                    <xsl:variable name="Yoffset" select="$system_cache__dita__x3A__svg:offsetY.height div $Yrange"/>
+                    <!--<xsl:variable name="Yoffset" select="$system_cache__dita__x3A__svg:offsetY.height div $Yrange"/>-->
                     <!-- np  x3 - min==2== 1 *scale600 =600 ok   x2 min2==0*600 ==0 -->
                     
                     <xsl:value-of select="system_cache__dita__x3A__svg:transform.translate.major.offset(0,$system_cache__dita__x3A__svg:offsetY.height)"/>

+ 7 - 0
se.oxygen.xpr

@@ -3338,15 +3338,22 @@
             <file name="SE/schema/ant-object/default_db.STRUCTURE.dependency.subject.backRef/STRUCTURE.dependency.subject.backRef/STRUCTURE.dependency.subject.backRef.xsl"/>
             <file name="SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__p5gnuplot/system_cache__dita__x3A__p5gnuplot.interface.xsl"/>
             <file name="SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.defaults.param.xsl"/>
+            <file name="SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.plot.bar.test.svg"/>
+            <file name="SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.plot.bar.test.xsl"/>
             <file name="SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.plot.bar.xsl"/>
+            <file name="SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.plot.complex.test.svg"/>
             <file name="SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.plot.complex.test.xsl"/>
             <file name="SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.plot.Hi-Lo-Close.xsl"/>
             <file name="SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.plot.multiple.xsl"/>
+            <file name="SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.plot.pie.test.svg"/>
+            <file name="SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.plot.pie.test.xsl"/>
             <file name="SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.plot.pie.xsl"/>
             <file name="SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.plot.stockchart.xsl"/>
             <file name="SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.plot.xsl"/>
             <file name="SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.plot.xy.test.xsl"/>
             <file name="SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.plot.xy.xsl"/>
+            <file name="SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.utils.cursor.xsl"/>
+            <file name="SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.utils.data.xsl"/>
             <file name="SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.utils.xsl"/>
             <file name="SE/schema/WPS_Functions/system_ui_info_speech/system_ui_info_speech.xsl"/>
             <file name="SE/schema/WPS_Functions/dita-ot/dita-ot-2.3.3/plugins/com.sophos.tocjs/xsl/tocjs.xsl"/>