@fluentui/react-charting 5.25.1 → 5.25.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 (285) hide show
  1. package/CHANGELOG.json +123 -1
  2. package/CHANGELOG.md +34 -2
  3. package/dist/react-charting.d.ts +48 -45
  4. package/dist/react-charting.js +1 -1
  5. package/dist/react-charting.min.js +1 -1
  6. package/etc/react-charting.api.md +24 -11
  7. package/lib/AnnotationOnlyChart.d.ts +1 -0
  8. package/lib/AnnotationOnlyChart.js +2 -0
  9. package/lib/AnnotationOnlyChart.js.map +1 -0
  10. package/lib/components/AnnotationOnlyChart/AnnotationOnlyChart.d.ts +3 -0
  11. package/lib/components/AnnotationOnlyChart/AnnotationOnlyChart.js +158 -0
  12. package/lib/components/AnnotationOnlyChart/AnnotationOnlyChart.js.map +1 -0
  13. package/lib/components/AnnotationOnlyChart/AnnotationOnlyChart.types.d.ts +33 -0
  14. package/lib/components/AnnotationOnlyChart/AnnotationOnlyChart.types.js +2 -0
  15. package/lib/components/AnnotationOnlyChart/AnnotationOnlyChart.types.js.map +1 -0
  16. package/lib/components/AnnotationOnlyChart/index.d.ts +2 -0
  17. package/lib/components/AnnotationOnlyChart/index.js +3 -0
  18. package/lib/components/AnnotationOnlyChart/index.js.map +1 -0
  19. package/lib/components/AreaChart/AreaChart.base.js +2 -2
  20. package/lib/components/AreaChart/AreaChart.base.js.map +1 -1
  21. package/lib/components/ChartTable/ChartTable.base.js +5 -3
  22. package/lib/components/ChartTable/ChartTable.base.js.map +1 -1
  23. package/lib/components/CommonComponents/Annotations/ChartAnnotationLayer.d.ts +1 -1
  24. package/lib/components/CommonComponents/Annotations/ChartAnnotationLayer.js +18 -14
  25. package/lib/components/CommonComponents/Annotations/ChartAnnotationLayer.js.map +1 -1
  26. package/lib/components/CommonComponents/Annotations/index.d.ts +2 -0
  27. package/lib/components/CommonComponents/Annotations/index.js +3 -0
  28. package/lib/components/CommonComponents/Annotations/index.js.map +1 -0
  29. package/lib/components/CommonComponents/CartesianChart.base.d.ts +6 -1
  30. package/lib/components/CommonComponents/CartesianChart.base.js +131 -157
  31. package/lib/components/CommonComponents/CartesianChart.base.js.map +1 -1
  32. package/lib/components/CommonComponents/CartesianChart.types.d.ts +11 -2
  33. package/lib/components/CommonComponents/CartesianChart.types.js.map +1 -1
  34. package/lib/components/DeclarativeChart/DeclarativeChart.js +85 -51
  35. package/lib/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
  36. package/lib/components/DeclarativeChart/PlotlyColorAdapter.js +12 -4
  37. package/lib/components/DeclarativeChart/PlotlyColorAdapter.js.map +1 -1
  38. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +2 -0
  39. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js +176 -63
  40. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  41. package/lib/components/DonutChart/DonutChart.base.js +5 -3
  42. package/lib/components/DonutChart/DonutChart.base.js.map +1 -1
  43. package/lib/components/FunnelChart/FunnelChart.base.js +15 -18
  44. package/lib/components/FunnelChart/FunnelChart.base.js.map +1 -1
  45. package/lib/components/GanttChart/GanttChart.base.js +6 -6
  46. package/lib/components/GanttChart/GanttChart.base.js.map +1 -1
  47. package/lib/components/GanttChart/GanttChart.types.d.ts +0 -11
  48. package/lib/components/GanttChart/GanttChart.types.js.map +1 -1
  49. package/lib/components/GaugeChart/GaugeChart.base.js +5 -3
  50. package/lib/components/GaugeChart/GaugeChart.base.js.map +1 -1
  51. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +11 -6
  52. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
  53. package/lib/components/HeatMapChart/HeatMapChart.base.js +3 -3
  54. package/lib/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
  55. package/lib/components/HeatMapChart/HeatMapChart.types.d.ts +0 -9
  56. package/lib/components/HeatMapChart/HeatMapChart.types.js.map +1 -1
  57. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -1
  58. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +4 -4
  59. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
  60. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +0 -9
  61. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -1
  62. package/lib/components/Legends/Legends.base.d.ts +1 -1
  63. package/lib/components/Legends/Legends.base.js +6 -2
  64. package/lib/components/Legends/Legends.base.js.map +1 -1
  65. package/lib/components/Legends/Legends.types.d.ts +1 -1
  66. package/lib/components/Legends/Legends.types.js.map +1 -1
  67. package/lib/components/LineChart/LineChart.base.js +3 -3
  68. package/lib/components/LineChart/LineChart.base.js.map +1 -1
  69. package/lib/components/LineChart/eventAnnotation/Textbox.js.map +1 -1
  70. package/lib/components/ResponsiveContainer/ResponsiveContainer.js +1 -1
  71. package/lib/components/ResponsiveContainer/ResponsiveContainer.js.map +1 -1
  72. package/lib/components/SankeyChart/SankeyChart.base.js +5 -3
  73. package/lib/components/SankeyChart/SankeyChart.base.js.map +1 -1
  74. package/lib/components/ScatterChart/ScatterChart.base.js +41 -31
  75. package/lib/components/ScatterChart/ScatterChart.base.js.map +1 -1
  76. package/lib/components/ScatterChart/ScatterChart.types.d.ts +0 -4
  77. package/lib/components/ScatterChart/ScatterChart.types.js.map +1 -1
  78. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
  79. package/lib/components/StackedBarChart/StackedBarChart.base.js.map +1 -1
  80. package/lib/components/VerticalBarChart/VerticalBarChart.base.js +6 -4
  81. package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
  82. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +22 -10
  83. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  84. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -9
  85. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
  86. package/lib/index.d.ts +2 -0
  87. package/lib/index.js +1 -0
  88. package/lib/index.js.map +1 -1
  89. package/lib/types/IChartAnnotation.d.ts +2 -0
  90. package/lib/types/IChartAnnotation.js.map +1 -1
  91. package/lib/utilities/image-export-utils.d.ts +7 -2
  92. package/lib/utilities/image-export-utils.js +176 -86
  93. package/lib/utilities/image-export-utils.js.map +1 -1
  94. package/lib/utilities/utilities.d.ts +5 -4
  95. package/lib/utilities/utilities.js +18 -17
  96. package/lib/utilities/utilities.js.map +1 -1
  97. package/lib-amd/AnnotationOnlyChart.d.ts +1 -0
  98. package/lib-amd/AnnotationOnlyChart.js +6 -0
  99. package/lib-amd/AnnotationOnlyChart.js.map +1 -0
  100. package/lib-amd/components/AnnotationOnlyChart/AnnotationOnlyChart.d.ts +3 -0
  101. package/lib-amd/components/AnnotationOnlyChart/AnnotationOnlyChart.js +159 -0
  102. package/lib-amd/components/AnnotationOnlyChart/AnnotationOnlyChart.js.map +1 -0
  103. package/lib-amd/components/AnnotationOnlyChart/AnnotationOnlyChart.types.d.ts +33 -0
  104. package/lib-amd/components/AnnotationOnlyChart/AnnotationOnlyChart.types.js +5 -0
  105. package/lib-amd/components/AnnotationOnlyChart/AnnotationOnlyChart.types.js.map +1 -0
  106. package/lib-amd/components/AnnotationOnlyChart/index.d.ts +2 -0
  107. package/lib-amd/components/AnnotationOnlyChart/index.js +7 -0
  108. package/lib-amd/components/AnnotationOnlyChart/index.js.map +1 -0
  109. package/lib-amd/components/AreaChart/AreaChart.base.js +1 -1
  110. package/lib-amd/components/AreaChart/AreaChart.base.js.map +1 -1
  111. package/lib-amd/components/ChartTable/ChartTable.base.js +4 -2
  112. package/lib-amd/components/ChartTable/ChartTable.base.js.map +1 -1
  113. package/lib-amd/components/CommonComponents/Annotations/ChartAnnotationLayer.d.ts +1 -1
  114. package/lib-amd/components/CommonComponents/Annotations/ChartAnnotationLayer.js +18 -14
  115. package/lib-amd/components/CommonComponents/Annotations/ChartAnnotationLayer.js.map +1 -1
  116. package/lib-amd/components/CommonComponents/Annotations/index.d.ts +2 -0
  117. package/lib-amd/components/CommonComponents/Annotations/index.js +7 -0
  118. package/lib-amd/components/CommonComponents/Annotations/index.js.map +1 -0
  119. package/lib-amd/components/CommonComponents/CartesianChart.base.d.ts +6 -1
  120. package/lib-amd/components/CommonComponents/CartesianChart.base.js +131 -157
  121. package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +1 -1
  122. package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +11 -2
  123. package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +1 -1
  124. package/lib-amd/components/DeclarativeChart/DeclarativeChart.js +80 -50
  125. package/lib-amd/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
  126. package/lib-amd/components/DeclarativeChart/PlotlyColorAdapter.js +12 -4
  127. package/lib-amd/components/DeclarativeChart/PlotlyColorAdapter.js.map +1 -1
  128. package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +2 -0
  129. package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js +178 -64
  130. package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  131. package/lib-amd/components/DonutChart/DonutChart.base.js +4 -2
  132. package/lib-amd/components/DonutChart/DonutChart.base.js.map +1 -1
  133. package/lib-amd/components/FunnelChart/FunnelChart.base.js +13 -16
  134. package/lib-amd/components/FunnelChart/FunnelChart.base.js.map +1 -1
  135. package/lib-amd/components/GanttChart/GanttChart.base.js +5 -5
  136. package/lib-amd/components/GanttChart/GanttChart.base.js.map +1 -1
  137. package/lib-amd/components/GanttChart/GanttChart.types.d.ts +0 -11
  138. package/lib-amd/components/GanttChart/GanttChart.types.js.map +1 -1
  139. package/lib-amd/components/GaugeChart/GaugeChart.base.js +4 -2
  140. package/lib-amd/components/GaugeChart/GaugeChart.base.js.map +1 -1
  141. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +10 -6
  142. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
  143. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js +2 -2
  144. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
  145. package/lib-amd/components/HeatMapChart/HeatMapChart.types.d.ts +0 -9
  146. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js.map +1 -1
  147. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -1
  148. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +3 -3
  149. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
  150. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +0 -9
  151. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -1
  152. package/lib-amd/components/Legends/Legends.base.d.ts +1 -1
  153. package/lib-amd/components/Legends/Legends.base.js +6 -2
  154. package/lib-amd/components/Legends/Legends.base.js.map +1 -1
  155. package/lib-amd/components/Legends/Legends.types.d.ts +1 -1
  156. package/lib-amd/components/Legends/Legends.types.js.map +1 -1
  157. package/lib-amd/components/LineChart/LineChart.base.js +2 -2
  158. package/lib-amd/components/LineChart/LineChart.base.js.map +1 -1
  159. package/lib-amd/components/LineChart/eventAnnotation/Textbox.js.map +1 -1
  160. package/lib-amd/components/ResponsiveContainer/ResponsiveContainer.js +1 -1
  161. package/lib-amd/components/ResponsiveContainer/ResponsiveContainer.js.map +1 -1
  162. package/lib-amd/components/SankeyChart/SankeyChart.base.js +4 -2
  163. package/lib-amd/components/SankeyChart/SankeyChart.base.js.map +1 -1
  164. package/lib-amd/components/ScatterChart/ScatterChart.base.js +39 -29
  165. package/lib-amd/components/ScatterChart/ScatterChart.base.js.map +1 -1
  166. package/lib-amd/components/ScatterChart/ScatterChart.types.d.ts +0 -4
  167. package/lib-amd/components/ScatterChart/ScatterChart.types.js.map +1 -1
  168. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
  169. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js.map +1 -1
  170. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +5 -3
  171. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
  172. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +20 -8
  173. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  174. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -9
  175. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
  176. package/lib-amd/index.d.ts +2 -0
  177. package/lib-amd/index.js +3 -2
  178. package/lib-amd/index.js.map +1 -1
  179. package/lib-amd/types/IChartAnnotation.d.ts +2 -0
  180. package/lib-amd/types/IChartAnnotation.js.map +1 -1
  181. package/lib-amd/utilities/image-export-utils.d.ts +7 -2
  182. package/lib-amd/utilities/image-export-utils.js +175 -85
  183. package/lib-amd/utilities/image-export-utils.js.map +1 -1
  184. package/lib-amd/utilities/utilities.d.ts +5 -4
  185. package/lib-amd/utilities/utilities.js +18 -17
  186. package/lib-amd/utilities/utilities.js.map +1 -1
  187. package/lib-commonjs/AnnotationOnlyChart.d.ts +1 -0
  188. package/lib-commonjs/AnnotationOnlyChart.js +5 -0
  189. package/lib-commonjs/AnnotationOnlyChart.js.map +1 -0
  190. package/lib-commonjs/components/AnnotationOnlyChart/AnnotationOnlyChart.d.ts +3 -0
  191. package/lib-commonjs/components/AnnotationOnlyChart/AnnotationOnlyChart.js +162 -0
  192. package/lib-commonjs/components/AnnotationOnlyChart/AnnotationOnlyChart.js.map +1 -0
  193. package/lib-commonjs/components/AnnotationOnlyChart/AnnotationOnlyChart.types.d.ts +33 -0
  194. package/lib-commonjs/components/AnnotationOnlyChart/AnnotationOnlyChart.types.js +3 -0
  195. package/lib-commonjs/components/AnnotationOnlyChart/AnnotationOnlyChart.types.js.map +1 -0
  196. package/lib-commonjs/components/AnnotationOnlyChart/index.d.ts +2 -0
  197. package/lib-commonjs/components/AnnotationOnlyChart/index.js +6 -0
  198. package/lib-commonjs/components/AnnotationOnlyChart/index.js.map +1 -0
  199. package/lib-commonjs/components/AreaChart/AreaChart.base.js +1 -1
  200. package/lib-commonjs/components/AreaChart/AreaChart.base.js.map +1 -1
  201. package/lib-commonjs/components/ChartTable/ChartTable.base.js +4 -2
  202. package/lib-commonjs/components/ChartTable/ChartTable.base.js.map +1 -1
  203. package/lib-commonjs/components/CommonComponents/Annotations/ChartAnnotationLayer.d.ts +1 -1
  204. package/lib-commonjs/components/CommonComponents/Annotations/ChartAnnotationLayer.js +18 -14
  205. package/lib-commonjs/components/CommonComponents/Annotations/ChartAnnotationLayer.js.map +1 -1
  206. package/lib-commonjs/components/CommonComponents/Annotations/index.d.ts +2 -0
  207. package/lib-commonjs/components/CommonComponents/Annotations/index.js +6 -0
  208. package/lib-commonjs/components/CommonComponents/Annotations/index.js.map +1 -0
  209. package/lib-commonjs/components/CommonComponents/CartesianChart.base.d.ts +6 -1
  210. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +131 -157
  211. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +1 -1
  212. package/lib-commonjs/components/CommonComponents/CartesianChart.types.d.ts +11 -2
  213. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +1 -1
  214. package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js +83 -49
  215. package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
  216. package/lib-commonjs/components/DeclarativeChart/PlotlyColorAdapter.js +12 -4
  217. package/lib-commonjs/components/DeclarativeChart/PlotlyColorAdapter.js.map +1 -1
  218. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +2 -0
  219. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js +178 -64
  220. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  221. package/lib-commonjs/components/DonutChart/DonutChart.base.js +4 -2
  222. package/lib-commonjs/components/DonutChart/DonutChart.base.js.map +1 -1
  223. package/lib-commonjs/components/FunnelChart/FunnelChart.base.js +13 -16
  224. package/lib-commonjs/components/FunnelChart/FunnelChart.base.js.map +1 -1
  225. package/lib-commonjs/components/GanttChart/GanttChart.base.js +5 -5
  226. package/lib-commonjs/components/GanttChart/GanttChart.base.js.map +1 -1
  227. package/lib-commonjs/components/GanttChart/GanttChart.types.d.ts +0 -11
  228. package/lib-commonjs/components/GanttChart/GanttChart.types.js.map +1 -1
  229. package/lib-commonjs/components/GaugeChart/GaugeChart.base.js +4 -2
  230. package/lib-commonjs/components/GaugeChart/GaugeChart.base.js.map +1 -1
  231. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +10 -5
  232. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
  233. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js +2 -2
  234. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
  235. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.d.ts +0 -9
  236. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.js.map +1 -1
  237. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -1
  238. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +3 -3
  239. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
  240. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +0 -9
  241. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -1
  242. package/lib-commonjs/components/Legends/Legends.base.d.ts +1 -1
  243. package/lib-commonjs/components/Legends/Legends.base.js +6 -2
  244. package/lib-commonjs/components/Legends/Legends.base.js.map +1 -1
  245. package/lib-commonjs/components/Legends/Legends.types.d.ts +1 -1
  246. package/lib-commonjs/components/Legends/Legends.types.js.map +1 -1
  247. package/lib-commonjs/components/LineChart/LineChart.base.js +2 -2
  248. package/lib-commonjs/components/LineChart/LineChart.base.js.map +1 -1
  249. package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.js.map +1 -1
  250. package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.js +1 -1
  251. package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.js.map +1 -1
  252. package/lib-commonjs/components/SankeyChart/SankeyChart.base.js +4 -2
  253. package/lib-commonjs/components/SankeyChart/SankeyChart.base.js.map +1 -1
  254. package/lib-commonjs/components/ScatterChart/ScatterChart.base.js +39 -29
  255. package/lib-commonjs/components/ScatterChart/ScatterChart.base.js.map +1 -1
  256. package/lib-commonjs/components/ScatterChart/ScatterChart.types.d.ts +0 -4
  257. package/lib-commonjs/components/ScatterChart/ScatterChart.types.js.map +1 -1
  258. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
  259. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js.map +1 -1
  260. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js +5 -3
  261. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
  262. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +20 -8
  263. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  264. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -9
  265. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
  266. package/lib-commonjs/index.d.ts +2 -0
  267. package/lib-commonjs/index.js +3 -1
  268. package/lib-commonjs/index.js.map +1 -1
  269. package/lib-commonjs/types/IChartAnnotation.d.ts +2 -0
  270. package/lib-commonjs/types/IChartAnnotation.js.map +1 -1
  271. package/lib-commonjs/utilities/image-export-utils.d.ts +7 -2
  272. package/lib-commonjs/utilities/image-export-utils.js +175 -85
  273. package/lib-commonjs/utilities/image-export-utils.js.map +1 -1
  274. package/lib-commonjs/utilities/utilities.d.ts +5 -4
  275. package/lib-commonjs/utilities/utilities.js +18 -17
  276. package/lib-commonjs/utilities/utilities.js.map +1 -1
  277. package/package.json +5 -5
  278. package/src/components/AnnotationOnlyChart/AnnotationOnlyChart.types.ts +34 -0
  279. package/src/components/CommonComponents/CartesianChart.types.ts +12 -1
  280. package/src/components/GanttChart/GanttChart.types.ts +0 -13
  281. package/src/components/HeatMapChart/HeatMapChart.types.ts +0 -11
  282. package/src/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.ts +0 -11
  283. package/src/components/Legends/Legends.types.ts +1 -1
  284. package/src/components/ScatterChart/ScatterChart.types.ts +0 -5
  285. package/src/components/VerticalStackedBarChart/VerticalStackedBarChart.types.ts +0 -11
package/CHANGELOG.json CHANGED
@@ -2,7 +2,129 @@
2
2
  "name": "@fluentui/react-charting",
3
3
  "entries": [
4
4
  {
5
- "date": "Thu, 30 Oct 2025 12:36:54 GMT",
5
+ "date": "Wed, 26 Nov 2025 09:32:51 GMT",
6
+ "tag": "@fluentui/react-charting_v5.25.3",
7
+ "version": "5.25.3",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "anushgupta@microsoft.com",
12
+ "package": "@fluentui/react-charting",
13
+ "commit": "97cf7d522555d3363ec4751af38a78b7bea76af0",
14
+ "comment": "set reference line legends after the main chart legends"
15
+ },
16
+ {
17
+ "author": "kumarkshitij@microsoft.com",
18
+ "package": "@fluentui/react-charting",
19
+ "commit": "03d35996a507b5b4ef28c2c8448b19eaafd677ab",
20
+ "comment": "fix: handle frequent uncaught exceptions"
21
+ },
22
+ {
23
+ "author": "kumarkshitij@microsoft.com",
24
+ "package": "@fluentui/react-charting",
25
+ "commit": "b49426b717fb2801d15f22c5d53b5ee5d585b58e",
26
+ "comment": "fix: handle empty legends list in multiplot image export"
27
+ },
28
+ {
29
+ "author": "beachball",
30
+ "package": "@fluentui/react-charting",
31
+ "comment": "Bump @fluentui/chart-utilities to v1.1.37",
32
+ "commit": "7340400092f5d4b1ee09ce1f4de5ca403624cc21"
33
+ },
34
+ {
35
+ "author": "beachball",
36
+ "package": "@fluentui/react-charting",
37
+ "comment": "Bump @fluentui/react-focus to v8.10.2",
38
+ "commit": "7340400092f5d4b1ee09ce1f4de5ca403624cc21"
39
+ },
40
+ {
41
+ "author": "beachball",
42
+ "package": "@fluentui/react-charting",
43
+ "comment": "Bump @fluentui/theme-samples to v8.7.221",
44
+ "commit": "7340400092f5d4b1ee09ce1f4de5ca403624cc21"
45
+ },
46
+ {
47
+ "author": "beachball",
48
+ "package": "@fluentui/react-charting",
49
+ "comment": "Bump @fluentui/react to v8.125.2",
50
+ "commit": "7340400092f5d4b1ee09ce1f4de5ca403624cc21"
51
+ }
52
+ ]
53
+ }
54
+ },
55
+ {
56
+ "date": "Tue, 11 Nov 2025 10:09:21 GMT",
57
+ "tag": "@fluentui/react-charting_v5.25.2",
58
+ "version": "5.25.2",
59
+ "comments": {
60
+ "patch": [
61
+ {
62
+ "author": "anushgupta@microsoft.com",
63
+ "package": "@fluentui/react-charting",
64
+ "commit": "2d64a43959efc05cedf85750bc73e339af8b9c0f",
65
+ "comment": "fix chart 983 crash"
66
+ },
67
+ {
68
+ "author": "kumarkshitij@microsoft.com",
69
+ "package": "@fluentui/react-charting",
70
+ "commit": "970b07bd11a73782f517086c6f270385cd33b162",
71
+ "comment": "feat: enable multiplot image export"
72
+ },
73
+ {
74
+ "author": "kumarkshitij@microsoft.com",
75
+ "package": "@fluentui/react-charting",
76
+ "commit": "b7985a2878e87096cdecbdc7e038bc79f9768dd9",
77
+ "comment": "fix: adjust chart margin for continuous y-axis tick labels"
78
+ },
79
+ {
80
+ "author": "anushgupta@microsoft.com",
81
+ "package": "@fluentui/react-charting",
82
+ "commit": "5863b2accfe7e02beb2af3459c1ee0c79cc1ee30",
83
+ "comment": "fix plotly color issue"
84
+ },
85
+ {
86
+ "author": "120183316+srmukher@users.noreply.github.com",
87
+ "package": "@fluentui/react-charting",
88
+ "commit": "8c7c11a76e42e80d88595ca35ca2c50c88fbe24c",
89
+ "comment": "feat(react-charting): Adding annotation only chart"
90
+ },
91
+ {
92
+ "author": "beachball",
93
+ "package": "@fluentui/react-charting",
94
+ "comment": "Bump @fluentui/chart-utilities to v1.1.36",
95
+ "commit": "2d64a43959efc05cedf85750bc73e339af8b9c0f"
96
+ },
97
+ {
98
+ "author": "beachball",
99
+ "package": "@fluentui/react-charting",
100
+ "comment": "Bump @fluentui/react-focus to v8.10.1",
101
+ "commit": "2d64a43959efc05cedf85750bc73e339af8b9c0f"
102
+ },
103
+ {
104
+ "author": "beachball",
105
+ "package": "@fluentui/react-charting",
106
+ "comment": "Bump @fluentui/theme-samples to v8.7.220",
107
+ "commit": "2d64a43959efc05cedf85750bc73e339af8b9c0f"
108
+ },
109
+ {
110
+ "author": "beachball",
111
+ "package": "@fluentui/react-charting",
112
+ "comment": "Bump @fluentui/react to v8.125.1",
113
+ "commit": "2d64a43959efc05cedf85750bc73e339af8b9c0f"
114
+ }
115
+ ],
116
+ "none": [
117
+ {
118
+ "author": "martinhochel@microsoft.com",
119
+ "package": "@fluentui/react-charting",
120
+ "commit": "52217c6abc71c0c8c3e537f1e2648fb542c30ee0",
121
+ "comment": "chore: migrate source to react 19"
122
+ }
123
+ ]
124
+ }
125
+ },
126
+ {
127
+ "date": "Thu, 30 Oct 2025 12:37:12 GMT",
6
128
  "tag": "@fluentui/react-charting_v5.25.1",
7
129
  "version": "5.25.1",
8
130
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,44 @@
1
1
  # Change Log - @fluentui/react-charting
2
2
 
3
- This log was last generated on Thu, 30 Oct 2025 12:36:54 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 26 Nov 2025 09:32:51 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [5.25.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.25.3)
8
+
9
+ Wed, 26 Nov 2025 09:32:51 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.25.2..@fluentui/react-charting_v5.25.3)
11
+
12
+ ### Patches
13
+
14
+ - set reference line legends after the main chart legends ([PR #35481](https://github.com/microsoft/fluentui/pull/35481) by anushgupta@microsoft.com)
15
+ - fix: handle frequent uncaught exceptions ([PR #35495](https://github.com/microsoft/fluentui/pull/35495) by kumarkshitij@microsoft.com)
16
+ - fix: handle empty legends list in multiplot image export ([PR #35483](https://github.com/microsoft/fluentui/pull/35483) by kumarkshitij@microsoft.com)
17
+ - Bump @fluentui/chart-utilities to v1.1.37 ([commit](https://github.com/microsoft/fluentui/commit/7340400092f5d4b1ee09ce1f4de5ca403624cc21) by beachball)
18
+ - Bump @fluentui/react-focus to v8.10.2 ([commit](https://github.com/microsoft/fluentui/commit/7340400092f5d4b1ee09ce1f4de5ca403624cc21) by beachball)
19
+ - Bump @fluentui/theme-samples to v8.7.221 ([commit](https://github.com/microsoft/fluentui/commit/7340400092f5d4b1ee09ce1f4de5ca403624cc21) by beachball)
20
+ - Bump @fluentui/react to v8.125.2 ([commit](https://github.com/microsoft/fluentui/commit/7340400092f5d4b1ee09ce1f4de5ca403624cc21) by beachball)
21
+
22
+ ## [5.25.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.25.2)
23
+
24
+ Tue, 11 Nov 2025 10:09:21 GMT
25
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.25.1..@fluentui/react-charting_v5.25.2)
26
+
27
+ ### Patches
28
+
29
+ - fix chart 983 crash ([PR #35474](https://github.com/microsoft/fluentui/pull/35474) by anushgupta@microsoft.com)
30
+ - feat: enable multiplot image export ([PR #35472](https://github.com/microsoft/fluentui/pull/35472) by kumarkshitij@microsoft.com)
31
+ - fix: adjust chart margin for continuous y-axis tick labels ([PR #35376](https://github.com/microsoft/fluentui/pull/35376) by kumarkshitij@microsoft.com)
32
+ - fix plotly color issue ([PR #35451](https://github.com/microsoft/fluentui/pull/35451) by anushgupta@microsoft.com)
33
+ - feat(react-charting): Adding annotation only chart ([PR #35390](https://github.com/microsoft/fluentui/pull/35390) by 120183316+srmukher@users.noreply.github.com)
34
+ - Bump @fluentui/chart-utilities to v1.1.36 ([PR #35474](https://github.com/microsoft/fluentui/pull/35474) by beachball)
35
+ - Bump @fluentui/react-focus to v8.10.1 ([PR #35474](https://github.com/microsoft/fluentui/pull/35474) by beachball)
36
+ - Bump @fluentui/theme-samples to v8.7.220 ([PR #35474](https://github.com/microsoft/fluentui/pull/35474) by beachball)
37
+ - Bump @fluentui/react to v8.125.1 ([PR #35474](https://github.com/microsoft/fluentui/pull/35474) by beachball)
38
+
7
39
  ## [5.25.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.25.1)
8
40
 
9
- Thu, 30 Oct 2025 12:36:54 GMT
41
+ Thu, 30 Oct 2025 12:37:12 GMT
10
42
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.25.0..@fluentui/react-charting_v5.25.1)
11
43
 
12
44
  ### Patches
@@ -16,6 +16,7 @@ import { IStyleFunctionOrObject as IStyleFunctionOrObject_2 } from '@fluentui/re
16
16
  import { ITheme } from '@fluentui/react/lib/Styling';
17
17
  import { ITheme as ITheme_2 } from '@fluentui/react';
18
18
  import type { JSXElement } from '@fluentui/utilities';
19
+ import type { Margin } from '@fluentui/chart-utilities';
19
20
  import * as React_2 from 'react';
20
21
  import { SankeyLink } from 'd3-sankey';
21
22
  import { SankeyNode } from 'd3-sankey';
@@ -23,6 +24,8 @@ import { ScaleBand } from 'd3-scale';
23
24
  import { ScaleLinear } from 'd3-scale';
24
25
  import { TimeLocaleDefinition } from 'd3-time-format';
25
26
 
27
+ export declare const AnnotationOnlyChart: React_2.FC<IAnnotationOnlyChartProps>;
28
+
26
29
  /**
27
30
  * Areachart component.
28
31
  * {@docCategory AreaChart}
@@ -209,6 +212,8 @@ export declare interface ChartAnnotationStyleProps {
209
212
  opacity?: number;
210
213
  /** Optional class name applied to the annotation element */
211
214
  className?: string;
215
+ /** Rotation, in degrees, applied to the annotation container */
216
+ rotation?: number;
212
217
  }
213
218
 
214
219
  declare type ChartAnnotationVerticalAlign = 'top' | 'middle' | 'bottom';
@@ -461,6 +466,36 @@ export declare interface IAccessibilityProps {
461
466
  ariaDescribedBy?: string;
462
467
  }
463
468
 
469
+ /**
470
+ * Props for the annotation-only chart renderer.
471
+ */
472
+ export declare interface IAnnotationOnlyChartProps {
473
+ /**
474
+ * Collection of annotations to render.
475
+ */
476
+ annotations: ChartAnnotation[];
477
+ /** Optional layout title extracted from the Plotly schema. */
478
+ chartTitle?: string;
479
+ /** Optional descriptive text for accessibility. */
480
+ description?: string;
481
+ /** Desired width in pixels (if absent the chart will grow to fit the container). */
482
+ width?: number;
483
+ /** Desired height in pixels. */
484
+ height?: number;
485
+ /** Paper/background colour specified in the Plotly layout. */
486
+ paperBackgroundColor?: string;
487
+ /** Plot area background colour specified in the Plotly layout. */
488
+ plotBackgroundColor?: string;
489
+ /** Global layout font colour. */
490
+ fontColor?: string;
491
+ /** Global layout font family. */
492
+ fontFamily?: string;
493
+ /** Layout margin converted to padding for the outer wrapper. */
494
+ margin?: Partial<Margin>;
495
+ /** Component ref propagated by the DeclarativeChart surface. */
496
+ componentRef?: React_2.RefObject<IChart>;
497
+ }
498
+
464
499
  /**
465
500
  * Area Chart properties.
466
501
  * {@docCategory AreaChart}
@@ -526,6 +561,7 @@ export declare interface IAreaChartStyles extends ICartesianChartStyles {
526
561
 
527
562
  declare interface IAxisData {
528
563
  yAxisDomainValues: number[];
564
+ yAxisTickText: string[];
529
565
  }
530
566
 
531
567
  /**
@@ -905,6 +941,15 @@ export declare interface ICartesianChartProps {
905
941
  * Use this to control `tickStep`, `tick0`, etc.
906
942
  */
907
943
  yAxis?: AxisProps;
944
+ /**
945
+ *@default false
946
+ *Used for to elipse y axis labes and show tooltip on x axis labels
947
+ */
948
+ showYAxisLablesTooltip?: boolean;
949
+ /**
950
+ *@default false
951
+ *Used for showing complete y axis lables */
952
+ showYAxisLables?: boolean;
908
953
  }
909
954
 
910
955
  /**
@@ -1836,17 +1881,6 @@ export declare interface IGanttChartProps extends ICartesianChartProps {
1836
1881
  * @default 1/2
1837
1882
  */
1838
1883
  yAxisPadding?: number;
1839
- /**
1840
- * If true, truncates y-axis tick labels longer than `noOfCharsToTruncate` with ellipses
1841
- * and displays them in a tooltip on hover.
1842
- * @default false
1843
- */
1844
- showYAxisLablesTooltip?: boolean;
1845
- /**
1846
- * If true, renders full y-axis tick labels without truncation.
1847
- * @default false
1848
- */
1849
- showYAxisLables?: boolean;
1850
1884
  /**
1851
1885
  * If true, enables gradient fills for the bars.
1852
1886
  * @default false
@@ -2504,19 +2538,10 @@ export declare interface IHeatMapChartProps extends Pick<ICartesianChartProps, E
2504
2538
  * The prop used to define the culture to localized the numbers
2505
2539
  */
2506
2540
  culture?: string;
2507
- /**
2508
- *@default false
2509
- *Used for showing complete y axis lables */
2510
- showYAxisLables?: boolean;
2511
2541
  /**
2512
2542
  * @default alphabetical
2513
2543
  * The prop used to decide order of string axis labels */
2514
2544
  sortOrder?: 'none' | 'alphabetical';
2515
- /**
2516
- *@default false
2517
- *Used for to elipse y axis labes and show tooltip on x axis labels
2518
- */
2519
- showYAxisLablesTooltip?: boolean;
2520
2545
  }
2521
2546
 
2522
2547
  /**
@@ -2812,15 +2837,6 @@ export declare interface IHorizontalBarChartWithAxisProps extends ICartesianChar
2812
2837
  * it's padding between bar's or lines in the graph
2813
2838
  */
2814
2839
  yAxisPadding?: number;
2815
- /**
2816
- *@default false
2817
- *Used for to elipse y axis labes and show tooltip on x axis labels
2818
- */
2819
- showYAxisLablesTooltip?: boolean;
2820
- /**
2821
- *@default false
2822
- *Used for showing complete y axis lables */
2823
- showYAxisLables?: boolean;
2824
2840
  /**
2825
2841
  * @default false
2826
2842
  * The prop used to enable gradient fill color for the chart.
@@ -2966,7 +2982,7 @@ export declare interface ILegend {
2966
2982
  */
2967
2983
  declare interface ILegendContainer {
2968
2984
  toSVG: (svgWidth: number, isRTL?: boolean) => {
2969
- node: SVGGElement | null;
2985
+ node: SVGSVGElement | null;
2970
2986
  width: number;
2971
2987
  height: number;
2972
2988
  };
@@ -3660,11 +3676,11 @@ export declare interface IModifiedCartesianChartProps extends ICartesianChartPro
3660
3676
  /**
3661
3677
  * Get the domain and range values
3662
3678
  */
3663
- getDomainNRangeValues: (points: ILineChartPoints[] | IVerticalBarChartDataPoint[] | IVerticalStackedBarDataPoint[] | IHorizontalBarChartWithAxisDataPoint[] | IGroupedVerticalBarChartData[] | IHeatMapChartDataPoint[] | IGanttChartDataPoint[], margins: IMargins, width: number, chartType: ChartTypes, isRTL: boolean, xAxisType: XAxisTypes, barWidth: number, tickValues: Date[] | number[] | string[] | undefined, shiftX: number) => IDomainNRange;
3679
+ getDomainNRangeValues: (points: ILineChartPoints[] | IVerticalBarChartDataPoint[] | IVerticalStackedBarDataPoint[] | IHorizontalBarChartWithAxisDataPoint[] | IGroupedVerticalBarChartData[] | IHeatMapChartDataPoint[] | IGanttChartDataPoint[], margins: IMargins, width: number, chartType: ChartTypes, isRTL: boolean, xAxisType: XAxisTypes, barWidth: number, tickValues: Date[] | number[] | string[] | undefined) => IDomainNRange;
3664
3680
  /**
3665
3681
  * Create the string y-axis
3666
3682
  */
3667
- createStringYAxis: (yAxisParams: IYAxisParams, dataPoints: string[], isRtl: boolean, barWidth: number | undefined, chartType?: ChartTypes) => ScaleBand<string>;
3683
+ createStringYAxis: (yAxisParams: IYAxisParams, dataPoints: string[], isRtl: boolean, axisData: IAxisData, barWidth: number | undefined, chartType?: ChartTypes) => ScaleBand<string>;
3668
3684
  /**
3669
3685
  * Callback to access the public methods and properties of the component.
3670
3686
  */
@@ -4267,10 +4283,6 @@ export declare interface IScatterChartProps extends ICartesianChartProps {
4267
4283
  * The prop used to define the culture to localized the numbers
4268
4284
  */
4269
4285
  culture?: string;
4270
- /**
4271
- * The prop used to define the y axis labels tooltip visibility
4272
- */
4273
- showYAxisLablesTooltip?: boolean;
4274
4286
  }
4275
4287
 
4276
4288
  /**
@@ -5156,15 +5168,6 @@ export declare interface IVerticalStackedBarChartProps extends ICartesianChartPr
5156
5168
  * @default 'default'
5157
5169
  */
5158
5170
  mode?: 'default' | 'plotly';
5159
- /**
5160
- *@default false
5161
- *Used for to elipse y axis labes and show tooltip on x axis labels
5162
- */
5163
- showYAxisLablesTooltip?: boolean;
5164
- /**
5165
- *@default false
5166
- *Used for showing complete y axis lables */
5167
- showYAxisLables?: boolean;
5168
5171
  }
5169
5172
 
5170
5173
  /**