highcharts 10.3.1 → 10.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bower.json +1 -1
- package/es-modules/Accessibility/Accessibility.js +1 -1
- package/es-modules/Accessibility/Components/ZoomComponent.js +26 -32
- package/es-modules/Accessibility/KeyboardNavigation.js +5 -4
- package/es-modules/Accessibility/Utils/HTMLUtilities.js +14 -2
- package/es-modules/Core/Axis/Stacking/StackingAxis.js +5 -3
- package/es-modules/Core/Axis/WaterfallAxis.js +14 -11
- package/es-modules/Core/Chart/Chart.js +3 -1
- package/es-modules/Core/Chart/ChartDefaults.js +2 -0
- package/es-modules/Core/Globals.js +1 -1
- package/es-modules/Core/Pointer.js +4 -3
- package/es-modules/Core/Renderer/HTML/AST.js +6 -0
- package/es-modules/Core/Renderer/SVG/SVGElement.js +13 -60
- package/es-modules/Core/Renderer/SVG/SVGLabel.js +3 -4
- package/es-modules/Core/Renderer/SVG/SVGRenderer.js +1 -1
- package/es-modules/Core/Series/DataLabel.js +4 -7
- package/es-modules/Core/Series/Point.js +8 -9
- package/es-modules/Core/Series/Series.js +33 -78
- package/es-modules/Core/Series/SeriesDefaults.js +4 -1
- package/es-modules/Core/Tooltip.js +35 -19
- package/es-modules/Extensions/Annotations/NavigationBindingsDefaults.js +1 -1
- package/es-modules/Extensions/Annotations/Popup/Popup.js +6 -1
- package/es-modules/Extensions/Annotations/Popup/PopupComposition.js +1 -1
- package/es-modules/Extensions/OfflineExporting/OfflineExportingDefaults.js +1 -1
- package/es-modules/Extensions/Oldie/Oldie.js +1 -1
- package/es-modules/Extensions/PatternFill.js +12 -10
- package/es-modules/Extensions/ScrollablePlotArea.js +5 -0
- package/es-modules/Extensions/SeriesLabel/SeriesLabel.js +116 -89
- package/es-modules/Gantt/Pathfinder.js +8 -7
- package/es-modules/Series/ArcDiagram/ArcDiagramSeries.js +3 -1
- package/es-modules/Series/AreaRange/AreaRangeSeries.js +10 -0
- package/es-modules/Series/Bubble/BubbleSeries.js +3 -6
- package/es-modules/Series/Column/ColumnSeries.js +3 -3
- package/es-modules/Series/Flags/FlagsSeries.js +1 -6
- package/es-modules/Series/Line/LineSeries.js +5 -2
- package/es-modules/Series/Map/MapPoint.js +34 -10
- package/es-modules/Series/Map/MapSeries.js +7 -6
- package/es-modules/Series/OnSeriesComposition.js +2 -2
- package/es-modules/Series/Sankey/SankeySeries.js +4 -0
- package/es-modules/Series/Scatter/ScatterSeriesDefaults.js +1 -1
- package/es-modules/Series/Treegraph/TreegraphPoint.js +1 -3
- package/es-modules/Series/Treegraph/TreegraphSeries.js +9 -0
- package/es-modules/Series/Waterfall/WaterfallSeries.js +91 -89
- package/es-modules/Series/Windbarb/WindbarbSeries.js +1 -2
- package/es-modules/Series/XRange/XRangeSeries.js +6 -0
- package/es-modules/Stock/Navigator/Navigator.js +9 -3
- package/es-modules/Stock/StockTools/StockToolbar.js +1 -1
- package/es-modules/masters/highcharts-3d.src.d.ts +4 -0
- package/es-modules/masters/highcharts-3d.src.js +1 -1
- package/es-modules/masters/highcharts-gantt.src.d.ts +3 -0
- package/es-modules/masters/highcharts-gantt.src.js +1 -1
- package/es-modules/masters/highcharts-more.src.d.ts +10 -0
- package/es-modules/masters/highcharts-more.src.js +1 -1
- package/es-modules/masters/highcharts.src.d.ts +10 -0
- package/es-modules/masters/highcharts.src.js +1 -1
- package/es-modules/masters/highmaps.src.d.ts +3 -0
- package/es-modules/masters/highmaps.src.js +1 -1
- package/es-modules/masters/highstock.src.d.ts +3 -0
- package/es-modules/masters/highstock.src.js +1 -1
- package/es-modules/masters/indicators/acceleration-bands.src.d.ts +1 -0
- package/es-modules/masters/indicators/acceleration-bands.src.js +1 -1
- package/es-modules/masters/indicators/accumulation-distribution.src.d.ts +1 -0
- package/es-modules/masters/indicators/accumulation-distribution.src.js +1 -1
- package/es-modules/masters/indicators/ao.src.d.ts +1 -0
- package/es-modules/masters/indicators/ao.src.js +1 -1
- package/es-modules/masters/indicators/apo.src.d.ts +1 -0
- package/es-modules/masters/indicators/apo.src.js +1 -1
- package/es-modules/masters/indicators/aroon-oscillator.src.d.ts +1 -0
- package/es-modules/masters/indicators/aroon-oscillator.src.js +1 -1
- package/es-modules/masters/indicators/aroon.src.d.ts +1 -0
- package/es-modules/masters/indicators/aroon.src.js +1 -1
- package/es-modules/masters/indicators/atr.src.d.ts +1 -0
- package/es-modules/masters/indicators/atr.src.js +1 -1
- package/es-modules/masters/indicators/bollinger-bands.src.d.ts +1 -0
- package/es-modules/masters/indicators/bollinger-bands.src.js +1 -1
- package/es-modules/masters/indicators/cci.src.d.ts +1 -0
- package/es-modules/masters/indicators/cci.src.js +1 -1
- package/es-modules/masters/indicators/chaikin.src.d.ts +1 -0
- package/es-modules/masters/indicators/chaikin.src.js +1 -1
- package/es-modules/masters/indicators/cmf.src.d.ts +1 -0
- package/es-modules/masters/indicators/cmf.src.js +1 -1
- package/es-modules/masters/indicators/cmo.src.d.ts +1 -0
- package/es-modules/masters/indicators/cmo.src.js +1 -1
- package/es-modules/masters/indicators/dema.src.d.ts +1 -0
- package/es-modules/masters/indicators/dema.src.js +1 -1
- package/es-modules/masters/indicators/disparity-index.src.d.ts +1 -0
- package/es-modules/masters/indicators/disparity-index.src.js +1 -1
- package/es-modules/masters/indicators/dmi.src.d.ts +1 -0
- package/es-modules/masters/indicators/dmi.src.js +1 -1
- package/es-modules/masters/indicators/dpo.src.d.ts +1 -0
- package/es-modules/masters/indicators/dpo.src.js +1 -1
- package/es-modules/masters/indicators/ema.src.d.ts +0 -0
- package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.d.ts +1 -0
- package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/es-modules/masters/indicators/indicators-all.src.d.ts +60 -0
- package/es-modules/masters/indicators/indicators-all.src.js +1 -1
- package/es-modules/masters/indicators/indicators.src.d.ts +2 -0
- package/es-modules/masters/indicators/indicators.src.js +1 -1
- package/es-modules/masters/indicators/keltner-channels.src.d.ts +1 -0
- package/es-modules/masters/indicators/keltner-channels.src.js +1 -1
- package/es-modules/masters/indicators/klinger.src.d.ts +1 -0
- package/es-modules/masters/indicators/klinger.src.js +1 -1
- package/es-modules/masters/indicators/macd.src.d.ts +1 -0
- package/es-modules/masters/indicators/macd.src.js +1 -1
- package/es-modules/masters/indicators/mfi.src.d.ts +1 -0
- package/es-modules/masters/indicators/mfi.src.js +1 -1
- package/es-modules/masters/indicators/momentum.src.d.ts +1 -0
- package/es-modules/masters/indicators/momentum.src.js +1 -1
- package/es-modules/masters/indicators/natr.src.d.ts +1 -0
- package/es-modules/masters/indicators/natr.src.js +1 -1
- package/es-modules/masters/indicators/obv.src.d.ts +1 -0
- package/es-modules/masters/indicators/obv.src.js +1 -1
- package/es-modules/masters/indicators/pivot-points.src.d.ts +1 -0
- package/es-modules/masters/indicators/pivot-points.src.js +1 -1
- package/es-modules/masters/indicators/ppo.src.d.ts +1 -0
- package/es-modules/masters/indicators/ppo.src.js +1 -1
- package/es-modules/masters/indicators/price-channel.src.d.ts +1 -0
- package/es-modules/masters/indicators/price-channel.src.js +1 -1
- package/es-modules/masters/indicators/price-envelopes.src.d.ts +1 -0
- package/es-modules/masters/indicators/price-envelopes.src.js +1 -1
- package/es-modules/masters/indicators/psar.src.d.ts +1 -0
- package/es-modules/masters/indicators/psar.src.js +1 -1
- package/es-modules/masters/indicators/regressions.src.d.ts +4 -0
- package/es-modules/masters/indicators/regressions.src.js +1 -1
- package/es-modules/masters/indicators/roc.src.d.ts +1 -0
- package/es-modules/masters/indicators/roc.src.js +1 -1
- package/es-modules/masters/indicators/rsi.src.d.ts +1 -0
- package/es-modules/masters/indicators/rsi.src.js +1 -1
- package/es-modules/masters/indicators/slow-stochastic.src.d.ts +1 -0
- package/es-modules/masters/indicators/slow-stochastic.src.js +1 -1
- package/es-modules/masters/indicators/stochastic.src.d.ts +1 -0
- package/es-modules/masters/indicators/stochastic.src.js +1 -1
- package/es-modules/masters/indicators/supertrend.src.d.ts +1 -0
- package/es-modules/masters/indicators/supertrend.src.js +1 -1
- package/es-modules/masters/indicators/tema.src.d.ts +1 -0
- package/es-modules/masters/indicators/tema.src.js +1 -1
- package/es-modules/masters/indicators/trendline.src.d.ts +1 -0
- package/es-modules/masters/indicators/trendline.src.js +1 -1
- package/es-modules/masters/indicators/trix.src.d.ts +1 -0
- package/es-modules/masters/indicators/trix.src.js +1 -1
- package/es-modules/masters/indicators/volume-by-price.src.d.ts +1 -0
- package/es-modules/masters/indicators/volume-by-price.src.js +1 -1
- package/es-modules/masters/indicators/vwap.src.d.ts +1 -0
- package/es-modules/masters/indicators/vwap.src.js +1 -1
- package/es-modules/masters/indicators/williams-r.src.d.ts +1 -0
- package/es-modules/masters/indicators/williams-r.src.js +1 -1
- package/es-modules/masters/indicators/wma.src.d.ts +1 -0
- package/es-modules/masters/indicators/wma.src.js +1 -1
- package/es-modules/masters/indicators/zigzag.src.d.ts +1 -0
- package/es-modules/masters/indicators/zigzag.src.js +1 -1
- package/es-modules/masters/modules/accessibility.src.d.ts +13 -0
- package/es-modules/masters/modules/accessibility.src.js +2 -2
- package/es-modules/masters/modules/annotations-advanced.src.d.ts +11 -0
- package/es-modules/masters/modules/annotations-advanced.src.js +1 -1
- package/es-modules/masters/modules/annotations.src.d.ts +1 -0
- package/es-modules/masters/modules/annotations.src.js +1 -1
- package/es-modules/masters/modules/arc-diagram.src.d.ts +1 -0
- package/es-modules/masters/modules/arc-diagram.src.js +1 -1
- package/es-modules/masters/modules/arrow-symbols.src.d.ts +1 -0
- package/es-modules/masters/modules/arrow-symbols.src.js +1 -1
- package/es-modules/masters/modules/boost-canvas.src.d.ts +1 -0
- package/es-modules/masters/modules/boost-canvas.src.js +1 -1
- package/es-modules/masters/modules/boost.src.d.ts +14 -0
- package/es-modules/masters/modules/boost.src.js +1 -1
- package/es-modules/masters/modules/broken-axis.src.d.ts +1 -0
- package/es-modules/masters/modules/broken-axis.src.js +1 -1
- package/es-modules/masters/modules/bullet.src.d.ts +1 -0
- package/es-modules/masters/modules/bullet.src.js +1 -1
- package/es-modules/masters/modules/coloraxis.src.d.ts +1 -0
- package/es-modules/masters/modules/coloraxis.src.js +1 -1
- package/es-modules/masters/modules/current-date-indicator.src.d.ts +1 -0
- package/es-modules/masters/modules/current-date-indicator.src.js +1 -1
- package/es-modules/masters/modules/cylinder.src.d.ts +1 -0
- package/es-modules/masters/modules/cylinder.src.js +1 -1
- package/es-modules/masters/modules/data.src.d.ts +1 -0
- package/es-modules/masters/modules/data.src.js +1 -1
- package/es-modules/masters/modules/datagrouping.src.d.ts +1 -0
- package/es-modules/masters/modules/datagrouping.src.js +1 -1
- package/es-modules/masters/modules/debugger.src.d.ts +12 -0
- package/es-modules/masters/modules/debugger.src.js +1 -1
- package/es-modules/masters/modules/dependency-wheel.src.d.ts +1 -0
- package/es-modules/masters/modules/dependency-wheel.src.js +1 -1
- package/es-modules/masters/modules/dotplot.src.d.ts +1 -0
- package/es-modules/masters/modules/dotplot.src.js +1 -1
- package/es-modules/masters/modules/drag-panes.src.d.ts +1 -0
- package/es-modules/masters/modules/drag-panes.src.js +1 -1
- package/es-modules/masters/modules/draggable-points.src.d.ts +1 -0
- package/es-modules/masters/modules/draggable-points.src.js +1 -1
- package/es-modules/masters/modules/drilldown.src.d.ts +2 -0
- package/es-modules/masters/modules/drilldown.src.js +1 -1
- package/es-modules/masters/modules/dumbbell.src.d.ts +1 -0
- package/es-modules/masters/modules/dumbbell.src.js +1 -1
- package/es-modules/masters/modules/export-data.src.d.ts +1 -0
- package/es-modules/masters/modules/export-data.src.js +1 -1
- package/es-modules/masters/modules/exporting.src.d.ts +1 -0
- package/es-modules/masters/modules/exporting.src.js +1 -1
- package/es-modules/masters/modules/full-screen.src.d.ts +1 -0
- package/es-modules/masters/modules/full-screen.src.js +1 -1
- package/es-modules/masters/modules/funnel.src.d.ts +2 -0
- package/es-modules/masters/modules/funnel.src.js +1 -1
- package/es-modules/masters/modules/funnel3d.src.d.ts +2 -0
- package/es-modules/masters/modules/funnel3d.src.js +1 -1
- package/es-modules/masters/modules/gantt.src.d.ts +1 -0
- package/es-modules/masters/modules/gantt.src.js +1 -1
- package/es-modules/masters/modules/grid-axis.src.d.ts +1 -0
- package/es-modules/masters/modules/grid-axis.src.js +1 -1
- package/es-modules/masters/modules/heatmap.src.d.ts +1 -0
- package/es-modules/masters/modules/heatmap.src.js +1 -1
- package/es-modules/masters/modules/heikinashi.src.d.ts +1 -0
- package/es-modules/masters/modules/heikinashi.src.js +1 -1
- package/es-modules/masters/modules/histogram-bellcurve.src.d.ts +2 -0
- package/es-modules/masters/modules/histogram-bellcurve.src.js +1 -1
- package/es-modules/masters/modules/hollowcandlestick.src.d.ts +1 -0
- package/es-modules/masters/modules/hollowcandlestick.src.js +1 -1
- package/es-modules/masters/modules/item-series.src.d.ts +1 -0
- package/es-modules/masters/modules/item-series.src.js +1 -1
- package/es-modules/masters/modules/lollipop.src.d.ts +1 -0
- package/es-modules/masters/modules/lollipop.src.js +1 -1
- package/es-modules/masters/modules/map.src.d.ts +7 -0
- package/es-modules/masters/modules/map.src.js +1 -1
- package/es-modules/masters/modules/marker-clusters.src.d.ts +1 -0
- package/es-modules/masters/modules/marker-clusters.src.js +1 -1
- package/es-modules/masters/modules/networkgraph.src.d.ts +1 -0
- package/es-modules/masters/modules/networkgraph.src.js +1 -1
- package/es-modules/masters/modules/no-data-to-display.src.d.ts +1 -0
- package/es-modules/masters/modules/no-data-to-display.src.js +1 -1
- package/es-modules/masters/modules/offline-exporting.src.d.ts +1 -0
- package/es-modules/masters/modules/offline-exporting.src.js +1 -1
- package/es-modules/masters/modules/oldie-polyfills.src.d.ts +1 -0
- package/es-modules/masters/modules/oldie-polyfills.src.js +1 -1
- package/es-modules/masters/modules/oldie.src.d.ts +1 -0
- package/es-modules/masters/modules/oldie.src.js +1 -1
- package/es-modules/masters/modules/organization.src.d.ts +1 -0
- package/es-modules/masters/modules/organization.src.js +1 -1
- package/es-modules/masters/modules/overlapping-datalabels.src.d.ts +1 -0
- package/es-modules/masters/modules/overlapping-datalabels.src.js +1 -1
- package/es-modules/masters/modules/parallel-coordinates.src.d.ts +1 -0
- package/es-modules/masters/modules/parallel-coordinates.src.js +1 -1
- package/es-modules/masters/modules/pareto.src.d.ts +1 -0
- package/es-modules/masters/modules/pareto.src.js +1 -1
- package/es-modules/masters/modules/pathfinder.src.d.ts +1 -0
- package/es-modules/masters/modules/pathfinder.src.js +1 -1
- package/es-modules/masters/modules/pattern-fill.src.d.ts +1 -0
- package/es-modules/masters/modules/pattern-fill.src.js +1 -1
- package/es-modules/masters/modules/price-indicator.src.d.ts +1 -0
- package/es-modules/masters/modules/price-indicator.src.js +1 -1
- package/es-modules/masters/modules/pyramid3d.src.d.ts +1 -0
- package/es-modules/masters/modules/pyramid3d.src.js +1 -1
- package/es-modules/masters/modules/sankey.src.d.ts +1 -0
- package/es-modules/masters/modules/sankey.src.js +1 -1
- package/es-modules/masters/modules/series-label.src.d.ts +1 -0
- package/es-modules/masters/modules/series-label.src.js +1 -1
- package/es-modules/masters/modules/series-on-point.src.d.ts +13 -0
- package/es-modules/masters/modules/series-on-point.src.js +1 -1
- package/es-modules/masters/modules/solid-gauge.src.d.ts +1 -0
- package/es-modules/masters/modules/solid-gauge.src.js +1 -1
- package/es-modules/masters/modules/sonification.src.d.ts +12 -0
- package/es-modules/masters/modules/sonification.src.js +1 -1
- package/es-modules/masters/modules/static-scale.src.d.ts +1 -0
- package/es-modules/masters/modules/static-scale.src.js +1 -1
- package/es-modules/masters/modules/stock-tools.src.d.ts +1 -0
- package/es-modules/masters/modules/stock-tools.src.js +1 -1
- package/es-modules/masters/modules/stock.src.d.ts +4 -0
- package/es-modules/masters/modules/stock.src.js +1 -1
- package/es-modules/masters/modules/streamgraph.src.d.ts +1 -0
- package/es-modules/masters/modules/streamgraph.src.js +1 -1
- package/es-modules/masters/modules/sunburst.src.d.ts +2 -0
- package/es-modules/masters/modules/sunburst.src.js +1 -1
- package/es-modules/masters/modules/tilemap.src.d.ts +1 -0
- package/es-modules/masters/modules/tilemap.src.js +1 -1
- package/es-modules/masters/modules/timeline.src.d.ts +1 -0
- package/es-modules/masters/modules/timeline.src.js +1 -1
- package/es-modules/masters/modules/treegraph.src.d.ts +1 -0
- package/es-modules/masters/modules/treegraph.src.js +1 -1
- package/es-modules/masters/modules/treegrid.src.d.ts +1 -0
- package/es-modules/masters/modules/treegrid.src.js +1 -1
- package/es-modules/masters/modules/treemap.src.d.ts +1 -0
- package/es-modules/masters/modules/treemap.src.js +1 -1
- package/es-modules/masters/modules/variable-pie.src.d.ts +1 -0
- package/es-modules/masters/modules/variable-pie.src.js +1 -1
- package/es-modules/masters/modules/variwide.src.d.ts +1 -0
- package/es-modules/masters/modules/variwide.src.js +1 -1
- package/es-modules/masters/modules/vector.src.d.ts +1 -0
- package/es-modules/masters/modules/vector.src.js +1 -1
- package/es-modules/masters/modules/venn.src.d.ts +1 -0
- package/es-modules/masters/modules/venn.src.js +1 -1
- package/es-modules/masters/modules/windbarb.src.d.ts +1 -0
- package/es-modules/masters/modules/windbarb.src.js +1 -1
- package/es-modules/masters/modules/wordcloud.src.d.ts +1 -0
- package/es-modules/masters/modules/wordcloud.src.js +1 -1
- package/es-modules/masters/modules/xrange.src.d.ts +1 -0
- package/es-modules/masters/modules/xrange.src.js +1 -1
- package/es-modules/masters/themes/avocado.src.d.ts +1 -0
- package/es-modules/masters/themes/avocado.src.js +1 -1
- package/es-modules/masters/themes/brand-dark.src.d.ts +1 -0
- package/es-modules/masters/themes/brand-dark.src.js +1 -1
- package/es-modules/masters/themes/brand-light.src.d.ts +1 -0
- package/es-modules/masters/themes/brand-light.src.js +1 -1
- package/es-modules/masters/themes/dark-blue.src.d.ts +1 -0
- package/es-modules/masters/themes/dark-blue.src.js +1 -1
- package/es-modules/masters/themes/dark-green.src.d.ts +1 -0
- package/es-modules/masters/themes/dark-green.src.js +1 -1
- package/es-modules/masters/themes/dark-unica.src.d.ts +1 -0
- package/es-modules/masters/themes/dark-unica.src.js +1 -1
- package/es-modules/masters/themes/gray.src.d.ts +1 -0
- package/es-modules/masters/themes/gray.src.js +1 -1
- package/es-modules/masters/themes/grid-light.src.d.ts +1 -0
- package/es-modules/masters/themes/grid-light.src.js +1 -1
- package/es-modules/masters/themes/grid.src.d.ts +1 -0
- package/es-modules/masters/themes/grid.src.js +1 -1
- package/es-modules/masters/themes/high-contrast-dark.src.d.ts +1 -0
- package/es-modules/masters/themes/high-contrast-dark.src.js +1 -1
- package/es-modules/masters/themes/high-contrast-light.src.d.ts +1 -0
- package/es-modules/masters/themes/high-contrast-light.src.js +1 -1
- package/es-modules/masters/themes/sand-signika.src.d.ts +1 -0
- package/es-modules/masters/themes/sand-signika.src.js +1 -1
- package/es-modules/masters/themes/skies.src.d.ts +1 -0
- package/es-modules/masters/themes/skies.src.js +1 -1
- package/es-modules/masters/themes/sunset.src.d.ts +1 -0
- package/es-modules/masters/themes/sunset.src.js +1 -1
- package/gfx/dashboard-icons/add.svg +8 -0
- package/gfx/dashboard-icons/close.svg +1 -0
- package/gfx/dashboard-icons/computer.svg +1 -0
- package/gfx/dashboard-icons/destroy.svg +1 -0
- package/gfx/dashboard-icons/drag.svg +1 -0
- package/gfx/dashboard-icons/menu.svg +8 -0
- package/gfx/dashboard-icons/settings.svg +1 -0
- package/gfx/dashboard-icons/smartphone.svg +46 -0
- package/gfx/dashboard-icons/tablet.svg +71 -0
- package/highcharts-3d.js +1 -1
- package/highcharts-3d.src.js +1 -1
- package/highcharts-gantt.js +809 -809
- package/highcharts-gantt.js.map +1 -1
- package/highcharts-gantt.src.js +180 -218
- package/highcharts-more.d.ts +6 -0
- package/highcharts-more.js +174 -174
- package/highcharts-more.js.map +1 -1
- package/highcharts-more.src.d.ts +6 -0
- package/highcharts-more.src.js +128 -116
- package/highcharts.d.ts +2356 -25971
- package/highcharts.js +587 -587
- package/highcharts.js.map +1 -1
- package/highcharts.src.d.ts +2356 -25971
- package/highcharts.src.js +155 -208
- package/highmaps.js +756 -756
- package/highmaps.js.map +1 -1
- package/highmaps.src.js +207 -232
- package/highstock.js +795 -796
- package/highstock.js.map +1 -1
- package/highstock.src.js +169 -219
- package/indicators/acceleration-bands.js +1 -1
- package/indicators/acceleration-bands.src.js +1 -1
- package/indicators/accumulation-distribution.js +1 -1
- package/indicators/accumulation-distribution.src.js +1 -1
- package/indicators/ao.js +1 -1
- package/indicators/ao.src.js +1 -1
- package/indicators/apo.js +1 -1
- package/indicators/apo.src.js +1 -1
- package/indicators/aroon-oscillator.js +1 -1
- package/indicators/aroon-oscillator.src.js +1 -1
- package/indicators/aroon.js +1 -1
- package/indicators/aroon.src.js +1 -1
- package/indicators/atr.js +1 -1
- package/indicators/atr.src.js +1 -1
- package/indicators/bollinger-bands.js +1 -1
- package/indicators/bollinger-bands.src.js +1 -1
- package/indicators/cci.js +1 -1
- package/indicators/cci.src.js +1 -1
- package/indicators/chaikin.js +1 -1
- package/indicators/chaikin.src.js +1 -1
- package/indicators/cmf.js +1 -1
- package/indicators/cmf.src.js +1 -1
- package/indicators/cmo.js +1 -1
- package/indicators/cmo.src.js +1 -1
- package/indicators/dema.js +1 -1
- package/indicators/dema.src.js +1 -1
- package/indicators/disparity-index.js +1 -1
- package/indicators/disparity-index.src.js +1 -1
- package/indicators/dmi.js +1 -1
- package/indicators/dmi.src.js +1 -1
- package/indicators/dpo.js +1 -1
- package/indicators/dpo.src.js +1 -1
- package/indicators/ichimoku-kinko-hyo.js +1 -1
- package/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/indicators/indicators-all.js +1 -1
- package/indicators/indicators-all.src.js +1 -1
- package/indicators/indicators.js +1 -1
- package/indicators/indicators.src.js +1 -1
- package/indicators/keltner-channels.js +1 -1
- package/indicators/keltner-channels.src.js +1 -1
- package/indicators/klinger.js +1 -1
- package/indicators/klinger.src.js +1 -1
- package/indicators/macd.js +1 -1
- package/indicators/macd.src.js +1 -1
- package/indicators/mfi.js +1 -1
- package/indicators/mfi.src.js +1 -1
- package/indicators/momentum.js +1 -1
- package/indicators/momentum.src.js +1 -1
- package/indicators/natr.js +1 -1
- package/indicators/natr.src.js +1 -1
- package/indicators/obv.js +1 -1
- package/indicators/obv.src.js +1 -1
- package/indicators/pivot-points.js +1 -1
- package/indicators/pivot-points.src.js +1 -1
- package/indicators/ppo.js +1 -1
- package/indicators/ppo.src.js +1 -1
- package/indicators/price-channel.js +1 -1
- package/indicators/price-channel.src.js +1 -1
- package/indicators/price-envelopes.js +1 -1
- package/indicators/price-envelopes.src.js +1 -1
- package/indicators/psar.js +1 -1
- package/indicators/psar.src.js +1 -1
- package/indicators/regressions.js +1 -1
- package/indicators/regressions.src.js +1 -1
- package/indicators/roc.js +1 -1
- package/indicators/roc.src.js +1 -1
- package/indicators/rsi.js +1 -1
- package/indicators/rsi.src.js +1 -1
- package/indicators/slow-stochastic.js +1 -1
- package/indicators/slow-stochastic.src.js +1 -1
- package/indicators/stochastic.js +1 -1
- package/indicators/stochastic.src.js +1 -1
- package/indicators/supertrend.js +1 -1
- package/indicators/supertrend.src.js +1 -1
- package/indicators/tema.js +1 -1
- package/indicators/tema.src.js +1 -1
- package/indicators/trendline.js +1 -1
- package/indicators/trendline.src.js +1 -1
- package/indicators/trix.js +1 -1
- package/indicators/trix.src.js +1 -1
- package/indicators/volume-by-price.js +1 -1
- package/indicators/volume-by-price.src.js +1 -1
- package/indicators/vwap.js +1 -1
- package/indicators/vwap.src.js +1 -1
- package/indicators/williams-r.js +1 -1
- package/indicators/williams-r.src.js +1 -1
- package/indicators/wma.js +1 -1
- package/indicators/wma.src.js +1 -1
- package/indicators/zigzag.js +1 -1
- package/indicators/zigzag.src.js +1 -1
- package/modules/accessibility.js +233 -232
- package/modules/accessibility.js.map +1 -1
- package/modules/accessibility.src.js +58 -43
- package/modules/annotations-advanced.js +166 -165
- package/modules/annotations-advanced.js.map +1 -1
- package/modules/annotations-advanced.src.js +9 -4
- package/modules/annotations.js +41 -40
- package/modules/annotations.js.map +1 -1
- package/modules/annotations.src.js +9 -4
- package/modules/arc-diagram.js +3 -3
- package/modules/arc-diagram.js.map +1 -1
- package/modules/arc-diagram.src.js +4 -2
- package/modules/arrow-symbols.js +1 -1
- package/modules/arrow-symbols.src.js +1 -1
- package/modules/boost-canvas.js +1 -1
- package/modules/boost-canvas.src.js +1 -1
- package/modules/boost.js +1 -1
- package/modules/boost.src.js +1 -1
- package/modules/broken-axis.js +1 -1
- package/modules/broken-axis.src.js +1 -1
- package/modules/bullet.js +1 -1
- package/modules/bullet.src.js +1 -1
- package/modules/coloraxis.js +1 -1
- package/modules/coloraxis.src.js +1 -1
- package/modules/current-date-indicator.js +1 -1
- package/modules/current-date-indicator.src.js +1 -1
- package/modules/cylinder.js +1 -1
- package/modules/cylinder.src.js +1 -1
- package/modules/data.js +1 -1
- package/modules/data.src.js +1 -1
- package/modules/datagrouping.js +1 -1
- package/modules/datagrouping.src.js +1 -1
- package/modules/debugger.js +1 -1
- package/modules/debugger.src.js +1 -1
- package/modules/dependency-wheel.js +1 -1
- package/modules/dependency-wheel.src.js +1 -1
- package/modules/dotplot.js +1 -1
- package/modules/dotplot.src.js +1 -1
- package/modules/drag-panes.js +1 -1
- package/modules/drag-panes.src.js +1 -1
- package/modules/draggable-points.js +1 -1
- package/modules/draggable-points.src.js +1 -1
- package/modules/drilldown.js +1 -1
- package/modules/drilldown.src.js +1 -1
- package/modules/dumbbell.js +1 -1
- package/modules/dumbbell.src.js +1 -1
- package/modules/export-data.js +1 -1
- package/modules/export-data.src.js +1 -1
- package/modules/exporting.js +1 -1
- package/modules/exporting.src.js +1 -1
- package/modules/full-screen.js +1 -1
- package/modules/full-screen.src.js +1 -1
- package/modules/funnel.js +1 -1
- package/modules/funnel.src.js +1 -1
- package/modules/funnel3d.js +1 -1
- package/modules/funnel3d.src.js +1 -1
- package/modules/gantt.js +220 -219
- package/modules/gantt.js.map +1 -1
- package/modules/gantt.src.js +26 -11
- package/modules/grid-axis.js +1 -1
- package/modules/grid-axis.src.js +1 -1
- package/modules/heatmap.js +1 -1
- package/modules/heatmap.src.js +1 -1
- package/modules/heikinashi.js +1 -1
- package/modules/heikinashi.src.js +1 -1
- package/modules/histogram-bellcurve.js +1 -1
- package/modules/histogram-bellcurve.src.js +1 -1
- package/modules/hollowcandlestick.js +1 -1
- package/modules/hollowcandlestick.src.js +1 -1
- package/modules/item-series.js +1 -1
- package/modules/item-series.src.js +1 -1
- package/modules/lollipop.js +1 -1
- package/modules/lollipop.src.js +1 -1
- package/modules/map.js +171 -170
- package/modules/map.js.map +1 -1
- package/modules/map.src.js +53 -25
- package/modules/marker-clusters.js +1 -1
- package/modules/marker-clusters.src.js +1 -1
- package/modules/networkgraph.js +1 -1
- package/modules/networkgraph.src.js +1 -1
- package/modules/no-data-to-display.js +1 -1
- package/modules/no-data-to-display.src.js +1 -1
- package/modules/offline-exporting.js +2 -2
- package/modules/offline-exporting.src.js +2 -2
- package/modules/oldie-polyfills.js +1 -1
- package/modules/oldie-polyfills.src.js +1 -1
- package/modules/oldie.js +2 -2
- package/modules/oldie.src.js +2 -2
- package/modules/organization.js +1 -1
- package/modules/organization.src.js +1 -1
- package/modules/overlapping-datalabels.js +1 -1
- package/modules/overlapping-datalabels.src.js +1 -1
- package/modules/parallel-coordinates.js +1 -1
- package/modules/parallel-coordinates.src.js +1 -1
- package/modules/pareto.js +1 -1
- package/modules/pareto.src.js +1 -1
- package/modules/pathfinder.js +27 -27
- package/modules/pathfinder.js.map +1 -1
- package/modules/pathfinder.src.js +9 -8
- package/modules/pattern-fill.js +2 -2
- package/modules/pattern-fill.js.map +1 -1
- package/modules/pattern-fill.src.js +13 -11
- package/modules/price-indicator.js +1 -1
- package/modules/price-indicator.src.js +1 -1
- package/modules/pyramid3d.js +1 -1
- package/modules/pyramid3d.src.js +1 -1
- package/modules/sankey.js +20 -20
- package/modules/sankey.js.map +1 -1
- package/modules/sankey.src.js +5 -1
- package/modules/series-label.js +19 -18
- package/modules/series-label.js.map +1 -1
- package/modules/series-label.src.js +134 -98
- package/modules/series-on-point.js +1 -1
- package/modules/series-on-point.src.js +1 -1
- package/modules/solid-gauge.js +1 -1
- package/modules/solid-gauge.src.js +1 -1
- package/modules/sonification.js +1 -1
- package/modules/sonification.src.js +1 -1
- package/modules/static-scale.js +1 -1
- package/modules/static-scale.src.js +1 -1
- package/modules/stock-tools.js +2 -2
- package/modules/stock-tools.src.js +3 -3
- package/modules/stock.js +205 -205
- package/modules/stock.js.map +1 -1
- package/modules/stock.src.js +15 -12
- package/modules/streamgraph.js +1 -1
- package/modules/streamgraph.src.js +1 -1
- package/modules/sunburst.js +1 -1
- package/modules/sunburst.src.js +1 -1
- package/modules/tilemap.js +1 -1
- package/modules/tilemap.src.js +1 -1
- package/modules/timeline.js +1 -1
- package/modules/timeline.src.js +1 -1
- package/modules/treegraph.js +32 -31
- package/modules/treegraph.js.map +1 -1
- package/modules/treegraph.src.js +11 -4
- package/modules/treegrid.js +1 -1
- package/modules/treegrid.src.js +1 -1
- package/modules/treemap.js +1 -1
- package/modules/treemap.src.js +1 -1
- package/modules/variable-pie.js +1 -1
- package/modules/variable-pie.src.js +1 -1
- package/modules/variwide.js +1 -1
- package/modules/variwide.src.js +1 -1
- package/modules/vector.js +1 -1
- package/modules/vector.src.js +1 -1
- package/modules/venn.js +1 -1
- package/modules/venn.src.js +1 -1
- package/modules/windbarb.js +15 -15
- package/modules/windbarb.js.map +1 -1
- package/modules/windbarb.src.js +4 -5
- package/modules/wordcloud.js +1 -1
- package/modules/wordcloud.src.js +1 -1
- package/modules/xrange.js +9 -8
- package/modules/xrange.js.map +1 -1
- package/modules/xrange.src.js +7 -1
- package/package.json +1 -1
- package/themes/avocado.js +1 -1
- package/themes/avocado.src.js +1 -1
- package/themes/brand-dark.js +1 -1
- package/themes/brand-dark.src.js +1 -1
- package/themes/brand-light.js +1 -1
- package/themes/brand-light.src.js +1 -1
- package/themes/dark-blue.js +1 -1
- package/themes/dark-blue.src.js +1 -1
- package/themes/dark-green.js +1 -1
- package/themes/dark-green.src.js +1 -1
- package/themes/dark-unica.js +1 -1
- package/themes/dark-unica.src.js +1 -1
- package/themes/gray.js +1 -1
- package/themes/gray.src.js +1 -1
- package/themes/grid-light.js +1 -1
- package/themes/grid-light.src.js +1 -1
- package/themes/grid.js +1 -1
- package/themes/grid.src.js +1 -1
- package/themes/high-contrast-dark.js +1 -1
- package/themes/high-contrast-dark.src.js +1 -1
- package/themes/high-contrast-light.js +1 -1
- package/themes/high-contrast-light.src.js +1 -1
- package/themes/sand-signika.js +1 -1
- package/themes/sand-signika.src.js +1 -1
- package/themes/skies.js +1 -1
- package/themes/skies.src.js +1 -1
- package/themes/sunset.js +1 -1
- package/themes/sunset.src.js +1 -1
package/modules/map.src.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Highmaps JS v10.3.
|
|
2
|
+
* @license Highmaps JS v10.3.2 (2022-11-28)
|
|
3
3
|
*
|
|
4
4
|
* Highmaps as a plugin for Highcharts or Highcharts Stock.
|
|
5
5
|
*
|
|
@@ -2741,18 +2741,17 @@
|
|
|
2741
2741
|
point = _super.prototype.applyOptions.call(this,
|
|
2742
2742
|
options,
|
|
2743
2743
|
x),
|
|
2744
|
-
joinBy = series.joinBy
|
|
2745
|
-
mapPoint;
|
|
2744
|
+
joinBy = series.joinBy;
|
|
2746
2745
|
if (series.mapData && series.mapMap) {
|
|
2747
|
-
var joinKey = joinBy[1]
|
|
2748
|
-
|
|
2749
|
-
joinKey)
|
|
2750
|
-
|
|
2751
|
-
|
|
2746
|
+
var joinKey = joinBy[1],
|
|
2747
|
+
mapKey = _super.prototype.getNestedProperty.call(point,
|
|
2748
|
+
joinKey),
|
|
2749
|
+
mapPoint = typeof mapKey !== 'undefined' &&
|
|
2750
|
+
series.mapMap[mapKey];
|
|
2752
2751
|
if (mapPoint) {
|
|
2753
2752
|
extend(point, mapPoint); // copy over properties
|
|
2754
2753
|
}
|
|
2755
|
-
else {
|
|
2754
|
+
else if (series.pointArrayMap.indexOf('value') !== -1) {
|
|
2756
2755
|
point.value = point.value || null;
|
|
2757
2756
|
}
|
|
2758
2757
|
}
|
|
@@ -2819,17 +2818,47 @@
|
|
|
2819
2818
|
* Highmaps only. Zoom in on the point using the global animation.
|
|
2820
2819
|
*
|
|
2821
2820
|
* @sample maps/members/point-zoomto/
|
|
2822
|
-
* Zoom to points from
|
|
2821
|
+
* Zoom to points from buttons
|
|
2823
2822
|
*
|
|
2824
2823
|
* @requires modules/map
|
|
2825
2824
|
*
|
|
2826
2825
|
* @function Highcharts.Point#zoomTo
|
|
2827
2826
|
*/
|
|
2828
2827
|
MapPoint.prototype.zoomTo = function () {
|
|
2829
|
-
var point = this
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2828
|
+
var point = this,
|
|
2829
|
+
chart = point.series.chart,
|
|
2830
|
+
mapView = chart.mapView;
|
|
2831
|
+
var bounds = point.bounds;
|
|
2832
|
+
if (mapView && bounds) {
|
|
2833
|
+
var inset = isNumber(point.insetIndex) &&
|
|
2834
|
+
mapView.insets[point.insetIndex];
|
|
2835
|
+
if (inset) {
|
|
2836
|
+
// If in an inset, translate the bounds to pixels ...
|
|
2837
|
+
var px1 = inset.projectedUnitsToPixels({
|
|
2838
|
+
x: bounds.x1,
|
|
2839
|
+
y: bounds.y1
|
|
2840
|
+
}),
|
|
2841
|
+
px2 = inset.projectedUnitsToPixels({
|
|
2842
|
+
x: bounds.x2,
|
|
2843
|
+
y: bounds.y2
|
|
2844
|
+
}),
|
|
2845
|
+
// ... then back to projected units in the main mapView
|
|
2846
|
+
proj1 = mapView.pixelsToProjectedUnits({
|
|
2847
|
+
x: px1.x,
|
|
2848
|
+
y: px1.y
|
|
2849
|
+
}),
|
|
2850
|
+
proj2 = mapView.pixelsToProjectedUnits({
|
|
2851
|
+
x: px2.x,
|
|
2852
|
+
y: px2.y
|
|
2853
|
+
});
|
|
2854
|
+
bounds = {
|
|
2855
|
+
x1: proj1.x,
|
|
2856
|
+
y1: proj1.y,
|
|
2857
|
+
x2: proj2.x,
|
|
2858
|
+
y2: proj2.y
|
|
2859
|
+
};
|
|
2860
|
+
}
|
|
2861
|
+
mapView.fitToBounds(bounds, void 0, false);
|
|
2833
2862
|
point.series.isDirty = true;
|
|
2834
2863
|
chart.redraw();
|
|
2835
2864
|
}
|
|
@@ -5757,6 +5786,7 @@
|
|
|
5757
5786
|
fireEvent = U.fireEvent,
|
|
5758
5787
|
getNestedProperty = U.getNestedProperty,
|
|
5759
5788
|
isArray = U.isArray,
|
|
5789
|
+
defined = U.defined,
|
|
5760
5790
|
isNumber = U.isNumber,
|
|
5761
5791
|
isObject = U.isObject,
|
|
5762
5792
|
merge = U.merge,
|
|
@@ -6216,11 +6246,12 @@
|
|
|
6216
6246
|
if (!point.visible) {
|
|
6217
6247
|
attr.fill = this.options.nullColor;
|
|
6218
6248
|
}
|
|
6219
|
-
|
|
6220
|
-
|
|
6221
|
-
|
|
6222
|
-
|
|
6223
|
-
|
|
6249
|
+
if (defined(pointStrokeWidth)) {
|
|
6250
|
+
attr['stroke-width'] = pointStrokeWidth;
|
|
6251
|
+
}
|
|
6252
|
+
else {
|
|
6253
|
+
delete attr['stroke-width'];
|
|
6254
|
+
}
|
|
6224
6255
|
return attr;
|
|
6225
6256
|
};
|
|
6226
6257
|
/**
|
|
@@ -9155,12 +9186,9 @@
|
|
|
9155
9186
|
};
|
|
9156
9187
|
}
|
|
9157
9188
|
else { // below zThreshold
|
|
9158
|
-
|
|
9159
|
-
point.plotY = 0;
|
|
9160
|
-
point.
|
|
9161
|
-
width: 0,
|
|
9162
|
-
height: 0
|
|
9163
|
-
};
|
|
9189
|
+
// #1691
|
|
9190
|
+
point.shapeArgs = point.plotY = point.dlBox = void 0;
|
|
9191
|
+
point.isInside = false; // #17281
|
|
9164
9192
|
}
|
|
9165
9193
|
}
|
|
9166
9194
|
};
|
package/modules/networkgraph.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Highcharts JS v10.3.
|
|
2
|
+
Highcharts JS v10.3.2 (2022-11-28)
|
|
3
3
|
|
|
4
4
|
Client side exporting module
|
|
5
5
|
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/modules/offline-exporting",["highcharts","highcharts/modules/exporting"],function(e){a(e);a.Highcharts=e;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function e(a,k,b,e){a.hasOwnProperty(k)||(a[k]=e.apply(null,b),"function"===typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:k,
|
|
11
11
|
module:a[k]}})))}a=a?a._modules:{};e(a,"Extensions/DownloadURL.js",[a["Core/Globals.js"]],function(a){var k=a.isSafari,b=a.win,e=b.document,m=b.URL||b.webkitURL||b,q=a.dataURLtoBlob=function(a){if((a=a.replace(/filename=.*;/,"").match(/data:([^;]*)(;base64)?,([0-9A-Za-z+/]+)/))&&3<a.length&&b.atob&&b.ArrayBuffer&&b.Uint8Array&&b.Blob&&m.createObjectURL){var u=b.atob(a[3]),f=new b.ArrayBuffer(u.length);f=new b.Uint8Array(f);for(var n=0;n<f.length;++n)f[n]=u.charCodeAt(n);a=new b.Blob([f],{type:a[1]});
|
|
12
12
|
return m.createObjectURL(a)}};a=a.downloadURL=function(a,m){var f=b.navigator,n=e.createElement("a");if("string"===typeof a||a instanceof String||!f.msSaveOrOpenBlob){a="".concat(a);f=/Edge\/\d+/.test(f.userAgent);if(k&&"string"===typeof a&&0===a.indexOf("data:application/pdf")||f||2E6<a.length)if(a=q(a)||"",!a)throw Error("Failed to convert to blob");if("undefined"!==typeof n.download)n.href=a,n.download=m,e.body.appendChild(n),n.click(),e.body.removeChild(n);else try{var z=b.open(a,"chart");if("undefined"===
|
|
13
|
-
typeof z||null===z)throw Error("Failed to open window");}catch(h){b.location.href=a}}else f.msSaveOrOpenBlob(a,m)};return{dataURLtoBlob:q,downloadURL:a}});e(a,"Extensions/OfflineExporting/OfflineExportingDefaults.js",[],function(){return{libURL:"https://code.highcharts.com/10.3.
|
|
13
|
+
typeof z||null===z)throw Error("Failed to open window");}catch(h){b.location.href=a}}else f.msSaveOrOpenBlob(a,m)};return{dataURLtoBlob:q,downloadURL:a}});e(a,"Extensions/OfflineExporting/OfflineExportingDefaults.js",[],function(){return{libURL:"https://code.highcharts.com/10.3.2/lib/",menuItemDefinitions:{downloadPNG:{textKey:"downloadPNG",onclick:function(){this.exportChartLocal()}},downloadJPEG:{textKey:"downloadJPEG",onclick:function(){this.exportChartLocal({type:"image/jpeg"})}},downloadSVG:{textKey:"downloadSVG",
|
|
14
14
|
onclick:function(){this.exportChartLocal({type:"image/svg+xml"})}},downloadPDF:{textKey:"downloadPDF",onclick:function(){this.exportChartLocal({type:"application/pdf"})}}}}});e(a,"Extensions/OfflineExporting/OfflineExporting.js",[a["Core/Renderer/HTML/AST.js"],a["Core/Chart/Chart.js"],a["Core/Defaults.js"],a["Extensions/DownloadURL.js"],a["Extensions/Exporting/Exporting.js"],a["Core/Globals.js"],a["Core/HttpUtilities.js"],a["Extensions/OfflineExporting/OfflineExportingDefaults.js"],a["Core/Utilities.js"]],
|
|
15
15
|
function(a,e,b,G,C,q,u,H,f){var n=b.defaultOptions,k=G.downloadURL,h=q.win,m=q.doc,I=u.ajax,J=f.addEvent,A=f.error,K=f.extend,L=f.fireEvent,B=f.merge;a.allowedAttributes.push("data-z-index","fill-opacity","rx","ry","stroke-dasharray","stroke-linejoin","text-anchor","transform","version","viewBox","visibility","xmlns","xmlns:xlink");a.allowedTags.push("desc","clippath","g");var F=[],x;(function(b){function f(a,g){var c=this,d=B(c.options.exporting,a),t=function(a){!1===d.fallbackToExportServer?d.error?
|
|
16
16
|
d.error(d,a):A(28,!0):c.exportChart(d)};a=function(){return[].some.call(c.container.getElementsByTagName("image"),function(a){a=a.getAttribute("href");return""!==a&&"string"===typeof a&&0!==a.indexOf("data:")})};q.isMS&&c.styledMode&&!C.inlineAllowlist.length&&C.inlineAllowlist.push(/^blockSize/,/^border/,/^caretColor/,/^color/,/^columnRule/,/^columnRuleColor/,/^cssFloat/,/^cursor/,/^fill$/,/^fillOpacity/,/^font/,/^inlineSize/,/^length/,/^lineHeight/,/^opacity/,/^outline/,/^parentRule/,/^rx$/,/^ry$/,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Highcharts JS v10.3.
|
|
2
|
+
* @license Highcharts JS v10.3.2 (2022-11-28)
|
|
3
3
|
*
|
|
4
4
|
* Client side exporting module
|
|
5
5
|
*
|
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
*
|
|
167
167
|
* */
|
|
168
168
|
var OfflineExportingDefaults = {
|
|
169
|
-
libURL: 'https://code.highcharts.com/10.3.
|
|
169
|
+
libURL: 'https://code.highcharts.com/10.3.2/lib/',
|
|
170
170
|
// When offline-exporting is loaded, redefine the menu item definitions
|
|
171
171
|
// related to download.
|
|
172
172
|
menuItemDefinitions: {
|
package/modules/oldie.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Highcharts JS v10.3.
|
|
2
|
+
Highcharts JS v10.3.2 (2022-11-28)
|
|
3
3
|
|
|
4
4
|
Old IE (v6, v7, v8) module for Highcharts v6+.
|
|
5
5
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
[c["Core/Utilities.js"]],function(c){var p=c.addEvent,t=function(){return function(c){this.axis=c}}();return function(){function c(){}c.compose=function(r){r.keepProps.push("vml");p(r,"destroy",c.onDestroy);p(r,"init",c.onInit);p(r,"render",c.onRender)};c.onDestroy=function(){var c=this.vml;if(c){var p;["backFrame","bottomFrame","sideFrame"].forEach(function(r){(p=c[r])&&(c[r]=p.destroy())},this)}};c.onInit=function(){this.vml||(this.vml=new t(this))};c.onRender=function(){var c=this.vml;c.sideFrame&&
|
|
13
13
|
(c.sideFrame.css({zIndex:0}),c.sideFrame.front.attr({fill:c.sideFrame.color}));c.bottomFrame&&(c.bottomFrame.css({zIndex:1}),c.bottomFrame.front.attr({fill:c.bottomFrame.color}));c.backFrame&&(c.backFrame.css({zIndex:0}),c.backFrame.front.attr({fill:c.backFrame.color}))};return c}()});q(c,"Extensions/Oldie/VMLRenderer3D.js",[c["Core/Axis/Axis.js"],c["Core/Defaults.js"],c["Extensions/Oldie/VMLAxis3D.js"]],function(c,m,t){var p=m.setOptions;return function(){function e(){}e.compose=function(e,m){var h=
|
|
14
14
|
m.prototype;e=e.prototype;p({animate:!1});e.face3d=h.face3d;e.polyhedron=h.polyhedron;e.elements3d=h.elements3d;e.element3d=h.element3d;e.cuboid=h.cuboid;e.cuboidPath=h.cuboidPath;e.toLinePath=h.toLinePath;e.toLineSegments=h.toLineSegments;e.arc3d=function(c){c=h.arc3d.call(this,c);c.css({zIndex:c.zIndex});return c};e.arc3dPath=h.arc3dPath;t.compose(c)};return e}()});q(c,"Extensions/Oldie/Oldie.js",[c["Core/Chart/Chart.js"],c["Core/Color/Color.js"],c["Core/Defaults.js"],c["Core/Globals.js"],c["Core/Pointer.js"],
|
|
15
|
-
c["Core/Renderer/RendererRegistry.js"],c["Core/Renderer/SVG/SVGElement.js"],c["Core/Renderer/SVG/SVGRenderer.js"],c["Core/Utilities.js"],c["Extensions/Oldie/VMLRenderer3D.js"]],function(c,m,t,e,r,q,y,h,k,P){var p=m.parse,N=t.getOptions,v=e.deg2rad,g=e.doc;t=e.noop;var D=e.svg,w=e.win,Q=k.addEvent,E=k.createElement,B=k.css,G=k.defined,H=k.discardElement,I=k.erase,x=k.extend;m=k.extendClass;var R=k.isArray,J=k.isNumber,F=k.isObject,z=k.pick,u=k.pInt,S=k.uniqueKey;N().global.VMLRadialGradientURL="http://code.highcharts.com/10.3.
|
|
15
|
+
c["Core/Renderer/RendererRegistry.js"],c["Core/Renderer/SVG/SVGElement.js"],c["Core/Renderer/SVG/SVGRenderer.js"],c["Core/Utilities.js"],c["Extensions/Oldie/VMLRenderer3D.js"]],function(c,m,t,e,r,q,y,h,k,P){var p=m.parse,N=t.getOptions,v=e.deg2rad,g=e.doc;t=e.noop;var D=e.svg,w=e.win,Q=k.addEvent,E=k.createElement,B=k.css,G=k.defined,H=k.discardElement,I=k.erase,x=k.extend;m=k.extendClass;var R=k.isArray,J=k.isNumber,F=k.isObject,z=k.pick,u=k.pInt,S=k.uniqueKey;N().global.VMLRadialGradientURL="http://code.highcharts.com/10.3.2/gfx/vml-radial-gradient.png";
|
|
16
16
|
g&&!g.defaultView&&(e.getStyle=k.getStyle=function l(b,d){var c={width:"clientWidth",height:"clientHeight"}[d];if(b.style[d])return u(b.style[d]);"opacity"===d&&(d="filter");if(c)return b.style.zoom=1,Math.max(b[c]-2*l(b,"padding"),0);b=b.currentStyle[d.replace(/\-(\w)/g,function(b,d){return d.toUpperCase()})];"filter"===d&&(b=b.replace(/alpha\(opacity=([0-9]+)\)/,function(b,d){return d/100}));return""===b?1:u(b)});D||(Q(y,"afterInit",function(){"text"===this.element.nodeName&&this.css({position:"absolute"})}),
|
|
17
17
|
r.prototype.normalize=function(a,b){a=a||w.event;a.target||(a.target=a.srcElement);b||(this.chartPosition=b=this.getChartPosition());return x(a,{chartX:Math.round(Math.max(a.x,a.clientX-b.left)),chartY:Math.round(a.y)})},c.prototype.ieSanitizeSVG=function(a){return a=a.replace(/<IMG /g,"<image ").replace(/<(\/?)TITLE>/g,"<$1title>").replace(/height=([^" ]+)/g,'height="$1"').replace(/width=([^" ]+)/g,'width="$1"').replace(/hc-svg-href="([^"]+)">/g,'xlink:href="$1"/>').replace(/ id=([^" >]+)/g,' id="$1"').replace(/class=([^" >]+)/g,
|
|
18
18
|
'class="$1"').replace(/ transform /g," ").replace(/:(path|rect)/g,"$1").replace(/style="([^"]+)"/g,function(a){return a.toLowerCase()})},c.prototype.isReadyToRender=function(){var a=this;return D||w!=w.top||"complete"===g.readyState?!0:(g.attachEvent("onreadystatechange",function(){g.detachEvent("onreadystatechange",a.firstRender);"complete"===g.readyState&&a.firstRender()}),!1)},g.createElementNS||(g.createElementNS=function(a,b){return g.createElement(b)}),e.addEventListenerPolyfill=function(a,
|
package/modules/oldie.src.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Highcharts JS v10.3.
|
|
2
|
+
* @license Highcharts JS v10.3.2 (2022-11-28)
|
|
3
3
|
*
|
|
4
4
|
* Old IE (v6, v7, v8) module for Highcharts v6+.
|
|
5
5
|
*
|
|
@@ -235,7 +235,7 @@
|
|
|
235
235
|
* @apioption global.VMLRadialGradientURL
|
|
236
236
|
*/
|
|
237
237
|
getOptions().global.VMLRadialGradientURL =
|
|
238
|
-
'http://code.highcharts.com/10.3.
|
|
238
|
+
'http://code.highcharts.com/10.3.2/gfx/vml-radial-gradient.png';
|
|
239
239
|
// Utilites
|
|
240
240
|
if (doc && !doc.defaultView) {
|
|
241
241
|
H.getStyle = U.getStyle = function getStyle(el, prop) {
|
package/modules/organization.js
CHANGED
package/modules/pareto.js
CHANGED
package/modules/pareto.src.js
CHANGED
package/modules/pathfinder.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Highcharts Gantt JS v10.3.
|
|
2
|
+
Highcharts Gantt JS v10.3.2 (2022-11-28)
|
|
3
3
|
|
|
4
4
|
Pathfinder
|
|
5
5
|
|
|
@@ -7,34 +7,34 @@
|
|
|
7
7
|
|
|
8
8
|
License: www.highcharts.com/license
|
|
9
9
|
*/
|
|
10
|
-
(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/modules/pathfinder",["highcharts"],function(
|
|
11
|
-
"Extensions/ArrowSymbols.js",[a["Core/Renderer/SVG/SVGRenderer.js"]],function(a){function
|
|
12
|
-
a["Core/Globals.js"],a["Core/Series/Point.js"],a["Core/Utilities.js"]],function(a,
|
|
10
|
+
(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/modules/pathfinder",["highcharts"],function(x){a(x);a.Highcharts=x;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function x(a,y,u,v){a.hasOwnProperty(y)||(a[y]=v.apply(null,u),"function"===typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:y,module:a[y]}})))}a=a?a._modules:{};x(a,
|
|
11
|
+
"Extensions/ArrowSymbols.js",[a["Core/Renderer/SVG/SVGRenderer.js"]],function(a){function y(a,d,n,q){return[["M",a,d+q/2],["L",a+n,d],["L",a,d+q/2],["L",a+n,d+q]]}function u(a,d,n,q){return[["M",a+n,d],["L",a,d+q/2],["L",a+n,d+q],["Z"]]}function v(a,d,n,q){return u(a,d,n/2,q)}a=a.prototype.symbols;a.arrow=y;a["arrow-filled"]=u;a["arrow-filled-half"]=v;a["arrow-half"]=function(a,d,n,q){return y(a,d,n/2,q)};a["triangle-left"]=u;a["triangle-left-half"]=v;return a});x(a,"Gantt/Connection.js",[a["Core/Defaults.js"],
|
|
12
|
+
a["Core/Globals.js"],a["Core/Series/Point.js"],a["Core/Utilities.js"]],function(a,y,u,v){function B(a){var l=a.shapeArgs;return l?{xMin:l.x||0,xMax:(l.x||0)+(l.width||0),yMin:l.y||0,yMax:(l.y||0)+(l.height||0)}:(l=a.graphic&&a.graphic.getBBox())?{xMin:a.plotX-l.width/2,xMax:a.plotX+l.width/2,yMin:a.plotY-l.height/2,yMax:a.plotY+l.height/2}:null}var d=a.defaultOptions,n=v.defined,q=v.error;a=v.extend;var z=v.merge,x=v.objectEach;"";var h=y.deg2rad,b=Math.max,g=Math.min;a(d,{connectors:{type:"straight",
|
|
13
13
|
lineWidth:1,marker:{enabled:!1,align:"center",verticalAlign:"middle",inside:!1,lineWidth:1},startMarker:{symbol:"diamond"},endMarker:{symbol:"arrow-filled"}}});v=function(){function a(l,a,m){this.toPoint=this.pathfinder=this.graphics=this.fromPoint=this.chart=void 0;this.init(l,a,m)}a.prototype.init=function(l,a,m){this.fromPoint=l;this.toPoint=a;this.options=m;this.chart=l.series.chart;this.pathfinder=this.chart.pathfinder};a.prototype.renderPath=function(l,a,m){var f=this.chart,h=f.styledMode,b=
|
|
14
14
|
f.pathfinder,e=!f.options.chart.forExport&&!1!==m,c=this.graphics&&this.graphics.path;b.group||(b.group=f.renderer.g().addClass("highcharts-pathfinder-group").attr({zIndex:-1}).add(f.seriesGroup));b.group.translate(f.plotLeft,f.plotTop);c&&c.renderer||(c=f.renderer.path().add(b.group),h||c.attr({opacity:0}));c.attr(a);l={d:l};h||(l.opacity=1);c[e?"animate":"attr"](l,m);this.graphics=this.graphics||{};this.graphics.path=c};a.prototype.addMarker=function(a,f,m){var l=this.fromPoint.series.chart,b=l.pathfinder;
|
|
15
15
|
l=l.renderer;var g="start"===a?this.fromPoint:this.toPoint,e=g.getPathfinderAnchorPoint(f);if(f.enabled&&((m="start"===a?m[1]:m[m.length-2])&&"M"===m[0]||"L"===m[0])){m={x:m[1],y:m[2]};m=g.getRadiansToVector(m,e);e=g.getMarkerVector(m,f.radius,e);m=-m/h;if(f.width&&f.height){var c=f.width;var t=f.height}else c=t=2*f.radius;this.graphics=this.graphics||{};e={x:e.x-c/2,y:e.y-t/2,width:c,height:t,rotation:m,rotationOriginX:e.x,rotationOriginY:e.y};this.graphics[a]?this.graphics[a].animate(e):(this.graphics[a]=
|
|
16
16
|
l.symbol(f.symbol).addClass("highcharts-point-connecting-path-"+a+"-marker").attr(e).add(b.group),l.styledMode||this.graphics[a].attr({fill:f.color||this.fromPoint.color,stroke:f.lineColor,"stroke-width":f.lineWidth,opacity:0}).animate({opacity:1},g.series.options.animation))}};a.prototype.getPath=function(a){var f=this.pathfinder,l=this.chart,b=f.algorithms[a.type],h=f.chartObstacles;if("function"!==typeof b)return q('"'+a.type+'" is not a Pathfinder algorithm.'),{path:[],obstacles:[]};b.requiresObstacles&&
|
|
17
|
-
!h&&(h=f.chartObstacles=f.getChartObstacles(a),l.options.connectors.algorithmMargin=a.algorithmMargin,f.chartObstacleMetrics=f.getObstacleMetrics(h));return b(this.fromPoint.getPathfinderAnchorPoint(a.startMarker),this.toPoint.getPathfinderAnchorPoint(a.endMarker),
|
|
18
|
-
a))};a.prototype.render=function(){var a=this.fromPoint,f=a.series,h=f.chart,E=h.pathfinder,p=
|
|
19
|
-
(E.lineObstacles=E.lineObstacles||[],E.lineObstacles=E.lineObstacles.concat(a.obstacles));this.renderPath(h,d,f.options.animation);this.addMarker("start",
|
|
20
|
-
"yMin";break;case "bottom":b="yMax"}return{x:f?h[f]:(h.xMin+h.xMax)/2,y:b?h[b]:(h.yMin+h.yMax)/2}},getRadiansToVector:function(a,h){var f;n(h)||(f=
|
|
21
|
-
e?r=-1:a>Math.PI-e||a<=-(Math.PI-e)?(k=-1,c=!0):k=-1;c?(F+=k*l,G+=r*l*b):(F+=d/(2*b)*k,G+=r*t);f.x!==
|
|
22
|
-
b.x>=d.xMin&&b.y<=d.yMax&&b.y>=d.yMin;if(d)return h}return-1}function v(a){var h=[];if(a.length){h.push(["M",a[0].start.x,a[0].start.y]);for(var g=0;g<a.length;++g)h.push(["L",a[g].end.x,a[g].end.y])}return h}function
|
|
23
|
-
a[b+"Max"]);return h(e,b,a,b+(c?"Max":"Min"),c?1:-1)}var f=[],m=d(g.startDirectionX,
|
|
24
|
-
end:m});f.push(q);return{path:v(f),obstacles:f}};a.requiresObstacles=!0;var
|
|
25
|
-
function l(a,b,c,e,f){var t=f.soft,g=f.hard,k=e?"x":"y",l={x:b.x,y:b.y},
|
|
26
|
-
xMax:
|
|
27
|
-
y:d.y}}],d[c?"x":"y"]!==b[c?"x":"y"]&&(r=l(d.obstacle,d,b,!c,r),
|
|
28
|
-
|
|
29
|
-
return{fastAvoid:
|
|
30
|
-
{xMin:a.plotX-c.width/2,xMax:a.plotX+c.width/2,yMin:a.plotY-c.height/2,yMax:a.plotY+c.height/2}:null}function
|
|
31
|
-
c){return a-c})[Math.floor(g.length/10)]/2-1),1)}function
|
|
32
|
-
f=d.pick,m=d.splat;"";var
|
|
33
|
-
e.prototype.update=function(b){var c=this.chart,f=this,e=f.connections;f.connections=[];c.series.forEach(function(b){b.visible&&!b.options.isInternal&&b.points.forEach(function(b){var e=b.options;e&&e.dependency&&(e.connect=e.dependency);var d;e=b.options&&b.options.connect&&m(b.options.connect);b.visible&&!1!==b.isInside&&e&&e.forEach(function(e){d=c.get("string"===typeof e?e:e.to);d instanceof
|
|
34
|
-
for(var d=0,k=void 0,g=void 0,h=e.length,l=f.connections.length;d<h;++d){g=!1;for(k=0;k<l;++k)
|
|
35
|
-
b.fromPoint.series===a&&b.render()});a.pathfinderRemoveRenderEvent&&(a.pathfinderRemoveRenderEvent(),delete a.pathfinderRemoveRenderEvent)};!1===a.options.animation?b():a.pathfinderRemoveRenderEvent=h(a,"afterAnimate",b)}):this.connections.forEach(function(a){a.render()})};e.prototype.getChartObstacles=function(a){for(var c=[],e=this.chart.series,d=f(a.algorithmMargin,0),g,k=0,h=e.length;k<h;++k)if(e[k].visible&&!e[k].options.isInternal){var l=0,m=e[k].points.length,
|
|
36
|
-
e[k].points[l],n.visible&&(n=q(n))&&c.push({xMin:n.xMin-d,xMax:n.xMax+d,yMin:n.yMin-d,yMax:n.yMax+d})}c=c.sort(function(a,b){return a.xMin-b.xMin});b(a.algorithmMargin)||(g=a.algorithmMargin=
|
|
37
|
-
"top"!==a.verticalAlign&&"bottom"!==a.verticalAlign;return"left"!==a.align&&"right"!==a.align?b?void 0:!1:b?!0:void 0};return e}();
|
|
38
|
-
(c={x:(e.xMin+e.xMax)/2,y:(e.yMin+e.yMax)/2});return Math.atan2(c.y-a.y,a.x-c.x)},getMarkerVector:function(a,b,d){var c=2*Math.PI,e=q(this),f=e.xMax-e.xMin,g=e.yMax-e.yMin,h=Math.atan2(g,f),l=!1;f/=2;var m=g/2,n=e.xMin+f;e=e.yMin+m;for(var p=n,t=e,u=1,v=1;a<-Math.PI;)a+=c;for(;a>Math.PI;)a-=c;c=Math.tan(a);a>-h&&a<=h?(v=-1,l=!0):a>h&&a<=Math.PI-h?v=-1:a>Math.PI-h||a<=-(Math.PI-h)?(u=-1,l=!0):u=-1;l?(p+=u*f,t+=v*f*c):(p+=g/(2*c)*u,t+=v*m);d.x!==n&&(p=d.x);d.y!==e&&(t=d.y);return{x:p+
|
|
39
|
-
y:t-b*Math.sin(a)}}});
|
|
17
|
+
!h&&(h=f.chartObstacles=f.getChartObstacles(a),l.options.connectors.algorithmMargin=a.algorithmMargin,f.chartObstacleMetrics=f.getObstacleMetrics(h));return b(this.fromPoint.getPathfinderAnchorPoint(a.startMarker),this.toPoint.getPathfinderAnchorPoint(a.endMarker),z({chartObstacles:h,lineObstacles:f.lineObstacles||[],obstacleMetrics:f.chartObstacleMetrics,hardBounds:{xMin:0,xMax:l.plotWidth,yMin:0,yMax:l.plotHeight},obstacleOptions:{margin:a.algorithmMargin},startDirectionX:f.getAlgorithmStartDirection(a.startMarker)},
|
|
18
|
+
a))};a.prototype.render=function(){var a=this.fromPoint,f=a.series,h=f.chart,E=h.pathfinder,p=z(h.options.connectors,f.options.connectors,a.options.connectors,this.options),d={};h.styledMode||(d.stroke=p.lineColor||a.color,d["stroke-width"]=p.lineWidth,p.dashStyle&&(d.dashstyle=p.dashStyle));d["class"]="highcharts-point-connecting-path highcharts-color-"+a.colorIndex;p=z(d,p);n(p.marker.radius)||(p.marker.radius=g(b(Math.ceil((p.algorithmMargin||8)/2)-1,1),5));a=this.getPath(p);h=a.path;a.obstacles&&
|
|
19
|
+
(E.lineObstacles=E.lineObstacles||[],E.lineObstacles=E.lineObstacles.concat(a.obstacles));this.renderPath(h,d,f.options.animation);this.addMarker("start",z(p.marker,p.startMarker),h);this.addMarker("end",z(p.marker,p.endMarker),h)};a.prototype.destroy=function(){this.graphics&&(x(this.graphics,function(a){a.destroy()}),delete this.graphics)};return a}();y.Connection=v;a(u.prototype,{getPathfinderAnchorPoint:function(a){var h=B(this);switch(a.align){case "right":var f="xMax";break;case "left":f="xMin"}switch(a.verticalAlign){case "top":var b=
|
|
20
|
+
"yMin";break;case "bottom":b="yMax"}return{x:f?h[f]:(h.xMin+h.xMax)/2,y:b?h[b]:(h.yMin+h.yMax)/2}},getRadiansToVector:function(a,h){var f;n(h)||(f=B(this))&&(h={x:(f.xMin+f.xMax)/2,y:(f.yMin+f.yMax)/2});return Math.atan2(h.y-a.y,a.x-h.x)},getMarkerVector:function(a,h,f){var b=2*Math.PI,g=B(this),l=g.xMax-g.xMin,d=g.yMax-g.yMin,e=Math.atan2(d,l),c=!1;l/=2;var t=d/2,I=g.xMin+l;g=g.yMin+t;for(var F=I,G=g,k=1,r=1;a<-Math.PI;)a+=b;for(;a>Math.PI;)a-=b;b=Math.tan(a);a>-e&&a<=e?(r=-1,c=!0):a>e&&a<=Math.PI-
|
|
21
|
+
e?r=-1:a>Math.PI-e||a<=-(Math.PI-e)?(k=-1,c=!0):k=-1;c?(F+=k*l,G+=r*l*b):(F+=d/(2*b)*k,G+=r*t);f.x!==I&&(F=f.x);f.y!==g&&(G=f.y);return{x:F+h*Math.cos(a),y:G-h*Math.sin(a)}}});return v});x(a,"Gantt/PathfinderAlgorithms.js",[a["Core/Utilities.js"]],function(a){function y(a,b,g){g=g||0;var h=a.length-1;b-=1e-7;for(var l,f;g<=h;)if(l=h+g>>1,f=b-a[l].xMin,0<f)g=l+1;else if(0>f)h=l-1;else return l;return 0<g?g-1:0}function u(a,b){for(var h=y(a,b.x+1)+1;h--;){var d;if(d=a[h].xMax>=b.x)d=a[h],d=b.x<=d.xMax&&
|
|
22
|
+
b.x>=d.xMin&&b.y<=d.yMax&&b.y>=d.yMin;if(d)return h}return-1}function v(a){var h=[];if(a.length){h.push(["M",a[0].start.x,a[0].start.y]);for(var g=0;g<a.length;++g)h.push(["L",a[g].end.x,a[g].end.y])}return h}function x(a,b){a.yMin=q(a.yMin,b.yMin);a.yMax=n(a.yMax,b.yMax);a.xMin=q(a.xMin,b.xMin);a.xMax=n(a.xMax,b.xMax)}var d=a.pick,n=Math.min,q=Math.max,z=Math.abs;a=function(a,b,g){function h(a,e,b,h,f){a={x:a.x,y:a.y};a[e]=b[h||e]+(f||0);return a}function l(a,e,b){var c=z(e[b]-a[b+"Min"])>z(e[b]-
|
|
23
|
+
a[b+"Max"]);return h(e,b,a,b+(c?"Max":"Min"),c?1:-1)}var f=[],m=d(g.startDirectionX,z(b.x-a.x)>z(b.y-a.y))?"x":"y",n=g.chartObstacles,p=u(n,a);g=u(n,b);if(-1<g){var q=n[g];g=l(q,b,m);q={start:g,end:b};var e=g}else e=b;-1<p&&(n=n[p],g=l(n,a,m),f.push({start:a,end:g}),g[m]>=a[m]===g[m]>=e[m]&&(m="y"===m?"x":"y",b=a[m]<b[m],f.push({start:g,end:h(g,m,n,m+(b?"Max":"Min"),b?1:-1)}),m="y"===m?"x":"y"));a=f.length?f[f.length-1].end:a;g=h(a,m,e);f.push({start:a,end:g});m=h(g,"y"===m?"x":"y",e);f.push({start:g,
|
|
24
|
+
end:m});f.push(q);return{path:v(f),obstacles:f}};a.requiresObstacles=!0;var J=function(a,b,g){function h(a,c,e){var b,f=a.x<c.x?1:-1;if(a.x<c.x){var t=a;var h=c}else t=c,h=a;if(a.y<c.y){var g=a;var w=c}else g=c,w=a;for(b=0>f?n(y(k,h.x),k.length-1):0;k[b]&&(0<f&&k[b].xMin<=h.x||0>f&&k[b].xMax>=t.x);){if(k[b].xMin<=h.x&&k[b].xMax>=t.x&&k[b].yMin<=w.y&&k[b].yMax>=g.y)return e?{y:a.y,x:a.x<c.x?k[b].xMin-1:k[b].xMax+1,obstacle:k[b]}:{x:a.x,y:a.y<c.y?k[b].yMin-1:k[b].yMax+1,obstacle:k[b]};b+=f}return c}
|
|
25
|
+
function l(a,b,c,e,f){var t=f.soft,g=f.hard,k=e?"x":"y",l={x:b.x,y:b.y},w={x:b.x,y:b.y};f=a[k+"Max"]>=t[k+"Max"];t=a[k+"Min"]<=t[k+"Min"];var A=a[k+"Max"]>=g[k+"Max"];g=a[k+"Min"]<=g[k+"Min"];var d=z(a[k+"Min"]-b[k]),m=z(a[k+"Max"]-b[k]);c=10>z(d-m)?b[k]<c[k]:m<d;w[k]=a[k+"Min"];l[k]=a[k+"Max"];a=h(b,w,e)[k]!==w[k];b=h(b,l,e)[k]!==l[k];c=a?b?c:!0:b?!1:c;c=t?f?c:!0:f?!1:c;return g?A?c:!0:A?!1:c}function f(a,b,c){if(a.x===b.x&&a.y===b.y)return[];var d=c?"x":"y",m=g.obstacleOptions.margin;var r={soft:{xMin:t,
|
|
26
|
+
xMax:I,yMin:F,yMax:G},hard:g.hardBounds};var w=u(k,a);if(-1<w){w=k[w];r=l(w,a,b,c,r);x(w,g.hardBounds);var A=c?{y:a.y,x:w[r?"xMax":"xMin"]+(r?1:-1)}:{x:a.x,y:w[r?"yMax":"yMin"]+(r?1:-1)};var D=u(k,A);-1<D&&(D=k[D],x(D,g.hardBounds),A[d]=r?q(w[d+"Max"]-m+1,(D[d+"Min"]+w[d+"Max"])/2):n(w[d+"Min"]+m-1,(D[d+"Max"]+w[d+"Min"])/2),a.x===A.x&&a.y===A.y?(e&&(A[d]=r?q(w[d+"Max"],D[d+"Max"])+1:n(w[d+"Min"],D[d+"Min"])-1),e=!e):e=!1);a=[{start:a,end:A}]}else d=h(a,{x:c?b.x:a.x,y:c?a.y:b.y},c),a=[{start:a,end:{x:d.x,
|
|
27
|
+
y:d.y}}],d[c?"x":"y"]!==b[c?"x":"y"]&&(r=l(d.obstacle,d,b,!c,r),x(d.obstacle,g.hardBounds),r={x:c?d.x:d.obstacle[r?"xMax":"xMin"]+(r?1:-1),y:c?d.obstacle[r?"yMax":"yMin"]+(r?1:-1):d.y},c=!c,a=a.concat(f({x:d.x,y:d.y},r,c)));return a=a.concat(f(a[a.length-1].end,b,!c))}function m(a,c,b){var e=n(a.xMax-c.x,c.x-a.xMin)<n(a.yMax-c.y,c.y-a.yMin);b=l(a,c,b,e,{soft:g.hardBounds,hard:g.hardBounds});return e?{y:c.y,x:a[b?"xMax":"xMin"]+(b?1:-1)}:{x:c.x,y:a[b?"yMax":"yMin"]+(b?1:-1)}}var B=d(g.startDirectionX,
|
|
28
|
+
z(b.x-a.x)>z(b.y-a.y)),p=B?"x":"y",C=[],e=!1,c=g.obstacleMetrics,t=n(a.x,b.x)-c.maxWidth-10,I=q(a.x,b.x)+c.maxWidth+10,F=n(a.y,b.y)-c.maxHeight-10,G=q(a.y,b.y)+c.maxHeight+10,k=g.chartObstacles;var r=y(k,t);c=y(k,I);k=k.slice(r,c+1);if(-1<(c=u(k,b))){var H=m(k[c],b,a);C.push({end:b,start:H});b=H}for(;-1<(c=u(k,b));)r=0>b[p]-a[p],H={x:b.x,y:b.y},H[p]=k[c][r?p+"Max":p+"Min"]+(r?1:-1),C.push({end:b,start:H}),b=H;a=f(a,b,B);a=a.concat(C.reverse());return{path:v(a),obstacles:a}};J.requiresObstacles=!0;
|
|
29
|
+
return{fastAvoid:J,straight:function(a,b){return{path:[["M",a.x,a.y],["L",b.x,b.y]],obstacles:[{start:a,end:b}]}},simpleConnect:a}});x(a,"Gantt/Pathfinder.js",[a["Gantt/Connection.js"],a["Core/Chart/Chart.js"],a["Core/Defaults.js"],a["Core/Globals.js"],a["Core/Series/Point.js"],a["Core/Utilities.js"],a["Gantt/PathfinderAlgorithms.js"]],function(a,y,u,v,x,d,n){function q(a){var c=a.shapeArgs;return c?{xMin:c.x||0,xMax:(c.x||0)+(c.width||0),yMin:c.y||0,yMax:(c.y||0)+(c.height||0)}:(c=a.graphic&&a.graphic.getBBox())?
|
|
30
|
+
{xMin:a.plotX-c.width/2,xMax:a.plotX+c.width/2,yMin:a.plotY-c.height/2,yMax:a.plotY+c.height/2}:null}function z(a){for(var c=a.length,b=0,e,d,g=[],k=function(a,b,c){c=f(c,10);var e=a.yMax+c>b.yMin-c&&a.yMin-c<b.yMax+c,d=a.xMax+c>b.xMin-c&&a.xMin-c<b.xMax+c,g=e?a.xMin>b.xMax?a.xMin-b.xMax:b.xMin-a.xMax:Infinity,t=d?a.yMin>b.yMax?a.yMin-b.yMax:b.yMin-a.yMax:Infinity;return d&&e?c?k(a,b,Math.floor(c/2)):Infinity:p(g,t)};b<c;++b)for(e=b+1;e<c;++e)d=k(a[b],a[e]),80>d&&g.push(d);g.push(80);return K(Math.floor(g.sort(function(a,
|
|
31
|
+
c){return a-c})[Math.floor(g.length/10)]/2-1),1)}function B(a){if(a.options.pathfinder||a.series.reduce(function(a,b){b.options&&l(!0,b.options.connectors=b.options.connectors||{},b.options.pathfinder);return a||b.options&&b.options.pathfinder},!1))l(!0,a.options.connectors=a.options.connectors||{},a.options.pathfinder),g('WARNING: Pathfinder options have been renamed. Use "chart.connectors" or "series.connectors" instead.')}u=u.defaultOptions;var h=d.addEvent,b=d.defined,g=d.error,E=d.extend,l=d.merge,
|
|
32
|
+
f=d.pick,m=d.splat;"";var K=Math.max,p=Math.min;E(u,{connectors:{type:"straight",lineWidth:1,marker:{enabled:!1,align:"center",verticalAlign:"middle",inside:!1,lineWidth:1},startMarker:{symbol:"diamond"},endMarker:{symbol:"arrow-filled"}}});var C=function(){function e(a){this.lineObstacles=this.group=this.connections=this.chartObstacleMetrics=this.chartObstacles=this.chart=void 0;this.init(a)}e.prototype.init=function(a){this.chart=a;this.connections=[];h(a,"redraw",function(){this.pathfinder.update()})};
|
|
33
|
+
e.prototype.update=function(b){var c=this.chart,f=this,e=f.connections;f.connections=[];c.series.forEach(function(b){b.visible&&!b.options.isInternal&&b.points.forEach(function(b){var e=b.options;e&&e.dependency&&(e.connect=e.dependency);var d;e=b.options&&b.options.connect&&m(b.options.connect);b.visible&&!1!==b.isInside&&e&&e.forEach(function(e){d=c.get("string"===typeof e?e:e.to);d instanceof x&&d.series.visible&&d.visible&&!1!==d.isInside&&f.connections.push(new a(b,d,"string"===typeof e?{}:e))})})});
|
|
34
|
+
for(var d=0,k=void 0,g=void 0,h=e.length,l=f.connections.length;d<h;++d){g=!1;var n=e[d];for(k=0;k<l;++k){var A=f.connections[k];if((n.options&&n.options.type)===(A.options&&A.options.type)&&n.fromPoint===A.fromPoint&&n.toPoint===A.toPoint){A.graphics=n.graphics;g=!0;break}}g||n.destroy()}delete this.chartObstacles;delete this.lineObstacles;f.renderConnections(b)};e.prototype.renderConnections=function(a){a?this.chart.series.forEach(function(a){var b=function(){var b=a.chart.pathfinder;(b&&b.connections||
|
|
35
|
+
[]).forEach(function(b){b.fromPoint&&b.fromPoint.series===a&&b.render()});a.pathfinderRemoveRenderEvent&&(a.pathfinderRemoveRenderEvent(),delete a.pathfinderRemoveRenderEvent)};!1===a.options.animation?b():a.pathfinderRemoveRenderEvent=h(a,"afterAnimate",b)}):this.connections.forEach(function(a){a.render()})};e.prototype.getChartObstacles=function(a){for(var c=[],e=this.chart.series,d=f(a.algorithmMargin,0),g,k=0,h=e.length;k<h;++k)if(e[k].visible&&!e[k].options.isInternal){var l=0,m=e[k].points.length,
|
|
36
|
+
n=void 0;for(n=void 0;l<m;++l)n=e[k].points[l],n.visible&&(n=q(n))&&c.push({xMin:n.xMin-d,xMax:n.xMax+d,yMin:n.yMin-d,yMax:n.yMax+d})}c=c.sort(function(a,b){return a.xMin-b.xMin});b(a.algorithmMargin)||(g=a.algorithmMargin=z(c),c.forEach(function(a){a.xMin-=g;a.xMax+=g;a.yMin-=g;a.yMax+=g}));return c};e.prototype.getObstacleMetrics=function(a){for(var b=0,c=0,e,d,f=a.length;f--;)e=a[f].xMax-a[f].xMin,d=a[f].yMax-a[f].yMin,b<e&&(b=e),c<d&&(c=d);return{maxHeight:c,maxWidth:b}};e.prototype.getAlgorithmStartDirection=
|
|
37
|
+
function(a){var b="top"!==a.verticalAlign&&"bottom"!==a.verticalAlign;return"left"!==a.align&&"right"!==a.align?b?void 0:!1:b?!0:void 0};return e}();C.prototype.algorithms=n;v.Pathfinder=C;E(x.prototype,{getPathfinderAnchorPoint:function(a){var b=q(this);switch(a.align){case "right":var e="xMax";break;case "left":e="xMin"}switch(a.verticalAlign){case "top":var d="yMin";break;case "bottom":d="yMax"}return{x:e?b[e]:(b.xMin+b.xMax)/2,y:d?b[d]:(b.yMin+b.yMax)/2}},getRadiansToVector:function(a,c){var e;
|
|
38
|
+
b(c)||(e=q(this))&&(c={x:(e.xMin+e.xMax)/2,y:(e.yMin+e.yMax)/2});return Math.atan2(c.y-a.y,a.x-c.x)},getMarkerVector:function(a,b,d){var c=2*Math.PI,e=q(this),f=e.xMax-e.xMin,g=e.yMax-e.yMin,h=Math.atan2(g,f),l=!1;f/=2;var m=g/2,n=e.xMin+f;e=e.yMin+m;for(var p=n,t=e,u=1,v=1;a<-Math.PI;)a+=c;for(;a>Math.PI;)a-=c;c=Math.tan(a);a>-h&&a<=h?(v=-1,l=!0):a>h&&a<=Math.PI-h?v=-1:a>Math.PI-h||a<=-(Math.PI-h)?(u=-1,l=!0):u=-1;l?(p+=u*f,t+=v*f*c):(p+=g/(2*c)*u,t+=v*m);d.x!==n&&(p=d.x);d.y!==e&&(t=d.y);return{x:p+
|
|
39
|
+
b*Math.cos(a),y:t-b*Math.sin(a)}}});y.prototype.callbacks.push(function(a){!1!==a.options.connectors.enabled&&(B(a),this.pathfinder=new C(this),this.pathfinder.update(!0))});return C});x(a,"masters/modules/pathfinder.src.js",[],function(){})});
|
|
40
40
|
//# sourceMappingURL=pathfinder.js.map
|