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