@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,389 @@
|
|
|
1
|
+
# ChoroplethSVG Examples
|
|
2
|
+
|
|
3
|
+
**Component Reference:** ChoroplethSVG or @splunk/visualizations/ChoroplethSvg
|
|
4
|
+
|
|
5
|
+
## Loaded as a literal SVG
|
|
6
|
+
|
|
7
|
+
- **Key:** Literal Svg Example
|
|
8
|
+
|
|
9
|
+
```jsx
|
|
10
|
+
import React from 'react';
|
|
11
|
+
import ChoroplethSvg from '@splunk/visualizations/ChoroplethSvg';
|
|
12
|
+
import { campusSvg } from '../../mockdata/campusSvg.js';
|
|
13
|
+
|
|
14
|
+
export default () => (
|
|
15
|
+
<ChoroplethSvg
|
|
16
|
+
width={700}
|
|
17
|
+
height={500}
|
|
18
|
+
options={{ svg: campusSvg }}
|
|
19
|
+
dataSources={{
|
|
20
|
+
primary: {
|
|
21
|
+
data: {
|
|
22
|
+
fields: [{ name: 'foo' }],
|
|
23
|
+
columns: [[1]],
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
}}
|
|
27
|
+
/>
|
|
28
|
+
);
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Loaded as a SVG data URI
|
|
32
|
+
|
|
33
|
+
- **Key:** Data Urisvg Example
|
|
34
|
+
|
|
35
|
+
```jsx
|
|
36
|
+
import React from 'react';
|
|
37
|
+
import ChoroplethSvg from '@splunk/visualizations/ChoroplethSvg';
|
|
38
|
+
import { campusSvgDataURI } from '../../mockdata/campusSvgDataURI.js';
|
|
39
|
+
|
|
40
|
+
export default () => (
|
|
41
|
+
<ChoroplethSvg
|
|
42
|
+
width={700}
|
|
43
|
+
height={500}
|
|
44
|
+
options={{ svg: campusSvgDataURI }}
|
|
45
|
+
dataSources={{
|
|
46
|
+
primary: {
|
|
47
|
+
data: {
|
|
48
|
+
fields: [{ name: 'foo' }],
|
|
49
|
+
columns: [[1]],
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
}}
|
|
53
|
+
/>
|
|
54
|
+
);
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
## Remote SVG Example
|
|
58
|
+
|
|
59
|
+
- **Key:** Remote Svg Example
|
|
60
|
+
|
|
61
|
+
```jsx
|
|
62
|
+
import React from 'react';
|
|
63
|
+
import ChoroplethSvg from '@splunk/visualizations/ChoroplethSvg';
|
|
64
|
+
import { FeatureFlagContextProvider } from '@splunk/visualization-context/FeatureFlagContext';
|
|
65
|
+
|
|
66
|
+
export default () => (
|
|
67
|
+
<FeatureFlagContextProvider value={{ enableSvgHttpDownloader: true }}>
|
|
68
|
+
<ChoroplethSvg
|
|
69
|
+
width={700}
|
|
70
|
+
height={500}
|
|
71
|
+
options={{
|
|
72
|
+
svg: 'https://splunkudftest.s3-us-west-1.amazonaws.com/campus.svg',
|
|
73
|
+
}}
|
|
74
|
+
dataSources={{
|
|
75
|
+
primary: {
|
|
76
|
+
data: {
|
|
77
|
+
fields: [{ name: 'foo' }],
|
|
78
|
+
columns: [[1]],
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
}}
|
|
82
|
+
/>
|
|
83
|
+
</FeatureFlagContextProvider>
|
|
84
|
+
);
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
## Set the background color
|
|
88
|
+
|
|
89
|
+
- **Key:** Background Color Example
|
|
90
|
+
|
|
91
|
+
```jsx
|
|
92
|
+
import React from 'react';
|
|
93
|
+
import ChoroplethSvg from '@splunk/visualizations/ChoroplethSvg';
|
|
94
|
+
import { campusSvg } from '../../mockdata/campusSvg.js';
|
|
95
|
+
|
|
96
|
+
export default () => (
|
|
97
|
+
<ChoroplethSvg
|
|
98
|
+
width={700}
|
|
99
|
+
height={700}
|
|
100
|
+
options={{
|
|
101
|
+
backgroundColor: '#00FFFF',
|
|
102
|
+
svg: campusSvg,
|
|
103
|
+
}}
|
|
104
|
+
dataSources={{
|
|
105
|
+
primary: {
|
|
106
|
+
data: {
|
|
107
|
+
fields: [{ name: 'foo' }],
|
|
108
|
+
columns: [[1]],
|
|
109
|
+
},
|
|
110
|
+
},
|
|
111
|
+
}}
|
|
112
|
+
/>
|
|
113
|
+
);
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
## Specify match color values for individual region fill colors using areaIds
|
|
117
|
+
|
|
118
|
+
- **Key:** Area Id Match Color
|
|
119
|
+
|
|
120
|
+
```jsx
|
|
121
|
+
import React from 'react';
|
|
122
|
+
import ChoroplethSvg from '@splunk/visualizations/ChoroplethSvg';
|
|
123
|
+
import { campusSvg } from '../../mockdata/campusSvg';
|
|
124
|
+
|
|
125
|
+
export default () => (
|
|
126
|
+
<ChoroplethSvg
|
|
127
|
+
width={700}
|
|
128
|
+
height={500}
|
|
129
|
+
context={{
|
|
130
|
+
matches: [
|
|
131
|
+
{
|
|
132
|
+
match: 'ATX-270-B',
|
|
133
|
+
value: '#FF7152',
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
match: 'N-224',
|
|
137
|
+
value: '#FC9850',
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
match: 'VM-203',
|
|
141
|
+
value: '#4BEBA8',
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
match: 'RF-380',
|
|
145
|
+
value: '#F4DF7A',
|
|
146
|
+
},
|
|
147
|
+
],
|
|
148
|
+
}}
|
|
149
|
+
options={{
|
|
150
|
+
svg: campusSvg,
|
|
151
|
+
areaIds: '> primary|seriesByIndex(0)',
|
|
152
|
+
areaValues: '> primary|seriesByIndex(1)',
|
|
153
|
+
areaColors: '> areaIds|matchValue(matches)',
|
|
154
|
+
}}
|
|
155
|
+
dataSources={{
|
|
156
|
+
primary: {
|
|
157
|
+
data: {
|
|
158
|
+
fields: [
|
|
159
|
+
{
|
|
160
|
+
name: 'buildings',
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
name: 'values',
|
|
164
|
+
},
|
|
165
|
+
],
|
|
166
|
+
columns: [
|
|
167
|
+
['ATX-270-B', 'N-224', 'VM-203', 'RF-380'],
|
|
168
|
+
[10000, 55000, 90000, 75000],
|
|
169
|
+
],
|
|
170
|
+
},
|
|
171
|
+
},
|
|
172
|
+
}}
|
|
173
|
+
/>
|
|
174
|
+
);
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
## Specify range values for individual region fill colors
|
|
178
|
+
|
|
179
|
+
- **Key:** Color Ranges Example
|
|
180
|
+
|
|
181
|
+
```jsx
|
|
182
|
+
import React from 'react';
|
|
183
|
+
import ChoroplethSvg from '@splunk/visualizations/ChoroplethSvg';
|
|
184
|
+
import { campusSvgDataURI } from '../../mockdata/campusSvgDataURI.js';
|
|
185
|
+
|
|
186
|
+
export default () => (
|
|
187
|
+
<ChoroplethSvg
|
|
188
|
+
context={{
|
|
189
|
+
areaColorThresholds: [
|
|
190
|
+
{
|
|
191
|
+
from: 100000,
|
|
192
|
+
value: '#4BEBA8',
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
from: 50000,
|
|
196
|
+
to: 100000,
|
|
197
|
+
value: '#F4DF7A',
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
from: 1000,
|
|
201
|
+
to: 50000,
|
|
202
|
+
value: '#FC9850',
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
to: 1000,
|
|
206
|
+
value: '#FF7152',
|
|
207
|
+
},
|
|
208
|
+
],
|
|
209
|
+
}}
|
|
210
|
+
width={700}
|
|
211
|
+
height={500}
|
|
212
|
+
options={{
|
|
213
|
+
areaIds: '> primary | seriesByIndex(0)',
|
|
214
|
+
areaValues: '> primary | seriesByIndex(1)',
|
|
215
|
+
areaColors: '> areaValues | rangeValue(areaColorThresholds)',
|
|
216
|
+
svg: campusSvgDataURI,
|
|
217
|
+
}}
|
|
218
|
+
dataSources={{
|
|
219
|
+
primary: {
|
|
220
|
+
data: {
|
|
221
|
+
fields: [
|
|
222
|
+
{
|
|
223
|
+
name: 'buildings',
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
name: 'values',
|
|
227
|
+
},
|
|
228
|
+
],
|
|
229
|
+
columns: [
|
|
230
|
+
['ATX-270-B', 'N-224', 'VM-203', 'RF-380'],
|
|
231
|
+
[10000, 55000, 90000, 75000],
|
|
232
|
+
],
|
|
233
|
+
},
|
|
234
|
+
},
|
|
235
|
+
}}
|
|
236
|
+
/>
|
|
237
|
+
);
|
|
238
|
+
```
|
|
239
|
+
|
|
240
|
+
## Specify multiple formatting configs for each individual region fill colors
|
|
241
|
+
|
|
242
|
+
- **Key:** Multiple Color Ranges Example
|
|
243
|
+
|
|
244
|
+
```jsx
|
|
245
|
+
import React from 'react';
|
|
246
|
+
import ChoroplethSvg from '@splunk/visualizations/ChoroplethSvg';
|
|
247
|
+
import { campusSvgDataURI } from '../../mockdata/campusSvgDataURI.js';
|
|
248
|
+
|
|
249
|
+
export default () => (
|
|
250
|
+
<ChoroplethSvg
|
|
251
|
+
context={{
|
|
252
|
+
areaColorsConfig: {
|
|
253
|
+
nameField: 'buildings',
|
|
254
|
+
valueField: 'values',
|
|
255
|
+
formatters: {
|
|
256
|
+
'ATX-270-B': {
|
|
257
|
+
type: 'matchValue',
|
|
258
|
+
config: [
|
|
259
|
+
{
|
|
260
|
+
match: 10000,
|
|
261
|
+
value: '#00FF00',
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
match: 20000,
|
|
265
|
+
value: '#FF0000',
|
|
266
|
+
},
|
|
267
|
+
],
|
|
268
|
+
},
|
|
269
|
+
'N-224': {
|
|
270
|
+
type: 'gradient',
|
|
271
|
+
config: {
|
|
272
|
+
colors: ['#FF7152', '#FFEBA8'],
|
|
273
|
+
},
|
|
274
|
+
},
|
|
275
|
+
'VM-203': {
|
|
276
|
+
type: 'rangeValue',
|
|
277
|
+
config: [
|
|
278
|
+
{
|
|
279
|
+
from: 80000,
|
|
280
|
+
value: '#4B4BFF',
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
to: 20000,
|
|
284
|
+
value: '#FF0000',
|
|
285
|
+
},
|
|
286
|
+
],
|
|
287
|
+
},
|
|
288
|
+
'RF-380': {
|
|
289
|
+
type: 'rangeValue',
|
|
290
|
+
config: [
|
|
291
|
+
{
|
|
292
|
+
from: 80000,
|
|
293
|
+
value: '#4BEBA8',
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
from: 60000,
|
|
297
|
+
to: 80000,
|
|
298
|
+
value: '#F4DF7A',
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
from: 20000,
|
|
302
|
+
to: 60000,
|
|
303
|
+
value: '#FC9850',
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
to: 20000,
|
|
307
|
+
value: '#FF0000',
|
|
308
|
+
},
|
|
309
|
+
],
|
|
310
|
+
},
|
|
311
|
+
},
|
|
312
|
+
},
|
|
313
|
+
}}
|
|
314
|
+
width={700}
|
|
315
|
+
height={500}
|
|
316
|
+
options={{
|
|
317
|
+
areaIds: '> primary | seriesByIndex(0)',
|
|
318
|
+
areaValues: '> primary | seriesByIndex(1)',
|
|
319
|
+
areaColors: '> primary | multiFormat(areaColorsConfig)',
|
|
320
|
+
svg: campusSvgDataURI,
|
|
321
|
+
}}
|
|
322
|
+
dataSources={{
|
|
323
|
+
primary: {
|
|
324
|
+
data: {
|
|
325
|
+
fields: [
|
|
326
|
+
{
|
|
327
|
+
name: 'buildings',
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
name: 'values',
|
|
331
|
+
},
|
|
332
|
+
],
|
|
333
|
+
columns: [
|
|
334
|
+
['ATX-270-B', 'N-224', 'VM-203', 'RF-380'],
|
|
335
|
+
[10000, 55000, 90000, 75000],
|
|
336
|
+
],
|
|
337
|
+
},
|
|
338
|
+
},
|
|
339
|
+
}}
|
|
340
|
+
/>
|
|
341
|
+
);
|
|
342
|
+
```
|
|
343
|
+
|
|
344
|
+
## Specify linear gradient for individual region fill colors
|
|
345
|
+
|
|
346
|
+
- **Key:** Color Gradient Example
|
|
347
|
+
|
|
348
|
+
```jsx
|
|
349
|
+
import React from 'react';
|
|
350
|
+
import ChoroplethSvg from '@splunk/visualizations/ChoroplethSvg';
|
|
351
|
+
import { campusSvg } from '../../mockdata/campusSvg';
|
|
352
|
+
|
|
353
|
+
export default () => (
|
|
354
|
+
<ChoroplethSvg
|
|
355
|
+
context={{
|
|
356
|
+
areaColorGradient: {
|
|
357
|
+
colors: ['#FF7152', '#4BEBA8'],
|
|
358
|
+
},
|
|
359
|
+
}}
|
|
360
|
+
loading={false}
|
|
361
|
+
width={700}
|
|
362
|
+
height={500}
|
|
363
|
+
options={{
|
|
364
|
+
areaIds: '> primary | seriesByIndex(0)',
|
|
365
|
+
areaValues: '> primary | seriesByIndex(1)',
|
|
366
|
+
areaColors: '> areaValues | gradient(areaColorGradient)',
|
|
367
|
+
svg: campusSvg,
|
|
368
|
+
}}
|
|
369
|
+
dataSources={{
|
|
370
|
+
primary: {
|
|
371
|
+
data: {
|
|
372
|
+
fields: [
|
|
373
|
+
{
|
|
374
|
+
name: 'buildings',
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
name: 'values',
|
|
378
|
+
},
|
|
379
|
+
],
|
|
380
|
+
columns: [
|
|
381
|
+
['ATX-270-B', 'N-224', 'VM-203', 'RF-380'],
|
|
382
|
+
[10000, 55000, 90000, 75000],
|
|
383
|
+
],
|
|
384
|
+
},
|
|
385
|
+
},
|
|
386
|
+
}}
|
|
387
|
+
/>
|
|
388
|
+
);
|
|
389
|
+
```
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Choropleth Svg Visualization Options
|
|
2
|
+
|
|
3
|
+
**Component Reference:** Choropleth Svg or @splunk/visualizations/choroplethSvg
|
|
4
|
+
|
|
5
|
+
Source: `@splunk/visualization-schemas/choroplethSvgOptionsSchema`
|
|
6
|
+
|
|
7
|
+
| Option | Type | Default | Description |
|
|
8
|
+
| --- | --- | --- | --- |
|
|
9
|
+
| `areaColors` | array<string> \| string | `> areaValues\|rangeValue(areaColorsRangeConfig)` | Specify the dataSource field that should be used to set the svg fill attribute of identified areas. |
|
|
10
|
+
| `areaIds` | array<string> \| string | `> primary\|seriesByType("string")` | Specify the dataSource field that should be used to identify each area in the Choropleth svg, where the area has been tagged with an id field. |
|
|
11
|
+
| `areaValues` | array<number> \| string | `> primary\|seriesByType("number")` | Specify the dataSource field that indicates the values for the areas. |
|
|
12
|
+
| `backgroundColor` | string \| string | `> themes.defaultBackgroundColor` | the background color behind the SVG, title, and description. |
|
|
13
|
+
| `svg` | string \| string | — | Literal svg, or svg data URI. |
|
|
14
|
+
|
|
15
|
+
_Auto-generated; do not edit by hand._
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# ChoroplethSVG Visualization Guide
|
|
2
|
+
|
|
3
|
+
**Component Reference:** ChoroplethSVG or @splunk/visualizations/ChoroplethSvg
|
|
4
|
+
|
|
5
|
+
## Overview
|
|
6
|
+
|
|
7
|
+
A choropleth SVG can be used to represent values within predefined regions with color. It is great for showing spatial data. Any custom Scalable Vector Graphic (SVG) image can be used. Use a choropleth SVG to display contextual data in objects, maps, or other custom shapes.
|
|
8
|
+
|
|
9
|
+
## Details
|
|
10
|
+
|
|
11
|
+
- **Category:** Spatial
|
|
12
|
+
|
|
13
|
+
## Tips
|
|
14
|
+
|
|
15
|
+
- Use a legend to help viewers understand the meaning of the colors in the SVG.
|
|
16
|
+
|
|
17
|
+
## Variations
|
|
18
|
+
|
|
19
|
+
| Variation | Description | Key |
|
|
20
|
+
| --- | --- | --- |
|
|
21
|
+
| Coloring By Gradient | Use gradient coloring to convey ordinal, quantitative data in choropleth images. | colorByGradient |
|
|
22
|
+
| Coloring By Range Value | Use range value coloring to convey numeric thresholds. | colorByRangeValue |
|
|
23
|
+
| Coloring By Match Value | Use match value coloring to convey specific numeric or string values. | colorByMatchValue |
|