@swimlane/ngx-charts 19.2.0 → 20.1.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 (316) hide show
  1. package/esm2020/lib/area-chart/area-chart-normalized.component.mjs +616 -0
  2. package/esm2020/lib/area-chart/area-chart-stacked.component.mjs +629 -0
  3. package/esm2020/lib/area-chart/area-chart.component.mjs +617 -0
  4. package/esm2020/lib/area-chart/area-chart.module.mjs +21 -0
  5. package/esm2020/lib/area-chart/area-series.component.mjs +166 -0
  6. package/esm2020/lib/bar-chart/bar-chart.module.mjs +77 -0
  7. package/esm2020/lib/bar-chart/bar-horizontal-2d.component.mjs +545 -0
  8. package/esm2020/lib/bar-chart/bar-horizontal-normalized.component.mjs +454 -0
  9. package/esm2020/lib/bar-chart/bar-horizontal-stacked.component.mjs +523 -0
  10. package/esm2020/lib/bar-chart/bar-horizontal.component.mjs +375 -0
  11. package/esm2020/lib/bar-chart/bar-label.component.mjs +103 -0
  12. package/esm2020/lib/bar-chart/bar-vertical-2d.component.mjs +537 -0
  13. package/esm2020/lib/bar-chart/bar-vertical-normalized.component.mjs +454 -0
  14. package/esm2020/lib/bar-chart/bar-vertical-stacked.component.mjs +526 -0
  15. package/esm2020/lib/bar-chart/bar-vertical.component.mjs +386 -0
  16. package/esm2020/lib/bar-chart/bar.component.mjs +252 -0
  17. package/esm2020/lib/bar-chart/series-horizontal.component.mjs +346 -0
  18. package/esm2020/lib/bar-chart/series-vertical.component.mjs +429 -0
  19. package/{esm2015/lib/bar-chart/types/bar-chart-type.enum.js → esm2020/lib/bar-chart/types/bar-chart-type.enum.mjs} +0 -0
  20. package/{esm2015/lib/bar-chart/types/bar.model.js → esm2020/lib/bar-chart/types/bar.model.mjs} +0 -0
  21. package/{esm2015/lib/bar-chart/types/d0-type.enum.js → esm2020/lib/bar-chart/types/d0-type.enum.mjs} +0 -0
  22. package/esm2020/lib/box-chart/box-chart.component.mjs +330 -0
  23. package/esm2020/lib/box-chart/box-chart.module.mjs +20 -0
  24. package/esm2020/lib/box-chart/box-series.component.mjs +243 -0
  25. package/esm2020/lib/box-chart/box.component.mjs +362 -0
  26. package/esm2020/lib/bubble-chart/bubble-chart.component.mjs +537 -0
  27. package/esm2020/lib/bubble-chart/bubble-chart.module.mjs +19 -0
  28. package/{esm2015/lib/bubble-chart/bubble-chart.utils.js → esm2020/lib/bubble-chart/bubble-chart.utils.mjs} +0 -0
  29. package/esm2020/lib/bubble-chart/bubble-series.component.mjs +305 -0
  30. package/esm2020/lib/common/area.component.mjs +123 -0
  31. package/{esm2015/lib/common/axes/axes.module.js → esm2020/lib/common/axes/axes.module.mjs} +13 -8
  32. package/esm2020/lib/common/axes/axis-label.component.mjs +80 -0
  33. package/{esm2015/lib/common/axes/ticks.helper.js → esm2020/lib/common/axes/ticks.helper.mjs} +0 -0
  34. package/esm2020/lib/common/axes/x-axis-ticks.component.mjs +219 -0
  35. package/esm2020/lib/common/axes/x-axis.component.mjs +142 -0
  36. package/esm2020/lib/common/axes/y-axis-ticks.component.mjs +335 -0
  37. package/esm2020/lib/common/axes/y-axis.component.mjs +163 -0
  38. package/esm2020/lib/common/base-chart.component.mjs +182 -0
  39. package/esm2020/lib/common/chart-common.module.mjs +84 -0
  40. package/esm2020/lib/common/charts/chart.component.mjs +137 -0
  41. package/esm2020/lib/common/circle-series.component.mjs +340 -0
  42. package/esm2020/lib/common/circle.component.mjs +88 -0
  43. package/{esm2015/lib/common/color.helper.js → esm2020/lib/common/color.helper.mjs} +0 -0
  44. package/{esm2015/lib/common/constants/font-widths.js → esm2020/lib/common/constants/font-widths.mjs} +0 -0
  45. package/esm2020/lib/common/count/count.directive.mjs +93 -0
  46. package/{esm2015/lib/common/count/count.helper.js → esm2020/lib/common/count/count.helper.mjs} +0 -0
  47. package/{esm2015/lib/common/domain.helper.js → esm2020/lib/common/domain.helper.mjs} +0 -0
  48. package/{esm2015/lib/common/grid-layout.helper.js → esm2020/lib/common/grid-layout.helper.mjs} +0 -0
  49. package/esm2020/lib/common/grid-panel-series.component.mjs +105 -0
  50. package/esm2020/lib/common/grid-panel.component.mjs +27 -0
  51. package/{esm2015/lib/common/label.helper.js → esm2020/lib/common/label.helper.mjs} +0 -0
  52. package/esm2020/lib/common/legend/advanced-legend.component.mjs +179 -0
  53. package/esm2020/lib/common/legend/legend-entry.component.mjs +67 -0
  54. package/esm2020/lib/common/legend/legend.component.mjs +127 -0
  55. package/esm2020/lib/common/legend/scale-legend.component.mjs +73 -0
  56. package/{esm2015/lib/common/shape.helper.js → esm2020/lib/common/shape.helper.mjs} +0 -0
  57. package/esm2020/lib/common/svg-linear-gradient.component.mjs +56 -0
  58. package/esm2020/lib/common/svg-radial-gradient.component.mjs +76 -0
  59. package/{esm2015/lib/common/tick-format.helper.js → esm2020/lib/common/tick-format.helper.mjs} +0 -0
  60. package/esm2020/lib/common/timeline/timeline.component.mjs +178 -0
  61. package/esm2020/lib/common/tooltip/injection-registery.service.mjs +67 -0
  62. package/esm2020/lib/common/tooltip/injection.service.mjs +130 -0
  63. package/{esm2015/lib/common/tooltip/position/index.js → esm2020/lib/common/tooltip/position/index.mjs} +0 -0
  64. package/{esm2015/lib/common/tooltip/position/placement-type.enum.js → esm2020/lib/common/tooltip/position/placement-type.enum.mjs} +0 -0
  65. package/{esm2015/lib/common/tooltip/position/position.js → esm2020/lib/common/tooltip/position/position.mjs} +0 -0
  66. package/{esm2015/lib/common/tooltip/show.type.js → esm2020/lib/common/tooltip/show.type.mjs} +0 -0
  67. package/{esm2015/lib/common/tooltip/style.type.js → esm2020/lib/common/tooltip/style.type.mjs} +0 -0
  68. package/esm2020/lib/common/tooltip/tooltip.component.mjs +122 -0
  69. package/esm2020/lib/common/tooltip/tooltip.directive.mjs +209 -0
  70. package/esm2020/lib/common/tooltip/tooltip.module.mjs +23 -0
  71. package/esm2020/lib/common/tooltip/tooltip.service.mjs +17 -0
  72. package/esm2020/lib/common/tooltip-area.component.mjs +301 -0
  73. package/{esm2015/lib/common/trim-label.helper.js → esm2020/lib/common/trim-label.helper.mjs} +0 -0
  74. package/{esm2015/lib/common/types/bar-orientation.enum.js → esm2020/lib/common/types/bar-orientation.enum.mjs} +0 -0
  75. package/{esm2015/lib/common/types/gradient.interface.js → esm2020/lib/common/types/gradient.interface.mjs} +0 -0
  76. package/{esm2015/lib/common/types/legend.model.js → esm2020/lib/common/types/legend.model.mjs} +0 -0
  77. package/{esm2015/lib/common/types/orientation.enum.js → esm2020/lib/common/types/orientation.enum.mjs} +0 -0
  78. package/{esm2015/lib/common/types/scale-type.enum.js → esm2020/lib/common/types/scale-type.enum.mjs} +0 -0
  79. package/{esm2015/lib/common/types/text-anchor.enum.js → esm2020/lib/common/types/text-anchor.enum.mjs} +0 -0
  80. package/{esm2015/lib/common/types/view-dimension.interface.js → esm2020/lib/common/types/view-dimension.interface.mjs} +0 -0
  81. package/{esm2015/lib/common/view-dimensions.helper.js → esm2020/lib/common/view-dimensions.helper.mjs} +0 -0
  82. package/{esm2015/lib/events.js → esm2020/lib/events.mjs} +0 -0
  83. package/esm2020/lib/gauge/gauge-arc.component.mjs +138 -0
  84. package/esm2020/lib/gauge/gauge-axis.component.mjs +157 -0
  85. package/esm2020/lib/gauge/gauge.component.mjs +382 -0
  86. package/esm2020/lib/gauge/gauge.module.mjs +23 -0
  87. package/esm2020/lib/gauge/linear-gauge.component.mjs +328 -0
  88. package/esm2020/lib/heat-map/heat-map-cell-series.component.mjs +145 -0
  89. package/esm2020/lib/heat-map/heat-map-cell.component.mjs +137 -0
  90. package/esm2020/lib/heat-map/heat-map.component.mjs +404 -0
  91. package/esm2020/lib/heat-map/heat-map.module.mjs +20 -0
  92. package/esm2020/lib/line-chart/line-chart.component.mjs +680 -0
  93. package/esm2020/lib/line-chart/line-chart.module.mjs +20 -0
  94. package/esm2020/lib/line-chart/line-series.component.mjs +266 -0
  95. package/esm2020/lib/line-chart/line.component.mjs +117 -0
  96. package/esm2020/lib/models/chart-data.model.mjs +2 -0
  97. package/{esm2015/lib/models/coordinates.model.js → esm2020/lib/models/coordinates.model.mjs} +0 -0
  98. package/esm2020/lib/ngx-charts.module.mjs +65 -0
  99. package/esm2020/lib/number-card/card-series.component.mjs +167 -0
  100. package/esm2020/lib/number-card/card.component.mjs +263 -0
  101. package/esm2020/lib/number-card/number-card.component.mjs +111 -0
  102. package/esm2020/lib/number-card/number-card.module.mjs +20 -0
  103. package/esm2020/lib/pie-chart/advanced-pie-chart.component.mjs +192 -0
  104. package/esm2020/lib/pie-chart/pie-arc.component.mjs +201 -0
  105. package/esm2020/lib/pie-chart/pie-chart.component.mjs +244 -0
  106. package/esm2020/lib/pie-chart/pie-chart.module.mjs +52 -0
  107. package/esm2020/lib/pie-chart/pie-grid-series.component.mjs +125 -0
  108. package/esm2020/lib/pie-chart/pie-grid.component.mjs +298 -0
  109. package/esm2020/lib/pie-chart/pie-label.component.mjs +133 -0
  110. package/esm2020/lib/pie-chart/pie-series.component.mjs +259 -0
  111. package/esm2020/lib/polar-chart/polar-chart.component.mjs +598 -0
  112. package/esm2020/lib/polar-chart/polar-chart.module.mjs +21 -0
  113. package/esm2020/lib/polar-chart/polar-series.component.mjs +266 -0
  114. package/{esm2015/lib/polyfills.js → esm2020/lib/polyfills.mjs} +0 -0
  115. package/esm2020/lib/tree-map/tree-map-cell-series.component.mjs +133 -0
  116. package/esm2020/lib/tree-map/tree-map-cell.component.mjs +215 -0
  117. package/esm2020/lib/tree-map/tree-map.component.mjs +116 -0
  118. package/esm2020/lib/tree-map/tree-map.module.mjs +20 -0
  119. package/{esm2015/lib/utils/calculate-width.js → esm2020/lib/utils/calculate-width.mjs} +0 -0
  120. package/{esm2015/lib/utils/color-sets.js → esm2020/lib/utils/color-sets.mjs} +0 -0
  121. package/{esm2015/lib/utils/color-utils.js → esm2020/lib/utils/color-utils.mjs} +0 -0
  122. package/{esm2015/lib/utils/id.js → esm2020/lib/utils/id.mjs} +0 -0
  123. package/{esm2015/lib/utils/sort.js → esm2020/lib/utils/sort.mjs} +0 -0
  124. package/{esm2015/lib/utils/throttle.js → esm2020/lib/utils/throttle.mjs} +0 -0
  125. package/{esm2015/lib/utils/types.js → esm2020/lib/utils/types.mjs} +0 -0
  126. package/esm2020/lib/utils/visibility-observer.mjs +57 -0
  127. package/{esm2015/public-api.js → esm2020/public-api.mjs} +0 -0
  128. package/esm2020/swimlane-ngx-charts.mjs +5 -0
  129. package/fesm2015/swimlane-ngx-charts.mjs +19608 -0
  130. package/fesm2015/swimlane-ngx-charts.mjs.map +1 -0
  131. package/fesm2020/swimlane-ngx-charts.mjs +19587 -0
  132. package/fesm2020/swimlane-ngx-charts.mjs.map +1 -0
  133. package/lib/area-chart/area-chart-normalized.component.d.ts +3 -0
  134. package/lib/area-chart/area-chart-stacked.component.d.ts +3 -0
  135. package/lib/area-chart/area-chart.component.d.ts +3 -0
  136. package/lib/area-chart/area-chart.module.d.ts +9 -0
  137. package/lib/area-chart/area-series.component.d.ts +3 -0
  138. package/lib/bar-chart/bar-chart.module.d.ts +17 -0
  139. package/lib/bar-chart/bar-horizontal-2d.component.d.ts +5 -0
  140. package/lib/bar-chart/bar-horizontal-normalized.component.d.ts +5 -0
  141. package/lib/bar-chart/bar-horizontal-stacked.component.d.ts +5 -0
  142. package/lib/bar-chart/bar-horizontal.component.d.ts +3 -0
  143. package/lib/bar-chart/bar-label.component.d.ts +3 -0
  144. package/lib/bar-chart/bar-vertical-2d.component.d.ts +5 -0
  145. package/lib/bar-chart/bar-vertical-normalized.component.d.ts +5 -0
  146. package/lib/bar-chart/bar-vertical-stacked.component.d.ts +5 -0
  147. package/lib/bar-chart/bar-vertical.component.d.ts +3 -0
  148. package/lib/bar-chart/bar.component.d.ts +3 -0
  149. package/lib/bar-chart/series-horizontal.component.d.ts +3 -0
  150. package/lib/bar-chart/series-vertical.component.d.ts +7 -0
  151. package/lib/box-chart/box-chart.component.d.ts +3 -0
  152. package/lib/box-chart/box-chart.module.d.ts +8 -0
  153. package/lib/box-chart/box-series.component.d.ts +3 -0
  154. package/lib/box-chart/box.component.d.ts +3 -0
  155. package/lib/bubble-chart/bubble-chart.component.d.ts +5 -0
  156. package/lib/bubble-chart/bubble-chart.module.d.ts +7 -0
  157. package/lib/bubble-chart/bubble-series.component.d.ts +7 -0
  158. package/lib/common/area.component.d.ts +3 -0
  159. package/lib/common/axes/axes.module.d.ts +10 -0
  160. package/lib/common/axes/axis-label.component.d.ts +3 -0
  161. package/lib/common/axes/x-axis-ticks.component.d.ts +3 -0
  162. package/lib/common/axes/x-axis.component.d.ts +3 -0
  163. package/lib/common/axes/y-axis-ticks.component.d.ts +3 -0
  164. package/lib/common/axes/y-axis.component.d.ts +3 -0
  165. package/lib/common/base-chart.component.d.ts +3 -0
  166. package/lib/common/chart-common.module.d.ts +24 -0
  167. package/lib/common/charts/chart.component.d.ts +3 -0
  168. package/lib/common/circle-series.component.d.ts +6 -0
  169. package/lib/common/circle.component.d.ts +3 -0
  170. package/lib/common/count/count.directive.d.ts +3 -0
  171. package/lib/common/grid-panel-series.component.d.ts +3 -0
  172. package/lib/common/grid-panel.component.d.ts +3 -0
  173. package/lib/common/legend/advanced-legend.component.d.ts +3 -0
  174. package/lib/common/legend/legend-entry.component.d.ts +3 -0
  175. package/lib/common/legend/legend.component.d.ts +3 -0
  176. package/lib/common/legend/scale-legend.component.d.ts +3 -0
  177. package/lib/common/svg-linear-gradient.component.d.ts +3 -0
  178. package/lib/common/svg-radial-gradient.component.d.ts +3 -0
  179. package/lib/common/timeline/timeline.component.d.ts +3 -0
  180. package/lib/common/tooltip/injection.service.d.ts +3 -0
  181. package/lib/common/tooltip/tooltip.component.d.ts +3 -0
  182. package/lib/common/tooltip/tooltip.directive.d.ts +3 -0
  183. package/lib/common/tooltip/tooltip.module.d.ts +7 -0
  184. package/lib/common/tooltip/tooltip.service.d.ts +3 -0
  185. package/lib/common/tooltip-area.component.d.ts +3 -0
  186. package/lib/gauge/gauge-arc.component.d.ts +3 -0
  187. package/lib/gauge/gauge-axis.component.d.ts +3 -0
  188. package/lib/gauge/gauge.component.d.ts +3 -0
  189. package/lib/gauge/gauge.module.d.ts +11 -0
  190. package/lib/gauge/linear-gauge.component.d.ts +3 -0
  191. package/lib/heat-map/heat-map-cell-series.component.d.ts +3 -0
  192. package/lib/heat-map/heat-map-cell.component.d.ts +3 -0
  193. package/lib/heat-map/heat-map.component.d.ts +3 -0
  194. package/lib/heat-map/heat-map.module.d.ts +8 -0
  195. package/lib/line-chart/line-chart.component.d.ts +5 -0
  196. package/lib/line-chart/line-chart.module.d.ts +8 -0
  197. package/lib/line-chart/line-series.component.d.ts +3 -0
  198. package/lib/line-chart/line.component.d.ts +7 -1
  199. package/lib/models/chart-data.model.d.ts +7 -0
  200. package/lib/ngx-charts.module.d.ts +16 -0
  201. package/lib/number-card/card-series.component.d.ts +3 -0
  202. package/lib/number-card/card.component.d.ts +3 -0
  203. package/lib/number-card/number-card.component.d.ts +3 -0
  204. package/lib/number-card/number-card.module.d.ts +8 -0
  205. package/lib/pie-chart/advanced-pie-chart.component.d.ts +3 -0
  206. package/lib/pie-chart/pie-arc.component.d.ts +3 -0
  207. package/lib/pie-chart/pie-chart.component.d.ts +3 -0
  208. package/lib/pie-chart/pie-chart.module.d.ts +12 -0
  209. package/lib/pie-chart/pie-grid-series.component.d.ts +4 -2
  210. package/lib/pie-chart/pie-grid.component.d.ts +4 -8
  211. package/lib/pie-chart/pie-label.component.d.ts +3 -0
  212. package/lib/pie-chart/pie-series.component.d.ts +3 -0
  213. package/lib/polar-chart/polar-chart.component.d.ts +5 -0
  214. package/lib/polar-chart/polar-chart.module.d.ts +9 -0
  215. package/lib/polar-chart/polar-series.component.d.ts +3 -0
  216. package/lib/tree-map/tree-map-cell-series.component.d.ts +3 -0
  217. package/lib/tree-map/tree-map-cell.component.d.ts +3 -0
  218. package/lib/tree-map/tree-map.component.d.ts +3 -0
  219. package/lib/tree-map/tree-map.module.d.ts +8 -0
  220. package/lib/utils/visibility-observer.d.ts +3 -0
  221. package/package.json +20 -8
  222. package/swimlane-ngx-charts.d.ts +1 -2
  223. package/bundles/swimlane-ngx-charts.umd.js +0 -13509
  224. package/bundles/swimlane-ngx-charts.umd.js.map +0 -1
  225. package/esm2015/lib/area-chart/area-chart-normalized.component.js +0 -446
  226. package/esm2015/lib/area-chart/area-chart-stacked.component.js +0 -456
  227. package/esm2015/lib/area-chart/area-chart.component.js +0 -443
  228. package/esm2015/lib/area-chart/area-chart.module.js +0 -16
  229. package/esm2015/lib/area-chart/area-series.component.js +0 -135
  230. package/esm2015/lib/bar-chart/bar-chart.module.js +0 -50
  231. package/esm2015/lib/bar-chart/bar-horizontal-2d.component.js +0 -349
  232. package/esm2015/lib/bar-chart/bar-horizontal-normalized.component.js +0 -290
  233. package/esm2015/lib/bar-chart/bar-horizontal-stacked.component.js +0 -340
  234. package/esm2015/lib/bar-chart/bar-horizontal.component.js +0 -275
  235. package/esm2015/lib/bar-chart/bar-label.component.js +0 -90
  236. package/esm2015/lib/bar-chart/bar-vertical-2d.component.js +0 -351
  237. package/esm2015/lib/bar-chart/bar-vertical-normalized.component.js +0 -290
  238. package/esm2015/lib/bar-chart/bar-vertical-stacked.component.js +0 -343
  239. package/esm2015/lib/bar-chart/bar-vertical.component.js +0 -285
  240. package/esm2015/lib/bar-chart/bar.component.js +0 -213
  241. package/esm2015/lib/bar-chart/series-horizontal.component.js +0 -268
  242. package/esm2015/lib/bar-chart/series-vertical.component.js +0 -275
  243. package/esm2015/lib/box-chart/box-chart.component.js +0 -254
  244. package/esm2015/lib/box-chart/box-chart.module.js +0 -15
  245. package/esm2015/lib/box-chart/box-series.component.js +0 -183
  246. package/esm2015/lib/box-chart/box.component.js +0 -294
  247. package/esm2015/lib/bubble-chart/bubble-chart.component.js +0 -357
  248. package/esm2015/lib/bubble-chart/bubble-chart.module.js +0 -14
  249. package/esm2015/lib/bubble-chart/bubble-series.component.js +0 -184
  250. package/esm2015/lib/common/area.component.js +0 -101
  251. package/esm2015/lib/common/axes/axis-label.component.js +0 -66
  252. package/esm2015/lib/common/axes/x-axis-ticks.component.js +0 -181
  253. package/esm2015/lib/common/axes/x-axis.component.js +0 -92
  254. package/esm2015/lib/common/axes/y-axis-ticks.component.js +0 -253
  255. package/esm2015/lib/common/axes/y-axis.component.js +0 -108
  256. package/esm2015/lib/common/base-chart.component.js +0 -176
  257. package/esm2015/lib/common/chart-common.module.js +0 -49
  258. package/esm2015/lib/common/charts/chart.component.js +0 -92
  259. package/esm2015/lib/common/circle-series.component.js +0 -242
  260. package/esm2015/lib/common/circle.component.js +0 -57
  261. package/esm2015/lib/common/count/count.directive.js +0 -86
  262. package/esm2015/lib/common/grid-panel-series.component.js +0 -84
  263. package/esm2015/lib/common/grid-panel.component.js +0 -19
  264. package/esm2015/lib/common/legend/advanced-legend.component.js +0 -121
  265. package/esm2015/lib/common/legend/legend-entry.component.js +0 -46
  266. package/esm2015/lib/common/legend/legend.component.js +0 -100
  267. package/esm2015/lib/common/legend/scale-legend.component.js +0 -57
  268. package/esm2015/lib/common/svg-linear-gradient.component.js +0 -41
  269. package/esm2015/lib/common/svg-radial-gradient.component.js +0 -57
  270. package/esm2015/lib/common/timeline/timeline.component.js +0 -161
  271. package/esm2015/lib/common/tooltip/injection-registery.service.js +0 -67
  272. package/esm2015/lib/common/tooltip/injection.service.js +0 -132
  273. package/esm2015/lib/common/tooltip/tooltip.component.js +0 -100
  274. package/esm2015/lib/common/tooltip/tooltip.directive.js +0 -183
  275. package/esm2015/lib/common/tooltip/tooltip.module.js +0 -18
  276. package/esm2015/lib/common/tooltip/tooltip.service.js +0 -17
  277. package/esm2015/lib/common/tooltip-area.component.js +0 -230
  278. package/esm2015/lib/gauge/gauge-arc.component.js +0 -87
  279. package/esm2015/lib/gauge/gauge-axis.component.js +0 -127
  280. package/esm2015/lib/gauge/gauge.component.js +0 -301
  281. package/esm2015/lib/gauge/gauge.module.js +0 -18
  282. package/esm2015/lib/gauge/linear-gauge.component.js +0 -244
  283. package/esm2015/lib/heat-map/heat-map-cell-series.component.js +0 -105
  284. package/esm2015/lib/heat-map/heat-map-cell.component.js +0 -102
  285. package/esm2015/lib/heat-map/heat-map.component.js +0 -312
  286. package/esm2015/lib/heat-map/heat-map.module.js +0 -15
  287. package/esm2015/lib/line-chart/line-chart.component.js +0 -446
  288. package/esm2015/lib/line-chart/line-chart.module.js +0 -15
  289. package/esm2015/lib/line-chart/line-series.component.js +0 -202
  290. package/esm2015/lib/line-chart/line.component.js +0 -70
  291. package/esm2015/lib/models/chart-data.model.js +0 -2
  292. package/esm2015/lib/ngx-charts.module.js +0 -39
  293. package/esm2015/lib/number-card/card-series.component.js +0 -121
  294. package/esm2015/lib/number-card/card.component.js +0 -205
  295. package/esm2015/lib/number-card/number-card.component.js +0 -85
  296. package/esm2015/lib/number-card/number-card.module.js +0 -15
  297. package/esm2015/lib/pie-chart/advanced-pie-chart.component.js +0 -140
  298. package/esm2015/lib/pie-chart/pie-arc.component.js +0 -165
  299. package/esm2015/lib/pie-chart/pie-chart.component.js +0 -189
  300. package/esm2015/lib/pie-chart/pie-chart.module.js +0 -35
  301. package/esm2015/lib/pie-chart/pie-grid-series.component.js +0 -95
  302. package/esm2015/lib/pie-chart/pie-grid.component.js +0 -224
  303. package/esm2015/lib/pie-chart/pie-label.component.js +0 -101
  304. package/esm2015/lib/pie-chart/pie-series.component.js +0 -190
  305. package/esm2015/lib/polar-chart/polar-chart.component.js +0 -416
  306. package/esm2015/lib/polar-chart/polar-chart.module.js +0 -16
  307. package/esm2015/lib/polar-chart/polar-series.component.js +0 -197
  308. package/esm2015/lib/tree-map/tree-map-cell-series.component.js +0 -93
  309. package/esm2015/lib/tree-map/tree-map-cell.component.js +0 -155
  310. package/esm2015/lib/tree-map/tree-map.component.js +0 -92
  311. package/esm2015/lib/tree-map/tree-map.module.js +0 -15
  312. package/esm2015/lib/utils/visibility-observer.js +0 -58
  313. package/esm2015/swimlane-ngx-charts.js +0 -7
  314. package/fesm2015/swimlane-ngx-charts.js +0 -14731
  315. package/fesm2015/swimlane-ngx-charts.js.map +0 -1
  316. package/swimlane-ngx-charts.metadata.json +0 -1
@@ -1,3 +1,19 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./common/chart-common.module";
3
+ import * as i2 from "./area-chart/area-chart.module";
4
+ import * as i3 from "./bar-chart/bar-chart.module";
5
+ import * as i4 from "./box-chart/box-chart.module";
6
+ import * as i5 from "./bubble-chart/bubble-chart.module";
7
+ import * as i6 from "./heat-map/heat-map.module";
8
+ import * as i7 from "./line-chart/line-chart.module";
9
+ import * as i8 from "./polar-chart/polar-chart.module";
10
+ import * as i9 from "./number-card/number-card.module";
11
+ import * as i10 from "./pie-chart/pie-chart.module";
12
+ import * as i11 from "./tree-map/tree-map.module";
13
+ import * as i12 from "./gauge/gauge.module";
1
14
  export declare class NgxChartsModule {
2
15
  constructor();
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgxChartsModule, never>;
17
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NgxChartsModule, never, never, [typeof i1.ChartCommonModule, typeof i2.AreaChartModule, typeof i3.BarChartModule, typeof i4.BoxChartModule, typeof i5.BubbleChartModule, typeof i6.HeatMapModule, typeof i7.LineChartModule, typeof i8.PolarChartModule, typeof i9.NumberCardModule, typeof i10.PieChartModule, typeof i11.TreeMapModule, typeof i12.GaugeModule]>;
18
+ static ɵinj: i0.ɵɵInjectorDeclaration<NgxChartsModule>;
3
19
  }
@@ -2,6 +2,7 @@ import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
2
2
  import { GridItem } from '../common/grid-layout.helper';
3
3
  import { ColorHelper } from '../common/color.helper';
4
4
  import { ViewDimensions } from '../common/types/view-dimension.interface';
5
+ import * as i0 from "@angular/core";
5
6
  export interface CardModel extends GridItem {
6
7
  color: string;
7
8
  tooltipText: string;
@@ -30,4 +31,6 @@ export declare class CardSeriesComponent implements OnChanges {
30
31
  getCards(): CardModel[];
31
32
  trackBy(index: any, card: any): string;
32
33
  onClick(data: any): void;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<CardSeriesComponent, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<CardSeriesComponent, "g[ngx-charts-card-series]", never, { "data": "data"; "dims": "dims"; "colors": "colors"; "innerPadding": "innerPadding"; "cardColor": "cardColor"; "bandColor": "bandColor"; "emptyColor": "emptyColor"; "textColor": "textColor"; "valueFormatting": "valueFormatting"; "labelFormatting": "labelFormatting"; "animations": "animations"; }, { "select": "select"; }, never, never>;
33
36
  }
@@ -1,5 +1,6 @@
1
1
  import { EventEmitter, ElementRef, SimpleChanges, OnChanges, ChangeDetectorRef, NgZone, OnDestroy } from '@angular/core';
2
2
  import { GridData } from '../common/grid-layout.helper';
3
+ import * as i0 from "@angular/core";
3
4
  export declare class CardComponent implements OnChanges, OnDestroy {
4
5
  private cd;
5
6
  private zone;
@@ -46,4 +47,6 @@ export declare class CardComponent implements OnChanges, OnDestroy {
46
47
  scaleTextSSR(): void;
47
48
  setPadding(): void;
48
49
  onClick(): void;
50
+ static ɵfac: i0.ɵɵFactoryDeclaration<CardComponent, never>;
51
+ static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "g[ngx-charts-card]", never, { "color": "color"; "bandColor": "bandColor"; "textColor": "textColor"; "x": "x"; "y": "y"; "width": "width"; "height": "height"; "label": "label"; "data": "data"; "medianSize": "medianSize"; "valueFormatting": "valueFormatting"; "labelFormatting": "labelFormatting"; "animations": "animations"; }, { "select": "select"; }, never, never>;
49
52
  }
@@ -2,6 +2,7 @@ import { BaseChartComponent } from '../common/base-chart.component';
2
2
  import { ColorHelper } from '../common/color.helper';
3
3
  import { CardModel } from './card-series.component';
4
4
  import { ViewDimensions } from '../common/types/view-dimension.interface';
5
+ import * as i0 from "@angular/core";
5
6
  export declare class NumberCardComponent extends BaseChartComponent {
6
7
  cardColor: string;
7
8
  bandColor: string;
@@ -22,4 +23,6 @@ export declare class NumberCardComponent extends BaseChartComponent {
22
23
  getDomain(): string[];
23
24
  onClick(data: any): void;
24
25
  setColors(): void;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<NumberCardComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<NumberCardComponent, "ngx-charts-number-card", never, { "cardColor": "cardColor"; "bandColor": "bandColor"; "emptyColor": "emptyColor"; "innerPadding": "innerPadding"; "textColor": "textColor"; "valueFormatting": "valueFormatting"; "labelFormatting": "labelFormatting"; "designatedTotal": "designatedTotal"; }, {}, never, never>;
25
28
  }
@@ -1,2 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./card.component";
3
+ import * as i2 from "./card-series.component";
4
+ import * as i3 from "./number-card.component";
5
+ import * as i4 from "../common/chart-common.module";
1
6
  export declare class NumberCardModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<NumberCardModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NumberCardModule, [typeof i1.CardComponent, typeof i2.CardSeriesComponent, typeof i3.NumberCardComponent], [typeof i4.ChartCommonModule], [typeof i1.CardComponent, typeof i2.CardSeriesComponent, typeof i3.NumberCardComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<NumberCardModule>;
2
10
  }
@@ -3,6 +3,7 @@ import { ColorHelper } from '../common/color.helper';
3
3
  import { BaseChartComponent } from '../common/base-chart.component';
4
4
  import { DataItem } from '../models/chart-data.model';
5
5
  import { ViewDimensions } from '../common/types/view-dimension.interface';
6
+ import * as i0 from "@angular/core";
6
7
  export declare class AdvancedPieChartComponent extends BaseChartComponent {
7
8
  gradient: boolean;
8
9
  activeEntries: any[];
@@ -29,4 +30,6 @@ export declare class AdvancedPieChartComponent extends BaseChartComponent {
29
30
  setColors(): void;
30
31
  onActivate(item: any, fromLegend?: boolean): void;
31
32
  onDeactivate(item: any, fromLegend?: boolean): void;
33
+ static ɵfac: i0.ɵɵFactoryDeclaration<AdvancedPieChartComponent, never>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<AdvancedPieChartComponent, "ngx-charts-advanced-pie-chart", never, { "gradient": "gradient"; "activeEntries": "activeEntries"; "tooltipDisabled": "tooltipDisabled"; "tooltipText": "tooltipText"; "label": "label"; "valueFormatting": "valueFormatting"; "nameFormatting": "nameFormatting"; "percentageFormatting": "percentageFormatting"; }, { "activate": "activate"; "deactivate": "deactivate"; }, ["tooltipTemplate"], never>;
32
35
  }
@@ -1,6 +1,7 @@
1
1
  import { EventEmitter, ElementRef, SimpleChanges, OnChanges } from '@angular/core';
2
2
  import { DataItem } from '../models/chart-data.model';
3
3
  import { BarOrientation } from '../common/types/bar-orientation.enum';
4
+ import * as i0 from "@angular/core";
4
5
  export declare class PieArcComponent implements OnChanges {
5
6
  fill: string;
6
7
  startAngle: number;
@@ -38,4 +39,6 @@ export declare class PieArcComponent implements OnChanges {
38
39
  updateAnimation(): void;
39
40
  onClick(): void;
40
41
  onDblClick(event: MouseEvent): void;
42
+ static ɵfac: i0.ɵɵFactoryDeclaration<PieArcComponent, never>;
43
+ static ɵcmp: i0.ɵɵComponentDeclaration<PieArcComponent, "g[ngx-charts-pie-arc]", never, { "fill": "fill"; "startAngle": "startAngle"; "endAngle": "endAngle"; "innerRadius": "innerRadius"; "outerRadius": "outerRadius"; "cornerRadius": "cornerRadius"; "value": "value"; "max": "max"; "data": "data"; "explodeSlices": "explodeSlices"; "gradient": "gradient"; "animate": "animate"; "pointerEvents": "pointerEvents"; "isActive": "isActive"; }, { "select": "select"; "activate": "activate"; "deactivate": "deactivate"; "dblclick": "dblclick"; }, never, never>;
41
44
  }
@@ -4,6 +4,7 @@ import { BaseChartComponent } from '../common/base-chart.component';
4
4
  import { DataItem } from '../models/chart-data.model';
5
5
  import { LegendOptions, LegendPosition } from '../common/types/legend.model';
6
6
  import { ViewDimensions } from '../common/types/view-dimension.interface';
7
+ import * as i0 from "@angular/core";
7
8
  export declare class PieChartComponent extends BaseChartComponent {
8
9
  labels: boolean;
9
10
  legend: boolean;
@@ -41,4 +42,6 @@ export declare class PieChartComponent extends BaseChartComponent {
41
42
  onActivate(item: any, fromLegend?: boolean): void;
42
43
  onDeactivate(item: any, fromLegend?: boolean): void;
43
44
  private hasNoOptionalMarginsSet;
45
+ static ɵfac: i0.ɵɵFactoryDeclaration<PieChartComponent, never>;
46
+ static ɵcmp: i0.ɵɵComponentDeclaration<PieChartComponent, "ngx-charts-pie-chart", never, { "labels": "labels"; "legend": "legend"; "legendTitle": "legendTitle"; "legendPosition": "legendPosition"; "explodeSlices": "explodeSlices"; "doughnut": "doughnut"; "arcWidth": "arcWidth"; "gradient": "gradient"; "activeEntries": "activeEntries"; "tooltipDisabled": "tooltipDisabled"; "labelFormatting": "labelFormatting"; "trimLabels": "trimLabels"; "maxLabelLength": "maxLabelLength"; "tooltipText": "tooltipText"; "margins": "margins"; }, { "dblclick": "dblclick"; "select": "select"; "activate": "activate"; "deactivate": "deactivate"; }, ["tooltipTemplate"], never>;
44
47
  }
@@ -1,2 +1,14 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./advanced-pie-chart.component";
3
+ import * as i2 from "./pie-label.component";
4
+ import * as i3 from "./pie-arc.component";
5
+ import * as i4 from "./pie-chart.component";
6
+ import * as i5 from "./pie-grid.component";
7
+ import * as i6 from "./pie-grid-series.component";
8
+ import * as i7 from "./pie-series.component";
9
+ import * as i8 from "../common/chart-common.module";
1
10
  export declare class PieChartModule {
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<PieChartModule, never>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PieChartModule, [typeof i1.AdvancedPieChartComponent, typeof i2.PieLabelComponent, typeof i3.PieArcComponent, typeof i4.PieChartComponent, typeof i5.PieGridComponent, typeof i6.PieGridSeriesComponent, typeof i7.PieSeriesComponent], [typeof i8.ChartCommonModule], [typeof i1.AdvancedPieChartComponent, typeof i2.PieLabelComponent, typeof i3.PieArcComponent, typeof i4.PieChartComponent, typeof i5.PieGridComponent, typeof i6.PieGridSeriesComponent, typeof i7.PieSeriesComponent]>;
13
+ static ɵinj: i0.ɵɵInjectorDeclaration<PieChartModule>;
2
14
  }
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter, ElementRef, OnChanges, SimpleChanges } from '@angular/core';
2
- import { PieGridDataItem } from '../models/chart-data.model';
3
- import { PieGridData } from './pie-grid.component';
2
+ import { PieGridData, PieGridDataItem } from '../models/chart-data.model';
3
+ import * as i0 from "@angular/core";
4
4
  export interface PieArc {
5
5
  animate: boolean;
6
6
  class: string;
@@ -30,4 +30,6 @@ export declare class PieGridSeriesComponent implements OnChanges {
30
30
  trackBy(index: any, item: any): string;
31
31
  label(arc: any): string;
32
32
  color(arc: any): string;
33
+ static ɵfac: i0.ɵɵFactoryDeclaration<PieGridSeriesComponent, never>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<PieGridSeriesComponent, "g[ngx-charts-pie-grid-series]", never, { "colors": "colors"; "data": "data"; "innerRadius": "innerRadius"; "outerRadius": "outerRadius"; "animations": "animations"; }, { "select": "select"; "activate": "activate"; "deactivate": "deactivate"; }, never, never>;
33
35
  }
@@ -1,17 +1,11 @@
1
1
  import { TemplateRef, EventEmitter } from '@angular/core';
2
2
  import { ColorHelper } from '../common/color.helper';
3
3
  import { BaseChartComponent } from '../common/base-chart.component';
4
- import { DataItem, PieGridDataItem } from '../models/chart-data.model';
4
+ import { DataItem, PieGridData } from '../models/chart-data.model';
5
5
  import { PlacementTypes } from '../common/tooltip/position';
6
6
  import { StyleTypes } from '../common/tooltip/style.type';
7
7
  import { ViewDimensions } from '../common/types/view-dimension.interface';
8
- export interface PieGridData {
9
- data: PieGridDataItem;
10
- height: number;
11
- width: number;
12
- x: number;
13
- y: number;
14
- }
8
+ import * as i0 from "@angular/core";
15
9
  export declare class PieGridComponent extends BaseChartComponent {
16
10
  designatedTotal: number;
17
11
  tooltipDisabled: boolean;
@@ -42,4 +36,6 @@ export declare class PieGridComponent extends BaseChartComponent {
42
36
  setColors(): void;
43
37
  onActivate(item: any, fromLegend?: boolean): void;
44
38
  onDeactivate(item: any, fromLegend?: boolean): void;
39
+ static ɵfac: i0.ɵɵFactoryDeclaration<PieGridComponent, never>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<PieGridComponent, "ngx-charts-pie-grid", never, { "designatedTotal": "designatedTotal"; "tooltipDisabled": "tooltipDisabled"; "tooltipText": "tooltipText"; "label": "label"; "minWidth": "minWidth"; "activeEntries": "activeEntries"; }, { "activate": "activate"; "deactivate": "deactivate"; }, ["tooltipTemplate"], never>;
45
41
  }
@@ -2,6 +2,7 @@ import { OnChanges, SimpleChanges } from '@angular/core';
2
2
  import { DefaultArcObject } from 'd3-shape';
3
3
  import { TextAnchor } from '../common/types/text-anchor.enum';
4
4
  import { DataItem } from '../models/chart-data.model';
5
+ import * as i0 from "@angular/core";
5
6
  export interface PieData extends DefaultArcObject {
6
7
  data: DataItem;
7
8
  index: number;
@@ -33,4 +34,6 @@ export declare class PieLabelComponent implements OnChanges {
33
34
  get textY(): number;
34
35
  textAnchor(): TextAnchor;
35
36
  midAngle(d: any): number;
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<PieLabelComponent, never>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<PieLabelComponent, "g[ngx-charts-pie-label]", never, { "data": "data"; "radius": "radius"; "label": "label"; "color": "color"; "max": "max"; "value": "value"; "explodeSlices": "explodeSlices"; "animations": "animations"; "labelTrim": "labelTrim"; "labelTrimSize": "labelTrimSize"; }, {}, never, never>;
36
39
  }
@@ -5,6 +5,7 @@ import { PieData } from './pie-label.component';
5
5
  import { PlacementTypes } from '../common/tooltip/position';
6
6
  import { StyleTypes } from '../common/tooltip/style.type';
7
7
  import { ViewDimensions } from '../common/types/view-dimension.interface';
8
+ import * as i0 from "@angular/core";
8
9
  export declare class PieSeriesComponent implements OnChanges {
9
10
  colors: ColorHelper;
10
11
  series: DataItem[];
@@ -44,4 +45,6 @@ export declare class PieSeriesComponent implements OnChanges {
44
45
  trackBy(index: any, item: any): string;
45
46
  onClick(data: any): void;
46
47
  isActive(entry: any): boolean;
48
+ static ɵfac: i0.ɵɵFactoryDeclaration<PieSeriesComponent, never>;
49
+ static ɵcmp: i0.ɵɵComponentDeclaration<PieSeriesComponent, "g[ngx-charts-pie-series]", never, { "colors": "colors"; "series": "series"; "dims": "dims"; "innerRadius": "innerRadius"; "outerRadius": "outerRadius"; "explodeSlices": "explodeSlices"; "showLabels": "showLabels"; "gradient": "gradient"; "activeEntries": "activeEntries"; "labelFormatting": "labelFormatting"; "trimLabels": "trimLabels"; "maxLabelLength": "maxLabelLength"; "tooltipText": "tooltipText"; "tooltipDisabled": "tooltipDisabled"; "tooltipTemplate": "tooltipTemplate"; "animations": "animations"; }, { "select": "select"; "activate": "activate"; "deactivate": "deactivate"; "dblclick": "dblclick"; }, never, never>;
47
50
  }
@@ -5,6 +5,7 @@ import { LegendPosition } from '../common/types/legend.model';
5
5
  import { ScaleType } from '../common/types/scale-type.enum';
6
6
  import { ViewDimensions } from '../common/types/view-dimension.interface';
7
7
  import { Orientation } from '../common/types/orientation.enum';
8
+ import * as i0 from "@angular/core";
8
9
  export declare class PolarChartComponent extends BaseChartComponent {
9
10
  legend: boolean;
10
11
  legendTitle: string;
@@ -59,6 +60,8 @@ export declare class PolarChartComponent extends BaseChartComponent {
59
60
  radiusTicks: number[];
60
61
  outerRadius: number;
61
62
  orientation: typeof Orientation;
63
+ isSSR: boolean;
64
+ ngOnInit(): void;
62
65
  update(): void;
63
66
  setDims(): void;
64
67
  setScales(): void;
@@ -95,4 +98,6 @@ export declare class PolarChartComponent extends BaseChartComponent {
95
98
  onDeactivate(item: any): void;
96
99
  deactivateAll(): void;
97
100
  trackBy(index: number, item: any): string;
101
+ static ɵfac: i0.ɵɵFactoryDeclaration<PolarChartComponent, never>;
102
+ static ɵcmp: i0.ɵɵComponentDeclaration<PolarChartComponent, "ngx-charts-polar-chart", never, { "legend": "legend"; "legendTitle": "legendTitle"; "legendPosition": "legendPosition"; "xAxis": "xAxis"; "yAxis": "yAxis"; "showXAxisLabel": "showXAxisLabel"; "showYAxisLabel": "showYAxisLabel"; "xAxisLabel": "xAxisLabel"; "yAxisLabel": "yAxisLabel"; "autoScale": "autoScale"; "showGridLines": "showGridLines"; "curve": "curve"; "activeEntries": "activeEntries"; "schemeType": "schemeType"; "rangeFillOpacity": "rangeFillOpacity"; "trimYAxisTicks": "trimYAxisTicks"; "maxYAxisTickLength": "maxYAxisTickLength"; "xAxisTickFormatting": "xAxisTickFormatting"; "yAxisTickFormatting": "yAxisTickFormatting"; "roundDomains": "roundDomains"; "tooltipDisabled": "tooltipDisabled"; "showSeriesOnHover": "showSeriesOnHover"; "gradient": "gradient"; "yAxisMinScale": "yAxisMinScale"; "labelTrim": "labelTrim"; "labelTrimSize": "labelTrimSize"; }, { "activate": "activate"; "deactivate": "deactivate"; }, ["tooltipTemplate"], never>;
98
103
  }
@@ -1,2 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./polar-chart.component";
3
+ import * as i2 from "./polar-series.component";
4
+ import * as i3 from "../common/chart-common.module";
5
+ import * as i4 from "../pie-chart/pie-chart.module";
6
+ import * as i5 from "../line-chart/line-chart.module";
1
7
  export declare class PolarChartModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<PolarChartModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PolarChartModule, [typeof i1.PolarChartComponent, typeof i2.PolarSeriesComponent], [typeof i3.ChartCommonModule, typeof i4.PieChartModule, typeof i5.LineChartModule], [typeof i1.PolarChartComponent, typeof i2.PolarSeriesComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<PolarChartModule>;
2
11
  }
@@ -3,6 +3,7 @@ import { Series, DataItem } from '../models/chart-data.model';
3
3
  import { PlacementTypes } from '../common/tooltip/position';
4
4
  import { StyleTypes } from '../common/tooltip/style.type';
5
5
  import { BarOrientation } from '../common/types/bar-orientation.enum';
6
+ import * as i0 from "@angular/core";
6
7
  interface PolarChartCircle {
7
8
  color: string;
8
9
  cx: number;
@@ -57,5 +58,7 @@ export declare class PolarSeriesComponent implements OnChanges {
57
58
  value: number;
58
59
  }): string;
59
60
  updateGradients(): void;
61
+ static ɵfac: i0.ɵɵFactoryDeclaration<PolarSeriesComponent, never>;
62
+ static ɵcmp: i0.ɵɵComponentDeclaration<PolarSeriesComponent, "g[ngx-charts-polar-series]", never, { "name": "name"; "data": "data"; "xScale": "xScale"; "yScale": "yScale"; "colors": "colors"; "scaleType": "scaleType"; "curve": "curve"; "activeEntries": "activeEntries"; "rangeFillOpacity": "rangeFillOpacity"; "tooltipDisabled": "tooltipDisabled"; "tooltipText": "tooltipText"; "gradient": "gradient"; "tooltipTemplate": "tooltipTemplate"; "animations": "animations"; }, { "select": "select"; "activate": "activate"; "deactivate": "deactivate"; }, never, never>;
60
63
  }
61
64
  export {};
@@ -4,6 +4,7 @@ import { DataItem } from '../models/chart-data.model';
4
4
  import { StyleTypes } from '../common/tooltip/style.type';
5
5
  import { PlacementTypes } from '../common/tooltip/position';
6
6
  import { ViewDimensions } from '../common/types/view-dimension.interface';
7
+ import * as i0 from "@angular/core";
7
8
  interface TreeMapCell {
8
9
  data: DataItem;
9
10
  fill: string;
@@ -36,5 +37,7 @@ export declare class TreeMapCellSeriesComponent implements OnChanges {
36
37
  }): string;
37
38
  onClick(data: any): void;
38
39
  trackBy(index: any, item: any): string;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<TreeMapCellSeriesComponent, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<TreeMapCellSeriesComponent, "g[ngx-charts-tree-map-cell-series]", never, { "data": "data"; "dims": "dims"; "colors": "colors"; "valueFormatting": "valueFormatting"; "labelFormatting": "labelFormatting"; "gradient": "gradient"; "tooltipDisabled": "tooltipDisabled"; "tooltipTemplate": "tooltipTemplate"; "animations": "animations"; }, { "select": "select"; }, never, never>;
39
42
  }
40
43
  export {};
@@ -2,6 +2,7 @@ import { EventEmitter, ElementRef, OnChanges } from '@angular/core';
2
2
  import { DataItem } from '../models/chart-data.model';
3
3
  import { Gradient } from '../common/types/gradient.interface';
4
4
  import { BarOrientation } from '../common/types/bar-orientation.enum';
5
+ import * as i0 from "@angular/core";
5
6
  export declare class TreeMapCellComponent implements OnChanges {
6
7
  data: DataItem;
7
8
  fill: string;
@@ -33,4 +34,6 @@ export declare class TreeMapCellComponent implements OnChanges {
33
34
  animateToCurrentForm(): void;
34
35
  onClick(): void;
35
36
  getGradientStops(): Gradient[];
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<TreeMapCellComponent, never>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<TreeMapCellComponent, "g[ngx-charts-tree-map-cell]", never, { "data": "data"; "fill": "fill"; "x": "x"; "y": "y"; "width": "width"; "height": "height"; "label": "label"; "value": "value"; "valueFormatting": "valueFormatting"; "labelFormatting": "labelFormatting"; "gradient": "gradient"; "animations": "animations"; }, { "select": "select"; }, never, never>;
36
39
  }
@@ -3,6 +3,7 @@ import { BaseChartComponent } from '../common/base-chart.component';
3
3
  import { ColorHelper } from '../common/color.helper';
4
4
  import { DataItem } from '../models/chart-data.model';
5
5
  import { ViewDimensions } from '../common/types/view-dimension.interface';
6
+ import * as i0 from "@angular/core";
6
7
  export declare class TreeMapComponent extends BaseChartComponent {
7
8
  results: DataItem[];
8
9
  tooltipDisabled: boolean;
@@ -22,4 +23,6 @@ export declare class TreeMapComponent extends BaseChartComponent {
22
23
  getDomain(): any[];
23
24
  onClick(data: DataItem): void;
24
25
  setColors(): void;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<TreeMapComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<TreeMapComponent, "ngx-charts-tree-map", never, { "results": "results"; "tooltipDisabled": "tooltipDisabled"; "valueFormatting": "valueFormatting"; "labelFormatting": "labelFormatting"; "gradient": "gradient"; }, { "select": "select"; }, ["tooltipTemplate"], never>;
25
28
  }
@@ -1,2 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./tree-map-cell.component";
3
+ import * as i2 from "./tree-map-cell-series.component";
4
+ import * as i3 from "./tree-map.component";
5
+ import * as i4 from "../common/chart-common.module";
1
6
  export declare class TreeMapModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<TreeMapModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TreeMapModule, [typeof i1.TreeMapCellComponent, typeof i2.TreeMapCellSeriesComponent, typeof i3.TreeMapComponent], [typeof i4.ChartCommonModule], [typeof i1.TreeMapCellComponent, typeof i2.TreeMapCellSeriesComponent, typeof i3.TreeMapComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<TreeMapModule>;
2
10
  }
@@ -1,4 +1,5 @@
1
1
  import { EventEmitter, NgZone, ElementRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
2
3
  /**
3
4
  * Visibility Observer
4
5
  */
@@ -12,4 +13,6 @@ export declare class VisibilityObserver {
12
13
  destroy(): void;
13
14
  onVisibilityChange(): void;
14
15
  runCheck(): void;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<VisibilityObserver, never>;
17
+ static ɵdir: i0.ɵɵDirectiveDeclaration<VisibilityObserver, "visibility-observer", never, {}, { "visible": "visible"; }, never>;
15
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swimlane/ngx-charts",
3
- "version": "19.2.0",
3
+ "version": "20.1.0",
4
4
  "description": "Declarative Charting Framework for Angular",
5
5
  "repository": {
6
6
  "type": "git",
@@ -42,7 +42,7 @@
42
42
  "@angular/forms": ">=12.0.0",
43
43
  "@angular/platform-browser": ">=12.0.0",
44
44
  "@angular/platform-browser-dynamic": ">=12.0.0",
45
- "rxjs": "6.x"
45
+ "rxjs": "^6.5.3 || ^7.4.0"
46
46
  },
47
47
  "dependencies": {
48
48
  "d3-array": "^2.9.1",
@@ -59,12 +59,24 @@
59
59
  "tslib": "^2.0.0",
60
60
  "@types/d3-shape": "^2.0.0"
61
61
  },
62
- "main": "bundles/swimlane-ngx-charts.umd.js",
63
- "module": "fesm2015/swimlane-ngx-charts.js",
64
- "es2015": "fesm2015/swimlane-ngx-charts.js",
65
- "esm2015": "esm2015/swimlane-ngx-charts.js",
66
- "fesm2015": "fesm2015/swimlane-ngx-charts.js",
62
+ "module": "fesm2015/swimlane-ngx-charts.mjs",
63
+ "es2020": "fesm2020/swimlane-ngx-charts.mjs",
64
+ "esm2020": "esm2020/swimlane-ngx-charts.mjs",
65
+ "fesm2020": "fesm2020/swimlane-ngx-charts.mjs",
66
+ "fesm2015": "fesm2015/swimlane-ngx-charts.mjs",
67
67
  "typings": "swimlane-ngx-charts.d.ts",
68
- "metadata": "swimlane-ngx-charts.metadata.json",
68
+ "exports": {
69
+ "./package.json": {
70
+ "default": "./package.json"
71
+ },
72
+ ".": {
73
+ "types": "./swimlane-ngx-charts.d.ts",
74
+ "esm2020": "./esm2020/swimlane-ngx-charts.mjs",
75
+ "es2020": "./fesm2020/swimlane-ngx-charts.mjs",
76
+ "es2015": "./fesm2015/swimlane-ngx-charts.mjs",
77
+ "node": "./fesm2015/swimlane-ngx-charts.mjs",
78
+ "default": "./fesm2020/swimlane-ngx-charts.mjs"
79
+ }
80
+ },
69
81
  "sideEffects": false
70
82
  }
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
+ /// <amd-module name="@swimlane/ngx-charts" />
4
5
  export * from './public-api';
5
- export { InjectionRegisteryService as ɵa } from './lib/common/tooltip/injection-registery.service';
6
- export { InjectionService as ɵb } from './lib/common/tooltip/injection.service';