@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
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
* Constants
|
|
57
57
|
*
|
|
58
58
|
* */
|
|
59
|
-
Globals.SVG_NS = 'http://www.w3.org/2000/svg', Globals.product = 'Highcharts', Globals.version = '11.4.
|
|
59
|
+
Globals.SVG_NS = 'http://www.w3.org/2000/svg', Globals.product = 'Highcharts', Globals.version = '11.4.8', Globals.win = (typeof window !== 'undefined' ?
|
|
60
60
|
window :
|
|
61
61
|
{}), // eslint-disable-line node/no-unsupported-features/es-builtins
|
|
62
62
|
Globals.doc = Globals.win.document, Globals.svg = (Globals.doc &&
|
|
@@ -6442,8 +6442,9 @@
|
|
|
6442
6442
|
* @apioption tooltip.positioner
|
|
6443
6443
|
*/
|
|
6444
6444
|
/**
|
|
6445
|
-
*
|
|
6446
|
-
*
|
|
6445
|
+
* Shows tooltip for all points with the same X value. Splits the
|
|
6446
|
+
* tooltip into one label per series, with the header close to the axis.
|
|
6447
|
+
* This is recommended over [shared](#tooltip.shared)
|
|
6447
6448
|
* tooltips for charts with multiple line series, generally making them
|
|
6448
6449
|
* easier to read. This option takes precedence over `tooltip.shared`.
|
|
6449
6450
|
*
|
|
@@ -6681,11 +6682,12 @@
|
|
|
6681
6682
|
*/
|
|
6682
6683
|
shape: 'callout',
|
|
6683
6684
|
/**
|
|
6684
|
-
*
|
|
6685
|
-
*
|
|
6686
|
-
*
|
|
6687
|
-
*
|
|
6688
|
-
*
|
|
6685
|
+
* Shows information in the tooltip for all points with the same X
|
|
6686
|
+
* value. When the tooltip is shared, the entire plot area will capture
|
|
6687
|
+
* mouse movement or touch events. Tooltip texts for series types with
|
|
6688
|
+
* ordered data (not pie, scatter, flags etc) will be shown in a single
|
|
6689
|
+
* bubble. This is recommended for single series charts and for
|
|
6690
|
+
* tablet/mobile optimized charts.
|
|
6689
6691
|
*
|
|
6690
6692
|
* See also [tooltip.split](#tooltip.split), that is better suited for
|
|
6691
6693
|
* charts with many series, especially line-type series. The
|
|
@@ -7461,6 +7463,7 @@
|
|
|
7461
7463
|
/**
|
|
7462
7464
|
* Collection of parsers. This can be extended from the outside by pushing
|
|
7463
7465
|
* parsers to `Color.parsers`.
|
|
7466
|
+
* @private
|
|
7464
7467
|
*/
|
|
7465
7468
|
Color.parsers = [{
|
|
7466
7469
|
// RGBA color
|
|
@@ -12524,7 +12527,7 @@
|
|
|
12524
12527
|
this.url = this.getReferenceURL();
|
|
12525
12528
|
// Add description
|
|
12526
12529
|
const desc = this.createElement('desc').add();
|
|
12527
|
-
desc.element.appendChild(doc.createTextNode('Created with Highcharts 11.4.
|
|
12530
|
+
desc.element.appendChild(doc.createTextNode('Created with Highcharts 11.4.8'));
|
|
12528
12531
|
this.defs = this.createElement('defs').add();
|
|
12529
12532
|
this.allowHTML = allowHTML;
|
|
12530
12533
|
this.forExport = forExport;
|
|
@@ -13489,6 +13492,7 @@
|
|
|
13489
13492
|
});
|
|
13490
13493
|
}
|
|
13491
13494
|
img.isImg = true;
|
|
13495
|
+
img.symbolUrl = symbol;
|
|
13492
13496
|
if (defined(img.imgwidth) && defined(img.imgheight)) {
|
|
13493
13497
|
centerImage(img);
|
|
13494
13498
|
}
|
|
@@ -16587,9 +16591,10 @@
|
|
|
16587
16591
|
* Logarithmic with extension to emulate negative values
|
|
16588
16592
|
*
|
|
16589
16593
|
* @type {Highcharts.AxisTypeValue}
|
|
16594
|
+
* @default linear
|
|
16590
16595
|
* @product highcharts gantt
|
|
16596
|
+
* @apioption xAxis.type
|
|
16591
16597
|
*/
|
|
16592
|
-
type: 'linear',
|
|
16593
16598
|
/**
|
|
16594
16599
|
* If there are multiple axes on the same side of the chart, the pixel
|
|
16595
16600
|
* margin between the axes. Defaults to 0 on vertical axes, 15 on
|
|
@@ -16615,8 +16620,9 @@
|
|
|
16615
16620
|
*
|
|
16616
16621
|
* @since 4.2.7
|
|
16617
16622
|
* @product highcharts gantt
|
|
16623
|
+
* @type {boolean}
|
|
16624
|
+
* @default true
|
|
16618
16625
|
*/
|
|
16619
|
-
uniqueNames: true,
|
|
16620
16626
|
/**
|
|
16621
16627
|
* Datetime axis only. An array determining what time intervals the
|
|
16622
16628
|
* ticks are allowed to fall on. Each array item is an array where the
|
|
@@ -18004,7 +18010,7 @@
|
|
|
18004
18010
|
axis.transB)
|
|
18005
18011
|
};
|
|
18006
18012
|
// Chrome workaround for #10516
|
|
18007
|
-
pos.y = clamp(pos.y, -
|
|
18013
|
+
pos.y = clamp(pos.y, -1e9, 1e9);
|
|
18008
18014
|
fireEvent(this, 'afterGetPosition', { pos: pos });
|
|
18009
18015
|
return pos;
|
|
18010
18016
|
}
|
|
@@ -18580,7 +18586,11 @@
|
|
|
18580
18586
|
* @type {Highcharts.AxisOptions}
|
|
18581
18587
|
*/
|
|
18582
18588
|
axis.setOptions(userOptions);
|
|
18583
|
-
const options =
|
|
18589
|
+
const options = axis.options, labelsOptions = options.labels;
|
|
18590
|
+
// Set the type and fire an event
|
|
18591
|
+
axis.type ?? (axis.type = options.type || 'linear');
|
|
18592
|
+
axis.uniqueNames ?? (axis.uniqueNames = options.uniqueNames ?? true);
|
|
18593
|
+
fireEvent(axis, 'afterSetType');
|
|
18584
18594
|
/**
|
|
18585
18595
|
* User's options for this axis without defaults.
|
|
18586
18596
|
*
|
|
@@ -18600,7 +18610,7 @@
|
|
|
18600
18610
|
axis.visible = options.visible;
|
|
18601
18611
|
axis.zoomEnabled = options.zoomEnabled;
|
|
18602
18612
|
// Initial categories
|
|
18603
|
-
axis.hasNames = type === 'category' || options.categories === true;
|
|
18613
|
+
axis.hasNames = this.type === 'category' || options.categories === true;
|
|
18604
18614
|
/**
|
|
18605
18615
|
* If categories are present for the axis, names are used instead of
|
|
18606
18616
|
* numbers for that axis.
|
|
@@ -18973,7 +18983,7 @@
|
|
|
18973
18983
|
* @param {number} value
|
|
18974
18984
|
* A value in terms of axis units.
|
|
18975
18985
|
*
|
|
18976
|
-
* @param {boolean} paneCoordinates
|
|
18986
|
+
* @param {boolean} [paneCoordinates=false]
|
|
18977
18987
|
* Whether to return the pixel coordinate relative to the chart or just the
|
|
18978
18988
|
* axis/pane itself.
|
|
18979
18989
|
*
|
|
@@ -19048,7 +19058,7 @@
|
|
|
19048
19058
|
translatedValue = pick(translatedValue, axis.translate(value, void 0, void 0, old));
|
|
19049
19059
|
// Keep the translated value within sane bounds, and avoid Infinity
|
|
19050
19060
|
// to fail the isNumber test (#7709).
|
|
19051
|
-
translatedValue = clamp(translatedValue, -
|
|
19061
|
+
translatedValue = clamp(translatedValue, -1e9, 1e9);
|
|
19052
19062
|
x1 = x2 = translatedValue + transB;
|
|
19053
19063
|
y1 = y2 = cHeight - translatedValue - transB;
|
|
19054
19064
|
if (!isNumber(translatedValue)) { // No min or max
|
|
@@ -19323,7 +19333,7 @@
|
|
|
19323
19333
|
let nameX = point.options.x, x;
|
|
19324
19334
|
point.series.requireSorting = false;
|
|
19325
19335
|
if (!defined(nameX)) {
|
|
19326
|
-
nameX = this.
|
|
19336
|
+
nameX = this.uniqueNames && names ?
|
|
19327
19337
|
(explicitCategories ?
|
|
19328
19338
|
names.indexOf(point.name) :
|
|
19329
19339
|
pick(names.keys[point.name], -1)) :
|
|
@@ -19509,7 +19519,7 @@
|
|
|
19509
19519
|
linkedParentExtremes = linkedParent.getExtremes();
|
|
19510
19520
|
axis.min = pick(linkedParentExtremes.min, linkedParentExtremes.dataMin);
|
|
19511
19521
|
axis.max = pick(linkedParentExtremes.max, linkedParentExtremes.dataMax);
|
|
19512
|
-
if (
|
|
19522
|
+
if (this.type !== linkedParent.type) {
|
|
19513
19523
|
// Can't link axes of different type
|
|
19514
19524
|
error(11, true, chart);
|
|
19515
19525
|
}
|
|
@@ -19716,12 +19726,6 @@
|
|
|
19716
19726
|
this.tickmarkOffset = (this.categories &&
|
|
19717
19727
|
options.tickmarkPlacement === 'between' &&
|
|
19718
19728
|
this.tickInterval === 1) ? 0.5 : 0; // #3202
|
|
19719
|
-
// Get minorTickInterval
|
|
19720
|
-
this.minorTickInterval =
|
|
19721
|
-
minorTickIntervalOption === 'auto' &&
|
|
19722
|
-
this.tickInterval ?
|
|
19723
|
-
this.tickInterval / options.minorTicksPerMajor :
|
|
19724
|
-
minorTickIntervalOption;
|
|
19725
19729
|
// When there is only one point, or all points have the same value on
|
|
19726
19730
|
// this axis, then min and max are equal and tickPositions.length is 0
|
|
19727
19731
|
// or 1. In this case, add some padding in order to center the point,
|
|
@@ -19809,6 +19813,11 @@
|
|
|
19809
19813
|
}
|
|
19810
19814
|
}
|
|
19811
19815
|
this.tickPositions = tickPositions;
|
|
19816
|
+
// Get minorTickInterval
|
|
19817
|
+
this.minorTickInterval =
|
|
19818
|
+
minorTickIntervalOption === 'auto' && this.tickInterval ?
|
|
19819
|
+
this.tickInterval / options.minorTicksPerMajor :
|
|
19820
|
+
minorTickIntervalOption;
|
|
19812
19821
|
// Reset min/max or remove extremes based on start/end on tick
|
|
19813
19822
|
this.paddedTicks = tickPositions.slice(0); // Used for logarithmic minor
|
|
19814
19823
|
this.trimTicks(tickPositions, startOnTick, endOnTick);
|
|
@@ -21743,7 +21752,7 @@
|
|
|
21743
21752
|
AxisClass.keepProps.push('dateTime');
|
|
21744
21753
|
const axisProto = AxisClass.prototype;
|
|
21745
21754
|
axisProto.getTimeTicks = getTimeTicks;
|
|
21746
|
-
addEvent(AxisClass, '
|
|
21755
|
+
addEvent(AxisClass, 'afterSetType', onAfterSetType);
|
|
21747
21756
|
}
|
|
21748
21757
|
return AxisClass;
|
|
21749
21758
|
}
|
|
@@ -21769,8 +21778,8 @@
|
|
|
21769
21778
|
/**
|
|
21770
21779
|
* @private
|
|
21771
21780
|
*/
|
|
21772
|
-
function
|
|
21773
|
-
if (this.
|
|
21781
|
+
function onAfterSetType() {
|
|
21782
|
+
if (this.type !== 'datetime') {
|
|
21774
21783
|
this.dateTime = void 0;
|
|
21775
21784
|
return;
|
|
21776
21785
|
}
|
|
@@ -21932,7 +21941,7 @@
|
|
|
21932
21941
|
function compose(AxisClass) {
|
|
21933
21942
|
if (!AxisClass.keepProps.includes('logarithmic')) {
|
|
21934
21943
|
AxisClass.keepProps.push('logarithmic');
|
|
21935
|
-
addEvent(AxisClass, '
|
|
21944
|
+
addEvent(AxisClass, 'afterSetType', onAfterSetType);
|
|
21936
21945
|
addEvent(AxisClass, 'afterInit', onAfterInit);
|
|
21937
21946
|
}
|
|
21938
21947
|
return AxisClass;
|
|
@@ -21941,17 +21950,12 @@
|
|
|
21941
21950
|
/**
|
|
21942
21951
|
* @private
|
|
21943
21952
|
*/
|
|
21944
|
-
function
|
|
21945
|
-
|
|
21946
|
-
|
|
21947
|
-
let logarithmic = axis.logarithmic;
|
|
21948
|
-
if (options.type !== 'logarithmic') {
|
|
21949
|
-
axis.logarithmic = void 0;
|
|
21953
|
+
function onAfterSetType() {
|
|
21954
|
+
if (this.type !== 'logarithmic') {
|
|
21955
|
+
this.logarithmic = void 0;
|
|
21950
21956
|
}
|
|
21951
21957
|
else {
|
|
21952
|
-
|
|
21953
|
-
logarithmic = axis.logarithmic = new Additions(axis);
|
|
21954
|
-
}
|
|
21958
|
+
this.logarithmic ?? (this.logarithmic = new Additions(this));
|
|
21955
21959
|
}
|
|
21956
21960
|
}
|
|
21957
21961
|
/**
|
|
@@ -22361,7 +22365,7 @@
|
|
|
22361
22365
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
22362
22366
|
*
|
|
22363
22367
|
* */
|
|
22364
|
-
const { arrayMax, arrayMin, defined, destroyObjectProperties, erase, fireEvent, merge, objectEach, pick } = U;
|
|
22368
|
+
const { addEvent, arrayMax, arrayMin, defined, destroyObjectProperties, erase, fireEvent, merge, objectEach, pick } = U;
|
|
22365
22369
|
/* *
|
|
22366
22370
|
*
|
|
22367
22371
|
* Class
|
|
@@ -22385,7 +22389,20 @@
|
|
|
22385
22389
|
* Static Functions
|
|
22386
22390
|
*
|
|
22387
22391
|
* */
|
|
22388
|
-
static compose(AxisClass) {
|
|
22392
|
+
static compose(ChartClass, AxisClass) {
|
|
22393
|
+
addEvent(ChartClass, 'afterInit', function () {
|
|
22394
|
+
this.labelCollectors.push(() => {
|
|
22395
|
+
const labels = [];
|
|
22396
|
+
for (const axis of this.axes) {
|
|
22397
|
+
for (const { label, options } of axis.plotLinesAndBands) {
|
|
22398
|
+
if (label && !options?.label?.allowOverlap) {
|
|
22399
|
+
labels.push(label);
|
|
22400
|
+
}
|
|
22401
|
+
}
|
|
22402
|
+
}
|
|
22403
|
+
return labels;
|
|
22404
|
+
});
|
|
22405
|
+
});
|
|
22389
22406
|
return PlotLineOrBandAxis.compose(PlotLineOrBand, AxisClass);
|
|
22390
22407
|
}
|
|
22391
22408
|
/* *
|
|
@@ -22524,7 +22541,8 @@
|
|
|
22524
22541
|
x: horiz ? !isBand && 4 : 10,
|
|
22525
22542
|
verticalAlign: !horiz && isBand ? 'middle' : void 0,
|
|
22526
22543
|
y: horiz ? isBand ? 16 : 10 : isBand ? 6 : -4,
|
|
22527
|
-
rotation: horiz && !isBand ? 90 : 0
|
|
22544
|
+
rotation: horiz && !isBand ? 90 : 0,
|
|
22545
|
+
...(isBand ? { inside: true } : {})
|
|
22528
22546
|
}, optionsLabel);
|
|
22529
22547
|
this.renderLabel(optionsLabel, path, isBand, zIndex);
|
|
22530
22548
|
// Move out of sight
|
|
@@ -22541,7 +22559,7 @@
|
|
|
22541
22559
|
* @function Highcharts.PlotLineOrBand#renderLabel
|
|
22542
22560
|
*/
|
|
22543
22561
|
renderLabel(optionsLabel, path, isBand, zIndex) {
|
|
22544
|
-
const plotLine = this, axis = plotLine.axis, renderer = axis.chart.renderer;
|
|
22562
|
+
const plotLine = this, axis = plotLine.axis, renderer = axis.chart.renderer, inside = optionsLabel.inside;
|
|
22545
22563
|
let label = plotLine.label;
|
|
22546
22564
|
// Add the SVG element
|
|
22547
22565
|
if (!label) {
|
|
@@ -22563,7 +22581,7 @@
|
|
|
22563
22581
|
if (!axis.chart.styledMode) {
|
|
22564
22582
|
label.css(merge({
|
|
22565
22583
|
fontSize: '0.8em',
|
|
22566
|
-
textOverflow: 'ellipsis'
|
|
22584
|
+
textOverflow: (isBand && !inside) ? '' : 'ellipsis'
|
|
22567
22585
|
}, optionsLabel.style));
|
|
22568
22586
|
}
|
|
22569
22587
|
label.add();
|
|
@@ -22572,20 +22590,24 @@
|
|
|
22572
22590
|
// #3000 changed to better handle choice between plotband or plotline
|
|
22573
22591
|
const xBounds = path.xBounds ||
|
|
22574
22592
|
[path[0][1], path[1][1], (isBand ? path[2][1] : path[0][1])], yBounds = path.yBounds ||
|
|
22575
|
-
[path[0][2], path[1][2], (isBand ? path[2][2] : path[0][2])], x = arrayMin(xBounds), y = arrayMin(yBounds);
|
|
22593
|
+
[path[0][2], path[1][2], (isBand ? path[2][2] : path[0][2])], x = arrayMin(xBounds), y = arrayMin(yBounds), bBoxWidth = arrayMax(xBounds) - x;
|
|
22576
22594
|
label.align(optionsLabel, false, {
|
|
22577
22595
|
x,
|
|
22578
22596
|
y,
|
|
22579
|
-
width:
|
|
22597
|
+
width: bBoxWidth,
|
|
22580
22598
|
height: arrayMax(yBounds) - y
|
|
22581
22599
|
});
|
|
22582
|
-
if (!label.alignValue ||
|
|
22583
|
-
|
|
22584
|
-
|
|
22600
|
+
if (!label.alignValue ||
|
|
22601
|
+
label.alignValue === 'left' ||
|
|
22602
|
+
defined(inside)) {
|
|
22585
22603
|
label.css({
|
|
22586
|
-
width: (
|
|
22587
|
-
|
|
22588
|
-
|
|
22604
|
+
width: (optionsLabel.style?.width || ((!isBand ||
|
|
22605
|
+
!inside) ? (label.rotation === 90 ?
|
|
22606
|
+
axis.height - (label.alignAttr.y -
|
|
22607
|
+
axis.top) : (optionsLabel.clip ?
|
|
22608
|
+
axis.width :
|
|
22609
|
+
axis.chart.chartWidth) - (label.alignAttr.x - axis.left)) :
|
|
22610
|
+
bBoxWidth)) + 'px'
|
|
22589
22611
|
});
|
|
22590
22612
|
}
|
|
22591
22613
|
label.show(true);
|
|
@@ -22824,6 +22846,29 @@
|
|
|
22824
22846
|
* @since 2.1
|
|
22825
22847
|
* @apioption xAxis.plotBands.label.align
|
|
22826
22848
|
*/
|
|
22849
|
+
/**
|
|
22850
|
+
* Whether or not the label can be hidden if it overlaps with another label.
|
|
22851
|
+
*
|
|
22852
|
+
* @sample {highcharts} highcharts/xaxis/plotbands-label-allowoverlap/
|
|
22853
|
+
* A Plotband label overlapping another
|
|
22854
|
+
*
|
|
22855
|
+
* @type {boolean}
|
|
22856
|
+
* @default undefined
|
|
22857
|
+
* @since 11.4.8
|
|
22858
|
+
* @apioption xAxis.plotBands.label.allowOverlap
|
|
22859
|
+
*/
|
|
22860
|
+
/**
|
|
22861
|
+
* Wether or not the text of the label can exceed the width of the label.
|
|
22862
|
+
*
|
|
22863
|
+
* @type {boolean}
|
|
22864
|
+
* @product highcharts highstock gantt
|
|
22865
|
+
* @sample {highcharts} highcharts/xaxis/plotbands-label-textwidth/
|
|
22866
|
+
* Displaying text with text-wrapping/ellipsis, or the full text.
|
|
22867
|
+
*
|
|
22868
|
+
* @default true
|
|
22869
|
+
* @since 11.4.6
|
|
22870
|
+
* @apioption xAxis.plotBands.label.inside
|
|
22871
|
+
*/
|
|
22827
22872
|
/**
|
|
22828
22873
|
* Rotation of the text label in degrees .
|
|
22829
22874
|
*
|
|
@@ -23971,6 +24016,15 @@
|
|
|
23971
24016
|
text.join('') :
|
|
23972
24017
|
text
|
|
23973
24018
|
});
|
|
24019
|
+
// When the length of the label has increased, immediately
|
|
24020
|
+
// update the x position to prevent tooltip from flowing
|
|
24021
|
+
// outside the viewport during animation (#21371)
|
|
24022
|
+
if (this.outside) {
|
|
24023
|
+
label.attr({
|
|
24024
|
+
x: clamp(label.x || 0, 0, this.getPlayingField().width -
|
|
24025
|
+
(label.width || 0))
|
|
24026
|
+
});
|
|
24027
|
+
}
|
|
23974
24028
|
if (!styledMode) {
|
|
23975
24029
|
label.attr({
|
|
23976
24030
|
stroke: (options.borderColor ||
|
|
@@ -27601,7 +27655,7 @@
|
|
|
27601
27655
|
* The legend object.
|
|
27602
27656
|
*/
|
|
27603
27657
|
function lineMarker(legend, item, hasArea) {
|
|
27604
|
-
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 *
|
|
27658
|
+
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) *
|
|
27605
27659
|
// Render line and marker slightly higher to make room for the
|
|
27606
27660
|
// area
|
|
27607
27661
|
(hasArea ? 0.4 : 0.3)), attr = {};
|
|
@@ -31587,7 +31641,7 @@
|
|
|
31587
31641
|
* @private
|
|
31588
31642
|
*/
|
|
31589
31643
|
function limitedRange(val) {
|
|
31590
|
-
return clamp(val, -
|
|
31644
|
+
return clamp(val, -1e9, 1e9);
|
|
31591
31645
|
}
|
|
31592
31646
|
// Translate each point
|
|
31593
31647
|
for (i = 0; i < dataLength; i++) {
|
|
@@ -36116,10 +36170,22 @@
|
|
|
36116
36170
|
* @function Highcharts.Chart#getContainerBox
|
|
36117
36171
|
*/
|
|
36118
36172
|
getContainerBox() {
|
|
36119
|
-
|
|
36173
|
+
// Temporarily hide support divs from a11y and others, #21888
|
|
36174
|
+
const nonContainers = [].map.call(this.renderTo.children, (child) => {
|
|
36175
|
+
if (child !== this.container) {
|
|
36176
|
+
const display = child.style.display;
|
|
36177
|
+
child.style.display = 'none';
|
|
36178
|
+
return [child, display];
|
|
36179
|
+
}
|
|
36180
|
+
}), box = {
|
|
36120
36181
|
width: getStyle(this.renderTo, 'width', true) || 0,
|
|
36121
|
-
height: getStyle(this.renderTo, 'height', true) || 0
|
|
36182
|
+
height: (getStyle(this.renderTo, 'height', true) || 0)
|
|
36122
36183
|
};
|
|
36184
|
+
// Restore the non-containers
|
|
36185
|
+
nonContainers.filter(Boolean).forEach(([div, display]) => {
|
|
36186
|
+
div.style.display = display;
|
|
36187
|
+
});
|
|
36188
|
+
return box;
|
|
36123
36189
|
}
|
|
36124
36190
|
/**
|
|
36125
36191
|
* Internal function to get the chart width and height according to options
|
|
@@ -36130,7 +36196,10 @@
|
|
|
36130
36196
|
* @function Highcharts.Chart#getChartSize
|
|
36131
36197
|
*/
|
|
36132
36198
|
getChartSize() {
|
|
36133
|
-
const chart = this, optionsChart = chart.options.chart, widthOption = optionsChart.width, heightOption = optionsChart.height, containerBox = chart.getContainerBox()
|
|
36199
|
+
const chart = this, optionsChart = chart.options.chart, widthOption = optionsChart.width, heightOption = optionsChart.height, containerBox = chart.getContainerBox(), enableDefaultHeight = containerBox.height > 1 &&
|
|
36200
|
+
!( // #21510, prevent infinite reflow
|
|
36201
|
+
!chart.renderTo.parentElement?.style.height &&
|
|
36202
|
+
chart.renderTo.style.height === '100%');
|
|
36134
36203
|
/**
|
|
36135
36204
|
* The current pixel width of the chart.
|
|
36136
36205
|
*
|
|
@@ -36147,7 +36216,7 @@
|
|
|
36147
36216
|
* @type {number}
|
|
36148
36217
|
*/
|
|
36149
36218
|
chart.chartHeight = Math.max(0, relativeLength(heightOption, chart.chartWidth) ||
|
|
36150
|
-
(
|
|
36219
|
+
(enableDefaultHeight ? containerBox.height : 400));
|
|
36151
36220
|
chart.containerBox = containerBox;
|
|
36152
36221
|
}
|
|
36153
36222
|
/**
|
|
@@ -36295,7 +36364,8 @@
|
|
|
36295
36364
|
'-webkit-tap-highlight-color': 'rgba(0,0,0,0)',
|
|
36296
36365
|
userSelect: 'none', // #13503
|
|
36297
36366
|
'touch-action': 'manipulation',
|
|
36298
|
-
outline: 'none'
|
|
36367
|
+
outline: 'none',
|
|
36368
|
+
padding: '0px'
|
|
36299
36369
|
}, optionsChart.style || {});
|
|
36300
36370
|
}
|
|
36301
36371
|
/**
|
|
@@ -37863,8 +37933,11 @@
|
|
|
37863
37933
|
}
|
|
37864
37934
|
let newMin = axis.toValue(minPx, true) +
|
|
37865
37935
|
// Don't apply offset for selection (#20784)
|
|
37866
|
-
(selection
|
|
37867
|
-
|
|
37936
|
+
(selection || axis.isOrdinal ?
|
|
37937
|
+
0 : minPointOffset * pointRangeDirection), newMax = axis.toValue(minPx + len / scale, true) -
|
|
37938
|
+
(
|
|
37939
|
+
// Don't apply offset for selection (#20784)
|
|
37940
|
+
selection || axis.isOrdinal ?
|
|
37868
37941
|
0 :
|
|
37869
37942
|
((minPointOffset * pointRangeDirection) ||
|
|
37870
37943
|
// Polar zoom tests failed when this was not
|
|
@@ -37909,7 +37982,10 @@
|
|
|
37909
37982
|
// It is not necessary to calculate extremes on ordinal axis,
|
|
37910
37983
|
// because they are already calculated, so we don't want to override
|
|
37911
37984
|
// them.
|
|
37912
|
-
if (!axis.isOrdinal ||
|
|
37985
|
+
if (!axis.isOrdinal ||
|
|
37986
|
+
axis.options.overscroll || // #21316
|
|
37987
|
+
scale !== 1 ||
|
|
37988
|
+
reset) {
|
|
37913
37989
|
// If the new range spills over, either to the min or max,
|
|
37914
37990
|
// adjust it.
|
|
37915
37991
|
if (newMin < floor) {
|
|
@@ -42274,6 +42350,15 @@
|
|
|
42274
42350
|
// read text bounding box
|
|
42275
42351
|
dataLabel.css(style).shadow(labelOptions.shadow);
|
|
42276
42352
|
}
|
|
42353
|
+
else if (style.width) {
|
|
42354
|
+
// In styled mode with a width property set,
|
|
42355
|
+
// the width should be applied to the
|
|
42356
|
+
// dataLabel. (#20499)
|
|
42357
|
+
dataLabel.css({
|
|
42358
|
+
width: style.width,
|
|
42359
|
+
textOverflow: style.textOverflow
|
|
42360
|
+
});
|
|
42361
|
+
}
|
|
42277
42362
|
fireEvent(dataLabel, 'beforeAddingDataLabel', { labelOptions, point });
|
|
42278
42363
|
if (!dataLabel.added) {
|
|
42279
42364
|
dataLabel.add(dataLabelsGroup);
|
|
@@ -45935,7 +46020,7 @@
|
|
|
45935
46020
|
LogarithmicAxis.compose(G.Axis);
|
|
45936
46021
|
OverlappingDataLabels.compose(G.Chart);
|
|
45937
46022
|
PieDataLabel.compose(G.Series.types.pie);
|
|
45938
|
-
PlotLineOrBand.compose(G.Axis);
|
|
46023
|
+
PlotLineOrBand.compose(G.Chart, G.Axis);
|
|
45939
46024
|
Pointer.compose(G.Chart);
|
|
45940
46025
|
Responsive.compose(G.Chart);
|
|
45941
46026
|
ScrollablePlotArea.compose(G.Axis, G.Chart, G.Series);
|
|
@@ -47119,13 +47204,23 @@
|
|
|
47119
47204
|
isNaN(scrollMax) ||
|
|
47120
47205
|
!defined(axis.min) ||
|
|
47121
47206
|
!defined(axis.max) ||
|
|
47122
|
-
axis.
|
|
47207
|
+
axis.dataMin === axis.dataMax // #10733
|
|
47123
47208
|
) {
|
|
47124
|
-
// Default action: when extremes are the same or there is
|
|
47209
|
+
// Default action: when data extremes are the same or there is
|
|
47125
47210
|
// not extremes on the axis, but scrollbar exists, make it
|
|
47126
47211
|
// full size
|
|
47127
47212
|
scrollbar.setRange(0, 1);
|
|
47128
47213
|
}
|
|
47214
|
+
else if (axis.min === axis.max) { // #20359
|
|
47215
|
+
// When the extremes are the same, set the scrollbar to a point
|
|
47216
|
+
// within the extremes range. Utilize pointRange to perform the
|
|
47217
|
+
// calculations. (#20359)
|
|
47218
|
+
const interval = axis.pointRange / (axis.dataMax +
|
|
47219
|
+
1);
|
|
47220
|
+
from = interval * axis.min;
|
|
47221
|
+
to = interval * (axis.max + 1);
|
|
47222
|
+
scrollbar.setRange(from, to);
|
|
47223
|
+
}
|
|
47129
47224
|
else {
|
|
47130
47225
|
from = ((axis.min - scrollMin) /
|
|
47131
47226
|
(scrollMax - scrollMin));
|
|
@@ -48335,7 +48430,10 @@
|
|
|
48335
48430
|
const handlesOptions = navigatorOptions.handles, { height, width } = handlesOptions;
|
|
48336
48431
|
[0, 1].forEach((index) => {
|
|
48337
48432
|
const symbolName = handlesOptions.symbols[index];
|
|
48338
|
-
if (!navigator.handles[index]
|
|
48433
|
+
if (!navigator.handles[index] ||
|
|
48434
|
+
navigator.handles[index].symbolUrl !== symbolName) {
|
|
48435
|
+
// Generate symbol from scratch if we're dealing with an URL
|
|
48436
|
+
navigator.handles[index]?.destroy();
|
|
48339
48437
|
navigator.handles[index] = renderer.symbol(symbolName, -width / 2 - 1, 0, width, height, handlesOptions);
|
|
48340
48438
|
// Z index is 6 for right handle, 7 for left. Can't be 10,
|
|
48341
48439
|
// because of the tooltip in inverted chart (#2908).
|
|
@@ -48343,9 +48441,11 @@
|
|
|
48343
48441
|
.addClass('highcharts-navigator-handle ' +
|
|
48344
48442
|
'highcharts-navigator-handle-' +
|
|
48345
48443
|
['left', 'right'][index]).add(navigatorGroup);
|
|
48444
|
+
navigator.addMouseEvents();
|
|
48346
48445
|
// If the navigator symbol changed, update its path and name
|
|
48347
48446
|
}
|
|
48348
|
-
else if (
|
|
48447
|
+
else if (!navigator.handles[index].isImg &&
|
|
48448
|
+
navigator.handles[index].symbolName !== symbolName) {
|
|
48349
48449
|
const symbolFn = symbols[symbolName], path = symbolFn.call(symbols, -width / 2 - 1, 0, width, height);
|
|
48350
48450
|
navigator.handles[index].attr({
|
|
48351
48451
|
d: path
|