@fluentui/react-charting 5.16.24 → 5.16.26

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 (796) hide show
  1. package/CHANGELOG.json +57 -1
  2. package/CHANGELOG.md +23 -2
  3. package/config/setup-env.js +1 -0
  4. package/dist/react-charting.js +1 -0
  5. package/dist/react-charting.min.js +1 -0
  6. package/docs/TestPlans/BasicDonutChart.png +0 -0
  7. package/docs/TestPlans/DonutChart/ComponentTests.md +35 -0
  8. package/lib/AreaChart.d.ts +1 -0
  9. package/lib/AreaChart.js +2 -0
  10. package/lib/AreaChart.js.map +1 -0
  11. package/lib/CartesianChart.d.ts +1 -0
  12. package/lib/CartesianChart.js +2 -0
  13. package/lib/CartesianChart.js.map +1 -0
  14. package/lib/DonutChart.d.ts +1 -0
  15. package/lib/DonutChart.js +2 -0
  16. package/lib/DonutChart.js.map +1 -0
  17. package/lib/GroupedVerticalBarChart.d.ts +1 -0
  18. package/lib/GroupedVerticalBarChart.js +2 -0
  19. package/lib/GroupedVerticalBarChart.js.map +1 -0
  20. package/lib/HeatMapChart.d.ts +1 -0
  21. package/lib/HeatMapChart.js +2 -0
  22. package/lib/HeatMapChart.js.map +1 -0
  23. package/lib/HorizontalBarChart.d.ts +1 -0
  24. package/lib/HorizontalBarChart.js +2 -0
  25. package/lib/HorizontalBarChart.js.map +1 -0
  26. package/lib/Legends.d.ts +1 -0
  27. package/lib/Legends.js +2 -0
  28. package/lib/Legends.js.map +1 -0
  29. package/lib/LineChart.d.ts +1 -0
  30. package/lib/LineChart.js +2 -0
  31. package/lib/LineChart.js.map +1 -0
  32. package/lib/PieChart.d.ts +1 -0
  33. package/lib/PieChart.js +2 -0
  34. package/lib/PieChart.js.map +1 -0
  35. package/lib/SankeyChart.d.ts +1 -0
  36. package/lib/SankeyChart.js +2 -0
  37. package/lib/SankeyChart.js.map +1 -0
  38. package/lib/Sparkline.d.ts +1 -0
  39. package/lib/Sparkline.js +2 -0
  40. package/lib/Sparkline.js.map +1 -0
  41. package/lib/StackedBarChart.d.ts +1 -0
  42. package/lib/StackedBarChart.js +2 -0
  43. package/lib/StackedBarChart.js.map +1 -0
  44. package/lib/Styling.d.ts +2 -0
  45. package/lib/Styling.js +8 -0
  46. package/lib/Styling.js.map +1 -0
  47. package/lib/TreeChart.d.ts +1 -0
  48. package/lib/TreeChart.js +2 -0
  49. package/lib/TreeChart.js.map +1 -0
  50. package/lib/Utilities.d.ts +2 -0
  51. package/lib/Utilities.js +20 -0
  52. package/lib/Utilities.js.map +1 -0
  53. package/lib/VerticalBarChart.d.ts +1 -0
  54. package/lib/VerticalBarChart.js +2 -0
  55. package/lib/VerticalBarChart.js.map +1 -0
  56. package/lib/VerticalStackedBarChart.d.ts +1 -0
  57. package/lib/VerticalStackedBarChart.js +2 -0
  58. package/lib/VerticalStackedBarChart.js.map +1 -0
  59. package/lib/components/AreaChart/AreaChart.base.d.ts +92 -0
  60. package/lib/components/AreaChart/AreaChart.base.js +562 -0
  61. package/lib/components/AreaChart/AreaChart.base.js.map +1 -0
  62. package/lib/components/AreaChart/AreaChart.d.ts +3 -0
  63. package/lib/components/AreaChart/AreaChart.js +6 -0
  64. package/lib/components/AreaChart/AreaChart.js.map +1 -0
  65. package/lib/components/AreaChart/AreaChart.styles.d.ts +2 -0
  66. package/lib/components/AreaChart/AreaChart.styles.js +7 -0
  67. package/lib/components/AreaChart/AreaChart.styles.js.map +1 -0
  68. package/lib/components/AreaChart/AreaChart.types.d.ts +37 -0
  69. package/lib/components/AreaChart/AreaChart.types.js +2 -0
  70. package/lib/components/AreaChart/AreaChart.types.js.map +1 -0
  71. package/lib/components/AreaChart/index.d.ts +2 -0
  72. package/lib/components/AreaChart/index.js +3 -0
  73. package/lib/components/AreaChart/index.js.map +1 -0
  74. package/lib/components/CommonComponents/CartesianChart.base.d.ts +43 -0
  75. package/lib/components/CommonComponents/CartesianChart.base.js +331 -0
  76. package/lib/components/CommonComponents/CartesianChart.base.js.map +1 -0
  77. package/lib/components/CommonComponents/CartesianChart.d.ts +3 -0
  78. package/lib/components/CommonComponents/CartesianChart.js +5 -0
  79. package/lib/components/CommonComponents/CartesianChart.js.map +1 -0
  80. package/lib/components/CommonComponents/CartesianChart.styles.d.ts +2 -0
  81. package/lib/components/CommonComponents/CartesianChart.styles.js +163 -0
  82. package/lib/components/CommonComponents/CartesianChart.styles.js.map +1 -0
  83. package/lib/components/CommonComponents/CartesianChart.types.d.ts +428 -0
  84. package/lib/components/CommonComponents/CartesianChart.types.js +2 -0
  85. package/lib/components/CommonComponents/CartesianChart.types.js.map +1 -0
  86. package/lib/components/CommonComponents/index.d.ts +2 -0
  87. package/lib/components/CommonComponents/index.js +3 -0
  88. package/lib/components/CommonComponents/index.js.map +1 -0
  89. package/lib/components/DonutChart/Arc/Arc.d.ts +21 -0
  90. package/lib/components/DonutChart/Arc/Arc.js +86 -0
  91. package/lib/components/DonutChart/Arc/Arc.js.map +1 -0
  92. package/lib/components/DonutChart/Arc/Arc.styles.d.ts +2 -0
  93. package/lib/components/DonutChart/Arc/Arc.styles.js +28 -0
  94. package/lib/components/DonutChart/Arc/Arc.styles.js.map +1 -0
  95. package/lib/components/DonutChart/Arc/Arc.types.d.ts +124 -0
  96. package/lib/components/DonutChart/Arc/Arc.types.js +2 -0
  97. package/lib/components/DonutChart/Arc/Arc.types.js.map +1 -0
  98. package/lib/components/DonutChart/Arc/index.d.ts +2 -0
  99. package/lib/components/DonutChart/Arc/index.js +3 -0
  100. package/lib/components/DonutChart/Arc/index.js.map +1 -0
  101. package/lib/components/DonutChart/DonutChart.base.d.ts +50 -0
  102. package/lib/components/DonutChart/DonutChart.base.js +211 -0
  103. package/lib/components/DonutChart/DonutChart.base.js.map +1 -0
  104. package/lib/components/DonutChart/DonutChart.d.ts +3 -0
  105. package/lib/components/DonutChart/DonutChart.js +6 -0
  106. package/lib/components/DonutChart/DonutChart.js.map +1 -0
  107. package/lib/components/DonutChart/DonutChart.styles.d.ts +2 -0
  108. package/lib/components/DonutChart/DonutChart.styles.js +30 -0
  109. package/lib/components/DonutChart/DonutChart.styles.js.map +1 -0
  110. package/lib/components/DonutChart/DonutChart.types.d.ts +63 -0
  111. package/lib/components/DonutChart/DonutChart.types.js +2 -0
  112. package/lib/components/DonutChart/DonutChart.types.js.map +1 -0
  113. package/lib/components/DonutChart/Pie/Pie.d.ts +15 -0
  114. package/lib/components/DonutChart/Pie/Pie.js +71 -0
  115. package/lib/components/DonutChart/Pie/Pie.js.map +1 -0
  116. package/lib/components/DonutChart/Pie/Pie.styles.d.ts +2 -0
  117. package/lib/components/DonutChart/Pie/Pie.styles.js +19 -0
  118. package/lib/components/DonutChart/Pie/Pie.styles.js.map +1 -0
  119. package/lib/components/DonutChart/Pie/Pie.types.d.ts +96 -0
  120. package/lib/components/DonutChart/Pie/Pie.types.js +2 -0
  121. package/lib/components/DonutChart/Pie/Pie.types.js.map +1 -0
  122. package/lib/components/DonutChart/Pie/index.d.ts +2 -0
  123. package/lib/components/DonutChart/Pie/index.js +3 -0
  124. package/lib/components/DonutChart/Pie/index.js.map +1 -0
  125. package/lib/components/DonutChart/index.d.ts +3 -0
  126. package/lib/components/DonutChart/index.js +4 -0
  127. package/lib/components/DonutChart/index.js.map +1 -0
  128. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +62 -0
  129. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +381 -0
  130. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -0
  131. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +3 -0
  132. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +6 -0
  133. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -0
  134. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +2 -0
  135. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +17 -0
  136. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +1 -0
  137. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +83 -0
  138. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +2 -0
  139. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -0
  140. package/lib/components/GroupedVerticalBarChart/index.d.ts +2 -0
  141. package/lib/components/GroupedVerticalBarChart/index.js +3 -0
  142. package/lib/components/GroupedVerticalBarChart/index.js.map +1 -0
  143. package/lib/components/HeatMapChart/HeatMapChart.base.d.ts +147 -0
  144. package/lib/components/HeatMapChart/HeatMapChart.base.js +498 -0
  145. package/lib/components/HeatMapChart/HeatMapChart.base.js.map +1 -0
  146. package/lib/components/HeatMapChart/HeatMapChart.d.ts +3 -0
  147. package/lib/components/HeatMapChart/HeatMapChart.js +5 -0
  148. package/lib/components/HeatMapChart/HeatMapChart.js.map +1 -0
  149. package/lib/components/HeatMapChart/HeatMapChart.styles.d.ts +2 -0
  150. package/lib/components/HeatMapChart/HeatMapChart.styles.js +24 -0
  151. package/lib/components/HeatMapChart/HeatMapChart.styles.js.map +1 -0
  152. package/lib/components/HeatMapChart/HeatMapChart.types.d.ts +110 -0
  153. package/lib/components/HeatMapChart/HeatMapChart.types.js +2 -0
  154. package/lib/components/HeatMapChart/HeatMapChart.types.js.map +1 -0
  155. package/lib/components/HeatMapChart/index.d.ts +2 -0
  156. package/lib/components/HeatMapChart/index.js +3 -0
  157. package/lib/components/HeatMapChart/index.js.map +1 -0
  158. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +36 -0
  159. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js +237 -0
  160. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -0
  161. package/lib/components/HorizontalBarChart/HorizontalBarChart.d.ts +3 -0
  162. package/lib/components/HorizontalBarChart/HorizontalBarChart.js +6 -0
  163. package/lib/components/HorizontalBarChart/HorizontalBarChart.js.map +1 -0
  164. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +2 -0
  165. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js +69 -0
  166. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +1 -0
  167. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +172 -0
  168. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js +6 -0
  169. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -0
  170. package/lib/components/HorizontalBarChart/index.d.ts +3 -0
  171. package/lib/components/HorizontalBarChart/index.js +4 -0
  172. package/lib/components/HorizontalBarChart/index.js.map +1 -0
  173. package/lib/components/Legends/Legends.base.d.ts +44 -0
  174. package/lib/components/Legends/Legends.base.js +293 -0
  175. package/lib/components/Legends/Legends.base.js.map +1 -0
  176. package/lib/components/Legends/Legends.d.ts +3 -0
  177. package/lib/components/Legends/Legends.js +5 -0
  178. package/lib/components/Legends/Legends.js.map +1 -0
  179. package/lib/components/Legends/Legends.styles.d.ts +2 -0
  180. package/lib/components/Legends/Legends.styles.js +103 -0
  181. package/lib/components/Legends/Legends.styles.js.map +1 -0
  182. package/lib/components/Legends/Legends.types.d.ts +169 -0
  183. package/lib/components/Legends/Legends.types.js +2 -0
  184. package/lib/components/Legends/Legends.types.js.map +1 -0
  185. package/lib/components/Legends/index.d.ts +3 -0
  186. package/lib/components/Legends/index.js +4 -0
  187. package/lib/components/Legends/index.js.map +1 -0
  188. package/lib/components/Legends/shape.d.ts +9 -0
  189. package/lib/components/Legends/shape.js +24 -0
  190. package/lib/components/Legends/shape.js.map +1 -0
  191. package/lib/components/LineChart/LineChart.base.d.ts +84 -0
  192. package/lib/components/LineChart/LineChart.base.js +815 -0
  193. package/lib/components/LineChart/LineChart.base.js.map +1 -0
  194. package/lib/components/LineChart/LineChart.d.ts +3 -0
  195. package/lib/components/LineChart/LineChart.js +6 -0
  196. package/lib/components/LineChart/LineChart.js.map +1 -0
  197. package/lib/components/LineChart/LineChart.styles.d.ts +2 -0
  198. package/lib/components/LineChart/LineChart.styles.js +7 -0
  199. package/lib/components/LineChart/LineChart.styles.js.map +1 -0
  200. package/lib/components/LineChart/LineChart.types.d.ts +72 -0
  201. package/lib/components/LineChart/LineChart.types.js +2 -0
  202. package/lib/components/LineChart/LineChart.types.js.map +1 -0
  203. package/lib/components/LineChart/eventAnnotation/EventAnnotation.d.ts +10 -0
  204. package/lib/components/LineChart/eventAnnotation/EventAnnotation.js +93 -0
  205. package/lib/components/LineChart/eventAnnotation/EventAnnotation.js.map +1 -0
  206. package/lib/components/LineChart/eventAnnotation/LabelLink.d.ts +22 -0
  207. package/lib/components/LineChart/eventAnnotation/LabelLink.js +37 -0
  208. package/lib/components/LineChart/eventAnnotation/LabelLink.js.map +1 -0
  209. package/lib/components/LineChart/eventAnnotation/Textbox.d.ts +13 -0
  210. package/lib/components/LineChart/eventAnnotation/Textbox.js +37 -0
  211. package/lib/components/LineChart/eventAnnotation/Textbox.js.map +1 -0
  212. package/lib/components/LineChart/index.d.ts +3 -0
  213. package/lib/components/LineChart/index.js +4 -0
  214. package/lib/components/LineChart/index.js.map +1 -0
  215. package/lib/components/PieChart/Arc/Arc.d.ts +12 -0
  216. package/lib/components/PieChart/Arc/Arc.js +57 -0
  217. package/lib/components/PieChart/Arc/Arc.js.map +1 -0
  218. package/lib/components/PieChart/Arc/Arc.styles.d.ts +2 -0
  219. package/lib/components/PieChart/Arc/Arc.styles.js +8 -0
  220. package/lib/components/PieChart/Arc/Arc.styles.js.map +1 -0
  221. package/lib/components/PieChart/Arc/Arc.types.d.ts +60 -0
  222. package/lib/components/PieChart/Arc/Arc.types.js +2 -0
  223. package/lib/components/PieChart/Arc/Arc.types.js.map +1 -0
  224. package/lib/components/PieChart/Arc/index.d.ts +2 -0
  225. package/lib/components/PieChart/Arc/index.js +3 -0
  226. package/lib/components/PieChart/Arc/index.js.map +1 -0
  227. package/lib/components/PieChart/Pie/Pie.d.ts +10 -0
  228. package/lib/components/PieChart/Pie/Pie.js +35 -0
  229. package/lib/components/PieChart/Pie/Pie.js.map +1 -0
  230. package/lib/components/PieChart/Pie/Pie.styles.d.ts +2 -0
  231. package/lib/components/PieChart/Pie/Pie.styles.js +6 -0
  232. package/lib/components/PieChart/Pie/Pie.styles.js.map +1 -0
  233. package/lib/components/PieChart/Pie/Pie.types.d.ts +46 -0
  234. package/lib/components/PieChart/Pie/Pie.types.js +2 -0
  235. package/lib/components/PieChart/Pie/Pie.types.js.map +1 -0
  236. package/lib/components/PieChart/Pie/index.d.ts +2 -0
  237. package/lib/components/PieChart/Pie/index.js +3 -0
  238. package/lib/components/PieChart/Pie/index.js.map +1 -0
  239. package/lib/components/PieChart/PieChart.base.d.ts +7 -0
  240. package/lib/components/PieChart/PieChart.base.js +34 -0
  241. package/lib/components/PieChart/PieChart.base.js.map +1 -0
  242. package/lib/components/PieChart/PieChart.d.ts +3 -0
  243. package/lib/components/PieChart/PieChart.js +6 -0
  244. package/lib/components/PieChart/PieChart.js.map +1 -0
  245. package/lib/components/PieChart/PieChart.styles.d.ts +2 -0
  246. package/lib/components/PieChart/PieChart.styles.js +29 -0
  247. package/lib/components/PieChart/PieChart.styles.js.map +1 -0
  248. package/lib/components/PieChart/PieChart.types.d.ts +63 -0
  249. package/lib/components/PieChart/PieChart.types.js +2 -0
  250. package/lib/components/PieChart/PieChart.types.js.map +1 -0
  251. package/lib/components/PieChart/index.d.ts +2 -0
  252. package/lib/components/PieChart/index.js +3 -0
  253. package/lib/components/PieChart/index.js.map +1 -0
  254. package/lib/components/SankeyChart/SankeyChart.base.d.ts +95 -0
  255. package/lib/components/SankeyChart/SankeyChart.base.js +674 -0
  256. package/lib/components/SankeyChart/SankeyChart.base.js.map +1 -0
  257. package/lib/components/SankeyChart/SankeyChart.d.ts +3 -0
  258. package/lib/components/SankeyChart/SankeyChart.js +6 -0
  259. package/lib/components/SankeyChart/SankeyChart.js.map +1 -0
  260. package/lib/components/SankeyChart/SankeyChart.styles.d.ts +2 -0
  261. package/lib/components/SankeyChart/SankeyChart.styles.js +58 -0
  262. package/lib/components/SankeyChart/SankeyChart.styles.js.map +1 -0
  263. package/lib/components/SankeyChart/SankeyChart.types.d.ts +83 -0
  264. package/lib/components/SankeyChart/SankeyChart.types.js +2 -0
  265. package/lib/components/SankeyChart/SankeyChart.types.js.map +1 -0
  266. package/lib/components/SankeyChart/index.d.ts +2 -0
  267. package/lib/components/SankeyChart/index.js +3 -0
  268. package/lib/components/SankeyChart/index.js.map +1 -0
  269. package/lib/components/Sparkline/Sparkline.base.d.ts +20 -0
  270. package/lib/components/Sparkline/Sparkline.base.js +76 -0
  271. package/lib/components/Sparkline/Sparkline.base.js.map +1 -0
  272. package/lib/components/Sparkline/Sparkline.d.ts +3 -0
  273. package/lib/components/Sparkline/Sparkline.js +6 -0
  274. package/lib/components/Sparkline/Sparkline.js.map +1 -0
  275. package/lib/components/Sparkline/Sparkline.styles.d.ts +2 -0
  276. package/lib/components/Sparkline/Sparkline.styles.js +10 -0
  277. package/lib/components/Sparkline/Sparkline.styles.js.map +1 -0
  278. package/lib/components/Sparkline/Sparkline.types.d.ts +51 -0
  279. package/lib/components/Sparkline/Sparkline.types.js +2 -0
  280. package/lib/components/Sparkline/Sparkline.types.js.map +1 -0
  281. package/lib/components/Sparkline/index.d.ts +2 -0
  282. package/lib/components/Sparkline/index.js +3 -0
  283. package/lib/components/Sparkline/index.js.map +1 -0
  284. package/lib/components/StackedBarChart/MultiStackedBarChart.base.d.ts +56 -0
  285. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js +356 -0
  286. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -0
  287. package/lib/components/StackedBarChart/MultiStackedBarChart.d.ts +3 -0
  288. package/lib/components/StackedBarChart/MultiStackedBarChart.js +6 -0
  289. package/lib/components/StackedBarChart/MultiStackedBarChart.js.map +1 -0
  290. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +2 -0
  291. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js +90 -0
  292. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js.map +1 -0
  293. package/lib/components/StackedBarChart/MultiStackedBarChart.types.d.ts +198 -0
  294. package/lib/components/StackedBarChart/MultiStackedBarChart.types.js +6 -0
  295. package/lib/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -0
  296. package/lib/components/StackedBarChart/StackedBarChart.base.d.ts +51 -0
  297. package/lib/components/StackedBarChart/StackedBarChart.base.js +311 -0
  298. package/lib/components/StackedBarChart/StackedBarChart.base.js.map +1 -0
  299. package/lib/components/StackedBarChart/StackedBarChart.d.ts +3 -0
  300. package/lib/components/StackedBarChart/StackedBarChart.js +6 -0
  301. package/lib/components/StackedBarChart/StackedBarChart.js.map +1 -0
  302. package/lib/components/StackedBarChart/StackedBarChart.styles.d.ts +2 -0
  303. package/lib/components/StackedBarChart/StackedBarChart.styles.js +104 -0
  304. package/lib/components/StackedBarChart/StackedBarChart.styles.js.map +1 -0
  305. package/lib/components/StackedBarChart/StackedBarChart.types.d.ts +210 -0
  306. package/lib/components/StackedBarChart/StackedBarChart.types.js +2 -0
  307. package/lib/components/StackedBarChart/StackedBarChart.types.js.map +1 -0
  308. package/lib/components/StackedBarChart/index.d.ts +5 -0
  309. package/lib/components/StackedBarChart/index.js +6 -0
  310. package/lib/components/StackedBarChart/index.js.map +1 -0
  311. package/lib/components/TreeChart/TreeChart.base.d.ts +18 -0
  312. package/lib/components/TreeChart/TreeChart.base.js +316 -0
  313. package/lib/components/TreeChart/TreeChart.base.js.map +1 -0
  314. package/lib/components/TreeChart/TreeChart.d.ts +3 -0
  315. package/lib/components/TreeChart/TreeChart.js +5 -0
  316. package/lib/components/TreeChart/TreeChart.js.map +1 -0
  317. package/lib/components/TreeChart/TreeChart.styles.d.ts +2 -0
  318. package/lib/components/TreeChart/TreeChart.styles.js +29 -0
  319. package/lib/components/TreeChart/TreeChart.styles.js.map +1 -0
  320. package/lib/components/TreeChart/TreeChart.types.d.ts +197 -0
  321. package/lib/components/TreeChart/TreeChart.types.js +23 -0
  322. package/lib/components/TreeChart/TreeChart.types.js.map +1 -0
  323. package/lib/components/TreeChart/index.d.ts +2 -0
  324. package/lib/components/TreeChart/index.js +3 -0
  325. package/lib/components/TreeChart/index.js.map +1 -0
  326. package/lib/components/VerticalBarChart/VerticalBarChart.base.d.ts +74 -0
  327. package/lib/components/VerticalBarChart/VerticalBarChart.base.js +536 -0
  328. package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -0
  329. package/lib/components/VerticalBarChart/VerticalBarChart.d.ts +3 -0
  330. package/lib/components/VerticalBarChart/VerticalBarChart.js +6 -0
  331. package/lib/components/VerticalBarChart/VerticalBarChart.js.map +1 -0
  332. package/lib/components/VerticalBarChart/VerticalBarChart.styles.d.ts +2 -0
  333. package/lib/components/VerticalBarChart/VerticalBarChart.styles.js +28 -0
  334. package/lib/components/VerticalBarChart/VerticalBarChart.styles.js.map +1 -0
  335. package/lib/components/VerticalBarChart/VerticalBarChart.types.d.ts +114 -0
  336. package/lib/components/VerticalBarChart/VerticalBarChart.types.js +2 -0
  337. package/lib/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -0
  338. package/lib/components/VerticalBarChart/index.d.ts +2 -0
  339. package/lib/components/VerticalBarChart/index.js +3 -0
  340. package/lib/components/VerticalBarChart/index.js.map +1 -0
  341. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +85 -0
  342. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +666 -0
  343. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -0
  344. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +3 -0
  345. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js +6 -0
  346. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -0
  347. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +2 -0
  348. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +18 -0
  349. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +1 -0
  350. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +142 -0
  351. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +2 -0
  352. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -0
  353. package/lib/components/VerticalStackedBarChart/index.d.ts +2 -0
  354. package/lib/components/VerticalStackedBarChart/index.js +3 -0
  355. package/lib/components/VerticalStackedBarChart/index.js.map +1 -0
  356. package/lib/index.d.ts +19 -0
  357. package/lib/index.js +20 -0
  358. package/lib/index.js.map +1 -0
  359. package/lib/types/IDataPoint.d.ts +545 -0
  360. package/lib/types/IDataPoint.js +2 -0
  361. package/lib/types/IDataPoint.js.map +1 -0
  362. package/lib/types/IEventAnnotation.d.ts +6 -0
  363. package/lib/types/IEventAnnotation.js +2 -0
  364. package/lib/types/IEventAnnotation.js.map +1 -0
  365. package/lib/types/ILegendDataItem.d.ts +10 -0
  366. package/lib/types/ILegendDataItem.js +2 -0
  367. package/lib/types/ILegendDataItem.js.map +1 -0
  368. package/lib/types/index.d.ts +2 -0
  369. package/lib/types/index.js +3 -0
  370. package/lib/types/index.js.map +1 -0
  371. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +6 -0
  372. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js +38 -0
  373. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js.map +1 -0
  374. package/lib/utilities/ChartHoverCard/ChartHoverCard.d.ts +3 -0
  375. package/lib/utilities/ChartHoverCard/ChartHoverCard.js +6 -0
  376. package/lib/utilities/ChartHoverCard/ChartHoverCard.js.map +1 -0
  377. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +2 -0
  378. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js +82 -0
  379. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +1 -0
  380. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +105 -0
  381. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js +2 -0
  382. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js.map +1 -0
  383. package/lib/utilities/ChartHoverCard/index.d.ts +3 -0
  384. package/lib/utilities/ChartHoverCard/index.js +4 -0
  385. package/lib/utilities/ChartHoverCard/index.js.map +1 -0
  386. package/lib/utilities/FocusableTooltipText.d.ts +27 -0
  387. package/lib/utilities/FocusableTooltipText.js +54 -0
  388. package/lib/utilities/FocusableTooltipText.js.map +1 -0
  389. package/lib/utilities/colors.d.ts +51 -0
  390. package/lib/utilities/colors.js +132 -0
  391. package/lib/utilities/colors.js.map +1 -0
  392. package/lib/utilities/index.d.ts +3 -0
  393. package/lib/utilities/index.js +4 -0
  394. package/lib/utilities/index.js.map +1 -0
  395. package/lib/utilities/utilities.d.ts +377 -0
  396. package/lib/utilities/utilities.js +864 -0
  397. package/lib/utilities/utilities.js.map +1 -0
  398. package/lib/version.d.ts +1 -0
  399. package/lib/version.js +5 -0
  400. package/lib/version.js.map +1 -0
  401. package/lib-amd/AreaChart.d.ts +1 -0
  402. package/lib-amd/AreaChart.js +6 -0
  403. package/lib-amd/AreaChart.js.map +1 -0
  404. package/lib-amd/CartesianChart.d.ts +1 -0
  405. package/lib-amd/CartesianChart.js +6 -0
  406. package/lib-amd/CartesianChart.js.map +1 -0
  407. package/lib-amd/DonutChart.d.ts +1 -0
  408. package/lib-amd/DonutChart.js +6 -0
  409. package/lib-amd/DonutChart.js.map +1 -0
  410. package/lib-amd/GroupedVerticalBarChart.d.ts +1 -0
  411. package/lib-amd/GroupedVerticalBarChart.js +6 -0
  412. package/lib-amd/GroupedVerticalBarChart.js.map +1 -0
  413. package/lib-amd/HeatMapChart.d.ts +1 -0
  414. package/lib-amd/HeatMapChart.js +6 -0
  415. package/lib-amd/HeatMapChart.js.map +1 -0
  416. package/lib-amd/HorizontalBarChart.d.ts +1 -0
  417. package/lib-amd/HorizontalBarChart.js +6 -0
  418. package/lib-amd/HorizontalBarChart.js.map +1 -0
  419. package/lib-amd/Legends.d.ts +1 -0
  420. package/lib-amd/Legends.js +6 -0
  421. package/lib-amd/Legends.js.map +1 -0
  422. package/lib-amd/LineChart.d.ts +1 -0
  423. package/lib-amd/LineChart.js +6 -0
  424. package/lib-amd/LineChart.js.map +1 -0
  425. package/lib-amd/PieChart.d.ts +1 -0
  426. package/lib-amd/PieChart.js +6 -0
  427. package/lib-amd/PieChart.js.map +1 -0
  428. package/lib-amd/SankeyChart.d.ts +1 -0
  429. package/lib-amd/SankeyChart.js +6 -0
  430. package/lib-amd/SankeyChart.js.map +1 -0
  431. package/lib-amd/Sparkline.d.ts +1 -0
  432. package/lib-amd/Sparkline.js +6 -0
  433. package/lib-amd/Sparkline.js.map +1 -0
  434. package/lib-amd/StackedBarChart.d.ts +1 -0
  435. package/lib-amd/StackedBarChart.js +6 -0
  436. package/lib-amd/StackedBarChart.js.map +1 -0
  437. package/lib-amd/Styling.d.ts +2 -0
  438. package/lib-amd/Styling.js +75 -0
  439. package/lib-amd/Styling.js.map +1 -0
  440. package/lib-amd/TreeChart.d.ts +1 -0
  441. package/lib-amd/TreeChart.js +6 -0
  442. package/lib-amd/TreeChart.js.map +1 -0
  443. package/lib-amd/Utilities.d.ts +2 -0
  444. package/lib-amd/Utilities.js +183 -0
  445. package/lib-amd/Utilities.js.map +1 -0
  446. package/lib-amd/VerticalBarChart.d.ts +1 -0
  447. package/lib-amd/VerticalBarChart.js +6 -0
  448. package/lib-amd/VerticalBarChart.js.map +1 -0
  449. package/lib-amd/VerticalStackedBarChart.d.ts +1 -0
  450. package/lib-amd/VerticalStackedBarChart.js +6 -0
  451. package/lib-amd/VerticalStackedBarChart.js.map +1 -0
  452. package/lib-amd/components/AreaChart/AreaChart.base.d.ts +92 -0
  453. package/lib-amd/components/AreaChart/AreaChart.base.js +555 -0
  454. package/lib-amd/components/AreaChart/AreaChart.base.js.map +1 -0
  455. package/lib-amd/components/AreaChart/AreaChart.d.ts +3 -0
  456. package/lib-amd/components/AreaChart/AreaChart.js +8 -0
  457. package/lib-amd/components/AreaChart/AreaChart.js.map +1 -0
  458. package/lib-amd/components/AreaChart/AreaChart.styles.d.ts +2 -0
  459. package/lib-amd/components/AreaChart/AreaChart.styles.js +12 -0
  460. package/lib-amd/components/AreaChart/AreaChart.styles.js.map +1 -0
  461. package/lib-amd/components/AreaChart/AreaChart.types.d.ts +37 -0
  462. package/lib-amd/components/AreaChart/AreaChart.types.js +5 -0
  463. package/lib-amd/components/AreaChart/AreaChart.types.js.map +1 -0
  464. package/lib-amd/components/AreaChart/index.d.ts +2 -0
  465. package/lib-amd/components/AreaChart/index.js +7 -0
  466. package/lib-amd/components/AreaChart/index.js.map +1 -0
  467. package/lib-amd/components/CommonComponents/CartesianChart.base.d.ts +43 -0
  468. package/lib-amd/components/CommonComponents/CartesianChart.base.js +329 -0
  469. package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +1 -0
  470. package/lib-amd/components/CommonComponents/CartesianChart.d.ts +3 -0
  471. package/lib-amd/components/CommonComponents/CartesianChart.js +7 -0
  472. package/lib-amd/components/CommonComponents/CartesianChart.js.map +1 -0
  473. package/lib-amd/components/CommonComponents/CartesianChart.styles.d.ts +2 -0
  474. package/lib-amd/components/CommonComponents/CartesianChart.styles.js +166 -0
  475. package/lib-amd/components/CommonComponents/CartesianChart.styles.js.map +1 -0
  476. package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +428 -0
  477. package/lib-amd/components/CommonComponents/CartesianChart.types.js +5 -0
  478. package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +1 -0
  479. package/lib-amd/components/CommonComponents/index.d.ts +2 -0
  480. package/lib-amd/components/CommonComponents/index.js +7 -0
  481. package/lib-amd/components/CommonComponents/index.js.map +1 -0
  482. package/lib-amd/components/DonutChart/Arc/Arc.d.ts +21 -0
  483. package/lib-amd/components/DonutChart/Arc/Arc.js +85 -0
  484. package/lib-amd/components/DonutChart/Arc/Arc.js.map +1 -0
  485. package/lib-amd/components/DonutChart/Arc/Arc.styles.d.ts +2 -0
  486. package/lib-amd/components/DonutChart/Arc/Arc.styles.js +33 -0
  487. package/lib-amd/components/DonutChart/Arc/Arc.styles.js.map +1 -0
  488. package/lib-amd/components/DonutChart/Arc/Arc.types.d.ts +124 -0
  489. package/lib-amd/components/DonutChart/Arc/Arc.types.js +5 -0
  490. package/lib-amd/components/DonutChart/Arc/Arc.types.js.map +1 -0
  491. package/lib-amd/components/DonutChart/Arc/index.d.ts +2 -0
  492. package/lib-amd/components/DonutChart/Arc/index.js +7 -0
  493. package/lib-amd/components/DonutChart/Arc/index.js.map +1 -0
  494. package/lib-amd/components/DonutChart/DonutChart.base.d.ts +50 -0
  495. package/lib-amd/components/DonutChart/DonutChart.base.js +208 -0
  496. package/lib-amd/components/DonutChart/DonutChart.base.js.map +1 -0
  497. package/lib-amd/components/DonutChart/DonutChart.d.ts +3 -0
  498. package/lib-amd/components/DonutChart/DonutChart.js +8 -0
  499. package/lib-amd/components/DonutChart/DonutChart.js.map +1 -0
  500. package/lib-amd/components/DonutChart/DonutChart.styles.d.ts +2 -0
  501. package/lib-amd/components/DonutChart/DonutChart.styles.js +36 -0
  502. package/lib-amd/components/DonutChart/DonutChart.styles.js.map +1 -0
  503. package/lib-amd/components/DonutChart/DonutChart.types.d.ts +63 -0
  504. package/lib-amd/components/DonutChart/DonutChart.types.js +5 -0
  505. package/lib-amd/components/DonutChart/DonutChart.types.js.map +1 -0
  506. package/lib-amd/components/DonutChart/Pie/Pie.d.ts +15 -0
  507. package/lib-amd/components/DonutChart/Pie/Pie.js +69 -0
  508. package/lib-amd/components/DonutChart/Pie/Pie.js.map +1 -0
  509. package/lib-amd/components/DonutChart/Pie/Pie.styles.d.ts +2 -0
  510. package/lib-amd/components/DonutChart/Pie/Pie.styles.js +24 -0
  511. package/lib-amd/components/DonutChart/Pie/Pie.styles.js.map +1 -0
  512. package/lib-amd/components/DonutChart/Pie/Pie.types.d.ts +96 -0
  513. package/lib-amd/components/DonutChart/Pie/Pie.types.js +5 -0
  514. package/lib-amd/components/DonutChart/Pie/Pie.types.js.map +1 -0
  515. package/lib-amd/components/DonutChart/Pie/index.d.ts +2 -0
  516. package/lib-amd/components/DonutChart/Pie/index.js +7 -0
  517. package/lib-amd/components/DonutChart/Pie/index.js.map +1 -0
  518. package/lib-amd/components/DonutChart/index.d.ts +3 -0
  519. package/lib-amd/components/DonutChart/index.js +8 -0
  520. package/lib-amd/components/DonutChart/index.js.map +1 -0
  521. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +62 -0
  522. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +375 -0
  523. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -0
  524. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +3 -0
  525. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +8 -0
  526. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -0
  527. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +2 -0
  528. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +21 -0
  529. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +1 -0
  530. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +83 -0
  531. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +5 -0
  532. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -0
  533. package/lib-amd/components/GroupedVerticalBarChart/index.d.ts +2 -0
  534. package/lib-amd/components/GroupedVerticalBarChart/index.js +7 -0
  535. package/lib-amd/components/GroupedVerticalBarChart/index.js.map +1 -0
  536. package/lib-amd/components/HeatMapChart/HeatMapChart.base.d.ts +147 -0
  537. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js +492 -0
  538. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js.map +1 -0
  539. package/lib-amd/components/HeatMapChart/HeatMapChart.d.ts +3 -0
  540. package/lib-amd/components/HeatMapChart/HeatMapChart.js +7 -0
  541. package/lib-amd/components/HeatMapChart/HeatMapChart.js.map +1 -0
  542. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.d.ts +2 -0
  543. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js +29 -0
  544. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js.map +1 -0
  545. package/lib-amd/components/HeatMapChart/HeatMapChart.types.d.ts +110 -0
  546. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js +5 -0
  547. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js.map +1 -0
  548. package/lib-amd/components/HeatMapChart/index.d.ts +2 -0
  549. package/lib-amd/components/HeatMapChart/index.js +7 -0
  550. package/lib-amd/components/HeatMapChart/index.js.map +1 -0
  551. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +36 -0
  552. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js +233 -0
  553. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -0
  554. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.d.ts +3 -0
  555. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js +8 -0
  556. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js.map +1 -0
  557. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +2 -0
  558. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js +72 -0
  559. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +1 -0
  560. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +172 -0
  561. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js +11 -0
  562. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -0
  563. package/lib-amd/components/HorizontalBarChart/index.d.ts +3 -0
  564. package/lib-amd/components/HorizontalBarChart/index.js +8 -0
  565. package/lib-amd/components/HorizontalBarChart/index.js.map +1 -0
  566. package/lib-amd/components/Legends/Legends.base.d.ts +44 -0
  567. package/lib-amd/components/Legends/Legends.base.js +290 -0
  568. package/lib-amd/components/Legends/Legends.base.js.map +1 -0
  569. package/lib-amd/components/Legends/Legends.d.ts +3 -0
  570. package/lib-amd/components/Legends/Legends.js +7 -0
  571. package/lib-amd/components/Legends/Legends.js.map +1 -0
  572. package/lib-amd/components/Legends/Legends.styles.d.ts +2 -0
  573. package/lib-amd/components/Legends/Legends.styles.js +107 -0
  574. package/lib-amd/components/Legends/Legends.styles.js.map +1 -0
  575. package/lib-amd/components/Legends/Legends.types.d.ts +169 -0
  576. package/lib-amd/components/Legends/Legends.types.js +5 -0
  577. package/lib-amd/components/Legends/Legends.types.js.map +1 -0
  578. package/lib-amd/components/Legends/index.d.ts +3 -0
  579. package/lib-amd/components/Legends/index.js +8 -0
  580. package/lib-amd/components/Legends/index.js.map +1 -0
  581. package/lib-amd/components/Legends/shape.d.ts +9 -0
  582. package/lib-amd/components/Legends/shape.js +27 -0
  583. package/lib-amd/components/Legends/shape.js.map +1 -0
  584. package/lib-amd/components/LineChart/LineChart.base.d.ts +84 -0
  585. package/lib-amd/components/LineChart/LineChart.base.js +809 -0
  586. package/lib-amd/components/LineChart/LineChart.base.js.map +1 -0
  587. package/lib-amd/components/LineChart/LineChart.d.ts +3 -0
  588. package/lib-amd/components/LineChart/LineChart.js +8 -0
  589. package/lib-amd/components/LineChart/LineChart.js.map +1 -0
  590. package/lib-amd/components/LineChart/LineChart.styles.d.ts +2 -0
  591. package/lib-amd/components/LineChart/LineChart.styles.js +12 -0
  592. package/lib-amd/components/LineChart/LineChart.styles.js.map +1 -0
  593. package/lib-amd/components/LineChart/LineChart.types.d.ts +72 -0
  594. package/lib-amd/components/LineChart/LineChart.types.js +5 -0
  595. package/lib-amd/components/LineChart/LineChart.types.js.map +1 -0
  596. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.d.ts +10 -0
  597. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js +95 -0
  598. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js.map +1 -0
  599. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.d.ts +22 -0
  600. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js +40 -0
  601. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js.map +1 -0
  602. package/lib-amd/components/LineChart/eventAnnotation/Textbox.d.ts +13 -0
  603. package/lib-amd/components/LineChart/eventAnnotation/Textbox.js +40 -0
  604. package/lib-amd/components/LineChart/eventAnnotation/Textbox.js.map +1 -0
  605. package/lib-amd/components/LineChart/index.d.ts +3 -0
  606. package/lib-amd/components/LineChart/index.js +8 -0
  607. package/lib-amd/components/LineChart/index.js.map +1 -0
  608. package/lib-amd/components/PieChart/Arc/Arc.d.ts +12 -0
  609. package/lib-amd/components/PieChart/Arc/Arc.js +56 -0
  610. package/lib-amd/components/PieChart/Arc/Arc.js.map +1 -0
  611. package/lib-amd/components/PieChart/Arc/Arc.styles.d.ts +2 -0
  612. package/lib-amd/components/PieChart/Arc/Arc.styles.js +13 -0
  613. package/lib-amd/components/PieChart/Arc/Arc.styles.js.map +1 -0
  614. package/lib-amd/components/PieChart/Arc/Arc.types.d.ts +60 -0
  615. package/lib-amd/components/PieChart/Arc/Arc.types.js +5 -0
  616. package/lib-amd/components/PieChart/Arc/Arc.types.js.map +1 -0
  617. package/lib-amd/components/PieChart/Arc/index.d.ts +2 -0
  618. package/lib-amd/components/PieChart/Arc/index.js +7 -0
  619. package/lib-amd/components/PieChart/Arc/index.js.map +1 -0
  620. package/lib-amd/components/PieChart/Pie/Pie.d.ts +10 -0
  621. package/lib-amd/components/PieChart/Pie/Pie.js +35 -0
  622. package/lib-amd/components/PieChart/Pie/Pie.js.map +1 -0
  623. package/lib-amd/components/PieChart/Pie/Pie.styles.d.ts +2 -0
  624. package/lib-amd/components/PieChart/Pie/Pie.styles.js +12 -0
  625. package/lib-amd/components/PieChart/Pie/Pie.styles.js.map +1 -0
  626. package/lib-amd/components/PieChart/Pie/Pie.types.d.ts +46 -0
  627. package/lib-amd/components/PieChart/Pie/Pie.types.js +5 -0
  628. package/lib-amd/components/PieChart/Pie/Pie.types.js.map +1 -0
  629. package/lib-amd/components/PieChart/Pie/index.d.ts +2 -0
  630. package/lib-amd/components/PieChart/Pie/index.js +7 -0
  631. package/lib-amd/components/PieChart/Pie/index.js.map +1 -0
  632. package/lib-amd/components/PieChart/PieChart.base.d.ts +7 -0
  633. package/lib-amd/components/PieChart/PieChart.base.js +35 -0
  634. package/lib-amd/components/PieChart/PieChart.base.js.map +1 -0
  635. package/lib-amd/components/PieChart/PieChart.d.ts +3 -0
  636. package/lib-amd/components/PieChart/PieChart.js +8 -0
  637. package/lib-amd/components/PieChart/PieChart.js.map +1 -0
  638. package/lib-amd/components/PieChart/PieChart.styles.d.ts +2 -0
  639. package/lib-amd/components/PieChart/PieChart.styles.js +34 -0
  640. package/lib-amd/components/PieChart/PieChart.styles.js.map +1 -0
  641. package/lib-amd/components/PieChart/PieChart.types.d.ts +63 -0
  642. package/lib-amd/components/PieChart/PieChart.types.js +5 -0
  643. package/lib-amd/components/PieChart/PieChart.types.js.map +1 -0
  644. package/lib-amd/components/PieChart/index.d.ts +2 -0
  645. package/lib-amd/components/PieChart/index.js +7 -0
  646. package/lib-amd/components/PieChart/index.js.map +1 -0
  647. package/lib-amd/components/SankeyChart/SankeyChart.base.d.ts +95 -0
  648. package/lib-amd/components/SankeyChart/SankeyChart.base.js +669 -0
  649. package/lib-amd/components/SankeyChart/SankeyChart.base.js.map +1 -0
  650. package/lib-amd/components/SankeyChart/SankeyChart.d.ts +3 -0
  651. package/lib-amd/components/SankeyChart/SankeyChart.js +8 -0
  652. package/lib-amd/components/SankeyChart/SankeyChart.js.map +1 -0
  653. package/lib-amd/components/SankeyChart/SankeyChart.styles.d.ts +2 -0
  654. package/lib-amd/components/SankeyChart/SankeyChart.styles.js +62 -0
  655. package/lib-amd/components/SankeyChart/SankeyChart.styles.js.map +1 -0
  656. package/lib-amd/components/SankeyChart/SankeyChart.types.d.ts +83 -0
  657. package/lib-amd/components/SankeyChart/SankeyChart.types.js +5 -0
  658. package/lib-amd/components/SankeyChart/SankeyChart.types.js.map +1 -0
  659. package/lib-amd/components/SankeyChart/index.d.ts +2 -0
  660. package/lib-amd/components/SankeyChart/index.js +7 -0
  661. package/lib-amd/components/SankeyChart/index.js.map +1 -0
  662. package/lib-amd/components/Sparkline/Sparkline.base.d.ts +20 -0
  663. package/lib-amd/components/Sparkline/Sparkline.base.js +74 -0
  664. package/lib-amd/components/Sparkline/Sparkline.base.js.map +1 -0
  665. package/lib-amd/components/Sparkline/Sparkline.d.ts +3 -0
  666. package/lib-amd/components/Sparkline/Sparkline.js +8 -0
  667. package/lib-amd/components/Sparkline/Sparkline.js.map +1 -0
  668. package/lib-amd/components/Sparkline/Sparkline.styles.d.ts +2 -0
  669. package/lib-amd/components/Sparkline/Sparkline.styles.js +15 -0
  670. package/lib-amd/components/Sparkline/Sparkline.styles.js.map +1 -0
  671. package/lib-amd/components/Sparkline/Sparkline.types.d.ts +51 -0
  672. package/lib-amd/components/Sparkline/Sparkline.types.js +5 -0
  673. package/lib-amd/components/Sparkline/Sparkline.types.js.map +1 -0
  674. package/lib-amd/components/Sparkline/index.d.ts +2 -0
  675. package/lib-amd/components/Sparkline/index.js +7 -0
  676. package/lib-amd/components/Sparkline/index.js.map +1 -0
  677. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.d.ts +56 -0
  678. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js +351 -0
  679. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -0
  680. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.d.ts +3 -0
  681. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js +8 -0
  682. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js.map +1 -0
  683. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +2 -0
  684. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js +93 -0
  685. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js.map +1 -0
  686. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.d.ts +198 -0
  687. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js +11 -0
  688. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -0
  689. package/lib-amd/components/StackedBarChart/StackedBarChart.base.d.ts +51 -0
  690. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js +308 -0
  691. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js.map +1 -0
  692. package/lib-amd/components/StackedBarChart/StackedBarChart.d.ts +3 -0
  693. package/lib-amd/components/StackedBarChart/StackedBarChart.js +8 -0
  694. package/lib-amd/components/StackedBarChart/StackedBarChart.js.map +1 -0
  695. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.d.ts +2 -0
  696. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js +108 -0
  697. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js.map +1 -0
  698. package/lib-amd/components/StackedBarChart/StackedBarChart.types.d.ts +210 -0
  699. package/lib-amd/components/StackedBarChart/StackedBarChart.types.js +5 -0
  700. package/lib-amd/components/StackedBarChart/StackedBarChart.types.js.map +1 -0
  701. package/lib-amd/components/StackedBarChart/index.d.ts +5 -0
  702. package/lib-amd/components/StackedBarChart/index.js +10 -0
  703. package/lib-amd/components/StackedBarChart/index.js.map +1 -0
  704. package/lib-amd/components/TreeChart/TreeChart.base.d.ts +18 -0
  705. package/lib-amd/components/TreeChart/TreeChart.base.js +314 -0
  706. package/lib-amd/components/TreeChart/TreeChart.base.js.map +1 -0
  707. package/lib-amd/components/TreeChart/TreeChart.d.ts +3 -0
  708. package/lib-amd/components/TreeChart/TreeChart.js +7 -0
  709. package/lib-amd/components/TreeChart/TreeChart.js.map +1 -0
  710. package/lib-amd/components/TreeChart/TreeChart.styles.d.ts +2 -0
  711. package/lib-amd/components/TreeChart/TreeChart.styles.js +34 -0
  712. package/lib-amd/components/TreeChart/TreeChart.styles.js.map +1 -0
  713. package/lib-amd/components/TreeChart/TreeChart.types.d.ts +197 -0
  714. package/lib-amd/components/TreeChart/TreeChart.types.js +28 -0
  715. package/lib-amd/components/TreeChart/TreeChart.types.js.map +1 -0
  716. package/lib-amd/components/TreeChart/index.d.ts +2 -0
  717. package/lib-amd/components/TreeChart/index.js +7 -0
  718. package/lib-amd/components/TreeChart/index.js.map +1 -0
  719. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.d.ts +74 -0
  720. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +529 -0
  721. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -0
  722. package/lib-amd/components/VerticalBarChart/VerticalBarChart.d.ts +3 -0
  723. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js +8 -0
  724. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js.map +1 -0
  725. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.d.ts +2 -0
  726. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js +32 -0
  727. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js.map +1 -0
  728. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.d.ts +114 -0
  729. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js +5 -0
  730. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -0
  731. package/lib-amd/components/VerticalBarChart/index.d.ts +2 -0
  732. package/lib-amd/components/VerticalBarChart/index.js +7 -0
  733. package/lib-amd/components/VerticalBarChart/index.js.map +1 -0
  734. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +85 -0
  735. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +659 -0
  736. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -0
  737. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +3 -0
  738. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js +8 -0
  739. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -0
  740. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +2 -0
  741. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +22 -0
  742. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +1 -0
  743. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +142 -0
  744. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +5 -0
  745. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -0
  746. package/lib-amd/components/VerticalStackedBarChart/index.d.ts +2 -0
  747. package/lib-amd/components/VerticalStackedBarChart/index.js +7 -0
  748. package/lib-amd/components/VerticalStackedBarChart/index.js.map +1 -0
  749. package/lib-amd/index.d.ts +19 -0
  750. package/lib-amd/index.js +23 -0
  751. package/lib-amd/index.js.map +1 -0
  752. package/lib-amd/types/IDataPoint.d.ts +545 -0
  753. package/lib-amd/types/IDataPoint.js +5 -0
  754. package/lib-amd/types/IDataPoint.js.map +1 -0
  755. package/lib-amd/types/IEventAnnotation.d.ts +6 -0
  756. package/lib-amd/types/IEventAnnotation.js +5 -0
  757. package/lib-amd/types/IEventAnnotation.js.map +1 -0
  758. package/lib-amd/types/ILegendDataItem.d.ts +10 -0
  759. package/lib-amd/types/ILegendDataItem.js +5 -0
  760. package/lib-amd/types/ILegendDataItem.js.map +1 -0
  761. package/lib-amd/types/index.d.ts +2 -0
  762. package/lib-amd/types/index.js +7 -0
  763. package/lib-amd/types/index.js.map +1 -0
  764. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +6 -0
  765. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js +39 -0
  766. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js.map +1 -0
  767. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.d.ts +3 -0
  768. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js +8 -0
  769. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js.map +1 -0
  770. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +2 -0
  771. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js +87 -0
  772. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +1 -0
  773. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +105 -0
  774. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js +5 -0
  775. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js.map +1 -0
  776. package/lib-amd/utilities/ChartHoverCard/index.d.ts +3 -0
  777. package/lib-amd/utilities/ChartHoverCard/index.js +8 -0
  778. package/lib-amd/utilities/ChartHoverCard/index.js.map +1 -0
  779. package/lib-amd/utilities/FocusableTooltipText.d.ts +27 -0
  780. package/lib-amd/utilities/FocusableTooltipText.js +54 -0
  781. package/lib-amd/utilities/FocusableTooltipText.js.map +1 -0
  782. package/lib-amd/utilities/colors.d.ts +51 -0
  783. package/lib-amd/utilities/colors.js +139 -0
  784. package/lib-amd/utilities/colors.js.map +1 -0
  785. package/lib-amd/utilities/index.d.ts +3 -0
  786. package/lib-amd/utilities/index.js +8 -0
  787. package/lib-amd/utilities/index.js.map +1 -0
  788. package/lib-amd/utilities/utilities.d.ts +377 -0
  789. package/lib-amd/utilities/utilities.js +888 -0
  790. package/lib-amd/utilities/utilities.js.map +1 -0
  791. package/lib-amd/version.d.ts +1 -0
  792. package/lib-amd/version.js +6 -0
  793. package/lib-amd/version.js.map +1 -0
  794. package/lib-commonjs/version.js +1 -1
  795. package/lib-commonjs/version.js.map +1 -1
  796. package/package.json +5 -4
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CartesianChart.base.js","sourceRoot":"../src/","sources":["components/CommonComponents/CartesianChart.base.tsx"],"names":[],"mappings":";;;;IAiCA,IAAM,aAAa,GAAG,8BAAkB,EAAoD,CAAC;IAoB7F;;;;;OAKG;IACH;QAAwC,8CAAmE;QAezG,4BAAY,KAAmC;;YAA/C,YACE,kBAAM,KAAK,CAAC,SAsBb;YAlCO,8BAAwB,GAAW,EAAE,CAAC;YAMtC,YAAM,GAAY,kBAAM,EAAE,CAAC;YAgSnC,iGAAiG;YACjG,8DAA8D;YACtD,wBAAkB,GAAG,UAAC,YAAiB;gBAC7C,IAAM,0BAA0B,GAAY,KAAI,CAAC,2BAA2B,CAAC,YAAY,CAAC,WAAW,CAAC,CAAC;gBACvG,OAAO,CACL,6BAAK,SAAS,EAAE,KAAI,CAAC,WAAW,CAAC,kBAAkB;oBACjD,6BACE,SAAS,EAAE,KAAI,CAAC,WAAW,CAAC,wBAAwB,EACpD,KAAK,EAAE,0BAA0B,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE;wBAEjE,8CACE,SAAS,EAAE,KAAI,CAAC,WAAW,CAAC,eAAe,IACvC,+BAAuB,CAAC,YAAa,CAAC,6BAA6B,EAAE,MAAM,EAAE,KAAK,CAAC,GAEtF,6BAAqB,CAAC,YAAa,CAAC,WAAW,EAAE,KAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CACjE,CACF;oBACN,6BACE,SAAS,EAAE,KAAI,CAAC,WAAW,CAAC,oBAAoB,EAChD,KAAK,EAAE,0BAA0B,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE;wBAE3D,Y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E,CAAC,CAAC;qBACJ;iBACF;YACH,CAAC,CAAC,CAAC;QACL,CAAC;QAcH,yBAAC;IAAD,CAAC,AA7eD,CAAwC,KAAK,CAAC,SAAS,GA6etD;IA7eY,gDAAkB","sourcesContent":["import * as React from 'react';\nimport { IProcessedStyleSet } from '@fluentui/react/lib/Styling';\nimport { classNamesFunction, getId, getRTL } from '@fluentui/react/lib/Utilities';\nimport { Callout } from '@fluentui/react/lib/Callout';\nimport { FocusZone, FocusZoneDirection } from '@fluentui/react-focus';\nimport {\n ICartesianChartStyles,\n ICartesianChartStyleProps,\n IModifiedCartesianChartProps,\n IYValueHover,\n} from '../../index';\nimport {\n ChartHoverCard,\n convertToLocaleString,\n createNumericXAxis,\n createStringXAxis,\n IAxisData,\n getAccessibleDataObject,\n getDomainNRangeValues,\n createDateXAxis,\n createYAxis,\n createStringYAxis,\n IMargins,\n getMinMaxOfYAxis,\n XAxisTypes,\n YAxisType,\n createWrapOfXLabels,\n rotateXAxisLabels,\n Points,\n pointTypes,\n} from '../../utilities/index';\nimport { LegendShape, Shape } from '../Legends/index';\n\nconst getClassNames = classNamesFunction<ICartesianChartStyleProps, ICartesianChartStyles>();\n\nexport interface ICartesianChartState {\n containerWidth: number;\n containerHeight: number;\n _width: number;\n _height: number;\n /* To update this values using setState in render method.\n * To avoid multiple re renders, Only first time setting the value.\n */\n isRemoveValCalculated?: boolean;\n /* Used for when WrapXAxisLabels props appeared.\n * To display the total word (space separated words), Need to have more space than usual.\n * This height will get total height need to disaply total word.\n * These value need to be removed from actual svg height/graph height.\n * Defalut value is 0. And this values calculted when 'wrapXAxisLables' or 'showXAxisLablesTooltip' is true.\n */\n _removalValueForTextTuncate?: number;\n}\n\n/**\n * Cartesian chart used for\n * 1.draw X and Y axis of the chart\n * 2.Callout\n * 3.Fit parent Continer\n */\nexport class CartesianChartBase extends React.Component<IModifiedCartesianChartProps, ICartesianChartState> {\n private _classNames: IProcessedStyleSet<ICartesianChartStyles>;\n private chartContainer: HTMLDivElement;\n private legendContainer: HTMLDivElement;\n private minLegendContainerHeight: number = 32;\n private xAxisElement: SVGElement | null;\n private yAxisElement: SVGElement | null;\n private margins: IMargins;\n private idForGraph: string;\n private _reqID: number;\n private _isRtl: boolean = getRTL();\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private _xScale: any;\n\n constructor(props: IModifiedCartesianChartProps) {\n super(props);\n this.state = {\n containerHeight: 0,\n containerWidth: 0,\n _width: this.props.width || 600,\n _height: this.props.height || 350,\n _removalValueForTextTuncate: 0,\n isRemoveValCalculated: true,\n };\n this.idForGraph = getId('chart_');\n /**\n * In RTL mode, Only graph will be rendered left/right. We need to provide left and right margins manually.\n * So that, in RTL, left margins becomes right margins and viceversa.\n * As graph needs to be drawn perfecty, these values consider as default values.\n * Same margins using for all other cartesian charts. Can be accessible through 'getMargins' call back method.\n */\n this.margins = {\n top: this.props.margins?.top ?? 20,\n bottom: this.props.margins?.bottom ?? 35,\n right: this._isRtl ? this.props.margins?.left ?? 40 : this.props.margins?.right ?? 20,\n left: this._isRtl ? this.props.margins?.right ?? 20 : this.props.margins?.left ?? 40,\n };\n }\n\n public componentDidMount(): void {\n this._fitParentContainer();\n }\n\n public componentWillUnmount(): void {\n cancelAnimationFrame(this._reqID);\n }\n\n public componentDidUpdate(prevProps: IModifiedCartesianChartProps): void {\n if (prevProps.height !== this.props.height || prevProps.width !== this.props.width) {\n this._fitParentContainer();\n }\n\n if (\n !this.props.wrapXAxisLables &&\n this.props.rotateXAxisLables &&\n this.props.xAxisType! === XAxisTypes.StringAxis\n ) {\n const rotateLabelProps = {\n node: this.xAxisElement,\n xAxis: this._xScale,\n };\n const rotatedHeight = rotateXAxisLabels(rotateLabelProps);\n if (\n this.state.isRemoveValCalculated &&\n this.state._removalValueForTextTuncate !== rotatedHeight! + this.margins.bottom! &&\n rotatedHeight! > 0\n ) {\n this.setState({\n _removalValueForTextTuncate: rotatedHeight! + this.margins.bottom!,\n isRemoveValCalculated: false,\n });\n }\n }\n }\n\n public render(): JSX.Element {\n const {\n calloutProps,\n points,\n chartType,\n chartHoverProps,\n svgFocusZoneProps,\n svgProps,\n culture,\n dateLocalizeOptions,\n timeFormatLocale,\n customDateTimeFormatter,\n } = this.props;\n if (this.props.parentRef) {\n this._fitParentContainer();\n }\n // Callback for margins to the chart\n this.props.getmargins && this.props.getmargins(this.margins);\n\n const XAxisParams = {\n domainNRangeValues: getDomainNRangeValues(\n points,\n this.props.getDomainMargins ? this.props.getDomainMargins(this.state.containerWidth) : this.margins,\n this.state.containerWidth,\n chartType,\n this._isRtl,\n this.props.xAxisType,\n this.props.barwidth!,\n this.props.tickValues!,\n ),\n xAxisElement: this.xAxisElement!,\n showRoundOffXTickValues: true,\n xAxisCount: this.props.xAxisTickCount,\n xAxistickSize: this.props.xAxistickSize,\n tickPadding: this.props.tickPadding || this.props.showXAxisLablesTooltip ? 5 : 10,\n xAxisPadding: this.props.xAxisPadding,\n xAxisInnerPadding: this.props.xAxisInnerPadding,\n xAxisOuterPadding: this.props.xAxisOuterPadding,\n };\n\n const YAxisParams = {\n margins: this.margins,\n containerWidth: this.state.containerWidth,\n containerHeight: this.state.containerHeight - this.state._removalValueForTextTuncate!,\n yAxisElement: this.yAxisElement,\n yAxisTickFormat: this.props.yAxisTickFormat!,\n yAxisTickCount: this.props.yAxisTickCount!,\n yMinValue: this.props.yMinValue || 0,\n yMaxValue: this.props.yMaxValue || 0,\n tickPadding: 10,\n maxOfYVal: this.props.maxOfYVal,\n yMinMaxValues: getMinMaxOfYAxis(points, chartType),\n yAxisPadding: this.props.yAxisPadding,\n };\n\n /**\n * These scales used for 2 purposes.\n * 1. To create x and y axis\n * 2. To draw the graph.\n * For area/line chart using same scales. For other charts, creating their own scales to draw the graph.\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n let xScale: any;\n switch (this.props.xAxisType!) {\n case XAxisTypes.NumericAxis:\n xScale = createNumericXAxis(XAxisParams, culture);\n break;\n case XAxisTypes.DateAxis:\n xScale = createDateXAxis(\n XAxisParams,\n this.props.tickParams!,\n culture,\n dateLocalizeOptions,\n timeFormatLocale,\n customDateTimeFormatter,\n );\n break;\n case XAxisTypes.StringAxis:\n xScale = createStringXAxis(XAxisParams, this.props.tickParams!, this.props.datasetForXAxisDomain!, culture);\n break;\n default:\n xScale = createNumericXAxis(XAxisParams, culture);\n }\n this._xScale = xScale;\n\n /*\n * To enable wrapping of x axis tick values or to display complete x axis tick values,\n * we need to calculate how much space it needed to render the text.\n * No need to re-calculate every time the chart renders and same time need to get an update. So using setState.\n * Required space will be calculated first time chart rendering and if any width/height of chart updated.\n * */\n if (this.props.wrapXAxisLables || this.props.showXAxisLablesTooltip) {\n const wrapLabelProps = {\n node: this.xAxisElement,\n xAxis: xScale,\n showXAxisLablesTooltip: this.props.showXAxisLablesTooltip || false,\n noOfCharsToTruncate: this.props.noOfCharsToTruncate || 4,\n };\n const temp = xScale && (createWrapOfXLabels(wrapLabelProps) as number);\n // this value need to be updated for draw graph updated. So instead of using private value, using set state.\n if (this.state.isRemoveValCalculated && this.state._removalValueForTextTuncate !== temp) {\n this.setState({ _removalValueForTextTuncate: temp, isRemoveValCalculated: false });\n }\n }\n\n /**\n * These scales used for 2 purposes.\n * 1. To create x and y axis\n * 2. To draw the graph.\n * For area/line chart using same scales. For other charts, creating their own scales to draw the graph.\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n let yScale: any;\n const axisData: IAxisData = { yAxisDomainValues: [] };\n if (this.props.yAxisType && this.props.yAxisType === YAxisType.StringAxis) {\n yScale = createStringYAxis(YAxisParams, this.props.stringDatasetForYAxisDomain!, this._isRtl);\n } else {\n yScale = createYAxis(YAxisParams, this._isRtl, axisData);\n }\n this.props.getAxisData && this.props.getAxisData(axisData);\n // Callback function for chart, returns axis\n this._getData(xScale, yScale);\n\n this._classNames = getClassNames(this.props.styles!, {\n theme: this.props.theme!,\n width: this.state._width,\n height: this.state._height,\n className: this.props.className,\n isRtl: this._isRtl,\n });\n\n const svgDimensions = {\n width: this.state.containerWidth,\n height: this.state.containerHeight,\n };\n\n const children = this.props.children({\n ...this.state,\n xScale,\n yScale,\n });\n\n let focusDirection;\n if (this.props.focusZoneDirection === FocusZoneDirection.vertical) {\n focusDirection = this.props.focusZoneDirection;\n } else if (this.props.focusZoneDirection) {\n focusDirection = this.props.focusZoneDirection;\n } else {\n focusDirection = FocusZoneDirection.horizontal;\n }\n return (\n <div\n id={this.idForGraph}\n className={this._classNames.root}\n role={'presentation'}\n ref={(rootElem: HTMLDivElement) => (this.chartContainer = rootElem)}\n onMouseLeave={this.props.onChartMouseLeave}\n >\n <FocusZone direction={focusDirection} {...svgFocusZoneProps}>\n <svg\n width={svgDimensions.width}\n height={svgDimensions.height}\n aria-label={this.props.chartTitle}\n style={{ display: 'block' }}\n {...svgProps}\n >\n <g\n ref={(e: SVGElement | null) => {\n this.xAxisElement = e;\n }}\n id={`xAxisGElement${this.idForGraph}`}\n // To add wrap of x axis lables feature, need to remove word height from svg height.\n transform={`translate(0, ${\n svgDimensions.height - this.margins.bottom! - this.state._removalValueForTextTuncate!\n })`}\n className={this._classNames.xAxis}\n />\n <g\n ref={(e: SVGElement | null) => {\n this.yAxisElement = e;\n }}\n id={`yAxisGElement${this.idForGraph}`}\n transform={`translate(${\n this._isRtl ? svgDimensions.width - this.margins.right! : this.margins.left!\n }, 0)`}\n className={this._classNames.yAxis}\n />\n {children}\n </svg>\n </FocusZone>\n {!this.props.hideLegend && (\n <div ref={(e: HTMLDivElement) => (this.legendContainer = e)} className={this._classNames.legendContainer}>\n {this.props.legendBars}\n </div>\n )}\n {/** The callout is used for narration, so keep it mounted on the DOM */}\n <Callout\n hidden={!(!this.props.hideTooltip && calloutProps!.isCalloutVisible)}\n /** Keep the callout updated with details of focused/hovered chart element */\n shouldUpdateWhenHidden={true}\n {...calloutProps}\n >\n {/** Given custom callout, then it will render */}\n {this.props.customizedCallout && this.props.customizedCallout}\n {/** single x point its corresponding y points of all the bars/lines in chart will render in callout */}\n {!this.props.customizedCallout && this.props.isCalloutForStack && this._multiValueCallout(calloutProps)}\n {/** single x point its corresponding y point of single line/bar in the chart will render in callout */}\n {!this.props.customizedCallout && !this.props.isCalloutForStack && (\n <ChartHoverCard\n XValue={calloutProps.XValue}\n Legend={calloutProps.legend!}\n YValue={calloutProps.YValue!}\n color={calloutProps.color!}\n culture={this.props.culture}\n {...chartHoverProps}\n />\n )}\n </Callout>\n </div>\n );\n }\n\n // TO DO: Write a common functional component for Multi value callout and divide sub count method\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private _multiValueCallout = (calloutProps: any) => {\n const yValueHoverSubCountsExists: boolean = this._yValueHoverSubCountsExists(calloutProps.YValueHover);\n return (\n <div className={this._classNames.calloutContentRoot}>\n <div\n className={this._classNames.calloutDateTimeContainer}\n style={yValueHoverSubCountsExists ? { marginBottom: '11px' } : {}}\n >\n <div\n className={this._classNames.calloutContentX}\n {...getAccessibleDataObject(calloutProps!.xAxisCalloutAccessibilityData, 'text', false)}\n >\n {convertToLocaleString(calloutProps!.hoverXValue, this.props.culture)}\n </div>\n </div>\n <div\n className={this._classNames.calloutInfoContainer}\n style={yValueHoverSubCountsExists ? { display: 'flex' } : {}}\n >\n {calloutProps!.YValueHover &&\n calloutProps!.YValueHover.map((yValue: IYValueHover, index: number, yValues: IYValueHover[]) => {\n const isLast: boolean = index + 1 === yValues.length;\n const { shouldDrawBorderBottom = false } = yValue;\n return (\n <div\n {...getAccessibleDataObject(yValue.callOutAccessibilityData, 'text', false)}\n key={`callout-content-${index}`}\n style={\n yValueHoverSubCountsExists\n ? {\n display: 'inline-block',\n ...(shouldDrawBorderBottom && {\n borderBottom: `1px solid ${this.props.theme!.semanticColors.menuDivider}`,\n paddingBottom: '10px',\n }),\n }\n : {\n ...(shouldDrawBorderBottom && {\n borderBottom: `1px solid ${this.props.theme!.semanticColors.menuDivider}`,\n paddingBottom: '10px',\n }),\n }\n }\n >\n {this._getCalloutContent(yValue, index, yValueHoverSubCountsExists, isLast)}\n </div>\n );\n })}\n {!!calloutProps.descriptionMessage && (\n <div className={this._classNames.descriptionMessage}>{calloutProps.descriptionMessage}</div>\n )}\n </div>\n </div>\n );\n };\n\n private _yValueHoverSubCountsExists(yValueHover?: IYValueHover[]) {\n if (yValueHover) {\n return yValueHover.some(\n (yValue: {\n legend?: string;\n y?: number;\n color?: string;\n yAxisCalloutData?: string | { [id: string]: number };\n }) => yValue.yAxisCalloutData && typeof yValue.yAxisCalloutData !== 'string',\n );\n }\n return false;\n }\n\n private _getCalloutContent(\n xValue: IYValueHover,\n index: number,\n yValueHoverSubCountsExists: boolean,\n isLast: boolean,\n ): React.ReactNode {\n const marginStyle: React.CSSProperties = isLast ? {} : { marginRight: '16px' };\n const toDrawShape = xValue.index !== undefined && xValue.index !== -1;\n const _classNames = getClassNames(this.props.styles!, {\n theme: this.props.theme!,\n width: this.state._width,\n height: this.state._height,\n className: this.props.className,\n isRtl: this._isRtl,\n lineColor: xValue.color,\n toDrawShape,\n });\n\n const { culture } = this.props;\n const yValue = convertToLocaleString(xValue.y, culture);\n if (!xValue.yAxisCalloutData || typeof xValue.yAxisCalloutData === 'string') {\n return (\n <div style={yValueHoverSubCountsExists ? marginStyle : {}}>\n {yValueHoverSubCountsExists && (\n <div className=\"ms-fontWeight-semibold\" style={{ fontSize: '12pt' }}>\n {xValue.legend!} ({yValue})\n </div>\n )}\n <div id={`${index}_${xValue.y}`} className={_classNames.calloutBlockContainer}>\n {toDrawShape && (\n <Shape\n svgProps={{\n className: _classNames.shapeStyles,\n }}\n pathProps={{ fill: xValue.color }}\n shape={Points[xValue.index! % Object.keys(pointTypes).length] as LegendShape}\n />\n )}\n <div>\n <div className={_classNames.calloutlegendText}> {xValue.legend}</div>\n <div className={_classNames.calloutContentY}>\n {convertToLocaleString(\n xValue.yAxisCalloutData ? xValue.yAxisCalloutData : xValue.y || xValue.data,\n culture,\n )}\n </div>\n </div>\n </div>\n </div>\n );\n } else {\n const subcounts: { [id: string]: number } = xValue.yAxisCalloutData as { [id: string]: number };\n return (\n <div style={marginStyle}>\n <div className=\"ms-fontWeight-semibold\" style={{ fontSize: '12pt' }}>\n {xValue.legend!} ({yValue})\n </div>\n {Object.keys(subcounts).map((subcountName: string) => {\n return (\n <div key={subcountName} className={_classNames.calloutBlockContainer}>\n <div className={_classNames.calloutlegendText}> {convertToLocaleString(subcountName, culture)}</div>\n <div className={_classNames.calloutContentY}>\n {convertToLocaleString(subcounts[subcountName], culture)}\n </div>\n </div>\n );\n })}\n </div>\n );\n }\n }\n\n /**\n * When screen resizes, along with screen, chart also auto adjusted.\n * This method used to adjust height and width of the charts.\n */\n private _fitParentContainer(): void {\n const { containerWidth, containerHeight } = this.state;\n this._reqID = requestAnimationFrame(() => {\n let legendContainerHeight;\n if (this.props.hideLegend) {\n // If there is no legend, need not to allocate some space from total chart space.\n legendContainerHeight = 0;\n } else {\n const legendContainerComputedStyles = this.legendContainer && getComputedStyle(this.legendContainer);\n legendContainerHeight =\n ((this.legendContainer && this.legendContainer.getBoundingClientRect().height) ||\n this.minLegendContainerHeight) +\n parseFloat((legendContainerComputedStyles && legendContainerComputedStyles.marginTop) || '0') +\n parseFloat((legendContainerComputedStyles && legendContainerComputedStyles.marginBottom) || '0');\n }\n if (this.props.parentRef || this.chartContainer) {\n const container = this.props.parentRef ? this.props.parentRef : this.chartContainer;\n const currentContainerWidth = container.getBoundingClientRect().width;\n const currentContainerHeight =\n container.getBoundingClientRect().height > legendContainerHeight\n ? container.getBoundingClientRect().height\n : 350;\n const shouldResize =\n containerWidth !== currentContainerWidth ||\n containerHeight !== currentContainerHeight - legendContainerHeight;\n if (shouldResize) {\n this.setState({\n containerWidth: currentContainerWidth,\n containerHeight: currentContainerHeight - legendContainerHeight,\n });\n }\n }\n });\n }\n\n // Call back to the chart.\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private _getData = (xScale: any, yScale: any) => {\n this.props.getGraphData &&\n this.props.getGraphData(\n xScale,\n yScale,\n this.state.containerHeight - this.state._removalValueForTextTuncate!,\n this.state.containerWidth,\n this.xAxisElement,\n );\n };\n}\n"]}
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import { IModifiedCartesianChartProps } from './CartesianChart.types';
3
+ export declare const CartesianChart: React.FunctionComponent<IModifiedCartesianChartProps>;
@@ -0,0 +1,7 @@
1
+ define(["require", "exports", "@fluentui/react/lib/Utilities", "./CartesianChart.base", "./CartesianChart.styles"], function (require, exports, Utilities_1, CartesianChart_base_1, CartesianChart_styles_1) {
2
+ "use strict";
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.CartesianChart = void 0;
5
+ exports.CartesianChart = Utilities_1.styled(CartesianChart_base_1.CartesianChartBase, CartesianChart_styles_1.getStyles);
6
+ });
7
+ //# sourceMappingURL=CartesianChart.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CartesianChart.js","sourceRoot":"../src/","sources":["components/CommonComponents/CartesianChart.tsx"],"names":[],"mappings":";;;;IAMa,QAAA,cAAc,GAA0D,kBAAM,CAIzF,wCAAkB,EAAE,iCAAS,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport { styled } from '@fluentui/react/lib/Utilities';\nimport { IModifiedCartesianChartProps, ICartesianChartStyleProps, ICartesianChartStyles } from './CartesianChart.types';\nimport { CartesianChartBase } from './CartesianChart.base';\nimport { getStyles } from './CartesianChart.styles';\n\nexport const CartesianChart: React.FunctionComponent<IModifiedCartesianChartProps> = styled<\n IModifiedCartesianChartProps,\n ICartesianChartStyleProps,\n ICartesianChartStyles\n>(CartesianChartBase, getStyles);\n"]}
@@ -0,0 +1,2 @@
1
+ import { ICartesianChartStyleProps, ICartesianChartStyles } from './CartesianChart.types';
2
+ export declare const getStyles: (props: ICartesianChartStyleProps) => ICartesianChartStyles;
@@ -0,0 +1,166 @@
1
+ define(["require", "exports", "tslib", "@fluentui/react/lib/Styling", "@fluentui/react"], function (require, exports, tslib_1, Styling_1, react_1) {
2
+ "use strict";
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.getStyles = void 0;
5
+ var isIE11Var = react_1.isIE11();
6
+ var getStyles = function (props) {
7
+ var _a, _b, _c, _d, _e, _f, _g, _h;
8
+ var className = props.className, theme = props.theme, isRtl = props.isRtl, shouldHighlight = props.shouldHighlight, href = props.href, _j = props.lineColor, lineColor = _j === void 0 ? 'transparent' : _j, toDrawShape = props.toDrawShape;
9
+ var fonts = theme.fonts;
10
+ return {
11
+ root: [
12
+ theme.fonts.medium,
13
+ {
14
+ display: 'flex',
15
+ width: '100%',
16
+ height: '100%',
17
+ flexDirection: 'column',
18
+ overflow: 'hidden',
19
+ },
20
+ className,
21
+ ],
22
+ xAxis: {
23
+ selectors: {
24
+ text: [
25
+ theme.fonts.tiny,
26
+ {
27
+ fill: theme.semanticColors.bodyText,
28
+ fontWeight: '600',
29
+ selectors: (_a = {},
30
+ _a[Styling_1.HighContrastSelectorBlack] = {
31
+ fill: 'rgb(179, 179, 179)',
32
+ },
33
+ _a),
34
+ },
35
+ ],
36
+ line: {
37
+ opacity: 0.2,
38
+ stroke: theme.semanticColors.bodyText,
39
+ width: '1px',
40
+ selectors: (_b = {},
41
+ _b[Styling_1.HighContrastSelectorBlack] = {
42
+ opacity: 0.1,
43
+ stroke: 'rgb(179, 179, 179)',
44
+ },
45
+ _b),
46
+ },
47
+ path: {
48
+ display: 'none',
49
+ },
50
+ },
51
+ },
52
+ yAxis: {
53
+ selectors: {
54
+ text: [
55
+ theme.fonts.tiny,
56
+ {
57
+ fill: theme.semanticColors.bodyText,
58
+ fontWeight: '600',
59
+ selectors: (_c = {},
60
+ _c[Styling_1.HighContrastSelectorBlack] = {
61
+ fill: 'rgb(179, 179, 179)',
62
+ },
63
+ _c),
64
+ },
65
+ ],
66
+ path: {
67
+ display: 'none',
68
+ },
69
+ line: {
70
+ opacity: 0.2,
71
+ stroke: theme.semanticColors.bodyText,
72
+ selectors: (_d = {},
73
+ _d[Styling_1.HighContrastSelectorBlack] = {
74
+ opacity: 0.1,
75
+ stroke: 'rgb(179, 179, 179)',
76
+ },
77
+ _d),
78
+ },
79
+ g: [
80
+ isRtl &&
81
+ !isIE11Var && {
82
+ textAnchor: 'end',
83
+ },
84
+ ],
85
+ },
86
+ },
87
+ opacityChangeOnHover: {
88
+ opacity: shouldHighlight ? '' : '0.1',
89
+ cursor: href ? 'pointer' : 'default',
90
+ },
91
+ legendContainer: [
92
+ {
93
+ marginTop: '8px',
94
+ marginLeft: '20px',
95
+ },
96
+ ],
97
+ calloutContentRoot: [
98
+ {
99
+ display: 'grid',
100
+ overflow: 'hidden',
101
+ padding: '11px 16px 10px 16px',
102
+ backgroundColor: theme.semanticColors.bodyBackground,
103
+ backgroundBlendMode: 'normal, luminosity',
104
+ },
105
+ ],
106
+ calloutDateTimeContainer: {
107
+ display: 'flex',
108
+ flexDirection: 'row',
109
+ justifyContent: 'space-between',
110
+ },
111
+ calloutContentX: [
112
+ tslib_1.__assign(tslib_1.__assign({}, fonts.small), { lineHeight: '16px', opacity: '0.8', color: theme.semanticColors.bodySubtext }),
113
+ ],
114
+ calloutBlockContainer: [
115
+ theme.fonts.mediumPlus,
116
+ {
117
+ marginTop: '13px',
118
+ color: theme.semanticColors.bodyText,
119
+ },
120
+ !toDrawShape && {
121
+ selectors: (_e = {},
122
+ _e[Styling_1.HighContrastSelector] = {
123
+ forcedColorAdjust: 'none',
124
+ },
125
+ _e),
126
+ borderLeft: "4px solid " + lineColor,
127
+ paddingLeft: '8px',
128
+ },
129
+ toDrawShape && {
130
+ display: 'flex',
131
+ },
132
+ ],
133
+ shapeStyles: {
134
+ marginRight: '8px',
135
+ },
136
+ calloutlegendText: tslib_1.__assign(tslib_1.__assign({}, fonts.small), { lineHeight: '16px', selectors: (_f = {},
137
+ _f[Styling_1.HighContrastSelectorBlack] = {
138
+ color: 'rgb(255, 255, 255)',
139
+ },
140
+ _f), color: theme.semanticColors.bodySubtext }),
141
+ calloutContentY: [
142
+ tslib_1.__assign(tslib_1.__assign({}, fonts.mediumPlus), { fontWeight: 'bold', lineHeight: '22px', selectors: (_g = {},
143
+ _g[Styling_1.HighContrastSelectorBlack] = {
144
+ color: 'rgb(255, 255, 255)',
145
+ },
146
+ _g) }),
147
+ ],
148
+ descriptionMessage: [
149
+ theme.fonts.small,
150
+ {
151
+ selectors: (_h = {},
152
+ _h[Styling_1.HighContrastSelectorBlack] = {
153
+ color: 'rgb(255, 255, 255)',
154
+ },
155
+ _h),
156
+ color: theme.semanticColors.bodyText,
157
+ marginTop: '10px',
158
+ paddingTop: '10px',
159
+ borderTop: "1px solid " + theme.semanticColors.menuDivider,
160
+ },
161
+ ],
162
+ };
163
+ };
164
+ exports.getStyles = getStyles;
165
+ });
166
+ //# sourceMappingURL=CartesianChart.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CartesianChart.styles.js","sourceRoot":"../src/","sources":["components/CommonComponents/CartesianChart.styles.ts"],"names":[],"mappings":";;;;IAIA,IAAM,SAAS,GAAY,cAAM,EAAE,CAAC;IAE7B,IAAM,SAAS,GAAG,UAAC,KAAgC;;QAChD,IAAA,SAAS,GAAkF,KAAK,UAAvF,EAAE,KAAK,GAA2E,KAAK,MAAhF,EAAE,KAAK,GAAoE,KAAK,MAAzE,EAAE,eAAe,GAAmD,KAAK,gBAAxD,EAAE,IAAI,GAA6C,KAAK,KAAlD,EAAE,KAA2C,KAAK,UAAvB,EAAzB,SAAS,mBAAG,aAAa,KAAA,EAAE,WAAW,GAAK,KAAK,YAAV,CAAW;QACjG,IAAA,KAAK,GAAK,KAAM,MAAX,CAAY;QACzB,OAAO;YACL,IAAI,EAAE;gBACJ,KAAK,CAAC,KAAK,CAAC,MAAM;gBAClB;oBACE,OAAO,EAAE,MAAM;oBACf,KAAK,EAAE,MAAM;oBACb,MAAM,EAAE,MAAM;oBACd,aAAa,EAAE,QAAQ;oBACvB,QAAQ,EAAE,QAAQ;iBACnB;gBACD,SAAS;aACV;YACD,KAAK,EAAE;gBACL,SAAS,EAAE;oBACT,IAAI,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E;sDAEV,KAAK,CAAC,UAAU,KACnB,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,MAAM,EAClB,SAAS;wBACP,GAAC,mCAAyB,IAAG;4BAC3B,KAAK,EAAE,oBAAoB;yBAC5B;;aAGN;YACD,kBAAkB,EAAE;gBAClB,KAAK,CAAC,KAAK,CAAC,KAAK;gBACjB;oBACE,SAAS;wBACP,GAAC,mCAAyB,IAAG;4BAC3B,KAAK,EAAE,oBAAoB;yBAC5B;2BACF;oBACD,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,QAAQ;oBACpC,SAAS,EAAE,MAAM;oBACjB,UAAU,EAAE,MAAM;oBAClB,SAAS,EAAE,eAAa,KAAK,CAAC,cAAc,CAAC,WAAa;iBAC3D;aACF;SACF,CAAC;IACJ,CAAC,CAAC;IA7KW,QAAA,SAAS,aA6KpB","sourcesContent":["import { ICartesianChartStyleProps, ICartesianChartStyles } from './CartesianChart.types';\nimport { HighContrastSelectorBlack, HighContrastSelector } from '@fluentui/react/lib/Styling';\nimport { isIE11 } from '@fluentui/react';\n\nconst isIE11Var: boolean = isIE11();\n\nexport const getStyles = (props: ICartesianChartStyleProps): ICartesianChartStyles => {\n const { className, theme, isRtl, shouldHighlight, href, lineColor = 'transparent', toDrawShape } = props;\n const { fonts } = theme!;\n return {\n root: [\n theme.fonts.medium,\n {\n display: 'flex',\n width: '100%',\n height: '100%',\n flexDirection: 'column',\n overflow: 'hidden',\n },\n className,\n ],\n xAxis: {\n selectors: {\n text: [\n theme.fonts.tiny,\n {\n fill: theme.semanticColors.bodyText,\n fontWeight: '600',\n selectors: {\n [HighContrastSelectorBlack]: {\n fill: 'rgb(179, 179, 179)',\n },\n },\n },\n ],\n line: {\n opacity: 0.2,\n stroke: theme.semanticColors.bodyText,\n width: '1px',\n selectors: {\n [HighContrastSelectorBlack]: {\n opacity: 0.1,\n stroke: 'rgb(179, 179, 179)',\n },\n },\n },\n path: {\n display: 'none',\n },\n },\n },\n yAxis: {\n selectors: {\n text: [\n theme.fonts.tiny,\n {\n fill: theme.semanticColors.bodyText,\n fontWeight: '600',\n selectors: {\n [HighContrastSelectorBlack]: {\n fill: 'rgb(179, 179, 179)',\n },\n },\n },\n ],\n path: {\n display: 'none',\n },\n line: {\n opacity: 0.2,\n stroke: theme.semanticColors.bodyText,\n selectors: {\n [HighContrastSelectorBlack]: {\n opacity: 0.1,\n stroke: 'rgb(179, 179, 179)',\n },\n },\n },\n g: [\n isRtl &&\n !isIE11Var && {\n textAnchor: 'end',\n },\n ],\n },\n },\n\n opacityChangeOnHover: {\n opacity: shouldHighlight ? '' : '0.1',\n cursor: href ? 'pointer' : 'default',\n },\n\n legendContainer: [\n {\n marginTop: '8px',\n marginLeft: '20px',\n },\n ],\n calloutContentRoot: [\n {\n display: 'grid',\n overflow: 'hidden',\n padding: '11px 16px 10px 16px',\n backgroundColor: theme.semanticColors.bodyBackground,\n backgroundBlendMode: 'normal, luminosity',\n },\n ],\n calloutDateTimeContainer: {\n display: 'flex',\n flexDirection: 'row',\n justifyContent: 'space-between',\n },\n calloutContentX: [\n {\n ...fonts.small,\n lineHeight: '16px',\n opacity: '0.8',\n color: theme.semanticColors.bodySubtext,\n },\n ],\n calloutBlockContainer: [\n theme.fonts.mediumPlus,\n {\n marginTop: '13px',\n color: theme.semanticColors.bodyText,\n },\n !toDrawShape && {\n selectors: {\n [HighContrastSelector]: {\n forcedColorAdjust: 'none',\n },\n },\n borderLeft: `4px solid ${lineColor}`,\n paddingLeft: '8px',\n },\n toDrawShape && {\n display: 'flex',\n },\n ],\n shapeStyles: {\n marginRight: '8px',\n },\n calloutlegendText: {\n ...fonts.small,\n lineHeight: '16px',\n selectors: {\n [HighContrastSelectorBlack]: {\n color: 'rgb(255, 255, 255)',\n },\n },\n color: theme.semanticColors.bodySubtext,\n },\n calloutContentY: [\n {\n ...fonts.mediumPlus,\n fontWeight: 'bold',\n lineHeight: '22px',\n selectors: {\n [HighContrastSelectorBlack]: {\n color: 'rgb(255, 255, 255)',\n },\n },\n },\n ],\n descriptionMessage: [\n theme.fonts.small,\n {\n selectors: {\n [HighContrastSelectorBlack]: {\n color: 'rgb(255, 255, 255)',\n },\n },\n color: theme.semanticColors.bodyText,\n marginTop: '10px',\n paddingTop: '10px',\n borderTop: `1px solid ${theme.semanticColors.menuDivider}`,\n },\n ],\n };\n};\n"]}