@undp/data-viz 2.4.1 → 2.5.1
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/AreaChart.cjs +1 -1
- package/dist/AreaChart.cjs.map +1 -1
- package/dist/AreaChart.d.ts +11 -9
- package/dist/AreaChart.js +320 -322
- package/dist/AreaChart.js.map +1 -1
- package/dist/BarGraph.cjs +1 -1
- package/dist/BarGraph.cjs.map +1 -1
- package/dist/BarGraph.d.ts +15 -25
- package/dist/BarGraph.js +1694 -1694
- package/dist/BarGraph.js.map +1 -1
- package/dist/BasicStatCard.cjs +1 -1
- package/dist/BasicStatCard.cjs.map +1 -1
- package/dist/BasicStatCard.d.ts +13 -9
- package/dist/BasicStatCard.js +79 -81
- package/dist/BasicStatCard.js.map +1 -1
- package/dist/BeeSwarmChart.cjs +1 -1
- package/dist/BeeSwarmChart.cjs.map +1 -1
- package/dist/BeeSwarmChart.d.ts +11 -9
- package/dist/BeeSwarmChart.js +335 -336
- package/dist/BeeSwarmChart.js.map +1 -1
- package/dist/BiVariateChoroplethMap.cjs +1 -1
- package/dist/BiVariateChoroplethMap.cjs.map +1 -1
- package/dist/BiVariateChoroplethMap.d.ts +13 -3
- package/dist/BiVariateChoroplethMap.js +309 -304
- package/dist/BiVariateChoroplethMap.js.map +1 -1
- package/dist/BulletChart.cjs +1 -1
- package/dist/BulletChart.cjs.map +1 -1
- package/dist/BulletChart.d.ts +11 -5
- package/dist/BulletChart.js +560 -559
- package/dist/BulletChart.js.map +1 -1
- package/dist/ButterflyChart.cjs +1 -1
- package/dist/ButterflyChart.cjs.map +1 -1
- package/dist/ButterflyChart.d.ts +11 -9
- package/dist/ButterflyChart.js +348 -350
- package/dist/ButterflyChart.js.map +1 -1
- package/dist/ChoroplethMap.cjs +1 -1
- package/dist/ChoroplethMap.cjs.map +1 -1
- package/dist/ChoroplethMap.d.ts +11 -3
- package/dist/ChoroplethMap.js +314 -311
- package/dist/ChoroplethMap.js.map +1 -1
- package/dist/CirclePackingGraph.cjs +1 -1
- package/dist/CirclePackingGraph.d.ts +11 -9
- package/dist/CirclePackingGraph.js +1 -1
- package/dist/DataCards.cjs +1 -1
- package/dist/DataCards.d.ts +1 -1
- package/dist/DataCards.js +1 -1
- package/dist/DataTable.cjs +1 -1
- package/dist/DataTable.cjs.map +1 -1
- package/dist/DataTable.d.ts +4 -5
- package/dist/DataTable.js +114 -116
- package/dist/DataTable.js.map +1 -1
- package/dist/{DetailsModal-jmmKRMRM.cjs → DetailsModal-Du8Fr1QD.cjs} +2 -2
- package/dist/{DetailsModal-jmmKRMRM.cjs.map → DetailsModal-Du8Fr1QD.cjs.map} +1 -1
- package/dist/{DetailsModal-B2XBWR7w.js → DetailsModal-GqEbGHY2.js} +2 -2
- package/dist/{DetailsModal-B2XBWR7w.js.map → DetailsModal-GqEbGHY2.js.map} +1 -1
- package/dist/DifferenceLineChart.cjs +1 -1
- package/dist/DifferenceLineChart.cjs.map +1 -1
- package/dist/DifferenceLineChart.d.ts +11 -9
- package/dist/DifferenceLineChart.js +502 -504
- package/dist/DifferenceLineChart.js.map +1 -1
- package/dist/DonutChart.cjs +1 -1
- package/dist/DonutChart.cjs.map +1 -1
- package/dist/DonutChart.d.ts +14 -9
- package/dist/DonutChart.js +174 -179
- package/dist/DonutChart.js.map +1 -1
- package/dist/DotDensityMap.cjs +1 -1
- package/dist/DotDensityMap.cjs.map +1 -1
- package/dist/DotDensityMap.d.ts +1 -1
- package/dist/DotDensityMap.js +270 -267
- package/dist/DotDensityMap.js.map +1 -1
- package/dist/DualAxisLineChart.cjs +1 -1
- package/dist/DualAxisLineChart.cjs.map +1 -1
- package/dist/DualAxisLineChart.d.ts +13 -9
- package/dist/DualAxisLineChart.js +341 -351
- package/dist/DualAxisLineChart.js.map +1 -1
- package/dist/DumbbellChart.cjs +1 -1
- package/dist/DumbbellChart.cjs.map +1 -1
- package/dist/DumbbellChart.d.ts +11 -9
- package/dist/DumbbellChart.js +592 -593
- package/dist/DumbbellChart.js.map +1 -1
- package/dist/GeoHubCompareMaps.cjs +1 -1
- package/dist/GeoHubCompareMaps.d.ts +1 -1
- package/dist/GeoHubCompareMaps.js +1 -1
- package/dist/GeoHubMap.cjs +1 -1
- package/dist/GeoHubMap.d.ts +1 -1
- package/dist/GeoHubMap.js +1 -1
- package/dist/GeoHubMapWithLayerSelection.cjs +1 -1
- package/dist/GeoHubMapWithLayerSelection.d.ts +1 -1
- package/dist/GeoHubMapWithLayerSelection.js +1 -1
- package/dist/GraphEl-BgkDbq50.cjs +2 -0
- package/dist/GraphEl-BgkDbq50.cjs.map +1 -0
- package/dist/GraphEl-Ch0uAeZw.js +1830 -0
- package/dist/GraphEl-Ch0uAeZw.js.map +1 -0
- package/dist/GriddedGraphs.cjs +1 -1
- package/dist/GriddedGraphs.d.ts +29 -16
- package/dist/GriddedGraphs.js +1 -1
- package/dist/GriddedGraphsFromConfig.d.ts +29 -16
- package/dist/HeatMap.cjs +1 -1
- package/dist/HeatMap.cjs.map +1 -1
- package/dist/HeatMap.d.ts +11 -9
- package/dist/HeatMap.js +203 -205
- package/dist/HeatMap.js.map +1 -1
- package/dist/Histogram.cjs +1 -1
- package/dist/Histogram.cjs.map +1 -1
- package/dist/Histogram.d.ts +11 -5
- package/dist/Histogram.js +88 -89
- package/dist/Histogram.js.map +1 -1
- package/dist/HybridMap.cjs +1 -1
- package/dist/HybridMap.cjs.map +1 -1
- package/dist/HybridMap.d.ts +11 -3
- package/dist/HybridMap.js +339 -336
- package/dist/HybridMap.js.map +1 -1
- package/dist/ImageDownloadButton.cjs +1 -1
- package/dist/ImageDownloadButton.js +1 -1
- package/dist/LineChartWithConfidenceInterval.cjs +1 -1
- package/dist/LineChartWithConfidenceInterval.cjs.map +1 -1
- package/dist/LineChartWithConfidenceInterval.d.ts +11 -9
- package/dist/LineChartWithConfidenceInterval.js +393 -395
- package/dist/LineChartWithConfidenceInterval.js.map +1 -1
- package/dist/LinearColorLegend.cjs +1 -1
- package/dist/LinearColorLegend.js +1 -1
- package/dist/MultiGraphDashboard.d.ts +29 -16
- package/dist/MultiGraphDashboardFromConfig.d.ts +29 -16
- package/dist/MultiGraphDashboardWideToLongFormat.d.ts +1 -1
- package/dist/MultiGraphDashboardWideToLongFormatFromConfig.d.ts +1 -1
- package/dist/MultiLineAltChart.cjs +1 -1
- package/dist/MultiLineAltChart.cjs.map +1 -1
- package/dist/MultiLineAltChart.d.ts +11 -9
- package/dist/MultiLineAltChart.js +411 -413
- package/dist/MultiLineAltChart.js.map +1 -1
- package/dist/MultiLineChart.cjs +1 -1
- package/dist/MultiLineChart.cjs.map +1 -1
- package/dist/MultiLineChart.d.ts +11 -9
- package/dist/MultiLineChart.js +438 -440
- package/dist/MultiLineChart.js.map +1 -1
- package/dist/ParetoChart.cjs +1 -1
- package/dist/ParetoChart.cjs.map +1 -1
- package/dist/ParetoChart.d.ts +13 -13
- package/dist/ParetoChart.js +347 -355
- package/dist/ParetoChart.js.map +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboard.d.ts +29 -16
- package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.d.ts +29 -16
- package/dist/PerformanceIntensiveScrollStory.d.ts +29 -16
- package/dist/RadarChart.cjs +1 -1
- package/dist/RadarChart.cjs.map +1 -1
- package/dist/RadarChart.d.ts +11 -5
- package/dist/RadarChart.js +213 -213
- package/dist/RadarChart.js.map +1 -1
- package/dist/SankeyChart.cjs +1 -1
- package/dist/SankeyChart.cjs.map +1 -1
- package/dist/SankeyChart.d.ts +11 -9
- package/dist/SankeyChart.js +448 -450
- package/dist/SankeyChart.js.map +1 -1
- package/dist/ScatterPlot.cjs +1 -1
- package/dist/ScatterPlot.cjs.map +1 -1
- package/dist/ScatterPlot.d.ts +15 -13
- package/dist/ScatterPlot.js +477 -483
- package/dist/ScatterPlot.js.map +1 -1
- package/dist/ScrollStory.d.ts +29 -16
- package/dist/SimpleLineChart.cjs +1 -1
- package/dist/SimpleLineChart.cjs.map +1 -1
- package/dist/SimpleLineChart.d.ts +11 -9
- package/dist/SimpleLineChart.js +362 -364
- package/dist/SimpleLineChart.js.map +1 -1
- package/dist/SingleGraphDashboard.cjs +1 -1
- package/dist/SingleGraphDashboard.d.ts +29 -16
- package/dist/SingleGraphDashboard.js +1 -1
- package/dist/SingleGraphDashboardFromConfig.d.ts +29 -16
- package/dist/SingleGraphDashboardGeoHubMaps.d.ts +29 -16
- package/dist/SingleGraphDashboardGeoHubMapsFromConfig.d.ts +29 -16
- package/dist/SingleGraphDashboardThreeDGraphs.cjs +1 -1
- package/dist/SingleGraphDashboardThreeDGraphs.cjs.map +1 -1
- package/dist/SingleGraphDashboardThreeDGraphs.d.ts +29 -16
- package/dist/SingleGraphDashboardThreeDGraphs.js +40 -39
- package/dist/SingleGraphDashboardThreeDGraphs.js.map +1 -1
- package/dist/SingleGraphDashboardThreeDGraphsFromConfig.d.ts +29 -16
- package/dist/SlopeChart.cjs +1 -1
- package/dist/SlopeChart.d.ts +1 -1
- package/dist/SlopeChart.js +2 -2
- package/dist/SparkLine.cjs +1 -1
- package/dist/SparkLine.d.ts +1 -1
- package/dist/SparkLine.js +1 -1
- package/dist/StatCardFromData.cjs +1 -1
- package/dist/StatCardFromData.cjs.map +1 -1
- package/dist/StatCardFromData.d.ts +11 -9
- package/dist/StatCardFromData.js +113 -116
- package/dist/StatCardFromData.js.map +1 -1
- package/dist/StripChart.cjs +1 -1
- package/dist/StripChart.cjs.map +1 -1
- package/dist/StripChart.d.ts +11 -9
- package/dist/StripChart.js +434 -435
- package/dist/StripChart.js.map +1 -1
- package/dist/ThreeDGlobe.cjs +1 -1
- package/dist/ThreeDGlobe.cjs.map +1 -1
- package/dist/ThreeDGlobe.d.ts +11 -3
- package/dist/ThreeDGlobe.js +143 -143
- package/dist/ThreeDGlobe.js.map +1 -1
- package/dist/ThresholdColorLegendWithMouseOver.cjs +1 -1
- package/dist/ThresholdColorLegendWithMouseOver.js +1 -1
- package/dist/{Tooltip-Bj-s__cI.js → Tooltip-3EYDVa3w.js} +2 -2
- package/dist/{Tooltip-Bj-s__cI.js.map → Tooltip-3EYDVa3w.js.map} +1 -1
- package/dist/{Tooltip-Hr46paWP.cjs → Tooltip-C9F3uYG0.cjs} +2 -2
- package/dist/{Tooltip-Hr46paWP.cjs.map → Tooltip-C9F3uYG0.cjs.map} +1 -1
- package/dist/TreeMapGraph.cjs +1 -1
- package/dist/TreeMapGraph.cjs.map +1 -1
- package/dist/TreeMapGraph.d.ts +11 -9
- package/dist/TreeMapGraph.js +369 -371
- package/dist/TreeMapGraph.js.map +1 -1
- package/dist/Types.d.ts +29 -16
- package/dist/UnitChart.cjs +1 -1
- package/dist/UnitChart.cjs.map +1 -1
- package/dist/UnitChart.d.ts +11 -5
- package/dist/UnitChart.js +118 -119
- package/dist/UnitChart.js.map +1 -1
- package/dist/WaterfallChart.cjs +1 -1
- package/dist/WaterfallChart.cjs.map +1 -1
- package/dist/WaterfallChart.d.ts +11 -9
- package/dist/WaterfallChart.js +306 -308
- package/dist/WaterfallChart.js.map +1 -1
- package/dist/XTicksAndGridLines-B4UhDVyU.cjs +2 -0
- package/dist/XTicksAndGridLines-B4UhDVyU.cjs.map +1 -0
- package/dist/XTicksAndGridLines-CkYwVshF.js +40 -0
- package/dist/XTicksAndGridLines-CkYwVshF.js.map +1 -0
- package/dist/YTicksAndGridLines-BbujwxOB.js +40 -0
- package/dist/YTicksAndGridLines-BbujwxOB.js.map +1 -0
- package/dist/YTicksAndGridLines-sT3zdCs6.cjs +2 -0
- package/dist/YTicksAndGridLines-sT3zdCs6.cjs.map +1 -0
- package/dist/{imageDownload-Diofs_vY.js → imageDownload-BYsNEtMS.js} +11 -11
- package/dist/{imageDownload-Diofs_vY.js.map → imageDownload-BYsNEtMS.js.map} +1 -1
- package/dist/{imageDownload-61q6jyJW.cjs → imageDownload-CkMwA7Cw.cjs} +4 -4
- package/dist/{imageDownload-61q6jyJW.cjs.map → imageDownload-CkMwA7Cw.cjs.map} +1 -1
- package/dist/index-BPyj_6hG.js +375 -0
- package/dist/index-BPyj_6hG.js.map +1 -0
- package/dist/index-DuLvdHo2.cjs +2 -0
- package/dist/index-DuLvdHo2.cjs.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +108 -245
- package/dist/index.js +3 -3
- package/dist/numberFormattingFunction-BUUV_luR.js +28 -0
- package/dist/numberFormattingFunction-BUUV_luR.js.map +1 -0
- package/dist/numberFormattingFunction-u2iNHL_c.cjs +2 -0
- package/dist/numberFormattingFunction-u2iNHL_c.cjs.map +1 -0
- package/dist/{string2HTML-ZoGd08P_.cjs → string2HTML-30nfIm8R.cjs} +2 -2
- package/dist/{string2HTML-ZoGd08P_.cjs.map → string2HTML-30nfIm8R.cjs.map} +1 -1
- package/dist/{string2HTML-BrFperRM.js → string2HTML-DL-pInUB.js} +2 -2
- package/dist/{string2HTML-BrFperRM.js.map → string2HTML-DL-pInUB.js.map} +1 -1
- package/dist/style.css +1 -1
- package/dist/utils.cjs +1 -1
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +2 -2
- package/package.json +2 -2
- package/dist/GraphEl-B73N4RIA.js +0 -1906
- package/dist/GraphEl-B73N4RIA.js.map +0 -1
- package/dist/GraphEl-Lt1og0C-.cjs +0 -2
- package/dist/GraphEl-Lt1og0C-.cjs.map +0 -1
- package/dist/XTicksAndGridLines-C5DuC5oY.cjs +0 -2
- package/dist/XTicksAndGridLines-C5DuC5oY.cjs.map +0 -1
- package/dist/XTicksAndGridLines-gdbGX2rm.js +0 -39
- package/dist/XTicksAndGridLines-gdbGX2rm.js.map +0 -1
- package/dist/YTicksAndGridLines-CsNSq9W9.js +0 -39
- package/dist/YTicksAndGridLines-CsNSq9W9.js.map +0 -1
- package/dist/YTicksAndGridLines-DFjm8RCc.cjs +0 -2
- package/dist/YTicksAndGridLines-DFjm8RCc.cjs.map +0 -1
- package/dist/index-B0Awa_de.js +0 -377
- package/dist/index-B0Awa_de.js.map +0 -1
- package/dist/index-CP8cmNzt.cjs +0 -2
- package/dist/index-CP8cmNzt.cjs.map +0 -1
- package/dist/numberFormattingFunction-Cn9R7CM9.cjs +0 -2
- package/dist/numberFormattingFunction-Cn9R7CM9.cjs.map +0 -1
- package/dist/numberFormattingFunction-DqMf_v1m.js +0 -28
- package/dist/numberFormattingFunction-DqMf_v1m.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -660,6 +660,9 @@ declare interface DataTableColumnDataType {
|
|
|
660
660
|
align?: 'left' | 'right' | 'center';
|
|
661
661
|
suffix?: string;
|
|
662
662
|
prefix?: string;
|
|
663
|
+
locale?: string;
|
|
664
|
+
precision?: number;
|
|
665
|
+
padZeros?: boolean;
|
|
663
666
|
columnWidth?: number;
|
|
664
667
|
}
|
|
665
668
|
|
|
@@ -984,8 +987,6 @@ declare interface GraphSettingsDataType {
|
|
|
984
987
|
footNote?: string | React.ReactNode;
|
|
985
988
|
height?: number;
|
|
986
989
|
width?: number;
|
|
987
|
-
suffix?: string;
|
|
988
|
-
prefix?: string;
|
|
989
990
|
sources?: SourcesDataType[];
|
|
990
991
|
barPadding?: number;
|
|
991
992
|
showTicks?: boolean;
|
|
@@ -1015,7 +1016,14 @@ declare interface GraphSettingsDataType {
|
|
|
1015
1016
|
barColors?: [string, string];
|
|
1016
1017
|
centerGap?: number;
|
|
1017
1018
|
columnData?: DataTableColumnDataType[];
|
|
1018
|
-
mainText?: string
|
|
1019
|
+
mainText?: string | {
|
|
1020
|
+
label: string;
|
|
1021
|
+
suffix?: string;
|
|
1022
|
+
prefix?: string;
|
|
1023
|
+
locale?: string;
|
|
1024
|
+
padZeros?: boolean;
|
|
1025
|
+
precision?: number;
|
|
1026
|
+
} | ReactElement;
|
|
1019
1027
|
subNote?: string;
|
|
1020
1028
|
radius?: number;
|
|
1021
1029
|
strokeWidth?: number;
|
|
@@ -1171,16 +1179,6 @@ declare interface GraphSettingsDataType {
|
|
|
1171
1179
|
colorLegendColors?: string[];
|
|
1172
1180
|
colorLegendDomain?: string[];
|
|
1173
1181
|
barAxisTitle?: string;
|
|
1174
|
-
barSuffix?: string;
|
|
1175
|
-
barPrefix?: string;
|
|
1176
|
-
lineSuffix?: string;
|
|
1177
|
-
linePrefix?: string;
|
|
1178
|
-
xSuffix?: string;
|
|
1179
|
-
xPrefix?: string;
|
|
1180
|
-
ySuffix?: string;
|
|
1181
|
-
yPrefix?: string;
|
|
1182
|
-
lineSuffixes?: [string, string];
|
|
1183
|
-
linePrefixes?: [string, string];
|
|
1184
1182
|
allowDataDownloadOnDetail?: string | boolean;
|
|
1185
1183
|
noOfItemsInAPage?: number;
|
|
1186
1184
|
curveType?: CurveTypes;
|
|
@@ -1200,7 +1198,6 @@ declare interface GraphSettingsDataType {
|
|
|
1200
1198
|
measureBarWidthFactor?: number;
|
|
1201
1199
|
mapLegend?: string | React.ReactNode | MapLegendDataType[];
|
|
1202
1200
|
dimmedOpacity?: number;
|
|
1203
|
-
precision?: number;
|
|
1204
1201
|
customLayers?: CustomLayerDataType[];
|
|
1205
1202
|
dashedLines?: (string | number)[];
|
|
1206
1203
|
dashSettings?: string[];
|
|
@@ -1237,7 +1234,14 @@ declare interface GraphSettingsDataType {
|
|
|
1237
1234
|
showVoronoiTesselation?: boolean;
|
|
1238
1235
|
mapOverlay?: MapOverlayDataType;
|
|
1239
1236
|
useVoronoiInteraction?: boolean;
|
|
1240
|
-
|
|
1237
|
+
numberDisplayOptions?: NumberFormatOptions;
|
|
1238
|
+
leftLineNumberDisplayOptions?: NumberFormatOptions;
|
|
1239
|
+
rightLineNumberDisplayOptions?: NumberFormatOptions;
|
|
1240
|
+
barNumberDisplayOptions?: NumberFormatOptions;
|
|
1241
|
+
lineNumberDisplayOptions?: NumberFormatOptions;
|
|
1242
|
+
xNumberDisplayOptions?: NumberFormatOptions;
|
|
1243
|
+
yNumberDisplayOptions?: NumberFormatOptions;
|
|
1244
|
+
defaultColor?: string;
|
|
1241
1245
|
}
|
|
1242
1246
|
|
|
1243
1247
|
export declare function GraphTitle(props: Props_68): JSX.Element | null;
|
|
@@ -1301,10 +1305,6 @@ declare interface GroupedBarChartProps {
|
|
|
1301
1305
|
barPadding?: number;
|
|
1302
1306
|
/** Maximum thickness of bars */
|
|
1303
1307
|
maxBarThickness?: number;
|
|
1304
|
-
/** Prefix for values */
|
|
1305
|
-
prefix?: string;
|
|
1306
|
-
/** Suffix for values */
|
|
1307
|
-
suffix?: string;
|
|
1308
1308
|
/** Maximum value for the chart */
|
|
1309
1309
|
maxValue?: number;
|
|
1310
1310
|
/** Minimum value for the chart */
|
|
@@ -1339,10 +1339,8 @@ declare interface GroupedBarChartProps {
|
|
|
1339
1339
|
barAxisTitle?: string;
|
|
1340
1340
|
/** Defines how “NA” values should be displayed/labelled in the graph */
|
|
1341
1341
|
naLabel?: string;
|
|
1342
|
-
/**
|
|
1343
|
-
|
|
1344
|
-
/** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
|
|
1345
|
-
locale?: string;
|
|
1342
|
+
/** Configuration options for controlling number formatting, localization, prefixes/suffixes, precision, and zero padding. */
|
|
1343
|
+
numberDisplayOptions?: NumberFormatOptions;
|
|
1346
1344
|
/** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
|
|
1347
1345
|
customLayers?: CustomLayerDataType[];
|
|
1348
1346
|
/** Configures playback and slider controls for animating the chart over time. The data must have a key date for it to work properly. */
|
|
@@ -1458,7 +1456,7 @@ declare interface InfoBoxDataType {
|
|
|
1458
1456
|
description?: string | React.ReactNode;
|
|
1459
1457
|
}
|
|
1460
1458
|
|
|
1461
|
-
declare type Languages = 'en' | 'ar' | 'az' | 'bn' | 'cy' | 'he' | 'hi' | '
|
|
1459
|
+
declare type Languages = 'en' | 'ar' | 'az' | 'bn' | 'cy' | 'he' | 'hi' | 'ja' | 'ka' | 'km' | 'ko' | 'my' | 'ne' | 'zh' | 'custom';
|
|
1462
1460
|
|
|
1463
1461
|
declare type LightConfig = AmbientLightConfig | DirectionalLightConfig | PointLightConfig | SpotLightConfig;
|
|
1464
1462
|
|
|
@@ -1519,6 +1517,14 @@ declare interface MultiLineChartDataType {
|
|
|
1519
1517
|
data?: object;
|
|
1520
1518
|
}
|
|
1521
1519
|
|
|
1520
|
+
declare interface NumberFormatOptions {
|
|
1521
|
+
locale?: string;
|
|
1522
|
+
precision?: number;
|
|
1523
|
+
prefix?: string;
|
|
1524
|
+
suffix?: string;
|
|
1525
|
+
padZeros?: boolean;
|
|
1526
|
+
}
|
|
1527
|
+
|
|
1522
1528
|
/**
|
|
1523
1529
|
* Formats a number into a human-readable string, optionally with prefix/suffix
|
|
1524
1530
|
* and locale-aware formatting.
|
|
@@ -1529,7 +1535,7 @@ declare interface MultiLineChartDataType {
|
|
|
1529
1535
|
* - Prefix and suffix
|
|
1530
1536
|
* - NA fallback
|
|
1531
1537
|
*/
|
|
1532
|
-
export declare function numberFormattingFunction(value: number | string | undefined | null, naLabel?: string, precision?: number, prefix?: string, suffix?: string, locale?: string): string;
|
|
1538
|
+
export declare function numberFormattingFunction(value: number | string | undefined | null, naLabel?: string, precision?: number, prefix?: string, suffix?: string, locale?: string, padZeros?: boolean): string;
|
|
1533
1539
|
|
|
1534
1540
|
/**
|
|
1535
1541
|
* Represents a parameter to be embedded in a URL.
|
|
@@ -1642,10 +1648,6 @@ declare interface Props {
|
|
|
1642
1648
|
minBarThickness?: number;
|
|
1643
1649
|
/** Maximum number of bars shown in the graph */
|
|
1644
1650
|
maxNumberOfBars?: number;
|
|
1645
|
-
/** Prefix for values */
|
|
1646
|
-
prefix?: string;
|
|
1647
|
-
/** Suffix for values */
|
|
1648
|
-
suffix?: string;
|
|
1649
1651
|
/** Maximum value for the chart */
|
|
1650
1652
|
maxValue?: number;
|
|
1651
1653
|
/** Minimum value for the chart */
|
|
@@ -1684,12 +1686,10 @@ declare interface Props {
|
|
|
1684
1686
|
trackColor?: string;
|
|
1685
1687
|
/** Toggles if data point which are undefined or has value null are filtered out. */
|
|
1686
1688
|
filterNA?: boolean;
|
|
1689
|
+
/** Configuration options for controlling number formatting, localization, prefixes/suffixes, precision, and zero padding. */
|
|
1690
|
+
numberDisplayOptions?: NumberFormatOptions;
|
|
1687
1691
|
/** Toggles if the graph animates in when loaded. */
|
|
1688
1692
|
animate?: boolean | AnimateDataType;
|
|
1689
|
-
/** Specifies the number of decimal places to display in the value. */
|
|
1690
|
-
precision?: number;
|
|
1691
|
-
/** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
|
|
1692
|
-
locale?: string;
|
|
1693
1693
|
/** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
|
|
1694
1694
|
customLayers?: CustomLayerDataType[];
|
|
1695
1695
|
/** Configures playback and slider controls for animating the chart over time. The data must have a key date for it to work properly. */
|
|
@@ -1761,10 +1761,6 @@ declare interface Props_10 {
|
|
|
1761
1761
|
topMargin?: number;
|
|
1762
1762
|
/** Bottom margin of the graph */
|
|
1763
1763
|
bottomMargin?: number;
|
|
1764
|
-
/** Prefix for values */
|
|
1765
|
-
prefix?: string;
|
|
1766
|
-
/** Suffix for values */
|
|
1767
|
-
suffix?: string;
|
|
1768
1764
|
/** Maximum value for the chart */
|
|
1769
1765
|
maxValue?: number;
|
|
1770
1766
|
/** Minimum value for the chart */
|
|
@@ -1811,10 +1807,8 @@ declare interface Props_10 {
|
|
|
1811
1807
|
customHighlightAreaSettings?: CustomHighlightAreaSettingsDataType[];
|
|
1812
1808
|
/** Curve type for the line */
|
|
1813
1809
|
curveType?: CurveTypes;
|
|
1814
|
-
/**
|
|
1815
|
-
|
|
1816
|
-
/** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
|
|
1817
|
-
locale?: string;
|
|
1810
|
+
/** Configuration options for controlling number formatting, localization, prefixes/suffixes, precision, and zero padding. */
|
|
1811
|
+
numberDisplayOptions?: NumberFormatOptions;
|
|
1818
1812
|
/** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
|
|
1819
1813
|
customLayers?: CustomLayerDataType[];
|
|
1820
1814
|
/** Enable graph download option as png */
|
|
@@ -1878,10 +1872,6 @@ declare interface Props_11 {
|
|
|
1878
1872
|
topMargin?: number;
|
|
1879
1873
|
/** Bottom margin of the graph */
|
|
1880
1874
|
bottomMargin?: number;
|
|
1881
|
-
/** Prefix for values */
|
|
1882
|
-
prefix?: string;
|
|
1883
|
-
/** Suffix for values */
|
|
1884
|
-
suffix?: string;
|
|
1885
1875
|
/** Maximum value for the chart */
|
|
1886
1876
|
maxValue?: number;
|
|
1887
1877
|
/** Minimum value for the chart */
|
|
@@ -1918,10 +1908,8 @@ declare interface Props_11 {
|
|
|
1918
1908
|
customHighlightAreaSettings?: CustomHighlightAreaSettingsDataType[];
|
|
1919
1909
|
/** Curve type for the line */
|
|
1920
1910
|
curveType?: CurveTypes;
|
|
1921
|
-
/**
|
|
1922
|
-
|
|
1923
|
-
/** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
|
|
1924
|
-
locale?: string;
|
|
1911
|
+
/** Configuration options for controlling number formatting, localization, prefixes/suffixes, precision, and zero padding. */
|
|
1912
|
+
numberDisplayOptions?: NumberFormatOptions;
|
|
1925
1913
|
/** Defines how “NA” values should be displayed/labelled in the graph */
|
|
1926
1914
|
naLabel?: string;
|
|
1927
1915
|
/** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
|
|
@@ -2096,8 +2084,10 @@ declare interface Props_13 {
|
|
|
2096
2084
|
customLayers?: CustomLayerDataType[];
|
|
2097
2085
|
/** Configures playback and slider controls for animating the chart over time. The data must have a key date for it to work properly. */
|
|
2098
2086
|
timeline?: TimelineDataType;
|
|
2099
|
-
/**
|
|
2100
|
-
|
|
2087
|
+
/** Configuration options for controlling number formatting, localization, precision, and zero padding. */
|
|
2088
|
+
xNumberDisplayOptions?: Omit<NumberFormatOptions, 'suffix' | 'prefix'>;
|
|
2089
|
+
/** Configuration options for controlling number formatting, localization, precision, and zero padding. */
|
|
2090
|
+
yNumberDisplayOptions?: Omit<NumberFormatOptions, 'suffix' | 'prefix'>;
|
|
2101
2091
|
/** Enable graph download option as png */
|
|
2102
2092
|
graphDownload?: boolean;
|
|
2103
2093
|
/** Enable data download option as a csv */
|
|
@@ -2205,8 +2195,8 @@ declare interface Props_14 {
|
|
|
2205
2195
|
customLayers?: CustomLayerDataType[];
|
|
2206
2196
|
/** Configures playback and slider controls for animating the chart over time. The data must have a key date for it to work properly. */
|
|
2207
2197
|
timeline?: TimelineDataType;
|
|
2208
|
-
/**
|
|
2209
|
-
|
|
2198
|
+
/** Configuration options for controlling number formatting, localization, precision, and zero padding. */
|
|
2199
|
+
numberDisplayOptions?: Omit<NumberFormatOptions, 'suffix' | 'prefix'>;
|
|
2210
2200
|
/** Enable graph download option as png */
|
|
2211
2201
|
graphDownload?: boolean;
|
|
2212
2202
|
/** Enable data download option as a csv */
|
|
@@ -2435,8 +2425,8 @@ declare interface Props_16 {
|
|
|
2435
2425
|
mapProperty?: string;
|
|
2436
2426
|
/** Configures playback and slider controls for animating the chart over time. The data must have a key date for it to work properly. */
|
|
2437
2427
|
timeline?: TimelineDataType;
|
|
2438
|
-
/**
|
|
2439
|
-
|
|
2428
|
+
/** Configuration options for controlling number formatting, localization, precision, and zero padding. */
|
|
2429
|
+
numberDisplayOptions?: Omit<NumberFormatOptions, 'suffix' | 'prefix'>;
|
|
2440
2430
|
/** Enable graph download option as png */
|
|
2441
2431
|
graphDownload?: boolean;
|
|
2442
2432
|
/** Enable data download option as a csv */
|
|
@@ -2522,8 +2512,8 @@ declare interface Props_17 {
|
|
|
2522
2512
|
scaleType?: Exclude<ScaleDataType, 'linear'>;
|
|
2523
2513
|
/** Toggle visibility of color scale. */
|
|
2524
2514
|
showColorScale?: boolean;
|
|
2525
|
-
/**
|
|
2526
|
-
|
|
2515
|
+
/** Configuration options for controlling number formatting, localization, precision, and zero padding. */
|
|
2516
|
+
numberDisplayOptions?: Omit<NumberFormatOptions, 'suffix' | 'prefix'>;
|
|
2527
2517
|
/** Toggle if color scale is collapsed by default. */
|
|
2528
2518
|
collapseColorScaleByDefault?: boolean;
|
|
2529
2519
|
/** The max altitude of the atmosphere, in terms of globe radius units. */
|
|
@@ -2700,10 +2690,6 @@ declare interface Props_2 {
|
|
|
2700
2690
|
topMargin?: number;
|
|
2701
2691
|
/** Bottom margin of the graph */
|
|
2702
2692
|
bottomMargin?: number;
|
|
2703
|
-
/** Prefix for values */
|
|
2704
|
-
prefix?: string;
|
|
2705
|
-
/** Suffix for values */
|
|
2706
|
-
suffix?: string;
|
|
2707
2693
|
/** Maximum value mapped to the radius chart */
|
|
2708
2694
|
maxRadiusValue?: number;
|
|
2709
2695
|
/** If true, the graph will be rendered in a circle layout */
|
|
@@ -2722,10 +2708,8 @@ declare interface Props_2 {
|
|
|
2722
2708
|
highlightedDataPoints?: (string | number)[];
|
|
2723
2709
|
/** Defines the opacity of the non-highlighted data */
|
|
2724
2710
|
dimmedOpacity?: number;
|
|
2725
|
-
/**
|
|
2726
|
-
|
|
2727
|
-
/** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
|
|
2728
|
-
locale?: string;
|
|
2711
|
+
/** Configuration options for controlling number formatting, localization, prefixes/suffixes, precision, and zero padding. */
|
|
2712
|
+
numberDisplayOptions?: NumberFormatOptions;
|
|
2729
2713
|
/** Enable graph download option as png */
|
|
2730
2714
|
graphDownload?: boolean;
|
|
2731
2715
|
/** Enable data download option as a csv */
|
|
@@ -2817,6 +2801,8 @@ declare interface Props_21 {
|
|
|
2817
2801
|
colors?: string | string[];
|
|
2818
2802
|
/** Domain of colors for the graph */
|
|
2819
2803
|
colorDomain?: string[];
|
|
2804
|
+
/** Color for circle if the label doesn't exist in `colorDomain`. */
|
|
2805
|
+
defaultColor?: string;
|
|
2820
2806
|
/** Title for the color legend */
|
|
2821
2807
|
colorLegendTitle?: string;
|
|
2822
2808
|
/** Background color of the graph */
|
|
@@ -2843,14 +2829,6 @@ declare interface Props_21 {
|
|
|
2843
2829
|
topMargin?: number;
|
|
2844
2830
|
/** Bottom margin of the graph */
|
|
2845
2831
|
bottomMargin?: number;
|
|
2846
|
-
/** Prefix for values on x-axis */
|
|
2847
|
-
xPrefix?: string;
|
|
2848
|
-
/** Suffix for values on x-axis */
|
|
2849
|
-
xSuffix?: string;
|
|
2850
|
-
/** Prefix for values on y-axis */
|
|
2851
|
-
yPrefix?: string;
|
|
2852
|
-
/** Suffix for values on y-axis */
|
|
2853
|
-
ySuffix?: string;
|
|
2854
2832
|
/** Maximum value for the x-axis */
|
|
2855
2833
|
maxXValue?: number;
|
|
2856
2834
|
/** Minimum value for the x-axis */
|
|
@@ -2899,10 +2877,10 @@ declare interface Props_21 {
|
|
|
2899
2877
|
labelColor?: string;
|
|
2900
2878
|
/** Toggles if the graph animates in when loaded. */
|
|
2901
2879
|
animate?: boolean | AnimateDataType;
|
|
2902
|
-
/**
|
|
2903
|
-
|
|
2904
|
-
/**
|
|
2905
|
-
|
|
2880
|
+
/** Configuration options for controlling number formatting, localization, prefixes/suffixes, precision, and zero padding. */
|
|
2881
|
+
xNumberDisplayOptions?: NumberFormatOptions;
|
|
2882
|
+
/** Configuration options for controlling number formatting, localization, prefixes/suffixes, precision, and zero padding. */
|
|
2883
|
+
yNumberDisplayOptions?: NumberFormatOptions;
|
|
2906
2884
|
/** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
|
|
2907
2885
|
customLayers?: CustomLayerDataType[];
|
|
2908
2886
|
/** Configures playback and slider controls for animating the chart over time. The data must have a key date for it to work properly. */
|
|
@@ -3113,6 +3091,8 @@ declare interface Props_23 {
|
|
|
3113
3091
|
hideAxisLine?: boolean;
|
|
3114
3092
|
/** Toggle visibility of color scale. This is only applicable if the data props hae color parameter */
|
|
3115
3093
|
showColorScale?: boolean;
|
|
3094
|
+
/** Configuration options for controlling number formatting, localization, prefixes/suffixes, precision, and zero padding. */
|
|
3095
|
+
numberDisplayOptions?: Omit<NumberFormatOptions, 'suffix' | 'prefix'>;
|
|
3116
3096
|
/** Data points to highlight. Use the label value from data to highlight the data point */
|
|
3117
3097
|
highlightedDataPoints?: (string | number)[];
|
|
3118
3098
|
/** Defines the opacity of the non-highlighted data */
|
|
@@ -3129,10 +3109,6 @@ declare interface Props_23 {
|
|
|
3129
3109
|
animate?: boolean | AnimateDataType;
|
|
3130
3110
|
/** Configures playback and slider controls for animating the chart over time. The data must have a key date for it to work properly. */
|
|
3131
3111
|
timeline?: TimelineDataType;
|
|
3132
|
-
/** Specifies the number of decimal places to display in the value. */
|
|
3133
|
-
precision?: number;
|
|
3134
|
-
/** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
|
|
3135
|
-
locale?: string;
|
|
3136
3112
|
/** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
|
|
3137
3113
|
customLayers?: CustomLayerDataType[];
|
|
3138
3114
|
/** Enable graph download option as png */
|
|
@@ -3200,10 +3176,6 @@ declare interface Props_24 {
|
|
|
3200
3176
|
topMargin?: number;
|
|
3201
3177
|
/** Bottom margin of the graph */
|
|
3202
3178
|
bottomMargin?: number;
|
|
3203
|
-
/** Prefix for values */
|
|
3204
|
-
prefix?: string;
|
|
3205
|
-
/** Suffix for values */
|
|
3206
|
-
suffix?: string;
|
|
3207
3179
|
/** Maximum value for the chart */
|
|
3208
3180
|
maxValue?: number;
|
|
3209
3181
|
/** Minimum value for the chart */
|
|
@@ -3228,10 +3200,8 @@ declare interface Props_24 {
|
|
|
3228
3200
|
customHighlightAreaSettings?: CustomHighlightAreaSettingsDataType[];
|
|
3229
3201
|
/** Curve type for the line */
|
|
3230
3202
|
curveType?: CurveTypes;
|
|
3231
|
-
/**
|
|
3232
|
-
|
|
3233
|
-
/** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
|
|
3234
|
-
locale?: string;
|
|
3203
|
+
/** Configuration options for controlling number formatting, localization, prefixes/suffixes, precision, and zero padding. */
|
|
3204
|
+
numberDisplayOptions?: NumberFormatOptions;
|
|
3235
3205
|
/** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
|
|
3236
3206
|
customLayers?: CustomLayerDataType[];
|
|
3237
3207
|
/** Toggles if the graph animates in when loaded. */
|
|
@@ -3281,18 +3251,14 @@ declare interface Props_25 {
|
|
|
3281
3251
|
styles?: StyleObject;
|
|
3282
3252
|
/** Custom class names */
|
|
3283
3253
|
classNames?: ClassNameObject;
|
|
3284
|
-
/**
|
|
3285
|
-
|
|
3286
|
-
/**
|
|
3287
|
-
|
|
3288
|
-
/** Specifies the number of decimal places to display in the value. */
|
|
3289
|
-
precision?: number;
|
|
3254
|
+
/** Configuration options for controlling number formatting, localization, prefixes/suffixes, precision, and zero padding. */
|
|
3255
|
+
numberDisplayOptions?: NumberFormatOptions;
|
|
3256
|
+
/** Defines how “NA” values should be displayed/labelled in the graph */
|
|
3257
|
+
naLabel?: string;
|
|
3290
3258
|
/** Main text */
|
|
3291
3259
|
value: number | string;
|
|
3292
3260
|
/** Sub text next to main text */
|
|
3293
3261
|
year?: number | string;
|
|
3294
|
-
/** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
|
|
3295
|
-
locale?: string;
|
|
3296
3262
|
/** Language setting */
|
|
3297
3263
|
language?: Languages;
|
|
3298
3264
|
/** Color theme */
|
|
@@ -3332,22 +3298,16 @@ declare interface Props_26 {
|
|
|
3332
3298
|
styles?: StyleObject;
|
|
3333
3299
|
/** Custom class names */
|
|
3334
3300
|
classNames?: ClassNameObject;
|
|
3335
|
-
/** Prefix for values */
|
|
3336
|
-
prefix?: string;
|
|
3337
|
-
/** Suffix for values */
|
|
3338
|
-
suffix?: string;
|
|
3339
3301
|
/** Sub text next to main text */
|
|
3340
3302
|
year?: number | string;
|
|
3341
|
-
/**
|
|
3342
|
-
|
|
3303
|
+
/** Configuration options for controlling number formatting, localization, prefixes/suffixes, precision, and zero padding. */
|
|
3304
|
+
numberDisplayOptions?: NumberFormatOptions;
|
|
3343
3305
|
/** Defines how “NA” values should be displayed/labelled in the graph */
|
|
3344
3306
|
naLabel?: string;
|
|
3345
3307
|
/** Data points that need to counted for aggregation. */
|
|
3346
3308
|
countOnly?: (string | number)[];
|
|
3347
3309
|
/** Method for aggregating the data to show as a single number in the card. If the data type of value in data object is string then only count is applicable. */
|
|
3348
3310
|
aggregationMethod?: 'count' | 'max' | 'min' | 'average' | 'sum';
|
|
3349
|
-
/** Specifies the number of decimal places to display in the value. */
|
|
3350
|
-
precision?: number;
|
|
3351
3311
|
/** Language setting */
|
|
3352
3312
|
language?: Languages;
|
|
3353
3313
|
/** Color theme */
|
|
@@ -3400,10 +3360,6 @@ declare interface Props_27 {
|
|
|
3400
3360
|
/** Bottom margin of the graph */
|
|
3401
3361
|
bottomMargin?: number;
|
|
3402
3362
|
/** Maximum radius of the circle */
|
|
3403
|
-
/** Prefix for values */
|
|
3404
|
-
prefix?: string;
|
|
3405
|
-
/** Suffix for values */
|
|
3406
|
-
suffix?: string;
|
|
3407
3363
|
/** Toggle visibility of labels */
|
|
3408
3364
|
showLabels?: boolean;
|
|
3409
3365
|
/** Toggle visibility of values */
|
|
@@ -3418,10 +3374,8 @@ declare interface Props_27 {
|
|
|
3418
3374
|
dimmedOpacity?: number;
|
|
3419
3375
|
/** Toggles if the graph animates in when loaded. */
|
|
3420
3376
|
animate?: boolean | AnimateDataType;
|
|
3421
|
-
/**
|
|
3422
|
-
|
|
3423
|
-
/** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
|
|
3424
|
-
locale?: string;
|
|
3377
|
+
/** Configuration options for controlling number formatting, localization, prefixes/suffixes, precision, and zero padding. */
|
|
3378
|
+
numberDisplayOptions?: NumberFormatOptions;
|
|
3425
3379
|
/** Enable graph download option as png */
|
|
3426
3380
|
graphDownload?: boolean;
|
|
3427
3381
|
/** Enable data download option as a csv */
|
|
@@ -3491,16 +3445,14 @@ declare interface Props_28 {
|
|
|
3491
3445
|
animate?: boolean | AnimateDataType;
|
|
3492
3446
|
/** Toggle visibility of color scale */
|
|
3493
3447
|
showColorScale?: boolean;
|
|
3494
|
-
/**
|
|
3495
|
-
|
|
3448
|
+
/** Configuration options for controlling number formatting, localization, prefixes/suffixes, precision, and zero padding. */
|
|
3449
|
+
numberDisplayOptions?: NumberFormatOptions;
|
|
3496
3450
|
/** Defines how “NA” values should be displayed/labelled in the graph */
|
|
3497
3451
|
naLabel?: string;
|
|
3498
3452
|
/** Enable graph download option as png */
|
|
3499
3453
|
graphDownload?: boolean;
|
|
3500
3454
|
/** Enable data download option as a csv */
|
|
3501
3455
|
dataDownload?: boolean;
|
|
3502
|
-
/** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
|
|
3503
|
-
locale?: string;
|
|
3504
3456
|
/** Language setting */
|
|
3505
3457
|
language?: Languages;
|
|
3506
3458
|
/** Color theme */
|
|
@@ -3554,10 +3506,6 @@ declare interface Props_29 {
|
|
|
3554
3506
|
bottomMargin?: number;
|
|
3555
3507
|
/** Toggles the background to fill the container. This only works if the width of the graph is defined. */
|
|
3556
3508
|
fillContainer?: boolean;
|
|
3557
|
-
/** Prefix for values */
|
|
3558
|
-
prefix?: string;
|
|
3559
|
-
/** Suffix for values */
|
|
3560
|
-
suffix?: string;
|
|
3561
3509
|
/** Maximum value for the chart */
|
|
3562
3510
|
truncateBy?: number;
|
|
3563
3511
|
/** Reference values for comparison */
|
|
@@ -3577,10 +3525,8 @@ declare interface Props_29 {
|
|
|
3577
3525
|
animate?: boolean | AnimateDataType;
|
|
3578
3526
|
/** Domain for the colors in the cell. */
|
|
3579
3527
|
colorDomain: number[] | string[];
|
|
3580
|
-
/**
|
|
3581
|
-
|
|
3582
|
-
/** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
|
|
3583
|
-
locale?: string;
|
|
3528
|
+
/** Configuration options for controlling number formatting, localization, prefixes/suffixes, precision, and zero padding. */
|
|
3529
|
+
numberDisplayOptions?: NumberFormatOptions;
|
|
3584
3530
|
/** Defines how “NA” values should be displayed/labelled in the graph */
|
|
3585
3531
|
naLabel?: string;
|
|
3586
3532
|
/** Enable graph download option as png */
|
|
@@ -3640,10 +3586,6 @@ declare interface Props_3 {
|
|
|
3640
3586
|
padding?: string;
|
|
3641
3587
|
/** Radius of the donut chart */
|
|
3642
3588
|
radius?: number;
|
|
3643
|
-
/** Prefix for values */
|
|
3644
|
-
prefix?: string;
|
|
3645
|
-
/** Suffix for values */
|
|
3646
|
-
suffix?: string;
|
|
3647
3589
|
/** Toggle visibility of color scale. This is only applicable if the data props hae color parameter */
|
|
3648
3590
|
showColorScale?: boolean;
|
|
3649
3591
|
/** Max width of the color scale as a css property */
|
|
@@ -3659,11 +3601,12 @@ declare interface Props_3 {
|
|
|
3659
3601
|
label: string;
|
|
3660
3602
|
suffix?: string;
|
|
3661
3603
|
prefix?: string;
|
|
3604
|
+
locale?: string;
|
|
3605
|
+
padZeros?: boolean;
|
|
3606
|
+
precision?: number;
|
|
3662
3607
|
} | ReactElement;
|
|
3663
3608
|
/** Small text at the center of the donut chart */
|
|
3664
3609
|
subNote?: string;
|
|
3665
|
-
/** Specifies the number of decimal places to display in the value. */
|
|
3666
|
-
precision?: number;
|
|
3667
3610
|
/** Track color (i.e. the color of the donut chart's background) of the donut chart */
|
|
3668
3611
|
trackColor?: string;
|
|
3669
3612
|
/** Enable graph download option as png */
|
|
@@ -3672,8 +3615,8 @@ declare interface Props_3 {
|
|
|
3672
3615
|
dataDownload?: boolean;
|
|
3673
3616
|
/** Reset selection on double-click. Only applicable when used in a dashboard context with filters. */
|
|
3674
3617
|
resetSelectionOnDoubleClick?: boolean;
|
|
3675
|
-
/**
|
|
3676
|
-
|
|
3618
|
+
/** Configuration options for controlling number formatting, localization, prefixes/suffixes, precision, and zero padding. */
|
|
3619
|
+
numberDisplayOptions?: NumberFormatOptions;
|
|
3677
3620
|
/** Defines how “NA” values should be displayed/labelled in the graph */
|
|
3678
3621
|
naLabel?: string;
|
|
3679
3622
|
/** 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 */
|
|
@@ -3721,8 +3664,6 @@ declare interface Props_30 {
|
|
|
3721
3664
|
padding?: string;
|
|
3722
3665
|
/** Column settings for each column shown in the table. */
|
|
3723
3666
|
columnData: DataTableColumnDataType[];
|
|
3724
|
-
/** Specifies the number of decimal places to display in the value. */
|
|
3725
|
-
precision?: number;
|
|
3726
3667
|
/** Defines how “NA” values should be displayed/labelled in the graph */
|
|
3727
3668
|
naLabel?: string;
|
|
3728
3669
|
/** Reset selection on double-click. Only applicable when used in a dashboard context with filters. */
|
|
@@ -3735,8 +3676,6 @@ declare interface Props_30 {
|
|
|
3735
3676
|
theme?: 'light' | 'dark';
|
|
3736
3677
|
/** Unique ID for the graph */
|
|
3737
3678
|
graphID?: string;
|
|
3738
|
-
/** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
|
|
3739
|
-
locale?: string;
|
|
3740
3679
|
}
|
|
3741
3680
|
|
|
3742
3681
|
declare interface Props_31 {
|
|
@@ -3851,10 +3790,6 @@ declare interface Props_32 {
|
|
|
3851
3790
|
topMargin?: number;
|
|
3852
3791
|
/** Bottom margin of the graph */
|
|
3853
3792
|
bottomMargin?: number;
|
|
3854
|
-
/** Prefix for values */
|
|
3855
|
-
prefix?: string;
|
|
3856
|
-
/** Suffix for values */
|
|
3857
|
-
suffix?: string;
|
|
3858
3793
|
/** Maximum value for the chart */
|
|
3859
3794
|
maxValue?: number;
|
|
3860
3795
|
/** Minimum value for the chart */
|
|
@@ -3879,10 +3814,8 @@ declare interface Props_32 {
|
|
|
3879
3814
|
animate?: boolean | AnimateDataType;
|
|
3880
3815
|
/** Toggles if the graph show the min and max value of the data. */
|
|
3881
3816
|
showDataMinMax?: boolean;
|
|
3882
|
-
/**
|
|
3883
|
-
|
|
3884
|
-
/** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
|
|
3885
|
-
locale?: string;
|
|
3817
|
+
/** Configuration options for controlling number formatting, localization, prefixes/suffixes, precision, and zero padding. */
|
|
3818
|
+
numberDisplayOptions?: NumberFormatOptions;
|
|
3886
3819
|
/** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
|
|
3887
3820
|
customLayers?: CustomLayerDataType[];
|
|
3888
3821
|
/** Enable graph download option as png */
|
|
@@ -3952,14 +3885,6 @@ declare interface Props_33 {
|
|
|
3952
3885
|
bottomMargin?: number;
|
|
3953
3886
|
/** Padding between bars */
|
|
3954
3887
|
barPadding?: number;
|
|
3955
|
-
/** Suffix for values of the lines */
|
|
3956
|
-
lineSuffix?: string;
|
|
3957
|
-
/** Suffix for values of the bars */
|
|
3958
|
-
barSuffix?: string;
|
|
3959
|
-
/** Prefix for values of the lines */
|
|
3960
|
-
linePrefix?: string;
|
|
3961
|
-
/** Prefix for values of the bars */
|
|
3962
|
-
barPrefix?: string;
|
|
3963
3888
|
/** Truncate labels by specified length */
|
|
3964
3889
|
truncateBy?: number;
|
|
3965
3890
|
/** Number of ticks on the axis */
|
|
@@ -3984,10 +3909,10 @@ declare interface Props_33 {
|
|
|
3984
3909
|
naLabel?: string;
|
|
3985
3910
|
/** Toggles if the graph animates in when loaded. */
|
|
3986
3911
|
animate?: boolean | AnimateDataType;
|
|
3987
|
-
/**
|
|
3988
|
-
|
|
3989
|
-
/**
|
|
3990
|
-
|
|
3912
|
+
/** Configuration options for lines controlling number formatting, localization, prefixes/suffixes, precision, and zero padding. */
|
|
3913
|
+
lineNumberDisplayOptions?: NumberFormatOptions;
|
|
3914
|
+
/** Configuration options for bars controlling number formatting, localization, prefixes/suffixes, precision, and zero padding. */
|
|
3915
|
+
barNumberDisplayOptions?: NumberFormatOptions;
|
|
3991
3916
|
/** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
|
|
3992
3917
|
customLayers?: CustomLayerDataType[];
|
|
3993
3918
|
/** Enable graph download option as png */
|
|
@@ -4057,10 +3982,6 @@ declare interface Props_34 {
|
|
|
4057
3982
|
barPadding?: number;
|
|
4058
3983
|
/** Spacing between the left and right bars */
|
|
4059
3984
|
centerGap?: number;
|
|
4060
|
-
/** Prefix for values */
|
|
4061
|
-
prefix?: string;
|
|
4062
|
-
/** Suffix for values */
|
|
4063
|
-
suffix?: string;
|
|
4064
3985
|
/** Maximum value for the chart */
|
|
4065
3986
|
maxValue?: number;
|
|
4066
3987
|
/** Minimum value for the chart */
|
|
@@ -4087,10 +4008,8 @@ declare interface Props_34 {
|
|
|
4087
4008
|
naLabel?: string;
|
|
4088
4009
|
/** Toggles if the graph animates in when loaded. */
|
|
4089
4010
|
animate?: boolean | AnimateDataType;
|
|
4090
|
-
/**
|
|
4091
|
-
|
|
4092
|
-
/** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
|
|
4093
|
-
locale?: string;
|
|
4011
|
+
/** Configuration options for controlling number formatting, localization, prefixes/suffixes, precision, and zero padding. */
|
|
4012
|
+
numberDisplayOptions?: NumberFormatOptions;
|
|
4094
4013
|
/** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
|
|
4095
4014
|
customLayers?: CustomLayerDataType[];
|
|
4096
4015
|
/** Configures playback and slider controls for animating the chart over time. The data must have a key date for it to work properly. */
|
|
@@ -4184,10 +4103,8 @@ declare interface Props_35 {
|
|
|
4184
4103
|
showTicks?: boolean;
|
|
4185
4104
|
/** Toggle visibility of axis line for the main axis. Only applicable if `graphType` is `barGraph`. */
|
|
4186
4105
|
hideAxisLine?: boolean;
|
|
4187
|
-
/**
|
|
4188
|
-
|
|
4189
|
-
/** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
|
|
4190
|
-
locale?: string;
|
|
4106
|
+
/** Configuration options for controlling number formatting, localization, prefixes/suffixes, precision, and zero padding. */
|
|
4107
|
+
numberDisplayOptions?: NumberFormatOptions;
|
|
4191
4108
|
/** Enable graph download option as png */
|
|
4192
4109
|
graphDownload?: boolean;
|
|
4193
4110
|
/** Enable data download option as a csv */
|
|
@@ -4259,10 +4176,6 @@ declare interface Props_36 {
|
|
|
4259
4176
|
minBarThickness?: number;
|
|
4260
4177
|
/** Maximum number of bars shown in the graph */
|
|
4261
4178
|
maxNumberOfBars?: number;
|
|
4262
|
-
/** Prefix for values */
|
|
4263
|
-
prefix?: string;
|
|
4264
|
-
/** Suffix for values */
|
|
4265
|
-
suffix?: string;
|
|
4266
4179
|
/** Maximum value for the chart */
|
|
4267
4180
|
maxValue?: number;
|
|
4268
4181
|
/** Minimum value for the chart */
|
|
@@ -4299,10 +4212,8 @@ declare interface Props_36 {
|
|
|
4299
4212
|
filterNA?: boolean;
|
|
4300
4213
|
/** Toggles if the graph animates in when loaded. */
|
|
4301
4214
|
animate?: boolean | AnimateDataType;
|
|
4302
|
-
/**
|
|
4303
|
-
|
|
4304
|
-
/** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
|
|
4305
|
-
locale?: string;
|
|
4215
|
+
/** Configuration options for controlling number formatting, localization, prefixes/suffixes, precision, and zero padding. */
|
|
4216
|
+
numberDisplayOptions?: NumberFormatOptions;
|
|
4306
4217
|
/** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
|
|
4307
4218
|
customLayers?: CustomLayerDataType[];
|
|
4308
4219
|
/** Enable graph download option as png */
|
|
@@ -4376,10 +4287,6 @@ declare interface Props_37 {
|
|
|
4376
4287
|
nodePadding?: number;
|
|
4377
4288
|
/** Thickness of each node */
|
|
4378
4289
|
nodeWidth?: number;
|
|
4379
|
-
/** Prefix for values */
|
|
4380
|
-
prefix?: string;
|
|
4381
|
-
/** Suffix for values */
|
|
4382
|
-
suffix?: string;
|
|
4383
4290
|
/** Truncate labels by specified length */
|
|
4384
4291
|
truncateBy?: number;
|
|
4385
4292
|
/** Title of the source */
|
|
@@ -4400,10 +4307,8 @@ declare interface Props_37 {
|
|
|
4400
4307
|
sortNodes?: 'asc' | 'desc' | 'mostReadable' | 'none';
|
|
4401
4308
|
/** Toggles if the graph animates in when loaded. */
|
|
4402
4309
|
animate?: boolean | AnimateDataType;
|
|
4403
|
-
/**
|
|
4404
|
-
|
|
4405
|
-
/** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
|
|
4406
|
-
locale?: string;
|
|
4310
|
+
/** Configuration options for controlling number formatting, localization, prefixes/suffixes, precision, and zero padding. */
|
|
4311
|
+
numberDisplayOptions?: NumberFormatOptions;
|
|
4407
4312
|
/** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
|
|
4408
4313
|
customLayers?: CustomLayerDataType[];
|
|
4409
4314
|
/** Enable graph download option as png */
|
|
@@ -4503,10 +4408,8 @@ declare interface Props_38 {
|
|
|
4503
4408
|
curveType?: 'linear' | 'curve';
|
|
4504
4409
|
/** Reset selection on double-click. Only applicable when used in a dashboard context with filters. */
|
|
4505
4410
|
resetSelectionOnDoubleClick?: boolean;
|
|
4506
|
-
/**
|
|
4507
|
-
|
|
4508
|
-
/** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
|
|
4509
|
-
locale?: string;
|
|
4411
|
+
/** Configuration options for controlling number formatting, localization, precision, and zero padding. */
|
|
4412
|
+
numberDisplayOptions?: Omit<NumberFormatOptions, 'suffix' | 'prefix'>;
|
|
4510
4413
|
/** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
|
|
4511
4414
|
customLayers?: CustomLayerDataType[];
|
|
4512
4415
|
/** Enable graph download option as png */
|
|
@@ -4605,10 +4508,6 @@ declare interface Props_4 {
|
|
|
4605
4508
|
maxNumberOfBars?: number;
|
|
4606
4509
|
/** Radius of the dots */
|
|
4607
4510
|
radius?: number;
|
|
4608
|
-
/** Prefix for values */
|
|
4609
|
-
prefix?: string;
|
|
4610
|
-
/** Suffix for values */
|
|
4611
|
-
suffix?: string;
|
|
4612
4511
|
/** Maximum value for the chart */
|
|
4613
4512
|
maxValue?: number;
|
|
4614
4513
|
/** Minimum value for the chart */
|
|
@@ -4649,10 +4548,8 @@ declare interface Props_4 {
|
|
|
4649
4548
|
filterNA?: boolean;
|
|
4650
4549
|
/** Toggles if the graph animates in when loaded. */
|
|
4651
4550
|
animate?: boolean | AnimateDataType;
|
|
4652
|
-
/**
|
|
4653
|
-
|
|
4654
|
-
/** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
|
|
4655
|
-
locale?: string;
|
|
4551
|
+
/** Configuration options for controlling number formatting, localization, prefixes/suffixes, precision, and zero padding. */
|
|
4552
|
+
numberDisplayOptions?: NumberFormatOptions;
|
|
4656
4553
|
/** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
|
|
4657
4554
|
customLayers?: CustomLayerDataType[];
|
|
4658
4555
|
/** Configures playback and slider controls for animating the chart over time. The data must have a key date for it to work properly. */
|
|
@@ -4880,10 +4777,6 @@ declare interface Props_5 {
|
|
|
4880
4777
|
topMargin?: number;
|
|
4881
4778
|
/** Bottom margin of the graph */
|
|
4882
4779
|
bottomMargin?: number;
|
|
4883
|
-
/** Prefix for values */
|
|
4884
|
-
prefix?: string;
|
|
4885
|
-
/** Suffix for values */
|
|
4886
|
-
suffix?: string;
|
|
4887
4780
|
/** Maximum value for the radius of the circle */
|
|
4888
4781
|
maxRadiusValue?: number;
|
|
4889
4782
|
/** Minimum value for position of the circle */
|
|
@@ -4910,10 +4803,8 @@ declare interface Props_5 {
|
|
|
4910
4803
|
dimmedOpacity?: number;
|
|
4911
4804
|
/** Maximum radius of the circles */
|
|
4912
4805
|
radius?: number;
|
|
4913
|
-
/**
|
|
4914
|
-
|
|
4915
|
-
/** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
|
|
4916
|
-
locale?: string;
|
|
4806
|
+
/** Configuration options for controlling number formatting, localization, prefixes/suffixes, precision, and zero padding. */
|
|
4807
|
+
numberDisplayOptions?: NumberFormatOptions;
|
|
4917
4808
|
/** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
|
|
4918
4809
|
customLayers?: CustomLayerDataType[];
|
|
4919
4810
|
/** Enable graph download option as png */
|
|
@@ -5048,10 +4939,6 @@ declare interface Props_6 {
|
|
|
5048
4939
|
topMargin?: number;
|
|
5049
4940
|
/** Bottom margin of the graph */
|
|
5050
4941
|
bottomMargin?: number;
|
|
5051
|
-
/** Prefix for values of the lines */
|
|
5052
|
-
linePrefixes?: [string, string];
|
|
5053
|
-
/** Suffix for values of the lines */
|
|
5054
|
-
lineSuffixes?: [string, string];
|
|
5055
4942
|
/** Maximum value of the date for the chart */
|
|
5056
4943
|
maxDate?: string | number;
|
|
5057
4944
|
/** Minimum value of the date for the chart */
|
|
@@ -5082,10 +4969,10 @@ declare interface Props_6 {
|
|
|
5082
4969
|
highlightAreaSettings?: HighlightAreaSettingsDataType[];
|
|
5083
4970
|
/** Curve type for the line */
|
|
5084
4971
|
curveType?: CurveTypes;
|
|
5085
|
-
/**
|
|
5086
|
-
|
|
5087
|
-
/**
|
|
5088
|
-
|
|
4972
|
+
/** Configuration options for controlling number formatting, localization, prefixes/suffixes, precision, and zero padding for left line. */
|
|
4973
|
+
leftLineNumberDisplayOptions?: NumberFormatOptions;
|
|
4974
|
+
/** Configuration options for controlling number formatting, localization, prefixes/suffixes, precision, and zero padding for right line. */
|
|
4975
|
+
rightLineNumberDisplayOptions?: NumberFormatOptions;
|
|
5089
4976
|
/** Defines how “NA” values should be displayed/labelled in the graph */
|
|
5090
4977
|
naLabel?: string;
|
|
5091
4978
|
/** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
|
|
@@ -5250,10 +5137,6 @@ declare interface Props_7 {
|
|
|
5250
5137
|
topMargin?: number;
|
|
5251
5138
|
/** Bottom margin of the graph */
|
|
5252
5139
|
bottomMargin?: number;
|
|
5253
|
-
/** Prefix for values */
|
|
5254
|
-
prefix?: string;
|
|
5255
|
-
/** Suffix for values */
|
|
5256
|
-
suffix?: string;
|
|
5257
5140
|
/** Maximum value for the chart */
|
|
5258
5141
|
maxValue?: number;
|
|
5259
5142
|
/** Minimum value for the chart */
|
|
@@ -5298,10 +5181,8 @@ declare interface Props_7 {
|
|
|
5298
5181
|
regressionLine?: boolean | string;
|
|
5299
5182
|
/** Curve type for the line */
|
|
5300
5183
|
curveType?: CurveTypes;
|
|
5301
|
-
/**
|
|
5302
|
-
|
|
5303
|
-
/** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
|
|
5304
|
-
locale?: string;
|
|
5184
|
+
/** Configuration options for controlling number formatting, localization, prefixes/suffixes, precision, and zero padding. */
|
|
5185
|
+
numberDisplayOptions?: NumberFormatOptions;
|
|
5305
5186
|
/** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
|
|
5306
5187
|
customLayers?: CustomLayerDataType[];
|
|
5307
5188
|
/** Enable graph download option as png */
|
|
@@ -5359,10 +5240,6 @@ declare interface Props_8 {
|
|
|
5359
5240
|
topMargin?: number;
|
|
5360
5241
|
/** Bottom margin of the graph */
|
|
5361
5242
|
bottomMargin?: number;
|
|
5362
|
-
/** Prefix for values */
|
|
5363
|
-
prefix?: string;
|
|
5364
|
-
/** Suffix for values */
|
|
5365
|
-
suffix?: string;
|
|
5366
5243
|
/** Maximum value for the chart */
|
|
5367
5244
|
maxValue?: number;
|
|
5368
5245
|
/** Minimum value for the chart */
|
|
@@ -5399,10 +5276,8 @@ declare interface Props_8 {
|
|
|
5399
5276
|
regressionLine?: boolean | string;
|
|
5400
5277
|
/** Curve type for the line */
|
|
5401
5278
|
curveType?: CurveTypes;
|
|
5402
|
-
/**
|
|
5403
|
-
|
|
5404
|
-
/** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
|
|
5405
|
-
locale?: string;
|
|
5279
|
+
/** Configuration options for controlling number formatting, localization, prefixes/suffixes, precision, and zero padding. */
|
|
5280
|
+
numberDisplayOptions?: NumberFormatOptions;
|
|
5406
5281
|
/** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
|
|
5407
5282
|
customLayers?: CustomLayerDataType[];
|
|
5408
5283
|
/** Enable graph download option as png */
|
|
@@ -5470,10 +5345,6 @@ declare interface Props_9 {
|
|
|
5470
5345
|
topMargin?: number;
|
|
5471
5346
|
/** Bottom margin of the graph */
|
|
5472
5347
|
bottomMargin?: number;
|
|
5473
|
-
/** Prefix for values */
|
|
5474
|
-
prefix?: string;
|
|
5475
|
-
/** Suffix for values */
|
|
5476
|
-
suffix?: string;
|
|
5477
5348
|
/** Maximum value for the chart */
|
|
5478
5349
|
maxValue?: number;
|
|
5479
5350
|
/** Minimum value for the chart */
|
|
@@ -5516,10 +5387,8 @@ declare interface Props_9 {
|
|
|
5516
5387
|
customHighlightAreaSettings?: CustomHighlightAreaSettingsDataType[];
|
|
5517
5388
|
/** Curve type for the line */
|
|
5518
5389
|
curveType?: CurveTypes;
|
|
5519
|
-
/**
|
|
5520
|
-
|
|
5521
|
-
/** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
|
|
5522
|
-
locale?: string;
|
|
5390
|
+
/** Configuration options for controlling number formatting, localization, prefixes/suffixes, precision, and zero padding. */
|
|
5391
|
+
numberDisplayOptions?: NumberFormatOptions;
|
|
5523
5392
|
/** Defines how “NA” values should be displayed/labelled in the graph */
|
|
5524
5393
|
naLabel?: string;
|
|
5525
5394
|
/** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
|
|
@@ -5729,10 +5598,6 @@ declare interface StackedBarChartProps {
|
|
|
5729
5598
|
minBarThickness?: number;
|
|
5730
5599
|
/** Maximum number of bars shown in the graph */
|
|
5731
5600
|
maxNumberOfBars?: number;
|
|
5732
|
-
/** Prefix for values */
|
|
5733
|
-
prefix?: string;
|
|
5734
|
-
/** Suffix for values */
|
|
5735
|
-
suffix?: string;
|
|
5736
5601
|
/** Maximum value for the chart */
|
|
5737
5602
|
maxValue?: number;
|
|
5738
5603
|
/** Minimum value for the chart */
|
|
@@ -5757,6 +5622,8 @@ declare interface StackedBarChartProps {
|
|
|
5757
5622
|
barAxisTitle?: string;
|
|
5758
5623
|
/** Defines how “NA” values should be displayed/labelled in the graph */
|
|
5759
5624
|
naLabel?: string;
|
|
5625
|
+
/** Configuration options for controlling number formatting, localization, prefixes/suffixes, precision, and zero padding. */
|
|
5626
|
+
numberDisplayOptions?: NumberFormatOptions;
|
|
5760
5627
|
/** Parameter to sort the data. If a number is provided, it refers to the index of the size array to determine which value to sort by. If set to total, it sorts by the sum of all the values. */
|
|
5761
5628
|
sortParameter?: number | 'total';
|
|
5762
5629
|
/** Sorting order for data. This is overwritten by labelOrder prop. */
|
|
@@ -5765,10 +5632,6 @@ declare interface StackedBarChartProps {
|
|
|
5765
5632
|
filterNA?: boolean;
|
|
5766
5633
|
/** Toggles if the graph animates in when loaded. */
|
|
5767
5634
|
animate?: boolean | AnimateDataType;
|
|
5768
|
-
/** Specifies the number of decimal places to display in the value. */
|
|
5769
|
-
precision?: number;
|
|
5770
|
-
/** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
|
|
5771
|
-
locale?: string;
|
|
5772
5635
|
/** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
|
|
5773
5636
|
customLayers?: CustomLayerDataType[];
|
|
5774
5637
|
/** Configures playback and slider controls for animating the chart over time. The data must have a key date for it to work properly. */
|