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
|
@@ -472,12 +472,22 @@ const Options = {
|
|
|
472
472
|
/**
|
|
473
473
|
* Theme to apply to the chart when Windows High Contrast Mode is
|
|
474
474
|
* detected. By default, a high contrast theme matching the high
|
|
475
|
-
* contrast system
|
|
475
|
+
* contrast system colors is used.
|
|
476
476
|
*
|
|
477
477
|
* @type {*}
|
|
478
478
|
* @since 7.1.3
|
|
479
479
|
* @apioption accessibility.highContrastTheme
|
|
480
480
|
*/
|
|
481
|
+
/**
|
|
482
|
+
* Controls how [highContrastTheme](#accessibility.highContrastTheme)
|
|
483
|
+
* is applied.
|
|
484
|
+
*
|
|
485
|
+
* The default option is `auto`, which applies the high contrast theme
|
|
486
|
+
* the user's system has a high contrast theme active.
|
|
487
|
+
*
|
|
488
|
+
* @since 11.4.0
|
|
489
|
+
*/
|
|
490
|
+
highContrastMode: 'auto',
|
|
481
491
|
/**
|
|
482
492
|
* A text description of the chart.
|
|
483
493
|
*
|
|
@@ -150,7 +150,7 @@ class ProxyElement {
|
|
|
150
150
|
fireEventOnWrappedOrUnwrappedElement(target, clonedEvent);
|
|
151
151
|
}
|
|
152
152
|
e.stopPropagation();
|
|
153
|
-
// #9682, #15318: Touch scrolling
|
|
153
|
+
// #9682, #15318: Touch scrolling didn't work when touching
|
|
154
154
|
// proxy
|
|
155
155
|
if (!isTouchEvent) {
|
|
156
156
|
e.preventDefault();
|
|
@@ -188,9 +188,9 @@ class ProxyElement {
|
|
|
188
188
|
clickTarget.element :
|
|
189
189
|
clickTarget;
|
|
190
190
|
const posElement = this.target.visual || clickTargetElement;
|
|
191
|
-
const chartDiv = this.chart.renderTo;
|
|
192
|
-
if (chartDiv && posElement &&
|
|
193
|
-
const rectEl = posElement.getBoundingClientRect(), chartPos =
|
|
191
|
+
const chartDiv = this.chart.renderTo, pointer = this.chart.pointer;
|
|
192
|
+
if (chartDiv && posElement?.getBoundingClientRect && pointer) {
|
|
193
|
+
const rectEl = posElement.getBoundingClientRect(), chartPos = pointer.getChartPosition();
|
|
194
194
|
return {
|
|
195
195
|
x: (rectEl.left - chartPos.left) / chartPos.scaleX,
|
|
196
196
|
y: (rectEl.top - chartPos.top) / chartPos.scaleY,
|
|
@@ -22,7 +22,7 @@ import CU from './Utils/ChartUtilities.js';
|
|
|
22
22
|
const { unhideChartElementFromAT } = CU;
|
|
23
23
|
import DOMElementProvider from './Utils/DOMElementProvider.js';
|
|
24
24
|
import HU from './Utils/HTMLUtilities.js';
|
|
25
|
-
const {
|
|
25
|
+
const { removeChildNodes } = HU;
|
|
26
26
|
import ProxyElement from './ProxyElement.js';
|
|
27
27
|
/* *
|
|
28
28
|
*
|
|
@@ -181,7 +181,13 @@ class ProxyProvider {
|
|
|
181
181
|
removeGroup(groupKey) {
|
|
182
182
|
const group = this.groups[groupKey];
|
|
183
183
|
if (group) {
|
|
184
|
-
|
|
184
|
+
// Remove detached HTML elements to prevent memory leak (#20329).
|
|
185
|
+
this.domElementProvider.removeElement(group.groupElement);
|
|
186
|
+
// Sometimes groupElement is a wrapper around the proxyContainer, so
|
|
187
|
+
// the real one proxyContainer needs to be removed also.
|
|
188
|
+
if (group.groupElement !== group.proxyContainerElement) {
|
|
189
|
+
this.domElementProvider.removeElement(group.proxyContainerElement);
|
|
190
|
+
}
|
|
185
191
|
delete this.groups[groupKey];
|
|
186
192
|
}
|
|
187
193
|
}
|
|
@@ -42,6 +42,14 @@ class DOMElementProvider {
|
|
|
42
42
|
this.elements.push(el);
|
|
43
43
|
return el;
|
|
44
44
|
}
|
|
45
|
+
/**
|
|
46
|
+
* Destroy created element, removing it from the DOM.
|
|
47
|
+
* @private
|
|
48
|
+
*/
|
|
49
|
+
removeElement(element) {
|
|
50
|
+
removeElement(element);
|
|
51
|
+
this.elements.splice(this.elements.indexOf(element), 1);
|
|
52
|
+
}
|
|
45
53
|
/**
|
|
46
54
|
* Destroy all created elements, removing them from the DOM.
|
|
47
55
|
* @private
|
|
@@ -40,6 +40,15 @@ class EventProvider {
|
|
|
40
40
|
this.eventRemovers.push(remover);
|
|
41
41
|
return remover;
|
|
42
42
|
}
|
|
43
|
+
/**
|
|
44
|
+
* Remove added event.
|
|
45
|
+
* @private
|
|
46
|
+
*/
|
|
47
|
+
removeEvent(event) {
|
|
48
|
+
const pos = this.eventRemovers.indexOf(event);
|
|
49
|
+
this.eventRemovers[pos]();
|
|
50
|
+
this.eventRemovers.splice(pos, 1);
|
|
51
|
+
}
|
|
43
52
|
/**
|
|
44
53
|
* Remove all added events.
|
|
45
54
|
* @private
|
|
@@ -288,7 +288,7 @@ class Fx {
|
|
|
288
288
|
* Copy and append last point until the length matches the end length.
|
|
289
289
|
* @private
|
|
290
290
|
*/
|
|
291
|
-
function append(arr
|
|
291
|
+
function append(arr) {
|
|
292
292
|
while (arr.length < fullLength) {
|
|
293
293
|
// Pull out the slice that is going to be appended or inserted.
|
|
294
294
|
// In a line graph, the positionFactor is 1, and the last point
|
|
@@ -344,11 +344,11 @@ class Fx {
|
|
|
344
344
|
fullLength = end.length + shift * positionFactor;
|
|
345
345
|
if (!reverse) {
|
|
346
346
|
prepend(end, start);
|
|
347
|
-
append(start
|
|
347
|
+
append(start);
|
|
348
348
|
}
|
|
349
349
|
else {
|
|
350
350
|
prepend(start, end);
|
|
351
|
-
append(end
|
|
351
|
+
append(end);
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
354
|
return [start, end];
|
|
@@ -23,7 +23,7 @@ import Tick from './Tick.js';
|
|
|
23
23
|
import U from '../Utilities.js';
|
|
24
24
|
const { arrayMax, arrayMin, clamp, correctFloat, defined, destroyObjectProperties, erase, error, extend, fireEvent, getClosestDistance, insertItem, isArray, isNumber, isString, merge, normalizeTickInterval, objectEach, pick, relativeLength, removeEvent, splat, syncTimeout } = U;
|
|
25
25
|
const getNormalizedTickInterval = (axis, tickInterval) => normalizeTickInterval(tickInterval, void 0, void 0, pick(axis.options.allowDecimals,
|
|
26
|
-
// If the tick interval is
|
|
26
|
+
// If the tick interval is greater than 0.5, avoid decimals, as
|
|
27
27
|
// linear axes are often used to render discrete values (#3363). If
|
|
28
28
|
// a tick amount is set, allow decimals by default, as it increases
|
|
29
29
|
// the chances for a good fit.
|
|
@@ -35,7 +35,7 @@ extend(defaultOptions, { xAxis, yAxis: merge(xAxis, yAxis) });
|
|
|
35
35
|
*
|
|
36
36
|
* */
|
|
37
37
|
/**
|
|
38
|
-
* Create a new axis object. Called internally when
|
|
38
|
+
* Create a new axis object. Called internally when instantiating a new chart or
|
|
39
39
|
* adding axes by {@link Highcharts.Chart#addAxis}.
|
|
40
40
|
*
|
|
41
41
|
* A chart can have from 0 axes (pie chart) to multiples. In a normal, single
|
|
@@ -199,7 +199,7 @@ class Axis {
|
|
|
199
199
|
// Flag, if axis is linked to another axis
|
|
200
200
|
axis.isLinked = defined(options.linkedTo);
|
|
201
201
|
/**
|
|
202
|
-
* List of major ticks mapped by
|
|
202
|
+
* List of major ticks mapped by position on axis.
|
|
203
203
|
*
|
|
204
204
|
* @see {@link Highcharts.Tick}
|
|
205
205
|
*
|
|
@@ -221,7 +221,12 @@ class Axis {
|
|
|
221
221
|
axis.plotLinesAndBands = [];
|
|
222
222
|
// Alternate bands
|
|
223
223
|
axis.alternateBands = {};
|
|
224
|
-
|
|
224
|
+
/**
|
|
225
|
+
* The length of the axis in terms of pixels.
|
|
226
|
+
*
|
|
227
|
+
* @name Highcharts.Axis#len
|
|
228
|
+
* @type {number}
|
|
229
|
+
*/
|
|
225
230
|
axis.len = 0;
|
|
226
231
|
axis.minRange = axis.userMinRange = options.minRange || options.maxZoom;
|
|
227
232
|
axis.range = options.range;
|
|
@@ -331,7 +336,7 @@ class Axis {
|
|
|
331
336
|
* @return {string}
|
|
332
337
|
* The formatted label content.
|
|
333
338
|
*/
|
|
334
|
-
defaultLabelFormatter(
|
|
339
|
+
defaultLabelFormatter() {
|
|
335
340
|
const axis = this.axis, chart = this.chart, { numberFormatter } = chart, value = isNumber(this.value) ? this.value : NaN, time = axis.chart.time, categories = axis.categories, dateTimeLabelFormat = this.dateTimeLabelFormat, lang = defaultOptions.lang, numericSymbols = lang.numericSymbols, numSymMagnitude = lang.numericSymbolMagnitude || 1000,
|
|
336
341
|
// Make sure the same symbol is added for all labels on a linear
|
|
337
342
|
// axis
|
|
@@ -615,12 +620,12 @@ class Axis {
|
|
|
615
620
|
}
|
|
616
621
|
else if (axis.horiz) {
|
|
617
622
|
y1 = axisTop;
|
|
618
|
-
y2 = cHeight - axis.bottom;
|
|
623
|
+
y2 = cHeight - axis.bottom + (chart.scrollablePixelsY || 0);
|
|
619
624
|
x1 = x2 = between(x1, axisLeft, axisLeft + axis.width);
|
|
620
625
|
}
|
|
621
626
|
else {
|
|
622
627
|
x1 = axisLeft;
|
|
623
|
-
x2 = cWidth - axis.right;
|
|
628
|
+
x2 = cWidth - axis.right + (chart.scrollablePixelsX || 0);
|
|
624
629
|
y1 = y2 = between(y1, axisTop, axisTop + axis.height);
|
|
625
630
|
}
|
|
626
631
|
e.path = skip && !force ?
|
|
@@ -804,7 +809,7 @@ class Axis {
|
|
|
804
809
|
min + minRange,
|
|
805
810
|
pick(options.max, min + minRange)
|
|
806
811
|
];
|
|
807
|
-
// If space is
|
|
812
|
+
// If space is available, stay within the data range
|
|
808
813
|
if (spaceAvailable) {
|
|
809
814
|
maxArgs[2] = logarithmic ?
|
|
810
815
|
logarithmic.log2lin(axis.dataMax) :
|
|
@@ -885,7 +890,7 @@ class Axis {
|
|
|
885
890
|
pick(names.keys[point.name], -1)) :
|
|
886
891
|
point.series.autoIncrement();
|
|
887
892
|
}
|
|
888
|
-
if (nameX === -1) { // Not found in
|
|
893
|
+
if (nameX === -1) { // Not found in current categories
|
|
889
894
|
if (!explicitCategories && names) {
|
|
890
895
|
x = names.length;
|
|
891
896
|
}
|
|
@@ -1202,7 +1207,7 @@ class Axis {
|
|
|
1202
1207
|
axis.tickInterval = pick(tickIntervalOption, this.tickAmount ?
|
|
1203
1208
|
range / Math.max(this.tickAmount - 1, 1) :
|
|
1204
1209
|
void 0,
|
|
1205
|
-
// For
|
|
1210
|
+
// For categorized axis, 1 is default, for linear axis use
|
|
1206
1211
|
// tickPix
|
|
1207
1212
|
categories ?
|
|
1208
1213
|
1 :
|
|
@@ -1266,7 +1271,7 @@ class Axis {
|
|
|
1266
1271
|
* @emits Highcharts.Axis#event:afterSetTickPositions
|
|
1267
1272
|
*/
|
|
1268
1273
|
setTickPositions() {
|
|
1269
|
-
const axis = this, options = this.options, tickPositionsOption = options.tickPositions, tickPositioner = options.tickPositioner, minorTickIntervalOption = this.getMinorTickInterval(),
|
|
1274
|
+
const axis = this, options = this.options, tickPositionsOption = options.tickPositions, tickPositioner = options.tickPositioner, minorTickIntervalOption = this.getMinorTickInterval(), allowEndOnTick = !this.isPanning, startOnTick = allowEndOnTick && options.startOnTick, endOnTick = allowEndOnTick && options.endOnTick;
|
|
1270
1275
|
let tickPositions = [], tickPositionerResult;
|
|
1271
1276
|
// Set the tickmarkOffset
|
|
1272
1277
|
this.tickmarkOffset = (this.categories &&
|
|
@@ -1439,7 +1444,7 @@ class Axis {
|
|
|
1439
1444
|
* True if there are other axes.
|
|
1440
1445
|
*/
|
|
1441
1446
|
alignToOthers() {
|
|
1442
|
-
const axis = this, alignedAxes = [this], options = axis.options, chartOptions =
|
|
1447
|
+
const axis = this, chart = axis.chart, alignedAxes = [this], options = axis.options, chartOptions = chart.options.chart, alignThresholds = (this.coll === 'yAxis' &&
|
|
1443
1448
|
chartOptions.alignThresholds), thresholdAlignments = [];
|
|
1444
1449
|
let hasOther;
|
|
1445
1450
|
axis.thresholdAlignment = void 0;
|
|
@@ -1464,7 +1469,7 @@ class Axis {
|
|
|
1464
1469
|
].join(',');
|
|
1465
1470
|
};
|
|
1466
1471
|
const thisKey = getKey(this);
|
|
1467
|
-
|
|
1472
|
+
chart[this.coll].forEach(function (otherAxis) {
|
|
1468
1473
|
const { series } = otherAxis;
|
|
1469
1474
|
if (
|
|
1470
1475
|
// #4442
|
|
@@ -1720,10 +1725,10 @@ class Axis {
|
|
|
1720
1725
|
else if (stacking) {
|
|
1721
1726
|
stacking.cleanStacks();
|
|
1722
1727
|
}
|
|
1723
|
-
// Recalculate
|
|
1724
|
-
//
|
|
1725
|
-
if (isDirtyData
|
|
1726
|
-
axis.
|
|
1728
|
+
// Recalculate all extremes object when the data has changed. It is
|
|
1729
|
+
// required when vertical panning is enabled.
|
|
1730
|
+
if (isDirtyData) {
|
|
1731
|
+
delete axis.allExtremes;
|
|
1727
1732
|
}
|
|
1728
1733
|
fireEvent(this, 'afterSetScale');
|
|
1729
1734
|
}
|
|
@@ -1764,75 +1769,22 @@ class Axis {
|
|
|
1764
1769
|
*
|
|
1765
1770
|
* @emits Highcharts.Axis#event:setExtremes
|
|
1766
1771
|
*/
|
|
1767
|
-
setExtremes(
|
|
1768
|
-
|
|
1769
|
-
axis.series.forEach((serie) => {
|
|
1772
|
+
setExtremes(min, max, redraw = true, animation, eventArguments) {
|
|
1773
|
+
this.series.forEach((serie) => {
|
|
1770
1774
|
delete serie.kdTree;
|
|
1771
1775
|
});
|
|
1772
1776
|
// Extend the arguments with min and max
|
|
1773
|
-
eventArguments = extend(eventArguments, {
|
|
1774
|
-
min: newMin,
|
|
1775
|
-
max: newMax
|
|
1776
|
-
});
|
|
1777
|
+
eventArguments = extend(eventArguments, { min, max });
|
|
1777
1778
|
// Fire the event
|
|
1778
|
-
fireEvent(
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1779
|
+
fireEvent(this, 'setExtremes', eventArguments, (e) => {
|
|
1780
|
+
this.userMin = e.min;
|
|
1781
|
+
this.userMax = e.max;
|
|
1782
|
+
this.eventArgs = e;
|
|
1782
1783
|
if (redraw) {
|
|
1783
|
-
chart.redraw(animation);
|
|
1784
|
+
this.chart.redraw(animation);
|
|
1784
1785
|
}
|
|
1785
1786
|
});
|
|
1786
1787
|
}
|
|
1787
|
-
/**
|
|
1788
|
-
* Overridable method for zooming chart. Pulled out in a separate method to
|
|
1789
|
-
* allow overriding in stock charts.
|
|
1790
|
-
*
|
|
1791
|
-
* @private
|
|
1792
|
-
* @function Highcharts.Axis#zoom
|
|
1793
|
-
*/
|
|
1794
|
-
zoom(newMin, newMax) {
|
|
1795
|
-
const axis = this, dataMin = this.dataMin, dataMax = this.dataMax, options = this.options, min = Math.min(dataMin, pick(options.min, dataMin)), max = Math.max(dataMax, pick(options.max, dataMax)), evt = {
|
|
1796
|
-
newMin: newMin,
|
|
1797
|
-
newMax: newMax
|
|
1798
|
-
};
|
|
1799
|
-
fireEvent(this, 'zoom', evt, function (e) {
|
|
1800
|
-
// Use e.newMin and e.newMax - event handlers may have altered them
|
|
1801
|
-
let newMin = e.newMin, newMax = e.newMax;
|
|
1802
|
-
if (newMin !== axis.min || newMax !== axis.max) { // #5790
|
|
1803
|
-
// Prevent pinch zooming out of range. Check for defined is for
|
|
1804
|
-
// #1946. #1734.
|
|
1805
|
-
if (!axis.allowZoomOutside) {
|
|
1806
|
-
// #6014, sometimes newMax will be smaller than min (or
|
|
1807
|
-
// newMin will be larger than max).
|
|
1808
|
-
if (defined(dataMin)) {
|
|
1809
|
-
if (newMin < min) {
|
|
1810
|
-
newMin = min;
|
|
1811
|
-
}
|
|
1812
|
-
if (newMin > max) {
|
|
1813
|
-
newMin = max;
|
|
1814
|
-
}
|
|
1815
|
-
}
|
|
1816
|
-
if (defined(dataMax)) {
|
|
1817
|
-
if (newMax < min) {
|
|
1818
|
-
newMax = min;
|
|
1819
|
-
}
|
|
1820
|
-
if (newMax > max) {
|
|
1821
|
-
newMax = max;
|
|
1822
|
-
}
|
|
1823
|
-
}
|
|
1824
|
-
}
|
|
1825
|
-
// In full view, displaying the reset zoom button is not
|
|
1826
|
-
// required
|
|
1827
|
-
axis.displayBtn = (typeof newMin !== 'undefined' ||
|
|
1828
|
-
typeof newMax !== 'undefined');
|
|
1829
|
-
// Do it
|
|
1830
|
-
axis.setExtremes(newMin, newMax, false, void 0, { trigger: 'zoom' });
|
|
1831
|
-
}
|
|
1832
|
-
e.zoomed = true;
|
|
1833
|
-
});
|
|
1834
|
-
return evt.zoomed;
|
|
1835
|
-
}
|
|
1836
1788
|
/**
|
|
1837
1789
|
* Update the axis metrics.
|
|
1838
1790
|
*
|
|
@@ -1851,6 +1803,15 @@ class Axis {
|
|
|
1851
1803
|
this.right = chart.chartWidth - width - left;
|
|
1852
1804
|
// Direction agnostic properties
|
|
1853
1805
|
this.len = Math.max(horiz ? width : height, 0); // Math.max fixes #905
|
|
1806
|
+
/**
|
|
1807
|
+
* The position of the axis in terms of pixels, compared to the chart
|
|
1808
|
+
* edge. In a horizontal axis it is the same as `chart.plotLeft` unless
|
|
1809
|
+
* the axis is explicitly positioned, and in a default vertical axis it
|
|
1810
|
+
* is the same as `chart.plotTop`.
|
|
1811
|
+
*
|
|
1812
|
+
* @name Highcharts.Axis#pos
|
|
1813
|
+
* @type {number}
|
|
1814
|
+
*/
|
|
1854
1815
|
this.pos = horiz ? left : top; // Distance from SVG origin
|
|
1855
1816
|
}
|
|
1856
1817
|
/**
|
|
@@ -2137,8 +2098,7 @@ class Axis {
|
|
|
2137
2098
|
if (label) {
|
|
2138
2099
|
// Reset ellipsis in order to get the correct
|
|
2139
2100
|
// bounding box (#4070)
|
|
2140
|
-
if (label.styles
|
|
2141
|
-
label.styles.textOverflow === 'ellipsis') {
|
|
2101
|
+
if (label.styles.textOverflow === 'ellipsis') {
|
|
2142
2102
|
label.css({ textOverflow: 'clip' });
|
|
2143
2103
|
// Set the correct width in order to read
|
|
2144
2104
|
// the bounding box height (#4678, #5034)
|
|
@@ -2196,10 +2156,7 @@ class Axis {
|
|
|
2196
2156
|
label.css(css);
|
|
2197
2157
|
// Reset previously shortened label (#8210)
|
|
2198
2158
|
}
|
|
2199
|
-
else if (label.styles &&
|
|
2200
|
-
label.styles.width &&
|
|
2201
|
-
!css.width &&
|
|
2202
|
-
!widthOption) {
|
|
2159
|
+
else if (label.styles.width && !css.width && !widthOption) {
|
|
2203
2160
|
label.css({ width: null });
|
|
2204
2161
|
}
|
|
2205
2162
|
delete label.specificTextOverflow;
|
|
@@ -2736,7 +2693,8 @@ class Axis {
|
|
|
2736
2693
|
axis.stacking.renderStackTotals();
|
|
2737
2694
|
}
|
|
2738
2695
|
// End stacked totals
|
|
2739
|
-
// Record old scaling for updating/animation
|
|
2696
|
+
// Record old scaling for updating/animation. Pinch base must be
|
|
2697
|
+
// preserved until the pinch ends.
|
|
2740
2698
|
axis.old = {
|
|
2741
2699
|
len: axis.len,
|
|
2742
2700
|
max: axis.max,
|
|
@@ -2954,18 +2912,6 @@ class Axis {
|
|
|
2954
2912
|
}
|
|
2955
2913
|
fireEvent(this, 'afterHideCrosshair');
|
|
2956
2914
|
}
|
|
2957
|
-
/**
|
|
2958
|
-
* Check whether the chart has vertical panning ('y' or 'xy' type).
|
|
2959
|
-
*
|
|
2960
|
-
* @private
|
|
2961
|
-
* @function Highcharts.Axis#hasVerticalPanning
|
|
2962
|
-
*/
|
|
2963
|
-
hasVerticalPanning() {
|
|
2964
|
-
const panningOptions = this.chart.options.chart.panning;
|
|
2965
|
-
return Boolean(panningOptions &&
|
|
2966
|
-
panningOptions.enabled && // #14624
|
|
2967
|
-
/y/.test(panningOptions.type));
|
|
2968
|
-
}
|
|
2969
2915
|
/**
|
|
2970
2916
|
* Update an axis object with a new set of options. The options are merged
|
|
2971
2917
|
* with the existing options, so only new or altered options need to be
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
*
|
|
3
3
|
* (c) 2010-2024 Torstein Honsi
|
|
4
4
|
*
|
|
5
|
-
*
|
|
5
|
+
* Extension for 3d axes
|
|
6
6
|
*
|
|
7
7
|
* License: www.highcharts.com/license
|
|
8
8
|
*
|
|
@@ -14,12 +14,12 @@ import Axis3DDefaults from './Axis3DDefaults.js';
|
|
|
14
14
|
import D from '../Defaults.js';
|
|
15
15
|
const { defaultOptions } = D;
|
|
16
16
|
import H from '../Globals.js';
|
|
17
|
-
const {
|
|
17
|
+
const { deg2rad } = H;
|
|
18
18
|
import Math3D from '../Math3D.js';
|
|
19
19
|
const { perspective, perspective3D, shapeArea } = Math3D;
|
|
20
20
|
import Tick3D from './Tick3DComposition.js';
|
|
21
21
|
import U from '../Utilities.js';
|
|
22
|
-
const { addEvent, merge, pick,
|
|
22
|
+
const { addEvent, merge, pick, wrap } = U;
|
|
23
23
|
/* *
|
|
24
24
|
*
|
|
25
25
|
* Functions
|
|
@@ -251,7 +251,7 @@ class Axis3DAdditions {
|
|
|
251
251
|
*/
|
|
252
252
|
static compose(AxisClass, TickClass) {
|
|
253
253
|
Tick3D.compose(TickClass);
|
|
254
|
-
if (
|
|
254
|
+
if (!AxisClass.keepProps.includes('axis3D')) {
|
|
255
255
|
merge(true, defaultOptions.xAxis, Axis3DDefaults);
|
|
256
256
|
AxisClass.keepProps.push('axis3D');
|
|
257
257
|
addEvent(AxisClass, 'init', onAxisInit);
|
|
@@ -396,7 +396,7 @@ class Axis3DAdditions {
|
|
|
396
396
|
}
|
|
397
397
|
}
|
|
398
398
|
else if (positionMode === 'ortho') {
|
|
399
|
-
// Labels will be rotated to be
|
|
399
|
+
// Labels will be rotated to be orthogonal to the axis
|
|
400
400
|
if (!axis.horiz) { // Y Axis
|
|
401
401
|
vecX = { x: Math.cos(beta), y: 0, z: Math.sin(beta) };
|
|
402
402
|
}
|
|
@@ -1422,15 +1422,26 @@ var AxisDefaults;
|
|
|
1422
1422
|
*/
|
|
1423
1423
|
/**
|
|
1424
1424
|
* Additional range on the right side of the xAxis. Works similar to
|
|
1425
|
-
* `xAxis.maxPadding`, but value is set in
|
|
1426
|
-
*
|
|
1427
|
-
* navigator's `xAxis` to maintain consistent behavior during
|
|
1428
|
-
* interactions such as dragging or resizing the navigator.
|
|
1425
|
+
* `xAxis.maxPadding`, but the value is set in terms of axis values,
|
|
1426
|
+
* percentage or pixels.
|
|
1429
1427
|
*
|
|
1430
|
-
*
|
|
1431
|
-
*
|
|
1428
|
+
* If it's a number, it is interpreted as axis values, which in a
|
|
1429
|
+
* datetime axis equals milliseconds.
|
|
1432
1430
|
*
|
|
1433
|
-
*
|
|
1431
|
+
* If it's a percentage string, is interpreted as percentages of axis
|
|
1432
|
+
* length. An overscroll of 50% will make a 100px axis 50px longer.
|
|
1433
|
+
*
|
|
1434
|
+
* If it's a pixel string, it is interpreted as a fixed pixel value, but
|
|
1435
|
+
* limited to 90% of the axis length.
|
|
1436
|
+
*
|
|
1437
|
+
* @sample {highstock} stock/xaxis/overscroll/ One minute overscroll
|
|
1438
|
+
* with live data
|
|
1439
|
+
* @sample {highstock} stock/xaxis/overscroll-percent/ Overscroll set in
|
|
1440
|
+
* percentage
|
|
1441
|
+
* @sample {highstock} stock/xaxis/overscroll-pixel/ Overscroll set in
|
|
1442
|
+
* pixels
|
|
1443
|
+
*
|
|
1444
|
+
* @type {number | string}
|
|
1434
1445
|
* @default 0
|
|
1435
1446
|
* @since 6.0.0
|
|
1436
1447
|
* @product highstock
|
|
@@ -8,11 +8,9 @@
|
|
|
8
8
|
*
|
|
9
9
|
* */
|
|
10
10
|
'use strict';
|
|
11
|
-
import H from '../Globals.js';
|
|
12
|
-
const { composed } = H;
|
|
13
11
|
import StackItem from './Stacking/StackItem.js';
|
|
14
12
|
import U from '../Utilities.js';
|
|
15
|
-
const { addEvent, find, fireEvent, isArray, isNumber, pick
|
|
13
|
+
const { addEvent, find, fireEvent, isArray, isNumber, pick } = U;
|
|
16
14
|
/* *
|
|
17
15
|
*
|
|
18
16
|
* Composition
|
|
@@ -39,7 +37,7 @@ var BrokenAxis;
|
|
|
39
37
|
* @private
|
|
40
38
|
*/
|
|
41
39
|
function compose(AxisClass, SeriesClass) {
|
|
42
|
-
if (
|
|
40
|
+
if (!AxisClass.keepProps.includes('brokenAxis')) {
|
|
43
41
|
AxisClass.keepProps.push('brokenAxis');
|
|
44
42
|
addEvent(AxisClass, 'init', onAxisInit);
|
|
45
43
|
addEvent(AxisClass, 'afterInit', onAxisAfterInit);
|
|
@@ -440,7 +438,7 @@ var BrokenAxis;
|
|
|
440
438
|
}
|
|
441
439
|
/**
|
|
442
440
|
* Dynamically set or unset breaks in an axis. This function in lighter
|
|
443
|
-
* than
|
|
441
|
+
* than using Axis.update, and it also preserves animation.
|
|
444
442
|
*
|
|
445
443
|
* @private
|
|
446
444
|
* @function Highcharts.Axis#setBreaks
|
|
@@ -568,7 +566,7 @@ var BrokenAxis;
|
|
|
568
566
|
});
|
|
569
567
|
brokenAxis.breakArray = breakArray;
|
|
570
568
|
// Used with staticScale, and below the actual axis
|
|
571
|
-
// length, when breaks are
|
|
569
|
+
// length, when breaks are subtracted.
|
|
572
570
|
if (isNumber(min) &&
|
|
573
571
|
isNumber(max) &&
|
|
574
572
|
isNumber(axis.min)) {
|
|
@@ -243,7 +243,7 @@ class ColorAxis extends Axis {
|
|
|
243
243
|
(horiz ?
|
|
244
244
|
itemDistance :
|
|
245
245
|
pick(labelOptions.x, labelOptions.distance) +
|
|
246
|
-
this.maxLabelLength));
|
|
246
|
+
(this.maxLabelLength || 0)));
|
|
247
247
|
legendItem.labelHeight = height + padding + (horiz ? labelPadding : 0);
|
|
248
248
|
}
|
|
249
249
|
/**
|
|
@@ -506,6 +506,7 @@ class ColorAxis extends Axis {
|
|
|
506
506
|
const affectedSeries = [];
|
|
507
507
|
for (const point of getPointsInDataClass(i)) {
|
|
508
508
|
point.setVisible(vis);
|
|
509
|
+
point.hiddenInDataClass = !vis; // #20441
|
|
509
510
|
if (affectedSeries.indexOf(point.series) === -1) {
|
|
510
511
|
affectedSeries.push(point.series);
|
|
511
512
|
}
|
|
@@ -10,10 +10,8 @@
|
|
|
10
10
|
'use strict';
|
|
11
11
|
import Color from '../../Color/Color.js';
|
|
12
12
|
const { parse: color } = Color;
|
|
13
|
-
import H from '../../Globals.js';
|
|
14
|
-
const { composed } = H;
|
|
15
13
|
import U from '../../Utilities.js';
|
|
16
|
-
const { addEvent, extend, merge, pick,
|
|
14
|
+
const { addEvent, extend, merge, pick, splat } = U;
|
|
17
15
|
/* *
|
|
18
16
|
*
|
|
19
17
|
* Composition
|
|
@@ -41,9 +39,9 @@ var ColorAxisComposition;
|
|
|
41
39
|
* @private
|
|
42
40
|
*/
|
|
43
41
|
function compose(ColorAxisClass, ChartClass, FxClass, LegendClass, SeriesClass) {
|
|
44
|
-
|
|
42
|
+
const chartProto = ChartClass.prototype, fxProto = FxClass.prototype, seriesProto = SeriesClass.prototype;
|
|
43
|
+
if (!chartProto.collectionsWithUpdate.includes('colorAxis')) {
|
|
45
44
|
ColorAxisConstructor = ColorAxisClass;
|
|
46
|
-
const chartProto = ChartClass.prototype, fxProto = FxClass.prototype, seriesProto = SeriesClass.prototype;
|
|
47
45
|
chartProto.collectionsWithUpdate.push('colorAxis');
|
|
48
46
|
chartProto.collectionsWithInit.colorAxis = [
|
|
49
47
|
chartProto.addColorAxis
|
|
@@ -8,10 +8,8 @@
|
|
|
8
8
|
*
|
|
9
9
|
* */
|
|
10
10
|
'use strict';
|
|
11
|
-
import H from '../Globals.js';
|
|
12
|
-
const { composed } = H;
|
|
13
11
|
import U from '../Utilities.js';
|
|
14
|
-
const { addEvent, getMagnitude, normalizeTickInterval,
|
|
12
|
+
const { addEvent, getMagnitude, normalizeTickInterval, timeUnits } = U;
|
|
15
13
|
/* *
|
|
16
14
|
*
|
|
17
15
|
* Composition
|
|
@@ -35,7 +33,7 @@ var DateTimeAxis;
|
|
|
35
33
|
* @private
|
|
36
34
|
*/
|
|
37
35
|
function compose(AxisClass) {
|
|
38
|
-
if (
|
|
36
|
+
if (!AxisClass.keepProps.includes('dateTime')) {
|
|
39
37
|
AxisClass.keepProps.push('dateTime');
|
|
40
38
|
const axisProto = AxisClass.prototype;
|
|
41
39
|
axisProto.getTimeTicks = getTimeTicks;
|
|
@@ -53,7 +51,7 @@ var DateTimeAxis;
|
|
|
53
51
|
* @private
|
|
54
52
|
* @function Highcharts.Axis#getTimeTicks
|
|
55
53
|
* @param {Highcharts.TimeNormalizeObject} normalizedInterval
|
|
56
|
-
* The interval in axis values (ms) and
|
|
54
|
+
* The interval in axis values (ms) and the count.
|
|
57
55
|
* @param {number} min
|
|
58
56
|
* The minimum in axis values.
|
|
59
57
|
* @param {number} max
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
'use strict';
|
|
12
12
|
import Axis from './Axis.js';
|
|
13
13
|
import H from '../Globals.js';
|
|
14
|
-
const {
|
|
14
|
+
const { dateFormats } = H;
|
|
15
15
|
import U from '../Utilities.js';
|
|
16
|
-
const { addEvent, defined, erase, find, isArray, isNumber, merge, pick,
|
|
16
|
+
const { addEvent, defined, erase, find, isArray, isNumber, merge, pick, timeUnits, wrap } = U;
|
|
17
17
|
/* *
|
|
18
18
|
*
|
|
19
19
|
* Enums
|
|
@@ -81,7 +81,7 @@ function applyGridOptions(axis) {
|
|
|
81
81
|
* @private
|
|
82
82
|
*/
|
|
83
83
|
function compose(AxisClass, ChartClass, TickClass) {
|
|
84
|
-
if (
|
|
84
|
+
if (!AxisClass.keepProps.includes('grid')) {
|
|
85
85
|
AxisClass.keepProps.push('grid');
|
|
86
86
|
AxisClass.prototype.getMaxLabelDimensions = getMaxLabelDimensions;
|
|
87
87
|
wrap(AxisClass.prototype, 'unsquish', wrapUnsquish);
|
|
@@ -285,7 +285,7 @@ function onAfterRender() {
|
|
|
285
285
|
!axis.options.title.style.width) {
|
|
286
286
|
axisTitle.css({ width: `${firstTick.slotWidth}px` });
|
|
287
287
|
}
|
|
288
|
-
// @todo
|
|
288
|
+
// @todo actual label padding (top, bottom, left, right)
|
|
289
289
|
axis.maxLabelDimensions = axis.getMaxLabelDimensions(axis.ticks, axis.tickPositions);
|
|
290
290
|
// Remove right wall before rendering if updating
|
|
291
291
|
if (axis.rightWall) {
|
|
@@ -486,7 +486,7 @@ function onAfterSetOptions(e) {
|
|
|
486
486
|
let gridAxisOptions;
|
|
487
487
|
if (gridOptions.enabled === true) {
|
|
488
488
|
// Merge the user options into default grid axis options so
|
|
489
|
-
// that when a user option is set, it takes
|
|
489
|
+
// that when a user option is set, it takes precedence.
|
|
490
490
|
gridAxisOptions = merge(true, {
|
|
491
491
|
className: ('highcharts-grid-axis ' + (userOptions.className || '')),
|
|
492
492
|
dateTimeLabelFormats: {
|
|
@@ -522,7 +522,7 @@ function onAfterSetOptions(e) {
|
|
|
522
522
|
}
|
|
523
523
|
},
|
|
524
524
|
// In a grid axis, only allow one unit of certain types,
|
|
525
|
-
// for example we
|
|
525
|
+
// for example we shouldn't have one grid cell spanning
|
|
526
526
|
// two days.
|
|
527
527
|
units: [[
|
|
528
528
|
'millisecond',
|
|
@@ -831,7 +831,7 @@ function onTickLabelFormat(ctx) {
|
|
|
831
831
|
* ticks and not the labels directly?
|
|
832
832
|
*/
|
|
833
833
|
function onTrimTicks() {
|
|
834
|
-
const axis = this,
|
|
834
|
+
const axis = this, options = axis.options, gridOptions = options.grid || {}, categoryAxis = axis.categories, tickPositions = axis.tickPositions, firstPos = tickPositions[0], secondPos = tickPositions[1], lastPos = tickPositions[tickPositions.length - 1], beforeLastPos = tickPositions[tickPositions.length - 2], linkedMin = axis.linkedParent && axis.linkedParent.min, linkedMax = axis.linkedParent && axis.linkedParent.max, min = linkedMin || axis.min, max = linkedMax || axis.max, tickInterval = axis.tickInterval, startLessThanMin = ( // #19845
|
|
835
835
|
isNumber(min) &&
|
|
836
836
|
min >= firstPos + tickInterval &&
|
|
837
837
|
min < secondPos), endMoreThanMin = (isNumber(min) &&
|