@fluentui/react-charting 5.23.86 → 5.23.88

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 (107) hide show
  1. package/CHANGELOG.json +67 -1
  2. package/CHANGELOG.md +26 -2
  3. package/dist/react-charting.d.ts +13 -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 +8 -0
  15. package/lib/components/DeclarativeChart/DeclarativeChart.js +11 -7
  16. package/lib/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
  17. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +10 -7
  18. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js +95 -30
  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.js +3 -3
  34. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  35. package/lib/utilities/SVGTooltipText.js +4 -5
  36. package/lib/utilities/SVGTooltipText.js.map +1 -1
  37. package/lib/utilities/utilities.d.ts +2 -1
  38. package/lib/utilities/utilities.js +12 -5
  39. package/lib/utilities/utilities.js.map +1 -1
  40. package/lib-amd/components/AreaChart/AreaChart.base.js +2 -2
  41. package/lib-amd/components/AreaChart/AreaChart.base.js.map +1 -1
  42. package/lib-amd/components/CommonComponents/CartesianChart.base.d.ts +1 -0
  43. package/lib-amd/components/CommonComponents/CartesianChart.base.js +50 -20
  44. package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +1 -1
  45. package/lib-amd/components/CommonComponents/CartesianChart.styles.js +1 -0
  46. package/lib-amd/components/CommonComponents/CartesianChart.styles.js.map +1 -1
  47. package/lib-amd/components/DeclarativeChart/DeclarativeChart.d.ts +8 -0
  48. package/lib-amd/components/DeclarativeChart/DeclarativeChart.js +11 -7
  49. package/lib-amd/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
  50. package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +10 -7
  51. package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js +99 -32
  52. package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  53. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +2 -2
  54. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
  55. package/lib-amd/components/HeatMapChart/HeatMapChart.types.d.ts +5 -0
  56. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js.map +1 -1
  57. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +0 -2
  58. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +1 -67
  59. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
  60. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +2 -3
  61. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +1 -1
  62. package/lib-amd/components/LineChart/LineChart.base.js +2 -2
  63. package/lib-amd/components/LineChart/LineChart.base.js.map +1 -1
  64. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +6 -6
  65. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
  66. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +2 -2
  67. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  68. package/lib-amd/utilities/SVGTooltipText.js +5 -5
  69. package/lib-amd/utilities/SVGTooltipText.js.map +1 -1
  70. package/lib-amd/utilities/utilities.d.ts +2 -1
  71. package/lib-amd/utilities/utilities.js +15 -7
  72. package/lib-amd/utilities/utilities.js.map +1 -1
  73. package/lib-commonjs/components/AreaChart/AreaChart.base.js +2 -2
  74. package/lib-commonjs/components/AreaChart/AreaChart.base.js.map +1 -1
  75. package/lib-commonjs/components/CommonComponents/CartesianChart.base.d.ts +1 -0
  76. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +50 -19
  77. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +1 -1
  78. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js +1 -0
  79. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js.map +1 -1
  80. package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.d.ts +8 -0
  81. package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js +11 -7
  82. package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
  83. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +10 -7
  84. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js +99 -31
  85. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  86. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +2 -2
  87. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
  88. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.d.ts +5 -0
  89. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.js.map +1 -1
  90. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +0 -2
  91. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +0 -67
  92. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
  93. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +1 -3
  94. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +1 -1
  95. package/lib-commonjs/components/LineChart/LineChart.base.js +2 -2
  96. package/lib-commonjs/components/LineChart/LineChart.base.js.map +1 -1
  97. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js +6 -6
  98. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
  99. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +2 -2
  100. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  101. package/lib-commonjs/utilities/SVGTooltipText.js +4 -5
  102. package/lib-commonjs/utilities/SVGTooltipText.js.map +1 -1
  103. package/lib-commonjs/utilities/utilities.d.ts +2 -1
  104. package/lib-commonjs/utilities/utilities.js +16 -8
  105. package/lib-commonjs/utilities/utilities.js.map +1 -1
  106. package/package.json +5 -5
  107. package/src/components/HeatMapChart/HeatMapChart.types.ts +6 -0
package/CHANGELOG.json CHANGED
@@ -2,7 +2,73 @@
2
2
  "name": "@fluentui/react-charting",
3
3
  "entries": [
4
4
  {
5
- "date": "Wed, 14 May 2025 07:20:40 GMT",
5
+ "date": "Fri, 16 May 2025 07:19:55 GMT",
6
+ "tag": "@fluentui/react-charting_v5.23.88",
7
+ "version": "5.23.88",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "120183316+srmukher@users.noreply.github.com",
12
+ "package": "@fluentui/react-charting",
13
+ "commit": "f81fca983d21022c0802a24dcb010a16fe6a37d5",
14
+ "comment": "fix(react-charting): Use schema colors for all bar charts"
15
+ },
16
+ {
17
+ "author": "beachball",
18
+ "package": "@fluentui/react-charting",
19
+ "comment": "Bump @fluentui/chart-utilities to v1.1.9",
20
+ "commit": "8d9faeb128c66042497f54ba87602747e1171773"
21
+ },
22
+ {
23
+ "author": "beachball",
24
+ "package": "@fluentui/react-charting",
25
+ "comment": "Bump @fluentui/react-focus to v8.9.25",
26
+ "commit": "8d9faeb128c66042497f54ba87602747e1171773"
27
+ },
28
+ {
29
+ "author": "beachball",
30
+ "package": "@fluentui/react-charting",
31
+ "comment": "Bump @fluentui/theme-samples to v8.7.207",
32
+ "commit": "8d9faeb128c66042497f54ba87602747e1171773"
33
+ },
34
+ {
35
+ "author": "beachball",
36
+ "package": "@fluentui/react-charting",
37
+ "comment": "Bump @fluentui/react to v8.122.18",
38
+ "commit": "8d9faeb128c66042497f54ba87602747e1171773"
39
+ }
40
+ ]
41
+ }
42
+ },
43
+ {
44
+ "date": "Thu, 15 May 2025 07:21:16 GMT",
45
+ "tag": "@fluentui/react-charting_v5.23.87",
46
+ "version": "5.23.87",
47
+ "comments": {
48
+ "patch": [
49
+ {
50
+ "author": "120183316+srmukher@users.noreply.github.com",
51
+ "package": "@fluentui/react-charting",
52
+ "commit": "d73703371df2371ea30b7141cb79ad0ab23caf42",
53
+ "comment": "fix(react-charting): Support for using provided schema colors in declarative charts "
54
+ },
55
+ {
56
+ "author": "120183316+srmukher@users.noreply.github.com",
57
+ "package": "@fluentui/react-charting",
58
+ "commit": "c1533df8275015e3f6057c765e62916827d9247e",
59
+ "comment": "fix(react-charting): Use schema colors for scatter declarative charts"
60
+ },
61
+ {
62
+ "author": "kumarkshitij@microsoft.com",
63
+ "package": "@fluentui/react-charting",
64
+ "commit": "a35b945befa2e48b186243462b623ffca6043d0e",
65
+ "comment": "fix: adjust y-axis title position to reduce overlap with tick labels"
66
+ }
67
+ ]
68
+ }
69
+ },
70
+ {
71
+ "date": "Wed, 14 May 2025 07:21:03 GMT",
6
72
  "tag": "@fluentui/react-charting_v5.23.86",
7
73
  "version": "5.23.86",
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 Wed, 14 May 2025 07:20:40 GMT and should not be manually modified.
3
+ This log was last generated on Fri, 16 May 2025 07:19:55 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [5.23.88](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.23.88)
8
+
9
+ Fri, 16 May 2025 07:19:55 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.23.87..@fluentui/react-charting_v5.23.88)
11
+
12
+ ### Patches
13
+
14
+ - fix(react-charting): Use schema colors for all bar charts ([PR #34447](https://github.com/microsoft/fluentui/pull/34447) by 120183316+srmukher@users.noreply.github.com)
15
+ - Bump @fluentui/chart-utilities to v1.1.9 ([PR #34453](https://github.com/microsoft/fluentui/pull/34453) by beachball)
16
+ - Bump @fluentui/react-focus to v8.9.25 ([PR #34453](https://github.com/microsoft/fluentui/pull/34453) by beachball)
17
+ - Bump @fluentui/theme-samples to v8.7.207 ([PR #34453](https://github.com/microsoft/fluentui/pull/34453) by beachball)
18
+ - Bump @fluentui/react to v8.122.18 ([PR #34453](https://github.com/microsoft/fluentui/pull/34453) by beachball)
19
+
20
+ ## [5.23.87](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.23.87)
21
+
22
+ Thu, 15 May 2025 07:21:16 GMT
23
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.23.86..@fluentui/react-charting_v5.23.87)
24
+
25
+ ### Patches
26
+
27
+ - 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)
28
+ - 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)
29
+ - 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)
30
+
7
31
  ## [5.23.86](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.23.86)
8
32
 
9
- Wed, 14 May 2025 07:20:40 GMT
33
+ Wed, 14 May 2025 07:21:03 GMT
10
34
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.23.85..@fluentui/react-charting_v5.23.86)
11
35
 
12
36
  ### Patches
@@ -162,6 +162,14 @@ 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 specify the color palette for the chart.
167
+ * - 'default': Do not use Fluent UI color palette.
168
+ * - 'builtin': Use Fluent UI color palette.
169
+ * - 'override': Reserved for future use.
170
+ * @default 'builtin'
171
+ */
172
+ fluentDataVizColorPalette?: 'default' | 'builtin' | 'override';
165
173
  }
166
174
 
167
175
  /**
@@ -1732,6 +1740,11 @@ export declare interface IHeatMapChartProps extends Pick<ICartesianChartProps, E
1732
1740
  * @default alphabetical
1733
1741
  * The prop used to decide order of string axis labels */
1734
1742
  sortOrder?: 'none' | 'alphabetical';
1743
+ /**
1744
+ *@default false
1745
+ *Used for to elipse y axis labes and show tooltip on x axis labels
1746
+ */
1747
+ showYAxisLablesTooltip?: boolean;
1735
1748
  }
1736
1749
 
1737
1750
  /**