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
|
@@ -16,7 +16,7 @@ const { defaultOptions } = D;
|
|
|
16
16
|
import F from '../Templating.js';
|
|
17
17
|
const { format } = F;
|
|
18
18
|
import U from '../Utilities.js';
|
|
19
|
-
const { addEvent,
|
|
19
|
+
const { addEvent, erase, extend, fireEvent, getNestedProperty, isArray, isFunction, isNumber, isObject, pick, syncTimeout, removeEvent, uniqueKey } = U;
|
|
20
20
|
/* eslint-disable no-invalid-this, valid-jsdoc */
|
|
21
21
|
/* *
|
|
22
22
|
*
|
|
@@ -314,14 +314,9 @@ class Point {
|
|
|
314
314
|
*/
|
|
315
315
|
firePointEvent(eventType, eventArgs, defaultFunction) {
|
|
316
316
|
const point = this, series = this.series, seriesOptions = series.options;
|
|
317
|
-
//
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
point.options.events &&
|
|
321
|
-
point.options.events[eventType])) {
|
|
322
|
-
point.importEvents();
|
|
323
|
-
}
|
|
324
|
-
// add default handler if in selection mode
|
|
317
|
+
// Load event handlers on demand to save time on mouseover/out
|
|
318
|
+
point.manageEvent(eventType);
|
|
319
|
+
// Add default handler if in selection mode
|
|
325
320
|
if (eventType === 'click' && seriesOptions.allowPointSelect) {
|
|
326
321
|
defaultFunction = function (event) {
|
|
327
322
|
// Control key is for Windows, meta (= Cmd key) for Mac, Shift
|
|
@@ -894,7 +889,7 @@ class Point {
|
|
|
894
889
|
loopPoint.selected = loopPoint.options.selected =
|
|
895
890
|
false;
|
|
896
891
|
loopSeries.options.data[loopSeries.data.indexOf(loopPoint)] = loopPoint.options;
|
|
897
|
-
//
|
|
892
|
+
// Programmatically selecting a point should restore
|
|
898
893
|
// normal state, but when click happened on other
|
|
899
894
|
// point, set inactive state to match other points
|
|
900
895
|
loopPoint.setState(chart.hoverPoints &&
|
|
@@ -917,12 +912,15 @@ class Point {
|
|
|
917
912
|
* The event arguments.
|
|
918
913
|
*/
|
|
919
914
|
onMouseOver(e) {
|
|
920
|
-
const point = this, series = point.series,
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
915
|
+
const point = this, series = point.series, { inverted, pointer } = series.chart;
|
|
916
|
+
if (pointer) {
|
|
917
|
+
e = e ?
|
|
918
|
+
pointer.normalize(e) :
|
|
919
|
+
// In cases where onMouseOver is called directly without an
|
|
920
|
+
// event
|
|
921
|
+
pointer.getChartCoordinatesFromPoint(point, inverted);
|
|
922
|
+
pointer.runPointActions(e, point);
|
|
923
|
+
}
|
|
926
924
|
}
|
|
927
925
|
/**
|
|
928
926
|
* Runs on mouse out from the point. Called internally from mouse and touch
|
|
@@ -942,22 +940,32 @@ class Point {
|
|
|
942
940
|
chart.hoverPoints = chart.hoverPoint = null;
|
|
943
941
|
}
|
|
944
942
|
/**
|
|
945
|
-
*
|
|
943
|
+
* Manage specific event from the series' and point's options. Only do it on
|
|
946
944
|
* demand, to save processing time on hovering.
|
|
947
945
|
*
|
|
948
946
|
* @private
|
|
949
947
|
* @function Highcharts.Point#importEvents
|
|
950
948
|
*/
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
point.
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
949
|
+
manageEvent(eventType) {
|
|
950
|
+
const point = this, options = point.series.options.point || {}, userEvent = options.events?.[eventType];
|
|
951
|
+
if (isFunction(userEvent) &&
|
|
952
|
+
(!point.hcEvents?.[eventType] ||
|
|
953
|
+
// Some HC modules, like marker-clusters, draggable-poins etc.
|
|
954
|
+
// use events in their logic, so we need to be sure, that
|
|
955
|
+
// callback function is different
|
|
956
|
+
point.hcEvents?.[eventType]?.map((el) => el.fn)
|
|
957
|
+
.indexOf(userEvent) === -1)) {
|
|
958
|
+
addEvent(point, eventType, userEvent);
|
|
959
|
+
point.hasImportedEvents = true;
|
|
960
|
+
}
|
|
961
|
+
else if (point.hasImportedEvents &&
|
|
962
|
+
!userEvent &&
|
|
963
|
+
point.hcEvents?.[eventType]) {
|
|
964
|
+
removeEvent(point, eventType);
|
|
965
|
+
delete point.hcEvents[eventType];
|
|
966
|
+
if (!Object.keys(point.hcEvents)) {
|
|
967
|
+
point.hasImportedEvents = false;
|
|
968
|
+
}
|
|
961
969
|
}
|
|
962
970
|
}
|
|
963
971
|
/**
|
|
@@ -1160,7 +1168,7 @@ export default Point;
|
|
|
1160
1168
|
* @callback Highcharts.PointClickCallbackFunction
|
|
1161
1169
|
*
|
|
1162
1170
|
* @param {Highcharts.Point} this
|
|
1163
|
-
* The point where the event
|
|
1171
|
+
* The point where the event occurred.
|
|
1164
1172
|
*
|
|
1165
1173
|
* @param {Highcharts.PointClickEventObject} event
|
|
1166
1174
|
* Event arguments.
|
|
@@ -1226,10 +1234,10 @@ export default Point;
|
|
|
1226
1234
|
* @callback Highcharts.PointMouseOutCallbackFunction
|
|
1227
1235
|
*
|
|
1228
1236
|
* @param {Highcharts.Point} this
|
|
1229
|
-
* Point where the event
|
|
1237
|
+
* Point where the event occurred.
|
|
1230
1238
|
*
|
|
1231
1239
|
* @param {global.PointerEvent} event
|
|
1232
|
-
* Event that
|
|
1240
|
+
* Event that occurred.
|
|
1233
1241
|
*/
|
|
1234
1242
|
/**
|
|
1235
1243
|
* Gets fired when the mouse enters the area close to the point.
|
|
@@ -1237,10 +1245,10 @@ export default Point;
|
|
|
1237
1245
|
* @callback Highcharts.PointMouseOverCallbackFunction
|
|
1238
1246
|
*
|
|
1239
1247
|
* @param {Highcharts.Point} this
|
|
1240
|
-
* Point where the event
|
|
1248
|
+
* Point where the event occurred.
|
|
1241
1249
|
*
|
|
1242
1250
|
* @param {global.Event} event
|
|
1243
|
-
* Event that
|
|
1251
|
+
* Event that occurred.
|
|
1244
1252
|
*/
|
|
1245
1253
|
/**
|
|
1246
1254
|
* The generic point options for all series.
|
|
@@ -1267,10 +1275,10 @@ export default Point;
|
|
|
1267
1275
|
* @callback Highcharts.PointRemoveCallbackFunction
|
|
1268
1276
|
*
|
|
1269
1277
|
* @param {Highcharts.Point} this
|
|
1270
|
-
* Point where the event
|
|
1278
|
+
* Point where the event occurred.
|
|
1271
1279
|
*
|
|
1272
1280
|
* @param {global.Event} event
|
|
1273
|
-
* Event that
|
|
1281
|
+
* Event that occurred.
|
|
1274
1282
|
*/
|
|
1275
1283
|
/**
|
|
1276
1284
|
* Possible key values for the point state options.
|
|
@@ -1284,10 +1292,10 @@ export default Point;
|
|
|
1284
1292
|
* @callback Highcharts.PointUpdateCallbackFunction
|
|
1285
1293
|
*
|
|
1286
1294
|
* @param {Highcharts.Point} this
|
|
1287
|
-
* Point where the event
|
|
1295
|
+
* Point where the event occurred.
|
|
1288
1296
|
*
|
|
1289
1297
|
* @param {Highcharts.PointUpdateEventObject} event
|
|
1290
|
-
* Event that
|
|
1298
|
+
* Event that occurred.
|
|
1291
1299
|
*/
|
|
1292
1300
|
/**
|
|
1293
1301
|
* Information about the update event.
|
|
@@ -1330,10 +1338,10 @@ export default Point;
|
|
|
1330
1338
|
* @callback Highcharts.PointSelectCallbackFunction
|
|
1331
1339
|
*
|
|
1332
1340
|
* @param {Highcharts.Point} this
|
|
1333
|
-
* Point where the event
|
|
1341
|
+
* Point where the event occurred.
|
|
1334
1342
|
*
|
|
1335
1343
|
* @param {Highcharts.PointInteractionEventObject} event
|
|
1336
|
-
* Event that
|
|
1344
|
+
* Event that occurred.
|
|
1337
1345
|
*/
|
|
1338
1346
|
/**
|
|
1339
1347
|
* Fires when the point is unselected either programmatically or following a
|
|
@@ -1342,9 +1350,9 @@ export default Point;
|
|
|
1342
1350
|
* @callback Highcharts.PointUnselectCallbackFunction
|
|
1343
1351
|
*
|
|
1344
1352
|
* @param {Highcharts.Point} this
|
|
1345
|
-
* Point where the event
|
|
1353
|
+
* Point where the event occurred.
|
|
1346
1354
|
*
|
|
1347
1355
|
* @param {Highcharts.PointInteractionEventObject} event
|
|
1348
|
-
* Event that
|
|
1356
|
+
* Event that occurred.
|
|
1349
1357
|
*/
|
|
1350
1358
|
''; // keeps doclets above in JS file.
|
|
@@ -15,7 +15,7 @@ const { defaultOptions } = D;
|
|
|
15
15
|
import F from '../Foundation.js';
|
|
16
16
|
const { registerEventOptions } = F;
|
|
17
17
|
import H from '../Globals.js';
|
|
18
|
-
const {
|
|
18
|
+
const { svg, win } = H;
|
|
19
19
|
import LegendSymbol from '../Legend/LegendSymbol.js';
|
|
20
20
|
import Point from './Point.js';
|
|
21
21
|
import SeriesDefaults from './SeriesDefaults.js';
|
|
@@ -244,7 +244,7 @@ class Series {
|
|
|
244
244
|
// loop through the chart's axis objects
|
|
245
245
|
chart[coll].forEach(function (axis) {
|
|
246
246
|
axisOptions = axis.options;
|
|
247
|
-
// apply if the series xAxis or yAxis option
|
|
247
|
+
// apply if the series xAxis or yAxis option matches
|
|
248
248
|
// the number of the axis, or if undefined, use the
|
|
249
249
|
// first axis
|
|
250
250
|
if (pick(seriesOptions[coll], 0) === axis.index ||
|
|
@@ -331,7 +331,7 @@ class Series {
|
|
|
331
331
|
* @function Highcharts.Series#hasMarkerChanged
|
|
332
332
|
*/
|
|
333
333
|
hasMarkerChanged(options, oldOptions) {
|
|
334
|
-
const
|
|
334
|
+
const marker = options.marker, oldMarker = oldOptions.marker || {};
|
|
335
335
|
return marker && ((oldMarker.enabled && !marker.enabled) ||
|
|
336
336
|
oldMarker.symbol !== marker.symbol || // #10870, #15946
|
|
337
337
|
oldMarker.height !== marker.height || // #16274
|
|
@@ -449,7 +449,8 @@ class Series {
|
|
|
449
449
|
}
|
|
450
450
|
// Handle color zones
|
|
451
451
|
this.zoneAxis = options.zoneAxis || 'y';
|
|
452
|
-
const zones = this.zones =
|
|
452
|
+
const zones = this.zones = // #20440, create deep copy of zones options
|
|
453
|
+
(options.zones || []).map((z) => ({ ...z }));
|
|
453
454
|
if ((options.negativeColor || options.negativeFillColor) &&
|
|
454
455
|
!options.zones) {
|
|
455
456
|
zone = {
|
|
@@ -1167,7 +1168,7 @@ class Series {
|
|
|
1167
1168
|
// restore keys options (#6590)
|
|
1168
1169
|
series.options.keys = keys;
|
|
1169
1170
|
// Hide cropped-away points - this only runs when the number of
|
|
1170
|
-
// points is above cropThreshold, or when
|
|
1171
|
+
// points is above cropThreshold, or when switching view from
|
|
1171
1172
|
// non-grouped data to grouped data (#637)
|
|
1172
1173
|
if (data &&
|
|
1173
1174
|
(processedDataLength !== (dataLength = data.length) ||
|
|
@@ -1428,7 +1429,7 @@ class Series {
|
|
|
1428
1429
|
point.stackY = yValue;
|
|
1429
1430
|
// in case of variwide series (where widths of points are
|
|
1430
1431
|
// different in most cases), stack labels are positioned
|
|
1431
|
-
// wrongly, so the call of the setOffset is
|
|
1432
|
+
// wrongly, so the call of the setOffset is omitted here and
|
|
1432
1433
|
// labels are correctly positioned later, at the end of the
|
|
1433
1434
|
// variwide's translate function (#10962)
|
|
1434
1435
|
if (!series.irregularWidths) {
|
|
@@ -1444,7 +1445,7 @@ class Series {
|
|
|
1444
1445
|
if (series.dataModify) {
|
|
1445
1446
|
yValue = series.dataModify.modifyValue(yValue, i);
|
|
1446
1447
|
}
|
|
1447
|
-
// Set the
|
|
1448
|
+
// Set the plotY value, reset it for redraws #3201, #18422
|
|
1448
1449
|
let plotY;
|
|
1449
1450
|
if (isNumber(yValue) && point.plotX !== void 0) {
|
|
1450
1451
|
plotY = yAxis.translate(yValue, false, true, false, true);
|
|
@@ -1533,16 +1534,21 @@ class Series {
|
|
|
1533
1534
|
getClipBox() {
|
|
1534
1535
|
const { chart, xAxis, yAxis } = this;
|
|
1535
1536
|
// If no axes on the series, use global clipBox
|
|
1536
|
-
|
|
1537
|
+
let { x, y, width, height } = merge(chart.clipBox);
|
|
1537
1538
|
// Otherwise, use clipBox.width which is corrected for plotBorderWidth
|
|
1538
1539
|
// and clipOffset
|
|
1539
1540
|
if (xAxis && xAxis.len !== chart.plotSizeX) {
|
|
1540
|
-
|
|
1541
|
+
width = xAxis.len;
|
|
1541
1542
|
}
|
|
1542
1543
|
if (yAxis && yAxis.len !== chart.plotSizeY) {
|
|
1543
|
-
|
|
1544
|
+
height = yAxis.len;
|
|
1544
1545
|
}
|
|
1545
|
-
|
|
1546
|
+
// If the chart is inverted and the series is not invertible, the chart
|
|
1547
|
+
// clip box should be inverted, but not the series clip box (#20264)
|
|
1548
|
+
if (chart.inverted && !this.invertible) {
|
|
1549
|
+
[width, height] = [height, width];
|
|
1550
|
+
}
|
|
1551
|
+
return { x, y, width, height };
|
|
1546
1552
|
}
|
|
1547
1553
|
/**
|
|
1548
1554
|
* Get the shared clip key, creating it if it doesn't exist.
|
|
@@ -1633,17 +1639,17 @@ class Series {
|
|
|
1633
1639
|
animationClipRect.attr('height', clipBox.height);
|
|
1634
1640
|
}
|
|
1635
1641
|
group.clip(animationClipRect);
|
|
1636
|
-
|
|
1637
|
-
markerGroup.clip(markerAnimationClipRect);
|
|
1638
|
-
}
|
|
1642
|
+
markerGroup?.clip(markerAnimationClipRect);
|
|
1639
1643
|
// Run the animation
|
|
1640
1644
|
}
|
|
1641
1645
|
else if (animationClipRect &&
|
|
1642
1646
|
// Only first series in this pane
|
|
1643
1647
|
!animationClipRect.hasClass('highcharts-animating')) {
|
|
1644
1648
|
const finalBox = this.getClipBox(), step = animation.step;
|
|
1645
|
-
// Only do this when there are actually markers
|
|
1646
|
-
|
|
1649
|
+
// Only do this when there are actually markers, or we have multiple
|
|
1650
|
+
// series (#20473)
|
|
1651
|
+
if (markerGroup?.element.childNodes.length ||
|
|
1652
|
+
chart.series.length > 1) {
|
|
1647
1653
|
// To provide as smooth animation as possible, update the marker
|
|
1648
1654
|
// group clipping in steps of the main group animation
|
|
1649
1655
|
animation.step = function (val, fx) {
|
|
@@ -1651,8 +1657,7 @@ class Series {
|
|
|
1651
1657
|
step.apply(fx, arguments);
|
|
1652
1658
|
}
|
|
1653
1659
|
if (fx.prop === 'width' &&
|
|
1654
|
-
markerAnimationClipRect
|
|
1655
|
-
markerAnimationClipRect.element) {
|
|
1660
|
+
markerAnimationClipRect?.element) {
|
|
1656
1661
|
markerAnimationClipRect.attr(inverted ? 'height' : 'width', val + 99);
|
|
1657
1662
|
}
|
|
1658
1663
|
};
|
|
@@ -1897,11 +1902,11 @@ class Series {
|
|
|
1897
1902
|
destroy(keepEventsForUpdate) {
|
|
1898
1903
|
const series = this, chart = series.chart, issue134 = /AppleWebKit\/533/.test(win.navigator.userAgent), data = series.data || [];
|
|
1899
1904
|
let destroy, i, point, axis;
|
|
1900
|
-
//
|
|
1905
|
+
// Add event hook
|
|
1901
1906
|
fireEvent(series, 'destroy', { keepEventsForUpdate });
|
|
1902
|
-
//
|
|
1907
|
+
// Remove events
|
|
1903
1908
|
this.removeEvents(keepEventsForUpdate);
|
|
1904
|
-
//
|
|
1909
|
+
// Erase from axes
|
|
1905
1910
|
(series.axisTypes || []).forEach(function (AXIS) {
|
|
1906
1911
|
axis = series[AXIS];
|
|
1907
1912
|
if (axis && axis.series) {
|
|
@@ -1909,11 +1914,11 @@ class Series {
|
|
|
1909
1914
|
axis.isDirty = axis.forceRedraw = true;
|
|
1910
1915
|
}
|
|
1911
1916
|
});
|
|
1912
|
-
//
|
|
1917
|
+
// Remove legend items
|
|
1913
1918
|
if (series.legendItem) {
|
|
1914
1919
|
series.chart.legend.destroyItem(series);
|
|
1915
1920
|
}
|
|
1916
|
-
//
|
|
1921
|
+
// Destroy all points with their elements
|
|
1917
1922
|
i = data.length;
|
|
1918
1923
|
while (i--) {
|
|
1919
1924
|
point = data[i];
|
|
@@ -1921,7 +1926,10 @@ class Series {
|
|
|
1921
1926
|
point.destroy();
|
|
1922
1927
|
}
|
|
1923
1928
|
}
|
|
1924
|
-
series.zones
|
|
1929
|
+
for (const zone of series.zones) {
|
|
1930
|
+
// Destroy SVGElement's but preserve primitive props (#20426)
|
|
1931
|
+
destroyObjectProperties(zone, void 0, true);
|
|
1932
|
+
}
|
|
1925
1933
|
// Clear the animation timeout if we are destroying the series
|
|
1926
1934
|
// during initial animation
|
|
1927
1935
|
U.clearTimeout(series.animationTimeout);
|
|
@@ -1929,20 +1937,20 @@ class Series {
|
|
|
1929
1937
|
objectEach(series, function (val, prop) {
|
|
1930
1938
|
// Survive provides a hook for not destroying
|
|
1931
1939
|
if (val instanceof SVGElement && !val.survive) {
|
|
1932
|
-
//
|
|
1940
|
+
// Issue 134 workaround
|
|
1933
1941
|
destroy = issue134 && prop === 'group' ?
|
|
1934
1942
|
'hide' :
|
|
1935
1943
|
'destroy';
|
|
1936
1944
|
val[destroy]();
|
|
1937
1945
|
}
|
|
1938
1946
|
});
|
|
1939
|
-
//
|
|
1947
|
+
// Remove from hoverSeries
|
|
1940
1948
|
if (chart.hoverSeries === series) {
|
|
1941
1949
|
chart.hoverSeries = void 0;
|
|
1942
1950
|
}
|
|
1943
1951
|
erase(chart.series, series);
|
|
1944
1952
|
chart.orderItems('series');
|
|
1945
|
-
//
|
|
1953
|
+
// Clear all members
|
|
1946
1954
|
objectEach(series, function (val, prop) {
|
|
1947
1955
|
if (!keepEventsForUpdate || prop !== 'hcEvents') {
|
|
1948
1956
|
delete series[prop];
|
|
@@ -1990,7 +1998,7 @@ class Series {
|
|
|
1990
1998
|
});
|
|
1991
1999
|
};
|
|
1992
2000
|
// Reset
|
|
1993
|
-
zones.forEach((zone
|
|
2001
|
+
zones.forEach((zone) => {
|
|
1994
2002
|
zone.lineClip = [];
|
|
1995
2003
|
zone.translated = clamp(axis.toPixels(pick(zone.value, axisMax), true) || 0, 0, len);
|
|
1996
2004
|
});
|
|
@@ -2153,7 +2161,7 @@ class Series {
|
|
|
2153
2161
|
const chart = this.chart, inverted = (chart.inverted &&
|
|
2154
2162
|
!chart.polar &&
|
|
2155
2163
|
horAxis &&
|
|
2156
|
-
this.invertible
|
|
2164
|
+
this.invertible &&
|
|
2157
2165
|
name === 'series');
|
|
2158
2166
|
// Swap axes for inverted (#2339)
|
|
2159
2167
|
if (chart.inverted) {
|
|
@@ -2512,14 +2520,12 @@ class Series {
|
|
|
2512
2520
|
tracker.addClass('highcharts-tracker')
|
|
2513
2521
|
.on('mouseover', onMouseOver)
|
|
2514
2522
|
.on('mouseout', (e) => {
|
|
2515
|
-
pointer
|
|
2523
|
+
pointer?.onTrackerMouseOut(e);
|
|
2516
2524
|
});
|
|
2517
2525
|
if (options.cursor && !chart.styledMode) {
|
|
2518
2526
|
tracker.css({ cursor: options.cursor });
|
|
2519
2527
|
}
|
|
2520
|
-
|
|
2521
|
-
tracker.on('touchstart', onMouseOver);
|
|
2522
|
-
}
|
|
2528
|
+
tracker.on('touchstart', onMouseOver);
|
|
2523
2529
|
}
|
|
2524
2530
|
});
|
|
2525
2531
|
}
|
|
@@ -2637,7 +2643,7 @@ class Series {
|
|
|
2637
2643
|
/**
|
|
2638
2644
|
* Remove a point from the series. Unlike the
|
|
2639
2645
|
* {@link Highcharts.Point#remove} method, this can also be done on a point
|
|
2640
|
-
* that is not
|
|
2646
|
+
* that is not instantiated because it is outside the view or subject to
|
|
2641
2647
|
* Highcharts Stock data grouping.
|
|
2642
2648
|
*
|
|
2643
2649
|
* @sample highcharts/members/series-removepoint/
|
|
@@ -2818,7 +2824,8 @@ class Series {
|
|
|
2818
2824
|
'level',
|
|
2819
2825
|
// Map specific, consider moving it to series-specific preserve-
|
|
2820
2826
|
// properties (#10617)
|
|
2821
|
-
'mapMap', 'mapData', 'minY', 'maxY', 'minX', 'maxX'
|
|
2827
|
+
'mapMap', 'mapData', 'minY', 'maxY', 'minX', 'maxX', 'transformGroups' // #18857
|
|
2828
|
+
);
|
|
2822
2829
|
if (options.visible !== false) {
|
|
2823
2830
|
preserve.push('area', 'graph');
|
|
2824
2831
|
}
|
|
@@ -2865,6 +2872,8 @@ class Series {
|
|
|
2865
2872
|
// reinserted within the `init` call below
|
|
2866
2873
|
series.remove(false, false, false, true);
|
|
2867
2874
|
if (casting) {
|
|
2875
|
+
// #20264: Re-detect a certain chart properties from new series
|
|
2876
|
+
chart.propFromSeries();
|
|
2868
2877
|
// Modern browsers including IE11
|
|
2869
2878
|
if (Object.setPrototypeOf) {
|
|
2870
2879
|
Object.setPrototypeOf(series, seriesTypes[newType].prototype);
|
|
@@ -2908,7 +2917,7 @@ class Series {
|
|
|
2908
2917
|
kinds.dataLabel = 1;
|
|
2909
2918
|
}
|
|
2910
2919
|
else {
|
|
2911
|
-
// If the
|
|
2920
|
+
// If the marker got disabled or changed its symbol, width or
|
|
2912
2921
|
// height - destroy
|
|
2913
2922
|
if (this.hasMarkerChanged(seriesOptions, oldOptions)) {
|
|
2914
2923
|
kinds.graphic = 1;
|
|
@@ -2974,7 +2983,7 @@ class Series {
|
|
|
2974
2983
|
*/
|
|
2975
2984
|
onMouseOver() {
|
|
2976
2985
|
const series = this, chart = series.chart, hoverSeries = chart.hoverSeries, pointer = chart.pointer;
|
|
2977
|
-
pointer
|
|
2986
|
+
pointer?.setHoverChartIndex();
|
|
2978
2987
|
// set normal state to previous series
|
|
2979
2988
|
if (hoverSeries && hoverSeries !== series) {
|
|
2980
2989
|
hoverSeries.onMouseOut();
|
|
@@ -3302,6 +3311,7 @@ extend(Series.prototype, {
|
|
|
3302
3311
|
coll: 'series',
|
|
3303
3312
|
colorCounter: 0,
|
|
3304
3313
|
directTouch: false,
|
|
3314
|
+
invertible: true,
|
|
3305
3315
|
isCartesian: true,
|
|
3306
3316
|
kdAxisArray: ['clientX', 'plotY'],
|
|
3307
3317
|
// Each point's x and y values are stored in this.xData and this.yData:
|
|
@@ -3363,7 +3373,7 @@ export default Series;
|
|
|
3363
3373
|
* @callback Highcharts.SeriesAfterAnimateCallbackFunction
|
|
3364
3374
|
*
|
|
3365
3375
|
* @param {Highcharts.Series} this
|
|
3366
|
-
* The series where the event
|
|
3376
|
+
* The series where the event occurred.
|
|
3367
3377
|
*
|
|
3368
3378
|
* @param {Highcharts.SeriesAfterAnimateEventObject} event
|
|
3369
3379
|
* Event arguments.
|
|
@@ -3388,7 +3398,7 @@ export default Series;
|
|
|
3388
3398
|
* @callback Highcharts.SeriesCheckboxClickCallbackFunction
|
|
3389
3399
|
*
|
|
3390
3400
|
* @param {Highcharts.Series} this
|
|
3391
|
-
* The series where the event
|
|
3401
|
+
* The series where the event occurred.
|
|
3392
3402
|
*
|
|
3393
3403
|
* @param {Highcharts.SeriesCheckboxClickEventObject} event
|
|
3394
3404
|
* Event arguments.
|
|
@@ -3421,7 +3431,7 @@ export default Series;
|
|
|
3421
3431
|
* @callback Highcharts.SeriesClickCallbackFunction
|
|
3422
3432
|
*
|
|
3423
3433
|
* @param {Highcharts.Series} this
|
|
3424
|
-
* The series where the event
|
|
3434
|
+
* The series where the event occurred.
|
|
3425
3435
|
*
|
|
3426
3436
|
* @param {Highcharts.SeriesClickEventObject} event
|
|
3427
3437
|
* Event arguments.
|
|
@@ -3443,10 +3453,10 @@ export default Series;
|
|
|
3443
3453
|
* @callback Highcharts.SeriesHideCallbackFunction
|
|
3444
3454
|
*
|
|
3445
3455
|
* @param {Highcharts.Series} this
|
|
3446
|
-
* The series where the event
|
|
3456
|
+
* The series where the event occurred.
|
|
3447
3457
|
*
|
|
3448
3458
|
* @param {global.Event} event
|
|
3449
|
-
* The event that
|
|
3459
|
+
* The event that occurred.
|
|
3450
3460
|
*/
|
|
3451
3461
|
/**
|
|
3452
3462
|
* The SVG value used for the `stroke-linecap` and `stroke-linejoin` of a line
|
|
@@ -3462,10 +3472,10 @@ export default Series;
|
|
|
3462
3472
|
* @callback Highcharts.SeriesLegendItemClickCallbackFunction
|
|
3463
3473
|
*
|
|
3464
3474
|
* @param {Highcharts.Series} this
|
|
3465
|
-
* The series where the event
|
|
3475
|
+
* The series where the event occurred.
|
|
3466
3476
|
*
|
|
3467
3477
|
* @param {Highcharts.SeriesLegendItemClickEventObject} event
|
|
3468
|
-
* The event that
|
|
3478
|
+
* The event that occurred.
|
|
3469
3479
|
*/
|
|
3470
3480
|
/**
|
|
3471
3481
|
* Information about the event.
|
|
@@ -3494,10 +3504,10 @@ export default Series;
|
|
|
3494
3504
|
* @callback Highcharts.SeriesMouseOutCallbackFunction
|
|
3495
3505
|
*
|
|
3496
3506
|
* @param {Highcharts.Series} this
|
|
3497
|
-
* Series where the event
|
|
3507
|
+
* Series where the event occurred.
|
|
3498
3508
|
*
|
|
3499
3509
|
* @param {global.PointerEvent} event
|
|
3500
|
-
* Event that
|
|
3510
|
+
* Event that occurred.
|
|
3501
3511
|
*/
|
|
3502
3512
|
/**
|
|
3503
3513
|
* Gets fired when the mouse enters the graph.
|
|
@@ -3505,10 +3515,10 @@ export default Series;
|
|
|
3505
3515
|
* @callback Highcharts.SeriesMouseOverCallbackFunction
|
|
3506
3516
|
*
|
|
3507
3517
|
* @param {Highcharts.Series} this
|
|
3508
|
-
* Series where the event
|
|
3518
|
+
* Series where the event occurred.
|
|
3509
3519
|
*
|
|
3510
3520
|
* @param {global.PointerEvent} event
|
|
3511
|
-
* Event that
|
|
3521
|
+
* Event that occurred.
|
|
3512
3522
|
*/
|
|
3513
3523
|
/**
|
|
3514
3524
|
* Translation and scale for the plot area of a series.
|
|
@@ -3534,10 +3544,10 @@ export default Series;
|
|
|
3534
3544
|
* @callback Highcharts.SeriesShowCallbackFunction
|
|
3535
3545
|
*
|
|
3536
3546
|
* @param {Highcharts.Series} this
|
|
3537
|
-
* Series where the event
|
|
3547
|
+
* Series where the event occurred.
|
|
3538
3548
|
*
|
|
3539
3549
|
* @param {global.Event} event
|
|
3540
|
-
* Event that
|
|
3550
|
+
* Event that occurred.
|
|
3541
3551
|
*/
|
|
3542
3552
|
/**
|
|
3543
3553
|
* Possible key values for the series state options.
|
|
@@ -3680,4 +3690,4 @@ export default Series;
|
|
|
3680
3690
|
* @product highcharts highstock
|
|
3681
3691
|
* @apioption series.zIndex
|
|
3682
3692
|
*/
|
|
3683
|
-
''; // include precedent doclets in
|
|
3693
|
+
''; // include precedent doclets in transpiled
|
|
@@ -29,7 +29,7 @@ class Series3D extends Series {
|
|
|
29
29
|
*
|
|
30
30
|
* */
|
|
31
31
|
static compose(SeriesClass) {
|
|
32
|
-
if (pushUnique(composed,
|
|
32
|
+
if (pushUnique(composed, 'Core.Series3D')) {
|
|
33
33
|
addEvent(SeriesClass, 'afterTranslate', function () {
|
|
34
34
|
if (this.chart.is3d()) {
|
|
35
35
|
this.translate3dPoints();
|
|
@@ -53,7 +53,7 @@ class Series3D extends Series {
|
|
|
53
53
|
const series = this, seriesOptions = series.options, chart = series.chart, zAxis = pick(series.zAxis, chart.options.zAxis[0]), rawPoints = [], rawPointsX = [], stack = seriesOptions.stacking ?
|
|
54
54
|
(isNumber(seriesOptions.stack) ? seriesOptions.stack : 0) :
|
|
55
55
|
series.index || 0;
|
|
56
|
-
let
|
|
56
|
+
let projectedPoint, zValue;
|
|
57
57
|
series.zPadding = stack *
|
|
58
58
|
(seriesOptions.depth || 0 + (seriesOptions.groupZPadding || 1));
|
|
59
59
|
series.data.forEach((rawPoint) => {
|
|
@@ -13,7 +13,7 @@ import D from '../Defaults.js';
|
|
|
13
13
|
const { defaultOptions } = D;
|
|
14
14
|
import Point from './Point.js';
|
|
15
15
|
import U from '../Utilities.js';
|
|
16
|
-
const { extendClass, merge } = U;
|
|
16
|
+
const { extend, extendClass, merge } = U;
|
|
17
17
|
/* *
|
|
18
18
|
*
|
|
19
19
|
* Namespace
|
|
@@ -47,10 +47,14 @@ var SeriesRegistry;
|
|
|
47
47
|
if (!seriesProto.pointClass) {
|
|
48
48
|
seriesProto.pointClass = Point;
|
|
49
49
|
}
|
|
50
|
+
if (SeriesRegistry.seriesTypes[seriesType]) {
|
|
51
|
+
return false;
|
|
52
|
+
}
|
|
50
53
|
if (seriesOptions) {
|
|
51
54
|
defaultPlotOptions[seriesType] = seriesOptions;
|
|
52
55
|
}
|
|
53
56
|
SeriesRegistry.seriesTypes[seriesType] = SeriesClass;
|
|
57
|
+
return true;
|
|
54
58
|
}
|
|
55
59
|
SeriesRegistry.registerSeriesType = registerSeriesType;
|
|
56
60
|
/**
|
|
@@ -86,11 +90,15 @@ var SeriesRegistry;
|
|
|
86
90
|
// Merge the options
|
|
87
91
|
defaultPlotOptions[type] = merge(defaultPlotOptions[parent], options);
|
|
88
92
|
// Create the class
|
|
93
|
+
delete SeriesRegistry.seriesTypes[type];
|
|
89
94
|
registerSeriesType(type, extendClass(SeriesRegistry.seriesTypes[parent] || function () { }, seriesProto));
|
|
90
95
|
SeriesRegistry.seriesTypes[type].prototype.type = type;
|
|
91
96
|
// Create the point class if needed
|
|
92
97
|
if (pointProto) {
|
|
93
|
-
|
|
98
|
+
class PointClass extends Point {
|
|
99
|
+
}
|
|
100
|
+
extend(PointClass.prototype, pointProto);
|
|
101
|
+
SeriesRegistry.seriesTypes[type].prototype.pointClass = PointClass;
|
|
94
102
|
}
|
|
95
103
|
return SeriesRegistry.seriesTypes[type];
|
|
96
104
|
}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
import D from './Defaults.js';
|
|
12
12
|
const { defaultOptions, defaultTime } = D;
|
|
13
13
|
import U from './Utilities.js';
|
|
14
|
-
const { extend, getNestedProperty, isArray, isNumber, isObject,
|
|
14
|
+
const { extend, getNestedProperty, isArray, isNumber, isObject, pick, pInt } = U;
|
|
15
15
|
const helpers = {
|
|
16
16
|
// Built-in helpers
|
|
17
17
|
add: (a, b) => a + b,
|
package/es-modules/Core/Time.js
CHANGED
|
@@ -290,12 +290,16 @@ class Time {
|
|
|
290
290
|
if (options.timezone) {
|
|
291
291
|
return (timestamp) => {
|
|
292
292
|
try {
|
|
293
|
-
|
|
294
|
-
//
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
293
|
+
// Cache the DateTimeFormat instances for performance
|
|
294
|
+
// (#20720)
|
|
295
|
+
const cacheKey = `shortOffset,${options.timezone || ''}`, dateTimeFormat = Time.formatCache[cacheKey] = (Time.formatCache[cacheKey] ||
|
|
296
|
+
// eslint-disable-next-line new-cap
|
|
297
|
+
Intl.DateTimeFormat('en', {
|
|
298
|
+
timeZone: options.timezone,
|
|
299
|
+
timeZoneName: 'shortOffset'
|
|
300
|
+
}));
|
|
301
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
302
|
+
const [date, gmt, hours, colon, minutes = 0] = dateTimeFormat
|
|
299
303
|
.format(timestamp)
|
|
300
304
|
.split(/(GMT|:)/)
|
|
301
305
|
.map(Number), offset = -(hours + minutes / 60) * 60 * 60000;
|
|
@@ -421,7 +425,7 @@ class Time {
|
|
|
421
425
|
p: hours < 12 ? 'AM' : 'PM',
|
|
422
426
|
// Lower case AM or PM
|
|
423
427
|
P: hours < 12 ? 'am' : 'pm',
|
|
424
|
-
// Two digits seconds, 00 through
|
|
428
|
+
// Two digits seconds, 00 through 59
|
|
425
429
|
S: pad(this.get('Seconds', date)),
|
|
426
430
|
// Milliseconds (naming from Ruby)
|
|
427
431
|
L: pad(Math.floor(timestamp % 1000), 3)
|
|
@@ -670,6 +674,7 @@ class Time {
|
|
|
670
674
|
return this.resolveDTLFormat(dateTimeLabelFormats[n]).main;
|
|
671
675
|
}
|
|
672
676
|
}
|
|
677
|
+
Time.formatCache = {};
|
|
673
678
|
/* *
|
|
674
679
|
*
|
|
675
680
|
* Default export
|