RSUpgradeAreaChart.xsl 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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="areaChartTemplate">
  13. <combinationChart>
  14. <xsl:call-template name="depthTemplate"/>
  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="legendTemplate"/>
  20. <xsl:call-template name="axisTemplate"/>
  21. <combinationChartTypes>
  22. <area>
  23. <xsl:call-template name="processAttsTemplate">
  24. <xsl:with-param name="p_cur" select="baltic:areaChart"/>
  25. </xsl:call-template>
  26. <xsl:call-template name="valueTypeTemplate">
  27. <xsl:with-param name="p_chart" select="baltic:areaChart"/>
  28. </xsl:call-template>
  29. <xsl:call-template name="chartLevelTemplate">
  30. <xsl:with-param name="p_mode" select="'rowEdge'"/>
  31. <xsl:with-param name="p_testMoveMeasureToColEdge" select="'yes'"/>
  32. </xsl:call-template>
  33. </area>
  34. </combinationChartTypes>
  35. <xsl:call-template name="commonClustersTemplateWithMeasureOnColEdgeCheck"/>
  36. <xsl:call-template name="defaultMeasureTemplate">
  37. <xsl:with-param name="p_testByCount" select="'no'"/>
  38. </xsl:call-template>
  39. <xsl:call-template name="commonChartTemplate"/>
  40. <xsl:call-template name="commonChartMarkerTemplate"/>
  41. <xsl:call-template name="commonChartBaselineTemplate">
  42. <xsl:with-param name="chartType" select="'areaChart'"/>
  43. <xsl:with-param name="standardType" select="baltic:areaChart/@standardType"/>
  44. </xsl:call-template>
  45. </combinationChart>
  46. </xsl:template>
  47. </xsl:stylesheet>