guage.xml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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_gauge"/>
  6. </parameters>
  7. <scoreVariation/>
  8. <info>
  9. <title>MSG.IDS_JS_CHART_DIAL_GAUGE</title>
  10. <groupName>gauge</groupName>
  11. <uiInfoFields>
  12. <value>MSG.IDS_CHART_FIELD_SERIES_GUAGE</value>
  13. <value allowEmpty="false">
  14. <param name="hasManyDimensions">
  15. MSG.IDS_CHART_FIELD_CATEGORY_GAUGE
  16. </param>
  17. </value>
  18. <value allowEmpty="false"><param name="hasAMeasure">MSG.IDS_CHART_FIELD_MEASURE</param></value>
  19. </uiInfoFields>
  20. <icon>images/dialog/displayOptionsDialog/chart_thumbnails/type_v2_gauge.gif</icon>
  21. <uiInfoValues>
  22. <value><param name="guageNeedles"><callSubTemplate name="commonTemplates:caption"/></param></value>
  23. <value allowEmpty="false"><param name="hasManyDimensions"><param name="chartMultiples"><callSubTemplate name="commonTemplates:caption"/></param></param></value>
  24. <value allowEmpty="false"><param name="hasAMeasure"><param name="chartMeasure"><callSubTemplate name="commonTemplates:caption"/></param></param></value>
  25. </uiInfoValues>
  26. </info>
  27. <payload encoding="xmlEncoded">
  28. &lt;v2_gaugeChart maxHotspots=&quot;10000&quot; refQuery=&quot;<param name="guageNeedles"><callSubTemplate name="commonTemplates:queryId"/></param>&quot; name=&quot;<param name="containerName"/>&quot;&gt;
  29. &lt;v2_basicTooltips/&gt;
  30. &lt;v2_legend&gt;
  31. &lt;v2_legendPosition&gt;
  32. &lt;v2_legendPreset/&gt;
  33. &lt;/v2_legendPosition&gt;
  34. &lt;v2_legendTitle refQuery=&quot;<param name="guageNeedles"><callSubTemplate name="commonTemplates:queryId"/></param>&quot;&gt;
  35. &lt;v2_chartTextContents&gt;
  36. &lt;v2_automaticText/&gt;
  37. &lt;/v2_chartTextContents&gt;
  38. &lt;style&gt;
  39. &lt;defaultStyles&gt;
  40. &lt;defaultStyle refStyle=&quot;lx&quot;/&gt;
  41. &lt;/defaultStyles&gt;
  42. &lt;/style&gt;
  43. &lt;/v2_legendTitle&gt;
  44. &lt;style&gt;
  45. &lt;defaultStyles&gt;
  46. &lt;defaultStyle refStyle=&quot;lg&quot;/&gt;
  47. &lt;/defaultStyles&gt;
  48. &lt;/style&gt;
  49. &lt;/v2_legend&gt;
  50. &lt;v2_dialBorder/&gt;
  51. &lt;v2_pivot/&gt;
  52. &lt;v2_gaugeAxes&gt;
  53. &lt;v2_gaugeAxis gaugeAxisStartAngle=&quot;240&quot; gaugeAxisEndAngle=&quot;300&quot;&gt;
  54. &lt;v2_axisRange&gt;
  55. &lt;v2_automaticRange/&gt;
  56. &lt;/v2_axisRange&gt;
  57. &lt;v2_gaugeAxisLine/&gt;
  58. &lt;v2_axisTitle refQuery=&quot;<param name="guageNeedles"><callSubTemplate name="commonTemplates:queryId"/></param>&quot;&gt;
  59. &lt;v2_chartTextContents&gt;
  60. &lt;v2_automaticText/&gt;
  61. &lt;/v2_chartTextContents&gt;
  62. &lt;style&gt;
  63. &lt;defaultStyles&gt;
  64. &lt;defaultStyle refStyle=&quot;at&quot;/&gt;
  65. &lt;/defaultStyles&gt;
  66. &lt;/style&gt;
  67. &lt;/v2_axisTitle&gt;
  68. &lt;v2_axisLabels&gt;
  69. &lt;style&gt;
  70. &lt;defaultStyles&gt;
  71. &lt;defaultStyle refStyle=&quot;al&quot;/&gt;
  72. &lt;/defaultStyles&gt;
  73. &lt;/style&gt;
  74. &lt;/v2_axisLabels&gt;
  75. &lt;v2_gaugeAxisMajorGridlines/&gt;
  76. &lt;v2_axisColors&gt;
  77. &lt;v2_gradientColor colorPosition=&quot;0&quot; gradientColor=&quot;#ba3a28&quot;/&gt;
  78. &lt;v2_gradientColor colorPosition=&quot;75&quot; gradientColor=&quot;#e0d92e&quot;/&gt;
  79. &lt;v2_gradientColor colorPosition=&quot;100&quot; gradientColor=&quot;#198545&quot;/&gt;
  80. &lt;/v2_axisColors&gt;
  81. &lt;v2_gaugeNeedle needleBevelStyle=&quot;round&quot; needleHeadStyle=&quot;round&quot; needleTailStyle=&quot;round&quot;&gt;
  82. <param name="palette" type="V5palette"/>
  83. <callSubTemplate name="commonChartTemplates:combination_chart_categories">
  84. <withParam name="allowSummaries" type="option" value="false"/>
  85. <withParam name="guageNeedles" as="chartCategories"/>
  86. </callSubTemplate>
  87. &lt;/v2_gaugeNeedle&gt;
  88. &lt;/v2_gaugeAxis&gt;
  89. &lt;/v2_gaugeAxes&gt;
  90. <param name="hasManyDimensions">
  91. <callSubTemplate name="commonChartTemplates:chart_multiples">
  92. <withParam name="chartMultiples" as="chartCategories"/>
  93. <withParam name="allowSummaries" type="option" value="true"/>
  94. </callSubTemplate>
  95. </param>
  96. <param name="hasAMeasure">
  97. <callSubTemplate name="commonChartTemplates:default_measure">
  98. <withParam name="chartMeasure"/>
  99. </callSubTemplate>
  100. </param>
  101. <callSubTemplate name="commonTemplates:commonContainerNodes"/>
  102. <callSubTemplate name="commonChartTemplates:commonChartNodes"/>
  103. &lt;style&gt;
  104. &lt;CSS value=&quot;border-collapse:collapse&quot;/&gt;
  105. &lt;defaultStyles&gt;
  106. &lt;defaultStyle refStyle=&quot;ch&quot;/&gt;
  107. &lt;/defaultStyles&gt;
  108. &lt;/style&gt;
  109. &lt;/v2_gaugeChart&gt;
  110. </payload>
  111. </template>