ps-toolkit-ui 0.0.209 → 0.0.210

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 (1057) hide show
  1. package/bundles/ps-toolkit-ui.umd.js +20 -2
  2. package/bundles/ps-toolkit-ui.umd.js.map +1 -1
  3. package/bundles/ps-toolkit-ui.umd.min.js +1 -1
  4. package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
  5. package/esm2015/lib/classes/chart.class.js +140 -0
  6. package/esm2015/lib/components/chart/chart.component.js +17 -0
  7. package/esm2015/lib/ps-toolkit-ui.module.js +4 -3
  8. package/esm2015/ps-toolkit-ui.js +2 -1
  9. package/fesm2015/ps-toolkit-ui.js +19 -3
  10. package/fesm2015/ps-toolkit-ui.js.map +1 -1
  11. package/lib/classes/chart.class.d.ts +11 -0
  12. package/lib/components/chart/chart.component.d.ts +5 -0
  13. package/package.json +1 -1
  14. package/ps-toolkit-ui.d.ts +1 -0
  15. package/ps-toolkit-ui.metadata.json +1 -1
  16. package/src/assets/plugins/highcharts/code/css/annotations/popup.css +276 -0
  17. package/src/assets/plugins/highcharts/code/css/annotations/popup.scss +289 -0
  18. package/src/assets/plugins/highcharts/code/css/highcharts.css +1013 -0
  19. package/src/assets/plugins/highcharts/code/css/highcharts.scss +896 -0
  20. package/src/assets/plugins/highcharts/code/css/stocktools/gui.css +271 -0
  21. package/src/assets/plugins/highcharts/code/css/stocktools/gui.scss +271 -0
  22. package/src/assets/plugins/highcharts/code/css/themes/dark-unica.css +1074 -0
  23. package/src/assets/plugins/highcharts/code/css/themes/dark-unica.scss +122 -0
  24. package/src/assets/plugins/highcharts/code/css/themes/grid-light.css +1027 -0
  25. package/src/assets/plugins/highcharts/code/css/themes/grid-light.scss +33 -0
  26. package/src/assets/plugins/highcharts/code/css/themes/sand-signika.css +1043 -0
  27. package/src/assets/plugins/highcharts/code/css/themes/sand-signika.scss +74 -0
  28. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/A11yI18n.js +299 -0
  29. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Accessibility.js +401 -0
  30. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/AccessibilityComponent.js +153 -0
  31. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/AnnotationsA11y.js +160 -0
  32. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/ContainerComponent.js +159 -0
  33. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/InfoRegionsComponent.js +543 -0
  34. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/LegendComponent.js +478 -0
  35. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/MenuComponent.js +451 -0
  36. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/RangeSelectorComponent.js +506 -0
  37. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/SeriesComponent/ForcedMarkers.js +217 -0
  38. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/SeriesComponent/NewDataAnnouncer.js +324 -0
  39. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/SeriesComponent/SeriesComponent.js +148 -0
  40. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +390 -0
  41. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js +650 -0
  42. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/ZoomComponent.js +375 -0
  43. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/FocusBorder.js +302 -0
  44. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/HighContrastMode.js +96 -0
  45. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/HighContrastTheme.js +221 -0
  46. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/KeyboardNavigation.js +449 -0
  47. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/KeyboardNavigationHandler.js +128 -0
  48. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Options/DeprecatedOptions.js +250 -0
  49. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Options/LangOptions.js +339 -0
  50. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Options/Options.js +831 -0
  51. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/ProxyElement.js +218 -0
  52. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/ProxyProvider.js +302 -0
  53. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Utils/Announcer.js +91 -0
  54. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Utils/ChartUtilities.js +294 -0
  55. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Utils/DOMElementProvider.js +62 -0
  56. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Utils/EventProvider.js +58 -0
  57. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Utils/HTMLUtilities.js +305 -0
  58. package/src/assets/plugins/highcharts/code/es-modules/Core/Animation/AnimationUtilities.js +200 -0
  59. package/src/assets/plugins/highcharts/code/es-modules/Core/Animation/Fx.js +387 -0
  60. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/Axis.js +3225 -0
  61. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/Axis3D.js +612 -0
  62. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/AxisDefaults.js +2935 -0
  63. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/BrokenAxis.js +601 -0
  64. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/Color/ColorAxis.js +668 -0
  65. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/Color/ColorAxisComposition.js +287 -0
  66. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/Color/ColorAxisDefaults.js +434 -0
  67. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/DateTimeAxis.js +196 -0
  68. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/GridAxis.js +1046 -0
  69. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/LogarithmicAxis.js +202 -0
  70. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/NavigatorAxis.js +159 -0
  71. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/OrdinalAxis.js +992 -0
  72. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +873 -0
  73. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js +287 -0
  74. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/RadialAxis.js +954 -0
  75. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/ScrollbarAxis.js +182 -0
  76. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/SolidGaugeAxis.js +127 -0
  77. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/StackingAxis.js +216 -0
  78. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/Tick.js +723 -0
  79. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/Tick3D.js +68 -0
  80. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/TreeGridAxis.js +720 -0
  81. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/TreeGridTick.js +306 -0
  82. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/WaterfallAxis.js +149 -0
  83. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/ZAxis.js +156 -0
  84. package/src/assets/plugins/highcharts/code/es-modules/Core/Chart/Chart.js +2909 -0
  85. package/src/assets/plugins/highcharts/code/es-modules/Core/Chart/Chart3D.js +1695 -0
  86. package/src/assets/plugins/highcharts/code/es-modules/Core/Chart/ChartDefaults.js +1053 -0
  87. package/src/assets/plugins/highcharts/code/es-modules/Core/Chart/ChartNavigationComposition.js +92 -0
  88. package/src/assets/plugins/highcharts/code/es-modules/Core/Chart/GanttChart.js +177 -0
  89. package/src/assets/plugins/highcharts/code/es-modules/Core/Chart/MapChart.js +179 -0
  90. package/src/assets/plugins/highcharts/code/es-modules/Core/Chart/StockChart.js +644 -0
  91. package/src/assets/plugins/highcharts/code/es-modules/Core/Color/Color.js +419 -0
  92. package/src/assets/plugins/highcharts/code/es-modules/Core/Color/Palettes.js +22 -0
  93. package/src/assets/plugins/highcharts/code/es-modules/Core/DefaultOptions.js +2743 -0
  94. package/src/assets/plugins/highcharts/code/es-modules/Core/FormatUtilities.js +246 -0
  95. package/src/assets/plugins/highcharts/code/es-modules/Core/Foundation.js +61 -0
  96. package/src/assets/plugins/highcharts/code/es-modules/Core/Geometry/CircleUtilities.js +386 -0
  97. package/src/assets/plugins/highcharts/code/es-modules/Core/Geometry/GeometryUtilities.js +83 -0
  98. package/src/assets/plugins/highcharts/code/es-modules/Core/Globals.js +131 -0
  99. package/src/assets/plugins/highcharts/code/es-modules/Core/HttpUtilities.js +195 -0
  100. package/src/assets/plugins/highcharts/code/es-modules/Core/Legend/Legend.js +1284 -0
  101. package/src/assets/plugins/highcharts/code/es-modules/Core/Legend/LegendSymbol.js +109 -0
  102. package/src/assets/plugins/highcharts/code/es-modules/Core/MSPointer.js +170 -0
  103. package/src/assets/plugins/highcharts/code/es-modules/Core/Navigator.js +1958 -0
  104. package/src/assets/plugins/highcharts/code/es-modules/Core/Pointer.js +1518 -0
  105. package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/HTML/AST.js +475 -0
  106. package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/HTML/HTMLElement.js +261 -0
  107. package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/HTML/HTMLRenderer.js +272 -0
  108. package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/RendererRegistry.js +77 -0
  109. package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/RendererUtilities.js +159 -0
  110. package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/SVG/SVGElement.js +2176 -0
  111. package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/SVG/SVGElement3D.js +160 -0
  112. package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/SVG/SVGLabel.js +408 -0
  113. package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/SVG/SVGRenderer.js +1900 -0
  114. package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/SVG/SVGRenderer3D.js +842 -0
  115. package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/SVG/Symbols.js +197 -0
  116. package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/SVG/TextBuilder.js +452 -0
  117. package/src/assets/plugins/highcharts/code/es-modules/Core/Responsive.js +334 -0
  118. package/src/assets/plugins/highcharts/code/es-modules/Core/Scrollbar.js +658 -0
  119. package/src/assets/plugins/highcharts/code/es-modules/Core/ScrollbarDefaults.js +218 -0
  120. package/src/assets/plugins/highcharts/code/es-modules/Core/Series/DataLabel.js +568 -0
  121. package/src/assets/plugins/highcharts/code/es-modules/Core/Series/Point.js +1307 -0
  122. package/src/assets/plugins/highcharts/code/es-modules/Core/Series/Series.js +3718 -0
  123. package/src/assets/plugins/highcharts/code/es-modules/Core/Series/Series3D.js +126 -0
  124. package/src/assets/plugins/highcharts/code/es-modules/Core/Series/SeriesDefaults.js +2293 -0
  125. package/src/assets/plugins/highcharts/code/es-modules/Core/Series/SeriesRegistry.js +127 -0
  126. package/src/assets/plugins/highcharts/code/es-modules/Core/Time.js +741 -0
  127. package/src/assets/plugins/highcharts/code/es-modules/Core/Tooltip.js +1378 -0
  128. package/src/assets/plugins/highcharts/code/es-modules/Core/Utilities.js +1967 -0
  129. package/src/assets/plugins/highcharts/code/es-modules/Data/DataConverter.js +483 -0
  130. package/src/assets/plugins/highcharts/code/es-modules/Data/DataPromise.js +252 -0
  131. package/src/assets/plugins/highcharts/code/es-modules/Data/DataSeriesConverter.js +207 -0
  132. package/src/assets/plugins/highcharts/code/es-modules/Data/DataTable.js +1205 -0
  133. package/src/assets/plugins/highcharts/code/es-modules/Data/Modifiers/ChainModifier.js +299 -0
  134. package/src/assets/plugins/highcharts/code/es-modules/Data/Modifiers/DataModifier.js +303 -0
  135. package/src/assets/plugins/highcharts/code/es-modules/Data/Modifiers/GroupModifier.js +144 -0
  136. package/src/assets/plugins/highcharts/code/es-modules/Data/Modifiers/InvertModifier.js +254 -0
  137. package/src/assets/plugins/highcharts/code/es-modules/Data/Modifiers/RangeModifier.js +143 -0
  138. package/src/assets/plugins/highcharts/code/es-modules/Data/Modifiers/SeriesPointsModifier.js +110 -0
  139. package/src/assets/plugins/highcharts/code/es-modules/Data/Modifiers/SortModifier.js +249 -0
  140. package/src/assets/plugins/highcharts/code/es-modules/Data/Parsers/CSVParser.js +400 -0
  141. package/src/assets/plugins/highcharts/code/es-modules/Data/Parsers/DataParser.js +101 -0
  142. package/src/assets/plugins/highcharts/code/es-modules/Data/Parsers/GoogleSheetsParser.js +223 -0
  143. package/src/assets/plugins/highcharts/code/es-modules/Data/Parsers/HTMLTableParser.js +213 -0
  144. package/src/assets/plugins/highcharts/code/es-modules/Data/Stores/CSVStore.js +317 -0
  145. package/src/assets/plugins/highcharts/code/es-modules/Data/Stores/DataStore.js +276 -0
  146. package/src/assets/plugins/highcharts/code/es-modules/Data/Stores/GoogleSheetsStore.js +169 -0
  147. package/src/assets/plugins/highcharts/code/es-modules/Data/Stores/HTMLTableStore.js +353 -0
  148. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Annotations.js +1442 -0
  149. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/ControlPoint.js +141 -0
  150. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Controllables/ControllableCircle.js +117 -0
  151. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Controllables/ControllableEllipse.js +199 -0
  152. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Controllables/ControllableImage.js +111 -0
  153. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Controllables/ControllableLabel.js +387 -0
  154. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Controllables/ControllablePath.js +181 -0
  155. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Controllables/ControllableRect.js +121 -0
  156. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Mixins/ControllableMixin.js +378 -0
  157. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Mixins/EventEmitterMixin.js +221 -0
  158. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Mixins/MarkerMixin.js +179 -0
  159. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/MockPoint.js +428 -0
  160. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/NavigationBindings.js +1212 -0
  161. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Popup.js +1123 -0
  162. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/BasicAnnotation.js +237 -0
  163. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/CrookedLine.js +185 -0
  164. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/ElliottWave.js +95 -0
  165. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/Fibonacci.js +205 -0
  166. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/FibonacciTimeZones.js +219 -0
  167. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/InfinityLine.js +161 -0
  168. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/Measure.js +791 -0
  169. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/Pitchfork.js +194 -0
  170. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/TimeCycles.js +211 -0
  171. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/Tunnel.js +211 -0
  172. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/VerticalLine.js +156 -0
  173. package/src/assets/plugins/highcharts/code/es-modules/Extensions/ArrowSymbols.js +166 -0
  174. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/Boost.js +34 -0
  175. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/BoostAttach.js +150 -0
  176. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/BoostInit.js +318 -0
  177. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/BoostOptions.js +219 -0
  178. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/BoostOverrides.js +386 -0
  179. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/BoostUtils.js +255 -0
  180. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/BoostableMap.js +18 -0
  181. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/Boostables.js +25 -0
  182. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/NamedColors.js +162 -0
  183. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/WGLRenderer.js +1188 -0
  184. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/WGLShader.js +470 -0
  185. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/WGLVBuffer.js +153 -0
  186. package/src/assets/plugins/highcharts/code/es-modules/Extensions/BoostCanvas.js +509 -0
  187. package/src/assets/plugins/highcharts/code/es-modules/Extensions/CurrentDateIndication.js +100 -0
  188. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Data.js +2037 -0
  189. package/src/assets/plugins/highcharts/code/es-modules/Extensions/DataGrouping.js +1134 -0
  190. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Debugger/Debugger.js +101 -0
  191. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Debugger/ErrorMessages.js +106 -0
  192. package/src/assets/plugins/highcharts/code/es-modules/Extensions/DownloadURL.js +106 -0
  193. package/src/assets/plugins/highcharts/code/es-modules/Extensions/DragPanes.js +512 -0
  194. package/src/assets/plugins/highcharts/code/es-modules/Extensions/DraggablePoints.js +2259 -0
  195. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Drilldown.js +1170 -0
  196. package/src/assets/plugins/highcharts/code/es-modules/Extensions/ExportData.js +997 -0
  197. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Exporting/Exporting.js +1260 -0
  198. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Exporting/ExportingDefaults.js +796 -0
  199. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Exporting/ExportingSymbols.js +73 -0
  200. package/src/assets/plugins/highcharts/code/es-modules/Extensions/FullScreen.js +240 -0
  201. package/src/assets/plugins/highcharts/code/es-modules/Extensions/GeoJSON.js +436 -0
  202. package/src/assets/plugins/highcharts/code/es-modules/Extensions/MarkerClusters.js +1436 -0
  203. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Math3D.js +245 -0
  204. package/src/assets/plugins/highcharts/code/es-modules/Extensions/NoDataToDisplay.js +189 -0
  205. package/src/assets/plugins/highcharts/code/es-modules/Extensions/OfflineExporting/OfflineExporting.js +617 -0
  206. package/src/assets/plugins/highcharts/code/es-modules/Extensions/OfflineExporting/OfflineExportingDefaults.js +58 -0
  207. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Oldie/Oldie.js +1182 -0
  208. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Oldie/VMLAxis3D.js +101 -0
  209. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Oldie/VMLRenderer3D.js +47 -0
  210. package/src/assets/plugins/highcharts/code/es-modules/Extensions/OldiePolyfills.js +167 -0
  211. package/src/assets/plugins/highcharts/code/es-modules/Extensions/OverlappingDataLabels.js +226 -0
  212. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Pane.js +404 -0
  213. package/src/assets/plugins/highcharts/code/es-modules/Extensions/ParallelCoordinates.js +464 -0
  214. package/src/assets/plugins/highcharts/code/es-modules/Extensions/PatternFill.js +580 -0
  215. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Polar.js +740 -0
  216. package/src/assets/plugins/highcharts/code/es-modules/Extensions/PriceIndication.js +292 -0
  217. package/src/assets/plugins/highcharts/code/es-modules/Extensions/RangeSelector.js +2175 -0
  218. package/src/assets/plugins/highcharts/code/es-modules/Extensions/ScrollablePlotArea.js +387 -0
  219. package/src/assets/plugins/highcharts/code/es-modules/Extensions/SeriesLabel.js +765 -0
  220. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/ChartSonify.js +724 -0
  221. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/Earcon.js +197 -0
  222. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/Instrument.js +606 -0
  223. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/MusicalFrequencies.js +122 -0
  224. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/Options.js +44 -0
  225. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/PointSonify.js +391 -0
  226. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/SeriesSonify.js +474 -0
  227. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/SignalHandler.js +122 -0
  228. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/Sonification.js +97 -0
  229. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/SonificationUtilities.js +150 -0
  230. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/Timeline.js +308 -0
  231. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/TimelineEvent.js +157 -0
  232. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/TimelinePath.js +311 -0
  233. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Stacking.js +516 -0
  234. package/src/assets/plugins/highcharts/code/es-modules/Extensions/StaticScale.js +76 -0
  235. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/Avocado.js +67 -0
  236. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/BrandDark.js +293 -0
  237. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/BrandLight.js +259 -0
  238. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/DarkBlue.js +279 -0
  239. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/DarkGreen.js +279 -0
  240. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/DarkUnica.js +249 -0
  241. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/Gray.js +287 -0
  242. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/Grid.js +140 -0
  243. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/GridLight.js +111 -0
  244. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/HighContrastDark.js +239 -0
  245. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/HighContrastLight.js +69 -0
  246. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/SandSignika.js +144 -0
  247. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/Skies.js +131 -0
  248. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/Sunset.js +66 -0
  249. package/src/assets/plugins/highcharts/code/es-modules/Gantt/Connection.js +838 -0
  250. package/src/assets/plugins/highcharts/code/es-modules/Gantt/Pathfinder.js +818 -0
  251. package/src/assets/plugins/highcharts/code/es-modules/Gantt/PathfinderAlgorithms.js +657 -0
  252. package/src/assets/plugins/highcharts/code/es-modules/Gantt/Tree.js +110 -0
  253. package/src/assets/plugins/highcharts/code/es-modules/Maps/MapNavigation.js +278 -0
  254. package/src/assets/plugins/highcharts/code/es-modules/Maps/MapNavigationOptionsDefault.js +264 -0
  255. package/src/assets/plugins/highcharts/code/es-modules/Maps/MapPointer.js +83 -0
  256. package/src/assets/plugins/highcharts/code/es-modules/Maps/MapSymbols.js +80 -0
  257. package/src/assets/plugins/highcharts/code/es-modules/Maps/MapView.js +450 -0
  258. package/src/assets/plugins/highcharts/code/es-modules/Maps/MapViewOptionsDefault.js +97 -0
  259. package/src/assets/plugins/highcharts/code/es-modules/Maps/Projection.js +436 -0
  260. package/src/assets/plugins/highcharts/code/es-modules/Maps/ProjectionDefinition.js +9 -0
  261. package/src/assets/plugins/highcharts/code/es-modules/Maps/Projections/EqualEarth.js +42 -0
  262. package/src/assets/plugins/highcharts/code/es-modules/Maps/Projections/LambertConformalConic.js +52 -0
  263. package/src/assets/plugins/highcharts/code/es-modules/Maps/Projections/Miller.js +16 -0
  264. package/src/assets/plugins/highcharts/code/es-modules/Maps/Projections/Orthographic.js +26 -0
  265. package/src/assets/plugins/highcharts/code/es-modules/Maps/Projections/ProjectionRegistry.js +19 -0
  266. package/src/assets/plugins/highcharts/code/es-modules/Maps/Projections/WebMercator.js +24 -0
  267. package/src/assets/plugins/highcharts/code/es-modules/Series/Area/AreaSeries.js +563 -0
  268. package/src/assets/plugins/highcharts/code/es-modules/Series/Area3DSeries.js +70 -0
  269. package/src/assets/plugins/highcharts/code/es-modules/Series/AreaRange/AreaRangePoint.js +129 -0
  270. package/src/assets/plugins/highcharts/code/es-modules/Series/AreaRange/AreaRangeSeries.js +650 -0
  271. package/src/assets/plugins/highcharts/code/es-modules/Series/AreaSpline/AreaSplineSeries.js +203 -0
  272. package/src/assets/plugins/highcharts/code/es-modules/Series/AreaSplineRange/AreaSplineRangeSeries.js +199 -0
  273. package/src/assets/plugins/highcharts/code/es-modules/Series/Bar/BarSeries.js +171 -0
  274. package/src/assets/plugins/highcharts/code/es-modules/Series/Bellcurve/BellcurveSeries.js +241 -0
  275. package/src/assets/plugins/highcharts/code/es-modules/Series/BoxPlot/BoxPlotSeries.js +681 -0
  276. package/src/assets/plugins/highcharts/code/es-modules/Series/Bubble/BubbleLegendComposition.js +279 -0
  277. package/src/assets/plugins/highcharts/code/es-modules/Series/Bubble/BubbleLegendDefaults.js +266 -0
  278. package/src/assets/plugins/highcharts/code/es-modules/Series/Bubble/BubbleLegendItem.js +462 -0
  279. package/src/assets/plugins/highcharts/code/es-modules/Series/Bubble/BubblePoint.js +77 -0
  280. package/src/assets/plugins/highcharts/code/es-modules/Series/Bubble/BubbleSeries.js +676 -0
  281. package/src/assets/plugins/highcharts/code/es-modules/Series/Bullet/BulletPoint.js +62 -0
  282. package/src/assets/plugins/highcharts/code/es-modules/Series/Bullet/BulletSeries.js +365 -0
  283. package/src/assets/plugins/highcharts/code/es-modules/Series/Candlestick/CandlestickSeries.js +333 -0
  284. package/src/assets/plugins/highcharts/code/es-modules/Series/CenteredUtilities.js +128 -0
  285. package/src/assets/plugins/highcharts/code/es-modules/Series/ColorMapMixin.js +84 -0
  286. package/src/assets/plugins/highcharts/code/es-modules/Series/Column/ColumnDataLabel.js +109 -0
  287. package/src/assets/plugins/highcharts/code/es-modules/Series/Column/ColumnSeries.js +1171 -0
  288. package/src/assets/plugins/highcharts/code/es-modules/Series/Column3D/Column3DComposition.js +508 -0
  289. package/src/assets/plugins/highcharts/code/es-modules/Series/ColumnPyramid/ColumnPyramidSeries.js +308 -0
  290. package/src/assets/plugins/highcharts/code/es-modules/Series/ColumnRange/ColumnRangePoint.js +62 -0
  291. package/src/assets/plugins/highcharts/code/es-modules/Series/ColumnRange/ColumnRangeSeries.js +308 -0
  292. package/src/assets/plugins/highcharts/code/es-modules/Series/Cylinder/CylinderComposition.js +274 -0
  293. package/src/assets/plugins/highcharts/code/es-modules/Series/Cylinder/CylinderPoint.js +60 -0
  294. package/src/assets/plugins/highcharts/code/es-modules/Series/Cylinder/CylinderSeries.js +175 -0
  295. package/src/assets/plugins/highcharts/code/es-modules/Series/DataModifyComposition.js +539 -0
  296. package/src/assets/plugins/highcharts/code/es-modules/Series/DependencyWheel/DependencyWheelPoint.js +100 -0
  297. package/src/assets/plugins/highcharts/code/es-modules/Series/DependencyWheel/DependencyWheelSeries.js +368 -0
  298. package/src/assets/plugins/highcharts/code/es-modules/Series/DerivedComposition.js +137 -0
  299. package/src/assets/plugins/highcharts/code/es-modules/Series/DotPlot/DotPlotSeries.js +158 -0
  300. package/src/assets/plugins/highcharts/code/es-modules/Series/DrawPointComposition.js +111 -0
  301. package/src/assets/plugins/highcharts/code/es-modules/Series/Dumbbell/DumbbellPoint.js +104 -0
  302. package/src/assets/plugins/highcharts/code/es-modules/Series/Dumbbell/DumbbellSeries.js +464 -0
  303. package/src/assets/plugins/highcharts/code/es-modules/Series/ErrorBar/ErrorBarSeries.js +228 -0
  304. package/src/assets/plugins/highcharts/code/es-modules/Series/Flags/FlagsPoint.js +74 -0
  305. package/src/assets/plugins/highcharts/code/es-modules/Series/Flags/FlagsSeries.js +614 -0
  306. package/src/assets/plugins/highcharts/code/es-modules/Series/Flags/FlagsSymbols.js +90 -0
  307. package/src/assets/plugins/highcharts/code/es-modules/Series/Funnel/FunnelSeries.js +517 -0
  308. package/src/assets/plugins/highcharts/code/es-modules/Series/Funnel3D/Funnel3DComposition.js +383 -0
  309. package/src/assets/plugins/highcharts/code/es-modules/Series/Funnel3D/Funnel3DPoint.js +62 -0
  310. package/src/assets/plugins/highcharts/code/es-modules/Series/Funnel3D/Funnel3DSeries.js +447 -0
  311. package/src/assets/plugins/highcharts/code/es-modules/Series/Gantt/GanttPoint.js +109 -0
  312. package/src/assets/plugins/highcharts/code/es-modules/Series/Gantt/GanttSeries.js +352 -0
  313. package/src/assets/plugins/highcharts/code/es-modules/Series/Gauge/GaugePoint.js +66 -0
  314. package/src/assets/plugins/highcharts/code/es-modules/Series/Gauge/GaugeSeries.js +568 -0
  315. package/src/assets/plugins/highcharts/code/es-modules/Series/HLC/HLCPoint.js +55 -0
  316. package/src/assets/plugins/highcharts/code/es-modules/Series/HLC/HLCSeries.js +378 -0
  317. package/src/assets/plugins/highcharts/code/es-modules/Series/Heatmap/HeatmapPoint.js +144 -0
  318. package/src/assets/plugins/highcharts/code/es-modules/Series/Heatmap/HeatmapSeries.js +946 -0
  319. package/src/assets/plugins/highcharts/code/es-modules/Series/HeikinAshi/HeikinAshiPoint.js +60 -0
  320. package/src/assets/plugins/highcharts/code/es-modules/Series/HeikinAshi/HeikinAshiSeries.js +278 -0
  321. package/src/assets/plugins/highcharts/code/es-modules/Series/Histogram/HistogramSeries.js +253 -0
  322. package/src/assets/plugins/highcharts/code/es-modules/Series/HollowCandlestick/HollowCandlestickPoint.js +80 -0
  323. package/src/assets/plugins/highcharts/code/es-modules/Series/HollowCandlestick/HollowCandlestickSeries.js +368 -0
  324. package/src/assets/plugins/highcharts/code/es-modules/Series/Item/ItemPoint.js +59 -0
  325. package/src/assets/plugins/highcharts/code/es-modules/Series/Item/ItemSeries.js +505 -0
  326. package/src/assets/plugins/highcharts/code/es-modules/Series/Line/LineSeries.js +541 -0
  327. package/src/assets/plugins/highcharts/code/es-modules/Series/Lollipop/LollipopPoint.js +60 -0
  328. package/src/assets/plugins/highcharts/code/es-modules/Series/Lollipop/LollipopSeries.js +209 -0
  329. package/src/assets/plugins/highcharts/code/es-modules/Series/Map/MapPoint.js +136 -0
  330. package/src/assets/plugins/highcharts/code/es-modules/Series/Map/MapSeries.js +1100 -0
  331. package/src/assets/plugins/highcharts/code/es-modules/Series/MapBubble/MapBubblePoint.js +73 -0
  332. package/src/assets/plugins/highcharts/code/es-modules/Series/MapBubble/MapBubbleSeries.js +283 -0
  333. package/src/assets/plugins/highcharts/code/es-modules/Series/MapLine/MapLineSeries.js +181 -0
  334. package/src/assets/plugins/highcharts/code/es-modules/Series/MapPoint/MapPointPoint.js +71 -0
  335. package/src/assets/plugins/highcharts/code/es-modules/Series/MapPoint/MapPointSeries.js +309 -0
  336. package/src/assets/plugins/highcharts/code/es-modules/Series/Networkgraph/DraggableNodes.js +132 -0
  337. package/src/assets/plugins/highcharts/code/es-modules/Series/Networkgraph/Integrations.js +348 -0
  338. package/src/assets/plugins/highcharts/code/es-modules/Series/Networkgraph/Layouts.js +555 -0
  339. package/src/assets/plugins/highcharts/code/es-modules/Series/Networkgraph/Networkgraph.js +1178 -0
  340. package/src/assets/plugins/highcharts/code/es-modules/Series/Networkgraph/QuadTree.js +352 -0
  341. package/src/assets/plugins/highcharts/code/es-modules/Series/NodesComposition.js +229 -0
  342. package/src/assets/plugins/highcharts/code/es-modules/Series/OHLC/OHLCPoint.js +116 -0
  343. package/src/assets/plugins/highcharts/code/es-modules/Series/OHLC/OHLCSeries.js +254 -0
  344. package/src/assets/plugins/highcharts/code/es-modules/Series/OnSeriesComposition.js +168 -0
  345. package/src/assets/plugins/highcharts/code/es-modules/Series/Organization/OrganizationPoint.js +71 -0
  346. package/src/assets/plugins/highcharts/code/es-modules/Series/Organization/OrganizationSeries.js +594 -0
  347. package/src/assets/plugins/highcharts/code/es-modules/Series/PackedBubble/PackedBubbleComposition.js +172 -0
  348. package/src/assets/plugins/highcharts/code/es-modules/Series/PackedBubble/PackedBubblePoint.js +98 -0
  349. package/src/assets/plugins/highcharts/code/es-modules/Series/PackedBubble/PackedBubbleSeries.js +1284 -0
  350. package/src/assets/plugins/highcharts/code/es-modules/Series/ParetoSeries/ParetoSeries.js +195 -0
  351. package/src/assets/plugins/highcharts/code/es-modules/Series/Pie/PieDataLabel.js +447 -0
  352. package/src/assets/plugins/highcharts/code/es-modules/Series/Pie/PiePoint.js +270 -0
  353. package/src/assets/plugins/highcharts/code/es-modules/Series/Pie/PieSeries.js +1074 -0
  354. package/src/assets/plugins/highcharts/code/es-modules/Series/Pie3D/Pie3DComposition.js +27 -0
  355. package/src/assets/plugins/highcharts/code/es-modules/Series/Pie3D/Pie3DPoint.js +72 -0
  356. package/src/assets/plugins/highcharts/code/es-modules/Series/Pie3D/Pie3DSeries.js +200 -0
  357. package/src/assets/plugins/highcharts/code/es-modules/Series/Polygon/PolygonSeries.js +195 -0
  358. package/src/assets/plugins/highcharts/code/es-modules/Series/Pyramid/PyramidSeries.js +161 -0
  359. package/src/assets/plugins/highcharts/code/es-modules/Series/Pyramid3D/Pyramid3DSeries.js +172 -0
  360. package/src/assets/plugins/highcharts/code/es-modules/Series/Sankey/SankeyPoint.js +97 -0
  361. package/src/assets/plugins/highcharts/code/es-modules/Series/Sankey/SankeySeries.js +1195 -0
  362. package/src/assets/plugins/highcharts/code/es-modules/Series/Scatter/ScatterSeries.js +306 -0
  363. package/src/assets/plugins/highcharts/code/es-modules/Series/Scatter3D/Scatter3DPoint.js +66 -0
  364. package/src/assets/plugins/highcharts/code/es-modules/Series/Scatter3D/Scatter3DSeries.js +194 -0
  365. package/src/assets/plugins/highcharts/code/es-modules/Series/SolidGauge/SolidGaugeComposition.js +62 -0
  366. package/src/assets/plugins/highcharts/code/es-modules/Series/SolidGauge/SolidGaugeSeries.js +358 -0
  367. package/src/assets/plugins/highcharts/code/es-modules/Series/Spline/SplineSeries.js +279 -0
  368. package/src/assets/plugins/highcharts/code/es-modules/Series/Streamgraph/StreamgraphSeries.js +213 -0
  369. package/src/assets/plugins/highcharts/code/es-modules/Series/Sunburst/SunburstPoint.js +115 -0
  370. package/src/assets/plugins/highcharts/code/es-modules/Series/Sunburst/SunburstSeries.js +907 -0
  371. package/src/assets/plugins/highcharts/code/es-modules/Series/Sunburst/SunburstUtilities.js +138 -0
  372. package/src/assets/plugins/highcharts/code/es-modules/Series/Tilemap/TilemapComposition.js +61 -0
  373. package/src/assets/plugins/highcharts/code/es-modules/Series/Tilemap/TilemapPoint.js +77 -0
  374. package/src/assets/plugins/highcharts/code/es-modules/Series/Tilemap/TilemapSeries.js +368 -0
  375. package/src/assets/plugins/highcharts/code/es-modules/Series/Tilemap/TilemapShapes.js +275 -0
  376. package/src/assets/plugins/highcharts/code/es-modules/Series/Timeline/TimelinePoint.js +168 -0
  377. package/src/assets/plugins/highcharts/code/es-modules/Series/Timeline/TimelineSeries.js +552 -0
  378. package/src/assets/plugins/highcharts/code/es-modules/Series/TreeUtilities.js +192 -0
  379. package/src/assets/plugins/highcharts/code/es-modules/Series/Treemap/TreemapAlgorithmGroup.js +93 -0
  380. package/src/assets/plugins/highcharts/code/es-modules/Series/Treemap/TreemapComposition.js +58 -0
  381. package/src/assets/plugins/highcharts/code/es-modules/Series/Treemap/TreemapPoint.js +107 -0
  382. package/src/assets/plugins/highcharts/code/es-modules/Series/Treemap/TreemapSeries.js +1473 -0
  383. package/src/assets/plugins/highcharts/code/es-modules/Series/Treemap/TreemapUtilities.js +65 -0
  384. package/src/assets/plugins/highcharts/code/es-modules/Series/VariablePie/VariablePieSeries.js +446 -0
  385. package/src/assets/plugins/highcharts/code/es-modules/Series/Variwide/VariwideComposition.js +78 -0
  386. package/src/assets/plugins/highcharts/code/es-modules/Series/Variwide/VariwidePoint.js +63 -0
  387. package/src/assets/plugins/highcharts/code/es-modules/Series/Variwide/VariwideSeries.js +317 -0
  388. package/src/assets/plugins/highcharts/code/es-modules/Series/Vector/VectorSeries.js +362 -0
  389. package/src/assets/plugins/highcharts/code/es-modules/Series/Venn/VennPoint.js +76 -0
  390. package/src/assets/plugins/highcharts/code/es-modules/Series/Venn/VennSeries.js +633 -0
  391. package/src/assets/plugins/highcharts/code/es-modules/Series/Venn/VennUtils.js +607 -0
  392. package/src/assets/plugins/highcharts/code/es-modules/Series/Waterfall/WaterfallPoint.js +68 -0
  393. package/src/assets/plugins/highcharts/code/es-modules/Series/Waterfall/WaterfallSeries.js +743 -0
  394. package/src/assets/plugins/highcharts/code/es-modules/Series/Windbarb/WindbarbPoint.js +64 -0
  395. package/src/assets/plugins/highcharts/code/es-modules/Series/Windbarb/WindbarbSeries.js +462 -0
  396. package/src/assets/plugins/highcharts/code/es-modules/Series/Wordcloud/WordcloudPoint.js +66 -0
  397. package/src/assets/plugins/highcharts/code/es-modules/Series/Wordcloud/WordcloudSeries.js +503 -0
  398. package/src/assets/plugins/highcharts/code/es-modules/Series/Wordcloud/WordcloudUtils.js +718 -0
  399. package/src/assets/plugins/highcharts/code/es-modules/Series/XRange/XRangeComposition.js +49 -0
  400. package/src/assets/plugins/highcharts/code/es-modules/Series/XRange/XRangePoint.js +168 -0
  401. package/src/assets/plugins/highcharts/code/es-modules/Series/XRange/XRangeSeries.js +608 -0
  402. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/ABands/ABandsIndicator.js +243 -0
  403. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/AD/ADIndicator.js +160 -0
  404. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/AO/AOIndicator.js +212 -0
  405. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/APO/APOIndicator.js +167 -0
  406. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/ATR/ATRIndicator.js +162 -0
  407. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/Aroon/AroonIndicator.js +197 -0
  408. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/AroonOscillator/AroonOscillatorIndicator.js +141 -0
  409. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/ArrayUtilities.js +47 -0
  410. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/BB/BBIndicator.js +241 -0
  411. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/CCI/CCIIndicator.js +154 -0
  412. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/CMF/CMFIndicator.js +243 -0
  413. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/CMO/CMOIndicator.js +166 -0
  414. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/Chaikin/ChaikinIndicator.js +187 -0
  415. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/DEMA/DEMAIndicator.js +149 -0
  416. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/DMI/DMIIndicator.js +276 -0
  417. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/DPO/DPOIndicator.js +163 -0
  418. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/DisparityIndex/DisparityIndexIndicator.js +179 -0
  419. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/EMA/EMAIndicator.js +154 -0
  420. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/IKH/IKHIndicator.js +682 -0
  421. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/KeltnerChannels/KeltnerChannelsIndicator.js +217 -0
  422. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/Klinger/KlingerIndicator.js +270 -0
  423. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/LinearRegression/LinearRegression.js +282 -0
  424. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/LinearRegressionAngle/LinearRegressionAngle.js +119 -0
  425. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/LinearRegressionIntercept/LinearRegressionIntercept.js +104 -0
  426. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/LinearRegressionSlopes/LinearRegressionSlopes.js +104 -0
  427. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/MACD/MACDIndicator.js +402 -0
  428. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/MFI/MFIIndicator.js +198 -0
  429. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/Momentum/MomentumIndicator.js +121 -0
  430. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/MultipleLinesComposition.js +294 -0
  431. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/NATR/NATRIndicator.js +111 -0
  432. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/OBV/OBVIndicator.js +170 -0
  433. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/PC/PCIndicator.js +197 -0
  434. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/PPO/PPOIndicator.js +164 -0
  435. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/PSAR/PSARIndicator.js +280 -0
  436. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/PivotPoints/PivotPointsIndicator.js +310 -0
  437. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/PivotPoints/PivotPointsPoint.js +78 -0
  438. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/PriceEnvelopes/PriceEnvelopesIndicator.js +240 -0
  439. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/ROC/ROCIndicator.js +176 -0
  440. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/RSI/RSIIndicator.js +171 -0
  441. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/SMA/SMAComposition.js +12 -0
  442. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/SMA/SMAIndicator.js +367 -0
  443. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/SlowStochastic/SlowStochasticIndicator.js +134 -0
  444. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/Stochastic/StochasticIndicator.js +208 -0
  445. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/Supertrend/SupertrendIndicator.js +485 -0
  446. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/TEMA/TEMAIndicator.js +208 -0
  447. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/TRIX/TRIXIndicator.js +98 -0
  448. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/TrendLine/TrendLineIndicator.js +148 -0
  449. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/VBP/VBPIndicator.js +556 -0
  450. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/VBP/VBPPoint.js +49 -0
  451. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/VWAP/VWAPIndicator.js +193 -0
  452. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/WMA/WMAIndicator.js +153 -0
  453. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/WilliamsR/WilliamsRIndicator.js +135 -0
  454. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/Zigzag/ZigzagIndicator.js +228 -0
  455. package/src/assets/plugins/highcharts/code/es-modules/Stock/StockToolsBindings.js +2009 -0
  456. package/src/assets/plugins/highcharts/code/es-modules/Stock/StockToolsGui.js +1816 -0
  457. package/src/assets/plugins/highcharts/code/es-modules/masters/highcharts-3d.src.js +28 -0
  458. package/src/assets/plugins/highcharts/code/es-modules/masters/highcharts-more.src.js +28 -0
  459. package/src/assets/plugins/highcharts/code/es-modules/masters/highcharts.src.js +147 -0
  460. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/accessibility.src.js +28 -0
  461. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/annotations-advanced.src.js +26 -0
  462. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/annotations.src.js +15 -0
  463. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/arrow-symbols.src.js +13 -0
  464. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/boost-canvas.src.js +14 -0
  465. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/boost.src.js +15 -0
  466. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/broken-axis.src.js +15 -0
  467. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/bullet.src.js +13 -0
  468. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/coloraxis.src.js +17 -0
  469. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/current-date-indicator.src.js +13 -0
  470. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/cylinder.src.js +14 -0
  471. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/data.src.js +23 -0
  472. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/datagrouping.src.js +14 -0
  473. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/debugger.src.js +16 -0
  474. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/dependency-wheel.src.js +14 -0
  475. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/dotplot.src.js +13 -0
  476. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/drag-panes.src.js +15 -0
  477. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/draggable-points.src.js +11 -0
  478. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/drilldown.src.js +13 -0
  479. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/dumbbell.src.js +11 -0
  480. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/export-data.src.js +14 -0
  481. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/exporting.src.js +22 -0
  482. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/full-screen.src.js +14 -0
  483. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/funnel.src.js +14 -0
  484. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/funnel3d.src.js +18 -0
  485. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/gantt.src.js +26 -0
  486. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/grid-axis.src.js +17 -0
  487. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/heatmap.src.js +16 -0
  488. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/heikinashi.src.js +14 -0
  489. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/histogram-bellcurve.src.js +13 -0
  490. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/hollowcandlestick.src.js +14 -0
  491. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/item-series.src.js +13 -0
  492. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/lollipop.src.js +11 -0
  493. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/marker-clusters.src.js +13 -0
  494. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/networkgraph.src.js +13 -0
  495. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/no-data-to-display.src.js +14 -0
  496. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/offline-exporting.src.js +20 -0
  497. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/oldie-polyfills.src.js +14 -0
  498. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/oldie.src.js +14 -0
  499. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/organization.src.js +13 -0
  500. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/overlapping-datalabels.src.js +11 -0
  501. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/parallel-coordinates.src.js +13 -0
  502. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/pareto.src.js +13 -0
  503. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/pathfinder.src.js +13 -0
  504. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/pattern-fill.src.js +14 -0
  505. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/price-indicator.src.js +15 -0
  506. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/pyramid3d.src.js +16 -0
  507. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/sankey.src.js +13 -0
  508. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/series-label.src.js +11 -0
  509. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/solid-gauge.src.js +14 -0
  510. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/sonification.src.js +44 -0
  511. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/static-scale.src.js +13 -0
  512. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/stock-tools.src.js +16 -0
  513. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/stock.src.js +33 -0
  514. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/streamgraph.src.js +13 -0
  515. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/sunburst.src.js +13 -0
  516. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/tilemap.src.js +14 -0
  517. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/timeline.src.js +14 -0
  518. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/treegrid.src.js +17 -0
  519. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/treemap.src.js +12 -0
  520. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/variable-pie.src.js +13 -0
  521. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/variwide.src.js +13 -0
  522. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/vector.src.js +13 -0
  523. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/venn.src.js +12 -0
  524. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/windbarb.src.js +13 -0
  525. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/wordcloud.src.js +12 -0
  526. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/xrange.src.js +13 -0
  527. package/src/assets/plugins/highcharts/code/es-modules/masters/themes/avocado.src.js +14 -0
  528. package/src/assets/plugins/highcharts/code/es-modules/masters/themes/brand-dark.src.js +14 -0
  529. package/src/assets/plugins/highcharts/code/es-modules/masters/themes/brand-light.src.js +14 -0
  530. package/src/assets/plugins/highcharts/code/es-modules/masters/themes/dark-blue.src.js +14 -0
  531. package/src/assets/plugins/highcharts/code/es-modules/masters/themes/dark-green.src.js +14 -0
  532. package/src/assets/plugins/highcharts/code/es-modules/masters/themes/dark-unica.src.js +14 -0
  533. package/src/assets/plugins/highcharts/code/es-modules/masters/themes/gray.src.js +14 -0
  534. package/src/assets/plugins/highcharts/code/es-modules/masters/themes/grid-light.src.js +14 -0
  535. package/src/assets/plugins/highcharts/code/es-modules/masters/themes/grid.src.js +14 -0
  536. package/src/assets/plugins/highcharts/code/es-modules/masters/themes/high-contrast-dark.src.js +14 -0
  537. package/src/assets/plugins/highcharts/code/es-modules/masters/themes/high-contrast-light.src.js +14 -0
  538. package/src/assets/plugins/highcharts/code/es-modules/masters/themes/sand-signika.src.js +14 -0
  539. package/src/assets/plugins/highcharts/code/es-modules/masters/themes/skies.src.js +14 -0
  540. package/src/assets/plugins/highcharts/code/es-modules/masters/themes/sunset.src.js +14 -0
  541. package/src/assets/plugins/highcharts/code/highcharts-3d.js +105 -0
  542. package/src/assets/plugins/highcharts/code/highcharts-3d.js.map +1 -0
  543. package/src/assets/plugins/highcharts/code/highcharts-3d.src.js +5439 -0
  544. package/src/assets/plugins/highcharts/code/highcharts-more.js +201 -0
  545. package/src/assets/plugins/highcharts/code/highcharts-more.js.map +1 -0
  546. package/src/assets/plugins/highcharts/code/highcharts-more.src.js +12004 -0
  547. package/src/assets/plugins/highcharts/code/highcharts.js +593 -0
  548. package/src/assets/plugins/highcharts/code/highcharts.js.map +1 -0
  549. package/src/assets/plugins/highcharts/code/highcharts.src.js +47519 -0
  550. package/src/assets/plugins/highcharts/code/lib/canvg.js +8 -0
  551. package/src/assets/plugins/highcharts/code/lib/jspdf.js +283 -0
  552. package/src/assets/plugins/highcharts/code/lib/jspdf.src.js +21627 -0
  553. package/src/assets/plugins/highcharts/code/lib/svg2pdf.js +38 -0
  554. package/src/assets/plugins/highcharts/code/lib/svg2pdf.src.js +4390 -0
  555. package/src/assets/plugins/highcharts/code/modules/accessibility.js +256 -0
  556. package/src/assets/plugins/highcharts/code/modules/accessibility.js.map +1 -0
  557. package/src/assets/plugins/highcharts/code/modules/accessibility.src.js +11868 -0
  558. package/src/assets/plugins/highcharts/code/modules/annotations-advanced.js +201 -0
  559. package/src/assets/plugins/highcharts/code/modules/annotations-advanced.js.map +1 -0
  560. package/src/assets/plugins/highcharts/code/modules/annotations-advanced.src.js +9616 -0
  561. package/src/assets/plugins/highcharts/code/modules/annotations.js +135 -0
  562. package/src/assets/plugins/highcharts/code/modules/annotations.js.map +1 -0
  563. package/src/assets/plugins/highcharts/code/modules/annotations.src.js +6712 -0
  564. package/src/assets/plugins/highcharts/code/modules/arrow-symbols.js +12 -0
  565. package/src/assets/plugins/highcharts/code/modules/arrow-symbols.js.map +1 -0
  566. package/src/assets/plugins/highcharts/code/modules/arrow-symbols.src.js +202 -0
  567. package/src/assets/plugins/highcharts/code/modules/boost-canvas.js +25 -0
  568. package/src/assets/plugins/highcharts/code/modules/boost-canvas.js.map +1 -0
  569. package/src/assets/plugins/highcharts/code/modules/boost-canvas.src.js +593 -0
  570. package/src/assets/plugins/highcharts/code/modules/boost.js +90 -0
  571. package/src/assets/plugins/highcharts/code/modules/boost.js.map +1 -0
  572. package/src/assets/plugins/highcharts/code/modules/boost.src.js +3834 -0
  573. package/src/assets/plugins/highcharts/code/modules/broken-axis.js +20 -0
  574. package/src/assets/plugins/highcharts/code/modules/broken-axis.js.map +1 -0
  575. package/src/assets/plugins/highcharts/code/modules/broken-axis.src.js +682 -0
  576. package/src/assets/plugins/highcharts/code/modules/bullet.js +18 -0
  577. package/src/assets/plugins/highcharts/code/modules/bullet.js.map +1 -0
  578. package/src/assets/plugins/highcharts/code/modules/bullet.src.js +489 -0
  579. package/src/assets/plugins/highcharts/code/modules/coloraxis.js +33 -0
  580. package/src/assets/plugins/highcharts/code/modules/coloraxis.js.map +1 -0
  581. package/src/assets/plugins/highcharts/code/modules/coloraxis.src.js +1484 -0
  582. package/src/assets/plugins/highcharts/code/modules/current-date-indicator.js +13 -0
  583. package/src/assets/plugins/highcharts/code/modules/current-date-indicator.js.map +1 -0
  584. package/src/assets/plugins/highcharts/code/modules/current-date-indicator.src.js +138 -0
  585. package/src/assets/plugins/highcharts/code/modules/cylinder.js +20 -0
  586. package/src/assets/plugins/highcharts/code/modules/cylinder.js.map +1 -0
  587. package/src/assets/plugins/highcharts/code/modules/cylinder.src.js +585 -0
  588. package/src/assets/plugins/highcharts/code/modules/data.js +42 -0
  589. package/src/assets/plugins/highcharts/code/modules/data.js.map +1 -0
  590. package/src/assets/plugins/highcharts/code/modules/data.src.js +2383 -0
  591. package/src/assets/plugins/highcharts/code/modules/datagrouping.js +29 -0
  592. package/src/assets/plugins/highcharts/code/modules/datagrouping.js.map +1 -0
  593. package/src/assets/plugins/highcharts/code/modules/datagrouping.src.js +1275 -0
  594. package/src/assets/plugins/highcharts/code/modules/debugger.js +30 -0
  595. package/src/assets/plugins/highcharts/code/modules/debugger.js.map +1 -0
  596. package/src/assets/plugins/highcharts/code/modules/debugger.src.js +250 -0
  597. package/src/assets/plugins/highcharts/code/modules/dependency-wheel.js +20 -0
  598. package/src/assets/plugins/highcharts/code/modules/dependency-wheel.js.map +1 -0
  599. package/src/assets/plugins/highcharts/code/modules/dependency-wheel.src.js +533 -0
  600. package/src/assets/plugins/highcharts/code/modules/dotplot.js +15 -0
  601. package/src/assets/plugins/highcharts/code/modules/dotplot.js.map +1 -0
  602. package/src/assets/plugins/highcharts/code/modules/dotplot.src.js +216 -0
  603. package/src/assets/plugins/highcharts/code/modules/drag-panes.js +20 -0
  604. package/src/assets/plugins/highcharts/code/modules/drag-panes.js.map +1 -0
  605. package/src/assets/plugins/highcharts/code/modules/drag-panes.src.js +586 -0
  606. package/src/assets/plugins/highcharts/code/modules/draggable-points.js +41 -0
  607. package/src/assets/plugins/highcharts/code/modules/draggable-points.js.map +1 -0
  608. package/src/assets/plugins/highcharts/code/modules/draggable-points.src.js +2405 -0
  609. package/src/assets/plugins/highcharts/code/modules/drilldown.js +34 -0
  610. package/src/assets/plugins/highcharts/code/modules/drilldown.js.map +1 -0
  611. package/src/assets/plugins/highcharts/code/modules/drilldown.src.js +1266 -0
  612. package/src/assets/plugins/highcharts/code/modules/dumbbell.js +24 -0
  613. package/src/assets/plugins/highcharts/code/modules/dumbbell.js.map +1 -0
  614. package/src/assets/plugins/highcharts/code/modules/dumbbell.src.js +798 -0
  615. package/src/assets/plugins/highcharts/code/modules/export-data.js +30 -0
  616. package/src/assets/plugins/highcharts/code/modules/export-data.js.map +1 -0
  617. package/src/assets/plugins/highcharts/code/modules/export-data.src.js +1203 -0
  618. package/src/assets/plugins/highcharts/code/modules/exporting.js +48 -0
  619. package/src/assets/plugins/highcharts/code/modules/exporting.js.map +1 -0
  620. package/src/assets/plugins/highcharts/code/modules/exporting.src.js +2789 -0
  621. package/src/assets/plugins/highcharts/code/modules/full-screen.js +17 -0
  622. package/src/assets/plugins/highcharts/code/modules/full-screen.js.map +1 -0
  623. package/src/assets/plugins/highcharts/code/modules/full-screen.src.js +284 -0
  624. package/src/assets/plugins/highcharts/code/modules/funnel.js +21 -0
  625. package/src/assets/plugins/highcharts/code/modules/funnel.js.map +1 -0
  626. package/src/assets/plugins/highcharts/code/modules/funnel.src.js +777 -0
  627. package/src/assets/plugins/highcharts/code/modules/funnel3d.js +30 -0
  628. package/src/assets/plugins/highcharts/code/modules/funnel3d.js.map +1 -0
  629. package/src/assets/plugins/highcharts/code/modules/funnel3d.src.js +1004 -0
  630. package/src/assets/plugins/highcharts/code/modules/gantt.js +226 -0
  631. package/src/assets/plugins/highcharts/code/modules/gantt.js.map +1 -0
  632. package/src/assets/plugins/highcharts/code/modules/gantt.src.js +13485 -0
  633. package/src/assets/plugins/highcharts/code/modules/grid-axis.js +32 -0
  634. package/src/assets/plugins/highcharts/code/modules/grid-axis.js.map +1 -0
  635. package/src/assets/plugins/highcharts/code/modules/grid-axis.src.js +1160 -0
  636. package/src/assets/plugins/highcharts/code/modules/heatmap.js +46 -0
  637. package/src/assets/plugins/highcharts/code/modules/heatmap.js.map +1 -0
  638. package/src/assets/plugins/highcharts/code/modules/heatmap.src.js +2726 -0
  639. package/src/assets/plugins/highcharts/code/modules/heikinashi.js +17 -0
  640. package/src/assets/plugins/highcharts/code/modules/heikinashi.js.map +1 -0
  641. package/src/assets/plugins/highcharts/code/modules/heikinashi.src.js +396 -0
  642. package/src/assets/plugins/highcharts/code/modules/histogram-bellcurve.js +21 -0
  643. package/src/assets/plugins/highcharts/code/modules/histogram-bellcurve.js.map +1 -0
  644. package/src/assets/plugins/highcharts/code/modules/histogram-bellcurve.src.js +699 -0
  645. package/src/assets/plugins/highcharts/code/modules/hollowcandlestick.js +18 -0
  646. package/src/assets/plugins/highcharts/code/modules/hollowcandlestick.js.map +1 -0
  647. package/src/assets/plugins/highcharts/code/modules/hollowcandlestick.src.js +500 -0
  648. package/src/assets/plugins/highcharts/code/modules/item-series.js +21 -0
  649. package/src/assets/plugins/highcharts/code/modules/item-series.js.map +1 -0
  650. package/src/assets/plugins/highcharts/code/modules/item-series.src.js +660 -0
  651. package/src/assets/plugins/highcharts/code/modules/lollipop.js +14 -0
  652. package/src/assets/plugins/highcharts/code/modules/lollipop.js.map +1 -0
  653. package/src/assets/plugins/highcharts/code/modules/lollipop.src.js +318 -0
  654. package/src/assets/plugins/highcharts/code/modules/marker-clusters.js +45 -0
  655. package/src/assets/plugins/highcharts/code/modules/marker-clusters.js.map +1 -0
  656. package/src/assets/plugins/highcharts/code/modules/marker-clusters.src.js +1713 -0
  657. package/src/assets/plugins/highcharts/code/modules/networkgraph.js +58 -0
  658. package/src/assets/plugins/highcharts/code/modules/networkgraph.js.map +1 -0
  659. package/src/assets/plugins/highcharts/code/modules/networkgraph.src.js +2926 -0
  660. package/src/assets/plugins/highcharts/code/modules/no-data-to-display.js +15 -0
  661. package/src/assets/plugins/highcharts/code/modules/no-data-to-display.js.map +1 -0
  662. package/src/assets/plugins/highcharts/code/modules/no-data-to-display.src.js +231 -0
  663. package/src/assets/plugins/highcharts/code/modules/offline-exporting.js +27 -0
  664. package/src/assets/plugins/highcharts/code/modules/offline-exporting.js.map +1 -0
  665. package/src/assets/plugins/highcharts/code/modules/offline-exporting.src.js +847 -0
  666. package/src/assets/plugins/highcharts/code/modules/oldie-polyfills.js +17 -0
  667. package/src/assets/plugins/highcharts/code/modules/oldie-polyfills.js.map +1 -0
  668. package/src/assets/plugins/highcharts/code/modules/oldie-polyfills.src.js +220 -0
  669. package/src/assets/plugins/highcharts/code/modules/oldie.js +40 -0
  670. package/src/assets/plugins/highcharts/code/modules/oldie.js.map +1 -0
  671. package/src/assets/plugins/highcharts/code/modules/oldie.src.js +1443 -0
  672. package/src/assets/plugins/highcharts/code/modules/organization.js +22 -0
  673. package/src/assets/plugins/highcharts/code/modules/organization.js.map +1 -0
  674. package/src/assets/plugins/highcharts/code/modules/organization.src.js +736 -0
  675. package/src/assets/plugins/highcharts/code/modules/overlapping-datalabels.js +9 -0
  676. package/src/assets/plugins/highcharts/code/modules/overlapping-datalabels.js.map +1 -0
  677. package/src/assets/plugins/highcharts/code/modules/overlapping-datalabels.src.js +33 -0
  678. package/src/assets/plugins/highcharts/code/modules/parallel-coordinates.js +20 -0
  679. package/src/assets/plugins/highcharts/code/modules/parallel-coordinates.js.map +1 -0
  680. package/src/assets/plugins/highcharts/code/modules/parallel-coordinates.src.js +555 -0
  681. package/src/assets/plugins/highcharts/code/modules/pareto.js +16 -0
  682. package/src/assets/plugins/highcharts/code/modules/pareto.js.map +1 -0
  683. package/src/assets/plugins/highcharts/code/modules/pareto.src.js +382 -0
  684. package/src/assets/plugins/highcharts/code/modules/pathfinder.js +40 -0
  685. package/src/assets/plugins/highcharts/code/modules/pathfinder.js.map +1 -0
  686. package/src/assets/plugins/highcharts/code/modules/pathfinder.src.js +2693 -0
  687. package/src/assets/plugins/highcharts/code/modules/pattern-fill.js +24 -0
  688. package/src/assets/plugins/highcharts/code/modules/pattern-fill.js.map +1 -0
  689. package/src/assets/plugins/highcharts/code/modules/pattern-fill.src.js +640 -0
  690. package/src/assets/plugins/highcharts/code/modules/price-indicator.js +15 -0
  691. package/src/assets/plugins/highcharts/code/modules/price-indicator.js.map +1 -0
  692. package/src/assets/plugins/highcharts/code/modules/price-indicator.src.js +346 -0
  693. package/src/assets/plugins/highcharts/code/modules/pyramid3d.js +13 -0
  694. package/src/assets/plugins/highcharts/code/modules/pyramid3d.js.map +1 -0
  695. package/src/assets/plugins/highcharts/code/modules/pyramid3d.src.js +211 -0
  696. package/src/assets/plugins/highcharts/code/modules/sankey.js +38 -0
  697. package/src/assets/plugins/highcharts/code/modules/sankey.js.map +1 -0
  698. package/src/assets/plugins/highcharts/code/modules/sankey.src.js +1868 -0
  699. package/src/assets/plugins/highcharts/code/modules/series-label.js +24 -0
  700. package/src/assets/plugins/highcharts/code/modules/series-label.js.map +1 -0
  701. package/src/assets/plugins/highcharts/code/modules/series-label.src.js +852 -0
  702. package/src/assets/plugins/highcharts/code/modules/solid-gauge.js +19 -0
  703. package/src/assets/plugins/highcharts/code/modules/solid-gauge.js.map +1 -0
  704. package/src/assets/plugins/highcharts/code/modules/solid-gauge.src.js +650 -0
  705. package/src/assets/plugins/highcharts/code/modules/sonification.js +68 -0
  706. package/src/assets/plugins/highcharts/code/modules/sonification.js.map +1 -0
  707. package/src/assets/plugins/highcharts/code/modules/sonification.src.js +3869 -0
  708. package/src/assets/plugins/highcharts/code/modules/static-scale.js +13 -0
  709. package/src/assets/plugins/highcharts/code/modules/static-scale.js.map +1 -0
  710. package/src/assets/plugins/highcharts/code/modules/static-scale.src.js +117 -0
  711. package/src/assets/plugins/highcharts/code/modules/stock-tools.js +189 -0
  712. package/src/assets/plugins/highcharts/code/modules/stock-tools.js.map +1 -0
  713. package/src/assets/plugins/highcharts/code/modules/stock-tools.src.js +9592 -0
  714. package/src/assets/plugins/highcharts/code/modules/stock.js +213 -0
  715. package/src/assets/plugins/highcharts/code/modules/stock.js.map +1 -0
  716. package/src/assets/plugins/highcharts/code/modules/stock.src.js +12237 -0
  717. package/src/assets/plugins/highcharts/code/modules/streamgraph.js +13 -0
  718. package/src/assets/plugins/highcharts/code/modules/streamgraph.js.map +1 -0
  719. package/src/assets/plugins/highcharts/code/modules/streamgraph.src.js +253 -0
  720. package/src/assets/plugins/highcharts/code/modules/sunburst.js +68 -0
  721. package/src/assets/plugins/highcharts/code/modules/sunburst.js.map +1 -0
  722. package/src/assets/plugins/highcharts/code/modules/sunburst.src.js +3721 -0
  723. package/src/assets/plugins/highcharts/code/modules/tilemap.js +26 -0
  724. package/src/assets/plugins/highcharts/code/modules/tilemap.js.map +1 -0
  725. package/src/assets/plugins/highcharts/code/modules/tilemap.src.js +878 -0
  726. package/src/assets/plugins/highcharts/code/modules/timeline.js +28 -0
  727. package/src/assets/plugins/highcharts/code/modules/timeline.js.map +1 -0
  728. package/src/assets/plugins/highcharts/code/modules/timeline.src.js +815 -0
  729. package/src/assets/plugins/highcharts/code/modules/treegrid.js +65 -0
  730. package/src/assets/plugins/highcharts/code/modules/treegrid.js.map +1 -0
  731. package/src/assets/plugins/highcharts/code/modules/treegrid.src.js +3294 -0
  732. package/src/assets/plugins/highcharts/code/modules/treemap.js +49 -0
  733. package/src/assets/plugins/highcharts/code/modules/treemap.js.map +1 -0
  734. package/src/assets/plugins/highcharts/code/modules/treemap.src.js +2416 -0
  735. package/src/assets/plugins/highcharts/code/modules/variable-pie.js +18 -0
  736. package/src/assets/plugins/highcharts/code/modules/variable-pie.js.map +1 -0
  737. package/src/assets/plugins/highcharts/code/modules/variable-pie.src.js +533 -0
  738. package/src/assets/plugins/highcharts/code/modules/variwide.js +21 -0
  739. package/src/assets/plugins/highcharts/code/modules/variwide.js.map +1 -0
  740. package/src/assets/plugins/highcharts/code/modules/variwide.src.js +529 -0
  741. package/src/assets/plugins/highcharts/code/modules/vector.js +16 -0
  742. package/src/assets/plugins/highcharts/code/modules/vector.js.map +1 -0
  743. package/src/assets/plugins/highcharts/code/modules/vector.src.js +409 -0
  744. package/src/assets/plugins/highcharts/code/modules/venn.js +39 -0
  745. package/src/assets/plugins/highcharts/code/modules/venn.js.map +1 -0
  746. package/src/assets/plugins/highcharts/code/modules/venn.src.js +2095 -0
  747. package/src/assets/plugins/highcharts/code/modules/windbarb.js +24 -0
  748. package/src/assets/plugins/highcharts/code/modules/windbarb.js.map +1 -0
  749. package/src/assets/plugins/highcharts/code/modules/windbarb.src.js +772 -0
  750. package/src/assets/plugins/highcharts/code/modules/wordcloud.js +31 -0
  751. package/src/assets/plugins/highcharts/code/modules/wordcloud.js.map +1 -0
  752. package/src/assets/plugins/highcharts/code/modules/wordcloud.src.js +1584 -0
  753. package/src/assets/plugins/highcharts/code/modules/xrange.js +26 -0
  754. package/src/assets/plugins/highcharts/code/modules/xrange.js.map +1 -0
  755. package/src/assets/plugins/highcharts/code/modules/xrange.src.js +940 -0
  756. package/src/assets/plugins/highcharts/code/themes/avocado.js +10 -0
  757. package/src/assets/plugins/highcharts/code/themes/avocado.js.map +1 -0
  758. package/src/assets/plugins/highcharts/code/themes/avocado.src.js +103 -0
  759. package/src/assets/plugins/highcharts/code/themes/brand-dark.js +15 -0
  760. package/src/assets/plugins/highcharts/code/themes/brand-dark.js.map +1 -0
  761. package/src/assets/plugins/highcharts/code/themes/brand-dark.src.js +328 -0
  762. package/src/assets/plugins/highcharts/code/themes/brand-light.js +15 -0
  763. package/src/assets/plugins/highcharts/code/themes/brand-light.js.map +1 -0
  764. package/src/assets/plugins/highcharts/code/themes/brand-light.src.js +294 -0
  765. package/src/assets/plugins/highcharts/code/themes/dark-blue.js +15 -0
  766. package/src/assets/plugins/highcharts/code/themes/dark-blue.js.map +1 -0
  767. package/src/assets/plugins/highcharts/code/themes/dark-blue.src.js +315 -0
  768. package/src/assets/plugins/highcharts/code/themes/dark-green.js +15 -0
  769. package/src/assets/plugins/highcharts/code/themes/dark-green.js.map +1 -0
  770. package/src/assets/plugins/highcharts/code/themes/dark-green.src.js +315 -0
  771. package/src/assets/plugins/highcharts/code/themes/dark-unica.js +14 -0
  772. package/src/assets/plugins/highcharts/code/themes/dark-unica.js.map +1 -0
  773. package/src/assets/plugins/highcharts/code/themes/dark-unica.src.js +284 -0
  774. package/src/assets/plugins/highcharts/code/themes/gray.js +15 -0
  775. package/src/assets/plugins/highcharts/code/themes/gray.js.map +1 -0
  776. package/src/assets/plugins/highcharts/code/themes/gray.src.js +323 -0
  777. package/src/assets/plugins/highcharts/code/themes/grid-light.js +11 -0
  778. package/src/assets/plugins/highcharts/code/themes/grid-light.js.map +1 -0
  779. package/src/assets/plugins/highcharts/code/themes/grid-light.src.js +146 -0
  780. package/src/assets/plugins/highcharts/code/themes/grid.js +12 -0
  781. package/src/assets/plugins/highcharts/code/themes/grid.js.map +1 -0
  782. package/src/assets/plugins/highcharts/code/themes/grid.src.js +176 -0
  783. package/src/assets/plugins/highcharts/code/themes/high-contrast-dark.js +14 -0
  784. package/src/assets/plugins/highcharts/code/themes/high-contrast-dark.js.map +1 -0
  785. package/src/assets/plugins/highcharts/code/themes/high-contrast-dark.src.js +275 -0
  786. package/src/assets/plugins/highcharts/code/themes/high-contrast-light.js +10 -0
  787. package/src/assets/plugins/highcharts/code/themes/high-contrast-light.js.map +1 -0
  788. package/src/assets/plugins/highcharts/code/themes/high-contrast-light.src.js +105 -0
  789. package/src/assets/plugins/highcharts/code/themes/sand-signika.js +12 -0
  790. package/src/assets/plugins/highcharts/code/themes/sand-signika.js.map +1 -0
  791. package/src/assets/plugins/highcharts/code/themes/sand-signika.src.js +179 -0
  792. package/src/assets/plugins/highcharts/code/themes/skies.js +12 -0
  793. package/src/assets/plugins/highcharts/code/themes/skies.js.map +1 -0
  794. package/src/assets/plugins/highcharts/code/themes/skies.src.js +167 -0
  795. package/src/assets/plugins/highcharts/code/themes/sunset.js +10 -0
  796. package/src/assets/plugins/highcharts/code/themes/sunset.js.map +1 -0
  797. package/src/assets/plugins/highcharts/code/themes/sunset.src.js +102 -0
  798. package/src/assets/plugins/highcharts/examples/3d-area-multiple/index.html +192 -0
  799. package/src/assets/plugins/highcharts/examples/3d-column-interactive/index.html +111 -0
  800. package/src/assets/plugins/highcharts/examples/3d-column-null-values/index.html +118 -0
  801. package/src/assets/plugins/highcharts/examples/3d-column-stacking-grouping/index.html +144 -0
  802. package/src/assets/plugins/highcharts/examples/3d-pie/index.html +130 -0
  803. package/src/assets/plugins/highcharts/examples/3d-pie-donut/index.html +112 -0
  804. package/src/assets/plugins/highcharts/examples/3d-scatter-draggable/index.html +221 -0
  805. package/src/assets/plugins/highcharts/examples/accessible-line/index.html +198 -0
  806. package/src/assets/plugins/highcharts/examples/accessible-pie/index.html +213 -0
  807. package/src/assets/plugins/highcharts/examples/advanced-accessible/index.html +271 -0
  808. package/src/assets/plugins/highcharts/examples/annotations/index.html +2170 -0
  809. package/src/assets/plugins/highcharts/examples/area-basic/index.html +157 -0
  810. package/src/assets/plugins/highcharts/examples/area-inverted/index.html +135 -0
  811. package/src/assets/plugins/highcharts/examples/area-missing/index.html +125 -0
  812. package/src/assets/plugins/highcharts/examples/area-negative/index.html +101 -0
  813. package/src/assets/plugins/highcharts/examples/area-stacked/index.html +136 -0
  814. package/src/assets/plugins/highcharts/examples/area-stacked-percent/index.html +141 -0
  815. package/src/assets/plugins/highcharts/examples/arearange/index.html +132 -0
  816. package/src/assets/plugins/highcharts/examples/arearange-line/index.html +195 -0
  817. package/src/assets/plugins/highcharts/examples/areaspline/index.html +137 -0
  818. package/src/assets/plugins/highcharts/examples/bar-basic/index.html +143 -0
  819. package/src/assets/plugins/highcharts/examples/bar-negative-stack/index.html +173 -0
  820. package/src/assets/plugins/highcharts/examples/bar-stacked/index.html +112 -0
  821. package/src/assets/plugins/highcharts/examples/bellcurve/index.html +133 -0
  822. package/src/assets/plugins/highcharts/examples/box-plot/index.html +149 -0
  823. package/src/assets/plugins/highcharts/examples/bubble/index.html +209 -0
  824. package/src/assets/plugins/highcharts/examples/bubble-3d/index.html +159 -0
  825. package/src/assets/plugins/highcharts/examples/bullet-graph/index.html +233 -0
  826. package/src/assets/plugins/highcharts/examples/chart-update/index.html +137 -0
  827. package/src/assets/plugins/highcharts/examples/column-basic/index.html +144 -0
  828. package/src/assets/plugins/highcharts/examples/column-comparison/index.html +350 -0
  829. package/src/assets/plugins/highcharts/examples/column-drilldown/index.html +387 -0
  830. package/src/assets/plugins/highcharts/examples/column-negative/index.html +101 -0
  831. package/src/assets/plugins/highcharts/examples/column-parsed/index.html +138 -0
  832. package/src/assets/plugins/highcharts/examples/column-placement/index.html +160 -0
  833. package/src/assets/plugins/highcharts/examples/column-pyramid/index.html +117 -0
  834. package/src/assets/plugins/highcharts/examples/column-rotated-labels/index.html +147 -0
  835. package/src/assets/plugins/highcharts/examples/column-stacked/index.html +138 -0
  836. package/src/assets/plugins/highcharts/examples/column-stacked-and-grouped/index.html +133 -0
  837. package/src/assets/plugins/highcharts/examples/column-stacked-percent/index.html +113 -0
  838. package/src/assets/plugins/highcharts/examples/columnrange/index.html +145 -0
  839. package/src/assets/plugins/highcharts/examples/combo/index.html +146 -0
  840. package/src/assets/plugins/highcharts/examples/combo-dual-axes/index.html +153 -0
  841. package/src/assets/plugins/highcharts/examples/combo-meteogram/index.html +768 -0
  842. package/src/assets/plugins/highcharts/examples/combo-multi-axes/index.html +222 -0
  843. package/src/assets/plugins/highcharts/examples/combo-regression/index.html +110 -0
  844. package/src/assets/plugins/highcharts/examples/combo-timeline/index.html +592 -0
  845. package/src/assets/plugins/highcharts/examples/cylinder/index.html +104 -0
  846. package/src/assets/plugins/highcharts/examples/dependency-wheel/index.html +165 -0
  847. package/src/assets/plugins/highcharts/examples/dumbbell/index.html +230 -0
  848. package/src/assets/plugins/highcharts/examples/dynamic-click-to-add/index.html +147 -0
  849. package/src/assets/plugins/highcharts/examples/dynamic-master-detail/index.html +316 -0
  850. package/src/assets/plugins/highcharts/examples/dynamic-update/index.html +163 -0
  851. package/src/assets/plugins/highcharts/examples/error-bar/index.html +154 -0
  852. package/src/assets/plugins/highcharts/examples/euler-diagram/index.html +119 -0
  853. package/src/assets/plugins/highcharts/examples/flame/index.html +1324 -0
  854. package/src/assets/plugins/highcharts/examples/funnel/index.html +131 -0
  855. package/src/assets/plugins/highcharts/examples/funnel3d/index.html +117 -0
  856. package/src/assets/plugins/highcharts/examples/gauge-activity/index.html +272 -0
  857. package/src/assets/plugins/highcharts/examples/gauge-clock/index.html +261 -0
  858. package/src/assets/plugins/highcharts/examples/gauge-dual/index.html +181 -0
  859. package/src/assets/plugins/highcharts/examples/gauge-solid/index.html +248 -0
  860. package/src/assets/plugins/highcharts/examples/gauge-speedometer/index.html +189 -0
  861. package/src/assets/plugins/highcharts/examples/gauge-vu-meter/index.html +210 -0
  862. package/src/assets/plugins/highcharts/examples/heatmap/index.html +168 -0
  863. package/src/assets/plugins/highcharts/examples/heatmap-canvas/index.html +8928 -0
  864. package/src/assets/plugins/highcharts/examples/histogram/index.html +133 -0
  865. package/src/assets/plugins/highcharts/examples/honeycomb-usa/index.html +518 -0
  866. package/src/assets/plugins/highcharts/examples/line-ajax/index.html +206 -0
  867. package/src/assets/plugins/highcharts/examples/line-basic/index.html +147 -0
  868. package/src/assets/plugins/highcharts/examples/line-boost/index.html +144 -0
  869. package/src/assets/plugins/highcharts/examples/line-labels/index.html +108 -0
  870. package/src/assets/plugins/highcharts/examples/line-log-axis/index.html +106 -0
  871. package/src/assets/plugins/highcharts/examples/line-time-series/index.html +136 -0
  872. package/src/assets/plugins/highcharts/examples/live-data/index.html +155 -0
  873. package/src/assets/plugins/highcharts/examples/lollipop/index.html +161 -0
  874. package/src/assets/plugins/highcharts/examples/network-graph/index.html +277 -0
  875. package/src/assets/plugins/highcharts/examples/organization-chart/index.html +224 -0
  876. package/src/assets/plugins/highcharts/examples/packed-bubble/index.html +588 -0
  877. package/src/assets/plugins/highcharts/examples/packed-bubble-split/index.html +589 -0
  878. package/src/assets/plugins/highcharts/examples/parallel-coordinates/index.html +176 -0
  879. package/src/assets/plugins/highcharts/examples/pareto/index.html +133 -0
  880. package/src/assets/plugins/highcharts/examples/parliament-chart/index.html +138 -0
  881. package/src/assets/plugins/highcharts/examples/pie-basic/index.html +141 -0
  882. package/src/assets/plugins/highcharts/examples/pie-donut/index.html +347 -0
  883. package/src/assets/plugins/highcharts/examples/pie-drilldown/index.html +418 -0
  884. package/src/assets/plugins/highcharts/examples/pie-gradient/index.html +133 -0
  885. package/src/assets/plugins/highcharts/examples/pie-legend/index.html +128 -0
  886. package/src/assets/plugins/highcharts/examples/pie-monochrome/index.html +139 -0
  887. package/src/assets/plugins/highcharts/examples/pie-semi-circle/index.html +133 -0
  888. package/src/assets/plugins/highcharts/examples/polar/index.html +136 -0
  889. package/src/assets/plugins/highcharts/examples/polar-radial-bar/index.html +169 -0
  890. package/src/assets/plugins/highcharts/examples/polar-spider/index.html +148 -0
  891. package/src/assets/plugins/highcharts/examples/polar-wind-rose/index.html +351 -0
  892. package/src/assets/plugins/highcharts/examples/polygon/index.html +190 -0
  893. package/src/assets/plugins/highcharts/examples/pyramid/index.html +126 -0
  894. package/src/assets/plugins/highcharts/examples/pyramid3d/index.html +117 -0
  895. package/src/assets/plugins/highcharts/examples/renderer/index.html +334 -0
  896. package/src/assets/plugins/highcharts/examples/responsive/index.html +176 -0
  897. package/src/assets/plugins/highcharts/examples/sankey-diagram/index.html +145 -0
  898. package/src/assets/plugins/highcharts/examples/scatter/index.html +246 -0
  899. package/src/assets/plugins/highcharts/examples/scatter-boost/index.html +142 -0
  900. package/src/assets/plugins/highcharts/examples/sonification/index.html +331 -0
  901. package/src/assets/plugins/highcharts/examples/sparkline/index.html +676 -0
  902. package/src/assets/plugins/highcharts/examples/spline-inverted/index.html +135 -0
  903. package/src/assets/plugins/highcharts/examples/spline-irregular-time/index.html +255 -0
  904. package/src/assets/plugins/highcharts/examples/spline-plot-bands/index.html +223 -0
  905. package/src/assets/plugins/highcharts/examples/spline-symbols/index.html +139 -0
  906. package/src/assets/plugins/highcharts/examples/streamgraph/index.html +447 -0
  907. package/src/assets/plugins/highcharts/examples/styled-mode-column/index.html +146 -0
  908. package/src/assets/plugins/highcharts/examples/styled-mode-pie/index.html +119 -0
  909. package/src/assets/plugins/highcharts/examples/sunburst/index.html +1520 -0
  910. package/src/assets/plugins/highcharts/examples/synchronized-charts/index.html +238 -0
  911. package/src/assets/plugins/highcharts/examples/timeline/index.html +142 -0
  912. package/src/assets/plugins/highcharts/examples/treemap-coloraxis/index.html +119 -0
  913. package/src/assets/plugins/highcharts/examples/treemap-large-dataset/index.html +172 -0
  914. package/src/assets/plugins/highcharts/examples/treemap-with-levels/index.html +151 -0
  915. package/src/assets/plugins/highcharts/examples/variable-radius-pie/index.html +131 -0
  916. package/src/assets/plugins/highcharts/examples/variwide/index.html +146 -0
  917. package/src/assets/plugins/highcharts/examples/vector-plot/index.html +494 -0
  918. package/src/assets/plugins/highcharts/examples/venn-diagram/index.html +124 -0
  919. package/src/assets/plugins/highcharts/examples/waterfall/index.html +143 -0
  920. package/src/assets/plugins/highcharts/examples/windbarb-series/index.html +189 -0
  921. package/src/assets/plugins/highcharts/examples/wordcloud/index.html +110 -0
  922. package/src/assets/plugins/highcharts/examples/x-range/index.html +142 -0
  923. package/src/assets/plugins/highcharts/gfx/stock-icons/annotations-hidden.svg +19 -0
  924. package/src/assets/plugins/highcharts/gfx/stock-icons/annotations-visible.svg +20 -0
  925. package/src/assets/plugins/highcharts/gfx/stock-icons/arrow-bottom.svg +9 -0
  926. package/src/assets/plugins/highcharts/gfx/stock-icons/arrow-left.svg +9 -0
  927. package/src/assets/plugins/highcharts/gfx/stock-icons/arrow-line.svg +11 -0
  928. package/src/assets/plugins/highcharts/gfx/stock-icons/arrow-ray.svg +10 -0
  929. package/src/assets/plugins/highcharts/gfx/stock-icons/arrow-right.svg +9 -0
  930. package/src/assets/plugins/highcharts/gfx/stock-icons/arrow-segment.svg +11 -0
  931. package/src/assets/plugins/highcharts/gfx/stock-icons/arrow.svg +13 -0
  932. package/src/assets/plugins/highcharts/gfx/stock-icons/circle.svg +13 -0
  933. package/src/assets/plugins/highcharts/gfx/stock-icons/close.svg +8 -0
  934. package/src/assets/plugins/highcharts/gfx/stock-icons/crooked-3.svg +13 -0
  935. package/src/assets/plugins/highcharts/gfx/stock-icons/crooked-5.svg +11 -0
  936. package/src/assets/plugins/highcharts/gfx/stock-icons/current-price-hide.svg +40 -0
  937. package/src/assets/plugins/highcharts/gfx/stock-icons/current-price-show.svg +41 -0
  938. package/src/assets/plugins/highcharts/gfx/stock-icons/destroy.svg +14 -0
  939. package/src/assets/plugins/highcharts/gfx/stock-icons/drawing.svg +18 -0
  940. package/src/assets/plugins/highcharts/gfx/stock-icons/edit.svg +10 -0
  941. package/src/assets/plugins/highcharts/gfx/stock-icons/elliott-3.svg +59 -0
  942. package/src/assets/plugins/highcharts/gfx/stock-icons/elliott-5.svg +41 -0
  943. package/src/assets/plugins/highcharts/gfx/stock-icons/ellipse.svg +11 -0
  944. package/src/assets/plugins/highcharts/gfx/stock-icons/fibonacci-timezone.svg +16 -0
  945. package/src/assets/plugins/highcharts/gfx/stock-icons/fibonacci.svg +25 -0
  946. package/src/assets/plugins/highcharts/gfx/stock-icons/flag-basic.svg +10 -0
  947. package/src/assets/plugins/highcharts/gfx/stock-icons/flag-diamond.svg +12 -0
  948. package/src/assets/plugins/highcharts/gfx/stock-icons/flag-elipse.svg +13 -0
  949. package/src/assets/plugins/highcharts/gfx/stock-icons/flag-trapeze.svg +14 -0
  950. package/src/assets/plugins/highcharts/gfx/stock-icons/fullscreen.svg +15 -0
  951. package/src/assets/plugins/highcharts/gfx/stock-icons/horizontal-line.svg +8 -0
  952. package/src/assets/plugins/highcharts/gfx/stock-icons/indicators.svg +27 -0
  953. package/src/assets/plugins/highcharts/gfx/stock-icons/label.svg +16 -0
  954. package/src/assets/plugins/highcharts/gfx/stock-icons/line.svg +11 -0
  955. package/src/assets/plugins/highcharts/gfx/stock-icons/linear.svg +11 -0
  956. package/src/assets/plugins/highcharts/gfx/stock-icons/logarithmic.svg +1 -0
  957. package/src/assets/plugins/highcharts/gfx/stock-icons/measure-x.svg +23 -0
  958. package/src/assets/plugins/highcharts/gfx/stock-icons/measure-xy.svg +28 -0
  959. package/src/assets/plugins/highcharts/gfx/stock-icons/measure-y.svg +24 -0
  960. package/src/assets/plugins/highcharts/gfx/stock-icons/panning.svg +17 -0
  961. package/src/assets/plugins/highcharts/gfx/stock-icons/parallel-channel.svg +15 -0
  962. package/src/assets/plugins/highcharts/gfx/stock-icons/pitchfork.svg +13 -0
  963. package/src/assets/plugins/highcharts/gfx/stock-icons/ray.svg +10 -0
  964. package/src/assets/plugins/highcharts/gfx/stock-icons/rectangle.svg +8 -0
  965. package/src/assets/plugins/highcharts/gfx/stock-icons/remove-annotations.svg +15 -0
  966. package/src/assets/plugins/highcharts/gfx/stock-icons/save-chart.svg +12 -0
  967. package/src/assets/plugins/highcharts/gfx/stock-icons/segment.svg +10 -0
  968. package/src/assets/plugins/highcharts/gfx/stock-icons/separator.svg +10 -0
  969. package/src/assets/plugins/highcharts/gfx/stock-icons/series-candlestick.svg +12 -0
  970. package/src/assets/plugins/highcharts/gfx/stock-icons/series-heikin-ashi.svg +1 -0
  971. package/src/assets/plugins/highcharts/gfx/stock-icons/series-hlc.svg +1 -0
  972. package/src/assets/plugins/highcharts/gfx/stock-icons/series-hollow-candlestick.svg +1 -0
  973. package/src/assets/plugins/highcharts/gfx/stock-icons/series-line.svg +11 -0
  974. package/src/assets/plugins/highcharts/gfx/stock-icons/series-ohlc.svg +14 -0
  975. package/src/assets/plugins/highcharts/gfx/stock-icons/text.svg +13 -0
  976. package/src/assets/plugins/highcharts/gfx/stock-icons/time-cycles.svg +35 -0
  977. package/src/assets/plugins/highcharts/gfx/stock-icons/vertical-arrow.svg +7 -0
  978. package/src/assets/plugins/highcharts/gfx/stock-icons/vertical-counter.svg +23 -0
  979. package/src/assets/plugins/highcharts/gfx/stock-icons/vertical-double-arrow.svg +10 -0
  980. package/src/assets/plugins/highcharts/gfx/stock-icons/vertical-label.svg +14 -0
  981. package/src/assets/plugins/highcharts/gfx/stock-icons/vertical-line.svg +8 -0
  982. package/src/assets/plugins/highcharts/gfx/stock-icons/zoom-x.svg +17 -0
  983. package/src/assets/plugins/highcharts/gfx/stock-icons/zoom-xy.svg +13 -0
  984. package/src/assets/plugins/highcharts/gfx/stock-icons/zoom-y.svg +17 -0
  985. package/src/assets/plugins/highcharts/gfx/vml-radial-gradient.png +0 -0
  986. package/src/assets/plugins/highcharts/graphics/color-picker.svg +12 -0
  987. package/src/assets/plugins/highcharts/graphics/cursor.svg +11 -0
  988. package/src/assets/plugins/highcharts/graphics/earth.svg +432 -0
  989. package/src/assets/plugins/highcharts/graphics/feature.svg +13 -0
  990. package/src/assets/plugins/highcharts/graphics/flag-circle.svg +17 -0
  991. package/src/assets/plugins/highcharts/graphics/flag-circlepin.svg +15 -0
  992. package/src/assets/plugins/highcharts/graphics/flag-diamondpin.svg +15 -0
  993. package/src/assets/plugins/highcharts/graphics/flag-flag.svg +14 -0
  994. package/src/assets/plugins/highcharts/graphics/flag-rectangle.svg +18 -0
  995. package/src/assets/plugins/highcharts/graphics/flag-squarepin.svg +16 -0
  996. package/src/assets/plugins/highcharts/graphics/flag.svg +15 -0
  997. package/src/assets/plugins/highcharts/graphics/homepage/apple.svg +55 -0
  998. package/src/assets/plugins/highcharts/graphics/homepage/award.png +0 -0
  999. package/src/assets/plugins/highcharts/graphics/homepage/cloud.png +0 -0
  1000. package/src/assets/plugins/highcharts/graphics/homepage/earth.png +0 -0
  1001. package/src/assets/plugins/highcharts/graphics/homepage/jupiter.png +0 -0
  1002. package/src/assets/plugins/highcharts/graphics/homepage/mars.png +0 -0
  1003. package/src/assets/plugins/highcharts/graphics/homepage/mercury.png +0 -0
  1004. package/src/assets/plugins/highcharts/graphics/homepage/moon.png +0 -0
  1005. package/src/assets/plugins/highcharts/graphics/homepage/neptune.png +0 -0
  1006. package/src/assets/plugins/highcharts/graphics/homepage/p1.png +0 -0
  1007. package/src/assets/plugins/highcharts/graphics/homepage/p1.svg +9 -0
  1008. package/src/assets/plugins/highcharts/graphics/homepage/p2.png +0 -0
  1009. package/src/assets/plugins/highcharts/graphics/homepage/p2.svg +9 -0
  1010. package/src/assets/plugins/highcharts/graphics/homepage/p3.png +0 -0
  1011. package/src/assets/plugins/highcharts/graphics/homepage/p3.svg +9 -0
  1012. package/src/assets/plugins/highcharts/graphics/homepage/p4.png +0 -0
  1013. package/src/assets/plugins/highcharts/graphics/homepage/p4.svg +9 -0
  1014. package/src/assets/plugins/highcharts/graphics/homepage/p5.png +0 -0
  1015. package/src/assets/plugins/highcharts/graphics/homepage/p5.svg +9 -0
  1016. package/src/assets/plugins/highcharts/graphics/homepage/p6.png +0 -0
  1017. package/src/assets/plugins/highcharts/graphics/homepage/p6.svg +9 -0
  1018. package/src/assets/plugins/highcharts/graphics/homepage/product.png +0 -0
  1019. package/src/assets/plugins/highcharts/graphics/homepage/saturn.png +0 -0
  1020. package/src/assets/plugins/highcharts/graphics/homepage/sun.png +0 -0
  1021. package/src/assets/plugins/highcharts/graphics/homepage/uranus.png +0 -0
  1022. package/src/assets/plugins/highcharts/graphics/homepage/venus.png +0 -0
  1023. package/src/assets/plugins/highcharts/graphics/homepage/version.png +0 -0
  1024. package/src/assets/plugins/highcharts/graphics/rect.svg +12 -0
  1025. package/src/assets/plugins/highcharts/graphics/reset.svg +16 -0
  1026. package/src/assets/plugins/highcharts/graphics/sand.png +0 -0
  1027. package/src/assets/plugins/highcharts/graphics/save-chart-cloud.svg +14 -0
  1028. package/src/assets/plugins/highcharts/graphics/save.svg +14 -0
  1029. package/src/assets/plugins/highcharts/graphics/search.png +0 -0
  1030. package/src/assets/plugins/highcharts/graphics/skies.jpg +0 -0
  1031. package/src/assets/plugins/highcharts/graphics/snow.png +0 -0
  1032. package/src/assets/plugins/highcharts/graphics/sun.png +0 -0
  1033. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/blue-flake-big.svg +32 -0
  1034. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/blue-star-big.svg +16 -0
  1035. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/car-tree.svg +429 -0
  1036. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/green-flake-big.svg +119 -0
  1037. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/green-star.svg +20 -0
  1038. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/hill.svg +193 -0
  1039. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/hill2.svg +164 -0
  1040. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/horse.svg +1 -0
  1041. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/people.svg +2336 -0
  1042. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/pines.svg +777 -0
  1043. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/pond-skate.svg +1 -0
  1044. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/red-flake.svg +30 -0
  1045. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/red-house.svg +85 -0
  1046. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/red-star-big.svg +36 -0
  1047. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/red-star.svg +20 -0
  1048. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/santa-b.svg +91 -0
  1049. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/santa.svg +91 -0
  1050. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/snow-mound.svg +146 -0
  1051. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/snow.svg +20788 -0
  1052. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/sun-disk.svg +597 -0
  1053. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/tree-cluster.svg +2735 -0
  1054. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/white-flake-big.svg +99 -0
  1055. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/white-flake.big.svg +96 -0
  1056. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/white-star-big.svg +36 -0
  1057. package/src/assets/plugins/highcharts/index.html +133 -0
@@ -0,0 +1,3294 @@
1
+ /**
2
+ * @license Highcharts Gantt JS v9.3.3 (2022-02-01)
3
+ *
4
+ * Tree Grid
5
+ *
6
+ * (c) 2016-2021 Jon Arild Nygard
7
+ *
8
+ * License: www.highcharts.com/license
9
+ */
10
+ 'use strict';
11
+ (function (factory) {
12
+ if (typeof module === 'object' && module.exports) {
13
+ factory['default'] = factory;
14
+ module.exports = factory;
15
+ } else if (typeof define === 'function' && define.amd) {
16
+ define('highcharts/modules/treegrid', ['highcharts'], function (Highcharts) {
17
+ factory(Highcharts);
18
+ factory.Highcharts = Highcharts;
19
+ return factory;
20
+ });
21
+ } else {
22
+ factory(typeof Highcharts !== 'undefined' ? Highcharts : undefined);
23
+ }
24
+ }(function (Highcharts) {
25
+ var _modules = Highcharts ? Highcharts._modules : {};
26
+ function _registerModule(obj, path, args, fn) {
27
+ if (!obj.hasOwnProperty(path)) {
28
+ obj[path] = fn.apply(null, args);
29
+ }
30
+ }
31
+ _registerModule(_modules, 'Core/Axis/BrokenAxis.js', [_modules['Extensions/Stacking.js'], _modules['Core/Utilities.js']], function (StackItem, U) {
32
+ /* *
33
+ *
34
+ * (c) 2009-2021 Torstein Honsi
35
+ *
36
+ * License: www.highcharts.com/license
37
+ *
38
+ * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
39
+ *
40
+ * */
41
+ var addEvent = U.addEvent,
42
+ find = U.find,
43
+ fireEvent = U.fireEvent,
44
+ isArray = U.isArray,
45
+ isNumber = U.isNumber,
46
+ pick = U.pick;
47
+ /* *
48
+ *
49
+ * Composition
50
+ *
51
+ * */
52
+ /**
53
+ * Axis with support of broken data rows.
54
+ * @private
55
+ */
56
+ var BrokenAxis;
57
+ (function (BrokenAxis) {
58
+ /* *
59
+ *
60
+ * Declarations
61
+ *
62
+ * */
63
+ /* *
64
+ *
65
+ * Constants
66
+ *
67
+ * */
68
+ var composedClasses = [];
69
+ /* *
70
+ *
71
+ * Functions
72
+ *
73
+ * */
74
+ /* eslint-disable valid-jsdoc */
75
+ /**
76
+ * Adds support for broken axes.
77
+ * @private
78
+ */
79
+ function compose(AxisClass, SeriesClass) {
80
+ if (composedClasses.indexOf(AxisClass) === -1) {
81
+ composedClasses.push(AxisClass);
82
+ AxisClass.keepProps.push('brokenAxis');
83
+ addEvent(AxisClass, 'init', onAxisInit);
84
+ addEvent(AxisClass, 'afterInit', onAxisAfterInit);
85
+ addEvent(AxisClass, 'afterSetTickPositions', onAxisAfterSetTickPositions);
86
+ addEvent(AxisClass, 'afterSetOptions', onAxisAfterSetOptions);
87
+ }
88
+ if (composedClasses.indexOf(SeriesClass) === -1) {
89
+ composedClasses.push(SeriesClass);
90
+ var seriesProto = SeriesClass.prototype;
91
+ seriesProto.drawBreaks = seriesDrawBreaks;
92
+ seriesProto.gappedPath = seriesGappedPath;
93
+ addEvent(SeriesClass, 'afterGeneratePoints', onSeriesAfterGeneratePoints);
94
+ addEvent(SeriesClass, 'afterRender', onSeriesAfterRender);
95
+ }
96
+ return AxisClass;
97
+ }
98
+ BrokenAxis.compose = compose;
99
+ /**
100
+ * @private
101
+ */
102
+ function onAxisAfterInit() {
103
+ if (typeof this.brokenAxis !== 'undefined') {
104
+ this.brokenAxis.setBreaks(this.options.breaks, false);
105
+ }
106
+ }
107
+ /**
108
+ * Force Axis to be not-ordinal when breaks are defined.
109
+ * @private
110
+ */
111
+ function onAxisAfterSetOptions() {
112
+ var axis = this;
113
+ if (axis.brokenAxis && axis.brokenAxis.hasBreaks) {
114
+ axis.options.ordinal = false;
115
+ }
116
+ }
117
+ /**
118
+ * @private
119
+ */
120
+ function onAxisAfterSetTickPositions() {
121
+ var axis = this,
122
+ brokenAxis = axis.brokenAxis;
123
+ if (brokenAxis &&
124
+ brokenAxis.hasBreaks) {
125
+ var tickPositions = axis.tickPositions,
126
+ info = axis.tickPositions.info,
127
+ newPositions = [];
128
+ for (var i = 0; i < tickPositions.length; i++) {
129
+ if (!brokenAxis.isInAnyBreak(tickPositions[i])) {
130
+ newPositions.push(tickPositions[i]);
131
+ }
132
+ }
133
+ axis.tickPositions = newPositions;
134
+ axis.tickPositions.info = info;
135
+ }
136
+ }
137
+ /**
138
+ * @private
139
+ */
140
+ function onAxisInit() {
141
+ var axis = this;
142
+ if (!axis.brokenAxis) {
143
+ axis.brokenAxis = new Additions(axis);
144
+ }
145
+ }
146
+ /**
147
+ * @private
148
+ */
149
+ function onSeriesAfterGeneratePoints() {
150
+ var _a = this,
151
+ isDirty = _a.isDirty,
152
+ connectNulls = _a.options.connectNulls,
153
+ points = _a.points,
154
+ xAxis = _a.xAxis,
155
+ yAxis = _a.yAxis;
156
+ // Set, or reset visibility of the points. Axis.setBreaks marks
157
+ // the series as isDirty
158
+ if (isDirty) {
159
+ var i = points.length;
160
+ while (i--) {
161
+ var point = points[i];
162
+ // Respect nulls inside the break (#4275)
163
+ var nullGap = point.y === null && connectNulls === false;
164
+ var isPointInBreak = (!nullGap && ((xAxis &&
165
+ xAxis.brokenAxis &&
166
+ xAxis.brokenAxis.isInAnyBreak(point.x,
167
+ true)) || (yAxis &&
168
+ yAxis.brokenAxis &&
169
+ yAxis.brokenAxis.isInAnyBreak(point.y,
170
+ true))));
171
+ // Set point.visible if in any break.
172
+ // If not in break, reset visible to original value.
173
+ point.visible = isPointInBreak ?
174
+ false :
175
+ point.options.visible !== false;
176
+ }
177
+ }
178
+ }
179
+ /**
180
+ * @private
181
+ */
182
+ function onSeriesAfterRender() {
183
+ this.drawBreaks(this.xAxis, ['x']);
184
+ this.drawBreaks(this.yAxis, pick(this.pointArrayMap, ['y']));
185
+ }
186
+ /**
187
+ * @private
188
+ */
189
+ function seriesDrawBreaks(axis, keys) {
190
+ var series = this,
191
+ points = series.points;
192
+ var breaks,
193
+ threshold,
194
+ eventName,
195
+ y;
196
+ if (axis && // #5950
197
+ axis.brokenAxis &&
198
+ axis.brokenAxis.hasBreaks) {
199
+ var brokenAxis_1 = axis.brokenAxis;
200
+ keys.forEach(function (key) {
201
+ breaks = brokenAxis_1 && brokenAxis_1.breakArray || [];
202
+ threshold = axis.isXAxis ?
203
+ axis.min :
204
+ pick(series.options.threshold, axis.min);
205
+ points.forEach(function (point) {
206
+ y = pick(point['stack' + key.toUpperCase()], point[key]);
207
+ breaks.forEach(function (brk) {
208
+ if (isNumber(threshold) && isNumber(y)) {
209
+ eventName = false;
210
+ if ((threshold < brk.from && y > brk.to) ||
211
+ (threshold > brk.from && y < brk.from)) {
212
+ eventName = 'pointBreak';
213
+ }
214
+ else if ((threshold < brk.from &&
215
+ y > brk.from &&
216
+ y < brk.to) || (threshold > brk.from &&
217
+ y > brk.to &&
218
+ y < brk.from)) {
219
+ eventName = 'pointInBreak';
220
+ }
221
+ if (eventName) {
222
+ fireEvent(axis, eventName, { point: point, brk: brk });
223
+ }
224
+ }
225
+ });
226
+ });
227
+ });
228
+ }
229
+ }
230
+ /**
231
+ * Extend getGraphPath by identifying gaps in the data so that we
232
+ * can draw a gap in the line or area. This was moved from ordinal
233
+ * axis module to broken axis module as of #5045.
234
+ *
235
+ * @private
236
+ * @function Highcharts.Series#gappedPath
237
+ *
238
+ * @return {Highcharts.SVGPathArray}
239
+ * Gapped path
240
+ */
241
+ function seriesGappedPath() {
242
+ var currentDataGrouping = this.currentDataGrouping,
243
+ groupingSize = currentDataGrouping && currentDataGrouping.gapSize,
244
+ points = this.points.slice(),
245
+ yAxis = this.yAxis;
246
+ var gapSize = this.options.gapSize,
247
+ i = points.length - 1,
248
+ stack;
249
+ /**
250
+ * Defines when to display a gap in the graph, together with the
251
+ * [gapUnit](plotOptions.series.gapUnit) option.
252
+ *
253
+ * In case when `dataGrouping` is enabled, points can be grouped
254
+ * into a larger time span. This can make the grouped points to
255
+ * have a greater distance than the absolute value of `gapSize`
256
+ * property, which will result in disappearing graph completely.
257
+ * To prevent this situation the mentioned distance between
258
+ * grouped points is used instead of previously defined
259
+ * `gapSize`.
260
+ *
261
+ * In practice, this option is most often used to visualize gaps
262
+ * in time series. In a stock chart, intraday data is available
263
+ * for daytime hours, while gaps will appear in nights and
264
+ * weekends.
265
+ *
266
+ * @see [gapUnit](plotOptions.series.gapUnit)
267
+ * @see [xAxis.breaks](#xAxis.breaks)
268
+ *
269
+ * @sample {highstock} stock/plotoptions/series-gapsize/
270
+ * Setting the gap size to 2 introduces gaps for weekends in
271
+ * daily datasets.
272
+ *
273
+ * @type {number}
274
+ * @default 0
275
+ * @product highstock
276
+ * @requires modules/broken-axis
277
+ * @apioption plotOptions.series.gapSize
278
+ */
279
+ /**
280
+ * Together with [gapSize](plotOptions.series.gapSize), this
281
+ * option defines where to draw gaps in the graph.
282
+ *
283
+ * When the `gapUnit` is `"relative"` (default), a gap size of 5
284
+ * means that if the distance between two points is greater than
285
+ * 5 times that of the two closest points, the graph will be
286
+ * broken.
287
+ *
288
+ * When the `gapUnit` is `"value"`, the gap is based on absolute
289
+ * axis values, which on a datetime axis is milliseconds. This
290
+ * also applies to the navigator series that inherits gap
291
+ * options from the base series.
292
+ *
293
+ * @see [gapSize](plotOptions.series.gapSize)
294
+ *
295
+ * @type {string}
296
+ * @default relative
297
+ * @since 5.0.13
298
+ * @product highstock
299
+ * @validvalue ["relative", "value"]
300
+ * @requires modules/broken-axis
301
+ * @apioption plotOptions.series.gapUnit
302
+ */
303
+ if (gapSize && i > 0) { // #5008
304
+ // Gap unit is relative
305
+ if (this.options.gapUnit !== 'value') {
306
+ gapSize *= this.basePointRange;
307
+ }
308
+ // Setting a new gapSize in case dataGrouping is enabled
309
+ // (#7686)
310
+ if (groupingSize &&
311
+ groupingSize > gapSize &&
312
+ // Except when DG is forced (e.g. from other series)
313
+ // and has lower granularity than actual points (#11351)
314
+ groupingSize >= this.basePointRange) {
315
+ gapSize = groupingSize;
316
+ }
317
+ // extension for ordinal breaks
318
+ var current = void 0,
319
+ next = void 0;
320
+ while (i--) {
321
+ // Reassign next if it is not visible
322
+ if (!(next && next.visible !== false)) {
323
+ next = points[i + 1];
324
+ }
325
+ current = points[i];
326
+ // Skip iteration if one of the points is not visible
327
+ if (next.visible === false || current.visible === false) {
328
+ continue;
329
+ }
330
+ if (next.x - current.x > gapSize) {
331
+ var xRange = (current.x + next.x) / 2;
332
+ points.splice(// insert after this one
333
+ i + 1, 0, {
334
+ isNull: true,
335
+ x: xRange
336
+ });
337
+ // For stacked chart generate empty stack items, #6546
338
+ if (yAxis.stacking && this.options.stacking) {
339
+ stack = yAxis.stacking.stacks[this.stackKey][xRange] = new StackItem(yAxis, yAxis.options.stackLabels, false, xRange, this.stack);
340
+ stack.total = 0;
341
+ }
342
+ }
343
+ // Assign current to next for the upcoming iteration
344
+ next = current;
345
+ }
346
+ }
347
+ // Call base method
348
+ return this.getGraphPath(points);
349
+ }
350
+ /* *
351
+ *
352
+ * Class
353
+ *
354
+ * */
355
+ /**
356
+ * Provides support for broken axes.
357
+ * @private
358
+ * @class
359
+ */
360
+ var Additions = /** @class */ (function () {
361
+ /* *
362
+ *
363
+ * Constructors
364
+ *
365
+ * */
366
+ function Additions(axis) {
367
+ this.hasBreaks = false;
368
+ this.axis = axis;
369
+ }
370
+ /* *
371
+ *
372
+ * Static Functions
373
+ *
374
+ * */
375
+ /**
376
+ * @private
377
+ */
378
+ Additions.isInBreak = function (brk, val) {
379
+ var repeat = brk.repeat || Infinity,
380
+ from = brk.from,
381
+ length = brk.to - brk.from,
382
+ test = (val >= from ?
383
+ (val - from) % repeat :
384
+ repeat - ((from - val) % repeat));
385
+ var ret;
386
+ if (!brk.inclusive) {
387
+ ret = test < length && test !== 0;
388
+ }
389
+ else {
390
+ ret = test <= length;
391
+ }
392
+ return ret;
393
+ };
394
+ /**
395
+ * @private
396
+ */
397
+ Additions.lin2Val = function (val) {
398
+ var axis = this;
399
+ var brokenAxis = axis.brokenAxis;
400
+ var breakArray = brokenAxis && brokenAxis.breakArray;
401
+ if (!breakArray || !isNumber(val)) {
402
+ return val;
403
+ }
404
+ var nval = val,
405
+ brk,
406
+ i;
407
+ for (i = 0; i < breakArray.length; i++) {
408
+ brk = breakArray[i];
409
+ if (brk.from >= nval) {
410
+ break;
411
+ }
412
+ else if (brk.to < nval) {
413
+ nval += brk.len;
414
+ }
415
+ else if (Additions.isInBreak(brk, nval)) {
416
+ nval += brk.len;
417
+ }
418
+ }
419
+ return nval;
420
+ };
421
+ /**
422
+ * @private
423
+ */
424
+ Additions.val2Lin = function (val) {
425
+ var axis = this;
426
+ var brokenAxis = axis.brokenAxis;
427
+ var breakArray = brokenAxis && brokenAxis.breakArray;
428
+ if (!breakArray || !isNumber(val)) {
429
+ return val;
430
+ }
431
+ var nval = val,
432
+ brk,
433
+ i;
434
+ for (i = 0; i < breakArray.length; i++) {
435
+ brk = breakArray[i];
436
+ if (brk.to <= val) {
437
+ nval -= brk.len;
438
+ }
439
+ else if (brk.from >= val) {
440
+ break;
441
+ }
442
+ else if (Additions.isInBreak(brk, val)) {
443
+ nval -= (val - brk.from);
444
+ break;
445
+ }
446
+ }
447
+ return nval;
448
+ };
449
+ /* *
450
+ *
451
+ * Functions
452
+ *
453
+ * */
454
+ /**
455
+ * Returns the first break found where the x is larger then break.from
456
+ * and smaller then break.to.
457
+ *
458
+ * @param {number} x
459
+ * The number which should be within a break.
460
+ *
461
+ * @param {Array<Highcharts.XAxisBreaksOptions>} breaks
462
+ * The array of breaks to search within.
463
+ *
464
+ * @return {Highcharts.XAxisBreaksOptions|undefined}
465
+ * Returns the first break found that matches, returns false if no break
466
+ * is found.
467
+ */
468
+ Additions.prototype.findBreakAt = function (x, breaks) {
469
+ return find(breaks, function (b) {
470
+ return b.from < x && x < b.to;
471
+ });
472
+ };
473
+ /**
474
+ * @private
475
+ */
476
+ Additions.prototype.isInAnyBreak = function (val, testKeep) {
477
+ var brokenAxis = this,
478
+ axis = brokenAxis.axis,
479
+ breaks = axis.options.breaks || [];
480
+ var i = breaks.length,
481
+ inbrk,
482
+ keep,
483
+ ret;
484
+ if (i && isNumber(val)) {
485
+ while (i--) {
486
+ if (Additions.isInBreak(breaks[i], val)) {
487
+ inbrk = true;
488
+ if (!keep) {
489
+ keep = pick(breaks[i].showPoints, !axis.isXAxis);
490
+ }
491
+ }
492
+ }
493
+ if (inbrk && testKeep) {
494
+ ret = inbrk && !keep;
495
+ }
496
+ else {
497
+ ret = inbrk;
498
+ }
499
+ }
500
+ return ret;
501
+ };
502
+ /**
503
+ * Dynamically set or unset breaks in an axis. This function in lighter
504
+ * than usin Axis.update, and it also preserves animation.
505
+ *
506
+ * @private
507
+ * @function Highcharts.Axis#setBreaks
508
+ *
509
+ * @param {Array<Highcharts.XAxisBreaksOptions>} [breaks]
510
+ * The breaks to add. When `undefined` it removes existing breaks.
511
+ *
512
+ * @param {boolean} [redraw=true]
513
+ * Whether to redraw the chart immediately.
514
+ */
515
+ Additions.prototype.setBreaks = function (breaks, redraw) {
516
+ var brokenAxis = this;
517
+ var axis = brokenAxis.axis;
518
+ var hasBreaks = (isArray(breaks) && !!breaks.length);
519
+ axis.isDirty = brokenAxis.hasBreaks !== hasBreaks;
520
+ brokenAxis.hasBreaks = hasBreaks;
521
+ axis.options.breaks = axis.userOptions.breaks = breaks;
522
+ axis.forceRedraw = true; // Force recalculation in setScale
523
+ // Recalculate series related to the axis.
524
+ axis.series.forEach(function (series) {
525
+ series.isDirty = true;
526
+ });
527
+ if (!hasBreaks && axis.val2lin === Additions.val2Lin) {
528
+ // Revert to prototype functions
529
+ delete axis.val2lin;
530
+ delete axis.lin2val;
531
+ }
532
+ if (hasBreaks) {
533
+ axis.userOptions.ordinal = false;
534
+ axis.lin2val = Additions.lin2Val;
535
+ axis.val2lin = Additions.val2Lin;
536
+ axis.setExtremes = function (newMin, newMax, redraw, animation, eventArguments) {
537
+ // If trying to set extremes inside a break, extend min to
538
+ // after, and max to before the break ( #3857 )
539
+ if (brokenAxis.hasBreaks) {
540
+ var breaks_1 = (this.options.breaks || []);
541
+ var axisBreak = void 0;
542
+ while ((axisBreak = brokenAxis.findBreakAt(newMin, breaks_1))) {
543
+ newMin = axisBreak.to;
544
+ }
545
+ while ((axisBreak = brokenAxis.findBreakAt(newMax, breaks_1))) {
546
+ newMax = axisBreak.from;
547
+ }
548
+ // If both min and max is within the same break.
549
+ if (newMax < newMin) {
550
+ newMax = newMin;
551
+ }
552
+ }
553
+ axis.constructor.prototype.setExtremes.call(this, newMin, newMax, redraw, animation, eventArguments);
554
+ };
555
+ axis.setAxisTranslation = function () {
556
+ axis.constructor.prototype.setAxisTranslation.call(this);
557
+ brokenAxis.unitLength = void 0;
558
+ if (brokenAxis.hasBreaks) {
559
+ var breaks_2 = axis.options.breaks || [],
560
+ // Temporary one:
561
+ breakArrayT_1 = [],
562
+ breakArray_1 = [],
563
+ pointRangePadding = pick(axis.pointRangePadding, 0);
564
+ var length_1 = 0,
565
+ inBrk_1,
566
+ repeat_1,
567
+ min_1 = axis.userMin || axis.min,
568
+ max_1 = axis.userMax || axis.max,
569
+ start_1,
570
+ i_1;
571
+ // Min & max check (#4247)
572
+ breaks_2.forEach(function (brk) {
573
+ repeat_1 = brk.repeat || Infinity;
574
+ if (isNumber(min_1) && isNumber(max_1)) {
575
+ if (Additions.isInBreak(brk, min_1)) {
576
+ min_1 += ((brk.to % repeat_1) -
577
+ (min_1 % repeat_1));
578
+ }
579
+ if (Additions.isInBreak(brk, max_1)) {
580
+ max_1 -= ((max_1 % repeat_1) -
581
+ (brk.from % repeat_1));
582
+ }
583
+ }
584
+ });
585
+ // Construct an array holding all breaks in the axis
586
+ breaks_2.forEach(function (brk) {
587
+ start_1 = brk.from;
588
+ repeat_1 = brk.repeat || Infinity;
589
+ if (isNumber(min_1) && isNumber(max_1)) {
590
+ while (start_1 - repeat_1 > min_1) {
591
+ start_1 -= repeat_1;
592
+ }
593
+ while (start_1 < min_1) {
594
+ start_1 += repeat_1;
595
+ }
596
+ for (i_1 = start_1; i_1 < max_1; i_1 += repeat_1) {
597
+ breakArrayT_1.push({
598
+ value: i_1,
599
+ move: 'in'
600
+ });
601
+ breakArrayT_1.push({
602
+ value: i_1 + brk.to - brk.from,
603
+ move: 'out',
604
+ size: brk.breakSize
605
+ });
606
+ }
607
+ }
608
+ });
609
+ breakArrayT_1.sort(function (a, b) {
610
+ return ((a.value === b.value) ?
611
+ ((a.move === 'in' ? 0 : 1) -
612
+ (b.move === 'in' ? 0 : 1)) :
613
+ a.value - b.value);
614
+ });
615
+ // Simplify the breaks
616
+ inBrk_1 = 0;
617
+ start_1 = min_1;
618
+ breakArrayT_1.forEach(function (brk) {
619
+ inBrk_1 += (brk.move === 'in' ? 1 : -1);
620
+ if (inBrk_1 === 1 && brk.move === 'in') {
621
+ start_1 = brk.value;
622
+ }
623
+ if (inBrk_1 === 0 && isNumber(start_1)) {
624
+ breakArray_1.push({
625
+ from: start_1,
626
+ to: brk.value,
627
+ len: brk.value - start_1 - (brk.size || 0)
628
+ });
629
+ length_1 += (brk.value -
630
+ start_1 -
631
+ (brk.size || 0));
632
+ }
633
+ });
634
+ brokenAxis.breakArray = breakArray_1;
635
+ // Used with staticScale, and below the actual axis
636
+ // length, when breaks are substracted.
637
+ if (isNumber(min_1) &&
638
+ isNumber(max_1) &&
639
+ isNumber(axis.min)) {
640
+ brokenAxis.unitLength = max_1 - min_1 - length_1 +
641
+ pointRangePadding;
642
+ fireEvent(axis, 'afterBreaks');
643
+ if (axis.staticScale) {
644
+ axis.transA = axis.staticScale;
645
+ }
646
+ else if (brokenAxis.unitLength) {
647
+ axis.transA *=
648
+ (max_1 - axis.min + pointRangePadding) /
649
+ brokenAxis.unitLength;
650
+ }
651
+ if (pointRangePadding) {
652
+ axis.minPixelPadding =
653
+ axis.transA * (axis.minPointOffset || 0);
654
+ }
655
+ axis.min = min_1;
656
+ axis.max = max_1;
657
+ }
658
+ }
659
+ };
660
+ }
661
+ if (pick(redraw, true)) {
662
+ axis.chart.redraw();
663
+ }
664
+ };
665
+ return Additions;
666
+ }());
667
+ BrokenAxis.Additions = Additions;
668
+ })(BrokenAxis || (BrokenAxis = {}));
669
+ /* *
670
+ *
671
+ * Default Export
672
+ *
673
+ * */
674
+
675
+ return BrokenAxis;
676
+ });
677
+ _registerModule(_modules, 'Core/Axis/GridAxis.js', [_modules['Core/Axis/Axis.js'], _modules['Core/Axis/AxisDefaults.js'], _modules['Core/Globals.js'], _modules['Core/Utilities.js']], function (Axis, AxisDefaults, H, U) {
678
+ /* *
679
+ *
680
+ * (c) 2016 Highsoft AS
681
+ * Authors: Lars A. V. Cabrera
682
+ *
683
+ * License: www.highcharts.com/license
684
+ *
685
+ * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
686
+ *
687
+ * */
688
+ var dateFormats = H.dateFormats;
689
+ var addEvent = U.addEvent,
690
+ defined = U.defined,
691
+ erase = U.erase,
692
+ find = U.find,
693
+ isArray = U.isArray,
694
+ isNumber = U.isNumber,
695
+ merge = U.merge,
696
+ pick = U.pick,
697
+ timeUnits = U.timeUnits,
698
+ wrap = U.wrap;
699
+ /* *
700
+ *
701
+ * Functions
702
+ *
703
+ * */
704
+ /* eslint-disable require-jsdoc */
705
+ function argsToArray(args) {
706
+ return Array.prototype.slice.call(args, 1);
707
+ }
708
+ function isObject(x) {
709
+ // Always use strict mode
710
+ return U.isObject(x, true);
711
+ }
712
+ function applyGridOptions(axis) {
713
+ var options = axis.options;
714
+ // Center-align by default
715
+ /*
716
+ if (!options.labels) {
717
+ options.labels = {};
718
+ }
719
+ */
720
+ options.labels.align = pick(options.labels.align, 'center');
721
+ // @todo: Check against tickLabelPlacement between/on etc
722
+ /* Prevents adding the last tick label if the axis is not a category
723
+ axis.
724
+ Since numeric labels are normally placed at starts and ends of a
725
+ range of value, and this module makes the label point at the value,
726
+ an "extra" label would appear. */
727
+ if (!axis.categories) {
728
+ options.showLastLabel = false;
729
+ }
730
+ // Prevents rotation of labels when squished, as rotating them would not
731
+ // help.
732
+ axis.labelRotation = 0;
733
+ options.labels.rotation = 0;
734
+ }
735
+ /**
736
+ * Axis with grid support.
737
+ * @private
738
+ */
739
+ var GridAxis;
740
+ (function (GridAxis) {
741
+ /* *
742
+ *
743
+ * Declarations
744
+ *
745
+ * */
746
+ /**
747
+ * Enum for which side the axis is on. Maps to axis.side.
748
+ * @private
749
+ */
750
+ var Side;
751
+ (function (Side) {
752
+ Side[Side["top"] = 0] = "top";
753
+ Side[Side["right"] = 1] = "right";
754
+ Side[Side["bottom"] = 2] = "bottom";
755
+ Side[Side["left"] = 3] = "left";
756
+ })(Side = GridAxis.Side || (GridAxis.Side = {}));
757
+ /* *
758
+ *
759
+ * Functions
760
+ *
761
+ * */
762
+ /* eslint-disable valid-jsdoc */
763
+ /**
764
+ * Extends axis class with grid support.
765
+ * @private
766
+ */
767
+ function compose(AxisClass, ChartClass, TickClass) {
768
+ if (AxisClass.keepProps.indexOf('grid') === -1) {
769
+ AxisClass.keepProps.push('grid');
770
+ AxisClass.prototype.getMaxLabelDimensions = getMaxLabelDimensions;
771
+ wrap(AxisClass.prototype, 'unsquish', wrapUnsquish);
772
+ // Add event handlers
773
+ addEvent(AxisClass, 'init', onInit);
774
+ addEvent(AxisClass, 'afterGetOffset', onAfterGetOffset);
775
+ addEvent(AxisClass, 'afterGetTitlePosition', onAfterGetTitlePosition);
776
+ addEvent(AxisClass, 'afterInit', onAfterInit);
777
+ addEvent(AxisClass, 'afterRender', onAfterRender);
778
+ addEvent(AxisClass, 'afterSetAxisTranslation', onAfterSetAxisTranslation);
779
+ addEvent(AxisClass, 'afterSetOptions', onAfterSetOptions);
780
+ addEvent(AxisClass, 'afterSetOptions', onAfterSetOptions2);
781
+ addEvent(AxisClass, 'afterSetScale', onAfterSetScale);
782
+ addEvent(AxisClass, 'afterTickSize', onAfterTickSize);
783
+ addEvent(AxisClass, 'trimTicks', onTrimTicks);
784
+ addEvent(AxisClass, 'destroy', onDestroy);
785
+ }
786
+ addEvent(ChartClass, 'afterSetChartSize', onChartAfterSetChartSize);
787
+ addEvent(TickClass, 'afterGetLabelPosition', onTickAfterGetLabelPosition);
788
+ addEvent(TickClass, 'labelFormat', onTickLabelFormat);
789
+ return AxisClass;
790
+ }
791
+ GridAxis.compose = compose;
792
+ /**
793
+ * Get the largest label width and height.
794
+ *
795
+ * @private
796
+ * @function Highcharts.Axis#getMaxLabelDimensions
797
+ *
798
+ * @param {Highcharts.Dictionary<Highcharts.Tick>} ticks
799
+ * All the ticks on one axis.
800
+ *
801
+ * @param {Array<number|string>} tickPositions
802
+ * All the tick positions on one axis.
803
+ *
804
+ * @return {Highcharts.SizeObject}
805
+ * Object containing the properties height and width.
806
+ *
807
+ * @todo Move this to the generic axis implementation, as it is used there.
808
+ */
809
+ function getMaxLabelDimensions(ticks, tickPositions) {
810
+ var dimensions = {
811
+ width: 0,
812
+ height: 0
813
+ };
814
+ tickPositions.forEach(function (pos) {
815
+ var tick = ticks[pos];
816
+ var labelHeight = 0,
817
+ labelWidth = 0,
818
+ label;
819
+ if (isObject(tick)) {
820
+ label = isObject(tick.label) ? tick.label : {};
821
+ // Find width and height of label
822
+ labelHeight = label.getBBox ? label.getBBox().height : 0;
823
+ if (label.textStr && !isNumber(label.textPxLength)) {
824
+ label.textPxLength = label.getBBox().width;
825
+ }
826
+ labelWidth = isNumber(label.textPxLength) ?
827
+ // Math.round ensures crisp lines
828
+ Math.round(label.textPxLength) :
829
+ 0;
830
+ if (label.textStr) {
831
+ // Set the tickWidth same as the label width after ellipsis
832
+ // applied #10281
833
+ labelWidth = Math.round(label.getBBox().width);
834
+ }
835
+ // Update the result if width and/or height are larger
836
+ dimensions.height = Math.max(labelHeight, dimensions.height);
837
+ dimensions.width = Math.max(labelWidth, dimensions.width);
838
+ }
839
+ });
840
+ // For tree grid, add indentation
841
+ if (this.options.type === 'treegrid' &&
842
+ this.treeGrid &&
843
+ this.treeGrid.mapOfPosToGridNode) {
844
+ var treeDepth = this.treeGrid.mapOfPosToGridNode[-1].height || 0;
845
+ dimensions.width += (this.options.labels.indentation *
846
+ (treeDepth - 1));
847
+ }
848
+ return dimensions;
849
+ }
850
+ /**
851
+ * Handle columns and getOffset.
852
+ * @private
853
+ */
854
+ function onAfterGetOffset() {
855
+ var grid = this.grid;
856
+ (grid && grid.columns || []).forEach(function (column) {
857
+ column.getOffset();
858
+ });
859
+ }
860
+ /**
861
+ * @private
862
+ */
863
+ function onAfterGetTitlePosition(e) {
864
+ var axis = this;
865
+ var options = axis.options;
866
+ var gridOptions = options.grid || {};
867
+ if (gridOptions.enabled === true) {
868
+ // compute anchor points for each of the title align options
869
+ var axisTitle = axis.axisTitle,
870
+ axisHeight = axis.height,
871
+ horiz = axis.horiz,
872
+ axisLeft = axis.left,
873
+ offset = axis.offset,
874
+ opposite = axis.opposite,
875
+ options_1 = axis.options,
876
+ axisTop = axis.top,
877
+ axisWidth = axis.width;
878
+ var tickSize = axis.tickSize();
879
+ var titleWidth = axisTitle && axisTitle.getBBox().width;
880
+ var xOption = options_1.title.x;
881
+ var yOption = options_1.title.y;
882
+ var titleMargin = pick(options_1.title.margin,
883
+ horiz ? 5 : 10);
884
+ var titleFontSize = axis.chart.renderer.fontMetrics(options_1.title.style.fontSize,
885
+ axisTitle).f;
886
+ var crispCorr = tickSize ? tickSize[0] / 2 : 0;
887
+ // TODO account for alignment
888
+ // the position in the perpendicular direction of the axis
889
+ var offAxis = ((horiz ? axisTop + axisHeight : axisLeft) +
890
+ (horiz ? 1 : -1) * // horizontal axis reverses the margin
891
+ (opposite ? -1 : 1) * // so does opposite axes
892
+ crispCorr +
893
+ (axis.side === GridAxis.Side.bottom ? titleFontSize : 0));
894
+ e.titlePosition.x = horiz ?
895
+ axisLeft - (titleWidth || 0) / 2 - titleMargin + xOption :
896
+ offAxis + (opposite ? axisWidth : 0) + offset + xOption;
897
+ e.titlePosition.y = horiz ?
898
+ (offAxis -
899
+ (opposite ? axisHeight : 0) +
900
+ (opposite ? titleFontSize : -titleFontSize) / 2 +
901
+ offset +
902
+ yOption) :
903
+ axisTop - titleMargin + yOption;
904
+ }
905
+ }
906
+ /**
907
+ * @private
908
+ */
909
+ function onAfterInit() {
910
+ var axis = this;
911
+ var chart = axis.chart,
912
+ _a = axis.options.grid,
913
+ gridOptions = _a === void 0 ? {} : _a,
914
+ userOptions = axis.userOptions;
915
+ if (gridOptions.enabled) {
916
+ applyGridOptions(axis);
917
+ }
918
+ if (gridOptions.columns) {
919
+ var columns = axis.grid.columns = [];
920
+ var columnIndex = axis.grid.columnIndex = 0;
921
+ // Handle columns, each column is a grid axis
922
+ while (++columnIndex < gridOptions.columns.length) {
923
+ var columnOptions = merge(userOptions,
924
+ gridOptions.columns[gridOptions.columns.length - columnIndex - 1], {
925
+ linkedTo: 0,
926
+ // Force to behave like category axis
927
+ type: 'category',
928
+ // Disable by default the scrollbar on the grid axis
929
+ scrollbar: {
930
+ enabled: false
931
+ }
932
+ });
933
+ delete columnOptions.grid.columns; // Prevent recursion
934
+ var column = new Axis(axis.chart,
935
+ columnOptions);
936
+ column.grid.isColumn = true;
937
+ column.grid.columnIndex = columnIndex;
938
+ // Remove column axis from chart axes array, and place it
939
+ // in the columns array.
940
+ erase(chart.axes, column);
941
+ erase(chart[axis.coll], column);
942
+ columns.push(column);
943
+ }
944
+ }
945
+ }
946
+ /**
947
+ * Draw an extra line on the far side of the outermost axis,
948
+ * creating floor/roof/wall of a grid. And some padding.
949
+ * ```
950
+ * Make this:
951
+ * (axis.min) __________________________ (axis.max)
952
+ * | | | | |
953
+ * Into this:
954
+ * (axis.min) __________________________ (axis.max)
955
+ * ___|____|____|____|____|__
956
+ * ```
957
+ * @private
958
+ */
959
+ function onAfterRender() {
960
+ var axis = this,
961
+ grid = axis.grid,
962
+ options = axis.options,
963
+ gridOptions = options.grid || {};
964
+ if (gridOptions.enabled === true) {
965
+ var min = axis.min || 0,
966
+ max = axis.max || 0;
967
+ // @todo acutual label padding (top, bottom, left, right)
968
+ axis.maxLabelDimensions = axis.getMaxLabelDimensions(axis.ticks, axis.tickPositions);
969
+ // Remove right wall before rendering if updating
970
+ if (axis.rightWall) {
971
+ axis.rightWall.destroy();
972
+ }
973
+ /*
974
+ Draw an extra axis line on outer axes
975
+ >
976
+ Make this: |______|______|______|___
977
+
978
+ > _________________________
979
+ Into this: |______|______|______|__|
980
+ */
981
+ if (axis.grid && axis.grid.isOuterAxis() && axis.axisLine) {
982
+ var lineWidth = options.lineWidth;
983
+ if (lineWidth) {
984
+ var linePath = axis.getLinePath(lineWidth),
985
+ startPoint = linePath[0],
986
+ endPoint = linePath[1],
987
+ // Negate distance if top or left axis
988
+ // Subtract 1px to draw the line at the end of the tick
989
+ tickLength = (axis.tickSize('tick') || [1])[0],
990
+ distance = (tickLength - 1) * ((axis.side === GridAxis.Side.top ||
991
+ axis.side === GridAxis.Side.left) ? -1 : 1);
992
+ // If axis is horizontal, reposition line path vertically
993
+ if (startPoint[0] === 'M' && endPoint[0] === 'L') {
994
+ if (axis.horiz) {
995
+ startPoint[2] += distance;
996
+ endPoint[2] += distance;
997
+ }
998
+ else {
999
+ startPoint[1] += distance;
1000
+ endPoint[1] += distance;
1001
+ }
1002
+ }
1003
+ // If it doesn't exist, add an upper and lower border
1004
+ // for the vertical grid axis.
1005
+ if (!axis.horiz && axis.chart.marginRight) {
1006
+ var upperBorderStartPoint = startPoint,
1007
+ upperBorderEndPoint = [
1008
+ 'L',
1009
+ axis.left,
1010
+ startPoint[2] || 0
1011
+ ],
1012
+ upperBorderPath = [
1013
+ upperBorderStartPoint,
1014
+ upperBorderEndPoint
1015
+ ],
1016
+ lowerBorderEndPoint = [
1017
+ 'L',
1018
+ axis.chart.chartWidth - axis.chart.marginRight,
1019
+ axis.toPixels(max + axis.tickmarkOffset)
1020
+ ],
1021
+ lowerBorderStartPoint = [
1022
+ 'M',
1023
+ endPoint[1] || 0,
1024
+ axis.toPixels(max + axis.tickmarkOffset)
1025
+ ],
1026
+ lowerBorderPath = [
1027
+ lowerBorderStartPoint,
1028
+ lowerBorderEndPoint
1029
+ ];
1030
+ if (!axis.grid.upperBorder && min % 1 !== 0) {
1031
+ axis.grid.upperBorder = axis.grid.renderBorder(upperBorderPath);
1032
+ }
1033
+ if (axis.grid.upperBorder) {
1034
+ axis.grid.upperBorder.attr({
1035
+ stroke: options.lineColor,
1036
+ 'stroke-width': options.lineWidth
1037
+ });
1038
+ axis.grid.upperBorder.animate({
1039
+ d: upperBorderPath
1040
+ });
1041
+ }
1042
+ if (!axis.grid.lowerBorder && max % 1 !== 0) {
1043
+ axis.grid.lowerBorder = axis.grid.renderBorder(lowerBorderPath);
1044
+ }
1045
+ if (axis.grid.lowerBorder) {
1046
+ axis.grid.lowerBorder.attr({
1047
+ stroke: options.lineColor,
1048
+ 'stroke-width': options.lineWidth
1049
+ });
1050
+ axis.grid.lowerBorder.animate({
1051
+ d: lowerBorderPath
1052
+ });
1053
+ }
1054
+ }
1055
+ // Render an extra line parallel to the existing axes, to
1056
+ // close the grid.
1057
+ if (!axis.grid.axisLineExtra) {
1058
+ axis.grid.axisLineExtra = axis.grid.renderBorder(linePath);
1059
+ }
1060
+ else {
1061
+ axis.grid.axisLineExtra.attr({
1062
+ stroke: options.lineColor,
1063
+ 'stroke-width': options.lineWidth
1064
+ });
1065
+ axis.grid.axisLineExtra.animate({
1066
+ d: linePath
1067
+ });
1068
+ }
1069
+ // show or hide the line depending on options.showEmpty
1070
+ axis.axisLine[axis.showAxis ? 'show' : 'hide'](true);
1071
+ }
1072
+ }
1073
+ (grid && grid.columns || []).forEach(function (column) {
1074
+ column.render();
1075
+ });
1076
+ // Manipulate the tick mark visibility
1077
+ // based on the axis.max- allows smooth scrolling.
1078
+ if (!axis.horiz &&
1079
+ axis.chart.hasRendered &&
1080
+ (axis.scrollbar ||
1081
+ (axis.linkedParent && axis.linkedParent.scrollbar))) {
1082
+ var tickmarkOffset = axis.tickmarkOffset,
1083
+ lastTick = axis.tickPositions[axis.tickPositions.length - 1],
1084
+ firstTick = axis.tickPositions[0];
1085
+ var label = void 0;
1086
+ while ((label = axis.hiddenLabels.pop()) && label.element) {
1087
+ label.show(); // #15453
1088
+ }
1089
+ // Hide/show firts tick label.
1090
+ label = axis.ticks[firstTick].label;
1091
+ if (label) {
1092
+ if (min - firstTick > tickmarkOffset) {
1093
+ axis.hiddenLabels.push(label.hide());
1094
+ }
1095
+ else {
1096
+ label.show();
1097
+ }
1098
+ }
1099
+ // Hide/show last tick mark/label.
1100
+ label = axis.ticks[lastTick].label;
1101
+ if (label) {
1102
+ if (lastTick - max > tickmarkOffset) {
1103
+ axis.hiddenLabels.push(label.hide());
1104
+ }
1105
+ else {
1106
+ label.show();
1107
+ }
1108
+ }
1109
+ var mark = axis.ticks[lastTick].mark;
1110
+ if (mark) {
1111
+ if (lastTick - max < tickmarkOffset &&
1112
+ lastTick - max > 0 && axis.ticks[lastTick].isLast) {
1113
+ mark.hide();
1114
+ }
1115
+ else if (axis.ticks[lastTick - 1]) {
1116
+ mark.show();
1117
+ }
1118
+ }
1119
+ }
1120
+ }
1121
+ }
1122
+ /**
1123
+ * @private
1124
+ */
1125
+ function onAfterSetAxisTranslation() {
1126
+ var axis = this;
1127
+ var tickInfo = axis.tickPositions && axis.tickPositions.info;
1128
+ var options = axis.options;
1129
+ var gridOptions = options.grid || {};
1130
+ var userLabels = axis.userOptions.labels || {};
1131
+ // Fire this only for the Gantt type chart, #14868.
1132
+ if (gridOptions.enabled) {
1133
+ if (axis.horiz) {
1134
+ axis.series.forEach(function (series) {
1135
+ series.options.pointRange = 0;
1136
+ });
1137
+ // Lower level time ticks, like hours or minutes, represent
1138
+ // points in time and not ranges. These should be aligned
1139
+ // left in the grid cell by default. The same applies to
1140
+ // years of higher order.
1141
+ if (tickInfo &&
1142
+ options.dateTimeLabelFormats &&
1143
+ options.labels &&
1144
+ !defined(userLabels.align) &&
1145
+ (options.dateTimeLabelFormats[tickInfo.unitName]
1146
+ .range === false ||
1147
+ tickInfo.count > 1 // years
1148
+ )) {
1149
+ options.labels.align = 'left';
1150
+ if (!defined(userLabels.x)) {
1151
+ options.labels.x = 3;
1152
+ }
1153
+ }
1154
+ }
1155
+ else {
1156
+ // Don't trim ticks which not in min/max range but
1157
+ // they are still in the min/max plus tickInterval.
1158
+ if (this.options.type !== 'treegrid' &&
1159
+ axis.grid &&
1160
+ axis.grid.columns) {
1161
+ this.minPointOffset = this.tickInterval;
1162
+ }
1163
+ }
1164
+ }
1165
+ }
1166
+ /**
1167
+ * Creates a left and right wall on horizontal axes:
1168
+ * - Places leftmost tick at the start of the axis, to create a left
1169
+ * wall
1170
+ * - Ensures that the rightmost tick is at the end of the axis, to
1171
+ * create a right wall.
1172
+ * @private
1173
+ */
1174
+ function onAfterSetOptions(e) {
1175
+ var options = this.options,
1176
+ userOptions = e.userOptions,
1177
+ gridOptions = ((options && isObject(options.grid)) ? options.grid : {});
1178
+ var gridAxisOptions;
1179
+ if (gridOptions.enabled === true) {
1180
+ // Merge the user options into default grid axis options so
1181
+ // that when a user option is set, it takes presedence.
1182
+ gridAxisOptions = merge(true, {
1183
+ className: ('highcharts-grid-axis ' + (userOptions.className || '')),
1184
+ dateTimeLabelFormats: {
1185
+ hour: {
1186
+ list: ['%H:%M', '%H']
1187
+ },
1188
+ day: {
1189
+ list: ['%A, %e. %B', '%a, %e. %b', '%E']
1190
+ },
1191
+ week: {
1192
+ list: ['Week %W', 'W%W']
1193
+ },
1194
+ month: {
1195
+ list: ['%B', '%b', '%o']
1196
+ }
1197
+ },
1198
+ grid: {
1199
+ borderWidth: 1
1200
+ },
1201
+ labels: {
1202
+ padding: 2,
1203
+ style: {
1204
+ fontSize: '13px'
1205
+ }
1206
+ },
1207
+ margin: 0,
1208
+ title: {
1209
+ text: null,
1210
+ reserveSpace: false,
1211
+ rotation: 0
1212
+ },
1213
+ // In a grid axis, only allow one unit of certain types,
1214
+ // for example we shouln't have one grid cell spanning
1215
+ // two days.
1216
+ units: [[
1217
+ 'millisecond',
1218
+ [1, 10, 100]
1219
+ ], [
1220
+ 'second',
1221
+ [1, 10]
1222
+ ], [
1223
+ 'minute',
1224
+ [1, 5, 15]
1225
+ ], [
1226
+ 'hour',
1227
+ [1, 6]
1228
+ ], [
1229
+ 'day',
1230
+ [1]
1231
+ ], [
1232
+ 'week',
1233
+ [1]
1234
+ ], [
1235
+ 'month',
1236
+ [1]
1237
+ ], [
1238
+ 'year',
1239
+ null
1240
+ ]]
1241
+ }, userOptions);
1242
+ // X-axis specific options
1243
+ if (this.coll === 'xAxis') {
1244
+ // For linked axes, tickPixelInterval is used only if
1245
+ // the tickPositioner below doesn't run or returns
1246
+ // undefined (like multiple years)
1247
+ if (defined(userOptions.linkedTo) &&
1248
+ !defined(userOptions.tickPixelInterval)) {
1249
+ gridAxisOptions.tickPixelInterval = 350;
1250
+ }
1251
+ // For the secondary grid axis, use the primary axis'
1252
+ // tick intervals and return ticks one level higher.
1253
+ if (
1254
+ // Check for tick pixel interval in options
1255
+ !defined(userOptions.tickPixelInterval) &&
1256
+ // Only for linked axes
1257
+ defined(userOptions.linkedTo) &&
1258
+ !defined(userOptions.tickPositioner) &&
1259
+ !defined(userOptions.tickInterval)) {
1260
+ gridAxisOptions.tickPositioner = function (min, max) {
1261
+ var parentInfo = (this.linkedParent &&
1262
+ this.linkedParent.tickPositions &&
1263
+ this.linkedParent.tickPositions.info);
1264
+ if (parentInfo) {
1265
+ var units = (gridAxisOptions.units || []);
1266
+ var unitIdx = void 0,
1267
+ count = void 0,
1268
+ unitName = void 0;
1269
+ for (var i = 0; i < units.length; i++) {
1270
+ if (units[i][0] ===
1271
+ parentInfo.unitName) {
1272
+ unitIdx = i;
1273
+ break;
1274
+ }
1275
+ }
1276
+ // Get the first allowed count on the next
1277
+ // unit.
1278
+ if (units[unitIdx + 1]) {
1279
+ unitName = units[unitIdx + 1][0];
1280
+ count =
1281
+ (units[unitIdx + 1][1] || [1])[0];
1282
+ // In case the base X axis shows years, make
1283
+ // the secondary axis show ten times the
1284
+ // years (#11427)
1285
+ }
1286
+ else if (parentInfo.unitName === 'year') {
1287
+ unitName = 'year';
1288
+ count = parentInfo.count * 10;
1289
+ }
1290
+ var unitRange = timeUnits[unitName];
1291
+ this.tickInterval = unitRange * count;
1292
+ return this.getTimeTicks({
1293
+ unitRange: unitRange,
1294
+ count: count,
1295
+ unitName: unitName
1296
+ }, min, max, this.options.startOfWeek);
1297
+ }
1298
+ };
1299
+ }
1300
+ }
1301
+ // Now merge the combined options into the axis options
1302
+ merge(true, this.options, gridAxisOptions);
1303
+ if (this.horiz) {
1304
+ /* _________________________
1305
+ Make this: ___|_____|_____|_____|__|
1306
+ ^ ^
1307
+ _________________________
1308
+ Into this: |_____|_____|_____|_____|
1309
+ ^ ^ */
1310
+ options.minPadding = pick(userOptions.minPadding, 0);
1311
+ options.maxPadding = pick(userOptions.maxPadding, 0);
1312
+ }
1313
+ // If borderWidth is set, then use its value for tick and
1314
+ // line width.
1315
+ if (isNumber(options.grid.borderWidth)) {
1316
+ options.tickWidth = options.lineWidth =
1317
+ gridOptions.borderWidth;
1318
+ }
1319
+ }
1320
+ }
1321
+ /**
1322
+ * @private
1323
+ */
1324
+ function onAfterSetOptions2(e) {
1325
+ var axis = this;
1326
+ var userOptions = e.userOptions;
1327
+ var gridOptions = userOptions && userOptions.grid || {};
1328
+ var columns = gridOptions.columns;
1329
+ // Add column options to the parent axis. Children has their column
1330
+ // options set on init in onGridAxisAfterInit.
1331
+ if (gridOptions.enabled && columns) {
1332
+ merge(true, axis.options, columns[columns.length - 1]);
1333
+ }
1334
+ }
1335
+ /**
1336
+ * Handle columns and setScale.
1337
+ * @private
1338
+ */
1339
+ function onAfterSetScale() {
1340
+ var axis = this;
1341
+ (axis.grid.columns || []).forEach(function (column) {
1342
+ column.setScale();
1343
+ });
1344
+ }
1345
+ /**
1346
+ * Draw vertical axis ticks extra long to create cell floors and roofs.
1347
+ * Overrides the tickLength for vertical axes.
1348
+ * @private
1349
+ */
1350
+ function onAfterTickSize(e) {
1351
+ var defaultLeftAxisOptions = AxisDefaults.defaultLeftAxisOptions;
1352
+ var _a = this,
1353
+ horiz = _a.horiz,
1354
+ maxLabelDimensions = _a.maxLabelDimensions,
1355
+ _b = _a.options.grid,
1356
+ gridOptions = _b === void 0 ? {} : _b;
1357
+ if (gridOptions.enabled && maxLabelDimensions) {
1358
+ var labelPadding = (Math.abs(defaultLeftAxisOptions.labels.x) * 2);
1359
+ var distance = horiz ?
1360
+ (gridOptions.cellHeight ||
1361
+ labelPadding + maxLabelDimensions.height) :
1362
+ labelPadding + maxLabelDimensions.width;
1363
+ if (isArray(e.tickSize)) {
1364
+ e.tickSize[0] = distance;
1365
+ }
1366
+ else {
1367
+ e.tickSize = [distance, 0];
1368
+ }
1369
+ }
1370
+ }
1371
+ /**
1372
+ * @private
1373
+ */
1374
+ function onChartAfterSetChartSize() {
1375
+ this.axes.forEach(function (axis) {
1376
+ (axis.grid && axis.grid.columns || []).forEach(function (column) {
1377
+ column.setAxisSize();
1378
+ column.setAxisTranslation();
1379
+ });
1380
+ });
1381
+ }
1382
+ /**
1383
+ * @private
1384
+ */
1385
+ function onDestroy(e) {
1386
+ var grid = this.grid;
1387
+ (grid.columns || []).forEach(function (column) {
1388
+ column.destroy(e.keepEvents);
1389
+ });
1390
+ grid.columns = void 0;
1391
+ }
1392
+ /**
1393
+ * Wraps axis init to draw cell walls on vertical axes.
1394
+ * @private
1395
+ */
1396
+ function onInit(e) {
1397
+ var axis = this;
1398
+ var userOptions = e.userOptions || {};
1399
+ var gridOptions = userOptions.grid || {};
1400
+ if (gridOptions.enabled && defined(gridOptions.borderColor)) {
1401
+ userOptions.tickColor = userOptions.lineColor = (gridOptions.borderColor);
1402
+ }
1403
+ if (!axis.grid) {
1404
+ axis.grid = new Additions(axis);
1405
+ }
1406
+ axis.hiddenLabels = [];
1407
+ }
1408
+ /**
1409
+ * Center tick labels in cells.
1410
+ * @private
1411
+ */
1412
+ function onTickAfterGetLabelPosition(e) {
1413
+ var tick = this,
1414
+ label = tick.label,
1415
+ axis = tick.axis,
1416
+ reversed = axis.reversed,
1417
+ chart = axis.chart,
1418
+ options = axis.options,
1419
+ gridOptions = options.grid || {},
1420
+ labelOpts = axis.options.labels,
1421
+ align = labelOpts.align,
1422
+ // verticalAlign is currently not supported for axis.labels.
1423
+ verticalAlign = 'middle', // labelOpts.verticalAlign,
1424
+ side = GridAxis.Side[axis.side],
1425
+ tickmarkOffset = e.tickmarkOffset,
1426
+ tickPositions = axis.tickPositions,
1427
+ tickPos = tick.pos - tickmarkOffset,
1428
+ nextTickPos = (isNumber(tickPositions[e.index + 1]) ?
1429
+ tickPositions[e.index + 1] - tickmarkOffset :
1430
+ (axis.max || 0) + tickmarkOffset),
1431
+ tickSize = axis.tickSize('tick'),
1432
+ tickWidth = tickSize ? tickSize[0] : 0,
1433
+ crispCorr = tickSize ? tickSize[1] / 2 : 0;
1434
+ var labelHeight,
1435
+ lblMetrics,
1436
+ lines,
1437
+ bottom,
1438
+ top,
1439
+ left,
1440
+ right;
1441
+ // Only center tick labels in grid axes
1442
+ if (gridOptions.enabled === true) {
1443
+ // Calculate top and bottom positions of the cell.
1444
+ if (side === 'top') {
1445
+ bottom = axis.top + axis.offset;
1446
+ top = bottom - tickWidth;
1447
+ }
1448
+ else if (side === 'bottom') {
1449
+ top = chart.chartHeight - axis.bottom + axis.offset;
1450
+ bottom = top + tickWidth;
1451
+ }
1452
+ else {
1453
+ bottom = axis.top + axis.len - (axis.translate(reversed ? nextTickPos : tickPos) || 0);
1454
+ top = axis.top + axis.len - (axis.translate(reversed ? tickPos : nextTickPos) || 0);
1455
+ }
1456
+ // Calculate left and right positions of the cell.
1457
+ if (side === 'right') {
1458
+ left = chart.chartWidth - axis.right + axis.offset;
1459
+ right = left + tickWidth;
1460
+ }
1461
+ else if (side === 'left') {
1462
+ right = axis.left + axis.offset;
1463
+ left = right - tickWidth;
1464
+ }
1465
+ else {
1466
+ left = Math.round(axis.left + (axis.translate(reversed ? nextTickPos : tickPos) || 0)) - crispCorr;
1467
+ right = Math.min(// #15742
1468
+ Math.round(axis.left + (axis.translate(reversed ? tickPos : nextTickPos) || 0)) - crispCorr, axis.left + axis.len);
1469
+ }
1470
+ tick.slotWidth = right - left;
1471
+ // Calculate the positioning of the label based on
1472
+ // alignment.
1473
+ e.pos.x = (align === 'left' ?
1474
+ left :
1475
+ align === 'right' ?
1476
+ right :
1477
+ left + ((right - left) / 2) // default to center
1478
+ );
1479
+ e.pos.y = (verticalAlign === 'top' ?
1480
+ top :
1481
+ verticalAlign === 'bottom' ?
1482
+ bottom :
1483
+ top + ((bottom - top) / 2) // default to middle
1484
+ );
1485
+ lblMetrics = chart.renderer.fontMetrics(labelOpts.style.fontSize, label && label.element);
1486
+ labelHeight = label ? label.getBBox().height : 0;
1487
+ // Adjustment to y position to align the label correctly.
1488
+ // Would be better to have a setter or similar for this.
1489
+ if (!labelOpts.useHTML) {
1490
+ lines = Math.round(labelHeight / lblMetrics.h);
1491
+ e.pos.y += (
1492
+ // Center the label
1493
+ // TODO: why does this actually center the label?
1494
+ ((lblMetrics.b - (lblMetrics.h - lblMetrics.f)) / 2) +
1495
+ // Adjust for height of additional lines.
1496
+ -(((lines - 1) * lblMetrics.h) / 2));
1497
+ }
1498
+ else {
1499
+ e.pos.y += (
1500
+ // Readjust yCorr in htmlUpdateTransform
1501
+ lblMetrics.b +
1502
+ // Adjust for height of html label
1503
+ -(labelHeight / 2));
1504
+ }
1505
+ e.pos.x += (axis.horiz && labelOpts.x) || 0;
1506
+ }
1507
+ }
1508
+ /**
1509
+ * @private
1510
+ */
1511
+ function onTickLabelFormat(ctx) {
1512
+ var axis = ctx.axis,
1513
+ value = ctx.value;
1514
+ if (axis.options.grid &&
1515
+ axis.options.grid.enabled) {
1516
+ var tickPos = axis.tickPositions;
1517
+ var series = (axis.linkedParent || axis).series[0];
1518
+ var isFirst = value === tickPos[0];
1519
+ var isLast = value === tickPos[tickPos.length - 1];
1520
+ var point = series && find(series.options.data,
1521
+ function (p) {
1522
+ return p[axis.isXAxis ? 'x' : 'y'] === value;
1523
+ });
1524
+ var pointCopy = void 0;
1525
+ if (point && series.is('gantt')) {
1526
+ // For the Gantt set point aliases to the pointCopy
1527
+ // to do not change the original point
1528
+ pointCopy = merge(point);
1529
+ H.seriesTypes.gantt.prototype.pointClass
1530
+ .setGanttPointAliases(pointCopy);
1531
+ }
1532
+ // Make additional properties available for the
1533
+ // formatter
1534
+ ctx.isFirst = isFirst;
1535
+ ctx.isLast = isLast;
1536
+ ctx.point = pointCopy;
1537
+ }
1538
+ }
1539
+ /**
1540
+ * Makes tick labels which are usually ignored in a linked axis
1541
+ * displayed if they are within range of linkedParent.min.
1542
+ * ```
1543
+ * _____________________________
1544
+ * | | | | |
1545
+ * Make this: | | 2 | 3 | 4 |
1546
+ * |___|_______|_______|_______|
1547
+ * ^
1548
+ * _____________________________
1549
+ * | | | | |
1550
+ * Into this: | 1 | 2 | 3 | 4 |
1551
+ * |___|_______|_______|_______|
1552
+ * ^
1553
+ * ```
1554
+ * @private
1555
+ * @todo Does this function do what the drawing says? Seems to affect
1556
+ * ticks and not the labels directly?
1557
+ */
1558
+ function onTrimTicks() {
1559
+ var axis = this;
1560
+ var options = axis.options;
1561
+ var gridOptions = options.grid || {};
1562
+ var categoryAxis = axis.categories;
1563
+ var tickPositions = axis.tickPositions;
1564
+ var firstPos = tickPositions[0];
1565
+ var lastPos = tickPositions[tickPositions.length - 1];
1566
+ var linkedMin = axis.linkedParent && axis.linkedParent.min;
1567
+ var linkedMax = axis.linkedParent && axis.linkedParent.max;
1568
+ var min = linkedMin || axis.min;
1569
+ var max = linkedMax || axis.max;
1570
+ var tickInterval = axis.tickInterval;
1571
+ var endMoreThanMin = (firstPos < min &&
1572
+ firstPos + tickInterval > min);
1573
+ var startLessThanMax = (lastPos > max &&
1574
+ lastPos - tickInterval < max);
1575
+ if (gridOptions.enabled === true &&
1576
+ !categoryAxis &&
1577
+ (axis.horiz || axis.isLinked)) {
1578
+ if (endMoreThanMin && !options.startOnTick) {
1579
+ tickPositions[0] = min;
1580
+ }
1581
+ if (startLessThanMax && !options.endOnTick) {
1582
+ tickPositions[tickPositions.length - 1] = max;
1583
+ }
1584
+ }
1585
+ }
1586
+ /**
1587
+ * Avoid altering tickInterval when reserving space.
1588
+ * @private
1589
+ */
1590
+ function wrapUnsquish(proceed) {
1591
+ var axis = this;
1592
+ var _a = axis.options.grid,
1593
+ gridOptions = _a === void 0 ? {} : _a;
1594
+ if (gridOptions.enabled === true && axis.categories) {
1595
+ return axis.tickInterval;
1596
+ }
1597
+ return proceed.apply(axis, argsToArray(arguments));
1598
+ }
1599
+ /* *
1600
+ *
1601
+ * Class
1602
+ *
1603
+ * */
1604
+ /**
1605
+ * Additions for grid axes.
1606
+ * @private
1607
+ * @class
1608
+ */
1609
+ var Additions = /** @class */ (function () {
1610
+ /* *
1611
+ *
1612
+ * Constructors
1613
+ *
1614
+ * */
1615
+ function Additions(axis) {
1616
+ this.axis = axis;
1617
+ }
1618
+ /* *
1619
+ *
1620
+ * Functions
1621
+ *
1622
+ * */
1623
+ /**
1624
+ * Checks if an axis is the outer axis in its dimension. Since
1625
+ * axes are placed outwards in order, the axis with the highest
1626
+ * index is the outermost axis.
1627
+ *
1628
+ * Example: If there are multiple x-axes at the top of the chart,
1629
+ * this function returns true if the axis supplied is the last
1630
+ * of the x-axes.
1631
+ *
1632
+ * @private
1633
+ *
1634
+ * @return {boolean}
1635
+ * True if the axis is the outermost axis in its dimension; false if
1636
+ * not.
1637
+ */
1638
+ Additions.prototype.isOuterAxis = function () {
1639
+ var axis = this.axis;
1640
+ var chart = axis.chart;
1641
+ var columnIndex = axis.grid.columnIndex;
1642
+ var columns = (axis.linkedParent && axis.linkedParent.grid.columns ||
1643
+ axis.grid.columns);
1644
+ var parentAxis = columnIndex ? axis.linkedParent : axis;
1645
+ var thisIndex = -1,
1646
+ lastIndex = 0;
1647
+ chart[axis.coll].forEach(function (otherAxis, index) {
1648
+ if (otherAxis.side === axis.side &&
1649
+ !otherAxis.options.isInternal) {
1650
+ lastIndex = index;
1651
+ if (otherAxis === parentAxis) {
1652
+ // Get the index of the axis in question
1653
+ thisIndex = index;
1654
+ }
1655
+ }
1656
+ });
1657
+ return (lastIndex === thisIndex &&
1658
+ (isNumber(columnIndex) ?
1659
+ columns.length === columnIndex :
1660
+ true));
1661
+ };
1662
+ /**
1663
+ * Add extra border based on the provided path.
1664
+ * @private
1665
+ * @param {SVGPath} path
1666
+ * The path of the border.
1667
+ * @return {Highcharts.SVGElement}
1668
+ * Border
1669
+ */
1670
+ Additions.prototype.renderBorder = function (path) {
1671
+ var axis = this.axis,
1672
+ renderer = axis.chart.renderer,
1673
+ options = axis.options,
1674
+ extraBorderLine = renderer.path(path)
1675
+ .addClass('highcharts-axis-line')
1676
+ .add(axis.axisBorder);
1677
+ if (!renderer.styledMode) {
1678
+ extraBorderLine.attr({
1679
+ stroke: options.lineColor,
1680
+ 'stroke-width': options.lineWidth,
1681
+ zIndex: 7
1682
+ });
1683
+ }
1684
+ return extraBorderLine;
1685
+ };
1686
+ return Additions;
1687
+ }());
1688
+ GridAxis.Additions = Additions;
1689
+ })(GridAxis || (GridAxis = {}));
1690
+ /* *
1691
+ *
1692
+ * Registry
1693
+ *
1694
+ * */
1695
+ // First letter of the day of the week, e.g. 'M' for 'Monday'.
1696
+ dateFormats.E = function (timestamp) {
1697
+ return this.dateFormat('%a', timestamp, true).charAt(0);
1698
+ };
1699
+ // Adds week date format
1700
+ dateFormats.W = function (timestamp) {
1701
+ var d = new this.Date(timestamp);
1702
+ var firstDay = (this.get('Day',
1703
+ d) + 6) % 7;
1704
+ var thursday = new this.Date(d.valueOf());
1705
+ this.set('Date', thursday, this.get('Date', d) - firstDay + 3);
1706
+ var firstThursday = new this.Date(this.get('FullYear',
1707
+ thursday), 0, 1);
1708
+ if (this.get('Day', firstThursday) !== 4) {
1709
+ this.set('Month', d, 0);
1710
+ this.set('Date', d, 1 + (11 - this.get('Day', firstThursday)) % 7);
1711
+ }
1712
+ return (1 +
1713
+ Math.floor((thursday.valueOf() - firstThursday.valueOf()) / 604800000)).toString();
1714
+ };
1715
+ /* *
1716
+ *
1717
+ * Default Export
1718
+ *
1719
+ * */
1720
+ /* *
1721
+ *
1722
+ * API Options
1723
+ *
1724
+ * */
1725
+ /**
1726
+ * @productdesc {gantt}
1727
+ * For grid axes (like in Gantt charts),
1728
+ * it is possible to declare as a list to provide different
1729
+ * formats depending on available space.
1730
+ *
1731
+ * Defaults to:
1732
+ * ```js
1733
+ * {
1734
+ * hour: { list: ['%H:%M', '%H'] },
1735
+ * day: { list: ['%A, %e. %B', '%a, %e. %b', '%E'] },
1736
+ * week: { list: ['Week %W', 'W%W'] },
1737
+ * month: { list: ['%B', '%b', '%o'] }
1738
+ * }
1739
+ * ```
1740
+ *
1741
+ * @sample {gantt} gantt/grid-axis/date-time-label-formats
1742
+ * Gantt chart with custom axis date format.
1743
+ *
1744
+ * @apioption xAxis.dateTimeLabelFormats
1745
+ */
1746
+ /**
1747
+ * Set grid options for the axis labels. Requires Highcharts Gantt.
1748
+ *
1749
+ * @since 6.2.0
1750
+ * @product gantt
1751
+ * @apioption xAxis.grid
1752
+ */
1753
+ /**
1754
+ * Enable grid on the axis labels. Defaults to true for Gantt charts.
1755
+ *
1756
+ * @type {boolean}
1757
+ * @default true
1758
+ * @since 6.2.0
1759
+ * @product gantt
1760
+ * @apioption xAxis.grid.enabled
1761
+ */
1762
+ /**
1763
+ * Set specific options for each column (or row for horizontal axes) in the
1764
+ * grid. Each extra column/row is its own axis, and the axis options can be set
1765
+ * here.
1766
+ *
1767
+ * @sample gantt/demo/left-axis-table
1768
+ * Left axis as a table
1769
+ *
1770
+ * @type {Array<Highcharts.XAxisOptions>}
1771
+ * @apioption xAxis.grid.columns
1772
+ */
1773
+ /**
1774
+ * Set border color for the label grid lines.
1775
+ *
1776
+ * @type {Highcharts.ColorString}
1777
+ * @apioption xAxis.grid.borderColor
1778
+ */
1779
+ /**
1780
+ * Set border width of the label grid lines.
1781
+ *
1782
+ * @type {number}
1783
+ * @default 1
1784
+ * @apioption xAxis.grid.borderWidth
1785
+ */
1786
+ /**
1787
+ * Set cell height for grid axis labels. By default this is calculated from font
1788
+ * size. This option only applies to horizontal axes.
1789
+ *
1790
+ * @sample gantt/grid-axis/cellheight
1791
+ * Gant chart with custom cell height
1792
+ * @type {number}
1793
+ * @apioption xAxis.grid.cellHeight
1794
+ */
1795
+ ''; // keeps doclets above in JS file
1796
+
1797
+ return GridAxis;
1798
+ });
1799
+ _registerModule(_modules, 'Gantt/Tree.js', [_modules['Core/Utilities.js']], function (U) {
1800
+ /* *
1801
+ *
1802
+ * (c) 2016-2021 Highsoft AS
1803
+ *
1804
+ * Authors: Jon Arild Nygard
1805
+ *
1806
+ * License: www.highcharts.com/license
1807
+ *
1808
+ * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
1809
+ *
1810
+ * */
1811
+ /* eslint no-console: 0 */
1812
+ var extend = U.extend,
1813
+ isNumber = U.isNumber,
1814
+ pick = U.pick;
1815
+ /**
1816
+ * Creates an object map from parent id to childrens index.
1817
+ *
1818
+ * @private
1819
+ * @function Highcharts.Tree#getListOfParents
1820
+ *
1821
+ * @param {Array<*>} data
1822
+ * List of points set in options. `Array.parent` is parent id of point.
1823
+ *
1824
+ * @param {Array<string>} ids
1825
+ * List of all point ids.
1826
+ *
1827
+ * @return {Highcharts.Dictionary<Array<*>>}
1828
+ * Map from parent id to children index in data
1829
+ */
1830
+ var getListOfParents = function (data,
1831
+ ids) {
1832
+ var listOfParents = data.reduce(function (prev,
1833
+ curr) {
1834
+ var parent = pick(curr.parent, '');
1835
+ if (typeof prev[parent] === 'undefined') {
1836
+ prev[parent] = [];
1837
+ }
1838
+ prev[parent].push(curr);
1839
+ return prev;
1840
+ }, {}), parents = Object.keys(listOfParents);
1841
+ // If parent does not exist, hoist parent to root of tree.
1842
+ parents.forEach(function (parent, list) {
1843
+ var children = listOfParents[parent];
1844
+ if ((parent !== '') && (ids.indexOf(parent) === -1)) {
1845
+ children.forEach(function (child) {
1846
+ list[''].push(child);
1847
+ });
1848
+ delete list[parent];
1849
+ }
1850
+ });
1851
+ return listOfParents;
1852
+ };
1853
+ var getNode = function (id,
1854
+ parent,
1855
+ level,
1856
+ data,
1857
+ mapOfIdToChildren,
1858
+ options) {
1859
+ var descendants = 0,
1860
+ height = 0,
1861
+ after = options && options.after,
1862
+ before = options && options.before,
1863
+ node = {
1864
+ data: data,
1865
+ depth: level - 1,
1866
+ id: id,
1867
+ level: level,
1868
+ parent: parent
1869
+ },
1870
+ start,
1871
+ end,
1872
+ children;
1873
+ // Allow custom logic before the children has been created.
1874
+ if (typeof before === 'function') {
1875
+ before(node, options);
1876
+ }
1877
+ // Call getNode recursively on the children. Calulate the height of the
1878
+ // node, and the number of descendants.
1879
+ children = ((mapOfIdToChildren[id] || [])).map(function (child) {
1880
+ var node = getNode(child.id,
1881
+ id, (level + 1),
1882
+ child,
1883
+ mapOfIdToChildren,
1884
+ options),
1885
+ childStart = child.start,
1886
+ childEnd = (child.milestone === true ?
1887
+ childStart :
1888
+ child.end);
1889
+ // Start should be the lowest child.start.
1890
+ start = ((!isNumber(start) || childStart < start) ?
1891
+ childStart :
1892
+ start);
1893
+ // End should be the largest child.end.
1894
+ // If child is milestone, then use start as end.
1895
+ end = ((!isNumber(end) || childEnd > end) ?
1896
+ childEnd :
1897
+ end);
1898
+ descendants = descendants + 1 + node.descendants;
1899
+ height = Math.max(node.height + 1, height);
1900
+ return node;
1901
+ });
1902
+ // Calculate start and end for point if it is not already explicitly set.
1903
+ if (data) {
1904
+ data.start = pick(data.start, start);
1905
+ data.end = pick(data.end, end);
1906
+ }
1907
+ extend(node, {
1908
+ children: children,
1909
+ descendants: descendants,
1910
+ height: height
1911
+ });
1912
+ // Allow custom logic after the children has been created.
1913
+ if (typeof after === 'function') {
1914
+ after(node, options);
1915
+ }
1916
+ return node;
1917
+ };
1918
+ var getTree = function (data,
1919
+ options) {
1920
+ var ids = data.map(function (d) {
1921
+ return d.id;
1922
+ }), mapOfIdToChildren = getListOfParents(data, ids);
1923
+ return getNode('', null, 1, null, mapOfIdToChildren, options);
1924
+ };
1925
+ var Tree = {
1926
+ getListOfParents: getListOfParents,
1927
+ getNode: getNode,
1928
+ getTree: getTree
1929
+ };
1930
+
1931
+ return Tree;
1932
+ });
1933
+ _registerModule(_modules, 'Core/Axis/TreeGridTick.js', [_modules['Core/Utilities.js']], function (U) {
1934
+ /* *
1935
+ *
1936
+ * (c) 2016 Highsoft AS
1937
+ * Authors: Jon Arild Nygard
1938
+ *
1939
+ * License: www.highcharts.com/license
1940
+ *
1941
+ * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
1942
+ *
1943
+ * */
1944
+ var addEvent = U.addEvent,
1945
+ isObject = U.isObject,
1946
+ isNumber = U.isNumber,
1947
+ pick = U.pick,
1948
+ wrap = U.wrap;
1949
+ /* eslint-disable no-invalid-this, valid-jsdoc */
1950
+ /**
1951
+ * @private
1952
+ */
1953
+ var TreeGridTick;
1954
+ (function (TreeGridTick) {
1955
+ /* *
1956
+ *
1957
+ * Interfaces
1958
+ *
1959
+ * */
1960
+ /* *
1961
+ *
1962
+ * Variables
1963
+ *
1964
+ * */
1965
+ var applied = false;
1966
+ /* *
1967
+ *
1968
+ * Functions
1969
+ *
1970
+ * */
1971
+ /**
1972
+ * @private
1973
+ */
1974
+ function compose(TickClass) {
1975
+ if (!applied) {
1976
+ addEvent(TickClass, 'init', onInit);
1977
+ wrap(TickClass.prototype, 'getLabelPosition', wrapGetLabelPosition);
1978
+ wrap(TickClass.prototype, 'renderLabel', wrapRenderLabel);
1979
+ // backwards compatibility
1980
+ TickClass.prototype.collapse = function (redraw) {
1981
+ this.treeGrid.collapse(redraw);
1982
+ };
1983
+ TickClass.prototype.expand = function (redraw) {
1984
+ this.treeGrid.expand(redraw);
1985
+ };
1986
+ TickClass.prototype.toggleCollapse = function (redraw) {
1987
+ this.treeGrid.toggleCollapse(redraw);
1988
+ };
1989
+ applied = true;
1990
+ }
1991
+ }
1992
+ TreeGridTick.compose = compose;
1993
+ /**
1994
+ * @private
1995
+ */
1996
+ function onInit() {
1997
+ var tick = this;
1998
+ if (!tick.treeGrid) {
1999
+ tick.treeGrid = new Additions(tick);
2000
+ }
2001
+ }
2002
+ /**
2003
+ * @private
2004
+ */
2005
+ function onTickHover(label) {
2006
+ label.addClass('highcharts-treegrid-node-active');
2007
+ if (!label.renderer.styledMode) {
2008
+ label.css({
2009
+ textDecoration: 'underline'
2010
+ });
2011
+ }
2012
+ }
2013
+ /**
2014
+ * @private
2015
+ */
2016
+ function onTickHoverExit(label, options) {
2017
+ var css = isObject(options.style) ? options.style : {};
2018
+ label.removeClass('highcharts-treegrid-node-active');
2019
+ if (!label.renderer.styledMode) {
2020
+ label.css({ textDecoration: css.textDecoration });
2021
+ }
2022
+ }
2023
+ /**
2024
+ * @private
2025
+ */
2026
+ function renderLabelIcon(tick, params) {
2027
+ var treeGrid = tick.treeGrid,
2028
+ isNew = !treeGrid.labelIcon,
2029
+ renderer = params.renderer,
2030
+ labelBox = params.xy,
2031
+ options = params.options,
2032
+ width = options.width || 0,
2033
+ height = options.height || 0,
2034
+ iconCenter = {
2035
+ x: labelBox.x - (width / 2) - (options.padding || 0),
2036
+ y: labelBox.y - (height / 2)
2037
+ },
2038
+ rotation = params.collapsed ? 90 : 180,
2039
+ shouldRender = params.show && isNumber(iconCenter.y);
2040
+ var icon = treeGrid.labelIcon;
2041
+ if (!icon) {
2042
+ treeGrid.labelIcon = icon = renderer
2043
+ .path(renderer.symbols[options.type](options.x || 0, options.y || 0, width, height))
2044
+ .addClass('highcharts-label-icon')
2045
+ .add(params.group);
2046
+ }
2047
+ // Set the new position, and show or hide
2048
+ icon.attr({ y: shouldRender ? 0 : -9999 }); // #14904, #1338
2049
+ // Presentational attributes
2050
+ if (!renderer.styledMode) {
2051
+ icon
2052
+ .attr({
2053
+ cursor: 'pointer',
2054
+ 'fill': pick(params.color, "#666666" /* neutralColor60 */),
2055
+ 'stroke-width': 1,
2056
+ stroke: options.lineColor,
2057
+ strokeWidth: options.lineWidth || 0
2058
+ });
2059
+ }
2060
+ // Update the icon positions
2061
+ icon[isNew ? 'attr' : 'animate']({
2062
+ translateX: iconCenter.x,
2063
+ translateY: iconCenter.y,
2064
+ rotation: rotation
2065
+ });
2066
+ }
2067
+ /**
2068
+ * @private
2069
+ */
2070
+ function wrapGetLabelPosition(proceed, x, y, label, horiz, labelOptions, tickmarkOffset, index, step) {
2071
+ var tick = this,
2072
+ lbOptions = pick(tick.options && tick.options.labels,
2073
+ labelOptions),
2074
+ pos = tick.pos,
2075
+ axis = tick.axis,
2076
+ options = axis.options,
2077
+ isTreeGrid = options.type === 'treegrid',
2078
+ result = proceed.apply(tick,
2079
+ [x,
2080
+ y,
2081
+ label,
2082
+ horiz,
2083
+ lbOptions,
2084
+ tickmarkOffset,
2085
+ index,
2086
+ step]);
2087
+ var symbolOptions,
2088
+ indentation,
2089
+ mapOfPosToGridNode,
2090
+ node,
2091
+ level;
2092
+ if (isTreeGrid) {
2093
+ symbolOptions = (lbOptions && isObject(lbOptions.symbol, true) ?
2094
+ lbOptions.symbol :
2095
+ {});
2096
+ indentation = (lbOptions && isNumber(lbOptions.indentation) ?
2097
+ lbOptions.indentation :
2098
+ 0);
2099
+ mapOfPosToGridNode = axis.treeGrid.mapOfPosToGridNode;
2100
+ node = mapOfPosToGridNode && mapOfPosToGridNode[pos];
2101
+ level = (node && node.depth) || 1;
2102
+ result.x += (
2103
+ // Add space for symbols
2104
+ ((symbolOptions.width || 0) +
2105
+ ((symbolOptions.padding || 0) * 2)) +
2106
+ // Apply indentation
2107
+ ((level - 1) * indentation));
2108
+ }
2109
+ return result;
2110
+ }
2111
+ /**
2112
+ * @private
2113
+ */
2114
+ function wrapRenderLabel(proceed) {
2115
+ var tick = this, pos = tick.pos, axis = tick.axis, label = tick.label, mapOfPosToGridNode = axis.treeGrid.mapOfPosToGridNode, options = axis.options, labelOptions = pick(tick.options && tick.options.labels, options && options.labels), symbolOptions = (labelOptions && isObject(labelOptions.symbol, true) ?
2116
+ labelOptions.symbol :
2117
+ {}), node = mapOfPosToGridNode && mapOfPosToGridNode[pos], level = node && node.depth, isTreeGrid = options.type === 'treegrid', shouldRender = axis.tickPositions.indexOf(pos) > -1, prefixClassName = 'highcharts-treegrid-node-', styledMode = axis.chart.styledMode;
2118
+ var collapsed,
2119
+ addClassName,
2120
+ removeClassName;
2121
+ if (isTreeGrid && node) {
2122
+ // Add class name for hierarchical styling.
2123
+ if (label &&
2124
+ label.element) {
2125
+ label.addClass(prefixClassName + 'level-' + level);
2126
+ }
2127
+ }
2128
+ proceed.apply(tick, Array.prototype.slice.call(arguments, 1));
2129
+ if (isTreeGrid &&
2130
+ label &&
2131
+ label.element &&
2132
+ node &&
2133
+ node.descendants &&
2134
+ node.descendants > 0) {
2135
+ collapsed = axis.treeGrid.isCollapsed(node);
2136
+ renderLabelIcon(tick, {
2137
+ color: (!styledMode &&
2138
+ label.styles &&
2139
+ label.styles.color ||
2140
+ ''),
2141
+ collapsed: collapsed,
2142
+ group: label.parentGroup,
2143
+ options: symbolOptions,
2144
+ renderer: label.renderer,
2145
+ show: shouldRender,
2146
+ xy: label.xy
2147
+ });
2148
+ // Add class name for the node.
2149
+ addClassName = prefixClassName +
2150
+ (collapsed ? 'collapsed' : 'expanded');
2151
+ removeClassName = prefixClassName +
2152
+ (collapsed ? 'expanded' : 'collapsed');
2153
+ label
2154
+ .addClass(addClassName)
2155
+ .removeClass(removeClassName);
2156
+ if (!styledMode) {
2157
+ label.css({
2158
+ cursor: 'pointer'
2159
+ });
2160
+ }
2161
+ // Add events to both label text and icon
2162
+ [label, tick.treeGrid.labelIcon].forEach(function (object) {
2163
+ if (object && !object.attachedTreeGridEvents) {
2164
+ // On hover
2165
+ addEvent(object.element, 'mouseover', function () {
2166
+ onTickHover(label);
2167
+ });
2168
+ // On hover out
2169
+ addEvent(object.element, 'mouseout', function () {
2170
+ onTickHoverExit(label, labelOptions);
2171
+ });
2172
+ addEvent(object.element, 'click', function () {
2173
+ tick.treeGrid.toggleCollapse();
2174
+ });
2175
+ object.attachedTreeGridEvents = true;
2176
+ }
2177
+ });
2178
+ }
2179
+ }
2180
+ /* *
2181
+ *
2182
+ * Classes
2183
+ *
2184
+ * */
2185
+ /**
2186
+ * @private
2187
+ * @class
2188
+ */
2189
+ var Additions = /** @class */ (function () {
2190
+ /* *
2191
+ *
2192
+ * Constructors
2193
+ *
2194
+ * */
2195
+ /**
2196
+ * @private
2197
+ */
2198
+ function Additions(tick) {
2199
+ this.tick = tick;
2200
+ }
2201
+ /* *
2202
+ *
2203
+ * Functions
2204
+ *
2205
+ * */
2206
+ /**
2207
+ * Collapse the grid cell. Used when axis is of type treegrid.
2208
+ *
2209
+ * @see gantt/treegrid-axis/collapsed-dynamically/demo.js
2210
+ *
2211
+ * @private
2212
+ * @function Highcharts.Tick#collapse
2213
+ *
2214
+ * @param {boolean} [redraw=true]
2215
+ * Whether to redraw the chart or wait for an explicit call to
2216
+ * {@link Highcharts.Chart#redraw}
2217
+ */
2218
+ Additions.prototype.collapse = function (redraw) {
2219
+ var tick = this.tick,
2220
+ axis = tick.axis,
2221
+ brokenAxis = axis.brokenAxis;
2222
+ if (brokenAxis &&
2223
+ axis.treeGrid.mapOfPosToGridNode) {
2224
+ var pos = tick.pos,
2225
+ node = axis.treeGrid.mapOfPosToGridNode[pos],
2226
+ breaks = axis.treeGrid.collapse(node);
2227
+ brokenAxis.setBreaks(breaks, pick(redraw, true));
2228
+ }
2229
+ };
2230
+ /**
2231
+ * Expand the grid cell. Used when axis is of type treegrid.
2232
+ *
2233
+ * @see gantt/treegrid-axis/collapsed-dynamically/demo.js
2234
+ *
2235
+ * @private
2236
+ * @function Highcharts.Tick#expand
2237
+ *
2238
+ * @param {boolean} [redraw=true]
2239
+ * Whether to redraw the chart or wait for an explicit call to
2240
+ * {@link Highcharts.Chart#redraw}
2241
+ */
2242
+ Additions.prototype.expand = function (redraw) {
2243
+ var tick = this.tick,
2244
+ axis = tick.axis,
2245
+ brokenAxis = axis.brokenAxis;
2246
+ if (brokenAxis &&
2247
+ axis.treeGrid.mapOfPosToGridNode) {
2248
+ var pos = tick.pos,
2249
+ node = axis.treeGrid.mapOfPosToGridNode[pos],
2250
+ breaks = axis.treeGrid.expand(node);
2251
+ brokenAxis.setBreaks(breaks, pick(redraw, true));
2252
+ }
2253
+ };
2254
+ /**
2255
+ * Toggle the collapse/expand state of the grid cell. Used when axis is
2256
+ * of type treegrid.
2257
+ *
2258
+ * @see gantt/treegrid-axis/collapsed-dynamically/demo.js
2259
+ *
2260
+ * @private
2261
+ * @function Highcharts.Tick#toggleCollapse
2262
+ *
2263
+ * @param {boolean} [redraw=true]
2264
+ * Whether to redraw the chart or wait for an explicit call to
2265
+ * {@link Highcharts.Chart#redraw}
2266
+ */
2267
+ Additions.prototype.toggleCollapse = function (redraw) {
2268
+ var tick = this.tick,
2269
+ axis = tick.axis,
2270
+ brokenAxis = axis.brokenAxis;
2271
+ if (brokenAxis &&
2272
+ axis.treeGrid.mapOfPosToGridNode) {
2273
+ var pos = tick.pos,
2274
+ node = axis.treeGrid.mapOfPosToGridNode[pos],
2275
+ breaks = axis.treeGrid.toggleCollapse(node);
2276
+ brokenAxis.setBreaks(breaks, pick(redraw, true));
2277
+ }
2278
+ };
2279
+ return Additions;
2280
+ }());
2281
+ TreeGridTick.Additions = Additions;
2282
+ })(TreeGridTick || (TreeGridTick = {}));
2283
+
2284
+ return TreeGridTick;
2285
+ });
2286
+ _registerModule(_modules, 'Series/TreeUtilities.js', [_modules['Core/Color/Color.js'], _modules['Core/Utilities.js']], function (Color, U) {
2287
+ /* *
2288
+ *
2289
+ * (c) 2014-2021 Highsoft AS
2290
+ *
2291
+ * Authors: Jon Arild Nygard / Oystein Moseng
2292
+ *
2293
+ * License: www.highcharts.com/license
2294
+ *
2295
+ * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
2296
+ *
2297
+ * */
2298
+ var extend = U.extend,
2299
+ isArray = U.isArray,
2300
+ isNumber = U.isNumber,
2301
+ isObject = U.isObject,
2302
+ merge = U.merge,
2303
+ pick = U.pick;
2304
+ /* *
2305
+ *
2306
+ * Functions
2307
+ *
2308
+ * */
2309
+ /* eslint-disable valid-jsdoc */
2310
+ /**
2311
+ * @private
2312
+ */
2313
+ function getColor(node, options) {
2314
+ var index = options.index,
2315
+ mapOptionsToLevel = options.mapOptionsToLevel,
2316
+ parentColor = options.parentColor,
2317
+ parentColorIndex = options.parentColorIndex,
2318
+ series = options.series,
2319
+ colors = options.colors,
2320
+ siblings = options.siblings,
2321
+ points = series.points,
2322
+ chartOptionsChart = series.chart.options.chart;
2323
+ var getColorByPoint,
2324
+ point,
2325
+ level,
2326
+ colorByPoint,
2327
+ colorIndexByPoint,
2328
+ color,
2329
+ colorIndex;
2330
+ /**
2331
+ * @private
2332
+ */
2333
+ var variateColor = function (color) {
2334
+ var colorVariation = level && level.colorVariation;
2335
+ if (colorVariation &&
2336
+ colorVariation.key === 'brightness' &&
2337
+ index &&
2338
+ siblings) {
2339
+ return Color.parse(color).brighten(colorVariation.to * (index / siblings)).get();
2340
+ }
2341
+ return color;
2342
+ };
2343
+ if (node) {
2344
+ point = points[node.i];
2345
+ level = mapOptionsToLevel[node.level] || {};
2346
+ getColorByPoint = point && level.colorByPoint;
2347
+ if (getColorByPoint) {
2348
+ colorIndexByPoint = point.index % (colors ?
2349
+ colors.length :
2350
+ chartOptionsChart.colorCount);
2351
+ colorByPoint = colors && colors[colorIndexByPoint];
2352
+ }
2353
+ // Select either point color, level color or inherited color.
2354
+ if (!series.chart.styledMode) {
2355
+ color = pick(point && point.options.color, level && level.color, colorByPoint, parentColor && variateColor(parentColor), series.color);
2356
+ }
2357
+ colorIndex = pick(point && point.options.colorIndex, level && level.colorIndex, colorIndexByPoint, parentColorIndex, options.colorIndex);
2358
+ }
2359
+ return {
2360
+ color: color,
2361
+ colorIndex: colorIndex
2362
+ };
2363
+ }
2364
+ /**
2365
+ * Creates a map from level number to its given options.
2366
+ *
2367
+ * @private
2368
+ *
2369
+ * @param {Object} params
2370
+ * Object containing parameters.
2371
+ * - `defaults` Object containing default options. The default options are
2372
+ * merged with the userOptions to get the final options for a specific
2373
+ * level.
2374
+ * - `from` The lowest level number.
2375
+ * - `levels` User options from series.levels.
2376
+ * - `to` The highest level number.
2377
+ *
2378
+ * @return {Highcharts.Dictionary<object>|null}
2379
+ * Returns a map from level number to its given options.
2380
+ */
2381
+ function getLevelOptions(params) {
2382
+ var result = null,
2383
+ defaults,
2384
+ converted,
2385
+ i,
2386
+ from,
2387
+ to,
2388
+ levels;
2389
+ if (isObject(params)) {
2390
+ result = {};
2391
+ from = isNumber(params.from) ? params.from : 1;
2392
+ levels = params.levels;
2393
+ converted = {};
2394
+ defaults = isObject(params.defaults) ? params.defaults : {};
2395
+ if (isArray(levels)) {
2396
+ converted = levels.reduce(function (obj, item) {
2397
+ var level,
2398
+ levelIsConstant,
2399
+ options;
2400
+ if (isObject(item) && isNumber(item.level)) {
2401
+ options = merge({}, item);
2402
+ levelIsConstant = pick(options.levelIsConstant, defaults.levelIsConstant);
2403
+ // Delete redundant properties.
2404
+ delete options.levelIsConstant;
2405
+ delete options.level;
2406
+ // Calculate which level these options apply to.
2407
+ level = item.level + (levelIsConstant ? 0 : from - 1);
2408
+ if (isObject(obj[level])) {
2409
+ merge(true, obj[level], options); // #16329
2410
+ }
2411
+ else {
2412
+ obj[level] = options;
2413
+ }
2414
+ }
2415
+ return obj;
2416
+ }, {});
2417
+ }
2418
+ to = isNumber(params.to) ? params.to : 1;
2419
+ for (i = 0; i <= to; i++) {
2420
+ result[i] = merge({}, defaults, isObject(converted[i]) ? converted[i] : {});
2421
+ }
2422
+ }
2423
+ return result;
2424
+ }
2425
+ /**
2426
+ * @private
2427
+ * @todo Combine buildTree and buildNode with setTreeValues
2428
+ * @todo Remove logic from Treemap and make it utilize this mixin.
2429
+ */
2430
+ function setTreeValues(tree, options) {
2431
+ var before = options.before,
2432
+ idRoot = options.idRoot,
2433
+ mapIdToNode = options.mapIdToNode,
2434
+ nodeRoot = mapIdToNode[idRoot],
2435
+ levelIsConstant = (options.levelIsConstant !== false),
2436
+ points = options.points,
2437
+ point = points[tree.i],
2438
+ optionsPoint = point && point.options || {},
2439
+ children = [];
2440
+ var childrenTotal = 0;
2441
+ tree.levelDynamic = tree.level - (levelIsConstant ? 0 : nodeRoot.level);
2442
+ tree.name = pick(point && point.name, '');
2443
+ tree.visible = (idRoot === tree.id ||
2444
+ options.visible === true);
2445
+ if (typeof before === 'function') {
2446
+ tree = before(tree, options);
2447
+ }
2448
+ // First give the children some values
2449
+ tree.children.forEach(function (child, i) {
2450
+ var newOptions = extend({},
2451
+ options);
2452
+ extend(newOptions, {
2453
+ index: i,
2454
+ siblings: tree.children.length,
2455
+ visible: tree.visible
2456
+ });
2457
+ child = setTreeValues(child, newOptions);
2458
+ children.push(child);
2459
+ if (child.visible) {
2460
+ childrenTotal += child.val;
2461
+ }
2462
+ });
2463
+ // Set the values
2464
+ var value = pick(optionsPoint.value,
2465
+ childrenTotal);
2466
+ tree.visible = value >= 0 && (childrenTotal > 0 || tree.visible);
2467
+ tree.children = children;
2468
+ tree.childrenTotal = childrenTotal;
2469
+ tree.isLeaf = tree.visible && !childrenTotal;
2470
+ tree.val = value;
2471
+ return tree;
2472
+ }
2473
+ /**
2474
+ * Update the rootId property on the series. Also makes sure that it is
2475
+ * accessible to exporting.
2476
+ *
2477
+ * @private
2478
+ *
2479
+ * @param {Object} series
2480
+ * The series to operate on.
2481
+ *
2482
+ * @return {string}
2483
+ * Returns the resulting rootId after update.
2484
+ */
2485
+ function updateRootId(series) {
2486
+ var rootId,
2487
+ options;
2488
+ if (isObject(series)) {
2489
+ // Get the series options.
2490
+ options = isObject(series.options) ? series.options : {};
2491
+ // Calculate the rootId.
2492
+ rootId = pick(series.rootNode, options.rootId, '');
2493
+ // Set rootId on series.userOptions to pick it up in exporting.
2494
+ if (isObject(series.userOptions)) {
2495
+ series.userOptions.rootId = rootId;
2496
+ }
2497
+ // Set rootId on series to pick it up on next update.
2498
+ series.rootNode = rootId;
2499
+ }
2500
+ return rootId;
2501
+ }
2502
+ /* *
2503
+ *
2504
+ * Default Export
2505
+ *
2506
+ * */
2507
+ var TreeUtilities = {
2508
+ getColor: getColor,
2509
+ getLevelOptions: getLevelOptions,
2510
+ setTreeValues: setTreeValues,
2511
+ updateRootId: updateRootId
2512
+ };
2513
+
2514
+ return TreeUtilities;
2515
+ });
2516
+ _registerModule(_modules, 'Core/Axis/TreeGridAxis.js', [_modules['Core/Axis/BrokenAxis.js'], _modules['Core/Axis/GridAxis.js'], _modules['Gantt/Tree.js'], _modules['Core/Axis/TreeGridTick.js'], _modules['Series/TreeUtilities.js'], _modules['Core/Utilities.js']], function (BrokenAxis, GridAxis, Tree, TreeGridTick, TU, U) {
2517
+ /* *
2518
+ *
2519
+ * (c) 2016 Highsoft AS
2520
+ * Authors: Jon Arild Nygard
2521
+ *
2522
+ * License: www.highcharts.com/license
2523
+ *
2524
+ * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
2525
+ *
2526
+ * */
2527
+ var getLevelOptions = TU.getLevelOptions;
2528
+ var addEvent = U.addEvent,
2529
+ find = U.find,
2530
+ fireEvent = U.fireEvent,
2531
+ isArray = U.isArray,
2532
+ isObject = U.isObject,
2533
+ isString = U.isString,
2534
+ merge = U.merge,
2535
+ pick = U.pick,
2536
+ wrap = U.wrap;
2537
+ /**
2538
+ * @private
2539
+ */
2540
+ var TreeGridAxis;
2541
+ (function (TreeGridAxis) {
2542
+ /* *
2543
+ *
2544
+ * Declarations
2545
+ *
2546
+ * */
2547
+ /* *
2548
+ *
2549
+ * Variables
2550
+ *
2551
+ * */
2552
+ var TickConstructor;
2553
+ /* *
2554
+ *
2555
+ * Functions
2556
+ *
2557
+ * */
2558
+ /**
2559
+ * @private
2560
+ */
2561
+ function compose(AxisClass, ChartClass, SeriesClass, TickClass) {
2562
+ if (AxisClass.keepProps.indexOf('treeGrid') === -1) {
2563
+ AxisClass.keepProps.push('treeGrid');
2564
+ TickConstructor = TickClass;
2565
+ wrap(AxisClass.prototype, 'generateTick', wrapGenerateTick);
2566
+ wrap(AxisClass.prototype, 'init', wrapInit);
2567
+ wrap(AxisClass.prototype, 'setTickInterval', wrapSetTickInterval);
2568
+ // Make utility functions available for testing.
2569
+ AxisClass.prototype.utils = {
2570
+ getNode: Tree.getNode
2571
+ };
2572
+ GridAxis.compose(AxisClass, ChartClass, TickClass);
2573
+ BrokenAxis.compose(AxisClass, SeriesClass);
2574
+ TreeGridTick.compose(TickClass);
2575
+ }
2576
+ return AxisClass;
2577
+ }
2578
+ TreeGridAxis.compose = compose;
2579
+ /**
2580
+ * @private
2581
+ */
2582
+ function getBreakFromNode(node, max) {
2583
+ var to = node.collapseEnd || 0;
2584
+ var from = node.collapseStart || 0;
2585
+ // In broken-axis, the axis.max is minimized until it is not within a
2586
+ // break. Therefore, if break.to is larger than axis.max, the axis.to
2587
+ // should not add the 0.5 axis.tickMarkOffset, to avoid adding a break
2588
+ // larger than axis.max.
2589
+ // TODO consider simplifying broken-axis and this might solve itself
2590
+ if (to >= max) {
2591
+ from -= 0.5;
2592
+ }
2593
+ return {
2594
+ from: from,
2595
+ to: to,
2596
+ showPoints: false
2597
+ };
2598
+ }
2599
+ /**
2600
+ * Creates a tree structure of the data, and the treegrid. Calculates
2601
+ * categories, and y-values of points based on the tree.
2602
+ *
2603
+ * @private
2604
+ * @function getTreeGridFromData
2605
+ *
2606
+ * @param {Array<Highcharts.GanttPointOptions>} data
2607
+ * All the data points to display in the axis.
2608
+ *
2609
+ * @param {boolean} uniqueNames
2610
+ * Wether or not the data node with the same name should share grid cell. If
2611
+ * true they do share cell. False by default.
2612
+ *
2613
+ * @param {number} numberOfSeries
2614
+ *
2615
+ * @return {Object}
2616
+ * Returns an object containing categories, mapOfIdToNode,
2617
+ * mapOfPosToGridNode, and tree.
2618
+ *
2619
+ * @todo There should be only one point per line.
2620
+ * @todo It should be optional to have one category per point, or merge
2621
+ * cells
2622
+ * @todo Add unit-tests.
2623
+ */
2624
+ function getTreeGridFromData(data, uniqueNames, numberOfSeries) {
2625
+ var categories = [],
2626
+ collapsedNodes = [],
2627
+ mapOfIdToNode = {},
2628
+ uniqueNamesEnabled = typeof uniqueNames === 'boolean' ?
2629
+ uniqueNames : false;
2630
+ var mapOfPosToGridNode = {},
2631
+ posIterator = -1;
2632
+ // Build the tree from the series data.
2633
+ var treeParams = {
2634
+ // After the children has been created.
2635
+ after: function (node) {
2636
+ var gridNode = mapOfPosToGridNode[node.pos];
2637
+ var height = 0,
2638
+ descendants = 0;
2639
+ gridNode.children.forEach(function (child) {
2640
+ descendants += (child.descendants || 0) + 1;
2641
+ height = Math.max((child.height || 0) + 1, height);
2642
+ });
2643
+ gridNode.descendants = descendants;
2644
+ gridNode.height = height;
2645
+ if (gridNode.collapsed) {
2646
+ collapsedNodes.push(gridNode);
2647
+ }
2648
+ },
2649
+ // Before the children has been created.
2650
+ before: function (node) {
2651
+ var data = isObject(node.data,
2652
+ true) ?
2653
+ node.data :
2654
+ {},
2655
+ name = isString(data.name) ? data.name : '',
2656
+ parentNode = mapOfIdToNode[node.parent],
2657
+ parentGridNode = (isObject(parentNode,
2658
+ true) ?
2659
+ mapOfPosToGridNode[parentNode.pos] :
2660
+ null),
2661
+ hasSameName = function (x) {
2662
+ return x.name === name;
2663
+ };
2664
+ var gridNode,
2665
+ pos;
2666
+ // If not unique names, look for sibling node with the same name
2667
+ if (uniqueNamesEnabled &&
2668
+ isObject(parentGridNode, true) &&
2669
+ !!(gridNode = find(parentGridNode.children, hasSameName))) {
2670
+ // If there is a gridNode with the same name, reuse position
2671
+ pos = gridNode.pos;
2672
+ // Add data node to list of nodes in the grid node.
2673
+ gridNode.nodes.push(node);
2674
+ }
2675
+ else {
2676
+ // If it is a new grid node, increment position.
2677
+ pos = posIterator++;
2678
+ }
2679
+ // Add new grid node to map.
2680
+ if (!mapOfPosToGridNode[pos]) {
2681
+ mapOfPosToGridNode[pos] = gridNode = {
2682
+ depth: parentGridNode ? parentGridNode.depth + 1 : 0,
2683
+ name: name,
2684
+ id: data.id,
2685
+ nodes: [node],
2686
+ children: [],
2687
+ pos: pos
2688
+ };
2689
+ // If not root, then add name to categories.
2690
+ if (pos !== -1) {
2691
+ categories.push(name);
2692
+ }
2693
+ // Add name to list of children.
2694
+ if (isObject(parentGridNode, true)) {
2695
+ parentGridNode.children.push(gridNode);
2696
+ }
2697
+ }
2698
+ // Add data node to map
2699
+ if (isString(node.id)) {
2700
+ mapOfIdToNode[node.id] = node;
2701
+ }
2702
+ // If one of the points are collapsed, then start the grid node
2703
+ // in collapsed state.
2704
+ if (gridNode &&
2705
+ data.collapsed === true) {
2706
+ gridNode.collapsed = true;
2707
+ }
2708
+ // Assign pos to data node
2709
+ node.pos = pos;
2710
+ }
2711
+ };
2712
+ var updateYValuesAndTickPos = function (map,
2713
+ numberOfSeries) {
2714
+ var setValues = function (gridNode,
2715
+ start,
2716
+ result) {
2717
+ var nodes = gridNode.nodes,
2718
+ padding = 0.5;
2719
+ var end = start + (start === -1 ? 0 : numberOfSeries - 1);
2720
+ var diff = (end - start) / 2,
2721
+ pos = start + diff;
2722
+ nodes.forEach(function (node) {
2723
+ var data = node.data;
2724
+ if (isObject(data, true)) {
2725
+ // Update point
2726
+ data.y = start + (data.seriesIndex || 0);
2727
+ // Remove the property once used
2728
+ delete data.seriesIndex;
2729
+ }
2730
+ node.pos = pos;
2731
+ });
2732
+ result[pos] = gridNode;
2733
+ gridNode.pos = pos;
2734
+ gridNode.tickmarkOffset = diff + padding;
2735
+ gridNode.collapseStart = end + padding;
2736
+ gridNode.children.forEach(function (child) {
2737
+ setValues(child, end + 1, result);
2738
+ end = (child.collapseEnd || 0) - padding;
2739
+ });
2740
+ // Set collapseEnd to the end of the last child node.
2741
+ gridNode.collapseEnd = end + padding;
2742
+ return result;
2743
+ };
2744
+ return setValues(map['-1'], -1, {});
2745
+ };
2746
+ // Create tree from data
2747
+ var tree = Tree.getTree(data,
2748
+ treeParams);
2749
+ // Update y values of data, and set calculate tick positions.
2750
+ mapOfPosToGridNode = updateYValuesAndTickPos(mapOfPosToGridNode, numberOfSeries);
2751
+ // Return the resulting data.
2752
+ return {
2753
+ categories: categories,
2754
+ mapOfIdToNode: mapOfIdToNode,
2755
+ mapOfPosToGridNode: mapOfPosToGridNode,
2756
+ collapsedNodes: collapsedNodes,
2757
+ tree: tree
2758
+ };
2759
+ }
2760
+ /**
2761
+ * Builds the tree of categories and calculates its positions.
2762
+ * @private
2763
+ * @param {Object} e Event object
2764
+ * @param {Object} e.target The chart instance which the event was fired on.
2765
+ * @param {object[]} e.target.axes The axes of the chart.
2766
+ */
2767
+ function onBeforeRender(e) {
2768
+ var chart = e.target,
2769
+ axes = chart.axes;
2770
+ axes.filter(function (axis) {
2771
+ return axis.options.type === 'treegrid';
2772
+ }).forEach(function (axis) {
2773
+ var options = axis.options || {},
2774
+ labelOptions = options.labels,
2775
+ uniqueNames = options.uniqueNames,
2776
+ max = options.max,
2777
+ // Check whether any of series is rendering for the first
2778
+ // time, visibility has changed, or its data is dirty, and
2779
+ // only then update. #10570, #10580. Also check if
2780
+ // mapOfPosToGridNode exists. #10887
2781
+ isDirty = (!axis.treeGrid.mapOfPosToGridNode ||
2782
+ axis.series.some(function (series) {
2783
+ return !series.hasRendered ||
2784
+ series.isDirtyData ||
2785
+ series.isDirty;
2786
+ }));
2787
+ var numberOfSeries = 0,
2788
+ data,
2789
+ treeGrid;
2790
+ if (isDirty) {
2791
+ // Concatenate data from all series assigned to this axis.
2792
+ data = axis.series.reduce(function (arr, s) {
2793
+ if (s.visible) {
2794
+ // Push all data to array
2795
+ (s.options.data || []).forEach(function (data) {
2796
+ // For using keys - rebuild the data structure
2797
+ if (s.options.keys && s.options.keys.length) {
2798
+ data = s.pointClass.prototype
2799
+ .optionsToObject
2800
+ .call({ series: s }, data);
2801
+ s.pointClass.setGanttPointAliases(data);
2802
+ }
2803
+ if (isObject(data, true)) {
2804
+ // Set series index on data. Removed again
2805
+ // after use.
2806
+ data.seriesIndex = (numberOfSeries);
2807
+ arr.push(data);
2808
+ }
2809
+ });
2810
+ // Increment series index
2811
+ if (uniqueNames === true) {
2812
+ numberOfSeries++;
2813
+ }
2814
+ }
2815
+ return arr;
2816
+ }, []);
2817
+ // If max is higher than set data - add a
2818
+ // dummy data to render categories #10779
2819
+ if (max && data.length < max) {
2820
+ for (var i = data.length; i <= max; i++) {
2821
+ data.push({
2822
+ // Use the zero-width character
2823
+ // to avoid conflict with uniqueNames
2824
+ name: i + '\u200B'
2825
+ });
2826
+ }
2827
+ }
2828
+ // setScale is fired after all the series is initialized,
2829
+ // which is an ideal time to update the axis.categories.
2830
+ treeGrid = getTreeGridFromData(data, uniqueNames || false, (uniqueNames === true) ? numberOfSeries : 1);
2831
+ // Assign values to the axis.
2832
+ axis.categories = treeGrid.categories;
2833
+ axis.treeGrid.mapOfPosToGridNode = (treeGrid.mapOfPosToGridNode);
2834
+ axis.hasNames = true;
2835
+ axis.treeGrid.tree = treeGrid.tree;
2836
+ // Update yData now that we have calculated the y values
2837
+ axis.series.forEach(function (series) {
2838
+ var axisData = (series.options.data || []).map(function (d) {
2839
+ if (isArray(d) &&
2840
+ series.options.keys &&
2841
+ series.options.keys.length) {
2842
+ // Get the axisData from the data array used to
2843
+ // build the treeGrid where has been modified
2844
+ data.forEach(function (point) {
2845
+ if (d.indexOf(point.x) >= 0 &&
2846
+ d.indexOf(point.x2) >= 0) {
2847
+ d = point;
2848
+ }
2849
+ });
2850
+ }
2851
+ return isObject(d, true) ? merge(d) : d;
2852
+ });
2853
+ // Avoid destroying points when series is not visible
2854
+ if (series.visible) {
2855
+ series.setData(axisData, false);
2856
+ }
2857
+ });
2858
+ // Calculate the label options for each level in the tree.
2859
+ axis.treeGrid.mapOptionsToLevel =
2860
+ getLevelOptions({
2861
+ defaults: labelOptions,
2862
+ from: 1,
2863
+ levels: labelOptions && labelOptions.levels,
2864
+ to: axis.treeGrid.tree && axis.treeGrid.tree.height
2865
+ });
2866
+ // Setting initial collapsed nodes
2867
+ if (e.type === 'beforeRender') {
2868
+ axis.treeGrid.collapsedNodes = treeGrid.collapsedNodes;
2869
+ }
2870
+ }
2871
+ });
2872
+ }
2873
+ /**
2874
+ * Generates a tick for initial positioning.
2875
+ *
2876
+ * @private
2877
+ * @function Highcharts.GridAxis#generateTick
2878
+ *
2879
+ * @param {Function} proceed
2880
+ * The original generateTick function.
2881
+ *
2882
+ * @param {number} pos
2883
+ * The tick position in axis values.
2884
+ */
2885
+ function wrapGenerateTick(proceed, pos) {
2886
+ var axis = this,
2887
+ mapOptionsToLevel = axis.treeGrid.mapOptionsToLevel || {},
2888
+ isTreeGrid = axis.options.type === 'treegrid',
2889
+ ticks = axis.ticks;
2890
+ var tick = ticks[pos],
2891
+ levelOptions,
2892
+ options,
2893
+ gridNode;
2894
+ if (isTreeGrid &&
2895
+ axis.treeGrid.mapOfPosToGridNode) {
2896
+ gridNode = axis.treeGrid.mapOfPosToGridNode[pos];
2897
+ levelOptions = mapOptionsToLevel[gridNode.depth];
2898
+ if (levelOptions) {
2899
+ options = {
2900
+ labels: levelOptions
2901
+ };
2902
+ }
2903
+ if (!tick &&
2904
+ TickConstructor) {
2905
+ ticks[pos] = tick =
2906
+ new TickConstructor(axis, pos, void 0, void 0, {
2907
+ category: gridNode.name,
2908
+ tickmarkOffset: gridNode.tickmarkOffset,
2909
+ options: options
2910
+ });
2911
+ }
2912
+ else {
2913
+ // update labels depending on tick interval
2914
+ tick.parameters.category = gridNode.name;
2915
+ tick.options = options;
2916
+ tick.addLabel();
2917
+ }
2918
+ }
2919
+ else {
2920
+ proceed.apply(axis, Array.prototype.slice.call(arguments, 1));
2921
+ }
2922
+ }
2923
+ /**
2924
+ * @private
2925
+ */
2926
+ function wrapInit(proceed, chart, userOptions) {
2927
+ var axis = this,
2928
+ isTreeGrid = userOptions.type === 'treegrid';
2929
+ if (!axis.treeGrid) {
2930
+ axis.treeGrid = new Additions(axis);
2931
+ }
2932
+ // Set default and forced options for TreeGrid
2933
+ if (isTreeGrid) {
2934
+ // Add event for updating the categories of a treegrid.
2935
+ // NOTE Preferably these events should be set on the axis.
2936
+ addEvent(chart, 'beforeRender', onBeforeRender);
2937
+ addEvent(chart, 'beforeRedraw', onBeforeRender);
2938
+ // Add new collapsed nodes on addseries
2939
+ addEvent(chart, 'addSeries', function (e) {
2940
+ if (e.options.data) {
2941
+ var treeGrid = getTreeGridFromData(e.options.data,
2942
+ userOptions.uniqueNames || false, 1);
2943
+ axis.treeGrid.collapsedNodes = (axis.treeGrid.collapsedNodes || []).concat(treeGrid.collapsedNodes);
2944
+ }
2945
+ });
2946
+ // Collapse all nodes in axis.treegrid.collapsednodes
2947
+ // where collapsed equals true.
2948
+ addEvent(axis, 'foundExtremes', function () {
2949
+ if (axis.treeGrid.collapsedNodes) {
2950
+ axis.treeGrid.collapsedNodes.forEach(function (node) {
2951
+ var breaks = axis.treeGrid.collapse(node);
2952
+ if (axis.brokenAxis) {
2953
+ axis.brokenAxis.setBreaks(breaks, false);
2954
+ // remove the node from the axis collapsedNodes
2955
+ if (axis.treeGrid.collapsedNodes) {
2956
+ axis.treeGrid.collapsedNodes = axis.treeGrid
2957
+ .collapsedNodes
2958
+ .filter(function (n) { return ((node.collapseStart !==
2959
+ n.collapseStart) ||
2960
+ node.collapseEnd !== n.collapseEnd); });
2961
+ }
2962
+ }
2963
+ });
2964
+ }
2965
+ });
2966
+ // If staticScale is not defined on the yAxis
2967
+ // and chart height is set, set axis.isDirty
2968
+ // to ensure collapsing works (#12012)
2969
+ addEvent(axis, 'afterBreaks', function () {
2970
+ if (axis.coll === 'yAxis' &&
2971
+ !axis.staticScale &&
2972
+ axis.chart.options.chart.height) {
2973
+ axis.isDirty = true;
2974
+ }
2975
+ });
2976
+ userOptions = merge({
2977
+ // Default options
2978
+ grid: {
2979
+ enabled: true
2980
+ },
2981
+ // TODO: add support for align in treegrid.
2982
+ labels: {
2983
+ align: 'left',
2984
+ /**
2985
+ * Set options on specific levels in a tree grid axis. Takes
2986
+ * precedence over labels options.
2987
+ *
2988
+ * @sample {gantt} gantt/treegrid-axis/labels-levels
2989
+ * Levels on TreeGrid Labels
2990
+ *
2991
+ * @type {Array<*>}
2992
+ * @product gantt
2993
+ * @apioption yAxis.labels.levels
2994
+ *
2995
+ * @private
2996
+ */
2997
+ levels: [{
2998
+ /**
2999
+ * Specify the level which the options within this object
3000
+ * applies to.
3001
+ *
3002
+ * @type {number}
3003
+ * @product gantt
3004
+ * @apioption yAxis.labels.levels.level
3005
+ *
3006
+ * @private
3007
+ */
3008
+ level: void 0
3009
+ }, {
3010
+ level: 1,
3011
+ /**
3012
+ * @type {Highcharts.CSSObject}
3013
+ * @product gantt
3014
+ * @apioption yAxis.labels.levels.style
3015
+ *
3016
+ * @private
3017
+ */
3018
+ style: {
3019
+ /** @ignore-option */
3020
+ fontWeight: 'bold'
3021
+ }
3022
+ }],
3023
+ /**
3024
+ * The symbol for the collapse and expand icon in a
3025
+ * treegrid.
3026
+ *
3027
+ * @product gantt
3028
+ * @optionparent yAxis.labels.symbol
3029
+ *
3030
+ * @private
3031
+ */
3032
+ symbol: {
3033
+ /**
3034
+ * The symbol type. Points to a definition function in
3035
+ * the `Highcharts.Renderer.symbols` collection.
3036
+ *
3037
+ * @type {Highcharts.SymbolKeyValue}
3038
+ *
3039
+ * @private
3040
+ */
3041
+ type: 'triangle',
3042
+ x: -5,
3043
+ y: -5,
3044
+ height: 10,
3045
+ width: 10,
3046
+ padding: 5
3047
+ }
3048
+ },
3049
+ uniqueNames: false
3050
+ }, userOptions, {
3051
+ // Forced options
3052
+ reversed: true,
3053
+ // grid.columns is not supported in treegrid
3054
+ grid: {
3055
+ columns: void 0
3056
+ }
3057
+ });
3058
+ }
3059
+ // Now apply the original function with the original arguments,
3060
+ // which are sliced off this function's arguments
3061
+ proceed.apply(axis, [chart, userOptions]);
3062
+ if (isTreeGrid) {
3063
+ axis.hasNames = true;
3064
+ axis.options.showLastLabel = true;
3065
+ }
3066
+ }
3067
+ /**
3068
+ * Set the tick positions, tickInterval, axis min and max.
3069
+ *
3070
+ * @private
3071
+ * @function Highcharts.GridAxis#setTickInterval
3072
+ *
3073
+ * @param {Function} proceed
3074
+ * The original setTickInterval function.
3075
+ */
3076
+ function wrapSetTickInterval(proceed) {
3077
+ var axis = this,
3078
+ options = axis.options,
3079
+ isTreeGrid = options.type === 'treegrid';
3080
+ if (isTreeGrid) {
3081
+ axis.min = pick(axis.userMin, options.min, axis.dataMin);
3082
+ axis.max = pick(axis.userMax, options.max, axis.dataMax);
3083
+ fireEvent(axis, 'foundExtremes');
3084
+ // setAxisTranslation modifies the min and max according to
3085
+ // axis breaks.
3086
+ axis.setAxisTranslation();
3087
+ axis.tickmarkOffset = 0.5;
3088
+ axis.tickInterval = 1;
3089
+ axis.tickPositions = axis.treeGrid.mapOfPosToGridNode ?
3090
+ axis.treeGrid.getTickPositions() :
3091
+ [];
3092
+ }
3093
+ else {
3094
+ proceed.apply(axis, Array.prototype.slice.call(arguments, 1));
3095
+ }
3096
+ }
3097
+ /* *
3098
+ *
3099
+ * Classes
3100
+ *
3101
+ * */
3102
+ /**
3103
+ * @private
3104
+ * @class
3105
+ */
3106
+ var Additions = /** @class */ (function () {
3107
+ /* *
3108
+ *
3109
+ * Constructors
3110
+ *
3111
+ * */
3112
+ /**
3113
+ * @private
3114
+ */
3115
+ function Additions(axis) {
3116
+ this.axis = axis;
3117
+ }
3118
+ /* *
3119
+ *
3120
+ * Functions
3121
+ *
3122
+ * */
3123
+ /**
3124
+ * Set the collapse status.
3125
+ *
3126
+ * @private
3127
+ *
3128
+ * @param {Highcharts.Axis} axis
3129
+ * The axis to check against.
3130
+ *
3131
+ * @param {Highcharts.GridNode} node
3132
+ * The node to collapse.
3133
+ */
3134
+ Additions.prototype.setCollapsedStatus = function (node) {
3135
+ var axis = this.axis,
3136
+ chart = axis.chart;
3137
+ axis.series.forEach(function (series) {
3138
+ var data = series.options.data;
3139
+ if (node.id && data) {
3140
+ var point = chart.get(node.id),
3141
+ dataPoint = data[series.data.indexOf(point)];
3142
+ if (point && dataPoint) {
3143
+ point.collapsed = node.collapsed;
3144
+ dataPoint.collapsed = node.collapsed;
3145
+ }
3146
+ }
3147
+ });
3148
+ };
3149
+ /**
3150
+ * Calculates the new axis breaks to collapse a node.
3151
+ *
3152
+ * @private
3153
+ *
3154
+ * @param {Highcharts.Axis} axis
3155
+ * The axis to check against.
3156
+ *
3157
+ * @param {Highcharts.GridNode} node
3158
+ * The node to collapse.
3159
+ *
3160
+ * @param {number} pos
3161
+ * The tick position to collapse.
3162
+ *
3163
+ * @return {Array<object>}
3164
+ * Returns an array of the new breaks for the axis.
3165
+ */
3166
+ Additions.prototype.collapse = function (node) {
3167
+ var axis = this.axis,
3168
+ breaks = (axis.options.breaks || []),
3169
+ obj = getBreakFromNode(node,
3170
+ axis.max);
3171
+ breaks.push(obj);
3172
+ // Change the collapsed flag #13838
3173
+ node.collapsed = true;
3174
+ axis.treeGrid.setCollapsedStatus(node);
3175
+ return breaks;
3176
+ };
3177
+ /**
3178
+ * Calculates the new axis breaks to expand a node.
3179
+ *
3180
+ * @private
3181
+ *
3182
+ * @param {Highcharts.Axis} axis
3183
+ * The axis to check against.
3184
+ *
3185
+ * @param {Highcharts.GridNode} node
3186
+ * The node to expand.
3187
+ *
3188
+ * @param {number} pos
3189
+ * The tick position to expand.
3190
+ *
3191
+ * @return {Array<object>}
3192
+ * Returns an array of the new breaks for the axis.
3193
+ */
3194
+ Additions.prototype.expand = function (node) {
3195
+ var axis = this.axis,
3196
+ breaks = (axis.options.breaks || []),
3197
+ obj = getBreakFromNode(node,
3198
+ axis.max);
3199
+ // Change the collapsed flag #13838
3200
+ node.collapsed = false;
3201
+ axis.treeGrid.setCollapsedStatus(node);
3202
+ // Remove the break from the axis breaks array.
3203
+ return breaks.reduce(function (arr, b) {
3204
+ if (b.to !== obj.to || b.from !== obj.from) {
3205
+ arr.push(b);
3206
+ }
3207
+ return arr;
3208
+ }, []);
3209
+ };
3210
+ /**
3211
+ * Creates a list of positions for the ticks on the axis. Filters out
3212
+ * positions that are outside min and max, or is inside an axis break.
3213
+ *
3214
+ * @private
3215
+ *
3216
+ * @return {Array<number>}
3217
+ * List of positions.
3218
+ */
3219
+ Additions.prototype.getTickPositions = function () {
3220
+ var axis = this.axis,
3221
+ roundedMin = Math.floor(axis.min / axis.tickInterval) * axis.tickInterval,
3222
+ roundedMax = Math.ceil(axis.max / axis.tickInterval) * axis.tickInterval;
3223
+ return Object.keys(axis.treeGrid.mapOfPosToGridNode || {}).reduce(function (arr, key) {
3224
+ var pos = +key;
3225
+ if (pos >= roundedMin &&
3226
+ pos <= roundedMax &&
3227
+ !(axis.brokenAxis && axis.brokenAxis.isInAnyBreak(pos))) {
3228
+ arr.push(pos);
3229
+ }
3230
+ return arr;
3231
+ }, []);
3232
+ };
3233
+ /**
3234
+ * Check if a node is collapsed.
3235
+ *
3236
+ * @private
3237
+ *
3238
+ * @param {Highcharts.Axis} axis
3239
+ * The axis to check against.
3240
+ *
3241
+ * @param {Object} node
3242
+ * The node to check if is collapsed.
3243
+ *
3244
+ * @param {number} pos
3245
+ * The tick position to collapse.
3246
+ *
3247
+ * @return {boolean}
3248
+ * Returns true if collapsed, false if expanded.
3249
+ */
3250
+ Additions.prototype.isCollapsed = function (node) {
3251
+ var axis = this.axis,
3252
+ breaks = (axis.options.breaks || []),
3253
+ obj = getBreakFromNode(node,
3254
+ axis.max);
3255
+ return breaks.some(function (b) {
3256
+ return b.from === obj.from && b.to === obj.to;
3257
+ });
3258
+ };
3259
+ /**
3260
+ * Calculates the new axis breaks after toggling the collapse/expand
3261
+ * state of a node. If it is collapsed it will be expanded, and if it is
3262
+ * exapended it will be collapsed.
3263
+ *
3264
+ * @private
3265
+ *
3266
+ * @param {Highcharts.Axis} axis
3267
+ * The axis to check against.
3268
+ *
3269
+ * @param {Highcharts.GridNode} node
3270
+ * The node to toggle.
3271
+ *
3272
+ * @return {Array<object>}
3273
+ * Returns an array of the new breaks for the axis.
3274
+ */
3275
+ Additions.prototype.toggleCollapse = function (node) {
3276
+ return (this.isCollapsed(node) ?
3277
+ this.expand(node) :
3278
+ this.collapse(node));
3279
+ };
3280
+ return Additions;
3281
+ }());
3282
+ TreeGridAxis.Additions = Additions;
3283
+ })(TreeGridAxis || (TreeGridAxis = {}));
3284
+
3285
+ return TreeGridAxis;
3286
+ });
3287
+ _registerModule(_modules, 'masters/modules/treegrid.src.js', [_modules['Core/Globals.js'], _modules['Core/Axis/TreeGridAxis.js']], function (Highcharts, TreeGridAxis) {
3288
+
3289
+ var G = Highcharts;
3290
+ // Compositions
3291
+ TreeGridAxis.compose(G.Axis, G.Chart, G.Series, G.Tick);
3292
+
3293
+ });
3294
+ }));