scatter.xml 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <template>
  3. <parameters>
  4. <param name="containerName" type="string" rule="containerNameRule"/>
  5. <param name="palette" type="V5palette" RAPChartType="v2_scatter"/>
  6. </parameters>
  7. <scoreVariation/>
  8. <info>
  9. <title>MSG.IDS_JS_CHART_SCATTER</title>
  10. <groupName>scatter</groupName>
  11. <uiInfoFields>
  12. <value>MSG.IDS_CHART_FIELD_MEASURE_X</value>
  13. <value>MSG.IDS_CHART_FIELD_MEASURE_Y</value>
  14. <value allowEmpty="false"><param name="hasManyDimensions">MSG.IDS_CHART_FIELD_CATEGORY_SHAPE</param></value>
  15. <value>MSG.IDS_CHART_FIELD_SERIES</value>
  16. </uiInfoFields>
  17. <icon>images/dialog/displayOptionsDialog/chart_thumbnails/type_v2_scatter.gif</icon>
  18. <uiInfoValues>
  19. <value><param name="xAxisMeasure"><callSubTemplate name="commonTemplates:caption"/></param></value>
  20. <value><param name="yAxisMeasure"><callSubTemplate name="commonTemplates:caption"/></param></value>
  21. <value allowEmpty="false"><param name="hasManyDimensions"><param name="chartCategories"><callSubTemplate name="commonTemplates:caption"/></param></param></value>
  22. <value><param name="chartSeries" delimeter=", "><callSubTemplate name="commonTemplates:caption"/></param></value>
  23. </uiInfoValues>
  24. </info>
  25. <payload encoding="xmlEncoded">
  26. &lt;v2_scatterChart maxHotspots=&quot;10000&quot; refQuery=&quot;<param name="yAxisMeasure"><callSubTemplate name="commonTemplates:queryId"/></param>&quot; name=&quot;<param name="containerName"/>&quot;&gt;
  27. &lt;v2_basicTooltips/&gt;
  28. &lt;v2_legend&gt;
  29. &lt;v2_legendPosition&gt;
  30. &lt;v2_legendPreset/&gt;
  31. &lt;/v2_legendPosition&gt;
  32. &lt;v2_legendTitle refQuery=&quot;<param name="chartSeries" indexes="0"><callSubTemplate name="commonTemplates:queryId"/></param>&quot;&gt;
  33. &lt;v2_chartTextContents&gt;
  34. &lt;v2_automaticText/&gt;
  35. &lt;/v2_chartTextContents&gt;
  36. &lt;style&gt;
  37. &lt;defaultStyles&gt;
  38. &lt;defaultStyle refStyle=&quot;lx&quot;/&gt;
  39. &lt;/defaultStyles&gt;
  40. &lt;/style&gt;
  41. &lt;/v2_legendTitle&gt;
  42. &lt;style&gt;
  43. &lt;defaultStyles&gt;
  44. &lt;defaultStyle refStyle=&quot;lg&quot;/&gt;
  45. &lt;/defaultStyles&gt;
  46. &lt;/style&gt;
  47. &lt;/v2_legend&gt;
  48. &lt;v2_yAxis&gt;
  49. &lt;v2_axisTitle refQuery=&quot;<param name="yAxisMeasure"><callSubTemplate name="commonTemplates:queryId"/></param>&quot;&gt;
  50. &lt;v2_chartTextContents&gt;
  51. &lt;v2_automaticText/&gt;
  52. &lt;/v2_chartTextContents&gt;
  53. &lt;style&gt;
  54. &lt;defaultStyles&gt;
  55. &lt;defaultStyle refStyle=&quot;at&quot;/&gt;
  56. &lt;/defaultStyles&gt;
  57. &lt;/style&gt;
  58. &lt;/v2_axisTitle&gt;
  59. &lt;v2_axisLine lineWeight=&quot;0&quot;/&gt;
  60. &lt;v2_axisRange&gt;
  61. &lt;v2_automaticRange/&gt;
  62. &lt;/v2_axisRange&gt;
  63. &lt;v2_axisLabels&gt;
  64. &lt;style&gt;
  65. &lt;defaultStyles&gt;
  66. &lt;defaultStyle refStyle=&quot;al&quot;/&gt;
  67. &lt;/defaultStyles&gt;
  68. &lt;/style&gt;
  69. &lt;/v2_axisLabels&gt;
  70. &lt;v2_majorGridlines lineWeight=&quot;0&quot; lineColor=&quot;#CCCCCC&quot;/&gt;
  71. &lt;v2_chartMeasure refDataItem=&quot;<param name="yAxisMeasure"><callSubTemplate name="commonTemplates:name"/></param>&quot;/&gt;
  72. &lt;/v2_yAxis&gt;
  73. &lt;v2_xAxis&gt;
  74. &lt;v2_axisTitle refQuery=&quot;<param name="xAxisMeasure"><callSubTemplate name="commonTemplates:queryId"/></param>&quot;&gt;
  75. &lt;v2_chartTextContents&gt;
  76. &lt;v2_automaticText/&gt;
  77. &lt;/v2_chartTextContents&gt;
  78. &lt;style&gt;
  79. &lt;defaultStyles&gt;
  80. &lt;defaultStyle refStyle=&quot;at&quot;/&gt;
  81. &lt;/defaultStyles&gt;
  82. &lt;/style&gt;
  83. &lt;/v2_axisTitle&gt;
  84. &lt;v2_axisLine lineWeight=&quot;0&quot;/&gt;
  85. &lt;v2_axisRange&gt;
  86. &lt;v2_automaticRange/&gt;
  87. &lt;/v2_axisRange&gt;
  88. &lt;v2_axisLabels&gt;
  89. &lt;style&gt;
  90. &lt;defaultStyles&gt;
  91. &lt;defaultStyle refStyle=&quot;al&quot;/&gt;
  92. &lt;/defaultStyles&gt;
  93. &lt;/style&gt;
  94. &lt;/v2_axisLabels&gt;
  95. &lt;v2_majorGridlines lineWeight=&quot;0&quot; lineColor=&quot;#CCCCCC&quot;/&gt;
  96. &lt;v2_chartMeasure refDataItem=&quot;<param name="xAxisMeasure"><callSubTemplate name="commonTemplates:name"/></param>&quot;/&gt;
  97. &lt;/v2_xAxis&gt;
  98. <param name="palette"/>
  99. &lt;v2_chartBody/&gt;
  100. <param name="hasManyDimensions" rule="multipleCategories">
  101. &lt;v2_category&gt;
  102. <callSubTemplate name="commonChartTemplates:combination_chart_categories">
  103. <withParam name="allowSummaries" type="option" value="false"/>
  104. <withParam name="chartCategories"/>
  105. </callSubTemplate>
  106. &lt;/v2_category&gt;
  107. </param>
  108. &lt;v2_series&gt;
  109. <callSubTemplate name="commonChartTemplates:combination_chart_series">
  110. <withParam name="chartSeries"/>
  111. <withParam name="allowSummaries" type="option" value="false"/>
  112. </callSubTemplate>
  113. &lt;/v2_series&gt;
  114. <callSubTemplate name="commonTemplates:commonContainerNodes"/>
  115. <callSubTemplate name="commonChartTemplates:commonChartNodes"/>
  116. &lt;style&gt;
  117. &lt;CSS value=&quot;border-collapse: collapse;&quot;/&gt;
  118. &lt;defaultStyles&gt;
  119. &lt;defaultStyle refStyle=&quot;ch&quot;/&gt;
  120. &lt;/defaultStyles&gt;
  121. &lt;/style&gt;
  122. &lt;/v2_scatterChart&gt;
  123. </payload>
  124. </template>