highcharts 12.2.0 → 12.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bower.json +1 -1
- package/css/annotations/popup.css +86 -45
- package/css/highcharts.css +40 -30
- package/css/stocktools/gui.css +28 -11
- package/es-modules/Accessibility/Components/InfoRegionsComponent.js +3 -3
- package/es-modules/Accessibility/Components/LegendComponent.js +10 -1
- package/es-modules/Accessibility/Components/MenuComponent.js +23 -22
- package/es-modules/Accessibility/HighContrastMode.js +0 -5
- package/es-modules/Core/Axis/AxisDefaults.js +5 -0
- package/es-modules/Core/Axis/OrdinalAxis.js +19 -11
- package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +14 -1
- package/es-modules/Core/Axis/RadialAxis.js +3 -4
- package/es-modules/Core/Axis/Tick.js +1 -1
- package/es-modules/Core/Axis/WaterfallAxis.js +4 -4
- package/es-modules/Core/Chart/Chart.js +31 -25
- package/es-modules/Core/Chart/ChartDefaults.js +13 -0
- package/es-modules/Core/Chart/GanttChart.js +4 -2
- package/es-modules/Core/Chart/StockChart.js +1 -1
- package/es-modules/Core/Color/Color.js +4 -8
- package/es-modules/Core/Defaults.js +4 -0
- package/es-modules/Core/Globals.js +1 -1
- package/es-modules/Core/HttpUtilities.js +45 -38
- package/es-modules/Core/Pointer.js +3 -4
- package/es-modules/Core/Renderer/HTML/AST.js +14 -14
- package/es-modules/Core/Renderer/HTML/HTMLElement.js +6 -2
- package/es-modules/Core/Renderer/SVG/SVGRenderer.js +4 -1
- package/es-modules/Core/Series/DataLabel.js +4 -2
- package/es-modules/Core/Series/Series.js +16 -6
- package/es-modules/Core/Series/SeriesDefaults.js +1 -3
- package/es-modules/Core/Templating.js +6 -5
- package/es-modules/Core/Tooltip.js +3 -1
- package/es-modules/Data/Connectors/CSVConnector.js +32 -15
- package/es-modules/Data/Connectors/DataConnector.js +107 -12
- package/es-modules/Data/Connectors/GoogleSheetsConnector.js +29 -17
- package/es-modules/Data/Connectors/HTMLTableConnector.js +3 -3
- package/es-modules/Data/Connectors/JSONConnector.js +37 -16
- package/es-modules/Data/Converters/HTMLTableConverter.js +1 -1
- package/es-modules/Data/DataPool.js +15 -4
- package/es-modules/Extensions/Annotations/Annotation.js +10 -7
- package/es-modules/Extensions/Annotations/AnnotationChart.js +7 -3
- package/es-modules/Extensions/Annotations/AnnotationDefaults.js +38 -12
- package/es-modules/Extensions/Annotations/Controllables/ControllableLabel.js +10 -3
- package/es-modules/Extensions/Annotations/NavigationBindingsDefaults.js +1 -1
- package/es-modules/Extensions/Annotations/Popup/PopupAnnotations.js +10 -4
- package/es-modules/Extensions/Annotations/Popup/PopupComposition.js +1 -1
- package/es-modules/Extensions/Annotations/Types/BasicAnnotation.js +0 -3
- package/es-modules/Extensions/Annotations/Types/CrookedLine.js +97 -94
- package/es-modules/Extensions/Annotations/Types/ElliottWave.js +43 -36
- package/es-modules/Extensions/Annotations/Types/Fibonacci.js +86 -82
- package/es-modules/Extensions/Annotations/Types/FibonacciTimeZones.js +74 -71
- package/es-modules/Extensions/Annotations/Types/InfinityLine.js +17 -3
- package/es-modules/Extensions/Annotations/Types/Measure.js +229 -226
- package/es-modules/Extensions/Annotations/Types/Pitchfork.js +39 -40
- package/es-modules/Extensions/Annotations/Types/TimeCycles.js +56 -52
- package/es-modules/Extensions/Annotations/Types/Tunnel.js +80 -76
- package/es-modules/Extensions/Annotations/Types/VerticalLine.js +57 -53
- package/es-modules/Extensions/Boost/BoostSeries.js +22 -3
- package/es-modules/Extensions/DownloadURL.js +41 -8
- package/es-modules/Extensions/ExportData/ExportData.js +876 -780
- package/es-modules/Extensions/ExportData/ExportDataDefaults.js +67 -13
- package/es-modules/Extensions/Exporting/Exporting.js +1091 -546
- package/es-modules/Extensions/Exporting/ExportingDefaults.js +52 -36
- package/es-modules/Extensions/Exporting/Fullscreen.js +2 -2
- package/es-modules/Extensions/NonCartesianSeriesZoom/NonCartesianSeriesZoom.js +311 -0
- package/es-modules/Extensions/OfflineExporting/OfflineExporting.js +254 -575
- package/es-modules/Extensions/OfflineExporting/OfflineExportingDefaults.js +9 -38
- package/es-modules/Extensions/Pane/Pane.js +1 -1
- package/es-modules/Extensions/Pane/PaneDefaults.js +9 -1
- package/es-modules/Extensions/Themes/Adaptive.js +1009 -0
- package/es-modules/Maps/MapNavigation.js +1 -1
- package/es-modules/Series/Bubble/BubblePoint.js +2 -2
- package/es-modules/Series/Column/ColumnSeriesDefaults.js +1 -2
- package/es-modules/Series/DragNodesComposition.js +4 -0
- package/es-modules/Series/Flags/FlagsSeriesDefaults.js +2 -0
- package/es-modules/Series/GraphLayoutComposition.js +2 -1
- package/es-modules/Series/Heatmap/HeatmapSeriesDefaults.js +1 -2
- package/es-modules/Series/Item/ItemSeries.js +1 -1
- package/es-modules/Series/PackedBubble/PackedBubblePoint.js +5 -0
- package/es-modules/Series/Pie/PieSeriesDefaults.js +1 -2
- package/es-modules/Series/PolarComposition.js +1 -1
- package/es-modules/Series/SolidGauge/SolidGaugeSeries.js +7 -2
- package/es-modules/Series/Treegraph/TreegraphSeries.js +3 -1
- package/es-modules/Series/Variwide/VariwideSeries.js +8 -1
- package/es-modules/Series/Waterfall/WaterfallSeries.js +6 -8
- package/es-modules/Series/Wordcloud/WordcloudSeries.js +87 -10
- package/es-modules/Shared/BaseForm.js +6 -3
- package/es-modules/Shared/TimeBase.js +5 -1
- package/es-modules/Stock/Navigator/NavigatorComposition.js +2 -2
- package/es-modules/Stock/Scrollbar/Scrollbar.js +5 -7
- package/es-modules/Stock/StockTools/StockToolbar.js +1 -1
- package/es-modules/Stock/StockTools/StockToolsBindings.js +34 -113
- package/es-modules/masters/highcharts-3d.src.js +3 -1
- package/es-modules/masters/highcharts-gantt.src.js +1 -1
- package/es-modules/masters/highcharts-more.src.js +1 -1
- package/es-modules/masters/highcharts.src.js +1 -1
- package/es-modules/masters/highmaps.src.js +1 -1
- package/es-modules/masters/highstock.src.js +1 -1
- package/es-modules/masters/i18n/fr-FR.src.d.ts +1 -1
- package/es-modules/masters/i18n/fr-FR.src.js +1 -1
- package/es-modules/masters/i18n/nb-NO.src.d.ts +1 -1
- package/es-modules/masters/i18n/nb-NO.src.js +1 -1
- package/es-modules/masters/i18n/zh-CN.src.d.ts +1 -1
- package/es-modules/masters/i18n/zh-CN.src.js +1 -1
- package/es-modules/masters/indicators/acceleration-bands.src.js +1 -1
- package/es-modules/masters/indicators/accumulation-distribution.src.js +1 -1
- package/es-modules/masters/indicators/ao.src.js +1 -1
- package/es-modules/masters/indicators/apo.src.js +1 -1
- package/es-modules/masters/indicators/aroon-oscillator.src.js +1 -1
- package/es-modules/masters/indicators/aroon.src.js +1 -1
- package/es-modules/masters/indicators/atr.src.js +1 -1
- package/es-modules/masters/indicators/bollinger-bands.src.js +1 -1
- package/es-modules/masters/indicators/cci.src.js +1 -1
- package/es-modules/masters/indicators/chaikin.src.js +1 -1
- package/es-modules/masters/indicators/cmf.src.js +1 -1
- package/es-modules/masters/indicators/cmo.src.js +1 -1
- package/es-modules/masters/indicators/dema.src.js +1 -1
- package/es-modules/masters/indicators/disparity-index.src.js +1 -1
- package/es-modules/masters/indicators/dmi.src.js +1 -1
- package/es-modules/masters/indicators/dpo.src.js +1 -1
- package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/es-modules/masters/indicators/indicators-all.src.js +1 -1
- package/es-modules/masters/indicators/indicators.src.js +1 -1
- package/es-modules/masters/indicators/keltner-channels.src.js +1 -1
- package/es-modules/masters/indicators/klinger.src.js +1 -1
- package/es-modules/masters/indicators/macd.src.js +1 -1
- package/es-modules/masters/indicators/mfi.src.js +1 -1
- package/es-modules/masters/indicators/momentum.src.js +1 -1
- package/es-modules/masters/indicators/natr.src.js +1 -1
- package/es-modules/masters/indicators/obv.src.js +1 -1
- package/es-modules/masters/indicators/pivot-points.src.js +1 -1
- package/es-modules/masters/indicators/ppo.src.js +1 -1
- package/es-modules/masters/indicators/price-channel.src.js +1 -1
- package/es-modules/masters/indicators/price-envelopes.src.js +1 -1
- package/es-modules/masters/indicators/psar.src.js +1 -1
- package/es-modules/masters/indicators/regressions.src.js +1 -1
- package/es-modules/masters/indicators/roc.src.js +1 -1
- package/es-modules/masters/indicators/rsi.src.js +1 -1
- package/es-modules/masters/indicators/slow-stochastic.src.js +1 -1
- package/es-modules/masters/indicators/stochastic.src.js +1 -1
- package/es-modules/masters/indicators/supertrend.src.js +1 -1
- package/es-modules/masters/indicators/tema.src.js +1 -1
- package/es-modules/masters/indicators/trendline.src.js +1 -1
- package/es-modules/masters/indicators/trix.src.js +1 -1
- package/es-modules/masters/indicators/volume-by-price.src.js +1 -1
- package/es-modules/masters/indicators/vwap.src.js +1 -1
- package/es-modules/masters/indicators/williams-r.src.js +1 -1
- package/es-modules/masters/indicators/wma.src.js +1 -1
- package/es-modules/masters/indicators/zigzag.src.js +1 -1
- package/es-modules/masters/modules/accessibility.src.js +1 -1
- package/es-modules/masters/modules/annotations-advanced.src.js +1 -1
- package/es-modules/masters/modules/annotations.src.js +1 -1
- package/es-modules/masters/modules/arc-diagram.src.js +1 -1
- package/es-modules/masters/modules/arrow-symbols.src.js +1 -1
- package/es-modules/masters/modules/boost-canvas.src.js +1 -1
- package/es-modules/masters/modules/boost.src.js +1 -1
- package/es-modules/masters/modules/broken-axis.src.js +1 -1
- package/es-modules/masters/modules/bullet.src.js +1 -1
- package/es-modules/masters/modules/coloraxis.src.js +1 -1
- package/es-modules/masters/modules/current-date-indicator.src.js +1 -1
- package/es-modules/masters/modules/cylinder.src.js +1 -1
- package/es-modules/masters/modules/data-tools.src.js +1 -1
- package/es-modules/masters/modules/data.src.js +1 -1
- package/es-modules/masters/modules/datagrouping.src.js +1 -1
- package/es-modules/masters/modules/debugger.src.js +1 -1
- package/es-modules/masters/modules/dependency-wheel.src.js +1 -1
- package/es-modules/masters/modules/dotplot.src.js +1 -1
- package/es-modules/masters/modules/drag-panes.src.js +1 -1
- package/es-modules/masters/modules/draggable-points.src.js +1 -1
- package/es-modules/masters/modules/drilldown.src.js +3 -1
- package/es-modules/masters/modules/dumbbell.src.js +1 -1
- package/es-modules/masters/modules/export-data.src.js +3 -3
- package/es-modules/masters/modules/exporting.src.js +5 -1
- package/es-modules/masters/modules/flowmap.src.js +1 -1
- package/es-modules/masters/modules/full-screen.src.js +1 -1
- package/es-modules/masters/modules/funnel.src.js +1 -1
- package/es-modules/masters/modules/funnel3d.src.js +1 -1
- package/es-modules/masters/modules/gantt.src.js +1 -1
- package/es-modules/masters/modules/geoheatmap.src.js +1 -1
- package/es-modules/masters/modules/grid-axis.src.js +1 -1
- package/es-modules/masters/modules/heatmap.src.js +1 -1
- package/es-modules/masters/modules/heikinashi.src.js +1 -1
- package/es-modules/masters/modules/histogram-bellcurve.src.js +1 -1
- package/es-modules/masters/modules/hollowcandlestick.src.js +1 -1
- package/es-modules/masters/modules/item-series.src.js +1 -1
- package/es-modules/masters/modules/lollipop.src.js +1 -1
- package/es-modules/masters/modules/map.src.js +1 -1
- package/es-modules/masters/modules/marker-clusters.src.js +1 -1
- package/es-modules/masters/modules/mouse-wheel-zoom.src.js +1 -1
- package/es-modules/masters/modules/navigator.src.js +1 -1
- package/es-modules/masters/modules/networkgraph.src.js +1 -1
- package/es-modules/masters/modules/no-data-to-display.src.js +1 -1
- package/es-modules/masters/modules/non-cartesian-zoom.src.d.ts +2 -0
- package/es-modules/masters/modules/non-cartesian-zoom.src.js +18 -0
- package/es-modules/masters/modules/offline-exporting.src.js +2 -2
- package/es-modules/masters/modules/organization.src.js +1 -1
- package/es-modules/masters/modules/parallel-coordinates.src.js +1 -1
- package/es-modules/masters/modules/pareto.src.js +1 -1
- package/es-modules/masters/modules/pathfinder.src.js +1 -1
- package/es-modules/masters/modules/pattern-fill.src.js +1 -1
- package/es-modules/masters/modules/pictorial.src.js +1 -1
- package/es-modules/masters/modules/pointandfigure.src.js +1 -1
- package/es-modules/masters/modules/price-indicator.src.js +1 -1
- package/es-modules/masters/modules/pyramid3d.src.js +1 -1
- package/es-modules/masters/modules/renko.src.js +1 -1
- package/es-modules/masters/modules/sankey.src.js +1 -1
- package/es-modules/masters/modules/series-label.src.js +1 -1
- package/es-modules/masters/modules/series-on-point.src.js +1 -1
- package/es-modules/masters/modules/solid-gauge.src.js +1 -1
- package/es-modules/masters/modules/sonification.src.js +1 -1
- package/es-modules/masters/modules/static-scale.src.js +1 -1
- package/es-modules/masters/modules/stock-tools.src.js +1 -1
- package/es-modules/masters/modules/stock.src.js +1 -1
- package/es-modules/masters/modules/streamgraph.src.js +1 -1
- package/es-modules/masters/modules/sunburst.src.js +1 -1
- package/es-modules/masters/modules/textpath.src.js +1 -1
- package/es-modules/masters/modules/tiledwebmap.src.js +1 -1
- package/es-modules/masters/modules/tilemap.src.js +1 -1
- package/es-modules/masters/modules/timeline.src.js +1 -1
- package/es-modules/masters/modules/treegraph.src.js +1 -1
- package/es-modules/masters/modules/treegrid.src.js +1 -1
- package/es-modules/masters/modules/treemap.src.js +1 -1
- package/es-modules/masters/modules/variable-pie.src.js +1 -1
- package/es-modules/masters/modules/variwide.src.js +1 -1
- package/es-modules/masters/modules/vector.src.js +1 -1
- package/es-modules/masters/modules/venn.src.js +1 -1
- package/es-modules/masters/modules/windbarb.src.js +1 -1
- package/es-modules/masters/modules/wordcloud.src.js +1 -1
- package/es-modules/masters/modules/xrange.src.js +1 -1
- package/es-modules/masters/themes/adaptive.src.d.ts +2 -0
- package/es-modules/masters/themes/adaptive.src.js +15 -0
- package/es-modules/masters/themes/avocado.src.js +1 -1
- package/es-modules/masters/themes/brand-dark.src.js +1 -1
- package/es-modules/masters/themes/brand-light.src.js +1 -1
- package/es-modules/masters/themes/dark-blue.src.js +1 -1
- package/es-modules/masters/themes/dark-green.src.js +1 -1
- package/es-modules/masters/themes/dark-unica.src.js +1 -1
- package/es-modules/masters/themes/gray.src.js +1 -1
- package/es-modules/masters/themes/grid-light.src.js +1 -1
- package/es-modules/masters/themes/grid.src.js +1 -1
- package/es-modules/masters/themes/high-contrast-dark.src.js +1 -1
- package/es-modules/masters/themes/high-contrast-light.src.js +1 -1
- package/es-modules/masters/themes/sand-signika.src.js +1 -1
- package/es-modules/masters/themes/skies.src.js +1 -1
- package/es-modules/masters/themes/sunset.src.js +1 -1
- package/es-modules/tsconfig.tsbuildinfo +1 -1
- package/esm/highcharts-3d.js +11 -1
- package/esm/highcharts-3d.src.js +3 -1
- package/esm/highcharts-gantt.js +8 -1
- package/esm/highcharts-gantt.src.js +1 -1
- package/esm/highcharts-more.js +9 -1
- package/esm/highcharts-more.src.js +44 -29
- package/esm/highcharts.js +9 -2
- package/esm/highcharts.src.js +138 -80
- package/esm/highmaps.js +8 -1
- package/esm/highmaps.src.js +1 -1
- package/esm/highstock.js +8 -1
- package/esm/highstock.src.js +1 -1
- package/esm/i18n/fr-FR.js +13 -1
- package/esm/i18n/fr-FR.src.js +1 -1
- package/esm/i18n/nb-NO.js +13 -1
- package/esm/i18n/nb-NO.src.js +1 -1
- package/esm/i18n/zh-CN.js +13 -1
- package/esm/i18n/zh-CN.src.js +1 -1
- package/esm/indicators/acceleration-bands.js +12 -1
- package/esm/indicators/acceleration-bands.src.js +1 -1
- package/esm/indicators/accumulation-distribution.js +12 -1
- package/esm/indicators/accumulation-distribution.src.js +1 -1
- package/esm/indicators/ao.js +12 -1
- package/esm/indicators/ao.src.js +1 -1
- package/esm/indicators/apo.js +12 -1
- package/esm/indicators/apo.src.js +1 -1
- package/esm/indicators/aroon-oscillator.js +12 -1
- package/esm/indicators/aroon-oscillator.src.js +1 -1
- package/esm/indicators/aroon.js +12 -1
- package/esm/indicators/aroon.src.js +1 -1
- package/esm/indicators/atr.js +12 -1
- package/esm/indicators/atr.src.js +1 -1
- package/esm/indicators/bollinger-bands.js +12 -1
- package/esm/indicators/bollinger-bands.src.js +1 -1
- package/esm/indicators/cci.js +12 -1
- package/esm/indicators/cci.src.js +1 -1
- package/esm/indicators/chaikin.js +12 -1
- package/esm/indicators/chaikin.src.js +1 -1
- package/esm/indicators/cmf.js +11 -1
- package/esm/indicators/cmf.src.js +1 -1
- package/esm/indicators/cmo.js +12 -1
- package/esm/indicators/cmo.src.js +1 -1
- package/esm/indicators/dema.js +12 -1
- package/esm/indicators/dema.src.js +1 -1
- package/esm/indicators/disparity-index.js +12 -1
- package/esm/indicators/disparity-index.src.js +1 -1
- package/esm/indicators/dmi.js +12 -1
- package/esm/indicators/dmi.src.js +1 -1
- package/esm/indicators/dpo.js +12 -1
- package/esm/indicators/dpo.src.js +1 -1
- package/esm/indicators/ichimoku-kinko-hyo.js +12 -1
- package/esm/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/esm/indicators/indicators-all.js +12 -1
- package/esm/indicators/indicators-all.src.js +1 -1
- package/esm/indicators/indicators.js +12 -1
- package/esm/indicators/indicators.src.js +1 -1
- package/esm/indicators/keltner-channels.js +12 -1
- package/esm/indicators/keltner-channels.src.js +1 -1
- package/esm/indicators/klinger.js +12 -1
- package/esm/indicators/klinger.src.js +1 -1
- package/esm/indicators/macd.js +12 -1
- package/esm/indicators/macd.src.js +1 -1
- package/esm/indicators/mfi.js +12 -1
- package/esm/indicators/mfi.src.js +1 -1
- package/esm/indicators/momentum.js +12 -1
- package/esm/indicators/momentum.src.js +1 -1
- package/esm/indicators/natr.js +12 -1
- package/esm/indicators/natr.src.js +1 -1
- package/esm/indicators/obv.js +12 -1
- package/esm/indicators/obv.src.js +1 -1
- package/esm/indicators/pivot-points.js +12 -1
- package/esm/indicators/pivot-points.src.js +1 -1
- package/esm/indicators/ppo.js +12 -1
- package/esm/indicators/ppo.src.js +1 -1
- package/esm/indicators/price-channel.js +12 -1
- package/esm/indicators/price-channel.src.js +1 -1
- package/esm/indicators/price-envelopes.js +12 -1
- package/esm/indicators/price-envelopes.src.js +1 -1
- package/esm/indicators/psar.js +12 -1
- package/esm/indicators/psar.src.js +1 -1
- package/esm/indicators/regressions.js +12 -1
- package/esm/indicators/regressions.src.js +1 -1
- package/esm/indicators/roc.js +12 -1
- package/esm/indicators/roc.src.js +1 -1
- package/esm/indicators/rsi.js +12 -1
- package/esm/indicators/rsi.src.js +1 -1
- package/esm/indicators/slow-stochastic.js +12 -1
- package/esm/indicators/slow-stochastic.src.js +1 -1
- package/esm/indicators/stochastic.js +12 -1
- package/esm/indicators/stochastic.src.js +1 -1
- package/esm/indicators/supertrend.js +12 -1
- package/esm/indicators/supertrend.src.js +1 -1
- package/esm/indicators/tema.js +12 -1
- package/esm/indicators/tema.src.js +1 -1
- package/esm/indicators/trendline.js +12 -1
- package/esm/indicators/trendline.src.js +1 -1
- package/esm/indicators/trix.js +12 -1
- package/esm/indicators/trix.src.js +1 -1
- package/esm/indicators/volume-by-price.js +12 -1
- package/esm/indicators/volume-by-price.src.js +1 -1
- package/esm/indicators/vwap.js +12 -1
- package/esm/indicators/vwap.src.js +1 -1
- package/esm/indicators/williams-r.js +12 -1
- package/esm/indicators/williams-r.src.js +1 -1
- package/esm/indicators/wma.js +12 -1
- package/esm/indicators/wma.src.js +1 -1
- package/esm/indicators/zigzag.js +12 -1
- package/esm/indicators/zigzag.src.js +1 -1
- package/esm/modules/accessibility.js +12 -1
- package/esm/modules/accessibility.src.js +46 -43
- package/esm/modules/annotations-advanced.js +11 -1
- package/esm/modules/annotations-advanced.src.js +866 -775
- package/esm/modules/annotations.js +11 -1
- package/esm/modules/annotations.src.js +89 -40
- package/esm/modules/arc-diagram.js +11 -1
- package/esm/modules/arc-diagram.src.js +1 -1
- package/esm/modules/arrow-symbols.js +11 -1
- package/esm/modules/arrow-symbols.src.js +1 -1
- package/esm/modules/boost-canvas.js +12 -1
- package/esm/modules/boost-canvas.src.js +23 -4
- package/esm/modules/boost.js +13 -1
- package/esm/modules/boost.src.js +23 -4
- package/esm/modules/broken-axis.js +9 -1
- package/esm/modules/broken-axis.src.js +1 -1
- package/esm/modules/bullet.js +11 -1
- package/esm/modules/bullet.src.js +1 -1
- package/esm/modules/coloraxis.js +11 -1
- package/esm/modules/coloraxis.src.js +1 -1
- package/esm/modules/current-date-indicator.js +11 -1
- package/esm/modules/current-date-indicator.src.js +1 -1
- package/esm/modules/cylinder.js +12 -1
- package/esm/modules/cylinder.src.js +1 -1
- package/esm/modules/data-tools.js +11 -1
- package/esm/modules/data-tools.src.js +225 -69
- package/esm/modules/data.js +11 -1
- package/esm/modules/data.src.js +46 -39
- package/esm/modules/datagrouping.js +11 -1
- package/esm/modules/datagrouping.src.js +1 -1
- package/esm/modules/debugger.js +11 -1
- package/esm/modules/debugger.src.js +1 -1
- package/esm/modules/dependency-wheel.js +12 -1
- package/esm/modules/dependency-wheel.src.js +1 -1
- package/esm/modules/dotplot.js +11 -1
- package/esm/modules/dotplot.src.js +1 -1
- package/esm/modules/drag-panes.js +13 -1
- package/esm/modules/drag-panes.src.js +1 -1
- package/esm/modules/draggable-points.js +9 -1
- package/esm/modules/draggable-points.src.js +1 -1
- package/esm/modules/drilldown.js +13 -1
- package/esm/modules/drilldown.src.js +3 -1
- package/esm/modules/dumbbell.js +9 -1
- package/esm/modules/dumbbell.src.js +1 -1
- package/esm/modules/export-data.js +12 -1
- package/esm/modules/export-data.src.js +984 -798
- package/esm/modules/exporting.js +11 -1
- package/esm/modules/exporting.src.js +1373 -642
- package/esm/modules/flowmap.js +9 -1
- package/esm/modules/flowmap.src.js +1 -1
- package/esm/modules/full-screen.js +12 -1
- package/esm/modules/full-screen.src.js +3 -3
- package/esm/modules/funnel.js +11 -1
- package/esm/modules/funnel.src.js +1 -1
- package/esm/modules/funnel3d.js +13 -1
- package/esm/modules/funnel3d.src.js +1 -1
- package/esm/modules/gantt.js +11 -1
- package/esm/modules/gantt.src.js +33 -25
- package/esm/modules/geoheatmap.js +9 -1
- package/esm/modules/geoheatmap.src.js +1 -1
- package/esm/modules/grid-axis.js +11 -1
- package/esm/modules/grid-axis.src.js +1 -1
- package/esm/modules/heatmap.js +9 -1
- package/esm/modules/heatmap.src.js +2 -3
- package/esm/modules/heikinashi.js +12 -1
- package/esm/modules/heikinashi.src.js +1 -1
- package/esm/modules/histogram-bellcurve.js +10 -1
- package/esm/modules/histogram-bellcurve.src.js +1 -1
- package/esm/modules/hollowcandlestick.js +12 -1
- package/esm/modules/hollowcandlestick.src.js +1 -1
- package/esm/modules/item-series.js +11 -1
- package/esm/modules/item-series.src.js +3 -5
- package/esm/modules/lollipop.js +9 -1
- package/esm/modules/lollipop.src.js +1 -1
- package/esm/modules/map.js +11 -1
- package/esm/modules/map.src.js +5 -6
- package/esm/modules/marker-clusters.js +11 -1
- package/esm/modules/marker-clusters.src.js +1 -1
- package/esm/modules/mouse-wheel-zoom.js +11 -1
- package/esm/modules/mouse-wheel-zoom.src.js +1 -1
- package/esm/modules/navigator.js +11 -1
- package/esm/modules/navigator.src.js +10 -12
- package/esm/modules/networkgraph.js +11 -1
- package/esm/modules/networkgraph.src.js +7 -2
- package/esm/modules/no-data-to-display.js +12 -1
- package/esm/modules/no-data-to-display.src.js +1 -1
- package/esm/modules/non-cartesian-zoom.d.ts +2 -0
- package/esm/modules/non-cartesian-zoom.js +11 -0
- package/esm/modules/non-cartesian-zoom.src.d.ts +2 -0
- package/esm/modules/non-cartesian-zoom.src.js +374 -0
- package/esm/modules/offline-exporting.js +12 -1
- package/esm/modules/offline-exporting.src.js +334 -3360
- package/esm/modules/organization.js +11 -1
- package/esm/modules/organization.src.js +1 -1
- package/esm/modules/parallel-coordinates.js +11 -1
- package/esm/modules/parallel-coordinates.src.js +1 -1
- package/esm/modules/pareto.js +11 -1
- package/esm/modules/pareto.src.js +1 -1
- package/esm/modules/pathfinder.js +11 -1
- package/esm/modules/pathfinder.src.js +1 -1
- package/esm/modules/pattern-fill.js +12 -1
- package/esm/modules/pattern-fill.src.js +1 -1
- package/esm/modules/pictorial.js +11 -1
- package/esm/modules/pictorial.src.js +1 -1
- package/esm/modules/pointandfigure.js +12 -1
- package/esm/modules/pointandfigure.src.js +1 -1
- package/esm/modules/price-indicator.js +13 -1
- package/esm/modules/price-indicator.src.js +1 -1
- package/esm/modules/pyramid3d.js +14 -1
- package/esm/modules/pyramid3d.src.js +1 -1
- package/esm/modules/renko.js +12 -1
- package/esm/modules/renko.src.js +1 -1
- package/esm/modules/sankey.js +11 -1
- package/esm/modules/sankey.src.js +1 -1
- package/esm/modules/series-label.js +9 -1
- package/esm/modules/series-label.src.js +1 -1
- package/esm/modules/series-on-point.js +12 -1
- package/esm/modules/series-on-point.src.js +1 -1
- package/esm/modules/solid-gauge.js +12 -1
- package/esm/modules/solid-gauge.src.js +8 -3
- package/esm/modules/sonification.js +12 -1
- package/esm/modules/sonification.src.js +42 -9
- package/esm/modules/static-scale.js +11 -1
- package/esm/modules/static-scale.src.js +1 -1
- package/esm/modules/stock-tools.js +13 -1
- package/esm/modules/stock-tools.src.js +37 -116
- package/esm/modules/stock.js +11 -1
- package/esm/modules/stock.src.js +32 -24
- package/esm/modules/streamgraph.js +11 -1
- package/esm/modules/streamgraph.src.js +1 -1
- package/esm/modules/sunburst.js +10 -1
- package/esm/modules/sunburst.src.js +1 -1
- package/esm/modules/textpath.js +9 -1
- package/esm/modules/textpath.src.js +1 -1
- package/esm/modules/tiledwebmap.js +10 -2
- package/esm/modules/tiledwebmap.src.js +1 -1
- package/esm/modules/tilemap.js +12 -1
- package/esm/modules/tilemap.src.js +1 -1
- package/esm/modules/timeline.js +12 -1
- package/esm/modules/timeline.src.js +1 -1
- package/esm/modules/treegraph.js +11 -1
- package/esm/modules/treegraph.src.js +4 -2
- package/esm/modules/treegrid.js +11 -1
- package/esm/modules/treegrid.src.js +1 -1
- package/esm/modules/treemap.js +10 -1
- package/esm/modules/treemap.src.js +1 -1
- package/esm/modules/variable-pie.js +11 -1
- package/esm/modules/variable-pie.src.js +1 -1
- package/esm/modules/variwide.js +11 -1
- package/esm/modules/variwide.src.js +9 -2
- package/esm/modules/vector.js +11 -1
- package/esm/modules/vector.src.js +1 -1
- package/esm/modules/venn.js +10 -1
- package/esm/modules/venn.src.js +1 -1
- package/esm/modules/windbarb.js +11 -1
- package/esm/modules/windbarb.src.js +1 -1
- package/esm/modules/wordcloud.js +10 -1
- package/esm/modules/wordcloud.src.js +88 -11
- package/esm/modules/xrange.js +11 -1
- package/esm/modules/xrange.src.js +1 -1
- package/esm/standalone-navigator.js +9 -2
- package/esm/standalone-navigator.src.js +146 -90
- package/esm/themes/adaptive.d.ts +2 -0
- package/esm/themes/adaptive.js +130 -0
- package/esm/themes/adaptive.src.d.ts +2 -0
- package/esm/themes/adaptive.src.js +1069 -0
- package/esm/themes/avocado.js +9 -1
- package/esm/themes/avocado.src.js +1 -1
- package/esm/themes/brand-dark.js +9 -1
- package/esm/themes/brand-dark.src.js +1 -1
- package/esm/themes/brand-light.js +9 -1
- package/esm/themes/brand-light.src.js +1 -1
- package/esm/themes/dark-blue.js +9 -1
- package/esm/themes/dark-blue.src.js +1 -1
- package/esm/themes/dark-green.js +9 -1
- package/esm/themes/dark-green.src.js +1 -1
- package/esm/themes/dark-unica.js +9 -1
- package/esm/themes/dark-unica.src.js +1 -1
- package/esm/themes/gray.js +9 -1
- package/esm/themes/gray.src.js +1 -1
- package/esm/themes/grid-light.js +9 -1
- package/esm/themes/grid-light.src.js +1 -1
- package/esm/themes/grid.js +9 -1
- package/esm/themes/grid.src.js +1 -1
- package/esm/themes/high-contrast-dark.js +9 -1
- package/esm/themes/high-contrast-dark.src.js +1 -1
- package/esm/themes/high-contrast-light.js +9 -1
- package/esm/themes/high-contrast-light.src.js +1 -1
- package/esm/themes/sand-signika.js +9 -1
- package/esm/themes/sand-signika.src.js +1 -1
- package/esm/themes/skies.js +9 -1
- package/esm/themes/skies.src.js +1 -1
- package/esm/themes/sunset.js +9 -1
- package/esm/themes/sunset.src.js +1 -1
- package/highcharts-3d.d.ts +1 -9
- package/highcharts-3d.js +11 -1
- package/highcharts-3d.src.d.ts +1 -9
- package/highcharts-3d.src.js +3 -1
- package/highcharts-gantt.js +16 -2
- package/highcharts-gantt.src.js +173 -107
- package/highcharts-more.d.ts +1 -9
- package/highcharts-more.js +9 -1
- package/highcharts-more.src.d.ts +1 -9
- package/highcharts-more.src.js +44 -29
- package/highcharts.d.ts +4499 -1477
- package/highcharts.js +9 -2
- package/highcharts.src.d.ts +4499 -1477
- package/highcharts.src.js +138 -80
- package/highmaps.js +16 -2
- package/highmaps.src.js +145 -88
- package/highstock.js +16 -2
- package/highstock.src.js +172 -106
- package/i18n/fr-FR.js +13 -1
- package/i18n/fr-FR.src.js +8 -8
- package/i18n/nb-NO.js +13 -1
- package/i18n/nb-NO.src.js +8 -8
- package/i18n/zh-CN.js +13 -1
- package/i18n/zh-CN.src.js +8 -8
- package/indicators/acceleration-bands.d.ts +1 -9
- package/indicators/acceleration-bands.js +12 -1
- package/indicators/acceleration-bands.src.d.ts +1 -9
- package/indicators/acceleration-bands.src.js +1 -1
- package/indicators/accumulation-distribution.d.ts +1 -9
- package/indicators/accumulation-distribution.js +12 -1
- package/indicators/accumulation-distribution.src.d.ts +1 -9
- package/indicators/accumulation-distribution.src.js +1 -1
- package/indicators/ao.d.ts +1 -9
- package/indicators/ao.js +12 -1
- package/indicators/ao.src.d.ts +1 -9
- package/indicators/ao.src.js +1 -1
- package/indicators/apo.d.ts +1 -9
- package/indicators/apo.js +12 -1
- package/indicators/apo.src.d.ts +1 -9
- package/indicators/apo.src.js +1 -1
- package/indicators/aroon-oscillator.d.ts +1 -9
- package/indicators/aroon-oscillator.js +12 -1
- package/indicators/aroon-oscillator.src.d.ts +1 -9
- package/indicators/aroon-oscillator.src.js +1 -1
- package/indicators/aroon.d.ts +1 -9
- package/indicators/aroon.js +12 -1
- package/indicators/aroon.src.d.ts +1 -9
- package/indicators/aroon.src.js +1 -1
- package/indicators/atr.d.ts +1 -9
- package/indicators/atr.js +12 -1
- package/indicators/atr.src.d.ts +1 -9
- package/indicators/atr.src.js +1 -1
- package/indicators/bollinger-bands.d.ts +1 -9
- package/indicators/bollinger-bands.js +12 -1
- package/indicators/bollinger-bands.src.d.ts +1 -9
- package/indicators/bollinger-bands.src.js +1 -1
- package/indicators/cci.d.ts +1 -9
- package/indicators/cci.js +12 -1
- package/indicators/cci.src.d.ts +1 -9
- package/indicators/cci.src.js +1 -1
- package/indicators/chaikin.d.ts +1 -9
- package/indicators/chaikin.js +12 -1
- package/indicators/chaikin.src.d.ts +1 -9
- package/indicators/chaikin.src.js +1 -1
- package/indicators/cmf.d.ts +1 -9
- package/indicators/cmf.js +11 -1
- package/indicators/cmf.src.d.ts +1 -9
- package/indicators/cmf.src.js +1 -1
- package/indicators/cmo.d.ts +1 -9
- package/indicators/cmo.js +12 -1
- package/indicators/cmo.src.d.ts +1 -9
- package/indicators/cmo.src.js +1 -1
- package/indicators/dema.d.ts +1 -9
- package/indicators/dema.js +12 -1
- package/indicators/dema.src.d.ts +1 -9
- package/indicators/dema.src.js +1 -1
- package/indicators/disparity-index.d.ts +1 -9
- package/indicators/disparity-index.js +12 -1
- package/indicators/disparity-index.src.d.ts +1 -9
- package/indicators/disparity-index.src.js +1 -1
- package/indicators/dmi.d.ts +1 -9
- package/indicators/dmi.js +12 -1
- package/indicators/dmi.src.d.ts +1 -9
- package/indicators/dmi.src.js +1 -1
- package/indicators/dpo.d.ts +1 -9
- package/indicators/dpo.js +12 -1
- package/indicators/dpo.src.d.ts +1 -9
- package/indicators/dpo.src.js +1 -1
- package/indicators/ema.d.ts +1 -9
- package/indicators/ema.src.d.ts +1 -9
- package/indicators/ema.src.js +3 -3
- package/indicators/ichimoku-kinko-hyo.d.ts +1 -9
- package/indicators/ichimoku-kinko-hyo.js +12 -1
- package/indicators/ichimoku-kinko-hyo.src.d.ts +1 -9
- package/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/indicators/indicators-all.d.ts +1 -9
- package/indicators/indicators-all.js +12 -1
- package/indicators/indicators-all.src.d.ts +1 -9
- package/indicators/indicators-all.src.js +1 -1
- package/indicators/indicators.d.ts +1 -9
- package/indicators/indicators.js +12 -1
- package/indicators/indicators.src.d.ts +1 -9
- package/indicators/indicators.src.js +1 -1
- package/indicators/keltner-channels.d.ts +1 -9
- package/indicators/keltner-channels.js +12 -1
- package/indicators/keltner-channels.src.d.ts +1 -9
- package/indicators/keltner-channels.src.js +1 -1
- package/indicators/klinger.d.ts +1 -9
- package/indicators/klinger.js +12 -1
- package/indicators/klinger.src.d.ts +1 -9
- package/indicators/klinger.src.js +1 -1
- package/indicators/macd.d.ts +1 -9
- package/indicators/macd.js +12 -1
- package/indicators/macd.src.d.ts +1 -9
- package/indicators/macd.src.js +1 -1
- package/indicators/mfi.d.ts +1 -9
- package/indicators/mfi.js +12 -1
- package/indicators/mfi.src.d.ts +1 -9
- package/indicators/mfi.src.js +1 -1
- package/indicators/momentum.d.ts +1 -9
- package/indicators/momentum.js +12 -1
- package/indicators/momentum.src.d.ts +1 -9
- package/indicators/momentum.src.js +1 -1
- package/indicators/natr.d.ts +1 -9
- package/indicators/natr.js +12 -1
- package/indicators/natr.src.d.ts +1 -9
- package/indicators/natr.src.js +1 -1
- package/indicators/obv.d.ts +1 -9
- package/indicators/obv.js +12 -1
- package/indicators/obv.src.d.ts +1 -9
- package/indicators/obv.src.js +1 -1
- package/indicators/pivot-points.d.ts +1 -9
- package/indicators/pivot-points.js +12 -1
- package/indicators/pivot-points.src.d.ts +1 -9
- package/indicators/pivot-points.src.js +1 -1
- package/indicators/ppo.d.ts +1 -9
- package/indicators/ppo.js +12 -1
- package/indicators/ppo.src.d.ts +1 -9
- package/indicators/ppo.src.js +1 -1
- package/indicators/price-channel.d.ts +1 -9
- package/indicators/price-channel.js +12 -1
- package/indicators/price-channel.src.d.ts +1 -9
- package/indicators/price-channel.src.js +1 -1
- package/indicators/price-envelopes.d.ts +1 -9
- package/indicators/price-envelopes.js +12 -1
- package/indicators/price-envelopes.src.d.ts +1 -9
- package/indicators/price-envelopes.src.js +1 -1
- package/indicators/psar.d.ts +1 -9
- package/indicators/psar.js +12 -1
- package/indicators/psar.src.d.ts +1 -9
- package/indicators/psar.src.js +1 -1
- package/indicators/regressions.d.ts +1 -9
- package/indicators/regressions.js +12 -1
- package/indicators/regressions.src.d.ts +1 -9
- package/indicators/regressions.src.js +1 -1
- package/indicators/roc.d.ts +1 -9
- package/indicators/roc.js +12 -1
- package/indicators/roc.src.d.ts +1 -9
- package/indicators/roc.src.js +1 -1
- package/indicators/rsi.d.ts +1 -9
- package/indicators/rsi.js +12 -1
- package/indicators/rsi.src.d.ts +1 -9
- package/indicators/rsi.src.js +1 -1
- package/indicators/slow-stochastic.d.ts +1 -9
- package/indicators/slow-stochastic.js +12 -1
- package/indicators/slow-stochastic.src.d.ts +1 -9
- package/indicators/slow-stochastic.src.js +1 -1
- package/indicators/stochastic.d.ts +1 -9
- package/indicators/stochastic.js +12 -1
- package/indicators/stochastic.src.d.ts +1 -9
- package/indicators/stochastic.src.js +1 -1
- package/indicators/supertrend.d.ts +1 -9
- package/indicators/supertrend.js +12 -1
- package/indicators/supertrend.src.d.ts +1 -9
- package/indicators/supertrend.src.js +1 -1
- package/indicators/tema.d.ts +1 -9
- package/indicators/tema.js +12 -1
- package/indicators/tema.src.d.ts +1 -9
- package/indicators/tema.src.js +1 -1
- package/indicators/trendline.d.ts +1 -9
- package/indicators/trendline.js +12 -1
- package/indicators/trendline.src.d.ts +1 -9
- package/indicators/trendline.src.js +1 -1
- package/indicators/trix.d.ts +1 -9
- package/indicators/trix.js +12 -1
- package/indicators/trix.src.d.ts +1 -9
- package/indicators/trix.src.js +1 -1
- package/indicators/volume-by-price.d.ts +1 -9
- package/indicators/volume-by-price.js +12 -1
- package/indicators/volume-by-price.src.d.ts +1 -9
- package/indicators/volume-by-price.src.js +1 -1
- package/indicators/vwap.d.ts +1 -9
- package/indicators/vwap.js +12 -1
- package/indicators/vwap.src.d.ts +1 -9
- package/indicators/vwap.src.js +1 -1
- package/indicators/williams-r.d.ts +1 -9
- package/indicators/williams-r.js +12 -1
- package/indicators/williams-r.src.d.ts +1 -9
- package/indicators/williams-r.src.js +1 -1
- package/indicators/wma.d.ts +1 -9
- package/indicators/wma.js +12 -1
- package/indicators/wma.src.d.ts +1 -9
- package/indicators/wma.src.js +1 -1
- package/indicators/zigzag.d.ts +1 -9
- package/indicators/zigzag.js +12 -1
- package/indicators/zigzag.src.d.ts +1 -9
- package/indicators/zigzag.src.js +1 -1
- package/modules/accessibility.d.ts +1 -9
- package/modules/accessibility.js +12 -1
- package/modules/accessibility.src.d.ts +1 -9
- package/modules/accessibility.src.js +46 -43
- package/modules/annotations-advanced.d.ts +1 -9
- package/modules/annotations-advanced.js +21 -1
- package/modules/annotations-advanced.src.d.ts +1 -9
- package/modules/annotations-advanced.src.js +879 -788
- package/modules/annotations.d.ts +1 -9
- package/modules/annotations.js +11 -1
- package/modules/annotations.src.d.ts +1 -9
- package/modules/annotations.src.js +89 -40
- package/modules/arc-diagram.d.ts +1 -9
- package/modules/arc-diagram.js +11 -1
- package/modules/arc-diagram.src.d.ts +1 -9
- package/modules/arc-diagram.src.js +1 -1
- package/modules/arrow-symbols.d.ts +1 -9
- package/modules/arrow-symbols.js +11 -1
- package/modules/arrow-symbols.src.d.ts +1 -9
- package/modules/arrow-symbols.src.js +1 -1
- package/modules/boost-canvas.d.ts +1 -9
- package/modules/boost-canvas.js +12 -1
- package/modules/boost-canvas.src.d.ts +1 -9
- package/modules/boost-canvas.src.js +23 -4
- package/modules/boost.d.ts +1 -9
- package/modules/boost.js +13 -1
- package/modules/boost.src.d.ts +1 -9
- package/modules/boost.src.js +23 -4
- package/modules/broken-axis.d.ts +1 -9
- package/modules/broken-axis.js +9 -1
- package/modules/broken-axis.src.d.ts +1 -9
- package/modules/broken-axis.src.js +1 -1
- package/modules/bullet.d.ts +1 -9
- package/modules/bullet.js +11 -1
- package/modules/bullet.src.d.ts +1 -9
- package/modules/bullet.src.js +1 -1
- package/modules/coloraxis.d.ts +1 -9
- package/modules/coloraxis.js +11 -1
- package/modules/coloraxis.src.d.ts +1 -9
- package/modules/coloraxis.src.js +1 -1
- package/modules/current-date-indicator.d.ts +1 -9
- package/modules/current-date-indicator.js +11 -1
- package/modules/current-date-indicator.src.d.ts +1 -9
- package/modules/current-date-indicator.src.js +1 -1
- package/modules/cylinder.d.ts +1 -9
- package/modules/cylinder.js +12 -1
- package/modules/cylinder.src.d.ts +1 -9
- package/modules/cylinder.src.js +1 -1
- package/modules/data-tools.js +11 -1
- package/modules/data-tools.src.js +225 -69
- package/modules/data.d.ts +1 -9
- package/modules/data.js +11 -1
- package/modules/data.src.d.ts +1 -9
- package/modules/data.src.js +46 -39
- package/modules/datagrouping.d.ts +1 -9
- package/modules/datagrouping.js +11 -1
- package/modules/datagrouping.src.d.ts +1 -9
- package/modules/datagrouping.src.js +1 -1
- package/modules/debugger.d.ts +1 -9
- package/modules/debugger.js +11 -1
- package/modules/debugger.src.d.ts +1 -9
- package/modules/debugger.src.js +1 -1
- package/modules/dependency-wheel.d.ts +1 -9
- package/modules/dependency-wheel.js +12 -1
- package/modules/dependency-wheel.src.d.ts +1 -9
- package/modules/dependency-wheel.src.js +1 -1
- package/modules/dotplot.d.ts +1 -9
- package/modules/dotplot.js +11 -1
- package/modules/dotplot.src.d.ts +1 -9
- package/modules/dotplot.src.js +1 -1
- package/modules/drag-panes.d.ts +1 -9
- package/modules/drag-panes.js +13 -1
- package/modules/drag-panes.src.d.ts +1 -9
- package/modules/drag-panes.src.js +1 -1
- package/modules/draggable-points.d.ts +1 -9
- package/modules/draggable-points.js +9 -1
- package/modules/draggable-points.src.d.ts +1 -9
- package/modules/draggable-points.src.js +1 -1
- package/modules/drilldown.d.ts +1 -9
- package/modules/drilldown.js +13 -1
- package/modules/drilldown.src.d.ts +1 -9
- package/modules/drilldown.src.js +3 -1
- package/modules/dumbbell.d.ts +1 -9
- package/modules/dumbbell.js +9 -1
- package/modules/dumbbell.src.d.ts +1 -9
- package/modules/dumbbell.src.js +1 -1
- package/modules/export-data.d.ts +2 -79
- package/modules/export-data.js +12 -1
- package/modules/export-data.src.d.ts +2 -79
- package/modules/export-data.src.js +996 -803
- package/modules/exporting.d.ts +35 -21
- package/modules/exporting.js +11 -1
- package/modules/exporting.src.d.ts +35 -21
- package/modules/exporting.src.js +1372 -636
- package/modules/flowmap.d.ts +1 -9
- package/modules/flowmap.js +9 -1
- package/modules/flowmap.src.d.ts +1 -9
- package/modules/flowmap.src.js +1 -1
- package/modules/full-screen.d.ts +1 -9
- package/modules/full-screen.js +12 -1
- package/modules/full-screen.src.d.ts +1 -9
- package/modules/full-screen.src.js +3 -3
- package/modules/funnel.d.ts +1 -9
- package/modules/funnel.js +11 -1
- package/modules/funnel.src.d.ts +1 -9
- package/modules/funnel.src.js +1 -1
- package/modules/funnel3d.d.ts +1 -9
- package/modules/funnel3d.js +13 -1
- package/modules/funnel3d.src.d.ts +1 -9
- package/modules/funnel3d.src.js +1 -1
- package/modules/gantt.d.ts +1 -9
- package/modules/gantt.js +31 -1
- package/modules/gantt.src.d.ts +1 -9
- package/modules/gantt.src.js +36 -28
- package/modules/geoheatmap.d.ts +1 -9
- package/modules/geoheatmap.js +9 -1
- package/modules/geoheatmap.src.d.ts +1 -9
- package/modules/geoheatmap.src.js +1 -1
- package/modules/grid-axis.d.ts +1 -9
- package/modules/grid-axis.js +11 -1
- package/modules/grid-axis.src.d.ts +1 -9
- package/modules/grid-axis.src.js +1 -1
- package/modules/heatmap.d.ts +1 -9
- package/modules/heatmap.js +19 -1
- package/modules/heatmap.src.d.ts +1 -9
- package/modules/heatmap.src.js +3 -4
- package/modules/heikinashi.d.ts +1 -9
- package/modules/heikinashi.js +12 -1
- package/modules/heikinashi.src.d.ts +1 -9
- package/modules/heikinashi.src.js +1 -1
- package/modules/histogram-bellcurve.d.ts +1 -9
- package/modules/histogram-bellcurve.js +10 -1
- package/modules/histogram-bellcurve.src.d.ts +1 -9
- package/modules/histogram-bellcurve.src.js +1 -1
- package/modules/hollowcandlestick.d.ts +1 -9
- package/modules/hollowcandlestick.js +12 -1
- package/modules/hollowcandlestick.src.d.ts +1 -9
- package/modules/hollowcandlestick.src.js +1 -1
- package/modules/item-series.d.ts +1 -9
- package/modules/item-series.js +11 -1
- package/modules/item-series.src.d.ts +1 -9
- package/modules/item-series.src.js +3 -5
- package/modules/lollipop.d.ts +1 -9
- package/modules/lollipop.js +9 -1
- package/modules/lollipop.src.d.ts +1 -9
- package/modules/lollipop.src.js +1 -1
- package/modules/map.d.ts +1 -9
- package/modules/map.js +21 -1
- package/modules/map.src.d.ts +1 -9
- package/modules/map.src.js +6 -7
- package/modules/marker-clusters.d.ts +1 -9
- package/modules/marker-clusters.js +11 -1
- package/modules/marker-clusters.src.d.ts +1 -9
- package/modules/marker-clusters.src.js +1 -1
- package/modules/mouse-wheel-zoom.d.ts +1 -9
- package/modules/mouse-wheel-zoom.js +11 -1
- package/modules/mouse-wheel-zoom.src.d.ts +1 -9
- package/modules/mouse-wheel-zoom.src.js +1 -1
- package/modules/navigator.d.ts +1 -9
- package/modules/navigator.js +11 -1
- package/modules/navigator.src.d.ts +1 -9
- package/modules/navigator.src.js +10 -12
- package/modules/networkgraph.d.ts +1 -9
- package/modules/networkgraph.js +11 -1
- package/modules/networkgraph.src.d.ts +1 -9
- package/modules/networkgraph.src.js +7 -2
- package/modules/no-data-to-display.d.ts +1 -9
- package/modules/no-data-to-display.js +12 -1
- package/modules/no-data-to-display.src.d.ts +1 -9
- package/modules/no-data-to-display.src.js +1 -1
- package/modules/non-cartesian-zoom.d.ts +9 -0
- package/modules/non-cartesian-zoom.js +11 -0
- package/modules/non-cartesian-zoom.src.d.ts +9 -0
- package/modules/non-cartesian-zoom.src.js +427 -0
- package/modules/offline-exporting.d.ts +2 -90
- package/modules/offline-exporting.js +12 -1
- package/modules/offline-exporting.src.d.ts +2 -90
- package/modules/offline-exporting.src.js +353 -3380
- package/modules/organization.d.ts +1 -9
- package/modules/organization.js +11 -1
- package/modules/organization.src.d.ts +1 -9
- package/modules/organization.src.js +1 -1
- package/modules/parallel-coordinates.d.ts +1 -9
- package/modules/parallel-coordinates.js +11 -1
- package/modules/parallel-coordinates.src.d.ts +1 -9
- package/modules/parallel-coordinates.src.js +1 -1
- package/modules/pareto.d.ts +1 -9
- package/modules/pareto.js +11 -1
- package/modules/pareto.src.d.ts +1 -9
- package/modules/pareto.src.js +1 -1
- package/modules/pathfinder.d.ts +1 -9
- package/modules/pathfinder.js +11 -1
- package/modules/pathfinder.src.d.ts +1 -9
- package/modules/pathfinder.src.js +1 -1
- package/modules/pattern-fill.d.ts +1 -9
- package/modules/pattern-fill.js +12 -1
- package/modules/pattern-fill.src.d.ts +1 -9
- package/modules/pattern-fill.src.js +1 -1
- package/modules/pictorial.d.ts +1 -9
- package/modules/pictorial.js +11 -1
- package/modules/pictorial.src.d.ts +1 -9
- package/modules/pictorial.src.js +1 -1
- package/modules/pointandfigure.d.ts +1 -9
- package/modules/pointandfigure.js +12 -1
- package/modules/pointandfigure.src.d.ts +1 -9
- package/modules/pointandfigure.src.js +1 -1
- package/modules/price-indicator.d.ts +1 -9
- package/modules/price-indicator.js +13 -1
- package/modules/price-indicator.src.d.ts +1 -9
- package/modules/price-indicator.src.js +1 -1
- package/modules/pyramid3d.d.ts +1 -9
- package/modules/pyramid3d.js +14 -1
- package/modules/pyramid3d.src.d.ts +1 -9
- package/modules/pyramid3d.src.js +1 -1
- package/modules/renko.d.ts +1 -9
- package/modules/renko.js +12 -1
- package/modules/renko.src.d.ts +1 -9
- package/modules/renko.src.js +1 -1
- package/modules/sankey.d.ts +1 -9
- package/modules/sankey.js +11 -1
- package/modules/sankey.src.d.ts +1 -9
- package/modules/sankey.src.js +1 -1
- package/modules/series-label.d.ts +1 -9
- package/modules/series-label.js +9 -1
- package/modules/series-label.src.d.ts +1 -9
- package/modules/series-label.src.js +1 -1
- package/modules/series-on-point.d.ts +1 -9
- package/modules/series-on-point.js +12 -1
- package/modules/series-on-point.src.d.ts +1 -9
- package/modules/series-on-point.src.js +1 -1
- package/modules/solid-gauge.d.ts +1 -9
- package/modules/solid-gauge.js +12 -1
- package/modules/solid-gauge.src.d.ts +1 -9
- package/modules/solid-gauge.src.js +8 -3
- package/modules/sonification.d.ts +1 -9
- package/modules/sonification.js +12 -1
- package/modules/sonification.src.d.ts +1 -9
- package/modules/sonification.src.js +42 -9
- package/modules/static-scale.d.ts +1 -9
- package/modules/static-scale.js +11 -1
- package/modules/static-scale.src.d.ts +1 -9
- package/modules/static-scale.src.js +1 -1
- package/modules/stock-tools.d.ts +1 -9
- package/modules/stock-tools.js +13 -1
- package/modules/stock-tools.src.d.ts +1 -9
- package/modules/stock-tools.src.js +37 -116
- package/modules/stock.d.ts +1 -9
- package/modules/stock.js +29 -1
- package/modules/stock.src.d.ts +1 -9
- package/modules/stock.src.js +35 -27
- package/modules/streamgraph.d.ts +1 -9
- package/modules/streamgraph.js +11 -1
- package/modules/streamgraph.src.d.ts +1 -9
- package/modules/streamgraph.src.js +1 -1
- package/modules/sunburst.d.ts +1 -9
- package/modules/sunburst.js +10 -1
- package/modules/sunburst.src.d.ts +1 -9
- package/modules/sunburst.src.js +1 -1
- package/modules/textpath.d.ts +1 -9
- package/modules/textpath.js +9 -1
- package/modules/textpath.src.d.ts +1 -9
- package/modules/textpath.src.js +1 -1
- package/modules/tiledwebmap.d.ts +1 -9
- package/modules/tiledwebmap.js +10 -2
- package/modules/tiledwebmap.src.d.ts +1 -9
- package/modules/tiledwebmap.src.js +1 -1
- package/modules/tilemap.d.ts +1 -9
- package/modules/tilemap.js +12 -1
- package/modules/tilemap.src.d.ts +1 -9
- package/modules/tilemap.src.js +1 -1
- package/modules/timeline.d.ts +1 -9
- package/modules/timeline.js +12 -1
- package/modules/timeline.src.d.ts +1 -9
- package/modules/timeline.src.js +1 -1
- package/modules/treegraph.d.ts +1 -9
- package/modules/treegraph.js +11 -1
- package/modules/treegraph.src.d.ts +1 -9
- package/modules/treegraph.src.js +4 -2
- package/modules/treegrid.d.ts +1 -9
- package/modules/treegrid.js +11 -1
- package/modules/treegrid.src.d.ts +1 -9
- package/modules/treegrid.src.js +1 -1
- package/modules/treemap.d.ts +1 -9
- package/modules/treemap.js +10 -1
- package/modules/treemap.src.d.ts +1 -9
- package/modules/treemap.src.js +1 -1
- package/modules/variable-pie.d.ts +1 -9
- package/modules/variable-pie.js +11 -1
- package/modules/variable-pie.src.d.ts +1 -9
- package/modules/variable-pie.src.js +1 -1
- package/modules/variwide.d.ts +1 -9
- package/modules/variwide.js +11 -1
- package/modules/variwide.src.d.ts +1 -9
- package/modules/variwide.src.js +9 -2
- package/modules/vector.d.ts +1 -9
- package/modules/vector.js +11 -1
- package/modules/vector.src.d.ts +1 -9
- package/modules/vector.src.js +1 -1
- package/modules/venn.d.ts +1 -9
- package/modules/venn.js +10 -1
- package/modules/venn.src.d.ts +1 -9
- package/modules/venn.src.js +1 -1
- package/modules/windbarb.d.ts +1 -9
- package/modules/windbarb.js +11 -1
- package/modules/windbarb.src.d.ts +1 -9
- package/modules/windbarb.src.js +1 -1
- package/modules/wordcloud.d.ts +1 -9
- package/modules/wordcloud.js +10 -1
- package/modules/wordcloud.src.d.ts +1 -9
- package/modules/wordcloud.src.js +88 -11
- package/modules/xrange.d.ts +1 -9
- package/modules/xrange.js +11 -1
- package/modules/xrange.src.d.ts +1 -9
- package/modules/xrange.src.js +1 -1
- package/options/abands.d.ts +8 -0
- package/options/abands.src.d.ts +8 -0
- package/options/ao.d.ts +8 -0
- package/options/ao.src.d.ts +8 -0
- package/options/arcdiagram.d.ts +8 -0
- package/options/arcdiagram.src.d.ts +8 -0
- package/options/area.d.ts +9 -0
- package/options/area.src.d.ts +9 -0
- package/options/arearange.d.ts +9 -0
- package/options/arearange.src.d.ts +9 -0
- package/options/areaspline.d.ts +9 -0
- package/options/areaspline.src.d.ts +9 -0
- package/options/areasplinerange.d.ts +9 -0
- package/options/areasplinerange.src.d.ts +9 -0
- package/options/aroon.d.ts +8 -0
- package/options/aroon.src.d.ts +8 -0
- package/options/atr.d.ts +8 -0
- package/options/atr.src.d.ts +8 -0
- package/options/bellcurve.d.ts +8 -0
- package/options/bellcurve.src.d.ts +8 -0
- package/options/boxplot.d.ts +8 -0
- package/options/boxplot.src.d.ts +8 -0
- package/options/bullet.d.ts +8 -0
- package/options/bullet.src.d.ts +8 -0
- package/options/chaikin.d.ts +8 -0
- package/options/chaikin.src.d.ts +8 -0
- package/options/cmo.d.ts +8 -0
- package/options/cmo.src.d.ts +8 -0
- package/options/columnpyramid.d.ts +9 -0
- package/options/columnpyramid.src.d.ts +9 -0
- package/options/columnrange.d.ts +9 -0
- package/options/columnrange.src.d.ts +9 -0
- package/options/dmi.d.ts +8 -0
- package/options/dmi.src.d.ts +8 -0
- package/options/errorbar.d.ts +8 -0
- package/options/errorbar.src.d.ts +8 -0
- package/options/flags.d.ts +8 -0
- package/options/flags.src.d.ts +8 -0
- package/options/funnel.d.ts +8 -0
- package/options/funnel.src.d.ts +8 -0
- package/options/gauge.d.ts +8 -0
- package/options/gauge.src.d.ts +8 -0
- package/options/item.d.ts +8 -0
- package/options/item.src.d.ts +8 -0
- package/options/keltnerchannels.d.ts +8 -0
- package/options/keltnerchannels.src.d.ts +8 -0
- package/options/line.d.ts +9 -0
- package/options/line.src.d.ts +9 -0
- package/options/linearregressionangle.d.ts +8 -0
- package/options/linearregressionangle.src.d.ts +8 -0
- package/options/linearregressionintercept.d.ts +8 -0
- package/options/linearregressionintercept.src.d.ts +8 -0
- package/options/map.d.ts +8 -0
- package/options/map.src.d.ts +8 -0
- package/options/mfi.d.ts +8 -0
- package/options/mfi.src.d.ts +8 -0
- package/options/natr.d.ts +8 -0
- package/options/natr.src.d.ts +8 -0
- package/options/ohlc.d.ts +8 -0
- package/options/ohlc.src.d.ts +8 -0
- package/options/packedbubble.d.ts +8 -0
- package/options/packedbubble.src.d.ts +8 -0
- package/options/pictorial.d.ts +8 -0
- package/options/pictorial.src.d.ts +8 -0
- package/options/pointandfigure.d.ts +8 -0
- package/options/pointandfigure.src.d.ts +8 -0
- package/options/polygon.d.ts +9 -0
- package/options/polygon.src.d.ts +9 -0
- package/options/ppo.d.ts +8 -0
- package/options/ppo.src.d.ts +8 -0
- package/options/psar.d.ts +8 -0
- package/options/psar.src.d.ts +8 -0
- package/options/pyramid.d.ts +8 -0
- package/options/pyramid.src.d.ts +8 -0
- package/options/renko.d.ts +8 -0
- package/options/renko.src.d.ts +8 -0
- package/options/roc.d.ts +8 -0
- package/options/roc.src.d.ts +8 -0
- package/options/sankey.d.ts +8 -0
- package/options/sankey.src.d.ts +8 -0
- package/options/scatter.d.ts +9 -0
- package/options/scatter.src.d.ts +9 -0
- package/options/series.d.ts +9 -0
- package/options/series.src.d.ts +9 -0
- package/options/sma.d.ts +8 -0
- package/options/sma.src.d.ts +8 -0
- package/options/solidgauge.d.ts +8 -0
- package/options/solidgauge.src.d.ts +8 -0
- package/options/spline.d.ts +9 -0
- package/options/spline.src.d.ts +9 -0
- package/options/stochastic.d.ts +8 -0
- package/options/stochastic.src.d.ts +8 -0
- package/options/tema.d.ts +8 -0
- package/options/tema.src.d.ts +8 -0
- package/options/tiledwebmap.d.ts +8 -0
- package/options/tiledwebmap.src.d.ts +8 -0
- package/options/timeline.d.ts +8 -0
- package/options/timeline.src.d.ts +8 -0
- package/options/treegraph.d.ts +8 -0
- package/options/treegraph.src.d.ts +8 -0
- package/options/trix.d.ts +8 -0
- package/options/trix.src.d.ts +8 -0
- package/options/variablepie.d.ts +8 -0
- package/options/variablepie.src.d.ts +8 -0
- package/options/variwide.d.ts +8 -0
- package/options/variwide.src.d.ts +8 -0
- package/options/vbp.d.ts +8 -0
- package/options/vbp.src.d.ts +8 -0
- package/options/vector.d.ts +9 -0
- package/options/vector.src.d.ts +9 -0
- package/options/venn.d.ts +8 -0
- package/options/venn.src.d.ts +8 -0
- package/options/vwap.d.ts +8 -0
- package/options/vwap.src.d.ts +8 -0
- package/options/windbarb.d.ts +9 -0
- package/options/windbarb.src.d.ts +9 -0
- package/options/wma.d.ts +8 -0
- package/options/wma.src.d.ts +8 -0
- package/options/wordcloud.d.ts +8 -0
- package/options/wordcloud.src.d.ts +8 -0
- package/options/zigzag.d.ts +8 -0
- package/options/zigzag.src.d.ts +8 -0
- package/package.json +1 -1
- package/standalone-navigator.js +9 -2
- package/standalone-navigator.src.js +146 -90
- package/themes/adaptive.d.ts +18 -0
- package/themes/adaptive.js +130 -0
- package/themes/adaptive.src.d.ts +18 -0
- package/themes/adaptive.src.js +1122 -0
- package/themes/avocado.d.ts +1 -9
- package/themes/avocado.js +9 -1
- package/themes/avocado.src.d.ts +1 -9
- package/themes/avocado.src.js +1 -1
- package/themes/brand-dark.d.ts +1 -9
- package/themes/brand-dark.js +9 -1
- package/themes/brand-dark.src.d.ts +1 -9
- package/themes/brand-dark.src.js +1 -1
- package/themes/brand-light.d.ts +1 -9
- package/themes/brand-light.js +9 -1
- package/themes/brand-light.src.d.ts +1 -9
- package/themes/brand-light.src.js +1 -1
- package/themes/dark-blue.d.ts +1 -9
- package/themes/dark-blue.js +9 -1
- package/themes/dark-blue.src.d.ts +1 -9
- package/themes/dark-blue.src.js +1 -1
- package/themes/dark-green.d.ts +1 -9
- package/themes/dark-green.js +9 -1
- package/themes/dark-green.src.d.ts +1 -9
- package/themes/dark-green.src.js +1 -1
- package/themes/dark-unica.d.ts +1 -9
- package/themes/dark-unica.js +9 -1
- package/themes/dark-unica.src.d.ts +1 -9
- package/themes/dark-unica.src.js +1 -1
- package/themes/gray.d.ts +1 -9
- package/themes/gray.js +9 -1
- package/themes/gray.src.d.ts +1 -9
- package/themes/gray.src.js +1 -1
- package/themes/grid-light.d.ts +1 -9
- package/themes/grid-light.js +9 -1
- package/themes/grid-light.src.d.ts +1 -9
- package/themes/grid-light.src.js +1 -1
- package/themes/grid.d.ts +1 -9
- package/themes/grid.js +9 -1
- package/themes/grid.src.d.ts +1 -9
- package/themes/grid.src.js +1 -1
- package/themes/high-contrast-dark.d.ts +1 -9
- package/themes/high-contrast-dark.js +9 -1
- package/themes/high-contrast-dark.src.d.ts +1 -9
- package/themes/high-contrast-dark.src.js +1 -1
- package/themes/high-contrast-light.d.ts +1 -9
- package/themes/high-contrast-light.js +9 -1
- package/themes/high-contrast-light.src.d.ts +1 -9
- package/themes/high-contrast-light.src.js +1 -1
- package/themes/sand-signika.d.ts +1 -9
- package/themes/sand-signika.js +9 -1
- package/themes/sand-signika.src.d.ts +1 -9
- package/themes/sand-signika.src.js +1 -1
- package/themes/skies.d.ts +1 -9
- package/themes/skies.js +9 -1
- package/themes/skies.src.d.ts +1 -9
- package/themes/skies.src.js +1 -1
- package/themes/sunset.d.ts +1 -9
- package/themes/sunset.js +9 -1
- package/themes/sunset.src.d.ts +1 -9
- package/themes/sunset.src.js +1 -1
|
@@ -25,11 +25,6 @@ const { doc, isMS, win } = H;
|
|
|
25
25
|
* @return {boolean} Returns true if the browser is in High Contrast mode.
|
|
26
26
|
*/
|
|
27
27
|
function isHighContrastModeActive() {
|
|
28
|
-
// Use media query on Edge, but not on IE
|
|
29
|
-
const isEdge = /(Edg)/.test(win.navigator.userAgent);
|
|
30
|
-
if (win.matchMedia && isEdge) {
|
|
31
|
-
return win.matchMedia('(-ms-high-contrast: active)').matches;
|
|
32
|
-
}
|
|
33
28
|
// Test BG image for IE
|
|
34
29
|
if (isMS && win.getComputedStyle) {
|
|
35
30
|
const testDiv = doc.createElement('div');
|
|
@@ -1767,6 +1767,10 @@ var AxisDefaults;
|
|
|
1767
1767
|
* overrides the default behaviour of [tickPixelInterval](
|
|
1768
1768
|
* #xAxis.tickPixelInterval) and [tickInterval](#xAxis.tickInterval).
|
|
1769
1769
|
*
|
|
1770
|
+
* Note: When working with date-time axes, be aware of time zone
|
|
1771
|
+
* handling. See the [documentation on time options](https://www.highcharts.com/docs/chart-concepts/axes#datetime)
|
|
1772
|
+
* for best practices.
|
|
1773
|
+
*
|
|
1770
1774
|
* @see [tickPositioner](#xAxis.tickPositioner)
|
|
1771
1775
|
*
|
|
1772
1776
|
* @sample {highcharts} highcharts/xaxis/tickpositions-tickpositioner/
|
|
@@ -2854,6 +2858,7 @@ var AxisDefaults;
|
|
|
2854
2858
|
* @default {highcharts} Values
|
|
2855
2859
|
* @default {highstock} undefined
|
|
2856
2860
|
* @product highcharts highstock gantt
|
|
2861
|
+
* @apioption yAxis.title.text
|
|
2857
2862
|
*/
|
|
2858
2863
|
},
|
|
2859
2864
|
/**
|
|
@@ -369,8 +369,7 @@ var OrdinalAxis;
|
|
|
369
369
|
function onChartPan(e) {
|
|
370
370
|
const chart = this, xAxis = chart.xAxis[0], overscroll = xAxis.ordinal.convertOverscroll(xAxis.options.overscroll), chartX = e.originalEvent.chartX, panning = chart.options.chart.panning;
|
|
371
371
|
let runBase = false;
|
|
372
|
-
if (panning &&
|
|
373
|
-
panning.type !== 'y' &&
|
|
372
|
+
if (panning?.type !== 'y' &&
|
|
374
373
|
xAxis.options.ordinal &&
|
|
375
374
|
xAxis.series.length &&
|
|
376
375
|
// On touch devices, let default function handle the pinching
|
|
@@ -389,8 +388,9 @@ var OrdinalAxis;
|
|
|
389
388
|
}, index2val = xAxis.index2val, val2lin = xAxis.val2lin;
|
|
390
389
|
let trimmedRange, ordinalPositions;
|
|
391
390
|
// Make sure panning to the edges does not decrease the zoomed range
|
|
392
|
-
if ((min <= dataMin && movedUnits
|
|
393
|
-
(max + overscroll
|
|
391
|
+
if ((min <= dataMin && movedUnits <= 0) ||
|
|
392
|
+
(max >= dataMax + overscroll && movedUnits >= 0)) {
|
|
393
|
+
e.preventDefault();
|
|
394
394
|
return;
|
|
395
395
|
}
|
|
396
396
|
// We have an ordinal axis, but the data is equally spaced
|
|
@@ -409,8 +409,11 @@ var OrdinalAxis;
|
|
|
409
409
|
// If we don't compensate for this, we will be allowed to pan
|
|
410
410
|
// grouped data series passed the right of the plot area.
|
|
411
411
|
ordinalPositions = extendedAxis.ordinal.positions;
|
|
412
|
-
if (
|
|
413
|
-
ordinalPositions
|
|
412
|
+
if (overscroll) { // #21606
|
|
413
|
+
ordinalPositions = extendedAxis.ordinal.positions =
|
|
414
|
+
ordinalPositions.concat(xAxis.ordinal.getOverscrollPositions());
|
|
415
|
+
}
|
|
416
|
+
if (dataMax > ordinalPositions[ordinalPositions.length - 1]) {
|
|
414
417
|
ordinalPositions.push(dataMax);
|
|
415
418
|
}
|
|
416
419
|
// Get the new min and max values by getting the ordinal index
|
|
@@ -441,7 +444,7 @@ var OrdinalAxis;
|
|
|
441
444
|
}
|
|
442
445
|
// Revert to the linear chart.pan version
|
|
443
446
|
if (runBase || (panning && /y/.test(panning.type))) {
|
|
444
|
-
if (overscroll) {
|
|
447
|
+
if (overscroll && isNumber(xAxis.dataMax)) {
|
|
445
448
|
xAxis.max = xAxis.dataMax + overscroll;
|
|
446
449
|
}
|
|
447
450
|
}
|
|
@@ -573,7 +576,9 @@ var OrdinalAxis;
|
|
|
573
576
|
* @private
|
|
574
577
|
*/
|
|
575
578
|
beforeSetTickPositions() {
|
|
576
|
-
const axis = this.axis, ordinal = axis.ordinal, extremes = axis.getExtremes(), min = extremes.min, max = extremes.max, hasBreaks = axis.brokenAxis?.hasBreaks, isOrdinal = axis.options.ordinal
|
|
579
|
+
const axis = this.axis, ordinal = axis.ordinal, extremes = axis.getExtremes(), min = extremes.min, max = extremes.max, hasBreaks = axis.brokenAxis?.hasBreaks, isOrdinal = axis.options.ordinal, overscroll = axis.options.overscroll &&
|
|
580
|
+
axis.ordinal.convertOverscroll(axis.options.overscroll) ||
|
|
581
|
+
0;
|
|
577
582
|
let len, uniqueOrdinalPositions, dist, minIndex, maxIndex, slope, i, ordinalPositions = [], overscrollPointsRange = Number.MAX_VALUE, useOrdinal = false, adjustOrdinalExtremesPoints = false, isBoosted = false;
|
|
578
583
|
// Apply the ordinal logic
|
|
579
584
|
if (isOrdinal || hasBreaks) { // #4167 YAxis is never ordinal ?
|
|
@@ -657,8 +662,8 @@ var OrdinalAxis;
|
|
|
657
662
|
// spaced.
|
|
658
663
|
if (!axis.options.keepOrdinalPadding &&
|
|
659
664
|
(ordinalPositions[0] - min > dist ||
|
|
660
|
-
|
|
661
|
-
|
|
665
|
+
max - overscroll - ordinalPositions[len - 1] >
|
|
666
|
+
dist)) {
|
|
662
667
|
useOrdinal = true;
|
|
663
668
|
}
|
|
664
669
|
}
|
|
@@ -671,7 +676,7 @@ var OrdinalAxis;
|
|
|
671
676
|
else if (len === 1) {
|
|
672
677
|
// We have just one point, closest distance is unknown.
|
|
673
678
|
// Assume then it is last point and overscrolled range:
|
|
674
|
-
overscrollPointsRange =
|
|
679
|
+
overscrollPointsRange = overscroll;
|
|
675
680
|
ordinalPositions = [
|
|
676
681
|
ordinalPositions[0],
|
|
677
682
|
ordinalPositions[0] + overscrollPointsRange
|
|
@@ -801,6 +806,9 @@ var OrdinalAxis;
|
|
|
801
806
|
// Add the fake series to hold the full data, then apply
|
|
802
807
|
// processData to it
|
|
803
808
|
axis.series.forEach((series) => {
|
|
809
|
+
if (series.takeOrdinalPosition === false) {
|
|
810
|
+
return; // #22657
|
|
811
|
+
}
|
|
804
812
|
fakeSeries = {
|
|
805
813
|
xAxis: fakeAxis,
|
|
806
814
|
chart: chart,
|
|
@@ -225,6 +225,11 @@ class PlotLineOrBand {
|
|
|
225
225
|
});
|
|
226
226
|
if (!axis.chart.styledMode) {
|
|
227
227
|
label.css(merge({
|
|
228
|
+
// To allow theming, and in lack of a general place to set
|
|
229
|
+
// default options for plot lines and bands, default to the
|
|
230
|
+
// title color. If we expose the palette, we should use that
|
|
231
|
+
// instead.
|
|
232
|
+
color: axis.chart.options.title?.style.color,
|
|
228
233
|
fontSize: '0.8em',
|
|
229
234
|
textOverflow: (isBand && !inside) ? '' : 'ellipsis'
|
|
230
235
|
}, optionsLabel.style));
|
|
@@ -757,7 +762,7 @@ export default PlotLineOrBand;
|
|
|
757
762
|
* @apioption xAxis.plotLines.zIndex
|
|
758
763
|
*/
|
|
759
764
|
/**
|
|
760
|
-
* Text labels for the plot
|
|
765
|
+
* Text labels for the plot lines
|
|
761
766
|
*
|
|
762
767
|
* @apioption xAxis.plotLines.label
|
|
763
768
|
*/
|
|
@@ -775,6 +780,14 @@ export default PlotLineOrBand;
|
|
|
775
780
|
* @since 2.1
|
|
776
781
|
* @apioption xAxis.plotLines.label.align
|
|
777
782
|
*/
|
|
783
|
+
/**
|
|
784
|
+
* Whether or not the label can be hidden if it overlaps with another label.
|
|
785
|
+
*
|
|
786
|
+
* @type {boolean}
|
|
787
|
+
* @default undefined
|
|
788
|
+
* @since 11.4.8
|
|
789
|
+
* @apioption xAxis.plotBands.label.allowOverlap
|
|
790
|
+
*/
|
|
778
791
|
/**
|
|
779
792
|
* Whether to hide labels that are outside the plot area.
|
|
780
793
|
*
|
|
@@ -14,7 +14,7 @@ const { defaultOptions } = D;
|
|
|
14
14
|
import H from '../Globals.js';
|
|
15
15
|
const { composed, noop } = H;
|
|
16
16
|
import U from '../Utilities.js';
|
|
17
|
-
const { addEvent, correctFloat, defined, extend, fireEvent, isObject, merge, pick, pushUnique, relativeLength, wrap } = U;
|
|
17
|
+
const { addEvent, correctFloat, defined, extend, fireEvent, isObject, merge, pick, pushUnique, relativeLength, splat, wrap } = U;
|
|
18
18
|
/* *
|
|
19
19
|
*
|
|
20
20
|
* Composition
|
|
@@ -294,9 +294,8 @@ var RadialAxis;
|
|
|
294
294
|
* Find the path for plot lines perpendicular to the radial axis.
|
|
295
295
|
*/
|
|
296
296
|
function getPlotLinePath(options) {
|
|
297
|
-
const center = this.pane.center, chart = this.chart, inverted = chart.inverted, reverse = options.reverse,
|
|
298
|
-
(
|
|
299
|
-
this.pane.options.background) :
|
|
297
|
+
const center = this.pane.center, chart = this.chart, inverted = chart.inverted, reverse = options.reverse, backgroundOption = this.pane.options.background, background = backgroundOption ?
|
|
298
|
+
splat(backgroundOption)[0] :
|
|
300
299
|
{}, innerRadius = background.innerRadius || '0%', outerRadius = background.outerRadius || '100%', x1 = center[0] + chart.plotLeft, y1 = center[1] + chart.plotTop, height = this.height, isCrosshair = options.isCrosshair, paneInnerR = center[3] / 2;
|
|
301
300
|
let value = options.value, innerRatio, distance, a, b, otherAxis, xy, tickPositions, crossPos, path;
|
|
302
301
|
const end = this.getPosition(value);
|
|
@@ -107,7 +107,7 @@ class Tick {
|
|
|
107
107
|
// position, use that. If not, use the general format.
|
|
108
108
|
if (axis.dateTime) {
|
|
109
109
|
if (tickPositionInfo) {
|
|
110
|
-
dateTimeLabelFormats = chart.time.resolveDTLFormat(options.dateTimeLabelFormats[(!options.grid &&
|
|
110
|
+
dateTimeLabelFormats = chart.time.resolveDTLFormat(options.dateTimeLabelFormats[(!options.grid?.enabled &&
|
|
111
111
|
tickPositionInfo.higherRanks[pos]) ||
|
|
112
112
|
tickPositionInfo.unitName]);
|
|
113
113
|
dateTimeLabelFormat = dateTimeLabelFormats.main;
|
|
@@ -46,7 +46,7 @@ var WaterfallAxis;
|
|
|
46
46
|
* @private
|
|
47
47
|
*/
|
|
48
48
|
function onAxisAfterBuildStacks() {
|
|
49
|
-
const axis = this, stacks = axis.waterfall
|
|
49
|
+
const axis = this, stacks = axis.waterfall?.stacks;
|
|
50
50
|
if (stacks) {
|
|
51
51
|
stacks.changed = false;
|
|
52
52
|
delete stacks.alreadyChanged;
|
|
@@ -58,7 +58,7 @@ var WaterfallAxis;
|
|
|
58
58
|
function onAxisAfterRender() {
|
|
59
59
|
const axis = this, stackLabelOptions = axis.options.stackLabels;
|
|
60
60
|
if (stackLabelOptions?.enabled &&
|
|
61
|
-
axis.waterfall
|
|
61
|
+
axis.waterfall?.stacks) {
|
|
62
62
|
axis.waterfall.renderStackTotals();
|
|
63
63
|
}
|
|
64
64
|
}
|
|
@@ -79,7 +79,7 @@ var WaterfallAxis;
|
|
|
79
79
|
for (const serie of series) {
|
|
80
80
|
if (serie.options.stacking) {
|
|
81
81
|
for (const axis of axes) {
|
|
82
|
-
if (!axis.isXAxis) {
|
|
82
|
+
if (!axis.isXAxis && axis.waterfall) {
|
|
83
83
|
axis.waterfall.stacks.changed = true;
|
|
84
84
|
}
|
|
85
85
|
}
|
|
@@ -117,7 +117,7 @@ var WaterfallAxis;
|
|
|
117
117
|
* @function Highcharts.Axis#renderWaterfallStackTotals
|
|
118
118
|
*/
|
|
119
119
|
renderStackTotals() {
|
|
120
|
-
const yAxis = this.axis, waterfallStacks = yAxis.waterfall
|
|
120
|
+
const yAxis = this.axis, waterfallStacks = yAxis.waterfall?.stacks, stackTotalGroup = yAxis.stacking?.stackTotalGroup, dummyStackItem = new StackItem(yAxis, yAxis.options.stackLabels || {}, false, 0, void 0);
|
|
121
121
|
this.dummyStackItem = dummyStackItem;
|
|
122
122
|
// Render each waterfall stack total
|
|
123
123
|
if (stackTotalGroup) {
|
|
@@ -1265,7 +1265,7 @@ class Chart {
|
|
|
1265
1265
|
delete chart.pointer?.chartPosition;
|
|
1266
1266
|
// Width and height checks for display:none. Target is doc in Opera
|
|
1267
1267
|
// and win in Firefox, Chrome and IE9.
|
|
1268
|
-
if (!chart.isPrinting &&
|
|
1268
|
+
if (!chart.exporting?.isPrinting &&
|
|
1269
1269
|
!chart.isResizing &&
|
|
1270
1270
|
oldBox &&
|
|
1271
1271
|
// When fired by resize observer inside hidden container
|
|
@@ -1804,12 +1804,13 @@ class Chart {
|
|
|
1804
1804
|
renderAxes(colorAxis);
|
|
1805
1805
|
}
|
|
1806
1806
|
// The series
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1807
|
+
chart.seriesGroup || (chart.seriesGroup = renderer.g('series-group')
|
|
1808
|
+
.attr({ zIndex: 3 })
|
|
1809
|
+
.shadow(chart.options.chart.seriesGroupShadow)
|
|
1810
|
+
.add());
|
|
1811
|
+
chart.dataLabelsGroup || (chart.dataLabelsGroup = renderer.g('datalabels-group')
|
|
1812
|
+
.attr({ zIndex: 6 })
|
|
1813
|
+
.add());
|
|
1813
1814
|
chart.renderSeries();
|
|
1814
1815
|
// Credits
|
|
1815
1816
|
chart.addCredits();
|
|
@@ -2641,9 +2642,10 @@ class Chart {
|
|
|
2641
2642
|
*/
|
|
2642
2643
|
transform(params) {
|
|
2643
2644
|
const { axes = this.axes, event, from = {}, reset, selection, to = {}, trigger } = params, { inverted, time } = this;
|
|
2644
|
-
let hasZoomed = false, displayButton, isAnyAxisPanning;
|
|
2645
2645
|
// Remove active points for shared tooltip
|
|
2646
2646
|
this.hoverPoints?.forEach((point) => point.setState());
|
|
2647
|
+
fireEvent(this, 'transform', params);
|
|
2648
|
+
let hasZoomed = params.hasZoomed || false, displayButton, isAnyAxisPanning;
|
|
2647
2649
|
for (const axis of axes) {
|
|
2648
2650
|
const { horiz, len, minPointOffset = 0, options, reversed } = axis, wh = horiz ? 'width' : 'height', xy = horiz ? 'x' : 'y', toLength = pick(to[wh], axis.len), fromLength = pick(from[wh], axis.len),
|
|
2649
2651
|
// If fingers pinched very close on this axis, treat as pan
|
|
@@ -2659,19 +2661,19 @@ class Chart {
|
|
|
2659
2661
|
if (!reset && (fromCenter < 0 || fromCenter > axis.len)) {
|
|
2660
2662
|
continue;
|
|
2661
2663
|
}
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
(
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2664
|
+
// Adjust offset to ensure selection zoom triggers correctly
|
|
2665
|
+
// (#22945)
|
|
2666
|
+
const offset = (axis.chart.polar || axis.isOrdinal) ?
|
|
2667
|
+
0 :
|
|
2668
|
+
(minPointOffset * pointRangeDirection || 0), eventMin = axis.toValue(minPx, true), eventMax = axis.toValue(minPx + len / scale, true);
|
|
2669
|
+
let newMin = eventMin + offset, newMax = eventMax - offset, allExtremes = axis.allExtremes;
|
|
2670
|
+
if (selection) {
|
|
2671
|
+
selection[axis.coll].push({
|
|
2672
|
+
axis,
|
|
2673
|
+
min: Math.min(eventMin, eventMax),
|
|
2674
|
+
max: Math.max(eventMin, eventMax)
|
|
2675
|
+
});
|
|
2676
|
+
}
|
|
2675
2677
|
if (newMin > newMax) {
|
|
2676
2678
|
[newMin, newMax] = [newMax, newMin];
|
|
2677
2679
|
}
|
|
@@ -2711,10 +2713,7 @@ class Chart {
|
|
|
2711
2713
|
// It is not necessary to calculate extremes on ordinal axis,
|
|
2712
2714
|
// because they are already calculated, so we don't want to override
|
|
2713
2715
|
// them.
|
|
2714
|
-
if (!axis.isOrdinal ||
|
|
2715
|
-
axis.options.overscroll || // #21316
|
|
2716
|
-
scale !== 1 ||
|
|
2717
|
-
reset) {
|
|
2716
|
+
if (!axis.isOrdinal || scale !== 1 || reset) {
|
|
2718
2717
|
// If the new range spills over, either to the min or max,
|
|
2719
2718
|
// adjust it.
|
|
2720
2719
|
if (newMin < floor) {
|
|
@@ -2759,6 +2758,13 @@ class Chart {
|
|
|
2759
2758
|
}
|
|
2760
2759
|
hasZoomed = true;
|
|
2761
2760
|
}
|
|
2761
|
+
// Show the resetZoom button for non-cartesian series,
|
|
2762
|
+
// except when triggered by mouse wheel zoom
|
|
2763
|
+
if (!this.hasCartesianSeries &&
|
|
2764
|
+
!reset &&
|
|
2765
|
+
trigger !== 'mousewheel') {
|
|
2766
|
+
displayButton = true;
|
|
2767
|
+
}
|
|
2762
2768
|
if (event) {
|
|
2763
2769
|
this[horiz ? 'mouseDownX' : 'mouseDownY'] =
|
|
2764
2770
|
event[horiz ? 'chartX' : 'chartY'];
|
|
@@ -460,6 +460,10 @@ const ChartDefaults = {
|
|
|
460
460
|
* panning action is finished, the axes will adjust to their actual
|
|
461
461
|
* settings.
|
|
462
462
|
*
|
|
463
|
+
* **Note:** For non-cartesian series, the only supported panning type
|
|
464
|
+
* is `xy`, as zooming in a single direction is not applicable due to
|
|
465
|
+
* the radial nature of the coordinate system.
|
|
466
|
+
*
|
|
463
467
|
* @sample {highcharts} highcharts/chart/panning-type
|
|
464
468
|
* Zooming and xy panning
|
|
465
469
|
*
|
|
@@ -999,6 +1003,11 @@ const ChartDefaults = {
|
|
|
999
1003
|
/**
|
|
1000
1004
|
* Chart zooming options.
|
|
1001
1005
|
* @since 10.2.1
|
|
1006
|
+
*
|
|
1007
|
+
* @sample highcharts/plotoptions/sankey-inverted
|
|
1008
|
+
* Zooming in sankey series
|
|
1009
|
+
* @sample highcharts/series-treegraph/link-types
|
|
1010
|
+
* Zooming in treegraph series
|
|
1002
1011
|
*/
|
|
1003
1012
|
zooming: {
|
|
1004
1013
|
/**
|
|
@@ -1021,6 +1030,10 @@ const ChartDefaults = {
|
|
|
1021
1030
|
* Decides in what dimensions the user can zoom by dragging the mouse.
|
|
1022
1031
|
* Can be one of `x`, `y` or `xy`.
|
|
1023
1032
|
*
|
|
1033
|
+
* **Note:** For non-cartesian series, the only supported zooming type
|
|
1034
|
+
* is `xy`, as zooming in a single direction is not applicable due to
|
|
1035
|
+
* the radial nature of the coordinate system.
|
|
1036
|
+
*
|
|
1024
1037
|
* @declare Highcharts.OptionsChartZoomingTypeValue
|
|
1025
1038
|
* @type {string}
|
|
1026
1039
|
* @default {highcharts} undefined
|
|
@@ -94,7 +94,8 @@ class GanttChart extends Chart {
|
|
|
94
94
|
// Defaults
|
|
95
95
|
{
|
|
96
96
|
grid: {
|
|
97
|
-
borderColor:
|
|
97
|
+
borderColor: defaultOptions.xAxis?.grid?.borderColor ||
|
|
98
|
+
"#cccccc" /* Palette.neutralColor20 */,
|
|
98
99
|
enabled: true
|
|
99
100
|
},
|
|
100
101
|
opposite: defaultOptions.xAxis?.opposite ??
|
|
@@ -114,7 +115,8 @@ class GanttChart extends Chart {
|
|
|
114
115
|
// Defaults
|
|
115
116
|
{
|
|
116
117
|
grid: {
|
|
117
|
-
borderColor:
|
|
118
|
+
borderColor: defaultOptions.yAxis?.grid?.borderColor ||
|
|
119
|
+
"#cccccc" /* Palette.neutralColor20 */,
|
|
118
120
|
enabled: true
|
|
119
121
|
},
|
|
120
122
|
staticScale: 50,
|
|
@@ -517,7 +517,7 @@ addEvent(Chart, 'update', function (e) {
|
|
|
517
517
|
let skip;
|
|
518
518
|
x1 = axis2.pos;
|
|
519
519
|
x2 = x1 + axis2.len;
|
|
520
|
-
y1 = y2 =
|
|
520
|
+
y1 = y2 = axisTop + axis.height - transVal;
|
|
521
521
|
// Outside plot area
|
|
522
522
|
if (force !== 'pass' &&
|
|
523
523
|
(y1 < axisTop || y1 > axisTop + axis.height)) {
|
|
@@ -32,7 +32,7 @@ const isStringColor = (color) => isString(color) && !!color && color !== 'none';
|
|
|
32
32
|
* @name Highcharts.Color
|
|
33
33
|
*
|
|
34
34
|
* @param {Highcharts.ColorType} input
|
|
35
|
-
* The input color
|
|
35
|
+
* The input color.
|
|
36
36
|
*/
|
|
37
37
|
class Color {
|
|
38
38
|
/* *
|
|
@@ -46,7 +46,7 @@ class Color {
|
|
|
46
46
|
* @function Highcharts.Color.parse
|
|
47
47
|
*
|
|
48
48
|
* @param {Highcharts.ColorType} [input]
|
|
49
|
-
* The input color
|
|
49
|
+
* The input color.
|
|
50
50
|
*
|
|
51
51
|
* @return {Highcharts.Color}
|
|
52
52
|
* Color instance.
|
|
@@ -306,11 +306,7 @@ export default Color;
|
|
|
306
306
|
*
|
|
307
307
|
* */
|
|
308
308
|
/**
|
|
309
|
-
* A valid color to be parsed and handled by Highcharts.
|
|
310
|
-
* supports hex colors like `#ffffff`, rgb colors like `rgb(255,255,255)` and
|
|
311
|
-
* rgba colors like `rgba(255,255,255,1)`. Other colors may be supported by the
|
|
312
|
-
* browsers and displayed correctly, but Highcharts is not able to process them
|
|
313
|
-
* and apply concepts like opacity and brightening.
|
|
309
|
+
* A valid color to be parsed and handled by Highcharts.
|
|
314
310
|
*
|
|
315
311
|
* @typedef {string} Highcharts.ColorString
|
|
316
312
|
*/
|
|
@@ -414,7 +410,7 @@ export default Color;
|
|
|
414
410
|
* @function Highcharts.color
|
|
415
411
|
*
|
|
416
412
|
* @param {Highcharts.ColorType} input
|
|
417
|
-
* The input color
|
|
413
|
+
* The input color.
|
|
418
414
|
*
|
|
419
415
|
* @return {Highcharts.Color}
|
|
420
416
|
* Color instance
|
|
@@ -24,7 +24,7 @@ var Globals;
|
|
|
24
24
|
* Constants
|
|
25
25
|
*
|
|
26
26
|
* */
|
|
27
|
-
Globals.SVG_NS = 'http://www.w3.org/2000/svg', Globals.product = 'Highcharts', Globals.version = '12.
|
|
27
|
+
Globals.SVG_NS = 'http://www.w3.org/2000/svg', Globals.product = 'Highcharts', Globals.version = '12.3.0', Globals.win = (typeof window !== 'undefined' ?
|
|
28
28
|
window :
|
|
29
29
|
{}), // eslint-disable-line node/no-unsupported-features/es-builtins
|
|
30
30
|
Globals.doc = Globals.win.document, Globals.svg = !!Globals.doc?.createElementNS?.(Globals.SVG_NS, 'svg')?.createSVGRect, Globals.pageLang = Globals.doc?.documentElement?.closest('[lang]')?.lang, Globals.userAgent = Globals.win.navigator?.userAgent || '', Globals.isChrome = Globals.win.chrome, Globals.isFirefox = Globals.userAgent.indexOf('Firefox') !== -1, Globals.isMS = /(edge|msie|trident)/i.test(Globals.userAgent) && !Globals.win.opera, Globals.isSafari = !Globals.isChrome && Globals.userAgent.indexOf('Safari') !== -1, Globals.isTouchDevice = /(Mobile|Android|Windows Phone)/.test(Globals.userAgent), Globals.isWebKit = Globals.userAgent.indexOf('AppleWebKit') !== -1, Globals.deg2rad = Math.PI * 2 / 360, Globals.marginNames = [
|
|
@@ -23,10 +23,10 @@ const { discardElement, objectEach } = U;
|
|
|
23
23
|
* @function Highcharts.ajax
|
|
24
24
|
*
|
|
25
25
|
* @param {Highcharts.AjaxSettingsObject} settings
|
|
26
|
-
*
|
|
26
|
+
* The Ajax settings to use.
|
|
27
27
|
*
|
|
28
|
-
* @return {false|undefined}
|
|
29
|
-
*
|
|
28
|
+
* @return {false | undefined}
|
|
29
|
+
* Returns false, if error occurred.
|
|
30
30
|
*/
|
|
31
31
|
function ajax(settings) {
|
|
32
32
|
const headers = {
|
|
@@ -37,10 +37,12 @@ function ajax(settings) {
|
|
|
37
37
|
}, r = new XMLHttpRequest();
|
|
38
38
|
/**
|
|
39
39
|
* Private error handler.
|
|
40
|
+
*
|
|
40
41
|
* @private
|
|
42
|
+
*
|
|
41
43
|
* @param {XMLHttpRequest} xhr
|
|
42
44
|
* Internal request object.
|
|
43
|
-
* @param {string|Error} err
|
|
45
|
+
* @param {string | Error} err
|
|
44
46
|
* Occurred error.
|
|
45
47
|
*/
|
|
46
48
|
function handleError(xhr, err) {
|
|
@@ -96,11 +98,12 @@ function ajax(settings) {
|
|
|
96
98
|
* Get a JSON resource over XHR, also supporting CORS without preflight.
|
|
97
99
|
*
|
|
98
100
|
* @function Highcharts.getJSON
|
|
101
|
+
*
|
|
99
102
|
* @param {string} url
|
|
100
|
-
*
|
|
103
|
+
* The URL to load.
|
|
101
104
|
* @param {Function} success
|
|
102
|
-
*
|
|
103
|
-
*
|
|
105
|
+
* The success callback. For error handling, use the `Highcharts.ajax` function
|
|
106
|
+
* instead.
|
|
104
107
|
*/
|
|
105
108
|
function getJSON(url, success) {
|
|
106
109
|
HttpUtilities.ajax({
|
|
@@ -115,46 +118,44 @@ function getJSON(url, success) {
|
|
|
115
118
|
});
|
|
116
119
|
}
|
|
117
120
|
/**
|
|
118
|
-
* The post utility
|
|
121
|
+
* The post utility.
|
|
119
122
|
*
|
|
120
123
|
* @private
|
|
121
124
|
* @function Highcharts.post
|
|
122
125
|
*
|
|
123
126
|
* @param {string} url
|
|
124
|
-
* Post URL
|
|
125
|
-
*
|
|
127
|
+
* Post URL.
|
|
126
128
|
* @param {Object} data
|
|
127
|
-
* Post data
|
|
128
|
-
*
|
|
129
|
+
* Post data.
|
|
129
130
|
* @param {RequestInit} [fetchOptions]
|
|
130
|
-
* Additional attributes for the post request
|
|
131
|
+
* Additional attributes for the post request.
|
|
131
132
|
*/
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
*/
|
|
135
|
-
function post(url, data, fetchOptions) {
|
|
133
|
+
async function post(url, data, fetchOptions) {
|
|
134
|
+
// Prepare a form to send the data
|
|
136
135
|
const formData = new win.FormData();
|
|
137
|
-
// Add the data
|
|
138
|
-
objectEach(data, function (
|
|
139
|
-
formData.append(name,
|
|
136
|
+
// Add the data to the form
|
|
137
|
+
objectEach(data, function (value, name) {
|
|
138
|
+
formData.append(name, value);
|
|
140
139
|
});
|
|
141
140
|
formData.append('b64', 'true');
|
|
142
|
-
|
|
143
|
-
|
|
141
|
+
// Send the POST
|
|
142
|
+
const response = await win.fetch(url, {
|
|
144
143
|
method: 'POST',
|
|
145
144
|
body: formData,
|
|
146
145
|
...fetchOptions
|
|
147
|
-
}).then((res) => {
|
|
148
|
-
if (res.ok) {
|
|
149
|
-
res.text().then((text) => {
|
|
150
|
-
const link = document.createElement('a');
|
|
151
|
-
link.href = `data:${type};base64,${text}`;
|
|
152
|
-
link.download = filename;
|
|
153
|
-
link.click();
|
|
154
|
-
discardElement(link);
|
|
155
|
-
});
|
|
156
|
-
}
|
|
157
146
|
});
|
|
147
|
+
// Check the response
|
|
148
|
+
if (response.ok) {
|
|
149
|
+
// Get the text from the response
|
|
150
|
+
const text = await response.text();
|
|
151
|
+
// Prepare self-click link with the Base64 representation
|
|
152
|
+
const link = document.createElement('a');
|
|
153
|
+
link.href = `data:${data.type};base64,${text}`;
|
|
154
|
+
link.download = data.filename;
|
|
155
|
+
link.click();
|
|
156
|
+
// Remove the link
|
|
157
|
+
discardElement(link);
|
|
158
|
+
}
|
|
158
159
|
}
|
|
159
160
|
/* *
|
|
160
161
|
*
|
|
@@ -178,29 +179,35 @@ export default HttpUtilities;
|
|
|
178
179
|
* The payload to send.
|
|
179
180
|
*
|
|
180
181
|
* @name Highcharts.AjaxSettingsObject#data
|
|
181
|
-
* @type {string|Highcharts.Dictionary<any
|
|
182
|
+
* @type {string | Highcharts.Dictionary<any> | undefined}
|
|
182
183
|
*/ /**
|
|
183
184
|
* The data type expected.
|
|
185
|
+
*
|
|
184
186
|
* @name Highcharts.AjaxSettingsObject#dataType
|
|
185
|
-
* @type {"json"|"xml"|"text"|"octet"|undefined}
|
|
187
|
+
* @type {"json" | "xml" | "text" | "octet" | undefined}
|
|
186
188
|
*/ /**
|
|
187
189
|
* Function to call on error.
|
|
190
|
+
*
|
|
188
191
|
* @name Highcharts.AjaxSettingsObject#error
|
|
189
|
-
* @type {Function|undefined}
|
|
192
|
+
* @type {Function | undefined}
|
|
190
193
|
*/ /**
|
|
191
194
|
* The headers; keyed on header name.
|
|
195
|
+
*
|
|
192
196
|
* @name Highcharts.AjaxSettingsObject#headers
|
|
193
|
-
* @type {Highcharts.Dictionary<string
|
|
197
|
+
* @type {Highcharts.Dictionary<string> | undefined}
|
|
194
198
|
*/ /**
|
|
195
199
|
* Function to call on success.
|
|
200
|
+
*
|
|
196
201
|
* @name Highcharts.AjaxSettingsObject#success
|
|
197
|
-
* @type {Function|undefined}
|
|
202
|
+
* @type {Function | undefined}
|
|
198
203
|
*/ /**
|
|
199
204
|
* The HTTP method to use. For example GET or POST.
|
|
205
|
+
*
|
|
200
206
|
* @name Highcharts.AjaxSettingsObject#type
|
|
201
|
-
* @type {string|undefined}
|
|
207
|
+
* @type {string | undefined}
|
|
202
208
|
*/ /**
|
|
203
209
|
* The URL to call.
|
|
210
|
+
*
|
|
204
211
|
* @name Highcharts.AjaxSettingsObject#url
|
|
205
212
|
* @type {string}
|
|
206
213
|
*/
|
|
@@ -185,8 +185,7 @@ class Pointer {
|
|
|
185
185
|
});
|
|
186
186
|
const { shapeType, attrs } = this.getSelectionMarkerAttrs(chartX, chartY);
|
|
187
187
|
// Make a selection
|
|
188
|
-
if (
|
|
189
|
-
this.hasZoom &&
|
|
188
|
+
if (this.hasZoom &&
|
|
190
189
|
clickedInside &&
|
|
191
190
|
!panKeyPressed) {
|
|
192
191
|
if (!selectionMarker) {
|
|
@@ -772,7 +771,7 @@ class Pointer {
|
|
|
772
771
|
this.drag(pEvt);
|
|
773
772
|
}
|
|
774
773
|
// Show the tooltip and run mouse over events (#977)
|
|
775
|
-
if (!chart.openMenu &&
|
|
774
|
+
if (!chart.exporting?.openMenu &&
|
|
776
775
|
(this.inClass(pEvt.target, 'highcharts-tracker') ||
|
|
777
776
|
chart.isInsidePlot(pEvt.chartX - chart.plotLeft, pEvt.chartY - chart.plotTop, {
|
|
778
777
|
visiblePlotOnly: true
|
|
@@ -1391,7 +1390,7 @@ class Pointer {
|
|
|
1391
1390
|
isInside = chart.isInsidePlot(e.chartX - chart.plotLeft, e.chartY - chart.plotTop, {
|
|
1392
1391
|
visiblePlotOnly: true
|
|
1393
1392
|
});
|
|
1394
|
-
if (isInside && !chart.openMenu) {
|
|
1393
|
+
if (isInside && !chart.exporting?.openMenu) {
|
|
1395
1394
|
// Run mouse events and display tooltip etc
|
|
1396
1395
|
if (start) {
|
|
1397
1396
|
this.runPointActions(e);
|