|
@@ -33,7 +33,7 @@
|
|
|
<xsl:param name="system_cache__dita__x3A__svg:data.x.name" />
|
|
|
<xsl:param name="system_cache__dita__x3A__svg:data.x.name.value" />
|
|
|
<xsl:param name="system_cache__dita__x3A__svg:data.x.value" />
|
|
|
-
|
|
|
+ <xsl:param name="system_cache__dita__x3A__svg:data.x.value.bounds" tunnel="yes"/>
|
|
|
|
|
|
<xsl:variable name="system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate" select="$system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate + $system_cache__dita__x3A__svg:offsetX.default "/>
|
|
|
<xsl:variable name="system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate" select="$system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate - $system_cache__dita__x3A__svg:offsetY.default "/>
|
|
@@ -45,7 +45,9 @@
|
|
|
<xsl:variable name="system_cache__dita__x3A__svg:data.y2.bounds.max.length" select="$system_cache__dita__x3A__svg:data.y2.bounds.max.length - ( 2 * $system_cache__dita__x3A__svg:offsetY.default )"/>
|
|
|
|
|
|
|
|
|
- <xsl:comment>#37 mode system_cache__dita__x3A__svg:openHiLoClose__x3A__horizontal</xsl:comment>
|
|
|
+ <xsl:comment>#37 mode system_cache__dita__x3A__svg:openHiLoClose__x3A__horizontal cont/n=<xsl:value-of select="name()"/>;
|
|
|
+ $system_cache__dita__x3A__svg:data.x.value.bounds = <xsl:value-of select="$system_cache__dita__x3A__svg:data.x.value.bounds"/>
|
|
|
+ </xsl:comment>
|
|
|
<!--<system_cache__dita__x3A__svg:openHiLoClose__x3A__horizontal>-->
|
|
|
<!--<xsl:copy>-->
|
|
|
<!--<xsl:copy-of select="@*"/>-->
|
|
@@ -81,12 +83,16 @@
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
|
+
|
|
|
+
|
|
|
<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:labelMajor" tunnel="yes"/>
|
|
|
<xsl:param name="system_cache__dita__x3A__svg:openHiLoClose__x3A__horizontal" tunnel="yes"/>
|
|
|
+ <xsl:param name="system_cache__dita__x3A__svg:openHiLoCloseXaxis" tunnel="yes"/>
|
|
|
+ <xsl:param name="system_cache__dita__x3A__svg:openHiLoCloseYaxis" tunnel="yes"/>
|
|
|
<xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.id"/>
|
|
|
<xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.block"/>
|
|
|
|
|
@@ -116,7 +122,7 @@
|
|
|
<!--<xsl:param name="system_cache__dita__x3A__svg:data.x2.bounds.max.length" />-->
|
|
|
<xsl:param name="system_cache__dita__x3A__svg:height__x3A__limit" />
|
|
|
<!--<xsl:param name="system_cache__dita__x3A__svg:data.y2.bounds.max.length" select="$system_cache__dita__x3A__svg:data.y2.bounds.max.length" />-->
|
|
|
-
|
|
|
+ <xsl:param name="system_cache__dita__x3A__svg:data.x.value.bounds" tunnel="yes"/>
|
|
|
|
|
|
<xsl:variable name="system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate" select="$system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate + $system_cache__dita__x3A__svg:offsetX.default "/>
|
|
|
<xsl:variable name="system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate" select="$system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate - $system_cache__dita__x3A__svg:offsetY.default "/>
|
|
@@ -130,28 +136,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
- <xsl:comment>#15 system_cache__dita__x3A__svg:openHiLoClose matched /n <xsl:value-of select="name()"/>;</xsl:comment>
|
|
|
+ <xsl:comment>#15 system_cache__dita__x3A__svg:openHiLoClose matched /n <xsl:value-of select="name()"/>;
|
|
|
+ $system_cache__dita__x3A__svg:openHiLoCloseXaxis = <xsl:value-of select="$system_cache__dita__x3A__svg:openHiLoCloseXaxis"/>
|
|
|
+ $system_cache__dita__x3A__svg:openHiLoCloseYaxis = <xsl:value-of select="$system_cache__dita__x3A__svg:openHiLoCloseYaxis"/> ;
|
|
|
+ $system_cache__dita__x3A__svg:data.x.value.bounds = <xsl:value-of select="$system_cache__dita__x3A__svg:data.x.value.bounds"/>
|
|
|
+ </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)" />
|
|
|
|
|
|
<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.min.leadingTimeDate" >
|
|
|
+ <xsl:value-of select="min(descendant-or-self::system_cache__dita__x3A__svg:leadingTimeDate/@system_cache__dita__x3A__svg:data.position)"/>
|
|
|
+ </xsl:variable>
|
|
|
<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.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.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.min($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:variable name="system_cache__dita__x3A__svg:bounds.x.max__x3A__read">
|
|
|
+ <xsl:call-template name="system_cache__dita__x3A__svg:bounds.x.max__x3A__read">
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x.bounds.name.value" select="$system_cache__dita__x3A__svg:data.x.value.bounds"/>
|
|
|
+ </xsl:call-template>
|
|
|
+ </xsl:variable>
|
|
|
+
|
|
|
+ <xsl:variable name="system_cache__dita__x3A__svg:bounds.x.min__x3A__read">
|
|
|
+ <xsl:call-template name="system_cache__dita__x3A__svg:bounds.x.min__x3A__read">
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x.bounds.name.value" select="$system_cache__dita__x3A__svg:data.x.value.bounds"/>
|
|
|
+ </xsl:call-template>
|
|
|
+ </xsl:variable>
|
|
|
+
|
|
|
+ <xsl:comment>#151 testing evaluated vars
|
|
|
+ $system_cache__dita__x3A__svg:bounds.x.max__x3A__read = <xsl:value-of select="$system_cache__dita__x3A__svg:bounds.x.max__x3A__read"/>
|
|
|
+ $system_cache__dita__x3A__svg:bounds.x.min__x3A__read = <xsl:value-of select="$system_cache__dita__x3A__svg:bounds.x.min__x3A__read"/>
|
|
|
+ vs $system_cache__dita__x3A__svg:y1.max.relation_DateRangeElements = <xsl:value-of select="$system_cache__dita__x3A__svg:y1.max.relation_DateRangeElements"/>
|
|
|
+ vs $system_cache__dita__x3A__svg:y2.min.relation_DateRangeElements = <xsl:value-of select="$system_cache__dita__x3A__svg:y2.min.relation_DateRangeElements"/>
|
|
|
+ n/ <xsl:value-of select="name()"/> / <xsl:value-of select="*/name()"/>;; c[<xsl:value-of select="count(descendant-or-self::system_cache__dita__x3A__svg:leadingTimeDate)"/>]
|
|
|
|
|
|
- <xsl:comment>#151 testing evaluated vars n/ <xsl:value-of select="name()"/> / <xsl:value-of select="*/name()"/>;; c[<xsl:value-of select="count(descendant-or-self::system_cache__dita__x3A__svg:leadingTimeDate)"/>]
|
|
|
+ $system_cache__dita__x3A__svg:openHiLoCloseXaxis = <xsl:value-of select="$system_cache__dita__x3A__svg:openHiLoCloseXaxis"/> ;
|
|
|
+ $system_cache__dita__x3A__svg:openHiLoCloseYaxis = <xsl:value-of select="$system_cache__dita__x3A__svg:openHiLoCloseYaxis"/> ;
|
|
|
$system_cache__dita__x3A__svg:labelMajor = <xsl:value-of select="$system_cache__dita__x3A__svg:labelMajor"/>
|
|
|
$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:y.min.relation_DateRangeElements = <xsl:value-of select="$system_cache__dita__x3A__svg:y.min.relation_DateRangeElements"/>
|
|
@@ -175,6 +219,11 @@
|
|
|
<xsl:when test="$system_cache__dita__x3A__svg:openHiLoClose__x3A__horizontal">
|
|
|
<xsl:value-of select="$system_cache__dita__x3A__svg:x1.min.leadingTimeDate"/>
|
|
|
</xsl:when>
|
|
|
+ <xsl:when test="$system_cache__dita__x3A__svg:data.x.value.bounds">
|
|
|
+ <xsl:call-template name="system_cache__dita__x3A__svg:bounds.x.min__x3A__read">
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x.bounds.name.value" select="$system_cache__dita__x3A__svg:data.x.value.bounds"/>
|
|
|
+ </xsl:call-template>
|
|
|
+ </xsl:when>
|
|
|
<xsl:otherwise>
|
|
|
<xsl:value-of select="$system_cache__dita__x3A__svg:y.min.relation_DateRangeElements"/>
|
|
|
</xsl:otherwise>
|
|
@@ -187,6 +236,11 @@
|
|
|
<xsl:when test="$system_cache__dita__x3A__svg:openHiLoClose__x3A__horizontal">
|
|
|
<xsl:value-of select="$system_cache__dita__x3A__svg:x1.max.leadingTimeDate"/>
|
|
|
</xsl:when>
|
|
|
+ <xsl:when test="$system_cache__dita__x3A__svg:data.x.value.bounds">
|
|
|
+ <xsl:call-template name="system_cache__dita__x3A__svg:bounds.x.max__x3A__read">
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x.bounds.name.value" select="$system_cache__dita__x3A__svg:data.x.value.bounds"/>
|
|
|
+ </xsl:call-template>
|
|
|
+ </xsl:when>
|
|
|
<xsl:otherwise>
|
|
|
<xsl:value-of select="$system_cache__dita__x3A__svg:y.max.relation_DateRangeElements"/>
|
|
|
</xsl:otherwise>
|
|
@@ -195,6 +249,12 @@
|
|
|
|
|
|
<xsl:variable name="system_cache__dita__x3A__svg:offsetX.maxX">
|
|
|
<xsl:choose>
|
|
|
+
|
|
|
+ <xsl:when test="$system_cache__dita__x3A__svg:openHiLoClose__x3A__horizontal and $system_cache__dita__x3A__svg:data.x.value.bounds">
|
|
|
+ <xsl:call-template name="system_cache__dita__x3A__svg:bounds.x.max__x3A__read">
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x.bounds.name.value" select="$system_cache__dita__x3A__svg:data.x.value.bounds"/>
|
|
|
+ </xsl:call-template>
|
|
|
+ </xsl:when>
|
|
|
<xsl:when test="$system_cache__dita__x3A__svg:openHiLoClose__x3A__horizontal">
|
|
|
<xsl:value-of select="$system_cache__dita__x3A__svg:y.max.relation_DateRangeElements"/>
|
|
|
</xsl:when>
|
|
@@ -206,6 +266,11 @@
|
|
|
|
|
|
<xsl:variable name="system_cache__dita__x3A__svg:offsetX.minX">
|
|
|
<xsl:choose>
|
|
|
+ <xsl:when test="$system_cache__dita__x3A__svg:openHiLoClose__x3A__horizontal and $system_cache__dita__x3A__svg:data.x.value.bounds">
|
|
|
+ <xsl:call-template name="system_cache__dita__x3A__svg:bounds.x.min__x3A__read">
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x.bounds.name.value" select="$system_cache__dita__x3A__svg:data.x.value.bounds"/>
|
|
|
+ </xsl:call-template>
|
|
|
+ </xsl:when>
|
|
|
<xsl:when test="$system_cache__dita__x3A__svg:openHiLoClose__x3A__horizontal">
|
|
|
<xsl:value-of select="$system_cache__dita__x3A__svg:y.min.relation_DateRangeElements"/>
|
|
|
</xsl:when>
|
|
@@ -288,7 +353,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
+ <xsl:message>#D119 Hi Lo minY=<xsl:value-of select="$system_cache__dita__x3A__svg:offsetY.minY"/>; maxY=<xsl:value-of select="$system_cache__dita__x3A__svg:offsetY.maxY"/>; minX=<xsl:value-of select="$system_cache__dita__x3A__svg:offsetX.minX"/>; maxX=<xsl:value-of select="$system_cache__dita__x3A__svg:offsetX.maxX"/>; </xsl:message>
|
|
|
<xsl:comment>#119 offsetting datasetn in pairs:
|
|
|
matched n/ <xsl:value-of select="name()"/> /n <xsl:value-of select="*/name()"/>
|
|
|
$system_cache__dita__x3A__svg:offsetY.minY == <xsl:value-of select="$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"/>
|
|
@@ -301,79 +366,64 @@
|
|
|
|
|
|
system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate == ($system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate) <xsl:value-of select="$system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate"/>
|
|
|
</xsl:comment>
|
|
|
- <svg:g debug="svgu:openHiLoClose.x51" >
|
|
|
-
|
|
|
- <xsl:call-template name="system_cache__dita__x3A__svg:transform.translate.bounds">
|
|
|
- <xsl:with-param name="system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate" select="$system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate"/>
|
|
|
- <xsl:with-param name="system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate" select="$system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate"/>
|
|
|
- <xsl:with-param name="system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate" select="$system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate"/>
|
|
|
- <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate" select="$system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate"/>
|
|
|
-
|
|
|
- <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: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:call-template>
|
|
|
-
|
|
|
- <!--<xsl:call-template name="system_cache__dita__x3A__svg:transform.translate.bounds">
|
|
|
- <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:data.y2.bounds.max.length"/>-\->
|
|
|
-
|
|
|
- <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:data.x2.bounds.max.length"/>
|
|
|
-
|
|
|
- <xsl:with-param name="system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate" select="$system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate"/>
|
|
|
- </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:data.y1.bounds.min.coordinate" select="$system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate"/>
|
|
|
- <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:data.x1.bounds.min.coordinate" select="$system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate"/>
|
|
|
- <xsl:with-param name="system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate" select="$system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate"/>
|
|
|
- <xsl:with-param name="system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate" select="$system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate"/>
|
|
|
- <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate" select="$system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate"/>
|
|
|
-
|
|
|
- <xsl:with-param name="system_cache__dita__x3A__svg:data.x2.bounds.max.length" select="$system_cache__dita__x3A__svg:data.x2.bounds.max.length"/>
|
|
|
- <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.bounds.max.length" select="$system_cache__dita__x3A__svg:data.y2.bounds.max.length"/>
|
|
|
-
|
|
|
- <!--<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: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: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: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: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:choose>
|
|
|
+ <xsl:when test="number($system_cache__dita__x3A__svg:offsetX.maxX) and number($system_cache__dita__x3A__svg:offsetY.maxY)">
|
|
|
+ <svg:g system_cache__dita__x3A__svg:debug="svgu:openHiLoClose.x51" >
|
|
|
+
|
|
|
+ <xsl:call-template name="system_cache__dita__x3A__svg:transform.translate.bounds">
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate" select="$system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate" select="$system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate" select="$system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate" select="$system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate"/>
|
|
|
+
|
|
|
+ <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: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: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:data.x1.bounds.min.coordinate" select="$system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate" select="$system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate" select="$system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate" select="$system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate"/>
|
|
|
+
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x2.bounds.max.length" select="$system_cache__dita__x3A__svg:data.x2.bounds.max.length"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.bounds.max.length" select="$system_cache__dita__x3A__svg:data.y2.bounds.max.length"/>
|
|
|
+
|
|
|
+ <!--<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: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: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: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: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:apply-templates>
|
|
|
+ </svg:g>
|
|
|
+ </xsl:when>
|
|
|
+ </xsl:choose>
|
|
|
|
|
|
- </xsl:apply-templates>
|
|
|
- </svg:g>
|
|
|
|
|
|
|
|
|
<xsl:comment>#164 trying 164to append labels in sector</xsl:comment>
|
|
@@ -535,7 +585,7 @@
|
|
|
<xsl:param name="system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate" select="@system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate"/>
|
|
|
|
|
|
<xsl:comment>#317 testing labels</xsl:comment>
|
|
|
- <svg:g debug="svgu:openHiLoClose.317" >
|
|
|
+ <svg:g system_cache__dita__x3A__svg: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" />
|
|
@@ -581,6 +631,8 @@
|
|
|
<xsl:param name="system_cache__dita__x3A__svg:labelMajor" tunnel="yes"/>
|
|
|
<xsl:param name="system_cache__dita__x3A__svg:cursor" required="yes"/>
|
|
|
<xsl:param name="system_cache__dita__x3A__svg:openHiLoClose__x3A__horizontal" tunnel="yes"/>
|
|
|
+ <xsl:param name="system_cache__dita__x3A__svg:openHiLoCloseXaxis" tunnel="yes"/>
|
|
|
+ <xsl:param name="system_cache__dita__x3A__svg:openHiLoCloseYaxis" tunnel="yes"/>
|
|
|
<xsl:param name="system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate" required="yes" />
|
|
|
<xsl:param name="system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate" required="yes" />
|
|
|
<xsl:param name="system_cache__dita__x3A__svg:data.x2.bounds.max.length" required="yes" /><!-- select="500" -->
|
|
@@ -605,6 +657,8 @@
|
|
|
<xsl:param name="system_cache__dita__x3A__svg:offsetY.minY" required="yes" />
|
|
|
<xsl:param name="system_cache__dita__x3A__svg:offsetY.maxY" required="yes" />
|
|
|
|
|
|
+ <xsl:param name="offsetY-text" select="6"/>
|
|
|
+
|
|
|
<xsl:variable name="xScale">
|
|
|
<xsl:call-template name="system_cache__dita__x3A__svg:transform.translate.bounds__x3A__extract__scale">
|
|
|
<xsl:with-param name="system_cache__dita__x3A__svg:transform.translate.bounds__x3A__extract__scale.x" select="true()"/>
|
|
@@ -671,6 +725,29 @@
|
|
|
</xsl:choose>
|
|
|
</xsl:variable>
|
|
|
|
|
|
+
|
|
|
+ <xsl:variable name="yValue.min">
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="$system_cache__dita__x3A__svg:openHiLoClose__x3A__horizontal">
|
|
|
+ <xsl:value-of select="$system_cache__dita__x3A__svg:offsetY.minY"/>
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:otherwise>
|
|
|
+ <xsl:value-of select="$system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate"/>
|
|
|
+ </xsl:otherwise>
|
|
|
+ </xsl:choose>
|
|
|
+ </xsl:variable>
|
|
|
+
|
|
|
+ <xsl:variable name="yValue.max">
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="$system_cache__dita__x3A__svg:openHiLoClose__x3A__horizontal">
|
|
|
+ <xsl:value-of select="$system_cache__dita__x3A__svg:offsetY.maxY"/>
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:otherwise>
|
|
|
+ <xsl:value-of select="$system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate"/>
|
|
|
+ </xsl:otherwise>
|
|
|
+ </xsl:choose>
|
|
|
+ </xsl:variable>
|
|
|
+
|
|
|
<xsl:variable name="y2Value">
|
|
|
<xsl:choose>
|
|
|
<xsl:when test="$system_cache__dita__x3A__svg:openHiLoClose__x3A__horizontal">
|
|
@@ -684,6 +761,8 @@
|
|
|
|
|
|
|
|
|
<xsl:comment>#openHiLoClose.229 matched/n<xsl:value-of select="name()"/>
|
|
|
+ $system_cache__dita__x3A__svg:openHiLoCloseXaxis = <xsl:value-of select="$system_cache__dita__x3A__svg:openHiLoCloseXaxis"/> ;
|
|
|
+ $system_cache__dita__x3A__svg:openHiLoCloseYaxis = <xsl:value-of select="$system_cache__dita__x3A__svg:openHiLoCloseYaxis"/> ;
|
|
|
$xScale = <xsl:value-of select="$xScale"/> ; yScale = <xsl:value-of select="$yScale"/>
|
|
|
$system_cache__dita__x3A__svg:labelMajor = <xsl:value-of select="$system_cache__dita__x3A__svg:labelMajor"/>
|
|
|
$system_cache__dita__x3A__svg:openHiLoClose__x3A__horizontal = <xsl:value-of select="$system_cache__dita__x3A__svg:openHiLoClose__x3A__horizontal"/>
|
|
@@ -698,6 +777,7 @@
|
|
|
@system_cache__dita__x3A__svg:data.position = <xsl:value-of select="@system_cache__dita__x3A__svg:data.position"/>
|
|
|
@system_cache__dita__x3A__svg:data.y1.label = <xsl:value-of select="relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y1.label"/>
|
|
|
@system_cache__dita__x3A__svg:data.y2.label = <xsl:value-of select="relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y2.label"/>
|
|
|
+ $offsetY-text = <xsl:value-of select="$offsetY-text"/>
|
|
|
</xsl:comment>
|
|
|
<!--<xsl:copy copy-namespaces="no">
|
|
|
<xsl:copy-of select="@*[contains(name(),'system_cache__dita__x3A__svg:data')]" copy-namespaces="no"/>
|
|
@@ -706,174 +786,269 @@
|
|
|
</xsl:apply-templates>
|
|
|
</xsl:copy>-->
|
|
|
|
|
|
-
|
|
|
- <svg:line debug="svgu:openHiLoClose.74 {@*/relation_DateRangeElements/name()}">
|
|
|
-
|
|
|
- <!--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="$x1Value"/>
|
|
|
- <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="$x2Value"/>
|
|
|
- <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="$y1Value"/>
|
|
|
- </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="$y2Value"/>
|
|
|
- </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="relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y2.value"/>
|
|
|
- </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.{$y1Value}">
|
|
|
- <xsl:call-template name="system_cache__dita__x3A__svg:transform.translate.bounds__x3A__debug"><!-- system_cache__dita__x3A__svg:transform.translate.bounds__x3A__height__x3A__limit__x3A__validate -->
|
|
|
- <xsl:with-param name="yValue" select="$y1Value"/>
|
|
|
- <xsl:with-param name="xValue" select="$x1Value"/>
|
|
|
- <xsl:with-param name="system_cache__dita__x3A__svg:transform.translate.bounds__x3A__debug.x" select="true()"/>
|
|
|
- <xsl:with-param name="system_cache__dita__x3A__svg:transform.translate.bounds__x3A__debug.write" select="true()"/>
|
|
|
- <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:choose>
|
|
|
+ <xsl:when test="$system_cache__dita__x3A__svg:openHiLoCloseXaxis">
|
|
|
+ <svg:text system_cache__dita__x3A__svg:debug="HiLoText.1.585"
|
|
|
+
|
|
|
+ ><!-- transform="translate({@system_cache__dita__x3A__svg:data.position},{relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y1.value}) scale(1,{-1 div $scaleY}) translate({- @system_cache__dita__x3A__svg:data.position},{- relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y1.value})" -->
|
|
|
+ <xsl:call-template name="system_cache__dita__x3A__svg:transform.translate.bounds__x3A__fix_text">
|
|
|
+
|
|
|
+ <xsl:with-param name="xValue" select="$x1Value"/>
|
|
|
+ <xsl:with-param name="yValue" select="$system_cache__dita__x3A__svg:offsetY.maxY"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate" select="$system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate" select="$system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate" select="$system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate" select="$system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate"/>
|
|
|
+
|
|
|
+ <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: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="rotate" select="90"/>
|
|
|
+ </xsl:call-template>
|
|
|
+ <xsl:attribute name="style"><!-- x="{$xMajor1}" y="{$yMajor1 }" --><!-- transform="translate({$xMajor1},{$yMajor1}) scale(1,{-$scale}) translate({-$xMajor1},{-$yMajor1})" -->
|
|
|
+ <xsl:call-template name="yAxisLabelStyle">
|
|
|
+ <xsl:with-param name="text-anchor">begin</xsl:with-param>
|
|
|
+ <!--<xsl:with-param name="context" select="$context"/>-->
|
|
|
+ </xsl:call-template>
|
|
|
+ </xsl:attribute>
|
|
|
+ <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="$x1Value"/>
|
|
|
+ <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="$system_cache__dita__x3A__svg:offsetY.maxY"/>
|
|
|
+ </xsl:call-template>
|
|
|
+ <xsl:value-of select="relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y1.label"/>
|
|
|
+ </svg:text>
|
|
|
+ <svg:text system_cache__dita__x3A__svg:debug="HiLoText585.y2"
|
|
|
|
|
|
+ ><!-- transform="translate({@system_cache__dita__x3A__svg:data.position},{relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y1.value}) scale(1,{-1 div $scaleY}) translate({- @system_cache__dita__x3A__svg:data.position},{- relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y1.value})" -->
|
|
|
+ <xsl:call-template name="system_cache__dita__x3A__svg:transform.translate.bounds__x3A__fix_text">
|
|
|
+
|
|
|
+ <xsl:with-param name="xValue" select="$x2Value"/>
|
|
|
+ <xsl:with-param name="yValue" select="$system_cache__dita__x3A__svg:offsetY.maxY"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate" select="$system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate" select="$system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate" select="$system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate" select="$system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate"/>
|
|
|
+
|
|
|
+ <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: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="rotate" select="90"/>
|
|
|
+ </xsl:call-template>
|
|
|
+ <xsl:attribute name="style"><!-- x="{$xMajor1}" y="{$yMajor1 }" --><!-- transform="translate({$xMajor1},{$yMajor1}) scale(1,{-$scale}) translate({-$xMajor1},{-$yMajor1})" -->
|
|
|
+
|
|
|
+ <xsl:attribute name="style"><!-- x="{$xMajor1}" y="{$yMajor1 }" --><!-- transform="translate({$xMajor1},{$yMajor1}) scale(1,{-$scale}) translate({-$xMajor1},{-$yMajor1})" -->
|
|
|
+ <xsl:call-template name="yAxisLabelStyle">
|
|
|
+ <!--<xsl:with-param name="context" select="$context"/>-->
|
|
|
+ <xsl:with-param name="text-anchor">begin</xsl:with-param>
|
|
|
+ </xsl:call-template>
|
|
|
+ </xsl:attribute>
|
|
|
+ <!--<xsl:call-template name="yAxisLabelStyle">
|
|
|
+ <!-\-<xsl:with-param name="context" select="$context"/>-\->
|
|
|
+ </xsl:call-template>-->
|
|
|
+ </xsl:attribute>
|
|
|
+ <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="$x2Value"/>
|
|
|
+ <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="$system_cache__dita__x3A__svg:offsetY.maxY"/>
|
|
|
+ </xsl:call-template>
|
|
|
+ <xsl:value-of select="relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y2.label"/><!-- @default_db__x3A__BI_audit_BENFORD:NameField.foreign.value -->
|
|
|
+ </svg:text>
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:when test="$system_cache__dita__x3A__svg:openHiLoCloseYaxis">
|
|
|
+ <xsl:call-template name="system_cache__dita__x3A__svg:labelMajor">
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y1.label" select="@system_cache__dita__x3A__svg:data.y1.label"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.label" select="@system_cache__dita__x3A__svg:data.y2.label"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x.label" select="@system_cache__dita__x3A__svg:data.x.label"/>
|
|
|
<xsl:with-param name="system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate" select="$system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate"/>
|
|
|
<xsl:with-param name="system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate" select="$system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate" select="$system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate" select="$system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate"/>
|
|
|
|
|
|
<xsl:with-param name="system_cache__dita__x3A__svg:data.x2.bounds.max.length" select="$system_cache__dita__x3A__svg:data.x2.bounds.max.length"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.bounds.max.length" select="$system_cache__dita__x3A__svg:data.y2.bounds.max.length"/>
|
|
|
+
|
|
|
+
|
|
|
+ <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: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:data.y2.bounds.max.length" select="$system_cache__dita__x3A__svg:data.y2.bounds.max.length"/>
|
|
|
-
|
|
|
- <xsl:with-param name="system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate" select="$system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate"/>
|
|
|
- <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate" select="$system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate"/>
|
|
|
+ <xsl:with-param name="x1Value" select="$system_cache__dita__x3A__svg:offsetX.minX"/>
|
|
|
+ <xsl:with-param name="x2Value" select="$system_cache__dita__x3A__svg:offsetX.minX"/>
|
|
|
+ <xsl:with-param name="y1Value" select="$y1Value"/>
|
|
|
+ <xsl:with-param name="y2Value" select="$y2Value"/>
|
|
|
+ <xsl:with-param name="text-anchor">start</xsl:with-param>
|
|
|
+ <xsl:with-param name="offsetY-text" select="$offsetY-text"/>
|
|
|
+ <xsl:with-param name="font-size" select="7"/>
|
|
|
</xsl:call-template>
|
|
|
-
|
|
|
- </xsl:attribute>
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- <xsl:comment>#debug 277
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:otherwise>
|
|
|
+ <svg:line system_cache__dita__x3A__svg:debug="svgu:openHiLoClose.74_896 {@*/relation_DateRangeElements/name()}">
|
|
|
+
|
|
|
+ <!--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="$x1Value"/>
|
|
|
+ <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="$x2Value"/>
|
|
|
+ <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="$y1Value"/>
|
|
|
+ </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="$y2Value"/>
|
|
|
+ </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="relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y2.value"/>
|
|
|
+ </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 div abs($yScale)"/>
|
|
|
+ </xsl:call-template>
|
|
|
+ </xsl:attribute>
|
|
|
+ <!--<xsl:attribute name="transform.validate.y.1.{$y1Value}">
|
|
|
+ <xsl:call-template name="system_cache__dita__x3A__svg:transform.translate.bounds__x3A__debug"><!-\- system_cache__dita__x3A__svg:transform.translate.bounds__x3A__height__x3A__limit__x3A__validate -\->
|
|
|
+ <xsl:with-param name="yValue" select="$y1Value"/>
|
|
|
+ <xsl:with-param name="xValue" select="$x1Value"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:transform.translate.bounds__x3A__debug.x" select="true()"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:transform.translate.bounds__x3A__debug.write" select="true()"/>
|
|
|
+ <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:data.x1.bounds.min.coordinate" select="$system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate" select="$system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate"/>
|
|
|
+
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x2.bounds.max.length" select="$system_cache__dita__x3A__svg:data.x2.bounds.max.length"/>
|
|
|
+
|
|
|
+ <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:data.y2.bounds.max.length" select="$system_cache__dita__x3A__svg:data.y2.bounds.max.length"/>
|
|
|
+
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate" select="$system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate" select="$system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate"/>
|
|
|
+ </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 = $y1Value = <xsl:value-of select="$y1Value"/>
|
|
|
</xsl:comment>
|
|
|
- </svg:line>
|
|
|
-
|
|
|
- <svg:text debug="HiLoText.1.585"
|
|
|
-
|
|
|
- ><!-- transform="translate({@system_cache__dita__x3A__svg:data.position},{relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y1.value}) scale(1,{-1 div $scaleY}) translate({- @system_cache__dita__x3A__svg:data.position},{- relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y1.value})" -->
|
|
|
- <xsl:call-template name="system_cache__dita__x3A__svg:transform.translate.bounds__x3A__fix_text">
|
|
|
+ </svg:line>
|
|
|
|
|
|
- <xsl:with-param name="xValue" select="$x1Value"/>
|
|
|
- <xsl:with-param name="yValue" select="$y1Value"/>
|
|
|
- <xsl:with-param name="system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate" select="$system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate"/>
|
|
|
- <xsl:with-param name="system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate" select="$system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate"/>
|
|
|
- <xsl:with-param name="system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate" select="$system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate"/>
|
|
|
- <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate" select="$system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate"/>
|
|
|
-
|
|
|
- <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: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:call-template>
|
|
|
- <xsl:attribute name="style"><!-- x="{$xMajor1}" y="{$yMajor1 }" --><!-- transform="translate({$xMajor1},{$yMajor1}) scale(1,{-$scale}) translate({-$xMajor1},{-$yMajor1})" -->
|
|
|
- <xsl:call-template name="yAxisLabelStyle">
|
|
|
- <!--<xsl:with-param name="context" select="$context"/>-->
|
|
|
- </xsl:call-template>
|
|
|
- </xsl:attribute>
|
|
|
- <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="$x1Value"/>
|
|
|
- <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="$y1Value"/>
|
|
|
- </xsl:call-template>
|
|
|
- <xsl:value-of select="relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y1.label"/>
|
|
|
- </svg:text>
|
|
|
-
|
|
|
- <svg:text debug="HiLoText585.y2"
|
|
|
-
|
|
|
- ><!-- transform="translate({@system_cache__dita__x3A__svg:data.position},{relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y1.value}) scale(1,{-1 div $scaleY}) translate({- @system_cache__dita__x3A__svg:data.position},{- relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y1.value})" -->
|
|
|
- <xsl:call-template name="system_cache__dita__x3A__svg:transform.translate.bounds__x3A__fix_text">
|
|
|
-
|
|
|
- <xsl:with-param name="xValue" select="$x2Value"/>
|
|
|
- <xsl:with-param name="yValue" select="$y2Value"/>
|
|
|
- <xsl:with-param name="system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate" select="$system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate"/>
|
|
|
- <xsl:with-param name="system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate" select="$system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate"/>
|
|
|
- <xsl:with-param name="system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate" select="$system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate"/>
|
|
|
- <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate" select="$system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate"/>
|
|
|
-
|
|
|
- <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"/>
|
|
|
+ <svg:line system_cache__dita__x3A__svg:debug="svgu:openHiLoClose.74_max {@*/relation_DateRangeElements/name()}">
|
|
|
+
|
|
|
+ <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="$x1Value"/>
|
|
|
+ <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="$x1Value"/>
|
|
|
+ <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="$y1Value"/>
|
|
|
+ </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="$yValue.max"/>
|
|
|
+ </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-966_A'"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:position" select="relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y2.value"/>
|
|
|
+ </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="0.5 div abs($xScale)"/>
|
|
|
+ <xsl:with-param name="stroke-dasharray"><xsl:value-of select="2 div abs($yScale)"/> <xsl:value-of select="4 div abs($yScale)"/></xsl:with-param>
|
|
|
+ </xsl:call-template>
|
|
|
+ </xsl:attribute>
|
|
|
+
|
|
|
+ </svg:line>
|
|
|
|
|
|
- <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:call-template>
|
|
|
- <xsl:attribute name="style"><!-- x="{$xMajor1}" y="{$yMajor1 }" --><!-- transform="translate({$xMajor1},{$yMajor1}) scale(1,{-$scale}) translate({-$xMajor1},{-$yMajor1})" -->
|
|
|
+ <svg:line system_cache__dita__x3A__svg:debug="svgu:openHiLoClose.74_max2 {@*/relation_DateRangeElements/name()}">
|
|
|
+
|
|
|
+ <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="$x2Value"/>
|
|
|
+ <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="$x2Value"/>
|
|
|
+ <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="$yValue.min"/>
|
|
|
+ </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="$y2Value"/>
|
|
|
+ </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-966_B'"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:position" select="relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y2.value"/>
|
|
|
+ </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="0.5 div abs($xScale)"/>
|
|
|
+ <xsl:with-param name="stroke-dasharray"><xsl:value-of select="2 div abs($yScale)"/> <xsl:value-of select="4 div abs($yScale)"/></xsl:with-param>
|
|
|
+ </xsl:call-template>
|
|
|
+ </xsl:attribute>
|
|
|
+
|
|
|
+ </svg:line>
|
|
|
|
|
|
- <xsl:text>text-anchor:end;font-size:7;baseline-shift:-50%</xsl:text>
|
|
|
- <!--<xsl:call-template name="yAxisLabelStyle">
|
|
|
- <!-\-<xsl:with-param name="context" select="$context"/>-\->
|
|
|
- </xsl:call-template>-->
|
|
|
- </xsl:attribute>
|
|
|
- <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="$x2Value"/>
|
|
|
- <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="$y2Value"/>
|
|
|
- </xsl:call-template>
|
|
|
- <xsl:value-of select="relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y2.label"/><!-- @default_db__x3A__BI_audit_BENFORD:NameField.foreign.value -->
|
|
|
- </svg:text>
|
|
|
- <xsl:call-template name="system_cache__dita__x3A__svg:labelMajor">
|
|
|
- <xsl:with-param name="system_cache__dita__x3A__svg:data.y1.label" select="@system_cache__dita__x3A__svg:data.y1.label"/>
|
|
|
- <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.label" select="@system_cache__dita__x3A__svg:data.y2.label"/>
|
|
|
- <xsl:with-param name="system_cache__dita__x3A__svg:data.x.label" select="@system_cache__dita__x3A__svg:data.x.label"/>
|
|
|
- <xsl:with-param name="system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate" select="$system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate"/>
|
|
|
- <xsl:with-param name="system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate" select="$system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate"/>
|
|
|
- <xsl:with-param name="system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate" select="$system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate"/>
|
|
|
- <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate" select="$system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate"/>
|
|
|
-
|
|
|
- <xsl:with-param name="system_cache__dita__x3A__svg:data.x2.bounds.max.length" select="$system_cache__dita__x3A__svg:data.x2.bounds.max.length"/>
|
|
|
- <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.bounds.max.length" select="$system_cache__dita__x3A__svg:data.y2.bounds.max.length"/>
|
|
|
-
|
|
|
-
|
|
|
- <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: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="x1Value" select="$x1Value"/>
|
|
|
- <xsl:with-param name="x2Value" select="$x2Value"/>
|
|
|
- <xsl:with-param name="y1Value" select="$y1Value"/>
|
|
|
- <xsl:with-param name="y2Value" select="$y2Value"/>
|
|
|
-
|
|
|
- </xsl:call-template>
|
|
|
+ </xsl:otherwise>
|
|
|
+ </xsl:choose>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
<xsl:comment>#460
|
|
|
TEST IF CONSTEXT
|
|
|
<xsl:value-of select="name()"/>
|
|
@@ -888,7 +1063,7 @@
|
|
|
|
|
|
</xsl:comment>
|
|
|
<xsl:comment>REM scg:text 450</xsl:comment>
|
|
|
- <!--<svg:text debug="460_do_move">
|
|
|
+ <!--<svg:text system_cache__dita__x3A__svg:debug="460_do_move">
|
|
|
|
|
|
<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()"/>
|
|
@@ -1052,7 +1227,7 @@
|
|
|
<xsl:with-param name="system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate" select="$system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate"/>
|
|
|
</xsl:call-template>-->
|
|
|
|
|
|
- <svg:g debug="svgu:openHiLoClose.1
|
|
|
+ <svg:g system_cache__dita__x3A__svg:debug="svgu:openHiLoClose.1
|
|
|
$min={$minY} $max={$maxY} $system_cache__dita__x3A__svg:data.x2.bounds.max.length={$system_cache__dita__x3A__svg:data.x2.bounds.max.length} $system_cache__dita__x3A__svg:data.x2.bounds.max.length={$system_cache__dita__x3A__svg:data.x2.bounds.max.length} $rangeY={$rangeY}"
|
|
|
><!-- transform="translate({$offsetX},{$offsetY+$system_cache__dita__x3A__svg:data.x2.bounds.max.length})
|
|
|
scale(1,{-$scale})
|
|
@@ -1108,7 +1283,7 @@
|
|
|
<xsl:variable name="pos" select="position( )"/>
|
|
|
|
|
|
<!--draw hi-lo line -->
|
|
|
- <svg:line x1="{$spacing * $pos}" debug="svgu:openHiLoClose.74"
|
|
|
+ <svg:line x1="{$spacing * $pos}" system_cache__dita__x3A__svg:debug="svgu:openHiLoClose.74_1283"
|
|
|
y1="{$loData[$pos]}"
|
|
|
x2="{$spacing * $pos}"
|
|
|
y2="{current( )}" id="{$context}_highLow_{$pos}">
|
|
@@ -1129,7 +1304,7 @@
|
|
|
x2="{$spacing * $pos}"
|
|
|
y2="{$openData[$pos]}"
|
|
|
id="{$context}_open_{$pos}"
|
|
|
- debug="svgu:openHiLoClose.93_{$pos}"
|
|
|
+ system_cache__dita__x3A__svg:debug="svgu:openHiLoClose.93_{$pos}"
|
|
|
>
|
|
|
<xsl:attribute name="style">
|
|
|
<xsl:call-template name="svgu:openCloseBarStyle">
|
|
@@ -1148,7 +1323,7 @@
|
|
|
x2="{$spacing * $pos + $openCloseExtent}"
|
|
|
y2="{$closeData[$pos]}"
|
|
|
id="{$context}_close_{$pos}"
|
|
|
- debug="svgu:openHiLoClose.113"
|
|
|
+ system_cache__dita__x3A__svg:debug="svgu:openHiLoClose.113"
|
|
|
>
|
|
|
<xsl:attribute name="style">
|
|
|
<xsl:call-template name="svgu:openCloseBarStyle">
|
|
@@ -1189,12 +1364,15 @@
|
|
|
|
|
|
<xsl:param name="system_cache__dita__x3A__svg:offsetY.minY" required="yes" />
|
|
|
<xsl:param name="system_cache__dita__x3A__svg:offsetY.maxY" required="yes" />
|
|
|
+ <xsl:param name="text-anchor" select="'end'"/>
|
|
|
+ <xsl:param name="font-size" select="7"/>
|
|
|
+ <xsl:param name="offsetY-text" select="0"/>
|
|
|
<xsl:choose>
|
|
|
<xsl:when test="$system_cache__dita__x3A__svg:data.x.label"/>
|
|
|
<xsl:when test="$system_cache__dita__x3A__svg:data.y1.label"/>
|
|
|
<xsl:when test="$system_cache__dita__x3A__svg:data.y2.label"/>
|
|
|
<xsl:when test="@default_db__x3A__BI_audit_BENFORD:NameField.foreign.value">
|
|
|
- <svg:text debug="#160 system_cache__dita__x3A__svg:labelMajor"
|
|
|
+ <svg:text system_cache__dita__x3A__svg:debug="#160 system_cache__dita__x3A__svg:labelMajor"
|
|
|
|
|
|
><!-- transform="translate({@system_cache__dita__x3A__svg:data.position},{relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y1.value}) scale(1,{-1 div $scaleY}) translate({- @system_cache__dita__x3A__svg:data.position},{- relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y1.value})" -->
|
|
|
<xsl:call-template name="system_cache__dita__x3A__svg:transform.translate.bounds__x3A__fix_text">
|
|
@@ -1211,10 +1389,10 @@
|
|
|
|
|
|
<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="offsetY-text" select="$offsetY-text"/>
|
|
|
</xsl:call-template>
|
|
|
<xsl:attribute name="style"><!-- x="{$xMajor1}" y="{$yMajor1 }" --><!-- transform="translate({$xMajor1},{$yMajor1}) scale(1,{-$scale}) translate({-$xMajor1},{-$yMajor1})" -->
|
|
|
- <xsl:text>text-anchor:end;font-size:7;baseline-shift:-50%</xsl:text>
|
|
|
+ <xsl:text>text-anchor:</xsl:text><xsl:value-of select="$text-anchor"/><xsl:text>;font-size:</xsl:text><xsl:value-of select="$font-size"/><xsl:text>;baseline-shift:-50%</xsl:text>
|
|
|
</xsl:attribute>
|
|
|
<xsl:call-template name="system_cache__dita__x3A__svg:resolution.x">
|
|
|
<xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.index" select="''"/>
|
|
@@ -1238,15 +1416,17 @@
|
|
|
<xsl:param name="context"/>
|
|
|
<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:param name="stroke-dasharray"/>
|
|
|
+ <xsl:text>stroke: </xsl:text><xsl:value-of select="$color"/><xsl:text>; stroke-width: </xsl:text><xsl:value-of select="$stroke"/><xsl:text>; </xsl:text><!-- vector-effect:non-scaling-stroke ; -->
|
|
|
+ <xsl:if test="$stroke-dasharray">stroke-dasharray:<xsl:value-of select="$stroke-dasharray"/>;</xsl:if>
|
|
|
</xsl:template>
|
|
|
|
|
|
<xsl:template name="svgu:openCloseBarStyle">
|
|
|
<xsl:param name="pos"/>
|
|
|
<xsl:param name="scale"/>
|
|
|
<xsl:param name="context"/>
|
|
|
- <xsl:text>stroke: black; vector-effect:non-scaling-stroke ; stroke-width: </xsl:text>
|
|
|
- <xsl:value-of select="2 div $scale"/>
|
|
|
+ <xsl:text>stroke: black; stroke-width: </xsl:text><!-- vector-effect:non-scaling-stroke ; -->
|
|
|
+ <xsl:value-of select="2 div $scale"/><xsl:text>;</xsl:text>
|
|
|
</xsl:template>
|
|
|
|
|
|
</xsl:stylesheet>
|