BAsummary.json 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. {
  2. "copyright": "Licensed Materials - Property of IBM. IBM Cognos Products: Dashboard (C) Copyright IBM Corp.2014, 2019. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.",
  3. "features": [{
  4. "id": "com.ibm.bi.dashboard",
  5. "collectionItems": [{
  6. "containerId": "com.ibm.bi.dashboard.live-visualizations",
  7. "type": "Singleton",
  8. "id": "summary",
  9. "label": "%summaryCaption",
  10. "caption": "%summaryCaption",
  11. "icon": "visualizations-summary",
  12. "placeholderIcon": "dashboard-analytics/images/placeholders/summary.svg",
  13. "renderer": "dashboard-analytics\/visualizations\/renderer\/summary\/SummaryProxyView",
  14. "scope": "default",
  15. "control": "dashboard-analytics\/visualizations\/renderer\/summary\/control\/SummaryControl",
  16. "supportsFormatAction": true,
  17. "supportsAdvancedProperties": true,
  18. "supportsCustomGroupAction": false,
  19. "supportsFilterAction": false,
  20. "archetypes": ["summary"],
  21. "preferredSize": {
  22. "width": 300,
  23. "height": 170
  24. },
  25. "propertyPrefixes": {
  26. },
  27. "datasets": [{
  28. "name":"data"
  29. }],
  30. "thumbnailConfig": {
  31. "unsupportedBrowsers": ["IE"]
  32. },
  33. "dataSlots": [{
  34. "id": "actual",
  35. "type": "ordinal",
  36. "caption": "%summaryDataSlot_valuesLabel",
  37. "multiItems" : false,
  38. "maxItems": 1,
  39. "shapable": true,
  40. "datasetIdList": ["data"],
  41. "role": "response",
  42. "mldTitleProperty": "baseValueLabel",
  43. "format": {
  44. "type": "number",
  45. "maximumFractionDigits": 2,
  46. "decimalFormatLength": "short"
  47. }
  48. }],
  49. "propertyList": [{
  50. "id": "value.graphic.content"
  51. },{
  52. "id": "value.graphic.currentScaleOption"
  53. },{
  54. "id": "value.graphic.fillColor"
  55. },{
  56. "id": "value.graphic.borderColor"
  57. },{
  58. "id": "elementColor",
  59. "type":"colorClass",
  60. "editor": {
  61. "sectionId": "visualization.color",
  62. "position": 1,
  63. "uiControl": {
  64. "type": "ColorPicker",
  65. "label": "%prop_valueColorLabel",
  66. "addButton": true,
  67. "showHexValue": true,
  68. "open": false,
  69. "ariaLabel": "%prop_valueColorLabel",
  70. "paletteType": "DashboardColorSet",
  71. "missingIsLast": true
  72. }
  73. }
  74. }, {
  75. "id": "textAlignment",
  76. "defaultValue": "center",
  77. "editor": {
  78. "sectionId": "visualization.chart",
  79. "uiControl": {
  80. "preRenderCallback": {
  81. "feature" : "Dashboard.SummaryPropertyCallbacks",
  82. "callbackFunction": "preRenderAlignmentProperty",
  83. "callbackParams": []
  84. },
  85. "type": "IconPicker",
  86. "label": "%prop_textAlignmentLabel",
  87. "items": [{
  88. "name": "left",
  89. "label": "%prop_textAlignmentLeftLabel",
  90. "value": "common-left-align"
  91. }, {
  92. "name": "center",
  93. "label": "%prop_textAlignmentCenterLabel",
  94. "value": "common-center-align"
  95. }, {
  96. "name": "right",
  97. "label": "%prop_textAlignmentRightLabel",
  98. "value": "common-right-align"
  99. }]
  100. }
  101. }
  102. }, {
  103. "id": "baseValueSize",
  104. "defaultValue": "auto",
  105. "editor": {
  106. "sectionId": "visualization.chart",
  107. "uiControl": {
  108. "preRenderCallback": {
  109. "feature" : "Dashboard.SummaryPropertyCallbacks",
  110. "callbackFunction": "preRenderValueSizeProperty",
  111. "callbackParams": []
  112. },
  113. "type": "DropDown",
  114. "label": "%prop_baseValueSize",
  115. "ariaDescribedby": "%prop_baseValueSizeDescription",
  116. "options": [{
  117. "label": "auto",
  118. "value": "auto"
  119. }, {
  120. "label": "24",
  121. "value": "24"
  122. }, {
  123. "label": "32",
  124. "value": "32"
  125. }, {
  126. "label": "48",
  127. "value": "48"
  128. }, {
  129. "label": "64",
  130. "value": "64"
  131. }]
  132. }
  133. }
  134. }, {
  135. "id": "showItemLabel",
  136. "defaultValue": true,
  137. "editor": {
  138. "sectionId": "visualization.chart",
  139. "uiControl": {
  140. "label": "%prop_showItemLabelLabel",
  141. "type": "ToggleButton",
  142. "ariaLabel": "%prop_showItemLabelDescription"
  143. }
  144. }
  145. }, {
  146. "id": "baseValueLabel",
  147. "editor": {
  148. "sectionId": "visualization.chart",
  149. "uiControl": {
  150. "preRenderCallback": {
  151. "feature" : "Dashboard.SummaryPropertyCallbacks",
  152. "callbackFunction": "preRenderBaseLabelProperty",
  153. "callbackParams": []
  154. },
  155. "type": "InputLabel",
  156. "name": "baseValueLabel",
  157. "ellipses": false,
  158. "multilingual": true,
  159. "label": "%prop_baseLabelText",
  160. "ariaLabel": "%prop_baseLabelTextDescription",
  161. "newLook": true,
  162. "handleReturnKey": true
  163. }
  164. }
  165. }, {
  166. "id": "fillDirection",
  167. "editor": {
  168. "sectionId": "visualization.chart",
  169. "uiControl": {
  170. "preRenderCallback": {
  171. "feature" : "Dashboard.SummaryPropertyCallbacks",
  172. "callbackFunction": "preRenderFillDirectionProperty",
  173. "callbackParams": []
  174. },
  175. "ariaDescribedby": "%propFillDirectionDesciption",
  176. "options": [{
  177. "label": "%propFillDirectionSide",
  178. "value": "LeftToRight"
  179. }, {
  180. "label": "%propFillDirectionBottom",
  181. "value": "BottomToTop"
  182. }],
  183. "label": "%propFillDirection",
  184. "type": "DropDown"
  185. }
  186. }
  187. }],
  188. "propertyLayoutList": [{
  189. "type": "Group",
  190. "id": "visualization",
  191. "label": "%tabName_visualization"
  192. }, {
  193. "type": "Section",
  194. "id": "color",
  195. "label": "%sectionName_colorPalette",
  196. "position": 1
  197. }, {
  198. "type": "Section",
  199. "id": "chart",
  200. "label": "%sectionName_chart",
  201. "position": 4
  202. }],
  203. "actions": [{
  204. "id": "AggregationTypeAction",
  205. "slot": "actual"
  206. }, {
  207. "id": "FormatAction",
  208. "slot": "actual"
  209. }],
  210. "themeMapping": [],
  211. "isRecommendable": true,
  212. "customRecommendation": {
  213. "condition": {
  214. "fact": 1,
  215. "attribute": 0
  216. },
  217. "rank": 3
  218. },
  219. "usages": ["TablesAndSummary"]
  220. }]
  221. }]
  222. }