@fluentui/react-charts 9.2.2 → 9.2.4

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 (229) hide show
  1. package/CHANGELOG.md +74 -2
  2. package/dist/index.d.ts +187 -15
  3. package/lib/components/AreaChart/AreaChart.js +7 -4
  4. package/lib/components/AreaChart/AreaChart.js.map +1 -1
  5. package/lib/components/AreaChart/useAreaChartStyles.styles.js +4 -3
  6. package/lib/components/AreaChart/useAreaChartStyles.styles.js.map +1 -1
  7. package/lib/components/AreaChart/useAreaChartStyles.styles.raw.js +5 -16
  8. package/lib/components/AreaChart/useAreaChartStyles.styles.raw.js.map +1 -1
  9. package/lib/components/ChartTable/ChartTable.js +90 -6
  10. package/lib/components/ChartTable/ChartTable.js.map +1 -1
  11. package/lib/components/CommonComponents/CartesianChart.js +83 -38
  12. package/lib/components/CommonComponents/CartesianChart.js.map +1 -1
  13. package/lib/components/CommonComponents/CartesianChart.types.js.map +1 -1
  14. package/lib/components/CommonComponents/useCartesianChartStyles.styles.js +19 -3
  15. package/lib/components/CommonComponents/useCartesianChartStyles.styles.js.map +1 -1
  16. package/lib/components/CommonComponents/useCartesianChartStyles.styles.raw.js +8 -23
  17. package/lib/components/CommonComponents/useCartesianChartStyles.styles.raw.js.map +1 -1
  18. package/lib/components/DeclarativeChart/DeclarativeChart.js +214 -107
  19. package/lib/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
  20. package/lib/components/DeclarativeChart/PlotlyColorAdapter.js +25 -1
  21. package/lib/components/DeclarativeChart/PlotlyColorAdapter.js.map +1 -1
  22. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js +1618 -259
  23. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  24. package/lib/components/DonutChart/Arc/useArcStyles.styles.js +8 -3
  25. package/lib/components/DonutChart/Arc/useArcStyles.styles.js.map +1 -1
  26. package/lib/components/DonutChart/Arc/useArcStyles.styles.raw.js +6 -2
  27. package/lib/components/DonutChart/Arc/useArcStyles.styles.raw.js.map +1 -1
  28. package/lib/components/DonutChart/DonutChart.js +8 -3
  29. package/lib/components/DonutChart/DonutChart.js.map +1 -1
  30. package/lib/components/DonutChart/DonutChart.types.js.map +1 -1
  31. package/lib/components/DonutChart/useDonutChartStyles.styles.js +21 -4
  32. package/lib/components/DonutChart/useDonutChartStyles.styles.js.map +1 -1
  33. package/lib/components/DonutChart/useDonutChartStyles.styles.raw.js +8 -4
  34. package/lib/components/DonutChart/useDonutChartStyles.styles.raw.js.map +1 -1
  35. package/lib/components/FunnelChart/FunnelChart.js +4 -2
  36. package/lib/components/FunnelChart/FunnelChart.js.map +1 -1
  37. package/lib/components/FunnelChart/funnelGeometry.js.map +1 -1
  38. package/lib/components/GanttChart/useGanttChartStyles.styles.js +2 -1
  39. package/lib/components/GanttChart/useGanttChartStyles.styles.js.map +1 -1
  40. package/lib/components/GanttChart/useGanttChartStyles.styles.raw.js +2 -1
  41. package/lib/components/GanttChart/useGanttChartStyles.styles.raw.js.map +1 -1
  42. package/lib/components/GaugeChart/GaugeChart.js +1 -2
  43. package/lib/components/GaugeChart/GaugeChart.js.map +1 -1
  44. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +31 -10
  45. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -1
  46. package/lib/components/GroupedVerticalBarChart/useGroupedVerticalBarChartStyles.styles.js +6 -18
  47. package/lib/components/GroupedVerticalBarChart/useGroupedVerticalBarChartStyles.styles.js.map +1 -1
  48. package/lib/components/GroupedVerticalBarChart/useGroupedVerticalBarChartStyles.styles.raw.js +6 -22
  49. package/lib/components/GroupedVerticalBarChart/useGroupedVerticalBarChartStyles.styles.raw.js.map +1 -1
  50. package/lib/components/HeatMapChart/HeatMapChart.js +175 -114
  51. package/lib/components/HeatMapChart/HeatMapChart.js.map +1 -1
  52. package/lib/components/HeatMapChart/useHeatMapChartStyles.styles.js +2 -1
  53. package/lib/components/HeatMapChart/useHeatMapChartStyles.styles.js.map +1 -1
  54. package/lib/components/HeatMapChart/useHeatMapChartStyles.styles.raw.js +2 -1
  55. package/lib/components/HeatMapChart/useHeatMapChartStyles.styles.raw.js.map +1 -1
  56. package/lib/components/HorizontalBarChart/HorizontalBarChart.js +1 -1
  57. package/lib/components/HorizontalBarChart/HorizontalBarChart.js.map +1 -1
  58. package/lib/components/HorizontalBarChart/useHorizontalBarChartStyles.styles.js +7 -3
  59. package/lib/components/HorizontalBarChart/useHorizontalBarChartStyles.styles.js.map +1 -1
  60. package/lib/components/HorizontalBarChart/useHorizontalBarChartStyles.styles.raw.js +5 -2
  61. package/lib/components/HorizontalBarChart/useHorizontalBarChartStyles.styles.raw.js.map +1 -1
  62. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +26 -6
  63. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -1
  64. package/lib/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.js +2 -1
  65. package/lib/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.js.map +1 -1
  66. package/lib/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.raw.js +2 -1
  67. package/lib/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.raw.js.map +1 -1
  68. package/lib/components/LineChart/LineChart.js +349 -176
  69. package/lib/components/LineChart/LineChart.js.map +1 -1
  70. package/lib/components/LineChart/LineChart.types.js.map +1 -1
  71. package/lib/components/LineChart/useLineChartStyles.styles.js +28 -8
  72. package/lib/components/LineChart/useLineChartStyles.styles.js.map +1 -1
  73. package/lib/components/LineChart/useLineChartStyles.styles.raw.js +9 -14
  74. package/lib/components/LineChart/useLineChartStyles.styles.raw.js.map +1 -1
  75. package/lib/components/ResponsiveContainer/withResponsiveContainer.js.map +1 -1
  76. package/lib/components/SankeyChart/SankeyChart.js.map +1 -1
  77. package/lib/components/SankeyChart/useSankeyChartStyles.styles.js +12 -25
  78. package/lib/components/SankeyChart/useSankeyChartStyles.styles.js.map +1 -1
  79. package/lib/components/SankeyChart/useSankeyChartStyles.styles.raw.js +2 -12
  80. package/lib/components/SankeyChart/useSankeyChartStyles.styles.raw.js.map +1 -1
  81. package/lib/components/ScatterChart/ScatterChart.js +139 -81
  82. package/lib/components/ScatterChart/ScatterChart.js.map +1 -1
  83. package/lib/components/ScatterChart/ScatterChart.types.js.map +1 -1
  84. package/lib/components/ScatterChart/useScatterChartStyles.styles.js +29 -8
  85. package/lib/components/ScatterChart/useScatterChartStyles.styles.js.map +1 -1
  86. package/lib/components/ScatterChart/useScatterChartStyles.styles.raw.js +10 -15
  87. package/lib/components/ScatterChart/useScatterChartStyles.styles.raw.js.map +1 -1
  88. package/lib/components/VerticalBarChart/VerticalBarChart.js +28 -5
  89. package/lib/components/VerticalBarChart/VerticalBarChart.js.map +1 -1
  90. package/lib/components/VerticalBarChart/useVerticalBarChartStyles.styles.js +10 -7
  91. package/lib/components/VerticalBarChart/useVerticalBarChartStyles.styles.js.map +1 -1
  92. package/lib/components/VerticalBarChart/useVerticalBarChartStyles.styles.raw.js +7 -20
  93. package/lib/components/VerticalBarChart/useVerticalBarChartStyles.styles.raw.js.map +1 -1
  94. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js +159 -47
  95. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -1
  96. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
  97. package/lib/components/VerticalStackedBarChart/useVerticalStackedBarChartStyles.styles.js +9 -7
  98. package/lib/components/VerticalStackedBarChart/useVerticalStackedBarChartStyles.styles.js.map +1 -1
  99. package/lib/components/VerticalStackedBarChart/useVerticalStackedBarChartStyles.styles.raw.js +6 -20
  100. package/lib/components/VerticalStackedBarChart/useVerticalStackedBarChartStyles.styles.raw.js.map +1 -1
  101. package/lib/types/DataPoint.js +3 -1
  102. package/lib/types/DataPoint.js.map +1 -1
  103. package/lib/utilities/Common.styles.js +47 -0
  104. package/lib/utilities/Common.styles.js.map +1 -0
  105. package/lib/utilities/Common.styles.raw.js +47 -0
  106. package/lib/utilities/Common.styles.raw.js.map +1 -0
  107. package/lib/utilities/SVGTooltipText.js.map +1 -1
  108. package/lib/utilities/image-export-utils.js.map +1 -1
  109. package/lib/utilities/index.js +1 -0
  110. package/lib/utilities/index.js.map +1 -1
  111. package/lib/utilities/scatterpolar-utils.js +52 -0
  112. package/lib/utilities/scatterpolar-utils.js.map +1 -0
  113. package/lib/utilities/utilities.js +324 -147
  114. package/lib/utilities/utilities.js.map +1 -1
  115. package/lib/utilities/vbc-utils.js.map +1 -1
  116. package/lib-commonjs/components/AreaChart/AreaChart.js +6 -3
  117. package/lib-commonjs/components/AreaChart/AreaChart.js.map +1 -1
  118. package/lib-commonjs/components/AreaChart/useAreaChartStyles.styles.js +2 -1
  119. package/lib-commonjs/components/AreaChart/useAreaChartStyles.styles.js.map +1 -1
  120. package/lib-commonjs/components/AreaChart/useAreaChartStyles.styles.raw.js +4 -15
  121. package/lib-commonjs/components/AreaChart/useAreaChartStyles.styles.raw.js.map +1 -1
  122. package/lib-commonjs/components/ChartTable/ChartTable.js +90 -6
  123. package/lib-commonjs/components/ChartTable/ChartTable.js.map +1 -1
  124. package/lib-commonjs/components/CommonComponents/CartesianChart.js +83 -37
  125. package/lib-commonjs/components/CommonComponents/CartesianChart.js.map +1 -1
  126. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +1 -1
  127. package/lib-commonjs/components/CommonComponents/useCartesianChartStyles.styles.js +17 -2
  128. package/lib-commonjs/components/CommonComponents/useCartesianChartStyles.styles.js.map +1 -1
  129. package/lib-commonjs/components/CommonComponents/useCartesianChartStyles.styles.raw.js +6 -22
  130. package/lib-commonjs/components/CommonComponents/useCartesianChartStyles.styles.raw.js.map +1 -1
  131. package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js +212 -107
  132. package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
  133. package/lib-commonjs/components/DeclarativeChart/PlotlyColorAdapter.js +31 -1
  134. package/lib-commonjs/components/DeclarativeChart/PlotlyColorAdapter.js.map +1 -1
  135. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js +1652 -260
  136. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  137. package/lib-commonjs/components/DonutChart/Arc/useArcStyles.styles.js +12 -3
  138. package/lib-commonjs/components/DonutChart/Arc/useArcStyles.styles.js.map +1 -1
  139. package/lib-commonjs/components/DonutChart/Arc/useArcStyles.styles.raw.js +6 -2
  140. package/lib-commonjs/components/DonutChart/Arc/useArcStyles.styles.raw.js.map +1 -1
  141. package/lib-commonjs/components/DonutChart/DonutChart.js +7 -2
  142. package/lib-commonjs/components/DonutChart/DonutChart.js.map +1 -1
  143. package/lib-commonjs/components/DonutChart/DonutChart.types.js.map +1 -1
  144. package/lib-commonjs/components/DonutChart/useDonutChartStyles.styles.js +32 -4
  145. package/lib-commonjs/components/DonutChart/useDonutChartStyles.styles.js.map +1 -1
  146. package/lib-commonjs/components/DonutChart/useDonutChartStyles.styles.raw.js +8 -4
  147. package/lib-commonjs/components/DonutChart/useDonutChartStyles.styles.raw.js.map +1 -1
  148. package/lib-commonjs/components/FunnelChart/FunnelChart.js +4 -2
  149. package/lib-commonjs/components/FunnelChart/FunnelChart.js.map +1 -1
  150. package/lib-commonjs/components/FunnelChart/funnelGeometry.js.map +1 -1
  151. package/lib-commonjs/components/GanttChart/useGanttChartStyles.styles.js +2 -1
  152. package/lib-commonjs/components/GanttChart/useGanttChartStyles.styles.js.map +1 -1
  153. package/lib-commonjs/components/GanttChart/useGanttChartStyles.styles.raw.js +2 -1
  154. package/lib-commonjs/components/GanttChart/useGanttChartStyles.styles.raw.js.map +1 -1
  155. package/lib-commonjs/components/GaugeChart/GaugeChart.js +1 -2
  156. package/lib-commonjs/components/GaugeChart/GaugeChart.js.map +1 -1
  157. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +30 -9
  158. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -1
  159. package/lib-commonjs/components/GroupedVerticalBarChart/useGroupedVerticalBarChartStyles.styles.js +4 -20
  160. package/lib-commonjs/components/GroupedVerticalBarChart/useGroupedVerticalBarChartStyles.styles.js.map +1 -1
  161. package/lib-commonjs/components/GroupedVerticalBarChart/useGroupedVerticalBarChartStyles.styles.raw.js +5 -21
  162. package/lib-commonjs/components/GroupedVerticalBarChart/useGroupedVerticalBarChartStyles.styles.raw.js.map +1 -1
  163. package/lib-commonjs/components/HeatMapChart/HeatMapChart.js +174 -113
  164. package/lib-commonjs/components/HeatMapChart/HeatMapChart.js.map +1 -1
  165. package/lib-commonjs/components/HeatMapChart/useHeatMapChartStyles.styles.js +2 -1
  166. package/lib-commonjs/components/HeatMapChart/useHeatMapChartStyles.styles.js.map +1 -1
  167. package/lib-commonjs/components/HeatMapChart/useHeatMapChartStyles.styles.raw.js +2 -1
  168. package/lib-commonjs/components/HeatMapChart/useHeatMapChartStyles.styles.raw.js.map +1 -1
  169. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js +1 -1
  170. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js.map +1 -1
  171. package/lib-commonjs/components/HorizontalBarChart/useHorizontalBarChartStyles.styles.js +10 -3
  172. package/lib-commonjs/components/HorizontalBarChart/useHorizontalBarChartStyles.styles.js.map +1 -1
  173. package/lib-commonjs/components/HorizontalBarChart/useHorizontalBarChartStyles.styles.raw.js +5 -2
  174. package/lib-commonjs/components/HorizontalBarChart/useHorizontalBarChartStyles.styles.raw.js.map +1 -1
  175. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +25 -5
  176. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -1
  177. package/lib-commonjs/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.js +2 -1
  178. package/lib-commonjs/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.js.map +1 -1
  179. package/lib-commonjs/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.raw.js +2 -1
  180. package/lib-commonjs/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.raw.js.map +1 -1
  181. package/lib-commonjs/components/LineChart/LineChart.js +347 -175
  182. package/lib-commonjs/components/LineChart/LineChart.js.map +1 -1
  183. package/lib-commonjs/components/LineChart/LineChart.types.js.map +1 -1
  184. package/lib-commonjs/components/LineChart/useLineChartStyles.styles.js +35 -5
  185. package/lib-commonjs/components/LineChart/useLineChartStyles.styles.js.map +1 -1
  186. package/lib-commonjs/components/LineChart/useLineChartStyles.styles.raw.js +7 -13
  187. package/lib-commonjs/components/LineChart/useLineChartStyles.styles.raw.js.map +1 -1
  188. package/lib-commonjs/components/ResponsiveContainer/withResponsiveContainer.js.map +1 -1
  189. package/lib-commonjs/components/SankeyChart/SankeyChart.js.map +1 -1
  190. package/lib-commonjs/components/SankeyChart/useSankeyChartStyles.styles.js +23 -33
  191. package/lib-commonjs/components/SankeyChart/useSankeyChartStyles.styles.js.map +1 -1
  192. package/lib-commonjs/components/SankeyChart/useSankeyChartStyles.styles.raw.js +1 -12
  193. package/lib-commonjs/components/SankeyChart/useSankeyChartStyles.styles.raw.js.map +1 -1
  194. package/lib-commonjs/components/ScatterChart/ScatterChart.js +137 -79
  195. package/lib-commonjs/components/ScatterChart/ScatterChart.js.map +1 -1
  196. package/lib-commonjs/components/ScatterChart/ScatterChart.types.js.map +1 -1
  197. package/lib-commonjs/components/ScatterChart/useScatterChartStyles.styles.js +39 -6
  198. package/lib-commonjs/components/ScatterChart/useScatterChartStyles.styles.js.map +1 -1
  199. package/lib-commonjs/components/ScatterChart/useScatterChartStyles.styles.raw.js +9 -14
  200. package/lib-commonjs/components/ScatterChart/useScatterChartStyles.styles.raw.js.map +1 -1
  201. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js +27 -4
  202. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js.map +1 -1
  203. package/lib-commonjs/components/VerticalBarChart/useVerticalBarChartStyles.styles.js +7 -4
  204. package/lib-commonjs/components/VerticalBarChart/useVerticalBarChartStyles.styles.js.map +1 -1
  205. package/lib-commonjs/components/VerticalBarChart/useVerticalBarChartStyles.styles.raw.js +5 -18
  206. package/lib-commonjs/components/VerticalBarChart/useVerticalBarChartStyles.styles.raw.js.map +1 -1
  207. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js +158 -46
  208. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -1
  209. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
  210. package/lib-commonjs/components/VerticalStackedBarChart/useVerticalStackedBarChartStyles.styles.js +7 -4
  211. package/lib-commonjs/components/VerticalStackedBarChart/useVerticalStackedBarChartStyles.styles.js.map +1 -1
  212. package/lib-commonjs/components/VerticalStackedBarChart/useVerticalStackedBarChartStyles.styles.raw.js +5 -19
  213. package/lib-commonjs/components/VerticalStackedBarChart/useVerticalStackedBarChartStyles.styles.raw.js.map +1 -1
  214. package/lib-commonjs/types/DataPoint.js +3 -1
  215. package/lib-commonjs/types/DataPoint.js.map +1 -1
  216. package/lib-commonjs/utilities/Common.styles.js +71 -0
  217. package/lib-commonjs/utilities/Common.styles.js.map +1 -0
  218. package/lib-commonjs/utilities/Common.styles.raw.js +71 -0
  219. package/lib-commonjs/utilities/Common.styles.raw.js.map +1 -0
  220. package/lib-commonjs/utilities/SVGTooltipText.js.map +1 -1
  221. package/lib-commonjs/utilities/image-export-utils.js.map +1 -1
  222. package/lib-commonjs/utilities/index.js +1 -0
  223. package/lib-commonjs/utilities/index.js.map +1 -1
  224. package/lib-commonjs/utilities/scatterpolar-utils.js +67 -0
  225. package/lib-commonjs/utilities/scatterpolar-utils.js.map +1 -0
  226. package/lib-commonjs/utilities/utilities.js +337 -137
  227. package/lib-commonjs/utilities/utilities.js.map +1 -1
  228. package/lib-commonjs/utilities/vbc-utils.js.map +1 -1
  229. package/package.json +10 -10
package/CHANGELOG.md CHANGED
@@ -1,12 +1,84 @@
1
1
  # Change Log - @fluentui/react-charts
2
2
 
3
- This log was last generated on Thu, 07 Aug 2025 09:59:01 GMT and should not be manually modified.
3
+ This log was last generated on Mon, 08 Sep 2025 12:42:08 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.2.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-charts_v9.2.4)
8
+
9
+ Mon, 08 Sep 2025 12:42:08 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charts_v9.2.3..@fluentui/react-charts_v9.2.4)
11
+
12
+ ### Patches
13
+
14
+ - add support for tickmode in declarative chart ([PR #35121](https://github.com/microsoft/fluentui/pull/35121) by anushgupta@microsoft.com)
15
+ - fix svg background alignment issue ([PR #35070](https://github.com/microsoft/fluentui/pull/35070) by anushgupta@microsoft.com)
16
+ - fix a11y bugs ([PR #35127](https://github.com/microsoft/fluentui/pull/35127) by anushgupta@microsoft.com)
17
+ - refactor common styles to reduce bundle size ([PR #35081](https://github.com/microsoft/fluentui/pull/35081) by anushgupta@microsoft.com)
18
+ - add support for declarative multiplot chart - non cartesian ([PR #35069](https://github.com/microsoft/fluentui/pull/35069) by anushgupta@microsoft.com)
19
+ - reduce component size by removing duplicate code ([PR #35094](https://github.com/microsoft/fluentui/pull/35094) by anushgupta@microsoft.com)
20
+ - change foreground color based on contrast ratio in chart table ([PR #35101](https://github.com/microsoft/fluentui/pull/35101) by anushgupta@microsoft.com)
21
+ - handling y object values for bar chart ([PR #35115](https://github.com/microsoft/fluentui/pull/35115) by anushgupta@microsoft.com)
22
+ - fix text mode for scatter polar ([PR #35104](https://github.com/microsoft/fluentui/pull/35104) by anushgupta@microsoft.com)
23
+ - update segment colors of donut chart ([PR #35122](https://github.com/microsoft/fluentui/pull/35122) by anushgupta@microsoft.com)
24
+ - fix: resolve R19 type issues on refs ([PR #35144](https://github.com/microsoft/fluentui/pull/35144) by martinhochel@microsoft.com)
25
+ - add support for marker texts for modes containing text ([PR #35083](https://github.com/microsoft/fluentui/pull/35083) by anushgupta@microsoft.com)
26
+ - fix v9 charts bugs ([PR #35132](https://github.com/microsoft/fluentui/pull/35132) by anushgupta@microsoft.com)
27
+ - align labels and points according to given directions and rotation in schema for scatter polar ([PR #35098](https://github.com/microsoft/fluentui/pull/35098) by anushgupta@microsoft.com)
28
+ - Add Gantt and Funnel chart in declarative charts ([PR #35123](https://github.com/microsoft/fluentui/pull/35123) by anushgupta@microsoft.com)
29
+ - support string y axis in scatter chart ([PR #35120](https://github.com/microsoft/fluentui/pull/35120) by anushgupta@microsoft.com)
30
+ - respect bargap and width properties in plotly bar traces ([PR #35097](https://github.com/microsoft/fluentui/pull/35097) by anushgupta@microsoft.com)
31
+ - support categorical theta values for scatter polar chart ([PR #35092](https://github.com/microsoft/fluentui/pull/35092) by anushgupta@microsoft.com)
32
+ - support single value callout in linechart ([PR #35084](https://github.com/microsoft/fluentui/pull/35084) by anushgupta@microsoft.com)
33
+ - support additional modes ([PR #35096](https://github.com/microsoft/fluentui/pull/35096) by anushgupta@microsoft.com)
34
+ - support tick formatting from plotly output ([PR #35060](https://github.com/microsoft/fluentui/pull/35060) by anushgupta@microsoft.com)
35
+ - log axis support in linechart and scatter chart ([PR #35112](https://github.com/microsoft/fluentui/pull/35112) by anushgupta@microsoft.com)
36
+ - chore: enforce explicit module boundary types ([PR #35080](https://github.com/microsoft/fluentui/pull/35080) by dmytrokirpa@microsoft.com)
37
+ - Bump @fluentui/react-button to v9.6.6 ([commit](https://github.com/microsoft/fluentui/commit/17af11b3c9f4cac2beeaf4342a81c1f08e95fd29) by beachball)
38
+ - Bump @fluentui/react-jsx-runtime to v9.2.0 ([commit](https://github.com/microsoft/fluentui/commit/17af11b3c9f4cac2beeaf4342a81c1f08e95fd29) by beachball)
39
+ - Bump @fluentui/react-overflow to v9.5.6 ([commit](https://github.com/microsoft/fluentui/commit/17af11b3c9f4cac2beeaf4342a81c1f08e95fd29) by beachball)
40
+ - Bump @fluentui/react-popover to v9.12.6 ([commit](https://github.com/microsoft/fluentui/commit/17af11b3c9f4cac2beeaf4342a81c1f08e95fd29) by beachball)
41
+ - Bump @fluentui/react-shared-contexts to v9.25.1 ([commit](https://github.com/microsoft/fluentui/commit/17af11b3c9f4cac2beeaf4342a81c1f08e95fd29) by beachball)
42
+ - Bump @fluentui/react-tabster to v9.26.5 ([commit](https://github.com/microsoft/fluentui/commit/17af11b3c9f4cac2beeaf4342a81c1f08e95fd29) by beachball)
43
+ - Bump @fluentui/react-tooltip to v9.8.5 ([commit](https://github.com/microsoft/fluentui/commit/17af11b3c9f4cac2beeaf4342a81c1f08e95fd29) by beachball)
44
+ - Bump @fluentui/react-utilities to v9.24.1 ([commit](https://github.com/microsoft/fluentui/commit/17af11b3c9f4cac2beeaf4342a81c1f08e95fd29) by beachball)
45
+
46
+ ## [9.2.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-charts_v9.2.3)
47
+
48
+ Thu, 21 Aug 2025 12:25:29 GMT
49
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charts_v9.2.2..@fluentui/react-charts_v9.2.3)
50
+
51
+ ### Patches
52
+
53
+ - add labels for text+markers ([PR #35025](https://github.com/microsoft/fluentui/pull/35025) by anushgupta@microsoft.com)
54
+ - fix scatter chart bugs ([PR #35047](https://github.com/microsoft/fluentui/pull/35047) by anushgupta@microsoft.com)
55
+ - update validation to tolerate invalid traces ([PR #34998](https://github.com/microsoft/fluentui/pull/34998) by anushgupta@microsoft.com)
56
+ - support for ordering tick labels ([PR #35053](https://github.com/microsoft/fluentui/pull/35053) by anushgupta@microsoft.com)
57
+ - colorscale support for bar charts ([PR #35026](https://github.com/microsoft/fluentui/pull/35026) by anushgupta@microsoft.com)
58
+ - pie chart fix ([PR #35013](https://github.com/microsoft/fluentui/pull/35013) by anushgupta@microsoft.com)
59
+ - use piecolorway for donut chart ([PR #34999](https://github.com/microsoft/fluentui/pull/34999) by anushgupta@microsoft.com)
60
+ - enable scatter chart in v9 declatative ([PR #35036](https://github.com/microsoft/fluentui/pull/35036) by anushgupta@microsoft.com)
61
+ - support for using opacity provided in plotly schema ([PR #35045](https://github.com/microsoft/fluentui/pull/35045) by anushgupta@microsoft.com)
62
+ - add date axis support in vsbc ([PR #35018](https://github.com/microsoft/fluentui/pull/35018) by anushgupta@microsoft.com)
63
+ - add support for multiplot declarative chart ([PR #35038](https://github.com/microsoft/fluentui/pull/35038) by anushgupta@microsoft.com)
64
+ - add styles to tables ([PR #35012](https://github.com/microsoft/fluentui/pull/35012) by anushgupta@microsoft.com)
65
+ - remove duplicated legends in line chart ([PR #34991](https://github.com/microsoft/fluentui/pull/34991) by anushgupta@microsoft.com)
66
+ - fix color issue in gvbc ([PR #35050](https://github.com/microsoft/fluentui/pull/35050) by anushgupta@microsoft.com)
67
+ - support for lines+markers ([PR #34997](https://github.com/microsoft/fluentui/pull/34997) by anushgupta@microsoft.com)
68
+ - use schema colorscale for gvbc ([PR #35011](https://github.com/microsoft/fluentui/pull/35011) by anushgupta@microsoft.com)
69
+ - add support for string y axis in VSBC ([PR #35016](https://github.com/microsoft/fluentui/pull/35016) by anushgupta@microsoft.com)
70
+ - Bump @fluentui/react-button to v9.6.5 ([commit](https://github.com/microsoft/fluentui/commit/884c695de4f736774c224fa33b2e410bf42752b0) by beachball)
71
+ - Bump @fluentui/react-jsx-runtime to v9.1.6 ([commit](https://github.com/microsoft/fluentui/commit/884c695de4f736774c224fa33b2e410bf42752b0) by beachball)
72
+ - Bump @fluentui/react-overflow to v9.5.5 ([commit](https://github.com/microsoft/fluentui/commit/884c695de4f736774c224fa33b2e410bf42752b0) by beachball)
73
+ - Bump @fluentui/react-popover to v9.12.5 ([commit](https://github.com/microsoft/fluentui/commit/884c695de4f736774c224fa33b2e410bf42752b0) by beachball)
74
+ - Bump @fluentui/react-shared-contexts to v9.25.0 ([commit](https://github.com/microsoft/fluentui/commit/884c695de4f736774c224fa33b2e410bf42752b0) by beachball)
75
+ - Bump @fluentui/react-tabster to v9.26.4 ([commit](https://github.com/microsoft/fluentui/commit/884c695de4f736774c224fa33b2e410bf42752b0) by beachball)
76
+ - Bump @fluentui/react-tooltip to v9.8.4 ([commit](https://github.com/microsoft/fluentui/commit/884c695de4f736774c224fa33b2e410bf42752b0) by beachball)
77
+ - Bump @fluentui/react-utilities to v9.24.0 ([commit](https://github.com/microsoft/fluentui/commit/884c695de4f736774c224fa33b2e410bf42752b0) by beachball)
78
+
7
79
  ## [9.2.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-charts_v9.2.2)
8
80
 
9
- Thu, 07 Aug 2025 09:59:01 GMT
81
+ Thu, 07 Aug 2025 10:03:21 GMT
10
82
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charts_v9.2.1..@fluentui/react-charts_v9.2.2)
11
83
 
12
84
  ### Patches
package/dist/index.d.ts CHANGED
@@ -1,5 +1,3 @@
1
- /// <reference types="react" />
2
-
3
1
  import { CurveFactory } from 'd3-shape';
4
2
  import type { JSXElement } from '@fluentui/react-utilities';
5
3
  import * as React_2 from 'react';
@@ -127,6 +125,54 @@ export declare interface AreaChartStyles extends CartesianChartStyles {
127
125
  */
128
126
  export declare type AxisCategoryOrder = 'default' | 'data' | string[] | 'category ascending' | 'category descending' | 'total ascending' | 'total descending' | 'min ascending' | 'min descending' | 'max ascending' | 'max descending' | 'sum ascending' | 'sum descending' | 'mean ascending' | 'mean descending' | 'median ascending' | 'median descending';
129
127
 
128
+ /**
129
+ * Configuration options for an axis.
130
+ *
131
+ * {@docCategory CartesianChart}
132
+ */
133
+ export declare type AxisProps = {
134
+ /**
135
+ * Defines the step between tick marks on the axis.
136
+ * Works in combination with `tick0`.
137
+ * Must be a positive number.
138
+ *
139
+ * - **Log scale**:
140
+ * - Ticks are placed at `10^(n * tickStep)` where `n` is the tick index.
141
+ * - Example: `tickStep = 2` → ticks at 1, 100, 10,000...
142
+ * - Example: `tickStep = log10(5)` → ticks at 1, 5, 25, 125...
143
+ * - Special format `"L<f>"`: Creates ticks that are linearly spaced in value (not position).
144
+ * - Example: `tick0 = 0.1`, `tickStep = "L0.5"` → ticks at 0.1, 0.6, 1.1, 1.6...
145
+ *
146
+ * - **Date axis**:
147
+ * - Must be in milliseconds.
148
+ * - Example: one day = `tickStep = 86400000`.
149
+ * - Special format `"M<n>"`: Places ticks every `n` months.
150
+ * - Example: `tick0 = "2000-01-15"`, `tickStep = "M3"` → ticks on the 15th every third month.
151
+ * - Example: `tickStep = "M48"` → ticks every 4 years.
152
+ */
153
+ tickStep?: number | string;
154
+ /**
155
+ * Sets the reference value for axis ticks.
156
+ * Works in combination with `tickStep`.
157
+ *
158
+ * - **Log scale**:
159
+ * - `tick0` must be given as the logarithm of the reference tick.
160
+ * - Example: to align ticks with 100, use `tick0 = 2`.
161
+ * - Exception: when `tickStep` uses `"L<f>"`, you can specify the raw value directly.
162
+ */
163
+ tick0?: number | Date;
164
+ };
165
+
166
+ /**
167
+ * Available scale types for axes.
168
+ *
169
+ * - `'default'`: Uses an automatic scale (linear, band, or time) based on axis data type.
170
+ * - `'log'`: Uses a logarithmic scale. Only supported for numeric axes in LineChart and ScatterChart.
171
+ *
172
+ * {@docCategory CartesianChart}
173
+ */
174
+ export declare type AxisScaleType = 'default' | 'log';
175
+
130
176
  /**
131
177
  * {@docCategory ChartData}
132
178
  */
@@ -157,6 +203,10 @@ declare interface BaseDataPoint {
157
203
  * X axis Accessibility data for callout
158
204
  */
159
205
  xAxisCalloutAccessibilityData?: AccessibilityProps;
206
+ /**
207
+ * Marker size of the points
208
+ */
209
+ markerSize?: number;
160
210
  }
161
211
 
162
212
  export declare interface Basestate {
@@ -164,14 +214,14 @@ export declare interface Basestate {
164
214
  _height?: number;
165
215
  activeLegend?: string;
166
216
  color?: string;
167
- dataForHoverCard?: number;
217
+ dataForHoverCard?: number | string;
168
218
  isCalloutVisible: boolean;
169
219
  isLegendSelected?: boolean;
170
220
  isLegendHovered?: boolean;
171
221
  refSelected?: any;
172
222
  YValueHover?: {
173
223
  legend?: string;
174
- y?: number;
224
+ y?: number | string;
175
225
  color?: string;
176
226
  }[];
177
227
  hoverYValue?: string | number | null;
@@ -447,6 +497,36 @@ export declare interface CartesianChartProps {
447
497
  * @default 'default'
448
498
  */
449
499
  yAxisCategoryOrder?: AxisCategoryOrder;
500
+ /**
501
+ * Defines the scale type for the x-axis.
502
+ * @default 'default'
503
+ */
504
+ xScaleType?: AxisScaleType;
505
+ /**
506
+ * Defines the scale type for the primary y-axis.
507
+ * @default 'default'
508
+ */
509
+ yScaleType?: AxisScaleType;
510
+ /**
511
+ * Defines the scale type for the secondary y-axis.
512
+ * @default 'default'
513
+ */
514
+ secondaryYScaleType?: AxisScaleType;
515
+ /**
516
+ * Explicit set of tick values for the y-axis.
517
+ * If provided, these values override automatic tick generation.
518
+ */
519
+ yAxisTickValues?: number[] | Date[] | string[];
520
+ /**
521
+ * Configuration for the x-axis.
522
+ * Use this to control `tickStep`, `tick0`, etc.
523
+ */
524
+ xAxis?: AxisProps;
525
+ /**
526
+ * Configuration for the y-axis.
527
+ * Use this to control `tickStep`, `tick0`, etc.
528
+ */
529
+ yAxis?: AxisProps;
450
530
  }
451
531
 
452
532
  /**
@@ -531,9 +611,13 @@ export declare interface CartesianChartStyles {
531
611
  */
532
612
  tooltip?: string;
533
613
  /**
534
- * styles for tooltip
614
+ * styles for axis title
535
615
  */
536
616
  axisTitle?: string;
617
+ /**
618
+ * styles for axis annotation
619
+ */
620
+ axisAnnotation?: string;
537
621
  /**
538
622
  * Style for the chart Title.
539
623
  */
@@ -678,6 +762,10 @@ export declare interface ChartProps {
678
762
  * data for the points in the line chart
679
763
  */
680
764
  lineChartData?: LineChartPoints[];
765
+ /**
766
+ * data for the points in the scatter chart
767
+ */
768
+ scatterChartData?: ScatterChartPoints[];
681
769
  /**
682
770
  * data for the points in the line chart
683
771
  */
@@ -912,7 +1000,7 @@ export declare interface DeclarativeChartProps extends React_2.RefAttributes<HTM
912
1000
  * Optional callback to access the IDeclarativeChart interface. Use this instead of ref for accessing
913
1001
  * the public methods and properties of the component.
914
1002
  */
915
- componentRef?: React_2.RefObject<IDeclarativeChart>;
1003
+ componentRef?: React_2.RefObject<IDeclarativeChart | null>;
916
1004
  /**
917
1005
  * Optional prop to specify the colorway type of the chart.
918
1006
  * - 'default': Use Fluent UI color palette aligning with plotly colorway.
@@ -933,7 +1021,7 @@ export declare const DonutChart: React_2.FunctionComponent<DonutChartProps>;
933
1021
  * Donut Chart properties.
934
1022
  * {@docCategory DonutChart}
935
1023
  */
936
- export declare interface DonutChartProps {
1024
+ export declare interface DonutChartProps extends CartesianChartProps {
937
1025
  /**
938
1026
  * Data to render in the chart.
939
1027
  */
@@ -1047,6 +1135,10 @@ export declare interface DonutChartStyles {
1047
1135
  * Style for the legend container.
1048
1136
  */
1049
1137
  legendContainer: string;
1138
+ /**
1139
+ * styles for axis annotation
1140
+ */
1141
+ axisAnnotation?: string;
1050
1142
  /**
1051
1143
  * Styles for the chart wrapper div
1052
1144
  */
@@ -1559,7 +1651,7 @@ export declare type GaugeChartVariant = 'single-segment' | 'multiple-segments';
1559
1651
  */
1560
1652
  export declare type GaugeValueFormat = 'percentage' | 'fraction';
1561
1653
 
1562
- export declare const getChartValueLabel: (chartValue: number, minValue: number, maxValue: number, chartValueFormat?: GaugeValueFormat | ((sweepFraction: [number, number]) => string) | undefined, forCallout?: boolean) => string;
1654
+ export declare const getChartValueLabel: (chartValue: number, minValue: number, maxValue: number, chartValueFormat?: GaugeValueFormat | ((sweepFraction: [number, number]) => string), forCallout?: boolean) => string;
1563
1655
 
1564
1656
  export declare const getColorContrast: (c1: string, c2: string) => number;
1565
1657
 
@@ -2325,7 +2417,7 @@ declare interface IMargins {
2325
2417
  bottom?: number;
2326
2418
  }
2327
2419
 
2328
- declare interface IYAxisParams {
2420
+ declare interface IYAxisParams extends AxisProps {
2329
2421
  yMinMaxValues?: {
2330
2422
  startValue: number;
2331
2423
  endValue: number;
@@ -2343,6 +2435,7 @@ declare interface IYAxisParams {
2343
2435
  eventAnnotationProps?: EventsAnnotationProps;
2344
2436
  eventLabelHeight?: number;
2345
2437
  yAxisPadding?: number;
2438
+ tickValues?: Date[] | number[] | string[];
2346
2439
  }
2347
2440
 
2348
2441
  /**
@@ -2619,6 +2712,10 @@ export declare interface LineChartDataPoint extends BaseDataPoint {
2619
2712
  * Dependent value of the data point, rendered along the y-axis.
2620
2713
  */
2621
2714
  y: number;
2715
+ /**
2716
+ * text labels of marker points
2717
+ */
2718
+ text?: string;
2622
2719
  }
2623
2720
 
2624
2721
  /**
@@ -2674,6 +2771,10 @@ export declare interface LineChartLineOptions extends SVGProps<SVGPathElement> {
2674
2771
  * @default 'linear'
2675
2772
  */
2676
2773
  curve?: 'linear' | 'natural' | 'step' | 'stepAfter' | 'stepBefore' | CurveFactory;
2774
+ /**
2775
+ * Defines the mode of points to be rendered.
2776
+ */
2777
+ 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';
2677
2778
  }
2678
2779
 
2679
2780
  /**
@@ -2780,6 +2881,12 @@ export declare interface LineChartProps extends CartesianChartProps {
2780
2881
  * The prop used to enable the perf optimization
2781
2882
  */
2782
2883
  enablePerfOptimization?: boolean;
2884
+ /**
2885
+ * To enable callout for individual line or complete stack.
2886
+ * @default true
2887
+ * @type \{boolean \}
2888
+ */
2889
+ isCalloutForStack?: boolean;
2783
2890
  }
2784
2891
 
2785
2892
  /**
@@ -2798,6 +2905,10 @@ export declare interface LineChartStyles extends CartesianChartStyles {
2798
2905
  * styles for line border
2799
2906
  */
2800
2907
  lineBorder?: string;
2908
+ /**
2909
+ * styles for marker label
2910
+ */
2911
+ markerLabel?: string;
2801
2912
  }
2802
2913
 
2803
2914
  /**
@@ -2821,7 +2932,7 @@ export declare interface LineDataInVerticalBarChart {
2821
2932
  * {@docCategory ChartData}
2822
2933
  */
2823
2934
  export declare interface LineDataInVerticalStackedBarChart {
2824
- y: number;
2935
+ y: number | string;
2825
2936
  color: string;
2826
2937
  legend: string;
2827
2938
  /**
@@ -2832,7 +2943,7 @@ export declare interface LineDataInVerticalStackedBarChart {
2832
2943
  /**
2833
2944
  * Data to show in callout
2834
2945
  */
2835
- data?: number;
2946
+ data?: number | string;
2836
2947
  yAxisCalloutData?: string;
2837
2948
  /**
2838
2949
  * Whether to use the secondary y scale or not
@@ -2989,14 +3100,14 @@ export declare interface ModifiedCartesianChartProps extends CartesianChartProps
2989
3100
  /**
2990
3101
  * Get the min and max values of the y-axis
2991
3102
  */
2992
- getMinMaxOfYAxis: (points: LineChartPoints[] | HorizontalBarChartWithAxisDataPoint[] | VerticalBarChartDataPoint[] | DataPoint[] | ScatterChartDataPoint[] | GanttChartDataPoint[], yAxisType: YAxisType | undefined, useSecondaryYScale?: boolean) => {
3103
+ getMinMaxOfYAxis: (points: LineChartPoints[] | HorizontalBarChartWithAxisDataPoint[] | VerticalBarChartDataPoint[] | DataPoint[] | ScatterChartPoints[] | GanttChartDataPoint[], yAxisType: YAxisType | undefined, useSecondaryYScale?: boolean) => {
2993
3104
  startValue: number;
2994
3105
  endValue: number;
2995
3106
  };
2996
3107
  /**
2997
3108
  * Create the y-axis
2998
3109
  */
2999
- createYAxis: (yAxisParams: IYAxisParams, isRtl: boolean, axisData: IAxisData, isIntegralDataset: boolean, chartType: ChartTypes, useSecondaryYScale?: boolean, roundedTicks?: boolean) => ScaleLinear<number, number, never>;
3110
+ createYAxis: (yAxisParams: IYAxisParams, isRtl: boolean, axisData: IAxisData, isIntegralDataset: boolean, chartType: ChartTypes, useSecondaryYScale?: boolean, roundedTicks?: boolean, scaleType?: AxisScaleType) => ScaleLinear<number, number, never>;
3000
3111
  /**
3001
3112
  * Get the domain and range values
3002
3113
  */
@@ -3325,6 +3436,50 @@ export declare interface ScatterChartDataPoint extends BaseDataPoint {
3325
3436
  * Marker size of the points
3326
3437
  */
3327
3438
  markerSize?: number;
3439
+ /**
3440
+ * text labels of marker points
3441
+ */
3442
+ text?: string;
3443
+ }
3444
+
3445
+ /**
3446
+ * {@docCategory IChartData}
3447
+ */
3448
+ export declare interface ScatterChartPoints {
3449
+ /**
3450
+ * Legend text for the datapoint in the chart
3451
+ */
3452
+ legend: string;
3453
+ /**
3454
+ * The shape for the legend
3455
+ * default: show the rect legend
3456
+ */
3457
+ legendShape?: LegendShape;
3458
+ /**
3459
+ * dataPoints for the line chart
3460
+ */
3461
+ data: ScatterChartDataPoint[];
3462
+ /**
3463
+ * color for the legend in the chart
3464
+ */
3465
+ color?: string;
3466
+ /**
3467
+ * opacity for chart fill color
3468
+ */
3469
+ opacity?: number;
3470
+ /**
3471
+ * hide dots for points that are not active
3472
+ */
3473
+ hideNonActiveDots?: boolean;
3474
+ /**
3475
+ * Defines the function that is executed on clicking this legend
3476
+ */
3477
+ onLegendClick?: (selectedLegend: string | null | string[]) => void;
3478
+ /**
3479
+ * Whether to use the secondary y scale or not
3480
+ * False by default.
3481
+ */
3482
+ useSecondaryYScale?: boolean;
3328
3483
  }
3329
3484
 
3330
3485
  /**
@@ -3352,6 +3507,10 @@ export declare interface ScatterChartProps extends CartesianChartProps {
3352
3507
  * The prop used to define the culture to localized the numbers
3353
3508
  */
3354
3509
  culture?: string;
3510
+ /**
3511
+ * The prop used to define the y axis labels tooltip visibility
3512
+ */
3513
+ showYAxisLablesTooltip?: boolean;
3355
3514
  }
3356
3515
 
3357
3516
  /**
@@ -3366,6 +3525,10 @@ export declare interface ScatterChartStyleProps extends CartesianChartStyleProps
3366
3525
  * {@docCategory ScatterChart}
3367
3526
  */
3368
3527
  export declare interface ScatterChartStyles extends CartesianChartStyles {
3528
+ /**
3529
+ * Style for the marker label
3530
+ */
3531
+ markerLabel?: string;
3369
3532
  }
3370
3533
 
3371
3534
  /**
@@ -3794,6 +3957,15 @@ export declare interface VerticalStackedBarChartProps extends CartesianChartProp
3794
3957
  * @default 'default'
3795
3958
  */
3796
3959
  mode?: 'default' | 'plotly';
3960
+ /**
3961
+ *@default false
3962
+ *Used for to elipse y axis labes and show tooltip on x axis labels
3963
+ */
3964
+ showYAxisLablesTooltip?: boolean;
3965
+ /**
3966
+ *@default false
3967
+ *Used for showing complete y axis lables */
3968
+ showYAxisLables?: boolean;
3797
3969
  }
3798
3970
 
3799
3971
  /**
@@ -3865,7 +4037,7 @@ export declare interface VSChartDataPoint {
3865
4037
  /**
3866
4038
  * data the datapoint in the chart
3867
4039
  */
3868
- data: number;
4040
+ data: number | string;
3869
4041
  /**
3870
4042
  * Legend text for the datapoint in the chart
3871
4043
  */
@@ -3914,7 +4086,7 @@ declare enum YAxisType {
3914
4086
 
3915
4087
  export declare interface YValueHover {
3916
4088
  legend?: string;
3917
- y?: number;
4089
+ y?: number | string;
3918
4090
  color?: string;
3919
4091
  data?: string | number;
3920
4092
  shouldDrawBorderBottom?: boolean;
@@ -6,7 +6,7 @@ import { select as d3Select } from 'd3-selection';
6
6
  import { tokens } from '@fluentui/react-theme';
7
7
  import { area as d3Area, stack as d3Stack, curveMonotoneX as d3CurveBasis, line as d3Line } from 'd3-shape';
8
8
  import { CartesianChart } from '../../index';
9
- import { calloutData, getXAxisType, ChartTypes, XAxisTypes, getTypeOfAxis, tooltipOfAxislabels, getNextColor, getColorFromToken, formatDate, getSecureProps, areArraysEqual, getCurveFactory, find, findNumericMinMaxOfY, createNumericYAxis, domainRangeOfNumericForAreaChart, domainRangeOfDateForAreaLineVerticalBarChart, createStringYAxis, useRtl } from '../../utilities/index';
9
+ import { calloutData, getXAxisType, ChartTypes, XAxisTypes, getTypeOfAxis, tooltipOfAxislabels, getNextColor, getColorFromToken, formatDate, getSecureProps, areArraysEqual, getCurveFactory, find, findNumericMinMaxOfY, createNumericYAxis, domainRangeOfNumericForAreaLineScatterCharts, domainRangeOfDateForAreaLineScatterVerticalBarCharts, createStringYAxis, useRtl } from '../../utilities/index';
10
10
  import { useId } from '@fluentui/react-utilities';
11
11
  import { Legends } from '../Legends/index';
12
12
  import { toImage } from '../../utilities/image-export-utils';
@@ -91,12 +91,15 @@ 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) {
97
- domainNRangeValue = domainRangeOfNumericForAreaChart(points, margins, width, isRTL);
100
+ domainNRangeValue = domainRangeOfNumericForAreaLineScatterCharts(points, margins, width, isRTL);
98
101
  } else if (xAxisType === XAxisTypes.DateAxis) {
99
- domainNRangeValue = domainRangeOfDateForAreaLineVerticalBarChart(points, margins, width, isRTL, tickValues, chartType, barWidth);
102
+ domainNRangeValue = domainRangeOfDateForAreaLineScatterVerticalBarCharts(points, margins, width, isRTL, tickValues, chartType, barWidth);
100
103
  } else {
101
104
  domainNRangeValue = {
102
105
  dStartValue: 0,
@@ -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