@fluentui/react-charts 1.1.0 → 9.0.0

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 (364) hide show
  1. package/CHANGELOG.md +181 -11
  2. package/LICENSE +11 -17
  3. package/README.md +174 -23
  4. package/dist/index.d.ts +2143 -0
  5. package/lib/CartesianChart.js +1 -0
  6. package/lib/CartesianChart.js.map +1 -0
  7. package/lib/DeclarativeChart.js +1 -0
  8. package/lib/DeclarativeChart.js.map +1 -0
  9. package/lib/DonutChart.js +1 -0
  10. package/lib/DonutChart.js.map +1 -0
  11. package/lib/HorizontalBarChart.js +1 -0
  12. package/lib/HorizontalBarChart.js.map +1 -0
  13. package/lib/Legends.js +1 -0
  14. package/lib/Legends.js.map +1 -0
  15. package/lib/LineChart.js +1 -0
  16. package/lib/LineChart.js.map +1 -0
  17. package/lib/Popover.js +1 -0
  18. package/lib/Popover.js.map +1 -0
  19. package/lib/ResponsiveContainer.js +1 -0
  20. package/lib/ResponsiveContainer.js.map +1 -0
  21. package/lib/Sparkline.js +1 -0
  22. package/lib/Sparkline.js.map +1 -0
  23. package/lib/VerticalBarChart.js +1 -0
  24. package/lib/VerticalBarChart.js.map +1 -0
  25. package/lib/components/CommonComponents/CartesianChart.js +462 -0
  26. package/lib/components/CommonComponents/CartesianChart.js.map +1 -0
  27. package/lib/components/CommonComponents/CartesianChart.types.js +1 -0
  28. package/lib/components/CommonComponents/CartesianChart.types.js.map +1 -0
  29. package/lib/components/CommonComponents/ChartPopover.js +187 -0
  30. package/lib/components/CommonComponents/ChartPopover.js.map +1 -0
  31. package/lib/components/CommonComponents/ChartPopover.types.js +1 -0
  32. package/lib/components/CommonComponents/ChartPopover.types.js.map +1 -0
  33. package/lib/components/CommonComponents/index.js +4 -0
  34. package/lib/components/CommonComponents/index.js.map +1 -0
  35. package/lib/components/CommonComponents/useCartesianChartStyles.styles.js +229 -0
  36. package/lib/components/CommonComponents/useCartesianChartStyles.styles.js.map +1 -0
  37. package/lib/components/CommonComponents/useChartPopoverStyles.styles.js +178 -0
  38. package/lib/components/CommonComponents/useChartPopoverStyles.styles.js.map +1 -0
  39. package/lib/components/DeclarativeChart/DeclarativeChart.js +150 -0
  40. package/lib/components/DeclarativeChart/DeclarativeChart.js.map +1 -0
  41. package/lib/components/DeclarativeChart/PlotlySchema.js +7 -0
  42. package/lib/components/DeclarativeChart/PlotlySchema.js.map +1 -0
  43. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js +400 -0
  44. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -0
  45. package/lib/components/DeclarativeChart/imageExporter.js +221 -0
  46. package/lib/components/DeclarativeChart/imageExporter.js.map +1 -0
  47. package/lib/components/DeclarativeChart/index.js +1 -0
  48. package/lib/components/DeclarativeChart/index.js.map +1 -0
  49. package/lib/components/DonutChart/Arc/Arc.js +110 -0
  50. package/lib/components/DonutChart/Arc/Arc.js.map +1 -0
  51. package/lib/components/DonutChart/Arc/Arc.types.js +1 -0
  52. package/lib/components/DonutChart/Arc/Arc.types.js.map +1 -0
  53. package/lib/components/DonutChart/Arc/index.js +2 -0
  54. package/lib/components/DonutChart/Arc/index.js.map +1 -0
  55. package/lib/components/DonutChart/Arc/useArcStyles.styles.js +54 -0
  56. package/lib/components/DonutChart/Arc/useArcStyles.styles.js.map +1 -0
  57. package/lib/components/DonutChart/DonutChart.js +291 -0
  58. package/lib/components/DonutChart/DonutChart.js.map +1 -0
  59. package/lib/components/DonutChart/DonutChart.types.js +1 -0
  60. package/lib/components/DonutChart/DonutChart.types.js.map +1 -0
  61. package/lib/components/DonutChart/Pie/Pie.js +72 -0
  62. package/lib/components/DonutChart/Pie/Pie.js.map +1 -0
  63. package/lib/components/DonutChart/Pie/Pie.types.js +1 -0
  64. package/lib/components/DonutChart/Pie/Pie.types.js.map +1 -0
  65. package/lib/components/DonutChart/Pie/index.js +2 -0
  66. package/lib/components/DonutChart/Pie/index.js.map +1 -0
  67. package/lib/components/DonutChart/Pie/usePieStyles.styles.js +44 -0
  68. package/lib/components/DonutChart/Pie/usePieStyles.styles.js.map +1 -0
  69. package/lib/components/DonutChart/index.js +3 -0
  70. package/lib/components/DonutChart/index.js.map +1 -0
  71. package/lib/components/DonutChart/useDonutChartStyles.styles.js +58 -0
  72. package/lib/components/DonutChart/useDonutChartStyles.styles.js.map +1 -0
  73. package/lib/components/HorizontalBarChart/HorizontalBarChart.js +402 -0
  74. package/lib/components/HorizontalBarChart/HorizontalBarChart.js.map +1 -0
  75. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js +6 -0
  76. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -0
  77. package/lib/components/HorizontalBarChart/index.js +3 -0
  78. package/lib/components/HorizontalBarChart/index.js.map +1 -0
  79. package/lib/components/HorizontalBarChart/useHorizontalBarChartStyles.styles.js +163 -0
  80. package/lib/components/HorizontalBarChart/useHorizontalBarChartStyles.styles.js.map +1 -0
  81. package/lib/components/Legends/Legends.js +302 -0
  82. package/lib/components/Legends/Legends.js.map +1 -0
  83. package/lib/components/Legends/Legends.types.js +1 -0
  84. package/lib/components/Legends/Legends.types.js.map +1 -0
  85. package/lib/components/Legends/OverflowMenu.js +25 -0
  86. package/lib/components/Legends/OverflowMenu.js.map +1 -0
  87. package/lib/components/Legends/index.js +3 -0
  88. package/lib/components/Legends/index.js.map +1 -0
  89. package/lib/components/Legends/shape.js +35 -0
  90. package/lib/components/Legends/shape.js.map +1 -0
  91. package/lib/components/Legends/useLegendsStyles.styles.js +147 -0
  92. package/lib/components/Legends/useLegendsStyles.styles.js.map +1 -0
  93. package/lib/components/LineChart/LineChart.js +1026 -0
  94. package/lib/components/LineChart/LineChart.js.map +1 -0
  95. package/lib/components/LineChart/LineChart.types.js +3 -0
  96. package/lib/components/LineChart/LineChart.types.js.map +1 -0
  97. package/lib/components/LineChart/eventAnnotation/EventAnnotation.js +119 -0
  98. package/lib/components/LineChart/eventAnnotation/EventAnnotation.js.map +1 -0
  99. package/lib/components/LineChart/eventAnnotation/LabelLink.js +57 -0
  100. package/lib/components/LineChart/eventAnnotation/LabelLink.js.map +1 -0
  101. package/lib/components/LineChart/eventAnnotation/Textbox.js +40 -0
  102. package/lib/components/LineChart/eventAnnotation/Textbox.js.map +1 -0
  103. package/lib/components/LineChart/index.js +4 -0
  104. package/lib/components/LineChart/index.js.map +1 -0
  105. package/lib/components/LineChart/useLineChartStyles.styles.js +65 -0
  106. package/lib/components/LineChart/useLineChartStyles.styles.js.map +1 -0
  107. package/lib/components/ResponsiveContainer/ResponsiveContainer.js +65 -0
  108. package/lib/components/ResponsiveContainer/ResponsiveContainer.js.map +1 -0
  109. package/lib/components/ResponsiveContainer/ResponsiveContainer.types.js +1 -0
  110. package/lib/components/ResponsiveContainer/ResponsiveContainer.types.js.map +1 -0
  111. package/lib/components/ResponsiveContainer/index.js +1 -0
  112. package/lib/components/ResponsiveContainer/index.js.map +1 -0
  113. package/lib/components/ResponsiveContainer/useResponsiveContainerStyles.styles.js +23 -0
  114. package/lib/components/ResponsiveContainer/useResponsiveContainerStyles.styles.js.map +1 -0
  115. package/lib/components/Sparkline/Sparkline.js +119 -0
  116. package/lib/components/Sparkline/Sparkline.js.map +1 -0
  117. package/lib/components/Sparkline/Sparkline.types.js +4 -0
  118. package/lib/components/Sparkline/Sparkline.types.js.map +1 -0
  119. package/lib/components/Sparkline/index.js +3 -0
  120. package/lib/components/Sparkline/index.js.map +1 -0
  121. package/lib/components/Sparkline/useSparklineStyles.styles.js +49 -0
  122. package/lib/components/Sparkline/useSparklineStyles.styles.js.map +1 -0
  123. package/lib/components/VerticalBarChart/VerticalBarChart.js +849 -0
  124. package/lib/components/VerticalBarChart/VerticalBarChart.js.map +1 -0
  125. package/lib/components/VerticalBarChart/VerticalBarChart.types.js +4 -0
  126. package/lib/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -0
  127. package/lib/components/VerticalBarChart/index.js +3 -0
  128. package/lib/components/VerticalBarChart/index.js.map +1 -0
  129. package/lib/components/VerticalBarChart/useVerticalBarChartStyles.styles.js +74 -0
  130. package/lib/components/VerticalBarChart/useVerticalBarChartStyles.styles.js.map +1 -0
  131. package/lib/index.js +12 -8
  132. package/lib/index.js.map +1 -1
  133. package/lib/types/DataPoint.js +3 -0
  134. package/lib/types/DataPoint.js.map +1 -0
  135. package/lib/types/EventAnnotation.js +1 -0
  136. package/lib/types/EventAnnotation.js.map +1 -0
  137. package/lib/types/LegendDataItem.js +1 -0
  138. package/lib/types/LegendDataItem.js.map +1 -0
  139. package/lib/types/index.js +2 -2
  140. package/lib/types/index.js.map +1 -1
  141. package/lib/utilities/FocusableTooltipText.js +65 -0
  142. package/lib/utilities/FocusableTooltipText.js.map +1 -0
  143. package/lib/utilities/KeyCodes.js +8 -0
  144. package/lib/utilities/KeyCodes.js.map +1 -0
  145. package/lib/utilities/SVGTooltipText.js +138 -0
  146. package/lib/utilities/SVGTooltipText.js.map +1 -0
  147. package/lib/utilities/async-utils.js +380 -0
  148. package/lib/utilities/async-utils.js.map +1 -0
  149. package/lib/utilities/colors.js +249 -0
  150. package/lib/utilities/colors.js.map +1 -0
  151. package/lib/utilities/getWindow.js +25 -0
  152. package/lib/utilities/getWindow.js.map +1 -0
  153. package/lib/utilities/index.js +3 -0
  154. package/lib/utilities/index.js.map +1 -0
  155. package/lib/utilities/locale-util.js +15 -0
  156. package/lib/utilities/locale-util.js.map +1 -0
  157. package/lib/utilities/overflow-utils.js +27 -0
  158. package/lib/utilities/overflow-utils.js.map +1 -0
  159. package/lib/utilities/test-data.js +276 -0
  160. package/lib/utilities/test-data.js.map +1 -0
  161. package/lib/utilities/utilities.js +1215 -0
  162. package/lib/utilities/utilities.js.map +1 -0
  163. package/lib/utilities/vbc-utils.js +27 -0
  164. package/lib/utilities/vbc-utils.js.map +1 -0
  165. package/lib-commonjs/CartesianChart.js +6 -0
  166. package/lib-commonjs/CartesianChart.js.map +1 -0
  167. package/lib-commonjs/DeclarativeChart.js +6 -0
  168. package/lib-commonjs/DeclarativeChart.js.map +1 -0
  169. package/lib-commonjs/DonutChart.js +6 -0
  170. package/lib-commonjs/DonutChart.js.map +1 -0
  171. package/lib-commonjs/HorizontalBarChart.js +6 -0
  172. package/lib-commonjs/HorizontalBarChart.js.map +1 -0
  173. package/lib-commonjs/Legends.js +6 -0
  174. package/lib-commonjs/Legends.js.map +1 -0
  175. package/lib-commonjs/LineChart.js +6 -0
  176. package/lib-commonjs/LineChart.js.map +1 -0
  177. package/lib-commonjs/Popover.js +6 -0
  178. package/lib-commonjs/Popover.js.map +1 -0
  179. package/lib-commonjs/ResponsiveContainer.js +6 -0
  180. package/lib-commonjs/ResponsiveContainer.js.map +1 -0
  181. package/lib-commonjs/Sparkline.js +6 -0
  182. package/lib-commonjs/Sparkline.js.map +1 -0
  183. package/lib-commonjs/VerticalBarChart.js +6 -0
  184. package/lib-commonjs/VerticalBarChart.js.map +1 -0
  185. package/lib-commonjs/components/CommonComponents/CartesianChart.js +469 -0
  186. package/lib-commonjs/components/CommonComponents/CartesianChart.js.map +1 -0
  187. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js +6 -0
  188. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +1 -0
  189. package/lib-commonjs/components/CommonComponents/ChartPopover.js +197 -0
  190. package/lib-commonjs/components/CommonComponents/ChartPopover.js.map +1 -0
  191. package/lib-commonjs/components/CommonComponents/ChartPopover.types.js +4 -0
  192. package/lib-commonjs/components/CommonComponents/ChartPopover.types.js.map +1 -0
  193. package/lib-commonjs/components/CommonComponents/index.js +9 -0
  194. package/lib-commonjs/components/CommonComponents/index.js.map +1 -0
  195. package/lib-commonjs/components/CommonComponents/useCartesianChartStyles.styles.js +356 -0
  196. package/lib-commonjs/components/CommonComponents/useCartesianChartStyles.styles.js.map +1 -0
  197. package/lib-commonjs/components/CommonComponents/useChartPopoverStyles.styles.js +261 -0
  198. package/lib-commonjs/components/CommonComponents/useChartPopoverStyles.styles.js.map +1 -0
  199. package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js +158 -0
  200. package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js.map +1 -0
  201. package/lib-commonjs/components/DeclarativeChart/PlotlySchema.js +10 -0
  202. package/lib-commonjs/components/DeclarativeChart/PlotlySchema.js.map +1 -0
  203. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js +445 -0
  204. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -0
  205. package/lib-commonjs/components/DeclarativeChart/imageExporter.js +231 -0
  206. package/lib-commonjs/components/DeclarativeChart/imageExporter.js.map +1 -0
  207. package/lib-commonjs/components/DeclarativeChart/index.js +6 -0
  208. package/lib-commonjs/components/DeclarativeChart/index.js.map +1 -0
  209. package/lib-commonjs/components/DonutChart/Arc/Arc.js +117 -0
  210. package/lib-commonjs/components/DonutChart/Arc/Arc.js.map +1 -0
  211. package/lib-commonjs/components/DonutChart/Arc/Arc.types.js +4 -0
  212. package/lib-commonjs/components/DonutChart/Arc/Arc.types.js.map +1 -0
  213. package/lib-commonjs/components/DonutChart/Arc/index.js +7 -0
  214. package/lib-commonjs/components/DonutChart/Arc/index.js.map +1 -0
  215. package/lib-commonjs/components/DonutChart/Arc/useArcStyles.styles.js +83 -0
  216. package/lib-commonjs/components/DonutChart/Arc/useArcStyles.styles.js.map +1 -0
  217. package/lib-commonjs/components/DonutChart/DonutChart.js +298 -0
  218. package/lib-commonjs/components/DonutChart/DonutChart.js.map +1 -0
  219. package/lib-commonjs/components/DonutChart/DonutChart.types.js +6 -0
  220. package/lib-commonjs/components/DonutChart/DonutChart.types.js.map +1 -0
  221. package/lib-commonjs/components/DonutChart/Pie/Pie.js +79 -0
  222. package/lib-commonjs/components/DonutChart/Pie/Pie.js.map +1 -0
  223. package/lib-commonjs/components/DonutChart/Pie/Pie.types.js +4 -0
  224. package/lib-commonjs/components/DonutChart/Pie/Pie.types.js.map +1 -0
  225. package/lib-commonjs/components/DonutChart/Pie/index.js +7 -0
  226. package/lib-commonjs/components/DonutChart/Pie/index.js.map +1 -0
  227. package/lib-commonjs/components/DonutChart/Pie/usePieStyles.styles.js +61 -0
  228. package/lib-commonjs/components/DonutChart/Pie/usePieStyles.styles.js.map +1 -0
  229. package/lib-commonjs/components/DonutChart/index.js +8 -0
  230. package/lib-commonjs/components/DonutChart/index.js.map +1 -0
  231. package/lib-commonjs/components/DonutChart/useDonutChartStyles.styles.js +82 -0
  232. package/lib-commonjs/components/DonutChart/useDonutChartStyles.styles.js.map +1 -0
  233. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js +408 -0
  234. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js.map +1 -0
  235. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js +17 -0
  236. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -0
  237. package/lib-commonjs/components/HorizontalBarChart/index.js +8 -0
  238. package/lib-commonjs/components/HorizontalBarChart/index.js.map +1 -0
  239. package/lib-commonjs/components/HorizontalBarChart/useHorizontalBarChartStyles.styles.js +251 -0
  240. package/lib-commonjs/components/HorizontalBarChart/useHorizontalBarChartStyles.styles.js.map +1 -0
  241. package/lib-commonjs/components/Legends/Legends.js +313 -0
  242. package/lib-commonjs/components/Legends/Legends.js.map +1 -0
  243. package/lib-commonjs/components/Legends/Legends.types.js +6 -0
  244. package/lib-commonjs/components/Legends/Legends.types.js.map +1 -0
  245. package/lib-commonjs/components/Legends/OverflowMenu.js +36 -0
  246. package/lib-commonjs/components/Legends/OverflowMenu.js.map +1 -0
  247. package/lib-commonjs/components/Legends/index.js +8 -0
  248. package/lib-commonjs/components/Legends/index.js.map +1 -0
  249. package/lib-commonjs/components/Legends/shape.js +46 -0
  250. package/lib-commonjs/components/Legends/shape.js.map +1 -0
  251. package/lib-commonjs/components/Legends/useLegendsStyles.styles.js +304 -0
  252. package/lib-commonjs/components/Legends/useLegendsStyles.styles.js.map +1 -0
  253. package/lib-commonjs/components/LineChart/LineChart.js +1032 -0
  254. package/lib-commonjs/components/LineChart/LineChart.js.map +1 -0
  255. package/lib-commonjs/components/LineChart/LineChart.types.js +6 -0
  256. package/lib-commonjs/components/LineChart/LineChart.types.js.map +1 -0
  257. package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.js +129 -0
  258. package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.js.map +1 -0
  259. package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.js +68 -0
  260. package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.js.map +1 -0
  261. package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.js +51 -0
  262. package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.js.map +1 -0
  263. package/lib-commonjs/components/LineChart/index.js +9 -0
  264. package/lib-commonjs/components/LineChart/index.js.map +1 -0
  265. package/lib-commonjs/components/LineChart/useLineChartStyles.styles.js +96 -0
  266. package/lib-commonjs/components/LineChart/useLineChartStyles.styles.js.map +1 -0
  267. package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.js +76 -0
  268. package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.js.map +1 -0
  269. package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.types.js +6 -0
  270. package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.types.js.map +1 -0
  271. package/lib-commonjs/components/ResponsiveContainer/index.js +6 -0
  272. package/lib-commonjs/components/ResponsiveContainer/index.js.map +1 -0
  273. package/lib-commonjs/components/ResponsiveContainer/useResponsiveContainerStyles.styles.js +47 -0
  274. package/lib-commonjs/components/ResponsiveContainer/useResponsiveContainerStyles.styles.js.map +1 -0
  275. package/lib-commonjs/components/Sparkline/Sparkline.js +125 -0
  276. package/lib-commonjs/components/Sparkline/Sparkline.js.map +1 -0
  277. package/lib-commonjs/components/Sparkline/Sparkline.types.js +7 -0
  278. package/lib-commonjs/components/Sparkline/Sparkline.types.js.map +1 -0
  279. package/lib-commonjs/components/Sparkline/index.js +8 -0
  280. package/lib-commonjs/components/Sparkline/index.js.map +1 -0
  281. package/lib-commonjs/components/Sparkline/useSparklineStyles.styles.js +77 -0
  282. package/lib-commonjs/components/Sparkline/useSparklineStyles.styles.js.map +1 -0
  283. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js +851 -0
  284. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js.map +1 -0
  285. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js +7 -0
  286. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -0
  287. package/lib-commonjs/components/VerticalBarChart/index.js +8 -0
  288. package/lib-commonjs/components/VerticalBarChart/index.js.map +1 -0
  289. package/lib-commonjs/components/VerticalBarChart/useVerticalBarChartStyles.styles.js +117 -0
  290. package/lib-commonjs/components/VerticalBarChart/useVerticalBarChartStyles.styles.js.map +1 -0
  291. package/lib-commonjs/index.js +17 -0
  292. package/lib-commonjs/index.js.map +1 -0
  293. package/lib-commonjs/types/DataPoint.js +6 -0
  294. package/lib-commonjs/types/DataPoint.js.map +1 -0
  295. package/lib-commonjs/types/EventAnnotation.js +6 -0
  296. package/lib-commonjs/types/EventAnnotation.js.map +1 -0
  297. package/lib-commonjs/types/LegendDataItem.js +4 -0
  298. package/lib-commonjs/types/LegendDataItem.js.map +1 -0
  299. package/lib-commonjs/types/index.js +7 -0
  300. package/lib-commonjs/types/index.js.map +1 -0
  301. package/lib-commonjs/utilities/FocusableTooltipText.js +75 -0
  302. package/lib-commonjs/utilities/FocusableTooltipText.js.map +1 -0
  303. package/lib-commonjs/utilities/KeyCodes.js +18 -0
  304. package/lib-commonjs/utilities/KeyCodes.js.map +1 -0
  305. package/lib-commonjs/utilities/SVGTooltipText.js +148 -0
  306. package/lib-commonjs/utilities/SVGTooltipText.js.map +1 -0
  307. package/lib-commonjs/utilities/async-utils.js +382 -0
  308. package/lib-commonjs/utilities/async-utils.js.map +1 -0
  309. package/lib-commonjs/utilities/colors.js +270 -0
  310. package/lib-commonjs/utilities/colors.js.map +1 -0
  311. package/lib-commonjs/utilities/getWindow.js +28 -0
  312. package/lib-commonjs/utilities/getWindow.js.map +1 -0
  313. package/lib-commonjs/utilities/index.js +8 -0
  314. package/lib-commonjs/utilities/index.js.map +1 -0
  315. package/lib-commonjs/utilities/locale-util.js +25 -0
  316. package/lib-commonjs/utilities/locale-util.js.map +1 -0
  317. package/lib-commonjs/utilities/overflow-utils.js +36 -0
  318. package/lib-commonjs/utilities/overflow-utils.js.map +1 -0
  319. package/lib-commonjs/utilities/test-data.js +324 -0
  320. package/lib-commonjs/utilities/test-data.js.map +1 -0
  321. package/lib-commonjs/utilities/utilities.js +1184 -0
  322. package/lib-commonjs/utilities/utilities.js.map +1 -0
  323. package/lib-commonjs/utilities/vbc-utils.js +45 -0
  324. package/lib-commonjs/utilities/vbc-utils.js.map +1 -0
  325. package/package.json +80 -71
  326. package/CHANGELOG.json +0 -50
  327. package/lib/chart/chart-legend.d.ts +0 -6
  328. package/lib/chart/chart-legend.js +0 -446
  329. package/lib/chart/chart-legend.js.map +0 -1
  330. package/lib/chart/chart-render.d.ts +0 -3
  331. package/lib/chart/chart-render.js +0 -50
  332. package/lib/chart/chart-render.js.map +0 -1
  333. package/lib/chart/chart.d.ts +0 -3
  334. package/lib/chart/chart.js +0 -11
  335. package/lib/chart/chart.js.map +0 -1
  336. package/lib/chart/index.d.ts +0 -1
  337. package/lib/chart/index.js +0 -2
  338. package/lib/chart/index.js.map +0 -1
  339. package/lib/index.d.ts +0 -7
  340. package/lib/lib/builder.d.ts +0 -82
  341. package/lib/lib/builder.js +0 -341
  342. package/lib/lib/builder.js.map +0 -1
  343. package/lib/lib/datasets.d.ts +0 -99
  344. package/lib/lib/datasets.js +0 -240
  345. package/lib/lib/datasets.js.map +0 -1
  346. package/lib/lib/patterns.d.ts +0 -43
  347. package/lib/lib/patterns.js +0 -433
  348. package/lib/lib/patterns.js.map +0 -1
  349. package/lib/lib/plugins.d.ts +0 -11
  350. package/lib/lib/plugins.js +0 -403
  351. package/lib/lib/plugins.js.map +0 -1
  352. package/lib/lib/settings.d.ts +0 -11
  353. package/lib/lib/settings.js +0 -342
  354. package/lib/lib/settings.js.map +0 -1
  355. package/lib/lib/storybook.d.ts +0 -11
  356. package/lib/lib/storybook.js +0 -13
  357. package/lib/lib/storybook.js.map +0 -1
  358. package/lib/lib/utils.d.ts +0 -34
  359. package/lib/lib/utils.js +0 -253
  360. package/lib/lib/utils.js.map +0 -1
  361. package/lib/types/index.d.ts +0 -1
  362. package/lib/types/types.d.ts +0 -94
  363. package/lib/types/types.js +0 -41
  364. package/lib/types/types.js.map +0 -1
@@ -1,341 +0,0 @@
1
- import { __extends } from "tslib";
2
- import { axisXTeamsStyle, gradientPlugin, highLightDataOnHover, horizontalBarAxisYLabels, horizontalBarValue, keyboardAccessibility, removeAllListeners, } from "./plugins";
3
- import { ChartTypes, Entity, } from "../types";
4
- import { barOptions, defaultOptions, doughnutOptions, groupedBarOptions, highContrastOptions, horizontalBarOptions, pieOptions, stackedBarOptions, stackedLineOptions, } from "./settings";
5
- import { BarDataSetHCStyle, BarDataSetStyle, DoughnutDataSetHCStyle, DoughnutDataSetStyle, HorizontalBarDataSetHCStyle, HorizontalBarDataSetStyle, LineDataSetHCStyle, LineDataSetStyle, LineStackedDataSetHCStyle, LineStackedDataSetStyle, PieDataSetHCStyle, PieDataSetStyle, } from "./datasets";
6
- import { deepMerge } from "./utils";
7
- var ChartBuilder = /** @class */ (function (_super) {
8
- __extends(ChartBuilder, _super);
9
- function ChartBuilder(fields) {
10
- var _this = _super.call(this, fields) || this;
11
- _this.options = defaultOptions;
12
- _this.plugins = [
13
- {
14
- afterInit: keyboardAccessibility,
15
- },
16
- {
17
- afterInit: axisXTeamsStyle,
18
- },
19
- {
20
- destroy: removeAllListeners,
21
- },
22
- ];
23
- _this.areaLabel = fields.areaLabel;
24
- _this.data = fields.data;
25
- _this.type = fields.type;
26
- if (fields.plugins) {
27
- _this.plugins = _this.plugins.concat(fields.plugins);
28
- }
29
- if (fields.options) {
30
- _this.options = deepMerge(_this.options, fields.options);
31
- }
32
- return _this;
33
- }
34
- return ChartBuilder;
35
- }(Entity));
36
- export { ChartBuilder };
37
- var LineChart = /** @class */ (function (_super) {
38
- __extends(LineChart, _super);
39
- function LineChart(fields) {
40
- var _this = _super.call(this, fields) || this;
41
- _this.type = ChartTypes.Line;
42
- _this.data.datasets = Array.from(_this.data.datasets, function (set) { return new LineDataSetStyle(set); });
43
- _this.plugins.push({
44
- beforeDatasetsDraw: highLightDataOnHover,
45
- });
46
- return _this;
47
- }
48
- return LineChart;
49
- }(ChartBuilder));
50
- export { LineChart };
51
- var BarChart = /** @class */ (function (_super) {
52
- __extends(BarChart, _super);
53
- function BarChart(fields) {
54
- var _this = _super.call(this, fields) || this;
55
- _this.type = ChartTypes.Bar;
56
- _this.data.datasets = Array.from(_this.data.datasets, function (set) { return new BarDataSetStyle(set); });
57
- _this.options = deepMerge(_this.options, barOptions);
58
- if (fields.options) {
59
- _this.options = deepMerge(_this.options, fields.options);
60
- }
61
- _this.plugins.push({
62
- beforeDatasetsDraw: highLightDataOnHover,
63
- });
64
- return _this;
65
- }
66
- return BarChart;
67
- }(ChartBuilder));
68
- export { BarChart };
69
- var PieChart = /** @class */ (function (_super) {
70
- __extends(PieChart, _super);
71
- function PieChart(fields) {
72
- var _this = _super.call(this, fields) || this;
73
- _this.type = ChartTypes.Pie;
74
- _this.data.datasets = Array.from(_this.data.datasets, function (set) { return new PieDataSetStyle(set); });
75
- _this.options = deepMerge(_this.options, pieOptions);
76
- if (fields.options) {
77
- _this.options = deepMerge(_this.options, fields.options);
78
- }
79
- return _this;
80
- }
81
- return PieChart;
82
- }(ChartBuilder));
83
- export { PieChart };
84
- var DoughnutChart = /** @class */ (function (_super) {
85
- __extends(DoughnutChart, _super);
86
- function DoughnutChart(fields) {
87
- var _this = _super.call(this, fields) || this;
88
- _this.type = ChartTypes.Doughnut;
89
- _this.data.datasets = Array.from(_this.data.datasets, function (set) { return new DoughnutDataSetStyle(set); });
90
- _this.options = deepMerge(_this.options, doughnutOptions);
91
- if (fields.options) {
92
- _this.options = deepMerge(_this.options, fields.options);
93
- }
94
- return _this;
95
- }
96
- return DoughnutChart;
97
- }(PieChart));
98
- export { DoughnutChart };
99
- var GroupedBarChart = /** @class */ (function (_super) {
100
- __extends(GroupedBarChart, _super);
101
- function GroupedBarChart(fields) {
102
- var _this = _super.call(this, fields) || this;
103
- _this.options = deepMerge(_this.options, groupedBarOptions);
104
- return _this;
105
- }
106
- return GroupedBarChart;
107
- }(BarChart));
108
- export { GroupedBarChart };
109
- var StackedBarChart = /** @class */ (function (_super) {
110
- __extends(StackedBarChart, _super);
111
- function StackedBarChart(fields) {
112
- var _this = _super.call(this, fields) || this;
113
- _this.type = ChartTypes.Bar;
114
- _this.data.datasets = Array.from(_this.data.datasets, function (set) { return new BarDataSetStyle(set); });
115
- _this.options = deepMerge(_this.options, stackedBarOptions);
116
- if (fields.options) {
117
- _this.options = deepMerge(_this.options, fields.options);
118
- }
119
- _this.plugins.push({
120
- beforeDatasetsDraw: highLightDataOnHover,
121
- });
122
- return _this;
123
- }
124
- return StackedBarChart;
125
- }(ChartBuilder));
126
- export { StackedBarChart };
127
- var HorizontalBarChart = /** @class */ (function (_super) {
128
- __extends(HorizontalBarChart, _super);
129
- function HorizontalBarChart(fields) {
130
- var _this = _super.call(this, fields) || this;
131
- _this.type = ChartTypes.HorizontalBar;
132
- _this.data.datasets = Array.from(_this.data.datasets, function (set) { return new HorizontalBarDataSetStyle(set); });
133
- _this.plugins.push({
134
- resize: horizontalBarAxisYLabels,
135
- });
136
- _this.plugins.push({
137
- afterDatasetsDraw: horizontalBarValue,
138
- });
139
- _this.options = deepMerge(_this.options, horizontalBarOptions);
140
- if (fields.options) {
141
- _this.options = deepMerge(_this.options, fields.options);
142
- }
143
- return _this;
144
- }
145
- return HorizontalBarChart;
146
- }(ChartBuilder));
147
- export { HorizontalBarChart };
148
- var AreaChart = /** @class */ (function (_super) {
149
- __extends(AreaChart, _super);
150
- function AreaChart(fields) {
151
- var _this = _super.call(this, fields) || this;
152
- _this.plugins.push({
153
- afterLayout: gradientPlugin,
154
- });
155
- _this.plugins.push({
156
- beforeDatasetDraw: highLightDataOnHover,
157
- });
158
- return _this;
159
- }
160
- return AreaChart;
161
- }(LineChart));
162
- export { AreaChart };
163
- var LineStackedChart = /** @class */ (function (_super) {
164
- __extends(LineStackedChart, _super);
165
- function LineStackedChart(fields) {
166
- var _this = _super.call(this, fields) || this;
167
- _this.type = ChartTypes.Line;
168
- _this.data.datasets = Array.from(_this.data.datasets, function (set) { return new LineStackedDataSetStyle(set); });
169
- _this.options = deepMerge(_this.options, stackedLineOptions);
170
- if (fields.options) {
171
- _this.options = deepMerge(_this.options, fields.options);
172
- }
173
- _this.plugins.push({
174
- beforeDatasetsDraw: highLightDataOnHover,
175
- });
176
- return _this;
177
- }
178
- return LineStackedChart;
179
- }(ChartBuilder));
180
- export { LineStackedChart };
181
- /**
182
- * HighContrast Chart Options
183
- */
184
- var HorizontalBarChartHighContrast = /** @class */ (function (_super) {
185
- __extends(HorizontalBarChartHighContrast, _super);
186
- function HorizontalBarChartHighContrast(fields) {
187
- var _this = _super.call(this, fields) || this;
188
- _this.type = ChartTypes.HorizontalBar;
189
- _this.data.datasets = Array.from(_this.data.datasets, function (set) {
190
- return new HorizontalBarDataSetHCStyle(set);
191
- });
192
- _this.plugins.push({
193
- resize: horizontalBarAxisYLabels,
194
- });
195
- _this.plugins.push({
196
- afterDatasetsDraw: horizontalBarValue,
197
- });
198
- _this.options = deepMerge(_this.options, highContrastOptions);
199
- _this.options = deepMerge(_this.options, horizontalBarOptions);
200
- if (fields.options) {
201
- _this.options = deepMerge(_this.options, fields.options);
202
- }
203
- return _this;
204
- }
205
- return HorizontalBarChartHighContrast;
206
- }(ChartBuilder));
207
- export { HorizontalBarChartHighContrast };
208
- var StackedBarChartHighContrast = /** @class */ (function (_super) {
209
- __extends(StackedBarChartHighContrast, _super);
210
- function StackedBarChartHighContrast(fields) {
211
- var _this = _super.call(this, fields) || this;
212
- _this.type = ChartTypes.Bar;
213
- _this.data.datasets = Array.from(_this.data.datasets, function (set) { return new BarDataSetHCStyle(set); });
214
- _this.options = deepMerge(_this.options, highContrastOptions);
215
- _this.options = deepMerge(_this.options, stackedBarOptions);
216
- if (fields.options) {
217
- _this.options = deepMerge(_this.options, fields.options);
218
- }
219
- _this.plugins.push({
220
- beforeDatasetsDraw: highLightDataOnHover,
221
- });
222
- return _this;
223
- }
224
- return StackedBarChartHighContrast;
225
- }(ChartBuilder));
226
- export { StackedBarChartHighContrast };
227
- var LineStackedChartHighContrast = /** @class */ (function (_super) {
228
- __extends(LineStackedChartHighContrast, _super);
229
- function LineStackedChartHighContrast(fields) {
230
- var _this = _super.call(this, fields) || this;
231
- _this.type = ChartTypes.Line;
232
- _this.data.datasets = Array.from(_this.data.datasets, function (set) { return new LineStackedDataSetHCStyle(set); });
233
- _this.options = deepMerge(_this.options, highContrastOptions);
234
- _this.options = deepMerge(_this.options, stackedLineOptions);
235
- if (fields.options) {
236
- _this.options = deepMerge(_this.options, fields.options);
237
- }
238
- _this.plugins.push({
239
- beforeDatasetsDraw: highLightDataOnHover,
240
- });
241
- return _this;
242
- }
243
- return LineStackedChartHighContrast;
244
- }(ChartBuilder));
245
- export { LineStackedChartHighContrast };
246
- var PieChartHighContrast = /** @class */ (function (_super) {
247
- __extends(PieChartHighContrast, _super);
248
- function PieChartHighContrast(fields) {
249
- var _this = _super.call(this, fields) || this;
250
- _this.type = ChartTypes.Pie;
251
- _this.data.datasets = Array.from(_this.data.datasets, function (set) { return new PieDataSetHCStyle(set); });
252
- _this.options = deepMerge(_this.options, highContrastOptions);
253
- _this.options = deepMerge(_this.options, pieOptions);
254
- if (fields.options) {
255
- _this.options = deepMerge(_this.options, fields.options);
256
- }
257
- return _this;
258
- }
259
- return PieChartHighContrast;
260
- }(PieChart));
261
- export { PieChartHighContrast };
262
- var DoughnutChartHighContrast = /** @class */ (function (_super) {
263
- __extends(DoughnutChartHighContrast, _super);
264
- function DoughnutChartHighContrast(fields) {
265
- var _this = _super.call(this, fields) || this;
266
- _this.type = ChartTypes.Pie;
267
- _this.data.datasets = Array.from(_this.data.datasets, function (set) { return new DoughnutDataSetHCStyle(set); });
268
- _this.options = deepMerge(_this.options, highContrastOptions);
269
- _this.options = deepMerge(_this.options, doughnutOptions);
270
- if (fields.options) {
271
- _this.options = deepMerge(_this.options, fields.options);
272
- }
273
- return _this;
274
- }
275
- return DoughnutChartHighContrast;
276
- }(DoughnutChart));
277
- export { DoughnutChartHighContrast };
278
- var LineChartHighContrast = /** @class */ (function (_super) {
279
- __extends(LineChartHighContrast, _super);
280
- function LineChartHighContrast(fields) {
281
- var _this = _super.call(this, fields) || this;
282
- _this.type = ChartTypes.Line;
283
- _this.data = fields.data;
284
- _this.data.datasets = Array.from(fields.data.datasets, function (set) { return new LineDataSetHCStyle(set); });
285
- _this.options = deepMerge(defaultOptions, highContrastOptions);
286
- if (fields.options) {
287
- _this.options = deepMerge(_this.options, fields.options);
288
- }
289
- _this.plugins.push({
290
- beforeDatasetsDraw: highLightDataOnHover,
291
- });
292
- return _this;
293
- }
294
- return LineChartHighContrast;
295
- }(ChartBuilder));
296
- export { LineChartHighContrast };
297
- var AreaChartHighContrast = /** @class */ (function (_super) {
298
- __extends(AreaChartHighContrast, _super);
299
- function AreaChartHighContrast(fields) {
300
- var _this = _super.call(this, fields) || this;
301
- _this.plugins.push({
302
- afterLayout: gradientPlugin,
303
- });
304
- _this.plugins.push({
305
- beforeDatasetsDraw: highLightDataOnHover,
306
- });
307
- return _this;
308
- }
309
- return AreaChartHighContrast;
310
- }(LineChartHighContrast));
311
- export { AreaChartHighContrast };
312
- var BarChartHighContrast = /** @class */ (function (_super) {
313
- __extends(BarChartHighContrast, _super);
314
- function BarChartHighContrast(fields) {
315
- var _this = _super.call(this, fields) || this;
316
- _this.type = ChartTypes.Bar;
317
- _this.data.datasets = Array.from(_this.data.datasets, function (set) { return new BarDataSetHCStyle(set); });
318
- _this.options = deepMerge(_this.options, highContrastOptions);
319
- _this.options = deepMerge(_this.options, barOptions);
320
- if (fields.options) {
321
- _this.options = deepMerge(_this.options, fields.options);
322
- }
323
- _this.plugins.push({
324
- beforeDatasetsDraw: highLightDataOnHover,
325
- });
326
- return _this;
327
- }
328
- return BarChartHighContrast;
329
- }(ChartBuilder));
330
- export { BarChartHighContrast };
331
- var GroupedBarChartHighContrast = /** @class */ (function (_super) {
332
- __extends(GroupedBarChartHighContrast, _super);
333
- function GroupedBarChartHighContrast(fields) {
334
- var _this = _super.call(this, fields) || this;
335
- _this.options = deepMerge(_this.options, groupedBarOptions);
336
- return _this;
337
- }
338
- return GroupedBarChartHighContrast;
339
- }(BarChartHighContrast));
340
- export { GroupedBarChartHighContrast };
341
- //# sourceMappingURL=builder.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"builder.js","sourceRoot":"","sources":["../../src/lib/builder.ts"],"names":[],"mappings":";AACA,OAAO,EACL,eAAe,EACf,cAAc,EACd,oBAAoB,EACpB,wBAAwB,EACxB,kBAAkB,EAClB,qBAAqB,EACrB,kBAAkB,GACnB,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,UAAU,EACV,MAAM,GAQP,MAAM,UAAU,CAAC;AAClB,OAAO,EACL,UAAU,EACV,cAAc,EACd,eAAe,EACf,iBAAiB,EACjB,mBAAmB,EACnB,oBAAoB,EACpB,UAAU,EACV,iBAAiB,EACjB,kBAAkB,GACnB,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,iBAAiB,EACjB,eAAe,EACf,sBAAsB,EACtB,oBAAoB,EACpB,2BAA2B,EAC3B,yBAAyB,EACzB,kBAAkB,EAClB,gBAAgB,EAChB,yBAAyB,EACzB,uBAAuB,EACvB,iBAAiB,EACjB,eAAe,GAChB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC;IAAkC,gCA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A,IAAI,iBAAiB,CAAC,GAAwB,CAAC,EAA/C,CAA+C,CACzD,CAAC;QAEF,KAAI,CAAC,OAAO,GAAG,SAAS,CAAC,KAAI,CAAC,OAAO,EAAE,mBAAmB,CAAC,CAAC;QAC5D,KAAI,CAAC,OAAO,GAAG,SAAS,CAAC,KAAI,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC;QAEnD,IAAI,MAAM,CAAC,OAAO,EAAE;YAClB,KAAI,CAAC,OAAO,GAAG,SAAS,CAAC,KAAI,CAAC,OAAO,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;SACxD;QAED,KAAI,CAAC,OAAO,CAAC,IAAI,CAAC;YAChB,kBAAkB,EAAE,oBAAoB;SACzC,CAAC,CAAC;;IACL,CAAC;IACH,2BAAC;AAAD,CAAC,AAvBD,CAA0C,YAAY,GAuBrD;;AAED;IAAiD,+CAAoB;IACnE,qCAAY,MAAmC;QAA/C,YACE,kBAAM,MAAM,CAAC,SAGd;QADC,KAAI,CAAC,OAAO,GAAG,SAAS,CAAC,KAAI,CAAC,OAAO,EAAE,iBAAiB,CAAC,CAAC;;IAC5D,CAAC;IACH,kCAAC;AAAD,CAAC,AAND,CAAiD,oBAAoB,GAMpE"}
@@ -1,99 +0,0 @@
1
- import { BorderWidth, ChartColor, ChartDataSets, PointStyle, PositionType, Scriptable } from "chart.js";
2
- import { Entity, IDraw } from "../types";
3
- export declare class ChartDataSet extends Entity {
4
- type?: string | undefined;
5
- constructor(fields: Partial<ChartDataSet>);
6
- }
7
- export declare class LineDataSetStyle extends ChartDataSet implements ChartDataSets {
8
- borderCapStyle?: "butt" | "round" | "square";
9
- borderJoinStyle?: "bevel" | "round" | "miter";
10
- borderWidth?: BorderWidth | BorderWidth[] | Scriptable<BorderWidth>;
11
- hoverBackgroundColor?: ChartColor | ChartColor[] | Scriptable<ChartColor>;
12
- hoverBorderWidth?: number | number[] | Scriptable<number>;
13
- pointBorderWidth?: number | number[] | Scriptable<number>;
14
- pointHoverBorderWidth?: number | number[] | Scriptable<number>;
15
- pointHoverRadius?: number | number[] | Scriptable<number>;
16
- pointRadius?: number | number[] | Scriptable<number>;
17
- pointStyle?: PointStyle | HTMLImageElement | HTMLCanvasElement | Array<PointStyle | HTMLImageElement | HTMLCanvasElement> | Scriptable<PointStyle | HTMLImageElement | HTMLCanvasElement>;
18
- backgroundColor?: ChartColor | ChartColor[] | Scriptable<ChartColor>;
19
- color?: ChartColor | ChartColor[] | Scriptable<ChartColor>;
20
- borderColor?: ChartColor | ChartColor[] | Scriptable<ChartColor>;
21
- hoverBorderColor?: ChartColor | ChartColor[] | Scriptable<ChartColor>;
22
- pointBorderColor?: ChartColor | ChartColor[] | Scriptable<ChartColor>;
23
- pointBackgroundColor?: ChartColor | ChartColor[] | Scriptable<ChartColor>;
24
- pointHoverBackgroundColor?: ChartColor | ChartColor[] | Scriptable<ChartColor>;
25
- pointHoverBorderColor?: ChartColor | ChartColor[] | Scriptable<ChartColor>;
26
- constructor(fields: Partial<LineDataSetStyle>);
27
- }
28
- export declare class LineDataSetHCStyle extends LineDataSetStyle {
29
- borderColor?: string;
30
- hoverBorderColor?: string;
31
- pointBorderColor?: string;
32
- pointBackgroundColor?: string;
33
- pointHoverBackgroundColor?: string;
34
- pointHoverBorderColor?: string;
35
- hoverBorderWidth?: number | number[] | Scriptable<number>;
36
- pointRadius?: number | number[] | Scriptable<number>;
37
- pointHoverRadius?: number | number[] | Scriptable<number>;
38
- borderDash: number[];
39
- pointStyle: PointStyle | HTMLImageElement | HTMLCanvasElement | Array<PointStyle | HTMLImageElement | HTMLCanvasElement> | Scriptable<PointStyle | HTMLImageElement | HTMLCanvasElement>;
40
- constructor(fields: LineDataSetHCStyle);
41
- }
42
- export declare class LineStackedDataSetStyle extends LineDataSetStyle {
43
- constructor(fields: LineStackedDataSetStyle);
44
- }
45
- export declare class LineStackedDataSetHCStyle extends LineStackedDataSetStyle {
46
- pattern: IDraw;
47
- constructor(fields: LineStackedDataSetHCStyle);
48
- }
49
- export declare class BarDataSetStyle extends ChartDataSet implements ChartDataSets {
50
- backgroundColor?: ChartColor | ChartColor[] | Scriptable<ChartColor>;
51
- borderColor?: ChartColor | ChartColor[] | Scriptable<ChartColor>;
52
- borderWidth?: BorderWidth | BorderWidth[] | Scriptable<BorderWidth>;
53
- color?: ChartColor | ChartColor[] | Scriptable<ChartColor>;
54
- hoverBackgroundColor?: ChartColor | ChartColor[] | Scriptable<ChartColor>;
55
- hoverBorderWidth?: number | number[] | Scriptable<number>;
56
- borderSkipped?: PositionType | PositionType[] | Scriptable<PositionType>;
57
- constructor(fields: BarDataSetStyle);
58
- }
59
- export declare class PieDataSetStyle extends ChartDataSet implements ChartDataSets {
60
- backgroundColor?: ChartColor | ChartColor[] | Scriptable<ChartColor>;
61
- borderColor?: ChartColor | ChartColor[] | Scriptable<ChartColor>;
62
- borderWidth?: BorderWidth | BorderWidth[] | Scriptable<BorderWidth>;
63
- color?: ChartColor[];
64
- hoverBackgroundColor?: ChartColor | ChartColor[] | Scriptable<ChartColor>;
65
- hoverBorderColor?: ChartColor | ChartColor[] | Scriptable<ChartColor>;
66
- borderSkipped?: PositionType | PositionType[] | Scriptable<PositionType>;
67
- constructor(fields: PieDataSetStyle);
68
- }
69
- export declare class DoughnutDataSetStyle extends PieDataSetStyle {
70
- constructor(fields: DoughnutDataSetStyle);
71
- }
72
- export declare class HorizontalBarDataSetStyle extends ChartDataSet implements ChartDataSets {
73
- backgroundColor?: ChartColor | ChartColor[] | Scriptable<ChartColor>;
74
- barPercentage?: number;
75
- borderColor?: ChartColor | ChartColor[] | Scriptable<ChartColor>;
76
- borderWidth?: BorderWidth | BorderWidth[] | Scriptable<BorderWidth>;
77
- color?: ChartColor | ChartColor[] | Scriptable<ChartColor>;
78
- hoverBackgroundColor?: ChartColor | ChartColor[] | Scriptable<ChartColor>;
79
- hoverBorderWidth?: number | number[] | Scriptable<number>;
80
- borderSkipped?: PositionType | PositionType[] | Scriptable<PositionType>;
81
- constructor(fields: HorizontalBarDataSetStyle);
82
- }
83
- export declare class HorizontalBarDataSetHCStyle extends HorizontalBarDataSetStyle {
84
- hoverBorderColor?: ChartColor | ChartColor[] | Scriptable<ChartColor>;
85
- pattern: IDraw;
86
- constructor(fields: BarDataSetHCStyle);
87
- }
88
- export declare class PieDataSetHCStyle extends PieDataSetStyle {
89
- pattern: IDraw[];
90
- constructor(fields: PieDataSetHCStyle);
91
- }
92
- export declare class DoughnutDataSetHCStyle extends PieDataSetHCStyle {
93
- constructor(fields: PieDataSetHCStyle);
94
- }
95
- export declare class BarDataSetHCStyle extends BarDataSetStyle {
96
- hoverBorderColor?: ChartColor | ChartColor[] | Scriptable<ChartColor>;
97
- pattern: IDraw;
98
- constructor(fields: BarDataSetHCStyle);
99
- }