@ntlab/ntjs-assets 2.0.27 → 2.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/js/cdn.json +1 -1
- package/assets/js/highcharts/es-modules/Accessibility/Accessibility.js +1 -1
- package/assets/js/highcharts/es-modules/Accessibility/AccessibilityComponent.js +1 -1
- package/assets/js/highcharts/es-modules/Accessibility/Components/NavigatorComponent.js +2 -2
- package/assets/js/highcharts/es-modules/Accessibility/KeyboardNavigation.js +1 -1
- package/assets/js/highcharts/es-modules/Accessibility/KeyboardNavigationHandler.js +5 -5
- package/assets/js/highcharts/es-modules/Accessibility/Options/A11yDefaults.js +1 -1
- package/assets/js/highcharts/es-modules/Accessibility/Options/LangDefaults.js +3 -3
- package/assets/js/highcharts/es-modules/Accessibility/Utils/EventProvider.js +1 -1
- package/assets/js/highcharts/es-modules/Accessibility/Utils/HTMLUtilities.js +1 -1
- package/assets/js/highcharts/es-modules/Core/Animation/Fx.js +4 -2
- package/assets/js/highcharts/es-modules/Core/Axis/Axis.js +3 -3
- package/assets/js/highcharts/es-modules/Core/Axis/AxisDefaults.js +1 -0
- package/assets/js/highcharts/es-modules/Core/Axis/Color/ColorAxisDefaults.js +7 -3
- package/assets/js/highcharts/es-modules/Core/Axis/GridAxis.js +1 -1
- package/assets/js/highcharts/es-modules/Core/Axis/OrdinalAxis.js +5 -2
- package/assets/js/highcharts/es-modules/Core/Axis/RadialAxisDefaults.js +3 -3
- package/assets/js/highcharts/es-modules/Core/Axis/Stacking/StackItem.js +1 -1
- package/assets/js/highcharts/es-modules/Core/Chart/Chart.js +16 -7
- package/assets/js/highcharts/es-modules/Core/Chart/MapChart.js +3 -3
- package/assets/js/highcharts/es-modules/Core/Chart/StockChart.js +1 -1
- package/assets/js/highcharts/es-modules/Core/Color/Color.js +2 -2
- package/assets/js/highcharts/es-modules/Core/Defaults.js +27 -1
- package/assets/js/highcharts/es-modules/Core/Geometry/GeometryUtilities.js +22 -0
- package/assets/js/highcharts/es-modules/Core/Globals.js +1 -1
- package/assets/js/highcharts/es-modules/Core/Legend/Legend.js +82 -14
- package/assets/js/highcharts/es-modules/Core/MSPointer.js +42 -1
- package/assets/js/highcharts/es-modules/Core/Pointer.js +10 -6
- package/assets/js/highcharts/es-modules/Core/Renderer/HTML/AST.js +6 -0
- package/assets/js/highcharts/es-modules/Core/Renderer/HTML/HTMLElement.js +2 -2
- package/assets/js/highcharts/es-modules/Core/Renderer/SVG/SVGElement.js +31 -98
- package/assets/js/highcharts/es-modules/Core/Renderer/SVG/SVGLabel.js +20 -0
- package/assets/js/highcharts/es-modules/Core/Renderer/SVG/SVGRenderer.js +29 -14
- package/assets/js/highcharts/es-modules/Core/Renderer/SVG/Symbols.js +18 -18
- package/assets/js/highcharts/es-modules/Core/Responsive.js +6 -1
- package/assets/js/highcharts/es-modules/Core/Series/DataLabel.js +1 -10
- package/assets/js/highcharts/es-modules/Core/Series/DataSeriesComposition.js +0 -2
- package/assets/js/highcharts/es-modules/Core/Series/Point.js +7 -10
- package/assets/js/highcharts/es-modules/Core/Series/Series.js +40 -24
- package/assets/js/highcharts/es-modules/Core/Series/SeriesDefaults.js +18 -12
- package/assets/js/highcharts/es-modules/Core/Templating.js +2 -2
- package/assets/js/highcharts/es-modules/Core/Tooltip.js +6 -3
- package/assets/js/highcharts/es-modules/Data/Connectors/JSONConnector.js +1 -0
- package/assets/js/highcharts/es-modules/Data/Converters/CSVConverter.js +1 -1
- package/assets/js/highcharts/es-modules/Data/Converters/DataConverter.js +7 -7
- package/assets/js/highcharts/es-modules/Data/DataTable.js +106 -5
- package/assets/js/highcharts/es-modules/Data/Formula/FormulaParser.js +2 -2
- package/assets/js/highcharts/es-modules/Extensions/Annotations/Controllables/ControllableDefaults.js +1 -1
- package/assets/js/highcharts/es-modules/Extensions/Annotations/Controllables/ControllablePath.js +1 -1
- package/assets/js/highcharts/es-modules/Extensions/Annotations/NavigationBindings.js +1 -2
- package/assets/js/highcharts/es-modules/Extensions/Boost/Boost.js +1 -1
- package/assets/js/highcharts/es-modules/Extensions/Boost/BoostChart.js +8 -2
- package/assets/js/highcharts/es-modules/Extensions/Boost/BoostSeries.js +41 -10
- package/assets/js/highcharts/es-modules/Extensions/Boost/WGLShader.js +1 -1
- package/assets/js/highcharts/es-modules/Extensions/BorderRadius.js +3 -3
- package/assets/js/highcharts/es-modules/Extensions/Breadcrumbs/Breadcrumbs.js +0 -38
- package/assets/js/highcharts/es-modules/Extensions/Data.js +11 -11
- package/assets/js/highcharts/es-modules/Extensions/DataGrouping/DataGrouping.js +1 -2
- package/assets/js/highcharts/es-modules/Extensions/DataGrouping/DataGroupingDefaults.js +1 -1
- package/assets/js/highcharts/es-modules/Extensions/DownloadURL.js +1 -1
- package/assets/js/highcharts/es-modules/Extensions/Drilldown/Drilldown.js +0 -2
- package/assets/js/highcharts/es-modules/Extensions/Exporting/Exporting.js +14 -14
- package/assets/js/highcharts/es-modules/Extensions/OverlappingDataLabels.js +36 -5
- package/assets/js/highcharts/es-modules/Extensions/Pane/PaneDefaults.js +3 -2
- package/assets/js/highcharts/es-modules/Extensions/ParallelCoordinates/ParallelCoordinates.js +1 -1
- package/assets/js/highcharts/es-modules/Extensions/Sonification/MIDI.js +7 -7
- package/assets/js/highcharts/es-modules/Extensions/Sonification/SonificationInstrument.js +0 -1
- package/assets/js/highcharts/es-modules/Extensions/Sonification/TimelineFromChart.js +1 -3
- package/assets/js/highcharts/es-modules/Extensions/TextPath.js +225 -0
- package/assets/js/highcharts/es-modules/Maps/MapUtilities.js +1 -20
- package/assets/js/highcharts/es-modules/Maps/MapView.js +3 -1
- package/assets/js/highcharts/es-modules/Series/ArcDiagram/ArcDiagramSeries.js +3 -0
- package/assets/js/highcharts/es-modules/Series/Area/AreaSeries.js +5 -0
- package/assets/js/highcharts/es-modules/Series/Area/AreaSeriesDefaults.js +1 -1
- package/assets/js/highcharts/es-modules/Series/Bar/BarSeries.js +1 -1
- package/assets/js/highcharts/es-modules/Series/Bellcurve/BellcurveSeriesDefaults.js +2 -2
- package/assets/js/highcharts/es-modules/Series/BoxPlot/BoxPlotSeries.js +2 -1
- package/assets/js/highcharts/es-modules/Series/Bubble/BubbleLegendComposition.js +4 -7
- package/assets/js/highcharts/es-modules/Series/Bubble/BubbleLegendDefaults.js +3 -3
- package/assets/js/highcharts/es-modules/Series/Bubble/BubbleSeries.js +4 -4
- package/assets/js/highcharts/es-modules/Series/Column/ColumnSeriesDefaults.js +1 -1
- package/assets/js/highcharts/es-modules/Series/DependencyWheel/DependencyWheelSeries.js +5 -2
- package/assets/js/highcharts/es-modules/Series/Dumbbell/DumbbellSeriesDefaults.js +2 -2
- package/assets/js/highcharts/es-modules/Series/ErrorBar/ErrorBarSeries.js +2 -2
- package/assets/js/highcharts/es-modules/Series/Flags/FlagsSeries.js +2 -2
- package/assets/js/highcharts/es-modules/Series/Flags/FlagsSeriesDefaults.js +1 -1
- package/assets/js/highcharts/es-modules/Series/Gantt/GanttSeriesDefaults.js +1 -1
- package/assets/js/highcharts/es-modules/Series/Gauge/GaugeSeries.js +1 -1
- package/assets/js/highcharts/es-modules/Series/HLC/HLCSeries.js +1 -1
- package/assets/js/highcharts/es-modules/Series/Heatmap/HeatmapSeriesDefaults.js +2 -2
- package/assets/js/highcharts/es-modules/Series/Item/ItemSeries.js +1 -1
- package/assets/js/highcharts/es-modules/Series/Map/MapSeries.js +1 -1
- package/assets/js/highcharts/es-modules/Series/Map/MapSeriesDefaults.js +2 -2
- package/assets/js/highcharts/es-modules/Series/Networkgraph/NetworkgraphSeries.js +4 -1
- package/assets/js/highcharts/es-modules/Series/Organization/OrganizationSeries.js +3 -0
- package/assets/js/highcharts/es-modules/Series/PackedBubble/PackedBubblePoint.js +1 -1
- package/assets/js/highcharts/es-modules/Series/PackedBubble/PackedBubbleSeries.js +8 -5
- package/assets/js/highcharts/es-modules/Series/Pie/PieDataLabel.js +7 -6
- package/assets/js/highcharts/es-modules/Series/Pie/PiePoint.js +6 -6
- package/assets/js/highcharts/es-modules/Series/Pie/PieSeriesDefaults.js +11 -10
- package/assets/js/highcharts/es-modules/Series/Pie3D/Pie3DSeries.js +1 -1
- package/assets/js/highcharts/es-modules/Series/Sankey/SankeySeries.js +7 -4
- package/assets/js/highcharts/es-modules/Series/Sankey/SankeySeriesDefaults.js +1 -1
- package/assets/js/highcharts/es-modules/Series/Sunburst/SunburstSeries.js +8 -5
- package/assets/js/highcharts/es-modules/Series/Sunburst/SunburstSeriesDefaults.js +2 -2
- package/assets/js/highcharts/es-modules/Series/Tilemap/TilemapSeriesDefaults.js +2 -2
- package/assets/js/highcharts/es-modules/Series/Treegraph/TreegraphSeries.js +23 -2
- package/assets/js/highcharts/es-modules/Series/Treegraph/TreegraphSeriesDefaults.js +2 -2
- package/assets/js/highcharts/es-modules/Series/Treemap/TreemapPoint.js +2 -1
- package/assets/js/highcharts/es-modules/Series/Treemap/TreemapSeries.js +15 -7
- package/assets/js/highcharts/es-modules/Series/Treemap/TreemapSeriesDefaults.js +15 -1
- package/assets/js/highcharts/es-modules/Series/VariablePie/VariablePieSeriesDefaults.js +2 -2
- package/assets/js/highcharts/es-modules/Series/Variwide/VariwideComposition.js +1 -1
- package/assets/js/highcharts/es-modules/Series/Vector/VectorSeries.js +1 -1
- package/assets/js/highcharts/es-modules/Series/Windbarb/WindbarbSeries.js +2 -2
- package/assets/js/highcharts/es-modules/Series/Wordcloud/WordcloudSeries.js +2 -2
- package/assets/js/highcharts/es-modules/Series/Wordcloud/WordcloudSeriesDefaults.js +1 -1
- package/assets/js/highcharts/es-modules/Stock/Indicators/AD/ADIndicator.js +1 -1
- package/assets/js/highcharts/es-modules/Stock/Indicators/APO/APOIndicator.js +1 -1
- package/assets/js/highcharts/es-modules/Stock/Indicators/Aroon/AroonIndicator.js +1 -1
- package/assets/js/highcharts/es-modules/Stock/Indicators/CMF/CMFIndicator.js +1 -1
- package/assets/js/highcharts/es-modules/Stock/Indicators/Chaikin/ChaikinIndicator.js +1 -1
- package/assets/js/highcharts/es-modules/Stock/Indicators/IKH/IKHIndicator.js +3 -3
- package/assets/js/highcharts/es-modules/Stock/Indicators/LinearRegression/LinearRegressionIndicator.js +1 -1
- package/assets/js/highcharts/es-modules/Stock/Indicators/MFI/MFIIndicator.js +1 -1
- package/assets/js/highcharts/es-modules/Stock/Indicators/PC/PCIndicator.js +1 -1
- package/assets/js/highcharts/es-modules/Stock/Indicators/PPO/PPOIndicator.js +1 -1
- package/assets/js/highcharts/es-modules/Stock/Indicators/PSAR/PSARIndicator.js +1 -1
- package/assets/js/highcharts/es-modules/Stock/Indicators/PivotPoints/PivotPointsIndicator.js +3 -3
- package/assets/js/highcharts/es-modules/Stock/Indicators/SMA/SMAIndicator.js +1 -1
- package/assets/js/highcharts/es-modules/Stock/Indicators/SlowStochastic/SlowStochasticIndicator.js +2 -2
- package/assets/js/highcharts/es-modules/Stock/Indicators/Supertrend/SupertrendIndicator.js +3 -3
- package/assets/js/highcharts/es-modules/Stock/Indicators/TrendLine/TrendLineIndicator.js +1 -1
- package/assets/js/highcharts/es-modules/Stock/Indicators/VWAP/VWAPIndicator.js +1 -1
- package/assets/js/highcharts/es-modules/Stock/Indicators/WilliamsR/WilliamsRIndicator.js +1 -1
- package/assets/js/highcharts/es-modules/Stock/Navigator/Navigator.js +141 -55
- package/assets/js/highcharts/es-modules/Stock/Navigator/NavigatorDefaults.js +1 -1
- package/assets/js/highcharts/es-modules/Stock/RangeSelector/RangeSelector.js +1 -1
- package/assets/js/highcharts/es-modules/Stock/RangeSelector/RangeSelectorDefaults.js +1 -1
- package/assets/js/highcharts/es-modules/Stock/Scrollbar/ScrollbarDefaults.js +1 -1
- package/assets/js/highcharts/es-modules/Stock/StockTools/StockToolbar.js +115 -37
- package/assets/js/highcharts/es-modules/Stock/StockTools/StockToolsDefaults.js +7 -1
- package/assets/js/highcharts/es-modules/Stock/StockTools/StockToolsGui.js +24 -23
- package/assets/js/highcharts/es-modules/Stock/StockTools/StockToolsUtilities.js +26 -0
- package/assets/js/highcharts/es-modules/masters/highcharts-more.src.js +2 -2
- package/assets/js/highcharts/es-modules/masters/indicators/acceleration-bands.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/indicators/accumulation-distribution.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/indicators/ao.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/indicators/apo.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/indicators/aroon-oscillator.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/indicators/aroon.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/indicators/atr.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/indicators/bollinger-bands.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/indicators/cci.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/indicators/chaikin.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/indicators/cmf.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/indicators/cmo.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/indicators/dema.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/indicators/disparity-index.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/indicators/dmi.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/indicators/dpo.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/indicators/indicators-all.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/indicators/indicators.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/indicators/keltner-channels.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/indicators/klinger.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/indicators/macd.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/indicators/mfi.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/indicators/momentum.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/indicators/natr.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/indicators/obv.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/indicators/pivot-points.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/indicators/ppo.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/indicators/price-channel.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/indicators/price-envelopes.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/indicators/psar.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/indicators/regressions.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/indicators/roc.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/indicators/rsi.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/indicators/slow-stochastic.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/indicators/stochastic.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/indicators/supertrend.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/indicators/tema.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/indicators/trendline.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/indicators/trix.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/indicators/volume-by-price.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/indicators/vwap.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/indicators/williams-r.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/indicators/wma.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/indicators/zigzag.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/arc-diagram.src.js +2 -3
- package/assets/js/highcharts/es-modules/masters/modules/cylinder.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/dependency-wheel.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/drag-panes.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/export-data.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/funnel3d.src.js +2 -2
- package/assets/js/highcharts/es-modules/masters/modules/heikinashi.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/hollowcandlestick.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/map.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/offline-exporting.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/organization.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/price-indicator.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/pyramid3d.src.js +3 -3
- package/assets/js/highcharts/es-modules/masters/modules/solid-gauge.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/stock-tools.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/textpath.src.js +16 -0
- package/assets/js/highcharts/es-modules/masters/modules/tilemap.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/treegraph.src.js +1 -1
- package/assets/js/highcharts/highcharts-3d.js +2 -2
- package/assets/js/highcharts/highcharts-3d.src.js +4 -4
- package/assets/js/highcharts/highcharts-gantt.js +3 -3
- package/assets/js/highcharts/highcharts-gantt.src.js +3374 -3042
- package/assets/js/highcharts/highcharts-more.js +2 -2
- package/assets/js/highcharts/highcharts-more.src.js +260 -35
- package/assets/js/highcharts/highcharts.js +3 -3
- package/assets/js/highcharts/highcharts.src.js +5844 -5600
- package/assets/js/highcharts/highmaps.js +3 -3
- package/assets/js/highcharts/highmaps.src.js +3270 -3043
- package/assets/js/highcharts/highstock.js +3 -3
- package/assets/js/highcharts/highstock.src.js +3379 -3048
- package/assets/js/highcharts/indicators/acceleration-bands.js +2 -2
- package/assets/js/highcharts/indicators/acceleration-bands.src.js +4 -4
- package/assets/js/highcharts/indicators/accumulation-distribution.js +2 -2
- package/assets/js/highcharts/indicators/accumulation-distribution.src.js +5 -5
- package/assets/js/highcharts/indicators/ao.js +2 -2
- package/assets/js/highcharts/indicators/ao.src.js +4 -4
- package/assets/js/highcharts/indicators/apo.js +2 -2
- package/assets/js/highcharts/indicators/apo.src.js +5 -5
- package/assets/js/highcharts/indicators/aroon-oscillator.js +2 -2
- package/assets/js/highcharts/indicators/aroon-oscillator.src.js +4 -4
- package/assets/js/highcharts/indicators/aroon.js +2 -2
- package/assets/js/highcharts/indicators/aroon.src.js +5 -5
- package/assets/js/highcharts/indicators/atr.js +2 -2
- package/assets/js/highcharts/indicators/atr.src.js +4 -4
- package/assets/js/highcharts/indicators/bollinger-bands.js +2 -2
- package/assets/js/highcharts/indicators/bollinger-bands.src.js +4 -4
- package/assets/js/highcharts/indicators/cci.js +2 -2
- package/assets/js/highcharts/indicators/cci.src.js +4 -4
- package/assets/js/highcharts/indicators/chaikin.js +2 -2
- package/assets/js/highcharts/indicators/chaikin.src.js +6 -6
- package/assets/js/highcharts/indicators/cmf.js +2 -2
- package/assets/js/highcharts/indicators/cmf.src.js +5 -5
- package/assets/js/highcharts/indicators/cmo.js +2 -2
- package/assets/js/highcharts/indicators/cmo.src.js +4 -4
- package/assets/js/highcharts/indicators/dema.js +2 -2
- package/assets/js/highcharts/indicators/dema.src.js +4 -4
- package/assets/js/highcharts/indicators/disparity-index.js +2 -2
- package/assets/js/highcharts/indicators/disparity-index.src.js +4 -4
- package/assets/js/highcharts/indicators/dmi.js +2 -2
- package/assets/js/highcharts/indicators/dmi.src.js +4 -4
- package/assets/js/highcharts/indicators/dpo.js +2 -2
- package/assets/js/highcharts/indicators/dpo.src.js +4 -4
- package/assets/js/highcharts/indicators/ema.js +1 -1
- package/assets/js/highcharts/indicators/ema.src.js +2 -2
- package/assets/js/highcharts/indicators/ichimoku-kinko-hyo.js +2 -2
- package/assets/js/highcharts/indicators/ichimoku-kinko-hyo.src.js +7 -7
- package/assets/js/highcharts/indicators/indicators-all.js +2 -2
- package/assets/js/highcharts/indicators/indicators-all.src.js +29 -29
- package/assets/js/highcharts/indicators/indicators.js +2 -2
- package/assets/js/highcharts/indicators/indicators.src.js +5 -5
- package/assets/js/highcharts/indicators/keltner-channels.js +2 -2
- package/assets/js/highcharts/indicators/keltner-channels.src.js +4 -4
- package/assets/js/highcharts/indicators/klinger.js +2 -2
- package/assets/js/highcharts/indicators/klinger.src.js +4 -4
- package/assets/js/highcharts/indicators/macd.js +2 -2
- package/assets/js/highcharts/indicators/macd.src.js +4 -4
- package/assets/js/highcharts/indicators/mfi.js +2 -2
- package/assets/js/highcharts/indicators/mfi.src.js +5 -5
- package/assets/js/highcharts/indicators/momentum.js +2 -2
- package/assets/js/highcharts/indicators/momentum.src.js +4 -4
- package/assets/js/highcharts/indicators/natr.js +2 -2
- package/assets/js/highcharts/indicators/natr.src.js +4 -4
- package/assets/js/highcharts/indicators/obv.js +2 -2
- package/assets/js/highcharts/indicators/obv.src.js +4 -4
- package/assets/js/highcharts/indicators/pivot-points.js +2 -2
- package/assets/js/highcharts/indicators/pivot-points.src.js +7 -7
- package/assets/js/highcharts/indicators/ppo.js +2 -2
- package/assets/js/highcharts/indicators/ppo.src.js +5 -5
- package/assets/js/highcharts/indicators/price-channel.js +2 -2
- package/assets/js/highcharts/indicators/price-channel.src.js +5 -5
- package/assets/js/highcharts/indicators/price-envelopes.js +2 -2
- package/assets/js/highcharts/indicators/price-envelopes.src.js +4 -4
- package/assets/js/highcharts/indicators/psar.js +2 -2
- package/assets/js/highcharts/indicators/psar.src.js +5 -5
- package/assets/js/highcharts/indicators/regressions.js +2 -2
- package/assets/js/highcharts/indicators/regressions.src.js +5 -5
- package/assets/js/highcharts/indicators/roc.js +2 -2
- package/assets/js/highcharts/indicators/roc.src.js +4 -4
- package/assets/js/highcharts/indicators/rsi.js +2 -2
- package/assets/js/highcharts/indicators/rsi.src.js +4 -4
- package/assets/js/highcharts/indicators/slow-stochastic.js +2 -2
- package/assets/js/highcharts/indicators/slow-stochastic.src.js +6 -6
- package/assets/js/highcharts/indicators/stochastic.js +2 -2
- package/assets/js/highcharts/indicators/stochastic.src.js +4 -4
- package/assets/js/highcharts/indicators/supertrend.js +2 -2
- package/assets/js/highcharts/indicators/supertrend.src.js +7 -7
- package/assets/js/highcharts/indicators/tema.js +2 -2
- package/assets/js/highcharts/indicators/tema.src.js +4 -4
- package/assets/js/highcharts/indicators/trendline.js +2 -2
- package/assets/js/highcharts/indicators/trendline.src.js +5 -5
- package/assets/js/highcharts/indicators/trix.js +2 -2
- package/assets/js/highcharts/indicators/trix.src.js +4 -4
- package/assets/js/highcharts/indicators/volume-by-price.js +2 -2
- package/assets/js/highcharts/indicators/volume-by-price.src.js +4 -4
- package/assets/js/highcharts/indicators/vwap.js +2 -2
- package/assets/js/highcharts/indicators/vwap.src.js +5 -5
- package/assets/js/highcharts/indicators/williams-r.js +2 -2
- package/assets/js/highcharts/indicators/williams-r.src.js +5 -5
- package/assets/js/highcharts/indicators/wma.js +2 -2
- package/assets/js/highcharts/indicators/wma.src.js +4 -4
- package/assets/js/highcharts/indicators/zigzag.js +2 -2
- package/assets/js/highcharts/indicators/zigzag.src.js +4 -4
- package/assets/js/highcharts/modules/accessibility.js +2 -2
- package/assets/js/highcharts/modules/accessibility.src.js +162 -77
- package/assets/js/highcharts/modules/annotations-advanced.js +2 -2
- package/assets/js/highcharts/modules/annotations-advanced.src.js +8 -9
- package/assets/js/highcharts/modules/annotations.js +2 -2
- package/assets/js/highcharts/modules/annotations.src.js +8 -9
- package/assets/js/highcharts/modules/arc-diagram.js +2 -2
- package/assets/js/highcharts/modules/arc-diagram.src.js +9363 -5
- package/assets/js/highcharts/modules/arrow-symbols.js +2 -2
- package/assets/js/highcharts/modules/arrow-symbols.src.js +3 -3
- package/assets/js/highcharts/modules/boost-canvas.js +2 -2
- package/assets/js/highcharts/modules/boost-canvas.src.js +53 -16
- package/assets/js/highcharts/modules/boost.js +2 -2
- package/assets/js/highcharts/modules/boost.src.js +54 -17
- package/assets/js/highcharts/modules/broken-axis.js +2 -2
- package/assets/js/highcharts/modules/broken-axis.src.js +3 -3
- package/assets/js/highcharts/modules/bullet.js +2 -2
- package/assets/js/highcharts/modules/bullet.src.js +3 -3
- package/assets/js/highcharts/modules/coloraxis.js +2 -2
- package/assets/js/highcharts/modules/coloraxis.src.js +10 -6
- package/assets/js/highcharts/modules/current-date-indicator.js +2 -2
- package/assets/js/highcharts/modules/current-date-indicator.src.js +3 -3
- package/assets/js/highcharts/modules/cylinder.js +2 -2
- package/assets/js/highcharts/modules/cylinder.src.js +4 -4
- package/assets/js/highcharts/modules/data-tools.js +2 -2
- package/assets/js/highcharts/modules/data-tools.src.js +120 -18
- package/assets/js/highcharts/modules/data.js +2 -2
- package/assets/js/highcharts/modules/data.src.js +14 -14
- package/assets/js/highcharts/modules/datagrouping.js +2 -2
- package/assets/js/highcharts/modules/datagrouping.src.js +5 -6
- package/assets/js/highcharts/modules/debugger.js +2 -2
- package/assets/js/highcharts/modules/debugger.src.js +3 -3
- package/assets/js/highcharts/modules/dependency-wheel.js +2 -2
- package/assets/js/highcharts/modules/dependency-wheel.src.js +8 -7
- package/assets/js/highcharts/modules/dotplot.js +2 -2
- package/assets/js/highcharts/modules/dotplot.src.js +3 -3
- package/assets/js/highcharts/modules/drag-panes.js +2 -2
- package/assets/js/highcharts/modules/drag-panes.src.js +4 -4
- package/assets/js/highcharts/modules/draggable-points.js +2 -2
- package/assets/js/highcharts/modules/draggable-points.src.js +3 -3
- package/assets/js/highcharts/modules/drilldown.js +2 -2
- package/assets/js/highcharts/modules/drilldown.src.js +3 -43
- package/assets/js/highcharts/modules/dumbbell.js +2 -2
- package/assets/js/highcharts/modules/dumbbell.src.js +5 -5
- package/assets/js/highcharts/modules/export-data.js +2 -2
- package/assets/js/highcharts/modules/export-data.src.js +5 -5
- package/assets/js/highcharts/modules/exporting.js +2 -2
- package/assets/js/highcharts/modules/exporting.src.js +17 -17
- package/assets/js/highcharts/modules/flowmap.js +2 -2
- package/assets/js/highcharts/modules/flowmap.src.js +3 -3
- package/assets/js/highcharts/modules/full-screen.js +2 -2
- package/assets/js/highcharts/modules/full-screen.src.js +3 -3
- package/assets/js/highcharts/modules/funnel.js +2 -2
- package/assets/js/highcharts/modules/funnel.src.js +3 -3
- package/assets/js/highcharts/modules/funnel3d.js +2 -2
- package/assets/js/highcharts/modules/funnel3d.src.js +4 -4
- package/assets/js/highcharts/modules/gantt.js +2 -2
- package/assets/js/highcharts/modules/gantt.src.js +155 -67
- package/assets/js/highcharts/modules/geoheatmap.js +2 -2
- package/assets/js/highcharts/modules/geoheatmap.src.js +3 -3
- package/assets/js/highcharts/modules/grid-axis.js +2 -2
- package/assets/js/highcharts/modules/grid-axis.src.js +4 -4
- package/assets/js/highcharts/modules/heatmap.js +2 -2
- package/assets/js/highcharts/modules/heatmap.src.js +12 -8
- package/assets/js/highcharts/modules/heikinashi.js +2 -2
- package/assets/js/highcharts/modules/heikinashi.src.js +4 -4
- package/assets/js/highcharts/modules/histogram-bellcurve.js +2 -2
- package/assets/js/highcharts/modules/histogram-bellcurve.src.js +5 -5
- package/assets/js/highcharts/modules/hollowcandlestick.js +2 -2
- package/assets/js/highcharts/modules/hollowcandlestick.src.js +4 -4
- package/assets/js/highcharts/modules/item-series.js +2 -2
- package/assets/js/highcharts/modules/item-series.src.js +4 -4
- package/assets/js/highcharts/modules/lollipop.js +2 -2
- package/assets/js/highcharts/modules/lollipop.src.js +3 -3
- package/assets/js/highcharts/modules/map.js +2 -2
- package/assets/js/highcharts/modules/map.src.js +34 -51
- package/assets/js/highcharts/modules/marker-clusters.js +2 -2
- package/assets/js/highcharts/modules/marker-clusters.src.js +3 -3
- package/assets/js/highcharts/modules/mouse-wheel-zoom.js +2 -2
- package/assets/js/highcharts/modules/mouse-wheel-zoom.src.js +3 -3
- package/assets/js/highcharts/modules/navigator.js +2 -2
- package/assets/js/highcharts/modules/navigator.src.js +146 -61
- package/assets/js/highcharts/modules/networkgraph.js +2 -2
- package/assets/js/highcharts/modules/networkgraph.src.js +231 -5
- package/assets/js/highcharts/modules/no-data-to-display.js +2 -2
- package/assets/js/highcharts/modules/no-data-to-display.src.js +3 -3
- package/assets/js/highcharts/modules/offline-exporting.js +2 -2
- package/assets/js/highcharts/modules/offline-exporting.src.js +6 -6
- package/assets/js/highcharts/modules/organization.js +2 -2
- package/assets/js/highcharts/modules/organization.src.js +6 -5
- package/assets/js/highcharts/modules/overlapping-datalabels.js +2 -2
- package/assets/js/highcharts/modules/overlapping-datalabels.src.js +3 -3
- package/assets/js/highcharts/modules/parallel-coordinates.js +2 -2
- package/assets/js/highcharts/modules/parallel-coordinates.src.js +4 -4
- package/assets/js/highcharts/modules/pareto.js +2 -2
- package/assets/js/highcharts/modules/pareto.src.js +3 -3
- package/assets/js/highcharts/modules/pathfinder.js +2 -2
- package/assets/js/highcharts/modules/pathfinder.src.js +3 -3
- package/assets/js/highcharts/modules/pattern-fill.js +2 -2
- package/assets/js/highcharts/modules/pattern-fill.src.js +3 -3
- package/assets/js/highcharts/modules/pictorial.js +2 -2
- package/assets/js/highcharts/modules/pictorial.src.js +3 -3
- package/assets/js/highcharts/modules/price-indicator.js +2 -2
- package/assets/js/highcharts/modules/price-indicator.src.js +4 -4
- package/assets/js/highcharts/modules/pyramid3d.js +2 -2
- package/assets/js/highcharts/modules/pyramid3d.src.js +4 -4
- package/assets/js/highcharts/modules/sankey.js +2 -2
- package/assets/js/highcharts/modules/sankey.src.js +235 -9
- package/assets/js/highcharts/modules/series-label.js +2 -2
- package/assets/js/highcharts/modules/series-label.src.js +3 -3
- package/assets/js/highcharts/modules/series-on-point.js +2 -2
- package/assets/js/highcharts/modules/series-on-point.src.js +3 -3
- package/assets/js/highcharts/modules/solid-gauge.js +2 -2
- package/assets/js/highcharts/modules/solid-gauge.src.js +4 -4
- package/assets/js/highcharts/modules/sonification.js +2 -2
- package/assets/js/highcharts/modules/sonification.src.js +12 -15
- package/assets/js/highcharts/modules/static-scale.js +2 -2
- package/assets/js/highcharts/modules/static-scale.src.js +3 -3
- package/assets/js/highcharts/modules/stock-tools.js +2 -2
- package/assets/js/highcharts/modules/stock-tools.src.js +178 -70
- package/assets/js/highcharts/modules/stock.js +2 -2
- package/assets/js/highcharts/modules/stock.src.js +160 -73
- package/assets/js/highcharts/modules/streamgraph.js +2 -2
- package/assets/js/highcharts/modules/streamgraph.src.js +3 -3
- package/assets/js/highcharts/modules/sunburst.js +2 -2
- package/assets/js/highcharts/modules/sunburst.src.js +269 -58
- package/assets/js/highcharts/modules/textpath.js +7 -0
- package/assets/js/highcharts/modules/textpath.src.js +269 -0
- package/assets/js/highcharts/modules/tiledwebmap.js +3 -3
- package/assets/js/highcharts/modules/tiledwebmap.src.js +3 -3
- package/assets/js/highcharts/modules/tilemap.js +2 -2
- package/assets/js/highcharts/modules/tilemap.src.js +6 -6
- package/assets/js/highcharts/modules/timeline.js +2 -2
- package/assets/js/highcharts/modules/timeline.src.js +3 -3
- package/assets/js/highcharts/modules/treegraph.js +2 -2
- package/assets/js/highcharts/modules/treegraph.src.js +253 -9
- package/assets/js/highcharts/modules/treegrid.js +2 -2
- package/assets/js/highcharts/modules/treegrid.src.js +4 -4
- package/assets/js/highcharts/modules/treemap.js +2 -2
- package/assets/js/highcharts/modules/treemap.src.js +35 -50
- package/assets/js/highcharts/modules/variable-pie.js +2 -2
- package/assets/js/highcharts/modules/variable-pie.src.js +5 -5
- package/assets/js/highcharts/modules/variwide.js +2 -2
- package/assets/js/highcharts/modules/variwide.src.js +4 -4
- package/assets/js/highcharts/modules/vector.js +2 -2
- package/assets/js/highcharts/modules/vector.src.js +4 -4
- package/assets/js/highcharts/modules/venn.js +2 -2
- package/assets/js/highcharts/modules/venn.src.js +3 -88
- package/assets/js/highcharts/modules/windbarb.js +2 -2
- package/assets/js/highcharts/modules/windbarb.src.js +5 -5
- package/assets/js/highcharts/modules/wordcloud.js +2 -2
- package/assets/js/highcharts/modules/wordcloud.src.js +6 -6
- package/assets/js/highcharts/modules/xrange.js +2 -2
- package/assets/js/highcharts/modules/xrange.src.js +3 -3
- package/assets/js/highcharts/standalone-navigator.js +2 -2
- package/assets/js/highcharts/standalone-navigator.src.js +3363 -3034
- package/assets/js/highcharts/themes/avocado.js +2 -2
- package/assets/js/highcharts/themes/avocado.src.js +3 -3
- package/assets/js/highcharts/themes/brand-dark.js +2 -2
- package/assets/js/highcharts/themes/brand-dark.src.js +3 -3
- package/assets/js/highcharts/themes/brand-light.js +2 -2
- package/assets/js/highcharts/themes/brand-light.src.js +3 -3
- package/assets/js/highcharts/themes/dark-blue.js +2 -2
- package/assets/js/highcharts/themes/dark-blue.src.js +3 -3
- package/assets/js/highcharts/themes/dark-green.js +2 -2
- package/assets/js/highcharts/themes/dark-green.src.js +3 -3
- package/assets/js/highcharts/themes/dark-unica.js +2 -2
- package/assets/js/highcharts/themes/dark-unica.src.js +3 -3
- package/assets/js/highcharts/themes/gray.js +2 -2
- package/assets/js/highcharts/themes/gray.src.js +3 -3
- package/assets/js/highcharts/themes/grid-light.js +2 -2
- package/assets/js/highcharts/themes/grid-light.src.js +3 -3
- package/assets/js/highcharts/themes/grid.js +2 -2
- package/assets/js/highcharts/themes/grid.src.js +3 -3
- package/assets/js/highcharts/themes/high-contrast-dark.js +2 -2
- package/assets/js/highcharts/themes/high-contrast-dark.src.js +3 -3
- package/assets/js/highcharts/themes/high-contrast-light.js +2 -2
- package/assets/js/highcharts/themes/high-contrast-light.src.js +3 -3
- package/assets/js/highcharts/themes/sand-signika.js +2 -2
- package/assets/js/highcharts/themes/sand-signika.src.js +3 -3
- package/assets/js/highcharts/themes/skies.js +2 -2
- package/assets/js/highcharts/themes/skies.src.js +3 -3
- package/assets/js/highcharts/themes/sunset.js +2 -2
- package/assets/js/highcharts/themes/sunset.src.js +3 -3
- package/assets/js/pdfjs/build/pdf.mjs +464 -207
- package/assets/js/pdfjs/build/pdf.mjs.map +1 -1
- package/assets/js/pdfjs/build/pdf.sandbox.mjs +6 -3
- package/assets/js/pdfjs/build/pdf.sandbox.mjs.map +1 -1
- package/assets/js/pdfjs/build/pdf.worker.mjs +384 -204
- package/assets/js/pdfjs/build/pdf.worker.mjs.map +1 -1
- package/assets/js/pdfjs/web/locale/br/viewer.ftl +5 -6
- package/assets/js/pdfjs/web/locale/is/viewer.ftl +1 -9
- package/assets/js/pdfjs/web/locale/ja/viewer.ftl +1 -3
- package/assets/js/pdfjs/web/locale/kab/viewer.ftl +57 -8
- package/assets/js/pdfjs/web/locale/nn-NO/viewer.ftl +40 -6
- package/assets/js/pdfjs/web/locale/sl/viewer.ftl +4 -0
- package/assets/js/pdfjs/web/viewer.css +15 -0
- package/assets/js/pdfjs/web/viewer.html +1 -1
- package/assets/js/pdfjs/web/viewer.mjs +159 -91
- package/assets/js/pdfjs/web/viewer.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Highcharts JS v11.4.4 (2024-07-02)
|
|
3
|
+
*
|
|
4
|
+
* (c) 2009-2024 Torstein Honsi
|
|
5
|
+
*
|
|
6
|
+
* License: www.highcharts.com/license
|
|
7
|
+
*/
|
|
8
|
+
(function (factory) {
|
|
9
|
+
if (typeof module === 'object' && module.exports) {
|
|
10
|
+
factory['default'] = factory;
|
|
11
|
+
module.exports = factory;
|
|
12
|
+
} else if (typeof define === 'function' && define.amd) {
|
|
13
|
+
define('highcharts/modules/textpath-support', ['highcharts'], function (Highcharts) {
|
|
14
|
+
factory(Highcharts);
|
|
15
|
+
factory.Highcharts = Highcharts;
|
|
16
|
+
return factory;
|
|
17
|
+
});
|
|
18
|
+
} else {
|
|
19
|
+
factory(typeof Highcharts !== 'undefined' ? Highcharts : undefined);
|
|
20
|
+
}
|
|
21
|
+
}(function (Highcharts) {
|
|
22
|
+
'use strict';
|
|
23
|
+
var _modules = Highcharts ? Highcharts._modules : {};
|
|
24
|
+
function _registerModule(obj, path, args, fn) {
|
|
25
|
+
if (!obj.hasOwnProperty(path)) {
|
|
26
|
+
obj[path] = fn.apply(null, args);
|
|
27
|
+
|
|
28
|
+
if (typeof CustomEvent === 'function') {
|
|
29
|
+
Highcharts.win.dispatchEvent(new CustomEvent(
|
|
30
|
+
'HighchartsModuleLoaded',
|
|
31
|
+
{ detail: { path: path, module: obj[path] } }
|
|
32
|
+
));
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
_registerModule(_modules, 'Extensions/TextPath.js', [_modules['Core/Globals.js'], _modules['Core/Utilities.js']], function (H, U) {
|
|
37
|
+
/* *
|
|
38
|
+
*
|
|
39
|
+
* Highcharts module with textPath functionality.
|
|
40
|
+
*
|
|
41
|
+
* (c) 2009-2024 Torstein Honsi
|
|
42
|
+
*
|
|
43
|
+
* License: www.highcharts.com/license
|
|
44
|
+
*
|
|
45
|
+
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
46
|
+
*
|
|
47
|
+
* */
|
|
48
|
+
const { deg2rad } = H;
|
|
49
|
+
const { addEvent, merge, uniqueKey, defined, extend } = U;
|
|
50
|
+
/**
|
|
51
|
+
* Set a text path for a `text` or `label` element, allowing the text to
|
|
52
|
+
* flow along a path.
|
|
53
|
+
*
|
|
54
|
+
* In order to unset the path for an existing element, call `setTextPath`
|
|
55
|
+
* with `{ enabled: false }` as the second argument.
|
|
56
|
+
*
|
|
57
|
+
* Text path support is not bundled into `highcharts.js`, and requires the
|
|
58
|
+
* `modules/textpath.js` file. However, it is included in the script files of
|
|
59
|
+
* those series types that use it by default
|
|
60
|
+
*
|
|
61
|
+
* @sample highcharts/members/renderer-textpath/ Text path demonstrated
|
|
62
|
+
*
|
|
63
|
+
* @function Highcharts.SVGElement#setTextPath
|
|
64
|
+
*
|
|
65
|
+
* @param {Highcharts.SVGElement|undefined} path
|
|
66
|
+
* Path to follow. If undefined, it allows changing options for the
|
|
67
|
+
* existing path.
|
|
68
|
+
*
|
|
69
|
+
* @param {Highcharts.DataLabelsTextPathOptionsObject} textPathOptions
|
|
70
|
+
* Options.
|
|
71
|
+
*
|
|
72
|
+
* @return {Highcharts.SVGElement} Returns the SVGElement for chaining.
|
|
73
|
+
*/
|
|
74
|
+
function setTextPath(path, textPathOptions) {
|
|
75
|
+
// Defaults
|
|
76
|
+
textPathOptions = merge(true, {
|
|
77
|
+
enabled: true,
|
|
78
|
+
attributes: {
|
|
79
|
+
dy: -5,
|
|
80
|
+
startOffset: '50%',
|
|
81
|
+
textAnchor: 'middle'
|
|
82
|
+
}
|
|
83
|
+
}, textPathOptions);
|
|
84
|
+
const url = this.renderer.url, textWrapper = this.text || this, textPath = textWrapper.textPath, { attributes, enabled } = textPathOptions;
|
|
85
|
+
path = path || (textPath && textPath.path);
|
|
86
|
+
// Remove previously added event
|
|
87
|
+
if (textPath) {
|
|
88
|
+
textPath.undo();
|
|
89
|
+
}
|
|
90
|
+
if (path && enabled) {
|
|
91
|
+
const undo = addEvent(textWrapper, 'afterModifyTree', (e) => {
|
|
92
|
+
if (path && enabled) {
|
|
93
|
+
// Set ID for the path
|
|
94
|
+
let textPathId = path.attr('id');
|
|
95
|
+
if (!textPathId) {
|
|
96
|
+
path.attr('id', textPathId = uniqueKey());
|
|
97
|
+
}
|
|
98
|
+
// Set attributes for the <text>
|
|
99
|
+
const textAttribs = {
|
|
100
|
+
// `dx`/`dy` options must by set on <text> (parent), the
|
|
101
|
+
// rest should be set on <textPath>
|
|
102
|
+
x: 0,
|
|
103
|
+
y: 0
|
|
104
|
+
};
|
|
105
|
+
if (defined(attributes.dx)) {
|
|
106
|
+
textAttribs.dx = attributes.dx;
|
|
107
|
+
delete attributes.dx;
|
|
108
|
+
}
|
|
109
|
+
if (defined(attributes.dy)) {
|
|
110
|
+
textAttribs.dy = attributes.dy;
|
|
111
|
+
delete attributes.dy;
|
|
112
|
+
}
|
|
113
|
+
textWrapper.attr(textAttribs);
|
|
114
|
+
// Handle label properties
|
|
115
|
+
this.attr({ transform: '' });
|
|
116
|
+
if (this.box) {
|
|
117
|
+
this.box = this.box.destroy();
|
|
118
|
+
}
|
|
119
|
+
// Wrap the nodes in a textPath
|
|
120
|
+
const children = e.nodes.slice(0);
|
|
121
|
+
e.nodes.length = 0;
|
|
122
|
+
e.nodes[0] = {
|
|
123
|
+
tagName: 'textPath',
|
|
124
|
+
attributes: extend(attributes, {
|
|
125
|
+
'text-anchor': attributes.textAnchor,
|
|
126
|
+
href: `${url}#${textPathId}`
|
|
127
|
+
}),
|
|
128
|
+
children
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
});
|
|
132
|
+
// Set the reference
|
|
133
|
+
textWrapper.textPath = { path, undo };
|
|
134
|
+
}
|
|
135
|
+
else {
|
|
136
|
+
textWrapper.attr({ dx: 0, dy: 0 });
|
|
137
|
+
delete textWrapper.textPath;
|
|
138
|
+
}
|
|
139
|
+
if (this.added) {
|
|
140
|
+
// Rebuild text after added
|
|
141
|
+
textWrapper.textCache = '';
|
|
142
|
+
this.renderer.buildText(textWrapper);
|
|
143
|
+
}
|
|
144
|
+
return this;
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* Attach a polygon to a bounding box if the element contains a textPath.
|
|
148
|
+
*
|
|
149
|
+
* @function Highcharts.SVGElement#setPolygon
|
|
150
|
+
*
|
|
151
|
+
* @param {any} event
|
|
152
|
+
* An event containing a bounding box object
|
|
153
|
+
*
|
|
154
|
+
* @return {Highcharts.BBoxObject} Returns the bounding box object.
|
|
155
|
+
*/
|
|
156
|
+
function setPolygon(event) {
|
|
157
|
+
const bBox = event.bBox, tp = this.element?.querySelector('textPath');
|
|
158
|
+
if (tp) {
|
|
159
|
+
const polygon = [], { b, h } = this.renderer.fontMetrics(this.element), descender = h - b, lineCleanerRegex = new RegExp('(<tspan>|' +
|
|
160
|
+
'<tspan(?!\\sclass="highcharts-br")[^>]*>|' +
|
|
161
|
+
'<\\/tspan>)', 'g'), lines = tp
|
|
162
|
+
.innerHTML
|
|
163
|
+
.replace(lineCleanerRegex, '')
|
|
164
|
+
.split(/<tspan class="highcharts-br"[^>]*>/), numOfLines = lines.length;
|
|
165
|
+
// Calculate top and bottom coordinates for
|
|
166
|
+
// either the start or the end of a single
|
|
167
|
+
// character, and append it to the polygon.
|
|
168
|
+
const appendTopAndBottom = (charIndex, positionOfChar) => {
|
|
169
|
+
const { x, y } = positionOfChar, rotation = (tp.getRotationOfChar(charIndex) - 90) * deg2rad, cosRot = Math.cos(rotation), sinRot = Math.sin(rotation);
|
|
170
|
+
return [
|
|
171
|
+
[
|
|
172
|
+
x - descender * cosRot,
|
|
173
|
+
y - descender * sinRot
|
|
174
|
+
],
|
|
175
|
+
[
|
|
176
|
+
x + b * cosRot,
|
|
177
|
+
y + b * sinRot
|
|
178
|
+
]
|
|
179
|
+
];
|
|
180
|
+
};
|
|
181
|
+
for (let i = 0, lineIndex = 0; lineIndex < numOfLines; lineIndex++) {
|
|
182
|
+
const line = lines[lineIndex], lineLen = line.length;
|
|
183
|
+
for (let lineCharIndex = 0; lineCharIndex < lineLen; lineCharIndex += 5) {
|
|
184
|
+
try {
|
|
185
|
+
const srcCharIndex = (i +
|
|
186
|
+
lineCharIndex +
|
|
187
|
+
lineIndex), [lower, upper] = appendTopAndBottom(srcCharIndex, tp.getStartPositionOfChar(srcCharIndex));
|
|
188
|
+
if (lineCharIndex === 0) {
|
|
189
|
+
polygon.push(upper);
|
|
190
|
+
polygon.push(lower);
|
|
191
|
+
}
|
|
192
|
+
else {
|
|
193
|
+
if (lineIndex === 0) {
|
|
194
|
+
polygon.unshift(upper);
|
|
195
|
+
}
|
|
196
|
+
if (lineIndex === numOfLines - 1) {
|
|
197
|
+
polygon.push(lower);
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
catch (e) {
|
|
202
|
+
// Safari fails on getStartPositionOfChar even if the
|
|
203
|
+
// character is within the `textContent.length`
|
|
204
|
+
break;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
i += lineLen - 1;
|
|
208
|
+
try {
|
|
209
|
+
const srcCharIndex = i + lineIndex, charPos = tp.getEndPositionOfChar(srcCharIndex), [lower, upper] = appendTopAndBottom(srcCharIndex, charPos);
|
|
210
|
+
polygon.unshift(upper);
|
|
211
|
+
polygon.unshift(lower);
|
|
212
|
+
}
|
|
213
|
+
catch (e) {
|
|
214
|
+
// Safari fails on getStartPositionOfChar even if the character
|
|
215
|
+
// is within the `textContent.length`
|
|
216
|
+
break;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
// Close it
|
|
220
|
+
polygon.push(polygon[0].slice());
|
|
221
|
+
bBox.polygon = polygon;
|
|
222
|
+
}
|
|
223
|
+
return bBox;
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* Draw text along a textPath for a dataLabel.
|
|
227
|
+
*
|
|
228
|
+
* @function Highcharts.SVGElement#setTextPath
|
|
229
|
+
*
|
|
230
|
+
* @param {any} event
|
|
231
|
+
* An event containing label options
|
|
232
|
+
*
|
|
233
|
+
* @return {void}
|
|
234
|
+
*/
|
|
235
|
+
function drawTextPath(event) {
|
|
236
|
+
const labelOptions = event.labelOptions, point = event.point, textPathOptions = (labelOptions[point.formatPrefix + 'TextPath'] ||
|
|
237
|
+
labelOptions.textPath);
|
|
238
|
+
if (textPathOptions && !labelOptions.useHTML) {
|
|
239
|
+
this.setTextPath(point.getDataLabelPath?.(this) || point.graphic, textPathOptions);
|
|
240
|
+
if (point.dataLabelPath &&
|
|
241
|
+
!textPathOptions.enabled) {
|
|
242
|
+
// Clean the DOM
|
|
243
|
+
point.dataLabelPath = (point.dataLabelPath.destroy());
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
function compose(SVGElementClass) {
|
|
248
|
+
addEvent(SVGElementClass, 'afterGetBBox', setPolygon);
|
|
249
|
+
addEvent(SVGElementClass, 'beforeAddingDataLabel', drawTextPath);
|
|
250
|
+
const svgElementProto = SVGElementClass.prototype;
|
|
251
|
+
if (!svgElementProto.setTextPath) {
|
|
252
|
+
svgElementProto.setTextPath = setTextPath;
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
const TextPath = {
|
|
256
|
+
compose
|
|
257
|
+
};
|
|
258
|
+
|
|
259
|
+
return TextPath;
|
|
260
|
+
});
|
|
261
|
+
_registerModule(_modules, 'masters/modules/textpath.src.js', [_modules['Core/Globals.js'], _modules['Extensions/TextPath.js']], function (Highcharts, TextPath) {
|
|
262
|
+
|
|
263
|
+
const G = Highcharts;
|
|
264
|
+
G.TextPath = TextPath;
|
|
265
|
+
G.TextPath.compose(G.SVGElement);
|
|
266
|
+
|
|
267
|
+
return Highcharts;
|
|
268
|
+
});
|
|
269
|
+
}));
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
!/**
|
|
2
|
-
* Highcharts JS v11.4.
|
|
2
|
+
* Highcharts JS v11.4.4 (2024-07-02)
|
|
3
3
|
*
|
|
4
4
|
* (c) 2009-2024
|
|
5
5
|
*
|
|
6
6
|
* License: www.highcharts.com/license
|
|
7
|
-
*/function(e){"object"==typeof module&&module.exports?(e.default=e,module.exports=e):"function"==typeof define&&define.amd?define("highcharts/modules/tiledwebmap",["highcharts"],function(t){return e(t),e.Highcharts=t,e}):e("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(e){"use strict";var t=e?e._modules:{};function o(
|
|
7
|
+
*/function(e){"object"==typeof module&&module.exports?(e.default=e,module.exports=e):"function"==typeof define&&define.amd?define("highcharts/modules/tiledwebmap",["highcharts"],function(t){return e(t),e.Highcharts=t,e}):e("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(e){"use strict";var t=e?e._modules:{};function o(t,o,i,r){t.hasOwnProperty(o)||(t[o]=r.apply(null,i),"function"==typeof CustomEvent&&e.win.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:o,module:t[o]}})))}o(t,"Maps/TilesProviders/OpenStreetMap.js",[],function(){return class{constructor(){this.defaultCredits='Map data ©2023 <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>',this.initialProjectionName="WebMercator",this.subdomains=["a","b","c"],this.themes={Standard:{url:"https://tile.openstreetmap.org/{zoom}/{x}/{y}.png",minZoom:0,maxZoom:19},Hot:{url:"https://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png",minZoom:0,maxZoom:19},OpenTopoMap:{url:"https://{s}.tile.opentopomap.org/{z}/{x}/{y}.png",minZoom:0,maxZoom:17,credits:`Map data: © <a href="https://www.openstreetmap.org/copyright">
|
|
8
8
|
OpenStreetMap</a> contributors, <a href="https://viewfinderpanoramas.org">SRTM</a>
|
|
9
9
|
| Map style: © <a href="https://opentopomap.org">OpenTopoMap</a>
|
|
10
|
-
(<a href="https://creativecommons.org/licenses/by-sa/3.0/">CC-BY-SA</a>)`}}}}}),o(t,"Maps/TilesProviders/Stamen.js",[],function(){return class{constructor(){this.defaultCredits='© Map tiles by <a href="https://stamen.com">Stamen Design</a>, under <a href="https://creativecommons.org/licenses/by/3.0">CC BY 3.0</a>. Data by <a href="https://openstreetmap.org">OpenStreetMap</a>, under <a href="https://www.openstreetmap.org/copyright">ODbL</a>',this.initialProjectionName="WebMercator",this.subdomains=["a","b","c","d"],this.themes={Toner:{url:"https://stamen-tiles-{s}.a.ssl.fastly.net/toner/{z}/{x}/{y}.png",minZoom:0,maxZoom:20},TonerBackground:{url:"https://stamen-tiles-{s}.a.ssl.fastly.net/toner-background/{z}/{x}/{y}.png",minZoom:0,maxZoom:20},TonerLite:{url:"https://stamen-tiles-{s}.a.ssl.fastly.net/toner-lite/{z}/{x}/{y}.png",minZoom:0,maxZoom:20},Terrain:{url:"https://stamen-tiles-{s}.a.ssl.fastly.net/terrain/{z}/{x}/{y}.png",minZoom:0,maxZoom:18},TerrainBackground:{url:"https://stamen-tiles-{s}.a.ssl.fastly.net/terrain-background/{z}/{x}/{y}.png",minZoom:0,maxZoom:18},Watercolor:{url:"https://stamen-tiles-{s}.a.ssl.fastly.net/watercolor/{z}/{x}/{y}.png",minZoom:1,maxZoom:16,credits:'© Map tiles by <a href="https://stamen.com">Stamen Design</a>, under <a href="https://creativecommons.org/licenses/by/3.0">CC BY 3.0</a>. Data by <a href="https://openstreetmap.org">OpenStreetMap</a>, under <a href="https://creativecommons.org/licenses/by-sa/3.0">CC BY SA</a>'}}}}}),o(t,"Maps/TilesProviders/LimaLabs.js",[],function(){return class{constructor(){this.defaultCredits='Map data ©2023 <a href="https://maps.lima-labs.com/">LimaLabs</a>',this.initialProjectionName="WebMercator",this.requiresApiKey=!0,this.themes={Standard:{url:"https://cdn.lima-labs.com/{zoom}/{x}/{y}.png?api={apikey}",minZoom:0,maxZoom:20}}}}}),o(t,"Maps/TilesProviders/Thunderforest.js",[],function(){return class{constructor(){this.defaultCredits='Maps © <a href="https://www.thunderforest.com">Thunderforest</a>, Data © <a href="https://www.openstreetmap.org/copyright">OpenStreetMap contributors</a>',this.initialProjectionName="WebMercator",this.requiresApiKey=!0,this.subdomains=["a","b","c"],this.themes={OpenCycleMap:{url:"https://{s}.tile.thunderforest.com/cycle/{z}/{x}/{y}.png?apikey={apikey}",minZoom:0,maxZoom:22},Transport:{url:"https://{s}.tile.thunderforest.com/transport/{z}/{x}/{y}.png?apikey={apikey}",minZoom:0,maxZoom:22},TransportDark:{url:"https://{s}.tile.thunderforest.com/transport-dark/{z}/{x}/{y}.png?apikey={apikey}",minZoom:0,maxZoom:22},SpinalMap:{url:"https://{s}.tile.thunderforest.com/spinal-map/{z}/{x}/{y}.png?apikey={apikey}",minZoom:0,maxZoom:22},Landscape:{url:"https://{s}.tile.thunderforest.com/landscape/{z}/{x}/{y}.png?apikey={apikey}",minZoom:0,maxZoom:22},Outdoors:{url:"https://{s}.tile.thunderforest.com/outdoors/{z}/{x}/{y}.png?apikey={apikey}",minZoom:0,maxZoom:22},Pioneer:{url:"https://{s}.tile.thunderforest.com/pioneer/{z}/{x}/{y}.png?apikey={apikey}",minZoom:0,maxZoom:22},MobileAtlas:{url:"https://{s}.tile.thunderforest.com/mobile-atlas/{z}/{x}/{y}.png?apikey={apikey}",minZoom:0,maxZoom:22},Neighbourhood:{url:"https://{s}.tile.thunderforest.com/neighbourhood/{z}/{x}/{y}.png?apikey={apikey}",minZoom:0,maxZoom:22}}}}}),o(t,"Maps/TilesProviders/Esri.js",[],function(){return class{constructor(){this.defaultCredits="Tiles © Esri — Source: Esri, DeLorme, NAVTEQ, USGS, Intermap, iPC, NRCAN, Esri Japan, METI, Esri China (Hong Kong), Esri (Thailand), TomTom, 2012",this.initialProjectionName="WebMercator",this.themes={WorldStreetMap:{url:"https://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer/tile/{z}/{y}/{x}",minZoom:0,maxZoom:20},DeLorme:{url:"https://server.arcgisonline.com/ArcGIS/rest/services/Specialty/DeLorme_World_Base_Map/MapServer/tile/{z}/{y}/{x}",minZoom:1,maxZoom:11,credits:"Tiles © Esri — Copyright: ©2012 DeLorme"},WorldTopoMap:{url:"https://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/{z}/{y}/{x}",minZoom:0,maxZoom:20,credits:"Tiles © Esri — Esri, DeLorme, NAVTEQ, TomTom, Intermap, iPC, USGS, FAO, NPS, NRCAN, GeoBase, Kadaster NL, Ordnance Survey, Esri Japan, METI, Esri China (Hong Kong), and the GIS User Community"},WorldImagery:{url:"https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}",minZoom:0,maxZoom:20,credits:"Tiles © Esri — Source: Esri, i-cubed, USDA, USGS, AEX, GeoEye, Getmapping, Aerogrid, IGN, IGP, UPR-EGP, and the GIS User Community"},WorldTerrain:{url:"https://server.arcgisonline.com/ArcGIS/rest/services/World_Terrain_Base/MapServer/tile/{z}/{y}/{x}",minZoom:0,maxZoom:13,credits:"Tiles © Esri — Source: USGS, Esri, TANA, DeLorme, and NPS"},WorldShadedRelief:{url:"https://server.arcgisonline.com/ArcGIS/rest/services/World_Shaded_Relief/MapServer/tile/{z}/{y}/{x}",minZoom:0,maxZoom:13,credits:"Tiles © Esri — Source: Esri"},WorldPhysical:{url:"https://server.arcgisonline.com/ArcGIS/rest/services/World_Physical_Map/MapServer/tile/{z}/{y}/{x}",minZoom:0,maxZoom:8,credits:"Tiles © Esri — Source: US National Park Service"},NatGeoWorldMap:{url:"https://server.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServer/tile/{z}/{y}/{x}",minZoom:0,maxZoom:16,credits:"Tiles © Esri — National Geographic, Esri, DeLorme, NAVTEQ, UNEP-WCMC, USGS, NASA, ESA, METI, NRCAN, GEBCO, NOAA, iPC"},WorldGrayCanvas:{url:"https://server.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Base/MapServer/tile/{z}/{y}/{x}",minZoom:0,maxZoom:16,credits:"Tiles © Esri — Esri, DeLorme, NAVTEQ"}}}}}),o(t,"Maps/TilesProviders/USGS.js",[],function(){return class{constructor(){this.defaultCredits='Tiles courtesy of the <a href="https://usgs.gov/">U.S. GeologicalSurvey</a>',this.initialProjectionName="WebMercator",this.themes={USTopo:{url:"https://basemap.nationalmap.gov/arcgis/rest/services/USGSTopo/MapServer/tile/{z}/{y}/{x}",minZoom:0,maxZoom:20},USImagery:{url:"https://basemap.nationalmap.gov/arcgis/rest/services/USGSImageryOnly/MapServer/tile/{z}/{y}/{x}",minZoom:0,maxZoom:20},USImageryTopo:{url:"https://basemap.nationalmap.gov/arcgis/rest/services/USGSImageryTopo/MapServer/tile/{z}/{y}/{x}",minZoom:0,maxZoom:20}}}}}),o(t,"Maps/TilesProviders/TilesProviderRegistry.js",[t["Maps/TilesProviders/OpenStreetMap.js"],t["Maps/TilesProviders/Stamen.js"],t["Maps/TilesProviders/LimaLabs.js"],t["Maps/TilesProviders/Thunderforest.js"],t["Maps/TilesProviders/Esri.js"],t["Maps/TilesProviders/USGS.js"]],function(e,t,o,i,r,s){return{Esri:r,LimaLabs:o,OpenStreetMap:e,Stamen:t,Thunderforest:i,USGS:s}}),o(t,"Series/TiledWebMap/TiledWebMapSeriesDefaults.js",[],function(){return{states:{inactive:{enabled:!1}}}}),o(t,"Series/TiledWebMap/TiledWebMapSeries.js",[t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Maps/TilesProviders/TilesProviderRegistry.js"],t["Series/TiledWebMap/TiledWebMapSeriesDefaults.js"],t["Core/Utilities.js"]],function(e,t,o,i,r){let{composed:s}=e,{map:a}=t.seriesTypes,{addEvent:n,defined:l,error:p,merge:m,pick:c,pushUnique:h}=r;function d(e){let{geoBounds:t,chart:i}=e,r=(i.options.series||[]).filter(e=>"tiledwebmap"===e.type)[0];if(r&&r.provider&&r.provider.type&&!r.provider.url){let e=o[r.provider.type];if(l(e)){let{initialProjectionName:o}=new e;if(t){let{x1:e,y1:i,x2:r,y2:s}=t;this.recommendedMapView={projection:{name:o,parallels:[i,s],rotation:[-(e+r)/2]}}}else this.recommendedMapView={projection:{name:o},minZoom:0};return!1}p("Highcharts warning: Tiles Provider not defined in the Provider Registry.",!1)}return!0}class u extends a{constructor(){super(...arguments),this.redrawTiles=!1,this.isAnimating=!1}static compose(e){h(s,"TiledWebMapSeries")&&n(e,"onRecommendMapView",d)}lonLatToTile(e,t){let{lon:o,lat:i}=e;return{x:Math.floor((o+180)/360*Math.pow(2,t)),y:Math.floor((1-Math.log(Math.tan(i*Math.PI/180)+1/Math.cos(i*Math.PI/180))/Math.PI)/2*Math.pow(2,t))}}tileToLonLat(e,t,o){let i=Math.PI-2*Math.PI*t/Math.pow(2,o);return{lon:e/Math.pow(2,o)*360-180,lat:180/Math.PI*Math.atan(.5*(Math.exp(i)-Math.exp(-i)))}}drawPoints(){let e=this.chart,t=e.mapView;if(!t)return;let i=this.tiles=this.tiles||{},r=this.transformGroups=this.transformGroups||[],s=this,a=this.options.provider,{zoom:n}=t,m=c(t.projection.options.rotation&&t.projection.options.rotation[0],0),h=e.renderer.forExport?0:200,d=e=>{for(let o of Object.keys(i))parseFloat(o)===(t.zoom<0?0:Math.floor(t.zoom))||s.minZoom&&(t.zoom<0?0:Math.floor(t.zoom))<s.minZoom&&parseFloat(o)===s.minZoom||s.maxZoom&&(t.zoom<0?0:Math.floor(t.zoom))>s.maxZoom&&parseFloat(o)===s.maxZoom?Object.keys(i[o].tiles).forEach((t,r)=>{i[o].tiles[t].animate({opacity:1},{duration:e},()=>{r===Object.keys(i[o].tiles).length-1&&(i[o].isActive=!0)})}):Object.keys(i[o].tiles).forEach((t,r)=>{i[o].tiles[t].animate({opacity:0},{duration:e,defer:e/2},()=>{i[o].tiles[t].destroy(),delete i[o].tiles[t],r===Object.keys(i[o].tiles).length-1&&(i[o].isActive=!1,i[o].loaded=!1)})})},u=n<0?0:Math.floor(n),y=Math.pow(2,u),f=.638436911716859*Math.pow(2,n)/(.638436911716859*Math.pow(2,u)),g=256*f;if(a&&(a.type||a.url)){if(a.type&&!a.url){let i=o[a.type];if(!l(i)){p("Highcharts warning: Tiles Provider '"+a.type+"' not defined in the ProviderRegistry.",!1);return}let r=new i,s=r.initialProjectionName,n,m="";if(a.theme&&l(r.themes[a.theme]))n=r.themes[a.theme];else{let e=Object.keys(r.themes)[0];n=r.themes[e],p("Highcharts warning: The Tiles Provider's Theme '"+a.theme+"' is not defined in the Provider definition - falling back to '"+e+"'.",!1)}a.subdomain&&r.subdomains&&-1!==r.subdomains.indexOf(a.subdomain)?m=a.subdomain:l(r.subdomains)&&-1!==n.url.indexOf("{s}")&&(m=c(r.subdomains&&r.subdomains[0],""),p("Highcharts warning: The Tiles Provider's Subdomain '"+a.subdomain+"' is not defined in the Provider definition - falling back to '"+m+"'.",!1)),r.requiresApiKey&&(a.apiKey?n.url=n.url.replace("{apikey}",a.apiKey):(p("Highcharts warning: The Tiles Provider requires API Key to use tiles, use provider.apiKey to provide a token.",!1),n.url=n.url.replace("?apikey={apikey}",""))),a.url=n.url.replace("{s}",m),this.minZoom=n.minZoom,this.maxZoom=n.maxZoom;let h=c(e.userOptions.credits&&e.userOptions.credits.text,"Highcharts.com "+c(n.credits,r.defaultCredits));e.credits?e.credits.update({text:h}):e.addCredits({text:h,style:c(e.options.credits?.style,{})}),t.projection.options.name!==s&&p("Highcharts warning: The set projection is different than supported by Tiles Provider.",!1)}else t.projection.options.name||p("Highcharts warning: The set projection is different than supported by Tiles Provider.",!1);if(l(this.minZoom)&&u<this.minZoom?(y=Math.pow(2,u=this.minZoom),g=256*(f=.638436911716859*Math.pow(2,n)/(.638436911716859*Math.pow(2,u)))):l(this.maxZoom)&&u>this.maxZoom&&(y=Math.pow(2,u=this.maxZoom),g=256*(f=.638436911716859*Math.pow(2,n)/(.638436911716859*Math.pow(2,u)))),t.projection&&t.projection.def){t.projection.hasCoordinates=!0,r[u]||(r[u]=e.renderer.g().add(this.group));let o=(e,t,o,i)=>e.replace("{x}",t.toString()).replace("{y}",o.toString()).replace("{zoom}",i.toString()).replace("{z}",i.toString()),n=(n,l,p,m,c)=>{let u=n%y,f=l%y,M=u<0?u+y:u,T=f<0?f+y:f;if(!i[`${p}`].tiles[`${n},${l}`]&&a.url){let u=o(a.url,M,T,p);i[p].loaded=!1,i[`${p}`].tiles[`${n},${l}`]=e.renderer.image(u,n*g-m,l*g-c,g,g).attr({zIndex:2,opacity:0}).on("load",function(){a.onload&&a.onload.apply(this),(p===(t.zoom<0?0:Math.floor(t.zoom))||p===s.minZoom)&&(i[`${p}`].actualTilesCount++,i[`${p}`].howManyTiles===i[`${p}`].actualTilesCount&&(i[p].loaded=!0,s.isAnimating?s.redrawTiles=!0:(s.redrawTiles=!1,d(h)),i[`${p}`].actualTilesCount=0))}).add(r[p]),i[`${p}`].tiles[`${n},${l}`].posX=n,i[`${p}`].tiles[`${n},${l}`].posY=l,i[`${p}`].tiles[`${n},${l}`].originalURL=u}},l=t.pixelsToProjectedUnits({x:0,y:0}),p=t.projection.def.inverse([l.x,l.y]),c={lon:p[0]-m,lat:p[1]},f=t.pixelsToProjectedUnits({x:e.plotWidth,y:e.plotHeight}),M=t.projection.def.inverse([f.x,f.y]),T={lon:M[0]-m,lat:M[1]};(c.lat>t.projection.maxLatitude||T.lat<-1*t.projection.maxLatitude)&&(c.lat=t.projection.maxLatitude,T.lat=-1*t.projection.maxLatitude);let x=this.lonLatToTile(c,u),S=this.lonLatToTile(T,u),v=this.tileToLonLat(x.x,x.y,u),b=t.projection.def.forward([v.lon+m,v.lat]),Z=t.projectedUnitsToPixels({x:b[0],y:b[1]}),w=x.x*g-Z.x,j=x.y*g-Z.y;i[`${u}`]||(i[`${u}`]={tiles:{},isActive:!1,howManyTiles:0,actualTilesCount:0,loaded:!1}),i[`${u}`].howManyTiles=(S.x-x.x+1)*(S.y-x.y+1),i[`${u}`].actualTilesCount=0;for(let e=x.x;e<=S.x;e++)for(let t=x.y;t<=S.y;t++)n(e,t,u,w,j)}for(let o of Object.keys(i))for(let r of Object.keys(i[o].tiles))if(t.projection&&t.projection.def){let a=.638436911716859*Math.pow(2,n)/(.638436911716859*Math.pow(2,parseFloat(o)))*256,p=i[o].tiles[Object.keys(i[o].tiles)[0]],{posX:c,posY:y}=i[o].tiles[r];if(l(c)&&l(y)&&l(p.posX)&&l(p.posY)){let n=this.tileToLonLat(p.posX,p.posY,parseFloat(o)),l=t.projection.def.forward([n.lon+m,n.lat]),f=t.projectedUnitsToPixels({x:l[0],y:l[1]}),g=p.posX*a-f.x,M=p.posY*a-f.y;if(e.renderer.globalAnimation&&e.hasRendered){let e=Number(i[o].tiles[r].attr("x")),t=Number(i[o].tiles[r].attr("y")),n=Number(i[o].tiles[r].attr("width")),l=Number(i[o].tiles[r].attr("height")),p=(s,p)=>{i[o].tiles[r].attr({x:e+(c*a-g-e)*p.pos,y:t+(y*a-M-t)*p.pos,width:n+(Math.ceil(a)+1-n)*p.pos,height:l+(Math.ceil(a)+1-l)*p.pos})};s.isAnimating=!0,i[o].tiles[r].attr({animator:0}).animate({animator:1},{step:p},function(){s.isAnimating=!1,s.redrawTiles&&(s.redrawTiles=!1,d(h))})}else(s.redrawTiles||parseFloat(o)!==u||(i[o].isActive||parseFloat(o)===u)&&Object.keys(i[o].tiles).map(e=>i[o].tiles[e]).some(e=>0===e.opacity))&&(s.redrawTiles=!1,d(h)),i[o].tiles[r].attr({x:c*a-g,y:y*a-M,width:Math.ceil(a)+1,height:Math.ceil(a)+1})}}}else p("Highcharts warning: Tiles Provider not defined in the Provider Registry.",!1)}update(){let{transformGroups:e}=this,t=this.chart,i=t.mapView,r=arguments[0],{provider:s}=r;if(e&&(e.forEach(e=>{0!==Object.keys(e).length&&e.destroy()}),this.transformGroups=[]),i&&!l(t.userOptions.mapView?.projection)&&s&&s.type){let e=o[s.type];if(e){let{initialProjectionName:t}=new e;i.update({projection:{name:t}})}}super.update.apply(this,arguments)}}return u.defaultOptions=m(a.defaultOptions,i),t.registerSeriesType("tiledwebmap",u),u}),o(t,"masters/modules/tiledwebmap.src.js",[t["Core/Globals.js"],t["Maps/TilesProviders/TilesProviderRegistry.js"],t["Series/TiledWebMap/TiledWebMapSeries.js"]],function(e,t,o){return e.TilesProviderRegistry=e.TilesProviderRegistry||t,o.compose(e.MapView),e})});
|
|
10
|
+
(<a href="https://creativecommons.org/licenses/by-sa/3.0/">CC-BY-SA</a>)`}}}}}),o(t,"Maps/TilesProviders/Stamen.js",[],function(){return class{constructor(){this.defaultCredits='© Map tiles by <a href="https://stamen.com">Stamen Design</a>, under <a href="https://creativecommons.org/licenses/by/3.0">CC BY 3.0</a>. Data by <a href="https://openstreetmap.org">OpenStreetMap</a>, under <a href="https://www.openstreetmap.org/copyright">ODbL</a>',this.initialProjectionName="WebMercator",this.subdomains=["a","b","c","d"],this.themes={Toner:{url:"https://stamen-tiles-{s}.a.ssl.fastly.net/toner/{z}/{x}/{y}.png",minZoom:0,maxZoom:20},TonerBackground:{url:"https://stamen-tiles-{s}.a.ssl.fastly.net/toner-background/{z}/{x}/{y}.png",minZoom:0,maxZoom:20},TonerLite:{url:"https://stamen-tiles-{s}.a.ssl.fastly.net/toner-lite/{z}/{x}/{y}.png",minZoom:0,maxZoom:20},Terrain:{url:"https://stamen-tiles-{s}.a.ssl.fastly.net/terrain/{z}/{x}/{y}.png",minZoom:0,maxZoom:18},TerrainBackground:{url:"https://stamen-tiles-{s}.a.ssl.fastly.net/terrain-background/{z}/{x}/{y}.png",minZoom:0,maxZoom:18},Watercolor:{url:"https://stamen-tiles-{s}.a.ssl.fastly.net/watercolor/{z}/{x}/{y}.png",minZoom:1,maxZoom:16,credits:'© Map tiles by <a href="https://stamen.com">Stamen Design</a>, under <a href="https://creativecommons.org/licenses/by/3.0">CC BY 3.0</a>. Data by <a href="https://openstreetmap.org">OpenStreetMap</a>, under <a href="https://creativecommons.org/licenses/by-sa/3.0">CC BY SA</a>'}}}}}),o(t,"Maps/TilesProviders/LimaLabs.js",[],function(){return class{constructor(){this.defaultCredits='Map data ©2023 <a href="https://maps.lima-labs.com/">LimaLabs</a>',this.initialProjectionName="WebMercator",this.requiresApiKey=!0,this.themes={Standard:{url:"https://cdn.lima-labs.com/{zoom}/{x}/{y}.png?api={apikey}",minZoom:0,maxZoom:20}}}}}),o(t,"Maps/TilesProviders/Thunderforest.js",[],function(){return class{constructor(){this.defaultCredits='Maps © <a href="https://www.thunderforest.com">Thunderforest</a>, Data © <a href="https://www.openstreetmap.org/copyright">OpenStreetMap contributors</a>',this.initialProjectionName="WebMercator",this.requiresApiKey=!0,this.subdomains=["a","b","c"],this.themes={OpenCycleMap:{url:"https://{s}.tile.thunderforest.com/cycle/{z}/{x}/{y}.png?apikey={apikey}",minZoom:0,maxZoom:22},Transport:{url:"https://{s}.tile.thunderforest.com/transport/{z}/{x}/{y}.png?apikey={apikey}",minZoom:0,maxZoom:22},TransportDark:{url:"https://{s}.tile.thunderforest.com/transport-dark/{z}/{x}/{y}.png?apikey={apikey}",minZoom:0,maxZoom:22},SpinalMap:{url:"https://{s}.tile.thunderforest.com/spinal-map/{z}/{x}/{y}.png?apikey={apikey}",minZoom:0,maxZoom:22},Landscape:{url:"https://{s}.tile.thunderforest.com/landscape/{z}/{x}/{y}.png?apikey={apikey}",minZoom:0,maxZoom:22},Outdoors:{url:"https://{s}.tile.thunderforest.com/outdoors/{z}/{x}/{y}.png?apikey={apikey}",minZoom:0,maxZoom:22},Pioneer:{url:"https://{s}.tile.thunderforest.com/pioneer/{z}/{x}/{y}.png?apikey={apikey}",minZoom:0,maxZoom:22},MobileAtlas:{url:"https://{s}.tile.thunderforest.com/mobile-atlas/{z}/{x}/{y}.png?apikey={apikey}",minZoom:0,maxZoom:22},Neighbourhood:{url:"https://{s}.tile.thunderforest.com/neighbourhood/{z}/{x}/{y}.png?apikey={apikey}",minZoom:0,maxZoom:22}}}}}),o(t,"Maps/TilesProviders/Esri.js",[],function(){return class{constructor(){this.defaultCredits="Tiles © Esri — Source: Esri, DeLorme, NAVTEQ, USGS, Intermap, iPC, NRCAN, Esri Japan, METI, Esri China (Hong Kong), Esri (Thailand), TomTom, 2012",this.initialProjectionName="WebMercator",this.themes={WorldStreetMap:{url:"https://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer/tile/{z}/{y}/{x}",minZoom:0,maxZoom:20},DeLorme:{url:"https://server.arcgisonline.com/ArcGIS/rest/services/Specialty/DeLorme_World_Base_Map/MapServer/tile/{z}/{y}/{x}",minZoom:1,maxZoom:11,credits:"Tiles © Esri — Copyright: ©2012 DeLorme"},WorldTopoMap:{url:"https://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/{z}/{y}/{x}",minZoom:0,maxZoom:20,credits:"Tiles © Esri — Esri, DeLorme, NAVTEQ, TomTom, Intermap, iPC, USGS, FAO, NPS, NRCAN, GeoBase, Kadaster NL, Ordnance Survey, Esri Japan, METI, Esri China (Hong Kong), and the GIS User Community"},WorldImagery:{url:"https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}",minZoom:0,maxZoom:20,credits:"Tiles © Esri — Source: Esri, i-cubed, USDA, USGS, AEX, GeoEye, Getmapping, Aerogrid, IGN, IGP, UPR-EGP, and the GIS User Community"},WorldTerrain:{url:"https://server.arcgisonline.com/ArcGIS/rest/services/World_Terrain_Base/MapServer/tile/{z}/{y}/{x}",minZoom:0,maxZoom:13,credits:"Tiles © Esri — Source: USGS, Esri, TANA, DeLorme, and NPS"},WorldShadedRelief:{url:"https://server.arcgisonline.com/ArcGIS/rest/services/World_Shaded_Relief/MapServer/tile/{z}/{y}/{x}",minZoom:0,maxZoom:13,credits:"Tiles © Esri — Source: Esri"},WorldPhysical:{url:"https://server.arcgisonline.com/ArcGIS/rest/services/World_Physical_Map/MapServer/tile/{z}/{y}/{x}",minZoom:0,maxZoom:8,credits:"Tiles © Esri — Source: US National Park Service"},NatGeoWorldMap:{url:"https://server.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServer/tile/{z}/{y}/{x}",minZoom:0,maxZoom:16,credits:"Tiles © Esri — National Geographic, Esri, DeLorme, NAVTEQ, UNEP-WCMC, USGS, NASA, ESA, METI, NRCAN, GEBCO, NOAA, iPC"},WorldGrayCanvas:{url:"https://server.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Base/MapServer/tile/{z}/{y}/{x}",minZoom:0,maxZoom:16,credits:"Tiles © Esri — Esri, DeLorme, NAVTEQ"}}}}}),o(t,"Maps/TilesProviders/USGS.js",[],function(){return class{constructor(){this.defaultCredits='Tiles courtesy of the <a href="https://usgs.gov/">U.S. GeologicalSurvey</a>',this.initialProjectionName="WebMercator",this.themes={USTopo:{url:"https://basemap.nationalmap.gov/arcgis/rest/services/USGSTopo/MapServer/tile/{z}/{y}/{x}",minZoom:0,maxZoom:20},USImagery:{url:"https://basemap.nationalmap.gov/arcgis/rest/services/USGSImageryOnly/MapServer/tile/{z}/{y}/{x}",minZoom:0,maxZoom:20},USImageryTopo:{url:"https://basemap.nationalmap.gov/arcgis/rest/services/USGSImageryTopo/MapServer/tile/{z}/{y}/{x}",minZoom:0,maxZoom:20}}}}}),o(t,"Maps/TilesProviders/TilesProviderRegistry.js",[t["Maps/TilesProviders/OpenStreetMap.js"],t["Maps/TilesProviders/Stamen.js"],t["Maps/TilesProviders/LimaLabs.js"],t["Maps/TilesProviders/Thunderforest.js"],t["Maps/TilesProviders/Esri.js"],t["Maps/TilesProviders/USGS.js"]],function(e,t,o,i,r,s){return{Esri:r,LimaLabs:o,OpenStreetMap:e,Stamen:t,Thunderforest:i,USGS:s}}),o(t,"Series/TiledWebMap/TiledWebMapSeriesDefaults.js",[],function(){return{states:{inactive:{enabled:!1}}}}),o(t,"Series/TiledWebMap/TiledWebMapSeries.js",[t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Maps/TilesProviders/TilesProviderRegistry.js"],t["Series/TiledWebMap/TiledWebMapSeriesDefaults.js"],t["Core/Utilities.js"]],function(e,t,o,i,r){let{composed:s}=e,{map:a}=t.seriesTypes,{addEvent:n,defined:l,error:p,merge:m,pick:c,pushUnique:h}=r;function d(e){let{geoBounds:t,chart:i}=e,r=(i.options.series||[]).filter(e=>"tiledwebmap"===e.type)[0];if(r&&r.provider&&r.provider.type&&!r.provider.url){let e=o[r.provider.type];if(l(e)){let{initialProjectionName:o}=new e;if(t){let{x1:e,y1:i,x2:r,y2:s}=t;this.recommendedMapView={projection:{name:o,parallels:[i,s],rotation:[-(e+r)/2]}}}else this.recommendedMapView={projection:{name:o},minZoom:0};return!1}p("Highcharts warning: Tiles Provider not defined in the Provider Registry.",!1)}return!0}class u extends a{constructor(){super(...arguments),this.redrawTiles=!1,this.isAnimating=!1}static compose(e){h(s,"TiledWebMapSeries")&&n(e,"onRecommendMapView",d)}lonLatToTile(e,t){let{lon:o,lat:i}=e;return{x:Math.floor((o+180)/360*Math.pow(2,t)),y:Math.floor((1-Math.log(Math.tan(i*Math.PI/180)+1/Math.cos(i*Math.PI/180))/Math.PI)/2*Math.pow(2,t))}}tileToLonLat(e,t,o){let i=e/Math.pow(2,o)*360-180,r=Math.PI-2*Math.PI*t/Math.pow(2,o);return{lon:i,lat:180/Math.PI*Math.atan(.5*(Math.exp(r)-Math.exp(-r)))}}drawPoints(){let e=this.chart,t=e.mapView;if(!t)return;let i=this.tiles=this.tiles||{},r=this.transformGroups=this.transformGroups||[],s=this,a=this.options.provider,{zoom:n}=t,m=c(t.projection.options.rotation&&t.projection.options.rotation[0],0),h=e.renderer.forExport?0:200,d=e=>{for(let o of Object.keys(i))parseFloat(o)===(t.zoom<0?0:Math.floor(t.zoom))||s.minZoom&&(t.zoom<0?0:Math.floor(t.zoom))<s.minZoom&&parseFloat(o)===s.minZoom||s.maxZoom&&(t.zoom<0?0:Math.floor(t.zoom))>s.maxZoom&&parseFloat(o)===s.maxZoom?Object.keys(i[o].tiles).forEach((t,r)=>{i[o].tiles[t].animate({opacity:1},{duration:e},()=>{r===Object.keys(i[o].tiles).length-1&&(i[o].isActive=!0)})}):Object.keys(i[o].tiles).forEach((t,r)=>{i[o].tiles[t].animate({opacity:0},{duration:e,defer:e/2},()=>{i[o].tiles[t].destroy(),delete i[o].tiles[t],r===Object.keys(i[o].tiles).length-1&&(i[o].isActive=!1,i[o].loaded=!1)})})},u=n<0?0:Math.floor(n),y=Math.pow(2,u),f=.638436911716859*Math.pow(2,n)/(.638436911716859*Math.pow(2,u)),g=256*f;if(a&&(a.type||a.url)){if(a.type&&!a.url){let i=o[a.type];if(!l(i)){p("Highcharts warning: Tiles Provider '"+a.type+"' not defined in the ProviderRegistry.",!1);return}let r=new i,s=r.initialProjectionName,n,m="";if(a.theme&&l(r.themes[a.theme]))n=r.themes[a.theme];else{let e=Object.keys(r.themes)[0];n=r.themes[e],p("Highcharts warning: The Tiles Provider's Theme '"+a.theme+"' is not defined in the Provider definition - falling back to '"+e+"'.",!1)}a.subdomain&&r.subdomains&&-1!==r.subdomains.indexOf(a.subdomain)?m=a.subdomain:l(r.subdomains)&&-1!==n.url.indexOf("{s}")&&(m=c(r.subdomains&&r.subdomains[0],""),p("Highcharts warning: The Tiles Provider's Subdomain '"+a.subdomain+"' is not defined in the Provider definition - falling back to '"+m+"'.",!1)),r.requiresApiKey&&(a.apiKey?n.url=n.url.replace("{apikey}",a.apiKey):(p("Highcharts warning: The Tiles Provider requires API Key to use tiles, use provider.apiKey to provide a token.",!1),n.url=n.url.replace("?apikey={apikey}",""))),a.url=n.url.replace("{s}",m),this.minZoom=n.minZoom,this.maxZoom=n.maxZoom;let h=c(e.userOptions.credits&&e.userOptions.credits.text,"Highcharts.com "+c(n.credits,r.defaultCredits));e.credits?e.credits.update({text:h}):e.addCredits({text:h,style:c(e.options.credits?.style,{})}),t.projection.options.name!==s&&p("Highcharts warning: The set projection is different than supported by Tiles Provider.",!1)}else t.projection.options.name||p("Highcharts warning: The set projection is different than supported by Tiles Provider.",!1);if(l(this.minZoom)&&u<this.minZoom?(y=Math.pow(2,u=this.minZoom),g=256*(f=.638436911716859*Math.pow(2,n)/(.638436911716859*Math.pow(2,u)))):l(this.maxZoom)&&u>this.maxZoom&&(y=Math.pow(2,u=this.maxZoom),g=256*(f=.638436911716859*Math.pow(2,n)/(.638436911716859*Math.pow(2,u)))),t.projection&&t.projection.def){t.projection.hasCoordinates=!0,r[u]||(r[u]=e.renderer.g().add(this.group));let o=(e,t,o,i)=>e.replace("{x}",t.toString()).replace("{y}",o.toString()).replace("{zoom}",i.toString()).replace("{z}",i.toString()),n=(n,l,p,m,c)=>{let u=n%y,f=l%y,M=u<0?u+y:u,T=f<0?f+y:f;if(!i[`${p}`].tiles[`${n},${l}`]&&a.url){let u=o(a.url,M,T,p);i[p].loaded=!1,i[`${p}`].tiles[`${n},${l}`]=e.renderer.image(u,n*g-m,l*g-c,g,g).attr({zIndex:2,opacity:0}).on("load",function(){a.onload&&a.onload.apply(this),(p===(t.zoom<0?0:Math.floor(t.zoom))||p===s.minZoom)&&(i[`${p}`].actualTilesCount++,i[`${p}`].howManyTiles===i[`${p}`].actualTilesCount&&(i[p].loaded=!0,s.isAnimating?s.redrawTiles=!0:(s.redrawTiles=!1,d(h)),i[`${p}`].actualTilesCount=0))}).add(r[p]),i[`${p}`].tiles[`${n},${l}`].posX=n,i[`${p}`].tiles[`${n},${l}`].posY=l,i[`${p}`].tiles[`${n},${l}`].originalURL=u}},l=t.pixelsToProjectedUnits({x:0,y:0}),p=t.projection.def.inverse([l.x,l.y]),c={lon:p[0]-m,lat:p[1]},f=t.pixelsToProjectedUnits({x:e.plotWidth,y:e.plotHeight}),M=t.projection.def.inverse([f.x,f.y]),T={lon:M[0]-m,lat:M[1]};(c.lat>t.projection.maxLatitude||T.lat<-1*t.projection.maxLatitude)&&(c.lat=t.projection.maxLatitude,T.lat=-1*t.projection.maxLatitude);let x=this.lonLatToTile(c,u),S=this.lonLatToTile(T,u),v=this.tileToLonLat(x.x,x.y,u),b=t.projection.def.forward([v.lon+m,v.lat]),Z=t.projectedUnitsToPixels({x:b[0],y:b[1]}),w=x.x*g-Z.x,j=x.y*g-Z.y;i[`${u}`]||(i[`${u}`]={tiles:{},isActive:!1,howManyTiles:0,actualTilesCount:0,loaded:!1}),i[`${u}`].howManyTiles=(S.x-x.x+1)*(S.y-x.y+1),i[`${u}`].actualTilesCount=0;for(let e=x.x;e<=S.x;e++)for(let t=x.y;t<=S.y;t++)n(e,t,u,w,j)}for(let o of Object.keys(i))for(let r of Object.keys(i[o].tiles))if(t.projection&&t.projection.def){let a=256*(.638436911716859*Math.pow(2,n)/(.638436911716859*Math.pow(2,parseFloat(o)))),p=i[o].tiles[Object.keys(i[o].tiles)[0]],{posX:c,posY:y}=i[o].tiles[r];if(l(c)&&l(y)&&l(p.posX)&&l(p.posY)){let n=this.tileToLonLat(p.posX,p.posY,parseFloat(o)),l=t.projection.def.forward([n.lon+m,n.lat]),f=t.projectedUnitsToPixels({x:l[0],y:l[1]}),g=p.posX*a-f.x,M=p.posY*a-f.y;if(e.renderer.globalAnimation&&e.hasRendered){let e=Number(i[o].tiles[r].attr("x")),t=Number(i[o].tiles[r].attr("y")),n=Number(i[o].tiles[r].attr("width")),l=Number(i[o].tiles[r].attr("height")),p=(s,p)=>{i[o].tiles[r].attr({x:e+(c*a-g-e)*p.pos,y:t+(y*a-M-t)*p.pos,width:n+(Math.ceil(a)+1-n)*p.pos,height:l+(Math.ceil(a)+1-l)*p.pos})};s.isAnimating=!0,i[o].tiles[r].attr({animator:0}).animate({animator:1},{step:p},function(){s.isAnimating=!1,s.redrawTiles&&(s.redrawTiles=!1,d(h))})}else(s.redrawTiles||parseFloat(o)!==u||(i[o].isActive||parseFloat(o)===u)&&Object.keys(i[o].tiles).map(e=>i[o].tiles[e]).some(e=>0===e.opacity))&&(s.redrawTiles=!1,d(h)),i[o].tiles[r].attr({x:c*a-g,y:y*a-M,width:Math.ceil(a)+1,height:Math.ceil(a)+1})}}}else p("Highcharts warning: Tiles Provider not defined in the Provider Registry.",!1)}update(){let{transformGroups:e}=this,t=this.chart,i=t.mapView,r=arguments[0],{provider:s}=r;if(e&&(e.forEach(e=>{0!==Object.keys(e).length&&e.destroy()}),this.transformGroups=[]),i&&!l(t.userOptions.mapView?.projection)&&s&&s.type){let e=o[s.type];if(e){let{initialProjectionName:t}=new e;i.update({projection:{name:t}})}}super.update.apply(this,arguments)}}return u.defaultOptions=m(a.defaultOptions,i),t.registerSeriesType("tiledwebmap",u),u}),o(t,"masters/modules/tiledwebmap.src.js",[t["Core/Globals.js"],t["Maps/TilesProviders/TilesProviderRegistry.js"],t["Series/TiledWebMap/TiledWebMapSeries.js"]],function(e,t,o){return e.TilesProviderRegistry=e.TilesProviderRegistry||t,o.compose(e.MapView),e})});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Highcharts JS v11.4.
|
|
2
|
+
* @license Highcharts JS v11.4.4 (2024-07-02)
|
|
3
3
|
*
|
|
4
4
|
* (c) 2009-2024
|
|
5
5
|
*
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
obj[path] = fn.apply(null, args);
|
|
27
27
|
|
|
28
28
|
if (typeof CustomEvent === 'function') {
|
|
29
|
-
|
|
29
|
+
Highcharts.win.dispatchEvent(new CustomEvent(
|
|
30
30
|
'HighchartsModuleLoaded',
|
|
31
31
|
{ detail: { path: path, module: obj[path] } }
|
|
32
32
|
));
|
|
@@ -1089,4 +1089,4 @@
|
|
|
1089
1089
|
|
|
1090
1090
|
return Highcharts;
|
|
1091
1091
|
});
|
|
1092
|
-
}));
|
|
1092
|
+
}));
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
!/**
|
|
2
|
-
* Highmaps JS v11.4.
|
|
2
|
+
* Highmaps JS v11.4.4 (2024-07-02)
|
|
3
3
|
*
|
|
4
4
|
* Tilemap module
|
|
5
5
|
*
|
|
6
6
|
* (c) 2010-2024 Highsoft AS
|
|
7
7
|
*
|
|
8
8
|
* License: www.highcharts.com/license
|
|
9
|
-
*/function(e){"object"==typeof module&&module.exports?(e.default=e,module.exports=e):"function"==typeof define&&define.amd?define("highcharts/modules/tilemap",["highcharts","
|
|
9
|
+
*/function(e){"object"==typeof module&&module.exports?(e.default=e,module.exports=e):"function"==typeof define&&define.amd?define("highcharts/modules/tilemap",["highcharts","modules/map"],function(t){return e(t),e.Highcharts=t,e}):e("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(e){"use strict";var t=e?e._modules:{};function a(t,a,i,s){t.hasOwnProperty(a)||(t[a]=s.apply(null,i),"function"==typeof CustomEvent&&e.win.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:a,module:t[a]}})))}a(t,"Series/Tilemap/TilemapPoint.js",[t["Core/Axis/Color/ColorAxisComposition.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(e,t,a){let{series:{prototype:{pointClass:i}},seriesTypes:{heatmap:{prototype:{pointClass:s}}}}=t,{extend:n}=a;class r extends s{haloPath(){return this.series.tileShape.haloPath.apply(this,arguments)}}return n(r.prototype,{setState:i.prototype.setState,setVisible:e.pointSetVisible}),r}),a(t,"Series/Tilemap/TilemapSeriesDefaults.js",[],function(){return{marker:null,states:{hover:{halo:{enabled:!0,size:2,opacity:.5,attributes:{zIndex:3}}}},pointPadding:2,tileShape:"hexagon"}}),a(t,"Series/Tilemap/TilemapShapes.js",[t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(e,t,a){let{noop:i}=e,{heatmap:s,scatter:n}=t.seriesTypes,{clamp:r,pick:l}=a;function o(e,t,a){let i=e.options;return{xPad:-((i.colsize||1)/t),yPad:-((i.rowsize||1)/a)}}return{hexagon:{alignDataLabel:n.prototype.alignDataLabel,getSeriesPadding:function(e){return o(e,3,2)},haloPath:function(e){if(!e)return[];let t=this.tileEdges;return[["M",t.x2-e,t.y1+e],["L",t.x3+e,t.y1+e],["L",t.x4+1.5*e,t.y2],["L",t.x3+e,t.y3-e],["L",t.x2-e,t.y3-e],["L",t.x1-1.5*e,t.y2],["Z"]]},translate:function(){let e;let t=this.options,a=this.xAxis,i=this.yAxis,s=t.pointPadding||0,n=(t.colsize||1)/3,l=(t.rowsize||1)/2;for(let t of(this.generatePoints(),this.points)){let o=r(Math.floor(a.len-a.translate(t.x-2*n,0,1,0,1)),-a.len,2*a.len),p=r(Math.floor(a.len-a.translate(t.x-n,0,1,0,1)),-a.len,2*a.len),h=r(Math.floor(a.len-a.translate(t.x+n,0,1,0,1)),-a.len,2*a.len),d=r(Math.floor(a.len-a.translate(t.x+2*n,0,1,0,1)),-a.len,2*a.len),u=r(Math.floor(i.translate(t.y-l,0,1,0,1)),-i.len,2*i.len),g=r(Math.floor(i.translate(t.y,0,1,0,1)),-i.len,2*i.len),c=r(Math.floor(i.translate(t.y+l,0,1,0,1)),-i.len,2*i.len),y=t.pointPadding??s,x=y*Math.abs(p-o)/Math.abs(c-g),f=a.reversed?-x:x,m=a.reversed?-y:y,P=i.reversed?-y:y;t.x%2&&(e=e||Math.round(Math.abs(c-u)/2)*(i.reversed?-1:1),u+=e,g+=e,c+=e),t.plotX=t.clientX=(p+h)/2,t.plotY=g,o+=f+m,p+=m,h-=m,d-=f+m,u-=P,c+=P,t.tileEdges={x1:o,x2:p,x3:h,x4:d,y1:u,y2:g,y3:c},t.shapeType="path",t.shapeArgs={d:[["M",p,u],["L",h,u],["L",d,g],["L",h,c],["L",p,c],["L",o,g],["Z"]]}}this.translateColors()}},diamond:{alignDataLabel:n.prototype.alignDataLabel,getSeriesPadding:function(e){return o(e,2,2)},haloPath:function(e){if(!e)return[];let t=this.tileEdges;return[["M",t.x2,t.y1+e],["L",t.x3+e,t.y2],["L",t.x2,t.y3-e],["L",t.x1-e,t.y2],["Z"]]},translate:function(){let e;let t=this.options,a=this.xAxis,i=this.yAxis,s=t.pointPadding||0,n=t.colsize||1,o=(t.rowsize||1)/2;for(let t of(this.generatePoints(),this.points)){let p=r(Math.round(a.len-a.translate(t.x-n,0,1,0,0)),-a.len,2*a.len),h=r(Math.round(a.len-a.translate(t.x+n,0,1,0,0)),-a.len,2*a.len),d=r(Math.round(i.translate(t.y-o,0,1,0,0)),-i.len,2*i.len),u=r(Math.round(i.translate(t.y,0,1,0,0)),-i.len,2*i.len),g=r(Math.round(i.translate(t.y+o,0,1,0,0)),-i.len,2*i.len),c=r(Math.round(a.len-a.translate(t.x,0,1,0,0)),-a.len,2*a.len),y=l(t.pointPadding,s),x=y*Math.abs(c-p)/Math.abs(g-u),f=a.reversed?-x:x,m=i.reversed?-y:y;t.x%2&&(e=Math.abs(g-d)/2*(i.reversed?-1:1),d+=e,u+=e,g+=e),t.plotX=t.clientX=c,t.plotY=u,p+=f,h-=f,d-=m,g+=m,t.tileEdges={x1:p,x2:c,x3:h,y1:d,y2:u,y3:g},t.shapeType="path",t.shapeArgs={d:[["M",c,d],["L",h,u],["L",c,g],["L",p,u],["Z"]]}}this.translateColors()}},circle:{alignDataLabel:n.prototype.alignDataLabel,getSeriesPadding:function(e){return o(e,2,2)},haloPath:function(e){return n.prototype.pointClass.prototype.haloPath.call(this,e+(e&&this.radius))},translate:function(){let e=this.options,t=this.xAxis,a=this.yAxis,i=e.pointPadding||0,s=(e.rowsize||1)/2,n=e.colsize||1,l,o,p,h,d=!1;for(let e of(this.generatePoints(),this.points)){let u=r(Math.round(t.len-t.translate(e.x,0,1,0,0)),-t.len,2*t.len),g=i,c=!1,y=r(Math.round(a.translate(e.y,0,1,0,0)),-a.len,2*a.len);void 0!==e.pointPadding&&(g=e.pointPadding,c=!0,d=!0),(!h||d)&&(p=Math.floor(Math.sqrt((l=Math.abs(r(Math.floor(t.len-t.translate(e.x+n,0,1,0,0)),-t.len,2*t.len)-u))*l+(o=Math.abs(r(Math.floor(a.translate(e.y+s,0,1,0,0)),-a.len,2*a.len)-y))*o)/2),h=Math.min(l,p,o)-g,d&&!c&&(d=!1)),e.x%2&&(y+=o*(a.reversed?-1:1)),e.plotX=e.clientX=u,e.plotY=y,e.radius=h,e.shapeType="circle",e.shapeArgs={x:u,y:y,r:h}}this.translateColors()}},square:{alignDataLabel:s.prototype.alignDataLabel,translate:s.prototype.translate,getSeriesPadding:i,haloPath:s.prototype.pointClass.prototype.haloPath}}}),a(t,"Series/Tilemap/TilemapSeries.js",[t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Series/Tilemap/TilemapPoint.js"],t["Series/Tilemap/TilemapSeriesDefaults.js"],t["Series/Tilemap/TilemapShapes.js"],t["Core/Utilities.js"]],function(e,t,a,i,s,n){let{composed:r,noop:l}=e,{column:o,heatmap:p,scatter:h}=t.seriesTypes,{addEvent:d,extend:u,merge:g,pushUnique:c}=n;function y(){if(this.recomputingForTilemap||"colorAxis"===this.coll)return;let e=this,t=e.series.map(function(t){return t.getSeriesPixelPadding&&t.getSeriesPixelPadding(e)}).reduce(function(e,t){return(e&&e.padding)>(t&&t.padding)?e:t},void 0)||{padding:0,axisLengthFactor:1},a=Math.round(t.padding*t.axisLengthFactor);t.padding&&(e.len-=a,e.recomputingForTilemap=!0,e.setAxisTranslation(),delete e.recomputingForTilemap,e.minPixelPadding+=t.padding,e.len+=a)}class x extends p{static compose(e){c(r,"TilemapSeries")&&d(e,"afterSetAxisTranslation",y)}alignDataLabel(){return this.tileShape.alignDataLabel.apply(this,arguments)}drawPoints(){for(let e of(o.prototype.drawPoints.call(this),this.points))e.graphic&&e.graphic[this.chart.styledMode?"css":"animate"](this.colorAttribs(e))}getSeriesPixelPadding(e){let t=e.isXAxis,a=this.tileShape.getSeriesPadding(this);if(!a)return{padding:0,axisLengthFactor:1};let i=Math.round(e.translate(t?2*a.xPad:a.yPad,0,1,0,1)),s=Math.round(e.translate(t?a.xPad:0,0,1,0,1));return{padding:(e.single?Math.abs(i-s)/2:Math.abs(i-s))||0,axisLengthFactor:t?2:1.1}}setOptions(){let e=super.setOptions.apply(this,arguments);return this.tileShape=s[e.tileShape],e}translate(){return this.tileShape.translate.apply(this,arguments)}}return x.defaultOptions=g(p.defaultOptions,i),u(x.prototype,{getSymbol:l,markerAttribs:h.prototype.markerAttribs,pointAttribs:o.prototype.pointAttribs,pointClass:a}),t.registerSeriesType("tilemap",x),x}),a(t,"masters/modules/tilemap.src.js",[t["Core/Globals.js"],t["Series/Tilemap/TilemapSeries.js"]],function(e,t){return t.compose(e.Axis),e})});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Highmaps JS v11.4.
|
|
2
|
+
* @license Highmaps JS v11.4.4 (2024-07-02)
|
|
3
3
|
*
|
|
4
4
|
* Tilemap module
|
|
5
5
|
*
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
factory['default'] = factory;
|
|
13
13
|
module.exports = factory;
|
|
14
14
|
} else if (typeof define === 'function' && define.amd) {
|
|
15
|
-
define('highcharts/modules/tilemap', ['highcharts', '
|
|
15
|
+
define('highcharts/modules/tilemap', ['highcharts', 'modules/map'], function (Highcharts) {
|
|
16
16
|
factory(Highcharts);
|
|
17
17
|
factory.Highcharts = Highcharts;
|
|
18
18
|
return factory;
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
obj[path] = fn.apply(null, args);
|
|
29
29
|
|
|
30
30
|
if (typeof CustomEvent === 'function') {
|
|
31
|
-
|
|
31
|
+
Highcharts.win.dispatchEvent(new CustomEvent(
|
|
32
32
|
'HighchartsModuleLoaded',
|
|
33
33
|
{ detail: { path: path, module: obj[path] } }
|
|
34
34
|
));
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
* @excluding jitter, joinBy, shadow, allAreas, mapData, marker, data,
|
|
122
122
|
* dataSorting, boostThreshold, boostBlending
|
|
123
123
|
* @product highcharts highmaps
|
|
124
|
-
* @requires modules/tilemap
|
|
124
|
+
* @requires modules/tilemap
|
|
125
125
|
* @optionparent plotOptions.tilemap
|
|
126
126
|
*/
|
|
127
127
|
const TilemapSeriesDefaults = {
|
|
@@ -197,7 +197,7 @@
|
|
|
197
197
|
* pointRange, shadow, stack, dataSorting, boostThreshold,
|
|
198
198
|
* boostBlending
|
|
199
199
|
* @product highcharts highmaps
|
|
200
|
-
* @requires modules/tilemap
|
|
200
|
+
* @requires modules/tilemap
|
|
201
201
|
* @apioption series.tilemap
|
|
202
202
|
*/
|
|
203
203
|
/**
|
|
@@ -783,4 +783,4 @@
|
|
|
783
783
|
|
|
784
784
|
return Highcharts;
|
|
785
785
|
});
|
|
786
|
-
}));
|
|
786
|
+
}));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
!/**
|
|
2
|
-
* Highcharts JS v11.4.
|
|
2
|
+
* Highcharts JS v11.4.4 (2024-07-02)
|
|
3
3
|
*
|
|
4
4
|
* Timeline series
|
|
5
5
|
*
|
|
@@ -7,4 +7,4 @@
|
|
|
7
7
|
* Author: Daniel Studencki
|
|
8
8
|
*
|
|
9
9
|
* License: www.highcharts.com/license
|
|
10
|
-
*/function(t){"object"==typeof module&&module.exports?(t.default=t,module.exports=t):"function"==typeof define&&define.amd?define("highcharts/modules/timeline",["highcharts"],function(e){return t(e),t.Highcharts=e,t}):t("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){"use strict";var e=t?t._modules:{};function i(
|
|
10
|
+
*/function(t){"object"==typeof module&&module.exports?(t.default=t,module.exports=t):"function"==typeof define&&define.amd?define("highcharts/modules/timeline",["highcharts"],function(e){return t(e),t.Highcharts=e,t}):t("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){"use strict";var e=t?t._modules:{};function i(e,i,s,n){e.hasOwnProperty(i)||(e[i]=n.apply(null,s),"function"==typeof CustomEvent&&t.win.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:i,module:e[i]}})))}i(e,"Series/Timeline/TimelinePoint.js",[e["Core/Series/Point.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,i){let{line:{prototype:{pointClass:s}},pie:{prototype:{pointClass:n}}}=e.seriesTypes,{defined:o,isNumber:r,merge:a,objectEach:l,pick:h}=i;return class extends s{alignConnector(){let t=this.series,e=this.dataLabel,i=e.connector,s=e.options||{},n=s.connectorWidth||0,r=this.series.chart,a=i.getBBox(),l={x:a.x+(e.translateX||0),y:a.y+(e.translateY||0)};r.inverted?l.y-=n/2:l.x+=n/2,i[r.isInsidePlot(l.x,l.y)?"animate":"attr"]({d:this.getConnectorPath()}),i.addClass("highcharts-color-"+this.colorIndex),t.chart.styledMode||i.attr({stroke:s.connectorColor||this.color,"stroke-width":s.connectorWidth,opacity:e[o(e.newOpacity)?"newOpacity":"opacity"]})}drawConnector(){let{dataLabel:t,series:e}=this;t&&(t.connector||(t.connector=e.chart.renderer.path(this.getConnectorPath()).attr({zIndex:-1}).add(t)),this.series.chart.isInsidePlot(t.x||0,t.y||0)&&this.alignConnector())}getConnectorPath(){let{plotX:t=0,plotY:e=0,series:i,dataLabel:s}=this,n=i.chart,o=i.xAxis.len,a=n.inverted,h=a?"x2":"y2";if(s){let d=s.targetPosition,p=(s.alignAttr||s)[h[0]]<i.yAxis.len/2,c={x1:t,y1:e,x2:t,y2:r(d.y)?d.y:s.y};return a&&(c={x1:e,y1:o-t,x2:d.x||s.x,y2:o-t}),p&&(c[h]+=s[a?"width":"height"]||0),l(c,(t,e)=>{c[e]-=(s.alignAttr||s)[e[0]]}),n.renderer.crispLine([["M",c.x1,c.y1],["L",c.x2,c.y2]],s.options?.connectorWidth||0)}return[]}constructor(t,e){super(t,e),this.name??(this.name="Event"),this.y=1}isValid(){return null!==this.options.y}setState(){let t=super.setState;this.isNull||t.apply(this,arguments)}setVisible(t,e){let i=this.series;e=h(e,i.options.ignoreHiddenPoint),n.prototype.setVisible.call(this,t,!1),i.processData(),e&&i.chart.redraw()}applyOptions(e,i){return e=t.prototype.optionsToObject.call(this,e),this.userDLOptions=a(this.userDLOptions,e.dataLabels),super.applyOptions(e,i)}}}),i(e,"Series/Timeline/TimelineSeriesDefaults.js",[],function(){return{colorByPoint:!0,stickyTracking:!1,ignoreHiddenPoint:!0,legendType:"point",lineWidth:4,tooltip:{headerFormat:'<span style="color:{point.color}">●</span> <span style="font-size: 0.8em"> {point.key}</span><br/>',pointFormat:"{point.description}"},states:{hover:{lineWidthPlus:0}},dataLabels:{enabled:!0,allowOverlap:!0,alternate:!0,backgroundColor:"#ffffff",borderWidth:1,borderColor:"#999999",borderRadius:3,color:"#333333",connectorWidth:1,distance:void 0,formatter:function(){return(this.series.chart.styledMode?'<span class="highcharts-color-'+this.point.colorIndex+'">● </span>':'<span style="color:'+this.point.color+'">● </span>')+('<span class="highcharts-strong">'+(this.key||""))+"</span><br/>"+(this.point.label||"")},style:{textOutline:"none",fontWeight:"normal",fontSize:"0.8em"},shadow:!1,verticalAlign:"middle"},marker:{enabledThreshold:0,symbol:"square",radius:6,lineWidth:2,height:15},showInLegend:!1,colorKey:"x",legendSymbol:"rectangle"}}),i(e,"Series/Timeline/TimelineSeries.js",[e["Core/Series/SeriesRegistry.js"],e["Series/Timeline/TimelinePoint.js"],e["Series/Timeline/TimelineSeriesDefaults.js"],e["Core/Utilities.js"]],function(t,e,i,s){let{column:n,line:o}=t.seriesTypes,{addEvent:r,arrayMax:a,arrayMin:l,defined:h,extend:d,merge:p,pick:c}=s;class u extends o{alignDataLabel(t,e,i,s){let n,o,r;let a=this.chart.inverted,l=this.visibilityMap.filter(t=>!!t),h=this.visiblePointsCount||0,d=l.indexOf(t),p=this.options.dataLabels,u=t.userDLOptions||{},y=p.alternate?d&&d!==h-1?2:1.5:1,f=Math.floor(this.xAxis.len/h),g=e.padding;t.visible&&(n=Math.abs(u.x||t.options.dataLabels.x),a?(o=(n-g)*2-(t.itemHeight||0)/2,r={width:c(p.style?.width,`${.4*this.yAxis.len}px`),textOverflow:(e.width||0)/o*(e.height||0)/2>f*y?"ellipsis":"none"}):r={width:(u.width||p.width||f*y-2*g)+"px"},e.css(r),this.chart.styledMode||e.shadow(p.shadow)),super.alignDataLabel.apply(this,arguments)}bindAxes(){super.bindAxes(),this.xAxis.userOptions.type||(this.xAxis.categories=this.xAxis.hasNames=!0)}distributeDL(){let t=this.options.dataLabels,e=this.chart.inverted,i=1;if(t){let s=c(t.distance,e?20:100);for(let n of this.points){let o={[e?"x":"y"]:t.alternate&&i%2?-s:s};e&&(o.align=t.alternate&&i%2?"right":"left"),n.options.dataLabels=p(o,n.userDLOptions),i++}}}generatePoints(){super.generatePoints();let t=this.points;for(let e=0,i=t.length;e<i;++e)t[e].applyOptions({x:this.xData[e]},this.xData[e])}getVisibilityMap(){return(this.data.length?this.data:this.userOptions.data||[]).map(t=>!!t&&!1!==t.visible&&!t.isNull&&t)}getXExtremes(t){let e=this,i=t.filter((t,i)=>e.points[i].isValid()&&e.points[i].visible);return{min:l(i),max:a(i)}}init(){let t=this;super.init.apply(t,arguments),t.eventsToUnbind.push(r(t,"afterTranslate",function(){let e,i=Number.MAX_VALUE;for(let s of t.points)s.isInside=s.isInside&&s.visible,s.visible&&!s.isNull&&(h(e)&&(i=Math.min(i,Math.abs(s.plotX-e))),e=s.plotX);t.closestPointRangePx=i})),t.eventsToUnbind.push(r(t,"drawDataLabels",function(){t.distributeDL()})),t.eventsToUnbind.push(r(t,"afterDrawDataLabels",function(){let e;for(let i of t.points)(e=i.dataLabel)&&(e.animate=function(t){return this.targetPosition&&(this.targetPosition=t),this.renderer.Element.prototype.animate.apply(this,arguments)},e.targetPosition||(e.targetPosition={}),i.drawConnector())})),t.eventsToUnbind.push(r(t.chart,"afterHideOverlappingLabel",function(){for(let e of t.points)e.dataLabel&&e.dataLabel.connector&&e.dataLabel.oldOpacity!==e.dataLabel.newOpacity&&e.alignConnector()}))}markerAttribs(t,e){let i=this.options.marker,s=t.marker||{},n=s.symbol||i.symbol,o=c(s.width,i.width,this.closestPointRangePx),r=c(s.height,i.height),a,l=0;if(this.xAxis.dateTime)return super.markerAttribs(t,e);e&&(a=i.states[e]||{},l=c((s.states&&s.states[e]||{}).radius,a.radius,l+(a.radiusPlus||0))),t.hasImage=n&&0===n.indexOf("url");let h={x:Math.floor(t.plotX)-o/2-l/2,y:t.plotY-r/2-l/2,width:o+l,height:r+l};return this.chart.inverted?{y:h.x&&h.width&&this.xAxis.len-h.x-h.width,x:h.y&&h.y,width:h.height,height:h.width}:h}processData(){let t=0,e;for(let e of(this.visibilityMap=this.getVisibilityMap(),this.visibilityMap))e&&t++;for(e=0,this.visiblePointsCount=t;e<this.xData.length;e++)this.yData[e]=1;super.processData.call(this,arguments)}}return u.defaultOptions=p(o.defaultOptions,i),d(u.prototype,{drawTracker:n.prototype.drawTracker,pointClass:e,trackerGroups:["markerGroup","dataLabelsGroup"]}),t.registerSeriesType("timeline",u),u}),i(e,"masters/modules/timeline.src.js",[e["Core/Globals.js"]],function(t){return t})});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Highcharts JS v11.4.
|
|
2
|
+
* @license Highcharts JS v11.4.4 (2024-07-02)
|
|
3
3
|
*
|
|
4
4
|
* Timeline series
|
|
5
5
|
*
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
obj[path] = fn.apply(null, args);
|
|
30
30
|
|
|
31
31
|
if (typeof CustomEvent === 'function') {
|
|
32
|
-
|
|
32
|
+
Highcharts.win.dispatchEvent(new CustomEvent(
|
|
33
33
|
'HighchartsModuleLoaded',
|
|
34
34
|
{ detail: { path: path, module: obj[path] } }
|
|
35
35
|
));
|
|
@@ -736,4 +736,4 @@
|
|
|
736
736
|
|
|
737
737
|
return Highcharts;
|
|
738
738
|
});
|
|
739
|
-
}));
|
|
739
|
+
}));
|