RSUpgradeScatterChart.xsl 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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="scatterChartTemplate">
  13. <scatterChart>
  14. <xsl:call-template name="chartMarkerTemplate">
  15. <xsl:with-param name="p_chart" select="baltic:scatterChart"/>
  16. <xsl:with-param name="p_defaultShape" select="'series'"/>
  17. <xsl:with-param name="p_addDataPointSize" select="'false'"/>
  18. </xsl:call-template>
  19. <xsl:call-template name="standardChartAttributesTemplate"/>
  20. <xsl:call-template name="pointChartShowValuesTemplate"/>
  21. <xsl:call-template name="generateMasterDetailLinks2">
  22. <xsl:with-param name="p_frame" select="."/>
  23. </xsl:call-template>
  24. <xsl:call-template name="legendTemplate"/>
  25. <xsl:call-template name="axisBubbleScatterTemplate"/>
  26. <xsl:call-template name="pointsAndPointClustersTemplate"/>
  27. <xsl:if test="baltic:scatterChart/baltic:xMeasure/@refMember != ''">
  28. <pointXMeasure refDataItem="{baltic:scatterChart/baltic:xMeasure/@refMember}"/>
  29. </xsl:if>
  30. <xsl:if test="baltic:scatterChart/baltic:yMeasure/@refMember != ''">
  31. <pointYMeasure refDataItem="{baltic:scatterChart/baltic:yMeasure/@refMember}"/>
  32. </xsl:if>
  33. <xsl:call-template name="commonChartTemplate"/>
  34. <xsl:call-template name="pointChartMarkerTemplate"/>
  35. <xsl:call-template name="commonPointChartBaselineTemplate">
  36. <xsl:with-param name="chartType" select="'scatterChart'"/>
  37. </xsl:call-template>
  38. </scatterChart>
  39. </xsl:template>
  40. </xsl:stylesheet>