@fluentui/react-charting 5.17.12 → 5.18.1

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 (313) hide show
  1. package/CHANGELOG.json +45 -1
  2. package/CHANGELOG.md +25 -2
  3. package/config/api-extractor.json +3 -0
  4. package/dist/react-charting.d.ts +3637 -0
  5. package/dist/react-charting.js +1 -1
  6. package/dist/react-charting.min.js +1 -1
  7. package/etc/react-charting.api.md +1518 -0
  8. package/lib/components/AreaChart/AreaChart.d.ts +4 -0
  9. package/lib/components/AreaChart/AreaChart.js +4 -0
  10. package/lib/components/AreaChart/AreaChart.js.map +1 -1
  11. package/lib/components/AreaChart/AreaChart.types.d.ts +4 -0
  12. package/lib/components/AreaChart/AreaChart.types.js.map +1 -1
  13. package/lib/components/CommonComponents/CartesianChart.types.d.ts +1 -1
  14. package/lib/components/CommonComponents/CartesianChart.types.js.map +1 -1
  15. package/lib/components/DonutChart/DonutChart.d.ts +4 -0
  16. package/lib/components/DonutChart/DonutChart.js +4 -0
  17. package/lib/components/DonutChart/DonutChart.js.map +1 -1
  18. package/lib/components/DonutChart/DonutChart.types.d.ts +4 -0
  19. package/lib/components/DonutChart/DonutChart.types.js.map +1 -1
  20. package/lib/components/GaugeChart/GaugeChart.d.ts +4 -0
  21. package/lib/components/GaugeChart/GaugeChart.js +4 -0
  22. package/lib/components/GaugeChart/GaugeChart.js.map +1 -1
  23. package/lib/components/GaugeChart/GaugeChart.types.d.ts +8 -0
  24. package/lib/components/GaugeChart/GaugeChart.types.js.map +1 -1
  25. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +1 -0
  26. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +13 -8
  27. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
  28. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +4 -0
  29. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +4 -0
  30. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -1
  31. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +10 -6
  32. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -1
  33. package/lib/components/HeatMapChart/HeatMapChart.d.ts +4 -0
  34. package/lib/components/HeatMapChart/HeatMapChart.js +4 -0
  35. package/lib/components/HeatMapChart/HeatMapChart.js.map +1 -1
  36. package/lib/components/HeatMapChart/HeatMapChart.types.d.ts +4 -0
  37. package/lib/components/HeatMapChart/HeatMapChart.types.js.map +1 -1
  38. package/lib/components/HorizontalBarChart/HorizontalBarChart.d.ts +4 -0
  39. package/lib/components/HorizontalBarChart/HorizontalBarChart.js +4 -0
  40. package/lib/components/HorizontalBarChart/HorizontalBarChart.js.map +1 -1
  41. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +5 -1
  42. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -1
  43. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.d.ts +4 -0
  44. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +4 -0
  45. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -1
  46. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +4 -0
  47. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -1
  48. package/lib/components/Legends/Legends.d.ts +4 -0
  49. package/lib/components/Legends/Legends.js +4 -0
  50. package/lib/components/Legends/Legends.js.map +1 -1
  51. package/lib/components/Legends/Legends.types.d.ts +20 -0
  52. package/lib/components/Legends/Legends.types.js.map +1 -1
  53. package/lib/components/LineChart/LineChart.d.ts +4 -0
  54. package/lib/components/LineChart/LineChart.js +4 -0
  55. package/lib/components/LineChart/LineChart.js.map +1 -1
  56. package/lib/components/LineChart/LineChart.types.d.ts +4 -0
  57. package/lib/components/LineChart/LineChart.types.js.map +1 -1
  58. package/lib/components/PieChart/PieChart.d.ts +4 -0
  59. package/lib/components/PieChart/PieChart.js +4 -0
  60. package/lib/components/PieChart/PieChart.js.map +1 -1
  61. package/lib/components/PieChart/PieChart.types.d.ts +4 -0
  62. package/lib/components/PieChart/PieChart.types.js.map +1 -1
  63. package/lib/components/SankeyChart/SankeyChart.d.ts +4 -0
  64. package/lib/components/SankeyChart/SankeyChart.js +4 -0
  65. package/lib/components/SankeyChart/SankeyChart.js.map +1 -1
  66. package/lib/components/SankeyChart/SankeyChart.types.d.ts +4 -0
  67. package/lib/components/SankeyChart/SankeyChart.types.js.map +1 -1
  68. package/lib/components/Sparkline/Sparkline.d.ts +4 -0
  69. package/lib/components/Sparkline/Sparkline.js +4 -0
  70. package/lib/components/Sparkline/Sparkline.js.map +1 -1
  71. package/lib/components/Sparkline/Sparkline.types.d.ts +4 -0
  72. package/lib/components/Sparkline/Sparkline.types.js.map +1 -1
  73. package/lib/components/StackedBarChart/MultiStackedBarChart.d.ts +4 -0
  74. package/lib/components/StackedBarChart/MultiStackedBarChart.js +4 -0
  75. package/lib/components/StackedBarChart/MultiStackedBarChart.js.map +1 -1
  76. package/lib/components/StackedBarChart/MultiStackedBarChart.types.d.ts +4 -0
  77. package/lib/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -1
  78. package/lib/components/StackedBarChart/StackedBarChart.d.ts +4 -0
  79. package/lib/components/StackedBarChart/StackedBarChart.js +4 -0
  80. package/lib/components/StackedBarChart/StackedBarChart.js.map +1 -1
  81. package/lib/components/StackedBarChart/StackedBarChart.types.d.ts +4 -0
  82. package/lib/components/StackedBarChart/StackedBarChart.types.js.map +1 -1
  83. package/lib/components/TreeChart/TreeChart.d.ts +4 -0
  84. package/lib/components/TreeChart/TreeChart.js +4 -0
  85. package/lib/components/TreeChart/TreeChart.js.map +1 -1
  86. package/lib/components/TreeChart/TreeChart.types.d.ts +4 -0
  87. package/lib/components/TreeChart/TreeChart.types.js.map +1 -1
  88. package/lib/components/VerticalBarChart/VerticalBarChart.base.js +20 -6
  89. package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
  90. package/lib/components/VerticalBarChart/VerticalBarChart.d.ts +4 -0
  91. package/lib/components/VerticalBarChart/VerticalBarChart.js +4 -0
  92. package/lib/components/VerticalBarChart/VerticalBarChart.js.map +1 -1
  93. package/lib/components/VerticalBarChart/VerticalBarChart.types.d.ts +11 -7
  94. package/lib/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -1
  95. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +9 -5
  96. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  97. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +4 -0
  98. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js +4 -0
  99. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -1
  100. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +4 -0
  101. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
  102. package/lib/version.js +1 -1
  103. package/lib/version.js.map +1 -1
  104. package/lib-amd/components/AreaChart/AreaChart.d.ts +4 -0
  105. package/lib-amd/components/AreaChart/AreaChart.js +4 -0
  106. package/lib-amd/components/AreaChart/AreaChart.js.map +1 -1
  107. package/lib-amd/components/AreaChart/AreaChart.types.d.ts +4 -0
  108. package/lib-amd/components/AreaChart/AreaChart.types.js.map +1 -1
  109. package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +1 -1
  110. package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +1 -1
  111. package/lib-amd/components/DonutChart/DonutChart.d.ts +4 -0
  112. package/lib-amd/components/DonutChart/DonutChart.js +4 -0
  113. package/lib-amd/components/DonutChart/DonutChart.js.map +1 -1
  114. package/lib-amd/components/DonutChart/DonutChart.types.d.ts +4 -0
  115. package/lib-amd/components/DonutChart/DonutChart.types.js.map +1 -1
  116. package/lib-amd/components/GaugeChart/GaugeChart.d.ts +4 -0
  117. package/lib-amd/components/GaugeChart/GaugeChart.js +4 -0
  118. package/lib-amd/components/GaugeChart/GaugeChart.js.map +1 -1
  119. package/lib-amd/components/GaugeChart/GaugeChart.types.d.ts +8 -0
  120. package/lib-amd/components/GaugeChart/GaugeChart.types.js.map +1 -1
  121. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +1 -0
  122. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +13 -8
  123. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
  124. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +4 -0
  125. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +4 -0
  126. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -1
  127. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +10 -6
  128. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -1
  129. package/lib-amd/components/HeatMapChart/HeatMapChart.d.ts +4 -0
  130. package/lib-amd/components/HeatMapChart/HeatMapChart.js +4 -0
  131. package/lib-amd/components/HeatMapChart/HeatMapChart.js.map +1 -1
  132. package/lib-amd/components/HeatMapChart/HeatMapChart.types.d.ts +4 -0
  133. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js.map +1 -1
  134. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.d.ts +4 -0
  135. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js +4 -0
  136. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js.map +1 -1
  137. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +5 -1
  138. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -1
  139. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.d.ts +4 -0
  140. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +4 -0
  141. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -1
  142. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +4 -0
  143. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -1
  144. package/lib-amd/components/Legends/Legends.d.ts +4 -0
  145. package/lib-amd/components/Legends/Legends.js +4 -0
  146. package/lib-amd/components/Legends/Legends.js.map +1 -1
  147. package/lib-amd/components/Legends/Legends.types.d.ts +20 -0
  148. package/lib-amd/components/Legends/Legends.types.js.map +1 -1
  149. package/lib-amd/components/LineChart/LineChart.d.ts +4 -0
  150. package/lib-amd/components/LineChart/LineChart.js +4 -0
  151. package/lib-amd/components/LineChart/LineChart.js.map +1 -1
  152. package/lib-amd/components/LineChart/LineChart.types.d.ts +4 -0
  153. package/lib-amd/components/LineChart/LineChart.types.js.map +1 -1
  154. package/lib-amd/components/PieChart/PieChart.d.ts +4 -0
  155. package/lib-amd/components/PieChart/PieChart.js +4 -0
  156. package/lib-amd/components/PieChart/PieChart.js.map +1 -1
  157. package/lib-amd/components/PieChart/PieChart.types.d.ts +4 -0
  158. package/lib-amd/components/PieChart/PieChart.types.js.map +1 -1
  159. package/lib-amd/components/SankeyChart/SankeyChart.d.ts +4 -0
  160. package/lib-amd/components/SankeyChart/SankeyChart.js +4 -0
  161. package/lib-amd/components/SankeyChart/SankeyChart.js.map +1 -1
  162. package/lib-amd/components/SankeyChart/SankeyChart.types.d.ts +4 -0
  163. package/lib-amd/components/SankeyChart/SankeyChart.types.js.map +1 -1
  164. package/lib-amd/components/Sparkline/Sparkline.d.ts +4 -0
  165. package/lib-amd/components/Sparkline/Sparkline.js +4 -0
  166. package/lib-amd/components/Sparkline/Sparkline.js.map +1 -1
  167. package/lib-amd/components/Sparkline/Sparkline.types.d.ts +4 -0
  168. package/lib-amd/components/Sparkline/Sparkline.types.js.map +1 -1
  169. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.d.ts +4 -0
  170. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js +4 -0
  171. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js.map +1 -1
  172. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.d.ts +4 -0
  173. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -1
  174. package/lib-amd/components/StackedBarChart/StackedBarChart.d.ts +4 -0
  175. package/lib-amd/components/StackedBarChart/StackedBarChart.js +4 -0
  176. package/lib-amd/components/StackedBarChart/StackedBarChart.js.map +1 -1
  177. package/lib-amd/components/StackedBarChart/StackedBarChart.types.d.ts +4 -0
  178. package/lib-amd/components/StackedBarChart/StackedBarChart.types.js.map +1 -1
  179. package/lib-amd/components/TreeChart/TreeChart.d.ts +4 -0
  180. package/lib-amd/components/TreeChart/TreeChart.js +4 -0
  181. package/lib-amd/components/TreeChart/TreeChart.js.map +1 -1
  182. package/lib-amd/components/TreeChart/TreeChart.types.d.ts +4 -0
  183. package/lib-amd/components/TreeChart/TreeChart.types.js.map +1 -1
  184. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +20 -6
  185. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
  186. package/lib-amd/components/VerticalBarChart/VerticalBarChart.d.ts +4 -0
  187. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js +4 -0
  188. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js.map +1 -1
  189. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.d.ts +11 -7
  190. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -1
  191. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +9 -5
  192. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  193. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +4 -0
  194. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js +4 -0
  195. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -1
  196. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +4 -0
  197. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
  198. package/lib-amd/version.js +1 -1
  199. package/lib-amd/version.js.map +1 -1
  200. package/lib-commonjs/components/AreaChart/AreaChart.d.ts +4 -0
  201. package/lib-commonjs/components/AreaChart/AreaChart.js +4 -0
  202. package/lib-commonjs/components/AreaChart/AreaChart.js.map +1 -1
  203. package/lib-commonjs/components/AreaChart/AreaChart.types.d.ts +4 -0
  204. package/lib-commonjs/components/AreaChart/AreaChart.types.js.map +1 -1
  205. package/lib-commonjs/components/CommonComponents/CartesianChart.types.d.ts +1 -1
  206. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +1 -1
  207. package/lib-commonjs/components/DonutChart/DonutChart.d.ts +4 -0
  208. package/lib-commonjs/components/DonutChart/DonutChart.js +4 -0
  209. package/lib-commonjs/components/DonutChart/DonutChart.js.map +1 -1
  210. package/lib-commonjs/components/DonutChart/DonutChart.types.d.ts +4 -0
  211. package/lib-commonjs/components/DonutChart/DonutChart.types.js.map +1 -1
  212. package/lib-commonjs/components/GaugeChart/GaugeChart.d.ts +4 -0
  213. package/lib-commonjs/components/GaugeChart/GaugeChart.js +4 -0
  214. package/lib-commonjs/components/GaugeChart/GaugeChart.js.map +1 -1
  215. package/lib-commonjs/components/GaugeChart/GaugeChart.types.d.ts +8 -0
  216. package/lib-commonjs/components/GaugeChart/GaugeChart.types.js.map +1 -1
  217. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +1 -0
  218. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +13 -8
  219. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
  220. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +4 -0
  221. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +4 -0
  222. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -1
  223. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +10 -6
  224. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -1
  225. package/lib-commonjs/components/HeatMapChart/HeatMapChart.d.ts +4 -0
  226. package/lib-commonjs/components/HeatMapChart/HeatMapChart.js +4 -0
  227. package/lib-commonjs/components/HeatMapChart/HeatMapChart.js.map +1 -1
  228. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.d.ts +4 -0
  229. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.js.map +1 -1
  230. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.d.ts +4 -0
  231. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js +4 -0
  232. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js.map +1 -1
  233. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +5 -1
  234. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -1
  235. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.d.ts +4 -0
  236. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +4 -0
  237. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -1
  238. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +4 -0
  239. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -1
  240. package/lib-commonjs/components/Legends/Legends.d.ts +4 -0
  241. package/lib-commonjs/components/Legends/Legends.js +4 -0
  242. package/lib-commonjs/components/Legends/Legends.js.map +1 -1
  243. package/lib-commonjs/components/Legends/Legends.types.d.ts +20 -0
  244. package/lib-commonjs/components/Legends/Legends.types.js.map +1 -1
  245. package/lib-commonjs/components/LineChart/LineChart.d.ts +4 -0
  246. package/lib-commonjs/components/LineChart/LineChart.js +4 -0
  247. package/lib-commonjs/components/LineChart/LineChart.js.map +1 -1
  248. package/lib-commonjs/components/LineChart/LineChart.types.d.ts +4 -0
  249. package/lib-commonjs/components/LineChart/LineChart.types.js.map +1 -1
  250. package/lib-commonjs/components/PieChart/PieChart.d.ts +4 -0
  251. package/lib-commonjs/components/PieChart/PieChart.js +4 -0
  252. package/lib-commonjs/components/PieChart/PieChart.js.map +1 -1
  253. package/lib-commonjs/components/PieChart/PieChart.types.d.ts +4 -0
  254. package/lib-commonjs/components/PieChart/PieChart.types.js.map +1 -1
  255. package/lib-commonjs/components/SankeyChart/SankeyChart.d.ts +4 -0
  256. package/lib-commonjs/components/SankeyChart/SankeyChart.js +4 -0
  257. package/lib-commonjs/components/SankeyChart/SankeyChart.js.map +1 -1
  258. package/lib-commonjs/components/SankeyChart/SankeyChart.types.d.ts +4 -0
  259. package/lib-commonjs/components/SankeyChart/SankeyChart.types.js.map +1 -1
  260. package/lib-commonjs/components/Sparkline/Sparkline.d.ts +4 -0
  261. package/lib-commonjs/components/Sparkline/Sparkline.js +4 -0
  262. package/lib-commonjs/components/Sparkline/Sparkline.js.map +1 -1
  263. package/lib-commonjs/components/Sparkline/Sparkline.types.d.ts +4 -0
  264. package/lib-commonjs/components/Sparkline/Sparkline.types.js.map +1 -1
  265. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.d.ts +4 -0
  266. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js +4 -0
  267. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js.map +1 -1
  268. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.d.ts +4 -0
  269. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -1
  270. package/lib-commonjs/components/StackedBarChart/StackedBarChart.d.ts +4 -0
  271. package/lib-commonjs/components/StackedBarChart/StackedBarChart.js +4 -0
  272. package/lib-commonjs/components/StackedBarChart/StackedBarChart.js.map +1 -1
  273. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.d.ts +4 -0
  274. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.js.map +1 -1
  275. package/lib-commonjs/components/TreeChart/TreeChart.d.ts +4 -0
  276. package/lib-commonjs/components/TreeChart/TreeChart.js +4 -0
  277. package/lib-commonjs/components/TreeChart/TreeChart.js.map +1 -1
  278. package/lib-commonjs/components/TreeChart/TreeChart.types.d.ts +4 -0
  279. package/lib-commonjs/components/TreeChart/TreeChart.types.js.map +1 -1
  280. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js +20 -6
  281. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
  282. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.d.ts +4 -0
  283. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js +4 -0
  284. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js.map +1 -1
  285. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.d.ts +11 -7
  286. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -1
  287. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +9 -5
  288. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  289. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +4 -0
  290. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js +4 -0
  291. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -1
  292. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +4 -0
  293. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
  294. package/lib-commonjs/version.js +1 -1
  295. package/lib-commonjs/version.js.map +1 -1
  296. package/package.json +2 -1
  297. package/src/components/AreaChart/AreaChart.types.ts +5 -0
  298. package/src/components/CommonComponents/CartesianChart.types.ts +1 -1
  299. package/src/components/DonutChart/DonutChart.types.ts +4 -0
  300. package/src/components/GaugeChart/GaugeChart.types.ts +8 -0
  301. package/src/components/HeatMapChart/HeatMapChart.types.ts +4 -0
  302. package/src/components/HorizontalBarChart/HorizontalBarChart.types.ts +5 -1
  303. package/src/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.ts +4 -0
  304. package/src/components/Legends/Legends.types.ts +20 -0
  305. package/src/components/LineChart/LineChart.types.ts +5 -0
  306. package/src/components/PieChart/PieChart.types.ts +4 -0
  307. package/src/components/SankeyChart/SankeyChart.types.ts +4 -0
  308. package/src/components/Sparkline/Sparkline.types.ts +4 -0
  309. package/src/components/StackedBarChart/MultiStackedBarChart.types.ts +4 -0
  310. package/src/components/StackedBarChart/StackedBarChart.types.ts +4 -0
  311. package/src/components/TreeChart/TreeChart.types.ts +4 -0
  312. package/src/components/VerticalBarChart/VerticalBarChart.types.ts +11 -7
  313. package/src/components/VerticalStackedBarChart/VerticalStackedBarChart.types.ts +4 -0
@@ -1,6 +1,10 @@
1
1
  import { IStyle } from '@fluentui/react/lib/Styling';
2
2
  import { IRenderFunction, IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';
3
3
  import { ICartesianChartStyles, ICartesianChartStyleProps, ICartesianChartProps, IGroupedVerticalBarChartData, IGVBarChartSeriesPoint } from '../../index';
4
+ /**
5
+ * IGroupedVerticalBarChartProps for GroupedVerticalBarchart component.
6
+ * {@docCategory GroupedVerticalBarChart}
7
+ */
4
8
  export interface IGroupedVerticalBarChartProps extends ICartesianChartProps {
5
9
  /**
6
10
  * chart title for the chart
@@ -25,29 +29,29 @@ export interface IGroupedVerticalBarChartProps extends ICartesianChartProps {
25
29
  styles?: IStyleFunctionOrObject<IGroupedVerticalBarChartStyleProps, IGroupedVerticalBarChartStyles>;
26
30
  /**
27
31
  * color of the datapoint legend
28
- * @deprecated
32
+ * @deprecated Dont use this property. colour will pick from given data
29
33
  */
30
34
  legendColor?: string;
31
35
  /**
32
36
  * This prop used to draw X axis grid line on tha chart. Default value will be false
33
- * @deprecated
37
+ * @deprecated Dont use this property. Handling with default value.
34
38
  */
35
39
  showXAxisGridLines?: boolean;
36
40
  /**
37
41
  * This prop used to draw Y axis grid lines on the chart. Default value will be true
38
- * @deprecated
42
+ * @deprecated Dont use this property. Lines are drawn by default
39
43
  */
40
44
  showYAxisGridLines?: boolean;
41
45
  /**
42
46
  * This prop takes the boolean value and used for to display x-axis path or transparent.
43
47
  * This is a optional prop and default value is false. It dont show X-Axis path as tranparent.
44
- * @deprecated
48
+ * @deprecated Dont use this property. Axis line are removed by default
45
49
  */
46
50
  showXAxisPath?: boolean;
47
51
  /**
48
52
  * This prop takes the boolean value and used for to display y-axis path or transparent.
49
- * This is a optional prop and default value is false. It dont show X-Axis path as tranparent.
50
- * @deprecated
53
+ * This is a optional prop and default value is false. It dont show Y-Axis path as tranparent.
54
+ * @deprecated Dont use this property. No need to display Y axis path. Handling default
51
55
  */
52
56
  showYAxisPath?: boolean;
53
57
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"GroupedVerticalBarChart.types.js","sourceRoot":"../src/","sources":["components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.tsx"],"names":[],"mappings":"","sourcesContent":["import { IStyle } from '@fluentui/react/lib/Styling';\nimport { IRenderFunction, IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';\nimport {\n ICartesianChartStyles,\n ICartesianChartStyleProps,\n ICartesianChartProps,\n IGroupedVerticalBarChartData,\n IGVBarChartSeriesPoint,\n} from '../../index';\n\nexport interface IGroupedVerticalBarChartProps extends ICartesianChartProps {\n /**\n * chart title for the chart\n */\n chartTitle?: string;\n /**\n * Data to render in the chart.\n */\n data: IGroupedVerticalBarChartData[];\n\n /**\n * Barwidth automacally adjusted based upon given parent width, data and scale.\n * If barwidth given through prop, then is shold be less than given formula.\n * If not, graph will adjust and your value may not be reflected.\n * Formula: width of parent div / (Number Of Groups * (Number Of single bars in group + 2))\n * Note: By changing barwidth manually it may cause some spatial and graph override issues,\n * better to avoid using this prop.\n */\n barwidth?: number;\n\n /**\n * Call to provide customized styling that will layer on top of the variant rules.\n */\n styles?: IStyleFunctionOrObject<IGroupedVerticalBarChartStyleProps, IGroupedVerticalBarChartStyles>;\n\n /**\n * color of the datapoint legend\n * @deprecated\n */\n legendColor?: string;\n\n /**\n * This prop used to draw X axis grid line on tha chart. Default value will be false\n * @deprecated\n */\n showXAxisGridLines?: boolean;\n\n /**\n * This prop used to draw Y axis grid lines on the chart. Default value will be true\n * @deprecated\n */\n showYAxisGridLines?: boolean;\n\n /**\n * This prop takes the boolean value and used for to display x-axis path or transparent.\n * This is a optional prop and default value is false. It dont show X-Axis path as tranparent.\n * @deprecated\n */\n showXAxisPath?: boolean;\n\n /**\n * This prop takes the boolean value and used for to display y-axis path or transparent.\n * This is a optional prop and default value is false. It dont show X-Axis path as tranparent.\n * @deprecated\n */\n showYAxisPath?: boolean;\n\n /**\n * Define a custom callout renderer for a stack\n */\n onRenderCalloutPerDataPoint?: IRenderFunction<IGVBarChartSeriesPoint>;\n\n /**\n * The prop used to define the culture to localized the numbers\n */\n culture?: string;\n\n /**\n * To display multi stack callout or single callout\n * @default false\n */\n isCalloutForStack?: boolean;\n\n /**\n * Prop to hide the bar labels\n * @default false\n */\n hideLabels?: boolean;\n}\n\nexport interface IGroupedVerticalBarChartStyleProps extends ICartesianChartStyleProps {}\n\nexport interface IGroupedVerticalBarChartStyles extends ICartesianChartStyles {\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":"GroupedVerticalBarChart.types.js","sourceRoot":"../src/","sources":["components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.tsx"],"names":[],"mappings":"","sourcesContent":["import { IStyle } from '@fluentui/react/lib/Styling';\nimport { IRenderFunction, IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';\nimport {\n ICartesianChartStyles,\n ICartesianChartStyleProps,\n ICartesianChartProps,\n IGroupedVerticalBarChartData,\n IGVBarChartSeriesPoint,\n} from '../../index';\n\n/**\n * IGroupedVerticalBarChartProps for GroupedVerticalBarchart component.\n * {@docCategory GroupedVerticalBarChart}\n */\nexport interface IGroupedVerticalBarChartProps extends ICartesianChartProps {\n /**\n * chart title for the chart\n */\n chartTitle?: string;\n /**\n * Data to render in the chart.\n */\n data: IGroupedVerticalBarChartData[];\n\n /**\n * Barwidth automacally adjusted based upon given parent width, data and scale.\n * If barwidth given through prop, then is shold be less than given formula.\n * If not, graph will adjust and your value may not be reflected.\n * Formula: width of parent div / (Number Of Groups * (Number Of single bars in group + 2))\n * Note: By changing barwidth manually it may cause some spatial and graph override issues,\n * better to avoid using this prop.\n */\n barwidth?: number;\n\n /**\n * Call to provide customized styling that will layer on top of the variant rules.\n */\n styles?: IStyleFunctionOrObject<IGroupedVerticalBarChartStyleProps, IGroupedVerticalBarChartStyles>;\n\n /**\n * color of the datapoint legend\n * @deprecated Dont use this property. colour will pick from given data\n */\n legendColor?: string;\n\n /**\n * This prop used to draw X axis grid line on tha chart. Default value will be false\n * @deprecated Dont use this property. Handling with default value.\n */\n showXAxisGridLines?: boolean;\n\n /**\n * This prop used to draw Y axis grid lines on the chart. Default value will be true\n * @deprecated Dont use this property. Lines are drawn by default\n */\n showYAxisGridLines?: boolean;\n\n /**\n * This prop takes the boolean value and used for to display x-axis path or transparent.\n * This is a optional prop and default value is false. It dont show X-Axis path as tranparent.\n * @deprecated Dont use this property. Axis line are removed by default\n */\n showXAxisPath?: boolean;\n\n /**\n * This prop takes the boolean value and used for to display y-axis path or transparent.\n * This is a optional prop and default value is false. It dont show Y-Axis path as tranparent.\n * @deprecated Dont use this property. No need to display Y axis path. Handling default\n */\n showYAxisPath?: boolean;\n\n /**\n * Define a custom callout renderer for a stack\n */\n onRenderCalloutPerDataPoint?: IRenderFunction<IGVBarChartSeriesPoint>;\n\n /**\n * The prop used to define the culture to localized the numbers\n */\n culture?: string;\n\n /**\n * To display multi stack callout or single callout\n * @default false\n */\n isCalloutForStack?: boolean;\n\n /**\n * Prop to hide the bar labels\n * @default false\n */\n hideLabels?: boolean;\n}\n\nexport interface IGroupedVerticalBarChartStyleProps extends ICartesianChartStyleProps {}\n\nexport interface IGroupedVerticalBarChartStyles extends ICartesianChartStyles {\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,3 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { IHeatMapChartProps } from './HeatMapChart.types';
3
+ /**
4
+ * HeatMapchart component.
5
+ * {@docCategory HeatMapChart}
6
+ */
3
7
  export declare const HeatMapChart: React.FunctionComponent<IHeatMapChartProps>;
@@ -1,5 +1,9 @@
1
1
  import { styled } from '@fluentui/react/lib/Utilities';
2
2
  import { getHeatMapChartStyles } from './HeatMapChart.styles';
3
3
  import { HeatMapChartBase } from './HeatMapChart.base';
4
+ /**
5
+ * HeatMapchart component.
6
+ * {@docCategory HeatMapChart}
7
+ */
4
8
  export var HeatMapChart = styled(HeatMapChartBase, getHeatMapChartStyles);
5
9
  //# sourceMappingURL=HeatMapChart.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"HeatMapChart.js","sourceRoot":"../src/","sources":["components/HeatMapChart/HeatMapChart.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AAEvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD,MAAM,CAAC,IAAM,YAAY,GAAgD,MAAM,CAI7E,gBAAgB,EAAE,qBAAqB,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport { styled } from '@fluentui/react/lib/Utilities';\nimport { IHeatMapChartProps, IHeatMapChartStyleProps, IHeatMapChartStyles } from './HeatMapChart.types';\nimport { getHeatMapChartStyles } from './HeatMapChart.styles';\nimport { HeatMapChartBase } from './HeatMapChart.base';\n\nexport const HeatMapChart: React.FunctionComponent<IHeatMapChartProps> = styled<\n IHeatMapChartProps,\n IHeatMapChartStyleProps,\n IHeatMapChartStyles\n>(HeatMapChartBase, getHeatMapChartStyles);\n"]}
1
+ {"version":3,"file":"HeatMapChart.js","sourceRoot":"../src/","sources":["components/HeatMapChart/HeatMapChart.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AAEvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD;;;GAGG;AACH,MAAM,CAAC,IAAM,YAAY,GAAgD,MAAM,CAI7E,gBAAgB,EAAE,qBAAqB,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport { styled } from '@fluentui/react/lib/Utilities';\nimport { IHeatMapChartProps, IHeatMapChartStyleProps, IHeatMapChartStyles } from './HeatMapChart.types';\nimport { getHeatMapChartStyles } from './HeatMapChart.styles';\nimport { HeatMapChartBase } from './HeatMapChart.base';\n\n/**\n * HeatMapchart component.\n * {@docCategory HeatMapChart}\n */\nexport const HeatMapChart: React.FunctionComponent<IHeatMapChartProps> = styled<\n IHeatMapChartProps,\n IHeatMapChartStyleProps,\n IHeatMapChartStyles\n>(HeatMapChartBase, getHeatMapChartStyles);\n"]}
@@ -4,6 +4,10 @@ import { IStyle } from '@fluentui/react/lib/Styling';
4
4
  import { ICartesianChartStyleProps, ICartesianChartProps, ICartesianChartStyles } from '../CommonComponents/CartesianChart.types';
5
5
  import { ILegendsProps } from '../Legends/Legends.types';
6
6
  import { IHeatMapChartData } from '../../types/IDataPoint';
7
+ /**
8
+ * IHeatMapChartProps for HeatMapchart component.
9
+ * {@docCategory HeatMapChart}
10
+ */
7
11
  export interface IHeatMapChartProps extends Pick<ICartesianChartProps, Exclude<keyof ICartesianChartProps, 'styles'>> {
8
12
  /**
9
13
  * chart title for the chart
@@ -1 +1 @@
1
- {"version":3,"file":"HeatMapChart.types.js","sourceRoot":"../src/","sources":["components/HeatMapChart/HeatMapChart.types.ts"],"names":[],"mappings":"","sourcesContent":["import { IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';\nimport { ICalloutContentStyleProps, ICalloutContentStyles } from '@fluentui/react/lib/Callout';\nimport { IStyle } from '@fluentui/react/lib/Styling';\nimport {\n ICartesianChartStyleProps,\n ICartesianChartProps,\n ICartesianChartStyles,\n} from '../CommonComponents/CartesianChart.types';\nimport { ILegendsProps } from '../Legends/Legends.types';\nimport { IHeatMapChartData } from '../../types/IDataPoint';\n\nexport interface IHeatMapChartProps extends Pick<ICartesianChartProps, Exclude<keyof ICartesianChartProps, 'styles'>> {\n /**\n * chart title for the chart\n */\n chartTitle?: string;\n /**\n * data to provide for Heat Map\n */\n data: IHeatMapChartData[];\n /**\n * The domain value for the color scale,\n *\n */\n domainValuesForColorScale: number[];\n /**\n * The range values for the color scale,\n * fill the array with colors in hex format\n * note:- it should contain values exactly as many as values in the array\n * `domainValuesForColorScale`\n */\n rangeValuesForColorScale: string[];\n /**\n * date formatter of x axis,\n * if the x-axis data point are of date type then user can use this\n * prop to format the date\n * refer to https://github.com/d3/d3-time-format for string values\n * @default '%b/%d'\n */\n xAxisDateFormatString?: string;\n /**\n * date formatter of y axis,\n * if the y-axis data point are or date type then user can use this\n * prop to format the date\n * refer to https://github.com/d3/d3-time-format for string values\n * @default '%b/%d'\n */\n yAxisDateFormatString?: string;\n /**\n * number formatter of x axis\n * if the x-axis data pints are of number type then user can\n * use this prop to format the number\n * refer to https://github.com/d3/d3-format for string values\n * @default '.2~s'\n */\n xAxisNumberFormatString?: string;\n /**\n * number formatter of y axis\n * if the y-axis data pints are of number type then user can\n * use this prop to format the number\n * refer to https://github.com/d3/d3-format for string values\n * @default '.2~s'\n */\n yAxisNumberFormatString?: string;\n /**\n * string formatter for x-axis.\n * This prop only applies if the x-axis is of string type\n *\n * For the accessiblity reason we sort the x-axis data point given by the consumer in ascending\n * order and then render in the x-axis. this behaviour would force the order of the data points.\n * to overcome , user can give x-axis point names as p1 p2...etc and map those p1 and p2 to custom name.\n * behind the scene the charting will actually sort the p1 and p2 and then we can attach the custom\n * name to that point by using this prop, hence giving the us the flexiblity of the order in which\n * label should render\n *\n * see the example file for the usage of the prop\n */\n xAxisStringFormatter?: (point: string) => string;\n\n /**\n * string formatter for y-axis.\n * This prop only applies if the y-axis is of string type\n *\n * For the accessiblity reason we sort the x-axis data point given by the consumer in ascending\n * order and then render in the y-axis. this behaviour would force the order of the data points.\n * to overcome , user can give y-axis point names as p1 p2...etc and map those p1 and p2 to custom name.\n * behind the scene the charting will actually sort the p1 and p2 and then we can attach the custom\n * name to that point by using this prop, hence giving the us the flexiblity of the order in which\n * label should render\n *\n * see the exaple file for the usage of the prop\n */\n yAxisStringFormatter?: (point: string) => string;\n /**\n * custom legend properties\n */\n legendProps?: Partial<ILegendsProps>;\n /**\n * Call to provide customized styling that will layer on top of the variant rules.\n */\n styles?: IStyleFunctionOrObject<IHeatMapChartStyleProps, IHeatMapChartStyles>;\n\n /**\n * The prop used to define the culture to localized the numbers\n */\n culture?: string;\n}\nexport interface IHeatMapChartStyleProps extends ICartesianChartStyleProps {}\nexport interface IHeatMapChartStyles {\n root?: IStyle;\n text?: IStyle;\n subComponentStyles: {\n cartesianStyles: IStyleFunctionOrObject<ICartesianChartStyleProps, ICartesianChartStyles>;\n calloutStyles: IStyleFunctionOrObject<ICalloutContentStyleProps, ICalloutContentStyles>;\n };\n}\n"]}
1
+ {"version":3,"file":"HeatMapChart.types.js","sourceRoot":"../src/","sources":["components/HeatMapChart/HeatMapChart.types.ts"],"names":[],"mappings":"","sourcesContent":["import { IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';\nimport { ICalloutContentStyleProps, ICalloutContentStyles } from '@fluentui/react/lib/Callout';\nimport { IStyle } from '@fluentui/react/lib/Styling';\nimport {\n ICartesianChartStyleProps,\n ICartesianChartProps,\n ICartesianChartStyles,\n} from '../CommonComponents/CartesianChart.types';\nimport { ILegendsProps } from '../Legends/Legends.types';\nimport { IHeatMapChartData } from '../../types/IDataPoint';\n\n/**\n * IHeatMapChartProps for HeatMapchart component.\n * {@docCategory HeatMapChart}\n */\nexport interface IHeatMapChartProps extends Pick<ICartesianChartProps, Exclude<keyof ICartesianChartProps, 'styles'>> {\n /**\n * chart title for the chart\n */\n chartTitle?: string;\n /**\n * data to provide for Heat Map\n */\n data: IHeatMapChartData[];\n /**\n * The domain value for the color scale,\n *\n */\n domainValuesForColorScale: number[];\n /**\n * The range values for the color scale,\n * fill the array with colors in hex format\n * note:- it should contain values exactly as many as values in the array\n * `domainValuesForColorScale`\n */\n rangeValuesForColorScale: string[];\n /**\n * date formatter of x axis,\n * if the x-axis data point are of date type then user can use this\n * prop to format the date\n * refer to https://github.com/d3/d3-time-format for string values\n * @default '%b/%d'\n */\n xAxisDateFormatString?: string;\n /**\n * date formatter of y axis,\n * if the y-axis data point are or date type then user can use this\n * prop to format the date\n * refer to https://github.com/d3/d3-time-format for string values\n * @default '%b/%d'\n */\n yAxisDateFormatString?: string;\n /**\n * number formatter of x axis\n * if the x-axis data pints are of number type then user can\n * use this prop to format the number\n * refer to https://github.com/d3/d3-format for string values\n * @default '.2~s'\n */\n xAxisNumberFormatString?: string;\n /**\n * number formatter of y axis\n * if the y-axis data pints are of number type then user can\n * use this prop to format the number\n * refer to https://github.com/d3/d3-format for string values\n * @default '.2~s'\n */\n yAxisNumberFormatString?: string;\n /**\n * string formatter for x-axis.\n * This prop only applies if the x-axis is of string type\n *\n * For the accessiblity reason we sort the x-axis data point given by the consumer in ascending\n * order and then render in the x-axis. this behaviour would force the order of the data points.\n * to overcome , user can give x-axis point names as p1 p2...etc and map those p1 and p2 to custom name.\n * behind the scene the charting will actually sort the p1 and p2 and then we can attach the custom\n * name to that point by using this prop, hence giving the us the flexiblity of the order in which\n * label should render\n *\n * see the example file for the usage of the prop\n */\n xAxisStringFormatter?: (point: string) => string;\n\n /**\n * string formatter for y-axis.\n * This prop only applies if the y-axis is of string type\n *\n * For the accessiblity reason we sort the x-axis data point given by the consumer in ascending\n * order and then render in the y-axis. this behaviour would force the order of the data points.\n * to overcome , user can give y-axis point names as p1 p2...etc and map those p1 and p2 to custom name.\n * behind the scene the charting will actually sort the p1 and p2 and then we can attach the custom\n * name to that point by using this prop, hence giving the us the flexiblity of the order in which\n * label should render\n *\n * see the exaple file for the usage of the prop\n */\n yAxisStringFormatter?: (point: string) => string;\n /**\n * custom legend properties\n */\n legendProps?: Partial<ILegendsProps>;\n /**\n * Call to provide customized styling that will layer on top of the variant rules.\n */\n styles?: IStyleFunctionOrObject<IHeatMapChartStyleProps, IHeatMapChartStyles>;\n\n /**\n * The prop used to define the culture to localized the numbers\n */\n culture?: string;\n}\nexport interface IHeatMapChartStyleProps extends ICartesianChartStyleProps {}\nexport interface IHeatMapChartStyles {\n root?: IStyle;\n text?: IStyle;\n subComponentStyles: {\n cartesianStyles: IStyleFunctionOrObject<ICartesianChartStyleProps, ICartesianChartStyles>;\n calloutStyles: IStyleFunctionOrObject<ICalloutContentStyleProps, ICalloutContentStyles>;\n };\n}\n"]}
@@ -1,3 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { IHorizontalBarChartProps } from './HorizontalBarChart.types';
3
+ /**
4
+ * HorizontalBarchart component.
5
+ * {@docCategory HorizontalBarChart}
6
+ */
3
7
  export declare const HorizontalBarChart: React.FunctionComponent<IHorizontalBarChartProps>;
@@ -2,5 +2,9 @@ import { styled } from '@fluentui/react/lib/Utilities';
2
2
  import { HorizontalBarChartBase } from './HorizontalBarChart.base';
3
3
  import { getHorizontalBarChartStyles } from './HorizontalBarChart.styles';
4
4
  // Create a HorizontalBarChart variant which uses these default styles and this styled subcomponent.
5
+ /**
6
+ * HorizontalBarchart component.
7
+ * {@docCategory HorizontalBarChart}
8
+ */
5
9
  export var HorizontalBarChart = styled(HorizontalBarChartBase, getHorizontalBarChartStyles);
6
10
  //# sourceMappingURL=HorizontalBarChart.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"HorizontalBarChart.js","sourceRoot":"../src/","sources":["components/HorizontalBarChart/HorizontalBarChart.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AAMvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAE1E,oGAAoG;AACpG,MAAM,CAAC,IAAM,kBAAkB,GAAsD,MAAM,CAIzF,sBAAsB,EAAE,2BAA2B,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport { styled } from '@fluentui/react/lib/Utilities';\nimport {\n IHorizontalBarChartProps,\n IHorizontalBarChartStyleProps,\n IHorizontalBarChartStyles,\n} from './HorizontalBarChart.types';\nimport { HorizontalBarChartBase } from './HorizontalBarChart.base';\nimport { getHorizontalBarChartStyles } from './HorizontalBarChart.styles';\n\n// Create a HorizontalBarChart variant which uses these default styles and this styled subcomponent.\nexport const HorizontalBarChart: React.FunctionComponent<IHorizontalBarChartProps> = styled<\n IHorizontalBarChartProps,\n IHorizontalBarChartStyleProps,\n IHorizontalBarChartStyles\n>(HorizontalBarChartBase, getHorizontalBarChartStyles);\n"]}
1
+ {"version":3,"file":"HorizontalBarChart.js","sourceRoot":"../src/","sources":["components/HorizontalBarChart/HorizontalBarChart.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AAMvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAE1E,oGAAoG;AACpG;;;GAGG;AACH,MAAM,CAAC,IAAM,kBAAkB,GAAsD,MAAM,CAIzF,sBAAsB,EAAE,2BAA2B,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport { styled } from '@fluentui/react/lib/Utilities';\nimport {\n IHorizontalBarChartProps,\n IHorizontalBarChartStyleProps,\n IHorizontalBarChartStyles,\n} from './HorizontalBarChart.types';\nimport { HorizontalBarChartBase } from './HorizontalBarChart.base';\nimport { getHorizontalBarChartStyles } from './HorizontalBarChart.styles';\n\n// Create a HorizontalBarChart variant which uses these default styles and this styled subcomponent.\n/**\n * HorizontalBarchart component.\n * {@docCategory HorizontalBarChart}\n */\nexport const HorizontalBarChart: React.FunctionComponent<IHorizontalBarChartProps> = styled<\n IHorizontalBarChartProps,\n IHorizontalBarChartStyleProps,\n IHorizontalBarChartStyles\n>(HorizontalBarChartBase, getHorizontalBarChartStyles);\n"]}
@@ -2,6 +2,10 @@ import { IChartProps, IChartDataPoint } from './index';
2
2
  import { IStyle, ITheme } from '@fluentui/react/lib/Styling';
3
3
  import { ICalloutProps } from '@fluentui/react/lib/Callout';
4
4
  import { IRenderFunction, IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';
5
+ /**
6
+ * IHorizontalBarChartProps for HorizontalBarchart component.
7
+ * {@docCategory HorizontalBarChart}
8
+ */
5
9
  export interface IHorizontalBarChartProps {
6
10
  /**
7
11
  * An array of chart data points for the Horizontal bar chart
@@ -55,7 +59,7 @@ export interface IHorizontalBarChartProps {
55
59
  /**
56
60
  * Custom text to the chart (right side of the chart)
57
61
  * IChartProps will be available as props to the method prop.
58
- * If this method not given, default values (IHorizontalDataPoint {x,y})
62
+ * If this method not given, default values (IHorizontalDataPoint \{x,y\})
59
63
  * will be used to display the data/text based on given chartModeData prop.
60
64
  */
61
65
  barChartCustomData?: IRenderFunction<IChartProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"HorizontalBarChart.types.js","sourceRoot":"../src/","sources":["components/HorizontalBarChart/HorizontalBarChart.types.ts"],"names":[],"mappings":"AA6MA,MAAM,CAAN,IAAY,yBAGX;AAHD,WAAY,yBAAyB;IACnC,0DAA6B,CAAA;IAC7B,6DAAgC,CAAA;AAClC,CAAC,EAHW,yBAAyB,KAAzB,yBAAyB,QAGpC","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';\n\nexport interface IHorizontalBarChartProps {\n /**\n * An array of chart data points for the Horizontal 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 */\n hideRatio?: boolean[];\n\n /**\n * Do not show tooltips in chart\n *\n * @default false\n */\n hideTooltip?: boolean;\n\n /**\n * This property tells how to show data text on top right of bar chart.\n * If barChartCustomData props added, then this props will be overrided.\n * @default 'default'\n */\n chartDataMode?: ChartDataMode;\n\n /**\n * Call to provide customized styling that will layer on top of the variant rules.\n */\n styles?: IStyleFunctionOrObject<IHorizontalBarChartStyleProps, IHorizontalBarChartStyles>;\n\n /**\n * Define a custom callout renderer for a horizontal bar\n */\n onRenderCalloutPerHorizontalBar?: IRenderFunction<IChartDataPoint>;\n\n /**\n * props for the callout in the chart\n */\n calloutProps?: Partial<ICalloutProps>;\n\n /**\n * Custom text to the chart (right side of the chart)\n * IChartProps will be available as props to the method prop.\n * If this method not given, default values (IHorizontalDataPoint {x,y})\n * will be used to display the data/text based on given chartModeData prop.\n */\n barChartCustomData?: IRenderFunction<IChartProps>;\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 HorizontalBarChart to render\n * @default HorizontalBarChartVariant.PartToWhole\n */\n variant?: HorizontalBarChartVariant;\n\n /**\n * Prop to hide the bar labels\n * @default false\n */\n hideLabels?: boolean;\n}\n\nexport interface IHorizontalBarChartStyleProps {\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 | undefined;\n\n /**\n * line color for callout\n */\n color?: string;\n\n /**\n * Height of bar chart\n * @default 15\n */\n barHeight?: number;\n\n /**\n * prop to check if benchmark data is provided\n */\n showTriangle?: boolean;\n\n /**\n * Prop to define the variant of HorizontalBarChart to render\n */\n variant?: HorizontalBarChartVariant;\n\n /**\n * Prop to hide the bar labels\n */\n hideLabels?: boolean;\n}\n\nexport interface IHorizontalBarChartStyles {\n /**\n * Styling for the root container\n */\n root: IStyle;\n\n /**\n * Styling for each item in the container\n */\n items: 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 the bars.\n */\n barWrapper: IStyle;\n\n /**\n * Style for left side text of the chart title\n */\n chartTitleLeft: IStyle;\n\n /**\n * Style for right side text of the chart title\n */\n chartTitleRight: IStyle;\n\n /**\n * Style for the chart data text denominator.\n */\n chartDataTextDenominator: IStyle;\n\n /**\n * Style for the benchmark container\n */\n benchmarkContainer: IStyle;\n\n /**\n * Style for the benchmark triangle\n */\n triangle: 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 * Chart data mode for chart data text\n * default: show the datapoint.x value\n * fraction: show the fraction of datapoint.x/datapoint.y\n * percentage: show the percentage of (datapoint.x/datapoint.y)%\n */\nexport type ChartDataMode = 'default' | 'fraction' | 'percentage';\n\nexport enum HorizontalBarChartVariant {\n PartToWhole = 'part-to-whole',\n AbsoluteScale = 'absolute-scale',\n}\n"]}
1
+ {"version":3,"file":"HorizontalBarChart.types.js","sourceRoot":"../src/","sources":["components/HorizontalBarChart/HorizontalBarChart.types.ts"],"names":[],"mappings":"AAiNA,MAAM,CAAN,IAAY,yBAGX;AAHD,WAAY,yBAAyB;IACnC,0DAA6B,CAAA;IAC7B,6DAAgC,CAAA;AAClC,CAAC,EAHW,yBAAyB,KAAzB,yBAAyB,QAGpC","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';\n\n/**\n * IHorizontalBarChartProps for HorizontalBarchart component.\n * {@docCategory HorizontalBarChart}\n */\nexport interface IHorizontalBarChartProps {\n /**\n * An array of chart data points for the Horizontal 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 */\n hideRatio?: boolean[];\n\n /**\n * Do not show tooltips in chart\n *\n * @default false\n */\n hideTooltip?: boolean;\n\n /**\n * This property tells how to show data text on top right of bar chart.\n * If barChartCustomData props added, then this props will be overrided.\n * @default 'default'\n */\n chartDataMode?: ChartDataMode;\n\n /**\n * Call to provide customized styling that will layer on top of the variant rules.\n */\n styles?: IStyleFunctionOrObject<IHorizontalBarChartStyleProps, IHorizontalBarChartStyles>;\n\n /**\n * Define a custom callout renderer for a horizontal bar\n */\n onRenderCalloutPerHorizontalBar?: IRenderFunction<IChartDataPoint>;\n\n /**\n * props for the callout in the chart\n */\n calloutProps?: Partial<ICalloutProps>;\n\n /**\n * Custom text to the chart (right side of the chart)\n * IChartProps will be available as props to the method prop.\n * If this method not given, default values (IHorizontalDataPoint \\{x,y\\})\n * will be used to display the data/text based on given chartModeData prop.\n */\n barChartCustomData?: IRenderFunction<IChartProps>;\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 HorizontalBarChart to render\n * @default HorizontalBarChartVariant.PartToWhole\n */\n variant?: HorizontalBarChartVariant;\n\n /**\n * Prop to hide the bar labels\n * @default false\n */\n hideLabels?: boolean;\n}\n\nexport interface IHorizontalBarChartStyleProps {\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 | undefined;\n\n /**\n * line color for callout\n */\n color?: string;\n\n /**\n * Height of bar chart\n * @default 15\n */\n barHeight?: number;\n\n /**\n * prop to check if benchmark data is provided\n */\n showTriangle?: boolean;\n\n /**\n * Prop to define the variant of HorizontalBarChart to render\n */\n variant?: HorizontalBarChartVariant;\n\n /**\n * Prop to hide the bar labels\n */\n hideLabels?: boolean;\n}\n\nexport interface IHorizontalBarChartStyles {\n /**\n * Styling for the root container\n */\n root: IStyle;\n\n /**\n * Styling for each item in the container\n */\n items: 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 the bars.\n */\n barWrapper: IStyle;\n\n /**\n * Style for left side text of the chart title\n */\n chartTitleLeft: IStyle;\n\n /**\n * Style for right side text of the chart title\n */\n chartTitleRight: IStyle;\n\n /**\n * Style for the chart data text denominator.\n */\n chartDataTextDenominator: IStyle;\n\n /**\n * Style for the benchmark container\n */\n benchmarkContainer: IStyle;\n\n /**\n * Style for the benchmark triangle\n */\n triangle: 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 * Chart data mode for chart data text\n * default: show the datapoint.x value\n * fraction: show the fraction of datapoint.x/datapoint.y\n * percentage: show the percentage of (datapoint.x/datapoint.y)%\n */\nexport type ChartDataMode = 'default' | 'fraction' | 'percentage';\n\nexport enum HorizontalBarChartVariant {\n PartToWhole = 'part-to-whole',\n AbsoluteScale = 'absolute-scale',\n}\n"]}
@@ -1,3 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { IHorizontalBarChartWithAxisProps } from '../../index';
3
+ /**
4
+ * HorizontalBarchartWithAxis component.
5
+ * {@docCategory HorizontalBarChartWithAxis}
6
+ */
3
7
  export declare const HorizontalBarChartWithAxis: React.FunctionComponent<IHorizontalBarChartWithAxisProps>;
@@ -2,5 +2,9 @@ import { styled } from '../../Utilities';
2
2
  import { HorizontalBarChartWithAxisBase } from './HorizontalBarChartWithAxis.base';
3
3
  import { getStyles } from './HorizontalBarChartWithAxis.styles';
4
4
  // Create a HorizontalBarChartWithAxis variant which uses these default styles and this styled subcomponent.
5
+ /**
6
+ * HorizontalBarchartWithAxis component.
7
+ * {@docCategory HorizontalBarChartWithAxis}
8
+ */
5
9
  export var HorizontalBarChartWithAxis = styled(HorizontalBarChartWithAxisBase, getStyles);
6
10
  //# sourceMappingURL=HorizontalBarChartWithAxis.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"HorizontalBarChartWithAxis.js","sourceRoot":"../src/","sources":["components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAMzC,OAAO,EAAE,8BAA8B,EAAE,MAAM,mCAAmC,CAAC;AACnF,OAAO,EAAE,SAAS,EAAE,MAAM,qCAAqC,CAAC;AAEhE,4GAA4G;AAC5G,MAAM,CAAC,IAAM,0BAA0B,GAA8D,MAAM,CAIzG,8BAA8B,EAAE,SAAS,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport { styled } from '../../Utilities';\nimport {\n IHorizontalBarChartWithAxisProps,\n IHorizontalBarChartWithAxisStyleProps,\n IHorizontalBarChartWithAxisStyles,\n} from '../../index';\nimport { HorizontalBarChartWithAxisBase } from './HorizontalBarChartWithAxis.base';\nimport { getStyles } from './HorizontalBarChartWithAxis.styles';\n\n// Create a HorizontalBarChartWithAxis variant which uses these default styles and this styled subcomponent.\nexport const HorizontalBarChartWithAxis: React.FunctionComponent<IHorizontalBarChartWithAxisProps> = styled<\n IHorizontalBarChartWithAxisProps,\n IHorizontalBarChartWithAxisStyleProps,\n IHorizontalBarChartWithAxisStyles\n>(HorizontalBarChartWithAxisBase, getStyles);\n"]}
1
+ {"version":3,"file":"HorizontalBarChartWithAxis.js","sourceRoot":"../src/","sources":["components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAMzC,OAAO,EAAE,8BAA8B,EAAE,MAAM,mCAAmC,CAAC;AACnF,OAAO,EAAE,SAAS,EAAE,MAAM,qCAAqC,CAAC;AAEhE,4GAA4G;AAC5G;;;GAGG;AACH,MAAM,CAAC,IAAM,0BAA0B,GAA8D,MAAM,CAIzG,8BAA8B,EAAE,SAAS,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport { styled } from '../../Utilities';\nimport {\n IHorizontalBarChartWithAxisProps,\n IHorizontalBarChartWithAxisStyleProps,\n IHorizontalBarChartWithAxisStyles,\n} from '../../index';\nimport { HorizontalBarChartWithAxisBase } from './HorizontalBarChartWithAxis.base';\nimport { getStyles } from './HorizontalBarChartWithAxis.styles';\n\n// Create a HorizontalBarChartWithAxis variant which uses these default styles and this styled subcomponent.\n/**\n * HorizontalBarchartWithAxis component.\n * {@docCategory HorizontalBarChartWithAxis}\n */\nexport const HorizontalBarChartWithAxis: React.FunctionComponent<IHorizontalBarChartWithAxisProps> = styled<\n IHorizontalBarChartWithAxisProps,\n IHorizontalBarChartWithAxisStyleProps,\n IHorizontalBarChartWithAxisStyles\n>(HorizontalBarChartWithAxisBase, getStyles);\n"]}
@@ -1,6 +1,10 @@
1
1
  import { IStyle } from '@fluentui/react/lib/Styling';
2
2
  import { IRenderFunction, IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';
3
3
  import { ICartesianChartProps, ICartesianChartStyleProps, ICartesianChartStyles, IHorizontalBarChartWithAxisDataPoint } from '../../index';
4
+ /**
5
+ * IHorizontalBarChartWithAxisProps for HorizontalBarchartWithAxis component.
6
+ * {@docCategory HorizontalBarChartWithAxis}
7
+ */
4
8
  export interface IHorizontalBarChartWithAxisProps extends ICartesianChartProps {
5
9
  /**
6
10
  * Data to render in the chart.
@@ -1 +1 @@
1
- {"version":3,"file":"HorizontalBarChartWithAxis.types.js","sourceRoot":"../src/","sources":["components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.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 IHorizontalBarChartWithAxisDataPoint,\n} from '../../index';\n\nexport interface IHorizontalBarChartWithAxisProps extends ICartesianChartProps {\n /**\n * Data to render in the chart.\n */\n data?: IHorizontalBarChartWithAxisDataPoint[];\n\n /**\n * Define a custom callout renderer for a data point.\n */\n onRenderCalloutPerDataPoint?: IRenderFunction<IHorizontalBarChartWithAxisDataPoint>;\n\n /**\n * Width of each bar in the chart.\n */\n barHeight?: 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 * 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<IHorizontalBarChartWithAxisStyleProps, IHorizontalBarChartWithAxisStyles>;\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 yAxisPadding?: number;\n\n /**\n *@default false\n *Used for to elipse y axis labes and show tooltip on x axis labels\n */\n showYAxisLablesTooltip?: boolean;\n\n /**\n *@default false\n *Used for showing complete y axis lables */\n showYAxisLables?: boolean;\n}\n\nexport interface IHorizontalBarChartWithAxisStyleProps extends ICartesianChartStyleProps {\n /**\n * color of the datapoint legend\n */\n legendColor?: string;\n}\n\nexport interface IHorizontalBarChartWithAxisStyles extends ICartesianChartStyles {\n /**\n * Style for the chart label.\n *\n */\n chartLabel?: IStyle;\n\n /**\n * Style for the line representing the domain of the x-axis.\n *\n */\n xAxisDomain?: IStyle;\n\n /**\n * Style for the lines representing the ticks along the x-axis.\n *\n */\n xAxisTicks?: IStyle;\n\n /**\n * Style for the text labeling each tick along the x-axis.\n *\n */\n xAxisText?: IStyle;\n\n /**\n * Style for the line representing the domain of the y-axis.\n *\n */\n yAxisDomain?: IStyle;\n\n /**\n * Style for the lines representing the ticks along the y-axis.\n *\n */\n yAxisTicks?: IStyle;\n\n /**\n * Style for the text labeling each tick along the y-axis.\n *\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"]}
1
+ {"version":3,"file":"HorizontalBarChartWithAxis.types.js","sourceRoot":"../src/","sources":["components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.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 IHorizontalBarChartWithAxisDataPoint,\n} from '../../index';\n\n/**\n * IHorizontalBarChartWithAxisProps for HorizontalBarchartWithAxis component.\n * {@docCategory HorizontalBarChartWithAxis}\n */\nexport interface IHorizontalBarChartWithAxisProps extends ICartesianChartProps {\n /**\n * Data to render in the chart.\n */\n data?: IHorizontalBarChartWithAxisDataPoint[];\n\n /**\n * Define a custom callout renderer for a data point.\n */\n onRenderCalloutPerDataPoint?: IRenderFunction<IHorizontalBarChartWithAxisDataPoint>;\n\n /**\n * Width of each bar in the chart.\n */\n barHeight?: 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 * 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<IHorizontalBarChartWithAxisStyleProps, IHorizontalBarChartWithAxisStyles>;\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 yAxisPadding?: number;\n\n /**\n *@default false\n *Used for to elipse y axis labes and show tooltip on x axis labels\n */\n showYAxisLablesTooltip?: boolean;\n\n /**\n *@default false\n *Used for showing complete y axis lables */\n showYAxisLables?: boolean;\n}\n\nexport interface IHorizontalBarChartWithAxisStyleProps extends ICartesianChartStyleProps {\n /**\n * color of the datapoint legend\n */\n legendColor?: string;\n}\n\nexport interface IHorizontalBarChartWithAxisStyles extends ICartesianChartStyles {\n /**\n * Style for the chart label.\n *\n */\n chartLabel?: IStyle;\n\n /**\n * Style for the line representing the domain of the x-axis.\n *\n */\n xAxisDomain?: IStyle;\n\n /**\n * Style for the lines representing the ticks along the x-axis.\n *\n */\n xAxisTicks?: IStyle;\n\n /**\n * Style for the text labeling each tick along the x-axis.\n *\n */\n xAxisText?: IStyle;\n\n /**\n * Style for the line representing the domain of the y-axis.\n *\n */\n yAxisDomain?: IStyle;\n\n /**\n * Style for the lines representing the ticks along the y-axis.\n *\n */\n yAxisTicks?: IStyle;\n\n /**\n * Style for the text labeling each tick along the y-axis.\n *\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"]}
@@ -1,3 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { ILegendsProps } from './Legends.types';
3
+ /**
4
+ * Legends component.
5
+ * {@docCategory Legends}
6
+ */
3
7
  export declare const Legends: React.FunctionComponent<ILegendsProps>;
@@ -1,5 +1,9 @@
1
1
  import { styled } from '@fluentui/react/lib/Utilities';
2
2
  import { LegendsBase } from './Legends.base';
3
3
  import { getStyles } from './Legends.styles';
4
+ /**
5
+ * Legends component.
6
+ * {@docCategory Legends}
7
+ */
4
8
  export var Legends = styled(LegendsBase, getStyles);
5
9
  //# sourceMappingURL=Legends.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Legends.js","sourceRoot":"../src/","sources":["components/Legends/Legends.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AAEvD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,MAAM,CAAC,IAAM,OAAO,GAA2C,MAAM,CACnE,WAAW,EACX,SAAS,CACV,CAAC","sourcesContent":["import * as React from 'react';\nimport { styled } from '@fluentui/react/lib/Utilities';\nimport { ILegendsProps, ILegendStyleProps, ILegendsStyles } from './Legends.types';\nimport { LegendsBase } from './Legends.base';\nimport { getStyles } from './Legends.styles';\n\nexport const Legends: React.FunctionComponent<ILegendsProps> = styled<ILegendsProps, ILegendStyleProps, ILegendsStyles>(\n LegendsBase,\n getStyles,\n);\n"]}
1
+ {"version":3,"file":"Legends.js","sourceRoot":"../src/","sources":["components/Legends/Legends.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AAEvD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C;;;GAGG;AACH,MAAM,CAAC,IAAM,OAAO,GAA2C,MAAM,CACnE,WAAW,EACX,SAAS,CACV,CAAC","sourcesContent":["import * as React from 'react';\nimport { styled } from '@fluentui/react/lib/Utilities';\nimport { ILegendsProps, ILegendStyleProps, ILegendsStyles } from './Legends.types';\nimport { LegendsBase } from './Legends.base';\nimport { getStyles } from './Legends.styles';\n\n/**\n * Legends component.\n * {@docCategory Legends}\n */\nexport const Legends: React.FunctionComponent<ILegendsProps> = styled<ILegendsProps, ILegendStyleProps, ILegendsStyles>(\n LegendsBase,\n getStyles,\n);\n"]}
@@ -5,13 +5,28 @@ import { IHoverCardStyleProps, IHoverCardStyles } from '@fluentui/react/lib/Hove
5
5
  import { IOverflowSetProps } from '@fluentui/react/lib/OverflowSet';
6
6
  import { IFocusZoneProps } from '@fluentui/react-focus';
7
7
  import { CustomPoints, Points } from '../../utilities/utilities';
8
+ /**
9
+ * @public
10
+ * ILegendOverflowData interface.
11
+ * {@docCategory Legends}
12
+ */
8
13
  export interface ILegendOverflowData {
9
14
  primary: ILegend[];
10
15
  overflow?: ILegend[];
11
16
  }
17
+ /**
18
+ * @public
19
+ * ILegendSubComponentStyles interface.
20
+ * {@docCategory Legends}
21
+ */
12
22
  export interface ILegendSubComponentStyles {
13
23
  hoverCardStyles: IStyleFunctionOrObject<IHoverCardStyleProps, IHoverCardStyles>;
14
24
  }
25
+ /**
26
+ * @public
27
+ * ILegendsStyles interface.
28
+ * {@docCategory Legends}
29
+ */
15
30
  export interface ILegendsStyles {
16
31
  /**
17
32
  * Style set for the root of the legend component
@@ -54,6 +69,11 @@ export interface ILegendsStyles {
54
69
  */
55
70
  subComponentStyles: ILegendSubComponentStyles;
56
71
  }
72
+ /**
73
+ * @public
74
+ * ILegendsStyles interface.
75
+ * {@docCategory Legends}
76
+ */
57
77
  export interface ILegend {
58
78
  /**
59
79
  * Defines the title of the legend
@@ -1 +1 @@
1
- {"version":3,"file":"Legends.types.js","sourceRoot":"../src/","sources":["components/Legends/Legends.types.ts"],"names":[],"mappings":"","sourcesContent":["import * as React from 'react';\nimport { ITheme, IStyle } from '@fluentui/react/lib/Styling';\nimport { IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';\nimport { IHoverCardStyleProps, IHoverCardStyles } from '@fluentui/react/lib/HoverCard';\nimport { IOverflowSetProps } from '@fluentui/react/lib/OverflowSet';\nimport { IFocusZoneProps } from '@fluentui/react-focus';\nimport { CustomPoints, Points } from '../../utilities/utilities';\n\nexport interface ILegendOverflowData {\n primary: ILegend[];\n\n overflow?: ILegend[];\n}\n\nexport interface ILegendSubComponentStyles {\n hoverCardStyles: IStyleFunctionOrObject<IHoverCardStyleProps, IHoverCardStyles>;\n}\n\nexport interface ILegendsStyles {\n /**\n * Style set for the root of the legend component\n */\n root: IStyle;\n\n /**\n * Style set for Legend. This is a wrapping class for text of legend and the rectange box that represents a legend\n */\n legend: IStyle;\n\n /**\n * Style set for the rectangle that represents a legend\n */\n rect: IStyle;\n\n /**\n * styles set for the shape that represents a legend\n */\n shape: IStyle;\n\n /**\n * Style set for the triangle that represents a legend\n */\n triangle: IStyle;\n\n /**\n * Style for the legend text\n */\n text: IStyle;\n\n /**\n * Style for the legend text\n */\n hoverChange: IStyle;\n\n /**\n * Style for the text that indicates the no.of legends that are in hovercard due to lack of space\n */\n overflowIndicationTextStyle: IStyle;\n\n /**\n * Style for the overflow container\n */\n hoverCardRoot: IStyle;\n\n /**\n * sub component styles\n */\n subComponentStyles: ILegendSubComponentStyles;\n}\n\nexport interface ILegend {\n /**\n * Defines the title of the legend\n */\n title: string;\n\n /**\n * Defines the function that is executed on clicking this legend\n */\n action?: VoidFunction;\n\n /**\n * Defines the function that is executed upon hovering over the legend\n */\n hoverAction?: VoidFunction;\n\n /**\n * Defines the function that is executed upon moving the mouse away from the legend\n */\n onMouseOutAction?: (isLegendFocused?: boolean) => void;\n\n /**\n * The color for the legend\n */\n color: string;\n\n /**\n * The opacity of the legend color\n */\n opacity?: number;\n\n /**\n * The shape for the legend\n */\n shape?: LegendShape;\n\n /**\n * Indicated whether or not to apply stripe pattern\n */\n stripePattern?: boolean;\n\n /**\n * Indicates if the legend belongs to a line in the Bar Chart\n */\n isLineLegendInBarChart?: boolean;\n\n /*\n * native button props for the legend button\n */\n nativeButtonProps?: React.ButtonHTMLAttributes<HTMLButtonElement>;\n}\n\nexport interface ILegendStyleProps {\n theme?: ITheme;\n className?: string;\n colorOnSelectedState?: string;\n borderColor?: string;\n opacity?: number;\n overflow?: boolean;\n stripePattern?: boolean;\n isLineLegendInBarChart?: boolean;\n}\n\nexport interface ILegendsProps {\n /**\n * Prop that takes list of legends\n */\n legends: ILegend[];\n\n /**\n * Additional CSS class(es) to apply to the legneds component.\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<ILegendStyleProps, ILegendsStyles>;\n\n /**\n * This prop makes the legends component align itself to the center in the container it is sitting in\n */\n centerLegends?: 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 enabledWrapLines?: boolean;\n\n /**\n * props for the overflow set component\n */\n overflowProps?: Partial<IOverflowSetProps>;\n\n /**\n * focus zone props in hover card\n */\n focusZonePropsInHoverCard?: IFocusZoneProps;\n\n /**\n * text for overflow legends string\n */\n overflowText?: string;\n\n /**\n * Prop that takes the active legend\n */\n selectedLegend?: string;\n\n /**\n * prop that decides if legends are focusable\n * @default true\n */\n allowFocusOnLegends?: boolean;\n\n /**\n * prop that decide if we can select multiple legends or single legend at a time\n * @default false\n */\n canSelectMultipleLegends?: boolean;\n\n /**\n * Defines the function that is executed upon hiding of hover card\n * make sure to send prop when the prop is canSelectMultipleLegends is set to ture\n * and empty the selecetd state legends\n */\n onLegendHoverCardLeave?: VoidFunction;\n}\n\n/**\n * The shape for the legend\n * default: show the rect legend\n * triangle: show the triangle legend\n */\nexport type LegendShape = 'default' | 'triangle' | keyof typeof Points | keyof typeof CustomPoints;\n"]}
1
+ {"version":3,"file":"Legends.types.js","sourceRoot":"../src/","sources":["components/Legends/Legends.types.ts"],"names":[],"mappings":"","sourcesContent":["import * as React from 'react';\nimport { ITheme, IStyle } from '@fluentui/react/lib/Styling';\nimport { IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';\nimport { IHoverCardStyleProps, IHoverCardStyles } from '@fluentui/react/lib/HoverCard';\nimport { IOverflowSetProps } from '@fluentui/react/lib/OverflowSet';\nimport { IFocusZoneProps } from '@fluentui/react-focus';\nimport { CustomPoints, Points } from '../../utilities/utilities';\n\n/**\n * @public\n * ILegendOverflowData interface.\n * {@docCategory Legends}\n */\nexport interface ILegendOverflowData {\n primary: ILegend[];\n\n overflow?: ILegend[];\n}\n\n/**\n * @public\n * ILegendSubComponentStyles interface.\n * {@docCategory Legends}\n */\nexport interface ILegendSubComponentStyles {\n hoverCardStyles: IStyleFunctionOrObject<IHoverCardStyleProps, IHoverCardStyles>;\n}\n\n/**\n * @public\n * ILegendsStyles interface.\n * {@docCategory Legends}\n */\nexport interface ILegendsStyles {\n /**\n * Style set for the root of the legend component\n */\n root: IStyle;\n\n /**\n * Style set for Legend. This is a wrapping class for text of legend and the rectange box that represents a legend\n */\n legend: IStyle;\n\n /**\n * Style set for the rectangle that represents a legend\n */\n rect: IStyle;\n\n /**\n * styles set for the shape that represents a legend\n */\n shape: IStyle;\n\n /**\n * Style set for the triangle that represents a legend\n */\n triangle: IStyle;\n\n /**\n * Style for the legend text\n */\n text: IStyle;\n\n /**\n * Style for the legend text\n */\n hoverChange: IStyle;\n\n /**\n * Style for the text that indicates the no.of legends that are in hovercard due to lack of space\n */\n overflowIndicationTextStyle: IStyle;\n\n /**\n * Style for the overflow container\n */\n hoverCardRoot: IStyle;\n\n /**\n * sub component styles\n */\n subComponentStyles: ILegendSubComponentStyles;\n}\n\n/**\n * @public\n * ILegendsStyles interface.\n * {@docCategory Legends}\n */\nexport interface ILegend {\n /**\n * Defines the title of the legend\n */\n title: string;\n\n /**\n * Defines the function that is executed on clicking this legend\n */\n action?: VoidFunction;\n\n /**\n * Defines the function that is executed upon hovering over the legend\n */\n hoverAction?: VoidFunction;\n\n /**\n * Defines the function that is executed upon moving the mouse away from the legend\n */\n onMouseOutAction?: (isLegendFocused?: boolean) => void;\n\n /**\n * The color for the legend\n */\n color: string;\n\n /**\n * The opacity of the legend color\n */\n opacity?: number;\n\n /**\n * The shape for the legend\n */\n shape?: LegendShape;\n\n /**\n * Indicated whether or not to apply stripe pattern\n */\n stripePattern?: boolean;\n\n /**\n * Indicates if the legend belongs to a line in the Bar Chart\n */\n isLineLegendInBarChart?: boolean;\n\n /*\n * native button props for the legend button\n */\n nativeButtonProps?: React.ButtonHTMLAttributes<HTMLButtonElement>;\n}\n\nexport interface ILegendStyleProps {\n theme?: ITheme;\n className?: string;\n colorOnSelectedState?: string;\n borderColor?: string;\n opacity?: number;\n overflow?: boolean;\n stripePattern?: boolean;\n isLineLegendInBarChart?: boolean;\n}\n\nexport interface ILegendsProps {\n /**\n * Prop that takes list of legends\n */\n legends: ILegend[];\n\n /**\n * Additional CSS class(es) to apply to the legneds component.\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<ILegendStyleProps, ILegendsStyles>;\n\n /**\n * This prop makes the legends component align itself to the center in the container it is sitting in\n */\n centerLegends?: 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 enabledWrapLines?: boolean;\n\n /**\n * props for the overflow set component\n */\n overflowProps?: Partial<IOverflowSetProps>;\n\n /**\n * focus zone props in hover card\n */\n focusZonePropsInHoverCard?: IFocusZoneProps;\n\n /**\n * text for overflow legends string\n */\n overflowText?: string;\n\n /**\n * Prop that takes the active legend\n */\n selectedLegend?: string;\n\n /**\n * prop that decides if legends are focusable\n * @default true\n */\n allowFocusOnLegends?: boolean;\n\n /**\n * prop that decide if we can select multiple legends or single legend at a time\n * @default false\n */\n canSelectMultipleLegends?: boolean;\n\n /**\n * Defines the function that is executed upon hiding of hover card\n * make sure to send prop when the prop is canSelectMultipleLegends is set to ture\n * and empty the selecetd state legends\n */\n onLegendHoverCardLeave?: VoidFunction;\n}\n\n/**\n * The shape for the legend\n * default: show the rect legend\n * triangle: show the triangle legend\n */\nexport type LegendShape = 'default' | 'triangle' | keyof typeof Points | keyof typeof CustomPoints;\n"]}
@@ -1,3 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { ILineChartProps } from './LineChart.types';
3
+ /**
4
+ * Linechart component.
5
+ * {@docCategory LineChart}
6
+ */
3
7
  export declare const LineChart: React.FunctionComponent<ILineChartProps>;
@@ -2,5 +2,9 @@ import { styled } from '@fluentui/react/lib/Utilities';
2
2
  import { LineChartBase } from './LineChart.base';
3
3
  import { getStyles } from './LineChart.styles';
4
4
  // Create a LineChart variant which uses these default styles and this styled subcomponent.
5
+ /**
6
+ * Linechart component.
7
+ * {@docCategory LineChart}
8
+ */
5
9
  export var LineChart = styled(LineChartBase, getStyles);
6
10
  //# sourceMappingURL=LineChart.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LineChart.js","sourceRoot":"../src/","sources":["components/LineChart/LineChart.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AAEvD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C,2FAA2F;AAC3F,MAAM,CAAC,IAAM,SAAS,GAA6C,MAAM,CAIvE,aAAa,EAAE,SAAS,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport { styled } from '@fluentui/react/lib/Utilities';\nimport { ILineChartProps, ILineChartStyleProps, ILineChartStyles } from './LineChart.types';\nimport { LineChartBase } from './LineChart.base';\nimport { getStyles } from './LineChart.styles';\n\n// Create a LineChart variant which uses these default styles and this styled subcomponent.\nexport const LineChart: React.FunctionComponent<ILineChartProps> = styled<\n ILineChartProps,\n ILineChartStyleProps,\n ILineChartStyles\n>(LineChartBase, getStyles);\n"]}
1
+ {"version":3,"file":"LineChart.js","sourceRoot":"../src/","sources":["components/LineChart/LineChart.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AAEvD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C,2FAA2F;AAC3F;;;GAGG;AACH,MAAM,CAAC,IAAM,SAAS,GAA6C,MAAM,CAIvE,aAAa,EAAE,SAAS,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport { styled } from '@fluentui/react/lib/Utilities';\nimport { ILineChartProps, ILineChartStyleProps, ILineChartStyles } from './LineChart.types';\nimport { LineChartBase } from './LineChart.base';\nimport { getStyles } from './LineChart.styles';\n\n// Create a LineChart variant which uses these default styles and this styled subcomponent.\n/**\n * Linechart component.\n * {@docCategory LineChart}\n */\nexport const LineChart: React.FunctionComponent<ILineChartProps> = styled<\n ILineChartProps,\n ILineChartStyleProps,\n ILineChartStyles\n>(LineChartBase, getStyles);\n"]}
@@ -3,6 +3,10 @@ import { IChartProps, ILineChartPoints, IMargins, IBasestate, IRefArrayData, ICu
3
3
  import { IEventAnnotation } from '../../types/IEventAnnotation';
4
4
  import { ICartesianChartProps, ICartesianChartStyleProps, ICartesianChartStyles, IChildProps } from '../CommonComponents/index';
5
5
  export type { IChildProps, ILineChartPoints, IMargins, IBasestate, IRefArrayData };
6
+ /**
7
+ * ILineChartProps properties for line chart.
8
+ * {@docCategory LineChart}
9
+ */
6
10
  export interface ILineChartProps extends ICartesianChartProps {
7
11
  /**
8
12
  * Data to render in the chart.
@@ -1 +1 @@
1
- {"version":3,"file":"LineChart.types.js","sourceRoot":"../src/","sources":["components/LineChart/LineChart.types.ts"],"names":[],"mappings":"","sourcesContent":["import { IRenderFunction, IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';\nimport {\n IChartProps,\n ILineChartPoints,\n IMargins,\n IBasestate,\n IRefArrayData,\n ICustomizedCalloutData,\n} from '../../types/index';\nimport { IEventAnnotation } from '../../types/IEventAnnotation';\nimport {\n ICartesianChartProps,\n ICartesianChartStyleProps,\n ICartesianChartStyles,\n IChildProps,\n} from '../CommonComponents/index';\n\nexport type { IChildProps, ILineChartPoints, IMargins, IBasestate, IRefArrayData };\nexport interface ILineChartProps extends ICartesianChartProps {\n /**\n * Data to render in the chart.\n */\n data: IChartProps;\n\n /**\n * Call to provide customized styling that will layer on top of the variant rules.\n */\n styles?: IStyleFunctionOrObject<ILineChartStyleProps, ILineChartStyles>;\n\n /**\n * Show event annotation\n */\n eventAnnotationProps?: IEventsAnnotationProps;\n\n /**\n * Define a custom callout renderer for a data point\n */\n onRenderCalloutPerDataPoint?: IRenderFunction<ICustomizedCalloutData>;\n\n /**\n * Define a custom callout renderer for a stack; default is to render per data point\n */\n onRenderCalloutPerStack?: IRenderFunction<ICustomizedCalloutData>;\n\n /**\n * Callback for getting callout description message\n */\n getCalloutDescriptionMessage?: (calloutDataProps: ICustomizedCalloutData) => string | undefined;\n\n /*\n * Color fill bars for the chart,\n */\n colorFillBars?: IColorFillBarsProps[];\n\n /**\n * if this is set to true, then for each line there will be a unique shape assigned to the point,\n * there are total 8 shapes which are as follow circle, square, triangele, diamond, pyramid,\n * hexagon, pentagon and octagon, which will get assigned as respectively, if there are more\n * than 8 lines in the line chart then it will again start from cicle to octagon.\n * setting this flag to true will also change the behavior of the points, like for a\n * line, last point shape and first point shape will be visible all the times, and all\n * other points will get enlarge only when hovered over them\n * if set to false default shape will be circle, with the existing behavior\n * @default false\n */\n allowMultipleShapesForPoints?: boolean;\n\n /*\n * Optimize line chart rendering for large data set. If this prop is enabled, line chart\n * can easily render over 10K datapoints with multiple lines smoothly.\n * This rendering mechanism does not support gaps in lines.\n */\n optimizeLargeData?: boolean;\n\n /**\n * The prop used to define the culture to localized the numbers\n */\n culture?: string;\n\n /**\n * @default false\n * The prop used to enable the perf optimization\n */\n enablePerfOptimization?: boolean;\n}\nexport interface IEventsAnnotationProps {\n events: IEventAnnotation[];\n strokeColor?: string;\n labelColor?: string;\n labelHeight?: number;\n labelWidth?: number;\n mergedLabel: (count: number) => string;\n}\n\nexport interface ILineChartStyles extends ICartesianChartStyles {}\n\nexport interface ILineChartStyleProps extends ICartesianChartStyleProps {}\n\nexport interface IColorFillBarsProps {\n legend: string;\n color: string;\n data: IColorFillBarData[];\n applyPattern?: boolean;\n onLegendClick?: (selectedLegend: string | string[] | null) => void | undefined;\n}\n\nexport interface IColorFillBarData {\n startX: number | Date;\n endX: number | Date;\n}\n"]}
1
+ {"version":3,"file":"LineChart.types.js","sourceRoot":"../src/","sources":["components/LineChart/LineChart.types.ts"],"names":[],"mappings":"","sourcesContent":["import { IRenderFunction, IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';\nimport {\n IChartProps,\n ILineChartPoints,\n IMargins,\n IBasestate,\n IRefArrayData,\n ICustomizedCalloutData,\n} from '../../types/index';\nimport { IEventAnnotation } from '../../types/IEventAnnotation';\nimport {\n ICartesianChartProps,\n ICartesianChartStyleProps,\n ICartesianChartStyles,\n IChildProps,\n} from '../CommonComponents/index';\n\nexport type { IChildProps, ILineChartPoints, IMargins, IBasestate, IRefArrayData };\n\n/**\n * ILineChartProps properties for line chart.\n * {@docCategory LineChart}\n */\nexport interface ILineChartProps extends ICartesianChartProps {\n /**\n * Data to render in the chart.\n */\n data: IChartProps;\n\n /**\n * Call to provide customized styling that will layer on top of the variant rules.\n */\n styles?: IStyleFunctionOrObject<ILineChartStyleProps, ILineChartStyles>;\n\n /**\n * Show event annotation\n */\n eventAnnotationProps?: IEventsAnnotationProps;\n\n /**\n * Define a custom callout renderer for a data point\n */\n onRenderCalloutPerDataPoint?: IRenderFunction<ICustomizedCalloutData>;\n\n /**\n * Define a custom callout renderer for a stack; default is to render per data point\n */\n onRenderCalloutPerStack?: IRenderFunction<ICustomizedCalloutData>;\n\n /**\n * Callback for getting callout description message\n */\n getCalloutDescriptionMessage?: (calloutDataProps: ICustomizedCalloutData) => string | undefined;\n\n /*\n * Color fill bars for the chart,\n */\n colorFillBars?: IColorFillBarsProps[];\n\n /**\n * if this is set to true, then for each line there will be a unique shape assigned to the point,\n * there are total 8 shapes which are as follow circle, square, triangele, diamond, pyramid,\n * hexagon, pentagon and octagon, which will get assigned as respectively, if there are more\n * than 8 lines in the line chart then it will again start from cicle to octagon.\n * setting this flag to true will also change the behavior of the points, like for a\n * line, last point shape and first point shape will be visible all the times, and all\n * other points will get enlarge only when hovered over them\n * if set to false default shape will be circle, with the existing behavior\n * @default false\n */\n allowMultipleShapesForPoints?: boolean;\n\n /*\n * Optimize line chart rendering for large data set. If this prop is enabled, line chart\n * can easily render over 10K datapoints with multiple lines smoothly.\n * This rendering mechanism does not support gaps in lines.\n */\n optimizeLargeData?: boolean;\n\n /**\n * The prop used to define the culture to localized the numbers\n */\n culture?: string;\n\n /**\n * @default false\n * The prop used to enable the perf optimization\n */\n enablePerfOptimization?: boolean;\n}\nexport interface IEventsAnnotationProps {\n events: IEventAnnotation[];\n strokeColor?: string;\n labelColor?: string;\n labelHeight?: number;\n labelWidth?: number;\n mergedLabel: (count: number) => string;\n}\n\nexport interface ILineChartStyles extends ICartesianChartStyles {}\n\nexport interface ILineChartStyleProps extends ICartesianChartStyleProps {}\n\nexport interface IColorFillBarsProps {\n legend: string;\n color: string;\n data: IColorFillBarData[];\n applyPattern?: boolean;\n onLegendClick?: (selectedLegend: string | string[] | null) => void | undefined;\n}\n\nexport interface IColorFillBarData {\n startX: number | Date;\n endX: number | Date;\n}\n"]}
@@ -1,3 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { IPieChartProps } from './PieChart.types';
3
+ /**
4
+ * Piechart component.
5
+ * {@docCategory PieChart}
6
+ */
3
7
  export declare const PieChart: React.FunctionComponent<IPieChartProps>;
@@ -2,5 +2,9 @@ import { styled } from '@fluentui/react/lib/Utilities';
2
2
  import { PieChartBase } from './PieChart.base';
3
3
  import { getStyles } from './PieChart.styles';
4
4
  // Create a PieChart variant which uses these default styles and this styled subcomponent.
5
+ /**
6
+ * Piechart component.
7
+ * {@docCategory PieChart}
8
+ */
5
9
  export var PieChart = styled(PieChartBase, getStyles);
6
10
  //# sourceMappingURL=PieChart.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PieChart.js","sourceRoot":"../src/","sources":["components/PieChart/PieChart.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AAEvD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,0FAA0F;AAC1F,MAAM,CAAC,IAAM,QAAQ,GAA4C,MAAM,CAIrE,YAAY,EAAE,SAAS,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport { styled } from '@fluentui/react/lib/Utilities';\nimport { IPieChartProps, IPieChartStyleProps, IPieChartStyles } from './PieChart.types';\nimport { PieChartBase } from './PieChart.base';\nimport { getStyles } from './PieChart.styles';\n\n// Create a PieChart variant which uses these default styles and this styled subcomponent.\nexport const PieChart: React.FunctionComponent<IPieChartProps> = styled<\n IPieChartProps,\n IPieChartStyleProps,\n IPieChartStyles\n>(PieChartBase, getStyles);\n"]}
1
+ {"version":3,"file":"PieChart.js","sourceRoot":"../src/","sources":["components/PieChart/PieChart.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AAEvD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,0FAA0F;AAC1F;;;GAGG;AACH,MAAM,CAAC,IAAM,QAAQ,GAA4C,MAAM,CAIrE,YAAY,EAAE,SAAS,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport { styled } from '@fluentui/react/lib/Utilities';\nimport { IPieChartProps, IPieChartStyleProps, IPieChartStyles } from './PieChart.types';\nimport { PieChartBase } from './PieChart.base';\nimport { getStyles } from './PieChart.styles';\n\n// Create a PieChart variant which uses these default styles and this styled subcomponent.\n/**\n * Piechart component.\n * {@docCategory PieChart}\n */\nexport const PieChart: React.FunctionComponent<IPieChartProps> = styled<\n IPieChartProps,\n IPieChartStyleProps,\n IPieChartStyles\n>(PieChartBase, getStyles);\n"]}
@@ -4,6 +4,10 @@ import { IDataPoint } from '../../types/IDataPoint';
4
4
  export type { IDataPoint } from '../../types/IDataPoint';
5
5
  export interface IPieChart {
6
6
  }
7
+ /**
8
+ * IPieChartProps for Piechart component.
9
+ * {@docCategory PieChart}
10
+ */
7
11
  export interface IPieChartProps {
8
12
  /**
9
13
  * Data to render in the chart.
@@ -1 +1 @@
1
- {"version":3,"file":"PieChart.types.js","sourceRoot":"../src/","sources":["components/PieChart/PieChart.types.ts"],"names":[],"mappings":"","sourcesContent":["import { ITheme, IStyle } from '@fluentui/react/lib/Styling';\nimport { IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';\nimport { IDataPoint } from '../../types/IDataPoint';\nexport type { IDataPoint } from '../../types/IDataPoint';\nexport interface IPieChart {}\n\nexport interface IPieChartProps {\n /**\n * Data to render in the chart.\n */\n data?: IDataPoint[];\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 * colors to render in the chart.\n */\n colors?: string[];\n\n /**\n * Title to apply to the whole chart.\n */\n chartTitle?: string;\n\n /**\n * Additional CSS class(es) to apply to the PieChart.\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<IPieChartStyleProps, IPieChartStyles>;\n\n /**\n * Width of line stroke\n */\n strokeWidth?: number;\n\n /**\n * The prop used to define the culture to localized the numbers\n */\n culture?: string;\n}\n\nexport type IPieChartStyleProps = Required<Pick<IPieChartProps, 'theme' | 'width' | 'height'>> &\n Pick<IPieChartProps, 'className'>;\nexport interface IPieChartStyles {\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"]}
1
+ {"version":3,"file":"PieChart.types.js","sourceRoot":"../src/","sources":["components/PieChart/PieChart.types.ts"],"names":[],"mappings":"","sourcesContent":["import { ITheme, IStyle } from '@fluentui/react/lib/Styling';\nimport { IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';\nimport { IDataPoint } from '../../types/IDataPoint';\nexport type { IDataPoint } from '../../types/IDataPoint';\nexport interface IPieChart {}\n\n/**\n * IPieChartProps for Piechart component.\n * {@docCategory PieChart}\n */\nexport interface IPieChartProps {\n /**\n * Data to render in the chart.\n */\n data?: IDataPoint[];\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 * colors to render in the chart.\n */\n colors?: string[];\n\n /**\n * Title to apply to the whole chart.\n */\n chartTitle?: string;\n\n /**\n * Additional CSS class(es) to apply to the PieChart.\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<IPieChartStyleProps, IPieChartStyles>;\n\n /**\n * Width of line stroke\n */\n strokeWidth?: number;\n\n /**\n * The prop used to define the culture to localized the numbers\n */\n culture?: string;\n}\n\nexport type IPieChartStyleProps = Required<Pick<IPieChartProps, 'theme' | 'width' | 'height'>> &\n Pick<IPieChartProps, 'className'>;\nexport interface IPieChartStyles {\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"]}
@@ -1,3 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { ISankeyChartProps } from './SankeyChart.types';
3
+ /**
4
+ * Sankeychart component.
5
+ * {@docCategory SankeyChart}
6
+ */
3
7
  export declare const SankeyChart: React.FunctionComponent<ISankeyChartProps>;
@@ -2,5 +2,9 @@ import { styled } from '@fluentui/react/lib/Utilities';
2
2
  import { SankeyChartBase } from './SankeyChart.base';
3
3
  import { getStyles } from './SankeyChart.styles';
4
4
  // Create a SankeyChart variant which uses these default styles and this styled subcomponent.
5
+ /**
6
+ * Sankeychart component.
7
+ * {@docCategory SankeyChart}
8
+ */
5
9
  export var SankeyChart = styled(SankeyChartBase, getStyles);
6
10
  //# sourceMappingURL=SankeyChart.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SankeyChart.js","sourceRoot":"../src/","sources":["components/SankeyChart/SankeyChart.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AAEvD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,6FAA6F;AAC7F,MAAM,CAAC,IAAM,WAAW,GAA+C,MAAM,CAI3E,eAAe,EAAE,SAAS,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport { styled } from '@fluentui/react/lib/Utilities';\nimport { ISankeyChartProps, ISankeyChartStyleProps, ISankeyChartStyles } from './SankeyChart.types';\nimport { SankeyChartBase } from './SankeyChart.base';\nimport { getStyles } from './SankeyChart.styles';\n\n// Create a SankeyChart variant which uses these default styles and this styled subcomponent.\nexport const SankeyChart: React.FunctionComponent<ISankeyChartProps> = styled<\n ISankeyChartProps,\n ISankeyChartStyleProps,\n ISankeyChartStyles\n>(SankeyChartBase, getStyles);\n"]}
1
+ {"version":3,"file":"SankeyChart.js","sourceRoot":"../src/","sources":["components/SankeyChart/SankeyChart.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AAEvD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,6FAA6F;AAC7F;;;GAGG;AACH,MAAM,CAAC,IAAM,WAAW,GAA+C,MAAM,CAI3E,eAAe,EAAE,SAAS,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport { styled } from '@fluentui/react/lib/Utilities';\nimport { ISankeyChartProps, ISankeyChartStyleProps, ISankeyChartStyles } from './SankeyChart.types';\nimport { SankeyChartBase } from './SankeyChart.base';\nimport { getStyles } from './SankeyChart.styles';\n\n// Create a SankeyChart variant which uses these default styles and this styled subcomponent.\n/**\n * Sankeychart component.\n * {@docCategory SankeyChart}\n */\nexport const SankeyChart: React.FunctionComponent<ISankeyChartProps> = styled<\n ISankeyChartProps,\n ISankeyChartStyleProps,\n ISankeyChartStyles\n>(SankeyChartBase, getStyles);\n"]}
@@ -2,6 +2,10 @@ import { ITheme, IStyle } from '@fluentui/react/lib/Styling';
2
2
  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
+ /**
6
+ * ISankeyChartProps for Sankeychart component.
7
+ * {@docCategory SankeyChart}
8
+ */
5
9
  export interface ISankeyChartProps {
6
10
  /**
7
11
  * Data to render in the chart.
@@ -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\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 * 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,3 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { ISparklineProps } from '../../index';
3
+ /**
4
+ * Sparkline component.
5
+ * {@docCategory Sparkline}
6
+ */
3
7
  export declare const Sparkline: React.FunctionComponent<ISparklineProps>;
@@ -2,5 +2,9 @@ import { styled } from '@fluentui/react/lib/Utilities';
2
2
  import { SparklineBase } from './Sparkline.base';
3
3
  import { getStyles } from './Sparkline.styles';
4
4
  // Create a Sparkline variant which uses these default styles and this styled subcomponent.
5
+ /**
6
+ * Sparkline component.
7
+ * {@docCategory Sparkline}
8
+ */
5
9
  export var Sparkline = styled(SparklineBase, getStyles);
6
10
  //# sourceMappingURL=Sparkline.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Sparkline.js","sourceRoot":"../src/","sources":["components/Sparkline/Sparkline.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AAEvD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C,2FAA2F;AAC3F,MAAM,CAAC,IAAM,SAAS,GAA6C,MAAM,CAIvE,aAAa,EAAE,SAAS,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.\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":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AAEvD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C,2FAA2F;AAC3F;;;GAGG;AACH,MAAM,CAAC,IAAM,SAAS,GAA6C,MAAM,CAIvE,aAAa,EAAE,SAAS,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"]}
@@ -4,6 +4,10 @@ import { IChartProps } from '../../types/IDataPoint';
4
4
  import { ICartesianChartStyleProps } from '../CommonComponents/index';
5
5
  export interface ISparklineStyleProps extends ICartesianChartStyleProps {
6
6
  }
7
+ /**
8
+ * ISparklineProps for Sparkline component.
9
+ * {@docCategory Sparkline}
10
+ */
7
11
  export interface ISparklineProps {
8
12
  /**
9
13
  * An array of chart data points for the Sparkline chart