@fluentui/react-charting 5.18.7 → 5.18.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 (266) hide show
  1. package/CHANGELOG.json +31 -1
  2. package/CHANGELOG.md +20 -2
  3. package/README.md +48 -80
  4. package/dist/react-charting.d.ts +277 -36
  5. package/dist/react-charting.js +1 -1
  6. package/dist/react-charting.min.js +1 -1
  7. package/docs/TechnicalDetails.md +88 -0
  8. package/etc/react-charting.api.md +41 -41
  9. package/lib/components/AreaChart/AreaChart.types.d.ts +9 -1
  10. package/lib/components/AreaChart/AreaChart.types.js.map +1 -1
  11. package/lib/components/CommonComponents/CartesianChart.d.ts +4 -0
  12. package/lib/components/CommonComponents/CartesianChart.js +4 -0
  13. package/lib/components/CommonComponents/CartesianChart.js.map +1 -1
  14. package/lib/components/CommonComponents/CartesianChart.types.d.ts +12 -0
  15. package/lib/components/CommonComponents/CartesianChart.types.js.map +1 -1
  16. package/lib/components/DonutChart/DonutChart.types.d.ts +9 -1
  17. package/lib/components/DonutChart/DonutChart.types.js.map +1 -1
  18. package/lib/components/GaugeChart/GaugeChart.types.d.ts +13 -2
  19. package/lib/components/GaugeChart/GaugeChart.types.js +3 -0
  20. package/lib/components/GaugeChart/GaugeChart.types.js.map +1 -1
  21. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +9 -1
  22. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -1
  23. package/lib/components/HeatMapChart/HeatMapChart.types.d.ts +9 -1
  24. package/lib/components/HeatMapChart/HeatMapChart.types.js.map +1 -1
  25. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +13 -1
  26. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js +3 -0
  27. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -1
  28. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +9 -1
  29. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -1
  30. package/lib/components/Legends/Legends.d.ts +1 -1
  31. package/lib/components/Legends/Legends.js +1 -1
  32. package/lib/components/Legends/Legends.js.map +1 -1
  33. package/lib/components/Legends/Legends.types.d.ts +14 -8
  34. package/lib/components/Legends/Legends.types.js.map +1 -1
  35. package/lib/components/LineChart/LineChart.d.ts +1 -1
  36. package/lib/components/LineChart/LineChart.js +1 -1
  37. package/lib/components/LineChart/LineChart.js.map +1 -1
  38. package/lib/components/LineChart/LineChart.types.d.ts +18 -1
  39. package/lib/components/LineChart/LineChart.types.js.map +1 -1
  40. package/lib/components/PieChart/PieChart.d.ts +1 -1
  41. package/lib/components/PieChart/PieChart.js +1 -1
  42. package/lib/components/PieChart/PieChart.js.map +1 -1
  43. package/lib/components/PieChart/PieChart.types.d.ts +9 -1
  44. package/lib/components/PieChart/PieChart.types.js.map +1 -1
  45. package/lib/components/SankeyChart/SankeyChart.d.ts +1 -1
  46. package/lib/components/SankeyChart/SankeyChart.js +1 -1
  47. package/lib/components/SankeyChart/SankeyChart.js.map +1 -1
  48. package/lib/components/SankeyChart/SankeyChart.types.d.ts +9 -1
  49. package/lib/components/SankeyChart/SankeyChart.types.js.map +1 -1
  50. package/lib/components/Sparkline/Sparkline.d.ts +1 -1
  51. package/lib/components/Sparkline/Sparkline.js +1 -1
  52. package/lib/components/Sparkline/Sparkline.js.map +1 -1
  53. package/lib/components/Sparkline/Sparkline.types.d.ts +6 -2
  54. package/lib/components/Sparkline/Sparkline.types.js.map +1 -1
  55. package/lib/components/StackedBarChart/MultiStackedBarChart.d.ts +1 -1
  56. package/lib/components/StackedBarChart/MultiStackedBarChart.js +1 -1
  57. package/lib/components/StackedBarChart/MultiStackedBarChart.js.map +1 -1
  58. package/lib/components/StackedBarChart/MultiStackedBarChart.types.d.ts +12 -1
  59. package/lib/components/StackedBarChart/MultiStackedBarChart.types.js +3 -0
  60. package/lib/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -1
  61. package/lib/components/StackedBarChart/StackedBarChart.d.ts +1 -1
  62. package/lib/components/StackedBarChart/StackedBarChart.js +1 -1
  63. package/lib/components/StackedBarChart/StackedBarChart.js.map +1 -1
  64. package/lib/components/StackedBarChart/StackedBarChart.types.d.ts +9 -1
  65. package/lib/components/StackedBarChart/StackedBarChart.types.js.map +1 -1
  66. package/lib/components/TreeChart/TreeChart.d.ts +1 -1
  67. package/lib/components/TreeChart/TreeChart.js +1 -1
  68. package/lib/components/TreeChart/TreeChart.js.map +1 -1
  69. package/lib/components/TreeChart/TreeChart.types.d.ts +18 -1
  70. package/lib/components/TreeChart/TreeChart.types.js +6 -0
  71. package/lib/components/TreeChart/TreeChart.types.js.map +1 -1
  72. package/lib/components/VerticalBarChart/VerticalBarChart.d.ts +1 -1
  73. package/lib/components/VerticalBarChart/VerticalBarChart.js +1 -1
  74. package/lib/components/VerticalBarChart/VerticalBarChart.js.map +1 -1
  75. package/lib/components/VerticalBarChart/VerticalBarChart.types.d.ts +9 -1
  76. package/lib/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -1
  77. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +1 -1
  78. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js +1 -1
  79. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -1
  80. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +9 -1
  81. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
  82. package/lib/types/IDataPoint.d.ts +67 -0
  83. package/lib/types/IDataPoint.js.map +1 -1
  84. package/lib/utilities/utilities.d.ts +1 -0
  85. package/lib/utilities/utilities.js +2 -0
  86. package/lib/utilities/utilities.js.map +1 -1
  87. package/lib/version.js +1 -1
  88. package/lib/version.js.map +1 -1
  89. package/lib-amd/components/AreaChart/AreaChart.types.d.ts +9 -1
  90. package/lib-amd/components/AreaChart/AreaChart.types.js.map +1 -1
  91. package/lib-amd/components/CommonComponents/CartesianChart.d.ts +4 -0
  92. package/lib-amd/components/CommonComponents/CartesianChart.js +4 -0
  93. package/lib-amd/components/CommonComponents/CartesianChart.js.map +1 -1
  94. package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +12 -0
  95. package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +1 -1
  96. package/lib-amd/components/DonutChart/DonutChart.types.d.ts +9 -1
  97. package/lib-amd/components/DonutChart/DonutChart.types.js.map +1 -1
  98. package/lib-amd/components/GaugeChart/GaugeChart.types.d.ts +13 -2
  99. package/lib-amd/components/GaugeChart/GaugeChart.types.js +3 -0
  100. package/lib-amd/components/GaugeChart/GaugeChart.types.js.map +1 -1
  101. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +9 -1
  102. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -1
  103. package/lib-amd/components/HeatMapChart/HeatMapChart.types.d.ts +9 -1
  104. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js.map +1 -1
  105. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +13 -1
  106. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js +3 -0
  107. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -1
  108. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +9 -1
  109. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -1
  110. package/lib-amd/components/Legends/Legends.d.ts +1 -1
  111. package/lib-amd/components/Legends/Legends.js +1 -1
  112. package/lib-amd/components/Legends/Legends.js.map +1 -1
  113. package/lib-amd/components/Legends/Legends.types.d.ts +14 -8
  114. package/lib-amd/components/Legends/Legends.types.js.map +1 -1
  115. package/lib-amd/components/LineChart/LineChart.d.ts +1 -1
  116. package/lib-amd/components/LineChart/LineChart.js +1 -1
  117. package/lib-amd/components/LineChart/LineChart.js.map +1 -1
  118. package/lib-amd/components/LineChart/LineChart.types.d.ts +18 -1
  119. package/lib-amd/components/LineChart/LineChart.types.js.map +1 -1
  120. package/lib-amd/components/PieChart/PieChart.d.ts +1 -1
  121. package/lib-amd/components/PieChart/PieChart.js +1 -1
  122. package/lib-amd/components/PieChart/PieChart.js.map +1 -1
  123. package/lib-amd/components/PieChart/PieChart.types.d.ts +9 -1
  124. package/lib-amd/components/PieChart/PieChart.types.js.map +1 -1
  125. package/lib-amd/components/SankeyChart/SankeyChart.d.ts +1 -1
  126. package/lib-amd/components/SankeyChart/SankeyChart.js +1 -1
  127. package/lib-amd/components/SankeyChart/SankeyChart.js.map +1 -1
  128. package/lib-amd/components/SankeyChart/SankeyChart.types.d.ts +9 -1
  129. package/lib-amd/components/SankeyChart/SankeyChart.types.js.map +1 -1
  130. package/lib-amd/components/Sparkline/Sparkline.d.ts +1 -1
  131. package/lib-amd/components/Sparkline/Sparkline.js +1 -1
  132. package/lib-amd/components/Sparkline/Sparkline.js.map +1 -1
  133. package/lib-amd/components/Sparkline/Sparkline.types.d.ts +6 -2
  134. package/lib-amd/components/Sparkline/Sparkline.types.js.map +1 -1
  135. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.d.ts +1 -1
  136. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js +1 -1
  137. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js.map +1 -1
  138. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.d.ts +12 -1
  139. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js +3 -0
  140. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -1
  141. package/lib-amd/components/StackedBarChart/StackedBarChart.d.ts +1 -1
  142. package/lib-amd/components/StackedBarChart/StackedBarChart.js +1 -1
  143. package/lib-amd/components/StackedBarChart/StackedBarChart.js.map +1 -1
  144. package/lib-amd/components/StackedBarChart/StackedBarChart.types.d.ts +9 -1
  145. package/lib-amd/components/StackedBarChart/StackedBarChart.types.js.map +1 -1
  146. package/lib-amd/components/TreeChart/TreeChart.d.ts +1 -1
  147. package/lib-amd/components/TreeChart/TreeChart.js +1 -1
  148. package/lib-amd/components/TreeChart/TreeChart.js.map +1 -1
  149. package/lib-amd/components/TreeChart/TreeChart.types.d.ts +18 -1
  150. package/lib-amd/components/TreeChart/TreeChart.types.js +6 -0
  151. package/lib-amd/components/TreeChart/TreeChart.types.js.map +1 -1
  152. package/lib-amd/components/VerticalBarChart/VerticalBarChart.d.ts +1 -1
  153. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js +1 -1
  154. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js.map +1 -1
  155. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.d.ts +9 -1
  156. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -1
  157. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +1 -1
  158. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js +1 -1
  159. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -1
  160. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +9 -1
  161. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
  162. package/lib-amd/types/IDataPoint.d.ts +67 -0
  163. package/lib-amd/types/IDataPoint.js.map +1 -1
  164. package/lib-amd/utilities/utilities.d.ts +1 -0
  165. package/lib-amd/utilities/utilities.js +2 -0
  166. package/lib-amd/utilities/utilities.js.map +1 -1
  167. package/lib-amd/version.js +1 -1
  168. package/lib-amd/version.js.map +1 -1
  169. package/lib-commonjs/components/AreaChart/AreaChart.types.d.ts +9 -1
  170. package/lib-commonjs/components/AreaChart/AreaChart.types.js.map +1 -1
  171. package/lib-commonjs/components/CommonComponents/CartesianChart.d.ts +4 -0
  172. package/lib-commonjs/components/CommonComponents/CartesianChart.js +4 -0
  173. package/lib-commonjs/components/CommonComponents/CartesianChart.js.map +1 -1
  174. package/lib-commonjs/components/CommonComponents/CartesianChart.types.d.ts +12 -0
  175. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +1 -1
  176. package/lib-commonjs/components/DonutChart/DonutChart.types.d.ts +9 -1
  177. package/lib-commonjs/components/DonutChart/DonutChart.types.js.map +1 -1
  178. package/lib-commonjs/components/GaugeChart/GaugeChart.types.d.ts +13 -2
  179. package/lib-commonjs/components/GaugeChart/GaugeChart.types.js +3 -0
  180. package/lib-commonjs/components/GaugeChart/GaugeChart.types.js.map +1 -1
  181. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +9 -1
  182. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -1
  183. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.d.ts +9 -1
  184. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.js.map +1 -1
  185. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +13 -1
  186. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js +3 -0
  187. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -1
  188. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +9 -1
  189. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -1
  190. package/lib-commonjs/components/Legends/Legends.d.ts +1 -1
  191. package/lib-commonjs/components/Legends/Legends.js +1 -1
  192. package/lib-commonjs/components/Legends/Legends.js.map +1 -1
  193. package/lib-commonjs/components/Legends/Legends.types.d.ts +14 -8
  194. package/lib-commonjs/components/Legends/Legends.types.js.map +1 -1
  195. package/lib-commonjs/components/LineChart/LineChart.d.ts +1 -1
  196. package/lib-commonjs/components/LineChart/LineChart.js +1 -1
  197. package/lib-commonjs/components/LineChart/LineChart.js.map +1 -1
  198. package/lib-commonjs/components/LineChart/LineChart.types.d.ts +18 -1
  199. package/lib-commonjs/components/LineChart/LineChart.types.js.map +1 -1
  200. package/lib-commonjs/components/PieChart/PieChart.d.ts +1 -1
  201. package/lib-commonjs/components/PieChart/PieChart.js +1 -1
  202. package/lib-commonjs/components/PieChart/PieChart.js.map +1 -1
  203. package/lib-commonjs/components/PieChart/PieChart.types.d.ts +9 -1
  204. package/lib-commonjs/components/PieChart/PieChart.types.js.map +1 -1
  205. package/lib-commonjs/components/SankeyChart/SankeyChart.d.ts +1 -1
  206. package/lib-commonjs/components/SankeyChart/SankeyChart.js +1 -1
  207. package/lib-commonjs/components/SankeyChart/SankeyChart.js.map +1 -1
  208. package/lib-commonjs/components/SankeyChart/SankeyChart.types.d.ts +9 -1
  209. package/lib-commonjs/components/SankeyChart/SankeyChart.types.js.map +1 -1
  210. package/lib-commonjs/components/Sparkline/Sparkline.d.ts +1 -1
  211. package/lib-commonjs/components/Sparkline/Sparkline.js +1 -1
  212. package/lib-commonjs/components/Sparkline/Sparkline.js.map +1 -1
  213. package/lib-commonjs/components/Sparkline/Sparkline.types.d.ts +6 -2
  214. package/lib-commonjs/components/Sparkline/Sparkline.types.js.map +1 -1
  215. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.d.ts +1 -1
  216. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js +1 -1
  217. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js.map +1 -1
  218. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.d.ts +12 -1
  219. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js +3 -0
  220. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -1
  221. package/lib-commonjs/components/StackedBarChart/StackedBarChart.d.ts +1 -1
  222. package/lib-commonjs/components/StackedBarChart/StackedBarChart.js +1 -1
  223. package/lib-commonjs/components/StackedBarChart/StackedBarChart.js.map +1 -1
  224. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.d.ts +9 -1
  225. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.js.map +1 -1
  226. package/lib-commonjs/components/TreeChart/TreeChart.d.ts +1 -1
  227. package/lib-commonjs/components/TreeChart/TreeChart.js +1 -1
  228. package/lib-commonjs/components/TreeChart/TreeChart.js.map +1 -1
  229. package/lib-commonjs/components/TreeChart/TreeChart.types.d.ts +18 -1
  230. package/lib-commonjs/components/TreeChart/TreeChart.types.js +6 -0
  231. package/lib-commonjs/components/TreeChart/TreeChart.types.js.map +1 -1
  232. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.d.ts +1 -1
  233. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js +1 -1
  234. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js.map +1 -1
  235. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.d.ts +9 -1
  236. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -1
  237. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +1 -1
  238. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js +1 -1
  239. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -1
  240. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +9 -1
  241. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
  242. package/lib-commonjs/types/IDataPoint.d.ts +67 -0
  243. package/lib-commonjs/types/IDataPoint.js.map +1 -1
  244. package/lib-commonjs/utilities/utilities.d.ts +1 -0
  245. package/lib-commonjs/utilities/utilities.js +2 -0
  246. package/lib-commonjs/utilities/utilities.js.map +1 -1
  247. package/lib-commonjs/version.js +1 -1
  248. package/lib-commonjs/version.js.map +1 -1
  249. package/package.json +1 -1
  250. package/src/components/AreaChart/AreaChart.types.ts +9 -1
  251. package/src/components/CommonComponents/CartesianChart.types.ts +12 -0
  252. package/src/components/DonutChart/DonutChart.types.ts +9 -1
  253. package/src/components/GaugeChart/GaugeChart.types.ts +13 -2
  254. package/src/components/HeatMapChart/HeatMapChart.types.ts +11 -1
  255. package/src/components/HorizontalBarChart/HorizontalBarChart.types.ts +13 -1
  256. package/src/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.ts +9 -1
  257. package/src/components/Legends/Legends.types.ts +14 -8
  258. package/src/components/LineChart/LineChart.types.ts +19 -1
  259. package/src/components/PieChart/PieChart.types.ts +10 -1
  260. package/src/components/SankeyChart/SankeyChart.types.ts +9 -1
  261. package/src/components/Sparkline/Sparkline.types.ts +6 -2
  262. package/src/components/StackedBarChart/MultiStackedBarChart.types.ts +12 -1
  263. package/src/components/StackedBarChart/StackedBarChart.types.ts +9 -1
  264. package/src/components/TreeChart/TreeChart.types.ts +20 -1
  265. package/src/components/VerticalBarChart/VerticalBarChart.types.ts +9 -1
  266. package/src/components/VerticalStackedBarChart/VerticalStackedBarChart.types.ts +9 -1
@@ -4,7 +4,7 @@ import { ICalloutProps } from '@fluentui/react/lib/Callout';
4
4
  import { IRenderFunction, IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';
5
5
 
6
6
  /**
7
- * IHorizontalBarChartProps for HorizontalBarchart component.
7
+ * Horizontal Bar Chart properties
8
8
  * {@docCategory HorizontalBarChart}
9
9
  */
10
10
  export interface IHorizontalBarChartProps {
@@ -94,6 +94,10 @@ export interface IHorizontalBarChartProps {
94
94
  hideLabels?: boolean;
95
95
  }
96
96
 
97
+ /**
98
+ * Horizontal Bar Chart style properties
99
+ * {@docCategory HorizontalBarChart}
100
+ */
97
101
  export interface IHorizontalBarChartStyleProps {
98
102
  /**
99
103
  * Theme (provided through customization.)
@@ -137,6 +141,10 @@ export interface IHorizontalBarChartStyleProps {
137
141
  hideLabels?: boolean;
138
142
  }
139
143
 
144
+ /**
145
+ * Horizontal Bar Chart styles
146
+ * {@docCategory HorizontalBarChart}
147
+ */
140
148
  export interface IHorizontalBarChartStyles {
141
149
  /**
142
150
  * Styling for the root container
@@ -204,9 +212,13 @@ export interface IHorizontalBarChartStyles {
204
212
  * default: show the datapoint.x value
205
213
  * fraction: show the fraction of datapoint.x/datapoint.y
206
214
  * percentage: show the percentage of (datapoint.x/datapoint.y)%
215
+ * {@docCategory HorizontalBarChart}
207
216
  */
208
217
  export type ChartDataMode = 'default' | 'fraction' | 'percentage';
209
218
 
219
+ /**
220
+ * {@docCategory HorizontalBarChart}
221
+ */
210
222
  export enum HorizontalBarChartVariant {
211
223
  PartToWhole = 'part-to-whole',
212
224
  AbsoluteScale = 'absolute-scale',
@@ -8,7 +8,7 @@ import {
8
8
  } from '../../index';
9
9
 
10
10
  /**
11
- * IHorizontalBarChartWithAxisProps for HorizontalBarchartWithAxis component.
11
+ * Horizontal Bar Chart with Axis properties
12
12
  * {@docCategory HorizontalBarChartWithAxis}
13
13
  */
14
14
  export interface IHorizontalBarChartWithAxisProps extends ICartesianChartProps {
@@ -72,6 +72,10 @@ export interface IHorizontalBarChartWithAxisProps extends ICartesianChartProps {
72
72
  showYAxisLables?: boolean;
73
73
  }
74
74
 
75
+ /**
76
+ * Horizontal Bar Chart with Axis style properties
77
+ * {@docCategory HorizontalBarChartWithAxis}
78
+ */
75
79
  export interface IHorizontalBarChartWithAxisStyleProps extends ICartesianChartStyleProps {
76
80
  /**
77
81
  * color of the datapoint legend
@@ -79,6 +83,10 @@ export interface IHorizontalBarChartWithAxisStyleProps extends ICartesianChartSt
79
83
  legendColor?: string;
80
84
  }
81
85
 
86
+ /**
87
+ * Horizontal Bar Chart with Axis styles
88
+ * {@docCategory HorizontalBarChartWithAxis}
89
+ */
82
90
  export interface IHorizontalBarChartWithAxisStyles extends ICartesianChartStyles {
83
91
  /**
84
92
  * Style for the chart label.
@@ -6,11 +6,6 @@ import { IOverflowSetProps } from '@fluentui/react/lib/OverflowSet';
6
6
  import { IFocusZoneProps } from '@fluentui/react-focus';
7
7
  import { CustomPoints, Points } from '../../utilities/utilities';
8
8
 
9
- /**
10
- * @public
11
- * ILegendOverflowData interface.
12
- * {@docCategory Legends}
13
- */
14
9
  export interface ILegendOverflowData {
15
10
  primary: ILegend[];
16
11
 
@@ -19,7 +14,6 @@ export interface ILegendOverflowData {
19
14
 
20
15
  /**
21
16
  * @public
22
- * ILegendSubComponentStyles interface.
23
17
  * {@docCategory Legends}
24
18
  */
25
19
  export interface ILegendSubComponentStyles {
@@ -28,7 +22,7 @@ export interface ILegendSubComponentStyles {
28
22
 
29
23
  /**
30
24
  * @public
31
- * ILegendsStyles interface.
25
+ * Legends styles
32
26
  * {@docCategory Legends}
33
27
  */
34
28
  export interface ILegendsStyles {
@@ -85,7 +79,7 @@ export interface ILegendsStyles {
85
79
 
86
80
  /**
87
81
  * @public
88
- * ILegendsStyles interface.
82
+ * ILegend interface
89
83
  * {@docCategory Legends}
90
84
  */
91
85
  export interface ILegend {
@@ -140,6 +134,11 @@ export interface ILegend {
140
134
  nativeButtonProps?: React.ButtonHTMLAttributes<HTMLButtonElement>;
141
135
  }
142
136
 
137
+ /**
138
+ * @public
139
+ * Legend style properties
140
+ * {@docCategory Legends}
141
+ */
143
142
  export interface ILegendStyleProps {
144
143
  theme?: ITheme;
145
144
  className?: string;
@@ -151,6 +150,11 @@ export interface ILegendStyleProps {
151
150
  isLineLegendInBarChart?: boolean;
152
151
  }
153
152
 
153
+ /**
154
+ * @public
155
+ * Legend properties
156
+ * {@docCategory Legends}
157
+ */
154
158
  export interface ILegendsProps {
155
159
  /**
156
160
  * Prop that takes list of legends
@@ -223,8 +227,10 @@ export interface ILegendsProps {
223
227
  }
224
228
 
225
229
  /**
230
+ * @public
226
231
  * The shape for the legend
227
232
  * default: show the rect legend
228
233
  * triangle: show the triangle legend
234
+ * {@docCategory Legends}
229
235
  */
230
236
  export type LegendShape = 'default' | 'triangle' | keyof typeof Points | keyof typeof CustomPoints;
@@ -18,7 +18,7 @@ import {
18
18
  export type { IChildProps, ILineChartPoints, IMargins, IBasestate, IRefArrayData };
19
19
 
20
20
  /**
21
- * ILineChartProps properties for line chart.
21
+ * Line Chart properties
22
22
  * {@docCategory LineChart}
23
23
  */
24
24
  export interface ILineChartProps extends ICartesianChartProps {
@@ -88,6 +88,10 @@ export interface ILineChartProps extends ICartesianChartProps {
88
88
  */
89
89
  enablePerfOptimization?: boolean;
90
90
  }
91
+
92
+ /**
93
+ * {@docCategory LineChart}
94
+ */
91
95
  export interface IEventsAnnotationProps {
92
96
  events: IEventAnnotation[];
93
97
  strokeColor?: string;
@@ -97,10 +101,21 @@ export interface IEventsAnnotationProps {
97
101
  mergedLabel: (count: number) => string;
98
102
  }
99
103
 
104
+ /**
105
+ * Line Chart styles
106
+ * {@docCategory LineChart}
107
+ */
100
108
  export interface ILineChartStyles extends ICartesianChartStyles {}
101
109
 
110
+ /**
111
+ * Line Chart style properties
112
+ * {@docCategory LineChart}
113
+ */
102
114
  export interface ILineChartStyleProps extends ICartesianChartStyleProps {}
103
115
 
116
+ /**
117
+ * {@docCategory LineChart}
118
+ */
104
119
  export interface IColorFillBarsProps {
105
120
  legend: string;
106
121
  color: string;
@@ -109,6 +124,9 @@ export interface IColorFillBarsProps {
109
124
  onLegendClick?: (selectedLegend: string | string[] | null) => void | undefined;
110
125
  }
111
126
 
127
+ /**
128
+ * {@docCategory LineChart}
129
+ */
112
130
  export interface IColorFillBarData {
113
131
  startX: number | Date;
114
132
  endX: number | Date;
@@ -5,7 +5,7 @@ export type { IDataPoint } from '../../types/IDataPoint';
5
5
  export interface IPieChart {}
6
6
 
7
7
  /**
8
- * IPieChartProps for Piechart component.
8
+ * Pie Chart properties
9
9
  * {@docCategory PieChart}
10
10
  */
11
11
  export interface IPieChartProps {
@@ -60,8 +60,17 @@ export interface IPieChartProps {
60
60
  culture?: string;
61
61
  }
62
62
 
63
+ /**
64
+ * Pie Chart style properties
65
+ * {@docCategory PieChart}
66
+ */
63
67
  export type IPieChartStyleProps = Required<Pick<IPieChartProps, 'theme' | 'width' | 'height'>> &
64
68
  Pick<IPieChartProps, 'className'>;
69
+
70
+ /**
71
+ * Pie Chart styles
72
+ * {@docCategory PieChart}
73
+ */
65
74
  export interface IPieChartStyles {
66
75
  /**
67
76
  * Style for the root element.
@@ -5,7 +5,7 @@ import { IChartProps } from '../../types/IDataPoint';
5
5
  export type { IChartProps, IDataPoint, ISankeyChartData } from '../../types/IDataPoint';
6
6
 
7
7
  /**
8
- * ISankeyChartProps for Sankeychart component.
8
+ * Sankey Chart properties
9
9
  * {@docCategory SankeyChart}
10
10
  */
11
11
  export interface ISankeyChartProps {
@@ -65,6 +65,10 @@ export interface ISankeyChartProps {
65
65
  borderColorsForNodes?: string[];
66
66
  }
67
67
 
68
+ /**
69
+ * Sankey Chart style properties
70
+ * {@docCategory SankeyChart}
71
+ */
68
72
  export interface ISankeyChartStyleProps {
69
73
  theme: ITheme;
70
74
  className?: string;
@@ -73,6 +77,10 @@ export interface ISankeyChartStyleProps {
73
77
  pathColor?: string;
74
78
  }
75
79
 
80
+ /**
81
+ * Sankey Chart styles
82
+ * {@docCategory SankeyChart}
83
+ */
76
84
  export interface ISankeyChartStyles {
77
85
  /**
78
86
  * Style for the root element.
@@ -6,8 +6,8 @@ import { ICartesianChartStyleProps } from '../CommonComponents/index';
6
6
  export interface ISparklineStyleProps extends ICartesianChartStyleProps {}
7
7
 
8
8
  /**
9
- * ISparklineProps for Sparkline component.
10
- * {@docCategory Sparkline}
9
+ * Sparkline properties
10
+ * {@docCategory SparklineChart}
11
11
  */
12
12
  export interface ISparklineProps {
13
13
  /**
@@ -59,6 +59,10 @@ export interface ISparklineProps {
59
59
  styles?: IStyleFunctionOrObject<ISparklineStyleProps, ISparklineStyles>;
60
60
  }
61
61
 
62
+ /**
63
+ * Sparkline styles
64
+ * {@docCategory SparklineChart}
65
+ */
62
66
  export interface ISparklineStyles {
63
67
  inlineBlock?: IStyle;
64
68
  valueText?: IStyle;
@@ -7,7 +7,7 @@ import { IFocusZoneProps } from '@fluentui/react-focus';
7
7
  import { ILegendsProps } from '../Legends/index';
8
8
 
9
9
  /**
10
- * IMultiStackedBarChartProps for MultiStackedBarchart component.
10
+ * Multi Stacked Bar Chart properties
11
11
  * {@docCategory MultiStackedBarChart}
12
12
  */
13
13
  export interface IMultiStackedBarChartProps {
@@ -121,6 +121,10 @@ export interface IMultiStackedBarChartProps {
121
121
  hideLabels?: boolean;
122
122
  }
123
123
 
124
+ /**
125
+ * Multi Stacked Bar Chart style properties
126
+ * {@docCategory MultiStackedBarChart}
127
+ */
124
128
  export interface IMultiStackedBarChartStyleProps {
125
129
  /**
126
130
  * Theme (provided through customization.)
@@ -168,6 +172,10 @@ export interface IMultiStackedBarChartStyleProps {
168
172
  hideLabels?: boolean;
169
173
  }
170
174
 
175
+ /**
176
+ * Multi Stacked Bar Chart styles
177
+ * {@docCategory MultiStackedBarChart}
178
+ */
171
179
  export interface IMultiStackedBarChartStyles {
172
180
  /**
173
181
  * Styling for the root container
@@ -240,6 +248,9 @@ export interface IMultiStackedBarChartStyles {
240
248
  chartWrapper: IStyle;
241
249
  }
242
250
 
251
+ /**
252
+ * {@docCategory MultiStackedBarChart}
253
+ */
243
254
  export enum MultiStackedBarChartVariant {
244
255
  PartToWhole = 'part-to-whole',
245
256
  AbsoluteScale = 'absolute-scale',
@@ -9,7 +9,7 @@ export interface IStackedBarChart {}
9
9
  import { IChartProps, IChartDataPoint } from './index';
10
10
 
11
11
  /**
12
- * IStackedBarChartProps for StackedBarchart component.
12
+ * Stacked Bar Chart properties
13
13
  * {@docCategory StackedBarChart}
14
14
  */
15
15
  export interface IStackedBarChartProps {
@@ -136,6 +136,10 @@ export interface IStackedBarChartProps {
136
136
  culture?: string;
137
137
  }
138
138
 
139
+ /**
140
+ * Stacked Bar Chart style properties
141
+ * {@docCategory StackedBarChart}
142
+ */
139
143
  export interface IStackedBarChartStyleProps {
140
144
  /**
141
145
  * Theme (provided through customization.)
@@ -203,6 +207,10 @@ export interface IStackedBarChartStyleProps {
203
207
  showTriangle?: boolean;
204
208
  }
205
209
 
210
+ /**
211
+ * Stacked Bar Chart styles
212
+ * {@docCategory StackedBarChart}
213
+ */
206
214
  export interface IStackedBarChartStyles {
207
215
  /**
208
216
  * Style for the root element.
@@ -3,7 +3,6 @@ import { IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';
3
3
  import { IMargins } from '../../types/index';
4
4
 
5
5
  /**
6
- * ITreeChartDataPoint interface for Treechart component.
7
6
  * {@docCategory TreeChart}
8
7
  */
9
8
  export interface ITreeChartDataPoint {
@@ -33,6 +32,9 @@ export interface ITreeChartDataPoint {
33
32
  children?: Array<ITreeChartDataPoint>;
34
33
  }
35
34
 
35
+ /**
36
+ * {@docCategory TreeChart}
37
+ */
36
38
  export enum NodesComposition {
37
39
  /**
38
40
  * NodeComposition enum val for long: number = 1
@@ -44,6 +46,9 @@ export enum NodesComposition {
44
46
  compact = 0,
45
47
  }
46
48
 
49
+ /**
50
+ * {@docCategory TreeChart}
51
+ */
47
52
  export enum TreeTraverse {
48
53
  /**
49
54
  * TreeTraverse enum val for preOrder: number = 1
@@ -55,6 +60,10 @@ export enum TreeTraverse {
55
60
  levelOrder = 0,
56
61
  }
57
62
 
63
+ /**
64
+ * Tree Chart properties
65
+ * {@docCategory TreeChart}
66
+ */
58
67
  export interface ITreeProps {
59
68
  /**
60
69
  * An object of chart data points for the Tree chart
@@ -103,6 +112,7 @@ export interface ITreeProps {
103
112
  */
104
113
  theme?: ITheme;
105
114
  }
115
+
106
116
  export interface ITreeState {
107
117
  /**
108
118
  * Width of SVG tree chart
@@ -164,6 +174,10 @@ export interface ITreeDataStructure {
164
174
  parentID: number;
165
175
  }
166
176
 
177
+ /**
178
+ * Tree Chart style properties
179
+ * {@docCategory TreeChart}
180
+ */
167
181
  export interface ITreeStyleProps {
168
182
  /**
169
183
  * Theme (provided through customization.)
@@ -174,6 +188,11 @@ export interface ITreeStyleProps {
174
188
  */
175
189
  className?: string;
176
190
  }
191
+
192
+ /**
193
+ * Tree Chart styles
194
+ * {@docCategory TreeChart}
195
+ */
177
196
  export interface ITreeStyles {
178
197
  /**
179
198
  * Style for the root element.
@@ -9,7 +9,7 @@ import {
9
9
  import { ILineChartLineOptions } from '../../types/index';
10
10
 
11
11
  /**
12
- * IVerticalBarChartProps for VerticalBarchart component.
12
+ * Vertical Bar Chart properties
13
13
  * {@docCategory VerticalBarChart}
14
14
  */
15
15
  export interface IVerticalBarChartProps extends ICartesianChartProps {
@@ -85,6 +85,10 @@ export interface IVerticalBarChartProps extends ICartesianChartProps {
85
85
  hideLabels?: boolean;
86
86
  }
87
87
 
88
+ /**
89
+ * Vertical Bar Chart style properties
90
+ * {@docCategory VerticalBarChart}
91
+ */
88
92
  export interface IVerticalBarChartStyleProps extends ICartesianChartStyleProps {
89
93
  /**
90
94
  * color of the datapoint legend
@@ -92,6 +96,10 @@ export interface IVerticalBarChartStyleProps extends ICartesianChartStyleProps {
92
96
  legendColor?: string;
93
97
  }
94
98
 
99
+ /**
100
+ * Vertical Bar Chart styles
101
+ * {@docCategory VerticalBarChart}
102
+ */
95
103
  export interface IVerticalBarChartStyles extends ICartesianChartStyles {
96
104
  /**
97
105
  * Style for the chart label.
@@ -12,7 +12,7 @@ import {
12
12
  } from '../../index';
13
13
 
14
14
  /**
15
- * IVerticalStackedBarChartProps for VerticalStackedBarchart component.
15
+ * Vertical Stacked Bar Chart properties
16
16
  * {@docCategory VerticalStackedBarChart}
17
17
  */
18
18
  export interface IVerticalStackedBarChartProps extends ICartesianChartProps {
@@ -124,8 +124,16 @@ export interface IVerticalStackedBarChartProps extends ICartesianChartProps {
124
124
  hideLabels?: boolean;
125
125
  }
126
126
 
127
+ /**
128
+ * Vertical Stacked Bar Chart style properties
129
+ * {@docCategory VerticalStackedBarChart}
130
+ */
127
131
  export interface IVerticalStackedBarChartStyleProps extends ICartesianChartStyleProps {}
128
132
 
133
+ /**
134
+ * Vertical Stacked Bar Chart styles
135
+ * {@docCategory VerticalStackedBarChart}
136
+ */
129
137
  export interface IVerticalStackedBarChartStyles extends ICartesianChartStyles {
130
138
  /**
131
139
  * Style to change the opacity of bars in dataviz when we hover on a single bar or legends