ps-toolkit-ui 0.0.207 → 0.0.211
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.
- package/karma.conf.js +32 -0
- package/ng-package.json +16 -0
- package/package.json +19 -22
- package/src/assets/plugins/highcharts/code/css/annotations/popup.css +276 -0
- package/src/assets/plugins/highcharts/code/css/annotations/popup.scss +289 -0
- package/src/assets/plugins/highcharts/code/css/highcharts.css +1013 -0
- package/src/assets/plugins/highcharts/code/css/highcharts.scss +896 -0
- package/src/assets/plugins/highcharts/code/css/stocktools/gui.css +271 -0
- package/src/assets/plugins/highcharts/code/css/stocktools/gui.scss +271 -0
- package/src/assets/plugins/highcharts/code/css/themes/dark-unica.css +1074 -0
- package/src/assets/plugins/highcharts/code/css/themes/dark-unica.scss +122 -0
- package/src/assets/plugins/highcharts/code/css/themes/grid-light.css +1027 -0
- package/src/assets/plugins/highcharts/code/css/themes/grid-light.scss +33 -0
- package/src/assets/plugins/highcharts/code/css/themes/sand-signika.css +1043 -0
- package/src/assets/plugins/highcharts/code/css/themes/sand-signika.scss +74 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/A11yI18n.js +299 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Accessibility.js +401 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/AccessibilityComponent.js +153 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/AnnotationsA11y.js +160 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/ContainerComponent.js +159 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/InfoRegionsComponent.js +543 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/LegendComponent.js +478 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/MenuComponent.js +451 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/RangeSelectorComponent.js +506 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/SeriesComponent/ForcedMarkers.js +217 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/SeriesComponent/NewDataAnnouncer.js +324 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/SeriesComponent/SeriesComponent.js +148 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +390 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js +650 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/ZoomComponent.js +375 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/FocusBorder.js +302 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/HighContrastMode.js +96 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/HighContrastTheme.js +221 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/KeyboardNavigation.js +449 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/KeyboardNavigationHandler.js +128 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Options/DeprecatedOptions.js +250 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Options/LangOptions.js +339 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Options/Options.js +831 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/ProxyElement.js +218 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/ProxyProvider.js +302 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Utils/Announcer.js +91 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Utils/ChartUtilities.js +294 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Utils/DOMElementProvider.js +62 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Utils/EventProvider.js +58 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Utils/HTMLUtilities.js +305 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Animation/AnimationUtilities.js +200 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Animation/Fx.js +387 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/Axis.js +3225 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/Axis3D.js +612 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/AxisDefaults.js +2935 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/BrokenAxis.js +601 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/Color/ColorAxis.js +668 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/Color/ColorAxisComposition.js +287 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/Color/ColorAxisDefaults.js +434 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/DateTimeAxis.js +196 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/GridAxis.js +1046 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/LogarithmicAxis.js +202 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/NavigatorAxis.js +159 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/OrdinalAxis.js +992 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +873 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js +287 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/RadialAxis.js +954 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/ScrollbarAxis.js +182 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/SolidGaugeAxis.js +127 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/StackingAxis.js +216 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/Tick.js +723 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/Tick3D.js +68 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/TreeGridAxis.js +720 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/TreeGridTick.js +306 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/WaterfallAxis.js +149 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/ZAxis.js +156 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Chart/Chart.js +2909 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Chart/Chart3D.js +1695 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Chart/ChartDefaults.js +1053 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Chart/ChartNavigationComposition.js +92 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Chart/GanttChart.js +177 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Chart/MapChart.js +179 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Chart/StockChart.js +644 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Color/Color.js +419 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Color/Palettes.js +22 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/DefaultOptions.js +2743 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/FormatUtilities.js +246 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Foundation.js +61 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Geometry/CircleUtilities.js +386 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Geometry/GeometryUtilities.js +83 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Globals.js +131 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/HttpUtilities.js +195 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Legend/Legend.js +1284 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Legend/LegendSymbol.js +109 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/MSPointer.js +170 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Navigator.js +1958 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Pointer.js +1518 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/HTML/AST.js +475 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/HTML/HTMLElement.js +261 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/HTML/HTMLRenderer.js +272 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/RendererRegistry.js +77 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/RendererUtilities.js +159 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/SVG/SVGElement.js +2176 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/SVG/SVGElement3D.js +160 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/SVG/SVGLabel.js +408 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/SVG/SVGRenderer.js +1900 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/SVG/SVGRenderer3D.js +842 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/SVG/Symbols.js +197 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/SVG/TextBuilder.js +452 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Responsive.js +334 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Scrollbar.js +658 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/ScrollbarDefaults.js +218 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Series/DataLabel.js +568 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Series/Point.js +1307 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Series/Series.js +3718 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Series/Series3D.js +126 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Series/SeriesDefaults.js +2293 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Series/SeriesRegistry.js +127 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Time.js +741 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Tooltip.js +1378 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Utilities.js +1967 -0
- package/src/assets/plugins/highcharts/code/es-modules/Data/DataConverter.js +483 -0
- package/src/assets/plugins/highcharts/code/es-modules/Data/DataPromise.js +252 -0
- package/src/assets/plugins/highcharts/code/es-modules/Data/DataSeriesConverter.js +207 -0
- package/src/assets/plugins/highcharts/code/es-modules/Data/DataTable.js +1205 -0
- package/src/assets/plugins/highcharts/code/es-modules/Data/Modifiers/ChainModifier.js +299 -0
- package/src/assets/plugins/highcharts/code/es-modules/Data/Modifiers/DataModifier.js +303 -0
- package/src/assets/plugins/highcharts/code/es-modules/Data/Modifiers/GroupModifier.js +144 -0
- package/src/assets/plugins/highcharts/code/es-modules/Data/Modifiers/InvertModifier.js +254 -0
- package/src/assets/plugins/highcharts/code/es-modules/Data/Modifiers/RangeModifier.js +143 -0
- package/src/assets/plugins/highcharts/code/es-modules/Data/Modifiers/SeriesPointsModifier.js +110 -0
- package/src/assets/plugins/highcharts/code/es-modules/Data/Modifiers/SortModifier.js +249 -0
- package/src/assets/plugins/highcharts/code/es-modules/Data/Parsers/CSVParser.js +400 -0
- package/src/assets/plugins/highcharts/code/es-modules/Data/Parsers/DataParser.js +101 -0
- package/src/assets/plugins/highcharts/code/es-modules/Data/Parsers/GoogleSheetsParser.js +223 -0
- package/src/assets/plugins/highcharts/code/es-modules/Data/Parsers/HTMLTableParser.js +213 -0
- package/src/assets/plugins/highcharts/code/es-modules/Data/Stores/CSVStore.js +317 -0
- package/src/assets/plugins/highcharts/code/es-modules/Data/Stores/DataStore.js +276 -0
- package/src/assets/plugins/highcharts/code/es-modules/Data/Stores/GoogleSheetsStore.js +169 -0
- package/src/assets/plugins/highcharts/code/es-modules/Data/Stores/HTMLTableStore.js +353 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Annotations.js +1442 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/ControlPoint.js +141 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Controllables/ControllableCircle.js +117 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Controllables/ControllableEllipse.js +199 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Controllables/ControllableImage.js +111 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Controllables/ControllableLabel.js +387 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Controllables/ControllablePath.js +181 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Controllables/ControllableRect.js +121 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Mixins/ControllableMixin.js +378 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Mixins/EventEmitterMixin.js +221 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Mixins/MarkerMixin.js +179 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/MockPoint.js +428 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/NavigationBindings.js +1212 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Popup.js +1123 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/BasicAnnotation.js +237 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/CrookedLine.js +185 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/ElliottWave.js +95 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/Fibonacci.js +205 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/FibonacciTimeZones.js +219 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/InfinityLine.js +161 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/Measure.js +791 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/Pitchfork.js +194 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/TimeCycles.js +211 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/Tunnel.js +211 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/VerticalLine.js +156 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/ArrowSymbols.js +166 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/Boost.js +34 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/BoostAttach.js +150 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/BoostInit.js +318 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/BoostOptions.js +219 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/BoostOverrides.js +386 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/BoostUtils.js +255 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/BoostableMap.js +18 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/Boostables.js +25 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/NamedColors.js +162 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/WGLRenderer.js +1188 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/WGLShader.js +470 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/WGLVBuffer.js +153 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/BoostCanvas.js +509 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/CurrentDateIndication.js +100 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Data.js +2037 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/DataGrouping.js +1134 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Debugger/Debugger.js +101 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Debugger/ErrorMessages.js +106 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/DownloadURL.js +106 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/DragPanes.js +512 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/DraggablePoints.js +2259 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Drilldown.js +1170 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/ExportData.js +997 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Exporting/Exporting.js +1260 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Exporting/ExportingDefaults.js +796 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Exporting/ExportingSymbols.js +73 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/FullScreen.js +240 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/GeoJSON.js +436 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/MarkerClusters.js +1436 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Math3D.js +245 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/NoDataToDisplay.js +189 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/OfflineExporting/OfflineExporting.js +617 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/OfflineExporting/OfflineExportingDefaults.js +58 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Oldie/Oldie.js +1182 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Oldie/VMLAxis3D.js +101 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Oldie/VMLRenderer3D.js +47 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/OldiePolyfills.js +167 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/OverlappingDataLabels.js +226 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Pane.js +404 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/ParallelCoordinates.js +464 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/PatternFill.js +580 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Polar.js +740 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/PriceIndication.js +292 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/RangeSelector.js +2175 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/ScrollablePlotArea.js +387 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/SeriesLabel.js +765 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/ChartSonify.js +724 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/Earcon.js +197 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/Instrument.js +606 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/MusicalFrequencies.js +122 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/Options.js +44 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/PointSonify.js +391 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/SeriesSonify.js +474 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/SignalHandler.js +122 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/Sonification.js +97 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/SonificationUtilities.js +150 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/Timeline.js +308 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/TimelineEvent.js +157 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/TimelinePath.js +311 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Stacking.js +516 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/StaticScale.js +76 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/Avocado.js +67 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/BrandDark.js +293 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/BrandLight.js +259 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/DarkBlue.js +279 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/DarkGreen.js +279 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/DarkUnica.js +249 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/Gray.js +287 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/Grid.js +140 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/GridLight.js +111 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/HighContrastDark.js +239 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/HighContrastLight.js +69 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/SandSignika.js +144 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/Skies.js +131 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/Sunset.js +66 -0
- package/src/assets/plugins/highcharts/code/es-modules/Gantt/Connection.js +838 -0
- package/src/assets/plugins/highcharts/code/es-modules/Gantt/Pathfinder.js +818 -0
- package/src/assets/plugins/highcharts/code/es-modules/Gantt/PathfinderAlgorithms.js +657 -0
- package/src/assets/plugins/highcharts/code/es-modules/Gantt/Tree.js +110 -0
- package/src/assets/plugins/highcharts/code/es-modules/Maps/MapNavigation.js +278 -0
- package/src/assets/plugins/highcharts/code/es-modules/Maps/MapNavigationOptionsDefault.js +264 -0
- package/src/assets/plugins/highcharts/code/es-modules/Maps/MapPointer.js +83 -0
- package/src/assets/plugins/highcharts/code/es-modules/Maps/MapSymbols.js +80 -0
- package/src/assets/plugins/highcharts/code/es-modules/Maps/MapView.js +450 -0
- package/src/assets/plugins/highcharts/code/es-modules/Maps/MapViewOptionsDefault.js +97 -0
- package/src/assets/plugins/highcharts/code/es-modules/Maps/Projection.js +436 -0
- package/src/assets/plugins/highcharts/code/es-modules/Maps/ProjectionDefinition.js +9 -0
- package/src/assets/plugins/highcharts/code/es-modules/Maps/Projections/EqualEarth.js +42 -0
- package/src/assets/plugins/highcharts/code/es-modules/Maps/Projections/LambertConformalConic.js +52 -0
- package/src/assets/plugins/highcharts/code/es-modules/Maps/Projections/Miller.js +16 -0
- package/src/assets/plugins/highcharts/code/es-modules/Maps/Projections/Orthographic.js +26 -0
- package/src/assets/plugins/highcharts/code/es-modules/Maps/Projections/ProjectionRegistry.js +19 -0
- package/src/assets/plugins/highcharts/code/es-modules/Maps/Projections/WebMercator.js +24 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Area/AreaSeries.js +563 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Area3DSeries.js +70 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/AreaRange/AreaRangePoint.js +129 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/AreaRange/AreaRangeSeries.js +650 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/AreaSpline/AreaSplineSeries.js +203 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/AreaSplineRange/AreaSplineRangeSeries.js +199 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Bar/BarSeries.js +171 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Bellcurve/BellcurveSeries.js +241 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/BoxPlot/BoxPlotSeries.js +681 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Bubble/BubbleLegendComposition.js +279 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Bubble/BubbleLegendDefaults.js +266 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Bubble/BubbleLegendItem.js +462 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Bubble/BubblePoint.js +77 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Bubble/BubbleSeries.js +676 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Bullet/BulletPoint.js +62 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Bullet/BulletSeries.js +365 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Candlestick/CandlestickSeries.js +333 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/CenteredUtilities.js +128 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/ColorMapMixin.js +84 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Column/ColumnDataLabel.js +109 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Column/ColumnSeries.js +1171 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Column3D/Column3DComposition.js +508 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/ColumnPyramid/ColumnPyramidSeries.js +308 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/ColumnRange/ColumnRangePoint.js +62 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/ColumnRange/ColumnRangeSeries.js +308 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Cylinder/CylinderComposition.js +274 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Cylinder/CylinderPoint.js +60 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Cylinder/CylinderSeries.js +175 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/DataModifyComposition.js +539 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/DependencyWheel/DependencyWheelPoint.js +100 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/DependencyWheel/DependencyWheelSeries.js +368 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/DerivedComposition.js +137 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/DotPlot/DotPlotSeries.js +158 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/DrawPointComposition.js +111 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Dumbbell/DumbbellPoint.js +104 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Dumbbell/DumbbellSeries.js +464 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/ErrorBar/ErrorBarSeries.js +228 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Flags/FlagsPoint.js +74 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Flags/FlagsSeries.js +614 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Flags/FlagsSymbols.js +90 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Funnel/FunnelSeries.js +517 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Funnel3D/Funnel3DComposition.js +383 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Funnel3D/Funnel3DPoint.js +62 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Funnel3D/Funnel3DSeries.js +447 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Gantt/GanttPoint.js +109 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Gantt/GanttSeries.js +352 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Gauge/GaugePoint.js +66 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Gauge/GaugeSeries.js +568 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/HLC/HLCPoint.js +55 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/HLC/HLCSeries.js +378 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Heatmap/HeatmapPoint.js +144 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Heatmap/HeatmapSeries.js +946 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/HeikinAshi/HeikinAshiPoint.js +60 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/HeikinAshi/HeikinAshiSeries.js +278 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Histogram/HistogramSeries.js +253 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/HollowCandlestick/HollowCandlestickPoint.js +80 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/HollowCandlestick/HollowCandlestickSeries.js +368 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Item/ItemPoint.js +59 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Item/ItemSeries.js +505 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Line/LineSeries.js +541 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Lollipop/LollipopPoint.js +60 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Lollipop/LollipopSeries.js +209 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Map/MapPoint.js +136 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Map/MapSeries.js +1100 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/MapBubble/MapBubblePoint.js +73 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/MapBubble/MapBubbleSeries.js +283 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/MapLine/MapLineSeries.js +181 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/MapPoint/MapPointPoint.js +71 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/MapPoint/MapPointSeries.js +309 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Networkgraph/DraggableNodes.js +132 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Networkgraph/Integrations.js +348 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Networkgraph/Layouts.js +555 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Networkgraph/Networkgraph.js +1178 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Networkgraph/QuadTree.js +352 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/NodesComposition.js +229 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/OHLC/OHLCPoint.js +116 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/OHLC/OHLCSeries.js +254 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/OnSeriesComposition.js +168 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Organization/OrganizationPoint.js +71 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Organization/OrganizationSeries.js +594 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/PackedBubble/PackedBubbleComposition.js +172 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/PackedBubble/PackedBubblePoint.js +98 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/PackedBubble/PackedBubbleSeries.js +1284 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/ParetoSeries/ParetoSeries.js +195 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Pie/PieDataLabel.js +447 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Pie/PiePoint.js +270 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Pie/PieSeries.js +1074 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Pie3D/Pie3DComposition.js +27 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Pie3D/Pie3DPoint.js +72 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Pie3D/Pie3DSeries.js +200 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Polygon/PolygonSeries.js +195 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Pyramid/PyramidSeries.js +161 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Pyramid3D/Pyramid3DSeries.js +172 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Sankey/SankeyPoint.js +97 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Sankey/SankeySeries.js +1195 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Scatter/ScatterSeries.js +306 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Scatter3D/Scatter3DPoint.js +66 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Scatter3D/Scatter3DSeries.js +194 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/SolidGauge/SolidGaugeComposition.js +62 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/SolidGauge/SolidGaugeSeries.js +358 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Spline/SplineSeries.js +279 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Streamgraph/StreamgraphSeries.js +213 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Sunburst/SunburstPoint.js +115 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Sunburst/SunburstSeries.js +907 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Sunburst/SunburstUtilities.js +138 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Tilemap/TilemapComposition.js +61 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Tilemap/TilemapPoint.js +77 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Tilemap/TilemapSeries.js +368 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Tilemap/TilemapShapes.js +275 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Timeline/TimelinePoint.js +168 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Timeline/TimelineSeries.js +552 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/TreeUtilities.js +192 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Treemap/TreemapAlgorithmGroup.js +93 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Treemap/TreemapComposition.js +58 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Treemap/TreemapPoint.js +107 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Treemap/TreemapSeries.js +1473 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Treemap/TreemapUtilities.js +65 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/VariablePie/VariablePieSeries.js +446 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Variwide/VariwideComposition.js +78 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Variwide/VariwidePoint.js +63 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Variwide/VariwideSeries.js +317 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Vector/VectorSeries.js +362 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Venn/VennPoint.js +76 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Venn/VennSeries.js +633 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Venn/VennUtils.js +607 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Waterfall/WaterfallPoint.js +68 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Waterfall/WaterfallSeries.js +743 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Windbarb/WindbarbPoint.js +64 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Windbarb/WindbarbSeries.js +462 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Wordcloud/WordcloudPoint.js +66 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Wordcloud/WordcloudSeries.js +503 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Wordcloud/WordcloudUtils.js +718 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/XRange/XRangeComposition.js +49 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/XRange/XRangePoint.js +168 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/XRange/XRangeSeries.js +608 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/ABands/ABandsIndicator.js +243 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/AD/ADIndicator.js +160 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/AO/AOIndicator.js +212 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/APO/APOIndicator.js +167 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/ATR/ATRIndicator.js +162 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/Aroon/AroonIndicator.js +197 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/AroonOscillator/AroonOscillatorIndicator.js +141 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/ArrayUtilities.js +47 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/BB/BBIndicator.js +241 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/CCI/CCIIndicator.js +154 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/CMF/CMFIndicator.js +243 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/CMO/CMOIndicator.js +166 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/Chaikin/ChaikinIndicator.js +187 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/DEMA/DEMAIndicator.js +149 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/DMI/DMIIndicator.js +276 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/DPO/DPOIndicator.js +163 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/DisparityIndex/DisparityIndexIndicator.js +179 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/EMA/EMAIndicator.js +154 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/IKH/IKHIndicator.js +682 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/KeltnerChannels/KeltnerChannelsIndicator.js +217 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/Klinger/KlingerIndicator.js +270 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/LinearRegression/LinearRegression.js +282 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/LinearRegressionAngle/LinearRegressionAngle.js +119 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/LinearRegressionIntercept/LinearRegressionIntercept.js +104 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/LinearRegressionSlopes/LinearRegressionSlopes.js +104 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/MACD/MACDIndicator.js +402 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/MFI/MFIIndicator.js +198 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/Momentum/MomentumIndicator.js +121 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/MultipleLinesComposition.js +294 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/NATR/NATRIndicator.js +111 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/OBV/OBVIndicator.js +170 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/PC/PCIndicator.js +197 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/PPO/PPOIndicator.js +164 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/PSAR/PSARIndicator.js +280 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/PivotPoints/PivotPointsIndicator.js +310 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/PivotPoints/PivotPointsPoint.js +78 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/PriceEnvelopes/PriceEnvelopesIndicator.js +240 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/ROC/ROCIndicator.js +176 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/RSI/RSIIndicator.js +171 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/SMA/SMAComposition.js +12 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/SMA/SMAIndicator.js +367 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/SlowStochastic/SlowStochasticIndicator.js +134 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/Stochastic/StochasticIndicator.js +208 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/Supertrend/SupertrendIndicator.js +485 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/TEMA/TEMAIndicator.js +208 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/TRIX/TRIXIndicator.js +98 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/TrendLine/TrendLineIndicator.js +148 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/VBP/VBPIndicator.js +556 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/VBP/VBPPoint.js +49 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/VWAP/VWAPIndicator.js +193 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/WMA/WMAIndicator.js +153 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/WilliamsR/WilliamsRIndicator.js +135 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/Zigzag/ZigzagIndicator.js +228 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/StockToolsBindings.js +2009 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/StockToolsGui.js +1816 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/highcharts-3d.src.js +28 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/highcharts-more.src.js +28 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/highcharts.src.js +147 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/accessibility.src.js +28 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/annotations-advanced.src.js +26 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/annotations.src.js +15 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/arrow-symbols.src.js +13 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/boost-canvas.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/boost.src.js +15 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/broken-axis.src.js +15 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/bullet.src.js +13 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/coloraxis.src.js +17 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/current-date-indicator.src.js +13 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/cylinder.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/data.src.js +23 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/datagrouping.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/debugger.src.js +16 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/dependency-wheel.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/dotplot.src.js +13 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/drag-panes.src.js +15 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/draggable-points.src.js +11 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/drilldown.src.js +13 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/dumbbell.src.js +11 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/export-data.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/exporting.src.js +22 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/full-screen.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/funnel.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/funnel3d.src.js +18 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/gantt.src.js +26 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/grid-axis.src.js +17 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/heatmap.src.js +16 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/heikinashi.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/histogram-bellcurve.src.js +13 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/hollowcandlestick.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/item-series.src.js +13 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/lollipop.src.js +11 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/marker-clusters.src.js +13 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/networkgraph.src.js +13 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/no-data-to-display.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/offline-exporting.src.js +20 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/oldie-polyfills.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/oldie.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/organization.src.js +13 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/overlapping-datalabels.src.js +11 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/parallel-coordinates.src.js +13 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/pareto.src.js +13 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/pathfinder.src.js +13 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/pattern-fill.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/price-indicator.src.js +15 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/pyramid3d.src.js +16 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/sankey.src.js +13 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/series-label.src.js +11 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/solid-gauge.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/sonification.src.js +44 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/static-scale.src.js +13 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/stock-tools.src.js +16 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/stock.src.js +33 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/streamgraph.src.js +13 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/sunburst.src.js +13 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/tilemap.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/timeline.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/treegrid.src.js +17 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/treemap.src.js +12 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/variable-pie.src.js +13 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/variwide.src.js +13 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/vector.src.js +13 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/venn.src.js +12 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/windbarb.src.js +13 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/wordcloud.src.js +12 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/xrange.src.js +13 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/themes/avocado.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/themes/brand-dark.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/themes/brand-light.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/themes/dark-blue.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/themes/dark-green.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/themes/dark-unica.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/themes/gray.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/themes/grid-light.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/themes/grid.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/themes/high-contrast-dark.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/themes/high-contrast-light.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/themes/sand-signika.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/themes/skies.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/themes/sunset.src.js +14 -0
- package/src/assets/plugins/highcharts/code/highcharts-3d.js +105 -0
- package/src/assets/plugins/highcharts/code/highcharts-3d.js.map +1 -0
- package/src/assets/plugins/highcharts/code/highcharts-3d.src.js +5439 -0
- package/src/assets/plugins/highcharts/code/highcharts-more.js +201 -0
- package/src/assets/plugins/highcharts/code/highcharts-more.js.map +1 -0
- package/src/assets/plugins/highcharts/code/highcharts-more.src.js +12004 -0
- package/src/assets/plugins/highcharts/code/highcharts.js +593 -0
- package/src/assets/plugins/highcharts/code/highcharts.js.map +1 -0
- package/src/assets/plugins/highcharts/code/highcharts.src.js +47519 -0
- package/src/assets/plugins/highcharts/code/lib/canvg.js +8 -0
- package/src/assets/plugins/highcharts/code/lib/jspdf.js +283 -0
- package/src/assets/plugins/highcharts/code/lib/jspdf.src.js +21627 -0
- package/src/assets/plugins/highcharts/code/lib/svg2pdf.js +38 -0
- package/src/assets/plugins/highcharts/code/lib/svg2pdf.src.js +4390 -0
- package/src/assets/plugins/highcharts/code/modules/accessibility.js +256 -0
- package/src/assets/plugins/highcharts/code/modules/accessibility.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/accessibility.src.js +11868 -0
- package/src/assets/plugins/highcharts/code/modules/annotations-advanced.js +201 -0
- package/src/assets/plugins/highcharts/code/modules/annotations-advanced.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/annotations-advanced.src.js +9616 -0
- package/src/assets/plugins/highcharts/code/modules/annotations.js +135 -0
- package/src/assets/plugins/highcharts/code/modules/annotations.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/annotations.src.js +6712 -0
- package/src/assets/plugins/highcharts/code/modules/arrow-symbols.js +12 -0
- package/src/assets/plugins/highcharts/code/modules/arrow-symbols.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/arrow-symbols.src.js +202 -0
- package/src/assets/plugins/highcharts/code/modules/boost-canvas.js +25 -0
- package/src/assets/plugins/highcharts/code/modules/boost-canvas.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/boost-canvas.src.js +593 -0
- package/src/assets/plugins/highcharts/code/modules/boost.js +90 -0
- package/src/assets/plugins/highcharts/code/modules/boost.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/boost.src.js +3834 -0
- package/src/assets/plugins/highcharts/code/modules/broken-axis.js +20 -0
- package/src/assets/plugins/highcharts/code/modules/broken-axis.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/broken-axis.src.js +682 -0
- package/src/assets/plugins/highcharts/code/modules/bullet.js +18 -0
- package/src/assets/plugins/highcharts/code/modules/bullet.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/bullet.src.js +489 -0
- package/src/assets/plugins/highcharts/code/modules/coloraxis.js +33 -0
- package/src/assets/plugins/highcharts/code/modules/coloraxis.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/coloraxis.src.js +1484 -0
- package/src/assets/plugins/highcharts/code/modules/current-date-indicator.js +13 -0
- package/src/assets/plugins/highcharts/code/modules/current-date-indicator.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/current-date-indicator.src.js +138 -0
- package/src/assets/plugins/highcharts/code/modules/cylinder.js +20 -0
- package/src/assets/plugins/highcharts/code/modules/cylinder.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/cylinder.src.js +585 -0
- package/src/assets/plugins/highcharts/code/modules/data.js +42 -0
- package/src/assets/plugins/highcharts/code/modules/data.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/data.src.js +2383 -0
- package/src/assets/plugins/highcharts/code/modules/datagrouping.js +29 -0
- package/src/assets/plugins/highcharts/code/modules/datagrouping.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/datagrouping.src.js +1275 -0
- package/src/assets/plugins/highcharts/code/modules/debugger.js +30 -0
- package/src/assets/plugins/highcharts/code/modules/debugger.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/debugger.src.js +250 -0
- package/src/assets/plugins/highcharts/code/modules/dependency-wheel.js +20 -0
- package/src/assets/plugins/highcharts/code/modules/dependency-wheel.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/dependency-wheel.src.js +533 -0
- package/src/assets/plugins/highcharts/code/modules/dotplot.js +15 -0
- package/src/assets/plugins/highcharts/code/modules/dotplot.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/dotplot.src.js +216 -0
- package/src/assets/plugins/highcharts/code/modules/drag-panes.js +20 -0
- package/src/assets/plugins/highcharts/code/modules/drag-panes.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/drag-panes.src.js +586 -0
- package/src/assets/plugins/highcharts/code/modules/draggable-points.js +41 -0
- package/src/assets/plugins/highcharts/code/modules/draggable-points.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/draggable-points.src.js +2405 -0
- package/src/assets/plugins/highcharts/code/modules/drilldown.js +34 -0
- package/src/assets/plugins/highcharts/code/modules/drilldown.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/drilldown.src.js +1266 -0
- package/src/assets/plugins/highcharts/code/modules/dumbbell.js +24 -0
- package/src/assets/plugins/highcharts/code/modules/dumbbell.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/dumbbell.src.js +798 -0
- package/src/assets/plugins/highcharts/code/modules/export-data.js +30 -0
- package/src/assets/plugins/highcharts/code/modules/export-data.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/export-data.src.js +1203 -0
- package/src/assets/plugins/highcharts/code/modules/exporting.js +48 -0
- package/src/assets/plugins/highcharts/code/modules/exporting.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/exporting.src.js +2789 -0
- package/src/assets/plugins/highcharts/code/modules/full-screen.js +17 -0
- package/src/assets/plugins/highcharts/code/modules/full-screen.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/full-screen.src.js +284 -0
- package/src/assets/plugins/highcharts/code/modules/funnel.js +21 -0
- package/src/assets/plugins/highcharts/code/modules/funnel.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/funnel.src.js +777 -0
- package/src/assets/plugins/highcharts/code/modules/funnel3d.js +30 -0
- package/src/assets/plugins/highcharts/code/modules/funnel3d.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/funnel3d.src.js +1004 -0
- package/src/assets/plugins/highcharts/code/modules/gantt.js +226 -0
- package/src/assets/plugins/highcharts/code/modules/gantt.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/gantt.src.js +13485 -0
- package/src/assets/plugins/highcharts/code/modules/grid-axis.js +32 -0
- package/src/assets/plugins/highcharts/code/modules/grid-axis.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/grid-axis.src.js +1160 -0
- package/src/assets/plugins/highcharts/code/modules/heatmap.js +46 -0
- package/src/assets/plugins/highcharts/code/modules/heatmap.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/heatmap.src.js +2726 -0
- package/src/assets/plugins/highcharts/code/modules/heikinashi.js +17 -0
- package/src/assets/plugins/highcharts/code/modules/heikinashi.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/heikinashi.src.js +396 -0
- package/src/assets/plugins/highcharts/code/modules/histogram-bellcurve.js +21 -0
- package/src/assets/plugins/highcharts/code/modules/histogram-bellcurve.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/histogram-bellcurve.src.js +699 -0
- package/src/assets/plugins/highcharts/code/modules/hollowcandlestick.js +18 -0
- package/src/assets/plugins/highcharts/code/modules/hollowcandlestick.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/hollowcandlestick.src.js +500 -0
- package/src/assets/plugins/highcharts/code/modules/item-series.js +21 -0
- package/src/assets/plugins/highcharts/code/modules/item-series.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/item-series.src.js +660 -0
- package/src/assets/plugins/highcharts/code/modules/lollipop.js +14 -0
- package/src/assets/plugins/highcharts/code/modules/lollipop.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/lollipop.src.js +318 -0
- package/src/assets/plugins/highcharts/code/modules/marker-clusters.js +45 -0
- package/src/assets/plugins/highcharts/code/modules/marker-clusters.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/marker-clusters.src.js +1713 -0
- package/src/assets/plugins/highcharts/code/modules/networkgraph.js +58 -0
- package/src/assets/plugins/highcharts/code/modules/networkgraph.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/networkgraph.src.js +2926 -0
- package/src/assets/plugins/highcharts/code/modules/no-data-to-display.js +15 -0
- package/src/assets/plugins/highcharts/code/modules/no-data-to-display.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/no-data-to-display.src.js +231 -0
- package/src/assets/plugins/highcharts/code/modules/offline-exporting.js +27 -0
- package/src/assets/plugins/highcharts/code/modules/offline-exporting.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/offline-exporting.src.js +847 -0
- package/src/assets/plugins/highcharts/code/modules/oldie-polyfills.js +17 -0
- package/src/assets/plugins/highcharts/code/modules/oldie-polyfills.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/oldie-polyfills.src.js +220 -0
- package/src/assets/plugins/highcharts/code/modules/oldie.js +40 -0
- package/src/assets/plugins/highcharts/code/modules/oldie.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/oldie.src.js +1443 -0
- package/src/assets/plugins/highcharts/code/modules/organization.js +22 -0
- package/src/assets/plugins/highcharts/code/modules/organization.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/organization.src.js +736 -0
- package/src/assets/plugins/highcharts/code/modules/overlapping-datalabels.js +9 -0
- package/src/assets/plugins/highcharts/code/modules/overlapping-datalabels.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/overlapping-datalabels.src.js +33 -0
- package/src/assets/plugins/highcharts/code/modules/parallel-coordinates.js +20 -0
- package/src/assets/plugins/highcharts/code/modules/parallel-coordinates.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/parallel-coordinates.src.js +555 -0
- package/src/assets/plugins/highcharts/code/modules/pareto.js +16 -0
- package/src/assets/plugins/highcharts/code/modules/pareto.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/pareto.src.js +382 -0
- package/src/assets/plugins/highcharts/code/modules/pathfinder.js +40 -0
- package/src/assets/plugins/highcharts/code/modules/pathfinder.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/pathfinder.src.js +2693 -0
- package/src/assets/plugins/highcharts/code/modules/pattern-fill.js +24 -0
- package/src/assets/plugins/highcharts/code/modules/pattern-fill.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/pattern-fill.src.js +640 -0
- package/src/assets/plugins/highcharts/code/modules/price-indicator.js +15 -0
- package/src/assets/plugins/highcharts/code/modules/price-indicator.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/price-indicator.src.js +346 -0
- package/src/assets/plugins/highcharts/code/modules/pyramid3d.js +13 -0
- package/src/assets/plugins/highcharts/code/modules/pyramid3d.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/pyramid3d.src.js +211 -0
- package/src/assets/plugins/highcharts/code/modules/sankey.js +38 -0
- package/src/assets/plugins/highcharts/code/modules/sankey.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/sankey.src.js +1868 -0
- package/src/assets/plugins/highcharts/code/modules/series-label.js +24 -0
- package/src/assets/plugins/highcharts/code/modules/series-label.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/series-label.src.js +852 -0
- package/src/assets/plugins/highcharts/code/modules/solid-gauge.js +19 -0
- package/src/assets/plugins/highcharts/code/modules/solid-gauge.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/solid-gauge.src.js +650 -0
- package/src/assets/plugins/highcharts/code/modules/sonification.js +68 -0
- package/src/assets/plugins/highcharts/code/modules/sonification.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/sonification.src.js +3869 -0
- package/src/assets/plugins/highcharts/code/modules/static-scale.js +13 -0
- package/src/assets/plugins/highcharts/code/modules/static-scale.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/static-scale.src.js +117 -0
- package/src/assets/plugins/highcharts/code/modules/stock-tools.js +189 -0
- package/src/assets/plugins/highcharts/code/modules/stock-tools.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/stock-tools.src.js +9592 -0
- package/src/assets/plugins/highcharts/code/modules/stock.js +213 -0
- package/src/assets/plugins/highcharts/code/modules/stock.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/stock.src.js +12237 -0
- package/src/assets/plugins/highcharts/code/modules/streamgraph.js +13 -0
- package/src/assets/plugins/highcharts/code/modules/streamgraph.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/streamgraph.src.js +253 -0
- package/src/assets/plugins/highcharts/code/modules/sunburst.js +68 -0
- package/src/assets/plugins/highcharts/code/modules/sunburst.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/sunburst.src.js +3721 -0
- package/src/assets/plugins/highcharts/code/modules/tilemap.js +26 -0
- package/src/assets/plugins/highcharts/code/modules/tilemap.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/tilemap.src.js +878 -0
- package/src/assets/plugins/highcharts/code/modules/timeline.js +28 -0
- package/src/assets/plugins/highcharts/code/modules/timeline.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/timeline.src.js +815 -0
- package/src/assets/plugins/highcharts/code/modules/treegrid.js +65 -0
- package/src/assets/plugins/highcharts/code/modules/treegrid.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/treegrid.src.js +3294 -0
- package/src/assets/plugins/highcharts/code/modules/treemap.js +49 -0
- package/src/assets/plugins/highcharts/code/modules/treemap.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/treemap.src.js +2416 -0
- package/src/assets/plugins/highcharts/code/modules/variable-pie.js +18 -0
- package/src/assets/plugins/highcharts/code/modules/variable-pie.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/variable-pie.src.js +533 -0
- package/src/assets/plugins/highcharts/code/modules/variwide.js +21 -0
- package/src/assets/plugins/highcharts/code/modules/variwide.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/variwide.src.js +529 -0
- package/src/assets/plugins/highcharts/code/modules/vector.js +16 -0
- package/src/assets/plugins/highcharts/code/modules/vector.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/vector.src.js +409 -0
- package/src/assets/plugins/highcharts/code/modules/venn.js +39 -0
- package/src/assets/plugins/highcharts/code/modules/venn.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/venn.src.js +2095 -0
- package/src/assets/plugins/highcharts/code/modules/windbarb.js +24 -0
- package/src/assets/plugins/highcharts/code/modules/windbarb.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/windbarb.src.js +772 -0
- package/src/assets/plugins/highcharts/code/modules/wordcloud.js +31 -0
- package/src/assets/plugins/highcharts/code/modules/wordcloud.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/wordcloud.src.js +1584 -0
- package/src/assets/plugins/highcharts/code/modules/xrange.js +26 -0
- package/src/assets/plugins/highcharts/code/modules/xrange.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/xrange.src.js +940 -0
- package/src/assets/plugins/highcharts/code/themes/avocado.js +10 -0
- package/src/assets/plugins/highcharts/code/themes/avocado.js.map +1 -0
- package/src/assets/plugins/highcharts/code/themes/avocado.src.js +103 -0
- package/src/assets/plugins/highcharts/code/themes/brand-dark.js +15 -0
- package/src/assets/plugins/highcharts/code/themes/brand-dark.js.map +1 -0
- package/src/assets/plugins/highcharts/code/themes/brand-dark.src.js +328 -0
- package/src/assets/plugins/highcharts/code/themes/brand-light.js +15 -0
- package/src/assets/plugins/highcharts/code/themes/brand-light.js.map +1 -0
- package/src/assets/plugins/highcharts/code/themes/brand-light.src.js +294 -0
- package/src/assets/plugins/highcharts/code/themes/dark-blue.js +15 -0
- package/src/assets/plugins/highcharts/code/themes/dark-blue.js.map +1 -0
- package/src/assets/plugins/highcharts/code/themes/dark-blue.src.js +315 -0
- package/src/assets/plugins/highcharts/code/themes/dark-green.js +15 -0
- package/src/assets/plugins/highcharts/code/themes/dark-green.js.map +1 -0
- package/src/assets/plugins/highcharts/code/themes/dark-green.src.js +315 -0
- package/src/assets/plugins/highcharts/code/themes/dark-unica.js +14 -0
- package/src/assets/plugins/highcharts/code/themes/dark-unica.js.map +1 -0
- package/src/assets/plugins/highcharts/code/themes/dark-unica.src.js +284 -0
- package/src/assets/plugins/highcharts/code/themes/gray.js +15 -0
- package/src/assets/plugins/highcharts/code/themes/gray.js.map +1 -0
- package/src/assets/plugins/highcharts/code/themes/gray.src.js +323 -0
- package/src/assets/plugins/highcharts/code/themes/grid-light.js +11 -0
- package/src/assets/plugins/highcharts/code/themes/grid-light.js.map +1 -0
- package/src/assets/plugins/highcharts/code/themes/grid-light.src.js +146 -0
- package/src/assets/plugins/highcharts/code/themes/grid.js +12 -0
- package/src/assets/plugins/highcharts/code/themes/grid.js.map +1 -0
- package/src/assets/plugins/highcharts/code/themes/grid.src.js +176 -0
- package/src/assets/plugins/highcharts/code/themes/high-contrast-dark.js +14 -0
- package/src/assets/plugins/highcharts/code/themes/high-contrast-dark.js.map +1 -0
- package/src/assets/plugins/highcharts/code/themes/high-contrast-dark.src.js +275 -0
- package/src/assets/plugins/highcharts/code/themes/high-contrast-light.js +10 -0
- package/src/assets/plugins/highcharts/code/themes/high-contrast-light.js.map +1 -0
- package/src/assets/plugins/highcharts/code/themes/high-contrast-light.src.js +105 -0
- package/src/assets/plugins/highcharts/code/themes/sand-signika.js +12 -0
- package/src/assets/plugins/highcharts/code/themes/sand-signika.js.map +1 -0
- package/src/assets/plugins/highcharts/code/themes/sand-signika.src.js +179 -0
- package/src/assets/plugins/highcharts/code/themes/skies.js +12 -0
- package/src/assets/plugins/highcharts/code/themes/skies.js.map +1 -0
- package/src/assets/plugins/highcharts/code/themes/skies.src.js +167 -0
- package/src/assets/plugins/highcharts/code/themes/sunset.js +10 -0
- package/src/assets/plugins/highcharts/code/themes/sunset.js.map +1 -0
- package/src/assets/plugins/highcharts/code/themes/sunset.src.js +102 -0
- package/src/assets/plugins/highcharts/examples/3d-area-multiple/index.html +192 -0
- package/src/assets/plugins/highcharts/examples/3d-column-interactive/index.html +111 -0
- package/src/assets/plugins/highcharts/examples/3d-column-null-values/index.html +118 -0
- package/src/assets/plugins/highcharts/examples/3d-column-stacking-grouping/index.html +144 -0
- package/src/assets/plugins/highcharts/examples/3d-pie/index.html +130 -0
- package/src/assets/plugins/highcharts/examples/3d-pie-donut/index.html +112 -0
- package/src/assets/plugins/highcharts/examples/3d-scatter-draggable/index.html +221 -0
- package/src/assets/plugins/highcharts/examples/accessible-line/index.html +198 -0
- package/src/assets/plugins/highcharts/examples/accessible-pie/index.html +213 -0
- package/src/assets/plugins/highcharts/examples/advanced-accessible/index.html +271 -0
- package/src/assets/plugins/highcharts/examples/annotations/index.html +2170 -0
- package/src/assets/plugins/highcharts/examples/area-basic/index.html +157 -0
- package/src/assets/plugins/highcharts/examples/area-inverted/index.html +135 -0
- package/src/assets/plugins/highcharts/examples/area-missing/index.html +125 -0
- package/src/assets/plugins/highcharts/examples/area-negative/index.html +101 -0
- package/src/assets/plugins/highcharts/examples/area-stacked/index.html +136 -0
- package/src/assets/plugins/highcharts/examples/area-stacked-percent/index.html +141 -0
- package/src/assets/plugins/highcharts/examples/arearange/index.html +132 -0
- package/src/assets/plugins/highcharts/examples/arearange-line/index.html +195 -0
- package/src/assets/plugins/highcharts/examples/areaspline/index.html +137 -0
- package/src/assets/plugins/highcharts/examples/bar-basic/index.html +143 -0
- package/src/assets/plugins/highcharts/examples/bar-negative-stack/index.html +173 -0
- package/src/assets/plugins/highcharts/examples/bar-stacked/index.html +112 -0
- package/src/assets/plugins/highcharts/examples/bellcurve/index.html +133 -0
- package/src/assets/plugins/highcharts/examples/box-plot/index.html +149 -0
- package/src/assets/plugins/highcharts/examples/bubble/index.html +209 -0
- package/src/assets/plugins/highcharts/examples/bubble-3d/index.html +159 -0
- package/src/assets/plugins/highcharts/examples/bullet-graph/index.html +233 -0
- package/src/assets/plugins/highcharts/examples/chart-update/index.html +137 -0
- package/src/assets/plugins/highcharts/examples/column-basic/index.html +144 -0
- package/src/assets/plugins/highcharts/examples/column-comparison/index.html +350 -0
- package/src/assets/plugins/highcharts/examples/column-drilldown/index.html +387 -0
- package/src/assets/plugins/highcharts/examples/column-negative/index.html +101 -0
- package/src/assets/plugins/highcharts/examples/column-parsed/index.html +138 -0
- package/src/assets/plugins/highcharts/examples/column-placement/index.html +160 -0
- package/src/assets/plugins/highcharts/examples/column-pyramid/index.html +117 -0
- package/src/assets/plugins/highcharts/examples/column-rotated-labels/index.html +147 -0
- package/src/assets/plugins/highcharts/examples/column-stacked/index.html +138 -0
- package/src/assets/plugins/highcharts/examples/column-stacked-and-grouped/index.html +133 -0
- package/src/assets/plugins/highcharts/examples/column-stacked-percent/index.html +113 -0
- package/src/assets/plugins/highcharts/examples/columnrange/index.html +145 -0
- package/src/assets/plugins/highcharts/examples/combo/index.html +146 -0
- package/src/assets/plugins/highcharts/examples/combo-dual-axes/index.html +153 -0
- package/src/assets/plugins/highcharts/examples/combo-meteogram/index.html +768 -0
- package/src/assets/plugins/highcharts/examples/combo-multi-axes/index.html +222 -0
- package/src/assets/plugins/highcharts/examples/combo-regression/index.html +110 -0
- package/src/assets/plugins/highcharts/examples/combo-timeline/index.html +592 -0
- package/src/assets/plugins/highcharts/examples/cylinder/index.html +104 -0
- package/src/assets/plugins/highcharts/examples/dependency-wheel/index.html +165 -0
- package/src/assets/plugins/highcharts/examples/dumbbell/index.html +230 -0
- package/src/assets/plugins/highcharts/examples/dynamic-click-to-add/index.html +147 -0
- package/src/assets/plugins/highcharts/examples/dynamic-master-detail/index.html +316 -0
- package/src/assets/plugins/highcharts/examples/dynamic-update/index.html +163 -0
- package/src/assets/plugins/highcharts/examples/error-bar/index.html +154 -0
- package/src/assets/plugins/highcharts/examples/euler-diagram/index.html +119 -0
- package/src/assets/plugins/highcharts/examples/flame/index.html +1324 -0
- package/src/assets/plugins/highcharts/examples/funnel/index.html +131 -0
- package/src/assets/plugins/highcharts/examples/funnel3d/index.html +117 -0
- package/src/assets/plugins/highcharts/examples/gauge-activity/index.html +272 -0
- package/src/assets/plugins/highcharts/examples/gauge-clock/index.html +261 -0
- package/src/assets/plugins/highcharts/examples/gauge-dual/index.html +181 -0
- package/src/assets/plugins/highcharts/examples/gauge-solid/index.html +248 -0
- package/src/assets/plugins/highcharts/examples/gauge-speedometer/index.html +189 -0
- package/src/assets/plugins/highcharts/examples/gauge-vu-meter/index.html +210 -0
- package/src/assets/plugins/highcharts/examples/heatmap/index.html +168 -0
- package/src/assets/plugins/highcharts/examples/heatmap-canvas/index.html +8928 -0
- package/src/assets/plugins/highcharts/examples/histogram/index.html +133 -0
- package/src/assets/plugins/highcharts/examples/honeycomb-usa/index.html +518 -0
- package/src/assets/plugins/highcharts/examples/line-ajax/index.html +206 -0
- package/src/assets/plugins/highcharts/examples/line-basic/index.html +147 -0
- package/src/assets/plugins/highcharts/examples/line-boost/index.html +144 -0
- package/src/assets/plugins/highcharts/examples/line-labels/index.html +108 -0
- package/src/assets/plugins/highcharts/examples/line-log-axis/index.html +106 -0
- package/src/assets/plugins/highcharts/examples/line-time-series/index.html +136 -0
- package/src/assets/plugins/highcharts/examples/live-data/index.html +155 -0
- package/src/assets/plugins/highcharts/examples/lollipop/index.html +161 -0
- package/src/assets/plugins/highcharts/examples/network-graph/index.html +277 -0
- package/src/assets/plugins/highcharts/examples/organization-chart/index.html +224 -0
- package/src/assets/plugins/highcharts/examples/packed-bubble/index.html +588 -0
- package/src/assets/plugins/highcharts/examples/packed-bubble-split/index.html +589 -0
- package/src/assets/plugins/highcharts/examples/parallel-coordinates/index.html +176 -0
- package/src/assets/plugins/highcharts/examples/pareto/index.html +133 -0
- package/src/assets/plugins/highcharts/examples/parliament-chart/index.html +138 -0
- package/src/assets/plugins/highcharts/examples/pie-basic/index.html +141 -0
- package/src/assets/plugins/highcharts/examples/pie-donut/index.html +347 -0
- package/src/assets/plugins/highcharts/examples/pie-drilldown/index.html +418 -0
- package/src/assets/plugins/highcharts/examples/pie-gradient/index.html +133 -0
- package/src/assets/plugins/highcharts/examples/pie-legend/index.html +128 -0
- package/src/assets/plugins/highcharts/examples/pie-monochrome/index.html +139 -0
- package/src/assets/plugins/highcharts/examples/pie-semi-circle/index.html +133 -0
- package/src/assets/plugins/highcharts/examples/polar/index.html +136 -0
- package/src/assets/plugins/highcharts/examples/polar-radial-bar/index.html +169 -0
- package/src/assets/plugins/highcharts/examples/polar-spider/index.html +148 -0
- package/src/assets/plugins/highcharts/examples/polar-wind-rose/index.html +351 -0
- package/src/assets/plugins/highcharts/examples/polygon/index.html +190 -0
- package/src/assets/plugins/highcharts/examples/pyramid/index.html +126 -0
- package/src/assets/plugins/highcharts/examples/pyramid3d/index.html +117 -0
- package/src/assets/plugins/highcharts/examples/renderer/index.html +334 -0
- package/src/assets/plugins/highcharts/examples/responsive/index.html +176 -0
- package/src/assets/plugins/highcharts/examples/sankey-diagram/index.html +145 -0
- package/src/assets/plugins/highcharts/examples/scatter/index.html +246 -0
- package/src/assets/plugins/highcharts/examples/scatter-boost/index.html +142 -0
- package/src/assets/plugins/highcharts/examples/sonification/index.html +331 -0
- package/src/assets/plugins/highcharts/examples/sparkline/index.html +676 -0
- package/src/assets/plugins/highcharts/examples/spline-inverted/index.html +135 -0
- package/src/assets/plugins/highcharts/examples/spline-irregular-time/index.html +255 -0
- package/src/assets/plugins/highcharts/examples/spline-plot-bands/index.html +223 -0
- package/src/assets/plugins/highcharts/examples/spline-symbols/index.html +139 -0
- package/src/assets/plugins/highcharts/examples/streamgraph/index.html +447 -0
- package/src/assets/plugins/highcharts/examples/styled-mode-column/index.html +146 -0
- package/src/assets/plugins/highcharts/examples/styled-mode-pie/index.html +119 -0
- package/src/assets/plugins/highcharts/examples/sunburst/index.html +1520 -0
- package/src/assets/plugins/highcharts/examples/synchronized-charts/index.html +238 -0
- package/src/assets/plugins/highcharts/examples/timeline/index.html +142 -0
- package/src/assets/plugins/highcharts/examples/treemap-coloraxis/index.html +119 -0
- package/src/assets/plugins/highcharts/examples/treemap-large-dataset/index.html +172 -0
- package/src/assets/plugins/highcharts/examples/treemap-with-levels/index.html +151 -0
- package/src/assets/plugins/highcharts/examples/variable-radius-pie/index.html +131 -0
- package/src/assets/plugins/highcharts/examples/variwide/index.html +146 -0
- package/src/assets/plugins/highcharts/examples/vector-plot/index.html +494 -0
- package/src/assets/plugins/highcharts/examples/venn-diagram/index.html +124 -0
- package/src/assets/plugins/highcharts/examples/waterfall/index.html +143 -0
- package/src/assets/plugins/highcharts/examples/windbarb-series/index.html +189 -0
- package/src/assets/plugins/highcharts/examples/wordcloud/index.html +110 -0
- package/src/assets/plugins/highcharts/examples/x-range/index.html +142 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/annotations-hidden.svg +19 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/annotations-visible.svg +20 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/arrow-bottom.svg +9 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/arrow-left.svg +9 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/arrow-line.svg +11 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/arrow-ray.svg +10 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/arrow-right.svg +9 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/arrow-segment.svg +11 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/arrow.svg +13 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/circle.svg +13 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/close.svg +8 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/crooked-3.svg +13 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/crooked-5.svg +11 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/current-price-hide.svg +40 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/current-price-show.svg +41 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/destroy.svg +14 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/drawing.svg +18 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/edit.svg +10 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/elliott-3.svg +59 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/elliott-5.svg +41 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/ellipse.svg +11 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/fibonacci-timezone.svg +16 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/fibonacci.svg +25 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/flag-basic.svg +10 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/flag-diamond.svg +12 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/flag-elipse.svg +13 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/flag-trapeze.svg +14 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/fullscreen.svg +15 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/horizontal-line.svg +8 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/indicators.svg +27 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/label.svg +16 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/line.svg +11 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/linear.svg +11 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/logarithmic.svg +1 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/measure-x.svg +23 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/measure-xy.svg +28 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/measure-y.svg +24 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/panning.svg +17 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/parallel-channel.svg +15 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/pitchfork.svg +13 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/ray.svg +10 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/rectangle.svg +8 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/remove-annotations.svg +15 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/save-chart.svg +12 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/segment.svg +10 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/separator.svg +10 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/series-candlestick.svg +12 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/series-heikin-ashi.svg +1 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/series-hlc.svg +1 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/series-hollow-candlestick.svg +1 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/series-line.svg +11 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/series-ohlc.svg +14 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/text.svg +13 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/time-cycles.svg +35 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/vertical-arrow.svg +7 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/vertical-counter.svg +23 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/vertical-double-arrow.svg +10 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/vertical-label.svg +14 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/vertical-line.svg +8 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/zoom-x.svg +17 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/zoom-xy.svg +13 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/zoom-y.svg +17 -0
- package/src/assets/plugins/highcharts/gfx/vml-radial-gradient.png +0 -0
- package/src/assets/plugins/highcharts/graphics/color-picker.svg +12 -0
- package/src/assets/plugins/highcharts/graphics/cursor.svg +11 -0
- package/src/assets/plugins/highcharts/graphics/earth.svg +432 -0
- package/src/assets/plugins/highcharts/graphics/feature.svg +13 -0
- package/src/assets/plugins/highcharts/graphics/flag-circle.svg +17 -0
- package/src/assets/plugins/highcharts/graphics/flag-circlepin.svg +15 -0
- package/src/assets/plugins/highcharts/graphics/flag-diamondpin.svg +15 -0
- package/src/assets/plugins/highcharts/graphics/flag-flag.svg +14 -0
- package/src/assets/plugins/highcharts/graphics/flag-rectangle.svg +18 -0
- package/src/assets/plugins/highcharts/graphics/flag-squarepin.svg +16 -0
- package/src/assets/plugins/highcharts/graphics/flag.svg +15 -0
- package/src/assets/plugins/highcharts/graphics/homepage/apple.svg +55 -0
- package/src/assets/plugins/highcharts/graphics/homepage/award.png +0 -0
- package/src/assets/plugins/highcharts/graphics/homepage/cloud.png +0 -0
- package/src/assets/plugins/highcharts/graphics/homepage/earth.png +0 -0
- package/src/assets/plugins/highcharts/graphics/homepage/jupiter.png +0 -0
- package/src/assets/plugins/highcharts/graphics/homepage/mars.png +0 -0
- package/src/assets/plugins/highcharts/graphics/homepage/mercury.png +0 -0
- package/src/assets/plugins/highcharts/graphics/homepage/moon.png +0 -0
- package/src/assets/plugins/highcharts/graphics/homepage/neptune.png +0 -0
- package/src/assets/plugins/highcharts/graphics/homepage/p1.png +0 -0
- package/src/assets/plugins/highcharts/graphics/homepage/p1.svg +9 -0
- package/src/assets/plugins/highcharts/graphics/homepage/p2.png +0 -0
- package/src/assets/plugins/highcharts/graphics/homepage/p2.svg +9 -0
- package/src/assets/plugins/highcharts/graphics/homepage/p3.png +0 -0
- package/src/assets/plugins/highcharts/graphics/homepage/p3.svg +9 -0
- package/src/assets/plugins/highcharts/graphics/homepage/p4.png +0 -0
- package/src/assets/plugins/highcharts/graphics/homepage/p4.svg +9 -0
- package/src/assets/plugins/highcharts/graphics/homepage/p5.png +0 -0
- package/src/assets/plugins/highcharts/graphics/homepage/p5.svg +9 -0
- package/src/assets/plugins/highcharts/graphics/homepage/p6.png +0 -0
- package/src/assets/plugins/highcharts/graphics/homepage/p6.svg +9 -0
- package/src/assets/plugins/highcharts/graphics/homepage/product.png +0 -0
- package/src/assets/plugins/highcharts/graphics/homepage/saturn.png +0 -0
- package/src/assets/plugins/highcharts/graphics/homepage/sun.png +0 -0
- package/src/assets/plugins/highcharts/graphics/homepage/uranus.png +0 -0
- package/src/assets/plugins/highcharts/graphics/homepage/venus.png +0 -0
- package/src/assets/plugins/highcharts/graphics/homepage/version.png +0 -0
- package/src/assets/plugins/highcharts/graphics/rect.svg +12 -0
- package/src/assets/plugins/highcharts/graphics/reset.svg +16 -0
- package/src/assets/plugins/highcharts/graphics/sand.png +0 -0
- package/src/assets/plugins/highcharts/graphics/save-chart-cloud.svg +14 -0
- package/src/assets/plugins/highcharts/graphics/save.svg +14 -0
- package/src/assets/plugins/highcharts/graphics/search.png +0 -0
- package/src/assets/plugins/highcharts/graphics/skies.jpg +0 -0
- package/src/assets/plugins/highcharts/graphics/snow.png +0 -0
- package/src/assets/plugins/highcharts/graphics/sun.png +0 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/blue-flake-big.svg +32 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/blue-star-big.svg +16 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/car-tree.svg +429 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/green-flake-big.svg +119 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/green-star.svg +20 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/hill.svg +193 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/hill2.svg +164 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/horse.svg +1 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/people.svg +2336 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/pines.svg +777 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/pond-skate.svg +1 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/red-flake.svg +30 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/red-house.svg +85 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/red-star-big.svg +36 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/red-star.svg +20 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/santa-b.svg +91 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/santa.svg +91 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/snow-mound.svg +146 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/snow.svg +20788 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/sun-disk.svg +597 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/tree-cluster.svg +2735 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/white-flake-big.svg +99 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/white-flake.big.svg +96 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/white-star-big.svg +36 -0
- package/src/assets/plugins/highcharts/index.html +133 -0
- package/src/lib/classes/chart.class.ts +140 -0
- package/src/lib/classes/enum.class.ts +193 -0
- package/src/lib/classes/excel.class.ts +46 -0
- package/src/lib/classes/form.class.ts +528 -0
- package/src/lib/classes/helper.class.ts +283 -0
- package/src/lib/classes/lang.class.ts +32 -0
- package/src/lib/classes/login.class.ts +27 -0
- package/src/lib/classes/modal.class.ts +59 -0
- package/src/lib/classes/permission.class.ts +55 -0
- package/src/lib/classes/request.class.ts +255 -0
- package/src/lib/classes/safestyle.class.ts +4 -0
- package/src/lib/classes/sidebar.class.ts +20 -0
- package/src/lib/classes/steps.class.ts +19 -0
- package/src/lib/classes/string.class.ts +219 -0
- package/src/lib/classes/table.class.ts +228 -0
- package/src/lib/components/accordion/accordion.component.css +116 -0
- package/src/lib/components/accordion/accordion.component.html +19 -0
- package/src/lib/components/accordion/accordion.component.ts +41 -0
- package/src/lib/components/alert/alert.component.css +112 -0
- package/src/lib/components/alert/alert.component.html +1 -0
- package/src/lib/components/alert/alert.component.ts +35 -0
- package/src/lib/components/base.component.ts +38 -0
- package/src/lib/components/calendar/calendar.component.css +206 -0
- package/src/lib/components/calendar/calendar.component.html +36 -0
- package/src/lib/components/calendar/calendar.component.ts +99 -0
- package/src/lib/components/chart/chart.component.css +24 -0
- package/src/lib/components/chart/chart.component.html +6 -0
- package/src/lib/components/chart/chart.component.ts +14 -0
- package/src/lib/components/clock/clock.component.css +141 -0
- package/src/lib/components/clock/clock.component.html +10 -0
- package/src/lib/components/clock/clock.component.ts +37 -0
- package/src/lib/components/confirm/confirm.component.css +112 -0
- package/src/lib/components/confirm/confirm.component.html +1 -0
- package/src/lib/components/confirm/confirm.component.ts +47 -0
- package/src/lib/components/footer/footer.component.css +46 -0
- package/src/lib/components/footer/footer.component.html +9 -0
- package/src/lib/components/footer/footer.component.ts +18 -0
- package/src/lib/components/form/bank-card/form.bank-card.component.css +115 -0
- package/src/lib/components/form/bank-card/form.bank-card.component.html +13 -0
- package/src/lib/components/form/bank-card/form.bank-card.component.ts +144 -0
- package/src/lib/components/form/button/form.button.component.css +222 -0
- package/src/lib/components/form/button/form.button.component.html +16 -0
- package/src/lib/components/form/button/form.button.component.ts +65 -0
- package/src/lib/components/form/car/form.car.component.css +287 -0
- package/src/lib/components/form/car/form.car.component.html +11 -0
- package/src/lib/components/form/car/form.car.component.ts +82 -0
- package/src/lib/components/form/car/search/form.car.search.component.css +287 -0
- package/src/lib/components/form/car/search/form.car.search.component.html +15 -0
- package/src/lib/components/form/car/search/form.car.search.component.ts +170 -0
- package/src/lib/components/form/checkbox/form.checkbox.component.css +128 -0
- package/src/lib/components/form/checkbox/form.checkbox.component.html +8 -0
- package/src/lib/components/form/checkbox/form.checkbox.component.ts +64 -0
- package/src/lib/components/form/date/form.date.component.css +310 -0
- package/src/lib/components/form/date/form.date.component.html +46 -0
- package/src/lib/components/form/date/form.date.component.ts +247 -0
- package/src/lib/components/form/datetime/form.datetime.component.css +157 -0
- package/src/lib/components/form/datetime/form.datetime.component.html +11 -0
- package/src/lib/components/form/datetime/form.datetime.component.ts +98 -0
- package/src/lib/components/form/file/form.file.component.css +151 -0
- package/src/lib/components/form/file/form.file.component.html +12 -0
- package/src/lib/components/form/file/form.file.component.ts +130 -0
- package/src/lib/components/form/finger/form.finger.component.css +215 -0
- package/src/lib/components/form/finger/form.finger.component.html +59 -0
- package/src/lib/components/form/finger/form.finger.component.ts +131 -0
- package/src/lib/components/form/hidden/form.hidden.component.css +0 -0
- package/src/lib/components/form/hidden/form.hidden.component.html +0 -0
- package/src/lib/components/form/hidden/form.hidden.component.ts +29 -0
- package/src/lib/components/form/icon/form.icon.component.css +108 -0
- package/src/lib/components/form/icon/form.icon.component.html +14 -0
- package/src/lib/components/form/icon/form.icon.component.ts +73 -0
- package/src/lib/components/form/index/form.component.css +89 -0
- package/src/lib/components/form/index/form.component.html +35 -0
- package/src/lib/components/form/index/form.component.ts +45 -0
- package/src/lib/components/form/label/form.label.component.css +45 -0
- package/src/lib/components/form/label/form.label.component.html +2 -0
- package/src/lib/components/form/label/form.label.component.ts +30 -0
- package/src/lib/components/form/plaque/form.plaque.component.css +76 -0
- package/src/lib/components/form/plaque/form.plaque.component.html +10 -0
- package/src/lib/components/form/plaque/form.plaque.component.ts +178 -0
- package/src/lib/components/form/plaque/select/form.plaque.select.component.css +167 -0
- package/src/lib/components/form/plaque/select/form.plaque.select.component.html +19 -0
- package/src/lib/components/form/plaque/select/form.plaque.select.component.ts +385 -0
- package/src/lib/components/form/radio/form.radio.component.css +158 -0
- package/src/lib/components/form/radio/form.radio.component.html +16 -0
- package/src/lib/components/form/radio/form.radio.component.ts +78 -0
- package/src/lib/components/form/select/form.select.component.css +326 -0
- package/src/lib/components/form/select/form.select.component.html +16 -0
- package/src/lib/components/form/select/form.select.component.ts +358 -0
- package/src/lib/components/form/select/item/form.select.item.component.css +59 -0
- package/src/lib/components/form/select/item/form.select.item.component.html +10 -0
- package/src/lib/components/form/select/item/form.select.item.component.ts +40 -0
- package/src/lib/components/form/table/form.table.component.css +50 -0
- package/src/lib/components/form/table/form.table.component.html +8 -0
- package/src/lib/components/form/table/form.table.component.ts +94 -0
- package/src/lib/components/form/textarea/form.textarea.component.css +109 -0
- package/src/lib/components/form/textarea/form.textarea.component.html +10 -0
- package/src/lib/components/form/textarea/form.textarea.component.ts +76 -0
- package/src/lib/components/form/textbox/form.textbox.component.css +296 -0
- package/src/lib/components/form/textbox/form.textbox.component.html +13 -0
- package/src/lib/components/form/textbox/form.textbox.component.ts +185 -0
- package/src/lib/components/form/time/form.time.component.css +205 -0
- package/src/lib/components/form/time/form.time.component.html +22 -0
- package/src/lib/components/form/time/form.time.component.ts +139 -0
- package/src/lib/components/form/tree/form.tree.component.css +109 -0
- package/src/lib/components/form/tree/form.tree.component.html +11 -0
- package/src/lib/components/form/tree/form.tree.component.ts +98 -0
- package/src/lib/components/form/tree/item/form.tree.item.component.css +142 -0
- package/src/lib/components/form/tree/item/form.tree.item.component.html +9 -0
- package/src/lib/components/form/tree/item/form.tree.item.component.ts +49 -0
- package/src/lib/components/header/header.component.css +57 -0
- package/src/lib/components/header/header.component.html +5 -0
- package/src/lib/components/header/header.component.ts +28 -0
- package/src/lib/components/header/sub/sub.header.component.css +62 -0
- package/src/lib/components/header/sub/sub.header.component.html +8 -0
- package/src/lib/components/header/sub/sub.header.component.ts +11 -0
- package/src/lib/components/layout/layout.component.css +300 -0
- package/src/lib/components/layout/layout.component.html +20 -0
- package/src/lib/components/layout/layout.component.ts +21 -0
- package/src/lib/components/loading/loading.component.css +39 -0
- package/src/lib/components/loading/loading.component.html +8 -0
- package/src/lib/components/loading/loading.component.ts +18 -0
- package/src/lib/components/login/login.component.css +389 -0
- package/src/lib/components/login/login.component.html +27 -0
- package/src/lib/components/login/login.component.ts +145 -0
- package/src/lib/components/modal/modal.component.css +60 -0
- package/src/lib/components/modal/modal.component.html +12 -0
- package/src/lib/components/modal/modal.component.ts +23 -0
- package/src/lib/components/notfound/notfound.component.css +134 -0
- package/src/lib/components/notfound/notfound.component.html +10 -0
- package/src/lib/components/notfound/notfound.component.ts +25 -0
- package/src/lib/components/notification/notification.component.css +45 -0
- package/src/lib/components/notification/notification.component.html +2 -0
- package/src/lib/components/notification/notification.component.ts +11 -0
- package/src/lib/components/sidebar/item/sidebar.item.component.css +236 -0
- package/src/lib/components/sidebar/item/sidebar.item.component.html +16 -0
- package/src/lib/components/sidebar/item/sidebar.item.component.ts +54 -0
- package/src/lib/components/sidebar/sidebar.component.css +42 -0
- package/src/lib/components/sidebar/sidebar.component.html +10 -0
- package/src/lib/components/sidebar/sidebar.component.ts +60 -0
- package/src/lib/components/steps/steps.component.css +320 -0
- package/src/lib/components/steps/steps.component.html +18 -0
- package/src/lib/components/steps/steps.component.ts +44 -0
- package/src/lib/components/table/loading/table.loading.component.css +29 -0
- package/src/lib/components/table/loading/table.loading.component.html +9 -0
- package/src/lib/components/table/loading/table.loading.component.ts +14 -0
- package/src/lib/components/table/pagination/table.pagination.component.css +138 -0
- package/src/lib/components/table/pagination/table.pagination.component.html +9 -0
- package/src/lib/components/table/pagination/table.pagination.component.ts +89 -0
- package/src/lib/components/table/report/table.report.component.css +125 -0
- package/src/lib/components/table/report/table.report.component.html +19 -0
- package/src/lib/components/table/report/table.report.component.ts +238 -0
- package/src/lib/components/table/row/table.row.component.css +170 -0
- package/src/lib/components/table/row/table.row.component.html +21 -0
- package/src/lib/components/table/row/table.row.component.ts +373 -0
- package/src/lib/components/table/table.component.css +116 -0
- package/src/lib/components/table/table.component.html +62 -0
- package/src/lib/components/table/table.component.ts +180 -0
- package/src/lib/components/tooltip/tooltip.component.css +159 -0
- package/src/lib/components/tooltip/tooltip.component.html +1 -0
- package/src/lib/components/tooltip/tooltip.component.ts +15 -0
- package/src/lib/ps-toolkit-ui.module.ts +94 -0
- package/src/lib/services/config.service.ts +8 -0
- package/src/public-api.ts +53 -0
- package/src/test.ts +26 -0
- package/tsconfig.lib.json +25 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +17 -0
- package/tslint.json +17 -0
- package/bundles/ps-toolkit-ui.umd.js +0 -7628
- package/bundles/ps-toolkit-ui.umd.js.map +0 -1
- package/bundles/ps-toolkit-ui.umd.min.js +0 -2
- package/bundles/ps-toolkit-ui.umd.min.js.map +0 -1
- package/esm2015/lib/classes/enum.class.js +0 -187
- package/esm2015/lib/classes/form.class.js +0 -481
- package/esm2015/lib/classes/helper.class.js +0 -284
- package/esm2015/lib/classes/lang.class.js +0 -32
- package/esm2015/lib/classes/login.class.js +0 -22
- package/esm2015/lib/classes/modal.class.js +0 -52
- package/esm2015/lib/classes/permission.class.js +0 -61
- package/esm2015/lib/classes/request.class.js +0 -256
- package/esm2015/lib/classes/safestyle.class.js +0 -15
- package/esm2015/lib/classes/sidebar.class.js +0 -14
- package/esm2015/lib/classes/steps.class.js +0 -20
- package/esm2015/lib/classes/string.class.js +0 -220
- package/esm2015/lib/classes/table.class.js +0 -215
- package/esm2015/lib/components/accordion/accordion.component.js +0 -45
- package/esm2015/lib/components/alert/alert.component.js +0 -39
- package/esm2015/lib/components/base.component.js +0 -45
- package/esm2015/lib/components/calendar/calendar.component.js +0 -97
- package/esm2015/lib/components/clock/clock.component.js +0 -33
- package/esm2015/lib/components/confirm/confirm.component.js +0 -50
- package/esm2015/lib/components/footer/footer.component.js +0 -23
- package/esm2015/lib/components/form/bank-card/form.bank-card.component.js +0 -148
- package/esm2015/lib/components/form/button/form.button.component.js +0 -68
- package/esm2015/lib/components/form/car/form.car.component.js +0 -84
- package/esm2015/lib/components/form/car/search/form.car.search.component.js +0 -172
- package/esm2015/lib/components/form/checkbox/form.checkbox.component.js +0 -66
- package/esm2015/lib/components/form/date/form.date.component.js +0 -254
- package/esm2015/lib/components/form/datetime/form.datetime.component.js +0 -104
- package/esm2015/lib/components/form/file/form.file.component.js +0 -133
- package/esm2015/lib/components/form/finger/form.finger.component.js +0 -138
- package/esm2015/lib/components/form/hidden/form.hidden.component.js +0 -31
- package/esm2015/lib/components/form/icon/form.icon.component.js +0 -76
- package/esm2015/lib/components/form/index/form.component.js +0 -48
- package/esm2015/lib/components/form/label/form.label.component.js +0 -32
- package/esm2015/lib/components/form/plaque/form.plaque.component.js +0 -176
- package/esm2015/lib/components/form/plaque/select/form.plaque.select.component.js +0 -390
- package/esm2015/lib/components/form/radio/form.radio.component.js +0 -79
- package/esm2015/lib/components/form/select/form.select.component.js +0 -374
- package/esm2015/lib/components/form/select/item/form.select.item.component.js +0 -43
- package/esm2015/lib/components/form/table/form.table.component.js +0 -98
- package/esm2015/lib/components/form/textarea/form.textarea.component.js +0 -78
- package/esm2015/lib/components/form/textbox/form.textbox.component.js +0 -186
- package/esm2015/lib/components/form/time/form.time.component.js +0 -145
- package/esm2015/lib/components/form/tree/form.tree.component.js +0 -99
- package/esm2015/lib/components/form/tree/item/form.tree.item.component.js +0 -48
- package/esm2015/lib/components/header/header.component.js +0 -33
- package/esm2015/lib/components/header/sub/sub.header.component.js +0 -14
- package/esm2015/lib/components/layout/layout.component.js +0 -25
- package/esm2015/lib/components/loading/loading.component.js +0 -22
- package/esm2015/lib/components/login/login.component.js +0 -148
- package/esm2015/lib/components/modal/modal.component.js +0 -25
- package/esm2015/lib/components/notfound/notfound.component.js +0 -29
- package/esm2015/lib/components/notification/notification.component.js +0 -14
- package/esm2015/lib/components/sidebar/item/sidebar.item.component.js +0 -53
- package/esm2015/lib/components/sidebar/sidebar.component.js +0 -67
- package/esm2015/lib/components/steps/steps.component.js +0 -51
- package/esm2015/lib/components/table/loading/table.loading.component.js +0 -17
- package/esm2015/lib/components/table/pagination/table.pagination.component.js +0 -84
- package/esm2015/lib/components/table/report/table.report.component.js +0 -246
- package/esm2015/lib/components/table/row/table.row.component.js +0 -379
- package/esm2015/lib/components/table/table.component.js +0 -179
- package/esm2015/lib/components/tooltip/tooltip.component.js +0 -19
- package/esm2015/lib/ps-toolkit-ui.module.js +0 -94
- package/esm2015/lib/services/config.service.js +0 -14
- package/esm2015/ps-toolkit-ui.js +0 -19
- package/esm2015/public-api.js +0 -52
- package/fesm2015/ps-toolkit-ui.js +0 -6550
- package/fesm2015/ps-toolkit-ui.js.map +0 -1
- package/lib/classes/enum.class.d.ts +0 -158
- package/lib/classes/form.class.d.ts +0 -173
- package/lib/classes/helper.class.d.ts +0 -28
- package/lib/classes/lang.class.d.ts +0 -5
- package/lib/classes/login.class.d.ts +0 -17
- package/lib/classes/modal.class.d.ts +0 -19
- package/lib/classes/permission.class.d.ts +0 -31
- package/lib/classes/request.class.d.ts +0 -12
- package/lib/classes/safestyle.class.d.ts +0 -7
- package/lib/classes/sidebar.class.d.ts +0 -11
- package/lib/classes/steps.class.d.ts +0 -17
- package/lib/classes/string.class.d.ts +0 -218
- package/lib/classes/table.class.d.ts +0 -69
- package/lib/components/accordion/accordion.component.d.ts +0 -7
- package/lib/components/alert/alert.component.d.ts +0 -10
- package/lib/components/base.component.d.ts +0 -14
- package/lib/components/calendar/calendar.component.d.ts +0 -26
- package/lib/components/clock/clock.component.d.ts +0 -11
- package/lib/components/confirm/confirm.component.d.ts +0 -14
- package/lib/components/footer/footer.component.d.ts +0 -6
- package/lib/components/form/bank-card/form.bank-card.component.d.ts +0 -22
- package/lib/components/form/button/form.button.component.d.ts +0 -15
- package/lib/components/form/car/form.car.component.d.ts +0 -16
- package/lib/components/form/car/search/form.car.search.component.d.ts +0 -17
- package/lib/components/form/checkbox/form.checkbox.component.d.ts +0 -14
- package/lib/components/form/date/form.date.component.d.ts +0 -42
- package/lib/components/form/datetime/form.datetime.component.d.ts +0 -13
- package/lib/components/form/file/form.file.component.d.ts +0 -17
- package/lib/components/form/finger/form.finger.component.d.ts +0 -15
- package/lib/components/form/hidden/form.hidden.component.d.ts +0 -7
- package/lib/components/form/icon/form.icon.component.d.ts +0 -15
- package/lib/components/form/index/form.component.d.ts +0 -10
- package/lib/components/form/label/form.label.component.d.ts +0 -8
- package/lib/components/form/plaque/form.plaque.component.d.ts +0 -22
- package/lib/components/form/plaque/select/form.plaque.select.component.d.ts +0 -36
- package/lib/components/form/radio/form.radio.component.d.ts +0 -13
- package/lib/components/form/select/form.select.component.d.ts +0 -39
- package/lib/components/form/select/item/form.select.item.component.d.ts +0 -12
- package/lib/components/form/table/form.table.component.d.ts +0 -9
- package/lib/components/form/textarea/form.textarea.component.d.ts +0 -13
- package/lib/components/form/textbox/form.textbox.component.d.ts +0 -20
- package/lib/components/form/time/form.time.component.d.ts +0 -25
- package/lib/components/form/tree/form.tree.component.d.ts +0 -16
- package/lib/components/form/tree/item/form.tree.item.component.d.ts +0 -17
- package/lib/components/header/header.component.d.ts +0 -9
- package/lib/components/header/sub/sub.header.component.d.ts +0 -3
- package/lib/components/layout/layout.component.d.ts +0 -8
- package/lib/components/loading/loading.component.d.ts +0 -5
- package/lib/components/login/login.component.d.ts +0 -13
- package/lib/components/modal/modal.component.d.ts +0 -9
- package/lib/components/notfound/notfound.component.d.ts +0 -8
- package/lib/components/notification/notification.component.d.ts +0 -3
- package/lib/components/sidebar/item/sidebar.item.component.d.ts +0 -14
- package/lib/components/sidebar/sidebar.component.d.ts +0 -19
- package/lib/components/steps/steps.component.d.ts +0 -10
- package/lib/components/table/loading/table.loading.component.d.ts +0 -5
- package/lib/components/table/pagination/table.pagination.component.d.ts +0 -15
- package/lib/components/table/report/table.report.component.d.ts +0 -34
- package/lib/components/table/row/table.row.component.d.ts +0 -34
- package/lib/components/table/table.component.d.ts +0 -40
- package/lib/components/tooltip/tooltip.component.d.ts +0 -5
- package/lib/ps-toolkit-ui.module.d.ts +0 -4
- package/lib/services/config.service.d.ts +0 -6
- package/ps-toolkit-ui.d.ts +0 -18
- package/ps-toolkit-ui.metadata.json +0 -1
- package/public-api.d.ts +0 -48
|
@@ -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
|
+
}));
|