@fluentui/react-charting 5.24.2 → 5.24.4
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 +79 -1
- package/CHANGELOG.md +28 -2
- package/dist/react-charting.d.ts +204 -38
- package/dist/react-charting.js +1 -1
- package/dist/react-charting.min.js +1 -1
- package/etc/react-charting.api.md +65 -12
- package/lib/ScatterChart.d.ts +1 -0
- package/lib/ScatterChart.js +2 -0
- package/lib/ScatterChart.js.map +1 -0
- package/lib/components/AreaChart/AreaChart.base.d.ts +1 -0
- package/lib/components/AreaChart/AreaChart.base.js +4 -1
- package/lib/components/AreaChart/AreaChart.base.js.map +1 -1
- package/lib/components/CommonComponents/CartesianChart.base.js +47 -11
- package/lib/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib/components/CommonComponents/CartesianChart.styles.js +48 -26
- package/lib/components/CommonComponents/CartesianChart.styles.js.map +1 -1
- package/lib/components/CommonComponents/CartesianChart.types.d.ts +33 -3
- package/lib/components/CommonComponents/CartesianChart.types.js.map +1 -1
- package/lib/components/DeclarativeChart/DeclarativeChart.js +157 -78
- package/lib/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
- package/lib/components/DeclarativeChart/PlotlyColorAdapter.d.ts +2 -1
- package/lib/components/DeclarativeChart/PlotlyColorAdapter.js +9 -1
- package/lib/components/DeclarativeChart/PlotlyColorAdapter.js.map +1 -1
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +28 -13
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js +317 -126
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +2 -0
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +22 -3
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
- package/lib/components/HeatMapChart/HeatMapChart.base.d.ts +7 -0
- package/lib/components/HeatMapChart/HeatMapChart.base.js +95 -37
- package/lib/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +3 -0
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +24 -3
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
- package/lib/components/ScatterChart/ScatterChart.base.d.ts +7 -0
- package/lib/components/ScatterChart/ScatterChart.base.js +482 -0
- package/lib/components/ScatterChart/ScatterChart.base.js.map +1 -0
- package/lib/components/ScatterChart/ScatterChart.d.ts +7 -0
- package/lib/components/ScatterChart/ScatterChart.js +10 -0
- package/lib/components/ScatterChart/ScatterChart.js.map +1 -0
- package/lib/components/ScatterChart/ScatterChart.styles.d.ts +2 -0
- package/lib/components/ScatterChart/ScatterChart.styles.js +19 -0
- package/lib/components/ScatterChart/ScatterChart.styles.js.map +1 -0
- package/lib/components/ScatterChart/ScatterChart.types.d.ts +47 -0
- package/lib/components/ScatterChart/ScatterChart.types.js +2 -0
- package/lib/components/ScatterChart/ScatterChart.types.js.map +1 -0
- package/lib/components/ScatterChart/index.d.ts +2 -0
- package/lib/components/ScatterChart/index.js +3 -0
- package/lib/components/ScatterChart/index.js.map +1 -0
- package/lib/components/VerticalBarChart/VerticalBarChart.base.d.ts +2 -0
- package/lib/components/VerticalBarChart/VerticalBarChart.base.js +27 -6
- package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +3 -0
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +48 -31
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
- package/lib/index.d.ts +3 -1
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/types/IDataPoint.d.ts +91 -11
- package/lib/types/IDataPoint.js.map +1 -1
- package/lib/utilities/SVGTooltipText.d.ts +4 -0
- package/lib/utilities/SVGTooltipText.js +1 -2
- package/lib/utilities/SVGTooltipText.js.map +1 -1
- package/lib/utilities/utilities.d.ts +32 -5
- package/lib/utilities/utilities.js +132 -2
- package/lib/utilities/utilities.js.map +1 -1
- package/lib-amd/ScatterChart.d.ts +1 -0
- package/lib-amd/ScatterChart.js +6 -0
- package/lib-amd/ScatterChart.js.map +1 -0
- package/lib-amd/components/AreaChart/AreaChart.base.d.ts +1 -0
- package/lib-amd/components/AreaChart/AreaChart.base.js +4 -1
- package/lib-amd/components/AreaChart/AreaChart.base.js.map +1 -1
- package/lib-amd/components/CommonComponents/CartesianChart.base.js +47 -11
- package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib-amd/components/CommonComponents/CartesianChart.styles.js +48 -26
- package/lib-amd/components/CommonComponents/CartesianChart.styles.js.map +1 -1
- package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +33 -3
- package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +1 -1
- package/lib-amd/components/DeclarativeChart/DeclarativeChart.js +155 -78
- package/lib-amd/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
- package/lib-amd/components/DeclarativeChart/PlotlyColorAdapter.d.ts +2 -1
- package/lib-amd/components/DeclarativeChart/PlotlyColorAdapter.js +11 -2
- package/lib-amd/components/DeclarativeChart/PlotlyColorAdapter.js.map +1 -1
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +28 -13
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js +327 -134
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +2 -0
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +21 -2
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.d.ts +7 -0
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.js +94 -36
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +3 -0
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +23 -2
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
- package/lib-amd/components/ScatterChart/ScatterChart.base.d.ts +7 -0
- package/lib-amd/components/ScatterChart/ScatterChart.base.js +476 -0
- package/lib-amd/components/ScatterChart/ScatterChart.base.js.map +1 -0
- package/lib-amd/components/ScatterChart/ScatterChart.d.ts +7 -0
- package/lib-amd/components/ScatterChart/ScatterChart.js +12 -0
- package/lib-amd/components/ScatterChart/ScatterChart.js.map +1 -0
- package/lib-amd/components/ScatterChart/ScatterChart.styles.d.ts +2 -0
- package/lib-amd/components/ScatterChart/ScatterChart.styles.js +23 -0
- package/lib-amd/components/ScatterChart/ScatterChart.styles.js.map +1 -0
- package/lib-amd/components/ScatterChart/ScatterChart.types.d.ts +47 -0
- package/lib-amd/components/ScatterChart/ScatterChart.types.js +5 -0
- package/lib-amd/components/ScatterChart/ScatterChart.types.js.map +1 -0
- package/lib-amd/components/ScatterChart/index.d.ts +2 -0
- package/lib-amd/components/ScatterChart/index.js +7 -0
- package/lib-amd/components/ScatterChart/index.js.map +1 -0
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.d.ts +2 -0
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +26 -5
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +3 -0
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +47 -30
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
- package/lib-amd/index.d.ts +3 -1
- package/lib-amd/index.js +3 -2
- package/lib-amd/index.js.map +1 -1
- package/lib-amd/types/IDataPoint.d.ts +91 -11
- package/lib-amd/types/IDataPoint.js.map +1 -1
- package/lib-amd/utilities/SVGTooltipText.d.ts +4 -0
- package/lib-amd/utilities/SVGTooltipText.js +1 -2
- package/lib-amd/utilities/SVGTooltipText.js.map +1 -1
- package/lib-amd/utilities/utilities.d.ts +32 -5
- package/lib-amd/utilities/utilities.js +135 -2
- package/lib-amd/utilities/utilities.js.map +1 -1
- package/lib-commonjs/ScatterChart.d.ts +1 -0
- package/lib-commonjs/ScatterChart.js +5 -0
- package/lib-commonjs/ScatterChart.js.map +1 -0
- package/lib-commonjs/components/AreaChart/AreaChart.base.d.ts +1 -0
- package/lib-commonjs/components/AreaChart/AreaChart.base.js +4 -1
- package/lib-commonjs/components/AreaChart/AreaChart.base.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +47 -11
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js +48 -26
- package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.types.d.ts +33 -3
- package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +1 -1
- package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js +157 -78
- package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
- package/lib-commonjs/components/DeclarativeChart/PlotlyColorAdapter.d.ts +2 -1
- package/lib-commonjs/components/DeclarativeChart/PlotlyColorAdapter.js +11 -2
- package/lib-commonjs/components/DeclarativeChart/PlotlyColorAdapter.js.map +1 -1
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +28 -13
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js +327 -134
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +2 -0
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +21 -2
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.d.ts +7 -0
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js +94 -36
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +3 -0
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +23 -2
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
- package/lib-commonjs/components/ScatterChart/ScatterChart.base.d.ts +7 -0
- package/lib-commonjs/components/ScatterChart/ScatterChart.base.js +485 -0
- package/lib-commonjs/components/ScatterChart/ScatterChart.base.js.map +1 -0
- package/lib-commonjs/components/ScatterChart/ScatterChart.d.ts +7 -0
- package/lib-commonjs/components/ScatterChart/ScatterChart.js +13 -0
- package/lib-commonjs/components/ScatterChart/ScatterChart.js.map +1 -0
- package/lib-commonjs/components/ScatterChart/ScatterChart.styles.d.ts +2 -0
- package/lib-commonjs/components/ScatterChart/ScatterChart.styles.js +23 -0
- package/lib-commonjs/components/ScatterChart/ScatterChart.styles.js.map +1 -0
- package/lib-commonjs/components/ScatterChart/ScatterChart.types.d.ts +47 -0
- package/lib-commonjs/components/ScatterChart/ScatterChart.types.js +3 -0
- package/lib-commonjs/components/ScatterChart/ScatterChart.types.js.map +1 -0
- package/lib-commonjs/components/ScatterChart/index.d.ts +2 -0
- package/lib-commonjs/components/ScatterChart/index.js +6 -0
- package/lib-commonjs/components/ScatterChart/index.js.map +1 -0
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.d.ts +2 -0
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js +26 -5
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +3 -0
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +47 -30
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
- package/lib-commonjs/index.d.ts +3 -1
- package/lib-commonjs/index.js +3 -1
- package/lib-commonjs/index.js.map +1 -1
- package/lib-commonjs/types/IDataPoint.d.ts +91 -11
- package/lib-commonjs/types/IDataPoint.js.map +1 -1
- package/lib-commonjs/utilities/SVGTooltipText.d.ts +4 -0
- package/lib-commonjs/utilities/SVGTooltipText.js +1 -2
- package/lib-commonjs/utilities/SVGTooltipText.js.map +1 -1
- package/lib-commonjs/utilities/utilities.d.ts +32 -5
- package/lib-commonjs/utilities/utilities.js +135 -2
- package/lib-commonjs/utilities/utilities.js.map +1 -1
- package/package.json +2 -2
- package/src/components/CommonComponents/CartesianChart.types.ts +45 -2
- package/src/components/ScatterChart/ScatterChart.types.ts +67 -0
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,85 @@
|
|
|
2
2
|
"name": "@fluentui/react-charting",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "Fri,
|
|
5
|
+
"date": "Fri, 13 Jun 2025 07:20:35 GMT",
|
|
6
|
+
"tag": "@fluentui/react-charting_v5.24.4",
|
|
7
|
+
"version": "5.24.4",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "120183316+srmukher@users.noreply.github.com",
|
|
12
|
+
"package": "@fluentui/react-charting",
|
|
13
|
+
"commit": "fc903495e657ec509ad87d4139c259e3ca9c9071",
|
|
14
|
+
"comment": "fix(react-charting): Support for using opacity provided in schema for decalarative charts"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "kumarkshitij@microsoft.com",
|
|
18
|
+
"package": "@fluentui/react-charting",
|
|
19
|
+
"commit": "116903a192cd16054d2ca2a8f18d6d623fed5384",
|
|
20
|
+
"comment": "feat: add support for ordering string tick labels on x and y axes"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"author": "120183316+srmukher@users.noreply.github.com",
|
|
24
|
+
"package": "@fluentui/react-charting",
|
|
25
|
+
"commit": "a73394f7914fc6051e0e6567caa89b6ff6c9799d",
|
|
26
|
+
"comment": "fix(react-charting): Fixing color, marker size, yaxis issues for Scatter chart"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"author": "120183316+srmukher@users.noreply.github.com",
|
|
30
|
+
"package": "@fluentui/react-charting",
|
|
31
|
+
"commit": "e5291abb46493301e00b72a3c65694e21a6f8793",
|
|
32
|
+
"comment": "fix(react-charting): Fixing resolve color issue"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"author": "120183316+srmukher@users.noreply.github.com",
|
|
36
|
+
"package": "@fluentui/react-charting",
|
|
37
|
+
"commit": "1023a785befbd8f6e2b20b133e7f4a2e1d5ee639",
|
|
38
|
+
"comment": "fix(react-charting): Fixing color issue for GVBC"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"author": "beachball",
|
|
42
|
+
"package": "@fluentui/react-charting",
|
|
43
|
+
"comment": "Bump @fluentui/chart-utilities to v1.1.17",
|
|
44
|
+
"commit": "116903a192cd16054d2ca2a8f18d6d623fed5384"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"date": "Thu, 12 Jun 2025 07:20:13 GMT",
|
|
51
|
+
"tag": "@fluentui/react-charting_v5.24.3",
|
|
52
|
+
"version": "5.24.3",
|
|
53
|
+
"comments": {
|
|
54
|
+
"patch": [
|
|
55
|
+
{
|
|
56
|
+
"author": "anushgupta@microsoft.com",
|
|
57
|
+
"package": "@fluentui/react-charting",
|
|
58
|
+
"commit": "96ebe14eefb14c65b03856f17ffc03e8120cdea7",
|
|
59
|
+
"comment": "axis title background fix"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"author": "120183316+srmukher@users.noreply.github.com",
|
|
63
|
+
"package": "@fluentui/react-charting",
|
|
64
|
+
"commit": "3e902f17659ae2f04fbf92f72dba48b5e9c1cad5",
|
|
65
|
+
"comment": "feat(react-charting): Adding Scatter chart component"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"author": "98592573+AtishayMsft@users.noreply.github.com",
|
|
69
|
+
"package": "@fluentui/react-charting",
|
|
70
|
+
"commit": "4524a28299ce317d53ca354f7c0e202e5a491d04",
|
|
71
|
+
"comment": "feat(react-charting): Enable support for multiplots in declarative chart"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"author": "beachball",
|
|
75
|
+
"package": "@fluentui/react-charting",
|
|
76
|
+
"comment": "Bump @fluentui/chart-utilities to v1.1.16",
|
|
77
|
+
"commit": "96ebe14eefb14c65b03856f17ffc03e8120cdea7"
|
|
78
|
+
}
|
|
79
|
+
]
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"date": "Fri, 06 Jun 2025 07:20:30 GMT",
|
|
6
84
|
"tag": "@fluentui/react-charting_v5.24.2",
|
|
7
85
|
"version": "5.24.2",
|
|
8
86
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,38 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-charting
|
|
2
2
|
|
|
3
|
-
This log was last generated on Fri,
|
|
3
|
+
This log was last generated on Fri, 13 Jun 2025 07:20:35 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [5.24.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.24.4)
|
|
8
|
+
|
|
9
|
+
Fri, 13 Jun 2025 07:20:35 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.24.3..@fluentui/react-charting_v5.24.4)
|
|
11
|
+
|
|
12
|
+
### Patches
|
|
13
|
+
|
|
14
|
+
- fix(react-charting): Support for using opacity provided in schema for decalarative charts ([PR #34635](https://github.com/microsoft/fluentui/pull/34635) by 120183316+srmukher@users.noreply.github.com)
|
|
15
|
+
- feat: add support for ordering string tick labels on x and y axes ([PR #34623](https://github.com/microsoft/fluentui/pull/34623) by kumarkshitij@microsoft.com)
|
|
16
|
+
- fix(react-charting): Fixing color, marker size, yaxis issues for Scatter chart ([PR #34628](https://github.com/microsoft/fluentui/pull/34628) by 120183316+srmukher@users.noreply.github.com)
|
|
17
|
+
- fix(react-charting): Fixing resolve color issue ([PR #34636](https://github.com/microsoft/fluentui/pull/34636) by 120183316+srmukher@users.noreply.github.com)
|
|
18
|
+
- fix(react-charting): Fixing color issue for GVBC ([PR #34637](https://github.com/microsoft/fluentui/pull/34637) by 120183316+srmukher@users.noreply.github.com)
|
|
19
|
+
- Bump @fluentui/chart-utilities to v1.1.17 ([PR #34623](https://github.com/microsoft/fluentui/pull/34623) by beachball)
|
|
20
|
+
|
|
21
|
+
## [5.24.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.24.3)
|
|
22
|
+
|
|
23
|
+
Thu, 12 Jun 2025 07:20:13 GMT
|
|
24
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.24.2..@fluentui/react-charting_v5.24.3)
|
|
25
|
+
|
|
26
|
+
### Patches
|
|
27
|
+
|
|
28
|
+
- axis title background fix ([PR #34621](https://github.com/microsoft/fluentui/pull/34621) by anushgupta@microsoft.com)
|
|
29
|
+
- feat(react-charting): Adding Scatter chart component ([PR #34374](https://github.com/microsoft/fluentui/pull/34374) by 120183316+srmukher@users.noreply.github.com)
|
|
30
|
+
- feat(react-charting): Enable support for multiplots in declarative chart ([PR #34626](https://github.com/microsoft/fluentui/pull/34626) by 98592573+AtishayMsft@users.noreply.github.com)
|
|
31
|
+
- Bump @fluentui/chart-utilities to v1.1.16 ([PR #34621](https://github.com/microsoft/fluentui/pull/34621) by beachball)
|
|
32
|
+
|
|
7
33
|
## [5.24.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.24.2)
|
|
8
34
|
|
|
9
|
-
Fri, 06 Jun 2025 07:20:
|
|
35
|
+
Fri, 06 Jun 2025 07:20:30 GMT
|
|
10
36
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.24.1..@fluentui/react-charting_v5.24.2)
|
|
11
37
|
|
|
12
38
|
### Patches
|
package/dist/react-charting.d.ts
CHANGED
|
@@ -28,6 +28,25 @@ import { TimeLocaleDefinition } from 'd3-time-format';
|
|
|
28
28
|
*/
|
|
29
29
|
export declare const AreaChart: React_2.FunctionComponent<IAreaChartProps>;
|
|
30
30
|
|
|
31
|
+
/**
|
|
32
|
+
* Specifies the ordering options for axis categories in Cartesian charts.
|
|
33
|
+
*
|
|
34
|
+
* - `'default'`: Uses the original order before custom ordering was supported.
|
|
35
|
+
* In some charts, this behaves the same as `'data'`.
|
|
36
|
+
* - `'data'`: Preserves the order of categories as provided in the input data.
|
|
37
|
+
* - `string[]`: Explicitly defines the custom order of categories as an array of category names.
|
|
38
|
+
* - `'category ascending' | 'category descending'`: Orders categories alphanumerically.
|
|
39
|
+
* - `'total ascending' | 'total descending'`: Orders categories by the total of their associated values.
|
|
40
|
+
* - `'min ascending' | 'min descending'`: Orders by the minimum value within each category.
|
|
41
|
+
* - `'max ascending' | 'max descending'`: Orders by the maximum value within each category.
|
|
42
|
+
* - `'sum ascending' | 'sum descending'`: Orders by the sum of values for each category (same as 'total').
|
|
43
|
+
* - `'mean ascending' | 'mean descending'`: Orders by the average of values in each category.
|
|
44
|
+
* - `'median ascending' | 'median descending'`: Orders by the median value of each category.
|
|
45
|
+
*
|
|
46
|
+
* {@docCategory CartesianChart}
|
|
47
|
+
*/
|
|
48
|
+
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';
|
|
49
|
+
|
|
31
50
|
/**
|
|
32
51
|
* Cartesian Chart component
|
|
33
52
|
* {@docCategory CartesianChart}
|
|
@@ -58,7 +77,8 @@ declare enum ChartTypes {
|
|
|
58
77
|
VerticalStackedBarChart = 3,
|
|
59
78
|
GroupedVerticalBarChart = 4,
|
|
60
79
|
HeatMapChart = 5,
|
|
61
|
-
HorizontalBarChartWithAxis = 6
|
|
80
|
+
HorizontalBarChartWithAxis = 6,
|
|
81
|
+
ScatterChart = 7
|
|
62
82
|
}
|
|
63
83
|
|
|
64
84
|
declare type ColorwayType = 'default' | 'builtin' | 'others' | undefined;
|
|
@@ -335,6 +355,46 @@ declare interface IAxisData {
|
|
|
335
355
|
yAxisDomainValues: number[];
|
|
336
356
|
}
|
|
337
357
|
|
|
358
|
+
/**
|
|
359
|
+
* {@docCategory IChartData}
|
|
360
|
+
*/
|
|
361
|
+
export declare interface IBaseDataPoint {
|
|
362
|
+
/**
|
|
363
|
+
* Defines the function that is executed on clicking line
|
|
364
|
+
*/
|
|
365
|
+
onDataPointClick?: () => void;
|
|
366
|
+
/**
|
|
367
|
+
* Callout data for x axis
|
|
368
|
+
*/
|
|
369
|
+
xAxisCalloutData?: string;
|
|
370
|
+
/**
|
|
371
|
+
* Callout data for y axis
|
|
372
|
+
*/
|
|
373
|
+
yAxisCalloutData?: string | {
|
|
374
|
+
[id: string]: number;
|
|
375
|
+
};
|
|
376
|
+
/**
|
|
377
|
+
* Whether to hide callout data for the point.
|
|
378
|
+
*/
|
|
379
|
+
hideCallout?: boolean;
|
|
380
|
+
/**
|
|
381
|
+
* Accessibility data for callout
|
|
382
|
+
*/
|
|
383
|
+
callOutAccessibilityData?: IAccessibilityProps;
|
|
384
|
+
/**
|
|
385
|
+
* X axis Accessibility data for callout
|
|
386
|
+
*/
|
|
387
|
+
xAxisCalloutAccessibilityData?: IAccessibilityProps;
|
|
388
|
+
/**
|
|
389
|
+
* Marker size of the points
|
|
390
|
+
*/
|
|
391
|
+
markerSize?: number;
|
|
392
|
+
/**
|
|
393
|
+
* text labels of marker points
|
|
394
|
+
*/
|
|
395
|
+
text?: string;
|
|
396
|
+
}
|
|
397
|
+
|
|
338
398
|
export declare interface IBasestate {
|
|
339
399
|
_width?: number;
|
|
340
400
|
_height?: number;
|
|
@@ -594,6 +654,28 @@ export declare interface ICartesianChartProps {
|
|
|
594
654
|
* @default false
|
|
595
655
|
*/
|
|
596
656
|
hideTickOverlap?: boolean;
|
|
657
|
+
/**
|
|
658
|
+
* Prop to set the x axis annotation. Used to display additional information on the x-axis.
|
|
659
|
+
* This is shown on the top of the chart.
|
|
660
|
+
* @default undefined
|
|
661
|
+
*/
|
|
662
|
+
xAxisAnnotation?: string;
|
|
663
|
+
/**
|
|
664
|
+
* Prop to set the y axis annotation. Used to display additional information on the y-axis.
|
|
665
|
+
* This is shown on the right side of the chart. Not shown if secondary y-axis is enabled.
|
|
666
|
+
* @default undefined
|
|
667
|
+
*/
|
|
668
|
+
yAxisAnnotation?: string;
|
|
669
|
+
/**
|
|
670
|
+
* Specifies the ordering logic for categories (or string tick labels) on the x-axis.
|
|
671
|
+
* @default 'default'
|
|
672
|
+
*/
|
|
673
|
+
xAxisCategoryOrder?: AxisCategoryOrder;
|
|
674
|
+
/**
|
|
675
|
+
* Specifies the ordering logic for categories (or string tick labels) on the y-axis.
|
|
676
|
+
* @default 'default'
|
|
677
|
+
*/
|
|
678
|
+
yAxisCategoryOrder?: AxisCategoryOrder;
|
|
597
679
|
}
|
|
598
680
|
|
|
599
681
|
/**
|
|
@@ -709,9 +791,13 @@ export declare interface ICartesianChartStyles {
|
|
|
709
791
|
*/
|
|
710
792
|
tooltip?: IStyle;
|
|
711
793
|
/**
|
|
712
|
-
* styles for
|
|
794
|
+
* styles for axis title
|
|
713
795
|
*/
|
|
714
796
|
axisTitle?: IStyle;
|
|
797
|
+
/**
|
|
798
|
+
* styles for axis annotation
|
|
799
|
+
*/
|
|
800
|
+
axisAnnotation?: IStyle;
|
|
715
801
|
/**
|
|
716
802
|
* Style for the chart Title.
|
|
717
803
|
*/
|
|
@@ -728,6 +814,10 @@ export declare interface ICartesianChartStyles {
|
|
|
728
814
|
* Styles for the chart wrapper div
|
|
729
815
|
*/
|
|
730
816
|
chartWrapper?: IStyle;
|
|
817
|
+
/**
|
|
818
|
+
* Styles for the svg tooltip
|
|
819
|
+
*/
|
|
820
|
+
svgTooltip?: IStyle;
|
|
731
821
|
}
|
|
732
822
|
|
|
733
823
|
/**
|
|
@@ -918,6 +1008,10 @@ export declare interface IChartProps {
|
|
|
918
1008
|
* data for the points in the line chart
|
|
919
1009
|
*/
|
|
920
1010
|
lineChartData?: ILineChartPoints[];
|
|
1011
|
+
/**
|
|
1012
|
+
* data for the points in the scatter chart
|
|
1013
|
+
*/
|
|
1014
|
+
scatterChartData?: IScatterChartPoints[];
|
|
921
1015
|
/**
|
|
922
1016
|
* data for the points in the line chart
|
|
923
1017
|
*/
|
|
@@ -2481,7 +2575,7 @@ export declare interface ILegendSubComponentStyles {
|
|
|
2481
2575
|
/**
|
|
2482
2576
|
* {@docCategory IChartData}
|
|
2483
2577
|
*/
|
|
2484
|
-
export declare interface ILineChartDataPoint {
|
|
2578
|
+
export declare interface ILineChartDataPoint extends IBaseDataPoint {
|
|
2485
2579
|
/**
|
|
2486
2580
|
* Independent value of the data point, rendered along the x-axis.
|
|
2487
2581
|
* If x is a number, then each y-coordinate is plotted at its x-coordinate.
|
|
@@ -2492,40 +2586,6 @@ export declare interface ILineChartDataPoint {
|
|
|
2492
2586
|
* Dependent value of the data point, rendered along the y-axis.
|
|
2493
2587
|
*/
|
|
2494
2588
|
y: number;
|
|
2495
|
-
/**
|
|
2496
|
-
* Defines the function that is executed on clicking line
|
|
2497
|
-
*/
|
|
2498
|
-
onDataPointClick?: () => void;
|
|
2499
|
-
/**
|
|
2500
|
-
* Callout data for x axis
|
|
2501
|
-
*/
|
|
2502
|
-
xAxisCalloutData?: string;
|
|
2503
|
-
/**
|
|
2504
|
-
* Callout data for y axis
|
|
2505
|
-
*/
|
|
2506
|
-
yAxisCalloutData?: string | {
|
|
2507
|
-
[id: string]: number;
|
|
2508
|
-
};
|
|
2509
|
-
/**
|
|
2510
|
-
* Whether to hide callout data for the point.
|
|
2511
|
-
*/
|
|
2512
|
-
hideCallout?: boolean;
|
|
2513
|
-
/**
|
|
2514
|
-
* Accessibility data for callout
|
|
2515
|
-
*/
|
|
2516
|
-
callOutAccessibilityData?: IAccessibilityProps;
|
|
2517
|
-
/**
|
|
2518
|
-
* X axis Accessibility data for callout
|
|
2519
|
-
*/
|
|
2520
|
-
xAxisCalloutAccessibilityData?: IAccessibilityProps;
|
|
2521
|
-
/**
|
|
2522
|
-
* Marker size of the points
|
|
2523
|
-
*/
|
|
2524
|
-
markerSize?: number;
|
|
2525
|
-
/**
|
|
2526
|
-
* text labels of marker points
|
|
2527
|
-
*/
|
|
2528
|
-
text?: string;
|
|
2529
2589
|
}
|
|
2530
2590
|
|
|
2531
2591
|
/**
|
|
@@ -2943,7 +3003,7 @@ export declare interface IModifiedCartesianChartProps extends ICartesianChartPro
|
|
|
2943
3003
|
/**
|
|
2944
3004
|
* Get the min and max values of the y-axis
|
|
2945
3005
|
*/
|
|
2946
|
-
getMinMaxOfYAxis: (points: ILineChartPoints[] | IHorizontalBarChartWithAxisDataPoint[] | IVerticalBarChartDataPoint[] | IDataPoint[], yAxisType: YAxisType | undefined, useSecondaryYScale?: boolean) => {
|
|
3006
|
+
getMinMaxOfYAxis: (points: ILineChartPoints[] | IHorizontalBarChartWithAxisDataPoint[] | IVerticalBarChartDataPoint[] | IDataPoint[] | IScatterChartDataPoint[], yAxisType: YAxisType | undefined, useSecondaryYScale?: boolean) => {
|
|
2947
3007
|
startValue: number;
|
|
2948
3008
|
endValue: number;
|
|
2949
3009
|
};
|
|
@@ -3479,6 +3539,106 @@ export declare interface ISankeyChartStyles {
|
|
|
3479
3539
|
chartWrapper?: IStyle;
|
|
3480
3540
|
}
|
|
3481
3541
|
|
|
3542
|
+
/**
|
|
3543
|
+
* {@docCategory IChartData}
|
|
3544
|
+
* ScatterChartDataPoint interface.
|
|
3545
|
+
*/
|
|
3546
|
+
export declare interface IScatterChartDataPoint extends IBaseDataPoint {
|
|
3547
|
+
/**
|
|
3548
|
+
* Independent value of the data point, rendered along the x-axis.
|
|
3549
|
+
*/
|
|
3550
|
+
x: number | Date | string;
|
|
3551
|
+
/**
|
|
3552
|
+
* Dependent value of the data point, rendered along the y-axis.
|
|
3553
|
+
*/
|
|
3554
|
+
y: number;
|
|
3555
|
+
}
|
|
3556
|
+
|
|
3557
|
+
/**
|
|
3558
|
+
* {@docCategory IChartData}
|
|
3559
|
+
*/
|
|
3560
|
+
export declare interface IScatterChartPoints {
|
|
3561
|
+
/**
|
|
3562
|
+
* Legend text for the datapoint in the chart
|
|
3563
|
+
*/
|
|
3564
|
+
legend: string;
|
|
3565
|
+
/**
|
|
3566
|
+
* The shape for the legend
|
|
3567
|
+
* default: show the rect legend
|
|
3568
|
+
*/
|
|
3569
|
+
legendShape?: LegendShape;
|
|
3570
|
+
/**
|
|
3571
|
+
* dataPoints for the line chart
|
|
3572
|
+
*/
|
|
3573
|
+
data: IScatterChartDataPoint[];
|
|
3574
|
+
/**
|
|
3575
|
+
* color for the legend in the chart
|
|
3576
|
+
*/
|
|
3577
|
+
color?: string;
|
|
3578
|
+
/**
|
|
3579
|
+
* opacity for chart fill color
|
|
3580
|
+
*/
|
|
3581
|
+
opacity?: number;
|
|
3582
|
+
/**
|
|
3583
|
+
* hide dots for points that are not active
|
|
3584
|
+
*/
|
|
3585
|
+
hideNonActiveDots?: boolean;
|
|
3586
|
+
/**
|
|
3587
|
+
* Defines the function that is executed on clicking this legend
|
|
3588
|
+
*/
|
|
3589
|
+
onLegendClick?: (selectedLegend: string | null | string[]) => void;
|
|
3590
|
+
/**
|
|
3591
|
+
* Whether to use the secondary y scale or not
|
|
3592
|
+
* False by default.
|
|
3593
|
+
*/
|
|
3594
|
+
useSecondaryYScale?: boolean;
|
|
3595
|
+
}
|
|
3596
|
+
|
|
3597
|
+
/**
|
|
3598
|
+
* Line Chart properties
|
|
3599
|
+
* {@docCategory LineChart}
|
|
3600
|
+
*/
|
|
3601
|
+
export declare interface IScatterChartProps extends ICartesianChartProps {
|
|
3602
|
+
/**
|
|
3603
|
+
* Data to render in the chart.
|
|
3604
|
+
*/
|
|
3605
|
+
data: IChartProps;
|
|
3606
|
+
/**
|
|
3607
|
+
* Call to provide customized styling that will layer on top of the variant rules.
|
|
3608
|
+
*/
|
|
3609
|
+
styles?: IScatterChartStyles;
|
|
3610
|
+
/**
|
|
3611
|
+
* Define a custom callout renderer for a data point
|
|
3612
|
+
*/
|
|
3613
|
+
onRenderCalloutPerDataPoint?: IRenderFunction<ICustomizedCalloutData>;
|
|
3614
|
+
/**
|
|
3615
|
+
* Callback for getting callout description message
|
|
3616
|
+
*/
|
|
3617
|
+
getCalloutDescriptionMessage?: (calloutDataProps: ICustomizedCalloutData) => string | undefined;
|
|
3618
|
+
/**
|
|
3619
|
+
* The prop used to define the culture to localized the numbers
|
|
3620
|
+
*/
|
|
3621
|
+
culture?: string;
|
|
3622
|
+
}
|
|
3623
|
+
|
|
3624
|
+
/**
|
|
3625
|
+
* Scatter Chart style properties
|
|
3626
|
+
* {@docCategory ScatterChart}
|
|
3627
|
+
*/
|
|
3628
|
+
export declare interface IScatterChartStyleProps extends ICartesianChartStyleProps {
|
|
3629
|
+
}
|
|
3630
|
+
|
|
3631
|
+
/**
|
|
3632
|
+
* Scatter Chart styles
|
|
3633
|
+
* {@docCategory ScatterChart}
|
|
3634
|
+
*/
|
|
3635
|
+
export declare interface IScatterChartStyles extends ICartesianChartStyles {
|
|
3636
|
+
/**
|
|
3637
|
+
* Style for the marker label
|
|
3638
|
+
*/
|
|
3639
|
+
markerLabel?: IStyle_2;
|
|
3640
|
+
}
|
|
3641
|
+
|
|
3482
3642
|
export declare interface IShapeProps {
|
|
3483
3643
|
svgProps: React_2.SVGAttributes<SVGElement>;
|
|
3484
3644
|
pathProps: React_2.SVGAttributes<SVGPathElement>;
|
|
@@ -4604,6 +4764,12 @@ export declare const ResponsiveContainer: React_2.FC<IResponsiveContainerProps>;
|
|
|
4604
4764
|
*/
|
|
4605
4765
|
export declare const SankeyChart: React_2.FunctionComponent<ISankeyChartProps>;
|
|
4606
4766
|
|
|
4767
|
+
/**
|
|
4768
|
+
* Scatterchart component
|
|
4769
|
+
* {@docCategory ScatterChart}
|
|
4770
|
+
*/
|
|
4771
|
+
export declare const ScatterChart: React_2.FunctionComponent<IScatterChartProps>;
|
|
4772
|
+
|
|
4607
4773
|
/**
|
|
4608
4774
|
* DeclarativeChart schema.
|
|
4609
4775
|
* {@docCategory DeclarativeChart}
|