@fluentui/react-charting 5.25.1 → 5.25.2
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.json +72 -1
- package/CHANGELOG.md +19 -2
- package/dist/react-charting.d.ts +48 -45
- package/dist/react-charting.js +1 -1
- package/dist/react-charting.min.js +1 -1
- package/etc/react-charting.api.md +24 -11
- package/lib/AnnotationOnlyChart.d.ts +1 -0
- package/lib/AnnotationOnlyChart.js +2 -0
- package/lib/AnnotationOnlyChart.js.map +1 -0
- package/lib/components/AnnotationOnlyChart/AnnotationOnlyChart.d.ts +3 -0
- package/lib/components/AnnotationOnlyChart/AnnotationOnlyChart.js +158 -0
- package/lib/components/AnnotationOnlyChart/AnnotationOnlyChart.js.map +1 -0
- package/lib/components/AnnotationOnlyChart/AnnotationOnlyChart.types.d.ts +33 -0
- package/lib/components/AnnotationOnlyChart/AnnotationOnlyChart.types.js +2 -0
- package/lib/components/AnnotationOnlyChart/AnnotationOnlyChart.types.js.map +1 -0
- package/lib/components/AnnotationOnlyChart/index.d.ts +2 -0
- package/lib/components/AnnotationOnlyChart/index.js +3 -0
- package/lib/components/AnnotationOnlyChart/index.js.map +1 -0
- package/lib/components/AreaChart/AreaChart.base.js +2 -2
- package/lib/components/AreaChart/AreaChart.base.js.map +1 -1
- package/lib/components/ChartTable/ChartTable.base.js +5 -3
- package/lib/components/ChartTable/ChartTable.base.js.map +1 -1
- package/lib/components/CommonComponents/Annotations/ChartAnnotationLayer.d.ts +1 -1
- package/lib/components/CommonComponents/Annotations/ChartAnnotationLayer.js +18 -14
- package/lib/components/CommonComponents/Annotations/ChartAnnotationLayer.js.map +1 -1
- package/lib/components/CommonComponents/Annotations/index.d.ts +2 -0
- package/lib/components/CommonComponents/Annotations/index.js +3 -0
- package/lib/components/CommonComponents/Annotations/index.js.map +1 -0
- package/lib/components/CommonComponents/CartesianChart.base.d.ts +6 -1
- package/lib/components/CommonComponents/CartesianChart.base.js +131 -157
- package/lib/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib/components/CommonComponents/CartesianChart.types.d.ts +11 -2
- package/lib/components/CommonComponents/CartesianChart.types.js.map +1 -1
- package/lib/components/DeclarativeChart/DeclarativeChart.js +85 -51
- package/lib/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
- package/lib/components/DeclarativeChart/PlotlyColorAdapter.js +12 -4
- package/lib/components/DeclarativeChart/PlotlyColorAdapter.js.map +1 -1
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +2 -0
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js +157 -45
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib/components/DonutChart/DonutChart.base.js +5 -3
- package/lib/components/DonutChart/DonutChart.base.js.map +1 -1
- package/lib/components/FunnelChart/FunnelChart.base.js +15 -18
- package/lib/components/FunnelChart/FunnelChart.base.js.map +1 -1
- package/lib/components/GanttChart/GanttChart.base.js +6 -6
- package/lib/components/GanttChart/GanttChart.base.js.map +1 -1
- package/lib/components/GanttChart/GanttChart.types.d.ts +0 -11
- package/lib/components/GanttChart/GanttChart.types.js.map +1 -1
- package/lib/components/GaugeChart/GaugeChart.base.js +5 -3
- package/lib/components/GaugeChart/GaugeChart.base.js.map +1 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +3 -3
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
- package/lib/components/HeatMapChart/HeatMapChart.base.js +3 -3
- package/lib/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
- package/lib/components/HeatMapChart/HeatMapChart.types.d.ts +0 -9
- package/lib/components/HeatMapChart/HeatMapChart.types.js.map +1 -1
- package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -1
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +4 -4
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +0 -9
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -1
- package/lib/components/Legends/Legends.base.d.ts +1 -1
- package/lib/components/Legends/Legends.base.js +6 -2
- package/lib/components/Legends/Legends.base.js.map +1 -1
- package/lib/components/Legends/Legends.types.d.ts +1 -1
- package/lib/components/Legends/Legends.types.js.map +1 -1
- package/lib/components/LineChart/LineChart.base.js +3 -3
- package/lib/components/LineChart/LineChart.base.js.map +1 -1
- package/lib/components/LineChart/eventAnnotation/Textbox.js.map +1 -1
- package/lib/components/ResponsiveContainer/ResponsiveContainer.js +1 -1
- package/lib/components/ResponsiveContainer/ResponsiveContainer.js.map +1 -1
- package/lib/components/SankeyChart/SankeyChart.base.js +5 -3
- package/lib/components/SankeyChart/SankeyChart.base.js.map +1 -1
- package/lib/components/ScatterChart/ScatterChart.base.js +4 -4
- package/lib/components/ScatterChart/ScatterChart.base.js.map +1 -1
- package/lib/components/ScatterChart/ScatterChart.types.d.ts +0 -4
- package/lib/components/ScatterChart/ScatterChart.types.js.map +1 -1
- package/lib/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
- package/lib/components/StackedBarChart/StackedBarChart.base.js.map +1 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.base.js +6 -4
- package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +15 -7
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -9
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
- package/lib/index.d.ts +2 -0
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/types/IChartAnnotation.d.ts +2 -0
- package/lib/types/IChartAnnotation.js.map +1 -1
- package/lib/utilities/image-export-utils.d.ts +7 -2
- package/lib/utilities/image-export-utils.js +174 -86
- package/lib/utilities/image-export-utils.js.map +1 -1
- package/lib/utilities/utilities.d.ts +5 -4
- package/lib/utilities/utilities.js +18 -17
- package/lib/utilities/utilities.js.map +1 -1
- package/lib-amd/AnnotationOnlyChart.d.ts +1 -0
- package/lib-amd/AnnotationOnlyChart.js +6 -0
- package/lib-amd/AnnotationOnlyChart.js.map +1 -0
- package/lib-amd/components/AnnotationOnlyChart/AnnotationOnlyChart.d.ts +3 -0
- package/lib-amd/components/AnnotationOnlyChart/AnnotationOnlyChart.js +159 -0
- package/lib-amd/components/AnnotationOnlyChart/AnnotationOnlyChart.js.map +1 -0
- package/lib-amd/components/AnnotationOnlyChart/AnnotationOnlyChart.types.d.ts +33 -0
- package/lib-amd/components/AnnotationOnlyChart/AnnotationOnlyChart.types.js +5 -0
- package/lib-amd/components/AnnotationOnlyChart/AnnotationOnlyChart.types.js.map +1 -0
- package/lib-amd/components/AnnotationOnlyChart/index.d.ts +2 -0
- package/lib-amd/components/AnnotationOnlyChart/index.js +7 -0
- package/lib-amd/components/AnnotationOnlyChart/index.js.map +1 -0
- package/lib-amd/components/AreaChart/AreaChart.base.js +1 -1
- package/lib-amd/components/AreaChart/AreaChart.base.js.map +1 -1
- package/lib-amd/components/ChartTable/ChartTable.base.js +4 -2
- package/lib-amd/components/ChartTable/ChartTable.base.js.map +1 -1
- package/lib-amd/components/CommonComponents/Annotations/ChartAnnotationLayer.d.ts +1 -1
- package/lib-amd/components/CommonComponents/Annotations/ChartAnnotationLayer.js +18 -14
- package/lib-amd/components/CommonComponents/Annotations/ChartAnnotationLayer.js.map +1 -1
- package/lib-amd/components/CommonComponents/Annotations/index.d.ts +2 -0
- package/lib-amd/components/CommonComponents/Annotations/index.js +7 -0
- package/lib-amd/components/CommonComponents/Annotations/index.js.map +1 -0
- package/lib-amd/components/CommonComponents/CartesianChart.base.d.ts +6 -1
- package/lib-amd/components/CommonComponents/CartesianChart.base.js +131 -157
- package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +11 -2
- package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +1 -1
- package/lib-amd/components/DeclarativeChart/DeclarativeChart.js +80 -50
- package/lib-amd/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
- package/lib-amd/components/DeclarativeChart/PlotlyColorAdapter.js +12 -4
- package/lib-amd/components/DeclarativeChart/PlotlyColorAdapter.js.map +1 -1
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +2 -0
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js +159 -46
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib-amd/components/DonutChart/DonutChart.base.js +4 -2
- package/lib-amd/components/DonutChart/DonutChart.base.js.map +1 -1
- package/lib-amd/components/FunnelChart/FunnelChart.base.js +13 -16
- package/lib-amd/components/FunnelChart/FunnelChart.base.js.map +1 -1
- package/lib-amd/components/GanttChart/GanttChart.base.js +5 -5
- package/lib-amd/components/GanttChart/GanttChart.base.js.map +1 -1
- package/lib-amd/components/GanttChart/GanttChart.types.d.ts +0 -11
- package/lib-amd/components/GanttChart/GanttChart.types.js.map +1 -1
- package/lib-amd/components/GaugeChart/GaugeChart.base.js +4 -2
- package/lib-amd/components/GaugeChart/GaugeChart.base.js.map +1 -1
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +2 -2
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.js +2 -2
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
- package/lib-amd/components/HeatMapChart/HeatMapChart.types.d.ts +0 -9
- package/lib-amd/components/HeatMapChart/HeatMapChart.types.js.map +1 -1
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -1
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +3 -3
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +0 -9
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -1
- package/lib-amd/components/Legends/Legends.base.d.ts +1 -1
- package/lib-amd/components/Legends/Legends.base.js +6 -2
- package/lib-amd/components/Legends/Legends.base.js.map +1 -1
- package/lib-amd/components/Legends/Legends.types.d.ts +1 -1
- package/lib-amd/components/Legends/Legends.types.js.map +1 -1
- package/lib-amd/components/LineChart/LineChart.base.js +2 -2
- package/lib-amd/components/LineChart/LineChart.base.js.map +1 -1
- package/lib-amd/components/LineChart/eventAnnotation/Textbox.js.map +1 -1
- package/lib-amd/components/ResponsiveContainer/ResponsiveContainer.js +1 -1
- package/lib-amd/components/ResponsiveContainer/ResponsiveContainer.js.map +1 -1
- package/lib-amd/components/SankeyChart/SankeyChart.base.js +4 -2
- package/lib-amd/components/SankeyChart/SankeyChart.base.js.map +1 -1
- package/lib-amd/components/ScatterChart/ScatterChart.base.js +3 -3
- package/lib-amd/components/ScatterChart/ScatterChart.base.js.map +1 -1
- package/lib-amd/components/ScatterChart/ScatterChart.types.d.ts +0 -4
- package/lib-amd/components/ScatterChart/ScatterChart.types.js.map +1 -1
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
- package/lib-amd/components/StackedBarChart/StackedBarChart.base.js.map +1 -1
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +5 -3
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +14 -6
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -9
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
- package/lib-amd/index.d.ts +2 -0
- package/lib-amd/index.js +3 -2
- package/lib-amd/index.js.map +1 -1
- package/lib-amd/types/IChartAnnotation.d.ts +2 -0
- package/lib-amd/types/IChartAnnotation.js.map +1 -1
- package/lib-amd/utilities/image-export-utils.d.ts +7 -2
- package/lib-amd/utilities/image-export-utils.js +173 -85
- package/lib-amd/utilities/image-export-utils.js.map +1 -1
- package/lib-amd/utilities/utilities.d.ts +5 -4
- package/lib-amd/utilities/utilities.js +18 -17
- package/lib-amd/utilities/utilities.js.map +1 -1
- package/lib-commonjs/AnnotationOnlyChart.d.ts +1 -0
- package/lib-commonjs/AnnotationOnlyChart.js +5 -0
- package/lib-commonjs/AnnotationOnlyChart.js.map +1 -0
- package/lib-commonjs/components/AnnotationOnlyChart/AnnotationOnlyChart.d.ts +3 -0
- package/lib-commonjs/components/AnnotationOnlyChart/AnnotationOnlyChart.js +162 -0
- package/lib-commonjs/components/AnnotationOnlyChart/AnnotationOnlyChart.js.map +1 -0
- package/lib-commonjs/components/AnnotationOnlyChart/AnnotationOnlyChart.types.d.ts +33 -0
- package/lib-commonjs/components/AnnotationOnlyChart/AnnotationOnlyChart.types.js +3 -0
- package/lib-commonjs/components/AnnotationOnlyChart/AnnotationOnlyChart.types.js.map +1 -0
- package/lib-commonjs/components/AnnotationOnlyChart/index.d.ts +2 -0
- package/lib-commonjs/components/AnnotationOnlyChart/index.js +6 -0
- package/lib-commonjs/components/AnnotationOnlyChart/index.js.map +1 -0
- package/lib-commonjs/components/AreaChart/AreaChart.base.js +1 -1
- package/lib-commonjs/components/AreaChart/AreaChart.base.js.map +1 -1
- package/lib-commonjs/components/ChartTable/ChartTable.base.js +4 -2
- package/lib-commonjs/components/ChartTable/ChartTable.base.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/Annotations/ChartAnnotationLayer.d.ts +1 -1
- package/lib-commonjs/components/CommonComponents/Annotations/ChartAnnotationLayer.js +18 -14
- package/lib-commonjs/components/CommonComponents/Annotations/ChartAnnotationLayer.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/Annotations/index.d.ts +2 -0
- package/lib-commonjs/components/CommonComponents/Annotations/index.js +6 -0
- package/lib-commonjs/components/CommonComponents/Annotations/index.js.map +1 -0
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.d.ts +6 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +131 -157
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.types.d.ts +11 -2
- package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +1 -1
- package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js +83 -49
- package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
- package/lib-commonjs/components/DeclarativeChart/PlotlyColorAdapter.js +12 -4
- package/lib-commonjs/components/DeclarativeChart/PlotlyColorAdapter.js.map +1 -1
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +2 -0
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js +159 -46
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib-commonjs/components/DonutChart/DonutChart.base.js +4 -2
- package/lib-commonjs/components/DonutChart/DonutChart.base.js.map +1 -1
- package/lib-commonjs/components/FunnelChart/FunnelChart.base.js +13 -16
- package/lib-commonjs/components/FunnelChart/FunnelChart.base.js.map +1 -1
- package/lib-commonjs/components/GanttChart/GanttChart.base.js +5 -5
- package/lib-commonjs/components/GanttChart/GanttChart.base.js.map +1 -1
- package/lib-commonjs/components/GanttChart/GanttChart.types.d.ts +0 -11
- package/lib-commonjs/components/GanttChart/GanttChart.types.js.map +1 -1
- package/lib-commonjs/components/GaugeChart/GaugeChart.base.js +4 -2
- package/lib-commonjs/components/GaugeChart/GaugeChart.base.js.map +1 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +2 -2
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js +2 -2
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.d.ts +0 -9
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.js.map +1 -1
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -1
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +3 -3
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +0 -9
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -1
- package/lib-commonjs/components/Legends/Legends.base.d.ts +1 -1
- package/lib-commonjs/components/Legends/Legends.base.js +6 -2
- package/lib-commonjs/components/Legends/Legends.base.js.map +1 -1
- package/lib-commonjs/components/Legends/Legends.types.d.ts +1 -1
- package/lib-commonjs/components/Legends/Legends.types.js.map +1 -1
- package/lib-commonjs/components/LineChart/LineChart.base.js +2 -2
- package/lib-commonjs/components/LineChart/LineChart.base.js.map +1 -1
- package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.js.map +1 -1
- package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.js +1 -1
- package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.js.map +1 -1
- package/lib-commonjs/components/SankeyChart/SankeyChart.base.js +4 -2
- package/lib-commonjs/components/SankeyChart/SankeyChart.base.js.map +1 -1
- package/lib-commonjs/components/ScatterChart/ScatterChart.base.js +3 -3
- package/lib-commonjs/components/ScatterChart/ScatterChart.base.js.map +1 -1
- package/lib-commonjs/components/ScatterChart/ScatterChart.types.d.ts +0 -4
- package/lib-commonjs/components/ScatterChart/ScatterChart.types.js.map +1 -1
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js.map +1 -1
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js +5 -3
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +14 -6
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -9
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
- package/lib-commonjs/index.d.ts +2 -0
- package/lib-commonjs/index.js +3 -1
- package/lib-commonjs/index.js.map +1 -1
- package/lib-commonjs/types/IChartAnnotation.d.ts +2 -0
- package/lib-commonjs/types/IChartAnnotation.js.map +1 -1
- package/lib-commonjs/utilities/image-export-utils.d.ts +7 -2
- package/lib-commonjs/utilities/image-export-utils.js +173 -85
- package/lib-commonjs/utilities/image-export-utils.js.map +1 -1
- package/lib-commonjs/utilities/utilities.d.ts +5 -4
- package/lib-commonjs/utilities/utilities.js +18 -17
- package/lib-commonjs/utilities/utilities.js.map +1 -1
- package/package.json +5 -5
- package/src/components/AnnotationOnlyChart/AnnotationOnlyChart.types.ts +34 -0
- package/src/components/CommonComponents/CartesianChart.types.ts +12 -1
- package/src/components/GanttChart/GanttChart.types.ts +0 -13
- package/src/components/HeatMapChart/HeatMapChart.types.ts +0 -11
- package/src/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.ts +0 -11
- package/src/components/Legends/Legends.types.ts +1 -1
- package/src/components/ScatterChart/ScatterChart.types.ts +0 -5
- package/src/components/VerticalStackedBarChart/VerticalStackedBarChart.types.ts +0 -11
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,78 @@
|
|
|
2
2
|
"name": "@fluentui/react-charting",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Tue, 11 Nov 2025 10:07:00 GMT",
|
|
6
|
+
"tag": "@fluentui/react-charting_v5.25.2",
|
|
7
|
+
"version": "5.25.2",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "anushgupta@microsoft.com",
|
|
12
|
+
"package": "@fluentui/react-charting",
|
|
13
|
+
"commit": "2d64a43959efc05cedf85750bc73e339af8b9c0f",
|
|
14
|
+
"comment": "fix chart 983 crash"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "kumarkshitij@microsoft.com",
|
|
18
|
+
"package": "@fluentui/react-charting",
|
|
19
|
+
"commit": "970b07bd11a73782f517086c6f270385cd33b162",
|
|
20
|
+
"comment": "feat: enable multiplot image export"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"author": "kumarkshitij@microsoft.com",
|
|
24
|
+
"package": "@fluentui/react-charting",
|
|
25
|
+
"commit": "b7985a2878e87096cdecbdc7e038bc79f9768dd9",
|
|
26
|
+
"comment": "fix: adjust chart margin for continuous y-axis tick labels"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"author": "anushgupta@microsoft.com",
|
|
30
|
+
"package": "@fluentui/react-charting",
|
|
31
|
+
"commit": "5863b2accfe7e02beb2af3459c1ee0c79cc1ee30",
|
|
32
|
+
"comment": "fix plotly color issue"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"author": "120183316+srmukher@users.noreply.github.com",
|
|
36
|
+
"package": "@fluentui/react-charting",
|
|
37
|
+
"commit": "8c7c11a76e42e80d88595ca35ca2c50c88fbe24c",
|
|
38
|
+
"comment": "feat(react-charting): Adding annotation only chart"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"author": "beachball",
|
|
42
|
+
"package": "@fluentui/react-charting",
|
|
43
|
+
"comment": "Bump @fluentui/chart-utilities to v1.1.36",
|
|
44
|
+
"commit": "2d64a43959efc05cedf85750bc73e339af8b9c0f"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"author": "beachball",
|
|
48
|
+
"package": "@fluentui/react-charting",
|
|
49
|
+
"comment": "Bump @fluentui/react-focus to v8.10.1",
|
|
50
|
+
"commit": "2d64a43959efc05cedf85750bc73e339af8b9c0f"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"author": "beachball",
|
|
54
|
+
"package": "@fluentui/react-charting",
|
|
55
|
+
"comment": "Bump @fluentui/theme-samples to v8.7.220",
|
|
56
|
+
"commit": "2d64a43959efc05cedf85750bc73e339af8b9c0f"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"author": "beachball",
|
|
60
|
+
"package": "@fluentui/react-charting",
|
|
61
|
+
"comment": "Bump @fluentui/react to v8.125.1",
|
|
62
|
+
"commit": "2d64a43959efc05cedf85750bc73e339af8b9c0f"
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
"none": [
|
|
66
|
+
{
|
|
67
|
+
"author": "martinhochel@microsoft.com",
|
|
68
|
+
"package": "@fluentui/react-charting",
|
|
69
|
+
"commit": "52217c6abc71c0c8c3e537f1e2648fb542c30ee0",
|
|
70
|
+
"comment": "chore: migrate source to react 19"
|
|
71
|
+
}
|
|
72
|
+
]
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"date": "Thu, 30 Oct 2025 12:37:12 GMT",
|
|
6
77
|
"tag": "@fluentui/react-charting_v5.25.1",
|
|
7
78
|
"version": "5.25.1",
|
|
8
79
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,29 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-charting
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Tue, 11 Nov 2025 10:07:00 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [5.25.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.25.2)
|
|
8
|
+
|
|
9
|
+
Tue, 11 Nov 2025 10:07:00 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.25.1..@fluentui/react-charting_v5.25.2)
|
|
11
|
+
|
|
12
|
+
### Patches
|
|
13
|
+
|
|
14
|
+
- fix chart 983 crash ([PR #35474](https://github.com/microsoft/fluentui/pull/35474) by anushgupta@microsoft.com)
|
|
15
|
+
- feat: enable multiplot image export ([PR #35472](https://github.com/microsoft/fluentui/pull/35472) by kumarkshitij@microsoft.com)
|
|
16
|
+
- fix: adjust chart margin for continuous y-axis tick labels ([PR #35376](https://github.com/microsoft/fluentui/pull/35376) by kumarkshitij@microsoft.com)
|
|
17
|
+
- fix plotly color issue ([PR #35451](https://github.com/microsoft/fluentui/pull/35451) by anushgupta@microsoft.com)
|
|
18
|
+
- feat(react-charting): Adding annotation only chart ([PR #35390](https://github.com/microsoft/fluentui/pull/35390) by 120183316+srmukher@users.noreply.github.com)
|
|
19
|
+
- Bump @fluentui/chart-utilities to v1.1.36 ([PR #35474](https://github.com/microsoft/fluentui/pull/35474) by beachball)
|
|
20
|
+
- Bump @fluentui/react-focus to v8.10.1 ([PR #35474](https://github.com/microsoft/fluentui/pull/35474) by beachball)
|
|
21
|
+
- Bump @fluentui/theme-samples to v8.7.220 ([PR #35474](https://github.com/microsoft/fluentui/pull/35474) by beachball)
|
|
22
|
+
- Bump @fluentui/react to v8.125.1 ([PR #35474](https://github.com/microsoft/fluentui/pull/35474) by beachball)
|
|
23
|
+
|
|
7
24
|
## [5.25.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.25.1)
|
|
8
25
|
|
|
9
|
-
Thu, 30 Oct 2025 12:
|
|
26
|
+
Thu, 30 Oct 2025 12:37:12 GMT
|
|
10
27
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.25.0..@fluentui/react-charting_v5.25.1)
|
|
11
28
|
|
|
12
29
|
### Patches
|
package/dist/react-charting.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ import { IStyleFunctionOrObject as IStyleFunctionOrObject_2 } from '@fluentui/re
|
|
|
16
16
|
import { ITheme } from '@fluentui/react/lib/Styling';
|
|
17
17
|
import { ITheme as ITheme_2 } from '@fluentui/react';
|
|
18
18
|
import type { JSXElement } from '@fluentui/utilities';
|
|
19
|
+
import type { Margin } from '@fluentui/chart-utilities';
|
|
19
20
|
import * as React_2 from 'react';
|
|
20
21
|
import { SankeyLink } from 'd3-sankey';
|
|
21
22
|
import { SankeyNode } from 'd3-sankey';
|
|
@@ -23,6 +24,8 @@ import { ScaleBand } from 'd3-scale';
|
|
|
23
24
|
import { ScaleLinear } from 'd3-scale';
|
|
24
25
|
import { TimeLocaleDefinition } from 'd3-time-format';
|
|
25
26
|
|
|
27
|
+
export declare const AnnotationOnlyChart: React_2.FC<IAnnotationOnlyChartProps>;
|
|
28
|
+
|
|
26
29
|
/**
|
|
27
30
|
* Areachart component.
|
|
28
31
|
* {@docCategory AreaChart}
|
|
@@ -209,6 +212,8 @@ export declare interface ChartAnnotationStyleProps {
|
|
|
209
212
|
opacity?: number;
|
|
210
213
|
/** Optional class name applied to the annotation element */
|
|
211
214
|
className?: string;
|
|
215
|
+
/** Rotation, in degrees, applied to the annotation container */
|
|
216
|
+
rotation?: number;
|
|
212
217
|
}
|
|
213
218
|
|
|
214
219
|
declare type ChartAnnotationVerticalAlign = 'top' | 'middle' | 'bottom';
|
|
@@ -461,6 +466,36 @@ export declare interface IAccessibilityProps {
|
|
|
461
466
|
ariaDescribedBy?: string;
|
|
462
467
|
}
|
|
463
468
|
|
|
469
|
+
/**
|
|
470
|
+
* Props for the annotation-only chart renderer.
|
|
471
|
+
*/
|
|
472
|
+
export declare interface IAnnotationOnlyChartProps {
|
|
473
|
+
/**
|
|
474
|
+
* Collection of annotations to render.
|
|
475
|
+
*/
|
|
476
|
+
annotations: ChartAnnotation[];
|
|
477
|
+
/** Optional layout title extracted from the Plotly schema. */
|
|
478
|
+
chartTitle?: string;
|
|
479
|
+
/** Optional descriptive text for accessibility. */
|
|
480
|
+
description?: string;
|
|
481
|
+
/** Desired width in pixels (if absent the chart will grow to fit the container). */
|
|
482
|
+
width?: number;
|
|
483
|
+
/** Desired height in pixels. */
|
|
484
|
+
height?: number;
|
|
485
|
+
/** Paper/background colour specified in the Plotly layout. */
|
|
486
|
+
paperBackgroundColor?: string;
|
|
487
|
+
/** Plot area background colour specified in the Plotly layout. */
|
|
488
|
+
plotBackgroundColor?: string;
|
|
489
|
+
/** Global layout font colour. */
|
|
490
|
+
fontColor?: string;
|
|
491
|
+
/** Global layout font family. */
|
|
492
|
+
fontFamily?: string;
|
|
493
|
+
/** Layout margin converted to padding for the outer wrapper. */
|
|
494
|
+
margin?: Partial<Margin>;
|
|
495
|
+
/** Component ref propagated by the DeclarativeChart surface. */
|
|
496
|
+
componentRef?: React_2.RefObject<IChart>;
|
|
497
|
+
}
|
|
498
|
+
|
|
464
499
|
/**
|
|
465
500
|
* Area Chart properties.
|
|
466
501
|
* {@docCategory AreaChart}
|
|
@@ -526,6 +561,7 @@ export declare interface IAreaChartStyles extends ICartesianChartStyles {
|
|
|
526
561
|
|
|
527
562
|
declare interface IAxisData {
|
|
528
563
|
yAxisDomainValues: number[];
|
|
564
|
+
yAxisTickText: string[];
|
|
529
565
|
}
|
|
530
566
|
|
|
531
567
|
/**
|
|
@@ -905,6 +941,15 @@ export declare interface ICartesianChartProps {
|
|
|
905
941
|
* Use this to control `tickStep`, `tick0`, etc.
|
|
906
942
|
*/
|
|
907
943
|
yAxis?: AxisProps;
|
|
944
|
+
/**
|
|
945
|
+
*@default false
|
|
946
|
+
*Used for to elipse y axis labes and show tooltip on x axis labels
|
|
947
|
+
*/
|
|
948
|
+
showYAxisLablesTooltip?: boolean;
|
|
949
|
+
/**
|
|
950
|
+
*@default false
|
|
951
|
+
*Used for showing complete y axis lables */
|
|
952
|
+
showYAxisLables?: boolean;
|
|
908
953
|
}
|
|
909
954
|
|
|
910
955
|
/**
|
|
@@ -1836,17 +1881,6 @@ export declare interface IGanttChartProps extends ICartesianChartProps {
|
|
|
1836
1881
|
* @default 1/2
|
|
1837
1882
|
*/
|
|
1838
1883
|
yAxisPadding?: number;
|
|
1839
|
-
/**
|
|
1840
|
-
* If true, truncates y-axis tick labels longer than `noOfCharsToTruncate` with ellipses
|
|
1841
|
-
* and displays them in a tooltip on hover.
|
|
1842
|
-
* @default false
|
|
1843
|
-
*/
|
|
1844
|
-
showYAxisLablesTooltip?: boolean;
|
|
1845
|
-
/**
|
|
1846
|
-
* If true, renders full y-axis tick labels without truncation.
|
|
1847
|
-
* @default false
|
|
1848
|
-
*/
|
|
1849
|
-
showYAxisLables?: boolean;
|
|
1850
1884
|
/**
|
|
1851
1885
|
* If true, enables gradient fills for the bars.
|
|
1852
1886
|
* @default false
|
|
@@ -2504,19 +2538,10 @@ export declare interface IHeatMapChartProps extends Pick<ICartesianChartProps, E
|
|
|
2504
2538
|
* The prop used to define the culture to localized the numbers
|
|
2505
2539
|
*/
|
|
2506
2540
|
culture?: string;
|
|
2507
|
-
/**
|
|
2508
|
-
*@default false
|
|
2509
|
-
*Used for showing complete y axis lables */
|
|
2510
|
-
showYAxisLables?: boolean;
|
|
2511
2541
|
/**
|
|
2512
2542
|
* @default alphabetical
|
|
2513
2543
|
* The prop used to decide order of string axis labels */
|
|
2514
2544
|
sortOrder?: 'none' | 'alphabetical';
|
|
2515
|
-
/**
|
|
2516
|
-
*@default false
|
|
2517
|
-
*Used for to elipse y axis labes and show tooltip on x axis labels
|
|
2518
|
-
*/
|
|
2519
|
-
showYAxisLablesTooltip?: boolean;
|
|
2520
2545
|
}
|
|
2521
2546
|
|
|
2522
2547
|
/**
|
|
@@ -2812,15 +2837,6 @@ export declare interface IHorizontalBarChartWithAxisProps extends ICartesianChar
|
|
|
2812
2837
|
* it's padding between bar's or lines in the graph
|
|
2813
2838
|
*/
|
|
2814
2839
|
yAxisPadding?: number;
|
|
2815
|
-
/**
|
|
2816
|
-
*@default false
|
|
2817
|
-
*Used for to elipse y axis labes and show tooltip on x axis labels
|
|
2818
|
-
*/
|
|
2819
|
-
showYAxisLablesTooltip?: boolean;
|
|
2820
|
-
/**
|
|
2821
|
-
*@default false
|
|
2822
|
-
*Used for showing complete y axis lables */
|
|
2823
|
-
showYAxisLables?: boolean;
|
|
2824
2840
|
/**
|
|
2825
2841
|
* @default false
|
|
2826
2842
|
* The prop used to enable gradient fill color for the chart.
|
|
@@ -2966,7 +2982,7 @@ export declare interface ILegend {
|
|
|
2966
2982
|
*/
|
|
2967
2983
|
declare interface ILegendContainer {
|
|
2968
2984
|
toSVG: (svgWidth: number, isRTL?: boolean) => {
|
|
2969
|
-
node:
|
|
2985
|
+
node: SVGSVGElement | null;
|
|
2970
2986
|
width: number;
|
|
2971
2987
|
height: number;
|
|
2972
2988
|
};
|
|
@@ -3660,11 +3676,11 @@ export declare interface IModifiedCartesianChartProps extends ICartesianChartPro
|
|
|
3660
3676
|
/**
|
|
3661
3677
|
* Get the domain and range values
|
|
3662
3678
|
*/
|
|
3663
|
-
getDomainNRangeValues: (points: ILineChartPoints[] | IVerticalBarChartDataPoint[] | IVerticalStackedBarDataPoint[] | IHorizontalBarChartWithAxisDataPoint[] | IGroupedVerticalBarChartData[] | IHeatMapChartDataPoint[] | IGanttChartDataPoint[], margins: IMargins, width: number, chartType: ChartTypes, isRTL: boolean, xAxisType: XAxisTypes, barWidth: number, tickValues: Date[] | number[] | string[] | undefined
|
|
3679
|
+
getDomainNRangeValues: (points: ILineChartPoints[] | IVerticalBarChartDataPoint[] | IVerticalStackedBarDataPoint[] | IHorizontalBarChartWithAxisDataPoint[] | IGroupedVerticalBarChartData[] | IHeatMapChartDataPoint[] | IGanttChartDataPoint[], margins: IMargins, width: number, chartType: ChartTypes, isRTL: boolean, xAxisType: XAxisTypes, barWidth: number, tickValues: Date[] | number[] | string[] | undefined) => IDomainNRange;
|
|
3664
3680
|
/**
|
|
3665
3681
|
* Create the string y-axis
|
|
3666
3682
|
*/
|
|
3667
|
-
createStringYAxis: (yAxisParams: IYAxisParams, dataPoints: string[], isRtl: boolean, barWidth: number | undefined, chartType?: ChartTypes) => ScaleBand<string>;
|
|
3683
|
+
createStringYAxis: (yAxisParams: IYAxisParams, dataPoints: string[], isRtl: boolean, axisData: IAxisData, barWidth: number | undefined, chartType?: ChartTypes) => ScaleBand<string>;
|
|
3668
3684
|
/**
|
|
3669
3685
|
* Callback to access the public methods and properties of the component.
|
|
3670
3686
|
*/
|
|
@@ -4267,10 +4283,6 @@ export declare interface IScatterChartProps extends ICartesianChartProps {
|
|
|
4267
4283
|
* The prop used to define the culture to localized the numbers
|
|
4268
4284
|
*/
|
|
4269
4285
|
culture?: string;
|
|
4270
|
-
/**
|
|
4271
|
-
* The prop used to define the y axis labels tooltip visibility
|
|
4272
|
-
*/
|
|
4273
|
-
showYAxisLablesTooltip?: boolean;
|
|
4274
4286
|
}
|
|
4275
4287
|
|
|
4276
4288
|
/**
|
|
@@ -5156,15 +5168,6 @@ export declare interface IVerticalStackedBarChartProps extends ICartesianChartPr
|
|
|
5156
5168
|
* @default 'default'
|
|
5157
5169
|
*/
|
|
5158
5170
|
mode?: 'default' | 'plotly';
|
|
5159
|
-
/**
|
|
5160
|
-
*@default false
|
|
5161
|
-
*Used for to elipse y axis labes and show tooltip on x axis labels
|
|
5162
|
-
*/
|
|
5163
|
-
showYAxisLablesTooltip?: boolean;
|
|
5164
|
-
/**
|
|
5165
|
-
*@default false
|
|
5166
|
-
*Used for showing complete y axis lables */
|
|
5167
|
-
showYAxisLables?: boolean;
|
|
5168
5171
|
}
|
|
5169
5172
|
|
|
5170
5173
|
/**
|