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,2176 +0,0 @@
|
|
|
1
|
-
/* *
|
|
2
|
-
*
|
|
3
|
-
* (c) 2010-2021 Torstein Honsi
|
|
4
|
-
*
|
|
5
|
-
* License: www.highcharts.com/license
|
|
6
|
-
*
|
|
7
|
-
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
8
|
-
*
|
|
9
|
-
* */
|
|
10
|
-
'use strict';
|
|
11
|
-
import A from '../../Animation/AnimationUtilities.js';
|
|
12
|
-
var animate = A.animate, animObject = A.animObject, stop = A.stop;
|
|
13
|
-
import AST from '../HTML/AST.js';
|
|
14
|
-
import Color from '../../Color/Color.js';
|
|
15
|
-
import H from '../../Globals.js';
|
|
16
|
-
var deg2rad = H.deg2rad, doc = H.doc, noop = H.noop, svg = H.svg, SVG_NS = H.SVG_NS, win = H.win;
|
|
17
|
-
import U from '../../Utilities.js';
|
|
18
|
-
var addEvent = U.addEvent, attr = U.attr, createElement = U.createElement, css = U.css, defined = U.defined, erase = U.erase, extend = U.extend, fireEvent = U.fireEvent, isArray = U.isArray, isFunction = U.isFunction, isNumber = U.isNumber, isString = U.isString, merge = U.merge, objectEach = U.objectEach, pick = U.pick, pInt = U.pInt, syncTimeout = U.syncTimeout, uniqueKey = U.uniqueKey;
|
|
19
|
-
/* *
|
|
20
|
-
*
|
|
21
|
-
* Class
|
|
22
|
-
*
|
|
23
|
-
* */
|
|
24
|
-
/* eslint-disable no-invalid-this, valid-jsdoc */
|
|
25
|
-
/**
|
|
26
|
-
* The SVGElement prototype is a JavaScript wrapper for SVG elements used in the
|
|
27
|
-
* rendering layer of Highcharts. Combined with the
|
|
28
|
-
* {@link Highcharts.SVGRenderer}
|
|
29
|
-
* object, these prototypes allow freeform annotation in the charts or even in
|
|
30
|
-
* HTML pages without instanciating a chart. The SVGElement can also wrap HTML
|
|
31
|
-
* labels, when `text` or `label` elements are created with the `useHTML`
|
|
32
|
-
* parameter.
|
|
33
|
-
*
|
|
34
|
-
* The SVGElement instances are created through factory functions on the
|
|
35
|
-
* {@link Highcharts.SVGRenderer}
|
|
36
|
-
* object, like
|
|
37
|
-
* {@link Highcharts.SVGRenderer#rect|rect},
|
|
38
|
-
* {@link Highcharts.SVGRenderer#path|path},
|
|
39
|
-
* {@link Highcharts.SVGRenderer#text|text},
|
|
40
|
-
* {@link Highcharts.SVGRenderer#label|label},
|
|
41
|
-
* {@link Highcharts.SVGRenderer#g|g}
|
|
42
|
-
* and more.
|
|
43
|
-
*
|
|
44
|
-
* @class
|
|
45
|
-
* @name Highcharts.SVGElement
|
|
46
|
-
*/
|
|
47
|
-
var SVGElement = /** @class */ (function () {
|
|
48
|
-
function SVGElement() {
|
|
49
|
-
/* *
|
|
50
|
-
*
|
|
51
|
-
* Properties
|
|
52
|
-
*
|
|
53
|
-
* */
|
|
54
|
-
this.element = void 0;
|
|
55
|
-
this.onEvents = {};
|
|
56
|
-
this.opacity = 1; // Default base for animation
|
|
57
|
-
this.renderer = void 0;
|
|
58
|
-
this.SVG_NS = SVG_NS;
|
|
59
|
-
// Custom attributes used for symbols, these should be filtered out when
|
|
60
|
-
// setting SVGElement attributes (#9375).
|
|
61
|
-
this.symbolCustomAttribs = [
|
|
62
|
-
'x',
|
|
63
|
-
'y',
|
|
64
|
-
'width',
|
|
65
|
-
'height',
|
|
66
|
-
'r',
|
|
67
|
-
'start',
|
|
68
|
-
'end',
|
|
69
|
-
'innerR',
|
|
70
|
-
'anchorX',
|
|
71
|
-
'anchorY',
|
|
72
|
-
'rounded'
|
|
73
|
-
];
|
|
74
|
-
}
|
|
75
|
-
// @todo public zIndex?: number;
|
|
76
|
-
/* *
|
|
77
|
-
*
|
|
78
|
-
* Functions
|
|
79
|
-
*
|
|
80
|
-
* */
|
|
81
|
-
/**
|
|
82
|
-
* Get the current value of an attribute or pseudo attribute,
|
|
83
|
-
* used mainly for animation. Called internally from
|
|
84
|
-
* the {@link Highcharts.SVGRenderer#attr} function.
|
|
85
|
-
*
|
|
86
|
-
* @private
|
|
87
|
-
* @function Highcharts.SVGElement#_defaultGetter
|
|
88
|
-
*
|
|
89
|
-
* @param {string} key
|
|
90
|
-
* Property key.
|
|
91
|
-
*
|
|
92
|
-
* @return {number|string}
|
|
93
|
-
* Property value.
|
|
94
|
-
*/
|
|
95
|
-
SVGElement.prototype._defaultGetter = function (key) {
|
|
96
|
-
var ret = pick(this[key + 'Value'], // align getter
|
|
97
|
-
this[key], this.element ? this.element.getAttribute(key) : null, 0);
|
|
98
|
-
if (/^[\-0-9\.]+$/.test(ret)) { // is numerical
|
|
99
|
-
ret = parseFloat(ret);
|
|
100
|
-
}
|
|
101
|
-
return ret;
|
|
102
|
-
};
|
|
103
|
-
/**
|
|
104
|
-
* @private
|
|
105
|
-
* @function Highcharts.SVGElement#_defaultSetter
|
|
106
|
-
*
|
|
107
|
-
* @param {string} value
|
|
108
|
-
*
|
|
109
|
-
* @param {string} key
|
|
110
|
-
*
|
|
111
|
-
* @param {Highcharts.SVGDOMElement} element
|
|
112
|
-
*
|
|
113
|
-
*/
|
|
114
|
-
SVGElement.prototype._defaultSetter = function (value, key, element) {
|
|
115
|
-
element.setAttribute(key, value);
|
|
116
|
-
};
|
|
117
|
-
/**
|
|
118
|
-
* Add the element to the DOM. All elements must be added this way.
|
|
119
|
-
*
|
|
120
|
-
* @sample highcharts/members/renderer-g
|
|
121
|
-
* Elements added to a group
|
|
122
|
-
*
|
|
123
|
-
* @function Highcharts.SVGElement#add
|
|
124
|
-
*
|
|
125
|
-
* @param {Highcharts.SVGElement} [parent]
|
|
126
|
-
* The parent item to add it to. If undefined, the element is added
|
|
127
|
-
* to the {@link Highcharts.SVGRenderer.box}.
|
|
128
|
-
*
|
|
129
|
-
* @return {Highcharts.SVGElement}
|
|
130
|
-
* Returns the SVGElement for chaining.
|
|
131
|
-
*/
|
|
132
|
-
SVGElement.prototype.add = function (parent) {
|
|
133
|
-
var renderer = this.renderer, element = this.element;
|
|
134
|
-
var inserted;
|
|
135
|
-
if (parent) {
|
|
136
|
-
this.parentGroup = parent;
|
|
137
|
-
}
|
|
138
|
-
// Mark as inverted
|
|
139
|
-
this.parentInverted = parent && parent.inverted;
|
|
140
|
-
// Build formatted text
|
|
141
|
-
if (typeof this.textStr !== 'undefined' &&
|
|
142
|
-
this.element.nodeName === 'text' // Not for SVGLabel instances
|
|
143
|
-
) {
|
|
144
|
-
renderer.buildText(this);
|
|
145
|
-
}
|
|
146
|
-
// Mark as added
|
|
147
|
-
this.added = true;
|
|
148
|
-
// If we're adding to renderer root, or other elements in the group
|
|
149
|
-
// have a z index, we need to handle it
|
|
150
|
-
if (!parent || parent.handleZ || this.zIndex) {
|
|
151
|
-
inserted = this.zIndexSetter();
|
|
152
|
-
}
|
|
153
|
-
// If zIndex is not handled, append at the end
|
|
154
|
-
if (!inserted) {
|
|
155
|
-
(parent ?
|
|
156
|
-
parent.element :
|
|
157
|
-
renderer.box).appendChild(element);
|
|
158
|
-
}
|
|
159
|
-
// fire an event for internal hooks
|
|
160
|
-
if (this.onAdd) {
|
|
161
|
-
this.onAdd();
|
|
162
|
-
}
|
|
163
|
-
return this;
|
|
164
|
-
};
|
|
165
|
-
/**
|
|
166
|
-
* Add a class name to an element.
|
|
167
|
-
*
|
|
168
|
-
* @function Highcharts.SVGElement#addClass
|
|
169
|
-
*
|
|
170
|
-
* @param {string} className
|
|
171
|
-
* The new class name to add.
|
|
172
|
-
*
|
|
173
|
-
* @param {boolean} [replace=false]
|
|
174
|
-
* When true, the existing class name(s) will be overwritten with the new
|
|
175
|
-
* one. When false, the new one is added.
|
|
176
|
-
*
|
|
177
|
-
* @return {Highcharts.SVGElement}
|
|
178
|
-
* Return the SVG element for chainability.
|
|
179
|
-
*/
|
|
180
|
-
SVGElement.prototype.addClass = function (className, replace) {
|
|
181
|
-
var currentClassName = replace ? '' : (this.attr('class') || '');
|
|
182
|
-
// Trim the string and remove duplicates
|
|
183
|
-
className = (className || '')
|
|
184
|
-
.split(/ /g)
|
|
185
|
-
.reduce(function (newClassName, name) {
|
|
186
|
-
if (currentClassName.indexOf(name) === -1) {
|
|
187
|
-
newClassName.push(name);
|
|
188
|
-
}
|
|
189
|
-
return newClassName;
|
|
190
|
-
}, (currentClassName ?
|
|
191
|
-
[currentClassName] :
|
|
192
|
-
[]))
|
|
193
|
-
.join(' ');
|
|
194
|
-
if (className !== currentClassName) {
|
|
195
|
-
this.attr('class', className);
|
|
196
|
-
}
|
|
197
|
-
return this;
|
|
198
|
-
};
|
|
199
|
-
/**
|
|
200
|
-
* This method is executed in the end of `attr()`, after setting all
|
|
201
|
-
* attributes in the hash. In can be used to efficiently consolidate
|
|
202
|
-
* multiple attributes in one SVG property -- e.g., translate, rotate and
|
|
203
|
-
* scale are merged in one "transform" attribute in the SVG node.
|
|
204
|
-
*
|
|
205
|
-
* @private
|
|
206
|
-
* @function Highcharts.SVGElement#afterSetters
|
|
207
|
-
*/
|
|
208
|
-
SVGElement.prototype.afterSetters = function () {
|
|
209
|
-
// Update transform. Do this outside the loop to prevent redundant
|
|
210
|
-
// updating for batch setting of attributes.
|
|
211
|
-
if (this.doTransform) {
|
|
212
|
-
this.updateTransform();
|
|
213
|
-
this.doTransform = false;
|
|
214
|
-
}
|
|
215
|
-
};
|
|
216
|
-
/**
|
|
217
|
-
* Align the element relative to the chart or another box.
|
|
218
|
-
*
|
|
219
|
-
* @function Highcharts.SVGElement#align
|
|
220
|
-
*
|
|
221
|
-
* @param {Highcharts.AlignObject} [alignOptions]
|
|
222
|
-
* The alignment options. The function can be called without this
|
|
223
|
-
* parameter in order to re-align an element after the box has been
|
|
224
|
-
* updated.
|
|
225
|
-
*
|
|
226
|
-
* @param {boolean} [alignByTranslate]
|
|
227
|
-
* Align element by translation.
|
|
228
|
-
*
|
|
229
|
-
* @param {string|Highcharts.BBoxObject} [box]
|
|
230
|
-
* The box to align to, needs a width and height. When the box is a
|
|
231
|
-
* string, it refers to an object in the Renderer. For example, when
|
|
232
|
-
* box is `spacingBox`, it refers to `Renderer.spacingBox` which
|
|
233
|
-
* holds `width`, `height`, `x` and `y` properties.
|
|
234
|
-
*
|
|
235
|
-
* @return {Highcharts.SVGElement} Returns the SVGElement for chaining.
|
|
236
|
-
*/
|
|
237
|
-
SVGElement.prototype.align = function (alignOptions, alignByTranslate, box) {
|
|
238
|
-
var attribs = {}, renderer = this.renderer, alignedObjects = renderer.alignedObjects;
|
|
239
|
-
var x, y, alignTo, alignFactor, vAlignFactor;
|
|
240
|
-
// First call on instanciate
|
|
241
|
-
if (alignOptions) {
|
|
242
|
-
this.alignOptions = alignOptions;
|
|
243
|
-
this.alignByTranslate = alignByTranslate;
|
|
244
|
-
if (!box || isString(box)) {
|
|
245
|
-
this.alignTo = alignTo = box || 'renderer';
|
|
246
|
-
// prevent duplicates, like legendGroup after resize
|
|
247
|
-
erase(alignedObjects, this);
|
|
248
|
-
alignedObjects.push(this);
|
|
249
|
-
box = void 0; // reassign it below
|
|
250
|
-
}
|
|
251
|
-
// When called on resize, no arguments are supplied
|
|
252
|
-
}
|
|
253
|
-
else {
|
|
254
|
-
alignOptions = this.alignOptions;
|
|
255
|
-
alignByTranslate = this.alignByTranslate;
|
|
256
|
-
alignTo = this.alignTo;
|
|
257
|
-
}
|
|
258
|
-
box = pick(box, renderer[alignTo], alignTo === 'scrollablePlotBox' ?
|
|
259
|
-
renderer.plotBox : void 0, renderer);
|
|
260
|
-
// Assign variables
|
|
261
|
-
var align = alignOptions.align, vAlign = alignOptions.verticalAlign;
|
|
262
|
-
// default: left align
|
|
263
|
-
x = (box.x || 0) + (alignOptions.x || 0);
|
|
264
|
-
// default: top align
|
|
265
|
-
y = (box.y || 0) + (alignOptions.y || 0);
|
|
266
|
-
// Align
|
|
267
|
-
if (align === 'right') {
|
|
268
|
-
alignFactor = 1;
|
|
269
|
-
}
|
|
270
|
-
else if (align === 'center') {
|
|
271
|
-
alignFactor = 2;
|
|
272
|
-
}
|
|
273
|
-
if (alignFactor) {
|
|
274
|
-
x += (box.width - (alignOptions.width || 0)) /
|
|
275
|
-
alignFactor;
|
|
276
|
-
}
|
|
277
|
-
attribs[alignByTranslate ? 'translateX' : 'x'] = Math.round(x);
|
|
278
|
-
// Vertical align
|
|
279
|
-
if (vAlign === 'bottom') {
|
|
280
|
-
vAlignFactor = 1;
|
|
281
|
-
}
|
|
282
|
-
else if (vAlign === 'middle') {
|
|
283
|
-
vAlignFactor = 2;
|
|
284
|
-
}
|
|
285
|
-
if (vAlignFactor) {
|
|
286
|
-
y += (box.height - (alignOptions.height || 0)) /
|
|
287
|
-
vAlignFactor;
|
|
288
|
-
}
|
|
289
|
-
attribs[alignByTranslate ? 'translateY' : 'y'] = Math.round(y);
|
|
290
|
-
// Animate only if already placed
|
|
291
|
-
this[this.placed ? 'animate' : 'attr'](attribs);
|
|
292
|
-
this.placed = true;
|
|
293
|
-
this.alignAttr = attribs;
|
|
294
|
-
return this;
|
|
295
|
-
};
|
|
296
|
-
/**
|
|
297
|
-
* @private
|
|
298
|
-
* @function Highcharts.SVGElement#alignSetter
|
|
299
|
-
* @param {"left"|"center"|"right"} value
|
|
300
|
-
*/
|
|
301
|
-
SVGElement.prototype.alignSetter = function (value) {
|
|
302
|
-
var convert = {
|
|
303
|
-
left: 'start',
|
|
304
|
-
center: 'middle',
|
|
305
|
-
right: 'end'
|
|
306
|
-
};
|
|
307
|
-
if (convert[value]) {
|
|
308
|
-
this.alignValue = value;
|
|
309
|
-
this.element.setAttribute('text-anchor', convert[value]);
|
|
310
|
-
}
|
|
311
|
-
};
|
|
312
|
-
/**
|
|
313
|
-
* Animate to given attributes or CSS properties.
|
|
314
|
-
*
|
|
315
|
-
* @sample highcharts/members/element-on/
|
|
316
|
-
* Setting some attributes by animation
|
|
317
|
-
*
|
|
318
|
-
* @function Highcharts.SVGElement#animate
|
|
319
|
-
*
|
|
320
|
-
* @param {Highcharts.SVGAttributes} params
|
|
321
|
-
* SVG attributes or CSS to animate.
|
|
322
|
-
*
|
|
323
|
-
* @param {boolean|Partial<Highcharts.AnimationOptionsObject>} [options]
|
|
324
|
-
* Animation options.
|
|
325
|
-
*
|
|
326
|
-
* @param {Function} [complete]
|
|
327
|
-
* Function to perform at the end of animation.
|
|
328
|
-
*
|
|
329
|
-
* @return {Highcharts.SVGElement}
|
|
330
|
-
* Returns the SVGElement for chaining.
|
|
331
|
-
*/
|
|
332
|
-
SVGElement.prototype.animate = function (params, options, complete) {
|
|
333
|
-
var _this = this;
|
|
334
|
-
var animOptions = animObject(pick(options, this.renderer.globalAnimation, true)), deferTime = animOptions.defer;
|
|
335
|
-
// When the page is hidden save resources in the background by not
|
|
336
|
-
// running animation at all (#9749).
|
|
337
|
-
if (pick(doc.hidden, doc.msHidden, doc.webkitHidden, false)) {
|
|
338
|
-
animOptions.duration = 0;
|
|
339
|
-
}
|
|
340
|
-
if (animOptions.duration !== 0) {
|
|
341
|
-
// allows using a callback with the global animation without
|
|
342
|
-
// overwriting it
|
|
343
|
-
if (complete) {
|
|
344
|
-
animOptions.complete = complete;
|
|
345
|
-
}
|
|
346
|
-
// If defer option is defined delay the animation #12901
|
|
347
|
-
syncTimeout(function () {
|
|
348
|
-
if (_this.element) {
|
|
349
|
-
animate(_this, params, animOptions);
|
|
350
|
-
}
|
|
351
|
-
}, deferTime);
|
|
352
|
-
}
|
|
353
|
-
else {
|
|
354
|
-
this.attr(params, void 0, complete);
|
|
355
|
-
// Call the end step synchronously
|
|
356
|
-
objectEach(params, function (val, prop) {
|
|
357
|
-
if (animOptions.step) {
|
|
358
|
-
animOptions.step.call(this, val, { prop: prop, pos: 1, elem: this });
|
|
359
|
-
}
|
|
360
|
-
}, this);
|
|
361
|
-
}
|
|
362
|
-
return this;
|
|
363
|
-
};
|
|
364
|
-
/**
|
|
365
|
-
* Apply a text outline through a custom CSS property, by copying the text
|
|
366
|
-
* element and apply stroke to the copy. Used internally. Contrast checks at
|
|
367
|
-
* [example](https://jsfiddle.net/highcharts/43soe9m1/2/).
|
|
368
|
-
*
|
|
369
|
-
* @example
|
|
370
|
-
* // Specific color
|
|
371
|
-
* text.css({
|
|
372
|
-
* textOutline: '1px black'
|
|
373
|
-
* });
|
|
374
|
-
* // Automatic contrast
|
|
375
|
-
* text.css({
|
|
376
|
-
* color: '#000000', // black text
|
|
377
|
-
* textOutline: '1px contrast' // => white outline
|
|
378
|
-
* });
|
|
379
|
-
*
|
|
380
|
-
* @private
|
|
381
|
-
* @function Highcharts.SVGElement#applyTextOutline
|
|
382
|
-
*
|
|
383
|
-
* @param {string} textOutline
|
|
384
|
-
* A custom CSS `text-outline` setting, defined by `width color`.
|
|
385
|
-
*/
|
|
386
|
-
SVGElement.prototype.applyTextOutline = function (textOutline) {
|
|
387
|
-
var elem = this.element, hasContrast = textOutline.indexOf('contrast') !== -1, styles = {};
|
|
388
|
-
// When the text shadow is set to contrast, use dark stroke for light
|
|
389
|
-
// text and vice versa.
|
|
390
|
-
if (hasContrast) {
|
|
391
|
-
styles.textOutline = textOutline = textOutline.replace(/contrast/g, this.renderer.getContrast(elem.style.fill));
|
|
392
|
-
}
|
|
393
|
-
// Extract the stroke width and color
|
|
394
|
-
var parts = textOutline.split(' ');
|
|
395
|
-
var color = parts[parts.length - 1];
|
|
396
|
-
var strokeWidth = parts[0];
|
|
397
|
-
if (strokeWidth && strokeWidth !== 'none' && H.svg) {
|
|
398
|
-
this.fakeTS = true; // Fake text shadow
|
|
399
|
-
// In order to get the right y position of the clone,
|
|
400
|
-
// copy over the y setter
|
|
401
|
-
this.ySetter = this.xSetter;
|
|
402
|
-
// Since the stroke is applied on center of the actual outline, we
|
|
403
|
-
// need to double it to get the correct stroke-width outside the
|
|
404
|
-
// glyphs.
|
|
405
|
-
strokeWidth = strokeWidth.replace(/(^[\d\.]+)(.*?)$/g, function (match, digit, unit) {
|
|
406
|
-
return (2 * Number(digit)) + unit;
|
|
407
|
-
});
|
|
408
|
-
// Remove shadows from previous runs.
|
|
409
|
-
this.removeTextOutline();
|
|
410
|
-
var outline_1 = doc.createElementNS(SVG_NS, 'tspan');
|
|
411
|
-
attr(outline_1, {
|
|
412
|
-
'class': 'highcharts-text-outline',
|
|
413
|
-
fill: color,
|
|
414
|
-
stroke: color,
|
|
415
|
-
'stroke-width': strokeWidth,
|
|
416
|
-
'stroke-linejoin': 'round'
|
|
417
|
-
});
|
|
418
|
-
// For each of the tspans and text nodes, create a copy in the
|
|
419
|
-
// outline.
|
|
420
|
-
[].forEach.call(elem.childNodes, function (childNode) {
|
|
421
|
-
var clone = childNode.cloneNode(true);
|
|
422
|
-
if (clone.removeAttribute) {
|
|
423
|
-
['fill', 'stroke', 'stroke-width', 'stroke'].forEach(function (prop) { return clone.removeAttribute(prop); });
|
|
424
|
-
}
|
|
425
|
-
outline_1.appendChild(clone);
|
|
426
|
-
});
|
|
427
|
-
// Insert an absolutely positioned break before the original text
|
|
428
|
-
// to keep it in place
|
|
429
|
-
var br_1 = doc.createElementNS(SVG_NS, 'tspan');
|
|
430
|
-
br_1.textContent = '\u200B';
|
|
431
|
-
// Copy x and y if not null
|
|
432
|
-
['x', 'y'].forEach(function (key) {
|
|
433
|
-
var value = elem.getAttribute(key);
|
|
434
|
-
if (value) {
|
|
435
|
-
br_1.setAttribute(key, value);
|
|
436
|
-
}
|
|
437
|
-
});
|
|
438
|
-
// Insert the outline
|
|
439
|
-
outline_1.appendChild(br_1);
|
|
440
|
-
elem.insertBefore(outline_1, elem.firstChild);
|
|
441
|
-
}
|
|
442
|
-
};
|
|
443
|
-
/**
|
|
444
|
-
* @function Highcharts.SVGElement#attr
|
|
445
|
-
* @param {string} key
|
|
446
|
-
* @return {number|string}
|
|
447
|
-
*/ /**
|
|
448
|
-
* Apply native and custom attributes to the SVG elements.
|
|
449
|
-
*
|
|
450
|
-
* In order to set the rotation center for rotation, set x and y to 0 and
|
|
451
|
-
* use `translateX` and `translateY` attributes to position the element
|
|
452
|
-
* instead.
|
|
453
|
-
*
|
|
454
|
-
* Attributes frequently used in Highcharts are `fill`, `stroke`,
|
|
455
|
-
* `stroke-width`.
|
|
456
|
-
*
|
|
457
|
-
* @sample highcharts/members/renderer-rect/
|
|
458
|
-
* Setting some attributes
|
|
459
|
-
*
|
|
460
|
-
* @example
|
|
461
|
-
* // Set multiple attributes
|
|
462
|
-
* element.attr({
|
|
463
|
-
* stroke: 'red',
|
|
464
|
-
* fill: 'blue',
|
|
465
|
-
* x: 10,
|
|
466
|
-
* y: 10
|
|
467
|
-
* });
|
|
468
|
-
*
|
|
469
|
-
* // Set a single attribute
|
|
470
|
-
* element.attr('stroke', 'red');
|
|
471
|
-
*
|
|
472
|
-
* // Get an attribute
|
|
473
|
-
* element.attr('stroke'); // => 'red'
|
|
474
|
-
*
|
|
475
|
-
* @function Highcharts.SVGElement#attr
|
|
476
|
-
*
|
|
477
|
-
* @param {string|Highcharts.SVGAttributes} [hash]
|
|
478
|
-
* The native and custom SVG attributes.
|
|
479
|
-
*
|
|
480
|
-
* @param {number|string|Highcharts.SVGPathArray} [val]
|
|
481
|
-
* If the type of the first argument is `string`, the second can be a
|
|
482
|
-
* value, which will serve as a single attribute setter. If the first
|
|
483
|
-
* argument is a string and the second is undefined, the function
|
|
484
|
-
* serves as a getter and the current value of the property is
|
|
485
|
-
* returned.
|
|
486
|
-
*
|
|
487
|
-
* @param {Function} [complete]
|
|
488
|
-
* A callback function to execute after setting the attributes. This
|
|
489
|
-
* makes the function compliant and interchangeable with the
|
|
490
|
-
* {@link SVGElement#animate} function.
|
|
491
|
-
*
|
|
492
|
-
* @param {boolean} [continueAnimation=true]
|
|
493
|
-
* Used internally when `.attr` is called as part of an animation
|
|
494
|
-
* step. Otherwise, calling `.attr` for an attribute will stop
|
|
495
|
-
* animation for that attribute.
|
|
496
|
-
*
|
|
497
|
-
* @return {Highcharts.SVGElement}
|
|
498
|
-
* If used as a setter, it returns the current
|
|
499
|
-
* {@link Highcharts.SVGElement} so the calls can be chained. If
|
|
500
|
-
* used as a getter, the current value of the attribute is returned.
|
|
501
|
-
*/
|
|
502
|
-
SVGElement.prototype.attr = function (hash, val, complete, continueAnimation) {
|
|
503
|
-
var element = this.element, symbolCustomAttribs = this.symbolCustomAttribs;
|
|
504
|
-
var key, hasSetSymbolSize, ret = this, skipAttr, setter;
|
|
505
|
-
// single key-value pair
|
|
506
|
-
if (typeof hash === 'string' && typeof val !== 'undefined') {
|
|
507
|
-
key = hash;
|
|
508
|
-
hash = {};
|
|
509
|
-
hash[key] = val;
|
|
510
|
-
}
|
|
511
|
-
// used as a getter: first argument is a string, second is undefined
|
|
512
|
-
if (typeof hash === 'string') {
|
|
513
|
-
ret = (this[hash + 'Getter'] ||
|
|
514
|
-
this._defaultGetter).call(this, hash, element);
|
|
515
|
-
// setter
|
|
516
|
-
}
|
|
517
|
-
else {
|
|
518
|
-
objectEach(hash, function eachAttribute(val, key) {
|
|
519
|
-
skipAttr = false;
|
|
520
|
-
// Unless .attr is from the animator update, stop current
|
|
521
|
-
// running animation of this property
|
|
522
|
-
if (!continueAnimation) {
|
|
523
|
-
stop(this, key);
|
|
524
|
-
}
|
|
525
|
-
// Special handling of symbol attributes
|
|
526
|
-
if (this.symbolName &&
|
|
527
|
-
symbolCustomAttribs.indexOf(key) !== -1) {
|
|
528
|
-
if (!hasSetSymbolSize) {
|
|
529
|
-
this.symbolAttr(hash);
|
|
530
|
-
hasSetSymbolSize = true;
|
|
531
|
-
}
|
|
532
|
-
skipAttr = true;
|
|
533
|
-
}
|
|
534
|
-
if (this.rotation && (key === 'x' || key === 'y')) {
|
|
535
|
-
this.doTransform = true;
|
|
536
|
-
}
|
|
537
|
-
if (!skipAttr) {
|
|
538
|
-
setter = (this[key + 'Setter'] ||
|
|
539
|
-
this._defaultSetter);
|
|
540
|
-
setter.call(this, val, key, element);
|
|
541
|
-
// Let the shadow follow the main element
|
|
542
|
-
if (!this.styledMode &&
|
|
543
|
-
this.shadows &&
|
|
544
|
-
/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/
|
|
545
|
-
.test(key)) {
|
|
546
|
-
this.updateShadows(key, val, setter);
|
|
547
|
-
}
|
|
548
|
-
}
|
|
549
|
-
}, this);
|
|
550
|
-
this.afterSetters();
|
|
551
|
-
}
|
|
552
|
-
// In accordance with animate, run a complete callback
|
|
553
|
-
if (complete) {
|
|
554
|
-
complete.call(this);
|
|
555
|
-
}
|
|
556
|
-
return ret;
|
|
557
|
-
};
|
|
558
|
-
/**
|
|
559
|
-
* Apply a clipping rectangle to this element.
|
|
560
|
-
*
|
|
561
|
-
* @function Highcharts.SVGElement#clip
|
|
562
|
-
*
|
|
563
|
-
* @param {Highcharts.ClipRectElement} [clipRect]
|
|
564
|
-
* The clipping rectangle. If skipped, the current clip is removed.
|
|
565
|
-
*
|
|
566
|
-
* @return {Highcharts.SVGElement}
|
|
567
|
-
* Returns the SVG element to allow chaining.
|
|
568
|
-
*/
|
|
569
|
-
SVGElement.prototype.clip = function (clipRect) {
|
|
570
|
-
return this.attr('clip-path', clipRect ?
|
|
571
|
-
'url(' + this.renderer.url + '#' + clipRect.id + ')' :
|
|
572
|
-
'none');
|
|
573
|
-
};
|
|
574
|
-
/**
|
|
575
|
-
* Calculate the coordinates needed for drawing a rectangle crisply and
|
|
576
|
-
* return the calculated attributes.
|
|
577
|
-
*
|
|
578
|
-
* @function Highcharts.SVGElement#crisp
|
|
579
|
-
*
|
|
580
|
-
* @param {Highcharts.RectangleObject} rect
|
|
581
|
-
* Rectangle to crisp.
|
|
582
|
-
*
|
|
583
|
-
* @param {number} [strokeWidth]
|
|
584
|
-
* The stroke width to consider when computing crisp positioning. It can
|
|
585
|
-
* also be set directly on the rect parameter.
|
|
586
|
-
*
|
|
587
|
-
* @return {Highcharts.RectangleObject}
|
|
588
|
-
* The modified rectangle arguments.
|
|
589
|
-
*/
|
|
590
|
-
SVGElement.prototype.crisp = function (rect, strokeWidth) {
|
|
591
|
-
var wrapper = this;
|
|
592
|
-
strokeWidth = strokeWidth || rect.strokeWidth || 0;
|
|
593
|
-
// Math.round because strokeWidth can sometimes have roundoff errors
|
|
594
|
-
var normalizer = Math.round(strokeWidth) % 2 / 2;
|
|
595
|
-
// normalize for crisp edges
|
|
596
|
-
rect.x = Math.floor(rect.x || wrapper.x || 0) + normalizer;
|
|
597
|
-
rect.y = Math.floor(rect.y || wrapper.y || 0) + normalizer;
|
|
598
|
-
rect.width = Math.floor((rect.width || wrapper.width || 0) - 2 * normalizer);
|
|
599
|
-
rect.height = Math.floor((rect.height || wrapper.height || 0) - 2 * normalizer);
|
|
600
|
-
if (defined(rect.strokeWidth)) {
|
|
601
|
-
rect.strokeWidth = strokeWidth;
|
|
602
|
-
}
|
|
603
|
-
return rect;
|
|
604
|
-
};
|
|
605
|
-
/**
|
|
606
|
-
* Build and apply an SVG gradient out of a common JavaScript configuration
|
|
607
|
-
* object. This function is called from the attribute setters. An event
|
|
608
|
-
* hook is added for supporting other complex color types.
|
|
609
|
-
*
|
|
610
|
-
* @private
|
|
611
|
-
* @function Highcharts.SVGElement#complexColor
|
|
612
|
-
*
|
|
613
|
-
* @param {Highcharts.GradientColorObject|Highcharts.PatternObject} colorOptions
|
|
614
|
-
* The gradient or pattern options structure.
|
|
615
|
-
*
|
|
616
|
-
* @param {string} prop
|
|
617
|
-
* The property to apply, can either be `fill` or `stroke`.
|
|
618
|
-
*
|
|
619
|
-
* @param {Highcharts.SVGDOMElement} elem
|
|
620
|
-
* SVG element to apply the gradient on.
|
|
621
|
-
*/
|
|
622
|
-
SVGElement.prototype.complexColor = function (colorOptions, prop, elem) {
|
|
623
|
-
var renderer = this.renderer;
|
|
624
|
-
var colorObject, gradName, gradAttr, radAttr, gradients, stops, stopColor, stopOpacity, radialReference, id, key = [], value;
|
|
625
|
-
fireEvent(this.renderer, 'complexColor', {
|
|
626
|
-
args: arguments
|
|
627
|
-
}, function () {
|
|
628
|
-
// Apply linear or radial gradients
|
|
629
|
-
if (colorOptions.radialGradient) {
|
|
630
|
-
gradName = 'radialGradient';
|
|
631
|
-
}
|
|
632
|
-
else if (colorOptions.linearGradient) {
|
|
633
|
-
gradName = 'linearGradient';
|
|
634
|
-
}
|
|
635
|
-
if (gradName) {
|
|
636
|
-
gradAttr = colorOptions[gradName];
|
|
637
|
-
gradients = renderer.gradients;
|
|
638
|
-
stops = colorOptions.stops;
|
|
639
|
-
radialReference = elem.radialReference;
|
|
640
|
-
// Keep < 2.2 kompatibility
|
|
641
|
-
if (isArray(gradAttr)) {
|
|
642
|
-
colorOptions[gradName] = gradAttr = {
|
|
643
|
-
x1: gradAttr[0],
|
|
644
|
-
y1: gradAttr[1],
|
|
645
|
-
x2: gradAttr[2],
|
|
646
|
-
y2: gradAttr[3],
|
|
647
|
-
gradientUnits: 'userSpaceOnUse'
|
|
648
|
-
};
|
|
649
|
-
}
|
|
650
|
-
// Correct the radial gradient for the radial reference system
|
|
651
|
-
if (gradName === 'radialGradient' &&
|
|
652
|
-
radialReference &&
|
|
653
|
-
!defined(gradAttr.gradientUnits)) {
|
|
654
|
-
// Save the radial attributes for updating
|
|
655
|
-
radAttr = gradAttr;
|
|
656
|
-
gradAttr = merge(gradAttr, renderer.getRadialAttr(radialReference, radAttr), { gradientUnits: 'userSpaceOnUse' });
|
|
657
|
-
}
|
|
658
|
-
// Build the unique key to detect whether we need to create a
|
|
659
|
-
// new element (#1282)
|
|
660
|
-
objectEach(gradAttr, function (value, n) {
|
|
661
|
-
if (n !== 'id') {
|
|
662
|
-
key.push(n, value);
|
|
663
|
-
}
|
|
664
|
-
});
|
|
665
|
-
objectEach(stops, function (val) {
|
|
666
|
-
key.push(val);
|
|
667
|
-
});
|
|
668
|
-
key = key.join(',');
|
|
669
|
-
// Check if a gradient object with the same config object is
|
|
670
|
-
// created within this renderer
|
|
671
|
-
if (gradients[key]) {
|
|
672
|
-
id = gradients[key].attr('id');
|
|
673
|
-
}
|
|
674
|
-
else {
|
|
675
|
-
// Set the id and create the element
|
|
676
|
-
gradAttr.id = id = uniqueKey();
|
|
677
|
-
var gradientObject_1 = gradients[key] =
|
|
678
|
-
renderer.createElement(gradName)
|
|
679
|
-
.attr(gradAttr)
|
|
680
|
-
.add(renderer.defs);
|
|
681
|
-
gradientObject_1.radAttr = radAttr;
|
|
682
|
-
// The gradient needs to keep a list of stops to be able to
|
|
683
|
-
// destroy them
|
|
684
|
-
gradientObject_1.stops = [];
|
|
685
|
-
stops.forEach(function (stop) {
|
|
686
|
-
if (stop[1].indexOf('rgba') === 0) {
|
|
687
|
-
colorObject = Color.parse(stop[1]);
|
|
688
|
-
stopColor = colorObject.get('rgb');
|
|
689
|
-
stopOpacity = colorObject.get('a');
|
|
690
|
-
}
|
|
691
|
-
else {
|
|
692
|
-
stopColor = stop[1];
|
|
693
|
-
stopOpacity = 1;
|
|
694
|
-
}
|
|
695
|
-
var stopObject = renderer.createElement('stop').attr({
|
|
696
|
-
offset: stop[0],
|
|
697
|
-
'stop-color': stopColor,
|
|
698
|
-
'stop-opacity': stopOpacity
|
|
699
|
-
}).add(gradientObject_1);
|
|
700
|
-
// Add the stop element to the gradient
|
|
701
|
-
gradientObject_1.stops.push(stopObject);
|
|
702
|
-
});
|
|
703
|
-
}
|
|
704
|
-
// Set the reference to the gradient object
|
|
705
|
-
value = 'url(' + renderer.url + '#' + id + ')';
|
|
706
|
-
elem.setAttribute(prop, value);
|
|
707
|
-
elem.gradient = key;
|
|
708
|
-
// Allow the color to be concatenated into tooltips formatters
|
|
709
|
-
// etc. (#2995)
|
|
710
|
-
colorOptions.toString = function () {
|
|
711
|
-
return value;
|
|
712
|
-
};
|
|
713
|
-
}
|
|
714
|
-
});
|
|
715
|
-
};
|
|
716
|
-
/**
|
|
717
|
-
* Set styles for the element. In addition to CSS styles supported by
|
|
718
|
-
* native SVG and HTML elements, there are also some custom made for
|
|
719
|
-
* Highcharts, like `width`, `ellipsis` and `textOverflow` for SVG text
|
|
720
|
-
* elements.
|
|
721
|
-
*
|
|
722
|
-
* @sample highcharts/members/renderer-text-on-chart/
|
|
723
|
-
* Styled text
|
|
724
|
-
*
|
|
725
|
-
* @function Highcharts.SVGElement#css
|
|
726
|
-
*
|
|
727
|
-
* @param {Highcharts.CSSObject} styles
|
|
728
|
-
* The new CSS styles.
|
|
729
|
-
*
|
|
730
|
-
* @return {Highcharts.SVGElement}
|
|
731
|
-
* Return the SVG element for chaining.
|
|
732
|
-
*/
|
|
733
|
-
SVGElement.prototype.css = function (styles) {
|
|
734
|
-
var oldStyles = this.styles, newStyles = {}, elem = this.element,
|
|
735
|
-
// These CSS properties are interpreted internally by the SVG
|
|
736
|
-
// renderer, but are not supported by SVG and should not be added to
|
|
737
|
-
// the DOM. In styled mode, no CSS should find its way to the DOM
|
|
738
|
-
// whatsoever (#6173, #6474).
|
|
739
|
-
svgPseudoProps = ['textOutline', 'textOverflow', 'width'];
|
|
740
|
-
var textWidth, serializedCss = '', hyphenate, hasNew = !oldStyles;
|
|
741
|
-
// convert legacy
|
|
742
|
-
if (styles && styles.color) {
|
|
743
|
-
styles.fill = styles.color;
|
|
744
|
-
}
|
|
745
|
-
// Filter out existing styles to increase performance (#2640)
|
|
746
|
-
if (oldStyles) {
|
|
747
|
-
objectEach(styles, function (style, n) {
|
|
748
|
-
if (oldStyles && oldStyles[n] !== style) {
|
|
749
|
-
newStyles[n] = style;
|
|
750
|
-
hasNew = true;
|
|
751
|
-
}
|
|
752
|
-
});
|
|
753
|
-
}
|
|
754
|
-
if (hasNew) {
|
|
755
|
-
// Merge the new styles with the old ones
|
|
756
|
-
if (oldStyles) {
|
|
757
|
-
styles = extend(oldStyles, newStyles);
|
|
758
|
-
}
|
|
759
|
-
// Get the text width from style
|
|
760
|
-
if (styles) {
|
|
761
|
-
// Previously set, unset it (#8234)
|
|
762
|
-
if (styles.width === null || styles.width === 'auto') {
|
|
763
|
-
delete this.textWidth;
|
|
764
|
-
// Apply new
|
|
765
|
-
}
|
|
766
|
-
else if (elem.nodeName.toLowerCase() === 'text' &&
|
|
767
|
-
styles.width) {
|
|
768
|
-
textWidth = this.textWidth = pInt(styles.width);
|
|
769
|
-
}
|
|
770
|
-
}
|
|
771
|
-
// store object
|
|
772
|
-
this.styles = styles;
|
|
773
|
-
if (textWidth && (!svg && this.renderer.forExport)) {
|
|
774
|
-
delete styles.width;
|
|
775
|
-
}
|
|
776
|
-
// Serialize and set style attribute
|
|
777
|
-
if (elem.namespaceURI === this.SVG_NS) { // #7633
|
|
778
|
-
hyphenate = function (a, b) {
|
|
779
|
-
return '-' + b.toLowerCase();
|
|
780
|
-
};
|
|
781
|
-
objectEach(styles, function (style, n) {
|
|
782
|
-
if (svgPseudoProps.indexOf(n) === -1) {
|
|
783
|
-
serializedCss +=
|
|
784
|
-
n.replace(/([A-Z])/g, hyphenate) + ':' +
|
|
785
|
-
style + ';';
|
|
786
|
-
}
|
|
787
|
-
});
|
|
788
|
-
if (serializedCss) {
|
|
789
|
-
attr(elem, 'style', serializedCss); // #1881
|
|
790
|
-
}
|
|
791
|
-
}
|
|
792
|
-
else {
|
|
793
|
-
css(elem, styles);
|
|
794
|
-
}
|
|
795
|
-
if (this.added) {
|
|
796
|
-
// Rebuild text after added. Cache mechanisms in the buildText
|
|
797
|
-
// will prevent building if there are no significant changes.
|
|
798
|
-
if (this.element.nodeName === 'text') {
|
|
799
|
-
this.renderer.buildText(this);
|
|
800
|
-
}
|
|
801
|
-
// Apply text outline after added
|
|
802
|
-
if (styles && styles.textOutline) {
|
|
803
|
-
this.applyTextOutline(styles.textOutline);
|
|
804
|
-
}
|
|
805
|
-
}
|
|
806
|
-
}
|
|
807
|
-
return this;
|
|
808
|
-
};
|
|
809
|
-
/**
|
|
810
|
-
* @private
|
|
811
|
-
* @function Highcharts.SVGElement#dashstyleSetter
|
|
812
|
-
* @param {string} value
|
|
813
|
-
*/
|
|
814
|
-
SVGElement.prototype.dashstyleSetter = function (value) {
|
|
815
|
-
var i, strokeWidth = this['stroke-width'];
|
|
816
|
-
// If "inherit", like maps in IE, assume 1 (#4981). With HC5 and the new
|
|
817
|
-
// strokeWidth function, we should be able to use that instead.
|
|
818
|
-
if (strokeWidth === 'inherit') {
|
|
819
|
-
strokeWidth = 1;
|
|
820
|
-
}
|
|
821
|
-
value = value && value.toLowerCase();
|
|
822
|
-
if (value) {
|
|
823
|
-
var v = value
|
|
824
|
-
.replace('shortdashdotdot', '3,1,1,1,1,1,')
|
|
825
|
-
.replace('shortdashdot', '3,1,1,1')
|
|
826
|
-
.replace('shortdot', '1,1,')
|
|
827
|
-
.replace('shortdash', '3,1,')
|
|
828
|
-
.replace('longdash', '8,3,')
|
|
829
|
-
.replace(/dot/g, '1,3,')
|
|
830
|
-
.replace('dash', '4,3,')
|
|
831
|
-
.replace(/,$/, '')
|
|
832
|
-
.split(','); // ending comma
|
|
833
|
-
i = v.length;
|
|
834
|
-
while (i--) {
|
|
835
|
-
v[i] = '' + (pInt(v[i]) * pick(strokeWidth, NaN));
|
|
836
|
-
}
|
|
837
|
-
value = v.join(',').replace(/NaN/g, 'none'); // #3226
|
|
838
|
-
this.element.setAttribute('stroke-dasharray', value);
|
|
839
|
-
}
|
|
840
|
-
};
|
|
841
|
-
/**
|
|
842
|
-
* Destroy the element and element wrapper and clear up the DOM and event
|
|
843
|
-
* hooks.
|
|
844
|
-
*
|
|
845
|
-
* @function Highcharts.SVGElement#destroy
|
|
846
|
-
*/
|
|
847
|
-
SVGElement.prototype.destroy = function () {
|
|
848
|
-
var wrapper = this, element = wrapper.element || {}, renderer = wrapper.renderer, ownerSVGElement = element.ownerSVGElement;
|
|
849
|
-
var parentToClean = (renderer.isSVG &&
|
|
850
|
-
element.nodeName === 'SPAN' &&
|
|
851
|
-
wrapper.parentGroup ||
|
|
852
|
-
void 0), grandParent, i;
|
|
853
|
-
// remove events
|
|
854
|
-
element.onclick = element.onmouseout = element.onmouseover =
|
|
855
|
-
element.onmousemove = element.point = null;
|
|
856
|
-
stop(wrapper); // stop running animations
|
|
857
|
-
if (wrapper.clipPath && ownerSVGElement) {
|
|
858
|
-
var clipPath_1 = wrapper.clipPath;
|
|
859
|
-
// Look for existing references to this clipPath and remove them
|
|
860
|
-
// before destroying the element (#6196).
|
|
861
|
-
// The upper case version is for Edge
|
|
862
|
-
[].forEach.call(ownerSVGElement.querySelectorAll('[clip-path],[CLIP-PATH]'), function (el) {
|
|
863
|
-
if (el.getAttribute('clip-path').indexOf(clipPath_1.element.id) > -1) {
|
|
864
|
-
el.removeAttribute('clip-path');
|
|
865
|
-
}
|
|
866
|
-
});
|
|
867
|
-
wrapper.clipPath = clipPath_1.destroy();
|
|
868
|
-
}
|
|
869
|
-
// Destroy stops in case this is a gradient object @todo old code?
|
|
870
|
-
if (wrapper.stops) {
|
|
871
|
-
for (i = 0; i < wrapper.stops.length; i++) {
|
|
872
|
-
wrapper.stops[i].destroy();
|
|
873
|
-
}
|
|
874
|
-
wrapper.stops.length = 0;
|
|
875
|
-
wrapper.stops = void 0;
|
|
876
|
-
}
|
|
877
|
-
// remove element
|
|
878
|
-
wrapper.safeRemoveChild(element);
|
|
879
|
-
if (!renderer.styledMode) {
|
|
880
|
-
wrapper.destroyShadows();
|
|
881
|
-
}
|
|
882
|
-
// In case of useHTML, clean up empty containers emulating SVG groups
|
|
883
|
-
// (#1960, #2393, #2697).
|
|
884
|
-
while (parentToClean &&
|
|
885
|
-
parentToClean.div &&
|
|
886
|
-
parentToClean.div.childNodes.length === 0) {
|
|
887
|
-
grandParent = parentToClean.parentGroup;
|
|
888
|
-
wrapper.safeRemoveChild(parentToClean.div);
|
|
889
|
-
delete parentToClean.div;
|
|
890
|
-
parentToClean = grandParent;
|
|
891
|
-
}
|
|
892
|
-
// remove from alignObjects
|
|
893
|
-
if (wrapper.alignTo) {
|
|
894
|
-
erase(renderer.alignedObjects, wrapper);
|
|
895
|
-
}
|
|
896
|
-
objectEach(wrapper, function (val, key) {
|
|
897
|
-
// Destroy child elements of a group
|
|
898
|
-
if (wrapper[key] &&
|
|
899
|
-
wrapper[key].parentGroup === wrapper &&
|
|
900
|
-
wrapper[key].destroy) {
|
|
901
|
-
wrapper[key].destroy();
|
|
902
|
-
}
|
|
903
|
-
// Delete all properties
|
|
904
|
-
delete wrapper[key];
|
|
905
|
-
});
|
|
906
|
-
return;
|
|
907
|
-
};
|
|
908
|
-
/**
|
|
909
|
-
* Destroy shadows on the element.
|
|
910
|
-
*
|
|
911
|
-
* @private
|
|
912
|
-
* @function Highcharts.SVGElement#destroyShadows
|
|
913
|
-
*
|
|
914
|
-
*/
|
|
915
|
-
SVGElement.prototype.destroyShadows = function () {
|
|
916
|
-
(this.shadows || []).forEach(function (shadow) {
|
|
917
|
-
this.safeRemoveChild(shadow);
|
|
918
|
-
}, this);
|
|
919
|
-
this.shadows = void 0;
|
|
920
|
-
};
|
|
921
|
-
/**
|
|
922
|
-
* @private
|
|
923
|
-
*/
|
|
924
|
-
SVGElement.prototype.destroyTextPath = function (elem, path) {
|
|
925
|
-
var textElement = elem.getElementsByTagName('text')[0];
|
|
926
|
-
var childNodes;
|
|
927
|
-
if (textElement) {
|
|
928
|
-
// Remove textPath attributes
|
|
929
|
-
textElement.removeAttribute('dx');
|
|
930
|
-
textElement.removeAttribute('dy');
|
|
931
|
-
// Remove ID's:
|
|
932
|
-
path.element.setAttribute('id', '');
|
|
933
|
-
// Check if textElement includes textPath,
|
|
934
|
-
if (this.textPathWrapper &&
|
|
935
|
-
textElement.getElementsByTagName('textPath').length) {
|
|
936
|
-
// Move nodes to <text>
|
|
937
|
-
childNodes = this.textPathWrapper.element.childNodes;
|
|
938
|
-
// Now move all <tspan>'s and text nodes to the <textPath> node
|
|
939
|
-
while (childNodes.length) {
|
|
940
|
-
textElement.appendChild(childNodes[0]);
|
|
941
|
-
}
|
|
942
|
-
// Remove <textPath> from the DOM
|
|
943
|
-
textElement.removeChild(this.textPathWrapper.element);
|
|
944
|
-
}
|
|
945
|
-
}
|
|
946
|
-
else if (elem.getAttribute('dx') || elem.getAttribute('dy')) {
|
|
947
|
-
// Remove textPath attributes from elem
|
|
948
|
-
// to get correct text-outline position
|
|
949
|
-
elem.removeAttribute('dx');
|
|
950
|
-
elem.removeAttribute('dy');
|
|
951
|
-
}
|
|
952
|
-
if (this.textPathWrapper) {
|
|
953
|
-
// Set textPathWrapper to undefined and destroy it
|
|
954
|
-
this.textPathWrapper = this.textPathWrapper.destroy();
|
|
955
|
-
}
|
|
956
|
-
};
|
|
957
|
-
/**
|
|
958
|
-
* @private
|
|
959
|
-
* @function Highcharts.SVGElement#dSettter
|
|
960
|
-
* @param {number|string|Highcharts.SVGPathArray} value
|
|
961
|
-
* @param {string} key
|
|
962
|
-
* @param {Highcharts.SVGDOMElement} element
|
|
963
|
-
*/
|
|
964
|
-
SVGElement.prototype.dSetter = function (value, key, element) {
|
|
965
|
-
if (isArray(value)) {
|
|
966
|
-
// Backwards compatibility, convert one-dimensional array into an
|
|
967
|
-
// array of segments
|
|
968
|
-
if (typeof value[0] === 'string') {
|
|
969
|
-
value = this.renderer.pathToSegments(value);
|
|
970
|
-
}
|
|
971
|
-
this.pathArray = value;
|
|
972
|
-
value = value.reduce(function (acc, seg, i) {
|
|
973
|
-
if (!seg || !seg.join) {
|
|
974
|
-
return (seg || '').toString();
|
|
975
|
-
}
|
|
976
|
-
return (i ? acc + ' ' : '') + seg.join(' ');
|
|
977
|
-
}, '');
|
|
978
|
-
}
|
|
979
|
-
if (/(NaN| {2}|^$)/.test(value)) {
|
|
980
|
-
value = 'M 0 0';
|
|
981
|
-
}
|
|
982
|
-
// Check for cache before resetting. Resetting causes disturbance in the
|
|
983
|
-
// DOM, causing flickering in some cases in Edge/IE (#6747). Also
|
|
984
|
-
// possible performance gain.
|
|
985
|
-
if (this[key] !== value) {
|
|
986
|
-
element.setAttribute(key, value);
|
|
987
|
-
this[key] = value;
|
|
988
|
-
}
|
|
989
|
-
};
|
|
990
|
-
/**
|
|
991
|
-
* Fade out an element by animating its opacity down to 0, and hide it on
|
|
992
|
-
* complete. Used internally for the tooltip.
|
|
993
|
-
*
|
|
994
|
-
* @function Highcharts.SVGElement#fadeOut
|
|
995
|
-
*
|
|
996
|
-
* @param {number} [duration=150]
|
|
997
|
-
* The fade duration in milliseconds.
|
|
998
|
-
*/
|
|
999
|
-
SVGElement.prototype.fadeOut = function (duration) {
|
|
1000
|
-
var elemWrapper = this;
|
|
1001
|
-
elemWrapper.animate({
|
|
1002
|
-
opacity: 0
|
|
1003
|
-
}, {
|
|
1004
|
-
duration: pick(duration, 150),
|
|
1005
|
-
complete: function () {
|
|
1006
|
-
// #3088, assuming we're only using this for tooltips
|
|
1007
|
-
elemWrapper.attr({ y: -9999 }).hide();
|
|
1008
|
-
}
|
|
1009
|
-
});
|
|
1010
|
-
};
|
|
1011
|
-
/**
|
|
1012
|
-
* @private
|
|
1013
|
-
* @function Highcharts.SVGElement#fillSetter
|
|
1014
|
-
* @param {Highcharts.ColorType} value
|
|
1015
|
-
* @param {string} key
|
|
1016
|
-
* @param {Highcharts.SVGDOMElement} element
|
|
1017
|
-
*/
|
|
1018
|
-
SVGElement.prototype.fillSetter = function (value, key, element) {
|
|
1019
|
-
if (typeof value === 'string') {
|
|
1020
|
-
element.setAttribute(key, value);
|
|
1021
|
-
}
|
|
1022
|
-
else if (value) {
|
|
1023
|
-
this.complexColor(value, key, element);
|
|
1024
|
-
}
|
|
1025
|
-
};
|
|
1026
|
-
/**
|
|
1027
|
-
* Get the bounding box (width, height, x and y) for the element. Generally
|
|
1028
|
-
* used to get rendered text size. Since this is called a lot in charts,
|
|
1029
|
-
* the results are cached based on text properties, in order to save DOM
|
|
1030
|
-
* traffic. The returned bounding box includes the rotation, so for example
|
|
1031
|
-
* a single text line of rotation 90 will report a greater height, and a
|
|
1032
|
-
* width corresponding to the line-height.
|
|
1033
|
-
*
|
|
1034
|
-
* @sample highcharts/members/renderer-on-chart/
|
|
1035
|
-
* Draw a rectangle based on a text's bounding box
|
|
1036
|
-
*
|
|
1037
|
-
* @function Highcharts.SVGElement#getBBox
|
|
1038
|
-
*
|
|
1039
|
-
* @param {boolean} [reload]
|
|
1040
|
-
* Skip the cache and get the updated DOM bouding box.
|
|
1041
|
-
*
|
|
1042
|
-
* @param {number} [rot]
|
|
1043
|
-
* Override the element's rotation. This is internally used on axis
|
|
1044
|
-
* labels with a value of 0 to find out what the bounding box would
|
|
1045
|
-
* be have been if it were not rotated.
|
|
1046
|
-
*
|
|
1047
|
-
* @return {Highcharts.BBoxObject}
|
|
1048
|
-
* The bounding box with `x`, `y`, `width` and `height` properties.
|
|
1049
|
-
*/
|
|
1050
|
-
SVGElement.prototype.getBBox = function (reload, rot) {
|
|
1051
|
-
var wrapper = this, renderer = wrapper.renderer, element = wrapper.element, styles = wrapper.styles, textStr = wrapper.textStr, cache = renderer.cache, cacheKeys = renderer.cacheKeys, isSVG = element.namespaceURI === wrapper.SVG_NS, rotation = pick(rot, wrapper.rotation, 0), fontSize = renderer.styledMode ? (element &&
|
|
1052
|
-
SVGElement.prototype.getStyle.call(element, 'font-size')) : (styles && styles.fontSize);
|
|
1053
|
-
var bBox, // = wrapper.bBox,
|
|
1054
|
-
width, height, toggleTextShadowShim, cacheKey;
|
|
1055
|
-
// Avoid undefined and null (#7316)
|
|
1056
|
-
if (defined(textStr)) {
|
|
1057
|
-
cacheKey = textStr.toString();
|
|
1058
|
-
// Since numbers are monospaced, and numerical labels appear a lot
|
|
1059
|
-
// in a chart, we assume that a label of n characters has the same
|
|
1060
|
-
// bounding box as others of the same length. Unless there is inner
|
|
1061
|
-
// HTML in the label. In that case, leave the numbers as is (#5899).
|
|
1062
|
-
if (cacheKey.indexOf('<') === -1) {
|
|
1063
|
-
cacheKey = cacheKey.replace(/[0-9]/g, '0');
|
|
1064
|
-
}
|
|
1065
|
-
// Properties that affect bounding box
|
|
1066
|
-
cacheKey += [
|
|
1067
|
-
'',
|
|
1068
|
-
rotation,
|
|
1069
|
-
fontSize,
|
|
1070
|
-
wrapper.textWidth,
|
|
1071
|
-
styles && styles.textOverflow,
|
|
1072
|
-
styles && styles.fontWeight // #12163
|
|
1073
|
-
].join(',');
|
|
1074
|
-
}
|
|
1075
|
-
if (cacheKey && !reload) {
|
|
1076
|
-
bBox = cache[cacheKey];
|
|
1077
|
-
}
|
|
1078
|
-
// No cache found
|
|
1079
|
-
if (!bBox) {
|
|
1080
|
-
// SVG elements
|
|
1081
|
-
if (isSVG || renderer.forExport) {
|
|
1082
|
-
try { // Fails in Firefox if the container has display: none.
|
|
1083
|
-
// When the text shadow shim is used, we need to hide the
|
|
1084
|
-
// fake shadows to get the correct bounding box (#3872)
|
|
1085
|
-
toggleTextShadowShim = this.fakeTS && function (display) {
|
|
1086
|
-
var outline = element.querySelector('.highcharts-text-outline');
|
|
1087
|
-
if (outline) {
|
|
1088
|
-
css(outline, { display: display });
|
|
1089
|
-
}
|
|
1090
|
-
};
|
|
1091
|
-
// Workaround for #3842, Firefox reporting wrong bounding
|
|
1092
|
-
// box for shadows
|
|
1093
|
-
if (isFunction(toggleTextShadowShim)) {
|
|
1094
|
-
toggleTextShadowShim('none');
|
|
1095
|
-
}
|
|
1096
|
-
bBox = element.getBBox ?
|
|
1097
|
-
// SVG: use extend because IE9 is not allowed to change
|
|
1098
|
-
// width and height in case of rotation (below)
|
|
1099
|
-
extend({}, element.getBBox()) : {
|
|
1100
|
-
// Legacy IE in export mode
|
|
1101
|
-
width: element.offsetWidth,
|
|
1102
|
-
height: element.offsetHeight
|
|
1103
|
-
};
|
|
1104
|
-
// #3842
|
|
1105
|
-
if (isFunction(toggleTextShadowShim)) {
|
|
1106
|
-
toggleTextShadowShim('');
|
|
1107
|
-
}
|
|
1108
|
-
}
|
|
1109
|
-
catch (e) {
|
|
1110
|
-
'';
|
|
1111
|
-
}
|
|
1112
|
-
// If the bBox is not set, the try-catch block above failed. The
|
|
1113
|
-
// other condition is for Opera that returns a width of
|
|
1114
|
-
// -Infinity on hidden elements.
|
|
1115
|
-
if (!bBox || bBox.width < 0) {
|
|
1116
|
-
bBox = { width: 0, height: 0 };
|
|
1117
|
-
}
|
|
1118
|
-
// VML Renderer or useHTML within SVG
|
|
1119
|
-
}
|
|
1120
|
-
else {
|
|
1121
|
-
bBox = wrapper.htmlGetBBox();
|
|
1122
|
-
}
|
|
1123
|
-
// True SVG elements as well as HTML elements in modern browsers
|
|
1124
|
-
// using the .useHTML option need to compensated for rotation
|
|
1125
|
-
if (renderer.isSVG) {
|
|
1126
|
-
width = bBox.width;
|
|
1127
|
-
height = bBox.height;
|
|
1128
|
-
// Workaround for wrong bounding box in IE, Edge and Chrome on
|
|
1129
|
-
// Windows. With Highcharts' default font, IE and Edge report
|
|
1130
|
-
// a box height of 16.899 and Chrome rounds it to 17. If this
|
|
1131
|
-
// stands uncorrected, it results in more padding added below
|
|
1132
|
-
// the text than above when adding a label border or background.
|
|
1133
|
-
// Also vertical positioning is affected.
|
|
1134
|
-
// https://jsfiddle.net/highcharts/em37nvuj/
|
|
1135
|
-
// (#1101, #1505, #1669, #2568, #6213).
|
|
1136
|
-
if (isSVG) {
|
|
1137
|
-
bBox.height = height = ({
|
|
1138
|
-
'11px,17': 14,
|
|
1139
|
-
'13px,20': 16
|
|
1140
|
-
}[(fontSize || '') + "," + Math.round(height)] ||
|
|
1141
|
-
height);
|
|
1142
|
-
}
|
|
1143
|
-
// Adjust for rotated text
|
|
1144
|
-
if (rotation) {
|
|
1145
|
-
var rad = rotation * deg2rad;
|
|
1146
|
-
bBox.width = Math.abs(height * Math.sin(rad)) +
|
|
1147
|
-
Math.abs(width * Math.cos(rad));
|
|
1148
|
-
bBox.height = Math.abs(height * Math.cos(rad)) +
|
|
1149
|
-
Math.abs(width * Math.sin(rad));
|
|
1150
|
-
}
|
|
1151
|
-
}
|
|
1152
|
-
// Cache it. When loading a chart in a hidden iframe in Firefox and
|
|
1153
|
-
// IE/Edge, the bounding box height is 0, so don't cache it (#5620).
|
|
1154
|
-
if (cacheKey && (textStr === '' || bBox.height > 0)) {
|
|
1155
|
-
// Rotate (#4681)
|
|
1156
|
-
while (cacheKeys.length > 250) {
|
|
1157
|
-
delete cache[cacheKeys.shift()];
|
|
1158
|
-
}
|
|
1159
|
-
if (!cache[cacheKey]) {
|
|
1160
|
-
cacheKeys.push(cacheKey);
|
|
1161
|
-
}
|
|
1162
|
-
cache[cacheKey] = bBox;
|
|
1163
|
-
}
|
|
1164
|
-
}
|
|
1165
|
-
return bBox;
|
|
1166
|
-
};
|
|
1167
|
-
/**
|
|
1168
|
-
* Get the computed style. Only in styled mode.
|
|
1169
|
-
*
|
|
1170
|
-
* @example
|
|
1171
|
-
* chart.series[0].points[0].graphic.getStyle('stroke-width'); // => '1px'
|
|
1172
|
-
*
|
|
1173
|
-
* @function Highcharts.SVGElement#getStyle
|
|
1174
|
-
*
|
|
1175
|
-
* @param {string} prop
|
|
1176
|
-
* The property name to check for.
|
|
1177
|
-
*
|
|
1178
|
-
* @return {string}
|
|
1179
|
-
* The current computed value.
|
|
1180
|
-
*/
|
|
1181
|
-
SVGElement.prototype.getStyle = function (prop) {
|
|
1182
|
-
return win
|
|
1183
|
-
.getComputedStyle(this.element || this, '')
|
|
1184
|
-
.getPropertyValue(prop);
|
|
1185
|
-
};
|
|
1186
|
-
/**
|
|
1187
|
-
* Check if an element has the given class name.
|
|
1188
|
-
*
|
|
1189
|
-
* @function Highcharts.SVGElement#hasClass
|
|
1190
|
-
*
|
|
1191
|
-
* @param {string} className
|
|
1192
|
-
* The class name to check for.
|
|
1193
|
-
*
|
|
1194
|
-
* @return {boolean}
|
|
1195
|
-
* Whether the class name is found.
|
|
1196
|
-
*/
|
|
1197
|
-
SVGElement.prototype.hasClass = function (className) {
|
|
1198
|
-
return ('' + this.attr('class'))
|
|
1199
|
-
.split(' ')
|
|
1200
|
-
.indexOf(className) !== -1;
|
|
1201
|
-
};
|
|
1202
|
-
/**
|
|
1203
|
-
* Hide the element, similar to setting the `visibility` attribute to
|
|
1204
|
-
* `hidden`.
|
|
1205
|
-
*
|
|
1206
|
-
* @function Highcharts.SVGElement#hide
|
|
1207
|
-
*
|
|
1208
|
-
* @param {boolean} [hideByTranslation=false]
|
|
1209
|
-
* The flag to determine if element should be hidden by moving out
|
|
1210
|
-
* of the viewport. Used for example for dataLabels.
|
|
1211
|
-
*
|
|
1212
|
-
* @return {Highcharts.SVGElement}
|
|
1213
|
-
* Returns the SVGElement for chaining.
|
|
1214
|
-
*/
|
|
1215
|
-
SVGElement.prototype.hide = function (hideByTranslation) {
|
|
1216
|
-
if (hideByTranslation) {
|
|
1217
|
-
this.attr({ y: -9999 });
|
|
1218
|
-
}
|
|
1219
|
-
else {
|
|
1220
|
-
this.attr({ visibility: 'hidden' });
|
|
1221
|
-
}
|
|
1222
|
-
return this;
|
|
1223
|
-
};
|
|
1224
|
-
/**
|
|
1225
|
-
* @private
|
|
1226
|
-
*/
|
|
1227
|
-
SVGElement.prototype.htmlGetBBox = function () {
|
|
1228
|
-
return { height: 0, width: 0, x: 0, y: 0 };
|
|
1229
|
-
};
|
|
1230
|
-
/**
|
|
1231
|
-
* Initialize the SVG element. This function only exists to make the
|
|
1232
|
-
* initialization process overridable. It should not be called directly.
|
|
1233
|
-
*
|
|
1234
|
-
* @function Highcharts.SVGElement#init
|
|
1235
|
-
*
|
|
1236
|
-
* @param {Highcharts.SVGRenderer} renderer
|
|
1237
|
-
* The SVGRenderer instance to initialize to.
|
|
1238
|
-
*
|
|
1239
|
-
* @param {string} nodeName
|
|
1240
|
-
* The SVG node name.
|
|
1241
|
-
*/
|
|
1242
|
-
SVGElement.prototype.init = function (renderer, nodeName) {
|
|
1243
|
-
/**
|
|
1244
|
-
* The primary DOM node. Each `SVGElement` instance wraps a main DOM
|
|
1245
|
-
* node, but may also represent more nodes.
|
|
1246
|
-
*
|
|
1247
|
-
* @name Highcharts.SVGElement#element
|
|
1248
|
-
* @type {Highcharts.SVGDOMElement|Highcharts.HTMLDOMElement}
|
|
1249
|
-
*/
|
|
1250
|
-
this.element = nodeName === 'span' ?
|
|
1251
|
-
createElement(nodeName) :
|
|
1252
|
-
doc.createElementNS(this.SVG_NS, nodeName);
|
|
1253
|
-
/**
|
|
1254
|
-
* The renderer that the SVGElement belongs to.
|
|
1255
|
-
*
|
|
1256
|
-
* @name Highcharts.SVGElement#renderer
|
|
1257
|
-
* @type {Highcharts.SVGRenderer}
|
|
1258
|
-
*/
|
|
1259
|
-
this.renderer = renderer;
|
|
1260
|
-
fireEvent(this, 'afterInit');
|
|
1261
|
-
};
|
|
1262
|
-
/**
|
|
1263
|
-
* Invert a group, rotate and flip. This is used internally on inverted
|
|
1264
|
-
* charts, where the points and graphs are drawn as if not inverted, then
|
|
1265
|
-
* the series group elements are inverted.
|
|
1266
|
-
*
|
|
1267
|
-
* @function Highcharts.SVGElement#invert
|
|
1268
|
-
*
|
|
1269
|
-
* @param {boolean} inverted
|
|
1270
|
-
* Whether to invert or not. An inverted shape can be un-inverted by
|
|
1271
|
-
* setting it to false.
|
|
1272
|
-
*
|
|
1273
|
-
* @return {Highcharts.SVGElement}
|
|
1274
|
-
* Return the SVGElement for chaining.
|
|
1275
|
-
*/
|
|
1276
|
-
SVGElement.prototype.invert = function (inverted) {
|
|
1277
|
-
this.inverted = inverted;
|
|
1278
|
-
this.updateTransform();
|
|
1279
|
-
return this;
|
|
1280
|
-
};
|
|
1281
|
-
/**
|
|
1282
|
-
* Add an event listener. This is a simple setter that replaces the
|
|
1283
|
-
* previous event of the same type added by this function, as opposed to
|
|
1284
|
-
* the {@link Highcharts#addEvent} function.
|
|
1285
|
-
*
|
|
1286
|
-
* @sample highcharts/members/element-on/
|
|
1287
|
-
* A clickable rectangle
|
|
1288
|
-
*
|
|
1289
|
-
* @function Highcharts.SVGElement#on
|
|
1290
|
-
*
|
|
1291
|
-
* @param {string} eventType
|
|
1292
|
-
* The event type.
|
|
1293
|
-
*
|
|
1294
|
-
* @param {Function} handler
|
|
1295
|
-
* The handler callback.
|
|
1296
|
-
*
|
|
1297
|
-
* @return {Highcharts.SVGElement}
|
|
1298
|
-
* The SVGElement for chaining.
|
|
1299
|
-
*/
|
|
1300
|
-
SVGElement.prototype.on = function (eventType, handler) {
|
|
1301
|
-
var onEvents = this.onEvents;
|
|
1302
|
-
if (onEvents[eventType]) {
|
|
1303
|
-
// Unbind existing event
|
|
1304
|
-
onEvents[eventType]();
|
|
1305
|
-
}
|
|
1306
|
-
onEvents[eventType] = addEvent(this.element, eventType, handler);
|
|
1307
|
-
return this;
|
|
1308
|
-
};
|
|
1309
|
-
/**
|
|
1310
|
-
* @private
|
|
1311
|
-
* @function Highcharts.SVGElement#opacitySetter
|
|
1312
|
-
* @param {string} value
|
|
1313
|
-
* @param {string} key
|
|
1314
|
-
* @param {Highcharts.SVGDOMElement} element
|
|
1315
|
-
*/
|
|
1316
|
-
SVGElement.prototype.opacitySetter = function (value, key, element) {
|
|
1317
|
-
// Round off to avoid float errors, like tests where opacity lands on
|
|
1318
|
-
// 9.86957e-06 instead of 0
|
|
1319
|
-
var opacity = Number(Number(value).toFixed(3));
|
|
1320
|
-
this.opacity = opacity;
|
|
1321
|
-
element.setAttribute(key, opacity);
|
|
1322
|
-
};
|
|
1323
|
-
/**
|
|
1324
|
-
* Remove a class name from the element.
|
|
1325
|
-
*
|
|
1326
|
-
* @function Highcharts.SVGElement#removeClass
|
|
1327
|
-
*
|
|
1328
|
-
* @param {string|RegExp} className
|
|
1329
|
-
* The class name to remove.
|
|
1330
|
-
*
|
|
1331
|
-
* @return {Highcharts.SVGElement} Returns the SVG element for chainability.
|
|
1332
|
-
*/
|
|
1333
|
-
SVGElement.prototype.removeClass = function (className) {
|
|
1334
|
-
return this.attr('class', ('' + this.attr('class'))
|
|
1335
|
-
.replace(isString(className) ?
|
|
1336
|
-
new RegExp("(^| )" + className + "( |$)") : // #12064, #13590
|
|
1337
|
-
className, ' ')
|
|
1338
|
-
.replace(/ +/g, ' ')
|
|
1339
|
-
.trim());
|
|
1340
|
-
};
|
|
1341
|
-
/**
|
|
1342
|
-
*
|
|
1343
|
-
* @private
|
|
1344
|
-
*/
|
|
1345
|
-
SVGElement.prototype.removeTextOutline = function () {
|
|
1346
|
-
var outline = this.element
|
|
1347
|
-
.querySelector('tspan.highcharts-text-outline');
|
|
1348
|
-
if (outline) {
|
|
1349
|
-
this.safeRemoveChild(outline);
|
|
1350
|
-
}
|
|
1351
|
-
};
|
|
1352
|
-
/**
|
|
1353
|
-
* Removes an element from the DOM.
|
|
1354
|
-
*
|
|
1355
|
-
* @private
|
|
1356
|
-
* @function Highcharts.SVGElement#safeRemoveChild
|
|
1357
|
-
*
|
|
1358
|
-
* @param {Highcharts.SVGDOMElement|Highcharts.HTMLDOMElement} element
|
|
1359
|
-
* The DOM node to remove.
|
|
1360
|
-
*/
|
|
1361
|
-
SVGElement.prototype.safeRemoveChild = function (element) {
|
|
1362
|
-
var parentNode = element.parentNode;
|
|
1363
|
-
if (parentNode) {
|
|
1364
|
-
parentNode.removeChild(element);
|
|
1365
|
-
}
|
|
1366
|
-
};
|
|
1367
|
-
/**
|
|
1368
|
-
* Set the coordinates needed to draw a consistent radial gradient across
|
|
1369
|
-
* a shape regardless of positioning inside the chart. Used on pie slices
|
|
1370
|
-
* to make all the slices have the same radial reference point.
|
|
1371
|
-
*
|
|
1372
|
-
* @function Highcharts.SVGElement#setRadialReference
|
|
1373
|
-
*
|
|
1374
|
-
* @param {Array<number>} coordinates
|
|
1375
|
-
* The center reference. The format is `[centerX, centerY, diameter]` in
|
|
1376
|
-
* pixels.
|
|
1377
|
-
*
|
|
1378
|
-
* @return {Highcharts.SVGElement}
|
|
1379
|
-
* Returns the SVGElement for chaining.
|
|
1380
|
-
*/
|
|
1381
|
-
SVGElement.prototype.setRadialReference = function (coordinates) {
|
|
1382
|
-
var existingGradient = (this.element.gradient &&
|
|
1383
|
-
this.renderer.gradients[this.element.gradient]);
|
|
1384
|
-
this.element.radialReference = coordinates;
|
|
1385
|
-
// On redrawing objects with an existing gradient, the gradient needs
|
|
1386
|
-
// to be repositioned (#3801)
|
|
1387
|
-
if (existingGradient && existingGradient.radAttr) {
|
|
1388
|
-
existingGradient.animate(this.renderer.getRadialAttr(coordinates, existingGradient.radAttr));
|
|
1389
|
-
}
|
|
1390
|
-
return this;
|
|
1391
|
-
};
|
|
1392
|
-
/**
|
|
1393
|
-
* @private
|
|
1394
|
-
* @function Highcharts.SVGElement#setTextPath
|
|
1395
|
-
* @param {Highcharts.SVGElement} path
|
|
1396
|
-
* Path to follow.
|
|
1397
|
-
* @param {Highcharts.DataLabelsTextPathOptionsObject} textPathOptions
|
|
1398
|
-
* Options.
|
|
1399
|
-
* @return {Highcharts.SVGElement}
|
|
1400
|
-
* Returns the SVGElement for chaining.
|
|
1401
|
-
*/
|
|
1402
|
-
SVGElement.prototype.setTextPath = function (path, textPathOptions) {
|
|
1403
|
-
var elem = this.element, textNode = this.text ? this.text.element : elem, attribsMap = {
|
|
1404
|
-
textAnchor: 'text-anchor'
|
|
1405
|
-
};
|
|
1406
|
-
var adder = false, textPathElement, textPathId, textPathWrapper = this.textPathWrapper, firstTime = !textPathWrapper;
|
|
1407
|
-
// Defaults
|
|
1408
|
-
textPathOptions = merge(true, {
|
|
1409
|
-
enabled: true,
|
|
1410
|
-
attributes: {
|
|
1411
|
-
dy: -5,
|
|
1412
|
-
startOffset: '50%',
|
|
1413
|
-
textAnchor: 'middle'
|
|
1414
|
-
}
|
|
1415
|
-
}, textPathOptions);
|
|
1416
|
-
var attrs = AST.filterUserAttributes(textPathOptions.attributes);
|
|
1417
|
-
if (path && textPathOptions && textPathOptions.enabled) {
|
|
1418
|
-
// In case of fixed width for a text, string is rebuilt
|
|
1419
|
-
// (e.g. ellipsis is applied), so we need to rebuild textPath too
|
|
1420
|
-
if (textPathWrapper &&
|
|
1421
|
-
textPathWrapper.element.parentNode === null) {
|
|
1422
|
-
// When buildText functionality was triggered again
|
|
1423
|
-
// and deletes textPathWrapper parentNode
|
|
1424
|
-
firstTime = true;
|
|
1425
|
-
textPathWrapper = textPathWrapper.destroy();
|
|
1426
|
-
}
|
|
1427
|
-
else if (textPathWrapper) {
|
|
1428
|
-
// Case after drillup when spans were added into
|
|
1429
|
-
// the DOM outside the textPathWrapper parentGroup
|
|
1430
|
-
this.removeTextOutline.call(textPathWrapper.parentGroup);
|
|
1431
|
-
}
|
|
1432
|
-
// label() has padding, text() doesn't
|
|
1433
|
-
if (this.options && this.options.padding) {
|
|
1434
|
-
attrs.dx = -this.options.padding;
|
|
1435
|
-
}
|
|
1436
|
-
if (!textPathWrapper) {
|
|
1437
|
-
// Create <textPath>, defer the DOM adder
|
|
1438
|
-
this.textPathWrapper = textPathWrapper =
|
|
1439
|
-
this.renderer.createElement('textPath');
|
|
1440
|
-
adder = true;
|
|
1441
|
-
}
|
|
1442
|
-
textPathElement = textPathWrapper.element;
|
|
1443
|
-
// Set ID for the path
|
|
1444
|
-
textPathId = path.element.getAttribute('id');
|
|
1445
|
-
if (!textPathId) {
|
|
1446
|
-
path.element.setAttribute('id', textPathId = uniqueKey());
|
|
1447
|
-
}
|
|
1448
|
-
// Change DOM structure, by placing <textPath> tag in <text>
|
|
1449
|
-
if (firstTime) {
|
|
1450
|
-
// Adjust the position
|
|
1451
|
-
textNode.setAttribute('y', 0); // Firefox
|
|
1452
|
-
if (isNumber(attrs.dx)) {
|
|
1453
|
-
textNode.setAttribute('x', -attrs.dx);
|
|
1454
|
-
}
|
|
1455
|
-
// Move all <tspan>'s and text nodes to the <textPath> node. Do
|
|
1456
|
-
// not move other elements like <title> or <path>
|
|
1457
|
-
var childNodes = [].slice.call(textNode.childNodes);
|
|
1458
|
-
for (var i = 0; i < childNodes.length; i++) {
|
|
1459
|
-
var childNode = childNodes[i];
|
|
1460
|
-
if (childNode.nodeType === win.Node.TEXT_NODE ||
|
|
1461
|
-
childNode.nodeName === 'tspan') {
|
|
1462
|
-
textPathElement.appendChild(childNode);
|
|
1463
|
-
}
|
|
1464
|
-
}
|
|
1465
|
-
}
|
|
1466
|
-
// Add <textPath> to the DOM
|
|
1467
|
-
if (adder && textPathWrapper) {
|
|
1468
|
-
textPathWrapper.add({ element: textNode });
|
|
1469
|
-
}
|
|
1470
|
-
// Set basic options:
|
|
1471
|
-
// Use `setAttributeNS` because Safari needs this..
|
|
1472
|
-
textPathElement.setAttributeNS('http://www.w3.org/1999/xlink', 'href', this.renderer.url + '#' + textPathId);
|
|
1473
|
-
// Presentation attributes:
|
|
1474
|
-
// dx/dy options must by set on <text> (parent),
|
|
1475
|
-
// the rest should be set on <textPath>
|
|
1476
|
-
if (defined(attrs.dy)) {
|
|
1477
|
-
textPathElement.parentNode
|
|
1478
|
-
.setAttribute('dy', attrs.dy);
|
|
1479
|
-
delete attrs.dy;
|
|
1480
|
-
}
|
|
1481
|
-
if (defined(attrs.dx)) {
|
|
1482
|
-
textPathElement.parentNode
|
|
1483
|
-
.setAttribute('dx', attrs.dx);
|
|
1484
|
-
delete attrs.dx;
|
|
1485
|
-
}
|
|
1486
|
-
// Additional attributes
|
|
1487
|
-
objectEach(attrs, function (val, key) {
|
|
1488
|
-
textPathElement.setAttribute(attribsMap[key] || key, val);
|
|
1489
|
-
});
|
|
1490
|
-
// Remove translation, text that follows path does not need that
|
|
1491
|
-
elem.removeAttribute('transform');
|
|
1492
|
-
// Remove shadows and text outlines
|
|
1493
|
-
this.removeTextOutline.call(textPathWrapper);
|
|
1494
|
-
// Remove background and border for label(), see #10545
|
|
1495
|
-
// Alternatively, we can disable setting background rects in
|
|
1496
|
-
// series.drawDataLabels()
|
|
1497
|
-
if (this.text && !this.renderer.styledMode) {
|
|
1498
|
-
this.attr({
|
|
1499
|
-
fill: 'none',
|
|
1500
|
-
'stroke-width': 0
|
|
1501
|
-
});
|
|
1502
|
-
}
|
|
1503
|
-
// Disable some functions
|
|
1504
|
-
this.updateTransform = noop;
|
|
1505
|
-
this.applyTextOutline = noop;
|
|
1506
|
-
}
|
|
1507
|
-
else if (textPathWrapper) {
|
|
1508
|
-
// Reset to prototype
|
|
1509
|
-
delete this.updateTransform;
|
|
1510
|
-
delete this.applyTextOutline;
|
|
1511
|
-
// Restore DOM structure:
|
|
1512
|
-
this.destroyTextPath(elem, path);
|
|
1513
|
-
// Bring attributes back
|
|
1514
|
-
this.updateTransform();
|
|
1515
|
-
// Set textOutline back for text()
|
|
1516
|
-
if (this.options && this.options.rotation) {
|
|
1517
|
-
this.applyTextOutline(this.options.style.textOutline);
|
|
1518
|
-
}
|
|
1519
|
-
}
|
|
1520
|
-
return this;
|
|
1521
|
-
};
|
|
1522
|
-
/**
|
|
1523
|
-
* Add a shadow to the element. Must be called after the element is added to
|
|
1524
|
-
* the DOM. In styled mode, this method is not used, instead use `defs` and
|
|
1525
|
-
* filters.
|
|
1526
|
-
*
|
|
1527
|
-
* @example
|
|
1528
|
-
* renderer.rect(10, 100, 100, 100)
|
|
1529
|
-
* .attr({ fill: 'red' })
|
|
1530
|
-
* .shadow(true);
|
|
1531
|
-
*
|
|
1532
|
-
* @function Highcharts.SVGElement#shadow
|
|
1533
|
-
*
|
|
1534
|
-
* @param {boolean|Highcharts.ShadowOptionsObject} [shadowOptions]
|
|
1535
|
-
* The shadow options. If `true`, the default options are applied. If
|
|
1536
|
-
* `false`, the current shadow will be removed.
|
|
1537
|
-
*
|
|
1538
|
-
* @param {Highcharts.SVGElement} [group]
|
|
1539
|
-
* The SVG group element where the shadows will be applied. The
|
|
1540
|
-
* default is to add it to the same parent as the current element.
|
|
1541
|
-
* Internally, this is ised for pie slices, where all the shadows are
|
|
1542
|
-
* added to an element behind all the slices.
|
|
1543
|
-
*
|
|
1544
|
-
* @param {boolean} [cutOff]
|
|
1545
|
-
* Used internally for column shadows.
|
|
1546
|
-
*
|
|
1547
|
-
* @return {Highcharts.SVGElement}
|
|
1548
|
-
* Returns the SVGElement for chaining.
|
|
1549
|
-
*/
|
|
1550
|
-
SVGElement.prototype.shadow = function (shadowOptions, group, cutOff) {
|
|
1551
|
-
var shadows = [], element = this.element, oldShadowOptions = this.oldShadowOptions, defaultShadowOptions = {
|
|
1552
|
-
color: "#000000" /* neutralColor100 */,
|
|
1553
|
-
offsetX: this.parentInverted ? -1 : 1,
|
|
1554
|
-
offsetY: this.parentInverted ? -1 : 1,
|
|
1555
|
-
opacity: 0.15,
|
|
1556
|
-
width: 3
|
|
1557
|
-
};
|
|
1558
|
-
var i, shadow, strokeWidth, shadowElementOpacity, update = false,
|
|
1559
|
-
// compensate for inverted plot area
|
|
1560
|
-
transform, options;
|
|
1561
|
-
if (shadowOptions === true) {
|
|
1562
|
-
options = defaultShadowOptions;
|
|
1563
|
-
}
|
|
1564
|
-
else if (typeof shadowOptions === 'object') {
|
|
1565
|
-
options = extend(defaultShadowOptions, shadowOptions);
|
|
1566
|
-
}
|
|
1567
|
-
// Update shadow when options change (#12091).
|
|
1568
|
-
if (options) {
|
|
1569
|
-
// Go over each key to look for change
|
|
1570
|
-
if (options && oldShadowOptions) {
|
|
1571
|
-
objectEach(options, function (value, key) {
|
|
1572
|
-
if (value !== oldShadowOptions[key]) {
|
|
1573
|
-
update = true;
|
|
1574
|
-
}
|
|
1575
|
-
});
|
|
1576
|
-
}
|
|
1577
|
-
if (update) {
|
|
1578
|
-
this.destroyShadows();
|
|
1579
|
-
}
|
|
1580
|
-
this.oldShadowOptions = options;
|
|
1581
|
-
}
|
|
1582
|
-
if (!options) {
|
|
1583
|
-
this.destroyShadows();
|
|
1584
|
-
}
|
|
1585
|
-
else if (!this.shadows) {
|
|
1586
|
-
shadowElementOpacity = options.opacity / options.width;
|
|
1587
|
-
transform = this.parentInverted ?
|
|
1588
|
-
"translate(" + options.offsetY + ", " + options.offsetX + ")" :
|
|
1589
|
-
"translate(" + options.offsetX + ", " + options.offsetY + ")";
|
|
1590
|
-
for (i = 1; i <= options.width; i++) {
|
|
1591
|
-
shadow = element.cloneNode(false);
|
|
1592
|
-
strokeWidth = (options.width * 2) + 1 - (2 * i);
|
|
1593
|
-
attr(shadow, {
|
|
1594
|
-
stroke: (shadowOptions.color ||
|
|
1595
|
-
"#000000" /* neutralColor100 */),
|
|
1596
|
-
'stroke-opacity': shadowElementOpacity * i,
|
|
1597
|
-
'stroke-width': strokeWidth,
|
|
1598
|
-
transform: transform,
|
|
1599
|
-
fill: 'none'
|
|
1600
|
-
});
|
|
1601
|
-
shadow.setAttribute('class', (shadow.getAttribute('class') || '') + ' highcharts-shadow');
|
|
1602
|
-
if (cutOff) {
|
|
1603
|
-
attr(shadow, 'height', Math.max(attr(shadow, 'height') - strokeWidth, 0));
|
|
1604
|
-
shadow.cutHeight = strokeWidth;
|
|
1605
|
-
}
|
|
1606
|
-
if (group) {
|
|
1607
|
-
group.element.appendChild(shadow);
|
|
1608
|
-
}
|
|
1609
|
-
else if (element.parentNode) {
|
|
1610
|
-
element.parentNode.insertBefore(shadow, element);
|
|
1611
|
-
}
|
|
1612
|
-
shadows.push(shadow);
|
|
1613
|
-
}
|
|
1614
|
-
this.shadows = shadows;
|
|
1615
|
-
}
|
|
1616
|
-
return this;
|
|
1617
|
-
};
|
|
1618
|
-
/**
|
|
1619
|
-
* Show the element after it has been hidden.
|
|
1620
|
-
*
|
|
1621
|
-
* @function Highcharts.SVGElement#show
|
|
1622
|
-
*
|
|
1623
|
-
* @param {boolean} [inherit=false]
|
|
1624
|
-
* Set the visibility attribute to `inherit` rather than `visible`.
|
|
1625
|
-
* The difference is that an element with `visibility="visible"`
|
|
1626
|
-
* will be visible even if the parent is hidden.
|
|
1627
|
-
*
|
|
1628
|
-
* @return {Highcharts.SVGElement}
|
|
1629
|
-
* Returns the SVGElement for chaining.
|
|
1630
|
-
*/
|
|
1631
|
-
SVGElement.prototype.show = function (inherit) {
|
|
1632
|
-
return this.attr({ visibility: inherit ? 'inherit' : 'visible' });
|
|
1633
|
-
};
|
|
1634
|
-
/**
|
|
1635
|
-
* WebKit and Batik have problems with a stroke-width of zero, so in this
|
|
1636
|
-
* case we remove the stroke attribute altogether. #1270, #1369, #3065,
|
|
1637
|
-
* #3072.
|
|
1638
|
-
*
|
|
1639
|
-
* @private
|
|
1640
|
-
* @function Highcharts.SVGElement#strokeSetter
|
|
1641
|
-
* @param {number|string|ColorType} value
|
|
1642
|
-
* @param {string} key
|
|
1643
|
-
* @param {Highcharts.SVGDOMElement} element
|
|
1644
|
-
*/
|
|
1645
|
-
SVGElement.prototype.strokeSetter = function (value, key, element) {
|
|
1646
|
-
this[key] = value;
|
|
1647
|
-
// Only apply the stroke attribute if the stroke width is defined and
|
|
1648
|
-
// larger than 0
|
|
1649
|
-
if (this.stroke && this['stroke-width']) {
|
|
1650
|
-
// Use prototype as instance may be overridden
|
|
1651
|
-
SVGElement.prototype.fillSetter.call(this, this.stroke, 'stroke', element);
|
|
1652
|
-
element.setAttribute('stroke-width', this['stroke-width']);
|
|
1653
|
-
this.hasStroke = true;
|
|
1654
|
-
}
|
|
1655
|
-
else if (key === 'stroke-width' && value === 0 && this.hasStroke) {
|
|
1656
|
-
element.removeAttribute('stroke');
|
|
1657
|
-
this.hasStroke = false;
|
|
1658
|
-
}
|
|
1659
|
-
else if (this.renderer.styledMode && this['stroke-width']) {
|
|
1660
|
-
element.setAttribute('stroke-width', this['stroke-width']);
|
|
1661
|
-
this.hasStroke = true;
|
|
1662
|
-
}
|
|
1663
|
-
};
|
|
1664
|
-
/**
|
|
1665
|
-
* Get the computed stroke width in pixel values. This is used extensively
|
|
1666
|
-
* when drawing shapes to ensure the shapes are rendered crisp and
|
|
1667
|
-
* positioned correctly relative to each other. Using
|
|
1668
|
-
* `shape-rendering: crispEdges` leaves us less control over positioning,
|
|
1669
|
-
* for example when we want to stack columns next to each other, or position
|
|
1670
|
-
* things pixel-perfectly within the plot box.
|
|
1671
|
-
*
|
|
1672
|
-
* The common pattern when placing a shape is:
|
|
1673
|
-
* - Create the SVGElement and add it to the DOM. In styled mode, it will
|
|
1674
|
-
* now receive a stroke width from the style sheet. In classic mode we
|
|
1675
|
-
* will add the `stroke-width` attribute.
|
|
1676
|
-
* - Read the computed `elem.strokeWidth()`.
|
|
1677
|
-
* - Place it based on the stroke width.
|
|
1678
|
-
*
|
|
1679
|
-
* @function Highcharts.SVGElement#strokeWidth
|
|
1680
|
-
*
|
|
1681
|
-
* @return {number}
|
|
1682
|
-
* The stroke width in pixels. Even if the given stroke widtch (in CSS or by
|
|
1683
|
-
* attributes) is based on `em` or other units, the pixel size is returned.
|
|
1684
|
-
*/
|
|
1685
|
-
SVGElement.prototype.strokeWidth = function () {
|
|
1686
|
-
// In non-styled mode, read the stroke width as set by .attr
|
|
1687
|
-
if (!this.renderer.styledMode) {
|
|
1688
|
-
return this['stroke-width'] || 0;
|
|
1689
|
-
}
|
|
1690
|
-
// In styled mode, read computed stroke width
|
|
1691
|
-
var val = this.getStyle('stroke-width');
|
|
1692
|
-
var ret = 0, dummy;
|
|
1693
|
-
// Read pixel values directly
|
|
1694
|
-
if (val.indexOf('px') === val.length - 2) {
|
|
1695
|
-
ret = pInt(val);
|
|
1696
|
-
// Other values like em, pt etc need to be measured
|
|
1697
|
-
}
|
|
1698
|
-
else if (val !== '') {
|
|
1699
|
-
dummy = doc.createElementNS(SVG_NS, 'rect');
|
|
1700
|
-
attr(dummy, {
|
|
1701
|
-
width: val,
|
|
1702
|
-
'stroke-width': 0
|
|
1703
|
-
});
|
|
1704
|
-
this.element.parentNode.appendChild(dummy);
|
|
1705
|
-
ret = dummy.getBBox().width;
|
|
1706
|
-
dummy.parentNode.removeChild(dummy);
|
|
1707
|
-
}
|
|
1708
|
-
return ret;
|
|
1709
|
-
};
|
|
1710
|
-
/**
|
|
1711
|
-
* If one of the symbol size affecting parameters are changed,
|
|
1712
|
-
* check all the others only once for each call to an element's
|
|
1713
|
-
* .attr() method
|
|
1714
|
-
*
|
|
1715
|
-
* @private
|
|
1716
|
-
* @function Highcharts.SVGElement#symbolAttr
|
|
1717
|
-
*
|
|
1718
|
-
* @param {Highcharts.SVGAttributes} hash
|
|
1719
|
-
* The attributes to set.
|
|
1720
|
-
*/
|
|
1721
|
-
SVGElement.prototype.symbolAttr = function (hash) {
|
|
1722
|
-
var wrapper = this;
|
|
1723
|
-
[
|
|
1724
|
-
'x',
|
|
1725
|
-
'y',
|
|
1726
|
-
'r',
|
|
1727
|
-
'start',
|
|
1728
|
-
'end',
|
|
1729
|
-
'width',
|
|
1730
|
-
'height',
|
|
1731
|
-
'innerR',
|
|
1732
|
-
'anchorX',
|
|
1733
|
-
'anchorY',
|
|
1734
|
-
'clockwise'
|
|
1735
|
-
].forEach(function (key) {
|
|
1736
|
-
wrapper[key] = pick(hash[key], wrapper[key]);
|
|
1737
|
-
});
|
|
1738
|
-
wrapper.attr({
|
|
1739
|
-
d: wrapper.renderer.symbols[wrapper.symbolName](wrapper.x, wrapper.y, wrapper.width, wrapper.height, wrapper)
|
|
1740
|
-
});
|
|
1741
|
-
};
|
|
1742
|
-
/**
|
|
1743
|
-
* @private
|
|
1744
|
-
* @function Highcharts.SVGElement#textSetter
|
|
1745
|
-
* @param {string} value
|
|
1746
|
-
*/
|
|
1747
|
-
SVGElement.prototype.textSetter = function (value) {
|
|
1748
|
-
if (value !== this.textStr) {
|
|
1749
|
-
// Delete size caches when the text changes
|
|
1750
|
-
// delete this.bBox; // old code in series-label
|
|
1751
|
-
delete this.textPxLength;
|
|
1752
|
-
this.textStr = value;
|
|
1753
|
-
if (this.added) {
|
|
1754
|
-
this.renderer.buildText(this);
|
|
1755
|
-
}
|
|
1756
|
-
}
|
|
1757
|
-
};
|
|
1758
|
-
/**
|
|
1759
|
-
* @private
|
|
1760
|
-
* @function Highcharts.SVGElement#titleSetter
|
|
1761
|
-
* @param {string} value
|
|
1762
|
-
*/
|
|
1763
|
-
SVGElement.prototype.titleSetter = function (value) {
|
|
1764
|
-
var el = this.element;
|
|
1765
|
-
var titleNode = el.getElementsByTagName('title')[0] ||
|
|
1766
|
-
doc.createElementNS(this.SVG_NS, 'title');
|
|
1767
|
-
// Move to first child
|
|
1768
|
-
if (el.insertBefore) {
|
|
1769
|
-
el.insertBefore(titleNode, el.firstChild);
|
|
1770
|
-
}
|
|
1771
|
-
else {
|
|
1772
|
-
el.appendChild(titleNode);
|
|
1773
|
-
}
|
|
1774
|
-
// Replace text content and escape markup
|
|
1775
|
-
titleNode.textContent =
|
|
1776
|
-
// #3276, #3895
|
|
1777
|
-
String(pick(value, ''))
|
|
1778
|
-
.replace(/<[^>]*>/g, '')
|
|
1779
|
-
.replace(/</g, '<')
|
|
1780
|
-
.replace(/>/g, '>');
|
|
1781
|
-
};
|
|
1782
|
-
/**
|
|
1783
|
-
* Bring the element to the front. Alternatively, a new zIndex can be set.
|
|
1784
|
-
*
|
|
1785
|
-
* @sample highcharts/members/element-tofront/
|
|
1786
|
-
* Click an element to bring it to front
|
|
1787
|
-
*
|
|
1788
|
-
* @function Highcharts.SVGElement#toFront
|
|
1789
|
-
*
|
|
1790
|
-
* @return {Highcharts.SVGElement}
|
|
1791
|
-
* Returns the SVGElement for chaining.
|
|
1792
|
-
*/
|
|
1793
|
-
SVGElement.prototype.toFront = function () {
|
|
1794
|
-
var element = this.element;
|
|
1795
|
-
element.parentNode.appendChild(element);
|
|
1796
|
-
return this;
|
|
1797
|
-
};
|
|
1798
|
-
/**
|
|
1799
|
-
* Move an object and its children by x and y values.
|
|
1800
|
-
*
|
|
1801
|
-
* @function Highcharts.SVGElement#translate
|
|
1802
|
-
*
|
|
1803
|
-
* @param {number} x
|
|
1804
|
-
* The x value.
|
|
1805
|
-
*
|
|
1806
|
-
* @param {number} y
|
|
1807
|
-
* The y value.
|
|
1808
|
-
*
|
|
1809
|
-
* @return {Highcharts.SVGElement}
|
|
1810
|
-
* Translated element.
|
|
1811
|
-
*/
|
|
1812
|
-
SVGElement.prototype.translate = function (x, y) {
|
|
1813
|
-
return this.attr({
|
|
1814
|
-
translateX: x,
|
|
1815
|
-
translateY: y
|
|
1816
|
-
});
|
|
1817
|
-
};
|
|
1818
|
-
/**
|
|
1819
|
-
* Update the shadow elements with new attributes.
|
|
1820
|
-
*
|
|
1821
|
-
* @private
|
|
1822
|
-
* @function Highcharts.SVGElement#updateShadows
|
|
1823
|
-
*
|
|
1824
|
-
* @param {string} key
|
|
1825
|
-
* The attribute name.
|
|
1826
|
-
*
|
|
1827
|
-
* @param {number} value
|
|
1828
|
-
* The value of the attribute.
|
|
1829
|
-
*
|
|
1830
|
-
* @param {Function} setter
|
|
1831
|
-
* The setter function, inherited from the parent wrapper.
|
|
1832
|
-
*/
|
|
1833
|
-
SVGElement.prototype.updateShadows = function (key, value, setter) {
|
|
1834
|
-
var shadows = this.shadows;
|
|
1835
|
-
if (shadows) {
|
|
1836
|
-
var i = shadows.length;
|
|
1837
|
-
while (i--) {
|
|
1838
|
-
setter.call(shadows[i], key === 'height' ?
|
|
1839
|
-
Math.max(value - (shadows[i].cutHeight || 0), 0) :
|
|
1840
|
-
key === 'd' ? this.d : value, key, shadows[i]);
|
|
1841
|
-
}
|
|
1842
|
-
}
|
|
1843
|
-
};
|
|
1844
|
-
/**
|
|
1845
|
-
* Update the transform attribute based on internal properties. Deals with
|
|
1846
|
-
* the custom `translateX`, `translateY`, `rotation`, `scaleX` and `scaleY`
|
|
1847
|
-
* attributes and updates the SVG `transform` attribute.
|
|
1848
|
-
*
|
|
1849
|
-
* @private
|
|
1850
|
-
* @function Highcharts.SVGElement#updateTransform
|
|
1851
|
-
*/
|
|
1852
|
-
SVGElement.prototype.updateTransform = function () {
|
|
1853
|
-
var wrapper = this, scaleX = wrapper.scaleX, scaleY = wrapper.scaleY, inverted = wrapper.inverted, rotation = wrapper.rotation, matrix = wrapper.matrix, element = wrapper.element;
|
|
1854
|
-
var translateX = wrapper.translateX || 0, translateY = wrapper.translateY || 0;
|
|
1855
|
-
// Flipping affects translate as adjustment for flipping around the
|
|
1856
|
-
// group's axis
|
|
1857
|
-
if (inverted) {
|
|
1858
|
-
translateX += wrapper.width;
|
|
1859
|
-
translateY += wrapper.height;
|
|
1860
|
-
}
|
|
1861
|
-
// Apply translate. Nearly all transformed elements have translation,
|
|
1862
|
-
// so instead of checking for translate = 0, do it always (#1767,
|
|
1863
|
-
// #1846).
|
|
1864
|
-
var transform = ['translate(' + translateX + ',' + translateY + ')'];
|
|
1865
|
-
// apply matrix
|
|
1866
|
-
if (defined(matrix)) {
|
|
1867
|
-
transform.push('matrix(' + matrix.join(',') + ')');
|
|
1868
|
-
}
|
|
1869
|
-
// apply rotation
|
|
1870
|
-
if (inverted) {
|
|
1871
|
-
transform.push('rotate(90) scale(-1,1)');
|
|
1872
|
-
}
|
|
1873
|
-
else if (rotation) { // text rotation
|
|
1874
|
-
transform.push('rotate(' + rotation + ' ' +
|
|
1875
|
-
pick(this.rotationOriginX, element.getAttribute('x'), 0) +
|
|
1876
|
-
' ' +
|
|
1877
|
-
pick(this.rotationOriginY, element.getAttribute('y') || 0) + ')');
|
|
1878
|
-
}
|
|
1879
|
-
// apply scale
|
|
1880
|
-
if (defined(scaleX) || defined(scaleY)) {
|
|
1881
|
-
transform.push('scale(' + pick(scaleX, 1) + ' ' + pick(scaleY, 1) + ')');
|
|
1882
|
-
}
|
|
1883
|
-
if (transform.length) {
|
|
1884
|
-
element.setAttribute('transform', transform.join(' '));
|
|
1885
|
-
}
|
|
1886
|
-
};
|
|
1887
|
-
/**
|
|
1888
|
-
* @private
|
|
1889
|
-
* @function Highcharts.SVGElement#visibilitySetter
|
|
1890
|
-
*
|
|
1891
|
-
* @param {string} value
|
|
1892
|
-
*
|
|
1893
|
-
* @param {string} key
|
|
1894
|
-
*
|
|
1895
|
-
* @param {Highcharts.SVGDOMElement} element
|
|
1896
|
-
*
|
|
1897
|
-
*/
|
|
1898
|
-
SVGElement.prototype.visibilitySetter = function (value, key, element) {
|
|
1899
|
-
// IE9-11 doesn't handle visibilty:inherit well, so we remove the
|
|
1900
|
-
// attribute instead (#2881, #3909)
|
|
1901
|
-
if (value === 'inherit') {
|
|
1902
|
-
element.removeAttribute(key);
|
|
1903
|
-
}
|
|
1904
|
-
else if (this[key] !== value) { // #6747
|
|
1905
|
-
element.setAttribute(key, value);
|
|
1906
|
-
}
|
|
1907
|
-
this[key] = value;
|
|
1908
|
-
};
|
|
1909
|
-
/**
|
|
1910
|
-
* @private
|
|
1911
|
-
* @function Highcharts.SVGElement#xGetter
|
|
1912
|
-
*/
|
|
1913
|
-
SVGElement.prototype.xGetter = function (key) {
|
|
1914
|
-
if (this.element.nodeName === 'circle') {
|
|
1915
|
-
if (key === 'x') {
|
|
1916
|
-
key = 'cx';
|
|
1917
|
-
}
|
|
1918
|
-
else if (key === 'y') {
|
|
1919
|
-
key = 'cy';
|
|
1920
|
-
}
|
|
1921
|
-
}
|
|
1922
|
-
return this._defaultGetter(key);
|
|
1923
|
-
};
|
|
1924
|
-
/**
|
|
1925
|
-
* @private
|
|
1926
|
-
* @function Highcharts.SVGElement#zIndexSetter
|
|
1927
|
-
*/
|
|
1928
|
-
SVGElement.prototype.zIndexSetter = function (value, key) {
|
|
1929
|
-
var renderer = this.renderer, parentGroup = this.parentGroup, parentWrapper = parentGroup || renderer, parentNode = parentWrapper.element || renderer.box, element = this.element, svgParent = parentNode === renderer.box;
|
|
1930
|
-
var childNodes, otherElement, otherZIndex, inserted = false, undefinedOtherZIndex, run = this.added, i;
|
|
1931
|
-
if (defined(value)) {
|
|
1932
|
-
// So we can read it for other elements in the group
|
|
1933
|
-
element.setAttribute('data-z-index', value);
|
|
1934
|
-
value = +value;
|
|
1935
|
-
if (this[key] === value) {
|
|
1936
|
-
// Only update when needed (#3865)
|
|
1937
|
-
run = false;
|
|
1938
|
-
}
|
|
1939
|
-
}
|
|
1940
|
-
else if (defined(this[key])) {
|
|
1941
|
-
element.removeAttribute('data-z-index');
|
|
1942
|
-
}
|
|
1943
|
-
this[key] = value;
|
|
1944
|
-
// Insert according to this and other elements' zIndex. Before .add() is
|
|
1945
|
-
// called, nothing is done. Then on add, or by later calls to
|
|
1946
|
-
// zIndexSetter, the node is placed on the right place in the DOM.
|
|
1947
|
-
if (run) {
|
|
1948
|
-
value = this.zIndex;
|
|
1949
|
-
if (value && parentGroup) {
|
|
1950
|
-
parentGroup.handleZ = true;
|
|
1951
|
-
}
|
|
1952
|
-
childNodes = parentNode.childNodes;
|
|
1953
|
-
for (i = childNodes.length - 1; i >= 0 && !inserted; i--) {
|
|
1954
|
-
otherElement = childNodes[i];
|
|
1955
|
-
otherZIndex = otherElement.getAttribute('data-z-index');
|
|
1956
|
-
undefinedOtherZIndex = !defined(otherZIndex);
|
|
1957
|
-
if (otherElement !== element) {
|
|
1958
|
-
if (
|
|
1959
|
-
// Negative zIndex versus no zIndex:
|
|
1960
|
-
// On all levels except the highest. If the parent is
|
|
1961
|
-
// <svg>, then we don't want to put items before <desc>
|
|
1962
|
-
// or <defs>
|
|
1963
|
-
value < 0 &&
|
|
1964
|
-
undefinedOtherZIndex &&
|
|
1965
|
-
!svgParent &&
|
|
1966
|
-
!i) {
|
|
1967
|
-
parentNode.insertBefore(element, childNodes[i]);
|
|
1968
|
-
inserted = true;
|
|
1969
|
-
}
|
|
1970
|
-
else if (
|
|
1971
|
-
// Insert after the first element with a lower zIndex
|
|
1972
|
-
pInt(otherZIndex) <= value ||
|
|
1973
|
-
// If negative zIndex, add this before first undefined
|
|
1974
|
-
// zIndex element
|
|
1975
|
-
(undefinedOtherZIndex &&
|
|
1976
|
-
(!defined(value) || value >= 0))) {
|
|
1977
|
-
parentNode.insertBefore(element, childNodes[i + 1] || null // null for oldIE export
|
|
1978
|
-
);
|
|
1979
|
-
inserted = true;
|
|
1980
|
-
}
|
|
1981
|
-
}
|
|
1982
|
-
}
|
|
1983
|
-
if (!inserted) {
|
|
1984
|
-
parentNode.insertBefore(element, childNodes[svgParent ? 3 : 0] || null // null for oldIE
|
|
1985
|
-
);
|
|
1986
|
-
inserted = true;
|
|
1987
|
-
}
|
|
1988
|
-
}
|
|
1989
|
-
return inserted;
|
|
1990
|
-
};
|
|
1991
|
-
return SVGElement;
|
|
1992
|
-
}());
|
|
1993
|
-
// Some shared setters and getters
|
|
1994
|
-
SVGElement.prototype['stroke-widthSetter'] = SVGElement.prototype.strokeSetter;
|
|
1995
|
-
SVGElement.prototype.yGetter = SVGElement.prototype.xGetter;
|
|
1996
|
-
SVGElement.prototype.matrixSetter =
|
|
1997
|
-
SVGElement.prototype.rotationOriginXSetter =
|
|
1998
|
-
SVGElement.prototype.rotationOriginYSetter =
|
|
1999
|
-
SVGElement.prototype.rotationSetter =
|
|
2000
|
-
SVGElement.prototype.scaleXSetter =
|
|
2001
|
-
SVGElement.prototype.scaleYSetter =
|
|
2002
|
-
SVGElement.prototype.translateXSetter =
|
|
2003
|
-
SVGElement.prototype.translateYSetter =
|
|
2004
|
-
SVGElement.prototype.verticalAlignSetter = function (value, key) {
|
|
2005
|
-
this[key] = value;
|
|
2006
|
-
this.doTransform = true;
|
|
2007
|
-
};
|
|
2008
|
-
/* *
|
|
2009
|
-
*
|
|
2010
|
-
* Default Export
|
|
2011
|
-
*
|
|
2012
|
-
* */
|
|
2013
|
-
export default SVGElement;
|
|
2014
|
-
/* *
|
|
2015
|
-
*
|
|
2016
|
-
* API Declarations
|
|
2017
|
-
*
|
|
2018
|
-
* */
|
|
2019
|
-
/**
|
|
2020
|
-
* Reference to the global SVGElement class as a workaround for a name conflict
|
|
2021
|
-
* in the Highcharts namespace.
|
|
2022
|
-
*
|
|
2023
|
-
* @global
|
|
2024
|
-
* @typedef {global.SVGElement} GlobalSVGElement
|
|
2025
|
-
*
|
|
2026
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/SVGElement
|
|
2027
|
-
*/
|
|
2028
|
-
/**
|
|
2029
|
-
* The horizontal alignment of an element.
|
|
2030
|
-
*
|
|
2031
|
-
* @typedef {"center"|"left"|"right"} Highcharts.AlignValue
|
|
2032
|
-
*/
|
|
2033
|
-
/**
|
|
2034
|
-
* Options to align the element relative to the chart or another box.
|
|
2035
|
-
*
|
|
2036
|
-
* @interface Highcharts.AlignObject
|
|
2037
|
-
*/ /**
|
|
2038
|
-
* Horizontal alignment. Can be one of `left`, `center` and `right`.
|
|
2039
|
-
*
|
|
2040
|
-
* @name Highcharts.AlignObject#align
|
|
2041
|
-
* @type {Highcharts.AlignValue|undefined}
|
|
2042
|
-
*
|
|
2043
|
-
* @default left
|
|
2044
|
-
*/ /**
|
|
2045
|
-
* Vertical alignment. Can be one of `top`, `middle` and `bottom`.
|
|
2046
|
-
*
|
|
2047
|
-
* @name Highcharts.AlignObject#verticalAlign
|
|
2048
|
-
* @type {Highcharts.VerticalAlignValue|undefined}
|
|
2049
|
-
*
|
|
2050
|
-
* @default top
|
|
2051
|
-
*/ /**
|
|
2052
|
-
* Horizontal pixel offset from alignment.
|
|
2053
|
-
*
|
|
2054
|
-
* @name Highcharts.AlignObject#x
|
|
2055
|
-
* @type {number|undefined}
|
|
2056
|
-
*
|
|
2057
|
-
* @default 0
|
|
2058
|
-
*/ /**
|
|
2059
|
-
* Vertical pixel offset from alignment.
|
|
2060
|
-
*
|
|
2061
|
-
* @name Highcharts.AlignObject#y
|
|
2062
|
-
* @type {number|undefined}
|
|
2063
|
-
*
|
|
2064
|
-
* @default 0
|
|
2065
|
-
*/ /**
|
|
2066
|
-
* Use the `transform` attribute with translateX and translateY custom
|
|
2067
|
-
* attributes to align this elements rather than `x` and `y` attributes.
|
|
2068
|
-
*
|
|
2069
|
-
* @name Highcharts.AlignObject#alignByTranslate
|
|
2070
|
-
* @type {boolean|undefined}
|
|
2071
|
-
*
|
|
2072
|
-
* @default false
|
|
2073
|
-
*/
|
|
2074
|
-
/**
|
|
2075
|
-
* Bounding box of an element.
|
|
2076
|
-
*
|
|
2077
|
-
* @interface Highcharts.BBoxObject
|
|
2078
|
-
* @extends Highcharts.PositionObject
|
|
2079
|
-
*/ /**
|
|
2080
|
-
* Height of the bounding box.
|
|
2081
|
-
*
|
|
2082
|
-
* @name Highcharts.BBoxObject#height
|
|
2083
|
-
* @type {number}
|
|
2084
|
-
*/ /**
|
|
2085
|
-
* Width of the bounding box.
|
|
2086
|
-
*
|
|
2087
|
-
* @name Highcharts.BBoxObject#width
|
|
2088
|
-
* @type {number}
|
|
2089
|
-
*/ /**
|
|
2090
|
-
* Horizontal position of the bounding box.
|
|
2091
|
-
*
|
|
2092
|
-
* @name Highcharts.BBoxObject#x
|
|
2093
|
-
* @type {number}
|
|
2094
|
-
*/ /**
|
|
2095
|
-
* Vertical position of the bounding box.
|
|
2096
|
-
*
|
|
2097
|
-
* @name Highcharts.BBoxObject#y
|
|
2098
|
-
* @type {number}
|
|
2099
|
-
*/
|
|
2100
|
-
/**
|
|
2101
|
-
* An object of key-value pairs for SVG attributes. Attributes in Highcharts
|
|
2102
|
-
* elements for the most parts correspond to SVG, but some are specific to
|
|
2103
|
-
* Highcharts, like `zIndex`, `rotation`, `rotationOriginX`,
|
|
2104
|
-
* `rotationOriginY`, `translateX`, `translateY`, `scaleX` and `scaleY`. SVG
|
|
2105
|
-
* attributes containing a hyphen are _not_ camel-cased, they should be
|
|
2106
|
-
* quoted to preserve the hyphen.
|
|
2107
|
-
*
|
|
2108
|
-
* @example
|
|
2109
|
-
* {
|
|
2110
|
-
* 'stroke': '#ff0000', // basic
|
|
2111
|
-
* 'stroke-width': 2, // hyphenated
|
|
2112
|
-
* 'rotation': 45 // custom
|
|
2113
|
-
* 'd': ['M', 10, 10, 'L', 30, 30, 'z'] // path definition, note format
|
|
2114
|
-
* }
|
|
2115
|
-
*
|
|
2116
|
-
* @interface Highcharts.SVGAttributes
|
|
2117
|
-
*/ /**
|
|
2118
|
-
* @name Highcharts.SVGAttributes#[key:string]
|
|
2119
|
-
* @type {*}
|
|
2120
|
-
*/ /**
|
|
2121
|
-
* @name Highcharts.SVGAttributes#d
|
|
2122
|
-
* @type {string|Highcharts.SVGPathArray|undefined}
|
|
2123
|
-
*/ /**
|
|
2124
|
-
* @name Highcharts.SVGAttributes#fill
|
|
2125
|
-
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject|undefined}
|
|
2126
|
-
*/ /**
|
|
2127
|
-
* @name Highcharts.SVGAttributes#inverted
|
|
2128
|
-
* @type {boolean|undefined}
|
|
2129
|
-
*/ /**
|
|
2130
|
-
* @name Highcharts.SVGAttributes#matrix
|
|
2131
|
-
* @type {Array<number>|undefined}
|
|
2132
|
-
*/ /**
|
|
2133
|
-
* @name Highcharts.SVGAttributes#rotation
|
|
2134
|
-
* @type {number|undefined}
|
|
2135
|
-
*/ /**
|
|
2136
|
-
* @name Highcharts.SVGAttributes#rotationOriginX
|
|
2137
|
-
* @type {number|undefined}
|
|
2138
|
-
*/ /**
|
|
2139
|
-
* @name Highcharts.SVGAttributes#rotationOriginY
|
|
2140
|
-
* @type {number|undefined}
|
|
2141
|
-
*/ /**
|
|
2142
|
-
* @name Highcharts.SVGAttributes#scaleX
|
|
2143
|
-
* @type {number|undefined}
|
|
2144
|
-
*/ /**
|
|
2145
|
-
* @name Highcharts.SVGAttributes#scaleY
|
|
2146
|
-
* @type {number|undefined}
|
|
2147
|
-
*/ /**
|
|
2148
|
-
* @name Highcharts.SVGAttributes#stroke
|
|
2149
|
-
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject|undefined}
|
|
2150
|
-
*/ /**
|
|
2151
|
-
* @name Highcharts.SVGAttributes#style
|
|
2152
|
-
* @type {string|Highcharts.CSSObject|undefined}
|
|
2153
|
-
*/ /**
|
|
2154
|
-
* @name Highcharts.SVGAttributes#translateX
|
|
2155
|
-
* @type {number|undefined}
|
|
2156
|
-
*/ /**
|
|
2157
|
-
* @name Highcharts.SVGAttributes#translateY
|
|
2158
|
-
* @type {number|undefined}
|
|
2159
|
-
*/ /**
|
|
2160
|
-
* @name Highcharts.SVGAttributes#zIndex
|
|
2161
|
-
* @type {number|undefined}
|
|
2162
|
-
*/
|
|
2163
|
-
/**
|
|
2164
|
-
* An SVG DOM element. The type is a reference to the regular SVGElement in the
|
|
2165
|
-
* global scope.
|
|
2166
|
-
*
|
|
2167
|
-
* @typedef {globals.GlobalSVGElement} Highcharts.SVGDOMElement
|
|
2168
|
-
*
|
|
2169
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/SVGElement
|
|
2170
|
-
*/
|
|
2171
|
-
/**
|
|
2172
|
-
* The vertical alignment of an element.
|
|
2173
|
-
*
|
|
2174
|
-
* @typedef {"bottom"|"middle"|"top"} Highcharts.VerticalAlignValue
|
|
2175
|
-
*/
|
|
2176
|
-
''; // keeps doclets above in JS file
|