@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.
- package/Area.js +2 -2
- package/Bar.js +2 -2
- package/Bubble.js +2 -2
- package/CHANGELOG.external.md +19 -50
- package/ChoroplethSvg.js +2 -2
- package/Column.js +2 -2
- package/Ellipse.js +2 -2
- package/Events/PureEvents/FieldSummaryTooltip.d.ts +8 -31
- package/Events/PureEvents/FieldSummaryTooltip.d.ts.map +1 -1
- package/Events/PureEvents/PureEvents.d.ts.map +1 -1
- package/Events/PureEvents/TimeControlsPopover.d.ts +6 -25
- package/Events/PureEvents/TimeControlsPopover.d.ts.map +1 -1
- package/Events.js +27 -101
- package/Events.js.map +2 -2
- package/FillerGauge.js +2 -2
- package/Image.js +2 -2
- package/Line.js +2 -2
- package/LinkGraph.js +2 -2
- package/Map/Map.d.ts +1 -0
- package/Map/Map.d.ts.map +1 -1
- package/Map/PureMap/BubbleLayer.d.ts +22 -4
- package/Map/PureMap/BubbleLayer.d.ts.map +1 -1
- package/Map/PureMap/ChoroplethLayer.d.ts +9 -1
- package/Map/PureMap/ChoroplethLayer.d.ts.map +1 -1
- package/Map/PureMap/ClusterLayer.d.ts +3 -1
- package/Map/PureMap/ClusterLayer.d.ts.map +1 -1
- package/Map/PureMap/LocalChoroplethLayer.d.ts +1 -0
- package/Map/PureMap/LocalChoroplethLayer.d.ts.map +1 -1
- package/Map/PureMap/MapContext.d.ts +13 -0
- package/Map/PureMap/MapContext.d.ts.map +1 -0
- package/Map/PureMap/MarkerLayer.d.ts +19 -2
- package/Map/PureMap/MarkerLayer.d.ts.map +1 -1
- package/Map/PureMap/MarkerWrapper.d.ts +3 -2
- package/Map/PureMap/MarkerWrapper.d.ts.map +1 -1
- package/Map/PureMap/PureMap.d.ts +1 -0
- package/Map/PureMap/PureMap.d.ts.map +1 -1
- package/Map/PureMap/PureMapContainer.d.ts.map +1 -1
- package/Map/PureMap/Tooltip.d.ts +6 -1
- package/Map/PureMap/Tooltip.d.ts.map +1 -1
- package/Map/PureMap/keyboardConstants.d.ts +11 -0
- package/Map/PureMap/keyboardConstants.d.ts.map +1 -0
- package/Map/PureMap/useRovingTabindex.d.ts +18 -0
- package/Map/PureMap/useRovingTabindex.d.ts.map +1 -0
- package/Map.js +1317 -478
- package/Map.js.map +4 -4
- package/Markdown/Markdown.d.ts.map +1 -1
- package/Markdown.js +23 -6
- package/Markdown.js.map +2 -2
- package/MarkerGauge.js +2 -2
- package/NetworkGraph/NetworkGraph.d.ts +2 -5
- package/NetworkGraph/NetworkGraph.d.ts.map +1 -1
- package/NetworkGraph/PureNetworkGraph/PureNetworkGraph.d.ts.map +1 -1
- package/NetworkGraph/PureNetworkGraph/components/NetworkGraphSvg.d.ts +1 -0
- package/NetworkGraph/PureNetworkGraph/components/NetworkGraphSvg.d.ts.map +1 -1
- package/NetworkGraph/PureNetworkGraph/components/Node.d.ts +1 -0
- package/NetworkGraph/PureNetworkGraph/components/Node.d.ts.map +1 -1
- package/NetworkGraph/PureNetworkGraph/components/Tooltip.d.ts +1 -1
- package/NetworkGraph/PureNetworkGraph/components/Tooltip.d.ts.map +1 -1
- package/NetworkGraph/PureNetworkGraph/components/ZoomControls.d.ts +1 -0
- package/NetworkGraph/PureNetworkGraph/components/ZoomControls.d.ts.map +1 -1
- package/NetworkGraph/PureNetworkGraph/utils/networkGraphUtils.d.ts +23 -0
- package/NetworkGraph/PureNetworkGraph/utils/networkGraphUtils.d.ts.map +1 -1
- package/NetworkGraph.config.js +2 -0
- package/NetworkGraph.config.js.map +2 -2
- package/NetworkGraph.js +353 -40
- package/NetworkGraph.js.map +4 -4
- package/ParallelCoordinates.js +2 -2
- package/Pie.js +2 -2
- package/ProcessTree/ProcessTree.d.ts +3 -1
- package/ProcessTree/ProcessTree.d.ts.map +1 -1
- package/ProcessTree/PureProcessTree/PureProcessTree.d.ts +1 -0
- package/ProcessTree/PureProcessTree/PureProcessTree.d.ts.map +1 -1
- package/ProcessTree/PureProcessTree/components/ProcessTreeLeftPanel.d.ts +2 -0
- package/ProcessTree/PureProcessTree/components/ProcessTreeLeftPanel.d.ts.map +1 -1
- package/ProcessTree/PureProcessTree/components/ProcessTreeRightPanel.d.ts.map +1 -1
- package/ProcessTree/PureProcessTree/hooks/useProcessTreeGraphData.d.ts +3 -1
- package/ProcessTree/PureProcessTree/hooks/useProcessTreeGraphData.d.ts.map +1 -1
- package/ProcessTree/PureProcessTree/mockdata/data.d.ts.map +1 -1
- package/ProcessTree/PureProcessTree/utils/processTreeUtils.d.ts +3 -1
- package/ProcessTree/PureProcessTree/utils/processTreeUtils.d.ts.map +1 -1
- package/ProcessTree.js +101 -31
- package/ProcessTree.js.map +3 -3
- package/Punchcard.js +2 -2
- package/README.md +2 -0
- package/Rectangle.js +2 -2
- package/RichText.js +2 -2
- package/Sankey.js +2 -2
- package/Scatter.js +2 -2
- package/SingleValue.js +368 -471
- package/SingleValue.js.map +4 -4
- package/SingleValueIcon.js +2 -2
- package/SingleValueRadial.js +2 -2
- package/SparkLine/SparkLine.d.ts +57 -0
- package/SparkLine/SparkLine.d.ts.map +1 -0
- package/SparkLine/index.d.ts +1 -1
- package/SparkLine/index.d.ts.map +1 -1
- package/SparkLine.js +384 -485
- package/SparkLine.js.map +4 -4
- package/Table/PureTable.d.ts.map +1 -1
- package/Table/hooks.d.ts +1 -1
- package/Table/hooks.d.ts.map +1 -1
- package/Table.js +391 -493
- package/Table.js.map +4 -4
- package/Timeline.js +2 -2
- package/common/OptionsDoc.js.map +1 -1
- package/common/utils/mapUtils.js +512 -179
- package/common/utils/mapUtils.js.map +4 -4
- package/common/utils/shadowDomUtils.d.ts +2 -0
- package/common/utils/shadowDomUtils.d.ts.map +1 -0
- package/common/utils/shadowDomUtils.js +39 -0
- package/common/utils/shadowDomUtils.js.map +7 -0
- package/common/withDashboardViz.js +2 -2
- package/docs-llm/INDEX.md +118 -0
- package/docs-llm/area/examples-json.md +3854 -0
- package/docs-llm/area/examples-react.md +2816 -0
- package/docs-llm/area/options.md +97 -0
- package/docs-llm/area/overview.md +27 -0
- package/docs-llm/bar/examples-json.md +3380 -0
- package/docs-llm/bar/examples-react.md +2352 -0
- package/docs-llm/bar/options.md +89 -0
- package/docs-llm/bar/overview.md +25 -0
- package/docs-llm/bubble/examples-json.md +4082 -0
- package/docs-llm/bubble/examples-react.md +3977 -0
- package/docs-llm/bubble/options.md +62 -0
- package/docs-llm/bubble/overview.md +26 -0
- package/docs-llm/choropleth-svg/examples-json.md +397 -0
- package/docs-llm/choropleth-svg/examples-react.md +389 -0
- package/docs-llm/choropleth-svg/options.md +15 -0
- package/docs-llm/choropleth-svg/overview.md +23 -0
- package/docs-llm/column/examples-json.md +3898 -0
- package/docs-llm/column/examples-react.md +2653 -0
- package/docs-llm/column/options.md +94 -0
- package/docs-llm/column/overview.md +31 -0
- package/docs-llm/dsl/examples-json.md +43 -0
- package/docs-llm/dsl/examples-react.md +78 -0
- package/docs-llm/dsl/formatters/format-by-type-examples-json.md +58 -0
- package/docs-llm/dsl/formatters/format-by-type-examples-react.md +43 -0
- package/docs-llm/dsl/formatters/format-by-type.md +38 -0
- package/docs-llm/dsl/formatters/frame-examples-json.md +42 -0
- package/docs-llm/dsl/formatters/frame-examples-react.md +24 -0
- package/docs-llm/dsl/formatters/frame.md +6 -0
- package/docs-llm/dsl/formatters/gradient-examples-json.md +98 -0
- package/docs-llm/dsl/formatters/gradient-examples-react.md +44 -0
- package/docs-llm/dsl/formatters/gradient.md +23 -0
- package/docs-llm/dsl/formatters/lerp-examples-json.md +40 -0
- package/docs-llm/dsl/formatters/lerp-examples-react.md +28 -0
- package/docs-llm/dsl/formatters/lerp.md +19 -0
- package/docs-llm/dsl/formatters/match-value-examples-json.md +65 -0
- package/docs-llm/dsl/formatters/match-value-examples-react.md +37 -0
- package/docs-llm/dsl/formatters/match-value.md +13 -0
- package/docs-llm/dsl/formatters/max-contrast-examples-json.md +39 -0
- package/docs-llm/dsl/formatters/max-contrast-examples-react.md +27 -0
- package/docs-llm/dsl/formatters/max-contrast.md +9 -0
- package/docs-llm/dsl/formatters/multi-format-examples-json.md +67 -0
- package/docs-llm/dsl/formatters/multi-format-examples-react.md +49 -0
- package/docs-llm/dsl/formatters/multi-format.md +12 -0
- package/docs-llm/dsl/formatters/objects-examples-json.md +49 -0
- package/docs-llm/dsl/formatters/objects-examples-react.md +37 -0
- package/docs-llm/dsl/formatters/objects.md +3 -0
- package/docs-llm/dsl/formatters/pick-examples-json.md +59 -0
- package/docs-llm/dsl/formatters/pick-examples-react.md +30 -0
- package/docs-llm/dsl/formatters/pick.md +9 -0
- package/docs-llm/dsl/formatters/prefix-examples-json.md +29 -0
- package/docs-llm/dsl/formatters/prefix-examples-react.md +19 -0
- package/docs-llm/dsl/formatters/prefix.md +3 -0
- package/docs-llm/dsl/formatters/prepend-examples-json.md +51 -0
- package/docs-llm/dsl/formatters/prepend-examples-react.md +33 -0
- package/docs-llm/dsl/formatters/prepend.md +9 -0
- package/docs-llm/dsl/formatters/range-value-examples-json.md +48 -0
- package/docs-llm/dsl/formatters/range-value-examples-react.md +34 -0
- package/docs-llm/dsl/formatters/range-value.md +15 -0
- package/docs-llm/dsl/formatters/set-color-channel-examples-json.md +40 -0
- package/docs-llm/dsl/formatters/set-color-channel-examples-react.md +31 -0
- package/docs-llm/dsl/formatters/set-color-channel.md +9 -0
- package/docs-llm/dsl/formatters/suffix-examples-json.md +29 -0
- package/docs-llm/dsl/formatters/suffix-examples-react.md +19 -0
- package/docs-llm/dsl/formatters/suffix.md +3 -0
- package/docs-llm/dsl/formatters/type-examples-json.md +37 -0
- package/docs-llm/dsl/formatters/type-examples-react.md +20 -0
- package/docs-llm/dsl/formatters/type.md +3 -0
- package/docs-llm/dsl/overview.md +41 -0
- package/docs-llm/dsl/selectors/abs.md +7 -0
- package/docs-llm/dsl/selectors/ceil.md +7 -0
- package/docs-llm/dsl/selectors/data-frame-average-examples-json.md +41 -0
- package/docs-llm/dsl/selectors/data-frame-average-examples-react.md +36 -0
- package/docs-llm/dsl/selectors/data-frame-average.md +7 -0
- package/docs-llm/dsl/selectors/data-frame-count-examples-json.md +41 -0
- package/docs-llm/dsl/selectors/data-frame-count-examples-react.md +36 -0
- package/docs-llm/dsl/selectors/data-frame-count.md +7 -0
- package/docs-llm/dsl/selectors/data-frame-examples-json.md +830 -0
- package/docs-llm/dsl/selectors/data-frame-examples-react.md +929 -0
- package/docs-llm/dsl/selectors/data-frame-get-field-examples-json.md +89 -0
- package/docs-llm/dsl/selectors/data-frame-get-field-examples-react.md +124 -0
- package/docs-llm/dsl/selectors/data-frame-get-field.md +5 -0
- package/docs-llm/dsl/selectors/data-frame-get-raw-value.md +5 -0
- package/docs-llm/dsl/selectors/data-frame-get-type.md +5 -0
- package/docs-llm/dsl/selectors/data-frame-get-value.md +5 -0
- package/docs-llm/dsl/selectors/data-frame-max-examples-json.md +51 -0
- package/docs-llm/dsl/selectors/data-frame-max-examples-react.md +41 -0
- package/docs-llm/dsl/selectors/data-frame-max.md +7 -0
- package/docs-llm/dsl/selectors/data-frame-min-examples-json.md +51 -0
- package/docs-llm/dsl/selectors/data-frame-min-examples-react.md +41 -0
- package/docs-llm/dsl/selectors/data-frame-min.md +7 -0
- package/docs-llm/dsl/selectors/data-frame-percentile-examples-json.md +41 -0
- package/docs-llm/dsl/selectors/data-frame-percentile-examples-react.md +36 -0
- package/docs-llm/dsl/selectors/data-frame-percentile.md +8 -0
- package/docs-llm/dsl/selectors/data-frame-set-value.md +5 -0
- package/docs-llm/dsl/selectors/data-frame-sum-examples-json.md +51 -0
- package/docs-llm/dsl/selectors/data-frame-sum-examples-react.md +41 -0
- package/docs-llm/dsl/selectors/data-frame-sum.md +7 -0
- package/docs-llm/dsl/selectors/data-frame.md +4 -0
- package/docs-llm/dsl/selectors/data-point-get-field.md +5 -0
- package/docs-llm/dsl/selectors/data-point-get-raw-value.md +4 -0
- package/docs-llm/dsl/selectors/data-point-get-type.md +5 -0
- package/docs-llm/dsl/selectors/data-point-get-value.md +5 -0
- package/docs-llm/dsl/selectors/data-point-set-value.md +4 -0
- package/docs-llm/dsl/selectors/data-point.md +5 -0
- package/docs-llm/dsl/selectors/data-series-average.md +22 -0
- package/docs-llm/dsl/selectors/data-series-count.md +14 -0
- package/docs-llm/dsl/selectors/data-series-get-field.md +5 -0
- package/docs-llm/dsl/selectors/data-series-get-raw-value.md +4 -0
- package/docs-llm/dsl/selectors/data-series-get-type.md +5 -0
- package/docs-llm/dsl/selectors/data-series-get-value.md +4 -0
- package/docs-llm/dsl/selectors/data-series-max.md +5 -0
- package/docs-llm/dsl/selectors/data-series-min.md +5 -0
- package/docs-llm/dsl/selectors/data-series-percentile.md +17 -0
- package/docs-llm/dsl/selectors/data-series-set-value.md +4 -0
- package/docs-llm/dsl/selectors/data-series-sum.md +24 -0
- package/docs-llm/dsl/selectors/data-series.md +4 -0
- package/docs-llm/dsl/selectors/delta.md +7 -0
- package/docs-llm/dsl/selectors/divide.md +8 -0
- package/docs-llm/dsl/selectors/first-point.md +5 -0
- package/docs-llm/dsl/selectors/floor.md +7 -0
- package/docs-llm/dsl/selectors/frame-by-series-index-range-examples-json.md +89 -0
- package/docs-llm/dsl/selectors/frame-by-series-index-range-examples-react.md +88 -0
- package/docs-llm/dsl/selectors/frame-by-series-index-range.md +10 -0
- package/docs-llm/dsl/selectors/frame-by-series-indexes-examples-json.md +88 -0
- package/docs-llm/dsl/selectors/frame-by-series-indexes-examples-react.md +87 -0
- package/docs-llm/dsl/selectors/frame-by-series-indexes.md +9 -0
- package/docs-llm/dsl/selectors/frame-by-series-names-examples-json.md +89 -0
- package/docs-llm/dsl/selectors/frame-by-series-names-examples-react.md +88 -0
- package/docs-llm/dsl/selectors/frame-by-series-names-or-indexes-examples-json.md +89 -0
- package/docs-llm/dsl/selectors/frame-by-series-names-or-indexes-examples-react.md +88 -0
- package/docs-llm/dsl/selectors/frame-by-series-names-or-indexes.md +9 -0
- package/docs-llm/dsl/selectors/frame-by-series-names.md +9 -0
- package/docs-llm/dsl/selectors/frame-by-series-types-examples-json.md +89 -0
- package/docs-llm/dsl/selectors/frame-by-series-types-examples-react.md +88 -0
- package/docs-llm/dsl/selectors/frame-by-series-types.md +9 -0
- package/docs-llm/dsl/selectors/frame-without-internal-fields-examples-json.md +137 -0
- package/docs-llm/dsl/selectors/frame-without-internal-fields-examples-react.md +135 -0
- package/docs-llm/dsl/selectors/frame-without-internal-fields-except-examples-json.md +157 -0
- package/docs-llm/dsl/selectors/frame-without-internal-fields-except-examples-react.md +155 -0
- package/docs-llm/dsl/selectors/frame-without-internal-fields-except.md +21 -0
- package/docs-llm/dsl/selectors/frame-without-internal-fields.md +17 -0
- package/docs-llm/dsl/selectors/frame-without-series-names.md +8 -0
- package/docs-llm/dsl/selectors/last-point.md +5 -0
- package/docs-llm/dsl/selectors/minus.md +8 -0
- package/docs-llm/dsl/selectors/multiply.md +8 -0
- package/docs-llm/dsl/selectors/plus.md +8 -0
- package/docs-llm/dsl/selectors/point-by-index.md +6 -0
- package/docs-llm/dsl/selectors/points-by-indexes.md +6 -0
- package/docs-llm/dsl/selectors/round.md +7 -0
- package/docs-llm/dsl/selectors/series-by-index-examples-json.md +49 -0
- package/docs-llm/dsl/selectors/series-by-index-examples-react.md +39 -0
- package/docs-llm/dsl/selectors/series-by-index.md +8 -0
- package/docs-llm/dsl/selectors/series-by-name-examples-json.md +49 -0
- package/docs-llm/dsl/selectors/series-by-name-examples-react.md +39 -0
- package/docs-llm/dsl/selectors/series-by-name.md +8 -0
- package/docs-llm/dsl/selectors/series-by-prioritized-types-examples-json.md +47 -0
- package/docs-llm/dsl/selectors/series-by-prioritized-types-examples-react.md +39 -0
- package/docs-llm/dsl/selectors/series-by-prioritized-types.md +10 -0
- package/docs-llm/dsl/selectors/series-by-type-examples-json.md +49 -0
- package/docs-llm/dsl/selectors/series-by-type-examples-react.md +39 -0
- package/docs-llm/dsl/selectors/series-by-type.md +10 -0
- package/docs-llm/dsl/selectors/series-by-types.md +6 -0
- package/docs-llm/ellipse/examples-json.md +5 -0
- package/docs-llm/ellipse/examples-react.md +5 -0
- package/docs-llm/ellipse/options.md +16 -0
- package/docs-llm/ellipse/overview.md +5 -0
- package/docs-llm/events/examples-json.md +705 -0
- package/docs-llm/events/examples-react.md +536 -0
- package/docs-llm/events/options.md +18 -0
- package/docs-llm/events/overview.md +5 -0
- package/docs-llm/filler-gauge/examples-json.md +376 -0
- package/docs-llm/filler-gauge/examples-react.md +274 -0
- package/docs-llm/filler-gauge/options.md +26 -0
- package/docs-llm/filler-gauge/overview.md +5 -0
- package/docs-llm/image/examples-json.md +39 -0
- package/docs-llm/image/examples-react.md +65 -0
- package/docs-llm/image/options.md +13 -0
- package/docs-llm/image/overview.md +5 -0
- package/docs-llm/line/examples-json.md +3724 -0
- package/docs-llm/line/examples-react.md +2683 -0
- package/docs-llm/line/options.md +95 -0
- package/docs-llm/line/overview.md +29 -0
- package/docs-llm/link-graph/examples-json.md +5 -0
- package/docs-llm/link-graph/examples-react.md +5 -0
- package/docs-llm/link-graph/options.md +26 -0
- package/docs-llm/link-graph/overview.md +16 -0
- package/docs-llm/map/examples-json.md +13973 -0
- package/docs-llm/map/examples-react.md +6154 -0
- package/docs-llm/map/options.md +22 -0
- package/docs-llm/map/overview.md +32 -0
- package/docs-llm/markdown/examples-json.md +63 -0
- package/docs-llm/markdown/examples-react.md +98 -0
- package/docs-llm/markdown/options.md +17 -0
- package/docs-llm/markdown/overview.md +5 -0
- package/docs-llm/marker-gauge/examples-json.md +436 -0
- package/docs-llm/marker-gauge/examples-react.md +367 -0
- package/docs-llm/marker-gauge/options.md +26 -0
- package/docs-llm/marker-gauge/overview.md +5 -0
- package/docs-llm/network-graph/examples-json.md +8843 -0
- package/docs-llm/network-graph/examples-react.md +7339 -0
- package/docs-llm/network-graph/options.md +50 -0
- package/docs-llm/network-graph/overview.md +28 -0
- package/docs-llm/parallel-coordinates/examples-json.md +8376 -0
- package/docs-llm/parallel-coordinates/examples-react.md +2771 -0
- package/docs-llm/parallel-coordinates/options.md +14 -0
- package/docs-llm/parallel-coordinates/overview.md +22 -0
- package/docs-llm/pie/examples-json.md +851 -0
- package/docs-llm/pie/examples-react.md +606 -0
- package/docs-llm/pie/options.md +34 -0
- package/docs-llm/pie/overview.md +23 -0
- package/docs-llm/process-tree/options.md +32 -0
- package/docs-llm/punchcard/examples-json.md +6134 -0
- package/docs-llm/punchcard/examples-react.md +4562 -0
- package/docs-llm/punchcard/options.md +33 -0
- package/docs-llm/punchcard/overview.md +5 -0
- package/docs-llm/pure-rich-text/options.md +28 -0
- package/docs-llm/rectangle/examples-json.md +5 -0
- package/docs-llm/rectangle/examples-react.md +5 -0
- package/docs-llm/rectangle/options.md +19 -0
- package/docs-llm/rectangle/overview.md +5 -0
- package/docs-llm/rich-text/examples-json.md +96 -0
- package/docs-llm/rich-text/examples-react.md +119 -0
- package/docs-llm/rich-text/options.md +28 -0
- package/docs-llm/rich-text/overview.md +5 -0
- package/docs-llm/sankey/examples-json.md +844 -0
- package/docs-llm/sankey/examples-react.md +546 -0
- package/docs-llm/sankey/options.md +19 -0
- package/docs-llm/sankey/overview.md +24 -0
- package/docs-llm/scatter/examples-json.md +4012 -0
- package/docs-llm/scatter/examples-react.md +3914 -0
- package/docs-llm/scatter/options.md +68 -0
- package/docs-llm/scatter/overview.md +25 -0
- package/docs-llm/single-value/examples-json.md +2613 -0
- package/docs-llm/single-value/examples-react.md +2296 -0
- package/docs-llm/single-value/options.md +49 -0
- package/docs-llm/single-value/overview.md +23 -0
- package/docs-llm/single-value-icon/examples-json.md +1686 -0
- package/docs-llm/single-value-icon/examples-react.md +1573 -0
- package/docs-llm/single-value-icon/options.md +43 -0
- package/docs-llm/single-value-icon/overview.md +5 -0
- package/docs-llm/single-value-radial/examples-json.md +1178 -0
- package/docs-llm/single-value-radial/examples-react.md +1028 -0
- package/docs-llm/single-value-radial/options.md +41 -0
- package/docs-llm/single-value-radial/overview.md +5 -0
- package/docs-llm/table/examples-json.md +5 -0
- package/docs-llm/table/examples-react.md +5 -0
- package/docs-llm/table/options.md +25 -0
- package/docs-llm/table/overview.md +24 -0
- package/docs-llm/timeline/examples-json.md +5 -0
- package/docs-llm/timeline/examples-react.md +5 -0
- package/docs-llm/timeline/options.md +27 -0
- package/docs-llm/timeline/overview.md +24 -0
- package/package.json +28 -24
|
@@ -0,0 +1,606 @@
|
|
|
1
|
+
# Pie Examples
|
|
2
|
+
|
|
3
|
+
**Component Reference:** Pie or @splunk/visualizations/Pie
|
|
4
|
+
|
|
5
|
+
## Basic Pie
|
|
6
|
+
|
|
7
|
+
- **Key:** Basic Pie
|
|
8
|
+
|
|
9
|
+
```jsx
|
|
10
|
+
import React from 'react';
|
|
11
|
+
import Pie from '@splunk/visualizations/Pie';
|
|
12
|
+
|
|
13
|
+
export default () => (
|
|
14
|
+
<Pie
|
|
15
|
+
options={{}}
|
|
16
|
+
dataSources={{
|
|
17
|
+
primary: {
|
|
18
|
+
requestParams: { offset: 0, count: 20 },
|
|
19
|
+
data: {
|
|
20
|
+
fields: [{ name: 'component' }, { name: 'count' }],
|
|
21
|
+
columns: [
|
|
22
|
+
[
|
|
23
|
+
'January',
|
|
24
|
+
'February',
|
|
25
|
+
'March',
|
|
26
|
+
'April',
|
|
27
|
+
'May',
|
|
28
|
+
'June',
|
|
29
|
+
'July',
|
|
30
|
+
'August',
|
|
31
|
+
'September',
|
|
32
|
+
'October',
|
|
33
|
+
'November',
|
|
34
|
+
'December',
|
|
35
|
+
],
|
|
36
|
+
['1', '1', '1', '2', '10', '10', '5', '5', '5', '5', '5', '50'],
|
|
37
|
+
],
|
|
38
|
+
},
|
|
39
|
+
meta: { totalCount: 20 },
|
|
40
|
+
},
|
|
41
|
+
}}
|
|
42
|
+
/>
|
|
43
|
+
);
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Background Color - Orange
|
|
47
|
+
|
|
48
|
+
- **Key:** Background Color
|
|
49
|
+
|
|
50
|
+
```jsx
|
|
51
|
+
import React from 'react';
|
|
52
|
+
import Pie from '@splunk/visualizations/Pie';
|
|
53
|
+
|
|
54
|
+
export default () => (
|
|
55
|
+
<Pie
|
|
56
|
+
options={{ backgroundColor: '#f29335' }}
|
|
57
|
+
dataSources={{
|
|
58
|
+
primary: {
|
|
59
|
+
requestParams: { offset: 0, count: 20 },
|
|
60
|
+
data: {
|
|
61
|
+
fields: [{ name: 'component' }, { name: 'count' }],
|
|
62
|
+
columns: [
|
|
63
|
+
[
|
|
64
|
+
'January',
|
|
65
|
+
'February',
|
|
66
|
+
'March',
|
|
67
|
+
'April',
|
|
68
|
+
'May',
|
|
69
|
+
'June',
|
|
70
|
+
'July',
|
|
71
|
+
'August',
|
|
72
|
+
'September',
|
|
73
|
+
'October',
|
|
74
|
+
'November',
|
|
75
|
+
'December',
|
|
76
|
+
],
|
|
77
|
+
['1', '1', '1', '2', '10', '10', '5', '5', '5', '5', '5', '50'],
|
|
78
|
+
],
|
|
79
|
+
},
|
|
80
|
+
meta: { totalCount: 20 },
|
|
81
|
+
},
|
|
82
|
+
}}
|
|
83
|
+
/>
|
|
84
|
+
);
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
## Collapse Label - New Label
|
|
88
|
+
|
|
89
|
+
- **Key:** Collapsinglabel
|
|
90
|
+
|
|
91
|
+
```jsx
|
|
92
|
+
import React from 'react';
|
|
93
|
+
import Pie from '@splunk/visualizations/Pie';
|
|
94
|
+
|
|
95
|
+
export default () => (
|
|
96
|
+
<Pie
|
|
97
|
+
options={{ collapseLabel: 'New Collapsing Label' }}
|
|
98
|
+
dataSources={{
|
|
99
|
+
primary: {
|
|
100
|
+
requestParams: { offset: 0, count: 20 },
|
|
101
|
+
data: {
|
|
102
|
+
fields: [{ name: 'component' }, { name: 'count' }],
|
|
103
|
+
columns: [
|
|
104
|
+
[
|
|
105
|
+
'January',
|
|
106
|
+
'February',
|
|
107
|
+
'March',
|
|
108
|
+
'April',
|
|
109
|
+
'May',
|
|
110
|
+
'June',
|
|
111
|
+
'July',
|
|
112
|
+
'August',
|
|
113
|
+
'September',
|
|
114
|
+
'October',
|
|
115
|
+
'November',
|
|
116
|
+
'December',
|
|
117
|
+
],
|
|
118
|
+
['1', '1', '1', '2', '10', '10', '5', '5', '5', '5', '5', '50'],
|
|
119
|
+
],
|
|
120
|
+
},
|
|
121
|
+
meta: { totalCount: 20 },
|
|
122
|
+
},
|
|
123
|
+
}}
|
|
124
|
+
/>
|
|
125
|
+
);
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
## Collapse Threshold - 5
|
|
129
|
+
|
|
130
|
+
- **Key:** Slicecollapsingthreshold
|
|
131
|
+
|
|
132
|
+
```jsx
|
|
133
|
+
import React from 'react';
|
|
134
|
+
import Pie from '@splunk/visualizations/Pie';
|
|
135
|
+
|
|
136
|
+
export default () => (
|
|
137
|
+
<Pie
|
|
138
|
+
options={{ collapseThreshold: 0.05 }}
|
|
139
|
+
dataSources={{
|
|
140
|
+
primary: {
|
|
141
|
+
requestParams: { offset: 0, count: 20 },
|
|
142
|
+
data: {
|
|
143
|
+
fields: [{ name: 'component' }, { name: 'count' }],
|
|
144
|
+
columns: [
|
|
145
|
+
[
|
|
146
|
+
'January',
|
|
147
|
+
'February',
|
|
148
|
+
'March',
|
|
149
|
+
'April',
|
|
150
|
+
'May',
|
|
151
|
+
'June',
|
|
152
|
+
'July',
|
|
153
|
+
'August',
|
|
154
|
+
'September',
|
|
155
|
+
'October',
|
|
156
|
+
'November',
|
|
157
|
+
'December',
|
|
158
|
+
],
|
|
159
|
+
['1', '1', '1', '2', '10', '10', '5', '5', '5', '5', '5', '50'],
|
|
160
|
+
],
|
|
161
|
+
},
|
|
162
|
+
meta: { totalCount: 20 },
|
|
163
|
+
},
|
|
164
|
+
}}
|
|
165
|
+
/>
|
|
166
|
+
);
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
## Label Display - Percent
|
|
170
|
+
|
|
171
|
+
- **Key:** Labelswithpercentpie
|
|
172
|
+
|
|
173
|
+
```jsx
|
|
174
|
+
import React from 'react';
|
|
175
|
+
import Pie from '@splunk/visualizations/Pie';
|
|
176
|
+
|
|
177
|
+
export default () => (
|
|
178
|
+
<Pie
|
|
179
|
+
options={{ labelDisplay: 'valuesAndPercentage' }}
|
|
180
|
+
dataSources={{
|
|
181
|
+
primary: {
|
|
182
|
+
requestParams: { offset: 0, count: 20 },
|
|
183
|
+
data: {
|
|
184
|
+
fields: [{ name: 'component' }, { name: 'count' }],
|
|
185
|
+
columns: [
|
|
186
|
+
[
|
|
187
|
+
'January',
|
|
188
|
+
'February',
|
|
189
|
+
'March',
|
|
190
|
+
'April',
|
|
191
|
+
'May',
|
|
192
|
+
'June',
|
|
193
|
+
'July',
|
|
194
|
+
'August',
|
|
195
|
+
'September',
|
|
196
|
+
'October',
|
|
197
|
+
'November',
|
|
198
|
+
'December',
|
|
199
|
+
],
|
|
200
|
+
['1', '1', '1', '2', '10', '10', '5', '5', '5', '5', '5', '50'],
|
|
201
|
+
],
|
|
202
|
+
},
|
|
203
|
+
meta: { totalCount: 20 },
|
|
204
|
+
},
|
|
205
|
+
}}
|
|
206
|
+
/>
|
|
207
|
+
);
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
## Label Display - Off
|
|
211
|
+
|
|
212
|
+
- **Key:** Nolabelspie
|
|
213
|
+
|
|
214
|
+
```jsx
|
|
215
|
+
import React from 'react';
|
|
216
|
+
import Pie from '@splunk/visualizations/Pie';
|
|
217
|
+
|
|
218
|
+
export default () => (
|
|
219
|
+
<Pie
|
|
220
|
+
options={{ labelDisplay: 'off' }}
|
|
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
|
+
## Result Limit - 5
|
|
252
|
+
|
|
253
|
+
- **Key:** Truncatedsizepie
|
|
254
|
+
|
|
255
|
+
```jsx
|
|
256
|
+
import React from 'react';
|
|
257
|
+
import Pie from '@splunk/visualizations/Pie';
|
|
258
|
+
|
|
259
|
+
export default () => (
|
|
260
|
+
<Pie
|
|
261
|
+
options={{ resultLimit: '5' }}
|
|
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
|
+
## Series Colors: Yellow, Blue, Green
|
|
293
|
+
|
|
294
|
+
- **Key:** Series Colors
|
|
295
|
+
|
|
296
|
+
```jsx
|
|
297
|
+
import React from 'react';
|
|
298
|
+
import Pie from '@splunk/visualizations/Pie';
|
|
299
|
+
|
|
300
|
+
export default () => (
|
|
301
|
+
<Pie
|
|
302
|
+
options={{ seriesColors: ['#FFFF00', '#0000FF', '#008000'] }}
|
|
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
|
+
|
|
333
|
+
## Series Colors by Field: December - Green, May - Red
|
|
334
|
+
|
|
335
|
+
- **Key:** Field Colors
|
|
336
|
+
|
|
337
|
+
```jsx
|
|
338
|
+
import React from 'react';
|
|
339
|
+
import Pie from '@splunk/visualizations/Pie';
|
|
340
|
+
|
|
341
|
+
export default () => (
|
|
342
|
+
<Pie
|
|
343
|
+
options={{
|
|
344
|
+
seriesColorsByField: { December: '#008000', May: '#FF0000' },
|
|
345
|
+
}}
|
|
346
|
+
dataSources={{
|
|
347
|
+
primary: {
|
|
348
|
+
requestParams: { offset: 0, count: 20 },
|
|
349
|
+
data: {
|
|
350
|
+
fields: [{ name: 'component' }, { name: 'count' }],
|
|
351
|
+
columns: [
|
|
352
|
+
[
|
|
353
|
+
'January',
|
|
354
|
+
'February',
|
|
355
|
+
'March',
|
|
356
|
+
'April',
|
|
357
|
+
'May',
|
|
358
|
+
'June',
|
|
359
|
+
'July',
|
|
360
|
+
'August',
|
|
361
|
+
'September',
|
|
362
|
+
'October',
|
|
363
|
+
'November',
|
|
364
|
+
'December',
|
|
365
|
+
],
|
|
366
|
+
['1', '1', '1', '2', '10', '10', '5', '5', '5', '5', '5', '50'],
|
|
367
|
+
],
|
|
368
|
+
},
|
|
369
|
+
meta: { totalCount: 20 },
|
|
370
|
+
},
|
|
371
|
+
}}
|
|
372
|
+
/>
|
|
373
|
+
);
|
|
374
|
+
```
|
|
375
|
+
|
|
376
|
+
## Show Donut Hole - True
|
|
377
|
+
|
|
378
|
+
- **Key:** Donut
|
|
379
|
+
|
|
380
|
+
```jsx
|
|
381
|
+
import React from 'react';
|
|
382
|
+
import Pie from '@splunk/visualizations/Pie';
|
|
383
|
+
|
|
384
|
+
export default () => (
|
|
385
|
+
<Pie
|
|
386
|
+
options={{
|
|
387
|
+
showDonutHole: true,
|
|
388
|
+
}}
|
|
389
|
+
dataSources={{
|
|
390
|
+
primary: {
|
|
391
|
+
requestParams: { offset: 0, count: 20 },
|
|
392
|
+
data: {
|
|
393
|
+
fields: [{ name: 'component' }, { name: 'count' }],
|
|
394
|
+
columns: [
|
|
395
|
+
[
|
|
396
|
+
'January',
|
|
397
|
+
'February',
|
|
398
|
+
'March',
|
|
399
|
+
'April',
|
|
400
|
+
'May',
|
|
401
|
+
'June',
|
|
402
|
+
'July',
|
|
403
|
+
'August',
|
|
404
|
+
'September',
|
|
405
|
+
'October',
|
|
406
|
+
'November',
|
|
407
|
+
'December',
|
|
408
|
+
],
|
|
409
|
+
['1', '1', '1', '2', '10', '10', '5', '5', '5', '5', '5', '50'],
|
|
410
|
+
],
|
|
411
|
+
},
|
|
412
|
+
meta: { totalCount: 20 },
|
|
413
|
+
},
|
|
414
|
+
}}
|
|
415
|
+
/>
|
|
416
|
+
);
|
|
417
|
+
```
|
|
418
|
+
|
|
419
|
+
## Collapse - Exclude zeros and non-numeric values in the consolidated slice.
|
|
420
|
+
|
|
421
|
+
- **Key:** Collapse Exclude Zero
|
|
422
|
+
|
|
423
|
+
```jsx
|
|
424
|
+
import React from 'react';
|
|
425
|
+
import Pie from '@splunk/visualizations/Pie';
|
|
426
|
+
|
|
427
|
+
export default () => (
|
|
428
|
+
<Pie
|
|
429
|
+
options={{ collapseExcludeZero: true }}
|
|
430
|
+
dataSources={{
|
|
431
|
+
primary: {
|
|
432
|
+
requestParams: { offset: 0, count: 20 },
|
|
433
|
+
data: {
|
|
434
|
+
fields: [{ name: 'component' }, { name: 'count' }],
|
|
435
|
+
columns: [
|
|
436
|
+
[
|
|
437
|
+
'a',
|
|
438
|
+
'b',
|
|
439
|
+
'c',
|
|
440
|
+
'd',
|
|
441
|
+
'e',
|
|
442
|
+
'f',
|
|
443
|
+
'g',
|
|
444
|
+
'h',
|
|
445
|
+
'i',
|
|
446
|
+
'j',
|
|
447
|
+
'k',
|
|
448
|
+
'l',
|
|
449
|
+
'm',
|
|
450
|
+
'n',
|
|
451
|
+
'o',
|
|
452
|
+
'p',
|
|
453
|
+
'q',
|
|
454
|
+
'r',
|
|
455
|
+
's',
|
|
456
|
+
't',
|
|
457
|
+
'u',
|
|
458
|
+
'v',
|
|
459
|
+
'w',
|
|
460
|
+
'x',
|
|
461
|
+
'y',
|
|
462
|
+
'z',
|
|
463
|
+
],
|
|
464
|
+
[
|
|
465
|
+
'0',
|
|
466
|
+
'0',
|
|
467
|
+
'0',
|
|
468
|
+
'1',
|
|
469
|
+
'1',
|
|
470
|
+
'1',
|
|
471
|
+
'86',
|
|
472
|
+
'98',
|
|
473
|
+
'29',
|
|
474
|
+
'13',
|
|
475
|
+
'68',
|
|
476
|
+
'60',
|
|
477
|
+
'44',
|
|
478
|
+
'73',
|
|
479
|
+
'63',
|
|
480
|
+
'57',
|
|
481
|
+
'36',
|
|
482
|
+
'31',
|
|
483
|
+
'42',
|
|
484
|
+
'58',
|
|
485
|
+
'86',
|
|
486
|
+
'44',
|
|
487
|
+
'62',
|
|
488
|
+
'97',
|
|
489
|
+
'90',
|
|
490
|
+
'97',
|
|
491
|
+
],
|
|
492
|
+
],
|
|
493
|
+
},
|
|
494
|
+
meta: { totalCount: 20 },
|
|
495
|
+
},
|
|
496
|
+
}}
|
|
497
|
+
/>
|
|
498
|
+
);
|
|
499
|
+
```
|
|
500
|
+
|
|
501
|
+
## Trellis
|
|
502
|
+
|
|
503
|
+
- **Key:** Trellis
|
|
504
|
+
|
|
505
|
+
```jsx
|
|
506
|
+
import React from 'react';
|
|
507
|
+
import { FeatureFlagContextProvider } from '@splunk/visualization-context/FeatureFlagContext';
|
|
508
|
+
import Pie from '@splunk/visualizations/Pie';
|
|
509
|
+
|
|
510
|
+
export default () => (
|
|
511
|
+
<FeatureFlagContextProvider value={{ visualizations_enableTrellis: true }}>
|
|
512
|
+
<Pie
|
|
513
|
+
height={400}
|
|
514
|
+
options={{
|
|
515
|
+
splitByLayout: 'trellis',
|
|
516
|
+
trellisSplitBy: 'month',
|
|
517
|
+
trellis: {
|
|
518
|
+
minColumnWidth: 200,
|
|
519
|
+
},
|
|
520
|
+
}}
|
|
521
|
+
dataSources={{
|
|
522
|
+
primary: {
|
|
523
|
+
data: {
|
|
524
|
+
fields: [
|
|
525
|
+
{
|
|
526
|
+
name: 'component',
|
|
527
|
+
groupby_rank: '0',
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
name: 'month',
|
|
531
|
+
groupby_rank: '1',
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
name: 'count',
|
|
535
|
+
},
|
|
536
|
+
],
|
|
537
|
+
columns: [
|
|
538
|
+
[
|
|
539
|
+
'Database',
|
|
540
|
+
'API',
|
|
541
|
+
'UI',
|
|
542
|
+
'Database',
|
|
543
|
+
'API',
|
|
544
|
+
'UI',
|
|
545
|
+
'Database',
|
|
546
|
+
'API',
|
|
547
|
+
'UI',
|
|
548
|
+
'Database',
|
|
549
|
+
'API',
|
|
550
|
+
'UI',
|
|
551
|
+
'Database',
|
|
552
|
+
'API',
|
|
553
|
+
'UI',
|
|
554
|
+
'Database',
|
|
555
|
+
'API',
|
|
556
|
+
'UI',
|
|
557
|
+
],
|
|
558
|
+
[
|
|
559
|
+
'January',
|
|
560
|
+
'January',
|
|
561
|
+
'January',
|
|
562
|
+
'March',
|
|
563
|
+
'March',
|
|
564
|
+
'March',
|
|
565
|
+
'May',
|
|
566
|
+
'May',
|
|
567
|
+
'May',
|
|
568
|
+
'July',
|
|
569
|
+
'July',
|
|
570
|
+
'July',
|
|
571
|
+
'September',
|
|
572
|
+
'September',
|
|
573
|
+
'September',
|
|
574
|
+
'November',
|
|
575
|
+
'November',
|
|
576
|
+
'November',
|
|
577
|
+
],
|
|
578
|
+
[
|
|
579
|
+
'45',
|
|
580
|
+
'32',
|
|
581
|
+
'23',
|
|
582
|
+
'42',
|
|
583
|
+
'35',
|
|
584
|
+
'28',
|
|
585
|
+
'52',
|
|
586
|
+
'38',
|
|
587
|
+
'30',
|
|
588
|
+
'48',
|
|
589
|
+
'35',
|
|
590
|
+
'27',
|
|
591
|
+
'50',
|
|
592
|
+
'40',
|
|
593
|
+
'25',
|
|
594
|
+
'47',
|
|
595
|
+
'36',
|
|
596
|
+
'29',
|
|
597
|
+
],
|
|
598
|
+
],
|
|
599
|
+
},
|
|
600
|
+
meta: {},
|
|
601
|
+
},
|
|
602
|
+
}}
|
|
603
|
+
/>
|
|
604
|
+
</FeatureFlagContextProvider>
|
|
605
|
+
);
|
|
606
|
+
```
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Pie Visualization Options
|
|
2
|
+
|
|
3
|
+
**Component Reference:** Pie or @splunk/visualizations/pie
|
|
4
|
+
|
|
5
|
+
Source: `@splunk/visualization-schemas/pieOptionsSchema`
|
|
6
|
+
|
|
7
|
+
| Option | Type | Default | Description |
|
|
8
|
+
| --- | --- | --- | --- |
|
|
9
|
+
| `backgroundColor` | string \| string | `> themes.defaultBackgroundColor` | Specify the color for the background. You may use a dataSource to apply the color. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e". |
|
|
10
|
+
| `collapseExcludeZero` | boolean \| string | `false` | Specify whether to exclude zeros and non-numeric values in the consolidated slice. |
|
|
11
|
+
| `collapseLabel` | string \| string | `other` | Specify the label for the consolidated slice. |
|
|
12
|
+
| `collapseThreshold` | number \| string | `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
|
+
| `label` | array<string> \| string | `> primary \| seriesByIndex(0)` | List of string values to display the pie chart labels. |
|
|
14
|
+
| `labelDisplay` | string \| string | `values` | Specify whether to display the labels and/or slice percentages. |
|
|
15
|
+
| `labelField` | string \| string | `> label \| getField()` | Specify the field that corresponds to the labels. |
|
|
16
|
+
| `legendDisplay` | string \| string | `off` | Specify the location of the legend on the panel. |
|
|
17
|
+
| `percentagePrecision` | number \| string | `0` | Specify the number of decimal places to display for percentages. The minimum value is 0. The maximum value is 16. |
|
|
18
|
+
| `resultLimit` | number \| string | `50000` | Specify the number of data points rendered in a chart. |
|
|
19
|
+
| `seriesColors` | array<string> \| string | `["#7B56DB","#009CEB","#00CDAF","#DD9900","#FF677B","#CB2196","#813193","#0051B5","#008C80","#99B100","#FFA476","#FF6ACE","#AE8CFF","#00689D","#00490A","#465D00","#9D6300","#F6540B","#FF969E","#E47BFE"]` | Specify the colors used for a series. For example, ["#FF0000", "#0000FF", "#008000"]. |
|
|
20
|
+
| `seriesColorsByField` | object | — | Specify the colors used for specific pie slice labels. For example: {"April": "#008000", "May": "#FFA500"}. |
|
|
21
|
+
| `showDonutHole` | boolean \| string | `false` | Specify whether the pie should be a donut. |
|
|
22
|
+
| `splitByLayout` | string \| string | `off` | Specify the layout method by which to display the visualization, which splits the data into individual visualizations based on a certain category. |
|
|
23
|
+
| `trellisBackgroundColor` | string \| string | `> themes.defaultBackgroundColor` | Specify the color used for the trellis container background by using a hexadecimal code. For example, #0000FF. |
|
|
24
|
+
| `trellisColumns` | number \| string | `3` | Specify the number of visualizations to display in a given row of the trellis container. The remaining visualizations will wrap accordingly. If nothing is specified, it will be auto-set based on the trellisMinColumnWidth. The minimum value is 1. |
|
|
25
|
+
| `trellisMinColumnWidth` | number \| string | `250` | Specify the minimum width, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1. |
|
|
26
|
+
| `trellisPageCount` | number \| string | `20` | Specify the maximum number of visualizations to display in a single page in the trellis container. The remaining visualizations will paginate accordingly. The minimum value is 1. |
|
|
27
|
+
| `trellisRowHeight` | number \| string | `180` | Specify the height, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1. |
|
|
28
|
+
| `trellisSortBy` | string \| string | `result` | Specify the sort method for the individual visualizations in the trellis container. Use result to sort by search result order, or name to sort alphabetically by visualization label. |
|
|
29
|
+
| `trellisSortOrder` | string \| string | `ascending` | Specify the sort order for the individual visualizations in the trellis container. This setting applies to the sort method specified in trellisSortBy. |
|
|
30
|
+
| `trellisSplitBy` | string \| string | — | Specify the field name of the column with categories used, or “aggregations”, to split the data into individual visualizations for trellis display, if applicable. If a SPL `timechart` command is used, this may default to the SPL `by` clause field. If a SPL `chart` command is used, this may default to the first string field. |
|
|
31
|
+
| `value` | array<number> \| string | `> primary \| seriesByIndex(1)` | List of numerical values to power the pie chart. |
|
|
32
|
+
| `valueField` | string \| string | `> value \| getField()` | Specify the field that corresponds to the data powering values. |
|
|
33
|
+
|
|
34
|
+
_Auto-generated; do not edit by hand._
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Pie Visualization Guide
|
|
2
|
+
|
|
3
|
+
**Component Reference:** Pie or @splunk/visualizations/Pie
|
|
4
|
+
|
|
5
|
+
## Overview
|
|
6
|
+
|
|
7
|
+
Use a pie chart to show how different field values combine over an entire data set. Each slice of a pie chart represents the relative importance or volume of a particular category out of a whole.
|
|
8
|
+
|
|
9
|
+
## Details
|
|
10
|
+
|
|
11
|
+
- **Category:** Comparisons
|
|
12
|
+
- **Visualization Type:** splunk.pie
|
|
13
|
+
|
|
14
|
+
## Tips
|
|
15
|
+
|
|
16
|
+
- Only use a pie chart when you are comparing values that are part of a whole.
|
|
17
|
+
- If you would like to compare non time series data that does not add up to a whole, try using a bar chart or another comparison chart instead.
|
|
18
|
+
|
|
19
|
+
## Variations
|
|
20
|
+
|
|
21
|
+
| Variation | Description | Key |
|
|
22
|
+
| --- | --- | --- |
|
|
23
|
+
| Donut | Use a donut pie chart for a stylistic change. | donut |
|