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
|
@@ -8,8 +8,6 @@
|
|
|
8
8
|
*
|
|
9
9
|
* */
|
|
10
10
|
'use strict';
|
|
11
|
-
import Color from '../../Core/Color/Color.js';
|
|
12
|
-
const { parse: color } = Color;
|
|
13
11
|
import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
|
|
14
12
|
const { seriesTypes: { line: LineSeries } } = SeriesRegistry;
|
|
15
13
|
import U from '../../Core/Utilities.js';
|
|
@@ -255,7 +253,7 @@ class AreaSeries extends LineSeries {
|
|
|
255
253
|
pointMap[x][nullName] = true;
|
|
256
254
|
// If there are missing points in the next
|
|
257
255
|
// stack in any of the series below this
|
|
258
|
-
// one, we need to
|
|
256
|
+
// one, we need to subtract the missing
|
|
259
257
|
// values and add a hiatus to the left or
|
|
260
258
|
// right.
|
|
261
259
|
}
|
|
@@ -546,4 +544,4 @@ export default AreaSeries;
|
|
|
546
544
|
* @default {highstock} 0.75
|
|
547
545
|
* @apioption series.area.fillOpacity
|
|
548
546
|
*/
|
|
549
|
-
''; // adds doclets above to
|
|
547
|
+
''; // adds doclets above to transpiled
|
|
@@ -22,7 +22,7 @@ const { pushUnique, wrap } = U;
|
|
|
22
22
|
*
|
|
23
23
|
* */
|
|
24
24
|
function compose(AreaSeriesClass) {
|
|
25
|
-
if (pushUnique(composed,
|
|
25
|
+
if (pushUnique(composed, 'Area3DSeries')) {
|
|
26
26
|
wrap(AreaSeriesClass.prototype, 'getGraphPath', wrapAreaSeriesGetGraphPath);
|
|
27
27
|
}
|
|
28
28
|
}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
|
|
12
12
|
const { area: { prototype: { pointClass: AreaPoint, pointClass: { prototype: areaProto } } } } = SeriesRegistry.seriesTypes;
|
|
13
13
|
import U from '../../Core/Utilities.js';
|
|
14
|
-
const { defined, isNumber
|
|
14
|
+
const { defined, isNumber } = U;
|
|
15
15
|
/* *
|
|
16
16
|
*
|
|
17
17
|
* Class
|
|
@@ -37,7 +37,7 @@ class AreaRangePoint extends AreaPoint {
|
|
|
37
37
|
* @private
|
|
38
38
|
*/
|
|
39
39
|
setState() {
|
|
40
|
-
const prevState = this.state, series = this.series, isPolar = series.chart.polar
|
|
40
|
+
const prevState = this.state, series = this.series, isPolar = series.chart.polar;
|
|
41
41
|
if (!defined(this.plotHigh)) {
|
|
42
42
|
// Boost doesn't calculate plotHigh
|
|
43
43
|
this.plotHigh = series.yAxis.toPixels(this.high, true);
|
|
@@ -505,7 +505,7 @@ class AreaRangeSeries extends AreaSeries {
|
|
|
505
505
|
}
|
|
506
506
|
}
|
|
507
507
|
hasMarkerChanged(options, oldOptions) {
|
|
508
|
-
const
|
|
508
|
+
const lowMarker = options.lowMarker, oldMarker = oldOptions.lowMarker || {};
|
|
509
509
|
return (lowMarker && (lowMarker.enabled === false ||
|
|
510
510
|
oldMarker.symbol !== lowMarker.symbol || // #10870, #15946
|
|
511
511
|
oldMarker.height !== lowMarker.height || // #16274
|
|
@@ -542,7 +542,6 @@ addEvent(AreaRangeSeries, 'afterTranslate', function () {
|
|
|
542
542
|
}
|
|
543
543
|
}, { order: 0 });
|
|
544
544
|
addEvent(AreaRangeSeries, 'afterTranslate', function () {
|
|
545
|
-
const inverted = this.chart.inverted;
|
|
546
545
|
this.points.forEach((point) => {
|
|
547
546
|
// Postprocessing after the PolarComposition's afterTranslate
|
|
548
547
|
if (this.chart.polar) {
|
|
@@ -710,4 +709,4 @@ export default AreaRangeSeries;
|
|
|
710
709
|
* @product highcharts highstock
|
|
711
710
|
* @apioption series.arearange.data.low
|
|
712
711
|
*/
|
|
713
|
-
''; // adds doclets above to
|
|
712
|
+
''; // adds doclets above to transpiled file
|
|
@@ -79,7 +79,7 @@ class BellcurveSeries extends AreaSplineSeries {
|
|
|
79
79
|
if (series.baseSeries?.yData?.length || 0 > 1) {
|
|
80
80
|
series.setMean();
|
|
81
81
|
series.setStandardDeviation();
|
|
82
|
-
series.setData(series.derivedData(series.mean || 0, series.standardDeviation || 0), false);
|
|
82
|
+
series.setData(series.derivedData(series.mean || 0, series.standardDeviation || 0), false, void 0, false);
|
|
83
83
|
}
|
|
84
84
|
return (void 0);
|
|
85
85
|
}
|
|
@@ -21,6 +21,10 @@
|
|
|
21
21
|
*
|
|
22
22
|
* @sample highcharts/demo/box-plot/
|
|
23
23
|
* Box plot
|
|
24
|
+
* @sample {highcharts} highcharts/css/boxplot/
|
|
25
|
+
* Box plot in styled mode
|
|
26
|
+
* @sample {highcharts} highcharts/series-scatter/jitter-boxplot
|
|
27
|
+
* Jittered scatter plot on top of a box plot
|
|
24
28
|
*
|
|
25
29
|
* @extends plotOptions.column
|
|
26
30
|
* @excluding borderColor, borderRadius, borderWidth, groupZPadding,
|
|
@@ -95,7 +95,7 @@ function chartDrawChartBox(proceed, options, callback) {
|
|
|
95
95
|
* Core series class to use with Bubble series.
|
|
96
96
|
*/
|
|
97
97
|
function compose(ChartClass, LegendClass, SeriesClass) {
|
|
98
|
-
if (pushUnique(composed,
|
|
98
|
+
if (pushUnique(composed, 'Series.BubbleLegend')) {
|
|
99
99
|
setOptions({
|
|
100
100
|
// Set default bubble legend options
|
|
101
101
|
legend: {
|
|
@@ -179,7 +179,7 @@ const BubbleLegendDefaults = {
|
|
|
179
179
|
y: 0
|
|
180
180
|
},
|
|
181
181
|
/**
|
|
182
|
-
*
|
|
182
|
+
* Maximum bubble legend range size. If values for ranges are
|
|
183
183
|
* not specified, the `minSize` and the `maxSize` are calculated
|
|
184
184
|
* from bubble series.
|
|
185
185
|
*/
|
|
@@ -254,7 +254,7 @@ const BubbleLegendDefaults = {
|
|
|
254
254
|
*/
|
|
255
255
|
zIndex: 1,
|
|
256
256
|
/**
|
|
257
|
-
* Ranges with
|
|
257
|
+
* Ranges with lower value than zThreshold are skipped.
|
|
258
258
|
*/
|
|
259
259
|
zThreshold: 0
|
|
260
260
|
};
|
|
@@ -81,9 +81,9 @@ class BubbleLegendItem {
|
|
|
81
81
|
* Legend instance
|
|
82
82
|
*/
|
|
83
83
|
drawLegendSymbol(legend) {
|
|
84
|
-
const
|
|
84
|
+
const itemDistance = pick(legend.options.itemDistance, 20), legendItem = this.legendItem || {}, options = this.options, ranges = options.ranges, connectorDistance = options.connectorDistance;
|
|
85
85
|
let connectorSpace;
|
|
86
|
-
// Do not create bubbleLegend now if ranges or ranges
|
|
86
|
+
// Do not create bubbleLegend now if ranges or ranges values are not
|
|
87
87
|
// specified or if are empty array.
|
|
88
88
|
if (!ranges || !ranges.length || !isNumber(ranges[0].value)) {
|
|
89
89
|
legend.options.bubbleLegend.autoRanges = true;
|
|
@@ -371,7 +371,7 @@ class BubbleLegendItem {
|
|
|
371
371
|
predictBubbleSizes() {
|
|
372
372
|
const chart = this.chart, legendOptions = chart.legend.options, floating = legendOptions.floating, horizontal = legendOptions.layout === 'horizontal', lastLineHeight = horizontal ? chart.legend.lastLineHeight : 0, plotSizeX = chart.plotSizeX, plotSizeY = chart.plotSizeY, bubbleSeries = chart.series[this.options.seriesIndex], pxSizes = bubbleSeries.getPxExtremes(), minSize = Math.ceil(pxSizes.minPxSize), maxPxSize = Math.ceil(pxSizes.maxPxSize), plotSize = Math.min(plotSizeY, plotSizeX);
|
|
373
373
|
let calculatedSize, maxSize = bubbleSeries.options.maxSize;
|
|
374
|
-
// Calculate
|
|
374
|
+
// Calculate predicted max size of bubble
|
|
375
375
|
if (floating || !(/%$/.test(maxSize))) {
|
|
376
376
|
calculatedSize = maxPxSize;
|
|
377
377
|
}
|
|
@@ -89,7 +89,7 @@ class BubbleSeries extends ScatterSeries {
|
|
|
89
89
|
* */
|
|
90
90
|
static compose(AxisClass, ChartClass, LegendClass, SeriesClass) {
|
|
91
91
|
BubbleLegendComposition.compose(ChartClass, LegendClass, SeriesClass);
|
|
92
|
-
if (pushUnique(composed,
|
|
92
|
+
if (pushUnique(composed, 'Series.Bubble')) {
|
|
93
93
|
addEvent(AxisClass, 'foundExtremes', onAxisFoundExtremes);
|
|
94
94
|
}
|
|
95
95
|
}
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
*/
|
|
28
28
|
const BulletSeriesDefaults = {
|
|
29
29
|
/**
|
|
30
|
-
* All options related with look and
|
|
30
|
+
* All options related with look and positioning of targets.
|
|
31
31
|
*
|
|
32
32
|
* @since 6.0.0
|
|
33
33
|
*/
|
|
@@ -48,7 +48,7 @@ const BulletSeriesDefaults = {
|
|
|
48
48
|
height: 3,
|
|
49
49
|
/**
|
|
50
50
|
* The border color of the rectangle representing the target. When
|
|
51
|
-
* not set, the
|
|
51
|
+
* not set, the point's border color is used.
|
|
52
52
|
*
|
|
53
53
|
* In styled mode, use class `highcharts-bullet-target` instead.
|
|
54
54
|
*
|
|
@@ -99,8 +99,8 @@ class CandlestickSeries extends OHLCSeries {
|
|
|
99
99
|
topBox = Math.round(topBox) + crispCorr;
|
|
100
100
|
bottomBox = Math.round(bottomBox) + crispCorr;
|
|
101
101
|
// Create the path. Due to a bug in Chrome 49, the path is
|
|
102
|
-
// first
|
|
103
|
-
// pushed. For unknown reasons,
|
|
102
|
+
// first instantiated with no values, then the values
|
|
103
|
+
// pushed. For unknown reasons, instantiating the path array
|
|
104
104
|
// with all the values would lead to a crash when updating
|
|
105
105
|
// frequently (#5193).
|
|
106
106
|
path = [];
|
|
@@ -8,10 +8,6 @@
|
|
|
8
8
|
*
|
|
9
9
|
* */
|
|
10
10
|
'use strict';
|
|
11
|
-
import D from '../../Core/Defaults.js';
|
|
12
|
-
const { defaultOptions } = D;
|
|
13
|
-
import U from '../../Core/Utilities.js';
|
|
14
|
-
const { merge } = U;
|
|
15
11
|
/* *
|
|
16
12
|
*
|
|
17
13
|
* API Options
|
|
@@ -170,7 +166,7 @@ const CandlestickSeriesDefaults = {
|
|
|
170
166
|
* @product highstock
|
|
171
167
|
* @apioption series.candlestick.data
|
|
172
168
|
*/
|
|
173
|
-
''; // adds doclets above to
|
|
169
|
+
''; // adds doclets above to transpiled
|
|
174
170
|
/* *
|
|
175
171
|
*
|
|
176
172
|
* Default Export
|
|
@@ -77,7 +77,7 @@ var ColorMapComposition;
|
|
|
77
77
|
(this.value === void 0 || !isNaN(this.value)));
|
|
78
78
|
}
|
|
79
79
|
/**
|
|
80
|
-
* Get the color
|
|
80
|
+
* Get the color attributes to apply on the graphic
|
|
81
81
|
* @private
|
|
82
82
|
* @function Highcharts.colorMapSeriesMixin.colorAttribs
|
|
83
83
|
* @param {Highcharts.Point} point
|
|
@@ -35,7 +35,7 @@ var ColumnDataLabel;
|
|
|
35
35
|
function alignDataLabel(point, dataLabel, options, alignTo, isNew) {
|
|
36
36
|
const inverted = this.chart.inverted, series = point.series, xLen = (series.xAxis ? series.xAxis.len : this.chart.plotSizeX) || 0, yLen = (series.yAxis ? series.yAxis.len : this.chart.plotSizeY) || 0,
|
|
37
37
|
// Data label box for alignment
|
|
38
|
-
dlBox = point.dlBox || point.shapeArgs, below = pick(point.below, //
|
|
38
|
+
dlBox = point.dlBox || point.shapeArgs, below = pick(point.below, // Range series
|
|
39
39
|
point.plotY >
|
|
40
40
|
pick(this.translatedThreshold, yLen)),
|
|
41
41
|
// Draw it inside the box?
|
|
@@ -92,7 +92,7 @@ var ColumnDataLabel;
|
|
|
92
92
|
/** @private */
|
|
93
93
|
function compose(ColumnSeriesClass) {
|
|
94
94
|
DataLabel.compose(Series);
|
|
95
|
-
if (pushUnique(composed,
|
|
95
|
+
if (pushUnique(composed, 'ColumnDataLabel')) {
|
|
96
96
|
ColumnSeriesClass.prototype.alignDataLabel = alignDataLabel;
|
|
97
97
|
}
|
|
98
98
|
}
|
|
@@ -14,11 +14,11 @@ import Color from '../../Core/Color/Color.js';
|
|
|
14
14
|
const { parse: color } = Color;
|
|
15
15
|
import ColumnSeriesDefaults from './ColumnSeriesDefaults.js';
|
|
16
16
|
import H from '../../Core/Globals.js';
|
|
17
|
-
const {
|
|
17
|
+
const { noop } = H;
|
|
18
18
|
import Series from '../../Core/Series/Series.js';
|
|
19
19
|
import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
|
|
20
20
|
import U from '../../Core/Utilities.js';
|
|
21
|
-
const { clamp, defined, extend, fireEvent, isArray, isNumber, merge, pick, objectEach
|
|
21
|
+
const { clamp, defined, extend, fireEvent, isArray, isNumber, merge, pick, objectEach } = U;
|
|
22
22
|
/* *
|
|
23
23
|
*
|
|
24
24
|
* Class
|
|
@@ -63,8 +63,8 @@ class ColumnSeries extends Series {
|
|
|
63
63
|
else {
|
|
64
64
|
attr.translateY = translatedThreshold;
|
|
65
65
|
}
|
|
66
|
-
// apply
|
|
67
|
-
// animation is done by scaleY, so
|
|
66
|
+
// apply final clipping (used in Highcharts Stock) (#7083)
|
|
67
|
+
// animation is done by scaleY, so clipping is for panes
|
|
68
68
|
if (series.clipBox) {
|
|
69
69
|
series.setClip();
|
|
70
70
|
}
|
|
@@ -92,7 +92,9 @@ class ColumnSeries extends Series {
|
|
|
92
92
|
* @private
|
|
93
93
|
* @function Highcharts.seriesTypes.column#init
|
|
94
94
|
*/
|
|
95
|
-
init(chart,
|
|
95
|
+
init(chart,
|
|
96
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
97
|
+
options) {
|
|
96
98
|
super.init.apply(this, arguments);
|
|
97
99
|
const series = this;
|
|
98
100
|
chart = series.chart;
|
|
@@ -179,7 +181,7 @@ class ColumnSeries extends Series {
|
|
|
179
181
|
* @function Highcharts.seriesTypes.column#crispCol
|
|
180
182
|
*/
|
|
181
183
|
crispCol(x, y, w, h) {
|
|
182
|
-
const
|
|
184
|
+
const borderWidth = this.borderWidth, xCrisp = -(borderWidth % 2 ? 0.5 : 0);
|
|
183
185
|
let right, yCrisp = borderWidth % 2 ? 0.5 : 1;
|
|
184
186
|
// Horizontal. We need to first compute the exact right edge, then
|
|
185
187
|
// round it and compute the width from there.
|
|
@@ -264,6 +266,8 @@ class ColumnSeries extends Series {
|
|
|
264
266
|
}
|
|
265
267
|
}
|
|
266
268
|
});
|
|
269
|
+
indexInCategory = this.xAxis.reversed ?
|
|
270
|
+
totalInCategory - 1 - indexInCategory : indexInCategory;
|
|
267
271
|
// Compute the adjusted x position
|
|
268
272
|
const boxWidth = (totalInCategory - 1) * metrics.paddedWidth +
|
|
269
273
|
pointWidth;
|
|
@@ -303,7 +307,7 @@ class ColumnSeries extends Series {
|
|
|
303
307
|
const yBottom = pick(point.yBottom, translatedThreshold), safeDistance = 999 + Math.abs(yBottom), plotX = point.plotX || 0,
|
|
304
308
|
// Don't draw too far outside plot area (#1303, #2241,
|
|
305
309
|
// #4264)
|
|
306
|
-
plotY = clamp(point.plotY, -safeDistance, yAxis.len + safeDistance)
|
|
310
|
+
plotY = clamp(point.plotY, -safeDistance, yAxis.len + safeDistance);
|
|
307
311
|
let up, barY = Math.min(plotY, yBottom), barH = Math.max(plotY, yBottom) - barY, pointWidth = seriesPointWidth, barX = plotX + seriesXOffset, barW = seriesBarW;
|
|
308
312
|
// Handle options.minPointLength
|
|
309
313
|
if (minPointLength && Math.abs(barH) < minPointLength) {
|
|
@@ -515,9 +519,10 @@ class ColumnSeries extends Series {
|
|
|
515
519
|
*/
|
|
516
520
|
drawTracker(points = this.points) {
|
|
517
521
|
const series = this, chart = series.chart, pointer = chart.pointer, onMouseOver = function (e) {
|
|
518
|
-
const point = pointer
|
|
519
|
-
//
|
|
520
|
-
if (
|
|
522
|
+
const point = pointer?.getPointFromEvent(e);
|
|
523
|
+
// Undefined on graph in scatterchart
|
|
524
|
+
if (pointer &&
|
|
525
|
+
point &&
|
|
521
526
|
series.options.enableMouseTracking) {
|
|
522
527
|
pointer.isDirectTouch = true;
|
|
523
528
|
point.onMouseOver(e);
|
|
@@ -533,12 +538,7 @@ class ColumnSeries extends Series {
|
|
|
533
538
|
point.graphic.element.point = point;
|
|
534
539
|
}
|
|
535
540
|
dataLabels.forEach(function (dataLabel) {
|
|
536
|
-
|
|
537
|
-
dataLabel.div.point = point;
|
|
538
|
-
}
|
|
539
|
-
else {
|
|
540
|
-
dataLabel.element.point = point;
|
|
541
|
-
}
|
|
541
|
+
(dataLabel.div || dataLabel.element).point = point;
|
|
542
542
|
});
|
|
543
543
|
});
|
|
544
544
|
// Add the event listeners, we need to do this only once
|
|
@@ -550,11 +550,9 @@ class ColumnSeries extends Series {
|
|
|
550
550
|
.addClass('highcharts-tracker')
|
|
551
551
|
.on('mouseover', onMouseOver)
|
|
552
552
|
.on('mouseout', function (e) {
|
|
553
|
-
pointer
|
|
554
|
-
})
|
|
555
|
-
|
|
556
|
-
series[key].on('touchstart', onMouseOver);
|
|
557
|
-
}
|
|
553
|
+
pointer?.onTrackerMouseOut(e);
|
|
554
|
+
})
|
|
555
|
+
.on('touchstart', onMouseOver);
|
|
558
556
|
if (!chart.styledMode && series.options.cursor) {
|
|
559
557
|
series[key]
|
|
560
558
|
.css({ cursor: series.options.cursor });
|
|
@@ -597,7 +595,7 @@ extend(ColumnSeries.prototype, {
|
|
|
597
595
|
directTouch: true,
|
|
598
596
|
getSymbol: noop,
|
|
599
597
|
// Use separate negative stacks, unlike area stacks where a negative
|
|
600
|
-
// point is
|
|
598
|
+
// point is subtracted from previous (#1910)
|
|
601
599
|
negStacks: true,
|
|
602
600
|
trackerGroups: ['group', 'dataLabelsGroup']
|
|
603
601
|
});
|
|
@@ -154,7 +154,7 @@ const ColumnSeriesDefaults = {
|
|
|
154
154
|
* When set to `undefined`, the width is calculated from the
|
|
155
155
|
* `pointPadding` and `groupPadding`. The width effects the dimension
|
|
156
156
|
* that is not based on the point value. For column series it is the
|
|
157
|
-
*
|
|
157
|
+
* horizontal length and for bar series it is the vertical length.
|
|
158
158
|
*
|
|
159
159
|
* @see [maxPointWidth](#plotOptions.column.maxPointWidth)
|
|
160
160
|
*
|
|
@@ -118,7 +118,7 @@ function columnSeriesTranslate3dShapes() {
|
|
|
118
118
|
}
|
|
119
119
|
/** @private */
|
|
120
120
|
function compose(SeriesClass, StackItemClass) {
|
|
121
|
-
if (pushUnique(composed,
|
|
121
|
+
if (pushUnique(composed, 'Column3D')) {
|
|
122
122
|
const seriesProto = SeriesClass.prototype, stackItemProto = StackItemClass.prototype, { column: ColumnSeriesClass, columnRange: ColumnRangeSeriesClass } = SeriesClass.types;
|
|
123
123
|
wrap(seriesProto, 'alignDataLabel', wrapSeriesAlignDataLabel);
|
|
124
124
|
wrap(seriesProto, 'justifyDataLabel', wrapSeriesJustifyDataLabel);
|
|
@@ -52,6 +52,7 @@ const columnRangeOptions = {
|
|
|
52
52
|
* @apioption plotOptions.columnrange.dataLabels
|
|
53
53
|
*/
|
|
54
54
|
pointRange: null,
|
|
55
|
+
legendSymbol: 'rectangle',
|
|
55
56
|
/** @ignore-option */
|
|
56
57
|
marker: null,
|
|
57
58
|
states: {
|
|
@@ -124,7 +125,7 @@ class ColumnRangeSeries extends AreaRangeSeries {
|
|
|
124
125
|
* @private
|
|
125
126
|
*/
|
|
126
127
|
const yAxis = this.yAxis, xAxis = this.xAxis, startAngleRad = xAxis.startAngleRad, chart = this.chart, isRadial = this.xAxis.isRadial, safeDistance = Math.max(chart.chartWidth, chart.chartHeight) + 999;
|
|
127
|
-
let height, heightDifference, start,
|
|
128
|
+
let height, heightDifference, start, y;
|
|
128
129
|
// eslint-disable-next-line valid-jsdoc
|
|
129
130
|
/**
|
|
130
131
|
* Don't draw too far outside plot area (#6835)
|
|
@@ -13,20 +13,20 @@
|
|
|
13
13
|
* */
|
|
14
14
|
'use strict';
|
|
15
15
|
import H from '../../Core/Globals.js';
|
|
16
|
-
const { charts,
|
|
16
|
+
const { charts, deg2rad } = H;
|
|
17
17
|
import Math3D from '../../Core/Math3D.js';
|
|
18
18
|
const { perspective } = Math3D;
|
|
19
19
|
import SVGElement3DCylinder from './SVGElement3DCylinder.js';
|
|
20
20
|
import U from '../../Core/Utilities.js';
|
|
21
|
-
const { extend, pick
|
|
21
|
+
const { extend, pick } = U;
|
|
22
22
|
/* *
|
|
23
23
|
*
|
|
24
24
|
* Functions
|
|
25
25
|
*
|
|
26
26
|
* */
|
|
27
27
|
function compose(SVGRendererClass) {
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
const rendererProto = SVGRendererClass.prototype;
|
|
29
|
+
if (!rendererProto.cylinder) {
|
|
30
30
|
rendererProto.Element3D.types.cylinder = SVGElement3DCylinder;
|
|
31
31
|
extend(rendererProto, {
|
|
32
32
|
cylinder: rendererCylinder,
|
|
@@ -56,7 +56,7 @@ function rendererCylinder(shapeArgs) {
|
|
|
56
56
|
*/
|
|
57
57
|
function rendererCylinderPath(shapeArgs) {
|
|
58
58
|
const renderer = this, chart = charts[renderer.chartIndex],
|
|
59
|
-
// decide zIndexes of parts based on
|
|
59
|
+
// decide zIndexes of parts based on cuboid logic, for consistency.
|
|
60
60
|
cuboidData = this.cuboidPath(shapeArgs), isTopFirst = !cuboidData.isTop, isFronFirst = !cuboidData.isFront, top = renderer.getCylinderEnd(chart, shapeArgs), bottom = renderer.getCylinderEnd(chart, shapeArgs, true);
|
|
61
61
|
return {
|
|
62
62
|
front: renderer.getCylinderFront(top, bottom),
|
|
@@ -147,7 +147,7 @@ function rendererGetCylinderBack(topPath, bottomPath) {
|
|
|
147
147
|
return path;
|
|
148
148
|
}
|
|
149
149
|
/**
|
|
150
|
-
*
|
|
150
|
+
* Returns cylinder path for top or bottom.
|
|
151
151
|
* @private
|
|
152
152
|
*/
|
|
153
153
|
function rendererGetCylinderEnd(chart, shapeArgs, isBottom) {
|
|
@@ -160,7 +160,7 @@ function rendererGetCylinderEnd(chart, shapeArgs, isBottom) {
|
|
|
160
160
|
alphaCorrection),
|
|
161
161
|
// Could be top or bottom of the cylinder
|
|
162
162
|
y = (shapeArgs.y || 0) + (isBottom ? height : 0),
|
|
163
|
-
// Use cubic Bezier curve to draw a
|
|
163
|
+
// Use cubic Bezier curve to draw a circle in x,z (y is constant).
|
|
164
164
|
// More math. at spencermortensen.com/articles/bezier-circle/
|
|
165
165
|
c = 0.5519 * radius, centerX = width / 2 + (shapeArgs.x || 0), centerZ = depth / 2 + (shapeArgs.z || 0),
|
|
166
166
|
// points could be generated in a loop, but readability will plummet
|
|
@@ -218,7 +218,7 @@ function rendererGetCylinderEnd(chart, shapeArgs, isBottom) {
|
|
|
218
218
|
z: radius
|
|
219
219
|
}], cosTheta = Math.cos(angleOffset), sinTheta = Math.sin(angleOffset);
|
|
220
220
|
let path, x, z;
|
|
221
|
-
//
|
|
221
|
+
// rotate to match chart's beta and translate to the shape center
|
|
222
222
|
for (const point of points) {
|
|
223
223
|
x = point.x;
|
|
224
224
|
z = point.z;
|
|
@@ -231,7 +231,7 @@ function rendererGetCylinderEnd(chart, shapeArgs, isBottom) {
|
|
|
231
231
|
// check for sub-pixel curve issue, compare front and back edges
|
|
232
232
|
if (Math.abs(perspectivePoints[3].y - perspectivePoints[9].y) < 2.5 &&
|
|
233
233
|
Math.abs(perspectivePoints[0].y - perspectivePoints[6].y) < 2.5) {
|
|
234
|
-
// use
|
|
234
|
+
// use simplified shape
|
|
235
235
|
path = this.toLinePath([
|
|
236
236
|
perspectivePoints[0],
|
|
237
237
|
perspectivePoints[3],
|
|
@@ -9,13 +9,11 @@
|
|
|
9
9
|
* */
|
|
10
10
|
'use strict';
|
|
11
11
|
import Axis from '../Core/Axis/Axis.js';
|
|
12
|
-
import H from '../Core/Globals.js';
|
|
13
|
-
const { composed } = H;
|
|
14
12
|
import Point from '../Core/Series/Point.js';
|
|
15
13
|
const { tooltipFormatter: pointTooltipFormatter } = Point.prototype;
|
|
16
14
|
import Series from '../Core/Series/Series.js';
|
|
17
15
|
import U from '../Core/Utilities.js';
|
|
18
|
-
const { addEvent, arrayMax, arrayMin, correctFloat, defined, isArray, isNumber, isString, pick
|
|
16
|
+
const { addEvent, arrayMax, arrayMin, correctFloat, defined, isArray, isNumber, isString, pick } = U;
|
|
19
17
|
/* *
|
|
20
18
|
*
|
|
21
19
|
* Composition
|
|
@@ -49,13 +47,15 @@ var DataModifyComposition;
|
|
|
49
47
|
* Point class to use.
|
|
50
48
|
*/
|
|
51
49
|
function compose(SeriesClass, AxisClass, PointClass) {
|
|
52
|
-
|
|
53
|
-
|
|
50
|
+
const axisProto = AxisClass.prototype, pointProto = PointClass.prototype, seriesProto = SeriesClass.prototype;
|
|
51
|
+
if (!seriesProto.setCompare) {
|
|
54
52
|
seriesProto.setCompare = seriesSetCompare;
|
|
55
53
|
seriesProto.setCumulative = seriesSetCumulative;
|
|
56
54
|
addEvent(SeriesClass, 'afterInit', afterInit);
|
|
57
55
|
addEvent(SeriesClass, 'afterGetExtremes', afterGetExtremes);
|
|
58
56
|
addEvent(SeriesClass, 'afterProcessData', afterProcessData);
|
|
57
|
+
}
|
|
58
|
+
if (!axisProto.setCompare) {
|
|
59
59
|
axisProto.setCompare = axisSetCompare;
|
|
60
60
|
axisProto.setModifier = setModifier;
|
|
61
61
|
axisProto.setCumulative = axisSetCumulative;
|
|
@@ -20,7 +20,7 @@ import SankeyColumnComposition from '../Sankey/SankeyColumnComposition.js';
|
|
|
20
20
|
import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
|
|
21
21
|
const { pie: PieSeries, sankey: SankeySeries } = SeriesRegistry.seriesTypes;
|
|
22
22
|
import U from '../../Core/Utilities.js';
|
|
23
|
-
const { extend, merge } = U;
|
|
23
|
+
const { extend, merge, relativeLength } = U;
|
|
24
24
|
/* *
|
|
25
25
|
*
|
|
26
26
|
* Class
|
|
@@ -138,7 +138,8 @@ class DependencyWheelSeries extends SankeySeries {
|
|
|
138
138
|
for (const node of this.nodeColumns[0]) {
|
|
139
139
|
// Don't render the nodes if sum is 0 #12453
|
|
140
140
|
if (node.sum) {
|
|
141
|
-
const shapeArgs = node.shapeArgs, centerX = center[0], centerY = center[1], r = center[2] / 2,
|
|
141
|
+
const shapeArgs = node.shapeArgs, centerX = center[0], centerY = center[1], r = center[2] / 2, nodeWidth = options.nodeWidth === 'auto' ?
|
|
142
|
+
20 : options.nodeWidth, innerR = r - relativeLength(nodeWidth || 0, r), start = startAngle + factor * (shapeArgs.y || 0), end = startAngle +
|
|
142
143
|
factor * ((shapeArgs.y || 0) + (shapeArgs.height || 0));
|
|
143
144
|
// Middle angle
|
|
144
145
|
node.angle = start + (end - start) / 2;
|
|
@@ -23,7 +23,7 @@ const { addEvent, pushUnique } = U;
|
|
|
23
23
|
* @private
|
|
24
24
|
*/
|
|
25
25
|
function compose(ChartClass) {
|
|
26
|
-
if (pushUnique(composed,
|
|
26
|
+
if (pushUnique(composed, 'DragNodes')) {
|
|
27
27
|
addEvent(ChartClass, 'load', onChartLoad);
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -64,12 +64,12 @@ function onChartLoad() {
|
|
|
64
64
|
*
|
|
65
65
|
* @private
|
|
66
66
|
* @param {Highcharts.Point} point
|
|
67
|
-
* The point that event
|
|
67
|
+
* The point that event occurred.
|
|
68
68
|
* @param {Highcharts.PointerEventObject} event
|
|
69
69
|
* Browser event, before normalization.
|
|
70
70
|
*/
|
|
71
71
|
function onMouseDown(point, event) {
|
|
72
|
-
const normalizedEvent = this.chart.pointer
|
|
72
|
+
const normalizedEvent = this.chart.pointer?.normalize(event) || event;
|
|
73
73
|
point.fixedPosition = {
|
|
74
74
|
chartX: normalizedEvent.chartX,
|
|
75
75
|
chartY: normalizedEvent.chartY,
|
|
@@ -86,12 +86,12 @@ function onMouseDown(point, event) {
|
|
|
86
86
|
* @param {global.Event} event
|
|
87
87
|
* Browser event, before normalization.
|
|
88
88
|
* @param {Highcharts.Point} point
|
|
89
|
-
* The point that event
|
|
89
|
+
* The point that event occurred.
|
|
90
90
|
*
|
|
91
91
|
*/
|
|
92
92
|
function onMouseMove(point, event) {
|
|
93
93
|
if (point.fixedPosition && point.inDragMode) {
|
|
94
|
-
const series = this, chart = series.chart, normalizedEvent = chart.pointer
|
|
94
|
+
const series = this, chart = series.chart, normalizedEvent = chart.pointer?.normalize(event) || event, diffX = point.fixedPosition.chartX - normalizedEvent.chartX, diffY = point.fixedPosition.chartY - normalizedEvent.chartY, graphLayoutsLookup = chart.graphLayoutsLookup;
|
|
95
95
|
let newPlotX, newPlotY;
|
|
96
96
|
// At least 5px to apply change (avoids simple click):
|
|
97
97
|
if (Math.abs(diffX) > 5 || Math.abs(diffY) > 5) {
|
|
@@ -114,9 +114,9 @@ function onMouseMove(point, event) {
|
|
|
114
114
|
*
|
|
115
115
|
* @private
|
|
116
116
|
* @param {Highcharts.Point} point
|
|
117
|
-
* The point that event
|
|
117
|
+
* The point that event occurred.
|
|
118
118
|
*/
|
|
119
|
-
function onMouseUp(point
|
|
119
|
+
function onMouseUp(point) {
|
|
120
120
|
if (point.fixedPosition) {
|
|
121
121
|
if (point.hasDragged) {
|
|
122
122
|
if (this.layout.enableSimulation) {
|
|
@@ -189,7 +189,7 @@ const DumbbellSeriesDefaults = {
|
|
|
189
189
|
*
|
|
190
190
|
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
|
|
191
191
|
* @since 8.0.0
|
|
192
|
-
* @default
|
|
192
|
+
* @default ${palette.neutralColor80}
|
|
193
193
|
* @product highcharts highstock
|
|
194
194
|
* @apioption series.dumbbell.data.lowColor
|
|
195
195
|
*/
|
|
@@ -433,7 +433,7 @@ extend(FunnelSeries.prototype, {
|
|
|
433
433
|
* */
|
|
434
434
|
/** @private */
|
|
435
435
|
function compose(ChartClass) {
|
|
436
|
-
if (pushUnique(composed,
|
|
436
|
+
if (pushUnique(composed, 'FunnelSeries')) {
|
|
437
437
|
addEvent(ChartClass, 'afterHideAllOverlappingLabels', onChartAfterHideAllOverlappingLabels);
|
|
438
438
|
}
|
|
439
439
|
}
|