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
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
'use strict';
|
|
15
15
|
import SVGElement3DFunnel from './SVGElement3DFunnel.js';
|
|
16
16
|
import H from '../../Core/Globals.js';
|
|
17
|
-
const { charts
|
|
17
|
+
const { charts } = H;
|
|
18
18
|
import U from '../../Core/Utilities.js';
|
|
19
|
-
const { error, extend, merge
|
|
19
|
+
const { error, extend, merge } = U;
|
|
20
20
|
/* *
|
|
21
21
|
*
|
|
22
22
|
* Functions
|
|
@@ -24,8 +24,8 @@ const { error, extend, merge, pushUnique } = U;
|
|
|
24
24
|
* */
|
|
25
25
|
/** @private */
|
|
26
26
|
function compose(SVGRendererClass) {
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
const rendererProto = SVGRendererClass.prototype;
|
|
28
|
+
if (!rendererProto.funnel3d) {
|
|
29
29
|
rendererProto.Element3D.types.funnel3d = SVGElement3DFunnel;
|
|
30
30
|
extend(rendererProto, {
|
|
31
31
|
funnel3d: rendererFunnel3d,
|
|
@@ -41,7 +41,7 @@ function rendererFunnel3d(shapeArgs) {
|
|
|
41
41
|
'stroke-width': 1,
|
|
42
42
|
stroke: 'none'
|
|
43
43
|
};
|
|
44
|
-
// create groups for sides for
|
|
44
|
+
// create groups for sides for opacity setter
|
|
45
45
|
funnel3d.upperGroup = renderer.g('funnel3d-upper-group').attr({
|
|
46
46
|
zIndex: funnel3d.frontUpper.zIndex
|
|
47
47
|
}).add(funnel3d);
|
|
@@ -78,7 +78,7 @@ function rendererFunnel3dPath(shapeArgs) {
|
|
|
78
78
|
// based on alpha, selected through visual tests
|
|
79
79
|
alphaCorrection = shapeArgs.alphaCorrection = 90 - Math.abs((chart.options.chart.options3d.alpha % 180) -
|
|
80
80
|
90),
|
|
81
|
-
// set zIndexes of parts based on
|
|
81
|
+
// set zIndexes of parts based on cuboid logic, for
|
|
82
82
|
// consistency
|
|
83
83
|
cuboidData = this.cuboidPath.call(renderer, merge(shapeArgs, {
|
|
84
84
|
depth: shapeArgs.width,
|
|
@@ -79,7 +79,7 @@ const Funnel3DSeriesDefaults = {
|
|
|
79
79
|
*/
|
|
80
80
|
reversed: false,
|
|
81
81
|
/**
|
|
82
|
-
* By
|
|
82
|
+
* By default sides fill is set to a gradient through this option being
|
|
83
83
|
* set to `true`. Set to `false` to get solid color for the sides.
|
|
84
84
|
*
|
|
85
85
|
* @product highcharts
|
|
@@ -160,7 +160,7 @@ const Funnel3DSeriesDefaults = {
|
|
|
160
160
|
* @apioption series.funnel3d.data
|
|
161
161
|
*/
|
|
162
162
|
/**
|
|
163
|
-
* By
|
|
163
|
+
* By default sides fill is set to a gradient through this option being
|
|
164
164
|
* set to `true`. Set to `false` to get solid color for the sides.
|
|
165
165
|
*
|
|
166
166
|
* @type {boolean}
|
|
@@ -55,7 +55,7 @@ class SVGElement3DFunnel extends SVGElement3D {
|
|
|
55
55
|
*
|
|
56
56
|
* */
|
|
57
57
|
// override opacity and color setters to control opacity
|
|
58
|
-
opacitySetter(value
|
|
58
|
+
opacitySetter(value) {
|
|
59
59
|
const funnel3d = this, opacity = parseFloat(value), parts = funnel3d.parts, chart = charts[funnel3d.renderer.chartIndex], filterId = 'group-opacity-' + opacity + '-' + chart.index;
|
|
60
60
|
// use default for top and bottom
|
|
61
61
|
funnel3d.parts = funnel3d.mainParts;
|
|
@@ -282,7 +282,7 @@ class GeoHeatmapSeries extends MapSeries {
|
|
|
282
282
|
chart.tooltip.options.enabled) {
|
|
283
283
|
if (
|
|
284
284
|
// If user drags map do not build k-d-tree
|
|
285
|
-
chart.pointer.hasDragged
|
|
285
|
+
!chart.pointer.hasDragged &&
|
|
286
286
|
// If user zooms in/out map do not build k-d-tree
|
|
287
287
|
(+series.image.attr('animator') <= 0.01 ||
|
|
288
288
|
+series.image.attr('animator') >= 0.99)) {
|
|
@@ -414,11 +414,11 @@ GeoHeatmapSeries.defaultOptions = merge(MapSeries.defaultOptions, {
|
|
|
414
414
|
/**
|
|
415
415
|
* Represents how much blur should be added to the interpolated
|
|
416
416
|
* image. Works best in the range of 0-1, all higher values
|
|
417
|
-
* would need a lot more
|
|
417
|
+
* would need a lot more performance of the machine to calculate
|
|
418
418
|
* more detailed interpolation.
|
|
419
419
|
*
|
|
420
420
|
* * **Note:** Useful, if the data is spread into wide range of
|
|
421
|
-
*
|
|
421
|
+
* longitude and latitude values.
|
|
422
422
|
*
|
|
423
423
|
* @sample maps/series-geoheatmap/turkey-fire-areas
|
|
424
424
|
* Simple demo of GeoHeatmap interpolation
|
|
@@ -515,7 +515,7 @@ export default GeoHeatmapSeries;
|
|
|
515
515
|
* @apioption series.geoheatmap.data.color
|
|
516
516
|
*/
|
|
517
517
|
/**
|
|
518
|
-
* The value of the point, resulting in a color
|
|
518
|
+
* The value of the point, resulting in a color controlled by options
|
|
519
519
|
* as set in the [colorAxis](#colorAxis) configuration.
|
|
520
520
|
*
|
|
521
521
|
* @type {number|null}
|
|
@@ -534,7 +534,7 @@ export default GeoHeatmapSeries;
|
|
|
534
534
|
*/ /**
|
|
535
535
|
* Represents how much blur should be added to the interpolated
|
|
536
536
|
* image. Works best in the range of 0-1, all higher values
|
|
537
|
-
* would need a lot more
|
|
537
|
+
* would need a lot more performance of the machine to calculate
|
|
538
538
|
* more detailed interpolation.
|
|
539
539
|
*
|
|
540
540
|
* @name Highcharts.InterpolationOptionsObject#blur
|
|
@@ -32,7 +32,7 @@ const layouts = {};
|
|
|
32
32
|
* @private
|
|
33
33
|
*/
|
|
34
34
|
function compose(ChartClass) {
|
|
35
|
-
if (pushUnique(composed,
|
|
35
|
+
if (pushUnique(composed, 'GraphLayout')) {
|
|
36
36
|
addEvent(ChartClass, 'afterPrint', onChartAfterPrint);
|
|
37
37
|
addEvent(ChartClass, 'beforePrint', onChartBeforePrint);
|
|
38
38
|
addEvent(ChartClass, 'predraw', onChartPredraw);
|
|
@@ -312,7 +312,7 @@ export default HeatmapSeries;
|
|
|
312
312
|
*/
|
|
313
313
|
/**
|
|
314
314
|
* Heatmap series only. The value of the point, resulting in a color
|
|
315
|
-
*
|
|
315
|
+
* controlled by options as set in the colorAxis configuration.
|
|
316
316
|
* @name Highcharts.Point#value
|
|
317
317
|
* @type {number|null|undefined}
|
|
318
318
|
*/
|
|
@@ -323,7 +323,7 @@ export default HeatmapSeries;
|
|
|
323
323
|
* @name Highcharts.PointOptionsObject#pointPadding
|
|
324
324
|
* @type {number|undefined}
|
|
325
325
|
*/ /**
|
|
326
|
-
* Heatmap series only. The value of the point, resulting in a color
|
|
326
|
+
* Heatmap series only. The value of the point, resulting in a color controlled
|
|
327
327
|
* by options as set in the colorAxis configuration.
|
|
328
328
|
* @name Highcharts.PointOptionsObject#value
|
|
329
329
|
* @type {number|null|undefined}
|
|
@@ -382,7 +382,7 @@ const HeatmapSeriesDefaults = {
|
|
|
382
382
|
* @apioption series.heatmap.data.color
|
|
383
383
|
*/
|
|
384
384
|
/**
|
|
385
|
-
* The value of the point, resulting in a color
|
|
385
|
+
* The value of the point, resulting in a color controlled by options
|
|
386
386
|
* as set in the [colorAxis](#colorAxis) configuration.
|
|
387
387
|
*
|
|
388
388
|
* @type {number}
|
|
@@ -9,7 +9,9 @@
|
|
|
9
9
|
* */
|
|
10
10
|
'use strict';
|
|
11
11
|
import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
|
|
12
|
-
const { candlestick: { prototype: { pointClass: CandlestickPoint } }, hlc: { prototype: {
|
|
12
|
+
const { candlestick: { prototype: { pointClass: CandlestickPoint } }, hlc: { prototype: {
|
|
13
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
14
|
+
pointClass: HLCPoint } } } = SeriesRegistry.seriesTypes;
|
|
13
15
|
/* *
|
|
14
16
|
*
|
|
15
17
|
* Class
|
|
@@ -43,7 +43,7 @@ function onAxisPostProcessData() {
|
|
|
43
43
|
*/
|
|
44
44
|
function onHeikinAshiSeriesAfterTranslate() {
|
|
45
45
|
const series = this, points = series.points, heikiashiData = series.heikiashiData, cropStart = series.cropStart || 0;
|
|
46
|
-
// Reset the
|
|
46
|
+
// Reset the processed data.
|
|
47
47
|
series.processedYData.length = 0;
|
|
48
48
|
// Modify points.
|
|
49
49
|
for (let i = 0; i < points.length; i++) {
|
|
@@ -93,9 +93,9 @@ class HeikinAshiSeries extends CandlestickSeries {
|
|
|
93
93
|
* Static Functions
|
|
94
94
|
*
|
|
95
95
|
* */
|
|
96
|
-
static compose(SeriesClass, AxisClass
|
|
96
|
+
static compose(SeriesClass, AxisClass) {
|
|
97
97
|
CandlestickSeries.compose(SeriesClass);
|
|
98
|
-
if (pushUnique(composed,
|
|
98
|
+
if (pushUnique(composed, 'HeikinAshi')) {
|
|
99
99
|
addEvent(AxisClass, 'postProcessData', onAxisPostProcessData);
|
|
100
100
|
addEvent(HeikinAshiSeries, 'afterTranslate', onHeikinAshiSeriesAfterTranslate);
|
|
101
101
|
addEvent(HeikinAshiSeries, 'updatedData', onHeikinAshiSeriesUpdatedData);
|
|
@@ -115,7 +115,7 @@ class HollowCandlestickSeries extends CandlestickSeries {
|
|
|
115
115
|
}
|
|
116
116
|
/**
|
|
117
117
|
* @private
|
|
118
|
-
* @function
|
|
118
|
+
* @function Highcharts.seriesTypes.hollowcandlestick#init
|
|
119
119
|
*/
|
|
120
120
|
init() {
|
|
121
121
|
super.init.apply(this, arguments);
|
|
@@ -338,4 +338,4 @@ export default HollowCandlestickSeries;
|
|
|
338
338
|
* @product highstock
|
|
339
339
|
* @apioption series.hollowcandlestick.data
|
|
340
340
|
*/
|
|
341
|
-
''; // adds doclets above to
|
|
341
|
+
''; // adds doclets above to transpiled
|
|
@@ -157,7 +157,7 @@ class ItemSeries extends PieSeries {
|
|
|
157
157
|
if (!graphic.isActive) {
|
|
158
158
|
graphic.destroy();
|
|
159
159
|
graphics.splice(j, 1);
|
|
160
|
-
j--; // Need to
|
|
160
|
+
j--; // Need to subtract 1 after splice, #19053
|
|
161
161
|
}
|
|
162
162
|
else {
|
|
163
163
|
graphic.isActive = false;
|
|
@@ -11,7 +11,9 @@
|
|
|
11
11
|
import LollipopPoint from './LollipopPoint.js';
|
|
12
12
|
import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
|
|
13
13
|
import Series from '../../Core/Series/Series.js';
|
|
14
|
-
const { seriesTypes: { column: { prototype: colProto }, dumbbell: { prototype: dumbbellProto },
|
|
14
|
+
const { seriesTypes: { column: { prototype: colProto }, dumbbell: { prototype: dumbbellProto },
|
|
15
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
16
|
+
scatter: ScatterSeries } } = SeriesRegistry;
|
|
15
17
|
import U from '../../Core/Utilities.js';
|
|
16
18
|
const { extend, merge } = U;
|
|
17
19
|
/* *
|
|
@@ -60,7 +60,11 @@ class MapPoint extends ScatterPoint {
|
|
|
60
60
|
const joinKey = joinBy[1], mapKey = super.getNestedProperty(joinKey), mapPoint = typeof mapKey !== 'undefined' &&
|
|
61
61
|
series.mapMap[mapKey];
|
|
62
62
|
if (mapPoint) {
|
|
63
|
-
|
|
63
|
+
// Copy over properties; #20231 prioritize point.name
|
|
64
|
+
extend(point, {
|
|
65
|
+
...mapPoint,
|
|
66
|
+
name: point.name ?? mapPoint.name
|
|
67
|
+
});
|
|
64
68
|
}
|
|
65
69
|
else if (series.pointArrayMap.indexOf('value') !== -1) {
|
|
66
70
|
point.value = point.value || null;
|
|
@@ -133,7 +133,7 @@ class MapSeries extends ScatterSeries {
|
|
|
133
133
|
if (this.doFullTranslate()) {
|
|
134
134
|
// Individual point actions.
|
|
135
135
|
this.points.forEach((point) => {
|
|
136
|
-
const { graphic
|
|
136
|
+
const { graphic } = point;
|
|
137
137
|
// Points should be added in the corresponding transform group
|
|
138
138
|
point.group = transformGroups[typeof point.insetIndex === 'number' ?
|
|
139
139
|
point.insetIndex + 1 :
|
|
@@ -169,6 +169,13 @@ class MapSeries extends ScatterSeries {
|
|
|
169
169
|
if (chart.styledMode) {
|
|
170
170
|
graphic.css(this.pointAttribs(point, point.selected && 'select' || void 0));
|
|
171
171
|
}
|
|
172
|
+
// If the map point is not visible and is not null (e.g.
|
|
173
|
+
// hidden by data classes), then the point should be
|
|
174
|
+
// visible, but without value
|
|
175
|
+
graphic.attr({
|
|
176
|
+
visibility: (point.visible ||
|
|
177
|
+
(!point.visible && !point.isNull)) ? 'inherit' : 'hidden'
|
|
178
|
+
});
|
|
172
179
|
graphic.animate = function (params, options, complete) {
|
|
173
180
|
const animateIn = (isNumber(params['stroke-width']) &&
|
|
174
181
|
!isNumber(graphic['stroke-width'])), animateOut = (isNumber(graphic['stroke-width']) &&
|
|
@@ -294,7 +301,7 @@ class MapSeries extends ScatterSeries {
|
|
|
294
301
|
// Find the bounding box of each point
|
|
295
302
|
(this.points || []).forEach((point) => {
|
|
296
303
|
if (point.path || point.geometry) {
|
|
297
|
-
// @todo Try to
|
|
304
|
+
// @todo Try to put these two conversions in
|
|
298
305
|
// MapPoint.applyOptions
|
|
299
306
|
if (typeof point.path === 'string') {
|
|
300
307
|
point.path = splitPath(point.path);
|
|
@@ -638,16 +645,34 @@ class MapSeries extends ScatterSeries {
|
|
|
638
645
|
d: MapPoint.getProjectedPath(point, projection)
|
|
639
646
|
};
|
|
640
647
|
}
|
|
641
|
-
if (
|
|
642
|
-
point.
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
point.
|
|
648
|
+
if (!point.hiddenInDataClass) { // #20441
|
|
649
|
+
if (point.projectedPath && !point.projectedPath.length) {
|
|
650
|
+
point.setVisible(false);
|
|
651
|
+
}
|
|
652
|
+
else if (!point.visible) {
|
|
653
|
+
point.setVisible(true);
|
|
654
|
+
}
|
|
646
655
|
}
|
|
647
656
|
});
|
|
648
657
|
}
|
|
649
658
|
fireEvent(series, 'afterTranslate');
|
|
650
659
|
}
|
|
660
|
+
update(options) {
|
|
661
|
+
// Calculate and set the recommended map view after every series update
|
|
662
|
+
// if new mapData is set
|
|
663
|
+
if (options.mapData) {
|
|
664
|
+
this.chart.mapView?.recommendMapView(this.chart, [
|
|
665
|
+
this.chart.options.chart.map,
|
|
666
|
+
...(this.chart.options.series || []).map((s, i) => {
|
|
667
|
+
if (i === this._i) {
|
|
668
|
+
return options.mapData;
|
|
669
|
+
}
|
|
670
|
+
return s.mapData;
|
|
671
|
+
})
|
|
672
|
+
], true);
|
|
673
|
+
}
|
|
674
|
+
super.update.apply(this, arguments);
|
|
675
|
+
}
|
|
651
676
|
}
|
|
652
677
|
MapSeries.defaultOptions = merge(ScatterSeries.defaultOptions, MapSeriesDefaults);
|
|
653
678
|
extend(MapSeries.prototype, {
|
|
@@ -48,7 +48,9 @@ const MapSeriesDefaults = {
|
|
|
48
48
|
formatter: function () {
|
|
49
49
|
const { numberFormatter } = this.series.chart;
|
|
50
50
|
const { value } = this.point;
|
|
51
|
-
return isNumber(value) ?
|
|
51
|
+
return isNumber(value) ?
|
|
52
|
+
numberFormatter(value, -1) :
|
|
53
|
+
this.point.name; // #20231
|
|
52
54
|
},
|
|
53
55
|
inside: true,
|
|
54
56
|
overflow: false,
|
|
@@ -272,7 +274,7 @@ const MapSeriesDefaults = {
|
|
|
272
274
|
select: {
|
|
273
275
|
/**
|
|
274
276
|
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
|
|
275
|
-
* @default
|
|
277
|
+
* @default ${palette.neutralColor20}
|
|
276
278
|
* @product highmaps
|
|
277
279
|
* @apioption plotOptions.series.states.select.color
|
|
278
280
|
*/
|
|
@@ -516,7 +518,7 @@ const MapSeriesDefaults = {
|
|
|
516
518
|
*/
|
|
517
519
|
/**
|
|
518
520
|
* For map and mapline series types, the SVG path for the shape. For
|
|
519
|
-
*
|
|
521
|
+
* compatibility with old IE, not all SVG path definitions are supported,
|
|
520
522
|
* but M, L and C operators are safe.
|
|
521
523
|
*
|
|
522
524
|
* To achieve a better separation between the structure and the data,
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
* @param {Highcharts.Point} link
|
|
26
26
|
* Link that connects two nodes
|
|
27
27
|
* @param {number} force
|
|
28
|
-
* Force
|
|
28
|
+
* Force calculated in `repulsiveForceFunction`
|
|
29
29
|
* @param {Highcharts.PositionObject} distanceXY
|
|
30
30
|
* Distance between two nodes e.g. `{x, y}`
|
|
31
31
|
* @param {number} distanceR
|
|
@@ -46,7 +46,7 @@ function attractive(link, force, distanceXY, distanceR) {
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
/**
|
|
49
|
-
* Attractive force
|
|
49
|
+
* Attractive force function. Can be replaced by API's
|
|
50
50
|
* `layoutAlgorithm.attractiveForce`
|
|
51
51
|
*
|
|
52
52
|
* Other forces that can be used:
|
|
@@ -86,7 +86,7 @@ function barycenter() {
|
|
|
86
86
|
});
|
|
87
87
|
}
|
|
88
88
|
/**
|
|
89
|
-
*
|
|
89
|
+
* Estimate the best possible distance between two nodes, making graph
|
|
90
90
|
* readable.
|
|
91
91
|
* @private
|
|
92
92
|
*/
|
|
@@ -149,7 +149,7 @@ function integrate(layout, node) {
|
|
|
149
149
|
* @param {Highcharts.Point} node
|
|
150
150
|
* Node that should be translated by force.
|
|
151
151
|
* @param {number} force
|
|
152
|
-
* Force
|
|
152
|
+
* Force calculated in `repulsiveForceFunction`
|
|
153
153
|
* @param {Highcharts.PositionObject} distanceXY
|
|
154
154
|
* Distance between two nodes e.g. `{x, y}`
|
|
155
155
|
*/
|
|
@@ -160,7 +160,7 @@ function repulsive(node, force, distanceXY, distanceR) {
|
|
|
160
160
|
(distanceXY.y / distanceR) * force / node.degree;
|
|
161
161
|
}
|
|
162
162
|
/**
|
|
163
|
-
* Repulsive force
|
|
163
|
+
* Repulsive force function. Can be replaced by API's
|
|
164
164
|
* `layoutAlgorithm.repulsiveForce`.
|
|
165
165
|
*
|
|
166
166
|
* Other forces that can be used:
|
|
@@ -107,7 +107,7 @@ class NetworkgraphSeries extends Series {
|
|
|
107
107
|
NodesComposition.destroy.call(this);
|
|
108
108
|
}
|
|
109
109
|
/**
|
|
110
|
-
* Networkgraph has two separate
|
|
110
|
+
* Networkgraph has two separate collections of nodes and lines, render
|
|
111
111
|
* dataLabels for both sets:
|
|
112
112
|
* @private
|
|
113
113
|
*/
|
|
@@ -143,7 +143,7 @@ class NetworkgraphSeries extends Series {
|
|
|
143
143
|
generatePoints() {
|
|
144
144
|
let node, i;
|
|
145
145
|
NodesComposition.generatePoints.apply(this, arguments);
|
|
146
|
-
// In networkgraph, it's fine to define
|
|
146
|
+
// In networkgraph, it's fine to define standalone nodes, create
|
|
147
147
|
// them:
|
|
148
148
|
if (this.options.nodes) {
|
|
149
149
|
this.options.nodes.forEach(function (nodeOptions) {
|
|
@@ -400,9 +400,9 @@ export default NetworkgraphSeries;
|
|
|
400
400
|
* @callback Highcharts.NetworkgraphAfterSimulationCallbackFunction
|
|
401
401
|
*
|
|
402
402
|
* @param {Highcharts.Series} this
|
|
403
|
-
* The series where the event
|
|
403
|
+
* The series where the event occurred.
|
|
404
404
|
*
|
|
405
405
|
* @param {global.Event} event
|
|
406
|
-
* The event that
|
|
406
|
+
* The event that occurred.
|
|
407
407
|
*/
|
|
408
408
|
''; // detach doclets above
|
|
@@ -73,7 +73,7 @@ const NetworkgraphSeriesDefaults = {
|
|
|
73
73
|
states: {
|
|
74
74
|
/**
|
|
75
75
|
* The opposite state of a hover for a single point link. Applied
|
|
76
|
-
* to all links that are not
|
|
76
|
+
* to all links that are not coming from the hovered node.
|
|
77
77
|
*
|
|
78
78
|
* @declare Highcharts.SeriesStatesInactiveOptionsObject
|
|
79
79
|
*/
|
|
@@ -300,7 +300,7 @@ const NetworkgraphSeriesDefaults = {
|
|
|
300
300
|
/**
|
|
301
301
|
* Barnes-Hut approximation only.
|
|
302
302
|
* Deteremines when distance between cell and node is small enough
|
|
303
|
-
* to
|
|
303
|
+
* to calculate forces. Value of `theta` is compared directly with
|
|
304
304
|
* quotient `s / d`, where `s` is the size of the cell, and `d` is
|
|
305
305
|
* distance between center of cell's mass and currently compared
|
|
306
306
|
* node.
|
|
@@ -326,7 +326,7 @@ const NetworkgraphSeriesDefaults = {
|
|
|
326
326
|
maxSpeed: 10,
|
|
327
327
|
/**
|
|
328
328
|
* Approximation used to calculate repulsive forces affecting nodes.
|
|
329
|
-
* By default, when
|
|
329
|
+
* By default, when calculating net force, nodes are compared
|
|
330
330
|
* against each other, which gives O(N^2) complexity. Using
|
|
331
331
|
* Barnes-Hut approximation, we decrease this to O(N log N), but the
|
|
332
332
|
* resulting graph will have different layout. Barnes-Hut
|
|
@@ -358,7 +358,7 @@ const NetworkgraphSeriesDefaults = {
|
|
|
358
358
|
* Euler integration, force is applied direct as
|
|
359
359
|
* `newPosition += velocity;`.
|
|
360
360
|
* In Verlet integration, new position is based on a previous
|
|
361
|
-
*
|
|
361
|
+
* position without velocity:
|
|
362
362
|
* `newPosition += previousPosition - newPosition`.
|
|
363
363
|
*
|
|
364
364
|
* Note that different integrations give different results as forces
|
|
@@ -497,7 +497,7 @@ export default NetworkgraphSeriesDefaults;
|
|
|
497
497
|
* @apioption series.networkgraph.nodes
|
|
498
498
|
*/
|
|
499
499
|
/**
|
|
500
|
-
* The id of the auto-generated node,
|
|
500
|
+
* The id of the auto-generated node, referring to the `from` or `to` setting of
|
|
501
501
|
* the link.
|
|
502
502
|
*
|
|
503
503
|
* @type {string}
|
|
@@ -78,7 +78,7 @@ class QuadTree {
|
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
/**
|
|
81
|
-
*
|
|
81
|
+
* Depth first treversal (DFS). Using `before` and `after` callbacks,
|
|
82
82
|
* we can get two results: preorder and postorder traversals, reminder:
|
|
83
83
|
*
|
|
84
84
|
* ```
|
|
@@ -238,7 +238,7 @@ class QuadTreeNode {
|
|
|
238
238
|
updateMassAndCenter() {
|
|
239
239
|
let mass = 0, plotX = 0, plotY = 0;
|
|
240
240
|
if (this.isInternal) {
|
|
241
|
-
//
|
|
241
|
+
// Calculate weightened mass of the quad node:
|
|
242
242
|
for (const pointMass of this.nodes) {
|
|
243
243
|
if (!pointMass.isEmpty) {
|
|
244
244
|
mass += pointMass.mass;
|
|
@@ -18,14 +18,14 @@
|
|
|
18
18
|
/**
|
|
19
19
|
* Attractive force.
|
|
20
20
|
*
|
|
21
|
-
* In Verlet integration, force is applied on a node
|
|
21
|
+
* In Verlet integration, force is applied on a node immediately to it's
|
|
22
22
|
* `plotX` and `plotY` position.
|
|
23
23
|
*
|
|
24
24
|
* @private
|
|
25
25
|
* @param {Highcharts.Point} link
|
|
26
26
|
* Link that connects two nodes
|
|
27
27
|
* @param {number} force
|
|
28
|
-
* Force
|
|
28
|
+
* Force calculated in `repulsiveForceFunction`
|
|
29
29
|
* @param {Highcharts.PositionObject} distance
|
|
30
30
|
* Distance between two nodes e.g. `{x, y}`
|
|
31
31
|
*/
|
|
@@ -45,7 +45,7 @@ function attractive(link, force, distanceXY) {
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
/**
|
|
48
|
-
* Attractive force
|
|
48
|
+
* Attractive force function. Can be replaced by API's
|
|
49
49
|
* `layoutAlgorithm.attractiveForce`
|
|
50
50
|
*
|
|
51
51
|
* @private
|
|
@@ -61,7 +61,7 @@ function attractiveForceFunction(d, k) {
|
|
|
61
61
|
* Barycenter force. Calculate and applys barycenter forces on the
|
|
62
62
|
* nodes. Making them closer to the center of their barycenter point.
|
|
63
63
|
*
|
|
64
|
-
* In Verlet integration, force is applied on a node
|
|
64
|
+
* In Verlet integration, force is applied on a node immediately to it's
|
|
65
65
|
* `plotX` and `plotY` position.
|
|
66
66
|
*
|
|
67
67
|
* @private
|
|
@@ -93,7 +93,7 @@ function getK(layout) {
|
|
|
93
93
|
/**
|
|
94
94
|
* Integration method.
|
|
95
95
|
*
|
|
96
|
-
* In Verlet integration, forces are applied on node
|
|
96
|
+
* In Verlet integration, forces are applied on node immediately to it's
|
|
97
97
|
* `plotX` and `plotY` position.
|
|
98
98
|
*
|
|
99
99
|
* Verlet without velocity:
|
|
@@ -123,7 +123,7 @@ function getK(layout) {
|
|
|
123
123
|
*/
|
|
124
124
|
function integrate(layout, node) {
|
|
125
125
|
let friction = -layout.options.friction, maxSpeed = layout.options.maxSpeed, prevX = node.prevX, prevY = node.prevY,
|
|
126
|
-
// Apply
|
|
126
|
+
// Apply friction:
|
|
127
127
|
diffX = ((node.plotX + node.dispX -
|
|
128
128
|
prevX) * friction), diffY = ((node.plotY + node.dispY -
|
|
129
129
|
prevY) * friction), abs = Math.abs, signX = abs(diffX) / (diffX || 1), // need to deal with 0
|
|
@@ -145,14 +145,14 @@ function integrate(layout, node) {
|
|
|
145
145
|
/**
|
|
146
146
|
* Repulsive force.
|
|
147
147
|
*
|
|
148
|
-
* In Verlet integration, force is applied on a node
|
|
148
|
+
* In Verlet integration, force is applied on a node immediately to it's
|
|
149
149
|
* `plotX` and `plotY` position.
|
|
150
150
|
*
|
|
151
151
|
* @private
|
|
152
152
|
* @param {Highcharts.Point} node
|
|
153
153
|
* Node that should be translated by force.
|
|
154
154
|
* @param {number} force
|
|
155
|
-
* Force
|
|
155
|
+
* Force calculated in `repulsiveForceFunction`
|
|
156
156
|
* @param {Highcharts.PositionObject} distance
|
|
157
157
|
* Distance between two nodes e.g. `{x, y}`
|
|
158
158
|
*/
|
|
@@ -164,7 +164,7 @@ function repulsive(node, force, distanceXY) {
|
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
/**
|
|
167
|
-
* Repulsive force
|
|
167
|
+
* Repulsive force function. Can be replaced by API's
|
|
168
168
|
* `layoutAlgorithm.repulsiveForce`
|
|
169
169
|
*
|
|
170
170
|
* @private
|
|
@@ -70,7 +70,7 @@ class OHLCSeries extends HLCSeries {
|
|
|
70
70
|
*
|
|
71
71
|
* */
|
|
72
72
|
static compose(SeriesClass, ..._args) {
|
|
73
|
-
if (pushUnique(composed,
|
|
73
|
+
if (pushUnique(composed, 'OHLCSeries')) {
|
|
74
74
|
addEvent(SeriesClass, 'afterSetOptions', onSeriesAfterSetOptions);
|
|
75
75
|
addEvent(SeriesClass, 'init', onSeriesInit);
|
|
76
76
|
}
|
|
@@ -37,7 +37,7 @@ var OnSeriesComposition;
|
|
|
37
37
|
* @private
|
|
38
38
|
*/
|
|
39
39
|
function compose(SeriesClass) {
|
|
40
|
-
if (pushUnique(composed,
|
|
40
|
+
if (pushUnique(composed, 'OnSeries')) {
|
|
41
41
|
const seriesProto = SeriesClass.prototype;
|
|
42
42
|
seriesProto.getPlotBox = getPlotBox;
|
|
43
43
|
seriesProto.translate = translate;
|