@splunk/visualizations 28.6.0 → 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 (366) hide show
  1. package/Area.js +2 -2
  2. package/Bar.js +2 -2
  3. package/Bubble.js +2 -2
  4. package/CHANGELOG.external.md +19 -50
  5. package/ChoroplethSvg.js +2 -2
  6. package/Column.js +2 -2
  7. package/Ellipse.js +2 -2
  8. package/Events/PureEvents/FieldSummaryTooltip.d.ts +8 -31
  9. package/Events/PureEvents/FieldSummaryTooltip.d.ts.map +1 -1
  10. package/Events/PureEvents/PureEvents.d.ts.map +1 -1
  11. package/Events/PureEvents/TimeControlsPopover.d.ts +6 -25
  12. package/Events/PureEvents/TimeControlsPopover.d.ts.map +1 -1
  13. package/Events.js +27 -101
  14. package/Events.js.map +2 -2
  15. package/FillerGauge.js +2 -2
  16. package/Image.js +2 -2
  17. package/Line.js +2 -2
  18. package/LinkGraph.js +2 -2
  19. package/Map/Map.d.ts +1 -0
  20. package/Map/Map.d.ts.map +1 -1
  21. package/Map/PureMap/BubbleLayer.d.ts +22 -4
  22. package/Map/PureMap/BubbleLayer.d.ts.map +1 -1
  23. package/Map/PureMap/ChoroplethLayer.d.ts +9 -1
  24. package/Map/PureMap/ChoroplethLayer.d.ts.map +1 -1
  25. package/Map/PureMap/ClusterLayer.d.ts +3 -1
  26. package/Map/PureMap/ClusterLayer.d.ts.map +1 -1
  27. package/Map/PureMap/LocalChoroplethLayer.d.ts +1 -0
  28. package/Map/PureMap/LocalChoroplethLayer.d.ts.map +1 -1
  29. package/Map/PureMap/MapContext.d.ts +13 -0
  30. package/Map/PureMap/MapContext.d.ts.map +1 -0
  31. package/Map/PureMap/MarkerLayer.d.ts +19 -2
  32. package/Map/PureMap/MarkerLayer.d.ts.map +1 -1
  33. package/Map/PureMap/MarkerWrapper.d.ts +3 -2
  34. package/Map/PureMap/MarkerWrapper.d.ts.map +1 -1
  35. package/Map/PureMap/PureMap.d.ts +1 -0
  36. package/Map/PureMap/PureMap.d.ts.map +1 -1
  37. package/Map/PureMap/PureMapContainer.d.ts.map +1 -1
  38. package/Map/PureMap/Tooltip.d.ts +6 -1
  39. package/Map/PureMap/Tooltip.d.ts.map +1 -1
  40. package/Map/PureMap/keyboardConstants.d.ts +11 -0
  41. package/Map/PureMap/keyboardConstants.d.ts.map +1 -0
  42. package/Map/PureMap/useRovingTabindex.d.ts +18 -0
  43. package/Map/PureMap/useRovingTabindex.d.ts.map +1 -0
  44. package/Map.js +1317 -478
  45. package/Map.js.map +4 -4
  46. package/Markdown/Markdown.d.ts.map +1 -1
  47. package/Markdown.js +23 -6
  48. package/Markdown.js.map +2 -2
  49. package/MarkerGauge.js +2 -2
  50. package/NetworkGraph/NetworkGraph.d.ts +2 -5
  51. package/NetworkGraph/NetworkGraph.d.ts.map +1 -1
  52. package/NetworkGraph/PureNetworkGraph/PureNetworkGraph.d.ts.map +1 -1
  53. package/NetworkGraph/PureNetworkGraph/components/NetworkGraphSvg.d.ts +1 -0
  54. package/NetworkGraph/PureNetworkGraph/components/NetworkGraphSvg.d.ts.map +1 -1
  55. package/NetworkGraph/PureNetworkGraph/components/Node.d.ts +1 -0
  56. package/NetworkGraph/PureNetworkGraph/components/Node.d.ts.map +1 -1
  57. package/NetworkGraph/PureNetworkGraph/components/Tooltip.d.ts +1 -1
  58. package/NetworkGraph/PureNetworkGraph/components/Tooltip.d.ts.map +1 -1
  59. package/NetworkGraph/PureNetworkGraph/components/ZoomControls.d.ts +1 -0
  60. package/NetworkGraph/PureNetworkGraph/components/ZoomControls.d.ts.map +1 -1
  61. package/NetworkGraph/PureNetworkGraph/utils/networkGraphUtils.d.ts +23 -0
  62. package/NetworkGraph/PureNetworkGraph/utils/networkGraphUtils.d.ts.map +1 -1
  63. package/NetworkGraph.config.js +2 -0
  64. package/NetworkGraph.config.js.map +2 -2
  65. package/NetworkGraph.js +353 -40
  66. package/NetworkGraph.js.map +4 -4
  67. package/ParallelCoordinates.js +2 -2
  68. package/Pie.js +2 -2
  69. package/ProcessTree/ProcessTree.d.ts +3 -1
  70. package/ProcessTree/ProcessTree.d.ts.map +1 -1
  71. package/ProcessTree/PureProcessTree/PureProcessTree.d.ts +1 -0
  72. package/ProcessTree/PureProcessTree/PureProcessTree.d.ts.map +1 -1
  73. package/ProcessTree/PureProcessTree/components/ProcessTreeLeftPanel.d.ts +2 -0
  74. package/ProcessTree/PureProcessTree/components/ProcessTreeLeftPanel.d.ts.map +1 -1
  75. package/ProcessTree/PureProcessTree/components/ProcessTreeRightPanel.d.ts.map +1 -1
  76. package/ProcessTree/PureProcessTree/hooks/useProcessTreeGraphData.d.ts +3 -1
  77. package/ProcessTree/PureProcessTree/hooks/useProcessTreeGraphData.d.ts.map +1 -1
  78. package/ProcessTree/PureProcessTree/mockdata/data.d.ts.map +1 -1
  79. package/ProcessTree/PureProcessTree/utils/processTreeUtils.d.ts +3 -1
  80. package/ProcessTree/PureProcessTree/utils/processTreeUtils.d.ts.map +1 -1
  81. package/ProcessTree.js +101 -31
  82. package/ProcessTree.js.map +3 -3
  83. package/Punchcard.js +2 -2
  84. package/README.md +2 -0
  85. package/Rectangle.js +2 -2
  86. package/RichText.js +2 -2
  87. package/Sankey.js +2 -2
  88. package/Scatter.js +2 -2
  89. package/SingleValue.js +368 -471
  90. package/SingleValue.js.map +4 -4
  91. package/SingleValueIcon.js +2 -2
  92. package/SingleValueRadial.js +2 -2
  93. package/SparkLine/SparkLine.d.ts +57 -0
  94. package/SparkLine/SparkLine.d.ts.map +1 -0
  95. package/SparkLine/index.d.ts +1 -1
  96. package/SparkLine/index.d.ts.map +1 -1
  97. package/SparkLine.js +384 -485
  98. package/SparkLine.js.map +4 -4
  99. package/Table/PureTable.d.ts.map +1 -1
  100. package/Table/hooks.d.ts +1 -1
  101. package/Table/hooks.d.ts.map +1 -1
  102. package/Table.js +391 -493
  103. package/Table.js.map +4 -4
  104. package/Timeline.js +2 -2
  105. package/common/OptionsDoc.js.map +1 -1
  106. package/common/utils/mapUtils.js +512 -179
  107. package/common/utils/mapUtils.js.map +4 -4
  108. package/common/utils/shadowDomUtils.d.ts +2 -0
  109. package/common/utils/shadowDomUtils.d.ts.map +1 -0
  110. package/common/utils/shadowDomUtils.js +39 -0
  111. package/common/utils/shadowDomUtils.js.map +7 -0
  112. package/common/withDashboardViz.js +2 -2
  113. package/docs-llm/INDEX.md +118 -0
  114. package/docs-llm/area/examples-json.md +3854 -0
  115. package/docs-llm/area/examples-react.md +2816 -0
  116. package/docs-llm/area/options.md +97 -0
  117. package/docs-llm/area/overview.md +27 -0
  118. package/docs-llm/bar/examples-json.md +3380 -0
  119. package/docs-llm/bar/examples-react.md +2352 -0
  120. package/docs-llm/bar/options.md +89 -0
  121. package/docs-llm/bar/overview.md +25 -0
  122. package/docs-llm/bubble/examples-json.md +4082 -0
  123. package/docs-llm/bubble/examples-react.md +3977 -0
  124. package/docs-llm/bubble/options.md +62 -0
  125. package/docs-llm/bubble/overview.md +26 -0
  126. package/docs-llm/choropleth-svg/examples-json.md +397 -0
  127. package/docs-llm/choropleth-svg/examples-react.md +389 -0
  128. package/docs-llm/choropleth-svg/options.md +15 -0
  129. package/docs-llm/choropleth-svg/overview.md +23 -0
  130. package/docs-llm/column/examples-json.md +3898 -0
  131. package/docs-llm/column/examples-react.md +2653 -0
  132. package/docs-llm/column/options.md +94 -0
  133. package/docs-llm/column/overview.md +31 -0
  134. package/docs-llm/dsl/examples-json.md +43 -0
  135. package/docs-llm/dsl/examples-react.md +78 -0
  136. package/docs-llm/dsl/formatters/format-by-type-examples-json.md +58 -0
  137. package/docs-llm/dsl/formatters/format-by-type-examples-react.md +43 -0
  138. package/docs-llm/dsl/formatters/format-by-type.md +38 -0
  139. package/docs-llm/dsl/formatters/frame-examples-json.md +42 -0
  140. package/docs-llm/dsl/formatters/frame-examples-react.md +24 -0
  141. package/docs-llm/dsl/formatters/frame.md +6 -0
  142. package/docs-llm/dsl/formatters/gradient-examples-json.md +98 -0
  143. package/docs-llm/dsl/formatters/gradient-examples-react.md +44 -0
  144. package/docs-llm/dsl/formatters/gradient.md +23 -0
  145. package/docs-llm/dsl/formatters/lerp-examples-json.md +40 -0
  146. package/docs-llm/dsl/formatters/lerp-examples-react.md +28 -0
  147. package/docs-llm/dsl/formatters/lerp.md +19 -0
  148. package/docs-llm/dsl/formatters/match-value-examples-json.md +65 -0
  149. package/docs-llm/dsl/formatters/match-value-examples-react.md +37 -0
  150. package/docs-llm/dsl/formatters/match-value.md +13 -0
  151. package/docs-llm/dsl/formatters/max-contrast-examples-json.md +39 -0
  152. package/docs-llm/dsl/formatters/max-contrast-examples-react.md +27 -0
  153. package/docs-llm/dsl/formatters/max-contrast.md +9 -0
  154. package/docs-llm/dsl/formatters/multi-format-examples-json.md +67 -0
  155. package/docs-llm/dsl/formatters/multi-format-examples-react.md +49 -0
  156. package/docs-llm/dsl/formatters/multi-format.md +12 -0
  157. package/docs-llm/dsl/formatters/objects-examples-json.md +49 -0
  158. package/docs-llm/dsl/formatters/objects-examples-react.md +37 -0
  159. package/docs-llm/dsl/formatters/objects.md +3 -0
  160. package/docs-llm/dsl/formatters/pick-examples-json.md +59 -0
  161. package/docs-llm/dsl/formatters/pick-examples-react.md +30 -0
  162. package/docs-llm/dsl/formatters/pick.md +9 -0
  163. package/docs-llm/dsl/formatters/prefix-examples-json.md +29 -0
  164. package/docs-llm/dsl/formatters/prefix-examples-react.md +19 -0
  165. package/docs-llm/dsl/formatters/prefix.md +3 -0
  166. package/docs-llm/dsl/formatters/prepend-examples-json.md +51 -0
  167. package/docs-llm/dsl/formatters/prepend-examples-react.md +33 -0
  168. package/docs-llm/dsl/formatters/prepend.md +9 -0
  169. package/docs-llm/dsl/formatters/range-value-examples-json.md +48 -0
  170. package/docs-llm/dsl/formatters/range-value-examples-react.md +34 -0
  171. package/docs-llm/dsl/formatters/range-value.md +15 -0
  172. package/docs-llm/dsl/formatters/set-color-channel-examples-json.md +40 -0
  173. package/docs-llm/dsl/formatters/set-color-channel-examples-react.md +31 -0
  174. package/docs-llm/dsl/formatters/set-color-channel.md +9 -0
  175. package/docs-llm/dsl/formatters/suffix-examples-json.md +29 -0
  176. package/docs-llm/dsl/formatters/suffix-examples-react.md +19 -0
  177. package/docs-llm/dsl/formatters/suffix.md +3 -0
  178. package/docs-llm/dsl/formatters/type-examples-json.md +37 -0
  179. package/docs-llm/dsl/formatters/type-examples-react.md +20 -0
  180. package/docs-llm/dsl/formatters/type.md +3 -0
  181. package/docs-llm/dsl/overview.md +41 -0
  182. package/docs-llm/dsl/selectors/abs.md +7 -0
  183. package/docs-llm/dsl/selectors/ceil.md +7 -0
  184. package/docs-llm/dsl/selectors/data-frame-average-examples-json.md +41 -0
  185. package/docs-llm/dsl/selectors/data-frame-average-examples-react.md +36 -0
  186. package/docs-llm/dsl/selectors/data-frame-average.md +7 -0
  187. package/docs-llm/dsl/selectors/data-frame-count-examples-json.md +41 -0
  188. package/docs-llm/dsl/selectors/data-frame-count-examples-react.md +36 -0
  189. package/docs-llm/dsl/selectors/data-frame-count.md +7 -0
  190. package/docs-llm/dsl/selectors/data-frame-examples-json.md +830 -0
  191. package/docs-llm/dsl/selectors/data-frame-examples-react.md +929 -0
  192. package/docs-llm/dsl/selectors/data-frame-get-field-examples-json.md +89 -0
  193. package/docs-llm/dsl/selectors/data-frame-get-field-examples-react.md +124 -0
  194. package/docs-llm/dsl/selectors/data-frame-get-field.md +5 -0
  195. package/docs-llm/dsl/selectors/data-frame-get-raw-value.md +5 -0
  196. package/docs-llm/dsl/selectors/data-frame-get-type.md +5 -0
  197. package/docs-llm/dsl/selectors/data-frame-get-value.md +5 -0
  198. package/docs-llm/dsl/selectors/data-frame-max-examples-json.md +51 -0
  199. package/docs-llm/dsl/selectors/data-frame-max-examples-react.md +41 -0
  200. package/docs-llm/dsl/selectors/data-frame-max.md +7 -0
  201. package/docs-llm/dsl/selectors/data-frame-min-examples-json.md +51 -0
  202. package/docs-llm/dsl/selectors/data-frame-min-examples-react.md +41 -0
  203. package/docs-llm/dsl/selectors/data-frame-min.md +7 -0
  204. package/docs-llm/dsl/selectors/data-frame-percentile-examples-json.md +41 -0
  205. package/docs-llm/dsl/selectors/data-frame-percentile-examples-react.md +36 -0
  206. package/docs-llm/dsl/selectors/data-frame-percentile.md +8 -0
  207. package/docs-llm/dsl/selectors/data-frame-set-value.md +5 -0
  208. package/docs-llm/dsl/selectors/data-frame-sum-examples-json.md +51 -0
  209. package/docs-llm/dsl/selectors/data-frame-sum-examples-react.md +41 -0
  210. package/docs-llm/dsl/selectors/data-frame-sum.md +7 -0
  211. package/docs-llm/dsl/selectors/data-frame.md +4 -0
  212. package/docs-llm/dsl/selectors/data-point-get-field.md +5 -0
  213. package/docs-llm/dsl/selectors/data-point-get-raw-value.md +4 -0
  214. package/docs-llm/dsl/selectors/data-point-get-type.md +5 -0
  215. package/docs-llm/dsl/selectors/data-point-get-value.md +5 -0
  216. package/docs-llm/dsl/selectors/data-point-set-value.md +4 -0
  217. package/docs-llm/dsl/selectors/data-point.md +5 -0
  218. package/docs-llm/dsl/selectors/data-series-average.md +22 -0
  219. package/docs-llm/dsl/selectors/data-series-count.md +14 -0
  220. package/docs-llm/dsl/selectors/data-series-get-field.md +5 -0
  221. package/docs-llm/dsl/selectors/data-series-get-raw-value.md +4 -0
  222. package/docs-llm/dsl/selectors/data-series-get-type.md +5 -0
  223. package/docs-llm/dsl/selectors/data-series-get-value.md +4 -0
  224. package/docs-llm/dsl/selectors/data-series-max.md +5 -0
  225. package/docs-llm/dsl/selectors/data-series-min.md +5 -0
  226. package/docs-llm/dsl/selectors/data-series-percentile.md +17 -0
  227. package/docs-llm/dsl/selectors/data-series-set-value.md +4 -0
  228. package/docs-llm/dsl/selectors/data-series-sum.md +24 -0
  229. package/docs-llm/dsl/selectors/data-series.md +4 -0
  230. package/docs-llm/dsl/selectors/delta.md +7 -0
  231. package/docs-llm/dsl/selectors/divide.md +8 -0
  232. package/docs-llm/dsl/selectors/first-point.md +5 -0
  233. package/docs-llm/dsl/selectors/floor.md +7 -0
  234. package/docs-llm/dsl/selectors/frame-by-series-index-range-examples-json.md +89 -0
  235. package/docs-llm/dsl/selectors/frame-by-series-index-range-examples-react.md +88 -0
  236. package/docs-llm/dsl/selectors/frame-by-series-index-range.md +10 -0
  237. package/docs-llm/dsl/selectors/frame-by-series-indexes-examples-json.md +88 -0
  238. package/docs-llm/dsl/selectors/frame-by-series-indexes-examples-react.md +87 -0
  239. package/docs-llm/dsl/selectors/frame-by-series-indexes.md +9 -0
  240. package/docs-llm/dsl/selectors/frame-by-series-names-examples-json.md +89 -0
  241. package/docs-llm/dsl/selectors/frame-by-series-names-examples-react.md +88 -0
  242. package/docs-llm/dsl/selectors/frame-by-series-names-or-indexes-examples-json.md +89 -0
  243. package/docs-llm/dsl/selectors/frame-by-series-names-or-indexes-examples-react.md +88 -0
  244. package/docs-llm/dsl/selectors/frame-by-series-names-or-indexes.md +9 -0
  245. package/docs-llm/dsl/selectors/frame-by-series-names.md +9 -0
  246. package/docs-llm/dsl/selectors/frame-by-series-types-examples-json.md +89 -0
  247. package/docs-llm/dsl/selectors/frame-by-series-types-examples-react.md +88 -0
  248. package/docs-llm/dsl/selectors/frame-by-series-types.md +9 -0
  249. package/docs-llm/dsl/selectors/frame-without-internal-fields-examples-json.md +137 -0
  250. package/docs-llm/dsl/selectors/frame-without-internal-fields-examples-react.md +135 -0
  251. package/docs-llm/dsl/selectors/frame-without-internal-fields-except-examples-json.md +157 -0
  252. package/docs-llm/dsl/selectors/frame-without-internal-fields-except-examples-react.md +155 -0
  253. package/docs-llm/dsl/selectors/frame-without-internal-fields-except.md +21 -0
  254. package/docs-llm/dsl/selectors/frame-without-internal-fields.md +17 -0
  255. package/docs-llm/dsl/selectors/frame-without-series-names.md +8 -0
  256. package/docs-llm/dsl/selectors/last-point.md +5 -0
  257. package/docs-llm/dsl/selectors/minus.md +8 -0
  258. package/docs-llm/dsl/selectors/multiply.md +8 -0
  259. package/docs-llm/dsl/selectors/plus.md +8 -0
  260. package/docs-llm/dsl/selectors/point-by-index.md +6 -0
  261. package/docs-llm/dsl/selectors/points-by-indexes.md +6 -0
  262. package/docs-llm/dsl/selectors/round.md +7 -0
  263. package/docs-llm/dsl/selectors/series-by-index-examples-json.md +49 -0
  264. package/docs-llm/dsl/selectors/series-by-index-examples-react.md +39 -0
  265. package/docs-llm/dsl/selectors/series-by-index.md +8 -0
  266. package/docs-llm/dsl/selectors/series-by-name-examples-json.md +49 -0
  267. package/docs-llm/dsl/selectors/series-by-name-examples-react.md +39 -0
  268. package/docs-llm/dsl/selectors/series-by-name.md +8 -0
  269. package/docs-llm/dsl/selectors/series-by-prioritized-types-examples-json.md +47 -0
  270. package/docs-llm/dsl/selectors/series-by-prioritized-types-examples-react.md +39 -0
  271. package/docs-llm/dsl/selectors/series-by-prioritized-types.md +10 -0
  272. package/docs-llm/dsl/selectors/series-by-type-examples-json.md +49 -0
  273. package/docs-llm/dsl/selectors/series-by-type-examples-react.md +39 -0
  274. package/docs-llm/dsl/selectors/series-by-type.md +10 -0
  275. package/docs-llm/dsl/selectors/series-by-types.md +6 -0
  276. package/docs-llm/ellipse/examples-json.md +5 -0
  277. package/docs-llm/ellipse/examples-react.md +5 -0
  278. package/docs-llm/ellipse/options.md +16 -0
  279. package/docs-llm/ellipse/overview.md +5 -0
  280. package/docs-llm/events/examples-json.md +705 -0
  281. package/docs-llm/events/examples-react.md +536 -0
  282. package/docs-llm/events/options.md +18 -0
  283. package/docs-llm/events/overview.md +5 -0
  284. package/docs-llm/filler-gauge/examples-json.md +376 -0
  285. package/docs-llm/filler-gauge/examples-react.md +274 -0
  286. package/docs-llm/filler-gauge/options.md +26 -0
  287. package/docs-llm/filler-gauge/overview.md +5 -0
  288. package/docs-llm/image/examples-json.md +39 -0
  289. package/docs-llm/image/examples-react.md +65 -0
  290. package/docs-llm/image/options.md +13 -0
  291. package/docs-llm/image/overview.md +5 -0
  292. package/docs-llm/line/examples-json.md +3724 -0
  293. package/docs-llm/line/examples-react.md +2683 -0
  294. package/docs-llm/line/options.md +95 -0
  295. package/docs-llm/line/overview.md +29 -0
  296. package/docs-llm/link-graph/examples-json.md +5 -0
  297. package/docs-llm/link-graph/examples-react.md +5 -0
  298. package/docs-llm/link-graph/options.md +26 -0
  299. package/docs-llm/link-graph/overview.md +16 -0
  300. package/docs-llm/map/examples-json.md +13973 -0
  301. package/docs-llm/map/examples-react.md +6154 -0
  302. package/docs-llm/map/options.md +22 -0
  303. package/docs-llm/map/overview.md +32 -0
  304. package/docs-llm/markdown/examples-json.md +63 -0
  305. package/docs-llm/markdown/examples-react.md +98 -0
  306. package/docs-llm/markdown/options.md +17 -0
  307. package/docs-llm/markdown/overview.md +5 -0
  308. package/docs-llm/marker-gauge/examples-json.md +436 -0
  309. package/docs-llm/marker-gauge/examples-react.md +367 -0
  310. package/docs-llm/marker-gauge/options.md +26 -0
  311. package/docs-llm/marker-gauge/overview.md +5 -0
  312. package/docs-llm/network-graph/examples-json.md +8843 -0
  313. package/docs-llm/network-graph/examples-react.md +7339 -0
  314. package/docs-llm/network-graph/options.md +50 -0
  315. package/docs-llm/network-graph/overview.md +28 -0
  316. package/docs-llm/parallel-coordinates/examples-json.md +8376 -0
  317. package/docs-llm/parallel-coordinates/examples-react.md +2771 -0
  318. package/docs-llm/parallel-coordinates/options.md +14 -0
  319. package/docs-llm/parallel-coordinates/overview.md +22 -0
  320. package/docs-llm/pie/examples-json.md +851 -0
  321. package/docs-llm/pie/examples-react.md +606 -0
  322. package/docs-llm/pie/options.md +34 -0
  323. package/docs-llm/pie/overview.md +23 -0
  324. package/docs-llm/process-tree/options.md +32 -0
  325. package/docs-llm/punchcard/examples-json.md +6134 -0
  326. package/docs-llm/punchcard/examples-react.md +4562 -0
  327. package/docs-llm/punchcard/options.md +33 -0
  328. package/docs-llm/punchcard/overview.md +5 -0
  329. package/docs-llm/pure-rich-text/options.md +28 -0
  330. package/docs-llm/rectangle/examples-json.md +5 -0
  331. package/docs-llm/rectangle/examples-react.md +5 -0
  332. package/docs-llm/rectangle/options.md +19 -0
  333. package/docs-llm/rectangle/overview.md +5 -0
  334. package/docs-llm/rich-text/examples-json.md +96 -0
  335. package/docs-llm/rich-text/examples-react.md +119 -0
  336. package/docs-llm/rich-text/options.md +28 -0
  337. package/docs-llm/rich-text/overview.md +5 -0
  338. package/docs-llm/sankey/examples-json.md +844 -0
  339. package/docs-llm/sankey/examples-react.md +546 -0
  340. package/docs-llm/sankey/options.md +19 -0
  341. package/docs-llm/sankey/overview.md +24 -0
  342. package/docs-llm/scatter/examples-json.md +4012 -0
  343. package/docs-llm/scatter/examples-react.md +3914 -0
  344. package/docs-llm/scatter/options.md +68 -0
  345. package/docs-llm/scatter/overview.md +25 -0
  346. package/docs-llm/single-value/examples-json.md +2613 -0
  347. package/docs-llm/single-value/examples-react.md +2296 -0
  348. package/docs-llm/single-value/options.md +49 -0
  349. package/docs-llm/single-value/overview.md +23 -0
  350. package/docs-llm/single-value-icon/examples-json.md +1686 -0
  351. package/docs-llm/single-value-icon/examples-react.md +1573 -0
  352. package/docs-llm/single-value-icon/options.md +43 -0
  353. package/docs-llm/single-value-icon/overview.md +5 -0
  354. package/docs-llm/single-value-radial/examples-json.md +1178 -0
  355. package/docs-llm/single-value-radial/examples-react.md +1028 -0
  356. package/docs-llm/single-value-radial/options.md +41 -0
  357. package/docs-llm/single-value-radial/overview.md +5 -0
  358. package/docs-llm/table/examples-json.md +5 -0
  359. package/docs-llm/table/examples-react.md +5 -0
  360. package/docs-llm/table/options.md +25 -0
  361. package/docs-llm/table/overview.md +24 -0
  362. package/docs-llm/timeline/examples-json.md +5 -0
  363. package/docs-llm/timeline/examples-react.md +5 -0
  364. package/docs-llm/timeline/options.md +27 -0
  365. package/docs-llm/timeline/overview.md +24 -0
  366. package/package.json +28 -24
@@ -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
+ ```