highcharts 11.3.0 → 11.4.0
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/README.md +1 -1
- package/bower.json +1 -1
- package/css/annotations/popup.css +27 -19
- package/css/stocktools/gui.css +19 -7
- package/es-modules/Accessibility/A11yI18n.js +4 -6
- package/es-modules/Accessibility/Accessibility.js +8 -6
- package/es-modules/Accessibility/Components/InfoRegionsComponent.js +11 -6
- package/es-modules/Accessibility/Components/LegendComponent.js +4 -4
- package/es-modules/Accessibility/Components/MenuComponent.js +3 -6
- package/es-modules/Accessibility/Components/NavigatorComponent.js +6 -3
- package/es-modules/Accessibility/Components/RangeSelectorComponent.js +4 -7
- package/es-modules/Accessibility/Components/SeriesComponent/ForcedMarkers.js +18 -3
- package/es-modules/Accessibility/Components/SeriesComponent/NewDataAnnouncer.js +5 -3
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js +4 -4
- package/es-modules/Accessibility/FocusBorder.js +5 -5
- package/es-modules/Accessibility/HighContrastMode.js +22 -13
- package/es-modules/Accessibility/HighContrastTheme.js +2 -6
- package/es-modules/Accessibility/KeyboardNavigation.js +17 -8
- package/es-modules/Accessibility/Options/A11yDefaults.js +11 -1
- package/es-modules/Accessibility/ProxyElement.js +4 -4
- package/es-modules/Accessibility/ProxyProvider.js +8 -2
- package/es-modules/Accessibility/Utils/DOMElementProvider.js +8 -0
- package/es-modules/Accessibility/Utils/EventProvider.js +9 -0
- package/es-modules/Core/Animation/Fx.js +3 -3
- package/es-modules/Core/Axis/Axis.js +43 -97
- package/es-modules/Core/Axis/Axis3DComposition.js +5 -5
- package/es-modules/Core/Axis/Axis3DDefaults.js +1 -1
- package/es-modules/Core/Axis/AxisDefaults.js +18 -7
- package/es-modules/Core/Axis/BrokenAxis.js +4 -6
- package/es-modules/Core/Axis/Color/ColorAxis.js +2 -1
- package/es-modules/Core/Axis/Color/ColorAxisComposition.js +3 -5
- package/es-modules/Core/Axis/DateTimeAxis.js +3 -5
- package/es-modules/Core/Axis/GridAxis.js +7 -7
- package/es-modules/Core/Axis/LogarithmicAxis.js +2 -4
- package/es-modules/Core/Axis/NavigatorAxisComposition.js +26 -22
- package/es-modules/Core/Axis/OrdinalAxis.js +97 -53
- package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +3 -3
- package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js +4 -5
- package/es-modules/Core/Axis/RadialAxis.js +5 -5
- package/es-modules/Core/Axis/ScrollbarAxis.js +2 -2
- package/es-modules/Core/Axis/Stacking/StackItem.js +8 -4
- package/es-modules/Core/Axis/Stacking/StackingAxis.js +3 -5
- package/es-modules/Core/Axis/Tick.js +16 -7
- package/es-modules/Core/Axis/Tick3DComposition.js +2 -2
- package/es-modules/Core/Axis/TreeGrid/TreeGridAxis.js +4 -8
- package/es-modules/Core/Axis/TreeGrid/TreeGridTick.js +3 -6
- package/es-modules/Core/Axis/WaterfallAxis.js +3 -3
- package/es-modules/Core/Axis/ZAxis.js +6 -11
- package/es-modules/Core/Chart/Chart.js +201 -176
- package/es-modules/Core/Chart/Chart3D.js +1 -1
- package/es-modules/Core/Chart/ChartDefaults.js +7 -0
- package/es-modules/Core/Chart/GanttChart.js +2 -2
- package/es-modules/Core/Chart/MapChart.js +12 -2
- package/es-modules/Core/Chart/StockChart.js +12 -11
- package/es-modules/Core/Color/Color.js +3 -3
- package/es-modules/Core/Color/Palettes.js +2 -2
- package/es-modules/Core/Defaults.js +18 -15
- package/es-modules/Core/Geometry/CircleUtilities.js +3 -3
- package/es-modules/Core/Globals.js +2 -2
- package/es-modules/Core/HttpUtilities.js +4 -4
- package/es-modules/Core/Legend/Legend.js +6 -6
- package/es-modules/Core/MSPointer.js +7 -7
- package/es-modules/Core/Pointer.js +230 -245
- package/es-modules/Core/Renderer/HTML/AST.js +1 -1
- package/es-modules/Core/Renderer/HTML/HTMLElement.js +213 -26
- package/es-modules/Core/Renderer/RendererUtilities.js +1 -1
- package/es-modules/Core/Renderer/SVG/SVGElement.js +85 -52
- package/es-modules/Core/Renderer/SVG/SVGLabel.js +14 -11
- package/es-modules/Core/Renderer/SVG/SVGRenderer.js +17 -14
- package/es-modules/Core/Renderer/SVG/SVGRenderer3D.js +8 -7
- package/es-modules/Core/Renderer/SVG/Symbols.js +1 -1
- package/es-modules/Core/Renderer/SVG/TextBuilder.js +2 -2
- package/es-modules/Core/Responsive.js +5 -6
- package/es-modules/Core/Series/DataLabel.js +70 -90
- package/es-modules/Core/Series/DataSeriesComposition.js +1 -1
- package/es-modules/Core/Series/DataSeriesConverter.js +2 -2
- package/es-modules/Core/Series/Point.js +48 -40
- package/es-modules/Core/Series/Series.js +61 -51
- package/es-modules/Core/Series/Series3D.js +2 -2
- package/es-modules/Core/Series/SeriesRegistry.js +10 -2
- package/es-modules/Core/Templating.js +1 -1
- package/es-modules/Core/Time.js +12 -7
- package/es-modules/Core/Tooltip.js +19 -17
- package/es-modules/Core/Utilities.js +54 -26
- package/es-modules/Data/Connectors/CSVConnector.js +2 -2
- package/es-modules/Data/Connectors/DataConnector.js +4 -2
- package/es-modules/Data/Connectors/GoogleSheetsConnector.js +2 -2
- package/es-modules/Data/Connectors/HTMLTableConnector.js +2 -2
- package/es-modules/Data/Connectors/JSONConnector.js +3 -5
- package/es-modules/Data/Converters/CSVConverter.js +1 -3
- package/es-modules/Data/Converters/DataConverter.js +8 -2
- package/es-modules/Data/Converters/HTMLTableConverter.js +1 -3
- package/es-modules/Data/Converters/JSONConverter.js +1 -0
- package/es-modules/Data/DataTable.js +1 -2
- package/es-modules/Data/Formula/FormulaProcessor.js +4 -2
- package/es-modules/Data/Modifiers/DataModifier.js +15 -3
- package/es-modules/Extensions/Annotations/Annotation.js +6 -7
- package/es-modules/Extensions/Annotations/AnnotationChart.js +4 -5
- package/es-modules/Extensions/Annotations/AnnotationDefaults.js +4 -4
- package/es-modules/Extensions/Annotations/ControlPoint.js +2 -2
- package/es-modules/Extensions/Annotations/ControlTarget.js +1 -1
- package/es-modules/Extensions/Annotations/Controllables/Controllable.js +7 -3
- package/es-modules/Extensions/Annotations/Controllables/ControllableEllipse.js +3 -3
- package/es-modules/Extensions/Annotations/Controllables/ControllableLabel.js +8 -9
- package/es-modules/Extensions/Annotations/Controllables/ControllablePath.js +3 -4
- package/es-modules/Extensions/Annotations/EventEmitter.js +6 -6
- package/es-modules/Extensions/Annotations/NavigationBindings.js +29 -18
- package/es-modules/Extensions/Annotations/NavigationBindingsDefaults.js +6 -6
- package/es-modules/Extensions/Annotations/Popup/Popup.js +1 -1
- package/es-modules/Extensions/Annotations/Popup/PopupAnnotations.js +10 -6
- package/es-modules/Extensions/Annotations/Popup/PopupComposition.js +2 -2
- package/es-modules/Extensions/Annotations/Popup/PopupIndicators.js +31 -31
- package/es-modules/Extensions/Annotations/Popup/PopupTabs.js +1 -1
- package/es-modules/Extensions/Annotations/Types/BasicAnnotation.js +14 -11
- package/es-modules/Extensions/Annotations/Types/FibonacciTimeZones.js +1 -1
- package/es-modules/Extensions/Annotations/Types/Measure.js +1 -1
- package/es-modules/Extensions/ArrowSymbols.js +7 -13
- package/es-modules/Extensions/Boost/Boost.js +39 -7
- package/es-modules/Extensions/Boost/BoostChart.js +4 -4
- package/es-modules/Extensions/Boost/BoostSeries.js +58 -13
- package/es-modules/Extensions/Boost/WGLRenderer.js +3 -3
- package/es-modules/Extensions/Boost/WGLVertexBuffer.js +1 -1
- package/es-modules/Extensions/BoostCanvas.js +5 -4
- package/es-modules/Extensions/BorderRadius.js +5 -4
- package/es-modules/Extensions/Breadcrumbs/Breadcrumbs.js +9 -9
- package/es-modules/Extensions/CurrentDateIndication.js +1 -1
- package/es-modules/Extensions/Data.js +11 -11
- package/es-modules/Extensions/DataGrouping/DataGrouping.js +1 -1
- package/es-modules/Extensions/DataGrouping/DataGroupingAxisComposition.js +8 -9
- package/es-modules/Extensions/DataGrouping/DataGroupingDefaults.js +1 -1
- package/es-modules/Extensions/DataGrouping/DataGroupingSeriesComposition.js +6 -7
- package/es-modules/Extensions/Debugger/Debugger.js +1 -1
- package/es-modules/Extensions/Debugger/ErrorMessages.js +2 -2
- package/es-modules/Extensions/DragPanes/AxisResizer.js +13 -16
- package/es-modules/Extensions/DragPanes/DragPanes.js +2 -4
- package/es-modules/Extensions/DraggablePoints/DragDropDefaults.js +2 -1
- package/es-modules/Extensions/DraggablePoints/DragDropUtilities.js +1 -1
- package/es-modules/Extensions/DraggablePoints/DraggableChart.js +4 -4
- package/es-modules/Extensions/DraggablePoints/DraggablePoints.js +8 -9
- package/es-modules/Extensions/Drilldown/Drilldown.js +11 -9
- package/es-modules/Extensions/Drilldown/DrilldownSeries.js +5 -6
- package/es-modules/Extensions/ExportData/ExportData.js +27 -18
- package/es-modules/Extensions/Exporting/Exporting.js +25 -20
- package/es-modules/Extensions/Exporting/ExportingDefaults.js +1 -1
- package/es-modules/Extensions/Exporting/Fullscreen.js +5 -10
- package/es-modules/Extensions/MarkerClusters/MarkerClusterScatter.js +26 -21
- package/es-modules/Extensions/MarkerClusters/MarkerClusterSymbols.js +2 -12
- package/es-modules/Extensions/MarkerClusters/MarkerClusters.js +3 -3
- package/es-modules/Extensions/MouseWheelZoom/MouseWheelZoom.js +51 -161
- package/es-modules/Extensions/NoDataToDisplay/NoDataToDisplay.js +3 -5
- package/es-modules/Extensions/OfflineExporting/OfflineExporting.js +5 -6
- package/es-modules/Extensions/OfflineExporting/OfflineExportingDefaults.js +1 -1
- package/es-modules/Extensions/OverlappingDataLabels.js +21 -49
- package/es-modules/Extensions/Pane/PaneComposition.js +3 -5
- package/es-modules/Extensions/ParallelCoordinates/ParallelAxis.js +2 -4
- package/es-modules/Extensions/ParallelCoordinates/ParallelCoordinates.js +5 -6
- package/es-modules/Extensions/ParallelCoordinates/ParallelSeries.js +1 -1
- package/es-modules/Extensions/PatternFill.js +19 -22
- package/es-modules/Extensions/PriceIndication.js +1 -1
- package/es-modules/Extensions/ScrollablePlotArea.js +218 -292
- package/es-modules/Extensions/SeriesLabel/SeriesLabel.js +26 -18
- package/es-modules/Extensions/Sonification/Options.js +1 -0
- package/es-modules/Extensions/Sonification/SonificationSpeaker.js +2 -2
- package/es-modules/Extensions/Sonification/SynthPatch.js +3 -3
- package/es-modules/Extensions/StaticScale.js +3 -5
- package/es-modules/Gantt/Legacy.js +1 -1
- package/es-modules/Gantt/Pathfinder.js +2 -2
- package/es-modules/Gantt/PathfinderComposition.js +3 -5
- package/es-modules/Gantt/Tree.js +3 -3
- package/es-modules/Maps/GeoJSONComposition.js +20 -13
- package/es-modules/Maps/MapNavigation.js +2 -2
- package/es-modules/Maps/MapPointer.js +3 -19
- package/es-modules/Maps/MapSymbols.js +3 -9
- package/es-modules/Maps/MapView.js +134 -74
- package/es-modules/Series/ArcDiagram/ArcDiagramSeries.js +5 -4
- package/es-modules/Series/Area/AreaSeries.js +2 -4
- package/es-modules/Series/Area3D/Area3DSeries.js +1 -1
- package/es-modules/Series/AreaRange/AreaRangePoint.js +2 -2
- package/es-modules/Series/AreaRange/AreaRangeSeries.js +2 -3
- package/es-modules/Series/AreaSpline/AreaSplineSeries.js +1 -1
- package/es-modules/Series/Bar/BarSeries.js +1 -1
- package/es-modules/Series/Bellcurve/BellcurveSeries.js +1 -1
- package/es-modules/Series/BoxPlot/BoxPlotSeriesDefaults.js +4 -0
- package/es-modules/Series/Bubble/BubbleLegendComposition.js +1 -1
- package/es-modules/Series/Bubble/BubbleLegendDefaults.js +2 -2
- package/es-modules/Series/Bubble/BubbleLegendItem.js +3 -3
- package/es-modules/Series/Bubble/BubbleSeries.js +1 -1
- package/es-modules/Series/Bullet/BulletSeriesDefaults.js +2 -2
- package/es-modules/Series/Candlestick/CandlestickSeries.js +2 -2
- package/es-modules/Series/Candlestick/CandlestickSeriesDefaults.js +1 -5
- package/es-modules/Series/ColorMapComposition.js +1 -1
- package/es-modules/Series/Column/ColumnDataLabel.js +2 -2
- package/es-modules/Series/Column/ColumnSeries.js +20 -22
- package/es-modules/Series/Column/ColumnSeriesDefaults.js +1 -1
- package/es-modules/Series/Column3D/Column3DComposition.js +1 -1
- package/es-modules/Series/ColumnRange/ColumnRangeSeries.js +2 -1
- package/es-modules/Series/Cylinder/CylinderComposition.js +9 -9
- package/es-modules/Series/DataModifyComposition.js +5 -5
- package/es-modules/Series/DependencyWheel/DependencyWheelSeries.js +3 -2
- package/es-modules/Series/DependencyWheel/DependencyWheelSeriesDefaults.js +1 -1
- package/es-modules/Series/DragNodesComposition.js +7 -7
- package/es-modules/Series/DrawPointUtilities.js +0 -2
- package/es-modules/Series/Dumbbell/DumbbellSeriesDefaults.js +1 -1
- package/es-modules/Series/Funnel/FunnelSeries.js +1 -1
- package/es-modules/Series/Funnel3D/Funnel3DComposition.js +6 -6
- package/es-modules/Series/Funnel3D/Funnel3DSeriesDefaults.js +2 -2
- package/es-modules/Series/Funnel3D/SVGElement3DFunnel.js +1 -1
- package/es-modules/Series/Gantt/GanttSeries.js +0 -1
- package/es-modules/Series/GeoHeatmap/GeoHeatmapSeries.js +5 -5
- package/es-modules/Series/GraphLayoutComposition.js +1 -1
- package/es-modules/Series/Heatmap/HeatmapSeries.js +2 -2
- package/es-modules/Series/Heatmap/HeatmapSeriesDefaults.js +1 -1
- package/es-modules/Series/HeikinAshi/HeikinAshiPoint.js +3 -1
- package/es-modules/Series/HeikinAshi/HeikinAshiSeries.js +3 -3
- package/es-modules/Series/HeikinAshi/HeikinAshiSeriesDefaults.js +1 -1
- package/es-modules/Series/HollowCandlestick/HollowCandlestickSeries.js +2 -2
- package/es-modules/Series/Item/ItemSeries.js +1 -1
- package/es-modules/Series/Line/LineSeries.js +1 -1
- package/es-modules/Series/Lollipop/LollipopSeries.js +3 -1
- package/es-modules/Series/Map/MapPoint.js +5 -1
- package/es-modules/Series/Map/MapSeries.js +32 -7
- package/es-modules/Series/Map/MapSeriesDefaults.js +5 -3
- package/es-modules/Series/Networkgraph/EulerIntegration.js +5 -5
- package/es-modules/Series/Networkgraph/NetworkgraphSeries.js +4 -4
- package/es-modules/Series/Networkgraph/NetworkgraphSeriesDefaults.js +5 -5
- package/es-modules/Series/Networkgraph/QuadTree.js +1 -1
- package/es-modules/Series/Networkgraph/QuadTreeNode.js +1 -1
- package/es-modules/Series/Networkgraph/VerletIntegration.js +9 -9
- package/es-modules/Series/NodesComposition.js +1 -1
- package/es-modules/Series/OHLC/OHLCSeries.js +1 -1
- package/es-modules/Series/OHLC/OHLCSeriesDefaults.js +1 -1
- package/es-modules/Series/OnSeriesComposition.js +1 -1
- package/es-modules/Series/Organization/OrganizationPoint.js +1 -1
- package/es-modules/Series/Organization/OrganizationSeries.js +22 -10
- package/es-modules/Series/Organization/OrganizationSeriesDefaults.js +15 -2
- package/es-modules/Series/PackedBubble/PackedBubbleLayout.js +3 -5
- package/es-modules/Series/PackedBubble/PackedBubblePoint.js +1 -1
- package/es-modules/Series/PackedBubble/PackedBubbleSeries.js +6 -10
- package/es-modules/Series/Pictorial/PictorialSeries.js +2 -2
- package/es-modules/Series/Pie/PieDataLabel.js +2 -2
- package/es-modules/Series/Pie/PiePoint.js +1 -1
- package/es-modules/Series/Pie/PieSeries.js +10 -1
- package/es-modules/Series/Pie/PieSeriesDefaults.js +1 -1
- package/es-modules/Series/Pie3D/Pie3DSeries.js +2 -2
- package/es-modules/Series/PolarComposition.js +22 -20
- package/es-modules/Series/Sankey/SankeyColumnComposition.js +1 -1
- package/es-modules/Series/Sankey/SankeySeries.js +8 -8
- package/es-modules/Series/Sankey/SankeySeriesDefaults.js +57 -13
- package/es-modules/Series/SeriesOnPointComposition.js +3 -3
- package/es-modules/Series/Spline/SplineSeries.js +1 -1
- package/es-modules/Series/Sunburst/SunburstPoint.js +1 -1
- package/es-modules/Series/Sunburst/SunburstSeries.js +2 -7
- package/es-modules/Series/Sunburst/SunburstSeriesDefaults.js +3 -3
- package/es-modules/Series/Sunburst/SunburstUtilities.js +1 -1
- package/es-modules/Series/TiledWebMap/TiledWebMapSeries.js +23 -25
- package/es-modules/Series/Tilemap/TilemapSeries.js +2 -2
- package/es-modules/Series/Timeline/TimelineSeries.js +2 -2
- package/es-modules/Series/TreeUtilities.js +23 -1
- package/es-modules/Series/Treegraph/TreegraphLayout.js +7 -11
- package/es-modules/Series/Treegraph/TreegraphPoint.js +1 -0
- package/es-modules/Series/Treegraph/TreegraphSeries.js +8 -8
- package/es-modules/Series/Treegraph/TreegraphSeriesDefaults.js +39 -2
- package/es-modules/Series/Treemap/TreemapSeries.js +4 -2
- package/es-modules/Series/Treemap/TreemapUtilities.js +0 -7
- package/es-modules/Series/Variwide/VariwideComposition.js +6 -2
- package/es-modules/Series/Variwide/VariwideSeries.js +1 -1
- package/es-modules/Series/Venn/VennSeries.js +4 -4
- package/es-modules/Series/Venn/VennUtils.js +5 -6
- package/es-modules/Series/Waterfall/WaterfallSeriesDefaults.js +1 -1
- package/es-modules/Series/Windbarb/WindbarbSeries.js +1 -1
- package/es-modules/Series/Wordcloud/WordcloudUtils.js +6 -4
- package/es-modules/Series/XRange/XRangePoint.js +2 -2
- package/es-modules/Series/XRange/XRangeSeries.js +1 -1
- package/es-modules/Shared/BaseForm.js +1 -1
- package/es-modules/Stock/Indicators/AD/ADIndicator.js +3 -1
- package/es-modules/Stock/Indicators/APO/APOIndicator.js +1 -1
- package/es-modules/Stock/Indicators/Aroon/AroonIndicator.js +1 -1
- package/es-modules/Stock/Indicators/CMF/CMFIndicator.js +1 -1
- package/es-modules/Stock/Indicators/CMO/CMOIndicator.js +2 -2
- package/es-modules/Stock/Indicators/Chaikin/ChaikinIndicator.js +1 -1
- package/es-modules/Stock/Indicators/DPO/DPOIndicator.js +1 -1
- package/es-modules/Stock/Indicators/Klinger/KlingerIndicator.js +1 -1
- package/es-modules/Stock/Indicators/LinearRegression/LinearRegressionIndicator.js +7 -7
- package/es-modules/Stock/Indicators/MultipleLinesComposition.js +9 -9
- package/es-modules/Stock/Indicators/OBV/OBVIndicator.js +1 -1
- package/es-modules/Stock/Indicators/PPO/PPOIndicator.js +1 -1
- package/es-modules/Stock/Indicators/PivotPoints/PivotPointsIndicator.js +2 -2
- package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +1 -1
- package/es-modules/Stock/Indicators/Supertrend/SupertrendIndicator.js +16 -17
- package/es-modules/Stock/Indicators/VBP/VBPIndicator.js +4 -5
- package/es-modules/Stock/Indicators/WilliamsR/WilliamsRIndicator.js +1 -1
- package/es-modules/Stock/Indicators/Zigzag/ZigzagIndicator.js +5 -5
- package/es-modules/Stock/Navigator/ChartNavigatorComposition.js +188 -0
- package/es-modules/Stock/Navigator/Navigator.js +42 -27
- package/es-modules/Stock/Navigator/NavigatorComposition.js +10 -149
- package/es-modules/Stock/Navigator/NavigatorDefaults.js +16 -2
- package/es-modules/Stock/Navigator/StandaloneNavigator.js +334 -0
- package/es-modules/Stock/Navigator/StandaloneNavigatorDefaults.js +64 -0
- package/es-modules/Stock/RangeSelector/RangeSelector.js +28 -16
- package/es-modules/Stock/RangeSelector/RangeSelectorComposition.js +2 -2
- package/es-modules/Stock/Scrollbar/Scrollbar.js +10 -10
- package/es-modules/Stock/Scrollbar/ScrollbarDefaults.js +1 -3
- package/es-modules/Stock/StockTools/StockToolbar.js +6 -5
- package/es-modules/Stock/StockTools/StockTools.js +10 -13
- package/es-modules/Stock/StockTools/StockToolsBindings.js +35 -35
- package/es-modules/Stock/StockTools/StockToolsDefaults.js +2 -1
- package/es-modules/Stock/StockTools/StockToolsGui.js +7 -8
- package/es-modules/Stock/StockTools/StockToolsUtilities.js +8 -9
- package/es-modules/Stock/Utilities/StockUtilities.js +41 -0
- package/es-modules/masters/highcharts-3d.src.js +2 -1
- package/es-modules/masters/highcharts-gantt.src.js +1 -1
- package/es-modules/masters/highcharts-more.src.js +2 -1
- package/es-modules/masters/highcharts.src.js +41 -40
- package/es-modules/masters/highmaps.src.js +1 -1
- package/es-modules/masters/highstock.src.js +1 -1
- package/es-modules/masters/indicators/acceleration-bands.src.js +3 -1
- package/es-modules/masters/indicators/accumulation-distribution.src.js +3 -1
- package/es-modules/masters/indicators/ao.src.js +3 -1
- package/es-modules/masters/indicators/apo.src.js +3 -1
- package/es-modules/masters/indicators/aroon-oscillator.src.js +3 -1
- package/es-modules/masters/indicators/aroon.src.js +3 -1
- package/es-modules/masters/indicators/atr.src.js +3 -1
- package/es-modules/masters/indicators/bollinger-bands.src.js +3 -1
- package/es-modules/masters/indicators/cci.src.js +3 -1
- package/es-modules/masters/indicators/chaikin.src.js +3 -1
- package/es-modules/masters/indicators/cmf.src.js +3 -1
- package/es-modules/masters/indicators/cmo.src.js +3 -1
- package/es-modules/masters/indicators/dema.src.js +3 -1
- package/es-modules/masters/indicators/disparity-index.src.js +3 -1
- package/es-modules/masters/indicators/dmi.src.js +3 -1
- package/es-modules/masters/indicators/dpo.src.js +3 -1
- package/es-modules/masters/indicators/ema.src.js +2 -0
- package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +3 -1
- package/es-modules/masters/indicators/indicators-all.src.js +3 -1
- package/es-modules/masters/indicators/indicators.src.js +7 -1
- package/es-modules/masters/indicators/keltner-channels.src.js +3 -1
- package/es-modules/masters/indicators/klinger.src.js +3 -1
- package/es-modules/masters/indicators/macd.src.js +3 -1
- package/es-modules/masters/indicators/mfi.src.js +3 -1
- package/es-modules/masters/indicators/momentum.src.js +3 -1
- package/es-modules/masters/indicators/natr.src.js +3 -1
- package/es-modules/masters/indicators/obv.src.js +3 -1
- package/es-modules/masters/indicators/pivot-points.src.js +3 -1
- package/es-modules/masters/indicators/ppo.src.js +3 -1
- package/es-modules/masters/indicators/price-channel.src.js +3 -1
- package/es-modules/masters/indicators/price-envelopes.src.js +3 -1
- package/es-modules/masters/indicators/psar.src.js +3 -1
- package/es-modules/masters/indicators/regressions.src.js +3 -1
- package/es-modules/masters/indicators/roc.src.js +3 -1
- package/es-modules/masters/indicators/rsi.src.js +3 -1
- package/es-modules/masters/indicators/slow-stochastic.src.js +3 -1
- package/es-modules/masters/indicators/stochastic.src.js +3 -1
- package/es-modules/masters/indicators/supertrend.src.js +3 -1
- package/es-modules/masters/indicators/tema.src.js +3 -1
- package/es-modules/masters/indicators/trendline.src.js +3 -1
- package/es-modules/masters/indicators/trix.src.js +3 -1
- package/es-modules/masters/indicators/volume-by-price.src.js +3 -1
- package/es-modules/masters/indicators/vwap.src.js +3 -1
- package/es-modules/masters/indicators/williams-r.src.js +3 -1
- package/es-modules/masters/indicators/wma.src.js +3 -1
- package/es-modules/masters/indicators/zigzag.src.js +3 -1
- package/es-modules/masters/modules/accessibility.src.js +4 -1
- package/es-modules/masters/modules/annotations-advanced.src.js +3 -5
- package/es-modules/masters/modules/annotations.src.js +6 -3
- package/es-modules/masters/modules/arc-diagram.src.js +3 -1
- package/es-modules/masters/modules/arrow-symbols.src.js +2 -1
- package/es-modules/masters/modules/boost-canvas.src.js +2 -1
- package/es-modules/masters/modules/boost.src.js +3 -2
- package/es-modules/masters/modules/broken-axis.src.js +4 -3
- package/es-modules/masters/modules/bullet.src.js +3 -1
- package/es-modules/masters/modules/coloraxis.src.js +4 -3
- package/es-modules/masters/modules/current-date-indicator.src.js +2 -1
- package/es-modules/masters/modules/cylinder.src.js +3 -1
- package/es-modules/masters/modules/data-tools.src.js +9 -8
- package/es-modules/masters/modules/data.src.js +9 -8
- package/es-modules/masters/modules/datagrouping.src.js +7 -5
- package/es-modules/masters/modules/debugger.src.js +3 -2
- package/es-modules/masters/modules/dependency-wheel.src.js +3 -1
- package/es-modules/masters/modules/dotplot.src.js +3 -1
- package/es-modules/masters/modules/drag-panes.src.js +2 -1
- package/es-modules/masters/modules/draggable-points.src.js +2 -1
- package/es-modules/masters/modules/drilldown.src.js +3 -2
- package/es-modules/masters/modules/dumbbell.src.js +3 -1
- package/es-modules/masters/modules/export-data.src.js +5 -4
- package/es-modules/masters/modules/exporting.src.js +6 -5
- package/es-modules/masters/modules/flowmap.src.js +3 -1
- package/es-modules/masters/modules/full-screen.src.js +4 -3
- package/es-modules/masters/modules/funnel.src.js +2 -1
- package/es-modules/masters/modules/funnel3d.src.js +4 -3
- package/es-modules/masters/modules/gantt.src.js +15 -17
- package/es-modules/masters/modules/geoheatmap.src.js +3 -1
- package/es-modules/masters/modules/grid-axis.src.js +2 -1
- package/es-modules/masters/modules/heatmap.src.js +3 -5
- package/es-modules/masters/modules/heikinashi.src.js +2 -1
- package/es-modules/masters/modules/histogram-bellcurve.src.js +3 -1
- package/es-modules/masters/modules/hollowcandlestick.src.js +3 -1
- package/es-modules/masters/modules/item-series.src.js +3 -1
- package/es-modules/masters/modules/lollipop.src.js +3 -1
- package/es-modules/masters/modules/map.src.js +15 -10
- package/es-modules/masters/modules/marker-clusters.src.js +2 -1
- package/es-modules/masters/modules/mouse-wheel-zoom.src.js +4 -2
- package/es-modules/masters/modules/navigator.src.d.ts +1 -0
- package/es-modules/masters/modules/navigator.src.js +19 -0
- package/es-modules/masters/modules/networkgraph.src.js +2 -1
- package/es-modules/masters/modules/no-data-to-display.src.js +2 -1
- package/es-modules/masters/modules/offline-exporting.src.js +4 -3
- package/es-modules/masters/modules/organization.src.js +3 -1
- package/es-modules/masters/modules/overlapping-datalabels.src.js +4 -2
- package/es-modules/masters/modules/parallel-coordinates.src.js +2 -1
- package/es-modules/masters/modules/pareto.src.js +3 -1
- package/es-modules/masters/modules/pathfinder.src.js +4 -3
- package/es-modules/masters/modules/pattern-fill.src.js +2 -1
- package/es-modules/masters/modules/pictorial.src.js +3 -1
- package/es-modules/masters/modules/price-indicator.src.js +2 -1
- package/es-modules/masters/modules/pyramid3d.src.js +3 -1
- package/es-modules/masters/modules/sankey.src.js +3 -1
- package/es-modules/masters/modules/series-label.src.js +2 -1
- package/es-modules/masters/modules/series-on-point.src.js +2 -1
- package/es-modules/masters/modules/solid-gauge.src.js +3 -1
- package/es-modules/masters/modules/sonification.src.js +2 -1
- package/es-modules/masters/modules/static-scale.src.js +2 -1
- package/es-modules/masters/modules/stock-tools.src.js +5 -3
- package/es-modules/masters/modules/stock.src.js +20 -15
- package/es-modules/masters/modules/streamgraph.src.js +3 -1
- package/es-modules/masters/modules/sunburst.src.js +4 -3
- package/es-modules/masters/modules/tiledwebmap.src.js +5 -4
- package/es-modules/masters/modules/tilemap.src.js +2 -1
- package/es-modules/masters/modules/timeline.src.js +3 -1
- package/es-modules/masters/modules/treegraph.src.js +3 -1
- package/es-modules/masters/modules/treegrid.src.js +2 -2
- package/es-modules/masters/modules/treemap.src.js +5 -4
- package/es-modules/masters/modules/variable-pie.src.js +3 -1
- package/es-modules/masters/modules/variwide.src.js +2 -1
- package/es-modules/masters/modules/vector.src.js +3 -1
- package/es-modules/masters/modules/venn.src.js +3 -1
- package/es-modules/masters/modules/windbarb.src.js +3 -1
- package/es-modules/masters/modules/wordcloud.src.js +3 -1
- package/es-modules/masters/modules/xrange.src.js +2 -1
- package/es-modules/masters/standalone-navigator.src.js +13 -0
- package/es-modules/masters/themes/avocado.src.js +2 -1
- package/es-modules/masters/themes/brand-dark.src.js +2 -1
- package/es-modules/masters/themes/brand-light.src.js +2 -1
- package/es-modules/masters/themes/dark-blue.src.js +2 -1
- package/es-modules/masters/themes/dark-green.src.js +2 -1
- package/es-modules/masters/themes/dark-unica.src.js +2 -1
- package/es-modules/masters/themes/gray.src.js +2 -1
- package/es-modules/masters/themes/grid-light.src.js +2 -1
- package/es-modules/masters/themes/grid.src.js +2 -1
- package/es-modules/masters/themes/high-contrast-dark.src.js +2 -1
- package/es-modules/masters/themes/high-contrast-light.src.js +2 -1
- package/es-modules/masters/themes/sand-signika.src.js +2 -1
- package/es-modules/masters/themes/skies.src.js +2 -1
- package/es-modules/masters/themes/sunset.src.js +2 -1
- package/es-modules/tsconfig.tsbuildinfo +1 -0
- package/globals.d.ts +9 -0
- package/globals.src.d.ts +9 -0
- package/highcharts-3d.js +3 -3
- package/highcharts-3d.src.js +32 -33
- package/highcharts-gantt.js +4 -4
- package/highcharts-gantt.src.js +5703 -5639
- package/highcharts-more.d.ts +4 -0
- package/highcharts-more.js +3 -3
- package/highcharts-more.src.d.ts +4 -0
- package/highcharts-more.src.js +88 -87
- package/highcharts.d.ts +834 -5365
- package/highcharts.js +4 -4
- package/highcharts.src.d.ts +834 -5365
- package/highcharts.src.js +1583 -1682
- package/highmaps.js +4 -4
- package/highmaps.src.js +1837 -1835
- package/highstock.js +4 -4
- package/highstock.src.js +12488 -12510
- package/indicators/acceleration-bands.js +3 -3
- package/indicators/acceleration-bands.src.js +12 -11
- package/indicators/accumulation-distribution.js +3 -3
- package/indicators/accumulation-distribution.src.js +6 -3
- package/indicators/ao.js +3 -3
- package/indicators/ao.src.js +3 -2
- package/indicators/apo.js +3 -3
- package/indicators/apo.src.js +4 -3
- package/indicators/aroon-oscillator.js +3 -3
- package/indicators/aroon-oscillator.src.js +12 -11
- package/indicators/aroon.js +3 -3
- package/indicators/aroon.src.js +13 -12
- package/indicators/atr.js +3 -3
- package/indicators/atr.src.js +3 -2
- package/indicators/bollinger-bands.js +3 -3
- package/indicators/bollinger-bands.src.js +12 -11
- package/indicators/cci.js +3 -3
- package/indicators/cci.src.js +3 -2
- package/indicators/chaikin.js +3 -3
- package/indicators/chaikin.src.js +7 -4
- package/indicators/cmf.js +3 -3
- package/indicators/cmf.src.js +4 -3
- package/indicators/cmo.js +3 -3
- package/indicators/cmo.src.js +5 -4
- package/indicators/dema.js +3 -3
- package/indicators/dema.src.js +3 -2
- package/indicators/disparity-index.js +3 -3
- package/indicators/disparity-index.src.js +3 -2
- package/indicators/dmi.js +3 -3
- package/indicators/dmi.src.js +12 -11
- package/indicators/dpo.js +3 -3
- package/indicators/dpo.src.js +4 -3
- package/indicators/ema.js +1 -1
- package/indicators/ema.src.js +2 -1
- package/indicators/ichimoku-kinko-hyo.js +3 -3
- package/indicators/ichimoku-kinko-hyo.src.js +3 -2
- package/indicators/indicators-all.js +3 -3
- package/indicators/indicators-all.src.js +63 -60
- package/indicators/indicators.js +3 -3
- package/indicators/indicators.src.js +286 -3
- package/indicators/keltner-channels.js +3 -3
- package/indicators/keltner-channels.src.js +12 -11
- package/indicators/klinger.js +3 -3
- package/indicators/klinger.src.js +13 -12
- package/indicators/macd.js +3 -3
- package/indicators/macd.src.js +3 -2
- package/indicators/mfi.js +3 -3
- package/indicators/mfi.src.js +3 -2
- package/indicators/momentum.js +3 -3
- package/indicators/momentum.src.js +3 -2
- package/indicators/natr.js +3 -3
- package/indicators/natr.src.js +3 -2
- package/indicators/obv.js +3 -3
- package/indicators/obv.src.js +4 -3
- package/indicators/pivot-points.js +3 -3
- package/indicators/pivot-points.src.js +5 -4
- package/indicators/ppo.js +3 -3
- package/indicators/ppo.src.js +4 -3
- package/indicators/price-channel.js +3 -3
- package/indicators/price-channel.src.js +12 -11
- package/indicators/price-envelopes.js +3 -3
- package/indicators/price-envelopes.src.js +12 -11
- package/indicators/psar.js +3 -3
- package/indicators/psar.src.js +3 -2
- package/indicators/regressions.js +3 -3
- package/indicators/regressions.src.js +10 -9
- package/indicators/roc.js +3 -3
- package/indicators/roc.src.js +3 -2
- package/indicators/rsi.js +3 -3
- package/indicators/rsi.src.js +3 -2
- package/indicators/slow-stochastic.js +3 -3
- package/indicators/slow-stochastic.src.js +3 -2
- package/indicators/stochastic.js +3 -3
- package/indicators/stochastic.src.js +12 -11
- package/indicators/supertrend.js +3 -3
- package/indicators/supertrend.src.js +20 -19
- package/indicators/tema.js +3 -3
- package/indicators/tema.src.js +3 -2
- package/indicators/trendline.js +3 -3
- package/indicators/trendline.src.js +3 -2
- package/indicators/trix.js +3 -3
- package/indicators/trix.src.js +3 -2
- package/indicators/volume-by-price.js +3 -3
- package/indicators/volume-by-price.src.js +8 -7
- package/indicators/vwap.js +3 -3
- package/indicators/vwap.src.js +3 -2
- package/indicators/williams-r.js +3 -3
- package/indicators/williams-r.src.js +4 -3
- package/indicators/wma.js +3 -3
- package/indicators/wma.src.js +3 -2
- package/indicators/zigzag.js +3 -3
- package/indicators/zigzag.src.js +8 -7
- package/lib/svg2pdf.js +7 -7
- package/lib/svg2pdf.src.js +185 -150
- package/modules/accessibility.js +3 -3
- package/modules/accessibility.src.js +664 -2793
- package/modules/annotations-advanced.d.ts +3 -0
- package/modules/annotations-advanced.js +3 -3
- package/modules/annotations-advanced.src.d.ts +3 -0
- package/modules/annotations-advanced.src.js +2949 -2920
- package/modules/annotations.d.ts +0 -3
- package/modules/annotations.js +3 -3
- package/modules/annotations.src.d.ts +0 -3
- package/modules/annotations.src.js +2926 -2905
- package/modules/arc-diagram.js +3 -3
- package/modules/arc-diagram.src.js +8 -6
- package/modules/arrow-symbols.js +3 -3
- package/modules/arrow-symbols.src.js +10 -13
- package/modules/boost-canvas.js +3 -3
- package/modules/boost-canvas.src.js +73 -26
- package/modules/boost.js +3 -3
- package/modules/boost.src.js +108 -30
- package/modules/broken-axis.js +3 -3
- package/modules/broken-axis.src.js +9 -9
- package/modules/bullet.js +3 -3
- package/modules/bullet.src.js +5 -4
- package/modules/coloraxis.js +3 -3
- package/modules/coloraxis.src.js +10 -9
- package/modules/current-date-indicator.js +3 -3
- package/modules/current-date-indicator.src.js +3 -2
- package/modules/cylinder.js +3 -3
- package/modules/cylinder.src.js +12 -11
- package/modules/data-tools.js +3 -3
- package/modules/data-tools.src.js +53 -36
- package/modules/data.d.ts +2 -2
- package/modules/data.js +3 -3
- package/modules/data.src.d.ts +2 -2
- package/modules/data.src.js +24 -23
- package/modules/datagrouping.js +3 -3
- package/modules/datagrouping.src.js +25 -23
- package/modules/debugger.js +3 -3
- package/modules/debugger.src.js +6 -5
- package/modules/dependency-wheel.js +3 -3
- package/modules/dependency-wheel.src.js +7 -5
- package/modules/dotplot.js +3 -3
- package/modules/dotplot.src.js +3 -2
- package/modules/drag-panes.js +3 -3
- package/modules/drag-panes.src.js +19 -21
- package/modules/draggable-points.js +3 -3
- package/modules/draggable-points.src.js +18 -16
- package/modules/drilldown.js +3 -3
- package/modules/drilldown.src.js +29 -26
- package/modules/dumbbell.js +3 -3
- package/modules/dumbbell.src.js +5 -4
- package/modules/export-data.js +3 -3
- package/modules/export-data.src.js +33 -22
- package/modules/exporting.d.ts +1 -1
- package/modules/exporting.js +3 -3
- package/modules/exporting.src.d.ts +1 -1
- package/modules/exporting.src.js +40 -39
- package/modules/flowmap.js +3 -3
- package/modules/flowmap.src.js +3 -2
- package/modules/full-screen.js +3 -3
- package/modules/full-screen.src.js +9 -13
- package/modules/funnel.js +3 -3
- package/modules/funnel.src.js +3 -2
- package/modules/funnel3d.js +3 -3
- package/modules/funnel3d.src.js +12 -12
- package/modules/gantt.d.ts +3 -4
- package/modules/gantt.js +3 -3
- package/modules/gantt.src.d.ts +3 -4
- package/modules/gantt.src.js +4165 -4002
- package/modules/geoheatmap.js +3 -3
- package/modules/geoheatmap.src.js +8 -7
- package/modules/grid-axis.js +3 -3
- package/modules/grid-axis.src.js +9 -8
- package/modules/heatmap.d.ts +2 -2
- package/modules/heatmap.js +3 -3
- package/modules/heatmap.src.d.ts +2 -2
- package/modules/heatmap.src.js +21 -15
- package/modules/heikinashi.js +3 -3
- package/modules/heikinashi.src.js +9 -6
- package/modules/histogram-bellcurve.js +3 -3
- package/modules/histogram-bellcurve.src.js +4 -3
- package/modules/hollowcandlestick.js +3 -3
- package/modules/hollowcandlestick.src.js +5 -4
- package/modules/item-series.js +3 -3
- package/modules/item-series.src.js +4 -3
- package/modules/lollipop.js +3 -3
- package/modules/lollipop.src.js +6 -3
- package/modules/map.d.ts +22 -1
- package/modules/map.js +3 -3
- package/modules/map.src.d.ts +22 -1
- package/modules/map.src.js +256 -155
- package/modules/marker-clusters.js +3 -3
- package/modules/marker-clusters.src.js +35 -37
- package/modules/mouse-wheel-zoom.js +3 -3
- package/modules/mouse-wheel-zoom.src.js +55 -163
- package/modules/navigator.d.ts +148 -0
- package/modules/navigator.js +9 -0
- package/modules/navigator.src.d.ts +148 -0
- package/modules/navigator.src.js +3921 -0
- package/modules/networkgraph.d.ts +2 -2
- package/modules/networkgraph.js +3 -3
- package/modules/networkgraph.src.d.ts +2 -2
- package/modules/networkgraph.src.js +36 -35
- package/modules/no-data-to-display.js +3 -3
- package/modules/no-data-to-display.src.js +6 -6
- package/modules/offline-exporting.js +3 -3
- package/modules/offline-exporting.src.js +10 -10
- package/modules/organization.js +3 -3
- package/modules/organization.src.js +41 -15
- package/modules/overlapping-datalabels.js +3 -3
- package/modules/overlapping-datalabels.src.js +4 -2
- package/modules/parallel-coordinates.js +3 -3
- package/modules/parallel-coordinates.src.js +12 -12
- package/modules/pareto.js +3 -3
- package/modules/pareto.src.js +3 -2
- package/modules/pathfinder.js +3 -3
- package/modules/pathfinder.src.js +18 -22
- package/modules/pattern-fill.js +3 -3
- package/modules/pattern-fill.src.js +22 -23
- package/modules/pictorial.js +3 -3
- package/modules/pictorial.src.js +25 -26
- package/modules/price-indicator.js +3 -3
- package/modules/price-indicator.src.js +3 -2
- package/modules/pyramid3d.js +3 -3
- package/modules/pyramid3d.src.js +3 -2
- package/modules/sankey.js +3 -3
- package/modules/sankey.src.js +93 -26
- package/modules/series-label.js +3 -3
- package/modules/series-label.src.js +28 -19
- package/modules/series-on-point.js +3 -3
- package/modules/series-on-point.src.js +5 -4
- package/modules/solid-gauge.js +3 -3
- package/modules/solid-gauge.src.js +3 -2
- package/modules/sonification.d.ts +2 -2
- package/modules/sonification.js +3 -3
- package/modules/sonification.src.d.ts +2 -2
- package/modules/sonification.src.js +8 -6
- package/modules/static-scale.js +3 -3
- package/modules/static-scale.src.js +6 -6
- package/modules/stock-tools.js +3 -3
- package/modules/stock-tools.src.js +109 -96
- package/modules/stock.d.ts +1 -1
- package/modules/stock.js +3 -3
- package/modules/stock.src.d.ts +1 -1
- package/modules/stock.src.js +10762 -10685
- package/modules/streamgraph.js +3 -3
- package/modules/streamgraph.src.js +3 -2
- package/modules/sunburst.js +3 -3
- package/modules/sunburst.src.js +50 -37
- package/modules/tiledwebmap.js +4 -4
- package/modules/tiledwebmap.src.js +28 -29
- package/modules/tilemap.js +3 -3
- package/modules/tilemap.src.js +4 -3
- package/modules/timeline.js +3 -3
- package/modules/timeline.src.js +5 -4
- package/modules/treegraph.js +3 -3
- package/modules/treegraph.src.js +58 -23
- package/modules/treegrid.js +3 -3
- package/modules/treegrid.src.js +49 -33
- package/modules/treemap.js +3 -3
- package/modules/treemap.src.js +44 -26
- package/modules/variable-pie.js +3 -3
- package/modules/variable-pie.src.js +3 -2
- package/modules/variwide.js +3 -3
- package/modules/variwide.src.js +9 -4
- package/modules/vector.js +3 -3
- package/modules/vector.src.js +3 -2
- package/modules/venn.js +3 -3
- package/modules/venn.src.js +16 -17
- package/modules/windbarb.js +3 -3
- package/modules/windbarb.src.js +5 -4
- package/modules/wordcloud.js +3 -3
- package/modules/wordcloud.src.js +10 -8
- package/modules/xrange.js +3 -3
- package/modules/xrange.src.js +5 -4
- package/package.json +1 -1
- package/standalone-navigator.js +2 -0
- package/standalone-navigator.src.js +49402 -0
- package/themes/avocado.js +3 -3
- package/themes/avocado.src.js +2 -1
- package/themes/brand-dark.js +3 -3
- package/themes/brand-dark.src.js +2 -1
- package/themes/brand-light.js +3 -3
- package/themes/brand-light.src.js +2 -1
- package/themes/dark-blue.js +3 -3
- package/themes/dark-blue.src.js +2 -1
- package/themes/dark-green.js +3 -3
- package/themes/dark-green.src.js +2 -1
- package/themes/dark-unica.js +3 -3
- package/themes/dark-unica.src.js +2 -1
- package/themes/gray.js +3 -3
- package/themes/gray.src.js +2 -1
- package/themes/grid-light.js +3 -3
- package/themes/grid-light.src.js +2 -1
- package/themes/grid.js +3 -3
- package/themes/grid.src.js +2 -1
- package/themes/high-contrast-dark.js +3 -3
- package/themes/high-contrast-dark.src.js +2 -1
- package/themes/high-contrast-light.js +3 -3
- package/themes/high-contrast-light.src.js +2 -1
- package/themes/sand-signika.js +3 -3
- package/themes/sand-signika.src.js +2 -1
- package/themes/skies.js +3 -3
- package/themes/skies.src.js +2 -1
- package/themes/sunset.js +3 -3
- package/themes/sunset.src.js +2 -1
- package/es-modules/Core/Renderer/HTML/HTMLRenderer.js +0 -259
- package/lib/canvg.js +0 -8
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Highstock JS v11.
|
|
2
|
+
* @license Highstock JS v11.4.0 (2024-03-05)
|
|
3
3
|
*
|
|
4
4
|
* Advanced Highcharts Stock tools
|
|
5
5
|
*
|
|
@@ -250,7 +250,7 @@
|
|
|
250
250
|
className: 'highcharts-circle-annotation',
|
|
251
251
|
/** @ignore-option */
|
|
252
252
|
start: function (e) {
|
|
253
|
-
const coords = this.chart.pointer
|
|
253
|
+
const coords = this.chart.pointer?.getCoordinates(e), coordsX = coords && getAssignedAxis(coords.xAxis), coordsY = coords && getAssignedAxis(coords.yAxis), navigation = this.chart.options.navigation;
|
|
254
254
|
// Exit if clicked out of axes area
|
|
255
255
|
if (!coordsX || !coordsY) {
|
|
256
256
|
return;
|
|
@@ -304,7 +304,7 @@
|
|
|
304
304
|
ellipseAnnotation: {
|
|
305
305
|
className: 'highcharts-ellipse-annotation',
|
|
306
306
|
start: function (e) {
|
|
307
|
-
const coords = this.chart.pointer
|
|
307
|
+
const coords = this.chart.pointer?.getCoordinates(e), coordsX = coords && getAssignedAxis(coords.xAxis), coordsY = coords && getAssignedAxis(coords.yAxis), navigation = this.chart.options.navigation;
|
|
308
308
|
if (!coordsX || !coordsY) {
|
|
309
309
|
return;
|
|
310
310
|
}
|
|
@@ -354,7 +354,7 @@
|
|
|
354
354
|
className: 'highcharts-rectangle-annotation',
|
|
355
355
|
/** @ignore-option */
|
|
356
356
|
start: function (e) {
|
|
357
|
-
const coords = this.chart.pointer
|
|
357
|
+
const coords = this.chart.pointer?.getCoordinates(e), coordsX = coords && getAssignedAxis(coords.xAxis), coordsY = coords && getAssignedAxis(coords.yAxis);
|
|
358
358
|
// Exit if clicked out of axes area
|
|
359
359
|
if (!coordsX || !coordsY) {
|
|
360
360
|
return;
|
|
@@ -383,7 +383,7 @@
|
|
|
383
383
|
steps: [
|
|
384
384
|
function (e, annotation) {
|
|
385
385
|
const shapes = annotation.options.shapes, points = ((shapes && shapes[0] && shapes[0].points) ||
|
|
386
|
-
[]), coords = this.chart.pointer
|
|
386
|
+
[]), coords = this.chart.pointer?.getCoordinates(e), coordsX = coords && getAssignedAxis(coords.xAxis), coordsY = coords && getAssignedAxis(coords.yAxis);
|
|
387
387
|
if (coordsX && coordsY) {
|
|
388
388
|
const x = coordsX.value, y = coordsY.value;
|
|
389
389
|
// Top right point
|
|
@@ -413,7 +413,7 @@
|
|
|
413
413
|
className: 'highcharts-label-annotation',
|
|
414
414
|
/** @ignore-option */
|
|
415
415
|
start: function (e) {
|
|
416
|
-
const coords = this.chart.pointer
|
|
416
|
+
const coords = this.chart.pointer?.getCoordinates(e), coordsX = coords && getAssignedAxis(coords.xAxis), coordsY = coords && getAssignedAxis(coords.yAxis), navigation = this.chart.options.navigation;
|
|
417
417
|
// Exit if clicked out of axes area
|
|
418
418
|
if (!coordsX || !coordsY) {
|
|
419
419
|
return;
|
|
@@ -447,7 +447,7 @@
|
|
|
447
447
|
* from a different server.
|
|
448
448
|
*
|
|
449
449
|
* @type {string}
|
|
450
|
-
* @default https://code.highcharts.com/11.
|
|
450
|
+
* @default https://code.highcharts.com/11.4.0/gfx/stock-icons/
|
|
451
451
|
* @since 7.1.3
|
|
452
452
|
* @apioption navigation.iconsURL
|
|
453
453
|
*/
|
|
@@ -537,7 +537,7 @@
|
|
|
537
537
|
const { setOptions } = D;
|
|
538
538
|
const { format } = F;
|
|
539
539
|
const { composed, doc, win } = H;
|
|
540
|
-
const { getFieldType } = NBU;
|
|
540
|
+
const { getAssignedAxis, getFieldType } = NBU;
|
|
541
541
|
const { addEvent, attr, defined, fireEvent, isArray, isFunction, isNumber, isObject, merge, objectEach, pick, pushUnique } = U;
|
|
542
542
|
/* *
|
|
543
543
|
*
|
|
@@ -612,7 +612,7 @@
|
|
|
612
612
|
this.navigationBindings.container[0]) {
|
|
613
613
|
const container = this.navigationBindings.container[0];
|
|
614
614
|
objectEach(navigationBindings.boundClassNames, (value, key) => {
|
|
615
|
-
// Get the HTML element
|
|
615
|
+
// Get the HTML element corresponding to the className taken
|
|
616
616
|
// from StockToolsBindings.
|
|
617
617
|
const buttonNode = container.querySelectorAll('.' + key);
|
|
618
618
|
if (buttonNode) {
|
|
@@ -743,7 +743,7 @@
|
|
|
743
743
|
*
|
|
744
744
|
* */
|
|
745
745
|
static compose(AnnotationClass, ChartClass) {
|
|
746
|
-
if (pushUnique(composed,
|
|
746
|
+
if (pushUnique(composed, 'NavigationBindings')) {
|
|
747
747
|
addEvent(AnnotationClass, 'remove', onAnnotationRemove);
|
|
748
748
|
// Basic shapes:
|
|
749
749
|
selectableAnnotation(AnnotationClass);
|
|
@@ -780,8 +780,15 @@
|
|
|
780
780
|
* Functions
|
|
781
781
|
*
|
|
782
782
|
* */
|
|
783
|
+
getCoords(e) {
|
|
784
|
+
const coords = this.chart.pointer?.getCoordinates(e);
|
|
785
|
+
return [
|
|
786
|
+
coords && getAssignedAxis(coords.xAxis),
|
|
787
|
+
coords && getAssignedAxis(coords.yAxis)
|
|
788
|
+
];
|
|
789
|
+
}
|
|
783
790
|
/**
|
|
784
|
-
*
|
|
791
|
+
* Init all events connected to NavigationBindings.
|
|
785
792
|
*
|
|
786
793
|
* @private
|
|
787
794
|
* @function Highcharts.NavigationBindings#initEvents
|
|
@@ -836,7 +843,7 @@
|
|
|
836
843
|
});
|
|
837
844
|
}
|
|
838
845
|
/**
|
|
839
|
-
* Hook for click on a button, method
|
|
846
|
+
* Hook for click on a button, method selects/unselects buttons,
|
|
840
847
|
* then calls `bindings.init` callback.
|
|
841
848
|
*
|
|
842
849
|
* @private
|
|
@@ -1016,19 +1023,23 @@
|
|
|
1016
1023
|
if (value !== 'undefined') {
|
|
1017
1024
|
let parent = config;
|
|
1018
1025
|
path.forEach((name, index) => {
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1026
|
+
if (name !== '__proto__' && name !== 'constructor') {
|
|
1027
|
+
const nextName = pick(path[index + 1], '');
|
|
1028
|
+
if (pathLength === index) {
|
|
1029
|
+
// Last index, put value:
|
|
1030
|
+
parent[name] = value;
|
|
1031
|
+
}
|
|
1032
|
+
else if (!parent[name]) {
|
|
1033
|
+
// Create middle property:
|
|
1034
|
+
parent[name] = nextName.match(/\d/g) ?
|
|
1035
|
+
[] :
|
|
1036
|
+
{};
|
|
1037
|
+
parent = parent[name];
|
|
1038
|
+
}
|
|
1039
|
+
else {
|
|
1040
|
+
// Jump into next property
|
|
1041
|
+
parent = parent[name];
|
|
1042
|
+
}
|
|
1032
1043
|
}
|
|
1033
1044
|
});
|
|
1034
1045
|
}
|
|
@@ -1499,9 +1510,9 @@
|
|
|
1499
1510
|
* Consider using getHoverData(), but always kdTree (columns?)
|
|
1500
1511
|
*/
|
|
1501
1512
|
function attractToPoint(e, chart) {
|
|
1502
|
-
const coords = chart.pointer
|
|
1513
|
+
const coords = chart.pointer?.getCoordinates(e);
|
|
1503
1514
|
let coordsX, coordsY, distX = Number.MAX_VALUE, closestPoint;
|
|
1504
|
-
if (chart.navigationBindings) {
|
|
1515
|
+
if (chart.navigationBindings && coords) {
|
|
1505
1516
|
coordsX = getAssignedAxis(coords.xAxis);
|
|
1506
1517
|
coordsY = getAssignedAxis(coords.yAxis);
|
|
1507
1518
|
}
|
|
@@ -1514,12 +1525,11 @@
|
|
|
1514
1525
|
// Search by 'x' but only in yAxis' series.
|
|
1515
1526
|
coordsY.axis.series.forEach((series) => {
|
|
1516
1527
|
if (series.points) {
|
|
1517
|
-
series.
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
});
|
|
1528
|
+
const point = series.searchPoint(e, true);
|
|
1529
|
+
if (point && distX > Math.abs(point.x - x)) {
|
|
1530
|
+
distX = Math.abs(point.x - x);
|
|
1531
|
+
closestPoint = point;
|
|
1532
|
+
}
|
|
1523
1533
|
}
|
|
1524
1534
|
});
|
|
1525
1535
|
if (closestPoint && closestPoint.x && closestPoint.y) {
|
|
@@ -1686,7 +1696,7 @@
|
|
|
1686
1696
|
* @function bindingsUtils.updateNthPoint
|
|
1687
1697
|
*
|
|
1688
1698
|
* @param {number} startIndex
|
|
1689
|
-
* Index from
|
|
1699
|
+
* Index from which point should update
|
|
1690
1700
|
*
|
|
1691
1701
|
* @return {Function}
|
|
1692
1702
|
* Callback to be used in steps array
|
|
@@ -1757,7 +1767,7 @@
|
|
|
1757
1767
|
|
|
1758
1768
|
return StockToolsUtilities;
|
|
1759
1769
|
});
|
|
1760
|
-
_registerModule(_modules, 'Stock/StockTools/StockToolsBindings.js', [_modules['Core/Globals.js'], _modules['
|
|
1770
|
+
_registerModule(_modules, 'Stock/StockTools/StockToolsBindings.js', [_modules['Core/Globals.js'], _modules['Stock/StockTools/StockToolsUtilities.js'], _modules['Core/Utilities.js']], function (H, STU, U) {
|
|
1761
1771
|
/**
|
|
1762
1772
|
*
|
|
1763
1773
|
* Events generator for Stock tools
|
|
@@ -1769,7 +1779,6 @@
|
|
|
1769
1779
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
1770
1780
|
*
|
|
1771
1781
|
* */
|
|
1772
|
-
const { getAssignedAxis } = NBU;
|
|
1773
1782
|
const { addFlagFromForm, attractToPoint, isNotNavigatorYAxis, isPriceIndicatorEnabled, manageIndicators, updateHeight, updateNthPoint, updateRectSize } = STU;
|
|
1774
1783
|
const { fireEvent, merge } = U;
|
|
1775
1784
|
/* *
|
|
@@ -1801,7 +1810,7 @@
|
|
|
1801
1810
|
// eslint-disable-next-line valid-jsdoc
|
|
1802
1811
|
/** @ignore-option */
|
|
1803
1812
|
start: function (e) {
|
|
1804
|
-
const
|
|
1813
|
+
const [coordsX, coordsY] = this.getCoords(e);
|
|
1805
1814
|
// Exit if clicked out of axes area
|
|
1806
1815
|
if (!coordsX || !coordsY) {
|
|
1807
1816
|
return;
|
|
@@ -1842,7 +1851,7 @@
|
|
|
1842
1851
|
// eslint-disable-next-line valid-jsdoc
|
|
1843
1852
|
/** @ignore-option */
|
|
1844
1853
|
start: function (e) {
|
|
1845
|
-
const
|
|
1854
|
+
const [coordsX, coordsY] = this.getCoords(e);
|
|
1846
1855
|
// Exit if clicked out of axes area
|
|
1847
1856
|
if (!coordsX || !coordsY) {
|
|
1848
1857
|
return;
|
|
@@ -1886,7 +1895,7 @@
|
|
|
1886
1895
|
// eslint-disable-next-line valid-jsdoc
|
|
1887
1896
|
/** @ignore-option */
|
|
1888
1897
|
start: function (e) {
|
|
1889
|
-
const
|
|
1898
|
+
const [coordsX, coordsY] = this.getCoords(e);
|
|
1890
1899
|
// Exit if clicked out of axes area
|
|
1891
1900
|
if (!coordsX || !coordsY) {
|
|
1892
1901
|
return;
|
|
@@ -1928,7 +1937,7 @@
|
|
|
1928
1937
|
// eslint-disable-next-line valid-jsdoc
|
|
1929
1938
|
/** @ignore-option */
|
|
1930
1939
|
start: function (e) {
|
|
1931
|
-
const
|
|
1940
|
+
const [coordsX, coordsY] = this.getCoords(e);
|
|
1932
1941
|
// Exit if clicked out of axes area
|
|
1933
1942
|
if (!coordsX || !coordsY) {
|
|
1934
1943
|
return;
|
|
@@ -1972,7 +1981,7 @@
|
|
|
1972
1981
|
// eslint-disable-next-line valid-jsdoc
|
|
1973
1982
|
/** @ignore-option */
|
|
1974
1983
|
start: function (e) {
|
|
1975
|
-
const
|
|
1984
|
+
const [coordsX, coordsY] = this.getCoords(e);
|
|
1976
1985
|
// Exit if clicked out of axes area
|
|
1977
1986
|
if (!coordsX || !coordsY) {
|
|
1978
1987
|
return;
|
|
@@ -2014,7 +2023,7 @@
|
|
|
2014
2023
|
// eslint-disable-next-line valid-jsdoc
|
|
2015
2024
|
/** @ignore-option */
|
|
2016
2025
|
start: function (e) {
|
|
2017
|
-
const
|
|
2026
|
+
const [coordsX, coordsY] = this.getCoords(e);
|
|
2018
2027
|
// Exit if clicked out of axes area
|
|
2019
2028
|
if (!coordsX || !coordsY) {
|
|
2020
2029
|
return;
|
|
@@ -2059,7 +2068,7 @@
|
|
|
2059
2068
|
// eslint-disable-next-line valid-jsdoc
|
|
2060
2069
|
/** @ignore-option */
|
|
2061
2070
|
start: function (e) {
|
|
2062
|
-
const
|
|
2071
|
+
const [coordsX, coordsY] = this.getCoords(e);
|
|
2063
2072
|
// Exit if clicked out of axes area
|
|
2064
2073
|
if (!coordsX || !coordsY) {
|
|
2065
2074
|
return;
|
|
@@ -2095,7 +2104,7 @@
|
|
|
2095
2104
|
// eslint-disable-next-line valid-jsdoc
|
|
2096
2105
|
/** @ignore-option */
|
|
2097
2106
|
start: function (e) {
|
|
2098
|
-
const
|
|
2107
|
+
const [coordsX, coordsY] = this.getCoords(e);
|
|
2099
2108
|
// Exit if clicked out of axes area
|
|
2100
2109
|
if (!coordsX || !coordsY) {
|
|
2101
2110
|
return;
|
|
@@ -2132,7 +2141,7 @@
|
|
|
2132
2141
|
// eslint-disable-next-line valid-jsdoc
|
|
2133
2142
|
/** @ignore-option */
|
|
2134
2143
|
start: function (e) {
|
|
2135
|
-
const
|
|
2144
|
+
const [coordsX, coordsY] = this.getCoords(e);
|
|
2136
2145
|
// Exit if clicked out of axes area
|
|
2137
2146
|
if (!coordsX || !coordsY) {
|
|
2138
2147
|
return;
|
|
@@ -2172,7 +2181,7 @@
|
|
|
2172
2181
|
// eslint-disable-next-line valid-jsdoc
|
|
2173
2182
|
/** @ignore-option */
|
|
2174
2183
|
start: function (e) {
|
|
2175
|
-
const
|
|
2184
|
+
const [coordsX, coordsY] = this.getCoords(e);
|
|
2176
2185
|
// Exit if clicked out of axes area
|
|
2177
2186
|
if (!coordsX || !coordsY) {
|
|
2178
2187
|
return;
|
|
@@ -2216,7 +2225,7 @@
|
|
|
2216
2225
|
// eslint-disable-next-line valid-jsdoc
|
|
2217
2226
|
/** @ignore-option */
|
|
2218
2227
|
start: function (e) {
|
|
2219
|
-
const
|
|
2228
|
+
const [coordsX, coordsY] = this.getCoords(e);
|
|
2220
2229
|
// Exit if clicked out of axes area
|
|
2221
2230
|
if (!coordsX || !coordsY) {
|
|
2222
2231
|
return;
|
|
@@ -2263,7 +2272,7 @@
|
|
|
2263
2272
|
// eslint-disable-next-line valid-jsdoc
|
|
2264
2273
|
/** @ignore-option */
|
|
2265
2274
|
start: function (e) {
|
|
2266
|
-
const
|
|
2275
|
+
const [coordsX, coordsY] = this.getCoords(e);
|
|
2267
2276
|
// Exit if clicked out of axes area
|
|
2268
2277
|
if (!coordsX || !coordsY) {
|
|
2269
2278
|
return;
|
|
@@ -2314,7 +2323,7 @@
|
|
|
2314
2323
|
// eslint-disable-next-line valid-jsdoc
|
|
2315
2324
|
/** @ignore-option */
|
|
2316
2325
|
start: function (e) {
|
|
2317
|
-
const
|
|
2326
|
+
const [coordsX, coordsY] = this.getCoords(e);
|
|
2318
2327
|
// Exit if clicked out of axes area
|
|
2319
2328
|
if (!coordsX || !coordsY) {
|
|
2320
2329
|
return;
|
|
@@ -2370,7 +2379,7 @@
|
|
|
2370
2379
|
// eslint-disable-next-line valid-jsdoc
|
|
2371
2380
|
/** @ignore-option */
|
|
2372
2381
|
start: function (e) {
|
|
2373
|
-
const
|
|
2382
|
+
const [coordsX, coordsY] = this.getCoords(e);
|
|
2374
2383
|
// Exit if clicked out of axes area
|
|
2375
2384
|
if (!coordsX || !coordsY) {
|
|
2376
2385
|
return;
|
|
@@ -2426,7 +2435,7 @@
|
|
|
2426
2435
|
// eslint-disable-next-line valid-jsdoc
|
|
2427
2436
|
/** @ignore-option */
|
|
2428
2437
|
start: function (e) {
|
|
2429
|
-
const
|
|
2438
|
+
const [coordsX, coordsY] = this.getCoords(e);
|
|
2430
2439
|
// Exit if clicked out of axes area
|
|
2431
2440
|
if (!coordsX || !coordsY) {
|
|
2432
2441
|
return;
|
|
@@ -2483,7 +2492,7 @@
|
|
|
2483
2492
|
// eslint-disable-next-line valid-jsdoc
|
|
2484
2493
|
/** @ignore-option */
|
|
2485
2494
|
start: function (e) {
|
|
2486
|
-
const
|
|
2495
|
+
const [coordsX, coordsY] = this.getCoords(e);
|
|
2487
2496
|
// Exit if clicked out of axes area
|
|
2488
2497
|
if (!coordsX || !coordsY) {
|
|
2489
2498
|
return;
|
|
@@ -2527,7 +2536,7 @@
|
|
|
2527
2536
|
// eslint-disable-next-line valid-jsdoc
|
|
2528
2537
|
/** @ignore-option */
|
|
2529
2538
|
start: function (e) {
|
|
2530
|
-
const
|
|
2539
|
+
const [coordsX, coordsY] = this.getCoords(e);
|
|
2531
2540
|
// Exit if clicked out of axes area
|
|
2532
2541
|
if (!coordsX || !coordsY) {
|
|
2533
2542
|
return;
|
|
@@ -2567,7 +2576,7 @@
|
|
|
2567
2576
|
// eslint-disable-next-line valid-jsdoc
|
|
2568
2577
|
/** @ignore-option */
|
|
2569
2578
|
start: function (e) {
|
|
2570
|
-
const
|
|
2579
|
+
const [coordsX, coordsY] = this.getCoords(e);
|
|
2571
2580
|
// Exit if clicked out of axes area
|
|
2572
2581
|
if (!coordsX || !coordsY) {
|
|
2573
2582
|
return;
|
|
@@ -2806,7 +2815,7 @@
|
|
|
2806
2815
|
// eslint-disable-next-line valid-jsdoc
|
|
2807
2816
|
/** @ignore-option */
|
|
2808
2817
|
start: function (e) {
|
|
2809
|
-
const
|
|
2818
|
+
const [coordsX, coordsY] = this.getCoords(e);
|
|
2810
2819
|
// Exit if clicked out of axes area
|
|
2811
2820
|
if (!coordsX || !coordsY) {
|
|
2812
2821
|
return;
|
|
@@ -2829,18 +2838,20 @@
|
|
|
2829
2838
|
// eslint-disable-next-line valid-jsdoc
|
|
2830
2839
|
steps: [
|
|
2831
2840
|
function (e, annotation) {
|
|
2832
|
-
const mockPointOpts = annotation.options.typeOptions.points, x = mockPointOpts && mockPointOpts[0].x,
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2841
|
+
const mockPointOpts = annotation.options.typeOptions.points, x = mockPointOpts && mockPointOpts[0].x, [coordsX, coordsY] = this.getCoords(e);
|
|
2842
|
+
if (coordsX && coordsY) {
|
|
2843
|
+
annotation.update({
|
|
2844
|
+
typeOptions: {
|
|
2845
|
+
xAxis: coordsX.axis.index,
|
|
2846
|
+
yAxis: coordsY.axis.index,
|
|
2847
|
+
points: [{
|
|
2848
|
+
x: x
|
|
2849
|
+
}, {
|
|
2850
|
+
x: coordsX.value
|
|
2851
|
+
}]
|
|
2852
|
+
}
|
|
2853
|
+
});
|
|
2854
|
+
}
|
|
2844
2855
|
}
|
|
2845
2856
|
]
|
|
2846
2857
|
},
|
|
@@ -3873,6 +3884,7 @@
|
|
|
3873
3884
|
*/
|
|
3874
3885
|
definitions: {
|
|
3875
3886
|
separator: {
|
|
3887
|
+
elementType: 'span',
|
|
3876
3888
|
/**
|
|
3877
3889
|
* A predefined background symbol for the button.
|
|
3878
3890
|
*/
|
|
@@ -4232,7 +4244,7 @@
|
|
|
4232
4244
|
},
|
|
4233
4245
|
timeCycles: {
|
|
4234
4246
|
/**
|
|
4235
|
-
* A predefined
|
|
4247
|
+
* A predefined background symbol for the button.
|
|
4236
4248
|
*
|
|
4237
4249
|
* @type {string}
|
|
4238
4250
|
*/
|
|
@@ -4448,7 +4460,7 @@
|
|
|
4448
4460
|
|
|
4449
4461
|
return StockToolsDefaults;
|
|
4450
4462
|
});
|
|
4451
|
-
_registerModule(_modules, 'Stock/StockTools/StockTools.js', [_modules['Core/Defaults.js'], _modules['
|
|
4463
|
+
_registerModule(_modules, 'Stock/StockTools/StockTools.js', [_modules['Core/Defaults.js'], _modules['Extensions/Annotations/NavigationBindingsUtilities.js'], _modules['Stock/StockTools/StockToolsBindings.js'], _modules['Stock/StockTools/StockToolsDefaults.js'], _modules['Stock/StockTools/StockToolsUtilities.js'], _modules['Core/Utilities.js']], function (D, NBU, StockToolsBindings, StockToolsDefaults, STU, U) {
|
|
4452
4464
|
/**
|
|
4453
4465
|
*
|
|
4454
4466
|
* Events generator for Stock tools
|
|
@@ -4461,10 +4473,9 @@
|
|
|
4461
4473
|
*
|
|
4462
4474
|
* */
|
|
4463
4475
|
const { setOptions } = D;
|
|
4464
|
-
const { composed } = H;
|
|
4465
4476
|
const { getAssignedAxis } = NBU;
|
|
4466
4477
|
const { isNotNavigatorYAxis, isPriceIndicatorEnabled } = STU;
|
|
4467
|
-
const { correctFloat, defined, isNumber, pick
|
|
4478
|
+
const { correctFloat, defined, isNumber, pick } = U;
|
|
4468
4479
|
/* *
|
|
4469
4480
|
*
|
|
4470
4481
|
* Functions
|
|
@@ -4474,21 +4485,20 @@
|
|
|
4474
4485
|
* @private
|
|
4475
4486
|
*/
|
|
4476
4487
|
function compose(NavigationBindingsClass) {
|
|
4477
|
-
|
|
4478
|
-
|
|
4488
|
+
const navigationProto = NavigationBindingsClass.prototype;
|
|
4489
|
+
if (!navigationProto.utils?.manageIndicators) {
|
|
4479
4490
|
// Extends NavigationBindings to support indicators and resizers:
|
|
4480
4491
|
navigationProto.getYAxisPositions = navigationGetYAxisPositions;
|
|
4481
4492
|
navigationProto.getYAxisResizers = navigationGetYAxisResizers;
|
|
4482
4493
|
navigationProto.recalculateYAxisPositions =
|
|
4483
4494
|
navigationRecalculateYAxisPositions;
|
|
4484
4495
|
navigationProto.resizeYAxes = navigationResizeYAxes;
|
|
4485
|
-
navigationProto.utils = {
|
|
4486
|
-
|
|
4487
|
-
|
|
4488
|
-
|
|
4489
|
-
|
|
4490
|
-
|
|
4491
|
-
};
|
|
4496
|
+
navigationProto.utils = navigationProto.utils || {};
|
|
4497
|
+
navigationProto.utils.indicatorsWithAxes = STU.indicatorsWithAxes;
|
|
4498
|
+
navigationProto.utils.indicatorsWithVolume = STU.indicatorsWithVolume;
|
|
4499
|
+
navigationProto.utils.getAssignedAxis = getAssignedAxis;
|
|
4500
|
+
navigationProto.utils.isPriceIndicatorEnabled = isPriceIndicatorEnabled;
|
|
4501
|
+
navigationProto.utils.manageIndicators = STU.manageIndicators;
|
|
4492
4502
|
setOptions(StockToolsDefaults);
|
|
4493
4503
|
setOptions({
|
|
4494
4504
|
navigation: {
|
|
@@ -4642,7 +4652,7 @@
|
|
|
4642
4652
|
* axes it is placed there. If not, current plot area is scaled
|
|
4643
4653
|
* to make room for new axis.
|
|
4644
4654
|
*
|
|
4645
|
-
* If axis is removed, the current plot area
|
|
4655
|
+
* If axis is removed, the current plot area stretches to fit into 100%
|
|
4646
4656
|
* of the plot area.
|
|
4647
4657
|
*
|
|
4648
4658
|
* @private
|
|
@@ -4883,7 +4893,7 @@
|
|
|
4883
4893
|
});
|
|
4884
4894
|
}
|
|
4885
4895
|
/**
|
|
4886
|
-
* Create single button. Consist of HTML elements `li`, `
|
|
4896
|
+
* Create single button. Consist of HTML elements `li`, `button`, and (if
|
|
4887
4897
|
* exists) submenu container.
|
|
4888
4898
|
*
|
|
4889
4899
|
* @private
|
|
@@ -4911,13 +4921,14 @@
|
|
|
4911
4921
|
title: lang[btnName] || btnName
|
|
4912
4922
|
}, void 0, target);
|
|
4913
4923
|
// single button
|
|
4914
|
-
const
|
|
4924
|
+
const elementType = (btnOptions.elementType || 'button');
|
|
4925
|
+
const mainButton = createElement(elementType, {
|
|
4915
4926
|
className: 'highcharts-menu-item-btn'
|
|
4916
4927
|
}, void 0, buttonWrapper);
|
|
4917
4928
|
// submenu
|
|
4918
4929
|
if (items && items.length) {
|
|
4919
4930
|
// arrow is a hook to show / hide submenu
|
|
4920
|
-
const submenuArrow = createElement('
|
|
4931
|
+
const submenuArrow = createElement('button', {
|
|
4921
4932
|
className: 'highcharts-submenu-item-arrow ' +
|
|
4922
4933
|
'highcharts-arrow-right'
|
|
4923
4934
|
}, void 0, buttonWrapper);
|
|
@@ -5004,7 +5015,7 @@
|
|
|
5004
5015
|
].forEach((eventType) => {
|
|
5005
5016
|
addEvent(wrapper, eventType, (e) => e.stopPropagation());
|
|
5006
5017
|
});
|
|
5007
|
-
addEvent(wrapper, 'mouseover', (e) => chart.pointer
|
|
5018
|
+
addEvent(wrapper, 'mouseover', (e) => chart.pointer?.onContainerMouseLeave(e));
|
|
5008
5019
|
// toolbar
|
|
5009
5020
|
this.toolbar = toolbar = createElement('ul', {
|
|
5010
5021
|
className: 'highcharts-stocktools-toolbar ' +
|
|
@@ -5179,7 +5190,7 @@
|
|
|
5179
5190
|
getIconsURL() {
|
|
5180
5191
|
return this.chart.options.navigation.iconsURL ||
|
|
5181
5192
|
this.options.iconsURL ||
|
|
5182
|
-
'https://code.highcharts.com/11.
|
|
5193
|
+
'https://code.highcharts.com/11.4.0/gfx/stock-icons/';
|
|
5183
5194
|
}
|
|
5184
5195
|
}
|
|
5185
5196
|
Toolbar.prototype.classMapping = {
|
|
@@ -5238,7 +5249,7 @@
|
|
|
5238
5249
|
|
|
5239
5250
|
return Toolbar;
|
|
5240
5251
|
});
|
|
5241
|
-
_registerModule(_modules, 'Stock/StockTools/StockToolsGui.js', [_modules['Core/Defaults.js'], _modules['
|
|
5252
|
+
_registerModule(_modules, 'Stock/StockTools/StockToolsGui.js', [_modules['Core/Defaults.js'], _modules['Stock/StockTools/StockToolsDefaults.js'], _modules['Stock/StockTools/StockToolbar.js'], _modules['Core/Utilities.js']], function (D, StockToolsDefaults, Toolbar, U) {
|
|
5242
5253
|
/* *
|
|
5243
5254
|
*
|
|
5244
5255
|
* GUI generator for Stock tools
|
|
@@ -5251,8 +5262,7 @@
|
|
|
5251
5262
|
*
|
|
5252
5263
|
* */
|
|
5253
5264
|
const { setOptions } = D;
|
|
5254
|
-
const {
|
|
5255
|
-
const { addEvent, getStyle, merge, pick, pushUnique } = U;
|
|
5265
|
+
const { addEvent, getStyle, merge, pick } = U;
|
|
5256
5266
|
/* *
|
|
5257
5267
|
*
|
|
5258
5268
|
* Functions
|
|
@@ -5273,7 +5283,8 @@
|
|
|
5273
5283
|
* @private
|
|
5274
5284
|
*/
|
|
5275
5285
|
function compose(ChartClass, NavigationBindingsClass) {
|
|
5276
|
-
|
|
5286
|
+
const chartProto = ChartClass.prototype;
|
|
5287
|
+
if (!chartProto.setStockTools) {
|
|
5277
5288
|
addEvent(ChartClass, 'afterGetContainer', onChartAfterGetContainer);
|
|
5278
5289
|
addEvent(ChartClass, 'beforeRedraw', onChartBeforeRedraw);
|
|
5279
5290
|
addEvent(ChartClass, 'beforeRender', onChartBeforeRedraw);
|
|
@@ -5281,7 +5292,7 @@
|
|
|
5281
5292
|
addEvent(ChartClass, 'getMargins', onChartGetMargins, { order: 0 });
|
|
5282
5293
|
addEvent(ChartClass, 'redraw', onChartRedraw);
|
|
5283
5294
|
addEvent(ChartClass, 'render', onChartRender);
|
|
5284
|
-
|
|
5295
|
+
chartProto.setStockTools = chartSetStockTools;
|
|
5285
5296
|
addEvent(NavigationBindingsClass, 'deselectButton', onNavigationBindingsDeselectButton);
|
|
5286
5297
|
addEvent(NavigationBindingsClass, 'selectButton', onNavigationBindingsSelectButton);
|
|
5287
5298
|
setOptions(StockToolsDefaults);
|
|
@@ -5364,8 +5375,8 @@
|
|
|
5364
5375
|
this.navigationBindings &&
|
|
5365
5376
|
this.options.series &&
|
|
5366
5377
|
button) {
|
|
5367
|
-
if (this.navigationBindings.
|
|
5368
|
-
|
|
5378
|
+
if (this.navigationBindings.utils
|
|
5379
|
+
?.isPriceIndicatorEnabled?.(this.series)) {
|
|
5369
5380
|
button.firstChild.style['background-image'] =
|
|
5370
5381
|
'url("' + stockTools.getIconsURL() + 'current-price-hide.svg")';
|
|
5371
5382
|
}
|
|
@@ -5398,7 +5409,7 @@
|
|
|
5398
5409
|
const className = 'highcharts-submenu-wrapper', gui = this.chart.stockTools;
|
|
5399
5410
|
if (gui && gui.guiEnabled) {
|
|
5400
5411
|
let button = event.button;
|
|
5401
|
-
//
|
|
5412
|
+
// Unselect other active buttons
|
|
5402
5413
|
gui.unselectAllButtons(event.button);
|
|
5403
5414
|
// If clicked on a submenu, select state for it's parent
|
|
5404
5415
|
if (button.parentNode.className.indexOf(className) >= 0) {
|
|
@@ -5422,9 +5433,11 @@
|
|
|
5422
5433
|
_registerModule(_modules, 'masters/modules/stock-tools.src.js', [_modules['Core/Globals.js'], _modules['Extensions/Annotations/NavigationBindings.js'], _modules['Stock/StockTools/StockTools.js'], _modules['Stock/StockTools/StockToolsGui.js'], _modules['Stock/StockTools/StockToolbar.js']], function (Highcharts, NavigationBindings, StockTools, StockToolsGui, Toolbar) {
|
|
5423
5434
|
|
|
5424
5435
|
const G = Highcharts;
|
|
5436
|
+
G.NavigationBindings = G.NavigationBindings || NavigationBindings;
|
|
5425
5437
|
G.Toolbar = Toolbar;
|
|
5426
|
-
StockTools.compose(NavigationBindings);
|
|
5427
|
-
StockToolsGui.compose(G.Chart, NavigationBindings);
|
|
5438
|
+
StockTools.compose(G.NavigationBindings);
|
|
5439
|
+
StockToolsGui.compose(G.Chart, G.NavigationBindings);
|
|
5428
5440
|
|
|
5441
|
+
return Highcharts;
|
|
5429
5442
|
});
|
|
5430
5443
|
}));
|
package/modules/stock.d.ts
CHANGED
|
@@ -136,7 +136,7 @@ approximation?: (string|Function)): DataGroupingResultObject;
|
|
|
136
136
|
* Custom options.
|
|
137
137
|
*
|
|
138
138
|
* @param callback
|
|
139
|
-
* Function to run when the chart has loaded and
|
|
139
|
+
* Function to run when the chart has loaded and all external
|
|
140
140
|
* images are loaded.
|
|
141
141
|
*
|
|
142
142
|
* @fires Highcharts.StockChart#init
|