RSUpgradeThreeDCombinationChart.xsl 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed Materials - Property of IBM
  4. IBM Cognos Products: rspecupgrade
  5. (C) Copyright IBM Corp. 2005, 2010
  6. US Government Users Restricted Rights - Use, duplication or disclosure
  7. restricted by GSA ADP Schedule Contract with IBM Corp.
  8. -->
  9. <!-- COPYRIGHT_DATA { 'YEAR':[2005, 2009], 'RELEASE':['colorado_wave1'], 'VISIBLE':'YES', 'COMPONENT':'rspecupgrade' }-->
  10. <!--All lines above the COPYRIGHT_DATA line will be replaced when copyright notices are generated. -->
  11. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:baltic="http://developer.cognos.com/schemas/report/1/" xmlns="http://developer.cognos.com/schemas/report/2.0/" xmlns:date="http://exslt.org/dates-and-times" xmlns:exsl="http://exslt.org/common" xmlns:xalan="http://xml.apache.org/xalan" xmlns:java="http://xml.apache.org/xalan/java" extension-element-prefixes="xalan date exsl" exclude-result-prefixes="xalan java baltic date exsl">
  12. <xsl:template name="combinationThreeDChartTemplate">
  13. <threeDCombinationChart>
  14. <xsl:call-template name="matchSeriesColorTemplate"/>
  15. <xsl:call-template name="standardChartAttributesTemplate"/>
  16. <xsl:call-template name="generateMasterDetailLinks2">
  17. <xsl:with-param name="p_frame" select="."/>
  18. </xsl:call-template>
  19. <xsl:call-template name="axis3DTemplate"/>
  20. <threeDCombinationChartTypes>
  21. <xsl:apply-templates select="baltic:combinationChart/baltic:*"/>
  22. </threeDCombinationChartTypes>
  23. <xsl:call-template name="commonClustersTemplate">
  24. <xsl:with-param name="p_addChartContents" select="'true'"/>
  25. </xsl:call-template>
  26. <xsl:call-template name="defaultMeasureTemplate"/>
  27. <xsl:call-template name="commonChartTemplate"/>
  28. <xsl:call-template name="threeDComboBaselineTemplate">
  29. <xsl:with-param name="chartType" select="'combinationChart'"/>
  30. <xsl:with-param name="standardType" select="baltic:combinationChart/@standardType"/>
  31. </xsl:call-template>
  32. </threeDCombinationChart>
  33. </xsl:template>
  34. <xsl:template match="baltic:combinationChart[@standardType='3DAxis']/baltic:area">
  35. <threeDArea>
  36. <xsl:call-template name="processAttsTemplate"/>
  37. <xsl:call-template name="fillNodesTemplate">
  38. <xsl:with-param name="p_refQuery" select="../../@refQuery"/>
  39. </xsl:call-template>
  40. </threeDArea>
  41. </xsl:template>
  42. <xsl:template match="baltic:combinationChart[@standardType='3DAxis']/baltic:bar">
  43. <threeDBar>
  44. <xsl:call-template name="processAttsTemplate"/>
  45. <xsl:call-template name="fillNodesTemplate">
  46. <xsl:with-param name="p_refQuery" select="../../@refQuery"/>
  47. </xsl:call-template>
  48. </threeDBar>
  49. </xsl:template>
  50. <xsl:template match="baltic:combinationChart[@standardType='3DAxis']/baltic:column">
  51. <threeDBar>
  52. <xsl:call-template name="processAttsTemplate"/>
  53. <xsl:call-template name="fillNodesTemplate">
  54. <xsl:with-param name="p_refQuery" select="../../@refQuery"/>
  55. </xsl:call-template>
  56. </threeDBar>
  57. </xsl:template>
  58. <xsl:template match="baltic:combinationChart[@standardType='3DAxis']/baltic:line">
  59. <threeDLine>
  60. <xsl:call-template name="processAttsTemplate"/>
  61. <xsl:call-template name="fillNodesTemplate">
  62. <xsl:with-param name="p_refQuery" select="../../@refQuery"/>
  63. </xsl:call-template>
  64. </threeDLine>
  65. </xsl:template>
  66. </xsl:stylesheet>