@fluentui/react-charting 5.18.8 → 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 (257) hide show
  1. package/CHANGELOG.json +16 -1
  2. package/CHANGELOG.md +11 -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/version.js +1 -1
  85. package/lib/version.js.map +1 -1
  86. package/lib-amd/components/AreaChart/AreaChart.types.d.ts +9 -1
  87. package/lib-amd/components/AreaChart/AreaChart.types.js.map +1 -1
  88. package/lib-amd/components/CommonComponents/CartesianChart.d.ts +4 -0
  89. package/lib-amd/components/CommonComponents/CartesianChart.js +4 -0
  90. package/lib-amd/components/CommonComponents/CartesianChart.js.map +1 -1
  91. package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +12 -0
  92. package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +1 -1
  93. package/lib-amd/components/DonutChart/DonutChart.types.d.ts +9 -1
  94. package/lib-amd/components/DonutChart/DonutChart.types.js.map +1 -1
  95. package/lib-amd/components/GaugeChart/GaugeChart.types.d.ts +13 -2
  96. package/lib-amd/components/GaugeChart/GaugeChart.types.js +3 -0
  97. package/lib-amd/components/GaugeChart/GaugeChart.types.js.map +1 -1
  98. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +9 -1
  99. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -1
  100. package/lib-amd/components/HeatMapChart/HeatMapChart.types.d.ts +9 -1
  101. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js.map +1 -1
  102. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +13 -1
  103. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js +3 -0
  104. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -1
  105. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +9 -1
  106. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -1
  107. package/lib-amd/components/Legends/Legends.d.ts +1 -1
  108. package/lib-amd/components/Legends/Legends.js +1 -1
  109. package/lib-amd/components/Legends/Legends.js.map +1 -1
  110. package/lib-amd/components/Legends/Legends.types.d.ts +14 -8
  111. package/lib-amd/components/Legends/Legends.types.js.map +1 -1
  112. package/lib-amd/components/LineChart/LineChart.d.ts +1 -1
  113. package/lib-amd/components/LineChart/LineChart.js +1 -1
  114. package/lib-amd/components/LineChart/LineChart.js.map +1 -1
  115. package/lib-amd/components/LineChart/LineChart.types.d.ts +18 -1
  116. package/lib-amd/components/LineChart/LineChart.types.js.map +1 -1
  117. package/lib-amd/components/PieChart/PieChart.d.ts +1 -1
  118. package/lib-amd/components/PieChart/PieChart.js +1 -1
  119. package/lib-amd/components/PieChart/PieChart.js.map +1 -1
  120. package/lib-amd/components/PieChart/PieChart.types.d.ts +9 -1
  121. package/lib-amd/components/PieChart/PieChart.types.js.map +1 -1
  122. package/lib-amd/components/SankeyChart/SankeyChart.d.ts +1 -1
  123. package/lib-amd/components/SankeyChart/SankeyChart.js +1 -1
  124. package/lib-amd/components/SankeyChart/SankeyChart.js.map +1 -1
  125. package/lib-amd/components/SankeyChart/SankeyChart.types.d.ts +9 -1
  126. package/lib-amd/components/SankeyChart/SankeyChart.types.js.map +1 -1
  127. package/lib-amd/components/Sparkline/Sparkline.d.ts +1 -1
  128. package/lib-amd/components/Sparkline/Sparkline.js +1 -1
  129. package/lib-amd/components/Sparkline/Sparkline.js.map +1 -1
  130. package/lib-amd/components/Sparkline/Sparkline.types.d.ts +6 -2
  131. package/lib-amd/components/Sparkline/Sparkline.types.js.map +1 -1
  132. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.d.ts +1 -1
  133. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js +1 -1
  134. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js.map +1 -1
  135. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.d.ts +12 -1
  136. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js +3 -0
  137. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -1
  138. package/lib-amd/components/StackedBarChart/StackedBarChart.d.ts +1 -1
  139. package/lib-amd/components/StackedBarChart/StackedBarChart.js +1 -1
  140. package/lib-amd/components/StackedBarChart/StackedBarChart.js.map +1 -1
  141. package/lib-amd/components/StackedBarChart/StackedBarChart.types.d.ts +9 -1
  142. package/lib-amd/components/StackedBarChart/StackedBarChart.types.js.map +1 -1
  143. package/lib-amd/components/TreeChart/TreeChart.d.ts +1 -1
  144. package/lib-amd/components/TreeChart/TreeChart.js +1 -1
  145. package/lib-amd/components/TreeChart/TreeChart.js.map +1 -1
  146. package/lib-amd/components/TreeChart/TreeChart.types.d.ts +18 -1
  147. package/lib-amd/components/TreeChart/TreeChart.types.js +6 -0
  148. package/lib-amd/components/TreeChart/TreeChart.types.js.map +1 -1
  149. package/lib-amd/components/VerticalBarChart/VerticalBarChart.d.ts +1 -1
  150. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js +1 -1
  151. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js.map +1 -1
  152. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.d.ts +9 -1
  153. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -1
  154. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +1 -1
  155. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js +1 -1
  156. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -1
  157. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +9 -1
  158. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
  159. package/lib-amd/types/IDataPoint.d.ts +67 -0
  160. package/lib-amd/types/IDataPoint.js.map +1 -1
  161. package/lib-amd/version.js +1 -1
  162. package/lib-amd/version.js.map +1 -1
  163. package/lib-commonjs/components/AreaChart/AreaChart.types.d.ts +9 -1
  164. package/lib-commonjs/components/AreaChart/AreaChart.types.js.map +1 -1
  165. package/lib-commonjs/components/CommonComponents/CartesianChart.d.ts +4 -0
  166. package/lib-commonjs/components/CommonComponents/CartesianChart.js +4 -0
  167. package/lib-commonjs/components/CommonComponents/CartesianChart.js.map +1 -1
  168. package/lib-commonjs/components/CommonComponents/CartesianChart.types.d.ts +12 -0
  169. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +1 -1
  170. package/lib-commonjs/components/DonutChart/DonutChart.types.d.ts +9 -1
  171. package/lib-commonjs/components/DonutChart/DonutChart.types.js.map +1 -1
  172. package/lib-commonjs/components/GaugeChart/GaugeChart.types.d.ts +13 -2
  173. package/lib-commonjs/components/GaugeChart/GaugeChart.types.js +3 -0
  174. package/lib-commonjs/components/GaugeChart/GaugeChart.types.js.map +1 -1
  175. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +9 -1
  176. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -1
  177. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.d.ts +9 -1
  178. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.js.map +1 -1
  179. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +13 -1
  180. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js +3 -0
  181. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -1
  182. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +9 -1
  183. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -1
  184. package/lib-commonjs/components/Legends/Legends.d.ts +1 -1
  185. package/lib-commonjs/components/Legends/Legends.js +1 -1
  186. package/lib-commonjs/components/Legends/Legends.js.map +1 -1
  187. package/lib-commonjs/components/Legends/Legends.types.d.ts +14 -8
  188. package/lib-commonjs/components/Legends/Legends.types.js.map +1 -1
  189. package/lib-commonjs/components/LineChart/LineChart.d.ts +1 -1
  190. package/lib-commonjs/components/LineChart/LineChart.js +1 -1
  191. package/lib-commonjs/components/LineChart/LineChart.js.map +1 -1
  192. package/lib-commonjs/components/LineChart/LineChart.types.d.ts +18 -1
  193. package/lib-commonjs/components/LineChart/LineChart.types.js.map +1 -1
  194. package/lib-commonjs/components/PieChart/PieChart.d.ts +1 -1
  195. package/lib-commonjs/components/PieChart/PieChart.js +1 -1
  196. package/lib-commonjs/components/PieChart/PieChart.js.map +1 -1
  197. package/lib-commonjs/components/PieChart/PieChart.types.d.ts +9 -1
  198. package/lib-commonjs/components/PieChart/PieChart.types.js.map +1 -1
  199. package/lib-commonjs/components/SankeyChart/SankeyChart.d.ts +1 -1
  200. package/lib-commonjs/components/SankeyChart/SankeyChart.js +1 -1
  201. package/lib-commonjs/components/SankeyChart/SankeyChart.js.map +1 -1
  202. package/lib-commonjs/components/SankeyChart/SankeyChart.types.d.ts +9 -1
  203. package/lib-commonjs/components/SankeyChart/SankeyChart.types.js.map +1 -1
  204. package/lib-commonjs/components/Sparkline/Sparkline.d.ts +1 -1
  205. package/lib-commonjs/components/Sparkline/Sparkline.js +1 -1
  206. package/lib-commonjs/components/Sparkline/Sparkline.js.map +1 -1
  207. package/lib-commonjs/components/Sparkline/Sparkline.types.d.ts +6 -2
  208. package/lib-commonjs/components/Sparkline/Sparkline.types.js.map +1 -1
  209. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.d.ts +1 -1
  210. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js +1 -1
  211. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js.map +1 -1
  212. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.d.ts +12 -1
  213. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js +3 -0
  214. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -1
  215. package/lib-commonjs/components/StackedBarChart/StackedBarChart.d.ts +1 -1
  216. package/lib-commonjs/components/StackedBarChart/StackedBarChart.js +1 -1
  217. package/lib-commonjs/components/StackedBarChart/StackedBarChart.js.map +1 -1
  218. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.d.ts +9 -1
  219. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.js.map +1 -1
  220. package/lib-commonjs/components/TreeChart/TreeChart.d.ts +1 -1
  221. package/lib-commonjs/components/TreeChart/TreeChart.js +1 -1
  222. package/lib-commonjs/components/TreeChart/TreeChart.js.map +1 -1
  223. package/lib-commonjs/components/TreeChart/TreeChart.types.d.ts +18 -1
  224. package/lib-commonjs/components/TreeChart/TreeChart.types.js +6 -0
  225. package/lib-commonjs/components/TreeChart/TreeChart.types.js.map +1 -1
  226. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.d.ts +1 -1
  227. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js +1 -1
  228. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js.map +1 -1
  229. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.d.ts +9 -1
  230. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -1
  231. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +1 -1
  232. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js +1 -1
  233. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -1
  234. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +9 -1
  235. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
  236. package/lib-commonjs/types/IDataPoint.d.ts +67 -0
  237. package/lib-commonjs/types/IDataPoint.js.map +1 -1
  238. package/lib-commonjs/version.js +1 -1
  239. package/lib-commonjs/version.js.map +1 -1
  240. package/package.json +1 -1
  241. package/src/components/AreaChart/AreaChart.types.ts +9 -1
  242. package/src/components/CommonComponents/CartesianChart.types.ts +12 -0
  243. package/src/components/DonutChart/DonutChart.types.ts +9 -1
  244. package/src/components/GaugeChart/GaugeChart.types.ts +13 -2
  245. package/src/components/HeatMapChart/HeatMapChart.types.ts +11 -1
  246. package/src/components/HorizontalBarChart/HorizontalBarChart.types.ts +13 -1
  247. package/src/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.ts +9 -1
  248. package/src/components/Legends/Legends.types.ts +14 -8
  249. package/src/components/LineChart/LineChart.types.ts +19 -1
  250. package/src/components/PieChart/PieChart.types.ts +10 -1
  251. package/src/components/SankeyChart/SankeyChart.types.ts +9 -1
  252. package/src/components/Sparkline/Sparkline.types.ts +6 -2
  253. package/src/components/StackedBarChart/MultiStackedBarChart.types.ts +12 -1
  254. package/src/components/StackedBarChart/StackedBarChart.types.ts +9 -1
  255. package/src/components/TreeChart/TreeChart.types.ts +20 -1
  256. package/src/components/VerticalBarChart/VerticalBarChart.types.ts +9 -1
  257. package/src/components/VerticalStackedBarChart/VerticalStackedBarChart.types.ts +9 -1
@@ -3,7 +3,7 @@ import { IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';
3
3
  import { IChartProps } from '../../types/IDataPoint';
4
4
  export type { IChartProps, IDataPoint, ISankeyChartData } from '../../types/IDataPoint';
5
5
  /**
6
- * ISankeyChartProps for Sankeychart component.
6
+ * Sankey Chart properties
7
7
  * {@docCategory SankeyChart}
8
8
  */
9
9
  export interface ISankeyChartProps {
@@ -52,6 +52,10 @@ export interface ISankeyChartProps {
52
52
  */
53
53
  borderColorsForNodes?: string[];
54
54
  }
55
+ /**
56
+ * Sankey Chart style properties
57
+ * {@docCategory SankeyChart}
58
+ */
55
59
  export interface ISankeyChartStyleProps {
56
60
  theme: ITheme;
57
61
  className?: string;
@@ -59,6 +63,10 @@ export interface ISankeyChartStyleProps {
59
63
  height: number;
60
64
  pathColor?: string;
61
65
  }
66
+ /**
67
+ * Sankey Chart styles
68
+ * {@docCategory SankeyChart}
69
+ */
62
70
  export interface ISankeyChartStyles {
63
71
  /**
64
72
  * Style for the root element.
@@ -1 +1 @@
1
- {"version":3,"file":"SankeyChart.types.js","sourceRoot":"../src/","sources":["components/SankeyChart/SankeyChart.types.ts"],"names":[],"mappings":"","sourcesContent":["import { ITheme, IStyle } from '@fluentui/react/lib/Styling';\nimport { IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';\nimport { IChartProps } from '../../types/IDataPoint';\n\nexport type { IChartProps, IDataPoint, ISankeyChartData } from '../../types/IDataPoint';\n\n/**\n * ISankeyChartProps for Sankeychart component.\n * {@docCategory SankeyChart}\n */\nexport interface ISankeyChartProps {\n /**\n * Data to render in the chart.\n */\n data: IChartProps;\n\n /**\n * Width of the chart.\n */\n width?: number;\n\n /**\n * Height of the chart.\n */\n height?: number;\n\n /**\n * Additional CSS class(es) to apply to the SankeyChart.\n */\n className?: string;\n\n /**\n * Theme (provided through customization.)\n */\n theme?: ITheme;\n\n /**\n * Call to provide customized styling that will layer on top of the variant rules.\n */\n styles?: IStyleFunctionOrObject<ISankeyChartStyleProps, ISankeyChartStyles>;\n\n /**\n * this prop takes its parent as a HTML element to define the width and height of the Sankey chart\n */\n parentRef?: HTMLElement | null;\n\n /**\n * should chart resize when parent resize.\n */\n shouldResize?: number;\n\n /**\n * Color for path\n */\n pathColor?: string;\n\n /**\n * Colors for nodes\n */\n colorsForNodes?: string[];\n\n /**\n * Colors for nodes border\n */\n borderColorsForNodes?: string[];\n}\n\nexport interface ISankeyChartStyleProps {\n theme: ITheme;\n className?: string;\n width: number;\n height: number;\n pathColor?: string;\n}\n\nexport interface ISankeyChartStyles {\n /**\n * Style for the root element.\n */\n root?: IStyle;\n\n /**\n * Style for the nodes.\n */\n nodes?: IStyle;\n\n /**\n * Style for the links.\n */\n links?: IStyle;\n\n /**\n * Style for the text inside node.\n */\n nodeTextContainer?: IStyle;\n\n /**\n * Style for the tooltip ,when user hover over the truncated node detail.\n */\n toolTip?: IStyle;\n\n /**\n * Style for the tooltip ,when user hover over the truncated node detail.\n */\n\n calloutContentRoot?: IStyle;\n}\n"]}
1
+ {"version":3,"file":"SankeyChart.types.js","sourceRoot":"../src/","sources":["components/SankeyChart/SankeyChart.types.ts"],"names":[],"mappings":"","sourcesContent":["import { ITheme, IStyle } from '@fluentui/react/lib/Styling';\nimport { IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';\nimport { IChartProps } from '../../types/IDataPoint';\n\nexport type { IChartProps, IDataPoint, ISankeyChartData } from '../../types/IDataPoint';\n\n/**\n * Sankey Chart properties\n * {@docCategory SankeyChart}\n */\nexport interface ISankeyChartProps {\n /**\n * Data to render in the chart.\n */\n data: IChartProps;\n\n /**\n * Width of the chart.\n */\n width?: number;\n\n /**\n * Height of the chart.\n */\n height?: number;\n\n /**\n * Additional CSS class(es) to apply to the SankeyChart.\n */\n className?: string;\n\n /**\n * Theme (provided through customization.)\n */\n theme?: ITheme;\n\n /**\n * Call to provide customized styling that will layer on top of the variant rules.\n */\n styles?: IStyleFunctionOrObject<ISankeyChartStyleProps, ISankeyChartStyles>;\n\n /**\n * this prop takes its parent as a HTML element to define the width and height of the Sankey chart\n */\n parentRef?: HTMLElement | null;\n\n /**\n * should chart resize when parent resize.\n */\n shouldResize?: number;\n\n /**\n * Color for path\n */\n pathColor?: string;\n\n /**\n * Colors for nodes\n */\n colorsForNodes?: string[];\n\n /**\n * Colors for nodes border\n */\n borderColorsForNodes?: string[];\n}\n\n/**\n * Sankey Chart style properties\n * {@docCategory SankeyChart}\n */\nexport interface ISankeyChartStyleProps {\n theme: ITheme;\n className?: string;\n width: number;\n height: number;\n pathColor?: string;\n}\n\n/**\n * Sankey Chart styles\n * {@docCategory SankeyChart}\n */\nexport interface ISankeyChartStyles {\n /**\n * Style for the root element.\n */\n root?: IStyle;\n\n /**\n * Style for the nodes.\n */\n nodes?: IStyle;\n\n /**\n * Style for the links.\n */\n links?: IStyle;\n\n /**\n * Style for the text inside node.\n */\n nodeTextContainer?: IStyle;\n\n /**\n * Style for the tooltip ,when user hover over the truncated node detail.\n */\n toolTip?: IStyle;\n\n /**\n * Style for the tooltip ,when user hover over the truncated node detail.\n */\n\n calloutContentRoot?: IStyle;\n}\n"]}
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { ISparklineProps } from '../../index';
3
3
  /**
4
- * Sparkline component.
4
+ * Sparkline component
5
5
  * {@docCategory Sparkline}
6
6
  */
7
7
  export declare const Sparkline: React.FunctionComponent<ISparklineProps>;
@@ -4,7 +4,7 @@ define(["require", "exports", "@fluentui/react/lib/Utilities", "./Sparkline.base
4
4
  exports.Sparkline = void 0;
5
5
  // Create a Sparkline variant which uses these default styles and this styled subcomponent.
6
6
  /**
7
- * Sparkline component.
7
+ * Sparkline component
8
8
  * {@docCategory Sparkline}
9
9
  */
10
10
  exports.Sparkline = (0, Utilities_1.styled)(Sparkline_base_1.SparklineBase, Sparkline_styles_1.getStyles);
@@ -1 +1 @@
1
- {"version":3,"file":"Sparkline.js","sourceRoot":"../src/","sources":["components/Sparkline/Sparkline.tsx"],"names":[],"mappings":";;;;IAMA,2FAA2F;IAC3F;;;OAGG;IACU,QAAA,SAAS,GAA6C,IAAA,kBAAM,EAIvE,8BAAa,EAAE,4BAAS,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport { styled } from '@fluentui/react/lib/Utilities';\nimport { ISparklineStyles, ISparklineProps, ISparklineStyleProps } from '../../index';\nimport { SparklineBase } from './Sparkline.base';\nimport { getStyles } from './Sparkline.styles';\n\n// Create a Sparkline variant which uses these default styles and this styled subcomponent.\n/**\n * Sparkline component.\n * {@docCategory Sparkline}\n */\nexport const Sparkline: React.FunctionComponent<ISparklineProps> = styled<\n ISparklineProps,\n ISparklineStyleProps,\n ISparklineStyles\n>(SparklineBase, getStyles);\n"]}
1
+ {"version":3,"file":"Sparkline.js","sourceRoot":"../src/","sources":["components/Sparkline/Sparkline.tsx"],"names":[],"mappings":";;;;IAMA,2FAA2F;IAC3F;;;OAGG;IACU,QAAA,SAAS,GAA6C,IAAA,kBAAM,EAIvE,8BAAa,EAAE,4BAAS,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport { styled } from '@fluentui/react/lib/Utilities';\nimport { ISparklineStyles, ISparklineProps, ISparklineStyleProps } from '../../index';\nimport { SparklineBase } from './Sparkline.base';\nimport { getStyles } from './Sparkline.styles';\n\n// Create a Sparkline variant which uses these default styles and this styled subcomponent.\n/**\n * Sparkline component\n * {@docCategory Sparkline}\n */\nexport const Sparkline: React.FunctionComponent<ISparklineProps> = styled<\n ISparklineProps,\n ISparklineStyleProps,\n ISparklineStyles\n>(SparklineBase, getStyles);\n"]}
@@ -5,8 +5,8 @@ import { ICartesianChartStyleProps } from '../CommonComponents/index';
5
5
  export interface ISparklineStyleProps extends ICartesianChartStyleProps {
6
6
  }
7
7
  /**
8
- * ISparklineProps for Sparkline component.
9
- * {@docCategory Sparkline}
8
+ * Sparkline properties
9
+ * {@docCategory SparklineChart}
10
10
  */
11
11
  export interface ISparklineProps {
12
12
  /**
@@ -49,6 +49,10 @@ export interface ISparklineProps {
49
49
  */
50
50
  styles?: IStyleFunctionOrObject<ISparklineStyleProps, ISparklineStyles>;
51
51
  }
52
+ /**
53
+ * Sparkline styles
54
+ * {@docCategory SparklineChart}
55
+ */
52
56
  export interface ISparklineStyles {
53
57
  inlineBlock?: IStyle;
54
58
  valueText?: IStyle;
@@ -1 +1 @@
1
- {"version":3,"file":"Sparkline.types.js","sourceRoot":"../src/","sources":["components/Sparkline/Sparkline.types.ts"],"names":[],"mappings":"","sourcesContent":["import { ITheme, IStyle } from '@fluentui/react/lib/Styling';\nimport { IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';\nimport { IChartProps } from '../../types/IDataPoint';\nimport { ICartesianChartStyleProps } from '../CommonComponents/index';\n\nexport interface ISparklineStyleProps extends ICartesianChartStyleProps {}\n\n/**\n * ISparklineProps for Sparkline component.\n * {@docCategory Sparkline}\n */\nexport interface ISparklineProps {\n /**\n * An array of chart data points for the Sparkline chart\n */\n data?: IChartProps;\n\n /**\n * Width of chart\n * * @default 80\n */\n width?: number;\n\n /**\n * Height of chart\n * @default 20\n */\n height?: number;\n\n /**\n * Width of value text\n * * @default 80\n */\n valueTextWidth?: number;\n\n /**\n * Additional CSS class(es) to apply to the SparklineChart.\n */\n className?: string;\n\n /**\n * Theme (provided through customization.)\n */\n theme?: ITheme;\n\n /**\n * The prop used to define the culture to localized the numbers\n */\n culture?: string;\n\n /**\n * Prop used to determine whether to show the legend or not\n */\n showLegend?: boolean;\n\n /**\n * Call to provide customized styling that will layer on top of the variant rules.\n */\n styles?: IStyleFunctionOrObject<ISparklineStyleProps, ISparklineStyles>;\n}\n\nexport interface ISparklineStyles {\n inlineBlock?: IStyle;\n valueText?: IStyle;\n}\n"]}
1
+ {"version":3,"file":"Sparkline.types.js","sourceRoot":"../src/","sources":["components/Sparkline/Sparkline.types.ts"],"names":[],"mappings":"","sourcesContent":["import { ITheme, IStyle } from '@fluentui/react/lib/Styling';\nimport { IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';\nimport { IChartProps } from '../../types/IDataPoint';\nimport { ICartesianChartStyleProps } from '../CommonComponents/index';\n\nexport interface ISparklineStyleProps extends ICartesianChartStyleProps {}\n\n/**\n * Sparkline properties\n * {@docCategory SparklineChart}\n */\nexport interface ISparklineProps {\n /**\n * An array of chart data points for the Sparkline chart\n */\n data?: IChartProps;\n\n /**\n * Width of chart\n * * @default 80\n */\n width?: number;\n\n /**\n * Height of chart\n * @default 20\n */\n height?: number;\n\n /**\n * Width of value text\n * * @default 80\n */\n valueTextWidth?: number;\n\n /**\n * Additional CSS class(es) to apply to the SparklineChart.\n */\n className?: string;\n\n /**\n * Theme (provided through customization.)\n */\n theme?: ITheme;\n\n /**\n * The prop used to define the culture to localized the numbers\n */\n culture?: string;\n\n /**\n * Prop used to determine whether to show the legend or not\n */\n showLegend?: boolean;\n\n /**\n * Call to provide customized styling that will layer on top of the variant rules.\n */\n styles?: IStyleFunctionOrObject<ISparklineStyleProps, ISparklineStyles>;\n}\n\n/**\n * Sparkline styles\n * {@docCategory SparklineChart}\n */\nexport interface ISparklineStyles {\n inlineBlock?: IStyle;\n valueText?: IStyle;\n}\n"]}
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { IMultiStackedBarChartProps } from './MultiStackedBarChart.types';
3
3
  /**
4
- * MultiStackedBarchart component.
4
+ * MultiStackedBarchart component
5
5
  * {@docCategory MultiStackedBarChart}
6
6
  */
7
7
  export declare const MultiStackedBarChart: React.FunctionComponent<IMultiStackedBarChartProps>;
@@ -4,7 +4,7 @@ define(["require", "exports", "@fluentui/react/lib/Utilities", "./MultiStackedBa
4
4
  exports.MultiStackedBarChart = void 0;
5
5
  // Create a MultiStackedBarChart variant which uses these default styles and this styled subcomponent.
6
6
  /**
7
- * MultiStackedBarchart component.
7
+ * MultiStackedBarchart component
8
8
  * {@docCategory MultiStackedBarChart}
9
9
  */
10
10
  exports.MultiStackedBarChart = (0, Utilities_1.styled)(MultiStackedBarChart_base_1.MultiStackedBarChartBase, MultiStackedBarChart_styles_1.getMultiStackedBarChartStyles);
@@ -1 +1 @@
1
- {"version":3,"file":"MultiStackedBarChart.js","sourceRoot":"../src/","sources":["components/StackedBarChart/MultiStackedBarChart.tsx"],"names":[],"mappings":";;;;IAUA,sGAAsG;IACtG;;;OAGG;IACU,QAAA,oBAAoB,GAAwD,IAAA,kBAAM,EAI7F,oDAAwB,EAAE,2DAA6B,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport { styled } from '@fluentui/react/lib/Utilities';\nimport {\n IMultiStackedBarChartProps,\n IMultiStackedBarChartStyleProps,\n IMultiStackedBarChartStyles,\n} from './MultiStackedBarChart.types';\nimport { MultiStackedBarChartBase } from './MultiStackedBarChart.base';\nimport { getMultiStackedBarChartStyles } from './MultiStackedBarChart.styles';\n\n// Create a MultiStackedBarChart variant which uses these default styles and this styled subcomponent.\n/**\n * MultiStackedBarchart component.\n * {@docCategory MultiStackedBarChart}\n */\nexport const MultiStackedBarChart: React.FunctionComponent<IMultiStackedBarChartProps> = styled<\n IMultiStackedBarChartProps,\n IMultiStackedBarChartStyleProps,\n IMultiStackedBarChartStyles\n>(MultiStackedBarChartBase, getMultiStackedBarChartStyles);\n"]}
1
+ {"version":3,"file":"MultiStackedBarChart.js","sourceRoot":"../src/","sources":["components/StackedBarChart/MultiStackedBarChart.tsx"],"names":[],"mappings":";;;;IAUA,sGAAsG;IACtG;;;OAGG;IACU,QAAA,oBAAoB,GAAwD,IAAA,kBAAM,EAI7F,oDAAwB,EAAE,2DAA6B,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport { styled } from '@fluentui/react/lib/Utilities';\nimport {\n IMultiStackedBarChartProps,\n IMultiStackedBarChartStyleProps,\n IMultiStackedBarChartStyles,\n} from './MultiStackedBarChart.types';\nimport { MultiStackedBarChartBase } from './MultiStackedBarChart.base';\nimport { getMultiStackedBarChartStyles } from './MultiStackedBarChart.styles';\n\n// Create a MultiStackedBarChart variant which uses these default styles and this styled subcomponent.\n/**\n * MultiStackedBarchart component\n * {@docCategory MultiStackedBarChart}\n */\nexport const MultiStackedBarChart: React.FunctionComponent<IMultiStackedBarChartProps> = styled<\n IMultiStackedBarChartProps,\n IMultiStackedBarChartStyleProps,\n IMultiStackedBarChartStyles\n>(MultiStackedBarChartBase, getMultiStackedBarChartStyles);\n"]}
@@ -6,7 +6,7 @@ import { IOverflowSetProps } from '@fluentui/react/lib/OverflowSet';
6
6
  import { IFocusZoneProps } from '@fluentui/react-focus';
7
7
  import { ILegendsProps } from '../Legends/index';
8
8
  /**
9
- * IMultiStackedBarChartProps for MultiStackedBarchart component.
9
+ * Multi Stacked Bar Chart properties
10
10
  * {@docCategory MultiStackedBarChart}
11
11
  */
12
12
  export interface IMultiStackedBarChartProps {
@@ -100,6 +100,10 @@ export interface IMultiStackedBarChartProps {
100
100
  */
101
101
  hideLabels?: boolean;
102
102
  }
103
+ /**
104
+ * Multi Stacked Bar Chart style properties
105
+ * {@docCategory MultiStackedBarChart}
106
+ */
103
107
  export interface IMultiStackedBarChartStyleProps {
104
108
  /**
105
109
  * Theme (provided through customization.)
@@ -138,6 +142,10 @@ export interface IMultiStackedBarChartStyleProps {
138
142
  */
139
143
  hideLabels?: boolean;
140
144
  }
145
+ /**
146
+ * Multi Stacked Bar Chart styles
147
+ * {@docCategory MultiStackedBarChart}
148
+ */
141
149
  export interface IMultiStackedBarChartStyles {
142
150
  /**
143
151
  * Styling for the root container
@@ -196,6 +204,9 @@ export interface IMultiStackedBarChartStyles {
196
204
  */
197
205
  chartWrapper: IStyle;
198
206
  }
207
+ /**
208
+ * {@docCategory MultiStackedBarChart}
209
+ */
199
210
  export declare enum MultiStackedBarChartVariant {
200
211
  PartToWhole = "part-to-whole",
201
212
  AbsoluteScale = "absolute-scale"
@@ -2,6 +2,9 @@ define(["require", "exports"], function (require, exports) {
2
2
  "use strict";
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.MultiStackedBarChartVariant = void 0;
5
+ /**
6
+ * {@docCategory MultiStackedBarChart}
7
+ */
5
8
  var MultiStackedBarChartVariant;
6
9
  (function (MultiStackedBarChartVariant) {
7
10
  MultiStackedBarChartVariant["PartToWhole"] = "part-to-whole";
@@ -1 +1 @@
1
- {"version":3,"file":"MultiStackedBarChart.types.js","sourceRoot":"../src/","sources":["components/StackedBarChart/MultiStackedBarChart.types.ts"],"names":[],"mappings":";;;;IAkPA,IAAY,2BAGX;IAHD,WAAY,2BAA2B;QACrC,4DAA6B,CAAA;QAC7B,+DAAgC,CAAA;IAClC,CAAC,EAHW,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAGtC","sourcesContent":["import { IChartProps, IChartDataPoint } from './index';\nimport { IStyle, ITheme } from '@fluentui/react/lib/Styling';\nimport { ICalloutProps } from '@fluentui/react/lib/Callout';\nimport { IRenderFunction, IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';\nimport { IOverflowSetProps } from '@fluentui/react/lib/OverflowSet';\nimport { IFocusZoneProps } from '@fluentui/react-focus';\nimport { ILegendsProps } from '../Legends/index';\n\n/**\n * IMultiStackedBarChartProps for MultiStackedBarchart component.\n * {@docCategory MultiStackedBarChart}\n */\nexport interface IMultiStackedBarChartProps {\n /**\n * An array of chart data points for the multistacked bar chart\n */\n data?: IChartProps[];\n\n /**\n * Width of bar chart\n */\n width?: number;\n\n /**\n * Height of bar chart\n * @default 15\n */\n barHeight?: number;\n\n /**\n * Additional CSS class(es) to apply to the StackedBarChart.\n */\n className?: string;\n\n /**\n * Theme (provided through customization.)\n */\n theme?: ITheme;\n\n /**\n * This property tells whether to show ratio on top of stacked bar chart or not.\n * This property is applicable only if there are 1 or 2 datapoints.\n */\n hideRatio?: boolean[];\n\n /**\n * Do not show the legend at the bottom of chart\n *\n * @default false\n */\n hideLegend?: boolean;\n\n /**\n * Do not show tooltips in chart\n *\n * @default false\n */\n hideTooltip?: boolean;\n\n /**\n * Call to provide customized styling that will layer on top of the variant rules.\n */\n styles?: IStyleFunctionOrObject<IMultiStackedBarChartStyleProps, IMultiStackedBarChartStyles>;\n\n /**\n * Url that the data-viz needs to redirect to upon clicking on it\n */\n href?: string;\n\n /**\n * If this value is set to true the denominator will not be shown for the ratio above the chart\n * This prop is applicable only if hide ratio is false and there are exactly 2 datapoints.\n */\n hideDenominator?: boolean[];\n\n /**\n * overflow props for legend\n */\n legendsOverflowProps?: Partial<IOverflowSetProps>;\n\n /**\n * text for overflow legends string\n */\n legendsOverflowText?: string;\n\n /**\n * focus zone props in hover card for legends\n */\n focusZonePropsForLegendsInHoverCard?: IFocusZoneProps;\n\n /**\n * props for the legends in the chart\n */\n legendProps?: Partial<ILegendsProps>;\n\n /**\n * Define a custom callout renderer for a data point\n */\n onRenderCalloutPerDataPoint?: IRenderFunction<IChartDataPoint>;\n\n /**\n * props for the callout in the chart\n */\n calloutProps?: Partial<ICalloutProps>;\n\n /**\n * The prop used to define the culture to localized the numbers\n */\n culture?: string;\n\n /**\n * Prop to define the variant of MultiStackedBarChart to render\n * @default MultiStackedBarChartVariant.PartToWhole\n */\n variant?: MultiStackedBarChartVariant;\n\n /**\n * Prop to hide the bar labels\n * @default false\n */\n hideLabels?: boolean;\n}\n\nexport interface IMultiStackedBarChartStyleProps {\n /**\n * Theme (provided through customization.)\n */\n theme: ITheme;\n\n /**\n * Additional CSS class(es) to apply to the StackedBarChart.\n */\n className?: string;\n\n /**\n * Width of the chart.\n */\n width?: number;\n\n /**\n * barHeight for each chart\n */\n barHeight?: number;\n\n /**\n * color of the datapoint legend\n */\n legendColor?: string;\n\n /**\n * prop to check if the chart is selcted or hovered upon to determine opacity\n */\n shouldHighlight?: boolean;\n\n /**\n * prop to check to decide cursor type\n */\n href?: string;\n\n /**\n * Prop to define the variant of MultiStackedBarChart to render\n */\n variant?: MultiStackedBarChartVariant;\n\n /**\n * Prop to hide the bar labels\n */\n hideLabels?: boolean;\n}\n\nexport interface IMultiStackedBarChartStyles {\n /**\n * Styling for the root container\n */\n root: IStyle;\n\n /**\n * Styling for the root container of each chart in the multistacked bar chart\n */\n singleChartRoot: IStyle;\n\n /**\n * Styling for each item in the container\n */\n items: IStyle;\n\n /**\n * Styling for each svg in the multistacked bar chart\n */\n chart: IStyle;\n\n /**\n * Styling for chart title of the stacked bar chart\n */\n chartTitle: IStyle;\n\n /**\n * Style for left side text of the chart title\n */\n chartTitleLeft: IStyle;\n\n /**\n * Style to change the opacity of bars in dataviz when we hover on a single bar or legends\n */\n opacityChangeOnHover: IStyle;\n\n /**\n * Style for the chart ratio numerator\n */\n ratioNumerator: IStyle;\n\n /**\n * Style for the chart ratio denominator\n */\n ratioDenominator: IStyle;\n\n /**\n * Style to change the opacity of placeholder data point when we hover a single bar or legend\n */\n placeHolderOnHover: IStyle;\n\n /**\n * Style for the legends container\n */\n legendContainer: IStyle;\n\n /**\n * Style for stacked bar chart with no data\n */\n noData: IStyle;\n\n /**\n * Style for the bar labels\n */\n barLabel: IStyle;\n\n /**\n * Style for the div containing the chart\n */\n chartWrapper: IStyle;\n}\n\nexport enum MultiStackedBarChartVariant {\n PartToWhole = 'part-to-whole',\n AbsoluteScale = 'absolute-scale',\n}\n"]}
1
+ {"version":3,"file":"MultiStackedBarChart.types.js","sourceRoot":"../src/","sources":["components/StackedBarChart/MultiStackedBarChart.types.ts"],"names":[],"mappings":";;;;IA0PA;;OAEG;IACH,IAAY,2BAGX;IAHD,WAAY,2BAA2B;QACrC,4DAA6B,CAAA;QAC7B,+DAAgC,CAAA;IAClC,CAAC,EAHW,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAGtC","sourcesContent":["import { IChartProps, IChartDataPoint } from './index';\nimport { IStyle, ITheme } from '@fluentui/react/lib/Styling';\nimport { ICalloutProps } from '@fluentui/react/lib/Callout';\nimport { IRenderFunction, IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';\nimport { IOverflowSetProps } from '@fluentui/react/lib/OverflowSet';\nimport { IFocusZoneProps } from '@fluentui/react-focus';\nimport { ILegendsProps } from '../Legends/index';\n\n/**\n * Multi Stacked Bar Chart properties\n * {@docCategory MultiStackedBarChart}\n */\nexport interface IMultiStackedBarChartProps {\n /**\n * An array of chart data points for the multistacked bar chart\n */\n data?: IChartProps[];\n\n /**\n * Width of bar chart\n */\n width?: number;\n\n /**\n * Height of bar chart\n * @default 15\n */\n barHeight?: number;\n\n /**\n * Additional CSS class(es) to apply to the StackedBarChart.\n */\n className?: string;\n\n /**\n * Theme (provided through customization.)\n */\n theme?: ITheme;\n\n /**\n * This property tells whether to show ratio on top of stacked bar chart or not.\n * This property is applicable only if there are 1 or 2 datapoints.\n */\n hideRatio?: boolean[];\n\n /**\n * Do not show the legend at the bottom of chart\n *\n * @default false\n */\n hideLegend?: boolean;\n\n /**\n * Do not show tooltips in chart\n *\n * @default false\n */\n hideTooltip?: boolean;\n\n /**\n * Call to provide customized styling that will layer on top of the variant rules.\n */\n styles?: IStyleFunctionOrObject<IMultiStackedBarChartStyleProps, IMultiStackedBarChartStyles>;\n\n /**\n * Url that the data-viz needs to redirect to upon clicking on it\n */\n href?: string;\n\n /**\n * If this value is set to true the denominator will not be shown for the ratio above the chart\n * This prop is applicable only if hide ratio is false and there are exactly 2 datapoints.\n */\n hideDenominator?: boolean[];\n\n /**\n * overflow props for legend\n */\n legendsOverflowProps?: Partial<IOverflowSetProps>;\n\n /**\n * text for overflow legends string\n */\n legendsOverflowText?: string;\n\n /**\n * focus zone props in hover card for legends\n */\n focusZonePropsForLegendsInHoverCard?: IFocusZoneProps;\n\n /**\n * props for the legends in the chart\n */\n legendProps?: Partial<ILegendsProps>;\n\n /**\n * Define a custom callout renderer for a data point\n */\n onRenderCalloutPerDataPoint?: IRenderFunction<IChartDataPoint>;\n\n /**\n * props for the callout in the chart\n */\n calloutProps?: Partial<ICalloutProps>;\n\n /**\n * The prop used to define the culture to localized the numbers\n */\n culture?: string;\n\n /**\n * Prop to define the variant of MultiStackedBarChart to render\n * @default MultiStackedBarChartVariant.PartToWhole\n */\n variant?: MultiStackedBarChartVariant;\n\n /**\n * Prop to hide the bar labels\n * @default false\n */\n hideLabels?: boolean;\n}\n\n/**\n * Multi Stacked Bar Chart style properties\n * {@docCategory MultiStackedBarChart}\n */\nexport interface IMultiStackedBarChartStyleProps {\n /**\n * Theme (provided through customization.)\n */\n theme: ITheme;\n\n /**\n * Additional CSS class(es) to apply to the StackedBarChart.\n */\n className?: string;\n\n /**\n * Width of the chart.\n */\n width?: number;\n\n /**\n * barHeight for each chart\n */\n barHeight?: number;\n\n /**\n * color of the datapoint legend\n */\n legendColor?: string;\n\n /**\n * prop to check if the chart is selcted or hovered upon to determine opacity\n */\n shouldHighlight?: boolean;\n\n /**\n * prop to check to decide cursor type\n */\n href?: string;\n\n /**\n * Prop to define the variant of MultiStackedBarChart to render\n */\n variant?: MultiStackedBarChartVariant;\n\n /**\n * Prop to hide the bar labels\n */\n hideLabels?: boolean;\n}\n\n/**\n * Multi Stacked Bar Chart styles\n * {@docCategory MultiStackedBarChart}\n */\nexport interface IMultiStackedBarChartStyles {\n /**\n * Styling for the root container\n */\n root: IStyle;\n\n /**\n * Styling for the root container of each chart in the multistacked bar chart\n */\n singleChartRoot: IStyle;\n\n /**\n * Styling for each item in the container\n */\n items: IStyle;\n\n /**\n * Styling for each svg in the multistacked bar chart\n */\n chart: IStyle;\n\n /**\n * Styling for chart title of the stacked bar chart\n */\n chartTitle: IStyle;\n\n /**\n * Style for left side text of the chart title\n */\n chartTitleLeft: IStyle;\n\n /**\n * Style to change the opacity of bars in dataviz when we hover on a single bar or legends\n */\n opacityChangeOnHover: IStyle;\n\n /**\n * Style for the chart ratio numerator\n */\n ratioNumerator: IStyle;\n\n /**\n * Style for the chart ratio denominator\n */\n ratioDenominator: IStyle;\n\n /**\n * Style to change the opacity of placeholder data point when we hover a single bar or legend\n */\n placeHolderOnHover: IStyle;\n\n /**\n * Style for the legends container\n */\n legendContainer: IStyle;\n\n /**\n * Style for stacked bar chart with no data\n */\n noData: IStyle;\n\n /**\n * Style for the bar labels\n */\n barLabel: IStyle;\n\n /**\n * Style for the div containing the chart\n */\n chartWrapper: IStyle;\n}\n\n/**\n * {@docCategory MultiStackedBarChart}\n */\nexport enum MultiStackedBarChartVariant {\n PartToWhole = 'part-to-whole',\n AbsoluteScale = 'absolute-scale',\n}\n"]}
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { IStackedBarChartProps } from './StackedBarChart.types';
3
3
  /**
4
- * StackedBarchart component.
4
+ * StackedBarchart component
5
5
  * {@docCategory StackedBarChart}
6
6
  */
7
7
  export declare const StackedBarChart: React.FunctionComponent<IStackedBarChartProps>;
@@ -4,7 +4,7 @@ define(["require", "exports", "@fluentui/react/lib/Utilities", "./StackedBarChar
4
4
  exports.StackedBarChart = void 0;
5
5
  // Create a StackedBarChart variant which uses these default styles and this styled subcomponent.
6
6
  /**
7
- * StackedBarchart component.
7
+ * StackedBarchart component
8
8
  * {@docCategory StackedBarChart}
9
9
  */
10
10
  exports.StackedBarChart = (0, Utilities_1.styled)(StackedBarChart_base_1.StackedBarChartBase, StackedBarChart_styles_1.getStyles);
@@ -1 +1 @@
1
- {"version":3,"file":"StackedBarChart.js","sourceRoot":"../src/","sources":["components/StackedBarChart/StackedBarChart.tsx"],"names":[],"mappings":";;;;IAMA,iGAAiG;IACjG;;;OAGG;IACU,QAAA,eAAe,GAAmD,IAAA,kBAAM,EAInF,0CAAmB,EAAE,kCAAS,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport { styled } from '@fluentui/react/lib/Utilities';\nimport { IStackedBarChartProps, IStackedBarChartStyleProps, IStackedBarChartStyles } from './StackedBarChart.types';\nimport { StackedBarChartBase } from './StackedBarChart.base';\nimport { getStyles } from './StackedBarChart.styles';\n\n// Create a StackedBarChart variant which uses these default styles and this styled subcomponent.\n/**\n * StackedBarchart component.\n * {@docCategory StackedBarChart}\n */\nexport const StackedBarChart: React.FunctionComponent<IStackedBarChartProps> = styled<\n IStackedBarChartProps,\n IStackedBarChartStyleProps,\n IStackedBarChartStyles\n>(StackedBarChartBase, getStyles);\n"]}
1
+ {"version":3,"file":"StackedBarChart.js","sourceRoot":"../src/","sources":["components/StackedBarChart/StackedBarChart.tsx"],"names":[],"mappings":";;;;IAMA,iGAAiG;IACjG;;;OAGG;IACU,QAAA,eAAe,GAAmD,IAAA,kBAAM,EAInF,0CAAmB,EAAE,kCAAS,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport { styled } from '@fluentui/react/lib/Utilities';\nimport { IStackedBarChartProps, IStackedBarChartStyleProps, IStackedBarChartStyles } from './StackedBarChart.types';\nimport { StackedBarChartBase } from './StackedBarChart.base';\nimport { getStyles } from './StackedBarChart.styles';\n\n// Create a StackedBarChart variant which uses these default styles and this styled subcomponent.\n/**\n * StackedBarchart component\n * {@docCategory StackedBarChart}\n */\nexport const StackedBarChart: React.FunctionComponent<IStackedBarChartProps> = styled<\n IStackedBarChartProps,\n IStackedBarChartStyleProps,\n IStackedBarChartStyles\n>(StackedBarChartBase, getStyles);\n"]}
@@ -8,7 +8,7 @@ export interface IStackedBarChart {
8
8
  }
9
9
  import { IChartProps, IChartDataPoint } from './index';
10
10
  /**
11
- * IStackedBarChartProps for StackedBarchart component.
11
+ * Stacked Bar Chart properties
12
12
  * {@docCategory StackedBarChart}
13
13
  */
14
14
  export interface IStackedBarChartProps {
@@ -112,6 +112,10 @@ export interface IStackedBarChartProps {
112
112
  */
113
113
  culture?: string;
114
114
  }
115
+ /**
116
+ * Stacked Bar Chart style properties
117
+ * {@docCategory StackedBarChart}
118
+ */
115
119
  export interface IStackedBarChartStyleProps {
116
120
  /**
117
121
  * Theme (provided through customization.)
@@ -166,6 +170,10 @@ export interface IStackedBarChartStyleProps {
166
170
  */
167
171
  showTriangle?: boolean;
168
172
  }
173
+ /**
174
+ * Stacked Bar Chart styles
175
+ * {@docCategory StackedBarChart}
176
+ */
169
177
  export interface IStackedBarChartStyles {
170
178
  /**
171
179
  * Style for the root element.
@@ -1 +1 @@
1
- {"version":3,"file":"StackedBarChart.types.js","sourceRoot":"../src/","sources":["components/StackedBarChart/StackedBarChart.types.ts"],"names":[],"mappings":"","sourcesContent":["import { ITheme, IStyle } from '@fluentui/react/lib/Styling';\nimport { ICalloutProps } from '@fluentui/react/lib/Callout';\nimport { IRenderFunction, IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';\nimport { IOverflowSetProps } from '@fluentui/react/lib/OverflowSet';\nimport { IFocusZoneProps } from '@fluentui/react-focus';\nimport { ILegendsProps } from '../Legends/index';\n\nexport interface IStackedBarChart {}\nimport { IChartProps, IChartDataPoint } from './index';\n\n/**\n * IStackedBarChartProps for StackedBarchart component.\n * {@docCategory StackedBarChart}\n */\nexport interface IStackedBarChartProps {\n /**\n * Data to render in the chart.\n */\n data?: IChartProps;\n\n /**\n * Benchmark Data to render in the chart.\n */\n benchmarkData?: IChartDataPoint;\n\n /**\n * Target Data to render in the chart.\n */\n targetData?: IChartDataPoint;\n\n /**\n * Width of the chart.\n */\n width?: number;\n\n /**\n * Height of each bar in the chart.\n */\n barHeight?: number;\n\n /**\n * Do not show the legend at the bottom of chart\n * when there are more than two datapoints\n *\n * @default false\n */\n hideLegend?: boolean;\n\n /**\n * Do not show number/ratio on top of bar\n *\n * @default false\n */\n hideNumberDisplay?: boolean;\n\n /**\n * Do not show tooltips in chart\n *\n * @default false\n */\n hideTooltip?: boolean;\n\n /**\n * Additional CSS class(es) to apply to the StackedBarChart.\n */\n className?: string;\n\n /**\n * Theme (provided through customization.)\n */\n theme?: ITheme;\n\n /**\n * Call to provide customized styling that will layer on top of the variant rules.\n */\n styles?: IStyleFunctionOrObject<IStackedBarChartStyleProps, IStackedBarChartStyles>;\n\n /**\n * Color setting of bar background color, this will show while all data points value is 0\n */\n barBackgroundColor?: string;\n\n /**\n * Url that the data-viz needs to redirect to upon clicking on it\n */\n href?: string;\n\n /**\n * If this value is set, the fixed display pattern for less than 2 data points chart will be ignore\n */\n ignoreFixStyle?: boolean;\n\n /**\n * If this value is set to true the denominator will not be shown for the ratio above the chart\n */\n hideDenominator?: boolean;\n\n /**\n * Enable the legends to wrap lines if there is not enough space to show all legends on a single line\n */\n enabledLegendsWrapLines?: boolean;\n\n /**\n * overflow props for the legend\n */\n legendsOverflowProps?: Partial<IOverflowSetProps>;\n\n /**\n * text for overflow legends string\n */\n legendsOverflowText?: string;\n\n /**\n * focus zone props in hover card for legends\n */\n focusZonePropsForLegendsInHoverCard?: IFocusZoneProps;\n\n /**\n * props for the legends in the chart\n */\n legendProps?: Partial<ILegendsProps>;\n\n /**\n * Define a custom callout renderer for a data point\n */\n onRenderCalloutPerDataPoint?: IRenderFunction<IChartDataPoint>;\n\n /**\n * props for the callout in the chart\n */\n calloutProps?: Partial<ICalloutProps>;\n\n /**\n * The prop used to define the culture to localized the numbers\n */\n culture?: string;\n}\n\nexport interface IStackedBarChartStyleProps {\n /**\n * Theme (provided through customization.)\n */\n theme: ITheme;\n\n /**\n * Additional CSS class(es) to apply to the StackedBarChart.\n */\n className?: string;\n\n /**\n * Width of the chart.\n */\n width?: number;\n\n /**\n * Height of bar in the chart.\n */\n barHeight?: number;\n\n /**\n * prop to show data of the chart with appropriate legend color\n */\n legendColor?: string;\n\n /**\n * prop to check if the chart is selcted or hovered upon to determine opacity\n */\n shouldHighlight?: boolean;\n\n /**\n * prop to check which specific section of the stacked bar chart is selected or hovered upon\n */\n isChartSelected?: boolean;\n\n /**\n * prop to check to decide cursor type\n */\n href?: string;\n\n /**\n * the color for the benchmark triangle\n */\n benchmarkColor?: string;\n\n /**\n * the ratio position for the benchmark triangle\n */\n benchmarkRatio?: number;\n\n /**\n * the color for the target triangle\n */\n targetColor?: string;\n\n /**\n * the ratio position for the target triangle\n */\n targetRatio?: number;\n\n /**\n * prop to check if benchmark data or target data is provided\n */\n showTriangle?: boolean;\n}\n\nexport interface IStackedBarChartStyles {\n /**\n * Style for the root element.\n */\n root: IStyle;\n\n /**\n * Style for the chart.\n */\n chart: IStyle;\n\n /**\n * Style for the chart Title.\n */\n chartTitle: IStyle;\n\n /**\n * Style for left side text of the chart title\n */\n chartTitleLeft: IStyle;\n\n /**\n * Style for the legend container div\n */\n legendContainer: IStyle;\n\n /**\n * Style to change the opacity of bars in dataviz when we hover on a single bar or legends\n */\n opacityChangeOnHover: IStyle;\n\n /**\n * Style for the chart ratio numerator\n */\n ratioNumerator: IStyle;\n\n /**\n * Style for the chart ratio denominator\n */\n ratioDenominator: IStyle;\n\n /**\n * Style for the benchmark container\n */\n benchmarkContainer: IStyle;\n\n /**\n * Style for the benchmark triangle\n */\n benchmark: IStyle;\n\n /**\n * Style for the target triangle\n */\n target: IStyle;\n}\n"]}
1
+ {"version":3,"file":"StackedBarChart.types.js","sourceRoot":"../src/","sources":["components/StackedBarChart/StackedBarChart.types.ts"],"names":[],"mappings":"","sourcesContent":["import { ITheme, IStyle } from '@fluentui/react/lib/Styling';\nimport { ICalloutProps } from '@fluentui/react/lib/Callout';\nimport { IRenderFunction, IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';\nimport { IOverflowSetProps } from '@fluentui/react/lib/OverflowSet';\nimport { IFocusZoneProps } from '@fluentui/react-focus';\nimport { ILegendsProps } from '../Legends/index';\n\nexport interface IStackedBarChart {}\nimport { IChartProps, IChartDataPoint } from './index';\n\n/**\n * Stacked Bar Chart properties\n * {@docCategory StackedBarChart}\n */\nexport interface IStackedBarChartProps {\n /**\n * Data to render in the chart.\n */\n data?: IChartProps;\n\n /**\n * Benchmark Data to render in the chart.\n */\n benchmarkData?: IChartDataPoint;\n\n /**\n * Target Data to render in the chart.\n */\n targetData?: IChartDataPoint;\n\n /**\n * Width of the chart.\n */\n width?: number;\n\n /**\n * Height of each bar in the chart.\n */\n barHeight?: number;\n\n /**\n * Do not show the legend at the bottom of chart\n * when there are more than two datapoints\n *\n * @default false\n */\n hideLegend?: boolean;\n\n /**\n * Do not show number/ratio on top of bar\n *\n * @default false\n */\n hideNumberDisplay?: boolean;\n\n /**\n * Do not show tooltips in chart\n *\n * @default false\n */\n hideTooltip?: boolean;\n\n /**\n * Additional CSS class(es) to apply to the StackedBarChart.\n */\n className?: string;\n\n /**\n * Theme (provided through customization.)\n */\n theme?: ITheme;\n\n /**\n * Call to provide customized styling that will layer on top of the variant rules.\n */\n styles?: IStyleFunctionOrObject<IStackedBarChartStyleProps, IStackedBarChartStyles>;\n\n /**\n * Color setting of bar background color, this will show while all data points value is 0\n */\n barBackgroundColor?: string;\n\n /**\n * Url that the data-viz needs to redirect to upon clicking on it\n */\n href?: string;\n\n /**\n * If this value is set, the fixed display pattern for less than 2 data points chart will be ignore\n */\n ignoreFixStyle?: boolean;\n\n /**\n * If this value is set to true the denominator will not be shown for the ratio above the chart\n */\n hideDenominator?: boolean;\n\n /**\n * Enable the legends to wrap lines if there is not enough space to show all legends on a single line\n */\n enabledLegendsWrapLines?: boolean;\n\n /**\n * overflow props for the legend\n */\n legendsOverflowProps?: Partial<IOverflowSetProps>;\n\n /**\n * text for overflow legends string\n */\n legendsOverflowText?: string;\n\n /**\n * focus zone props in hover card for legends\n */\n focusZonePropsForLegendsInHoverCard?: IFocusZoneProps;\n\n /**\n * props for the legends in the chart\n */\n legendProps?: Partial<ILegendsProps>;\n\n /**\n * Define a custom callout renderer for a data point\n */\n onRenderCalloutPerDataPoint?: IRenderFunction<IChartDataPoint>;\n\n /**\n * props for the callout in the chart\n */\n calloutProps?: Partial<ICalloutProps>;\n\n /**\n * The prop used to define the culture to localized the numbers\n */\n culture?: string;\n}\n\n/**\n * Stacked Bar Chart style properties\n * {@docCategory StackedBarChart}\n */\nexport interface IStackedBarChartStyleProps {\n /**\n * Theme (provided through customization.)\n */\n theme: ITheme;\n\n /**\n * Additional CSS class(es) to apply to the StackedBarChart.\n */\n className?: string;\n\n /**\n * Width of the chart.\n */\n width?: number;\n\n /**\n * Height of bar in the chart.\n */\n barHeight?: number;\n\n /**\n * prop to show data of the chart with appropriate legend color\n */\n legendColor?: string;\n\n /**\n * prop to check if the chart is selcted or hovered upon to determine opacity\n */\n shouldHighlight?: boolean;\n\n /**\n * prop to check which specific section of the stacked bar chart is selected or hovered upon\n */\n isChartSelected?: boolean;\n\n /**\n * prop to check to decide cursor type\n */\n href?: string;\n\n /**\n * the color for the benchmark triangle\n */\n benchmarkColor?: string;\n\n /**\n * the ratio position for the benchmark triangle\n */\n benchmarkRatio?: number;\n\n /**\n * the color for the target triangle\n */\n targetColor?: string;\n\n /**\n * the ratio position for the target triangle\n */\n targetRatio?: number;\n\n /**\n * prop to check if benchmark data or target data is provided\n */\n showTriangle?: boolean;\n}\n\n/**\n * Stacked Bar Chart styles\n * {@docCategory StackedBarChart}\n */\nexport interface IStackedBarChartStyles {\n /**\n * Style for the root element.\n */\n root: IStyle;\n\n /**\n * Style for the chart.\n */\n chart: IStyle;\n\n /**\n * Style for the chart Title.\n */\n chartTitle: IStyle;\n\n /**\n * Style for left side text of the chart title\n */\n chartTitleLeft: IStyle;\n\n /**\n * Style for the legend container div\n */\n legendContainer: IStyle;\n\n /**\n * Style to change the opacity of bars in dataviz when we hover on a single bar or legends\n */\n opacityChangeOnHover: IStyle;\n\n /**\n * Style for the chart ratio numerator\n */\n ratioNumerator: IStyle;\n\n /**\n * Style for the chart ratio denominator\n */\n ratioDenominator: IStyle;\n\n /**\n * Style for the benchmark container\n */\n benchmarkContainer: IStyle;\n\n /**\n * Style for the benchmark triangle\n */\n benchmark: IStyle;\n\n /**\n * Style for the target triangle\n */\n target: IStyle;\n}\n"]}
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { ITreeProps } from './TreeChart.types';
3
3
  /**
4
- * Treechart component.
4
+ * Treechart component
5
5
  * {@docCategory TreeChart}
6
6
  */
7
7
  export declare const TreeChart: React.FunctionComponent<ITreeProps>;
@@ -3,7 +3,7 @@ define(["require", "exports", "@fluentui/react/lib/Utilities", "./TreeChart.base
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.TreeChart = void 0;
5
5
  /**
6
- * Treechart component.
6
+ * Treechart component
7
7
  * {@docCategory TreeChart}
8
8
  */
9
9
  exports.TreeChart = (0, Utilities_1.styled)(TreeChart_base_1.TreeChartBase, TreeChart_styles_1.getStyles);
@@ -1 +1 @@
1
- {"version":3,"file":"TreeChart.js","sourceRoot":"../src/","sources":["components/TreeChart/TreeChart.tsx"],"names":[],"mappings":";;;;IAMA;;;OAGG;IACU,QAAA,SAAS,GAAwC,IAAA,kBAAM,EAClE,8BAAa,EACb,4BAAS,CACV,CAAC","sourcesContent":["import * as React from 'react';\nimport { styled } from '@fluentui/react/lib/Utilities';\nimport { ITreeStyles, ITreeProps, ITreeStyleProps } from './TreeChart.types';\nimport { TreeChartBase } from './TreeChart.base';\nimport { getStyles } from './TreeChart.styles';\n\n/**\n * Treechart component.\n * {@docCategory TreeChart}\n */\nexport const TreeChart: React.FunctionComponent<ITreeProps> = styled<ITreeProps, ITreeStyleProps, ITreeStyles>(\n TreeChartBase,\n getStyles,\n);\n"]}
1
+ {"version":3,"file":"TreeChart.js","sourceRoot":"../src/","sources":["components/TreeChart/TreeChart.tsx"],"names":[],"mappings":";;;;IAMA;;;OAGG;IACU,QAAA,SAAS,GAAwC,IAAA,kBAAM,EAClE,8BAAa,EACb,4BAAS,CACV,CAAC","sourcesContent":["import * as React from 'react';\nimport { styled } from '@fluentui/react/lib/Utilities';\nimport { ITreeStyles, ITreeProps, ITreeStyleProps } from './TreeChart.types';\nimport { TreeChartBase } from './TreeChart.base';\nimport { getStyles } from './TreeChart.styles';\n\n/**\n * Treechart component\n * {@docCategory TreeChart}\n */\nexport const TreeChart: React.FunctionComponent<ITreeProps> = styled<ITreeProps, ITreeStyleProps, ITreeStyles>(\n TreeChartBase,\n getStyles,\n);\n"]}
@@ -2,7 +2,6 @@ import { IStyle, ITheme } from '@fluentui/react/lib/Styling';
2
2
  import { IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';
3
3
  import { IMargins } from '../../types/index';
4
4
  /**
5
- * ITreeChartDataPoint interface for Treechart component.
6
5
  * {@docCategory TreeChart}
7
6
  */
8
7
  export interface ITreeChartDataPoint {
@@ -31,6 +30,9 @@ export interface ITreeChartDataPoint {
31
30
  */
32
31
  children?: Array<ITreeChartDataPoint>;
33
32
  }
33
+ /**
34
+ * {@docCategory TreeChart}
35
+ */
34
36
  export declare enum NodesComposition {
35
37
  /**
36
38
  * NodeComposition enum val for long: number = 1
@@ -41,6 +43,9 @@ export declare enum NodesComposition {
41
43
  */
42
44
  compact = 0
43
45
  }
46
+ /**
47
+ * {@docCategory TreeChart}
48
+ */
44
49
  export declare enum TreeTraverse {
45
50
  /**
46
51
  * TreeTraverse enum val for preOrder: number = 1
@@ -51,6 +56,10 @@ export declare enum TreeTraverse {
51
56
  */
52
57
  levelOrder = 0
53
58
  }
59
+ /**
60
+ * Tree Chart properties
61
+ * {@docCategory TreeChart}
62
+ */
54
63
  export interface ITreeProps {
55
64
  /**
56
65
  * An object of chart data points for the Tree chart
@@ -157,6 +166,10 @@ export interface ITreeDataStructure {
157
166
  */
158
167
  parentID: number;
159
168
  }
169
+ /**
170
+ * Tree Chart style properties
171
+ * {@docCategory TreeChart}
172
+ */
160
173
  export interface ITreeStyleProps {
161
174
  /**
162
175
  * Theme (provided through customization.)
@@ -167,6 +180,10 @@ export interface ITreeStyleProps {
167
180
  */
168
181
  className?: string;
169
182
  }
183
+ /**
184
+ * Tree Chart styles
185
+ * {@docCategory TreeChart}
186
+ */
170
187
  export interface ITreeStyles {
171
188
  /**
172
189
  * Style for the root element.
@@ -2,6 +2,9 @@ define(["require", "exports"], function (require, exports) {
2
2
  "use strict";
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.TreeTraverse = exports.NodesComposition = void 0;
5
+ /**
6
+ * {@docCategory TreeChart}
7
+ */
5
8
  var NodesComposition;
6
9
  (function (NodesComposition) {
7
10
  /**
@@ -13,6 +16,9 @@ define(["require", "exports"], function (require, exports) {
13
16
  */
14
17
  NodesComposition[NodesComposition["compact"] = 0] = "compact";
15
18
  })(NodesComposition = exports.NodesComposition || (exports.NodesComposition = {}));
19
+ /**
20
+ * {@docCategory TreeChart}
21
+ */
16
22
  var TreeTraverse;
17
23
  (function (TreeTraverse) {
18
24
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"TreeChart.types.js","sourceRoot":"../src/","sources":["components/TreeChart/TreeChart.types.ts"],"names":[],"mappings":";;;;IAmCA,IAAY,gBASX;IATD,WAAY,gBAAgB;QAC1B;;WAEG;QACH,uDAAQ,CAAA;QACR;;WAEG;QACH,6DAAW,CAAA;IACb,CAAC,EATW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAS3B;IAED,IAAY,YASX;IATD,WAAY,YAAY;QACtB;;WAEG;QACH,uDAAY,CAAA;QACZ;;WAEG;QACH,2DAAc,CAAA;IAChB,CAAC,EATW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QASvB","sourcesContent":["import { IStyle, ITheme } from '@fluentui/react/lib/Styling';\nimport { IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';\nimport { IMargins } from '../../types/index';\n\n/**\n * ITreeChartDataPoint interface for Treechart component.\n * {@docCategory TreeChart}\n */\nexport interface ITreeChartDataPoint {\n /**\n * Node main text\n */\n name: string;\n /**\n * Subtext value (optional)\n */\n subname?: string;\n /**\n * Bodytext value (optional)\n */\n bodytext?: string;\n /**\n * Metric text value (optional)\n */\n metric?: string;\n /**\n * Color of the rectangular box\n */\n fill: string;\n /**\n * Recursive datastructure for child node object\n */\n children?: Array<ITreeChartDataPoint>;\n}\n\nexport enum NodesComposition {\n /**\n * NodeComposition enum val for long: number = 1\n */\n long = 1,\n /**\n * NodeComposition enum val for compact: number = 0\n */\n compact = 0,\n}\n\nexport enum TreeTraverse {\n /**\n * TreeTraverse enum val for preOrder: number = 1\n */\n preOrder = 1,\n /**\n * TreeTraverse enum val for levelOrder: number = 0\n */\n levelOrder = 0,\n}\n\nexport interface ITreeProps {\n /**\n * An object of chart data points for the Tree chart\n */\n treeData: ITreeChartDataPoint;\n /**\n * compostion for three layer chart, long: composition = 1; compact: composition = 0\n */\n composition?: NodesComposition.long | NodesComposition.compact;\n /**\n * Node Width Size for the Tree Layout\n * * @default 75\n */\n layoutWidth?: number;\n /**\n * traversal order for tree chart, preOrder = 1, levelOrder = 0\n */\n treeTraversal?: TreeTraverse.preOrder | TreeTraverse.levelOrder;\n /**\n * Width of SVG tree chart\n * * @default 1500\n */\n width?: number;\n /**\n * Height of SVG tree chart\n * * @default 700\n */\n height?: number;\n\n /**\n * Margins for the chart\n * @default `{ top: 30, bottom: 30, left: 50, right: 20 }`\n * To avoid edge cuttings to the chart, we recommend you use default values or greater then default values\n */\n margins?: IMargins;\n /**\n * Call to provide customized styling that will layer on top of the variant rules.\n */\n styles?: IStyleFunctionOrObject<ITreeStyleProps, ITreeStyles>;\n /**\n * Additional CSS class(es) to apply to the TreeChart.\n */\n className?: string;\n /**\n * Theme (provided through customization.)\n */\n theme?: ITheme;\n}\nexport interface ITreeState {\n /**\n * Width of SVG tree chart\n * * @default 1500\n */\n _width: number;\n /**\n * Height of SVG tree chart\n * * @default 700\n */\n _height: number;\n /**\n * Layout Width of SVG tree chart\n * * @default 75\n */\n _layoutWidth?: number;\n}\n\nexport interface ITreeDataStructure {\n /**\n * Node id of each node\n */\n id: number;\n /**\n * Children node object\n */\n children: Array<ITreeDataStructure>;\n /**\n * Node main text\n */\n dataName: string;\n /**\n * Subtext value (optional)\n */\n subName?: string;\n /**\n * Bodytext value (optional)\n */\n bodyText?: string;\n /**\n * Metric text value (optional)\n */\n metricName?: string;\n /**\n * Color of the rectangular box\n */\n fill: string;\n /**\n * X-coordindate of node\n */\n x: number;\n /**\n * Y-coordindate of node\n */\n y: number;\n /**\n * Node id of each node's parent\n */\n parentID: number;\n}\n\nexport interface ITreeStyleProps {\n /**\n * Theme (provided through customization.)\n */\n theme: ITheme;\n /**\n * Additional CSS class(es) to apply to the TreeChart.\n */\n className?: string;\n}\nexport interface ITreeStyles {\n /**\n * Style for the root element.\n */\n root: IStyle;\n /**\n * Style for the Link/Path element.\n */\n link: IStyle;\n /**\n * Style for rectangular Node\n */\n rectNode: IStyle;\n /**\n * Style for the node main Text\n */\n rectText: IStyle;\n /**\n * Style for the node sub Text\n */\n rectSubText: IStyle;\n /**\n * Style for the node body Text\n */\n rectBodyText: IStyle;\n /**\n * Style for the node metric value Text\n */\n rectMetricText: IStyle;\n}\n"]}
1
+ {"version":3,"file":"TreeChart.types.js","sourceRoot":"../src/","sources":["components/TreeChart/TreeChart.types.ts"],"names":[],"mappings":";;;;IAkCA;;OAEG;IACH,IAAY,gBASX;IATD,WAAY,gBAAgB;QAC1B;;WAEG;QACH,uDAAQ,CAAA;QACR;;WAEG;QACH,6DAAW,CAAA;IACb,CAAC,EATW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAS3B;IAED;;OAEG;IACH,IAAY,YASX;IATD,WAAY,YAAY;QACtB;;WAEG;QACH,uDAAY,CAAA;QACZ;;WAEG;QACH,2DAAc,CAAA;IAChB,CAAC,EATW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QASvB","sourcesContent":["import { IStyle, ITheme } from '@fluentui/react/lib/Styling';\nimport { IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';\nimport { IMargins } from '../../types/index';\n\n/**\n * {@docCategory TreeChart}\n */\nexport interface ITreeChartDataPoint {\n /**\n * Node main text\n */\n name: string;\n /**\n * Subtext value (optional)\n */\n subname?: string;\n /**\n * Bodytext value (optional)\n */\n bodytext?: string;\n /**\n * Metric text value (optional)\n */\n metric?: string;\n /**\n * Color of the rectangular box\n */\n fill: string;\n /**\n * Recursive datastructure for child node object\n */\n children?: Array<ITreeChartDataPoint>;\n}\n\n/**\n * {@docCategory TreeChart}\n */\nexport enum NodesComposition {\n /**\n * NodeComposition enum val for long: number = 1\n */\n long = 1,\n /**\n * NodeComposition enum val for compact: number = 0\n */\n compact = 0,\n}\n\n/**\n * {@docCategory TreeChart}\n */\nexport enum TreeTraverse {\n /**\n * TreeTraverse enum val for preOrder: number = 1\n */\n preOrder = 1,\n /**\n * TreeTraverse enum val for levelOrder: number = 0\n */\n levelOrder = 0,\n}\n\n/**\n * Tree Chart properties\n * {@docCategory TreeChart}\n */\nexport interface ITreeProps {\n /**\n * An object of chart data points for the Tree chart\n */\n treeData: ITreeChartDataPoint;\n /**\n * compostion for three layer chart, long: composition = 1; compact: composition = 0\n */\n composition?: NodesComposition.long | NodesComposition.compact;\n /**\n * Node Width Size for the Tree Layout\n * * @default 75\n */\n layoutWidth?: number;\n /**\n * traversal order for tree chart, preOrder = 1, levelOrder = 0\n */\n treeTraversal?: TreeTraverse.preOrder | TreeTraverse.levelOrder;\n /**\n * Width of SVG tree chart\n * * @default 1500\n */\n width?: number;\n /**\n * Height of SVG tree chart\n * * @default 700\n */\n height?: number;\n\n /**\n * Margins for the chart\n * @default `{ top: 30, bottom: 30, left: 50, right: 20 }`\n * To avoid edge cuttings to the chart, we recommend you use default values or greater then default values\n */\n margins?: IMargins;\n /**\n * Call to provide customized styling that will layer on top of the variant rules.\n */\n styles?: IStyleFunctionOrObject<ITreeStyleProps, ITreeStyles>;\n /**\n * Additional CSS class(es) to apply to the TreeChart.\n */\n className?: string;\n /**\n * Theme (provided through customization.)\n */\n theme?: ITheme;\n}\n\nexport interface ITreeState {\n /**\n * Width of SVG tree chart\n * * @default 1500\n */\n _width: number;\n /**\n * Height of SVG tree chart\n * * @default 700\n */\n _height: number;\n /**\n * Layout Width of SVG tree chart\n * * @default 75\n */\n _layoutWidth?: number;\n}\n\nexport interface ITreeDataStructure {\n /**\n * Node id of each node\n */\n id: number;\n /**\n * Children node object\n */\n children: Array<ITreeDataStructure>;\n /**\n * Node main text\n */\n dataName: string;\n /**\n * Subtext value (optional)\n */\n subName?: string;\n /**\n * Bodytext value (optional)\n */\n bodyText?: string;\n /**\n * Metric text value (optional)\n */\n metricName?: string;\n /**\n * Color of the rectangular box\n */\n fill: string;\n /**\n * X-coordindate of node\n */\n x: number;\n /**\n * Y-coordindate of node\n */\n y: number;\n /**\n * Node id of each node's parent\n */\n parentID: number;\n}\n\n/**\n * Tree Chart style properties\n * {@docCategory TreeChart}\n */\nexport interface ITreeStyleProps {\n /**\n * Theme (provided through customization.)\n */\n theme: ITheme;\n /**\n * Additional CSS class(es) to apply to the TreeChart.\n */\n className?: string;\n}\n\n/**\n * Tree Chart styles\n * {@docCategory TreeChart}\n */\nexport interface ITreeStyles {\n /**\n * Style for the root element.\n */\n root: IStyle;\n /**\n * Style for the Link/Path element.\n */\n link: IStyle;\n /**\n * Style for rectangular Node\n */\n rectNode: IStyle;\n /**\n * Style for the node main Text\n */\n rectText: IStyle;\n /**\n * Style for the node sub Text\n */\n rectSubText: IStyle;\n /**\n * Style for the node body Text\n */\n rectBodyText: IStyle;\n /**\n * Style for the node metric value Text\n */\n rectMetricText: IStyle;\n}\n"]}
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { IVerticalBarChartProps } from '../../index';
3
3
  /**
4
- * VerticalBarchart component.
4
+ * VerticalBarchart component
5
5
  * {@docCategory VerticalBarChart}
6
6
  */
7
7
  export declare const VerticalBarChart: React.FunctionComponent<IVerticalBarChartProps>;
@@ -4,7 +4,7 @@ define(["require", "exports", "../../Utilities", "./VerticalBarChart.base", "./V
4
4
  exports.VerticalBarChart = void 0;
5
5
  // Create a VerticalBarChart variant which uses these default styles and this styled subcomponent.
6
6
  /**
7
- * VerticalBarchart component.
7
+ * VerticalBarchart component
8
8
  * {@docCategory VerticalBarChart}
9
9
  */
10
10
  exports.VerticalBarChart = (0, Utilities_1.styled)(VerticalBarChart_base_1.VerticalBarChartBase, VerticalBarChart_styles_1.getStyles);
@@ -1 +1 @@
1
- {"version":3,"file":"VerticalBarChart.js","sourceRoot":"../src/","sources":["components/VerticalBarChart/VerticalBarChart.tsx"],"names":[],"mappings":";;;;IAMA,kGAAkG;IAClG;;;OAGG;IACU,QAAA,gBAAgB,GAAoD,IAAA,kBAAM,EAIrF,4CAAoB,EAAE,mCAAS,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport { styled } from '../../Utilities';\nimport { IVerticalBarChartProps, IVerticalBarChartStyleProps, IVerticalBarChartStyles } from '../../index';\nimport { VerticalBarChartBase } from './VerticalBarChart.base';\nimport { getStyles } from './VerticalBarChart.styles';\n\n// Create a VerticalBarChart variant which uses these default styles and this styled subcomponent.\n/**\n * VerticalBarchart component.\n * {@docCategory VerticalBarChart}\n */\nexport const VerticalBarChart: React.FunctionComponent<IVerticalBarChartProps> = styled<\n IVerticalBarChartProps,\n IVerticalBarChartStyleProps,\n IVerticalBarChartStyles\n>(VerticalBarChartBase, getStyles);\n"]}
1
+ {"version":3,"file":"VerticalBarChart.js","sourceRoot":"../src/","sources":["components/VerticalBarChart/VerticalBarChart.tsx"],"names":[],"mappings":";;;;IAMA,kGAAkG;IAClG;;;OAGG;IACU,QAAA,gBAAgB,GAAoD,IAAA,kBAAM,EAIrF,4CAAoB,EAAE,mCAAS,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport { styled } from '../../Utilities';\nimport { IVerticalBarChartProps, IVerticalBarChartStyleProps, IVerticalBarChartStyles } from '../../index';\nimport { VerticalBarChartBase } from './VerticalBarChart.base';\nimport { getStyles } from './VerticalBarChart.styles';\n\n// Create a VerticalBarChart variant which uses these default styles and this styled subcomponent.\n/**\n * VerticalBarchart component\n * {@docCategory VerticalBarChart}\n */\nexport const VerticalBarChart: React.FunctionComponent<IVerticalBarChartProps> = styled<\n IVerticalBarChartProps,\n IVerticalBarChartStyleProps,\n IVerticalBarChartStyles\n>(VerticalBarChartBase, getStyles);\n"]}
@@ -3,7 +3,7 @@ import { IRenderFunction, IStyleFunctionOrObject } from '@fluentui/react/lib/Uti
3
3
  import { ICartesianChartProps, ICartesianChartStyleProps, ICartesianChartStyles, IVerticalBarChartDataPoint } from '../../index';
4
4
  import { ILineChartLineOptions } from '../../types/index';
5
5
  /**
6
- * IVerticalBarChartProps for VerticalBarchart component.
6
+ * Vertical Bar Chart properties
7
7
  * {@docCategory VerticalBarChart}
8
8
  */
9
9
  export interface IVerticalBarChartProps extends ICartesianChartProps {
@@ -65,12 +65,20 @@ export interface IVerticalBarChartProps extends ICartesianChartProps {
65
65
  */
66
66
  hideLabels?: boolean;
67
67
  }
68
+ /**
69
+ * Vertical Bar Chart style properties
70
+ * {@docCategory VerticalBarChart}
71
+ */
68
72
  export interface IVerticalBarChartStyleProps extends ICartesianChartStyleProps {
69
73
  /**
70
74
  * color of the datapoint legend
71
75
  */
72
76
  legendColor?: string;
73
77
  }
78
+ /**
79
+ * Vertical Bar Chart styles
80
+ * {@docCategory VerticalBarChart}
81
+ */
74
82
  export interface IVerticalBarChartStyles extends ICartesianChartStyles {
75
83
  /**
76
84
  * Style for the chart label.
@@ -1 +1 @@
1
- {"version":3,"file":"VerticalBarChart.types.js","sourceRoot":"../src/","sources":["components/VerticalBarChart/VerticalBarChart.types.ts"],"names":[],"mappings":"","sourcesContent":["import { IStyle } from '@fluentui/react/lib/Styling';\nimport { IRenderFunction, IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';\nimport {\n ICartesianChartProps,\n ICartesianChartStyleProps,\n ICartesianChartStyles,\n IVerticalBarChartDataPoint,\n} from '../../index';\nimport { ILineChartLineOptions } from '../../types/index';\n\n/**\n * IVerticalBarChartProps for VerticalBarchart component.\n * {@docCategory VerticalBarChart}\n */\nexport interface IVerticalBarChartProps extends ICartesianChartProps {\n /**\n * Data to render in the chart.\n */\n data?: IVerticalBarChartDataPoint[];\n\n /**\n * Define a custom callout renderer for a data point.\n */\n onRenderCalloutPerDataPoint?: IRenderFunction<IVerticalBarChartDataPoint>;\n\n /**\n * Width of each bar in the chart.\n */\n barWidth?: number;\n\n /**\n * Colors from which to select the color of each bar.\n */\n colors?: string[];\n\n /**\n * chart title for the chart\n */\n chartTitle?: string;\n\n /**\n * Legend text for the line datapoint in the chart\n */\n lineLegendText?: string;\n\n /**\n * color for the legend of the line in the chart\n * @default theme.yellow\n */\n\n lineLegendColor?: string;\n\n /**\n * This prop makes sure that all the bars are of same color.\n * it will take the first color from the array of colors in\n * prop `colors` or if `colors` prop is not given then default color is palette.blueLight\n * @default false\n */\n useSingleColor?: boolean;\n\n /**\n * Call to provide customized styling that will layer on top of the variant rules.\n */\n styles?: IStyleFunctionOrObject<IVerticalBarChartStyleProps, IVerticalBarChartStyles>;\n\n /**\n * The prop used to define the culture to localized the numbers\n */\n culture?: string;\n\n /**\n * it's padding between bar's or lines in the graph\n */\n xAxisPadding?: number;\n\n /**\n * options for the line drawn\n */\n lineOptions?: ILineChartLineOptions;\n\n /**\n * Prop to hide the bar labels\n * @default false\n */\n hideLabels?: boolean;\n}\n\nexport interface IVerticalBarChartStyleProps extends ICartesianChartStyleProps {\n /**\n * color of the datapoint legend\n */\n legendColor?: string;\n}\n\nexport interface IVerticalBarChartStyles extends ICartesianChartStyles {\n /**\n * Style for the chart label.\n * @deprecated This style cannot be customized anymore\n */\n chartLabel?: IStyle;\n\n /**\n * Style for the line representing the domain of the x-axis.\n * @deprecated This style cannot be customized anymore\n */\n xAxisDomain?: IStyle;\n\n /**\n * Style for the lines representing the ticks along the x-axis.\n * @deprecated This style cannot be customized anymore\n */\n xAxisTicks?: IStyle;\n\n /**\n * Style for the text labeling each tick along the x-axis.\n * @deprecated This style cannot be customized anymore\n */\n xAxisText?: IStyle;\n\n /**\n * Style for the line representing the domain of the y-axis.\n * @deprecated This style cannot be customized anymore\n */\n yAxisDomain?: IStyle;\n\n /**\n * Style for the lines representing the ticks along the y-axis.\n * @deprecated This style cannot be customized anymore\n */\n yAxisTicks?: IStyle;\n\n /**\n * Style for the text labeling each tick along the y-axis.\n * @deprecated This style cannot be customized anymore\n */\n yAxisText?: IStyle;\n\n /**\n * Style to change the opacity of bars in dataviz when we hover on a single bar or legends\n */\n opacityChangeOnHover: IStyle;\n\n /**\n * Style for the bar labels\n */\n barLabel: IStyle;\n}\n"]}
1
+ {"version":3,"file":"VerticalBarChart.types.js","sourceRoot":"../src/","sources":["components/VerticalBarChart/VerticalBarChart.types.ts"],"names":[],"mappings":"","sourcesContent":["import { IStyle } from '@fluentui/react/lib/Styling';\nimport { IRenderFunction, IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';\nimport {\n ICartesianChartProps,\n ICartesianChartStyleProps,\n ICartesianChartStyles,\n IVerticalBarChartDataPoint,\n} from '../../index';\nimport { ILineChartLineOptions } from '../../types/index';\n\n/**\n * Vertical Bar Chart properties\n * {@docCategory VerticalBarChart}\n */\nexport interface IVerticalBarChartProps extends ICartesianChartProps {\n /**\n * Data to render in the chart.\n */\n data?: IVerticalBarChartDataPoint[];\n\n /**\n * Define a custom callout renderer for a data point.\n */\n onRenderCalloutPerDataPoint?: IRenderFunction<IVerticalBarChartDataPoint>;\n\n /**\n * Width of each bar in the chart.\n */\n barWidth?: number;\n\n /**\n * Colors from which to select the color of each bar.\n */\n colors?: string[];\n\n /**\n * chart title for the chart\n */\n chartTitle?: string;\n\n /**\n * Legend text for the line datapoint in the chart\n */\n lineLegendText?: string;\n\n /**\n * color for the legend of the line in the chart\n * @default theme.yellow\n */\n\n lineLegendColor?: string;\n\n /**\n * This prop makes sure that all the bars are of same color.\n * it will take the first color from the array of colors in\n * prop `colors` or if `colors` prop is not given then default color is palette.blueLight\n * @default false\n */\n useSingleColor?: boolean;\n\n /**\n * Call to provide customized styling that will layer on top of the variant rules.\n */\n styles?: IStyleFunctionOrObject<IVerticalBarChartStyleProps, IVerticalBarChartStyles>;\n\n /**\n * The prop used to define the culture to localized the numbers\n */\n culture?: string;\n\n /**\n * it's padding between bar's or lines in the graph\n */\n xAxisPadding?: number;\n\n /**\n * options for the line drawn\n */\n lineOptions?: ILineChartLineOptions;\n\n /**\n * Prop to hide the bar labels\n * @default false\n */\n hideLabels?: boolean;\n}\n\n/**\n * Vertical Bar Chart style properties\n * {@docCategory VerticalBarChart}\n */\nexport interface IVerticalBarChartStyleProps extends ICartesianChartStyleProps {\n /**\n * color of the datapoint legend\n */\n legendColor?: string;\n}\n\n/**\n * Vertical Bar Chart styles\n * {@docCategory VerticalBarChart}\n */\nexport interface IVerticalBarChartStyles extends ICartesianChartStyles {\n /**\n * Style for the chart label.\n * @deprecated This style cannot be customized anymore\n */\n chartLabel?: IStyle;\n\n /**\n * Style for the line representing the domain of the x-axis.\n * @deprecated This style cannot be customized anymore\n */\n xAxisDomain?: IStyle;\n\n /**\n * Style for the lines representing the ticks along the x-axis.\n * @deprecated This style cannot be customized anymore\n */\n xAxisTicks?: IStyle;\n\n /**\n * Style for the text labeling each tick along the x-axis.\n * @deprecated This style cannot be customized anymore\n */\n xAxisText?: IStyle;\n\n /**\n * Style for the line representing the domain of the y-axis.\n * @deprecated This style cannot be customized anymore\n */\n yAxisDomain?: IStyle;\n\n /**\n * Style for the lines representing the ticks along the y-axis.\n * @deprecated This style cannot be customized anymore\n */\n yAxisTicks?: IStyle;\n\n /**\n * Style for the text labeling each tick along the y-axis.\n * @deprecated This style cannot be customized anymore\n */\n yAxisText?: IStyle;\n\n /**\n * Style to change the opacity of bars in dataviz when we hover on a single bar or legends\n */\n opacityChangeOnHover: IStyle;\n\n /**\n * Style for the bar labels\n */\n barLabel: IStyle;\n}\n"]}
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { IVerticalStackedBarChartProps } from './VerticalStackedBarChart.types';
3
3
  /**
4
- * VerticalStackedBarchart component.
4
+ * VerticalStackedBarchart component
5
5
  * {@docCategory VerticalStackedBarChart}
6
6
  */
7
7
  export declare const VerticalStackedBarChart: React.FunctionComponent<IVerticalStackedBarChartProps>;
@@ -4,7 +4,7 @@ define(["require", "exports", "../../Utilities", "./VerticalStackedBarChart.base
4
4
  exports.VerticalStackedBarChart = void 0;
5
5
  // Create a VerticalStackedBarChart variant which uses these default styles and this styled subcomponent.
6
6
  /**
7
- * VerticalStackedBarchart component.
7
+ * VerticalStackedBarchart component
8
8
  * {@docCategory VerticalStackedBarChart}
9
9
  */
10
10
  exports.VerticalStackedBarChart = (0, Utilities_1.styled)(VerticalStackedBarChart_base_1.VerticalStackedBarChartBase, VerticalStackedBarChart_styles_1.getStyles);
@@ -1 +1 @@
1
- {"version":3,"file":"VerticalStackedBarChart.js","sourceRoot":"../src/","sources":["components/VerticalStackedBarChart/VerticalStackedBarChart.tsx"],"names":[],"mappings":";;;;IAUA,yGAAyG;IACzG;;;OAGG;IACU,QAAA,uBAAuB,GAA2D,IAAA,kBAAM,EAInG,0DAA2B,EAAE,0CAAS,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport { styled } from '../../Utilities';\nimport {\n IVerticalStackedBarChartProps,\n IVerticalStackedBarChartStyleProps,\n IVerticalStackedBarChartStyles,\n} from './VerticalStackedBarChart.types';\nimport { VerticalStackedBarChartBase } from './VerticalStackedBarChart.base';\nimport { getStyles } from './VerticalStackedBarChart.styles';\n\n// Create a VerticalStackedBarChart variant which uses these default styles and this styled subcomponent.\n/**\n * VerticalStackedBarchart component.\n * {@docCategory VerticalStackedBarChart}\n */\nexport const VerticalStackedBarChart: React.FunctionComponent<IVerticalStackedBarChartProps> = styled<\n IVerticalStackedBarChartProps,\n IVerticalStackedBarChartStyleProps,\n IVerticalStackedBarChartStyles\n>(VerticalStackedBarChartBase, getStyles);\n"]}
1
+ {"version":3,"file":"VerticalStackedBarChart.js","sourceRoot":"../src/","sources":["components/VerticalStackedBarChart/VerticalStackedBarChart.tsx"],"names":[],"mappings":";;;;IAUA,yGAAyG;IACzG;;;OAGG;IACU,QAAA,uBAAuB,GAA2D,IAAA,kBAAM,EAInG,0DAA2B,EAAE,0CAAS,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport { styled } from '../../Utilities';\nimport {\n IVerticalStackedBarChartProps,\n IVerticalStackedBarChartStyleProps,\n IVerticalStackedBarChartStyles,\n} from './VerticalStackedBarChart.types';\nimport { VerticalStackedBarChartBase } from './VerticalStackedBarChart.base';\nimport { getStyles } from './VerticalStackedBarChart.styles';\n\n// Create a VerticalStackedBarChart variant which uses these default styles and this styled subcomponent.\n/**\n * VerticalStackedBarchart component\n * {@docCategory VerticalStackedBarChart}\n */\nexport const VerticalStackedBarChart: React.FunctionComponent<IVerticalStackedBarChartProps> = styled<\n IVerticalStackedBarChartProps,\n IVerticalStackedBarChartStyleProps,\n IVerticalStackedBarChartStyles\n>(VerticalStackedBarChartBase, getStyles);\n"]}
@@ -4,7 +4,7 @@ import { ICalloutProps } from '@fluentui/react/lib/Callout';
4
4
  import { IRenderFunction, IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';
5
5
  import { ICartesianChartProps, ICartesianChartStyleProps, ICartesianChartStyles, ILineChartLineOptions, IVerticalStackedChartProps, IVSChartDataPoint } from '../../index';
6
6
  /**
7
- * IVerticalStackedBarChartProps for VerticalStackedBarchart component.
7
+ * Vertical Stacked Bar Chart properties
8
8
  * {@docCategory VerticalStackedBarChart}
9
9
  */
10
10
  export interface IVerticalStackedBarChartProps extends ICartesianChartProps {
@@ -97,8 +97,16 @@ export interface IVerticalStackedBarChartProps extends ICartesianChartProps {
97
97
  */
98
98
  hideLabels?: boolean;
99
99
  }
100
+ /**
101
+ * Vertical Stacked Bar Chart style properties
102
+ * {@docCategory VerticalStackedBarChart}
103
+ */
100
104
  export interface IVerticalStackedBarChartStyleProps extends ICartesianChartStyleProps {
101
105
  }
106
+ /**
107
+ * Vertical Stacked Bar Chart styles
108
+ * {@docCategory VerticalStackedBarChart}
109
+ */
102
110
  export interface IVerticalStackedBarChartStyles extends ICartesianChartStyles {
103
111
  /**
104
112
  * Style to change the opacity of bars in dataviz when we hover on a single bar or legends