a.binder 6 лет назад
Родитель
Сommit
3750c0a419

+ 18 - 14
SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.plot.Hi-Lo-Close__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row.xsl

@@ -431,10 +431,10 @@
                         
                         <xsl:choose>         
                             <xsl:when test="@system_cache__dita__x3A__svg:data.y.bounds.data.value.leadingTimeYear-month.bounds.leadingTimeDate-To">
-                                <svg:line  system_cache__dita__x3A__svg:debug="@leadingTimeYear-month.bounds.leadingTimeDate-To #392-434" >
-                                    <xsl:attribute name="x1" select="$system_cache__dita__x3A__svg:offsetX.maxX"/>
+                                <svg:line  system_cache__dita__x3A__svg:debug="@leadingTimeYear-month.bounds.leadingTimeDate-To #392-434-infinity-right" >
+                                    <xsl:attribute name="x1" select="$system_cache__dita__x3A__svg:offsetX.maxX + 3 div $xScale"/>
                                     <xsl:attribute name="y1" select="$system_cache__dita__x3A__svg:offsetY.maxY - $yValue + 1"/>
-                                    <xsl:attribute name="x2" select="$system_cache__dita__x3A__svg:offsetX.maxX"/>
+                                    <xsl:attribute name="x2" select="$system_cache__dita__x3A__svg:offsetX.maxX +3 div $xScale"/>
                                     <xsl:attribute name="y2" select="$system_cache__dita__x3A__svg:offsetY.maxY - $yValue + 0.3"/>    
                                     <!--<xsl:attribute name="stroke-dasharray"><xsl:value-of select="4 div abs($yScale)"/><xsl:text> </xsl:text><xsl:value-of select="2 div abs($yScale)"/></xsl:attribute>-->                
                                     <xsl:attribute name="style"><xsl:text>fill:</xsl:text>
@@ -445,14 +445,14 @@
                                         <xsl:call-template name="svgu:hiLoBarStyle.color">
                                             <xsl:with-param name="index" select="$yValue"/>
                                         </xsl:call-template>
-                                        <xsl:text>;opacity:0.9;</xsl:text>
+                                        <xsl:text>;opacity:0.2;</xsl:text>
                                         <xsl:text>stroke-width:</xsl:text><xsl:value-of select="2 div $xScale"/><xsl:text>;</xsl:text>
                                     </xsl:attribute>
                                     
                                 </svg:line>
                             </xsl:when>
                             <xsl:when test="@system_cache__dita__x3A__svg:data.y.bounds.data.value.leadingTimeYear-month.bounds.leadingTimeDate-From">
-                                <svg:line  system_cache__dita__x3A__svg:debug="@leadingTimeYear-month.bounds.leadingTimeDate-To #392-450" >
+                                <svg:line  system_cache__dita__x3A__svg:debug="@leadingTimeYear-month.bounds.leadingTimeDate-To #392-450-infinity-left-maybe" >
                                     <xsl:attribute name="x1" select="$system_cache__dita__x3A__svg:offsetX.minX"/>
                                     <xsl:attribute name="y1" select="$system_cache__dita__x3A__svg:offsetY.maxY - $yValue + 1"/>
                                     <xsl:attribute name="x2" select="$system_cache__dita__x3A__svg:offsetX.minX"/>
@@ -467,7 +467,7 @@
                                         <xsl:call-template name="svgu:hiLoBarStyle.color">
                                             <xsl:with-param name="index" select="$yValue"/>
                                         </xsl:call-template>
-                                        <xsl:text>;opacity:0.9; </xsl:text><!-- vector-effect:non-scaling-stroke ; -->
+                                        <xsl:text>;opacity:0.2; </xsl:text><!-- vector-effect:non-scaling-stroke ; -->
                                         <xsl:text>stroke-width:</xsl:text><xsl:value-of select="2 div $xScale"/><xsl:text>;</xsl:text>
                                     </xsl:attribute>
                                     
@@ -564,9 +564,9 @@
                         <xsl:choose>         
                             <xsl:when test="@system_cache__dita__x3A__svg:data.y.bounds.data.value.leadingTimeYear-month.bounds.leadingTimeDate-To">
                                 <svg:line  system_cache__dita__x3A__svg:debug="@leadingTimeYear-month.bounds.leadingTimeDate-To #392-558-Infinity-rigth" >
-                                    <xsl:attribute name="x1" select="$system_cache__dita__x3A__svg:offsetX.maxX"/>
+                                    <xsl:attribute name="x1" select="$system_cache__dita__x3A__svg:offsetX.maxX + 3 div $xScale"/>
                                     <xsl:attribute name="y1" select="$system_cache__dita__x3A__svg:offsetY.maxY - $yValue + 1"/>
-                                    <xsl:attribute name="x2" select="$system_cache__dita__x3A__svg:offsetX.maxX"/>
+                                    <xsl:attribute name="x2" select="$system_cache__dita__x3A__svg:offsetX.maxX + 3 div $xScale"/>
                                     <xsl:attribute name="y2" select="$system_cache__dita__x3A__svg:offsetY.maxY - $yValue + 0.25"/>    
                                     <!--<xsl:attribute name="stroke-dasharray"><xsl:value-of select="4 div abs($yScale)"/><xsl:text> </xsl:text><xsl:value-of select="2 div abs($yScale)"/></xsl:attribute>-->                
                                     <xsl:attribute name="style"><xsl:text>fill:</xsl:text>
@@ -577,25 +577,29 @@
                                         <xsl:call-template name="svgu:hiLoBarStyle.color">
                                             <xsl:with-param name="index" select="$yValue"/>
                                         </xsl:call-template>
-                                        <xsl:text>;opacity:0.9;</xsl:text>
+                                        <xsl:text>;opacity:0.2;</xsl:text>
                                         <xsl:text>stroke-width:</xsl:text><xsl:value-of select="2 div $xScale"/><xsl:text>;</xsl:text>
                                     </xsl:attribute>
                                     
                                 </svg:line>
                             </xsl:when>
                             <xsl:when test="@system_cache__dita__x3A__svg:data.y.bounds.data.value.leadingTimeYear-month.bounds.leadingTimeDate-From">
-                                <svg:line  system_cache__dita__x3A__svg:debug="@leadingTimeYear-month.bounds.leadingTimeDate-To #392-575" >
-                                    <xsl:attribute name="x1" select="$system_cache__dita__x3A__svg:offsetX.minX"/>
+                                <svg:line  system_cache__dita__x3A__svg:debug="@leadingTimeYear-month.bounds.leadingTimeDate-To #392-575-Infinity-left" >
+                                    <xsl:attribute name="x1" select="$system_cache__dita__x3A__svg:offsetX.minX - 3 div $xScale"/>
                                     <xsl:attribute name="y1" select="$system_cache__dita__x3A__svg:offsetY.maxY - $yValue + 1"/>
-                                    <xsl:attribute name="x2" select="$system_cache__dita__x3A__svg:offsetX.minX"/>
+                                    <xsl:attribute name="x2" select="$system_cache__dita__x3A__svg:offsetX.minX - 3 div $xScale"/>
                                     <xsl:attribute name="y2" select="$system_cache__dita__x3A__svg:offsetY.maxY - $yValue + 0.25"/>    
                                     <!--<xsl:attribute name="stroke-dasharray"><xsl:value-of select="4 div abs($yScale)"/><xsl:text> </xsl:text><xsl:value-of select="2 div abs($yScale)"/></xsl:attribute>-->                
                                     <xsl:attribute name="style"><xsl:text>fill:</xsl:text>
                                         <xsl:call-template name="svgu:hiLoBarStyle.color">
                                             <xsl:with-param name="index" select="$yValue"/>
                                         </xsl:call-template>
-                                        <xsl:text>;stroke:purple;opacity:0.9; </xsl:text>
-                                        <xsl:text>stroke-width:</xsl:text><xsl:value-of select="5 div abs($xScale)"/><xsl:text>;</xsl:text>
+                                        <xsl:text>;stroke:</xsl:text>
+                                        <xsl:call-template name="svgu:hiLoBarStyle.color">
+                                            <xsl:with-param name="index" select="$yValue"/>
+                                        </xsl:call-template>
+                                        <xsl:text>;opacity:0.2; </xsl:text>
+                                        <xsl:text>stroke-width:</xsl:text><xsl:value-of select="3 div abs($xScale)"/><xsl:text>;</xsl:text>
                                     </xsl:attribute>
                                     
                                 </svg:line>