Ignore:
Timestamp:
02/21/20 09:22:12 (2 years ago)
Author:
GarthBraithwaite_STG
Message:

view - changed Graphic to DataViz?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ibisph-view/src/main/webapp/xslt/html/indicator/profile/view/Page.xslt

    r19879 r19882  
    1212        <xsl:import href="../../../../json/Kendo.xslt"/>
    1313        <xsl:import href="../../../../json/LeafletMap.xslt"/>
    14         <xsl:import href="../../../Graphic.xslt"/>
     14        <xsl:import href="../../../DataViz.xslt"/>
    1515        <xsl:import href="../Indicator.xslt"/>
    1616        <xsl:import href="../Page.xslt"/>
     
    3737
    3838        <xsl:param name="Page.showMap" ibis:doc="Exposed so that SS can access."
    39                 select="ibis:Graphic.showMap(
     39                select="ibis:DataViz.showMap(
    4040                        $indicatorView/MAP_NAME,
    4141                        $indicatorView/DIMENSION_USAGES/DIMENSION_USAGE[USAGE='category']/NAME,
     
    4444                )"
    4545        />
    46         <xsl:param name="Page.showChart" select="ibis:Graphic.showChart($indicatorView/CHART_NAME)"/>
     46        <xsl:param name="Page.showChart" select="ibis:DataViz.showChart($indicatorView/CHART_NAME)"/>
    4747
    4848        <xsl:param name="Indicator.contentBlockType" select="'fixed'"/>
     
    116116
    117117                <xsl:if test="$Page.showMap">
    118                         <xsl:call-template name="Graphic.mapContainer">
     118                        <xsl:call-template name="DataViz.mapContainer">
    119119                                <xsl:with-param name="containerID" select="'map'"/>
    120120                                <xsl:with-param name="title" select="ibis:getIndicatorViewMapTitle($indicator, $indicatorView, $Indicator.dimensions)"/>
     
    124124
    125125                <xsl:if test="$Page.showChart">
    126                         <xsl:call-template name="Graphic.chartContainer">
     126                        <xsl:call-template name="DataViz.chartContainer">
    127127                                <xsl:with-param name="containerID"   select="'chart'"/>
    128128                                <xsl:with-param name="footerContent" select="$indicatorView/CHART_NARRATIVE/text()"/>
     
    134134                </xsl:call-template>
    135135
    136                 <xsl:call-template name="Graphic.gridContainer">
     136                <xsl:call-template name="DataViz.gridContainer">
    137137                        <xsl:with-param name="containerID"   select="'grid'"/>
    138138                        <xsl:with-param name="valueAttributeNames" select="$valueAttributeNames"/>
     
    159159                <xsl:variable name="ancillaryValueNames" select="distinct-values($indicator/DATASETS/DATASET[NAME = $indicatorView/DATASET_NAMES/DATASET_NAME]/ANCILLARY_VALUE_USAGES/ANCILLARY_VALUE_USAGE/NAME)"/>
    160160                <xsl:variable name="measureValueFormatPattern" select="($Indicator.valueTypes/VALUE_TYPE[NAME = $measure/VALUE_TYPE_NAME]/XSLT_FORMAT_PATTERN)[1]"/>
    161                 <xsl:call-template name="Graphic.choroplethMapJavaScript"/>
    162                 <xsl:call-template name="Graphic.leafletKendoScript">
     161                <xsl:call-template name="DataViz.choroplethMapJavaScript"/>
     162                <xsl:call-template name="DataViz.leafletKendoScript">
    163163                        <xsl:with-param name="scriptContainerID"     select="concat($indicatorView/NAME, '_script')"/>
    164164                        <xsl:with-param name="dimensions"            select="$Indicator.dimensions"/>
Note: See TracChangeset for help on using the changeset viewer.