@undp/data-viz 2.0.6 → 2.0.8
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/dist/ChoroplethMap.cjs +1 -1
- package/dist/ChoroplethMap.cjs.map +1 -1
- package/dist/ChoroplethMap.js +68 -68
- package/dist/ChoroplethMap.js.map +1 -1
- package/dist/GraphEl-BcKU0bG1.cjs +2 -0
- package/dist/GraphEl-BcKU0bG1.cjs.map +1 -0
- package/dist/{GraphEl-VtiYqELy.js → GraphEl-CGq1EWRn.js} +70 -8
- package/dist/GraphEl-CGq1EWRn.js.map +1 -0
- package/dist/GriddedGraphs.cjs +1 -1
- package/dist/GriddedGraphs.d.ts +6 -1
- package/dist/GriddedGraphs.js +2 -2
- package/dist/GriddedGraphsFromConfig.d.ts +6 -1
- package/dist/HybridMap.cjs +2 -0
- package/dist/HybridMap.cjs.map +1 -0
- package/dist/HybridMap.d.ts +211 -0
- package/dist/HybridMap.js +599 -0
- package/dist/HybridMap.js.map +1 -0
- package/dist/MultiGraphDashboard.d.ts +6 -1
- package/dist/MultiGraphDashboardFromConfig.d.ts +6 -1
- package/dist/PerformanceIntensiveMultiGraphDashboard.d.ts +6 -1
- package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.d.ts +6 -1
- package/dist/PerformanceIntensiveScrollStory.d.ts +6 -1
- package/dist/ScrollStory.d.ts +6 -1
- package/dist/SingleGraphDashboard.cjs +1 -1
- package/dist/SingleGraphDashboard.d.ts +6 -1
- package/dist/SingleGraphDashboard.js +3 -3
- package/dist/SingleGraphDashboardFromConfig.d.ts +6 -1
- package/dist/SingleGraphDashboardGeoHubMaps.d.ts +5 -0
- package/dist/SingleGraphDashboardGeoHubMapsFromConfig.d.ts +5 -0
- package/dist/SingleGraphDashboardThreeDGraphs.cjs +1 -1
- package/dist/SingleGraphDashboardThreeDGraphs.d.ts +5 -0
- package/dist/SingleGraphDashboardThreeDGraphs.js +2 -2
- package/dist/SingleGraphDashboardThreeDGraphsFromConfig.d.ts +5 -0
- package/dist/Types.d.ts +17 -1
- package/dist/{getGraphList-gf02xgT2.cjs → getGraphList-CA17dvFB.cjs} +2 -2
- package/dist/getGraphList-CA17dvFB.cjs.map +1 -0
- package/dist/{getGraphList-BpEWn1Tk.js → getGraphList-Dxwo9TDb.js} +7 -1
- package/dist/{getGraphList-BpEWn1Tk.js.map → getGraphList-Dxwo9TDb.js.map} +1 -1
- package/dist/getSchema.cjs +1 -1
- package/dist/getSchema.cjs.map +1 -1
- package/dist/getSchema.d.ts +3 -3
- package/dist/getSchema.js +5 -1
- package/dist/getSchema.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +353 -220
- package/dist/index.js +163 -161
- package/dist/index.js.map +1 -1
- package/dist/transformData.cjs +1 -1
- package/dist/transformData.d.ts +1 -1
- package/dist/transformData.js +2 -2
- package/dist/{transformDataForAggregation-CE3bAlHU.js → transformDataForAggregation-DEU__LUl.js} +63 -32
- package/dist/transformDataForAggregation-DEU__LUl.js.map +1 -0
- package/dist/transformDataForAggregation-XNg0OGYE.cjs +2 -0
- package/dist/transformDataForAggregation-XNg0OGYE.cjs.map +1 -0
- package/dist/{transformDataForGraphFromFile-BExxcITV.js → transformDataForGraphFromFile-CSG24iF6.js} +2 -2
- package/dist/{transformDataForGraphFromFile-BExxcITV.js.map → transformDataForGraphFromFile-CSG24iF6.js.map} +1 -1
- package/dist/{transformDataForGraphFromFile-DaJHQCsL.cjs → transformDataForGraphFromFile-CzepNVGZ.cjs} +2 -2
- package/dist/{transformDataForGraphFromFile-DaJHQCsL.cjs.map → transformDataForGraphFromFile-CzepNVGZ.cjs.map} +1 -1
- package/dist/utils.cjs +1 -1
- package/dist/utils.js +1 -1
- package/dist/validateSchema.cjs +1 -1
- package/dist/validateSchema.d.ts +1 -1
- package/dist/validateSchema.js +1 -1
- package/package.json +6 -1
- package/dist/GraphEl-D5RBCD7p.cjs +0 -2
- package/dist/GraphEl-D5RBCD7p.cjs.map +0 -1
- package/dist/GraphEl-VtiYqELy.js.map +0 -1
- package/dist/getGraphList-gf02xgT2.cjs.map +0 -1
- package/dist/transformDataForAggregation-CE3bAlHU.js.map +0 -1
- package/dist/transformDataForAggregation-KXGm6flX.cjs +0 -2
- package/dist/transformDataForAggregation-KXGm6flX.cjs.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -68,7 +68,7 @@ declare interface AnnotationSettingsDataType {
|
|
|
68
68
|
};
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
export declare function AreaChart(props:
|
|
71
|
+
export declare function AreaChart(props: Props_24): JSX.Element;
|
|
72
72
|
|
|
73
73
|
declare interface AreaChartDataType {
|
|
74
74
|
date: number | string;
|
|
@@ -104,7 +104,7 @@ declare interface BaseLightConfig {
|
|
|
104
104
|
intensity: number;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
export declare function BasicStatCard(props:
|
|
107
|
+
export declare function BasicStatCard(props: Props_25): JSX.Element;
|
|
108
108
|
|
|
109
109
|
export declare function BeeSwarmChart(props: Props_5): JSX.Element;
|
|
110
110
|
|
|
@@ -126,7 +126,7 @@ declare interface BivariateMapDataType {
|
|
|
126
126
|
data?: object;
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
-
export declare function BulletChart(props:
|
|
129
|
+
export declare function BulletChart(props: Props_23): JSX.Element;
|
|
130
130
|
|
|
131
131
|
declare interface BulletChartDataType {
|
|
132
132
|
label: string | number;
|
|
@@ -136,7 +136,7 @@ declare interface BulletChartDataType {
|
|
|
136
136
|
data?: object;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
export declare function ButterflyChart(props:
|
|
139
|
+
export declare function ButterflyChart(props: Props_34): JSX.Element;
|
|
140
140
|
|
|
141
141
|
declare interface ButterflyChartDataType {
|
|
142
142
|
label: string | number;
|
|
@@ -197,9 +197,9 @@ declare interface ClassNameObject {
|
|
|
197
197
|
colorLegend?: string;
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
export declare function ColorLegend(props:
|
|
200
|
+
export declare function ColorLegend(props: Props_59): JSX.Element;
|
|
201
201
|
|
|
202
|
-
export declare function ColorLegendWithMouseOver(props:
|
|
202
|
+
export declare function ColorLegendWithMouseOver(props: Props_60): JSX.Element;
|
|
203
203
|
|
|
204
204
|
export declare const Colors: {
|
|
205
205
|
gray: string;
|
|
@@ -514,9 +514,9 @@ declare interface ConfigObject_7 {
|
|
|
514
514
|
theme?: 'dark' | 'light';
|
|
515
515
|
}
|
|
516
516
|
|
|
517
|
-
export declare function CopyTextButton(props:
|
|
517
|
+
export declare function CopyTextButton(props: Props_58): JSX.Element;
|
|
518
518
|
|
|
519
|
-
export declare function CsvDownloadButton(props:
|
|
519
|
+
export declare function CsvDownloadButton(props: Props_57): JSX.Element;
|
|
520
520
|
|
|
521
521
|
declare type CurveTypes = 'linear' | 'curve' | 'step' | 'stepAfter' | 'stepBefore';
|
|
522
522
|
|
|
@@ -597,7 +597,7 @@ declare interface DashboardLayoutDataWithoutRowsType {
|
|
|
597
597
|
language?: Languages;
|
|
598
598
|
}
|
|
599
599
|
|
|
600
|
-
export declare function DataCards(props:
|
|
600
|
+
export declare function DataCards(props: Props_31): JSX.Element;
|
|
601
601
|
|
|
602
602
|
declare interface DataFilterDataType {
|
|
603
603
|
column: string;
|
|
@@ -639,7 +639,7 @@ declare interface DataSettingsWideToLongDataType {
|
|
|
639
639
|
apiHeaders?: any;
|
|
640
640
|
}
|
|
641
641
|
|
|
642
|
-
export declare function DataTable(props:
|
|
642
|
+
export declare function DataTable(props: Props_30): JSX.Element;
|
|
643
643
|
|
|
644
644
|
declare interface DataTableColumnDataType {
|
|
645
645
|
columnTitle?: string;
|
|
@@ -740,7 +740,7 @@ export declare const excelDownload: (csvData: any, fileName: string, headers: st
|
|
|
740
740
|
[key: string]: string;
|
|
741
741
|
}, wscols: WsColInterface_2[]) => void;
|
|
742
742
|
|
|
743
|
-
export declare function ExcelDownloadButton(props:
|
|
743
|
+
export declare function ExcelDownloadButton(props: Props_54): JSX.Element;
|
|
744
744
|
|
|
745
745
|
/**
|
|
746
746
|
* Fetches a CSV file from a URL, parses it, and applies transformations based on the provided configuration.
|
|
@@ -845,7 +845,7 @@ declare interface FogDataType {
|
|
|
845
845
|
far: number;
|
|
846
846
|
}
|
|
847
847
|
|
|
848
|
-
export declare function FootNote(props:
|
|
848
|
+
export declare function FootNote(props: Props_65): JSX.Element | null;
|
|
849
849
|
|
|
850
850
|
/**
|
|
851
851
|
* Generates an embed link with custom query parameters.
|
|
@@ -864,15 +864,15 @@ export declare function generateEmbedLink(link: string, params: ParamsProps[]):
|
|
|
864
864
|
export declare function generateIframeCode(link: string, params: ParamsProps[]): string;
|
|
865
865
|
|
|
866
866
|
/** For using these maps you will have to install [`maplibre`](https://maplibre.org/maplibre-gl-js/docs/#npm), [pmtiles](https://www.npmjs.com/package/pmtiles), [dnd-kit/core](https://www.npmjs.com/package/@dnd-kit/core), and [dnd-kit/modifier](https://www.npmjs.com/package/@dnd-kit/modifiers) package to your project */
|
|
867
|
-
export declare function GeoHubCompareMaps(props:
|
|
867
|
+
export declare function GeoHubCompareMaps(props: Props_19): JSX.Element;
|
|
868
868
|
|
|
869
869
|
export declare type GeoHubGraphType = 'geoHubCompareMap' | 'geoHubMap' | 'geoHubMapWithLayerSelection';
|
|
870
870
|
|
|
871
871
|
/** For using these maps you will have to install [`maplibre`](https://maplibre.org/maplibre-gl-js/docs/#npm) and [pmtiles](https://www.npmjs.com/package/pmtiles) package to your project */
|
|
872
|
-
export declare function GeoHubMap(props:
|
|
872
|
+
export declare function GeoHubMap(props: Props_18): JSX.Element;
|
|
873
873
|
|
|
874
874
|
/** For using these maps you will have to install [`maplibre`](https://maplibre.org/maplibre-gl-js/docs/#npm) and [pmtiles](https://www.npmjs.com/package/pmtiles) package to your project */
|
|
875
|
-
export declare function GeoHubMapWithLayerSelection(props:
|
|
875
|
+
export declare function GeoHubMapWithLayerSelection(props: Props_20): JSX.Element;
|
|
876
876
|
|
|
877
877
|
export declare function getCentroidCoordinates(multiPolygonFeature: Feature<Polygon | MultiPolygon, GeoJsonProperties>, centerLargestPolygon?: boolean): Position_2;
|
|
878
878
|
|
|
@@ -4055,11 +4055,11 @@ declare interface GraphConfigurationDataType {
|
|
|
4055
4055
|
chartConfigId: string;
|
|
4056
4056
|
}
|
|
4057
4057
|
|
|
4058
|
-
export declare function GraphDescription(props:
|
|
4058
|
+
export declare function GraphDescription(props: Props_66): JSX.Element | null;
|
|
4059
4059
|
|
|
4060
|
-
export declare function GraphFooter(props:
|
|
4060
|
+
export declare function GraphFooter(props: Props_63): JSX.Element | null;
|
|
4061
4061
|
|
|
4062
|
-
export declare function GraphHeader(props:
|
|
4062
|
+
export declare function GraphHeader(props: Props_64): JSX.Element;
|
|
4063
4063
|
|
|
4064
4064
|
export declare const graphList: {
|
|
4065
4065
|
graphName: string;
|
|
@@ -4317,17 +4317,22 @@ declare interface GraphSettingsDataType {
|
|
|
4317
4317
|
highlightedAltitude?: number;
|
|
4318
4318
|
selectedId?: string;
|
|
4319
4319
|
collapseColorScaleByDefault?: boolean;
|
|
4320
|
+
dotLegendTitle?: string;
|
|
4321
|
+
dotColor?: string;
|
|
4322
|
+
dotBorderColor?: string;
|
|
4323
|
+
mapColorLegendTitle?: string;
|
|
4324
|
+
choroplethScaleType?: Exclude<ScaleDataType, 'linear'>;
|
|
4320
4325
|
}
|
|
4321
4326
|
|
|
4322
|
-
export declare function GraphTitle(props:
|
|
4327
|
+
export declare function GraphTitle(props: Props_67): JSX.Element | null;
|
|
4323
4328
|
|
|
4324
4329
|
export declare type GraphType = GraphTypeForGriddedGraph;
|
|
4325
4330
|
|
|
4326
|
-
export declare type GraphTypeForGriddedGraph = 'barChart' | 'stackedBarChart' | 'groupedBarChart' | 'lineChart' | 'dualAxisLineChart' | 'multiLineChart' | 'multiLineAltChart' | 'differenceLineChart' | 'stackedAreaChart' | 'choroplethMap' | 'biVariateChoroplethMap' | 'dotDensityMap' | 'donutChart' | 'slopeChart' | 'scatterPlot' | 'dumbbellChart' | 'treeMap' | 'circlePacking' | 'heatMap' | 'stripChart' | 'beeSwarmChart' | 'butterflyChart' | 'histogram' | 'sparkLine' | 'paretoChart' | 'dataTable' | 'statCard' | 'unitChart' | 'sankeyChart' | 'lineChartWithConfidenceInterval' | 'dataCards' | 'radarChart' | 'bulletChart';
|
|
4331
|
+
export declare type GraphTypeForGriddedGraph = 'barChart' | 'stackedBarChart' | 'groupedBarChart' | 'lineChart' | 'dualAxisLineChart' | 'multiLineChart' | 'multiLineAltChart' | 'differenceLineChart' | 'stackedAreaChart' | 'choroplethMap' | 'biVariateChoroplethMap' | 'hybridMap' | 'dotDensityMap' | 'donutChart' | 'slopeChart' | 'scatterPlot' | 'dumbbellChart' | 'treeMap' | 'circlePacking' | 'heatMap' | 'stripChart' | 'beeSwarmChart' | 'butterflyChart' | 'histogram' | 'sparkLine' | 'paretoChart' | 'dataTable' | 'statCard' | 'unitChart' | 'sankeyChart' | 'lineChartWithConfidenceInterval' | 'dataCards' | 'radarChart' | 'bulletChart';
|
|
4327
4332
|
|
|
4328
|
-
export declare function GriddedGraphs(props:
|
|
4333
|
+
export declare function GriddedGraphs(props: Props_44): JSX.Element;
|
|
4329
4334
|
|
|
4330
|
-
export declare function GriddedGraphsFromConfig(props:
|
|
4335
|
+
export declare function GriddedGraphsFromConfig(props: Props_53): JSX.Element;
|
|
4331
4336
|
|
|
4332
4337
|
declare interface GroupedBarChartProps {
|
|
4333
4338
|
/** Array of data objects */
|
|
@@ -4458,7 +4463,7 @@ declare interface HeaderProps {
|
|
|
4458
4463
|
key: string;
|
|
4459
4464
|
}
|
|
4460
4465
|
|
|
4461
|
-
export declare function HeatMap(props:
|
|
4466
|
+
export declare function HeatMap(props: Props_29): JSX.Element;
|
|
4462
4467
|
|
|
4463
4468
|
declare interface HeatMapDataType {
|
|
4464
4469
|
row: string;
|
|
@@ -4491,13 +4496,26 @@ declare type HighlightDataPointSettingsDataType = {
|
|
|
4491
4496
|
width?: string;
|
|
4492
4497
|
};
|
|
4493
4498
|
|
|
4494
|
-
export declare function Histogram(props:
|
|
4499
|
+
export declare function Histogram(props: Props_35): JSX.Element;
|
|
4495
4500
|
|
|
4496
4501
|
declare interface HistogramDataType {
|
|
4497
4502
|
value: number;
|
|
4498
4503
|
data?: object;
|
|
4499
4504
|
}
|
|
4500
4505
|
|
|
4506
|
+
export declare function HybridMap(props: Props_16): JSX.Element;
|
|
4507
|
+
|
|
4508
|
+
declare interface HybridMapDataType {
|
|
4509
|
+
lat?: number;
|
|
4510
|
+
long?: number;
|
|
4511
|
+
x?: number | string | null;
|
|
4512
|
+
id?: string;
|
|
4513
|
+
radius?: number;
|
|
4514
|
+
label?: string | number;
|
|
4515
|
+
date?: string | number;
|
|
4516
|
+
data?: object;
|
|
4517
|
+
}
|
|
4518
|
+
|
|
4501
4519
|
/**
|
|
4502
4520
|
* Downloads an image of a specified HTML element as a PNG file.
|
|
4503
4521
|
*
|
|
@@ -4513,7 +4531,7 @@ declare interface HistogramDataType {
|
|
|
4513
4531
|
*/
|
|
4514
4532
|
export declare function imageDownload(node: HTMLElement, filename: string): void;
|
|
4515
4533
|
|
|
4516
|
-
export declare function ImageDownloadButton(props:
|
|
4534
|
+
export declare function ImageDownloadButton(props: Props_55): JSX.Element;
|
|
4517
4535
|
|
|
4518
4536
|
declare interface InfoBoxDataType {
|
|
4519
4537
|
title?: string | React.ReactNode;
|
|
@@ -4524,7 +4542,7 @@ declare type Languages = 'en' | 'ar' | 'az' | 'bn' | 'cy' | 'he' | 'hi' | 'jp' |
|
|
|
4524
4542
|
|
|
4525
4543
|
declare type LightConfig = AmbientLightConfig | DirectionalLightConfig | PointLightConfig | SpotLightConfig;
|
|
4526
4544
|
|
|
4527
|
-
export declare function LinearColorLegend(props:
|
|
4545
|
+
export declare function LinearColorLegend(props: Props_61): JSX.Element;
|
|
4528
4546
|
|
|
4529
4547
|
declare interface LineChartDataType {
|
|
4530
4548
|
date: number | string;
|
|
@@ -4549,13 +4567,13 @@ declare interface MapLegendDataType {
|
|
|
4549
4567
|
|
|
4550
4568
|
declare type MapProjectionTypes = 'mercator' | 'equalEarth' | 'naturalEarth' | 'orthographic' | 'albersUSA';
|
|
4551
4569
|
|
|
4552
|
-
export declare function MultiGraphDashboard(props:
|
|
4570
|
+
export declare function MultiGraphDashboard(props: Props_38): JSX.Element;
|
|
4553
4571
|
|
|
4554
|
-
export declare function MultiGraphDashboardFromConfig(props:
|
|
4572
|
+
export declare function MultiGraphDashboardFromConfig(props: Props_47): JSX.Element;
|
|
4555
4573
|
|
|
4556
|
-
export declare function MultiGraphDashboardWideToLongFormat(props:
|
|
4574
|
+
export declare function MultiGraphDashboardWideToLongFormat(props: Props_40): JSX.Element;
|
|
4557
4575
|
|
|
4558
|
-
export declare function MultiGraphDashboardWideToLongFormatFromConfig(props:
|
|
4576
|
+
export declare function MultiGraphDashboardWideToLongFormatFromConfig(props: Props_49): JSX.Element;
|
|
4559
4577
|
|
|
4560
4578
|
export declare function MultiLineAltChart(props: Props_10): JSX.Element;
|
|
4561
4579
|
|
|
@@ -4604,7 +4622,7 @@ declare interface ParamsProps {
|
|
|
4604
4622
|
value: string | boolean | number | string[] | number[];
|
|
4605
4623
|
}
|
|
4606
4624
|
|
|
4607
|
-
export declare function ParetoChart(props:
|
|
4625
|
+
export declare function ParetoChart(props: Props_33): JSX.Element;
|
|
4608
4626
|
|
|
4609
4627
|
declare interface ParetoChartDataType {
|
|
4610
4628
|
label: number | string;
|
|
@@ -4632,12 +4650,12 @@ declare interface PerformanceIntensiveDashboardLayoutDataType extends DashboardL
|
|
|
4632
4650
|
}[];
|
|
4633
4651
|
}
|
|
4634
4652
|
|
|
4635
|
-
export declare function PerformanceIntensiveMultiGraphDashboard(props:
|
|
4653
|
+
export declare function PerformanceIntensiveMultiGraphDashboard(props: Props_39): JSX.Element;
|
|
4636
4654
|
|
|
4637
|
-
export declare function PerformanceIntensiveMultiGraphDashboardFromConfig(props:
|
|
4655
|
+
export declare function PerformanceIntensiveMultiGraphDashboardFromConfig(props: Props_48): JSX.Element;
|
|
4638
4656
|
|
|
4639
4657
|
/** ScrollStory is a scrollytelling container component that reveals content step-by-step as the user scrolls through the page. */
|
|
4640
|
-
export declare function PerformanceIntensiveScrollStory(props:
|
|
4658
|
+
export declare function PerformanceIntensiveScrollStory(props: Props_46): JSX.Element;
|
|
4641
4659
|
|
|
4642
4660
|
declare interface PointLightConfig extends BaseLightConfig {
|
|
4643
4661
|
type: 'point';
|
|
@@ -5360,6 +5378,121 @@ declare interface Props_15 {
|
|
|
5360
5378
|
}
|
|
5361
5379
|
|
|
5362
5380
|
declare interface Props_16 {
|
|
5381
|
+
/** Array of data objects for dot density map*/
|
|
5382
|
+
data: HybridMapDataType[];
|
|
5383
|
+
/** Title of the graph */
|
|
5384
|
+
graphTitle?: string | React.ReactNode;
|
|
5385
|
+
/** Description of the graph */
|
|
5386
|
+
graphDescription?: string | React.ReactNode;
|
|
5387
|
+
/** Footnote for the graph */
|
|
5388
|
+
footNote?: string | React.ReactNode;
|
|
5389
|
+
/** Source data for the graph */
|
|
5390
|
+
sources?: SourcesDataType[];
|
|
5391
|
+
/** Accessibility label */
|
|
5392
|
+
ariaLabel?: string;
|
|
5393
|
+
/** Color or array of colors for the circle */
|
|
5394
|
+
colors?: string[];
|
|
5395
|
+
/** Domain of colors for the graph for the choropleth map */
|
|
5396
|
+
colorDomain?: number[] | string[];
|
|
5397
|
+
/** Title for the legend for the dot density scale */
|
|
5398
|
+
dotLegendTitle?: string;
|
|
5399
|
+
/** Title for the color legend for the color scale */
|
|
5400
|
+
mapColorLegendTitle?: string;
|
|
5401
|
+
/** Color for the areas where data is no available */
|
|
5402
|
+
mapNoDataColor?: string;
|
|
5403
|
+
/** Background color of the graph */
|
|
5404
|
+
backgroundColor?: string | boolean;
|
|
5405
|
+
/** Custom styles for the graph. Each object should be a valid React CSS style object. */
|
|
5406
|
+
styles?: StyleObject;
|
|
5407
|
+
/** Custom class names */
|
|
5408
|
+
classNames?: ClassNameObject;
|
|
5409
|
+
/** Width of the graph */
|
|
5410
|
+
width?: number;
|
|
5411
|
+
/** Height of the graph */
|
|
5412
|
+
height?: number;
|
|
5413
|
+
/** Minimum height of the graph */
|
|
5414
|
+
minHeight?: number;
|
|
5415
|
+
/** Relative height scaling factor. This overwrites the height props */
|
|
5416
|
+
relativeHeight?: number;
|
|
5417
|
+
/** Padding around the graph. Defaults to 0 if no backgroundColor is mentioned else defaults to 1rem */
|
|
5418
|
+
padding?: string;
|
|
5419
|
+
/** Maximum radius of the circle */
|
|
5420
|
+
radius?: number;
|
|
5421
|
+
/** Map data as an object in geoJson format or a url for geoJson */
|
|
5422
|
+
mapData?: any;
|
|
5423
|
+
/** Scaling factor for the map. Multiplies the scale number to scale. */
|
|
5424
|
+
scale?: number;
|
|
5425
|
+
/** Center point of the map */
|
|
5426
|
+
centerPoint?: [number, number];
|
|
5427
|
+
/** Defines the zoom mode for the map */
|
|
5428
|
+
zoomInteraction?: ZoomInteractionTypes;
|
|
5429
|
+
/** Stroke width of the regions in the map */
|
|
5430
|
+
mapBorderWidth?: number;
|
|
5431
|
+
/** Stroke color of the regions in the map */
|
|
5432
|
+
mapBorderColor?: string;
|
|
5433
|
+
/** Color of the dots in the dot density map */
|
|
5434
|
+
dotColor?: string;
|
|
5435
|
+
/** Border color of the dots in the dot density map */
|
|
5436
|
+
dotBorderColor?: string;
|
|
5437
|
+
/** Color of the labels */
|
|
5438
|
+
labelColor?: string;
|
|
5439
|
+
/** Toggle if the map is a world map */
|
|
5440
|
+
isWorldMap?: boolean;
|
|
5441
|
+
/** Scale for the colors of the choropleth map */
|
|
5442
|
+
choroplethScaleType?: Exclude<ScaleDataType, 'linear'>;
|
|
5443
|
+
/** Map projection type */
|
|
5444
|
+
mapProjection?: MapProjectionTypes;
|
|
5445
|
+
/** Extend of the allowed zoom in the map */
|
|
5446
|
+
zoomScaleExtend?: [number, number];
|
|
5447
|
+
/** Extend of the allowed panning in the map */
|
|
5448
|
+
zoomTranslateExtend?: [[number, number], [number, number]];
|
|
5449
|
+
/** Toggle visibility of labels */
|
|
5450
|
+
showLabels?: boolean;
|
|
5451
|
+
/** Maximum value mapped to the radius chart */
|
|
5452
|
+
maxRadiusValue?: number;
|
|
5453
|
+
/** Countries or regions to be highlighted */
|
|
5454
|
+
highlightedIds?: string[];
|
|
5455
|
+
/** Data points to highlight. Use the label value from data to highlight the data point */
|
|
5456
|
+
highlightedDataPoints?: (string | number)[];
|
|
5457
|
+
/** Defines the opacity of the non-highlighted data */
|
|
5458
|
+
dimmedOpacity?: number;
|
|
5459
|
+
/** Toggles if the graph animates in when loaded. */
|
|
5460
|
+
animate?: boolean | AnimateDataType;
|
|
5461
|
+
/** Toggle visibility of color scale. This is only applicable if the data props hae color parameter */
|
|
5462
|
+
showColorScale?: boolean;
|
|
5463
|
+
/** Toggle if color scale is collapsed by default. */
|
|
5464
|
+
collapseColorScaleByDefault?: boolean;
|
|
5465
|
+
/** Toggles the visibility of Antarctica in the default map. Only applicable for the default map. */
|
|
5466
|
+
showAntarctica?: boolean;
|
|
5467
|
+
/** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
|
|
5468
|
+
customLayers?: CustomLayerDataType[];
|
|
5469
|
+
/** Property in the property object in mapData geoJson object is used to match to the id in the data object */
|
|
5470
|
+
mapProperty?: string;
|
|
5471
|
+
/** Configures playback and slider controls for animating the chart over time. The data must have a key date for it to work properly. */
|
|
5472
|
+
timeline?: TimelineDataType;
|
|
5473
|
+
/** Enable graph download option as png */
|
|
5474
|
+
graphDownload?: boolean;
|
|
5475
|
+
/** Enable data download option as a csv */
|
|
5476
|
+
dataDownload?: boolean;
|
|
5477
|
+
/** Reset selection on double-click. Only applicable when used in a dashboard context with filters. */
|
|
5478
|
+
resetSelectionOnDoubleClick?: boolean;
|
|
5479
|
+
/** Tooltip content. If the type is string then this uses the [handlebar](../?path=/docs/misc-handlebars-templates-and-custom-helpers--docs) template to display the data */
|
|
5480
|
+
tooltip?: string | ((_d: any) => React.ReactNode);
|
|
5481
|
+
/** Details displayed on the modal when user clicks of a data point. If the type is string then this uses the [handlebar](../?path=/docs/misc-handlebars-templates-and-custom-helpers--docs) template to display the data */
|
|
5482
|
+
detailsOnClick?: string | ((_d: any) => React.ReactNode);
|
|
5483
|
+
/** Callback for mouse over event */
|
|
5484
|
+
onSeriesMouseOver?: (_d: any) => void;
|
|
5485
|
+
/** Callback for mouse click event */
|
|
5486
|
+
onSeriesMouseClick?: (_d: any) => void;
|
|
5487
|
+
/** Language setting */
|
|
5488
|
+
language?: Languages;
|
|
5489
|
+
/** Color theme */
|
|
5490
|
+
theme?: 'light' | 'dark';
|
|
5491
|
+
/** Unique ID for the graph */
|
|
5492
|
+
graphID?: string;
|
|
5493
|
+
}
|
|
5494
|
+
|
|
5495
|
+
declare interface Props_17 {
|
|
5363
5496
|
/** Array of data objects */
|
|
5364
5497
|
data: ChoroplethMapDataType[];
|
|
5365
5498
|
/** Title of the graph */
|
|
@@ -5460,7 +5593,7 @@ declare interface Props_16 {
|
|
|
5460
5593
|
graphID?: string;
|
|
5461
5594
|
}
|
|
5462
5595
|
|
|
5463
|
-
declare interface
|
|
5596
|
+
declare interface Props_18 {
|
|
5464
5597
|
/** Title of the graph */
|
|
5465
5598
|
graphTitle?: string | default_2.ReactNode;
|
|
5466
5599
|
/** Description of the graph */
|
|
@@ -5512,7 +5645,7 @@ declare interface Props_17 {
|
|
|
5512
5645
|
graphID?: string;
|
|
5513
5646
|
}
|
|
5514
5647
|
|
|
5515
|
-
declare interface
|
|
5648
|
+
declare interface Props_19 {
|
|
5516
5649
|
/** Title of the graph */
|
|
5517
5650
|
graphTitle?: string | React.ReactNode;
|
|
5518
5651
|
/** Description of the graph */
|
|
@@ -5555,58 +5688,6 @@ declare interface Props_18 {
|
|
|
5555
5688
|
graphID?: string;
|
|
5556
5689
|
}
|
|
5557
5690
|
|
|
5558
|
-
declare interface Props_19 {
|
|
5559
|
-
/** Title of the graph */
|
|
5560
|
-
graphTitle?: string | React.ReactNode;
|
|
5561
|
-
/** Description of the graph */
|
|
5562
|
-
graphDescription?: string | React.ReactNode;
|
|
5563
|
-
/** Footnote for the graph */
|
|
5564
|
-
footNote?: string | React.ReactNode;
|
|
5565
|
-
/** Source data for the graph */
|
|
5566
|
-
sources?: SourcesDataType[];
|
|
5567
|
-
/** Accessibility label */
|
|
5568
|
-
ariaLabel?: string;
|
|
5569
|
-
/** Background color of the graph */
|
|
5570
|
-
backgroundColor?: string | boolean;
|
|
5571
|
-
/** Custom styles for the graph. Each object should be a valid React CSS style object. */
|
|
5572
|
-
styles?: StyleObject;
|
|
5573
|
-
/** Custom class names */
|
|
5574
|
-
classNames?: ClassNameObject;
|
|
5575
|
-
/** Width of the graph */
|
|
5576
|
-
width?: number;
|
|
5577
|
-
/** Height of the graph */
|
|
5578
|
-
height?: number;
|
|
5579
|
-
/** Minimum height of the graph */
|
|
5580
|
-
minHeight?: number;
|
|
5581
|
-
/** Relative height scaling factor. This overwrites the height props */
|
|
5582
|
-
relativeHeight?: number;
|
|
5583
|
-
/** Padding around the graph. Defaults to 0 if no backgroundColor is mentioned else defaults to 1rem */
|
|
5584
|
-
padding?: string;
|
|
5585
|
-
/** URL for mapStyle JSON */
|
|
5586
|
-
mapStyle: string;
|
|
5587
|
-
/** Starting center point of the map */
|
|
5588
|
-
center?: [number, number];
|
|
5589
|
-
/** Starting zoom level of the map */
|
|
5590
|
-
zoomLevel?: number;
|
|
5591
|
-
/** List of the layers that the user select and switch between sing a drop down */
|
|
5592
|
-
layerSelection: {
|
|
5593
|
-
layerID: string[];
|
|
5594
|
-
name: string;
|
|
5595
|
-
}[];
|
|
5596
|
-
/** Defines the legend for the map. mapLegend is of type { mapStyleName: string; legend: string | React.ReactNode }[] where mapStyleName corresponds to the each name in the layerSelection. */
|
|
5597
|
-
mapLegend?: MapLegendDataType[];
|
|
5598
|
-
/** List of layer IDs to be excluded from the visualization */
|
|
5599
|
-
excludeLayers?: string[];
|
|
5600
|
-
/** Language setting */
|
|
5601
|
-
language?: Languages;
|
|
5602
|
-
/** Color theme */
|
|
5603
|
-
theme?: 'light' | 'dark';
|
|
5604
|
-
/** Theme for the UI elements */
|
|
5605
|
-
uiMode?: 'light' | 'normal';
|
|
5606
|
-
/** Unique ID for the graph */
|
|
5607
|
-
graphID?: string;
|
|
5608
|
-
}
|
|
5609
|
-
|
|
5610
5691
|
declare interface Props_2 {
|
|
5611
5692
|
/** Array of data objects */
|
|
5612
5693
|
data: TreeMapDataType[];
|
|
@@ -5695,6 +5776,58 @@ declare interface Props_2 {
|
|
|
5695
5776
|
}
|
|
5696
5777
|
|
|
5697
5778
|
declare interface Props_20 {
|
|
5779
|
+
/** Title of the graph */
|
|
5780
|
+
graphTitle?: string | React.ReactNode;
|
|
5781
|
+
/** Description of the graph */
|
|
5782
|
+
graphDescription?: string | React.ReactNode;
|
|
5783
|
+
/** Footnote for the graph */
|
|
5784
|
+
footNote?: string | React.ReactNode;
|
|
5785
|
+
/** Source data for the graph */
|
|
5786
|
+
sources?: SourcesDataType[];
|
|
5787
|
+
/** Accessibility label */
|
|
5788
|
+
ariaLabel?: string;
|
|
5789
|
+
/** Background color of the graph */
|
|
5790
|
+
backgroundColor?: string | boolean;
|
|
5791
|
+
/** Custom styles for the graph. Each object should be a valid React CSS style object. */
|
|
5792
|
+
styles?: StyleObject;
|
|
5793
|
+
/** Custom class names */
|
|
5794
|
+
classNames?: ClassNameObject;
|
|
5795
|
+
/** Width of the graph */
|
|
5796
|
+
width?: number;
|
|
5797
|
+
/** Height of the graph */
|
|
5798
|
+
height?: number;
|
|
5799
|
+
/** Minimum height of the graph */
|
|
5800
|
+
minHeight?: number;
|
|
5801
|
+
/** Relative height scaling factor. This overwrites the height props */
|
|
5802
|
+
relativeHeight?: number;
|
|
5803
|
+
/** Padding around the graph. Defaults to 0 if no backgroundColor is mentioned else defaults to 1rem */
|
|
5804
|
+
padding?: string;
|
|
5805
|
+
/** URL for mapStyle JSON */
|
|
5806
|
+
mapStyle: string;
|
|
5807
|
+
/** Starting center point of the map */
|
|
5808
|
+
center?: [number, number];
|
|
5809
|
+
/** Starting zoom level of the map */
|
|
5810
|
+
zoomLevel?: number;
|
|
5811
|
+
/** List of the layers that the user select and switch between sing a drop down */
|
|
5812
|
+
layerSelection: {
|
|
5813
|
+
layerID: string[];
|
|
5814
|
+
name: string;
|
|
5815
|
+
}[];
|
|
5816
|
+
/** Defines the legend for the map. mapLegend is of type { mapStyleName: string; legend: string | React.ReactNode }[] where mapStyleName corresponds to the each name in the layerSelection. */
|
|
5817
|
+
mapLegend?: MapLegendDataType[];
|
|
5818
|
+
/** List of layer IDs to be excluded from the visualization */
|
|
5819
|
+
excludeLayers?: string[];
|
|
5820
|
+
/** Language setting */
|
|
5821
|
+
language?: Languages;
|
|
5822
|
+
/** Color theme */
|
|
5823
|
+
theme?: 'light' | 'dark';
|
|
5824
|
+
/** Theme for the UI elements */
|
|
5825
|
+
uiMode?: 'light' | 'normal';
|
|
5826
|
+
/** Unique ID for the graph */
|
|
5827
|
+
graphID?: string;
|
|
5828
|
+
}
|
|
5829
|
+
|
|
5830
|
+
declare interface Props_21 {
|
|
5698
5831
|
/** Array of data objects */
|
|
5699
5832
|
data: ScatterPlotDataType[];
|
|
5700
5833
|
/** Title of the graph */
|
|
@@ -5819,7 +5952,7 @@ declare interface Props_20 {
|
|
|
5819
5952
|
graphID?: string;
|
|
5820
5953
|
}
|
|
5821
5954
|
|
|
5822
|
-
declare interface
|
|
5955
|
+
declare interface Props_22 {
|
|
5823
5956
|
/** Array of data objects */
|
|
5824
5957
|
data: SlopeChartDataType[];
|
|
5825
5958
|
/** Title of the graph */
|
|
@@ -5908,7 +6041,7 @@ declare interface Props_21 {
|
|
|
5908
6041
|
graphID?: string;
|
|
5909
6042
|
}
|
|
5910
6043
|
|
|
5911
|
-
declare interface
|
|
6044
|
+
declare interface Props_23 {
|
|
5912
6045
|
/** Array of data objects */
|
|
5913
6046
|
data: BulletChartDataType[];
|
|
5914
6047
|
/** Orientation of the graph */
|
|
@@ -6037,7 +6170,7 @@ declare interface Props_22 {
|
|
|
6037
6170
|
graphID?: string;
|
|
6038
6171
|
}
|
|
6039
6172
|
|
|
6040
|
-
declare interface
|
|
6173
|
+
declare interface Props_24 {
|
|
6041
6174
|
/** Array of data objects */
|
|
6042
6175
|
data: AreaChartDataType[];
|
|
6043
6176
|
/** Title of the graph */
|
|
@@ -6130,7 +6263,7 @@ declare interface Props_23 {
|
|
|
6130
6263
|
graphID?: string;
|
|
6131
6264
|
}
|
|
6132
6265
|
|
|
6133
|
-
declare interface
|
|
6266
|
+
declare interface Props_25 {
|
|
6134
6267
|
/** Title of the graph */
|
|
6135
6268
|
graphTitle?: string | React.ReactNode;
|
|
6136
6269
|
/** Description of the graph */
|
|
@@ -6177,7 +6310,7 @@ declare interface Props_24 {
|
|
|
6177
6310
|
graphID?: string;
|
|
6178
6311
|
}
|
|
6179
6312
|
|
|
6180
|
-
declare interface
|
|
6313
|
+
declare interface Props_26 {
|
|
6181
6314
|
/** Array of data objects */
|
|
6182
6315
|
data: StatCardsFromDataSheetDataType[];
|
|
6183
6316
|
/** Title of the graph */
|
|
@@ -6228,7 +6361,7 @@ declare interface Props_25 {
|
|
|
6228
6361
|
graphID?: string;
|
|
6229
6362
|
}
|
|
6230
6363
|
|
|
6231
|
-
declare interface
|
|
6364
|
+
declare interface Props_27 {
|
|
6232
6365
|
/** Array of data objects */
|
|
6233
6366
|
data: TreeMapDataType[];
|
|
6234
6367
|
/** Title of the graph */
|
|
@@ -6314,7 +6447,7 @@ declare interface Props_26 {
|
|
|
6314
6447
|
graphID?: string;
|
|
6315
6448
|
}
|
|
6316
6449
|
|
|
6317
|
-
declare interface
|
|
6450
|
+
declare interface Props_28 {
|
|
6318
6451
|
/** Array of data objects */
|
|
6319
6452
|
data: UnitChartDataType[];
|
|
6320
6453
|
/** Title of the graph */
|
|
@@ -6375,7 +6508,7 @@ declare interface Props_27 {
|
|
|
6375
6508
|
graphID?: string;
|
|
6376
6509
|
}
|
|
6377
6510
|
|
|
6378
|
-
declare interface
|
|
6511
|
+
declare interface Props_29 {
|
|
6379
6512
|
/** Array of data objects */
|
|
6380
6513
|
data: HeatMapDataType[];
|
|
6381
6514
|
/** Title of the graph */
|
|
@@ -6467,51 +6600,6 @@ declare interface Props_28 {
|
|
|
6467
6600
|
graphID?: string;
|
|
6468
6601
|
}
|
|
6469
6602
|
|
|
6470
|
-
declare interface Props_29 {
|
|
6471
|
-
/** Array of data objects. If the data have a object for ket `rowStyle` then that is use to style the row of the table. */
|
|
6472
|
-
data: object[];
|
|
6473
|
-
/** Title of the graph */
|
|
6474
|
-
graphTitle?: string | React.ReactNode;
|
|
6475
|
-
/** Description of the graph */
|
|
6476
|
-
graphDescription?: string | React.ReactNode;
|
|
6477
|
-
/** Footnote for the graph */
|
|
6478
|
-
footNote?: string | React.ReactNode;
|
|
6479
|
-
/** Source data for the graph */
|
|
6480
|
-
sources?: SourcesDataType[];
|
|
6481
|
-
/** Accessibility label */
|
|
6482
|
-
ariaLabel?: string;
|
|
6483
|
-
/** Background color of the graph */
|
|
6484
|
-
backgroundColor?: string | boolean;
|
|
6485
|
-
/** Custom styles for the graph. Each object should be a valid React CSS style object. */
|
|
6486
|
-
styles?: StyleObject;
|
|
6487
|
-
/** Custom class names */
|
|
6488
|
-
classNames?: ClassNameObject;
|
|
6489
|
-
/** Width of the graph */
|
|
6490
|
-
width?: number;
|
|
6491
|
-
/** Minimum width of the table as string in px */
|
|
6492
|
-
minWidth?: string;
|
|
6493
|
-
/** Height of the graph */
|
|
6494
|
-
height?: number;
|
|
6495
|
-
/** Padding around the graph. Defaults to 0 if no backgroundColor is mentioned else defaults to 1rem */
|
|
6496
|
-
padding?: string;
|
|
6497
|
-
/** Column settings for each column shown in the table. */
|
|
6498
|
-
columnData: DataTableColumnDataType[];
|
|
6499
|
-
/** Specifies the number of decimal places to display in the value. */
|
|
6500
|
-
precision?: number;
|
|
6501
|
-
/** Defines how “NA” values should be displayed/labelled in the graph */
|
|
6502
|
-
naLabel?: string;
|
|
6503
|
-
/** Reset selection on double-click. Only applicable when used in a dashboard context with filters. */
|
|
6504
|
-
resetSelectionOnDoubleClick?: boolean;
|
|
6505
|
-
/** Callback for mouse click event */
|
|
6506
|
-
onSeriesMouseClick?: (_d: any) => void;
|
|
6507
|
-
/** Language setting */
|
|
6508
|
-
language?: Languages;
|
|
6509
|
-
/** Color theme */
|
|
6510
|
-
theme?: 'light' | 'dark';
|
|
6511
|
-
/** Unique ID for the graph */
|
|
6512
|
-
graphID?: string;
|
|
6513
|
-
}
|
|
6514
|
-
|
|
6515
6603
|
declare interface Props_3 {
|
|
6516
6604
|
/** Array of data objects */
|
|
6517
6605
|
data: DonutChartDataType[];
|
|
@@ -6592,6 +6680,51 @@ declare interface Props_3 {
|
|
|
6592
6680
|
}
|
|
6593
6681
|
|
|
6594
6682
|
declare interface Props_30 {
|
|
6683
|
+
/** Array of data objects. If the data have a object for ket `rowStyle` then that is use to style the row of the table. */
|
|
6684
|
+
data: object[];
|
|
6685
|
+
/** Title of the graph */
|
|
6686
|
+
graphTitle?: string | React.ReactNode;
|
|
6687
|
+
/** Description of the graph */
|
|
6688
|
+
graphDescription?: string | React.ReactNode;
|
|
6689
|
+
/** Footnote for the graph */
|
|
6690
|
+
footNote?: string | React.ReactNode;
|
|
6691
|
+
/** Source data for the graph */
|
|
6692
|
+
sources?: SourcesDataType[];
|
|
6693
|
+
/** Accessibility label */
|
|
6694
|
+
ariaLabel?: string;
|
|
6695
|
+
/** Background color of the graph */
|
|
6696
|
+
backgroundColor?: string | boolean;
|
|
6697
|
+
/** Custom styles for the graph. Each object should be a valid React CSS style object. */
|
|
6698
|
+
styles?: StyleObject;
|
|
6699
|
+
/** Custom class names */
|
|
6700
|
+
classNames?: ClassNameObject;
|
|
6701
|
+
/** Width of the graph */
|
|
6702
|
+
width?: number;
|
|
6703
|
+
/** Minimum width of the table as string in px */
|
|
6704
|
+
minWidth?: string;
|
|
6705
|
+
/** Height of the graph */
|
|
6706
|
+
height?: number;
|
|
6707
|
+
/** Padding around the graph. Defaults to 0 if no backgroundColor is mentioned else defaults to 1rem */
|
|
6708
|
+
padding?: string;
|
|
6709
|
+
/** Column settings for each column shown in the table. */
|
|
6710
|
+
columnData: DataTableColumnDataType[];
|
|
6711
|
+
/** Specifies the number of decimal places to display in the value. */
|
|
6712
|
+
precision?: number;
|
|
6713
|
+
/** Defines how “NA” values should be displayed/labelled in the graph */
|
|
6714
|
+
naLabel?: string;
|
|
6715
|
+
/** Reset selection on double-click. Only applicable when used in a dashboard context with filters. */
|
|
6716
|
+
resetSelectionOnDoubleClick?: boolean;
|
|
6717
|
+
/** Callback for mouse click event */
|
|
6718
|
+
onSeriesMouseClick?: (_d: any) => void;
|
|
6719
|
+
/** Language setting */
|
|
6720
|
+
language?: Languages;
|
|
6721
|
+
/** Color theme */
|
|
6722
|
+
theme?: 'light' | 'dark';
|
|
6723
|
+
/** Unique ID for the graph */
|
|
6724
|
+
graphID?: string;
|
|
6725
|
+
}
|
|
6726
|
+
|
|
6727
|
+
declare interface Props_31 {
|
|
6595
6728
|
/** Array of data objects */
|
|
6596
6729
|
data: object[];
|
|
6597
6730
|
/** Title of the graph */
|
|
@@ -6654,7 +6787,7 @@ declare interface Props_30 {
|
|
|
6654
6787
|
graphID?: string;
|
|
6655
6788
|
}
|
|
6656
6789
|
|
|
6657
|
-
declare interface
|
|
6790
|
+
declare interface Props_32 {
|
|
6658
6791
|
/** Array of data objects */
|
|
6659
6792
|
data: StripChartDataType[];
|
|
6660
6793
|
/** Orientation of the graph */
|
|
@@ -6755,7 +6888,7 @@ declare interface Props_31 {
|
|
|
6755
6888
|
graphID?: string;
|
|
6756
6889
|
}
|
|
6757
6890
|
|
|
6758
|
-
declare interface
|
|
6891
|
+
declare interface Props_33 {
|
|
6759
6892
|
/** Array of data objects */
|
|
6760
6893
|
data: ParetoChartDataType[];
|
|
6761
6894
|
/** Title of the graph */
|
|
@@ -6858,7 +6991,7 @@ declare interface Props_32 {
|
|
|
6858
6991
|
graphID?: string;
|
|
6859
6992
|
}
|
|
6860
6993
|
|
|
6861
|
-
declare interface
|
|
6994
|
+
declare interface Props_34 {
|
|
6862
6995
|
/** Array of data objects */
|
|
6863
6996
|
data: ButterflyChartDataType[];
|
|
6864
6997
|
/** Title of the graph */
|
|
@@ -6959,7 +7092,7 @@ declare interface Props_33 {
|
|
|
6959
7092
|
graphID?: string;
|
|
6960
7093
|
}
|
|
6961
7094
|
|
|
6962
|
-
declare interface
|
|
7095
|
+
declare interface Props_35 {
|
|
6963
7096
|
/** Array of data objects */
|
|
6964
7097
|
data: HistogramDataType[];
|
|
6965
7098
|
/** Type of the graph for histogram */
|
|
@@ -7046,7 +7179,7 @@ declare interface Props_34 {
|
|
|
7046
7179
|
graphID?: string;
|
|
7047
7180
|
}
|
|
7048
7181
|
|
|
7049
|
-
declare interface
|
|
7182
|
+
declare interface Props_36 {
|
|
7050
7183
|
/** Array of data objects */
|
|
7051
7184
|
data: SankeyDataType[];
|
|
7052
7185
|
/** Title of the graph */
|
|
@@ -7147,7 +7280,7 @@ declare interface Props_35 {
|
|
|
7147
7280
|
graphID?: string;
|
|
7148
7281
|
}
|
|
7149
7282
|
|
|
7150
|
-
declare interface
|
|
7283
|
+
declare interface Props_37 {
|
|
7151
7284
|
/** Array of data objects */
|
|
7152
7285
|
data: RadarChartDataType[];
|
|
7153
7286
|
/** Title of the graph */
|
|
@@ -7246,7 +7379,7 @@ declare interface Props_36 {
|
|
|
7246
7379
|
graphID?: string;
|
|
7247
7380
|
}
|
|
7248
7381
|
|
|
7249
|
-
declare interface
|
|
7382
|
+
declare interface Props_38 {
|
|
7250
7383
|
dashboardID?: string;
|
|
7251
7384
|
dashboardLayout: DashboardLayoutDataType;
|
|
7252
7385
|
dataSettings: DataSettingsDataType;
|
|
@@ -7265,7 +7398,7 @@ declare interface Props_37 {
|
|
|
7265
7398
|
graphClassNames?: ClassNameObject;
|
|
7266
7399
|
}
|
|
7267
7400
|
|
|
7268
|
-
declare interface
|
|
7401
|
+
declare interface Props_39 {
|
|
7269
7402
|
dashboardID?: string;
|
|
7270
7403
|
dashboardLayout: PerformanceIntensiveDashboardLayoutDataType;
|
|
7271
7404
|
dataSettings: DataSettingsDataType;
|
|
@@ -7284,22 +7417,6 @@ declare interface Props_38 {
|
|
|
7284
7417
|
graphClassNames?: ClassNameObject;
|
|
7285
7418
|
}
|
|
7286
7419
|
|
|
7287
|
-
declare interface Props_39 {
|
|
7288
|
-
dashboardID?: string;
|
|
7289
|
-
dashboardLayout: DashboardFromWideToLongFormatLayoutDataType;
|
|
7290
|
-
dataSettings: DataSettingsWideToLongDataType;
|
|
7291
|
-
debugMode?: boolean;
|
|
7292
|
-
theme?: 'dark' | 'light';
|
|
7293
|
-
readableHeader?: {
|
|
7294
|
-
value: string;
|
|
7295
|
-
label: string;
|
|
7296
|
-
}[];
|
|
7297
|
-
dataFilters?: DataFilterDataType[];
|
|
7298
|
-
uiMode?: 'light' | 'normal';
|
|
7299
|
-
graphStyles?: StyleObject;
|
|
7300
|
-
graphClassNames?: ClassNameObject;
|
|
7301
|
-
}
|
|
7302
|
-
|
|
7303
7420
|
declare interface Props_4 {
|
|
7304
7421
|
/** Array of data objects */
|
|
7305
7422
|
data: DumbbellChartDataType[];
|
|
@@ -7428,6 +7545,22 @@ declare interface Props_4 {
|
|
|
7428
7545
|
}
|
|
7429
7546
|
|
|
7430
7547
|
declare interface Props_40 {
|
|
7548
|
+
dashboardID?: string;
|
|
7549
|
+
dashboardLayout: DashboardFromWideToLongFormatLayoutDataType;
|
|
7550
|
+
dataSettings: DataSettingsWideToLongDataType;
|
|
7551
|
+
debugMode?: boolean;
|
|
7552
|
+
theme?: 'dark' | 'light';
|
|
7553
|
+
readableHeader?: {
|
|
7554
|
+
value: string;
|
|
7555
|
+
label: string;
|
|
7556
|
+
}[];
|
|
7557
|
+
dataFilters?: DataFilterDataType[];
|
|
7558
|
+
uiMode?: 'light' | 'normal';
|
|
7559
|
+
graphStyles?: StyleObject;
|
|
7560
|
+
graphClassNames?: ClassNameObject;
|
|
7561
|
+
}
|
|
7562
|
+
|
|
7563
|
+
declare interface Props_41 {
|
|
7431
7564
|
graphSettings?: GraphSettingsDataType;
|
|
7432
7565
|
readableHeader?: {
|
|
7433
7566
|
value: string;
|
|
@@ -7451,14 +7584,14 @@ declare interface Props_40 {
|
|
|
7451
7584
|
updateFilters?: (_d: string) => void;
|
|
7452
7585
|
}
|
|
7453
7586
|
|
|
7454
|
-
declare interface
|
|
7587
|
+
declare interface Props_42 {
|
|
7455
7588
|
graphSettings?: GraphSettingsDataType;
|
|
7456
7589
|
graphType: GeoHubGraphType;
|
|
7457
7590
|
debugMode?: boolean;
|
|
7458
7591
|
uiMode?: 'light' | 'normal';
|
|
7459
7592
|
}
|
|
7460
7593
|
|
|
7461
|
-
declare interface
|
|
7594
|
+
declare interface Props_43 {
|
|
7462
7595
|
graphSettings?: GraphSettingsDataType;
|
|
7463
7596
|
readableHeader?: {
|
|
7464
7597
|
value: string;
|
|
@@ -7482,7 +7615,7 @@ declare interface Props_42 {
|
|
|
7482
7615
|
updateFilters?: (_d: string) => void;
|
|
7483
7616
|
}
|
|
7484
7617
|
|
|
7485
|
-
declare interface
|
|
7618
|
+
declare interface Props_44 {
|
|
7486
7619
|
noOfColumns?: number;
|
|
7487
7620
|
columnGridBy: string;
|
|
7488
7621
|
graphSettings?: GraphSettingsDataType;
|
|
@@ -7510,7 +7643,7 @@ declare interface Props_43 {
|
|
|
7510
7643
|
theme?: 'dark' | 'light';
|
|
7511
7644
|
}
|
|
7512
7645
|
|
|
7513
|
-
declare interface
|
|
7646
|
+
declare interface Props_45 {
|
|
7514
7647
|
/** Defines if the information is shown as overlay or on the side */
|
|
7515
7648
|
mode?: 'overlay' | 'side';
|
|
7516
7649
|
/** Defines the width of the info section */
|
|
@@ -7525,7 +7658,7 @@ declare interface Props_44 {
|
|
|
7525
7658
|
infoBackgroundColor?: string;
|
|
7526
7659
|
}
|
|
7527
7660
|
|
|
7528
|
-
declare interface
|
|
7661
|
+
declare interface Props_46 {
|
|
7529
7662
|
/** Defines if the information is shown as overlay or on the side */
|
|
7530
7663
|
mode?: 'overlay' | 'side';
|
|
7531
7664
|
/** Defines the width of the info section */
|
|
@@ -7540,20 +7673,16 @@ declare interface Props_45 {
|
|
|
7540
7673
|
infoBackgroundColor?: string;
|
|
7541
7674
|
}
|
|
7542
7675
|
|
|
7543
|
-
declare interface Props_46 {
|
|
7544
|
-
config: string | ConfigObject;
|
|
7545
|
-
}
|
|
7546
|
-
|
|
7547
7676
|
declare interface Props_47 {
|
|
7548
|
-
config: string |
|
|
7677
|
+
config: string | ConfigObject;
|
|
7549
7678
|
}
|
|
7550
7679
|
|
|
7551
7680
|
declare interface Props_48 {
|
|
7552
|
-
config: string |
|
|
7681
|
+
config: string | ConfigObject_2;
|
|
7553
7682
|
}
|
|
7554
7683
|
|
|
7555
7684
|
declare interface Props_49 {
|
|
7556
|
-
config: string |
|
|
7685
|
+
config: string | ConfigObject_3;
|
|
7557
7686
|
}
|
|
7558
7687
|
|
|
7559
7688
|
declare interface Props_5 {
|
|
@@ -7656,18 +7785,22 @@ declare interface Props_5 {
|
|
|
7656
7785
|
}
|
|
7657
7786
|
|
|
7658
7787
|
declare interface Props_50 {
|
|
7659
|
-
config: string |
|
|
7788
|
+
config: string | ConfigObject_4;
|
|
7660
7789
|
}
|
|
7661
7790
|
|
|
7662
7791
|
declare interface Props_51 {
|
|
7663
|
-
config: string |
|
|
7792
|
+
config: string | ConfigObject_5;
|
|
7664
7793
|
}
|
|
7665
7794
|
|
|
7666
7795
|
declare interface Props_52 {
|
|
7667
|
-
config: string |
|
|
7796
|
+
config: string | ConfigObject_6;
|
|
7668
7797
|
}
|
|
7669
7798
|
|
|
7670
7799
|
declare interface Props_53 {
|
|
7800
|
+
config: string | ConfigObject_7;
|
|
7801
|
+
}
|
|
7802
|
+
|
|
7803
|
+
declare interface Props_54 {
|
|
7671
7804
|
buttonContent?: string | JSX_2.Element;
|
|
7672
7805
|
buttonType?: 'primary' | 'primary-without-icon' | 'secondary' | 'secondary-without-icon' | 'tertiary';
|
|
7673
7806
|
csvData: any;
|
|
@@ -7679,7 +7812,7 @@ declare interface Props_53 {
|
|
|
7679
7812
|
className?: string;
|
|
7680
7813
|
}
|
|
7681
7814
|
|
|
7682
|
-
declare interface
|
|
7815
|
+
declare interface Props_55 {
|
|
7683
7816
|
buttonContent?: string | JSX_2.Element;
|
|
7684
7817
|
buttonType?: 'primary' | 'primary-without-icon' | 'secondary' | 'secondary-without-icon' | 'tertiary';
|
|
7685
7818
|
nodeID: string | RefObject<HTMLDivElement | null>;
|
|
@@ -7688,7 +7821,7 @@ declare interface Props_54 {
|
|
|
7688
7821
|
className?: string;
|
|
7689
7822
|
}
|
|
7690
7823
|
|
|
7691
|
-
declare interface
|
|
7824
|
+
declare interface Props_56 {
|
|
7692
7825
|
buttonContent?: string | JSX_2.Element;
|
|
7693
7826
|
buttonType?: 'primary' | 'primary-without-icon' | 'secondary' | 'secondary-without-icon' | 'tertiary';
|
|
7694
7827
|
nodeID: string | HTMLElement;
|
|
@@ -7697,7 +7830,7 @@ declare interface Props_55 {
|
|
|
7697
7830
|
className?: string;
|
|
7698
7831
|
}
|
|
7699
7832
|
|
|
7700
|
-
declare interface
|
|
7833
|
+
declare interface Props_57 {
|
|
7701
7834
|
buttonContent?: string | JSX_2.Element;
|
|
7702
7835
|
buttonType?: 'primary' | 'primary-without-icon' | 'secondary' | 'secondary-without-icon' | 'tertiary';
|
|
7703
7836
|
csvData: any;
|
|
@@ -7708,7 +7841,7 @@ declare interface Props_56 {
|
|
|
7708
7841
|
className?: string;
|
|
7709
7842
|
}
|
|
7710
7843
|
|
|
7711
|
-
declare interface
|
|
7844
|
+
declare interface Props_58 {
|
|
7712
7845
|
text: string;
|
|
7713
7846
|
successMessage?: string;
|
|
7714
7847
|
buttonText?: string;
|
|
@@ -7716,7 +7849,7 @@ declare interface Props_57 {
|
|
|
7716
7849
|
className?: string;
|
|
7717
7850
|
}
|
|
7718
7851
|
|
|
7719
|
-
declare interface
|
|
7852
|
+
declare interface Props_59 {
|
|
7720
7853
|
colors: string[];
|
|
7721
7854
|
colorDomain: (string | number)[];
|
|
7722
7855
|
dashedLines?: (string | number)[];
|
|
@@ -7728,17 +7861,6 @@ declare interface Props_58 {
|
|
|
7728
7861
|
className?: string;
|
|
7729
7862
|
}
|
|
7730
7863
|
|
|
7731
|
-
declare interface Props_59 {
|
|
7732
|
-
colors: string[];
|
|
7733
|
-
colorDomain: (string | number)[];
|
|
7734
|
-
colorLegendTitle?: string;
|
|
7735
|
-
showNAColor: boolean;
|
|
7736
|
-
setSelectedColor: (_d?: string) => void;
|
|
7737
|
-
width?: number;
|
|
7738
|
-
isCenter?: boolean;
|
|
7739
|
-
className?: string;
|
|
7740
|
-
}
|
|
7741
|
-
|
|
7742
7864
|
declare interface Props_6 {
|
|
7743
7865
|
/** Array of data objects */
|
|
7744
7866
|
data: DualAxisLineChartDataType[];
|
|
@@ -7836,13 +7958,24 @@ declare interface Props_6 {
|
|
|
7836
7958
|
|
|
7837
7959
|
declare interface Props_60 {
|
|
7838
7960
|
colors: string[];
|
|
7839
|
-
colorDomain: number[];
|
|
7961
|
+
colorDomain: (string | number)[];
|
|
7840
7962
|
colorLegendTitle?: string;
|
|
7963
|
+
showNAColor: boolean;
|
|
7964
|
+
setSelectedColor: (_d?: string) => void;
|
|
7841
7965
|
width?: number;
|
|
7966
|
+
isCenter?: boolean;
|
|
7842
7967
|
className?: string;
|
|
7843
7968
|
}
|
|
7844
7969
|
|
|
7845
7970
|
declare interface Props_61 {
|
|
7971
|
+
colors: string[];
|
|
7972
|
+
colorDomain: number[];
|
|
7973
|
+
colorLegendTitle?: string;
|
|
7974
|
+
width?: number;
|
|
7975
|
+
className?: string;
|
|
7976
|
+
}
|
|
7977
|
+
|
|
7978
|
+
declare interface Props_62 {
|
|
7846
7979
|
colors: string[];
|
|
7847
7980
|
colorDomain: number[];
|
|
7848
7981
|
colorLegendTitle?: string;
|
|
@@ -7853,7 +7986,7 @@ declare interface Props_61 {
|
|
|
7853
7986
|
showNAColor: boolean;
|
|
7854
7987
|
}
|
|
7855
7988
|
|
|
7856
|
-
declare interface
|
|
7989
|
+
declare interface Props_63 {
|
|
7857
7990
|
footNote?: string | React.ReactNode;
|
|
7858
7991
|
sources?: SourcesDataType[];
|
|
7859
7992
|
width?: number;
|
|
@@ -7867,7 +8000,7 @@ declare interface Props_62 {
|
|
|
7867
8000
|
};
|
|
7868
8001
|
}
|
|
7869
8002
|
|
|
7870
|
-
declare interface
|
|
8003
|
+
declare interface Props_64 {
|
|
7871
8004
|
graphTitle?: string | React.ReactNode;
|
|
7872
8005
|
graphDescription?: string | React.ReactNode;
|
|
7873
8006
|
width?: number;
|
|
@@ -7884,19 +8017,19 @@ declare interface Props_63 {
|
|
|
7884
8017
|
};
|
|
7885
8018
|
}
|
|
7886
8019
|
|
|
7887
|
-
declare interface
|
|
8020
|
+
declare interface Props_65 {
|
|
7888
8021
|
text: string | default_2.ReactNode;
|
|
7889
8022
|
style?: default_2.CSSProperties;
|
|
7890
8023
|
className?: string;
|
|
7891
8024
|
}
|
|
7892
8025
|
|
|
7893
|
-
declare interface
|
|
8026
|
+
declare interface Props_66 {
|
|
7894
8027
|
text: string | default_2.ReactNode;
|
|
7895
8028
|
style?: default_2.CSSProperties;
|
|
7896
8029
|
className?: string;
|
|
7897
8030
|
}
|
|
7898
8031
|
|
|
7899
|
-
declare interface
|
|
8032
|
+
declare interface Props_67 {
|
|
7900
8033
|
text: string | default_2.ReactNode;
|
|
7901
8034
|
isDashboard?: boolean;
|
|
7902
8035
|
style?: default_2.CSSProperties;
|
|
@@ -8234,7 +8367,7 @@ declare interface Props_9 {
|
|
|
8234
8367
|
graphID?: string;
|
|
8235
8368
|
}
|
|
8236
8369
|
|
|
8237
|
-
export declare function RadarChart(props:
|
|
8370
|
+
export declare function RadarChart(props: Props_37): JSX.Element;
|
|
8238
8371
|
|
|
8239
8372
|
declare interface RadarChartDataType {
|
|
8240
8373
|
values: number[];
|
|
@@ -8272,7 +8405,7 @@ declare interface ReferenceDataType {
|
|
|
8272
8405
|
*/
|
|
8273
8406
|
export declare function removeOutliers(data: number[], outlierThreshold?: number): number[];
|
|
8274
8407
|
|
|
8275
|
-
export declare function SankeyChart(props:
|
|
8408
|
+
export declare function SankeyChart(props: Props_36): JSX.Element;
|
|
8276
8409
|
|
|
8277
8410
|
declare interface SankeyDataType {
|
|
8278
8411
|
source: string | number;
|
|
@@ -8283,7 +8416,7 @@ declare interface SankeyDataType {
|
|
|
8283
8416
|
|
|
8284
8417
|
declare type ScaleDataType = 'categorical' | 'linear' | 'threshold';
|
|
8285
8418
|
|
|
8286
|
-
export declare function ScatterPlot(props:
|
|
8419
|
+
export declare function ScatterPlot(props: Props_21): JSX.Element;
|
|
8287
8420
|
|
|
8288
8421
|
declare interface ScatterPlotDataType {
|
|
8289
8422
|
x?: number | null;
|
|
@@ -8296,7 +8429,7 @@ declare interface ScatterPlotDataType {
|
|
|
8296
8429
|
}
|
|
8297
8430
|
|
|
8298
8431
|
/** ScrollStory is a scrollytelling container component that reveals content step-by-step as the user scrolls through the page. This does not include GeoHub maps and 3-D graph; for those please use `PerformanceIntensiveScrollStory`. */
|
|
8299
|
-
export declare function ScrollStory(props:
|
|
8432
|
+
export declare function ScrollStory(props: Props_45): JSX.Element;
|
|
8300
8433
|
|
|
8301
8434
|
declare interface SectionsDataType {
|
|
8302
8435
|
graphSettings?: GraphSettingsDataType;
|
|
@@ -8319,19 +8452,19 @@ export declare function SimpleBarGraph(props: Props): JSX.Element;
|
|
|
8319
8452
|
|
|
8320
8453
|
export declare function SimpleLineChart(props: Props_8): JSX.Element;
|
|
8321
8454
|
|
|
8322
|
-
export declare function SingleGraphDashboard(props:
|
|
8455
|
+
export declare function SingleGraphDashboard(props: Props_41): JSX.Element;
|
|
8323
8456
|
|
|
8324
|
-
export declare function SingleGraphDashboardFromConfig(props:
|
|
8457
|
+
export declare function SingleGraphDashboardFromConfig(props: Props_50): JSX.Element;
|
|
8325
8458
|
|
|
8326
|
-
export declare function SingleGraphDashboardGeoHubMaps(props:
|
|
8459
|
+
export declare function SingleGraphDashboardGeoHubMaps(props: Props_42): JSX.Element;
|
|
8327
8460
|
|
|
8328
|
-
export declare function SingleGraphDashboardGeoHubMapsFromConfig(props:
|
|
8461
|
+
export declare function SingleGraphDashboardGeoHubMapsFromConfig(props: Props_51): JSX.Element;
|
|
8329
8462
|
|
|
8330
|
-
export declare function SingleGraphDashboardThreeDGraphs(props:
|
|
8463
|
+
export declare function SingleGraphDashboardThreeDGraphs(props: Props_43): JSX.Element;
|
|
8331
8464
|
|
|
8332
|
-
export declare function SingleGraphDashboardThreeDGraphsFromConfig(props:
|
|
8465
|
+
export declare function SingleGraphDashboardThreeDGraphsFromConfig(props: Props_52): JSX.Element;
|
|
8333
8466
|
|
|
8334
|
-
export declare function SlopeChart(props:
|
|
8467
|
+
export declare function SlopeChart(props: Props_22): JSX.Element;
|
|
8335
8468
|
|
|
8336
8469
|
declare interface SlopeChartDataType {
|
|
8337
8470
|
y1: number;
|
|
@@ -8487,14 +8620,14 @@ declare interface StackedBarChartProps {
|
|
|
8487
8620
|
|
|
8488
8621
|
export declare function StackedBarGraph(props: StackedBarChartProps): JSX.Element;
|
|
8489
8622
|
|
|
8490
|
-
export declare function StatCardFromData(props:
|
|
8623
|
+
export declare function StatCardFromData(props: Props_26): JSX.Element;
|
|
8491
8624
|
|
|
8492
8625
|
declare type StatCardsFromDataSheetDataType = {
|
|
8493
8626
|
value: number | string;
|
|
8494
8627
|
data?: object;
|
|
8495
8628
|
};
|
|
8496
8629
|
|
|
8497
|
-
export declare function StripChart(props:
|
|
8630
|
+
export declare function StripChart(props: Props_32): JSX.Element;
|
|
8498
8631
|
|
|
8499
8632
|
declare interface StripChartDataType {
|
|
8500
8633
|
label: string | number;
|
|
@@ -8534,14 +8667,14 @@ declare interface StyleObject {
|
|
|
8534
8667
|
*/
|
|
8535
8668
|
export declare function svgDownload(node: HTMLElement, filename: string): void;
|
|
8536
8669
|
|
|
8537
|
-
export declare function SVGDownloadButton(props:
|
|
8670
|
+
export declare function SVGDownloadButton(props: Props_56): JSX.Element;
|
|
8538
8671
|
|
|
8539
8672
|
/** For using these maps you will have to install [`three`](https://threejs.org/manual/) and [react-globe.gl](https://www.npmjs.com/package/react-globe.gl) package to your project */
|
|
8540
|
-
export declare function ThreeDGlobe(props:
|
|
8673
|
+
export declare function ThreeDGlobe(props: Props_17): JSX.Element;
|
|
8541
8674
|
|
|
8542
8675
|
declare type ThreeDGraphType = 'threeDGlobe';
|
|
8543
8676
|
|
|
8544
|
-
export declare function ThresholdColorLegendWithMouseOver(props:
|
|
8677
|
+
export declare function ThresholdColorLegendWithMouseOver(props: Props_62): JSX.Element;
|
|
8545
8678
|
|
|
8546
8679
|
declare interface TimelineDataType {
|
|
8547
8680
|
autoplay: boolean;
|
|
@@ -8696,9 +8829,9 @@ declare interface TreeMapDataType {
|
|
|
8696
8829
|
data?: object;
|
|
8697
8830
|
}
|
|
8698
8831
|
|
|
8699
|
-
export declare function TreeMapGraph(props:
|
|
8832
|
+
export declare function TreeMapGraph(props: Props_27): JSX.Element;
|
|
8700
8833
|
|
|
8701
|
-
export declare function UnitChart(props:
|
|
8834
|
+
export declare function UnitChart(props: Props_28): JSX.Element | null;
|
|
8702
8835
|
|
|
8703
8836
|
declare interface UnitChartDataType {
|
|
8704
8837
|
label: number | string;
|