@splunk/visualizations 28.8.0 → 28.9.1

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 (279) 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 +43 -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/ChoroplethLayer.d.ts.map +1 -1
  57. package/Map/PureMap/ClusterLayer.d.ts.map +1 -1
  58. package/Map/PureMap/MapUtils.d.ts.map +1 -1
  59. package/Map/PureMap/MarkerWrapper.d.ts.map +1 -1
  60. package/Map/PureMap/PureMap.d.ts +8 -65
  61. package/Map/PureMap/PureMap.d.ts.map +1 -1
  62. package/Map/PureMap/mapWorker.d.ts +2 -0
  63. package/Map/PureMap/mapWorker.d.ts.map +1 -0
  64. package/Map.config.js +1 -1
  65. package/Map.config.js.map +2 -2
  66. package/Map.js +439 -336
  67. package/Map.js.map +4 -4
  68. package/Markdown/Markdown.d.ts +9 -1
  69. package/Markdown/Markdown.d.ts.map +1 -1
  70. package/Markdown/config.d.ts.map +1 -1
  71. package/Markdown.config.js +5 -0
  72. package/Markdown.config.js.map +2 -2
  73. package/Markdown.js +225 -94
  74. package/Markdown.js.map +3 -3
  75. package/MarkerGauge.js +239 -134
  76. package/MarkerGauge.js.map +4 -4
  77. package/NetworkGraph/PureNetworkGraph/PureNetworkGraph.d.ts.map +1 -1
  78. package/NetworkGraph/PureNetworkGraph/components/NetworkGraphSvg.d.ts +1 -0
  79. package/NetworkGraph/PureNetworkGraph/components/NetworkGraphSvg.d.ts.map +1 -1
  80. package/NetworkGraph/PureNetworkGraph/components/Node.d.ts +1 -0
  81. package/NetworkGraph/PureNetworkGraph/components/Node.d.ts.map +1 -1
  82. package/NetworkGraph/PureNetworkGraph/utils/networkGraphUtils.d.ts +3 -5
  83. package/NetworkGraph/PureNetworkGraph/utils/networkGraphUtils.d.ts.map +1 -1
  84. package/NetworkGraph.config.js +4 -2
  85. package/NetworkGraph.config.js.map +2 -2
  86. package/NetworkGraph.js +327 -188
  87. package/NetworkGraph.js.map +4 -4
  88. package/ParallelCoordinates/ParallelCoordinates.d.ts +3 -1
  89. package/ParallelCoordinates/ParallelCoordinates.d.ts.map +1 -1
  90. package/ParallelCoordinates.js +239 -128
  91. package/ParallelCoordinates.js.map +4 -4
  92. package/Pie/config.d.ts.map +1 -1
  93. package/Pie/pieUtils.d.ts.map +1 -1
  94. package/Pie.config.js +4 -2
  95. package/Pie.config.js.map +2 -2
  96. package/Pie.js +228 -125
  97. package/Pie.js.map +3 -3
  98. package/ProcessTree/ProcessTree.d.ts +3 -1
  99. package/ProcessTree/ProcessTree.d.ts.map +1 -1
  100. package/ProcessTree/PureProcessTree/PureProcessTree.d.ts +1 -0
  101. package/ProcessTree/PureProcessTree/PureProcessTree.d.ts.map +1 -1
  102. package/ProcessTree/PureProcessTree/components/ProcessTreeLeftPanel.d.ts +1 -0
  103. package/ProcessTree/PureProcessTree/components/ProcessTreeLeftPanel.d.ts.map +1 -1
  104. package/ProcessTree/PureProcessTree/hooks/useProcessTreeGraphData.d.ts +2 -1
  105. package/ProcessTree/PureProcessTree/hooks/useProcessTreeGraphData.d.ts.map +1 -1
  106. package/ProcessTree/PureProcessTree/utils/iconLoader.d.ts +2 -0
  107. package/ProcessTree/PureProcessTree/utils/iconLoader.d.ts.map +1 -1
  108. package/ProcessTree/PureProcessTree/utils/processTreeUtils.d.ts +5 -1
  109. package/ProcessTree/PureProcessTree/utils/processTreeUtils.d.ts.map +1 -1
  110. package/ProcessTree.js +435 -192
  111. package/ProcessTree.js.map +4 -4
  112. package/Punchcard/Punchcard.d.ts +3 -1
  113. package/Punchcard/Punchcard.d.ts.map +1 -1
  114. package/Punchcard.js +238 -129
  115. package/Punchcard.js.map +4 -4
  116. package/Rectangle/Rectangle.d.ts +3 -1
  117. package/Rectangle/Rectangle.d.ts.map +1 -1
  118. package/Rectangle.js +218 -116
  119. package/Rectangle.js.map +4 -4
  120. package/RichText/PureRichText/Editor/EditorPanel.d.ts +1 -4
  121. package/RichText/PureRichText/Editor/EditorPanel.d.ts.map +1 -1
  122. package/RichText/PureRichText/Editor/hooks/useConfigPanelFocus.d.ts +14 -0
  123. package/RichText/PureRichText/Editor/hooks/useConfigPanelFocus.d.ts.map +1 -0
  124. package/RichText/PureRichText/Editor/hooks/useEditorPanelSync.d.ts +15 -0
  125. package/RichText/PureRichText/Editor/hooks/useEditorPanelSync.d.ts.map +1 -0
  126. package/RichText/PureRichText/Editor/hooks/useLinkHandlers.d.ts.map +1 -1
  127. package/RichText/PureRichText/Editor/hooks/usePortalTarget.d.ts +9 -0
  128. package/RichText/PureRichText/Editor/hooks/usePortalTarget.d.ts.map +1 -0
  129. package/RichText/PureRichText/InnerEditor.d.ts +15 -9
  130. package/RichText/PureRichText/InnerEditor.d.ts.map +1 -1
  131. package/RichText/PureRichText/PureRichText.d.ts +5 -10
  132. package/RichText/PureRichText/PureRichText.d.ts.map +1 -1
  133. package/RichText/PureRichText/PureRichTextContext.d.ts +3 -6
  134. package/RichText/PureRichText/PureRichTextContext.d.ts.map +1 -1
  135. package/RichText/PureRichText/RichTextStyles.d.ts +5 -4
  136. package/RichText/PureRichText/RichTextStyles.d.ts.map +1 -1
  137. package/RichText/PureRichText/activeInstance.d.ts +6 -7
  138. package/RichText/PureRichText/activeInstance.d.ts.map +1 -1
  139. package/RichText/PureRichText/config.d.ts.map +1 -1
  140. package/RichText/PureRichText/hooks/useContentSync.d.ts +9 -9
  141. package/RichText/PureRichText/hooks/useContentSync.d.ts.map +1 -1
  142. package/RichText/PureRichText/hooks/useDashboardKeyboardNav.d.ts +2 -7
  143. package/RichText/PureRichText/hooks/useDashboardKeyboardNav.d.ts.map +1 -1
  144. package/RichText/PureRichText/hooks/useEditorSetup.d.ts +8 -4
  145. package/RichText/PureRichText/hooks/useEditorSetup.d.ts.map +1 -1
  146. package/RichText/PureRichText/hooks/useFocusHandlers.d.ts +2 -4
  147. package/RichText/PureRichText/hooks/useFocusHandlers.d.ts.map +1 -1
  148. package/RichText/PureRichText/hooks/useKeyboardShortcuts.d.ts.map +1 -1
  149. package/RichText/PureRichText/hooks/useMouseHandlers.d.ts +3 -7
  150. package/RichText/PureRichText/hooks/useMouseHandlers.d.ts.map +1 -1
  151. package/RichText/PureRichText/hooks/useStepFontSize.d.ts +2 -2
  152. package/RichText/PureRichText/hooks/useStepLineSpacing.d.ts +2 -3
  153. package/RichText/PureRichText/hooks/useStepLineSpacing.d.ts.map +1 -1
  154. package/RichText/PureRichText/hooks/useTokenMap.d.ts +13 -24
  155. package/RichText/PureRichText/hooks/useTokenMap.d.ts.map +1 -1
  156. package/RichText/PureRichText/renderers/ElementRenderer.d.ts +2 -5
  157. package/RichText/PureRichText/renderers/ElementRenderer.d.ts.map +1 -1
  158. package/RichText/PureRichText/types.d.ts +6 -0
  159. package/RichText/PureRichText/types.d.ts.map +1 -1
  160. package/RichText/PureRichText/utils/slateUtils.d.ts +26 -2
  161. package/RichText/PureRichText/utils/slateUtils.d.ts.map +1 -1
  162. package/RichText/RichText.d.ts +3 -1
  163. package/RichText/RichText.d.ts.map +1 -1
  164. package/RichText/config.d.ts.map +1 -1
  165. package/RichText.config.js +5 -0
  166. package/RichText.config.js.map +2 -2
  167. package/RichText.js +1848 -842
  168. package/RichText.js.map +4 -4
  169. package/Sankey/PureSankey/PureSankey.d.ts +2 -0
  170. package/Sankey/PureSankey/PureSankey.d.ts.map +1 -1
  171. package/Sankey/PureSankey/SankeyLink.d.ts +3 -1
  172. package/Sankey/PureSankey/SankeyLink.d.ts.map +1 -1
  173. package/Sankey/PureSankey/SankeyNode.d.ts +5 -2
  174. package/Sankey/PureSankey/SankeyNode.d.ts.map +1 -1
  175. package/Sankey/PureSankey/SankeyUtils.d.ts.map +1 -1
  176. package/Sankey/Sankey.d.ts +3 -1
  177. package/Sankey/Sankey.d.ts.map +1 -1
  178. package/Sankey.js +508 -219
  179. package/Sankey.js.map +4 -4
  180. package/Scatter.config.js +3 -5
  181. package/Scatter.config.js.map +2 -2
  182. package/Scatter.js +244 -146
  183. package/Scatter.js.map +4 -4
  184. package/SingleValue/SingleValue.d.ts.map +1 -1
  185. package/SingleValue.js +273 -173
  186. package/SingleValue.js.map +4 -4
  187. package/SingleValueBasic.js +4 -4
  188. package/SingleValueBasic.js.map +2 -2
  189. package/SingleValueIcon/SingleValueIcon.d.ts.map +1 -1
  190. package/SingleValueIcon.js +264 -164
  191. package/SingleValueIcon.js.map +4 -4
  192. package/SingleValueRadial.js +267 -167
  193. package/SingleValueRadial.js.map +4 -4
  194. package/SparkLine/SparkLine.d.ts.map +1 -1
  195. package/SparkLine.js.map +2 -2
  196. package/Table/PureTable.d.ts.map +1 -1
  197. package/Table/Table.d.ts +2 -5
  198. package/Table/Table.d.ts.map +1 -1
  199. package/Table/hooks.d.ts.map +1 -1
  200. package/Table.config.js +1 -1
  201. package/Table.config.js.map +2 -2
  202. package/Table.js +293 -271
  203. package/Table.js.map +4 -4
  204. package/Timeline/Timeline.d.ts +3 -1
  205. package/Timeline/Timeline.d.ts.map +1 -1
  206. package/Timeline.config.js +2 -2
  207. package/Timeline.config.js.map +2 -2
  208. package/Timeline.js +266 -142
  209. package/Timeline.js.map +4 -4
  210. package/Treemap/Treemap.d.ts +3 -1
  211. package/Treemap/Treemap.d.ts.map +1 -1
  212. package/Treemap.js +263 -147
  213. package/Treemap.js.map +4 -4
  214. package/common/Charting.js +8 -10
  215. package/common/Charting.js.map +2 -2
  216. package/common/ChartingApi.d.ts.map +1 -1
  217. package/common/ChartingApi.js +5 -2
  218. package/common/ChartingApi.js.map +2 -2
  219. package/common/DocExampleWithVizSandbox.d.ts +2 -0
  220. package/common/DocExampleWithVizSandbox.d.ts.map +1 -1
  221. package/common/DocExampleWithVizSandbox.js +54 -6
  222. package/common/DocExampleWithVizSandbox.js.map +2 -2
  223. package/common/GaugeMajorTicks.js.map +2 -2
  224. package/common/GaugeValueMarker.js.map +2 -2
  225. package/common/OptionsDoc.js +1 -1
  226. package/common/OptionsDoc.js.map +2 -2
  227. package/common/OverviewDoc.js +54 -6
  228. package/common/OverviewDoc.js.map +2 -2
  229. package/common/ThemesDoc.js.map +2 -2
  230. package/common/TimeSeriesChartWrapper.js +10 -9
  231. package/common/TimeSeriesChartWrapper.js.map +2 -2
  232. package/common/chartingUtils.d.ts.map +1 -1
  233. package/common/chartingUtils.js +12 -11
  234. package/common/chartingUtils.js.map +2 -2
  235. package/common/components/IconPlaceholder.d.ts.map +1 -1
  236. package/common/docUtils.d.ts.map +1 -1
  237. package/common/docUtils.js +15 -6
  238. package/common/docUtils.js.map +2 -2
  239. package/common/editorConfig/AxesChartDataDisplay.d.ts.map +1 -1
  240. package/common/gaugeUtils.d.ts.map +1 -1
  241. package/common/gaugeUtils.js +4 -2
  242. package/common/gaugeUtils.js.map +2 -2
  243. package/common/hooks/useSorting.d.ts.map +1 -1
  244. package/common/interfaces/VizEvent.d.ts +7 -0
  245. package/common/interfaces/VizEvent.d.ts.map +1 -1
  246. package/common/utils/dataUtils.d.ts.map +1 -1
  247. package/common/utils/dataUtils.js +6 -10
  248. package/common/utils/dataUtils.js.map +2 -2
  249. package/common/utils/featureFlagUtils.js +2 -2
  250. package/common/utils/featureFlagUtils.js.map +2 -2
  251. package/common/utils/focusUtils.js +1 -1
  252. package/common/utils/focusUtils.js.map +2 -2
  253. package/common/utils/mapUtils.d.ts.map +1 -1
  254. package/common/utils/mapUtils.js +17 -21
  255. package/common/utils/mapUtils.js.map +3 -3
  256. package/common/utils/singleValueUtils.js +22 -25
  257. package/common/utils/singleValueUtils.js.map +2 -2
  258. package/common/utils/textUtils.d.ts.map +1 -1
  259. package/common/utils/textUtils.js +37 -23
  260. package/common/utils/textUtils.js.map +2 -2
  261. package/common/utils/trellisUtils.d.ts.map +1 -1
  262. package/common/utils/trellisUtils.js +18 -17
  263. package/common/utils/trellisUtils.js.map +2 -2
  264. package/common/utils/urlUtils.js.map +2 -2
  265. package/common/utils/visualizationTheme.d.ts +15 -0
  266. package/common/utils/visualizationTheme.d.ts.map +1 -0
  267. package/common/utils/visualizationTheme.js +72 -0
  268. package/common/utils/visualizationTheme.js.map +7 -0
  269. package/common/withDashboardViz.d.ts +3 -1
  270. package/common/withDashboardViz.d.ts.map +1 -1
  271. package/common/withDashboardViz.js +216 -105
  272. package/common/withDashboardViz.js.map +4 -4
  273. package/docs-llm/map/examples-react.md +39 -39
  274. package/docs-llm/network-graph/options.md +2 -2
  275. package/docs-llm/pie/examples-json.md +195 -0
  276. package/docs-llm/pie/examples-react.md +123 -0
  277. package/docs-llm/pie/options.md +1 -1
  278. package/docs-llm/process-tree/options.md +3 -2
  279. package/package.json +32 -29
@@ -9,10 +9,10 @@
9
9
  ```jsx
10
10
  import React from 'react';
11
11
  import Map from '@splunk/visualizations/Map';
12
- import { MapContextProvider, testTileConfig } from '@splunk/visualization-context/MapContext';
12
+ import MapDocsExample from '../MapDocsExample';
13
13
 
14
14
  export default () => (
15
- <MapContextProvider value={{ defaultTileConfig: testTileConfig }}>
15
+ <MapDocsExample>
16
16
  <Map
17
17
  options={{
18
18
  layers: [
@@ -832,7 +832,7 @@ export default () => (
832
832
  },
833
833
  }}
834
834
  />
835
- </MapContextProvider>
835
+ </MapDocsExample>
836
836
  );
837
837
  ```
838
838
 
@@ -843,10 +843,10 @@ export default () => (
843
843
  ```jsx
844
844
  import React from 'react';
845
845
  import Map from '@splunk/visualizations/Map';
846
- import { MapContextProvider, testTileConfig } from '@splunk/visualization-context/MapContext';
846
+ import MapDocsExample from '../MapDocsExample';
847
847
 
848
848
  export default () => (
849
- <MapContextProvider value={{ defaultTileConfig: testTileConfig }}>
849
+ <MapDocsExample>
850
850
  <Map
851
851
  options={{
852
852
  layers: [
@@ -1322,7 +1322,7 @@ export default () => (
1322
1322
  },
1323
1323
  }}
1324
1324
  />
1325
- </MapContextProvider>
1325
+ </MapDocsExample>
1326
1326
  );
1327
1327
  ```
1328
1328
 
@@ -1333,10 +1333,10 @@ export default () => (
1333
1333
  ```jsx
1334
1334
  import React from 'react';
1335
1335
  import Map from '@splunk/visualizations/Map';
1336
- import { MapContextProvider, testTileConfig } from '@splunk/visualization-context/MapContext';
1336
+ import MapDocsExample from '../MapDocsExample';
1337
1337
 
1338
1338
  export default () => (
1339
- <MapContextProvider value={{ defaultTileConfig: testTileConfig }}>
1339
+ <MapDocsExample>
1340
1340
  <Map
1341
1341
  options={{
1342
1342
  layers: [
@@ -2157,7 +2157,7 @@ export default () => (
2157
2157
  },
2158
2158
  }}
2159
2159
  />
2160
- </MapContextProvider>
2160
+ </MapDocsExample>
2161
2161
  );
2162
2162
  ```
2163
2163
 
@@ -2168,10 +2168,10 @@ export default () => (
2168
2168
  ```jsx
2169
2169
  import React from 'react';
2170
2170
  import Map from '@splunk/visualizations/Map';
2171
- import { MapContextProvider, testTileConfig } from '@splunk/visualization-context/MapContext';
2171
+ import MapDocsExample from '../MapDocsExample';
2172
2172
 
2173
2173
  export default () => (
2174
- <MapContextProvider value={{ defaultTileConfig: testTileConfig }}>
2174
+ <MapDocsExample>
2175
2175
  <Map
2176
2176
  options={{
2177
2177
  layers: [
@@ -2647,7 +2647,7 @@ export default () => (
2647
2647
  },
2648
2648
  }}
2649
2649
  />
2650
- </MapContextProvider>
2650
+ </MapDocsExample>
2651
2651
  );
2652
2652
  ```
2653
2653
 
@@ -2658,10 +2658,10 @@ export default () => (
2658
2658
  ```jsx
2659
2659
  import React from 'react';
2660
2660
  import Map from '@splunk/visualizations/Map';
2661
- import { MapContextProvider, testTileConfig } from '@splunk/visualization-context/MapContext';
2661
+ import MapDocsExample from '../MapDocsExample';
2662
2662
 
2663
2663
  export default () => (
2664
- <MapContextProvider value={{ defaultTileConfig: testTileConfig }}>
2664
+ <MapDocsExample>
2665
2665
  <Map
2666
2666
  options={{
2667
2667
  layers: [
@@ -3137,7 +3137,7 @@ export default () => (
3137
3137
  },
3138
3138
  }}
3139
3139
  />
3140
- </MapContextProvider>
3140
+ </MapDocsExample>
3141
3141
  );
3142
3142
  ```
3143
3143
 
@@ -3148,10 +3148,10 @@ export default () => (
3148
3148
  ```jsx
3149
3149
  import React from 'react';
3150
3150
  import Map from '@splunk/visualizations/Map';
3151
- import { MapContextProvider, testTileConfig } from '@splunk/visualization-context/MapContext';
3151
+ import MapDocsExample from '../MapDocsExample';
3152
3152
 
3153
3153
  export default () => (
3154
- <MapContextProvider value={{ defaultTileConfig: testTileConfig }}>
3154
+ <MapDocsExample>
3155
3155
  <Map
3156
3156
  options={{
3157
3157
  layers: [
@@ -3973,7 +3973,7 @@ export default () => (
3973
3973
  },
3974
3974
  }}
3975
3975
  />
3976
- </MapContextProvider>
3976
+ </MapDocsExample>
3977
3977
  );
3978
3978
  ```
3979
3979
 
@@ -3984,10 +3984,10 @@ export default () => (
3984
3984
  ```jsx
3985
3985
  import React from 'react';
3986
3986
  import Map from '@splunk/visualizations/Map';
3987
- import { MapContextProvider, testTileConfig } from '@splunk/visualization-context/MapContext';
3987
+ import MapDocsExample from '../MapDocsExample';
3988
3988
 
3989
3989
  export default () => (
3990
- <MapContextProvider value={{ defaultTileConfig: testTileConfig }}>
3990
+ <MapDocsExample>
3991
3991
  <Map
3992
3992
  options={{
3993
3993
  layers: [
@@ -4020,7 +4020,7 @@ export default () => (
4020
4020
  },
4021
4021
  }}
4022
4022
  />
4023
- </MapContextProvider>
4023
+ </MapDocsExample>
4024
4024
  );
4025
4025
  ```
4026
4026
 
@@ -4031,10 +4031,10 @@ export default () => (
4031
4031
  ```jsx
4032
4032
  import React from 'react';
4033
4033
  import Map from '@splunk/visualizations/Map';
4034
- import { MapContextProvider, testTileConfig } from '@splunk/visualization-context/MapContext';
4034
+ import MapDocsExample from '../MapDocsExample';
4035
4035
 
4036
4036
  export default () => (
4037
- <MapContextProvider value={{ defaultTileConfig: testTileConfig }}>
4037
+ <MapDocsExample>
4038
4038
  <Map
4039
4039
  options={{
4040
4040
  layers: [
@@ -4067,7 +4067,7 @@ export default () => (
4067
4067
  },
4068
4068
  }}
4069
4069
  />
4070
- </MapContextProvider>
4070
+ </MapDocsExample>
4071
4071
  );
4072
4072
  ```
4073
4073
 
@@ -4078,10 +4078,10 @@ export default () => (
4078
4078
  ```jsx
4079
4079
  import React from 'react';
4080
4080
  import Map from '@splunk/visualizations/Map';
4081
- import { MapContextProvider, testTileConfig } from '@splunk/visualization-context/MapContext';
4081
+ import MapDocsExample from '../MapDocsExample';
4082
4082
 
4083
4083
  export default () => (
4084
- <MapContextProvider value={{ defaultTileConfig: testTileConfig }}>
4084
+ <MapDocsExample>
4085
4085
  <Map
4086
4086
  options={{
4087
4087
  layers: [
@@ -5022,7 +5022,7 @@ export default () => (
5022
5022
  },
5023
5023
  }}
5024
5024
  />
5025
- </MapContextProvider>
5025
+ </MapDocsExample>
5026
5026
  );
5027
5027
  ```
5028
5028
 
@@ -5033,10 +5033,10 @@ export default () => (
5033
5033
  ```jsx
5034
5034
  import React from 'react';
5035
5035
  import Map from '@splunk/visualizations/Map';
5036
- import { MapContextProvider, testTileConfig } from '@splunk/visualization-context/MapContext';
5036
+ import MapDocsExample from '../MapDocsExample';
5037
5037
 
5038
5038
  export default () => (
5039
- <MapContextProvider value={{ defaultTileConfig: testTileConfig }}>
5039
+ <MapDocsExample>
5040
5040
  <Map
5041
5041
  options={{
5042
5042
  layers: [
@@ -5974,7 +5974,7 @@ export default () => (
5974
5974
  },
5975
5975
  }}
5976
5976
  />
5977
- </MapContextProvider>
5977
+ </MapDocsExample>
5978
5978
  );
5979
5979
  ```
5980
5980
 
@@ -5985,10 +5985,10 @@ export default () => (
5985
5985
  ```jsx
5986
5986
  import React from 'react';
5987
5987
  import Map from '@splunk/visualizations/Map';
5988
- import { MapContextProvider, testTileConfig } from '@splunk/visualization-context/MapContext';
5988
+ import MapDocsExample from '../MapDocsExample';
5989
5989
 
5990
5990
  export default () => (
5991
- <MapContextProvider value={{ defaultTileConfig: testTileConfig }}>
5991
+ <MapDocsExample>
5992
5992
  <Map
5993
5993
  options={{
5994
5994
  layers: [
@@ -6021,7 +6021,7 @@ export default () => (
6021
6021
  },
6022
6022
  }}
6023
6023
  />
6024
- </MapContextProvider>
6024
+ </MapDocsExample>
6025
6025
  );
6026
6026
  ```
6027
6027
 
@@ -6032,10 +6032,10 @@ export default () => (
6032
6032
  ```jsx
6033
6033
  import React from 'react';
6034
6034
  import Map from '@splunk/visualizations/Map';
6035
- import { MapContextProvider, testTileConfig } from '@splunk/visualization-context/MapContext';
6035
+ import MapDocsExample from '../MapDocsExample';
6036
6036
 
6037
6037
  export default () => (
6038
- <MapContextProvider value={{ defaultTileConfig: testTileConfig }}>
6038
+ <MapDocsExample>
6039
6039
  <Map
6040
6040
  options={{
6041
6041
  layers: [
@@ -6075,7 +6075,7 @@ export default () => (
6075
6075
  },
6076
6076
  }}
6077
6077
  />
6078
- </MapContextProvider>
6078
+ </MapDocsExample>
6079
6079
  );
6080
6080
  ```
6081
6081
 
@@ -6086,10 +6086,10 @@ export default () => (
6086
6086
  ```jsx
6087
6087
  import React from 'react';
6088
6088
  import Map from '@splunk/visualizations/Map';
6089
- import { MapContextProvider, testTileConfig } from '@splunk/visualization-context/MapContext';
6089
+ import MapDocsExample from '../MapDocsExample';
6090
6090
 
6091
6091
  export default () => (
6092
- <MapContextProvider value={{ defaultTileConfig: testTileConfig }}>
6092
+ <MapDocsExample>
6093
6093
  <Map
6094
6094
  options={{
6095
6095
  layers: [
@@ -6149,6 +6149,6 @@ export default () => (
6149
6149
  ],
6150
6150
  }}
6151
6151
  />
6152
- </MapContextProvider>
6152
+ </MapDocsExample>
6153
6153
  );
6154
6154
  ```
@@ -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 |