highcharts 9.1.1 → 9.1.2

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 (424) hide show
  1. package/bower.json +1 -1
  2. package/css/annotations/popup.css +29 -28
  3. package/css/annotations/popup.scss +29 -27
  4. package/es-modules/Core/Axis/Axis.js +24 -17
  5. package/es-modules/Core/Axis/AxisDefaults.js +0 -1
  6. package/es-modules/Core/Axis/OrdinalAxis.js +141 -61
  7. package/es-modules/Core/Globals.js +7 -1
  8. package/es-modules/Core/Renderer/SVG/SVGRenderer.js +1 -1
  9. package/es-modules/Core/Series/Series.js +16 -1
  10. package/es-modules/Core/Time.js +2 -2
  11. package/es-modules/Core/Tooltip.js +7 -11
  12. package/es-modules/Extensions/Annotations/NavigationBindings.js +1 -1
  13. package/es-modules/Extensions/Annotations/Popup.js +4 -1
  14. package/es-modules/Extensions/Boost/WGLRenderer.js +5 -0
  15. package/es-modules/Extensions/Drilldown.js +39 -12
  16. package/es-modules/Extensions/OfflineExporting.js +1 -1
  17. package/es-modules/Extensions/Oldie/Oldie.js +1 -1
  18. package/es-modules/Extensions/PatternFill.js +23 -10
  19. package/es-modules/Stock/StockToolsGui.js +1 -1
  20. package/es-modules/masters/highcharts-3d.src.js +1 -1
  21. package/es-modules/masters/highcharts-gantt.src.js +1 -1
  22. package/es-modules/masters/highcharts-more.src.js +1 -1
  23. package/es-modules/masters/highcharts.src.js +1 -1
  24. package/es-modules/masters/highmaps.src.js +1 -1
  25. package/es-modules/masters/highstock.src.js +1 -1
  26. package/es-modules/masters/indicators/acceleration-bands.src.js +1 -1
  27. package/es-modules/masters/indicators/accumulation-distribution.src.js +1 -1
  28. package/es-modules/masters/indicators/ao.src.js +1 -1
  29. package/es-modules/masters/indicators/apo.src.js +1 -1
  30. package/es-modules/masters/indicators/aroon-oscillator.src.js +1 -1
  31. package/es-modules/masters/indicators/aroon.src.js +1 -1
  32. package/es-modules/masters/indicators/atr.src.js +1 -1
  33. package/es-modules/masters/indicators/bollinger-bands.src.js +1 -1
  34. package/es-modules/masters/indicators/cci.src.js +1 -1
  35. package/es-modules/masters/indicators/chaikin.src.js +1 -1
  36. package/es-modules/masters/indicators/cmf.src.js +1 -1
  37. package/es-modules/masters/indicators/cmo.src.js +1 -1
  38. package/es-modules/masters/indicators/dema.src.js +1 -1
  39. package/es-modules/masters/indicators/disparity-index.src.js +1 -1
  40. package/es-modules/masters/indicators/dmi.src.js +1 -1
  41. package/es-modules/masters/indicators/dpo.src.js +1 -1
  42. package/es-modules/masters/indicators/ema.src.js +1 -1
  43. package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +1 -1
  44. package/es-modules/masters/indicators/indicators-all.src.js +1 -1
  45. package/es-modules/masters/indicators/indicators.src.js +1 -1
  46. package/es-modules/masters/indicators/keltner-channels.src.js +1 -1
  47. package/es-modules/masters/indicators/klinger.src.js +1 -1
  48. package/es-modules/masters/indicators/macd.src.js +1 -1
  49. package/es-modules/masters/indicators/mfi.src.js +1 -1
  50. package/es-modules/masters/indicators/momentum.src.js +1 -1
  51. package/es-modules/masters/indicators/natr.src.js +1 -1
  52. package/es-modules/masters/indicators/obv.src.js +1 -1
  53. package/es-modules/masters/indicators/pivot-points.src.js +1 -1
  54. package/es-modules/masters/indicators/ppo.src.js +1 -1
  55. package/es-modules/masters/indicators/price-channel.src.js +1 -1
  56. package/es-modules/masters/indicators/price-envelopes.src.js +1 -1
  57. package/es-modules/masters/indicators/psar.src.js +1 -1
  58. package/es-modules/masters/indicators/regressions.src.js +1 -1
  59. package/es-modules/masters/indicators/roc.src.js +1 -1
  60. package/es-modules/masters/indicators/rsi.src.js +1 -1
  61. package/es-modules/masters/indicators/slow-stochastic.src.js +1 -1
  62. package/es-modules/masters/indicators/stochastic.src.js +1 -1
  63. package/es-modules/masters/indicators/supertrend.src.js +1 -1
  64. package/es-modules/masters/indicators/tema.src.js +1 -1
  65. package/es-modules/masters/indicators/trendline.src.js +1 -1
  66. package/es-modules/masters/indicators/trix.src.js +1 -1
  67. package/es-modules/masters/indicators/volume-by-price.src.js +1 -1
  68. package/es-modules/masters/indicators/vwap.src.js +1 -1
  69. package/es-modules/masters/indicators/williams-r.src.js +1 -1
  70. package/es-modules/masters/indicators/wma.src.js +1 -1
  71. package/es-modules/masters/indicators/zigzag.src.js +1 -1
  72. package/es-modules/masters/modules/accessibility.src.js +1 -1
  73. package/es-modules/masters/modules/annotations-advanced.src.js +1 -1
  74. package/es-modules/masters/modules/annotations.src.js +1 -1
  75. package/es-modules/masters/modules/arrow-symbols.src.js +1 -1
  76. package/es-modules/masters/modules/boost-canvas.src.js +1 -1
  77. package/es-modules/masters/modules/boost.src.js +1 -1
  78. package/es-modules/masters/modules/broken-axis.src.js +1 -1
  79. package/es-modules/masters/modules/bullet.src.js +1 -1
  80. package/es-modules/masters/modules/coloraxis.src.js +1 -1
  81. package/es-modules/masters/modules/current-date-indicator.src.js +1 -1
  82. package/es-modules/masters/modules/cylinder.src.js +1 -1
  83. package/es-modules/masters/modules/data.src.js +1 -1
  84. package/es-modules/masters/modules/datagrouping.src.js +1 -1
  85. package/es-modules/masters/modules/debugger.src.js +1 -1
  86. package/es-modules/masters/modules/dependency-wheel.src.js +1 -1
  87. package/es-modules/masters/modules/dotplot.src.js +1 -1
  88. package/es-modules/masters/modules/drag-panes.src.js +1 -1
  89. package/es-modules/masters/modules/draggable-points.src.js +1 -1
  90. package/es-modules/masters/modules/drilldown.src.js +1 -1
  91. package/es-modules/masters/modules/dumbbell.src.js +1 -1
  92. package/es-modules/masters/modules/export-data.src.js +1 -1
  93. package/es-modules/masters/modules/exporting.src.js +1 -1
  94. package/es-modules/masters/modules/full-screen.src.js +1 -1
  95. package/es-modules/masters/modules/funnel.src.js +1 -1
  96. package/es-modules/masters/modules/funnel3d.src.js +1 -1
  97. package/es-modules/masters/modules/gantt.src.js +1 -1
  98. package/es-modules/masters/modules/grid-axis.src.js +1 -1
  99. package/es-modules/masters/modules/heatmap.src.js +1 -1
  100. package/es-modules/masters/modules/histogram-bellcurve.src.js +1 -1
  101. package/es-modules/masters/modules/item-series.src.js +1 -1
  102. package/es-modules/masters/modules/lollipop.src.js +1 -1
  103. package/es-modules/masters/modules/map.src.js +1 -1
  104. package/es-modules/masters/modules/marker-clusters.src.js +1 -1
  105. package/es-modules/masters/modules/networkgraph.src.js +1 -1
  106. package/es-modules/masters/modules/no-data-to-display.src.js +1 -1
  107. package/es-modules/masters/modules/offline-exporting.src.js +1 -1
  108. package/es-modules/masters/modules/oldie-polyfills.src.js +1 -1
  109. package/es-modules/masters/modules/oldie.src.js +1 -1
  110. package/es-modules/masters/modules/organization.src.js +1 -1
  111. package/es-modules/masters/modules/overlapping-datalabels.src.js +1 -1
  112. package/es-modules/masters/modules/parallel-coordinates.src.js +1 -1
  113. package/es-modules/masters/modules/pareto.src.js +1 -1
  114. package/es-modules/masters/modules/pathfinder.src.js +1 -1
  115. package/es-modules/masters/modules/pattern-fill.src.js +1 -1
  116. package/es-modules/masters/modules/price-indicator.src.js +1 -1
  117. package/es-modules/masters/modules/pyramid3d.src.js +1 -1
  118. package/es-modules/masters/modules/sankey.src.js +1 -1
  119. package/es-modules/masters/modules/series-label.src.js +1 -1
  120. package/es-modules/masters/modules/solid-gauge.src.js +1 -1
  121. package/es-modules/masters/modules/sonification.src.js +1 -1
  122. package/es-modules/masters/modules/static-scale.src.js +1 -1
  123. package/es-modules/masters/modules/stock-tools.src.js +1 -1
  124. package/es-modules/masters/modules/stock.src.js +1 -1
  125. package/es-modules/masters/modules/streamgraph.src.js +1 -1
  126. package/es-modules/masters/modules/sunburst.src.js +1 -1
  127. package/es-modules/masters/modules/tilemap.src.js +1 -1
  128. package/es-modules/masters/modules/timeline.src.js +1 -1
  129. package/es-modules/masters/modules/treegrid.src.js +1 -1
  130. package/es-modules/masters/modules/treemap.src.js +1 -1
  131. package/es-modules/masters/modules/variable-pie.src.js +1 -1
  132. package/es-modules/masters/modules/variwide.src.js +1 -1
  133. package/es-modules/masters/modules/vector.src.js +1 -1
  134. package/es-modules/masters/modules/venn.src.js +1 -1
  135. package/es-modules/masters/modules/windbarb.src.js +1 -1
  136. package/es-modules/masters/modules/wordcloud.src.js +1 -1
  137. package/es-modules/masters/modules/xrange.src.js +1 -1
  138. package/es-modules/masters/themes/avocado.src.js +1 -1
  139. package/es-modules/masters/themes/dark-blue.src.js +1 -1
  140. package/es-modules/masters/themes/dark-green.src.js +1 -1
  141. package/es-modules/masters/themes/dark-unica.src.js +1 -1
  142. package/es-modules/masters/themes/gray.src.js +1 -1
  143. package/es-modules/masters/themes/grid-light.src.js +1 -1
  144. package/es-modules/masters/themes/grid.src.js +1 -1
  145. package/es-modules/masters/themes/high-contrast-dark.src.js +1 -1
  146. package/es-modules/masters/themes/high-contrast-light.src.js +1 -1
  147. package/es-modules/masters/themes/sand-signika.src.js +1 -1
  148. package/es-modules/masters/themes/skies.src.js +1 -1
  149. package/es-modules/masters/themes/sunset.src.js +1 -1
  150. package/highcharts-3d.js +1 -1
  151. package/highcharts-3d.src.js +1 -1
  152. package/highcharts-gantt.js +782 -782
  153. package/highcharts-gantt.js.map +1 -1
  154. package/highcharts-gantt.src.js +109 -87
  155. package/highcharts-more.js +1 -1
  156. package/highcharts-more.src.js +1 -1
  157. package/highcharts.d.ts +30 -9
  158. package/highcharts.js +467 -467
  159. package/highcharts.js.map +1 -1
  160. package/highcharts.src.d.ts +30 -9
  161. package/highcharts.src.js +109 -87
  162. package/highmaps.js +697 -697
  163. package/highmaps.js.map +1 -1
  164. package/highmaps.src.js +109 -87
  165. package/highstock.js +757 -755
  166. package/highstock.js.map +1 -1
  167. package/highstock.src.js +270 -157
  168. package/indicators/acceleration-bands.js +1 -1
  169. package/indicators/acceleration-bands.src.js +1 -1
  170. package/indicators/accumulation-distribution.js +1 -1
  171. package/indicators/accumulation-distribution.src.js +1 -1
  172. package/indicators/ao.js +1 -1
  173. package/indicators/ao.src.js +1 -1
  174. package/indicators/apo.js +1 -1
  175. package/indicators/apo.src.js +1 -1
  176. package/indicators/aroon-oscillator.js +1 -1
  177. package/indicators/aroon-oscillator.src.js +1 -1
  178. package/indicators/aroon.js +1 -1
  179. package/indicators/aroon.src.js +1 -1
  180. package/indicators/atr.js +1 -1
  181. package/indicators/atr.src.js +1 -1
  182. package/indicators/bollinger-bands.js +1 -1
  183. package/indicators/bollinger-bands.src.js +1 -1
  184. package/indicators/cci.js +1 -1
  185. package/indicators/cci.src.js +1 -1
  186. package/indicators/chaikin.js +1 -1
  187. package/indicators/chaikin.src.js +1 -1
  188. package/indicators/cmf.js +1 -1
  189. package/indicators/cmf.src.js +1 -1
  190. package/indicators/cmo.js +1 -1
  191. package/indicators/cmo.src.js +1 -1
  192. package/indicators/dema.js +1 -1
  193. package/indicators/dema.src.js +1 -1
  194. package/indicators/disparity-index.js +1 -1
  195. package/indicators/disparity-index.src.js +1 -1
  196. package/indicators/dmi.js +1 -1
  197. package/indicators/dmi.src.js +1 -1
  198. package/indicators/dpo.js +1 -1
  199. package/indicators/dpo.src.js +1 -1
  200. package/indicators/ema.js +1 -1
  201. package/indicators/ema.src.js +1 -1
  202. package/indicators/ichimoku-kinko-hyo.js +1 -1
  203. package/indicators/ichimoku-kinko-hyo.src.js +1 -1
  204. package/indicators/indicators-all.js +1 -1
  205. package/indicators/indicators-all.src.js +1 -1
  206. package/indicators/indicators.js +1 -1
  207. package/indicators/indicators.src.js +1 -1
  208. package/indicators/keltner-channels.js +1 -1
  209. package/indicators/keltner-channels.src.js +1 -1
  210. package/indicators/klinger.js +1 -1
  211. package/indicators/klinger.src.js +1 -1
  212. package/indicators/macd.js +1 -1
  213. package/indicators/macd.src.js +1 -1
  214. package/indicators/mfi.js +1 -1
  215. package/indicators/mfi.src.js +1 -1
  216. package/indicators/momentum.js +1 -1
  217. package/indicators/momentum.src.js +1 -1
  218. package/indicators/natr.js +1 -1
  219. package/indicators/natr.src.js +1 -1
  220. package/indicators/obv.js +1 -1
  221. package/indicators/obv.src.js +1 -1
  222. package/indicators/pivot-points.js +1 -1
  223. package/indicators/pivot-points.src.js +1 -1
  224. package/indicators/ppo.js +1 -1
  225. package/indicators/ppo.src.js +1 -1
  226. package/indicators/price-channel.js +1 -1
  227. package/indicators/price-channel.src.js +1 -1
  228. package/indicators/price-envelopes.js +1 -1
  229. package/indicators/price-envelopes.src.js +1 -1
  230. package/indicators/psar.js +1 -1
  231. package/indicators/psar.src.js +1 -1
  232. package/indicators/regressions.js +1 -1
  233. package/indicators/regressions.src.js +1 -1
  234. package/indicators/roc.js +1 -1
  235. package/indicators/roc.src.js +1 -1
  236. package/indicators/rsi.js +1 -1
  237. package/indicators/rsi.src.js +1 -1
  238. package/indicators/slow-stochastic.js +1 -1
  239. package/indicators/slow-stochastic.src.js +1 -1
  240. package/indicators/stochastic.js +1 -1
  241. package/indicators/stochastic.src.js +1 -1
  242. package/indicators/supertrend.js +1 -1
  243. package/indicators/supertrend.src.js +1 -1
  244. package/indicators/tema.js +1 -1
  245. package/indicators/tema.src.js +1 -1
  246. package/indicators/trendline.js +1 -1
  247. package/indicators/trendline.src.js +1 -1
  248. package/indicators/trix.js +1 -1
  249. package/indicators/trix.src.js +1 -1
  250. package/indicators/volume-by-price.js +1 -1
  251. package/indicators/volume-by-price.src.js +1 -1
  252. package/indicators/vwap.js +1 -1
  253. package/indicators/vwap.src.js +1 -1
  254. package/indicators/williams-r.js +1 -1
  255. package/indicators/williams-r.src.js +1 -1
  256. package/indicators/wma.js +1 -1
  257. package/indicators/wma.src.js +1 -1
  258. package/indicators/zigzag.js +1 -1
  259. package/indicators/zigzag.src.js +1 -1
  260. package/modules/accessibility.js +1 -1
  261. package/modules/accessibility.src.js +1 -1
  262. package/modules/annotations-advanced.js +16 -16
  263. package/modules/annotations-advanced.js.map +1 -1
  264. package/modules/annotations-advanced.src.js +6 -3
  265. package/modules/annotations.js +16 -16
  266. package/modules/annotations.js.map +1 -1
  267. package/modules/annotations.src.js +6 -3
  268. package/modules/arrow-symbols.js +1 -1
  269. package/modules/arrow-symbols.src.js +1 -1
  270. package/modules/boost-canvas.js +1 -1
  271. package/modules/boost-canvas.src.js +1 -1
  272. package/modules/boost.js +34 -34
  273. package/modules/boost.js.map +1 -1
  274. package/modules/boost.src.js +6 -1
  275. package/modules/broken-axis.js +1 -1
  276. package/modules/broken-axis.src.js +1 -1
  277. package/modules/bullet.js +1 -1
  278. package/modules/bullet.src.js +1 -1
  279. package/modules/coloraxis.js +1 -1
  280. package/modules/coloraxis.src.js +1 -1
  281. package/modules/current-date-indicator.js +1 -1
  282. package/modules/current-date-indicator.src.js +1 -1
  283. package/modules/cylinder.js +1 -1
  284. package/modules/cylinder.src.js +1 -1
  285. package/modules/data.js +1 -1
  286. package/modules/data.src.js +1 -1
  287. package/modules/datagrouping.js +1 -1
  288. package/modules/datagrouping.src.js +1 -1
  289. package/modules/debugger.js +1 -1
  290. package/modules/debugger.src.js +1 -1
  291. package/modules/dependency-wheel.js +1 -1
  292. package/modules/dependency-wheel.src.js +1 -1
  293. package/modules/dotplot.js +1 -1
  294. package/modules/dotplot.src.js +1 -1
  295. package/modules/drag-panes.js +1 -1
  296. package/modules/drag-panes.src.js +1 -1
  297. package/modules/draggable-points.js +1 -1
  298. package/modules/draggable-points.src.js +1 -1
  299. package/modules/drilldown.d.ts +27 -0
  300. package/modules/drilldown.js +16 -16
  301. package/modules/drilldown.js.map +1 -1
  302. package/modules/drilldown.src.d.ts +27 -0
  303. package/modules/drilldown.src.js +40 -14
  304. package/modules/dumbbell.js +1 -1
  305. package/modules/dumbbell.src.js +1 -1
  306. package/modules/export-data.js +1 -1
  307. package/modules/export-data.src.js +1 -1
  308. package/modules/exporting.js +1 -1
  309. package/modules/exporting.src.js +1 -1
  310. package/modules/full-screen.js +1 -1
  311. package/modules/full-screen.src.js +1 -1
  312. package/modules/funnel.js +1 -1
  313. package/modules/funnel.src.js +1 -1
  314. package/modules/funnel3d.js +1 -1
  315. package/modules/funnel3d.src.js +1 -1
  316. package/modules/gantt.js +1 -1
  317. package/modules/gantt.src.js +1 -1
  318. package/modules/grid-axis.js +1 -1
  319. package/modules/grid-axis.src.js +1 -1
  320. package/modules/heatmap.js +1 -1
  321. package/modules/heatmap.src.js +1 -1
  322. package/modules/histogram-bellcurve.js +1 -1
  323. package/modules/histogram-bellcurve.src.js +1 -1
  324. package/modules/item-series.js +1 -1
  325. package/modules/item-series.src.js +1 -1
  326. package/modules/lollipop.js +1 -1
  327. package/modules/lollipop.src.js +1 -1
  328. package/modules/map.js +1 -1
  329. package/modules/map.src.js +1 -1
  330. package/modules/marker-clusters.js +1 -1
  331. package/modules/marker-clusters.src.js +1 -1
  332. package/modules/networkgraph.js +1 -1
  333. package/modules/networkgraph.src.js +1 -1
  334. package/modules/no-data-to-display.js +1 -1
  335. package/modules/no-data-to-display.src.js +1 -1
  336. package/modules/offline-exporting.js +2 -2
  337. package/modules/offline-exporting.src.js +2 -2
  338. package/modules/oldie-polyfills.js +1 -1
  339. package/modules/oldie-polyfills.src.js +1 -1
  340. package/modules/oldie.js +2 -2
  341. package/modules/oldie.src.js +2 -2
  342. package/modules/organization.js +1 -1
  343. package/modules/organization.src.js +1 -1
  344. package/modules/overlapping-datalabels.js +1 -1
  345. package/modules/overlapping-datalabels.src.js +1 -1
  346. package/modules/parallel-coordinates.js +1 -1
  347. package/modules/parallel-coordinates.src.js +1 -1
  348. package/modules/pareto.js +1 -1
  349. package/modules/pareto.src.js +1 -1
  350. package/modules/pathfinder.js +1 -1
  351. package/modules/pathfinder.src.js +1 -1
  352. package/modules/pattern-fill.js +14 -14
  353. package/modules/pattern-fill.js.map +1 -1
  354. package/modules/pattern-fill.src.js +24 -12
  355. package/modules/price-indicator.js +1 -1
  356. package/modules/price-indicator.src.js +1 -1
  357. package/modules/pyramid3d.js +1 -1
  358. package/modules/pyramid3d.src.js +1 -1
  359. package/modules/sankey.js +1 -1
  360. package/modules/sankey.src.js +1 -1
  361. package/modules/series-label.js +1 -1
  362. package/modules/series-label.src.js +1 -1
  363. package/modules/solid-gauge.js +1 -1
  364. package/modules/solid-gauge.src.js +1 -1
  365. package/modules/sonification.js +1 -1
  366. package/modules/sonification.src.js +1 -1
  367. package/modules/static-scale.js +1 -1
  368. package/modules/static-scale.src.js +1 -1
  369. package/modules/stock-tools.js +2 -2
  370. package/modules/stock-tools.src.js +3 -3
  371. package/modules/stock.js +191 -189
  372. package/modules/stock.js.map +1 -1
  373. package/modules/stock.src.js +162 -71
  374. package/modules/streamgraph.js +1 -1
  375. package/modules/streamgraph.src.js +1 -1
  376. package/modules/sunburst.js +1 -1
  377. package/modules/sunburst.src.js +1 -1
  378. package/modules/tilemap.js +1 -1
  379. package/modules/tilemap.src.js +1 -1
  380. package/modules/timeline.js +1 -1
  381. package/modules/timeline.src.js +1 -1
  382. package/modules/treegrid.js +1 -1
  383. package/modules/treegrid.src.js +1 -1
  384. package/modules/treemap.js +1 -1
  385. package/modules/treemap.src.js +1 -1
  386. package/modules/variable-pie.js +1 -1
  387. package/modules/variable-pie.src.js +1 -1
  388. package/modules/variwide.js +1 -1
  389. package/modules/variwide.src.js +1 -1
  390. package/modules/vector.js +1 -1
  391. package/modules/vector.src.js +1 -1
  392. package/modules/venn.js +1 -1
  393. package/modules/venn.src.js +1 -1
  394. package/modules/windbarb.js +1 -1
  395. package/modules/windbarb.src.js +1 -1
  396. package/modules/wordcloud.js +1 -1
  397. package/modules/wordcloud.src.js +1 -1
  398. package/modules/xrange.js +1 -1
  399. package/modules/xrange.src.js +1 -1
  400. package/package.json +1 -1
  401. package/themes/avocado.js +1 -1
  402. package/themes/avocado.src.js +1 -1
  403. package/themes/dark-blue.js +1 -1
  404. package/themes/dark-blue.src.js +1 -1
  405. package/themes/dark-green.js +1 -1
  406. package/themes/dark-green.src.js +1 -1
  407. package/themes/dark-unica.js +1 -1
  408. package/themes/dark-unica.src.js +1 -1
  409. package/themes/gray.js +1 -1
  410. package/themes/gray.src.js +1 -1
  411. package/themes/grid-light.js +1 -1
  412. package/themes/grid-light.src.js +1 -1
  413. package/themes/grid.js +1 -1
  414. package/themes/grid.src.js +1 -1
  415. package/themes/high-contrast-dark.js +1 -1
  416. package/themes/high-contrast-dark.src.js +1 -1
  417. package/themes/high-contrast-light.js +1 -1
  418. package/themes/high-contrast-light.src.js +1 -1
  419. package/themes/sand-signika.js +1 -1
  420. package/themes/sand-signika.src.js +1 -1
  421. package/themes/skies.js +1 -1
  422. package/themes/skies.src.js +1 -1
  423. package/themes/sunset.js +1 -1
  424. package/themes/sunset.src.js +1 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highcharts JS v9.1.1 (2021-06-04)
2
+ * @license Highcharts JS v9.1.2 (2021-06-16)
3
3
  *
4
4
  * Arrow Symbols
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- Highcharts JS v9.1.1 (2021-06-03)
2
+ Highcharts JS v9.1.2 (2021-06-16)
3
3
 
4
4
  Boost module
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highcharts JS v9.1.1 (2021-06-04)
2
+ * @license Highcharts JS v9.1.2 (2021-06-16)
3
3
  *
4
4
  * Boost module
5
5
  *
package/modules/boost.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- Highcharts JS v9.1.1 (2021-06-03)
2
+ Highcharts JS v9.1.2 (2021-06-16)
3
3
 
4
4
  Boost module
5
5
 
@@ -33,39 +33,39 @@ D,M.y=C);if(null===C&&J)return"continue";if(null===C||!La&&!Ea&&!Ba)return e(),"
33
33
  a);d.setUniform("translatedThreshold",b)}function I(p){if(p)R=p.chartWidth||800,Q=p.chartHeight||400;else return!1;if(!(f&&R&&Q&&d))return!1;A.debug.timeRendering&&console.time("gl rendering");f.canvas.width=R;f.canvas.height=Q;d.bind();f.viewport(0,0,R,Q);d.setPMatrix([2/R,0,0,0,0,-(2/Q),0,0,0,0,-2,0,-1,1,-1,1]);1<A.lineWidth&&!h.isMS&&f.lineWidth(A.lineWidth);l.build(r.data,"aVertexPosition",4);l.bind();d.setInverted(p.inverted);G.forEach(function(c,I){var n=c.series.options,k=n.marker;var g="undefined"!==
34
34
  typeof n.lineWidth?n.lineWidth:1;var z=n.threshold,h=m(z),y=c.series.yAxis.getThreshold(z);z=e(n.marker?n.marker.enabled:null,c.series.xAxis.isRadial?!0:null,c.series.closestPointRangePx>2*((n.marker?n.marker.radius:10)||10));k=Y[k&&k.symbol||c.series.symbol]||Y.circle;if(0!==c.segments.length&&c.segments[0].from!==c.segments[0].to){k.isReady&&(f.bindTexture(f.TEXTURE_2D,k.handle),d.setTexture(k.handle));p.styledMode?k=c.series.markerGroup&&c.series.markerGroup.getStyle("fill"):(k="points"===c.drawMode&&
35
35
  c.series.pointAttribs&&c.series.pointAttribs().fill||c.series.color,n.colorByPoint&&(k=c.series.chart.options.colors[I]));c.series.fillOpacity&&n.fillOpacity&&(k=(new b(k)).setOpacity(e(n.fillOpacity,1)).get());k=u(k).rgba;A.useAlpha||(k[3]=1);"lines"===c.drawMode&&A.useAlpha&&1>k[3]&&(k[3]/=10);"add"===n.boostBlending?(f.blendFunc(f.SRC_ALPHA,f.ONE),f.blendEquation(f.FUNC_ADD)):"mult"===n.boostBlending||"multiply"===n.boostBlending?f.blendFunc(f.DST_COLOR,f.ZERO):"darken"===n.boostBlending?(f.blendFunc(f.ONE,
36
- f.ONE),f.blendEquation(f.FUNC_MIN)):f.blendFuncSeparate(f.SRC_ALPHA,f.ONE_MINUS_SRC_ALPHA,f.ONE,f.ONE_MINUS_SRC_ALPHA);d.reset();0<c.colorData.length&&(d.setUniform("hasColor",1),I=w(f,d),I.build(c.colorData,"aColor",4),I.bind());d.setColor(k);H(c.series.xAxis);x(c.series.yAxis);a(h,y);"points"===c.drawMode&&(n.marker&&m(n.marker.radius)?d.setPointSize(2*n.marker.radius):d.setPointSize(1));d.setSkipTranslation(c.skipTranslation);"bubble"===c.series.type&&d.setBubbleUniforms(c.series,c.zMin,c.zMax);
37
- d.setDrawAsCircle(X[c.series.type]||!1);if(0<g||"line_strip"!==c.drawMode)for(g=0;g<c.segments.length;g++)l.render(c.segments[g].from,c.segments[g].to,c.drawMode);if(c.hasMarkers&&z)for(n.marker&&m(n.marker.radius)?d.setPointSize(2*n.marker.radius):d.setPointSize(10),d.setDrawAsCircle(!0),g=0;g<c.segments.length;g++)l.render(c.segments[g].from,c.segments[g].to,"POINTS")}});A.debug.timeRendering&&console.timeEnd("gl rendering");c&&c();F()}function p(a){y();if(a.renderer.forExport)return I(a);L?I(a):
38
- setTimeout(function(){p(a)},1)}var d=!1,l=!1,qa=0,f=!1,R=0,Q=0,S=!1,E=!1,r={},L=!1,G=[],Y={},ia={column:!0,columnrange:!0,bar:!0,area:!0,arearange:!0},X={scatter:!0,bubble:!0},A={pointSize:1,lineWidth:1,fillColor:"#AA00AA",useAlpha:!0,usePreallocated:!1,useGPUTranslations:!1,debug:{timeRendering:!1,timeSeriesProcessing:!1,timeSetup:!1,timeBufferCopy:!1,timeKDTree:!1,showSkipSummary:!1}};return r={allocateBufferForSingleSeries:function(a){var d=0;A.usePreallocated&&(a.isSeriesBoosting&&(d=n(a)),l.allocate(d))},
39
- pushSeries:function(a){0<G.length&&G[G.length-1].hasMarkers&&(G[G.length-1].markerTo=E.length);A.debug.timeSeriesProcessing&&console.time("building "+a.type+" series");var d={segments:[],markerFrom:E.length,colorData:[],series:a,zMin:Number.MAX_VALUE,zMax:-Number.MAX_VALUE,hasMarkers:a.options.marker?!1!==a.options.marker.enabled:!1,showMarkers:!0,drawMode:{area:"lines",arearange:"lines",areaspline:"line_strip",column:"lines",columnrange:"lines",bar:"lines",line:"line_strip",scatter:"points",heatmap:"triangles",
40
- treemap:"triangles",bubble:"points"}[a.type]||"line_strip"};a.index>=G.length?G.push(d):G[a.index]=d;O(a,d);A.debug.timeSeriesProcessing&&console.timeEnd("building "+a.type+" series")},setSize:function(a,b){R===a&&Q===b||!d||(R=a,Q=b,d.bind(),d.setPMatrix([2/R,0,0,0,0,-(2/Q),0,0,0,0,-2,0,-1,1,-1,1]))},inited:function(){return L},setThreshold:a,init:function(a,b){function c(a,d){var b={isReady:!1,texture:q.createElement("canvas"),handle:f.createTexture()},c=b.texture.getContext("2d");Y[a]=b;b.texture.width=
41
- 512;b.texture.height=512;c.mozImageSmoothingEnabled=!1;c.webkitImageSmoothingEnabled=!1;c.msImageSmoothingEnabled=!1;c.imageSmoothingEnabled=!1;c.strokeStyle="rgba(255, 255, 255, 0)";c.fillStyle="#FFF";d(c);try{f.activeTexture(f.TEXTURE0),f.bindTexture(f.TEXTURE_2D,b.handle),f.texImage2D(f.TEXTURE_2D,0,f.RGBA,f.RGBA,f.UNSIGNED_BYTE,b.texture),f.texParameteri(f.TEXTURE_2D,f.TEXTURE_WRAP_S,f.CLAMP_TO_EDGE),f.texParameteri(f.TEXTURE_2D,f.TEXTURE_WRAP_T,f.CLAMP_TO_EDGE),f.texParameteri(f.TEXTURE_2D,f.TEXTURE_MAG_FILTER,
42
- f.LINEAR),f.texParameteri(f.TEXTURE_2D,f.TEXTURE_MIN_FILTER,f.LINEAR),f.bindTexture(f.TEXTURE_2D,null),b.isReady=!0}catch(V){}}var p=0,e=["webgl","experimental-webgl","moz-webgl","webkit-3d"];L=!1;if(!a)return!1;for(A.debug.timeSetup&&console.time("gl setup");p<e.length&&!(f=a.getContext(e[p],{}));p++);if(f)b||F();else return!1;f.enable(f.BLEND);f.blendFunc(f.SRC_ALPHA,f.ONE_MINUS_SRC_ALPHA);f.disable(f.DEPTH_TEST);f.depthFunc(f.LESS);d=B(f);if(!d)return!1;l=w(f,d);c("circle",function(a){a.beginPath();
43
- a.arc(256,256,256,0,2*Math.PI);a.stroke();a.fill()});c("square",function(a){a.fillRect(0,0,512,512)});c("diamond",function(a){a.beginPath();a.moveTo(256,0);a.lineTo(512,256);a.lineTo(256,512);a.lineTo(0,256);a.lineTo(256,0);a.fill()});c("triangle",function(a){a.beginPath();a.moveTo(0,512);a.lineTo(256,0);a.lineTo(512,512);a.lineTo(0,512);a.fill()});c("triangle-down",function(a){a.beginPath();a.moveTo(0,0);a.lineTo(256,512);a.lineTo(512,0);a.lineTo(0,0);a.fill()});L=!0;A.debug.timeSetup&&console.timeEnd("gl setup");
44
- return!0},render:p,settings:A,valid:function(){return!1!==f},clear:y,flush:F,setXAxis:H,setYAxis:x,data:S,gl:function(){return f},allocateBuffer:function(a){var d=0;A.usePreallocated&&(a.series.forEach(function(a){a.isSeriesBoosting&&(d+=n(a))}),l.allocate(d))},destroy:function(){F();l.destroy();d.destroy();f&&(g(Y,function(a){a.handle&&f.deleteTexture(a.handle)}),f.canvas.width=1,f.canvas.height=1)},setOptions:function(a){v(!0,A,a)}}}});r(b,"Extensions/Boost/BoostAttach.js",[b["Core/Chart/Chart.js"],
45
- b["Extensions/Boost/WGLRenderer.js"],b["Core/Globals.js"],b["Core/Utilities.js"]],function(b,B,w,h){var c=w.doc,u=h.error,q;return function(m,h){var v=m.chartWidth,g=m.chartHeight,e=m,n=m.seriesGroup||h.group,k=c.implementation.hasFeature("www.http://w3.org/TR/SVG11/feature#Extensibility","1.1");e=m.isChartSeriesBoosting()?m:h;k=!1;q||(q=c.createElement("canvas"));e.renderTarget||(e.canvas=q,m.renderer.forExport||!k?(e.renderTarget=m.renderer.image("",0,0,v,g).addClass("highcharts-boost-canvas").add(n),
46
- e.boostClear=function(){e.renderTarget.attr({href:""})},e.boostCopy=function(){e.boostResizeTarget();e.renderTarget.attr({href:e.canvas.toDataURL("image/png")})}):(e.renderTargetFo=m.renderer.createElement("foreignObject").add(n),e.renderTarget=c.createElement("canvas"),e.renderTargetCtx=e.renderTarget.getContext("2d"),e.renderTargetFo.element.appendChild(e.renderTarget),e.boostClear=function(){e.renderTarget.width=e.canvas.width;e.renderTarget.height=e.canvas.height},e.boostCopy=function(){e.renderTarget.width=
47
- e.canvas.width;e.renderTarget.height=e.canvas.height;e.renderTargetCtx.drawImage(e.canvas,0,0)}),e.boostResizeTarget=function(){v=m.chartWidth;g=m.chartHeight;(e.renderTargetFo||e.renderTarget).attr({x:0,y:0,width:v,height:g}).css({pointerEvents:"none",mixedBlendMode:"normal",opacity:1});e instanceof b&&e.markerGroup.translate(m.plotLeft,m.plotTop)},e.boostClipRect=m.renderer.clipRect(),(e.renderTargetFo||e.renderTarget).clip(e.boostClipRect),e instanceof b&&(e.markerGroup=e.renderer.g().add(n),e.markerGroup.translate(h.xAxis.pos,
48
- h.yAxis.pos)));e.canvas.width=v;e.canvas.height=g;e.boostClipRect.attr(m.getBoostClipRect(e));e.boostResizeTarget();e.boostClear();e.ogl||(e.ogl=B(function(){e.ogl.settings.debug.timeBufferCopy&&console.time("buffer copy");e.boostCopy();e.ogl.settings.debug.timeBufferCopy&&console.timeEnd("buffer copy")}),e.ogl.init(e.canvas)||u("[highcharts boost] - unable to init WebGL renderer"),e.ogl.setOptions(m.options.boost||{}),e instanceof b&&e.ogl.allocateBuffer(m));e.ogl.setSize(v,g);return e.ogl}});r(b,
49
- "Extensions/Boost/BoostUtils.js",[b["Core/Globals.js"],b["Extensions/Boost/BoostableMap.js"],b["Extensions/Boost/BoostAttach.js"],b["Core/Utilities.js"]],function(b,B,w,h){function c(){for(var b=[],c=0;c<arguments.length;c++)b[c]=arguments[c];var e=-Number.MAX_VALUE;b.forEach(function(b){if("undefined"!==typeof b&&null!==b&&"undefined"!==typeof b.length&&0<b.length)return e=b.length,!0});return e}function u(b,c,e){b&&c.renderTarget&&c.canvas&&!(e||c.chart).isChartSeriesBoosting()&&b.render(e||c.chart)}
50
- function q(b,c){b&&c.renderTarget&&c.canvas&&!c.chart.isChartSeriesBoosting()&&b.allocateBufferForSingleSeries(c)}function m(b,c,e,g,h,q){h=h||0;g=g||3E3;for(var n=h+g,a=!0;a&&h<n&&h<b.length;)a=c(b[h],h),++h;a&&(h<b.length?q?m(b,c,e,g,h,q):v.requestAnimationFrame?v.requestAnimationFrame(function(){m(b,c,e,g,h)}):setTimeout(function(){m(b,c,e,g,h)}):e&&e())}function t(){var b=0,c,e=["webgl","experimental-webgl","moz-webgl","webkit-3d"],h=!1;if("undefined"!==typeof v.WebGLRenderingContext)for(c=g.createElement("canvas");b<
51
- e.length;b++)try{if(h=c.getContext(e[b]),"undefined"!==typeof h&&null!==h)return!0}catch(F){}return!1}var v=b.win,g=b.doc,e=h.pick;h={patientMax:c,boostEnabled:function(b){return e(b&&b.options&&b.options.boost&&b.options.boost.enabled,!0)},shouldForceChartSeriesBoosting:function(b){var g=0,h=0,n=e(b.options.boost&&b.options.boost.allowForce,!0);if("undefined"!==typeof b.boostForceChartBoost)return b.boostForceChartBoost;if(1<b.series.length)for(var m=0;m<b.series.length;m++){var q=b.series[m];0!==
52
- q.options.boostThreshold&&!1!==q.visible&&"heatmap"!==q.type&&(B[q.type]&&++h,c(q.processedXData,q.options.data,q.points)>=(q.options.boostThreshold||Number.MAX_VALUE)&&++g)}b.boostForceChartBoost=n&&(h===b.series.length&&0<g||5<g);return b.boostForceChartBoost},renderIfNotSeriesBoosting:u,allocateIfNotSeriesBoosting:q,eachAsync:m,hasWebGLSupport:t,pointDrawHandler:function(b){var c=!0;this.chart.options&&this.chart.options.boost&&(c="undefined"===typeof this.chart.options.boost.enabled?!0:this.chart.options.boost.enabled);
53
- if(!c||!this.isSeriesBoosting)return b.call(this);this.chart.isBoosting=!0;if(b=w(this.chart,this))q(b,this),b.pushSeries(this);u(b,this)}};b.hasWebGLSupport=t;return h});r(b,"Extensions/Boost/BoostInit.js",[b["Core/Chart/Chart.js"],b["Core/Globals.js"],b["Core/Series/Series.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"],b["Extensions/Boost/BoostUtils.js"],b["Extensions/Boost/BoostAttach.js"]],function(b,B,w,h,c,u,q){var m=B.noop,t=h.seriesTypes,v=c.addEvent,g=c.extend,e=c.fireEvent,
54
- n=c.wrap,k=u.eachAsync,y=u.pointDrawHandler,r=u.allocateIfNotSeriesBoosting,H=u.renderIfNotSeriesBoosting,J=u.shouldForceChartSeriesBoosting,x;return function(){g(w.prototype,{renderCanvas:function(){function a(a,b){var d=!1,c="undefined"===typeof g.index,e=!0;if("undefined"===typeof a)return!0;if(!c){if(ka){var l=a[0];var p=a[1]}else l=a,p=v[b];ba?(ka&&(p=a.slice(1,3)),d=p[0],p=p[1]):ja&&(l=a.x,p=a.stackY,d=p-a.y);wa||(e=p>=B&&p<=y);if(null!==p&&l>=u&&l<=w&&e)if(a=f.toPixels(l,!0),A){if("undefined"===
55
- typeof V||a===J){ba||(d=p);if("undefined"===typeof da||p>ca)ca=p,da=b;if("undefined"===typeof V||d<T)T=d,V=b}a!==J&&("undefined"!==typeof V&&(p=h.toPixels(ca,!0),O=h.toPixels(T,!0),ea(a,p,da),O!==p&&ea(a,O,V)),V=da=void 0,J=a)}else p=Math.ceil(h.toPixels(p,!0)),ea(a,p,b)}return!c}function b(){e(c,"renderedCanvas");delete c.buildKDTree;c.buildKDTree();ua.debug.timeKDTree&&console.timeEnd("kd tree building")}var c=this,d=c.options||{},l=!1,g=c.chart,f=this.xAxis,h=this.yAxis,n=d.xData||c.processedXData,
56
- v=d.yData||c.processedYData,t=d.data;l=f.getExtremes();var u=l.min,w=l.max;l=h.getExtremes();var B=l.min,y=l.max,F={},J,A=!!c.sampling,z=!1!==d.enableMouseTracking,O=h.getThreshold(d.threshold),ba=c.pointArrayMap&&"low,high"===c.pointArrayMap.join(","),ja=!!d.stacking,ra=c.cropStart||0,wa=c.requireSorting,ka=!n,T,ca,V,da,ta="x"===d.findNearestPointBy,la=this.xData||this.options.xData||this.processedXData||!1,ea=function(a,b,d){a=Math.ceil(a);x=ta?a:a+","+b;z&&!F[x]&&(F[x]=!0,g.inverted&&(a=f.len-
57
- a,b=h.len-b),va.push({x:la?la[ra+d]:!1,clientX:a,plotX:a,plotY:b,i:ra+d}))};l=q(g,c);g.isBoosting=!0;var ua=l.settings;if(this.visible){(this.points||this.graph)&&this.destroyGraphics();g.isChartSeriesBoosting()?(this.markerGroup&&this.markerGroup!==g.markerGroup&&this.markerGroup.destroy(),this.markerGroup=g.markerGroup,this.renderTarget&&(this.renderTarget=this.renderTarget.destroy())):(this.markerGroup===g.markerGroup&&(this.markerGroup=void 0),this.markerGroup=c.plotGroup("markerGroup","markers",
58
- !0,1,g.seriesGroup));var va=this.points=[];c.buildKDTree=m;l&&(r(l,this),l.pushSeries(c),H(l,this,g));g.renderer.forExport||(ua.debug.timeKDTree&&console.time("kd tree building"),k(ja?c.data:n||t,a,b))}}});["heatmap","treemap"].forEach(function(a){t[a]&&n(t[a].prototype,"drawPoints",y)});t.bubble&&(delete t.bubble.prototype.buildKDTree,n(t.bubble.prototype,"markerAttribs",function(a){return this.isSeriesBoosting?!1:a.apply(this,[].slice.call(arguments,1))}));t.scatter.prototype.fill=!0;g(t.area.prototype,
59
- {fill:!0,fillOpacity:!0,sampling:!0});g(t.column.prototype,{fill:!0,sampling:!0});b.prototype.propsRequireUpdateSeries.push("boost");b.prototype.callbacks.push(function(a){v(a,"predraw",function(){a.boostForceChartBoost=void 0;a.boostForceChartBoost=J(a);a.isBoosting=!1;!a.isChartSeriesBoosting()&&a.didBoost&&(a.didBoost=!1);a.boostClear&&a.boostClear();a.canvas&&a.ogl&&a.isChartSeriesBoosting()&&(a.didBoost=!0,a.ogl.allocateBuffer(a));a.markerGroup&&a.xAxis&&0<a.xAxis.length&&a.yAxis&&0<a.yAxis.length&&
60
- a.markerGroup.translate(a.xAxis[0].pos,a.yAxis[0].pos)});v(a,"render",function(){a.ogl&&a.isChartSeriesBoosting()&&a.ogl.render(a)});var b=-1,c=-1;v(a.pointer,"afterGetHoverData",function(){var d=a.hoverSeries;if(a.markerGroup&&d){var e=a.inverted?d.yAxis:d.xAxis;d=a.inverted?d.xAxis:d.yAxis;if(e&&e.pos!==b||d&&d.pos!==c)a.markerGroup.translate(e.pos,d.pos),b=e.pos,c=d.pos}})})}});r(b,"Extensions/BoostCanvas.js",[b["Core/Chart/Chart.js"],b["Core/Color/Color.js"],b["Core/Globals.js"],b["Core/Color/Palette.js"],
61
- b["Core/Series/Series.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"]],function(b,B,w,h,c,u,q){var m=B.parse,t=w.doc,v=w.noop,g=u.seriesTypes,e=q.addEvent,n=q.extend,k=q.fireEvent,y=q.isNumber,r=q.merge,F=q.pick,H=q.wrap,x;return function(){w.seriesTypes.heatmap&&H(w.seriesTypes.heatmap.prototype,"drawPoints",function(){var a=this.chart,b=this.getContext(),c=this.chart.inverted,d=this.xAxis,e=this.yAxis;b?(this.points.forEach(function(p){var f=p.plotY;if("undefined"!==typeof f&&!isNaN(f)&&
62
- null!==p.y&&b){var l=p.shapeArgs||{};f=l.x;f=void 0===f?0:f;var g=l.y;g=void 0===g?0:g;var x=l.width;x=void 0===x?0:x;l=l.height;l=void 0===l?0:l;p=a.styledMode?p.series.colorAttribs(p):p.series.pointAttribs(p);b.fillStyle=p.fill;c?b.fillRect(e.len-g+d.left,d.len-f+e.top,-l,-x):b.fillRect(f+d.left,g+e.top,x,l)}}),this.canvasToSVG()):this.chart.showLoading("Your browser doesn't support HTML5 canvas, <br>please use a modern browser")});n(c.prototype,{getContext:function(){var a=this.chart,b=a.chartWidth,
63
- c=a.chartHeight,d=a.seriesGroup||this.group,e=this,g=function(a,b,d,c,e,f,p){a.call(this,d,b,c,e,f,p)};a.isChartSeriesBoosting()&&(e=a,d=a.seriesGroup);var f=e.ctx;e.canvas||(e.canvas=t.createElement("canvas"),e.renderTarget=a.renderer.image("",0,0,b,c).addClass("highcharts-boost-canvas").add(d),e.ctx=f=e.canvas.getContext("2d"),a.inverted&&["moveTo","lineTo","rect","arc"].forEach(function(a){H(f,a,g)}),e.boostCopy=function(){e.renderTarget.attr({href:e.canvas.toDataURL("image/png")})},e.boostClear=
64
- function(){f.clearRect(0,0,e.canvas.width,e.canvas.height);e===this&&e.renderTarget.attr({href:""})},e.boostClipRect=a.renderer.clipRect(),e.renderTarget.clip(e.boostClipRect));e.canvas.width!==b&&(e.canvas.width=b);e.canvas.height!==c&&(e.canvas.height=c);e.renderTarget.attr({x:0,y:0,width:b,height:c,style:"pointer-events: none",href:""});e.boostClipRect.attr(a.getBoostClipRect(e));return f},canvasToSVG:function(){this.chart.isChartSeriesBoosting()?this.boostClear&&this.boostClear():(this.boostCopy||
65
- this.chart.boostCopy)&&(this.boostCopy||this.chart.boostCopy)()},cvsLineTo:function(a,b,c){a.lineTo(b,c)},renderCanvas:function(){var a=this,b=a.options,c=a.chart,d=this.xAxis,g=this.yAxis,t=(c.options.boost||{}).timeRendering||!1,f=0,u=a.processedXData,H=a.processedYData,O=b.data,E=d.getExtremes(),J=E.min,L=E.max;E=g.getExtremes();var G=E.min,Y=E.max,ia={},X,A=!!a.sampling,z=b.marker&&b.marker.radius,aa=this.cvsDrawPoint,ba=b.lineWidth?this.cvsLineTo:void 0,ja=z&&1>=z?this.cvsMarkerSquare:this.cvsMarkerCircle,
66
- ra=this.cvsStrokeBatch||1E3,wa=!1!==b.enableMouseTracking,ka;E=b.threshold;var T=g.getThreshold(E),ca=y(E),V=T,da=this.fill,ta=a.pointArrayMap&&"low,high"===a.pointArrayMap.join(","),la=!!b.stacking,ea=a.cropStart||0;E=c.options.loading;var ua=a.requireSorting,va,Oa=b.connectNulls,Fa=!u,ya,za,fa,sa,xa,W=la?a.data:u||O,Pa=a.fillOpacity?(new B(a.color)).setOpacity(F(b.fillOpacity,.75)).get():a.color,Ga=function(){da?(M.fillStyle=Pa,M.fill()):(M.strokeStyle=a.color,M.lineWidth=b.lineWidth,M.stroke())},
67
- Ha=function(b,d,e,g){0===f&&(M.beginPath(),ba&&(M.lineJoin="round"));c.scroller&&"highcharts-navigator-series"===a.options.className?(d+=c.scroller.top,e&&(e+=c.scroller.top)):d+=c.plotTop;b+=c.plotLeft;va?M.moveTo(b,d):aa?aa(M,b,d,e,ka):ba?ba(M,b,d):ja&&ja.call(a,M,b,d,z,g);f+=1;f===ra&&(Ga(),f=0);ka={clientX:b,plotY:d,yBottom:e}},Qa="x"===b.findNearestPointBy,Ia=this.xData||this.options.xData||this.processedXData||!1,Aa=function(a,b,e){xa=Qa?a:a+","+b;wa&&!ia[xa]&&(ia[xa]=!0,c.inverted&&(a=d.len-
68
- a,b=g.len-b),Ra.push({x:Ia?Ia[ea+e]:!1,clientX:a,plotX:a,plotY:b,i:ea+e}))};this.renderTarget&&this.renderTarget.attr({href:""});(this.points||this.graph)&&this.destroyGraphics();a.plotGroup("group","series",a.visible?"visible":"hidden",b.zIndex,c.seriesGroup);a.markerGroup=a.group;e(a,"destroy",function(){a.markerGroup=null});var Ra=this.points=[];var M=this.getContext();a.buildKDTree=v;this.boostClear&&this.boostClear();this.visible&&(99999<O.length&&(c.options.loading=r(E,{labelStyle:{backgroundColor:m(h.backgroundColor).setOpacity(.75).get(),
36
+ f.ONE),f.blendEquation(f.FUNC_MIN)):f.blendFuncSeparate(f.SRC_ALPHA,f.ONE_MINUS_SRC_ALPHA,f.ONE,f.ONE_MINUS_SRC_ALPHA);d.reset();0<c.colorData.length?(d.setUniform("hasColor",1),I=w(f,d),I.build(c.colorData,"aColor",4),I.bind()):f.disableVertexAttribArray(f.getAttribLocation(d.program(),"aColor"));d.setColor(k);H(c.series.xAxis);x(c.series.yAxis);a(h,y);"points"===c.drawMode&&(n.marker&&m(n.marker.radius)?d.setPointSize(2*n.marker.radius):d.setPointSize(1));d.setSkipTranslation(c.skipTranslation);
37
+ "bubble"===c.series.type&&d.setBubbleUniforms(c.series,c.zMin,c.zMax);d.setDrawAsCircle(X[c.series.type]||!1);if(0<g||"line_strip"!==c.drawMode)for(g=0;g<c.segments.length;g++)l.render(c.segments[g].from,c.segments[g].to,c.drawMode);if(c.hasMarkers&&z)for(n.marker&&m(n.marker.radius)?d.setPointSize(2*n.marker.radius):d.setPointSize(10),d.setDrawAsCircle(!0),g=0;g<c.segments.length;g++)l.render(c.segments[g].from,c.segments[g].to,"POINTS")}});A.debug.timeRendering&&console.timeEnd("gl rendering");
38
+ c&&c();F()}function p(a){y();if(a.renderer.forExport)return I(a);L?I(a):setTimeout(function(){p(a)},1)}var d=!1,l=!1,qa=0,f=!1,R=0,Q=0,S=!1,E=!1,r={},L=!1,G=[],Y={},ia={column:!0,columnrange:!0,bar:!0,area:!0,arearange:!0},X={scatter:!0,bubble:!0},A={pointSize:1,lineWidth:1,fillColor:"#AA00AA",useAlpha:!0,usePreallocated:!1,useGPUTranslations:!1,debug:{timeRendering:!1,timeSeriesProcessing:!1,timeSetup:!1,timeBufferCopy:!1,timeKDTree:!1,showSkipSummary:!1}};return r={allocateBufferForSingleSeries:function(a){var d=
39
+ 0;A.usePreallocated&&(a.isSeriesBoosting&&(d=n(a)),l.allocate(d))},pushSeries:function(a){0<G.length&&G[G.length-1].hasMarkers&&(G[G.length-1].markerTo=E.length);A.debug.timeSeriesProcessing&&console.time("building "+a.type+" series");var d={segments:[],markerFrom:E.length,colorData:[],series:a,zMin:Number.MAX_VALUE,zMax:-Number.MAX_VALUE,hasMarkers:a.options.marker?!1!==a.options.marker.enabled:!1,showMarkers:!0,drawMode:{area:"lines",arearange:"lines",areaspline:"line_strip",column:"lines",columnrange:"lines",
40
+ bar:"lines",line:"line_strip",scatter:"points",heatmap:"triangles",treemap:"triangles",bubble:"points"}[a.type]||"line_strip"};a.index>=G.length?G.push(d):G[a.index]=d;O(a,d);A.debug.timeSeriesProcessing&&console.timeEnd("building "+a.type+" series")},setSize:function(a,b){R===a&&Q===b||!d||(R=a,Q=b,d.bind(),d.setPMatrix([2/R,0,0,0,0,-(2/Q),0,0,0,0,-2,0,-1,1,-1,1]))},inited:function(){return L},setThreshold:a,init:function(a,b){function c(a,d){var b={isReady:!1,texture:q.createElement("canvas"),handle:f.createTexture()},
41
+ c=b.texture.getContext("2d");Y[a]=b;b.texture.width=512;b.texture.height=512;c.mozImageSmoothingEnabled=!1;c.webkitImageSmoothingEnabled=!1;c.msImageSmoothingEnabled=!1;c.imageSmoothingEnabled=!1;c.strokeStyle="rgba(255, 255, 255, 0)";c.fillStyle="#FFF";d(c);try{f.activeTexture(f.TEXTURE0),f.bindTexture(f.TEXTURE_2D,b.handle),f.texImage2D(f.TEXTURE_2D,0,f.RGBA,f.RGBA,f.UNSIGNED_BYTE,b.texture),f.texParameteri(f.TEXTURE_2D,f.TEXTURE_WRAP_S,f.CLAMP_TO_EDGE),f.texParameteri(f.TEXTURE_2D,f.TEXTURE_WRAP_T,
42
+ f.CLAMP_TO_EDGE),f.texParameteri(f.TEXTURE_2D,f.TEXTURE_MAG_FILTER,f.LINEAR),f.texParameteri(f.TEXTURE_2D,f.TEXTURE_MIN_FILTER,f.LINEAR),f.bindTexture(f.TEXTURE_2D,null),b.isReady=!0}catch(V){}}var p=0,e=["webgl","experimental-webgl","moz-webgl","webkit-3d"];L=!1;if(!a)return!1;for(A.debug.timeSetup&&console.time("gl setup");p<e.length&&!(f=a.getContext(e[p],{}));p++);if(f)b||F();else return!1;f.enable(f.BLEND);f.blendFunc(f.SRC_ALPHA,f.ONE_MINUS_SRC_ALPHA);f.disable(f.DEPTH_TEST);f.depthFunc(f.LESS);
43
+ d=B(f);if(!d)return!1;l=w(f,d);c("circle",function(a){a.beginPath();a.arc(256,256,256,0,2*Math.PI);a.stroke();a.fill()});c("square",function(a){a.fillRect(0,0,512,512)});c("diamond",function(a){a.beginPath();a.moveTo(256,0);a.lineTo(512,256);a.lineTo(256,512);a.lineTo(0,256);a.lineTo(256,0);a.fill()});c("triangle",function(a){a.beginPath();a.moveTo(0,512);a.lineTo(256,0);a.lineTo(512,512);a.lineTo(0,512);a.fill()});c("triangle-down",function(a){a.beginPath();a.moveTo(0,0);a.lineTo(256,512);a.lineTo(512,
44
+ 0);a.lineTo(0,0);a.fill()});L=!0;A.debug.timeSetup&&console.timeEnd("gl setup");return!0},render:p,settings:A,valid:function(){return!1!==f},clear:y,flush:F,setXAxis:H,setYAxis:x,data:S,gl:function(){return f},allocateBuffer:function(a){var d=0;A.usePreallocated&&(a.series.forEach(function(a){a.isSeriesBoosting&&(d+=n(a))}),l.allocate(d))},destroy:function(){F();l.destroy();d.destroy();f&&(g(Y,function(a){a.handle&&f.deleteTexture(a.handle)}),f.canvas.width=1,f.canvas.height=1)},setOptions:function(a){v(!0,
45
+ A,a)}}}});r(b,"Extensions/Boost/BoostAttach.js",[b["Core/Chart/Chart.js"],b["Extensions/Boost/WGLRenderer.js"],b["Core/Globals.js"],b["Core/Utilities.js"]],function(b,B,w,h){var c=w.doc,u=h.error,q;return function(m,h){var v=m.chartWidth,g=m.chartHeight,e=m,n=m.seriesGroup||h.group,k=c.implementation.hasFeature("www.http://w3.org/TR/SVG11/feature#Extensibility","1.1");e=m.isChartSeriesBoosting()?m:h;k=!1;q||(q=c.createElement("canvas"));e.renderTarget||(e.canvas=q,m.renderer.forExport||!k?(e.renderTarget=
46
+ m.renderer.image("",0,0,v,g).addClass("highcharts-boost-canvas").add(n),e.boostClear=function(){e.renderTarget.attr({href:""})},e.boostCopy=function(){e.boostResizeTarget();e.renderTarget.attr({href:e.canvas.toDataURL("image/png")})}):(e.renderTargetFo=m.renderer.createElement("foreignObject").add(n),e.renderTarget=c.createElement("canvas"),e.renderTargetCtx=e.renderTarget.getContext("2d"),e.renderTargetFo.element.appendChild(e.renderTarget),e.boostClear=function(){e.renderTarget.width=e.canvas.width;
47
+ e.renderTarget.height=e.canvas.height},e.boostCopy=function(){e.renderTarget.width=e.canvas.width;e.renderTarget.height=e.canvas.height;e.renderTargetCtx.drawImage(e.canvas,0,0)}),e.boostResizeTarget=function(){v=m.chartWidth;g=m.chartHeight;(e.renderTargetFo||e.renderTarget).attr({x:0,y:0,width:v,height:g}).css({pointerEvents:"none",mixedBlendMode:"normal",opacity:1});e instanceof b&&e.markerGroup.translate(m.plotLeft,m.plotTop)},e.boostClipRect=m.renderer.clipRect(),(e.renderTargetFo||e.renderTarget).clip(e.boostClipRect),
48
+ e instanceof b&&(e.markerGroup=e.renderer.g().add(n),e.markerGroup.translate(h.xAxis.pos,h.yAxis.pos)));e.canvas.width=v;e.canvas.height=g;e.boostClipRect.attr(m.getBoostClipRect(e));e.boostResizeTarget();e.boostClear();e.ogl||(e.ogl=B(function(){e.ogl.settings.debug.timeBufferCopy&&console.time("buffer copy");e.boostCopy();e.ogl.settings.debug.timeBufferCopy&&console.timeEnd("buffer copy")}),e.ogl.init(e.canvas)||u("[highcharts boost] - unable to init WebGL renderer"),e.ogl.setOptions(m.options.boost||
49
+ {}),e instanceof b&&e.ogl.allocateBuffer(m));e.ogl.setSize(v,g);return e.ogl}});r(b,"Extensions/Boost/BoostUtils.js",[b["Core/Globals.js"],b["Extensions/Boost/BoostableMap.js"],b["Extensions/Boost/BoostAttach.js"],b["Core/Utilities.js"]],function(b,B,w,h){function c(){for(var b=[],c=0;c<arguments.length;c++)b[c]=arguments[c];var e=-Number.MAX_VALUE;b.forEach(function(b){if("undefined"!==typeof b&&null!==b&&"undefined"!==typeof b.length&&0<b.length)return e=b.length,!0});return e}function u(b,c,e){b&&
50
+ c.renderTarget&&c.canvas&&!(e||c.chart).isChartSeriesBoosting()&&b.render(e||c.chart)}function q(b,c){b&&c.renderTarget&&c.canvas&&!c.chart.isChartSeriesBoosting()&&b.allocateBufferForSingleSeries(c)}function m(b,c,e,g,h,q){h=h||0;g=g||3E3;for(var n=h+g,a=!0;a&&h<n&&h<b.length;)a=c(b[h],h),++h;a&&(h<b.length?q?m(b,c,e,g,h,q):v.requestAnimationFrame?v.requestAnimationFrame(function(){m(b,c,e,g,h)}):setTimeout(function(){m(b,c,e,g,h)}):e&&e())}function t(){var b=0,c,e=["webgl","experimental-webgl",
51
+ "moz-webgl","webkit-3d"],h=!1;if("undefined"!==typeof v.WebGLRenderingContext)for(c=g.createElement("canvas");b<e.length;b++)try{if(h=c.getContext(e[b]),"undefined"!==typeof h&&null!==h)return!0}catch(F){}return!1}var v=b.win,g=b.doc,e=h.pick;h={patientMax:c,boostEnabled:function(b){return e(b&&b.options&&b.options.boost&&b.options.boost.enabled,!0)},shouldForceChartSeriesBoosting:function(b){var g=0,h=0,n=e(b.options.boost&&b.options.boost.allowForce,!0);if("undefined"!==typeof b.boostForceChartBoost)return b.boostForceChartBoost;
52
+ if(1<b.series.length)for(var m=0;m<b.series.length;m++){var q=b.series[m];0!==q.options.boostThreshold&&!1!==q.visible&&"heatmap"!==q.type&&(B[q.type]&&++h,c(q.processedXData,q.options.data,q.points)>=(q.options.boostThreshold||Number.MAX_VALUE)&&++g)}b.boostForceChartBoost=n&&(h===b.series.length&&0<g||5<g);return b.boostForceChartBoost},renderIfNotSeriesBoosting:u,allocateIfNotSeriesBoosting:q,eachAsync:m,hasWebGLSupport:t,pointDrawHandler:function(b){var c=!0;this.chart.options&&this.chart.options.boost&&
53
+ (c="undefined"===typeof this.chart.options.boost.enabled?!0:this.chart.options.boost.enabled);if(!c||!this.isSeriesBoosting)return b.call(this);this.chart.isBoosting=!0;if(b=w(this.chart,this))q(b,this),b.pushSeries(this);u(b,this)}};b.hasWebGLSupport=t;return h});r(b,"Extensions/Boost/BoostInit.js",[b["Core/Chart/Chart.js"],b["Core/Globals.js"],b["Core/Series/Series.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"],b["Extensions/Boost/BoostUtils.js"],b["Extensions/Boost/BoostAttach.js"]],
54
+ function(b,B,w,h,c,u,q){var m=B.noop,t=h.seriesTypes,v=c.addEvent,g=c.extend,e=c.fireEvent,n=c.wrap,k=u.eachAsync,y=u.pointDrawHandler,r=u.allocateIfNotSeriesBoosting,H=u.renderIfNotSeriesBoosting,J=u.shouldForceChartSeriesBoosting,x;return function(){g(w.prototype,{renderCanvas:function(){function a(a,b){var d=!1,c="undefined"===typeof g.index,e=!0;if("undefined"===typeof a)return!0;if(!c){if(ka){var l=a[0];var p=a[1]}else l=a,p=v[b];ba?(ka&&(p=a.slice(1,3)),d=p[0],p=p[1]):ja&&(l=a.x,p=a.stackY,
55
+ d=p-a.y);wa||(e=p>=B&&p<=y);if(null!==p&&l>=u&&l<=w&&e)if(a=f.toPixels(l,!0),A){if("undefined"===typeof V||a===J){ba||(d=p);if("undefined"===typeof da||p>ca)ca=p,da=b;if("undefined"===typeof V||d<T)T=d,V=b}a!==J&&("undefined"!==typeof V&&(p=h.toPixels(ca,!0),O=h.toPixels(T,!0),ea(a,p,da),O!==p&&ea(a,O,V)),V=da=void 0,J=a)}else p=Math.ceil(h.toPixels(p,!0)),ea(a,p,b)}return!c}function b(){e(c,"renderedCanvas");delete c.buildKDTree;c.buildKDTree();ua.debug.timeKDTree&&console.timeEnd("kd tree building")}
56
+ var c=this,d=c.options||{},l=!1,g=c.chart,f=this.xAxis,h=this.yAxis,n=d.xData||c.processedXData,v=d.yData||c.processedYData,t=d.data;l=f.getExtremes();var u=l.min,w=l.max;l=h.getExtremes();var B=l.min,y=l.max,F={},J,A=!!c.sampling,z=!1!==d.enableMouseTracking,O=h.getThreshold(d.threshold),ba=c.pointArrayMap&&"low,high"===c.pointArrayMap.join(","),ja=!!d.stacking,ra=c.cropStart||0,wa=c.requireSorting,ka=!n,T,ca,V,da,ta="x"===d.findNearestPointBy,la=this.xData||this.options.xData||this.processedXData||
57
+ !1,ea=function(a,b,d){a=Math.ceil(a);x=ta?a:a+","+b;z&&!F[x]&&(F[x]=!0,g.inverted&&(a=f.len-a,b=h.len-b),va.push({x:la?la[ra+d]:!1,clientX:a,plotX:a,plotY:b,i:ra+d}))};l=q(g,c);g.isBoosting=!0;var ua=l.settings;if(this.visible){(this.points||this.graph)&&this.destroyGraphics();g.isChartSeriesBoosting()?(this.markerGroup&&this.markerGroup!==g.markerGroup&&this.markerGroup.destroy(),this.markerGroup=g.markerGroup,this.renderTarget&&(this.renderTarget=this.renderTarget.destroy())):(this.markerGroup===
58
+ g.markerGroup&&(this.markerGroup=void 0),this.markerGroup=c.plotGroup("markerGroup","markers",!0,1,g.seriesGroup));var va=this.points=[];c.buildKDTree=m;l&&(r(l,this),l.pushSeries(c),H(l,this,g));g.renderer.forExport||(ua.debug.timeKDTree&&console.time("kd tree building"),k(ja?c.data:n||t,a,b))}}});["heatmap","treemap"].forEach(function(a){t[a]&&n(t[a].prototype,"drawPoints",y)});t.bubble&&(delete t.bubble.prototype.buildKDTree,n(t.bubble.prototype,"markerAttribs",function(a){return this.isSeriesBoosting?
59
+ !1:a.apply(this,[].slice.call(arguments,1))}));t.scatter.prototype.fill=!0;g(t.area.prototype,{fill:!0,fillOpacity:!0,sampling:!0});g(t.column.prototype,{fill:!0,sampling:!0});b.prototype.propsRequireUpdateSeries.push("boost");b.prototype.callbacks.push(function(a){v(a,"predraw",function(){a.boostForceChartBoost=void 0;a.boostForceChartBoost=J(a);a.isBoosting=!1;!a.isChartSeriesBoosting()&&a.didBoost&&(a.didBoost=!1);a.boostClear&&a.boostClear();a.canvas&&a.ogl&&a.isChartSeriesBoosting()&&(a.didBoost=
60
+ !0,a.ogl.allocateBuffer(a));a.markerGroup&&a.xAxis&&0<a.xAxis.length&&a.yAxis&&0<a.yAxis.length&&a.markerGroup.translate(a.xAxis[0].pos,a.yAxis[0].pos)});v(a,"render",function(){a.ogl&&a.isChartSeriesBoosting()&&a.ogl.render(a)});var b=-1,c=-1;v(a.pointer,"afterGetHoverData",function(){var d=a.hoverSeries;if(a.markerGroup&&d){var e=a.inverted?d.yAxis:d.xAxis;d=a.inverted?d.xAxis:d.yAxis;if(e&&e.pos!==b||d&&d.pos!==c)a.markerGroup.translate(e.pos,d.pos),b=e.pos,c=d.pos}})})}});r(b,"Extensions/BoostCanvas.js",
61
+ [b["Core/Chart/Chart.js"],b["Core/Color/Color.js"],b["Core/Globals.js"],b["Core/Color/Palette.js"],b["Core/Series/Series.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"]],function(b,B,w,h,c,u,q){var m=B.parse,t=w.doc,v=w.noop,g=u.seriesTypes,e=q.addEvent,n=q.extend,k=q.fireEvent,y=q.isNumber,r=q.merge,F=q.pick,H=q.wrap,x;return function(){w.seriesTypes.heatmap&&H(w.seriesTypes.heatmap.prototype,"drawPoints",function(){var a=this.chart,b=this.getContext(),c=this.chart.inverted,d=this.xAxis,
62
+ e=this.yAxis;b?(this.points.forEach(function(p){var f=p.plotY;if("undefined"!==typeof f&&!isNaN(f)&&null!==p.y&&b){var l=p.shapeArgs||{};f=l.x;f=void 0===f?0:f;var g=l.y;g=void 0===g?0:g;var x=l.width;x=void 0===x?0:x;l=l.height;l=void 0===l?0:l;p=a.styledMode?p.series.colorAttribs(p):p.series.pointAttribs(p);b.fillStyle=p.fill;c?b.fillRect(e.len-g+d.left,d.len-f+e.top,-l,-x):b.fillRect(f+d.left,g+e.top,x,l)}}),this.canvasToSVG()):this.chart.showLoading("Your browser doesn't support HTML5 canvas, <br>please use a modern browser")});
63
+ n(c.prototype,{getContext:function(){var a=this.chart,b=a.chartWidth,c=a.chartHeight,d=a.seriesGroup||this.group,e=this,g=function(a,b,d,c,e,f,p){a.call(this,d,b,c,e,f,p)};a.isChartSeriesBoosting()&&(e=a,d=a.seriesGroup);var f=e.ctx;e.canvas||(e.canvas=t.createElement("canvas"),e.renderTarget=a.renderer.image("",0,0,b,c).addClass("highcharts-boost-canvas").add(d),e.ctx=f=e.canvas.getContext("2d"),a.inverted&&["moveTo","lineTo","rect","arc"].forEach(function(a){H(f,a,g)}),e.boostCopy=function(){e.renderTarget.attr({href:e.canvas.toDataURL("image/png")})},
64
+ e.boostClear=function(){f.clearRect(0,0,e.canvas.width,e.canvas.height);e===this&&e.renderTarget.attr({href:""})},e.boostClipRect=a.renderer.clipRect(),e.renderTarget.clip(e.boostClipRect));e.canvas.width!==b&&(e.canvas.width=b);e.canvas.height!==c&&(e.canvas.height=c);e.renderTarget.attr({x:0,y:0,width:b,height:c,style:"pointer-events: none",href:""});e.boostClipRect.attr(a.getBoostClipRect(e));return f},canvasToSVG:function(){this.chart.isChartSeriesBoosting()?this.boostClear&&this.boostClear():
65
+ (this.boostCopy||this.chart.boostCopy)&&(this.boostCopy||this.chart.boostCopy)()},cvsLineTo:function(a,b,c){a.lineTo(b,c)},renderCanvas:function(){var a=this,b=a.options,c=a.chart,d=this.xAxis,g=this.yAxis,t=(c.options.boost||{}).timeRendering||!1,f=0,u=a.processedXData,H=a.processedYData,O=b.data,E=d.getExtremes(),J=E.min,L=E.max;E=g.getExtremes();var G=E.min,Y=E.max,ia={},X,A=!!a.sampling,z=b.marker&&b.marker.radius,aa=this.cvsDrawPoint,ba=b.lineWidth?this.cvsLineTo:void 0,ja=z&&1>=z?this.cvsMarkerSquare:
66
+ this.cvsMarkerCircle,ra=this.cvsStrokeBatch||1E3,wa=!1!==b.enableMouseTracking,ka;E=b.threshold;var T=g.getThreshold(E),ca=y(E),V=T,da=this.fill,ta=a.pointArrayMap&&"low,high"===a.pointArrayMap.join(","),la=!!b.stacking,ea=a.cropStart||0;E=c.options.loading;var ua=a.requireSorting,va,Oa=b.connectNulls,Fa=!u,ya,za,fa,sa,xa,W=la?a.data:u||O,Pa=a.fillOpacity?(new B(a.color)).setOpacity(F(b.fillOpacity,.75)).get():a.color,Ga=function(){da?(M.fillStyle=Pa,M.fill()):(M.strokeStyle=a.color,M.lineWidth=b.lineWidth,
67
+ M.stroke())},Ha=function(b,d,e,g){0===f&&(M.beginPath(),ba&&(M.lineJoin="round"));c.scroller&&"highcharts-navigator-series"===a.options.className?(d+=c.scroller.top,e&&(e+=c.scroller.top)):d+=c.plotTop;b+=c.plotLeft;va?M.moveTo(b,d):aa?aa(M,b,d,e,ka):ba?ba(M,b,d):ja&&ja.call(a,M,b,d,z,g);f+=1;f===ra&&(Ga(),f=0);ka={clientX:b,plotY:d,yBottom:e}},Qa="x"===b.findNearestPointBy,Ia=this.xData||this.options.xData||this.processedXData||!1,Aa=function(a,b,e){xa=Qa?a:a+","+b;wa&&!ia[xa]&&(ia[xa]=!0,c.inverted&&
68
+ (a=d.len-a,b=g.len-b),Ra.push({x:Ia?Ia[ea+e]:!1,clientX:a,plotX:a,plotY:b,i:ea+e}))};this.renderTarget&&this.renderTarget.attr({href:""});(this.points||this.graph)&&this.destroyGraphics();a.plotGroup("group","series",a.visible?"visible":"hidden",b.zIndex,c.seriesGroup);a.markerGroup=a.group;e(a,"destroy",function(){a.markerGroup=null});var Ra=this.points=[];var M=this.getContext();a.buildKDTree=v;this.boostClear&&this.boostClear();this.visible&&(99999<O.length&&(c.options.loading=r(E,{labelStyle:{backgroundColor:m(h.backgroundColor).setOpacity(.75).get(),
69
69
  padding:"1em",borderRadius:"0.5em"},style:{backgroundColor:"none",opacity:1}}),q.clearTimeout(x),c.showLoading("Drawing..."),c.options.loading=E),t&&console.time("canvas rendering"),w.eachAsync(W,function(b,e){var f=!1,p=!1,l=!1,x=!1,h="undefined"===typeof c.index,n=!0;if(!h){if(Fa){var m=b[0];var k=b[1];W[e+1]&&(l=W[e+1][0]);W[e-1]&&(x=W[e-1][0])}else m=b,k=H[e],W[e+1]&&(l=W[e+1]),W[e-1]&&(x=W[e-1]);l&&l>=J&&l<=L&&(f=!0);x&&x>=J&&x<=L&&(p=!0);if(ta){Fa&&(k=b.slice(1,3));var I=k[0];k=k[1]}else la&&
70
70
  (m=b.x,k=b.stackY,I=k-b.y);b=null===k;ua||(n=k>=G&&k<=Y);if(!b&&(m>=J&&m<=L&&n||f||p))if(m=Math.round(d.toPixels(m,!0)),A){if("undefined"===typeof fa||m===X){ta||(I=k);if("undefined"===typeof sa||k>za)za=k,sa=e;if("undefined"===typeof fa||I<ya)ya=I,fa=e}m!==X&&("undefined"!==typeof fa&&(k=g.toPixels(za,!0),T=g.toPixels(ya,!0),Ha(m,ca?Math.min(k,V):k,ca?Math.max(T,V):T,e),Aa(m,k,sa),T!==k&&Aa(m,T,fa)),fa=sa=void 0,X=m)}else k=Math.round(g.toPixels(k,!0)),Ha(m,k,T,e),Aa(m,k,e);va=b&&!Oa;0===e%5E4&&
71
71
  (a.boostCopy||a.chart.boostCopy)&&(a.boostCopy||a.chart.boostCopy)()}return!h},function(){var b=c.loadingDiv,d=c.loadingShown;Ga();a.canvasToSVG();t&&console.timeEnd("canvas rendering");k(a,"renderedCanvas");d&&(n(b.style,{transition:"opacity 250ms",opacity:0}),c.loadingShown=!1,x=setTimeout(function(){b.parentNode&&b.parentNode.removeChild(b);c.loadingDiv=c.loadingSpan=null},250));delete a.buildKDTree;a.buildKDTree()},c.renderer.forExport?Number.MAX_VALUE:void 0))}});g.scatter.prototype.cvsMarkerCircle=