@fluentui/react-charts 9.3.8 → 9.3.10

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 (199) hide show
  1. package/CHANGELOG.md +45 -2
  2. package/dist/index.d.ts +378 -0
  3. package/lib/PolarChart.js +1 -0
  4. package/lib/PolarChart.js.map +1 -0
  5. package/lib/components/AnnotationOnlyChart/AnnotationOnlyChart.js +2 -1
  6. package/lib/components/AnnotationOnlyChart/AnnotationOnlyChart.js.map +1 -1
  7. package/lib/components/ChartTable/ChartTable.js +21 -7
  8. package/lib/components/ChartTable/ChartTable.js.map +1 -1
  9. package/lib/components/ChartTable/ChartTable.types.js.map +1 -1
  10. package/lib/components/ChartTable/useChartTableStyles.styles.js +24 -3
  11. package/lib/components/ChartTable/useChartTableStyles.styles.js.map +1 -1
  12. package/lib/components/ChartTable/useChartTableStyles.styles.raw.js +14 -2
  13. package/lib/components/ChartTable/useChartTableStyles.styles.raw.js.map +1 -1
  14. package/lib/components/CommonComponents/Annotations/ChartAnnotationLayer.js +7 -5
  15. package/lib/components/CommonComponents/Annotations/ChartAnnotationLayer.js.map +1 -1
  16. package/lib/components/CommonComponents/Annotations/ChartAnnotationLayer.types.js.map +1 -1
  17. package/lib/components/CommonComponents/Annotations/useChartAnnotationLayer.styles.js +47 -3
  18. package/lib/components/CommonComponents/Annotations/useChartAnnotationLayer.styles.js.map +1 -1
  19. package/lib/components/CommonComponents/Annotations/useChartAnnotationLayer.styles.raw.js +24 -17
  20. package/lib/components/CommonComponents/Annotations/useChartAnnotationLayer.styles.raw.js.map +1 -1
  21. package/lib/components/CommonComponents/CartesianChart.js +32 -13
  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/DeclarativeChart/DeclarativeChart.js +33 -29
  25. package/lib/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
  26. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js +413 -210
  27. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  28. package/lib/components/DonutChart/DonutChart.js +18 -6
  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 +25 -5
  32. package/lib/components/DonutChart/useDonutChartStyles.styles.js.map +1 -1
  33. package/lib/components/DonutChart/useDonutChartStyles.styles.raw.js +16 -5
  34. package/lib/components/DonutChart/useDonutChartStyles.styles.raw.js.map +1 -1
  35. package/lib/components/FunnelChart/FunnelChart.js +29 -7
  36. package/lib/components/FunnelChart/FunnelChart.js.map +1 -1
  37. package/lib/components/FunnelChart/FunnelChart.types.js.map +1 -1
  38. package/lib/components/FunnelChart/useFunnelChartStyles.styles.js +26 -4
  39. package/lib/components/FunnelChart/useFunnelChartStyles.styles.js.map +1 -1
  40. package/lib/components/FunnelChart/useFunnelChartStyles.styles.raw.js +15 -3
  41. package/lib/components/FunnelChart/useFunnelChartStyles.styles.raw.js.map +1 -1
  42. package/lib/components/GaugeChart/GaugeChart.js +7 -6
  43. package/lib/components/GaugeChart/GaugeChart.js.map +1 -1
  44. package/lib/components/GaugeChart/GaugeChart.types.js.map +1 -1
  45. package/lib/components/GaugeChart/useGaugeChartStyles.styles.js +33 -21
  46. package/lib/components/GaugeChart/useGaugeChartStyles.styles.js.map +1 -1
  47. package/lib/components/GaugeChart/useGaugeChartStyles.styles.raw.js +24 -19
  48. package/lib/components/GaugeChart/useGaugeChartStyles.styles.raw.js.map +1 -1
  49. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +1 -1
  50. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -1
  51. package/lib/components/HeatMapChart/HeatMapChart.js +5 -1
  52. package/lib/components/HeatMapChart/HeatMapChart.js.map +1 -1
  53. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +58 -6
  54. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -1
  55. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -1
  56. package/lib/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.js +18 -3
  57. package/lib/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.js.map +1 -1
  58. package/lib/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.raw.js +13 -2
  59. package/lib/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.raw.js.map +1 -1
  60. package/lib/components/Legends/OverflowMenu.js +9 -2
  61. package/lib/components/Legends/OverflowMenu.js.map +1 -1
  62. package/lib/components/LineChart/LineChart.js +5 -6
  63. package/lib/components/LineChart/LineChart.js.map +1 -1
  64. package/lib/components/PolarChart/PolarChart.js +577 -0
  65. package/lib/components/PolarChart/PolarChart.js.map +1 -0
  66. package/lib/components/PolarChart/PolarChart.types.js +1 -0
  67. package/lib/components/PolarChart/PolarChart.types.js.map +1 -0
  68. package/lib/components/PolarChart/PolarChart.utils.js +174 -0
  69. package/lib/components/PolarChart/PolarChart.utils.js.map +1 -0
  70. package/lib/components/PolarChart/index.js +2 -0
  71. package/lib/components/PolarChart/index.js.map +1 -0
  72. package/lib/components/PolarChart/usePolarChartStyles.styles.js +72 -0
  73. package/lib/components/PolarChart/usePolarChartStyles.styles.js.map +1 -0
  74. package/lib/components/PolarChart/usePolarChartStyles.styles.raw.js +61 -0
  75. package/lib/components/PolarChart/usePolarChartStyles.styles.raw.js.map +1 -0
  76. package/lib/components/SankeyChart/SankeyChart.js +14 -4
  77. package/lib/components/SankeyChart/SankeyChart.js.map +1 -1
  78. package/lib/components/SankeyChart/SankeyChart.types.js.map +1 -1
  79. package/lib/components/SankeyChart/useSankeyChartStyles.styles.js +23 -6
  80. package/lib/components/SankeyChart/useSankeyChartStyles.styles.js.map +1 -1
  81. package/lib/components/SankeyChart/useSankeyChartStyles.styles.raw.js +15 -5
  82. package/lib/components/SankeyChart/useSankeyChartStyles.styles.raw.js.map +1 -1
  83. package/lib/components/ScatterChart/ScatterChart.js +1 -5
  84. package/lib/components/ScatterChart/ScatterChart.js.map +1 -1
  85. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js +29 -38
  86. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -1
  87. package/lib/index.js +1 -0
  88. package/lib/index.js.map +1 -1
  89. package/lib/types/DataPoint.js +1 -1
  90. package/lib/types/DataPoint.js.map +1 -1
  91. package/lib/utilities/ChartTitle.js +45 -0
  92. package/lib/utilities/ChartTitle.js.map +1 -0
  93. package/lib/utilities/Common.styles.js +73 -1
  94. package/lib/utilities/Common.styles.js.map +1 -1
  95. package/lib/utilities/Common.styles.raw.js +70 -0
  96. package/lib/utilities/Common.styles.raw.js.map +1 -1
  97. package/lib/utilities/index.js +1 -0
  98. package/lib/utilities/index.js.map +1 -1
  99. package/lib/utilities/utilities.js +6 -6
  100. package/lib/utilities/utilities.js.map +1 -1
  101. package/lib-commonjs/PolarChart.js +6 -0
  102. package/lib-commonjs/PolarChart.js.map +1 -0
  103. package/lib-commonjs/components/AnnotationOnlyChart/AnnotationOnlyChart.js +2 -1
  104. package/lib-commonjs/components/AnnotationOnlyChart/AnnotationOnlyChart.js.map +1 -1
  105. package/lib-commonjs/components/ChartTable/ChartTable.js +21 -7
  106. package/lib-commonjs/components/ChartTable/ChartTable.js.map +1 -1
  107. package/lib-commonjs/components/ChartTable/ChartTable.types.js.map +1 -1
  108. package/lib-commonjs/components/ChartTable/useChartTableStyles.styles.js +34 -3
  109. package/lib-commonjs/components/ChartTable/useChartTableStyles.styles.js.map +1 -1
  110. package/lib-commonjs/components/ChartTable/useChartTableStyles.styles.raw.js +14 -2
  111. package/lib-commonjs/components/ChartTable/useChartTableStyles.styles.raw.js.map +1 -1
  112. package/lib-commonjs/components/CommonComponents/Annotations/ChartAnnotationLayer.js +7 -5
  113. package/lib-commonjs/components/CommonComponents/Annotations/ChartAnnotationLayer.js.map +1 -1
  114. package/lib-commonjs/components/CommonComponents/Annotations/ChartAnnotationLayer.types.js.map +1 -1
  115. package/lib-commonjs/components/CommonComponents/Annotations/useChartAnnotationLayer.styles.js +58 -4
  116. package/lib-commonjs/components/CommonComponents/Annotations/useChartAnnotationLayer.styles.js.map +1 -1
  117. package/lib-commonjs/components/CommonComponents/Annotations/useChartAnnotationLayer.styles.raw.js +24 -17
  118. package/lib-commonjs/components/CommonComponents/Annotations/useChartAnnotationLayer.styles.raw.js.map +1 -1
  119. package/lib-commonjs/components/CommonComponents/CartesianChart.js +31 -12
  120. package/lib-commonjs/components/CommonComponents/CartesianChart.js.map +1 -1
  121. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +1 -1
  122. package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js +59 -56
  123. package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
  124. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js +419 -213
  125. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  126. package/lib-commonjs/components/DonutChart/DonutChart.js +17 -5
  127. package/lib-commonjs/components/DonutChart/DonutChart.js.map +1 -1
  128. package/lib-commonjs/components/DonutChart/DonutChart.types.js.map +1 -1
  129. package/lib-commonjs/components/DonutChart/useDonutChartStyles.styles.js +31 -4
  130. package/lib-commonjs/components/DonutChart/useDonutChartStyles.styles.js.map +1 -1
  131. package/lib-commonjs/components/DonutChart/useDonutChartStyles.styles.raw.js +15 -4
  132. package/lib-commonjs/components/DonutChart/useDonutChartStyles.styles.raw.js.map +1 -1
  133. package/lib-commonjs/components/FunnelChart/FunnelChart.js +28 -6
  134. package/lib-commonjs/components/FunnelChart/FunnelChart.js.map +1 -1
  135. package/lib-commonjs/components/FunnelChart/FunnelChart.types.js.map +1 -1
  136. package/lib-commonjs/components/FunnelChart/useFunnelChartStyles.styles.js +36 -4
  137. package/lib-commonjs/components/FunnelChart/useFunnelChartStyles.styles.js.map +1 -1
  138. package/lib-commonjs/components/FunnelChart/useFunnelChartStyles.styles.raw.js +15 -3
  139. package/lib-commonjs/components/FunnelChart/useFunnelChartStyles.styles.raw.js.map +1 -1
  140. package/lib-commonjs/components/GaugeChart/GaugeChart.js +6 -5
  141. package/lib-commonjs/components/GaugeChart/GaugeChart.js.map +1 -1
  142. package/lib-commonjs/components/GaugeChart/GaugeChart.types.js.map +1 -1
  143. package/lib-commonjs/components/GaugeChart/useGaugeChartStyles.styles.js +41 -20
  144. package/lib-commonjs/components/GaugeChart/useGaugeChartStyles.styles.js.map +1 -1
  145. package/lib-commonjs/components/GaugeChart/useGaugeChartStyles.styles.raw.js +24 -19
  146. package/lib-commonjs/components/GaugeChart/useGaugeChartStyles.styles.raw.js.map +1 -1
  147. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +1 -1
  148. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -1
  149. package/lib-commonjs/components/HeatMapChart/HeatMapChart.js +5 -1
  150. package/lib-commonjs/components/HeatMapChart/HeatMapChart.js.map +1 -1
  151. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +57 -5
  152. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -1
  153. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -1
  154. package/lib-commonjs/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.js +26 -3
  155. package/lib-commonjs/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.js.map +1 -1
  156. package/lib-commonjs/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.raw.js +13 -2
  157. package/lib-commonjs/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.raw.js.map +1 -1
  158. package/lib-commonjs/components/Legends/OverflowMenu.js +9 -2
  159. package/lib-commonjs/components/Legends/OverflowMenu.js.map +1 -1
  160. package/lib-commonjs/components/LineChart/LineChart.js +5 -6
  161. package/lib-commonjs/components/LineChart/LineChart.js.map +1 -1
  162. package/lib-commonjs/components/PolarChart/PolarChart.js +587 -0
  163. package/lib-commonjs/components/PolarChart/PolarChart.js.map +1 -0
  164. package/lib-commonjs/components/PolarChart/PolarChart.types.js +6 -0
  165. package/lib-commonjs/components/PolarChart/PolarChart.types.js.map +1 -0
  166. package/lib-commonjs/components/PolarChart/PolarChart.utils.js +204 -0
  167. package/lib-commonjs/components/PolarChart/PolarChart.utils.js.map +1 -0
  168. package/lib-commonjs/components/PolarChart/index.js +7 -0
  169. package/lib-commonjs/components/PolarChart/index.js.map +1 -0
  170. package/lib-commonjs/components/PolarChart/usePolarChartStyles.styles.js +107 -0
  171. package/lib-commonjs/components/PolarChart/usePolarChartStyles.styles.js.map +1 -0
  172. package/lib-commonjs/components/PolarChart/usePolarChartStyles.styles.raw.js +75 -0
  173. package/lib-commonjs/components/PolarChart/usePolarChartStyles.styles.raw.js.map +1 -0
  174. package/lib-commonjs/components/SankeyChart/SankeyChart.js +14 -4
  175. package/lib-commonjs/components/SankeyChart/SankeyChart.js.map +1 -1
  176. package/lib-commonjs/components/SankeyChart/SankeyChart.types.js.map +1 -1
  177. package/lib-commonjs/components/SankeyChart/useSankeyChartStyles.styles.js +28 -4
  178. package/lib-commonjs/components/SankeyChart/useSankeyChartStyles.styles.js.map +1 -1
  179. package/lib-commonjs/components/SankeyChart/useSankeyChartStyles.styles.raw.js +14 -3
  180. package/lib-commonjs/components/SankeyChart/useSankeyChartStyles.styles.raw.js.map +1 -1
  181. package/lib-commonjs/components/ScatterChart/ScatterChart.js +1 -5
  182. package/lib-commonjs/components/ScatterChart/ScatterChart.js.map +1 -1
  183. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js +29 -38
  184. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -1
  185. package/lib-commonjs/index.js +1 -0
  186. package/lib-commonjs/index.js.map +1 -1
  187. package/lib-commonjs/types/DataPoint.js +1 -1
  188. package/lib-commonjs/types/DataPoint.js.map +1 -1
  189. package/lib-commonjs/utilities/ChartTitle.js +53 -0
  190. package/lib-commonjs/utilities/ChartTitle.js.map +1 -0
  191. package/lib-commonjs/utilities/Common.styles.js +69 -0
  192. package/lib-commonjs/utilities/Common.styles.js.map +1 -1
  193. package/lib-commonjs/utilities/Common.styles.raw.js +69 -0
  194. package/lib-commonjs/utilities/Common.styles.raw.js.map +1 -1
  195. package/lib-commonjs/utilities/index.js +1 -0
  196. package/lib-commonjs/utilities/index.js.map +1 -1
  197. package/lib-commonjs/utilities/utilities.js +10 -4
  198. package/lib-commonjs/utilities/utilities.js.map +1 -1
  199. package/package.json +10 -16
package/CHANGELOG.md CHANGED
@@ -1,12 +1,55 @@
1
1
  # Change Log - @fluentui/react-charts
2
2
 
3
- This log was last generated on Wed, 17 Dec 2025 18:05:59 GMT and should not be manually modified.
3
+ This log was last generated on Fri, 30 Jan 2026 12:55:24 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.3.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-charts_v9.3.10)
8
+
9
+ Fri, 30 Jan 2026 12:55:24 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charts_v9.3.9..@fluentui/react-charts_v9.3.10)
11
+
12
+ ### Patches
13
+
14
+ - A11y bugs fixes ([PR #35690](https://github.com/microsoft/fluentui/pull/35690) by 132879294+v-baambati@users.noreply.github.com)
15
+ - A11y bug fix ([PR #35704](https://github.com/microsoft/fluentui/pull/35704) by 132879294+v-baambati@users.noreply.github.com)
16
+
17
+ ## [9.3.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-charts_v9.3.9)
18
+
19
+ Thu, 22 Jan 2026 17:06:46 GMT
20
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charts_v9.3.8..@fluentui/react-charts_v9.3.9)
21
+
22
+ ### Patches
23
+
24
+ - fix(react-charts): Add prop to regulate removal of default annotation styling ([PR #35627](https://github.com/microsoft/fluentui/pull/35627) by 120183316+srmukher@users.noreply.github.com)
25
+ - fix barlabel issue for stacked bars ([PR #35597](https://github.com/microsoft/fluentui/pull/35597) by anushgupta@microsoft.com)
26
+ - fix scatter marker issue ([PR #35595](https://github.com/microsoft/fluentui/pull/35595) by anushgupta@microsoft.com)
27
+ - support chart title from plotly schema ([PR #35606](https://github.com/microsoft/fluentui/pull/35606) by anushgupta@microsoft.com)
28
+ - fix chart title styles ([PR #35645](https://github.com/microsoft/fluentui/pull/35645) by anushgupta@microsoft.com)
29
+ - fix: resolve minor bugs ([PR #35651](https://github.com/microsoft/fluentui/pull/35651) by kumarkshitij@microsoft.com)
30
+ - fix funnel chart navigation issue ([PR #35594](https://github.com/microsoft/fluentui/pull/35594) by anushgupta@microsoft.com)
31
+ - fix nvda bugs ([PR #35621](https://github.com/microsoft/fluentui/pull/35621) by anushgupta@microsoft.com)
32
+ - feat: Add PolarChart ([PR #35583](https://github.com/microsoft/fluentui/pull/35583) by kumarkshitij@microsoft.com)
33
+ - fix(react-charts): Fixing date related annotation issue ([PR #35577](https://github.com/microsoft/fluentui/pull/35577) by 120183316+srmukher@users.noreply.github.com)
34
+ - fix chart title bugs ([PR #35646](https://github.com/microsoft/fluentui/pull/35646) by anushgupta@microsoft.com)
35
+ - honor alignment and padding properties for chart title ([PR #35673](https://github.com/microsoft/fluentui/pull/35673) by anushgupta@microsoft.com)
36
+ - support for barlabels in declarative HBC ([PR #35576](https://github.com/microsoft/fluentui/pull/35576) by anushgupta@microsoft.com)
37
+ - fix heatmap navigation issue ([PR #35593](https://github.com/microsoft/fluentui/pull/35593) by anushgupta@microsoft.com)
38
+ - fix chart width issue in donut chart ([PR #35652](https://github.com/microsoft/fluentui/pull/35652) by anushgupta@microsoft.com)
39
+ - fix accessibility issues ([PR #35584](https://github.com/microsoft/fluentui/pull/35584) by anushgupta@microsoft.com)
40
+ - Bump @fluentui/react-button to v9.8.0 ([PR #35574](https://github.com/microsoft/fluentui/pull/35574) by beachball)
41
+ - Bump @fluentui/react-jsx-runtime to v9.3.5 ([PR #35574](https://github.com/microsoft/fluentui/pull/35574) by beachball)
42
+ - Bump @fluentui/react-overflow to v9.6.7 ([PR #35574](https://github.com/microsoft/fluentui/pull/35574) by beachball)
43
+ - Bump @fluentui/react-popover to v9.13.0 ([PR #35574](https://github.com/microsoft/fluentui/pull/35574) by beachball)
44
+ - Bump @fluentui/react-shared-contexts to v9.26.1 ([PR #35574](https://github.com/microsoft/fluentui/pull/35574) by beachball)
45
+ - Bump @fluentui/react-tabster to v9.26.12 ([PR #35574](https://github.com/microsoft/fluentui/pull/35574) by beachball)
46
+ - Bump @fluentui/react-theme to v9.2.1 ([PR #35574](https://github.com/microsoft/fluentui/pull/35574) by beachball)
47
+ - Bump @fluentui/react-tooltip to v9.9.0 ([PR #35574](https://github.com/microsoft/fluentui/pull/35574) by beachball)
48
+ - Bump @fluentui/react-utilities to v9.26.1 ([PR #35574](https://github.com/microsoft/fluentui/pull/35574) by beachball)
49
+
7
50
  ## [9.3.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-charts_v9.3.8)
8
51
 
9
- Wed, 17 Dec 2025 18:05:59 GMT
52
+ Wed, 17 Dec 2025 18:10:06 GMT
10
53
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charts_v9.3.7..@fluentui/react-charts_v9.3.8)
11
54
 
12
55
  ### Patches
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import { CurveFactory } from 'd3-shape';
2
+ import type { Font } from '@fluentui/chart-utilities';
2
3
  import type { JSXElement } from '@fluentui/react-utilities';
3
4
  import type { Margin } from '@fluentui/chart-utilities';
4
5
  import { PositioningShorthand } from '@fluentui/react-positioning';
@@ -152,6 +153,24 @@ export declare interface AreaChartStyleProps extends CartesianChartStyleProps {
152
153
  export declare interface AreaChartStyles extends CartesianChartStyles {
153
154
  }
154
155
 
156
+ /**
157
+ * Represents a areapolar series.
158
+ */
159
+ export declare interface AreaPolarSeries extends DataSeries {
160
+ /**
161
+ * Type discriminator: always 'areapolar' for this series.
162
+ */
163
+ type: 'areapolar';
164
+ /**
165
+ * Array of data points for the series.
166
+ */
167
+ data: PolarDataPoint[];
168
+ /**
169
+ * Additional line rendering options (e.g., stroke width, curve type).
170
+ */
171
+ lineOptions?: LineChartLineOptions;
172
+ }
173
+
155
174
  /**
156
175
  * Specifies the ordering options for axis categories in Cartesian charts.
157
176
  *
@@ -322,6 +341,10 @@ export declare const CartesianChart: React_2.FunctionComponent<ModifiedCartesian
322
341
  * {@docCategory CartesianChart}
323
342
  */
324
343
  export declare interface CartesianChartProps {
344
+ /**
345
+ * Title styles configuration for the chart title
346
+ */
347
+ titleStyles?: TitleStyles;
325
348
  /**
326
349
  * Below height used for resizing of the chart
327
350
  * Wrap chart in your container and send the updated height and width to these props.
@@ -860,6 +883,11 @@ export declare interface ChartAnnotationLayerProps {
860
883
  annotations?: ChartAnnotation[];
861
884
  context: ChartAnnotationContext;
862
885
  className?: string;
886
+ /**
887
+ * When true, removes default border, shadow, and background styling from annotations.
888
+ * @default false
889
+ */
890
+ hideDefaultStyles?: boolean;
863
891
  }
864
892
 
865
893
  export declare interface ChartAnnotationLayoutProps {
@@ -1046,6 +1074,10 @@ export declare const ChartTable: React_2.FunctionComponent<ChartTableProps>;
1046
1074
  * {@docCategory ChartTable}
1047
1075
  */
1048
1076
  export declare interface ChartTableProps {
1077
+ /**
1078
+ * Title styles configuration for the chart title
1079
+ */
1080
+ titleStyles?: TitleStyles;
1049
1081
  /**
1050
1082
  * 1d or 2d Array of header values.
1051
1083
  */
@@ -1070,6 +1102,10 @@ export declare interface ChartTableProps {
1070
1102
  * @default '650px'
1071
1103
  */
1072
1104
  height?: string | number;
1105
+ /**
1106
+ * Chart title to display above the table
1107
+ */
1108
+ chartTitle?: string;
1073
1109
  /**
1074
1110
  * Additional class name(s) to apply to the table chart
1075
1111
  */
@@ -1095,6 +1131,8 @@ export declare interface ChartTableStyles {
1095
1131
  headerCell?: string;
1096
1132
  bodyCell?: string;
1097
1133
  chart?: string;
1134
+ chartTitle?: string;
1135
+ svgTooltip?: string;
1098
1136
  }
1099
1137
 
1100
1138
  declare enum ChartTypes {
@@ -1369,6 +1407,10 @@ export declare const DonutChart: React_2.FunctionComponent<DonutChartProps>;
1369
1407
  * {@docCategory DonutChart}
1370
1408
  */
1371
1409
  export declare interface DonutChartProps extends CartesianChartProps {
1410
+ /**
1411
+ * Title styles configuration for the chart title
1412
+ */
1413
+ titleStyles?: TitleStyles;
1372
1414
  /**
1373
1415
  * Data to render in the chart.
1374
1416
  */
@@ -1489,6 +1531,10 @@ export declare interface DonutChartStyles {
1489
1531
  * Style for the legend container.
1490
1532
  */
1491
1533
  legendContainer: string;
1534
+ /**
1535
+ * Style for the chart title.
1536
+ */
1537
+ chartTitle?: string;
1492
1538
  /**
1493
1539
  * styles for axis annotation
1494
1540
  */
@@ -1497,6 +1543,10 @@ export declare interface DonutChartStyles {
1497
1543
  * Styles for the chart wrapper div
1498
1544
  */
1499
1545
  chartWrapper?: string;
1546
+ /**
1547
+ * Style for SVG tooltip text
1548
+ */
1549
+ svgTooltip?: string;
1500
1550
  }
1501
1551
 
1502
1552
  export declare interface DPointType {
@@ -1566,6 +1616,10 @@ export declare interface FunnelChartDataPoint {
1566
1616
  * {@docCategory FunnelChart}
1567
1617
  */
1568
1618
  export declare interface FunnelChartProps {
1619
+ /**
1620
+ * Title styles configuration for the chart title
1621
+ */
1622
+ titleStyles?: TitleStyles;
1569
1623
  /**
1570
1624
  * Data points for the funnel chart
1571
1625
  */
@@ -1650,10 +1704,18 @@ export declare interface FunnelChartStyles {
1650
1704
  * Styles for the chart
1651
1705
  */
1652
1706
  chart?: string;
1707
+ /**
1708
+ * Style for the chart title.
1709
+ */
1710
+ chartTitle?: string;
1653
1711
  /**
1654
1712
  * Styles for text elements
1655
1713
  */
1656
1714
  text?: string;
1715
+ /**
1716
+ * Style for SVG tooltip text
1717
+ */
1718
+ svgTooltip?: string;
1657
1719
  /**
1658
1720
  * Styles for the callout root element
1659
1721
  */
@@ -1782,6 +1844,10 @@ export declare const GaugeChart: React_2.FunctionComponent<GaugeChartProps>;
1782
1844
  * {@docCategory GaugeChart}
1783
1845
  */
1784
1846
  export declare interface GaugeChartProps {
1847
+ /**
1848
+ * Title styles configuration for the chart title
1849
+ */
1850
+ titleStyles?: TitleStyles;
1785
1851
  /**
1786
1852
  * Width of the chart
1787
1853
  */
@@ -1930,6 +1996,10 @@ export declare interface GaugeChartStyles {
1930
1996
  * Styles for the chart title
1931
1997
  */
1932
1998
  chartTitle?: string;
1999
+ /**
2000
+ * Style for SVG tooltip text
2001
+ */
2002
+ svgTooltip?: string;
1933
2003
  /**
1934
2004
  * Styles for the segments
1935
2005
  */
@@ -2561,6 +2631,10 @@ export declare interface HorizontalBarChartWithAxisDataPoint {
2561
2631
  * This is an optional prop, If haven't given data will take
2562
2632
  */
2563
2633
  yAxisCalloutData?: string;
2634
+ /**
2635
+ * Label to display on the bar
2636
+ */
2637
+ barLabel?: string;
2564
2638
  /**
2565
2639
  * onClick action for each datapoint in the chart
2566
2640
  */
@@ -2625,6 +2699,11 @@ export declare interface HorizontalBarChartWithAxisProps extends CartesianChartP
2625
2699
  * The prop used to enable rounded corners for the bars.
2626
2700
  */
2627
2701
  roundCorners?: boolean;
2702
+ /**
2703
+ * Prop to hide the bar labels
2704
+ * @default false
2705
+ */
2706
+ hideLabels?: boolean;
2628
2707
  }
2629
2708
 
2630
2709
  /**
@@ -2682,6 +2761,10 @@ export declare interface HorizontalBarChartWithAxisStyles extends CartesianChart
2682
2761
  * Style to change the opacity of bars in dataviz when we hover on a single bar or legends
2683
2762
  */
2684
2763
  opacityChangeOnHover: string;
2764
+ /**
2765
+ * Style for the bar labels displayed at the end of each bar
2766
+ */
2767
+ barLabel?: string;
2685
2768
  }
2686
2769
 
2687
2770
  /**
@@ -3295,6 +3378,24 @@ export declare interface LineDataInVerticalStackedBarChart {
3295
3378
  lineOptions?: LineChartLineOptions;
3296
3379
  }
3297
3380
 
3381
+ /**
3382
+ * Represents a linepolar series.
3383
+ */
3384
+ export declare interface LinePolarSeries extends DataSeries {
3385
+ /**
3386
+ * Type discriminator: always 'linepolar' for this series.
3387
+ */
3388
+ type: 'linepolar';
3389
+ /**
3390
+ * Array of data points for the series.
3391
+ */
3392
+ data: PolarDataPoint[];
3393
+ /**
3394
+ * Additional line rendering options (e.g., stroke width, curve type).
3395
+ */
3396
+ lineOptions?: LineChartLineOptions;
3397
+ }
3398
+
3298
3399
  /**
3299
3400
  * Represents a line series.
3300
3401
  */
@@ -3511,6 +3612,223 @@ declare enum Points {
3511
3612
  octagon = 7
3512
3613
  }
3513
3614
 
3615
+ /**
3616
+ * Configuration options for a polar axis.
3617
+ * {@docCategory PolarChart}
3618
+ */
3619
+ export declare type PolarAxisProps = AxisProps & {
3620
+ /**
3621
+ * Values at which ticks should be placed on the axis.
3622
+ */
3623
+ tickValues?: number[] | Date[] | string[];
3624
+ /**
3625
+ * Format string for the axis ticks.
3626
+ * For numbers, see: https://d3js.org/d3-format.
3627
+ * And for dates see: https://d3js.org/d3-time-format.
3628
+ */
3629
+ tickFormat?: string;
3630
+ /**
3631
+ * Number of ticks to display on the axis.
3632
+ */
3633
+ tickCount?: number;
3634
+ /**
3635
+ * Defines the order of categories on the axis.
3636
+ * @default 'default'
3637
+ */
3638
+ categoryOrder?: AxisCategoryOrder;
3639
+ /**
3640
+ * Scale type for the axis.
3641
+ * @default 'default'
3642
+ */
3643
+ scaleType?: AxisScaleType;
3644
+ /**
3645
+ * Start value of the axis range.
3646
+ */
3647
+ rangeStart?: number | Date;
3648
+ /**
3649
+ * End value of the axis range.
3650
+ */
3651
+ rangeEnd?: number | Date;
3652
+ };
3653
+
3654
+ export declare const PolarChart: React_2.FunctionComponent<PolarChartProps>;
3655
+
3656
+ /**
3657
+ * Polar Chart properties
3658
+ * {@docCategory PolarChart}
3659
+ */
3660
+ export declare interface PolarChartProps {
3661
+ /**
3662
+ * Data series to be rendered in the polar chart.
3663
+ */
3664
+ data: (AreaPolarSeries | LinePolarSeries | ScatterPolarSeries)[];
3665
+ /**
3666
+ * Width of the polar chart.
3667
+ * @default 200
3668
+ */
3669
+ width?: number;
3670
+ /**
3671
+ * Height of the polar chart.
3672
+ * @default 200
3673
+ */
3674
+ height?: number;
3675
+ /**
3676
+ * Margins around the chart area.
3677
+ */
3678
+ margins?: Margins;
3679
+ /**
3680
+ * If true, hides the legend.
3681
+ * @default false
3682
+ */
3683
+ hideLegend?: boolean;
3684
+ /**
3685
+ * If true, hides the tooltip.
3686
+ * @default false
3687
+ */
3688
+ hideTooltip?: boolean;
3689
+ legendProps?: Partial<LegendsProps>;
3690
+ /**
3691
+ * Style properties for the polar chart.
3692
+ */
3693
+ styles?: PolarChartStyles;
3694
+ /**
3695
+ * Title of the chart.
3696
+ */
3697
+ chartTitle?: string;
3698
+ /**
3699
+ * Fraction of the radius to cut out from the center of the chart.
3700
+ * Accepts values in the range [0, 1].
3701
+ */
3702
+ hole?: number;
3703
+ /**
3704
+ * Shape of the polar chart.
3705
+ * @default 'circle'
3706
+ */
3707
+ shape?: 'circle' | 'polygon';
3708
+ /**
3709
+ * Direction in which the chart is drawn.
3710
+ * @default 'counterclockwise'
3711
+ */
3712
+ direction?: 'clockwise' | 'counterclockwise';
3713
+ /**
3714
+ * Configuration options for the radial axis.
3715
+ */
3716
+ radialAxis?: PolarAxisProps;
3717
+ /**
3718
+ * Configuration options for the angular axis.
3719
+ */
3720
+ angularAxis?: PolarAxisProps & {
3721
+ /**
3722
+ * Format unit for angular values.
3723
+ * @default 'degrees'
3724
+ */
3725
+ unit?: 'radians' | 'degrees';
3726
+ };
3727
+ /**
3728
+ * Optional callback to access the Chart interface. Use this instead of ref for accessing
3729
+ * the public methods and properties of the component.
3730
+ */
3731
+ componentRef?: React_2.Ref<Chart>;
3732
+ /**
3733
+ * Locale identifier string used to format numbers and dates according to the specified culture.
3734
+ * Example: 'en-US', 'fr-FR'.
3735
+ */
3736
+ culture?: string;
3737
+ /**
3738
+ * Options for localizing date values.
3739
+ */
3740
+ dateLocalizeOptions?: Intl.DateTimeFormatOptions;
3741
+ /**
3742
+ * If true, date values are treated as UTC dates.
3743
+ * @default false
3744
+ */
3745
+ useUTC?: boolean;
3746
+ }
3747
+
3748
+ /**
3749
+ * Polar Chart style properties
3750
+ * {@docCategory PolarChart}
3751
+ */
3752
+ export declare interface PolarChartStyleProps {
3753
+ }
3754
+
3755
+ /**
3756
+ * Polar Chart styles
3757
+ * {@docCategory PolarChart}
3758
+ */
3759
+ export declare interface PolarChartStyles {
3760
+ /**
3761
+ * Style for the root element.
3762
+ */
3763
+ root?: string;
3764
+ /**
3765
+ * Style for the chart wrapper element.
3766
+ */
3767
+ chartWrapper?: string;
3768
+ /**
3769
+ * Style for the chart element.
3770
+ */
3771
+ chart?: string;
3772
+ /**
3773
+ * Style for the inner grid lines.
3774
+ */
3775
+ gridLineInner?: string;
3776
+ /**
3777
+ * Style for the outer grid lines.
3778
+ */
3779
+ gridLineOuter?: string;
3780
+ /**
3781
+ * Style for the tick labels.
3782
+ */
3783
+ tickLabel?: string;
3784
+ /**
3785
+ * Style for the legend container.
3786
+ */
3787
+ legendContainer?: string;
3788
+ }
3789
+
3790
+ /**
3791
+ * Represents a single data point in a polar series.
3792
+ */
3793
+ export declare interface PolarDataPoint {
3794
+ /**
3795
+ * Radial value of the data point.
3796
+ */
3797
+ r: string | number | Date;
3798
+ /**
3799
+ * Angular value of the data point, specified as a category or in degrees.
3800
+ */
3801
+ theta: string | number;
3802
+ /**
3803
+ * Optional click handler for the data point.
3804
+ */
3805
+ onClick?: () => void;
3806
+ /**
3807
+ * Custom text to show in the callout in place of the radial axis value.
3808
+ */
3809
+ radialAxisCalloutData?: string;
3810
+ /**
3811
+ * Custom text to show in the callout in place of the angular axis value.
3812
+ */
3813
+ angularAxisCalloutData?: string;
3814
+ /**
3815
+ * Accessibility properties for the data point.
3816
+ */
3817
+ callOutAccessibilityData?: AccessibilityProps;
3818
+ /**
3819
+ * Custom marker size for the data point.
3820
+ */
3821
+ markerSize?: number;
3822
+ /**
3823
+ * Optional text to annotate or label the data point.
3824
+ */
3825
+ text?: string;
3826
+ /**
3827
+ * Color of the data point. If not provided, it will inherit the series color.
3828
+ */
3829
+ color?: string;
3830
+ }
3831
+
3514
3832
  export declare interface PopoverComponentStyles {
3515
3833
  calloutContentRoot: string;
3516
3834
  calloutDateTimeContainer: string;
@@ -3658,6 +3976,10 @@ export declare interface SankeyChartData {
3658
3976
  * {@docCategory SankeyChart}
3659
3977
  */
3660
3978
  export declare interface SankeyChartProps {
3979
+ /**
3980
+ * Title styles configuration for the chart title
3981
+ */
3982
+ titleStyles?: TitleStyles;
3661
3983
  /**
3662
3984
  * Data to render in the chart.
3663
3985
  */
@@ -3728,6 +4050,11 @@ export declare interface SankeyChartProps {
3728
4050
  * The prop used to define the culture to localize the numbers and date
3729
4051
  */
3730
4052
  culture?: string;
4053
+ /**
4054
+ * Whether to hide the legend
4055
+ * @default false
4056
+ */
4057
+ hideLegend?: boolean;
3731
4058
  /**
3732
4059
  * Props related to reflow behavior of the chart
3733
4060
  */
@@ -3785,6 +4112,14 @@ export declare interface SankeyChartStyles {
3785
4112
  * Styles for the chart svg element
3786
4113
  */
3787
4114
  chart?: string;
4115
+ /**
4116
+ * Style for SVG tooltip text
4117
+ */
4118
+ svgTooltip?: string;
4119
+ /**
4120
+ * Style for the chart title.
4121
+ */
4122
+ chartTitle?: string;
3788
4123
  }
3789
4124
 
3790
4125
  declare type SankeyLayoutGenerator = SankeyLayout<SankeyGraph<{}, {}>, {}, {}>;
@@ -3911,6 +4246,20 @@ export declare interface ScatterChartStyles extends CartesianChartStyles {
3911
4246
  markerLabel?: string;
3912
4247
  }
3913
4248
 
4249
+ /**
4250
+ * Represents a scatterpolar series.
4251
+ */
4252
+ export declare interface ScatterPolarSeries extends DataSeries {
4253
+ /**
4254
+ * Type discriminator: always 'scatterpolar' for this series.
4255
+ */
4256
+ type: 'scatterpolar';
4257
+ /**
4258
+ * Array of data points for the series.
4259
+ */
4260
+ data: PolarDataPoint[];
4261
+ }
4262
+
3914
4263
  /**
3915
4264
  * DeclarativeChart schema.
3916
4265
  * {@docCategory DeclarativeChart}
@@ -4043,6 +4392,35 @@ declare interface TextboxProps {
4043
4392
  fill?: string;
4044
4393
  }
4045
4394
 
4395
+ /**
4396
+ * Shared interface for chart title styling properties.
4397
+ * Used by components that display a chart title with customizable font, alignment, and padding.
4398
+ * {@docCategory TitleStyles}
4399
+ */
4400
+ declare interface TitleStyles {
4401
+ /**
4402
+ * Font configuration for the title
4403
+ */
4404
+ titleFont?: Partial<Font>;
4405
+ /**
4406
+ * Horizontal anchor/alignment for the chart title
4407
+ */
4408
+ titleXAnchor?: 'auto' | 'left' | 'center' | 'right';
4409
+ /**
4410
+ * Vertical anchor/alignment for the chart title
4411
+ */
4412
+ titleYAnchor?: 'auto' | 'top' | 'middle' | 'bottom';
4413
+ /**
4414
+ * Padding for the chart title
4415
+ */
4416
+ titlePad?: {
4417
+ t?: number;
4418
+ r?: number;
4419
+ b?: number;
4420
+ l?: number;
4421
+ };
4422
+ }
4423
+
4046
4424
  /**
4047
4425
  * VerticalBarchart component
4048
4426
  * {@docCategory VerticalBarChart}
@@ -0,0 +1 @@
1
+ export * from './components/PolarChart/index';
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/PolarChart.ts"],"sourcesContent":["export * from './components/PolarChart/index';\n"],"names":[],"mappings":"AAAA,cAAc,gCAAgC"}
@@ -188,7 +188,8 @@ export const AnnotationOnlyChart = (props)=>{
188
188
  role: "presentation"
189
189
  }, hasAnnotations ? /*#__PURE__*/ React.createElement(ChartAnnotationLayer, {
190
190
  annotations: resolvedAnnotations,
191
- context: context
191
+ context: context,
192
+ hideDefaultStyles: true
192
193
  }) : null)))));
193
194
  };
194
195
  AnnotationOnlyChart.displayName = 'AnnotationOnlyChart';
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/AnnotationOnlyChart/AnnotationOnlyChart.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { ChartAnnotationLayer } from '../CommonComponents/Annotations/ChartAnnotationLayer';\nimport { useRtl } from '../../utilities';\nimport { useAnnotationOnlyChartStyles } from './useAnnotationOnlyChartStyles.styles';\nimport type { AnnotationOnlyChartProps } from './AnnotationOnlyChart.types';\nimport type { ChartAnnotationContext } from '../CommonComponents/Annotations/ChartAnnotationLayer.types';\nimport { useImageExport } from '../../utilities/hooks';\n\nconst DEFAULT_HEIGHT = 650;\nconst FALLBACK_WIDTH = 400;\n\nconst buildPadding = (margin: AnnotationOnlyChartProps['margin']): string | undefined => {\n if (!margin) {\n return undefined;\n }\n\n const top = margin.t ?? 0;\n const right = margin.r ?? 0;\n const bottom = margin.b ?? 0;\n const left = margin.l ?? 0;\n\n if (top === 0 && right === 0 && bottom === 0 && left === 0) {\n return undefined;\n }\n\n return `${top}px ${right}px ${bottom}px ${left}px`;\n};\n\nexport const AnnotationOnlyChart: React.FC<AnnotationOnlyChartProps> = props => {\n const {\n annotations,\n chartTitle,\n description,\n width,\n height,\n paperBackgroundColor,\n plotBackgroundColor,\n fontColor,\n fontFamily,\n margin,\n componentRef,\n } = props;\n\n const isRtl = useRtl();\n const classes = useAnnotationOnlyChartStyles();\n const { chartContainerRef: containerRef } = useImageExport(componentRef, true, false);\n const contentRef = React.useRef<HTMLDivElement | null>(null);\n const [measuredWidth, setMeasuredWidth] = React.useState<number>(width ?? 0);\n const [contentHeight, setContentHeight] = React.useState<number>(height ?? DEFAULT_HEIGHT);\n\n React.useEffect(() => {\n if (typeof width === 'number' && width > 0) {\n setMeasuredWidth(width);\n return;\n }\n\n const node = containerRef.current;\n if (!node || typeof ResizeObserver === 'undefined') {\n const rect = node?.getBoundingClientRect();\n if (rect && rect.width > 0) {\n setMeasuredWidth(rect.width);\n } else {\n setMeasuredWidth(prev => (prev > 0 ? prev : FALLBACK_WIDTH));\n }\n return;\n }\n\n const observer = new ResizeObserver(entries => {\n const entry = entries[0];\n if (!entry) {\n return;\n }\n const newWidth = entry.contentRect.width;\n if (newWidth > 0 && Math.abs(newWidth - measuredWidth) > 0.5) {\n setMeasuredWidth(newWidth);\n }\n });\n\n const rect = node.getBoundingClientRect();\n if (rect.width > 0) {\n setMeasuredWidth(rect.width);\n }\n\n observer.observe(node);\n return () => observer.disconnect();\n }, [width, measuredWidth]);\n\n const resolvedWidth = Math.max(measuredWidth || FALLBACK_WIDTH, 1);\n const resolvedHeight = Math.max(height ?? DEFAULT_HEIGHT, 1);\n\n React.useEffect(() => {\n const node = contentRef.current;\n if (!node) {\n setContentHeight(prev => (prev > 0 ? prev : resolvedHeight));\n return;\n }\n\n if (typeof ResizeObserver === 'undefined') {\n const rect = node.getBoundingClientRect();\n setContentHeight(prev => (rect.height > 0 ? rect.height : prev > 0 ? prev : resolvedHeight));\n return;\n }\n\n const observer = new ResizeObserver(entries => {\n const entry = entries[0];\n if (!entry) {\n return;\n }\n\n const newHeight = entry.contentRect.height;\n if (newHeight > 0) {\n setContentHeight(prev => (Math.abs(prev - newHeight) > 0.5 ? newHeight : prev));\n }\n });\n\n const rect = node.getBoundingClientRect();\n setContentHeight(prev => (rect.height > 0 ? rect.height : prev > 0 ? prev : resolvedHeight));\n\n observer.observe(node);\n return () => observer.disconnect();\n }, [\n resolvedHeight,\n resolvedWidth,\n annotations,\n chartTitle,\n description,\n margin,\n plotBackgroundColor,\n paperBackgroundColor,\n fontColor,\n fontFamily,\n ]);\n\n const svgHeight = Math.max(Math.ceil(contentHeight || 0), resolvedHeight);\n\n const context: ChartAnnotationContext = {\n plotRect: { x: 0, y: 0, width: resolvedWidth, height: resolvedHeight },\n svgRect: { width: resolvedWidth, height: resolvedHeight },\n isRtl,\n };\n\n const padding = buildPadding(margin);\n\n // Inline styles for dynamic values that can't be in makeStyles\n const rootStyle: React.CSSProperties = React.useMemo(\n () => ({\n width: width ? `${width}px` : '100%',\n minHeight: resolvedHeight,\n ...(paperBackgroundColor && { backgroundColor: paperBackgroundColor }),\n ...(fontColor && { color: fontColor }),\n ...(fontFamily && { fontFamily }),\n ...(padding && { padding }),\n }),\n [fontColor, fontFamily, paperBackgroundColor, padding, resolvedHeight, width],\n );\n\n const contentStyle: React.CSSProperties = React.useMemo(\n () => ({\n ...(plotBackgroundColor && { backgroundColor: plotBackgroundColor }),\n }),\n [plotBackgroundColor],\n );\n\n const resolvedAnnotations = annotations ?? [];\n const hasAnnotations = resolvedAnnotations.length > 0;\n const ariaLabel = hasAnnotations ? description ?? chartTitle : undefined;\n\n return (\n <div ref={containerRef} data-chart-annotation-container=\"true\">\n <svg\n width={resolvedWidth}\n height={svgHeight}\n viewBox={`0 0 ${resolvedWidth} ${svgHeight}`}\n style={{ width: width ? `${width}px` : '100%', height: `${svgHeight}px`, display: 'block' }}\n role={ariaLabel ? 'img' : undefined}\n aria-label={ariaLabel}\n >\n <foreignObject x={0} y={0} width={resolvedWidth} height={svgHeight}>\n <div\n ref={contentRef}\n className={classes.root}\n style={rootStyle}\n data-chart-annotation-only=\"true\"\n aria-label={ariaLabel}\n >\n {chartTitle && (\n <span className={classes.title} aria-hidden=\"true\">\n {chartTitle}\n </span>\n )}\n <div className={classes.content} style={contentStyle} role=\"presentation\">\n {hasAnnotations ? <ChartAnnotationLayer annotations={resolvedAnnotations} context={context} /> : null}\n </div>\n </div>\n </foreignObject>\n </svg>\n </div>\n );\n};\n\nAnnotationOnlyChart.displayName = 'AnnotationOnlyChart';\n"],"names":["React","ChartAnnotationLayer","useRtl","useAnnotationOnlyChartStyles","useImageExport","DEFAULT_HEIGHT","FALLBACK_WIDTH","buildPadding","margin","undefined","top","t","right","r","bottom","b","left","l","AnnotationOnlyChart","props","annotations","chartTitle","description","width","height","paperBackgroundColor","plotBackgroundColor","fontColor","fontFamily","componentRef","isRtl","classes","chartContainerRef","containerRef","contentRef","useRef","measuredWidth","setMeasuredWidth","useState","contentHeight","setContentHeight","useEffect","node","current","ResizeObserver","rect","getBoundingClientRect","prev","observer","entries","entry","newWidth","contentRect","Math","abs","observe","disconnect","resolvedWidth","max","resolvedHeight","newHeight","svgHeight","ceil","context","plotRect","x","y","svgRect","padding","rootStyle","useMemo","minHeight","backgroundColor","color","contentStyle","resolvedAnnotations","hasAnnotations","length","ariaLabel","div","ref","data-chart-annotation-container","svg","viewBox","style","display","role","aria-label","foreignObject","className","root","data-chart-annotation-only","span","title","aria-hidden","content","displayName"],"mappings":"AAAA;AAEA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,oBAAoB,QAAQ,uDAAuD;AAC5F,SAASC,MAAM,QAAQ,kBAAkB;AACzC,SAASC,4BAA4B,QAAQ,wCAAwC;AAGrF,SAASC,cAAc,QAAQ,wBAAwB;AAEvD,MAAMC,iBAAiB;AACvB,MAAMC,iBAAiB;AAEvB,MAAMC,eAAe,CAACC;IACpB,IAAI,CAACA,QAAQ;QACX,OAAOC;IACT;QAEYD;IAAZ,MAAME,MAAMF,CAAAA,YAAAA,OAAOG,CAAC,cAARH,uBAAAA,YAAY;QACVA;IAAd,MAAMI,QAAQJ,CAAAA,YAAAA,OAAOK,CAAC,cAARL,uBAAAA,YAAY;QACXA;IAAf,MAAMM,SAASN,CAAAA,YAAAA,OAAOO,CAAC,cAARP,uBAAAA,YAAY;QACdA;IAAb,MAAMQ,OAAOR,CAAAA,YAAAA,OAAOS,CAAC,cAART,uBAAAA,YAAY;IAEzB,IAAIE,QAAQ,KAAKE,UAAU,KAAKE,WAAW,KAAKE,SAAS,GAAG;QAC1D,OAAOP;IACT;IAEA,OAAO,GAAGC,IAAI,GAAG,EAAEE,MAAM,GAAG,EAAEE,OAAO,GAAG,EAAEE,KAAK,EAAE,CAAC;AACpD;AAEA,OAAO,MAAME,sBAA0DC,CAAAA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MR,YAAY,QAAQrE;QAC1B8E,cAAYT;qBAEZ,oBAACU;QAAcvB,GAAG;QAAGC,GAAG;QAAG3C,OAAOkC;QAAejC,QAAQqC;qBACvD,oBAACkB;QACCC,KAAK9C;QACLuD,WAAW1D,QAAQ2D,IAAI;QACvBN,OAAOf;QACPsB,8BAA2B;QAC3BJ,cAAYT;OAEXzD,4BACC,oBAACuE;QAAKH,WAAW1D,QAAQ8D,KAAK;QAAEC,eAAY;OACzCzE,2BAGL,oBAAC0D;QAAIU,WAAW1D,QAAQgE,OAAO;QAAEX,OAAOV;QAAcY,MAAK;OACxDV,+BAAiB,oBAAC3E;QAAqBmB,aAAauD;QAAqBZ,SAASA;SAAc;AAO/G,EAAE;AAEF7C,oBAAoB8E,WAAW,GAAG"}
1
+ {"version":3,"sources":["../src/components/AnnotationOnlyChart/AnnotationOnlyChart.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { ChartAnnotationLayer } from '../CommonComponents/Annotations/ChartAnnotationLayer';\nimport { useRtl } from '../../utilities';\nimport { useAnnotationOnlyChartStyles } from './useAnnotationOnlyChartStyles.styles';\nimport type { AnnotationOnlyChartProps } from './AnnotationOnlyChart.types';\nimport type { ChartAnnotationContext } from '../CommonComponents/Annotations/ChartAnnotationLayer.types';\nimport { useImageExport } from '../../utilities/hooks';\n\nconst DEFAULT_HEIGHT = 650;\nconst FALLBACK_WIDTH = 400;\n\nconst buildPadding = (margin: AnnotationOnlyChartProps['margin']): string | undefined => {\n if (!margin) {\n return undefined;\n }\n\n const top = margin.t ?? 0;\n const right = margin.r ?? 0;\n const bottom = margin.b ?? 0;\n const left = margin.l ?? 0;\n\n if (top === 0 && right === 0 && bottom === 0 && left === 0) {\n return undefined;\n }\n\n return `${top}px ${right}px ${bottom}px ${left}px`;\n};\n\nexport const AnnotationOnlyChart: React.FC<AnnotationOnlyChartProps> = props => {\n const {\n annotations,\n chartTitle,\n description,\n width,\n height,\n paperBackgroundColor,\n plotBackgroundColor,\n fontColor,\n fontFamily,\n margin,\n componentRef,\n } = props;\n\n const isRtl = useRtl();\n const classes = useAnnotationOnlyChartStyles();\n const { chartContainerRef: containerRef } = useImageExport(componentRef, true, false);\n const contentRef = React.useRef<HTMLDivElement | null>(null);\n const [measuredWidth, setMeasuredWidth] = React.useState<number>(width ?? 0);\n const [contentHeight, setContentHeight] = React.useState<number>(height ?? DEFAULT_HEIGHT);\n\n React.useEffect(() => {\n if (typeof width === 'number' && width > 0) {\n setMeasuredWidth(width);\n return;\n }\n\n const node = containerRef.current;\n if (!node || typeof ResizeObserver === 'undefined') {\n const rect = node?.getBoundingClientRect();\n if (rect && rect.width > 0) {\n setMeasuredWidth(rect.width);\n } else {\n setMeasuredWidth(prev => (prev > 0 ? prev : FALLBACK_WIDTH));\n }\n return;\n }\n\n const observer = new ResizeObserver(entries => {\n const entry = entries[0];\n if (!entry) {\n return;\n }\n const newWidth = entry.contentRect.width;\n if (newWidth > 0 && Math.abs(newWidth - measuredWidth) > 0.5) {\n setMeasuredWidth(newWidth);\n }\n });\n\n const rect = node.getBoundingClientRect();\n if (rect.width > 0) {\n setMeasuredWidth(rect.width);\n }\n\n observer.observe(node);\n return () => observer.disconnect();\n }, [width, measuredWidth]);\n\n const resolvedWidth = Math.max(measuredWidth || FALLBACK_WIDTH, 1);\n const resolvedHeight = Math.max(height ?? DEFAULT_HEIGHT, 1);\n\n React.useEffect(() => {\n const node = contentRef.current;\n if (!node) {\n setContentHeight(prev => (prev > 0 ? prev : resolvedHeight));\n return;\n }\n\n if (typeof ResizeObserver === 'undefined') {\n const rect = node.getBoundingClientRect();\n setContentHeight(prev => (rect.height > 0 ? rect.height : prev > 0 ? prev : resolvedHeight));\n return;\n }\n\n const observer = new ResizeObserver(entries => {\n const entry = entries[0];\n if (!entry) {\n return;\n }\n\n const newHeight = entry.contentRect.height;\n if (newHeight > 0) {\n setContentHeight(prev => (Math.abs(prev - newHeight) > 0.5 ? newHeight : prev));\n }\n });\n\n const rect = node.getBoundingClientRect();\n setContentHeight(prev => (rect.height > 0 ? rect.height : prev > 0 ? prev : resolvedHeight));\n\n observer.observe(node);\n return () => observer.disconnect();\n }, [\n resolvedHeight,\n resolvedWidth,\n annotations,\n chartTitle,\n description,\n margin,\n plotBackgroundColor,\n paperBackgroundColor,\n fontColor,\n fontFamily,\n ]);\n\n const svgHeight = Math.max(Math.ceil(contentHeight || 0), resolvedHeight);\n\n const context: ChartAnnotationContext = {\n plotRect: { x: 0, y: 0, width: resolvedWidth, height: resolvedHeight },\n svgRect: { width: resolvedWidth, height: resolvedHeight },\n isRtl,\n };\n\n const padding = buildPadding(margin);\n\n // Inline styles for dynamic values that can't be in makeStyles\n const rootStyle: React.CSSProperties = React.useMemo(\n () => ({\n width: width ? `${width}px` : '100%',\n minHeight: resolvedHeight,\n ...(paperBackgroundColor && { backgroundColor: paperBackgroundColor }),\n ...(fontColor && { color: fontColor }),\n ...(fontFamily && { fontFamily }),\n ...(padding && { padding }),\n }),\n [fontColor, fontFamily, paperBackgroundColor, padding, resolvedHeight, width],\n );\n\n const contentStyle: React.CSSProperties = React.useMemo(\n () => ({\n ...(plotBackgroundColor && { backgroundColor: plotBackgroundColor }),\n }),\n [plotBackgroundColor],\n );\n\n const resolvedAnnotations = annotations ?? [];\n const hasAnnotations = resolvedAnnotations.length > 0;\n const ariaLabel = hasAnnotations ? description ?? chartTitle : undefined;\n\n return (\n <div ref={containerRef} data-chart-annotation-container=\"true\">\n <svg\n width={resolvedWidth}\n height={svgHeight}\n viewBox={`0 0 ${resolvedWidth} ${svgHeight}`}\n style={{ width: width ? `${width}px` : '100%', height: `${svgHeight}px`, display: 'block' }}\n role={ariaLabel ? 'img' : undefined}\n aria-label={ariaLabel}\n >\n <foreignObject x={0} y={0} width={resolvedWidth} height={svgHeight}>\n <div\n ref={contentRef}\n className={classes.root}\n style={rootStyle}\n data-chart-annotation-only=\"true\"\n aria-label={ariaLabel}\n >\n {chartTitle && (\n <span className={classes.title} aria-hidden=\"true\">\n {chartTitle}\n </span>\n )}\n <div className={classes.content} style={contentStyle} role=\"presentation\">\n {hasAnnotations ? (\n <ChartAnnotationLayer annotations={resolvedAnnotations} context={context} hideDefaultStyles={true} />\n ) : null}\n </div>\n </div>\n </foreignObject>\n </svg>\n </div>\n );\n};\n\nAnnotationOnlyChart.displayName = 'AnnotationOnlyChart';\n"],"names":["React","ChartAnnotationLayer","useRtl","useAnnotationOnlyChartStyles","useImageExport","DEFAULT_HEIGHT","FALLBACK_WIDTH","buildPadding","margin","undefined","top","t","right","r","bottom","b","left","l","AnnotationOnlyChart","props","annotations","chartTitle","description","width","height","paperBackgroundColor","plotBackgroundColor","fontColor","fontFamily","componentRef","isRtl","classes","chartContainerRef","containerRef","contentRef","useRef","measuredWidth","setMeasuredWidth","useState","contentHeight","setContentHeight","useEffect","node","current","ResizeObserver","rect","getBoundingClientRect","prev","observer","entries","entry","newWidth","contentRect","Math","abs","observe","disconnect","resolvedWidth","max","resolvedHeight","newHeight","svgHeight","ceil","context","plotRect","x","y","svgRect","padding","rootStyle","useMemo","minHeight","backgroundColor","color","contentStyle","resolvedAnnotations","hasAnnotations","length","ariaLabel","div","ref","data-chart-annotation-container","svg","viewBox","style","display","role","aria-label","foreignObject","className","root","data-chart-annotation-only","span","title","aria-hidden","content","hideDefaultStyles","displayName"],"mappings":"AAAA;AAEA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,oBAAoB,QAAQ,uDAAuD;AAC5F,SAASC,MAAM,QAAQ,kBAAkB;AACzC,SAASC,4BAA4B,QAAQ,wCAAwC;AAGrF,SAASC,cAAc,QAAQ,wBAAwB;AAEvD,MAAMC,iBAAiB;AACvB,MAAMC,iBAAiB;AAEvB,MAAMC,eAAe,CAACC;IACpB,IAAI,CAACA,QAAQ;QACX,OAAOC;IACT;QAEYD;IAAZ,MAAME,MAAMF,CAAAA,YAAAA,OAAOG,CAAC,cAARH,uBAAAA,YAAY;QACVA;IAAd,MAAMI,QAAQJ,CAAAA,YAAAA,OAAOK,CAAC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