@fluentui/react-charts 9.3.7 → 9.3.9

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 (259) hide show
  1. package/CHANGELOG.md +60 -2
  2. package/dist/index.d.ts +433 -7
  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/AreaChart/AreaChart.js +1 -28
  8. package/lib/components/AreaChart/AreaChart.js.map +1 -1
  9. package/lib/components/AreaChart/useAreaChartStyles.styles.js +1 -2
  10. package/lib/components/AreaChart/useAreaChartStyles.styles.js.map +1 -1
  11. package/lib/components/ChartTable/ChartTable.js +27 -8
  12. package/lib/components/ChartTable/ChartTable.js.map +1 -1
  13. package/lib/components/ChartTable/ChartTable.types.js.map +1 -1
  14. package/lib/components/ChartTable/useChartTableStyles.styles.js +24 -3
  15. package/lib/components/ChartTable/useChartTableStyles.styles.js.map +1 -1
  16. package/lib/components/ChartTable/useChartTableStyles.styles.raw.js +14 -2
  17. package/lib/components/ChartTable/useChartTableStyles.styles.raw.js.map +1 -1
  18. package/lib/components/CommonComponents/Annotations/ChartAnnotationLayer.js +111 -69
  19. package/lib/components/CommonComponents/Annotations/ChartAnnotationLayer.js.map +1 -1
  20. package/lib/components/CommonComponents/Annotations/ChartAnnotationLayer.types.js.map +1 -1
  21. package/lib/components/CommonComponents/Annotations/useChartAnnotationLayer.styles.js +54 -4
  22. package/lib/components/CommonComponents/Annotations/useChartAnnotationLayer.styles.js.map +1 -1
  23. package/lib/components/CommonComponents/Annotations/useChartAnnotationLayer.styles.raw.js +31 -18
  24. package/lib/components/CommonComponents/Annotations/useChartAnnotationLayer.styles.raw.js.map +1 -1
  25. package/lib/components/CommonComponents/CartesianChart.js +81 -44
  26. package/lib/components/CommonComponents/CartesianChart.js.map +1 -1
  27. package/lib/components/CommonComponents/CartesianChart.types.js.map +1 -1
  28. package/lib/components/CommonComponents/useCartesianChartStyles.styles.js +5 -5
  29. package/lib/components/CommonComponents/useCartesianChartStyles.styles.js.map +1 -1
  30. package/lib/components/CommonComponents/useCartesianChartStyles.styles.raw.js +4 -3
  31. package/lib/components/CommonComponents/useCartesianChartStyles.styles.raw.js.map +1 -1
  32. package/lib/components/DeclarativeChart/DeclarativeChart.js +33 -29
  33. package/lib/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
  34. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js +643 -366
  35. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  36. package/lib/components/DonutChart/DonutChart.js +24 -9
  37. package/lib/components/DonutChart/DonutChart.js.map +1 -1
  38. package/lib/components/DonutChart/DonutChart.types.js.map +1 -1
  39. package/lib/components/DonutChart/useDonutChartStyles.styles.js +25 -5
  40. package/lib/components/DonutChart/useDonutChartStyles.styles.js.map +1 -1
  41. package/lib/components/DonutChart/useDonutChartStyles.styles.raw.js +16 -5
  42. package/lib/components/DonutChart/useDonutChartStyles.styles.raw.js.map +1 -1
  43. package/lib/components/FunnelChart/FunnelChart.js +33 -8
  44. package/lib/components/FunnelChart/FunnelChart.js.map +1 -1
  45. package/lib/components/FunnelChart/FunnelChart.types.js.map +1 -1
  46. package/lib/components/FunnelChart/useFunnelChartStyles.styles.js +26 -4
  47. package/lib/components/FunnelChart/useFunnelChartStyles.styles.js.map +1 -1
  48. package/lib/components/FunnelChart/useFunnelChartStyles.styles.raw.js +15 -3
  49. package/lib/components/FunnelChart/useFunnelChartStyles.styles.raw.js.map +1 -1
  50. package/lib/components/GanttChart/GanttChart.js +1 -1
  51. package/lib/components/GanttChart/GanttChart.js.map +1 -1
  52. package/lib/components/GaugeChart/GaugeChart.js +13 -9
  53. package/lib/components/GaugeChart/GaugeChart.js.map +1 -1
  54. package/lib/components/GaugeChart/GaugeChart.types.js.map +1 -1
  55. package/lib/components/GaugeChart/useGaugeChartStyles.styles.js +31 -19
  56. package/lib/components/GaugeChart/useGaugeChartStyles.styles.js.map +1 -1
  57. package/lib/components/GaugeChart/useGaugeChartStyles.styles.raw.js +23 -18
  58. package/lib/components/GaugeChart/useGaugeChartStyles.styles.raw.js.map +1 -1
  59. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +18 -18
  60. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -1
  61. package/lib/components/GroupedVerticalBarChart/useGroupedVerticalBarChartStyles.styles.js +1 -2
  62. package/lib/components/GroupedVerticalBarChart/useGroupedVerticalBarChartStyles.styles.js.map +1 -1
  63. package/lib/components/HeatMapChart/HeatMapChart.js +5 -1
  64. package/lib/components/HeatMapChart/HeatMapChart.js.map +1 -1
  65. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +60 -10
  66. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -1
  67. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -1
  68. package/lib/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.js +18 -3
  69. package/lib/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.js.map +1 -1
  70. package/lib/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.raw.js +13 -2
  71. package/lib/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.raw.js.map +1 -1
  72. package/lib/components/Legends/Legends.js +3 -4
  73. package/lib/components/Legends/Legends.js.map +1 -1
  74. package/lib/components/Legends/OverflowMenu.js +9 -2
  75. package/lib/components/Legends/OverflowMenu.js.map +1 -1
  76. package/lib/components/LineChart/LineChart.js +65 -64
  77. package/lib/components/LineChart/LineChart.js.map +1 -1
  78. package/lib/components/LineChart/useLineChartStyles.styles.js +1 -2
  79. package/lib/components/LineChart/useLineChartStyles.styles.js.map +1 -1
  80. package/lib/components/PolarChart/PolarChart.js +577 -0
  81. package/lib/components/PolarChart/PolarChart.js.map +1 -0
  82. package/lib/components/PolarChart/PolarChart.types.js +1 -0
  83. package/lib/components/PolarChart/PolarChart.types.js.map +1 -0
  84. package/lib/components/PolarChart/PolarChart.utils.js +174 -0
  85. package/lib/components/PolarChart/PolarChart.utils.js.map +1 -0
  86. package/lib/components/PolarChart/index.js +2 -0
  87. package/lib/components/PolarChart/index.js.map +1 -0
  88. package/lib/components/PolarChart/usePolarChartStyles.styles.js +72 -0
  89. package/lib/components/PolarChart/usePolarChartStyles.styles.js.map +1 -0
  90. package/lib/components/PolarChart/usePolarChartStyles.styles.raw.js +61 -0
  91. package/lib/components/PolarChart/usePolarChartStyles.styles.raw.js.map +1 -0
  92. package/lib/components/SankeyChart/SankeyChart.js +15 -5
  93. package/lib/components/SankeyChart/SankeyChart.js.map +1 -1
  94. package/lib/components/SankeyChart/SankeyChart.types.js.map +1 -1
  95. package/lib/components/SankeyChart/useSankeyChartStyles.styles.js +24 -8
  96. package/lib/components/SankeyChart/useSankeyChartStyles.styles.js.map +1 -1
  97. package/lib/components/SankeyChart/useSankeyChartStyles.styles.raw.js +15 -5
  98. package/lib/components/SankeyChart/useSankeyChartStyles.styles.raw.js.map +1 -1
  99. package/lib/components/ScatterChart/ScatterChart.js +13 -25
  100. package/lib/components/ScatterChart/ScatterChart.js.map +1 -1
  101. package/lib/components/ScatterChart/ScatterChart.types.js.map +1 -1
  102. package/lib/components/ScatterChart/useScatterChartStyles.styles.js +1 -2
  103. package/lib/components/ScatterChart/useScatterChartStyles.styles.js.map +1 -1
  104. package/lib/components/VerticalBarChart/VerticalBarChart.js +13 -78
  105. package/lib/components/VerticalBarChart/VerticalBarChart.js.map +1 -1
  106. package/lib/components/VerticalBarChart/useVerticalBarChartStyles.styles.js +1 -2
  107. package/lib/components/VerticalBarChart/useVerticalBarChartStyles.styles.js.map +1 -1
  108. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js +48 -68
  109. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -1
  110. package/lib/components/VerticalStackedBarChart/useVerticalStackedBarChartStyles.styles.js +1 -2
  111. package/lib/components/VerticalStackedBarChart/useVerticalStackedBarChartStyles.styles.js.map +1 -1
  112. package/lib/index.js +1 -0
  113. package/lib/index.js.map +1 -1
  114. package/lib/types/ChartAnnotation.js.map +1 -1
  115. package/lib/types/DataPoint.js +1 -1
  116. package/lib/types/DataPoint.js.map +1 -1
  117. package/lib/utilities/ChartTitle.js +45 -0
  118. package/lib/utilities/ChartTitle.js.map +1 -0
  119. package/lib/utilities/Common.styles.js +73 -2
  120. package/lib/utilities/Common.styles.js.map +1 -1
  121. package/lib/utilities/Common.styles.raw.js +70 -1
  122. package/lib/utilities/Common.styles.raw.js.map +1 -1
  123. package/lib/utilities/image-export-utils.js +4 -4
  124. package/lib/utilities/image-export-utils.js.map +1 -1
  125. package/lib/utilities/index.js +1 -0
  126. package/lib/utilities/index.js.map +1 -1
  127. package/lib/utilities/utilities.js +219 -77
  128. package/lib/utilities/utilities.js.map +1 -1
  129. package/lib-commonjs/PolarChart.js +6 -0
  130. package/lib-commonjs/PolarChart.js.map +1 -0
  131. package/lib-commonjs/components/AnnotationOnlyChart/AnnotationOnlyChart.js +2 -1
  132. package/lib-commonjs/components/AnnotationOnlyChart/AnnotationOnlyChart.js.map +1 -1
  133. package/lib-commonjs/components/AreaChart/AreaChart.js +0 -26
  134. package/lib-commonjs/components/AreaChart/AreaChart.js.map +1 -1
  135. package/lib-commonjs/components/AreaChart/useAreaChartStyles.styles.js +0 -2
  136. package/lib-commonjs/components/AreaChart/useAreaChartStyles.styles.js.map +1 -1
  137. package/lib-commonjs/components/ChartTable/ChartTable.js +27 -8
  138. package/lib-commonjs/components/ChartTable/ChartTable.js.map +1 -1
  139. package/lib-commonjs/components/ChartTable/ChartTable.types.js.map +1 -1
  140. package/lib-commonjs/components/ChartTable/useChartTableStyles.styles.js +34 -3
  141. package/lib-commonjs/components/ChartTable/useChartTableStyles.styles.js.map +1 -1
  142. package/lib-commonjs/components/ChartTable/useChartTableStyles.styles.raw.js +14 -2
  143. package/lib-commonjs/components/ChartTable/useChartTableStyles.styles.raw.js.map +1 -1
  144. package/lib-commonjs/components/CommonComponents/Annotations/ChartAnnotationLayer.js +111 -69
  145. package/lib-commonjs/components/CommonComponents/Annotations/ChartAnnotationLayer.js.map +1 -1
  146. package/lib-commonjs/components/CommonComponents/Annotations/ChartAnnotationLayer.types.js.map +1 -1
  147. package/lib-commonjs/components/CommonComponents/Annotations/useChartAnnotationLayer.styles.js +65 -5
  148. package/lib-commonjs/components/CommonComponents/Annotations/useChartAnnotationLayer.styles.js.map +1 -1
  149. package/lib-commonjs/components/CommonComponents/Annotations/useChartAnnotationLayer.styles.raw.js +31 -18
  150. package/lib-commonjs/components/CommonComponents/Annotations/useChartAnnotationLayer.styles.raw.js.map +1 -1
  151. package/lib-commonjs/components/CommonComponents/CartesianChart.js +80 -43
  152. package/lib-commonjs/components/CommonComponents/CartesianChart.js.map +1 -1
  153. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +1 -1
  154. package/lib-commonjs/components/CommonComponents/useCartesianChartStyles.styles.js +3 -4
  155. package/lib-commonjs/components/CommonComponents/useCartesianChartStyles.styles.js.map +1 -1
  156. package/lib-commonjs/components/CommonComponents/useCartesianChartStyles.styles.raw.js +3 -2
  157. package/lib-commonjs/components/CommonComponents/useCartesianChartStyles.styles.raw.js.map +1 -1
  158. package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js +59 -56
  159. package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
  160. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js +649 -368
  161. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  162. package/lib-commonjs/components/DonutChart/DonutChart.js +22 -7
  163. package/lib-commonjs/components/DonutChart/DonutChart.js.map +1 -1
  164. package/lib-commonjs/components/DonutChart/DonutChart.types.js.map +1 -1
  165. package/lib-commonjs/components/DonutChart/useDonutChartStyles.styles.js +31 -4
  166. package/lib-commonjs/components/DonutChart/useDonutChartStyles.styles.js.map +1 -1
  167. package/lib-commonjs/components/DonutChart/useDonutChartStyles.styles.raw.js +15 -4
  168. package/lib-commonjs/components/DonutChart/useDonutChartStyles.styles.raw.js.map +1 -1
  169. package/lib-commonjs/components/FunnelChart/FunnelChart.js +31 -6
  170. package/lib-commonjs/components/FunnelChart/FunnelChart.js.map +1 -1
  171. package/lib-commonjs/components/FunnelChart/FunnelChart.types.js.map +1 -1
  172. package/lib-commonjs/components/FunnelChart/useFunnelChartStyles.styles.js +36 -4
  173. package/lib-commonjs/components/FunnelChart/useFunnelChartStyles.styles.js.map +1 -1
  174. package/lib-commonjs/components/FunnelChart/useFunnelChartStyles.styles.raw.js +15 -3
  175. package/lib-commonjs/components/FunnelChart/useFunnelChartStyles.styles.raw.js.map +1 -1
  176. package/lib-commonjs/components/GanttChart/GanttChart.js +1 -1
  177. package/lib-commonjs/components/GanttChart/GanttChart.js.map +1 -1
  178. package/lib-commonjs/components/GaugeChart/GaugeChart.js +11 -7
  179. package/lib-commonjs/components/GaugeChart/GaugeChart.js.map +1 -1
  180. package/lib-commonjs/components/GaugeChart/GaugeChart.types.js.map +1 -1
  181. package/lib-commonjs/components/GaugeChart/useGaugeChartStyles.styles.js +39 -18
  182. package/lib-commonjs/components/GaugeChart/useGaugeChartStyles.styles.js.map +1 -1
  183. package/lib-commonjs/components/GaugeChart/useGaugeChartStyles.styles.raw.js +23 -18
  184. package/lib-commonjs/components/GaugeChart/useGaugeChartStyles.styles.raw.js.map +1 -1
  185. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +16 -16
  186. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -1
  187. package/lib-commonjs/components/GroupedVerticalBarChart/useGroupedVerticalBarChartStyles.styles.js +0 -2
  188. package/lib-commonjs/components/GroupedVerticalBarChart/useGroupedVerticalBarChartStyles.styles.js.map +1 -1
  189. package/lib-commonjs/components/HeatMapChart/HeatMapChart.js +5 -1
  190. package/lib-commonjs/components/HeatMapChart/HeatMapChart.js.map +1 -1
  191. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +59 -9
  192. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -1
  193. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -1
  194. package/lib-commonjs/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.js +26 -3
  195. package/lib-commonjs/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.js.map +1 -1
  196. package/lib-commonjs/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.raw.js +13 -2
  197. package/lib-commonjs/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.raw.js.map +1 -1
  198. package/lib-commonjs/components/Legends/Legends.js +3 -4
  199. package/lib-commonjs/components/Legends/Legends.js.map +1 -1
  200. package/lib-commonjs/components/Legends/OverflowMenu.js +9 -2
  201. package/lib-commonjs/components/Legends/OverflowMenu.js.map +1 -1
  202. package/lib-commonjs/components/LineChart/LineChart.js +64 -63
  203. package/lib-commonjs/components/LineChart/LineChart.js.map +1 -1
  204. package/lib-commonjs/components/LineChart/useLineChartStyles.styles.js +0 -2
  205. package/lib-commonjs/components/LineChart/useLineChartStyles.styles.js.map +1 -1
  206. package/lib-commonjs/components/PolarChart/PolarChart.js +587 -0
  207. package/lib-commonjs/components/PolarChart/PolarChart.js.map +1 -0
  208. package/lib-commonjs/components/PolarChart/PolarChart.types.js +6 -0
  209. package/lib-commonjs/components/PolarChart/PolarChart.types.js.map +1 -0
  210. package/lib-commonjs/components/PolarChart/PolarChart.utils.js +204 -0
  211. package/lib-commonjs/components/PolarChart/PolarChart.utils.js.map +1 -0
  212. package/lib-commonjs/components/PolarChart/index.js +7 -0
  213. package/lib-commonjs/components/PolarChart/index.js.map +1 -0
  214. package/lib-commonjs/components/PolarChart/usePolarChartStyles.styles.js +107 -0
  215. package/lib-commonjs/components/PolarChart/usePolarChartStyles.styles.js.map +1 -0
  216. package/lib-commonjs/components/PolarChart/usePolarChartStyles.styles.raw.js +75 -0
  217. package/lib-commonjs/components/PolarChart/usePolarChartStyles.styles.raw.js.map +1 -0
  218. package/lib-commonjs/components/SankeyChart/SankeyChart.js +15 -5
  219. package/lib-commonjs/components/SankeyChart/SankeyChart.js.map +1 -1
  220. package/lib-commonjs/components/SankeyChart/SankeyChart.types.js.map +1 -1
  221. package/lib-commonjs/components/SankeyChart/useSankeyChartStyles.styles.js +28 -6
  222. package/lib-commonjs/components/SankeyChart/useSankeyChartStyles.styles.js.map +1 -1
  223. package/lib-commonjs/components/SankeyChart/useSankeyChartStyles.styles.raw.js +14 -3
  224. package/lib-commonjs/components/SankeyChart/useSankeyChartStyles.styles.raw.js.map +1 -1
  225. package/lib-commonjs/components/ScatterChart/ScatterChart.js +12 -24
  226. package/lib-commonjs/components/ScatterChart/ScatterChart.js.map +1 -1
  227. package/lib-commonjs/components/ScatterChart/ScatterChart.types.js.map +1 -1
  228. package/lib-commonjs/components/ScatterChart/useScatterChartStyles.styles.js +0 -2
  229. package/lib-commonjs/components/ScatterChart/useScatterChartStyles.styles.js.map +1 -1
  230. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js +12 -77
  231. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js.map +1 -1
  232. package/lib-commonjs/components/VerticalBarChart/useVerticalBarChartStyles.styles.js +0 -2
  233. package/lib-commonjs/components/VerticalBarChart/useVerticalBarChartStyles.styles.js.map +1 -1
  234. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js +47 -67
  235. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -1
  236. package/lib-commonjs/components/VerticalStackedBarChart/useVerticalStackedBarChartStyles.styles.js +0 -2
  237. package/lib-commonjs/components/VerticalStackedBarChart/useVerticalStackedBarChartStyles.styles.js.map +1 -1
  238. package/lib-commonjs/index.js +1 -0
  239. package/lib-commonjs/index.js.map +1 -1
  240. package/lib-commonjs/types/ChartAnnotation.js.map +1 -1
  241. package/lib-commonjs/types/DataPoint.js +1 -1
  242. package/lib-commonjs/types/DataPoint.js.map +1 -1
  243. package/lib-commonjs/utilities/ChartTitle.js +53 -0
  244. package/lib-commonjs/utilities/ChartTitle.js.map +1 -0
  245. package/lib-commonjs/utilities/Common.styles.js +69 -1
  246. package/lib-commonjs/utilities/Common.styles.js.map +1 -1
  247. package/lib-commonjs/utilities/Common.styles.raw.js +69 -1
  248. package/lib-commonjs/utilities/Common.styles.raw.js.map +1 -1
  249. package/lib-commonjs/utilities/image-export-utils.js +3 -3
  250. package/lib-commonjs/utilities/image-export-utils.js.map +1 -1
  251. package/lib-commonjs/utilities/index.js +1 -0
  252. package/lib-commonjs/utilities/index.js.map +1 -1
  253. package/lib-commonjs/utilities/utilities.js +235 -78
  254. package/lib-commonjs/utilities/utilities.js.map +1 -1
  255. package/package.json +11 -17
  256. package/lib/components/DeclarativeChart/imageExporter.js +0 -223
  257. package/lib/components/DeclarativeChart/imageExporter.js.map +0 -1
  258. package/lib-commonjs/components/DeclarativeChart/imageExporter.js +0 -233
  259. package/lib-commonjs/components/DeclarativeChart/imageExporter.js.map +0 -1
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.
@@ -407,7 +430,7 @@ export declare interface CartesianChartProps {
407
430
  */
408
431
  xMinValue?: number;
409
432
  /**
410
- * maximum data value point in x-axis (for numeric x-axis)
433
+ * maximum data value point in x-axis
411
434
  */
412
435
  xMaxValue?: number;
413
436
  /**
@@ -597,7 +620,17 @@ export declare interface CartesianChartProps {
597
620
  * Configuration for the x-axis.
598
621
  * Use this to control `tickStep`, `tick0`, etc.
599
622
  */
600
- xAxis?: AxisProps;
623
+ xAxis?: AxisProps & {
624
+ /**
625
+ * Controls how x-axis tick labels are laid out.
626
+ *
627
+ * - `'auto'`: Tick labels are automatically wrapped, truncated, and staggered
628
+ * across alternating levels based on the available space to prevent overlap.
629
+ *
630
+ * @default 'default'
631
+ */
632
+ tickLayout?: 'default' | 'auto';
633
+ };
601
634
  /**
602
635
  * Configuration for the y-axis.
603
636
  * Use this to control `tickStep`, `tick0`, etc.
@@ -809,17 +842,37 @@ export declare interface ChartAnnotationContext {
809
842
  }
810
843
 
811
844
  export declare type ChartAnnotationCoordinate = {
812
- /** Cartesian data coordinates mapped through the chart scales or
813
- * Normalised coordinates within the plot area (0-1) or
814
- * Absolute pixel position relative to the chart's SVG origin
815
- */
816
- type: 'data' | 'relative' | 'pixel';
845
+ /** Cartesian data coordinates mapped through the chart scales */
846
+ type: 'data';
817
847
  /** x-axis value in the data domain */
818
848
  x: number | string | Date;
819
849
  /** y-axis value in the data domain */
820
850
  y: number | string | Date;
821
851
  /** Use the secondary y scale when available */
822
852
  yAxis?: 'primary' | 'secondary';
853
+ } | {
854
+ /** Normalised coordinates within the plot area (0-1) */
855
+ type: 'relative';
856
+ /** Fractional x-position inside the plot area */
857
+ x: number;
858
+ /** Fractional y-position inside the plot area */
859
+ y: number;
860
+ } | {
861
+ /** Absolute pixel position relative to the chart's plot origin */
862
+ type: 'pixel';
863
+ /** Horizontal pixel offset from the plot origin */
864
+ x: number;
865
+ /** Vertical pixel offset from the plot origin */
866
+ y: number;
867
+ } | {
868
+ /** Mixed coordinate systems per axis (e.g., data X + relative Y) */
869
+ type: 'mixed';
870
+ xCoordinateType: 'data' | 'relative' | 'pixel';
871
+ yCoordinateType: 'data' | 'relative' | 'pixel';
872
+ x: number | string | Date;
873
+ y: number | string | Date;
874
+ /** Use the secondary y scale when the Y coordinate maps to data */
875
+ yAxis?: 'primary' | 'secondary';
823
876
  };
824
877
 
825
878
  export declare type ChartAnnotationHorizontalAlign = 'start' | 'center' | 'end';
@@ -830,6 +883,11 @@ export declare interface ChartAnnotationLayerProps {
830
883
  annotations?: ChartAnnotation[];
831
884
  context: ChartAnnotationContext;
832
885
  className?: string;
886
+ /**
887
+ * When true, removes default border, shadow, and background styling from annotations.
888
+ * @default false
889
+ */
890
+ hideDefaultStyles?: boolean;
833
891
  }
834
892
 
835
893
  export declare interface ChartAnnotationLayoutProps {
@@ -1016,6 +1074,10 @@ export declare const ChartTable: React_2.FunctionComponent<ChartTableProps>;
1016
1074
  * {@docCategory ChartTable}
1017
1075
  */
1018
1076
  export declare interface ChartTableProps {
1077
+ /**
1078
+ * Title styles configuration for the chart title
1079
+ */
1080
+ titleStyles?: TitleStyles;
1019
1081
  /**
1020
1082
  * 1d or 2d Array of header values.
1021
1083
  */
@@ -1040,6 +1102,10 @@ export declare interface ChartTableProps {
1040
1102
  * @default '650px'
1041
1103
  */
1042
1104
  height?: string | number;
1105
+ /**
1106
+ * Chart title to display above the table
1107
+ */
1108
+ chartTitle?: string;
1043
1109
  /**
1044
1110
  * Additional class name(s) to apply to the table chart
1045
1111
  */
@@ -1065,6 +1131,8 @@ export declare interface ChartTableStyles {
1065
1131
  headerCell?: string;
1066
1132
  bodyCell?: string;
1067
1133
  chart?: string;
1134
+ chartTitle?: string;
1135
+ svgTooltip?: string;
1068
1136
  }
1069
1137
 
1070
1138
  declare enum ChartTypes {
@@ -1339,6 +1407,10 @@ export declare const DonutChart: React_2.FunctionComponent<DonutChartProps>;
1339
1407
  * {@docCategory DonutChart}
1340
1408
  */
1341
1409
  export declare interface DonutChartProps extends CartesianChartProps {
1410
+ /**
1411
+ * Title styles configuration for the chart title
1412
+ */
1413
+ titleStyles?: TitleStyles;
1342
1414
  /**
1343
1415
  * Data to render in the chart.
1344
1416
  */
@@ -1459,6 +1531,10 @@ export declare interface DonutChartStyles {
1459
1531
  * Style for the legend container.
1460
1532
  */
1461
1533
  legendContainer: string;
1534
+ /**
1535
+ * Style for the chart title.
1536
+ */
1537
+ chartTitle?: string;
1462
1538
  /**
1463
1539
  * styles for axis annotation
1464
1540
  */
@@ -1467,6 +1543,10 @@ export declare interface DonutChartStyles {
1467
1543
  * Styles for the chart wrapper div
1468
1544
  */
1469
1545
  chartWrapper?: string;
1546
+ /**
1547
+ * Style for SVG tooltip text
1548
+ */
1549
+ svgTooltip?: string;
1470
1550
  }
1471
1551
 
1472
1552
  export declare interface DPointType {
@@ -1536,6 +1616,10 @@ export declare interface FunnelChartDataPoint {
1536
1616
  * {@docCategory FunnelChart}
1537
1617
  */
1538
1618
  export declare interface FunnelChartProps {
1619
+ /**
1620
+ * Title styles configuration for the chart title
1621
+ */
1622
+ titleStyles?: TitleStyles;
1539
1623
  /**
1540
1624
  * Data points for the funnel chart
1541
1625
  */
@@ -1620,10 +1704,18 @@ export declare interface FunnelChartStyles {
1620
1704
  * Styles for the chart
1621
1705
  */
1622
1706
  chart?: string;
1707
+ /**
1708
+ * Style for the chart title.
1709
+ */
1710
+ chartTitle?: string;
1623
1711
  /**
1624
1712
  * Styles for text elements
1625
1713
  */
1626
1714
  text?: string;
1715
+ /**
1716
+ * Style for SVG tooltip text
1717
+ */
1718
+ svgTooltip?: string;
1627
1719
  /**
1628
1720
  * Styles for the callout root element
1629
1721
  */
@@ -1752,6 +1844,10 @@ export declare const GaugeChart: React_2.FunctionComponent<GaugeChartProps>;
1752
1844
  * {@docCategory GaugeChart}
1753
1845
  */
1754
1846
  export declare interface GaugeChartProps {
1847
+ /**
1848
+ * Title styles configuration for the chart title
1849
+ */
1850
+ titleStyles?: TitleStyles;
1755
1851
  /**
1756
1852
  * Width of the chart
1757
1853
  */
@@ -1900,6 +1996,10 @@ export declare interface GaugeChartStyles {
1900
1996
  * Styles for the chart title
1901
1997
  */
1902
1998
  chartTitle?: string;
1999
+ /**
2000
+ * Style for SVG tooltip text
2001
+ */
2002
+ svgTooltip?: string;
1903
2003
  /**
1904
2004
  * Styles for the segments
1905
2005
  */
@@ -2146,6 +2246,10 @@ export declare interface GVBarChartSeriesPoint {
2146
2246
  * False by default.
2147
2247
  */
2148
2248
  useSecondaryYScale?: boolean;
2249
+ /**
2250
+ * Label to display on the bar
2251
+ */
2252
+ barLabel?: string;
2149
2253
  }
2150
2254
 
2151
2255
  export declare interface GVDataPoint {
@@ -2527,6 +2631,10 @@ export declare interface HorizontalBarChartWithAxisDataPoint {
2527
2631
  * This is an optional prop, If haven't given data will take
2528
2632
  */
2529
2633
  yAxisCalloutData?: string;
2634
+ /**
2635
+ * Label to display on the bar
2636
+ */
2637
+ barLabel?: string;
2530
2638
  /**
2531
2639
  * onClick action for each datapoint in the chart
2532
2640
  */
@@ -2591,6 +2699,11 @@ export declare interface HorizontalBarChartWithAxisProps extends CartesianChartP
2591
2699
  * The prop used to enable rounded corners for the bars.
2592
2700
  */
2593
2701
  roundCorners?: boolean;
2702
+ /**
2703
+ * Prop to hide the bar labels
2704
+ * @default false
2705
+ */
2706
+ hideLabels?: boolean;
2594
2707
  }
2595
2708
 
2596
2709
  /**
@@ -2648,6 +2761,10 @@ export declare interface HorizontalBarChartWithAxisStyles extends CartesianChart
2648
2761
  * Style to change the opacity of bars in dataviz when we hover on a single bar or legends
2649
2762
  */
2650
2763
  opacityChangeOnHover: string;
2764
+ /**
2765
+ * Style for the bar labels displayed at the end of each bar
2766
+ */
2767
+ barLabel?: string;
2651
2768
  }
2652
2769
 
2653
2770
  /**
@@ -3261,6 +3378,24 @@ export declare interface LineDataInVerticalStackedBarChart {
3261
3378
  lineOptions?: LineChartLineOptions;
3262
3379
  }
3263
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
+
3264
3399
  /**
3265
3400
  * Represents a line series.
3266
3401
  */
@@ -3477,6 +3612,223 @@ declare enum Points {
3477
3612
  octagon = 7
3478
3613
  }
3479
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
+
3480
3832
  export declare interface PopoverComponentStyles {
3481
3833
  calloutContentRoot: string;
3482
3834
  calloutDateTimeContainer: string;
@@ -3624,6 +3976,10 @@ export declare interface SankeyChartData {
3624
3976
  * {@docCategory SankeyChart}
3625
3977
  */
3626
3978
  export declare interface SankeyChartProps {
3979
+ /**
3980
+ * Title styles configuration for the chart title
3981
+ */
3982
+ titleStyles?: TitleStyles;
3627
3983
  /**
3628
3984
  * Data to render in the chart.
3629
3985
  */
@@ -3694,6 +4050,11 @@ export declare interface SankeyChartProps {
3694
4050
  * The prop used to define the culture to localize the numbers and date
3695
4051
  */
3696
4052
  culture?: string;
4053
+ /**
4054
+ * Whether to hide the legend
4055
+ * @default false
4056
+ */
4057
+ hideLegend?: boolean;
3697
4058
  /**
3698
4059
  * Props related to reflow behavior of the chart
3699
4060
  */
@@ -3751,6 +4112,14 @@ export declare interface SankeyChartStyles {
3751
4112
  * Styles for the chart svg element
3752
4113
  */
3753
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;
3754
4123
  }
3755
4124
 
3756
4125
  declare type SankeyLayoutGenerator = SankeyLayout<SankeyGraph<{}, {}>, {}, {}>;
@@ -3845,6 +4214,10 @@ export declare interface ScatterChartProps extends CartesianChartProps {
3845
4214
  * Define a custom callout renderer for a data point
3846
4215
  */
3847
4216
  onRenderCalloutPerDataPoint?: RenderFunction<CustomizedCalloutData>;
4217
+ /**
4218
+ * Define a custom callout renderer for a stack; default is to render per data point
4219
+ */
4220
+ onRenderCalloutPerStack?: RenderFunction<CustomizedCalloutData>;
3848
4221
  /**
3849
4222
  * Callback for getting callout description message
3850
4223
  */
@@ -3873,6 +4246,20 @@ export declare interface ScatterChartStyles extends CartesianChartStyles {
3873
4246
  markerLabel?: string;
3874
4247
  }
3875
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
+
3876
4263
  /**
3877
4264
  * DeclarativeChart schema.
3878
4265
  * {@docCategory DeclarativeChart}
@@ -4005,6 +4392,35 @@ declare interface TextboxProps {
4005
4392
  fill?: string;
4006
4393
  }
4007
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
+
4008
4424
  /**
4009
4425
  * VerticalBarchart component
4010
4426
  * {@docCategory VerticalBarChart}
@@ -4055,6 +4471,11 @@ export declare interface VerticalBarChartDataPoint {
4055
4471
  * Accessibility data for callout
4056
4472
  */
4057
4473
  callOutAccessibilityData?: AccessibilityProps;
4474
+ /**
4475
+ * Label to display on the bar
4476
+ * This is an optional prop that can be used to show custom text on bars
4477
+ */
4478
+ barLabel?: string;
4058
4479
  }
4059
4480
 
4060
4481
  /**
@@ -4398,6 +4819,11 @@ export declare interface VSChartDataPoint {
4398
4819
  * The prop used to define the culture to localized the numbers
4399
4820
  */
4400
4821
  culture?: string;
4822
+ /**
4823
+ * Label to display on the bar
4824
+ * This is an optional prop that can be used to show custom text on bars
4825
+ */
4826
+ barLabel?: string;
4401
4827
  }
4402
4828
 
4403
4829
  /**
@@ -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';