@fluentui/react-charts 9.2.1 → 9.2.3

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 (201) hide show
  1. package/CHANGELOG.md +57 -2
  2. package/dist/index.d.ts +168 -15
  3. package/lib/ChartTable.js +1 -0
  4. package/lib/ChartTable.js.map +1 -0
  5. package/lib/components/AreaChart/AreaChart.js +4 -1
  6. package/lib/components/AreaChart/AreaChart.js.map +1 -1
  7. package/lib/components/AreaChart/useAreaChartStyles.styles.js +2 -1
  8. package/lib/components/AreaChart/useAreaChartStyles.styles.js.map +1 -1
  9. package/lib/components/AreaChart/useAreaChartStyles.styles.raw.js +2 -1
  10. package/lib/components/AreaChart/useAreaChartStyles.styles.raw.js.map +1 -1
  11. package/lib/components/ChartTable/ChartTable.js +58 -0
  12. package/lib/components/ChartTable/ChartTable.js.map +1 -0
  13. package/lib/components/ChartTable/ChartTable.types.js +1 -0
  14. package/lib/components/ChartTable/ChartTable.types.js.map +1 -0
  15. package/lib/components/ChartTable/index.js +3 -0
  16. package/lib/components/ChartTable/index.js.map +1 -0
  17. package/lib/components/ChartTable/useChartTableStyles.styles.js +93 -0
  18. package/lib/components/ChartTable/useChartTableStyles.styles.js.map +1 -0
  19. package/lib/components/ChartTable/useChartTableStyles.styles.raw.js +55 -0
  20. package/lib/components/ChartTable/useChartTableStyles.styles.raw.js.map +1 -0
  21. package/lib/components/CommonComponents/CartesianChart.js +170 -100
  22. package/lib/components/CommonComponents/CartesianChart.js.map +1 -1
  23. package/lib/components/CommonComponents/CartesianChart.types.js.map +1 -1
  24. package/lib/components/CommonComponents/ChartPopover.types.js.map +1 -1
  25. package/lib/components/CommonComponents/useCartesianChartStyles.styles.js +13 -0
  26. package/lib/components/CommonComponents/useCartesianChartStyles.styles.js.map +1 -1
  27. package/lib/components/CommonComponents/useCartesianChartStyles.styles.raw.js +12 -0
  28. package/lib/components/CommonComponents/useCartesianChartStyles.styles.raw.js.map +1 -1
  29. package/lib/components/DeclarativeChart/DeclarativeChart.js +180 -102
  30. package/lib/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
  31. package/lib/components/DeclarativeChart/PlotlyColorAdapter.js +100 -0
  32. package/lib/components/DeclarativeChart/PlotlyColorAdapter.js.map +1 -0
  33. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js +890 -211
  34. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  35. package/lib/components/DonutChart/DonutChart.js +2 -2
  36. package/lib/components/DonutChart/DonutChart.js.map +1 -1
  37. package/lib/components/DonutChart/DonutChart.types.js.map +1 -1
  38. package/lib/components/DonutChart/Pie/Pie.js.map +1 -1
  39. package/lib/components/FunnelChart/FunnelChart.js.map +1 -1
  40. package/lib/components/GanttChart/GanttChart.js.map +1 -1
  41. package/lib/components/GanttChart/useGanttChartStyles.styles.js +2 -1
  42. package/lib/components/GanttChart/useGanttChartStyles.styles.js.map +1 -1
  43. package/lib/components/GanttChart/useGanttChartStyles.styles.raw.js +2 -1
  44. package/lib/components/GanttChart/useGanttChartStyles.styles.raw.js.map +1 -1
  45. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +185 -144
  46. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -1
  47. package/lib/components/GroupedVerticalBarChart/useGroupedVerticalBarChartStyles.styles.js +2 -1
  48. package/lib/components/GroupedVerticalBarChart/useGroupedVerticalBarChartStyles.styles.js.map +1 -1
  49. package/lib/components/GroupedVerticalBarChart/useGroupedVerticalBarChartStyles.styles.raw.js +2 -1
  50. package/lib/components/GroupedVerticalBarChart/useGroupedVerticalBarChartStyles.styles.raw.js.map +1 -1
  51. package/lib/components/HeatMapChart/HeatMapChart.js +175 -114
  52. package/lib/components/HeatMapChart/HeatMapChart.js.map +1 -1
  53. package/lib/components/HeatMapChart/useHeatMapChartStyles.styles.js +2 -1
  54. package/lib/components/HeatMapChart/useHeatMapChartStyles.styles.js.map +1 -1
  55. package/lib/components/HeatMapChart/useHeatMapChartStyles.styles.raw.js +2 -1
  56. package/lib/components/HeatMapChart/useHeatMapChartStyles.styles.raw.js.map +1 -1
  57. package/lib/components/HorizontalBarChart/HorizontalBarChart.js.map +1 -1
  58. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -1
  59. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +26 -6
  60. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -1
  61. package/lib/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.js +2 -1
  62. package/lib/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.js.map +1 -1
  63. package/lib/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.raw.js +2 -1
  64. package/lib/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.raw.js.map +1 -1
  65. package/lib/components/Legends/Legends.js.map +1 -1
  66. package/lib/components/Legends/OverflowMenu.js.map +1 -1
  67. package/lib/components/LineChart/LineChart.js +251 -78
  68. package/lib/components/LineChart/LineChart.js.map +1 -1
  69. package/lib/components/LineChart/LineChart.types.js.map +1 -1
  70. package/lib/components/LineChart/useLineChartStyles.styles.js +10 -3
  71. package/lib/components/LineChart/useLineChartStyles.styles.js.map +1 -1
  72. package/lib/components/LineChart/useLineChartStyles.styles.raw.js +14 -2
  73. package/lib/components/LineChart/useLineChartStyles.styles.raw.js.map +1 -1
  74. package/lib/components/ScatterChart/ScatterChart.js +56 -37
  75. package/lib/components/ScatterChart/ScatterChart.js.map +1 -1
  76. package/lib/components/ScatterChart/ScatterChart.types.js.map +1 -1
  77. package/lib/components/ScatterChart/useScatterChartStyles.styles.js +21 -4
  78. package/lib/components/ScatterChart/useScatterChartStyles.styles.js.map +1 -1
  79. package/lib/components/ScatterChart/useScatterChartStyles.styles.raw.js +16 -3
  80. package/lib/components/ScatterChart/useScatterChartStyles.styles.raw.js.map +1 -1
  81. package/lib/components/VerticalBarChart/VerticalBarChart.js +38 -14
  82. package/lib/components/VerticalBarChart/VerticalBarChart.js.map +1 -1
  83. package/lib/components/VerticalBarChart/useVerticalBarChartStyles.styles.js +2 -1
  84. package/lib/components/VerticalBarChart/useVerticalBarChartStyles.styles.js.map +1 -1
  85. package/lib/components/VerticalBarChart/useVerticalBarChartStyles.styles.raw.js +2 -1
  86. package/lib/components/VerticalBarChart/useVerticalBarChartStyles.styles.raw.js.map +1 -1
  87. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js +214 -96
  88. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -1
  89. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
  90. package/lib/components/VerticalStackedBarChart/useVerticalStackedBarChartStyles.styles.js +2 -1
  91. package/lib/components/VerticalStackedBarChart/useVerticalStackedBarChartStyles.styles.js.map +1 -1
  92. package/lib/components/VerticalStackedBarChart/useVerticalStackedBarChartStyles.styles.raw.js +2 -1
  93. package/lib/components/VerticalStackedBarChart/useVerticalStackedBarChartStyles.styles.raw.js.map +1 -1
  94. package/lib/index.js +1 -0
  95. package/lib/index.js.map +1 -1
  96. package/lib/types/DataPoint.js.map +1 -1
  97. package/lib/utilities/FocusableTooltipText.js.map +1 -1
  98. package/lib/utilities/utilities.js +41 -42
  99. package/lib/utilities/utilities.js.map +1 -1
  100. package/lib/utilities/vbc-utils.js +24 -0
  101. package/lib/utilities/vbc-utils.js.map +1 -1
  102. package/lib-commonjs/ChartTable.js +6 -0
  103. package/lib-commonjs/ChartTable.js.map +1 -0
  104. package/lib-commonjs/components/AreaChart/AreaChart.js +4 -1
  105. package/lib-commonjs/components/AreaChart/AreaChart.js.map +1 -1
  106. package/lib-commonjs/components/AreaChart/useAreaChartStyles.styles.js +2 -1
  107. package/lib-commonjs/components/AreaChart/useAreaChartStyles.styles.js.map +1 -1
  108. package/lib-commonjs/components/AreaChart/useAreaChartStyles.styles.raw.js +2 -1
  109. package/lib-commonjs/components/AreaChart/useAreaChartStyles.styles.raw.js.map +1 -1
  110. package/lib-commonjs/components/ChartTable/ChartTable.js +69 -0
  111. package/lib-commonjs/components/ChartTable/ChartTable.js.map +1 -0
  112. package/lib-commonjs/components/ChartTable/ChartTable.types.js +6 -0
  113. package/lib-commonjs/components/ChartTable/ChartTable.types.js.map +1 -0
  114. package/lib-commonjs/components/ChartTable/index.js +8 -0
  115. package/lib-commonjs/components/ChartTable/index.js.map +1 -0
  116. package/lib-commonjs/components/ChartTable/useChartTableStyles.styles.js +196 -0
  117. package/lib-commonjs/components/ChartTable/useChartTableStyles.styles.js.map +1 -0
  118. package/lib-commonjs/components/ChartTable/useChartTableStyles.styles.raw.js +69 -0
  119. package/lib-commonjs/components/ChartTable/useChartTableStyles.styles.raw.js.map +1 -0
  120. package/lib-commonjs/components/CommonComponents/CartesianChart.js +169 -98
  121. package/lib-commonjs/components/CommonComponents/CartesianChart.js.map +1 -1
  122. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +1 -1
  123. package/lib-commonjs/components/CommonComponents/ChartPopover.types.js.map +1 -1
  124. package/lib-commonjs/components/CommonComponents/useCartesianChartStyles.styles.js +13 -0
  125. package/lib-commonjs/components/CommonComponents/useCartesianChartStyles.styles.js.map +1 -1
  126. package/lib-commonjs/components/CommonComponents/useCartesianChartStyles.styles.raw.js +12 -0
  127. package/lib-commonjs/components/CommonComponents/useCartesianChartStyles.styles.raw.js.map +1 -1
  128. package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js +176 -100
  129. package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
  130. package/lib-commonjs/components/DeclarativeChart/PlotlyColorAdapter.js +128 -0
  131. package/lib-commonjs/components/DeclarativeChart/PlotlyColorAdapter.js.map +1 -0
  132. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js +909 -209
  133. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  134. package/lib-commonjs/components/DonutChart/DonutChart.js +1 -1
  135. package/lib-commonjs/components/DonutChart/DonutChart.js.map +1 -1
  136. package/lib-commonjs/components/DonutChart/DonutChart.types.js.map +1 -1
  137. package/lib-commonjs/components/DonutChart/Pie/Pie.js.map +1 -1
  138. package/lib-commonjs/components/FunnelChart/FunnelChart.js.map +1 -1
  139. package/lib-commonjs/components/GanttChart/GanttChart.js.map +1 -1
  140. package/lib-commonjs/components/GanttChart/useGanttChartStyles.styles.js +2 -1
  141. package/lib-commonjs/components/GanttChart/useGanttChartStyles.styles.js.map +1 -1
  142. package/lib-commonjs/components/GanttChart/useGanttChartStyles.styles.raw.js +2 -1
  143. package/lib-commonjs/components/GanttChart/useGanttChartStyles.styles.raw.js.map +1 -1
  144. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +183 -142
  145. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -1
  146. package/lib-commonjs/components/GroupedVerticalBarChart/useGroupedVerticalBarChartStyles.styles.js +2 -1
  147. package/lib-commonjs/components/GroupedVerticalBarChart/useGroupedVerticalBarChartStyles.styles.js.map +1 -1
  148. package/lib-commonjs/components/GroupedVerticalBarChart/useGroupedVerticalBarChartStyles.styles.raw.js +2 -1
  149. package/lib-commonjs/components/GroupedVerticalBarChart/useGroupedVerticalBarChartStyles.styles.raw.js.map +1 -1
  150. package/lib-commonjs/components/HeatMapChart/HeatMapChart.js +174 -113
  151. package/lib-commonjs/components/HeatMapChart/HeatMapChart.js.map +1 -1
  152. package/lib-commonjs/components/HeatMapChart/useHeatMapChartStyles.styles.js +2 -1
  153. package/lib-commonjs/components/HeatMapChart/useHeatMapChartStyles.styles.js.map +1 -1
  154. package/lib-commonjs/components/HeatMapChart/useHeatMapChartStyles.styles.raw.js +2 -1
  155. package/lib-commonjs/components/HeatMapChart/useHeatMapChartStyles.styles.raw.js.map +1 -1
  156. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js.map +1 -1
  157. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -1
  158. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +25 -5
  159. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -1
  160. package/lib-commonjs/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.js +2 -1
  161. package/lib-commonjs/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.js.map +1 -1
  162. package/lib-commonjs/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.raw.js +2 -1
  163. package/lib-commonjs/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.raw.js.map +1 -1
  164. package/lib-commonjs/components/Legends/Legends.js.map +1 -1
  165. package/lib-commonjs/components/Legends/OverflowMenu.js.map +1 -1
  166. package/lib-commonjs/components/LineChart/LineChart.js +250 -78
  167. package/lib-commonjs/components/LineChart/LineChart.js.map +1 -1
  168. package/lib-commonjs/components/LineChart/LineChart.types.js.map +1 -1
  169. package/lib-commonjs/components/LineChart/useLineChartStyles.styles.js +12 -3
  170. package/lib-commonjs/components/LineChart/useLineChartStyles.styles.js.map +1 -1
  171. package/lib-commonjs/components/LineChart/useLineChartStyles.styles.raw.js +14 -2
  172. package/lib-commonjs/components/LineChart/useLineChartStyles.styles.raw.js.map +1 -1
  173. package/lib-commonjs/components/ScatterChart/ScatterChart.js +56 -37
  174. package/lib-commonjs/components/ScatterChart/ScatterChart.js.map +1 -1
  175. package/lib-commonjs/components/ScatterChart/ScatterChart.types.js.map +1 -1
  176. package/lib-commonjs/components/ScatterChart/useScatterChartStyles.styles.js +30 -3
  177. package/lib-commonjs/components/ScatterChart/useScatterChartStyles.styles.js.map +1 -1
  178. package/lib-commonjs/components/ScatterChart/useScatterChartStyles.styles.raw.js +15 -2
  179. package/lib-commonjs/components/ScatterChart/useScatterChartStyles.styles.raw.js.map +1 -1
  180. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js +37 -13
  181. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js.map +1 -1
  182. package/lib-commonjs/components/VerticalBarChart/useVerticalBarChartStyles.styles.js +2 -1
  183. package/lib-commonjs/components/VerticalBarChart/useVerticalBarChartStyles.styles.js.map +1 -1
  184. package/lib-commonjs/components/VerticalBarChart/useVerticalBarChartStyles.styles.raw.js +2 -1
  185. package/lib-commonjs/components/VerticalBarChart/useVerticalBarChartStyles.styles.raw.js.map +1 -1
  186. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js +213 -95
  187. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -1
  188. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
  189. package/lib-commonjs/components/VerticalStackedBarChart/useVerticalStackedBarChartStyles.styles.js +2 -1
  190. package/lib-commonjs/components/VerticalStackedBarChart/useVerticalStackedBarChartStyles.styles.js.map +1 -1
  191. package/lib-commonjs/components/VerticalStackedBarChart/useVerticalStackedBarChartStyles.styles.raw.js +2 -1
  192. package/lib-commonjs/components/VerticalStackedBarChart/useVerticalStackedBarChartStyles.styles.raw.js.map +1 -1
  193. package/lib-commonjs/index.js +1 -0
  194. package/lib-commonjs/index.js.map +1 -1
  195. package/lib-commonjs/types/DataPoint.js.map +1 -1
  196. package/lib-commonjs/utilities/FocusableTooltipText.js.map +1 -1
  197. package/lib-commonjs/utilities/utilities.js +44 -41
  198. package/lib-commonjs/utilities/utilities.js.map +1 -1
  199. package/lib-commonjs/utilities/vbc-utils.js +27 -0
  200. package/lib-commonjs/utilities/vbc-utils.js.map +1 -1
  201. package/package.json +10 -10
package/CHANGELOG.md CHANGED
@@ -1,12 +1,67 @@
1
1
  # Change Log - @fluentui/react-charts
2
2
 
3
- This log was last generated on Wed, 30 Jul 2025 16:53:06 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 21 Aug 2025 12:20:32 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.2.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-charts_v9.2.3)
8
+
9
+ Thu, 21 Aug 2025 12:20:32 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charts_v9.2.2..@fluentui/react-charts_v9.2.3)
11
+
12
+ ### Patches
13
+
14
+ - add labels for text+markers ([PR #35025](https://github.com/microsoft/fluentui/pull/35025) by anushgupta@microsoft.com)
15
+ - fix scatter chart bugs ([PR #35047](https://github.com/microsoft/fluentui/pull/35047) by anushgupta@microsoft.com)
16
+ - update validation to tolerate invalid traces ([PR #34998](https://github.com/microsoft/fluentui/pull/34998) by anushgupta@microsoft.com)
17
+ - support for ordering tick labels ([PR #35053](https://github.com/microsoft/fluentui/pull/35053) by anushgupta@microsoft.com)
18
+ - colorscale support for bar charts ([PR #35026](https://github.com/microsoft/fluentui/pull/35026) by anushgupta@microsoft.com)
19
+ - pie chart fix ([PR #35013](https://github.com/microsoft/fluentui/pull/35013) by anushgupta@microsoft.com)
20
+ - use piecolorway for donut chart ([PR #34999](https://github.com/microsoft/fluentui/pull/34999) by anushgupta@microsoft.com)
21
+ - enable scatter chart in v9 declatative ([PR #35036](https://github.com/microsoft/fluentui/pull/35036) by anushgupta@microsoft.com)
22
+ - support for using opacity provided in plotly schema ([PR #35045](https://github.com/microsoft/fluentui/pull/35045) by anushgupta@microsoft.com)
23
+ - add date axis support in vsbc ([PR #35018](https://github.com/microsoft/fluentui/pull/35018) by anushgupta@microsoft.com)
24
+ - add support for multiplot declarative chart ([PR #35038](https://github.com/microsoft/fluentui/pull/35038) by anushgupta@microsoft.com)
25
+ - add styles to tables ([PR #35012](https://github.com/microsoft/fluentui/pull/35012) by anushgupta@microsoft.com)
26
+ - remove duplicated legends in line chart ([PR #34991](https://github.com/microsoft/fluentui/pull/34991) by anushgupta@microsoft.com)
27
+ - fix color issue in gvbc ([PR #35050](https://github.com/microsoft/fluentui/pull/35050) by anushgupta@microsoft.com)
28
+ - support for lines+markers ([PR #34997](https://github.com/microsoft/fluentui/pull/34997) by anushgupta@microsoft.com)
29
+ - use schema colorscale for gvbc ([PR #35011](https://github.com/microsoft/fluentui/pull/35011) by anushgupta@microsoft.com)
30
+ - add support for string y axis in VSBC ([PR #35016](https://github.com/microsoft/fluentui/pull/35016) by anushgupta@microsoft.com)
31
+ - Bump @fluentui/react-button to v9.6.5 ([PR #35055](https://github.com/microsoft/fluentui/pull/35055) by beachball)
32
+ - Bump @fluentui/react-jsx-runtime to v9.1.6 ([PR #35055](https://github.com/microsoft/fluentui/pull/35055) by beachball)
33
+ - Bump @fluentui/react-overflow to v9.5.5 ([PR #35055](https://github.com/microsoft/fluentui/pull/35055) by beachball)
34
+ - Bump @fluentui/react-popover to v9.12.5 ([PR #35055](https://github.com/microsoft/fluentui/pull/35055) by beachball)
35
+ - Bump @fluentui/react-shared-contexts to v9.25.0 ([PR #35055](https://github.com/microsoft/fluentui/pull/35055) by beachball)
36
+ - Bump @fluentui/react-tabster to v9.26.4 ([PR #35055](https://github.com/microsoft/fluentui/pull/35055) by beachball)
37
+ - Bump @fluentui/react-tooltip to v9.8.4 ([PR #35055](https://github.com/microsoft/fluentui/pull/35055) by beachball)
38
+ - Bump @fluentui/react-utilities to v9.24.0 ([PR #35055](https://github.com/microsoft/fluentui/pull/35055) by beachball)
39
+
40
+ ## [9.2.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-charts_v9.2.2)
41
+
42
+ Thu, 07 Aug 2025 10:03:21 GMT
43
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charts_v9.2.1..@fluentui/react-charts_v9.2.2)
44
+
45
+ ### Patches
46
+
47
+ - support for stacked grouped vertical bar chart+ enable wrapping of string x-axis labels in declarative chart+ hide overlapping labels based on post transform width ([PR #34936](https://github.com/microsoft/fluentui/pull/34936) by anushgupta@microsoft.com)
48
+ - support schema colors ([PR #34967](https://github.com/microsoft/fluentui/pull/34967) by anushgupta@microsoft.com)
49
+ - fix: migrate to R19 compatible JSX.* namespace types ([PR #34923](https://github.com/microsoft/fluentui/pull/34923) by martinhochel@microsoft.com)
50
+ - Add support for plotly generated tables ([PR #34980](https://github.com/microsoft/fluentui/pull/34980) by anushgupta@microsoft.com)
51
+ - enable interaction with line points without bars ([PR #34953](https://github.com/microsoft/fluentui/pull/34953) by anushgupta@microsoft.com)
52
+ - enable round corners in declarative charts ([PR #34981](https://github.com/microsoft/fluentui/pull/34981) by anushgupta@microsoft.com)
53
+ - create plotly aligned colorway ([PR #34978](https://github.com/microsoft/fluentui/pull/34978) by anushgupta@microsoft.com)
54
+ - Bump @fluentui/react-button to v9.6.4 ([PR #34980](https://github.com/microsoft/fluentui/pull/34980) by beachball)
55
+ - Bump @fluentui/react-jsx-runtime to v9.1.5 ([PR #34980](https://github.com/microsoft/fluentui/pull/34980) by beachball)
56
+ - Bump @fluentui/react-overflow to v9.5.4 ([PR #34980](https://github.com/microsoft/fluentui/pull/34980) by beachball)
57
+ - Bump @fluentui/react-popover to v9.12.4 ([PR #34980](https://github.com/microsoft/fluentui/pull/34980) by beachball)
58
+ - Bump @fluentui/react-tabster to v9.26.3 ([PR #34980](https://github.com/microsoft/fluentui/pull/34980) by beachball)
59
+ - Bump @fluentui/react-tooltip to v9.8.3 ([PR #34980](https://github.com/microsoft/fluentui/pull/34980) by beachball)
60
+ - Bump @fluentui/react-utilities to v9.23.2 ([PR #34980](https://github.com/microsoft/fluentui/pull/34980) by beachball)
61
+
7
62
  ## [9.2.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-charts_v9.2.1)
8
63
 
9
- Wed, 30 Jul 2025 16:53:06 GMT
64
+ Wed, 30 Jul 2025 16:55:44 GMT
10
65
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charts_v9.2.0..@fluentui/react-charts_v9.2.1)
11
66
 
12
67
  ### Patches
package/dist/index.d.ts CHANGED
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
-
3
1
  import { CurveFactory } from 'd3-shape';
2
+ import type { JSXElement } from '@fluentui/react-utilities';
4
3
  import * as React_2 from 'react';
5
4
  import { RefObject } from 'react';
6
5
  import { SankeyGraph } from 'd3-sankey';
@@ -156,6 +155,10 @@ declare interface BaseDataPoint {
156
155
  * X axis Accessibility data for callout
157
156
  */
158
157
  xAxisCalloutAccessibilityData?: AccessibilityProps;
158
+ /**
159
+ * Marker size of the points
160
+ */
161
+ markerSize?: number;
159
162
  }
160
163
 
161
164
  export declare interface Basestate {
@@ -163,14 +166,14 @@ export declare interface Basestate {
163
166
  _height?: number;
164
167
  activeLegend?: string;
165
168
  color?: string;
166
- dataForHoverCard?: number;
169
+ dataForHoverCard?: number | string;
167
170
  isCalloutVisible: boolean;
168
171
  isLegendSelected?: boolean;
169
172
  isLegendHovered?: boolean;
170
173
  refSelected?: any;
171
174
  YValueHover?: {
172
175
  legend?: string;
173
- y?: number;
176
+ y?: number | string;
174
177
  color?: string;
175
178
  }[];
176
179
  hoverYValue?: string | number | null;
@@ -530,9 +533,13 @@ export declare interface CartesianChartStyles {
530
533
  */
531
534
  tooltip?: string;
532
535
  /**
533
- * styles for tooltip
536
+ * styles for axis title
534
537
  */
535
538
  axisTitle?: string;
539
+ /**
540
+ * styles for axis annotation
541
+ */
542
+ axisAnnotation?: string;
536
543
  /**
537
544
  * Style for the chart Title.
538
545
  */
@@ -637,7 +644,7 @@ export declare interface ChartPopoverProps {
637
644
  color?: string;
638
645
  culture?: string;
639
646
  customCallout?: {
640
- customizedCallout?: JSX.Element;
647
+ customizedCallout?: JSXElement;
641
648
  customCalloutProps?: ChartPopoverProps;
642
649
  };
643
650
  isCalloutForStack?: boolean;
@@ -677,6 +684,10 @@ export declare interface ChartProps {
677
684
  * data for the points in the line chart
678
685
  */
679
686
  lineChartData?: LineChartPoints[];
687
+ /**
688
+ * data for the points in the scatter chart
689
+ */
690
+ scatterChartData?: ScatterChartPoints[];
680
691
  /**
681
692
  * data for the points in the line chart
682
693
  */
@@ -691,6 +702,64 @@ export declare interface ChartProps {
691
702
  pointLineOptions?: SVGProps<SVGLineElement>;
692
703
  }
693
704
 
705
+ export declare const ChartTable: React_2.FunctionComponent<ChartTableProps>;
706
+
707
+ /**
708
+ * Chart Table properties
709
+ * {@docCategory ChartTable}
710
+ */
711
+ export declare interface ChartTableProps {
712
+ /**
713
+ * 1d or 2d Array of header values.
714
+ */
715
+ headers: {
716
+ value: string | number | boolean | null;
717
+ style?: React_2.CSSProperties;
718
+ }[];
719
+ /**
720
+ * Array of rows. Each row corresponds to one data entry under each column.
721
+ */
722
+ rows: {
723
+ value: string | number | boolean | null;
724
+ style?: React_2.CSSProperties;
725
+ }[][];
726
+ /**
727
+ * Optional width for the table
728
+ * @default '100%'
729
+ */
730
+ width?: string | number;
731
+ /**
732
+ * Optional height for the table
733
+ * @default '650px'
734
+ */
735
+ height?: string | number;
736
+ /**
737
+ * Additional class name(s) to apply to the table chart
738
+ */
739
+ className?: string;
740
+ /**
741
+ * Call to provide customized styling that will layer on top of the variant rules.
742
+ */
743
+ styles?: ChartTableStyles;
744
+ /**
745
+ * Optional callback to access the Chart interface. Use this instead of ref for accessing
746
+ * the public methods and properties of the component.
747
+ */
748
+ componentRef?: React_2.RefObject<Chart>;
749
+ }
750
+
751
+ /**
752
+ * Table Chart styles
753
+ * {@docCategory ChartTable}
754
+ */
755
+ export declare interface ChartTableStyles {
756
+ root?: string | React_2.CSSProperties;
757
+ table?: string;
758
+ headerCell?: string;
759
+ bodyCell?: string;
760
+ chart?: string;
761
+ }
762
+
694
763
  declare enum ChartTypes {
695
764
  AreaChart = 0,
696
765
  LineChart = 1,
@@ -731,6 +800,8 @@ export declare interface ColorFillBarsProps {
731
800
  onLegendClick?: (selectedLegend: string | string[] | null) => void | undefined;
732
801
  }
733
802
 
803
+ declare type ColorwayType = 'default' | 'builtin' | 'others' | undefined;
804
+
734
805
  /**
735
806
  * Used for custom callout data interface. As Area chart callout data will be prepared from given props.data,
736
807
  * Those required data passing to onRenderCalloutPerDataPoint and onRenderCalloutPerStack.
@@ -852,6 +923,14 @@ export declare interface DeclarativeChartProps extends React_2.RefAttributes<HTM
852
923
  * the public methods and properties of the component.
853
924
  */
854
925
  componentRef?: React_2.RefObject<IDeclarativeChart>;
926
+ /**
927
+ * Optional prop to specify the colorway type of the chart.
928
+ * - 'default': Use Fluent UI color palette aligning with plotly colorway.
929
+ * - 'builtin': Use Fluent UI colorway.
930
+ * - 'others': Reserved for future colorways.
931
+ * @default 'default'
932
+ */
933
+ colorwayType?: ColorwayType;
855
934
  }
856
935
 
857
936
  /**
@@ -884,7 +963,7 @@ export declare interface DonutChartProps {
884
963
  /**
885
964
  * Define a custom callout renderer for a data point
886
965
  */
887
- onRenderCalloutPerDataPoint?: (dataPointCalloutProps: ChartDataPoint) => JSX.Element | undefined;
966
+ onRenderCalloutPerDataPoint?: (dataPointCalloutProps: ChartDataPoint) => JSXElement | undefined;
888
967
  /**
889
968
  * Define a custom callout props override
890
969
  */
@@ -947,6 +1026,11 @@ export declare interface DonutChartProps {
947
1026
  * the public methods and properties of the component.
948
1027
  */
949
1028
  componentRef?: React_2.RefObject<Chart>;
1029
+ /**
1030
+ * Prop to enable the round corners in the chart
1031
+ * @default false
1032
+ */
1033
+ roundCorners?: boolean;
950
1034
  }
951
1035
 
952
1036
  /**
@@ -1485,7 +1569,7 @@ export declare type GaugeChartVariant = 'single-segment' | 'multiple-segments';
1485
1569
  */
1486
1570
  export declare type GaugeValueFormat = 'percentage' | 'fraction';
1487
1571
 
1488
- export declare const getChartValueLabel: (chartValue: number, minValue: number, maxValue: number, chartValueFormat?: GaugeValueFormat | ((sweepFraction: [number, number]) => string) | undefined, forCallout?: boolean) => string;
1572
+ export declare const getChartValueLabel: (chartValue: number, minValue: number, maxValue: number, chartValueFormat?: GaugeValueFormat | ((sweepFraction: [number, number]) => string), forCallout?: boolean) => string;
1489
1573
 
1490
1574
  export declare const getColorContrast: (c1: string, c2: string) => number;
1491
1575
 
@@ -1939,7 +2023,7 @@ export declare interface HorizontalBarChartProps extends React_2.RefAttributes<H
1939
2023
  /**
1940
2024
  * prop to render the custom callout
1941
2025
  */
1942
- onRenderCalloutPerHorizontalBar?: (props: ChartDataPoint) => JSX.Element | undefined;
2026
+ onRenderCalloutPerHorizontalBar?: (props: ChartDataPoint) => JSXElement | undefined;
1943
2027
  /**
1944
2028
  * Define a custom callout props override
1945
2029
  */
@@ -2545,6 +2629,10 @@ export declare interface LineChartDataPoint extends BaseDataPoint {
2545
2629
  * Dependent value of the data point, rendered along the y-axis.
2546
2630
  */
2547
2631
  y: number;
2632
+ /**
2633
+ * text labels of marker points
2634
+ */
2635
+ text?: string;
2548
2636
  }
2549
2637
 
2550
2638
  /**
@@ -2600,6 +2688,10 @@ export declare interface LineChartLineOptions extends SVGProps<SVGPathElement> {
2600
2688
  * @default 'linear'
2601
2689
  */
2602
2690
  curve?: 'linear' | 'natural' | 'step' | 'stepAfter' | 'stepBefore' | CurveFactory;
2691
+ /**
2692
+ * Defines the mode of points to be rendered.
2693
+ */
2694
+ mode?: 'lines' | 'markers' | 'text' | 'lines+markers' | 'text+markers' | 'text+lines' | 'text+lines+markers' | 'none' | 'gauge' | 'number' | 'delta' | 'number+delta' | 'gauge+number' | 'gauge+number+delta' | 'gauge+delta' | 'markers+text' | 'lines+text' | 'lines+markers+text';
2603
2695
  }
2604
2696
 
2605
2697
  /**
@@ -2724,6 +2816,10 @@ export declare interface LineChartStyles extends CartesianChartStyles {
2724
2816
  * styles for line border
2725
2817
  */
2726
2818
  lineBorder?: string;
2819
+ /**
2820
+ * styles for marker label
2821
+ */
2822
+ markerLabel?: string;
2727
2823
  }
2728
2824
 
2729
2825
  /**
@@ -2747,7 +2843,7 @@ export declare interface LineDataInVerticalBarChart {
2747
2843
  * {@docCategory ChartData}
2748
2844
  */
2749
2845
  export declare interface LineDataInVerticalStackedBarChart {
2750
- y: number;
2846
+ y: number | string;
2751
2847
  color: string;
2752
2848
  legend: string;
2753
2849
  /**
@@ -2758,7 +2854,7 @@ export declare interface LineDataInVerticalStackedBarChart {
2758
2854
  /**
2759
2855
  * Data to show in callout
2760
2856
  */
2761
- data?: number;
2857
+ data?: number | string;
2762
2858
  yAxisCalloutData?: string;
2763
2859
  /**
2764
2860
  * Whether to use the secondary y scale or not
@@ -2823,7 +2919,7 @@ export declare interface ModifiedCartesianChartProps extends CartesianChartProps
2823
2919
  /**
2824
2920
  * Legends of the chart.
2825
2921
  */
2826
- legendBars: JSX.Element | null;
2922
+ legendBars: JSXElement | null;
2827
2923
  /**
2828
2924
  * Callout props
2829
2925
  */
@@ -2992,7 +3088,7 @@ export declare interface RefArrayData {
2992
3088
  * @public
2993
3089
  */
2994
3090
  declare interface RenderFunction<P> {
2995
- (props?: P, defaultRender?: (props?: P) => JSX.Element | null): JSX.Element | null;
3091
+ (props?: P, defaultRender?: (props?: P) => JSXElement | null): JSXElement | null;
2996
3092
  }
2997
3093
 
2998
3094
  /**
@@ -3251,6 +3347,50 @@ export declare interface ScatterChartDataPoint extends BaseDataPoint {
3251
3347
  * Marker size of the points
3252
3348
  */
3253
3349
  markerSize?: number;
3350
+ /**
3351
+ * text labels of marker points
3352
+ */
3353
+ text?: string;
3354
+ }
3355
+
3356
+ /**
3357
+ * {@docCategory IChartData}
3358
+ */
3359
+ export declare interface ScatterChartPoints {
3360
+ /**
3361
+ * Legend text for the datapoint in the chart
3362
+ */
3363
+ legend: string;
3364
+ /**
3365
+ * The shape for the legend
3366
+ * default: show the rect legend
3367
+ */
3368
+ legendShape?: LegendShape;
3369
+ /**
3370
+ * dataPoints for the line chart
3371
+ */
3372
+ data: ScatterChartDataPoint[];
3373
+ /**
3374
+ * color for the legend in the chart
3375
+ */
3376
+ color?: string;
3377
+ /**
3378
+ * opacity for chart fill color
3379
+ */
3380
+ opacity?: number;
3381
+ /**
3382
+ * hide dots for points that are not active
3383
+ */
3384
+ hideNonActiveDots?: boolean;
3385
+ /**
3386
+ * Defines the function that is executed on clicking this legend
3387
+ */
3388
+ onLegendClick?: (selectedLegend: string | null | string[]) => void;
3389
+ /**
3390
+ * Whether to use the secondary y scale or not
3391
+ * False by default.
3392
+ */
3393
+ useSecondaryYScale?: boolean;
3254
3394
  }
3255
3395
 
3256
3396
  /**
@@ -3292,6 +3432,10 @@ export declare interface ScatterChartStyleProps extends CartesianChartStyleProps
3292
3432
  * {@docCategory ScatterChart}
3293
3433
  */
3294
3434
  export declare interface ScatterChartStyles extends CartesianChartStyles {
3435
+ /**
3436
+ * Style for the marker label
3437
+ */
3438
+ markerLabel?: string;
3295
3439
  }
3296
3440
 
3297
3441
  /**
@@ -3720,6 +3864,15 @@ export declare interface VerticalStackedBarChartProps extends CartesianChartProp
3720
3864
  * @default 'default'
3721
3865
  */
3722
3866
  mode?: 'default' | 'plotly';
3867
+ /**
3868
+ *@default false
3869
+ *Used for to elipse y axis labes and show tooltip on x axis labels
3870
+ */
3871
+ showYAxisLablesTooltip?: boolean;
3872
+ /**
3873
+ *@default false
3874
+ *Used for showing complete y axis lables */
3875
+ showYAxisLables?: boolean;
3723
3876
  }
3724
3877
 
3725
3878
  /**
@@ -3791,7 +3944,7 @@ export declare interface VSChartDataPoint {
3791
3944
  /**
3792
3945
  * data the datapoint in the chart
3793
3946
  */
3794
- data: number;
3947
+ data: number | string;
3795
3948
  /**
3796
3949
  * Legend text for the datapoint in the chart
3797
3950
  */
@@ -3840,7 +3993,7 @@ declare enum YAxisType {
3840
3993
 
3841
3994
  export declare interface YValueHover {
3842
3995
  legend?: string;
3843
- y?: number;
3996
+ y?: number | string;
3844
3997
  color?: string;
3845
3998
  data?: string | number;
3846
3999
  shouldDrawBorderBottom?: boolean;
@@ -0,0 +1 @@
1
+ export * from './components/ChartTable/index';
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/ChartTable.ts"],"sourcesContent":["export * from './components/ChartTable/index';\n"],"names":[],"mappings":"AAAA,cAAc,gCAAgC"}
@@ -91,6 +91,9 @@ export const AreaChart = /*#__PURE__*/ React.forwardRef((props, forwardedRef)=>{
91
91
  };
92
92
  }, []);
93
93
  const classes = useAreaChartStyles(props);
94
+ function _getMinMaxOfYAxis(points, yAxisType, useSecondaryYScale) {
95
+ return findNumericMinMaxOfY(points, yAxisType, useSecondaryYScale);
96
+ }
94
97
  function _getDomainNRangeValues(points, margins, width, chartType, isRTL, xAxisType, barWidth, tickValues) {
95
98
  let domainNRangeValue;
96
99
  if (xAxisType === XAxisTypes.NumericAxis) {
@@ -788,7 +791,7 @@ export const AreaChart = /*#__PURE__*/ React.forwardRef((props, forwardedRef)=>{
788
791
  createStringYAxis: createStringYAxis,
789
792
  getmargins: _getMargins,
790
793
  onChartMouseLeave: _handleChartMouseLeave,
791
- getMinMaxOfYAxis: findNumericMinMaxOfY,
794
+ getMinMaxOfYAxis: _getMinMaxOfYAxis,
792
795
  enableFirstRenderOptimization: props.enablePerfOptimization && _firstRenderOptimization,
793
796
  componentRef: cartesianChartRef,
794
797
  /* eslint-disable react/jsx-no-bind */ // eslint-disable-next-line react/no-children-prop, @typescript-eslint/no-shadow