highcharts 13.0.0 → 13.0.2
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/bower.json +1 -1
- package/css/highcharts.css +2 -1
- package/es-modules/Accessibility/A11yI18n.js +4 -4
- package/es-modules/Accessibility/Accessibility.js +38 -1
- package/es-modules/Accessibility/Components/InfoRegionsComponent.js +6 -4
- package/es-modules/Accessibility/Components/LegendComponent.js +3 -4
- package/es-modules/Accessibility/Components/NavigatorComponent.js +3 -4
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +13 -10
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js +8 -4
- package/es-modules/Accessibility/Components/ZoomComponent.js +2 -2
- package/es-modules/Accessibility/FocusBorder.js +2 -2
- package/es-modules/Accessibility/Options/A11yDefaults.js +12 -3
- package/es-modules/Accessibility/Options/DeprecatedOptions.js +1 -2
- package/es-modules/Accessibility/ProxyElement.js +1 -0
- package/es-modules/Core/Animation/AnimationUtilities.js +34 -43
- package/es-modules/Core/Animation/Fx.js +16 -19
- package/es-modules/Core/Axis/Axis.js +49 -59
- package/es-modules/Core/Axis/Axis3DComposition.js +8 -6
- package/es-modules/Core/Axis/AxisDefaults.js +12 -2
- package/es-modules/Core/Axis/BrokenAxis.js +6 -5
- package/es-modules/Core/Axis/Color/ColorAxis.js +24 -12
- package/es-modules/Core/Axis/Color/ColorAxisComposition.js +3 -3
- package/es-modules/Core/Axis/GridAxis.js +12 -5
- package/es-modules/Core/Axis/LogarithmicAxis.js +5 -3
- package/es-modules/Core/Axis/NavigatorAxisComposition.js +2 -2
- package/es-modules/Core/Axis/OrdinalAxis.js +21 -11
- package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +3 -2
- package/es-modules/Core/Axis/RadialAxis.js +23 -22
- package/es-modules/Core/Axis/ScrollbarAxis.js +3 -3
- package/es-modules/Core/Axis/Stacking/StackItem.js +5 -5
- package/es-modules/Core/Axis/Stacking/StackingAxis.js +5 -6
- package/es-modules/Core/Axis/Tick.js +10 -11
- package/es-modules/Core/Axis/TreeGrid/TreeGridAxis.js +1 -1
- package/es-modules/Core/Axis/TreeGrid/TreeGridTick.js +3 -3
- package/es-modules/Core/Chart/Chart.js +58 -53
- package/es-modules/Core/Chart/Chart3D.js +3 -3
- package/es-modules/Core/Chart/ChartDefaults.js +24 -1
- package/es-modules/Core/Chart/MapChart.js +7 -10
- package/es-modules/Core/Chart/StockChart.js +15 -11
- package/es-modules/Core/Color/Color.js +3 -1
- package/es-modules/Core/Defaults.js +44 -2
- package/es-modules/Core/Globals.js +1 -1
- package/es-modules/Core/Legend/Legend.js +20 -17
- package/es-modules/Core/Legend/LegendSymbol.js +2 -2
- package/es-modules/Core/MSPointer.js +2 -2
- package/es-modules/Core/Math3D.js +6 -7
- package/es-modules/Core/Pointer.js +20 -10
- package/es-modules/Core/Renderer/HTML/AST.js +5 -1
- package/es-modules/Core/Renderer/HTML/HTMLElement.js +23 -16
- package/es-modules/Core/Renderer/RendererUtilities.js +2 -2
- package/es-modules/Core/Renderer/SVG/SVGElement.js +12 -11
- package/es-modules/Core/Renderer/SVG/SVGElement3D.js +2 -2
- package/es-modules/Core/Renderer/SVG/SVGLabel.js +5 -5
- package/es-modules/Core/Renderer/SVG/SVGRenderer.js +6 -6
- package/es-modules/Core/Renderer/SVG/SVGRenderer3D.js +13 -12
- package/es-modules/Core/Renderer/SVG/Symbols.js +6 -5
- package/es-modules/Core/Renderer/SVG/TextBuilder.js +2 -2
- package/es-modules/Core/Responsive.js +7 -5
- package/es-modules/Core/Series/DataLabel.js +9 -8
- package/es-modules/Core/Series/OverlappingDataLabels.js +5 -2
- package/es-modules/Core/Series/Point.js +31 -24
- package/es-modules/Core/Series/Series.js +125 -82
- package/es-modules/Core/Series/Series3D.js +2 -2
- package/es-modules/Core/Series/SeriesDefaults.js +33 -0
- package/es-modules/Core/Templating.js +18 -15
- package/es-modules/Core/Tooltip.js +12 -9
- package/es-modules/Core/Utilities.js +4 -3
- package/es-modules/Data/Connectors/DataConnector.js +2 -2
- package/es-modules/Data/Connectors/GoogleSheetsConnector.js +2 -2
- package/es-modules/Data/DataTable.js +17 -0
- package/es-modules/Data/DataTableCore.js +1 -1
- package/es-modules/Extensions/Annotations/Annotation.js +5 -6
- package/es-modules/Extensions/Annotations/AnnotationChart.js +2 -2
- package/es-modules/Extensions/Annotations/AnnotationDefaults.js +4 -4
- package/es-modules/Extensions/Annotations/ControlPoint.js +2 -2
- package/es-modules/Extensions/Annotations/Controllables/ControllableLabel.js +2 -2
- package/es-modules/Extensions/Annotations/EventEmitter.js +4 -4
- package/es-modules/Extensions/Annotations/MockPoint.js +7 -9
- package/es-modules/Extensions/Annotations/NavigationBindings.js +6 -3
- package/es-modules/Extensions/Annotations/NavigationBindingsUtilities.js +31 -4
- package/es-modules/Extensions/Annotations/Popup/Popup.js +3 -2
- package/es-modules/Extensions/Annotations/Popup/PopupAnnotations.js +6 -8
- package/es-modules/Extensions/Annotations/Types/CrookedLine.js +4 -4
- package/es-modules/Extensions/Annotations/Types/Measure.js +28 -10
- package/es-modules/Extensions/Annotations/Types/TimeCycles.js +4 -2
- package/es-modules/Extensions/Annotations/Types/Tunnel.js +3 -1
- package/es-modules/Extensions/Annotations/Types/VerticalLine.js +3 -3
- package/es-modules/Extensions/Boost/Boost.js +13 -0
- package/es-modules/Extensions/Boost/BoostChart.js +11 -4
- package/es-modules/Extensions/Boost/BoostSeries.js +17 -11
- package/es-modules/Extensions/Boost/WGLRenderer.js +9 -6
- package/es-modules/Extensions/Boost/WGLShader.js +3 -3
- package/es-modules/Extensions/BoostCanvas.js +2 -2
- package/es-modules/Extensions/BorderRadius.js +12 -10
- package/es-modules/Extensions/Breadcrumbs/Breadcrumbs.js +6 -5
- package/es-modules/Extensions/DataGrouping/DataGrouping.js +2 -2
- package/es-modules/Extensions/DataGrouping/DataGroupingAxisComposition.js +4 -3
- package/es-modules/Extensions/DataGrouping/DataGroupingSeriesComposition.js +2 -2
- package/es-modules/Extensions/DraggablePoints/DragDropProps.js +2 -3
- package/es-modules/Extensions/DraggablePoints/DraggableChart.js +1 -2
- package/es-modules/Extensions/Drilldown/Drilldown.js +1 -2
- package/es-modules/Extensions/Drilldown/DrilldownSeries.js +1 -2
- package/es-modules/Extensions/ExportData/ExportData.js +21 -16
- package/es-modules/Extensions/Exporting/Exporting.js +28 -28
- package/es-modules/Extensions/Exporting/ExportingDefaults.js +32 -0
- package/es-modules/Extensions/MarkerClusters/MarkerClusterScatter.js +1 -2
- package/es-modules/Extensions/MarkerClusters/MarkerClusters.js +1 -2
- package/es-modules/Extensions/MouseWheelZoom/MouseWheelZoom.js +2 -2
- package/es-modules/Extensions/OfflineExporting/OfflineExporting.js +31 -4
- package/es-modules/Extensions/Pane/PaneComposition.js +2 -2
- package/es-modules/Extensions/Pane/PaneDefaults.js +1 -1
- package/es-modules/Extensions/ParallelCoordinates/ParallelAxis.js +2 -2
- package/es-modules/Extensions/ParallelCoordinates/ParallelCoordinates.js +3 -0
- package/es-modules/Extensions/PatternFill.js +7 -5
- package/es-modules/Extensions/PriceIndication.js +5 -4
- package/es-modules/Extensions/ScrollablePlotArea.js +8 -2
- package/es-modules/Extensions/SeriesLabel/SeriesLabel.js +8 -9
- package/es-modules/Extensions/Sonification/MIDI.js +2 -3
- package/es-modules/Extensions/Sonification/Sonification.js +2 -2
- package/es-modules/Extensions/Sonification/SonificationSpeaker.js +3 -2
- package/es-modules/Extensions/Sonification/SynthPatch.js +4 -4
- package/es-modules/Extensions/Sonification/TimelineFromChart.js +11 -11
- package/es-modules/Gantt/Legacy.js +2 -2
- package/es-modules/Gantt/Pathfinder.js +3 -3
- package/es-modules/Gantt/PathfinderAlgorithms.js +4 -3
- package/es-modules/Gantt/Tree.js +1 -1
- package/es-modules/Maps/GeoJSONComposition.js +14 -1
- package/es-modules/Maps/MapNavigation.js +4 -4
- package/es-modules/Maps/MapPointer.js +2 -2
- package/es-modules/Maps/MapView.js +3 -3
- package/es-modules/Series/ArcDiagram/ArcDiagramSeries.js +8 -6
- package/es-modules/Series/Area/AreaSeries.js +4 -5
- package/es-modules/Series/AreaRange/AreaRangeSeries.js +87 -147
- package/es-modules/Series/AreaRange/AreaRangeSeriesDefaults.js +42 -4
- package/es-modules/Series/Bellcurve/BellcurveSeries.js +10 -6
- package/es-modules/Series/BoxPlot/BoxPlotSeries.js +40 -32
- package/es-modules/Series/BoxPlot/BoxPlotSeriesDefaults.js +33 -1
- package/es-modules/Series/Bubble/BubbleLegendItem.js +10 -6
- package/es-modules/Series/Bubble/BubbleSeries.js +25 -9
- package/es-modules/Series/Bullet/BulletSeries.js +17 -10
- package/es-modules/Series/Candlestick/CandlestickSeries.js +3 -3
- package/es-modules/Series/CenteredUtilities.js +12 -9
- package/es-modules/Series/ColorMapComposition.js +7 -4
- package/es-modules/Series/Column/ColumnPoint.js +2 -0
- package/es-modules/Series/Column/ColumnSeries.js +14 -14
- package/es-modules/Series/Column/ColumnSeriesDefaults.js +4 -2
- package/es-modules/Series/Column3D/Column3DComposition.js +22 -19
- package/es-modules/Series/ColumnPyramid/ColumnPyramidPoint.js +18 -0
- package/es-modules/Series/ColumnPyramid/ColumnPyramidPointOptions.js +12 -0
- package/es-modules/Series/ColumnPyramid/ColumnPyramidSeries.js +7 -6
- package/es-modules/Series/ColumnPyramid/ColumnPyramidSeriesOptions.js +12 -0
- package/es-modules/Series/ColumnRange/ColumnRangePoint.js +2 -0
- package/es-modules/Series/ColumnRange/ColumnRangePointOptions.js +12 -0
- package/es-modules/Series/ColumnRange/ColumnRangeSeries.js +13 -144
- package/es-modules/Series/ColumnRange/ColumnRangeSeriesDefaults.js +148 -0
- package/es-modules/Series/ColumnRange/ColumnRangeSeriesOptions.js +12 -0
- package/es-modules/Series/Contour/ContourPoint.js +2 -0
- package/es-modules/Series/Contour/ContourSeries.js +1 -0
- package/es-modules/Series/Contour/ContourSeriesDefaults.js +7 -0
- package/es-modules/Series/Contour/ContourShader.js +9 -1
- package/es-modules/Series/CrossSymbol.js +3 -2
- package/es-modules/Series/Cylinder/CylinderComposition.js +12 -12
- package/es-modules/Series/Cylinder/CylinderPoint.js +2 -0
- package/es-modules/Series/Cylinder/CylinderPointOptions.js +15 -0
- package/es-modules/Series/Cylinder/CylinderSeries.js +2 -1
- package/es-modules/Series/Cylinder/CylinderSeriesOptions.js +15 -0
- package/es-modules/Series/Cylinder/SVGElement3DCylinder.js +2 -0
- package/es-modules/Series/DataModifyComposition.js +9 -7
- package/es-modules/Series/DependencyWheel/DependencyWheelPoint.js +3 -1
- package/es-modules/Series/DependencyWheel/DependencyWheelPointOptions.js +14 -0
- package/es-modules/Series/DependencyWheel/DependencyWheelSeries.js +8 -8
- package/es-modules/Series/DependencyWheel/DependencyWheelSeriesOptions.js +14 -0
- package/es-modules/Series/DerivedComposition.js +9 -8
- package/es-modules/Series/DotPlot/DotPlotPoint.js +18 -0
- package/es-modules/Series/DotPlot/DotPlotPointOptions.js +12 -0
- package/es-modules/Series/DotPlot/DotPlotSeries.js +6 -4
- package/es-modules/Series/DotPlot/DotPlotSeriesOptions.js +12 -0
- package/es-modules/Series/DragNodesComposition.js +11 -8
- package/es-modules/Series/DrawPointUtilities.js +3 -1
- package/es-modules/Series/Dumbbell/DumbbellPoint.js +19 -6
- package/es-modules/Series/Dumbbell/DumbbellPointOptions.js +12 -0
- package/es-modules/Series/Dumbbell/DumbbellSeries.js +33 -15
- package/es-modules/Series/Dumbbell/DumbbellSeriesOptions.js +12 -0
- package/es-modules/Series/ErrorBar/ErrorBarPoint.js +18 -0
- package/es-modules/Series/ErrorBar/ErrorBarPointOptions.js +12 -0
- package/es-modules/Series/ErrorBar/ErrorBarSeries.js +6 -9
- package/es-modules/Series/ErrorBar/ErrorBarSeriesDefaults.js +15 -1
- package/es-modules/Series/ErrorBar/ErrorBarSeriesOptions.js +12 -0
- package/es-modules/Series/Flags/FlagsSeries.js +5 -14
- package/es-modules/Series/Flags/FlagsSeriesDefaults.js +2 -1
- package/es-modules/Series/FlowMap/FlowMapPoint.js +5 -3
- package/es-modules/Series/FlowMap/FlowMapSeries.js +17 -9
- package/es-modules/Series/Funnel/FunnelSeries.js +25 -26
- package/es-modules/Series/Funnel/FunnelSeriesDefaults.js +12 -0
- package/es-modules/Series/Funnel3D/Funnel3DSeries.js +7 -5
- package/es-modules/Series/Gantt/GanttSeries.js +2 -1
- package/es-modules/Series/Gauge/GaugeSeries.js +2 -2
- package/es-modules/Series/GeoHeatmap/GeoHeatmapSeries.js +9 -9
- package/es-modules/Series/GraphLayoutComposition.js +3 -3
- package/es-modules/Series/Heatmap/HeatmapPoint.js +6 -6
- package/es-modules/Series/Heatmap/HeatmapPointOptions.js +12 -0
- package/es-modules/Series/Heatmap/HeatmapSeries.js +13 -13
- package/es-modules/Series/Heatmap/HeatmapSeriesOptions.js +12 -0
- package/es-modules/Series/Histogram/HistogramPoint.js +17 -0
- package/es-modules/Series/Histogram/HistogramPointOptions.js +12 -0
- package/es-modules/Series/Histogram/HistogramSeries.js +15 -3
- package/es-modules/Series/Histogram/HistogramSeriesOptions.js +12 -0
- package/es-modules/Series/HollowCandlestick/HollowCandlestickSeries.js +9 -9
- package/es-modules/Series/InterpolationUtilities.js +5 -5
- package/es-modules/Series/Item/ItemPointOptions.js +14 -0
- package/es-modules/Series/Item/ItemSeries.js +18 -6
- package/es-modules/Series/Item/ItemSeriesOptions.js +14 -0
- package/es-modules/Series/Map/MapPoint.js +5 -3
- package/es-modules/Series/Map/MapSeries.js +6 -10
- package/es-modules/Series/Map/MapSeriesDefaults.js +11 -1
- package/es-modules/Series/Networkgraph/NetworkgraphPoint.js +3 -3
- package/es-modules/Series/Networkgraph/NetworkgraphSeries.js +14 -9
- package/es-modules/Series/Networkgraph/NetworkgraphSeriesDefaults.js +12 -0
- package/es-modules/Series/Networkgraph/ReingoldFruchtermanLayout.js +18 -9
- package/es-modules/Series/NodesComposition.js +9 -10
- package/es-modules/Series/OHLC/OHLCPoint.js +2 -2
- package/es-modules/Series/OHLC/OHLCSeries.js +1 -0
- package/es-modules/Series/Organization/OrganizationPoint.js +3 -2
- package/es-modules/Series/Organization/OrganizationSeries.js +29 -7
- package/es-modules/Series/Organization/OrganizationSeriesDefaults.js +11 -4
- package/es-modules/Series/PackedBubble/PackedBubbleLayout.js +3 -3
- package/es-modules/Series/PackedBubble/PackedBubbleSeries.js +5 -5
- package/es-modules/Series/Pictorial/PictorialSeries.js +4 -2
- package/es-modules/Series/Pie/PieDataLabel.js +2 -2
- package/es-modules/Series/Pie/PiePoint.js +3 -4
- package/es-modules/Series/Pie/PieSeries.js +3 -2
- package/es-modules/Series/Pie3D/Pie3DSeries.js +8 -4
- package/es-modules/Series/PolarComposition.js +13 -14
- package/es-modules/Series/Polygon/PolygonSeries.js +2 -2
- package/es-modules/Series/Polygon/PolygonSeriesDefaults.js +20 -0
- package/es-modules/Series/RangeDataLabel.js +128 -0
- package/es-modules/Series/Sankey/SankeySeries.js +13 -7
- package/es-modules/Series/Sankey/SankeySeriesDefaults.js +2 -2
- package/es-modules/Series/Scatter/ScatterSeries.js +6 -5
- package/es-modules/Series/Scatter/ScatterSeriesDefaults.js +2 -0
- package/es-modules/Series/SimulationSeriesUtilities.js +1 -2
- package/es-modules/Series/SolidGauge/SolidGaugeSeries.js +4 -4
- package/es-modules/Series/Spline/SplineSeries.js +5 -5
- package/es-modules/Series/Sunburst/SunburstSeriesDefaults.js +8 -0
- package/es-modules/Series/TiledWebMap/TiledWebMapSeries.js +20 -12
- package/es-modules/Series/Tilemap/TilemapSeriesDefaults.js +2 -1
- package/es-modules/Series/Tilemap/TilemapShapes.js +2 -2
- package/es-modules/Series/Timeline/TimelinePoint.js +2 -2
- package/es-modules/Series/Timeline/TimelineSeries.js +13 -6
- package/es-modules/Series/TreeUtilities.js +16 -7
- package/es-modules/Series/Treegraph/TreegraphLink.js +2 -2
- package/es-modules/Series/Treegraph/TreegraphSeries.js +22 -13
- package/es-modules/Series/Treemap/TreemapPoint.js +2 -2
- package/es-modules/Series/Treemap/TreemapSeries.js +14 -11
- package/es-modules/Series/Treemap/TreemapSeriesDefaults.js +22 -1
- package/es-modules/Series/VariablePie/VariablePieSeries.js +6 -4
- package/es-modules/Series/VariablePie/VariablePieSeriesDefaults.js +3 -2
- package/es-modules/Series/Variwide/VariwideSeries.js +2 -2
- package/es-modules/Series/Vector/VectorSeries.js +7 -9
- package/es-modules/Series/Venn/VennSeries.js +3 -4
- package/es-modules/Series/Waterfall/WaterfallSeries.js +3 -3
- package/es-modules/Series/Windbarb/WindbarbSeries.js +8 -10
- package/es-modules/Series/XRange/XRangeSeries.js +8 -8
- package/es-modules/Shared/TimeBase.js +13 -8
- package/es-modules/Shared/Utilities.js +9 -7
- package/es-modules/Stock/Indicators/Aroon/AroonIndicator.js +3 -3
- package/es-modules/Stock/Indicators/DPO/DPOIndicator.js +4 -3
- package/es-modules/Stock/Indicators/RSI/RSIIndicator.js +1 -1
- package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +2 -2
- package/es-modules/Stock/Indicators/VBP/VBPIndicator.js +1 -2
- package/es-modules/Stock/Navigator/ChartNavigatorComposition.js +4 -4
- package/es-modules/Stock/Navigator/Navigator.js +26 -26
- package/es-modules/Stock/Navigator/NavigatorDefaults.js +9 -2
- package/es-modules/Stock/Navigator/NavigatorSymbols.js +2 -1
- package/es-modules/Stock/Navigator/StandaloneNavigator.js +55 -14
- package/es-modules/Stock/RangeSelector/RangeSelector.js +15 -11
- package/es-modules/Stock/RangeSelector/RangeSelectorComposition.js +3 -3
- package/es-modules/Stock/Scrollbar/Scrollbar.js +8 -7
- package/es-modules/Stock/StockTools/StockToolbar.js +6 -6
- package/es-modules/Stock/StockTools/StockTools.js +2 -2
- package/es-modules/Stock/StockTools/StockToolsBindings.js +7 -7
- package/es-modules/Stock/StockTools/StockToolsGui.js +6 -4
- package/es-modules/masters/highcharts-3d.src.js +1 -1
- package/es-modules/masters/highcharts-autoload.src.js +1 -1
- package/es-modules/masters/highcharts-gantt.src.js +1 -1
- package/es-modules/masters/highcharts-more.src.js +1 -1
- package/es-modules/masters/highcharts.src.js +13 -8
- package/es-modules/masters/highmaps.src.js +1 -1
- package/es-modules/masters/highstock.src.js +1 -1
- package/es-modules/masters/i18n/fr-FR.src.d.ts +1 -1
- package/es-modules/masters/i18n/fr-FR.src.js +1 -1
- package/es-modules/masters/i18n/nb-NO.src.d.ts +1 -1
- package/es-modules/masters/i18n/nb-NO.src.js +1 -1
- package/es-modules/masters/i18n/zh-CN.src.d.ts +1 -1
- package/es-modules/masters/i18n/zh-CN.src.js +1 -1
- package/es-modules/masters/indicators/acceleration-bands.src.js +1 -1
- package/es-modules/masters/indicators/accumulation-distribution.src.js +1 -1
- package/es-modules/masters/indicators/ao.src.js +1 -1
- package/es-modules/masters/indicators/apo.src.js +1 -1
- package/es-modules/masters/indicators/aroon-oscillator.src.js +1 -1
- package/es-modules/masters/indicators/aroon.src.js +1 -1
- package/es-modules/masters/indicators/atr.src.js +1 -1
- package/es-modules/masters/indicators/bollinger-bands.src.js +1 -1
- package/es-modules/masters/indicators/cci.src.js +1 -1
- package/es-modules/masters/indicators/chaikin.src.js +1 -1
- package/es-modules/masters/indicators/cmf.src.js +1 -1
- package/es-modules/masters/indicators/cmo.src.js +1 -1
- package/es-modules/masters/indicators/dema.src.js +1 -1
- package/es-modules/masters/indicators/disparity-index.src.js +1 -1
- package/es-modules/masters/indicators/dmi.src.js +1 -1
- package/es-modules/masters/indicators/dpo.src.js +1 -1
- package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/es-modules/masters/indicators/indicators-all.src.js +1 -1
- package/es-modules/masters/indicators/indicators.src.js +1 -1
- package/es-modules/masters/indicators/keltner-channels.src.js +1 -1
- package/es-modules/masters/indicators/klinger.src.js +1 -1
- package/es-modules/masters/indicators/macd.src.js +1 -1
- package/es-modules/masters/indicators/mfi.src.js +1 -1
- package/es-modules/masters/indicators/momentum.src.js +1 -1
- package/es-modules/masters/indicators/natr.src.js +1 -1
- package/es-modules/masters/indicators/obv.src.js +1 -1
- package/es-modules/masters/indicators/pivot-points.src.js +1 -1
- package/es-modules/masters/indicators/ppo.src.js +1 -1
- package/es-modules/masters/indicators/price-channel.src.js +1 -1
- package/es-modules/masters/indicators/price-envelopes.src.js +1 -1
- package/es-modules/masters/indicators/psar.src.js +1 -1
- package/es-modules/masters/indicators/regressions.src.js +1 -1
- package/es-modules/masters/indicators/roc.src.js +1 -1
- package/es-modules/masters/indicators/rsi.src.js +1 -1
- package/es-modules/masters/indicators/slow-stochastic.src.js +1 -1
- package/es-modules/masters/indicators/stochastic.src.js +1 -1
- package/es-modules/masters/indicators/supertrend.src.js +1 -1
- package/es-modules/masters/indicators/tema.src.js +1 -1
- package/es-modules/masters/indicators/trendline.src.js +1 -1
- package/es-modules/masters/indicators/trix.src.js +1 -1
- package/es-modules/masters/indicators/volume-by-price.src.js +1 -1
- package/es-modules/masters/indicators/vwap.src.js +1 -1
- package/es-modules/masters/indicators/williams-r.src.js +1 -1
- package/es-modules/masters/indicators/wma.src.js +1 -1
- package/es-modules/masters/indicators/zigzag.src.js +1 -1
- package/es-modules/masters/modules/accessibility.src.js +1 -1
- package/es-modules/masters/modules/annotations-advanced.src.js +1 -1
- package/es-modules/masters/modules/annotations.src.js +1 -1
- package/es-modules/masters/modules/arc-diagram.src.js +1 -1
- package/es-modules/masters/modules/arrow-symbols.src.js +1 -1
- package/es-modules/masters/modules/boost-canvas.src.js +1 -1
- package/es-modules/masters/modules/boost.src.js +1 -1
- package/es-modules/masters/modules/broken-axis.src.js +1 -1
- package/es-modules/masters/modules/bullet.src.js +1 -1
- package/es-modules/masters/modules/coloraxis.src.js +1 -1
- package/es-modules/masters/modules/contour.src.js +1 -1
- package/es-modules/masters/modules/current-date-indicator.src.js +1 -1
- package/es-modules/masters/modules/cylinder.src.js +1 -1
- package/es-modules/masters/modules/data-sorting.src.js +1 -1
- package/es-modules/masters/modules/data-tools.src.js +1 -1
- package/es-modules/masters/modules/data.src.js +1 -1
- package/es-modules/masters/modules/datagrouping.src.js +1 -1
- package/es-modules/masters/modules/debugger.src.js +1 -1
- package/es-modules/masters/modules/dependency-wheel.src.js +1 -1
- package/es-modules/masters/modules/dotplot.src.js +1 -1
- package/es-modules/masters/modules/drag-panes.src.js +1 -1
- package/es-modules/masters/modules/draggable-points.src.js +1 -1
- package/es-modules/masters/modules/drilldown.src.js +1 -1
- package/es-modules/masters/modules/dumbbell.src.js +1 -1
- package/es-modules/masters/modules/export-data.src.js +1 -1
- package/es-modules/masters/modules/exporting.src.js +1 -1
- package/es-modules/masters/modules/flowmap.src.js +2 -1
- package/es-modules/masters/modules/full-screen.src.js +1 -1
- package/es-modules/masters/modules/funnel.src.js +1 -1
- package/es-modules/masters/modules/funnel3d.src.js +1 -1
- package/es-modules/masters/modules/gantt.src.js +1 -1
- package/es-modules/masters/modules/geoheatmap.src.js +1 -1
- package/es-modules/masters/modules/grid-axis.src.js +1 -1
- package/es-modules/masters/modules/heatmap.src.js +1 -1
- package/es-modules/masters/modules/heikinashi.src.js +1 -1
- package/es-modules/masters/modules/histogram-bellcurve.src.js +1 -1
- package/es-modules/masters/modules/hollowcandlestick.src.js +1 -1
- package/es-modules/masters/modules/item-series.src.js +1 -1
- package/es-modules/masters/modules/lollipop.src.js +1 -1
- package/es-modules/masters/modules/map.src.js +1 -1
- package/es-modules/masters/modules/marker-clusters.src.js +1 -1
- package/es-modules/masters/modules/mouse-wheel-zoom.src.js +1 -1
- package/es-modules/masters/modules/navigator.src.js +1 -1
- package/es-modules/masters/modules/networkgraph.src.js +1 -1
- package/es-modules/masters/modules/no-data-to-display.src.js +1 -1
- package/es-modules/masters/modules/non-cartesian-zoom.src.js +1 -1
- package/es-modules/masters/modules/offline-exporting.src.js +1 -1
- package/es-modules/masters/modules/organization.src.js +1 -1
- package/es-modules/masters/modules/parallel-coordinates.src.js +1 -1
- package/es-modules/masters/modules/pareto.src.js +1 -1
- package/es-modules/masters/modules/pathfinder.src.js +1 -1
- package/es-modules/masters/modules/pattern-fill.src.js +1 -1
- package/es-modules/masters/modules/pictorial.src.js +1 -1
- package/es-modules/masters/modules/pointandfigure.src.js +1 -1
- package/es-modules/masters/modules/price-indicator.src.js +1 -1
- package/es-modules/masters/modules/pyramid3d.src.js +1 -1
- package/es-modules/masters/modules/renko.src.js +1 -1
- package/es-modules/masters/modules/sankey.src.js +1 -1
- package/es-modules/masters/modules/series-label.src.js +1 -1
- package/es-modules/masters/modules/series-on-point.src.js +1 -1
- package/es-modules/masters/modules/solid-gauge.src.js +1 -1
- package/es-modules/masters/modules/sonification.src.js +1 -1
- package/es-modules/masters/modules/static-scale.src.js +1 -1
- package/es-modules/masters/modules/stock-tools.src.js +1 -1
- package/es-modules/masters/modules/stock.src.js +1 -1
- package/es-modules/masters/modules/streamgraph.src.js +1 -1
- package/es-modules/masters/modules/sunburst.src.js +3 -2
- package/es-modules/masters/modules/textpath.src.js +1 -1
- package/es-modules/masters/modules/tiledwebmap.src.js +1 -1
- package/es-modules/masters/modules/tilemap.src.js +1 -1
- package/es-modules/masters/modules/timeline.src.js +1 -1
- package/es-modules/masters/modules/treegraph.src.js +1 -1
- package/es-modules/masters/modules/treegrid.src.js +1 -1
- package/es-modules/masters/modules/treemap.src.js +1 -1
- package/es-modules/masters/modules/variable-pie.src.js +1 -1
- package/es-modules/masters/modules/variwide.src.js +1 -1
- package/es-modules/masters/modules/vector.src.js +1 -1
- package/es-modules/masters/modules/venn.src.js +1 -1
- package/es-modules/masters/modules/windbarb.src.js +1 -1
- package/es-modules/masters/modules/wordcloud.src.js +1 -1
- package/es-modules/masters/modules/xrange.src.js +1 -1
- package/es-modules/masters/standalone-navigator.src.js +1 -1
- package/es-modules/masters/themes/adaptive.src.js +1 -1
- package/es-modules/masters/themes/avocado.src.js +1 -1
- package/es-modules/masters/themes/dark-unica.src.js +1 -1
- package/es-modules/masters/themes/grid-light.src.js +1 -1
- package/es-modules/masters/themes/high-contrast.src.js +1 -1
- package/es-modules/masters/themes/sand-signika.src.js +1 -1
- package/es-modules/masters/themes/sunset.src.js +1 -1
- package/es-modules/tsconfig.tsbuildinfo +1 -1
- package/esm/highcharts-3d.js +2 -2
- package/esm/highcharts-3d.src.js +78 -55
- package/esm/highcharts-autoload.js +2 -2
- package/esm/highcharts-autoload.src.js +22 -8
- package/esm/highcharts-gantt.js +2 -2
- package/esm/highcharts-gantt.src.js +1 -24
- package/esm/highcharts-more.js +2 -2
- package/esm/highcharts-more.src.js +1198 -981
- package/esm/highcharts.js +5 -5
- package/esm/highcharts.src.js +702 -515
- package/esm/highmaps.js +2 -2
- package/esm/highmaps.src.js +1 -24
- package/esm/highstock.js +2 -2
- package/esm/highstock.src.js +1 -24
- package/esm/i18n/fr-FR.js +2 -2
- package/esm/i18n/fr-FR.src.js +22 -8
- package/esm/i18n/nb-NO.js +2 -2
- package/esm/i18n/nb-NO.src.js +22 -8
- package/esm/i18n/zh-CN.js +2 -2
- package/esm/i18n/zh-CN.src.js +22 -8
- package/esm/indicators/acceleration-bands.js +2 -2
- package/esm/indicators/acceleration-bands.src.js +22 -8
- package/esm/indicators/accumulation-distribution.js +2 -2
- package/esm/indicators/accumulation-distribution.src.js +22 -8
- package/esm/indicators/ao.js +2 -2
- package/esm/indicators/ao.src.js +22 -8
- package/esm/indicators/apo.js +2 -2
- package/esm/indicators/apo.src.js +22 -8
- package/esm/indicators/aroon-oscillator.js +2 -2
- package/esm/indicators/aroon-oscillator.src.js +22 -8
- package/esm/indicators/aroon.js +2 -2
- package/esm/indicators/aroon.src.js +24 -10
- package/esm/indicators/atr.js +2 -2
- package/esm/indicators/atr.src.js +22 -8
- package/esm/indicators/bollinger-bands.js +2 -2
- package/esm/indicators/bollinger-bands.src.js +22 -8
- package/esm/indicators/cci.js +2 -2
- package/esm/indicators/cci.src.js +22 -8
- package/esm/indicators/chaikin.js +2 -2
- package/esm/indicators/chaikin.src.js +22 -8
- package/esm/indicators/cmf.js +2 -2
- package/esm/indicators/cmf.src.js +22 -8
- package/esm/indicators/cmo.js +2 -2
- package/esm/indicators/cmo.src.js +22 -8
- package/esm/indicators/dema.js +2 -2
- package/esm/indicators/dema.src.js +22 -8
- package/esm/indicators/disparity-index.js +2 -2
- package/esm/indicators/disparity-index.src.js +22 -8
- package/esm/indicators/dmi.js +2 -2
- package/esm/indicators/dmi.src.js +22 -8
- package/esm/indicators/dpo.js +2 -2
- package/esm/indicators/dpo.src.js +25 -10
- package/esm/indicators/ichimoku-kinko-hyo.js +2 -2
- package/esm/indicators/ichimoku-kinko-hyo.src.js +22 -8
- package/esm/indicators/indicators-all.js +2 -2
- package/esm/indicators/indicators-all.src.js +31 -17
- package/esm/indicators/indicators.js +2 -2
- package/esm/indicators/indicators.src.js +24 -10
- package/esm/indicators/keltner-channels.js +2 -2
- package/esm/indicators/keltner-channels.src.js +22 -8
- package/esm/indicators/klinger.js +2 -2
- package/esm/indicators/klinger.src.js +22 -8
- package/esm/indicators/macd.js +2 -2
- package/esm/indicators/macd.src.js +22 -8
- package/esm/indicators/mfi.js +2 -2
- package/esm/indicators/mfi.src.js +22 -8
- package/esm/indicators/momentum.js +2 -2
- package/esm/indicators/momentum.src.js +22 -8
- package/esm/indicators/natr.js +2 -2
- package/esm/indicators/natr.src.js +22 -8
- package/esm/indicators/obv.js +2 -2
- package/esm/indicators/obv.src.js +22 -8
- package/esm/indicators/pivot-points.js +2 -2
- package/esm/indicators/pivot-points.src.js +22 -8
- package/esm/indicators/ppo.js +2 -2
- package/esm/indicators/ppo.src.js +22 -8
- package/esm/indicators/price-channel.js +2 -2
- package/esm/indicators/price-channel.src.js +22 -8
- package/esm/indicators/price-envelopes.js +2 -2
- package/esm/indicators/price-envelopes.src.js +22 -8
- package/esm/indicators/psar.js +2 -2
- package/esm/indicators/psar.src.js +22 -8
- package/esm/indicators/regressions.js +2 -2
- package/esm/indicators/regressions.src.js +22 -8
- package/esm/indicators/roc.js +2 -2
- package/esm/indicators/roc.src.js +22 -8
- package/esm/indicators/rsi.js +2 -2
- package/esm/indicators/rsi.src.js +23 -9
- package/esm/indicators/slow-stochastic.js +2 -2
- package/esm/indicators/slow-stochastic.src.js +22 -8
- package/esm/indicators/stochastic.js +2 -2
- package/esm/indicators/stochastic.src.js +22 -8
- package/esm/indicators/supertrend.js +2 -2
- package/esm/indicators/supertrend.src.js +22 -8
- package/esm/indicators/tema.js +2 -2
- package/esm/indicators/tema.src.js +22 -8
- package/esm/indicators/trendline.js +2 -2
- package/esm/indicators/trendline.src.js +22 -8
- package/esm/indicators/trix.js +2 -2
- package/esm/indicators/trix.src.js +22 -8
- package/esm/indicators/volume-by-price.js +2 -2
- package/esm/indicators/volume-by-price.src.js +23 -10
- package/esm/indicators/vwap.js +2 -2
- package/esm/indicators/vwap.src.js +22 -8
- package/esm/indicators/williams-r.js +2 -2
- package/esm/indicators/williams-r.src.js +22 -8
- package/esm/indicators/wma.js +2 -2
- package/esm/indicators/wma.src.js +22 -8
- package/esm/indicators/zigzag.js +2 -2
- package/esm/indicators/zigzag.src.js +22 -8
- package/esm/modules/accessibility.js +2 -2
- package/esm/modules/accessibility.src.js +564 -92
- package/esm/modules/annotations-advanced.js +11 -11
- package/esm/modules/annotations-advanced.src.js +224 -162
- package/esm/modules/annotations.js +11 -11
- package/esm/modules/annotations.src.js +184 -144
- package/esm/modules/arc-diagram.js +2 -2
- package/esm/modules/arc-diagram.src.js +37 -22
- package/esm/modules/arrow-symbols.js +3 -3
- package/esm/modules/arrow-symbols.src.js +22 -8
- package/esm/modules/boost-canvas.js +2 -2
- package/esm/modules/boost-canvas.src.js +60 -30
- package/esm/modules/boost.js +2 -2
- package/esm/modules/boost.src.js +72 -29
- package/esm/modules/broken-axis.js +2 -2
- package/esm/modules/broken-axis.src.js +27 -12
- package/esm/modules/bullet.js +2 -2
- package/esm/modules/bullet.src.js +38 -17
- package/esm/modules/coloraxis.js +2 -2
- package/esm/modules/coloraxis.src.js +47 -21
- package/esm/modules/contour.js +3 -3
- package/esm/modules/contour.src.js +46 -13
- package/esm/modules/current-date-indicator.js +2 -2
- package/esm/modules/current-date-indicator.src.js +22 -8
- package/esm/modules/cylinder.js +2 -2
- package/esm/modules/cylinder.src.js +46 -28
- package/esm/modules/data-sorting.js +2 -2
- package/esm/modules/data-sorting.src.js +22 -8
- package/esm/modules/data-tools.js +2 -2
- package/esm/modules/data-tools.src.js +44 -13
- package/esm/modules/data.js +4 -4
- package/esm/modules/data.src.js +23 -9
- package/esm/modules/datagrouping.js +2 -2
- package/esm/modules/datagrouping.src.js +28 -13
- package/esm/modules/debugger.js +2 -2
- package/esm/modules/debugger.src.js +22 -8
- package/esm/modules/dependency-wheel.js +2 -2
- package/esm/modules/dependency-wheel.src.js +428 -17
- package/esm/modules/dotplot.js +2 -2
- package/esm/modules/dotplot.src.js +27 -11
- package/esm/modules/drag-panes.js +2 -2
- package/esm/modules/drag-panes.src.js +22 -8
- package/esm/modules/draggable-points.js +2 -2
- package/esm/modules/draggable-points.src.js +24 -12
- package/esm/modules/drilldown.js +2 -2
- package/esm/modules/drilldown.src.js +38 -25
- package/esm/modules/dumbbell.js +2 -2
- package/esm/modules/dumbbell.src.js +72 -27
- package/esm/modules/export-data.js +2 -2
- package/esm/modules/export-data.src.js +42 -23
- package/esm/modules/exporting.js +2 -2
- package/esm/modules/exporting.src.js +83 -37
- package/esm/modules/flowmap.js +3 -2
- package/esm/modules/flowmap.src.js +43 -18
- package/esm/modules/full-screen.js +2 -2
- package/esm/modules/full-screen.src.js +22 -8
- package/esm/modules/funnel.js +2 -2
- package/esm/modules/funnel.src.js +73 -42
- package/esm/modules/funnel3d.js +2 -2
- package/esm/modules/funnel3d.src.js +35 -20
- package/esm/modules/gantt.js +2 -2
- package/esm/modules/gantt.src.js +542 -100
- package/esm/modules/geoheatmap.js +2 -2
- package/esm/modules/geoheatmap.src.js +35 -21
- package/esm/modules/grid-axis.js +2 -2
- package/esm/modules/grid-axis.src.js +33 -12
- package/esm/modules/heatmap.js +2 -2
- package/esm/modules/heatmap.src.js +50 -33
- package/esm/modules/heikinashi.js +2 -2
- package/esm/modules/heikinashi.src.js +22 -8
- package/esm/modules/histogram-bellcurve.js +2 -2
- package/esm/modules/histogram-bellcurve.src.js +56 -25
- package/esm/modules/hollowcandlestick.js +2 -2
- package/esm/modules/hollowcandlestick.src.js +31 -17
- package/esm/modules/item-series.js +2 -2
- package/esm/modules/item-series.src.js +72 -13
- package/esm/modules/lollipop.js +2 -2
- package/esm/modules/lollipop.src.js +22 -8
- package/esm/modules/map.js +2 -2
- package/esm/modules/map.src.js +148 -91
- package/esm/modules/marker-clusters.js +2 -2
- package/esm/modules/marker-clusters.src.js +25 -13
- package/esm/modules/mouse-wheel-zoom.js +2 -2
- package/esm/modules/mouse-wheel-zoom.src.js +54 -13
- package/esm/modules/navigator.js +2 -2
- package/esm/modules/navigator.src.js +534 -74
- package/esm/modules/networkgraph.js +2 -2
- package/esm/modules/networkgraph.src.js +87 -46
- package/esm/modules/no-data-to-display.js +2 -2
- package/esm/modules/no-data-to-display.src.js +22 -8
- package/esm/modules/non-cartesian-zoom.js +2 -2
- package/esm/modules/non-cartesian-zoom.src.js +22 -8
- package/esm/modules/offline-exporting.js +2 -2
- package/esm/modules/offline-exporting.src.js +53 -12
- package/esm/modules/organization.js +4 -2
- package/esm/modules/organization.src.js +63 -19
- package/esm/modules/parallel-coordinates.js +2 -2
- package/esm/modules/parallel-coordinates.src.js +26 -9
- package/esm/modules/pareto.js +2 -2
- package/esm/modules/pareto.src.js +31 -16
- package/esm/modules/pathfinder.js +2 -2
- package/esm/modules/pathfinder.src.js +28 -13
- package/esm/modules/pattern-fill.js +2 -2
- package/esm/modules/pattern-fill.src.js +28 -12
- package/esm/modules/pictorial.js +2 -2
- package/esm/modules/pictorial.src.js +36 -19
- package/esm/modules/pointandfigure.js +2 -2
- package/esm/modules/pointandfigure.src.js +26 -11
- package/esm/modules/price-indicator.js +2 -2
- package/esm/modules/price-indicator.src.js +26 -11
- package/esm/modules/pyramid3d.js +2 -2
- package/esm/modules/pyramid3d.src.js +22 -8
- package/esm/modules/renko.js +2 -2
- package/esm/modules/renko.src.js +22 -8
- package/esm/modules/sankey.js +2 -2
- package/esm/modules/sankey.src.js +59 -31
- package/esm/modules/series-label.js +2 -2
- package/esm/modules/series-label.src.js +31 -18
- package/esm/modules/series-on-point.js +2 -2
- package/esm/modules/series-on-point.src.js +23 -9
- package/esm/modules/solid-gauge.js +2 -2
- package/esm/modules/solid-gauge.src.js +40 -20
- package/esm/modules/sonification.js +2 -2
- package/esm/modules/sonification.src.js +45 -30
- package/esm/modules/static-scale.js +2 -2
- package/esm/modules/static-scale.src.js +22 -8
- package/esm/modules/stock-tools.js +3 -3
- package/esm/modules/stock-tools.src.js +73 -27
- package/esm/modules/stock.js +2 -2
- package/esm/modules/stock.src.js +554 -122
- package/esm/modules/streamgraph.js +2 -2
- package/esm/modules/streamgraph.src.js +22 -8
- package/esm/modules/sunburst.js +2 -2
- package/esm/modules/sunburst.src.js +110 -45
- package/esm/modules/textpath.js +2 -2
- package/esm/modules/textpath.src.js +22 -8
- package/esm/modules/tiledwebmap.js +3 -3
- package/esm/modules/tiledwebmap.src.js +44 -19
- package/esm/modules/tilemap.js +2 -2
- package/esm/modules/tilemap.src.js +27 -12
- package/esm/modules/timeline.js +2 -2
- package/esm/modules/timeline.src.js +35 -14
- package/esm/modules/treegraph.js +2 -2
- package/esm/modules/treegraph.src.js +59 -27
- package/esm/modules/treegrid.js +2 -2
- package/esm/modules/treegrid.src.js +58 -27
- package/esm/modules/treemap.js +2 -2
- package/esm/modules/treemap.src.js +89 -36
- package/esm/modules/variable-pie.js +2 -2
- package/esm/modules/variable-pie.src.js +30 -13
- package/esm/modules/variwide.js +2 -2
- package/esm/modules/variwide.src.js +23 -9
- package/esm/modules/vector.js +2 -2
- package/esm/modules/vector.src.js +28 -16
- package/esm/modules/venn.js +2 -2
- package/esm/modules/venn.src.js +28 -13
- package/esm/modules/windbarb.js +2 -2
- package/esm/modules/windbarb.src.js +29 -17
- package/esm/modules/wordcloud.js +2 -2
- package/esm/modules/wordcloud.src.js +25 -9
- package/esm/modules/xrange.js +2 -2
- package/esm/modules/xrange.src.js +29 -15
- package/esm/standalone-navigator.js +5 -5
- package/esm/standalone-navigator.src.js +808 -570
- package/esm/themes/adaptive.js +3 -3
- package/esm/themes/adaptive.src.js +22 -8
- package/esm/themes/avocado.js +2 -2
- package/esm/themes/avocado.src.js +22 -8
- package/esm/themes/dark-unica.js +2 -2
- package/esm/themes/dark-unica.src.js +22 -8
- package/esm/themes/grid-light.js +2 -2
- package/esm/themes/grid-light.src.js +22 -8
- package/esm/themes/high-contrast.js +2 -2
- package/esm/themes/high-contrast.src.js +22 -8
- package/esm/themes/sand-signika.js +2 -2
- package/esm/themes/sand-signika.src.js +22 -8
- package/esm/themes/sunset.js +2 -2
- package/esm/themes/sunset.src.js +22 -8
- package/highcharts-3d.js +2 -2
- package/highcharts-3d.src.js +116 -92
- package/highcharts-autoload.d.ts +15 -5
- package/highcharts-autoload.js +4 -4
- package/highcharts-autoload.src.d.ts +15 -5
- package/highcharts-autoload.src.js +724 -499
- package/highcharts-gantt.js +4 -4
- package/highcharts-gantt.src.js +851 -590
- package/highcharts-more.d.ts +7 -3
- package/highcharts-more.js +2 -2
- package/highcharts-more.src.d.ts +7 -3
- package/highcharts-more.src.js +1313 -1095
- package/highcharts.d.ts +34795 -25647
- package/highcharts.js +4 -4
- package/highcharts.src.d.ts +34795 -25647
- package/highcharts.src.js +723 -498
- package/highmaps.js +4 -4
- package/highmaps.src.js +863 -583
- package/highstock.js +4 -4
- package/highstock.src.js +899 -619
- package/i18n/fr-FR.js +2 -2
- package/i18n/fr-FR.src.js +32 -16
- package/i18n/nb-NO.js +2 -2
- package/i18n/nb-NO.src.js +32 -16
- package/i18n/zh-CN.js +2 -2
- package/i18n/zh-CN.src.js +32 -16
- package/indicators/acceleration-bands.js +2 -2
- package/indicators/acceleration-bands.src.js +31 -16
- package/indicators/accumulation-distribution.js +2 -2
- package/indicators/accumulation-distribution.src.js +31 -16
- package/indicators/ao.js +2 -2
- package/indicators/ao.src.js +31 -16
- package/indicators/apo.js +2 -2
- package/indicators/apo.src.js +31 -16
- package/indicators/aroon-oscillator.js +2 -2
- package/indicators/aroon-oscillator.src.js +31 -16
- package/indicators/aroon.js +2 -2
- package/indicators/aroon.src.js +33 -18
- package/indicators/atr.js +2 -2
- package/indicators/atr.src.js +31 -16
- package/indicators/bollinger-bands.js +2 -2
- package/indicators/bollinger-bands.src.js +31 -16
- package/indicators/cci.js +2 -2
- package/indicators/cci.src.js +31 -16
- package/indicators/chaikin.js +2 -2
- package/indicators/chaikin.src.js +31 -16
- package/indicators/cmf.js +2 -2
- package/indicators/cmf.src.js +31 -16
- package/indicators/cmo.js +2 -2
- package/indicators/cmo.src.js +31 -16
- package/indicators/dema.js +2 -2
- package/indicators/dema.src.js +31 -16
- package/indicators/disparity-index.js +2 -2
- package/indicators/disparity-index.src.js +31 -16
- package/indicators/dmi.js +2 -2
- package/indicators/dmi.src.js +31 -16
- package/indicators/dpo.js +2 -2
- package/indicators/dpo.src.js +34 -18
- package/indicators/ichimoku-kinko-hyo.js +2 -2
- package/indicators/ichimoku-kinko-hyo.src.js +41 -26
- package/indicators/indicators-all.js +2 -2
- package/indicators/indicators-all.src.js +52 -37
- package/indicators/indicators.js +2 -2
- package/indicators/indicators.src.js +39 -24
- package/indicators/keltner-channels.js +2 -2
- package/indicators/keltner-channels.src.js +31 -16
- package/indicators/klinger.js +2 -2
- package/indicators/klinger.src.js +31 -16
- package/indicators/macd.js +2 -2
- package/indicators/macd.src.js +31 -16
- package/indicators/mfi.js +2 -2
- package/indicators/mfi.src.js +31 -16
- package/indicators/momentum.js +2 -2
- package/indicators/momentum.src.js +31 -16
- package/indicators/natr.js +2 -2
- package/indicators/natr.src.js +31 -16
- package/indicators/obv.js +2 -2
- package/indicators/obv.src.js +31 -16
- package/indicators/pivot-points.js +2 -2
- package/indicators/pivot-points.src.js +31 -16
- package/indicators/ppo.js +2 -2
- package/indicators/ppo.src.js +31 -16
- package/indicators/price-channel.js +2 -2
- package/indicators/price-channel.src.js +31 -16
- package/indicators/price-envelopes.js +2 -2
- package/indicators/price-envelopes.src.js +31 -16
- package/indicators/psar.js +2 -2
- package/indicators/psar.src.js +31 -16
- package/indicators/regressions.js +2 -2
- package/indicators/regressions.src.js +31 -16
- package/indicators/roc.js +2 -2
- package/indicators/roc.src.js +31 -16
- package/indicators/rsi.js +2 -2
- package/indicators/rsi.src.js +32 -17
- package/indicators/slow-stochastic.js +2 -2
- package/indicators/slow-stochastic.src.js +31 -16
- package/indicators/stochastic.js +2 -2
- package/indicators/stochastic.src.js +31 -16
- package/indicators/supertrend.js +2 -2
- package/indicators/supertrend.src.js +31 -16
- package/indicators/tema.js +2 -2
- package/indicators/tema.src.js +31 -16
- package/indicators/trendline.js +2 -2
- package/indicators/trendline.src.js +31 -16
- package/indicators/trix.js +2 -2
- package/indicators/trix.src.js +31 -16
- package/indicators/volume-by-price.js +2 -2
- package/indicators/volume-by-price.src.js +32 -18
- package/indicators/vwap.js +2 -2
- package/indicators/vwap.src.js +31 -16
- package/indicators/williams-r.js +2 -2
- package/indicators/williams-r.src.js +31 -16
- package/indicators/wma.js +2 -2
- package/indicators/wma.src.js +31 -16
- package/indicators/zigzag.js +2 -2
- package/indicators/zigzag.src.js +31 -16
- package/modules/accessibility.d.ts +47 -0
- package/modules/accessibility.js +2 -2
- package/modules/accessibility.src.d.ts +47 -0
- package/modules/accessibility.src.js +603 -130
- package/modules/annotations-advanced.js +11 -11
- package/modules/annotations-advanced.src.js +246 -183
- package/modules/annotations.js +11 -11
- package/modules/annotations.src.js +206 -165
- package/modules/arc-diagram.js +2 -2
- package/modules/arc-diagram.src.js +58 -42
- package/modules/arrow-symbols.js +2 -2
- package/modules/arrow-symbols.src.js +28 -13
- package/modules/boost-canvas.js +2 -2
- package/modules/boost-canvas.src.js +69 -38
- package/modules/boost.js +2 -2
- package/modules/boost.src.js +81 -37
- package/modules/broken-axis.js +2 -2
- package/modules/broken-axis.src.js +36 -20
- package/modules/bullet.js +2 -2
- package/modules/bullet.src.js +50 -28
- package/modules/coloraxis.js +2 -2
- package/modules/coloraxis.src.js +65 -38
- package/modules/contour.js +5 -5
- package/modules/contour.src.js +91 -44
- package/modules/current-date-indicator.js +2 -2
- package/modules/current-date-indicator.src.js +28 -13
- package/modules/cylinder.js +2 -2
- package/modules/cylinder.src.js +67 -48
- package/modules/data-sorting.js +2 -2
- package/modules/data-sorting.src.js +28 -13
- package/modules/data-tools.js +2 -2
- package/modules/data-tools.src.js +50 -18
- package/modules/data.js +2 -2
- package/modules/data.src.js +50 -35
- package/modules/datagrouping.js +2 -2
- package/modules/datagrouping.src.js +42 -26
- package/modules/debugger.js +2 -2
- package/modules/debugger.src.js +28 -13
- package/modules/dependency-wheel.d.ts +7 -1
- package/modules/dependency-wheel.js +2 -2
- package/modules/dependency-wheel.src.d.ts +7 -1
- package/modules/dependency-wheel.src.js +440 -28
- package/modules/dotplot.js +2 -2
- package/modules/dotplot.src.js +36 -19
- package/modules/drag-panes.js +2 -2
- package/modules/drag-panes.src.js +28 -13
- package/modules/draggable-points.js +2 -2
- package/modules/draggable-points.src.js +30 -17
- package/modules/drilldown.js +2 -2
- package/modules/drilldown.src.js +49 -35
- package/modules/dumbbell.js +2 -2
- package/modules/dumbbell.src.js +86 -40
- package/modules/export-data.d.ts +66 -1
- package/modules/export-data.js +2 -2
- package/modules/export-data.src.d.ts +66 -1
- package/modules/export-data.src.js +56 -36
- package/modules/exporting.d.ts +0 -103
- package/modules/exporting.js +2 -2
- package/modules/exporting.src.d.ts +0 -103
- package/modules/exporting.src.js +97 -50
- package/modules/flowmap.js +3 -2
- package/modules/flowmap.src.js +52 -26
- package/modules/full-screen.js +2 -2
- package/modules/full-screen.src.js +31 -16
- package/modules/funnel.d.ts +3 -3
- package/modules/funnel.js +2 -2
- package/modules/funnel.src.d.ts +3 -3
- package/modules/funnel.src.js +82 -50
- package/modules/funnel3d.js +2 -2
- package/modules/funnel3d.src.js +56 -40
- package/modules/gantt.d.ts +47 -0
- package/modules/gantt.js +8 -8
- package/modules/gantt.src.d.ts +47 -0
- package/modules/gantt.src.js +602 -156
- package/modules/geoheatmap.d.ts +13 -12
- package/modules/geoheatmap.js +2 -2
- package/modules/geoheatmap.src.d.ts +13 -12
- package/modules/geoheatmap.src.js +44 -29
- package/modules/grid-axis.js +2 -2
- package/modules/grid-axis.src.js +42 -20
- package/modules/heatmap.d.ts +0 -12
- package/modules/heatmap.js +4 -4
- package/modules/heatmap.src.d.ts +0 -12
- package/modules/heatmap.src.js +102 -71
- package/modules/heikinashi.js +2 -2
- package/modules/heikinashi.src.js +31 -16
- package/modules/histogram-bellcurve.js +2 -2
- package/modules/histogram-bellcurve.src.js +70 -38
- package/modules/hollowcandlestick.js +2 -2
- package/modules/hollowcandlestick.src.js +45 -30
- package/modules/item-series.js +2 -2
- package/modules/item-series.src.js +81 -21
- package/modules/lollipop.js +2 -2
- package/modules/lollipop.src.js +36 -21
- package/modules/map.d.ts +0 -20
- package/modules/map.js +4 -4
- package/modules/map.src.d.ts +0 -20
- package/modules/map.src.js +212 -140
- package/modules/marker-clusters.js +2 -2
- package/modules/marker-clusters.src.js +31 -18
- package/modules/mouse-wheel-zoom.js +2 -2
- package/modules/mouse-wheel-zoom.src.js +60 -18
- package/modules/navigator.d.ts +47 -0
- package/modules/navigator.js +2 -2
- package/modules/navigator.src.d.ts +47 -0
- package/modules/navigator.src.js +556 -95
- package/modules/networkgraph.js +2 -2
- package/modules/networkgraph.src.js +99 -57
- package/modules/no-data-to-display.js +2 -2
- package/modules/no-data-to-display.src.js +31 -16
- package/modules/non-cartesian-zoom.js +2 -2
- package/modules/non-cartesian-zoom.src.js +28 -13
- package/modules/offline-exporting.js +2 -2
- package/modules/offline-exporting.src.js +67 -25
- package/modules/organization.js +4 -2
- package/modules/organization.src.js +75 -30
- package/modules/parallel-coordinates.js +2 -2
- package/modules/parallel-coordinates.src.js +37 -19
- package/modules/pareto.js +2 -2
- package/modules/pareto.src.js +45 -29
- package/modules/pathfinder.js +2 -2
- package/modules/pathfinder.src.js +37 -21
- package/modules/pattern-fill.js +2 -2
- package/modules/pattern-fill.src.js +34 -17
- package/modules/pictorial.js +2 -2
- package/modules/pictorial.src.js +62 -43
- package/modules/pointandfigure.js +2 -2
- package/modules/pointandfigure.src.js +35 -19
- package/modules/price-indicator.js +2 -2
- package/modules/price-indicator.src.js +32 -16
- package/modules/pyramid3d.js +2 -2
- package/modules/pyramid3d.src.js +31 -16
- package/modules/renko.js +2 -2
- package/modules/renko.src.js +34 -19
- package/modules/sankey.js +2 -2
- package/modules/sankey.src.js +80 -51
- package/modules/series-label.js +2 -2
- package/modules/series-label.src.js +42 -28
- package/modules/series-on-point.js +2 -2
- package/modules/series-on-point.src.js +40 -25
- package/modules/solid-gauge.d.ts +3 -3
- package/modules/solid-gauge.js +2 -2
- package/modules/solid-gauge.src.d.ts +3 -3
- package/modules/solid-gauge.src.js +54 -33
- package/modules/sonification.js +2 -2
- package/modules/sonification.src.js +56 -40
- package/modules/static-scale.js +2 -2
- package/modules/static-scale.src.js +28 -13
- package/modules/stock-tools.js +3 -3
- package/modules/stock-tools.src.js +90 -43
- package/modules/stock.d.ts +47 -0
- package/modules/stock.js +6 -6
- package/modules/stock.src.d.ts +47 -0
- package/modules/stock.src.js +650 -185
- package/modules/streamgraph.js +2 -2
- package/modules/streamgraph.src.js +31 -16
- package/modules/sunburst.js +2 -2
- package/modules/sunburst.src.js +137 -71
- package/modules/textpath.js +2 -2
- package/modules/textpath.src.js +28 -13
- package/modules/tiledwebmap.js +3 -3
- package/modules/tiledwebmap.src.js +65 -32
- package/modules/tilemap.js +2 -2
- package/modules/tilemap.src.js +41 -25
- package/modules/timeline.js +2 -2
- package/modules/timeline.src.js +47 -25
- package/modules/treegraph.js +2 -2
- package/modules/treegraph.src.js +83 -50
- package/modules/treegrid.js +2 -2
- package/modules/treegrid.src.js +76 -44
- package/modules/treemap.js +2 -2
- package/modules/treemap.src.js +116 -62
- package/modules/variable-pie.js +2 -2
- package/modules/variable-pie.src.js +39 -21
- package/modules/variwide.js +2 -2
- package/modules/variwide.src.js +32 -17
- package/modules/vector.js +2 -2
- package/modules/vector.src.js +37 -24
- package/modules/venn.js +2 -2
- package/modules/venn.src.js +42 -26
- package/modules/windbarb.js +2 -2
- package/modules/windbarb.src.js +51 -38
- package/modules/wordcloud.js +2 -2
- package/modules/wordcloud.src.js +34 -17
- package/modules/xrange.js +2 -2
- package/modules/xrange.src.js +43 -28
- package/options/abands.d.ts +722 -83
- package/options/abands.src.d.ts +722 -83
- package/options/ad.d.ts +381 -26
- package/options/ad.src.d.ts +381 -26
- package/options/ao.d.ts +744 -70
- package/options/ao.src.d.ts +744 -70
- package/options/apo.d.ts +381 -26
- package/options/apo.src.d.ts +381 -26
- package/options/arcdiagram.d.ts +80 -534
- package/options/arcdiagram.src.d.ts +80 -534
- package/options/area.d.ts +432 -129
- package/options/area.src.d.ts +432 -129
- package/options/arearange.d.ts +46 -4
- package/options/arearange.src.d.ts +46 -4
- package/options/areaspline.d.ts +141 -866
- package/options/areaspline.src.d.ts +141 -866
- package/options/areasplinerange.d.ts +221 -871
- package/options/areasplinerange.src.d.ts +221 -871
- package/options/aroon.d.ts +432 -124
- package/options/aroon.src.d.ts +432 -124
- package/options/aroonoscillator.d.ts +127 -689
- package/options/aroonoscillator.src.d.ts +127 -689
- package/options/atr.d.ts +381 -71
- package/options/atr.src.d.ts +381 -71
- package/options/bar.d.ts +103 -12
- package/options/bar.src.d.ts +103 -12
- package/options/bb.d.ts +87 -762
- package/options/bb.src.d.ts +87 -762
- package/options/bellcurve.d.ts +87 -364
- package/options/bellcurve.src.d.ts +87 -364
- package/options/boxplot.d.ts +82 -13
- package/options/boxplot.src.d.ts +82 -13
- package/options/bubble.d.ts +83 -874
- package/options/bubble.src.d.ts +83 -874
- package/options/bullet.d.ts +354 -717
- package/options/bullet.src.d.ts +354 -717
- package/options/candlestick.d.ts +99 -1214
- package/options/candlestick.src.d.ts +99 -1214
- package/options/cci.d.ts +381 -26
- package/options/cci.src.d.ts +381 -26
- package/options/chaikin.d.ts +728 -83
- package/options/chaikin.src.d.ts +728 -83
- package/options/cmf.d.ts +381 -26
- package/options/cmf.src.d.ts +381 -26
- package/options/cmo.d.ts +730 -79
- package/options/cmo.src.d.ts +730 -79
- package/options/column.d.ts +1265 -99
- package/options/column.src.d.ts +1265 -99
- package/options/columnpyramid.d.ts +102 -1158
- package/options/columnpyramid.src.d.ts +102 -1158
- package/options/columnrange.d.ts +952 -95
- package/options/columnrange.src.d.ts +952 -95
- package/options/contour.d.ts +31 -443
- package/options/contour.src.d.ts +31 -443
- package/options/cylinder.d.ts +100 -12
- package/options/cylinder.src.d.ts +100 -12
- package/options/dema.d.ts +80 -736
- package/options/dema.src.d.ts +80 -736
- package/options/dependencywheel.d.ts +599 -218
- package/options/dependencywheel.src.d.ts +599 -218
- package/options/disparityindex.d.ts +84 -365
- package/options/disparityindex.src.d.ts +84 -365
- package/options/dmi.d.ts +86 -775
- package/options/dmi.src.d.ts +86 -775
- package/options/dpo.d.ts +83 -365
- package/options/dpo.src.d.ts +83 -365
- package/options/dumbbell.d.ts +27 -4
- package/options/dumbbell.src.d.ts +27 -4
- package/options/ema.d.ts +81 -703
- package/options/ema.src.d.ts +81 -703
- package/options/errorbar.d.ts +91 -1161
- package/options/errorbar.src.d.ts +91 -1161
- package/options/flags.d.ts +98 -1192
- package/options/flags.src.d.ts +98 -1192
- package/options/flowmap.d.ts +48 -373
- package/options/flowmap.src.d.ts +48 -373
- package/options/funnel.d.ts +40 -3
- package/options/funnel.src.d.ts +40 -3
- package/options/gantt.d.ts +37 -40
- package/options/gantt.src.d.ts +37 -40
- package/options/gauge.d.ts +398 -472
- package/options/gauge.src.d.ts +398 -472
- package/options/geoheatmap.d.ts +462 -63
- package/options/geoheatmap.src.d.ts +462 -63
- package/options/heatmap.d.ts +31 -380
- package/options/heatmap.src.d.ts +31 -380
- package/options/heikinashi.d.ts +20 -2
- package/options/heikinashi.src.d.ts +20 -2
- package/options/hlc.d.ts +20 -2
- package/options/hlc.src.d.ts +20 -2
- package/options/ikh.d.ts +750 -103
- package/options/ikh.src.d.ts +750 -103
- package/options/item.d.ts +34 -74
- package/options/item.src.d.ts +34 -74
- package/options/keltnerchannels.d.ts +87 -708
- package/options/keltnerchannels.src.d.ts +87 -708
- package/options/klinger.d.ts +34 -365
- package/options/klinger.src.d.ts +34 -365
- package/options/line.d.ts +151 -851
- package/options/line.src.d.ts +151 -851
- package/options/linearregression.d.ts +960 -85
- package/options/linearregression.src.d.ts +960 -85
- package/options/linearregressionangle.d.ts +96 -699
- package/options/linearregressionangle.src.d.ts +96 -699
- package/options/linearregressionintercept.d.ts +381 -26
- package/options/linearregressionintercept.src.d.ts +381 -26
- package/options/linearregressionslope.d.ts +381 -26
- package/options/linearregressionslope.src.d.ts +381 -26
- package/options/lollipop.d.ts +214 -851
- package/options/lollipop.src.d.ts +214 -851
- package/options/macd.d.ts +386 -83
- package/options/macd.src.d.ts +386 -83
- package/options/map.d.ts +470 -36
- package/options/map.src.d.ts +470 -36
- package/options/mapbubble.d.ts +43 -532
- package/options/mapbubble.src.d.ts +43 -532
- package/options/mapline.d.ts +135 -58
- package/options/mapline.src.d.ts +135 -58
- package/options/mappoint.d.ts +205 -283
- package/options/mappoint.src.d.ts +205 -283
- package/options/mfi.d.ts +772 -82
- package/options/mfi.src.d.ts +772 -82
- package/options/momentum.d.ts +381 -71
- package/options/momentum.src.d.ts +381 -71
- package/options/natr.d.ts +776 -75
- package/options/natr.src.d.ts +776 -75
- package/options/networkgraph.d.ts +184 -207
- package/options/networkgraph.src.d.ts +184 -207
- package/options/obv.d.ts +426 -26
- package/options/obv.src.d.ts +426 -26
- package/options/ohlc.d.ts +77 -14
- package/options/ohlc.src.d.ts +77 -14
- package/options/packedbubble.d.ts +76 -696
- package/options/packedbubble.src.d.ts +76 -696
- package/options/pareto.d.ts +28 -364
- package/options/pareto.src.d.ts +28 -364
- package/options/pc.d.ts +724 -85
- package/options/pc.src.d.ts +724 -85
- package/options/pictorial.d.ts +1093 -58
- package/options/pictorial.src.d.ts +1093 -58
- package/options/pie.d.ts +595 -129
- package/options/pie.src.d.ts +595 -129
- package/options/pivotpoints.d.ts +34 -365
- package/options/pivotpoints.src.d.ts +34 -365
- package/options/pointandfigure.d.ts +10 -50
- package/options/pointandfigure.src.d.ts +10 -50
- package/options/polygon.d.ts +803 -74
- package/options/polygon.src.d.ts +803 -74
- package/options/ppo.d.ts +34 -365
- package/options/ppo.src.d.ts +34 -365
- package/options/priceenvelopes.d.ts +93 -719
- package/options/priceenvelopes.src.d.ts +93 -719
- package/options/psar.d.ts +34 -365
- package/options/psar.src.d.ts +34 -365
- package/options/pyramid.d.ts +35 -3
- package/options/pyramid.src.d.ts +35 -3
- package/options/renko.d.ts +25 -2
- package/options/renko.src.d.ts +25 -2
- package/options/roc.d.ts +78 -712
- package/options/roc.src.d.ts +78 -712
- package/options/rsi.d.ts +34 -365
- package/options/rsi.src.d.ts +34 -365
- package/options/sankey.d.ts +27 -5
- package/options/sankey.src.d.ts +27 -5
- package/options/scatter.d.ts +896 -290
- package/options/scatter.src.d.ts +896 -290
- package/options/series.d.ts +938 -83
- package/options/series.src.d.ts +938 -83
- package/options/slowstochastic.d.ts +381 -26
- package/options/slowstochastic.src.d.ts +381 -26
- package/options/sma.d.ts +729 -79
- package/options/sma.src.d.ts +729 -79
- package/options/solidgauge.d.ts +882 -105
- package/options/solidgauge.src.d.ts +882 -105
- package/options/spline.d.ts +389 -90
- package/options/spline.src.d.ts +389 -90
- package/options/stochastic.d.ts +83 -716
- package/options/stochastic.src.d.ts +83 -716
- package/options/streamgraph.d.ts +97 -364
- package/options/streamgraph.src.d.ts +97 -364
- package/options/sunburst.d.ts +87 -19
- package/options/sunburst.src.d.ts +87 -19
- package/options/supertrend.d.ts +77 -749
- package/options/supertrend.src.d.ts +77 -749
- package/options/tema.d.ts +83 -365
- package/options/tema.src.d.ts +83 -365
- package/options/tiledwebmap.d.ts +13 -72
- package/options/tiledwebmap.src.d.ts +13 -72
- package/options/tilemap.d.ts +372 -533
- package/options/tilemap.src.d.ts +372 -533
- package/options/timeline.d.ts +49 -154
- package/options/timeline.src.d.ts +49 -154
- package/options/treegraph.d.ts +174 -696
- package/options/treegraph.src.d.ts +174 -696
- package/options/treemap.d.ts +468 -1079
- package/options/treemap.src.d.ts +468 -1079
- package/options/trendline.d.ts +381 -26
- package/options/trendline.src.d.ts +381 -26
- package/options/trix.d.ts +712 -82
- package/options/trix.src.d.ts +712 -82
- package/options/variablepie.d.ts +130 -587
- package/options/variablepie.src.d.ts +130 -587
- package/options/variwide.d.ts +1123 -94
- package/options/variwide.src.d.ts +1123 -94
- package/options/vbp.d.ts +57 -383
- package/options/vbp.src.d.ts +57 -383
- package/options/vector.d.ts +22 -58
- package/options/vector.src.d.ts +22 -58
- package/options/venn.d.ts +32 -78
- package/options/venn.src.d.ts +32 -78
- package/options/vwap.d.ts +122 -703
- package/options/vwap.src.d.ts +122 -703
- package/options/waterfall.d.ts +139 -1150
- package/options/waterfall.src.d.ts +139 -1150
- package/options/williamsr.d.ts +381 -76
- package/options/williamsr.src.d.ts +381 -76
- package/options/windbarb.d.ts +39 -2
- package/options/windbarb.src.d.ts +39 -2
- package/options/wma.d.ts +78 -704
- package/options/wma.src.d.ts +78 -704
- package/options/wordcloud.d.ts +98 -595
- package/options/wordcloud.src.d.ts +98 -595
- package/options/xrange.d.ts +166 -1056
- package/options/xrange.src.d.ts +166 -1056
- package/options/zigzag.d.ts +34 -410
- package/options/zigzag.src.d.ts +34 -410
- package/package.json +1 -1
- package/standalone-navigator.js +4 -4
- package/standalone-navigator.src.js +829 -553
- package/themes/adaptive.js +2 -2
- package/themes/adaptive.src.js +33 -18
- package/themes/avocado.js +2 -2
- package/themes/avocado.src.js +28 -13
- package/themes/dark-unica.js +2 -2
- package/themes/dark-unica.src.js +28 -13
- package/themes/grid-light.js +2 -2
- package/themes/grid-light.src.js +28 -13
- package/themes/high-contrast.js +2 -2
- package/themes/high-contrast.src.js +28 -13
- package/themes/sand-signika.js +2 -2
- package/themes/sand-signika.src.js +28 -13
- package/themes/sunset.js +2 -2
- package/themes/sunset.src.js +28 -13
- package/css/.stylelintrc.json +0 -8
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Highstock JS v13.0.
|
|
2
|
+
* Highstock JS v13.0.2 (2026-08-27)
|
|
3
3
|
* @module highcharts/modules/stock-tools
|
|
4
4
|
* @requires highcharts
|
|
5
5
|
* @requires highcharts/modules/stock
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*
|
|
12
12
|
* A commercial license may be required depending on use,
|
|
13
13
|
* see www.highcharts.com/license
|
|
14
|
-
*/import*as t from"../highcharts.js";var i,e={};e.n=t=>{var i=t&&t.__esModule?()=>t.default:()=>t;return e.d(i,{a:i}),i},e.d=(t,i)=>{for(var s in i)e.o(i,s)&&!e.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:i[s]})},e.o=(t,i)=>Object.prototype.hasOwnProperty.call(t,i);let s=t.default;var n=e.n(s),o=i||(i={});o.compose=function(t){return t.navigation||(t.navigation=new a(t)),t};class a{constructor(t){this.updates=[],this.chart=t}addUpdate(t){this.chart.navigation.updates.push(t)}update(t,i){this.updates.forEach(e=>{e.call(this.chart,t,i)})}}o.Additions=a;let l=i,r=t.default.Templating;var c=e.n(r);let h={backgroundColor:"color",backgroundColors:"color",borderColor:"color",borderRadius:"string",color:"color",fill:"color",fontSize:"string",labels:"string",name:"string",stroke:"color",title:"string"},g={annotationsFieldsTypes:h,getAssignedAxis:function(t){return t.filter(t=>{let i=t.axis.getExtremes(),e=i.min,n=i.max,o=(0,s.pick)(t.axis.minPointOffset,0);return(0,s.isNumber)(e)&&(0,s.isNumber)(n)&&t.value>=e-o&&t.value<=n+o&&!t.axis.options.isInternal})[0]},getFieldType:function(t,i){let e=h[t],n=typeof i;return(0,s.defined)(e)&&(n=e),({string:"text",number:"number",boolean:"checkbox",color:"color"})[n]}},{getAssignedAxis:p}=g,d={lang:{navigation:{popup:{simpleShapes:"Simple shapes",lines:"Lines",circle:"Circle",ellipse:"Ellipse",rectangle:"Rectangle",label:"Label",shapeOptions:"Shape options",typeOptions:"Details",fill:"Fill",format:"Text",strokeWidth:"Line width",stroke:"Line color",title:"Title",name:"Name",labelOptions:"Label options",labels:"Labels",backgroundColor:"Background color",backgroundColors:"Background colors",borderColor:"Border color",borderRadius:"Border radius",borderWidth:"Border width",style:"Style",padding:"Padding",fontSize:"Font size",color:"Color",height:"Height",shapes:"Shape options"}}},navigation:{bindingsClassName:"highcharts-bindings-container",bindings:{circleAnnotation:{className:"highcharts-circle-annotation",start:function(t){let i=this.chart.pointer?.getCoordinates(t),e=i&&p(i.xAxis),n=i&&p(i.yAxis),o=this.chart.options.navigation;if(e&&n)return this.chart.addAnnotation((0,s.merge)({langKey:"circle",type:"basicAnnotation",shapes:[{type:"circle",point:{x:e.value,y:n.value,xAxis:e.axis.index,yAxis:n.axis.index},r:5}]},o.annotationsOptions,o.bindings.circleAnnotation.annotationsOptions))},steps:[function(t,i){let e,n=i.options.shapes,o=n&&n[0]&&n[0].point||{};if((0,s.isNumber)(o.xAxis)&&(0,s.isNumber)(o.yAxis)){let i=this.chart.inverted,s=this.chart.xAxis[o.xAxis].toPixels(o.x),n=this.chart.yAxis[o.yAxis].toPixels(o.y);e=Math.max(Math.sqrt(Math.pow(i?n-t.chartX:s-t.chartX,2)+Math.pow(i?s-t.chartY:n-t.chartY,2)),5)}i.update({shapes:[{r:e}]})}]},ellipseAnnotation:{className:"highcharts-ellipse-annotation",start:function(t){let i=this.chart.pointer?.getCoordinates(t),e=i&&p(i.xAxis),n=i&&p(i.yAxis),o=this.chart.options.navigation;if(e&&n)return this.chart.addAnnotation((0,s.merge)({langKey:"ellipse",type:"basicAnnotation",shapes:[{type:"ellipse",xAxis:e.axis.index,yAxis:n.axis.index,points:[{x:e.value,y:n.value},{x:e.value,y:n.value}],ry:1}]},o.annotationsOptions,o.bindings.ellipseAnnotation.annotationsOptions))},steps:[function(t,i){let e=i.shapes[0],s=e.getAbsolutePosition(e.points[1]);e.translatePoint(t.chartX-s.x,t.chartY-s.y,1),e.redraw(!1)},function(t,i){let e=i.shapes[0],s=e.getAbsolutePosition(e.points[0]),n=e.getAbsolutePosition(e.points[1]),o=e.getDistanceFromLine(s,n,t.chartX,t.chartY),a=e.getYAxis(),l=Math.abs(a.toValue(0)-a.toValue(o));e.setYRadius(l),e.redraw(!1)}]},rectangleAnnotation:{className:"highcharts-rectangle-annotation",start:function(t){let i=this.chart.pointer?.getCoordinates(t),e=i&&p(i.xAxis),n=i&&p(i.yAxis);if(!e||!n)return;let o=e.value,a=n.value,l=e.axis.index,r=n.axis.index,c=this.chart.options.navigation;return this.chart.addAnnotation((0,s.merge)({langKey:"rectangle",type:"basicAnnotation",shapes:[{type:"path",points:[{xAxis:l,yAxis:r,x:o,y:a},{xAxis:l,yAxis:r,x:o,y:a},{xAxis:l,yAxis:r,x:o,y:a},{xAxis:l,yAxis:r,x:o,y:a},{command:"Z"}]}]},c.annotationsOptions,c.bindings.rectangleAnnotation.annotationsOptions))},steps:[function(t,i){let e=i.options.shapes,s=e&&e[0]&&e[0].points||[],n=this.chart.pointer?.getCoordinates(t),o=n&&p(n.xAxis),a=n&&p(n.yAxis);if(o&&a){let t=o.value,e=a.value;s[1].x=t,s[2].x=t,s[2].y=e,s[3].y=e,i.update({shapes:[{points:s}]})}}]},labelAnnotation:{className:"highcharts-label-annotation",start:function(t){let i=this.chart.pointer?.getCoordinates(t),e=i&&p(i.xAxis),n=i&&p(i.yAxis),o=this.chart.options.navigation;if(e&&n)return this.chart.addAnnotation((0,s.merge)({langKey:"label",type:"basicAnnotation",labelOptions:{format:"{y:.2f}",overflow:"none",crop:!0},labels:[{point:{xAxis:e.axis.index,yAxis:n.axis.index,x:e.value,y:n.value}}]},o.annotationsOptions,o.bindings.labelAnnotation.annotationsOptions))}}},events:{},annotationsOptions:{animation:{defer:0}}}},{setOptions:u}=n(),{format:f}=c(),{composed:v,doc:y,win:m}=n(),{getAssignedAxis:x,getFieldType:b}=g;function w(){this.chart.navigationBindings&&this.chart.navigationBindings.deselectAnnotation()}function A(){this.navigationBindings&&this.navigationBindings.destroy()}function $(){let t=this.options;t&&t.navigation&&t.navigation.bindings&&(this.navigationBindings=new M(this,t.navigation),this.navigationBindings.initEvents(),this.navigationBindings.initUpdate())}function C(){let t=this.navigationBindings,i="highcharts-disabled-btn";if(this&&t){let e=!1;if(this.series.forEach(t=>{!t.options.isInternal&&t.visible&&(e=!0)}),this.navigationBindings&&this.navigationBindings.container&&this.navigationBindings.container[0]){let n=this.navigationBindings.container[0];(0,s.objectEach)(t.boundClassNames,(t,s)=>{let o=n.querySelectorAll("."+s);if(o)for(let s=0;s<o.length;s++){let n=o[s],a=n.className;"normal"===t.noDataState||e?-1!==a.indexOf(i)&&n.classList.remove(i):-1===a.indexOf(i)&&(n.className+=" "+i)}})}}}function k(){this.deselectAnnotation()}function L(){this.selectedButtonElement=null}function z(t){let i,e,n=t.prototype.defaultOptions.events&&t.prototype.defaultOptions.events.click;function o(t){let i=this,e=i.chart.navigationBindings,o=e.activeAnnotation;n&&n.call(i,t),o!==i?(e.deselectAnnotation(),e.activeAnnotation=i,i.setControlPointsVisibility(!0),(0,s.fireEvent)(e,"showPopup",{annotation:i,formType:"annotation-toolbar",options:e.annotationToFields(i),onSubmit:function(t){if("remove"===t.actionType)e.activeAnnotation=!1,e.chart.removeAnnotation(i);else{let s={};e.fieldsToOptions(t.fields,s),e.deselectAnnotation();let n=s.typeOptions;"measure"===i.options.type&&(n.crosshairY.enabled=0!==n.crosshairY.strokeWidth,n.crosshairX.enabled=0!==n.crosshairX.strokeWidth),i.update(s)}}})):(0,s.fireEvent)(e,"closePopup"),t.activeAnnotation=!0}(0,s.merge)(!0,t.prototype.defaultOptions.events,{click:o,touchstart:function(t){i=t.touches[0].clientX,e=t.touches[0].clientY},touchend:function(t){i&&Math.sqrt(Math.pow(i-t.changedTouches[0].clientX,2)+Math.pow(e-t.changedTouches[0].clientY,2))>=4||o.call(this,t)}})}class M{static compose(t,i){(0,s.pushUnique)(v,"NavigationBindings")&&((0,s.addEvent)(t,"remove",w),z(t),(0,s.objectEach)(t.types,t=>{z(t)}),(0,s.addEvent)(i,"destroy",A),(0,s.addEvent)(i,"load",$),(0,s.addEvent)(i,"render",C),(0,s.addEvent)(M,"closePopup",k),(0,s.addEvent)(M,"deselectButton",L),u(d))}constructor(t,i){this.boundClassNames=void 0,this.chart=t,this.options=i,this.eventsToUnbind=[],this.container=this.chart.container.getElementsByClassName(this.options.bindingsClassName||""),this.container.length||(this.container=y.getElementsByClassName(this.options.bindingsClassName||""))}getCoords(t){let i=this.chart.pointer?.getCoordinates(t);return[i&&x(i.xAxis),i&&x(i.yAxis)]}initEvents(){let t=this,i=t.chart,e=t.container,o=t.options;t.boundClassNames={},(0,s.objectEach)(o.bindings||{},i=>{t.boundClassNames[i.className]=i}),[].forEach.call(e,i=>{t.eventsToUnbind.push((0,s.addEvent)(i,"click",e=>{let s=t.getButtonEvents(i,e);s&&!s.button.classList.contains("highcharts-disabled-btn")&&t.bindingsButtonClick(s.button,s.events,e)}))}),(0,s.objectEach)(o.events||{},(i,e)=>{(0,s.isFunction)(i)&&t.eventsToUnbind.push((0,s.addEvent)(t,e,i,{passive:!1}))}),t.eventsToUnbind.push((0,s.addEvent)(i.container,"click",function(e){!i.cancelClick&&i.isInsidePlot(e.chartX-i.plotLeft,e.chartY-i.plotTop,{visiblePlotOnly:!0})&&t.bindingsChartClick(this,e)})),t.eventsToUnbind.push((0,s.addEvent)(i.container,n().isTouchDevice?"touchmove":"mousemove",function(i){t.bindingsContainerMouseMove(this,i)},n().isTouchDevice?{passive:!1}:void 0))}initUpdate(){let t=this;l.compose(this.chart).navigation.addUpdate(i=>{t.update(i)})}bindingsButtonClick(t,i,e){let n=this.chart,o=n.renderer.boxWrapper,a=!0;this.selectedButtonElement&&(this.selectedButtonElement.classList===t.classList&&(a=!1),(0,s.fireEvent)(this,"deselectButton",{button:this.selectedButtonElement}),this.nextEvent&&(this.currentUserDetails&&"annotations"===this.currentUserDetails.coll&&n.removeAnnotation(this.currentUserDetails),this.mouseMoveEvent=this.nextEvent=!1)),a?(this.selectedButton=i,this.selectedButtonElement=t,(0,s.fireEvent)(this,"selectButton",{button:t}),i.init&&i.init.call(this,t,e),(i.start||i.steps)&&n.renderer.boxWrapper.addClass("highcharts-draw-mode")):(n.stockTools&&t.classList.remove("highcharts-active"),o.removeClass("highcharts-draw-mode"),this.nextEvent=!1,this.mouseMoveEvent=!1,this.selectedButton=null)}bindingsChartClick(t,i){t=this.chart;let e=this.activeAnnotation,n=this.selectedButton,o=t.renderer.boxWrapper;e&&(e.cancelClick||i.activeAnnotation||!i.target.parentNode||function(t,i){let e=m.Element.prototype,s=e.matches||e.msMatchesSelector||e.webkitMatchesSelector,n=null;if(e.closest)n=e.closest.call(t,i);else do{if(s.call(t,i))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return n}(i.target,".highcharts-popup")?e.cancelClick&&setTimeout(()=>{e.cancelClick=!1},0):(0,s.fireEvent)(this,"closePopup")),n&&n.start&&(this.nextEvent?(this.nextEvent(i,this.currentUserDetails),this.steps&&(this.stepIndex++,n.steps[this.stepIndex]?this.mouseMoveEvent=this.nextEvent=n.steps[this.stepIndex]:((0,s.fireEvent)(this,"deselectButton",{button:this.selectedButtonElement}),o.removeClass("highcharts-draw-mode"),n.end&&n.end.call(this,i,this.currentUserDetails),this.nextEvent=!1,this.mouseMoveEvent=!1,this.selectedButton=null))):(this.currentUserDetails=n.start.call(this,i),this.currentUserDetails&&n.steps?(this.stepIndex=0,this.steps=!0,this.mouseMoveEvent=this.nextEvent=n.steps[this.stepIndex]):((0,s.fireEvent)(this,"deselectButton",{button:this.selectedButtonElement}),o.removeClass("highcharts-draw-mode"),this.steps=!1,this.selectedButton=null,n.end&&n.end.call(this,i,this.currentUserDetails))))}bindingsContainerMouseMove(t,i){this.mouseMoveEvent&&this.mouseMoveEvent(i,this.currentUserDetails)}fieldsToOptions(t,i){return(0,s.objectEach)(t,(t,e)=>{let n=parseFloat(t),o=e.split("."),a=o.length-1;if(!(0,s.isNumber)(n)||t.match(/px|em/g)||e.match(/format/g)||e.match(/title/g)||(t=n),"undefined"!==t){let e=i;o.forEach((i,n)=>{if("__proto__"!==i&&"constructor"!==i){let l=(0,s.pick)(o[n+1],"");a===n?e[i]=t:(e[i]||(e[i]=l.match(/\d/g)?[]:{}),e=e[i])}})}}),i}deselectAnnotation(){this.activeAnnotation&&(this.activeAnnotation.setControlPointsVisibility(!1),this.activeAnnotation=!1)}annotationToFields(t){let i=t.options,e=M.annotationsEditable,n=e.nestedOptions,o=(0,s.pick)(i.type,i.shapes?.[0]?.type,i.labels?.[0]?.type,"label"),a=M.annotationsNonEditable[i.langKey]||[],l={langKey:i.langKey,type:o};function r(i,e,o,l,c){let h;o&&(0,s.defined)(i)&&-1===a.indexOf(e)&&((o.indexOf&&o.indexOf(e))>=0||o[e]||!0===o)&&((0,s.isArray)(i)?(l[e]=[],i.forEach((t,i)=>{(0,s.isObject)(t)?(l[e][i]={},(0,s.objectEach)(t,(t,s)=>{r(t,s,n[e],l[e][i],e)})):r(t,0,n[e],l[e],e)})):(0,s.isObject)(i)?(h={},(0,s.isArray)(l)?(l.push(h),h[e]={},h=h[e]):l[e]=h,(0,s.objectEach)(i,(t,i)=>{r(t,i,0===e?o:n[e],h,e)})):"format"===e?l[e]=[f(i,t.labels[0].points[0]).toString(),"text"]:(0,s.isArray)(l)?l.push([i,b(c,i)]):l[e]=[i,b(e,i)])}return(0,s.objectEach)(i,(t,a)=>{"typeOptions"===a&&"basicAnnotation"!==l.type?(l[a]={},(0,s.objectEach)(i[a],(t,i)=>{r(t,i,n,l[a],i)})):r(t,a,e[o],l,a)}),l}getClickedClassNames(t,i){let e=i.target,n=[],o;for(;e&&e.tagName&&((o=(0,s.attr)(e,"class"))&&(n=n.concat(o.split(" ").map(t=>[t,e]))),(e=e.parentNode)!==t););return n}getButtonEvents(t,i){let e,s=this;return this.getClickedClassNames(t,i).forEach(t=>{s.boundClassNames[t[0]]&&!e&&(e={events:s.boundClassNames[t[0]],button:t[1]})}),e}update(t){this.options=(0,s.merge)(!0,this.options,t),this.removeEvents(),this.initEvents()}removeEvents(){this.eventsToUnbind.forEach(t=>t())}destroy(){this.removeEvents()}}M.annotationsEditable={nestedOptions:{labelOptions:["style","format","backgroundColor"],labels:["style"],label:["style"],style:["fontSize","color"],background:["fill","strokeWidth","stroke"],innerBackground:["fill","strokeWidth","stroke"],outerBackground:["fill","strokeWidth","stroke"],shapeOptions:["fill","strokeWidth","stroke"],shapes:["fill","strokeWidth","stroke"],line:["strokeWidth","stroke"],backgroundColors:[!0],connector:["fill","strokeWidth","stroke"],crosshairX:["strokeWidth","stroke"],crosshairY:["strokeWidth","stroke"]},circle:["shapes"],ellipse:["shapes"],verticalLine:[],label:["labelOptions"],measure:["background","crosshairY","crosshairX"],fibonacci:[],tunnel:["background","line","height"],pitchfork:["innerBackground","outerBackground"],rect:["shapes"],crookedLine:[],basicAnnotation:["shapes","labelOptions"]},M.annotationsNonEditable={rectangle:["crosshairX","crosshairY","labelOptions"],ellipse:["labelOptions"],circle:["labelOptions"]};let E=t.default.Series;var N=e.n(E);let{getOptions:O}=n(),{getAssignedAxis:T,getFieldType:S}=g,B=["apo","ad","aroon","aroonoscillator","atr","ao","cci","chaikin","cmf","cmo","disparityindex","dmi","dpo","linearregressionangle","linearregressionintercept","linearregressionslope","klinger","macd","mfi","momentum","natr","obv","ppo","roc","rsi","slowstochastic","stochastic","trix","williamsr"],H=["ad","cmf","klinger","mfi","obv","vbp","vwap"];function I(t,i){let e=i.pointer?.getCoordinates(t),s,n,o=Number.MAX_VALUE,a;if(i.navigationBindings&&e&&(s=T(e.xAxis),n=T(e.yAxis)),!s||!n)return;let l=s.value,r=n.value;if(n.axis.series.forEach(i=>{if(i.points){let e=i.searchPoint(t,!0);e&&o>Math.abs(e.x-l)&&(o=Math.abs(e.x-l),a=e)}}),a&&a.x&&a.y)return{x:a.x,y:a.y,below:r<a.y,series:a.series,xAxis:a.series.xAxis.index||0,yAxis:a.series.yAxis.index||0}}let V={indicatorsWithAxes:B,indicatorsWithVolume:H,addFlagFromForm:function(t){return function(i){let e=this,n=e.chart,o=n.stockTools,a=I(i,n);if(!a)return;let l={x:a.x,y:a.y},r={type:"flags",onSeries:a.series.id,shape:t,data:[l],xAxis:a.xAxis,yAxis:a.yAxis,point:{events:{click:function(){let t=this,i=t.options;(0,s.fireEvent)(e,"showPopup",{point:t,formType:"annotation-toolbar",options:{langKey:"flags",type:"flags",title:[i.title,S("title",i.title)],name:[i.name,S("name",i.name)]},onSubmit:function(i){"remove"===i.actionType?t.remove():t.update(e.fieldsToOptions(i.fields,{}))}})}}}};o&&o.guiEnabled||n.addSeries(r),(0,s.fireEvent)(e,"showPopup",{formType:"flag",options:{langKey:"flags",type:"flags",title:["A",S("label","A")],name:["Flag A",S("label","Flag A")]},onSubmit:function(t){e.fieldsToOptions(t.fields,r.data?.[0]),n.addSeries(r)}})}},attractToPoint:I,getAssignedAxis:T,isNotNavigatorYAxis:function(t){return"highcharts-navigator-yaxis"!==t.userOptions.className},isPriceIndicatorEnabled:function(t){return t.some(t=>t.lastVisiblePrice||t.lastPrice)},manageIndicators:function(t){let i,e,n,o,a=this.chart,l={linkedTo:t.linkedTo,type:t.type};if("edit"===t.actionType)this.fieldsToOptions(t.fields,l),(o=a.get(t.seriesId))&&o.update(l,!1);else if("remove"===t.actionType){if((o=a.get(t.seriesId))&&(i=o.yAxis,o.linkedSeries&&o.linkedSeries.forEach(t=>{t.remove(!1)}),o.remove(!1),B.indexOf(o.type)>=0)){let t={height:i.options.height,top:i.options.top};i.remove(!1),this.resizeYAxes(t)}}else l.id=(0,s.uniqueKey)(),this.fieldsToOptions(t.fields,l),e=a.get(l.linkedTo),n=O().plotOptions,void 0!==e&&e instanceof N()&&"sum"===e.getDGApproximation()&&!(0,s.defined)(n&&n[l.type]&&n.dataGrouping&&n.dataGrouping.approximation)&&(l.dataGrouping={approximation:"sum"}),B.indexOf(t.type)>=0?(l.yAxis=(i=a.addAxis({id:(0,s.uniqueKey)(),offset:0,opposite:!0,title:{text:""},tickPixelInterval:40,showLastLabel:!1,labels:{align:"left",y:-2}},!1,!1)).options.id,this.resizeYAxes()):l.yAxis=a.get(t.linkedTo).options.yAxis,H.indexOf(t.type)>=0&&(l.params.volumeSeriesID=a.series.filter(function(t){return"column"===t.options.type})[0].options.id),a.addSeries(l,!1);(0,s.fireEvent)(this,"deselectButton",{button:this.selectedButtonElement}),a.redraw()},shallowArraysEqual:function(t,i){if(!(0,s.defined)(t)||!(0,s.defined)(i)||t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(t[e]!==i[e])return!1;return!0},updateHeight:function(t,i){let e=i.options.typeOptions,n=(0,s.isNumber)(e.yAxis)&&this.chart.yAxis[e.yAxis];n&&e.points&&i.update({typeOptions:{height:n.toValue(t[n.horiz?"chartX":"chartY"])-(e.points[1].y||0)}})},updateNthPoint:function(t){return function(i,e){let n=e.options.typeOptions,o=(0,s.isNumber)(n.xAxis)&&this.chart.xAxis[n.xAxis],a=(0,s.isNumber)(n.yAxis)&&this.chart.yAxis[n.yAxis];o&&a&&(n.points.forEach((e,s)=>{s>=t&&(e.x=o.toValue(i[o.horiz?"chartX":"chartY"]),e.y=a.toValue(i[a.horiz?"chartX":"chartY"]))}),e.update({typeOptions:{points:n.points}}))}},updateRectSize:function(t,i){let e=i.chart,n=i.options.typeOptions,o=(0,s.isNumber)(n.xAxis)&&e.xAxis[n.xAxis],a=(0,s.isNumber)(n.yAxis)&&e.yAxis[n.yAxis];if(o&&a){let s=o.toValue(t[o.horiz?"chartX":"chartY"]),l=a.toValue(t[a.horiz?"chartX":"chartY"]),r=s-n.point.x,c=n.point.y-l;i.update({typeOptions:{background:{width:e.inverted?c:r,height:e.inverted?r:c}}})}}},P=(t,i,e)=>{let s,n=e[t];return"renderer"===i&&n?(n=encodeURIComponent(n),s=`url("data:image/svg+xml;charset=utf-8,${n}")`):s=i.startsWith("http")&&i.match(/\.(png|svg|jpe?g|gif)$/ig)?'url("'+i+'")':`url("${i}${t}")`,s},Y=t=>`<?xml version="1.0" encoding="utf-8"?>
|
|
14
|
+
*/import*as t from"../highcharts.js";let i={};i.n=t=>{let e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{if(Array.isArray(e))for(var s=0;s<e.length;){var n=e[s++],o=e[s++];i.o(t,n)?0===o&&s++:0===o?Object.defineProperty(t,n,{enumerable:!0,value:e[s++]}):Object.defineProperty(t,n,{enumerable:!0,get:o})}else for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,i)=>Object.prototype.hasOwnProperty.call(t,i);let e=t.default;var s,n=i.n(e),o=s||(s={});o.compose=function(t){return t.navigation||(t.navigation=new a(t)),t};class a{constructor(t){this.updates=[],this.chart=t}addUpdate(t){this.chart.navigation.updates.push(t)}update(t,i){this.updates.forEach(e=>{e.call(this.chart,t,i)})}}o.Additions=a;let l=s,r=t.default.Templating;var c=i.n(r);let h={backgroundColor:"color",backgroundColors:"color",borderColor:"color",borderRadius:"string",color:"color",fill:"color",fontSize:"string",labels:"string",name:"string",stroke:"color",title:"string"},g={annotationsFieldsTypes:h,getAssignedAxis:function(t){return t.filter(t=>{let i=t.axis.getExtremes(),s=i.min,n=i.max,o=t.axis.minPointOffset??0;return(0,e.isNumber)(s)&&(0,e.isNumber)(n)&&t.value>=s-o&&t.value<=n+o&&!t.axis.options.isInternal})[0]},getAxisFromOptions:function(t,i,s){return(0,e.isNumber)(s)?t[i][s]:(0,e.defined)(s)?(0,e.find)(t[i],t=>t.options.id===s):void 0},getFieldType:function(t,i){let s=h[t],n=typeof i;return(0,e.defined)(s)&&(n=s),({string:"text",number:"number",boolean:"checkbox",color:"color"})[n]}},{getAssignedAxis:p}=g,d={lang:{navigation:{popup:{simpleShapes:"Simple shapes",lines:"Lines",circle:"Circle",ellipse:"Ellipse",rectangle:"Rectangle",label:"Label",shapeOptions:"Shape options",typeOptions:"Details",fill:"Fill",format:"Text",strokeWidth:"Line width",stroke:"Line color",title:"Title",name:"Name",labelOptions:"Label options",labels:"Labels",backgroundColor:"Background color",backgroundColors:"Background colors",borderColor:"Border color",borderRadius:"Border radius",borderWidth:"Border width",style:"Style",padding:"Padding",fontSize:"Font size",color:"Color",height:"Height",shapes:"Shape options"}}},navigation:{bindingsClassName:"highcharts-bindings-container",bindings:{circleAnnotation:{className:"highcharts-circle-annotation",start:function(t){let i=this.chart.pointer?.getCoordinates(t),s=i&&p(i.xAxis),n=i&&p(i.yAxis),o=this.chart.options.navigation;if(s&&n)return this.chart.addAnnotation((0,e.merge)({langKey:"circle",type:"basicAnnotation",shapes:[{type:"circle",point:{x:s.value,y:n.value,xAxis:s.axis.index,yAxis:n.axis.index},r:5}]},o.annotationsOptions,o.bindings.circleAnnotation.annotationsOptions))},steps:[function(t,i){let s,n=i.options.shapes,o=n&&n[0]&&n[0].point||{};if((0,e.isNumber)(o.xAxis)&&(0,e.isNumber)(o.yAxis)){let i=this.chart.inverted,e=this.chart.xAxis[o.xAxis].toPixels(o.x),n=this.chart.yAxis[o.yAxis].toPixels(o.y);s=Math.max(Math.sqrt(Math.pow(i?n-t.chartX:e-t.chartX,2)+Math.pow(i?e-t.chartY:n-t.chartY,2)),5)}i.update({shapes:[{r:s}]})}]},ellipseAnnotation:{className:"highcharts-ellipse-annotation",start:function(t){let i=this.chart.pointer?.getCoordinates(t),s=i&&p(i.xAxis),n=i&&p(i.yAxis),o=this.chart.options.navigation;if(s&&n)return this.chart.addAnnotation((0,e.merge)({langKey:"ellipse",type:"basicAnnotation",shapes:[{type:"ellipse",xAxis:s.axis.index,yAxis:n.axis.index,points:[{x:s.value,y:n.value},{x:s.value,y:n.value}],ry:1}]},o.annotationsOptions,o.bindings.ellipseAnnotation.annotationsOptions))},steps:[function(t,i){let e=i.shapes[0],s=e.getAbsolutePosition(e.points[1]);e.translatePoint(t.chartX-s.x,t.chartY-s.y,1),e.redraw(!1)},function(t,i){let e=i.shapes[0],s=e.getAbsolutePosition(e.points[0]),n=e.getAbsolutePosition(e.points[1]),o=e.getDistanceFromLine(s,n,t.chartX,t.chartY),a=e.getYAxis(),l=Math.abs(a.toValue(0)-a.toValue(o));e.setYRadius(l),e.redraw(!1)}]},rectangleAnnotation:{className:"highcharts-rectangle-annotation",start:function(t){let i=this.chart.pointer?.getCoordinates(t),s=i&&p(i.xAxis),n=i&&p(i.yAxis);if(!s||!n)return;let o=s.value,a=n.value,l=s.axis.index,r=n.axis.index,c=this.chart.options.navigation;return this.chart.addAnnotation((0,e.merge)({langKey:"rectangle",type:"basicAnnotation",shapes:[{type:"path",points:[{xAxis:l,yAxis:r,x:o,y:a},{xAxis:l,yAxis:r,x:o,y:a},{xAxis:l,yAxis:r,x:o,y:a},{xAxis:l,yAxis:r,x:o,y:a},{command:"Z"}]}]},c.annotationsOptions,c.bindings.rectangleAnnotation.annotationsOptions))},steps:[function(t,i){let e=i.options.shapes,s=e&&e[0]&&e[0].points||[],n=this.chart.pointer?.getCoordinates(t),o=n&&p(n.xAxis),a=n&&p(n.yAxis);if(o&&a){let t=o.value,e=a.value;s[1].x=t,s[2].x=t,s[2].y=e,s[3].y=e,i.update({shapes:[{points:s}]})}}]},labelAnnotation:{className:"highcharts-label-annotation",start:function(t){let i=this.chart.pointer?.getCoordinates(t),s=i&&p(i.xAxis),n=i&&p(i.yAxis),o=this.chart.options.navigation;if(s&&n)return this.chart.addAnnotation((0,e.merge)({langKey:"label",type:"basicAnnotation",labelOptions:{format:"{y:.2f}",overflow:"none",crop:!0},labels:[{point:{xAxis:s.axis.index,yAxis:n.axis.index,x:s.value,y:n.value}}]},o.annotationsOptions,o.bindings.labelAnnotation.annotationsOptions))}}},events:{},annotationsOptions:{animation:{defer:0}}}},{setOptions:u}=n(),{format:f}=c(),{composed:v,doc:y,win:m}=n(),{getAssignedAxis:x,getFieldType:b}=g;function w(){this.chart.navigationBindings&&this.chart.navigationBindings.deselectAnnotation()}function A(){this.navigationBindings&&this.navigationBindings.destroy()}function $(){let t=this.options;t&&t.navigation&&t.navigation.bindings&&(this.navigationBindings=new M(this,t.navigation),this.navigationBindings.initEvents(),this.navigationBindings.initUpdate())}function C(){let t=this.navigationBindings,i="highcharts-disabled-btn";if(this&&t){let s=!1;if(this.series.forEach(t=>{!t.options.isInternal&&t.visible&&(s=!0)}),this.navigationBindings&&this.navigationBindings.container&&this.navigationBindings.container[0]){let n=this.navigationBindings.container[0];(0,e.objectEach)(t.boundClassNames,(t,e)=>{let o=n.querySelectorAll("."+e);if(o)for(let e=0;e<o.length;e++){let n=o[e],a=n.className;"normal"===t.noDataState||s?-1!==a.indexOf(i)&&n.classList.remove(i):-1===a.indexOf(i)&&(n.className+=" "+i)}})}}}function k(){this.deselectAnnotation()}function L(){this.selectedButtonElement=null}function z(t){let i,s,n=t.prototype.defaultOptions.events&&t.prototype.defaultOptions.events.click;function o(t){let i=this,s=i.chart.navigationBindings,o=s.activeAnnotation;n&&n.call(i,t),o!==i?(s.deselectAnnotation(),s.activeAnnotation=i,i.setControlPointsVisibility(!0),(0,e.fireEvent)(s,"showPopup",{annotation:i,formType:"annotation-toolbar",options:s.annotationToFields(i),onSubmit:function(t){if("remove"===t.actionType)s.activeAnnotation=!1,s.chart.removeAnnotation(i);else{let e={};s.fieldsToOptions(t.fields,e),s.deselectAnnotation();let n=e.typeOptions;"measure"===i.options.type&&(n.crosshairY.enabled=0!==n.crosshairY.strokeWidth,n.crosshairX.enabled=0!==n.crosshairX.strokeWidth),i.update(e)}}})):(0,e.fireEvent)(s,"closePopup"),t.activeAnnotation=!0}(0,e.merge)(!0,t.prototype.defaultOptions.events,{click:o,touchstart:function(t){i=t.touches[0].clientX,s=t.touches[0].clientY},touchend:function(t){i&&Math.sqrt(Math.pow(i-t.changedTouches[0].clientX,2)+Math.pow(s-t.changedTouches[0].clientY,2))>=4||o.call(this,t)}})}class M{static compose(t,i){(0,e.pushUnique)(v,"NavigationBindings")&&((0,e.addEvent)(t,"remove",w),z(t),(0,e.objectEach)(t.types,t=>{z(t)}),(0,e.addEvent)(i,"destroy",A),(0,e.addEvent)(i,"load",$),(0,e.addEvent)(i,"render",C),(0,e.addEvent)(M,"closePopup",k),(0,e.addEvent)(M,"deselectButton",L),u(d))}constructor(t,i){this.boundClassNames=void 0,this.chart=t,this.options=i,this.eventsToUnbind=[],this.container=this.chart.container.getElementsByClassName(this.options.bindingsClassName||""),this.container.length||(this.container=y.getElementsByClassName(this.options.bindingsClassName||""))}getCoords(t){let i=this.chart.pointer?.getCoordinates(t);return[i&&x(i.xAxis),i&&x(i.yAxis)]}initEvents(){let t=this,i=t.chart,s=t.container,o=t.options;t.boundClassNames={},(0,e.objectEach)(o.bindings||{},i=>{t.boundClassNames[i.className]=i}),[].forEach.call(s,i=>{t.eventsToUnbind.push((0,e.addEvent)(i,"click",e=>{let s=t.getButtonEvents(i,e);s&&!s.button.classList.contains("highcharts-disabled-btn")&&t.bindingsButtonClick(s.button,s.events,e)}))}),(0,e.objectEach)(o.events||{},(i,s)=>{(0,e.isFunction)(i)&&t.eventsToUnbind.push((0,e.addEvent)(t,s,i,{passive:!1}))}),t.eventsToUnbind.push((0,e.addEvent)(i.container,"click",function(e){!i.cancelClick&&i.isInsidePlot(e.chartX-i.plotLeft,e.chartY-i.plotTop,{visiblePlotOnly:!0})&&t.bindingsChartClick(this,e)})),t.eventsToUnbind.push((0,e.addEvent)(i.container,n().isTouchDevice?"touchmove":"mousemove",function(i){t.bindingsContainerMouseMove(this,i)},n().isTouchDevice?{passive:!1}:void 0))}initUpdate(){let t=this;l.compose(this.chart).navigation.addUpdate(i=>{t.update(i)})}bindingsButtonClick(t,i,s){let n=this.chart,o=n.renderer.boxWrapper,a=!0;this.selectedButtonElement&&(this.selectedButtonElement.classList===t.classList&&(a=!1),(0,e.fireEvent)(this,"deselectButton",{button:this.selectedButtonElement}),this.nextEvent&&(this.currentUserDetails&&"annotations"===this.currentUserDetails.coll&&n.removeAnnotation(this.currentUserDetails),this.mouseMoveEvent=this.nextEvent=!1)),a?(this.selectedButton=i,this.selectedButtonElement=t,(0,e.fireEvent)(this,"selectButton",{button:t}),i.init&&i.init.call(this,t,s),(i.start||i.steps)&&n.renderer.boxWrapper.addClass("highcharts-draw-mode")):(n.stockTools&&t.classList.remove("highcharts-active"),o.removeClass("highcharts-draw-mode"),this.nextEvent=!1,this.mouseMoveEvent=!1,this.selectedButton=null)}bindingsChartClick(t,i){t=this.chart;let s=this.activeAnnotation,n=this.selectedButton,o=t.renderer.boxWrapper;s&&(s.cancelClick||i.activeAnnotation||!i.target.parentNode||function(t,i){let e=m.Element.prototype,s=e.matches||e.msMatchesSelector||e.webkitMatchesSelector,n=null;if(e.closest)n=e.closest.call(t,i);else do{if(s.call(t,i))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return n}(i.target,".highcharts-popup")?s.cancelClick&&setTimeout(()=>{s.cancelClick=!1},0):(0,e.fireEvent)(this,"closePopup")),n&&n.start&&(this.nextEvent?(this.nextEvent(i,this.currentUserDetails),this.steps&&(this.stepIndex++,n.steps[this.stepIndex]?this.mouseMoveEvent=this.nextEvent=n.steps[this.stepIndex]:((0,e.fireEvent)(this,"deselectButton",{button:this.selectedButtonElement}),o.removeClass("highcharts-draw-mode"),n.end&&n.end.call(this,i,this.currentUserDetails),this.nextEvent=!1,this.mouseMoveEvent=!1,this.selectedButton=null))):(this.currentUserDetails=n.start.call(this,i),this.currentUserDetails&&n.steps?(this.stepIndex=0,this.steps=!0,this.mouseMoveEvent=this.nextEvent=n.steps[this.stepIndex]):((0,e.fireEvent)(this,"deselectButton",{button:this.selectedButtonElement}),o.removeClass("highcharts-draw-mode"),this.steps=!1,this.selectedButton=null,n.end&&n.end.call(this,i,this.currentUserDetails))))}bindingsContainerMouseMove(t,i){this.mouseMoveEvent&&this.mouseMoveEvent(i,this.currentUserDetails)}fieldsToOptions(t,i){return(0,e.objectEach)(t,(t,s)=>{let n=parseFloat(t),o=s.split("."),a=o.length-1;if(!(0,e.isNumber)(n)||t.match(/px|em/g)||s.match(/format/g)||s.match(/title/g)||(t=n),"undefined"!==t){let e=i;o.forEach((i,s)=>{if("__proto__"!==i&&"constructor"!==i){let n=o[s+1]??"";a===s?e[i]=t:(e[i]||(e[i]=n.match(/\d/g)?[]:{}),e=e[i])}})}}),i}deselectAnnotation(){this.activeAnnotation&&(this.activeAnnotation.setControlPointsVisibility(!1),this.activeAnnotation=!1)}annotationToFields(t){let i=t.options,s=M.annotationsEditable,n=s.nestedOptions,o=i.type??i.shapes?.[0]?.type??i.labels?.[0]?.type??"label",a=M.annotationsNonEditable[i.langKey]||[],l={langKey:i.langKey,type:o};function r(i,s,o,l,c){let h;o&&(0,e.defined)(i)&&-1===a.indexOf(s)&&((o.indexOf&&o.indexOf(s))>=0||o[s]||!0===o)&&((0,e.isArray)(i)?(l[s]=[],i.forEach((t,i)=>{(0,e.isObject)(t)?(l[s][i]={},(0,e.objectEach)(t,(t,e)=>{r(t,e,n[s],l[s][i],s)})):r(t,0,n[s],l[s],s)})):(0,e.isObject)(i)?(h={},(0,e.isArray)(l)?(l.push(h),h[s]={},h=h[s]):l[s]=h,(0,e.objectEach)(i,(t,i)=>{r(t,i,0===s?o:n[s],h,s)})):"format"===s?l[s]=[f(i,t.labels[0].points[0]).toString(),"text"]:(0,e.isArray)(l)?l.push([i,b(c,i)]):l[s]=[i,b(s,i)])}return(0,e.objectEach)(i,(t,a)=>{"typeOptions"===a&&"basicAnnotation"!==l.type?(l[a]={},(0,e.objectEach)(i[a],(t,i)=>{r(t,i,n,l[a],i)})):r(t,a,s[o],l,a)}),l}getClickedClassNames(t,i){let s=i.target,n=[],o;for(;s&&s.tagName&&((o=(0,e.attr)(s,"class"))&&(n=n.concat(o.split(" ").map(t=>[t,s]))),(s=s.parentNode)!==t););return n}getButtonEvents(t,i){let e,s=this;return this.getClickedClassNames(t,i).forEach(t=>{s.boundClassNames[t[0]]&&!e&&(e={events:s.boundClassNames[t[0]],button:t[1]})}),e}update(t){this.options=(0,e.merge)(!0,this.options,t),this.removeEvents(),this.initEvents()}removeEvents(){this.eventsToUnbind.forEach(t=>t())}destroy(){this.removeEvents()}}M.annotationsEditable={nestedOptions:{labelOptions:["style","format","backgroundColor"],labels:["style"],label:["style"],style:["fontSize","color"],background:["fill","strokeWidth","stroke"],innerBackground:["fill","strokeWidth","stroke"],outerBackground:["fill","strokeWidth","stroke"],shapeOptions:["fill","strokeWidth","stroke"],shapes:["fill","strokeWidth","stroke"],line:["strokeWidth","stroke"],backgroundColors:[!0],connector:["fill","strokeWidth","stroke"],crosshairX:["strokeWidth","stroke"],crosshairY:["strokeWidth","stroke"]},circle:["shapes"],ellipse:["shapes"],verticalLine:[],label:["labelOptions"],measure:["background","crosshairY","crosshairX"],fibonacci:[],tunnel:["background","line","height"],pitchfork:["innerBackground","outerBackground"],rect:["shapes"],crookedLine:[],basicAnnotation:["shapes","labelOptions"]},M.annotationsNonEditable={rectangle:["crosshairX","crosshairY","labelOptions"],ellipse:["labelOptions"],circle:["labelOptions"]};let E=t.default.Series;var N=i.n(E);let{getOptions:O}=n(),{getAssignedAxis:T,getFieldType:S}=g,B=["apo","ad","aroon","aroonoscillator","atr","ao","cci","chaikin","cmf","cmo","disparityindex","dmi","dpo","linearregressionangle","linearregressionintercept","linearregressionslope","klinger","macd","mfi","momentum","natr","obv","ppo","roc","rsi","slowstochastic","stochastic","trix","williamsr"],H=["ad","cmf","klinger","mfi","obv","vbp","vwap"];function I(t,i){let e=i.pointer?.getCoordinates(t),s,n,o=Number.MAX_VALUE,a;if(i.navigationBindings&&e&&(s=T(e.xAxis),n=T(e.yAxis)),!s||!n)return;let l=s.value,r=n.value;if(n.axis.series.forEach(i=>{if(i.points){let e=i.searchPoint(t,!0);e&&o>Math.abs(e.x-l)&&(o=Math.abs(e.x-l),a=e)}}),a&&a.x&&a.y)return{x:a.x,y:a.y,below:r<a.y,series:a.series,xAxis:a.series.xAxis.index||0,yAxis:a.series.yAxis.index||0}}let V={indicatorsWithAxes:B,indicatorsWithVolume:H,addFlagFromForm:function(t){return function(i){let s=this,n=s.chart,o=n.stockTools,a=I(i,n);if(!a)return;let l={x:a.x,y:a.y},r={type:"flags",onSeries:a.series.id,shape:t,data:[l],xAxis:a.xAxis,yAxis:a.yAxis,point:{events:{click:function(){let t=this,i=t.options;(0,e.fireEvent)(s,"showPopup",{point:t,formType:"annotation-toolbar",options:{langKey:"flags",type:"flags",title:[i.title,S("title",i.title)],name:[i.name,S("name",i.name)]},onSubmit:function(i){"remove"===i.actionType?t.remove():t.update(s.fieldsToOptions(i.fields,{}))}})}}}};o&&o.guiEnabled||n.addSeries(r),(0,e.fireEvent)(s,"showPopup",{formType:"flag",options:{langKey:"flags",type:"flags",title:["A",S("label","A")],name:["Flag A",S("label","Flag A")]},onSubmit:function(t){s.fieldsToOptions(t.fields,r.data?.[0]),n.addSeries(r)}})}},attractToPoint:I,getAssignedAxis:T,isNotNavigatorYAxis:function(t){return"highcharts-navigator-yaxis"!==t.userOptions.className},isPriceIndicatorEnabled:function(t){return t.some(t=>t.lastVisiblePrice||t.lastPrice)},manageIndicators:function(t){let i,s,n,o,a=this.chart,l={linkedTo:t.linkedTo,type:t.type};if("edit"===t.actionType)this.fieldsToOptions(t.fields,l),(o=a.get(t.seriesId))&&o.update(l,!1);else if("remove"===t.actionType){if((o=a.get(t.seriesId))&&(i=o.yAxis,o.linkedSeries&&o.linkedSeries.forEach(t=>{t.remove(!1)}),o.remove(!1),B.indexOf(o.type)>=0)){let t={height:i.options.height,top:i.options.top};i.remove(!1),this.resizeYAxes(t)}}else l.id=(0,e.uniqueKey)(),this.fieldsToOptions(t.fields,l),s=a.get(l.linkedTo),n=O().plotOptions,void 0!==s&&s instanceof N()&&"sum"===s.getDGApproximation()&&!(0,e.defined)(n&&n[l.type]&&n.dataGrouping&&n.dataGrouping.approximation)&&(l.dataGrouping={approximation:"sum"}),B.indexOf(t.type)>=0?(l.yAxis=(i=a.addAxis({id:(0,e.uniqueKey)(),offset:0,opposite:!0,title:{text:""},tickPixelInterval:40,showLastLabel:!1,labels:{align:"left",y:-2}},!1,!1)).options.id,this.resizeYAxes()):l.yAxis=a.get(t.linkedTo).options.yAxis,H.indexOf(t.type)>=0&&(l.params.volumeSeriesID=a.series.filter(function(t){return"column"===t.options.type})[0].options.id),a.addSeries(l,!1);(0,e.fireEvent)(this,"deselectButton",{button:this.selectedButtonElement}),a.redraw()},shallowArraysEqual:function(t,i){if(!(0,e.defined)(t)||!(0,e.defined)(i)||t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(t[e]!==i[e])return!1;return!0},updateHeight:function(t,i){let s=i.options.typeOptions,n=(0,e.isNumber)(s.yAxis)&&this.chart.yAxis[s.yAxis];n&&s.points&&i.update({typeOptions:{height:n.toValue(t[n.horiz?"chartX":"chartY"])-(s.points[1].y||0)}})},updateNthPoint:function(t){return function(i,s){let n=s.options.typeOptions,o=(0,e.isNumber)(n.xAxis)&&this.chart.xAxis[n.xAxis],a=(0,e.isNumber)(n.yAxis)&&this.chart.yAxis[n.yAxis];o&&a&&(n.points.forEach((e,s)=>{s>=t&&(e.x=o.toValue(i[o.horiz?"chartX":"chartY"]),e.y=a.toValue(i[a.horiz?"chartX":"chartY"]))}),s.update({typeOptions:{points:n.points}}))}},updateRectSize:function(t,i){let s=i.chart,n=i.options.typeOptions,o=(0,e.isNumber)(n.xAxis)&&s.xAxis[n.xAxis],a=(0,e.isNumber)(n.yAxis)&&s.yAxis[n.yAxis];if(o&&a){let e=o.toValue(t[o.horiz?"chartX":"chartY"]),l=a.toValue(t[a.horiz?"chartX":"chartY"]),r=e-n.point.x,c=n.point.y-l;i.update({typeOptions:{background:{width:s.inverted?c:r,height:s.inverted?r:c}}})}}},P=(t,i,e)=>{let s,n=e[t];return"renderer"===i&&n?(n=encodeURIComponent(n),s=`url("data:image/svg+xml;charset=utf-8,${n}")`):s=i.startsWith("http")&&i.match(/\.(png|svg|jpe?g|gif)$/ig)?'url("'+i+'")':`url("${i}${t}")`,s},Y=t=>`<?xml version="1.0" encoding="utf-8"?>
|
|
15
15
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 ${t} ${t}">`,W="#4B4B4D",R={"annotations-hidden.svg":`${Y(32)}
|
|
16
16
|
<g>
|
|
17
17
|
<g>
|
|
@@ -704,4 +704,4 @@
|
|
|
704
704
|
<polygon fill="${W}" points="16.239,20 14.746,20 14.746,23.986 13.252,23.986 15.496,27.874 17.739,23.986 16.239,23.986"/>
|
|
705
705
|
</g>
|
|
706
706
|
</svg>
|
|
707
|
-
`},{addFlagFromForm:X,attractToPoint:F,isNotNavigatorYAxis:D,isPriceIndicatorEnabled:U,manageIndicators:K,updateHeight:q,updateNthPoint:Z,updateRectSize:j}=V,_={segment:{className:"highcharts-segment",start:function(t){let[i,e]=this.getCoords(t);if(!i||!e)return;let n=this.chart.options.navigation,o=(0,s.merge)({langKey:"segment",type:"crookedLine",typeOptions:{xAxis:i.axis.index,yAxis:e.axis.index,points:[{x:i.value,y:e.value},{x:i.value,y:e.value}]}},n.annotationsOptions,n.bindings?.segment.annotationsOptions);return this.chart.addAnnotation(o)},steps:[Z(1)]},arrowSegment:{className:"highcharts-arrow-segment",start:function(t){let[i,e]=this.getCoords(t);if(!i||!e)return;let n=this.chart.options.navigation,o=(0,s.merge)({langKey:"arrowSegment",type:"crookedLine",typeOptions:{line:{markerEnd:"arrow"},xAxis:i.axis.index,yAxis:e.axis.index,points:[{x:i.value,y:e.value},{x:i.value,y:e.value}]}},n.annotationsOptions,n.bindings?.arrowSegment.annotationsOptions);return this.chart.addAnnotation(o)},steps:[Z(1)]},ray:{className:"highcharts-ray",start:function(t){let[i,e]=this.getCoords(t);if(!i||!e)return;let n=this.chart.options.navigation,o=(0,s.merge)({langKey:"ray",type:"infinityLine",typeOptions:{type:"ray",xAxis:i.axis.index,yAxis:e.axis.index,points:[{x:i.value,y:e.value},{x:i.value,y:e.value}]}},n.annotationsOptions,n.bindings?.ray.annotationsOptions);return this.chart.addAnnotation(o)},steps:[Z(1)]},arrowRay:{className:"highcharts-arrow-ray",start:function(t){let[i,e]=this.getCoords(t);if(!i||!e)return;let n=this.chart.options.navigation,o=(0,s.merge)({langKey:"arrowRay",type:"infinityLine",typeOptions:{type:"ray",line:{markerEnd:"arrow"},xAxis:i.axis.index,yAxis:e.axis.index,points:[{x:i.value,y:e.value},{x:i.value,y:e.value}]}},n.annotationsOptions,n.bindings?.arrowRay.annotationsOptions);return this.chart.addAnnotation(o)},steps:[Z(1)]},infinityLine:{className:"highcharts-infinity-line",start:function(t){let[i,e]=this.getCoords(t);if(!i||!e)return;let n=this.chart.options.navigation,o=(0,s.merge)({langKey:"infinityLine",type:"infinityLine",typeOptions:{type:"line",xAxis:i.axis.index,yAxis:e.axis.index,points:[{x:i.value,y:e.value},{x:i.value,y:e.value}]}},n.annotationsOptions,n.bindings?.infinityLine.annotationsOptions);return this.chart.addAnnotation(o)},steps:[Z(1)]},arrowInfinityLine:{className:"highcharts-arrow-infinity-line",start:function(t){let[i,e]=this.getCoords(t);if(!i||!e)return;let n=this.chart.options.navigation,o=(0,s.merge)({langKey:"arrowInfinityLine",type:"infinityLine",typeOptions:{type:"line",line:{markerEnd:"arrow"},xAxis:i.axis.index,yAxis:e.axis.index,points:[{x:i.value,y:e.value},{x:i.value,y:e.value}]}},n.annotationsOptions,n.bindings?.arrowInfinityLine.annotationsOptions);return this.chart.addAnnotation(o)},steps:[Z(1)]},horizontalLine:{className:"highcharts-horizontal-line",start:function(t){let[i,e]=this.getCoords(t);if(!i||!e)return;let n=this.chart.options.navigation,o=(0,s.merge)({langKey:"horizontalLine",type:"infinityLine",draggable:"y",typeOptions:{type:"horizontalLine",xAxis:i.axis.index,yAxis:e.axis.index,points:[{x:i.value,y:e.value}]}},n.annotationsOptions,n.bindings?.horizontalLine.annotationsOptions);this.chart.addAnnotation(o)}},verticalLine:{className:"highcharts-vertical-line",start:function(t){let[i,e]=this.getCoords(t);if(!i||!e)return;let n=this.chart.options.navigation,o=(0,s.merge)({langKey:"verticalLine",type:"infinityLine",draggable:"x",typeOptions:{type:"verticalLine",xAxis:i.axis.index,yAxis:e.axis.index,points:[{x:i.value,y:e.value}]}},n.annotationsOptions,n.bindings?.verticalLine.annotationsOptions);this.chart.addAnnotation(o)}},crooked3:{className:"highcharts-crooked3",start:function(t){let[i,e]=this.getCoords(t);if(!i||!e)return;let n=i.value,o=e.value,a=this.chart.options.navigation,l=(0,s.merge)({langKey:"crooked3",type:"crookedLine",typeOptions:{xAxis:i.axis.index,yAxis:e.axis.index,points:[{x:n,y:o},{x:n,y:o},{x:n,y:o}]}},a.annotationsOptions,a.bindings?.crooked3.annotationsOptions);return this.chart.addAnnotation(l)},steps:[Z(1),Z(2)]},crooked5:{className:"highcharts-crooked5",start:function(t){let[i,e]=this.getCoords(t);if(!i||!e)return;let n=i.value,o=e.value,a=this.chart.options.navigation,l=(0,s.merge)({langKey:"crooked5",type:"crookedLine",typeOptions:{xAxis:i.axis.index,yAxis:e.axis.index,points:[{x:n,y:o},{x:n,y:o},{x:n,y:o},{x:n,y:o},{x:n,y:o}]}},a.annotationsOptions,a.bindings?.crooked5.annotationsOptions);return this.chart.addAnnotation(l)},steps:[Z(1),Z(2),Z(3),Z(4)]},elliott3:{className:"highcharts-elliott3",start:function(t){let[i,e]=this.getCoords(t);if(!i||!e)return;let n=i.value,o=e.value,a=this.chart.options.navigation,l=(0,s.merge)({langKey:"elliott3",type:"elliottWave",typeOptions:{xAxis:i.axis.index,yAxis:e.axis.index,points:[{x:n,y:o},{x:n,y:o},{x:n,y:o},{x:n,y:o}]},labelOptions:{style:{color:"var(--highcharts-neutral-color-60)"}}},a.annotationsOptions,a.bindings?.elliott3.annotationsOptions);return this.chart.addAnnotation(l)},steps:[Z(1),Z(2),Z(3)]},elliott5:{className:"highcharts-elliott5",start:function(t){let[i,e]=this.getCoords(t);if(!i||!e)return;let n=i.value,o=e.value,a=this.chart.options.navigation,l=(0,s.merge)({langKey:"elliott5",type:"elliottWave",typeOptions:{xAxis:i.axis.index,yAxis:e.axis.index,points:[{x:n,y:o},{x:n,y:o},{x:n,y:o},{x:n,y:o},{x:n,y:o},{x:n,y:o}]}},a.annotationsOptions,a.bindings?.elliott5.annotationsOptions);return this.chart.addAnnotation(l)},steps:[Z(1),Z(2),Z(3),Z(4),Z(5)]},measureX:{className:"highcharts-measure-x",start:function(t){let[i,e]=this.getCoords(t);if(!i||!e)return;let n=i.value,o=e.value,a=this.chart.options.navigation,l=(0,s.merge)({langKey:"measure",type:"measure",typeOptions:{selectType:"x",xAxis:i.axis.index,yAxis:e.axis.index,point:{x:n,y:o},crosshairX:{strokeWidth:1},crosshairY:{enabled:!1,strokeWidth:0},background:{width:0,height:0}}},a.annotationsOptions,a.bindings?.measureX.annotationsOptions);return this.chart.addAnnotation(l)},steps:[j]},measureY:{className:"highcharts-measure-y",start:function(t){let[i,e]=this.getCoords(t);if(!i||!e)return;let n=i.value,o=e.value,a=this.chart.options.navigation,l=(0,s.merge)({langKey:"measure",type:"measure",typeOptions:{selectType:"y",xAxis:i.axis.index,yAxis:e.axis.index,point:{x:n,y:o},crosshairX:{enabled:!1,strokeWidth:0},crosshairY:{strokeWidth:1},background:{width:0,height:0,strokeWidth:0}}},a.annotationsOptions,a.bindings?.measureY.annotationsOptions);return this.chart.addAnnotation(l)},steps:[j]},measureXY:{className:"highcharts-measure-xy",start:function(t){let[i,e]=this.getCoords(t);if(!i||!e)return;let n=i.value,o=e.value,a=this.chart.options.navigation,l=(0,s.merge)({langKey:"measure",type:"measure",typeOptions:{selectType:"xy",xAxis:i.axis.index,yAxis:e.axis.index,point:{x:n,y:o},background:{width:0,height:0,strokeWidth:0},crosshairX:{strokeWidth:1},crosshairY:{strokeWidth:1}}},a.annotationsOptions,a.bindings?.measureXY.annotationsOptions);return this.chart.addAnnotation(l)},steps:[j]},fibonacci:{className:"highcharts-fibonacci",start:function(t){let[i,e]=this.getCoords(t);if(!i||!e)return;let n=i.value,o=e.value,a=this.chart.options.navigation,l=(0,s.merge)({langKey:"fibonacci",type:"fibonacci",typeOptions:{xAxis:i.axis.index,yAxis:e.axis.index,points:[{x:n,y:o},{x:n,y:o}]}},a.annotationsOptions,a.bindings?.fibonacci.annotationsOptions);return this.chart.addAnnotation(l)},steps:[Z(1),q]},parallelChannel:{className:"highcharts-parallel-channel",start:function(t){let[i,e]=this.getCoords(t);if(!i||!e)return;let n=i.value,o=e.value,a=this.chart.options.navigation,l=(0,s.merge)({langKey:"parallelChannel",type:"tunnel",typeOptions:{xAxis:i.axis.index,yAxis:e.axis.index,points:[{x:n,y:o},{x:n,y:o}]}},a.annotationsOptions,a.bindings?.parallelChannel.annotationsOptions);return this.chart.addAnnotation(l)},steps:[Z(1),q]},pitchfork:{className:"highcharts-pitchfork",start:function(t){let[i,e]=this.getCoords(t);if(!i||!e)return;let n=i.value,o=e.value,a=this.chart.options.navigation,l=(0,s.merge)({langKey:"pitchfork",type:"pitchfork",typeOptions:{xAxis:i.axis.index,yAxis:e.axis.index,points:[{x:i.value,y:e.value,controlPoint:{style:{fill:"var(--highcharts-negative-color)"}}},{x:n,y:o},{x:n,y:o}]}},a.annotationsOptions,a.bindings?.pitchfork.annotationsOptions);return this.chart.addAnnotation(l)},steps:[Z(1),Z(2)]},verticalCounter:{className:"highcharts-vertical-counter",start:function(t){let i=F(t,this.chart);if(!i)return;this.verticalCounter=this.verticalCounter||0;let e=this.chart.options.navigation,n=(0,s.merge)({langKey:"verticalCounter",type:"verticalLine",typeOptions:{point:{x:i.x,y:i.y,xAxis:i.xAxis,yAxis:i.yAxis},label:{offset:i.below?40:-40,text:this.verticalCounter.toString()}}},e.annotationsOptions,e.bindings?.verticalCounter.annotationsOptions),o=this.chart.addAnnotation(n);this.verticalCounter++,(o.options.events?.click).call(o,{})}},timeCycles:{className:"highcharts-time-cycles",start:function(t){let i=F(t,this.chart);if(!i)return;let e=this.chart.options.navigation,n=(0,s.merge)({langKey:"timeCycles",type:"timeCycles",typeOptions:{xAxis:i.xAxis,yAxis:i.yAxis,points:[{x:i.x},{x:i.x}]}},e.annotationsOptions,e.bindings?.timeCycles.annotationsOptions),o=this.chart.addAnnotation(n);return(o.options.events?.click).call(o,{}),o},steps:[Z(1)]},verticalLabel:{className:"highcharts-vertical-label",start:function(t){let i=F(t,this.chart);if(!i)return;let e=this.chart.options.navigation,n=(0,s.merge)({langKey:"verticalLabel",type:"verticalLine",typeOptions:{point:{x:i.x,y:i.y,xAxis:i.xAxis,yAxis:i.yAxis},label:{offset:i.below?40:-40}}},e.annotationsOptions,e.bindings?.verticalLabel.annotationsOptions),o=this.chart.addAnnotation(n);(o.options.events?.click).call(o,{})}},verticalArrow:{className:"highcharts-vertical-arrow",start:function(t){let i=F(t,this.chart);if(!i)return;let e=this.chart.options.navigation,n=(0,s.merge)({langKey:"verticalArrow",type:"verticalLine",typeOptions:{point:{x:i.x,y:i.y,xAxis:i.xAxis,yAxis:i.yAxis},label:{offset:i.below?40:-40,format:" "},connector:{fill:"none",stroke:i.below?"var(--highcharts-negative-color)":"var(--highcharts-positive-color)"}}},e.annotationsOptions,e.bindings?.verticalArrow.annotationsOptions),o=this.chart.addAnnotation(n);(o.options.events?.click).call(o,{})}},fibonacciTimeZones:{className:"highcharts-fibonacci-time-zones",start:function(t){let[i,e]=this.getCoords(t);if(!i||!e)return;let n=this.chart.options.navigation,o=(0,s.merge)({type:"fibonacciTimeZones",langKey:"fibonacciTimeZones",typeOptions:{xAxis:i.axis.index,yAxis:e.axis.index,points:[{x:i.value}]}},n.annotationsOptions,n.bindings?.fibonacciTimeZones.annotationsOptions);return this.chart.addAnnotation(o)},steps:[function(t,i){let e=i.options.typeOptions?.points,s=(e?.[0]).x,[n,o]=this.getCoords(t);n&&o&&i.update({typeOptions:{xAxis:n.axis.index,yAxis:o.axis.index,points:[{x:s},{x:n.value}]}})}]},flagCirclepin:{className:"highcharts-flag-circlepin",start:X("circlepin")},flagDiamondpin:{className:"highcharts-flag-diamondpin",start:X("flag")},flagSquarepin:{className:"highcharts-flag-squarepin",start:X("squarepin")},flagSimplepin:{className:"highcharts-flag-simplepin",start:X("nopin")},zoomX:{className:"highcharts-zoom-x",init:function(t){this.chart.update({chart:{zooming:{type:"x"}}}),(0,s.fireEvent)(this,"deselectButton",{button:t})}},zoomY:{className:"highcharts-zoom-y",init:function(t){this.chart.update({chart:{zooming:{type:"y"}}}),(0,s.fireEvent)(this,"deselectButton",{button:t})}},zoomXY:{className:"highcharts-zoom-xy",init:function(t){this.chart.update({chart:{zooming:{type:"xy"}}}),(0,s.fireEvent)(this,"deselectButton",{button:t})}},seriesTypeLine:{className:"highcharts-series-type-line",init:function(t){this.chart.series[0].update({type:"line",useOhlcData:!0}),(0,s.fireEvent)(this,"deselectButton",{button:t})}},seriesTypeOhlc:{className:"highcharts-series-type-ohlc",init:function(t){this.chart.series[0].update({type:"ohlc"}),(0,s.fireEvent)(this,"deselectButton",{button:t})}},seriesTypeCandlestick:{className:"highcharts-series-type-candlestick",init:function(t){this.chart.series[0].update({type:"candlestick"}),(0,s.fireEvent)(this,"deselectButton",{button:t})}},seriesTypeHeikinAshi:{className:"highcharts-series-type-heikinashi",init:function(t){this.chart.series[0].update({type:"heikinashi"}),(0,s.fireEvent)(this,"deselectButton",{button:t})}},seriesTypeHLC:{className:"highcharts-series-type-hlc",init:function(t){this.chart.series[0].update({type:"hlc",useOhlcData:!0}),(0,s.fireEvent)(this,"deselectButton",{button:t})}},seriesTypeHollowCandlestick:{className:"highcharts-series-type-hollowcandlestick",init:function(t){this.chart.series[0].update({type:"hollowcandlestick"}),(0,s.fireEvent)(this,"deselectButton",{button:t})}},fullScreen:{className:"highcharts-full-screen",noDataState:"normal",init:function(t){this.chart.fullscreen&&this.chart.fullscreen.toggle(),(0,s.fireEvent)(this,"deselectButton",{button:t})}},currentPriceIndicator:{className:"highcharts-current-price-indicator",init:function(t){let i=this.chart,e=i.series,n=i.stockTools,o=U(i.series);n&&n.guiEnabled&&(e.forEach(function(t){t.update({lastPrice:{enabled:!o},lastVisiblePrice:{enabled:!o,label:{enabled:!0}}},!1)}),i.redraw()),(0,s.fireEvent)(this,"deselectButton",{button:t})}},indicators:{className:"highcharts-indicators",init:function(){let t=this;(0,s.fireEvent)(t,"showPopup",{formType:"indicators",options:{},onSubmit:function(i){K.call(t,i)}})}},toggleAnnotations:{className:"highcharts-toggle-annotations",init:function(t){let i=this.chart,e=i.stockTools;this.toggledAnnotations=!this.toggledAnnotations,(i.annotations||[]).forEach(function(t){t.setVisibility(!this.toggledAnnotations)},this),e&&e.guiEnabled&&(this.toggledAnnotations?t.firstChild.style["background-image"]=P("annotations-hidden.svg",e.iconsURL,R):t.firstChild.style["background-image"]=P("annotations-visible.svg",e.iconsURL,R)),(0,s.fireEvent)(this,"deselectButton",{button:t})}},saveChart:{className:"highcharts-save-chart",noDataState:"normal",init:function(t){let i=this.chart,e=[],o=[],a=[],l=[];i.annotations.forEach(function(t,i){e[i]=t.userOptions}),i.series.forEach(function(t){t.is("sma")?o.push(t.userOptions):"flags"===t.type&&a.push(t.userOptions)}),i.yAxis.forEach(function(t){D(t)&&l.push(t.options)}),n().win.localStorage.setItem("highcharts-chart",JSON.stringify({annotations:e,indicators:o,flags:a,yAxes:l})),(0,s.fireEvent)(this,"deselectButton",{button:t})}}},G={lang:{stockTools:{gui:{simpleShapes:"Simple shapes",lines:"Lines",crookedLines:"Crooked lines",measure:"Measure",advanced:"Advanced",toggleAnnotations:"Toggle annotations",verticalLabels:"Vertical labels",flags:"Flags",zoomChange:"Zoom change",typeChange:"Type change",saveChart:"Save chart",indicators:"Indicators",currentPriceIndicator:"Current Price Indicators",zoomX:"Zoom X",zoomY:"Zoom Y",zoomXY:"Zooom XY",fullScreen:"Fullscreen",typeOHLC:"OHLC",typeLine:"Line",typeCandlestick:"Candlestick",typeHLC:"HLC",typeHollowCandlestick:"Hollow Candlestick",typeHeikinAshi:"Heikin Ashi",circle:"Circle",ellipse:"Ellipse",label:"Label",rectangle:"Rectangle",flagCirclepin:"Flag circle",flagDiamondpin:"Flag diamond",flagSquarepin:"Flag square",flagSimplepin:"Flag simple",measureXY:"Measure XY",measureX:"Measure X",measureY:"Measure Y",segment:"Segment",arrowSegment:"Arrow segment",ray:"Ray",arrowRay:"Arrow ray",line:"Line",arrowInfinityLine:"Arrow line",horizontalLine:"Horizontal line",verticalLine:"Vertical line",infinityLine:"Infinity line",crooked3:"Crooked 3 line",crooked5:"Crooked 5 line",elliott3:"Elliott 3 line",elliott5:"Elliott 5 line",verticalCounter:"Vertical counter",verticalLabel:"Vertical label",verticalArrow:"Vertical arrow",fibonacci:"Fibonacci",fibonacciTimeZones:"Fibonacci Time Zones",pitchfork:"Pitchfork",parallelChannel:"Parallel channel",timeCycles:"Time Cycles"}},navigation:{popup:{circle:"Circle",ellipse:"Ellipse",rectangle:"Rectangle",label:"Label",segment:"Segment",arrowSegment:"Arrow segment",ray:"Ray",arrowRay:"Arrow ray",line:"Line",arrowInfinityLine:"Arrow line",horizontalLine:"Horizontal line",verticalLine:"Vertical line",crooked3:"Crooked 3 line",crooked5:"Crooked 5 line",elliott3:"Elliott 3 line",elliott5:"Elliott 5 line",verticalCounter:"Vertical counter",verticalLabel:"Vertical label",verticalArrow:"Vertical arrow",fibonacci:"Fibonacci",fibonacciTimeZones:"Fibonacci Time Zones",pitchfork:"Pitchfork",parallelChannel:"Parallel channel",infinityLine:"Infinity line",measure:"Measure",measureXY:"Measure XY",measureX:"Measure X",measureY:"Measure Y",timeCycles:"Time Cycles",flags:"Flags",addButton:"Add",saveButton:"Save",editButton:"Edit",removeButton:"Remove",series:"Series",volume:"Volume",connector:"Connector",innerBackground:"Inner background",outerBackground:"Outer background",crosshairX:"Crosshair X",crosshairY:"Crosshair Y",tunnel:"Tunnel",background:"Background",noFilterMatch:"No match",searchIndicators:"Search Indicators",clearFilter:"✕ clear filter",index:"Index",period:"Period",periods:"Periods",standardDeviation:"Standard deviation",periodTenkan:"Tenkan period",periodSenkouSpanB:"Senkou Span B period",periodATR:"ATR period",multiplierATR:"ATR multiplier",shortPeriod:"Short period",longPeriod:"Long period",signalPeriod:"Signal period",decimals:"Decimals",algorithm:"Algorithm",topBand:"Top band",bottomBand:"Bottom band",initialAccelerationFactor:"Initial acceleration factor",maxAccelerationFactor:"Max acceleration factor",increment:"Increment",multiplier:"Multiplier",ranges:"Ranges",highIndex:"High index",lowIndex:"Low index",deviation:"Deviation",xAxisUnit:"x-axis unit",factor:"Factor",fastAvgPeriod:"Fast average period",slowAvgPeriod:"Slow average period",average:"Average",indicatorAliases:{abands:["Acceleration Bands"],bb:["Bollinger Bands"],dema:["Double Exponential Moving Average"],ema:["Exponential Moving Average"],ikh:["Ichimoku Kinko Hyo"],keltnerchannels:["Keltner Channels"],linearRegression:["Linear Regression"],pivotpoints:["Pivot Points"],pc:["Price Channel"],priceenvelopes:["Price Envelopes"],psar:["Parabolic SAR"],sma:["Simple Moving Average"],supertrend:["Super Trend"],tema:["Triple Exponential Moving Average"],vbp:["Volume by Price"],vwap:["Volume Weighted Moving Average"],wma:["Weighted Moving Average"],zigzag:["Zig Zag"],apo:["Absolute price indicator"],ad:["Accumulation/Distribution"],aroon:["Aroon"],aroonoscillator:["Aroon oscillator"],atr:["Average True Range"],ao:["Awesome oscillator"],cci:["Commodity Channel Index"],chaikin:["Chaikin"],cmf:["Chaikin Money Flow"],cmo:["Chande Momentum Oscillator"],disparityindex:["Disparity Index"],dmi:["Directional Movement Index"],dpo:["Detrended price oscillator"],klinger:["Klinger Oscillator"],linearRegressionAngle:["Linear Regression Angle"],linearRegressionIntercept:["Linear Regression Intercept"],linearRegressionSlope:["Linear Regression Slope"],macd:["Moving Average Convergence Divergence"],mfi:["Money Flow Index"],momentum:["Momentum"],natr:["Normalized Average True Range"],obv:["On-Balance Volume"],ppo:["Percentage Price oscillator"],roc:["Rate of Change"],rsi:["Relative Strength Index"],slowstochastic:["Slow Stochastic"],stochastic:["Stochastic"],trix:["TRIX"],williamsr:["Williams %R"]}}}},stockTools:{gui:{enabled:!0,className:"highcharts-bindings-wrapper",toolbarClassName:"stocktools-toolbar",buttons:["indicators","separator","simpleShapes","lines","crookedLines","measure","advanced","toggleAnnotations","separator","verticalLabels","flags","separator","zoomChange","fullScreen","typeChange","separator","currentPriceIndicator","saveChart"],definitions:{separator:{elementType:"span",symbol:"separator.svg"},simpleShapes:{items:["label","circle","ellipse","rectangle"],circle:{symbol:"circle.svg"},ellipse:{symbol:"ellipse.svg"},rectangle:{symbol:"rectangle.svg"},label:{symbol:"label.svg"}},flags:{items:["flagCirclepin","flagDiamondpin","flagSquarepin","flagSimplepin"],flagSimplepin:{symbol:"flag-basic.svg"},flagDiamondpin:{symbol:"flag-diamond.svg"},flagSquarepin:{symbol:"flag-trapeze.svg"},flagCirclepin:{symbol:"flag-elipse.svg"}},lines:{items:["segment","arrowSegment","ray","arrowRay","line","arrowInfinityLine","horizontalLine","verticalLine"],segment:{symbol:"segment.svg"},arrowSegment:{symbol:"arrow-segment.svg"},ray:{symbol:"ray.svg"},arrowRay:{symbol:"arrow-ray.svg"},line:{symbol:"line.svg"},arrowInfinityLine:{symbol:"arrow-line.svg"},verticalLine:{symbol:"vertical-line.svg"},horizontalLine:{symbol:"horizontal-line.svg"}},crookedLines:{items:["elliott3","elliott5","crooked3","crooked5"],crooked3:{symbol:"crooked-3.svg"},crooked5:{symbol:"crooked-5.svg"},elliott3:{symbol:"elliott-3.svg"},elliott5:{symbol:"elliott-5.svg"}},verticalLabels:{items:["verticalCounter","verticalLabel","verticalArrow"],verticalCounter:{symbol:"vertical-counter.svg"},verticalLabel:{symbol:"vertical-label.svg"},verticalArrow:{symbol:"vertical-arrow.svg"}},advanced:{items:["fibonacci","fibonacciTimeZones","pitchfork","parallelChannel","timeCycles"],pitchfork:{symbol:"pitchfork.svg"},fibonacci:{symbol:"fibonacci.svg"},fibonacciTimeZones:{symbol:"fibonacci-timezone.svg"},parallelChannel:{symbol:"parallel-channel.svg"},timeCycles:{symbol:"time-cycles.svg"}},measure:{items:["measureXY","measureX","measureY"],measureX:{symbol:"measure-x.svg"},measureY:{symbol:"measure-y.svg"},measureXY:{symbol:"measure-xy.svg"}},toggleAnnotations:{symbol:"annotations-visible.svg"},currentPriceIndicator:{symbol:"current-price-show.svg"},indicators:{symbol:"indicators.svg"},zoomChange:{items:["zoomX","zoomY","zoomXY"],zoomX:{symbol:"zoom-x.svg"},zoomY:{symbol:"zoom-y.svg"},zoomXY:{symbol:"zoom-xy.svg"}},typeChange:{items:["typeOHLC","typeLine","typeCandlestick","typeHollowCandlestick","typeHLC","typeHeikinAshi"],typeOHLC:{symbol:"series-ohlc.svg"},typeLine:{symbol:"series-line.svg"},typeCandlestick:{symbol:"series-candlestick.svg"},typeHLC:{symbol:"series-hlc.svg"},typeHeikinAshi:{symbol:"series-heikin-ashi.svg"},typeHollowCandlestick:{symbol:"series-hollow-candlestick.svg"}},fullScreen:{symbol:"fullscreen.svg"},saveChart:{symbol:"save-chart.svg"}},visible:!0}}},{setOptions:J}=n(),{isNotNavigatorYAxis:Q,isPriceIndicatorEnabled:tt}=V;function ti(t,i,e,n){let o=0,a,l,r;function c(t){return(0,s.defined)(t)&&!(0,s.isNumber)(t)&&t.match("%")}return n&&(r=(0,s.correctFloat)(parseFloat(n.top)/100),l=(0,s.correctFloat)(parseFloat(n.height)/100)),{positions:t.map((n,h)=>{let g=(0,s.correctFloat)(c(n.options.height)?parseFloat(String(n.options.height))/100:n.height/i),p=(0,s.correctFloat)(c(n.options.top)?parseFloat(String(n.options.top))/100:(n.top-n.chart.plotTop)/i);return l?(p>r&&(p-=l),o=Math.max(o,(p||0)+(g||0))):((0,s.isNumber)(g)||(g=t[h-1].series.every(t=>t.is("sma"))?a:e/100),(0,s.isNumber)(p)||(p=o),a=g,o=(0,s.correctFloat)(Math.max(o,(p||0)+(g||0)))),{height:100*g,top:100*p}}),allAxesHeight:o}}function te(t){let i=[];return t.forEach(function(e,n){let o=t[n+1];o?i[n]={enabled:!0,controlledAxis:{next:[(0,s.pick)(o.options.id,o.index)]}}:i[n]={enabled:!1}}),i}function ts(t,i,e,n){return t.forEach(function(o,a){let l=t[a-1];o.top=l?(0,s.correctFloat)(l.height+l.top):0,e&&(o.height=(0,s.correctFloat)(o.height+n*i))}),t}function tn(t){let i=this.chart,e=i.yAxis.filter(Q),n=i.plotHeight,{positions:o,allAxesHeight:a}=this.getYAxisPositions(e,n,20,t),l=this.getYAxisResizers(e);!t&&a<=(0,s.correctFloat)(1)?o[o.length-1]={height:20,top:(0,s.correctFloat)(100*a-20)}:o.forEach(function(t){t.height=t.height/(100*a)*100,t.top=t.top/(100*a)*100}),o.forEach(function(t,i){e[i].update({height:t.height+"%",top:t.top+"%",resize:l[i],offset:0},!1)})}let to=t.default.AST;var ta=e.n(to);let{shallowArraysEqual:tl}=V;class tr{constructor(t,i,e){this.width=0,this.isDirty=!1,this.chart=e,this.options=t,this.iconsURL=this.getIconsURL(),this.lang=i,this.guiEnabled=t.enabled,this.visible=(0,s.pick)(t.visible,!0),this.guiClassName=t.className,this.toolbarClassName=t.toolbarClassName,this.eventsToUnbind=[],this.guiEnabled&&(this.createContainer(),this.createButtons(),this.showHideNavigation()),(0,s.fireEvent)(this,"afterInit")}createButtons(){let t=this.lang,i=this.options,e=this.toolbar,n=i.buttons,o=i.definitions,a=e.childNodes;this.buttonList=n,n.forEach(i=>{let n=this.addButton(e,o,i,t);this.eventsToUnbind.push((0,s.addEvent)(n.buttonWrapper,"click",()=>this.eraseActiveButtons(a,n.buttonWrapper))),(0,s.isArray)(o[i].items)&&this.addSubmenu(n,o[i])})}addSubmenu(t,i){let e=t.submenuArrow,n=t.buttonWrapper,o=(0,s.getStyle)(n,"width"),a=this.wrapper,l=this.listWrapper,r=this.toolbar.childNodes,c=n.title,h=this.submenu=(0,s.createElement)("ul",{className:"highcharts-submenu-wrapper",id:"highcharts-submenu-wrapper-"+c.toLowerCase().replace(/\s+/g,"-")},void 0,n);this.addSubmenuItems(n,i),e.setAttribute("aria-controls",h.id),this.eventsToUnbind.push((0,s.addEvent)(e,"click",t=>{if(t.stopPropagation(),this.eraseActiveButtons(r,n),n.className.indexOf("highcharts-current")>=0)e.setAttribute("aria-expanded",!1),l.style.width=l.startWidth+"px",n.classList.remove("highcharts-current"),h.style.display="none";else{e.setAttribute("aria-expanded",!0),h.style.display="block";let t=h.offsetHeight-n.offsetHeight-3;h.offsetHeight+n.offsetTop>a.offsetHeight&&n.offsetTop>t||(t=0),(0,s.css)(h,{top:-t+"px",left:o+3+"px"}),n.className+=" highcharts-current",l.startWidth=a.offsetWidth,l.style.width=l.startWidth+(0,s.getStyle)(l,"padding-left")+h.offsetWidth+3+"px"}}))}addSubmenuItems(t,i){let e,n=this,o=this.submenu,a=this.lang,l=this.listWrapper;i.items.forEach(r=>{e=this.addButton(o,i,r,a),this.eventsToUnbind.push((0,s.addEvent)(e.mainButton,"click",function(){n.switchSymbol(this,t,!0),l.style.width=l.startWidth+"px",o.style.display="none"}))});let r=o.querySelectorAll("li > .highcharts-menu-item-btn")[0];this.switchSymbol(r,!1)}eraseActiveButtons(t,i,e){[].forEach.call(t,t=>{t!==i&&(t.classList.remove("highcharts-current"),t.classList.remove("highcharts-active"),(e=t.querySelectorAll(".highcharts-submenu-wrapper")).length>0&&(e[0].style.display="none"))})}addButton(t,i,e,n={}){let o=i[e],a=n[e]||e,l=this.chart.options.lang.accessibility?.stockTools.arrowLabel,r=o.items,c=tr.prototype.classMapping,h=o.className||"",g=(0,s.createElement)("li",{className:(0,s.pick)(c[e],"")+" "+h},void 0,t),p=o.elementType||"button",d=(0,s.createElement)(p,{className:"highcharts-menu-item-btn",title:a,ariaLabel:a},void 0,g);if(r&&r.length){let t=(0,s.createElement)("button",{className:"highcharts-submenu-item-arrow highcharts-arrow-right",ariaLabel:l,ariaExpanded:!1},void 0,g);return t.style.backgroundImage=P("arrow-bottom.svg",this.iconsURL,R),{buttonWrapper:g,mainButton:d,submenuArrow:t}}return d.style.backgroundImage=P(o.symbol,this.iconsURL,R),{buttonWrapper:g,mainButton:d}}addNavigation(){let t=this.wrapper;this.arrowWrapper=(0,s.createElement)("div",{className:"highcharts-arrow-wrapper"}),this.arrowUp=(0,s.createElement)("div",{className:"highcharts-arrow-up"},void 0,this.arrowWrapper),this.arrowUp.style.backgroundImage=P("arrow-right.svg",this.iconsURL,R),this.arrowDown=(0,s.createElement)("div",{className:"highcharts-arrow-down"},void 0,this.arrowWrapper),this.arrowDown.style.backgroundImage=P("arrow-right.svg",this.iconsURL,R),t.insertBefore(this.arrowWrapper,t.childNodes[0]),this.scrollButtons()}scrollButtons(){let t=this.wrapper,i=this.toolbar,e=.1*t.offsetHeight,n=0;this.eventsToUnbind.push((0,s.addEvent)(this.arrowUp,"click",()=>{n>0&&(n-=e,i.style.marginTop=-n+"px")})),this.eventsToUnbind.push((0,s.addEvent)(this.arrowDown,"click",()=>{t.offsetHeight+n<=i.offsetHeight+e&&(n+=e,i.style.marginTop=-n+"px")}))}createContainer(){let t,i,e=this.chart,n=e.options.lang.accessibility?.stockTools.groupLabel,o=this.options,a=e.container,l=e.options.navigation,r=l?.bindingsClassName,c=this,h=this.wrapper=(0,s.createElement)("div",{className:"highcharts-stocktools-wrapper "+o.className+" "+r,ariaHidden:!1});a.appendChild(h),this.showHideBtn=(0,s.createElement)("div",{className:"highcharts-toggle-toolbar highcharts-arrow-left"},void 0,h),this.eventsToUnbind.push((0,s.addEvent)(this.showHideBtn,"click",()=>{this.update({gui:{visible:!c.visible}})})),["mousedown","mousemove","click","touchstart"].forEach(t=>{(0,s.addEvent)(h,t,t=>t.stopPropagation())}),(0,s.addEvent)(h,"mouseover",t=>e.pointer?.onContainerMouseLeave(t)),this.toolbar=i=(0,s.createElement)("ul",{className:"highcharts-stocktools-toolbar "+o.toolbarClassName,ariaLabel:n}),this.listWrapper=t=(0,s.createElement)("div",{className:"highcharts-menu-wrapper"}),h.insertBefore(t,h.childNodes[0]),t.insertBefore(i,t.childNodes[0]),this.showHideToolbar(),this.addNavigation()}showHideNavigation(){this.visible&&this.toolbar.offsetHeight>this.wrapper.offsetHeight-50?this.arrowWrapper.style.display="block":(this.toolbar.style.marginTop="0px",this.arrowWrapper.style.display="none")}showHideToolbar(){let t=this.wrapper,i=this.listWrapper,e=this.submenu,n=this.showHideBtn,o=this.visible;n.style.backgroundImage=P("arrow-right.svg",this.iconsURL,R),o?(t.style.height="100%",i.classList.remove("highcharts-hide"),n.classList.remove("highcharts-arrow-right"),n.style.top=(0,s.getStyle)(i,"padding-top")+"px",n.style.left=t.offsetWidth+(0,s.getStyle)(i,"padding-left")+"px"):(e&&(e.style.display="none"),n.style.left="0px",o=this.visible=!1,i.classList.add("highcharts-hide"),n.classList.add("highcharts-arrow-right"),t.style.height=n.offsetHeight+"px")}switchSymbol(t,i){let e=t.parentNode,s=e.className,n=e.parentNode.parentNode;!(s.indexOf("highcharts-disabled-btn")>-1)&&(n.className="",s&&n.classList.add(s.trim()),n.querySelectorAll(".highcharts-menu-item-btn")[0].style.backgroundImage=t.style.backgroundImage,i&&this.toggleButtonActiveClass(n))}toggleButtonActiveClass(t){let i=t.classList;i.contains("highcharts-active")?i.remove("highcharts-active"):i.add("highcharts-active")}unselectAllButtons(t){let i=t.parentNode.querySelectorAll(".highcharts-active");[].forEach.call(i,i=>{i!==t&&i.classList.remove("highcharts-active")})}update(t,i){this.isDirty=!!t.gui.definitions,(0,s.merge)(!0,this.chart.options.stockTools,t),(0,s.merge)(!0,this.options,t.gui),this.visible=(0,s.pick)(this.options.visible&&this.options.enabled,!0),this.chart.navigationBindings&&this.chart.navigationBindings.update(),this.chart.isDirtyBox=!0,(0,s.pick)(i,!0)&&this.chart.redraw()}destroy(){let t=this.wrapper,i=t&&t.parentNode;this.eventsToUnbind.forEach(t=>t()),i&&i.removeChild(t)}redraw(){if(this.options.enabled!==this.guiEnabled)this.handleGuiEnabledChange();else{if(!this.guiEnabled)return;this.updateClassNames(),this.updateButtons(),this.updateVisibility(),this.showHideNavigation(),this.showHideToolbar()}}handleGuiEnabledChange(){!1===this.options.enabled&&(this.destroy(),this.visible=!1),!0===this.options.enabled&&(this.createContainer(),this.createButtons()),this.guiEnabled=this.options.enabled}updateClassNames(){this.options.className!==this.guiClassName&&(this.guiClassName&&this.wrapper.classList.remove(this.guiClassName),this.options.className&&this.wrapper.classList.add(this.options.className),this.guiClassName=this.options.className),this.options.toolbarClassName!==this.toolbarClassName&&(this.toolbarClassName&&this.toolbar.classList.remove(this.toolbarClassName),this.options.toolbarClassName&&this.toolbar.classList.add(this.options.toolbarClassName),this.toolbarClassName=this.options.toolbarClassName)}updateButtons(){(!tl(this.options.buttons,this.buttonList)||this.isDirty)&&(this.toolbar.innerHTML=ta().emptyHTML,this.createButtons())}updateVisibility(){(0,s.defined)(this.options.visible)&&(this.visible=this.options.visible)}getIconsURL(){return this.chart.options.navigation?.iconsURL||this.options.iconsURL||"renderer"}}tr.prototype.classMapping={circle:"highcharts-circle-annotation",ellipse:"highcharts-ellipse-annotation",rectangle:"highcharts-rectangle-annotation",label:"highcharts-label-annotation",segment:"highcharts-segment",arrowSegment:"highcharts-arrow-segment",ray:"highcharts-ray",arrowRay:"highcharts-arrow-ray",line:"highcharts-infinity-line",arrowInfinityLine:"highcharts-arrow-infinity-line",verticalLine:"highcharts-vertical-line",horizontalLine:"highcharts-horizontal-line",crooked3:"highcharts-crooked3",crooked5:"highcharts-crooked5",elliott3:"highcharts-elliott3",elliott5:"highcharts-elliott5",pitchfork:"highcharts-pitchfork",fibonacci:"highcharts-fibonacci",fibonacciTimeZones:"highcharts-fibonacci-time-zones",parallelChannel:"highcharts-parallel-channel",measureX:"highcharts-measure-x",measureY:"highcharts-measure-y",measureXY:"highcharts-measure-xy",timeCycles:"highcharts-time-cycles",verticalCounter:"highcharts-vertical-counter",verticalLabel:"highcharts-vertical-label",verticalArrow:"highcharts-vertical-arrow",currentPriceIndicator:"highcharts-current-price-indicator",indicators:"highcharts-indicators",flagCirclepin:"highcharts-flag-circlepin",flagDiamondpin:"highcharts-flag-diamondpin",flagSquarepin:"highcharts-flag-squarepin",flagSimplepin:"highcharts-flag-simplepin",zoomX:"highcharts-zoom-x",zoomY:"highcharts-zoom-y",zoomXY:"highcharts-zoom-xy",typeLine:"highcharts-series-type-line",typeOHLC:"highcharts-series-type-ohlc",typeHLC:"highcharts-series-type-hlc",typeCandlestick:"highcharts-series-type-candlestick",typeHollowCandlestick:"highcharts-series-type-hollowcandlestick",typeHeikinAshi:"highcharts-series-type-heikinashi",fullScreen:"highcharts-full-screen",toggleAnnotations:"highcharts-toggle-annotations",saveChart:"highcharts-save-chart",separator:"highcharts-separator"};let{setOptions:tc}=n();function th(t){let i=this.options,e=i.lang,n=(0,s.merge)(i.stockTools&&i.stockTools.gui,t&&t.gui),o=e&&e.stockTools&&e.stockTools.gui;this.stockTools=new tr(n,o,this),this.stockTools.guiEnabled&&(this.isDirtyBox=!0)}function tg(){this.setStockTools()}function tp(){this.stockTools&&(this.stockTools.redraw(),function(t){if(t.stockTools?.guiEnabled){let i=t.options.chart,e=t.stockTools.listWrapper,n=e&&(e.startWidth+(0,s.getStyle)(e,"padding-left")+(0,s.getStyle)(e,"padding-right")||e.offsetWidth);t.stockTools.width=n;let o=!1;if(n<t.plotWidth){let e=(0,s.pick)(i.spacingLeft,i.spacing&&i.spacing[3],0)+n,a=e-t.spacingBox.x;t.spacingBox.x=e,t.spacingBox.width-=a,o=!0}else 0===n&&(o=!0);n!==t.stockTools.prevOffsetWidth&&(t.stockTools.prevOffsetWidth=n,o&&(t.isDirtyLegend=!0))}}(this))}function td(){this.stockTools&&this.stockTools.destroy()}function tu(){let t=this.stockTools?.visible&&this.stockTools.guiEnabled?this.stockTools.width:0;t&&t<this.plotWidth&&(this.plotLeft+=t,this.spacing[3]+=t)}function tf(){let t=this.stockTools,i=t&&t.toolbar&&t.toolbar.querySelector(".highcharts-current-price-indicator");if(t&&this.navigationBindings&&this.options.series&&i){let{iconsURL:e}=t;this.navigationBindings.utils?.isPriceIndicatorEnabled?.(this.series)?i.firstChild.style["background-image"]=P("current-price-hide.svg",e,R):i.firstChild.style["background-image"]=P("current-price-show.svg",e,R)}}function tv(t){let i=this.chart.stockTools;if(i&&i.guiEnabled){let i=t.button;i.parentNode.className.indexOf("highcharts-submenu-wrapper")>=0&&(i=i.parentNode.parentNode),i.classList.remove("highcharts-active")}}function ty(t){let i=this.chart.stockTools;if(i&&i.guiEnabled){let e=t.button;i.unselectAllButtons(t.button),e.parentNode.className.indexOf("highcharts-submenu-wrapper")>=0&&(e=e.parentNode.parentNode),i.toggleButtonActiveClass(e)}}let tm=n();tm.NavigationBindings=tm.NavigationBindings||M,tm.Toolbar=tr,({compose:function(t){let i=t.prototype;i.utils?.manageIndicators||(i.getYAxisPositions=ti,i.getYAxisResizers=te,i.recalculateYAxisPositions=ts,i.resizeYAxes=tn,i.utils=i.utils||{},i.utils.indicatorsWithAxes=V.indicatorsWithAxes,i.utils.indicatorsWithVolume=V.indicatorsWithVolume,i.utils.getAssignedAxis=V.getAssignedAxis,i.utils.isPriceIndicatorEnabled=tt,i.utils.manageIndicators=V.manageIndicators,J(G),J({navigation:{bindings:_}}))}}).compose(tm.NavigationBindings),({compose:function(t,i){let e=t.prototype;e.setStockTools||((0,s.addEvent)(t,"afterGetContainer",tg),(0,s.addEvent)(t,"beforeRedraw",tp),(0,s.addEvent)(t,"beforeRender",tp),(0,s.addEvent)(t,"destroy",td),(0,s.addEvent)(t,"getMargins",tu,{order:0}),(0,s.addEvent)(t,"render",tf),e.setStockTools=th,(0,s.addEvent)(i,"deselectButton",tv),(0,s.addEvent)(i,"selectButton",ty),tc(G))}}).compose(tm.Chart,tm.NavigationBindings);let tx=n();export{tx as default};
|
|
707
|
+
`},{addFlagFromForm:X,attractToPoint:F,isNotNavigatorYAxis:D,isPriceIndicatorEnabled:U,manageIndicators:K,updateHeight:q,updateNthPoint:Z,updateRectSize:j}=V,_={segment:{className:"highcharts-segment",start:function(t){let[i,s]=this.getCoords(t);if(!i||!s)return;let n=this.chart.options.navigation,o=(0,e.merge)({langKey:"segment",type:"crookedLine",typeOptions:{xAxis:i.axis.index,yAxis:s.axis.index,points:[{x:i.value,y:s.value},{x:i.value,y:s.value}]}},n.annotationsOptions,n.bindings?.segment.annotationsOptions);return this.chart.addAnnotation(o)},steps:[Z(1)]},arrowSegment:{className:"highcharts-arrow-segment",start:function(t){let[i,s]=this.getCoords(t);if(!i||!s)return;let n=this.chart.options.navigation,o=(0,e.merge)({langKey:"arrowSegment",type:"crookedLine",typeOptions:{line:{markerEnd:"arrow"},xAxis:i.axis.index,yAxis:s.axis.index,points:[{x:i.value,y:s.value},{x:i.value,y:s.value}]}},n.annotationsOptions,n.bindings?.arrowSegment.annotationsOptions);return this.chart.addAnnotation(o)},steps:[Z(1)]},ray:{className:"highcharts-ray",start:function(t){let[i,s]=this.getCoords(t);if(!i||!s)return;let n=this.chart.options.navigation,o=(0,e.merge)({langKey:"ray",type:"infinityLine",typeOptions:{type:"ray",xAxis:i.axis.index,yAxis:s.axis.index,points:[{x:i.value,y:s.value},{x:i.value,y:s.value}]}},n.annotationsOptions,n.bindings?.ray.annotationsOptions);return this.chart.addAnnotation(o)},steps:[Z(1)]},arrowRay:{className:"highcharts-arrow-ray",start:function(t){let[i,s]=this.getCoords(t);if(!i||!s)return;let n=this.chart.options.navigation,o=(0,e.merge)({langKey:"arrowRay",type:"infinityLine",typeOptions:{type:"ray",line:{markerEnd:"arrow"},xAxis:i.axis.index,yAxis:s.axis.index,points:[{x:i.value,y:s.value},{x:i.value,y:s.value}]}},n.annotationsOptions,n.bindings?.arrowRay.annotationsOptions);return this.chart.addAnnotation(o)},steps:[Z(1)]},infinityLine:{className:"highcharts-infinity-line",start:function(t){let[i,s]=this.getCoords(t);if(!i||!s)return;let n=this.chart.options.navigation,o=(0,e.merge)({langKey:"infinityLine",type:"infinityLine",typeOptions:{type:"line",xAxis:i.axis.index,yAxis:s.axis.index,points:[{x:i.value,y:s.value},{x:i.value,y:s.value}]}},n.annotationsOptions,n.bindings?.infinityLine.annotationsOptions);return this.chart.addAnnotation(o)},steps:[Z(1)]},arrowInfinityLine:{className:"highcharts-arrow-infinity-line",start:function(t){let[i,s]=this.getCoords(t);if(!i||!s)return;let n=this.chart.options.navigation,o=(0,e.merge)({langKey:"arrowInfinityLine",type:"infinityLine",typeOptions:{type:"line",line:{markerEnd:"arrow"},xAxis:i.axis.index,yAxis:s.axis.index,points:[{x:i.value,y:s.value},{x:i.value,y:s.value}]}},n.annotationsOptions,n.bindings?.arrowInfinityLine.annotationsOptions);return this.chart.addAnnotation(o)},steps:[Z(1)]},horizontalLine:{className:"highcharts-horizontal-line",start:function(t){let[i,s]=this.getCoords(t);if(!i||!s)return;let n=this.chart.options.navigation,o=(0,e.merge)({langKey:"horizontalLine",type:"infinityLine",draggable:"y",typeOptions:{type:"horizontalLine",xAxis:i.axis.index,yAxis:s.axis.index,points:[{x:i.value,y:s.value}]}},n.annotationsOptions,n.bindings?.horizontalLine.annotationsOptions);this.chart.addAnnotation(o)}},verticalLine:{className:"highcharts-vertical-line",start:function(t){let[i,s]=this.getCoords(t);if(!i||!s)return;let n=this.chart.options.navigation,o=(0,e.merge)({langKey:"verticalLine",type:"infinityLine",draggable:"x",typeOptions:{type:"verticalLine",xAxis:i.axis.index,yAxis:s.axis.index,points:[{x:i.value,y:s.value}]}},n.annotationsOptions,n.bindings?.verticalLine.annotationsOptions);this.chart.addAnnotation(o)}},crooked3:{className:"highcharts-crooked3",start:function(t){let[i,s]=this.getCoords(t);if(!i||!s)return;let n=i.value,o=s.value,a=this.chart.options.navigation,l=(0,e.merge)({langKey:"crooked3",type:"crookedLine",typeOptions:{xAxis:i.axis.index,yAxis:s.axis.index,points:[{x:n,y:o},{x:n,y:o},{x:n,y:o}]}},a.annotationsOptions,a.bindings?.crooked3.annotationsOptions);return this.chart.addAnnotation(l)},steps:[Z(1),Z(2)]},crooked5:{className:"highcharts-crooked5",start:function(t){let[i,s]=this.getCoords(t);if(!i||!s)return;let n=i.value,o=s.value,a=this.chart.options.navigation,l=(0,e.merge)({langKey:"crooked5",type:"crookedLine",typeOptions:{xAxis:i.axis.index,yAxis:s.axis.index,points:[{x:n,y:o},{x:n,y:o},{x:n,y:o},{x:n,y:o},{x:n,y:o}]}},a.annotationsOptions,a.bindings?.crooked5.annotationsOptions);return this.chart.addAnnotation(l)},steps:[Z(1),Z(2),Z(3),Z(4)]},elliott3:{className:"highcharts-elliott3",start:function(t){let[i,s]=this.getCoords(t);if(!i||!s)return;let n=i.value,o=s.value,a=this.chart.options.navigation,l=(0,e.merge)({langKey:"elliott3",type:"elliottWave",typeOptions:{xAxis:i.axis.index,yAxis:s.axis.index,points:[{x:n,y:o},{x:n,y:o},{x:n,y:o},{x:n,y:o}]},labelOptions:{style:{color:"var(--highcharts-neutral-color-60)"}}},a.annotationsOptions,a.bindings?.elliott3.annotationsOptions);return this.chart.addAnnotation(l)},steps:[Z(1),Z(2),Z(3)]},elliott5:{className:"highcharts-elliott5",start:function(t){let[i,s]=this.getCoords(t);if(!i||!s)return;let n=i.value,o=s.value,a=this.chart.options.navigation,l=(0,e.merge)({langKey:"elliott5",type:"elliottWave",typeOptions:{xAxis:i.axis.index,yAxis:s.axis.index,points:[{x:n,y:o},{x:n,y:o},{x:n,y:o},{x:n,y:o},{x:n,y:o},{x:n,y:o}]}},a.annotationsOptions,a.bindings?.elliott5.annotationsOptions);return this.chart.addAnnotation(l)},steps:[Z(1),Z(2),Z(3),Z(4),Z(5)]},measureX:{className:"highcharts-measure-x",start:function(t){let[i,s]=this.getCoords(t);if(!i||!s)return;let n=i.value,o=s.value,a=this.chart.options.navigation,l=(0,e.merge)({langKey:"measure",type:"measure",typeOptions:{selectType:"x",xAxis:i.axis.index,yAxis:s.axis.index,point:{x:n,y:o},crosshairX:{strokeWidth:1},crosshairY:{enabled:!1,strokeWidth:0},background:{width:0,height:0}}},a.annotationsOptions,a.bindings?.measureX.annotationsOptions);return this.chart.addAnnotation(l)},steps:[j]},measureY:{className:"highcharts-measure-y",start:function(t){let[i,s]=this.getCoords(t);if(!i||!s)return;let n=i.value,o=s.value,a=this.chart.options.navigation,l=(0,e.merge)({langKey:"measure",type:"measure",typeOptions:{selectType:"y",xAxis:i.axis.index,yAxis:s.axis.index,point:{x:n,y:o},crosshairX:{enabled:!1,strokeWidth:0},crosshairY:{strokeWidth:1},background:{width:0,height:0,strokeWidth:0}}},a.annotationsOptions,a.bindings?.measureY.annotationsOptions);return this.chart.addAnnotation(l)},steps:[j]},measureXY:{className:"highcharts-measure-xy",start:function(t){let[i,s]=this.getCoords(t);if(!i||!s)return;let n=i.value,o=s.value,a=this.chart.options.navigation,l=(0,e.merge)({langKey:"measure",type:"measure",typeOptions:{selectType:"xy",xAxis:i.axis.index,yAxis:s.axis.index,point:{x:n,y:o},background:{width:0,height:0,strokeWidth:0},crosshairX:{strokeWidth:1},crosshairY:{strokeWidth:1}}},a.annotationsOptions,a.bindings?.measureXY.annotationsOptions);return this.chart.addAnnotation(l)},steps:[j]},fibonacci:{className:"highcharts-fibonacci",start:function(t){let[i,s]=this.getCoords(t);if(!i||!s)return;let n=i.value,o=s.value,a=this.chart.options.navigation,l=(0,e.merge)({langKey:"fibonacci",type:"fibonacci",typeOptions:{xAxis:i.axis.index,yAxis:s.axis.index,points:[{x:n,y:o},{x:n,y:o}]}},a.annotationsOptions,a.bindings?.fibonacci.annotationsOptions);return this.chart.addAnnotation(l)},steps:[Z(1),q]},parallelChannel:{className:"highcharts-parallel-channel",start:function(t){let[i,s]=this.getCoords(t);if(!i||!s)return;let n=i.value,o=s.value,a=this.chart.options.navigation,l=(0,e.merge)({langKey:"parallelChannel",type:"tunnel",typeOptions:{xAxis:i.axis.index,yAxis:s.axis.index,points:[{x:n,y:o},{x:n,y:o}]}},a.annotationsOptions,a.bindings?.parallelChannel.annotationsOptions);return this.chart.addAnnotation(l)},steps:[Z(1),q]},pitchfork:{className:"highcharts-pitchfork",start:function(t){let[i,s]=this.getCoords(t);if(!i||!s)return;let n=i.value,o=s.value,a=this.chart.options.navigation,l=(0,e.merge)({langKey:"pitchfork",type:"pitchfork",typeOptions:{xAxis:i.axis.index,yAxis:s.axis.index,points:[{x:i.value,y:s.value,controlPoint:{style:{fill:"var(--highcharts-negative-color)"}}},{x:n,y:o},{x:n,y:o}]}},a.annotationsOptions,a.bindings?.pitchfork.annotationsOptions);return this.chart.addAnnotation(l)},steps:[Z(1),Z(2)]},verticalCounter:{className:"highcharts-vertical-counter",start:function(t){let i=F(t,this.chart);if(!i)return;this.verticalCounter=this.verticalCounter||0;let s=this.chart.options.navigation,n=(0,e.merge)({langKey:"verticalCounter",type:"verticalLine",typeOptions:{point:{x:i.x,y:i.y,xAxis:i.xAxis,yAxis:i.yAxis},label:{offset:i.below?40:-40,text:this.verticalCounter.toString()}}},s.annotationsOptions,s.bindings?.verticalCounter.annotationsOptions),o=this.chart.addAnnotation(n);this.verticalCounter++,o.options.events?.click?.call(o,{})}},timeCycles:{className:"highcharts-time-cycles",start:function(t){let i=F(t,this.chart);if(!i)return;let s=this.chart.options.navigation,n=(0,e.merge)({langKey:"timeCycles",type:"timeCycles",typeOptions:{xAxis:i.xAxis,yAxis:i.yAxis,points:[{x:i.x},{x:i.x}]}},s.annotationsOptions,s.bindings?.timeCycles.annotationsOptions),o=this.chart.addAnnotation(n);return o.options.events?.click?.call(o,{}),o},steps:[Z(1)]},verticalLabel:{className:"highcharts-vertical-label",start:function(t){let i=F(t,this.chart);if(!i)return;let s=this.chart.options.navigation,n=(0,e.merge)({langKey:"verticalLabel",type:"verticalLine",typeOptions:{point:{x:i.x,y:i.y,xAxis:i.xAxis,yAxis:i.yAxis},label:{offset:i.below?40:-40}}},s.annotationsOptions,s.bindings?.verticalLabel.annotationsOptions),o=this.chart.addAnnotation(n);o.options.events?.click?.call(o,{})}},verticalArrow:{className:"highcharts-vertical-arrow",start:function(t){let i=F(t,this.chart);if(!i)return;let s=this.chart.options.navigation,n=(0,e.merge)({langKey:"verticalArrow",type:"verticalLine",typeOptions:{point:{x:i.x,y:i.y,xAxis:i.xAxis,yAxis:i.yAxis},label:{offset:i.below?40:-40,format:" "},connector:{fill:"none",stroke:i.below?"var(--highcharts-negative-color)":"var(--highcharts-positive-color)"}}},s.annotationsOptions,s.bindings?.verticalArrow.annotationsOptions),o=this.chart.addAnnotation(n);o.options.events?.click?.call(o,{})}},fibonacciTimeZones:{className:"highcharts-fibonacci-time-zones",start:function(t){let[i,s]=this.getCoords(t);if(!i||!s)return;let n=this.chart.options.navigation,o=(0,e.merge)({type:"fibonacciTimeZones",langKey:"fibonacciTimeZones",typeOptions:{xAxis:i.axis.index,yAxis:s.axis.index,points:[{x:i.value}]}},n.annotationsOptions,n.bindings?.fibonacciTimeZones.annotationsOptions);return this.chart.addAnnotation(o)},steps:[function(t,i){let e=i.options.typeOptions?.points,s=(e?.[0]).x,[n,o]=this.getCoords(t);n&&o&&i.update({typeOptions:{xAxis:n.axis.index,yAxis:o.axis.index,points:[{x:s},{x:n.value}]}})}]},flagCirclepin:{className:"highcharts-flag-circlepin",start:X("circlepin")},flagDiamondpin:{className:"highcharts-flag-diamondpin",start:X("flag")},flagSquarepin:{className:"highcharts-flag-squarepin",start:X("squarepin")},flagSimplepin:{className:"highcharts-flag-simplepin",start:X("nopin")},zoomX:{className:"highcharts-zoom-x",init:function(t){this.chart.update({chart:{zooming:{type:"x"}}}),(0,e.fireEvent)(this,"deselectButton",{button:t})}},zoomY:{className:"highcharts-zoom-y",init:function(t){this.chart.update({chart:{zooming:{type:"y"}}}),(0,e.fireEvent)(this,"deselectButton",{button:t})}},zoomXY:{className:"highcharts-zoom-xy",init:function(t){this.chart.update({chart:{zooming:{type:"xy"}}}),(0,e.fireEvent)(this,"deselectButton",{button:t})}},seriesTypeLine:{className:"highcharts-series-type-line",init:function(t){this.chart.series[0].update({type:"line",useOhlcData:!0}),(0,e.fireEvent)(this,"deselectButton",{button:t})}},seriesTypeOhlc:{className:"highcharts-series-type-ohlc",init:function(t){this.chart.series[0].update({type:"ohlc"}),(0,e.fireEvent)(this,"deselectButton",{button:t})}},seriesTypeCandlestick:{className:"highcharts-series-type-candlestick",init:function(t){this.chart.series[0].update({type:"candlestick"}),(0,e.fireEvent)(this,"deselectButton",{button:t})}},seriesTypeHeikinAshi:{className:"highcharts-series-type-heikinashi",init:function(t){this.chart.series[0].update({type:"heikinashi"}),(0,e.fireEvent)(this,"deselectButton",{button:t})}},seriesTypeHLC:{className:"highcharts-series-type-hlc",init:function(t){this.chart.series[0].update({type:"hlc",useOhlcData:!0}),(0,e.fireEvent)(this,"deselectButton",{button:t})}},seriesTypeHollowCandlestick:{className:"highcharts-series-type-hollowcandlestick",init:function(t){this.chart.series[0].update({type:"hollowcandlestick"}),(0,e.fireEvent)(this,"deselectButton",{button:t})}},fullScreen:{className:"highcharts-full-screen",noDataState:"normal",init:function(t){this.chart.fullscreen&&this.chart.fullscreen.toggle(),(0,e.fireEvent)(this,"deselectButton",{button:t})}},currentPriceIndicator:{className:"highcharts-current-price-indicator",init:function(t){let i=this.chart,s=i.series,n=i.stockTools,o=U(i.series);n&&n.guiEnabled&&(s.forEach(function(t){t.update({lastPrice:{enabled:!o},lastVisiblePrice:{enabled:!o,label:{enabled:!0}}},!1)}),i.redraw()),(0,e.fireEvent)(this,"deselectButton",{button:t})}},indicators:{className:"highcharts-indicators",init:function(){let t=this;(0,e.fireEvent)(t,"showPopup",{formType:"indicators",options:{},onSubmit:function(i){K.call(t,i)}})}},toggleAnnotations:{className:"highcharts-toggle-annotations",init:function(t){let i=this.chart,s=i.stockTools;this.toggledAnnotations=!this.toggledAnnotations,(i.annotations||[]).forEach(function(t){t.setVisibility(!this.toggledAnnotations)},this),s?.guiEnabled&&(this.toggledAnnotations?t.firstChild.style["background-image"]=P("annotations-hidden.svg",s.iconsURL,R):t.firstChild.style["background-image"]=P("annotations-visible.svg",s.iconsURL,R)),(0,e.fireEvent)(this,"deselectButton",{button:t})}},saveChart:{className:"highcharts-save-chart",noDataState:"normal",init:function(t){let i=this.chart,s=[],o=[],a=[],l=[];i.annotations.forEach(function(t,i){s[i]=t.userOptions}),i.series.forEach(function(t){t.is("sma")?o.push(t.userOptions):"flags"===t.type&&a.push(t.userOptions)}),i.yAxis.forEach(function(t){D(t)&&l.push(t.options)}),n().win.localStorage.setItem("highcharts-chart",JSON.stringify({annotations:s,indicators:o,flags:a,yAxes:l})),(0,e.fireEvent)(this,"deselectButton",{button:t})}}},G={lang:{stockTools:{gui:{simpleShapes:"Simple shapes",lines:"Lines",crookedLines:"Crooked lines",measure:"Measure",advanced:"Advanced",toggleAnnotations:"Toggle annotations",verticalLabels:"Vertical labels",flags:"Flags",zoomChange:"Zoom change",typeChange:"Type change",saveChart:"Save chart",indicators:"Indicators",currentPriceIndicator:"Current Price Indicators",zoomX:"Zoom X",zoomY:"Zoom Y",zoomXY:"Zooom XY",fullScreen:"Fullscreen",typeOHLC:"OHLC",typeLine:"Line",typeCandlestick:"Candlestick",typeHLC:"HLC",typeHollowCandlestick:"Hollow Candlestick",typeHeikinAshi:"Heikin Ashi",circle:"Circle",ellipse:"Ellipse",label:"Label",rectangle:"Rectangle",flagCirclepin:"Flag circle",flagDiamondpin:"Flag diamond",flagSquarepin:"Flag square",flagSimplepin:"Flag simple",measureXY:"Measure XY",measureX:"Measure X",measureY:"Measure Y",segment:"Segment",arrowSegment:"Arrow segment",ray:"Ray",arrowRay:"Arrow ray",line:"Line",arrowInfinityLine:"Arrow line",horizontalLine:"Horizontal line",verticalLine:"Vertical line",infinityLine:"Infinity line",crooked3:"Crooked 3 line",crooked5:"Crooked 5 line",elliott3:"Elliott 3 line",elliott5:"Elliott 5 line",verticalCounter:"Vertical counter",verticalLabel:"Vertical label",verticalArrow:"Vertical arrow",fibonacci:"Fibonacci",fibonacciTimeZones:"Fibonacci Time Zones",pitchfork:"Pitchfork",parallelChannel:"Parallel channel",timeCycles:"Time Cycles"}},navigation:{popup:{circle:"Circle",ellipse:"Ellipse",rectangle:"Rectangle",label:"Label",segment:"Segment",arrowSegment:"Arrow segment",ray:"Ray",arrowRay:"Arrow ray",line:"Line",arrowInfinityLine:"Arrow line",horizontalLine:"Horizontal line",verticalLine:"Vertical line",crooked3:"Crooked 3 line",crooked5:"Crooked 5 line",elliott3:"Elliott 3 line",elliott5:"Elliott 5 line",verticalCounter:"Vertical counter",verticalLabel:"Vertical label",verticalArrow:"Vertical arrow",fibonacci:"Fibonacci",fibonacciTimeZones:"Fibonacci Time Zones",pitchfork:"Pitchfork",parallelChannel:"Parallel channel",infinityLine:"Infinity line",measure:"Measure",measureXY:"Measure XY",measureX:"Measure X",measureY:"Measure Y",timeCycles:"Time Cycles",flags:"Flags",addButton:"Add",saveButton:"Save",editButton:"Edit",removeButton:"Remove",series:"Series",volume:"Volume",connector:"Connector",innerBackground:"Inner background",outerBackground:"Outer background",crosshairX:"Crosshair X",crosshairY:"Crosshair Y",tunnel:"Tunnel",background:"Background",noFilterMatch:"No match",searchIndicators:"Search Indicators",clearFilter:"✕ clear filter",index:"Index",period:"Period",periods:"Periods",standardDeviation:"Standard deviation",periodTenkan:"Tenkan period",periodSenkouSpanB:"Senkou Span B period",periodATR:"ATR period",multiplierATR:"ATR multiplier",shortPeriod:"Short period",longPeriod:"Long period",signalPeriod:"Signal period",decimals:"Decimals",algorithm:"Algorithm",topBand:"Top band",bottomBand:"Bottom band",initialAccelerationFactor:"Initial acceleration factor",maxAccelerationFactor:"Max acceleration factor",increment:"Increment",multiplier:"Multiplier",ranges:"Ranges",highIndex:"High index",lowIndex:"Low index",deviation:"Deviation",xAxisUnit:"x-axis unit",factor:"Factor",fastAvgPeriod:"Fast average period",slowAvgPeriod:"Slow average period",average:"Average",indicatorAliases:{abands:["Acceleration Bands"],bb:["Bollinger Bands"],dema:["Double Exponential Moving Average"],ema:["Exponential Moving Average"],ikh:["Ichimoku Kinko Hyo"],keltnerchannels:["Keltner Channels"],linearRegression:["Linear Regression"],pivotpoints:["Pivot Points"],pc:["Price Channel"],priceenvelopes:["Price Envelopes"],psar:["Parabolic SAR"],sma:["Simple Moving Average"],supertrend:["Super Trend"],tema:["Triple Exponential Moving Average"],vbp:["Volume by Price"],vwap:["Volume Weighted Moving Average"],wma:["Weighted Moving Average"],zigzag:["Zig Zag"],apo:["Absolute price indicator"],ad:["Accumulation/Distribution"],aroon:["Aroon"],aroonoscillator:["Aroon oscillator"],atr:["Average True Range"],ao:["Awesome oscillator"],cci:["Commodity Channel Index"],chaikin:["Chaikin"],cmf:["Chaikin Money Flow"],cmo:["Chande Momentum Oscillator"],disparityindex:["Disparity Index"],dmi:["Directional Movement Index"],dpo:["Detrended price oscillator"],klinger:["Klinger Oscillator"],linearRegressionAngle:["Linear Regression Angle"],linearRegressionIntercept:["Linear Regression Intercept"],linearRegressionSlope:["Linear Regression Slope"],macd:["Moving Average Convergence Divergence"],mfi:["Money Flow Index"],momentum:["Momentum"],natr:["Normalized Average True Range"],obv:["On-Balance Volume"],ppo:["Percentage Price oscillator"],roc:["Rate of Change"],rsi:["Relative Strength Index"],slowstochastic:["Slow Stochastic"],stochastic:["Stochastic"],trix:["TRIX"],williamsr:["Williams %R"]}}}},stockTools:{gui:{enabled:!0,className:"highcharts-bindings-wrapper",toolbarClassName:"stocktools-toolbar",buttons:["indicators","separator","simpleShapes","lines","crookedLines","measure","advanced","toggleAnnotations","separator","verticalLabels","flags","separator","zoomChange","fullScreen","typeChange","separator","currentPriceIndicator","saveChart"],definitions:{separator:{elementType:"span",symbol:"separator.svg"},simpleShapes:{items:["label","circle","ellipse","rectangle"],circle:{symbol:"circle.svg"},ellipse:{symbol:"ellipse.svg"},rectangle:{symbol:"rectangle.svg"},label:{symbol:"label.svg"}},flags:{items:["flagCirclepin","flagDiamondpin","flagSquarepin","flagSimplepin"],flagSimplepin:{symbol:"flag-basic.svg"},flagDiamondpin:{symbol:"flag-diamond.svg"},flagSquarepin:{symbol:"flag-trapeze.svg"},flagCirclepin:{symbol:"flag-elipse.svg"}},lines:{items:["segment","arrowSegment","ray","arrowRay","line","arrowInfinityLine","horizontalLine","verticalLine"],segment:{symbol:"segment.svg"},arrowSegment:{symbol:"arrow-segment.svg"},ray:{symbol:"ray.svg"},arrowRay:{symbol:"arrow-ray.svg"},line:{symbol:"line.svg"},arrowInfinityLine:{symbol:"arrow-line.svg"},verticalLine:{symbol:"vertical-line.svg"},horizontalLine:{symbol:"horizontal-line.svg"}},crookedLines:{items:["elliott3","elliott5","crooked3","crooked5"],crooked3:{symbol:"crooked-3.svg"},crooked5:{symbol:"crooked-5.svg"},elliott3:{symbol:"elliott-3.svg"},elliott5:{symbol:"elliott-5.svg"}},verticalLabels:{items:["verticalCounter","verticalLabel","verticalArrow"],verticalCounter:{symbol:"vertical-counter.svg"},verticalLabel:{symbol:"vertical-label.svg"},verticalArrow:{symbol:"vertical-arrow.svg"}},advanced:{items:["fibonacci","fibonacciTimeZones","pitchfork","parallelChannel","timeCycles"],pitchfork:{symbol:"pitchfork.svg"},fibonacci:{symbol:"fibonacci.svg"},fibonacciTimeZones:{symbol:"fibonacci-timezone.svg"},parallelChannel:{symbol:"parallel-channel.svg"},timeCycles:{symbol:"time-cycles.svg"}},measure:{items:["measureXY","measureX","measureY"],measureX:{symbol:"measure-x.svg"},measureY:{symbol:"measure-y.svg"},measureXY:{symbol:"measure-xy.svg"}},toggleAnnotations:{symbol:"annotations-visible.svg"},currentPriceIndicator:{symbol:"current-price-show.svg"},indicators:{symbol:"indicators.svg"},zoomChange:{items:["zoomX","zoomY","zoomXY"],zoomX:{symbol:"zoom-x.svg"},zoomY:{symbol:"zoom-y.svg"},zoomXY:{symbol:"zoom-xy.svg"}},typeChange:{items:["typeOHLC","typeLine","typeCandlestick","typeHollowCandlestick","typeHLC","typeHeikinAshi"],typeOHLC:{symbol:"series-ohlc.svg"},typeLine:{symbol:"series-line.svg"},typeCandlestick:{symbol:"series-candlestick.svg"},typeHLC:{symbol:"series-hlc.svg"},typeHeikinAshi:{symbol:"series-heikin-ashi.svg"},typeHollowCandlestick:{symbol:"series-hollow-candlestick.svg"}},fullScreen:{symbol:"fullscreen.svg"},saveChart:{symbol:"save-chart.svg"}},visible:!0}}},{setOptions:J}=n(),{isNotNavigatorYAxis:Q,isPriceIndicatorEnabled:tt}=V;function ti(t,i,s,n){let o=0,a,l,r;function c(t){return(0,e.defined)(t)&&!(0,e.isNumber)(t)&&t.match("%")}return n&&(r=(0,e.correctFloat)(parseFloat(n.top)/100),l=(0,e.correctFloat)(parseFloat(n.height)/100)),{positions:t.map((n,h)=>{let g=(0,e.correctFloat)(c(n.options.height)?parseFloat(String(n.options.height))/100:n.height/i),p=(0,e.correctFloat)(c(n.options.top)?parseFloat(String(n.options.top))/100:(n.top-n.chart.plotTop)/i);return l?(p>r&&(p-=l),o=Math.max(o,(p||0)+(g||0))):((0,e.isNumber)(g)||(g=t[h-1].series.every(t=>t.is("sma"))?a:s/100),(0,e.isNumber)(p)||(p=o),a=g,o=(0,e.correctFloat)(Math.max(o,(p||0)+(g||0)))),{height:100*g,top:100*p}}),allAxesHeight:o}}function te(t){let i=[];return t.forEach(function(e,s){let n=t[s+1];n?i[s]={enabled:!0,controlledAxis:{next:[n.options.id??n.index]}}:i[s]={enabled:!1}}),i}function ts(t,i,s,n){return t.forEach(function(o,a){let l=t[a-1];o.top=l?(0,e.correctFloat)(l.height+l.top):0,s&&(o.height=(0,e.correctFloat)(o.height+n*i))}),t}function tn(t){let i=this.chart,s=i.yAxis.filter(Q),n=i.plotHeight,{positions:o,allAxesHeight:a}=this.getYAxisPositions(s,n,20,t),l=this.getYAxisResizers(s);!t&&a<=(0,e.correctFloat)(1)?o[o.length-1]={height:20,top:(0,e.correctFloat)(100*a-20)}:o.forEach(function(t){t.height=t.height/(100*a)*100,t.top=t.top/(100*a)*100}),o.forEach(function(t,i){s[i].update({height:t.height+"%",top:t.top+"%",resize:l[i],offset:0},!1)})}let to=t.default.AST;var ta=i.n(to);let{shallowArraysEqual:tl}=V;class tr{constructor(t,i,s){this.width=0,this.isDirty=!1,this.chart=s,this.options=t,this.iconsURL=this.getIconsURL(),this.lang=i,this.guiEnabled=t.enabled,this.visible=t.visible??!0,this.guiClassName=t.className,this.toolbarClassName=t.toolbarClassName,this.eventsToUnbind=[],this.guiEnabled&&(this.createContainer(),this.createButtons(),this.showHideNavigation()),(0,e.fireEvent)(this,"afterInit")}createButtons(){let t=this.lang,i=this.options,s=this.toolbar,n=i.buttons,o=i.definitions,a=s.childNodes;this.buttonList=n,n.forEach(i=>{let n=this.addButton(s,o,i,t);this.eventsToUnbind.push((0,e.addEvent)(n.buttonWrapper,"click",()=>this.eraseActiveButtons(a,n.buttonWrapper))),(0,e.isArray)(o[i].items)&&this.addSubmenu(n,o[i])})}addSubmenu(t,i){let s=t.submenuArrow,n=t.buttonWrapper,o=(0,e.getStyle)(n,"width"),a=this.wrapper,l=this.listWrapper,r=this.toolbar.childNodes,c=n.title,h=this.submenu=(0,e.createElement)("ul",{className:"highcharts-submenu-wrapper",id:"highcharts-submenu-wrapper-"+c.toLowerCase().replace(/\s+/g,"-")},void 0,n);this.addSubmenuItems(n,i),s.setAttribute("aria-controls",h.id),this.eventsToUnbind.push((0,e.addEvent)(s,"click",t=>{if(t.stopPropagation(),this.eraseActiveButtons(r,n),n.className.indexOf("highcharts-current")>=0)s.setAttribute("aria-expanded",!1),l.style.width=l.startWidth+"px",n.classList.remove("highcharts-current"),h.style.display="none";else{s.setAttribute("aria-expanded",!0),h.style.display="block";let t=h.offsetHeight-n.offsetHeight-3;h.offsetHeight+n.offsetTop>a.offsetHeight&&n.offsetTop>t||(t=0),(0,e.css)(h,{top:-t+"px",left:o+3+"px"}),n.className+=" highcharts-current",l.startWidth=a.offsetWidth,l.style.width=l.startWidth+(0,e.getStyle)(l,"padding-left")+h.offsetWidth+3+"px"}}))}addSubmenuItems(t,i){let s,n=this,o=this.submenu,a=this.lang,l=this.listWrapper;i.items.forEach(r=>{s=this.addButton(o,i,r,a),this.eventsToUnbind.push((0,e.addEvent)(s.mainButton,"click",function(){n.switchSymbol(this,t,!0),l.style.width=l.startWidth+"px",o.style.display="none"}))});let r=o.querySelectorAll("li > .highcharts-menu-item-btn")[0];this.switchSymbol(r,!1)}eraseActiveButtons(t,i,e){[].forEach.call(t,t=>{t!==i&&(t.classList.remove("highcharts-current"),t.classList.remove("highcharts-active"),(e=t.querySelectorAll(".highcharts-submenu-wrapper")).length>0&&(e[0].style.display="none"))})}addButton(t,i,s,n={}){let o=i[s],a=n[s]||s,l=this.chart.options.lang.accessibility?.stockTools.arrowLabel,r=o.items,c=tr.prototype.classMapping,h=o.className||"",g=(0,e.createElement)("li",{className:(c[s]??"")+" "+h},void 0,t),p=o.elementType||"button",d=(0,e.createElement)(p,{className:"highcharts-menu-item-btn",title:a,ariaLabel:a},void 0,g);if(r&&r.length){let t=(0,e.createElement)("button",{className:"highcharts-submenu-item-arrow highcharts-arrow-right",ariaLabel:l,ariaExpanded:!1},void 0,g);return t.style.backgroundImage=P("arrow-bottom.svg",this.iconsURL,R),{buttonWrapper:g,mainButton:d,submenuArrow:t}}return d.style.backgroundImage=P(o.symbol,this.iconsURL,R),{buttonWrapper:g,mainButton:d}}addNavigation(){let t=this.wrapper;this.arrowWrapper=(0,e.createElement)("div",{className:"highcharts-arrow-wrapper"}),this.arrowUp=(0,e.createElement)("div",{className:"highcharts-arrow-up"},void 0,this.arrowWrapper),this.arrowUp.style.backgroundImage=P("arrow-right.svg",this.iconsURL,R),this.arrowDown=(0,e.createElement)("div",{className:"highcharts-arrow-down"},void 0,this.arrowWrapper),this.arrowDown.style.backgroundImage=P("arrow-right.svg",this.iconsURL,R),t.insertBefore(this.arrowWrapper,t.childNodes[0]),this.scrollButtons()}scrollButtons(){let t=this.wrapper,i=this.toolbar,s=.1*t.offsetHeight,n=0;this.eventsToUnbind.push((0,e.addEvent)(this.arrowUp,"click",()=>{n>0&&(n-=s,i.style.marginTop=-n+"px")})),this.eventsToUnbind.push((0,e.addEvent)(this.arrowDown,"click",()=>{t.offsetHeight+n<=i.offsetHeight+s&&(n+=s,i.style.marginTop=-n+"px")}))}createContainer(){let t,i,s=this.chart,n=s.options.lang.accessibility?.stockTools.groupLabel,o=this.options,a=s.container,l=s.options.navigation,r=l?.bindingsClassName,c=this,h=this.wrapper=(0,e.createElement)("div",{className:"highcharts-stocktools-wrapper "+o.className+" "+r,ariaHidden:!1});a.appendChild(h),this.showHideBtn=(0,e.createElement)("div",{className:"highcharts-toggle-toolbar highcharts-arrow-left"},void 0,h),this.eventsToUnbind.push((0,e.addEvent)(this.showHideBtn,"click",()=>{this.update({gui:{visible:!c.visible}})})),["mousedown","mousemove","click","touchstart"].forEach(t=>{(0,e.addEvent)(h,t,t=>t.stopPropagation())}),(0,e.addEvent)(h,"mouseover",t=>s.pointer?.onContainerMouseLeave(t)),this.toolbar=i=(0,e.createElement)("ul",{className:"highcharts-stocktools-toolbar "+o.toolbarClassName,ariaLabel:n}),this.listWrapper=t=(0,e.createElement)("div",{className:"highcharts-menu-wrapper"}),h.insertBefore(t,h.childNodes[0]),t.insertBefore(i,t.childNodes[0]),this.showHideToolbar(),this.addNavigation()}showHideNavigation(){this.visible&&this.toolbar.offsetHeight>this.wrapper.offsetHeight-50?this.arrowWrapper.style.display="block":(this.toolbar.style.marginTop="0px",this.arrowWrapper.style.display="none")}showHideToolbar(){let t=this.wrapper,i=this.listWrapper,s=this.submenu,n=this.showHideBtn,o=this.visible;n.style.backgroundImage=P("arrow-right.svg",this.iconsURL,R),o?(t.style.height="100%",i.classList.remove("highcharts-hide"),n.classList.remove("highcharts-arrow-right"),n.style.top=(0,e.getStyle)(i,"padding-top")+"px",n.style.left=t.offsetWidth+(0,e.getStyle)(i,"padding-left")+"px"):(s&&(s.style.display="none"),n.style.left="0px",o=this.visible=!1,i.classList.add("highcharts-hide"),n.classList.add("highcharts-arrow-right"),t.style.height=n.offsetHeight+"px")}switchSymbol(t,i){let e=t.parentNode,s=e.className,n=e.parentNode.parentNode;!(s.indexOf("highcharts-disabled-btn")>-1)&&(n.className="",s&&n.classList.add(s.trim()),n.querySelectorAll(".highcharts-menu-item-btn")[0].style.backgroundImage=t.style.backgroundImage,i&&this.toggleButtonActiveClass(n))}toggleButtonActiveClass(t){let i=t.classList;i.contains("highcharts-active")?i.remove("highcharts-active"):i.add("highcharts-active")}unselectAllButtons(t){let i=t.parentNode.querySelectorAll(".highcharts-active");[].forEach.call(i,i=>{i!==t&&i.classList.remove("highcharts-active")})}update(t,i){this.isDirty=!!t.gui.definitions,(0,e.merge)(!0,this.chart.options.stockTools,t),(0,e.merge)(!0,this.options,t.gui),this.visible=(this.options.visible&&this.options.enabled)??!0,this.chart.navigationBindings&&this.chart.navigationBindings.update(),this.chart.isDirtyBox=!0,(i??!0)&&this.chart.redraw()}destroy(){let t=this.wrapper,i=t&&t.parentNode;this.eventsToUnbind.forEach(t=>t()),i&&i.removeChild(t)}redraw(){if(this.options.enabled!==this.guiEnabled)this.handleGuiEnabledChange();else{if(!this.guiEnabled)return;this.updateClassNames(),this.updateButtons(),this.updateVisibility(),this.showHideNavigation(),this.showHideToolbar()}}handleGuiEnabledChange(){!1===this.options.enabled&&(this.destroy(),this.visible=!1),!0===this.options.enabled&&(this.createContainer(),this.createButtons()),this.guiEnabled=this.options.enabled}updateClassNames(){this.options.className!==this.guiClassName&&(this.guiClassName&&this.wrapper.classList.remove(this.guiClassName),this.options.className&&this.wrapper.classList.add(this.options.className),this.guiClassName=this.options.className),this.options.toolbarClassName!==this.toolbarClassName&&(this.toolbarClassName&&this.toolbar.classList.remove(this.toolbarClassName),this.options.toolbarClassName&&this.toolbar.classList.add(this.options.toolbarClassName),this.toolbarClassName=this.options.toolbarClassName)}updateButtons(){(!tl(this.options.buttons,this.buttonList)||this.isDirty)&&(this.toolbar.innerHTML=ta().emptyHTML,this.createButtons())}updateVisibility(){(0,e.defined)(this.options.visible)&&(this.visible=this.options.visible)}getIconsURL(){return this.chart.options.navigation?.iconsURL||this.options.iconsURL||"renderer"}}tr.prototype.classMapping={circle:"highcharts-circle-annotation",ellipse:"highcharts-ellipse-annotation",rectangle:"highcharts-rectangle-annotation",label:"highcharts-label-annotation",segment:"highcharts-segment",arrowSegment:"highcharts-arrow-segment",ray:"highcharts-ray",arrowRay:"highcharts-arrow-ray",line:"highcharts-infinity-line",arrowInfinityLine:"highcharts-arrow-infinity-line",verticalLine:"highcharts-vertical-line",horizontalLine:"highcharts-horizontal-line",crooked3:"highcharts-crooked3",crooked5:"highcharts-crooked5",elliott3:"highcharts-elliott3",elliott5:"highcharts-elliott5",pitchfork:"highcharts-pitchfork",fibonacci:"highcharts-fibonacci",fibonacciTimeZones:"highcharts-fibonacci-time-zones",parallelChannel:"highcharts-parallel-channel",measureX:"highcharts-measure-x",measureY:"highcharts-measure-y",measureXY:"highcharts-measure-xy",timeCycles:"highcharts-time-cycles",verticalCounter:"highcharts-vertical-counter",verticalLabel:"highcharts-vertical-label",verticalArrow:"highcharts-vertical-arrow",currentPriceIndicator:"highcharts-current-price-indicator",indicators:"highcharts-indicators",flagCirclepin:"highcharts-flag-circlepin",flagDiamondpin:"highcharts-flag-diamondpin",flagSquarepin:"highcharts-flag-squarepin",flagSimplepin:"highcharts-flag-simplepin",zoomX:"highcharts-zoom-x",zoomY:"highcharts-zoom-y",zoomXY:"highcharts-zoom-xy",typeLine:"highcharts-series-type-line",typeOHLC:"highcharts-series-type-ohlc",typeHLC:"highcharts-series-type-hlc",typeCandlestick:"highcharts-series-type-candlestick",typeHollowCandlestick:"highcharts-series-type-hollowcandlestick",typeHeikinAshi:"highcharts-series-type-heikinashi",fullScreen:"highcharts-full-screen",toggleAnnotations:"highcharts-toggle-annotations",saveChart:"highcharts-save-chart",separator:"highcharts-separator"};let{setOptions:tc}=n();function th(t){let i=this.options,s=i.lang,n=(0,e.merge)(i.stockTools&&i.stockTools.gui,t&&t.gui),o=s&&s.stockTools&&s.stockTools.gui;this.stockTools=new tr(n,o,this),this.stockTools.guiEnabled&&(this.isDirtyBox=!0)}function tg(){this.setStockTools()}function tp(){this.stockTools&&(this.stockTools.redraw(),function(t){if(t.stockTools?.guiEnabled){let i=t.options.chart,s=t.stockTools.listWrapper,n=s&&(s.startWidth+(0,e.getStyle)(s,"padding-left")+(0,e.getStyle)(s,"padding-right")||s.offsetWidth);t.stockTools.width=n;let o=!1;if(n<t.plotWidth){let e=(i.spacingLeft??(i.spacing&&i.spacing[3])??0)+n,s=e-t.spacingBox.x;t.spacingBox.x=e,t.spacingBox.width-=s,o=!0}else 0===n&&(o=!0);n!==t.stockTools.prevOffsetWidth&&(t.stockTools.prevOffsetWidth=n,o&&(t.isDirtyLegend=!0))}}(this))}function td(){this.stockTools&&this.stockTools.destroy()}function tu(){let t=this.stockTools?.visible&&this.stockTools.guiEnabled?this.stockTools.width:0;t&&t<this.plotWidth&&(this.plotLeft+=t,this.spacing[3]+=t)}function tf(){let t=this.stockTools,i=t&&t.toolbar&&t.toolbar.querySelector(".highcharts-current-price-indicator");if(t&&this.navigationBindings&&this.options.series&&i){let{iconsURL:e}=t;this.navigationBindings.utils?.isPriceIndicatorEnabled?.(this.series)?i.firstChild.style["background-image"]=P("current-price-hide.svg",e,R):i.firstChild.style["background-image"]=P("current-price-show.svg",e,R)}}function tv(t){let i=this.chart.stockTools;if(i&&i.guiEnabled){let i=t.button;i.parentNode.className.indexOf("highcharts-submenu-wrapper")>=0&&(i=i.parentNode.parentNode),i.classList.remove("highcharts-active")}}function ty(t){let i=this.chart.stockTools;if(i&&i.guiEnabled){let e=t.button;i.unselectAllButtons(t.button),e.parentNode.className.indexOf("highcharts-submenu-wrapper")>=0&&(e=e.parentNode.parentNode),i.toggleButtonActiveClass(e)}}let tm=n();tm.NavigationBindings=tm.NavigationBindings||M,tm.Toolbar=tr,({compose:function(t){let i=t.prototype;i.utils?.manageIndicators||(i.getYAxisPositions=ti,i.getYAxisResizers=te,i.recalculateYAxisPositions=ts,i.resizeYAxes=tn,i.utils=i.utils||{},i.utils.indicatorsWithAxes=V.indicatorsWithAxes,i.utils.indicatorsWithVolume=V.indicatorsWithVolume,i.utils.getAssignedAxis=V.getAssignedAxis,i.utils.isPriceIndicatorEnabled=tt,i.utils.manageIndicators=V.manageIndicators,J(G),J({navigation:{bindings:_}}))}}).compose(tm.NavigationBindings),({compose:function(t,i){let s=t.prototype;s.setStockTools||((0,e.addEvent)(t,"afterGetContainer",tg),(0,e.addEvent)(t,"beforeRedraw",tp),(0,e.addEvent)(t,"beforeRender",tp),(0,e.addEvent)(t,"destroy",td),(0,e.addEvent)(t,"getMargins",tu,{order:0}),(0,e.addEvent)(t,"render",tf),s.setStockTools=th,(0,e.addEvent)(i,"deselectButton",tv),(0,e.addEvent)(i,"selectButton",ty),tc(G))}}).compose(tm.Chart,tm.NavigationBindings);let tx=n();export{tx as default};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// SPDX-License-Identifier: LicenseRef-Highcharts
|
|
2
2
|
/**
|
|
3
|
-
* @license Highstock JS v13.0.
|
|
3
|
+
* @license Highstock JS v13.0.2 (2026-08-27)
|
|
4
4
|
* @module highcharts/modules/stock-tools
|
|
5
5
|
* @requires highcharts
|
|
6
6
|
* @requires highcharts/modules/stock
|
|
@@ -15,14 +15,14 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import * as __WEBPACK_EXTERNAL_MODULE__highcharts_src_js_8202131d__ from "../highcharts.src.js";
|
|
17
17
|
/******/ // The require scope
|
|
18
|
-
/******/
|
|
18
|
+
/******/ const __webpack_require__ = {};
|
|
19
19
|
/******/
|
|
20
20
|
/************************************************************************/
|
|
21
21
|
/******/ /* webpack/runtime/compat get default export */
|
|
22
22
|
/******/ (() => {
|
|
23
23
|
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
24
24
|
/******/ __webpack_require__.n = (module) => {
|
|
25
|
-
/******/
|
|
25
|
+
/******/ const getter = module && module.__esModule ?
|
|
26
26
|
/******/ () => (module['default']) :
|
|
27
27
|
/******/ () => (module);
|
|
28
28
|
/******/ __webpack_require__.d(getter, { a: getter });
|
|
@@ -32,11 +32,26 @@ import * as __WEBPACK_EXTERNAL_MODULE__highcharts_src_js_8202131d__ from "../hig
|
|
|
32
32
|
/******/
|
|
33
33
|
/******/ /* webpack/runtime/define property getters */
|
|
34
34
|
/******/ (() => {
|
|
35
|
-
/******/ // define getter functions for harmony exports
|
|
35
|
+
/******/ // define getter/value functions for harmony exports
|
|
36
36
|
/******/ __webpack_require__.d = (exports, definition) => {
|
|
37
|
-
/******/
|
|
38
|
-
/******/
|
|
39
|
-
/******/
|
|
37
|
+
/******/ if(Array.isArray(definition)) {
|
|
38
|
+
/******/ var i = 0;
|
|
39
|
+
/******/ while(i < definition.length) {
|
|
40
|
+
/******/ var key = definition[i++];
|
|
41
|
+
/******/ var binding = definition[i++];
|
|
42
|
+
/******/ if(!__webpack_require__.o(exports, key)) {
|
|
43
|
+
/******/ if(binding === 0) {
|
|
44
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
|
|
45
|
+
/******/ } else {
|
|
46
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
|
|
47
|
+
/******/ }
|
|
48
|
+
/******/ } else if(binding === 0) { i++; }
|
|
49
|
+
/******/ }
|
|
50
|
+
/******/ } else {
|
|
51
|
+
/******/ for(var key in definition) {
|
|
52
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
53
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
54
|
+
/******/ }
|
|
40
55
|
/******/ }
|
|
41
56
|
/******/ }
|
|
42
57
|
/******/ };
|
|
@@ -48,7 +63,6 @@ import * as __WEBPACK_EXTERNAL_MODULE__highcharts_src_js_8202131d__ from "../hig
|
|
|
48
63
|
/******/ })();
|
|
49
64
|
/******/
|
|
50
65
|
/************************************************************************/
|
|
51
|
-
var __webpack_exports__ = {};
|
|
52
66
|
|
|
53
67
|
;// external ["../highcharts.src.js","default"]
|
|
54
68
|
const external_highcharts_src_js_default_namespaceObject = __WEBPACK_EXTERNAL_MODULE__highcharts_src_js_8202131d__["default"];
|
|
@@ -207,7 +221,7 @@ function getAssignedAxis(coords) {
|
|
|
207
221
|
const extremes = coord.axis.getExtremes(), axisMin = extremes.min, axisMax = extremes.max,
|
|
208
222
|
// Correct axis edges when axis has series
|
|
209
223
|
// with pointRange (like column)
|
|
210
|
-
minPointOffset = (
|
|
224
|
+
minPointOffset = (coord.axis.minPointOffset ?? 0);
|
|
211
225
|
return (0,external_highcharts_src_js_default_namespaceObject.isNumber)(axisMin) && (0,external_highcharts_src_js_default_namespaceObject.isNumber)(axisMax) &&
|
|
212
226
|
coord.value >= (axisMin - minPointOffset) &&
|
|
213
227
|
coord.value <= (axisMax + minPointOffset) &&
|
|
@@ -215,6 +229,32 @@ function getAssignedAxis(coords) {
|
|
|
215
229
|
!coord.axis.options.isInternal;
|
|
216
230
|
})[0]; // If the axes overlap, return the first axis that was found.
|
|
217
231
|
}
|
|
232
|
+
/**
|
|
233
|
+
* Resolve an axis from an annotation option that can reference it either by its
|
|
234
|
+
* index (number) or by its id (string).
|
|
235
|
+
*
|
|
236
|
+
* @internal
|
|
237
|
+
*
|
|
238
|
+
* @param {Highcharts.Chart} chart
|
|
239
|
+
* The chart instance.
|
|
240
|
+
*
|
|
241
|
+
* @param {'xAxis'|'yAxis'} coll
|
|
242
|
+
* The axis collection to look in.
|
|
243
|
+
*
|
|
244
|
+
* @param {number|string|undefined} idOrIndex
|
|
245
|
+
* The axis index or id.
|
|
246
|
+
*
|
|
247
|
+
* @return {Highcharts.Axis|undefined}
|
|
248
|
+
* The matching axis, or `undefined` if none was found.
|
|
249
|
+
*/
|
|
250
|
+
function getAxisFromOptions(chart, coll, idOrIndex) {
|
|
251
|
+
if ((0,external_highcharts_src_js_default_namespaceObject.isNumber)(idOrIndex)) {
|
|
252
|
+
return chart[coll][idOrIndex];
|
|
253
|
+
}
|
|
254
|
+
return (0,external_highcharts_src_js_default_namespaceObject.defined)(idOrIndex) ?
|
|
255
|
+
(0,external_highcharts_src_js_default_namespaceObject.find)(chart[coll], (axis) => axis.options.id === idOrIndex) :
|
|
256
|
+
void 0;
|
|
257
|
+
}
|
|
218
258
|
/**
|
|
219
259
|
* Get field type according to value
|
|
220
260
|
*
|
|
@@ -242,13 +282,14 @@ function getFieldType(key, value) {
|
|
|
242
282
|
*
|
|
243
283
|
* */
|
|
244
284
|
/** @internal */
|
|
245
|
-
const
|
|
285
|
+
const NavigationBindingsUtilities = {
|
|
246
286
|
annotationsFieldsTypes,
|
|
247
287
|
getAssignedAxis,
|
|
288
|
+
getAxisFromOptions,
|
|
248
289
|
getFieldType
|
|
249
290
|
};
|
|
250
291
|
/** @internal */
|
|
251
|
-
/* harmony default export */ const
|
|
292
|
+
/* harmony default export */ const Annotations_NavigationBindingsUtilities = (NavigationBindingsUtilities);
|
|
252
293
|
|
|
253
294
|
;// ./code/es-modules/Extensions/Annotations/NavigationBindingsDefaults.js
|
|
254
295
|
/* *
|
|
@@ -264,7 +305,7 @@ const NavigationBindingUtilities = {
|
|
|
264
305
|
* */
|
|
265
306
|
|
|
266
307
|
|
|
267
|
-
const { getAssignedAxis: NavigationBindingsDefaults_getAssignedAxis } =
|
|
308
|
+
const { getAssignedAxis: NavigationBindingsDefaults_getAssignedAxis } = Annotations_NavigationBindingsUtilities;
|
|
268
309
|
|
|
269
310
|
/* *
|
|
270
311
|
*
|
|
@@ -698,7 +739,7 @@ const { format } = (external_highcharts_src_js_default_Templating_default());
|
|
|
698
739
|
const { composed, doc, win } = (external_highcharts_src_js_default_default());
|
|
699
740
|
|
|
700
741
|
|
|
701
|
-
const { getAssignedAxis: NavigationBindings_getAssignedAxis, getFieldType: NavigationBindings_getFieldType } =
|
|
742
|
+
const { getAssignedAxis: NavigationBindings_getAssignedAxis, getFieldType: NavigationBindings_getFieldType } = Annotations_NavigationBindingsUtilities;
|
|
702
743
|
|
|
703
744
|
/* *
|
|
704
745
|
*
|
|
@@ -1170,7 +1211,7 @@ class NavigationBindings {
|
|
|
1170
1211
|
let parent = config;
|
|
1171
1212
|
path.forEach((name, index) => {
|
|
1172
1213
|
if (name !== '__proto__' && name !== 'constructor') {
|
|
1173
|
-
const nextName = (
|
|
1214
|
+
const nextName = (path[index + 1] ?? '');
|
|
1174
1215
|
if (pathLength === index) {
|
|
1175
1216
|
// Last index, put value:
|
|
1176
1217
|
parent[name] = value;
|
|
@@ -1216,7 +1257,10 @@ class NavigationBindings {
|
|
|
1216
1257
|
* Annotation options to be displayed in popup box
|
|
1217
1258
|
*/
|
|
1218
1259
|
annotationToFields(annotation) {
|
|
1219
|
-
const options = annotation.options, editables = NavigationBindings.annotationsEditable, nestedEditables = editables.nestedOptions, type =
|
|
1260
|
+
const options = annotation.options, editables = NavigationBindings.annotationsEditable, nestedEditables = editables.nestedOptions, type = options.type ??
|
|
1261
|
+
options.shapes?.[0]?.type ??
|
|
1262
|
+
options.labels?.[0]?.type ??
|
|
1263
|
+
'label', nonEditables = NavigationBindings.annotationsNonEditable[options.langKey] || [], visualOptions = {
|
|
1220
1264
|
langKey: options.langKey,
|
|
1221
1265
|
type: type
|
|
1222
1266
|
};
|
|
@@ -1514,7 +1558,7 @@ var external_highcharts_src_js_default_Series_default = /*#__PURE__*/__webpack_r
|
|
|
1514
1558
|
|
|
1515
1559
|
const { getOptions } = (external_highcharts_src_js_default_default());
|
|
1516
1560
|
|
|
1517
|
-
const { getAssignedAxis: StockToolsUtilities_getAssignedAxis, getFieldType: StockToolsUtilities_getFieldType } =
|
|
1561
|
+
const { getAssignedAxis: StockToolsUtilities_getAssignedAxis, getFieldType: StockToolsUtilities_getFieldType } = Annotations_NavigationBindingsUtilities;
|
|
1518
1562
|
|
|
1519
1563
|
|
|
1520
1564
|
|
|
@@ -3742,7 +3786,7 @@ const StockToolsBindings = {
|
|
|
3742
3786
|
}
|
|
3743
3787
|
}, navigation.annotationsOptions, navigation.bindings?.verticalCounter.annotationsOptions), annotation = this.chart.addAnnotation(options);
|
|
3744
3788
|
this.verticalCounter++;
|
|
3745
|
-
|
|
3789
|
+
annotation.options.events?.click?.call(annotation, {});
|
|
3746
3790
|
}
|
|
3747
3791
|
},
|
|
3748
3792
|
/**
|
|
@@ -3781,7 +3825,7 @@ const StockToolsBindings = {
|
|
|
3781
3825
|
}]
|
|
3782
3826
|
}
|
|
3783
3827
|
}, navigation.annotationsOptions, navigation.bindings?.timeCycles.annotationsOptions), annotation = this.chart.addAnnotation(options);
|
|
3784
|
-
|
|
3828
|
+
annotation.options.events?.click?.call(annotation, {});
|
|
3785
3829
|
return annotation;
|
|
3786
3830
|
},
|
|
3787
3831
|
steps: [
|
|
@@ -3820,7 +3864,7 @@ const StockToolsBindings = {
|
|
|
3820
3864
|
}
|
|
3821
3865
|
}
|
|
3822
3866
|
}, navigation.annotationsOptions, navigation.bindings?.verticalLabel.annotationsOptions), annotation = this.chart.addAnnotation(options);
|
|
3823
|
-
|
|
3867
|
+
annotation.options.events?.click?.call(annotation, {});
|
|
3824
3868
|
}
|
|
3825
3869
|
},
|
|
3826
3870
|
/**
|
|
@@ -3873,7 +3917,7 @@ const StockToolsBindings = {
|
|
|
3873
3917
|
}
|
|
3874
3918
|
}
|
|
3875
3919
|
}, navigation.annotationsOptions, navigation.bindings?.verticalArrow.annotationsOptions), annotation = this.chart.addAnnotation(options);
|
|
3876
|
-
|
|
3920
|
+
annotation.options.events?.click?.call(annotation, {});
|
|
3877
3921
|
}
|
|
3878
3922
|
},
|
|
3879
3923
|
/**
|
|
@@ -4280,7 +4324,7 @@ const StockToolsBindings = {
|
|
|
4280
4324
|
(chart.annotations || []).forEach(function (annotation) {
|
|
4281
4325
|
annotation.setVisibility(!this.toggledAnnotations);
|
|
4282
4326
|
}, this);
|
|
4283
|
-
if (gui
|
|
4327
|
+
if (gui?.guiEnabled) {
|
|
4284
4328
|
if (this.toggledAnnotations) {
|
|
4285
4329
|
button.firstChild.style['background-image'] =
|
|
4286
4330
|
BaseFormUtils('annotations-hidden.svg', gui.iconsURL, StockToolsIcons);
|
|
@@ -5698,7 +5742,7 @@ function navigationGetYAxisResizers(yAxes) {
|
|
|
5698
5742
|
enabled: true,
|
|
5699
5743
|
controlledAxis: {
|
|
5700
5744
|
next: [
|
|
5701
|
-
(
|
|
5745
|
+
(nextYAxis.options.id ?? nextYAxis.index)
|
|
5702
5746
|
]
|
|
5703
5747
|
}
|
|
5704
5748
|
};
|
|
@@ -5855,7 +5899,7 @@ class Toolbar {
|
|
|
5855
5899
|
this.iconsURL = this.getIconsURL();
|
|
5856
5900
|
this.lang = langOptions;
|
|
5857
5901
|
this.guiEnabled = options.enabled;
|
|
5858
|
-
this.visible = (
|
|
5902
|
+
this.visible = (options.visible ?? true);
|
|
5859
5903
|
this.guiClassName = options.className;
|
|
5860
5904
|
this.toolbarClassName = options.toolbarClassName;
|
|
5861
5905
|
// General events collection which should be removed upon
|
|
@@ -6032,7 +6076,7 @@ class Toolbar {
|
|
|
6032
6076
|
?.stockTools.arrowLabel, items = btnOptions.items, classMapping = Toolbar.prototype.classMapping, userClassName = btnOptions.className || '';
|
|
6033
6077
|
// Main button wrapper
|
|
6034
6078
|
const buttonWrapper = (0,external_highcharts_src_js_default_namespaceObject.createElement)('li', {
|
|
6035
|
-
className: (
|
|
6079
|
+
className: (classMapping[btnName] ?? '') + ' ' + userClassName
|
|
6036
6080
|
}, void 0, target);
|
|
6037
6081
|
// Single button
|
|
6038
6082
|
const elementType = (btnOptions.elementType || 'button');
|
|
@@ -6276,13 +6320,13 @@ class Toolbar {
|
|
|
6276
6320
|
this.isDirty = !!options.gui.definitions;
|
|
6277
6321
|
(0,external_highcharts_src_js_default_namespaceObject.merge)(true, this.chart.options.stockTools, options);
|
|
6278
6322
|
(0,external_highcharts_src_js_default_namespaceObject.merge)(true, this.options, options.gui);
|
|
6279
|
-
this.visible = (
|
|
6323
|
+
this.visible = (this.options.visible && this.options.enabled) ?? true;
|
|
6280
6324
|
// If Stock Tools are updated, then bindings should be updated too:
|
|
6281
6325
|
if (this.chart.navigationBindings) {
|
|
6282
6326
|
this.chart.navigationBindings.update();
|
|
6283
6327
|
}
|
|
6284
6328
|
this.chart.isDirtyBox = true;
|
|
6285
|
-
if (
|
|
6329
|
+
if (redraw ?? true) {
|
|
6286
6330
|
this.chart.redraw();
|
|
6287
6331
|
}
|
|
6288
6332
|
}
|
|
@@ -6529,7 +6573,9 @@ function setOffset(chart) {
|
|
|
6529
6573
|
chart.stockTools.width = offsetWidth;
|
|
6530
6574
|
let dirty = false;
|
|
6531
6575
|
if (offsetWidth < chart.plotWidth) {
|
|
6532
|
-
const nextX = (
|
|
6576
|
+
const nextX = (optionsChart.spacingLeft ??
|
|
6577
|
+
(optionsChart.spacing && optionsChart.spacing[3]) ??
|
|
6578
|
+
0) + offsetWidth;
|
|
6533
6579
|
const diff = nextX - chart.spacingBox.x;
|
|
6534
6580
|
chart.spacingBox.x = nextX;
|
|
6535
6581
|
chart.spacingBox.width -= diff;
|