@undp/data-viz 1.2.8 → 1.3.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 +2 -0
- package/dist/AreaChart.cjs.map +1 -0
- package/dist/AreaChart.d.ts +224 -0
- package/dist/AreaChart.js +531 -0
- package/dist/AreaChart.js.map +1 -0
- package/dist/Axis-DE7dSn1_.cjs +2 -0
- package/dist/Axis-DE7dSn1_.cjs.map +1 -0
- package/dist/Axis-Ddg-seDi.js +43 -0
- package/dist/Axis-Ddg-seDi.js.map +1 -0
- package/dist/AxisTitle-BmHLMRJZ.js +20 -0
- package/dist/AxisTitle-BmHLMRJZ.js.map +1 -0
- package/dist/AxisTitle-CK9YeovX.cjs +2 -0
- package/dist/AxisTitle-CK9YeovX.cjs.map +1 -0
- package/dist/BarGraph.cjs +2 -0
- package/dist/BarGraph.cjs.map +1 -0
- package/dist/BarGraph.d.ts +460 -0
- package/dist/BarGraph.js +4044 -0
- package/dist/BarGraph.js.map +1 -0
- package/dist/BasicStatCard.cjs +2 -0
- package/dist/BasicStatCard.cjs.map +1 -0
- package/dist/BasicStatCard.d.ts +106 -0
- package/dist/BasicStatCard.js +191 -0
- package/dist/BasicStatCard.js.map +1 -0
- package/dist/BeeSwarmChart.cjs +2 -0
- package/dist/BeeSwarmChart.cjs.map +1 -0
- package/dist/BeeSwarmChart.d.ts +181 -0
- package/dist/BeeSwarmChart.js +1043 -0
- package/dist/BeeSwarmChart.js.map +1 -0
- package/dist/BiVariateChoroplethMap.cjs +2 -0
- package/dist/BiVariateChoroplethMap.cjs.map +1 -0
- package/dist/BiVariateChoroplethMap.d.ts +189 -0
- package/dist/BiVariateChoroplethMap.js +721 -0
- package/dist/BiVariateChoroplethMap.js.map +1 -0
- package/dist/BulletChart.cjs +2 -0
- package/dist/BulletChart.cjs.map +1 -0
- package/dist/BulletChart.d.ts +219 -0
- package/dist/BulletChart.js +1432 -0
- package/dist/BulletChart.js.map +1 -0
- package/dist/ButterflyChart.cjs +2 -0
- package/dist/ButterflyChart.cjs.map +1 -0
- package/dist/ButterflyChart.d.ts +201 -0
- package/dist/ButterflyChart.js +693 -0
- package/dist/ButterflyChart.js.map +1 -0
- package/dist/ChoroplethMap.cjs +2 -0
- package/dist/ChoroplethMap.cjs.map +1 -0
- package/dist/ChoroplethMap.d.ts +190 -0
- package/dist/ChoroplethMap.js +746 -0
- package/dist/ChoroplethMap.js.map +1 -0
- package/dist/CirclePackingGraph.cjs +2 -0
- package/dist/CirclePackingGraph.cjs.map +1 -0
- package/dist/CirclePackingGraph.d.ts +153 -0
- package/dist/CirclePackingGraph.js +15 -0
- package/dist/CirclePackingGraph.js.map +1 -0
- package/dist/ColorLegend.cjs +2 -0
- package/dist/ColorLegend.cjs.map +1 -0
- package/dist/ColorLegend.d.ts +17 -0
- package/dist/ColorLegend.js +48 -0
- package/dist/ColorLegend.js.map +1 -0
- package/dist/ColorLegendWithMouseOver.cjs +2 -0
- package/dist/ColorLegendWithMouseOver.cjs.map +1 -0
- package/dist/ColorLegendWithMouseOver.d.ts +16 -0
- package/dist/ColorLegendWithMouseOver.js +71 -0
- package/dist/ColorLegendWithMouseOver.js.map +1 -0
- package/dist/Colors.cjs +2 -0
- package/dist/Colors.cjs.map +1 -0
- package/dist/Colors.d.ts +174 -0
- package/dist/Colors.js +562 -0
- package/dist/Colors.js.map +1 -0
- package/dist/CopyTextButton.cjs +17 -0
- package/dist/CopyTextButton.cjs.map +1 -0
- package/dist/CopyTextButton.d.ts +13 -0
- package/dist/CopyTextButton.js +699 -0
- package/dist/CopyTextButton.js.map +1 -0
- package/dist/CsvDownloadButton.cjs +23 -0
- package/dist/CsvDownloadButton.cjs.map +1 -0
- package/dist/CsvDownloadButton.d.ts +22 -0
- package/dist/CsvDownloadButton.js +868 -0
- package/dist/CsvDownloadButton.js.map +1 -0
- package/dist/DataCards.cjs +2 -0
- package/dist/DataCards.cjs.map +1 -0
- package/dist/DataCards.d.ts +131 -0
- package/dist/DataCards.js +15 -0
- package/dist/DataCards.js.map +1 -0
- package/dist/DataTable.cjs +2 -0
- package/dist/DataTable.cjs.map +1 -0
- package/dist/DataTable.d.ts +122 -0
- package/dist/DataTable.js +332 -0
- package/dist/DataTable.js.map +1 -0
- package/dist/DifferenceLineChart.cjs +2 -0
- package/dist/DifferenceLineChart.cjs.map +1 -0
- package/dist/DifferenceLineChart.d.ts +237 -0
- package/dist/DifferenceLineChart.js +806 -0
- package/dist/DifferenceLineChart.js.map +1 -0
- package/dist/DonutChart.cjs +2 -0
- package/dist/DonutChart.cjs.map +1 -0
- package/dist/DonutChart.d.ts +148 -0
- package/dist/DonutChart.js +479 -0
- package/dist/DonutChart.js.map +1 -0
- package/dist/DotDensityMap.cjs +2 -0
- package/dist/DotDensityMap.cjs.map +1 -0
- package/dist/DotDensityMap.d.ts +191 -0
- package/dist/DotDensityMap.js +601 -0
- package/dist/DotDensityMap.js.map +1 -0
- package/dist/DropdownSelect-0I2QxaVy.cjs +29 -0
- package/dist/DropdownSelect-0I2QxaVy.cjs.map +1 -0
- package/dist/DropdownSelect-CDC9lEqU.js +4193 -0
- package/dist/DropdownSelect-CDC9lEqU.js.map +1 -0
- package/dist/DualAxisLineChart.cjs +2 -0
- package/dist/DualAxisLineChart.cjs.map +1 -0
- package/dist/DualAxisLineChart.d.ts +180 -0
- package/dist/DualAxisLineChart.js +700 -0
- package/dist/DualAxisLineChart.js.map +1 -0
- package/dist/DumbbellChart.cjs +2 -0
- package/dist/DumbbellChart.cjs.map +1 -0
- package/dist/DumbbellChart.d.ts +224 -0
- package/dist/DumbbellChart.js +1511 -0
- package/dist/DumbbellChart.js.map +1 -0
- package/dist/EmptyState-DdTp-Mdn.js +22 -0
- package/dist/EmptyState-DdTp-Mdn.js.map +1 -0
- package/dist/EmptyState-d8_8SxeW.cjs +2 -0
- package/dist/EmptyState-d8_8SxeW.cjs.map +1 -0
- package/dist/ExcelDownloadButton.cjs +2 -0
- package/dist/ExcelDownloadButton.cjs.map +1 -0
- package/dist/ExcelDownloadButton.d.ts +22 -0
- package/dist/ExcelDownloadButton.js +30 -0
- package/dist/ExcelDownloadButton.js.map +1 -0
- package/dist/FootNote.cjs +2 -0
- package/dist/FootNote.cjs.map +1 -0
- package/dist/FootNote.d.ts +12 -0
- package/dist/FootNote.js +21 -0
- package/dist/FootNote.js.map +1 -0
- package/dist/GeoHubCompareMaps.cjs +2 -0
- package/dist/GeoHubCompareMaps.cjs.map +1 -0
- package/dist/GeoHubCompareMaps.d.ts +103 -0
- package/dist/GeoHubCompareMaps.js +371 -0
- package/dist/GeoHubCompareMaps.js.map +1 -0
- package/dist/GeoHubMap.cjs +2 -0
- package/dist/GeoHubMap.cjs.map +1 -0
- package/dist/GeoHubMap.d.ts +118 -0
- package/dist/GeoHubMap.js +430 -0
- package/dist/GeoHubMap.js.map +1 -0
- package/dist/GeoHubMapWithLayerSelection.cjs +2 -0
- package/dist/GeoHubMapWithLayerSelection.cjs.map +1 -0
- package/dist/GeoHubMapWithLayerSelection.d.ts +117 -0
- package/dist/GeoHubMapWithLayerSelection.js +308 -0
- package/dist/GeoHubMapWithLayerSelection.js.map +1 -0
- package/dist/GraphDescription.cjs +2 -0
- package/dist/GraphDescription.cjs.map +1 -0
- package/dist/GraphDescription.d.ts +12 -0
- package/dist/GraphDescription.js +21 -0
- package/dist/GraphDescription.js.map +1 -0
- package/dist/GraphFooter.cjs +2 -0
- package/dist/GraphFooter.cjs.map +1 -0
- package/dist/GraphFooter.d.ts +24 -0
- package/dist/GraphFooter.js +22 -0
- package/dist/GraphFooter.js.map +1 -0
- package/dist/GraphHeader.cjs +2 -0
- package/dist/GraphHeader.cjs.map +1 -0
- package/dist/GraphHeader.d.ts +22 -0
- package/dist/GraphHeader.js +64 -0
- package/dist/GraphHeader.js.map +1 -0
- package/dist/GraphTitle.cjs +2 -0
- package/dist/GraphTitle.cjs.map +1 -0
- package/dist/GraphTitle.d.ts +13 -0
- package/dist/GraphTitle.js +29 -0
- package/dist/GraphTitle.js.map +1 -0
- package/dist/GriddedGraphs.cjs +2 -0
- package/dist/GriddedGraphs.cjs.map +1 -0
- package/dist/GriddedGraphs.d.ts +540 -0
- package/dist/GriddedGraphs.js +483 -0
- package/dist/GriddedGraphs.js.map +1 -0
- package/dist/GriddedGraphsFromConfig.cjs +2 -0
- package/dist/GriddedGraphsFromConfig.cjs.map +1 -0
- package/dist/GriddedGraphsFromConfig.d.ts +543 -0
- package/dist/GriddedGraphsFromConfig.js +43 -0
- package/dist/GriddedGraphsFromConfig.js.map +1 -0
- package/dist/HeatMap.cjs +2 -0
- package/dist/HeatMap.cjs.map +1 -0
- package/dist/HeatMap.d.ts +166 -0
- package/dist/HeatMap.js +452 -0
- package/dist/HeatMap.js.map +1 -0
- package/dist/Histogram.cjs +2 -0
- package/dist/Histogram.cjs.map +1 -0
- package/dist/Histogram.d.ts +165 -0
- package/dist/Histogram.js +288 -0
- package/dist/Histogram.js.map +1 -0
- package/dist/ImageDownloadButton.cjs +2 -0
- package/dist/ImageDownloadButton.cjs.map +1 -0
- package/dist/ImageDownloadButton.d.ts +15 -0
- package/dist/ImageDownloadButton.js +29 -0
- package/dist/ImageDownloadButton.js.map +1 -0
- package/dist/LineChartWithConfidenceInterval.cjs +2 -0
- package/dist/LineChartWithConfidenceInterval.cjs.map +1 -0
- package/dist/LineChartWithConfidenceInterval.d.ts +250 -0
- package/dist/LineChartWithConfidenceInterval.js +819 -0
- package/dist/LineChartWithConfidenceInterval.js.map +1 -0
- package/dist/LinearColorLegend.cjs +2 -0
- package/dist/LinearColorLegend.cjs.map +1 -0
- package/dist/LinearColorLegend.d.ts +13 -0
- package/dist/LinearColorLegend.js +34 -0
- package/dist/LinearColorLegend.js.map +1 -0
- package/dist/Modal-CUU6ZK3U.js +1019 -0
- package/dist/Modal-CUU6ZK3U.js.map +1 -0
- package/dist/Modal-C_dl0EtQ.cjs +46 -0
- package/dist/Modal-C_dl0EtQ.cjs.map +1 -0
- package/dist/MultiGraphDashboard.cjs +2 -0
- package/dist/MultiGraphDashboard.cjs.map +1 -0
- package/dist/MultiGraphDashboard.d.ts +558 -0
- package/dist/MultiGraphDashboard.js +304 -0
- package/dist/MultiGraphDashboard.js.map +1 -0
- package/dist/MultiGraphDashboardFromConfig.cjs +2 -0
- package/dist/MultiGraphDashboardFromConfig.cjs.map +1 -0
- package/dist/MultiGraphDashboardFromConfig.d.ts +562 -0
- package/dist/MultiGraphDashboardFromConfig.js +38 -0
- package/dist/MultiGraphDashboardFromConfig.js.map +1 -0
- package/dist/MultiGraphDashboardWideToLongFormat.cjs +2 -0
- package/dist/MultiGraphDashboardWideToLongFormat.cjs.map +1 -0
- package/dist/MultiGraphDashboardWideToLongFormat.d.ts +128 -0
- package/dist/MultiGraphDashboardWideToLongFormat.js +244 -0
- package/dist/MultiGraphDashboardWideToLongFormat.js.map +1 -0
- package/dist/MultiGraphDashboardWideToLongFormatFromConfig.cjs +2 -0
- package/dist/MultiGraphDashboardWideToLongFormatFromConfig.cjs.map +1 -0
- package/dist/MultiGraphDashboardWideToLongFormatFromConfig.d.ts +133 -0
- package/dist/MultiGraphDashboardWideToLongFormatFromConfig.js +31 -0
- package/dist/MultiGraphDashboardWideToLongFormatFromConfig.js.map +1 -0
- package/dist/MultiLineAltChart.cjs +2 -0
- package/dist/MultiLineAltChart.cjs.map +1 -0
- package/dist/MultiLineAltChart.d.ts +244 -0
- package/dist/MultiLineAltChart.js +690 -0
- package/dist/MultiLineAltChart.js.map +1 -0
- package/dist/MultiLineChart.cjs +2 -0
- package/dist/MultiLineChart.cjs.map +1 -0
- package/dist/MultiLineChart.d.ts +246 -0
- package/dist/MultiLineChart.js +723 -0
- package/dist/MultiLineChart.js.map +1 -0
- package/dist/ParetoChart.cjs +2 -0
- package/dist/ParetoChart.cjs.map +1 -0
- package/dist/ParetoChart.d.ts +178 -0
- package/dist/ParetoChart.js +637 -0
- package/dist/ParetoChart.js.map +1 -0
- package/dist/RadarChart.cjs +2 -0
- package/dist/RadarChart.cjs.map +1 -0
- package/dist/RadarChart.d.ts +176 -0
- package/dist/RadarChart.js +678 -0
- package/dist/RadarChart.js.map +1 -0
- package/dist/ReferenceLine-C1GpoG9d.js +128 -0
- package/dist/ReferenceLine-C1GpoG9d.js.map +1 -0
- package/dist/ReferenceLine-CuFMk0cI.cjs +2 -0
- package/dist/ReferenceLine-CuFMk0cI.cjs.map +1 -0
- package/dist/RegressionLine-7_rKTHN_.cjs +2 -0
- package/dist/RegressionLine-7_rKTHN_.cjs.map +1 -0
- package/dist/RegressionLine-BFwDCTUU.js +48 -0
- package/dist/RegressionLine-BFwDCTUU.js.map +1 -0
- package/dist/SVGDownloadButton.cjs +2 -0
- package/dist/SVGDownloadButton.cjs.map +1 -0
- package/dist/SVGDownloadButton.d.ts +15 -0
- package/dist/SVGDownloadButton.js +29 -0
- package/dist/SVGDownloadButton.js.map +1 -0
- package/dist/SankeyChart.cjs +2 -0
- package/dist/SankeyChart.cjs.map +1 -0
- package/dist/SankeyChart.d.ts +178 -0
- package/dist/SankeyChart.js +990 -0
- package/dist/SankeyChart.js.map +1 -0
- package/dist/ScatterPlot.cjs +2 -0
- package/dist/ScatterPlot.cjs.map +1 -0
- package/dist/ScatterPlot.d.ts +266 -0
- package/dist/ScatterPlot.js +829 -0
- package/dist/ScatterPlot.js.map +1 -0
- package/dist/ScrollStory.cjs +2 -0
- package/dist/ScrollStory.cjs.map +1 -0
- package/dist/ScrollStory.d.ts +491 -0
- package/dist/ScrollStory.js +106 -0
- package/dist/ScrollStory.js.map +1 -0
- package/dist/SimpleLineChart.cjs +2 -0
- package/dist/SimpleLineChart.cjs.map +1 -0
- package/dist/SimpleLineChart.d.ts +230 -0
- package/dist/SimpleLineChart.js +620 -0
- package/dist/SimpleLineChart.js.map +1 -0
- package/dist/SingleGraphDashboard.cjs +2 -0
- package/dist/SingleGraphDashboard.cjs.map +1 -0
- package/dist/SingleGraphDashboard.d.ts +545 -0
- package/dist/SingleGraphDashboard.js +523 -0
- package/dist/SingleGraphDashboard.js.map +1 -0
- package/dist/SingleGraphDashboardFromConfig.cjs +2 -0
- package/dist/SingleGraphDashboardFromConfig.cjs.map +1 -0
- package/dist/SingleGraphDashboardFromConfig.d.ts +547 -0
- package/dist/SingleGraphDashboardFromConfig.js +35 -0
- package/dist/SingleGraphDashboardFromConfig.js.map +1 -0
- package/dist/SlopeChart.cjs +2 -0
- package/dist/SlopeChart.cjs.map +1 -0
- package/dist/SlopeChart.d.ts +167 -0
- package/dist/SlopeChart.js +583 -0
- package/dist/SlopeChart.js.map +1 -0
- package/dist/Source.cjs +2 -0
- package/dist/Source.cjs.map +1 -0
- package/dist/Source.d.ts +16 -0
- package/dist/Source.js +41 -0
- package/dist/Source.js.map +1 -0
- package/dist/SparkLine.cjs +2 -0
- package/dist/SparkLine.cjs.map +1 -0
- package/dist/SparkLine.d.ts +139 -0
- package/dist/SparkLine.js +321 -0
- package/dist/SparkLine.js.map +1 -0
- package/dist/Spinner-C85UF28E.js +30 -0
- package/dist/Spinner-C85UF28E.js.map +1 -0
- package/dist/Spinner-DA6Z5E4n.cjs +2 -0
- package/dist/Spinner-DA6Z5E4n.cjs.map +1 -0
- package/dist/StatCardFromData.cjs +2 -0
- package/dist/StatCardFromData.cjs.map +1 -0
- package/dist/StatCardFromData.d.ts +115 -0
- package/dist/StatCardFromData.js +250 -0
- package/dist/StatCardFromData.js.map +1 -0
- package/dist/StripChart.cjs +2 -0
- package/dist/StripChart.cjs.map +1 -0
- package/dist/StripChart.d.ts +178 -0
- package/dist/StripChart.js +989 -0
- package/dist/StripChart.js.map +1 -0
- package/dist/ThreeDGlobe.cjs +2 -0
- package/dist/ThreeDGlobe.cjs.map +1 -0
- package/dist/ThreeDGlobe.d.ts +158 -0
- package/dist/ThreeDGlobe.js +452 -0
- package/dist/ThreeDGlobe.js.map +1 -0
- package/dist/ThresholdColorLegendWithMouseOver.cjs +2 -0
- package/dist/ThresholdColorLegendWithMouseOver.cjs.map +1 -0
- package/dist/ThresholdColorLegendWithMouseOver.d.ts +16 -0
- package/dist/ThresholdColorLegendWithMouseOver.js +131 -0
- package/dist/ThresholdColorLegendWithMouseOver.js.map +1 -0
- package/dist/Tooltip-DyM5snqx.js +46 -0
- package/dist/Tooltip-DyM5snqx.js.map +1 -0
- package/dist/Tooltip-n8z5bfav.cjs +2 -0
- package/dist/Tooltip-n8z5bfav.cjs.map +1 -0
- package/dist/TreeMapGraph.cjs +2 -0
- package/dist/TreeMapGraph.cjs.map +1 -0
- package/dist/TreeMapGraph.d.ts +158 -0
- package/dist/TreeMapGraph.js +761 -0
- package/dist/TreeMapGraph.js.map +1 -0
- package/dist/Types.cjs +2 -0
- package/dist/Types.cjs.map +1 -0
- package/dist/Types.d.ts +883 -0
- package/dist/Types.js +2 -0
- package/dist/Types.js.map +1 -0
- package/dist/Typography-Ctgfl1J5.js +140 -0
- package/dist/Typography-Ctgfl1J5.js.map +1 -0
- package/dist/Typography-k-kOjICQ.cjs +2 -0
- package/dist/Typography-k-kOjICQ.cjs.map +1 -0
- package/dist/UnitChart.cjs +2 -0
- package/dist/UnitChart.cjs.map +1 -0
- package/dist/UnitChart.d.ts +132 -0
- package/dist/UnitChart.js +217 -0
- package/dist/UnitChart.js.map +1 -0
- package/dist/XAxesLabels-CJMQbfVy.cjs +2 -0
- package/dist/XAxesLabels-CJMQbfVy.cjs.map +1 -0
- package/dist/XAxesLabels-DQFo_z2R.js +57 -0
- package/dist/XAxesLabels-DQFo_z2R.js.map +1 -0
- package/dist/XTicksAndGridLines-Bn9u5gOM.js +56 -0
- package/dist/XTicksAndGridLines-Bn9u5gOM.js.map +1 -0
- package/dist/XTicksAndGridLines-CCzXIV8d.cjs +2 -0
- package/dist/XTicksAndGridLines-CCzXIV8d.cjs.map +1 -0
- package/dist/YAxesLabels-BXLTX7AI.cjs +2 -0
- package/dist/YAxesLabels-BXLTX7AI.cjs.map +1 -0
- package/dist/YAxesLabels-H5-002X5.js +52 -0
- package/dist/YAxesLabels-H5-002X5.js.map +1 -0
- package/dist/YTicksAndGridLines-B6ah7CRf.js +56 -0
- package/dist/YTicksAndGridLines-B6ah7CRf.js.map +1 -0
- package/dist/YTicksAndGridLines-DBDuz6vb.cjs +2 -0
- package/dist/YTicksAndGridLines-DBDuz6vb.cjs.map +1 -0
- package/dist/_commonjsHelpers-DKOUU3wS.cjs +2 -0
- package/dist/_commonjsHelpers-DKOUU3wS.cjs.map +1 -0
- package/dist/_commonjsHelpers-DaMA6jEr.js +9 -0
- package/dist/_commonjsHelpers-DaMA6jEr.js.map +1 -0
- package/dist/area-BE2wo7fv.js +53 -0
- package/dist/area-BE2wo7fv.js.map +1 -0
- package/dist/area-D3Qx7k7K.cjs +2 -0
- package/dist/area-D3Qx7k7K.cjs.map +1 -0
- package/dist/array-B7TkkRH0.js +89 -0
- package/dist/array-B7TkkRH0.js.map +1 -0
- package/dist/array-DKbXV8lR.cjs +2 -0
- package/dist/array-DKbXV8lR.cjs.map +1 -0
- package/dist/band-BEjh2CHI.js +47 -0
- package/dist/band-BEjh2CHI.js.map +1 -0
- package/dist/band-CAApY4Pd.cjs +2 -0
- package/dist/band-CAApY4Pd.cjs.map +1 -0
- package/dist/checkIfMultiple-BB7PlCNh.js +2759 -0
- package/dist/checkIfMultiple-BB7PlCNh.js.map +1 -0
- package/dist/checkIfMultiple-D5ysrI7G.cjs +12 -0
- package/dist/checkIfMultiple-D5ysrI7G.cjs.map +1 -0
- package/dist/checkIfNullOrUndefined-BCW3Y1ML.cjs +2 -0
- package/dist/checkIfNullOrUndefined-BCW3Y1ML.cjs.map +1 -0
- package/dist/checkIfNullOrUndefined-DmfiKkNw.js +7 -0
- package/dist/checkIfNullOrUndefined-DmfiKkNw.js.map +1 -0
- package/dist/customArea-BYNyxAkm.cjs +2 -0
- package/dist/customArea-BYNyxAkm.cjs.map +1 -0
- package/dist/customArea-CaxScFmW.js +175 -0
- package/dist/customArea-CaxScFmW.js.map +1 -0
- package/dist/defaultLocale-BEa-49Qz.js +172 -0
- package/dist/defaultLocale-BEa-49Qz.js.map +1 -0
- package/dist/defaultLocale-DIVzfLaQ.cjs +2 -0
- package/dist/defaultLocale-DIVzfLaQ.cjs.map +1 -0
- package/dist/delaunay-C1uAf38t.js +684 -0
- package/dist/delaunay-C1uAf38t.js.map +1 -0
- package/dist/delaunay-rcy0HhZi.cjs +2 -0
- package/dist/delaunay-rcy0HhZi.cjs.map +1 -0
- package/dist/ensureCompleteData-BBDZbDCE.js +102 -0
- package/dist/ensureCompleteData-BBDZbDCE.js.map +1 -0
- package/dist/ensureCompleteData-DqWQ2Zbi.cjs +2 -0
- package/dist/ensureCompleteData-DqWQ2Zbi.cjs.map +1 -0
- package/dist/excelDownload-BOA-lskf.js +19 -0
- package/dist/excelDownload-BOA-lskf.js.map +1 -0
- package/dist/excelDownload-BQpsCa62.cjs +2 -0
- package/dist/excelDownload-BQpsCa62.cjs.map +1 -0
- package/dist/fetchAndParseData-Bcmr659B.js +1196 -0
- package/dist/fetchAndParseData-Bcmr659B.js.map +1 -0
- package/dist/fetchAndParseData-DmgQtB9n.cjs +16 -0
- package/dist/fetchAndParseData-DmgQtB9n.cjs.map +1 -0
- package/dist/fetchAndParseData.cjs +2 -0
- package/dist/fetchAndParseData.cjs.map +1 -0
- package/dist/fetchAndParseData.d.ts +84 -0
- package/dist/fetchAndParseData.js +10 -0
- package/dist/fetchAndParseData.js.map +1 -0
- package/dist/filterData-B8ocT57s.js +14 -0
- package/dist/filterData-B8ocT57s.js.map +1 -0
- package/dist/filterData-DN6py7y_.cjs +2 -0
- package/dist/filterData-DN6py7y_.cjs.map +1 -0
- package/dist/generateRandomString-B5zBiJzS.cjs +2 -0
- package/dist/generateRandomString-B5zBiJzS.cjs.map +1 -0
- package/dist/generateRandomString-za3IQGfQ.js +11 -0
- package/dist/generateRandomString-za3IQGfQ.js.map +1 -0
- package/dist/getGraphList-DuColTJM.js +265 -0
- package/dist/getGraphList-DuColTJM.js.map +1 -0
- package/dist/getGraphList-gf02xgT2.cjs +2 -0
- package/dist/getGraphList-gf02xgT2.cjs.map +1 -0
- package/dist/getJenks-TWQvbuOz.cjs +2 -0
- package/dist/getJenks-TWQvbuOz.cjs.map +1 -0
- package/dist/getJenks-VhM3GIoC.js +23 -0
- package/dist/getJenks-VhM3GIoC.js.map +1 -0
- package/dist/getSchema.cjs +2 -0
- package/dist/getSchema.cjs.map +1 -0
- package/dist/getSchema.d.ts +3256 -0
- package/dist/getSchema.js +911 -0
- package/dist/getSchema.js.map +1 -0
- package/dist/getSliderMarks-C0jptXeP.js +1054 -0
- package/dist/getSliderMarks-C0jptXeP.js.map +1 -0
- package/dist/getSliderMarks-CtsEXiLV.cjs +6 -0
- package/dist/getSliderMarks-CtsEXiLV.cjs.map +1 -0
- package/dist/getTextColorBasedOnBgColor-B6Nk2WBf.js +28 -0
- package/dist/getTextColorBasedOnBgColor-B6Nk2WBf.js.map +1 -0
- package/dist/getTextColorBasedOnBgColor-nqY-bsM_.cjs +2 -0
- package/dist/getTextColorBasedOnBgColor-nqY-bsM_.cjs.map +1 -0
- package/dist/getUniqValue-BtUENB2H.js +20 -0
- package/dist/getUniqValue-BtUENB2H.js.map +1 -0
- package/dist/getUniqValue-CHqgSss5.cjs +2 -0
- package/dist/getUniqValue-CHqgSss5.cjs.map +1 -0
- package/dist/imageDownload-CgDcm1Sj.cjs +3 -0
- package/dist/imageDownload-CgDcm1Sj.cjs.map +1 -0
- package/dist/imageDownload-Dcci2LEy.js +495 -0
- package/dist/imageDownload-Dcci2LEy.js.map +1 -0
- package/dist/index-27yTRcko.js +35 -0
- package/dist/index-27yTRcko.js.map +1 -0
- package/dist/index-B0rbzOoC.cjs +2 -0
- package/dist/index-B0rbzOoC.cjs.map +1 -0
- package/dist/index-BLizQDlg.js +658 -0
- package/dist/index-BLizQDlg.js.map +1 -0
- package/dist/index-BVnYktl4.js +435 -0
- package/dist/index-BVnYktl4.js.map +1 -0
- package/dist/index-BW_-wD2k.cjs +2 -0
- package/dist/index-BW_-wD2k.cjs.map +1 -0
- package/dist/index-BXns0-ng.cjs +2 -0
- package/dist/index-BXns0-ng.cjs.map +1 -0
- package/dist/index-BczVvEBZ.cjs +2 -0
- package/dist/index-BczVvEBZ.cjs.map +1 -0
- package/dist/index-BmCqpO1B.js +342 -0
- package/dist/index-BmCqpO1B.js.map +1 -0
- package/dist/index-BxAUvrua.js +120 -0
- package/dist/index-BxAUvrua.js.map +1 -0
- package/dist/index-BzeLQvXk.cjs +2 -0
- package/dist/index-BzeLQvXk.cjs.map +1 -0
- package/dist/index-C1rRk_50.js +273 -0
- package/dist/index-C1rRk_50.js.map +1 -0
- package/dist/index-C21TvELx.cjs +2 -0
- package/dist/index-C21TvELx.cjs.map +1 -0
- package/dist/index-CHPV5EwG-BPSP-7Jg.js +3341 -0
- package/dist/index-CHPV5EwG-BPSP-7Jg.js.map +1 -0
- package/dist/index-CHPV5EwG-DDoeWRVt.cjs +44 -0
- package/dist/index-CHPV5EwG-DDoeWRVt.cjs.map +1 -0
- package/dist/index-CZbIGs8q.cjs +2 -0
- package/dist/index-CZbIGs8q.cjs.map +1 -0
- package/dist/index-CaAIPGZo.js +631 -0
- package/dist/index-CaAIPGZo.js.map +1 -0
- package/dist/index-CylX-pWB.cjs +2 -0
- package/dist/index-CylX-pWB.cjs.map +1 -0
- package/dist/index-D7ltPi18.js +26 -0
- package/dist/index-D7ltPi18.js.map +1 -0
- package/dist/index-D9h2WYDS.cjs +22 -0
- package/dist/index-D9h2WYDS.cjs.map +1 -0
- package/dist/index-DG3YrCr5-D3FrrXj8.js +459 -0
- package/dist/index-DG3YrCr5-D3FrrXj8.js.map +1 -0
- package/dist/index-DG3YrCr5-v7rayV3N.cjs +2 -0
- package/dist/index-DG3YrCr5-v7rayV3N.cjs.map +1 -0
- package/dist/index-DVOJ7vxH.cjs +10 -0
- package/dist/index-DVOJ7vxH.cjs.map +1 -0
- package/dist/index-D_n8aamX.cjs +2 -0
- package/dist/index-D_n8aamX.cjs.map +1 -0
- package/dist/index-Ds0uHjK9.cjs +2 -0
- package/dist/index-Ds0uHjK9.cjs.map +1 -0
- package/dist/index-DxagiOHo.js +707 -0
- package/dist/index-DxagiOHo.js.map +1 -0
- package/dist/index-OCoyy1wG.js +635 -0
- package/dist/index-OCoyy1wG.js.map +1 -0
- package/dist/index-UV9hjG_S.js +53 -0
- package/dist/index-UV9hjG_S.js.map +1 -0
- package/dist/index-n_RI8T0n.js +77 -0
- package/dist/index-n_RI8T0n.js.map +1 -0
- package/dist/index-tvAyXPPW-DBlMKnNB.js +47 -0
- package/dist/index-tvAyXPPW-DBlMKnNB.js.map +1 -0
- package/dist/index-tvAyXPPW-DPOG-C2i.cjs +2 -0
- package/dist/index-tvAyXPPW-DPOG-C2i.cjs.map +1 -0
- package/dist/index.cjs +1 -67
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -5
- package/dist/index.js +178 -52486
- package/dist/index.js.map +1 -1
- package/dist/init-BhZylTFx.js +63 -0
- package/dist/init-BhZylTFx.js.map +1 -0
- package/dist/init-DU0ybBc_.cjs +2 -0
- package/dist/init-DU0ybBc_.cjs.map +1 -0
- package/dist/line-CPfhohvF.js +68 -0
- package/dist/line-CPfhohvF.js.map +1 -0
- package/dist/line-DHV4JwCR.cjs +2 -0
- package/dist/line-DHV4JwCR.cjs.map +1 -0
- package/dist/linear-BVckp9RD.cjs +2 -0
- package/dist/linear-BVckp9RD.cjs.map +1 -0
- package/dist/linear-DUdu7l2G.js +221 -0
- package/dist/linear-DUdu7l2G.js.map +1 -0
- package/dist/numberFormattingFunction-02t-wJta.cjs +2 -0
- package/dist/numberFormattingFunction-02t-wJta.cjs.map +1 -0
- package/dist/numberFormattingFunction-14YCbkN2.js +13 -0
- package/dist/numberFormattingFunction-14YCbkN2.js.map +1 -0
- package/dist/ordinal-BOeNbyae.cjs +2 -0
- package/dist/ordinal-BOeNbyae.cjs.map +1 -0
- package/dist/ordinal-w9Lu4Stb.js +62 -0
- package/dist/ordinal-w9Lu4Stb.js.map +1 -0
- package/dist/parse-DlCRUFh_.js +2768 -0
- package/dist/parse-DlCRUFh_.js.map +1 -0
- package/dist/parse-hMnG_lRV.cjs +2 -0
- package/dist/parse-hMnG_lRV.cjs.map +1 -0
- package/dist/pointer-CWRWOsrb.js +23 -0
- package/dist/pointer-CWRWOsrb.js.map +1 -0
- package/dist/pointer-Dkq5NV1q.cjs +2 -0
- package/dist/pointer-Dkq5NV1q.cjs.map +1 -0
- package/dist/pow-B5-jkdHU.cjs +2 -0
- package/dist/pow-B5-jkdHU.cjs.map +1 -0
- package/dist/pow-e8zx3AQJ.js +35 -0
- package/dist/pow-e8zx3AQJ.js.map +1 -0
- package/dist/proxy-DJxJg1kD.js +4612 -0
- package/dist/proxy-DJxJg1kD.js.map +1 -0
- package/dist/proxy-PQd2AItT.cjs +2 -0
- package/dist/proxy-PQd2AItT.cjs.map +1 -0
- package/dist/removeOutliers-DR48e-18.js +57 -0
- package/dist/removeOutliers-DR48e-18.js.map +1 -0
- package/dist/removeOutliers-WELHHqiI.cjs +2 -0
- package/dist/removeOutliers-WELHHqiI.cjs.map +1 -0
- package/dist/select-Bnfk0lJx.cjs +2 -0
- package/dist/select-Bnfk0lJx.cjs.map +1 -0
- package/dist/select-DKy99ogv.js +584 -0
- package/dist/select-DKy99ogv.js.map +1 -0
- package/dist/simple-statistics-flVzqVtt.js +65 -0
- package/dist/simple-statistics-flVzqVtt.js.map +1 -0
- package/dist/simple-statistics-xm8c0LQQ.cjs +2 -0
- package/dist/simple-statistics-xm8c0LQQ.cjs.map +1 -0
- package/dist/step-BZ3C8QFW.cjs +2 -0
- package/dist/step-BZ3C8QFW.cjs.map +1 -0
- package/dist/step-BrDul-H4.js +119 -0
- package/dist/step-BrDul-H4.js.map +1 -0
- package/dist/string-B8KlVSPX.js +364 -0
- package/dist/string-B8KlVSPX.js.map +1 -0
- package/dist/string-CRoCZCYa.cjs +2 -0
- package/dist/string-CRoCZCYa.cjs.map +1 -0
- package/dist/string2HTML-CWHGfz_d.js +758 -0
- package/dist/string2HTML-CWHGfz_d.js.map +1 -0
- package/dist/string2HTML-D2Avudmb.cjs +3 -0
- package/dist/string2HTML-D2Avudmb.cjs.map +1 -0
- package/dist/style.css +1 -1
- package/dist/svgDownload-C2-E3yf2.js +9 -0
- package/dist/svgDownload-C2-E3yf2.js.map +1 -0
- package/dist/svgDownload-D9zEGjTF.cjs +2 -0
- package/dist/svgDownload-D9zEGjTF.cjs.map +1 -0
- package/dist/threshold-DFfqcDMa.js +23 -0
- package/dist/threshold-DFfqcDMa.js.map +1 -0
- package/dist/threshold-DNsSUf8Q.cjs +2 -0
- package/dist/threshold-DNsSUf8Q.cjs.map +1 -0
- package/dist/time-Byw_jYQ7.cjs +2 -0
- package/dist/time-Byw_jYQ7.cjs.map +1 -0
- package/dist/time-BzJP5SPC.js +715 -0
- package/dist/time-BzJP5SPC.js.map +1 -0
- package/dist/timer-B39XOBYL.js +124 -0
- package/dist/timer-B39XOBYL.js.map +1 -0
- package/dist/timer-CKyBCVzT.cjs +2 -0
- package/dist/timer-CKyBCVzT.cjs.map +1 -0
- package/dist/toConsumableArray-DiWOvh_d-DcLaZvDq.cjs +4 -0
- package/dist/toConsumableArray-DiWOvh_d-DcLaZvDq.cjs.map +1 -0
- package/dist/toConsumableArray-DiWOvh_d-DlpOlgap.js +145 -0
- package/dist/toConsumableArray-DiWOvh_d-DlpOlgap.js.map +1 -0
- package/dist/transformData.cjs +2 -0
- package/dist/transformData.cjs.map +1 -0
- package/dist/transformData.d.ts +170 -0
- package/dist/transformData.js +10 -0
- package/dist/transformData.js.map +1 -0
- package/dist/transformDataForAggregation-BUGJnson.cjs +2 -0
- package/dist/transformDataForAggregation-BUGJnson.cjs.map +1 -0
- package/dist/transformDataForAggregation-DAQJWGNL.js +759 -0
- package/dist/transformDataForAggregation-DAQJWGNL.js.map +1 -0
- package/dist/transformDataForGraphFromFile-CrntpaMU.cjs +2 -0
- package/dist/transformDataForGraphFromFile-CrntpaMU.cjs.map +1 -0
- package/dist/transformDataForGraphFromFile-DdNiOWeC.js +24 -0
- package/dist/transformDataForGraphFromFile-DdNiOWeC.js.map +1 -0
- package/dist/use-in-view-BAHrBy6b.js +40 -0
- package/dist/use-in-view-BAHrBy6b.js.map +1 -0
- package/dist/use-in-view-BCmzDU2O.cjs +2 -0
- package/dist/use-in-view-BCmzDU2O.cjs.map +1 -0
- package/dist/utils.cjs +2 -0
- package/dist/utils.cjs.map +1 -0
- package/dist/utils.d.ts +217 -0
- package/dist/utils.js +27 -0
- package/dist/utils.js.map +1 -0
- package/dist/validateSchema.cjs +2 -0
- package/dist/validateSchema.cjs.map +1 -0
- package/dist/validateSchema.d.ts +68 -0
- package/dist/validateSchema.js +105 -0
- package/dist/validateSchema.js.map +1 -0
- package/dist/x-CnsEH4Ox-CGGXQl4M.cjs +27 -0
- package/dist/x-CnsEH4Ox-CGGXQl4M.cjs.map +1 -0
- package/dist/x-CnsEH4Ox-DDvAJndW.js +101 -0
- package/dist/x-CnsEH4Ox-DDvAJndW.js.map +1 -0
- package/dist/y-D0sAaVii.js +421 -0
- package/dist/y-D0sAaVii.js.map +1 -0
- package/dist/y-QcCbqrzx.cjs +2 -0
- package/dist/y-QcCbqrzx.cjs.map +1 -0
- package/dist/zoom-Lo7IAUfC.cjs +2 -0
- package/dist/zoom-Lo7IAUfC.cjs.map +1 -0
- package/dist/zoom-_lqdiGoI.js +1983 -0
- package/dist/zoom-_lqdiGoI.js.map +1 -0
- package/package.json +340 -4
|
@@ -0,0 +1,460 @@
|
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
declare interface AnimateDataType {
|
|
4
|
+
duration: number;
|
|
5
|
+
once: boolean;
|
|
6
|
+
amount: 'some' | 'all' | number;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
declare interface AxesClassNameObject {
|
|
10
|
+
gridLines?: string;
|
|
11
|
+
labels?: string;
|
|
12
|
+
title?: string;
|
|
13
|
+
axis?: string;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
declare interface AxesStyleObject {
|
|
17
|
+
gridLines?: React.CSSProperties;
|
|
18
|
+
labels?: React.CSSProperties;
|
|
19
|
+
title?: React.CSSProperties;
|
|
20
|
+
axis?: React.CSSProperties;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
declare interface BarGraphDataType {
|
|
24
|
+
label: string | number;
|
|
25
|
+
date?: string | number;
|
|
26
|
+
size?: number | null;
|
|
27
|
+
color?: string | null;
|
|
28
|
+
data?: object;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
declare interface ClassNameObject {
|
|
32
|
+
title?: string;
|
|
33
|
+
footnote?: string;
|
|
34
|
+
source?: string;
|
|
35
|
+
description?: string;
|
|
36
|
+
tooltip?: string;
|
|
37
|
+
xAxis?: AxesClassNameObject;
|
|
38
|
+
yAxis?: AxesClassNameObject;
|
|
39
|
+
legend?: string;
|
|
40
|
+
graphContainer?: string;
|
|
41
|
+
graphObjectValues?: string;
|
|
42
|
+
dataConnectors?: string;
|
|
43
|
+
mouseOverLine?: string;
|
|
44
|
+
regLine?: string;
|
|
45
|
+
dataCards?: string;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
declare interface CustomLayerDataType {
|
|
49
|
+
position: 'before' | 'after';
|
|
50
|
+
layer: React.ReactNode;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
declare interface GroupedBarChartProps {
|
|
54
|
+
/** Array of data objects */
|
|
55
|
+
data: GroupedBarGraphDataType[];
|
|
56
|
+
/** Orientation of the graph */
|
|
57
|
+
orientation?: 'vertical' | 'horizontal';
|
|
58
|
+
/** Title of the graph */
|
|
59
|
+
graphTitle?: string | React.ReactNode;
|
|
60
|
+
/** Description of the graph */
|
|
61
|
+
graphDescription?: string | React.ReactNode;
|
|
62
|
+
/** Footnote for the graph */
|
|
63
|
+
footNote?: string | React.ReactNode;
|
|
64
|
+
/** Source data for the graph */
|
|
65
|
+
sources?: SourcesDataType[];
|
|
66
|
+
/** Accessibility label */
|
|
67
|
+
ariaLabel?: string;
|
|
68
|
+
/** Array of colors for different bars in the group */
|
|
69
|
+
colors?: string[];
|
|
70
|
+
/** Domain of colors for the graph */
|
|
71
|
+
colorDomain: string[];
|
|
72
|
+
/** Title for the color legend */
|
|
73
|
+
colorLegendTitle?: string;
|
|
74
|
+
/** Color of value labels */
|
|
75
|
+
valueColor?: string;
|
|
76
|
+
/** Background color of the graph */
|
|
77
|
+
backgroundColor?: string | boolean;
|
|
78
|
+
/** Custom styles for the graph. Each object should be a valid React CSS style object. */
|
|
79
|
+
styles?: StyleObject;
|
|
80
|
+
/** Custom class names */
|
|
81
|
+
classNames?: ClassNameObject;
|
|
82
|
+
/** Width of the graph */
|
|
83
|
+
width?: number;
|
|
84
|
+
/** Height of the graph */
|
|
85
|
+
height?: number;
|
|
86
|
+
/** Minimum height of the graph */
|
|
87
|
+
minHeight?: number;
|
|
88
|
+
/** Relative height scaling factor. This overwrites the height props */
|
|
89
|
+
relativeHeight?: number;
|
|
90
|
+
/** Padding around the graph. Defaults to 0 if no backgroundColor is mentioned else defaults to 1rem */
|
|
91
|
+
padding?: string;
|
|
92
|
+
/** Left margin of the graph */
|
|
93
|
+
leftMargin?: number;
|
|
94
|
+
/** Right margin of the graph */
|
|
95
|
+
rightMargin?: number;
|
|
96
|
+
/** Top margin of the graph */
|
|
97
|
+
topMargin?: number;
|
|
98
|
+
/** Bottom margin of the graph */
|
|
99
|
+
bottomMargin?: number;
|
|
100
|
+
/** Padding between bars */
|
|
101
|
+
barPadding?: number;
|
|
102
|
+
/** Maximum thickness of bars */
|
|
103
|
+
maxBarThickness?: number;
|
|
104
|
+
/** Prefix for values */
|
|
105
|
+
prefix?: string;
|
|
106
|
+
/** Suffix for values */
|
|
107
|
+
suffix?: string;
|
|
108
|
+
/** Maximum value for the chart */
|
|
109
|
+
maxValue?: number;
|
|
110
|
+
/** Minimum value for the chart */
|
|
111
|
+
minValue?: number;
|
|
112
|
+
/** Truncate labels by specified length */
|
|
113
|
+
truncateBy?: number;
|
|
114
|
+
/** Toggles if data points which have all the values as undefined or null are filtered out. */
|
|
115
|
+
filterNA?: boolean;
|
|
116
|
+
/** Toggles if the graph animates in when loaded. */
|
|
117
|
+
animate?: boolean | AnimateDataType;
|
|
118
|
+
/** Reference values for comparison */
|
|
119
|
+
refValues?: ReferenceDataType[];
|
|
120
|
+
/** Number of ticks on the axis */
|
|
121
|
+
noOfTicks?: number;
|
|
122
|
+
/** Toggle visibility of labels */
|
|
123
|
+
showLabels?: boolean;
|
|
124
|
+
/** Toggle visibility of values */
|
|
125
|
+
showValues?: boolean;
|
|
126
|
+
/** Custom order for labels */
|
|
127
|
+
labelOrder?: string[];
|
|
128
|
+
/** Toggle visibility of axis ticks */
|
|
129
|
+
showTicks?: boolean;
|
|
130
|
+
/** Toggle visibility of color scale. This is only applicable if the data props hae color parameter */
|
|
131
|
+
showColorScale?: boolean;
|
|
132
|
+
/** Title for the bar axis */
|
|
133
|
+
barAxisTitle?: string;
|
|
134
|
+
/** Defines how “NA” values should be displayed/labelled in the graph */
|
|
135
|
+
naLabel?: string;
|
|
136
|
+
/** Specifies the number of decimal places to display in the value. */
|
|
137
|
+
precision?: number;
|
|
138
|
+
/** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
|
|
139
|
+
customLayers?: CustomLayerDataType[];
|
|
140
|
+
/** Configures playback and slider controls for animating the chart over time. The data must have a key date for it to work properly. */
|
|
141
|
+
timeline?: TimelineDataType;
|
|
142
|
+
/** Enable graph download option as png */
|
|
143
|
+
graphDownload?: boolean;
|
|
144
|
+
/** Enable data download option as a csv */
|
|
145
|
+
dataDownload?: boolean;
|
|
146
|
+
/** Reset selection on double-click. Only applicable when used in a dashboard context with filters. */
|
|
147
|
+
resetSelectionOnDoubleClick?: boolean;
|
|
148
|
+
/** 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 */
|
|
149
|
+
tooltip?: string | ((_d: any) => React.ReactNode);
|
|
150
|
+
/** 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 */
|
|
151
|
+
detailsOnClick?: string | ((_d: any) => React.ReactNode);
|
|
152
|
+
/** Callback for mouse over event */
|
|
153
|
+
onSeriesMouseOver?: (_d: any) => void;
|
|
154
|
+
/** Callback for mouse click event */
|
|
155
|
+
onSeriesMouseClick?: (_d: any) => void;
|
|
156
|
+
/** Language setting */
|
|
157
|
+
language?: Languages;
|
|
158
|
+
/** Color theme */
|
|
159
|
+
theme?: 'light' | 'dark';
|
|
160
|
+
/** Unique ID for the graph */
|
|
161
|
+
graphID?: string;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
export declare function GroupedBarGraph(props: GroupedBarChartProps): JSX.Element;
|
|
165
|
+
|
|
166
|
+
declare interface GroupedBarGraphDataType {
|
|
167
|
+
label: string | number;
|
|
168
|
+
size: (number | null)[];
|
|
169
|
+
date?: string | number;
|
|
170
|
+
data?: object;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
declare type Languages = 'en' | 'ar' | 'az' | 'bn' | 'cy' | 'he' | 'hi' | 'jp' | 'ka' | 'km' | 'ko' | 'my' | 'ne' | 'zh' | 'custom';
|
|
174
|
+
|
|
175
|
+
declare interface Props {
|
|
176
|
+
/** Array of data objects */
|
|
177
|
+
data: BarGraphDataType[];
|
|
178
|
+
/** Orientation of the graph */
|
|
179
|
+
orientation?: 'vertical' | 'horizontal';
|
|
180
|
+
/** Title of the graph */
|
|
181
|
+
graphTitle?: string | React.ReactNode;
|
|
182
|
+
/** Description of the graph */
|
|
183
|
+
graphDescription?: string | React.ReactNode;
|
|
184
|
+
/** Footnote for the graph */
|
|
185
|
+
footNote?: string | React.ReactNode;
|
|
186
|
+
/** Source data for the graph */
|
|
187
|
+
sources?: SourcesDataType[];
|
|
188
|
+
/** Accessibility label */
|
|
189
|
+
ariaLabel?: string;
|
|
190
|
+
/** Color or array of colors for bars */
|
|
191
|
+
colors?: string | string[];
|
|
192
|
+
/** Domain of colors for the graph */
|
|
193
|
+
colorDomain?: string[];
|
|
194
|
+
/** Title for the color legend */
|
|
195
|
+
colorLegendTitle?: string;
|
|
196
|
+
/** Color of value labels */
|
|
197
|
+
valueColor?: string;
|
|
198
|
+
/** Background color of the graph */
|
|
199
|
+
backgroundColor?: string | boolean;
|
|
200
|
+
/** Custom styles for the graph. Each object should be a valid React CSS style object. */
|
|
201
|
+
styles?: StyleObject;
|
|
202
|
+
/** Custom class names */
|
|
203
|
+
classNames?: ClassNameObject;
|
|
204
|
+
/** Width of the graph */
|
|
205
|
+
width?: number;
|
|
206
|
+
/** Height of the graph */
|
|
207
|
+
height?: number;
|
|
208
|
+
/** Minimum height of the graph */
|
|
209
|
+
minHeight?: number;
|
|
210
|
+
/** Relative height scaling factor. This overwrites the height props */
|
|
211
|
+
relativeHeight?: number;
|
|
212
|
+
/** Padding around the graph. Defaults to 0 if no backgroundColor is mentioned else defaults to 1rem */
|
|
213
|
+
padding?: string;
|
|
214
|
+
/** Left margin of the graph */
|
|
215
|
+
leftMargin?: number;
|
|
216
|
+
/** Right margin of the graph */
|
|
217
|
+
rightMargin?: number;
|
|
218
|
+
/** Top margin of the graph */
|
|
219
|
+
topMargin?: number;
|
|
220
|
+
/** Bottom margin of the graph */
|
|
221
|
+
bottomMargin?: number;
|
|
222
|
+
/** Padding between bars */
|
|
223
|
+
barPadding?: number;
|
|
224
|
+
/** Maximum thickness of bars */
|
|
225
|
+
maxBarThickness?: number;
|
|
226
|
+
/** Minimum thickness of bars */
|
|
227
|
+
minBarThickness?: number;
|
|
228
|
+
/** Maximum number of bars shown in the graph */
|
|
229
|
+
maxNumberOfBars?: number;
|
|
230
|
+
/** Prefix for values */
|
|
231
|
+
prefix?: string;
|
|
232
|
+
/** Suffix for values */
|
|
233
|
+
suffix?: string;
|
|
234
|
+
/** Maximum value for the chart */
|
|
235
|
+
maxValue?: number;
|
|
236
|
+
/** Minimum value for the chart */
|
|
237
|
+
minValue?: number;
|
|
238
|
+
/** Truncate labels by specified length */
|
|
239
|
+
truncateBy?: number;
|
|
240
|
+
/** Reference values for comparison */
|
|
241
|
+
refValues?: ReferenceDataType[];
|
|
242
|
+
/** Number of ticks on the axis */
|
|
243
|
+
noOfTicks?: number;
|
|
244
|
+
/** Toggle visibility of labels */
|
|
245
|
+
showLabels?: boolean;
|
|
246
|
+
/** Toggle visibility of values */
|
|
247
|
+
showValues?: boolean;
|
|
248
|
+
/** Custom order for labels */
|
|
249
|
+
labelOrder?: string[];
|
|
250
|
+
/** Defines how “NA” values should be displayed/labelled in the graph */
|
|
251
|
+
naLabel?: string;
|
|
252
|
+
/** Toggle visibility of axis ticks */
|
|
253
|
+
showTicks?: boolean;
|
|
254
|
+
/** Toggle visibility of color scale. This is only applicable if the data props hae color parameter */
|
|
255
|
+
showColorScale?: boolean;
|
|
256
|
+
/** Toggle visibility of NA color in the color scale. This is only applicable if the data props hae color parameter and showColorScale prop is true */
|
|
257
|
+
showNAColor?: boolean;
|
|
258
|
+
/** Data points to highlight. Use the label value from data to highlight the data point */
|
|
259
|
+
highlightedDataPoints?: (string | number)[];
|
|
260
|
+
/** Defines the opacity of the non-highlighted data */
|
|
261
|
+
dimmedOpacity?: number;
|
|
262
|
+
/** Title for the bar axis */
|
|
263
|
+
barAxisTitle?: string;
|
|
264
|
+
/** Sorting order for data. This is overwritten by labelOrder prop. */
|
|
265
|
+
sortData?: 'asc' | 'desc';
|
|
266
|
+
/** Toggles if data point which are undefined or has value null are filtered out. */
|
|
267
|
+
filterNA?: boolean;
|
|
268
|
+
/** Toggles if the graph animates in when loaded. */
|
|
269
|
+
animate?: boolean | AnimateDataType;
|
|
270
|
+
/** Specifies the number of decimal places to display in the value. */
|
|
271
|
+
precision?: number;
|
|
272
|
+
/** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
|
|
273
|
+
customLayers?: CustomLayerDataType[];
|
|
274
|
+
/** Configures playback and slider controls for animating the chart over time. The data must have a key date for it to work properly. */
|
|
275
|
+
timeline?: TimelineDataType;
|
|
276
|
+
/** Enable graph download option as png */
|
|
277
|
+
graphDownload?: boolean;
|
|
278
|
+
/** Enable data download option as a csv */
|
|
279
|
+
dataDownload?: boolean;
|
|
280
|
+
/** Reset selection on double-click. Only applicable when used in a dashboard context with filters. */
|
|
281
|
+
resetSelectionOnDoubleClick?: boolean;
|
|
282
|
+
/** 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 */
|
|
283
|
+
tooltip?: string | ((_d: any) => React.ReactNode);
|
|
284
|
+
/** 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 */
|
|
285
|
+
detailsOnClick?: string | ((_d: any) => React.ReactNode);
|
|
286
|
+
/** Callback for mouse over event */
|
|
287
|
+
onSeriesMouseOver?: (_d: any) => void;
|
|
288
|
+
/** Callback for mouse click event */
|
|
289
|
+
onSeriesMouseClick?: (_d: any) => void;
|
|
290
|
+
/** Language setting */
|
|
291
|
+
language?: Languages;
|
|
292
|
+
/** Color theme */
|
|
293
|
+
theme?: 'light' | 'dark';
|
|
294
|
+
/** Unique ID for the graph */
|
|
295
|
+
graphID?: string;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
declare interface ReferenceDataType {
|
|
299
|
+
value: number | null;
|
|
300
|
+
text: string;
|
|
301
|
+
color?: string;
|
|
302
|
+
styles?: {
|
|
303
|
+
line?: React.CSSProperties;
|
|
304
|
+
text?: React.CSSProperties;
|
|
305
|
+
};
|
|
306
|
+
classNames?: {
|
|
307
|
+
line?: string;
|
|
308
|
+
text?: string;
|
|
309
|
+
};
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
export declare function SimpleBarGraph(props: Props): JSX.Element;
|
|
313
|
+
|
|
314
|
+
declare interface SourcesDataType {
|
|
315
|
+
source: string;
|
|
316
|
+
link?: string;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
declare interface StackedBarChartProps {
|
|
320
|
+
/** Array of data objects */
|
|
321
|
+
data: GroupedBarGraphDataType[];
|
|
322
|
+
/** Orientation of the graph */
|
|
323
|
+
orientation?: 'vertical' | 'horizontal';
|
|
324
|
+
/** Title of the graph */
|
|
325
|
+
graphTitle?: string | React.ReactNode;
|
|
326
|
+
/** Description of the graph */
|
|
327
|
+
graphDescription?: string | React.ReactNode;
|
|
328
|
+
/** Footnote for the graph */
|
|
329
|
+
footNote?: string | React.ReactNode;
|
|
330
|
+
/** Source data for the graph */
|
|
331
|
+
sources?: SourcesDataType[];
|
|
332
|
+
/** Accessibility label */
|
|
333
|
+
ariaLabel?: string;
|
|
334
|
+
/** Array of colors for different bars in the group */
|
|
335
|
+
colors?: string[];
|
|
336
|
+
/** Domain of colors for the graph */
|
|
337
|
+
colorDomain: string[];
|
|
338
|
+
/** Title for the color legend */
|
|
339
|
+
colorLegendTitle?: string;
|
|
340
|
+
/** Color of value labels */
|
|
341
|
+
valueColor?: string;
|
|
342
|
+
/** Background color of the graph */
|
|
343
|
+
backgroundColor?: string | boolean;
|
|
344
|
+
/** Custom styles for the graph. Each object should be a valid React CSS style object. */
|
|
345
|
+
styles?: StyleObject;
|
|
346
|
+
/** Custom class names */
|
|
347
|
+
classNames?: ClassNameObject;
|
|
348
|
+
/** Width of the graph */
|
|
349
|
+
width?: number;
|
|
350
|
+
/** Height of the graph */
|
|
351
|
+
height?: number;
|
|
352
|
+
/** Minimum height of the graph */
|
|
353
|
+
minHeight?: number;
|
|
354
|
+
/** Relative height scaling factor. This overwrites the height props */
|
|
355
|
+
relativeHeight?: number;
|
|
356
|
+
/** Padding around the graph. Defaults to 0 if no backgroundColor is mentioned else defaults to 1rem */
|
|
357
|
+
padding?: string;
|
|
358
|
+
/** Left margin of the graph */
|
|
359
|
+
leftMargin?: number;
|
|
360
|
+
/** Right margin of the graph */
|
|
361
|
+
rightMargin?: number;
|
|
362
|
+
/** Top margin of the graph */
|
|
363
|
+
topMargin?: number;
|
|
364
|
+
/** Bottom margin of the graph */
|
|
365
|
+
bottomMargin?: number;
|
|
366
|
+
/** Padding between bars */
|
|
367
|
+
barPadding?: number;
|
|
368
|
+
/** Maximum thickness of bars */
|
|
369
|
+
maxBarThickness?: number;
|
|
370
|
+
/** Minimum thickness of bars */
|
|
371
|
+
minBarThickness?: number;
|
|
372
|
+
/** Maximum number of bars shown in the graph */
|
|
373
|
+
maxNumberOfBars?: number;
|
|
374
|
+
/** Prefix for values */
|
|
375
|
+
prefix?: string;
|
|
376
|
+
/** Suffix for values */
|
|
377
|
+
suffix?: string;
|
|
378
|
+
/** Maximum value for the chart */
|
|
379
|
+
maxValue?: number;
|
|
380
|
+
/** Minimum value for the chart */
|
|
381
|
+
truncateBy?: number;
|
|
382
|
+
/** Reference values for comparison */
|
|
383
|
+
refValues?: ReferenceDataType[];
|
|
384
|
+
/** Number of ticks on the axis */
|
|
385
|
+
noOfTicks?: number;
|
|
386
|
+
/** Toggle visibility of labels */
|
|
387
|
+
showLabels?: boolean;
|
|
388
|
+
/** Toggle visibility of values */
|
|
389
|
+
showValues?: boolean;
|
|
390
|
+
/** Custom order for labels */
|
|
391
|
+
labelOrder?: string[];
|
|
392
|
+
/** Toggle visibility of axis ticks */
|
|
393
|
+
showTicks?: boolean;
|
|
394
|
+
/** Toggle visibility of color scale. This is only applicable if the data props hae color parameter */
|
|
395
|
+
showColorScale?: boolean;
|
|
396
|
+
/** Title for the bar axis */
|
|
397
|
+
barAxisTitle?: string;
|
|
398
|
+
/** Defines how “NA” values should be displayed/labelled in the graph */
|
|
399
|
+
naLabel?: string;
|
|
400
|
+
/** 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. */
|
|
401
|
+
sortParameter?: number | 'total';
|
|
402
|
+
/** Toggles if data points which have all the values as undefined or null are filtered out. */
|
|
403
|
+
filterNA?: boolean;
|
|
404
|
+
/** Toggles if the graph animates in when loaded. */
|
|
405
|
+
animate?: boolean | AnimateDataType;
|
|
406
|
+
/** Specifies the number of decimal places to display in the value. */
|
|
407
|
+
precision?: number;
|
|
408
|
+
/** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
|
|
409
|
+
customLayers?: CustomLayerDataType[];
|
|
410
|
+
/** Configures playback and slider controls for animating the chart over time. The data must have a key date for it to work properly. */
|
|
411
|
+
timeline?: TimelineDataType;
|
|
412
|
+
/** Enable graph download option as png */
|
|
413
|
+
graphDownload?: boolean;
|
|
414
|
+
/** Enable data download option as a csv */
|
|
415
|
+
dataDownload?: boolean;
|
|
416
|
+
/** Reset selection on double-click. Only applicable when used in a dashboard context with filters. */
|
|
417
|
+
resetSelectionOnDoubleClick?: boolean;
|
|
418
|
+
/** 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 */
|
|
419
|
+
tooltip?: string | ((_d: any) => React.ReactNode);
|
|
420
|
+
/** 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 */
|
|
421
|
+
detailsOnClick?: string | ((_d: any) => React.ReactNode);
|
|
422
|
+
/** Callback for mouse over event */
|
|
423
|
+
onSeriesMouseOver?: (_d: any) => void;
|
|
424
|
+
/** Callback for mouse click event */
|
|
425
|
+
onSeriesMouseClick?: (_d: any) => void;
|
|
426
|
+
/** Language setting */
|
|
427
|
+
language?: Languages;
|
|
428
|
+
/** Color theme */
|
|
429
|
+
theme?: 'light' | 'dark';
|
|
430
|
+
/** Unique ID for the graph */
|
|
431
|
+
graphID?: string;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
export declare function StackedBarGraph(props: StackedBarChartProps): JSX.Element;
|
|
435
|
+
|
|
436
|
+
declare interface StyleObject {
|
|
437
|
+
title?: React.CSSProperties;
|
|
438
|
+
footnote?: React.CSSProperties;
|
|
439
|
+
source?: React.CSSProperties;
|
|
440
|
+
description?: React.CSSProperties;
|
|
441
|
+
graphContainer?: React.CSSProperties;
|
|
442
|
+
tooltip?: React.CSSProperties;
|
|
443
|
+
xAxis?: AxesStyleObject;
|
|
444
|
+
yAxis?: AxesStyleObject;
|
|
445
|
+
graphObjectValues?: React.CSSProperties;
|
|
446
|
+
dataConnectors?: React.CSSProperties;
|
|
447
|
+
mouseOverLine?: React.CSSProperties;
|
|
448
|
+
regLine?: React.CSSProperties;
|
|
449
|
+
dataCards?: React.CSSProperties;
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
declare interface TimelineDataType {
|
|
453
|
+
autoplay: boolean;
|
|
454
|
+
enabled: boolean;
|
|
455
|
+
showOnlyActiveDate: boolean;
|
|
456
|
+
speed?: number;
|
|
457
|
+
dateFormat?: string;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
export { }
|