@splunk/visualizations 28.5.3 → 28.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (663) hide show
  1. package/Area/Area.d.ts.map +1 -1
  2. package/Area/areaUtils.d.ts +1 -1
  3. package/Area/areaUtils.d.ts.map +1 -1
  4. package/Area/config.d.ts.map +1 -1
  5. package/Area.config.js +93 -25
  6. package/Area.config.js.map +3 -3
  7. package/Area.js +708 -319
  8. package/Area.js.map +4 -4
  9. package/Bar/Bar.d.ts.map +1 -1
  10. package/Bar.config.js +81 -24
  11. package/Bar.config.js.map +3 -3
  12. package/Bar.js +528 -297
  13. package/Bar.js.map +4 -4
  14. package/Bubble.config.js +80 -23
  15. package/Bubble.config.js.map +2 -2
  16. package/Bubble.js +375 -208
  17. package/Bubble.js.map +4 -4
  18. package/CHANGELOG.external.md +75 -60
  19. package/ChoroplethSvg/PureChoroplethSvg/PureChoroplethSvg.d.ts +1 -0
  20. package/ChoroplethSvg/PureChoroplethSvg/PureChoroplethSvg.d.ts.map +1 -1
  21. package/ChoroplethSvg/PureChoroplethSvg/SvgChoroplethDynamic.d.ts +12 -25
  22. package/ChoroplethSvg/PureChoroplethSvg/SvgChoroplethDynamic.d.ts.map +1 -1
  23. package/ChoroplethSvg/PureChoroplethSvg/SvgMutator.d.ts +11 -4
  24. package/ChoroplethSvg/PureChoroplethSvg/SvgMutator.d.ts.map +1 -1
  25. package/ChoroplethSvg.js +1133 -253
  26. package/ChoroplethSvg.js.map +4 -4
  27. package/Column/Column.d.ts.map +1 -1
  28. package/Column.config.js +81 -24
  29. package/Column.config.js.map +3 -3
  30. package/Column.js +531 -300
  31. package/Column.js.map +4 -4
  32. package/Ellipse.config.js +1 -1
  33. package/Ellipse.config.js.map +2 -2
  34. package/Ellipse.js +277 -161
  35. package/Ellipse.js.map +4 -4
  36. package/Events/PureEvents/FieldSummaryTooltip.d.ts +8 -31
  37. package/Events/PureEvents/FieldSummaryTooltip.d.ts.map +1 -1
  38. package/Events/PureEvents/PureEvents.d.ts.map +1 -1
  39. package/Events/PureEvents/TimeControlsPopover.d.ts +6 -25
  40. package/Events/PureEvents/TimeControlsPopover.d.ts.map +1 -1
  41. package/Events/config.d.ts.map +1 -1
  42. package/Events.config.js +13 -3
  43. package/Events.config.js.map +2 -2
  44. package/Events.js +355 -293
  45. package/Events.js.map +4 -4
  46. package/FillerGauge/FillerGauge.d.ts.map +1 -1
  47. package/FillerGauge/config.d.ts.map +1 -1
  48. package/FillerGauge.config.js +76 -24
  49. package/FillerGauge.config.js.map +2 -2
  50. package/FillerGauge.js +512 -271
  51. package/FillerGauge.js.map +4 -4
  52. package/Image/config.d.ts.map +1 -1
  53. package/Image.config.js +7 -0
  54. package/Image.config.js.map +2 -2
  55. package/Image.js +282 -149
  56. package/Image.js.map +4 -4
  57. package/LICENSE +13 -0
  58. package/Line/Line.d.ts.map +1 -1
  59. package/Line/config.d.ts.map +1 -1
  60. package/Line/lineUtils.d.ts.map +1 -1
  61. package/Line/mockdata/LineData.d.ts +21 -0
  62. package/Line/mockdata/LineData.d.ts.map +1 -1
  63. package/Line.config.js +86 -25
  64. package/Line.config.js.map +3 -3
  65. package/Line.js +638 -382
  66. package/Line.js.map +4 -4
  67. package/LinkGraph/PureLinkGraph/PureLinkGraph.d.ts +47 -73
  68. package/LinkGraph/PureLinkGraph/PureLinkGraph.d.ts.map +1 -1
  69. package/LinkGraph/PureLinkGraph/PureLinkGraphUtils.d.ts +11 -2
  70. package/LinkGraph/PureLinkGraph/PureLinkGraphUtils.d.ts.map +1 -1
  71. package/LinkGraph/PureLinkGraph/components/Graph.d.ts +5 -5
  72. package/LinkGraph/PureLinkGraph/components/Node.d.ts +2 -2
  73. package/LinkGraph/PureLinkGraph/components/Nodes.d.ts +2 -2
  74. package/LinkGraph.js +886 -759
  75. package/LinkGraph.js.map +4 -4
  76. package/Map/Map.d.ts +1 -0
  77. package/Map/Map.d.ts.map +1 -1
  78. package/Map/PureMap/BubbleLayer.d.ts +22 -4
  79. package/Map/PureMap/BubbleLayer.d.ts.map +1 -1
  80. package/Map/PureMap/ChoroplethLayer.d.ts +9 -1
  81. package/Map/PureMap/ChoroplethLayer.d.ts.map +1 -1
  82. package/Map/PureMap/ClusterLayer.d.ts +3 -1
  83. package/Map/PureMap/ClusterLayer.d.ts.map +1 -1
  84. package/Map/PureMap/LocalChoroplethLayer.d.ts +1 -0
  85. package/Map/PureMap/LocalChoroplethLayer.d.ts.map +1 -1
  86. package/Map/PureMap/MapContext.d.ts +13 -0
  87. package/Map/PureMap/MapContext.d.ts.map +1 -0
  88. package/Map/PureMap/MarkerLayer.d.ts +19 -2
  89. package/Map/PureMap/MarkerLayer.d.ts.map +1 -1
  90. package/Map/PureMap/MarkerWrapper.d.ts +3 -2
  91. package/Map/PureMap/MarkerWrapper.d.ts.map +1 -1
  92. package/Map/PureMap/PureMap.d.ts +1 -0
  93. package/Map/PureMap/PureMap.d.ts.map +1 -1
  94. package/Map/PureMap/PureMapContainer.d.ts.map +1 -1
  95. package/Map/PureMap/Tooltip.d.ts +6 -1
  96. package/Map/PureMap/Tooltip.d.ts.map +1 -1
  97. package/Map/PureMap/keyboardConstants.d.ts +11 -0
  98. package/Map/PureMap/keyboardConstants.d.ts.map +1 -0
  99. package/Map/PureMap/useRovingTabindex.d.ts +18 -0
  100. package/Map/PureMap/useRovingTabindex.d.ts.map +1 -0
  101. package/Map/config.d.ts.map +1 -1
  102. package/Map.config.js +4 -1
  103. package/Map.config.js.map +2 -2
  104. package/Map.js +1594 -628
  105. package/Map.js.map +4 -4
  106. package/Markdown/Markdown.d.ts.map +1 -1
  107. package/Markdown.config.js.map +1 -1
  108. package/Markdown.js +304 -161
  109. package/Markdown.js.map +4 -4
  110. package/MarkerGauge/MarkerGauge.d.ts +1 -47
  111. package/MarkerGauge/MarkerGauge.d.ts.map +1 -1
  112. package/MarkerGauge/PureMarkerGauge/MarkerGauge.d.ts +22 -68
  113. package/MarkerGauge/PureMarkerGauge/MarkerGauge.d.ts.map +1 -1
  114. package/MarkerGauge/config.d.ts.map +1 -1
  115. package/MarkerGauge.config.js +75 -23
  116. package/MarkerGauge.config.js.map +2 -2
  117. package/MarkerGauge.js +560 -375
  118. package/MarkerGauge.js.map +4 -4
  119. package/NetworkGraph/NetworkGraph.d.ts +2 -5
  120. package/NetworkGraph/NetworkGraph.d.ts.map +1 -1
  121. package/NetworkGraph/PureNetworkGraph/PureNetworkGraph.d.ts.map +1 -1
  122. package/NetworkGraph/PureNetworkGraph/components/NetworkGraphSvg.d.ts +1 -0
  123. package/NetworkGraph/PureNetworkGraph/components/NetworkGraphSvg.d.ts.map +1 -1
  124. package/NetworkGraph/PureNetworkGraph/components/Node.d.ts +1 -0
  125. package/NetworkGraph/PureNetworkGraph/components/Node.d.ts.map +1 -1
  126. package/NetworkGraph/PureNetworkGraph/components/Tooltip.d.ts +1 -1
  127. package/NetworkGraph/PureNetworkGraph/components/Tooltip.d.ts.map +1 -1
  128. package/NetworkGraph/PureNetworkGraph/components/ZoomControls.d.ts +1 -0
  129. package/NetworkGraph/PureNetworkGraph/components/ZoomControls.d.ts.map +1 -1
  130. package/NetworkGraph/PureNetworkGraph/utils/networkGraphUtils.d.ts +23 -0
  131. package/NetworkGraph/PureNetworkGraph/utils/networkGraphUtils.d.ts.map +1 -1
  132. package/NetworkGraph.config.js +2 -0
  133. package/NetworkGraph.config.js.map +2 -2
  134. package/NetworkGraph.js +895 -455
  135. package/NetworkGraph.js.map +4 -4
  136. package/ParallelCoordinates.config.js.map +1 -1
  137. package/ParallelCoordinates.js +288 -172
  138. package/ParallelCoordinates.js.map +4 -4
  139. package/Pie/Pie.d.ts.map +1 -1
  140. package/Pie/pieUtils.d.ts +2 -2
  141. package/Pie.config.js +74 -22
  142. package/Pie.config.js.map +2 -2
  143. package/Pie.js +522 -296
  144. package/Pie.js.map +4 -4
  145. package/ProcessTree/ProcessTree.d.ts +23 -0
  146. package/ProcessTree/ProcessTree.d.ts.map +1 -0
  147. package/ProcessTree/PureProcessTree/PureProcessTree.d.ts +33 -0
  148. package/ProcessTree/PureProcessTree/PureProcessTree.d.ts.map +1 -0
  149. package/ProcessTree/PureProcessTree/components/DirectionalBytes.d.ts +8 -0
  150. package/ProcessTree/PureProcessTree/components/DirectionalBytes.d.ts.map +1 -0
  151. package/ProcessTree/PureProcessTree/components/ProcessTreeLeftPanel.d.ts +46 -0
  152. package/ProcessTree/PureProcessTree/components/ProcessTreeLeftPanel.d.ts.map +1 -0
  153. package/ProcessTree/PureProcessTree/components/ProcessTreeRightPanel.d.ts +20 -0
  154. package/ProcessTree/PureProcessTree/components/ProcessTreeRightPanel.d.ts.map +1 -0
  155. package/ProcessTree/PureProcessTree/hooks/useProcessTreeExpansionState.d.ts +20 -0
  156. package/ProcessTree/PureProcessTree/hooks/useProcessTreeExpansionState.d.ts.map +1 -0
  157. package/ProcessTree/PureProcessTree/hooks/useProcessTreeGraphData.d.ts +46 -0
  158. package/ProcessTree/PureProcessTree/hooks/useProcessTreeGraphData.d.ts.map +1 -0
  159. package/ProcessTree/PureProcessTree/hooks/useProcessTreeLinkOverlay.d.ts +23 -0
  160. package/ProcessTree/PureProcessTree/hooks/useProcessTreeLinkOverlay.d.ts.map +1 -0
  161. package/ProcessTree/PureProcessTree/mockdata/data.d.ts +235 -0
  162. package/ProcessTree/PureProcessTree/mockdata/data.d.ts.map +1 -0
  163. package/ProcessTree/PureProcessTree/utils/iconLoader.d.ts +9 -0
  164. package/ProcessTree/PureProcessTree/utils/iconLoader.d.ts.map +1 -0
  165. package/ProcessTree/PureProcessTree/utils/processTreeLinkOverlayUtils.d.ts +36 -0
  166. package/ProcessTree/PureProcessTree/utils/processTreeLinkOverlayUtils.d.ts.map +1 -0
  167. package/ProcessTree/PureProcessTree/utils/processTreeUtils.d.ts +82 -0
  168. package/ProcessTree/PureProcessTree/utils/processTreeUtils.d.ts.map +1 -0
  169. package/ProcessTree/config.d.ts +4 -0
  170. package/ProcessTree/config.d.ts.map +1 -0
  171. package/ProcessTree/index.d.ts +3 -0
  172. package/ProcessTree/index.d.ts.map +1 -0
  173. package/ProcessTree.config.js +192 -0
  174. package/ProcessTree.config.js.map +7 -0
  175. package/ProcessTree.js +5128 -0
  176. package/ProcessTree.js.map +7 -0
  177. package/Punchcard/Punchcard.d.ts +1 -5
  178. package/Punchcard/Punchcard.d.ts.map +1 -1
  179. package/Punchcard/PurePunchcard/Punchcard.d.ts +28 -32
  180. package/Punchcard/PurePunchcard/Punchcard.d.ts.map +1 -1
  181. package/Punchcard/PurePunchcard/src/PunchcardAxis.d.ts +7 -12
  182. package/Punchcard/PurePunchcard/src/PunchcardAxis.d.ts.map +1 -1
  183. package/Punchcard/PurePunchcard/src/PunchcardBubble.d.ts +14 -19
  184. package/Punchcard/PurePunchcard/src/PunchcardBubble.d.ts.map +1 -1
  185. package/Punchcard/PurePunchcard/src/PunchcardChartArea.d.ts +22 -27
  186. package/Punchcard/PurePunchcard/src/PunchcardChartArea.d.ts.map +1 -1
  187. package/Punchcard/PurePunchcard/src/PunchcardGridLines.d.ts +3 -8
  188. package/Punchcard/PurePunchcard/src/PunchcardGridLines.d.ts.map +1 -1
  189. package/Punchcard/PurePunchcard/src/PunchcardLegend.d.ts +9 -14
  190. package/Punchcard/PurePunchcard/src/PunchcardLegend.d.ts.map +1 -1
  191. package/Punchcard/PurePunchcard/src/PunchcardRow.d.ts.map +1 -1
  192. package/Punchcard.config.js.map +1 -1
  193. package/Punchcard.js +444 -631
  194. package/Punchcard.js.map +4 -4
  195. package/README.md +2 -0
  196. package/Rectangle.config.js +1 -1
  197. package/Rectangle.config.js.map +2 -2
  198. package/Rectangle.js +289 -173
  199. package/Rectangle.js.map +4 -4
  200. package/RichText/PureRichText/Editor/EditorPanel.d.ts +20 -0
  201. package/RichText/PureRichText/Editor/EditorPanel.d.ts.map +1 -0
  202. package/RichText/PureRichText/Editor/EditorPanelStyles.d.ts +17 -0
  203. package/RichText/PureRichText/Editor/EditorPanelStyles.d.ts.map +1 -0
  204. package/RichText/PureRichText/Editor/FontSelector.d.ts +15 -0
  205. package/RichText/PureRichText/Editor/FontSelector.d.ts.map +1 -0
  206. package/RichText/PureRichText/Editor/FormatButton.d.ts +23 -0
  207. package/RichText/PureRichText/Editor/FormatButton.d.ts.map +1 -0
  208. package/RichText/PureRichText/Editor/editorPanelUtils.d.ts +19 -0
  209. package/RichText/PureRichText/Editor/editorPanelUtils.d.ts.map +1 -0
  210. package/RichText/PureRichText/Editor/hooks/useLineSpacing.d.ts +11 -0
  211. package/RichText/PureRichText/Editor/hooks/useLineSpacing.d.ts.map +1 -0
  212. package/RichText/PureRichText/Editor/hooks/useLinkHandlers.d.ts +26 -0
  213. package/RichText/PureRichText/Editor/hooks/useLinkHandlers.d.ts.map +1 -0
  214. package/RichText/PureRichText/Editor/index.d.ts +9 -0
  215. package/RichText/PureRichText/Editor/index.d.ts.map +1 -0
  216. package/RichText/PureRichText/InnerEditor.d.ts +41 -0
  217. package/RichText/PureRichText/InnerEditor.d.ts.map +1 -0
  218. package/RichText/PureRichText/PureRichText.d.ts +19 -0
  219. package/RichText/PureRichText/PureRichText.d.ts.map +1 -0
  220. package/RichText/PureRichText/PureRichTextContext.d.ts +64 -0
  221. package/RichText/PureRichText/PureRichTextContext.d.ts.map +1 -0
  222. package/RichText/PureRichText/RichTextStyles.d.ts +25 -0
  223. package/RichText/PureRichText/RichTextStyles.d.ts.map +1 -0
  224. package/RichText/PureRichText/activeInstance.d.ts +23 -0
  225. package/RichText/PureRichText/activeInstance.d.ts.map +1 -0
  226. package/RichText/PureRichText/config.d.ts +17 -0
  227. package/RichText/PureRichText/config.d.ts.map +1 -0
  228. package/RichText/PureRichText/hooks/index.d.ts +12 -0
  229. package/RichText/PureRichText/hooks/index.d.ts.map +1 -0
  230. package/RichText/PureRichText/hooks/useContentSave.d.ts +25 -0
  231. package/RichText/PureRichText/hooks/useContentSave.d.ts.map +1 -0
  232. package/RichText/PureRichText/hooks/useContentSync.d.ts +28 -0
  233. package/RichText/PureRichText/hooks/useContentSync.d.ts.map +1 -0
  234. package/RichText/PureRichText/hooks/useDashboardKeyboardNav.d.ts +33 -0
  235. package/RichText/PureRichText/hooks/useDashboardKeyboardNav.d.ts.map +1 -0
  236. package/RichText/PureRichText/hooks/useEditModeEffect.d.ts +10 -0
  237. package/RichText/PureRichText/hooks/useEditModeEffect.d.ts.map +1 -0
  238. package/RichText/PureRichText/hooks/useEditorSetup.d.ts +36 -0
  239. package/RichText/PureRichText/hooks/useEditorSetup.d.ts.map +1 -0
  240. package/RichText/PureRichText/hooks/useFakeHighlight.d.ts +33 -0
  241. package/RichText/PureRichText/hooks/useFakeHighlight.d.ts.map +1 -0
  242. package/RichText/PureRichText/hooks/useFocusHandlers.d.ts +35 -0
  243. package/RichText/PureRichText/hooks/useFocusHandlers.d.ts.map +1 -0
  244. package/RichText/PureRichText/hooks/useKeyboardShortcuts.d.ts +18 -0
  245. package/RichText/PureRichText/hooks/useKeyboardShortcuts.d.ts.map +1 -0
  246. package/RichText/PureRichText/hooks/useMouseHandlers.d.ts +24 -0
  247. package/RichText/PureRichText/hooks/useMouseHandlers.d.ts.map +1 -0
  248. package/RichText/PureRichText/hooks/useRichTextState.d.ts +38 -0
  249. package/RichText/PureRichText/hooks/useRichTextState.d.ts.map +1 -0
  250. package/RichText/PureRichText/hooks/useStepFontSize.d.ts +17 -0
  251. package/RichText/PureRichText/hooks/useStepFontSize.d.ts.map +1 -0
  252. package/RichText/PureRichText/hooks/useStepLineSpacing.d.ts +18 -0
  253. package/RichText/PureRichText/hooks/useStepLineSpacing.d.ts.map +1 -0
  254. package/RichText/PureRichText/hooks/useTokenMap.d.ts +45 -0
  255. package/RichText/PureRichText/hooks/useTokenMap.d.ts.map +1 -0
  256. package/RichText/PureRichText/index.d.ts +16 -0
  257. package/RichText/PureRichText/index.d.ts.map +1 -0
  258. package/RichText/PureRichText/renderers/ElementRenderer.d.ts +8 -0
  259. package/RichText/PureRichText/renderers/ElementRenderer.d.ts.map +1 -0
  260. package/RichText/PureRichText/renderers/LeafRenderer.d.ts +8 -0
  261. package/RichText/PureRichText/renderers/LeafRenderer.d.ts.map +1 -0
  262. package/RichText/PureRichText/types.d.ts +111 -0
  263. package/RichText/PureRichText/types.d.ts.map +1 -0
  264. package/RichText/PureRichText/utils/a11yUtils.d.ts +9 -0
  265. package/RichText/PureRichText/utils/a11yUtils.d.ts.map +1 -0
  266. package/RichText/PureRichText/utils/fontSize.d.ts +6 -0
  267. package/RichText/PureRichText/utils/fontSize.d.ts.map +1 -0
  268. package/RichText/PureRichText/utils/slateUtils.d.ts +99 -0
  269. package/RichText/PureRichText/utils/slateUtils.d.ts.map +1 -0
  270. package/RichText/RichText.d.ts +17 -0
  271. package/RichText/RichText.d.ts.map +1 -0
  272. package/RichText/config.d.ts +4 -0
  273. package/RichText/config.d.ts.map +1 -0
  274. package/RichText/index.d.ts +7 -0
  275. package/RichText/index.d.ts.map +1 -0
  276. package/RichText.config.js +268 -0
  277. package/RichText.config.js.map +7 -0
  278. package/RichText.js +7674 -0
  279. package/RichText.js.map +7 -0
  280. package/Sankey/PureSankey/PureSankey.d.ts.map +1 -1
  281. package/Sankey/PureSankey/SankeyLink.d.ts.map +1 -1
  282. package/Sankey/PureSankey/SankeyNode.d.ts +10 -3
  283. package/Sankey/PureSankey/SankeyNode.d.ts.map +1 -1
  284. package/Sankey/PureSankey/SankeyTooltip.d.ts.map +1 -1
  285. package/Sankey/PureSankey/SankeyUtils.d.ts +10 -0
  286. package/Sankey/PureSankey/SankeyUtils.d.ts.map +1 -1
  287. package/Sankey.config.js.map +1 -1
  288. package/Sankey.js +562 -290
  289. package/Sankey.js.map +4 -4
  290. package/Scatter/Scatter.d.ts.map +1 -1
  291. package/Scatter.config.js +81 -24
  292. package/Scatter.config.js.map +3 -3
  293. package/Scatter.js +528 -297
  294. package/Scatter.js.map +4 -4
  295. package/SingleValue/SingleValue.d.ts.map +1 -1
  296. package/SingleValue/config.d.ts.map +1 -1
  297. package/SingleValue.config.js +76 -24
  298. package/SingleValue.config.js.map +2 -2
  299. package/SingleValue.js +896 -779
  300. package/SingleValue.js.map +4 -4
  301. package/SingleValueBasic.js.map +1 -1
  302. package/SingleValueIcon/SingleValueIcon.d.ts.map +1 -1
  303. package/SingleValueIcon/config.d.ts.map +1 -1
  304. package/SingleValueIcon.config.js +76 -24
  305. package/SingleValueIcon.config.js.map +2 -2
  306. package/SingleValueIcon.js +512 -287
  307. package/SingleValueIcon.js.map +4 -4
  308. package/SingleValueRadial/PureSingleValueRadial/utils/gaugeUtils.d.ts +0 -8
  309. package/SingleValueRadial/PureSingleValueRadial/utils/gaugeUtils.d.ts.map +1 -1
  310. package/SingleValueRadial/SingleValueRadial.d.ts.map +1 -1
  311. package/SingleValueRadial/config.d.ts.map +1 -1
  312. package/SingleValueRadial.config.js +76 -24
  313. package/SingleValueRadial.config.js.map +2 -2
  314. package/SingleValueRadial.js +543 -326
  315. package/SingleValueRadial.js.map +4 -4
  316. package/SparkLine/SparkLine.d.ts +57 -0
  317. package/SparkLine/SparkLine.d.ts.map +1 -0
  318. package/SparkLine/index.d.ts +1 -1
  319. package/SparkLine/index.d.ts.map +1 -1
  320. package/SparkLine.js +384 -485
  321. package/SparkLine.js.map +4 -4
  322. package/TRELLIS.md +48 -0
  323. package/Table/PureTable.d.ts +1 -0
  324. package/Table/PureTable.d.ts.map +1 -1
  325. package/Table/Table.d.ts.map +1 -1
  326. package/Table/cells/ArrayCell.d.ts.map +1 -1
  327. package/Table/config.d.ts.map +1 -1
  328. package/Table/hooks.d.ts +1 -1
  329. package/Table/hooks.d.ts.map +1 -1
  330. package/Table/tableUtils.d.ts +14 -0
  331. package/Table/tableUtils.d.ts.map +1 -0
  332. package/Table.config.js +4 -10
  333. package/Table.config.js.map +2 -2
  334. package/Table.js +1158 -846
  335. package/Table.js.map +4 -4
  336. package/Timeline/PureTimeline/src/TimelineYAxis.d.ts.map +1 -1
  337. package/Timeline/PureTimeline/src/utils/timelineUtils.d.ts +5 -0
  338. package/Timeline/PureTimeline/src/utils/timelineUtils.d.ts.map +1 -1
  339. package/Timeline/Timeline.d.ts +2 -0
  340. package/Timeline/Timeline.d.ts.map +1 -1
  341. package/Timeline/config.d.ts.map +1 -1
  342. package/Timeline/mockdata/timelineDataSource.d.ts +34 -0
  343. package/Timeline/mockdata/timelineDataSource.d.ts.map +1 -1
  344. package/Timeline.config.js +15 -0
  345. package/Timeline.config.js.map +2 -2
  346. package/Timeline.js +348 -186
  347. package/Timeline.js.map +4 -4
  348. package/common/Charting.d.ts.map +1 -1
  349. package/common/Charting.js +50 -28
  350. package/common/Charting.js.map +2 -2
  351. package/common/ChartingApi.d.ts +1 -1
  352. package/common/ChartingApi.d.ts.map +1 -1
  353. package/common/ChartingApi.js.map +2 -2
  354. package/common/DocExampleWithVizSandbox.js.map +1 -1
  355. package/common/OptionsDoc.js.map +1 -1
  356. package/common/OverviewDoc.js.map +1 -1
  357. package/common/SplunkVisualization.d.ts +1 -1
  358. package/common/SplunkVisualization.d.ts.map +1 -1
  359. package/common/SplunkVisualization.js +6 -4
  360. package/common/SplunkVisualization.js.map +2 -2
  361. package/common/StyledSkipLink.d.ts +2 -0
  362. package/common/StyledSkipLink.d.ts.map +1 -0
  363. package/common/StyledSkipLink.js +81 -0
  364. package/common/StyledSkipLink.js.map +7 -0
  365. package/common/TimeSeriesChartWrapper.d.ts.map +1 -1
  366. package/common/TimeSeriesChartWrapper.js +228 -107
  367. package/common/TimeSeriesChartWrapper.js.map +4 -4
  368. package/common/chartingUtils.d.ts +32 -6
  369. package/common/chartingUtils.d.ts.map +1 -1
  370. package/common/chartingUtils.js +166 -39
  371. package/common/chartingUtils.js.map +4 -4
  372. package/common/components/TrellisTitle.d.ts.map +1 -1
  373. package/common/docUtils.js +1 -1
  374. package/common/docUtils.js.map +2 -2
  375. package/common/editorConfig/AxesChartDataDisplay.d.ts.map +1 -1
  376. package/common/editorConfig/AxesChartYGridAndLabels.d.ts.map +1 -1
  377. package/common/editorConfig/BackgroundColor.d.ts +2 -2
  378. package/common/editorConfig/TrellisEditors.d.ts +33 -5
  379. package/common/editorConfig/TrellisEditors.d.ts.map +1 -1
  380. package/common/hocs/mockdata/trellisData.d.ts +54 -0
  381. package/common/hocs/mockdata/trellisData.d.ts.map +1 -1
  382. package/common/hocs/withTrellis.d.ts +9 -0
  383. package/common/hocs/withTrellis.d.ts.map +1 -1
  384. package/common/hooks/useSorting.d.ts +2 -2
  385. package/common/hooks/useSorting.d.ts.map +1 -1
  386. package/common/shapeUtils.d.ts +1 -1
  387. package/common/shapeUtils.d.ts.map +1 -1
  388. package/common/shapeUtils.js.map +2 -2
  389. package/common/utils/dataUtils.js +2 -1
  390. package/common/utils/dataUtils.js.map +2 -2
  391. package/common/utils/focusUtils.d.ts +4 -0
  392. package/common/utils/focusUtils.d.ts.map +1 -0
  393. package/common/utils/focusUtils.js +101 -0
  394. package/common/utils/focusUtils.js.map +7 -0
  395. package/common/utils/mapUtils.js +513 -184
  396. package/common/utils/mapUtils.js.map +4 -4
  397. package/common/utils/shadowDomUtils.d.ts +2 -0
  398. package/common/utils/shadowDomUtils.d.ts.map +1 -0
  399. package/common/utils/shadowDomUtils.js +39 -0
  400. package/common/utils/shadowDomUtils.js.map +7 -0
  401. package/common/utils/singleValueUtils.js +14 -26
  402. package/common/utils/singleValueUtils.js.map +2 -2
  403. package/common/utils/trellisUtils.d.ts.map +1 -1
  404. package/common/utils/trellisUtils.js +76 -70
  405. package/common/utils/trellisUtils.js.map +2 -2
  406. package/common/withDashboardViz.d.ts.map +1 -1
  407. package/common/withDashboardViz.js +276 -151
  408. package/common/withDashboardViz.js.map +4 -4
  409. package/docs-llm/INDEX.md +118 -0
  410. package/docs-llm/area/examples-json.md +3854 -0
  411. package/docs-llm/area/examples-react.md +2816 -0
  412. package/docs-llm/area/options.md +97 -0
  413. package/docs-llm/area/overview.md +27 -0
  414. package/docs-llm/bar/examples-json.md +3380 -0
  415. package/docs-llm/bar/examples-react.md +2352 -0
  416. package/docs-llm/bar/options.md +89 -0
  417. package/docs-llm/bar/overview.md +25 -0
  418. package/docs-llm/bubble/examples-json.md +4082 -0
  419. package/docs-llm/bubble/examples-react.md +3977 -0
  420. package/docs-llm/bubble/options.md +62 -0
  421. package/docs-llm/bubble/overview.md +26 -0
  422. package/docs-llm/choropleth-svg/examples-json.md +397 -0
  423. package/docs-llm/choropleth-svg/examples-react.md +389 -0
  424. package/docs-llm/choropleth-svg/options.md +15 -0
  425. package/docs-llm/choropleth-svg/overview.md +23 -0
  426. package/docs-llm/column/examples-json.md +3898 -0
  427. package/docs-llm/column/examples-react.md +2653 -0
  428. package/docs-llm/column/options.md +94 -0
  429. package/docs-llm/column/overview.md +31 -0
  430. package/docs-llm/dsl/examples-json.md +43 -0
  431. package/docs-llm/dsl/examples-react.md +78 -0
  432. package/docs-llm/dsl/formatters/format-by-type-examples-json.md +58 -0
  433. package/docs-llm/dsl/formatters/format-by-type-examples-react.md +43 -0
  434. package/docs-llm/dsl/formatters/format-by-type.md +38 -0
  435. package/docs-llm/dsl/formatters/frame-examples-json.md +42 -0
  436. package/docs-llm/dsl/formatters/frame-examples-react.md +24 -0
  437. package/docs-llm/dsl/formatters/frame.md +6 -0
  438. package/docs-llm/dsl/formatters/gradient-examples-json.md +98 -0
  439. package/docs-llm/dsl/formatters/gradient-examples-react.md +44 -0
  440. package/docs-llm/dsl/formatters/gradient.md +23 -0
  441. package/docs-llm/dsl/formatters/lerp-examples-json.md +40 -0
  442. package/docs-llm/dsl/formatters/lerp-examples-react.md +28 -0
  443. package/docs-llm/dsl/formatters/lerp.md +19 -0
  444. package/docs-llm/dsl/formatters/match-value-examples-json.md +65 -0
  445. package/docs-llm/dsl/formatters/match-value-examples-react.md +37 -0
  446. package/docs-llm/dsl/formatters/match-value.md +13 -0
  447. package/docs-llm/dsl/formatters/max-contrast-examples-json.md +39 -0
  448. package/docs-llm/dsl/formatters/max-contrast-examples-react.md +27 -0
  449. package/docs-llm/dsl/formatters/max-contrast.md +9 -0
  450. package/docs-llm/dsl/formatters/multi-format-examples-json.md +67 -0
  451. package/docs-llm/dsl/formatters/multi-format-examples-react.md +49 -0
  452. package/docs-llm/dsl/formatters/multi-format.md +12 -0
  453. package/docs-llm/dsl/formatters/objects-examples-json.md +49 -0
  454. package/docs-llm/dsl/formatters/objects-examples-react.md +37 -0
  455. package/docs-llm/dsl/formatters/objects.md +3 -0
  456. package/docs-llm/dsl/formatters/pick-examples-json.md +59 -0
  457. package/docs-llm/dsl/formatters/pick-examples-react.md +30 -0
  458. package/docs-llm/dsl/formatters/pick.md +9 -0
  459. package/docs-llm/dsl/formatters/prefix-examples-json.md +29 -0
  460. package/docs-llm/dsl/formatters/prefix-examples-react.md +19 -0
  461. package/docs-llm/dsl/formatters/prefix.md +3 -0
  462. package/docs-llm/dsl/formatters/prepend-examples-json.md +51 -0
  463. package/docs-llm/dsl/formatters/prepend-examples-react.md +33 -0
  464. package/docs-llm/dsl/formatters/prepend.md +9 -0
  465. package/docs-llm/dsl/formatters/range-value-examples-json.md +48 -0
  466. package/docs-llm/dsl/formatters/range-value-examples-react.md +34 -0
  467. package/docs-llm/dsl/formatters/range-value.md +15 -0
  468. package/docs-llm/dsl/formatters/set-color-channel-examples-json.md +40 -0
  469. package/docs-llm/dsl/formatters/set-color-channel-examples-react.md +31 -0
  470. package/docs-llm/dsl/formatters/set-color-channel.md +9 -0
  471. package/docs-llm/dsl/formatters/suffix-examples-json.md +29 -0
  472. package/docs-llm/dsl/formatters/suffix-examples-react.md +19 -0
  473. package/docs-llm/dsl/formatters/suffix.md +3 -0
  474. package/docs-llm/dsl/formatters/type-examples-json.md +37 -0
  475. package/docs-llm/dsl/formatters/type-examples-react.md +20 -0
  476. package/docs-llm/dsl/formatters/type.md +3 -0
  477. package/docs-llm/dsl/overview.md +41 -0
  478. package/docs-llm/dsl/selectors/abs.md +7 -0
  479. package/docs-llm/dsl/selectors/ceil.md +7 -0
  480. package/docs-llm/dsl/selectors/data-frame-average-examples-json.md +41 -0
  481. package/docs-llm/dsl/selectors/data-frame-average-examples-react.md +36 -0
  482. package/docs-llm/dsl/selectors/data-frame-average.md +7 -0
  483. package/docs-llm/dsl/selectors/data-frame-count-examples-json.md +41 -0
  484. package/docs-llm/dsl/selectors/data-frame-count-examples-react.md +36 -0
  485. package/docs-llm/dsl/selectors/data-frame-count.md +7 -0
  486. package/docs-llm/dsl/selectors/data-frame-examples-json.md +830 -0
  487. package/docs-llm/dsl/selectors/data-frame-examples-react.md +929 -0
  488. package/docs-llm/dsl/selectors/data-frame-get-field-examples-json.md +89 -0
  489. package/docs-llm/dsl/selectors/data-frame-get-field-examples-react.md +124 -0
  490. package/docs-llm/dsl/selectors/data-frame-get-field.md +5 -0
  491. package/docs-llm/dsl/selectors/data-frame-get-raw-value.md +5 -0
  492. package/docs-llm/dsl/selectors/data-frame-get-type.md +5 -0
  493. package/docs-llm/dsl/selectors/data-frame-get-value.md +5 -0
  494. package/docs-llm/dsl/selectors/data-frame-max-examples-json.md +51 -0
  495. package/docs-llm/dsl/selectors/data-frame-max-examples-react.md +41 -0
  496. package/docs-llm/dsl/selectors/data-frame-max.md +7 -0
  497. package/docs-llm/dsl/selectors/data-frame-min-examples-json.md +51 -0
  498. package/docs-llm/dsl/selectors/data-frame-min-examples-react.md +41 -0
  499. package/docs-llm/dsl/selectors/data-frame-min.md +7 -0
  500. package/docs-llm/dsl/selectors/data-frame-percentile-examples-json.md +41 -0
  501. package/docs-llm/dsl/selectors/data-frame-percentile-examples-react.md +36 -0
  502. package/docs-llm/dsl/selectors/data-frame-percentile.md +8 -0
  503. package/docs-llm/dsl/selectors/data-frame-set-value.md +5 -0
  504. package/docs-llm/dsl/selectors/data-frame-sum-examples-json.md +51 -0
  505. package/docs-llm/dsl/selectors/data-frame-sum-examples-react.md +41 -0
  506. package/docs-llm/dsl/selectors/data-frame-sum.md +7 -0
  507. package/docs-llm/dsl/selectors/data-frame.md +4 -0
  508. package/docs-llm/dsl/selectors/data-point-get-field.md +5 -0
  509. package/docs-llm/dsl/selectors/data-point-get-raw-value.md +4 -0
  510. package/docs-llm/dsl/selectors/data-point-get-type.md +5 -0
  511. package/docs-llm/dsl/selectors/data-point-get-value.md +5 -0
  512. package/docs-llm/dsl/selectors/data-point-set-value.md +4 -0
  513. package/docs-llm/dsl/selectors/data-point.md +5 -0
  514. package/docs-llm/dsl/selectors/data-series-average.md +22 -0
  515. package/docs-llm/dsl/selectors/data-series-count.md +14 -0
  516. package/docs-llm/dsl/selectors/data-series-get-field.md +5 -0
  517. package/docs-llm/dsl/selectors/data-series-get-raw-value.md +4 -0
  518. package/docs-llm/dsl/selectors/data-series-get-type.md +5 -0
  519. package/docs-llm/dsl/selectors/data-series-get-value.md +4 -0
  520. package/docs-llm/dsl/selectors/data-series-max.md +5 -0
  521. package/docs-llm/dsl/selectors/data-series-min.md +5 -0
  522. package/docs-llm/dsl/selectors/data-series-percentile.md +17 -0
  523. package/docs-llm/dsl/selectors/data-series-set-value.md +4 -0
  524. package/docs-llm/dsl/selectors/data-series-sum.md +24 -0
  525. package/docs-llm/dsl/selectors/data-series.md +4 -0
  526. package/docs-llm/dsl/selectors/delta.md +7 -0
  527. package/docs-llm/dsl/selectors/divide.md +8 -0
  528. package/docs-llm/dsl/selectors/first-point.md +5 -0
  529. package/docs-llm/dsl/selectors/floor.md +7 -0
  530. package/docs-llm/dsl/selectors/frame-by-series-index-range-examples-json.md +89 -0
  531. package/docs-llm/dsl/selectors/frame-by-series-index-range-examples-react.md +88 -0
  532. package/docs-llm/dsl/selectors/frame-by-series-index-range.md +10 -0
  533. package/docs-llm/dsl/selectors/frame-by-series-indexes-examples-json.md +88 -0
  534. package/docs-llm/dsl/selectors/frame-by-series-indexes-examples-react.md +87 -0
  535. package/docs-llm/dsl/selectors/frame-by-series-indexes.md +9 -0
  536. package/docs-llm/dsl/selectors/frame-by-series-names-examples-json.md +89 -0
  537. package/docs-llm/dsl/selectors/frame-by-series-names-examples-react.md +88 -0
  538. package/docs-llm/dsl/selectors/frame-by-series-names-or-indexes-examples-json.md +89 -0
  539. package/docs-llm/dsl/selectors/frame-by-series-names-or-indexes-examples-react.md +88 -0
  540. package/docs-llm/dsl/selectors/frame-by-series-names-or-indexes.md +9 -0
  541. package/docs-llm/dsl/selectors/frame-by-series-names.md +9 -0
  542. package/docs-llm/dsl/selectors/frame-by-series-types-examples-json.md +89 -0
  543. package/docs-llm/dsl/selectors/frame-by-series-types-examples-react.md +88 -0
  544. package/docs-llm/dsl/selectors/frame-by-series-types.md +9 -0
  545. package/docs-llm/dsl/selectors/frame-without-internal-fields-examples-json.md +137 -0
  546. package/docs-llm/dsl/selectors/frame-without-internal-fields-examples-react.md +135 -0
  547. package/docs-llm/dsl/selectors/frame-without-internal-fields-except-examples-json.md +157 -0
  548. package/docs-llm/dsl/selectors/frame-without-internal-fields-except-examples-react.md +155 -0
  549. package/docs-llm/dsl/selectors/frame-without-internal-fields-except.md +21 -0
  550. package/docs-llm/dsl/selectors/frame-without-internal-fields.md +17 -0
  551. package/docs-llm/dsl/selectors/frame-without-series-names.md +8 -0
  552. package/docs-llm/dsl/selectors/last-point.md +5 -0
  553. package/docs-llm/dsl/selectors/minus.md +8 -0
  554. package/docs-llm/dsl/selectors/multiply.md +8 -0
  555. package/docs-llm/dsl/selectors/plus.md +8 -0
  556. package/docs-llm/dsl/selectors/point-by-index.md +6 -0
  557. package/docs-llm/dsl/selectors/points-by-indexes.md +6 -0
  558. package/docs-llm/dsl/selectors/round.md +7 -0
  559. package/docs-llm/dsl/selectors/series-by-index-examples-json.md +49 -0
  560. package/docs-llm/dsl/selectors/series-by-index-examples-react.md +39 -0
  561. package/docs-llm/dsl/selectors/series-by-index.md +8 -0
  562. package/docs-llm/dsl/selectors/series-by-name-examples-json.md +49 -0
  563. package/docs-llm/dsl/selectors/series-by-name-examples-react.md +39 -0
  564. package/docs-llm/dsl/selectors/series-by-name.md +8 -0
  565. package/docs-llm/dsl/selectors/series-by-prioritized-types-examples-json.md +47 -0
  566. package/docs-llm/dsl/selectors/series-by-prioritized-types-examples-react.md +39 -0
  567. package/docs-llm/dsl/selectors/series-by-prioritized-types.md +10 -0
  568. package/docs-llm/dsl/selectors/series-by-type-examples-json.md +49 -0
  569. package/docs-llm/dsl/selectors/series-by-type-examples-react.md +39 -0
  570. package/docs-llm/dsl/selectors/series-by-type.md +10 -0
  571. package/docs-llm/dsl/selectors/series-by-types.md +6 -0
  572. package/docs-llm/ellipse/examples-json.md +5 -0
  573. package/docs-llm/ellipse/examples-react.md +5 -0
  574. package/docs-llm/ellipse/options.md +16 -0
  575. package/docs-llm/ellipse/overview.md +5 -0
  576. package/docs-llm/events/examples-json.md +705 -0
  577. package/docs-llm/events/examples-react.md +536 -0
  578. package/docs-llm/events/options.md +18 -0
  579. package/docs-llm/events/overview.md +5 -0
  580. package/docs-llm/filler-gauge/examples-json.md +376 -0
  581. package/docs-llm/filler-gauge/examples-react.md +274 -0
  582. package/docs-llm/filler-gauge/options.md +26 -0
  583. package/docs-llm/filler-gauge/overview.md +5 -0
  584. package/docs-llm/image/examples-json.md +39 -0
  585. package/docs-llm/image/examples-react.md +65 -0
  586. package/docs-llm/image/options.md +13 -0
  587. package/docs-llm/image/overview.md +5 -0
  588. package/docs-llm/line/examples-json.md +3724 -0
  589. package/docs-llm/line/examples-react.md +2683 -0
  590. package/docs-llm/line/options.md +95 -0
  591. package/docs-llm/line/overview.md +29 -0
  592. package/docs-llm/link-graph/examples-json.md +5 -0
  593. package/docs-llm/link-graph/examples-react.md +5 -0
  594. package/docs-llm/link-graph/options.md +26 -0
  595. package/docs-llm/link-graph/overview.md +16 -0
  596. package/docs-llm/map/examples-json.md +13973 -0
  597. package/docs-llm/map/examples-react.md +6154 -0
  598. package/docs-llm/map/options.md +22 -0
  599. package/docs-llm/map/overview.md +32 -0
  600. package/docs-llm/markdown/examples-json.md +63 -0
  601. package/docs-llm/markdown/examples-react.md +98 -0
  602. package/docs-llm/markdown/options.md +17 -0
  603. package/docs-llm/markdown/overview.md +5 -0
  604. package/docs-llm/marker-gauge/examples-json.md +436 -0
  605. package/docs-llm/marker-gauge/examples-react.md +367 -0
  606. package/docs-llm/marker-gauge/options.md +26 -0
  607. package/docs-llm/marker-gauge/overview.md +5 -0
  608. package/docs-llm/network-graph/examples-json.md +8843 -0
  609. package/docs-llm/network-graph/examples-react.md +7339 -0
  610. package/docs-llm/network-graph/options.md +50 -0
  611. package/docs-llm/network-graph/overview.md +28 -0
  612. package/docs-llm/parallel-coordinates/examples-json.md +8376 -0
  613. package/docs-llm/parallel-coordinates/examples-react.md +2771 -0
  614. package/docs-llm/parallel-coordinates/options.md +14 -0
  615. package/docs-llm/parallel-coordinates/overview.md +22 -0
  616. package/docs-llm/pie/examples-json.md +851 -0
  617. package/docs-llm/pie/examples-react.md +606 -0
  618. package/docs-llm/pie/options.md +34 -0
  619. package/docs-llm/pie/overview.md +23 -0
  620. package/docs-llm/process-tree/options.md +32 -0
  621. package/docs-llm/punchcard/examples-json.md +6134 -0
  622. package/docs-llm/punchcard/examples-react.md +4562 -0
  623. package/docs-llm/punchcard/options.md +33 -0
  624. package/docs-llm/punchcard/overview.md +5 -0
  625. package/docs-llm/pure-rich-text/options.md +28 -0
  626. package/docs-llm/rectangle/examples-json.md +5 -0
  627. package/docs-llm/rectangle/examples-react.md +5 -0
  628. package/docs-llm/rectangle/options.md +19 -0
  629. package/docs-llm/rectangle/overview.md +5 -0
  630. package/docs-llm/rich-text/examples-json.md +96 -0
  631. package/docs-llm/rich-text/examples-react.md +119 -0
  632. package/docs-llm/rich-text/options.md +28 -0
  633. package/docs-llm/rich-text/overview.md +5 -0
  634. package/docs-llm/sankey/examples-json.md +844 -0
  635. package/docs-llm/sankey/examples-react.md +546 -0
  636. package/docs-llm/sankey/options.md +19 -0
  637. package/docs-llm/sankey/overview.md +24 -0
  638. package/docs-llm/scatter/examples-json.md +4012 -0
  639. package/docs-llm/scatter/examples-react.md +3914 -0
  640. package/docs-llm/scatter/options.md +68 -0
  641. package/docs-llm/scatter/overview.md +25 -0
  642. package/docs-llm/single-value/examples-json.md +2613 -0
  643. package/docs-llm/single-value/examples-react.md +2296 -0
  644. package/docs-llm/single-value/options.md +49 -0
  645. package/docs-llm/single-value/overview.md +23 -0
  646. package/docs-llm/single-value-icon/examples-json.md +1686 -0
  647. package/docs-llm/single-value-icon/examples-react.md +1573 -0
  648. package/docs-llm/single-value-icon/options.md +43 -0
  649. package/docs-llm/single-value-icon/overview.md +5 -0
  650. package/docs-llm/single-value-radial/examples-json.md +1178 -0
  651. package/docs-llm/single-value-radial/examples-react.md +1028 -0
  652. package/docs-llm/single-value-radial/options.md +41 -0
  653. package/docs-llm/single-value-radial/overview.md +5 -0
  654. package/docs-llm/table/examples-json.md +5 -0
  655. package/docs-llm/table/examples-react.md +5 -0
  656. package/docs-llm/table/options.md +25 -0
  657. package/docs-llm/table/overview.md +24 -0
  658. package/docs-llm/timeline/examples-json.md +5 -0
  659. package/docs-llm/timeline/examples-react.md +5 -0
  660. package/docs-llm/timeline/options.md +27 -0
  661. package/docs-llm/timeline/overview.md +24 -0
  662. package/package.json +39 -30
  663. package/LICENSE.md +0 -449
@@ -0,0 +1,1686 @@
1
+ # Single Value Icon Examples
2
+
3
+ **Visualization Reference:** undefined
4
+
5
+ ## Basic Single Value Icon
6
+
7
+ - **Key:** Basic
8
+
9
+ ```json
10
+ {
11
+ "context": {},
12
+ "options": {},
13
+ "dataSources": {
14
+ "primary": {
15
+ "data": {
16
+ "columns": [
17
+ [
18
+ "1",
19
+ "62",
20
+ "103",
21
+ "308",
22
+ "587",
23
+ "876",
24
+ "930",
25
+ "1320"
26
+ ],
27
+ [
28
+ "2018-08-19T00:00:00.000+00:00",
29
+ "2018-08-20T00:00:00.000+00:00",
30
+ "2018-08-21T00:00:00.000+00:00",
31
+ "2018-08-22T00:00:00.000+00:00",
32
+ "2018-08-23T00:00:00.000+00:00",
33
+ "2018-08-24T00:00:00.000+00:00",
34
+ "2018-08-25T00:00:00.000+00:00",
35
+ "2018-08-26T00:00:00.000+00:00"
36
+ ]
37
+ ],
38
+ "fields": [
39
+ {
40
+ "name": "foo"
41
+ },
42
+ {
43
+ "name": "_time"
44
+ }
45
+ ]
46
+ },
47
+ "meta": {}
48
+ }
49
+ }
50
+ }
51
+ ```
52
+
53
+ ## Background Color - Red
54
+
55
+ - **Key:** Background Color
56
+
57
+ ```json
58
+ {
59
+ "context": {},
60
+ "options": {
61
+ "backgroundColor": "#FF0000"
62
+ },
63
+ "dataSources": {
64
+ "primary": {
65
+ "data": {
66
+ "columns": [
67
+ [
68
+ "1",
69
+ "62",
70
+ "103",
71
+ "308",
72
+ "587",
73
+ "876",
74
+ "930",
75
+ "1320"
76
+ ],
77
+ [
78
+ "2018-08-19T00:00:00.000+00:00",
79
+ "2018-08-20T00:00:00.000+00:00",
80
+ "2018-08-21T00:00:00.000+00:00",
81
+ "2018-08-22T00:00:00.000+00:00",
82
+ "2018-08-23T00:00:00.000+00:00",
83
+ "2018-08-24T00:00:00.000+00:00",
84
+ "2018-08-25T00:00:00.000+00:00",
85
+ "2018-08-26T00:00:00.000+00:00"
86
+ ]
87
+ ],
88
+ "fields": [
89
+ {
90
+ "name": "foo"
91
+ },
92
+ {
93
+ "name": "_time"
94
+ }
95
+ ]
96
+ },
97
+ "meta": {}
98
+ }
99
+ }
100
+ }
101
+ ```
102
+
103
+ ## Background Color - Based on third value of Bar Field
104
+
105
+ - **Key:** Backgroundcolorthirdvaluebar
106
+
107
+ ```json
108
+ {
109
+ "context": {},
110
+ "options": {
111
+ "majorValue": "> primary | seriesByName(\"foo\") | lastPoint()",
112
+ "trendValue": "> primary | seriesByName(\"foo\") | delta(-2)",
113
+ "backgroundColor": "> primary | seriesByName(\"bar\") | pointByIndex(2)"
114
+ },
115
+ "dataSources": {
116
+ "primary": {
117
+ "data": {
118
+ "columns": [
119
+ [
120
+ "1",
121
+ "62",
122
+ "103",
123
+ "308",
124
+ "587",
125
+ "876",
126
+ "930",
127
+ "1320"
128
+ ],
129
+ [
130
+ "#FF0000",
131
+ "#00FFFF",
132
+ "#0000FF",
133
+ "#800080",
134
+ "#FFFF00",
135
+ "#FFA500",
136
+ "#A52A2A",
137
+ "#008000"
138
+ ]
139
+ ],
140
+ "fields": [
141
+ {
142
+ "name": "foo"
143
+ },
144
+ {
145
+ "name": "bar"
146
+ }
147
+ ]
148
+ },
149
+ "meta": {}
150
+ }
151
+ }
152
+ }
153
+ ```
154
+
155
+ ## Background Color - Based on last value of Foo Field
156
+
157
+ - **Key:** Last Indexfoo
158
+
159
+ ```json
160
+ {
161
+ "context": {
162
+ "backgroundColors": [
163
+ {
164
+ "from": 5000,
165
+ "value": "#A52A2A"
166
+ },
167
+ {
168
+ "from": 1000,
169
+ "to": 5000,
170
+ "value": "#FFA500"
171
+ },
172
+ {
173
+ "from": 500,
174
+ "to": 1000,
175
+ "value": "#FFFF00"
176
+ },
177
+ {
178
+ "from": 100,
179
+ "to": 500,
180
+ "value": "#800080"
181
+ },
182
+ {
183
+ "to": 100,
184
+ "value": "#0000FF"
185
+ }
186
+ ]
187
+ },
188
+ "options": {
189
+ "majorValue": "> primary | seriesByName(\"foo\") | lastPoint()",
190
+ "trendValue": "> primary | seriesByName(\"foo\") | delta(-2)",
191
+ "backgroundColor": "> majorValue | rangeValue(backgroundColors)"
192
+ },
193
+ "dataSources": {
194
+ "primary": {
195
+ "data": {
196
+ "columns": [
197
+ [
198
+ "1",
199
+ "62",
200
+ "103",
201
+ "308",
202
+ "587",
203
+ "876",
204
+ "930",
205
+ "1320"
206
+ ],
207
+ [
208
+ "#FF0000",
209
+ "#00FFFF",
210
+ "#0000FF",
211
+ "#800080",
212
+ "#FFFF00",
213
+ "#FFA500",
214
+ "#A52A2A",
215
+ "#008000"
216
+ ]
217
+ ],
218
+ "fields": [
219
+ {
220
+ "name": "foo"
221
+ },
222
+ {
223
+ "name": "bar"
224
+ }
225
+ ]
226
+ },
227
+ "meta": {}
228
+ }
229
+ }
230
+ }
231
+ ```
232
+
233
+ ## Background Color - Based on third value of Foo Field
234
+
235
+ - **Key:** Backgroundcolorthirdvaluefoo
236
+
237
+ ```json
238
+ {
239
+ "context": {
240
+ "backgroundColors": [
241
+ {
242
+ "from": 100,
243
+ "value": "#A52A2A"
244
+ },
245
+ {
246
+ "from": 40,
247
+ "to": 100,
248
+ "value": "#FFA500"
249
+ },
250
+ {
251
+ "from": 13,
252
+ "to": 40,
253
+ "value": "#FFFF00"
254
+ },
255
+ {
256
+ "from": 1,
257
+ "to": 13,
258
+ "value": "#800080"
259
+ },
260
+ {
261
+ "from": 0,
262
+ "to": 1,
263
+ "value": "#0000FF"
264
+ },
265
+ {
266
+ "to": 0,
267
+ "value": "#000000"
268
+ }
269
+ ]
270
+ },
271
+ "options": {
272
+ "majorValue": "> primary | seriesByName(\"foo\") | lastPoint()",
273
+ "trendValue": "> primary | seriesByName(\"foo\") | delta(-2)",
274
+ "backgroundColor": "> primary | seriesByName(\"foo\") | pointByIndex(2) | rangeValue(backgroundColors)"
275
+ },
276
+ "dataSources": {
277
+ "primary": {
278
+ "data": {
279
+ "columns": [
280
+ [
281
+ "1",
282
+ "62",
283
+ "103",
284
+ "308",
285
+ "587",
286
+ "876",
287
+ "930",
288
+ "1320"
289
+ ],
290
+ [
291
+ "#FF0000",
292
+ "#00FFFF",
293
+ "#0000FF",
294
+ "#800080",
295
+ "#FFFF00",
296
+ "#FFA500",
297
+ "#A52A2A",
298
+ "#008000"
299
+ ]
300
+ ],
301
+ "fields": [
302
+ {
303
+ "name": "foo"
304
+ },
305
+ {
306
+ "name": "bar"
307
+ }
308
+ ]
309
+ },
310
+ "meta": {}
311
+ }
312
+ }
313
+ }
314
+ ```
315
+
316
+ ## Background Color - Based on Data Series Color
317
+
318
+ - **Key:** Color Data Series
319
+
320
+ ```json
321
+ {
322
+ "context": {},
323
+ "options": {
324
+ "majorValue": "> primary | seriesByName(\"foo\") | lastPoint()",
325
+ "trendValue": "> primary | seriesByName(\"foo\") | delta(-2)",
326
+ "backgroundColor": "> primary | seriesByName(\"bar\") | lastPoint()"
327
+ },
328
+ "dataSources": {
329
+ "primary": {
330
+ "data": {
331
+ "columns": [
332
+ [
333
+ "1",
334
+ "62",
335
+ "103",
336
+ "308",
337
+ "587",
338
+ "876",
339
+ "930",
340
+ "1320"
341
+ ],
342
+ [
343
+ "#FF0000",
344
+ "#00FFFF",
345
+ "#0000FF",
346
+ "#800080",
347
+ "#FFFF00",
348
+ "#FFA500",
349
+ "#A52A2A",
350
+ "#008000"
351
+ ]
352
+ ],
353
+ "fields": [
354
+ {
355
+ "name": "foo"
356
+ },
357
+ {
358
+ "name": "bar"
359
+ }
360
+ ]
361
+ },
362
+ "meta": {}
363
+ }
364
+ }
365
+ }
366
+ ```
367
+
368
+ ## Icon - Clock
369
+
370
+ - **Key:** Fix Icon
371
+
372
+ ```json
373
+ {
374
+ "context": {},
375
+ "options": {
376
+ "icon": "clock",
377
+ "majorValue": "> primary | seriesByName(\"foo\") | lastPoint()"
378
+ },
379
+ "dataSources": {
380
+ "primary": {
381
+ "data": {
382
+ "columns": [
383
+ [
384
+ "1",
385
+ "62",
386
+ "103",
387
+ "308",
388
+ "587",
389
+ "876",
390
+ "930",
391
+ "1320"
392
+ ],
393
+ [
394
+ "2018-08-19T00:00:00.000+00:00",
395
+ "2018-08-20T00:00:00.000+00:00",
396
+ "2018-08-21T00:00:00.000+00:00",
397
+ "2018-08-22T00:00:00.000+00:00",
398
+ "2018-08-23T00:00:00.000+00:00",
399
+ "2018-08-24T00:00:00.000+00:00",
400
+ "2018-08-25T00:00:00.000+00:00",
401
+ "2018-08-26T00:00:00.000+00:00"
402
+ ]
403
+ ],
404
+ "fields": [
405
+ {
406
+ "name": "foo"
407
+ },
408
+ {
409
+ "name": "_time"
410
+ }
411
+ ]
412
+ },
413
+ "meta": {}
414
+ }
415
+ }
416
+ }
417
+ ```
418
+
419
+ ## Icon - Persisted Icon in IconRegistry
420
+
421
+ - **Key:** Remote Icon
422
+
423
+ ```json
424
+ {
425
+ "context": {},
426
+ "options": {},
427
+ "dataSources": {
428
+ "primary": {
429
+ "data": {
430
+ "columns": [
431
+ [
432
+ "1",
433
+ "62",
434
+ "103",
435
+ "308",
436
+ "587",
437
+ "876",
438
+ "930",
439
+ "1320"
440
+ ],
441
+ [
442
+ "2018-08-19T00:00:00.000+00:00",
443
+ "2018-08-20T00:00:00.000+00:00",
444
+ "2018-08-21T00:00:00.000+00:00",
445
+ "2018-08-22T00:00:00.000+00:00",
446
+ "2018-08-23T00:00:00.000+00:00",
447
+ "2018-08-24T00:00:00.000+00:00",
448
+ "2018-08-25T00:00:00.000+00:00",
449
+ "2018-08-26T00:00:00.000+00:00"
450
+ ]
451
+ ],
452
+ "fields": [
453
+ {
454
+ "name": "foo"
455
+ },
456
+ {
457
+ "name": "_time"
458
+ }
459
+ ]
460
+ },
461
+ "meta": {}
462
+ }
463
+ }
464
+ }
465
+ ```
466
+
467
+ ## Icon - Custom SVG Icon
468
+
469
+ - **Key:** Custom Svg Icon
470
+
471
+ ```json
472
+ {
473
+ "context": {},
474
+ "options": {},
475
+ "dataSources": {
476
+ "primary": {
477
+ "data": {
478
+ "columns": [
479
+ [
480
+ "930",
481
+ "1320"
482
+ ],
483
+ [
484
+ "2018-08-25T00:00:00.000+00:00",
485
+ "2018-08-26T00:00:00.000+00:00"
486
+ ]
487
+ ],
488
+ "fields": [
489
+ {
490
+ "name": "foo"
491
+ },
492
+ {
493
+ "name": "_time"
494
+ }
495
+ ]
496
+ },
497
+ "meta": {}
498
+ }
499
+ }
500
+ }
501
+ ```
502
+
503
+ ## Icon - Activity, Show Value - False
504
+
505
+ - **Key:** Fix Icon No Values
506
+
507
+ ```json
508
+ {
509
+ "context": {},
510
+ "options": {
511
+ "icon": "activity",
512
+ "showValue": false,
513
+ "majorValue": "> primary | seriesByName(\"foo\") | lastPoint()"
514
+ },
515
+ "dataSources": {
516
+ "primary": {
517
+ "data": {
518
+ "columns": [
519
+ [
520
+ "1",
521
+ "62",
522
+ "103",
523
+ "308",
524
+ "587",
525
+ "876",
526
+ "930",
527
+ "1320"
528
+ ],
529
+ [
530
+ "2018-08-19T00:00:00.000+00:00",
531
+ "2018-08-20T00:00:00.000+00:00",
532
+ "2018-08-21T00:00:00.000+00:00",
533
+ "2018-08-22T00:00:00.000+00:00",
534
+ "2018-08-23T00:00:00.000+00:00",
535
+ "2018-08-24T00:00:00.000+00:00",
536
+ "2018-08-25T00:00:00.000+00:00",
537
+ "2018-08-26T00:00:00.000+00:00"
538
+ ]
539
+ ],
540
+ "fields": [
541
+ {
542
+ "name": "foo"
543
+ },
544
+ {
545
+ "name": "_time"
546
+ }
547
+ ]
548
+ },
549
+ "meta": {}
550
+ }
551
+ }
552
+ }
553
+ ```
554
+
555
+ ## Icon - Based on Threshold Value
556
+
557
+ - **Key:** Icon By Threshold
558
+
559
+ ```json
560
+ {
561
+ "context": {
562
+ "iconMatches": [
563
+ {
564
+ "from": 1560,
565
+ "value": "default"
566
+ },
567
+ {
568
+ "from": 70,
569
+ "to": 1560,
570
+ "value": "star"
571
+ },
572
+ {
573
+ "from": 30,
574
+ "to": 70,
575
+ "value": "pencil"
576
+ },
577
+ {
578
+ "from": 0,
579
+ "to": 30,
580
+ "value": "clock"
581
+ },
582
+ {
583
+ "to": 0,
584
+ "value": "activity"
585
+ }
586
+ ]
587
+ },
588
+ "options": {
589
+ "majorValue": "> primary | seriesByName(\"foo\") | lastPoint()",
590
+ "icon": "> majorValue | rangeValue(iconMatches)"
591
+ },
592
+ "dataSources": {
593
+ "primary": {
594
+ "data": {
595
+ "columns": [
596
+ [
597
+ "1",
598
+ "62",
599
+ "103",
600
+ "308",
601
+ "587",
602
+ "876",
603
+ "930",
604
+ "1320"
605
+ ],
606
+ [
607
+ "2018-08-19T00:00:00.000+00:00",
608
+ "2018-08-20T00:00:00.000+00:00",
609
+ "2018-08-21T00:00:00.000+00:00",
610
+ "2018-08-22T00:00:00.000+00:00",
611
+ "2018-08-23T00:00:00.000+00:00",
612
+ "2018-08-24T00:00:00.000+00:00",
613
+ "2018-08-25T00:00:00.000+00:00",
614
+ "2018-08-26T00:00:00.000+00:00"
615
+ ]
616
+ ],
617
+ "fields": [
618
+ {
619
+ "name": "foo"
620
+ },
621
+ {
622
+ "name": "_time"
623
+ }
624
+ ]
625
+ },
626
+ "meta": {}
627
+ }
628
+ }
629
+ }
630
+ ```
631
+
632
+ ## Icon Color - Blue
633
+
634
+ - **Key:** Icon Color
635
+
636
+ ```json
637
+ {
638
+ "context": {},
639
+ "options": {
640
+ "iconColor": "#0000FF"
641
+ },
642
+ "dataSources": {
643
+ "primary": {
644
+ "data": {
645
+ "columns": [
646
+ [
647
+ "1",
648
+ "62",
649
+ "103",
650
+ "308",
651
+ "587",
652
+ "876",
653
+ "930",
654
+ "1320"
655
+ ],
656
+ [
657
+ "2018-08-19T00:00:00.000+00:00",
658
+ "2018-08-20T00:00:00.000+00:00",
659
+ "2018-08-21T00:00:00.000+00:00",
660
+ "2018-08-22T00:00:00.000+00:00",
661
+ "2018-08-23T00:00:00.000+00:00",
662
+ "2018-08-24T00:00:00.000+00:00",
663
+ "2018-08-25T00:00:00.000+00:00",
664
+ "2018-08-26T00:00:00.000+00:00"
665
+ ]
666
+ ],
667
+ "fields": [
668
+ {
669
+ "name": "foo"
670
+ },
671
+ {
672
+ "name": "_time"
673
+ }
674
+ ]
675
+ },
676
+ "meta": {}
677
+ }
678
+ }
679
+ }
680
+ ```
681
+
682
+ ## Icon Color - Based on Major Value
683
+
684
+ - **Key:** Icon Color Using Major Value
685
+
686
+ ```json
687
+ {
688
+ "context": {
689
+ "iconColors": [
690
+ {
691
+ "from": 5000,
692
+ "value": "#A52A2A"
693
+ },
694
+ {
695
+ "from": 1000,
696
+ "to": 5000,
697
+ "value": "#FFA500"
698
+ },
699
+ {
700
+ "from": 500,
701
+ "to": 1000,
702
+ "value": "#FFFF00"
703
+ },
704
+ {
705
+ "from": 100,
706
+ "to": 500,
707
+ "value": "#800080"
708
+ },
709
+ {
710
+ "to": 100,
711
+ "value": "#0000FF"
712
+ }
713
+ ]
714
+ },
715
+ "options": {
716
+ "majorValue": "> primary | seriesByName(\"foo\") | lastPoint()",
717
+ "trendValue": "> primary | seriesByName(\"foo\") | delta(-2)",
718
+ "iconColor": "> majorValue | rangeValue(iconColors)"
719
+ },
720
+ "dataSources": {
721
+ "primary": {
722
+ "data": {
723
+ "columns": [
724
+ [
725
+ "1",
726
+ "62",
727
+ "103",
728
+ "308",
729
+ "587",
730
+ "876",
731
+ "930",
732
+ "1320"
733
+ ],
734
+ [
735
+ "#FF0000",
736
+ "#00FFFF",
737
+ "#0000FF",
738
+ "#800080",
739
+ "#FFFF00",
740
+ "#FFA500",
741
+ "#A52A2A",
742
+ "#008000"
743
+ ]
744
+ ],
745
+ "fields": [
746
+ {
747
+ "name": "foo"
748
+ },
749
+ {
750
+ "name": "bar"
751
+ }
752
+ ]
753
+ },
754
+ "meta": {}
755
+ }
756
+ }
757
+ }
758
+ ```
759
+
760
+ ## Icon Color - Based on Trend Value
761
+
762
+ - **Key:** Icon Color Using Trend Value
763
+
764
+ ```json
765
+ {
766
+ "context": {
767
+ "iconColors": [
768
+ {
769
+ "from": 5000,
770
+ "value": "#A52A2A"
771
+ },
772
+ {
773
+ "from": 1000,
774
+ "to": 5000,
775
+ "value": "#FFA500"
776
+ },
777
+ {
778
+ "from": 500,
779
+ "to": 1000,
780
+ "value": "#FFFF00"
781
+ },
782
+ {
783
+ "from": 100,
784
+ "to": 500,
785
+ "value": "#800080"
786
+ },
787
+ {
788
+ "to": 100,
789
+ "value": "#0000FF"
790
+ }
791
+ ]
792
+ },
793
+ "options": {
794
+ "majorValue": "> primary | seriesByName(\"foo\") | lastPoint()",
795
+ "trendValue": "> primary | seriesByName(\"foo\") | delta(-2)",
796
+ "iconColor": "> trendValue | rangeValue(iconColors)"
797
+ },
798
+ "dataSources": {
799
+ "primary": {
800
+ "data": {
801
+ "columns": [
802
+ [
803
+ "1",
804
+ "62",
805
+ "103",
806
+ "308",
807
+ "587",
808
+ "876",
809
+ "930",
810
+ "1320"
811
+ ],
812
+ [
813
+ "#FF0000",
814
+ "#00FFFF",
815
+ "#0000FF",
816
+ "#800080",
817
+ "#FFFF00",
818
+ "#FFA500",
819
+ "#A52A2A",
820
+ "#008000"
821
+ ]
822
+ ],
823
+ "fields": [
824
+ {
825
+ "name": "foo"
826
+ },
827
+ {
828
+ "name": "bar"
829
+ }
830
+ ]
831
+ },
832
+ "meta": {}
833
+ }
834
+ }
835
+ }
836
+ ```
837
+
838
+ ## Icon Opacity - 0.2, Under Label - Specified
839
+
840
+ - **Key:** Icon Opacity
841
+
842
+ ```json
843
+ {
844
+ "context": {},
845
+ "options": {
846
+ "iconOpacity": 0.2,
847
+ "underLabel": "Under Label Test"
848
+ },
849
+ "dataSources": {
850
+ "primary": {
851
+ "data": {
852
+ "columns": [
853
+ [
854
+ "1",
855
+ "62",
856
+ "103",
857
+ "308",
858
+ "587",
859
+ "876",
860
+ "930",
861
+ "1320"
862
+ ],
863
+ [
864
+ "2018-08-19T00:00:00.000+00:00",
865
+ "2018-08-20T00:00:00.000+00:00",
866
+ "2018-08-21T00:00:00.000+00:00",
867
+ "2018-08-22T00:00:00.000+00:00",
868
+ "2018-08-23T00:00:00.000+00:00",
869
+ "2018-08-24T00:00:00.000+00:00",
870
+ "2018-08-25T00:00:00.000+00:00",
871
+ "2018-08-26T00:00:00.000+00:00"
872
+ ]
873
+ ],
874
+ "fields": [
875
+ {
876
+ "name": "foo"
877
+ },
878
+ {
879
+ "name": "_time"
880
+ }
881
+ ]
882
+ },
883
+ "meta": {}
884
+ }
885
+ }
886
+ }
887
+ ```
888
+
889
+ ## Icon Position - After
890
+
891
+ - **Key:** Fix Icon After
892
+
893
+ ```json
894
+ {
895
+ "context": {},
896
+ "options": {
897
+ "icon": "clock",
898
+ "iconPosition": "after",
899
+ "majorValue": "> primary | seriesByName(\"foo\") | lastPoint()"
900
+ },
901
+ "dataSources": {
902
+ "primary": {
903
+ "data": {
904
+ "columns": [
905
+ [
906
+ "1",
907
+ "62",
908
+ "103",
909
+ "308",
910
+ "587",
911
+ "876",
912
+ "930",
913
+ "1320"
914
+ ],
915
+ [
916
+ "2018-08-19T00:00:00.000+00:00",
917
+ "2018-08-20T00:00:00.000+00:00",
918
+ "2018-08-21T00:00:00.000+00:00",
919
+ "2018-08-22T00:00:00.000+00:00",
920
+ "2018-08-23T00:00:00.000+00:00",
921
+ "2018-08-24T00:00:00.000+00:00",
922
+ "2018-08-25T00:00:00.000+00:00",
923
+ "2018-08-26T00:00:00.000+00:00"
924
+ ]
925
+ ],
926
+ "fields": [
927
+ {
928
+ "name": "foo"
929
+ },
930
+ {
931
+ "name": "_time"
932
+ }
933
+ ]
934
+ },
935
+ "meta": {}
936
+ }
937
+ }
938
+ }
939
+ ```
940
+
941
+ ## Icon - Pencil, Icon Position - Top, Unit - Specified, Unit Position - Before
942
+
943
+ - **Key:** Fix Icon Top
944
+
945
+ ```json
946
+ {
947
+ "context": {},
948
+ "options": {
949
+ "icon": "pencil",
950
+ "iconPosition": "top",
951
+ "majorValue": "> primary | seriesByName(\"foo\") | lastPoint()",
952
+ "unit": "$",
953
+ "unitPosition": "before"
954
+ },
955
+ "dataSources": {
956
+ "primary": {
957
+ "data": {
958
+ "columns": [
959
+ [
960
+ "1",
961
+ "62",
962
+ "103",
963
+ "308",
964
+ "587",
965
+ "876",
966
+ "930",
967
+ "1320"
968
+ ],
969
+ [
970
+ "2018-08-19T00:00:00.000+00:00",
971
+ "2018-08-20T00:00:00.000+00:00",
972
+ "2018-08-21T00:00:00.000+00:00",
973
+ "2018-08-22T00:00:00.000+00:00",
974
+ "2018-08-23T00:00:00.000+00:00",
975
+ "2018-08-24T00:00:00.000+00:00",
976
+ "2018-08-25T00:00:00.000+00:00",
977
+ "2018-08-26T00:00:00.000+00:00"
978
+ ]
979
+ ],
980
+ "fields": [
981
+ {
982
+ "name": "foo"
983
+ },
984
+ {
985
+ "name": "_time"
986
+ }
987
+ ]
988
+ },
989
+ "meta": {}
990
+ }
991
+ }
992
+ }
993
+ ```
994
+
995
+ ## Icon - Star, Icon Position - Below
996
+
997
+ - **Key:** Fix Icon Below
998
+
999
+ ```json
1000
+ {
1001
+ "context": {},
1002
+ "options": {
1003
+ "icon": "star",
1004
+ "iconPosition": "below",
1005
+ "majorValue": "> primary | seriesByName(\"foo\") | lastPoint()"
1006
+ },
1007
+ "dataSources": {
1008
+ "primary": {
1009
+ "data": {
1010
+ "columns": [
1011
+ [
1012
+ "1",
1013
+ "62",
1014
+ "103",
1015
+ "308",
1016
+ "587",
1017
+ "876",
1018
+ "930",
1019
+ "1320"
1020
+ ],
1021
+ [
1022
+ "2018-08-19T00:00:00.000+00:00",
1023
+ "2018-08-20T00:00:00.000+00:00",
1024
+ "2018-08-21T00:00:00.000+00:00",
1025
+ "2018-08-22T00:00:00.000+00:00",
1026
+ "2018-08-23T00:00:00.000+00:00",
1027
+ "2018-08-24T00:00:00.000+00:00",
1028
+ "2018-08-25T00:00:00.000+00:00",
1029
+ "2018-08-26T00:00:00.000+00:00"
1030
+ ]
1031
+ ],
1032
+ "fields": [
1033
+ {
1034
+ "name": "foo"
1035
+ },
1036
+ {
1037
+ "name": "_time"
1038
+ }
1039
+ ]
1040
+ },
1041
+ "meta": {}
1042
+ }
1043
+ }
1044
+ }
1045
+ ```
1046
+
1047
+ ## Icon Position - Based on Major Value
1048
+
1049
+ - **Key:** Fix Icon Dynamic
1050
+
1051
+ ```json
1052
+ {
1053
+ "context": {
1054
+ "iconPositionValues": [
1055
+ {
1056
+ "from": "1321",
1057
+ "value": "top"
1058
+ },
1059
+ {
1060
+ "to": "1321",
1061
+ "value": "below"
1062
+ }
1063
+ ]
1064
+ },
1065
+ "options": {
1066
+ "icon": "clock",
1067
+ "iconPosition": "> majorValue | rangeValue(iconPositionValues)",
1068
+ "majorValue": "> primary | seriesByName(\"foo\") | lastPoint()"
1069
+ },
1070
+ "dataSources": {
1071
+ "primary": {
1072
+ "data": {
1073
+ "columns": [
1074
+ [
1075
+ "1",
1076
+ "62",
1077
+ "103",
1078
+ "308",
1079
+ "587",
1080
+ "876",
1081
+ "930",
1082
+ "1320"
1083
+ ],
1084
+ [
1085
+ "2018-08-19T00:00:00.000+00:00",
1086
+ "2018-08-20T00:00:00.000+00:00",
1087
+ "2018-08-21T00:00:00.000+00:00",
1088
+ "2018-08-22T00:00:00.000+00:00",
1089
+ "2018-08-23T00:00:00.000+00:00",
1090
+ "2018-08-24T00:00:00.000+00:00",
1091
+ "2018-08-25T00:00:00.000+00:00",
1092
+ "2018-08-26T00:00:00.000+00:00"
1093
+ ]
1094
+ ],
1095
+ "fields": [
1096
+ {
1097
+ "name": "foo"
1098
+ },
1099
+ {
1100
+ "name": "_time"
1101
+ }
1102
+ ]
1103
+ },
1104
+ "meta": {}
1105
+ }
1106
+ }
1107
+ }
1108
+ ```
1109
+
1110
+ ## Major Color - Based on Major Value
1111
+
1112
+ - **Key:** Major Color Using Major Value
1113
+
1114
+ ```json
1115
+ {
1116
+ "context": {
1117
+ "majorColors": [
1118
+ {
1119
+ "from": 5000,
1120
+ "value": "#A52A2A"
1121
+ },
1122
+ {
1123
+ "from": 1000,
1124
+ "to": 5000,
1125
+ "value": "#FFA500"
1126
+ },
1127
+ {
1128
+ "from": 500,
1129
+ "to": 1000,
1130
+ "value": "#FFFF00"
1131
+ },
1132
+ {
1133
+ "from": 100,
1134
+ "to": 500,
1135
+ "value": "#800080"
1136
+ },
1137
+ {
1138
+ "to": 100,
1139
+ "value": "#0000FF"
1140
+ }
1141
+ ]
1142
+ },
1143
+ "options": {
1144
+ "majorValue": "> primary | seriesByName(\"foo\") | lastPoint()",
1145
+ "trendValue": "> primary | seriesByName(\"foo\") | delta(-2)",
1146
+ "majorColor": "> majorValue | rangeValue(majorColors)"
1147
+ },
1148
+ "dataSources": {
1149
+ "primary": {
1150
+ "data": {
1151
+ "columns": [
1152
+ [
1153
+ "1",
1154
+ "62",
1155
+ "103",
1156
+ "308",
1157
+ "587",
1158
+ "876",
1159
+ "930",
1160
+ "1320"
1161
+ ],
1162
+ [
1163
+ "#FF0000",
1164
+ "#00FFFF",
1165
+ "#0000FF",
1166
+ "#800080",
1167
+ "#FFFF00",
1168
+ "#FFA500",
1169
+ "#A52A2A",
1170
+ "#008000"
1171
+ ]
1172
+ ],
1173
+ "fields": [
1174
+ {
1175
+ "name": "foo"
1176
+ },
1177
+ {
1178
+ "name": "bar"
1179
+ }
1180
+ ]
1181
+ },
1182
+ "meta": {}
1183
+ }
1184
+ }
1185
+ }
1186
+ ```
1187
+
1188
+ ## Major Color - Based on Trend Value, Major Font Size - 80
1189
+
1190
+ - **Key:** Major Color Using Trend Value
1191
+
1192
+ ```json
1193
+ {
1194
+ "context": {
1195
+ "majorColors": [
1196
+ {
1197
+ "from": 5000,
1198
+ "value": "#A52A2A"
1199
+ },
1200
+ {
1201
+ "from": 1000,
1202
+ "to": 5000,
1203
+ "value": "#FFA500"
1204
+ },
1205
+ {
1206
+ "from": 500,
1207
+ "to": 1000,
1208
+ "value": "#FFFF00"
1209
+ },
1210
+ {
1211
+ "from": 100,
1212
+ "to": 500,
1213
+ "value": "#800080"
1214
+ },
1215
+ {
1216
+ "to": 100,
1217
+ "value": "#0000FF"
1218
+ }
1219
+ ]
1220
+ },
1221
+ "options": {
1222
+ "majorValue": "> primary | seriesByName(\"foo\") | lastPoint()",
1223
+ "trendValue": "> primary | seriesByName(\"foo\") | delta(-2)",
1224
+ "majorColor": "> trendValue | rangeValue(majorColors)",
1225
+ "majorFontSize": 80
1226
+ },
1227
+ "dataSources": {
1228
+ "primary": {
1229
+ "data": {
1230
+ "columns": [
1231
+ [
1232
+ "1",
1233
+ "62",
1234
+ "103",
1235
+ "308",
1236
+ "587",
1237
+ "876",
1238
+ "930",
1239
+ "1320"
1240
+ ],
1241
+ [
1242
+ "#FF0000",
1243
+ "#00FFFF",
1244
+ "#0000FF",
1245
+ "#800080",
1246
+ "#FFFF00",
1247
+ "#FFA500",
1248
+ "#A52A2A",
1249
+ "#008000"
1250
+ ]
1251
+ ],
1252
+ "fields": [
1253
+ {
1254
+ "name": "foo"
1255
+ },
1256
+ {
1257
+ "name": "bar"
1258
+ }
1259
+ ]
1260
+ },
1261
+ "meta": {}
1262
+ }
1263
+ }
1264
+ }
1265
+ ```
1266
+
1267
+ ## Major Value and Trend Value - Based on majorValueDisplay
1268
+
1269
+ - **Key:** Majorvaluebasedonmajorvaluedisplay
1270
+
1271
+ ```json
1272
+ {
1273
+ "context": {
1274
+ "byteFormatConfig": {
1275
+ "number": {
1276
+ "output": "byte",
1277
+ "base": "decimal",
1278
+ "mantissa": 2
1279
+ }
1280
+ }
1281
+ },
1282
+ "options": {
1283
+ "trendValue": "> primary | seriesByName(\"ingested_bytes\") | delta(-2)",
1284
+ "trendDisplay": "percent",
1285
+ "majorValue": "> primary | seriesByName(\"ingested_bytes\") | lastPoint()",
1286
+ "majorValueDisplay": "> majorValue | formatByType(byteFormatConfig)"
1287
+ },
1288
+ "dataSources": {
1289
+ "primary": {
1290
+ "requestParams": {
1291
+ "offset": 0,
1292
+ "count": 20
1293
+ },
1294
+ "data": {
1295
+ "columns": [
1296
+ [
1297
+ "154305299",
1298
+ "126949782"
1299
+ ]
1300
+ ],
1301
+ "fields": [
1302
+ {
1303
+ "name": "ingested_bytes"
1304
+ }
1305
+ ]
1306
+ },
1307
+ "meta": {}
1308
+ }
1309
+ }
1310
+ }
1311
+ ```
1312
+
1313
+ ## Major Value and Trend Value - Based on Foo Field
1314
+
1315
+ - **Key:** Field Foo
1316
+
1317
+ ```json
1318
+ {
1319
+ "context": {},
1320
+ "options": {
1321
+ "majorValue": "> primary | seriesByName(\"foo\") | lastPoint()",
1322
+ "trendValue": "> primary | seriesByName(\"foo\") | delta(-2)"
1323
+ },
1324
+ "dataSources": {
1325
+ "primary": {
1326
+ "data": {
1327
+ "columns": [
1328
+ [
1329
+ "1",
1330
+ "62",
1331
+ "103",
1332
+ "308",
1333
+ "587",
1334
+ "876",
1335
+ "930",
1336
+ "1320"
1337
+ ],
1338
+ [
1339
+ "1",
1340
+ "62",
1341
+ "103",
1342
+ "308",
1343
+ "587",
1344
+ "876",
1345
+ "1195",
1346
+ "1220"
1347
+ ]
1348
+ ],
1349
+ "fields": [
1350
+ {
1351
+ "name": "foo"
1352
+ },
1353
+ {
1354
+ "name": "bar"
1355
+ }
1356
+ ]
1357
+ },
1358
+ "meta": {}
1359
+ }
1360
+ }
1361
+ }
1362
+ ```
1363
+
1364
+ ## Major Value and Trend Value - Based on Bar Field
1365
+
1366
+ - **Key:** Field Bar
1367
+
1368
+ ```json
1369
+ {
1370
+ "context": {},
1371
+ "options": {
1372
+ "majorValue": "> primary | seriesByName(\"bar\") | lastPoint()",
1373
+ "trendValue": "> primary | seriesByName(\"bar\") | delta(-2)"
1374
+ },
1375
+ "dataSources": {
1376
+ "primary": {
1377
+ "data": {
1378
+ "columns": [
1379
+ [
1380
+ "1",
1381
+ "62",
1382
+ "103",
1383
+ "308",
1384
+ "587",
1385
+ "876",
1386
+ "930",
1387
+ "1320"
1388
+ ],
1389
+ [
1390
+ "1",
1391
+ "62",
1392
+ "103",
1393
+ "308",
1394
+ "587",
1395
+ "876",
1396
+ "1195",
1397
+ "1220"
1398
+ ]
1399
+ ],
1400
+ "fields": [
1401
+ {
1402
+ "name": "foo"
1403
+ },
1404
+ {
1405
+ "name": "bar"
1406
+ }
1407
+ ]
1408
+ },
1409
+ "meta": {}
1410
+ }
1411
+ }
1412
+ }
1413
+ ```
1414
+
1415
+ ## Trend Color - Based on Major Value
1416
+
1417
+ - **Key:** Trend Color Using Major Value
1418
+
1419
+ ```json
1420
+ {
1421
+ "context": {
1422
+ "trendColorThresholds": [
1423
+ {
1424
+ "from": 5000,
1425
+ "value": "#A52A2A"
1426
+ },
1427
+ {
1428
+ "from": 1000,
1429
+ "to": 5000,
1430
+ "value": "#FFA500"
1431
+ },
1432
+ {
1433
+ "from": 500,
1434
+ "to": 1000,
1435
+ "value": "#FFFF00"
1436
+ },
1437
+ {
1438
+ "from": 100,
1439
+ "to": 500,
1440
+ "value": "#800080"
1441
+ },
1442
+ {
1443
+ "to": 100,
1444
+ "value": "#0000FF"
1445
+ }
1446
+ ]
1447
+ },
1448
+ "options": {
1449
+ "majorValue": "> primary | seriesByName(\"foo\") | lastPoint()",
1450
+ "trendValue": "> primary | seriesByName(\"foo\") | delta(-2)",
1451
+ "trendColor": "> majorValue | rangeValue(trendColorThresholds)"
1452
+ },
1453
+ "dataSources": {
1454
+ "primary": {
1455
+ "data": {
1456
+ "columns": [
1457
+ [
1458
+ "1",
1459
+ "62",
1460
+ "103",
1461
+ "308",
1462
+ "587",
1463
+ "876",
1464
+ "930",
1465
+ "1320"
1466
+ ],
1467
+ [
1468
+ "#FF0000",
1469
+ "#00FFFF",
1470
+ "#0000FF",
1471
+ "#800080",
1472
+ "#FFFF00",
1473
+ "#FFA500",
1474
+ "#A52A2A",
1475
+ "#008000"
1476
+ ]
1477
+ ],
1478
+ "fields": [
1479
+ {
1480
+ "name": "foo"
1481
+ },
1482
+ {
1483
+ "name": "bar"
1484
+ }
1485
+ ]
1486
+ },
1487
+ "meta": {}
1488
+ }
1489
+ }
1490
+ }
1491
+ ```
1492
+
1493
+ ## Trend Color - Based on Trend Value, Trend Font Size - 60
1494
+
1495
+ - **Key:** Trend Color Using Trend Value
1496
+
1497
+ ```json
1498
+ {
1499
+ "context": {
1500
+ "trendColorThresholds": [
1501
+ {
1502
+ "from": 5000,
1503
+ "value": "#A52A2A"
1504
+ },
1505
+ {
1506
+ "from": 1000,
1507
+ "to": 5000,
1508
+ "value": "#FFA500"
1509
+ },
1510
+ {
1511
+ "from": 500,
1512
+ "to": 1000,
1513
+ "value": "#FFFF00"
1514
+ },
1515
+ {
1516
+ "from": 100,
1517
+ "to": 500,
1518
+ "value": "#800080"
1519
+ },
1520
+ {
1521
+ "to": 100,
1522
+ "value": "#0000FF"
1523
+ }
1524
+ ]
1525
+ },
1526
+ "options": {
1527
+ "majorValue": "> primary | seriesByName(\"foo\") | lastPoint()",
1528
+ "trendValue": "> primary | seriesByName(\"foo\") | delta(-2)",
1529
+ "trendColor": "> trendValue | rangeValue(trendColorThresholds)",
1530
+ "trendFontSize": 60
1531
+ },
1532
+ "dataSources": {
1533
+ "primary": {
1534
+ "data": {
1535
+ "columns": [
1536
+ [
1537
+ "1",
1538
+ "62",
1539
+ "103",
1540
+ "308",
1541
+ "587",
1542
+ "876",
1543
+ "930",
1544
+ "1320"
1545
+ ],
1546
+ [
1547
+ "#FF0000",
1548
+ "#00FFFF",
1549
+ "#0000FF",
1550
+ "#800080",
1551
+ "#FFFF00",
1552
+ "#FFA500",
1553
+ "#A52A2A",
1554
+ "#008000"
1555
+ ]
1556
+ ],
1557
+ "fields": [
1558
+ {
1559
+ "name": "foo"
1560
+ },
1561
+ {
1562
+ "name": "bar"
1563
+ }
1564
+ ]
1565
+ },
1566
+ "meta": {}
1567
+ }
1568
+ }
1569
+ }
1570
+ ```
1571
+
1572
+ ## Trend Display Mode - Based on Threshold Value
1573
+
1574
+ - **Key:** Trend Display Mode
1575
+
1576
+ ```json
1577
+ {
1578
+ "context": {
1579
+ "trendDisplayModeValues": [
1580
+ {
1581
+ "from": "391",
1582
+ "value": "absolute"
1583
+ },
1584
+ {
1585
+ "to": "391",
1586
+ "value": "percent"
1587
+ }
1588
+ ]
1589
+ },
1590
+ "options": {
1591
+ "majorValue": "> primary | seriesByName(\"foo\") | lastPoint()",
1592
+ "trendValue": "> primary | seriesByName(\"foo\") | delta(-2)",
1593
+ "trendDisplayMode": "> trendValue | rangeValue(trendDisplayModeValues)"
1594
+ },
1595
+ "dataSources": {
1596
+ "primary": {
1597
+ "data": {
1598
+ "columns": [
1599
+ [
1600
+ "1",
1601
+ "62",
1602
+ "103",
1603
+ "308",
1604
+ "587",
1605
+ "876",
1606
+ "930",
1607
+ "1320"
1608
+ ],
1609
+ [
1610
+ "2018-08-19T00:00:00.000+00:00",
1611
+ "2018-08-20T00:00:00.000+00:00",
1612
+ "2018-08-21T00:00:00.000+00:00",
1613
+ "2018-08-22T00:00:00.000+00:00",
1614
+ "2018-08-23T00:00:00.000+00:00",
1615
+ "2018-08-24T00:00:00.000+00:00",
1616
+ "2018-08-25T00:00:00.000+00:00",
1617
+ "2018-08-26T00:00:00.000+00:00"
1618
+ ]
1619
+ ],
1620
+ "fields": [
1621
+ {
1622
+ "name": "foo"
1623
+ },
1624
+ {
1625
+ "name": "_time"
1626
+ }
1627
+ ]
1628
+ },
1629
+ "meta": {}
1630
+ }
1631
+ }
1632
+ }
1633
+ ```
1634
+
1635
+ ## Trellis
1636
+
1637
+ - **Key:** Trellis
1638
+
1639
+ ```json
1640
+ {
1641
+ "context": {},
1642
+ "options": {
1643
+ "splitByLayout": "trellis",
1644
+ "trellisSplitBy": "component",
1645
+ "icon": "clock",
1646
+ "trellisColumns": 3,
1647
+ "trellis": {
1648
+ "minColumnWidth": 400
1649
+ }
1650
+ },
1651
+ "dataSources": {
1652
+ "primary": {
1653
+ "data": {
1654
+ "fields": [
1655
+ {
1656
+ "name": "component",
1657
+ "groupby_rank": "0"
1658
+ },
1659
+ {
1660
+ "name": "foo"
1661
+ }
1662
+ ],
1663
+ "columns": [
1664
+ [
1665
+ "Database",
1666
+ "API",
1667
+ "Cache",
1668
+ "Queue",
1669
+ "Frontend",
1670
+ "Backend"
1671
+ ],
1672
+ [
1673
+ "1523",
1674
+ "2847",
1675
+ "1956",
1676
+ "3124",
1677
+ "2135",
1678
+ "2689"
1679
+ ]
1680
+ ]
1681
+ },
1682
+ "meta": {}
1683
+ }
1684
+ }
1685
+ }
1686
+ ```