highcharts 13.0.1 → 13.0.2
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/bower.json +2 -3
- package/es-modules/Accessibility/A11yI18n.js +4 -4
- package/es-modules/Accessibility/Components/InfoRegionsComponent.js +6 -4
- package/es-modules/Accessibility/Components/LegendComponent.js +2 -2
- package/es-modules/Accessibility/Components/NavigatorComponent.js +2 -2
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +13 -10
- package/es-modules/Accessibility/Components/ZoomComponent.js +2 -2
- package/es-modules/Accessibility/FocusBorder.js +2 -2
- package/es-modules/Accessibility/Options/DeprecatedOptions.js +1 -2
- package/es-modules/Core/Animation/AnimationUtilities.js +3 -2
- package/es-modules/Core/Axis/Axis.js +48 -57
- package/es-modules/Core/Axis/Axis3DComposition.js +8 -6
- package/es-modules/Core/Axis/BrokenAxis.js +6 -5
- package/es-modules/Core/Axis/Color/ColorAxis.js +17 -10
- package/es-modules/Core/Axis/Color/ColorAxisComposition.js +2 -2
- package/es-modules/Core/Axis/GridAxis.js +4 -4
- package/es-modules/Core/Axis/LogarithmicAxis.js +5 -3
- package/es-modules/Core/Axis/NavigatorAxisComposition.js +2 -2
- package/es-modules/Core/Axis/OrdinalAxis.js +9 -7
- package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +3 -2
- package/es-modules/Core/Axis/RadialAxis.js +15 -9
- package/es-modules/Core/Axis/ScrollbarAxis.js +3 -3
- package/es-modules/Core/Axis/Stacking/StackItem.js +5 -5
- package/es-modules/Core/Axis/Stacking/StackingAxis.js +4 -4
- package/es-modules/Core/Axis/Tick.js +10 -11
- package/es-modules/Core/Axis/TreeGrid/TreeGridTick.js +3 -3
- package/es-modules/Core/Chart/Chart.js +14 -14
- package/es-modules/Core/Chart/Chart3D.js +3 -3
- package/es-modules/Core/Chart/ChartDefaults.js +23 -0
- package/es-modules/Core/Chart/MapChart.js +7 -5
- package/es-modules/Core/Chart/StockChart.js +15 -11
- package/es-modules/Core/Color/Color.js +3 -1
- package/es-modules/Core/Defaults.js +35 -0
- package/es-modules/Core/Globals.js +1 -1
- package/es-modules/Core/Legend/Legend.js +16 -12
- package/es-modules/Core/Legend/LegendSymbol.js +2 -2
- package/es-modules/Core/MSPointer.js +2 -2
- package/es-modules/Core/Math3D.js +6 -7
- package/es-modules/Core/Pointer.js +9 -9
- package/es-modules/Core/Renderer/RendererUtilities.js +2 -2
- package/es-modules/Core/Renderer/SVG/SVGElement.js +11 -9
- package/es-modules/Core/Renderer/SVG/SVGElement3D.js +2 -2
- package/es-modules/Core/Renderer/SVG/SVGLabel.js +5 -5
- package/es-modules/Core/Renderer/SVG/SVGRenderer.js +5 -5
- package/es-modules/Core/Renderer/SVG/SVGRenderer3D.js +11 -9
- package/es-modules/Core/Renderer/SVG/Symbols.js +6 -5
- package/es-modules/Core/Renderer/SVG/TextBuilder.js +2 -2
- package/es-modules/Core/Responsive.js +7 -5
- package/es-modules/Core/Series/DataLabel.js +8 -6
- package/es-modules/Core/Series/OverlappingDataLabels.js +5 -2
- package/es-modules/Core/Series/Point.js +3 -3
- package/es-modules/Core/Series/Series.js +37 -21
- package/es-modules/Core/Series/Series3D.js +2 -2
- package/es-modules/Core/Templating.js +2 -2
- package/es-modules/Core/Tooltip.js +11 -7
- package/es-modules/Core/Utilities.js +4 -3
- package/es-modules/Data/Connectors/DataConnector.js +2 -2
- package/es-modules/Data/Connectors/GoogleSheetsConnector.js +2 -2
- package/es-modules/Data/DataTable.js +17 -0
- package/es-modules/Extensions/Annotations/Annotation.js +4 -4
- package/es-modules/Extensions/Annotations/AnnotationChart.js +2 -2
- package/es-modules/Extensions/Annotations/ControlPoint.js +2 -2
- package/es-modules/Extensions/Annotations/Controllables/ControllableLabel.js +2 -2
- package/es-modules/Extensions/Annotations/EventEmitter.js +4 -4
- package/es-modules/Extensions/Annotations/NavigationBindings.js +6 -3
- package/es-modules/Extensions/Annotations/NavigationBindingsUtilities.js +2 -2
- package/es-modules/Extensions/Annotations/Popup/Popup.js +3 -2
- package/es-modules/Extensions/Annotations/Popup/PopupAnnotations.js +4 -6
- package/es-modules/Extensions/Annotations/Types/Measure.js +3 -3
- package/es-modules/Extensions/Annotations/Types/VerticalLine.js +3 -3
- package/es-modules/Extensions/Boost/BoostChart.js +11 -4
- package/es-modules/Extensions/Boost/BoostSeries.js +8 -9
- package/es-modules/Extensions/Boost/WGLRenderer.js +9 -6
- package/es-modules/Extensions/Boost/WGLShader.js +3 -3
- package/es-modules/Extensions/BoostCanvas.js +2 -2
- package/es-modules/Extensions/Breadcrumbs/Breadcrumbs.js +5 -4
- package/es-modules/Extensions/DataGrouping/DataGrouping.js +2 -2
- package/es-modules/Extensions/DataGrouping/DataGroupingAxisComposition.js +4 -3
- package/es-modules/Extensions/DataGrouping/DataGroupingSeriesComposition.js +2 -2
- package/es-modules/Extensions/DraggablePoints/DragDropProps.js +2 -3
- package/es-modules/Extensions/ExportData/ExportData.js +17 -16
- package/es-modules/Extensions/Exporting/Exporting.js +7 -7
- package/es-modules/Extensions/MouseWheelZoom/MouseWheelZoom.js +2 -2
- package/es-modules/Extensions/Pane/PaneComposition.js +2 -2
- package/es-modules/Extensions/ParallelCoordinates/ParallelAxis.js +2 -2
- package/es-modules/Extensions/PatternFill.js +7 -5
- package/es-modules/Extensions/PriceIndication.js +5 -4
- package/es-modules/Extensions/SeriesLabel/SeriesLabel.js +7 -7
- package/es-modules/Extensions/Sonification/MIDI.js +2 -3
- package/es-modules/Extensions/Sonification/Sonification.js +2 -2
- package/es-modules/Extensions/Sonification/SonificationSpeaker.js +3 -2
- package/es-modules/Extensions/Sonification/SynthPatch.js +3 -3
- package/es-modules/Extensions/Sonification/TimelineFromChart.js +11 -11
- package/es-modules/Gantt/Legacy.js +2 -2
- package/es-modules/Gantt/Pathfinder.js +3 -3
- package/es-modules/Gantt/PathfinderAlgorithms.js +4 -3
- package/es-modules/Gantt/Tree.js +1 -1
- package/es-modules/Maps/MapNavigation.js +4 -4
- package/es-modules/Maps/MapPointer.js +2 -2
- package/es-modules/Maps/MapView.js +2 -2
- package/es-modules/Series/ArcDiagram/ArcDiagramSeries.js +8 -6
- package/es-modules/Series/Area/AreaSeries.js +4 -5
- package/es-modules/Series/BoxPlot/BoxPlotSeries.js +13 -4
- package/es-modules/Series/Bubble/BubbleLegendItem.js +10 -6
- package/es-modules/Series/Bubble/BubbleSeries.js +10 -9
- package/es-modules/Series/Bullet/BulletSeries.js +17 -10
- package/es-modules/Series/CenteredUtilities.js +7 -5
- package/es-modules/Series/Column/ColumnSeries.js +2 -2
- package/es-modules/Series/Column3D/Column3DComposition.js +6 -5
- package/es-modules/Series/ColumnPyramid/ColumnPyramidSeries.js +4 -4
- package/es-modules/Series/ColumnRange/ColumnRangeSeries.js +4 -2
- package/es-modules/Series/Cylinder/CylinderComposition.js +2 -2
- package/es-modules/Series/DataModifyComposition.js +9 -7
- package/es-modules/Series/DotPlot/DotPlotSeries.js +3 -2
- package/es-modules/Series/Dumbbell/DumbbellPoint.js +14 -3
- package/es-modules/Series/Dumbbell/DumbbellSeries.js +24 -7
- package/es-modules/Series/FlowMap/FlowMapPoint.js +5 -3
- package/es-modules/Series/FlowMap/FlowMapSeries.js +17 -9
- package/es-modules/Series/Funnel/FunnelSeries.js +2 -2
- package/es-modules/Series/Funnel3D/Funnel3DSeries.js +7 -5
- package/es-modules/Series/Gauge/GaugeSeries.js +2 -2
- package/es-modules/Series/GeoHeatmap/GeoHeatmapSeries.js +4 -4
- package/es-modules/Series/Heatmap/HeatmapPoint.js +6 -6
- package/es-modules/Series/Heatmap/HeatmapPointOptions.js +12 -0
- package/es-modules/Series/Heatmap/HeatmapSeries.js +13 -13
- package/es-modules/Series/Heatmap/HeatmapSeriesOptions.js +12 -0
- package/es-modules/Series/Histogram/HistogramPoint.js +17 -0
- package/es-modules/Series/Histogram/HistogramPointOptions.js +12 -0
- package/es-modules/Series/Histogram/HistogramSeries.js +14 -2
- package/es-modules/Series/Histogram/HistogramSeriesOptions.js +12 -0
- package/es-modules/Series/InterpolationUtilities.js +5 -5
- package/es-modules/Series/Item/ItemPointOptions.js +14 -0
- package/es-modules/Series/Item/ItemSeries.js +18 -6
- package/es-modules/Series/Item/ItemSeriesOptions.js +14 -0
- package/es-modules/Series/Map/MapPoint.js +5 -3
- package/es-modules/Series/Map/MapSeries.js +5 -8
- package/es-modules/Series/Networkgraph/NetworkgraphPoint.js +3 -3
- package/es-modules/Series/Networkgraph/NetworkgraphSeries.js +4 -2
- package/es-modules/Series/Networkgraph/ReingoldFruchtermanLayout.js +18 -9
- package/es-modules/Series/NodesComposition.js +9 -10
- package/es-modules/Series/Organization/OrganizationPoint.js +3 -2
- package/es-modules/Series/PackedBubble/PackedBubbleLayout.js +3 -3
- package/es-modules/Series/PackedBubble/PackedBubbleSeries.js +5 -5
- package/es-modules/Series/Pictorial/PictorialSeries.js +4 -2
- package/es-modules/Series/Pie/PieDataLabel.js +2 -2
- package/es-modules/Series/Pie/PiePoint.js +2 -2
- package/es-modules/Series/Pie/PieSeries.js +3 -2
- package/es-modules/Series/Pie3D/Pie3DSeries.js +8 -4
- package/es-modules/Series/PolarComposition.js +8 -7
- package/es-modules/Series/Sankey/SankeySeries.js +11 -5
- package/es-modules/Series/Scatter/ScatterSeries.js +6 -5
- package/es-modules/Series/SolidGauge/SolidGaugeSeries.js +2 -2
- package/es-modules/Series/Spline/SplineSeries.js +5 -5
- package/es-modules/Series/TiledWebMap/TiledWebMapSeries.js +8 -6
- package/es-modules/Series/Tilemap/TilemapShapes.js +2 -2
- package/es-modules/Series/Timeline/TimelinePoint.js +2 -2
- package/es-modules/Series/Timeline/TimelineSeries.js +4 -3
- package/es-modules/Series/TreeUtilities.js +16 -7
- package/es-modules/Series/Treegraph/TreegraphLink.js +2 -2
- package/es-modules/Series/Treemap/TreemapPoint.js +2 -2
- package/es-modules/Series/Treemap/TreemapSeries.js +14 -11
- package/es-modules/Series/VariablePie/VariablePieSeries.js +6 -4
- package/es-modules/Series/Variwide/VariwideSeries.js +2 -2
- package/es-modules/Series/Waterfall/WaterfallSeries.js +2 -2
- package/es-modules/Series/Windbarb/WindbarbSeries.js +2 -2
- package/es-modules/Shared/TimeBase.js +8 -2
- package/es-modules/Shared/Utilities.js +9 -7
- package/es-modules/Stock/Indicators/Aroon/AroonIndicator.js +3 -3
- package/es-modules/Stock/Indicators/DPO/DPOIndicator.js +4 -3
- package/es-modules/Stock/Indicators/RSI/RSIIndicator.js +1 -1
- package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +2 -2
- package/es-modules/Stock/Navigator/ChartNavigatorComposition.js +4 -4
- package/es-modules/Stock/Navigator/Navigator.js +26 -26
- package/es-modules/Stock/Navigator/StandaloneNavigator.js +4 -4
- package/es-modules/Stock/RangeSelector/RangeSelector.js +15 -11
- package/es-modules/Stock/RangeSelector/RangeSelectorComposition.js +3 -3
- package/es-modules/Stock/Scrollbar/Scrollbar.js +8 -7
- package/es-modules/Stock/StockTools/StockToolbar.js +5 -5
- package/es-modules/Stock/StockTools/StockTools.js +2 -2
- package/es-modules/Stock/StockTools/StockToolsGui.js +4 -2
- package/es-modules/masters/highcharts-3d.src.js +1 -1
- package/es-modules/masters/highcharts-autoload.src.js +1 -1
- package/es-modules/masters/highcharts-gantt.src.js +1 -1
- package/es-modules/masters/highcharts-more.src.js +1 -1
- package/es-modules/masters/highcharts.src.js +7 -2
- package/es-modules/masters/highmaps.src.js +1 -1
- package/es-modules/masters/highstock.src.js +1 -1
- package/es-modules/masters/i18n/fr-FR.src.d.ts +1 -1
- package/es-modules/masters/i18n/fr-FR.src.js +1 -1
- package/es-modules/masters/i18n/nb-NO.src.d.ts +1 -1
- package/es-modules/masters/i18n/nb-NO.src.js +1 -1
- package/es-modules/masters/i18n/zh-CN.src.d.ts +1 -1
- package/es-modules/masters/i18n/zh-CN.src.js +1 -1
- package/es-modules/masters/indicators/acceleration-bands.src.js +1 -1
- package/es-modules/masters/indicators/accumulation-distribution.src.js +1 -1
- package/es-modules/masters/indicators/ao.src.js +1 -1
- package/es-modules/masters/indicators/apo.src.js +1 -1
- package/es-modules/masters/indicators/aroon-oscillator.src.js +1 -1
- package/es-modules/masters/indicators/aroon.src.js +1 -1
- package/es-modules/masters/indicators/atr.src.js +1 -1
- package/es-modules/masters/indicators/bollinger-bands.src.js +1 -1
- package/es-modules/masters/indicators/cci.src.js +1 -1
- package/es-modules/masters/indicators/chaikin.src.js +1 -1
- package/es-modules/masters/indicators/cmf.src.js +1 -1
- package/es-modules/masters/indicators/cmo.src.js +1 -1
- package/es-modules/masters/indicators/dema.src.js +1 -1
- package/es-modules/masters/indicators/disparity-index.src.js +1 -1
- package/es-modules/masters/indicators/dmi.src.js +1 -1
- package/es-modules/masters/indicators/dpo.src.js +1 -1
- package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/es-modules/masters/indicators/indicators-all.src.js +1 -1
- package/es-modules/masters/indicators/indicators.src.js +1 -1
- package/es-modules/masters/indicators/keltner-channels.src.js +1 -1
- package/es-modules/masters/indicators/klinger.src.js +1 -1
- package/es-modules/masters/indicators/macd.src.js +1 -1
- package/es-modules/masters/indicators/mfi.src.js +1 -1
- package/es-modules/masters/indicators/momentum.src.js +1 -1
- package/es-modules/masters/indicators/natr.src.js +1 -1
- package/es-modules/masters/indicators/obv.src.js +1 -1
- package/es-modules/masters/indicators/pivot-points.src.js +1 -1
- package/es-modules/masters/indicators/ppo.src.js +1 -1
- package/es-modules/masters/indicators/price-channel.src.js +1 -1
- package/es-modules/masters/indicators/price-envelopes.src.js +1 -1
- package/es-modules/masters/indicators/psar.src.js +1 -1
- package/es-modules/masters/indicators/regressions.src.js +1 -1
- package/es-modules/masters/indicators/roc.src.js +1 -1
- package/es-modules/masters/indicators/rsi.src.js +1 -1
- package/es-modules/masters/indicators/slow-stochastic.src.js +1 -1
- package/es-modules/masters/indicators/stochastic.src.js +1 -1
- package/es-modules/masters/indicators/supertrend.src.js +1 -1
- package/es-modules/masters/indicators/tema.src.js +1 -1
- package/es-modules/masters/indicators/trendline.src.js +1 -1
- package/es-modules/masters/indicators/trix.src.js +1 -1
- package/es-modules/masters/indicators/volume-by-price.src.js +1 -1
- package/es-modules/masters/indicators/vwap.src.js +1 -1
- package/es-modules/masters/indicators/williams-r.src.js +1 -1
- package/es-modules/masters/indicators/wma.src.js +1 -1
- package/es-modules/masters/indicators/zigzag.src.js +1 -1
- package/es-modules/masters/modules/accessibility.src.js +1 -1
- package/es-modules/masters/modules/annotations-advanced.src.js +1 -1
- package/es-modules/masters/modules/annotations.src.js +1 -1
- package/es-modules/masters/modules/arc-diagram.src.js +1 -1
- package/es-modules/masters/modules/arrow-symbols.src.js +1 -1
- package/es-modules/masters/modules/boost-canvas.src.js +1 -1
- package/es-modules/masters/modules/boost.src.js +1 -1
- package/es-modules/masters/modules/broken-axis.src.js +1 -1
- package/es-modules/masters/modules/bullet.src.js +1 -1
- package/es-modules/masters/modules/coloraxis.src.js +1 -1
- package/es-modules/masters/modules/contour.src.js +1 -1
- package/es-modules/masters/modules/current-date-indicator.src.js +1 -1
- package/es-modules/masters/modules/cylinder.src.js +1 -1
- package/es-modules/masters/modules/data-sorting.src.js +1 -1
- package/es-modules/masters/modules/data-tools.src.js +1 -1
- package/es-modules/masters/modules/data.src.js +1 -1
- package/es-modules/masters/modules/datagrouping.src.js +1 -1
- package/es-modules/masters/modules/debugger.src.js +1 -1
- package/es-modules/masters/modules/dependency-wheel.src.js +1 -1
- package/es-modules/masters/modules/dotplot.src.js +1 -1
- package/es-modules/masters/modules/drag-panes.src.js +1 -1
- package/es-modules/masters/modules/draggable-points.src.js +1 -1
- package/es-modules/masters/modules/drilldown.src.js +1 -1
- package/es-modules/masters/modules/dumbbell.src.js +1 -1
- package/es-modules/masters/modules/export-data.src.js +1 -1
- package/es-modules/masters/modules/exporting.src.js +1 -1
- package/es-modules/masters/modules/flowmap.src.js +1 -1
- package/es-modules/masters/modules/full-screen.src.js +1 -1
- package/es-modules/masters/modules/funnel.src.js +1 -1
- package/es-modules/masters/modules/funnel3d.src.js +1 -1
- package/es-modules/masters/modules/gantt.src.js +1 -1
- package/es-modules/masters/modules/geoheatmap.src.js +1 -1
- package/es-modules/masters/modules/grid-axis.src.js +1 -1
- package/es-modules/masters/modules/heatmap.src.js +1 -1
- package/es-modules/masters/modules/heikinashi.src.js +1 -1
- package/es-modules/masters/modules/histogram-bellcurve.src.js +1 -1
- package/es-modules/masters/modules/hollowcandlestick.src.js +1 -1
- package/es-modules/masters/modules/item-series.src.js +1 -1
- package/es-modules/masters/modules/lollipop.src.js +1 -1
- package/es-modules/masters/modules/map.src.js +1 -1
- package/es-modules/masters/modules/marker-clusters.src.js +1 -1
- package/es-modules/masters/modules/mouse-wheel-zoom.src.js +1 -1
- package/es-modules/masters/modules/navigator.src.js +1 -1
- package/es-modules/masters/modules/networkgraph.src.js +1 -1
- package/es-modules/masters/modules/no-data-to-display.src.js +1 -1
- package/es-modules/masters/modules/non-cartesian-zoom.src.js +1 -1
- package/es-modules/masters/modules/offline-exporting.src.js +1 -1
- package/es-modules/masters/modules/organization.src.js +1 -1
- package/es-modules/masters/modules/parallel-coordinates.src.js +1 -1
- package/es-modules/masters/modules/pareto.src.js +1 -1
- package/es-modules/masters/modules/pathfinder.src.js +1 -1
- package/es-modules/masters/modules/pattern-fill.src.js +1 -1
- package/es-modules/masters/modules/pictorial.src.js +1 -1
- package/es-modules/masters/modules/pointandfigure.src.js +1 -1
- package/es-modules/masters/modules/price-indicator.src.js +1 -1
- package/es-modules/masters/modules/pyramid3d.src.js +1 -1
- package/es-modules/masters/modules/renko.src.js +1 -1
- package/es-modules/masters/modules/sankey.src.js +1 -1
- package/es-modules/masters/modules/series-label.src.js +1 -1
- package/es-modules/masters/modules/series-on-point.src.js +1 -1
- package/es-modules/masters/modules/solid-gauge.src.js +1 -1
- package/es-modules/masters/modules/sonification.src.js +1 -1
- package/es-modules/masters/modules/static-scale.src.js +1 -1
- package/es-modules/masters/modules/stock-tools.src.js +1 -1
- package/es-modules/masters/modules/stock.src.js +1 -1
- package/es-modules/masters/modules/streamgraph.src.js +1 -1
- package/es-modules/masters/modules/sunburst.src.js +1 -1
- package/es-modules/masters/modules/textpath.src.js +1 -1
- package/es-modules/masters/modules/tiledwebmap.src.js +1 -1
- package/es-modules/masters/modules/tilemap.src.js +1 -1
- package/es-modules/masters/modules/timeline.src.js +1 -1
- package/es-modules/masters/modules/treegraph.src.js +1 -1
- package/es-modules/masters/modules/treegrid.src.js +1 -1
- package/es-modules/masters/modules/treemap.src.js +1 -1
- package/es-modules/masters/modules/variable-pie.src.js +1 -1
- package/es-modules/masters/modules/variwide.src.js +1 -1
- package/es-modules/masters/modules/vector.src.js +1 -1
- package/es-modules/masters/modules/venn.src.js +1 -1
- package/es-modules/masters/modules/windbarb.src.js +1 -1
- package/es-modules/masters/modules/wordcloud.src.js +1 -1
- package/es-modules/masters/modules/xrange.src.js +1 -1
- package/es-modules/masters/standalone-navigator.src.js +1 -1
- package/es-modules/masters/themes/adaptive.src.js +1 -1
- package/es-modules/masters/themes/avocado.src.js +1 -1
- package/es-modules/masters/themes/dark-unica.src.js +1 -1
- package/es-modules/masters/themes/grid-light.src.js +1 -1
- package/es-modules/masters/themes/high-contrast.src.js +1 -1
- package/es-modules/masters/themes/sand-signika.src.js +1 -1
- package/es-modules/masters/themes/sunset.src.js +1 -1
- package/es-modules/tsconfig.tsbuildinfo +1 -1
- package/esm/highcharts-3d.js +2 -2
- package/esm/highcharts-3d.src.js +40 -32
- package/esm/highcharts-autoload.js +1 -1
- package/esm/highcharts-autoload.src.js +1 -1
- package/esm/highcharts-gantt.js +1 -1
- package/esm/highcharts-gantt.src.js +1 -1
- package/esm/highcharts-more.js +2 -2
- package/esm/highcharts-more.src.js +90 -56
- package/esm/highcharts.js +4 -4
- package/esm/highcharts.src.js +312 -207
- package/esm/highmaps.js +1 -1
- package/esm/highmaps.src.js +1 -1
- package/esm/highstock.js +1 -1
- package/esm/highstock.src.js +1 -1
- package/esm/i18n/fr-FR.js +1 -1
- package/esm/i18n/fr-FR.src.js +1 -1
- package/esm/i18n/nb-NO.js +1 -1
- package/esm/i18n/nb-NO.src.js +1 -1
- package/esm/i18n/zh-CN.js +1 -1
- package/esm/i18n/zh-CN.src.js +1 -1
- package/esm/indicators/acceleration-bands.js +1 -1
- package/esm/indicators/acceleration-bands.src.js +1 -1
- package/esm/indicators/accumulation-distribution.js +1 -1
- package/esm/indicators/accumulation-distribution.src.js +1 -1
- package/esm/indicators/ao.js +1 -1
- package/esm/indicators/ao.src.js +1 -1
- package/esm/indicators/apo.js +1 -1
- package/esm/indicators/apo.src.js +1 -1
- package/esm/indicators/aroon-oscillator.js +1 -1
- package/esm/indicators/aroon-oscillator.src.js +1 -1
- package/esm/indicators/aroon.js +2 -2
- package/esm/indicators/aroon.src.js +3 -3
- package/esm/indicators/atr.js +1 -1
- package/esm/indicators/atr.src.js +1 -1
- package/esm/indicators/bollinger-bands.js +1 -1
- package/esm/indicators/bollinger-bands.src.js +1 -1
- package/esm/indicators/cci.js +1 -1
- package/esm/indicators/cci.src.js +1 -1
- package/esm/indicators/chaikin.js +1 -1
- package/esm/indicators/chaikin.src.js +1 -1
- package/esm/indicators/cmf.js +1 -1
- package/esm/indicators/cmf.src.js +1 -1
- package/esm/indicators/cmo.js +1 -1
- package/esm/indicators/cmo.src.js +1 -1
- package/esm/indicators/dema.js +1 -1
- package/esm/indicators/dema.src.js +1 -1
- package/esm/indicators/disparity-index.js +1 -1
- package/esm/indicators/disparity-index.src.js +1 -1
- package/esm/indicators/dmi.js +1 -1
- package/esm/indicators/dmi.src.js +1 -1
- package/esm/indicators/dpo.js +2 -2
- package/esm/indicators/dpo.src.js +4 -3
- package/esm/indicators/ichimoku-kinko-hyo.js +1 -1
- package/esm/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/esm/indicators/indicators-all.js +2 -2
- package/esm/indicators/indicators-all.src.js +8 -7
- package/esm/indicators/indicators.js +2 -2
- package/esm/indicators/indicators.src.js +2 -2
- package/esm/indicators/keltner-channels.js +1 -1
- package/esm/indicators/keltner-channels.src.js +1 -1
- package/esm/indicators/klinger.js +1 -1
- package/esm/indicators/klinger.src.js +1 -1
- package/esm/indicators/macd.js +1 -1
- package/esm/indicators/macd.src.js +1 -1
- package/esm/indicators/mfi.js +1 -1
- package/esm/indicators/mfi.src.js +1 -1
- package/esm/indicators/momentum.js +1 -1
- package/esm/indicators/momentum.src.js +1 -1
- package/esm/indicators/natr.js +1 -1
- package/esm/indicators/natr.src.js +1 -1
- package/esm/indicators/obv.js +1 -1
- package/esm/indicators/obv.src.js +1 -1
- package/esm/indicators/pivot-points.js +1 -1
- package/esm/indicators/pivot-points.src.js +1 -1
- package/esm/indicators/ppo.js +1 -1
- package/esm/indicators/ppo.src.js +1 -1
- package/esm/indicators/price-channel.js +1 -1
- package/esm/indicators/price-channel.src.js +1 -1
- package/esm/indicators/price-envelopes.js +1 -1
- package/esm/indicators/price-envelopes.src.js +1 -1
- package/esm/indicators/psar.js +1 -1
- package/esm/indicators/psar.src.js +1 -1
- package/esm/indicators/regressions.js +1 -1
- package/esm/indicators/regressions.src.js +1 -1
- package/esm/indicators/roc.js +1 -1
- package/esm/indicators/roc.src.js +1 -1
- package/esm/indicators/rsi.js +1 -1
- package/esm/indicators/rsi.src.js +2 -2
- package/esm/indicators/slow-stochastic.js +1 -1
- package/esm/indicators/slow-stochastic.src.js +1 -1
- package/esm/indicators/stochastic.js +1 -1
- package/esm/indicators/stochastic.src.js +1 -1
- package/esm/indicators/supertrend.js +1 -1
- package/esm/indicators/supertrend.src.js +1 -1
- package/esm/indicators/tema.js +1 -1
- package/esm/indicators/tema.src.js +1 -1
- package/esm/indicators/trendline.js +1 -1
- package/esm/indicators/trendline.src.js +1 -1
- package/esm/indicators/trix.js +1 -1
- package/esm/indicators/trix.src.js +1 -1
- package/esm/indicators/volume-by-price.js +1 -1
- package/esm/indicators/volume-by-price.src.js +1 -1
- package/esm/indicators/vwap.js +1 -1
- package/esm/indicators/vwap.src.js +1 -1
- package/esm/indicators/williams-r.js +1 -1
- package/esm/indicators/williams-r.src.js +1 -1
- package/esm/indicators/wma.js +1 -1
- package/esm/indicators/wma.src.js +1 -1
- package/esm/indicators/zigzag.js +1 -1
- package/esm/indicators/zigzag.src.js +1 -1
- package/esm/modules/accessibility.js +2 -2
- package/esm/modules/accessibility.src.js +69 -63
- package/esm/modules/annotations-advanced.js +3 -3
- package/esm/modules/annotations-advanced.src.js +25 -23
- package/esm/modules/annotations.js +3 -3
- package/esm/modules/annotations.src.js +21 -19
- package/esm/modules/arc-diagram.js +2 -2
- package/esm/modules/arc-diagram.src.js +16 -15
- package/esm/modules/arrow-symbols.js +1 -1
- package/esm/modules/arrow-symbols.src.js +1 -1
- package/esm/modules/boost-canvas.js +2 -2
- package/esm/modules/boost-canvas.src.js +29 -20
- package/esm/modules/boost.js +2 -2
- package/esm/modules/boost.src.js +28 -19
- package/esm/modules/broken-axis.js +2 -2
- package/esm/modules/broken-axis.src.js +6 -5
- package/esm/modules/bullet.js +2 -2
- package/esm/modules/bullet.src.js +17 -10
- package/esm/modules/coloraxis.js +2 -2
- package/esm/modules/coloraxis.src.js +18 -11
- package/esm/modules/contour.js +1 -1
- package/esm/modules/contour.src.js +1 -1
- package/esm/modules/current-date-indicator.js +1 -1
- package/esm/modules/current-date-indicator.src.js +1 -1
- package/esm/modules/cylinder.js +2 -2
- package/esm/modules/cylinder.src.js +9 -10
- package/esm/modules/data-sorting.js +1 -1
- package/esm/modules/data-sorting.src.js +1 -1
- package/esm/modules/data-tools.js +2 -2
- package/esm/modules/data-tools.src.js +20 -3
- package/esm/modules/data.js +1 -1
- package/esm/modules/data.src.js +1 -1
- package/esm/modules/datagrouping.js +2 -2
- package/esm/modules/datagrouping.src.js +6 -5
- package/esm/modules/debugger.js +1 -1
- package/esm/modules/debugger.src.js +1 -1
- package/esm/modules/dependency-wheel.js +1 -1
- package/esm/modules/dependency-wheel.src.js +1 -1
- package/esm/modules/dotplot.js +2 -2
- package/esm/modules/dotplot.src.js +3 -2
- package/esm/modules/drag-panes.js +1 -1
- package/esm/modules/drag-panes.src.js +1 -1
- package/esm/modules/draggable-points.js +2 -2
- package/esm/modules/draggable-points.src.js +2 -3
- package/esm/modules/drilldown.js +2 -2
- package/esm/modules/drilldown.src.js +5 -4
- package/esm/modules/dumbbell.js +2 -2
- package/esm/modules/dumbbell.src.js +37 -9
- package/esm/modules/export-data.js +2 -2
- package/esm/modules/export-data.src.js +17 -16
- package/esm/modules/exporting.js +2 -2
- package/esm/modules/exporting.src.js +7 -7
- package/esm/modules/flowmap.js +2 -2
- package/esm/modules/flowmap.src.js +21 -11
- package/esm/modules/full-screen.js +1 -1
- package/esm/modules/full-screen.src.js +1 -1
- package/esm/modules/funnel.js +2 -2
- package/esm/modules/funnel.src.js +2 -2
- package/esm/modules/funnel3d.js +2 -2
- package/esm/modules/funnel3d.src.js +14 -13
- package/esm/modules/gantt.js +2 -2
- package/esm/modules/gantt.src.js +93 -76
- package/esm/modules/geoheatmap.js +2 -2
- package/esm/modules/geoheatmap.src.js +8 -8
- package/esm/modules/grid-axis.js +2 -2
- package/esm/modules/grid-axis.src.js +4 -4
- package/esm/modules/heatmap.js +2 -2
- package/esm/modules/heatmap.src.js +22 -22
- package/esm/modules/heikinashi.js +1 -1
- package/esm/modules/heikinashi.src.js +1 -1
- package/esm/modules/histogram-bellcurve.js +1 -1
- package/esm/modules/histogram-bellcurve.src.js +15 -3
- package/esm/modules/hollowcandlestick.js +1 -1
- package/esm/modules/hollowcandlestick.src.js +1 -1
- package/esm/modules/item-series.js +2 -2
- package/esm/modules/item-series.src.js +18 -6
- package/esm/modules/lollipop.js +1 -1
- package/esm/modules/lollipop.src.js +1 -1
- package/esm/modules/map.js +2 -2
- package/esm/modules/map.src.js +65 -57
- package/esm/modules/marker-clusters.js +1 -1
- package/esm/modules/marker-clusters.src.js +1 -1
- package/esm/modules/mouse-wheel-zoom.js +2 -2
- package/esm/modules/mouse-wheel-zoom.src.js +3 -3
- package/esm/modules/navigator.js +2 -2
- package/esm/modules/navigator.src.js +47 -45
- package/esm/modules/networkgraph.js +2 -2
- package/esm/modules/networkgraph.src.js +31 -21
- package/esm/modules/no-data-to-display.js +1 -1
- package/esm/modules/no-data-to-display.src.js +1 -1
- package/esm/modules/non-cartesian-zoom.js +1 -1
- package/esm/modules/non-cartesian-zoom.src.js +1 -1
- package/esm/modules/offline-exporting.js +1 -1
- package/esm/modules/offline-exporting.src.js +1 -1
- package/esm/modules/organization.js +2 -2
- package/esm/modules/organization.src.js +3 -2
- package/esm/modules/parallel-coordinates.js +2 -2
- package/esm/modules/parallel-coordinates.src.js +2 -2
- package/esm/modules/pareto.js +1 -1
- package/esm/modules/pareto.src.js +1 -1
- package/esm/modules/pathfinder.js +2 -2
- package/esm/modules/pathfinder.src.js +7 -6
- package/esm/modules/pattern-fill.js +2 -2
- package/esm/modules/pattern-fill.src.js +7 -5
- package/esm/modules/pictorial.js +2 -2
- package/esm/modules/pictorial.src.js +10 -6
- package/esm/modules/pointandfigure.js +1 -1
- package/esm/modules/pointandfigure.src.js +1 -1
- package/esm/modules/price-indicator.js +2 -2
- package/esm/modules/price-indicator.src.js +5 -4
- package/esm/modules/pyramid3d.js +1 -1
- package/esm/modules/pyramid3d.src.js +1 -1
- package/esm/modules/renko.js +1 -1
- package/esm/modules/renko.src.js +1 -1
- package/esm/modules/sankey.js +2 -2
- package/esm/modules/sankey.src.js +34 -20
- package/esm/modules/series-label.js +2 -2
- package/esm/modules/series-label.src.js +7 -7
- package/esm/modules/series-on-point.js +1 -1
- package/esm/modules/series-on-point.src.js +1 -1
- package/esm/modules/solid-gauge.js +2 -2
- package/esm/modules/solid-gauge.src.js +2 -2
- package/esm/modules/sonification.js +2 -2
- package/esm/modules/sonification.src.js +19 -19
- package/esm/modules/static-scale.js +1 -1
- package/esm/modules/static-scale.src.js +1 -1
- package/esm/modules/stock-tools.js +3 -3
- package/esm/modules/stock-tools.src.js +15 -10
- package/esm/modules/stock.js +2 -2
- package/esm/modules/stock.src.js +90 -76
- package/esm/modules/streamgraph.js +1 -1
- package/esm/modules/streamgraph.src.js +1 -1
- package/esm/modules/sunburst.js +2 -2
- package/esm/modules/sunburst.src.js +41 -26
- package/esm/modules/textpath.js +1 -1
- package/esm/modules/textpath.src.js +1 -1
- package/esm/modules/tiledwebmap.js +2 -2
- package/esm/modules/tiledwebmap.src.js +8 -6
- package/esm/modules/tilemap.js +2 -2
- package/esm/modules/tilemap.src.js +3 -3
- package/esm/modules/timeline.js +2 -2
- package/esm/modules/timeline.src.js +5 -4
- package/esm/modules/treegraph.js +2 -2
- package/esm/modules/treegraph.src.js +17 -8
- package/esm/modules/treegrid.js +2 -2
- package/esm/modules/treegrid.src.js +28 -18
- package/esm/modules/treemap.js +2 -2
- package/esm/modules/treemap.src.js +35 -22
- package/esm/modules/variable-pie.js +2 -2
- package/esm/modules/variable-pie.src.js +6 -4
- package/esm/modules/variwide.js +2 -2
- package/esm/modules/variwide.src.js +2 -2
- package/esm/modules/vector.js +1 -1
- package/esm/modules/vector.src.js +1 -1
- package/esm/modules/venn.js +1 -1
- package/esm/modules/venn.src.js +1 -1
- package/esm/modules/windbarb.js +2 -2
- package/esm/modules/windbarb.src.js +2 -2
- package/esm/modules/wordcloud.js +1 -1
- package/esm/modules/wordcloud.src.js +1 -1
- package/esm/modules/xrange.js +1 -1
- package/esm/modules/xrange.src.js +1 -1
- package/esm/standalone-navigator.js +4 -4
- package/esm/standalone-navigator.src.js +355 -249
- package/esm/themes/adaptive.js +1 -1
- package/esm/themes/adaptive.src.js +1 -1
- package/esm/themes/avocado.js +1 -1
- package/esm/themes/avocado.src.js +1 -1
- package/esm/themes/dark-unica.js +1 -1
- package/esm/themes/dark-unica.src.js +1 -1
- package/esm/themes/grid-light.js +1 -1
- package/esm/themes/grid-light.src.js +1 -1
- package/esm/themes/high-contrast.js +1 -1
- package/esm/themes/high-contrast.src.js +1 -1
- package/esm/themes/sand-signika.js +1 -1
- package/esm/themes/sand-signika.src.js +1 -1
- package/esm/themes/sunset.js +1 -1
- package/esm/themes/sunset.src.js +1 -1
- package/highcharts-3d.js +2 -2
- package/highcharts-3d.src.js +40 -32
- package/highcharts-autoload.d.ts +8 -2
- package/highcharts-autoload.js +4 -4
- package/highcharts-autoload.src.d.ts +8 -2
- package/highcharts-autoload.src.js +313 -208
- package/highcharts-gantt.js +4 -4
- package/highcharts-gantt.src.js +404 -283
- package/highcharts-more.js +2 -2
- package/highcharts-more.src.js +90 -56
- package/highcharts.d.ts +61 -4
- package/highcharts.js +4 -4
- package/highcharts.src.d.ts +61 -4
- package/highcharts.src.js +312 -207
- package/highmaps.js +4 -4
- package/highmaps.src.js +390 -272
- package/highstock.js +4 -4
- package/highstock.src.js +413 -293
- package/i18n/fr-FR.js +1 -1
- package/i18n/fr-FR.src.js +1 -1
- package/i18n/nb-NO.js +1 -1
- package/i18n/nb-NO.src.js +1 -1
- package/i18n/zh-CN.js +1 -1
- package/i18n/zh-CN.src.js +1 -1
- package/indicators/acceleration-bands.js +1 -1
- package/indicators/acceleration-bands.src.js +1 -1
- package/indicators/accumulation-distribution.js +1 -1
- package/indicators/accumulation-distribution.src.js +1 -1
- package/indicators/ao.js +1 -1
- package/indicators/ao.src.js +1 -1
- package/indicators/apo.js +1 -1
- package/indicators/apo.src.js +1 -1
- package/indicators/aroon-oscillator.js +1 -1
- package/indicators/aroon-oscillator.src.js +1 -1
- package/indicators/aroon.js +2 -2
- package/indicators/aroon.src.js +3 -3
- package/indicators/atr.js +1 -1
- package/indicators/atr.src.js +1 -1
- package/indicators/bollinger-bands.js +1 -1
- package/indicators/bollinger-bands.src.js +1 -1
- package/indicators/cci.js +1 -1
- package/indicators/cci.src.js +1 -1
- package/indicators/chaikin.js +1 -1
- package/indicators/chaikin.src.js +1 -1
- package/indicators/cmf.js +1 -1
- package/indicators/cmf.src.js +1 -1
- package/indicators/cmo.js +1 -1
- package/indicators/cmo.src.js +1 -1
- package/indicators/dema.js +1 -1
- package/indicators/dema.src.js +1 -1
- package/indicators/disparity-index.js +1 -1
- package/indicators/disparity-index.src.js +1 -1
- package/indicators/dmi.js +1 -1
- package/indicators/dmi.src.js +1 -1
- package/indicators/dpo.js +2 -2
- package/indicators/dpo.src.js +4 -3
- package/indicators/ichimoku-kinko-hyo.js +1 -1
- package/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/indicators/indicators-all.js +2 -2
- package/indicators/indicators-all.src.js +8 -7
- package/indicators/indicators.js +2 -2
- package/indicators/indicators.src.js +2 -2
- package/indicators/keltner-channels.js +1 -1
- package/indicators/keltner-channels.src.js +1 -1
- package/indicators/klinger.js +1 -1
- package/indicators/klinger.src.js +1 -1
- package/indicators/macd.js +1 -1
- package/indicators/macd.src.js +1 -1
- package/indicators/mfi.js +1 -1
- package/indicators/mfi.src.js +1 -1
- package/indicators/momentum.js +1 -1
- package/indicators/momentum.src.js +1 -1
- package/indicators/natr.js +1 -1
- package/indicators/natr.src.js +1 -1
- package/indicators/obv.js +1 -1
- package/indicators/obv.src.js +1 -1
- package/indicators/pivot-points.js +1 -1
- package/indicators/pivot-points.src.js +1 -1
- package/indicators/ppo.js +1 -1
- package/indicators/ppo.src.js +1 -1
- package/indicators/price-channel.js +1 -1
- package/indicators/price-channel.src.js +1 -1
- package/indicators/price-envelopes.js +1 -1
- package/indicators/price-envelopes.src.js +1 -1
- package/indicators/psar.js +1 -1
- package/indicators/psar.src.js +1 -1
- package/indicators/regressions.js +1 -1
- package/indicators/regressions.src.js +1 -1
- package/indicators/roc.js +1 -1
- package/indicators/roc.src.js +1 -1
- package/indicators/rsi.js +1 -1
- package/indicators/rsi.src.js +2 -2
- package/indicators/slow-stochastic.js +1 -1
- package/indicators/slow-stochastic.src.js +1 -1
- package/indicators/stochastic.js +1 -1
- package/indicators/stochastic.src.js +1 -1
- package/indicators/supertrend.js +1 -1
- package/indicators/supertrend.src.js +1 -1
- package/indicators/tema.js +1 -1
- package/indicators/tema.src.js +1 -1
- package/indicators/trendline.js +1 -1
- package/indicators/trendline.src.js +1 -1
- package/indicators/trix.js +1 -1
- package/indicators/trix.src.js +1 -1
- package/indicators/volume-by-price.js +1 -1
- package/indicators/volume-by-price.src.js +1 -1
- package/indicators/vwap.js +1 -1
- package/indicators/vwap.src.js +1 -1
- package/indicators/williams-r.js +1 -1
- package/indicators/williams-r.src.js +1 -1
- package/indicators/wma.js +1 -1
- package/indicators/wma.src.js +1 -1
- package/indicators/zigzag.js +1 -1
- package/indicators/zigzag.src.js +1 -1
- package/modules/accessibility.js +2 -2
- package/modules/accessibility.src.js +69 -63
- package/modules/annotations-advanced.js +3 -3
- package/modules/annotations-advanced.src.js +25 -23
- package/modules/annotations.js +3 -3
- package/modules/annotations.src.js +21 -19
- package/modules/arc-diagram.js +2 -2
- package/modules/arc-diagram.src.js +16 -15
- package/modules/arrow-symbols.js +1 -1
- package/modules/arrow-symbols.src.js +1 -1
- package/modules/boost-canvas.js +2 -2
- package/modules/boost-canvas.src.js +29 -20
- package/modules/boost.js +2 -2
- package/modules/boost.src.js +28 -19
- package/modules/broken-axis.js +2 -2
- package/modules/broken-axis.src.js +6 -5
- package/modules/bullet.js +2 -2
- package/modules/bullet.src.js +17 -10
- package/modules/coloraxis.js +2 -2
- package/modules/coloraxis.src.js +18 -11
- package/modules/contour.js +4 -4
- package/modules/contour.src.js +19 -12
- package/modules/current-date-indicator.js +1 -1
- package/modules/current-date-indicator.src.js +1 -1
- package/modules/cylinder.js +2 -2
- package/modules/cylinder.src.js +9 -10
- package/modules/data-sorting.js +1 -1
- package/modules/data-sorting.src.js +1 -1
- package/modules/data-tools.js +2 -2
- package/modules/data-tools.src.js +20 -3
- package/modules/data.js +1 -1
- package/modules/data.src.js +1 -1
- package/modules/datagrouping.js +2 -2
- package/modules/datagrouping.src.js +6 -5
- package/modules/debugger.js +1 -1
- package/modules/debugger.src.js +1 -1
- package/modules/dependency-wheel.js +1 -1
- package/modules/dependency-wheel.src.js +1 -1
- package/modules/dotplot.js +2 -2
- package/modules/dotplot.src.js +3 -2
- package/modules/drag-panes.js +1 -1
- package/modules/drag-panes.src.js +1 -1
- package/modules/draggable-points.js +2 -2
- package/modules/draggable-points.src.js +2 -3
- package/modules/drilldown.js +2 -2
- package/modules/drilldown.src.js +5 -4
- package/modules/dumbbell.js +2 -2
- package/modules/dumbbell.src.js +37 -9
- package/modules/export-data.js +2 -2
- package/modules/export-data.src.js +17 -16
- package/modules/exporting.js +2 -2
- package/modules/exporting.src.js +7 -7
- package/modules/flowmap.js +2 -2
- package/modules/flowmap.src.js +21 -11
- package/modules/full-screen.js +1 -1
- package/modules/full-screen.src.js +1 -1
- package/modules/funnel.js +2 -2
- package/modules/funnel.src.js +2 -2
- package/modules/funnel3d.js +2 -2
- package/modules/funnel3d.src.js +14 -13
- package/modules/gantt.js +6 -6
- package/modules/gantt.src.js +96 -79
- package/modules/geoheatmap.d.ts +0 -12
- package/modules/geoheatmap.js +2 -2
- package/modules/geoheatmap.src.d.ts +0 -12
- package/modules/geoheatmap.src.js +8 -8
- package/modules/grid-axis.js +2 -2
- package/modules/grid-axis.src.js +4 -4
- package/modules/heatmap.d.ts +0 -12
- package/modules/heatmap.js +4 -4
- package/modules/heatmap.src.d.ts +0 -12
- package/modules/heatmap.src.js +40 -33
- package/modules/heikinashi.js +1 -1
- package/modules/heikinashi.src.js +1 -1
- package/modules/histogram-bellcurve.js +1 -1
- package/modules/histogram-bellcurve.src.js +15 -3
- package/modules/hollowcandlestick.js +1 -1
- package/modules/hollowcandlestick.src.js +1 -1
- package/modules/item-series.js +2 -2
- package/modules/item-series.src.js +18 -6
- package/modules/lollipop.js +1 -1
- package/modules/lollipop.src.js +1 -1
- package/modules/map.d.ts +0 -12
- package/modules/map.js +4 -4
- package/modules/map.src.d.ts +0 -12
- package/modules/map.src.js +83 -68
- package/modules/marker-clusters.js +1 -1
- package/modules/marker-clusters.src.js +1 -1
- package/modules/mouse-wheel-zoom.js +2 -2
- package/modules/mouse-wheel-zoom.src.js +3 -3
- package/modules/navigator.js +2 -2
- package/modules/navigator.src.js +47 -45
- package/modules/networkgraph.js +2 -2
- package/modules/networkgraph.src.js +31 -21
- package/modules/no-data-to-display.js +1 -1
- package/modules/no-data-to-display.src.js +1 -1
- package/modules/non-cartesian-zoom.js +1 -1
- package/modules/non-cartesian-zoom.src.js +1 -1
- package/modules/offline-exporting.js +1 -1
- package/modules/offline-exporting.src.js +1 -1
- package/modules/organization.js +2 -2
- package/modules/organization.src.js +3 -2
- package/modules/parallel-coordinates.js +2 -2
- package/modules/parallel-coordinates.src.js +2 -2
- package/modules/pareto.js +1 -1
- package/modules/pareto.src.js +1 -1
- package/modules/pathfinder.js +2 -2
- package/modules/pathfinder.src.js +7 -6
- package/modules/pattern-fill.js +2 -2
- package/modules/pattern-fill.src.js +7 -5
- package/modules/pictorial.js +2 -2
- package/modules/pictorial.src.js +10 -6
- package/modules/pointandfigure.js +1 -1
- package/modules/pointandfigure.src.js +1 -1
- package/modules/price-indicator.js +2 -2
- package/modules/price-indicator.src.js +5 -4
- package/modules/pyramid3d.js +1 -1
- package/modules/pyramid3d.src.js +1 -1
- package/modules/renko.js +1 -1
- package/modules/renko.src.js +1 -1
- package/modules/sankey.js +2 -2
- package/modules/sankey.src.js +34 -20
- package/modules/series-label.js +2 -2
- package/modules/series-label.src.js +7 -7
- package/modules/series-on-point.js +1 -1
- package/modules/series-on-point.src.js +1 -1
- package/modules/solid-gauge.js +2 -2
- package/modules/solid-gauge.src.js +2 -2
- package/modules/sonification.js +2 -2
- package/modules/sonification.src.js +19 -19
- package/modules/static-scale.js +1 -1
- package/modules/static-scale.src.js +1 -1
- package/modules/stock-tools.js +3 -3
- package/modules/stock-tools.src.js +15 -10
- package/modules/stock.js +6 -6
- package/modules/stock.src.js +105 -89
- package/modules/streamgraph.js +1 -1
- package/modules/streamgraph.src.js +1 -1
- package/modules/sunburst.js +2 -2
- package/modules/sunburst.src.js +41 -26
- package/modules/textpath.js +1 -1
- package/modules/textpath.src.js +1 -1
- package/modules/tiledwebmap.js +2 -2
- package/modules/tiledwebmap.src.js +8 -6
- package/modules/tilemap.js +2 -2
- package/modules/tilemap.src.js +3 -3
- package/modules/timeline.js +2 -2
- package/modules/timeline.src.js +5 -4
- package/modules/treegraph.js +2 -2
- package/modules/treegraph.src.js +17 -8
- package/modules/treegrid.js +2 -2
- package/modules/treegrid.src.js +28 -18
- package/modules/treemap.js +2 -2
- package/modules/treemap.src.js +35 -22
- package/modules/variable-pie.js +2 -2
- package/modules/variable-pie.src.js +6 -4
- package/modules/variwide.js +2 -2
- package/modules/variwide.src.js +2 -2
- package/modules/vector.js +1 -1
- package/modules/vector.src.js +1 -1
- package/modules/venn.js +1 -1
- package/modules/venn.src.js +1 -1
- package/modules/windbarb.js +2 -2
- package/modules/windbarb.src.js +2 -2
- package/modules/wordcloud.js +1 -1
- package/modules/wordcloud.src.js +1 -1
- package/modules/xrange.js +1 -1
- package/modules/xrange.src.js +1 -1
- package/package.json +2 -3
- package/standalone-navigator.js +4 -4
- package/standalone-navigator.src.js +355 -249
- package/themes/adaptive.js +1 -1
- package/themes/adaptive.src.js +1 -1
- package/themes/avocado.js +1 -1
- package/themes/avocado.src.js +1 -1
- package/themes/dark-unica.js +1 -1
- package/themes/dark-unica.src.js +1 -1
- package/themes/grid-light.js +1 -1
- package/themes/grid-light.src.js +1 -1
- package/themes/high-contrast.js +1 -1
- package/themes/high-contrast.src.js +1 -1
- package/themes/sand-signika.js +1 -1
- package/themes/sand-signika.src.js +1 -1
- package/themes/sunset.js +1 -1
- package/themes/sunset.src.js +1 -1
package/esm/modules/gantt.src.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// SPDX-License-Identifier: LicenseRef-Highcharts
|
|
2
2
|
/**
|
|
3
|
-
* @license Highcharts Gantt JS v13.0.
|
|
3
|
+
* @license Highcharts Gantt JS v13.0.2 (2026-08-27)
|
|
4
4
|
* @module highcharts/modules/gantt
|
|
5
5
|
* @requires highcharts
|
|
6
6
|
*
|
|
@@ -984,7 +984,7 @@ function onChartAfterSetChartSize() {
|
|
|
984
984
|
navigator.top = this.plotTop + scrollButtonSize;
|
|
985
985
|
}
|
|
986
986
|
else {
|
|
987
|
-
navigator.left = (
|
|
987
|
+
navigator.left = (xAxis.left ?? this.plotLeft + scrollButtonSize);
|
|
988
988
|
navigator.top = navigator.navigatorOptions.top ||
|
|
989
989
|
this.chartHeight -
|
|
990
990
|
navigator.height -
|
|
@@ -1000,7 +1000,7 @@ function onChartAfterSetChartSize() {
|
|
|
1000
1000
|
legendOptions.enabled &&
|
|
1001
1001
|
!legendOptions.floating) ?
|
|
1002
1002
|
legend.legendHeight +
|
|
1003
|
-
(
|
|
1003
|
+
(legendOptions.margin ?? 10) :
|
|
1004
1004
|
0) -
|
|
1005
1005
|
(this.titleOffset ? this.titleOffset[2] : 0);
|
|
1006
1006
|
}
|
|
@@ -1025,7 +1025,7 @@ function onChartAfterUpdate(event) {
|
|
|
1025
1025
|
(this.options.navigator.enabled ||
|
|
1026
1026
|
this.options.scrollbar.enabled)) {
|
|
1027
1027
|
this.scroller = this.navigator = new NavigatorConstructor(this);
|
|
1028
|
-
if (
|
|
1028
|
+
if (event.redraw ?? true) {
|
|
1029
1029
|
this.redraw(event.animation); // #7067
|
|
1030
1030
|
}
|
|
1031
1031
|
}
|
|
@@ -1203,7 +1203,7 @@ class NavigatorAxisAdditions {
|
|
|
1203
1203
|
*/
|
|
1204
1204
|
toFixedRange(pxMin, pxMax, fixedMin, fixedMax) {
|
|
1205
1205
|
const axis = this.axis, halfPointRange = (axis.pointRange || 0) / 2;
|
|
1206
|
-
let newMin =
|
|
1206
|
+
let newMin = fixedMin ?? axis.translate(pxMin, true, !axis.horiz), newMax = fixedMax ?? axis.translate(pxMax, true, !axis.horiz);
|
|
1207
1207
|
// Add/remove half point range to/from the extremes (#1172)
|
|
1208
1208
|
if (!(0,external_highcharts_src_js_default_namespaceObject.defined)(fixedMin)) {
|
|
1209
1209
|
newMin = (0,external_highcharts_src_js_default_namespaceObject.correctFloat)(newMin + halfPointRange);
|
|
@@ -2200,7 +2200,7 @@ function Symbols_arc(cx, cy, w, h, options) {
|
|
|
2200
2200
|
const arc = [];
|
|
2201
2201
|
if (options) {
|
|
2202
2202
|
let start = options.start || 0, end = options.end || 0;
|
|
2203
|
-
const rx = (
|
|
2203
|
+
const rx = (options.r ?? w), ry = (options.r ?? (h || w)),
|
|
2204
2204
|
// Subtract a small number to prevent cos and sin of start and end
|
|
2205
2205
|
// from becoming equal on 360 arcs (#1561). See "Arc proximity"
|
|
2206
2206
|
// tests at samples/unit-tests/svgrenderer/symbol/demo.js
|
|
@@ -2210,16 +2210,17 @@ function Symbols_arc(cx, cy, w, h, options) {
|
|
|
2210
2210
|
start = Math.PI / 2;
|
|
2211
2211
|
end = Math.PI * 2.5 - proximity;
|
|
2212
2212
|
}
|
|
2213
|
-
const innerRadius = options.innerR, open = (
|
|
2213
|
+
const innerRadius = options.innerR, open = (options.open ?? fullCircle), cosStart = fullCircle ? 0 : Math.cos(start), sinStart = fullCircle ? 1 : Math.sin(start), cosEnd = fullCircle ? 0 : Math.cos(end), sinEnd = fullCircle ? 1 : Math.sin(end),
|
|
2214
2214
|
// Proximity takes care of rounding errors around PI (#6971)
|
|
2215
|
-
longArc =
|
|
2215
|
+
longArc = options.longArc ??
|
|
2216
|
+
(end - start - Math.PI < proximity ? 0 : 1);
|
|
2216
2217
|
let arcSegment = [
|
|
2217
2218
|
'A', // ArcTo
|
|
2218
2219
|
rx, // X radius
|
|
2219
2220
|
ry, // Y radius
|
|
2220
2221
|
0, // Slanting
|
|
2221
2222
|
longArc, // Long or short arc
|
|
2222
|
-
(
|
|
2223
|
+
(options.clockwise ?? 1), // Clockwise
|
|
2223
2224
|
// Use a static pixel offset for full circle (#21701)
|
|
2224
2225
|
cx + (fullCircle ? 0.001 : rx * cosEnd),
|
|
2225
2226
|
cy + ry * sinEnd
|
|
@@ -2916,8 +2917,8 @@ var ScrollbarAxis;
|
|
|
2916
2917
|
ScrollbarAxis.compose = compose;
|
|
2917
2918
|
/** @internal */
|
|
2918
2919
|
function getExtremes(axis) {
|
|
2919
|
-
const axisMin = (
|
|
2920
|
-
const axisMax = (
|
|
2920
|
+
const axisMin = (axis.options?.min ?? axis.min);
|
|
2921
|
+
const axisMax = (axis.options?.max ?? axis.max);
|
|
2921
2922
|
return {
|
|
2922
2923
|
axisMin,
|
|
2923
2924
|
axisMax,
|
|
@@ -3456,7 +3457,7 @@ class Scrollbar {
|
|
|
3456
3457
|
buttonToMaxClick(e) {
|
|
3457
3458
|
const scroller = this;
|
|
3458
3459
|
const range = ((scroller.to - scroller.from) *
|
|
3459
|
-
(
|
|
3460
|
+
(scroller.options.step ?? 0.2));
|
|
3460
3461
|
scroller.updatePosition(scroller.from + range, scroller.to + range);
|
|
3461
3462
|
(0,external_highcharts_src_js_default_namespaceObject.fireEvent)(scroller, 'changed', {
|
|
3462
3463
|
from: scroller.from,
|
|
@@ -3468,7 +3469,7 @@ class Scrollbar {
|
|
|
3468
3469
|
buttonToMinClick(e) {
|
|
3469
3470
|
const scroller = this;
|
|
3470
3471
|
const range = (0,external_highcharts_src_js_default_namespaceObject.correctFloat)(scroller.to - scroller.from) *
|
|
3471
|
-
(
|
|
3472
|
+
(scroller.options.step ?? 0.2);
|
|
3472
3473
|
scroller.updatePosition((0,external_highcharts_src_js_default_namespaceObject.correctFloat)(scroller.from - range), (0,external_highcharts_src_js_default_namespaceObject.correctFloat)(scroller.to - range));
|
|
3473
3474
|
(0,external_highcharts_src_js_default_namespaceObject.fireEvent)(scroller, 'changed', {
|
|
3474
3475
|
from: scroller.from,
|
|
@@ -3600,10 +3601,11 @@ class Scrollbar {
|
|
|
3600
3601
|
scroller.renderer = renderer;
|
|
3601
3602
|
scroller.userOptions = options;
|
|
3602
3603
|
scroller.options = (0,external_highcharts_src_js_default_namespaceObject.merge)(Scrollbar_ScrollbarDefaults, Scrollbar_defaultOptions.scrollbar, options);
|
|
3603
|
-
scroller.options.margin = (
|
|
3604
|
+
scroller.options.margin = (scroller.options.margin ?? 10);
|
|
3604
3605
|
scroller.chart = chart;
|
|
3605
3606
|
// Backward compatibility
|
|
3606
|
-
scroller.size =
|
|
3607
|
+
scroller.size = scroller.options.size ??
|
|
3608
|
+
scroller.options.height;
|
|
3607
3609
|
// Init
|
|
3608
3610
|
if (options.enabled) {
|
|
3609
3611
|
scroller.render();
|
|
@@ -3893,9 +3895,9 @@ class Scrollbar {
|
|
|
3893
3895
|
* @function Highcharts.Scrollbar#shouldUpdateExtremes
|
|
3894
3896
|
*/
|
|
3895
3897
|
shouldUpdateExtremes(eventType) {
|
|
3896
|
-
return ((
|
|
3898
|
+
return ((this.options.liveRedraw ?? ((external_highcharts_src_js_default_default()).svg &&
|
|
3897
3899
|
!(external_highcharts_src_js_default_default()).isTouchDevice &&
|
|
3898
|
-
!this.chart.boosted) ||
|
|
3900
|
+
!this.chart.boosted)) ||
|
|
3899
3901
|
// Mouseup always should change extremes
|
|
3900
3902
|
eventType === 'mouseup' ||
|
|
3901
3903
|
eventType === 'touchend' ||
|
|
@@ -4415,18 +4417,18 @@ class Navigator {
|
|
|
4415
4417
|
// it. For example hidden series, but visible navigator (#6022).
|
|
4416
4418
|
if (rendered) {
|
|
4417
4419
|
pxMin = 0;
|
|
4418
|
-
pxMax = (
|
|
4420
|
+
pxMax = (xAxis.width ?? scrollbarXAxis.width);
|
|
4419
4421
|
}
|
|
4420
4422
|
else {
|
|
4421
4423
|
return;
|
|
4422
4424
|
}
|
|
4423
4425
|
}
|
|
4424
|
-
navigator.left = (
|
|
4425
|
-
// In case of scrollbar only, without navigator
|
|
4426
|
-
chart.plotLeft + scrollButtonSize +
|
|
4426
|
+
navigator.left = (xAxis.left ?? chart.plotLeft + scrollButtonSize +
|
|
4427
4427
|
(inverted ? chart.plotWidth : 0));
|
|
4428
|
-
let zoomedMax = navigator.size = navigatorSize =
|
|
4429
|
-
|
|
4428
|
+
let zoomedMax = navigator.size = navigatorSize =
|
|
4429
|
+
xAxis.len ??
|
|
4430
|
+
(inverted ? chart.plotHeight : chart.plotWidth) -
|
|
4431
|
+
2 * scrollButtonSize;
|
|
4430
4432
|
if (inverted) {
|
|
4431
4433
|
navigatorWidth = scrollbarHeight;
|
|
4432
4434
|
}
|
|
@@ -4434,8 +4436,8 @@ class Navigator {
|
|
|
4434
4436
|
navigatorWidth = navigatorSize + 2 * scrollButtonSize;
|
|
4435
4437
|
}
|
|
4436
4438
|
// Get the pixel position of the handles
|
|
4437
|
-
pxMin = (
|
|
4438
|
-
pxMax = (
|
|
4439
|
+
pxMin = (pxMin ?? xAxis.toPixels(min, true));
|
|
4440
|
+
pxMax = (pxMax ?? xAxis.toPixels(max, true));
|
|
4439
4441
|
// Verify (#1851, #2238)
|
|
4440
4442
|
if (!(0,external_highcharts_src_js_default_namespaceObject.isNumber)(pxMin) || Math.abs(pxMin) === Infinity) {
|
|
4441
4443
|
pxMin = 0;
|
|
@@ -4714,11 +4716,10 @@ class Navigator {
|
|
|
4714
4716
|
navigator.render(0, 0, chartX - dragOffset, chartX - dragOffset + range);
|
|
4715
4717
|
}
|
|
4716
4718
|
if (navigator.hasDragged &&
|
|
4717
|
-
(
|
|
4719
|
+
(navigator.scrollbarOptions?.liveRedraw ?? (
|
|
4718
4720
|
// By default, don't run live redraw on touch
|
|
4719
4721
|
// devices or if the chart is in boost.
|
|
4720
|
-
!Navigator_isTouchDevice &&
|
|
4721
|
-
!this.chart.boosted)) {
|
|
4722
|
+
!Navigator_isTouchDevice && !this.chart.boosted))) {
|
|
4722
4723
|
e.DOMType = e.type;
|
|
4723
4724
|
setTimeout(function () {
|
|
4724
4725
|
navigator.onMouseUp(e);
|
|
@@ -4907,8 +4908,10 @@ class Navigator {
|
|
|
4907
4908
|
offset: 0,
|
|
4908
4909
|
index: yAxisIndex,
|
|
4909
4910
|
isInternal: true,
|
|
4910
|
-
reversed: (
|
|
4911
|
-
navigatorOptions.yAxis.reversed)
|
|
4911
|
+
reversed: ((navigatorOptions.yAxis &&
|
|
4912
|
+
navigatorOptions.yAxis.reversed) ??
|
|
4913
|
+
(chart.yAxis[0] && chart.yAxis[0].reversed) ??
|
|
4914
|
+
false), // #14060
|
|
4912
4915
|
zoomEnabled: false
|
|
4913
4916
|
}, chart.inverted ? {
|
|
4914
4917
|
width: height
|
|
@@ -4994,7 +4997,9 @@ class Navigator {
|
|
|
4994
4997
|
*/
|
|
4995
4998
|
setOpposite() {
|
|
4996
4999
|
const navigatorOptions = this.navigatorOptions, navigatorEnabled = this.navigatorEnabled, chart = this.chart;
|
|
4997
|
-
this.opposite =
|
|
5000
|
+
this.opposite =
|
|
5001
|
+
navigatorOptions.opposite ??
|
|
5002
|
+
Boolean(!navigatorEnabled && chart.inverted); // #6262
|
|
4998
5003
|
}
|
|
4999
5004
|
/**
|
|
5000
5005
|
* Get the union data extremes of the chart - the outer data extremes of the
|
|
@@ -5008,9 +5013,8 @@ class Navigator {
|
|
|
5008
5013
|
let ret;
|
|
5009
5014
|
if (!returnFalseOnNoBaseSeries || baseAxis.dataMin !== null) {
|
|
5010
5015
|
ret = {
|
|
5011
|
-
dataMin: (
|
|
5012
|
-
time.parse(navAxisOptions?.
|
|
5013
|
-
dataMax: (0,external_highcharts_src_js_default_namespaceObject.pick)(time.parse(navAxisOptions?.max), numExt('max', time.parse(baseAxisOptions.max), baseAxis.dataMax, navAxis.dataMax, navAxis.max))
|
|
5016
|
+
dataMin: (time.parse(navAxisOptions?.min) ?? numExt('min', time.parse(baseAxisOptions.min), baseAxis.dataMin, navAxis.dataMin, navAxis.min)),
|
|
5017
|
+
dataMax: (time.parse(navAxisOptions?.max) ?? numExt('max', time.parse(baseAxisOptions.max), baseAxis.dataMax, navAxis.dataMax, navAxis.max))
|
|
5014
5018
|
};
|
|
5015
5019
|
}
|
|
5016
5020
|
return ret;
|
|
@@ -5125,11 +5129,9 @@ class Navigator {
|
|
|
5125
5129
|
userNavOptions.dataLabels = (0,external_highcharts_src_js_default_namespaceObject.splat)(userNavOptions.dataLabels);
|
|
5126
5130
|
mergedNavSeriesOptions = (0,external_highcharts_src_js_default_namespaceObject.merge)(baseOptions, navSeriesMixin, userNavOptions, baseNavigatorOptions);
|
|
5127
5131
|
// Once nav series type is resolved, pick correct pointRange
|
|
5128
|
-
mergedNavSeriesOptions.pointRange = (
|
|
5129
|
-
|
|
5130
|
-
|
|
5131
|
-
// Fallback to default values, e.g. `null` for column
|
|
5132
|
-
Navigator_defaultOptions.plotOptions[mergedNavSeriesOptions.type || 'line']?.pointRange);
|
|
5132
|
+
mergedNavSeriesOptions.pointRange = (userNavOptions.pointRange ??
|
|
5133
|
+
baseNavigatorOptions.pointRange ??
|
|
5134
|
+
Navigator_defaultOptions.plotOptions[mergedNavSeriesOptions.type || 'line']?.pointRange);
|
|
5133
5135
|
// Merge data separately. Do a slice to avoid mutating the
|
|
5134
5136
|
// navigator options from base series (#4923).
|
|
5135
5137
|
const navigatorSeriesData = baseNavigatorOptions.data || userNavOptions.data, navigatorSeriesDataTable = baseNavigatorOptions.dataTable ||
|
|
@@ -5289,7 +5291,7 @@ class Navigator {
|
|
|
5289
5291
|
* @function Highcharts.Navigator#modifyBaseAxisExtremes
|
|
5290
5292
|
*/
|
|
5291
5293
|
modifyBaseAxisExtremes() {
|
|
5292
|
-
const baseXAxis = this, navigator = baseXAxis.chart.navigator, baseExtremes = baseXAxis.getExtremes(), baseMin = baseExtremes.min, baseMax = baseExtremes.max, baseDataMin = baseExtremes.dataMin, baseDataMax = baseExtremes.dataMax, range = baseMax - baseMin, stickToMin = navigator?.stickToMin, stickToMax = navigator?.stickToMax, overscroll = (
|
|
5294
|
+
const baseXAxis = this, navigator = baseXAxis.chart.navigator, baseExtremes = baseXAxis.getExtremes(), baseMin = baseExtremes.min, baseMax = baseExtremes.max, baseDataMin = baseExtremes.dataMin, baseDataMax = baseExtremes.dataMax, range = baseMax - baseMin, stickToMin = navigator?.stickToMin, stickToMax = navigator?.stickToMax, overscroll = (baseXAxis.ordinal?.convertOverscroll(baseXAxis.options.overscroll) ?? 0), navigatorSeries = navigator.series && navigator.series[0], hasSetExtremes = !!baseXAxis.setExtremes,
|
|
5293
5295
|
// When the extremes have been set by range selector button, don't
|
|
5294
5296
|
// stick to min or max. The range selector buttons will handle the
|
|
5295
5297
|
// extremes. (#5489)
|
|
@@ -5341,8 +5343,8 @@ class Navigator {
|
|
|
5341
5343
|
Math.round(navigator.zoomedMax) >= Math.round(navigator.size);
|
|
5342
5344
|
// If the scrollbar is scrolled all the way to the right, keep right as
|
|
5343
5345
|
// new data comes in, unless user set navigator.stickToMax to false.
|
|
5344
|
-
navigator.stickToMax = (
|
|
5345
|
-
this.chart.options.navigator.stickToMax
|
|
5346
|
+
navigator.stickToMax = (this.chart.options.navigator &&
|
|
5347
|
+
this.chart.options.navigator.stickToMax) ?? shouldStickToMax;
|
|
5346
5348
|
navigator.stickToMin = navigator.shouldStickToMin(baseSeries, navigator);
|
|
5347
5349
|
// Set the navigator series data to the new data of the base series
|
|
5348
5350
|
if (navigatorSeries && !navigator.hasNavigatorData) {
|
|
@@ -6117,7 +6119,7 @@ function axisMinFromRange() {
|
|
|
6117
6119
|
this.chart.setFixedRange(max - min);
|
|
6118
6120
|
}
|
|
6119
6121
|
}
|
|
6120
|
-
const dataMin = (
|
|
6122
|
+
const dataMin = (this.dataMin ?? Number.MIN_VALUE);
|
|
6121
6123
|
if (!(0,external_highcharts_src_js_default_namespaceObject.isNumber)(min)) {
|
|
6122
6124
|
min = dataMin;
|
|
6123
6125
|
}
|
|
@@ -6126,7 +6128,7 @@ function axisMinFromRange() {
|
|
|
6126
6128
|
if (typeof range === 'undefined') { // #4501
|
|
6127
6129
|
range = getTrueRange(min, rangeOptions.count);
|
|
6128
6130
|
}
|
|
6129
|
-
this.newMax = Math.min(min + range, (
|
|
6131
|
+
this.newMax = Math.min(min + range, (this.dataMax ?? Number.MAX_VALUE));
|
|
6130
6132
|
}
|
|
6131
6133
|
if (!(0,external_highcharts_src_js_default_namespaceObject.isNumber)(max)) {
|
|
6132
6134
|
min = void 0;
|
|
@@ -6553,7 +6555,7 @@ class RangeSelector {
|
|
|
6553
6555
|
}
|
|
6554
6556
|
else if ((0,external_highcharts_src_js_default_namespaceObject.isNumber)(newMin) || (0,external_highcharts_src_js_default_namespaceObject.isNumber)(newMax)) {
|
|
6555
6557
|
// Existing axis object. Set extremes after render time.
|
|
6556
|
-
baseAxis.setExtremes(newMin, newMax, (
|
|
6558
|
+
baseAxis.setExtremes(newMin, newMax, (redraw ?? true), void 0, // Auto animation
|
|
6557
6559
|
{
|
|
6558
6560
|
trigger: 'rangeSelectorButton',
|
|
6559
6561
|
rangeSelectorButton: rangeOptions
|
|
@@ -6788,8 +6790,8 @@ class RangeSelector {
|
|
|
6788
6790
|
year: 365
|
|
6789
6791
|
}[type] * 24 * 36e5 * count;
|
|
6790
6792
|
}
|
|
6791
|
-
rangeOptions._offsetMin = (
|
|
6792
|
-
rangeOptions._offsetMax = (
|
|
6793
|
+
rangeOptions._offsetMin = (rangeOptions.offsetMin ?? 0);
|
|
6794
|
+
rangeOptions._offsetMax = (rangeOptions.offsetMax ?? 0);
|
|
6793
6795
|
rangeOptions._range +=
|
|
6794
6796
|
rangeOptions._offsetMax - rangeOptions._offsetMin;
|
|
6795
6797
|
}
|
|
@@ -7100,7 +7102,7 @@ class RangeSelector {
|
|
|
7100
7102
|
};
|
|
7101
7103
|
}
|
|
7102
7104
|
createElements() {
|
|
7103
|
-
const chart = this.chart, renderer = chart.renderer, container = chart.container, chartOptions = chart.options, options = chartOptions.rangeSelector, inputEnabled = options.inputEnabled, inputsZIndex = (
|
|
7105
|
+
const chart = this.chart, renderer = chart.renderer, container = chart.container, chartOptions = chart.options, options = chartOptions.rangeSelector, inputEnabled = options.inputEnabled, inputsZIndex = (chartOptions.chart.style?.zIndex ?? 0) + 1;
|
|
7104
7106
|
if (options.enabled === false) {
|
|
7105
7107
|
return;
|
|
7106
7108
|
}
|
|
@@ -7241,10 +7243,14 @@ class RangeSelector {
|
|
|
7241
7243
|
// Create a label for dropdown select element
|
|
7242
7244
|
const userButtonTheme = chart.userOptions.rangeSelector?.buttonTheme;
|
|
7243
7245
|
this.dropdownLabel = renderer.button('', 0, 0, () => { }, (0,external_highcharts_src_js_default_namespaceObject.merge)(buttonTheme, {
|
|
7244
|
-
'stroke-width': (
|
|
7246
|
+
'stroke-width': (buttonTheme['stroke-width'] ?? 0),
|
|
7245
7247
|
width: 'auto',
|
|
7246
|
-
paddingLeft:
|
|
7247
|
-
|
|
7248
|
+
paddingLeft: options.buttonTheme.paddingLeft ??
|
|
7249
|
+
userButtonTheme?.padding ??
|
|
7250
|
+
8,
|
|
7251
|
+
paddingRight: options.buttonTheme.paddingRight ??
|
|
7252
|
+
userButtonTheme?.padding ??
|
|
7253
|
+
8
|
|
7248
7254
|
}), states && states.hover, states && states.select, states && states.disabled)
|
|
7249
7255
|
.hide()
|
|
7250
7256
|
.add(this.group);
|
|
@@ -7425,7 +7431,7 @@ class RangeSelector {
|
|
|
7425
7431
|
legendOptions.enabled &&
|
|
7426
7432
|
!legendOptions.floating ?
|
|
7427
7433
|
(chart.legend.legendHeight +
|
|
7428
|
-
(
|
|
7434
|
+
(legendOptions.margin ?? 10)) :
|
|
7429
7435
|
0);
|
|
7430
7436
|
groupHeight = groupHeight + legendHeight - 20;
|
|
7431
7437
|
translateY = (alignTranslateY -
|
|
@@ -7571,7 +7577,7 @@ class RangeSelector {
|
|
|
7571
7577
|
// Align button group
|
|
7572
7578
|
buttonGroup.align({
|
|
7573
7579
|
y: buttonPosition.y,
|
|
7574
|
-
width: (
|
|
7580
|
+
width: (width ?? this.initialButtonGroupWidth),
|
|
7575
7581
|
align: buttonPosition.align,
|
|
7576
7582
|
x: translateX
|
|
7577
7583
|
}, true, chart.spacingBox);
|
|
@@ -7590,7 +7596,7 @@ class RangeSelector {
|
|
|
7590
7596
|
if (zoomText && zoomText.visibility !== 'hidden') {
|
|
7591
7597
|
// #8769, allow dynamically updating margins
|
|
7592
7598
|
zoomText[verb]({
|
|
7593
|
-
x:
|
|
7599
|
+
x: plotLeft + (buttonPosition.x ?? 0)
|
|
7594
7600
|
});
|
|
7595
7601
|
// Button start position
|
|
7596
7602
|
buttonLeft += buttonPosition.x +
|
|
@@ -8368,7 +8374,6 @@ const PathUtilities = {
|
|
|
8368
8374
|
* */
|
|
8369
8375
|
|
|
8370
8376
|
|
|
8371
|
-
|
|
8372
8377
|
/* *
|
|
8373
8378
|
*
|
|
8374
8379
|
* Constants
|
|
@@ -8565,7 +8570,8 @@ function straight(start, end) {
|
|
|
8565
8570
|
*/
|
|
8566
8571
|
const simpleConnect = function (start, end, options) {
|
|
8567
8572
|
const segments = [], chartObstacles = options.chartObstacles, startObstacleIx = findObstacleFromPoint(chartObstacles, start), endObstacleIx = findObstacleFromPoint(chartObstacles, end);
|
|
8568
|
-
let endSegment, dir = (
|
|
8573
|
+
let endSegment, dir = (options.startDirectionX ??
|
|
8574
|
+
(abs(end.x - start.x) > abs(end.y - start.y))) ? 'x' : 'y', startObstacle, endObstacle, waypoint, useMax, endPoint;
|
|
8569
8575
|
// eslint-disable-next-line valid-jsdoc
|
|
8570
8576
|
/**
|
|
8571
8577
|
* Return a clone of a point with a property set from a target object,
|
|
@@ -8707,7 +8713,8 @@ function fastAvoid(start, end, options) {
|
|
|
8707
8713
|
- When going around the end obstacle we should not always go the
|
|
8708
8714
|
shortest route, rather pick the one closer to the end point
|
|
8709
8715
|
*/
|
|
8710
|
-
const dirIsX =
|
|
8716
|
+
const dirIsX = options.startDirectionX ??
|
|
8717
|
+
(abs(end.x - start.x) > abs(end.y - start.y)), dir = dirIsX ? 'x' : 'y', endSegments = [],
|
|
8711
8718
|
// Boundaries to stay within. If beyond soft boundary, prefer to
|
|
8712
8719
|
// change direction ASAP. If at hard max, always change immediately.
|
|
8713
8720
|
metrics = options.obstacleMetrics, softMinX = PathfinderAlgorithms_min(start.x, end.x) - metrics.maxWidth - 10, softMaxX = PathfinderAlgorithms_max(start.x, end.x) + metrics.maxWidth + 10, softMinY = PathfinderAlgorithms_min(start.y, end.y) - metrics.maxHeight - 10, softMaxY = PathfinderAlgorithms_max(start.y, end.y) + metrics.maxHeight + 10;
|
|
@@ -9664,7 +9671,7 @@ function Pathfinder_getPointBB(point) {
|
|
|
9664
9671
|
*/
|
|
9665
9672
|
function calculateObstacleDistance(a, b, bbMargin) {
|
|
9666
9673
|
// Count the distance even if we are slightly off
|
|
9667
|
-
const margin = (
|
|
9674
|
+
const margin = (bbMargin ?? 10), yOverlap = a.yMax + margin > b.yMin - margin &&
|
|
9668
9675
|
a.yMin - margin < b.yMax + margin, xOverlap = a.xMax + margin > b.xMin - margin &&
|
|
9669
9676
|
a.xMin - margin < b.xMax + margin, xDistance = yOverlap ? (a.xMin > b.xMax ? a.xMin - b.xMax : b.xMin - a.xMax) : Infinity, yDistance = xOverlap ? (a.yMin > b.yMax ? a.yMin - b.yMax : b.yMin - a.yMax) : Infinity;
|
|
9670
9677
|
// If the rectangles collide, try recomputing with smaller margin.
|
|
@@ -9909,7 +9916,7 @@ class Pathfinder {
|
|
|
9909
9916
|
* with xMin, xMax, yMin and yMax properties.
|
|
9910
9917
|
*/
|
|
9911
9918
|
getChartObstacles(options) {
|
|
9912
|
-
const series = this.chart.series, margin = (
|
|
9919
|
+
const series = this.chart.series, margin = (options.algorithmMargin ?? 0);
|
|
9913
9920
|
let obstacles = [], calculatedMargin;
|
|
9914
9921
|
for (let i = 0, sLen = series.length; i < sLen; ++i) {
|
|
9915
9922
|
if (series[i].visible && !series[i].options.isInternal) {
|
|
@@ -10267,7 +10274,7 @@ var BrokenAxis;
|
|
|
10267
10274
|
/** @internal */
|
|
10268
10275
|
function onSeriesAfterRender() {
|
|
10269
10276
|
this.drawBreaks(this.xAxis, ['x']);
|
|
10270
|
-
this.drawBreaks(this.yAxis, (
|
|
10277
|
+
this.drawBreaks(this.yAxis, (this.pointArrayMap ?? ['y']));
|
|
10271
10278
|
}
|
|
10272
10279
|
/** @internal */
|
|
10273
10280
|
function seriesDrawBreaks(axis, keys) {
|
|
@@ -10279,7 +10286,7 @@ var BrokenAxis;
|
|
|
10279
10286
|
breaks = brokenAxis?.breakArray || [];
|
|
10280
10287
|
threshold = axis.isXAxis ?
|
|
10281
10288
|
axis.min :
|
|
10282
|
-
(
|
|
10289
|
+
(series.options.threshold ?? axis.min);
|
|
10283
10290
|
points.forEach(function (point) {
|
|
10284
10291
|
y = point['stack' + key.toUpperCase()] ??
|
|
10285
10292
|
point[key];
|
|
@@ -10572,7 +10579,8 @@ var BrokenAxis;
|
|
|
10572
10579
|
if (Additions.isInBreak(breaks[i], val)) {
|
|
10573
10580
|
inbrk = true;
|
|
10574
10581
|
if (!keep) {
|
|
10575
|
-
keep =
|
|
10582
|
+
keep =
|
|
10583
|
+
breaks[i].showPoints ?? !axis.isXAxis;
|
|
10576
10584
|
}
|
|
10577
10585
|
}
|
|
10578
10586
|
}
|
|
@@ -10755,7 +10763,7 @@ var BrokenAxis;
|
|
|
10755
10763
|
}
|
|
10756
10764
|
};
|
|
10757
10765
|
}
|
|
10758
|
-
if (
|
|
10766
|
+
if (redraw ?? true) {
|
|
10759
10767
|
axis.chart.redraw();
|
|
10760
10768
|
}
|
|
10761
10769
|
}
|
|
@@ -10827,7 +10835,7 @@ function applyGridOptions(axis) {
|
|
|
10827
10835
|
options.labels = {};
|
|
10828
10836
|
}
|
|
10829
10837
|
*/
|
|
10830
|
-
options.labels.align = (
|
|
10838
|
+
options.labels.align = (options.labels.align ?? 'center');
|
|
10831
10839
|
// @todo: Check against tickLabelPlacement between/on etc
|
|
10832
10840
|
/* Prevents adding the last tick label if the axis is not a category
|
|
10833
10841
|
axis.
|
|
@@ -11371,8 +11379,8 @@ function onAfterSetOptions(e) {
|
|
|
11371
11379
|
_________________________
|
|
11372
11380
|
Into this: |_____|_____|_____|_____|
|
|
11373
11381
|
^ ^ */
|
|
11374
|
-
options.minPadding = (
|
|
11375
|
-
options.maxPadding = (
|
|
11382
|
+
options.minPadding = (userOptions.minPadding ?? 0);
|
|
11383
|
+
options.maxPadding = (userOptions.maxPadding ?? 0);
|
|
11376
11384
|
}
|
|
11377
11385
|
// If borderWidth is set, then use its value for tick and
|
|
11378
11386
|
// line width.
|
|
@@ -11891,7 +11899,7 @@ function getNode(id, parent, level, data, mapOfIdToChildren, options) {
|
|
|
11891
11899
|
}
|
|
11892
11900
|
// Call getNode recursively on the children. Calculate the height of the
|
|
11893
11901
|
// node, and the number of descendants.
|
|
11894
|
-
const children = (
|
|
11902
|
+
const children = (mapOfIdToChildren[id] || []).map((child) => {
|
|
11895
11903
|
const node = getNode(child.id, id, (level + 1), child, mapOfIdToChildren, options), childStart = child.start || NaN, childEnd = (child.milestone === true ?
|
|
11896
11904
|
childStart :
|
|
11897
11905
|
child.end ||
|
|
@@ -12020,7 +12028,7 @@ function renderLabelIcon(tick, params) {
|
|
|
12020
12028
|
}
|
|
12021
12029
|
/** @internal */
|
|
12022
12030
|
function wrapGetLabelPosition(proceed, x, y, label, horiz, labelOptions, tickmarkOffset, index, step) {
|
|
12023
|
-
const tick = this, lbOptions = (
|
|
12031
|
+
const tick = this, lbOptions = (tick.options?.labels ?? labelOptions), pos = tick.pos, axis = tick.axis, isTreeGrid = axis.type === 'treegrid', result = proceed.apply(tick, [x, y, label, horiz, lbOptions, tickmarkOffset, index, step]);
|
|
12024
12032
|
let mapOfPosToGridNode, node, level;
|
|
12025
12033
|
if (isTreeGrid) {
|
|
12026
12034
|
const { width = 0, padding = axis.linkedParent ? 0 : 5 } = (lbOptions && (0,external_highcharts_src_js_default_namespaceObject.isObject)(lbOptions.symbol, true) ?
|
|
@@ -12041,7 +12049,7 @@ function wrapGetLabelPosition(proceed, x, y, label, horiz, labelOptions, tickmar
|
|
|
12041
12049
|
}
|
|
12042
12050
|
/** @internal */
|
|
12043
12051
|
function wrapRenderLabel(proceed) {
|
|
12044
|
-
const tick = this, { pos, axis, label, treeGrid: tickGrid, options: tickOptions } = tick, icon = tickGrid?.labelIcon, labelElement = label?.element, { treeGrid: axisGrid, options: axisOptions, chart, tickPositions } = axis, mapOfPosToGridNode = axisGrid.mapOfPosToGridNode, labelOptions = (
|
|
12052
|
+
const tick = this, { pos, axis, label, treeGrid: tickGrid, options: tickOptions } = tick, icon = tickGrid?.labelIcon, labelElement = label?.element, { treeGrid: axisGrid, options: axisOptions, chart, tickPositions } = axis, mapOfPosToGridNode = axisGrid.mapOfPosToGridNode, labelOptions = (tickOptions?.labels ?? axisOptions?.labels), symbolOptions = (labelOptions && (0,external_highcharts_src_js_default_namespaceObject.isObject)(labelOptions.symbol, true) ?
|
|
12045
12053
|
labelOptions.symbol :
|
|
12046
12054
|
{}), node = mapOfPosToGridNode?.[pos], { descendants, depth } = node || {}, hasDescendants = node && descendants && descendants > 0, level = depth, isTreeGridElement = (axis.type === 'treegrid') && labelElement, shouldRender = tickPositions.indexOf(pos) > -1, prefixClassName = 'highcharts-treegrid-node-', prefixLevelClass = prefixClassName + 'level-', styledMode = chart.styledMode;
|
|
12047
12055
|
let collapsed, addClassName, removeClassName;
|
|
@@ -12307,9 +12315,17 @@ function getColor(node, options) {
|
|
|
12307
12315
|
}
|
|
12308
12316
|
// Select either point color, level color or inherited color.
|
|
12309
12317
|
if (!series.chart.styledMode) {
|
|
12310
|
-
color = (
|
|
12311
|
-
|
|
12312
|
-
|
|
12318
|
+
color = ((point && point.options.color) ??
|
|
12319
|
+
(level && level.color) ??
|
|
12320
|
+
colorByPoint ??
|
|
12321
|
+
(parentColor && variateColor(parentColor)) ??
|
|
12322
|
+
series.color);
|
|
12323
|
+
}
|
|
12324
|
+
colorIndex = ((point && point.options.colorIndex) ??
|
|
12325
|
+
(level && level.colorIndex) ??
|
|
12326
|
+
colorIndexByPoint ??
|
|
12327
|
+
parentColorIndex ??
|
|
12328
|
+
options.colorIndex);
|
|
12313
12329
|
}
|
|
12314
12330
|
return {
|
|
12315
12331
|
color: color,
|
|
@@ -12346,7 +12362,8 @@ function getLevelOptions(params) {
|
|
|
12346
12362
|
let level, levelIsConstant, options;
|
|
12347
12363
|
if ((0,external_highcharts_src_js_default_namespaceObject.isObject)(item) && (0,external_highcharts_src_js_default_namespaceObject.isNumber)(item.level)) {
|
|
12348
12364
|
options = (0,external_highcharts_src_js_default_namespaceObject.merge)({}, item);
|
|
12349
|
-
levelIsConstant =
|
|
12365
|
+
levelIsConstant =
|
|
12366
|
+
options.levelIsConstant ?? defaults.levelIsConstant;
|
|
12350
12367
|
// Delete redundant properties.
|
|
12351
12368
|
delete options.levelIsConstant;
|
|
12352
12369
|
delete options.level;
|
|
@@ -12378,7 +12395,7 @@ function setTreeValues(tree, options) {
|
|
|
12378
12395
|
const before = options.before, idRoot = options.idRoot, mapIdToNode = options.mapIdToNode, nodeRoot = mapIdToNode[idRoot], levelIsConstant = (options.levelIsConstant !== false), points = options.points, point = points[tree.i], optionsPoint = point && point.options || {}, children = [];
|
|
12379
12396
|
let childrenTotal = 0;
|
|
12380
12397
|
tree.levelDynamic = tree.level - (levelIsConstant ? 0 : nodeRoot.level);
|
|
12381
|
-
tree.name = (
|
|
12398
|
+
tree.name = ((point && point.name) ?? '');
|
|
12382
12399
|
tree.visible = (idRoot === tree.id ||
|
|
12383
12400
|
options.visible === true);
|
|
12384
12401
|
if (typeof before === 'function') {
|
|
@@ -12399,7 +12416,7 @@ function setTreeValues(tree, options) {
|
|
|
12399
12416
|
}
|
|
12400
12417
|
});
|
|
12401
12418
|
// Set the values
|
|
12402
|
-
const value = (
|
|
12419
|
+
const value = (optionsPoint.value ?? childrenTotal);
|
|
12403
12420
|
tree.visible = value >= 0 && (childrenTotal > 0 || tree.visible);
|
|
12404
12421
|
tree.children = children;
|
|
12405
12422
|
tree.childrenTotal = childrenTotal;
|
|
@@ -12425,7 +12442,7 @@ function updateRootId(series) {
|
|
|
12425
12442
|
// Get the series options.
|
|
12426
12443
|
options = (0,external_highcharts_src_js_default_namespaceObject.isObject)(series.options) ? series.options : {};
|
|
12427
12444
|
// Calculate the rootId.
|
|
12428
|
-
rootId = (
|
|
12445
|
+
rootId = (series.rootNode ?? options.rootId ?? '');
|
|
12429
12446
|
// Set rootId on series.userOptions to pick it up in exporting.
|
|
12430
12447
|
if ((0,external_highcharts_src_js_default_namespaceObject.isObject)(series.userOptions)) {
|
|
12431
12448
|
series.userOptions.rootId = rootId;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Highcharts JS v13.0.
|
|
2
|
+
* Highcharts JS v13.0.2 (2026-08-27)
|
|
3
3
|
* @module highcharts/modules/geoheatmap
|
|
4
4
|
* @requires highcharts
|
|
5
5
|
*
|
|
@@ -7,4 +7,4 @@
|
|
|
7
7
|
*
|
|
8
8
|
* A commercial license may be required depending on use,
|
|
9
9
|
* see www.highcharts.com/license
|
|
10
|
-
*/import*as t from"../highcharts.js";let e={};e.n=t=>{let i=t&&t.__esModule?()=>t.default:()=>t;return e.d(i,{a:i}),i},e.d=(t,i)=>{if(Array.isArray(i))for(var a=0;a<i.length;){var o=i[a++],r=i[a++];e.o(t,o)?0===r&&a++:0===r?Object.defineProperty(t,o,{enumerable:!0,value:i[a++]}):Object.defineProperty(t,o,{enumerable:!0,get:r})}else for(var o in i)e.o(i,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:i[o]})},e.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);let i=t.default;var a=e.n(i);let o=t.default.SeriesRegistry;var r=e.n(o);let{map:{prototype:{pointClass:s}}}=r().seriesTypes,n=class extends s{applyOptions(t,e){let a=super.applyOptions.call(this,t,e),{lat:o,lon:r}=a.options;if((0,i.isNumber)(r)&&(0,i.isNumber)(o)){let{colsize:t=1,rowsize:e=1}=this.series.options,i=r-t/2,s=o-e/2;a.geometry=a.options.geometry={type:"Polygon",coordinates:[[[i,s],[i+t,s],[i+t,s+e],[i,s+e],[i,s]]]}}return a}},{doc:l}=a(),{noop:p}=a(),{colorFromPoint:h,getContext:d}={colorFromPoint:function(t,e){let a=e.series.colorAxis;if(a){let o=a.toColor(t||0,e).split(")")[0].split("(")[1].split(",").map(t=>
|
|
10
|
+
*/import*as t from"../highcharts.js";let e={};e.n=t=>{let i=t&&t.__esModule?()=>t.default:()=>t;return e.d(i,{a:i}),i},e.d=(t,i)=>{if(Array.isArray(i))for(var a=0;a<i.length;){var o=i[a++],r=i[a++];e.o(t,o)?0===r&&a++:0===r?Object.defineProperty(t,o,{enumerable:!0,value:i[a++]}):Object.defineProperty(t,o,{enumerable:!0,get:r})}else for(var o in i)e.o(i,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:i[o]})},e.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);let i=t.default;var a=e.n(i);let o=t.default.SeriesRegistry;var r=e.n(o);let{map:{prototype:{pointClass:s}}}=r().seriesTypes,n=class extends s{applyOptions(t,e){let a=super.applyOptions.call(this,t,e),{lat:o,lon:r}=a.options;if((0,i.isNumber)(r)&&(0,i.isNumber)(o)){let{colsize:t=1,rowsize:e=1}=this.series.options,i=r-t/2,s=o-e/2;a.geometry=a.options.geometry={type:"Polygon",coordinates:[[[i,s],[i+t,s],[i+t,s+e],[i,s+e],[i,s]]]}}return a}},{doc:l}=a(),{noop:p}=a(),{colorFromPoint:h,getContext:d}={colorFromPoint:function(t,e){let a=e.series.colorAxis;if(a){let o=a.toColor(t||0,e).split(")")[0].split("(")[1].split(",").map(t=>parseFloat(t)??parseInt(t,10));return o[3]=(o[3]??1)*255,(0,i.defined)(t)&&e.visible||(o[3]=0),o}return[0,0,0,0]},getContext:function(t){let{canvas:e,context:i}=t;return e&&i?.clearRect?(i.clearRect(0,0,e.width,e.height),i):(t.canvas=l.createElement("canvas"),t.context=t.canvas.getContext("2d",{willReadFrequently:!0})||void 0,t.context)}},{seriesTypes:{map:g}}=r();function c(t){return t-360*Math.floor((t+180)/360)}class u extends g{constructor(){super(...arguments),this.isDirtyCanvas=!0}update(){this.options=(0,i.merge)(this.options,arguments[0]),this.getInterpolation().enabled&&(this.isDirtyCanvas=!0,this.points.forEach(t=>{t.graphic&&(t.graphic.destroy(),delete t.graphic)})),super.update.apply(this,arguments)}translate(){(!this.getInterpolation().enabled||!this.image||this.isDirty||this.isDirtyData)&&super.translate.apply(this,arguments)}getInterpolation(){return(0,i.isObject)(this.options.interpolation)?this.options.interpolation:{blur:1,enabled:this.options.interpolation}}drawPoints(){let t=this.chart.mapView,e=this.options;if(this.getInterpolation().enabled&&t&&this.bounds){let o=this.context||d(this),{canvas:r,colorAxis:s,image:n,chart:l,points:p}=this,[g,c]=[e.colsize??1,e.rowsize??1],u=t.projectedUnitsToPixels({x:this.bounds.x1,y:this.bounds.y2}),m=t.projectedUnitsToPixels({x:this.bounds.x2,y:this.bounds.y1});if(r&&o&&s&&u&&m){let{x:e,y:s}=u,d=m.x-e,y=m.y-s,b={x:e,y:s,width:d,height:y};if(this.isDirtyCanvas||this.isDirtyData||"Orthographic"===t.projection.options.name){let n=r.width=~~(360/g)+1,l=r.height=~~(180/c)+1,u=new Uint8ClampedArray(n*l*4),{lat:m=0,lon:b=0}=p[0].options,f=b%c!=0,x=m%g!=0,w=f?t=>Math.round(t/c)*c:t=>t,v=x?t=>Math.round(t/g)*g:t=>t,D=p.length;(f||x)&&(0,i.error)("Highcharts Warning: For best performance, lon/lat datapoints should spaced by a single colsize/rowsize",!1,this.chart,{colsize:String(g),rowsize:String(c)}),this.directTouch=!1,this.isDirtyCanvas=!0;for(let t=0;t<D;t++){var a;let e=p[t],{lon:o,lat:r}=e.options;(0,i.isNumber)(o)&&(0,i.isNumber)(r)&&u.set(h(e.value,e),4*(a=w(o),Math.ceil(n*(l-1-(v(r)+90)/c)+(a+180)/g)))}let C=this.getInterpolation().blur,P=0===C?1:11*C,j=~~(n*P),I=~~(l*P),O=~~d,T=~~y,A=new ImageData(u,n,l);r.width=j,r.height=I,o.putImageData(A,0,0),o.globalCompositeOperation="copy",o.drawImage(r,0,0,A.width,A.height,0,0,j,I);let L=this.getProjectedImageData(t,O,T,o.getImageData(0,0,j,I),r,e,s);r.width=O,r.height=T,o.putImageData(new ImageData(L,O,T),0,0)}if(n)if(l.renderer.globalAnimation&&l.hasRendered){let t=Number(n.attr("x")),a=Number(n.attr("y")),o=Number(n.attr("width")),p=Number(n.attr("height")),h=(i,r)=>{let l=r.pos;n.attr({x:t+(e-t)*l,y:a+(s-a)*l,width:o+(d-o)*l,height:p+(y-p)*l})},g=(0,i.merge)((0,i.animObject)(l.renderer.globalAnimation)),c=g.step;g.step=function(){c&&c.apply(this,arguments),h.apply(this,arguments)},n.attr((0,i.merge)({animator:0},this.isDirtyCanvas?{href:r.toDataURL("image/png",1)}:void 0)).animate({animator:1},g)}else(0,i.stop)(n),n.attr((0,i.merge)(b,this.isDirtyCanvas?{href:r.toDataURL("image/png",1)}:void 0));else this.image=l.renderer.image(r.toDataURL("image/png",1)).attr(b).add(this.group);this.isDirtyCanvas=!1}}else super.drawPoints.apply(this,arguments)}getProjectedImageData(t,e,i,a,o,r,s){let n=new Uint8ClampedArray(e*i*4),l=t.projection.options.rotation?.[0]??0,p=o.width/360,h=-1*o.height/180,d=-1;for(let i=0;i<n.length;i+=4){let g=i/4%e;0===g&&d++;let u=t.pixelsToLonLat({x:r+g,y:s+d});if(u){u.lon>-180-l&&u.lon<180-l&&(u.lon=c(u.lon));let t=[u.lon,u.lat],e=t[0]*p+o.width/2,r=t[1]*h+o.height/2;if(e>=0&&e<=o.width&&r>=0&&r<=o.height){let t=Math.floor(r)*o.width*4+4*Math.round(e);n[i]=a.data[t],n[i+1]=a.data[t+1],n[i+2]=a.data[t+2],n[i+3]=a.data[t+3]}}}return n}searchPoint(t,e){let i=this.chart,a=i.mapView;if(a&&this.bounds&&this.image&&i.tooltip&&i.tooltip.options.enabled)if(!i.pointer.hasDragged&&(.01>=+this.image.attr("animator")||+this.image.attr("animator")>=.99)){let o=a.projectedUnitsToPixels({x:this.bounds.x1,y:this.bounds.y2}),r=a.projectedUnitsToPixels({x:this.bounds.x2,y:this.bounds.y1});if(i.pointer.normalize(t),t.lon&&t.lat&&o&&r&&t.chartX-i.plotLeft>o.x&&t.chartX-i.plotLeft<r.x&&t.chartY-i.plotTop>o.y&&t.chartY-i.plotTop<r.y)return this.searchKDTree({clientX:t.chartX,lon:c(t.lon),lat:t.lat},e,t)}else i.tooltip.destroy()}}u.defaultOptions=(0,i.merge)(g.defaultOptions,{nullColor:"transparent",tooltip:{pointFormat:"Lat: {point.lat}, Lon: {point.lon}, Value: {point.value}<br/>"},borderWidth:0,colsize:1,rowsize:1,stickyTracking:!0,interpolation:{enabled:!1,blur:1}}),(0,i.addEvent)(u,"afterDataClassLegendClick",function(){this.isDirtyCanvas=!0,this.drawPoints()}),(0,i.extend)(u.prototype,{type:"geoheatmap",applyJitter:p,pointClass:n,pointArrayMap:["lon","lat","value"],kdAxisArray:["lon","lat"]}),r().registerSeriesType("geoheatmap",u);let m=a();export{m as default};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// SPDX-License-Identifier: LicenseRef-Highcharts
|
|
2
2
|
/**
|
|
3
|
-
* @license Highcharts JS v13.0.
|
|
3
|
+
* @license Highcharts JS v13.0.2 (2026-08-27)
|
|
4
4
|
* @module highcharts/modules/geoheatmap
|
|
5
5
|
* @requires highcharts
|
|
6
6
|
*
|
|
@@ -149,7 +149,7 @@ const { doc } = (external_highcharts_src_js_default_default());
|
|
|
149
149
|
/**
|
|
150
150
|
* Find color of point based on color axis.
|
|
151
151
|
*
|
|
152
|
-
* @
|
|
152
|
+
* @internal
|
|
153
153
|
*
|
|
154
154
|
* @param {number | null} value
|
|
155
155
|
* Value to find corresponding color on the color axis.
|
|
@@ -167,8 +167,8 @@ function colorFromPoint(value, point) {
|
|
|
167
167
|
.split(')')[0]
|
|
168
168
|
.split('(')[1]
|
|
169
169
|
.split(',')
|
|
170
|
-
.map((s) => (
|
|
171
|
-
rgba[3] = (
|
|
170
|
+
.map((s) => (parseFloat(s) ?? parseInt(s, 10))));
|
|
171
|
+
rgba[3] = (rgba[3] ?? 1.0) * 255;
|
|
172
172
|
if (!(0,external_highcharts_src_js_default_namespaceObject.defined)(value) || !point.visible) {
|
|
173
173
|
rgba[3] = 0;
|
|
174
174
|
}
|
|
@@ -178,7 +178,7 @@ function colorFromPoint(value, point) {
|
|
|
178
178
|
}
|
|
179
179
|
/**
|
|
180
180
|
* Method responsible for creating a canvas for interpolation image.
|
|
181
|
-
* @
|
|
181
|
+
* @internal
|
|
182
182
|
*/
|
|
183
183
|
function getContext(series) {
|
|
184
184
|
const { canvas, context } = series;
|
|
@@ -321,8 +321,8 @@ class GeoHeatmapSeries extends MapSeries {
|
|
|
321
321
|
const series = this, chart = series.chart, mapView = chart.mapView, seriesOptions = series.options;
|
|
322
322
|
if (series.getInterpolation().enabled && mapView && series.bounds) {
|
|
323
323
|
const ctx = series.context || GeoHeatmapSeries_getContext(series), { canvas, colorAxis, image, chart, points } = series, [colsize, rowsize] = [
|
|
324
|
-
(
|
|
325
|
-
(
|
|
324
|
+
(seriesOptions.colsize ?? 1),
|
|
325
|
+
(seriesOptions.rowsize ?? 1)
|
|
326
326
|
],
|
|
327
327
|
// Calculate dimensions based on series bounds
|
|
328
328
|
topLeft = mapView.projectedUnitsToPixels({
|
|
@@ -443,7 +443,7 @@ class GeoHeatmapSeries extends MapSeries {
|
|
|
443
443
|
* @private
|
|
444
444
|
*/
|
|
445
445
|
getProjectedImageData(mapView, projectedWidth, projectedHeight, cartesianImageData, canvas, horizontalShift, verticalShift) {
|
|
446
|
-
const projectedPixelData = new Uint8ClampedArray(projectedWidth * projectedHeight * 4), lambda = (
|
|
446
|
+
const projectedPixelData = new Uint8ClampedArray(projectedWidth * projectedHeight * 4), lambda = (mapView.projection.options.rotation?.[0] ?? 0), widthFactor = canvas.width / 360, heightFactor = -1 * canvas.height / 180;
|
|
447
447
|
let y = -1;
|
|
448
448
|
// For each pixel on the map plane, find the map
|
|
449
449
|
// coordinate and get the color value
|