@lobehub/charts 6.0.0-beta.1 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/es/AccuracyBarChart/index.d.mts +62 -0
- package/es/AccuracyBarChart/index.mjs +324 -0
- package/es/AccuracyBarChart/index.mjs.map +1 -0
- package/es/AccuracyBarChart/styles.d.mts +14 -0
- package/es/AccuracyBarChart/styles.mjs +71 -0
- package/es/AccuracyBarChart/styles.mjs.map +1 -0
- package/es/AreaChart/index.d.mts +13 -0
- package/es/AreaChart/index.mjs +306 -0
- package/es/AreaChart/index.mjs.map +1 -0
- package/es/AreaChart/styles.d.mts +9 -0
- package/es/AreaChart/styles.mjs +28 -0
- package/es/AreaChart/styles.mjs.map +1 -0
- package/es/BarChart/index.d.mts +11 -0
- package/es/BarChart/index.mjs +288 -0
- package/es/BarChart/index.mjs.map +1 -0
- package/es/BarChart/{renderShape.d.ts → renderShape.d.mts} +3 -1
- package/es/BarChart/renderShape.mjs +28 -0
- package/es/BarChart/renderShape.mjs.map +1 -0
- package/es/BarChart/styles.d.mts +9 -0
- package/es/BarChart/styles.mjs +28 -0
- package/es/BarChart/styles.mjs.map +1 -0
- package/es/BarList/index.d.mts +32 -0
- package/es/BarList/index.mjs +126 -0
- package/es/BarList/index.mjs.map +1 -0
- package/es/BarList/styles.d.mts +13 -0
- package/es/BarList/styles.mjs +63 -0
- package/es/BarList/styles.mjs.map +1 -0
- package/es/BenchmarkColumnChart/index.d.mts +144 -0
- package/es/BenchmarkColumnChart/index.mjs +512 -0
- package/es/BenchmarkColumnChart/index.mjs.map +1 -0
- package/es/BenchmarkColumnChart/styles.d.mts +19 -0
- package/es/BenchmarkColumnChart/styles.mjs +129 -0
- package/es/BenchmarkColumnChart/styles.mjs.map +1 -0
- package/es/BenchmarkRankingChart/index.d.mts +91 -0
- package/es/BenchmarkRankingChart/index.mjs +345 -0
- package/es/BenchmarkRankingChart/index.mjs.map +1 -0
- package/es/BenchmarkRankingChart/styles.d.mts +36 -0
- package/es/BenchmarkRankingChart/styles.mjs +265 -0
- package/es/BenchmarkRankingChart/styles.mjs.map +1 -0
- package/es/BenchmarkScatterChart/index.d.mts +148 -0
- package/es/BenchmarkScatterChart/index.mjs +666 -0
- package/es/BenchmarkScatterChart/index.mjs.map +1 -0
- package/es/BenchmarkScatterChart/styles.d.mts +28 -0
- package/es/BenchmarkScatterChart/styles.mjs +193 -0
- package/es/BenchmarkScatterChart/styles.mjs.map +1 -0
- package/es/BenchmarkScatterChart/{utils.d.ts → utils.d.mts} +32 -29
- package/es/BenchmarkScatterChart/utils.mjs +214 -0
- package/es/BenchmarkScatterChart/utils.mjs.map +1 -0
- package/es/ComposedChart/index.d.mts +6 -0
- package/es/ComposedChart/index.mjs +252 -0
- package/es/ComposedChart/index.mjs.map +1 -0
- package/es/ComposedChart/styles.d.mts +9 -0
- package/es/ComposedChart/styles.mjs +28 -0
- package/es/ComposedChart/styles.mjs.map +1 -0
- package/es/ComposedChart/types.d.mts +71 -0
- package/es/ComposedChart/types.mjs +0 -0
- package/es/DataBars/CategoryBar.d.mts +17 -0
- package/es/DataBars/CategoryBar.mjs +144 -0
- package/es/DataBars/CategoryBar.mjs.map +1 -0
- package/es/DataBars/DeltaBar.d.mts +16 -0
- package/es/DataBars/DeltaBar.mjs +100 -0
- package/es/DataBars/DeltaBar.mjs.map +1 -0
- package/es/DataBars/MarkerBar.d.mts +19 -0
- package/es/DataBars/MarkerBar.mjs +72 -0
- package/es/DataBars/MarkerBar.mjs.map +1 -0
- package/es/DataBars/ProgressBar.d.mts +15 -0
- package/es/DataBars/ProgressBar.mjs +51 -0
- package/es/DataBars/ProgressBar.mjs.map +1 -0
- package/es/DataBars/index.d.mts +5 -0
- package/es/DataBars/index.mjs +5 -0
- package/es/DataBars/styles.d.mts +10 -0
- package/es/DataBars/styles.mjs +31 -0
- package/es/DataBars/styles.mjs.map +1 -0
- package/es/DonutChart/DonutChartTooltip.d.mts +14 -0
- package/es/DonutChart/DonutChartTooltip.mjs +25 -0
- package/es/DonutChart/DonutChartTooltip.mjs.map +1 -0
- package/es/DonutChart/index.d.mts +33 -0
- package/es/DonutChart/index.mjs +158 -0
- package/es/DonutChart/index.mjs.map +1 -0
- package/es/DonutChart/inputParser.d.mts +5 -0
- package/es/DonutChart/inputParser.mjs +8 -0
- package/es/DonutChart/inputParser.mjs.map +1 -0
- package/es/DonutChart/renderInactiveShape.d.mts +4 -0
- package/es/DonutChart/renderInactiveShape.mjs +22 -0
- package/es/DonutChart/renderInactiveShape.mjs.map +1 -0
- package/es/DonutChart/styles.d.mts +9 -0
- package/es/DonutChart/styles.mjs +28 -0
- package/es/DonutChart/styles.mjs.map +1 -0
- package/es/FunnelChart/ArrowRightIcon.d.mts +8 -0
- package/es/FunnelChart/ArrowRightIcon.mjs +14 -0
- package/es/FunnelChart/ArrowRightIcon.mjs.map +1 -0
- package/es/FunnelChart/index.d.mts +21 -0
- package/es/FunnelChart/index.mjs +419 -0
- package/es/FunnelChart/index.mjs.map +1 -0
- package/es/FunnelChart/styles.d.mts +9 -0
- package/es/FunnelChart/styles.mjs +28 -0
- package/es/FunnelChart/styles.mjs.map +1 -0
- package/es/FunnelChart/types.d.mts +31 -0
- package/es/FunnelChart/types.mjs +0 -0
- package/es/Heatmaps/Calendar.d.mts +21 -0
- package/es/Heatmaps/Calendar.mjs +107 -0
- package/es/Heatmaps/Calendar.mjs.map +1 -0
- package/es/Heatmaps/ChartLabels.d.mts +17 -0
- package/es/Heatmaps/ChartLabels.mjs +84 -0
- package/es/Heatmaps/ChartLabels.mjs.map +1 -0
- package/es/Heatmaps/Footer.d.mts +24 -0
- package/es/Heatmaps/Footer.mjs +81 -0
- package/es/Heatmaps/Footer.mjs.map +1 -0
- package/es/Heatmaps/index.d.mts +31 -0
- package/es/Heatmaps/index.mjs +186 -0
- package/es/Heatmaps/index.mjs.map +1 -0
- package/es/Heatmaps/styles.d.mts +10 -0
- package/es/Heatmaps/styles.mjs +47 -0
- package/es/Heatmaps/styles.mjs.map +1 -0
- package/es/Legend/LegendItem.d.mts +12 -0
- package/es/Legend/LegendItem.mjs +63 -0
- package/es/Legend/LegendItem.mjs.map +1 -0
- package/es/Legend/ScrollButton.d.mts +11 -0
- package/es/Legend/ScrollButton.mjs +49 -0
- package/es/Legend/ScrollButton.mjs.map +1 -0
- package/es/Legend/index.d.mts +16 -0
- package/es/Legend/index.mjs +151 -0
- package/es/Legend/index.mjs.map +1 -0
- package/es/LineChart/index.d.mts +11 -0
- package/es/LineChart/index.mjs +269 -0
- package/es/LineChart/index.mjs.map +1 -0
- package/es/LineChart/styles.d.mts +9 -0
- package/es/LineChart/styles.mjs +28 -0
- package/es/LineChart/styles.mjs.map +1 -0
- package/es/RadarChart/index.d.mts +27 -0
- package/es/RadarChart/index.mjs +155 -0
- package/es/RadarChart/index.mjs.map +1 -0
- package/es/RadarChart/styles.d.mts +8 -0
- package/es/RadarChart/styles.mjs +23 -0
- package/es/RadarChart/styles.mjs.map +1 -0
- package/es/ScatterChart/ScatterChartTooltip.d.mts +19 -0
- package/es/ScatterChart/ScatterChartTooltip.mjs +50 -0
- package/es/ScatterChart/ScatterChartTooltip.mjs.map +1 -0
- package/es/ScatterChart/ScatterChartTooltipRow.d.mts +10 -0
- package/es/ScatterChart/ScatterChartTooltipRow.mjs +34 -0
- package/es/ScatterChart/ScatterChartTooltipRow.mjs.map +1 -0
- package/es/ScatterChart/index.d.mts +58 -0
- package/es/ScatterChart/index.mjs +239 -0
- package/es/ScatterChart/index.mjs.map +1 -0
- package/es/ScatterChart/{renderShape.d.ts → renderShape.d.mts} +4 -1
- package/es/ScatterChart/renderShape.mjs +18 -0
- package/es/ScatterChart/renderShape.mjs.map +1 -0
- package/es/ScatterChart/styles.d.mts +9 -0
- package/es/ScatterChart/styles.mjs +28 -0
- package/es/ScatterChart/styles.mjs.map +1 -0
- package/es/SparkChart/SparkAreaChart.d.mts +14 -0
- package/es/SparkChart/SparkAreaChart.mjs +107 -0
- package/es/SparkChart/SparkAreaChart.mjs.map +1 -0
- package/es/SparkChart/SparkBarChart.d.mts +11 -0
- package/es/SparkChart/SparkBarChart.mjs +67 -0
- package/es/SparkChart/SparkBarChart.mjs.map +1 -0
- package/es/SparkChart/SparkLineChart.d.mts +12 -0
- package/es/SparkChart/SparkLineChart.mjs +71 -0
- package/es/SparkChart/SparkLineChart.mjs.map +1 -0
- package/es/SparkChart/index.d.mts +4 -0
- package/es/SparkChart/index.mjs +4 -0
- package/es/Tracker/TrackerBlock.d.mts +11 -0
- package/es/Tracker/TrackerBlock.mjs +50 -0
- package/es/Tracker/TrackerBlock.mjs.map +1 -0
- package/es/Tracker/index.d.mts +21 -0
- package/es/Tracker/index.mjs +67 -0
- package/es/Tracker/index.mjs.map +1 -0
- package/es/Tracker/styles.d.mts +8 -0
- package/es/Tracker/styles.mjs +24 -0
- package/es/Tracker/styles.mjs.map +1 -0
- package/es/common/BaseAnimationTimingProps.d.mts +10 -0
- package/es/common/BaseAnimationTimingProps.mjs +0 -0
- package/es/common/BaseChartProps.d.mts +61 -0
- package/es/common/BaseChartProps.mjs +0 -0
- package/es/common/BaseSparkChartProps.d.mts +17 -0
- package/es/common/BaseSparkChartProps.mjs +0 -0
- package/es/common/ChartLegend.d.mts +8 -0
- package/es/common/ChartLegend.mjs +32 -0
- package/es/common/ChartLegend.mjs.map +1 -0
- package/es/common/ChartTooltip/ChartTooltipFrame.d.mts +8 -0
- package/es/common/ChartTooltip/ChartTooltipFrame.mjs +26 -0
- package/es/common/ChartTooltip/ChartTooltipFrame.mjs.map +1 -0
- package/es/common/ChartTooltip/ChartTooltipRow.d.mts +10 -0
- package/es/common/ChartTooltip/ChartTooltipRow.mjs +49 -0
- package/es/common/ChartTooltip/ChartTooltipRow.mjs.map +1 -0
- package/es/common/ChartTooltip/index.d.mts +18 -0
- package/es/common/ChartTooltip/index.mjs +48 -0
- package/es/common/ChartTooltip/index.mjs.map +1 -0
- package/es/common/CustomTooltipProps.d.mts +15 -0
- package/es/common/CustomTooltipProps.mjs +0 -0
- package/es/common/CustomYAxisTick.d.mts +18 -0
- package/es/common/CustomYAxisTick.mjs +24 -0
- package/es/common/CustomYAxisTick.mjs.map +1 -0
- package/es/common/NoData.d.mts +13 -0
- package/es/common/NoData.mjs +25 -0
- package/es/common/NoData.mjs.map +1 -0
- package/es/common/benchmark/index.d.mts +3 -0
- package/es/common/benchmark/{index.js → index.mjs} +1 -1
- package/es/common/benchmark/types.d.mts +125 -0
- package/es/common/benchmark/types.mjs +0 -0
- package/es/common/benchmark/{utils.d.ts → utils.d.mts} +38 -36
- package/es/common/benchmark/utils.mjs +115 -0
- package/es/common/benchmark/utils.mjs.map +1 -0
- package/es/common/{utils.d.ts → utils.d.mts} +3 -0
- package/es/common/utils.mjs +36 -0
- package/es/common/utils.mjs.map +1 -0
- package/es/hooks/useOnWindowResize.d.mts +6 -0
- package/es/hooks/useOnWindowResize.mjs +18 -0
- package/es/hooks/useOnWindowResize.mjs.map +1 -0
- package/es/hooks/usePrefersReducedMotion.d.mts +4 -0
- package/es/hooks/usePrefersReducedMotion.mjs +24 -0
- package/es/hooks/usePrefersReducedMotion.mjs.map +1 -0
- package/es/hooks/useThemeColorRange.d.mts +4 -0
- package/es/hooks/useThemeColorRange.mjs +28 -0
- package/es/hooks/useThemeColorRange.mjs.map +1 -0
- package/es/index.d.mts +34 -0
- package/es/index.mjs +28 -0
- package/es/types/{charts.d.ts → charts.d.mts} +26 -26
- package/es/types/charts.mjs +12 -0
- package/es/types/charts.mjs.map +1 -0
- package/es/utils/{calendar.d.ts → calendar.d.mts} +21 -18
- package/es/utils/calendar.mjs +154 -0
- package/es/utils/calendar.mjs.map +1 -0
- package/es/utils/getMaxLabelLength.d.mts +13 -0
- package/es/utils/getMaxLabelLength.mjs +48 -0
- package/es/utils/getMaxLabelLength.mjs.map +1 -0
- package/es/utils/{index.d.ts → index.d.mts} +4 -1
- package/es/utils/index.mjs +19 -0
- package/es/utils/index.mjs.map +1 -0
- package/es/utils/{theme.d.ts → theme.d.mts} +3 -0
- package/es/utils/theme.mjs +33 -0
- package/es/utils/theme.mjs.map +1 -0
- package/package.json +144 -5
- package/es/AccuracyBarChart/index.d.ts +0 -60
- package/es/AccuracyBarChart/index.js +0 -452
- package/es/AccuracyBarChart/index.mdx +0 -52
- package/es/AccuracyBarChart/styles.d.ts +0 -11
- package/es/AccuracyBarChart/styles.js +0 -18
- package/es/AreaChart/index.d.ts +0 -11
- package/es/AreaChart/index.js +0 -428
- package/es/AreaChart/index.mdx +0 -49
- package/es/AreaChart/styles.d.ts +0 -6
- package/es/AreaChart/styles.js +0 -13
- package/es/BarChart/index.d.ts +0 -9
- package/es/BarChart/index.js +0 -390
- package/es/BarChart/index.mdx +0 -73
- package/es/BarChart/renderShape.js +0 -34
- package/es/BarChart/styles.d.ts +0 -6
- package/es/BarChart/styles.js +0 -13
- package/es/BarList/index.d.ts +0 -29
- package/es/BarList/index.js +0 -172
- package/es/BarList/index.mdx +0 -34
- package/es/BarList/styles.d.ts +0 -10
- package/es/BarList/styles.js +0 -18
- package/es/BenchmarkColumnChart/index.d.ts +0 -140
- package/es/BenchmarkColumnChart/index.js +0 -684
- package/es/BenchmarkColumnChart/index.mdx +0 -66
- package/es/BenchmarkColumnChart/styles.d.ts +0 -16
- package/es/BenchmarkColumnChart/styles.js +0 -23
- package/es/BenchmarkRankingChart/index.d.ts +0 -87
- package/es/BenchmarkRankingChart/index.js +0 -453
- package/es/BenchmarkRankingChart/index.mdx +0 -59
- package/es/BenchmarkRankingChart/styles.d.ts +0 -33
- package/es/BenchmarkRankingChart/styles.js +0 -41
- package/es/BenchmarkScatterChart/index.d.ts +0 -145
- package/es/BenchmarkScatterChart/index.js +0 -855
- package/es/BenchmarkScatterChart/index.mdx +0 -61
- package/es/BenchmarkScatterChart/styles.d.ts +0 -25
- package/es/BenchmarkScatterChart/styles.js +0 -33
- package/es/BenchmarkScatterChart/utils.js +0 -353
- package/es/ComposedChart/index.d.ts +0 -5
- package/es/ComposedChart/index.js +0 -333
- package/es/ComposedChart/index.mdx +0 -43
- package/es/ComposedChart/styles.d.ts +0 -6
- package/es/ComposedChart/styles.js +0 -13
- package/es/ComposedChart/types.d.ts +0 -68
- package/es/ComposedChart/types.js +0 -1
- package/es/DataBars/CategoryBar.d.ts +0 -15
- package/es/DataBars/CategoryBar.js +0 -199
- package/es/DataBars/DeltaBar.d.ts +0 -13
- package/es/DataBars/DeltaBar.js +0 -115
- package/es/DataBars/MarkerBar.d.ts +0 -16
- package/es/DataBars/MarkerBar.js +0 -92
- package/es/DataBars/ProgressBar.d.ts +0 -12
- package/es/DataBars/ProgressBar.js +0 -69
- package/es/DataBars/index.d.ts +0 -4
- package/es/DataBars/index.js +0 -4
- package/es/DataBars/index.mdx +0 -36
- package/es/DataBars/styles.d.ts +0 -7
- package/es/DataBars/styles.js +0 -14
- package/es/DonutChart/DonutChartTooltip.d.ts +0 -11
- package/es/DonutChart/DonutChartTooltip.js +0 -26
- package/es/DonutChart/index.d.ts +0 -31
- package/es/DonutChart/index.js +0 -230
- package/es/DonutChart/index.mdx +0 -48
- package/es/DonutChart/inputParser.d.ts +0 -2
- package/es/DonutChart/inputParser.js +0 -9
- package/es/DonutChart/renderInactiveShape.d.ts +0 -2
- package/es/DonutChart/renderInactiveShape.js +0 -27
- package/es/DonutChart/styles.d.ts +0 -6
- package/es/DonutChart/styles.js +0 -13
- package/es/FunnelChart/ArrowRightIcon.d.ts +0 -5
- package/es/FunnelChart/ArrowRightIcon.js +0 -22
- package/es/FunnelChart/index.d.ts +0 -19
- package/es/FunnelChart/index.js +0 -497
- package/es/FunnelChart/index.mdx +0 -21
- package/es/FunnelChart/styles.d.ts +0 -6
- package/es/FunnelChart/styles.js +0 -13
- package/es/FunnelChart/types.d.ts +0 -28
- package/es/FunnelChart/types.js +0 -1
- package/es/Heatmaps/Calendar.d.ts +0 -18
- package/es/Heatmaps/Calendar.js +0 -154
- package/es/Heatmaps/ChartLabels.d.ts +0 -15
- package/es/Heatmaps/ChartLabels.js +0 -106
- package/es/Heatmaps/Footer.d.ts +0 -22
- package/es/Heatmaps/Footer.js +0 -105
- package/es/Heatmaps/index.d.ts +0 -28
- package/es/Heatmaps/index.js +0 -225
- package/es/Heatmaps/index.mdx +0 -70
- package/es/Heatmaps/styles.d.ts +0 -7
- package/es/Heatmaps/styles.js +0 -14
- package/es/Legend/LegendItem.d.ts +0 -10
- package/es/Legend/LegendItem.js +0 -56
- package/es/Legend/ScrollButton.d.ts +0 -9
- package/es/Legend/ScrollButton.js +0 -62
- package/es/Legend/index.d.ts +0 -14
- package/es/Legend/index.js +0 -183
- package/es/Legend/index.mdx +0 -13
- package/es/LineChart/index.d.ts +0 -9
- package/es/LineChart/index.js +0 -386
- package/es/LineChart/index.mdx +0 -49
- package/es/LineChart/styles.d.ts +0 -6
- package/es/LineChart/styles.js +0 -13
- package/es/RadarChart/index.d.ts +0 -24
- package/es/RadarChart/index.js +0 -252
- package/es/RadarChart/index.mdx +0 -52
- package/es/RadarChart/styles.d.ts +0 -5
- package/es/RadarChart/styles.js +0 -12
- package/es/ScatterChart/ScatterChartTooltip.d.ts +0 -16
- package/es/ScatterChart/ScatterChartTooltip.js +0 -74
- package/es/ScatterChart/ScatterChartTooltipRow.d.ts +0 -7
- package/es/ScatterChart/ScatterChartTooltipRow.js +0 -38
- package/es/ScatterChart/index.d.ts +0 -56
- package/es/ScatterChart/index.js +0 -340
- package/es/ScatterChart/index.mdx +0 -49
- package/es/ScatterChart/renderShape.js +0 -18
- package/es/ScatterChart/styles.d.ts +0 -6
- package/es/ScatterChart/styles.js +0 -13
- package/es/SparkChart/SparkAreaChart.d.ts +0 -12
- package/es/SparkChart/SparkAreaChart.js +0 -146
- package/es/SparkChart/SparkBarChart.d.ts +0 -9
- package/es/SparkChart/SparkBarChart.js +0 -104
- package/es/SparkChart/SparkLineChart.d.ts +0 -10
- package/es/SparkChart/SparkLineChart.js +0 -108
- package/es/SparkChart/index.d.ts +0 -3
- package/es/SparkChart/index.js +0 -3
- package/es/SparkChart/index.mdx +0 -29
- package/es/Tracker/TrackerBlock.d.ts +0 -8
- package/es/Tracker/TrackerBlock.js +0 -62
- package/es/Tracker/index.d.ts +0 -18
- package/es/Tracker/index.js +0 -103
- package/es/Tracker/index.mdx +0 -41
- package/es/Tracker/styles.d.ts +0 -5
- package/es/Tracker/styles.js +0 -12
- package/es/common/BaseAnimationTimingProps.d.ts +0 -7
- package/es/common/BaseAnimationTimingProps.js +0 -1
- package/es/common/BaseChartProps.d.ts +0 -58
- package/es/common/BaseChartProps.js +0 -1
- package/es/common/BaseSparkChartProps.d.ts +0 -14
- package/es/common/BaseSparkChartProps.js +0 -1
- package/es/common/ChartLegend.d.ts +0 -5
- package/es/common/ChartLegend.js +0 -40
- package/es/common/ChartTooltip/ChartTooltipFrame.d.ts +0 -6
- package/es/common/ChartTooltip/ChartTooltipFrame.js +0 -31
- package/es/common/ChartTooltip/ChartTooltipRow.d.ts +0 -8
- package/es/common/ChartTooltip/ChartTooltipRow.js +0 -53
- package/es/common/ChartTooltip/index.d.ts +0 -15
- package/es/common/ChartTooltip/index.js +0 -64
- package/es/common/CustomTooltipProps.d.ts +0 -12
- package/es/common/CustomTooltipProps.js +0 -1
- package/es/common/CustomYAxisTick.d.ts +0 -15
- package/es/common/CustomYAxisTick.js +0 -27
- package/es/common/NoData.d.ts +0 -10
- package/es/common/NoData.js +0 -24
- package/es/common/benchmark/index.d.ts +0 -2
- package/es/common/benchmark/types.d.ts +0 -122
- package/es/common/benchmark/types.js +0 -1
- package/es/common/benchmark/utils.js +0 -159
- package/es/common/utils.js +0 -85
- package/es/hooks/useOnWindowResize.d.ts +0 -3
- package/es/hooks/useOnWindowResize.js +0 -15
- package/es/hooks/usePrefersReducedMotion.d.ts +0 -1
- package/es/hooks/usePrefersReducedMotion.js +0 -28
- package/es/hooks/useThemeColorRange.d.ts +0 -1
- package/es/hooks/useThemeColorRange.js +0 -8
- package/es/index.d.ts +0 -24
- package/es/index.js +0 -22
- package/es/types/charts.js +0 -8
- package/es/utils/calendar.js +0 -199
- package/es/utils/getMaxLabelLength.d.ts +0 -10
- package/es/utils/getMaxLabelLength.js +0 -110
- package/es/utils/index.js +0 -32
- package/es/utils/theme.js +0 -40
package/es/BarList/index.js
DELETED
|
@@ -1,172 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
|
-
var _excluded = ["data", "color", "valueFormatter", "showAnimation", "onValueChange", "sortOrder", "className", "leftLabel", "rightLabel", "style", "loading", "width", "height", "noDataText"];
|
|
5
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
6
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
8
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
9
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
10
|
-
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
11
|
-
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
12
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
13
|
-
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
14
|
-
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
15
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
16
|
-
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
17
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
18
|
-
import { A, Flexbox, Skeleton, cssVar, cx } from '@lobehub/ui';
|
|
19
|
-
import React, { forwardRef, useMemo } from 'react';
|
|
20
|
-
import NoData from "../common/NoData";
|
|
21
|
-
import { defaultValueFormatter } from "../utils";
|
|
22
|
-
import { styles } from "./styles";
|
|
23
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
25
|
-
var prefixCls = 'ant';
|
|
26
|
-
var BarList = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
27
|
-
var _props$data = props.data,
|
|
28
|
-
data = _props$data === void 0 ? [] : _props$data,
|
|
29
|
-
_props$color = props.color,
|
|
30
|
-
color = _props$color === void 0 ? cssVar.colorTextQuaternary : _props$color,
|
|
31
|
-
_props$valueFormatter = props.valueFormatter,
|
|
32
|
-
valueFormatter = _props$valueFormatter === void 0 ? defaultValueFormatter : _props$valueFormatter,
|
|
33
|
-
_props$showAnimation = props.showAnimation,
|
|
34
|
-
showAnimation = _props$showAnimation === void 0 ? false : _props$showAnimation,
|
|
35
|
-
onValueChange = props.onValueChange,
|
|
36
|
-
_props$sortOrder = props.sortOrder,
|
|
37
|
-
sortOrder = _props$sortOrder === void 0 ? 'descending' : _props$sortOrder,
|
|
38
|
-
className = props.className,
|
|
39
|
-
leftLabel = props.leftLabel,
|
|
40
|
-
rightLabel = props.rightLabel,
|
|
41
|
-
style = props.style,
|
|
42
|
-
loading = props.loading,
|
|
43
|
-
_props$width = props.width,
|
|
44
|
-
width = _props$width === void 0 ? '100%' : _props$width,
|
|
45
|
-
height = props.height,
|
|
46
|
-
noDataText = props.noDataText,
|
|
47
|
-
rest = _objectWithoutProperties(props, _excluded);
|
|
48
|
-
var sortedData = useMemo(function () {
|
|
49
|
-
if (sortOrder === 'none') {
|
|
50
|
-
return data;
|
|
51
|
-
}
|
|
52
|
-
return _toConsumableArray(data).sort(function (a, b) {
|
|
53
|
-
return sortOrder === 'ascending' ? a.value - b.value : b.value - a.value;
|
|
54
|
-
});
|
|
55
|
-
}, [data, sortOrder]);
|
|
56
|
-
var widths = useMemo(function () {
|
|
57
|
-
var maxValue = Math.max.apply(Math, _toConsumableArray(sortedData.map(function (item) {
|
|
58
|
-
return item.value;
|
|
59
|
-
})).concat([0]));
|
|
60
|
-
return sortedData.map(function (item) {
|
|
61
|
-
return item.value === 0 ? 0 : Math.max(item.value / maxValue * 100, 2);
|
|
62
|
-
});
|
|
63
|
-
}, [sortedData]);
|
|
64
|
-
if (loading || !data) return /*#__PURE__*/_jsx(Skeleton, {
|
|
65
|
-
height: height,
|
|
66
|
-
width: width
|
|
67
|
-
});
|
|
68
|
-
var rowHeight = 32;
|
|
69
|
-
var labelHeight = 20;
|
|
70
|
-
return /*#__PURE__*/_jsxs(Flexbox, _objectSpread(_objectSpread({
|
|
71
|
-
"aria-sort": sortOrder,
|
|
72
|
-
className: className,
|
|
73
|
-
gap: 24,
|
|
74
|
-
horizontal: true,
|
|
75
|
-
justify: 'space-between',
|
|
76
|
-
ref: ref,
|
|
77
|
-
style: _objectSpread({
|
|
78
|
-
minHeight: height,
|
|
79
|
-
position: 'relative'
|
|
80
|
-
}, style),
|
|
81
|
-
width: width
|
|
82
|
-
}, rest), {}, {
|
|
83
|
-
children: [/*#__PURE__*/_jsxs(Flexbox, {
|
|
84
|
-
flex: 1,
|
|
85
|
-
gap: 8,
|
|
86
|
-
style: {
|
|
87
|
-
overflow: 'hidden',
|
|
88
|
-
position: 'relative'
|
|
89
|
-
},
|
|
90
|
-
children: [(leftLabel || rightLabel) && /*#__PURE__*/_jsx(Flexbox, {
|
|
91
|
-
className: cx(styles.label, styles.emphasis),
|
|
92
|
-
height: labelHeight,
|
|
93
|
-
width: "100%",
|
|
94
|
-
children: leftLabel
|
|
95
|
-
}), sortedData.map(function (item, index) {
|
|
96
|
-
var _item$key, _item$color;
|
|
97
|
-
return /*#__PURE__*/_jsxs(Flexbox, {
|
|
98
|
-
align: 'center',
|
|
99
|
-
className: cx(styles.barContainer, onValueChange && styles.barHover),
|
|
100
|
-
height: rowHeight,
|
|
101
|
-
horizontal: true,
|
|
102
|
-
onClick: function onClick() {
|
|
103
|
-
onValueChange === null || onValueChange === void 0 || onValueChange(item);
|
|
104
|
-
},
|
|
105
|
-
style: {
|
|
106
|
-
cursor: onValueChange ? 'pointer' : 'default'
|
|
107
|
-
},
|
|
108
|
-
width: '100%',
|
|
109
|
-
children: [/*#__PURE__*/_jsx("div", {
|
|
110
|
-
className: cx("".concat(prefixCls, "-chart-bar-item"), styles.bar),
|
|
111
|
-
style: {
|
|
112
|
-
background: (_item$color = item.color) !== null && _item$color !== void 0 ? _item$color : color,
|
|
113
|
-
transition: showAnimation ? undefined : 'none',
|
|
114
|
-
width: "".concat(widths[index], "%"),
|
|
115
|
-
zIndex: 0
|
|
116
|
-
}
|
|
117
|
-
}), /*#__PURE__*/_jsxs(Flexbox, {
|
|
118
|
-
align: 'center',
|
|
119
|
-
gap: 8,
|
|
120
|
-
horizontal: true,
|
|
121
|
-
paddingInline: 8,
|
|
122
|
-
style: {
|
|
123
|
-
overflow: 'hidden',
|
|
124
|
-
position: 'relative',
|
|
125
|
-
width: '100%',
|
|
126
|
-
zIndex: 1
|
|
127
|
-
},
|
|
128
|
-
children: [item.icon, item.href ? /*#__PURE__*/_jsx(A, {
|
|
129
|
-
className: cx(styles.sourceALabel, styles.emphasis),
|
|
130
|
-
href: item.href,
|
|
131
|
-
onClick: function onClick(event) {
|
|
132
|
-
return event.stopPropagation();
|
|
133
|
-
},
|
|
134
|
-
target: item.target,
|
|
135
|
-
children: item.name
|
|
136
|
-
}) : /*#__PURE__*/_jsx("div", {
|
|
137
|
-
className: cx(styles.sourceLabel, styles.emphasis),
|
|
138
|
-
children: item.name
|
|
139
|
-
})]
|
|
140
|
-
})]
|
|
141
|
-
}, (_item$key = item.key) !== null && _item$key !== void 0 ? _item$key : index);
|
|
142
|
-
}), !(data !== null && data !== void 0 && data.length) && /*#__PURE__*/_jsx(NoData, {
|
|
143
|
-
noDataText: noDataText
|
|
144
|
-
})]
|
|
145
|
-
}), /*#__PURE__*/_jsxs(Flexbox, {
|
|
146
|
-
gap: 8,
|
|
147
|
-
children: [(leftLabel || rightLabel) && /*#__PURE__*/_jsx(Flexbox, {
|
|
148
|
-
className: cx(styles.label, styles.emphasis),
|
|
149
|
-
height: labelHeight,
|
|
150
|
-
style: {
|
|
151
|
-
textAlign: 'right'
|
|
152
|
-
},
|
|
153
|
-
width: "100%",
|
|
154
|
-
children: rightLabel
|
|
155
|
-
}), sortedData.map(function (item, index) {
|
|
156
|
-
var _item$key2;
|
|
157
|
-
return /*#__PURE__*/_jsx(Flexbox, {
|
|
158
|
-
align: 'center',
|
|
159
|
-
height: rowHeight,
|
|
160
|
-
horizontal: true,
|
|
161
|
-
justify: 'flex-end',
|
|
162
|
-
children: /*#__PURE__*/_jsx("div", {
|
|
163
|
-
className: cx(styles.strongLabel, styles.emphasis),
|
|
164
|
-
children: valueFormatter(item.value)
|
|
165
|
-
})
|
|
166
|
-
}, (_item$key2 = item.key) !== null && _item$key2 !== void 0 ? _item$key2 : index);
|
|
167
|
-
})]
|
|
168
|
-
})]
|
|
169
|
-
}));
|
|
170
|
-
});
|
|
171
|
-
BarList.displayName = 'BarList';
|
|
172
|
-
export default BarList;
|
package/es/BarList/index.mdx
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: BarList
|
|
3
|
-
description: Horizontal bars with a customizable label inside.
|
|
4
|
-
category: Visualizations
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
import DemoIndex from './demos/index.tsx?demo';
|
|
8
|
-
import DemoExample from './demos/example.tsx?demo';
|
|
9
|
-
import DemoClickEvent from './demos/clickEvent.tsx?demo';
|
|
10
|
-
import DemoCustomColors from './demos/customColors.tsx?demo';
|
|
11
|
-
|
|
12
|
-
<Demo of={DemoIndex} layout="bare" />
|
|
13
|
-
|
|
14
|
-
## Usage example
|
|
15
|
-
|
|
16
|
-
You can also pass an `href` into the data, then your datapoint gets rendered as a clickable link with `target="_blank"`.
|
|
17
|
-
|
|
18
|
-
<Demo of={DemoExample} />
|
|
19
|
-
|
|
20
|
-
## Usage example with click event
|
|
21
|
-
|
|
22
|
-
The example below shows an interacive chart using the `onValueChange` prop.
|
|
23
|
-
|
|
24
|
-
<Demo of={DemoClickEvent} />
|
|
25
|
-
|
|
26
|
-
## Usage example with a custom colors
|
|
27
|
-
|
|
28
|
-
The example below shows a chart with custom `colors`.
|
|
29
|
-
|
|
30
|
-
<Demo of={DemoCustomColors} />
|
|
31
|
-
|
|
32
|
-
## API
|
|
33
|
-
|
|
34
|
-
<Api name="BarList" />
|
package/es/BarList/styles.d.ts
DELETED
package/es/BarList/styles.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8;
|
|
2
|
-
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
3
|
-
import { createStaticStyles } from '@lobehub/ui';
|
|
4
|
-
var prefixCls = 'ant';
|
|
5
|
-
export var styles = createStaticStyles(function (_ref) {
|
|
6
|
-
var css = _ref.css,
|
|
7
|
-
cssVar = _ref.cssVar;
|
|
8
|
-
return {
|
|
9
|
-
bar: css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n\n max-width: 100%;\n height: 100%;\n border-radius: ", ";\n\n opacity: 0.25;\n\n transition: all 0.25s ", ";\n "])), cssVar.borderRadius, cssVar.motionEaseInOut),
|
|
10
|
-
barContainer: css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n position: relative;\n "]))),
|
|
11
|
-
barHover: css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n &:hover {\n .", "-chart-bar-item {\n opacity: 0.4;\n }\n }\n "])), prefixCls),
|
|
12
|
-
emphasis: css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n "]))),
|
|
13
|
-
label: css(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n font-size: 12px;\n line-height: 16px;\n color: ", ";\n "])), cssVar.colorTextDescription),
|
|
14
|
-
sourceALabel: css(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n font-size: 14px;\n line-height: 16px;\n color: ", " !important;\n\n &:hover {\n color: ", " !important;\n }\n "])), cssVar.colorText, cssVar.colorLinkHover),
|
|
15
|
-
sourceLabel: css(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n font-size: 14px;\n line-height: 16px;\n color: ", ";\n "])), cssVar.colorText),
|
|
16
|
-
strongLabel: css(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n font-size: 14px;\n font-weight: 500;\n line-height: 16px;\n color: ", ";\n "])), cssVar.colorText)
|
|
17
|
-
};
|
|
18
|
-
});
|
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { type BenchmarkBaseProps, type NormalizedBenchmarkItem } from "../common/benchmark";
|
|
3
|
-
export interface BenchmarkColumnChartProps extends BenchmarkBaseProps {
|
|
4
|
-
animationDuration?: number;
|
|
5
|
-
/**
|
|
6
|
-
* Auto-compute Y min
|
|
7
|
-
* @default false
|
|
8
|
-
*/
|
|
9
|
-
autoMinValue?: boolean;
|
|
10
|
-
/**
|
|
11
|
-
* Gap between bar categories
|
|
12
|
-
* @default '10%'
|
|
13
|
-
*/
|
|
14
|
-
barCategoryGap?: string | number;
|
|
15
|
-
/**
|
|
16
|
-
* Display name for the bar series in legend / tooltip.
|
|
17
|
-
* Pass `false` or `''` to hide from the legend (tooltip still uses a fallback).
|
|
18
|
-
* @default 'Score'
|
|
19
|
-
*/
|
|
20
|
-
barName?: string | false;
|
|
21
|
-
/**
|
|
22
|
-
* Rounded top corners radius
|
|
23
|
-
* @default 0
|
|
24
|
-
*/
|
|
25
|
-
barRadius?: number;
|
|
26
|
-
/**
|
|
27
|
-
* Fallback colors when items omit per-item color
|
|
28
|
-
*/
|
|
29
|
-
colors?: string[];
|
|
30
|
-
/**
|
|
31
|
-
* Rotate X-axis labels
|
|
32
|
-
* @default -66
|
|
33
|
-
*/
|
|
34
|
-
labelAngle?: number;
|
|
35
|
-
/**
|
|
36
|
-
* X-axis label font size
|
|
37
|
-
* @default 11
|
|
38
|
-
*/
|
|
39
|
-
labelFontSize?: number;
|
|
40
|
-
/**
|
|
41
|
-
* Height reserved for icons + X-axis labels (via XAxis height)
|
|
42
|
-
* @default auto from label length / angle
|
|
43
|
-
*/
|
|
44
|
-
labelHeight?: number;
|
|
45
|
-
/**
|
|
46
|
-
* Color of the overlay line
|
|
47
|
-
* @default theme.gold
|
|
48
|
-
*/
|
|
49
|
-
lineColor?: string;
|
|
50
|
-
/**
|
|
51
|
-
* Secondary line-series field
|
|
52
|
-
* @default 'line'
|
|
53
|
-
*/
|
|
54
|
-
lineKey?: string;
|
|
55
|
-
/**
|
|
56
|
-
* Display name for the line series in legend / tooltip.
|
|
57
|
-
* Pass `false` or `''` to hide from the legend (tooltip still uses a fallback).
|
|
58
|
-
* @default 'Overall'
|
|
59
|
-
*/
|
|
60
|
-
lineName?: string | false;
|
|
61
|
-
/**
|
|
62
|
-
* Override Y domain max
|
|
63
|
-
*/
|
|
64
|
-
maxValue?: number;
|
|
65
|
-
/**
|
|
66
|
-
* Override Y domain min
|
|
67
|
-
* @default 0
|
|
68
|
-
*/
|
|
69
|
-
minValue?: number;
|
|
70
|
-
/**
|
|
71
|
-
* Minimum chart width; enables horizontal scroll when container is narrower
|
|
72
|
-
*/
|
|
73
|
-
minWidth?: number;
|
|
74
|
-
/**
|
|
75
|
-
* Custom rank renderer. Default is `#${rank}`.
|
|
76
|
-
*/
|
|
77
|
-
renderRank?: (item: NormalizedBenchmarkItem) => ReactNode;
|
|
78
|
-
/**
|
|
79
|
-
* Show AccuracyBar-style error bars
|
|
80
|
-
* @default true
|
|
81
|
-
*/
|
|
82
|
-
showErrorBars?: boolean;
|
|
83
|
-
/**
|
|
84
|
-
* Show dashed horizontal grid lines
|
|
85
|
-
* @default true
|
|
86
|
-
*/
|
|
87
|
-
showGridLines?: boolean;
|
|
88
|
-
/**
|
|
89
|
-
* Show legend when a line series is present
|
|
90
|
-
* @default true
|
|
91
|
-
*/
|
|
92
|
-
showLegend?: boolean;
|
|
93
|
-
/**
|
|
94
|
-
* Show overlay line series when data includes line values
|
|
95
|
-
* @default true
|
|
96
|
-
*/
|
|
97
|
-
showLine?: boolean;
|
|
98
|
-
/**
|
|
99
|
-
* Show numeric labels above line points
|
|
100
|
-
* @default true
|
|
101
|
-
*/
|
|
102
|
-
showLineLabel?: boolean;
|
|
103
|
-
/**
|
|
104
|
-
* Show rank under each column (bottom of X-axis labels)
|
|
105
|
-
* @default false
|
|
106
|
-
*/
|
|
107
|
-
showRank?: boolean;
|
|
108
|
-
/**
|
|
109
|
-
* Show tooltip
|
|
110
|
-
* @default true
|
|
111
|
-
*/
|
|
112
|
-
showTooltip?: boolean;
|
|
113
|
-
/**
|
|
114
|
-
* Show numeric labels on bars
|
|
115
|
-
* @default true
|
|
116
|
-
*/
|
|
117
|
-
showValueLabel?: boolean;
|
|
118
|
-
/**
|
|
119
|
-
* Show X axis line (category labels stay visible)
|
|
120
|
-
* @default false
|
|
121
|
-
*/
|
|
122
|
-
showXAxis?: boolean;
|
|
123
|
-
/**
|
|
124
|
-
* Show Y axis line + value ticks
|
|
125
|
-
* @default false
|
|
126
|
-
*/
|
|
127
|
-
showYAxis?: boolean;
|
|
128
|
-
/**
|
|
129
|
-
* Annotation shown near the unranked separator.
|
|
130
|
-
* Pass `false` or `''` to hide.
|
|
131
|
-
*/
|
|
132
|
-
unrankedLabel?: string | false;
|
|
133
|
-
/**
|
|
134
|
-
* Font size for numeric labels on bars
|
|
135
|
-
* @default 12
|
|
136
|
-
*/
|
|
137
|
-
valueLabelFontSize?: number;
|
|
138
|
-
}
|
|
139
|
-
declare const BenchmarkColumnChart: import("react").ForwardRefExoticComponent<BenchmarkColumnChartProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
140
|
-
export default BenchmarkColumnChart;
|