@splunk/visualizations 28.6.0 → 28.8.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/Area.js.map +2 -2
- package/Bar.js +2 -2
- package/Bar.js.map +2 -2
- package/Bubble.js +2 -2
- package/Bubble.js.map +2 -2
- package/CHANGELOG.external.md +45 -50
- package/ChoroplethSvg.js +2 -2
- package/ChoroplethSvg.js.map +2 -2
- package/Column.js +2 -2
- package/Column.js.map +2 -2
- package/Ellipse.js +2 -2
- package/Ellipse.js.map +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 +10 -5
- package/FillerGauge.js.map +2 -2
- package/Image.js +2 -2
- package/Image.js.map +2 -2
- package/Line.js +2 -2
- package/Line.js.map +2 -2
- package/LinkGraph.js +2 -2
- package/LinkGraph.js.map +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.config.js +1 -1
- package/Markdown.config.js.map +1 -1
- package/Markdown.js +24 -7
- package/Markdown.js.map +2 -2
- package/MarkerGauge.js +10 -5
- package/MarkerGauge.js.map +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/ParallelCoordinates.js.map +2 -2
- package/Pie.js +2 -2
- package/Pie.js.map +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/Punchcard.js.map +2 -2
- package/README.md +2 -0
- package/Rectangle.js +2 -2
- package/Rectangle.js.map +2 -2
- package/RichText/PureRichText/Editor/EditorPanel.d.ts.map +1 -1
- package/RichText/PureRichText/InnerEditor.d.ts +10 -0
- package/RichText/PureRichText/InnerEditor.d.ts.map +1 -1
- package/RichText/PureRichText/PureRichText.d.ts +17 -0
- package/RichText/PureRichText/PureRichText.d.ts.map +1 -1
- package/RichText/PureRichText/PureRichTextContext.d.ts.map +1 -1
- package/RichText/PureRichText/hooks/useContentSave.d.ts +6 -0
- package/RichText/PureRichText/hooks/useContentSave.d.ts.map +1 -1
- package/RichText/PureRichText/hooks/useContentSync.d.ts +13 -1
- package/RichText/PureRichText/hooks/useContentSync.d.ts.map +1 -1
- package/RichText/PureRichText/hooks/useDashboardKeyboardNav.d.ts.map +1 -1
- package/RichText/PureRichText/hooks/useEditorSetup.d.ts.map +1 -1
- package/RichText/PureRichText/hooks/useFakeHighlight.d.ts +1 -16
- package/RichText/PureRichText/hooks/useFakeHighlight.d.ts.map +1 -1
- package/RichText/PureRichText/hooks/useTokenMap.d.ts +37 -35
- package/RichText/PureRichText/hooks/useTokenMap.d.ts.map +1 -1
- package/RichText/PureRichText/renderers/LeafRenderer.d.ts +0 -4
- package/RichText/PureRichText/renderers/LeafRenderer.d.ts.map +1 -1
- package/RichText/PureRichText/types.d.ts +15 -0
- package/RichText/PureRichText/types.d.ts.map +1 -1
- package/RichText/PureRichText/utils/slateUtils.d.ts.map +1 -1
- package/RichText/RichText.d.ts +2 -0
- package/RichText/RichText.d.ts.map +1 -1
- package/RichText/config.d.ts.map +1 -1
- package/RichText.config.js +14 -1
- package/RichText.config.js.map +2 -2
- package/RichText.js +733 -263
- package/RichText.js.map +4 -4
- package/Sankey.js +2 -2
- package/Sankey.js.map +2 -2
- package/Scatter.js +2 -2
- package/Scatter.js.map +2 -2
- package/SingleValue.js +368 -471
- package/SingleValue.js.map +4 -4
- package/SingleValueIcon.js +2 -2
- package/SingleValueIcon.js.map +2 -2
- package/SingleValueRadial.js +2 -2
- package/SingleValueRadial.js.map +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 +2 -0
- package/Table/PureTable.d.ts.map +1 -1
- package/Table/config.d.ts.map +1 -1
- package/Table/hooks.d.ts +1 -1
- package/Table/hooks.d.ts.map +1 -1
- package/Table.config.js +7 -0
- package/Table.config.js.map +2 -2
- package/Table.js +480 -500
- package/Table.js.map +4 -4
- package/Timeline/PureTimeline/PureTimeline.d.ts +6 -5
- package/Timeline/PureTimeline/PureTimeline.d.ts.map +1 -1
- package/Timeline/PureTimeline/src/CursorPlugin.d.ts +1 -0
- package/Timeline/PureTimeline/src/CursorPlugin.d.ts.map +1 -1
- package/Timeline/PureTimeline/src/TimelineLegend.d.ts +10 -7
- package/Timeline/PureTimeline/src/TimelineLegend.d.ts.map +1 -1
- package/Timeline/PureTimeline/src/TimelineTooltip.d.ts +5 -1
- package/Timeline/PureTimeline/src/TimelineTooltip.d.ts.map +1 -1
- package/Timeline/PureTimeline/src/TimelineUplot.d.ts +19 -2
- package/Timeline/PureTimeline/src/TimelineUplot.d.ts.map +1 -1
- package/Timeline/PureTimeline/src/TimelineYAxis.d.ts.map +1 -1
- package/Timeline/PureTimeline/src/XAxisPlugin.d.ts +1 -0
- package/Timeline/PureTimeline/src/XAxisPlugin.d.ts.map +1 -1
- package/Timeline/PureTimeline/src/utils/timelineUtils.d.ts +8 -0
- package/Timeline/PureTimeline/src/utils/timelineUtils.d.ts.map +1 -1
- package/Timeline.js +449 -211
- package/Timeline.js.map +4 -4
- package/Treemap/PureTreemap/components/PureTreemap.d.ts +42 -0
- package/Treemap/PureTreemap/components/PureTreemap.d.ts.map +1 -0
- package/Treemap/PureTreemap/components/TreemapBreadcrumb.d.ts +10 -0
- package/Treemap/PureTreemap/components/TreemapBreadcrumb.d.ts.map +1 -0
- package/Treemap/PureTreemap/components/TreemapChildCell.d.ts +28 -0
- package/Treemap/PureTreemap/components/TreemapChildCell.d.ts.map +1 -0
- package/Treemap/PureTreemap/components/TreemapHeader.d.ts +19 -0
- package/Treemap/PureTreemap/components/TreemapHeader.d.ts.map +1 -0
- package/Treemap/PureTreemap/components/TreemapHoverTarget.d.ts +17 -0
- package/Treemap/PureTreemap/components/TreemapHoverTarget.d.ts.map +1 -0
- package/Treemap/PureTreemap/components/TreemapLegend.d.ts +20 -0
- package/Treemap/PureTreemap/components/TreemapLegend.d.ts.map +1 -0
- package/Treemap/PureTreemap/components/TreemapNode.d.ts +5 -0
- package/Treemap/PureTreemap/components/TreemapNode.d.ts.map +1 -0
- package/Treemap/PureTreemap/components/TreemapParentNode.d.ts +10 -0
- package/Treemap/PureTreemap/components/TreemapParentNode.d.ts.map +1 -0
- package/Treemap/PureTreemap/components/TreemapStandaloneNode.d.ts +6 -0
- package/Treemap/PureTreemap/components/TreemapStandaloneNode.d.ts.map +1 -0
- package/Treemap/PureTreemap/components/TreemapTooltip.d.ts +17 -0
- package/Treemap/PureTreemap/components/TreemapTooltip.d.ts.map +1 -0
- package/Treemap/PureTreemap/mockdata/data.d.ts +90 -0
- package/Treemap/PureTreemap/mockdata/data.d.ts.map +1 -0
- package/Treemap/PureTreemap/utils/treemapColorUtils.d.ts +67 -0
- package/Treemap/PureTreemap/utils/treemapColorUtils.d.ts.map +1 -0
- package/Treemap/PureTreemap/utils/treemapDataColorUtils.d.ts +5 -0
- package/Treemap/PureTreemap/utils/treemapDataColorUtils.d.ts.map +1 -0
- package/Treemap/PureTreemap/utils/treemapDataUtils.d.ts +14 -0
- package/Treemap/PureTreemap/utils/treemapDataUtils.d.ts.map +1 -0
- package/Treemap/PureTreemap/utils/treemapLayout.d.ts +49 -0
- package/Treemap/PureTreemap/utils/treemapLayout.d.ts.map +1 -0
- package/Treemap/PureTreemap/utils/treemapNodeUtils.d.ts +81 -0
- package/Treemap/PureTreemap/utils/treemapNodeUtils.d.ts.map +1 -0
- package/Treemap/PureTreemap/utils/treemapTypes.d.ts +37 -0
- package/Treemap/PureTreemap/utils/treemapTypes.d.ts.map +1 -0
- package/Treemap/PureTreemap/utils/treemapUtils.d.ts +76 -0
- package/Treemap/PureTreemap/utils/treemapUtils.d.ts.map +1 -0
- package/Treemap/Treemap.d.ts +12 -0
- package/Treemap/Treemap.d.ts.map +1 -0
- package/Treemap/config.d.ts +4 -0
- package/Treemap/config.d.ts.map +1 -0
- package/Treemap/index.d.ts +3 -0
- package/Treemap/index.d.ts.map +1 -0
- package/Treemap.config.js +465 -0
- package/Treemap.config.js.map +7 -0
- package/Treemap.js +6233 -0
- package/Treemap.js.map +7 -0
- package/common/DocExampleWithVizSandbox.js.map +2 -2
- package/common/GaugeMajorTicks.js.map +2 -2
- package/common/GaugeValueMarker.js +1 -0
- package/common/GaugeValueMarker.js.map +2 -2
- package/common/OptionsDoc.js.map +1 -1
- package/common/OverviewDoc.js.map +2 -2
- package/common/docUtils.d.ts.map +1 -1
- package/common/docUtils.js +1 -8
- package/common/docUtils.js.map +2 -2
- package/common/gaugeUtils.d.ts.map +1 -1
- package/common/gaugeUtils.js +7 -3
- package/common/gaugeUtils.js.map +2 -2
- package/common/hocs/FixedSizeContainer.d.ts.map +1 -1
- package/common/hooks/useDynamicHeight.d.ts +67 -0
- package/common/hooks/useDynamicHeight.d.ts.map +1 -0
- package/common/interfaces/VizCategory.d.ts +2 -1
- package/common/interfaces/VizCategory.d.ts.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/common/withDashboardViz.js.map +2 -2
- package/docs-llm/INDEX.md +119 -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 +29 -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 +29 -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 +26 -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/docs-llm/treemap/examples-json.md +5 -0
- package/docs-llm/treemap/examples-react.md +5 -0
- package/docs-llm/treemap/options.md +26 -0
- package/docs-llm/treemap/overview.md +27 -0
- package/package.json +33 -28
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# Bubble Visualization Options
|
|
2
|
+
|
|
3
|
+
**Component Reference:** Bubble or @splunk/visualizations/bubble
|
|
4
|
+
|
|
5
|
+
Source: `@splunk/visualization-schemas/bubbleOptionsSchema`
|
|
6
|
+
|
|
7
|
+
| Option | Type | Default | Description |
|
|
8
|
+
| --- | --- | --- | --- |
|
|
9
|
+
| `backgroundColor` | string | `> themes.defaultBackgroundColor` | Specify the color used for the chart background by using a hexadecimal code. For example, #0000FF. 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]+)?\\$` |
|
|
10
|
+
| `bubbleSizeMax` | number | `50` | Specify, in pixels, the maximum size of each bubble. |
|
|
11
|
+
| `bubbleSizeMethod` | string | `area` | Specify how bubble size is measured. Allowed values: `area`, `diameter` |
|
|
12
|
+
| `bubbleSizeMin` | number | `10` | Specify, in pixels, the minimum size of each bubble. |
|
|
13
|
+
| `category` | array<string \| number> | — | Specify a sequence of dataSource events to be plotted on the chart. Items: string \| number |
|
|
14
|
+
| `categoryField` | string | `> category \| getField()` | Specify the field that should be mapped to the series categories. |
|
|
15
|
+
| `legendDisplay` | string | `right` | Specify the location of the legend on the panel. Allowed values: `right`, `left`, `top`, `bottom`, `off` |
|
|
16
|
+
| `legendTruncation` | string | `ellipsisEnd` | Specify where to use ellipsis to replace legend labels that overflow the layout. Allowed values: `ellipsisEnd`, `ellipsisMiddle`, `ellipsisStart`, `ellipsisOff` |
|
|
17
|
+
| `resultLimit` | number | `50000` | Specify the number of data points rendered in a chart. |
|
|
18
|
+
| `seriesColors` | array<string> | `["#7B56DB","#009CEB","#00CDAF","#DD9900","#FF677B","#CB2196","#813193","#0051B5","#008C80","#99B100","#FFA476","#FF6ACE","#AE8CFF","#00689D","#00490A","#465D00","#9D6300","#F6540B","#FF969E","#E47BFE"]` | Specify the hexadecimal color codes for the bubble order from largest to smallest. For example, ["#FF0000", "#0000FF", "#008000"]. Items: string |
|
|
19
|
+
| `seriesColorsByField` | object | — | Specify the colors to use for specific categories, or series names, derived from distinct values in the selected category field. For example, {"user1": "#008000", "user2": "#FFA500"}. |
|
|
20
|
+
| `showRoundedXAxisLabels` | boolean | `false` | Specify whether to round x-axis values to the nearest integer. |
|
|
21
|
+
| `showXAxisExtendedRange` | boolean | `true` | Specify whether the x-axis should be extended to snap to whole major tick marks. |
|
|
22
|
+
| `showXAxisWithZero` | boolean | `false` | Specify whether the x-axis range includes zero. |
|
|
23
|
+
| `showXMinorGridLines` | boolean | `false` | Specify whether minor grid lines are visible on the x-axis. |
|
|
24
|
+
| `showYAxisExtendedRange` | boolean | `true` | Specify whether the y-axis should be extended to snap to whole major tick marks. |
|
|
25
|
+
| `showYAxisWithZero` | boolean | `false` | Specify whether the y-axis range includes zero. |
|
|
26
|
+
| `showYMajorGridLines` | boolean | `true` | Specify whether major grid lines are visible on the y-axis. |
|
|
27
|
+
| `showYMinorGridLines` | boolean | `false` | Specify whether minor grid lines are visible on the y-axis. |
|
|
28
|
+
| `size` | array<number> | `> primary \| seriesByIndex(2)` | Specify the dataSource events that are represented by the bubble size in the chart. Items: number |
|
|
29
|
+
| `sizeField` | string | `> size \| getField()` | Specify the field that should be mapped to the bubble size in the chart. |
|
|
30
|
+
| `x` | array<string \| number> | `> primary \| seriesByIndex(0)` | Specify the dataSource applied to the x-axis. Items: string \| number |
|
|
31
|
+
| `xAxisAbbreviation` | string | `off` | Specify whether to abbreviate large x-axis values with the closest International System of Units (SI) prefix. Allowed values: `off`, `auto` |
|
|
32
|
+
| `xAxisLabelRotation` | number | `0` | Specify the rotation of the x-axis labels in degrees. Allowed values: `-90`, `-45`, `0`, `45`, `90` |
|
|
33
|
+
| `xAxisLabelVisibility` | string | `auto` | Specify whether to show or hide labels on the x-axis. Allowed values: `auto`, `show`, `hide` |
|
|
34
|
+
| `xAxisLineVisibility` | string | `hide` | Specify whether to show the x-axis line. Allowed values: `hide`, `show` |
|
|
35
|
+
| `xAxisMajorTickInterval` | string \| number | `auto` | Specify the spacing interval between major tick marks along the x-axis. By default, the spacing value is automatically calculated based on the scale of the related axis. |
|
|
36
|
+
| `xAxisMajorTickSize` | number | `6` | Specify the size, in pixels, of major tick marks on the x-axis. |
|
|
37
|
+
| `xAxisMajorTickVisibility` | string | `auto` | Specify whether to show or hide major tick marks on the x-axis. Allowed values: `auto`, `show`, `hide` |
|
|
38
|
+
| `xAxisMax` | string \| number | `auto` | Specify the maximum value for the visible x-axis range. |
|
|
39
|
+
| `xAxisMin` | string \| number | `auto` | Specify the minimum value for the visible x-axis range. |
|
|
40
|
+
| `xAxisMinorTickSize` | number | `6` | Specify the size, in pixels, of minor tick marks on the x-axis. |
|
|
41
|
+
| `xAxisMinorTickVisibility` | string | `auto` | Specify whether to show or hide minor tick marks on the x-axis . Allowed values: `auto`, `show`, `hide` |
|
|
42
|
+
| `xAxisScale` | string | `linear` | Specify the type of scale that applies to a numerical x-axis. Allowed values: `linear`, `log` |
|
|
43
|
+
| `xAxisTitleText` | string | — | Specify the title of the x-axis. |
|
|
44
|
+
| `xAxisTitleVisibility` | string | `show` | Specify whether to hide the title of the x-axis. Allowed values: `hide`, `show` |
|
|
45
|
+
| `xField` | string | `> x \| getField()` | Specify the field that should be mapped to the x-axis. |
|
|
46
|
+
| `y` | array<string \| number> | `> primary \| seriesByIndex(1)` | Specify the dataSource applied to the y-axis. Items: string \| number |
|
|
47
|
+
| `yAxisAbbreviation` | string | `auto` | Specify whether to abbreviate large y-axis values with the closest International System of Units (SI) prefix. Allowed values: `off`, `auto` |
|
|
48
|
+
| `yAxisLabelVisibility` | string | `auto` | Specify whether to show or hide labels on the y-axis. Allowed values: `auto`, `show`, `hide` |
|
|
49
|
+
| `yAxisLineVisibility` | string | `hide` | Specify whether to show the y-axis line. Allowed values: `hide`, `show` |
|
|
50
|
+
| `yAxisMajorTickInterval` | string \| number | `auto` | Specify the spacing interval between major tick marks along the y-axis. By default, the spacing value is automatically calculated based on the scale of the related axis. |
|
|
51
|
+
| `yAxisMajorTickSize` | number | `6` | Specify the size, in pixels, of major tick marks on the y-axis. |
|
|
52
|
+
| `yAxisMajorTickVisibility` | string | `auto` | Specify whether to show or hide major tick marks on the y-axis. Allowed values: `auto`, `show`, `hide` |
|
|
53
|
+
| `yAxisMax` | string \| number | `auto` | Specify the maximum value for the visible y-axis range. |
|
|
54
|
+
| `yAxisMin` | string \| number | `auto` | Specify the minimum value for the visible y-axis range. |
|
|
55
|
+
| `yAxisMinorTickSize` | number | `6` | Specify the size, in pixels, of minor tick marks on the y-axis. |
|
|
56
|
+
| `yAxisMinorTickVisibility` | string | `auto` | Specify whether to show or hide minor tick marks on the y-axis. Allowed values: `auto`, `show`, `hide` |
|
|
57
|
+
| `yAxisScale` | string | `linear` | Specify the type of scale that applies to a numerical y-axis. Allowed values: `linear`, `log` |
|
|
58
|
+
| `yAxisTitleText` | string | — | Specify the title of the y-axis. |
|
|
59
|
+
| `yAxisTitleVisibility` | string | `show` | Specify whether to hide the title of the y-axis. Allowed values: `hide`, `show` |
|
|
60
|
+
| `yField` | string | `> y \| getField()` | Specify the field that should be mapped to the y-axis. |
|
|
61
|
+
|
|
62
|
+
_Auto-generated; do not edit by hand._
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Bubble Visualization Guide
|
|
2
|
+
|
|
3
|
+
**Component Reference:** Bubble or @splunk/visualizations/Bubble
|
|
4
|
+
|
|
5
|
+
## Overview
|
|
6
|
+
|
|
7
|
+
Bubble charts are good for finding a correlation between three or four dimensions of data. The first two dimensions are visualized as coordinates, the third as size, and the fourth as color.
|
|
8
|
+
|
|
9
|
+
## Details
|
|
10
|
+
|
|
11
|
+
- **Category:** Correlation
|
|
12
|
+
- **Visualization Type:** splunk.bubble
|
|
13
|
+
|
|
14
|
+
## Tips
|
|
15
|
+
|
|
16
|
+
- Bubble charts use numerical data on the x-axis.
|
|
17
|
+
- Use color to further exaggerate the difference in bubble size or to add a fourth dimension, such as categories.
|
|
18
|
+
- Each additional field is used as another dimension.
|
|
19
|
+
|
|
20
|
+
## Variations
|
|
21
|
+
|
|
22
|
+
| Variation | Description | Key |
|
|
23
|
+
| --- | --- | --- |
|
|
24
|
+
| Single Series | Use a basic bubble chart to visualize three dimensions. | single |
|
|
25
|
+
| Multi Categories | Use a fourth dimension in a bubble chart to compare more than one category with series colors. | multi |
|
|
26
|
+
| Two-Dimensional Gridlines | Consider adjusting the grid to better communicate the correlation in the data. | twoDimensionalGridlines |
|
|
@@ -0,0 +1,397 @@
|
|
|
1
|
+
# ChoroplethSVG Examples
|
|
2
|
+
|
|
3
|
+
**Visualization Reference:** undefined
|
|
4
|
+
|
|
5
|
+
## Loaded as a literal SVG
|
|
6
|
+
|
|
7
|
+
- **Key:** Literal Svg Example
|
|
8
|
+
|
|
9
|
+
```json
|
|
10
|
+
{
|
|
11
|
+
"context": {},
|
|
12
|
+
"options": {},
|
|
13
|
+
"dataSources": {
|
|
14
|
+
"primary": {
|
|
15
|
+
"data": {
|
|
16
|
+
"fields": [
|
|
17
|
+
{
|
|
18
|
+
"name": "foo"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"columns": [
|
|
22
|
+
[
|
|
23
|
+
1
|
|
24
|
+
]
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Loaded as a SVG data URI
|
|
33
|
+
|
|
34
|
+
- **Key:** Data Urisvg Example
|
|
35
|
+
|
|
36
|
+
```json
|
|
37
|
+
{
|
|
38
|
+
"context": {},
|
|
39
|
+
"options": {},
|
|
40
|
+
"dataSources": {
|
|
41
|
+
"primary": {
|
|
42
|
+
"data": {
|
|
43
|
+
"fields": [
|
|
44
|
+
{
|
|
45
|
+
"name": "foo"
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"columns": [
|
|
49
|
+
[
|
|
50
|
+
1
|
|
51
|
+
]
|
|
52
|
+
]
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
## Remote SVG Example
|
|
60
|
+
|
|
61
|
+
- **Key:** Remote Svg Example
|
|
62
|
+
|
|
63
|
+
```json
|
|
64
|
+
{
|
|
65
|
+
"context": {},
|
|
66
|
+
"options": {},
|
|
67
|
+
"dataSources": {
|
|
68
|
+
"primary": {
|
|
69
|
+
"data": {
|
|
70
|
+
"fields": [
|
|
71
|
+
{
|
|
72
|
+
"name": "foo"
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
"columns": [
|
|
76
|
+
[
|
|
77
|
+
1
|
|
78
|
+
]
|
|
79
|
+
]
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
## Set the background color
|
|
87
|
+
|
|
88
|
+
- **Key:** Background Color Example
|
|
89
|
+
|
|
90
|
+
```json
|
|
91
|
+
{
|
|
92
|
+
"context": {},
|
|
93
|
+
"options": {
|
|
94
|
+
"backgroundColor": "#00FFFF"
|
|
95
|
+
},
|
|
96
|
+
"dataSources": {
|
|
97
|
+
"primary": {
|
|
98
|
+
"data": {
|
|
99
|
+
"fields": [
|
|
100
|
+
{
|
|
101
|
+
"name": "foo"
|
|
102
|
+
}
|
|
103
|
+
],
|
|
104
|
+
"columns": [
|
|
105
|
+
[
|
|
106
|
+
1
|
|
107
|
+
]
|
|
108
|
+
]
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
## Specify match color values for individual region fill colors using areaIds
|
|
116
|
+
|
|
117
|
+
- **Key:** Area Id Match Color
|
|
118
|
+
|
|
119
|
+
```json
|
|
120
|
+
{
|
|
121
|
+
"context": {
|
|
122
|
+
"matches": [
|
|
123
|
+
{
|
|
124
|
+
"match": "ATX-270-B",
|
|
125
|
+
"value": "#FF7152"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"match": "N-224",
|
|
129
|
+
"value": "#FC9850"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"match": "VM-203",
|
|
133
|
+
"value": "#4BEBA8"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"match": "RF-380",
|
|
137
|
+
"value": "#F4DF7A"
|
|
138
|
+
}
|
|
139
|
+
]
|
|
140
|
+
},
|
|
141
|
+
"options": {
|
|
142
|
+
"areaIds": "> primary|seriesByIndex(0)",
|
|
143
|
+
"areaValues": "> primary|seriesByIndex(1)",
|
|
144
|
+
"areaColors": "> areaIds|matchValue(matches)"
|
|
145
|
+
},
|
|
146
|
+
"dataSources": {
|
|
147
|
+
"primary": {
|
|
148
|
+
"data": {
|
|
149
|
+
"fields": [
|
|
150
|
+
{
|
|
151
|
+
"name": "buildings"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"name": "values"
|
|
155
|
+
}
|
|
156
|
+
],
|
|
157
|
+
"columns": [
|
|
158
|
+
[
|
|
159
|
+
"ATX-270-B",
|
|
160
|
+
"N-224",
|
|
161
|
+
"VM-203",
|
|
162
|
+
"RF-380"
|
|
163
|
+
],
|
|
164
|
+
[
|
|
165
|
+
10000,
|
|
166
|
+
55000,
|
|
167
|
+
90000,
|
|
168
|
+
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
|
+
```json
|
|
182
|
+
{
|
|
183
|
+
"context": {
|
|
184
|
+
"areaColorThresholds": [
|
|
185
|
+
{
|
|
186
|
+
"from": 100000,
|
|
187
|
+
"value": "#4BEBA8"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"from": 50000,
|
|
191
|
+
"to": 100000,
|
|
192
|
+
"value": "#F4DF7A"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"from": 1000,
|
|
196
|
+
"to": 50000,
|
|
197
|
+
"value": "#FC9850"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"to": 1000,
|
|
201
|
+
"value": "#FF7152"
|
|
202
|
+
}
|
|
203
|
+
]
|
|
204
|
+
},
|
|
205
|
+
"options": {
|
|
206
|
+
"areaIds": "> primary | seriesByIndex(0)",
|
|
207
|
+
"areaValues": "> primary | seriesByIndex(1)",
|
|
208
|
+
"areaColors": "> areaValues | rangeValue(areaColorThresholds)"
|
|
209
|
+
},
|
|
210
|
+
"dataSources": {
|
|
211
|
+
"primary": {
|
|
212
|
+
"data": {
|
|
213
|
+
"fields": [
|
|
214
|
+
{
|
|
215
|
+
"name": "buildings"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"name": "values"
|
|
219
|
+
}
|
|
220
|
+
],
|
|
221
|
+
"columns": [
|
|
222
|
+
[
|
|
223
|
+
"ATX-270-B",
|
|
224
|
+
"N-224",
|
|
225
|
+
"VM-203",
|
|
226
|
+
"RF-380"
|
|
227
|
+
],
|
|
228
|
+
[
|
|
229
|
+
10000,
|
|
230
|
+
55000,
|
|
231
|
+
90000,
|
|
232
|
+
75000
|
|
233
|
+
]
|
|
234
|
+
]
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
## Specify multiple formatting configs for each individual region fill colors
|
|
242
|
+
|
|
243
|
+
- **Key:** Multiple Color Ranges Example
|
|
244
|
+
|
|
245
|
+
```json
|
|
246
|
+
{
|
|
247
|
+
"context": {
|
|
248
|
+
"areaColorsConfig": {
|
|
249
|
+
"nameField": "buildings",
|
|
250
|
+
"valueField": "values",
|
|
251
|
+
"formatters": {
|
|
252
|
+
"ATX-270-B": {
|
|
253
|
+
"type": "matchValue",
|
|
254
|
+
"config": [
|
|
255
|
+
{
|
|
256
|
+
"match": 10000,
|
|
257
|
+
"value": "#00FF00"
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"match": 20000,
|
|
261
|
+
"value": "#FF0000"
|
|
262
|
+
}
|
|
263
|
+
]
|
|
264
|
+
},
|
|
265
|
+
"N-224": {
|
|
266
|
+
"type": "gradient",
|
|
267
|
+
"config": {
|
|
268
|
+
"colors": [
|
|
269
|
+
"#FF7152",
|
|
270
|
+
"#FFEBA8"
|
|
271
|
+
]
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
"VM-203": {
|
|
275
|
+
"type": "rangeValue",
|
|
276
|
+
"config": [
|
|
277
|
+
{
|
|
278
|
+
"from": 80000,
|
|
279
|
+
"value": "#4B4BFF"
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"to": 20000,
|
|
283
|
+
"value": "#FF0000"
|
|
284
|
+
}
|
|
285
|
+
]
|
|
286
|
+
},
|
|
287
|
+
"RF-380": {
|
|
288
|
+
"type": "rangeValue",
|
|
289
|
+
"config": [
|
|
290
|
+
{
|
|
291
|
+
"from": 80000,
|
|
292
|
+
"value": "#4BEBA8"
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"from": 60000,
|
|
296
|
+
"to": 80000,
|
|
297
|
+
"value": "#F4DF7A"
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"from": 20000,
|
|
301
|
+
"to": 60000,
|
|
302
|
+
"value": "#FC9850"
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"to": 20000,
|
|
306
|
+
"value": "#FF0000"
|
|
307
|
+
}
|
|
308
|
+
]
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
"options": {
|
|
314
|
+
"areaIds": "> primary | seriesByIndex(0)",
|
|
315
|
+
"areaValues": "> primary | seriesByIndex(1)",
|
|
316
|
+
"areaColors": "> primary | multiFormat(areaColorsConfig)"
|
|
317
|
+
},
|
|
318
|
+
"dataSources": {
|
|
319
|
+
"primary": {
|
|
320
|
+
"data": {
|
|
321
|
+
"fields": [
|
|
322
|
+
{
|
|
323
|
+
"name": "buildings"
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"name": "values"
|
|
327
|
+
}
|
|
328
|
+
],
|
|
329
|
+
"columns": [
|
|
330
|
+
[
|
|
331
|
+
"ATX-270-B",
|
|
332
|
+
"N-224",
|
|
333
|
+
"VM-203",
|
|
334
|
+
"RF-380"
|
|
335
|
+
],
|
|
336
|
+
[
|
|
337
|
+
10000,
|
|
338
|
+
55000,
|
|
339
|
+
90000,
|
|
340
|
+
75000
|
|
341
|
+
]
|
|
342
|
+
]
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
```
|
|
348
|
+
|
|
349
|
+
## Specify linear gradient for individual region fill colors
|
|
350
|
+
|
|
351
|
+
- **Key:** Color Gradient Example
|
|
352
|
+
|
|
353
|
+
```json
|
|
354
|
+
{
|
|
355
|
+
"context": {
|
|
356
|
+
"areaColorGradient": {
|
|
357
|
+
"colors": [
|
|
358
|
+
"#FF7152",
|
|
359
|
+
"#4BEBA8"
|
|
360
|
+
]
|
|
361
|
+
}
|
|
362
|
+
},
|
|
363
|
+
"options": {
|
|
364
|
+
"areaIds": "> primary | seriesByIndex(0)",
|
|
365
|
+
"areaValues": "> primary | seriesByIndex(1)",
|
|
366
|
+
"areaColors": "> areaValues | gradient(areaColorGradient)"
|
|
367
|
+
},
|
|
368
|
+
"dataSources": {
|
|
369
|
+
"primary": {
|
|
370
|
+
"data": {
|
|
371
|
+
"fields": [
|
|
372
|
+
{
|
|
373
|
+
"name": "buildings"
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"name": "values"
|
|
377
|
+
}
|
|
378
|
+
],
|
|
379
|
+
"columns": [
|
|
380
|
+
[
|
|
381
|
+
"ATX-270-B",
|
|
382
|
+
"N-224",
|
|
383
|
+
"VM-203",
|
|
384
|
+
"RF-380"
|
|
385
|
+
],
|
|
386
|
+
[
|
|
387
|
+
10000,
|
|
388
|
+
55000,
|
|
389
|
+
90000,
|
|
390
|
+
75000
|
|
391
|
+
]
|
|
392
|
+
]
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
```
|