@splunk/visualizations 28.8.0 → 28.9.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 (273) hide show
  1. package/Area.config.js +2 -4
  2. package/Area.config.js.map +2 -2
  3. package/Area.js +245 -147
  4. package/Area.js.map +4 -4
  5. package/Bar.config.js +2 -4
  6. package/Bar.config.js.map +2 -2
  7. package/Bar.js +246 -148
  8. package/Bar.js.map +4 -4
  9. package/Bubble/Bubble.d.ts +3 -1
  10. package/Bubble/Bubble.d.ts.map +1 -1
  11. package/Bubble.js +216 -108
  12. package/Bubble.js.map +4 -4
  13. package/CHANGELOG.external.md +31 -1
  14. package/ChoroplethSvg/ChoroplethSvg.d.ts +3 -1
  15. package/ChoroplethSvg/ChoroplethSvg.d.ts.map +1 -1
  16. package/ChoroplethSvg/PureChoroplethSvg/PureChoroplethSvg.d.ts.map +1 -1
  17. package/ChoroplethSvg/PureChoroplethSvg/SvgMutator.d.ts.map +1 -1
  18. package/ChoroplethSvg.js +638 -209
  19. package/ChoroplethSvg.js.map +4 -4
  20. package/Column.config.js +2 -4
  21. package/Column.config.js.map +2 -2
  22. package/Column.js +246 -148
  23. package/Column.js.map +4 -4
  24. package/Ellipse/Ellipse.d.ts +3 -1
  25. package/Ellipse/Ellipse.d.ts.map +1 -1
  26. package/Ellipse.js +216 -105
  27. package/Ellipse.js.map +4 -4
  28. package/Events/Events.d.ts +5 -3
  29. package/Events/Events.d.ts.map +1 -1
  30. package/Events/PureEvents/FieldSummaryTooltip.d.ts.map +1 -1
  31. package/Events/PureEvents/PureEvents.d.ts +0 -1
  32. package/Events/PureEvents/PureEvents.d.ts.map +1 -1
  33. package/Events.js +270 -157
  34. package/Events.js.map +4 -4
  35. package/FillerGauge.js +243 -140
  36. package/FillerGauge.js.map +4 -4
  37. package/Image/Image.d.ts +3 -1
  38. package/Image/Image.d.ts.map +1 -1
  39. package/Image.js +217 -106
  40. package/Image.js.map +4 -4
  41. package/Line.config.js +2 -4
  42. package/Line.config.js.map +2 -2
  43. package/Line.js +246 -148
  44. package/Line.js.map +4 -4
  45. package/LinkGraph/LinkGraph.d.ts +3 -1
  46. package/LinkGraph/LinkGraph.d.ts.map +1 -1
  47. package/LinkGraph/PureLinkGraph/PureLinkGraphUtils.d.ts.map +1 -1
  48. package/LinkGraph/PureLinkGraph/components/Node.d.ts.map +1 -1
  49. package/LinkGraph.config.js +1 -1
  50. package/LinkGraph.config.js.map +2 -2
  51. package/LinkGraph.js +802 -682
  52. package/LinkGraph.js.map +4 -4
  53. package/Map/Map.d.ts +10 -9
  54. package/Map/Map.d.ts.map +1 -1
  55. package/Map/PureMap/BubbleLayer.d.ts.map +1 -1
  56. package/Map/PureMap/ClusterLayer.d.ts.map +1 -1
  57. package/Map/PureMap/MapUtils.d.ts.map +1 -1
  58. package/Map/PureMap/MarkerWrapper.d.ts.map +1 -1
  59. package/Map/PureMap/PureMap.d.ts +8 -65
  60. package/Map/PureMap/PureMap.d.ts.map +1 -1
  61. package/Map.config.js +1 -1
  62. package/Map.config.js.map +2 -2
  63. package/Map.js +363 -313
  64. package/Map.js.map +4 -4
  65. package/Markdown/Markdown.d.ts +9 -1
  66. package/Markdown/Markdown.d.ts.map +1 -1
  67. package/Markdown/config.d.ts.map +1 -1
  68. package/Markdown.config.js +5 -0
  69. package/Markdown.config.js.map +2 -2
  70. package/Markdown.js +225 -94
  71. package/Markdown.js.map +3 -3
  72. package/MarkerGauge.js +239 -134
  73. package/MarkerGauge.js.map +4 -4
  74. package/NetworkGraph/PureNetworkGraph/PureNetworkGraph.d.ts.map +1 -1
  75. package/NetworkGraph/PureNetworkGraph/components/NetworkGraphSvg.d.ts +1 -0
  76. package/NetworkGraph/PureNetworkGraph/components/NetworkGraphSvg.d.ts.map +1 -1
  77. package/NetworkGraph/PureNetworkGraph/components/Node.d.ts +1 -0
  78. package/NetworkGraph/PureNetworkGraph/components/Node.d.ts.map +1 -1
  79. package/NetworkGraph/PureNetworkGraph/utils/networkGraphUtils.d.ts +3 -5
  80. package/NetworkGraph/PureNetworkGraph/utils/networkGraphUtils.d.ts.map +1 -1
  81. package/NetworkGraph.config.js +4 -2
  82. package/NetworkGraph.config.js.map +2 -2
  83. package/NetworkGraph.js +327 -188
  84. package/NetworkGraph.js.map +4 -4
  85. package/ParallelCoordinates/ParallelCoordinates.d.ts +3 -1
  86. package/ParallelCoordinates/ParallelCoordinates.d.ts.map +1 -1
  87. package/ParallelCoordinates.js +239 -128
  88. package/ParallelCoordinates.js.map +4 -4
  89. package/Pie/config.d.ts.map +1 -1
  90. package/Pie/pieUtils.d.ts.map +1 -1
  91. package/Pie.config.js +4 -2
  92. package/Pie.config.js.map +2 -2
  93. package/Pie.js +228 -125
  94. package/Pie.js.map +3 -3
  95. package/ProcessTree/ProcessTree.d.ts +3 -1
  96. package/ProcessTree/ProcessTree.d.ts.map +1 -1
  97. package/ProcessTree/PureProcessTree/PureProcessTree.d.ts +1 -0
  98. package/ProcessTree/PureProcessTree/PureProcessTree.d.ts.map +1 -1
  99. package/ProcessTree/PureProcessTree/components/ProcessTreeLeftPanel.d.ts +1 -0
  100. package/ProcessTree/PureProcessTree/components/ProcessTreeLeftPanel.d.ts.map +1 -1
  101. package/ProcessTree/PureProcessTree/hooks/useProcessTreeGraphData.d.ts +2 -1
  102. package/ProcessTree/PureProcessTree/hooks/useProcessTreeGraphData.d.ts.map +1 -1
  103. package/ProcessTree/PureProcessTree/utils/iconLoader.d.ts +2 -0
  104. package/ProcessTree/PureProcessTree/utils/iconLoader.d.ts.map +1 -1
  105. package/ProcessTree/PureProcessTree/utils/processTreeUtils.d.ts +5 -1
  106. package/ProcessTree/PureProcessTree/utils/processTreeUtils.d.ts.map +1 -1
  107. package/ProcessTree.js +435 -192
  108. package/ProcessTree.js.map +4 -4
  109. package/Punchcard/Punchcard.d.ts +3 -1
  110. package/Punchcard/Punchcard.d.ts.map +1 -1
  111. package/Punchcard.js +238 -129
  112. package/Punchcard.js.map +4 -4
  113. package/Rectangle/Rectangle.d.ts +3 -1
  114. package/Rectangle/Rectangle.d.ts.map +1 -1
  115. package/Rectangle.js +218 -116
  116. package/Rectangle.js.map +4 -4
  117. package/RichText/PureRichText/Editor/EditorPanel.d.ts +1 -4
  118. package/RichText/PureRichText/Editor/EditorPanel.d.ts.map +1 -1
  119. package/RichText/PureRichText/Editor/hooks/useConfigPanelFocus.d.ts +14 -0
  120. package/RichText/PureRichText/Editor/hooks/useConfigPanelFocus.d.ts.map +1 -0
  121. package/RichText/PureRichText/Editor/hooks/useEditorPanelSync.d.ts +15 -0
  122. package/RichText/PureRichText/Editor/hooks/useEditorPanelSync.d.ts.map +1 -0
  123. package/RichText/PureRichText/Editor/hooks/useLinkHandlers.d.ts.map +1 -1
  124. package/RichText/PureRichText/Editor/hooks/usePortalTarget.d.ts +9 -0
  125. package/RichText/PureRichText/Editor/hooks/usePortalTarget.d.ts.map +1 -0
  126. package/RichText/PureRichText/InnerEditor.d.ts +15 -9
  127. package/RichText/PureRichText/InnerEditor.d.ts.map +1 -1
  128. package/RichText/PureRichText/PureRichText.d.ts +5 -10
  129. package/RichText/PureRichText/PureRichText.d.ts.map +1 -1
  130. package/RichText/PureRichText/PureRichTextContext.d.ts +3 -6
  131. package/RichText/PureRichText/PureRichTextContext.d.ts.map +1 -1
  132. package/RichText/PureRichText/RichTextStyles.d.ts +5 -4
  133. package/RichText/PureRichText/RichTextStyles.d.ts.map +1 -1
  134. package/RichText/PureRichText/activeInstance.d.ts +6 -7
  135. package/RichText/PureRichText/activeInstance.d.ts.map +1 -1
  136. package/RichText/PureRichText/config.d.ts.map +1 -1
  137. package/RichText/PureRichText/hooks/useContentSync.d.ts +9 -9
  138. package/RichText/PureRichText/hooks/useContentSync.d.ts.map +1 -1
  139. package/RichText/PureRichText/hooks/useDashboardKeyboardNav.d.ts +2 -7
  140. package/RichText/PureRichText/hooks/useDashboardKeyboardNav.d.ts.map +1 -1
  141. package/RichText/PureRichText/hooks/useEditorSetup.d.ts +8 -4
  142. package/RichText/PureRichText/hooks/useEditorSetup.d.ts.map +1 -1
  143. package/RichText/PureRichText/hooks/useFocusHandlers.d.ts +2 -4
  144. package/RichText/PureRichText/hooks/useFocusHandlers.d.ts.map +1 -1
  145. package/RichText/PureRichText/hooks/useKeyboardShortcuts.d.ts.map +1 -1
  146. package/RichText/PureRichText/hooks/useMouseHandlers.d.ts +3 -7
  147. package/RichText/PureRichText/hooks/useMouseHandlers.d.ts.map +1 -1
  148. package/RichText/PureRichText/hooks/useStepFontSize.d.ts +2 -2
  149. package/RichText/PureRichText/hooks/useStepLineSpacing.d.ts +2 -3
  150. package/RichText/PureRichText/hooks/useStepLineSpacing.d.ts.map +1 -1
  151. package/RichText/PureRichText/hooks/useTokenMap.d.ts +13 -24
  152. package/RichText/PureRichText/hooks/useTokenMap.d.ts.map +1 -1
  153. package/RichText/PureRichText/renderers/ElementRenderer.d.ts +2 -5
  154. package/RichText/PureRichText/renderers/ElementRenderer.d.ts.map +1 -1
  155. package/RichText/PureRichText/types.d.ts +6 -0
  156. package/RichText/PureRichText/types.d.ts.map +1 -1
  157. package/RichText/PureRichText/utils/slateUtils.d.ts +26 -2
  158. package/RichText/PureRichText/utils/slateUtils.d.ts.map +1 -1
  159. package/RichText/RichText.d.ts +3 -1
  160. package/RichText/RichText.d.ts.map +1 -1
  161. package/RichText/config.d.ts.map +1 -1
  162. package/RichText.config.js +5 -0
  163. package/RichText.config.js.map +2 -2
  164. package/RichText.js +1848 -842
  165. package/RichText.js.map +4 -4
  166. package/Sankey/PureSankey/PureSankey.d.ts +2 -0
  167. package/Sankey/PureSankey/PureSankey.d.ts.map +1 -1
  168. package/Sankey/PureSankey/SankeyLink.d.ts +3 -1
  169. package/Sankey/PureSankey/SankeyLink.d.ts.map +1 -1
  170. package/Sankey/PureSankey/SankeyNode.d.ts +5 -2
  171. package/Sankey/PureSankey/SankeyNode.d.ts.map +1 -1
  172. package/Sankey/PureSankey/SankeyUtils.d.ts.map +1 -1
  173. package/Sankey/Sankey.d.ts +3 -1
  174. package/Sankey/Sankey.d.ts.map +1 -1
  175. package/Sankey.js +508 -219
  176. package/Sankey.js.map +4 -4
  177. package/Scatter.config.js +3 -5
  178. package/Scatter.config.js.map +2 -2
  179. package/Scatter.js +244 -146
  180. package/Scatter.js.map +4 -4
  181. package/SingleValue/SingleValue.d.ts.map +1 -1
  182. package/SingleValue.js +273 -173
  183. package/SingleValue.js.map +4 -4
  184. package/SingleValueBasic.js +4 -4
  185. package/SingleValueBasic.js.map +2 -2
  186. package/SingleValueIcon/SingleValueIcon.d.ts.map +1 -1
  187. package/SingleValueIcon.js +264 -164
  188. package/SingleValueIcon.js.map +4 -4
  189. package/SingleValueRadial.js +267 -167
  190. package/SingleValueRadial.js.map +4 -4
  191. package/SparkLine/SparkLine.d.ts.map +1 -1
  192. package/SparkLine.js.map +2 -2
  193. package/Table/PureTable.d.ts.map +1 -1
  194. package/Table/Table.d.ts +2 -5
  195. package/Table/Table.d.ts.map +1 -1
  196. package/Table/hooks.d.ts.map +1 -1
  197. package/Table.config.js +1 -1
  198. package/Table.config.js.map +2 -2
  199. package/Table.js +293 -271
  200. package/Table.js.map +4 -4
  201. package/Timeline/Timeline.d.ts +3 -1
  202. package/Timeline/Timeline.d.ts.map +1 -1
  203. package/Timeline.config.js +2 -2
  204. package/Timeline.config.js.map +2 -2
  205. package/Timeline.js +266 -142
  206. package/Timeline.js.map +4 -4
  207. package/Treemap/Treemap.d.ts +3 -1
  208. package/Treemap/Treemap.d.ts.map +1 -1
  209. package/Treemap.js +263 -147
  210. package/Treemap.js.map +4 -4
  211. package/common/Charting.js +8 -10
  212. package/common/Charting.js.map +2 -2
  213. package/common/ChartingApi.d.ts.map +1 -1
  214. package/common/ChartingApi.js +5 -2
  215. package/common/ChartingApi.js.map +2 -2
  216. package/common/DocExampleWithVizSandbox.js +3 -3
  217. package/common/DocExampleWithVizSandbox.js.map +2 -2
  218. package/common/GaugeMajorTicks.js.map +2 -2
  219. package/common/GaugeValueMarker.js.map +2 -2
  220. package/common/OptionsDoc.js +1 -1
  221. package/common/OptionsDoc.js.map +2 -2
  222. package/common/OverviewDoc.js +3 -3
  223. package/common/OverviewDoc.js.map +2 -2
  224. package/common/ThemesDoc.js.map +2 -2
  225. package/common/TimeSeriesChartWrapper.js +10 -9
  226. package/common/TimeSeriesChartWrapper.js.map +2 -2
  227. package/common/chartingUtils.d.ts.map +1 -1
  228. package/common/chartingUtils.js +12 -11
  229. package/common/chartingUtils.js.map +2 -2
  230. package/common/components/IconPlaceholder.d.ts.map +1 -1
  231. package/common/docUtils.d.ts.map +1 -1
  232. package/common/docUtils.js +15 -6
  233. package/common/docUtils.js.map +2 -2
  234. package/common/editorConfig/AxesChartDataDisplay.d.ts.map +1 -1
  235. package/common/gaugeUtils.d.ts.map +1 -1
  236. package/common/gaugeUtils.js +4 -2
  237. package/common/gaugeUtils.js.map +2 -2
  238. package/common/hooks/useSorting.d.ts.map +1 -1
  239. package/common/interfaces/VizEvent.d.ts +7 -0
  240. package/common/interfaces/VizEvent.d.ts.map +1 -1
  241. package/common/utils/dataUtils.d.ts.map +1 -1
  242. package/common/utils/dataUtils.js +6 -10
  243. package/common/utils/dataUtils.js.map +2 -2
  244. package/common/utils/featureFlagUtils.js +2 -2
  245. package/common/utils/featureFlagUtils.js.map +2 -2
  246. package/common/utils/focusUtils.js +1 -1
  247. package/common/utils/focusUtils.js.map +2 -2
  248. package/common/utils/mapUtils.d.ts.map +1 -1
  249. package/common/utils/mapUtils.js +14 -18
  250. package/common/utils/mapUtils.js.map +2 -2
  251. package/common/utils/singleValueUtils.js +22 -25
  252. package/common/utils/singleValueUtils.js.map +2 -2
  253. package/common/utils/textUtils.d.ts.map +1 -1
  254. package/common/utils/textUtils.js +37 -23
  255. package/common/utils/textUtils.js.map +2 -2
  256. package/common/utils/trellisUtils.d.ts.map +1 -1
  257. package/common/utils/trellisUtils.js +18 -17
  258. package/common/utils/trellisUtils.js.map +2 -2
  259. package/common/utils/urlUtils.js.map +2 -2
  260. package/common/utils/visualizationTheme.d.ts +15 -0
  261. package/common/utils/visualizationTheme.d.ts.map +1 -0
  262. package/common/utils/visualizationTheme.js +72 -0
  263. package/common/utils/visualizationTheme.js.map +7 -0
  264. package/common/withDashboardViz.d.ts +3 -1
  265. package/common/withDashboardViz.d.ts.map +1 -1
  266. package/common/withDashboardViz.js +216 -105
  267. package/common/withDashboardViz.js.map +4 -4
  268. package/docs-llm/network-graph/options.md +2 -2
  269. package/docs-llm/pie/examples-json.md +195 -0
  270. package/docs-llm/pie/examples-react.md +123 -0
  271. package/docs-llm/pie/options.md +1 -1
  272. package/docs-llm/process-tree/options.md +3 -2
  273. package/package.json +24 -24
@@ -15,12 +15,12 @@ Source: `@splunk/visualization-schemas/networkGraphOptionsSchema`
15
15
  | `collidePadding` | number | `10` | When layout is "force", specify the additional distance around each node which the collider uses for node repulsion. When clustering is on, this value is used to increase collision distance for clusters. |
16
16
  | `collideStrength` | number | `1` | When layout is "force", specify the strength of the collider used for node repulsion. A higher value results in stronger repulsion, causing nodes to spread out more. Ideally value should be between 0 - 1 but there is no hard limit. |
17
17
  | `gridColumns` | number | — | When layout is "grid", specify the number of nodes to display per row. By default it uses the ceiling of the square root of the total number of nodes |
18
- | `hierarchyDirection` | unspecified | `leftRight` | When layout is "hierarchical", specify the direction (topBottom, bottomTop, leftRight, rightLeft) of the hierarchy. Allowed values: `topBottom`, `bottomTop`, `leftRight`, `rightLeft` |
18
+ | `hierarchyDirection` | string | `leftRight` | When layout is "hierarchical", specify the direction (topBottom, bottomTop, leftRight, rightLeft) of the hierarchy. Allowed values: `topBottom`, `bottomTop`, `leftRight`, `rightLeft` |
19
19
  | `layout` | string | `grid` | Specify the layout used for the graph. Choose between preset, grid, hierarchical Allowed values: `preset`, `grid`, `hierarchical`, `force` |
20
20
  | `linkColors` | array<string> \| string | `> themes.defaultLinkColor` | Specify the color used for links. You may use a dataSource to apply color dynamically. Items: string |
21
21
  | `linkColorValues` | array<string \| number> | `> primary \| seriesByType("number")` | Specify the array of values used for dynamic link coloring. Items: string \| number |
22
22
  | `linkDistance` | number | `30` | When layout is "force", specify the ideal distance between linked nodes. A higher value results in more space between linked nodes. |
23
- | `linkStrength` | unspecified | — | When layout is "force", specify the strength of the spring force between linked nodes. Higher value makes link lengths closer to the linkDistance value. Range: min 0, max 1 |
23
+ | `linkStrength` | number | — | When layout is "force", specify the strength of the spring force between linked nodes. Higher value makes link lengths closer to the linkDistance value. Range: min 0, max 1 |
24
24
  | `linkStyle` | string | `straight` | Specify the link shape (s, z, c, straight). Allowed values: `s`, `z`, `c`, `straight` |
25
25
  | `linkWidth` | number \| array<number> | `2` | Specify a number to set the same width of all links or an array of numbers to set a custom width for each link. Width is in pixels. Items: number |
26
26
  | `nodeColors` | string \| array<string> | `> themes.defaultNodeColor` | Specify the color used for nodes. You may use a dataSource to apply color dynamically. Items: string |
@@ -325,6 +325,201 @@
325
325
  }
326
326
  ```
327
327
 
328
+ ## Label Display - Count
329
+
330
+ - **Key:** Labelswithcountpie
331
+
332
+ ```json
333
+ {
334
+ "type": "splunk.pie",
335
+ "context": {},
336
+ "options": {
337
+ "labelDisplay": "count"
338
+ },
339
+ "dataSources": {
340
+ "primary": {
341
+ "requestParams": {
342
+ "offset": 0,
343
+ "count": 20
344
+ },
345
+ "data": {
346
+ "fields": [
347
+ {
348
+ "name": "component"
349
+ },
350
+ {
351
+ "name": "count"
352
+ }
353
+ ],
354
+ "columns": [
355
+ [
356
+ "January",
357
+ "February",
358
+ "March",
359
+ "April",
360
+ "May",
361
+ "June",
362
+ "July",
363
+ "August",
364
+ "September",
365
+ "October",
366
+ "November",
367
+ "December"
368
+ ],
369
+ [
370
+ "1",
371
+ "1",
372
+ "1",
373
+ "2",
374
+ "10",
375
+ "10",
376
+ "5",
377
+ "5",
378
+ "5",
379
+ "5",
380
+ "5",
381
+ "50"
382
+ ]
383
+ ]
384
+ },
385
+ "meta": {
386
+ "totalCount": 20
387
+ }
388
+ }
389
+ }
390
+ }
391
+ ```
392
+
393
+ ## Label Display - Values and Count
394
+
395
+ - **Key:** Labelswithvalueandcountpie
396
+
397
+ ```json
398
+ {
399
+ "type": "splunk.pie",
400
+ "context": {},
401
+ "options": {
402
+ "labelDisplay": "valuesAndCount"
403
+ },
404
+ "dataSources": {
405
+ "primary": {
406
+ "requestParams": {
407
+ "offset": 0,
408
+ "count": 20
409
+ },
410
+ "data": {
411
+ "fields": [
412
+ {
413
+ "name": "component"
414
+ },
415
+ {
416
+ "name": "count"
417
+ }
418
+ ],
419
+ "columns": [
420
+ [
421
+ "January",
422
+ "February",
423
+ "March",
424
+ "April",
425
+ "May",
426
+ "June",
427
+ "July",
428
+ "August",
429
+ "September",
430
+ "October",
431
+ "November",
432
+ "December"
433
+ ],
434
+ [
435
+ "1",
436
+ "1",
437
+ "1",
438
+ "2",
439
+ "10",
440
+ "10",
441
+ "5",
442
+ "5",
443
+ "5",
444
+ "5",
445
+ "5",
446
+ "50"
447
+ ]
448
+ ]
449
+ },
450
+ "meta": {
451
+ "totalCount": 20
452
+ }
453
+ }
454
+ }
455
+ }
456
+ ```
457
+
458
+ ## Label Display - Values, Percent, and Count
459
+
460
+ - **Key:** Labelswithpercentandcountpie
461
+
462
+ ```json
463
+ {
464
+ "type": "splunk.pie",
465
+ "context": {},
466
+ "options": {
467
+ "labelDisplay": "all"
468
+ },
469
+ "dataSources": {
470
+ "primary": {
471
+ "requestParams": {
472
+ "offset": 0,
473
+ "count": 20
474
+ },
475
+ "data": {
476
+ "fields": [
477
+ {
478
+ "name": "component"
479
+ },
480
+ {
481
+ "name": "count"
482
+ }
483
+ ],
484
+ "columns": [
485
+ [
486
+ "January",
487
+ "February",
488
+ "March",
489
+ "April",
490
+ "May",
491
+ "June",
492
+ "July",
493
+ "August",
494
+ "September",
495
+ "October",
496
+ "November",
497
+ "December"
498
+ ],
499
+ [
500
+ "1",
501
+ "1",
502
+ "1",
503
+ "2",
504
+ "10",
505
+ "10",
506
+ "5",
507
+ "5",
508
+ "5",
509
+ "5",
510
+ "5",
511
+ "50"
512
+ ]
513
+ ]
514
+ },
515
+ "meta": {
516
+ "totalCount": 20
517
+ }
518
+ }
519
+ }
520
+ }
521
+ ```
522
+
328
523
  ## Label Display - Off
329
524
 
330
525
  - **Key:** Nolabelspie
@@ -207,6 +207,129 @@ export default () => (
207
207
  );
208
208
  ```
209
209
 
210
+ ## Label Display - Count
211
+
212
+ - **Key:** Labelswithcountpie
213
+
214
+ ```jsx
215
+ import React from 'react';
216
+ import Pie from '@splunk/visualizations/Pie';
217
+
218
+ export default () => (
219
+ <Pie
220
+ options={{ labelDisplay: 'count' }}
221
+ dataSources={{
222
+ primary: {
223
+ requestParams: { offset: 0, count: 20 },
224
+ data: {
225
+ fields: [{ name: 'component' }, { name: 'count' }],
226
+ columns: [
227
+ [
228
+ 'January',
229
+ 'February',
230
+ 'March',
231
+ 'April',
232
+ 'May',
233
+ 'June',
234
+ 'July',
235
+ 'August',
236
+ 'September',
237
+ 'October',
238
+ 'November',
239
+ 'December',
240
+ ],
241
+ ['1', '1', '1', '2', '10', '10', '5', '5', '5', '5', '5', '50'],
242
+ ],
243
+ },
244
+ meta: { totalCount: 20 },
245
+ },
246
+ }}
247
+ />
248
+ );
249
+ ```
250
+
251
+ ## Label Display - Values and Count
252
+
253
+ - **Key:** Labelswithvalueandcountpie
254
+
255
+ ```jsx
256
+ import React from 'react';
257
+ import Pie from '@splunk/visualizations/Pie';
258
+
259
+ export default () => (
260
+ <Pie
261
+ options={{ labelDisplay: 'valuesAndCount' }}
262
+ dataSources={{
263
+ primary: {
264
+ requestParams: { offset: 0, count: 20 },
265
+ data: {
266
+ fields: [{ name: 'component' }, { name: 'count' }],
267
+ columns: [
268
+ [
269
+ 'January',
270
+ 'February',
271
+ 'March',
272
+ 'April',
273
+ 'May',
274
+ 'June',
275
+ 'July',
276
+ 'August',
277
+ 'September',
278
+ 'October',
279
+ 'November',
280
+ 'December',
281
+ ],
282
+ ['1', '1', '1', '2', '10', '10', '5', '5', '5', '5', '5', '50'],
283
+ ],
284
+ },
285
+ meta: { totalCount: 20 },
286
+ },
287
+ }}
288
+ />
289
+ );
290
+ ```
291
+
292
+ ## Label Display - Values, Percent, and Count
293
+
294
+ - **Key:** Labelswithpercentandcountpie
295
+
296
+ ```jsx
297
+ import React from 'react';
298
+ import Pie from '@splunk/visualizations/Pie';
299
+
300
+ export default () => (
301
+ <Pie
302
+ options={{ labelDisplay: 'all' }}
303
+ dataSources={{
304
+ primary: {
305
+ requestParams: { offset: 0, count: 20 },
306
+ data: {
307
+ fields: [{ name: 'component' }, { name: 'count' }],
308
+ columns: [
309
+ [
310
+ 'January',
311
+ 'February',
312
+ 'March',
313
+ 'April',
314
+ 'May',
315
+ 'June',
316
+ 'July',
317
+ 'August',
318
+ 'September',
319
+ 'October',
320
+ 'November',
321
+ 'December',
322
+ ],
323
+ ['1', '1', '1', '2', '10', '10', '5', '5', '5', '5', '5', '50'],
324
+ ],
325
+ },
326
+ meta: { totalCount: 20 },
327
+ },
328
+ }}
329
+ />
330
+ );
331
+ ```
332
+
210
333
  ## Label Display - Off
211
334
 
212
335
  - **Key:** Nolabelspie
@@ -11,7 +11,7 @@ Source: `@splunk/visualization-schemas/pieOptionsSchema`
11
11
  | `collapseLabel` | string | `other` | Specify the label for the consolidated slice. |
12
12
  | `collapseThreshold` | number | `0.01` | Specify the size threshold as a number between 0 and 1 (inclusive), of the whole pie at which slices collapse into one consolidated slice. |
13
13
  | `label` | array<string> | `> primary \| seriesByIndex(0)` | List of string values to display the pie chart labels. Items: string |
14
- | `labelDisplay` | string | `values` | Specify whether to display the labels and/or slice percentages. Allowed values: `values`, `valuesAndPercentage`, `off` |
14
+ | `labelDisplay` | string | `values` | Specify whether to display the labels, slice percentages, and/or counts. Allowed values: `values`, `valuesAndPercentage`, `count`, `valuesAndCount`, `all`, `off` |
15
15
  | `labelField` | string | `> label \| getField()` | Specify the field that corresponds to the labels. |
16
16
  | `legendDisplay` | string | `off` | Specify the location of the legend on the panel. Allowed values: `right`, `left`, `top`, `bottom`, `off` |
17
17
  | `percentagePrecision` | number | `0` | Specify the number of decimal places to display for percentages. The minimum value is 0. The maximum value is 16. Range: min 0, max 16 |
@@ -17,13 +17,14 @@ Source: `@splunk/visualization-schemas/processTreeOptionsSchema`
17
17
  | `filteredNodeValues` | array<string> \| string | — | Specify field value(s) used with filteredNodeField to classify which nodes render in the right panel. Provide an array, or use a string DSL expression that resolves to an array. Items: string |
18
18
  | `highlightColor` | string | `rgba(129, 51, 74, 0.82)` | Specify the background color used for the highlighted node row. |
19
19
  | `highlightedNodeId` | string | `` | Specify a node id to highlight in the process tree. |
20
- | `highlightIcon` | string | `` | Specify an optional built-in icon to render for the highlighted node. Supported values are fire, rectangleDashed, cube, servers, and container. |
20
+ | `highlightIcon` | string | `` | Specify an optional built-in icon to render for the highlighted node. Supported values are fire, rectangleDashed, cube, servers, container, geoTag, and layersDoubleTransparent. |
21
21
  | `highlightIconColor` | string | `` | Specify an optional color override for the highlighted node icon. Pattern: `^#(?:[0-9a-fA-F]{3,4}\|[0-9a-fA-F]{6}\|[0-9a-fA-F]{8})$\|^transparent$\|^rgb\\(\\s*(\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3})\\)$\|^rgba\\(\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d*(?:\\.\\d+)?)\\)$\|\\$(\\w+:)?([^$\|:]+?)(\\\|[\|\\w]+)?\\$` |
22
22
  | `linkValues` | array<number \| string> | `[]` | Specify link values for each link row. Items: number \| string |
23
23
  | `networkNodeColors` | array<string> \| string | `[]` | Specify optional network node indicator colors aligned with nodeSource rows. These colors apply only to right-side network nodes and the process-side circle indicators for those networks. Provide an array, or use a string DSL expression that resolves to an array. Items: string |
24
24
  | `nodeColors` | array<string> \| string | `[]` | Specify optional node row background colors aligned with nodeSource rows. These colors can fill process tree rows and right-side network rows unless the node is highlighted. Use networkNodeColors to color network indicators. Provide an array, or use a string DSL expression that resolves to an array. Items: string |
25
- | `nodeIcons` | array<string> \| string | `[]` | Specify optional node icons aligned with nodeSource rows. Supported built-in values are fire, rectangleDashed, cube, servers, and container. Provide an array, or use a string DSL expression that resolves to an array. Items: string |
25
+ | `nodeIcons` | array<string> \| string | `[]` | Specify optional node icons aligned with nodeSource rows. Supported built-in values are fire, rectangleDashed, cube, servers, container, geoTag, and layersDoubleTransparent. Provide an array, or use a string DSL expression that resolves to an array. Items: string |
26
26
  | `nodeId` | array<string> | `> nodeSource \| seriesByName("node_id")` | Specify node ids for node metadata lookup when using a secondary node datasource. Items: string |
27
+ | `processLimit` | integer | `100` | Specify the maximum number of sibling processes to render under each parent. An ellipsis is shown when additional processes are omitted. Range: min 1 |
27
28
  | `showFieldName` | boolean | `false` | Specify whether tree node labels render as field=value. When false, only the field value is shown. |
28
29
  | `source` | array<string> | `> primary \| frameBySeriesTypes("string") \| seriesByIndex(0)` | Specify the source node id for each link row. Items: string |
29
30
  | `target` | array<string> | `> primary \| frameBySeriesTypes("string") \| seriesByIndex(1)` | Specify the target node id for each link row. Items: string |
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@splunk/visualizations",
3
3
  "license": "Apache-2.0",
4
4
  "author": "Splunk Inc.",
5
- "version": "28.8.0",
5
+ "version": "28.9.0",
6
6
  "scripts": {
7
7
  "build": "viz-build && yarn generate:llm-docs",
8
8
  "build-storybook": "sb build -c .storybook -o .storybook-bundle",
@@ -40,24 +40,24 @@
40
40
  },
41
41
  "dependencies": {
42
42
  "@babel/runtime": "^7.29.7",
43
- "@splunk/async-dynamic-options-evaluator": "^28.8.0",
44
- "@splunk/charting-bundle": "^28.8.0",
43
+ "@splunk/async-dynamic-options-evaluator": "^28.9.0",
44
+ "@splunk/charting-bundle": "^28.9.0",
45
45
  "@splunk/moment": "^0.7.0",
46
- "@splunk/react-events-viewer": "^28.8.0",
47
- "@splunk/react-field-summary": "^28.8.0",
48
- "@splunk/react-icons": "^5.12.0",
49
- "@splunk/react-ui": "^5.11.1",
46
+ "@splunk/react-events-viewer": "^28.9.0",
47
+ "@splunk/react-field-summary": "^28.9.0",
48
+ "@splunk/react-icons": "^5.14.1",
49
+ "@splunk/react-ui": "^5.14.0",
50
50
  "@splunk/splunk-utils": "^3.4.0",
51
- "@splunk/themes": "^1.8.0",
51
+ "@splunk/themes": "^1.10.0",
52
52
  "@splunk/time-range-utils": "^3.4.1",
53
- "@splunk/ui-utils": "^1.14.0",
54
- "@splunk/visualization-canvas": "^28.8.0",
55
- "@splunk/visualization-color-palettes": "^28.8.0",
56
- "@splunk/visualization-encoding": "^28.8.0",
57
- "@splunk/visualization-icons": "^28.8.0",
58
- "@splunk/visualization-schemas": "^28.8.0",
59
- "@splunk/visualization-themes": "^28.8.0",
60
- "@splunk/visualizations-shared": "^28.8.0",
53
+ "@splunk/ui-utils": "^1.14.1",
54
+ "@splunk/visualization-canvas": "^28.9.0",
55
+ "@splunk/visualization-color-palettes": "^28.9.0",
56
+ "@splunk/visualization-encoding": "^28.9.0",
57
+ "@splunk/visualization-icons": "^28.9.0",
58
+ "@splunk/visualization-schemas": "^28.9.0",
59
+ "@splunk/visualization-themes": "^28.9.0",
60
+ "@splunk/visualizations-shared": "^28.9.0",
61
61
  "@xmldom/xmldom": "^0.8.13",
62
62
  "chroma-js": "^3.2.0",
63
63
  "cssesc": "3.0.0",
@@ -75,7 +75,7 @@
75
75
  "d3-transition": "^2.0.0",
76
76
  "d3-zoom": "^2.0.0",
77
77
  "dagre": "^0.8.5",
78
- "dompurify": "^3.4.11",
78
+ "dompurify": "^3.4.12",
79
79
  "jexl": "^2.3.0",
80
80
  "lodash": "^4.18.1",
81
81
  "maplibre-gl": "^5.8.0",
@@ -88,7 +88,7 @@
88
88
  "xpath": "^0.0.32"
89
89
  },
90
90
  "peerDependencies": {
91
- "@splunk/visualization-context": "^28.8.0",
91
+ "@splunk/visualization-context": "^28.9.0",
92
92
  "react": "^18.3.1",
93
93
  "react-dom": "^18.3.1",
94
94
  "styled-components": "^5.3.10"
@@ -98,17 +98,17 @@
98
98
  "@babel/core": "^7.26.4",
99
99
  "@babel/parser": "^7.29.7",
100
100
  "@babel/traverse": "^7.29.7",
101
- "@babel/types": "^7.29.0",
101
+ "@babel/types": "^7.29.7",
102
102
  "@loki/create-async-callback": "^0.35.1",
103
103
  "@mdx-js/loader": "^3.1.1",
104
104
  "@mdx-js/mdx": "^3.1.1",
105
105
  "@splunk/babel-preset": "^4.0.0",
106
106
  "@splunk/docs-gen": "^1.8.0",
107
- "@splunk/dynamic-editors": "0.44.7",
107
+ "@splunk/dynamic-editors": "0.46.1",
108
108
  "@splunk/jsdoc-loader": "^3.1.1",
109
109
  "@splunk/react-docs": "^1.9.0",
110
- "@splunk/visualization-build-tools": "^28.8.0",
111
- "@splunk/visualization-context": "^28.8.0",
110
+ "@splunk/visualization-build-tools": "^28.9.0",
111
+ "@splunk/visualization-context": "^28.9.0",
112
112
  "@splunk/webpack-configs": "^7.0.2",
113
113
  "@storybook/addon-actions": "^7.6.21",
114
114
  "@storybook/addon-docs": "^7.6.21",
@@ -133,7 +133,7 @@
133
133
  "@types/d3-brush": "^2.1.5",
134
134
  "@types/d3-collection": "^1.0.13",
135
135
  "@types/d3-drag": "^2.0.5",
136
- "@types/d3-hierarchy": "^3.0.7",
136
+ "@types/d3-hierarchy": "^3.1.7",
137
137
  "@types/d3-interpolate": "^3.0.4",
138
138
  "@types/d3-scale": "^3.3.5",
139
139
  "@types/d3-selection": "^2.0.5",
@@ -146,7 +146,7 @@
146
146
  "babel-loader": "^8",
147
147
  "babel-plugin-styled-components": "^1.13.3",
148
148
  "faker": "5.1.0",
149
- "jest-canvas-mock": "^2.5.2",
149
+ "jest-canvas-mock": "^2.5.8",
150
150
  "jest-styled-components": "^7.2.0",
151
151
  "json-schema": "^0.4.0",
152
152
  "loki": "^0.35.1",