SmartsToVizMapping.js 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319
  1. 'use strict';
  2. /*
  3. *+------------------------------------------------------------------------+
  4. *| Licensed Materials - Property of IBM
  5. *| IBM Cognos Products: Dashboard
  6. *| (C) Copyright IBM Corp. 2017, 2020
  7. *|
  8. *| US Government Users Restricted Rights - Use, duplication or disclosure
  9. *| restricted by GSA ADP Schedule Contract with IBM Corp.
  10. *+------------------------------------------------------------------------+
  11. */
  12. /*
  13. * A map of Smarts VisRecommender info to Dashboard's.
  14. */
  15. define({
  16. Area: {
  17. visId: 'com.ibm.vis.rave2bundlearea',
  18. CATEGORY: 'categories',
  19. VALUE: 'values',
  20. COLOR: 'series',
  21. MATRIX_COLUMN: 'repeatHorizontal',
  22. MATRIX_ROW: 'repeatVertical'
  23. },
  24. StackedArea: {
  25. visId: 'com.ibm.vis.rave2bundlearea',
  26. CATEGORY: 'categories',
  27. VALUE: 'values',
  28. COLOR: 'series',
  29. MATRIX_COLUMN: 'repeatHorizontal',
  30. MATRIX_ROW: 'repeatVertical'
  31. },
  32. Bar: {
  33. visId: 'com.ibm.vis.rave2bundlebar',
  34. CATEGORY: 'categories',
  35. VALUE: 'values',
  36. COLOR: 'color',
  37. MATRIX_COLUMN: 'repeatHorizontal',
  38. MATRIX_ROW: 'repeatVertical',
  39. TARGET_LINE: 'target'
  40. },
  41. ClusteredBar: {
  42. visId: 'com.ibm.vis.rave2bundlebar',
  43. CATEGORY: 'categories',
  44. VALUE: 'values',
  45. COLOR: 'color',
  46. MATRIX_COLUMN: 'repeatHorizontal',
  47. MATRIX_ROW: 'repeatVertical',
  48. TARGET_LINE: 'target'
  49. },
  50. StackedBar: {
  51. visId: 'com.ibm.vis.rave2bundlestackedbar',
  52. CATEGORY: 'categories',
  53. VALUE: 'values',
  54. COLOR: 'color',
  55. MATRIX_COLUMN: 'repeatHorizontal',
  56. MATRIX_ROW: 'repeatVertical'
  57. },
  58. Bubble: {
  59. visId: 'com.ibm.vis.ravebubble',
  60. X: 'x',
  61. Y: 'y',
  62. SIZE: 'size',
  63. COLOR: 'color',
  64. POINTS: 'categories',
  65. MATRIX_COLUMN: 'repeatHorizontal',
  66. MATRIX_ROW: 'repeatVertical'
  67. },
  68. Column: {
  69. visId: 'com.ibm.vis.rave2bundlecolumn',
  70. CATEGORY: 'categories',
  71. VALUE: 'values',
  72. COLOR: 'color',
  73. MATRIX_COLUMN: 'repeatHorizontal',
  74. MATRIX_ROW: 'repeatVertical',
  75. TARGET_LINE: 'target'
  76. },
  77. ClusteredColumn: {
  78. visId: 'com.ibm.vis.rave2bundlecolumn',
  79. CATEGORY: 'categories',
  80. VALUE: 'values',
  81. COLOR: 'color',
  82. MATRIX_COLUMN: 'repeatHorizontal',
  83. MATRIX_ROW: 'repeatVertical',
  84. TARGET_LINE: 'target'
  85. },
  86. StackedColumn: {
  87. visId: 'com.ibm.vis.rave2bundlestackedcolumn',
  88. CATEGORY: 'categories',
  89. VALUE: 'values',
  90. COLOR: 'color',
  91. MATRIX_COLUMN: 'repeatHorizontal',
  92. MATRIX_ROW: 'repeatVertical'
  93. },
  94. Crosstab: {
  95. visId: 'crosstab',
  96. VALUE: 'values',
  97. COLUMN_HIERARCHY: 'column_level1',
  98. ROW_HIERARCHY: 'row_level1'
  99. },
  100. Heatmap: {
  101. visId: 'com.ibm.vis.rave2heat',
  102. ROW: 'categories',
  103. COLUMN: 'series',
  104. COLOR: 'color',
  105. SIZE: 'size',
  106. POINTS: 'points',
  107. MATRIX_COLUMN: 'repeatHorizontal',
  108. MATRIX_ROW: 'repeatVertical'
  109. },
  110. Line: {
  111. visId: 'com.ibm.vis.rave2line',
  112. CATEGORY: 'categories',
  113. VALUE: 'values',
  114. COLOR: 'series',
  115. MATRIX_COLUMN: 'repeatHorizontal',
  116. MATRIX_ROW: 'repeatVertical'
  117. },
  118. ClusteredLine: {
  119. visId: 'com.ibm.vis.rave2line',
  120. CATEGORY: 'categories',
  121. VALUE: 'values',
  122. COLOR: 'series',
  123. MATRIX_COLUMN: 'repeatHorizontal',
  124. MATRIX_ROW: 'repeatVertical'
  125. },
  126. DualAxis: {
  127. visId: 'com.ibm.vis.rave2bundlecomposite',
  128. CATEGORY: 'categories',
  129. Y1: 'lineValue',
  130. Y2: 'columnValue',
  131. MATRIX_COLUMN: 'repeatHorizontal',
  132. MATRIX_ROW: 'repeatVertical'
  133. },
  134. Tiledmap: {
  135. visId: 'com.ibm.vis.rave2bundletiledmap',
  136. REGION_LOCATION: 'locations',
  137. REGION_COLOR: 'locationColor',
  138. POINT_LOCATION: 'pointLocations',
  139. POINT_COLOR: 'pointColor',
  140. POINT_SIZE: 'pointSize',
  141. COORDINATE_LATITUDE: 'latlongLocations.latitude',
  142. COORDINATE_LONGITUDE: 'latlongLocations.longitude',
  143. COORDINATE_COLOR: 'latlongColor',
  144. COORDINATE_SIZE: 'latlongSize',
  145. COORDINATE_LABEL: 'latlongLocations.caption'
  146. },
  147. PackedBubble: {
  148. visId: 'com.ibm.vis.rave2bundlepackedbubble',
  149. CATEGORY: 'categories',
  150. COLOR: 'color',
  151. SIZE: 'size',
  152. MATRIX_COLUMN: 'repeatHorizontal',
  153. MATRIX_ROW: 'repeatVertical'
  154. },
  155. HierarchicalPackedBubble: {
  156. visId: 'com.ibm.vis.rave2bundlehierarchicalpackedbubble',
  157. HIERARCHY: 'categories',
  158. COLOR: 'color',
  159. SIZE: 'size',
  160. MATRIX_COLUMN: 'repeatHorizontal',
  161. MATRIX_ROW: 'repeatVertical'
  162. },
  163. Network: {
  164. visId: 'com.ibm.vis.rave2network',
  165. TO: 'series',
  166. FROM: 'categories',
  167. LINK_WIDTH: 'values',
  168. MATRIX_COLUMN: 'repeatHorizontal',
  169. MATRIX_ROW: 'repeatVertical'
  170. },
  171. Pie: {
  172. visId: 'com.ibm.vis.rave2bundlepie',
  173. CATEGORY: 'categories',
  174. VALUE: 'values',
  175. MATRIX_COLUMN: 'repeatHorizontal',
  176. MATRIX_ROW: 'repeatVertical'
  177. },
  178. HierarchicalPie: {
  179. visId: 'com.ibm.vis.rave2bundlepie',
  180. HIERARCHY: 'categories',
  181. VALUE: 'values',
  182. MATRIX_COLUMN: 'repeatHorizontal',
  183. MATRIX_ROW: 'repeatVertical'
  184. },
  185. Point: {
  186. visId: 'com.ibm.vis.rave2point',
  187. CATEGORY: 'categories',
  188. VALUE: 'values',
  189. COLOR: 'series',
  190. MATRIX_COLUMN: 'repeatHorizontal',
  191. MATRIX_ROW: 'repeatVertical'
  192. },
  193. ClusteredPoint: {
  194. visId: 'com.ibm.vis.rave2point',
  195. CATEGORY: 'categories',
  196. VALUE: 'values',
  197. COLOR: 'series',
  198. MATRIX_COLUMN: 'repeatHorizontal',
  199. MATRIX_ROW: 'repeatVertical'
  200. },
  201. Dial: {
  202. visId: 'com.ibm.vis.rave2bundleradialbar',
  203. CATEGORY: 'categories',
  204. VALUE: 'values',
  205. COLOR: 'color',
  206. MATRIX_COLUMN: 'repeatHorizontal',
  207. MATRIX_ROW: 'repeatVertical'
  208. },
  209. Scatter: {
  210. visId: 'com.ibm.vis.ravescatter',
  211. X: 'x',
  212. Y: 'y',
  213. COLOR: 'color',
  214. POINTS: 'categories',
  215. MATRIX_COLUMN: 'repeatHorizontal',
  216. MATRIX_ROW: 'repeatVertical'
  217. },
  218. Singleton: {
  219. visId: 'summary',
  220. VALUE: 'actual'
  221. },
  222. KPI: {
  223. visId: 'kpi',
  224. ACTUAL: 'actual',
  225. PLANNED: 'goal',
  226. CATEGORY: 'sparkline.time'
  227. },
  228. List: {
  229. visId: 'JQGrid',
  230. ANY: 'grid_cols'
  231. },
  232. Treemap: {
  233. visId: 'com.ibm.vis.rave2bundletreemap',
  234. HIERARCHY: 'categories',
  235. CATEGORY: 'categories',
  236. SIZE: 'size',
  237. COLOR: 'color',
  238. MATRIX_COLUMN: 'repeatHorizontal',
  239. MATRIX_ROW: 'repeatVertical'
  240. },
  241. Wordle: {
  242. visId: 'com.ibm.vis.rave2bundlewordcloud',
  243. CATEGORY: 'categories',
  244. SIZE: 'size',
  245. COLOR: 'color',
  246. MATRIX_COLUMN: 'repeatHorizontal',
  247. MATRIX_ROW: 'repeatVertical'
  248. },
  249. Spiral: {
  250. visId: 'com.ibm.vis.spiral',
  251. TARGET: 'values'
  252. },
  253. DriverAnalysis: {
  254. visId: 'com.ibm.vis.rave2comet',
  255. TARGET: 'values'
  256. },
  257. DecisionTree: {
  258. visId: 'com.ibm.vis.decisiontree',
  259. TARGET: 'values'
  260. },
  261. Sunburst: {
  262. visId: 'com.ibm.vis.sunburst',
  263. TARGET: 'values'
  264. },
  265. Bullet: {
  266. visId: 'com.ibm.vis.rave2bundlebullet',
  267. PLANNED: 'goal',
  268. ACTUAL: 'actual',
  269. MINIMUM: 'min',
  270. MIDDLE: 'mid',
  271. MAXIMUM: 'max',
  272. MATRIX_COLUMN: 'repeatHorizontal',
  273. MATRIX_ROW: 'repeatVertical'
  274. },
  275. Marimekko: {
  276. visId: 'com.ibm.vis.rave2marimekko',
  277. BARS: 'categories',
  278. LENGTH: 'values',
  279. WIDTH: 'width',
  280. COLOR: 'color',
  281. MATRIX_COLUMN: 'repeatHorizontal',
  282. MATRIX_ROW: 'repeatVertical'
  283. },
  284. Mentions: {
  285. visId: 'com.ibm.vis.snippetlistbundle',
  286. POSTID: 'postId',
  287. AUTHORNAME: 'authorName',
  288. AUTHORNICKNAME: 'authorNickname',
  289. AUTHORPROFILEURL: 'authorProfileUrl',
  290. AUTHORURL: 'authorProfileUrl',
  291. AUTHORAVATAR: 'authorAvatar',
  292. SITETITLE: 'siteTitle',
  293. TITLE: 'title',
  294. DATE: 'date',
  295. SOURCE: 'source',
  296. URL: 'url',
  297. CONVERSATIONSIZE: 'conversationSize',
  298. MENTIONID: 'mentionId',
  299. SNIPPET: 'snippet',
  300. SENTIMENT: 'sentiment'
  301. },
  302. ConversationCluster: {
  303. visId: 'com.ibm.vis.convoclusterbundle',
  304. CLUSTER: 'cluster',
  305. KEYWORD: 'keyword',
  306. WEIGHT: 'weight',
  307. BREAKDOWN: 'breakdown',
  308. MENTIONS: 'mentions'
  309. },
  310. Waterfall: {
  311. visId: 'com.ibm.vis.rave2bundlewaterfall',
  312. CATEGORY: 'categories',
  313. CUMULATIVE: 'values',
  314. MATRIX_COLUMN: 'repeatHorizontal',
  315. MATRIX_ROW: 'repeatVertical'
  316. }
  317. });
  318. //# sourceMappingURL=SmartsToVizMapping.js.map