clustered_bar.xml 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <template>
  3. <parameters>
  4. <param name="containerName" type="string" rule="containerNameRule"/>
  5. <param name="flatOrDepth" type="variation">
  6. <param name="flat,depth" type="option"/>
  7. </param>
  8. <param name="palette_v2_bar_rectangle_clustered" type="V5palette" RAPChartType="v2_bar_rectangle_clustered"/>
  9. <param name="palette_v2_bar_box_clustered_depth" type="V5palette" RAPChartType="v2_bar_box_clustered_depth"/>
  10. </parameters>
  11. <scoreVariation>
  12. <param name="flatOrDepth">
  13. <param name="flat">
  14. <param name="twoDPreference" type="score" weight="0.2" rule="2dchartPreference"/>
  15. </param>
  16. </param>
  17. </scoreVariation>
  18. <info>
  19. <title>
  20. <param name="flatOrDepth">
  21. <param name="flat">
  22. MSG.IDS_JS_CHART_BAR
  23. </param>
  24. <param name="depth">
  25. MSG.IDS_JS_CHART_BAR_3D
  26. </param>
  27. </param>
  28. </title>
  29. <groupName>
  30. <param name="flatOrDepth">
  31. <param name="flat">
  32. bar
  33. </param>
  34. <param name="depth">
  35. bar 25D
  36. </param>
  37. </param>
  38. </groupName>
  39. <uiInfoFields>
  40. <value>MSG.IDS_CHART_FIELD_CATEGORY_Y</value>
  41. <value allowEmpty="false"><param name="hasManyDimensions">MSG.IDS_CHART_FIELD_SERIES</param></value>
  42. <value allowEmpty="false"><param name="hasAMeasure">MSG.IDS_CHART_FIELD_MEASURE</param></value>
  43. </uiInfoFields>
  44. <icon>
  45. <param name="flatOrDepth">
  46. <param name="flat">
  47. images/dialog/displayOptionsDialog/chart_thumbnails/type_v2_bar_rectangle_clustered.jpg
  48. </param>
  49. <param name="depth">
  50. images/dialog/displayOptionsDialog/chart_thumbnails/type_v2_bar_box_clustered_depth.jpg
  51. </param>
  52. </param>
  53. </icon>
  54. <uiInfoValues>
  55. <value><param name="chartCategories"><callSubTemplate name="commonTemplates:caption"/></param></value>
  56. <value allowEmpty="false"><param name="hasManyDimensions"><param name="chartSeries" delimeter=", "><callSubTemplate name="commonTemplates:caption"/></param></param></value>
  57. <value allowEmpty="false"><param name="hasAMeasure"><param name="chartMeasure"><callSubTemplate name="commonTemplates:caption"/></param></param></value>
  58. </uiInfoValues>
  59. </info>
  60. <payload encoding="xmlEncoded">
  61. &lt;v2_combinationChart maxHotspots=&quot;10000&quot; orientation=&quot;horizontal&quot; <param name="flatOrDepth"><param name="flat"></param><param name="depth">depth=&quot;75&quot;</param></param> refQuery=&quot;<param name="chartCategories" indexes="0"><callSubTemplate name="commonTemplates:queryId"/></param>&quot; name=&quot;<param name="containerName"/>&quot;&gt;
  62. &lt;v2_combinationTypeTooltips/&gt;
  63. <param name="hasManyDimensions">
  64. &lt;v2_legend&gt;
  65. &lt;v2_legendPosition&gt;
  66. &lt;v2_legendPreset/&gt;
  67. &lt;/v2_legendPosition&gt;
  68. &lt;v2_legendTitle refQuery=&quot;<param name="chartSeries" indexes="0"><callSubTemplate name="commonTemplates:queryId"/></param>&quot;&gt;
  69. &lt;v2_chartTextContents&gt;
  70. &lt;v2_automaticText/&gt;
  71. &lt;/v2_chartTextContents&gt;
  72. &lt;style&gt;
  73. &lt;defaultStyles&gt;
  74. &lt;defaultStyle refStyle=&quot;lx&quot;/&gt;
  75. &lt;/defaultStyles&gt;
  76. &lt;/style&gt;
  77. &lt;/v2_legendTitle&gt;
  78. &lt;style&gt;
  79. &lt;defaultStyles&gt;
  80. &lt;defaultStyle refStyle=&quot;lg&quot;/&gt;
  81. &lt;/defaultStyles&gt;
  82. &lt;/style&gt;
  83. &lt;/v2_legend&gt;
  84. </param>
  85. &lt;v2_commonAxis&gt;
  86. &lt;v2_ordinalAxis&gt;
  87. &lt;v2_axisTitle refQuery=&quot;<param name="chartCategories"><callSubTemplate name="commonTemplates:queryId"/></param>&quot;&gt;
  88. &lt;v2_chartTextContents&gt;
  89. &lt;v2_automaticText/&gt;
  90. &lt;/v2_chartTextContents&gt;
  91. &lt;style&gt;
  92. &lt;defaultStyles&gt;
  93. &lt;defaultStyle refStyle=&quot;at&quot;/&gt;
  94. &lt;/defaultStyles&gt;
  95. &lt;/style&gt;
  96. &lt;/v2_axisTitle&gt;
  97. &lt;v2_axisLine lineWeight=&quot;0&quot;/&gt;
  98. &lt;v2_axisLabels&gt;
  99. &lt;style&gt;
  100. &lt;defaultStyles&gt;
  101. &lt;defaultStyle refStyle=&quot;al&quot;/&gt;
  102. &lt;/defaultStyles&gt;
  103. &lt;/style&gt;
  104. &lt;/v2_axisLabels&gt;
  105. &lt;/v2_ordinalAxis&gt;
  106. <callSubTemplate name="commonChartTemplates:combination_chart_categories">
  107. <withParam name="chartCategories"/>
  108. <withParam name="allowSummaries" type="option" value="false"/>
  109. </callSubTemplate>
  110. &lt;/v2_commonAxis&gt;
  111. &lt;v2_topLeftAxis&gt;
  112. &lt;v2_combinationChartTypes&gt;
  113. &lt;v2_bar barShape=&quot;box&quot;&gt;
  114. <param name="flatOrDepth">
  115. <param name="flat">
  116. <param name="palette_v2_bar_rectangle_clustered" scope="root"/>
  117. </param>
  118. <param name="depth">
  119. <param name="palette_v2_bar_box_clustered_depth" scope="root"/>
  120. </param>
  121. </param>
  122. <param name="hasManyDimensions">
  123. <callSubTemplate name="commonChartTemplates:combination_chart_series">
  124. <withParam name="chartSeries"/>
  125. <withParam name="allowSummaries" type="option" value="false"/>
  126. </callSubTemplate>
  127. </param>
  128. &lt;/v2_bar&gt;
  129. &lt;/v2_combinationChartTypes&gt;
  130. &lt;v2_axis&gt;
  131. &lt;v2_axisTitle refQuery=&quot;<param name="chartCategories"><callSubTemplate name="commonTemplates:queryId"/></param>&quot;&gt;
  132. &lt;v2_chartTextContents&gt;
  133. &lt;v2_automaticText/&gt;
  134. &lt;/v2_chartTextContents&gt;
  135. &lt;style&gt;
  136. &lt;defaultStyles&gt;
  137. &lt;defaultStyle refStyle=&quot;at&quot;/&gt;
  138. &lt;/defaultStyles&gt;
  139. &lt;/style&gt;
  140. &lt;/v2_axisTitle&gt;
  141. &lt;v2_axisLine lineWeight=&quot;0&quot;/&gt;
  142. &lt;v2_axisRange&gt;
  143. &lt;v2_automaticRange/&gt;
  144. &lt;/v2_axisRange&gt;
  145. &lt;v2_axisLabels&gt;
  146. &lt;style&gt;
  147. &lt;defaultStyles&gt;
  148. &lt;defaultStyle refStyle=&quot;al&quot;/&gt;
  149. &lt;/defaultStyles&gt;
  150. &lt;/style&gt;
  151. &lt;/v2_axisLabels&gt;
  152. &lt;v2_majorGridlines lineWeight=&quot;0&quot; lineColor=&quot;#CCCCCC&quot;/&gt;
  153. &lt;v2_majorBackgroundColors&gt;
  154. &lt;v2_firstBackgroundColor color=&quot;#D2D2D2&quot; transparency=&quot;50&quot;/&gt;
  155. &lt;v2_secondBackgroundColor color=&quot;#E2E2E2&quot; transparency=&quot;50&quot;/&gt;
  156. &lt;/v2_majorBackgroundColors&gt;
  157. &lt;/v2_axis&gt;
  158. &lt;/v2_topLeftAxis&gt;
  159. <param name="hasAMeasure">
  160. <callSubTemplate name="commonChartTemplates:default_measure">
  161. <withParam name="chartMeasure"/>
  162. </callSubTemplate>
  163. </param>
  164. <callSubTemplate name="commonTemplates:commonContainerNodes"/>
  165. <callSubTemplate name="commonChartTemplates:commonChartNodes"/>
  166. &lt;style&gt;
  167. &lt;CSS value=&quot;border-collapse:collapse&quot;/&gt;
  168. &lt;defaultStyles&gt;
  169. &lt;defaultStyle refStyle=&quot;ch&quot;/&gt;
  170. &lt;/defaultStyles&gt;
  171. &lt;/style&gt;
  172. &lt;/v2_combinationChart&gt;
  173. </payload>
  174. </template>