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,2383 @@
1
+ /**
2
+ * @license Highcharts JS v9.3.3 (2022-02-01)
3
+ *
4
+ * Data module
5
+ *
6
+ * (c) 2012-2021 Torstein Honsi
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/data', ['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/HttpUtilities.js', [_modules['Core/Globals.js'], _modules['Core/Utilities.js']], function (G, U) {
32
+ /* *
33
+ *
34
+ * (c) 2010-2021 Christer Vasseng, Torstein Honsi
35
+ *
36
+ * License: www.highcharts.com/license
37
+ *
38
+ * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
39
+ *
40
+ * */
41
+ var doc = G.doc;
42
+ var createElement = U.createElement,
43
+ discardElement = U.discardElement,
44
+ merge = U.merge,
45
+ objectEach = U.objectEach;
46
+ /**
47
+ * Perform an Ajax call.
48
+ *
49
+ * @function Highcharts.ajax
50
+ *
51
+ * @param {Partial<Highcharts.AjaxSettingsObject>} attr
52
+ * The Ajax settings to use.
53
+ *
54
+ * @return {false|undefined}
55
+ * Returns false, if error occured.
56
+ */
57
+ function ajax(attr) {
58
+ var options = merge(true, {
59
+ url: false,
60
+ type: 'get',
61
+ dataType: 'json',
62
+ success: false,
63
+ error: false,
64
+ data: false,
65
+ headers: {}
66
+ },
67
+ attr),
68
+ headers = {
69
+ json: 'application/json',
70
+ xml: 'application/xml',
71
+ text: 'text/plain',
72
+ octet: 'application/octet-stream'
73
+ },
74
+ r = new XMLHttpRequest();
75
+ /**
76
+ * @private
77
+ * @param {XMLHttpRequest} xhr
78
+ * Internal request object.
79
+ * @param {string|Error} err
80
+ * Occured error.
81
+ */
82
+ function handleError(xhr, err) {
83
+ if (options.error) {
84
+ options.error(xhr, err);
85
+ }
86
+ else {
87
+ // @todo Maybe emit a highcharts error event here
88
+ }
89
+ }
90
+ if (!options.url) {
91
+ return false;
92
+ }
93
+ r.open(options.type.toUpperCase(), options.url, true);
94
+ if (!options.headers['Content-Type']) {
95
+ r.setRequestHeader('Content-Type', headers[options.dataType] || headers.text);
96
+ }
97
+ objectEach(options.headers, function (val, key) {
98
+ r.setRequestHeader(key, val);
99
+ });
100
+ // @todo lacking timeout handling
101
+ r.onreadystatechange = function () {
102
+ var res;
103
+ if (r.readyState === 4) {
104
+ if (r.status === 200) {
105
+ res = r.responseText;
106
+ if (options.dataType === 'json') {
107
+ try {
108
+ res = JSON.parse(res);
109
+ }
110
+ catch (e) {
111
+ return handleError(r, e);
112
+ }
113
+ }
114
+ return options.success && options.success(res);
115
+ }
116
+ handleError(r, r.responseText);
117
+ }
118
+ };
119
+ try {
120
+ options.data = JSON.stringify(options.data);
121
+ }
122
+ catch (e) {
123
+ // empty
124
+ }
125
+ r.send(options.data || true);
126
+ }
127
+ /**
128
+ * Get a JSON resource over XHR, also supporting CORS without preflight.
129
+ *
130
+ * @function Highcharts.getJSON
131
+ * @param {string} url
132
+ * The URL to load.
133
+ * @param {Function} success
134
+ * The success callback. For error handling, use the `Highcharts.ajax`
135
+ * function instead.
136
+ */
137
+ function getJSON(url, success) {
138
+ HttpUtilities.ajax({
139
+ url: url,
140
+ success: success,
141
+ dataType: 'json',
142
+ headers: {
143
+ // Override the Content-Type to avoid preflight problems with CORS
144
+ // in the Highcharts demos
145
+ 'Content-Type': 'text/plain'
146
+ }
147
+ });
148
+ }
149
+ /**
150
+ * The post utility
151
+ *
152
+ * @private
153
+ * @function Highcharts.post
154
+ *
155
+ * @param {string} url
156
+ * Post URL
157
+ *
158
+ * @param {Object} data
159
+ * Post data
160
+ *
161
+ * @param {Highcharts.Dictionary<string>} [formAttributes]
162
+ * Additional attributes for the post request
163
+ */
164
+ function post(url, data, formAttributes) {
165
+ // create the form
166
+ var form = createElement('form',
167
+ merge({
168
+ method: 'post',
169
+ action: url,
170
+ enctype: 'multipart/form-data'
171
+ },
172
+ formAttributes), {
173
+ display: 'none'
174
+ },
175
+ doc.body);
176
+ // add the data
177
+ objectEach(data, function (val, name) {
178
+ createElement('input', {
179
+ type: 'hidden',
180
+ name: name,
181
+ value: val
182
+ }, null, form);
183
+ });
184
+ // submit
185
+ form.submit();
186
+ // clean up
187
+ discardElement(form);
188
+ }
189
+ /* *
190
+ *
191
+ * Default Export
192
+ *
193
+ * */
194
+ var HttpUtilities = {
195
+ ajax: ajax,
196
+ getJSON: getJSON,
197
+ post: post
198
+ };
199
+ /**
200
+ * @interface Highcharts.AjaxSettingsObject
201
+ */ /**
202
+ * The payload to send.
203
+ *
204
+ * @name Highcharts.AjaxSettingsObject#data
205
+ * @type {string|Highcharts.Dictionary<any>}
206
+ */ /**
207
+ * The data type expected.
208
+ * @name Highcharts.AjaxSettingsObject#dataType
209
+ * @type {"json"|"xml"|"text"|"octet"}
210
+ */ /**
211
+ * Function to call on error.
212
+ * @name Highcharts.AjaxSettingsObject#error
213
+ * @type {Function}
214
+ */ /**
215
+ * The headers; keyed on header name.
216
+ * @name Highcharts.AjaxSettingsObject#headers
217
+ * @type {Highcharts.Dictionary<string>}
218
+ */ /**
219
+ * Function to call on success.
220
+ * @name Highcharts.AjaxSettingsObject#success
221
+ * @type {Function}
222
+ */ /**
223
+ * The HTTP method to use. For example GET or POST.
224
+ * @name Highcharts.AjaxSettingsObject#type
225
+ * @type {string}
226
+ */ /**
227
+ * The URL to call.
228
+ * @name Highcharts.AjaxSettingsObject#url
229
+ * @type {string}
230
+ */
231
+ (''); // keeps doclets above in JS file
232
+
233
+ return HttpUtilities;
234
+ });
235
+ _registerModule(_modules, 'Extensions/Data.js', [_modules['Core/Chart/Chart.js'], _modules['Core/Globals.js'], _modules['Core/HttpUtilities.js'], _modules['Core/Series/Point.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js']], function (Chart, G, HU, Point, SeriesRegistry, U) {
236
+ /* *
237
+ *
238
+ * Data module
239
+ *
240
+ * (c) 2012-2021 Torstein Honsi
241
+ *
242
+ * License: www.highcharts.com/license
243
+ *
244
+ * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
245
+ *
246
+ * */
247
+ var doc = G.doc;
248
+ var ajax = HU.ajax;
249
+ var seriesTypes = SeriesRegistry.seriesTypes;
250
+ var addEvent = U.addEvent,
251
+ defined = U.defined,
252
+ extend = U.extend,
253
+ fireEvent = U.fireEvent,
254
+ isNumber = U.isNumber,
255
+ merge = U.merge,
256
+ objectEach = U.objectEach,
257
+ pick = U.pick,
258
+ splat = U.splat;
259
+ /**
260
+ * Callback function to modify the CSV before parsing it by the data module.
261
+ *
262
+ * @callback Highcharts.DataBeforeParseCallbackFunction
263
+ *
264
+ * @param {string} csv
265
+ * The CSV to modify.
266
+ *
267
+ * @return {string}
268
+ * The CSV to parse.
269
+ */
270
+ /**
271
+ * Callback function that gets called after parsing data.
272
+ *
273
+ * @callback Highcharts.DataCompleteCallbackFunction
274
+ *
275
+ * @param {Highcharts.Options} chartOptions
276
+ * The chart options that were used.
277
+ */
278
+ /**
279
+ * Callback function that returns the correspondig Date object to a match.
280
+ *
281
+ * @callback Highcharts.DataDateFormatCallbackFunction
282
+ *
283
+ * @param {Array<number>} match
284
+ *
285
+ * @return {number}
286
+ */
287
+ /**
288
+ * Structure for alternative date formats to parse.
289
+ *
290
+ * @interface Highcharts.DataDateFormatObject
291
+ */ /**
292
+ * @name Highcharts.DataDateFormatObject#alternative
293
+ * @type {string|undefined}
294
+ */ /**
295
+ * @name Highcharts.DataDateFormatObject#parser
296
+ * @type {Highcharts.DataDateFormatCallbackFunction}
297
+ */ /**
298
+ * @name Highcharts.DataDateFormatObject#regex
299
+ * @type {global.RegExp}
300
+ */
301
+ /**
302
+ * Possible types for a data item in a column or row.
303
+ *
304
+ * @typedef {number|string|null} Highcharts.DataValueType
305
+ */
306
+ /**
307
+ * Callback function to parse string representations of dates into
308
+ * JavaScript timestamps (milliseconds since 1.1.1970).
309
+ *
310
+ * @callback Highcharts.DataParseDateCallbackFunction
311
+ *
312
+ * @param {string} dateValue
313
+ *
314
+ * @return {number}
315
+ * Timestamp (milliseconds since 1.1.1970) as integer for Date class.
316
+ */
317
+ /**
318
+ * Callback function to access the parsed columns, the two-dimentional
319
+ * input data array directly, before they are interpreted into series
320
+ * data and categories.
321
+ *
322
+ * @callback Highcharts.DataParsedCallbackFunction
323
+ *
324
+ * @param {Array<Array<*>>} columns
325
+ * The parsed columns by the data module.
326
+ *
327
+ * @return {boolean|undefined}
328
+ * Return `false` to stop completion, or call `this.complete()` to
329
+ * continue async.
330
+ */
331
+ /**
332
+ * The Data module provides a simplified interface for adding data to
333
+ * a chart from sources like CVS, HTML tables or grid views. See also
334
+ * the [tutorial article on the Data module](
335
+ * https://www.highcharts.com/docs/working-with-data/data-module).
336
+ *
337
+ * It requires the `modules/data.js` file to be loaded.
338
+ *
339
+ * Please note that the default way of adding data in Highcharts, without
340
+ * the need of a module, is through the [series._type_.data](#series.line.data)
341
+ * option.
342
+ *
343
+ * @sample {highcharts} highcharts/demo/column-parsed/
344
+ * HTML table
345
+ * @sample {highcharts} highcharts/data/csv/
346
+ * CSV
347
+ *
348
+ * @since 4.0
349
+ * @requires modules/data
350
+ * @apioption data
351
+ */
352
+ /**
353
+ * A callback function to modify the CSV before parsing it. Return the modified
354
+ * string.
355
+ *
356
+ * @sample {highcharts} highcharts/demo/line-ajax/
357
+ * Modify CSV before parse
358
+ *
359
+ * @type {Highcharts.DataBeforeParseCallbackFunction}
360
+ * @since 6.1
361
+ * @apioption data.beforeParse
362
+ */
363
+ /**
364
+ * A two-dimensional array representing the input data on tabular form.
365
+ * This input can be used when the data is already parsed, for example
366
+ * from a grid view component. Each cell can be a string or number.
367
+ * If not switchRowsAndColumns is set, the columns are interpreted as
368
+ * series.
369
+ *
370
+ * @see [data.rows](#data.rows)
371
+ *
372
+ * @sample {highcharts} highcharts/data/columns/
373
+ * Columns
374
+ *
375
+ * @type {Array<Array<Highcharts.DataValueType>>}
376
+ * @since 4.0
377
+ * @apioption data.columns
378
+ */
379
+ /**
380
+ * The callback that is evaluated when the data is finished loading,
381
+ * optionally from an external source, and parsed. The first argument
382
+ * passed is a finished chart options object, containing the series.
383
+ * These options can be extended with additional options and passed
384
+ * directly to the chart constructor.
385
+ *
386
+ * @see [data.parsed](#data.parsed)
387
+ *
388
+ * @sample {highcharts} highcharts/data/complete/
389
+ * Modify data on complete
390
+ *
391
+ * @type {Highcharts.DataCompleteCallbackFunction}
392
+ * @since 4.0
393
+ * @apioption data.complete
394
+ */
395
+ /**
396
+ * A comma delimited string to be parsed. Related options are [startRow](
397
+ * #data.startRow), [endRow](#data.endRow), [startColumn](#data.startColumn)
398
+ * and [endColumn](#data.endColumn) to delimit what part of the table
399
+ * is used. The [lineDelimiter](#data.lineDelimiter) and [itemDelimiter](
400
+ * #data.itemDelimiter) options define the CSV delimiter formats.
401
+ *
402
+ * The built-in CSV parser doesn't support all flavours of CSV, so in
403
+ * some cases it may be necessary to use an external CSV parser. See
404
+ * [this example](https://jsfiddle.net/highcharts/u59176h4/) of parsing
405
+ * CSV through the MIT licensed [Papa Parse](http://papaparse.com/)
406
+ * library.
407
+ *
408
+ * @sample {highcharts} highcharts/data/csv/
409
+ * Data from CSV
410
+ *
411
+ * @type {string}
412
+ * @since 4.0
413
+ * @apioption data.csv
414
+ */
415
+ /**
416
+ * Which of the predefined date formats in Date.prototype.dateFormats
417
+ * to use to parse date values. Defaults to a best guess based on what
418
+ * format gives valid and ordered dates. Valid options include: `YYYY/mm/dd`,
419
+ * `dd/mm/YYYY`, `mm/dd/YYYY`, `dd/mm/YY`, `mm/dd/YY`.
420
+ *
421
+ * @see [data.parseDate](#data.parseDate)
422
+ *
423
+ * @sample {highcharts} highcharts/data/dateformat-auto/
424
+ * Best guess date format
425
+ *
426
+ * @type {string}
427
+ * @since 4.0
428
+ * @validvalue ["YYYY/mm/dd", "dd/mm/YYYY", "mm/dd/YYYY", "dd/mm/YYYY",
429
+ * "dd/mm/YY", "mm/dd/YY"]
430
+ * @apioption data.dateFormat
431
+ */
432
+ /**
433
+ * The decimal point used for parsing numbers in the CSV.
434
+ *
435
+ * If both this and data.delimiter is set to `undefined`, the parser will
436
+ * attempt to deduce the decimal point automatically.
437
+ *
438
+ * @sample {highcharts} highcharts/data/delimiters/
439
+ * Comma as decimal point
440
+ *
441
+ * @type {string}
442
+ * @default .
443
+ * @since 4.1.0
444
+ * @apioption data.decimalPoint
445
+ */
446
+ /**
447
+ * In tabular input data, the last column (indexed by 0) to use. Defaults
448
+ * to the last column containing data.
449
+ *
450
+ * @sample {highcharts} highcharts/data/start-end/
451
+ * Limited data
452
+ *
453
+ * @type {number}
454
+ * @since 4.0
455
+ * @apioption data.endColumn
456
+ */
457
+ /**
458
+ * In tabular input data, the last row (indexed by 0) to use. Defaults
459
+ * to the last row containing data.
460
+ *
461
+ * @sample {highcharts} highcharts/data/start-end/
462
+ * Limited data
463
+ *
464
+ * @type {number}
465
+ * @since 4.0.4
466
+ * @apioption data.endRow
467
+ */
468
+ /**
469
+ * Whether to use the first row in the data set as series names.
470
+ *
471
+ * @sample {highcharts} highcharts/data/start-end/
472
+ * Don't get series names from the CSV
473
+ * @sample {highstock} highcharts/data/start-end/
474
+ * Don't get series names from the CSV
475
+ *
476
+ * @type {boolean}
477
+ * @default true
478
+ * @since 4.1.0
479
+ * @product highcharts highstock gantt
480
+ * @apioption data.firstRowAsNames
481
+ */
482
+ /**
483
+ * The Google Spreadsheet API key required for access generated at [API Services
484
+ * / Credentials](https://console.cloud.google.com/apis/credentials). See a
485
+ * comprehensive tutorial for setting up the key at the
486
+ * [Hands-On Data Visualization](https://handsondataviz.org/google-sheets-api-key.html)
487
+ * book website.
488
+ *
489
+ * @sample {highcharts} highcharts/data/google-spreadsheet/
490
+ * Load a Google Spreadsheet
491
+ *
492
+ * @type {string}
493
+ * @since 9.2.2
494
+ * @apioption data.googleAPIKey
495
+ */
496
+ /**
497
+ * The key or `spreadsheetId` value for a Google Spreadsheet to load. See
498
+ * [developers.google.com](https://developers.google.com/sheets/api/guides/concepts)
499
+ * for how to find the `spreadsheetId`.
500
+ *
501
+ * In order for Google Sheets to load, a valid [googleAPIKey](#data.googleAPIKey)
502
+ * must also be given.
503
+ *
504
+ * @sample {highcharts} highcharts/data/google-spreadsheet/
505
+ * Load a Google Spreadsheet
506
+ *
507
+ * @type {string}
508
+ * @since 4.0
509
+ * @apioption data.googleSpreadsheetKey
510
+ */
511
+ /**
512
+ * The Google Spreadsheet `range` to use in combination with
513
+ * [googleSpreadsheetKey](#data.googleSpreadsheetKey). See
514
+ * [developers.google.com](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/get)
515
+ * for details.
516
+ *
517
+ * If given, it takes precedence over `startColumn`, `endColumn`, `startRow` and
518
+ * `endRow`.
519
+ *
520
+ * @example
521
+ * googleSpreadsheetRange: 'Fruit Consumption' // Load a named worksheet
522
+ * googleSpreadsheetRange: 'A:Z' // Load columns A to Z
523
+ *
524
+ * @sample {highcharts} highcharts/data/google-spreadsheet/
525
+ * Load a Google Spreadsheet
526
+ *
527
+ * @type {string|undefined}
528
+ * @since 9.2.2
529
+ * @apioption data.googleSpreadsheetRange
530
+ */
531
+ /**
532
+ * No longer works since v9.2.2, that uses Google Sheets API v4. Instead, use
533
+ * the [googleSpreadsheetRange](#data.googleSpreadsheetRange) option to load a
534
+ * specific sheet.
535
+ *
536
+ * @deprecated
537
+ * @type {string}
538
+ * @since 4.0
539
+ * @apioption data.googleSpreadsheetWorksheet
540
+ */
541
+ /**
542
+ * Item or cell delimiter for parsing CSV. Defaults to the tab character
543
+ * `\t` if a tab character is found in the CSV string, if not it defaults
544
+ * to `,`.
545
+ *
546
+ * If this is set to false or undefined, the parser will attempt to deduce
547
+ * the delimiter automatically.
548
+ *
549
+ * @sample {highcharts} highcharts/data/delimiters/
550
+ * Delimiters
551
+ *
552
+ * @type {string}
553
+ * @since 4.0
554
+ * @apioption data.itemDelimiter
555
+ */
556
+ /**
557
+ * Line delimiter for parsing CSV.
558
+ *
559
+ * @sample {highcharts} highcharts/data/delimiters/
560
+ * Delimiters
561
+ *
562
+ * @type {string}
563
+ * @default \n
564
+ * @since 4.0
565
+ * @apioption data.lineDelimiter
566
+ */
567
+ /**
568
+ * A callback function to access the parsed columns, the two-dimentional
569
+ * input data array directly, before they are interpreted into series
570
+ * data and categories. Return `false` to stop completion, or call
571
+ * `this.complete()` to continue async.
572
+ *
573
+ * @see [data.complete](#data.complete)
574
+ *
575
+ * @sample {highcharts} highcharts/data/parsed/
576
+ * Modify data after parse
577
+ *
578
+ * @type {Highcharts.DataParsedCallbackFunction}
579
+ * @since 4.0
580
+ * @apioption data.parsed
581
+ */
582
+ /**
583
+ * A callback function to parse string representations of dates into
584
+ * JavaScript timestamps. Should return an integer timestamp on success.
585
+ *
586
+ * @see [dateFormat](#data.dateFormat)
587
+ *
588
+ * @type {Highcharts.DataParseDateCallbackFunction}
589
+ * @since 4.0
590
+ * @apioption data.parseDate
591
+ */
592
+ /**
593
+ * The same as the columns input option, but defining rows intead of
594
+ * columns.
595
+ *
596
+ * @see [data.columns](#data.columns)
597
+ *
598
+ * @sample {highcharts} highcharts/data/rows/
599
+ * Data in rows
600
+ *
601
+ * @type {Array<Array<Highcharts.DataValueType>>}
602
+ * @since 4.0
603
+ * @apioption data.rows
604
+ */
605
+ /**
606
+ * An array containing dictionaries for each series. A dictionary exists of
607
+ * Point property names as the key and the CSV column index as the value.
608
+ *
609
+ * @sample {highcharts} highcharts/data/seriesmapping-label/
610
+ * Label from data set
611
+ *
612
+ * @type {Array<Highcharts.Dictionary<number>>}
613
+ * @since 4.0.4
614
+ * @apioption data.seriesMapping
615
+ */
616
+ /**
617
+ * In tabular input data, the first column (indexed by 0) to use.
618
+ *
619
+ * @sample {highcharts} highcharts/data/start-end/
620
+ * Limited data
621
+ *
622
+ * @type {number}
623
+ * @default 0
624
+ * @since 4.0
625
+ * @apioption data.startColumn
626
+ */
627
+ /**
628
+ * In tabular input data, the first row (indexed by 0) to use.
629
+ *
630
+ * @sample {highcharts} highcharts/data/start-end/
631
+ * Limited data
632
+ *
633
+ * @type {number}
634
+ * @default 0
635
+ * @since 4.0
636
+ * @apioption data.startRow
637
+ */
638
+ /**
639
+ * Switch rows and columns of the input data, so that `this.columns`
640
+ * effectively becomes the rows of the data set, and the rows are interpreted
641
+ * as series.
642
+ *
643
+ * @sample {highcharts} highcharts/data/switchrowsandcolumns/
644
+ * Switch rows and columns
645
+ *
646
+ * @type {boolean}
647
+ * @default false
648
+ * @since 4.0
649
+ * @apioption data.switchRowsAndColumns
650
+ */
651
+ /**
652
+ * An HTML table or the id of such to be parsed as input data. Related
653
+ * options are `startRow`, `endRow`, `startColumn` and `endColumn` to
654
+ * delimit what part of the table is used.
655
+ *
656
+ * @sample {highcharts} highcharts/demo/column-parsed/
657
+ * Parsed table
658
+ *
659
+ * @type {string|global.HTMLElement}
660
+ * @since 4.0
661
+ * @apioption data.table
662
+ */
663
+ /**
664
+ * An URL to a remote CSV dataset. Will be fetched when the chart is created
665
+ * using Ajax.
666
+ *
667
+ * @sample highcharts/data/livedata-columns
668
+ * Categorized bar chart with CSV and live polling
669
+ * @sample highcharts/data/livedata-csv
670
+ * Time based line chart with CSV and live polling
671
+ *
672
+ * @type {string}
673
+ * @apioption data.csvURL
674
+ */
675
+ /**
676
+ * A URL to a remote JSON dataset, structured as a row array.
677
+ * Will be fetched when the chart is created using Ajax.
678
+ *
679
+ * @sample highcharts/data/livedata-rows
680
+ * Rows with live polling
681
+ *
682
+ * @type {string}
683
+ * @apioption data.rowsURL
684
+ */
685
+ /**
686
+ * A URL to a remote JSON dataset, structured as a column array.
687
+ * Will be fetched when the chart is created using Ajax.
688
+ *
689
+ * @sample highcharts/data/livedata-columns
690
+ * Columns with live polling
691
+ *
692
+ * @type {string}
693
+ * @apioption data.columnsURL
694
+ */
695
+ /**
696
+ * Sets the refresh rate for data polling when importing remote dataset by
697
+ * setting [data.csvURL](data.csvURL), [data.rowsURL](data.rowsURL),
698
+ * [data.columnsURL](data.columnsURL), or
699
+ * [data.googleSpreadsheetKey](data.googleSpreadsheetKey).
700
+ *
701
+ * Note that polling must be enabled by setting
702
+ * [data.enablePolling](data.enablePolling) to true.
703
+ *
704
+ * The value is the number of seconds between pollings.
705
+ * It cannot be set to less than 1 second.
706
+ *
707
+ * @sample highcharts/demo/live-data
708
+ * Live data with user set refresh rate
709
+ *
710
+ * @default 1
711
+ * @type {number}
712
+ * @apioption data.dataRefreshRate
713
+ */
714
+ /**
715
+ * Enables automatic refetching of remote datasets every _n_ seconds (defined by
716
+ * setting [data.dataRefreshRate](data.dataRefreshRate)).
717
+ *
718
+ * Only works when either [data.csvURL](data.csvURL),
719
+ * [data.rowsURL](data.rowsURL), [data.columnsURL](data.columnsURL), or
720
+ * [data.googleSpreadsheetKey](data.googleSpreadsheetKey).
721
+ *
722
+ * @sample highcharts/demo/live-data
723
+ * Live data
724
+ * @sample highcharts/data/livedata-columns
725
+ * Categorized bar chart with CSV and live polling
726
+ *
727
+ * @type {boolean}
728
+ * @default false
729
+ * @apioption data.enablePolling
730
+ */
731
+ /* eslint-disable valid-jsdoc */
732
+ /**
733
+ * The Data class
734
+ *
735
+ * @requires module:modules/data
736
+ *
737
+ * @class
738
+ * @name Highcharts.Data
739
+ *
740
+ * @param {Highcharts.DataOptions} dataOptions
741
+ *
742
+ * @param {Highcharts.Options} [chartOptions]
743
+ *
744
+ * @param {Highcharts.Chart} [chart]
745
+ */
746
+ var Data = /** @class */ (function () {
747
+ /* *
748
+ *
749
+ * Constructors
750
+ *
751
+ * */
752
+ function Data(dataOptions, chartOptions, chart) {
753
+ this.chart = void 0;
754
+ this.chartOptions = void 0;
755
+ this.firstRowAsNames = void 0;
756
+ this.rawColumns = void 0;
757
+ this.options = void 0;
758
+ /**
759
+ * A collection of available date formats, extendable from the outside to
760
+ * support custom date formats.
761
+ *
762
+ * @name Highcharts.Data#dateFormats
763
+ * @type {Highcharts.Dictionary<Highcharts.DataDateFormatObject>}
764
+ */
765
+ this.dateFormats = {
766
+ 'YYYY/mm/dd': {
767
+ regex: /^([0-9]{4})[\-\/\.]([0-9]{1,2})[\-\/\.]([0-9]{1,2})$/,
768
+ parser: function (match) {
769
+ return (match ?
770
+ Date.UTC(+match[1], match[2] - 1, +match[3]) :
771
+ NaN);
772
+ }
773
+ },
774
+ 'dd/mm/YYYY': {
775
+ regex: /^([0-9]{1,2})[\-\/\.]([0-9]{1,2})[\-\/\.]([0-9]{4})$/,
776
+ parser: function (match) {
777
+ return (match ?
778
+ Date.UTC(+match[3], match[2] - 1, +match[1]) :
779
+ NaN);
780
+ },
781
+ alternative: 'mm/dd/YYYY' // different format with the same regex
782
+ },
783
+ 'mm/dd/YYYY': {
784
+ regex: /^([0-9]{1,2})[\-\/\.]([0-9]{1,2})[\-\/\.]([0-9]{4})$/,
785
+ parser: function (match) {
786
+ return (match ?
787
+ Date.UTC(+match[3], match[1] - 1, +match[2]) :
788
+ NaN);
789
+ }
790
+ },
791
+ 'dd/mm/YY': {
792
+ regex: /^([0-9]{1,2})[\-\/\.]([0-9]{1,2})[\-\/\.]([0-9]{2})$/,
793
+ parser: function (match) {
794
+ if (!match) {
795
+ return NaN;
796
+ }
797
+ var year = +match[3],
798
+ d = new Date();
799
+ if (year > (d.getFullYear() - 2000)) {
800
+ year += 1900;
801
+ }
802
+ else {
803
+ year += 2000;
804
+ }
805
+ return Date.UTC(year, match[2] - 1, +match[1]);
806
+ },
807
+ alternative: 'mm/dd/YY' // different format with the same regex
808
+ },
809
+ 'mm/dd/YY': {
810
+ regex: /^([0-9]{1,2})[\-\/\.]([0-9]{1,2})[\-\/\.]([0-9]{2})$/,
811
+ parser: function (match) {
812
+ return (match ?
813
+ Date.UTC(+match[3] + 2000, match[1] - 1, +match[2]) :
814
+ NaN);
815
+ }
816
+ }
817
+ };
818
+ this.init(dataOptions, chartOptions, chart);
819
+ }
820
+ /* *
821
+ *
822
+ * Functions
823
+ *
824
+ * */
825
+ /**
826
+ * Initialize the Data object with the given options
827
+ *
828
+ * @private
829
+ * @function Highcharts.Data#init
830
+ */
831
+ Data.prototype.init = function (options, chartOptions, chart) {
832
+ var decimalPoint = options.decimalPoint,
833
+ hasData;
834
+ if (chartOptions) {
835
+ this.chartOptions = chartOptions;
836
+ }
837
+ if (chart) {
838
+ this.chart = chart;
839
+ }
840
+ if (decimalPoint !== '.' && decimalPoint !== ',') {
841
+ decimalPoint = void 0;
842
+ }
843
+ this.options = options;
844
+ this.columns = (options.columns ||
845
+ this.rowsToColumns(options.rows) ||
846
+ []);
847
+ this.firstRowAsNames = pick(options.firstRowAsNames, this.firstRowAsNames, true);
848
+ this.decimalRegex = (decimalPoint &&
849
+ new RegExp('^(-?[0-9]+)' + decimalPoint + '([0-9]+)$'));
850
+ // This is a two-dimensional array holding the raw, trimmed string
851
+ // values with the same organisation as the columns array. It makes it
852
+ // possible for example to revert from interpreted timestamps to
853
+ // string-based categories.
854
+ this.rawColumns = [];
855
+ // No need to parse or interpret anything
856
+ if (this.columns.length) {
857
+ this.dataFound();
858
+ hasData = true;
859
+ }
860
+ if (this.hasURLOption(options)) {
861
+ clearTimeout(this.liveDataTimeout);
862
+ hasData = false;
863
+ }
864
+ if (!hasData) {
865
+ // Fetch live data
866
+ hasData = this.fetchLiveData();
867
+ }
868
+ if (!hasData) {
869
+ // Parse a CSV string if options.csv is given. The parseCSV function
870
+ // returns a columns array, if it has no length, we have no data
871
+ hasData = Boolean(this.parseCSV().length);
872
+ }
873
+ if (!hasData) {
874
+ // Parse a HTML table if options.table is given
875
+ hasData = Boolean(this.parseTable().length);
876
+ }
877
+ if (!hasData) {
878
+ // Parse a Google Spreadsheet
879
+ hasData = this.parseGoogleSpreadsheet();
880
+ }
881
+ if (!hasData && options.afterComplete) {
882
+ options.afterComplete();
883
+ }
884
+ };
885
+ Data.prototype.hasURLOption = function (options) {
886
+ return Boolean(options &&
887
+ (options.rowsURL || options.csvURL || options.columnsURL));
888
+ };
889
+ /**
890
+ * Get the column distribution. For example, a line series takes a single
891
+ * column for Y values. A range series takes two columns for low and high
892
+ * values respectively, and an OHLC series takes four columns.
893
+ *
894
+ * @function Highcharts.Data#getColumnDistribution
895
+ */
896
+ Data.prototype.getColumnDistribution = function () {
897
+ var chartOptions = this.chartOptions,
898
+ options = this.options,
899
+ xColumns = [],
900
+ getValueCount = function (type) {
901
+ return (seriesTypes[type || 'line'].prototype.pointArrayMap || [0]).length;
902
+ }, getPointArrayMap = function (type) {
903
+ return seriesTypes[type || 'line'].prototype.pointArrayMap;
904
+ }, globalType = (chartOptions &&
905
+ chartOptions.chart &&
906
+ chartOptions.chart.type), individualCounts = [], seriesBuilders = [], seriesIndex = 0,
907
+ // If no series mapping is defined, check if the series array is
908
+ // defined with types.
909
+ seriesMapping = ((options && options.seriesMapping) ||
910
+ (chartOptions &&
911
+ chartOptions.series &&
912
+ chartOptions.series.map(function () {
913
+ return { x: 0 };
914
+ })) ||
915
+ []), i;
916
+ ((chartOptions && chartOptions.series) || []).forEach(function (series) {
917
+ individualCounts.push(getValueCount(series.type || globalType));
918
+ });
919
+ // Collect the x-column indexes from seriesMapping
920
+ seriesMapping.forEach(function (mapping) {
921
+ xColumns.push(mapping.x || 0);
922
+ });
923
+ // If there are no defined series with x-columns, use the first column
924
+ // as x column
925
+ if (xColumns.length === 0) {
926
+ xColumns.push(0);
927
+ }
928
+ // Loop all seriesMappings and constructs SeriesBuilders from
929
+ // the mapping options.
930
+ seriesMapping.forEach(function (mapping) {
931
+ var builder = new SeriesBuilder(),
932
+ numberOfValueColumnsNeeded = individualCounts[seriesIndex] ||
933
+ getValueCount(globalType),
934
+ seriesArr = (chartOptions && chartOptions.series) || [],
935
+ series = seriesArr[seriesIndex] || {},
936
+ defaultPointArrayMap = getPointArrayMap(series.type || globalType),
937
+ pointArrayMap = defaultPointArrayMap || ['y'];
938
+ if (
939
+ // User-defined x.mapping
940
+ defined(mapping.x) ||
941
+ // All non cartesian don't need 'x'
942
+ series.isCartesian ||
943
+ // Except pie series:
944
+ !defaultPointArrayMap) {
945
+ // Add an x reader from the x property or from an undefined
946
+ // column if the property is not set. It will then be auto
947
+ // populated later.
948
+ builder.addColumnReader(mapping.x, 'x');
949
+ }
950
+ // Add all column mappings
951
+ objectEach(mapping, function (val, name) {
952
+ if (name !== 'x') {
953
+ builder.addColumnReader(val, name);
954
+ }
955
+ });
956
+ // Add missing columns
957
+ for (i = 0; i < numberOfValueColumnsNeeded; i++) {
958
+ if (!builder.hasReader(pointArrayMap[i])) {
959
+ // Create and add a column reader for the next free column
960
+ // index
961
+ builder.addColumnReader(void 0, pointArrayMap[i]);
962
+ }
963
+ }
964
+ seriesBuilders.push(builder);
965
+ seriesIndex++;
966
+ });
967
+ var globalPointArrayMap = getPointArrayMap(globalType);
968
+ if (typeof globalPointArrayMap === 'undefined') {
969
+ globalPointArrayMap = ['y'];
970
+ }
971
+ this.valueCount = {
972
+ global: getValueCount(globalType),
973
+ xColumns: xColumns,
974
+ individual: individualCounts,
975
+ seriesBuilders: seriesBuilders,
976
+ globalPointArrayMap: globalPointArrayMap
977
+ };
978
+ };
979
+ /**
980
+ * When the data is parsed into columns, either by CSV, table, GS or direct
981
+ * input, continue with other operations.
982
+ *
983
+ * @private
984
+ * @function Highcharts.Data#dataFound
985
+ */
986
+ Data.prototype.dataFound = function () {
987
+ if (this.options.switchRowsAndColumns) {
988
+ this.columns = this.rowsToColumns(this.columns);
989
+ }
990
+ // Interpret the info about series and columns
991
+ this.getColumnDistribution();
992
+ // Interpret the values into right types
993
+ this.parseTypes();
994
+ // Handle columns if a handleColumns callback is given
995
+ if (this.parsed() !== false) {
996
+ // Complete if a complete callback is given
997
+ this.complete();
998
+ }
999
+ };
1000
+ /**
1001
+ * Parse a CSV input string
1002
+ *
1003
+ * @function Highcharts.Data#parseCSV
1004
+ */
1005
+ Data.prototype.parseCSV = function (inOptions) {
1006
+ var self = this, options = inOptions || this.options, csv = options.csv, columns, startRow = (typeof options.startRow !== 'undefined' && options.startRow ?
1007
+ options.startRow :
1008
+ 0), endRow = options.endRow || Number.MAX_VALUE, startColumn = (typeof options.startColumn !== 'undefined' &&
1009
+ options.startColumn) ? options.startColumn : 0, endColumn = options.endColumn || Number.MAX_VALUE, itemDelimiter, lines, rowIt = 0,
1010
+ // activeRowNo = 0,
1011
+ dataTypes = [],
1012
+ // We count potential delimiters in the prepass, and use the
1013
+ // result as the basis of half-intelligent guesses.
1014
+ potDelimiters = {
1015
+ ',': 0,
1016
+ ';': 0,
1017
+ '\t': 0
1018
+ };
1019
+ columns = this.columns = [];
1020
+ /*
1021
+ This implementation is quite verbose. It will be shortened once
1022
+ it's stable and passes all the test.
1023
+
1024
+ It's also not written with speed in mind, instead everything is
1025
+ very seggregated, and there a several redundant loops.
1026
+ This is to make it easier to stabilize the code initially.
1027
+
1028
+ We do a pre-pass on the first 4 rows to make some intelligent
1029
+ guesses on the set. Guessed delimiters are in this pass counted.
1030
+
1031
+ Auto detecting delimiters
1032
+ - If we meet a quoted string, the next symbol afterwards
1033
+ (that's not \s, \t) is the delimiter
1034
+ - If we meet a date, the next symbol afterwards is the delimiter
1035
+
1036
+ Date formats
1037
+ - If we meet a column with date formats, check all of them to
1038
+ see if one of the potential months crossing 12. If it does,
1039
+ we now know the format
1040
+
1041
+ It would make things easier to guess the delimiter before
1042
+ doing the actual parsing.
1043
+
1044
+ General rules:
1045
+ - Quoting is allowed, e.g: "Col 1",123,321
1046
+ - Quoting is optional, e.g.: Col1,123,321
1047
+ - Doubble quoting is escaping, e.g. "Col ""Hello world""",123
1048
+ - Spaces are considered part of the data: Col1 ,123
1049
+ - New line is always the row delimiter
1050
+ - Potential column delimiters are , ; \t
1051
+ - First row may optionally contain headers
1052
+ - The last row may or may not have a row delimiter
1053
+ - Comments are optionally supported, in which case the comment
1054
+ must start at the first column, and the rest of the line will
1055
+ be ignored
1056
+ */
1057
+ /**
1058
+ * Parse a single row.
1059
+ * @private
1060
+ */
1061
+ function parseRow(columnStr, rowNumber, noAdd, callbacks) {
1062
+ var i = 0, c = '', cl = '', cn = '', token = '', actualColumn = 0, column = 0;
1063
+ /**
1064
+ * @private
1065
+ */
1066
+ function read(j) {
1067
+ c = columnStr[j];
1068
+ cl = columnStr[j - 1];
1069
+ cn = columnStr[j + 1];
1070
+ }
1071
+ /**
1072
+ * @private
1073
+ */
1074
+ function pushType(type) {
1075
+ if (dataTypes.length < column + 1) {
1076
+ dataTypes.push([type]);
1077
+ }
1078
+ if (dataTypes[column][dataTypes[column].length - 1] !== type) {
1079
+ dataTypes[column].push(type);
1080
+ }
1081
+ }
1082
+ /**
1083
+ * @private
1084
+ */
1085
+ function push() {
1086
+ if (startColumn > actualColumn || actualColumn > endColumn) {
1087
+ // Skip this column, but increment the column count (#7272)
1088
+ ++actualColumn;
1089
+ token = '';
1090
+ return;
1091
+ }
1092
+ if (!isNaN(parseFloat(token)) && isFinite(token)) {
1093
+ token = parseFloat(token);
1094
+ pushType('number');
1095
+ }
1096
+ else if (!isNaN(Date.parse(token))) {
1097
+ token = token.replace(/\//g, '-');
1098
+ pushType('date');
1099
+ }
1100
+ else {
1101
+ pushType('string');
1102
+ }
1103
+ if (columns.length < column + 1) {
1104
+ columns.push([]);
1105
+ }
1106
+ if (!noAdd) {
1107
+ // Don't push - if there's a varrying amount of columns
1108
+ // for each row, pushing will skew everything down n slots
1109
+ columns[column][rowNumber] = token;
1110
+ }
1111
+ token = '';
1112
+ ++column;
1113
+ ++actualColumn;
1114
+ }
1115
+ if (!columnStr.trim().length) {
1116
+ return;
1117
+ }
1118
+ if (columnStr.trim()[0] === '#') {
1119
+ return;
1120
+ }
1121
+ for (; i < columnStr.length; i++) {
1122
+ read(i);
1123
+ if (c === '"') {
1124
+ read(++i);
1125
+ while (i < columnStr.length) {
1126
+ if (c === '"' && cl !== '"' && cn !== '"') {
1127
+ break;
1128
+ }
1129
+ if (c !== '"' || (c === '"' && cl !== '"')) {
1130
+ token += c;
1131
+ }
1132
+ read(++i);
1133
+ }
1134
+ // Perform "plugin" handling
1135
+ }
1136
+ else if (callbacks && callbacks[c]) {
1137
+ if (callbacks[c](c, token)) {
1138
+ push();
1139
+ }
1140
+ // Delimiter - push current token
1141
+ }
1142
+ else if (c === itemDelimiter) {
1143
+ push();
1144
+ // Actual column data
1145
+ }
1146
+ else {
1147
+ token += c;
1148
+ }
1149
+ }
1150
+ push();
1151
+ }
1152
+ /**
1153
+ * Attempt to guess the delimiter. We do a separate parse pass here
1154
+ * because we need to count potential delimiters softly without making
1155
+ * any assumptions.
1156
+ * @private
1157
+ */
1158
+ function guessDelimiter(lines) {
1159
+ var points = 0,
1160
+ commas = 0,
1161
+ guessed = false;
1162
+ lines.some(function (columnStr, i) {
1163
+ var inStr = false,
1164
+ c,
1165
+ cn,
1166
+ cl,
1167
+ token = '';
1168
+ // We should be able to detect dateformats within 13 rows
1169
+ if (i > 13) {
1170
+ return true;
1171
+ }
1172
+ for (var j = 0; j < columnStr.length; j++) {
1173
+ c = columnStr[j];
1174
+ cn = columnStr[j + 1];
1175
+ cl = columnStr[j - 1];
1176
+ if (c === '#') {
1177
+ // Skip the rest of the line - it's a comment
1178
+ return;
1179
+ }
1180
+ if (c === '"') {
1181
+ if (inStr) {
1182
+ if (cl !== '"' && cn !== '"') {
1183
+ while (cn === ' ' && j < columnStr.length) {
1184
+ cn = columnStr[++j];
1185
+ }
1186
+ // After parsing a string, the next non-blank
1187
+ // should be a delimiter if the CSV is properly
1188
+ // formed.
1189
+ if (typeof potDelimiters[cn] !== 'undefined') {
1190
+ potDelimiters[cn]++;
1191
+ }
1192
+ inStr = false;
1193
+ }
1194
+ }
1195
+ else {
1196
+ inStr = true;
1197
+ }
1198
+ }
1199
+ else if (typeof potDelimiters[c] !== 'undefined') {
1200
+ token = token.trim();
1201
+ if (!isNaN(Date.parse(token))) {
1202
+ potDelimiters[c]++;
1203
+ }
1204
+ else if (isNaN(token) ||
1205
+ !isFinite(token)) {
1206
+ potDelimiters[c]++;
1207
+ }
1208
+ token = '';
1209
+ }
1210
+ else {
1211
+ token += c;
1212
+ }
1213
+ if (c === ',') {
1214
+ commas++;
1215
+ }
1216
+ if (c === '.') {
1217
+ points++;
1218
+ }
1219
+ }
1220
+ });
1221
+ // Count the potential delimiters.
1222
+ // This could be improved by checking if the number of delimiters
1223
+ // equals the number of columns - 1
1224
+ if (potDelimiters[';'] > potDelimiters[',']) {
1225
+ guessed = ';';
1226
+ }
1227
+ else if (potDelimiters[','] > potDelimiters[';']) {
1228
+ guessed = ',';
1229
+ }
1230
+ else {
1231
+ // No good guess could be made..
1232
+ guessed = ',';
1233
+ }
1234
+ // Try to deduce the decimal point if it's not explicitly set.
1235
+ // If both commas or points is > 0 there is likely an issue
1236
+ if (!options.decimalPoint) {
1237
+ if (points > commas) {
1238
+ options.decimalPoint = '.';
1239
+ }
1240
+ else {
1241
+ options.decimalPoint = ',';
1242
+ }
1243
+ // Apply a new decimal regex based on the presumed decimal sep.
1244
+ self.decimalRegex = new RegExp('^(-?[0-9]+)' +
1245
+ options.decimalPoint +
1246
+ '([0-9]+)$');
1247
+ }
1248
+ return guessed;
1249
+ }
1250
+ /**
1251
+ * Tries to guess the date format
1252
+ * - Check if either month candidate exceeds 12
1253
+ * - Check if year is missing (use current year)
1254
+ * - Check if a shortened year format is used (e.g. 1/1/99)
1255
+ * - If no guess can be made, the user must be prompted
1256
+ * data is the data to deduce a format based on
1257
+ * @private
1258
+ */
1259
+ function deduceDateFormat(data, limit) {
1260
+ var format = 'YYYY/mm/dd',
1261
+ thing,
1262
+ guessedFormat = [],
1263
+ calculatedFormat,
1264
+ i = 0,
1265
+ madeDeduction = false,
1266
+ // candidates = {},
1267
+ stable = [],
1268
+ max = [],
1269
+ j;
1270
+ if (!limit || limit > data.length) {
1271
+ limit = data.length;
1272
+ }
1273
+ for (; i < limit; i++) {
1274
+ if (typeof data[i] !== 'undefined' &&
1275
+ data[i] && data[i].length) {
1276
+ thing = data[i]
1277
+ .trim()
1278
+ .replace(/\//g, ' ')
1279
+ .replace(/\-/g, ' ')
1280
+ .replace(/\./g, ' ')
1281
+ .split(' ');
1282
+ guessedFormat = [
1283
+ '',
1284
+ '',
1285
+ ''
1286
+ ];
1287
+ for (j = 0; j < thing.length; j++) {
1288
+ if (j < guessedFormat.length) {
1289
+ thing[j] = parseInt(thing[j], 10);
1290
+ if (thing[j]) {
1291
+ max[j] = (!max[j] || max[j] < thing[j]) ?
1292
+ thing[j] :
1293
+ max[j];
1294
+ if (typeof stable[j] !== 'undefined') {
1295
+ if (stable[j] !== thing[j]) {
1296
+ stable[j] = false;
1297
+ }
1298
+ }
1299
+ else {
1300
+ stable[j] = thing[j];
1301
+ }
1302
+ if (thing[j] > 31) {
1303
+ if (thing[j] < 100) {
1304
+ guessedFormat[j] = 'YY';
1305
+ }
1306
+ else {
1307
+ guessedFormat[j] = 'YYYY';
1308
+ }
1309
+ // madeDeduction = true;
1310
+ }
1311
+ else if (thing[j] > 12 &&
1312
+ thing[j] <= 31) {
1313
+ guessedFormat[j] = 'dd';
1314
+ madeDeduction = true;
1315
+ }
1316
+ else if (!guessedFormat[j].length) {
1317
+ guessedFormat[j] = 'mm';
1318
+ }
1319
+ }
1320
+ }
1321
+ }
1322
+ }
1323
+ }
1324
+ if (madeDeduction) {
1325
+ // This handles a few edge cases with hard to guess dates
1326
+ for (j = 0; j < stable.length; j++) {
1327
+ if (stable[j] !== false) {
1328
+ if (max[j] > 12 &&
1329
+ guessedFormat[j] !== 'YY' &&
1330
+ guessedFormat[j] !== 'YYYY') {
1331
+ guessedFormat[j] = 'YY';
1332
+ }
1333
+ }
1334
+ else if (max[j] > 12 && guessedFormat[j] === 'mm') {
1335
+ guessedFormat[j] = 'dd';
1336
+ }
1337
+ }
1338
+ // If the middle one is dd, and the last one is dd,
1339
+ // the last should likely be year.
1340
+ if (guessedFormat.length === 3 &&
1341
+ guessedFormat[1] === 'dd' &&
1342
+ guessedFormat[2] === 'dd') {
1343
+ guessedFormat[2] = 'YY';
1344
+ }
1345
+ calculatedFormat = guessedFormat.join('/');
1346
+ // If the caculated format is not valid, we need to present an
1347
+ // error.
1348
+ if (!(options.dateFormats || self.dateFormats)[calculatedFormat]) {
1349
+ // This should emit an event instead
1350
+ fireEvent('deduceDateFailed');
1351
+ return format;
1352
+ }
1353
+ return calculatedFormat;
1354
+ }
1355
+ return format;
1356
+ }
1357
+ /**
1358
+ * @todo
1359
+ * Figure out the best axis types for the data
1360
+ * - If the first column is a number, we're good
1361
+ * - If the first column is a date, set to date/time
1362
+ * - If the first column is a string, set to categories
1363
+ * @private
1364
+ */
1365
+ function deduceAxisTypes() {
1366
+ }
1367
+ if (csv && options.beforeParse) {
1368
+ csv = options.beforeParse.call(this, csv);
1369
+ }
1370
+ if (csv) {
1371
+ lines = csv
1372
+ .replace(/\r\n/g, '\n') // Unix
1373
+ .replace(/\r/g, '\n') // Mac
1374
+ .split(options.lineDelimiter || '\n');
1375
+ if (!startRow || startRow < 0) {
1376
+ startRow = 0;
1377
+ }
1378
+ if (!endRow || endRow >= lines.length) {
1379
+ endRow = lines.length - 1;
1380
+ }
1381
+ if (options.itemDelimiter) {
1382
+ itemDelimiter = options.itemDelimiter;
1383
+ }
1384
+ else {
1385
+ itemDelimiter = null;
1386
+ itemDelimiter = guessDelimiter(lines);
1387
+ }
1388
+ var offset = 0;
1389
+ for (rowIt = startRow; rowIt <= endRow; rowIt++) {
1390
+ if (lines[rowIt][0] === '#') {
1391
+ offset++;
1392
+ }
1393
+ else {
1394
+ parseRow(lines[rowIt], rowIt - startRow - offset);
1395
+ }
1396
+ }
1397
+ // //Make sure that there's header columns for everything
1398
+ // columns.forEach(function (col) {
1399
+ // });
1400
+ deduceAxisTypes();
1401
+ if ((!options.columnTypes || options.columnTypes.length === 0) &&
1402
+ dataTypes.length &&
1403
+ dataTypes[0].length &&
1404
+ dataTypes[0][1] === 'date' &&
1405
+ !options.dateFormat) {
1406
+ options.dateFormat = deduceDateFormat(columns[0]);
1407
+ }
1408
+ // lines.forEach(function (line, rowNo) {
1409
+ // let trimmed = self.trim(line),
1410
+ // isComment = trimmed.indexOf('#') === 0,
1411
+ // isBlank = trimmed === '',
1412
+ // items;
1413
+ // if (
1414
+ // rowNo >= startRow &&
1415
+ // rowNo <= endRow &&
1416
+ // !isComment && !isBlank
1417
+ // ) {
1418
+ // items = line.split(itemDelimiter);
1419
+ // items.forEach(function (item, colNo) {
1420
+ // if (colNo >= startColumn && colNo <= endColumn) {
1421
+ // if (!columns[colNo - startColumn]) {
1422
+ // columns[colNo - startColumn] = [];
1423
+ // }
1424
+ // columns[colNo - startColumn][activeRowNo] = item;
1425
+ // }
1426
+ // });
1427
+ // activeRowNo += 1;
1428
+ // }
1429
+ // });
1430
+ //
1431
+ this.dataFound();
1432
+ }
1433
+ return columns;
1434
+ };
1435
+ /**
1436
+ * Parse a HTML table
1437
+ *
1438
+ * @function Highcharts.Data#parseTable
1439
+ */
1440
+ Data.prototype.parseTable = function () {
1441
+ var options = this.options,
1442
+ table = options.table,
1443
+ columns = this.columns || [],
1444
+ startRow = options.startRow || 0,
1445
+ endRow = options.endRow || Number.MAX_VALUE,
1446
+ startColumn = options.startColumn || 0,
1447
+ endColumn = options.endColumn || Number.MAX_VALUE;
1448
+ if (table) {
1449
+ if (typeof table === 'string') {
1450
+ table = doc.getElementById(table);
1451
+ }
1452
+ [].forEach.call(table.getElementsByTagName('tr'), function (tr, rowNo) {
1453
+ if (rowNo >= startRow && rowNo <= endRow) {
1454
+ [].forEach.call(tr.children, function (item, colNo) {
1455
+ var row = columns[colNo - startColumn];
1456
+ var i = 1;
1457
+ if ((item.tagName === 'TD' ||
1458
+ item.tagName === 'TH') &&
1459
+ colNo >= startColumn &&
1460
+ colNo <= endColumn) {
1461
+ if (!columns[colNo - startColumn]) {
1462
+ columns[colNo - startColumn] = [];
1463
+ }
1464
+ columns[colNo - startColumn][rowNo - startRow] = item.innerHTML;
1465
+ // Loop over all previous indices and make sure
1466
+ // they are nulls, not undefined.
1467
+ while (rowNo - startRow >= i &&
1468
+ row[rowNo - startRow - i] === void 0) {
1469
+ row[rowNo - startRow - i] = null;
1470
+ i++;
1471
+ }
1472
+ }
1473
+ });
1474
+ }
1475
+ });
1476
+ this.dataFound(); // continue
1477
+ }
1478
+ return columns;
1479
+ };
1480
+ /**
1481
+ * Fetch or refetch live data
1482
+ *
1483
+ * @function Highcharts.Data#fetchLiveData
1484
+ *
1485
+ * @return {boolean}
1486
+ * The URLs that were tried can be found in the options
1487
+ */
1488
+ Data.prototype.fetchLiveData = function () {
1489
+ var data = this,
1490
+ chart = this.chart,
1491
+ options = this.options,
1492
+ maxRetries = 3,
1493
+ currentRetries = 0,
1494
+ pollingEnabled = options.enablePolling,
1495
+ updateIntervalMs = (options.dataRefreshRate || 2) * 1000,
1496
+ originalOptions = merge(options);
1497
+ if (!this.hasURLOption(options)) {
1498
+ return false;
1499
+ }
1500
+ // Do not allow polling more than once a second
1501
+ if (updateIntervalMs < 1000) {
1502
+ updateIntervalMs = 1000;
1503
+ }
1504
+ delete options.csvURL;
1505
+ delete options.rowsURL;
1506
+ delete options.columnsURL;
1507
+ /**
1508
+ * @private
1509
+ */
1510
+ function performFetch(initialFetch) {
1511
+ /**
1512
+ * Helper function for doing the data fetch + polling.
1513
+ * @private
1514
+ */
1515
+ function request(url, done, tp) {
1516
+ if (!url ||
1517
+ !/^(http|\/|\.\/|\.\.\/)/.test(url)) {
1518
+ if (url && options.error) {
1519
+ options.error('Invalid URL');
1520
+ }
1521
+ return false;
1522
+ }
1523
+ if (initialFetch) {
1524
+ clearTimeout(data.liveDataTimeout);
1525
+ chart.liveDataURL = url;
1526
+ }
1527
+ /**
1528
+ * @private
1529
+ */
1530
+ function poll() {
1531
+ // Poll
1532
+ if (pollingEnabled && chart.liveDataURL === url) {
1533
+ // We need to stop doing this if the URL has changed
1534
+ data.liveDataTimeout =
1535
+ setTimeout(performFetch, updateIntervalMs);
1536
+ }
1537
+ }
1538
+ ajax({
1539
+ url: url,
1540
+ dataType: tp || 'json',
1541
+ success: function (res) {
1542
+ if (chart && chart.series) {
1543
+ done(res);
1544
+ }
1545
+ poll();
1546
+ },
1547
+ error: function (xhr, text) {
1548
+ if (++currentRetries < maxRetries) {
1549
+ poll();
1550
+ }
1551
+ return options.error && options.error(text, xhr);
1552
+ }
1553
+ });
1554
+ return true;
1555
+ }
1556
+ if (!request(originalOptions.csvURL, function (res) {
1557
+ chart.update({
1558
+ data: {
1559
+ csv: res
1560
+ }
1561
+ });
1562
+ }, 'text')) {
1563
+ if (!request(originalOptions.rowsURL, function (res) {
1564
+ chart.update({
1565
+ data: {
1566
+ rows: res
1567
+ }
1568
+ });
1569
+ })) {
1570
+ request(originalOptions.columnsURL, function (res) {
1571
+ chart.update({
1572
+ data: {
1573
+ columns: res
1574
+ }
1575
+ });
1576
+ });
1577
+ }
1578
+ }
1579
+ }
1580
+ performFetch(true);
1581
+ return this.hasURLOption(options);
1582
+ };
1583
+ /**
1584
+ * Parse a Google spreadsheet.
1585
+ *
1586
+ * @function Highcharts.Data#parseGoogleSpreadsheet
1587
+ *
1588
+ * @return {boolean}
1589
+ * Always returns false, because it is an intermediate fetch.
1590
+ */
1591
+ Data.prototype.parseGoogleSpreadsheet = function () {
1592
+ var data = this,
1593
+ options = this.options,
1594
+ googleSpreadsheetKey = options.googleSpreadsheetKey,
1595
+ chart = this.chart,
1596
+ refreshRate = Math.max((options.dataRefreshRate || 2) * 1000, 4000);
1597
+ /**
1598
+ * Form the `values` field after range settings, unless the
1599
+ * googleSpreadsheetRange option is set.
1600
+ */
1601
+ var getRange = function () {
1602
+ if (options.googleSpreadsheetRange) {
1603
+ return options.googleSpreadsheetRange;
1604
+ }
1605
+ var alphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';
1606
+ var start = (alphabet.charAt(options.startColumn || 0) || 'A') +
1607
+ ((options.startRow || 0) + 1);
1608
+ var end = alphabet.charAt(pick(options.endColumn, -1)) || 'ZZ';
1609
+ if (defined(options.endRow)) {
1610
+ end += options.endRow + 1;
1611
+ }
1612
+ return start + ":" + end;
1613
+ };
1614
+ /**
1615
+ * Fetch the actual spreadsheet using XMLHttpRequest.
1616
+ * @private
1617
+ */
1618
+ function fetchSheet(fn) {
1619
+ var url = [
1620
+ 'https://sheets.googleapis.com/v4/spreadsheets',
1621
+ googleSpreadsheetKey,
1622
+ 'values',
1623
+ getRange(),
1624
+ '?alt=json&' +
1625
+ 'majorDimension=COLUMNS&' +
1626
+ 'valueRenderOption=UNFORMATTED_VALUE&' +
1627
+ 'dateTimeRenderOption=FORMATTED_STRING&' +
1628
+ 'key=' + options.googleAPIKey
1629
+ ].join('/');
1630
+ ajax({
1631
+ url: url,
1632
+ dataType: 'json',
1633
+ success: function (json) {
1634
+ fn(json);
1635
+ if (options.enablePolling) {
1636
+ setTimeout(function () {
1637
+ fetchSheet(fn);
1638
+ }, refreshRate);
1639
+ }
1640
+ },
1641
+ error: function (xhr, text) {
1642
+ return options.error && options.error(text, xhr);
1643
+ }
1644
+ });
1645
+ }
1646
+ if (googleSpreadsheetKey) {
1647
+ delete options.googleSpreadsheetKey;
1648
+ fetchSheet(function (json) {
1649
+ // Prepare the data from the spreadsheat
1650
+ var columns = json.values;
1651
+ if (!columns || columns.length === 0) {
1652
+ return false;
1653
+ }
1654
+ // Find the maximum row count in order to extend shorter columns
1655
+ var rowCount = columns.reduce(function (rowCount,
1656
+ column) { return Math.max(rowCount,
1657
+ column.length); }, 0);
1658
+ // Insert null for empty spreadsheet cells (#5298)
1659
+ columns.forEach(function (column) {
1660
+ for (var i = 0; i < rowCount; i++) {
1661
+ if (typeof column[i] === 'undefined') {
1662
+ column[i] = null;
1663
+ }
1664
+ }
1665
+ });
1666
+ if (chart && chart.series) {
1667
+ chart.update({
1668
+ data: {
1669
+ columns: columns
1670
+ }
1671
+ });
1672
+ }
1673
+ else { // #8245
1674
+ data.columns = columns;
1675
+ data.dataFound();
1676
+ }
1677
+ });
1678
+ }
1679
+ // This is an intermediate fetch, so always return false.
1680
+ return false;
1681
+ };
1682
+ /**
1683
+ * Trim a string from whitespaces.
1684
+ *
1685
+ * @function Highcharts.Data#trim
1686
+ *
1687
+ * @param {string} str
1688
+ * String to trim
1689
+ *
1690
+ * @param {boolean} [inside=false]
1691
+ * Remove all spaces between numbers.
1692
+ *
1693
+ * @return {string}
1694
+ * Trimed string
1695
+ */
1696
+ Data.prototype.trim = function (str, inside) {
1697
+ if (typeof str === 'string') {
1698
+ str = str.replace(/^\s+|\s+$/g, '');
1699
+ // Clear white space insdie the string, like thousands separators
1700
+ if (inside && /^[0-9\s]+$/.test(str)) {
1701
+ str = str.replace(/\s/g, '');
1702
+ }
1703
+ if (this.decimalRegex) {
1704
+ str = str.replace(this.decimalRegex, '$1.$2');
1705
+ }
1706
+ }
1707
+ return str;
1708
+ };
1709
+ /**
1710
+ * Parse numeric cells in to number types and date types in to true dates.
1711
+ *
1712
+ * @function Highcharts.Data#parseTypes
1713
+ */
1714
+ Data.prototype.parseTypes = function () {
1715
+ var columns = this.columns,
1716
+ col = columns.length;
1717
+ while (col--) {
1718
+ this.parseColumn(columns[col], col);
1719
+ }
1720
+ };
1721
+ /**
1722
+ * Parse a single column. Set properties like .isDatetime and .isNumeric.
1723
+ *
1724
+ * @function Highcharts.Data#parseColumn
1725
+ *
1726
+ * @param {Array<Highcharts.DataValueType>} column
1727
+ * Column to parse
1728
+ *
1729
+ * @param {number} col
1730
+ * Column index
1731
+ */
1732
+ Data.prototype.parseColumn = function (column, col) {
1733
+ var rawColumns = this.rawColumns,
1734
+ columns = this.columns,
1735
+ row = column.length,
1736
+ val,
1737
+ floatVal,
1738
+ trimVal,
1739
+ trimInsideVal,
1740
+ firstRowAsNames = this.firstRowAsNames,
1741
+ isXColumn = this.valueCount.xColumns.indexOf(col) !== -1,
1742
+ dateVal,
1743
+ backup = [],
1744
+ diff,
1745
+ chartOptions = this.chartOptions,
1746
+ descending,
1747
+ columnTypes = this.options.columnTypes || [],
1748
+ columnType = columnTypes[col],
1749
+ forceCategory = isXColumn && ((chartOptions &&
1750
+ chartOptions.xAxis &&
1751
+ splat(chartOptions.xAxis)[0].type === 'category') || columnType === 'string');
1752
+ if (!rawColumns[col]) {
1753
+ rawColumns[col] = [];
1754
+ }
1755
+ while (row--) {
1756
+ val = backup[row] || column[row];
1757
+ trimVal = this.trim(val);
1758
+ trimInsideVal = this.trim(val, true);
1759
+ floatVal = parseFloat(trimInsideVal);
1760
+ // Set it the first time
1761
+ if (typeof rawColumns[col][row] === 'undefined') {
1762
+ rawColumns[col][row] = trimVal;
1763
+ }
1764
+ // Disable number or date parsing by setting the X axis type to
1765
+ // category
1766
+ if (forceCategory || (row === 0 && firstRowAsNames)) {
1767
+ column[row] = '' + trimVal;
1768
+ }
1769
+ else if (+trimInsideVal === floatVal) { // is numeric
1770
+ column[row] = floatVal;
1771
+ // If the number is greater than milliseconds in a year, assume
1772
+ // datetime
1773
+ if (floatVal > 365 * 24 * 3600 * 1000 &&
1774
+ columnType !== 'float') {
1775
+ column.isDatetime = true;
1776
+ }
1777
+ else {
1778
+ column.isNumeric = true;
1779
+ }
1780
+ if (typeof column[row + 1] !== 'undefined') {
1781
+ descending = floatVal > column[row + 1];
1782
+ }
1783
+ // String, continue to determine if it is a date string or really a
1784
+ // string
1785
+ }
1786
+ else {
1787
+ if (trimVal && trimVal.length) {
1788
+ dateVal = this.parseDate(val);
1789
+ }
1790
+ // Only allow parsing of dates if this column is an x-column
1791
+ if (isXColumn && isNumber(dateVal) && columnType !== 'float') {
1792
+ backup[row] = val;
1793
+ column[row] = dateVal;
1794
+ column.isDatetime = true;
1795
+ // Check if the dates are uniformly descending or ascending.
1796
+ // If they are not, chances are that they are a different
1797
+ // time format, so check for alternative.
1798
+ if (typeof column[row + 1] !== 'undefined') {
1799
+ diff = dateVal > column[row + 1];
1800
+ if (diff !== descending &&
1801
+ typeof descending !== 'undefined') {
1802
+ if (this.alternativeFormat) {
1803
+ this.dateFormat = this.alternativeFormat;
1804
+ row = column.length;
1805
+ this.alternativeFormat =
1806
+ this.dateFormats[this.dateFormat]
1807
+ .alternative;
1808
+ }
1809
+ else {
1810
+ column.unsorted = true;
1811
+ }
1812
+ }
1813
+ descending = diff;
1814
+ }
1815
+ }
1816
+ else { // string
1817
+ column[row] = trimVal === '' ? null : trimVal;
1818
+ if (row !== 0 &&
1819
+ (column.isDatetime ||
1820
+ column.isNumeric)) {
1821
+ column.mixed = true;
1822
+ }
1823
+ }
1824
+ }
1825
+ }
1826
+ // If strings are intermixed with numbers or dates in a parsed column,
1827
+ // it is an indication that parsing went wrong or the data was not
1828
+ // intended to display as numbers or dates and parsing is too
1829
+ // aggressive. Fall back to categories. Demonstrated in the
1830
+ // highcharts/demo/column-drilldown sample.
1831
+ if (isXColumn && column.mixed) {
1832
+ columns[col] = rawColumns[col];
1833
+ }
1834
+ // If the 0 column is date or number and descending, reverse all
1835
+ // columns.
1836
+ if (isXColumn && descending && this.options.sort) {
1837
+ for (col = 0; col < columns.length; col++) {
1838
+ columns[col].reverse();
1839
+ if (firstRowAsNames) {
1840
+ columns[col].unshift(columns[col].pop());
1841
+ }
1842
+ }
1843
+ }
1844
+ };
1845
+ /**
1846
+ * Parse a date and return it as a number. Overridable through
1847
+ * `options.parseDate`.
1848
+ *
1849
+ * @function Highcharts.Data#parseDate
1850
+ */
1851
+ Data.prototype.parseDate = function (val) {
1852
+ var parseDate = this.options.parseDate;
1853
+ var ret,
1854
+ key,
1855
+ format,
1856
+ dateFormat = this.options.dateFormat || this.dateFormat,
1857
+ match;
1858
+ if (parseDate) {
1859
+ ret = parseDate(val);
1860
+ }
1861
+ else if (typeof val === 'string') {
1862
+ // Auto-detect the date format the first time
1863
+ if (!dateFormat) {
1864
+ for (key in this.dateFormats) { // eslint-disable-line guard-for-in
1865
+ format = this.dateFormats[key];
1866
+ match = val.match(format.regex);
1867
+ if (match) {
1868
+ this.dateFormat = dateFormat = key;
1869
+ this.alternativeFormat = format.alternative;
1870
+ ret = format.parser(match);
1871
+ break;
1872
+ }
1873
+ }
1874
+ // Next time, use the one previously found
1875
+ }
1876
+ else {
1877
+ format = this.dateFormats[dateFormat];
1878
+ if (!format) {
1879
+ // The selected format is invalid
1880
+ format = this.dateFormats['YYYY/mm/dd'];
1881
+ }
1882
+ match = val.match(format.regex);
1883
+ if (match) {
1884
+ ret = format.parser(match);
1885
+ }
1886
+ }
1887
+ // Fall back to Date.parse
1888
+ if (!match) {
1889
+ if (val.match(/:.+(GMT|UTC|[Z+-])/)) {
1890
+ val = val
1891
+ .replace(/\s*(?:GMT|UTC)?([+-])(\d\d)(\d\d)$/, '$1$2:$3')
1892
+ .replace(/(?:\s+|GMT|UTC)([+-])/, '$1')
1893
+ .replace(/(\d)\s*(?:GMT|UTC|Z)$/, '$1+00:00');
1894
+ }
1895
+ match = Date.parse(val);
1896
+ // External tools like Date.js and MooTools extend Date object
1897
+ // and return a date.
1898
+ if (typeof match === 'object' &&
1899
+ match !== null &&
1900
+ match.getTime) {
1901
+ ret = (match.getTime() -
1902
+ match.getTimezoneOffset() *
1903
+ 60000);
1904
+ // Timestamp
1905
+ }
1906
+ else if (isNumber(match)) {
1907
+ ret = match - (new Date(match)).getTimezoneOffset() * 60000;
1908
+ }
1909
+ }
1910
+ }
1911
+ return ret;
1912
+ };
1913
+ /**
1914
+ * Reorganize rows into columns.
1915
+ *
1916
+ * @function Highcharts.Data#rowsToColumns
1917
+ */
1918
+ Data.prototype.rowsToColumns = function (rows) {
1919
+ var row,
1920
+ rowsLength,
1921
+ col,
1922
+ colsLength,
1923
+ columns;
1924
+ if (rows) {
1925
+ columns = [];
1926
+ rowsLength = rows.length;
1927
+ for (row = 0; row < rowsLength; row++) {
1928
+ colsLength = rows[row].length;
1929
+ for (col = 0; col < colsLength; col++) {
1930
+ if (!columns[col]) {
1931
+ columns[col] = [];
1932
+ }
1933
+ columns[col][row] = rows[row][col];
1934
+ }
1935
+ }
1936
+ }
1937
+ return columns;
1938
+ };
1939
+ /**
1940
+ * Get the parsed data in a form that we can apply directly to the
1941
+ * `series.data` config. Array positions can be mapped using the
1942
+ * `series.keys` option.
1943
+ *
1944
+ * @example
1945
+ * const data = Highcharts.data({
1946
+ * csv: document.getElementById('data').innerHTML
1947
+ * }).getData();
1948
+ *
1949
+ * @function Highcharts.Data#getData
1950
+ *
1951
+ * @return {Array<Array<(number|string)>>|undefined} Data rows
1952
+ */
1953
+ Data.prototype.getData = function () {
1954
+ if (this.columns) {
1955
+ return this.rowsToColumns(this.columns).slice(1);
1956
+ }
1957
+ };
1958
+ /**
1959
+ * A hook for working directly on the parsed columns
1960
+ *
1961
+ * @function Highcharts.Data#parsed
1962
+ */
1963
+ Data.prototype.parsed = function () {
1964
+ if (this.options.parsed) {
1965
+ return this.options.parsed.call(this, this.columns);
1966
+ }
1967
+ };
1968
+ /**
1969
+ * @private
1970
+ * @function Highcharts.Data#getFreeIndexes
1971
+ */
1972
+ Data.prototype.getFreeIndexes = function (numberOfColumns, seriesBuilders) {
1973
+ var s,
1974
+ i,
1975
+ freeIndexes = [],
1976
+ freeIndexValues = [],
1977
+ referencedIndexes;
1978
+ // Add all columns as free
1979
+ for (i = 0; i < numberOfColumns; i = i + 1) {
1980
+ freeIndexes.push(true);
1981
+ }
1982
+ // Loop all defined builders and remove their referenced columns
1983
+ for (s = 0; s < seriesBuilders.length; s = s + 1) {
1984
+ referencedIndexes = seriesBuilders[s].getReferencedColumnIndexes();
1985
+ for (i = 0; i < referencedIndexes.length; i = i + 1) {
1986
+ freeIndexes[referencedIndexes[i]] = false;
1987
+ }
1988
+ }
1989
+ // Collect the values for the free indexes
1990
+ for (i = 0; i < freeIndexes.length; i = i + 1) {
1991
+ if (freeIndexes[i]) {
1992
+ freeIndexValues.push(i);
1993
+ }
1994
+ }
1995
+ return freeIndexValues;
1996
+ };
1997
+ /**
1998
+ * If a complete callback function is provided in the options, interpret the
1999
+ * columns into a Highcharts options object.
2000
+ *
2001
+ * @function Highcharts.Data#complete
2002
+ */
2003
+ Data.prototype.complete = function () {
2004
+ var columns = this.columns,
2005
+ xColumns = [],
2006
+ type,
2007
+ options = this.options,
2008
+ series,
2009
+ data,
2010
+ i,
2011
+ j,
2012
+ r,
2013
+ seriesIndex,
2014
+ chartOptions,
2015
+ allSeriesBuilders = [],
2016
+ builder,
2017
+ freeIndexes,
2018
+ typeCol,
2019
+ index;
2020
+ xColumns.length = columns.length;
2021
+ if (options.complete || options.afterComplete) {
2022
+ // Get the names and shift the top row
2023
+ if (this.firstRowAsNames) {
2024
+ for (i = 0; i < columns.length; i++) {
2025
+ var curCol = columns[i];
2026
+ if (!defined(curCol.name)) {
2027
+ curCol.name = pick(curCol.shift(), '').toString();
2028
+ }
2029
+ }
2030
+ }
2031
+ // Use the next columns for series
2032
+ series = [];
2033
+ freeIndexes = this.getFreeIndexes(columns.length, this.valueCount.seriesBuilders);
2034
+ // Populate defined series
2035
+ for (seriesIndex = 0; seriesIndex < this.valueCount.seriesBuilders.length; seriesIndex++) {
2036
+ builder = this.valueCount.seriesBuilders[seriesIndex];
2037
+ // If the builder can be populated with remaining columns, then
2038
+ // add it to allBuilders
2039
+ if (builder.populateColumns(freeIndexes)) {
2040
+ allSeriesBuilders.push(builder);
2041
+ }
2042
+ }
2043
+ // Populate dynamic series
2044
+ while (freeIndexes.length > 0) {
2045
+ builder = new SeriesBuilder();
2046
+ builder.addColumnReader(0, 'x');
2047
+ // Mark index as used (not free)
2048
+ index = freeIndexes.indexOf(0);
2049
+ if (index !== -1) {
2050
+ freeIndexes.splice(index, 1);
2051
+ }
2052
+ for (i = 0; i < this.valueCount.global; i++) {
2053
+ // Create and add a column reader for the next free column
2054
+ // index
2055
+ builder.addColumnReader(void 0, this.valueCount.globalPointArrayMap[i]);
2056
+ }
2057
+ // If the builder can be populated with remaining columns, then
2058
+ // add it to allBuilders
2059
+ if (builder.populateColumns(freeIndexes)) {
2060
+ allSeriesBuilders.push(builder);
2061
+ }
2062
+ }
2063
+ // Get the data-type from the first series x column
2064
+ if (allSeriesBuilders.length > 0 &&
2065
+ allSeriesBuilders[0].readers.length > 0) {
2066
+ typeCol = columns[allSeriesBuilders[0].readers[0].columnIndex];
2067
+ if (typeof typeCol !== 'undefined') {
2068
+ if (typeCol.isDatetime) {
2069
+ type = 'datetime';
2070
+ }
2071
+ else if (!typeCol.isNumeric) {
2072
+ type = 'category';
2073
+ }
2074
+ }
2075
+ }
2076
+ // Axis type is category, then the "x" column should be called
2077
+ // "name"
2078
+ if (type === 'category') {
2079
+ for (seriesIndex = 0; seriesIndex < allSeriesBuilders.length; seriesIndex++) {
2080
+ builder = allSeriesBuilders[seriesIndex];
2081
+ for (r = 0; r < builder.readers.length; r++) {
2082
+ if (builder.readers[r].configName === 'x') {
2083
+ builder.readers[r].configName = 'name';
2084
+ }
2085
+ }
2086
+ }
2087
+ }
2088
+ // Read data for all builders
2089
+ for (seriesIndex = 0; seriesIndex < allSeriesBuilders.length; seriesIndex++) {
2090
+ builder = allSeriesBuilders[seriesIndex];
2091
+ // Iterate down the cells of each column and add data to the
2092
+ // series
2093
+ data = [];
2094
+ for (j = 0; j < columns[0].length; j++) {
2095
+ data[j] = builder.read(columns, j);
2096
+ }
2097
+ // Add the series
2098
+ series[seriesIndex] = {
2099
+ data: data
2100
+ };
2101
+ if (builder.name) {
2102
+ series[seriesIndex].name = builder.name;
2103
+ }
2104
+ if (type === 'category') {
2105
+ series[seriesIndex].turboThreshold = 0;
2106
+ }
2107
+ }
2108
+ // Do the callback
2109
+ chartOptions = {
2110
+ series: series
2111
+ };
2112
+ if (type) {
2113
+ chartOptions.xAxis = {
2114
+ type: type
2115
+ };
2116
+ if (type === 'category') {
2117
+ chartOptions.xAxis.uniqueNames = false;
2118
+ }
2119
+ }
2120
+ if (options.complete) {
2121
+ options.complete(chartOptions);
2122
+ }
2123
+ // The afterComplete hook is used internally to avoid conflict with
2124
+ // the externally available complete option.
2125
+ if (options.afterComplete) {
2126
+ options.afterComplete(chartOptions);
2127
+ }
2128
+ }
2129
+ };
2130
+ /**
2131
+ * Updates the chart with new data options.
2132
+ *
2133
+ * @function Highcharts.Data#update
2134
+ *
2135
+ * @param {Highcharts.DataOptions} options
2136
+ *
2137
+ * @param {boolean} [redraw=true]
2138
+ */
2139
+ Data.prototype.update = function (options, redraw) {
2140
+ var chart = this.chart;
2141
+ if (options) {
2142
+ // Set the complete handler
2143
+ options.afterComplete = function (dataOptions) {
2144
+ // Avoid setting axis options unless the type changes. Running
2145
+ // Axis.update will cause the whole structure to be destroyed
2146
+ // and rebuilt, and animation is lost.
2147
+ if (dataOptions) {
2148
+ if (dataOptions.xAxis &&
2149
+ chart.xAxis[0] &&
2150
+ dataOptions.xAxis.type ===
2151
+ chart.xAxis[0].options.type) {
2152
+ delete dataOptions.xAxis;
2153
+ }
2154
+ // @todo looks not right:
2155
+ chart.update(dataOptions, redraw, true);
2156
+ }
2157
+ };
2158
+ // Apply it
2159
+ merge(true, chart.options.data, options);
2160
+ this.init(chart.options.data);
2161
+ }
2162
+ };
2163
+ return Data;
2164
+ }());
2165
+ // Register the Data prototype and data function on Highcharts
2166
+ // Highcharts.Data = Data as any;
2167
+ /**
2168
+ * Creates a data object to parse data for a chart.
2169
+ *
2170
+ * @function Highcharts.data
2171
+ */
2172
+ G.data = function (dataOptions, chartOptions, chart) {
2173
+ return new G.Data(dataOptions, chartOptions, chart);
2174
+ };
2175
+ // Extend Chart.init so that the Chart constructor accepts a new configuration
2176
+ // option group, data.
2177
+ addEvent(Chart, 'init', function (e) {
2178
+ var chart = this, // eslint-disable-line no-invalid-this
2179
+ userOptions = (e.args[0] || {}),
2180
+ callback = e.args[1];
2181
+ if (userOptions && userOptions.data && !chart.hasDataDef) {
2182
+ chart.hasDataDef = true;
2183
+ /**
2184
+ * The data parser for this chart.
2185
+ *
2186
+ * @name Highcharts.Chart#data
2187
+ * @type {Highcharts.Data|undefined}
2188
+ */
2189
+ chart.data = new G.Data(extend(userOptions.data, {
2190
+ afterComplete: function (dataOptions) {
2191
+ var i,
2192
+ series;
2193
+ // Merge series configs
2194
+ if (Object.hasOwnProperty.call(userOptions, 'series')) {
2195
+ if (typeof userOptions.series === 'object') {
2196
+ i = Math.max(userOptions.series.length, dataOptions && dataOptions.series ?
2197
+ dataOptions.series.length :
2198
+ 0);
2199
+ while (i--) {
2200
+ series = userOptions.series[i] || {};
2201
+ userOptions.series[i] = merge(series, dataOptions && dataOptions.series ?
2202
+ dataOptions.series[i] :
2203
+ {});
2204
+ }
2205
+ }
2206
+ else { // Allow merging in dataOptions.series (#2856)
2207
+ delete userOptions.series;
2208
+ }
2209
+ }
2210
+ // Do the merge
2211
+ userOptions = merge(dataOptions, userOptions);
2212
+ // Run chart.init again
2213
+ chart.init(userOptions, callback);
2214
+ }
2215
+ }), userOptions, chart);
2216
+ e.preventDefault();
2217
+ }
2218
+ });
2219
+ /**
2220
+ * Creates a new SeriesBuilder. A SeriesBuilder consists of a number
2221
+ * of ColumnReaders that reads columns and give them a name.
2222
+ * Ex: A series builder can be constructed to read column 3 as 'x' and
2223
+ * column 7 and 8 as 'y1' and 'y2'.
2224
+ * The output would then be points/rows of the form {x: 11, y1: 22, y2: 33}
2225
+ *
2226
+ * The name of the builder is taken from the second column. In the above
2227
+ * example it would be the column with index 7.
2228
+ *
2229
+ * @private
2230
+ * @class
2231
+ * @name SeriesBuilder
2232
+ */
2233
+ var SeriesBuilder = /** @class */ (function () {
2234
+ function SeriesBuilder() {
2235
+ /* eslint-disable no-invalid-this */
2236
+ this.readers = [];
2237
+ this.pointIsArray = true;
2238
+ /* eslint-enable no-invalid-this */
2239
+ this.name = void 0;
2240
+ }
2241
+ /**
2242
+ * Populates readers with column indexes. A reader can be added without
2243
+ * a specific index and for those readers the index is taken sequentially
2244
+ * from the free columns (this is handled by the ColumnCursor instance).
2245
+ *
2246
+ * @function SeriesBuilder#populateColumns
2247
+ */
2248
+ SeriesBuilder.prototype.populateColumns = function (freeIndexes) {
2249
+ var builder = this,
2250
+ enoughColumns = true;
2251
+ // Loop each reader and give it an index if its missing.
2252
+ // The freeIndexes.shift() will return undefined if there
2253
+ // are no more columns.
2254
+ builder.readers.forEach(function (reader) {
2255
+ if (typeof reader.columnIndex === 'undefined') {
2256
+ reader.columnIndex = freeIndexes.shift();
2257
+ }
2258
+ });
2259
+ // Now, all readers should have columns mapped. If not
2260
+ // then return false to signal that this series should
2261
+ // not be added.
2262
+ builder.readers.forEach(function (reader) {
2263
+ if (typeof reader.columnIndex === 'undefined') {
2264
+ enoughColumns = false;
2265
+ }
2266
+ });
2267
+ return enoughColumns;
2268
+ };
2269
+ /**
2270
+ * Reads a row from the dataset and returns a point or array depending
2271
+ * on the names of the readers.
2272
+ *
2273
+ * @function SeriesBuilder#read<T>
2274
+ */
2275
+ SeriesBuilder.prototype.read = function (columns, rowIndex) {
2276
+ var builder = this,
2277
+ pointIsArray = builder.pointIsArray,
2278
+ point = pointIsArray ? [] : {},
2279
+ columnIndexes;
2280
+ // Loop each reader and ask it to read its value.
2281
+ // Then, build an array or point based on the readers names.
2282
+ builder.readers.forEach(function (reader) {
2283
+ var value = columns[reader.columnIndex][rowIndex];
2284
+ if (pointIsArray) {
2285
+ point.push(value);
2286
+ }
2287
+ else {
2288
+ if (reader.configName.indexOf('.') > 0) {
2289
+ // Handle nested property names
2290
+ Point.prototype.setNestedProperty(point, value, reader.configName);
2291
+ }
2292
+ else {
2293
+ point[reader.configName] = value;
2294
+ }
2295
+ }
2296
+ });
2297
+ // The name comes from the first column (excluding the x column)
2298
+ if (typeof this.name === 'undefined' && builder.readers.length >= 2) {
2299
+ columnIndexes = builder.getReferencedColumnIndexes();
2300
+ if (columnIndexes.length >= 2) {
2301
+ // remove the first one (x col)
2302
+ columnIndexes.shift();
2303
+ // Sort the remaining
2304
+ columnIndexes.sort(function (a, b) {
2305
+ return a - b;
2306
+ });
2307
+ // Now use the lowest index as name column
2308
+ this.name = columns[columnIndexes.shift()].name;
2309
+ }
2310
+ }
2311
+ return point;
2312
+ };
2313
+ /**
2314
+ * Creates and adds ColumnReader from the given columnIndex and configName.
2315
+ * ColumnIndex can be undefined and in that case the reader will be given
2316
+ * an index when columns are populated.
2317
+ *
2318
+ * @function SeriesBuilder#addColumnReader
2319
+ */
2320
+ SeriesBuilder.prototype.addColumnReader = function (columnIndex, configName) {
2321
+ this.readers.push({
2322
+ columnIndex: columnIndex,
2323
+ configName: configName
2324
+ });
2325
+ if (!(configName === 'x' ||
2326
+ configName === 'y' ||
2327
+ typeof configName === 'undefined')) {
2328
+ this.pointIsArray = false;
2329
+ }
2330
+ };
2331
+ /**
2332
+ * Returns an array of column indexes that the builder will use when
2333
+ * reading data.
2334
+ *
2335
+ * @function SeriesBuilder#getReferencedColumnIndexes
2336
+ */
2337
+ SeriesBuilder.prototype.getReferencedColumnIndexes = function () {
2338
+ var i,
2339
+ referencedColumnIndexes = [],
2340
+ columnReader;
2341
+ for (i = 0; i < this.readers.length; i = i + 1) {
2342
+ columnReader = this.readers[i];
2343
+ if (typeof columnReader.columnIndex !== 'undefined') {
2344
+ referencedColumnIndexes.push(columnReader.columnIndex);
2345
+ }
2346
+ }
2347
+ return referencedColumnIndexes;
2348
+ };
2349
+ /**
2350
+ * Returns true if the builder has a reader for the given configName.
2351
+ *
2352
+ * @function SeriesBuider#hasReader
2353
+ */
2354
+ SeriesBuilder.prototype.hasReader = function (configName) {
2355
+ var i,
2356
+ columnReader;
2357
+ for (i = 0; i < this.readers.length; i = i + 1) {
2358
+ columnReader = this.readers[i];
2359
+ if (columnReader.configName === configName) {
2360
+ return true;
2361
+ }
2362
+ }
2363
+ // Else return undefined
2364
+ };
2365
+ return SeriesBuilder;
2366
+ }());
2367
+ G.Data = Data;
2368
+
2369
+ return G.Data;
2370
+ });
2371
+ _registerModule(_modules, 'masters/modules/data.src.js', [_modules['Core/Globals.js'], _modules['Core/HttpUtilities.js'], _modules['Extensions/Data.js']], function (Highcharts, HttpUtilities, Data) {
2372
+
2373
+ var G = Highcharts;
2374
+ // Functions
2375
+ G.ajax = HttpUtilities.ajax;
2376
+ G.getJSON = HttpUtilities.getJSON;
2377
+ G.post = HttpUtilities.post;
2378
+ // Classes
2379
+ G.Data = Data;
2380
+ G.HttpUtilities = HttpUtilities;
2381
+
2382
+ });
2383
+ }));