@fluentui/react-charting 5.23.85 → 5.23.87

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 (110) hide show
  1. package/CHANGELOG.json +61 -1
  2. package/CHANGELOG.md +25 -2
  3. package/dist/react-charting.d.ts +10 -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 +3 -3
  8. package/lib/components/AreaChart/AreaChart.base.js.map +1 -1
  9. package/lib/components/CommonComponents/CartesianChart.base.d.ts +1 -0
  10. package/lib/components/CommonComponents/CartesianChart.base.js +51 -20
  11. package/lib/components/CommonComponents/CartesianChart.base.js.map +1 -1
  12. package/lib/components/CommonComponents/CartesianChart.styles.js +1 -0
  13. package/lib/components/CommonComponents/CartesianChart.styles.js.map +1 -1
  14. package/lib/components/DeclarativeChart/DeclarativeChart.d.ts +5 -0
  15. package/lib/components/DeclarativeChart/DeclarativeChart.js +13 -5
  16. package/lib/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
  17. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +4 -3
  18. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js +61 -16
  19. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  20. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +3 -3
  21. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
  22. package/lib/components/HeatMapChart/HeatMapChart.types.d.ts +5 -0
  23. package/lib/components/HeatMapChart/HeatMapChart.types.js.map +1 -1
  24. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +0 -2
  25. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +0 -67
  26. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
  27. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +1 -3
  28. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +1 -1
  29. package/lib/components/LineChart/LineChart.base.js +3 -3
  30. package/lib/components/LineChart/LineChart.base.js.map +1 -1
  31. package/lib/components/VerticalBarChart/VerticalBarChart.base.js +7 -7
  32. package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
  33. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +1 -2
  34. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +56 -50
  35. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  36. package/lib/utilities/SVGTooltipText.js +4 -5
  37. package/lib/utilities/SVGTooltipText.js.map +1 -1
  38. package/lib/utilities/utilities.d.ts +2 -1
  39. package/lib/utilities/utilities.js +12 -5
  40. package/lib/utilities/utilities.js.map +1 -1
  41. package/lib-amd/components/AreaChart/AreaChart.base.js +2 -2
  42. package/lib-amd/components/AreaChart/AreaChart.base.js.map +1 -1
  43. package/lib-amd/components/CommonComponents/CartesianChart.base.d.ts +1 -0
  44. package/lib-amd/components/CommonComponents/CartesianChart.base.js +50 -20
  45. package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +1 -1
  46. package/lib-amd/components/CommonComponents/CartesianChart.styles.js +1 -0
  47. package/lib-amd/components/CommonComponents/CartesianChart.styles.js.map +1 -1
  48. package/lib-amd/components/DeclarativeChart/DeclarativeChart.d.ts +5 -0
  49. package/lib-amd/components/DeclarativeChart/DeclarativeChart.js +12 -4
  50. package/lib-amd/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
  51. package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +4 -3
  52. package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js +62 -17
  53. package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  54. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +2 -2
  55. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
  56. package/lib-amd/components/HeatMapChart/HeatMapChart.types.d.ts +5 -0
  57. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js.map +1 -1
  58. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +0 -2
  59. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +1 -67
  60. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
  61. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +2 -3
  62. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +1 -1
  63. package/lib-amd/components/LineChart/LineChart.base.js +2 -2
  64. package/lib-amd/components/LineChart/LineChart.base.js.map +1 -1
  65. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +6 -6
  66. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
  67. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +1 -2
  68. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +55 -49
  69. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  70. package/lib-amd/utilities/SVGTooltipText.js +5 -5
  71. package/lib-amd/utilities/SVGTooltipText.js.map +1 -1
  72. package/lib-amd/utilities/utilities.d.ts +2 -1
  73. package/lib-amd/utilities/utilities.js +15 -7
  74. package/lib-amd/utilities/utilities.js.map +1 -1
  75. package/lib-commonjs/components/AreaChart/AreaChart.base.js +2 -2
  76. package/lib-commonjs/components/AreaChart/AreaChart.base.js.map +1 -1
  77. package/lib-commonjs/components/CommonComponents/CartesianChart.base.d.ts +1 -0
  78. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +50 -19
  79. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +1 -1
  80. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js +1 -0
  81. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js.map +1 -1
  82. package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.d.ts +5 -0
  83. package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js +12 -4
  84. package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
  85. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +4 -3
  86. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js +62 -16
  87. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  88. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +2 -2
  89. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
  90. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.d.ts +5 -0
  91. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.js.map +1 -1
  92. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +0 -2
  93. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +0 -67
  94. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
  95. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +1 -3
  96. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +1 -1
  97. package/lib-commonjs/components/LineChart/LineChart.base.js +2 -2
  98. package/lib-commonjs/components/LineChart/LineChart.base.js.map +1 -1
  99. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js +6 -6
  100. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
  101. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +1 -2
  102. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +55 -49
  103. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  104. package/lib-commonjs/utilities/SVGTooltipText.js +4 -5
  105. package/lib-commonjs/utilities/SVGTooltipText.js.map +1 -1
  106. package/lib-commonjs/utilities/utilities.d.ts +2 -1
  107. package/lib-commonjs/utilities/utilities.js +16 -8
  108. package/lib-commonjs/utilities/utilities.js.map +1 -1
  109. package/package.json +2 -2
  110. package/src/components/HeatMapChart/HeatMapChart.types.ts +6 -0
package/CHANGELOG.json CHANGED
@@ -2,7 +2,67 @@
2
2
  "name": "@fluentui/react-charting",
3
3
  "entries": [
4
4
  {
5
- "date": "Tue, 13 May 2025 07:20:23 GMT",
5
+ "date": "Thu, 15 May 2025 07:20:55 GMT",
6
+ "tag": "@fluentui/react-charting_v5.23.87",
7
+ "version": "5.23.87",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "120183316+srmukher@users.noreply.github.com",
12
+ "package": "@fluentui/react-charting",
13
+ "commit": "d73703371df2371ea30b7141cb79ad0ab23caf42",
14
+ "comment": "fix(react-charting): Support for using provided schema colors in declarative charts "
15
+ },
16
+ {
17
+ "author": "120183316+srmukher@users.noreply.github.com",
18
+ "package": "@fluentui/react-charting",
19
+ "commit": "c1533df8275015e3f6057c765e62916827d9247e",
20
+ "comment": "fix(react-charting): Use schema colors for scatter declarative charts"
21
+ },
22
+ {
23
+ "author": "kumarkshitij@microsoft.com",
24
+ "package": "@fluentui/react-charting",
25
+ "commit": "a35b945befa2e48b186243462b623ffca6043d0e",
26
+ "comment": "fix: adjust y-axis title position to reduce overlap with tick labels"
27
+ }
28
+ ]
29
+ }
30
+ },
31
+ {
32
+ "date": "Wed, 14 May 2025 07:21:03 GMT",
33
+ "tag": "@fluentui/react-charting_v5.23.86",
34
+ "version": "5.23.86",
35
+ "comments": {
36
+ "patch": [
37
+ {
38
+ "author": "98592573+AtishayMsft@users.noreply.github.com",
39
+ "package": "@fluentui/react-charting",
40
+ "commit": "f71c8aa217455b6a3197f686d2b112d4f65ed3fe",
41
+ "comment": "fix(react-charting) Cleanup function removed upstream"
42
+ },
43
+ {
44
+ "author": "kumarkshitij@microsoft.com",
45
+ "package": "@fluentui/react-charting",
46
+ "commit": "f1297ebee8766578b5718870c031ed6cc58fc266",
47
+ "comment": "fix: enable interaction with line points without corresponding bars in VSBC"
48
+ },
49
+ {
50
+ "author": "98592573+AtishayMsft@users.noreply.github.com",
51
+ "package": "@fluentui/react-charting",
52
+ "commit": "24fac775a857b02d92e1517cac47201ad18542e1",
53
+ "comment": "fix(react-charting): Consider year as categorical instead of numerical continuous "
54
+ },
55
+ {
56
+ "author": "beachball",
57
+ "package": "@fluentui/react-charting",
58
+ "comment": "Bump @fluentui/chart-utilities to v1.1.8",
59
+ "commit": "f71c8aa217455b6a3197f686d2b112d4f65ed3fe"
60
+ }
61
+ ]
62
+ }
63
+ },
64
+ {
65
+ "date": "Tue, 13 May 2025 07:20:47 GMT",
6
66
  "tag": "@fluentui/react-charting_v5.23.85",
7
67
  "version": "5.23.85",
8
68
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,35 @@
1
1
  # Change Log - @fluentui/react-charting
2
2
 
3
- This log was last generated on Tue, 13 May 2025 07:20:23 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 15 May 2025 07:20:55 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [5.23.87](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.23.87)
8
+
9
+ Thu, 15 May 2025 07:20:55 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.23.86..@fluentui/react-charting_v5.23.87)
11
+
12
+ ### Patches
13
+
14
+ - fix(react-charting): Support for using provided schema colors in declarative charts ([PR #34433](https://github.com/microsoft/fluentui/pull/34433) by 120183316+srmukher@users.noreply.github.com)
15
+ - fix(react-charting): Use schema colors for scatter declarative charts ([PR #34441](https://github.com/microsoft/fluentui/pull/34441) by 120183316+srmukher@users.noreply.github.com)
16
+ - fix: adjust y-axis title position to reduce overlap with tick labels ([PR #34438](https://github.com/microsoft/fluentui/pull/34438) by kumarkshitij@microsoft.com)
17
+
18
+ ## [5.23.86](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.23.86)
19
+
20
+ Wed, 14 May 2025 07:21:03 GMT
21
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.23.85..@fluentui/react-charting_v5.23.86)
22
+
23
+ ### Patches
24
+
25
+ - fix(react-charting) Cleanup function removed upstream ([PR #34440](https://github.com/microsoft/fluentui/pull/34440) by 98592573+AtishayMsft@users.noreply.github.com)
26
+ - fix: enable interaction with line points without corresponding bars in VSBC ([PR #34398](https://github.com/microsoft/fluentui/pull/34398) by kumarkshitij@microsoft.com)
27
+ - fix(react-charting): Consider year as categorical instead of numerical continuous ([PR #34430](https://github.com/microsoft/fluentui/pull/34430) by 98592573+AtishayMsft@users.noreply.github.com)
28
+ - Bump @fluentui/chart-utilities to v1.1.8 ([PR #34440](https://github.com/microsoft/fluentui/pull/34440) by beachball)
29
+
7
30
  ## [5.23.85](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.23.85)
8
31
 
9
- Tue, 13 May 2025 07:20:23 GMT
32
+ Tue, 13 May 2025 07:20:47 GMT
10
33
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.23.84..@fluentui/react-charting_v5.23.85)
11
34
 
12
35
  ### Patches
@@ -162,6 +162,11 @@ export declare interface DeclarativeChartProps extends React_2.RefAttributes<HTM
162
162
  * the public methods and properties of the component.
163
163
  */
164
164
  componentRef?: IRefObject<IDeclarativeChart>;
165
+ /**
166
+ * Optional prop to use Fluent UI color palette for the chart or not.
167
+ * @default true
168
+ */
169
+ useFluentVizColorPalette?: boolean;
165
170
  }
166
171
 
167
172
  /**
@@ -1732,6 +1737,11 @@ export declare interface IHeatMapChartProps extends Pick<ICartesianChartProps, E
1732
1737
  * @default alphabetical
1733
1738
  * The prop used to decide order of string axis labels */
1734
1739
  sortOrder?: 'none' | 'alphabetical';
1740
+ /**
1741
+ *@default false
1742
+ *Used for to elipse y axis labes and show tooltip on x axis labels
1743
+ */
1744
+ showYAxisLablesTooltip?: boolean;
1735
1745
  }
1736
1746
 
1737
1747
  /**