livewidget_core.json 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. {
  2. "copyright": "Licensed Materials - Property of IBM. IBM Cognos Products: BI Cloud(C) Copyright IBM Corp. 2017, 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. "cssStyles": ["dashboard-analytics/css/main.css"]
  6. }, {
  7. "id": "com.ibm.bi.dashboard.widgets",
  8. "collectionItems": [{
  9. "containerId": "com.ibm.bi.dashboard.widgets",
  10. "id": "com.ibm.bi.dashboard.widgets.live",
  11. "label": "Live",
  12. "builtin": true,
  13. "ownTitle": false,
  14. "widget": "dashboard-analytics/widgets/livewidget/LiveWidget",
  15. "modelClassPath": "dashboard-analytics/widgets/livewidget/models/LiveWidgetModel",
  16. "layoutConsumeView": "dashboard/layout/views/Widget",
  17. "enableSmarts": true,
  18. "propertyList": [{
  19. "id": "fillColor",
  20. "editor": {
  21. "sectionId": "general.appearance",
  22. "uiControl": {
  23. "type": "ColorPicker",
  24. "label": "%propFillColor",
  25. "showHexValue": true,
  26. "addButton": true,
  27. "open": false,
  28. "ariaLabel": "%propFillColor",
  29. "paletteType": "DashboardColorSet"
  30. }
  31. }
  32. }, {
  33. "id": "borderColor",
  34. "defaultValue": "transparent",
  35. "editor": {
  36. "sectionId": "general.appearance",
  37. "uiControl": {
  38. "type": "ColorPicker",
  39. "showHexValue": true,
  40. "addButton": true,
  41. "label": "%propBorderColor",
  42. "open": false,
  43. "ariaLabel": "%propBorderColor",
  44. "paletteType": "DashboardColorSet"
  45. }
  46. }
  47. }, {
  48. "id": "showTitle",
  49. "defaultValue": false,
  50. "editor": {
  51. "sectionId": "general.appearance",
  52. "uiControl": {
  53. "type": "ToggleButton",
  54. "propertyType": "checkBoxOptions",
  55. "label": "%showTitleLabel",
  56. "ariaLabel": "%showTitleLabel"
  57. }
  58. }
  59. },{
  60. "id": "datagrid.viewOption",
  61. "defaultValue": "projectedAggregated"
  62. }, {
  63. "id": "queryRefresh",
  64. "defaultValue":{"autoRefresh": false, "unit": "seconds", "value": "60"},
  65. "editor": {
  66. "position": 100,
  67. "sectionId": "visualization.chart",
  68. "uiControl": {
  69. "type": "ToggledCombo",
  70. "label": "%propRefreshAutomatically",
  71. "description": "%propAutoRefreshDropdownDescription",
  72. "dropDownOptions": {
  73. "name": "unit",
  74. "options": [{
  75. "label": "%propRefreshIntervalInSeconds",
  76. "value": "seconds"
  77. }, {
  78. "label": "%propRefreshIntervalInMinutes",
  79. "value": "minutes"
  80. }, {
  81. "label": "%propRefreshIntervalInHours",
  82. "value": "hours"
  83. }]
  84. },
  85. "inputOptions": {
  86. "name": "value"
  87. },
  88. "checkBoxOptions": {
  89. "name": "autoRefresh"
  90. },
  91. "toggledComboHint": "%propInputHint"
  92. }
  93. }
  94. }, {
  95. "id": "titleMode",
  96. "editor": {
  97. "position": 100,
  98. "sectionId": "visualization.chart",
  99. "uiControl": {
  100. "type": "DropDown",
  101. "label": "%titleTypeLabel",
  102. "ariaLabel": "%titleTypeLabel",
  103. "options": [{
  104. "label": "%smartTitleLabel",
  105. "value": "smartTitle"
  106. }, {
  107. "label": "%customTitleLabel",
  108. "value": "customTitle"
  109. }, {
  110. "label": "%noTitleLabel",
  111. "value": "noTitle"
  112. }],
  113. "active": true
  114. }
  115. }
  116. }],
  117. "propertyLayoutList": [{
  118. "type": "Group",
  119. "id": "general",
  120. "label": "%tabName_general"
  121. }, {
  122. "type": "Group",
  123. "id": "visualization",
  124. "label": "%tabName_visualization"
  125. }, {
  126. "type": "Section",
  127. "id": "appearance",
  128. "label": "%sectionName_appearance"
  129. }, {
  130. "type": "Section",
  131. "id": "chart",
  132. "label": "%sectionName_chart"
  133. },
  134. {
  135. "id": "banner",
  136. "value": "%dataAssetPropertiesLabel",
  137. "name": "banner",
  138. "type": "Banner"
  139. }]
  140. }, {
  141. "containerId": "com.ibm.bi.dashboard.colorSetExtensions",
  142. "id": "com.ibm.bi.dashboard.colorSetExtensions.analyticsColorSet",
  143. "name": "analyticsColorSet",
  144. "module": "dashboard-analytics/util/AnalyticsColorSet"
  145. }]
  146. }]
  147. }