@ntlab/ntjs-assets 2.0.37 → 2.0.39
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/assets/js/DataTables/DataTables/js/dataTables.js +26 -9
- package/assets/js/DataTables/DataTables/js/dataTables.min.js +2 -2
- package/assets/js/cdn.json +2 -2
- package/assets/js/highcharts/es-modules/Accessibility/Accessibility.js +15 -3
- package/assets/js/highcharts/es-modules/Accessibility/AccessibilityComponent.js +38 -30
- package/assets/js/highcharts/es-modules/Core/Axis/Axis.js +15 -12
- package/assets/js/highcharts/es-modules/Core/Axis/AxisDefaults.js +4 -2
- package/assets/js/highcharts/es-modules/Core/Axis/DateTimeAxis.js +3 -3
- package/assets/js/highcharts/es-modules/Core/Axis/GridAxis.js +2 -2
- package/assets/js/highcharts/es-modules/Core/Axis/LogarithmicAxis.js +5 -10
- package/assets/js/highcharts/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +54 -13
- package/assets/js/highcharts/es-modules/Core/Axis/ScrollbarAxis.js +12 -2
- package/assets/js/highcharts/es-modules/Core/Axis/Tick.js +1 -1
- package/assets/js/highcharts/es-modules/Core/Axis/TreeGrid/TreeGridAxis.js +6 -9
- package/assets/js/highcharts/es-modules/Core/Axis/TreeGrid/TreeGridTick.js +2 -2
- package/assets/js/highcharts/es-modules/Core/Chart/Chart.js +30 -8
- package/assets/js/highcharts/es-modules/Core/Color/Color.js +1 -0
- package/assets/js/highcharts/es-modules/Core/Defaults.js +9 -7
- package/assets/js/highcharts/es-modules/Core/Legend/LegendSymbol.js +1 -1
- package/assets/js/highcharts/es-modules/Core/Renderer/SVG/SVGRenderer.js +1 -0
- package/assets/js/highcharts/es-modules/Core/Series/DataLabel.js +9 -0
- package/assets/js/highcharts/es-modules/Core/Series/Series.js +1 -1
- package/assets/js/highcharts/es-modules/Core/Tooltip.js +9 -0
- package/assets/js/highcharts/es-modules/Extensions/Annotations/Annotation.js +4 -0
- package/assets/js/highcharts/es-modules/Extensions/Boost/BoostSeries.js +2 -0
- package/assets/js/highcharts/es-modules/Extensions/Data.js +125 -98
- package/assets/js/highcharts/es-modules/Extensions/Exporting/Exporting.js +5 -1
- package/assets/js/highcharts/es-modules/Extensions/OfflineExporting/OfflineExporting.js +4 -1
- package/assets/js/highcharts/es-modules/Maps/GeoJSONComposition.js +0 -5
- package/assets/js/highcharts/es-modules/Series/Funnel3D/Funnel3DSeries.js +1 -0
- package/assets/js/highcharts/es-modules/Series/MapBubble/MapBubbleSeries.js +3 -3
- package/assets/js/highcharts/es-modules/Series/Pictorial/PictorialSeries.js +2 -1
- package/assets/js/highcharts/es-modules/Series/Pyramid3D/Pyramid3DSeries.js +1 -0
- package/assets/js/highcharts/es-modules/Series/Treegraph/TreegraphSeries.js +1 -1
- package/assets/js/highcharts/es-modules/Stock/Navigator/Navigator.js +7 -2
- package/assets/js/highcharts/es-modules/masters/highcharts.src.js +1 -1
- package/assets/js/highcharts/highcharts-3d.js +1 -1
- package/assets/js/highcharts/highcharts-3d.src.js +1 -1
- package/assets/js/highcharts/highcharts-gantt.js +3 -3
- package/assets/js/highcharts/highcharts-gantt.src.js +176 -79
- package/assets/js/highcharts/highcharts-more.js +1 -1
- package/assets/js/highcharts/highcharts-more.src.js +1 -1
- package/assets/js/highcharts/highcharts.js +3 -3
- package/assets/js/highcharts/highcharts.src.js +147 -62
- package/assets/js/highcharts/highmaps.js +3 -3
- package/assets/js/highcharts/highmaps.src.js +150 -70
- package/assets/js/highcharts/highstock.js +3 -3
- package/assets/js/highcharts/highstock.src.js +166 -66
- package/assets/js/highcharts/indicators/acceleration-bands.js +1 -1
- package/assets/js/highcharts/indicators/acceleration-bands.src.js +1 -1
- package/assets/js/highcharts/indicators/accumulation-distribution.js +1 -1
- package/assets/js/highcharts/indicators/accumulation-distribution.src.js +1 -1
- package/assets/js/highcharts/indicators/ao.js +1 -1
- package/assets/js/highcharts/indicators/ao.src.js +1 -1
- package/assets/js/highcharts/indicators/apo.js +1 -1
- package/assets/js/highcharts/indicators/apo.src.js +1 -1
- package/assets/js/highcharts/indicators/aroon-oscillator.js +1 -1
- package/assets/js/highcharts/indicators/aroon-oscillator.src.js +1 -1
- package/assets/js/highcharts/indicators/aroon.js +1 -1
- package/assets/js/highcharts/indicators/aroon.src.js +1 -1
- package/assets/js/highcharts/indicators/atr.js +1 -1
- package/assets/js/highcharts/indicators/atr.src.js +1 -1
- package/assets/js/highcharts/indicators/bollinger-bands.js +1 -1
- package/assets/js/highcharts/indicators/bollinger-bands.src.js +1 -1
- package/assets/js/highcharts/indicators/cci.js +1 -1
- package/assets/js/highcharts/indicators/cci.src.js +1 -1
- package/assets/js/highcharts/indicators/chaikin.js +1 -1
- package/assets/js/highcharts/indicators/chaikin.src.js +1 -1
- package/assets/js/highcharts/indicators/cmf.js +1 -1
- package/assets/js/highcharts/indicators/cmf.src.js +1 -1
- package/assets/js/highcharts/indicators/cmo.js +1 -1
- package/assets/js/highcharts/indicators/cmo.src.js +1 -1
- package/assets/js/highcharts/indicators/dema.js +1 -1
- package/assets/js/highcharts/indicators/dema.src.js +1 -1
- package/assets/js/highcharts/indicators/disparity-index.js +1 -1
- package/assets/js/highcharts/indicators/disparity-index.src.js +1 -1
- package/assets/js/highcharts/indicators/dmi.js +1 -1
- package/assets/js/highcharts/indicators/dmi.src.js +1 -1
- package/assets/js/highcharts/indicators/dpo.js +1 -1
- package/assets/js/highcharts/indicators/dpo.src.js +1 -1
- package/assets/js/highcharts/indicators/ichimoku-kinko-hyo.js +1 -1
- package/assets/js/highcharts/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/assets/js/highcharts/indicators/indicators-all.js +1 -1
- package/assets/js/highcharts/indicators/indicators-all.src.js +1 -1
- package/assets/js/highcharts/indicators/indicators.js +1 -1
- package/assets/js/highcharts/indicators/indicators.src.js +1 -1
- package/assets/js/highcharts/indicators/keltner-channels.js +1 -1
- package/assets/js/highcharts/indicators/keltner-channels.src.js +1 -1
- package/assets/js/highcharts/indicators/klinger.js +1 -1
- package/assets/js/highcharts/indicators/klinger.src.js +1 -1
- package/assets/js/highcharts/indicators/macd.js +1 -1
- package/assets/js/highcharts/indicators/macd.src.js +1 -1
- package/assets/js/highcharts/indicators/mfi.js +1 -1
- package/assets/js/highcharts/indicators/mfi.src.js +1 -1
- package/assets/js/highcharts/indicators/momentum.js +1 -1
- package/assets/js/highcharts/indicators/momentum.src.js +1 -1
- package/assets/js/highcharts/indicators/natr.js +1 -1
- package/assets/js/highcharts/indicators/natr.src.js +1 -1
- package/assets/js/highcharts/indicators/obv.js +1 -1
- package/assets/js/highcharts/indicators/obv.src.js +1 -1
- package/assets/js/highcharts/indicators/pivot-points.js +1 -1
- package/assets/js/highcharts/indicators/pivot-points.src.js +1 -1
- package/assets/js/highcharts/indicators/ppo.js +1 -1
- package/assets/js/highcharts/indicators/ppo.src.js +1 -1
- package/assets/js/highcharts/indicators/price-channel.js +1 -1
- package/assets/js/highcharts/indicators/price-channel.src.js +1 -1
- package/assets/js/highcharts/indicators/price-envelopes.js +1 -1
- package/assets/js/highcharts/indicators/price-envelopes.src.js +1 -1
- package/assets/js/highcharts/indicators/psar.js +1 -1
- package/assets/js/highcharts/indicators/psar.src.js +1 -1
- package/assets/js/highcharts/indicators/regressions.js +1 -1
- package/assets/js/highcharts/indicators/regressions.src.js +1 -1
- package/assets/js/highcharts/indicators/roc.js +1 -1
- package/assets/js/highcharts/indicators/roc.src.js +1 -1
- package/assets/js/highcharts/indicators/rsi.js +1 -1
- package/assets/js/highcharts/indicators/rsi.src.js +1 -1
- package/assets/js/highcharts/indicators/slow-stochastic.js +1 -1
- package/assets/js/highcharts/indicators/slow-stochastic.src.js +1 -1
- package/assets/js/highcharts/indicators/stochastic.js +1 -1
- package/assets/js/highcharts/indicators/stochastic.src.js +1 -1
- package/assets/js/highcharts/indicators/supertrend.js +1 -1
- package/assets/js/highcharts/indicators/supertrend.src.js +1 -1
- package/assets/js/highcharts/indicators/tema.js +1 -1
- package/assets/js/highcharts/indicators/tema.src.js +1 -1
- package/assets/js/highcharts/indicators/trendline.js +1 -1
- package/assets/js/highcharts/indicators/trendline.src.js +1 -1
- package/assets/js/highcharts/indicators/trix.js +1 -1
- package/assets/js/highcharts/indicators/trix.src.js +1 -1
- package/assets/js/highcharts/indicators/volume-by-price.js +1 -1
- package/assets/js/highcharts/indicators/volume-by-price.src.js +1 -1
- package/assets/js/highcharts/indicators/vwap.js +1 -1
- package/assets/js/highcharts/indicators/vwap.src.js +1 -1
- package/assets/js/highcharts/indicators/williams-r.js +1 -1
- package/assets/js/highcharts/indicators/williams-r.src.js +1 -1
- package/assets/js/highcharts/indicators/wma.js +1 -1
- package/assets/js/highcharts/indicators/wma.src.js +1 -1
- package/assets/js/highcharts/indicators/zigzag.js +1 -1
- package/assets/js/highcharts/indicators/zigzag.src.js +1 -1
- package/assets/js/highcharts/modules/accessibility.js +2 -2
- package/assets/js/highcharts/modules/accessibility.src.js +74 -38
- package/assets/js/highcharts/modules/annotations-advanced.js +2 -2
- package/assets/js/highcharts/modules/annotations-advanced.src.js +7 -3
- package/assets/js/highcharts/modules/annotations.js +2 -2
- package/assets/js/highcharts/modules/annotations.src.js +7 -3
- package/assets/js/highcharts/modules/arc-diagram.js +2 -2
- package/assets/js/highcharts/modules/arc-diagram.src.js +5 -4
- package/assets/js/highcharts/modules/arrow-symbols.js +1 -1
- package/assets/js/highcharts/modules/arrow-symbols.src.js +1 -1
- package/assets/js/highcharts/modules/boost-canvas.js +2 -2
- package/assets/js/highcharts/modules/boost-canvas.src.js +3 -1
- package/assets/js/highcharts/modules/boost.js +2 -2
- package/assets/js/highcharts/modules/boost.src.js +3 -1
- package/assets/js/highcharts/modules/broken-axis.js +1 -1
- package/assets/js/highcharts/modules/broken-axis.src.js +1 -1
- package/assets/js/highcharts/modules/bullet.js +1 -1
- package/assets/js/highcharts/modules/bullet.src.js +1 -1
- package/assets/js/highcharts/modules/coloraxis.js +1 -1
- package/assets/js/highcharts/modules/coloraxis.src.js +1 -1
- package/assets/js/highcharts/modules/current-date-indicator.js +1 -1
- package/assets/js/highcharts/modules/current-date-indicator.src.js +1 -1
- package/assets/js/highcharts/modules/cylinder.js +1 -1
- package/assets/js/highcharts/modules/cylinder.src.js +1 -1
- package/assets/js/highcharts/modules/data-tools.js +1 -1
- package/assets/js/highcharts/modules/data-tools.src.js +1 -1
- package/assets/js/highcharts/modules/data.js +2 -2
- package/assets/js/highcharts/modules/data.src.js +126 -100
- package/assets/js/highcharts/modules/datagrouping.js +1 -1
- package/assets/js/highcharts/modules/datagrouping.src.js +1 -1
- package/assets/js/highcharts/modules/debugger.js +1 -1
- package/assets/js/highcharts/modules/debugger.src.js +1 -1
- package/assets/js/highcharts/modules/dependency-wheel.js +1 -1
- package/assets/js/highcharts/modules/dependency-wheel.src.js +1 -1
- package/assets/js/highcharts/modules/dotplot.js +1 -1
- package/assets/js/highcharts/modules/dotplot.src.js +1 -1
- package/assets/js/highcharts/modules/drag-panes.js +1 -1
- package/assets/js/highcharts/modules/drag-panes.src.js +1 -1
- package/assets/js/highcharts/modules/draggable-points.js +1 -1
- package/assets/js/highcharts/modules/draggable-points.src.js +1 -1
- package/assets/js/highcharts/modules/drilldown.js +1 -1
- package/assets/js/highcharts/modules/drilldown.src.js +1 -1
- package/assets/js/highcharts/modules/dumbbell.js +1 -1
- package/assets/js/highcharts/modules/dumbbell.src.js +1 -1
- package/assets/js/highcharts/modules/export-data.js +1 -1
- package/assets/js/highcharts/modules/export-data.src.js +1 -1
- package/assets/js/highcharts/modules/exporting.js +2 -2
- package/assets/js/highcharts/modules/exporting.src.js +6 -2
- package/assets/js/highcharts/modules/flowmap.js +1 -1
- package/assets/js/highcharts/modules/flowmap.src.js +1 -1
- package/assets/js/highcharts/modules/full-screen.js +1 -1
- package/assets/js/highcharts/modules/full-screen.src.js +1 -1
- package/assets/js/highcharts/modules/funnel.js +1 -1
- package/assets/js/highcharts/modules/funnel.src.js +1 -1
- package/assets/js/highcharts/modules/funnel3d.js +1 -1
- package/assets/js/highcharts/modules/funnel3d.src.js +2 -1
- package/assets/js/highcharts/modules/gantt.js +2 -2
- package/assets/js/highcharts/modules/gantt.src.js +30 -18
- package/assets/js/highcharts/modules/geoheatmap.js +1 -1
- package/assets/js/highcharts/modules/geoheatmap.src.js +1 -1
- package/assets/js/highcharts/modules/grid-axis.js +2 -2
- package/assets/js/highcharts/modules/grid-axis.src.js +3 -3
- package/assets/js/highcharts/modules/heatmap.js +1 -1
- package/assets/js/highcharts/modules/heatmap.src.js +1 -1
- package/assets/js/highcharts/modules/heikinashi.js +1 -1
- package/assets/js/highcharts/modules/heikinashi.src.js +1 -1
- package/assets/js/highcharts/modules/histogram-bellcurve.js +1 -1
- package/assets/js/highcharts/modules/histogram-bellcurve.src.js +1 -1
- package/assets/js/highcharts/modules/hollowcandlestick.js +1 -1
- package/assets/js/highcharts/modules/hollowcandlestick.src.js +1 -1
- package/assets/js/highcharts/modules/item-series.js +1 -1
- package/assets/js/highcharts/modules/item-series.src.js +1 -1
- package/assets/js/highcharts/modules/lollipop.js +1 -1
- package/assets/js/highcharts/modules/lollipop.src.js +1 -1
- package/assets/js/highcharts/modules/map.js +2 -2
- package/assets/js/highcharts/modules/map.src.js +4 -9
- package/assets/js/highcharts/modules/marker-clusters.js +1 -1
- package/assets/js/highcharts/modules/marker-clusters.src.js +1 -1
- package/assets/js/highcharts/modules/mouse-wheel-zoom.js +1 -1
- package/assets/js/highcharts/modules/mouse-wheel-zoom.src.js +1 -1
- package/assets/js/highcharts/modules/navigator.js +2 -2
- package/assets/js/highcharts/modules/navigator.src.js +20 -5
- package/assets/js/highcharts/modules/networkgraph.js +1 -1
- package/assets/js/highcharts/modules/networkgraph.src.js +1 -1
- package/assets/js/highcharts/modules/no-data-to-display.js +1 -1
- package/assets/js/highcharts/modules/no-data-to-display.src.js +1 -1
- package/assets/js/highcharts/modules/offline-exporting.js +2 -2
- package/assets/js/highcharts/modules/offline-exporting.src.js +6 -3
- package/assets/js/highcharts/modules/organization.js +1 -1
- package/assets/js/highcharts/modules/organization.src.js +1 -1
- package/assets/js/highcharts/modules/overlapping-datalabels.js +1 -1
- package/assets/js/highcharts/modules/overlapping-datalabels.src.js +1 -1
- package/assets/js/highcharts/modules/parallel-coordinates.js +1 -1
- package/assets/js/highcharts/modules/parallel-coordinates.src.js +1 -1
- package/assets/js/highcharts/modules/pareto.js +1 -1
- package/assets/js/highcharts/modules/pareto.src.js +1 -1
- package/assets/js/highcharts/modules/pathfinder.js +1 -1
- package/assets/js/highcharts/modules/pathfinder.src.js +1 -1
- package/assets/js/highcharts/modules/pattern-fill.js +1 -1
- package/assets/js/highcharts/modules/pattern-fill.src.js +1 -1
- package/assets/js/highcharts/modules/pictorial.js +1 -1
- package/assets/js/highcharts/modules/pictorial.src.js +3 -2
- package/assets/js/highcharts/modules/price-indicator.js +1 -1
- package/assets/js/highcharts/modules/price-indicator.src.js +1 -1
- package/assets/js/highcharts/modules/pyramid3d.js +1 -1
- package/assets/js/highcharts/modules/pyramid3d.src.js +2 -1
- package/assets/js/highcharts/modules/sankey.js +1 -1
- package/assets/js/highcharts/modules/sankey.src.js +1 -1
- package/assets/js/highcharts/modules/series-label.js +1 -1
- package/assets/js/highcharts/modules/series-label.src.js +1 -1
- package/assets/js/highcharts/modules/series-on-point.js +1 -1
- package/assets/js/highcharts/modules/series-on-point.src.js +1 -1
- package/assets/js/highcharts/modules/solid-gauge.js +1 -1
- package/assets/js/highcharts/modules/solid-gauge.src.js +1 -1
- package/assets/js/highcharts/modules/sonification.js +1 -1
- package/assets/js/highcharts/modules/sonification.src.js +1 -1
- package/assets/js/highcharts/modules/static-scale.js +1 -1
- package/assets/js/highcharts/modules/static-scale.src.js +1 -1
- package/assets/js/highcharts/modules/stock-tools.js +2 -2
- package/assets/js/highcharts/modules/stock-tools.src.js +3 -3
- package/assets/js/highcharts/modules/stock.js +2 -2
- package/assets/js/highcharts/modules/stock.src.js +20 -5
- package/assets/js/highcharts/modules/streamgraph.js +1 -1
- package/assets/js/highcharts/modules/streamgraph.src.js +1 -1
- package/assets/js/highcharts/modules/sunburst.js +1 -1
- package/assets/js/highcharts/modules/sunburst.src.js +1 -1
- package/assets/js/highcharts/modules/textpath.js +1 -1
- package/assets/js/highcharts/modules/textpath.src.js +1 -1
- package/assets/js/highcharts/modules/tiledwebmap.js +1 -1
- package/assets/js/highcharts/modules/tiledwebmap.src.js +1 -1
- package/assets/js/highcharts/modules/tilemap.js +1 -1
- package/assets/js/highcharts/modules/tilemap.src.js +1 -1
- package/assets/js/highcharts/modules/timeline.js +1 -1
- package/assets/js/highcharts/modules/timeline.src.js +1 -1
- package/assets/js/highcharts/modules/treegraph.js +2 -2
- package/assets/js/highcharts/modules/treegraph.src.js +2 -2
- package/assets/js/highcharts/modules/treegrid.js +2 -2
- package/assets/js/highcharts/modules/treegrid.src.js +11 -14
- package/assets/js/highcharts/modules/treemap.js +1 -1
- package/assets/js/highcharts/modules/treemap.src.js +1 -1
- package/assets/js/highcharts/modules/variable-pie.js +1 -1
- package/assets/js/highcharts/modules/variable-pie.src.js +1 -1
- package/assets/js/highcharts/modules/variwide.js +1 -1
- package/assets/js/highcharts/modules/variwide.src.js +1 -1
- package/assets/js/highcharts/modules/vector.js +1 -1
- package/assets/js/highcharts/modules/vector.src.js +1 -1
- package/assets/js/highcharts/modules/venn.js +1 -1
- package/assets/js/highcharts/modules/venn.src.js +1 -1
- package/assets/js/highcharts/modules/windbarb.js +1 -1
- package/assets/js/highcharts/modules/windbarb.src.js +1 -1
- package/assets/js/highcharts/modules/wordcloud.js +1 -1
- package/assets/js/highcharts/modules/wordcloud.src.js +1 -1
- package/assets/js/highcharts/modules/xrange.js +1 -1
- package/assets/js/highcharts/modules/xrange.src.js +1 -1
- package/assets/js/highcharts/standalone-navigator.js +2 -2
- package/assets/js/highcharts/standalone-navigator.src.js +165 -65
- package/assets/js/highcharts/themes/avocado.js +1 -1
- package/assets/js/highcharts/themes/avocado.src.js +1 -1
- package/assets/js/highcharts/themes/brand-dark.js +1 -1
- package/assets/js/highcharts/themes/brand-dark.src.js +1 -1
- package/assets/js/highcharts/themes/brand-light.js +1 -1
- package/assets/js/highcharts/themes/brand-light.src.js +1 -1
- package/assets/js/highcharts/themes/dark-blue.js +1 -1
- package/assets/js/highcharts/themes/dark-blue.src.js +1 -1
- package/assets/js/highcharts/themes/dark-green.js +1 -1
- package/assets/js/highcharts/themes/dark-green.src.js +1 -1
- package/assets/js/highcharts/themes/dark-unica.js +1 -1
- package/assets/js/highcharts/themes/dark-unica.src.js +1 -1
- package/assets/js/highcharts/themes/gray.js +1 -1
- package/assets/js/highcharts/themes/gray.src.js +1 -1
- package/assets/js/highcharts/themes/grid-light.js +1 -1
- package/assets/js/highcharts/themes/grid-light.src.js +1 -1
- package/assets/js/highcharts/themes/grid.js +1 -1
- package/assets/js/highcharts/themes/grid.src.js +1 -1
- package/assets/js/highcharts/themes/high-contrast-dark.js +1 -1
- package/assets/js/highcharts/themes/high-contrast-dark.src.js +1 -1
- package/assets/js/highcharts/themes/high-contrast-light.js +1 -1
- package/assets/js/highcharts/themes/high-contrast-light.src.js +1 -1
- package/assets/js/highcharts/themes/sand-signika.js +1 -1
- package/assets/js/highcharts/themes/sand-signika.src.js +1 -1
- package/assets/js/highcharts/themes/skies.js +1 -1
- package/assets/js/highcharts/themes/skies.src.js +1 -1
- package/assets/js/highcharts/themes/sunset.js +1 -1
- package/assets/js/highcharts/themes/sunset.src.js +1 -1
- package/package.json +1 -1
- package/assets/js/highcharts/es-modules/Core/Series/KDPointSearchObjectLike.js +0 -10
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Highstock JS v11.4.
|
|
2
|
+
* @license Highstock JS v11.4.8 (2024-08-29)
|
|
3
3
|
*
|
|
4
4
|
* (c) 2009-2024 Torstein Honsi
|
|
5
5
|
*
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
* Constants
|
|
63
63
|
*
|
|
64
64
|
* */
|
|
65
|
-
Globals.SVG_NS = 'http://www.w3.org/2000/svg', Globals.product = 'Highcharts', Globals.version = '11.4.
|
|
65
|
+
Globals.SVG_NS = 'http://www.w3.org/2000/svg', Globals.product = 'Highcharts', Globals.version = '11.4.8', Globals.win = (typeof window !== 'undefined' ?
|
|
66
66
|
window :
|
|
67
67
|
{}), // eslint-disable-line node/no-unsupported-features/es-builtins
|
|
68
68
|
Globals.doc = Globals.win.document, Globals.svg = (Globals.doc &&
|
|
@@ -6448,8 +6448,9 @@
|
|
|
6448
6448
|
* @apioption tooltip.positioner
|
|
6449
6449
|
*/
|
|
6450
6450
|
/**
|
|
6451
|
-
*
|
|
6452
|
-
*
|
|
6451
|
+
* Shows tooltip for all points with the same X value. Splits the
|
|
6452
|
+
* tooltip into one label per series, with the header close to the axis.
|
|
6453
|
+
* This is recommended over [shared](#tooltip.shared)
|
|
6453
6454
|
* tooltips for charts with multiple line series, generally making them
|
|
6454
6455
|
* easier to read. This option takes precedence over `tooltip.shared`.
|
|
6455
6456
|
*
|
|
@@ -6687,11 +6688,12 @@
|
|
|
6687
6688
|
*/
|
|
6688
6689
|
shape: 'callout',
|
|
6689
6690
|
/**
|
|
6690
|
-
*
|
|
6691
|
-
*
|
|
6692
|
-
*
|
|
6693
|
-
*
|
|
6694
|
-
*
|
|
6691
|
+
* Shows information in the tooltip for all points with the same X
|
|
6692
|
+
* value. When the tooltip is shared, the entire plot area will capture
|
|
6693
|
+
* mouse movement or touch events. Tooltip texts for series types with
|
|
6694
|
+
* ordered data (not pie, scatter, flags etc) will be shown in a single
|
|
6695
|
+
* bubble. This is recommended for single series charts and for
|
|
6696
|
+
* tablet/mobile optimized charts.
|
|
6695
6697
|
*
|
|
6696
6698
|
* See also [tooltip.split](#tooltip.split), that is better suited for
|
|
6697
6699
|
* charts with many series, especially line-type series. The
|
|
@@ -7467,6 +7469,7 @@
|
|
|
7467
7469
|
/**
|
|
7468
7470
|
* Collection of parsers. This can be extended from the outside by pushing
|
|
7469
7471
|
* parsers to `Color.parsers`.
|
|
7472
|
+
* @private
|
|
7470
7473
|
*/
|
|
7471
7474
|
Color.parsers = [{
|
|
7472
7475
|
// RGBA color
|
|
@@ -12530,7 +12533,7 @@
|
|
|
12530
12533
|
this.url = this.getReferenceURL();
|
|
12531
12534
|
// Add description
|
|
12532
12535
|
const desc = this.createElement('desc').add();
|
|
12533
|
-
desc.element.appendChild(doc.createTextNode('Created with Highcharts 11.4.
|
|
12536
|
+
desc.element.appendChild(doc.createTextNode('Created with Highcharts 11.4.8'));
|
|
12534
12537
|
this.defs = this.createElement('defs').add();
|
|
12535
12538
|
this.allowHTML = allowHTML;
|
|
12536
12539
|
this.forExport = forExport;
|
|
@@ -13495,6 +13498,7 @@
|
|
|
13495
13498
|
});
|
|
13496
13499
|
}
|
|
13497
13500
|
img.isImg = true;
|
|
13501
|
+
img.symbolUrl = symbol;
|
|
13498
13502
|
if (defined(img.imgwidth) && defined(img.imgheight)) {
|
|
13499
13503
|
centerImage(img);
|
|
13500
13504
|
}
|
|
@@ -16593,9 +16597,10 @@
|
|
|
16593
16597
|
* Logarithmic with extension to emulate negative values
|
|
16594
16598
|
*
|
|
16595
16599
|
* @type {Highcharts.AxisTypeValue}
|
|
16600
|
+
* @default linear
|
|
16596
16601
|
* @product highcharts gantt
|
|
16602
|
+
* @apioption xAxis.type
|
|
16597
16603
|
*/
|
|
16598
|
-
type: 'linear',
|
|
16599
16604
|
/**
|
|
16600
16605
|
* If there are multiple axes on the same side of the chart, the pixel
|
|
16601
16606
|
* margin between the axes. Defaults to 0 on vertical axes, 15 on
|
|
@@ -16621,8 +16626,9 @@
|
|
|
16621
16626
|
*
|
|
16622
16627
|
* @since 4.2.7
|
|
16623
16628
|
* @product highcharts gantt
|
|
16629
|
+
* @type {boolean}
|
|
16630
|
+
* @default true
|
|
16624
16631
|
*/
|
|
16625
|
-
uniqueNames: true,
|
|
16626
16632
|
/**
|
|
16627
16633
|
* Datetime axis only. An array determining what time intervals the
|
|
16628
16634
|
* ticks are allowed to fall on. Each array item is an array where the
|
|
@@ -18010,7 +18016,7 @@
|
|
|
18010
18016
|
axis.transB)
|
|
18011
18017
|
};
|
|
18012
18018
|
// Chrome workaround for #10516
|
|
18013
|
-
pos.y = clamp(pos.y, -
|
|
18019
|
+
pos.y = clamp(pos.y, -1e9, 1e9);
|
|
18014
18020
|
fireEvent(this, 'afterGetPosition', { pos: pos });
|
|
18015
18021
|
return pos;
|
|
18016
18022
|
}
|
|
@@ -18586,7 +18592,11 @@
|
|
|
18586
18592
|
* @type {Highcharts.AxisOptions}
|
|
18587
18593
|
*/
|
|
18588
18594
|
axis.setOptions(userOptions);
|
|
18589
|
-
const options =
|
|
18595
|
+
const options = axis.options, labelsOptions = options.labels;
|
|
18596
|
+
// Set the type and fire an event
|
|
18597
|
+
axis.type ?? (axis.type = options.type || 'linear');
|
|
18598
|
+
axis.uniqueNames ?? (axis.uniqueNames = options.uniqueNames ?? true);
|
|
18599
|
+
fireEvent(axis, 'afterSetType');
|
|
18590
18600
|
/**
|
|
18591
18601
|
* User's options for this axis without defaults.
|
|
18592
18602
|
*
|
|
@@ -18606,7 +18616,7 @@
|
|
|
18606
18616
|
axis.visible = options.visible;
|
|
18607
18617
|
axis.zoomEnabled = options.zoomEnabled;
|
|
18608
18618
|
// Initial categories
|
|
18609
|
-
axis.hasNames = type === 'category' || options.categories === true;
|
|
18619
|
+
axis.hasNames = this.type === 'category' || options.categories === true;
|
|
18610
18620
|
/**
|
|
18611
18621
|
* If categories are present for the axis, names are used instead of
|
|
18612
18622
|
* numbers for that axis.
|
|
@@ -18979,7 +18989,7 @@
|
|
|
18979
18989
|
* @param {number} value
|
|
18980
18990
|
* A value in terms of axis units.
|
|
18981
18991
|
*
|
|
18982
|
-
* @param {boolean} paneCoordinates
|
|
18992
|
+
* @param {boolean} [paneCoordinates=false]
|
|
18983
18993
|
* Whether to return the pixel coordinate relative to the chart or just the
|
|
18984
18994
|
* axis/pane itself.
|
|
18985
18995
|
*
|
|
@@ -19054,7 +19064,7 @@
|
|
|
19054
19064
|
translatedValue = pick(translatedValue, axis.translate(value, void 0, void 0, old));
|
|
19055
19065
|
// Keep the translated value within sane bounds, and avoid Infinity
|
|
19056
19066
|
// to fail the isNumber test (#7709).
|
|
19057
|
-
translatedValue = clamp(translatedValue, -
|
|
19067
|
+
translatedValue = clamp(translatedValue, -1e9, 1e9);
|
|
19058
19068
|
x1 = x2 = translatedValue + transB;
|
|
19059
19069
|
y1 = y2 = cHeight - translatedValue - transB;
|
|
19060
19070
|
if (!isNumber(translatedValue)) { // No min or max
|
|
@@ -19329,7 +19339,7 @@
|
|
|
19329
19339
|
let nameX = point.options.x, x;
|
|
19330
19340
|
point.series.requireSorting = false;
|
|
19331
19341
|
if (!defined(nameX)) {
|
|
19332
|
-
nameX = this.
|
|
19342
|
+
nameX = this.uniqueNames && names ?
|
|
19333
19343
|
(explicitCategories ?
|
|
19334
19344
|
names.indexOf(point.name) :
|
|
19335
19345
|
pick(names.keys[point.name], -1)) :
|
|
@@ -19515,7 +19525,7 @@
|
|
|
19515
19525
|
linkedParentExtremes = linkedParent.getExtremes();
|
|
19516
19526
|
axis.min = pick(linkedParentExtremes.min, linkedParentExtremes.dataMin);
|
|
19517
19527
|
axis.max = pick(linkedParentExtremes.max, linkedParentExtremes.dataMax);
|
|
19518
|
-
if (
|
|
19528
|
+
if (this.type !== linkedParent.type) {
|
|
19519
19529
|
// Can't link axes of different type
|
|
19520
19530
|
error(11, true, chart);
|
|
19521
19531
|
}
|
|
@@ -19722,12 +19732,6 @@
|
|
|
19722
19732
|
this.tickmarkOffset = (this.categories &&
|
|
19723
19733
|
options.tickmarkPlacement === 'between' &&
|
|
19724
19734
|
this.tickInterval === 1) ? 0.5 : 0; // #3202
|
|
19725
|
-
// Get minorTickInterval
|
|
19726
|
-
this.minorTickInterval =
|
|
19727
|
-
minorTickIntervalOption === 'auto' &&
|
|
19728
|
-
this.tickInterval ?
|
|
19729
|
-
this.tickInterval / options.minorTicksPerMajor :
|
|
19730
|
-
minorTickIntervalOption;
|
|
19731
19735
|
// When there is only one point, or all points have the same value on
|
|
19732
19736
|
// this axis, then min and max are equal and tickPositions.length is 0
|
|
19733
19737
|
// or 1. In this case, add some padding in order to center the point,
|
|
@@ -19815,6 +19819,11 @@
|
|
|
19815
19819
|
}
|
|
19816
19820
|
}
|
|
19817
19821
|
this.tickPositions = tickPositions;
|
|
19822
|
+
// Get minorTickInterval
|
|
19823
|
+
this.minorTickInterval =
|
|
19824
|
+
minorTickIntervalOption === 'auto' && this.tickInterval ?
|
|
19825
|
+
this.tickInterval / options.minorTicksPerMajor :
|
|
19826
|
+
minorTickIntervalOption;
|
|
19818
19827
|
// Reset min/max or remove extremes based on start/end on tick
|
|
19819
19828
|
this.paddedTicks = tickPositions.slice(0); // Used for logarithmic minor
|
|
19820
19829
|
this.trimTicks(tickPositions, startOnTick, endOnTick);
|
|
@@ -21749,7 +21758,7 @@
|
|
|
21749
21758
|
AxisClass.keepProps.push('dateTime');
|
|
21750
21759
|
const axisProto = AxisClass.prototype;
|
|
21751
21760
|
axisProto.getTimeTicks = getTimeTicks;
|
|
21752
|
-
addEvent(AxisClass, '
|
|
21761
|
+
addEvent(AxisClass, 'afterSetType', onAfterSetType);
|
|
21753
21762
|
}
|
|
21754
21763
|
return AxisClass;
|
|
21755
21764
|
}
|
|
@@ -21775,8 +21784,8 @@
|
|
|
21775
21784
|
/**
|
|
21776
21785
|
* @private
|
|
21777
21786
|
*/
|
|
21778
|
-
function
|
|
21779
|
-
if (this.
|
|
21787
|
+
function onAfterSetType() {
|
|
21788
|
+
if (this.type !== 'datetime') {
|
|
21780
21789
|
this.dateTime = void 0;
|
|
21781
21790
|
return;
|
|
21782
21791
|
}
|
|
@@ -21938,7 +21947,7 @@
|
|
|
21938
21947
|
function compose(AxisClass) {
|
|
21939
21948
|
if (!AxisClass.keepProps.includes('logarithmic')) {
|
|
21940
21949
|
AxisClass.keepProps.push('logarithmic');
|
|
21941
|
-
addEvent(AxisClass, '
|
|
21950
|
+
addEvent(AxisClass, 'afterSetType', onAfterSetType);
|
|
21942
21951
|
addEvent(AxisClass, 'afterInit', onAfterInit);
|
|
21943
21952
|
}
|
|
21944
21953
|
return AxisClass;
|
|
@@ -21947,17 +21956,12 @@
|
|
|
21947
21956
|
/**
|
|
21948
21957
|
* @private
|
|
21949
21958
|
*/
|
|
21950
|
-
function
|
|
21951
|
-
|
|
21952
|
-
|
|
21953
|
-
let logarithmic = axis.logarithmic;
|
|
21954
|
-
if (options.type !== 'logarithmic') {
|
|
21955
|
-
axis.logarithmic = void 0;
|
|
21959
|
+
function onAfterSetType() {
|
|
21960
|
+
if (this.type !== 'logarithmic') {
|
|
21961
|
+
this.logarithmic = void 0;
|
|
21956
21962
|
}
|
|
21957
21963
|
else {
|
|
21958
|
-
|
|
21959
|
-
logarithmic = axis.logarithmic = new Additions(axis);
|
|
21960
|
-
}
|
|
21964
|
+
this.logarithmic ?? (this.logarithmic = new Additions(this));
|
|
21961
21965
|
}
|
|
21962
21966
|
}
|
|
21963
21967
|
/**
|
|
@@ -22367,7 +22371,7 @@
|
|
|
22367
22371
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
22368
22372
|
*
|
|
22369
22373
|
* */
|
|
22370
|
-
const { arrayMax, arrayMin, defined, destroyObjectProperties, erase, fireEvent, merge, objectEach, pick } = U;
|
|
22374
|
+
const { addEvent, arrayMax, arrayMin, defined, destroyObjectProperties, erase, fireEvent, merge, objectEach, pick } = U;
|
|
22371
22375
|
/* *
|
|
22372
22376
|
*
|
|
22373
22377
|
* Class
|
|
@@ -22391,7 +22395,20 @@
|
|
|
22391
22395
|
* Static Functions
|
|
22392
22396
|
*
|
|
22393
22397
|
* */
|
|
22394
|
-
static compose(AxisClass) {
|
|
22398
|
+
static compose(ChartClass, AxisClass) {
|
|
22399
|
+
addEvent(ChartClass, 'afterInit', function () {
|
|
22400
|
+
this.labelCollectors.push(() => {
|
|
22401
|
+
const labels = [];
|
|
22402
|
+
for (const axis of this.axes) {
|
|
22403
|
+
for (const { label, options } of axis.plotLinesAndBands) {
|
|
22404
|
+
if (label && !options?.label?.allowOverlap) {
|
|
22405
|
+
labels.push(label);
|
|
22406
|
+
}
|
|
22407
|
+
}
|
|
22408
|
+
}
|
|
22409
|
+
return labels;
|
|
22410
|
+
});
|
|
22411
|
+
});
|
|
22395
22412
|
return PlotLineOrBandAxis.compose(PlotLineOrBand, AxisClass);
|
|
22396
22413
|
}
|
|
22397
22414
|
/* *
|
|
@@ -22530,7 +22547,8 @@
|
|
|
22530
22547
|
x: horiz ? !isBand && 4 : 10,
|
|
22531
22548
|
verticalAlign: !horiz && isBand ? 'middle' : void 0,
|
|
22532
22549
|
y: horiz ? isBand ? 16 : 10 : isBand ? 6 : -4,
|
|
22533
|
-
rotation: horiz && !isBand ? 90 : 0
|
|
22550
|
+
rotation: horiz && !isBand ? 90 : 0,
|
|
22551
|
+
...(isBand ? { inside: true } : {})
|
|
22534
22552
|
}, optionsLabel);
|
|
22535
22553
|
this.renderLabel(optionsLabel, path, isBand, zIndex);
|
|
22536
22554
|
// Move out of sight
|
|
@@ -22547,7 +22565,7 @@
|
|
|
22547
22565
|
* @function Highcharts.PlotLineOrBand#renderLabel
|
|
22548
22566
|
*/
|
|
22549
22567
|
renderLabel(optionsLabel, path, isBand, zIndex) {
|
|
22550
|
-
const plotLine = this, axis = plotLine.axis, renderer = axis.chart.renderer;
|
|
22568
|
+
const plotLine = this, axis = plotLine.axis, renderer = axis.chart.renderer, inside = optionsLabel.inside;
|
|
22551
22569
|
let label = plotLine.label;
|
|
22552
22570
|
// Add the SVG element
|
|
22553
22571
|
if (!label) {
|
|
@@ -22569,7 +22587,7 @@
|
|
|
22569
22587
|
if (!axis.chart.styledMode) {
|
|
22570
22588
|
label.css(merge({
|
|
22571
22589
|
fontSize: '0.8em',
|
|
22572
|
-
textOverflow: 'ellipsis'
|
|
22590
|
+
textOverflow: (isBand && !inside) ? '' : 'ellipsis'
|
|
22573
22591
|
}, optionsLabel.style));
|
|
22574
22592
|
}
|
|
22575
22593
|
label.add();
|
|
@@ -22578,20 +22596,24 @@
|
|
|
22578
22596
|
// #3000 changed to better handle choice between plotband or plotline
|
|
22579
22597
|
const xBounds = path.xBounds ||
|
|
22580
22598
|
[path[0][1], path[1][1], (isBand ? path[2][1] : path[0][1])], yBounds = path.yBounds ||
|
|
22581
|
-
[path[0][2], path[1][2], (isBand ? path[2][2] : path[0][2])], x = arrayMin(xBounds), y = arrayMin(yBounds);
|
|
22599
|
+
[path[0][2], path[1][2], (isBand ? path[2][2] : path[0][2])], x = arrayMin(xBounds), y = arrayMin(yBounds), bBoxWidth = arrayMax(xBounds) - x;
|
|
22582
22600
|
label.align(optionsLabel, false, {
|
|
22583
22601
|
x,
|
|
22584
22602
|
y,
|
|
22585
|
-
width:
|
|
22603
|
+
width: bBoxWidth,
|
|
22586
22604
|
height: arrayMax(yBounds) - y
|
|
22587
22605
|
});
|
|
22588
|
-
if (!label.alignValue ||
|
|
22589
|
-
|
|
22590
|
-
|
|
22606
|
+
if (!label.alignValue ||
|
|
22607
|
+
label.alignValue === 'left' ||
|
|
22608
|
+
defined(inside)) {
|
|
22591
22609
|
label.css({
|
|
22592
|
-
width: (
|
|
22593
|
-
|
|
22594
|
-
|
|
22610
|
+
width: (optionsLabel.style?.width || ((!isBand ||
|
|
22611
|
+
!inside) ? (label.rotation === 90 ?
|
|
22612
|
+
axis.height - (label.alignAttr.y -
|
|
22613
|
+
axis.top) : (optionsLabel.clip ?
|
|
22614
|
+
axis.width :
|
|
22615
|
+
axis.chart.chartWidth) - (label.alignAttr.x - axis.left)) :
|
|
22616
|
+
bBoxWidth)) + 'px'
|
|
22595
22617
|
});
|
|
22596
22618
|
}
|
|
22597
22619
|
label.show(true);
|
|
@@ -22830,6 +22852,29 @@
|
|
|
22830
22852
|
* @since 2.1
|
|
22831
22853
|
* @apioption xAxis.plotBands.label.align
|
|
22832
22854
|
*/
|
|
22855
|
+
/**
|
|
22856
|
+
* Whether or not the label can be hidden if it overlaps with another label.
|
|
22857
|
+
*
|
|
22858
|
+
* @sample {highcharts} highcharts/xaxis/plotbands-label-allowoverlap/
|
|
22859
|
+
* A Plotband label overlapping another
|
|
22860
|
+
*
|
|
22861
|
+
* @type {boolean}
|
|
22862
|
+
* @default undefined
|
|
22863
|
+
* @since 11.4.8
|
|
22864
|
+
* @apioption xAxis.plotBands.label.allowOverlap
|
|
22865
|
+
*/
|
|
22866
|
+
/**
|
|
22867
|
+
* Wether or not the text of the label can exceed the width of the label.
|
|
22868
|
+
*
|
|
22869
|
+
* @type {boolean}
|
|
22870
|
+
* @product highcharts highstock gantt
|
|
22871
|
+
* @sample {highcharts} highcharts/xaxis/plotbands-label-textwidth/
|
|
22872
|
+
* Displaying text with text-wrapping/ellipsis, or the full text.
|
|
22873
|
+
*
|
|
22874
|
+
* @default true
|
|
22875
|
+
* @since 11.4.6
|
|
22876
|
+
* @apioption xAxis.plotBands.label.inside
|
|
22877
|
+
*/
|
|
22833
22878
|
/**
|
|
22834
22879
|
* Rotation of the text label in degrees .
|
|
22835
22880
|
*
|
|
@@ -23977,6 +24022,15 @@
|
|
|
23977
24022
|
text.join('') :
|
|
23978
24023
|
text
|
|
23979
24024
|
});
|
|
24025
|
+
// When the length of the label has increased, immediately
|
|
24026
|
+
// update the x position to prevent tooltip from flowing
|
|
24027
|
+
// outside the viewport during animation (#21371)
|
|
24028
|
+
if (this.outside) {
|
|
24029
|
+
label.attr({
|
|
24030
|
+
x: clamp(label.x || 0, 0, this.getPlayingField().width -
|
|
24031
|
+
(label.width || 0))
|
|
24032
|
+
});
|
|
24033
|
+
}
|
|
23980
24034
|
if (!styledMode) {
|
|
23981
24035
|
label.attr({
|
|
23982
24036
|
stroke: (options.borderColor ||
|
|
@@ -27607,7 +27661,7 @@
|
|
|
27607
27661
|
* The legend object.
|
|
27608
27662
|
*/
|
|
27609
27663
|
function lineMarker(legend, item, hasArea) {
|
|
27610
|
-
const legendItem = this.legendItem = this.legendItem || {}, { chart, options } = this, { baseline = 0, symbolWidth, symbolHeight } = legend, symbol = this.symbol || 'circle', generalRadius = symbolHeight / 2, renderer = chart.renderer, legendItemGroup = legendItem.group, verticalCenter = baseline - Math.round(symbolHeight *
|
|
27664
|
+
const legendItem = this.legendItem = this.legendItem || {}, { chart, options } = this, { baseline = 0, symbolWidth, symbolHeight } = legend, symbol = this.symbol || 'circle', generalRadius = symbolHeight / 2, renderer = chart.renderer, legendItemGroup = legendItem.group, verticalCenter = baseline - Math.round((legend.fontMetrics?.b || symbolHeight) *
|
|
27611
27665
|
// Render line and marker slightly higher to make room for the
|
|
27612
27666
|
// area
|
|
27613
27667
|
(hasArea ? 0.4 : 0.3)), attr = {};
|
|
@@ -31593,7 +31647,7 @@
|
|
|
31593
31647
|
* @private
|
|
31594
31648
|
*/
|
|
31595
31649
|
function limitedRange(val) {
|
|
31596
|
-
return clamp(val, -
|
|
31650
|
+
return clamp(val, -1e9, 1e9);
|
|
31597
31651
|
}
|
|
31598
31652
|
// Translate each point
|
|
31599
31653
|
for (i = 0; i < dataLength; i++) {
|
|
@@ -36122,10 +36176,22 @@
|
|
|
36122
36176
|
* @function Highcharts.Chart#getContainerBox
|
|
36123
36177
|
*/
|
|
36124
36178
|
getContainerBox() {
|
|
36125
|
-
|
|
36179
|
+
// Temporarily hide support divs from a11y and others, #21888
|
|
36180
|
+
const nonContainers = [].map.call(this.renderTo.children, (child) => {
|
|
36181
|
+
if (child !== this.container) {
|
|
36182
|
+
const display = child.style.display;
|
|
36183
|
+
child.style.display = 'none';
|
|
36184
|
+
return [child, display];
|
|
36185
|
+
}
|
|
36186
|
+
}), box = {
|
|
36126
36187
|
width: getStyle(this.renderTo, 'width', true) || 0,
|
|
36127
|
-
height: getStyle(this.renderTo, 'height', true) || 0
|
|
36188
|
+
height: (getStyle(this.renderTo, 'height', true) || 0)
|
|
36128
36189
|
};
|
|
36190
|
+
// Restore the non-containers
|
|
36191
|
+
nonContainers.filter(Boolean).forEach(([div, display]) => {
|
|
36192
|
+
div.style.display = display;
|
|
36193
|
+
});
|
|
36194
|
+
return box;
|
|
36129
36195
|
}
|
|
36130
36196
|
/**
|
|
36131
36197
|
* Internal function to get the chart width and height according to options
|
|
@@ -36136,7 +36202,10 @@
|
|
|
36136
36202
|
* @function Highcharts.Chart#getChartSize
|
|
36137
36203
|
*/
|
|
36138
36204
|
getChartSize() {
|
|
36139
|
-
const chart = this, optionsChart = chart.options.chart, widthOption = optionsChart.width, heightOption = optionsChart.height, containerBox = chart.getContainerBox()
|
|
36205
|
+
const chart = this, optionsChart = chart.options.chart, widthOption = optionsChart.width, heightOption = optionsChart.height, containerBox = chart.getContainerBox(), enableDefaultHeight = containerBox.height > 1 &&
|
|
36206
|
+
!( // #21510, prevent infinite reflow
|
|
36207
|
+
!chart.renderTo.parentElement?.style.height &&
|
|
36208
|
+
chart.renderTo.style.height === '100%');
|
|
36140
36209
|
/**
|
|
36141
36210
|
* The current pixel width of the chart.
|
|
36142
36211
|
*
|
|
@@ -36153,7 +36222,7 @@
|
|
|
36153
36222
|
* @type {number}
|
|
36154
36223
|
*/
|
|
36155
36224
|
chart.chartHeight = Math.max(0, relativeLength(heightOption, chart.chartWidth) ||
|
|
36156
|
-
(
|
|
36225
|
+
(enableDefaultHeight ? containerBox.height : 400));
|
|
36157
36226
|
chart.containerBox = containerBox;
|
|
36158
36227
|
}
|
|
36159
36228
|
/**
|
|
@@ -36301,7 +36370,8 @@
|
|
|
36301
36370
|
'-webkit-tap-highlight-color': 'rgba(0,0,0,0)',
|
|
36302
36371
|
userSelect: 'none', // #13503
|
|
36303
36372
|
'touch-action': 'manipulation',
|
|
36304
|
-
outline: 'none'
|
|
36373
|
+
outline: 'none',
|
|
36374
|
+
padding: '0px'
|
|
36305
36375
|
}, optionsChart.style || {});
|
|
36306
36376
|
}
|
|
36307
36377
|
/**
|
|
@@ -37869,8 +37939,11 @@
|
|
|
37869
37939
|
}
|
|
37870
37940
|
let newMin = axis.toValue(minPx, true) +
|
|
37871
37941
|
// Don't apply offset for selection (#20784)
|
|
37872
|
-
(selection
|
|
37873
|
-
|
|
37942
|
+
(selection || axis.isOrdinal ?
|
|
37943
|
+
0 : minPointOffset * pointRangeDirection), newMax = axis.toValue(minPx + len / scale, true) -
|
|
37944
|
+
(
|
|
37945
|
+
// Don't apply offset for selection (#20784)
|
|
37946
|
+
selection || axis.isOrdinal ?
|
|
37874
37947
|
0 :
|
|
37875
37948
|
((minPointOffset * pointRangeDirection) ||
|
|
37876
37949
|
// Polar zoom tests failed when this was not
|
|
@@ -37915,7 +37988,10 @@
|
|
|
37915
37988
|
// It is not necessary to calculate extremes on ordinal axis,
|
|
37916
37989
|
// because they are already calculated, so we don't want to override
|
|
37917
37990
|
// them.
|
|
37918
|
-
if (!axis.isOrdinal ||
|
|
37991
|
+
if (!axis.isOrdinal ||
|
|
37992
|
+
axis.options.overscroll || // #21316
|
|
37993
|
+
scale !== 1 ||
|
|
37994
|
+
reset) {
|
|
37919
37995
|
// If the new range spills over, either to the min or max,
|
|
37920
37996
|
// adjust it.
|
|
37921
37997
|
if (newMin < floor) {
|
|
@@ -42280,6 +42356,15 @@
|
|
|
42280
42356
|
// read text bounding box
|
|
42281
42357
|
dataLabel.css(style).shadow(labelOptions.shadow);
|
|
42282
42358
|
}
|
|
42359
|
+
else if (style.width) {
|
|
42360
|
+
// In styled mode with a width property set,
|
|
42361
|
+
// the width should be applied to the
|
|
42362
|
+
// dataLabel. (#20499)
|
|
42363
|
+
dataLabel.css({
|
|
42364
|
+
width: style.width,
|
|
42365
|
+
textOverflow: style.textOverflow
|
|
42366
|
+
});
|
|
42367
|
+
}
|
|
42283
42368
|
fireEvent(dataLabel, 'beforeAddingDataLabel', { labelOptions, point });
|
|
42284
42369
|
if (!dataLabel.added) {
|
|
42285
42370
|
dataLabel.add(dataLabelsGroup);
|
|
@@ -45941,7 +46026,7 @@
|
|
|
45941
46026
|
LogarithmicAxis.compose(G.Axis);
|
|
45942
46027
|
OverlappingDataLabels.compose(G.Chart);
|
|
45943
46028
|
PieDataLabel.compose(G.Series.types.pie);
|
|
45944
|
-
PlotLineOrBand.compose(G.Axis);
|
|
46029
|
+
PlotLineOrBand.compose(G.Chart, G.Axis);
|
|
45945
46030
|
Pointer.compose(G.Chart);
|
|
45946
46031
|
Responsive.compose(G.Chart);
|
|
45947
46032
|
ScrollablePlotArea.compose(G.Axis, G.Chart, G.Series);
|
|
@@ -47674,13 +47759,23 @@
|
|
|
47674
47759
|
isNaN(scrollMax) ||
|
|
47675
47760
|
!defined(axis.min) ||
|
|
47676
47761
|
!defined(axis.max) ||
|
|
47677
|
-
axis.
|
|
47762
|
+
axis.dataMin === axis.dataMax // #10733
|
|
47678
47763
|
) {
|
|
47679
|
-
// Default action: when extremes are the same or there is
|
|
47764
|
+
// Default action: when data extremes are the same or there is
|
|
47680
47765
|
// not extremes on the axis, but scrollbar exists, make it
|
|
47681
47766
|
// full size
|
|
47682
47767
|
scrollbar.setRange(0, 1);
|
|
47683
47768
|
}
|
|
47769
|
+
else if (axis.min === axis.max) { // #20359
|
|
47770
|
+
// When the extremes are the same, set the scrollbar to a point
|
|
47771
|
+
// within the extremes range. Utilize pointRange to perform the
|
|
47772
|
+
// calculations. (#20359)
|
|
47773
|
+
const interval = axis.pointRange / (axis.dataMax +
|
|
47774
|
+
1);
|
|
47775
|
+
from = interval * axis.min;
|
|
47776
|
+
to = interval * (axis.max + 1);
|
|
47777
|
+
scrollbar.setRange(from, to);
|
|
47778
|
+
}
|
|
47684
47779
|
else {
|
|
47685
47780
|
from = ((axis.min - scrollMin) /
|
|
47686
47781
|
(scrollMax - scrollMin));
|
|
@@ -48890,7 +48985,10 @@
|
|
|
48890
48985
|
const handlesOptions = navigatorOptions.handles, { height, width } = handlesOptions;
|
|
48891
48986
|
[0, 1].forEach((index) => {
|
|
48892
48987
|
const symbolName = handlesOptions.symbols[index];
|
|
48893
|
-
if (!navigator.handles[index]
|
|
48988
|
+
if (!navigator.handles[index] ||
|
|
48989
|
+
navigator.handles[index].symbolUrl !== symbolName) {
|
|
48990
|
+
// Generate symbol from scratch if we're dealing with an URL
|
|
48991
|
+
navigator.handles[index]?.destroy();
|
|
48894
48992
|
navigator.handles[index] = renderer.symbol(symbolName, -width / 2 - 1, 0, width, height, handlesOptions);
|
|
48895
48993
|
// Z index is 6 for right handle, 7 for left. Can't be 10,
|
|
48896
48994
|
// because of the tooltip in inverted chart (#2908).
|
|
@@ -48898,9 +48996,11 @@
|
|
|
48898
48996
|
.addClass('highcharts-navigator-handle ' +
|
|
48899
48997
|
'highcharts-navigator-handle-' +
|
|
48900
48998
|
['left', 'right'][index]).add(navigatorGroup);
|
|
48999
|
+
navigator.addMouseEvents();
|
|
48901
49000
|
// If the navigator symbol changed, update its path and name
|
|
48902
49001
|
}
|
|
48903
|
-
else if (
|
|
49002
|
+
else if (!navigator.handles[index].isImg &&
|
|
49003
|
+
navigator.handles[index].symbolName !== symbolName) {
|
|
48904
49004
|
const symbolFn = symbols[symbolName], path = symbolFn.call(symbols, -width / 2 - 1, 0, width, height);
|
|
48905
49005
|
navigator.handles[index].attr({
|
|
48906
49006
|
d: path
|