@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,929 @@
1
+ # DataFrame Selectors Examples
2
+
3
+ ## Example 1
4
+
5
+ ```jsx
6
+ <Table
7
+ options={{
8
+ table: '> primary | frameBySeriesIndexes(0,1,3)'
9
+ }},
10
+ dataSources={{
11
+ primary: {
12
+ data: {
13
+ fields: [
14
+ {
15
+ name: 'Name'
16
+ },
17
+ {
18
+ name: 'UserID'
19
+ },
20
+ {
21
+ name: 'Money Spent'
22
+ },
23
+ {
24
+ name: 'Most Recent Game'
25
+ }
26
+ ],
27
+ columns: [
28
+ [
29
+ 'Ms. Herman Beer',
30
+ 'Crystal Ziemann',
31
+ 'Phil Bartoletti',
32
+ 'Janis Kiehn V',
33
+ 'Angel Krajcik',
34
+ 'Patti Hodkiewicz IV',
35
+ 'Joanne Emmerich',
36
+ 'Jay Renner',
37
+ 'Ora Borer',
38
+ 'Dr. Bradford Gulgowski'
39
+ ],
40
+ [
41
+ 'Enrico98',
42
+ 'Taylor_Parker83',
43
+ 'Candice_Carroll',
44
+ 'Yolanda_McLaughlin95',
45
+ 'Modesto84',
46
+ 'Elwin52',
47
+ 'Francis8',
48
+ 'Charley.Feeney85',
49
+ 'Jensen_Jacobson74',
50
+ 'Dora_Volkman'
51
+ ],
52
+ [
53
+ 9740890.83,
54
+ 2107983.52,
55
+ 5467223.67,
56
+ 9529184.93,
57
+ 9692275.78,
58
+ 5692737.43,
59
+ 1001734.82,
60
+ 3848531.8,
61
+ 3848531.8
62
+ ],
63
+ [
64
+ '2020-04-12T06:32:08-07:00',
65
+ '2020-06-06T16:14:04-07:00',
66
+ '2020-02-12T09:43:25-08:00',
67
+ '2020-07-25T13:19:49-07:00',
68
+ '2020-03-16T21:46:40-07:00',
69
+ '2020-08-21T08:38:55-07:00',
70
+ '2020-09-26T16:06:03-07:00',
71
+ '2020-08-10T14:54:16-07:00',
72
+ '2020-08-11T16:49:24-07:00',
73
+ '2020-09-29T03:52:51-07:00'
74
+ ]
75
+ ]
76
+ },
77
+ meta: {
78
+ totalCount: 100
79
+ },
80
+ requestParams: {
81
+ count: 10,
82
+ offset: 0
83
+ }
84
+ }
85
+ }}
86
+ />
87
+
88
+ Select a DataSeries by specifying the index of the series you want to return.
89
+ @public
90
+ @param {number} index
91
+ @returns {DataSeries<DataType>}
92
+
93
+ The following code sample shows how to use seriesByIndex to display the second series in a data source as a single value.
94
+ ```
95
+
96
+ ## Example 2
97
+
98
+ ```jsx
99
+ <Table
100
+ options={{
101
+ table: '> primary | frameBySeriesIndexRange(0,2)'
102
+ }},
103
+ dataSources={{
104
+ primary: {
105
+ data: {
106
+ fields: [
107
+ {
108
+ name: 'Name'
109
+ },
110
+ {
111
+ name: 'UserID'
112
+ },
113
+ {
114
+ name: 'Money Spent'
115
+ },
116
+ {
117
+ name: 'Most Recent Game'
118
+ },
119
+ ],
120
+ columns: [
121
+ [
122
+ 'Ms. Herman Beer',
123
+ 'Crystal Ziemann',
124
+ 'Phil Bartoletti',
125
+ 'Janis Kiehn V',
126
+ 'Angel Krajcik',
127
+ 'Patti Hodkiewicz IV',
128
+ 'Joanne Emmerich',
129
+ 'Jay Renner',
130
+ 'Ora Borer',
131
+ 'Dr. Bradford Gulgowski'
132
+ ],
133
+ [
134
+ 'Enrico98',
135
+ 'Taylor_Parker83',
136
+ 'Candice_Carroll',
137
+ 'Yolanda_McLaughlin95',
138
+ 'Modesto84',
139
+ 'Elwin52',
140
+ 'Francis8',
141
+ 'Charley.Feeney85',
142
+ 'Jensen_Jacobson74',
143
+ 'Dora_Volkman'
144
+ ],
145
+ [
146
+ 9740890.83,
147
+ 2107983.52,
148
+ 5467223.67,
149
+ 9529184.93,
150
+ 9692275.78,
151
+ 9395814.7,
152
+ 5692737.43,
153
+ 1001734.82,
154
+ 3848531.8,
155
+ 1691776.38
156
+ ],
157
+ [
158
+ '2020-04-12T06:32:08-07:00',
159
+ '2020-06-06T16:14:04-07:00',
160
+ '2020-02-12T09:43:25-08:00',
161
+ '2020-07-25T13:19:49-07:00',
162
+ '2020-03-16T21:46:40-07:00',
163
+ '2020-08-21T08:38:55-07:00',
164
+ '2020-09-26T16:06:03-07:00',
165
+ '2020-08-10T14:54:16-07:00',
166
+ '2020-08-11T16:49:24-07:00',
167
+ '2020-09-29T03:52:51-07:00'
168
+ ]
169
+ ]
170
+ },
171
+ meta: {
172
+ totalCount: 100
173
+ },
174
+ requestParams: {
175
+ count: 10,
176
+ offset: 0
177
+ }
178
+ }
179
+ }}
180
+ />
181
+
182
+ Filter a DataFrame by specifying the names of the DataSeries you would like to return.
183
+ For example, `frameBySeriesNames(first_name, second_name, ...)`, where at least one series name is required.
184
+ @public
185
+ @param {string[]} names
186
+ @returns {DataFrame<DataType>}
187
+
188
+ The following code sample shows how to use frameBySeriesNames to render a table with the Name and Money Spent columns in the data source.
189
+ ```
190
+
191
+ ## Example 3
192
+
193
+ ```jsx
194
+ <Table
195
+ options={{
196
+ table: '> primary | frameWithoutInternalFields()'
197
+ }},
198
+ dataSources={{
199
+ primary: {
200
+ data: {
201
+ fields: [
202
+ {
203
+ name: 'Name'
204
+ },
205
+ {
206
+ name: 'UserID'
207
+ },
208
+ {
209
+ name: '_time'
210
+ },
211
+ {
212
+ name: '_span'
213
+ },
214
+ ],
215
+ columns: [
216
+ [
217
+ 'Ms. Herman Beer',
218
+ 'Crystal Ziemann',
219
+ 'Jay Renner',
220
+ 'Ora Borer',
221
+ 'Dr. Bradford Gulgowski'
222
+ ],
223
+ [
224
+ 'Enrico98',
225
+ 'Taylor_Parker83',
226
+ 'Charley.Feeney85',
227
+ 'Jensen_Jacobson74',
228
+ 'Dora_Volkman'
229
+ ],
230
+ [
231
+ '2020-04-12T06:32:08-07:00',
232
+ '2020-06-06T16:14:04-07:00',
233
+ '2020-08-10T14:54:16-07:00',
234
+ '2020-08-11T16:49:24-07:00',
235
+ '2020-09-29T03:52:51-07:00'
236
+ ],
237
+ [
238
+ '1800',
239
+ '1800',
240
+ '1800',
241
+ '1800',
242
+ '1800'
243
+ ]
244
+ ]
245
+ },
246
+ meta: {
247
+ totalCount: 100
248
+ },
249
+ requestParams: {
250
+ count: 10,
251
+ offset: 0
252
+ }
253
+ }
254
+ }}
255
+ />
256
+ ```
257
+
258
+ ## Example 4
259
+
260
+ ```jsx
261
+ <SingleValue
262
+ options={{
263
+ "majorValue": "> primary | frameWithoutInternalFields() | seriesByIndex(0) | lastPoint()"
264
+ }},
265
+ dataSources={{
266
+ primary: {
267
+ data: {
268
+ fields: [
269
+ {
270
+ name: '_time'
271
+ },
272
+ {
273
+ name: '_span'
274
+ },
275
+ {
276
+ name: 'Name'
277
+ },
278
+ {
279
+ name: 'UserID'
280
+ }
281
+ ],
282
+ columns: [
283
+ [
284
+ '2020-04-12T06:32:08-07:00',
285
+ '2020-06-06T16:14:04-07:00',
286
+ '2020-08-10T14:54:16-07:00',
287
+ '2020-08-11T16:49:24-07:00',
288
+ '2020-09-29T03:52:51-07:00'
289
+ ],
290
+ [
291
+ '1800',
292
+ '1800',
293
+ '1800',
294
+ '1800',
295
+ '1800'
296
+ ],
297
+ [
298
+ 'Patti Hodkiewicz IV',
299
+ 'Joanne Emmerich',
300
+ 'Jay Renner',
301
+ 'Ora Borer',
302
+ 'Dr. Bradford Gulgowski'
303
+ ],
304
+ [
305
+ 'Elwin52',
306
+ 'Francis8',
307
+ 'Charley.Feeney85',
308
+ 'Jensen_Jacobson74',
309
+ 'Dora_Volkman'
310
+ ]
311
+ ]
312
+ },
313
+ meta: {
314
+ totalCount: 100
315
+ },
316
+ requestParams: {
317
+ count: 10,
318
+ offset: 0
319
+ }
320
+ }
321
+ }}
322
+ />
323
+ ```
324
+
325
+ ## Example 5
326
+
327
+ ```jsx
328
+ <Table
329
+ options={{
330
+ table: "> primary | frameWithoutInternalFieldsExcept('_time', '_span')"
331
+ }},
332
+ dataSources={{
333
+ primary: {
334
+ data: {
335
+ fields: [
336
+ {
337
+ name: 'Name'
338
+ },
339
+ {
340
+ name: 'UserID'
341
+ },
342
+ {
343
+ name: '_time'
344
+ },
345
+ {
346
+ name: '_span'
347
+ },
348
+ {
349
+ name: '_raw'
350
+ },
351
+ ],
352
+ columns: [
353
+ [
354
+ 'Ms. Herman Beer',
355
+ 'Joanne Emmerich',
356
+ 'Jay Renner',
357
+ 'Ora Borer',
358
+ 'Dr. Bradford Gulgowski'
359
+ ],
360
+ [
361
+ 'Enrico98',
362
+ 'Francis8',
363
+ 'Charley.Feeney85',
364
+ 'Jensen_Jacobson74',
365
+ 'Dora_Volkman'
366
+ ],
367
+ [
368
+ '2020-04-12T06:32:08-07:00',
369
+ '2020-09-26T16:06:03-07:00',
370
+ '2020-08-10T14:54:16-07:00',
371
+ '2020-08-11T16:49:24-07:00',
372
+ '2020-09-29T03:52:51-07:00'
373
+ ],
374
+ [
375
+ '1800',
376
+ '1800',
377
+ '1800',
378
+ '1800',
379
+ '1800'
380
+ ],
381
+ [
382
+ '2020-04-12T06:32:08-07:00',
383
+ '2020-09-26T16:06:03-07:00',
384
+ '2020-08-10T14:54:16-07:00',
385
+ '2020-08-11T16:49:24-07:00',
386
+ '2020-09-29T03:52:51-07:00'
387
+ ]
388
+ ]
389
+ },
390
+ meta: {
391
+ totalCount: 100
392
+ },
393
+ requestParams: {
394
+ count: 10,
395
+ offset: 0
396
+ }
397
+ }
398
+ }}
399
+ />
400
+ ```
401
+
402
+ ## Example 6
403
+
404
+ ```jsx
405
+ <SingleValue
406
+ options={{
407
+ "majorValue": "> primary | frameWithoutInternalFieldsExcept('_time') | seriesByIndex(1) | lastPoint()"
408
+ }},
409
+ dataSources={{
410
+ primary: {
411
+ data: {
412
+ fields: [
413
+ {
414
+ name: '_time'
415
+ },
416
+ {
417
+ name: '_span'
418
+ },
419
+ {
420
+ name: '_raw'
421
+ },
422
+ {
423
+ name: 'Name'
424
+ },
425
+ {
426
+ name: 'UserID'
427
+ }
428
+ ],
429
+ columns: [
430
+ [
431
+ '2020-04-12T06:32:08-07:00',
432
+ '2020-09-26T16:06:03-07:00',
433
+ '2020-08-10T14:54:16-07:00',
434
+ '2020-08-11T16:49:24-07:00',
435
+ '2020-09-29T03:52:51-07:00'
436
+ ],
437
+ [
438
+ '1800',
439
+ '1800',
440
+ '1800',
441
+ '1800',
442
+ '1800'
443
+ ],
444
+ [
445
+ '2020-04-12T06:32:08-07:00',
446
+ '2020-06-06T16:14:04-07:00',
447
+ '2020-08-10T14:54:16-07:00',
448
+ '2020-08-11T16:49:24-07:00',
449
+ '2020-09-29T03:52:51-07:00'
450
+ ],
451
+ [
452
+ 'Ms. Herman Beer',
453
+ 'Crystal Ziemann',
454
+ 'Angel Krajcik',
455
+ 'Jay Renner',
456
+ 'Dr. Bradford Gulgowski'
457
+ ],
458
+ [
459
+ 'Candice_Carroll',
460
+ 'Elwin52',
461
+ 'Francis8',
462
+ 'Charley.Feeney85',
463
+ 'Dora_Volkman'
464
+ ]
465
+ ]
466
+ },
467
+ meta: {
468
+ totalCount: 100
469
+ },
470
+ requestParams: {
471
+ count: 10,
472
+ offset: 0
473
+ }
474
+ }
475
+ }}
476
+ />
477
+ ```
478
+
479
+ ## Example 7
480
+
481
+ ```jsx
482
+ <Table
483
+ options={{
484
+ table: '> primary | frameBySeriesNamesOrIndexes("Name", 3)'
485
+ }},
486
+ dataSources={{
487
+ primary: {
488
+ data: {
489
+ fields: [
490
+ {
491
+ name: 'Name'
492
+ },
493
+ {
494
+ name: 'UserID'
495
+ },
496
+ {
497
+ name: 'Money Spent'
498
+ },
499
+ {
500
+ name: 'Most Recent Game'
501
+ },
502
+ ],
503
+ columns: [
504
+ [
505
+ 'Ms. Herman Beer',
506
+ 'Crystal Ziemann',
507
+ 'Phil Bartoletti',
508
+ 'Janis Kiehn V',
509
+ 'Angel Krajcik',
510
+ 'Patti Hodkiewicz IV',
511
+ 'Joanne Emmerich',
512
+ 'Jay Renner',
513
+ 'Ora Borer',
514
+ 'Dr. Bradford Gulgowski'
515
+ ],
516
+ [
517
+ 'Enrico98',
518
+ 'Taylor_Parker83',
519
+ 'Candice_Carroll',
520
+ 'Yolanda_McLaughlin95',
521
+ 'Modesto84',
522
+ 'Elwin52',
523
+ 'Francis8',
524
+ 'Charley.Feeney85',
525
+ 'Jensen_Jacobson74',
526
+ 'Dora_Volkman'
527
+ ],
528
+ [
529
+ 9740890.83,
530
+ 2107983.52,
531
+ 5467223.67,
532
+ 9529184.93,
533
+ 9692275.78,
534
+ 9395814.7,
535
+ 5692737.43,
536
+ 1001734.82,
537
+ 3848531.8,
538
+ 1691776.38
539
+ ],
540
+ [
541
+ '2020-04-12T06:32:08-07:00',
542
+ '2020-06-06T16:14:04-07:00',
543
+ '2020-02-12T09:43:25-08:00',
544
+ '2020-07-25T13:19:49-07:00',
545
+ '2020-03-16T21:46:40-07:00',
546
+ '2020-08-21T08:38:55-07:00',
547
+ '2020-09-26T16:06:03-07:00',
548
+ '2020-08-10T14:54:16-07:00',
549
+ '2020-08-11T16:49:24-07:00',
550
+ '2020-09-29T03:52:51-07:00',
551
+ ]
552
+ ]
553
+ },
554
+ meta: {
555
+ totalCount: 100
556
+ },
557
+ requestParams: {
558
+ count: 10,
559
+ offset: 0
560
+ }
561
+ }
562
+ }}
563
+ />
564
+ ```
565
+
566
+ ## Example 8
567
+
568
+ ```jsx
569
+ <Table
570
+ options={{
571
+ table: '> primary | frameBySeriesTypes("string")'
572
+ }},
573
+ dataSources={{
574
+ primary: {
575
+ data: {
576
+ fields: [
577
+ {
578
+ name: 'Name'
579
+ },
580
+ {
581
+ name: 'UserID'
582
+ },
583
+ {
584
+ name: 'Money Spent'
585
+ },
586
+ {
587
+ name: 'Most Recent Game'
588
+ },
589
+ ],
590
+ columns: [
591
+ [
592
+ 'Ms. Herman Beer',
593
+ 'Crystal Ziemann',
594
+ 'Phil Bartoletti',
595
+ 'Janis Kiehn V',
596
+ 'Angel Krajcik',
597
+ 'Patti Hodkiewicz IV',
598
+ 'Joanne Emmerich',
599
+ 'Jay Renner',
600
+ 'Ora Borer',
601
+ 'Dr. Bradford Gulgowski'
602
+ ],
603
+ [
604
+ 'Enrico98',
605
+ 'Taylor_Parker83',
606
+ 'Candice_Carroll',
607
+ 'Yolanda_McLaughlin95',
608
+ 'Modesto84',
609
+ 'Elwin52',
610
+ 'Francis8',
611
+ 'Charley.Feeney85',
612
+ 'Jensen_Jacobson74',
613
+ 'Dora_Volkman'
614
+ ],
615
+ [
616
+ 9740890.83,
617
+ 2107983.52,
618
+ 5467223.67,
619
+ 9529184.93,
620
+ 9692275.78,
621
+ 9395814.7,
622
+ 5692737.43,
623
+ 1001734.82,
624
+ 3848531.8,
625
+ 1691776.38
626
+ ],
627
+ [
628
+ '2020-04-12T06:32:08-07:00',
629
+ '2020-06-06T16:14:04-07:00',
630
+ '2020-02-12T09:43:25-08:00',
631
+ '2020-07-25T13:19:49-07:00',
632
+ '2020-03-16T21:46:40-07:00',
633
+ '2020-08-21T08:38:55-07:00',
634
+ '2020-09-26T16:06:03-07:00',
635
+ '2020-08-10T14:54:16-07:00',
636
+ '2020-08-11T16:49:24-07:00',
637
+ '2020-09-29T03:52:51-07:00'
638
+ ]
639
+ ]
640
+ },
641
+ meta: {
642
+ totalCount: 100
643
+ },
644
+ requestParams: {
645
+ count: 10,
646
+ offset: 0
647
+ }
648
+ }
649
+ }}
650
+ />
651
+
652
+ Select a DataSeries by specifying the name of the DataSeries you would like to return.
653
+ @public
654
+ @param {string} field
655
+ @returns {DataSeries<DataType>}
656
+
657
+ The following code sample shows how to use seriesByName to display the count series in a data source as a single value.
658
+ ```
659
+
660
+ ## Example 9
661
+
662
+ ```jsx
663
+ <SingleValue
664
+ options={{
665
+ sparklineValues: '> primary | seriesByType("number")',
666
+ }}
667
+ dataSources={{
668
+ primary: {
669
+ data: {
670
+ fields: [
671
+ {
672
+ name: '_time',
673
+ },
674
+ {
675
+ name: 'count',
676
+ },
677
+ ],
678
+ columns: [
679
+ [
680
+ '2018-08-19T00:00:00.000+00:00',
681
+ '2018-08-20T00:00:00.000+00:00',
682
+ '2018-08-21T00:00:00.000+00:00',
683
+ '2018-08-22T00:00:00.000+00:00',
684
+ '2018-08-23T00:00:00.000+00:00',
685
+ '2018-08-24T00:00:00.000+00:00',
686
+ '2018-08-25T00:00:00.000+00:00',
687
+ '2018-08-26T00:00:00.000+00:00',
688
+ ],
689
+ [ '1', '62', '103', '308', '587', '876', '930', '1320'],
690
+ ],
691
+ },
692
+ meta: {},
693
+ },
694
+ }}
695
+ />
696
+
697
+ Select a DataSeries by specifying any acceptable types of the DataSeries you would like to return. The first DataSeries that matches any of the types specified will be returned. If no DataSeries matches the type options specified, no DataSeries will be returned.
698
+ @public
699
+ @param {DataType[]} types
700
+ @returns {DataSeries<DataType>}
701
+
702
+ Select a DataSeries by specifying the prioritized types of the DataSeries you would like to return. The first DataSeries that matches the first type specified will be returned. If no DataSeries matches the first type specified, the first DataSeries that matches the second type will be returned, and so on.
703
+ @public
704
+ @param {DataType[]} types
705
+ @returns {DataSeries<DataType>}
706
+
707
+ The following code sample shows how to use seriesByPrioritizedTypes to display the first numeric series in a data source as a single value.
708
+
709
+ If no numeric series are found in the data, the first series of type string is displayed. If no string series are found, the first series of type time is displayed.
710
+ ```
711
+
712
+ ## Example 10
713
+
714
+ ```jsx
715
+ <Table
716
+ options={{
717
+ headers: '> table | getField()'
718
+ }},
719
+ dataSources={{
720
+ primary: {
721
+ data: {
722
+ fields: [
723
+ {
724
+ name: 'Name'
725
+ },
726
+ {
727
+ name: 'UserID'
728
+ },
729
+ {
730
+ name: 'Money Spent'
731
+ },
732
+ {
733
+ name: 'Most Recent Game'
734
+ },
735
+ ],
736
+ columns: [
737
+ [
738
+ 'Ms. Herman Beer',
739
+ 'Crystal Ziemann',
740
+ 'Phil Bartoletti',
741
+ 'Janis Kiehn V',
742
+ 'Angel Krajcik',
743
+ 'Patti Hodkiewicz IV',
744
+ 'Joanne Emmerich',
745
+ 'Jay Renner',
746
+ 'Ora Borer',
747
+ 'Dr. Bradford Gulgowski'
748
+ ],
749
+ [
750
+ 'Enrico98',
751
+ 'Taylor_Parker83',
752
+ 'Candice_Carroll',
753
+ 'Yolanda_McLaughlin95',
754
+ 'Modesto84',
755
+ 'Elwin52',
756
+ 'Francis8',
757
+ 'Charley.Feeney85',
758
+ 'Jensen_Jacobson74',
759
+ 'Dore_Volkman'
760
+ ],
761
+ [
762
+ 9740890.83,
763
+ 2107983.52,
764
+ 5467223.67,
765
+ 9529184.93,
766
+ 9692275.78,
767
+ 9395814.7,
768
+ 5692737.43,
769
+ 1001734.82,
770
+ 3848531.8,
771
+ 1691776.38
772
+ ],
773
+ [
774
+ '2020-04-12T06:32:08-07:00',
775
+ '2020-06-06T16:14:04-07:00',
776
+ '2020-02-12T09:43:25-08:00',
777
+ '2020-07-25T13:19:49-07:00',
778
+ '2020-03-16T21:46:40-07:00',
779
+ '2020-08-21T08:38:55-07:00',
780
+ '2020-09-26T16:06:03-07:00',
781
+ '2020-08-10T14:54:16-07:00',
782
+ '2020-08-11T16:49:24-07:00',
783
+ '2020-09-29T03:52:51-07:00'
784
+ ]
785
+ ]
786
+ },
787
+ meta: {
788
+ totalCount: 100
789
+ },
790
+ requestParams: {
791
+ count: 10,
792
+ offset: 0
793
+ }
794
+ }
795
+ }}
796
+ />
797
+
798
+ Display the third and fourth DataSeries in a column chart as overlay fields.
799
+
800
+ <Column
801
+ options={{
802
+ overlayFields: '> primary | frameBySeriesIndex(2,3) | getField()'
803
+ }},
804
+ dataSources={{
805
+ primary: {
806
+ requestParams: { offset: 0, count: 20},
807
+ data: {
808
+ fields: [
809
+ { name: '_time' },
810
+ { name: 'splunkd' },
811
+ { name: 'splunkd_web_access' },
812
+ { name: 'mongod' },
813
+ ],
814
+ columns: [
815
+ [
816
+ '2018-05-02T18:15:46.000-07:00',
817
+ '2018-05-02T18:15:47.000-07:00',
818
+ '2018-05-02T18:15:48.000-07:00',
819
+ '2018-05-02T18:15:49.000-07:00',
820
+ '2018-05-02T18:15:50.000-07:00',
821
+ ],
822
+ ['67228', '83195', '3145', '19332', '29763'],
823
+ ['67228', '83195', '3145', '19332', '29763'],
824
+ ['14881', '17341', '18081', '19774', '10467'],
825
+ ]
826
+ },
827
+ meta: {
828
+ totalCount: 100,
829
+ }
830
+ }
831
+ }}
832
+ />
833
+
834
+ Get the data type of each DataSeries in the DataFrame.
835
+ @public
836
+ @returns {string[]}
837
+
838
+ Get the global minimum value from all numeric DataSeries in the DataFrame.
839
+ @public
840
+ @returns {number}
841
+
842
+ The following code sample shows how to use min to display the smallest data point in a data source as a single value.
843
+ ```
844
+
845
+ ## Example 11
846
+
847
+ ```jsx
848
+ <SingleValue
849
+ options={{
850
+ majorValue: '> primary | max()',
851
+ trendDisplay: 'off',
852
+ sparklineDisplay: 'off',
853
+ }}
854
+ dataSources={{
855
+ primary: {
856
+ data: {
857
+ fields: [
858
+ {
859
+ name: '_time',
860
+ },
861
+ {
862
+ name: 'count',
863
+ },
864
+ ],
865
+ columns: [
866
+ [
867
+ '2018-08-19T00:00:00.000+00:00',
868
+ '2018-08-20T00:00:00.000+00:00',
869
+ '2018-08-21T00:00:00.000+00:00',
870
+ '2018-08-22T00:00:00.000+00:00',
871
+ '2018-08-23T00:00:00.000+00:00',
872
+ '2018-08-24T00:00:00.000+00:00',
873
+ '2018-08-25T00:00:00.000+00:00',
874
+ '2018-08-26T00:00:00.000+00:00',
875
+ ],
876
+ [ '1', '62', '103', '308', '587', '876', '930', '1320' ],
877
+ ],
878
+ },
879
+ meta: {},
880
+ },
881
+ }}
882
+ />
883
+
884
+ Get the count of all values from all DataSeries in the DataFrame.
885
+ @public
886
+ @returns {DataPoint<DataType>}
887
+
888
+ The following code sample shows how to use count to display the total number of data points in a data source as a single value.
889
+ ```
890
+
891
+ ## Example 12
892
+
893
+ ```jsx
894
+ Get the nearest-rank percentile of all numeric values from all numeric DataSeries in the DataFrame.
895
+ @public
896
+ @param {number} percentile value from 0 to 100
897
+ @returns {DataPoint<DataType>}
898
+
899
+ The following code sample shows how to use percentile to display the 90th percentile of all data points in a data source as a single value.
900
+ ```
901
+
902
+ ## Example 13
903
+
904
+ ```jsx
905
+ Get the average of all numeric values from all numeric DataSeries in the DataFrame.
906
+ @public
907
+ @returns {DataPoint<DataType>}
908
+
909
+ The following code sample shows how to use average to display the mean of all data points in a data source as a single value.
910
+ ```
911
+
912
+ ## Example 14
913
+
914
+ ```jsx
915
+ Get the sum of all numeric values from all numeric DataSeries in the DataFrame.
916
+ @public
917
+ @returns {DataPoint<DataType>}
918
+
919
+ The following code sample shows how to use sum to display the total of all data points in a data source as a single value.
920
+ ```
921
+
922
+ ## Example 15
923
+
924
+ ```jsx
925
+ runs result of min or max function over all the series and returns the data point
926
+ points
927
+ @param {string} aggName
928
+ @returns {DataPoint<T>}
929
+ ```