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
|
@@ -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
|
*
|
|
@@ -205,7 +205,7 @@ const { doc } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highch
|
|
|
205
205
|
/**
|
|
206
206
|
* Find color of point based on color axis.
|
|
207
207
|
*
|
|
208
|
-
* @
|
|
208
|
+
* @internal
|
|
209
209
|
*
|
|
210
210
|
* @param {number | null} value
|
|
211
211
|
* Value to find corresponding color on the color axis.
|
|
@@ -223,8 +223,8 @@ function colorFromPoint(value, point) {
|
|
|
223
223
|
.split(')')[0]
|
|
224
224
|
.split('(')[1]
|
|
225
225
|
.split(',')
|
|
226
|
-
.map((s) => (
|
|
227
|
-
rgba[3] = (
|
|
226
|
+
.map((s) => (parseFloat(s) ?? parseInt(s, 10))));
|
|
227
|
+
rgba[3] = (rgba[3] ?? 1.0) * 255;
|
|
228
228
|
if (!(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.defined)(value) || !point.visible) {
|
|
229
229
|
rgba[3] = 0;
|
|
230
230
|
}
|
|
@@ -234,7 +234,7 @@ function colorFromPoint(value, point) {
|
|
|
234
234
|
}
|
|
235
235
|
/**
|
|
236
236
|
* Method responsible for creating a canvas for interpolation image.
|
|
237
|
-
* @
|
|
237
|
+
* @internal
|
|
238
238
|
*/
|
|
239
239
|
function getContext(series) {
|
|
240
240
|
const { canvas, context } = series;
|
|
@@ -377,8 +377,8 @@ class GeoHeatmapSeries extends MapSeries {
|
|
|
377
377
|
const series = this, chart = series.chart, mapView = chart.mapView, seriesOptions = series.options;
|
|
378
378
|
if (series.getInterpolation().enabled && mapView && series.bounds) {
|
|
379
379
|
const ctx = series.context || GeoHeatmapSeries_getContext(series), { canvas, colorAxis, image, chart, points } = series, [colsize, rowsize] = [
|
|
380
|
-
(
|
|
381
|
-
(
|
|
380
|
+
(seriesOptions.colsize ?? 1),
|
|
381
|
+
(seriesOptions.rowsize ?? 1)
|
|
382
382
|
],
|
|
383
383
|
// Calculate dimensions based on series bounds
|
|
384
384
|
topLeft = mapView.projectedUnitsToPixels({
|
|
@@ -499,7 +499,7 @@ class GeoHeatmapSeries extends MapSeries {
|
|
|
499
499
|
* @private
|
|
500
500
|
*/
|
|
501
501
|
getProjectedImageData(mapView, projectedWidth, projectedHeight, cartesianImageData, canvas, horizontalShift, verticalShift) {
|
|
502
|
-
const projectedPixelData = new Uint8ClampedArray(projectedWidth * projectedHeight * 4), lambda = (
|
|
502
|
+
const projectedPixelData = new Uint8ClampedArray(projectedWidth * projectedHeight * 4), lambda = (mapView.projection.options.rotation?.[0] ?? 0), widthFactor = canvas.width / 360, heightFactor = -1 * canvas.height / 180;
|
|
503
503
|
let y = -1;
|
|
504
504
|
// For each pixel on the map plane, find the map
|
|
505
505
|
// coordinate and get the color value
|
package/modules/grid-axis.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
!/**
|
|
2
|
-
* Highcharts Gantt JS v13.0.
|
|
2
|
+
* Highcharts Gantt JS v13.0.2 (2026-08-27)
|
|
3
3
|
* @module highcharts/modules/grid-axis
|
|
4
4
|
* @requires highcharts
|
|
5
5
|
*
|
|
@@ -10,4 +10,4 @@
|
|
|
10
10
|
*
|
|
11
11
|
* A commercial license may be required depending on use,
|
|
12
12
|
* see www.highcharts.com/license
|
|
13
|
-
*/function(t,i){"object"==typeof exports&&"object"==typeof module?module.exports=i(t._Highcharts,t._Highcharts.Axis):"function"==typeof define&&define.amd?define("highcharts/modules/grid-axis",["highcharts/highcharts"],function(t){return i(t,t.Axis)}):"object"==typeof exports?exports["highcharts/modules/grid-axis"]=i(t._Highcharts,t._Highcharts.Axis):t.Highcharts=i(t.Highcharts,t.Highcharts.Axis)}("u"<typeof window?this:window,(t,i)=>(()=>{"use strict";var e,s,r={532(t){t.exports=i},944(i){i.exports=t}};let n={};function o(t){let i=n[t];if(void 0!==i)return i.exports;let e=n[t]={exports:{}};return r[t](e,e.exports,o),e.exports}o.n=t=>{let i=t&&t.__esModule?()=>t.default:()=>t;return o.d(i,{a:i}),i},o.d=(t,i)=>{if(Array.isArray(i))for(var e=0;e<i.length;){var s=i[e++],r=i[e++];o.o(t,s)?0===r&&e++:0===r?Object.defineProperty(t,s,{enumerable:!0,value:i[e++]}):Object.defineProperty(t,s,{enumerable:!0,get:r})}else for(var s in i)o.o(i,s)&&!o.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:i[s]})},o.o=(t,i)=>Object.prototype.hasOwnProperty.call(t,i);let h={};o.d(h,{default:()=>z});var l=o(944),a=o.n(l),d=o(532),c=o.n(d);let{dateFormats:g}=a();function f(t){return(0,l.isObject)(t,!0)}function u(t,i){let e={width:0,height:0};if(i.forEach(function(i){let s=t[i],r=0,n=0,o;f(s)&&(r=(o=f(s.label)?s.label:{}).getBBox?o.getBBox().height:0,o.textStr&&!(0,l.isNumber)(o.textPxLength)&&(o.textPxLength=o.getBBox().width),n=(0,l.isNumber)(o.textPxLength)?Math.round(o.textPxLength):0,o.textStr&&(n=Math.round(o.getBBox().width)),e.height=Math.max(r,e.height),e.width=Math.max(n,e.width))}),"treegrid"===this.type&&this.treeGrid&&this.treeGrid.mapOfPosToGridNode){let t=this.treeGrid.mapOfPosToGridNode[-1].height||0;e.width+=this.options.labels.indentation*(t-1)}return e}function p(t){let{grid:i}=this,e=3===this.side;if(e||t.apply(this),!i?.isColumn){let t=i?.columns||[];e&&(t=t.slice().reverse()),t.forEach(t=>{t.getOffset()})}e&&t.apply(this)}function m(t){if(!0===(this.options.grid||{}).enabled){let{axisTitle:i,height:e,horiz:r,left:n,offset:o,opposite:h,options:l,top:a,width:d}=this,c=this.tickSize(),g=i?.getBBox().width,f=l.title,{x:u,y:p}=f,m=f.margin??(r?5:10),x=i?this.chart.renderer.fontMetrics(i).f:0,k=(r?a+e:n)+(r?1:-1)*(h?-1:1)*(c?c[0]/2:0)+(this.side===s.bottom?x:0);if(t.titlePosition.x=r?n-(g||0)/2-m+u:k+(h?d:0)+o+u,t.titlePosition.y=r?k-(h?e:0)+(h?x:-x)/2+o+p:a-m+p,!r){let[i=0]=c||[];"left"===f.textAlign?t.titlePosition.x-=i/2:"right"===f.textAlign&&(t.titlePosition.x+=i/2)}}}function x(){let t,{chart:i,options:{grid:e={}},userOptions:s}=this;if(e.enabled&&((t=this.options).labels.align=(0,l.pick)(t.labels.align,"center"),this.categories||(t.showLastLabel=!1),this.labelRotation=0,t.labels.rotation=0,t.minTickInterval=1),e.columns){let t=this.grid.columns=[],r=this.grid.columnIndex=0;for(;++r<e.columns.length;){let n=(0,l.merge)(s,e.columns[r],{isInternal:!0,linkedTo:0,scrollbar:{enabled:!1}},{grid:{columns:void 0}}),o=new(c())(this.chart,n,this.coll);o.grid.isColumn=!0,o.grid.columnIndex=r,(0,l.erase)(i.axes,o),(0,l.erase)(i[this.coll]||[],o),t.push(o)}}}function k(){let{axisTitle:t,grid:i,options:e}=this;if(!0===(e.grid||{}).enabled){let r=this.min||0,n=this.max||0,o=this.ticks[this.tickPositions[0]];if(t&&!this.chart.styledMode&&o?.slotWidth&&!this.options.title.style.width&&t.css({width:`${o.slotWidth}px`}),this.maxLabelDimensions=this.getMaxLabelDimensions(this.ticks,this.tickPositions),this.rightWall&&this.rightWall.destroy(),this.grid?.isOuterAxis()&&this.axisLine){let t=e.lineWidth;if(t){let i=this.getLinePath(t),o=i[0],h=i[1],l=(this.tickSize("tick")||[1])[0]*(this.side===s.top||this.side===s.left?-1:1);if("M"===o[0]&&"L"===h[0]&&(this.horiz?(o[2]+=l,h[2]+=l):(o[1]+=l,h[1]+=l)),!this.horiz&&this.chart.marginRight){let t=["L",this.left,o[2]||0],i=[o,t],s=["L",this.chart.chartWidth-this.chart.marginRight,this.toPixels(n+this.tickmarkOffset)],l=[["M",h[1]||0,this.toPixels(n+this.tickmarkOffset)],s];this.grid.upperBorder||r%1==0||(this.grid.upperBorder=this.grid.renderBorder(i)),this.grid.upperBorder&&(this.grid.upperBorder.attr({stroke:e.lineColor,"stroke-width":e.lineWidth}),this.grid.upperBorder.animate({d:i})),this.grid.lowerBorder||n%1==0||(this.grid.lowerBorder=this.grid.renderBorder(l)),this.grid.lowerBorder&&(this.grid.lowerBorder.attr({stroke:e.lineColor,"stroke-width":e.lineWidth}),this.grid.lowerBorder.animate({d:l}))}this.grid.axisLineExtra?(this.grid.axisLineExtra.attr({stroke:e.lineColor,"stroke-width":e.lineWidth}),this.grid.axisLineExtra.animate({d:i})):this.grid.axisLineExtra=this.grid.renderBorder(i),this.axisLine[this.showAxis?"show":"hide"]()}}if((i?.columns||[]).forEach(t=>t.render()),!this.horiz&&this.chart.hasRendered&&(this.scrollbar||this.linkedParent?.scrollbar)&&this.tickPositions.length){let t,i,e=this.tickmarkOffset,s=this.tickPositions[this.tickPositions.length-1],o=this.tickPositions[0];for(;(t=this.hiddenLabels.pop())&&t.element;)t.show();for(;(i=this.hiddenMarks.pop())&&i.element;)i.show();(t=this.ticks[o].label)&&(r-o>e?this.hiddenLabels.push(t.hide()):t.show()),(t=this.ticks[s].label)&&(s-n>e?this.hiddenLabels.push(t.hide()):t.show());let h=this.ticks[s].mark;h&&s-n<e&&s-n>0&&this.ticks[s].isLast&&this.hiddenMarks.push(h.hide())}}}function b(){let t=this.tickPositions?.info,i=this.options,e=i.grid||{},s=this.userOptions.labels||{};e.enabled&&(this.horiz?(this.series.forEach(t=>{t.options.pointRange=0}),t&&i.dateTimeLabelFormats&&i.labels&&!(0,l.defined)(s.align)&&(!1===i.dateTimeLabelFormats[t.unitName].range||t.count>1)&&(i.labels.align="left",(0,l.defined)(s.x)||(i.labels.x=3))):"treegrid"!==this.type&&this.grid&&this.grid.columns&&(this.minPointOffset=this.tickInterval))}function P(t){let i,e=this.options,s=t.userOptions,r=e&&f(e.grid)?e.grid:{};!0===r.enabled&&(i=(0,l.merge)(!0,{className:"highcharts-grid-axis "+(s.className||""),dateTimeLabelFormats:{hour:{list:["%[HM]","%[H]"]},day:{list:["%[AeB]","%[aeb]","%[E]"]},week:{list:["Week %W","W%W"]},month:{list:["%[B]","%[b]","%o"]}},grid:{borderWidth:1},labels:{padding:2,style:{fontSize:"0.9em"}},margin:0,title:{text:null,reserveSpace:!1,rotation:0,style:{textOverflow:"ellipsis"}},units:[["millisecond",[1,10,100]],["second",[1,10]],["minute",[1,5,15]],["hour",[1,6]],["day",[1]],["week",[1]],["month",[1]],["year",null]]},s),"xAxis"===this.coll&&((0,l.defined)(s.linkedTo)&&!(0,l.defined)(s.tickPixelInterval)&&(i.tickPixelInterval=350),!(!(0,l.defined)(s.tickPixelInterval)&&(0,l.defined)(s.linkedTo))||(0,l.defined)(s.tickPositioner)||(0,l.defined)(s.tickInterval)||(0,l.defined)(s.units)||(i.tickPositioner=function(t,e){let s=this.linkedParent?.tickPositions?.info;if(s){let r=i.units||[],n,o=1,h="year";for(let t=0;t<r.length;t++){let i=r[t];if(i&&i[0]===s.unitName){n=t;break}}let a=(0,l.isNumber)(n)&&r[n+1];if(a){h=a[0]||"year";let t=a[1];o=t?.[0]||1}else"year"===s.unitName&&(o=10*s.count);let d=l.timeUnits[h];return this.tickInterval=d*o,this.chart.time.getTimeTicks({unitRange:d,count:o,unitName:h},t,e,this.options.startOfWeek)}})),(0,l.merge)(!0,this.options,i),this.horiz&&(e.minPadding=(0,l.pick)(s.minPadding,0),e.maxPadding=(0,l.pick)(s.maxPadding,0)),(0,l.isNumber)(e.grid.borderWidth)&&(e.tickWidth=e.lineWidth=r.borderWidth))}function y(t){let i=t.userOptions,e=i?.grid||{},s=e.columns;e.enabled&&s&&(0,l.merge)(!0,this.options,s[0])}function v(){(this.grid.columns||[]).forEach(t=>t.setScale())}function w(t){let{horiz:i,maxLabelDimensions:e,options:{grid:s={}}}=this;if(s.enabled&&e){let r=2*this.options.labels.distance,n=i?s.cellHeight||r+e.height:r+e.width;(0,l.isArray)(t.tickSize)?t.tickSize[0]=n:t.tickSize=[n,0]}}function L(){this.axes.forEach(t=>{(t.grid?.columns||[]).forEach(t=>{t.setAxisSize(),t.setAxisTranslation()})})}function E(t){let{grid:i}=this;i&&((i.columns||[]).forEach(i=>i.destroy(t.keepEvents)),i.columns=void 0)}function B(t){let i=t.userOptions||{},e=(0,l.merge)({borderColor:"var(--highcharts-neutral-color-20)"},i.grid||{});e.enabled&&(0,l.defined)(e.borderColor)&&(i.tickColor=i.lineColor=e.borderColor),this.grid||(this.grid=new W(this)),this.hiddenLabels=[],this.hiddenMarks=[],e.enabled&&(this.clippable=!1)}function O(t){let i=this.label,e=this.axis,r=e.reversed,n=e.chart,o=e.options.grid||{},h=e.options.labels,a=h.align,d=s[e.side],c=t.tickmarkOffset,g=e.tickPositions,f=this.pos-c,u=(0,l.isNumber)(g[t.index+1])?g[t.index+1]-c:(e.max||0)+c,p=e.tickSize("tick"),m=p?p[0]:0,x=p?p[1]/2:0;if(!0===o.enabled){let s,o,l,c;if("top"===d?o=(s=e.top+e.offset)-m:"bottom"===d?s=(o=n.chartHeight-e.bottom+e.offset)+m:(s=e.top+e.len-(e.translate(r?u:f)||0),o=e.top+e.len-(e.translate(r?f:u)||0)),"right"===d?c=(l=n.chartWidth-e.right+e.offset)+m:"left"===d?l=(c=e.left+e.offset)-m:(l=Math.round(e.left+(e.translate(r?u:f)||0))-x,c=Math.min(Math.round(e.left+(e.translate(r?f:u)||0))-x,e.left+e.len)),this.slotWidth=c-l,t.pos.x="left"===a?l:"right"===a?c:l+(c-l)/2,t.pos.y=o+(s-o)/2,i){let e=n.renderer.fontMetrics(i),s=i.getBBox().height;if(h.useHTML)t.pos.y+=e.b+-(s/2);else{let i=Math.round(s/e.h);t.pos.y+=(e.b-(e.h-e.f))/2+-((i-1)*e.h/2)}}t.pos.x+=e.horiz&&h.x||0}}function T(t){let{axis:i,value:e}=t;if(i.options.grid?.enabled){let s,r=i.tickPositions,n=(i.linkedParent||i).series,o=n.reduce((t,i)=>i.is("gantt")?t?.concat(i.options?.data??[]):t,[])??[],h=e===r[0],d=e===r[r.length-1],c=n[0]&&(0,l.find)(o,function(t){return t[i.isXAxis?"x":"y"]===e});c&&(s=(0,l.merge)(c),a().seriesTypes.gantt.prototype.pointClass.setGanttPointAliases(s,i.chart)),t.isFirst=h,t.isLast=d,t.point=s}}function A(){let t=this.options,i=t.grid||{},e=this.categories,s=this.tickPositions,r=s[0],n=s[1],o=s[s.length-1],h=s[s.length-2],a=this.linkedParent?.min,d=this.linkedParent?.max,c=a||this.min,g=d||this.max,f=this.tickInterval,u=(0,l.isNumber)(c)&&c>=r+f&&c<n,p=(0,l.isNumber)(c)&&r<c&&r+f>c,m=(0,l.isNumber)(g)&&o>g&&o-f<g,x=(0,l.isNumber)(g)&&g<=o-f&&g>h;!0===i.enabled&&!e&&(this.isXAxis||this.isLinked)&&((p||u)&&!t.startOnTick&&(s[0]=c),(m||x)&&!t.endOnTick&&(s[s.length-1]=g))}function M(t){var i;let{options:{grid:e={}}}=this;return!0===e.enabled&&this.categories?this.tickInterval:t.apply(this,(i=arguments,Array.prototype.slice.call(i,1)))}(e=s||(s={}))[e.top=0]="top",e[e.right=1]="right",e[e.bottom=2]="bottom",e[e.left=3]="left";class W{constructor(t){this.axis=t}isOuterAxis(){let t=this.axis,i=t.chart,e=t.grid.columnIndex,s=t.linkedParent?.grid.columns||t.grid.columns||[],r=e?t.linkedParent:t,n=-1,o=0;return 3===t.side&&!i.inverted&&s.length?!t.linkedParent:((i[t.coll]||[]).forEach((i,e)=>{i.side!==t.side||i.options.isInternal||(o=e,i===r&&(n=e))}),o===n&&(!(0,l.isNumber)(e)||s.length===e))}renderBorder(t){let i=this.axis,e=i.chart.renderer,s=i.options,r=e.path(t).addClass("highcharts-axis-line").add(i.axisGroup);return e.styledMode||r.attr({stroke:s.lineColor,"stroke-width":s.lineWidth,zIndex:7}),r}}g.E=function(t){return this.dateFormat("%a",t,!0).charAt(0)},g.W=function(t){let i=this.toParts(t),e=(i[7]+6)%7,s=i.slice(0);s[2]=i[2]-e+3;let r=this.toParts(this.makeTime(s[0],0,1));return 4!==r[7]&&(i[1]=0,i[2]=1+(11-r[7])%7),(1+Math.floor((this.makeTime(s[0],s[1],s[2])-this.makeTime(r[0],r[1],r[2]))/6048e5)).toString()};let S=a();({compose:function(t,i,e){return t.keepProps.includes("grid")||(t.keepProps.push("grid"),t.prototype.getMaxLabelDimensions=u,(0,l.wrap)(t.prototype,"unsquish",M),(0,l.wrap)(t.prototype,"getOffset",p),(0,l.addEvent)(t,"init",B),(0,l.addEvent)(t,"afterGetTitlePosition",m),(0,l.addEvent)(t,"afterInit",x),(0,l.addEvent)(t,"afterRender",k),(0,l.addEvent)(t,"afterSetAxisTranslation",b),(0,l.addEvent)(t,"afterSetOptions",P),(0,l.addEvent)(t,"afterSetOptions",y),(0,l.addEvent)(t,"afterSetScale",v),(0,l.addEvent)(t,"afterTickSize",w),(0,l.addEvent)(t,"trimTicks",A),(0,l.addEvent)(t,"destroy",E),(0,l.addEvent)(i,"afterSetChartSize",L),(0,l.addEvent)(e,"afterGetLabelPosition",O),(0,l.addEvent)(e,"labelFormat",T)),t}}).compose(S.Axis,S.Chart,S.Tick);let z=a();return h.default})());
|
|
13
|
+
*/function(t,i){"object"==typeof exports&&"object"==typeof module?module.exports=i(t._Highcharts,t._Highcharts.Axis):"function"==typeof define&&define.amd?define("highcharts/modules/grid-axis",["highcharts/highcharts"],function(t){return i(t,t.Axis)}):"object"==typeof exports?exports["highcharts/modules/grid-axis"]=i(t._Highcharts,t._Highcharts.Axis):t.Highcharts=i(t.Highcharts,t.Highcharts.Axis)}("u"<typeof window?this:window,(t,i)=>(()=>{"use strict";var e,s,r={532(t){t.exports=i},944(i){i.exports=t}};let n={};function o(t){let i=n[t];if(void 0!==i)return i.exports;let e=n[t]={exports:{}};return r[t](e,e.exports,o),e.exports}o.n=t=>{let i=t&&t.__esModule?()=>t.default:()=>t;return o.d(i,{a:i}),i},o.d=(t,i)=>{if(Array.isArray(i))for(var e=0;e<i.length;){var s=i[e++],r=i[e++];o.o(t,s)?0===r&&e++:0===r?Object.defineProperty(t,s,{enumerable:!0,value:i[e++]}):Object.defineProperty(t,s,{enumerable:!0,get:r})}else for(var s in i)o.o(i,s)&&!o.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:i[s]})},o.o=(t,i)=>Object.prototype.hasOwnProperty.call(t,i);let h={};o.d(h,{default:()=>z});var l=o(944),a=o.n(l),d=o(532),c=o.n(d);let{dateFormats:g}=a();function f(t){return(0,l.isObject)(t,!0)}function u(t,i){let e={width:0,height:0};if(i.forEach(function(i){let s=t[i],r=0,n=0,o;f(s)&&(r=(o=f(s.label)?s.label:{}).getBBox?o.getBBox().height:0,o.textStr&&!(0,l.isNumber)(o.textPxLength)&&(o.textPxLength=o.getBBox().width),n=(0,l.isNumber)(o.textPxLength)?Math.round(o.textPxLength):0,o.textStr&&(n=Math.round(o.getBBox().width)),e.height=Math.max(r,e.height),e.width=Math.max(n,e.width))}),"treegrid"===this.type&&this.treeGrid&&this.treeGrid.mapOfPosToGridNode){let t=this.treeGrid.mapOfPosToGridNode[-1].height||0;e.width+=this.options.labels.indentation*(t-1)}return e}function p(t){let{grid:i}=this,e=3===this.side;if(e||t.apply(this),!i?.isColumn){let t=i?.columns||[];e&&(t=t.slice().reverse()),t.forEach(t=>{t.getOffset()})}e&&t.apply(this)}function m(t){if(!0===(this.options.grid||{}).enabled){let{axisTitle:i,height:e,horiz:r,left:n,offset:o,opposite:h,options:l,top:a,width:d}=this,c=this.tickSize(),g=i?.getBBox().width,f=l.title,{x:u,y:p}=f,m=f.margin??(r?5:10),x=i?this.chart.renderer.fontMetrics(i).f:0,k=(r?a+e:n)+(r?1:-1)*(h?-1:1)*(c?c[0]/2:0)+(this.side===s.bottom?x:0);if(t.titlePosition.x=r?n-(g||0)/2-m+u:k+(h?d:0)+o+u,t.titlePosition.y=r?k-(h?e:0)+(h?x:-x)/2+o+p:a-m+p,!r){let[i=0]=c||[];"left"===f.textAlign?t.titlePosition.x-=i/2:"right"===f.textAlign&&(t.titlePosition.x+=i/2)}}}function x(){let t,{chart:i,options:{grid:e={}},userOptions:s}=this;if(e.enabled&&((t=this.options).labels.align=t.labels.align??"center",this.categories||(t.showLastLabel=!1),this.labelRotation=0,t.labels.rotation=0,t.minTickInterval=1),e.columns){let t=this.grid.columns=[],r=this.grid.columnIndex=0;for(;++r<e.columns.length;){let n=(0,l.merge)(s,e.columns[r],{isInternal:!0,linkedTo:0,scrollbar:{enabled:!1}},{grid:{columns:void 0}}),o=new(c())(this.chart,n,this.coll);o.grid.isColumn=!0,o.grid.columnIndex=r,(0,l.erase)(i.axes,o),(0,l.erase)(i[this.coll]||[],o),t.push(o)}}}function k(){let{axisTitle:t,grid:i,options:e}=this;if(!0===(e.grid||{}).enabled){let r=this.min||0,n=this.max||0,o=this.ticks[this.tickPositions[0]];if(t&&!this.chart.styledMode&&o?.slotWidth&&!this.options.title.style.width&&t.css({width:`${o.slotWidth}px`}),this.maxLabelDimensions=this.getMaxLabelDimensions(this.ticks,this.tickPositions),this.rightWall&&this.rightWall.destroy(),this.grid?.isOuterAxis()&&this.axisLine){let t=e.lineWidth;if(t){let i=this.getLinePath(t),o=i[0],h=i[1],l=(this.tickSize("tick")||[1])[0]*(this.side===s.top||this.side===s.left?-1:1);if("M"===o[0]&&"L"===h[0]&&(this.horiz?(o[2]+=l,h[2]+=l):(o[1]+=l,h[1]+=l)),!this.horiz&&this.chart.marginRight){let t=["L",this.left,o[2]||0],i=[o,t],s=["L",this.chart.chartWidth-this.chart.marginRight,this.toPixels(n+this.tickmarkOffset)],l=[["M",h[1]||0,this.toPixels(n+this.tickmarkOffset)],s];this.grid.upperBorder||r%1==0||(this.grid.upperBorder=this.grid.renderBorder(i)),this.grid.upperBorder&&(this.grid.upperBorder.attr({stroke:e.lineColor,"stroke-width":e.lineWidth}),this.grid.upperBorder.animate({d:i})),this.grid.lowerBorder||n%1==0||(this.grid.lowerBorder=this.grid.renderBorder(l)),this.grid.lowerBorder&&(this.grid.lowerBorder.attr({stroke:e.lineColor,"stroke-width":e.lineWidth}),this.grid.lowerBorder.animate({d:l}))}this.grid.axisLineExtra?(this.grid.axisLineExtra.attr({stroke:e.lineColor,"stroke-width":e.lineWidth}),this.grid.axisLineExtra.animate({d:i})):this.grid.axisLineExtra=this.grid.renderBorder(i),this.axisLine[this.showAxis?"show":"hide"]()}}if((i?.columns||[]).forEach(t=>t.render()),!this.horiz&&this.chart.hasRendered&&(this.scrollbar||this.linkedParent?.scrollbar)&&this.tickPositions.length){let t,i,e=this.tickmarkOffset,s=this.tickPositions[this.tickPositions.length-1],o=this.tickPositions[0];for(;(t=this.hiddenLabels.pop())&&t.element;)t.show();for(;(i=this.hiddenMarks.pop())&&i.element;)i.show();(t=this.ticks[o].label)&&(r-o>e?this.hiddenLabels.push(t.hide()):t.show()),(t=this.ticks[s].label)&&(s-n>e?this.hiddenLabels.push(t.hide()):t.show());let h=this.ticks[s].mark;h&&s-n<e&&s-n>0&&this.ticks[s].isLast&&this.hiddenMarks.push(h.hide())}}}function b(){let t=this.tickPositions?.info,i=this.options,e=i.grid||{},s=this.userOptions.labels||{};e.enabled&&(this.horiz?(this.series.forEach(t=>{t.options.pointRange=0}),t&&i.dateTimeLabelFormats&&i.labels&&!(0,l.defined)(s.align)&&(!1===i.dateTimeLabelFormats[t.unitName].range||t.count>1)&&(i.labels.align="left",(0,l.defined)(s.x)||(i.labels.x=3))):"treegrid"!==this.type&&this.grid&&this.grid.columns&&(this.minPointOffset=this.tickInterval))}function P(t){let i,e=this.options,s=t.userOptions,r=e&&f(e.grid)?e.grid:{};!0===r.enabled&&(i=(0,l.merge)(!0,{className:"highcharts-grid-axis "+(s.className||""),dateTimeLabelFormats:{hour:{list:["%[HM]","%[H]"]},day:{list:["%[AeB]","%[aeb]","%[E]"]},week:{list:["Week %W","W%W"]},month:{list:["%[B]","%[b]","%o"]}},grid:{borderWidth:1},labels:{padding:2,style:{fontSize:"0.9em"}},margin:0,title:{text:null,reserveSpace:!1,rotation:0,style:{textOverflow:"ellipsis"}},units:[["millisecond",[1,10,100]],["second",[1,10]],["minute",[1,5,15]],["hour",[1,6]],["day",[1]],["week",[1]],["month",[1]],["year",null]]},s),"xAxis"===this.coll&&((0,l.defined)(s.linkedTo)&&!(0,l.defined)(s.tickPixelInterval)&&(i.tickPixelInterval=350),!(!(0,l.defined)(s.tickPixelInterval)&&(0,l.defined)(s.linkedTo))||(0,l.defined)(s.tickPositioner)||(0,l.defined)(s.tickInterval)||(0,l.defined)(s.units)||(i.tickPositioner=function(t,e){let s=this.linkedParent?.tickPositions?.info;if(s){let r=i.units||[],n,o=1,h="year";for(let t=0;t<r.length;t++){let i=r[t];if(i&&i[0]===s.unitName){n=t;break}}let a=(0,l.isNumber)(n)&&r[n+1];if(a){h=a[0]||"year";let t=a[1];o=t?.[0]||1}else"year"===s.unitName&&(o=10*s.count);let d=l.timeUnits[h];return this.tickInterval=d*o,this.chart.time.getTimeTicks({unitRange:d,count:o,unitName:h},t,e,this.options.startOfWeek)}})),(0,l.merge)(!0,this.options,i),this.horiz&&(e.minPadding=s.minPadding??0,e.maxPadding=s.maxPadding??0),(0,l.isNumber)(e.grid.borderWidth)&&(e.tickWidth=e.lineWidth=r.borderWidth))}function y(t){let i=t.userOptions,e=i?.grid||{},s=e.columns;e.enabled&&s&&(0,l.merge)(!0,this.options,s[0])}function v(){(this.grid.columns||[]).forEach(t=>t.setScale())}function w(t){let{horiz:i,maxLabelDimensions:e,options:{grid:s={}}}=this;if(s.enabled&&e){let r=2*this.options.labels.distance,n=i?s.cellHeight||r+e.height:r+e.width;(0,l.isArray)(t.tickSize)?t.tickSize[0]=n:t.tickSize=[n,0]}}function L(){this.axes.forEach(t=>{(t.grid?.columns||[]).forEach(t=>{t.setAxisSize(),t.setAxisTranslation()})})}function E(t){let{grid:i}=this;i&&((i.columns||[]).forEach(i=>i.destroy(t.keepEvents)),i.columns=void 0)}function B(t){let i=t.userOptions||{},e=(0,l.merge)({borderColor:"var(--highcharts-neutral-color-20)"},i.grid||{});e.enabled&&(0,l.defined)(e.borderColor)&&(i.tickColor=i.lineColor=e.borderColor),this.grid||(this.grid=new W(this)),this.hiddenLabels=[],this.hiddenMarks=[],e.enabled&&(this.clippable=!1)}function O(t){let i=this.label,e=this.axis,r=e.reversed,n=e.chart,o=e.options.grid||{},h=e.options.labels,a=h.align,d=s[e.side],c=t.tickmarkOffset,g=e.tickPositions,f=this.pos-c,u=(0,l.isNumber)(g[t.index+1])?g[t.index+1]-c:(e.max||0)+c,p=e.tickSize("tick"),m=p?p[0]:0,x=p?p[1]/2:0;if(!0===o.enabled){let s,o,l,c;if("top"===d?o=(s=e.top+e.offset)-m:"bottom"===d?s=(o=n.chartHeight-e.bottom+e.offset)+m:(s=e.top+e.len-(e.translate(r?u:f)||0),o=e.top+e.len-(e.translate(r?f:u)||0)),"right"===d?c=(l=n.chartWidth-e.right+e.offset)+m:"left"===d?l=(c=e.left+e.offset)-m:(l=Math.round(e.left+(e.translate(r?u:f)||0))-x,c=Math.min(Math.round(e.left+(e.translate(r?f:u)||0))-x,e.left+e.len)),this.slotWidth=c-l,t.pos.x="left"===a?l:"right"===a?c:l+(c-l)/2,t.pos.y=o+(s-o)/2,i){let e=n.renderer.fontMetrics(i),s=i.getBBox().height;if(h.useHTML)t.pos.y+=e.b+-(s/2);else{let i=Math.round(s/e.h);t.pos.y+=(e.b-(e.h-e.f))/2+-((i-1)*e.h/2)}}t.pos.x+=e.horiz&&h.x||0}}function T(t){let{axis:i,value:e}=t;if(i.options.grid?.enabled){let s,r=i.tickPositions,n=(i.linkedParent||i).series,o=n.reduce((t,i)=>i.is("gantt")?t?.concat(i.options?.data??[]):t,[])??[],h=e===r[0],d=e===r[r.length-1],c=n[0]&&(0,l.find)(o,function(t){return t[i.isXAxis?"x":"y"]===e});c&&(s=(0,l.merge)(c),a().seriesTypes.gantt.prototype.pointClass.setGanttPointAliases(s,i.chart)),t.isFirst=h,t.isLast=d,t.point=s}}function A(){let t=this.options,i=t.grid||{},e=this.categories,s=this.tickPositions,r=s[0],n=s[1],o=s[s.length-1],h=s[s.length-2],a=this.linkedParent?.min,d=this.linkedParent?.max,c=a||this.min,g=d||this.max,f=this.tickInterval,u=(0,l.isNumber)(c)&&c>=r+f&&c<n,p=(0,l.isNumber)(c)&&r<c&&r+f>c,m=(0,l.isNumber)(g)&&o>g&&o-f<g,x=(0,l.isNumber)(g)&&g<=o-f&&g>h;!0===i.enabled&&!e&&(this.isXAxis||this.isLinked)&&((p||u)&&!t.startOnTick&&(s[0]=c),(m||x)&&!t.endOnTick&&(s[s.length-1]=g))}function M(t){var i;let{options:{grid:e={}}}=this;return!0===e.enabled&&this.categories?this.tickInterval:t.apply(this,(i=arguments,Array.prototype.slice.call(i,1)))}(e=s||(s={}))[e.top=0]="top",e[e.right=1]="right",e[e.bottom=2]="bottom",e[e.left=3]="left";class W{constructor(t){this.axis=t}isOuterAxis(){let t=this.axis,i=t.chart,e=t.grid.columnIndex,s=t.linkedParent?.grid.columns||t.grid.columns||[],r=e?t.linkedParent:t,n=-1,o=0;return 3===t.side&&!i.inverted&&s.length?!t.linkedParent:((i[t.coll]||[]).forEach((i,e)=>{i.side!==t.side||i.options.isInternal||(o=e,i===r&&(n=e))}),o===n&&(!(0,l.isNumber)(e)||s.length===e))}renderBorder(t){let i=this.axis,e=i.chart.renderer,s=i.options,r=e.path(t).addClass("highcharts-axis-line").add(i.axisGroup);return e.styledMode||r.attr({stroke:s.lineColor,"stroke-width":s.lineWidth,zIndex:7}),r}}g.E=function(t){return this.dateFormat("%a",t,!0).charAt(0)},g.W=function(t){let i=this.toParts(t),e=(i[7]+6)%7,s=i.slice(0);s[2]=i[2]-e+3;let r=this.toParts(this.makeTime(s[0],0,1));return 4!==r[7]&&(i[1]=0,i[2]=1+(11-r[7])%7),(1+Math.floor((this.makeTime(s[0],s[1],s[2])-this.makeTime(r[0],r[1],r[2]))/6048e5)).toString()};let S=a();({compose:function(t,i,e){return t.keepProps.includes("grid")||(t.keepProps.push("grid"),t.prototype.getMaxLabelDimensions=u,(0,l.wrap)(t.prototype,"unsquish",M),(0,l.wrap)(t.prototype,"getOffset",p),(0,l.addEvent)(t,"init",B),(0,l.addEvent)(t,"afterGetTitlePosition",m),(0,l.addEvent)(t,"afterInit",x),(0,l.addEvent)(t,"afterRender",k),(0,l.addEvent)(t,"afterSetAxisTranslation",b),(0,l.addEvent)(t,"afterSetOptions",P),(0,l.addEvent)(t,"afterSetOptions",y),(0,l.addEvent)(t,"afterSetScale",v),(0,l.addEvent)(t,"afterTickSize",w),(0,l.addEvent)(t,"trimTicks",A),(0,l.addEvent)(t,"destroy",E),(0,l.addEvent)(i,"afterSetChartSize",L),(0,l.addEvent)(e,"afterGetLabelPosition",O),(0,l.addEvent)(e,"labelFormat",T)),t}}).compose(S.Axis,S.Chart,S.Tick);let z=a();return h.default})());
|
package/modules/grid-axis.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/grid-axis
|
|
5
5
|
* @requires highcharts
|
|
6
6
|
*
|
|
@@ -182,7 +182,7 @@ function applyGridOptions(axis) {
|
|
|
182
182
|
options.labels = {};
|
|
183
183
|
}
|
|
184
184
|
*/
|
|
185
|
-
options.labels.align = (
|
|
185
|
+
options.labels.align = (options.labels.align ?? 'center');
|
|
186
186
|
// @todo: Check against tickLabelPlacement between/on etc
|
|
187
187
|
/* Prevents adding the last tick label if the axis is not a category
|
|
188
188
|
axis.
|
|
@@ -726,8 +726,8 @@ function onAfterSetOptions(e) {
|
|
|
726
726
|
_________________________
|
|
727
727
|
Into this: |_____|_____|_____|_____|
|
|
728
728
|
^ ^ */
|
|
729
|
-
options.minPadding = (
|
|
730
|
-
options.maxPadding = (
|
|
729
|
+
options.minPadding = (userOptions.minPadding ?? 0);
|
|
730
|
+
options.maxPadding = (userOptions.maxPadding ?? 0);
|
|
731
731
|
}
|
|
732
732
|
// If borderWidth is set, then use its value for tick and
|
|
733
733
|
// line width.
|
package/modules/heatmap.d.ts
CHANGED
|
@@ -28,17 +28,5 @@ declare module "../highcharts" {
|
|
|
28
28
|
*/
|
|
29
29
|
value?: (number|null);
|
|
30
30
|
}
|
|
31
|
-
/**
|
|
32
|
-
* Find color of point based on color axis.
|
|
33
|
-
*
|
|
34
|
-
* @param value
|
|
35
|
-
* Value to find corresponding color on the color axis.
|
|
36
|
-
*
|
|
37
|
-
* @param point
|
|
38
|
-
* Point to find it's color from color axis.
|
|
39
|
-
*
|
|
40
|
-
* @return Color in RGBa array.
|
|
41
|
-
*/
|
|
42
|
-
function colorFromPoint(value: (number|null), point: Point): Array<number>;
|
|
43
31
|
}
|
|
44
32
|
export default _Highcharts;
|
package/modules/heatmap.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
!/**
|
|
2
|
-
* Highmaps JS v13.0.
|
|
2
|
+
* Highmaps JS v13.0.2 (2026-08-27)
|
|
3
3
|
* @module highcharts/modules/heatmap
|
|
4
4
|
* @requires highcharts
|
|
5
5
|
*
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
*
|
|
9
9
|
* A commercial license may be required depending on use,
|
|
10
10
|
* see www.highcharts.com/license
|
|
11
|
-
*/function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(t._Highcharts,t._Highcharts.Axis,t._Highcharts.Color,t._Highcharts.SeriesRegistry,t._Highcharts.SVGElement,t._Highcharts.SVGRenderer):"function"==typeof define&&define.amd?define("highcharts/modules/heatmap",["highcharts/highcharts"],function(t){return e(t,t.Axis,t.Color,t.SeriesRegistry,t.SVGElement,t.SVGRenderer)}):"object"==typeof exports?exports["highcharts/modules/heatmap"]=e(t._Highcharts,t._Highcharts.Axis,t._Highcharts.Color,t._Highcharts.SeriesRegistry,t._Highcharts.SVGElement,t._Highcharts.SVGRenderer):t.Highcharts=e(t.Highcharts,t.Highcharts.Axis,t.Highcharts.Color,t.Highcharts.SeriesRegistry,t.Highcharts.SVGElement,t.Highcharts.SVGRenderer)}("u"<typeof window?this:window,(t,e,i,s,o,r)=>(()=>{"use strict";var l,a,n,h,d={532(t){t.exports=e},620(t){t.exports=i},28(t){t.exports=o},540(t){t.exports=r},512(t){t.exports=s},944(e){e.exports=t}};let p={};function c(t){let e=p[t];if(void 0!==e)return e.exports;let i=p[t]={exports:{}};return d[t](i,i.exports,c),i.exports}c.n=t=>{let e=t&&t.__esModule?()=>t.default:()=>t;return c.d(e,{a:e}),e},c.d=(t,e)=>{if(Array.isArray(e))for(var i=0;i<e.length;){var s=e[i++],o=e[i++];c.o(t,s)?0===o&&i++:0===o?Object.defineProperty(t,s,{enumerable:!0,value:e[i++]}):Object.defineProperty(t,s,{enumerable:!0,get:o})}else for(var s in e)c.o(e,s)&&!c.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},c.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);let u={};c.d(u,{default:()=>B});var g=c(944),m=c.n(g),f=c(532),x=c.n(f),y=c(620),b=c.n(y);let{parse:v}=b();(l=a||(a={})).initDataClasses=function(t){let e=this.chart,i=this.legendItem=this.legendItem||{},s=this.options,o=t.dataClasses||[],r,l,a=e.options.chart.colorCount,n=0,h;this.dataClasses=l=[],i.labels=[];for(let t=0,i=o.length;t<i;++t)r=o[t],r=(0,g.merge)(r),l.push(r),(e.styledMode||!r.color)&&("category"===s.dataClassColor?(e.styledMode||(a=(h=e.options.colors||[]).length,r.color=h[n]),r.colorIndex=n,++n===a&&(n=0)):r.color=v(s.minColor).tweenTo(v(s.maxColor),i<2?.5:t/(i-1)))},l.initStops=function(){let t=this.options,e=this.stops=t.stops||[[0,t.minColor||""],[1,t.maxColor||""]];for(let t=0,i=e.length;t<i;++t)e[t].color=v(e[t][1])},l.normalizedValue=function(t){let e=this.max||0,i=this.min||0;return this.logarithmic&&(t=this.logarithmic.log2lin(t)),1-(e-t)/(e-i||1)},l.toColor=function(t,e){let i,s,o,r,l,a,n=this.dataClasses,h=this.stops;if(n){for(a=n.length;a--;)if(s=(l=n[a]).from,o=l.to,(void 0===s||t>=s)&&(void 0===o||t<=o)){r=l.color,e&&(e.dataClass=a,e.colorIndex=l.colorIndex);break}}else{for(i=this.normalizedValue(t),a=h.length;a--&&!(i>h[a][0]););s=h[a]||h[a+1],i=1-((o=h[a+1]||s)[0]-i)/(o[0]-s[0]||1),r=s.color.tweenTo(o.color,i)}return r};let C=a,{parse:A}=b();!function(t){let e;function i(){let{userOptions:t}=this;this.colorAxis=[],t.colorAxis&&(t.colorAxis=(0,g.splat)(t.colorAxis),t.colorAxis.map(t=>new e(this,t)))}function s(t){let e=this.chart.colorAxis||[],i=e=>{let i=t.allItems.indexOf(e);-1!==i&&(this.destroyItem(t.allItems[i]),t.allItems.splice(i,1))},s=[],o,r;for(e.forEach(function(t){o=t.options,o?.showInLegend&&(o.dataClasses&&o.visible?s=s.concat(t.getDataClassLegendSymbols()):o.visible&&s.push(t),t.series.forEach(function(t){(!t.options.showInLegend||o.dataClasses)&&("point"===t.options.legendType?t.points.forEach(function(t){i(t)}):i(t))}))}),r=s.length;r--;)t.allItems.unshift(s[r])}function o(t){t.visible&&t.item.legendColor&&t.item.legendItem.symbol.attr({fill:t.item.legendColor})}function r(t){this.chart.colorAxis?.forEach(e=>{e.update({},t.redraw)})}function l(){(this.chart.colorAxis?.length||this.colorAttribs)&&this.translateColors()}function a(){let t=this.axisTypes;t?-1===t.indexOf("colorAxis")&&t.push("colorAxis"):this.axisTypes=["colorAxis"]}function n(t){let e=this,i=t?"show":"hide";e.visible=e.options.visible=!!t,["graphic","dataLabel"].forEach(function(t){e[t]&&e[t][i]()}),this.series.buildKDTree()}function h(){let t=this,e=this.getPointsCollection(),i=this.options.nullColor,s=this.colorAxis,o=this.colorKey;e.forEach(e=>{let r=e.getNestedProperty(o),l=e.options.color||(e.isNull||null===e.value?i:s&&void 0!==r?s.toColor(r,e):e.color||t.color);l&&e.color!==l&&(e.color=l,"point"===t.options.legendType&&e.legendItem&&e.legendItem.label&&t.chart.legend.colorizeItem(e,e.visible))})}function d(){this.elem.attr("fill",A(this.start).tweenTo(A(this.end),this.pos),void 0,!0)}function p(){this.elem.attr("stroke",A(this.start).tweenTo(A(this.end),this.pos),void 0,!0)}t.compose=function(t,c,u,m,f){var x;let y,b=c.prototype,v=u.prototype,C=f.prototype;b.collectionsWithUpdate.includes("colorAxis")||(e=t,b.collectionsWithUpdate.push("colorAxis"),b.collectionsWithInit.colorAxis=[b.addColorAxis],(0,g.addEvent)(c,"afterCreateAxes",i),y=(x=c).prototype.createAxis,x.prototype.createAxis=function(t,i){if("colorAxis"!==t)return y.apply(this,arguments);let s=new e(this,(0,g.merge)(i.axis,{index:this[t].length,isX:!1}));return this.isDirtyLegend=!0,this.axes.forEach(t=>{t.series=[]}),this.series.forEach(t=>{t.bindAxes(),t.isDirtyData=!0}),(0,g.pick)(i.redraw,!0)&&this.redraw(i.animation),s},v.fillSetter=d,v.strokeSetter=p,(0,g.addEvent)(m,"afterGetAllItems",s),(0,g.addEvent)(m,"afterColorizeItem",o),(0,g.addEvent)(m,"afterUpdate",r),(0,g.extend)(C,{optionalAxis:"colorAxis",translateColors:h}),(0,g.extend)(C.pointClass.prototype,{setVisible:n}),(0,g.addEvent)(f,"afterTranslate",l,{order:1}),(0,g.addEvent)(f,"bindAxes",a))},t.pointSetVisible=n}(n||(n={}));let k=n;var w=c(512),M=c.n(w);let{defaultOptions:L}=m(),{series:I}=M();L.colorAxis=(0,g.merge)(L.xAxis,{lineWidth:0,minPadding:0,maxPadding:0,gridLineColor:"var(--highcharts-background-color)",gridLineWidth:1,tickPixelInterval:72,startOnTick:!0,endOnTick:!0,offset:0,marker:{animation:{duration:50},clip:!1,lineColor:"var(--highcharts-neutral-color-40)",lineWidth:0,color:"var(--highcharts-neutral-color-40)",width:.01},labels:{distance:8,overflow:"justify",rotation:0},minColor:"var(--highcharts-highlight-color-10)",maxColor:"var(--highcharts-highlight-color-100)",tickLength:5,title:{margin:5},showInLegend:!0});class P extends x(){static compose(t,e,i,s){k.compose(P,t,e,i,s)}constructor(t,e){super(t,e),this.clippable=!1,this.coll="colorAxis",this.visible=!0,this.init(t,e)}init(t,e){let i=t.options.legend||{},s=e.layout?"vertical"!==e.layout:"vertical"!==i.layout;this.side=e.side||s?2:1,this.reversed=e.reversed,this.opposite=!s,super.init(t,e,"colorAxis"),this.userOptions=e,(0,g.isArray)(t.userOptions.colorAxis)&&(t.userOptions.colorAxis[this.index]=e),e.dataClasses&&this.initDataClasses(e),this.initStops(),this.horiz=s,this.zoomEnabled=!1}hasData(){return!!(this.tickPositions||[]).length}setTickPositions(){if(!this.dataClasses)return super.setTickPositions()}setOptions(t){let e=this.chart.options.legend||{},i=L.colorAxis,s=t.layout||e.layout||i.layout,o=(0,g.merge)("vertical"!==s?{title:{rotation:0}}:{title:{rotation:90,margin:10}},i,t,{showEmpty:!1,visible:this.chart.options.legend.enabled&&!1!==t.visible});super.setOptions(o),this.options.crosshair=this.options.marker}setAxisSize(){let t=this.chart,e=this.legendItem?.symbol,{width:i,height:s}=this.getSize();e&&(this.left=+e.attr("x"),this.top=+e.attr("y"),this.width=i=+e.attr("width"),this.height=s=+e.attr("height"),this.right=t.chartWidth-this.left-i,this.bottom=t.chartHeight-this.top-s,this.pos=this.horiz?this.left:this.top),this.len=(this.horiz?i:s)||P.defaultLegendLength}getOffset(){let t=this.chart,e=this.legendItem?.group,i=t.axisOffset[this.side],{clipOffset:s,legend:o}=t;e&&(this.axisParent=e,super.getOffset(),o.allItems.forEach(function(t){t instanceof P&&t.drawLegendSymbol(o,t)}),o.render(),t.getMargins(!0),this.added||(this.added=!0),this.labelLeft=0,this.labelRight=this.width,t.axisOffset[this.side]=i,t.clipOffset=s)}setLegendColor(){let t=this.horiz,e=this.reversed,i=+!!e,s=+!e,o=t?[i,0,s,0]:[0,s,0,i];this.legendColor={linearGradient:{x1:o[0],y1:o[1],x2:o[2],y2:o[3]},stops:this.stops}}drawLegendSymbol(t,e){let i=e.legendItem||{},s=t.padding,o=t.options,r=this.options.labels,l=(0,g.pick)(o.itemDistance,10),a=this.horiz,{width:n,height:h}=this.getSize(),d=(0,g.pick)(o.labelPadding,a?16:30);this.setLegendColor();let p=0,c=0;if(this.options.title?.text&&!this.axisTitle){this.axisGroup||(this.axisParent=i.group,this.createGroups());let t=this.len,e=this.top,s=this.left,o=this.width;this.len=a?n:h,this.top=0,this.left=0,this.width=n,this.addTitle(!0),this.len=t,this.top=e,this.left=s,this.width=o}if(this.axisTitle){let t=this.axisTitle.getBBox();p=t.height,c=t.width}let u=this.options.title||{},m=this.axisTitle?u.margin??0:0,f=a?p+m:0;i.symbol||(i.symbol=this.chart.renderer.symbol("roundedRect").attr({r:o.symbolRadius??3,zIndex:1}).add(i.group)),i.symbol.attr({x:0,y:(t.baseline||0)-11+f,width:n,height:h}),a?(i.labelWidth=Math.max(n+s+l,c||0),i.labelHeight=h+s+d+p+m):(i.labelWidth=n+s+(r.x??r.distance??0)+(this.maxLabelLength||0)+(c||0)+m,i.labelHeight=Math.max(h+s,p||0))}getTitlePosition(t){let e=super.getTitlePosition(t),i=this.options.title?.margin??0;if(this.horiz&&t)e.y=this.top-i;else if(!this.horiz&&t){let t=this.options.labels||{},s=t.x??t.distance??0;e.x=this.left+this.width+s+(this.maxLabelLength||0)+i}return e}setState(t){this.series.forEach(function(e){e.setState(t)})}setVisible(){}getSeriesExtremes(){let t=this.series,e,i,s,o,r=t.length;for(this.dataMin=1/0,this.dataMax=-1/0;r--;){for(let l of(i=(o=t[r]).colorKey=(0,g.pick)(o.options.colorKey,o.colorKey,o.pointValKey,o.zoneAxis,"y"),s=o[i+"Min"]&&o[i+"Max"],[i,"value","y"]))if((e=o.getColumn(l)).length)break;if(s)o.minColorValue=o[i+"Min"],o.maxColorValue=o[i+"Max"];else{let t=I.prototype.getExtremes.call(o,e);o.minColorValue=t.dataMin,o.maxColorValue=t.dataMax}(0,g.defined)(o.minColorValue)&&(0,g.defined)(o.maxColorValue)&&(this.dataMin=Math.min(this.dataMin,o.minColorValue),this.dataMax=Math.max(this.dataMax,o.maxColorValue)),s||I.prototype.applyExtremes.call(o)}}drawCrosshair(t,e){let i,s=this.legendItem||{},o=e?.plotX,r=e?.plotY,l=this.pos,a=this.len,n=this.options.marker||{};e&&((i=this.toPixels(e.getNestedProperty(e.series.colorKey)))<l?i=l-2:i>l+a&&(i=l+a+2),e.plotX=i,e.plotY=this.len-i,super.drawCrosshair(t,e),e.plotX=o,e.plotY=r,this.cross&&!this.cross.addedToColorAxis&&s.group&&(this.cross.addClass("highcharts-coloraxis-marker").add(s.group),this.cross.addedToColorAxis=!0,this.chart.styledMode||"object"!=typeof this.crosshair||this.cross.attr({fill:n.color,stroke:n.lineColor,"stroke-width":n.lineWidth})))}getPlotLinePath(t){let e=this.left,i=t.translatedValue,{symbol:s}=this.options.marker||{},o=this.top;if((0,g.isNumber)(i)){if(s){let t=this.height,r=i-t/2,l=o;return this.horiz||(t=this.width,r=e,l=i-t/2),this.chart.renderer.symbols[s](r,l,t,t)}return this.horiz?[["M",i-4,o-6],["L",i+4,o-6],["L",i,o],["Z"]]:[["M",e,i],["L",e-6,i+6],["L",e-6,i-6],["Z"]]}return super.getPlotLinePath(t)}update(t,e){let i=this.chart.legend;this.series.forEach(t=>{t.isDirtyData=!0}),(t.dataClasses&&i.allItems||this.dataClasses)&&this.destroyItems(),super.update(t,e),this.legendItem?.label&&(this.setLegendColor(),i.colorizeItem(this,!0))}destroyItems(){let t=this.chart,e=this.legendItem||{};if(e.label)t.legend.destroyItem(this);else if(e.labels)for(let i of e.labels)t.legend.destroyItem(i);t.isDirtyLegend=!0}destroy(){this.chart.isDirtyLegend=!0,this.destroyItems(),super.destroy(...[].slice.call(arguments))}remove(t){this.destroyItems(),super.remove(t)}getDataClassLegendSymbols(){let t,e=this,i=e.chart,s=e.legendItem&&e.legendItem.labels||[],o=i.options.legend,r=(0,g.pick)(o.valueDecimals,-1),l=(0,g.pick)(o.valueSuffix,""),a=t=>e.series.reduce((e,i)=>(e.push(...i.points.filter(e=>e.dataClass===t)),e),[]);return s.length||e.dataClasses.forEach((o,n)=>{let h=o.from,d=o.to,{numberFormatter:p}=i,c=!0;t="",void 0===h?t="< ":void 0===d&&(t="> "),void 0!==h&&(t+=p(h,r)+l),void 0!==h&&void 0!==d&&(t+=" - "),void 0!==d&&(t+=p(d,r)+l),s.push((0,g.extend)({chart:i,name:t,options:{},drawLegendSymbol:I.prototype.drawLegendSymbol,visible:!0,isDataClass:!0,setState:t=>{for(let e of a(n))e.setState(t)},setVisible:function(){this.visible=c=e.visible=!c;let t=[];for(let e of a(n))e.setVisible(c),e.hiddenInDataClass=!c,-1===t.indexOf(e.series)&&t.push(e.series);i.legend.colorizeItem(this,c),t.forEach(t=>{(0,g.fireEvent)(t,"afterDataClassLegendClick")})}},o))}),s}getSize(){let{chart:t,horiz:e}=this,{height:i,width:s}=this.options,{legend:o}=t.options;return{width:(0,g.pick)((0,g.defined)(s)?(0,g.relativeLength)(s,t.chartWidth):void 0,o?.symbolWidth,e?P.defaultLegendLength:12),height:(0,g.pick)((0,g.defined)(i)?(0,g.relativeLength)(i,t.chartHeight):void 0,o?.symbolHeight,e?12:P.defaultLegendLength)}}}P.defaultLegendLength=200,P.keepProps=["legendItem"],(0,g.extend)(P.prototype,C),Array.prototype.push.apply(x().keepProps,P.keepProps);/**
|
|
12
|
-
* @license Highcharts JS v13.0.
|
|
11
|
+
*/function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(t._Highcharts,t._Highcharts.Axis,t._Highcharts.Color,t._Highcharts.SeriesRegistry,t._Highcharts.SVGElement,t._Highcharts.SVGRenderer):"function"==typeof define&&define.amd?define("highcharts/modules/heatmap",["highcharts/highcharts"],function(t){return e(t,t.Axis,t.Color,t.SeriesRegistry,t.SVGElement,t.SVGRenderer)}):"object"==typeof exports?exports["highcharts/modules/heatmap"]=e(t._Highcharts,t._Highcharts.Axis,t._Highcharts.Color,t._Highcharts.SeriesRegistry,t._Highcharts.SVGElement,t._Highcharts.SVGRenderer):t.Highcharts=e(t.Highcharts,t.Highcharts.Axis,t.Highcharts.Color,t.Highcharts.SeriesRegistry,t.Highcharts.SVGElement,t.Highcharts.SVGRenderer)}("u"<typeof window?this:window,(t,e,i,s,o,r)=>(()=>{"use strict";var l,a,n,h,d={532(t){t.exports=e},620(t){t.exports=i},28(t){t.exports=o},540(t){t.exports=r},512(t){t.exports=s},944(e){e.exports=t}};let p={};function c(t){let e=p[t];if(void 0!==e)return e.exports;let i=p[t]={exports:{}};return d[t](i,i.exports,c),i.exports}c.n=t=>{let e=t&&t.__esModule?()=>t.default:()=>t;return c.d(e,{a:e}),e},c.d=(t,e)=>{if(Array.isArray(e))for(var i=0;i<e.length;){var s=e[i++],o=e[i++];c.o(t,s)?0===o&&i++:0===o?Object.defineProperty(t,s,{enumerable:!0,value:e[i++]}):Object.defineProperty(t,s,{enumerable:!0,get:o})}else for(var s in e)c.o(e,s)&&!c.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},c.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);let u={};c.d(u,{default:()=>B});var g=c(944),m=c.n(g),f=c(532),x=c.n(f),y=c(620),b=c.n(y);let{parse:v}=b();(l=a||(a={})).initDataClasses=function(t){let e=this.chart,i=this.legendItem=this.legendItem||{},s=this.options,o=t.dataClasses||[],r,l,a=e.options.chart.colorCount,n=0,h;this.dataClasses=l=[],i.labels=[];for(let t=0,i=o.length;t<i;++t)r=o[t],r=(0,g.merge)(r),l.push(r),(e.styledMode||!r.color)&&("category"===s.dataClassColor?(e.styledMode||(a=(h=e.options.colors||[]).length,r.color=h[n]),r.colorIndex=n,++n===a&&(n=0)):r.color=v(s.minColor).tweenTo(v(s.maxColor),i<2?.5:t/(i-1)))},l.initStops=function(){let t=this.options,e=this.stops=t.stops||[[0,t.minColor||""],[1,t.maxColor||""]];for(let t=0,i=e.length;t<i;++t)e[t].color=v(e[t][1])},l.normalizedValue=function(t){let e=this.max||0,i=this.min||0;return this.logarithmic&&(t=this.logarithmic.log2lin(t)),1-(e-t)/(e-i||1)},l.toColor=function(t,e){let i,s,o,r,l,a,n=this.dataClasses,h=this.stops;if(n){for(a=n.length;a--;)if(s=(l=n[a]).from,o=l.to,(void 0===s||t>=s)&&(void 0===o||t<=o)){r=l.color,e&&(e.dataClass=a,e.colorIndex=l.colorIndex);break}}else{for(i=this.normalizedValue(t),a=h.length;a--&&!(i>h[a][0]););s=h[a]||h[a+1],i=1-((o=h[a+1]||s)[0]-i)/(o[0]-s[0]||1),r=s.color.tweenTo(o.color,i)}return r};let C=a,{parse:A}=b();!function(t){let e;function i(){let{userOptions:t}=this;this.colorAxis=[],t.colorAxis&&(t.colorAxis=(0,g.splat)(t.colorAxis),t.colorAxis.map(t=>new e(this,t)))}function s(t){let e=this.chart.colorAxis||[],i=e=>{let i=t.allItems.indexOf(e);-1!==i&&(this.destroyItem(t.allItems[i]),t.allItems.splice(i,1))},s=[],o,r;for(e.forEach(function(t){o=t.options,o?.showInLegend&&(o.dataClasses&&o.visible?s=s.concat(t.getDataClassLegendSymbols()):o.visible&&s.push(t),t.series.forEach(function(t){(!t.options.showInLegend||o.dataClasses)&&("point"===t.options.legendType?t.points.forEach(function(t){i(t)}):i(t))}))}),r=s.length;r--;)t.allItems.unshift(s[r])}function o(t){t.visible&&t.item.legendColor&&t.item.legendItem.symbol.attr({fill:t.item.legendColor})}function r(t){this.chart.colorAxis?.forEach(e=>{e.update({},t.redraw)})}function l(){(this.chart.colorAxis?.length||this.colorAttribs)&&this.translateColors()}function a(){let t=this.axisTypes;t?-1===t.indexOf("colorAxis")&&t.push("colorAxis"):this.axisTypes=["colorAxis"]}function n(t){let e=this,i=t?"show":"hide";e.visible=e.options.visible=!!t,["graphic","dataLabel"].forEach(function(t){e[t]&&e[t][i]()}),this.series.buildKDTree()}function h(){let t=this,e=this.getPointsCollection(),i=this.options.nullColor,s=this.colorAxis,o=this.colorKey;e.forEach(e=>{let r=e.getNestedProperty(o),l=e.options.color||(e.isNull||null===e.value?i:s&&void 0!==r?s.toColor(r,e):e.color||t.color);l&&e.color!==l&&(e.color=l,"point"===t.options.legendType&&e.legendItem&&e.legendItem.label&&t.chart.legend.colorizeItem(e,e.visible))})}function d(){this.elem.attr("fill",A(this.start).tweenTo(A(this.end),this.pos),void 0,!0)}function p(){this.elem.attr("stroke",A(this.start).tweenTo(A(this.end),this.pos),void 0,!0)}t.compose=function(t,c,u,m,f){var x;let y,b=c.prototype,v=u.prototype,C=f.prototype;b.collectionsWithUpdate.includes("colorAxis")||(e=t,b.collectionsWithUpdate.push("colorAxis"),b.collectionsWithInit.colorAxis=[b.addColorAxis],(0,g.addEvent)(c,"afterCreateAxes",i),y=(x=c).prototype.createAxis,x.prototype.createAxis=function(t,i){if("colorAxis"!==t)return y.apply(this,arguments);let s=new e(this,(0,g.merge)(i.axis,{index:this[t].length,isX:!1}));return this.isDirtyLegend=!0,this.axes.forEach(t=>{t.series=[]}),this.series.forEach(t=>{t.bindAxes(),t.isDirtyData=!0}),(i.redraw??!0)&&this.redraw(i.animation),s},v.fillSetter=d,v.strokeSetter=p,(0,g.addEvent)(m,"afterGetAllItems",s),(0,g.addEvent)(m,"afterColorizeItem",o),(0,g.addEvent)(m,"afterUpdate",r),(0,g.extend)(C,{optionalAxis:"colorAxis",translateColors:h}),(0,g.extend)(C.pointClass.prototype,{setVisible:n}),(0,g.addEvent)(f,"afterTranslate",l,{order:1}),(0,g.addEvent)(f,"bindAxes",a))},t.pointSetVisible=n}(n||(n={}));let w=n;var M=c(512),k=c.n(M);let{defaultOptions:L}=m(),{series:I}=k();L.colorAxis=(0,g.merge)(L.xAxis,{lineWidth:0,minPadding:0,maxPadding:0,gridLineColor:"var(--highcharts-background-color)",gridLineWidth:1,tickPixelInterval:72,startOnTick:!0,endOnTick:!0,offset:0,marker:{animation:{duration:50},clip:!1,lineColor:"var(--highcharts-neutral-color-40)",lineWidth:0,color:"var(--highcharts-neutral-color-40)",width:.01},labels:{distance:8,overflow:"justify",rotation:0},minColor:"var(--highcharts-highlight-color-10)",maxColor:"var(--highcharts-highlight-color-100)",tickLength:5,title:{margin:5},showInLegend:!0});class P extends x(){static compose(t,e,i,s){w.compose(P,t,e,i,s)}constructor(t,e){super(t,e),this.clippable=!1,this.coll="colorAxis",this.visible=!0,this.init(t,e)}init(t,e){let i=t.options.legend||{},s=e.layout?"vertical"!==e.layout:"vertical"!==i.layout;this.side=e.side||s?2:1,this.reversed=e.reversed,this.opposite=!s,super.init(t,e,"colorAxis"),this.userOptions=e,(0,g.isArray)(t.userOptions.colorAxis)&&(t.userOptions.colorAxis[this.index]=e),e.dataClasses&&this.initDataClasses(e),this.initStops(),this.horiz=s,this.zoomEnabled=!1}hasData(){return!!(this.tickPositions||[]).length}setTickPositions(){if(!this.dataClasses)return super.setTickPositions()}setOptions(t){let e=this.chart.options.legend||{},i=L.colorAxis,s=t.layout||e.layout||i.layout,o=(0,g.merge)("vertical"!==s?{title:{rotation:0}}:{title:{rotation:90,margin:10}},i,t,{showEmpty:!1,visible:this.chart.options.legend.enabled&&!1!==t.visible});super.setOptions(o),this.options.crosshair=this.options.marker}setAxisSize(){let t=this.chart,e=this.legendItem?.symbol,{width:i,height:s}=this.getSize();e&&(this.left=+e.attr("x"),this.top=+e.attr("y"),this.width=i=+e.attr("width"),this.height=s=+e.attr("height"),this.right=t.chartWidth-this.left-i,this.bottom=t.chartHeight-this.top-s,this.pos=this.horiz?this.left:this.top),this.len=(this.horiz?i:s)||P.defaultLegendLength}getOffset(){let t=this.chart,e=this.legendItem?.group,i=t.axisOffset[this.side],{clipOffset:s,legend:o}=t;e&&(this.axisParent=e,super.getOffset(),o.allItems.forEach(function(t){t instanceof P&&t.drawLegendSymbol(o,t)}),o.render(),t.getMargins(!0),this.added||(this.added=!0),this.labelLeft=0,this.labelRight=this.width,t.axisOffset[this.side]=i,t.clipOffset=s)}setLegendColor(){let t=this.horiz,e=this.reversed,i=+!!e,s=+!e,o=t?[i,0,s,0]:[0,s,0,i];this.legendColor={linearGradient:{x1:o[0],y1:o[1],x2:o[2],y2:o[3]},stops:this.stops}}drawLegendSymbol(t,e){let i=e.legendItem||{},s=t.padding,o=t.options,r=this.options.labels,l=o.itemDistance??10,a=this.horiz,{width:n,height:h}=this.getSize(),d=o.labelPadding??(a?16:30);this.setLegendColor();let p=0,c=0;if(this.options.title?.text&&!this.axisTitle){this.axisGroup||(this.axisParent=i.group,this.createGroups());let t=this.len,e=this.top,s=this.left,o=this.width;this.len=a?n:h,this.top=0,this.left=0,this.width=n,this.addTitle(!0),this.len=t,this.top=e,this.left=s,this.width=o}if(this.axisTitle){let t=this.axisTitle.getBBox();p=t.height,c=t.width}let u=this.options.title||{},g=this.axisTitle?u.margin??0:0,m=a?p+g:0;i.symbol||(i.symbol=this.chart.renderer.symbol("roundedRect").attr({r:o.symbolRadius??3,zIndex:1}).add(i.group)),i.symbol.attr({x:0,y:(t.baseline||0)-11+m,width:n,height:h}),a?(i.labelWidth=Math.max(n+s+l,c||0),i.labelHeight=h+s+d+p+g):(i.labelWidth=n+s+(r.x??r.distance??0)+(this.maxLabelLength||0)+(c||0)+g,i.labelHeight=Math.max(h+s,p||0))}getTitlePosition(t){let e=super.getTitlePosition(t),i=this.options.title?.margin??0;if(this.horiz&&t)e.y=this.top-i;else if(!this.horiz&&t){let t=this.options.labels||{},s=t.x??t.distance??0;e.x=this.left+this.width+s+(this.maxLabelLength||0)+i}return e}setState(t){this.series.forEach(function(e){e.setState(t)})}setVisible(){}getSeriesExtremes(){let t=this.series,e,i,s,o,r=t.length;for(this.dataMin=1/0,this.dataMax=-1/0;r--;){for(let l of(i=(o=t[r]).colorKey=o.options.colorKey??o.colorKey??o.pointValKey??o.zoneAxis??"y",s=o[i+"Min"]&&o[i+"Max"],[i,"value","y"]))if((e=o.getColumn(l)).length)break;if(s)o.minColorValue=o[i+"Min"],o.maxColorValue=o[i+"Max"];else{let t=I.prototype.getExtremes.call(o,e);o.minColorValue=t.dataMin,o.maxColorValue=t.dataMax}(0,g.defined)(o.minColorValue)&&(0,g.defined)(o.maxColorValue)&&(this.dataMin=Math.min(this.dataMin,o.minColorValue),this.dataMax=Math.max(this.dataMax,o.maxColorValue)),s||I.prototype.applyExtremes.call(o)}}drawCrosshair(t,e){let i,s=this.legendItem||{},o=e?.plotX,r=e?.plotY,l=this.pos,a=this.len,n=this.options.marker||{};e&&((i=this.toPixels(e.getNestedProperty(e.series.colorKey)))<l?i=l-2:i>l+a&&(i=l+a+2),e.plotX=i,e.plotY=this.len-i,super.drawCrosshair(t,e),e.plotX=o,e.plotY=r,this.cross&&!this.cross.addedToColorAxis&&s.group&&(this.cross.addClass("highcharts-coloraxis-marker").add(s.group),this.cross.addedToColorAxis=!0,this.chart.styledMode||"object"!=typeof this.crosshair||this.cross.attr({fill:n.color,stroke:n.lineColor,"stroke-width":n.lineWidth})))}getPlotLinePath(t){let e=this.left,i=t.translatedValue,{symbol:s}=this.options.marker||{},o=this.top;if((0,g.isNumber)(i)){if(s){let t=this.height,r=i-t/2,l=o;return this.horiz||(t=this.width,r=e,l=i-t/2),this.chart.renderer.symbols[s](r,l,t,t)}return this.horiz?[["M",i-4,o-6],["L",i+4,o-6],["L",i,o],["Z"]]:[["M",e,i],["L",e-6,i+6],["L",e-6,i-6],["Z"]]}return super.getPlotLinePath(t)}update(t,e){let i=this.chart.legend;this.series.forEach(t=>{t.isDirtyData=!0}),(t.dataClasses&&i.allItems||this.dataClasses)&&this.destroyItems(),super.update(t,e),this.legendItem?.label&&(this.setLegendColor(),i.colorizeItem(this,!0))}destroyItems(){let t=this.chart,e=this.legendItem||{};if(e.label)t.legend.destroyItem(this);else if(e.labels)for(let i of e.labels)t.legend.destroyItem(i);t.isDirtyLegend=!0}destroy(){this.chart.isDirtyLegend=!0,this.destroyItems(),super.destroy(...[].slice.call(arguments))}remove(t){this.destroyItems(),super.remove(t)}getDataClassLegendSymbols(){let t,e=this,i=e.chart,s=e.legendItem&&e.legendItem.labels||[],o=i.options.legend,r=o.valueDecimals??-1,l=o.valueSuffix??"",a=t=>e.series.reduce((e,i)=>(e.push(...i.points.filter(e=>e.dataClass===t)),e),[]);return s.length||e.dataClasses.forEach((o,n)=>{let h=o.from,d=o.to,{numberFormatter:p}=i,c=!0;t="",void 0===h?t="< ":void 0===d&&(t="> "),void 0!==h&&(t+=p(h,r)+l),void 0!==h&&void 0!==d&&(t+=" - "),void 0!==d&&(t+=p(d,r)+l),s.push((0,g.extend)({chart:i,name:t,options:{},drawLegendSymbol:I.prototype.drawLegendSymbol,visible:!0,isDataClass:!0,setState:t=>{for(let e of a(n))e.setState(t)},setVisible:function(){this.visible=c=e.visible=!c;let t=[];for(let e of a(n))e.setVisible(c),e.hiddenInDataClass=!c,-1===t.indexOf(e.series)&&t.push(e.series);i.legend.colorizeItem(this,c),t.forEach(t=>{(0,g.fireEvent)(t,"afterDataClassLegendClick")})}},o))}),s}getSize(){let{chart:t,horiz:e}=this,{height:i,width:s}=this.options,{legend:o}=t.options;return{width:(0,g.defined)(s)?(0,g.relativeLength)(s,t.chartWidth):o?.symbolWidth??(e?P.defaultLegendLength:12),height:(0,g.defined)(i)?(0,g.relativeLength)(i,t.chartHeight):o?.symbolHeight??(e?12:P.defaultLegendLength)}}}P.defaultLegendLength=200,P.keepProps=["legendItem"],(0,g.extend)(P.prototype,C),Array.prototype.push.apply(x().keepProps,P.keepProps);/**
|
|
12
|
+
* @license Highcharts JS v13.0.2 (2026-08-27)
|
|
13
13
|
* @module highcharts/modules/color-axis
|
|
14
14
|
* @requires highcharts
|
|
15
15
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
* A commercial license may be required depending on use,
|
|
22
22
|
* see www.highcharts.com/license
|
|
23
|
-
*/let T=m();T.ColorAxis=T.ColorAxis||P,T.ColorAxis.compose(T.Chart,T.Fx,T.Legend,T.Series);var E=c(28),S=c.n(E);let{column:{prototype:D}}=
|
|
23
|
+
*/let T=m();T.ColorAxis=T.ColorAxis||P,T.ColorAxis.compose(T.Chart,T.Fx,T.Legend,T.Series);var E=c(28),S=c.n(E);let{column:{prototype:D}}=k().seriesTypes;var O=h||(h={});function V(t){let e=this.series,i=e.chart.renderer;this.moveToTopOnHover&&this.graphic&&(e.stateMarkerGraphic||(e.stateMarkerGraphic=new(S())(i,"use").css({pointerEvents:"none"}).add(this.graphic.parentGroup)),t?.state==="hover"?(this.graphic.attr({id:this.id}),e.stateMarkerGraphic.attr({href:`${i.url}#${this.id}`,visibility:"visible"})):e.stateMarkerGraphic.attr({href:""}))}O.pointMembers={dataLabelOnNull:!0,moveToTopOnHover:!0,isValid:function(){return null!==this.value&&this.value!==1/0&&this.value!==-1/0&&(void 0===this.value||!isNaN(this.value))}},O.seriesMembers={colorKey:"value",axisTypes:["xAxis","yAxis","colorAxis"],parallelArrays:["x","y","value"],pointArrayMap:["value"],trackerGroups:["group","markerGroup","dataLabelsGroup"],colorAttribs:function(t){let e={};return(0,g.defined)(t.color)&&(!t.state||"normal"===t.state)&&(e[this.colorProp||"fill"]=t.color),e},pointAttribs:D.pointAttribs},O.compose=function(t){let e=t.prototype.pointClass;return(0,g.addEvent)(e,"afterSetState",V),t};let H=h,{scatter:{prototype:{pointClass:z}}}=k().seriesTypes;class G extends z{applyOptions(t,e){return(this.isNull||null===this.value)&&delete this.color,super.applyOptions(t,e),this.formatPrefix=this.isNull||null===this.value?"null":"point",this}getCellAttributes(){let t=this.series,e=t.options,i=(e.colsize||1)/2,s=(e.rowsize||1)/2,o=t.xAxis,r=t.yAxis,l=this.options.marker||t.options.marker,a=t.pointPlacementToXValue(),n=this.pointPadding??e.pointPadding??0,h={x1:(0,g.clamp)(Math.round(o.len-o.translate(this.x-i,!1,!0,!1,!0,-a)),-o.len,2*o.len),x2:(0,g.clamp)(Math.round(o.len-o.translate(this.x+i,!1,!0,!1,!0,-a)),-o.len,2*o.len),y1:(0,g.clamp)(Math.round(r.translate(this.y-s,!1,!0,!1,!0)),-r.len,2*r.len),y2:(0,g.clamp)(Math.round(r.translate(this.y+s,!1,!0,!1,!0)),-r.len,2*r.len)};for(let t of[["width","x"],["height","y"]]){let e=t[0],i=t[1],s=i+"1",a=i+"2",d=Math.abs(h[s]-h[a]),p=l&&l.lineWidth||0,c=Math.abs(h[s]+h[a])/2,u=l&&l[e];if((0,g.defined)(u)&&u<d){let t=u/2+p/2;h[s]=c-t,h[a]=c+t}n&&(("x"===i&&o.reversed||"y"===i&&!r.reversed)&&(s=a,a=i+"1"),h[s]+=n,h[a]-=n)}return h}haloPath(t){if(!t)return[];let{x:e=0,y:i=0,width:s=0,height:o=0}=this.shapeArgs||{};return[["M",e-t,i-t],["L",e-t,i+o+t],["L",e+s+t,i+o+t],["L",e+s+t,i-t],["Z"]]}isValid(){return this.value!==1/0&&this.value!==-1/0}}(0,g.extend)(G.prototype,{dataLabelOnNull:!0,moveToTopOnHover:!0,ttBelow:!1});var R=c(540),N=c.n(R);let{doc:W}=m(),{series:_,seriesTypes:{column:K,scatter:j}}=k(),{prototype:{symbols:X}}=N(),{colorFromPoint:F,getContext:U}={colorFromPoint:function(t,e){let i=e.series.colorAxis;if(i){let s=i.toColor(t||0,e).split(")")[0].split("(")[1].split(",").map(t=>parseFloat(t)??parseInt(t,10));return s[3]=(s[3]??1)*255,(0,g.defined)(t)&&e.visible||(s[3]=0),s}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=W.createElement("canvas"),t.context=t.canvas.getContext("2d",{willReadFrequently:!0})||void 0,t.context)}};class Y extends j{constructor(){super(...arguments),this.valueMax=NaN,this.valueMin=NaN,this.isDirtyCanvas=!0}drawPoints(){let t=this,e=t.options,i=e.interpolation,s=e.marker||{};if(i){let{image:e,chart:i,xAxis:s,yAxis:o}=t,{reversed:r=!1,len:l}=s,{reversed:a=!1,len:n}=o,h={width:l,height:n};if(!e||t.isDirtyData||t.isDirtyCanvas){let l=U(t),{canvas:n,options:{colsize:d=1,rowsize:p=1},points:c,points:{length:u}}=t,g=i.colorAxis&&i.colorAxis[0];if(n&&l&&g){let{min:g,max:m}=s.getExtremes(),{min:f,max:x}=o.getExtremes(),y=m-g,b=x-f,v=Math.round(y/d/8*8),C=Math.round(b/p/8*8),[A,w]=[[v,v/y,r,"ceil"],[C,C/b,!a,"floor"]].map(([t,e,i,s])=>i?i=>Math[s](t-e*i):t=>Math[s](e*t)),M=n.width=v+1,k=M*(n.height=C+1),L=(u-1)/k,I=new Uint8ClampedArray(4*k),P=(t,e)=>4*Math.ceil(M*w(e-f)+A(t-g));t.buildKDTree();for(let t=0;t<k;t++){let e=c[Math.ceil(L*t)],{x:i,y:s}=e;I.set(F(e.value,e),P(i,s))}l.putImageData(new ImageData(I,M),0,0),e?e.attr({...h,href:n.toDataURL("image/png",1)}):(t.directTouch=!1,t.image=i.renderer.image(n.toDataURL("image/png",1)).attr(h).add(t.group))}t.isDirtyCanvas=!1}else(e.width!==l||e.height!==n)&&e.attr(h)}else(s.enabled||t._hasPointMarkers)&&(_.prototype.drawPoints.call(t),t.points.forEach(e=>{e.graphic&&(e.graphic[t.chart.styledMode?"css":"animate"](t.colorAttribs(e)),null===e.value&&e.graphic.addClass("highcharts-null-point"))}))}getSymbol(){this.symbol=this.options.marker?.symbol||"rect"}getExtremes(){let{dataMin:t,dataMax:e}=_.prototype.getExtremes.call(this,this.getColumn("value"));return(0,g.isNumber)(t)&&(this.valueMin=t),(0,g.isNumber)(e)&&(this.valueMax=e),_.prototype.getExtremes.call(this)}getValidPoints(t,e){return _.prototype.getValidPoints.call(this,t,e,!0)}hasData(){return!!this.dataTable.rowCount}init(){super.init.apply(this,arguments);let t=this.options;t.pointRange=t.pointRange??(t.colsize||1),this.yAxis.axisPointRange=t.rowsize||1,X.ellipse=X.circle,t.marker&&(0,g.isNumber)(t.borderRadius)&&(t.marker.r=t.borderRadius);let e=this.canvas=document.createElement("canvas");e&&(this.context=e?.getContext("webgpu"))}markerAttribs(t,e){let i=t.shapeArgs||{};if(t.hasImage)return{x:t.plotX,y:t.plotY};if(e&&"normal"!==e){let s=t.options.marker||{},o=this.options.marker||{},r=o.states?.[e]||{},l=s.states?.[e]||{},a=(l.width||r.width||i.width||0)+(l.widthPlus||r.widthPlus||0),n=(l.height||r.height||i.height||0)+(l.heightPlus||r.heightPlus||0);return{x:(i.x||0)+((i.width||0)-a)/2,y:(i.y||0)+((i.height||0)-n)/2,width:a,height:n}}return i}pointAttribs(t,e){let i=_.prototype.pointAttribs.call(this,t,e),s=this.options||{},o=this.chart.options.plotOptions||{},r=o.series||{},l=o.heatmap||{},a=t?.options.borderColor||s.borderColor||l.borderColor||r.borderColor,n=t?.options.borderWidth||s.borderWidth||l.borderWidth||r.borderWidth||i["stroke-width"];if(i.stroke=t?.marker?.lineColor||s.marker?.lineColor||a||this.color,i["stroke-width"]=n,e&&"normal"!==e){let o=(0,g.merge)(s.states?.[e],s.marker?.states?.[e],t?.options.marker?.states?.[e]||{});i.fill=o.color||b().parse(i.fill).brighten(o.brightness||0).get(),i.stroke=o.lineColor||i.stroke}return i}translate(){let{borderRadius:t,marker:e}=this.options,i=e?.symbol||"rect",s=X[i]?i:"rect",o=-1!==["circle","square"].indexOf(s);for(let e of(this.generatePoints(),this.points)){let r=e.getCellAttributes(),l=Math.min(r.x1,r.x2),a=Math.min(r.y1,r.y2),n=Math.max(Math.abs(r.x2-r.x1),0),h=Math.max(Math.abs(r.y2-r.y1),0);if(e.hasImage=0===(e.marker?.symbol||i||"").indexOf("url"),o){let t=Math.abs(n-h);l=Math.min(r.x1,r.x2)+(n<h?0:t/2),a=Math.min(r.y1,r.y2)+(n<h?t/2:0),n=h=Math.min(n,h)}e.hasImage&&(e.marker={width:n,height:h}),e.plotX=e.clientX=(r.x1+r.x2)/2,e.plotY=(r.y1+r.y2)/2,e.shapeType="path",e.shapeArgs=(0,g.merge)(!0,{x:l,y:a,width:n,height:h},{d:X[s](l,a,n,h,{r:(0,g.isNumber)(t)?t:0})})}(0,g.fireEvent)(this,"afterTranslate")}}Y.defaultOptions=(0,g.merge)(j.defaultOptions,{animation:!1,borderRadius:0,borderWidth:0,interpolation:!1,nullColor:"var(--highcharts-neutral-color-3)",dataLabels:{formatter:function(){let{numberFormatter:t}=this.series.chart,{value:e}=this.point;return(0,g.isNumber)(e)?t(e,-1):""},inside:!0,verticalAlign:"middle",crop:!1,overflow:"allow",padding:0},marker:{radius:0,lineColor:void 0,states:{hover:{lineWidthPlus:0},select:{}}},clip:!0,pointRange:null,tooltip:{pointFormat:"{point.x}, {point.y}: {point.value}<br/>"},states:{hover:{halo:!1,brightness:.2}},legendSymbol:"rectangle"}),(0,g.addEvent)(Y,"afterDataClassLegendClick",function(){this.isDirtyCanvas=!0,this.drawPoints(),this.options.enableMouseTracking&&this.drawTracker()}),(0,g.extend)(Y.prototype,{axisTypes:H.seriesMembers.axisTypes,colorKey:H.seriesMembers.colorKey,directTouch:!0,getExtremesFromAll:!0,keysAffectYAxis:["y"],parallelArrays:H.seriesMembers.parallelArrays,pointArrayMap:["y","value"],pointClass:G,specialGroup:"group",trackerGroups:H.seriesMembers.trackerGroups,alignDataLabel:K.prototype.alignDataLabel,colorAttribs:H.seriesMembers.colorAttribs}),H.compose(Y),k().registerSeriesType("heatmap",Y);let B=m();return u.default})());
|
package/modules/heatmap.src.d.ts
CHANGED
|
@@ -28,17 +28,5 @@ declare module "../highcharts.src" {
|
|
|
28
28
|
*/
|
|
29
29
|
value?: (number|null);
|
|
30
30
|
}
|
|
31
|
-
/**
|
|
32
|
-
* Find color of point based on color axis.
|
|
33
|
-
*
|
|
34
|
-
* @param value
|
|
35
|
-
* Value to find corresponding color on the color axis.
|
|
36
|
-
*
|
|
37
|
-
* @param point
|
|
38
|
-
* Point to find it's color from color axis.
|
|
39
|
-
*
|
|
40
|
-
* @return Color in RGBa array.
|
|
41
|
-
*/
|
|
42
|
-
function colorFromPoint(value: (number|null), point: Point): Array<number>;
|
|
43
31
|
}
|
|
44
32
|
export default _Highcharts;
|
package/modules/heatmap.src.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// SPDX-License-Identifier: LicenseRef-Highcharts
|
|
2
2
|
/**
|
|
3
|
-
* @license Highmaps JS v13.0.
|
|
3
|
+
* @license Highmaps JS v13.0.2 (2026-08-27)
|
|
4
4
|
* @module highcharts/modules/heatmap
|
|
5
5
|
* @requires highcharts
|
|
6
6
|
*
|
|
@@ -535,7 +535,7 @@ var ColorAxisComposition;
|
|
|
535
535
|
series.bindAxes();
|
|
536
536
|
series.isDirtyData = true;
|
|
537
537
|
});
|
|
538
|
-
if (
|
|
538
|
+
if (options.redraw ?? true) {
|
|
539
539
|
chart.redraw(options.animation);
|
|
540
540
|
}
|
|
541
541
|
return axis;
|
|
@@ -1313,10 +1313,8 @@ class ColorAxis extends (highcharts_Axis_commonjs_highcharts_Axis_commonjs2_high
|
|
|
1313
1313
|
* @internal
|
|
1314
1314
|
*/
|
|
1315
1315
|
drawLegendSymbol(legend, item) {
|
|
1316
|
-
const axis = this, legendItem = item.legendItem || {}, padding = legend.padding, legendOptions = legend.options, labelOptions = axis.options.labels, itemDistance = (
|
|
1317
|
-
|
|
1318
|
-
// vertical
|
|
1319
|
-
legendOptions.labelPadding, horiz ? 16 : 30);
|
|
1316
|
+
const axis = this, legendItem = item.legendItem || {}, padding = legend.padding, legendOptions = legend.options, labelOptions = axis.options.labels, itemDistance = (legendOptions.itemDistance ?? 10), horiz = axis.horiz, { width, height } = axis.getSize(), labelPadding = legendOptions.labelPadding ??
|
|
1317
|
+
(horiz ? 16 : 30);
|
|
1320
1318
|
this.setLegendColor();
|
|
1321
1319
|
let titleHeight = 0;
|
|
1322
1320
|
let titleWidth = 0;
|
|
@@ -1418,7 +1416,12 @@ class ColorAxis extends (highcharts_Axis_commonjs_highcharts_Axis_commonjs2_high
|
|
|
1418
1416
|
this.dataMax = -Infinity;
|
|
1419
1417
|
while (i--) { // X, y, value, other
|
|
1420
1418
|
cSeries = series[i];
|
|
1421
|
-
colorKey = cSeries.colorKey =
|
|
1419
|
+
colorKey = cSeries.colorKey =
|
|
1420
|
+
cSeries.options.colorKey ??
|
|
1421
|
+
cSeries.colorKey ??
|
|
1422
|
+
cSeries.pointValKey ??
|
|
1423
|
+
cSeries.zoneAxis ??
|
|
1424
|
+
'y';
|
|
1422
1425
|
calculatedExtremes = cSeries[colorKey + 'Min'] &&
|
|
1423
1426
|
cSeries[colorKey + 'Max'];
|
|
1424
1427
|
// Find the first column that has values
|
|
@@ -1605,7 +1608,7 @@ class ColorAxis extends (highcharts_Axis_commonjs_highcharts_Axis_commonjs2_high
|
|
|
1605
1608
|
getDataClassLegendSymbols() {
|
|
1606
1609
|
const axis = this, chart = axis.chart, legendItems = (axis.legendItem &&
|
|
1607
1610
|
axis.legendItem.labels ||
|
|
1608
|
-
[]), legendOptions = chart.options.legend, valueDecimals = (
|
|
1611
|
+
[]), legendOptions = chart.options.legend, valueDecimals = (legendOptions.valueDecimals ?? -1), valueSuffix = (legendOptions.valueSuffix ?? '');
|
|
1609
1612
|
const getPointsInDataClass = (i) => axis.series.reduce((points, s) => {
|
|
1610
1613
|
points.push(...s.points.filter((point) => point.dataClass === i));
|
|
1611
1614
|
return points;
|
|
@@ -1675,9 +1678,13 @@ class ColorAxis extends (highcharts_Axis_commonjs_highcharts_Axis_commonjs2_high
|
|
|
1675
1678
|
* @internal
|
|
1676
1679
|
*/
|
|
1677
1680
|
getSize() {
|
|
1678
|
-
const axis = this, { chart, horiz } = axis, { height: colorAxisHeight, width: colorAxisWidth } = axis.options, { legend: legendOptions } = chart.options, width = (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.
|
|
1679
|
-
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.relativeLength)(colorAxisWidth, chart.chartWidth) :
|
|
1680
|
-
(
|
|
1681
|
+
const axis = this, { chart, horiz } = axis, { height: colorAxisHeight, width: colorAxisWidth } = axis.options, { legend: legendOptions } = chart.options, width = (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.defined)(colorAxisWidth) ?
|
|
1682
|
+
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.relativeLength)(colorAxisWidth, chart.chartWidth) :
|
|
1683
|
+
(legendOptions?.symbolWidth ??
|
|
1684
|
+
(horiz ? ColorAxis.defaultLegendLength : 12)), height = (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.defined)(colorAxisHeight) ?
|
|
1685
|
+
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.relativeLength)(colorAxisHeight, chart.chartHeight) :
|
|
1686
|
+
(legendOptions?.symbolHeight ??
|
|
1687
|
+
(horiz ? 12 : ColorAxis.defaultLegendLength));
|
|
1681
1688
|
return {
|
|
1682
1689
|
width,
|
|
1683
1690
|
height
|
|
@@ -1725,7 +1732,7 @@ Array.prototype.push.apply((highcharts_Axis_commonjs_highcharts_Axis_commonjs2_h
|
|
|
1725
1732
|
/* unused harmony import specifier */ var Highcharts;
|
|
1726
1733
|
// SPDX-License-Identifier: LicenseRef-Highcharts
|
|
1727
1734
|
/**
|
|
1728
|
-
* @license Highcharts JS v13.0.
|
|
1735
|
+
* @license Highcharts JS v13.0.2 (2026-08-27)
|
|
1729
1736
|
* @module highcharts/modules/color-axis
|
|
1730
1737
|
* @requires highcharts
|
|
1731
1738
|
*
|
|
@@ -1907,7 +1914,7 @@ class HeatmapPoint extends ScatterPoint {
|
|
|
1907
1914
|
* Functions
|
|
1908
1915
|
*
|
|
1909
1916
|
* */
|
|
1910
|
-
/** @
|
|
1917
|
+
/** @internal */
|
|
1911
1918
|
applyOptions(options, x) {
|
|
1912
1919
|
// #17970, if point is null remove its color, because it may be updated
|
|
1913
1920
|
if (this.isNull || this.value === null) {
|
|
@@ -1918,10 +1925,10 @@ class HeatmapPoint extends ScatterPoint {
|
|
|
1918
1925
|
'null' : 'point';
|
|
1919
1926
|
return this;
|
|
1920
1927
|
}
|
|
1921
|
-
/** @
|
|
1928
|
+
/** @internal */
|
|
1922
1929
|
getCellAttributes() {
|
|
1923
1930
|
const point = this, series = point.series, seriesOptions = series.options, xPad = (seriesOptions.colsize || 1) / 2, yPad = (seriesOptions.rowsize || 1) / 2, xAxis = series.xAxis, yAxis = series.yAxis, markerOptions = point.options.marker || series.options.marker, pointPlacement = series.pointPlacementToXValue(), // #7860
|
|
1924
|
-
pointPadding =
|
|
1931
|
+
pointPadding = point.pointPadding ?? seriesOptions.pointPadding ?? 0, cellAttr = {
|
|
1925
1932
|
x1: (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.clamp)(Math.round(xAxis.len -
|
|
1926
1933
|
xAxis.translate(point.x - xPad, false, true, false, true, -pointPlacement)), -xAxis.len, 2 * xAxis.len),
|
|
1927
1934
|
x2: (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.clamp)(Math.round(xAxis.len -
|
|
@@ -1956,7 +1963,7 @@ class HeatmapPoint extends ScatterPoint {
|
|
|
1956
1963
|
return cellAttr;
|
|
1957
1964
|
}
|
|
1958
1965
|
/**
|
|
1959
|
-
* @
|
|
1966
|
+
* @internal
|
|
1960
1967
|
*/
|
|
1961
1968
|
haloPath(size) {
|
|
1962
1969
|
if (!size) {
|
|
@@ -1974,7 +1981,7 @@ class HeatmapPoint extends ScatterPoint {
|
|
|
1974
1981
|
/**
|
|
1975
1982
|
* Color points have a value option that determines whether or not it is
|
|
1976
1983
|
* a null point
|
|
1977
|
-
* @
|
|
1984
|
+
* @internal
|
|
1978
1985
|
*/
|
|
1979
1986
|
isValid() {
|
|
1980
1987
|
// Undefined is allowed
|
|
@@ -2664,7 +2671,7 @@ const { doc } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highch
|
|
|
2664
2671
|
/**
|
|
2665
2672
|
* Find color of point based on color axis.
|
|
2666
2673
|
*
|
|
2667
|
-
* @
|
|
2674
|
+
* @internal
|
|
2668
2675
|
*
|
|
2669
2676
|
* @param {number | null} value
|
|
2670
2677
|
* Value to find corresponding color on the color axis.
|
|
@@ -2682,8 +2689,8 @@ function colorFromPoint(value, point) {
|
|
|
2682
2689
|
.split(')')[0]
|
|
2683
2690
|
.split('(')[1]
|
|
2684
2691
|
.split(',')
|
|
2685
|
-
.map((s) => (
|
|
2686
|
-
rgba[3] = (
|
|
2692
|
+
.map((s) => (parseFloat(s) ?? parseInt(s, 10))));
|
|
2693
|
+
rgba[3] = (rgba[3] ?? 1.0) * 255;
|
|
2687
2694
|
if (!(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.defined)(value) || !point.visible) {
|
|
2688
2695
|
rgba[3] = 0;
|
|
2689
2696
|
}
|
|
@@ -2693,7 +2700,7 @@ function colorFromPoint(value, point) {
|
|
|
2693
2700
|
}
|
|
2694
2701
|
/**
|
|
2695
2702
|
* Method responsible for creating a canvas for interpolation image.
|
|
2696
|
-
* @
|
|
2703
|
+
* @internal
|
|
2697
2704
|
*/
|
|
2698
2705
|
function getContext(series) {
|
|
2699
2706
|
const { canvas, context } = series;
|
|
@@ -2746,7 +2753,7 @@ const { colorFromPoint: HeatmapSeries_colorFromPoint, getContext: HeatmapSeries_
|
|
|
2746
2753
|
*
|
|
2747
2754
|
* */
|
|
2748
2755
|
/**
|
|
2749
|
-
* @
|
|
2756
|
+
* @internal
|
|
2750
2757
|
* @class
|
|
2751
2758
|
* @name Highcharts.seriesTypes.heatmap
|
|
2752
2759
|
*
|
|
@@ -2770,7 +2777,7 @@ class HeatmapSeries extends ScatterSeries {
|
|
|
2770
2777
|
*
|
|
2771
2778
|
* */
|
|
2772
2779
|
/**
|
|
2773
|
-
* @
|
|
2780
|
+
* @internal
|
|
2774
2781
|
*/
|
|
2775
2782
|
drawPoints() {
|
|
2776
2783
|
const series = this, seriesOptions = series.options, interpolation = seriesOptions.interpolation, seriesMarkerOptions = seriesOptions.marker || {};
|
|
@@ -2829,13 +2836,13 @@ class HeatmapSeries extends ScatterSeries {
|
|
|
2829
2836
|
}
|
|
2830
2837
|
/**
|
|
2831
2838
|
* Override to use rectangle by default
|
|
2832
|
-
* @
|
|
2839
|
+
* @internal
|
|
2833
2840
|
*/
|
|
2834
2841
|
getSymbol() {
|
|
2835
2842
|
this.symbol = this.options.marker?.symbol || 'rect';
|
|
2836
2843
|
}
|
|
2837
2844
|
/**
|
|
2838
|
-
* @
|
|
2845
|
+
* @internal
|
|
2839
2846
|
*/
|
|
2840
2847
|
getExtremes() {
|
|
2841
2848
|
// Get the extremes from the value data
|
|
@@ -2853,7 +2860,7 @@ class HeatmapSeries extends ScatterSeries {
|
|
|
2853
2860
|
/**
|
|
2854
2861
|
* Override to also allow null points, used when building the k-d-tree for
|
|
2855
2862
|
* tooltips in boost mode.
|
|
2856
|
-
* @
|
|
2863
|
+
* @internal
|
|
2857
2864
|
*/
|
|
2858
2865
|
getValidPoints(points, insideOnly) {
|
|
2859
2866
|
return HeatmapSeries_Series.prototype.getValidPoints.call(this, points, insideOnly, true);
|
|
@@ -2861,20 +2868,20 @@ class HeatmapSeries extends ScatterSeries {
|
|
|
2861
2868
|
/**
|
|
2862
2869
|
* Define hasData function for non-cartesian series. Returns true if the
|
|
2863
2870
|
* series has points at all.
|
|
2864
|
-
* @
|
|
2871
|
+
* @internal
|
|
2865
2872
|
*/
|
|
2866
2873
|
hasData() {
|
|
2867
2874
|
return !!this.dataTable.rowCount;
|
|
2868
2875
|
}
|
|
2869
2876
|
/**
|
|
2870
2877
|
* Override the init method to add point ranges on both axes.
|
|
2871
|
-
* @
|
|
2878
|
+
* @internal
|
|
2872
2879
|
*/
|
|
2873
2880
|
init() {
|
|
2874
2881
|
super.init.apply(this, arguments);
|
|
2875
2882
|
const options = this.options;
|
|
2876
2883
|
// #3758, prevent resetting in setData
|
|
2877
|
-
options.pointRange =
|
|
2884
|
+
options.pointRange = options.pointRange ?? (options.colsize || 1);
|
|
2878
2885
|
// General point range
|
|
2879
2886
|
this.yAxis.axisPointRange = options.rowsize || 1;
|
|
2880
2887
|
// Bind new symbol names
|
|
@@ -2897,7 +2904,7 @@ class HeatmapSeries extends ScatterSeries {
|
|
|
2897
2904
|
}
|
|
2898
2905
|
}
|
|
2899
2906
|
/**
|
|
2900
|
-
* @
|
|
2907
|
+
* @internal
|
|
2901
2908
|
*/
|
|
2902
2909
|
markerAttribs(point, state) {
|
|
2903
2910
|
const shapeArgs = point.shapeArgs || {};
|
|
@@ -2931,7 +2938,7 @@ class HeatmapSeries extends ScatterSeries {
|
|
|
2931
2938
|
return shapeArgs;
|
|
2932
2939
|
}
|
|
2933
2940
|
/**
|
|
2934
|
-
* @
|
|
2941
|
+
* @internal
|
|
2935
2942
|
*/
|
|
2936
2943
|
pointAttribs(point, state) {
|
|
2937
2944
|
const series = this, attr = HeatmapSeries_Series.prototype.pointAttribs.call(series, point, state), seriesOptions = series.options || {}, plotOptions = series.chart.options.plotOptions || {}, seriesPlotOptions = plotOptions.series || {}, heatmapPlotOptions = plotOptions.heatmap || {},
|
|
@@ -2961,7 +2968,7 @@ class HeatmapSeries extends ScatterSeries {
|
|
|
2961
2968
|
return attr;
|
|
2962
2969
|
}
|
|
2963
2970
|
/**
|
|
2964
|
-
* @
|
|
2971
|
+
* @internal
|
|
2965
2972
|
*/
|
|
2966
2973
|
translate() {
|
|
2967
2974
|
const series = this, options = series.options, { borderRadius, marker } = options, symbol = marker?.symbol || 'rect', shape = symbols[symbol] ? symbol : 'rect', hasRegularShape = ['circle', 'square'].indexOf(shape) !== -1;
|
|
@@ -3013,7 +3020,7 @@ HeatmapSeries.defaultOptions = (0,highcharts_commonjs_highcharts_commonjs2_highc
|
|
|
3013
3020
|
specialGroup: 'group',
|
|
3014
3021
|
trackerGroups: Series_ColorMapComposition.seriesMembers.trackerGroups,
|
|
3015
3022
|
/**
|
|
3016
|
-
* @
|
|
3023
|
+
* @internal
|
|
3017
3024
|
*/
|
|
3018
3025
|
alignDataLabel: ColumnSeries.prototype.alignDataLabel,
|
|
3019
3026
|
colorAttribs: Series_ColorMapComposition.seriesMembers.colorAttribs
|
package/modules/heikinashi.js
CHANGED