@fluentui/react-charting 5.23.65 → 5.23.67

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 (112) hide show
  1. package/CHANGELOG.json +67 -1
  2. package/CHANGELOG.md +26 -2
  3. package/dist/react-charting.d.ts +6 -0
  4. package/dist/react-charting.js +1 -1
  5. package/dist/react-charting.min.js +1 -1
  6. package/etc/react-charting.api.md +2 -0
  7. package/lib/components/AreaChart/AreaChart.base.js +22 -24
  8. package/lib/components/AreaChart/AreaChart.base.js.map +1 -1
  9. package/lib/components/AreaChart/AreaChart.styles.js +1 -1
  10. package/lib/components/AreaChart/AreaChart.styles.js.map +1 -1
  11. package/lib/components/CommonComponents/CartesianChart.base.js +5 -3
  12. package/lib/components/CommonComponents/CartesianChart.base.js.map +1 -1
  13. package/lib/components/DeclarativeChart/DeclarativeChart.js +9 -2
  14. package/lib/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
  15. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js +35 -9
  16. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  17. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +1 -1
  18. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +1 -1
  19. package/lib/components/LineChart/LineChart.base.js +20 -19
  20. package/lib/components/LineChart/LineChart.base.js.map +1 -1
  21. package/lib/components/LineChart/LineChart.styles.js +1 -1
  22. package/lib/components/LineChart/LineChart.styles.js.map +1 -1
  23. package/lib/components/PieChart/Arc/Arc.styles.js +11 -2
  24. package/lib/components/PieChart/Arc/Arc.styles.js.map +1 -1
  25. package/lib/components/PieChart/PieChart.styles.js +1 -1
  26. package/lib/components/PieChart/PieChart.styles.js.map +1 -1
  27. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js +2 -2
  28. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
  29. package/lib/components/StackedBarChart/StackedBarChart.base.js +6 -4
  30. package/lib/components/StackedBarChart/StackedBarChart.base.js.map +1 -1
  31. package/lib/components/VerticalBarChart/VerticalBarChart.styles.js +1 -1
  32. package/lib/components/VerticalBarChart/VerticalBarChart.styles.js.map +1 -1
  33. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +15 -5
  34. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  35. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +1 -1
  36. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +1 -1
  37. package/lib/types/IDataPoint.d.ts +6 -0
  38. package/lib/types/IDataPoint.js.map +1 -1
  39. package/lib/utilities/utilities.d.ts +3 -1
  40. package/lib/utilities/utilities.js +19 -0
  41. package/lib/utilities/utilities.js.map +1 -1
  42. package/lib-amd/components/AreaChart/AreaChart.base.js +21 -23
  43. package/lib-amd/components/AreaChart/AreaChart.base.js.map +1 -1
  44. package/lib-amd/components/AreaChart/AreaChart.styles.js +1 -1
  45. package/lib-amd/components/AreaChart/AreaChart.styles.js.map +1 -1
  46. package/lib-amd/components/CommonComponents/CartesianChart.base.js +5 -3
  47. package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +1 -1
  48. package/lib-amd/components/DeclarativeChart/DeclarativeChart.js +15 -9
  49. package/lib-amd/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
  50. package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js +35 -10
  51. package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  52. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +1 -1
  53. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +1 -1
  54. package/lib-amd/components/LineChart/LineChart.base.js +18 -17
  55. package/lib-amd/components/LineChart/LineChart.base.js.map +1 -1
  56. package/lib-amd/components/LineChart/LineChart.styles.js +1 -1
  57. package/lib-amd/components/LineChart/LineChart.styles.js.map +1 -1
  58. package/lib-amd/components/PieChart/Arc/Arc.styles.js +10 -1
  59. package/lib-amd/components/PieChart/Arc/Arc.styles.js.map +1 -1
  60. package/lib-amd/components/PieChart/PieChart.styles.js +1 -1
  61. package/lib-amd/components/PieChart/PieChart.styles.js.map +1 -1
  62. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js +2 -2
  63. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
  64. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js +6 -4
  65. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js.map +1 -1
  66. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js +1 -1
  67. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js.map +1 -1
  68. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +15 -5
  69. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  70. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +1 -1
  71. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +1 -1
  72. package/lib-amd/types/IDataPoint.d.ts +6 -0
  73. package/lib-amd/types/IDataPoint.js.map +1 -1
  74. package/lib-amd/utilities/utilities.d.ts +3 -1
  75. package/lib-amd/utilities/utilities.js +21 -2
  76. package/lib-amd/utilities/utilities.js.map +1 -1
  77. package/lib-commonjs/components/AreaChart/AreaChart.base.js +21 -23
  78. package/lib-commonjs/components/AreaChart/AreaChart.base.js.map +1 -1
  79. package/lib-commonjs/components/AreaChart/AreaChart.styles.js +1 -1
  80. package/lib-commonjs/components/AreaChart/AreaChart.styles.js.map +1 -1
  81. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +5 -3
  82. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +1 -1
  83. package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js +15 -8
  84. package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
  85. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js +35 -9
  86. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  87. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +1 -1
  88. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +1 -1
  89. package/lib-commonjs/components/LineChart/LineChart.base.js +18 -17
  90. package/lib-commonjs/components/LineChart/LineChart.base.js.map +1 -1
  91. package/lib-commonjs/components/LineChart/LineChart.styles.js +1 -1
  92. package/lib-commonjs/components/LineChart/LineChart.styles.js.map +1 -1
  93. package/lib-commonjs/components/PieChart/Arc/Arc.styles.js +10 -1
  94. package/lib-commonjs/components/PieChart/Arc/Arc.styles.js.map +1 -1
  95. package/lib-commonjs/components/PieChart/PieChart.styles.js +1 -1
  96. package/lib-commonjs/components/PieChart/PieChart.styles.js.map +1 -1
  97. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js +2 -2
  98. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
  99. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js +6 -4
  100. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js.map +1 -1
  101. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.js +1 -1
  102. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.js.map +1 -1
  103. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +15 -5
  104. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  105. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +1 -1
  106. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +1 -1
  107. package/lib-commonjs/types/IDataPoint.d.ts +6 -0
  108. package/lib-commonjs/types/IDataPoint.js.map +1 -1
  109. package/lib-commonjs/utilities/utilities.d.ts +3 -1
  110. package/lib-commonjs/utilities/utilities.js +21 -1
  111. package/lib-commonjs/utilities/utilities.js.map +1 -1
  112. package/package.json +2 -2
package/CHANGELOG.json CHANGED
@@ -2,7 +2,73 @@
2
2
  "name": "@fluentui/react-charting",
3
3
  "entries": [
4
4
  {
5
- "date": "Thu, 20 Mar 2025 10:21:47 GMT",
5
+ "date": "Thu, 27 Mar 2025 07:20:58 GMT",
6
+ "tag": "@fluentui/react-charting_v5.23.67",
7
+ "version": "5.23.67",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "132879294+v-baambati@users.noreply.github.com",
12
+ "package": "@fluentui/react-charting",
13
+ "commit": "47c4ebc7d4b8be9c79b4d3837ca6d27838cbed72",
14
+ "comment": "Accessibility bug fix"
15
+ },
16
+ {
17
+ "author": "132879294+v-baambati@users.noreply.github.com",
18
+ "package": "@fluentui/react-charting",
19
+ "commit": "6db9879e20a198eb868e199916f1fef16b1ae00d",
20
+ "comment": "Accessibility bug fix"
21
+ }
22
+ ]
23
+ }
24
+ },
25
+ {
26
+ "date": "Mon, 24 Mar 2025 07:21:12 GMT",
27
+ "tag": "@fluentui/react-charting_v5.23.66",
28
+ "version": "5.23.66",
29
+ "comments": {
30
+ "patch": [
31
+ {
32
+ "author": "110246001+krkshitij@users.noreply.github.com",
33
+ "package": "@fluentui/react-charting",
34
+ "commit": "14a6cb6b9a8453d49d6892b5b2718b2a160a866b",
35
+ "comment": "feat: add support for line curves"
36
+ },
37
+ {
38
+ "author": "74965306+Anush2303@users.noreply.github.com",
39
+ "package": "@fluentui/react-charting",
40
+ "commit": "49de9d166aac2441ba4a844c44e5cbfc0fcd5301",
41
+ "comment": "Add scaling factor to heights of Vertical Stacked bars"
42
+ },
43
+ {
44
+ "author": "132879294+v-baambati@users.noreply.github.com",
45
+ "package": "@fluentui/react-charting",
46
+ "commit": "574c0e76a30f95d58865705c28848de312aaeee3",
47
+ "comment": "Updated Pie chart title color and arc text colors to fix accessibility issue"
48
+ },
49
+ {
50
+ "author": "120183316+srmukher@users.noreply.github.com",
51
+ "package": "@fluentui/react-charting",
52
+ "commit": "057806cf0d62105a454ae9b91a350fc0aa002a27",
53
+ "comment": "fix(react-charting): Secondary Y Axis margin adjustment"
54
+ },
55
+ {
56
+ "author": "120183316+srmukher@users.noreply.github.com",
57
+ "package": "@fluentui/react-charting",
58
+ "commit": "7729c8eaed4d2de4019ac482f869f8d8a4cf8b46",
59
+ "comment": "fix(react-charting): Decode binary data"
60
+ },
61
+ {
62
+ "author": "beachball",
63
+ "package": "@fluentui/react-charting",
64
+ "comment": "Bump @fluentui/chart-utilities to v1.1.3",
65
+ "commit": "5be6ba78f020fbf227fea845dea23a118138c2a4"
66
+ }
67
+ ]
68
+ }
69
+ },
70
+ {
71
+ "date": "Thu, 20 Mar 2025 10:22:53 GMT",
6
72
  "tag": "@fluentui/react-charting_v5.23.65",
7
73
  "version": "5.23.65",
8
74
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,36 @@
1
1
  # Change Log - @fluentui/react-charting
2
2
 
3
- This log was last generated on Thu, 20 Mar 2025 10:21:47 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 27 Mar 2025 07:20:58 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [5.23.67](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.23.67)
8
+
9
+ Thu, 27 Mar 2025 07:20:58 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.23.66..@fluentui/react-charting_v5.23.67)
11
+
12
+ ### Patches
13
+
14
+ - Accessibility bug fix ([PR #34073](https://github.com/microsoft/fluentui/pull/34073) by 132879294+v-baambati@users.noreply.github.com)
15
+ - Accessibility bug fix ([PR #34068](https://github.com/microsoft/fluentui/pull/34068) by 132879294+v-baambati@users.noreply.github.com)
16
+
17
+ ## [5.23.66](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.23.66)
18
+
19
+ Mon, 24 Mar 2025 07:21:12 GMT
20
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.23.65..@fluentui/react-charting_v5.23.66)
21
+
22
+ ### Patches
23
+
24
+ - feat: add support for line curves ([PR #33877](https://github.com/microsoft/fluentui/pull/33877) by 110246001+krkshitij@users.noreply.github.com)
25
+ - Add scaling factor to heights of Vertical Stacked bars ([PR #34021](https://github.com/microsoft/fluentui/pull/34021) by 74965306+Anush2303@users.noreply.github.com)
26
+ - Updated Pie chart title color and arc text colors to fix accessibility issue ([PR #33945](https://github.com/microsoft/fluentui/pull/33945) by 132879294+v-baambati@users.noreply.github.com)
27
+ - fix(react-charting): Secondary Y Axis margin adjustment ([PR #33770](https://github.com/microsoft/fluentui/pull/33770) by 120183316+srmukher@users.noreply.github.com)
28
+ - fix(react-charting): Decode binary data ([PR #34029](https://github.com/microsoft/fluentui/pull/34029) by 120183316+srmukher@users.noreply.github.com)
29
+ - Bump @fluentui/chart-utilities to v1.1.3 ([PR #34070](https://github.com/microsoft/fluentui/pull/34070) by beachball)
30
+
7
31
  ## [5.23.65](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.23.65)
8
32
 
9
- Thu, 20 Mar 2025 10:21:47 GMT
33
+ Thu, 20 Mar 2025 10:22:53 GMT
10
34
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.23.64..@fluentui/react-charting_v5.23.65)
11
35
 
12
36
  ### Patches
@@ -1,3 +1,4 @@
1
+ import { CurveFactory } from 'd3-shape';
1
2
  import { FocusZoneDirection } from '@fluentui/react-focus';
2
3
  import { ICalloutContentStyleProps } from '@fluentui/react/lib/Callout';
3
4
  import { ICalloutContentStyles } from '@fluentui/react/lib/Callout';
@@ -2481,6 +2482,11 @@ export declare interface ILineChartLineOptions extends React_2.SVGProps<SVGPathE
2481
2482
  * Color of border around the line. Default white.
2482
2483
  */
2483
2484
  lineBorderColor?: string;
2485
+ /**
2486
+ * Defines the type of interpolation used to render the line.
2487
+ * @default 'linear'
2488
+ */
2489
+ curve?: 'linear' | 'natural' | 'step' | 'stepAfter' | 'stepBefore' | CurveFactory;
2484
2490
  }
2485
2491
 
2486
2492
  /**