BAGrid.json 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. {
  2. "copyright": "Licensed Materials - Property of IBM. IBM Cognos Products: BI Cloud(C) Copyright IBM Corp. 2017, 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": "List",
  8. "id": "JQGrid",
  9. "label": "%JQGridCaption",
  10. "caption": "%JQGridCaption",
  11. "icon": "visualizations-table",
  12. "placeholderIcon": "dashboard-analytics/images/placeholders/table.svg",
  13. "renderer": "dashboard-analytics\/visualizations\/renderer\/grid\/GridRenderer",
  14. "scope": "default",
  15. "control": "dashboard-analytics\/visualizations\/renderer\/grid\/control\/JQGrid",
  16. "supportsAdvancedProperties": true,
  17. "archetypes": ["JQGrid"],
  18. "dataRowLimit" : 10000,
  19. "dataRowLimitIE": 3000,
  20. "preferredSize": {
  21. "width": 500,
  22. "height": 420
  23. },
  24. "specification": {
  25. "template": "/visualizations/JQGrid/template"
  26. },
  27. "thumbnailConfig": {
  28. "unsupportedBrowsers": ["IE"]
  29. },
  30. "datasets": [{
  31. "name":"data"
  32. }],
  33. "dataSlots": [{
  34. "id": "grid_cols",
  35. "type": "any",
  36. "stackItems": false,
  37. "caption": "%JQGridDataSlot_grid_colsLabel",
  38. "sort": "asc",
  39. "summaries": true,
  40. "summaryValues": true,
  41. "icon": "column_heading",
  42. "repeats": true,
  43. "datasetIdList": ["data"]
  44. }, {
  45. "id": "heat",
  46. "icon": "colorBy",
  47. "stackItems": false,
  48. "type": "ordinal",
  49. "caption": "%JQGridDataSlot_colorByLabel",
  50. "sortOrder": 99,
  51. "sort": "asc",
  52. "optional": true,
  53. "maxItems" : 1,
  54. "datasetIdList": ["data"]
  55. }],
  56. "propertyPrefixes": {
  57. "dataPoint": "cellValue",
  58. "grid_cols": "columnHeading"
  59. },
  60. "propertyList":[{
  61. "id": "condColorPalette",
  62. "editor": {
  63. "sectionId": "visualization.colorPalette",
  64. "uiControl": {
  65. "linkLabel": "%prop_changeCondColorPaletteLabel",
  66. "reversePalettePropName": "condColorOrder",
  67. "paletteType": "ConditionalPalette",
  68. "type": "NewPalette",
  69. "ariaLabel": "%prop_condColorPaletteLabel",
  70. "newPaletteLabel": "%prop_newCondColorPaletteLabel",
  71. "enableReorder": true,
  72. "sectionLabel": "%prop_condColorPaletteLabel",
  73. "open": false
  74. }
  75. }
  76. }, {
  77. "id": "condColorOrder"
  78. }, {
  79. "id": "hideSummaries",
  80. "editor": {
  81. "sectionId": "visualization.chart",
  82. "uiControl": {
  83. "label": "%prop_hideSummariesLabel",
  84. "type": "ToggleButton",
  85. "ariaLabel": "%prop_hideSummariesDescription"
  86. }
  87. }
  88. }, {
  89. "id": "cellValueColor"
  90. }, {
  91. "id": "cellValueFontSize"
  92. }, {
  93. "id": "cellValueFontFace"
  94. }, {
  95. "id": "cellValueFontBold"
  96. }, {
  97. "id": "cellValueFontItalic"
  98. }, {
  99. "id": "cellValueFontUnderline"
  100. }, {
  101. "id": "cellValueFontAlign"
  102. }, {
  103. "id": "columnHeadingColor"
  104. }, {
  105. "id": "columnHeadingFontSize"
  106. }, {
  107. "id": "columnHeadingFontFace"
  108. }, {
  109. "id": "columnHeadingFontBold"
  110. }, {
  111. "id": "columnHeadingFontItalic"
  112. }, {
  113. "id": "columnHeadingFontUnderline"
  114. }, {
  115. "id": "columnHeadingFontAlign"
  116. }],
  117. "propertyLayoutList": [{
  118. "type": "Group",
  119. "id": "visualization",
  120. "label": "%tabName_visualization"
  121. }, {
  122. "type": "Section",
  123. "id": "colorPalette",
  124. "label": "%sectionName_colorPalette",
  125. "position": 1
  126. }, {
  127. "type": "Section",
  128. "id": "chart",
  129. "label": "%sectionName_chart",
  130. "position": 4
  131. }],
  132. "themeMapping": [{
  133. "id": "backgroundColor",
  134. "mapping": ["backgroundColor"]
  135. }, {
  136. "id": "contentCellBackground",
  137. "mapping": ["cellBackgroundColor"]
  138. }, {
  139. "id": "contentCellColor",
  140. "mapping": ["cellColor"]
  141. }, {
  142. "id": "headerCellBackground",
  143. "mapping": ["titleBackgroundColor"]
  144. }, {
  145. "id": "headerCellColor",
  146. "mapping": ["titleColor"]
  147. }, {
  148. "id": "font",
  149. "mapping": ["font"]
  150. }, {
  151. "id": "titleFont",
  152. "mapping": ["titlefont"]
  153. }, {
  154. "id": "border",
  155. "mapping": ["border"]
  156. }],
  157. "usages": ["TablesAndSummary"],
  158. "supportsSortAction": true,
  159. "supportsContextualTopBottomAction": true,
  160. "supportsNonContextualTopBottomAction": true,
  161. "supportsFormatAction": true,
  162. "supportsCustomGroupAction": true
  163. }]
  164. }]
  165. }