@fluentui/react-charts 1.2.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 +177 -15
  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 -72
  326. package/CHANGELOG.json +0 -65
  327. package/lib/chart/chart-legend.d.ts +0 -6
  328. package/lib/chart/chart-legend.js +0 -445
  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 -10
  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 -89
  341. package/lib/lib/builder.js +0 -379
  342. package/lib/lib/builder.js.map +0 -1
  343. package/lib/lib/datasets.d.ts +0 -123
  344. package/lib/lib/datasets.js +0 -285
  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 -12
  353. package/lib/lib/settings.js +0 -368
  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 -101
  363. package/lib/types/types.js +0 -41
  364. package/lib/types/types.js.map +0 -1
@@ -1,379 +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, trendLineOptions, } from "./settings";
5
- import { BarDataSetHCStyle, BarDataSetStyle, DoughnutDataSetHCStyle, DoughnutDataSetStyle, HorizontalBarDataSetHCStyle, HorizontalBarDataSetStyle, LineDataSetHCStyle, LineDataSetStyle, LineStackedDataSetHCStyle, LineStackedDataSetStyle, PieDataSetHCStyle, PieDataSetStyle, TrendLineDataSetHCStyle, TrendLineDataSetStyle, } 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 TrendLineChart = /** @class */ (function (_super) {
52
- __extends(TrendLineChart, _super);
53
- function TrendLineChart(fields) {
54
- var _this = _super.call(this, fields) || this;
55
- _this.type = ChartTypes.Line;
56
- _this.data.datasets = Array.from(_this.data.datasets, function (set) { return new TrendLineDataSetStyle(set); });
57
- _this.options = deepMerge(_this.options, trendLineOptions);
58
- if (fields.options) {
59
- _this.options = deepMerge(_this.options, fields.options);
60
- }
61
- _this.plugins.push({
62
- afterLayout: gradientPlugin,
63
- });
64
- _this.plugins.push({
65
- beforeDatasetDraw: highLightDataOnHover,
66
- });
67
- return _this;
68
- }
69
- return TrendLineChart;
70
- }(ChartBuilder));
71
- export { TrendLineChart };
72
- var TrendLineChartHighContrast = /** @class */ (function (_super) {
73
- __extends(TrendLineChartHighContrast, _super);
74
- function TrendLineChartHighContrast(fields) {
75
- var _this = _super.call(this, fields) || this;
76
- _this.data.datasets = Array.from(fields.data.datasets, function (set) { return new TrendLineDataSetHCStyle(set); });
77
- _this.options = deepMerge(_this.options, highContrastOptions);
78
- _this.plugins.push({
79
- afterLayout: gradientPlugin,
80
- });
81
- _this.plugins.push({
82
- beforeDatasetsDraw: highLightDataOnHover,
83
- });
84
- return _this;
85
- }
86
- return TrendLineChartHighContrast;
87
- }(TrendLineChart));
88
- export { TrendLineChartHighContrast };
89
- var BarChart = /** @class */ (function (_super) {
90
- __extends(BarChart, _super);
91
- function BarChart(fields) {
92
- var _this = _super.call(this, fields) || this;
93
- _this.type = ChartTypes.Bar;
94
- _this.data.datasets = Array.from(_this.data.datasets, function (set) { return new BarDataSetStyle(set); });
95
- _this.options = deepMerge(_this.options, barOptions);
96
- if (fields.options) {
97
- _this.options = deepMerge(_this.options, fields.options);
98
- }
99
- _this.plugins.push({
100
- beforeDatasetsDraw: highLightDataOnHover,
101
- });
102
- return _this;
103
- }
104
- return BarChart;
105
- }(ChartBuilder));
106
- export { BarChart };
107
- var PieChart = /** @class */ (function (_super) {
108
- __extends(PieChart, _super);
109
- function PieChart(fields) {
110
- var _this = _super.call(this, fields) || this;
111
- _this.type = ChartTypes.Pie;
112
- _this.data.datasets = Array.from(_this.data.datasets, function (set) { return new PieDataSetStyle(set); });
113
- _this.options = deepMerge(_this.options, pieOptions);
114
- if (fields.options) {
115
- _this.options = deepMerge(_this.options, fields.options);
116
- }
117
- return _this;
118
- }
119
- return PieChart;
120
- }(ChartBuilder));
121
- export { PieChart };
122
- var DoughnutChart = /** @class */ (function (_super) {
123
- __extends(DoughnutChart, _super);
124
- function DoughnutChart(fields) {
125
- var _this = _super.call(this, fields) || this;
126
- _this.type = ChartTypes.Doughnut;
127
- _this.data.datasets = Array.from(_this.data.datasets, function (set) { return new DoughnutDataSetStyle(set); });
128
- _this.options = deepMerge(_this.options, doughnutOptions);
129
- if (fields.options) {
130
- _this.options = deepMerge(_this.options, fields.options);
131
- }
132
- return _this;
133
- }
134
- return DoughnutChart;
135
- }(PieChart));
136
- export { DoughnutChart };
137
- var GroupedBarChart = /** @class */ (function (_super) {
138
- __extends(GroupedBarChart, _super);
139
- function GroupedBarChart(fields) {
140
- var _this = _super.call(this, fields) || this;
141
- _this.options = deepMerge(_this.options, groupedBarOptions);
142
- return _this;
143
- }
144
- return GroupedBarChart;
145
- }(BarChart));
146
- export { GroupedBarChart };
147
- var StackedBarChart = /** @class */ (function (_super) {
148
- __extends(StackedBarChart, _super);
149
- function StackedBarChart(fields) {
150
- var _this = _super.call(this, fields) || this;
151
- _this.type = ChartTypes.Bar;
152
- _this.data.datasets = Array.from(_this.data.datasets, function (set) { return new BarDataSetStyle(set); });
153
- _this.options = deepMerge(_this.options, stackedBarOptions);
154
- if (fields.options) {
155
- _this.options = deepMerge(_this.options, fields.options);
156
- }
157
- _this.plugins.push({
158
- beforeDatasetsDraw: highLightDataOnHover,
159
- });
160
- return _this;
161
- }
162
- return StackedBarChart;
163
- }(ChartBuilder));
164
- export { StackedBarChart };
165
- var HorizontalBarChart = /** @class */ (function (_super) {
166
- __extends(HorizontalBarChart, _super);
167
- function HorizontalBarChart(fields) {
168
- var _this = _super.call(this, fields) || this;
169
- _this.type = ChartTypes.HorizontalBar;
170
- _this.data.datasets = Array.from(_this.data.datasets, function (set) { return new HorizontalBarDataSetStyle(set); });
171
- _this.plugins.push({
172
- resize: horizontalBarAxisYLabels,
173
- });
174
- _this.plugins.push({
175
- afterDatasetsDraw: horizontalBarValue,
176
- });
177
- _this.options = deepMerge(_this.options, horizontalBarOptions);
178
- if (fields.options) {
179
- _this.options = deepMerge(_this.options, fields.options);
180
- }
181
- return _this;
182
- }
183
- return HorizontalBarChart;
184
- }(ChartBuilder));
185
- export { HorizontalBarChart };
186
- var AreaChart = /** @class */ (function (_super) {
187
- __extends(AreaChart, _super);
188
- function AreaChart(fields) {
189
- var _this = _super.call(this, fields) || this;
190
- _this.plugins.push({
191
- afterLayout: gradientPlugin,
192
- });
193
- _this.plugins.push({
194
- beforeDatasetDraw: highLightDataOnHover,
195
- });
196
- return _this;
197
- }
198
- return AreaChart;
199
- }(LineChart));
200
- export { AreaChart };
201
- var LineStackedChart = /** @class */ (function (_super) {
202
- __extends(LineStackedChart, _super);
203
- function LineStackedChart(fields) {
204
- var _this = _super.call(this, fields) || this;
205
- _this.type = ChartTypes.Line;
206
- _this.data.datasets = Array.from(_this.data.datasets, function (set) { return new LineStackedDataSetStyle(set); });
207
- _this.options = deepMerge(_this.options, stackedLineOptions);
208
- if (fields.options) {
209
- _this.options = deepMerge(_this.options, fields.options);
210
- }
211
- _this.plugins.push({
212
- beforeDatasetsDraw: highLightDataOnHover,
213
- });
214
- return _this;
215
- }
216
- return LineStackedChart;
217
- }(ChartBuilder));
218
- export { LineStackedChart };
219
- /**
220
- * HighContrast Chart Options
221
- */
222
- var HorizontalBarChartHighContrast = /** @class */ (function (_super) {
223
- __extends(HorizontalBarChartHighContrast, _super);
224
- function HorizontalBarChartHighContrast(fields) {
225
- var _this = _super.call(this, fields) || this;
226
- _this.type = ChartTypes.HorizontalBar;
227
- _this.data.datasets = Array.from(_this.data.datasets, function (set) {
228
- return new HorizontalBarDataSetHCStyle(set);
229
- });
230
- _this.plugins.push({
231
- resize: horizontalBarAxisYLabels,
232
- });
233
- _this.plugins.push({
234
- afterDatasetsDraw: horizontalBarValue,
235
- });
236
- _this.options = deepMerge(_this.options, highContrastOptions);
237
- _this.options = deepMerge(_this.options, horizontalBarOptions);
238
- if (fields.options) {
239
- _this.options = deepMerge(_this.options, fields.options);
240
- }
241
- return _this;
242
- }
243
- return HorizontalBarChartHighContrast;
244
- }(ChartBuilder));
245
- export { HorizontalBarChartHighContrast };
246
- var StackedBarChartHighContrast = /** @class */ (function (_super) {
247
- __extends(StackedBarChartHighContrast, _super);
248
- function StackedBarChartHighContrast(fields) {
249
- var _this = _super.call(this, fields) || this;
250
- _this.type = ChartTypes.Bar;
251
- _this.data.datasets = Array.from(_this.data.datasets, function (set) { return new BarDataSetHCStyle(set); });
252
- _this.options = deepMerge(_this.options, highContrastOptions);
253
- _this.options = deepMerge(_this.options, stackedBarOptions);
254
- if (fields.options) {
255
- _this.options = deepMerge(_this.options, fields.options);
256
- }
257
- _this.plugins.push({
258
- beforeDatasetsDraw: highLightDataOnHover,
259
- });
260
- return _this;
261
- }
262
- return StackedBarChartHighContrast;
263
- }(ChartBuilder));
264
- export { StackedBarChartHighContrast };
265
- var LineStackedChartHighContrast = /** @class */ (function (_super) {
266
- __extends(LineStackedChartHighContrast, _super);
267
- function LineStackedChartHighContrast(fields) {
268
- var _this = _super.call(this, fields) || this;
269
- _this.type = ChartTypes.Line;
270
- _this.data.datasets = Array.from(_this.data.datasets, function (set) { return new LineStackedDataSetHCStyle(set); });
271
- _this.options = deepMerge(_this.options, highContrastOptions);
272
- _this.options = deepMerge(_this.options, stackedLineOptions);
273
- if (fields.options) {
274
- _this.options = deepMerge(_this.options, fields.options);
275
- }
276
- _this.plugins.push({
277
- beforeDatasetsDraw: highLightDataOnHover,
278
- });
279
- return _this;
280
- }
281
- return LineStackedChartHighContrast;
282
- }(ChartBuilder));
283
- export { LineStackedChartHighContrast };
284
- var PieChartHighContrast = /** @class */ (function (_super) {
285
- __extends(PieChartHighContrast, _super);
286
- function PieChartHighContrast(fields) {
287
- var _this = _super.call(this, fields) || this;
288
- _this.type = ChartTypes.Pie;
289
- _this.data.datasets = Array.from(_this.data.datasets, function (set) { return new PieDataSetHCStyle(set); });
290
- _this.options = deepMerge(_this.options, highContrastOptions);
291
- _this.options = deepMerge(_this.options, pieOptions);
292
- if (fields.options) {
293
- _this.options = deepMerge(_this.options, fields.options);
294
- }
295
- return _this;
296
- }
297
- return PieChartHighContrast;
298
- }(PieChart));
299
- export { PieChartHighContrast };
300
- var DoughnutChartHighContrast = /** @class */ (function (_super) {
301
- __extends(DoughnutChartHighContrast, _super);
302
- function DoughnutChartHighContrast(fields) {
303
- var _this = _super.call(this, fields) || this;
304
- _this.type = ChartTypes.Pie;
305
- _this.data.datasets = Array.from(_this.data.datasets, function (set) { return new DoughnutDataSetHCStyle(set); });
306
- _this.options = deepMerge(_this.options, highContrastOptions);
307
- _this.options = deepMerge(_this.options, doughnutOptions);
308
- if (fields.options) {
309
- _this.options = deepMerge(_this.options, fields.options);
310
- }
311
- return _this;
312
- }
313
- return DoughnutChartHighContrast;
314
- }(DoughnutChart));
315
- export { DoughnutChartHighContrast };
316
- var LineChartHighContrast = /** @class */ (function (_super) {
317
- __extends(LineChartHighContrast, _super);
318
- function LineChartHighContrast(fields) {
319
- var _this = _super.call(this, fields) || this;
320
- _this.type = ChartTypes.Line;
321
- _this.data = fields.data;
322
- _this.data.datasets = Array.from(fields.data.datasets, function (set) { return new LineDataSetHCStyle(set); });
323
- _this.options = deepMerge(defaultOptions, highContrastOptions);
324
- if (fields.options) {
325
- _this.options = deepMerge(_this.options, fields.options);
326
- }
327
- _this.plugins.push({
328
- beforeDatasetsDraw: highLightDataOnHover,
329
- });
330
- return _this;
331
- }
332
- return LineChartHighContrast;
333
- }(ChartBuilder));
334
- export { LineChartHighContrast };
335
- var AreaChartHighContrast = /** @class */ (function (_super) {
336
- __extends(AreaChartHighContrast, _super);
337
- function AreaChartHighContrast(fields) {
338
- var _this = _super.call(this, fields) || this;
339
- _this.plugins.push({
340
- afterLayout: gradientPlugin,
341
- });
342
- _this.plugins.push({
343
- beforeDatasetsDraw: highLightDataOnHover,
344
- });
345
- return _this;
346
- }
347
- return AreaChartHighContrast;
348
- }(LineChartHighContrast));
349
- export { AreaChartHighContrast };
350
- var BarChartHighContrast = /** @class */ (function (_super) {
351
- __extends(BarChartHighContrast, _super);
352
- function BarChartHighContrast(fields) {
353
- var _this = _super.call(this, fields) || this;
354
- _this.type = ChartTypes.Bar;
355
- _this.data.datasets = Array.from(_this.data.datasets, function (set) { return new BarDataSetHCStyle(set); });
356
- _this.options = deepMerge(_this.options, highContrastOptions);
357
- _this.options = deepMerge(_this.options, barOptions);
358
- if (fields.options) {
359
- _this.options = deepMerge(_this.options, fields.options);
360
- }
361
- _this.plugins.push({
362
- beforeDatasetsDraw: highLightDataOnHover,
363
- });
364
- return _this;
365
- }
366
- return BarChartHighContrast;
367
- }(ChartBuilder));
368
- export { BarChartHighContrast };
369
- var GroupedBarChartHighContrast = /** @class */ (function (_super) {
370
- __extends(GroupedBarChartHighContrast, _super);
371
- function GroupedBarChartHighContrast(fields) {
372
- var _this = _super.call(this, fields) || this;
373
- _this.options = deepMerge(_this.options, groupedBarOptions);
374
- return _this;
375
- }
376
- return GroupedBarChartHighContrast;
377
- }(BarChartHighContrast));
378
- export { GroupedBarChartHighContrast };
379
- //# 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,EAClB,gBAAgB,GACjB,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,EACf,uBAAuB,EACvB,qBAAqB,GACtB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC;IAAkC,gCAAM;IAiBtC,sBAAY,MAAoB;QAAhC,YACE,kBAAM,MAAM,CAAC,SAad;QA3BD,aAAO,GAAkB,cAAc,CAAC;QACxC,aAAO,GAAuC;YAC5C;gBACE,SAAS,EAAE,qBAAqB;aACjC;YACD;gBACE,SAAS,EAAE,eAAe;aAC3B;YACD;gBACE,OAAO,EAAE,kBAAkB;aAC5B;SACF,CAAC;QAKA,KAAI,CAAC,SAAS,GAAG,MAAM,CAAC,SAAS,CAAC;QAClC,KAAI,CAAC,IAAI,GAAG,MAAM,CA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AG,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,123 +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 TrendLineDataSetStyle extends ChartDataSet implements ChartDataSets {
29
- borderCapStyle?: "butt" | "round" | "square";
30
- borderJoinStyle?: "bevel" | "round" | "miter";
31
- borderWidth?: BorderWidth | BorderWidth[] | Scriptable<BorderWidth>;
32
- hoverBackgroundColor?: ChartColor | ChartColor[] | Scriptable<ChartColor>;
33
- hoverBorderWidth?: number | number[] | Scriptable<number>;
34
- pointBorderWidth?: number | number[] | Scriptable<number>;
35
- pointHoverBorderWidth?: number | number[] | Scriptable<number>;
36
- pointHoverRadius?: number | number[] | Scriptable<number>;
37
- pointRadius?: number | number[] | Scriptable<number>;
38
- pointStyle?: PointStyle | HTMLImageElement | HTMLCanvasElement | Array<PointStyle | HTMLImageElement | HTMLCanvasElement> | Scriptable<PointStyle | HTMLImageElement | HTMLCanvasElement>;
39
- backgroundColor?: ChartColor | ChartColor[] | Scriptable<ChartColor>;
40
- color?: ChartColor | ChartColor[] | Scriptable<ChartColor>;
41
- borderColor?: ChartColor | ChartColor[] | Scriptable<ChartColor>;
42
- hoverBorderColor?: ChartColor | ChartColor[] | Scriptable<ChartColor>;
43
- pointBorderColor?: ChartColor | ChartColor[] | Scriptable<ChartColor>;
44
- pointBackgroundColor?: ChartColor | ChartColor[] | Scriptable<ChartColor>;
45
- pointHoverBackgroundColor?: ChartColor | ChartColor[] | Scriptable<ChartColor>;
46
- pointHoverBorderColor?: ChartColor | ChartColor[] | Scriptable<ChartColor>;
47
- constructor(fields: Partial<LineDataSetStyle>);
48
- }
49
- export declare class LineDataSetHCStyle extends LineDataSetStyle {
50
- borderColor?: string;
51
- hoverBorderColor?: string;
52
- pointBorderColor?: string;
53
- pointBackgroundColor?: string;
54
- pointHoverBackgroundColor?: string;
55
- pointHoverBorderColor?: string;
56
- hoverBorderWidth?: number | number[] | Scriptable<number>;
57
- pointRadius?: number | number[] | Scriptable<number>;
58
- pointHoverRadius?: number | number[] | Scriptable<number>;
59
- borderDash: number[];
60
- pointStyle: PointStyle | HTMLImageElement | HTMLCanvasElement | Array<PointStyle | HTMLImageElement | HTMLCanvasElement> | Scriptable<PointStyle | HTMLImageElement | HTMLCanvasElement>;
61
- constructor(fields: LineDataSetHCStyle);
62
- }
63
- export declare class TrendLineDataSetHCStyle extends LineDataSetHCStyle {
64
- constructor(fields: TrendLineDataSetHCStyle);
65
- }
66
- export declare class LineStackedDataSetStyle extends LineDataSetStyle {
67
- constructor(fields: LineStackedDataSetStyle);
68
- }
69
- export declare class LineStackedDataSetHCStyle extends LineStackedDataSetStyle {
70
- pattern: IDraw;
71
- constructor(fields: LineStackedDataSetHCStyle);
72
- }
73
- export declare class BarDataSetStyle extends ChartDataSet implements ChartDataSets {
74
- backgroundColor?: ChartColor | ChartColor[] | Scriptable<ChartColor>;
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: BarDataSetStyle);
82
- }
83
- export declare class PieDataSetStyle extends ChartDataSet implements ChartDataSets {
84
- backgroundColor?: ChartColor | ChartColor[] | Scriptable<ChartColor>;
85
- borderColor?: ChartColor | ChartColor[] | Scriptable<ChartColor>;
86
- borderWidth?: BorderWidth | BorderWidth[] | Scriptable<BorderWidth>;
87
- color?: ChartColor[];
88
- hoverBackgroundColor?: ChartColor | ChartColor[] | Scriptable<ChartColor>;
89
- hoverBorderColor?: ChartColor | ChartColor[] | Scriptable<ChartColor>;
90
- borderSkipped?: PositionType | PositionType[] | Scriptable<PositionType>;
91
- constructor(fields: PieDataSetStyle);
92
- }
93
- export declare class DoughnutDataSetStyle extends PieDataSetStyle {
94
- constructor(fields: DoughnutDataSetStyle);
95
- }
96
- export declare class HorizontalBarDataSetStyle extends ChartDataSet implements ChartDataSets {
97
- backgroundColor?: ChartColor | ChartColor[] | Scriptable<ChartColor>;
98
- barPercentage?: number;
99
- borderColor?: ChartColor | ChartColor[] | Scriptable<ChartColor>;
100
- borderWidth?: BorderWidth | BorderWidth[] | Scriptable<BorderWidth>;
101
- color?: ChartColor | ChartColor[] | Scriptable<ChartColor>;
102
- hoverBackgroundColor?: ChartColor | ChartColor[] | Scriptable<ChartColor>;
103
- hoverBorderWidth?: number | number[] | Scriptable<number>;
104
- borderSkipped?: PositionType | PositionType[] | Scriptable<PositionType>;
105
- constructor(fields: HorizontalBarDataSetStyle);
106
- }
107
- export declare class HorizontalBarDataSetHCStyle extends HorizontalBarDataSetStyle {
108
- hoverBorderColor?: ChartColor | ChartColor[] | Scriptable<ChartColor>;
109
- pattern: IDraw;
110
- constructor(fields: BarDataSetHCStyle);
111
- }
112
- export declare class PieDataSetHCStyle extends PieDataSetStyle {
113
- pattern: IDraw[];
114
- constructor(fields: PieDataSetHCStyle);
115
- }
116
- export declare class DoughnutDataSetHCStyle extends PieDataSetHCStyle {
117
- constructor(fields: PieDataSetHCStyle);
118
- }
119
- export declare class BarDataSetHCStyle extends BarDataSetStyle {
120
- hoverBorderColor?: ChartColor | ChartColor[] | Scriptable<ChartColor>;
121
- pattern: IDraw;
122
- constructor(fields: BarDataSetHCStyle);
123
- }