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
|
@@ -194,9 +194,9 @@ const SunburstSeriesDefaults = {
|
|
|
194
194
|
* `parallel` and `perpendicular`. When `circular`, the best fit
|
|
195
195
|
* will be computed for the point, so that the label is curved
|
|
196
196
|
* around the center when there is room for it, otherwise
|
|
197
|
-
* perpendicular. The legacy `auto` option works
|
|
197
|
+
* perpendicular. The legacy `auto` option works similar to
|
|
198
198
|
* `circular`, but instead of curving the labels they are tangent to
|
|
199
|
-
* the
|
|
199
|
+
* the perimeter.
|
|
200
200
|
*
|
|
201
201
|
* The `rotation` option takes precedence over `rotationMode`.
|
|
202
202
|
*
|
|
@@ -258,7 +258,7 @@ const SunburstSeriesDefaults = {
|
|
|
258
258
|
* - `pixels` gives the ring a fixed width in pixels.
|
|
259
259
|
*
|
|
260
260
|
* - `weight` takes the remaining width after percentage and pixels,
|
|
261
|
-
* and distributes it
|
|
261
|
+
* and distributes it across all "weighted" levels. The value
|
|
262
262
|
* relative to the sum of all weights determines the width.
|
|
263
263
|
*
|
|
264
264
|
* @sample {highcharts} highcharts/plotoptions/sunburst-levelsize/
|
|
@@ -47,7 +47,7 @@ function calculateLevelSizes(levelOptions, params) {
|
|
|
47
47
|
p.diffRadius : 0;
|
|
48
48
|
// Convert percentage to pixels.
|
|
49
49
|
// Calculate the remaining size to divide between "weight" levels.
|
|
50
|
-
// Calculate total weight to use in
|
|
50
|
+
// Calculate total weight to use in conversion from weight to
|
|
51
51
|
// pixels.
|
|
52
52
|
for (const level of levels) {
|
|
53
53
|
const options = result[level], unit = options.levelSize.unit, value = options.levelSize.value;
|
|
@@ -22,8 +22,8 @@ const { addEvent, defined, error, merge, pick, pushUnique } = U;
|
|
|
22
22
|
*
|
|
23
23
|
* */
|
|
24
24
|
/** @private */
|
|
25
|
-
function
|
|
26
|
-
const twm = (
|
|
25
|
+
function onRecommendMapView(e) {
|
|
26
|
+
const { geoBounds, chart } = e, twm = (chart.options.series || []).filter((s) => s.type === 'tiledwebmap')[0];
|
|
27
27
|
if (twm && twm.provider && twm.provider.type && !twm.provider.url) {
|
|
28
28
|
const ProviderDefinition = TilesProvidersRegistry[twm.provider.type];
|
|
29
29
|
if (!defined(ProviderDefinition)) {
|
|
@@ -32,25 +32,23 @@ function onChartBeforeMapViewInit(e) {
|
|
|
32
32
|
}
|
|
33
33
|
else {
|
|
34
34
|
const def = new ProviderDefinition(), { initialProjectionName: providerProjectionName } = def;
|
|
35
|
-
if (
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
};
|
|
53
|
-
}
|
|
35
|
+
if (geoBounds) {
|
|
36
|
+
const { x1, y1, x2, y2 } = geoBounds;
|
|
37
|
+
this.recommendedMapView = {
|
|
38
|
+
projection: {
|
|
39
|
+
name: providerProjectionName,
|
|
40
|
+
parallels: [y1, y2],
|
|
41
|
+
rotation: [-(x1 + x2) / 2]
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
this.recommendedMapView = {
|
|
47
|
+
projection: {
|
|
48
|
+
name: providerProjectionName
|
|
49
|
+
},
|
|
50
|
+
minZoom: 0
|
|
51
|
+
};
|
|
54
52
|
}
|
|
55
53
|
return false;
|
|
56
54
|
}
|
|
@@ -87,9 +85,9 @@ class TiledWebMapSeries extends MapSeries {
|
|
|
87
85
|
* Static Functions
|
|
88
86
|
*
|
|
89
87
|
* */
|
|
90
|
-
static compose(
|
|
91
|
-
if (pushUnique(composed,
|
|
92
|
-
addEvent(
|
|
88
|
+
static compose(MapViewClass) {
|
|
89
|
+
if (pushUnique(composed, 'TiledWebMapSeries')) {
|
|
90
|
+
addEvent(MapViewClass, 'onRecommendMapView', onRecommendMapView);
|
|
93
91
|
}
|
|
94
92
|
}
|
|
95
93
|
/* *
|
|
@@ -478,7 +476,7 @@ class TiledWebMapSeries extends MapSeries {
|
|
|
478
476
|
this.transformGroups = [];
|
|
479
477
|
}
|
|
480
478
|
if (mapView &&
|
|
481
|
-
!defined(
|
|
479
|
+
!defined(chart.userOptions.mapView?.projection) &&
|
|
482
480
|
provider &&
|
|
483
481
|
provider.type) {
|
|
484
482
|
const ProviderDefinition = TilesProvidersRegistry[provider.type];
|
|
@@ -81,7 +81,7 @@ class TilemapSeries extends HeatmapSeries {
|
|
|
81
81
|
*
|
|
82
82
|
* */
|
|
83
83
|
static compose(AxisClass) {
|
|
84
|
-
if (pushUnique(composed,
|
|
84
|
+
if (pushUnique(composed, 'TilemapSeries')) {
|
|
85
85
|
addEvent(AxisClass, 'afterSetAxisTranslation', onAxisAfterSetAxisTranslation);
|
|
86
86
|
}
|
|
87
87
|
}
|
|
@@ -168,7 +168,7 @@ extend(TilemapSeries.prototype, {
|
|
|
168
168
|
getSymbol: noop,
|
|
169
169
|
// Use drawPoints, markerAttribs, pointAttribs methods from the old
|
|
170
170
|
// heatmap implementation.
|
|
171
|
-
// TODO: Consider
|
|
171
|
+
// TODO: Consider standardizing heatmap and tilemap into more
|
|
172
172
|
// consistent form.
|
|
173
173
|
markerAttribs: ScatterSeries.prototype.markerAttribs,
|
|
174
174
|
pointAttribs: ColumnSeries.prototype.pointAttribs,
|
|
@@ -176,8 +176,8 @@ class TimelineSeries extends LineSeries {
|
|
|
176
176
|
// Initialize the targetPosition field within data label
|
|
177
177
|
// object. It's necessary because there is need to know
|
|
178
178
|
// expected position of specific data label, when
|
|
179
|
-
// aligning connectors. This field is
|
|
180
|
-
// of SVGElement.animate() wrapped
|
|
179
|
+
// aligning connectors. This field is overridden inside
|
|
180
|
+
// of SVGElement.animate() wrapped method.
|
|
181
181
|
if (!dataLabel.targetPosition) {
|
|
182
182
|
dataLabel.targetPosition = {};
|
|
183
183
|
}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
'use strict';
|
|
13
13
|
import Color from '../Core/Color/Color.js';
|
|
14
14
|
import U from '../Core/Utilities.js';
|
|
15
|
-
const { extend, isArray, isNumber, isObject, merge, pick } = U;
|
|
15
|
+
const { extend, isArray, isNumber, isObject, merge, pick, relativeLength } = U;
|
|
16
16
|
/* *
|
|
17
17
|
*
|
|
18
18
|
* Functions
|
|
@@ -177,6 +177,27 @@ function updateRootId(series) {
|
|
|
177
177
|
}
|
|
178
178
|
return rootId;
|
|
179
179
|
}
|
|
180
|
+
/**
|
|
181
|
+
* Get the node width, which relies on the plot width and the nodeDistance
|
|
182
|
+
* option.
|
|
183
|
+
*
|
|
184
|
+
* @private
|
|
185
|
+
*/
|
|
186
|
+
function getNodeWidth(series, columnCount) {
|
|
187
|
+
const { chart, options } = series, { nodeDistance = 0, nodeWidth = 0 } = options, { plotSizeX = 1 } = chart;
|
|
188
|
+
// Node width auto means they are evenly distributed along the width of
|
|
189
|
+
// the plot area
|
|
190
|
+
if (nodeWidth === 'auto') {
|
|
191
|
+
if (typeof nodeDistance === 'string' && /%$/.test(nodeDistance)) {
|
|
192
|
+
const fraction = parseFloat(nodeDistance) / 100, total = columnCount + fraction * (columnCount - 1);
|
|
193
|
+
return plotSizeX / total;
|
|
194
|
+
}
|
|
195
|
+
const nDistance = Number(nodeDistance);
|
|
196
|
+
return ((plotSizeX + nDistance) /
|
|
197
|
+
(columnCount || 1)) - nDistance;
|
|
198
|
+
}
|
|
199
|
+
return relativeLength(nodeWidth, plotSizeX);
|
|
200
|
+
}
|
|
180
201
|
/* *
|
|
181
202
|
*
|
|
182
203
|
* Default Export
|
|
@@ -185,6 +206,7 @@ function updateRootId(series) {
|
|
|
185
206
|
const TreeUtilities = {
|
|
186
207
|
getColor,
|
|
187
208
|
getLevelOptions,
|
|
209
|
+
getNodeWidth,
|
|
188
210
|
setTreeValues,
|
|
189
211
|
updateRootId
|
|
190
212
|
};
|
|
@@ -32,14 +32,12 @@ class TreegraphLayout {
|
|
|
32
32
|
* @param {TreegraphNode} child
|
|
33
33
|
* Child node, which should be connected to dummyNode.
|
|
34
34
|
* @param {number} gapSize
|
|
35
|
-
*
|
|
36
|
-
* @param {number} index
|
|
37
|
-
* The index of the link.
|
|
35
|
+
* Remaining gap size.
|
|
38
36
|
*
|
|
39
37
|
* @return {TreegraphNode}
|
|
40
38
|
* DummyNode as a parent of nodes, which column changes.
|
|
41
39
|
*/
|
|
42
|
-
static createDummyNode(parent, child, gapSize
|
|
40
|
+
static createDummyNode(parent, child, gapSize) {
|
|
43
41
|
// Initialise dummy node.
|
|
44
42
|
const dummyNode = new TreegraphNode();
|
|
45
43
|
dummyNode.id = parent.id + '-' + gapSize;
|
|
@@ -93,7 +91,6 @@ class TreegraphLayout {
|
|
|
93
91
|
*/
|
|
94
92
|
beforeLayout(nodes) {
|
|
95
93
|
for (const node of nodes) {
|
|
96
|
-
let index = 0;
|
|
97
94
|
for (let child of node.children) {
|
|
98
95
|
// Support for children placed in distant columns.
|
|
99
96
|
if (child && child.level - node.level > 1) {
|
|
@@ -102,16 +99,15 @@ class TreegraphLayout {
|
|
|
102
99
|
let gapSize = child.level - node.level - 1;
|
|
103
100
|
// parent -> dummyNode -> child
|
|
104
101
|
while (gapSize > 0) {
|
|
105
|
-
child = TreegraphLayout.createDummyNode(node, child, gapSize
|
|
102
|
+
child = TreegraphLayout.createDummyNode(node, child, gapSize);
|
|
106
103
|
gapSize--;
|
|
107
104
|
}
|
|
108
105
|
}
|
|
109
|
-
++index;
|
|
110
106
|
}
|
|
111
107
|
}
|
|
112
108
|
}
|
|
113
109
|
/**
|
|
114
|
-
* Reset the
|
|
110
|
+
* Reset the calculated values from the previous run.
|
|
115
111
|
* @param {TreegraphNode[]} nodes all of the nodes.
|
|
116
112
|
*/
|
|
117
113
|
resetValues(nodes) {
|
|
@@ -166,7 +162,7 @@ class TreegraphLayout {
|
|
|
166
162
|
else {
|
|
167
163
|
// If the node has children, perform the recursive first walk for
|
|
168
164
|
// its children, and then calculate its shift in the apportion
|
|
169
|
-
// function (most crucial part
|
|
165
|
+
// function (most crucial part of the algorithm).
|
|
170
166
|
let defaultAncestor = node.getLeftMostChild();
|
|
171
167
|
for (const child of node.children) {
|
|
172
168
|
treeLayout.firstWalk(child);
|
|
@@ -231,9 +227,9 @@ class TreegraphLayout {
|
|
|
231
227
|
* are left(right)Int(Out)node where Int means internal and Out means
|
|
232
228
|
* outernal. For summing up the modifiers along the contour we use the
|
|
233
229
|
* `left(right)Int(Out)mod` variable. Whenever two nodes of the inside
|
|
234
|
-
* contours are in conflict we
|
|
230
|
+
* contours are in conflict we commute the left one of the greatest uncommon
|
|
235
231
|
* ancestors using the getAncestor function and we call the moveSubtree
|
|
236
|
-
* method to shift the subtree and prepare the shifts of smaller
|
|
232
|
+
* method to shift the subtree and prepare the shifts of smaller subtrees.
|
|
237
233
|
* Finally we add a new thread (if necessary) and we adjust ancestor of
|
|
238
234
|
* right outernal node or defaultAncestor.
|
|
239
235
|
*
|
|
@@ -17,9 +17,9 @@ const { prototype: { symbols } } = SVGRenderer;
|
|
|
17
17
|
import TreegraphNode from './TreegraphNode.js';
|
|
18
18
|
import TreegraphPoint from './TreegraphPoint.js';
|
|
19
19
|
import TU from '../TreeUtilities.js';
|
|
20
|
-
const { getLevelOptions } = TU;
|
|
20
|
+
const { getLevelOptions, getNodeWidth } = TU;
|
|
21
21
|
import U from '../../Core/Utilities.js';
|
|
22
|
-
const { extend, merge, pick, relativeLength, splat } = U;
|
|
22
|
+
const { arrayMax, extend, merge, pick, relativeLength, splat } = U;
|
|
23
23
|
import TreegraphLink from './TreegraphLink.js';
|
|
24
24
|
import TreegraphLayout from './TreegraphLayout.js';
|
|
25
25
|
import TreegraphSeriesDefaults from './TreegraphSeriesDefaults.js';
|
|
@@ -64,7 +64,7 @@ class TreegraphSeries extends TreemapSeries {
|
|
|
64
64
|
* @return {LayoutModifiers} `a` and `b` parameter for x and y direction.
|
|
65
65
|
*/
|
|
66
66
|
getLayoutModifiers() {
|
|
67
|
-
const chart = this.chart, series = this, plotSizeX = chart.plotSizeX, plotSizeY = chart.plotSizeY;
|
|
67
|
+
const chart = this.chart, series = this, plotSizeX = chart.plotSizeX, plotSizeY = chart.plotSizeY, columnCount = arrayMax(this.points.map((p) => p.node.xPosition));
|
|
68
68
|
let minX = Infinity, maxX = -Infinity, minY = Infinity, maxY = -Infinity, maxXSize = 0, minXSize = 0, maxYSize = 0, minYSize = 0;
|
|
69
69
|
this.points.forEach((point) => {
|
|
70
70
|
// When fillSpace is on, stop the layout calculation when the hidden
|
|
@@ -72,11 +72,11 @@ class TreegraphSeries extends TreemapSeries {
|
|
|
72
72
|
if (this.options.fillSpace && !point.visible) {
|
|
73
73
|
return;
|
|
74
74
|
}
|
|
75
|
-
const node = point.node, level = series.mapOptionsToLevel[point.node.level] || {}, markerOptions = merge(this.options.marker, level.marker, point.options.marker), radius = relativeLength(markerOptions.radius || 0, Math.min(plotSizeX, plotSizeY)), symbol = markerOptions.symbol, nodeSizeY = (symbol === 'circle' || !markerOptions.height) ?
|
|
75
|
+
const node = point.node, level = series.mapOptionsToLevel[point.node.level] || {}, markerOptions = merge(this.options.marker, level.marker, point.options.marker), nodeWidth = markerOptions.width ?? getNodeWidth(this, columnCount), radius = relativeLength(markerOptions.radius || 0, Math.min(plotSizeX, plotSizeY)), symbol = markerOptions.symbol, nodeSizeY = (symbol === 'circle' || !markerOptions.height) ?
|
|
76
76
|
radius * 2 :
|
|
77
|
-
relativeLength(markerOptions.height, plotSizeY), nodeSizeX = symbol === 'circle' || !
|
|
77
|
+
relativeLength(markerOptions.height, plotSizeY), nodeSizeX = symbol === 'circle' || !nodeWidth ?
|
|
78
78
|
radius * 2 :
|
|
79
|
-
relativeLength(
|
|
79
|
+
relativeLength(nodeWidth, plotSizeX);
|
|
80
80
|
node.nodeSizeX = nodeSizeX;
|
|
81
81
|
node.nodeSizeY = nodeSizeY;
|
|
82
82
|
let lineWidth;
|
|
@@ -113,7 +113,7 @@ class TreegraphSeries extends TreemapSeries {
|
|
|
113
113
|
getLinks() {
|
|
114
114
|
const series = this;
|
|
115
115
|
const links = [];
|
|
116
|
-
this.data.forEach((point
|
|
116
|
+
this.data.forEach((point) => {
|
|
117
117
|
const levelOptions = series.mapOptionsToLevel[point.node.level || 0] || {};
|
|
118
118
|
if (point.node.parent) {
|
|
119
119
|
const pointOptions = merge(levelOptions, point.options);
|
|
@@ -483,7 +483,7 @@ export default TreegraphSeries;
|
|
|
483
483
|
* points can be given in the following ways:
|
|
484
484
|
*
|
|
485
485
|
* 1. The array of arrays, with `keys` property, which defines how the fields in
|
|
486
|
-
* array should be
|
|
486
|
+
* array should be interpreted
|
|
487
487
|
* ```js
|
|
488
488
|
* keys: ['id', 'parent'],
|
|
489
489
|
* data: [
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
* @extends plotOptions.treemap
|
|
27
27
|
* @excluding layoutAlgorithm, dashStyle, linecap, lineWidth,
|
|
28
28
|
* negativeColor, threshold, zones, zoneAxis, colorAxis,
|
|
29
|
-
* colorKey, compare, dataGrouping,
|
|
29
|
+
* colorKey, compare, dataGrouping, endAngle, gapSize, gapUnit,
|
|
30
30
|
* ignoreHiddenPoint, innerSize, joinBy, legendType, linecap,
|
|
31
31
|
* minSize, navigatorOptions, pointRange, allowTraversingTree,
|
|
32
32
|
* alternateStartingDirection, borderRadius, breadcrumbs,
|
|
@@ -237,7 +237,44 @@ const TreegraphSeriesDefaults = {
|
|
|
237
237
|
style: {
|
|
238
238
|
textOverflow: 'none'
|
|
239
239
|
}
|
|
240
|
-
}
|
|
240
|
+
},
|
|
241
|
+
/**
|
|
242
|
+
* The distance between nodes in a tree graph in the longitudinal direction.
|
|
243
|
+
* The longitudinal direction means the direction that the chart flows - in
|
|
244
|
+
* a horizontal chart the distance is horizontal, in an inverted chart
|
|
245
|
+
* (vertical), the distance is vertical.
|
|
246
|
+
*
|
|
247
|
+
* If a number is given, it denotes pixels. If a percentage string is given,
|
|
248
|
+
* the distance is a percentage of the rendered node width. A `nodeDistance`
|
|
249
|
+
* of `100%` will render equal widths for the nodes and the gaps between
|
|
250
|
+
* them.
|
|
251
|
+
*
|
|
252
|
+
* This option applies only when the `nodeWidth` option is `auto`, making
|
|
253
|
+
* the node width respond to the number of columns.
|
|
254
|
+
*
|
|
255
|
+
* @since 11.4.0
|
|
256
|
+
* @sample highcharts/series-treegraph/node-distance
|
|
257
|
+
* Node distance of 100% means equal to node width
|
|
258
|
+
* @type {number|string}
|
|
259
|
+
*/
|
|
260
|
+
nodeDistance: 30,
|
|
261
|
+
/**
|
|
262
|
+
* The pixel width of each node in a, or the height in case the chart is
|
|
263
|
+
* inverted. For tree graphs, the node width is only applied if the marker
|
|
264
|
+
* symbol is `rect`, otherwise the `marker` sizing options apply.
|
|
265
|
+
*
|
|
266
|
+
* Can be a number or a percentage string, or `auto`. If `auto`, the nodes
|
|
267
|
+
* are sized to fill up the plot area in the longitudinal direction,
|
|
268
|
+
* regardless of the number of levels.
|
|
269
|
+
*
|
|
270
|
+
* @since 11.4.0
|
|
271
|
+
* @see [treegraph.nodeDistance](#nodeDistance)
|
|
272
|
+
* @sample highcharts/series-treegraph/node-distance
|
|
273
|
+
* Node width is auto and combined with node distance
|
|
274
|
+
*
|
|
275
|
+
* @type {number|string}
|
|
276
|
+
*/
|
|
277
|
+
nodeWidth: void 0
|
|
241
278
|
};
|
|
242
279
|
/* *
|
|
243
280
|
*
|
|
@@ -94,7 +94,7 @@ class TreemapSeries extends ScatterSeries {
|
|
|
94
94
|
*
|
|
95
95
|
* */
|
|
96
96
|
static compose(SeriesClass) {
|
|
97
|
-
if (pushUnique(composed,
|
|
97
|
+
if (pushUnique(composed, 'TreemapSeries')) {
|
|
98
98
|
addEvent(SeriesClass, 'afterBindAxes', onSeriesAfterBindAxes);
|
|
99
99
|
}
|
|
100
100
|
}
|
|
@@ -591,7 +591,9 @@ class TreemapSeries extends ScatterSeries {
|
|
|
591
591
|
chart.breadcrumbs.updateProperties(series.createList(e));
|
|
592
592
|
}
|
|
593
593
|
}));
|
|
594
|
-
series.eventsToUnbind.push(addEvent(series, 'update',
|
|
594
|
+
series.eventsToUnbind.push(addEvent(series, 'update',
|
|
595
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
596
|
+
function (e, redraw) {
|
|
595
597
|
const breadcrumbs = this.chart.breadcrumbs;
|
|
596
598
|
if (breadcrumbs && e.options.breadcrumbs) {
|
|
597
599
|
breadcrumbs.update(e.options.breadcrumbs);
|
|
@@ -23,7 +23,7 @@ const { addEvent, pushUnique, wrap } = U;
|
|
|
23
23
|
* @private
|
|
24
24
|
*/
|
|
25
25
|
function compose(AxisClass, TickClass) {
|
|
26
|
-
if (pushUnique(composed,
|
|
26
|
+
if (pushUnique(composed, 'Variwide')) {
|
|
27
27
|
const tickProto = TickClass.prototype;
|
|
28
28
|
addEvent(AxisClass, 'afterDrawCrosshair', onAxisAfterDrawCrosshair);
|
|
29
29
|
addEvent(AxisClass, 'afterRender', onAxisAfterRender);
|
|
@@ -87,7 +87,11 @@ function tickPostTranslate(xy, xOrY, index) {
|
|
|
87
87
|
/**
|
|
88
88
|
* @private
|
|
89
89
|
*/
|
|
90
|
-
function wrapTickGetLabelPosition(proceed, _x, _y, _label, horiz,
|
|
90
|
+
function wrapTickGetLabelPosition(proceed, _x, _y, _label, horiz,
|
|
91
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
92
|
+
_labelOptions, _tickmarkOffset, _index
|
|
93
|
+
/* eslint-enable @typescript-eslint/no-unused-vars */
|
|
94
|
+
) {
|
|
91
95
|
const args = Array.prototype.slice.call(arguments, 1), xOrY = horiz ? 'x' : 'y';
|
|
92
96
|
// Replace the x with the original x
|
|
93
97
|
if (this.axis.variwide &&
|
|
@@ -127,7 +127,7 @@ class VariwideSeries extends ColumnSeries {
|
|
|
127
127
|
* */
|
|
128
128
|
VariwideSeries.compose = VariwideComposition.compose;
|
|
129
129
|
VariwideSeries.defaultOptions = merge(ColumnSeries.defaultOptions, VariwideSeriesDefaults);
|
|
130
|
-
// Extend translation by
|
|
130
|
+
// Extend translation by distorting X position based on Z.
|
|
131
131
|
addEvent(VariwideSeries, 'afterColumnTranslate', function () {
|
|
132
132
|
// Temporarily disable crisping when computing original shapeArgs
|
|
133
133
|
const xAxis = this.xAxis, inverted = this.chart.inverted, crisp = this.borderWidth % 2 / 2;
|
|
@@ -51,7 +51,7 @@ class VennSeries extends ScatterSeries {
|
|
|
51
51
|
* */
|
|
52
52
|
/**
|
|
53
53
|
* Finds the optimal label position by looking for a position that has a low
|
|
54
|
-
* distance from the internal circles, and as large possible
|
|
54
|
+
* distance from the internal circles, and as large possible distance to the
|
|
55
55
|
* external circles.
|
|
56
56
|
* @private
|
|
57
57
|
* @todo Optimize the intial position.
|
|
@@ -120,7 +120,7 @@ class VennSeries extends ScatterSeries {
|
|
|
120
120
|
return best;
|
|
121
121
|
}
|
|
122
122
|
/**
|
|
123
|
-
*
|
|
123
|
+
* Calculates data label values for a given relations object.
|
|
124
124
|
*
|
|
125
125
|
* @private
|
|
126
126
|
* @todo add unit tests
|
|
@@ -150,7 +150,7 @@ class VennSeries extends ScatterSeries {
|
|
|
150
150
|
// Filter out external circles that are completely overlapping all
|
|
151
151
|
// internal
|
|
152
152
|
data.external = data.external.filter((externalCircle) => data.internal.some((internalCircle) => !isCircle1CompletelyOverlappingCircle2(externalCircle, internalCircle)));
|
|
153
|
-
//
|
|
153
|
+
// Calculate the label position.
|
|
154
154
|
const position = VennSeries.getLabelPosition(data.internal, data.external);
|
|
155
155
|
// Calculate the label width
|
|
156
156
|
const width = VennUtils.getLabelWidth(position, data.internal, data.external);
|
|
@@ -167,7 +167,7 @@ class VennSeries extends ScatterSeries {
|
|
|
167
167
|
* @todo Add support for constrained MDS.
|
|
168
168
|
* @param {Array<Highchats.VennRelationObject>} relations
|
|
169
169
|
* List of the overlap between two or more sets, or the size of a single
|
|
170
|
-
*
|
|
170
|
+
* set.
|
|
171
171
|
* @return {Highcharts.Dictionary<*>}
|
|
172
172
|
* List of circles and their calculated positions.
|
|
173
173
|
*/
|
|
@@ -148,7 +148,7 @@ function getCentroid(simplex) {
|
|
|
148
148
|
* @param {number} r1
|
|
149
149
|
* Radius of the first circle.
|
|
150
150
|
* @param {number} r2
|
|
151
|
-
*
|
|
151
|
+
* Radius of the second circle.
|
|
152
152
|
* @param {number} overlap
|
|
153
153
|
* The wanted overlap between the two circles.
|
|
154
154
|
* @return {number}
|
|
@@ -169,7 +169,7 @@ function getDistanceBetweenCirclesByOverlap(r1, r2, overlap) {
|
|
|
169
169
|
else {
|
|
170
170
|
distance = bisect((x) => {
|
|
171
171
|
const actualOverlap = getOverlapBetweenCirclesByDistance(r1, r2, x);
|
|
172
|
-
// Return the
|
|
172
|
+
// Return the difference between wanted and actual overlap.
|
|
173
173
|
return overlap - actualOverlap;
|
|
174
174
|
}, 0, maxDistance);
|
|
175
175
|
}
|
|
@@ -202,8 +202,7 @@ function getLabelWidth(pos, internal, external) {
|
|
|
202
202
|
}, isValid = (isPointInsideAllCircles(testPos, internal) &&
|
|
203
203
|
isPointOutsideAllCircles(testPos, filteredExternals));
|
|
204
204
|
// If the position is valid, then we want to move towards the
|
|
205
|
-
// max distance. If not, then we want to
|
|
206
|
-
// distance.
|
|
205
|
+
// max distance. If not, then we want to away from the max distance.
|
|
207
206
|
return -(maxDistance - x) + (isValid ? 0 : Number.MAX_VALUE);
|
|
208
207
|
}, 0, maxDistance);
|
|
209
208
|
};
|
|
@@ -211,7 +210,7 @@ function getLabelWidth(pos, internal, external) {
|
|
|
211
210
|
return Math.min(findDistance(radius, -1), findDistance(radius, 1)) * 2;
|
|
212
211
|
}
|
|
213
212
|
/**
|
|
214
|
-
* Calculates a margin for a point based on the
|
|
213
|
+
* Calculates a margin for a point based on the internal and external
|
|
215
214
|
* circles. The margin describes if the point is well placed within the
|
|
216
215
|
* internal circles, and away from the external.
|
|
217
216
|
* @private
|
|
@@ -436,7 +435,7 @@ function loss(mapOfIdToCircle, relations) {
|
|
|
436
435
|
* @param {Highcharts.NelderMeadPointArray} initial
|
|
437
436
|
* The initial point to optimize.
|
|
438
437
|
* @return {Highcharts.NelderMeadPointArray}
|
|
439
|
-
* Returns the
|
|
438
|
+
* Returns the optimized position of a point.
|
|
440
439
|
*/
|
|
441
440
|
function nelderMead(fn, initial) {
|
|
442
441
|
const maxIterations = 100, sortByFx = function (a, b) {
|
|
@@ -173,7 +173,7 @@ const WaterfallSeriesDefaults = {
|
|
|
173
173
|
*/
|
|
174
174
|
/**
|
|
175
175
|
* When this property is true, the points acts as a summary column for
|
|
176
|
-
* the values added or
|
|
176
|
+
* the values added or subtracted since the last intermediate sum,
|
|
177
177
|
* or since the start of the series. The `y` value is ignored.
|
|
178
178
|
*
|
|
179
179
|
* @sample {highcharts} highcharts/demo/waterfall/
|
|
@@ -210,7 +210,7 @@ function archimedeanSpiral(attempt, params) {
|
|
|
210
210
|
return result;
|
|
211
211
|
}
|
|
212
212
|
/**
|
|
213
|
-
* Gives a set of
|
|
213
|
+
* Gives a set of coordinates for an rectangular spiral.
|
|
214
214
|
*
|
|
215
215
|
* @private
|
|
216
216
|
* @function squareSpiral
|
|
@@ -225,7 +225,9 @@ function archimedeanSpiral(attempt, params) {
|
|
|
225
225
|
* Resulting coordinates, x and y. False if the word should be dropped from
|
|
226
226
|
* the visualization.
|
|
227
227
|
*/
|
|
228
|
-
function squareSpiral(attempt,
|
|
228
|
+
function squareSpiral(attempt,
|
|
229
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
230
|
+
params) {
|
|
229
231
|
const a = attempt * 4, k = Math.ceil((Math.sqrt(a) - 1) / 2), isBoolean = (x) => (typeof x === 'boolean');
|
|
230
232
|
let t = 2 * k + 1, m = Math.pow(t, 2), result = false;
|
|
231
233
|
t -= 1;
|
|
@@ -264,7 +266,7 @@ function squareSpiral(attempt, params) {
|
|
|
264
266
|
return result;
|
|
265
267
|
}
|
|
266
268
|
/**
|
|
267
|
-
* Gives a set of
|
|
269
|
+
* Gives a set of coordinates for an rectangular spiral.
|
|
268
270
|
*
|
|
269
271
|
* @private
|
|
270
272
|
* @function rectangularSpiral
|
|
@@ -435,7 +437,7 @@ function getRotation(orientations, index, from, to) {
|
|
|
435
437
|
function getSpiral(fn, params) {
|
|
436
438
|
const length = 10000, arr = [];
|
|
437
439
|
for (let i = 1; i < length; i++) {
|
|
438
|
-
// @todo unnecessary amount of
|
|
440
|
+
// @todo unnecessary amount of precalculation
|
|
439
441
|
arr.push(fn(i, params));
|
|
440
442
|
}
|
|
441
443
|
return (attempt) => (attempt <= length ? arr[attempt - 1] : false);
|
|
@@ -67,7 +67,7 @@ class XRangeSeries extends ColumnSeries {
|
|
|
67
67
|
*
|
|
68
68
|
* */
|
|
69
69
|
static compose(AxisClass) {
|
|
70
|
-
if (pushUnique(composed,
|
|
70
|
+
if (pushUnique(composed, 'Series.XRange')) {
|
|
71
71
|
addEvent(AxisClass, 'afterGetSeriesExtremes', onAxisAfterGetSeriesExtremes);
|
|
72
72
|
}
|
|
73
73
|
}
|
|
@@ -64,7 +64,7 @@ class BaseForm {
|
|
|
64
64
|
addCloseButton(className = 'highcharts-popup-close') {
|
|
65
65
|
const popup = this, iconsURL = this.iconsURL;
|
|
66
66
|
// Create close popup button.
|
|
67
|
-
const closeButton = createElement('
|
|
67
|
+
const closeButton = createElement('button', { className }, void 0, this.container);
|
|
68
68
|
closeButton.style['background-image'] = 'url(' +
|
|
69
69
|
(iconsURL.match(/png|svg|jpeg|jpg|gif/ig) ?
|
|
70
70
|
iconsURL : iconsURL + 'close.svg') + ')';
|
|
@@ -29,7 +29,9 @@ class ADIndicator extends SMAIndicator {
|
|
|
29
29
|
* Static Functions
|
|
30
30
|
*
|
|
31
31
|
* */
|
|
32
|
-
static populateAverage(xVal, yVal, yValVolume, i,
|
|
32
|
+
static populateAverage(xVal, yVal, yValVolume, i,
|
|
33
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
34
|
+
_period) {
|
|
33
35
|
const high = yVal[i][1], low = yVal[i][2], close = yVal[i][3], volume = yValVolume[i], adY = close === high && close === low || high === low ?
|
|
34
36
|
0 :
|
|
35
37
|
((2 * close - low - high) / (high - low)) * volume, adX = xVal[i];
|
|
@@ -94,7 +94,7 @@ class APOIndicator extends EMAIndicator {
|
|
|
94
94
|
*/
|
|
95
95
|
APOIndicator.defaultOptions = merge(EMAIndicator.defaultOptions, {
|
|
96
96
|
/**
|
|
97
|
-
*
|
|
97
|
+
* Parameters used in calculation of Absolute Price Oscillator
|
|
98
98
|
* series points.
|
|
99
99
|
*
|
|
100
100
|
* @excluding period
|
|
@@ -108,7 +108,7 @@ class AroonIndicator extends SMAIndicator {
|
|
|
108
108
|
*/
|
|
109
109
|
AroonIndicator.defaultOptions = merge(SMAIndicator.defaultOptions, {
|
|
110
110
|
/**
|
|
111
|
-
*
|
|
111
|
+
* Parameters used in calculation of aroon series points.
|
|
112
112
|
*
|
|
113
113
|
* @excluding index
|
|
114
114
|
*/
|
|
@@ -205,7 +205,7 @@ CMFIndicator.defaultOptions = merge(SMAIndicator.defaultOptions, {
|
|
|
205
205
|
index: void 0,
|
|
206
206
|
/**
|
|
207
207
|
* The id of another series to use its data as volume data for the
|
|
208
|
-
*
|
|
208
|
+
* indicator calculation.
|
|
209
209
|
*/
|
|
210
210
|
volumeSeriesID: 'volume'
|
|
211
211
|
}
|