BAcrosstab.json 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459
  1. {
  2. "copyright": "Licensed Materials - Property of IBM. IBM Cognos Products: BI Cloud(C) Copyright IBM Corp.2014, 2020. 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": "Crosstab",
  8. "id": "crosstab",
  9. "label": "%crosstabCaption",
  10. "caption": "%crosstabCaption",
  11. "icon": "visualizations-crosstab",
  12. "placeholderIcon": "dashboard-analytics/images/placeholders/crosstab.svg",
  13. "renderer": "dashboard-analytics\/visualizations\/renderer\/crosstab\/CrosstabView",
  14. "supportsAdvancedProperties": true,
  15. "supportsTextWrap":{
  16. "cell_edge_row": true,
  17. "cell_edge_column": true,
  18. "cell": false,
  19. "values": true,
  20. "summary": true,
  21. "selectedArea": true
  22. },
  23. "scope": "default",
  24. "archetypes": ["crosstab"],
  25. "dataRowLimit": 3000,
  26. "dataRowLimitIE": 3000,
  27. "preferredSize": {
  28. "width": 500,
  29. "height": 420
  30. },
  31. "thumbnailConfig": {
  32. "unsupportedBrowsers": ["IE"]
  33. },
  34. "datasets": [{
  35. "name":"data"
  36. }],
  37. "queryHints": {
  38. "multiEdgeSort": true
  39. },
  40. "dataSlots": [{
  41. "id": "column_level1",
  42. "icon": "column_heading",
  43. "type": "category",
  44. "caption": "%crosstabDataSlot_column_level1Label",
  45. "sort": "asc",
  46. "sortOrder": 1,
  47. "optional": true,
  48. "stackItems": true,
  49. "recommendMulti": true,
  50. "summaries": true,
  51. "maxItems":10,
  52. "datasetIdList": ["data"],
  53. "role": "explanatory"
  54. }, {
  55. "id": "row_level1",
  56. "icon": "row_heading",
  57. "type": "category",
  58. "caption": "%crosstabDataSlot_row_level1Label",
  59. "sort": "asc",
  60. "sortOrder": 2,
  61. "stackItems": true,
  62. "recommendMulti": true,
  63. "maxItems":10,
  64. "datasetIdList": ["data"],
  65. "summaries": true,
  66. "role": "explanatory"
  67. }, {
  68. "id": "values",
  69. "type": "ordinal",
  70. "icon": "values",
  71. "caption": "%crosstabDataSlot_valuesLabel",
  72. "sortOrder": 3,
  73. "repeats": true,
  74. "sortable": false,
  75. "stackItems": false,
  76. "datasetIdList": ["data"],
  77. "summaryValues": true,
  78. "role": "response"
  79. }, {
  80. "id": "heat",
  81. "icon": "colorBy",
  82. "type": "ordinal",
  83. "caption": "%crosstabDataSlot_colorByLabel",
  84. "sortOrder": 99,
  85. "sort": "asc",
  86. "optional": true,
  87. "multiItems": false,
  88. "maxItems":1,
  89. "datasetIdList": ["data"],
  90. "role": "group",
  91. "tags": ["canUseToColor"]
  92. }],
  93. "propertyPrefixes": {
  94. "cell_edge_row": "rowHeading",
  95. "cell_edge_column": "columnHeading",
  96. "cell": "values",
  97. "values": "valueHeading",
  98. "summary": "summary",
  99. "selectedArea": "selectedArea"
  100. },
  101. "propertyList": [
  102. {
  103. "id": "condColorPalette",
  104. "editor": {
  105. "sectionId": "visualization.colorPalette",
  106. "uiControl": {
  107. "linkLabel": "%prop_changeCondColorPaletteLabel",
  108. "reversePalettePropName": "condColorOrder",
  109. "paletteType": "ConditionalPalette",
  110. "type": "NewPalette",
  111. "ariaLabel": "%prop_condColorPaletteLabel",
  112. "newPaletteLabel": "%prop_newCondColorPaletteLabel",
  113. "enableReorder": true,
  114. "sectionLabel": "%prop_condColorPaletteLabel",
  115. "open": false
  116. }
  117. }
  118. }, {
  119. "id": "condColorOrder"
  120. }, {
  121. "id": "hideSummaries",
  122. "editor": {
  123. "sectionId": "visualization.chart",
  124. "uiControl": {
  125. "label": "%prop_hideSummariesLabel",
  126. "type": "ToggleButton",
  127. "ariaLabel": "%prop_hideSummariesDescription"
  128. }
  129. },
  130. "supportsUndoRedo": true,
  131. "onPropertyChange": {
  132. "refresh": {
  133. "data": true
  134. }
  135. }
  136. }, {
  137. "id": "valuesColor",
  138. "prefix": "values",
  139. "style": "Color"
  140. }, {
  141. "id": "valuesFontSize",
  142. "style": "FontSize",
  143. "prefix": "values"
  144. }, {
  145. "id": "valuesFontFace",
  146. "style": "FontFace",
  147. "prefix": "values"
  148. }, {
  149. "id": "valuesFontBold",
  150. "style": "FontBold",
  151. "prefix": "values"
  152. }, {
  153. "id": "valuesFontItalic",
  154. "style": "FontItalic",
  155. "prefix": "values"
  156. }, {
  157. "id": "valuesFontUnderline",
  158. "style": "FontUnderline",
  159. "prefix": "values"
  160. }, {
  161. "id": "valuesFontAlign",
  162. "style": "FontAlign",
  163. "prefix": "values"
  164. }, {
  165. "id": "rowHeadingColor",
  166. "style": "Color",
  167. "prefix": "rowHeading"
  168. }, {
  169. "id": "rowHeadingFontSize",
  170. "style": "FontSize",
  171. "prefix": "rowHeading"
  172. }, {
  173. "id": "rowHeadingFontFace",
  174. "style": "FontFace",
  175. "prefix": "rowHeading"
  176. }, {
  177. "id": "rowHeadingFontBold",
  178. "style": "FontBold",
  179. "prefix": "rowHeading"
  180. }, {
  181. "id": "rowHeadingFontItalic",
  182. "style": "FontItalic",
  183. "prefix": "rowHeading"
  184. }, {
  185. "id": "rowHeadingFontUnderline",
  186. "style": "FontUnderline",
  187. "prefix": "rowHeading"
  188. }, {
  189. "id": "rowHeadingFontAlign",
  190. "style": "FontAlign",
  191. "prefix": "rowHeading"
  192. }, {
  193. "id": "rowHeadingTextWrap",
  194. "style": "TextWrap",
  195. "prefix": "rowHeading"
  196. }, {
  197. "id": "valueHeadingColor",
  198. "style": "Color",
  199. "prefix": "valueHeading"
  200. }, {
  201. "id": "valueHeadingFontSize",
  202. "style": "FontSize",
  203. "prefix": "valueHeading"
  204. }, {
  205. "id": "valueHeadingFontFace",
  206. "style": "FontFace",
  207. "prefix": "valueHeading"
  208. }, {
  209. "id": "valueHeadingFontBold",
  210. "style": "FontBold",
  211. "prefix": "valueHeading"
  212. }, {
  213. "id": "valueHeadingFontItalic",
  214. "style": "FontItalic",
  215. "prefix": "valueHeading"
  216. }, {
  217. "id": "valueHeadingFontUnderline",
  218. "style": "FontUnderline",
  219. "prefix": "valueHeading"
  220. }, {
  221. "id": "valueHeadingFontAlign",
  222. "style": "FontAlign",
  223. "prefix": "valueHeading"
  224. }, {
  225. "id": "valueHeadingTextWrap",
  226. "style": "TextWrap",
  227. "prefix": "valueHeading"
  228. }, {
  229. "id": "columnHeadingColor",
  230. "style": "Color",
  231. "prefix": "columnHeading"
  232. }, {
  233. "id": "columnHeadingFontSize",
  234. "style": "FontSize",
  235. "prefix": "columnHeading"
  236. }, {
  237. "id": "columnHeadingFontFace",
  238. "style": "FontFace",
  239. "prefix": "columnHeading"
  240. }, {
  241. "id": "columnHeadingFontBold",
  242. "style": "FontBold",
  243. "prefix": "columnHeading"
  244. }, {
  245. "id": "columnHeadingFontItalic",
  246. "style": "FontItalic",
  247. "prefix": "columnHeading"
  248. }, {
  249. "id": "columnHeadingFontUnderline",
  250. "style": "FontUnderline",
  251. "prefix": "columnHeading"
  252. }, {
  253. "id": "columnHeadingFontAlign",
  254. "style": "FontAlign",
  255. "prefix": "columnHeading"
  256. }, {
  257. "id": "columnHeadingTextWrap",
  258. "style": "TextWrap",
  259. "prefix": "columnHeading"
  260. }, {
  261. "id": "summaryColor",
  262. "style": "Color",
  263. "prefix": "summary"
  264. }, {
  265. "id": "summaryFontSize",
  266. "style": "FontSize",
  267. "prefix": "summary"
  268. }, {
  269. "id": "summaryFontFace",
  270. "style": "FontFace",
  271. "prefix": "summary"
  272. }, {
  273. "id": "summaryFontBold",
  274. "style": "FontBold",
  275. "prefix": "summary"
  276. }, {
  277. "id": "summaryFontItalic",
  278. "style": "FontItalic",
  279. "prefix": "summary"
  280. }, {
  281. "id": "summaryFontUnderline",
  282. "style": "FontUnderline",
  283. "prefix": "summary"
  284. }, {
  285. "id": "summaryFontAlign",
  286. "style": "FontAlign",
  287. "prefix": "summary"
  288. }, {
  289. "id": "summaryTextWrap",
  290. "style": "TextWrap",
  291. "prefix": "summary"
  292. }, {
  293. "id": "selectedAreaColor",
  294. "style": "Color",
  295. "prefix": "selectedArea"
  296. }, {
  297. "id": "selectedAreaFontSize",
  298. "style": "FontSize",
  299. "prefix": "selectedArea"
  300. }, {
  301. "id": "selectedAreaFontFace",
  302. "style": "FontFace",
  303. "prefix": "selectedArea"
  304. }, {
  305. "id": "selectedAreaFontBold",
  306. "style": "FontBold",
  307. "prefix": "selectedArea"
  308. }, {
  309. "id": "selectedAreaFontItalic",
  310. "style": "FontItalic",
  311. "prefix": "selectedArea"
  312. }, {
  313. "id": "selectedAreaFontUnderline",
  314. "style": "FontUnderline",
  315. "prefix": "selectedArea"
  316. }, {
  317. "id": "selectedAreaFontAlign",
  318. "style": "FontAlign",
  319. "prefix": "selectedArea"
  320. }, {
  321. "id": "selectedAreaTextWrap",
  322. "style": "TextWrap",
  323. "prefix": "selectedArea"
  324. },
  325. {
  326. "id": "fixedRowHeight",
  327. "defaultValue": 32,
  328. "editor": {
  329. "sectionId": "visualization.chart",
  330. "position": -1,
  331. "uiControl": {
  332. "type": "InputLabel",
  333. "label": "%prop_fixedRowHeightLabel",
  334. "ariaLabel": "%prop_fixedRowHeightLabel",
  335. "placeHolderText": "%prop_fixedRowHeightLabelHint",
  336. "showInlineError": true,
  337. "handleReturnKey": true,
  338. "customValidatorCallback": {
  339. "feature" : "Dashboard.CrosstabPropertyCallbacks",
  340. "callbackFunction": "checkValidRowHeightInput",
  341. "callbackParams": []
  342. }
  343. }
  344. },
  345. "supportsUndoRedo": true,
  346. "onPropertyChange": {
  347. "refresh": {
  348. "propertiesPane": true
  349. }
  350. }
  351. },
  352. {
  353. "id": "fixedColumnWidth",
  354. "defaultValue": 120,
  355. "editor": {
  356. "sectionId": "visualization.chart",
  357. "position": -1,
  358. "uiControl": {
  359. "type": "InputLabel",
  360. "label": "%prop_fixedColumnWidthLabel",
  361. "ariaLabel": "%prop_fixedColumnWidthLabel",
  362. "placeHolderText": "%prop_fixedColumnWidthLabelHint",
  363. "showInlineError": true,
  364. "handleReturnKey": true,
  365. "customValidatorCallback": {
  366. "feature" : "Dashboard.CrosstabPropertyCallbacks",
  367. "callbackFunction": "checkValidColumnWidthInput",
  368. "callbackParams": []
  369. }
  370. }
  371. },
  372. "supportsUndoRedo": true,
  373. "onPropertyChange": {
  374. "refresh": {
  375. "propertiesPane": true
  376. }
  377. }
  378. },
  379. {
  380. "id": "restoreFormat",
  381. "editor": {
  382. "sectionId": "visualization.chart",
  383. "position": -1,
  384. "uiControl": {
  385. "type": "SingleLineLinks",
  386. "label": "%restoreFormatLable",
  387. "items": [
  388. {
  389. "align": "left",
  390. "items": [
  391. {
  392. "type": "text",
  393. "class": "boldPropertyText",
  394. "value": "%restoreFormatLable"
  395. }
  396. ]
  397. },
  398. {
  399. "align": "right",
  400. "items": [
  401. {
  402. "type": "icon",
  403. "svgIcon": "{{ICON:reset_32.default.id}}",
  404. "iconTooltip": "%restoreFormatLable",
  405. "class": "restoreStepsAction",
  406. "clickCallback": {
  407. "feature" : "Dashboard.PropertyCallbacks",
  408. "callbackFunction": "setProperties",
  409. "callbackParams": [{
  410. "fixedRowHeight": 32,
  411. "fixedColumnWidth": 120,
  412. "columnWidths": null,
  413. "rowHeights":null
  414. }]
  415. }
  416. }
  417. ]
  418. }
  419. ]
  420. }
  421. }
  422. },
  423. {
  424. "id": "rowHeights"
  425. },
  426. {
  427. "id": "columnWidths"
  428. },
  429. {
  430. "id": "hiddenRowsAndColumns"
  431. }
  432. ],
  433. "propertyLayoutList": [{
  434. "type": "Group",
  435. "id": "visualization",
  436. "label": "%tabName_visualization"
  437. }, {
  438. "type": "Section",
  439. "id": "colorPalette",
  440. "label": "%sectionName_colorPalette",
  441. "position": 1
  442. }, {
  443. "type": "Section",
  444. "id": "chart",
  445. "label": "%sectionName_chart",
  446. "position": 4
  447. }],
  448. "themeMapping": [],
  449. "clientSort": true,
  450. "usages": ["TablesAndSummary"],
  451. "supportsSortAction": true,
  452. "supportsContextualTopBottomAction": true,
  453. "supportsNonContextualTopBottomAction": false,
  454. "supportsFormatAction": true,
  455. "supportsCustomGroupAction": true
  456. }]
  457. }]
  458. }