@fluentui/react-charts 9.1.9 → 9.1.10
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/CHANGELOG.md +21 -2
- package/dist/index.d.ts +309 -8
- package/lib/AreaChart.js.map +1 -1
- package/lib/CartesianChart.js.map +1 -1
- package/lib/DeclarativeChart.js.map +1 -1
- package/lib/DonutChart.js.map +1 -1
- package/lib/FunnelChart.js +1 -0
- package/lib/FunnelChart.js.map +1 -0
- package/lib/GanttChart.js +1 -0
- package/lib/GanttChart.js.map +1 -0
- package/lib/GaugeChart.js.map +1 -1
- package/lib/GroupedVerticalBarChart.js.map +1 -1
- package/lib/HeatMapChart.js.map +1 -1
- package/lib/HorizontalBarChart.js.map +1 -1
- package/lib/HorizontalBarChartWithAxis.js.map +1 -1
- package/lib/Legends.js.map +1 -1
- package/lib/LineChart.js.map +1 -1
- package/lib/Popover.js.map +1 -1
- package/lib/ResponsiveContainer.js.map +1 -1
- package/lib/SankeyChart.js.map +1 -1
- package/lib/ScatterChart.js.map +1 -1
- package/lib/Sparkline.js.map +1 -1
- package/lib/VerticalBarChart.js.map +1 -1
- package/lib/VerticalStackedBarChart.js.map +1 -1
- package/lib/components/AreaChart/AreaChart.js +13 -5
- package/lib/components/AreaChart/AreaChart.js.map +1 -1
- package/lib/components/AreaChart/AreaChart.types.js.map +1 -1
- package/lib/components/AreaChart/index.js.map +1 -1
- package/lib/components/CommonComponents/CartesianChart.js +10 -7
- package/lib/components/CommonComponents/CartesianChart.js.map +1 -1
- package/lib/components/CommonComponents/CartesianChart.types.js.map +1 -1
- package/lib/components/CommonComponents/ChartPopover.js.map +1 -1
- package/lib/components/CommonComponents/ChartPopover.types.js.map +1 -1
- package/lib/components/CommonComponents/index.js.map +1 -1
- package/lib/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib/components/DeclarativeChart/imageExporter.js.map +1 -1
- package/lib/components/DeclarativeChart/index.js.map +1 -1
- package/lib/components/DonutChart/Arc/Arc.js +5 -5
- package/lib/components/DonutChart/Arc/Arc.js.map +1 -1
- package/lib/components/DonutChart/Arc/Arc.types.js.map +1 -1
- package/lib/components/DonutChart/Arc/index.js.map +1 -1
- package/lib/components/DonutChart/DonutChart.js +7 -1
- package/lib/components/DonutChart/DonutChart.js.map +1 -1
- package/lib/components/DonutChart/DonutChart.types.js.map +1 -1
- package/lib/components/DonutChart/Pie/Pie.js.map +1 -1
- package/lib/components/DonutChart/Pie/Pie.types.js.map +1 -1
- package/lib/components/DonutChart/Pie/index.js.map +1 -1
- package/lib/components/DonutChart/index.js.map +1 -1
- package/lib/components/FunnelChart/FunnelChart.js +391 -0
- package/lib/components/FunnelChart/FunnelChart.js.map +1 -0
- package/lib/components/FunnelChart/FunnelChart.types.js +1 -0
- package/lib/components/FunnelChart/FunnelChart.types.js.map +1 -0
- package/lib/components/FunnelChart/funnelGeometry.js +220 -0
- package/lib/components/FunnelChart/funnelGeometry.js.map +1 -0
- package/lib/components/FunnelChart/index.js +2 -0
- package/lib/components/FunnelChart/index.js.map +1 -0
- package/lib/components/FunnelChart/useFunnelChartStyles.styles.js +59 -0
- package/lib/components/FunnelChart/useFunnelChartStyles.styles.js.map +1 -0
- package/lib/components/GanttChart/GanttChart.js +530 -0
- package/lib/components/GanttChart/GanttChart.js.map +1 -0
- package/lib/components/GanttChart/GanttChart.types.js +4 -0
- package/lib/components/GanttChart/GanttChart.types.js.map +1 -0
- package/lib/components/GanttChart/index.js +2 -0
- package/lib/components/GanttChart/index.js.map +1 -0
- package/lib/components/GanttChart/useGanttChartStyles.styles.js +25 -0
- package/lib/components/GanttChart/useGanttChartStyles.styles.js.map +1 -0
- package/lib/components/GaugeChart/GaugeChart.js.map +1 -1
- package/lib/components/GaugeChart/GaugeChart.types.js.map +1 -1
- package/lib/components/GaugeChart/index.js.map +1 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +10 -5
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -1
- package/lib/components/GroupedVerticalBarChart/index.js.map +1 -1
- package/lib/components/HeatMapChart/HeatMapChart.js.map +1 -1
- package/lib/components/HeatMapChart/HeatMapChart.types.js.map +1 -1
- package/lib/components/HeatMapChart/index.js.map +1 -1
- package/lib/components/HorizontalBarChart/HorizontalBarChart.js.map +1 -1
- package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js +5 -3
- package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -1
- package/lib/components/HorizontalBarChart/index.js.map +1 -1
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +9 -3
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -1
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -1
- package/lib/components/HorizontalBarChartWithAxis/index.js.map +1 -1
- package/lib/components/Legends/Legends.js.map +1 -1
- package/lib/components/Legends/Legends.types.js.map +1 -1
- package/lib/components/Legends/OverflowMenu.js.map +1 -1
- package/lib/components/Legends/index.js.map +1 -1
- package/lib/components/Legends/shape.js +3 -3
- package/lib/components/Legends/shape.js.map +1 -1
- package/lib/components/LineChart/LineChart.js +14 -7
- package/lib/components/LineChart/LineChart.js.map +1 -1
- package/lib/components/LineChart/LineChart.types.js.map +1 -1
- package/lib/components/LineChart/eventAnnotation/EventAnnotation.js.map +1 -1
- package/lib/components/LineChart/eventAnnotation/LabelLink.js.map +1 -1
- package/lib/components/LineChart/eventAnnotation/Textbox.js +2 -1
- package/lib/components/LineChart/eventAnnotation/Textbox.js.map +1 -1
- package/lib/components/LineChart/index.js.map +1 -1
- package/lib/components/ResponsiveContainer/ResponsiveContainer.js.map +1 -1
- package/lib/components/ResponsiveContainer/ResponsiveContainer.types.js.map +1 -1
- package/lib/components/ResponsiveContainer/index.js.map +1 -1
- package/lib/components/ResponsiveContainer/withResponsiveContainer.js.map +1 -1
- package/lib/components/SankeyChart/SankeyChart.js.map +1 -1
- package/lib/components/SankeyChart/SankeyChart.types.js.map +1 -1
- package/lib/components/SankeyChart/index.js.map +1 -1
- package/lib/components/ScatterChart/ScatterChart.js +8 -2
- package/lib/components/ScatterChart/ScatterChart.js.map +1 -1
- package/lib/components/ScatterChart/ScatterChart.types.js.map +1 -1
- package/lib/components/ScatterChart/index.js.map +1 -1
- package/lib/components/Sparkline/Sparkline.js.map +1 -1
- package/lib/components/Sparkline/Sparkline.types.js.map +1 -1
- package/lib/components/Sparkline/index.js.map +1 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.js +10 -4
- package/lib/components/VerticalBarChart/VerticalBarChart.js.map +1 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -1
- package/lib/components/VerticalBarChart/index.js.map +1 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js +4 -4
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
- package/lib/components/VerticalStackedBarChart/index.js.map +1 -1
- package/lib/index.js +2 -0
- package/lib/index.js.map +1 -1
- package/lib/types/DataPoint.js +3 -1
- package/lib/types/DataPoint.js.map +1 -1
- package/lib/types/EventAnnotation.js.map +1 -1
- package/lib/types/LegendDataItem.js.map +1 -1
- package/lib/types/index.js.map +1 -1
- package/lib/utilities/FocusableTooltipText.js.map +1 -1
- package/lib/utilities/KeyCodes.js.map +1 -1
- package/lib/utilities/SVGTooltipText.js.map +1 -1
- package/lib/utilities/async-utils.js.map +1 -1
- package/lib/utilities/colors.js +12 -0
- package/lib/utilities/colors.js.map +1 -1
- package/lib/utilities/getWindow.js.map +1 -1
- package/lib/utilities/index.js.map +1 -1
- package/lib/utilities/overflow-utils.js.map +1 -1
- package/lib/utilities/string.js.map +1 -1
- package/lib/utilities/test-data.js +236 -0
- package/lib/utilities/test-data.js.map +1 -1
- package/lib/utilities/utilities.js +90 -22
- package/lib/utilities/utilities.js.map +1 -1
- package/lib/utilities/vbc-utils.js +2 -2
- package/lib/utilities/vbc-utils.js.map +1 -1
- package/lib-commonjs/AreaChart.js.map +1 -1
- package/lib-commonjs/CartesianChart.js.map +1 -1
- package/lib-commonjs/DeclarativeChart.js.map +1 -1
- package/lib-commonjs/DonutChart.js.map +1 -1
- package/lib-commonjs/FunnelChart.js +6 -0
- package/lib-commonjs/FunnelChart.js.map +1 -0
- package/lib-commonjs/GanttChart.js +6 -0
- package/lib-commonjs/GanttChart.js.map +1 -0
- package/lib-commonjs/GaugeChart.js.map +1 -1
- package/lib-commonjs/GroupedVerticalBarChart.js.map +1 -1
- package/lib-commonjs/HeatMapChart.js.map +1 -1
- package/lib-commonjs/HorizontalBarChart.js.map +1 -1
- package/lib-commonjs/HorizontalBarChartWithAxis.js.map +1 -1
- package/lib-commonjs/Legends.js.map +1 -1
- package/lib-commonjs/LineChart.js.map +1 -1
- package/lib-commonjs/Popover.js.map +1 -1
- package/lib-commonjs/ResponsiveContainer.js.map +1 -1
- package/lib-commonjs/SankeyChart.js.map +1 -1
- package/lib-commonjs/ScatterChart.js.map +1 -1
- package/lib-commonjs/Sparkline.js.map +1 -1
- package/lib-commonjs/VerticalBarChart.js.map +1 -1
- package/lib-commonjs/VerticalStackedBarChart.js.map +1 -1
- package/lib-commonjs/components/AreaChart/AreaChart.js +13 -5
- package/lib-commonjs/components/AreaChart/AreaChart.js.map +1 -1
- package/lib-commonjs/components/AreaChart/AreaChart.types.js.map +1 -1
- package/lib-commonjs/components/AreaChart/index.js.map +1 -1
- package/lib-commonjs/components/AreaChart/useAreaChartStyles.styles.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.js +9 -6
- package/lib-commonjs/components/CommonComponents/CartesianChart.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/ChartPopover.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/ChartPopover.types.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/index.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/useCartesianChartStyles.styles.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/useChartPopoverStyles.styles.js.map +1 -1
- package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib-commonjs/components/DeclarativeChart/imageExporter.js.map +1 -1
- package/lib-commonjs/components/DeclarativeChart/index.js.map +1 -1
- package/lib-commonjs/components/DonutChart/Arc/Arc.js +5 -5
- package/lib-commonjs/components/DonutChart/Arc/Arc.js.map +1 -1
- package/lib-commonjs/components/DonutChart/Arc/Arc.types.js.map +1 -1
- package/lib-commonjs/components/DonutChart/Arc/index.js.map +1 -1
- package/lib-commonjs/components/DonutChart/Arc/useArcStyles.styles.js.map +1 -1
- package/lib-commonjs/components/DonutChart/DonutChart.js +7 -1
- package/lib-commonjs/components/DonutChart/DonutChart.js.map +1 -1
- package/lib-commonjs/components/DonutChart/DonutChart.types.js.map +1 -1
- package/lib-commonjs/components/DonutChart/Pie/Pie.js.map +1 -1
- package/lib-commonjs/components/DonutChart/Pie/Pie.types.js.map +1 -1
- package/lib-commonjs/components/DonutChart/Pie/index.js.map +1 -1
- package/lib-commonjs/components/DonutChart/Pie/usePieStyles.styles.js.map +1 -1
- package/lib-commonjs/components/DonutChart/index.js.map +1 -1
- package/lib-commonjs/components/DonutChart/useDonutChartStyles.styles.js.map +1 -1
- package/lib-commonjs/components/FunnelChart/FunnelChart.js +402 -0
- package/lib-commonjs/components/FunnelChart/FunnelChart.js.map +1 -0
- package/lib-commonjs/components/FunnelChart/FunnelChart.types.js +6 -0
- package/lib-commonjs/components/FunnelChart/FunnelChart.types.js.map +1 -0
- package/lib-commonjs/components/FunnelChart/funnelGeometry.js +248 -0
- package/lib-commonjs/components/FunnelChart/funnelGeometry.js.map +1 -0
- package/lib-commonjs/components/FunnelChart/index.js +7 -0
- package/lib-commonjs/components/FunnelChart/index.js.map +1 -0
- package/lib-commonjs/components/FunnelChart/useFunnelChartStyles.styles.js +79 -0
- package/lib-commonjs/components/FunnelChart/useFunnelChartStyles.styles.js.map +1 -0
- package/lib-commonjs/components/GanttChart/GanttChart.js +541 -0
- package/lib-commonjs/components/GanttChart/GanttChart.js.map +1 -0
- package/lib-commonjs/components/GanttChart/GanttChart.types.js +7 -0
- package/lib-commonjs/components/GanttChart/GanttChart.types.js.map +1 -0
- package/lib-commonjs/components/GanttChart/index.js +7 -0
- package/lib-commonjs/components/GanttChart/index.js.map +1 -0
- package/lib-commonjs/components/GanttChart/useGanttChartStyles.styles.js +39 -0
- package/lib-commonjs/components/GanttChart/useGanttChartStyles.styles.js.map +1 -0
- package/lib-commonjs/components/GaugeChart/GaugeChart.js.map +1 -1
- package/lib-commonjs/components/GaugeChart/GaugeChart.types.js.map +1 -1
- package/lib-commonjs/components/GaugeChart/index.js.map +1 -1
- package/lib-commonjs/components/GaugeChart/useGaugeChartStyles.styles.js.map +1 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +10 -5
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/index.js.map +1 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/useGroupedVerticalBarChartStyles.styles.js.map +1 -1
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.js.map +1 -1
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.js.map +1 -1
- package/lib-commonjs/components/HeatMapChart/index.js.map +1 -1
- package/lib-commonjs/components/HeatMapChart/useHeatMapChartStyles.styles.js.map +1 -1
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js.map +1 -1
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js +3 -3
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -1
- package/lib-commonjs/components/HorizontalBarChart/index.js.map +1 -1
- package/lib-commonjs/components/HorizontalBarChart/useHorizontalBarChartStyles.styles.js.map +1 -1
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +9 -3
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -1
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -1
- package/lib-commonjs/components/HorizontalBarChartWithAxis/index.js.map +1 -1
- package/lib-commonjs/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.js.map +1 -1
- package/lib-commonjs/components/Legends/Legends.js.map +1 -1
- package/lib-commonjs/components/Legends/Legends.types.js.map +1 -1
- package/lib-commonjs/components/Legends/OverflowMenu.js.map +1 -1
- package/lib-commonjs/components/Legends/index.js.map +1 -1
- package/lib-commonjs/components/Legends/shape.js +2 -2
- package/lib-commonjs/components/Legends/shape.js.map +1 -1
- package/lib-commonjs/components/Legends/useLegendsStyles.styles.js.map +1 -1
- package/lib-commonjs/components/LineChart/LineChart.js +14 -7
- package/lib-commonjs/components/LineChart/LineChart.js.map +1 -1
- package/lib-commonjs/components/LineChart/LineChart.types.js.map +1 -1
- package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.js.map +1 -1
- package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.js.map +1 -1
- package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.js +2 -1
- package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.js.map +1 -1
- package/lib-commonjs/components/LineChart/index.js.map +1 -1
- package/lib-commonjs/components/LineChart/useLineChartStyles.styles.js.map +1 -1
- package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.js.map +1 -1
- package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.types.js.map +1 -1
- package/lib-commonjs/components/ResponsiveContainer/index.js.map +1 -1
- package/lib-commonjs/components/ResponsiveContainer/useResponsiveChildStyles.styles.js.map +1 -1
- package/lib-commonjs/components/ResponsiveContainer/withResponsiveContainer.js.map +1 -1
- package/lib-commonjs/components/SankeyChart/SankeyChart.js.map +1 -1
- package/lib-commonjs/components/SankeyChart/SankeyChart.types.js.map +1 -1
- package/lib-commonjs/components/SankeyChart/index.js.map +1 -1
- package/lib-commonjs/components/SankeyChart/useSankeyChartStyles.styles.js.map +1 -1
- package/lib-commonjs/components/ScatterChart/ScatterChart.js +8 -2
- package/lib-commonjs/components/ScatterChart/ScatterChart.js.map +1 -1
- package/lib-commonjs/components/ScatterChart/ScatterChart.types.js.map +1 -1
- package/lib-commonjs/components/ScatterChart/index.js.map +1 -1
- package/lib-commonjs/components/ScatterChart/useScatterChartStyles.styles.js.map +1 -1
- package/lib-commonjs/components/Sparkline/Sparkline.js.map +1 -1
- package/lib-commonjs/components/Sparkline/Sparkline.types.js.map +1 -1
- package/lib-commonjs/components/Sparkline/index.js.map +1 -1
- package/lib-commonjs/components/Sparkline/useSparklineStyles.styles.js.map +1 -1
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js +10 -4
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js.map +1 -1
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -1
- package/lib-commonjs/components/VerticalBarChart/index.js.map +1 -1
- package/lib-commonjs/components/VerticalBarChart/useVerticalBarChartStyles.styles.js.map +1 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js +4 -4
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
- package/lib-commonjs/components/VerticalStackedBarChart/index.js.map +1 -1
- package/lib-commonjs/components/VerticalStackedBarChart/useVerticalStackedBarChartStyles.styles.js.map +1 -1
- package/lib-commonjs/index.js +2 -0
- package/lib-commonjs/index.js.map +1 -1
- package/lib-commonjs/types/DataPoint.js +3 -1
- package/lib-commonjs/types/DataPoint.js.map +1 -1
- package/lib-commonjs/types/EventAnnotation.js.map +1 -1
- package/lib-commonjs/types/LegendDataItem.js.map +1 -1
- package/lib-commonjs/types/index.js.map +1 -1
- package/lib-commonjs/utilities/FocusableTooltipText.js.map +1 -1
- package/lib-commonjs/utilities/KeyCodes.js.map +1 -1
- package/lib-commonjs/utilities/SVGTooltipText.js.map +1 -1
- package/lib-commonjs/utilities/async-utils.js.map +1 -1
- package/lib-commonjs/utilities/colors.js +18 -0
- package/lib-commonjs/utilities/colors.js.map +1 -1
- package/lib-commonjs/utilities/getWindow.js.map +1 -1
- package/lib-commonjs/utilities/index.js.map +1 -1
- package/lib-commonjs/utilities/overflow-utils.js.map +1 -1
- package/lib-commonjs/utilities/string.js.map +1 -1
- package/lib-commonjs/utilities/test-data.js +245 -0
- package/lib-commonjs/utilities/test-data.js.map +1 -1
- package/lib-commonjs/utilities/utilities.js +86 -17
- package/lib-commonjs/utilities/utilities.js.map +1 -1
- package/lib-commonjs/utilities/vbc-utils.js +2 -2
- package/lib-commonjs/utilities/vbc-utils.js.map +1 -1
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,31 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-charts
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Mon, 28 Jul 2025 18:44:08 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [9.1.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-charts_v9.1.10)
|
|
8
|
+
|
|
9
|
+
Mon, 28 Jul 2025 18:44:08 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charts_v9.1.9..@fluentui/react-charts_v9.1.10)
|
|
11
|
+
|
|
12
|
+
### Patches
|
|
13
|
+
|
|
14
|
+
- fix callout position issues ([PR #34868](https://github.com/microsoft/fluentui/pull/34868) by anushgupta@microsoft.com)
|
|
15
|
+
- mitigate xss vulnerabilities ([PR #34920](https://github.com/microsoft/fluentui/pull/34920) by anushgupta@microsoft.com)
|
|
16
|
+
- Add Gantt chart in v9 ([PR #34909](https://github.com/microsoft/fluentui/pull/34909) by anushgupta@microsoft.com)
|
|
17
|
+
- funnel chart in v9 ([PR #34866](https://github.com/microsoft/fluentui/pull/34866) by anushgupta@microsoft.com)
|
|
18
|
+
- Bump @fluentui/react-button to v9.6.1 ([PR #34918](https://github.com/microsoft/fluentui/pull/34918) by beachball)
|
|
19
|
+
- Bump @fluentui/react-jsx-runtime to v9.1.3 ([PR #34918](https://github.com/microsoft/fluentui/pull/34918) by beachball)
|
|
20
|
+
- Bump @fluentui/react-overflow to v9.5.1 ([PR #34918](https://github.com/microsoft/fluentui/pull/34918) by beachball)
|
|
21
|
+
- Bump @fluentui/react-popover to v9.12.1 ([PR #34918](https://github.com/microsoft/fluentui/pull/34918) by beachball)
|
|
22
|
+
- Bump @fluentui/react-tabster to v9.26.1 ([PR #34918](https://github.com/microsoft/fluentui/pull/34918) by beachball)
|
|
23
|
+
- Bump @fluentui/react-tooltip to v9.8.1 ([PR #34918](https://github.com/microsoft/fluentui/pull/34918) by beachball)
|
|
24
|
+
- Bump @fluentui/react-utilities to v9.23.0 ([PR #34918](https://github.com/microsoft/fluentui/pull/34918) by beachball)
|
|
25
|
+
|
|
7
26
|
## [9.1.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-charts_v9.1.9)
|
|
8
27
|
|
|
9
|
-
Thu, 17 Jul 2025 13:
|
|
28
|
+
Thu, 17 Jul 2025 13:49:52 GMT
|
|
10
29
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charts_v9.1.8..@fluentui/react-charts_v9.1.9)
|
|
11
30
|
|
|
12
31
|
### Patches
|
package/dist/index.d.ts
CHANGED
|
@@ -107,6 +107,25 @@ export declare interface AreaChartStyleProps extends CartesianChartStyleProps {
|
|
|
107
107
|
export declare interface AreaChartStyles extends CartesianChartStyles {
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
+
/**
|
|
111
|
+
* Specifies the ordering options for axis categories in Cartesian charts.
|
|
112
|
+
*
|
|
113
|
+
* - `'default'`: Uses the original order before custom ordering was supported.
|
|
114
|
+
* In some charts, this behaves the same as `'data'`.
|
|
115
|
+
* - `'data'`: Preserves the order of categories as provided in the input data.
|
|
116
|
+
* - `string[]`: Explicitly defines the custom order of categories as an array of category names.
|
|
117
|
+
* - `'category ascending' | 'category descending'`: Orders categories alphanumerically.
|
|
118
|
+
* - `'total ascending' | 'total descending'`: Orders categories by the total of their associated values.
|
|
119
|
+
* - `'min ascending' | 'min descending'`: Orders by the minimum value within each category.
|
|
120
|
+
* - `'max ascending' | 'max descending'`: Orders by the maximum value within each category.
|
|
121
|
+
* - `'sum ascending' | 'sum descending'`: Orders by the sum of values for each category (same as 'total').
|
|
122
|
+
* - `'mean ascending' | 'mean descending'`: Orders by the average of values in each category.
|
|
123
|
+
* - `'median ascending' | 'median descending'`: Orders by the median value of each category.
|
|
124
|
+
*
|
|
125
|
+
* {@docCategory CartesianChart}
|
|
126
|
+
*/
|
|
127
|
+
export declare type AxisCategoryOrder = 'default' | 'data' | string[] | 'category ascending' | 'category descending' | 'total ascending' | 'total descending' | 'min ascending' | 'min descending' | 'max ascending' | 'max descending' | 'sum ascending' | 'sum descending' | 'mean ascending' | 'mean descending' | 'median ascending' | 'median descending';
|
|
128
|
+
|
|
110
129
|
/**
|
|
111
130
|
* {@docCategory ChartData}
|
|
112
131
|
*/
|
|
@@ -405,6 +424,28 @@ export declare interface CartesianChartProps {
|
|
|
405
424
|
* the public methods and properties of the component.
|
|
406
425
|
*/
|
|
407
426
|
componentRef?: React_2.RefObject<Chart>;
|
|
427
|
+
/**
|
|
428
|
+
* Prop to set the x axis annotation. Used to display additional information on the x-axis.
|
|
429
|
+
* This is shown on the top of the chart.
|
|
430
|
+
* @default undefined
|
|
431
|
+
*/
|
|
432
|
+
xAxisAnnotation?: string;
|
|
433
|
+
/**
|
|
434
|
+
* Prop to set the y axis annotation. Used to display additional information on the y-axis.
|
|
435
|
+
* This is shown on the right side of the chart. Not shown if secondary y-axis is enabled.
|
|
436
|
+
* @default undefined
|
|
437
|
+
*/
|
|
438
|
+
yAxisAnnotation?: string;
|
|
439
|
+
/**
|
|
440
|
+
* Specifies the ordering logic for categories (or string tick labels) on the x-axis.
|
|
441
|
+
* @default 'default'
|
|
442
|
+
*/
|
|
443
|
+
xAxisCategoryOrder?: AxisCategoryOrder;
|
|
444
|
+
/**
|
|
445
|
+
* Specifies the ordering logic for categories (or string tick labels) on the y-axis.
|
|
446
|
+
* @default 'default'
|
|
447
|
+
*/
|
|
448
|
+
yAxisCategoryOrder?: AxisCategoryOrder;
|
|
408
449
|
}
|
|
409
450
|
|
|
410
451
|
/**
|
|
@@ -564,7 +605,7 @@ export declare interface ChartDataPoint {
|
|
|
564
605
|
placeHolder?: boolean;
|
|
565
606
|
/**
|
|
566
607
|
* Callout data for x axis
|
|
567
|
-
* This is an optional prop, If haven
|
|
608
|
+
* This is an optional prop, If haven't given legend will take
|
|
568
609
|
*/
|
|
569
610
|
xAxisCalloutData?: string;
|
|
570
611
|
/**
|
|
@@ -656,7 +697,8 @@ declare enum ChartTypes {
|
|
|
656
697
|
GroupedVerticalBarChart = 4,
|
|
657
698
|
HeatMapChart = 5,
|
|
658
699
|
HorizontalBarChartWithAxis = 6,
|
|
659
|
-
ScatterChart = 7
|
|
700
|
+
ScatterChart = 7,
|
|
701
|
+
GanttChart = 8
|
|
660
702
|
}
|
|
661
703
|
|
|
662
704
|
export declare interface ChildProps {
|
|
@@ -967,6 +1009,261 @@ export declare interface ExtendedSegment extends GaugeChartSegment {
|
|
|
967
1009
|
end: number;
|
|
968
1010
|
}
|
|
969
1011
|
|
|
1012
|
+
export declare const FunnelChart: React_2.FunctionComponent<FunnelChartProps>;
|
|
1013
|
+
|
|
1014
|
+
/**
|
|
1015
|
+
* Data point for funnel chart
|
|
1016
|
+
* {@docCategory FunnelChart}
|
|
1017
|
+
*/
|
|
1018
|
+
export declare interface FunnelChartDataPoint {
|
|
1019
|
+
/**
|
|
1020
|
+
* Stage name or identifier
|
|
1021
|
+
*/
|
|
1022
|
+
stage: string | number;
|
|
1023
|
+
/**
|
|
1024
|
+
* Sub-values for stacked funnel charts
|
|
1025
|
+
* Each sub-value represents a category within the stage
|
|
1026
|
+
*/
|
|
1027
|
+
subValues?: Array<{
|
|
1028
|
+
category: string;
|
|
1029
|
+
value: number;
|
|
1030
|
+
color: string;
|
|
1031
|
+
}>;
|
|
1032
|
+
/**
|
|
1033
|
+
* Value for the stage (used for non-stacked funnel charts)
|
|
1034
|
+
*/
|
|
1035
|
+
value?: number;
|
|
1036
|
+
/**
|
|
1037
|
+
* Color for the stage (used for non-stacked funnel charts)
|
|
1038
|
+
*/
|
|
1039
|
+
color?: string;
|
|
1040
|
+
}
|
|
1041
|
+
|
|
1042
|
+
/**
|
|
1043
|
+
* Funnel Chart component props
|
|
1044
|
+
* {@docCategory FunnelChart}
|
|
1045
|
+
*/
|
|
1046
|
+
export declare interface FunnelChartProps {
|
|
1047
|
+
/**
|
|
1048
|
+
* Data points for the funnel chart
|
|
1049
|
+
*/
|
|
1050
|
+
data: FunnelChartDataPoint[];
|
|
1051
|
+
/**
|
|
1052
|
+
* Title for the chart
|
|
1053
|
+
*/
|
|
1054
|
+
chartTitle?: string;
|
|
1055
|
+
/**
|
|
1056
|
+
* Width of the chart
|
|
1057
|
+
*/
|
|
1058
|
+
width?: number;
|
|
1059
|
+
/**
|
|
1060
|
+
* Height of the chart
|
|
1061
|
+
*/
|
|
1062
|
+
height?: number;
|
|
1063
|
+
/**
|
|
1064
|
+
* Decides whether to show/hide legends
|
|
1065
|
+
* @defaultvalue false
|
|
1066
|
+
*/
|
|
1067
|
+
hideLegend?: boolean;
|
|
1068
|
+
/**
|
|
1069
|
+
* Props for the legends in the chart
|
|
1070
|
+
*/
|
|
1071
|
+
legendProps?: Partial<LegendsProps>;
|
|
1072
|
+
/**
|
|
1073
|
+
* Props for the callout in the chart
|
|
1074
|
+
*/
|
|
1075
|
+
calloutProps?: ChartPopoverProps;
|
|
1076
|
+
/**
|
|
1077
|
+
* Call to provide customized styling that will layer on top of the variant rules
|
|
1078
|
+
*/
|
|
1079
|
+
styles?: FunnelChartStyles;
|
|
1080
|
+
/**
|
|
1081
|
+
* Defines the culture to localize the numbers and dates
|
|
1082
|
+
*/
|
|
1083
|
+
culture?: string;
|
|
1084
|
+
/**
|
|
1085
|
+
* Reference to the chart component
|
|
1086
|
+
*/
|
|
1087
|
+
componentRef?: React_2.RefObject<any>;
|
|
1088
|
+
/**
|
|
1089
|
+
* Additional CSS class(es) to apply to the chart
|
|
1090
|
+
*/
|
|
1091
|
+
className?: string;
|
|
1092
|
+
/**
|
|
1093
|
+
* Orientation of the funnel chart
|
|
1094
|
+
* @defaultvalue 'horizontal'
|
|
1095
|
+
*/
|
|
1096
|
+
orientation?: 'horizontal' | 'vertical';
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
/**
|
|
1100
|
+
* Funnel Chart style properties
|
|
1101
|
+
* {@docCategory FunnelChart}
|
|
1102
|
+
*/
|
|
1103
|
+
export declare interface FunnelChartStyleProps {
|
|
1104
|
+
/**
|
|
1105
|
+
* Additional CSS class(es) to apply to the chart
|
|
1106
|
+
*/
|
|
1107
|
+
className?: string;
|
|
1108
|
+
/**
|
|
1109
|
+
* Width of the chart
|
|
1110
|
+
*/
|
|
1111
|
+
chartWidth: number;
|
|
1112
|
+
/**
|
|
1113
|
+
* Height of the chart
|
|
1114
|
+
*/
|
|
1115
|
+
chartHeight: number;
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
/**
|
|
1119
|
+
* Funnel Chart styles
|
|
1120
|
+
* {@docCategory FunnelChart}
|
|
1121
|
+
*/
|
|
1122
|
+
export declare interface FunnelChartStyles {
|
|
1123
|
+
/**
|
|
1124
|
+
* Styles for the root element
|
|
1125
|
+
*/
|
|
1126
|
+
root?: string;
|
|
1127
|
+
/**
|
|
1128
|
+
* Styles for the chart
|
|
1129
|
+
*/
|
|
1130
|
+
chart?: string;
|
|
1131
|
+
/**
|
|
1132
|
+
* Styles for text elements
|
|
1133
|
+
*/
|
|
1134
|
+
text?: string;
|
|
1135
|
+
/**
|
|
1136
|
+
* Styles for the callout root element
|
|
1137
|
+
*/
|
|
1138
|
+
calloutContentRoot?: string;
|
|
1139
|
+
}
|
|
1140
|
+
|
|
1141
|
+
export declare const GanttChart: React_2.FunctionComponent<GanttChartProps>;
|
|
1142
|
+
|
|
1143
|
+
/**
|
|
1144
|
+
* {@docCategory IChartData}
|
|
1145
|
+
*/
|
|
1146
|
+
export declare interface GanttChartDataPoint {
|
|
1147
|
+
/**
|
|
1148
|
+
* Dependent value of the data point, rendered along the x-axis.
|
|
1149
|
+
*/
|
|
1150
|
+
x: {
|
|
1151
|
+
start: Date | number;
|
|
1152
|
+
end: Date | number;
|
|
1153
|
+
};
|
|
1154
|
+
/**
|
|
1155
|
+
* Independent value of the data point, rendered along the y-axis.
|
|
1156
|
+
* If y is a number, then each y-coordinate is plotted at its y-coordinate.
|
|
1157
|
+
* If y is a string, then the data is evenly spaced along the y-axis.
|
|
1158
|
+
*/
|
|
1159
|
+
y: number | string;
|
|
1160
|
+
/**
|
|
1161
|
+
* Legend text for the datapoint in the chart
|
|
1162
|
+
*/
|
|
1163
|
+
legend?: string;
|
|
1164
|
+
/**
|
|
1165
|
+
* color for the legend in the chart
|
|
1166
|
+
*/
|
|
1167
|
+
color?: string;
|
|
1168
|
+
/**
|
|
1169
|
+
* Gradient for the legend in the chart. If not provided, it will fallback on the default color palette.
|
|
1170
|
+
* If provided, it will override the color prop. granted `enableGradient` is set to true for the chart.
|
|
1171
|
+
*/
|
|
1172
|
+
gradient?: [string, string];
|
|
1173
|
+
/**
|
|
1174
|
+
* Callout data for x axis
|
|
1175
|
+
* This is an optional prop, If haven't given legend will take
|
|
1176
|
+
*/
|
|
1177
|
+
xAxisCalloutData?: string;
|
|
1178
|
+
/**
|
|
1179
|
+
* Callout data for y axis
|
|
1180
|
+
* This is an optional prop, If haven't given data will take
|
|
1181
|
+
*/
|
|
1182
|
+
yAxisCalloutData?: string;
|
|
1183
|
+
/**
|
|
1184
|
+
* onClick action for each datapoint in the chart
|
|
1185
|
+
*/
|
|
1186
|
+
onClick?: VoidFunction;
|
|
1187
|
+
/**
|
|
1188
|
+
* Accessibility data for callout
|
|
1189
|
+
*/
|
|
1190
|
+
callOutAccessibilityData?: AccessibilityProps;
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
/**
|
|
1194
|
+
* Gantt Chart properties
|
|
1195
|
+
* {@docCategory GanttChart}
|
|
1196
|
+
*/
|
|
1197
|
+
export declare interface GanttChartProps extends CartesianChartProps {
|
|
1198
|
+
/**
|
|
1199
|
+
* An array of data points to be rendered in the chart.
|
|
1200
|
+
*/
|
|
1201
|
+
data?: GanttChartDataPoint[];
|
|
1202
|
+
/**
|
|
1203
|
+
* Callback function to render a custom callout for each data point.
|
|
1204
|
+
*/
|
|
1205
|
+
onRenderCalloutPerDataPoint?: RenderFunction<GanttChartDataPoint>;
|
|
1206
|
+
/**
|
|
1207
|
+
* Height of each bar, in pixels.
|
|
1208
|
+
*/
|
|
1209
|
+
barHeight?: number;
|
|
1210
|
+
/**
|
|
1211
|
+
* Title of the chart.
|
|
1212
|
+
*/
|
|
1213
|
+
chartTitle?: string;
|
|
1214
|
+
/**
|
|
1215
|
+
* Locale identifier string used to format numbers and dates according to the specified culture.
|
|
1216
|
+
* Example: 'en-US', 'fr-FR'.
|
|
1217
|
+
*/
|
|
1218
|
+
culture?: string;
|
|
1219
|
+
/**
|
|
1220
|
+
* Padding between bars as a fraction of the [step](https://d3js.org/d3-scale/band#band_step).
|
|
1221
|
+
* Takes a number in the range [0, 1].
|
|
1222
|
+
* @default 1/2
|
|
1223
|
+
*/
|
|
1224
|
+
yAxisPadding?: number;
|
|
1225
|
+
/**
|
|
1226
|
+
* If true, truncates y-axis tick labels longer than `noOfCharsToTruncate` with ellipses
|
|
1227
|
+
* and displays them in a tooltip on hover.
|
|
1228
|
+
* @default false
|
|
1229
|
+
*/
|
|
1230
|
+
showYAxisLablesTooltip?: boolean;
|
|
1231
|
+
/**
|
|
1232
|
+
* If true, renders full y-axis tick labels without truncation.
|
|
1233
|
+
* @default false
|
|
1234
|
+
*/
|
|
1235
|
+
showYAxisLables?: boolean;
|
|
1236
|
+
/**
|
|
1237
|
+
* If true, enables gradient fills for the bars.
|
|
1238
|
+
* @default false
|
|
1239
|
+
*/
|
|
1240
|
+
enableGradient?: boolean;
|
|
1241
|
+
/**
|
|
1242
|
+
* If true, applies rounded corners to the bars.
|
|
1243
|
+
* @default false
|
|
1244
|
+
*/
|
|
1245
|
+
roundCorners?: boolean;
|
|
1246
|
+
/**
|
|
1247
|
+
* Maximum height of each bar, in pixels.
|
|
1248
|
+
* @default 24
|
|
1249
|
+
*/
|
|
1250
|
+
maxBarHeight?: number;
|
|
1251
|
+
}
|
|
1252
|
+
|
|
1253
|
+
/**
|
|
1254
|
+
* Gantt Chart style properties
|
|
1255
|
+
* {@docCategory GanttChart}
|
|
1256
|
+
*/
|
|
1257
|
+
export declare interface GanttChartStyleProps extends CartesianChartStyleProps {
|
|
1258
|
+
}
|
|
1259
|
+
|
|
1260
|
+
/**
|
|
1261
|
+
* Gantt Chart styles
|
|
1262
|
+
* {@docCategory GanttChart}
|
|
1263
|
+
*/
|
|
1264
|
+
export declare interface GanttChartStyles extends CartesianChartStyles {
|
|
1265
|
+
}
|
|
1266
|
+
|
|
970
1267
|
export declare const GaugeChart: React_2.FunctionComponent<GaugeChartProps>;
|
|
971
1268
|
|
|
972
1269
|
/**
|
|
@@ -1192,6 +1489,10 @@ export declare const getColorContrast: (c1: string, c2: string) => number;
|
|
|
1192
1489
|
|
|
1193
1490
|
export declare const getColorFromToken: (token: string, isDarkTheme?: boolean) => string;
|
|
1194
1491
|
|
|
1492
|
+
export declare function getContrastTextColor(backgroundColor: string, isDarkTheme?: boolean): string;
|
|
1493
|
+
|
|
1494
|
+
export declare const getInvertedTextColor: (color: string, isDarkTheme?: boolean) => string;
|
|
1495
|
+
|
|
1195
1496
|
export declare const getNextColor: (index: number, offset?: number, isDarkTheme?: boolean) => string;
|
|
1196
1497
|
|
|
1197
1498
|
export declare const getSegmentLabel: (segment: ExtendedSegment, minValue: number, maxValue: number, variant?: GaugeChartVariant, isAriaLabel?: boolean) => string;
|
|
@@ -1338,7 +1639,7 @@ export declare interface GVBarChartSeriesPoint {
|
|
|
1338
1639
|
legend: string;
|
|
1339
1640
|
/**
|
|
1340
1641
|
* Callout data for x axis
|
|
1341
|
-
* This is an optional prop, If haven
|
|
1642
|
+
* This is an optional prop, If haven't given legend will take
|
|
1342
1643
|
*/
|
|
1343
1644
|
xAxisCalloutData?: string;
|
|
1344
1645
|
/**
|
|
@@ -1736,7 +2037,7 @@ export declare interface HorizontalBarChartWithAxisDataPoint {
|
|
|
1736
2037
|
color?: string;
|
|
1737
2038
|
/**
|
|
1738
2039
|
* Callout data for x axis
|
|
1739
|
-
* This is an optional prop, If haven
|
|
2040
|
+
* This is an optional prop, If haven't given legend will take
|
|
1740
2041
|
*/
|
|
1741
2042
|
xAxisCalloutData?: string;
|
|
1742
2043
|
/**
|
|
@@ -2578,7 +2879,7 @@ export declare interface ModifiedCartesianChartProps extends CartesianChartProps
|
|
|
2578
2879
|
/**
|
|
2579
2880
|
* Get the min and max values of the y-axis
|
|
2580
2881
|
*/
|
|
2581
|
-
getMinMaxOfYAxis: (points: LineChartPoints[] | HorizontalBarChartWithAxisDataPoint[] | VerticalBarChartDataPoint[] | DataPoint[] | ScatterChartDataPoint[], yAxisType: YAxisType | undefined, useSecondaryYScale?: boolean) => {
|
|
2882
|
+
getMinMaxOfYAxis: (points: LineChartPoints[] | HorizontalBarChartWithAxisDataPoint[] | VerticalBarChartDataPoint[] | DataPoint[] | ScatterChartDataPoint[] | GanttChartDataPoint[], yAxisType: YAxisType | undefined, useSecondaryYScale?: boolean) => {
|
|
2582
2883
|
startValue: number;
|
|
2583
2884
|
endValue: number;
|
|
2584
2885
|
};
|
|
@@ -2589,7 +2890,7 @@ export declare interface ModifiedCartesianChartProps extends CartesianChartProps
|
|
|
2589
2890
|
/**
|
|
2590
2891
|
* Get the domain and range values
|
|
2591
2892
|
*/
|
|
2592
|
-
getDomainNRangeValues: (points: LineChartPoints[] | VerticalBarChartDataPoint[] | VerticalStackedBarDataPoint[] | HorizontalBarChartWithAxisDataPoint[] | GroupedVerticalBarChartData[] | HeatMapChartDataPoint[], margins: Margins, width: number, chartType: ChartTypes, isRTL: boolean, xAxisType: XAxisTypes, barWidth: number, tickValues: Date[] | number[] | string[] | undefined, shiftX: number) => IDomainNRange;
|
|
2893
|
+
getDomainNRangeValues: (points: LineChartPoints[] | VerticalBarChartDataPoint[] | VerticalStackedBarDataPoint[] | HorizontalBarChartWithAxisDataPoint[] | GroupedVerticalBarChartData[] | HeatMapChartDataPoint[] | GanttChartDataPoint[], margins: Margins, width: number, chartType: ChartTypes, isRTL: boolean, xAxisType: XAxisTypes, barWidth: number, tickValues: Date[] | number[] | string[] | undefined, shiftX: number) => IDomainNRange;
|
|
2593
2894
|
/**
|
|
2594
2895
|
* Create the string y-axis
|
|
2595
2896
|
*/
|
|
@@ -3113,7 +3414,7 @@ export declare interface VerticalBarChartDataPoint {
|
|
|
3113
3414
|
color?: string;
|
|
3114
3415
|
/**
|
|
3115
3416
|
* Callout data for x axis
|
|
3116
|
-
* This is an optional prop, If haven
|
|
3417
|
+
* This is an optional prop, If haven't given legend will take
|
|
3117
3418
|
*/
|
|
3118
3419
|
xAxisCalloutData?: string;
|
|
3119
3420
|
/**
|
|
@@ -3460,7 +3761,7 @@ export declare interface VSChartDataPoint {
|
|
|
3460
3761
|
color?: string;
|
|
3461
3762
|
/**
|
|
3462
3763
|
* Callout data for x axis
|
|
3463
|
-
* This is an optional prop, If haven
|
|
3764
|
+
* This is an optional prop, If haven't given legend will take
|
|
3464
3765
|
*/
|
|
3465
3766
|
xAxisCalloutData?: string;
|
|
3466
3767
|
/**
|
package/lib/AreaChart.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["AreaChart.ts"],"sourcesContent":["export * from './components/AreaChart/index';\n"],"names":[],"
|
|
1
|
+
{"version":3,"sources":["AreaChart.ts"],"sourcesContent":["export * from './components/AreaChart/index';\n"],"names":[],"mappings":"AAAA,cAAc,+BAA+B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["CartesianChart.ts"],"sourcesContent":["export * from './components/CommonComponents/index';\n"],"names":[],"
|
|
1
|
+
{"version":3,"sources":["CartesianChart.ts"],"sourcesContent":["export * from './components/CommonComponents/index';\n"],"names":[],"mappings":"AAAA,cAAc,sCAAsC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["DeclarativeChart.ts"],"sourcesContent":["export * from './components/DeclarativeChart/index';\n"],"names":[],"
|
|
1
|
+
{"version":3,"sources":["DeclarativeChart.ts"],"sourcesContent":["export * from './components/DeclarativeChart/index';\n"],"names":[],"mappings":"AAAA,cAAc,sCAAsC"}
|
package/lib/DonutChart.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["DonutChart.ts"],"sourcesContent":["export * from './components/DonutChart/index';\n"],"names":[],"
|
|
1
|
+
{"version":3,"sources":["DonutChart.ts"],"sourcesContent":["export * from './components/DonutChart/index';\n"],"names":[],"mappings":"AAAA,cAAc,gCAAgC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components/FunnelChart/index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["FunnelChart.ts"],"sourcesContent":["export * from './components/FunnelChart/index';\n"],"names":[],"mappings":"AAAA,cAAc,iCAAiC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components/GanttChart/index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["GanttChart.ts"],"sourcesContent":["export * from './components/GanttChart/index';\n"],"names":[],"mappings":"AAAA,cAAc,gCAAgC"}
|
package/lib/GaugeChart.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["GaugeChart.ts"],"sourcesContent":["export * from './components/GaugeChart/index';\n"],"names":[],"
|
|
1
|
+
{"version":3,"sources":["GaugeChart.ts"],"sourcesContent":["export * from './components/GaugeChart/index';\n"],"names":[],"mappings":"AAAA,cAAc,gCAAgC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["GroupedVerticalBarChart.ts"],"sourcesContent":["export * from './components/GroupedVerticalBarChart/index';\n"],"names":[],"
|
|
1
|
+
{"version":3,"sources":["GroupedVerticalBarChart.ts"],"sourcesContent":["export * from './components/GroupedVerticalBarChart/index';\n"],"names":[],"mappings":"AAAA,cAAc,6CAA6C"}
|
package/lib/HeatMapChart.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["HeatMapChart.ts"],"sourcesContent":["export * from './components/HeatMapChart/index';\n"],"names":[],"
|
|
1
|
+
{"version":3,"sources":["HeatMapChart.ts"],"sourcesContent":["export * from './components/HeatMapChart/index';\n"],"names":[],"mappings":"AAAA,cAAc,kCAAkC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["HorizontalBarChart.ts"],"sourcesContent":["export * from './components/HorizontalBarChart/index';\n"],"names":[],"
|
|
1
|
+
{"version":3,"sources":["HorizontalBarChart.ts"],"sourcesContent":["export * from './components/HorizontalBarChart/index';\n"],"names":[],"mappings":"AAAA,cAAc,wCAAwC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["HorizontalBarChartWithAxis.ts"],"sourcesContent":["export * from './components/HorizontalBarChartWithAxis/index';\n"],"names":[],"
|
|
1
|
+
{"version":3,"sources":["HorizontalBarChartWithAxis.ts"],"sourcesContent":["export * from './components/HorizontalBarChartWithAxis/index';\n"],"names":[],"mappings":"AAAA,cAAc,gDAAgD"}
|
package/lib/Legends.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["Legends.ts"],"sourcesContent":["export * from './components/Legends/index';\n"],"names":[],"
|
|
1
|
+
{"version":3,"sources":["Legends.ts"],"sourcesContent":["export * from './components/Legends/index';\n"],"names":[],"mappings":"AAAA,cAAc,6BAA6B"}
|
package/lib/LineChart.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["LineChart.ts"],"sourcesContent":["export * from './components/LineChart/index';\n"],"names":[],"
|
|
1
|
+
{"version":3,"sources":["LineChart.ts"],"sourcesContent":["export * from './components/LineChart/index';\n"],"names":[],"mappings":"AAAA,cAAc,+BAA+B"}
|
package/lib/Popover.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["Popover.ts"],"sourcesContent":["export * from './components/CommonComponents/index';\n"],"names":[],"
|
|
1
|
+
{"version":3,"sources":["Popover.ts"],"sourcesContent":["export * from './components/CommonComponents/index';\n"],"names":[],"mappings":"AAAA,cAAc,sCAAsC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["ResponsiveContainer.ts"],"sourcesContent":["export * from './components/ResponsiveContainer/index';\n"],"names":[],"
|
|
1
|
+
{"version":3,"sources":["ResponsiveContainer.ts"],"sourcesContent":["export * from './components/ResponsiveContainer/index';\n"],"names":[],"mappings":"AAAA,cAAc,yCAAyC"}
|
package/lib/SankeyChart.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["SankeyChart.ts"],"sourcesContent":["export * from './components/SankeyChart/index';\n"],"names":[],"
|
|
1
|
+
{"version":3,"sources":["SankeyChart.ts"],"sourcesContent":["export * from './components/SankeyChart/index';\n"],"names":[],"mappings":"AAAA,cAAc,iCAAiC"}
|
package/lib/ScatterChart.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["ScatterChart.ts"],"sourcesContent":["export * from './components/ScatterChart/index';\n"],"names":[],"
|
|
1
|
+
{"version":3,"sources":["ScatterChart.ts"],"sourcesContent":["export * from './components/ScatterChart/index';\n"],"names":[],"mappings":"AAAA,cAAc,kCAAkC"}
|
package/lib/Sparkline.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["Sparkline.ts"],"sourcesContent":["export * from './components/Sparkline/index';\n"],"names":[],"
|
|
1
|
+
{"version":3,"sources":["Sparkline.ts"],"sourcesContent":["export * from './components/Sparkline/index';\n"],"names":[],"mappings":"AAAA,cAAc,+BAA+B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["VerticalBarChart.ts"],"sourcesContent":["export * from './components/VerticalBarChart/index';\n"],"names":[],"
|
|
1
|
+
{"version":3,"sources":["VerticalBarChart.ts"],"sourcesContent":["export * from './components/VerticalBarChart/index';\n"],"names":[],"mappings":"AAAA,cAAc,sCAAsC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["VerticalStackedBarChart.ts"],"sourcesContent":["export * from './components/VerticalStackedBarChart/index';\n"],"names":[],"
|
|
1
|
+
{"version":3,"sources":["VerticalStackedBarChart.ts"],"sourcesContent":["export * from './components/VerticalStackedBarChart/index';\n"],"names":[],"mappings":"AAAA,cAAc,6CAA6C"}
|
|
@@ -11,11 +11,11 @@ import { useId } from '@fluentui/react-utilities';
|
|
|
11
11
|
import { Legends } from '../Legends/index';
|
|
12
12
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
13
13
|
const bisect = bisector((d)=>d.x).left;
|
|
14
|
-
var InterceptVisibility
|
|
15
|
-
(function(InterceptVisibility) {
|
|
14
|
+
var InterceptVisibility = /*#__PURE__*/ function(InterceptVisibility) {
|
|
16
15
|
InterceptVisibility["show"] = "visibility";
|
|
17
16
|
InterceptVisibility["hide"] = "hidden";
|
|
18
|
-
|
|
17
|
+
return InterceptVisibility;
|
|
18
|
+
}(InterceptVisibility || {});
|
|
19
19
|
//by default d3-shape 3.2.0 limits the< path> data point precision to 3 digits(d3/d3-path#10)
|
|
20
20
|
export const AreaChart = /*#__PURE__*/ React.forwardRef((props, forwardedRef)=>{
|
|
21
21
|
var _props_legendProps;
|
|
@@ -503,6 +503,7 @@ export const AreaChart = /*#__PURE__*/ React.forwardRef((props, forwardedRef)=>{
|
|
|
503
503
|
opacity: layerOpacity,
|
|
504
504
|
fillOpacity: _getOpacity(points[index].legend),
|
|
505
505
|
onMouseMove: (event)=>_onRectMouseMove(event),
|
|
506
|
+
onFocus: (event)=>_handleFocus(event, index, 0, `${_circleId}_${index}`),
|
|
506
507
|
onMouseOut: _onRectMouseOut,
|
|
507
508
|
onMouseOver: (event)=>_onRectMouseMove(event)
|
|
508
509
|
}) : /*#__PURE__*/ React.createElement("path", {
|
|
@@ -552,7 +553,7 @@ export const AreaChart = /*#__PURE__*/ React.forwardRef((props, forwardedRef)=>{
|
|
|
552
553
|
onMouseOut: _onRectMouseOut,
|
|
553
554
|
onMouseOver: (event)=>_onRectMouseMove(event),
|
|
554
555
|
onClick: ()=>_onDataPointClick(points[index].data[pointIndex].onDataPointClick),
|
|
555
|
-
onFocus: ()=>_handleFocus(index, pointIndex, circleId),
|
|
556
|
+
onFocus: (event)=>_handleFocus(event, index, pointIndex, circleId),
|
|
556
557
|
onBlur: _handleBlur,
|
|
557
558
|
...getSecureProps(pointOptions),
|
|
558
559
|
r: _getCircleRadius(xDataPoint, circleRadius, circleId, legend),
|
|
@@ -578,6 +579,7 @@ export const AreaChart = /*#__PURE__*/ React.forwardRef((props, forwardedRef)=>{
|
|
|
578
579
|
fill: _updateCircleFillColor(xDataPoint, lineColor, circleId),
|
|
579
580
|
onMouseOut: _onRectMouseOut,
|
|
580
581
|
onMouseOver: (event)=>_onRectMouseMove(event),
|
|
582
|
+
onFocus: (event)=>_handleFocus(event, index, pointIndex, circleId),
|
|
581
583
|
onClick: ()=>_onDataPointClick(points[index].data[pointIndex].onDataPointClick),
|
|
582
584
|
...getSecureProps(pointOptions),
|
|
583
585
|
r: _getCircleRadius(xDataPoint, circleRadius, circleId, legend)
|
|
@@ -671,7 +673,13 @@ export const AreaChart = /*#__PURE__*/ React.forwardRef((props, forwardedRef)=>{
|
|
|
671
673
|
};
|
|
672
674
|
}) : [];
|
|
673
675
|
}
|
|
674
|
-
function _handleFocus(lineIndex, pointIndex, circleId) {
|
|
676
|
+
function _handleFocus(event, lineIndex, pointIndex, circleId) {
|
|
677
|
+
let cx = 0;
|
|
678
|
+
let cy = 0;
|
|
679
|
+
const targetRect = event.target.getBoundingClientRect();
|
|
680
|
+
cx = targetRect.left + targetRect.width / 2;
|
|
681
|
+
cy = targetRect.top + targetRect.height / 2;
|
|
682
|
+
_updatePosition(cx, cy);
|
|
675
683
|
const { x, y, xAxisCalloutData } = props.data.lineChartData[lineIndex].data[pointIndex];
|
|
676
684
|
const formattedDate = x instanceof Date ? formatDate(x, props.useUTC) : x;
|
|
677
685
|
const modifiedXVal = x instanceof Date ? x.getTime() : x;
|