@splunk/visualizations 28.3.0 → 28.5.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/Area.d.ts.map +1 -1
- package/Area.config.js +28 -8
- package/Area.config.js.map +2 -2
- package/Area.js +583 -120
- package/Area.js.map +3 -3
- package/Bar/Bar.d.ts.map +1 -1
- package/Bar.config.js +28 -8
- package/Bar.config.js.map +2 -2
- package/Bar.js +593 -120
- package/Bar.js.map +3 -3
- package/Bubble.config.js +4 -5
- package/Bubble.config.js.map +2 -2
- package/Bubble.js +554 -98
- package/Bubble.js.map +3 -3
- package/CHANGELOG.external.md +165 -0
- package/ChoroplethSvg/ChoroplethSvg.d.ts +4 -3
- package/ChoroplethSvg/ChoroplethSvg.d.ts.map +1 -1
- package/ChoroplethSvg.config.js +1 -3
- package/ChoroplethSvg.config.js.map +2 -2
- package/ChoroplethSvg.js +595 -111
- package/ChoroplethSvg.js.map +4 -4
- package/Column/Column.d.ts.map +1 -1
- package/Column.config.js +28 -8
- package/Column.config.js.map +2 -2
- package/Column.js +583 -120
- package/Column.js.map +3 -3
- package/Ellipse/config.d.ts.map +1 -1
- package/Ellipse.config.js +14 -5
- package/Ellipse.config.js.map +4 -4
- package/Ellipse.js +640 -159
- package/Ellipse.js.map +4 -4
- package/Events/PureEvents/PureEvents.d.ts.map +1 -1
- package/Events.js +668 -157
- package/Events.js.map +4 -4
- package/FillerGauge/FillerGauge.d.ts.map +1 -1
- package/FillerGauge/PureFillerGauge/FillerGauge.d.ts.map +1 -1
- package/FillerGauge.js +751 -169
- package/FillerGauge.js.map +4 -4
- package/Image/Image.d.ts.map +1 -1
- package/Image.js +620 -116
- package/Image.js.map +4 -4
- package/Line/Line.d.ts.map +1 -1
- package/Line/lineUtils.d.ts.map +1 -1
- package/Line/mockdata/LineData.d.ts +154 -0
- package/Line/mockdata/LineData.d.ts.map +1 -1
- package/Line.config.js +28 -8
- package/Line.config.js.map +2 -2
- package/Line.js +704 -122
- package/Line.js.map +3 -3
- package/LinkGraph/PureLinkGraph/PureLinkGraph.d.ts +5 -0
- package/LinkGraph/PureLinkGraph/PureLinkGraph.d.ts.map +1 -1
- package/LinkGraph/PureLinkGraph/PureLinkGraphUtils.d.ts.map +1 -1
- package/LinkGraph/PureLinkGraph/components/Graph.d.ts +9 -1
- package/LinkGraph/PureLinkGraph/components/Graph.d.ts.map +1 -1
- package/LinkGraph/PureLinkGraph/components/GraphStyles.d.ts.map +1 -1
- package/LinkGraph/PureLinkGraph/components/Node.d.ts +1 -0
- package/LinkGraph/PureLinkGraph/components/Node.d.ts.map +1 -1
- package/LinkGraph/PureLinkGraph/components/Nodes.d.ts +1 -0
- package/LinkGraph/PureLinkGraph/components/Nodes.d.ts.map +1 -1
- package/LinkGraph/PureLinkGraph/measurementUtils.d.ts +16 -0
- package/LinkGraph/PureLinkGraph/measurementUtils.d.ts.map +1 -0
- package/LinkGraph/PureLinkGraph/utils/iconLoader.d.ts.map +1 -1
- package/LinkGraph/config.d.ts.map +1 -1
- package/LinkGraph.config.js +15 -1
- package/LinkGraph.config.js.map +2 -2
- package/LinkGraph.js +1411 -662
- package/LinkGraph.js.map +4 -4
- package/Map/Map.d.ts +2 -2
- package/Map/Map.d.ts.map +1 -1
- package/Map/PureMap/BubbleLayer.d.ts +5 -0
- package/Map/PureMap/BubbleLayer.d.ts.map +1 -1
- package/Map/PureMap/ClusterLayer.d.ts.map +1 -1
- package/Map/PureMap/LocalChoroplethLayer.d.ts.map +1 -1
- package/Map/PureMap/MapUtils.d.ts +2 -2
- package/Map/PureMap/MapUtils.d.ts.map +1 -1
- package/Map/PureMap/PureMap.d.ts.map +1 -1
- package/Map/PureMap/PureMapContainer.d.ts.map +1 -1
- package/Map/PureMap/Tooltip.d.ts.map +1 -1
- package/Map/config.d.ts.map +1 -1
- package/Map.config.js +0 -1
- package/Map.config.js.map +2 -2
- package/Map.js +831 -247
- package/Map.js.map +4 -4
- package/Markdown/Markdown.d.ts.map +1 -1
- package/Markdown/config.d.ts.map +1 -1
- package/Markdown.config.js +14 -5
- package/Markdown.config.js.map +4 -4
- package/Markdown.js +619 -109
- package/Markdown.js.map +4 -4
- package/MarkerGauge/MarkerGauge.d.ts +5 -1
- package/MarkerGauge/MarkerGauge.d.ts.map +1 -1
- package/MarkerGauge/PureMarkerGauge/MarkerGauge.d.ts +4 -0
- package/MarkerGauge/PureMarkerGauge/MarkerGauge.d.ts.map +1 -1
- package/MarkerGauge/config.d.ts.map +1 -1
- package/MarkerGauge.config.js +121 -3
- package/MarkerGauge.config.js.map +3 -3
- package/MarkerGauge.js +1535 -172
- package/MarkerGauge.js.map +4 -4
- package/NetworkGraph/NetworkGraph.d.ts +22 -0
- package/NetworkGraph/NetworkGraph.d.ts.map +1 -0
- package/NetworkGraph/PureNetworkGraph/PureNetworkGraph.d.ts +60 -0
- package/NetworkGraph/PureNetworkGraph/PureNetworkGraph.d.ts.map +1 -0
- package/NetworkGraph/PureNetworkGraph/components/Link.d.ts +19 -0
- package/NetworkGraph/PureNetworkGraph/components/Link.d.ts.map +1 -0
- package/NetworkGraph/PureNetworkGraph/components/NetworkGraphSvg.d.ts +29 -0
- package/NetworkGraph/PureNetworkGraph/components/NetworkGraphSvg.d.ts.map +1 -0
- package/NetworkGraph/PureNetworkGraph/components/Node.d.ts +27 -0
- package/NetworkGraph/PureNetworkGraph/components/Node.d.ts.map +1 -0
- package/NetworkGraph/PureNetworkGraph/components/Tooltip.d.ts +12 -0
- package/NetworkGraph/PureNetworkGraph/components/Tooltip.d.ts.map +1 -0
- package/NetworkGraph/PureNetworkGraph/components/ZoomControls.d.ts +13 -0
- package/NetworkGraph/PureNetworkGraph/components/ZoomControls.d.ts.map +1 -0
- package/NetworkGraph/PureNetworkGraph/mockdata/data.d.ts +140 -0
- package/NetworkGraph/PureNetworkGraph/mockdata/data.d.ts.map +1 -0
- package/NetworkGraph/PureNetworkGraph/mockdata/datasource.d.ts +89 -0
- package/NetworkGraph/PureNetworkGraph/mockdata/datasource.d.ts.map +1 -0
- package/NetworkGraph/PureNetworkGraph/utils/dragUtils.d.ts +78 -0
- package/NetworkGraph/PureNetworkGraph/utils/dragUtils.d.ts.map +1 -0
- package/NetworkGraph/PureNetworkGraph/utils/forceLayout.d.ts +47 -0
- package/NetworkGraph/PureNetworkGraph/utils/forceLayout.d.ts.map +1 -0
- package/NetworkGraph/PureNetworkGraph/utils/iconLoader.d.ts +78 -0
- package/NetworkGraph/PureNetworkGraph/utils/iconLoader.d.ts.map +1 -0
- package/NetworkGraph/PureNetworkGraph/utils/networkGraphShared.d.ts +111 -0
- package/NetworkGraph/PureNetworkGraph/utils/networkGraphShared.d.ts.map +1 -0
- package/NetworkGraph/PureNetworkGraph/utils/networkGraphUtils.d.ts +122 -0
- package/NetworkGraph/PureNetworkGraph/utils/networkGraphUtils.d.ts.map +1 -0
- package/NetworkGraph/config.d.ts +4 -0
- package/NetworkGraph/config.d.ts.map +1 -0
- package/NetworkGraph/index.d.ts +3 -0
- package/NetworkGraph/index.d.ts.map +1 -0
- package/NetworkGraph.config.js +938 -0
- package/NetworkGraph.config.js.map +7 -0
- package/NetworkGraph.js +7053 -0
- package/NetworkGraph.js.map +7 -0
- package/PERFORMANCE.md +23 -0
- package/ParallelCoordinates/ParallelCoordinates.d.ts +1 -46
- package/ParallelCoordinates/ParallelCoordinates.d.ts.map +1 -1
- package/ParallelCoordinates/PureParallelCoordinates/PureParallelCoordinates.d.ts +12 -58
- package/ParallelCoordinates/PureParallelCoordinates/PureParallelCoordinates.d.ts.map +1 -1
- package/ParallelCoordinates/PureParallelCoordinates/src/ParallelCoordinatesChart.d.ts +1 -0
- package/ParallelCoordinates/PureParallelCoordinates/src/ParallelCoordinatesChart.d.ts.map +1 -1
- package/ParallelCoordinates.js +664 -228
- package/ParallelCoordinates.js.map +4 -4
- package/Pie/Pie.d.ts.map +1 -1
- package/Pie/config.d.ts.map +1 -1
- package/Pie/pieUtils.d.ts +4 -0
- package/Pie/pieUtils.d.ts.map +1 -1
- package/Pie.config.js +16 -0
- package/Pie.config.js.map +2 -2
- package/Pie.js +610 -118
- package/Pie.js.map +3 -3
- package/Punchcard.js +579 -92
- package/Punchcard.js.map +4 -4
- package/Rectangle/config.d.ts.map +1 -1
- package/Rectangle.config.js +14 -5
- package/Rectangle.config.js.map +4 -4
- package/Rectangle.js +611 -130
- package/Rectangle.js.map +4 -4
- package/Sankey/PureSankey/PureSankey.d.ts +26 -72
- package/Sankey/PureSankey/PureSankey.d.ts.map +1 -1
- package/Sankey/PureSankey/SankeyLink.d.ts +3 -19
- package/Sankey/PureSankey/SankeyLink.d.ts.map +1 -1
- package/Sankey/PureSankey/SankeyNode.d.ts +3 -20
- package/Sankey/PureSankey/SankeyNode.d.ts.map +1 -1
- package/Sankey/PureSankey/SankeyTooltip.d.ts +3 -24
- package/Sankey/PureSankey/SankeyTooltip.d.ts.map +1 -1
- package/Sankey.js +814 -429
- package/Sankey.js.map +4 -4
- package/Scatter/Scatter.d.ts.map +1 -1
- package/Scatter.config.js +168 -148
- package/Scatter.config.js.map +4 -4
- package/Scatter.js +733 -260
- package/Scatter.js.map +4 -4
- package/SingleValue/SingleValue.d.ts.map +1 -1
- package/SingleValue/config.d.ts.map +1 -1
- package/SingleValue.config.js +15 -2
- package/SingleValue.config.js.map +2 -2
- package/SingleValue.js +733 -229
- package/SingleValue.js.map +3 -3
- package/SingleValueBasic.js.map +1 -1
- package/SingleValueIcon/SingleValueIcon.d.ts.map +1 -1
- package/SingleValueIcon/config.d.ts.map +1 -1
- package/SingleValueIcon.config.js +14 -6
- package/SingleValueIcon.config.js.map +4 -4
- package/SingleValueIcon.js +612 -182
- package/SingleValueIcon.js.map +4 -4
- package/SingleValueRadial/PureSingleValueRadial/GaugeGraph.d.ts.map +1 -1
- package/SingleValueRadial/PureSingleValueRadial/utils/gaugeUtils.d.ts +0 -8
- package/SingleValueRadial/PureSingleValueRadial/utils/gaugeUtils.d.ts.map +1 -1
- package/SingleValueRadial/SingleValueRadial.d.ts.map +1 -1
- package/SingleValueRadial.config.js +0 -1
- package/SingleValueRadial.config.js.map +2 -2
- package/SingleValueRadial.js +594 -182
- package/SingleValueRadial.js.map +4 -4
- package/SparkLine.js +46 -8
- package/SparkLine.js.map +2 -2
- package/Table/PureTable.d.ts +10 -0
- package/Table/PureTable.d.ts.map +1 -1
- package/Table/Table.d.ts.map +1 -1
- package/Table/cells/SparklineCell.d.ts.map +1 -1
- package/Table/config.d.ts.map +1 -1
- package/Table/hooks.d.ts +6 -0
- package/Table/hooks.d.ts.map +1 -1
- package/Table.config.js +1 -1
- package/Table.config.js.map +2 -2
- package/Table.js +836 -253
- package/Table.js.map +4 -4
- package/Timeline/PureTimeline/PureTimeline.d.ts.map +1 -1
- package/Timeline/PureTimeline/src/CursorPlugin.d.ts.map +1 -1
- package/Timeline/PureTimeline/src/TimelineLegend.d.ts.map +1 -1
- package/Timeline/PureTimeline/src/TimelinePlugin.d.ts.map +1 -1
- package/Timeline/PureTimeline/src/TimelineYAxis.d.ts.map +1 -1
- package/Timeline/PureTimeline/src/utils/timelineUtils.d.ts +2 -1
- package/Timeline/PureTimeline/src/utils/timelineUtils.d.ts.map +1 -1
- package/Timeline/config.d.ts.map +1 -1
- package/Timeline.config.js +31 -12
- package/Timeline.config.js.map +4 -4
- package/Timeline.js +785 -247
- package/Timeline.js.map +4 -4
- package/common/Charting.d.ts +5 -0
- package/common/Charting.d.ts.map +1 -1
- package/common/Charting.js +12 -0
- package/common/Charting.js.map +2 -2
- package/common/GaugeMajorTicks.js +150 -13
- package/common/GaugeMajorTicks.js.map +4 -4
- package/common/GaugeValueMarker.js +84 -17
- package/common/GaugeValueMarker.js.map +4 -4
- package/common/OptionsDoc.js.map +1 -1
- package/common/OverviewDoc.d.ts.map +1 -1
- package/common/OverviewDoc.js +2 -2
- package/common/OverviewDoc.js.map +2 -2
- package/common/ThemesDoc.js +0 -1
- package/common/ThemesDoc.js.map +2 -2
- package/common/TimeSeriesChartWrapper.d.ts +24 -11
- package/common/TimeSeriesChartWrapper.d.ts.map +1 -1
- package/common/TimeSeriesChartWrapper.js +617 -91
- package/common/TimeSeriesChartWrapper.js.map +4 -4
- package/common/chartingUtils.d.ts +52 -6
- package/common/chartingUtils.d.ts.map +1 -1
- package/common/chartingUtils.js +116 -17
- package/common/chartingUtils.js.map +3 -3
- package/common/editorConfig/AxesChartDataConfig.d.ts +3 -3
- package/common/editorConfig/AxesChartDataConfig.d.ts.map +1 -1
- package/common/editorConfig/AxesChartDataDisplay.d.ts +4 -0
- package/common/editorConfig/AxesChartDataDisplay.d.ts.map +1 -1
- package/common/editorConfig/AxesChartLegend.d.ts.map +1 -1
- package/common/gaugeUtils.d.ts +37 -0
- package/common/gaugeUtils.d.ts.map +1 -1
- package/common/gaugeUtils.js +152 -2
- package/common/gaugeUtils.js.map +4 -4
- package/common/hocs/mockdata/trellisData.d.ts +119 -0
- package/common/hocs/mockdata/trellisData.d.ts.map +1 -1
- package/common/hocs/withTrellis.d.ts.map +1 -1
- package/common/interfaces/DashboardVizProps.d.ts +0 -3
- package/common/interfaces/DashboardVizProps.d.ts.map +1 -1
- package/common/interfaces/DataSource.d.ts +1 -1
- package/common/interfaces/DataSource.d.ts.map +1 -1
- package/common/interfaces/Overview.d.ts +1 -0
- package/common/interfaces/Overview.d.ts.map +1 -1
- package/common/interfaces/VizConfig.d.ts +2 -1
- package/common/interfaces/VizConfig.d.ts.map +1 -1
- package/common/shapeUtils.js +5 -20
- package/common/shapeUtils.js.map +2 -2
- package/common/utils/dataUtils.d.ts.map +1 -1
- package/common/utils/dataUtils.js +5 -4
- package/common/utils/dataUtils.js.map +2 -2
- package/common/utils/mapUtils.js +16 -9
- package/common/utils/mapUtils.js.map +2 -2
- package/common/utils/singleValueUtils.js +17 -18
- package/common/utils/singleValueUtils.js.map +2 -2
- package/common/utils/textUtils.d.ts +20 -0
- package/common/utils/textUtils.d.ts.map +1 -0
- package/common/utils/textUtils.js +76 -0
- package/common/utils/textUtils.js.map +7 -0
- package/common/utils/trellisUtils.d.ts.map +1 -1
- package/common/utils/trellisUtils.js +16 -20
- package/common/utils/trellisUtils.js.map +2 -2
- package/common/withDashboardViz.d.ts.map +1 -1
- package/common/withDashboardViz.js +600 -92
- package/common/withDashboardViz.js.map +4 -4
- package/package.json +46 -39
- package/common/utils/styleUtils.d.ts +0 -2
- package/common/utils/styleUtils.d.ts.map +0 -1
- package/common/utils/styleUtils.js +0 -30
- package/common/utils/styleUtils.js.map +0 -7
package/PERFORMANCE.md
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Performance
|
|
2
|
+
|
|
3
|
+
As dashboards grow in size and complexity, rendering performance becomes increasingly important. Splunk UI visualizations are actively optimized to support large datasets and dense dashboards while maintaining consistent APIs and predictable behavior.
|
|
4
|
+
|
|
5
|
+
Recent performance improvements focus on reducing rendering overhead, improving interaction responsiveness, and scaling efficiently as both data volume and dashboard density increase.
|
|
6
|
+
|
|
7
|
+
## Rendering optimizations
|
|
8
|
+
|
|
9
|
+
Splunk Visualizations are designed to perform efficiently as data volume and dashboard density increase. Dashboards can render hundreds of thousands of data points per page, making rendering efficiency critical to responsiveness. To meet these scale requirements, Splunk Visualizations include optimized rendering paths designed for high data density. These optimizations focus on:
|
|
10
|
+
|
|
11
|
+
- Faster initial render times
|
|
12
|
+
- Reduced rendering overhead
|
|
13
|
+
- Smooth interaction for time-series data
|
|
14
|
+
|
|
15
|
+
## Feature flags
|
|
16
|
+
|
|
17
|
+
```markup
|
|
18
|
+
| Feature Flag | Default | Description
|
|
19
|
+
| ----------------------------------- |----------------------- | ------------------------------------------------------------------------------------------------------------------
|
|
20
|
+
| visualizations_enableAcceleratedRender | false | Supported visualizations can be rendered in higher performant canvas mode if `acceleratedRender: true` is configured.
|
|
21
|
+
| visualizations_useWebWorkersForDSL | false | This offloads the DSL evaluation to a web-worker. Every visualization that uses `withDashboardViz` will send the options to a static method `AsyncDynamicOptionsEvaluator.evaluate` which returns a promise. When the DSL evaluation is complete the results are returned back to the viz via the promise.
|
|
22
|
+
| visualizations_enableDownsampling | false | This enables largest-triangle-three-buckets downsampling for eligible charts with series.
|
|
23
|
+
```
|
|
@@ -1,50 +1,5 @@
|
|
|
1
1
|
export declare const config: import("../common/interfaces").VizConfig;
|
|
2
|
-
export declare const PureParallelCoordinates: {
|
|
3
|
-
({ ...props }: import("./PureParallelCoordinates/PureParallelCoordinates").PureParallelCoordinatesProps): import("react").JSX.Element;
|
|
4
|
-
propTypes: {
|
|
5
|
-
backgroundColor: import("prop-types").Requireable<string>;
|
|
6
|
-
width: import("prop-types").Requireable<number>;
|
|
7
|
-
height: import("prop-types").Requireable<number>;
|
|
8
|
-
fields: import("prop-types").Requireable<any[]>;
|
|
9
|
-
columns: import("prop-types").Requireable<any[]>;
|
|
10
|
-
lineColor: import("prop-types").Requireable<string>;
|
|
11
|
-
lineOpacity: import("prop-types").Requireable<number>;
|
|
12
|
-
showNullAxis: import("prop-types").Requireable<boolean>;
|
|
13
|
-
axisLineHighlightColor: import("prop-types").Requireable<string>;
|
|
14
|
-
axisLineColor: import("prop-types").Requireable<string>;
|
|
15
|
-
axisTitleColor: import("prop-types").Requireable<string>;
|
|
16
|
-
axisLabelColor: import("prop-types").Requireable<string>;
|
|
17
|
-
filterButtonDisabledColor: import("prop-types").Requireable<string>;
|
|
18
|
-
filterButtonActiveColor: import("prop-types").Requireable<string>;
|
|
19
|
-
filterTextColor: import("prop-types").Requireable<string>;
|
|
20
|
-
filterSelectionColor: import("prop-types").Requireable<string>;
|
|
21
|
-
truncatedCategoriesFlag: import("prop-types").Requireable<boolean>;
|
|
22
|
-
truncatedTextColor: import("prop-types").Requireable<string>;
|
|
23
|
-
textShadowColor: import("prop-types").Requireable<string>;
|
|
24
|
-
mode: import("prop-types").Requireable<string>;
|
|
25
|
-
};
|
|
26
|
-
defaultProps: {
|
|
27
|
-
backgroundColor: string;
|
|
28
|
-
width: number;
|
|
29
|
-
height: number;
|
|
30
|
-
fields: any;
|
|
31
|
-
columns: any[];
|
|
32
|
-
lineColor: string;
|
|
33
|
-
lineOpacity: number;
|
|
34
|
-
showNullAxis: boolean;
|
|
35
|
-
axisLineHighlightColor: string;
|
|
36
|
-
axisLineColor: string;
|
|
37
|
-
axisTitleColor: string;
|
|
38
|
-
axisLabelColor: string;
|
|
39
|
-
filterButtonDisabledColor: string;
|
|
40
|
-
filterButtonActiveColor: string;
|
|
41
|
-
filterTextColor: string;
|
|
42
|
-
filterSelectionColor: string;
|
|
43
|
-
truncatedTextColor: string;
|
|
44
|
-
textShadowColor: string;
|
|
45
|
-
truncatedCategoriesFlag: boolean;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
2
|
+
export declare const PureParallelCoordinates: ({ width, height, columns, fields, showNullAxis, lineColor, backgroundColor, axisLineHighlightColor, axisLineColor, axisTitleColor, axisLabelColor, lineOpacity, filterButtonDisabledColor, filterButtonActiveColor, filterTextColor, truncatedTextColor, filterSelectionColor, textShadowColor, mode, }: import("./PureParallelCoordinates/PureParallelCoordinates").PureParallelCoordinatesProps) => import("react").JSX.Element;
|
|
48
3
|
export declare const computeVizProps: ({ themeFunc, ...props }: {
|
|
49
4
|
[x: string]: any;
|
|
50
5
|
themeFunc: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ParallelCoordinates.d.ts","sourceRoot":"","sources":["../src/ParallelCoordinates/ParallelCoordinates.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,MAAM,0CAAY,CAAC;AAChC,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"ParallelCoordinates.d.ts","sourceRoot":"","sources":["../src/ParallelCoordinates/ParallelCoordinates.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,MAAM,0CAAY,CAAC;AAChC,eAAO,MAAM,uBAAuB,oaAAsB,CAAC;AAE3D,eAAO,MAAM,eAAe,GAAI;;;CAAuB;;;CA2BtD,CAAC;AAEF,QAAA,MAAM,GAAG,6KAMP,CAAC;AACH,eAAO,MAAQ,MAAM,KAAc,CAAC;AACpC,eAAe,GAAG,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import * as T from 'prop-types';
|
|
3
2
|
import { VizProps } from '../../common/interfaces/VizProps';
|
|
4
3
|
export interface PureParallelCoordinatesProps extends VizProps {
|
|
5
4
|
fields?: string[];
|
|
@@ -7,63 +6,18 @@ export interface PureParallelCoordinatesProps extends VizProps {
|
|
|
7
6
|
showNullAxis?: boolean;
|
|
8
7
|
lineColor?: string;
|
|
9
8
|
backgroundColor?: string;
|
|
10
|
-
axisLineHighlightColor
|
|
11
|
-
axisLineColor
|
|
12
|
-
axisTitleColor
|
|
13
|
-
axisLabelColor
|
|
14
|
-
lineOpacity
|
|
15
|
-
filterButtonDisabledColor
|
|
16
|
-
filterButtonActiveColor
|
|
17
|
-
filterTextColor
|
|
18
|
-
truncatedTextColor
|
|
19
|
-
filterSelectionColor
|
|
20
|
-
textShadowColor
|
|
9
|
+
axisLineHighlightColor?: string;
|
|
10
|
+
axisLineColor?: string;
|
|
11
|
+
axisTitleColor?: string;
|
|
12
|
+
axisLabelColor?: string;
|
|
13
|
+
lineOpacity?: number;
|
|
14
|
+
filterButtonDisabledColor?: string;
|
|
15
|
+
filterButtonActiveColor?: string;
|
|
16
|
+
filterTextColor?: string;
|
|
17
|
+
truncatedTextColor?: string;
|
|
18
|
+
filterSelectionColor?: string;
|
|
19
|
+
textShadowColor?: string;
|
|
21
20
|
}
|
|
22
|
-
declare const PureParallelCoordinates: {
|
|
23
|
-
({ ...props }: PureParallelCoordinatesProps): React.JSX.Element;
|
|
24
|
-
propTypes: {
|
|
25
|
-
backgroundColor: T.Requireable<string>;
|
|
26
|
-
width: T.Requireable<number>;
|
|
27
|
-
height: T.Requireable<number>;
|
|
28
|
-
fields: T.Requireable<any[]>;
|
|
29
|
-
columns: T.Requireable<any[]>;
|
|
30
|
-
lineColor: T.Requireable<string>;
|
|
31
|
-
lineOpacity: T.Requireable<number>;
|
|
32
|
-
showNullAxis: T.Requireable<boolean>;
|
|
33
|
-
axisLineHighlightColor: T.Requireable<string>;
|
|
34
|
-
axisLineColor: T.Requireable<string>;
|
|
35
|
-
axisTitleColor: T.Requireable<string>;
|
|
36
|
-
axisLabelColor: T.Requireable<string>;
|
|
37
|
-
filterButtonDisabledColor: T.Requireable<string>;
|
|
38
|
-
filterButtonActiveColor: T.Requireable<string>;
|
|
39
|
-
filterTextColor: T.Requireable<string>;
|
|
40
|
-
filterSelectionColor: T.Requireable<string>;
|
|
41
|
-
truncatedCategoriesFlag: T.Requireable<boolean>;
|
|
42
|
-
truncatedTextColor: T.Requireable<string>;
|
|
43
|
-
textShadowColor: T.Requireable<string>;
|
|
44
|
-
mode: T.Requireable<string>;
|
|
45
|
-
};
|
|
46
|
-
defaultProps: {
|
|
47
|
-
backgroundColor: string;
|
|
48
|
-
width: number;
|
|
49
|
-
height: number;
|
|
50
|
-
fields: any;
|
|
51
|
-
columns: any[];
|
|
52
|
-
lineColor: string;
|
|
53
|
-
lineOpacity: number;
|
|
54
|
-
showNullAxis: boolean;
|
|
55
|
-
axisLineHighlightColor: string;
|
|
56
|
-
axisLineColor: string;
|
|
57
|
-
axisTitleColor: string;
|
|
58
|
-
axisLabelColor: string;
|
|
59
|
-
filterButtonDisabledColor: string;
|
|
60
|
-
filterButtonActiveColor: string;
|
|
61
|
-
filterTextColor: string;
|
|
62
|
-
filterSelectionColor: string;
|
|
63
|
-
truncatedTextColor: string;
|
|
64
|
-
textShadowColor: string;
|
|
65
|
-
truncatedCategoriesFlag: boolean;
|
|
66
|
-
};
|
|
67
|
-
};
|
|
21
|
+
declare const PureParallelCoordinates: ({ width, height, columns, fields, showNullAxis, lineColor, backgroundColor, axisLineHighlightColor, axisLineColor, axisTitleColor, axisLabelColor, lineOpacity, filterButtonDisabledColor, filterButtonActiveColor, filterTextColor, truncatedTextColor, filterSelectionColor, textShadowColor, mode, }: PureParallelCoordinatesProps) => React.JSX.Element;
|
|
68
22
|
export default PureParallelCoordinates;
|
|
69
23
|
//# sourceMappingURL=PureParallelCoordinates.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PureParallelCoordinates.d.ts","sourceRoot":"","sources":["../../src/ParallelCoordinates/PureParallelCoordinates/PureParallelCoordinates.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"PureParallelCoordinates.d.ts","sourceRoot":"","sources":["../../src/ParallelCoordinates/PureParallelCoordinates/PureParallelCoordinates.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAE5D,MAAM,WAAW,4BAA6B,SAAQ,QAAQ;IAC1D,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC,EAAE,CAAC;IAClC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,eAAe,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,QAAA,MAAM,uBAAuB,GAAI,ySAoB9B,4BAA4B,sBAwG9B,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
|
@@ -9,6 +9,7 @@ type marginObj = {
|
|
|
9
9
|
type yPositionScaleType = {
|
|
10
10
|
[key: string]: any;
|
|
11
11
|
};
|
|
12
|
+
export declare const isDataPointActive: (d: any, yPositionScale: yPositionScaleType, selections: Map<string, any>) => boolean;
|
|
12
13
|
interface ParallelCoordinatesChartProps {
|
|
13
14
|
width: number;
|
|
14
15
|
height: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ParallelCoordinatesChart.d.ts","sourceRoot":"","sources":["../../../src/ParallelCoordinates/PureParallelCoordinates/src/ParallelCoordinatesChart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAK3C,KAAK,SAAS,GAAG;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAC9E,KAAK,kBAAkB,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"ParallelCoordinatesChart.d.ts","sourceRoot":"","sources":["../../../src/ParallelCoordinates/PureParallelCoordinates/src/ParallelCoordinatesChart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAK3C,KAAK,SAAS,GAAG;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAC9E,KAAK,kBAAkB,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,CAAC;AAEjD,eAAO,MAAM,iBAAiB,GAAI,GAAG,GAAG,EAAE,gBAAgB,kBAAkB,EAAE,YAAY,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,YAIpG,CAAC;AAcP,UAAU,6BAA6B;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,SAAS,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,GAAG,EAAE,CAAC;IACZ,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,cAAc,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC;IAChC,cAAc,EAAE,kBAAkB,CAAC;IACnC,YAAY,EAAE,OAAO,CAAC;IACtB,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,sBAAsB,EAAE,MAAM,CAAC;IAC/B,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,yBAAyB,EAAE,MAAM,CAAC;IAClC,uBAAuB,EAAE,MAAM,CAAC;IAChC,eAAe,EAAE,MAAM,CAAC;IACxB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,uBAAuB,EAAE,OAAO,CAAC;IACjC,kBAAkB,EAAE,MAAM,CAAC;IAC3B,eAAe,EAAE,MAAM,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,QAAA,MAAM,wBAAwB,GAAI,cAAc,6BAA6B,KAAG,KAAK,CAAC,YAuVrF,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|