@amcharts/amcharts5 5.0.0-beta.32 → 5.0.0-beta.36

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 (372) hide show
  1. package/.internal/charts/flow/Chord.d.ts.map +1 -1
  2. package/.internal/charts/flow/Chord.js +7 -0
  3. package/.internal/charts/flow/Chord.js.map +1 -1
  4. package/.internal/charts/flow/Flow.d.ts.map +1 -1
  5. package/.internal/charts/flow/Flow.js +2 -0
  6. package/.internal/charts/flow/Flow.js.map +1 -1
  7. package/.internal/charts/flow/FlowDefaultTheme.d.ts +8 -0
  8. package/.internal/charts/flow/FlowDefaultTheme.d.ts.map +1 -0
  9. package/.internal/charts/flow/FlowDefaultTheme.js +214 -0
  10. package/.internal/charts/flow/FlowDefaultTheme.js.map +1 -0
  11. package/.internal/charts/hierarchy/BreadcrumbBar.d.ts.map +1 -1
  12. package/.internal/charts/hierarchy/BreadcrumbBar.js +2 -0
  13. package/.internal/charts/hierarchy/BreadcrumbBar.js.map +1 -1
  14. package/.internal/charts/hierarchy/Hierarchy.d.ts.map +1 -1
  15. package/.internal/charts/hierarchy/Hierarchy.js +2 -0
  16. package/.internal/charts/hierarchy/Hierarchy.js.map +1 -1
  17. package/.internal/charts/hierarchy/HierarchyDefaultTheme.d.ts +8 -0
  18. package/.internal/charts/hierarchy/HierarchyDefaultTheme.d.ts.map +1 -0
  19. package/.internal/charts/hierarchy/HierarchyDefaultTheme.js +367 -0
  20. package/.internal/charts/hierarchy/HierarchyDefaultTheme.js.map +1 -0
  21. package/.internal/charts/map/MapChart.d.ts.map +1 -1
  22. package/.internal/charts/map/MapChart.js +10 -8
  23. package/.internal/charts/map/MapChart.js.map +1 -1
  24. package/.internal/charts/map/MapChartDefaultTheme.d.ts +8 -0
  25. package/.internal/charts/map/MapChartDefaultTheme.d.ts.map +1 -0
  26. package/.internal/charts/map/MapChartDefaultTheme.js +104 -0
  27. package/.internal/charts/map/MapChartDefaultTheme.js.map +1 -0
  28. package/.internal/charts/percent/PercentChart.d.ts +8 -1
  29. package/.internal/charts/percent/PercentChart.d.ts.map +1 -1
  30. package/.internal/charts/percent/PercentChart.js +9 -0
  31. package/.internal/charts/percent/PercentChart.js.map +1 -1
  32. package/.internal/charts/percent/PercentDefaultTheme.d.ts +8 -0
  33. package/.internal/charts/percent/PercentDefaultTheme.d.ts.map +1 -0
  34. package/.internal/charts/percent/PercentDefaultTheme.js +214 -0
  35. package/.internal/charts/percent/PercentDefaultTheme.js.map +1 -0
  36. package/.internal/charts/percent/PercentSeries.d.ts +1 -1
  37. package/.internal/charts/percent/PercentSeries.d.ts.map +1 -1
  38. package/.internal/charts/percent/PercentSeries.js +1 -1
  39. package/.internal/charts/percent/PercentSeries.js.map +1 -1
  40. package/.internal/charts/pie/PieSeries.d.ts +0 -3
  41. package/.internal/charts/pie/PieSeries.d.ts.map +1 -1
  42. package/.internal/charts/pie/PieSeries.js +2 -2
  43. package/.internal/charts/pie/PieSeries.js.map +1 -1
  44. package/.internal/charts/radar/ClockHand.js +1 -1
  45. package/.internal/charts/radar/ClockHand.js.map +1 -1
  46. package/.internal/charts/radar/RadarChart.d.ts.map +1 -1
  47. package/.internal/charts/radar/RadarChart.js +2 -0
  48. package/.internal/charts/radar/RadarChart.js.map +1 -1
  49. package/.internal/charts/radar/RadarDefaultTheme.d.ts +8 -0
  50. package/.internal/charts/radar/RadarDefaultTheme.d.ts.map +1 -0
  51. package/.internal/charts/radar/RadarDefaultTheme.js +102 -0
  52. package/.internal/charts/radar/RadarDefaultTheme.js.map +1 -0
  53. package/.internal/charts/venn/Venn.d.ts +147 -0
  54. package/.internal/charts/venn/Venn.d.ts.map +1 -0
  55. package/.internal/charts/venn/Venn.js +477 -0
  56. package/.internal/charts/venn/Venn.js.map +1 -0
  57. package/.internal/charts/venn/VennDefaultTheme.d.ts +8 -0
  58. package/.internal/charts/venn/VennDefaultTheme.d.ts.map +1 -0
  59. package/.internal/charts/venn/VennDefaultTheme.js +37 -0
  60. package/.internal/charts/venn/VennDefaultTheme.js.map +1 -0
  61. package/.internal/charts/venn/vennjs/circleintersection.js +223 -0
  62. package/.internal/charts/venn/vennjs/diagram.js +604 -0
  63. package/.internal/charts/venn/vennjs/fmin/bisect.js +32 -0
  64. package/.internal/charts/venn/vennjs/fmin/blas1.js +28 -0
  65. package/.internal/charts/venn/vennjs/fmin/conjugateGradient.js +64 -0
  66. package/.internal/charts/venn/vennjs/fmin/gradientDescent.js +73 -0
  67. package/.internal/charts/venn/vennjs/fmin/index.js +5 -0
  68. package/.internal/charts/venn/vennjs/fmin/linesearch.js +72 -0
  69. package/.internal/charts/venn/vennjs/fmin/nelderMead.js +144 -0
  70. package/.internal/charts/venn/vennjs/index.d.ts +5 -0
  71. package/.internal/charts/venn/vennjs/index.js +6 -0
  72. package/.internal/charts/venn/vennjs/layout.js +677 -0
  73. package/.internal/charts/wordcloud/WordCloud.d.ts +184 -0
  74. package/.internal/charts/wordcloud/WordCloud.d.ts.map +1 -0
  75. package/.internal/charts/wordcloud/WordCloud.js +564 -0
  76. package/.internal/charts/wordcloud/WordCloud.js.map +1 -0
  77. package/.internal/charts/wordcloud/WordCloudDefaultTheme.d.ts +8 -0
  78. package/.internal/charts/wordcloud/WordCloudDefaultTheme.d.ts.map +1 -0
  79. package/.internal/charts/wordcloud/WordCloudDefaultTheme.js +58 -0
  80. package/.internal/charts/wordcloud/WordCloudDefaultTheme.js.map +1 -0
  81. package/.internal/charts/xy/XYChart.d.ts +4 -4
  82. package/.internal/charts/xy/XYChart.d.ts.map +1 -1
  83. package/.internal/charts/xy/XYChart.js +4 -2
  84. package/.internal/charts/xy/XYChart.js.map +1 -1
  85. package/.internal/charts/xy/XYChartDefaultTheme.d.ts +8 -0
  86. package/.internal/charts/xy/XYChartDefaultTheme.d.ts.map +1 -0
  87. package/.internal/charts/xy/XYChartDefaultTheme.js +605 -0
  88. package/.internal/charts/xy/XYChartDefaultTheme.js.map +1 -0
  89. package/.internal/charts/xy/axes/Axis.d.ts +1 -1
  90. package/.internal/charts/xy/axes/Axis.js.map +1 -1
  91. package/.internal/charts/xy/axes/CategoryAxis.d.ts.map +1 -1
  92. package/.internal/charts/xy/axes/CategoryAxis.js +2 -6
  93. package/.internal/charts/xy/axes/CategoryAxis.js.map +1 -1
  94. package/.internal/charts/xy/axes/DateAxis.d.ts.map +1 -1
  95. package/.internal/charts/xy/axes/DateAxis.js +6 -4
  96. package/.internal/charts/xy/axes/DateAxis.js.map +1 -1
  97. package/.internal/charts/xy/axes/DurationAxis.d.ts +51 -0
  98. package/.internal/charts/xy/axes/DurationAxis.d.ts.map +1 -0
  99. package/.internal/charts/xy/axes/DurationAxis.js +162 -0
  100. package/.internal/charts/xy/axes/DurationAxis.js.map +1 -0
  101. package/.internal/charts/xy/axes/ValueAxis.d.ts +1 -0
  102. package/.internal/charts/xy/axes/ValueAxis.d.ts.map +1 -1
  103. package/.internal/charts/xy/axes/ValueAxis.js +18 -8
  104. package/.internal/charts/xy/axes/ValueAxis.js.map +1 -1
  105. package/.internal/charts/xy/series/BaseColumnSeries.d.ts +3 -1
  106. package/.internal/charts/xy/series/BaseColumnSeries.d.ts.map +1 -1
  107. package/.internal/charts/xy/series/BaseColumnSeries.js +47 -9
  108. package/.internal/charts/xy/series/BaseColumnSeries.js.map +1 -1
  109. package/.internal/charts/xy/series/XYSeries.d.ts +1 -1
  110. package/.internal/charts/xy/series/XYSeries.d.ts.map +1 -1
  111. package/.internal/charts/xy/series/XYSeries.js +15 -2
  112. package/.internal/charts/xy/series/XYSeries.js.map +1 -1
  113. package/.internal/core/Classes.d.ts +6 -0
  114. package/.internal/core/Classes.d.ts.map +1 -1
  115. package/.internal/core/Classes.js.map +1 -1
  116. package/.internal/core/Root.d.ts +13 -11
  117. package/.internal/core/Root.d.ts.map +1 -1
  118. package/.internal/core/Root.js +27 -17
  119. package/.internal/core/Root.js.map +1 -1
  120. package/.internal/core/render/Bullet.d.ts +1 -0
  121. package/.internal/core/render/Bullet.d.ts.map +1 -1
  122. package/.internal/core/render/Bullet.js.map +1 -1
  123. package/.internal/core/render/Container.js +1 -1
  124. package/.internal/core/render/Container.js.map +1 -1
  125. package/.internal/core/render/Graphics.js +1 -1
  126. package/.internal/core/render/Graphics.js.map +1 -1
  127. package/.internal/core/render/Legend.js +3 -3
  128. package/.internal/core/render/Legend.js.map +1 -1
  129. package/.internal/core/render/Rectangle.js +1 -1
  130. package/.internal/core/render/Rectangle.js.map +1 -1
  131. package/.internal/core/render/RoundedRectangle.js.map +1 -1
  132. package/.internal/core/render/Scrollbar.d.ts.map +1 -1
  133. package/.internal/core/render/Scrollbar.js +3 -3
  134. package/.internal/core/render/Scrollbar.js.map +1 -1
  135. package/.internal/core/render/Series.d.ts +1 -0
  136. package/.internal/core/render/Series.d.ts.map +1 -1
  137. package/.internal/core/render/Series.js +18 -0
  138. package/.internal/core/render/Series.js.map +1 -1
  139. package/.internal/core/render/Sprite.d.ts +17 -0
  140. package/.internal/core/render/Sprite.d.ts.map +1 -1
  141. package/.internal/core/render/Sprite.js +16 -0
  142. package/.internal/core/render/Sprite.js.map +1 -1
  143. package/.internal/core/render/backend/CanvasRenderer.d.ts +1 -0
  144. package/.internal/core/render/backend/CanvasRenderer.d.ts.map +1 -1
  145. package/.internal/core/render/backend/CanvasRenderer.js +54 -2
  146. package/.internal/core/render/backend/CanvasRenderer.js.map +1 -1
  147. package/.internal/core/render/backend/Renderer.d.ts +1 -0
  148. package/.internal/core/render/backend/Renderer.d.ts.map +1 -1
  149. package/.internal/core/render/backend/Renderer.js.map +1 -1
  150. package/.internal/core/util/DataProcessor.d.ts +0 -1
  151. package/.internal/core/util/DataProcessor.d.ts.map +1 -1
  152. package/.internal/core/util/DataProcessor.js +6 -13
  153. package/.internal/core/util/DataProcessor.js.map +1 -1
  154. package/.internal/core/util/DateFormatter.d.ts +1 -1
  155. package/.internal/core/util/DateFormatter.js +18 -18
  156. package/.internal/core/util/DateFormatter.js.map +1 -1
  157. package/.internal/core/util/DurationFormatter.d.ts +134 -0
  158. package/.internal/core/util/DurationFormatter.d.ts.map +1 -0
  159. package/.internal/core/util/DurationFormatter.js +521 -0
  160. package/.internal/core/util/DurationFormatter.js.map +1 -0
  161. package/.internal/core/util/Entity.d.ts +3 -0
  162. package/.internal/core/util/Entity.d.ts.map +1 -1
  163. package/.internal/core/util/Entity.js +26 -1
  164. package/.internal/core/util/Entity.js.map +1 -1
  165. package/.internal/core/util/Math.d.ts +9 -0
  166. package/.internal/core/util/Math.d.ts.map +1 -1
  167. package/.internal/core/util/Math.js +15 -0
  168. package/.internal/core/util/Math.js.map +1 -1
  169. package/.internal/core/util/NumberFormatter.d.ts.map +1 -1
  170. package/.internal/core/util/NumberFormatter.js +33 -28
  171. package/.internal/core/util/NumberFormatter.js.map +1 -1
  172. package/.internal/core/util/PopulateString.js +18 -1
  173. package/.internal/core/util/PopulateString.js.map +1 -1
  174. package/.internal/core/util/Utils.d.ts +1 -1
  175. package/.internal/core/util/Utils.d.ts.map +1 -1
  176. package/.internal/core/util/Utils.js +6 -3
  177. package/.internal/core/util/Utils.js.map +1 -1
  178. package/.internal/plugins/exporting/Annotator.d.ts +67 -0
  179. package/.internal/plugins/exporting/Annotator.d.ts.map +1 -0
  180. package/.internal/plugins/exporting/Annotator.js +301 -0
  181. package/.internal/plugins/exporting/Annotator.js.map +1 -0
  182. package/.internal/plugins/exporting/Exporting.js +2 -2
  183. package/.internal/plugins/exporting/Exporting.js.map +1 -1
  184. package/.internal/plugins/exporting/ExportingMenu.js +22 -22
  185. package/.internal/plugins/exporting/ExportingMenu.js.map +1 -1
  186. package/.internal/themes/AnimatedTheme.d.ts.map +1 -1
  187. package/.internal/themes/AnimatedTheme.js +1 -0
  188. package/.internal/themes/AnimatedTheme.js.map +1 -1
  189. package/.internal/themes/DefaultTheme.d.ts +10 -0
  190. package/.internal/themes/DefaultTheme.d.ts.map +1 -1
  191. package/.internal/themes/DefaultTheme.js +11 -1443
  192. package/.internal/themes/DefaultTheme.js.map +1 -1
  193. package/CHANGELOG.md +46 -0
  194. package/LICENSE-3RD-PARTY.md +1 -0
  195. package/examples/javascript/flow-chord/package.json +1 -1
  196. package/examples/javascript/flow-chord-directed/package.json +1 -1
  197. package/examples/javascript/flow-chord-non-ribbon/package.json +1 -1
  198. package/examples/javascript/flow-sankey/package.json +1 -1
  199. package/examples/javascript/gauge/package.json +1 -1
  200. package/examples/javascript/gauge-bands/package.json +1 -1
  201. package/examples/javascript/hierarchy-force-directed/package.json +1 -1
  202. package/examples/javascript/hierarchy-pack/package.json +1 -1
  203. package/examples/javascript/hierarchy-partition/package.json +1 -1
  204. package/examples/javascript/hierarchy-sunburst/package.json +1 -1
  205. package/examples/javascript/hierarchy-tree/package.json +1 -1
  206. package/examples/javascript/hierarchy-treemap/package.json +1 -1
  207. package/examples/javascript/map-animating-along-lines/package.json +1 -1
  208. package/examples/javascript/map-day-and-night/package.json +1 -1
  209. package/examples/javascript/map-globe-rotate-to-country/package.json +1 -1
  210. package/examples/javascript/map-globe-with-projected-circles/index.js +1 -1
  211. package/examples/javascript/map-globe-with-projected-circles/package.json +1 -1
  212. package/examples/javascript/map-with-bubbles/package.json +1 -1
  213. package/examples/javascript/map-zoom-to-country/package.json +1 -1
  214. package/examples/javascript/misc-40-charts/package.json +1 -1
  215. package/examples/javascript/misc-microchart-grid/package.json +1 -1
  216. package/examples/javascript/pie-chart/package.json +1 -1
  217. package/examples/javascript/pie-donut-chart/package.json +1 -1
  218. package/examples/javascript/pie-variable-radius/package.json +1 -1
  219. package/examples/javascript/radar-column-iwatch-style/package.json +1 -1
  220. package/examples/javascript/radar-heat-map/package.json +1 -1
  221. package/examples/javascript/radar-line/package.json +1 -1
  222. package/examples/javascript/radar-time-line/index.js +8 -4
  223. package/examples/javascript/radar-time-line/package.json +1 -1
  224. package/examples/javascript/sliced-funnel/package.json +1 -1
  225. package/examples/javascript/sliced-pictorial-stacked/package.json +1 -1
  226. package/examples/javascript/sliced-pyramid/package.json +1 -1
  227. package/examples/javascript/venn-diagram/README.md +6 -0
  228. package/examples/javascript/venn-diagram/index.css +11 -0
  229. package/examples/javascript/venn-diagram/index.html +12 -0
  230. package/examples/javascript/venn-diagram/index.js +59 -0
  231. package/examples/javascript/venn-diagram/package.json +16 -0
  232. package/examples/javascript/venn-diagram/webpack.config.js +38 -0
  233. package/examples/javascript/wordcloud-with-data/README.md +6 -0
  234. package/examples/javascript/wordcloud-with-data/index.css +11 -0
  235. package/examples/javascript/wordcloud-with-data/index.html +12 -0
  236. package/examples/javascript/wordcloud-with-data/index.js +115 -0
  237. package/examples/javascript/wordcloud-with-data/package.json +16 -0
  238. package/examples/javascript/wordcloud-with-data/webpack.config.js +38 -0
  239. package/examples/javascript/wordcloud-with-text/README.md +6 -0
  240. package/examples/javascript/wordcloud-with-text/index.css +11 -0
  241. package/examples/javascript/wordcloud-with-text/index.html +12 -0
  242. package/examples/javascript/wordcloud-with-text/index.js +35 -0
  243. package/examples/javascript/wordcloud-with-text/package.json +16 -0
  244. package/examples/javascript/wordcloud-with-text/webpack.config.js +38 -0
  245. package/examples/javascript/xy-100-percent-stacked-column/index.js +1 -1
  246. package/examples/javascript/xy-100-percent-stacked-column/package.json +1 -1
  247. package/examples/javascript/xy-animated-bullet-at-the-end-of-the-series/package.json +1 -1
  248. package/examples/javascript/xy-bubble/package.json +1 -1
  249. package/examples/javascript/xy-candlestick/package.json +1 -1
  250. package/examples/javascript/xy-clustered-column/index.js +1 -1
  251. package/examples/javascript/xy-clustered-column/package.json +1 -1
  252. package/examples/javascript/xy-column/package.json +1 -1
  253. package/examples/javascript/xy-comparing-series-google-analytics-style/package.json +1 -1
  254. package/examples/javascript/xy-data-grouping/package.json +1 -1
  255. package/examples/javascript/xy-draggable-range/package.json +1 -1
  256. package/examples/javascript/xy-drawing-series-with-mouse-or-touch/package.json +1 -1
  257. package/examples/javascript/xy-dumbbell plot/package.json +1 -1
  258. package/examples/javascript/xy-evenly-spaced-date-axis/package.json +1 -1
  259. package/examples/javascript/xy-line/package.json +1 -1
  260. package/examples/javascript/xy-line-highlight-on-legend-hover/package.json +1 -1
  261. package/examples/javascript/xy-live-data/package.json +1 -1
  262. package/examples/javascript/xy-multiple-synced-value-axes/package.json +1 -1
  263. package/examples/javascript/xy-ohlc/package.json +1 -1
  264. package/examples/javascript/xy-real-time-data-sorting/package.json +1 -1
  265. package/examples/javascript/xy-smoothed-line/package.json +1 -1
  266. package/examples/javascript/xy-stacked-and-clustered-column/index.js +1 -1
  267. package/examples/javascript/xy-stacked-and-clustered-column/package.json +1 -1
  268. package/examples/javascript/xy-stacked-column/package.json +1 -1
  269. package/examples/javascript/xy-stacked-step/package.json +1 -1
  270. package/examples/javascript/xy-stock/package.json +1 -1
  271. package/examples/javascript/xy-stock-comparing/package.json +1 -1
  272. package/examples/typescript/flow-chord/package.json +1 -1
  273. package/examples/typescript/flow-chord-directed/package.json +1 -1
  274. package/examples/typescript/flow-chord-non-ribbon/package.json +1 -1
  275. package/examples/typescript/flow-sankey/package.json +1 -1
  276. package/examples/typescript/gauge/package.json +1 -1
  277. package/examples/typescript/gauge-bands/package.json +1 -1
  278. package/examples/typescript/hierarchy-force-directed/package.json +1 -1
  279. package/examples/typescript/hierarchy-pack/package.json +1 -1
  280. package/examples/typescript/hierarchy-partition/package.json +1 -1
  281. package/examples/typescript/hierarchy-sunburst/package.json +1 -1
  282. package/examples/typescript/hierarchy-tree/package.json +1 -1
  283. package/examples/typescript/hierarchy-treemap/package.json +1 -1
  284. package/examples/typescript/map-animating-along-lines/package.json +1 -1
  285. package/examples/typescript/map-day-and-night/package.json +1 -1
  286. package/examples/typescript/map-globe-rotate-to-country/package.json +1 -1
  287. package/examples/typescript/map-globe-with-projected-circles/index.ts +1 -1
  288. package/examples/typescript/map-globe-with-projected-circles/package.json +1 -1
  289. package/examples/typescript/map-with-bubbles/package.json +1 -1
  290. package/examples/typescript/map-zoom-to-country/package.json +1 -1
  291. package/examples/typescript/misc-40-charts/package.json +1 -1
  292. package/examples/typescript/misc-microchart-grid/package.json +1 -1
  293. package/examples/typescript/pie-chart/package.json +1 -1
  294. package/examples/typescript/pie-donut-chart/package.json +1 -1
  295. package/examples/typescript/pie-variable-radius/package.json +1 -1
  296. package/examples/typescript/radar-column-iwatch-style/package.json +1 -1
  297. package/examples/typescript/radar-heat-map/package.json +1 -1
  298. package/examples/typescript/radar-line/package.json +1 -1
  299. package/examples/typescript/radar-time-line/index.ts +8 -4
  300. package/examples/typescript/radar-time-line/package.json +1 -1
  301. package/examples/typescript/sliced-funnel/package.json +1 -1
  302. package/examples/typescript/sliced-pictorial-stacked/package.json +1 -1
  303. package/examples/typescript/sliced-pyramid/package.json +1 -1
  304. package/examples/typescript/venn-diagram/README.md +6 -0
  305. package/examples/typescript/venn-diagram/index.css +11 -0
  306. package/examples/typescript/venn-diagram/index.html +12 -0
  307. package/examples/typescript/venn-diagram/index.ts +59 -0
  308. package/examples/typescript/venn-diagram/package.json +18 -0
  309. package/examples/typescript/venn-diagram/tsconfig.json +12 -0
  310. package/examples/typescript/venn-diagram/webpack.config.js +45 -0
  311. package/examples/typescript/wordcloud-with-data/README.md +6 -0
  312. package/examples/typescript/wordcloud-with-data/index.css +11 -0
  313. package/examples/typescript/wordcloud-with-data/index.html +12 -0
  314. package/examples/typescript/wordcloud-with-data/index.ts +115 -0
  315. package/examples/typescript/wordcloud-with-data/package.json +18 -0
  316. package/examples/typescript/wordcloud-with-data/tsconfig.json +12 -0
  317. package/examples/typescript/wordcloud-with-data/webpack.config.js +45 -0
  318. package/examples/typescript/wordcloud-with-text/README.md +6 -0
  319. package/examples/typescript/wordcloud-with-text/index.css +11 -0
  320. package/examples/typescript/wordcloud-with-text/index.html +12 -0
  321. package/examples/typescript/wordcloud-with-text/index.ts +35 -0
  322. package/examples/typescript/wordcloud-with-text/package.json +18 -0
  323. package/examples/typescript/wordcloud-with-text/tsconfig.json +12 -0
  324. package/examples/typescript/wordcloud-with-text/webpack.config.js +45 -0
  325. package/examples/typescript/xy-100-percent-stacked-column/index.ts +1 -1
  326. package/examples/typescript/xy-100-percent-stacked-column/package.json +1 -1
  327. package/examples/typescript/xy-animated-bullet-at-the-end-of-the-series/package.json +1 -1
  328. package/examples/typescript/xy-bubble/package.json +1 -1
  329. package/examples/typescript/xy-candlestick/package.json +1 -1
  330. package/examples/typescript/xy-clustered-column/index.ts +1 -1
  331. package/examples/typescript/xy-clustered-column/package.json +1 -1
  332. package/examples/typescript/xy-column/package.json +1 -1
  333. package/examples/typescript/xy-comparing-series-google-analytics-style/package.json +1 -1
  334. package/examples/typescript/xy-data-grouping/package.json +1 -1
  335. package/examples/typescript/xy-draggable-range/package.json +1 -1
  336. package/examples/typescript/xy-drawing-series-with-mouse-or-touch/package.json +1 -1
  337. package/examples/typescript/xy-dumbbell plot/package.json +1 -1
  338. package/examples/typescript/xy-evenly-spaced-date-axis/package.json +1 -1
  339. package/examples/typescript/xy-line/package.json +1 -1
  340. package/examples/typescript/xy-line-highlight-on-legend-hover/package.json +1 -1
  341. package/examples/typescript/xy-live-data/package.json +1 -1
  342. package/examples/typescript/xy-multiple-synced-value-axes/package.json +1 -1
  343. package/examples/typescript/xy-ohlc/package.json +1 -1
  344. package/examples/typescript/xy-real-time-data-sorting/package.json +1 -1
  345. package/examples/typescript/xy-smoothed-line/package.json +1 -1
  346. package/examples/typescript/xy-stacked-and-clustered-column/index.ts +1 -1
  347. package/examples/typescript/xy-stacked-and-clustered-column/package.json +1 -1
  348. package/examples/typescript/xy-stacked-column/package.json +1 -1
  349. package/examples/typescript/xy-stacked-step/package.json +1 -1
  350. package/examples/typescript/xy-stock/package.json +1 -1
  351. package/examples/typescript/xy-stock-comparing/package.json +1 -1
  352. package/index.d.ts +1 -0
  353. package/index.d.ts.map +1 -1
  354. package/index.js +1 -0
  355. package/index.js.map +1 -1
  356. package/package.json +6 -1
  357. package/plugins/exporting.d.ts +1 -0
  358. package/plugins/exporting.d.ts.map +1 -1
  359. package/plugins/exporting.js +1 -0
  360. package/plugins/exporting.js.map +1 -1
  361. package/venn.d.ts +2 -0
  362. package/venn.d.ts.map +1 -0
  363. package/venn.js +2 -0
  364. package/venn.js.map +1 -0
  365. package/wc.d.ts +2 -0
  366. package/wc.d.ts.map +1 -0
  367. package/wc.js +2 -0
  368. package/wc.js.map +1 -0
  369. package/xy.d.ts +1 -0
  370. package/xy.d.ts.map +1 -1
  371. package/xy.js +1 -0
  372. package/xy.js.map +1 -1
@@ -3,7 +3,7 @@
3
3
  "name": "amcharts5-example-radar-column-iwatch-style",
4
4
  "version": "0.1.0",
5
5
  "devDependencies": {
6
- "@amcharts/amcharts5": "^5.0.0-beta.32",
6
+ "@amcharts/amcharts5": "^5.0.0-beta.36",
7
7
  "source-map-loader": "^3.0.0",
8
8
  "ts-loader": "^9.2.2",
9
9
  "typescript": "^4.3.4",
@@ -3,7 +3,7 @@
3
3
  "name": "amcharts5-example-radar-heat-map",
4
4
  "version": "0.1.0",
5
5
  "devDependencies": {
6
- "@amcharts/amcharts5": "^5.0.0-beta.32",
6
+ "@amcharts/amcharts5": "^5.0.0-beta.36",
7
7
  "source-map-loader": "^3.0.0",
8
8
  "ts-loader": "^9.2.2",
9
9
  "typescript": "^4.3.4",
@@ -3,7 +3,7 @@
3
3
  "name": "amcharts5-example-radar-line",
4
4
  "version": "0.1.0",
5
5
  "devDependencies": {
6
- "@amcharts/amcharts5": "^5.0.0-beta.32",
6
+ "@amcharts/amcharts5": "^5.0.0-beta.36",
7
7
  "source-map-loader": "^3.0.0",
8
8
  "ts-loader": "^9.2.2",
9
9
  "typescript": "^4.3.4",
@@ -9,10 +9,16 @@ import am5themes_Animated from "@amcharts/amcharts5/themes/Animated";
9
9
  const root = am5.Root.new("chartdiv");
10
10
 
11
11
 
12
+ // Create custom theme
13
+ const myTheme = am5.Theme.new(root);
14
+ myTheme.rule("Label").set("fontSize", 10);
15
+ myTheme.rule("Grid").set("strokeOpacity", 0.06);
16
+
12
17
  // Set themes
13
18
  // https://www.amcharts.com/docs/v5/concepts/themes/
14
19
  root.setThemes([
15
- am5themes_Animated.new(root)
20
+ am5themes_Animated.new(root),
21
+ myTheme
16
22
  ]);
17
23
 
18
24
  var temperatures = {
@@ -133,8 +139,6 @@ var temperatures = {
133
139
  }
134
140
 
135
141
  // Modify defaults
136
- root.defaultTheme.rule("Label").set("fontSize", 10);
137
- root.defaultTheme.rule("Grid").set("strokeOpacity", 0.06);
138
142
  root.numberFormatter.set("numberFormat", "+#.0°C|#.0°C|0.0°C");
139
143
 
140
144
  var startYear = 1973;
@@ -218,7 +222,7 @@ const series = chart.series.push(am5radar.RadarColumnSeries.new(root, {
218
222
  series.columns.template.set("strokeOpacity", 0);
219
223
 
220
224
  const tooltip = series.set("tooltip", am5.Tooltip.new(root, {}));
221
- tooltip.label.set("text", "{categoryX}:{valueY}");
225
+ tooltip.label.set("text", "{categoryX}: {valueY}");
222
226
 
223
227
 
224
228
  // Set up heat rules
@@ -3,7 +3,7 @@
3
3
  "name": "amcharts5-example-radar-time-line",
4
4
  "version": "0.1.0",
5
5
  "devDependencies": {
6
- "@amcharts/amcharts5": "^5.0.0-beta.32",
6
+ "@amcharts/amcharts5": "^5.0.0-beta.36",
7
7
  "source-map-loader": "^3.0.0",
8
8
  "ts-loader": "^9.2.2",
9
9
  "typescript": "^4.3.4",
@@ -3,7 +3,7 @@
3
3
  "name": "amcharts5-example-sliced-funnel",
4
4
  "version": "0.1.0",
5
5
  "devDependencies": {
6
- "@amcharts/amcharts5": "^5.0.0-beta.32",
6
+ "@amcharts/amcharts5": "^5.0.0-beta.36",
7
7
  "source-map-loader": "^3.0.0",
8
8
  "ts-loader": "^9.2.2",
9
9
  "typescript": "^4.3.4",
@@ -3,7 +3,7 @@
3
3
  "name": "amcharts5-example-sliced-pictorial-stacked",
4
4
  "version": "0.1.0",
5
5
  "devDependencies": {
6
- "@amcharts/amcharts5": "^5.0.0-beta.32",
6
+ "@amcharts/amcharts5": "^5.0.0-beta.36",
7
7
  "source-map-loader": "^3.0.0",
8
8
  "ts-loader": "^9.2.2",
9
9
  "typescript": "^4.3.4",
@@ -3,7 +3,7 @@
3
3
  "name": "amcharts5-example-sliced-pyramid",
4
4
  "version": "0.1.0",
5
5
  "devDependencies": {
6
- "@amcharts/amcharts5": "^5.0.0-beta.32",
6
+ "@amcharts/amcharts5": "^5.0.0-beta.36",
7
7
  "source-map-loader": "^3.0.0",
8
8
  "ts-loader": "^9.2.2",
9
9
  "typescript": "^4.3.4",
@@ -0,0 +1,6 @@
1
+ Steps to use
2
+ ============
3
+
4
+ 1. Run `yarn`
5
+
6
+ 2. Run `yarn start` for development, or `yarn build` for production
@@ -0,0 +1,11 @@
1
+ body {
2
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
3
+ padding: 0;
4
+ margin: 0;
5
+ background-color: #ffffff;
6
+ }
7
+
8
+ #chartdiv {
9
+ width: 100%;
10
+ height: 80vh;
11
+ }
@@ -0,0 +1,12 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <title>amCharts 5 Example - venn-diagram</title>
6
+ <link rel="stylesheet" href="index.css" />
7
+ </head>
8
+ <body>
9
+ <div id="chartdiv"></div>
10
+ <script src="dist/index.js"></script>
11
+ </body>
12
+ </html>
@@ -0,0 +1,59 @@
1
+ import * as am5 from "@amcharts/amcharts5";
2
+ import * as am5venn from "@amcharts/amcharts5/venn";
3
+ import am5themes_Animated from "@amcharts/amcharts5/themes/Animated";
4
+
5
+ // Create root
6
+ let root = am5.Root.new("chartdiv");
7
+
8
+ // Set themes
9
+ root.setThemes([
10
+ am5themes_Animated.new(root)
11
+ ]);
12
+
13
+ // Create wrapper container
14
+ let container = root.container.children.push(am5.Container.new(root, {
15
+ width: am5.p100,
16
+ height: am5.p100,
17
+ layout: root.verticalLayout
18
+ }));
19
+
20
+ // Create venn series
21
+ let chart = container.children.push(am5venn.Venn.new(root, {
22
+ categoryField: "name",
23
+ valueField: "value",
24
+ intersectionsField: "sets",
25
+ paddingTop: 40,
26
+ paddingBottom: 40,
27
+ paddingLeft: 40,
28
+ paddingRight: 40
29
+ }));
30
+
31
+ // Set data
32
+ chart.data.setAll([
33
+ { name: "A", value: 10 },
34
+ { name: "B", value: 10 },
35
+ { name: "C", value: 5 },
36
+ { name: "X", value: 4, sets: ["A", "B"] },
37
+ { name: "Y", value: 2, sets: ["A", "C"] },
38
+ { name: "Z", value: 2, sets: ["B", "C"] },
39
+ { name: "Q", value: 1, sets: ["A", "B", "C"]
40
+ }]);
41
+
42
+ // Set tooltip content
43
+ chart.slices.template.set("tooltipText", "{category}: {value}");
44
+
45
+ // Set up hover appearance
46
+ chart.hoverGraphics.setAll({
47
+ strokeDasharray: [3, 3],
48
+ stroke: am5.color(0xffffff),
49
+ strokeWidth: 2
50
+ });
51
+
52
+ // Add legend
53
+ let legend = container.children.push(
54
+ am5.Legend.new(root, {
55
+ centerX: am5.p50,
56
+ x: am5.p50
57
+ })
58
+ );
59
+ legend.data.setAll(chart.dataItems);
@@ -0,0 +1,18 @@
1
+ {
2
+ "private": true,
3
+ "name": "amcharts5-example-venn-diagram",
4
+ "version": "0.1.0",
5
+ "devDependencies": {
6
+ "@amcharts/amcharts5": "^5.0.0-beta.36",
7
+ "source-map-loader": "^3.0.0",
8
+ "ts-loader": "^9.2.2",
9
+ "typescript": "^4.3.4",
10
+ "webpack": "^5.1.3",
11
+ "webpack-cli": "^4.1.0",
12
+ "webpack-dev-server": "^3.11.0"
13
+ },
14
+ "scripts": {
15
+ "build": "webpack",
16
+ "start": "webpack serve --mode development"
17
+ }
18
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "compilerOptions": {
3
+ "strict": true,
4
+ "esModuleInterop": true,
5
+ "sourceMap": true,
6
+ "inlineSources": true,
7
+ "moduleResolution": "node",
8
+ "module": "esnext",
9
+ "target": "es5",
10
+ "lib": ["es6"]
11
+ }
12
+ }
@@ -0,0 +1,45 @@
1
+ var $path = require("path");
2
+
3
+ module.exports = {
4
+ mode: "production",
5
+
6
+ devtool: "source-map",
7
+
8
+ stats: "errors-warnings",
9
+
10
+ target: ["web", "es5"],
11
+
12
+ entry: {
13
+ index: "./index.ts",
14
+ },
15
+
16
+ devServer: {
17
+ publicPath: "/dist/",
18
+ liveReload: true,
19
+ overlay: true,
20
+ noInfo: true,
21
+ open: true
22
+ },
23
+
24
+ output: {
25
+ path: $path.join(__dirname, "dist"),
26
+ publicPath: "dist/",
27
+ filename: "[name].js",
28
+ chunkFilename: "[name].js"
29
+ },
30
+
31
+ resolve: {
32
+ extensions: [".ts", ".tsx", ".js"]
33
+ },
34
+
35
+ module: {
36
+ rules: [{
37
+ test: /.tsx?$/,
38
+ loader: "ts-loader"
39
+ }, {
40
+ test: /.js$/,
41
+ use: ["source-map-loader"],
42
+ enforce: "pre"
43
+ }]
44
+ }
45
+ };
@@ -0,0 +1,6 @@
1
+ Steps to use
2
+ ============
3
+
4
+ 1. Run `yarn`
5
+
6
+ 2. Run `yarn start` for development, or `yarn build` for production
@@ -0,0 +1,11 @@
1
+ body {
2
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
3
+ padding: 0;
4
+ margin: 0;
5
+ background-color: #ffffff;
6
+ }
7
+
8
+ #chartdiv {
9
+ width: 100%;
10
+ height: 80vh;
11
+ }
@@ -0,0 +1,12 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <title>amCharts 5 Example - wordcloud-with-data</title>
6
+ <link rel="stylesheet" href="index.css" />
7
+ </head>
8
+ <body>
9
+ <div id="chartdiv"></div>
10
+ <script src="dist/index.js"></script>
11
+ </body>
12
+ </html>
@@ -0,0 +1,115 @@
1
+ import * as am5 from "@amcharts/amcharts5";
2
+ import * as am5wc from "@amcharts/amcharts5/wc";
3
+ import am5themes_Animated from "@amcharts/amcharts5/themes/Animated";
4
+
5
+
6
+ // Create root element
7
+ // https://www.amcharts.com/docs/v5/getting-started/#Root_element
8
+ const root = am5.Root.new("chartdiv");
9
+
10
+
11
+ // Set themes
12
+ // https://www.amcharts.com/docs/v5/concepts/themes/
13
+ root.setThemes([
14
+ am5themes_Animated.new(root)
15
+ ]);
16
+
17
+
18
+ // Add wrapper container
19
+ let container = root.container.children.push(am5.Container.new(root, {
20
+ width: am5.percent(100),
21
+ height: am5.percent(100),
22
+ layout: root.verticalLayout
23
+ }));
24
+
25
+
26
+ // Add chart title
27
+ let title = container.children.push(am5.Label.new(root, {
28
+ text: "Most popular languages on StackOverflow",
29
+ fontSize: 20,
30
+ x: am5.percent(50),
31
+ centerX: am5.percent(50)
32
+ }));
33
+
34
+
35
+ // Add series
36
+ // https://www.amcharts.com/docs/v5/charts/word-cloud/
37
+ var series = container.children.push(am5wc.WordCloud.new(root, {
38
+ categoryField: "tag",
39
+ valueField: "weight",
40
+ calculateAggregates: true // this is needed for heat rules to work
41
+ }));
42
+
43
+
44
+ // Set up heat rules
45
+ // https://www.amcharts.com/docs/v5/charts/word-cloud/#Via_heat_rules
46
+ series.set("heatRules", [{
47
+ target: series.labels.template,
48
+ dataField: "value",
49
+ min: am5.color(0xFFD4C2),
50
+ max: am5.color(0xFF621F),
51
+ key: "fill"
52
+ }]);
53
+
54
+
55
+ // Configure labels
56
+ series.labels.template.setAll({
57
+ paddingTop: 5,
58
+ paddingBottom: 5,
59
+ paddingLeft: 5,
60
+ paddingRight: 5,
61
+ fontFamily: "Courier New",
62
+ cursorOverStyle: "pointer"
63
+ });
64
+
65
+
66
+ // Add click event on words
67
+ // https://www.amcharts.com/docs/v5/charts/word-cloud/#Events
68
+ series.labels.template.events.on("click", (ev: any) => {
69
+ const category = ev.target.dataItem.get("category");
70
+ window.open("https://stackoverflow.com/questions/tagged/" + encodeURIComponent(category));
71
+ });
72
+
73
+
74
+ // Data from:
75
+ // https://insights.stackoverflow.com/survey/2021#section-most-popular-technologies-programming-scripting-and-markup-languages
76
+ series.data.setAll([
77
+ { tag: "JavaScript", weight: 64.96 },
78
+ { tag: "HTML/CSS", weight: 56.07 },
79
+ { tag: "Python", weight: 48.24 },
80
+ { tag: "SQL", weight: 47.08 },
81
+ { tag: "Java", weight: 35.35 },
82
+ { tag: "Node.js", weight: 33.91 },
83
+ { tag: "TypeScript", weight: 30.19 },
84
+ { tag: "C#", weight: 27.86 },
85
+ { tag: "Bash/Shell", weight: 27.13 },
86
+ { tag: "C++", weight: 24.31 },
87
+ { tag: "PHP", weight: 21.98 },
88
+ { tag: "C", weight: 21.01 },
89
+ { tag: "PowerShell", weight: 10.75 },
90
+ { tag: "Go", weight: 9.55 },
91
+ { tag: "Kotlin", weight: 8.32 },
92
+ { tag: "Rust", weight: 7.03 },
93
+ { tag: "Ruby", weight: 6.75 },
94
+ { tag: "Dart", weight: 6.02 },
95
+ { tag: "Assembly", weight: 5.61 },
96
+ { tag: "Swift", weight: 5.1 },
97
+ { tag: "R", weight: 5.07 },
98
+ { tag: "VBA", weight: 4.66 },
99
+ { tag: "Matlab", weight: 4.66 },
100
+ { tag: "Groovy", weight: 3.01 },
101
+ { tag: "Objective-C", weight: 2.8 },
102
+ { tag: "Scala", weight: 2.6 },
103
+ { tag: "Perl", weight: 2.46 },
104
+ { tag: "Haskell", weight: 2.12 },
105
+ { tag: "Delphi", weight: 2.1 },
106
+ { tag: "Clojure", weight: 1.88 },
107
+ { tag: "Elixir", weight: 1.74 },
108
+ { tag: "LISP", weight: 1.33 },
109
+ { tag: "Julia", weight: 1.29 },
110
+ { tag: "F#", weight: 0.97 },
111
+ { tag: "Erlang", weight: 0.79 },
112
+ { tag: "APL", weight: 0.65 },
113
+ { tag: "Crystal", weight: 0.56 },
114
+ { tag: "COBOL", weight: 0.53 },
115
+ ]);
@@ -0,0 +1,18 @@
1
+ {
2
+ "private": true,
3
+ "name": "amcharts5-example-wordcloud-with-data",
4
+ "version": "0.1.0",
5
+ "devDependencies": {
6
+ "@amcharts/amcharts5": "^5.0.0-beta.36",
7
+ "source-map-loader": "^3.0.0",
8
+ "ts-loader": "^9.2.2",
9
+ "typescript": "^4.3.4",
10
+ "webpack": "^5.1.3",
11
+ "webpack-cli": "^4.1.0",
12
+ "webpack-dev-server": "^3.11.0"
13
+ },
14
+ "scripts": {
15
+ "build": "webpack",
16
+ "start": "webpack serve --mode development"
17
+ }
18
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "compilerOptions": {
3
+ "strict": true,
4
+ "esModuleInterop": true,
5
+ "sourceMap": true,
6
+ "inlineSources": true,
7
+ "moduleResolution": "node",
8
+ "module": "esnext",
9
+ "target": "es5",
10
+ "lib": ["es6"]
11
+ }
12
+ }
@@ -0,0 +1,45 @@
1
+ var $path = require("path");
2
+
3
+ module.exports = {
4
+ mode: "production",
5
+
6
+ devtool: "source-map",
7
+
8
+ stats: "errors-warnings",
9
+
10
+ target: ["web", "es5"],
11
+
12
+ entry: {
13
+ index: "./index.ts",
14
+ },
15
+
16
+ devServer: {
17
+ publicPath: "/dist/",
18
+ liveReload: true,
19
+ overlay: true,
20
+ noInfo: true,
21
+ open: true
22
+ },
23
+
24
+ output: {
25
+ path: $path.join(__dirname, "dist"),
26
+ publicPath: "dist/",
27
+ filename: "[name].js",
28
+ chunkFilename: "[name].js"
29
+ },
30
+
31
+ resolve: {
32
+ extensions: [".ts", ".tsx", ".js"]
33
+ },
34
+
35
+ module: {
36
+ rules: [{
37
+ test: /.tsx?$/,
38
+ loader: "ts-loader"
39
+ }, {
40
+ test: /.js$/,
41
+ use: ["source-map-loader"],
42
+ enforce: "pre"
43
+ }]
44
+ }
45
+ };
@@ -0,0 +1,6 @@
1
+ Steps to use
2
+ ============
3
+
4
+ 1. Run `yarn`
5
+
6
+ 2. Run `yarn start` for development, or `yarn build` for production
@@ -0,0 +1,11 @@
1
+ body {
2
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
3
+ padding: 0;
4
+ margin: 0;
5
+ background-color: #ffffff;
6
+ }
7
+
8
+ #chartdiv {
9
+ width: 100%;
10
+ height: 80vh;
11
+ }
@@ -0,0 +1,12 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <title>amCharts 5 Example - wordcloud-with-text</title>
6
+ <link rel="stylesheet" href="index.css" />
7
+ </head>
8
+ <body>
9
+ <div id="chartdiv"></div>
10
+ <script src="dist/index.js"></script>
11
+ </body>
12
+ </html>
@@ -0,0 +1,35 @@
1
+ import * as am5 from "@amcharts/amcharts5";
2
+ import * as am5wc from "@amcharts/amcharts5/wc";
3
+ import am5themes_Animated from "@amcharts/amcharts5/themes/Animated";
4
+
5
+
6
+ // Create root element
7
+ // https://www.amcharts.com/docs/v5/getting-started/#Root_element
8
+ const root = am5.Root.new("chartdiv");
9
+
10
+
11
+ // Set themes
12
+ // https://www.amcharts.com/docs/v5/concepts/themes/
13
+ root.setThemes([
14
+ am5themes_Animated.new(root)
15
+ ]);
16
+
17
+
18
+ // Add series
19
+ // https://www.amcharts.com/docs/v5/charts/word-cloud/
20
+ var series = root.container.children.push(am5wc.WordCloud.new(root, {
21
+ maxCount: 150,
22
+ maxFontSize: am5.percent(25),
23
+ minWordLength: 2,
24
+ text: "Though yet of Hamlet our dear brother's death The memory be green, and that it us befitted To bear our hearts in grief and our whole kingdom To be contracted in one brow of woe, Yet so far hath discretion fought with nature That we with wisest sorrow think on him, Together with remembrance of ourselves. Therefore our sometime sister, now our queen, The imperial jointress to this warlike state, Have we, as 'twere with a defeated joy,-- With an auspicious and a dropping eye, With mirth in funeral and with dirge in marriage, In equal scale weighing delight and dole,-- Taken to wife: nor have we herein barr'd Your better wisdoms, which have freely gone With this affair along. For all, our thanks. Now follows, that you know, young Fortinbras, Holding a weak supposal of our worth, Or thinking by our late dear brother's death Our state to be disjoint and out of frame, Colleagued with the dream of his advantage, He hath not fail'd to pester us with message, Importing the surrender of those lands Lost by his father, with all bonds of law, To our most valiant brother. So much for him. Now for ourself and for this time of meeting: Thus much the business is: we have here writ To Norway, uncle of young Fortinbras,-- Who, impotent and bed-rid, scarcely hears Of this his nephew's purpose,--to suppress His further gait herein; in that the levies, The lists and full proportions, are all made Out of his subject: and we here dispatch You, good Cornelius, and you, Voltimand, For bearers of this greeting to old Norway; Giving to you no further personal power To business with the king, more than the scope Of these delated articles allow. Farewell, and let your haste commend your duty. Tis sweet and commendable in your nature, Hamlet,To give these mourning duties to your father: But, you must know, your father lost a father; That father lost, lost his, and the survivor bound In filial obligation for some term To do obsequious sorrow: but to persever In obstinate condolement is a course Of impious stubbornness; 'tis unmanly grief; It shows a will most incorrect to heaven, A heart unfortified, a mind impatient, An understanding simple and unschool'd: For what we know must be and is as common As any the most vulgar thing to sense, Why should we in our peevish opposition Take it to heart? Fie! 'tis a fault to heaven, A fault against the dead, a fault to nature, To reason most absurd: whose common theme Is death of fathers, and who still hath cried, From the first corse till he that died to-day, 'This must be so.' We pray you, throw to earth This unprevailing woe, and think of us As of a father: for let the world take note, You are the most immediate to our throne; And with no less nobility of love Than that which dearest father bears his son, Do I impart toward you. For your intent In going back to school in Wittenberg, It is most retrograde to our desire: And we beseech you, bend you to remain Here, in the cheer and comfort of our eye, Our chiefest courtier, cousin, and our son.",
25
+ }));
26
+
27
+
28
+ // Configure labels
29
+ series.labels.template.setAll({
30
+ paddingTop: 5,
31
+ paddingBottom: 5,
32
+ paddingLeft: 5,
33
+ paddingRight: 5,
34
+ fontFamily: "Courier New"
35
+ });
@@ -0,0 +1,18 @@
1
+ {
2
+ "private": true,
3
+ "name": "amcharts5-example-wordcloud-with-text",
4
+ "version": "0.1.0",
5
+ "devDependencies": {
6
+ "@amcharts/amcharts5": "^5.0.0-beta.36",
7
+ "source-map-loader": "^3.0.0",
8
+ "ts-loader": "^9.2.2",
9
+ "typescript": "^4.3.4",
10
+ "webpack": "^5.1.3",
11
+ "webpack-cli": "^4.1.0",
12
+ "webpack-dev-server": "^3.11.0"
13
+ },
14
+ "scripts": {
15
+ "build": "webpack",
16
+ "start": "webpack serve --mode development"
17
+ }
18
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "compilerOptions": {
3
+ "strict": true,
4
+ "esModuleInterop": true,
5
+ "sourceMap": true,
6
+ "inlineSources": true,
7
+ "moduleResolution": "node",
8
+ "module": "esnext",
9
+ "target": "es5",
10
+ "lib": ["es6"]
11
+ }
12
+ }
@@ -0,0 +1,45 @@
1
+ var $path = require("path");
2
+
3
+ module.exports = {
4
+ mode: "production",
5
+
6
+ devtool: "source-map",
7
+
8
+ stats: "errors-warnings",
9
+
10
+ target: ["web", "es5"],
11
+
12
+ entry: {
13
+ index: "./index.ts",
14
+ },
15
+
16
+ devServer: {
17
+ publicPath: "/dist/",
18
+ liveReload: true,
19
+ overlay: true,
20
+ noInfo: true,
21
+ open: true
22
+ },
23
+
24
+ output: {
25
+ path: $path.join(__dirname, "dist"),
26
+ publicPath: "dist/",
27
+ filename: "[name].js",
28
+ chunkFilename: "[name].js"
29
+ },
30
+
31
+ resolve: {
32
+ extensions: [".ts", ".tsx", ".js"]
33
+ },
34
+
35
+ module: {
36
+ rules: [{
37
+ test: /.tsx?$/,
38
+ loader: "ts-loader"
39
+ }, {
40
+ test: /.js$/,
41
+ use: ["source-map-loader"],
42
+ enforce: "pre"
43
+ }]
44
+ }
45
+ };
@@ -100,7 +100,7 @@ function makeSeries(name: string, fieldName: string) {
100
100
  }));
101
101
 
102
102
  series.columns.template.setAll({
103
- tooltipText: "{name}, {categoryX}:{valueYTotalPercent.formatNumber('#.#')}%",
103
+ tooltipText: "{name}, {categoryX}: {valueYTotalPercent.formatNumber('#.#')}%",
104
104
  tooltipY: am5.percent(10)
105
105
  });
106
106
  series.data.setAll(data);