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/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
|
*
|
|
@@ -1093,7 +1093,7 @@ function onChartAfterSetChartSize() {
|
|
|
1093
1093
|
navigator.top = this.plotTop + scrollButtonSize;
|
|
1094
1094
|
}
|
|
1095
1095
|
else {
|
|
1096
|
-
navigator.left = (
|
|
1096
|
+
navigator.left = (xAxis.left ?? this.plotLeft + scrollButtonSize);
|
|
1097
1097
|
navigator.top = navigator.navigatorOptions.top ||
|
|
1098
1098
|
this.chartHeight -
|
|
1099
1099
|
navigator.height -
|
|
@@ -1109,7 +1109,7 @@ function onChartAfterSetChartSize() {
|
|
|
1109
1109
|
legendOptions.enabled &&
|
|
1110
1110
|
!legendOptions.floating) ?
|
|
1111
1111
|
legend.legendHeight +
|
|
1112
|
-
(
|
|
1112
|
+
(legendOptions.margin ?? 10) :
|
|
1113
1113
|
0) -
|
|
1114
1114
|
(this.titleOffset ? this.titleOffset[2] : 0);
|
|
1115
1115
|
}
|
|
@@ -1134,7 +1134,7 @@ function onChartAfterUpdate(event) {
|
|
|
1134
1134
|
(this.options.navigator.enabled ||
|
|
1135
1135
|
this.options.scrollbar.enabled)) {
|
|
1136
1136
|
this.scroller = this.navigator = new NavigatorConstructor(this);
|
|
1137
|
-
if (
|
|
1137
|
+
if (event.redraw ?? true) {
|
|
1138
1138
|
this.redraw(event.animation); // #7067
|
|
1139
1139
|
}
|
|
1140
1140
|
}
|
|
@@ -1312,7 +1312,7 @@ class NavigatorAxisAdditions {
|
|
|
1312
1312
|
*/
|
|
1313
1313
|
toFixedRange(pxMin, pxMax, fixedMin, fixedMax) {
|
|
1314
1314
|
const axis = this.axis, halfPointRange = (axis.pointRange || 0) / 2;
|
|
1315
|
-
let newMin =
|
|
1315
|
+
let newMin = fixedMin ?? axis.translate(pxMin, true, !axis.horiz), newMax = fixedMax ?? axis.translate(pxMax, true, !axis.horiz);
|
|
1316
1316
|
// Add/remove half point range to/from the extremes (#1172)
|
|
1317
1317
|
if (!(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.defined)(fixedMin)) {
|
|
1318
1318
|
newMin = (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.correctFloat)(newMin + halfPointRange);
|
|
@@ -2309,7 +2309,7 @@ function Symbols_arc(cx, cy, w, h, options) {
|
|
|
2309
2309
|
const arc = [];
|
|
2310
2310
|
if (options) {
|
|
2311
2311
|
let start = options.start || 0, end = options.end || 0;
|
|
2312
|
-
const rx = (
|
|
2312
|
+
const rx = (options.r ?? w), ry = (options.r ?? (h || w)),
|
|
2313
2313
|
// Subtract a small number to prevent cos and sin of start and end
|
|
2314
2314
|
// from becoming equal on 360 arcs (#1561). See "Arc proximity"
|
|
2315
2315
|
// tests at samples/unit-tests/svgrenderer/symbol/demo.js
|
|
@@ -2319,16 +2319,17 @@ function Symbols_arc(cx, cy, w, h, options) {
|
|
|
2319
2319
|
start = Math.PI / 2;
|
|
2320
2320
|
end = Math.PI * 2.5 - proximity;
|
|
2321
2321
|
}
|
|
2322
|
-
const innerRadius = options.innerR, open = (
|
|
2322
|
+
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),
|
|
2323
2323
|
// Proximity takes care of rounding errors around PI (#6971)
|
|
2324
|
-
longArc =
|
|
2324
|
+
longArc = options.longArc ??
|
|
2325
|
+
(end - start - Math.PI < proximity ? 0 : 1);
|
|
2325
2326
|
let arcSegment = [
|
|
2326
2327
|
'A', // ArcTo
|
|
2327
2328
|
rx, // X radius
|
|
2328
2329
|
ry, // Y radius
|
|
2329
2330
|
0, // Slanting
|
|
2330
2331
|
longArc, // Long or short arc
|
|
2331
|
-
(
|
|
2332
|
+
(options.clockwise ?? 1), // Clockwise
|
|
2332
2333
|
// Use a static pixel offset for full circle (#21701)
|
|
2333
2334
|
cx + (fullCircle ? 0.001 : rx * cosEnd),
|
|
2334
2335
|
cy + ry * sinEnd
|
|
@@ -3025,8 +3026,8 @@ var ScrollbarAxis;
|
|
|
3025
3026
|
ScrollbarAxis.compose = compose;
|
|
3026
3027
|
/** @internal */
|
|
3027
3028
|
function getExtremes(axis) {
|
|
3028
|
-
const axisMin = (
|
|
3029
|
-
const axisMax = (
|
|
3029
|
+
const axisMin = (axis.options?.min ?? axis.min);
|
|
3030
|
+
const axisMax = (axis.options?.max ?? axis.max);
|
|
3030
3031
|
return {
|
|
3031
3032
|
axisMin,
|
|
3032
3033
|
axisMax,
|
|
@@ -3565,7 +3566,7 @@ class Scrollbar {
|
|
|
3565
3566
|
buttonToMaxClick(e) {
|
|
3566
3567
|
const scroller = this;
|
|
3567
3568
|
const range = ((scroller.to - scroller.from) *
|
|
3568
|
-
(
|
|
3569
|
+
(scroller.options.step ?? 0.2));
|
|
3569
3570
|
scroller.updatePosition(scroller.from + range, scroller.to + range);
|
|
3570
3571
|
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.fireEvent)(scroller, 'changed', {
|
|
3571
3572
|
from: scroller.from,
|
|
@@ -3577,7 +3578,7 @@ class Scrollbar {
|
|
|
3577
3578
|
buttonToMinClick(e) {
|
|
3578
3579
|
const scroller = this;
|
|
3579
3580
|
const range = (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.correctFloat)(scroller.to - scroller.from) *
|
|
3580
|
-
(
|
|
3581
|
+
(scroller.options.step ?? 0.2);
|
|
3581
3582
|
scroller.updatePosition((0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.correctFloat)(scroller.from - range), (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.correctFloat)(scroller.to - range));
|
|
3582
3583
|
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.fireEvent)(scroller, 'changed', {
|
|
3583
3584
|
from: scroller.from,
|
|
@@ -3709,10 +3710,11 @@ class Scrollbar {
|
|
|
3709
3710
|
scroller.renderer = renderer;
|
|
3710
3711
|
scroller.userOptions = options;
|
|
3711
3712
|
scroller.options = (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.merge)(Scrollbar_ScrollbarDefaults, Scrollbar_defaultOptions.scrollbar, options);
|
|
3712
|
-
scroller.options.margin = (
|
|
3713
|
+
scroller.options.margin = (scroller.options.margin ?? 10);
|
|
3713
3714
|
scroller.chart = chart;
|
|
3714
3715
|
// Backward compatibility
|
|
3715
|
-
scroller.size =
|
|
3716
|
+
scroller.size = scroller.options.size ??
|
|
3717
|
+
scroller.options.height;
|
|
3716
3718
|
// Init
|
|
3717
3719
|
if (options.enabled) {
|
|
3718
3720
|
scroller.render();
|
|
@@ -4002,9 +4004,9 @@ class Scrollbar {
|
|
|
4002
4004
|
* @function Highcharts.Scrollbar#shouldUpdateExtremes
|
|
4003
4005
|
*/
|
|
4004
4006
|
shouldUpdateExtremes(eventType) {
|
|
4005
|
-
return ((
|
|
4007
|
+
return ((this.options.liveRedraw ?? ((highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).svg &&
|
|
4006
4008
|
!(highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).isTouchDevice &&
|
|
4007
|
-
!this.chart.boosted) ||
|
|
4009
|
+
!this.chart.boosted)) ||
|
|
4008
4010
|
// Mouseup always should change extremes
|
|
4009
4011
|
eventType === 'mouseup' ||
|
|
4010
4012
|
eventType === 'touchend' ||
|
|
@@ -4524,18 +4526,18 @@ class Navigator {
|
|
|
4524
4526
|
// it. For example hidden series, but visible navigator (#6022).
|
|
4525
4527
|
if (rendered) {
|
|
4526
4528
|
pxMin = 0;
|
|
4527
|
-
pxMax = (
|
|
4529
|
+
pxMax = (xAxis.width ?? scrollbarXAxis.width);
|
|
4528
4530
|
}
|
|
4529
4531
|
else {
|
|
4530
4532
|
return;
|
|
4531
4533
|
}
|
|
4532
4534
|
}
|
|
4533
|
-
navigator.left = (
|
|
4534
|
-
// In case of scrollbar only, without navigator
|
|
4535
|
-
chart.plotLeft + scrollButtonSize +
|
|
4535
|
+
navigator.left = (xAxis.left ?? chart.plotLeft + scrollButtonSize +
|
|
4536
4536
|
(inverted ? chart.plotWidth : 0));
|
|
4537
|
-
let zoomedMax = navigator.size = navigatorSize =
|
|
4538
|
-
|
|
4537
|
+
let zoomedMax = navigator.size = navigatorSize =
|
|
4538
|
+
xAxis.len ??
|
|
4539
|
+
(inverted ? chart.plotHeight : chart.plotWidth) -
|
|
4540
|
+
2 * scrollButtonSize;
|
|
4539
4541
|
if (inverted) {
|
|
4540
4542
|
navigatorWidth = scrollbarHeight;
|
|
4541
4543
|
}
|
|
@@ -4543,8 +4545,8 @@ class Navigator {
|
|
|
4543
4545
|
navigatorWidth = navigatorSize + 2 * scrollButtonSize;
|
|
4544
4546
|
}
|
|
4545
4547
|
// Get the pixel position of the handles
|
|
4546
|
-
pxMin = (
|
|
4547
|
-
pxMax = (
|
|
4548
|
+
pxMin = (pxMin ?? xAxis.toPixels(min, true));
|
|
4549
|
+
pxMax = (pxMax ?? xAxis.toPixels(max, true));
|
|
4548
4550
|
// Verify (#1851, #2238)
|
|
4549
4551
|
if (!(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.isNumber)(pxMin) || Math.abs(pxMin) === Infinity) {
|
|
4550
4552
|
pxMin = 0;
|
|
@@ -4823,11 +4825,10 @@ class Navigator {
|
|
|
4823
4825
|
navigator.render(0, 0, chartX - dragOffset, chartX - dragOffset + range);
|
|
4824
4826
|
}
|
|
4825
4827
|
if (navigator.hasDragged &&
|
|
4826
|
-
(
|
|
4828
|
+
(navigator.scrollbarOptions?.liveRedraw ?? (
|
|
4827
4829
|
// By default, don't run live redraw on touch
|
|
4828
4830
|
// devices or if the chart is in boost.
|
|
4829
|
-
!Navigator_isTouchDevice &&
|
|
4830
|
-
!this.chart.boosted)) {
|
|
4831
|
+
!Navigator_isTouchDevice && !this.chart.boosted))) {
|
|
4831
4832
|
e.DOMType = e.type;
|
|
4832
4833
|
setTimeout(function () {
|
|
4833
4834
|
navigator.onMouseUp(e);
|
|
@@ -5016,8 +5017,10 @@ class Navigator {
|
|
|
5016
5017
|
offset: 0,
|
|
5017
5018
|
index: yAxisIndex,
|
|
5018
5019
|
isInternal: true,
|
|
5019
|
-
reversed: (
|
|
5020
|
-
navigatorOptions.yAxis.reversed)
|
|
5020
|
+
reversed: ((navigatorOptions.yAxis &&
|
|
5021
|
+
navigatorOptions.yAxis.reversed) ??
|
|
5022
|
+
(chart.yAxis[0] && chart.yAxis[0].reversed) ??
|
|
5023
|
+
false), // #14060
|
|
5021
5024
|
zoomEnabled: false
|
|
5022
5025
|
}, chart.inverted ? {
|
|
5023
5026
|
width: height
|
|
@@ -5103,7 +5106,9 @@ class Navigator {
|
|
|
5103
5106
|
*/
|
|
5104
5107
|
setOpposite() {
|
|
5105
5108
|
const navigatorOptions = this.navigatorOptions, navigatorEnabled = this.navigatorEnabled, chart = this.chart;
|
|
5106
|
-
this.opposite =
|
|
5109
|
+
this.opposite =
|
|
5110
|
+
navigatorOptions.opposite ??
|
|
5111
|
+
Boolean(!navigatorEnabled && chart.inverted); // #6262
|
|
5107
5112
|
}
|
|
5108
5113
|
/**
|
|
5109
5114
|
* Get the union data extremes of the chart - the outer data extremes of the
|
|
@@ -5117,9 +5122,8 @@ class Navigator {
|
|
|
5117
5122
|
let ret;
|
|
5118
5123
|
if (!returnFalseOnNoBaseSeries || baseAxis.dataMin !== null) {
|
|
5119
5124
|
ret = {
|
|
5120
|
-
dataMin: (
|
|
5121
|
-
time.parse(navAxisOptions?.
|
|
5122
|
-
dataMax: (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.pick)(time.parse(navAxisOptions?.max), numExt('max', time.parse(baseAxisOptions.max), baseAxis.dataMax, navAxis.dataMax, navAxis.max))
|
|
5125
|
+
dataMin: (time.parse(navAxisOptions?.min) ?? numExt('min', time.parse(baseAxisOptions.min), baseAxis.dataMin, navAxis.dataMin, navAxis.min)),
|
|
5126
|
+
dataMax: (time.parse(navAxisOptions?.max) ?? numExt('max', time.parse(baseAxisOptions.max), baseAxis.dataMax, navAxis.dataMax, navAxis.max))
|
|
5123
5127
|
};
|
|
5124
5128
|
}
|
|
5125
5129
|
return ret;
|
|
@@ -5234,11 +5238,9 @@ class Navigator {
|
|
|
5234
5238
|
userNavOptions.dataLabels = (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.splat)(userNavOptions.dataLabels);
|
|
5235
5239
|
mergedNavSeriesOptions = (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.merge)(baseOptions, navSeriesMixin, userNavOptions, baseNavigatorOptions);
|
|
5236
5240
|
// Once nav series type is resolved, pick correct pointRange
|
|
5237
|
-
mergedNavSeriesOptions.pointRange = (
|
|
5238
|
-
|
|
5239
|
-
|
|
5240
|
-
// Fallback to default values, e.g. `null` for column
|
|
5241
|
-
Navigator_defaultOptions.plotOptions[mergedNavSeriesOptions.type || 'line']?.pointRange);
|
|
5241
|
+
mergedNavSeriesOptions.pointRange = (userNavOptions.pointRange ??
|
|
5242
|
+
baseNavigatorOptions.pointRange ??
|
|
5243
|
+
Navigator_defaultOptions.plotOptions[mergedNavSeriesOptions.type || 'line']?.pointRange);
|
|
5242
5244
|
// Merge data separately. Do a slice to avoid mutating the
|
|
5243
5245
|
// navigator options from base series (#4923).
|
|
5244
5246
|
const navigatorSeriesData = baseNavigatorOptions.data || userNavOptions.data, navigatorSeriesDataTable = baseNavigatorOptions.dataTable ||
|
|
@@ -5398,7 +5400,7 @@ class Navigator {
|
|
|
5398
5400
|
* @function Highcharts.Navigator#modifyBaseAxisExtremes
|
|
5399
5401
|
*/
|
|
5400
5402
|
modifyBaseAxisExtremes() {
|
|
5401
|
-
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 = (
|
|
5403
|
+
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,
|
|
5402
5404
|
// When the extremes have been set by range selector button, don't
|
|
5403
5405
|
// stick to min or max. The range selector buttons will handle the
|
|
5404
5406
|
// extremes. (#5489)
|
|
@@ -5450,8 +5452,8 @@ class Navigator {
|
|
|
5450
5452
|
Math.round(navigator.zoomedMax) >= Math.round(navigator.size);
|
|
5451
5453
|
// If the scrollbar is scrolled all the way to the right, keep right as
|
|
5452
5454
|
// new data comes in, unless user set navigator.stickToMax to false.
|
|
5453
|
-
navigator.stickToMax = (
|
|
5454
|
-
this.chart.options.navigator.stickToMax
|
|
5455
|
+
navigator.stickToMax = (this.chart.options.navigator &&
|
|
5456
|
+
this.chart.options.navigator.stickToMax) ?? shouldStickToMax;
|
|
5455
5457
|
navigator.stickToMin = navigator.shouldStickToMin(baseSeries, navigator);
|
|
5456
5458
|
// Set the navigator series data to the new data of the base series
|
|
5457
5459
|
if (navigatorSeries && !navigator.hasNavigatorData) {
|
|
@@ -6226,7 +6228,7 @@ function axisMinFromRange() {
|
|
|
6226
6228
|
this.chart.setFixedRange(max - min);
|
|
6227
6229
|
}
|
|
6228
6230
|
}
|
|
6229
|
-
const dataMin = (
|
|
6231
|
+
const dataMin = (this.dataMin ?? Number.MIN_VALUE);
|
|
6230
6232
|
if (!(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.isNumber)(min)) {
|
|
6231
6233
|
min = dataMin;
|
|
6232
6234
|
}
|
|
@@ -6235,7 +6237,7 @@ function axisMinFromRange() {
|
|
|
6235
6237
|
if (typeof range === 'undefined') { // #4501
|
|
6236
6238
|
range = getTrueRange(min, rangeOptions.count);
|
|
6237
6239
|
}
|
|
6238
|
-
this.newMax = Math.min(min + range, (
|
|
6240
|
+
this.newMax = Math.min(min + range, (this.dataMax ?? Number.MAX_VALUE));
|
|
6239
6241
|
}
|
|
6240
6242
|
if (!(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.isNumber)(max)) {
|
|
6241
6243
|
min = void 0;
|
|
@@ -6662,7 +6664,7 @@ class RangeSelector {
|
|
|
6662
6664
|
}
|
|
6663
6665
|
else if ((0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.isNumber)(newMin) || (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.isNumber)(newMax)) {
|
|
6664
6666
|
// Existing axis object. Set extremes after render time.
|
|
6665
|
-
baseAxis.setExtremes(newMin, newMax, (
|
|
6667
|
+
baseAxis.setExtremes(newMin, newMax, (redraw ?? true), void 0, // Auto animation
|
|
6666
6668
|
{
|
|
6667
6669
|
trigger: 'rangeSelectorButton',
|
|
6668
6670
|
rangeSelectorButton: rangeOptions
|
|
@@ -6897,8 +6899,8 @@ class RangeSelector {
|
|
|
6897
6899
|
year: 365
|
|
6898
6900
|
}[type] * 24 * 36e5 * count;
|
|
6899
6901
|
}
|
|
6900
|
-
rangeOptions._offsetMin = (
|
|
6901
|
-
rangeOptions._offsetMax = (
|
|
6902
|
+
rangeOptions._offsetMin = (rangeOptions.offsetMin ?? 0);
|
|
6903
|
+
rangeOptions._offsetMax = (rangeOptions.offsetMax ?? 0);
|
|
6902
6904
|
rangeOptions._range +=
|
|
6903
6905
|
rangeOptions._offsetMax - rangeOptions._offsetMin;
|
|
6904
6906
|
}
|
|
@@ -7209,7 +7211,7 @@ class RangeSelector {
|
|
|
7209
7211
|
};
|
|
7210
7212
|
}
|
|
7211
7213
|
createElements() {
|
|
7212
|
-
const chart = this.chart, renderer = chart.renderer, container = chart.container, chartOptions = chart.options, options = chartOptions.rangeSelector, inputEnabled = options.inputEnabled, inputsZIndex = (
|
|
7214
|
+
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;
|
|
7213
7215
|
if (options.enabled === false) {
|
|
7214
7216
|
return;
|
|
7215
7217
|
}
|
|
@@ -7350,10 +7352,14 @@ class RangeSelector {
|
|
|
7350
7352
|
// Create a label for dropdown select element
|
|
7351
7353
|
const userButtonTheme = chart.userOptions.rangeSelector?.buttonTheme;
|
|
7352
7354
|
this.dropdownLabel = renderer.button('', 0, 0, () => { }, (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.merge)(buttonTheme, {
|
|
7353
|
-
'stroke-width': (
|
|
7355
|
+
'stroke-width': (buttonTheme['stroke-width'] ?? 0),
|
|
7354
7356
|
width: 'auto',
|
|
7355
|
-
paddingLeft:
|
|
7356
|
-
|
|
7357
|
+
paddingLeft: options.buttonTheme.paddingLeft ??
|
|
7358
|
+
userButtonTheme?.padding ??
|
|
7359
|
+
8,
|
|
7360
|
+
paddingRight: options.buttonTheme.paddingRight ??
|
|
7361
|
+
userButtonTheme?.padding ??
|
|
7362
|
+
8
|
|
7357
7363
|
}), states && states.hover, states && states.select, states && states.disabled)
|
|
7358
7364
|
.hide()
|
|
7359
7365
|
.add(this.group);
|
|
@@ -7534,7 +7540,7 @@ class RangeSelector {
|
|
|
7534
7540
|
legendOptions.enabled &&
|
|
7535
7541
|
!legendOptions.floating ?
|
|
7536
7542
|
(chart.legend.legendHeight +
|
|
7537
|
-
(
|
|
7543
|
+
(legendOptions.margin ?? 10)) :
|
|
7538
7544
|
0);
|
|
7539
7545
|
groupHeight = groupHeight + legendHeight - 20;
|
|
7540
7546
|
translateY = (alignTranslateY -
|
|
@@ -7680,7 +7686,7 @@ class RangeSelector {
|
|
|
7680
7686
|
// Align button group
|
|
7681
7687
|
buttonGroup.align({
|
|
7682
7688
|
y: buttonPosition.y,
|
|
7683
|
-
width: (
|
|
7689
|
+
width: (width ?? this.initialButtonGroupWidth),
|
|
7684
7690
|
align: buttonPosition.align,
|
|
7685
7691
|
x: translateX
|
|
7686
7692
|
}, true, chart.spacingBox);
|
|
@@ -7699,7 +7705,7 @@ class RangeSelector {
|
|
|
7699
7705
|
if (zoomText && zoomText.visibility !== 'hidden') {
|
|
7700
7706
|
// #8769, allow dynamically updating margins
|
|
7701
7707
|
zoomText[verb]({
|
|
7702
|
-
x:
|
|
7708
|
+
x: plotLeft + (buttonPosition.x ?? 0)
|
|
7703
7709
|
});
|
|
7704
7710
|
// Button start position
|
|
7705
7711
|
buttonLeft += buttonPosition.x +
|
|
@@ -8163,7 +8169,6 @@ const PathUtilities = {
|
|
|
8163
8169
|
* */
|
|
8164
8170
|
|
|
8165
8171
|
|
|
8166
|
-
|
|
8167
8172
|
/* *
|
|
8168
8173
|
*
|
|
8169
8174
|
* Constants
|
|
@@ -8360,7 +8365,8 @@ function straight(start, end) {
|
|
|
8360
8365
|
*/
|
|
8361
8366
|
const simpleConnect = function (start, end, options) {
|
|
8362
8367
|
const segments = [], chartObstacles = options.chartObstacles, startObstacleIx = findObstacleFromPoint(chartObstacles, start), endObstacleIx = findObstacleFromPoint(chartObstacles, end);
|
|
8363
|
-
let endSegment, dir = (
|
|
8368
|
+
let endSegment, dir = (options.startDirectionX ??
|
|
8369
|
+
(abs(end.x - start.x) > abs(end.y - start.y))) ? 'x' : 'y', startObstacle, endObstacle, waypoint, useMax, endPoint;
|
|
8364
8370
|
// eslint-disable-next-line valid-jsdoc
|
|
8365
8371
|
/**
|
|
8366
8372
|
* Return a clone of a point with a property set from a target object,
|
|
@@ -8502,7 +8508,8 @@ function fastAvoid(start, end, options) {
|
|
|
8502
8508
|
- When going around the end obstacle we should not always go the
|
|
8503
8509
|
shortest route, rather pick the one closer to the end point
|
|
8504
8510
|
*/
|
|
8505
|
-
const dirIsX =
|
|
8511
|
+
const dirIsX = options.startDirectionX ??
|
|
8512
|
+
(abs(end.x - start.x) > abs(end.y - start.y)), dir = dirIsX ? 'x' : 'y', endSegments = [],
|
|
8506
8513
|
// Boundaries to stay within. If beyond soft boundary, prefer to
|
|
8507
8514
|
// change direction ASAP. If at hard max, always change immediately.
|
|
8508
8515
|
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;
|
|
@@ -9459,7 +9466,7 @@ function Pathfinder_getPointBB(point) {
|
|
|
9459
9466
|
*/
|
|
9460
9467
|
function calculateObstacleDistance(a, b, bbMargin) {
|
|
9461
9468
|
// Count the distance even if we are slightly off
|
|
9462
|
-
const margin = (
|
|
9469
|
+
const margin = (bbMargin ?? 10), yOverlap = a.yMax + margin > b.yMin - margin &&
|
|
9463
9470
|
a.yMin - margin < b.yMax + margin, xOverlap = a.xMax + margin > b.xMin - margin &&
|
|
9464
9471
|
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;
|
|
9465
9472
|
// If the rectangles collide, try recomputing with smaller margin.
|
|
@@ -9704,7 +9711,7 @@ class Pathfinder {
|
|
|
9704
9711
|
* with xMin, xMax, yMin and yMax properties.
|
|
9705
9712
|
*/
|
|
9706
9713
|
getChartObstacles(options) {
|
|
9707
|
-
const series = this.chart.series, margin = (
|
|
9714
|
+
const series = this.chart.series, margin = (options.algorithmMargin ?? 0);
|
|
9708
9715
|
let obstacles = [], calculatedMargin;
|
|
9709
9716
|
for (let i = 0, sLen = series.length; i < sLen; ++i) {
|
|
9710
9717
|
if (series[i].visible && !series[i].options.isInternal) {
|
|
@@ -9840,7 +9847,7 @@ Pathfinder.prototype.algorithms = PathfinderAlgorithms;
|
|
|
9840
9847
|
/* unused harmony import specifier */ var Highcharts;
|
|
9841
9848
|
// SPDX-License-Identifier: LicenseRef-Highcharts
|
|
9842
9849
|
/**
|
|
9843
|
-
* @license Highcharts Gantt JS v13.0.
|
|
9850
|
+
* @license Highcharts Gantt JS v13.0.2 (2026-08-27)
|
|
9844
9851
|
* @module highcharts/modules/pathfinder
|
|
9845
9852
|
* @requires highcharts
|
|
9846
9853
|
*
|
|
@@ -9971,7 +9978,7 @@ function chartAdjustHeight() {
|
|
|
9971
9978
|
/* unused harmony import specifier */ var static_scale_src_Highcharts;
|
|
9972
9979
|
// SPDX-License-Identifier: LicenseRef-Highcharts
|
|
9973
9980
|
/**
|
|
9974
|
-
* @license Highcharts Gantt JS v13.0.
|
|
9981
|
+
* @license Highcharts Gantt JS v13.0.2 (2026-08-27)
|
|
9975
9982
|
* @module highcharts/modules/static-scale
|
|
9976
9983
|
* @requires highcharts
|
|
9977
9984
|
*
|
|
@@ -10790,7 +10797,7 @@ highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highchart
|
|
|
10790
10797
|
/* unused harmony import specifier */ var xrange_src_Highcharts;
|
|
10791
10798
|
// SPDX-License-Identifier: LicenseRef-Highcharts
|
|
10792
10799
|
/**
|
|
10793
|
-
* @license Highcharts JS v13.0.
|
|
10800
|
+
* @license Highcharts JS v13.0.2 (2026-08-27)
|
|
10794
10801
|
* @module highcharts/modules/xrange
|
|
10795
10802
|
* @requires highcharts
|
|
10796
10803
|
*
|
|
@@ -11238,7 +11245,7 @@ var BrokenAxis;
|
|
|
11238
11245
|
/** @internal */
|
|
11239
11246
|
function onSeriesAfterRender() {
|
|
11240
11247
|
this.drawBreaks(this.xAxis, ['x']);
|
|
11241
|
-
this.drawBreaks(this.yAxis, (
|
|
11248
|
+
this.drawBreaks(this.yAxis, (this.pointArrayMap ?? ['y']));
|
|
11242
11249
|
}
|
|
11243
11250
|
/** @internal */
|
|
11244
11251
|
function seriesDrawBreaks(axis, keys) {
|
|
@@ -11250,7 +11257,7 @@ var BrokenAxis;
|
|
|
11250
11257
|
breaks = brokenAxis?.breakArray || [];
|
|
11251
11258
|
threshold = axis.isXAxis ?
|
|
11252
11259
|
axis.min :
|
|
11253
|
-
(
|
|
11260
|
+
(series.options.threshold ?? axis.min);
|
|
11254
11261
|
points.forEach(function (point) {
|
|
11255
11262
|
y = point['stack' + key.toUpperCase()] ??
|
|
11256
11263
|
point[key];
|
|
@@ -11543,7 +11550,8 @@ var BrokenAxis;
|
|
|
11543
11550
|
if (Additions.isInBreak(breaks[i], val)) {
|
|
11544
11551
|
inbrk = true;
|
|
11545
11552
|
if (!keep) {
|
|
11546
|
-
keep =
|
|
11553
|
+
keep =
|
|
11554
|
+
breaks[i].showPoints ?? !axis.isXAxis;
|
|
11547
11555
|
}
|
|
11548
11556
|
}
|
|
11549
11557
|
}
|
|
@@ -11726,7 +11734,7 @@ var BrokenAxis;
|
|
|
11726
11734
|
}
|
|
11727
11735
|
};
|
|
11728
11736
|
}
|
|
11729
|
-
if (
|
|
11737
|
+
if (redraw ?? true) {
|
|
11730
11738
|
axis.chart.redraw();
|
|
11731
11739
|
}
|
|
11732
11740
|
}
|
|
@@ -11798,7 +11806,7 @@ function applyGridOptions(axis) {
|
|
|
11798
11806
|
options.labels = {};
|
|
11799
11807
|
}
|
|
11800
11808
|
*/
|
|
11801
|
-
options.labels.align = (
|
|
11809
|
+
options.labels.align = (options.labels.align ?? 'center');
|
|
11802
11810
|
// @todo: Check against tickLabelPlacement between/on etc
|
|
11803
11811
|
/* Prevents adding the last tick label if the axis is not a category
|
|
11804
11812
|
axis.
|
|
@@ -12342,8 +12350,8 @@ function onAfterSetOptions(e) {
|
|
|
12342
12350
|
_________________________
|
|
12343
12351
|
Into this: |_____|_____|_____|_____|
|
|
12344
12352
|
^ ^ */
|
|
12345
|
-
options.minPadding = (
|
|
12346
|
-
options.maxPadding = (
|
|
12353
|
+
options.minPadding = (userOptions.minPadding ?? 0);
|
|
12354
|
+
options.maxPadding = (userOptions.maxPadding ?? 0);
|
|
12347
12355
|
}
|
|
12348
12356
|
// If borderWidth is set, then use its value for tick and
|
|
12349
12357
|
// line width.
|
|
@@ -12862,7 +12870,7 @@ function getNode(id, parent, level, data, mapOfIdToChildren, options) {
|
|
|
12862
12870
|
}
|
|
12863
12871
|
// Call getNode recursively on the children. Calculate the height of the
|
|
12864
12872
|
// node, and the number of descendants.
|
|
12865
|
-
const children = (
|
|
12873
|
+
const children = (mapOfIdToChildren[id] || []).map((child) => {
|
|
12866
12874
|
const node = getNode(child.id, id, (level + 1), child, mapOfIdToChildren, options), childStart = child.start || NaN, childEnd = (child.milestone === true ?
|
|
12867
12875
|
childStart :
|
|
12868
12876
|
child.end ||
|
|
@@ -12991,7 +12999,7 @@ function renderLabelIcon(tick, params) {
|
|
|
12991
12999
|
}
|
|
12992
13000
|
/** @internal */
|
|
12993
13001
|
function wrapGetLabelPosition(proceed, x, y, label, horiz, labelOptions, tickmarkOffset, index, step) {
|
|
12994
|
-
const tick = this, lbOptions = (
|
|
13002
|
+
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]);
|
|
12995
13003
|
let mapOfPosToGridNode, node, level;
|
|
12996
13004
|
if (isTreeGrid) {
|
|
12997
13005
|
const { width = 0, padding = axis.linkedParent ? 0 : 5 } = (lbOptions && (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.isObject)(lbOptions.symbol, true) ?
|
|
@@ -13012,7 +13020,7 @@ function wrapGetLabelPosition(proceed, x, y, label, horiz, labelOptions, tickmar
|
|
|
13012
13020
|
}
|
|
13013
13021
|
/** @internal */
|
|
13014
13022
|
function wrapRenderLabel(proceed) {
|
|
13015
|
-
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 = (
|
|
13023
|
+
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,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.isObject)(labelOptions.symbol, true) ?
|
|
13016
13024
|
labelOptions.symbol :
|
|
13017
13025
|
{}), 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;
|
|
13018
13026
|
let collapsed, addClassName, removeClassName;
|
|
@@ -13275,9 +13283,17 @@ function getColor(node, options) {
|
|
|
13275
13283
|
}
|
|
13276
13284
|
// Select either point color, level color or inherited color.
|
|
13277
13285
|
if (!series.chart.styledMode) {
|
|
13278
|
-
color = (
|
|
13279
|
-
|
|
13280
|
-
|
|
13286
|
+
color = ((point && point.options.color) ??
|
|
13287
|
+
(level && level.color) ??
|
|
13288
|
+
colorByPoint ??
|
|
13289
|
+
(parentColor && variateColor(parentColor)) ??
|
|
13290
|
+
series.color);
|
|
13291
|
+
}
|
|
13292
|
+
colorIndex = ((point && point.options.colorIndex) ??
|
|
13293
|
+
(level && level.colorIndex) ??
|
|
13294
|
+
colorIndexByPoint ??
|
|
13295
|
+
parentColorIndex ??
|
|
13296
|
+
options.colorIndex);
|
|
13281
13297
|
}
|
|
13282
13298
|
return {
|
|
13283
13299
|
color: color,
|
|
@@ -13314,7 +13330,8 @@ function getLevelOptions(params) {
|
|
|
13314
13330
|
let level, levelIsConstant, options;
|
|
13315
13331
|
if ((0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.isObject)(item) && (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.isNumber)(item.level)) {
|
|
13316
13332
|
options = (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.merge)({}, item);
|
|
13317
|
-
levelIsConstant =
|
|
13333
|
+
levelIsConstant =
|
|
13334
|
+
options.levelIsConstant ?? defaults.levelIsConstant;
|
|
13318
13335
|
// Delete redundant properties.
|
|
13319
13336
|
delete options.levelIsConstant;
|
|
13320
13337
|
delete options.level;
|
|
@@ -13346,7 +13363,7 @@ function setTreeValues(tree, options) {
|
|
|
13346
13363
|
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 = [];
|
|
13347
13364
|
let childrenTotal = 0;
|
|
13348
13365
|
tree.levelDynamic = tree.level - (levelIsConstant ? 0 : nodeRoot.level);
|
|
13349
|
-
tree.name = (
|
|
13366
|
+
tree.name = ((point && point.name) ?? '');
|
|
13350
13367
|
tree.visible = (idRoot === tree.id ||
|
|
13351
13368
|
options.visible === true);
|
|
13352
13369
|
if (typeof before === 'function') {
|
|
@@ -13367,7 +13384,7 @@ function setTreeValues(tree, options) {
|
|
|
13367
13384
|
}
|
|
13368
13385
|
});
|
|
13369
13386
|
// Set the values
|
|
13370
|
-
const value = (
|
|
13387
|
+
const value = (optionsPoint.value ?? childrenTotal);
|
|
13371
13388
|
tree.visible = value >= 0 && (childrenTotal > 0 || tree.visible);
|
|
13372
13389
|
tree.children = children;
|
|
13373
13390
|
tree.childrenTotal = childrenTotal;
|
|
@@ -13393,7 +13410,7 @@ function updateRootId(series) {
|
|
|
13393
13410
|
// Get the series options.
|
|
13394
13411
|
options = (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.isObject)(series.options) ? series.options : {};
|
|
13395
13412
|
// Calculate the rootId.
|
|
13396
|
-
rootId = (
|
|
13413
|
+
rootId = (series.rootNode ?? options.rootId ?? '');
|
|
13397
13414
|
// Set rootId on series.userOptions to pick it up in exporting.
|
|
13398
13415
|
if ((0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.isObject)(series.userOptions)) {
|
|
13399
13416
|
series.userOptions.rootId = rootId;
|
package/modules/geoheatmap.d.ts
CHANGED
|
@@ -19,17 +19,5 @@ declare module "../highcharts" {
|
|
|
19
19
|
*/
|
|
20
20
|
enabled: boolean;
|
|
21
21
|
}
|
|
22
|
-
/**
|
|
23
|
-
* Find color of point based on color axis.
|
|
24
|
-
*
|
|
25
|
-
* @param value
|
|
26
|
-
* Value to find corresponding color on the color axis.
|
|
27
|
-
*
|
|
28
|
-
* @param point
|
|
29
|
-
* Point to find it's color from color axis.
|
|
30
|
-
*
|
|
31
|
-
* @return Color in RGBa array.
|
|
32
|
-
*/
|
|
33
|
-
function colorFromPoint(value: (number|null), point: Point): Array<number>;
|
|
34
22
|
}
|
|
35
23
|
export default _Highcharts;
|
package/modules/geoheatmap.js
CHANGED
|
@@ -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
|
-
*/function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(t._Highcharts,t._Highcharts.SeriesRegistry):"function"==typeof define&&define.amd?define("highcharts/modules/geoheatmap",["highcharts/highcharts"],function(t){return e(t,t.SeriesRegistry)}):"object"==typeof exports?exports["highcharts/modules/geoheatmap"]=e(t._Highcharts,t._Highcharts.SeriesRegistry):t.Highcharts=e(t.Highcharts,t.Highcharts.SeriesRegistry)}("u"<typeof window?this:window,(t,e)=>(()=>{"use strict";var i={512(t){t.exports=e},944(e){e.exports=t}};let o={};function a(t){let e=o[t];if(void 0!==e)return e.exports;let r=o[t]={exports:{}};return i[t](r,r.exports,a),r.exports}a.n=t=>{let e=t&&t.__esModule?()=>t.default:()=>t;return a.d(e,{a:e}),e},a.d=(t,e)=>{if(Array.isArray(e))for(var i=0;i<e.length;){var o=e[i++],r=e[i++];a.o(t,o)?0===r&&i++:0===r?Object.defineProperty(t,o,{enumerable:!0,value:e[i++]}):Object.defineProperty(t,o,{enumerable:!0,get:r})}else for(var o in e)a.o(e,o)&&!a.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},a.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);let r={};a.d(r,{default:()=>x});var s=a(944),n=a.n(s),l=a(512),h=a.n(l);let{map:{prototype:{pointClass:p}}}=h().seriesTypes,d=class extends p{applyOptions(t,e){let i=super.applyOptions.call(this,t,e),{lat:o,lon:a}=i.options;if((0,s.isNumber)(a)&&(0,s.isNumber)(o)){let{colsize:t=1,rowsize:e=1}=this.series.options,r=a-t/2,s=o-e/2;i.geometry=i.options.geometry={type:"Polygon",coordinates:[[[r,s],[r+t,s],[r+t,s+e],[r,s+e],[r,s]]]}}return i}},{doc:
|
|
10
|
+
*/function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(t._Highcharts,t._Highcharts.SeriesRegistry):"function"==typeof define&&define.amd?define("highcharts/modules/geoheatmap",["highcharts/highcharts"],function(t){return e(t,t.SeriesRegistry)}):"object"==typeof exports?exports["highcharts/modules/geoheatmap"]=e(t._Highcharts,t._Highcharts.SeriesRegistry):t.Highcharts=e(t.Highcharts,t.Highcharts.SeriesRegistry)}("u"<typeof window?this:window,(t,e)=>(()=>{"use strict";var i={512(t){t.exports=e},944(e){e.exports=t}};let o={};function a(t){let e=o[t];if(void 0!==e)return e.exports;let r=o[t]={exports:{}};return i[t](r,r.exports,a),r.exports}a.n=t=>{let e=t&&t.__esModule?()=>t.default:()=>t;return a.d(e,{a:e}),e},a.d=(t,e)=>{if(Array.isArray(e))for(var i=0;i<e.length;){var o=e[i++],r=e[i++];a.o(t,o)?0===r&&i++:0===r?Object.defineProperty(t,o,{enumerable:!0,value:e[i++]}):Object.defineProperty(t,o,{enumerable:!0,get:r})}else for(var o in e)a.o(e,o)&&!a.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},a.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);let r={};a.d(r,{default:()=>x});var s=a(944),n=a.n(s),l=a(512),h=a.n(l);let{map:{prototype:{pointClass:p}}}=h().seriesTypes,d=class extends p{applyOptions(t,e){let i=super.applyOptions.call(this,t,e),{lat:o,lon:a}=i.options;if((0,s.isNumber)(a)&&(0,s.isNumber)(o)){let{colsize:t=1,rowsize:e=1}=this.series.options,r=a-t/2,s=o-e/2;i.geometry=i.options.geometry={type:"Polygon",coordinates:[[[r,s],[r+t,s],[r+t,s+e],[r,s+e],[r,s]]]}}return i}},{doc:g}=n(),{noop:c}=n(),{colorFromPoint:u,getContext:y}={colorFromPoint:function(t,e){let i=e.series.colorAxis;if(i){let o=i.toColor(t||0,e).split(")")[0].split("(")[1].split(",").map(t=>parseFloat(t)??parseInt(t,10));return o[3]=(o[3]??1)*255,(0,s.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=g.createElement("canvas"),t.context=t.canvas.getContext("2d",{willReadFrequently:!0})||void 0,t.context)}},{seriesTypes:{map:m}}=h();function f(t){return t-360*Math.floor((t+180)/360)}class b extends m{constructor(){super(...arguments),this.isDirtyCanvas=!0}update(){this.options=(0,s.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,s.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||y(this),{canvas:a,colorAxis:r,image:n,chart:l,points:h}=this,[p,d]=[e.colsize??1,e.rowsize??1],g=t.projectedUnitsToPixels({x:this.bounds.x1,y:this.bounds.y2}),c=t.projectedUnitsToPixels({x:this.bounds.x2,y:this.bounds.y1});if(a&&o&&r&&g&&c){let{x:e,y:r}=g,y=c.x-e,m=c.y-r,f={x:e,y:r,width:y,height:m};if(this.isDirtyCanvas||this.isDirtyData||"Orthographic"===t.projection.options.name){let n=a.width=~~(360/p)+1,l=a.height=~~(180/d)+1,g=new Uint8ClampedArray(n*l*4),{lat:c=0,lon:f=0}=h[0].options,b=f%d!=0,x=c%p!=0,w=b?t=>Math.round(t/d)*d:t=>t,v=x?t=>Math.round(t/p)*p:t=>t,D=h.length;(b||x)&&(0,s.error)("Highcharts Warning: For best performance, lon/lat datapoints should spaced by a single colsize/rowsize",!1,this.chart,{colsize:String(p),rowsize:String(d)}),this.directTouch=!1,this.isDirtyCanvas=!0;for(let t=0;t<D;t++){var i;let e=h[t],{lon:o,lat:a}=e.options;(0,s.isNumber)(o)&&(0,s.isNumber)(a)&&g.set(u(e.value,e),4*(i=w(o),Math.ceil(n*(l-1-(v(a)+90)/d)+(i+180)/p)))}let C=this.getInterpolation().blur,j=0===C?1:11*C,P=~~(n*j),I=~~(l*j),O=~~y,T=~~m,R=new ImageData(g,n,l);a.width=P,a.height=I,o.putImageData(R,0,0),o.globalCompositeOperation="copy",o.drawImage(a,0,0,R.width,R.height,0,0,P,I);let A=this.getProjectedImageData(t,O,T,o.getImageData(0,0,P,I),a,e,r);a.width=O,a.height=T,o.putImageData(new ImageData(A,O,T),0,0)}if(n)if(l.renderer.globalAnimation&&l.hasRendered){let t=Number(n.attr("x")),i=Number(n.attr("y")),o=Number(n.attr("width")),h=Number(n.attr("height")),p=(a,s)=>{let l=s.pos;n.attr({x:t+(e-t)*l,y:i+(r-i)*l,width:o+(y-o)*l,height:h+(m-h)*l})},d=(0,s.merge)((0,s.animObject)(l.renderer.globalAnimation)),g=d.step;d.step=function(){g&&g.apply(this,arguments),p.apply(this,arguments)},n.attr((0,s.merge)({animator:0},this.isDirtyCanvas?{href:a.toDataURL("image/png",1)}:void 0)).animate({animator:1},d)}else(0,s.stop)(n),n.attr((0,s.merge)(f,this.isDirtyCanvas?{href:a.toDataURL("image/png",1)}:void 0));else this.image=l.renderer.image(a.toDataURL("image/png",1)).attr(f).add(this.group);this.isDirtyCanvas=!1}}else super.drawPoints.apply(this,arguments)}getProjectedImageData(t,e,i,o,a,r,s){let n=new Uint8ClampedArray(e*i*4),l=t.projection.options.rotation?.[0]??0,h=a.width/360,p=-1*a.height/180,d=-1;for(let i=0;i<n.length;i+=4){let g=i/4%e;0===g&&d++;let c=t.pixelsToLonLat({x:r+g,y:s+d});if(c){c.lon>-180-l&&c.lon<180-l&&(c.lon=f(c.lon));let t=[c.lon,c.lat],e=t[0]*h+a.width/2,r=t[1]*p+a.height/2;if(e>=0&&e<=a.width&&r>=0&&r<=a.height){let t=Math.floor(r)*a.width*4+4*Math.round(e);n[i]=o.data[t],n[i+1]=o.data[t+1],n[i+2]=o.data[t+2],n[i+3]=o.data[t+3]}}}return n}searchPoint(t,e){let i=this.chart,o=i.mapView;if(o&&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 a=o.projectedUnitsToPixels({x:this.bounds.x1,y:this.bounds.y2}),r=o.projectedUnitsToPixels({x:this.bounds.x2,y:this.bounds.y1});if(i.pointer.normalize(t),t.lon&&t.lat&&a&&r&&t.chartX-i.plotLeft>a.x&&t.chartX-i.plotLeft<r.x&&t.chartY-i.plotTop>a.y&&t.chartY-i.plotTop<r.y)return this.searchKDTree({clientX:t.chartX,lon:f(t.lon),lat:t.lat},e,t)}else i.tooltip.destroy()}}b.defaultOptions=(0,s.merge)(m.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,s.addEvent)(b,"afterDataClassLegendClick",function(){this.isDirtyCanvas=!0,this.drawPoints()}),(0,s.extend)(b.prototype,{type:"geoheatmap",applyJitter:c,pointClass:d,pointArrayMap:["lon","lat","value"],kdAxisArray:["lon","lat"]}),h().registerSeriesType("geoheatmap",b);let x=n();return r.default})());
|
|
@@ -19,17 +19,5 @@ declare module "../highcharts.src" {
|
|
|
19
19
|
*/
|
|
20
20
|
enabled: boolean;
|
|
21
21
|
}
|
|
22
|
-
/**
|
|
23
|
-
* Find color of point based on color axis.
|
|
24
|
-
*
|
|
25
|
-
* @param value
|
|
26
|
-
* Value to find corresponding color on the color axis.
|
|
27
|
-
*
|
|
28
|
-
* @param point
|
|
29
|
-
* Point to find it's color from color axis.
|
|
30
|
-
*
|
|
31
|
-
* @return Color in RGBa array.
|
|
32
|
-
*/
|
|
33
|
-
function colorFromPoint(value: (number|null), point: Point): Array<number>;
|
|
34
22
|
}
|
|
35
23
|
export default _Highcharts;
|