@fluentui/react-charting 5.24.4 → 5.24.5

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.
Files changed (78) hide show
  1. package/CHANGELOG.json +40 -1
  2. package/CHANGELOG.md +15 -2
  3. package/config/tests.js +0 -12
  4. package/dist/react-charting.d.ts +4 -0
  5. package/dist/react-charting.js +1 -1
  6. package/dist/react-charting.min.js +1 -1
  7. package/etc/react-charting.api.md +1 -0
  8. package/lib/components/CommonComponents/CartesianChart.base.js +12 -11
  9. package/lib/components/CommonComponents/CartesianChart.base.js.map +1 -1
  10. package/lib/components/CommonComponents/CartesianChart.styles.js +41 -37
  11. package/lib/components/CommonComponents/CartesianChart.styles.js.map +1 -1
  12. package/lib/components/DeclarativeChart/DeclarativeChart.js +38 -16
  13. package/lib/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
  14. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +13 -3
  15. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js +215 -139
  16. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  17. package/lib/components/DonutChart/DonutChart.base.js +1 -0
  18. package/lib/components/DonutChart/DonutChart.base.js.map +1 -1
  19. package/lib/components/DonutChart/DonutChart.styles.js +18 -0
  20. package/lib/components/DonutChart/DonutChart.styles.js.map +1 -1
  21. package/lib/components/DonutChart/DonutChart.types.d.ts +4 -0
  22. package/lib/components/DonutChart/DonutChart.types.js.map +1 -1
  23. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +3 -1
  24. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
  25. package/lib/components/VerticalBarChart/VerticalBarChart.base.js +3 -1
  26. package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
  27. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +3 -1
  28. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  29. package/lib/utilities/SVGTooltipText.js +3 -3
  30. package/lib/utilities/SVGTooltipText.js.map +1 -1
  31. package/lib-amd/components/CommonComponents/CartesianChart.base.js +12 -11
  32. package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +1 -1
  33. package/lib-amd/components/CommonComponents/CartesianChart.styles.js +41 -37
  34. package/lib-amd/components/CommonComponents/CartesianChart.styles.js.map +1 -1
  35. package/lib-amd/components/DeclarativeChart/DeclarativeChart.js +37 -15
  36. package/lib-amd/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
  37. package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +13 -3
  38. package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js +216 -139
  39. package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  40. package/lib-amd/components/DonutChart/DonutChart.base.js +1 -0
  41. package/lib-amd/components/DonutChart/DonutChart.base.js.map +1 -1
  42. package/lib-amd/components/DonutChart/DonutChart.styles.js +17 -1
  43. package/lib-amd/components/DonutChart/DonutChart.styles.js.map +1 -1
  44. package/lib-amd/components/DonutChart/DonutChart.types.d.ts +4 -0
  45. package/lib-amd/components/DonutChart/DonutChart.types.js.map +1 -1
  46. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +3 -1
  47. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
  48. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +3 -1
  49. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
  50. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +3 -1
  51. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  52. package/lib-amd/utilities/SVGTooltipText.js +3 -3
  53. package/lib-amd/utilities/SVGTooltipText.js.map +1 -1
  54. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +12 -11
  55. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +1 -1
  56. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js +41 -37
  57. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js.map +1 -1
  58. package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js +37 -15
  59. package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
  60. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +13 -3
  61. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js +216 -139
  62. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  63. package/lib-commonjs/components/DonutChart/DonutChart.base.js +1 -0
  64. package/lib-commonjs/components/DonutChart/DonutChart.base.js.map +1 -1
  65. package/lib-commonjs/components/DonutChart/DonutChart.styles.js +18 -0
  66. package/lib-commonjs/components/DonutChart/DonutChart.styles.js.map +1 -1
  67. package/lib-commonjs/components/DonutChart/DonutChart.types.d.ts +4 -0
  68. package/lib-commonjs/components/DonutChart/DonutChart.types.js.map +1 -1
  69. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +3 -1
  70. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
  71. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js +3 -1
  72. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
  73. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +3 -1
  74. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  75. package/lib-commonjs/utilities/SVGTooltipText.js +3 -3
  76. package/lib-commonjs/utilities/SVGTooltipText.js.map +1 -1
  77. package/package.json +2 -2
  78. package/src/components/DonutChart/DonutChart.types.ts +5 -0
package/CHANGELOG.json CHANGED
@@ -2,7 +2,46 @@
2
2
  "name": "@fluentui/react-charting",
3
3
  "entries": [
4
4
  {
5
- "date": "Fri, 13 Jun 2025 07:20:35 GMT",
5
+ "date": "Tue, 17 Jun 2025 07:20:06 GMT",
6
+ "tag": "@fluentui/react-charting_v5.24.5",
7
+ "version": "5.24.5",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "98592573+AtishayMsft@users.noreply.github.com",
12
+ "package": "@fluentui/react-charting",
13
+ "commit": "0e2b75a2b9f3108726359976929d2224e989689c",
14
+ "comment": "fix(react-charting): Support axis tick formatting and y axis range"
15
+ },
16
+ {
17
+ "author": "98592573+AtishayMsft@users.noreply.github.com",
18
+ "package": "@fluentui/react-charting",
19
+ "commit": "c47fda213ca7f4b7fc81298a59cc19180408dad5",
20
+ "comment": "chore(react-charting): Remove enzyme react 17 test adapter"
21
+ },
22
+ {
23
+ "author": "98592573+AtishayMsft@users.noreply.github.com",
24
+ "package": "@fluentui/react-charting",
25
+ "commit": "342462151232a909b98d049ec70e356b7470780b",
26
+ "comment": "feat(react-charting): Support non plot and composite multiplots"
27
+ },
28
+ {
29
+ "author": "98592573+AtishayMsft@users.noreply.github.com",
30
+ "package": "@fluentui/react-charting",
31
+ "commit": "654d9e63cf2ea8cda5279677b5535c047a5a0de4",
32
+ "comment": "fix(react-charting): Fix svg tooltip background alignment"
33
+ },
34
+ {
35
+ "author": "beachball",
36
+ "package": "@fluentui/react-charting",
37
+ "comment": "Bump @fluentui/chart-utilities to v1.1.18",
38
+ "commit": "654d9e63cf2ea8cda5279677b5535c047a5a0de4"
39
+ }
40
+ ]
41
+ }
42
+ },
43
+ {
44
+ "date": "Fri, 13 Jun 2025 07:21:01 GMT",
6
45
  "tag": "@fluentui/react-charting_v5.24.4",
7
46
  "version": "5.24.4",
8
47
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,25 @@
1
1
  # Change Log - @fluentui/react-charting
2
2
 
3
- This log was last generated on Fri, 13 Jun 2025 07:20:35 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 17 Jun 2025 07:20:06 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [5.24.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.24.5)
8
+
9
+ Tue, 17 Jun 2025 07:20:06 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.24.4..@fluentui/react-charting_v5.24.5)
11
+
12
+ ### Patches
13
+
14
+ - fix(react-charting): Support axis tick formatting and y axis range ([PR #34653](https://github.com/microsoft/fluentui/pull/34653) by 98592573+AtishayMsft@users.noreply.github.com)
15
+ - chore(react-charting): Remove enzyme react 17 test adapter ([PR #34595](https://github.com/microsoft/fluentui/pull/34595) by 98592573+AtishayMsft@users.noreply.github.com)
16
+ - feat(react-charting): Support non plot and composite multiplots ([PR #34652](https://github.com/microsoft/fluentui/pull/34652) by 98592573+AtishayMsft@users.noreply.github.com)
17
+ - fix(react-charting): Fix svg tooltip background alignment ([PR #34663](https://github.com/microsoft/fluentui/pull/34663) by 98592573+AtishayMsft@users.noreply.github.com)
18
+ - Bump @fluentui/chart-utilities to v1.1.18 ([PR #34663](https://github.com/microsoft/fluentui/pull/34663) by beachball)
19
+
7
20
  ## [5.24.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.24.4)
8
21
 
9
- Fri, 13 Jun 2025 07:20:35 GMT
22
+ Fri, 13 Jun 2025 07:21:01 GMT
10
23
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.24.3..@fluentui/react-charting_v5.24.4)
11
24
 
12
25
  ### Patches
package/config/tests.js CHANGED
@@ -1,16 +1,4 @@
1
1
  /** Jest test setup file. */
2
2
 
3
- const { setIconOptions } = require('@fluentui/react/lib/Styling');
4
- const { configure } = require('enzyme');
5
- const Adapter = require('@wojtekmaj/enzyme-adapter-react-17');
6
-
7
- // Suppress icon warnings.
8
- setIconOptions({
9
- disableWarnings: true,
10
- });
11
-
12
- // Configure enzyme.
13
- configure({ adapter: new Adapter() });
14
-
15
3
  const env = 'PROD';
16
4
  module.exports = env;
@@ -1261,6 +1261,10 @@ export declare interface IDonutChartStyles {
1261
1261
  * Style for the legend container.
1262
1262
  */
1263
1263
  legendContainer: IStyle;
1264
+ /**
1265
+ * styles for axis annotation
1266
+ */
1267
+ axisAnnotation?: IStyle;
1264
1268
  }
1265
1269
 
1266
1270
  declare interface IEventAnnotation {