@ntlab/ntjs-assets 2.73.0 → 2.74.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/js/cdn.json +1 -1
- package/assets/js/exif-js/exif.min.js +1 -8
- package/assets/js/highcharts/css/annotations/popup.css +86 -45
- package/assets/js/highcharts/css/highcharts.css +40 -30
- package/assets/js/highcharts/css/stocktools/gui.css +28 -11
- package/assets/js/highcharts/es-modules/Accessibility/Components/InfoRegionsComponent.js +3 -3
- package/assets/js/highcharts/es-modules/Accessibility/Components/LegendComponent.js +10 -1
- package/assets/js/highcharts/es-modules/Accessibility/Components/MenuComponent.js +23 -22
- package/assets/js/highcharts/es-modules/Accessibility/HighContrastMode.js +0 -5
- package/assets/js/highcharts/es-modules/Core/Axis/AxisDefaults.js +5 -0
- package/assets/js/highcharts/es-modules/Core/Axis/OrdinalAxis.js +19 -11
- package/assets/js/highcharts/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +14 -1
- package/assets/js/highcharts/es-modules/Core/Axis/RadialAxis.js +3 -4
- package/assets/js/highcharts/es-modules/Core/Axis/Tick.js +1 -1
- package/assets/js/highcharts/es-modules/Core/Axis/WaterfallAxis.js +4 -4
- package/assets/js/highcharts/es-modules/Core/Chart/Chart.js +31 -25
- package/assets/js/highcharts/es-modules/Core/Chart/ChartDefaults.js +13 -0
- package/assets/js/highcharts/es-modules/Core/Chart/GanttChart.js +4 -2
- package/assets/js/highcharts/es-modules/Core/Chart/StockChart.js +1 -1
- package/assets/js/highcharts/es-modules/Core/Color/Color.js +4 -8
- package/assets/js/highcharts/es-modules/Core/Defaults.js +4 -0
- package/assets/js/highcharts/es-modules/Core/Globals.js +1 -1
- package/assets/js/highcharts/es-modules/Core/HttpUtilities.js +45 -38
- package/assets/js/highcharts/es-modules/Core/Pointer.js +3 -4
- package/assets/js/highcharts/es-modules/Core/Renderer/HTML/AST.js +14 -14
- package/assets/js/highcharts/es-modules/Core/Renderer/HTML/HTMLElement.js +6 -2
- package/assets/js/highcharts/es-modules/Core/Renderer/SVG/SVGRenderer.js +4 -1
- package/assets/js/highcharts/es-modules/Core/Series/DataLabel.js +4 -2
- package/assets/js/highcharts/es-modules/Core/Series/Series.js +16 -6
- package/assets/js/highcharts/es-modules/Core/Series/SeriesDefaults.js +1 -3
- package/assets/js/highcharts/es-modules/Core/Templating.js +6 -5
- package/assets/js/highcharts/es-modules/Core/Tooltip.js +3 -1
- package/assets/js/highcharts/es-modules/Data/Connectors/CSVConnector.js +32 -15
- package/assets/js/highcharts/es-modules/Data/Connectors/DataConnector.js +107 -12
- package/assets/js/highcharts/es-modules/Data/Connectors/GoogleSheetsConnector.js +29 -17
- package/assets/js/highcharts/es-modules/Data/Connectors/HTMLTableConnector.js +3 -3
- package/assets/js/highcharts/es-modules/Data/Connectors/JSONConnector.js +37 -16
- package/assets/js/highcharts/es-modules/Data/Converters/HTMLTableConverter.js +1 -1
- package/assets/js/highcharts/es-modules/Data/DataPool.js +15 -4
- package/assets/js/highcharts/es-modules/Extensions/Annotations/Annotation.js +10 -7
- package/assets/js/highcharts/es-modules/Extensions/Annotations/AnnotationChart.js +7 -3
- package/assets/js/highcharts/es-modules/Extensions/Annotations/AnnotationDefaults.js +38 -12
- package/assets/js/highcharts/es-modules/Extensions/Annotations/Controllables/ControllableLabel.js +10 -3
- package/assets/js/highcharts/es-modules/Extensions/Annotations/NavigationBindingsDefaults.js +1 -1
- package/assets/js/highcharts/es-modules/Extensions/Annotations/Popup/PopupAnnotations.js +10 -4
- package/assets/js/highcharts/es-modules/Extensions/Annotations/Popup/PopupComposition.js +1 -1
- package/assets/js/highcharts/es-modules/Extensions/Annotations/Types/BasicAnnotation.js +0 -3
- package/assets/js/highcharts/es-modules/Extensions/Annotations/Types/CrookedLine.js +97 -94
- package/assets/js/highcharts/es-modules/Extensions/Annotations/Types/ElliottWave.js +43 -36
- package/assets/js/highcharts/es-modules/Extensions/Annotations/Types/Fibonacci.js +86 -82
- package/assets/js/highcharts/es-modules/Extensions/Annotations/Types/FibonacciTimeZones.js +74 -71
- package/assets/js/highcharts/es-modules/Extensions/Annotations/Types/InfinityLine.js +17 -3
- package/assets/js/highcharts/es-modules/Extensions/Annotations/Types/Measure.js +229 -226
- package/assets/js/highcharts/es-modules/Extensions/Annotations/Types/Pitchfork.js +39 -40
- package/assets/js/highcharts/es-modules/Extensions/Annotations/Types/TimeCycles.js +56 -52
- package/assets/js/highcharts/es-modules/Extensions/Annotations/Types/Tunnel.js +80 -76
- package/assets/js/highcharts/es-modules/Extensions/Annotations/Types/VerticalLine.js +57 -53
- package/assets/js/highcharts/es-modules/Extensions/Boost/BoostSeries.js +22 -3
- package/assets/js/highcharts/es-modules/Extensions/DownloadURL.js +41 -8
- package/assets/js/highcharts/es-modules/Extensions/ExportData/ExportData.js +876 -780
- package/assets/js/highcharts/es-modules/Extensions/ExportData/ExportDataDefaults.js +67 -13
- package/assets/js/highcharts/es-modules/Extensions/Exporting/Exporting.js +1091 -546
- package/assets/js/highcharts/es-modules/Extensions/Exporting/ExportingDefaults.js +52 -36
- package/assets/js/highcharts/es-modules/Extensions/Exporting/Fullscreen.js +2 -2
- package/assets/js/highcharts/es-modules/Extensions/NonCartesianSeriesZoom/NonCartesianSeriesZoom.js +311 -0
- package/assets/js/highcharts/es-modules/Extensions/OfflineExporting/OfflineExporting.js +254 -575
- package/assets/js/highcharts/es-modules/Extensions/OfflineExporting/OfflineExportingDefaults.js +9 -38
- package/assets/js/highcharts/es-modules/Extensions/Pane/Pane.js +1 -1
- package/assets/js/highcharts/es-modules/Extensions/Pane/PaneDefaults.js +9 -1
- package/assets/js/highcharts/es-modules/Extensions/Themes/Adaptive.js +1009 -0
- package/assets/js/highcharts/es-modules/Maps/MapNavigation.js +1 -1
- package/assets/js/highcharts/es-modules/Series/Bubble/BubblePoint.js +2 -2
- package/assets/js/highcharts/es-modules/Series/Column/ColumnSeriesDefaults.js +1 -2
- package/assets/js/highcharts/es-modules/Series/DragNodesComposition.js +4 -0
- package/assets/js/highcharts/es-modules/Series/Flags/FlagsSeriesDefaults.js +2 -0
- package/assets/js/highcharts/es-modules/Series/GraphLayoutComposition.js +2 -1
- package/assets/js/highcharts/es-modules/Series/Heatmap/HeatmapSeriesDefaults.js +1 -2
- package/assets/js/highcharts/es-modules/Series/Item/ItemSeries.js +1 -1
- package/assets/js/highcharts/es-modules/Series/PackedBubble/PackedBubblePoint.js +5 -0
- package/assets/js/highcharts/es-modules/Series/Pie/PieSeriesDefaults.js +1 -2
- package/assets/js/highcharts/es-modules/Series/PolarComposition.js +1 -1
- package/assets/js/highcharts/es-modules/Series/SolidGauge/SolidGaugeSeries.js +7 -2
- package/assets/js/highcharts/es-modules/Series/Treegraph/TreegraphSeries.js +3 -1
- package/assets/js/highcharts/es-modules/Series/Variwide/VariwideSeries.js +8 -1
- package/assets/js/highcharts/es-modules/Series/Waterfall/WaterfallSeries.js +6 -8
- package/assets/js/highcharts/es-modules/Series/Wordcloud/WordcloudSeries.js +87 -10
- package/assets/js/highcharts/es-modules/Shared/BaseForm.js +6 -3
- package/assets/js/highcharts/es-modules/Shared/TimeBase.js +5 -1
- package/assets/js/highcharts/es-modules/Stock/Navigator/NavigatorComposition.js +2 -2
- package/assets/js/highcharts/es-modules/Stock/Scrollbar/Scrollbar.js +5 -7
- package/assets/js/highcharts/es-modules/Stock/StockTools/StockToolbar.js +1 -1
- package/assets/js/highcharts/es-modules/Stock/StockTools/StockToolsBindings.js +34 -113
- package/assets/js/highcharts/es-modules/masters/highcharts-3d.src.js +3 -1
- package/assets/js/highcharts/es-modules/masters/highcharts-gantt.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/highcharts-more.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/highcharts.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/highmaps.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/highstock.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/i18n/fr-FR.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/i18n/nb-NO.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/i18n/zh-CN.src.js +1 -1
- 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/accessibility.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/annotations-advanced.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/annotations.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/arc-diagram.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/arrow-symbols.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/boost-canvas.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/boost.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/broken-axis.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/bullet.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/coloraxis.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/current-date-indicator.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/cylinder.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/data-tools.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/data.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/datagrouping.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/debugger.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/dotplot.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/draggable-points.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/drilldown.src.js +3 -1
- package/assets/js/highcharts/es-modules/masters/modules/dumbbell.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/export-data.src.js +3 -3
- package/assets/js/highcharts/es-modules/masters/modules/exporting.src.js +5 -1
- package/assets/js/highcharts/es-modules/masters/modules/flowmap.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/full-screen.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/funnel.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/funnel3d.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/gantt.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/geoheatmap.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/grid-axis.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/heatmap.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/heikinashi.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/histogram-bellcurve.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/item-series.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/lollipop.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/marker-clusters.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/mouse-wheel-zoom.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/navigator.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/networkgraph.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/no-data-to-display.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/non-cartesian-zoom.src.js +18 -0
- package/assets/js/highcharts/es-modules/masters/modules/offline-exporting.src.js +2 -2
- package/assets/js/highcharts/es-modules/masters/modules/organization.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/parallel-coordinates.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/pareto.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/pathfinder.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/pattern-fill.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/pictorial.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/pointandfigure.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 +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/renko.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/sankey.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/series-label.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/series-on-point.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/solid-gauge.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/sonification.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/static-scale.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/stock.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/streamgraph.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/sunburst.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/textpath.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/tiledwebmap.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/tilemap.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/timeline.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/treegraph.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/treegrid.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/treemap.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/variable-pie.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/variwide.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/vector.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/venn.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/windbarb.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/wordcloud.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/modules/xrange.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/themes/adaptive.src.js +15 -0
- package/assets/js/highcharts/es-modules/masters/themes/avocado.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/themes/brand-dark.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/themes/brand-light.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/themes/dark-blue.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/themes/dark-green.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/themes/dark-unica.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/themes/gray.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/themes/grid-light.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/themes/grid.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/themes/high-contrast-dark.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/themes/high-contrast-light.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/themes/sand-signika.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/themes/skies.src.js +1 -1
- package/assets/js/highcharts/es-modules/masters/themes/sunset.src.js +1 -1
- package/assets/js/highcharts/esm/highcharts-3d.js +11 -1
- package/assets/js/highcharts/esm/highcharts-3d.src.js +3 -1
- package/assets/js/highcharts/esm/highcharts-gantt.js +8 -1
- package/assets/js/highcharts/esm/highcharts-gantt.src.js +1 -1
- package/assets/js/highcharts/esm/highcharts-more.js +9 -1
- package/assets/js/highcharts/esm/highcharts-more.src.js +44 -29
- package/assets/js/highcharts/esm/highcharts.js +9 -2
- package/assets/js/highcharts/esm/highcharts.src.js +138 -80
- package/assets/js/highcharts/esm/highmaps.js +8 -1
- package/assets/js/highcharts/esm/highmaps.src.js +1 -1
- package/assets/js/highcharts/esm/highstock.js +8 -1
- package/assets/js/highcharts/esm/highstock.src.js +1 -1
- package/assets/js/highcharts/esm/i18n/fr-FR.js +13 -1
- package/assets/js/highcharts/esm/i18n/fr-FR.src.js +1 -1
- package/assets/js/highcharts/esm/i18n/nb-NO.js +13 -1
- package/assets/js/highcharts/esm/i18n/nb-NO.src.js +1 -1
- package/assets/js/highcharts/esm/i18n/zh-CN.js +13 -1
- package/assets/js/highcharts/esm/i18n/zh-CN.src.js +1 -1
- package/assets/js/highcharts/esm/indicators/acceleration-bands.js +12 -1
- package/assets/js/highcharts/esm/indicators/acceleration-bands.src.js +1 -1
- package/assets/js/highcharts/esm/indicators/accumulation-distribution.js +12 -1
- package/assets/js/highcharts/esm/indicators/accumulation-distribution.src.js +1 -1
- package/assets/js/highcharts/esm/indicators/ao.js +12 -1
- package/assets/js/highcharts/esm/indicators/ao.src.js +1 -1
- package/assets/js/highcharts/esm/indicators/apo.js +12 -1
- package/assets/js/highcharts/esm/indicators/apo.src.js +1 -1
- package/assets/js/highcharts/esm/indicators/aroon-oscillator.js +12 -1
- package/assets/js/highcharts/esm/indicators/aroon-oscillator.src.js +1 -1
- package/assets/js/highcharts/esm/indicators/aroon.js +12 -1
- package/assets/js/highcharts/esm/indicators/aroon.src.js +1 -1
- package/assets/js/highcharts/esm/indicators/atr.js +12 -1
- package/assets/js/highcharts/esm/indicators/atr.src.js +1 -1
- package/assets/js/highcharts/esm/indicators/bollinger-bands.js +12 -1
- package/assets/js/highcharts/esm/indicators/bollinger-bands.src.js +1 -1
- package/assets/js/highcharts/esm/indicators/cci.js +12 -1
- package/assets/js/highcharts/esm/indicators/cci.src.js +1 -1
- package/assets/js/highcharts/esm/indicators/chaikin.js +12 -1
- package/assets/js/highcharts/esm/indicators/chaikin.src.js +1 -1
- package/assets/js/highcharts/esm/indicators/cmf.js +11 -1
- package/assets/js/highcharts/esm/indicators/cmf.src.js +1 -1
- package/assets/js/highcharts/esm/indicators/cmo.js +12 -1
- package/assets/js/highcharts/esm/indicators/cmo.src.js +1 -1
- package/assets/js/highcharts/esm/indicators/dema.js +12 -1
- package/assets/js/highcharts/esm/indicators/dema.src.js +1 -1
- package/assets/js/highcharts/esm/indicators/disparity-index.js +12 -1
- package/assets/js/highcharts/esm/indicators/disparity-index.src.js +1 -1
- package/assets/js/highcharts/esm/indicators/dmi.js +12 -1
- package/assets/js/highcharts/esm/indicators/dmi.src.js +1 -1
- package/assets/js/highcharts/esm/indicators/dpo.js +12 -1
- package/assets/js/highcharts/esm/indicators/dpo.src.js +1 -1
- package/assets/js/highcharts/esm/indicators/ichimoku-kinko-hyo.js +12 -1
- package/assets/js/highcharts/esm/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/assets/js/highcharts/esm/indicators/indicators-all.js +12 -1
- package/assets/js/highcharts/esm/indicators/indicators-all.src.js +1 -1
- package/assets/js/highcharts/esm/indicators/indicators.js +12 -1
- package/assets/js/highcharts/esm/indicators/indicators.src.js +1 -1
- package/assets/js/highcharts/esm/indicators/keltner-channels.js +12 -1
- package/assets/js/highcharts/esm/indicators/keltner-channels.src.js +1 -1
- package/assets/js/highcharts/esm/indicators/klinger.js +12 -1
- package/assets/js/highcharts/esm/indicators/klinger.src.js +1 -1
- package/assets/js/highcharts/esm/indicators/macd.js +12 -1
- package/assets/js/highcharts/esm/indicators/macd.src.js +1 -1
- package/assets/js/highcharts/esm/indicators/mfi.js +12 -1
- package/assets/js/highcharts/esm/indicators/mfi.src.js +1 -1
- package/assets/js/highcharts/esm/indicators/momentum.js +12 -1
- package/assets/js/highcharts/esm/indicators/momentum.src.js +1 -1
- package/assets/js/highcharts/esm/indicators/natr.js +12 -1
- package/assets/js/highcharts/esm/indicators/natr.src.js +1 -1
- package/assets/js/highcharts/esm/indicators/obv.js +12 -1
- package/assets/js/highcharts/esm/indicators/obv.src.js +1 -1
- package/assets/js/highcharts/esm/indicators/pivot-points.js +12 -1
- package/assets/js/highcharts/esm/indicators/pivot-points.src.js +1 -1
- package/assets/js/highcharts/esm/indicators/ppo.js +12 -1
- package/assets/js/highcharts/esm/indicators/ppo.src.js +1 -1
- package/assets/js/highcharts/esm/indicators/price-channel.js +12 -1
- package/assets/js/highcharts/esm/indicators/price-channel.src.js +1 -1
- package/assets/js/highcharts/esm/indicators/price-envelopes.js +12 -1
- package/assets/js/highcharts/esm/indicators/price-envelopes.src.js +1 -1
- package/assets/js/highcharts/esm/indicators/psar.js +12 -1
- package/assets/js/highcharts/esm/indicators/psar.src.js +1 -1
- package/assets/js/highcharts/esm/indicators/regressions.js +12 -1
- package/assets/js/highcharts/esm/indicators/regressions.src.js +1 -1
- package/assets/js/highcharts/esm/indicators/roc.js +12 -1
- package/assets/js/highcharts/esm/indicators/roc.src.js +1 -1
- package/assets/js/highcharts/esm/indicators/rsi.js +12 -1
- package/assets/js/highcharts/esm/indicators/rsi.src.js +1 -1
- package/assets/js/highcharts/esm/indicators/slow-stochastic.js +12 -1
- package/assets/js/highcharts/esm/indicators/slow-stochastic.src.js +1 -1
- package/assets/js/highcharts/esm/indicators/stochastic.js +12 -1
- package/assets/js/highcharts/esm/indicators/stochastic.src.js +1 -1
- package/assets/js/highcharts/esm/indicators/supertrend.js +12 -1
- package/assets/js/highcharts/esm/indicators/supertrend.src.js +1 -1
- package/assets/js/highcharts/esm/indicators/tema.js +12 -1
- package/assets/js/highcharts/esm/indicators/tema.src.js +1 -1
- package/assets/js/highcharts/esm/indicators/trendline.js +12 -1
- package/assets/js/highcharts/esm/indicators/trendline.src.js +1 -1
- package/assets/js/highcharts/esm/indicators/trix.js +12 -1
- package/assets/js/highcharts/esm/indicators/trix.src.js +1 -1
- package/assets/js/highcharts/esm/indicators/volume-by-price.js +12 -1
- package/assets/js/highcharts/esm/indicators/volume-by-price.src.js +1 -1
- package/assets/js/highcharts/esm/indicators/vwap.js +12 -1
- package/assets/js/highcharts/esm/indicators/vwap.src.js +1 -1
- package/assets/js/highcharts/esm/indicators/williams-r.js +12 -1
- package/assets/js/highcharts/esm/indicators/williams-r.src.js +1 -1
- package/assets/js/highcharts/esm/indicators/wma.js +12 -1
- package/assets/js/highcharts/esm/indicators/wma.src.js +1 -1
- package/assets/js/highcharts/esm/indicators/zigzag.js +12 -1
- package/assets/js/highcharts/esm/indicators/zigzag.src.js +1 -1
- package/assets/js/highcharts/esm/modules/accessibility.js +12 -1
- package/assets/js/highcharts/esm/modules/accessibility.src.js +46 -43
- package/assets/js/highcharts/esm/modules/annotations-advanced.js +11 -1
- package/assets/js/highcharts/esm/modules/annotations-advanced.src.js +866 -775
- package/assets/js/highcharts/esm/modules/annotations.js +11 -1
- package/assets/js/highcharts/esm/modules/annotations.src.js +89 -40
- package/assets/js/highcharts/esm/modules/arc-diagram.js +11 -1
- package/assets/js/highcharts/esm/modules/arc-diagram.src.js +1 -1
- package/assets/js/highcharts/esm/modules/arrow-symbols.js +11 -1
- package/assets/js/highcharts/esm/modules/arrow-symbols.src.js +1 -1
- package/assets/js/highcharts/esm/modules/boost-canvas.js +12 -1
- package/assets/js/highcharts/esm/modules/boost-canvas.src.js +23 -4
- package/assets/js/highcharts/esm/modules/boost.js +13 -1
- package/assets/js/highcharts/esm/modules/boost.src.js +23 -4
- package/assets/js/highcharts/esm/modules/broken-axis.js +9 -1
- package/assets/js/highcharts/esm/modules/broken-axis.src.js +1 -1
- package/assets/js/highcharts/esm/modules/bullet.js +11 -1
- package/assets/js/highcharts/esm/modules/bullet.src.js +1 -1
- package/assets/js/highcharts/esm/modules/coloraxis.js +11 -1
- package/assets/js/highcharts/esm/modules/coloraxis.src.js +1 -1
- package/assets/js/highcharts/esm/modules/current-date-indicator.js +11 -1
- package/assets/js/highcharts/esm/modules/current-date-indicator.src.js +1 -1
- package/assets/js/highcharts/esm/modules/cylinder.js +12 -1
- package/assets/js/highcharts/esm/modules/cylinder.src.js +1 -1
- package/assets/js/highcharts/esm/modules/data-tools.js +11 -1
- package/assets/js/highcharts/esm/modules/data-tools.src.js +225 -69
- package/assets/js/highcharts/esm/modules/data.js +11 -1
- package/assets/js/highcharts/esm/modules/data.src.js +46 -39
- package/assets/js/highcharts/esm/modules/datagrouping.js +11 -1
- package/assets/js/highcharts/esm/modules/datagrouping.src.js +1 -1
- package/assets/js/highcharts/esm/modules/debugger.js +11 -1
- package/assets/js/highcharts/esm/modules/debugger.src.js +1 -1
- package/assets/js/highcharts/esm/modules/dependency-wheel.js +12 -1
- package/assets/js/highcharts/esm/modules/dependency-wheel.src.js +1 -1
- package/assets/js/highcharts/esm/modules/dotplot.js +11 -1
- package/assets/js/highcharts/esm/modules/dotplot.src.js +1 -1
- package/assets/js/highcharts/esm/modules/drag-panes.js +13 -1
- package/assets/js/highcharts/esm/modules/drag-panes.src.js +1 -1
- package/assets/js/highcharts/esm/modules/draggable-points.js +9 -1
- package/assets/js/highcharts/esm/modules/draggable-points.src.js +1 -1
- package/assets/js/highcharts/esm/modules/drilldown.js +13 -1
- package/assets/js/highcharts/esm/modules/drilldown.src.js +3 -1
- package/assets/js/highcharts/esm/modules/dumbbell.js +9 -1
- package/assets/js/highcharts/esm/modules/dumbbell.src.js +1 -1
- package/assets/js/highcharts/esm/modules/export-data.js +12 -1
- package/assets/js/highcharts/esm/modules/export-data.src.js +984 -798
- package/assets/js/highcharts/esm/modules/exporting.js +11 -1
- package/assets/js/highcharts/esm/modules/exporting.src.js +1373 -642
- package/assets/js/highcharts/esm/modules/flowmap.js +9 -1
- package/assets/js/highcharts/esm/modules/flowmap.src.js +1 -1
- package/assets/js/highcharts/esm/modules/full-screen.js +12 -1
- package/assets/js/highcharts/esm/modules/full-screen.src.js +3 -3
- package/assets/js/highcharts/esm/modules/funnel.js +11 -1
- package/assets/js/highcharts/esm/modules/funnel.src.js +1 -1
- package/assets/js/highcharts/esm/modules/funnel3d.js +13 -1
- package/assets/js/highcharts/esm/modules/funnel3d.src.js +1 -1
- package/assets/js/highcharts/esm/modules/gantt.js +11 -1
- package/assets/js/highcharts/esm/modules/gantt.src.js +33 -25
- package/assets/js/highcharts/esm/modules/geoheatmap.js +9 -1
- package/assets/js/highcharts/esm/modules/geoheatmap.src.js +1 -1
- package/assets/js/highcharts/esm/modules/grid-axis.js +11 -1
- package/assets/js/highcharts/esm/modules/grid-axis.src.js +1 -1
- package/assets/js/highcharts/esm/modules/heatmap.js +9 -1
- package/assets/js/highcharts/esm/modules/heatmap.src.js +2 -3
- package/assets/js/highcharts/esm/modules/heikinashi.js +12 -1
- package/assets/js/highcharts/esm/modules/heikinashi.src.js +1 -1
- package/assets/js/highcharts/esm/modules/histogram-bellcurve.js +10 -1
- package/assets/js/highcharts/esm/modules/histogram-bellcurve.src.js +1 -1
- package/assets/js/highcharts/esm/modules/hollowcandlestick.js +12 -1
- package/assets/js/highcharts/esm/modules/hollowcandlestick.src.js +1 -1
- package/assets/js/highcharts/esm/modules/item-series.js +11 -1
- package/assets/js/highcharts/esm/modules/item-series.src.js +3 -5
- package/assets/js/highcharts/esm/modules/lollipop.js +9 -1
- package/assets/js/highcharts/esm/modules/lollipop.src.js +1 -1
- package/assets/js/highcharts/esm/modules/map.js +11 -1
- package/assets/js/highcharts/esm/modules/map.src.js +5 -6
- package/assets/js/highcharts/esm/modules/marker-clusters.js +11 -1
- package/assets/js/highcharts/esm/modules/marker-clusters.src.js +1 -1
- package/assets/js/highcharts/esm/modules/mouse-wheel-zoom.js +11 -1
- package/assets/js/highcharts/esm/modules/mouse-wheel-zoom.src.js +1 -1
- package/assets/js/highcharts/esm/modules/navigator.js +11 -1
- package/assets/js/highcharts/esm/modules/navigator.src.js +10 -12
- package/assets/js/highcharts/esm/modules/networkgraph.js +11 -1
- package/assets/js/highcharts/esm/modules/networkgraph.src.js +7 -2
- package/assets/js/highcharts/esm/modules/no-data-to-display.js +12 -1
- package/assets/js/highcharts/esm/modules/no-data-to-display.src.js +1 -1
- package/assets/js/highcharts/esm/modules/non-cartesian-zoom.js +11 -0
- package/assets/js/highcharts/esm/modules/non-cartesian-zoom.src.js +374 -0
- package/assets/js/highcharts/esm/modules/offline-exporting.js +12 -1
- package/assets/js/highcharts/esm/modules/offline-exporting.src.js +334 -3360
- package/assets/js/highcharts/esm/modules/organization.js +11 -1
- package/assets/js/highcharts/esm/modules/organization.src.js +1 -1
- package/assets/js/highcharts/esm/modules/parallel-coordinates.js +11 -1
- package/assets/js/highcharts/esm/modules/parallel-coordinates.src.js +1 -1
- package/assets/js/highcharts/esm/modules/pareto.js +11 -1
- package/assets/js/highcharts/esm/modules/pareto.src.js +1 -1
- package/assets/js/highcharts/esm/modules/pathfinder.js +11 -1
- package/assets/js/highcharts/esm/modules/pathfinder.src.js +1 -1
- package/assets/js/highcharts/esm/modules/pattern-fill.js +12 -1
- package/assets/js/highcharts/esm/modules/pattern-fill.src.js +1 -1
- package/assets/js/highcharts/esm/modules/pictorial.js +11 -1
- package/assets/js/highcharts/esm/modules/pictorial.src.js +1 -1
- package/assets/js/highcharts/esm/modules/pointandfigure.js +12 -1
- package/assets/js/highcharts/esm/modules/pointandfigure.src.js +1 -1
- package/assets/js/highcharts/esm/modules/price-indicator.js +13 -1
- package/assets/js/highcharts/esm/modules/price-indicator.src.js +1 -1
- package/assets/js/highcharts/esm/modules/pyramid3d.js +14 -1
- package/assets/js/highcharts/esm/modules/pyramid3d.src.js +1 -1
- package/assets/js/highcharts/esm/modules/renko.js +12 -1
- package/assets/js/highcharts/esm/modules/renko.src.js +1 -1
- package/assets/js/highcharts/esm/modules/sankey.js +11 -1
- package/assets/js/highcharts/esm/modules/sankey.src.js +1 -1
- package/assets/js/highcharts/esm/modules/series-label.js +9 -1
- package/assets/js/highcharts/esm/modules/series-label.src.js +1 -1
- package/assets/js/highcharts/esm/modules/series-on-point.js +12 -1
- package/assets/js/highcharts/esm/modules/series-on-point.src.js +1 -1
- package/assets/js/highcharts/esm/modules/solid-gauge.js +12 -1
- package/assets/js/highcharts/esm/modules/solid-gauge.src.js +8 -3
- package/assets/js/highcharts/esm/modules/sonification.js +12 -1
- package/assets/js/highcharts/esm/modules/sonification.src.js +42 -9
- package/assets/js/highcharts/esm/modules/static-scale.js +11 -1
- package/assets/js/highcharts/esm/modules/static-scale.src.js +1 -1
- package/assets/js/highcharts/esm/modules/stock-tools.js +13 -1
- package/assets/js/highcharts/esm/modules/stock-tools.src.js +37 -116
- package/assets/js/highcharts/esm/modules/stock.js +11 -1
- package/assets/js/highcharts/esm/modules/stock.src.js +32 -24
- package/assets/js/highcharts/esm/modules/streamgraph.js +11 -1
- package/assets/js/highcharts/esm/modules/streamgraph.src.js +1 -1
- package/assets/js/highcharts/esm/modules/sunburst.js +10 -1
- package/assets/js/highcharts/esm/modules/sunburst.src.js +1 -1
- package/assets/js/highcharts/esm/modules/textpath.js +9 -1
- package/assets/js/highcharts/esm/modules/textpath.src.js +1 -1
- package/assets/js/highcharts/esm/modules/tiledwebmap.js +10 -2
- package/assets/js/highcharts/esm/modules/tiledwebmap.src.js +1 -1
- package/assets/js/highcharts/esm/modules/tilemap.js +12 -1
- package/assets/js/highcharts/esm/modules/tilemap.src.js +1 -1
- package/assets/js/highcharts/esm/modules/timeline.js +12 -1
- package/assets/js/highcharts/esm/modules/timeline.src.js +1 -1
- package/assets/js/highcharts/esm/modules/treegraph.js +11 -1
- package/assets/js/highcharts/esm/modules/treegraph.src.js +4 -2
- package/assets/js/highcharts/esm/modules/treegrid.js +11 -1
- package/assets/js/highcharts/esm/modules/treegrid.src.js +1 -1
- package/assets/js/highcharts/esm/modules/treemap.js +10 -1
- package/assets/js/highcharts/esm/modules/treemap.src.js +1 -1
- package/assets/js/highcharts/esm/modules/variable-pie.js +11 -1
- package/assets/js/highcharts/esm/modules/variable-pie.src.js +1 -1
- package/assets/js/highcharts/esm/modules/variwide.js +11 -1
- package/assets/js/highcharts/esm/modules/variwide.src.js +9 -2
- package/assets/js/highcharts/esm/modules/vector.js +11 -1
- package/assets/js/highcharts/esm/modules/vector.src.js +1 -1
- package/assets/js/highcharts/esm/modules/venn.js +10 -1
- package/assets/js/highcharts/esm/modules/venn.src.js +1 -1
- package/assets/js/highcharts/esm/modules/windbarb.js +11 -1
- package/assets/js/highcharts/esm/modules/windbarb.src.js +1 -1
- package/assets/js/highcharts/esm/modules/wordcloud.js +10 -1
- package/assets/js/highcharts/esm/modules/wordcloud.src.js +88 -11
- package/assets/js/highcharts/esm/modules/xrange.js +11 -1
- package/assets/js/highcharts/esm/modules/xrange.src.js +1 -1
- package/assets/js/highcharts/esm/standalone-navigator.js +9 -2
- package/assets/js/highcharts/esm/standalone-navigator.src.js +146 -90
- package/assets/js/highcharts/esm/themes/adaptive.js +130 -0
- package/assets/js/highcharts/esm/themes/adaptive.src.js +1069 -0
- package/assets/js/highcharts/esm/themes/avocado.js +9 -1
- package/assets/js/highcharts/esm/themes/avocado.src.js +1 -1
- package/assets/js/highcharts/esm/themes/brand-dark.js +9 -1
- package/assets/js/highcharts/esm/themes/brand-dark.src.js +1 -1
- package/assets/js/highcharts/esm/themes/brand-light.js +9 -1
- package/assets/js/highcharts/esm/themes/brand-light.src.js +1 -1
- package/assets/js/highcharts/esm/themes/dark-blue.js +9 -1
- package/assets/js/highcharts/esm/themes/dark-blue.src.js +1 -1
- package/assets/js/highcharts/esm/themes/dark-green.js +9 -1
- package/assets/js/highcharts/esm/themes/dark-green.src.js +1 -1
- package/assets/js/highcharts/esm/themes/dark-unica.js +9 -1
- package/assets/js/highcharts/esm/themes/dark-unica.src.js +1 -1
- package/assets/js/highcharts/esm/themes/gray.js +9 -1
- package/assets/js/highcharts/esm/themes/gray.src.js +1 -1
- package/assets/js/highcharts/esm/themes/grid-light.js +9 -1
- package/assets/js/highcharts/esm/themes/grid-light.src.js +1 -1
- package/assets/js/highcharts/esm/themes/grid.js +9 -1
- package/assets/js/highcharts/esm/themes/grid.src.js +1 -1
- package/assets/js/highcharts/esm/themes/high-contrast-dark.js +9 -1
- package/assets/js/highcharts/esm/themes/high-contrast-dark.src.js +1 -1
- package/assets/js/highcharts/esm/themes/high-contrast-light.js +9 -1
- package/assets/js/highcharts/esm/themes/high-contrast-light.src.js +1 -1
- package/assets/js/highcharts/esm/themes/sand-signika.js +9 -1
- package/assets/js/highcharts/esm/themes/sand-signika.src.js +1 -1
- package/assets/js/highcharts/esm/themes/skies.js +9 -1
- package/assets/js/highcharts/esm/themes/skies.src.js +1 -1
- package/assets/js/highcharts/esm/themes/sunset.js +9 -1
- package/assets/js/highcharts/esm/themes/sunset.src.js +1 -1
- package/assets/js/highcharts/highcharts-3d.js +11 -1
- package/assets/js/highcharts/highcharts-3d.src.js +3 -1
- package/assets/js/highcharts/highcharts-gantt.js +16 -2
- package/assets/js/highcharts/highcharts-gantt.src.js +173 -107
- package/assets/js/highcharts/highcharts-more.js +9 -1
- package/assets/js/highcharts/highcharts-more.src.js +44 -29
- package/assets/js/highcharts/highcharts.js +9 -2
- package/assets/js/highcharts/highcharts.src.js +138 -80
- package/assets/js/highcharts/highmaps.js +16 -2
- package/assets/js/highcharts/highmaps.src.js +145 -88
- package/assets/js/highcharts/highstock.js +16 -2
- package/assets/js/highcharts/highstock.src.js +172 -106
- package/assets/js/highcharts/i18n/fr-FR.js +13 -1
- package/assets/js/highcharts/i18n/fr-FR.src.js +8 -8
- package/assets/js/highcharts/i18n/nb-NO.js +13 -1
- package/assets/js/highcharts/i18n/nb-NO.src.js +8 -8
- package/assets/js/highcharts/i18n/zh-CN.js +13 -1
- package/assets/js/highcharts/i18n/zh-CN.src.js +8 -8
- package/assets/js/highcharts/indicators/acceleration-bands.js +12 -1
- package/assets/js/highcharts/indicators/acceleration-bands.src.js +1 -1
- package/assets/js/highcharts/indicators/accumulation-distribution.js +12 -1
- package/assets/js/highcharts/indicators/accumulation-distribution.src.js +1 -1
- package/assets/js/highcharts/indicators/ao.js +12 -1
- package/assets/js/highcharts/indicators/ao.src.js +1 -1
- package/assets/js/highcharts/indicators/apo.js +12 -1
- package/assets/js/highcharts/indicators/apo.src.js +1 -1
- package/assets/js/highcharts/indicators/aroon-oscillator.js +12 -1
- package/assets/js/highcharts/indicators/aroon-oscillator.src.js +1 -1
- package/assets/js/highcharts/indicators/aroon.js +12 -1
- package/assets/js/highcharts/indicators/aroon.src.js +1 -1
- package/assets/js/highcharts/indicators/atr.js +12 -1
- package/assets/js/highcharts/indicators/atr.src.js +1 -1
- package/assets/js/highcharts/indicators/bollinger-bands.js +12 -1
- package/assets/js/highcharts/indicators/bollinger-bands.src.js +1 -1
- package/assets/js/highcharts/indicators/cci.js +12 -1
- package/assets/js/highcharts/indicators/cci.src.js +1 -1
- package/assets/js/highcharts/indicators/chaikin.js +12 -1
- package/assets/js/highcharts/indicators/chaikin.src.js +1 -1
- package/assets/js/highcharts/indicators/cmf.js +11 -1
- package/assets/js/highcharts/indicators/cmf.src.js +1 -1
- package/assets/js/highcharts/indicators/cmo.js +12 -1
- package/assets/js/highcharts/indicators/cmo.src.js +1 -1
- package/assets/js/highcharts/indicators/dema.js +12 -1
- package/assets/js/highcharts/indicators/dema.src.js +1 -1
- package/assets/js/highcharts/indicators/disparity-index.js +12 -1
- package/assets/js/highcharts/indicators/disparity-index.src.js +1 -1
- package/assets/js/highcharts/indicators/dmi.js +12 -1
- package/assets/js/highcharts/indicators/dmi.src.js +1 -1
- package/assets/js/highcharts/indicators/dpo.js +12 -1
- package/assets/js/highcharts/indicators/dpo.src.js +1 -1
- package/assets/js/highcharts/indicators/ema.src.js +3 -3
- package/assets/js/highcharts/indicators/ichimoku-kinko-hyo.js +12 -1
- package/assets/js/highcharts/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/assets/js/highcharts/indicators/indicators-all.js +12 -1
- package/assets/js/highcharts/indicators/indicators-all.src.js +1 -1
- package/assets/js/highcharts/indicators/indicators.js +12 -1
- package/assets/js/highcharts/indicators/indicators.src.js +1 -1
- package/assets/js/highcharts/indicators/keltner-channels.js +12 -1
- package/assets/js/highcharts/indicators/keltner-channels.src.js +1 -1
- package/assets/js/highcharts/indicators/klinger.js +12 -1
- package/assets/js/highcharts/indicators/klinger.src.js +1 -1
- package/assets/js/highcharts/indicators/macd.js +12 -1
- package/assets/js/highcharts/indicators/macd.src.js +1 -1
- package/assets/js/highcharts/indicators/mfi.js +12 -1
- package/assets/js/highcharts/indicators/mfi.src.js +1 -1
- package/assets/js/highcharts/indicators/momentum.js +12 -1
- package/assets/js/highcharts/indicators/momentum.src.js +1 -1
- package/assets/js/highcharts/indicators/natr.js +12 -1
- package/assets/js/highcharts/indicators/natr.src.js +1 -1
- package/assets/js/highcharts/indicators/obv.js +12 -1
- package/assets/js/highcharts/indicators/obv.src.js +1 -1
- package/assets/js/highcharts/indicators/pivot-points.js +12 -1
- package/assets/js/highcharts/indicators/pivot-points.src.js +1 -1
- package/assets/js/highcharts/indicators/ppo.js +12 -1
- package/assets/js/highcharts/indicators/ppo.src.js +1 -1
- package/assets/js/highcharts/indicators/price-channel.js +12 -1
- package/assets/js/highcharts/indicators/price-channel.src.js +1 -1
- package/assets/js/highcharts/indicators/price-envelopes.js +12 -1
- package/assets/js/highcharts/indicators/price-envelopes.src.js +1 -1
- package/assets/js/highcharts/indicators/psar.js +12 -1
- package/assets/js/highcharts/indicators/psar.src.js +1 -1
- package/assets/js/highcharts/indicators/regressions.js +12 -1
- package/assets/js/highcharts/indicators/regressions.src.js +1 -1
- package/assets/js/highcharts/indicators/roc.js +12 -1
- package/assets/js/highcharts/indicators/roc.src.js +1 -1
- package/assets/js/highcharts/indicators/rsi.js +12 -1
- package/assets/js/highcharts/indicators/rsi.src.js +1 -1
- package/assets/js/highcharts/indicators/slow-stochastic.js +12 -1
- package/assets/js/highcharts/indicators/slow-stochastic.src.js +1 -1
- package/assets/js/highcharts/indicators/stochastic.js +12 -1
- package/assets/js/highcharts/indicators/stochastic.src.js +1 -1
- package/assets/js/highcharts/indicators/supertrend.js +12 -1
- package/assets/js/highcharts/indicators/supertrend.src.js +1 -1
- package/assets/js/highcharts/indicators/tema.js +12 -1
- package/assets/js/highcharts/indicators/tema.src.js +1 -1
- package/assets/js/highcharts/indicators/trendline.js +12 -1
- package/assets/js/highcharts/indicators/trendline.src.js +1 -1
- package/assets/js/highcharts/indicators/trix.js +12 -1
- package/assets/js/highcharts/indicators/trix.src.js +1 -1
- package/assets/js/highcharts/indicators/volume-by-price.js +12 -1
- package/assets/js/highcharts/indicators/volume-by-price.src.js +1 -1
- package/assets/js/highcharts/indicators/vwap.js +12 -1
- package/assets/js/highcharts/indicators/vwap.src.js +1 -1
- package/assets/js/highcharts/indicators/williams-r.js +12 -1
- package/assets/js/highcharts/indicators/williams-r.src.js +1 -1
- package/assets/js/highcharts/indicators/wma.js +12 -1
- package/assets/js/highcharts/indicators/wma.src.js +1 -1
- package/assets/js/highcharts/indicators/zigzag.js +12 -1
- package/assets/js/highcharts/indicators/zigzag.src.js +1 -1
- package/assets/js/highcharts/modules/accessibility.js +12 -1
- package/assets/js/highcharts/modules/accessibility.src.js +46 -43
- package/assets/js/highcharts/modules/annotations-advanced.js +21 -1
- package/assets/js/highcharts/modules/annotations-advanced.src.js +879 -788
- package/assets/js/highcharts/modules/annotations.js +11 -1
- package/assets/js/highcharts/modules/annotations.src.js +89 -40
- package/assets/js/highcharts/modules/arc-diagram.js +11 -1
- package/assets/js/highcharts/modules/arc-diagram.src.js +1 -1
- package/assets/js/highcharts/modules/arrow-symbols.js +11 -1
- package/assets/js/highcharts/modules/arrow-symbols.src.js +1 -1
- package/assets/js/highcharts/modules/boost-canvas.js +12 -1
- package/assets/js/highcharts/modules/boost-canvas.src.js +23 -4
- package/assets/js/highcharts/modules/boost.js +13 -1
- package/assets/js/highcharts/modules/boost.src.js +23 -4
- package/assets/js/highcharts/modules/broken-axis.js +9 -1
- package/assets/js/highcharts/modules/broken-axis.src.js +1 -1
- package/assets/js/highcharts/modules/bullet.js +11 -1
- package/assets/js/highcharts/modules/bullet.src.js +1 -1
- package/assets/js/highcharts/modules/coloraxis.js +11 -1
- package/assets/js/highcharts/modules/coloraxis.src.js +1 -1
- package/assets/js/highcharts/modules/current-date-indicator.js +11 -1
- package/assets/js/highcharts/modules/current-date-indicator.src.js +1 -1
- package/assets/js/highcharts/modules/cylinder.js +12 -1
- package/assets/js/highcharts/modules/cylinder.src.js +1 -1
- package/assets/js/highcharts/modules/data-tools.js +11 -1
- package/assets/js/highcharts/modules/data-tools.src.js +225 -69
- package/assets/js/highcharts/modules/data.js +11 -1
- package/assets/js/highcharts/modules/data.src.js +46 -39
- package/assets/js/highcharts/modules/datagrouping.js +11 -1
- package/assets/js/highcharts/modules/datagrouping.src.js +1 -1
- package/assets/js/highcharts/modules/debugger.js +11 -1
- package/assets/js/highcharts/modules/debugger.src.js +1 -1
- package/assets/js/highcharts/modules/dependency-wheel.js +12 -1
- package/assets/js/highcharts/modules/dependency-wheel.src.js +1 -1
- package/assets/js/highcharts/modules/dotplot.js +11 -1
- package/assets/js/highcharts/modules/dotplot.src.js +1 -1
- package/assets/js/highcharts/modules/drag-panes.js +13 -1
- package/assets/js/highcharts/modules/drag-panes.src.js +1 -1
- package/assets/js/highcharts/modules/draggable-points.js +9 -1
- package/assets/js/highcharts/modules/draggable-points.src.js +1 -1
- package/assets/js/highcharts/modules/drilldown.js +13 -1
- package/assets/js/highcharts/modules/drilldown.src.js +3 -1
- package/assets/js/highcharts/modules/dumbbell.js +9 -1
- package/assets/js/highcharts/modules/dumbbell.src.js +1 -1
- package/assets/js/highcharts/modules/export-data.js +12 -1
- package/assets/js/highcharts/modules/export-data.src.js +996 -803
- package/assets/js/highcharts/modules/exporting.js +11 -1
- package/assets/js/highcharts/modules/exporting.src.js +1372 -636
- package/assets/js/highcharts/modules/flowmap.js +9 -1
- package/assets/js/highcharts/modules/flowmap.src.js +1 -1
- package/assets/js/highcharts/modules/full-screen.js +12 -1
- package/assets/js/highcharts/modules/full-screen.src.js +3 -3
- package/assets/js/highcharts/modules/funnel.js +11 -1
- package/assets/js/highcharts/modules/funnel.src.js +1 -1
- package/assets/js/highcharts/modules/funnel3d.js +13 -1
- package/assets/js/highcharts/modules/funnel3d.src.js +1 -1
- package/assets/js/highcharts/modules/gantt.js +31 -1
- package/assets/js/highcharts/modules/gantt.src.js +36 -28
- package/assets/js/highcharts/modules/geoheatmap.js +9 -1
- package/assets/js/highcharts/modules/geoheatmap.src.js +1 -1
- package/assets/js/highcharts/modules/grid-axis.js +11 -1
- package/assets/js/highcharts/modules/grid-axis.src.js +1 -1
- package/assets/js/highcharts/modules/heatmap.js +19 -1
- package/assets/js/highcharts/modules/heatmap.src.js +3 -4
- package/assets/js/highcharts/modules/heikinashi.js +12 -1
- package/assets/js/highcharts/modules/heikinashi.src.js +1 -1
- package/assets/js/highcharts/modules/histogram-bellcurve.js +10 -1
- package/assets/js/highcharts/modules/histogram-bellcurve.src.js +1 -1
- package/assets/js/highcharts/modules/hollowcandlestick.js +12 -1
- package/assets/js/highcharts/modules/hollowcandlestick.src.js +1 -1
- package/assets/js/highcharts/modules/item-series.js +11 -1
- package/assets/js/highcharts/modules/item-series.src.js +3 -5
- package/assets/js/highcharts/modules/lollipop.js +9 -1
- package/assets/js/highcharts/modules/lollipop.src.js +1 -1
- package/assets/js/highcharts/modules/map.js +21 -1
- package/assets/js/highcharts/modules/map.src.js +6 -7
- package/assets/js/highcharts/modules/marker-clusters.js +11 -1
- package/assets/js/highcharts/modules/marker-clusters.src.js +1 -1
- package/assets/js/highcharts/modules/mouse-wheel-zoom.js +11 -1
- package/assets/js/highcharts/modules/mouse-wheel-zoom.src.js +1 -1
- package/assets/js/highcharts/modules/navigator.js +11 -1
- package/assets/js/highcharts/modules/navigator.src.js +10 -12
- package/assets/js/highcharts/modules/networkgraph.js +11 -1
- package/assets/js/highcharts/modules/networkgraph.src.js +7 -2
- package/assets/js/highcharts/modules/no-data-to-display.js +12 -1
- package/assets/js/highcharts/modules/no-data-to-display.src.js +1 -1
- package/assets/js/highcharts/modules/non-cartesian-zoom.js +11 -0
- package/assets/js/highcharts/modules/non-cartesian-zoom.src.js +427 -0
- package/assets/js/highcharts/modules/offline-exporting.js +12 -1
- package/assets/js/highcharts/modules/offline-exporting.src.js +353 -3380
- package/assets/js/highcharts/modules/organization.js +11 -1
- package/assets/js/highcharts/modules/organization.src.js +1 -1
- package/assets/js/highcharts/modules/parallel-coordinates.js +11 -1
- package/assets/js/highcharts/modules/parallel-coordinates.src.js +1 -1
- package/assets/js/highcharts/modules/pareto.js +11 -1
- package/assets/js/highcharts/modules/pareto.src.js +1 -1
- package/assets/js/highcharts/modules/pathfinder.js +11 -1
- package/assets/js/highcharts/modules/pathfinder.src.js +1 -1
- package/assets/js/highcharts/modules/pattern-fill.js +12 -1
- package/assets/js/highcharts/modules/pattern-fill.src.js +1 -1
- package/assets/js/highcharts/modules/pictorial.js +11 -1
- package/assets/js/highcharts/modules/pictorial.src.js +1 -1
- package/assets/js/highcharts/modules/pointandfigure.js +12 -1
- package/assets/js/highcharts/modules/pointandfigure.src.js +1 -1
- package/assets/js/highcharts/modules/price-indicator.js +13 -1
- package/assets/js/highcharts/modules/price-indicator.src.js +1 -1
- package/assets/js/highcharts/modules/pyramid3d.js +14 -1
- package/assets/js/highcharts/modules/pyramid3d.src.js +1 -1
- package/assets/js/highcharts/modules/renko.js +12 -1
- package/assets/js/highcharts/modules/renko.src.js +1 -1
- package/assets/js/highcharts/modules/sankey.js +11 -1
- package/assets/js/highcharts/modules/sankey.src.js +1 -1
- package/assets/js/highcharts/modules/series-label.js +9 -1
- package/assets/js/highcharts/modules/series-label.src.js +1 -1
- package/assets/js/highcharts/modules/series-on-point.js +12 -1
- package/assets/js/highcharts/modules/series-on-point.src.js +1 -1
- package/assets/js/highcharts/modules/solid-gauge.js +12 -1
- package/assets/js/highcharts/modules/solid-gauge.src.js +8 -3
- package/assets/js/highcharts/modules/sonification.js +12 -1
- package/assets/js/highcharts/modules/sonification.src.js +42 -9
- package/assets/js/highcharts/modules/static-scale.js +11 -1
- package/assets/js/highcharts/modules/static-scale.src.js +1 -1
- package/assets/js/highcharts/modules/stock-tools.js +13 -1
- package/assets/js/highcharts/modules/stock-tools.src.js +37 -116
- package/assets/js/highcharts/modules/stock.js +29 -1
- package/assets/js/highcharts/modules/stock.src.js +35 -27
- package/assets/js/highcharts/modules/streamgraph.js +11 -1
- package/assets/js/highcharts/modules/streamgraph.src.js +1 -1
- package/assets/js/highcharts/modules/sunburst.js +10 -1
- package/assets/js/highcharts/modules/sunburst.src.js +1 -1
- package/assets/js/highcharts/modules/textpath.js +9 -1
- package/assets/js/highcharts/modules/textpath.src.js +1 -1
- package/assets/js/highcharts/modules/tiledwebmap.js +10 -2
- package/assets/js/highcharts/modules/tiledwebmap.src.js +1 -1
- package/assets/js/highcharts/modules/tilemap.js +12 -1
- package/assets/js/highcharts/modules/tilemap.src.js +1 -1
- package/assets/js/highcharts/modules/timeline.js +12 -1
- package/assets/js/highcharts/modules/timeline.src.js +1 -1
- package/assets/js/highcharts/modules/treegraph.js +11 -1
- package/assets/js/highcharts/modules/treegraph.src.js +4 -2
- package/assets/js/highcharts/modules/treegrid.js +11 -1
- package/assets/js/highcharts/modules/treegrid.src.js +1 -1
- package/assets/js/highcharts/modules/treemap.js +10 -1
- package/assets/js/highcharts/modules/treemap.src.js +1 -1
- package/assets/js/highcharts/modules/variable-pie.js +11 -1
- package/assets/js/highcharts/modules/variable-pie.src.js +1 -1
- package/assets/js/highcharts/modules/variwide.js +11 -1
- package/assets/js/highcharts/modules/variwide.src.js +9 -2
- package/assets/js/highcharts/modules/vector.js +11 -1
- package/assets/js/highcharts/modules/vector.src.js +1 -1
- package/assets/js/highcharts/modules/venn.js +10 -1
- package/assets/js/highcharts/modules/venn.src.js +1 -1
- package/assets/js/highcharts/modules/windbarb.js +11 -1
- package/assets/js/highcharts/modules/windbarb.src.js +1 -1
- package/assets/js/highcharts/modules/wordcloud.js +10 -1
- package/assets/js/highcharts/modules/wordcloud.src.js +88 -11
- package/assets/js/highcharts/modules/xrange.js +11 -1
- package/assets/js/highcharts/modules/xrange.src.js +1 -1
- package/assets/js/highcharts/standalone-navigator.js +9 -2
- package/assets/js/highcharts/standalone-navigator.src.js +146 -90
- package/assets/js/highcharts/themes/adaptive.js +130 -0
- package/assets/js/highcharts/themes/adaptive.src.js +1122 -0
- package/assets/js/highcharts/themes/avocado.js +9 -1
- package/assets/js/highcharts/themes/avocado.src.js +1 -1
- package/assets/js/highcharts/themes/brand-dark.js +9 -1
- package/assets/js/highcharts/themes/brand-dark.src.js +1 -1
- package/assets/js/highcharts/themes/brand-light.js +9 -1
- package/assets/js/highcharts/themes/brand-light.src.js +1 -1
- package/assets/js/highcharts/themes/dark-blue.js +9 -1
- package/assets/js/highcharts/themes/dark-blue.src.js +1 -1
- package/assets/js/highcharts/themes/dark-green.js +9 -1
- package/assets/js/highcharts/themes/dark-green.src.js +1 -1
- package/assets/js/highcharts/themes/dark-unica.js +9 -1
- package/assets/js/highcharts/themes/dark-unica.src.js +1 -1
- package/assets/js/highcharts/themes/gray.js +9 -1
- package/assets/js/highcharts/themes/gray.src.js +1 -1
- package/assets/js/highcharts/themes/grid-light.js +9 -1
- package/assets/js/highcharts/themes/grid-light.src.js +1 -1
- package/assets/js/highcharts/themes/grid.js +9 -1
- package/assets/js/highcharts/themes/grid.src.js +1 -1
- package/assets/js/highcharts/themes/high-contrast-dark.js +9 -1
- package/assets/js/highcharts/themes/high-contrast-dark.src.js +1 -1
- package/assets/js/highcharts/themes/high-contrast-light.js +9 -1
- package/assets/js/highcharts/themes/high-contrast-light.src.js +1 -1
- package/assets/js/highcharts/themes/sand-signika.js +9 -1
- package/assets/js/highcharts/themes/sand-signika.src.js +1 -1
- package/assets/js/highcharts/themes/skies.js +9 -1
- package/assets/js/highcharts/themes/skies.src.js +1 -1
- package/assets/js/highcharts/themes/sunset.js +9 -1
- package/assets/js/highcharts/themes/sunset.src.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Highcharts JS v12.
|
|
2
|
+
* @license Highcharts JS v12.3.0 (2025-06-21)
|
|
3
3
|
* @module highcharts/modules/annotations
|
|
4
4
|
* @requires highcharts
|
|
5
5
|
*
|
|
@@ -130,7 +130,7 @@ var highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default
|
|
|
130
130
|
* */
|
|
131
131
|
|
|
132
132
|
|
|
133
|
-
const { addEvent, erase, find, fireEvent, pick, wrap } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());
|
|
133
|
+
const { addEvent, erase, find, fireEvent, isArray, isObject, pick, wrap } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());
|
|
134
134
|
/* *
|
|
135
135
|
*
|
|
136
136
|
* Functions
|
|
@@ -338,11 +338,15 @@ function chartRemoveAnnotation(idOrAnnotation) {
|
|
|
338
338
|
* @private
|
|
339
339
|
*/
|
|
340
340
|
function onChartAfterInit() {
|
|
341
|
-
const chart = this;
|
|
341
|
+
const chart = this, annotationsOption = this.options.annotations, annotationsUserOption = this.userOptions.annotations;
|
|
342
342
|
chart.annotations = [];
|
|
343
|
-
if (!this.options.annotations) {
|
|
343
|
+
if (!isArray(this.options.annotations)) {
|
|
344
344
|
this.options.annotations = [];
|
|
345
345
|
}
|
|
346
|
+
if (isObject(annotationsUserOption, true) &&
|
|
347
|
+
isObject(annotationsOption, true)) {
|
|
348
|
+
this.options.annotations.push(annotationsOption);
|
|
349
|
+
}
|
|
346
350
|
}
|
|
347
351
|
/**
|
|
348
352
|
* @private
|
|
@@ -413,20 +417,25 @@ const { defined } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Hi
|
|
|
413
417
|
*
|
|
414
418
|
* */
|
|
415
419
|
/**
|
|
416
|
-
* A
|
|
417
|
-
* or shapes. The items can be tied to points, axis
|
|
418
|
-
* or chart pixel coordinates.
|
|
419
|
-
*
|
|
420
|
-
*
|
|
421
|
-
*
|
|
422
|
-
*
|
|
423
|
-
*
|
|
424
|
-
*
|
|
425
|
-
*
|
|
426
|
-
*
|
|
427
|
-
*
|
|
420
|
+
* A collection of annotations to add to the chart. The basic annotation allows
|
|
421
|
+
* adding custom labels or shapes. The items can be tied to points, axis
|
|
422
|
+
* coordinates or chart pixel coordinates.
|
|
423
|
+
*
|
|
424
|
+
* General options for all annotations can be set using the
|
|
425
|
+
* `Highcharts.setOptions` function. In this case only single objects are
|
|
426
|
+
* supported, because it alters the defaults for all items. For initialization
|
|
427
|
+
* in the chart constructors however, arrays of annotations are supported.
|
|
428
|
+
*
|
|
429
|
+
* See more in the [general docs](https://www.highcharts.com/docs/advanced-chart-features/annotations).
|
|
430
|
+
*
|
|
431
|
+
* @sample highcharts/annotations/basic/ Basic annotations
|
|
432
|
+
* @sample highcharts/demo/annotations/ Annotated chart
|
|
433
|
+
* @sample highcharts/css/annotations Styled mode
|
|
434
|
+
* @sample highcharts/annotations-advanced/controllable Controllable items
|
|
428
435
|
* @sample {highstock} stock/annotations/fibonacci-retracements
|
|
429
436
|
* Custom annotation, Fibonacci retracement
|
|
437
|
+
* @sample highcharts/annotations/shape/
|
|
438
|
+
* Themed crooked line annotation
|
|
430
439
|
*
|
|
431
440
|
* @type {Array<*>}
|
|
432
441
|
* @since 6.0.0
|
|
@@ -442,6 +451,17 @@ const AnnotationDefaults = {
|
|
|
442
451
|
* @type {number|string}
|
|
443
452
|
* @apioption annotations.id
|
|
444
453
|
*/
|
|
454
|
+
/**
|
|
455
|
+
* For advanced annotations, this option defines the type of annotation. Can
|
|
456
|
+
* be one of the keys listed under the [types option](#annotations.types).
|
|
457
|
+
*
|
|
458
|
+
* @sample highcharts/annotations-advanced/crooked-line
|
|
459
|
+
* Crooked line annotation
|
|
460
|
+
* @requires modules/annotations-advanced
|
|
461
|
+
* @product highstock
|
|
462
|
+
* @type {string}
|
|
463
|
+
* @apioption annotations.type
|
|
464
|
+
*/
|
|
445
465
|
/**
|
|
446
466
|
* Whether the annotation is visible.
|
|
447
467
|
*
|
|
@@ -1024,11 +1044,21 @@ const AnnotationDefaults = {
|
|
|
1024
1044
|
* @requires modules/annotations
|
|
1025
1045
|
*/
|
|
1026
1046
|
events: {},
|
|
1047
|
+
/**
|
|
1048
|
+
* Option override for specific advanced annotation types. This collection
|
|
1049
|
+
* is intended for general theming using `Highcharts.setOptions()`.
|
|
1050
|
+
*
|
|
1051
|
+
* @sample highcharts/annotations/shape/
|
|
1052
|
+
* Themed crooked line annotation
|
|
1053
|
+
* @product highstock
|
|
1054
|
+
* @requires modules/annotations-advanced
|
|
1055
|
+
*/
|
|
1056
|
+
types: {},
|
|
1027
1057
|
/**
|
|
1028
1058
|
* The Z index of the annotation.
|
|
1029
1059
|
*/
|
|
1030
1060
|
zIndex: 6
|
|
1031
|
-
};
|
|
1061
|
+
};
|
|
1032
1062
|
/* *
|
|
1033
1063
|
*
|
|
1034
1064
|
* Default Export
|
|
@@ -3464,15 +3494,22 @@ class ControllableLabel extends Controllables_Controllable {
|
|
|
3464
3494
|
labelOptions[this.collection][this.index].y = this.options.y;
|
|
3465
3495
|
}
|
|
3466
3496
|
render(parent) {
|
|
3467
|
-
const options = this.options, attrs = this.attrsFromOptions(options), style = options.style
|
|
3497
|
+
const options = this.options, attrs = this.attrsFromOptions(options), style = options.style, optionsChart = this.annotation.chart.options.chart, chartBackground = optionsChart.plotBackgroundColor ||
|
|
3498
|
+
optionsChart.backgroundColor;
|
|
3468
3499
|
this.graphic = this.annotation.chart.renderer
|
|
3469
3500
|
.label('', 0, -9999, // #10055
|
|
3470
|
-
options.shape,
|
|
3501
|
+
options.shape, void 0, void 0, options.useHTML, void 0, 'annotation-label')
|
|
3471
3502
|
.attr(attrs)
|
|
3472
3503
|
.add(parent);
|
|
3473
3504
|
if (!this.annotation.chart.styledMode) {
|
|
3474
3505
|
if (style.color === 'contrast') {
|
|
3475
|
-
|
|
3506
|
+
const background = (ControllableLabel.shapesWithoutBackground.indexOf(options.shape) > -1 ||
|
|
3507
|
+
options.backgroundColor === 'none') ?
|
|
3508
|
+
chartBackground :
|
|
3509
|
+
options.backgroundColor;
|
|
3510
|
+
style.color = this.annotation.chart.renderer.getContrast(typeof background === 'string' ? background :
|
|
3511
|
+
typeof chartBackground === 'string' ? chartBackground :
|
|
3512
|
+
'#ffffff');
|
|
3476
3513
|
}
|
|
3477
3514
|
this.graphic
|
|
3478
3515
|
.css(options.style)
|
|
@@ -3781,9 +3818,12 @@ class BaseForm {
|
|
|
3781
3818
|
const popup = this, iconsURL = this.iconsURL;
|
|
3782
3819
|
// Create close popup button.
|
|
3783
3820
|
const closeButton = createElement('button', { className }, void 0, this.container);
|
|
3784
|
-
|
|
3785
|
-
|
|
3786
|
-
|
|
3821
|
+
createElement('span', {
|
|
3822
|
+
className: 'highcharts-icon'
|
|
3823
|
+
}, {
|
|
3824
|
+
backgroundImage: 'url(' + (iconsURL.match(/png|svg|jpeg|jpg|gif/ig) ?
|
|
3825
|
+
iconsURL : iconsURL + 'close.svg') + ')'
|
|
3826
|
+
}, closeButton);
|
|
3787
3827
|
['click', 'touchstart'].forEach((eventName) => {
|
|
3788
3828
|
BaseForm_addEvent(closeButton, eventName, popup.closeButtonEvents.bind(popup));
|
|
3789
3829
|
});
|
|
@@ -3854,7 +3894,7 @@ class BaseForm {
|
|
|
3854
3894
|
|
|
3855
3895
|
const { doc: PopupAnnotations_doc, isFirefox } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());
|
|
3856
3896
|
|
|
3857
|
-
const { createElement: PopupAnnotations_createElement, isArray, isObject, objectEach: PopupAnnotations_objectEach, pick: PopupAnnotations_pick, stableSort } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());
|
|
3897
|
+
const { createElement: PopupAnnotations_createElement, isArray: PopupAnnotations_isArray, isObject: PopupAnnotations_isObject, objectEach: PopupAnnotations_objectEach, pick: PopupAnnotations_pick, stableSort } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());
|
|
3858
3898
|
/* *
|
|
3859
3899
|
*
|
|
3860
3900
|
* Functions
|
|
@@ -3928,12 +3968,18 @@ function addToolbar(chart, options, callback) {
|
|
|
3928
3968
|
showForm.call(this, 'annotation-edit', chart, options, callback);
|
|
3929
3969
|
});
|
|
3930
3970
|
button.className += ' highcharts-annotation-edit-button';
|
|
3931
|
-
|
|
3932
|
-
|
|
3971
|
+
PopupAnnotations_createElement('span', {
|
|
3972
|
+
className: 'highcharts-icon'
|
|
3973
|
+
}, {
|
|
3974
|
+
backgroundImage: `url(${this.iconsURL}edit.svg)`
|
|
3975
|
+
}, button);
|
|
3933
3976
|
button = this.addButton(popupDiv, lang.removeButton || 'Remove', 'remove', popupDiv, callback);
|
|
3934
3977
|
button.className += ' highcharts-annotation-remove-button';
|
|
3935
|
-
|
|
3936
|
-
|
|
3978
|
+
PopupAnnotations_createElement('span', {
|
|
3979
|
+
className: 'highcharts-icon'
|
|
3980
|
+
}, {
|
|
3981
|
+
backgroundImage: `url(${this.iconsURL}destroy.svg)`
|
|
3982
|
+
}, button);
|
|
3937
3983
|
}
|
|
3938
3984
|
/**
|
|
3939
3985
|
* Create annotation's form fields.
|
|
@@ -3960,12 +4006,12 @@ function addFormFields(parentDiv, chart, parentNode, options, storage, isRoot) {
|
|
|
3960
4006
|
PopupAnnotations_objectEach(options, (value, option) => {
|
|
3961
4007
|
// Create name like params.styles.fontSize
|
|
3962
4008
|
parentFullName = parentNode !== '' ? parentNode + '.' + option : option;
|
|
3963
|
-
if (
|
|
4009
|
+
if (PopupAnnotations_isObject(value)) {
|
|
3964
4010
|
if (
|
|
3965
4011
|
// Value is object of options
|
|
3966
|
-
!
|
|
4012
|
+
!PopupAnnotations_isArray(value) ||
|
|
3967
4013
|
// Array of objects with params. i.e labels in Fibonacci
|
|
3968
|
-
(
|
|
4014
|
+
(PopupAnnotations_isArray(value) && PopupAnnotations_isObject(value[0]))) {
|
|
3969
4015
|
titleName = lang[option] || option;
|
|
3970
4016
|
if (!titleName.match(/\d/g)) {
|
|
3971
4017
|
storage.push([
|
|
@@ -5056,7 +5102,7 @@ function onNavigationBindingsShowPopup(config) {
|
|
|
5056
5102
|
this.popup = new Popup_Popup(this.chart.container, (this.chart.options.navigation.iconsURL ||
|
|
5057
5103
|
(this.chart.options.stockTools &&
|
|
5058
5104
|
this.chart.options.stockTools.gui.iconsURL) ||
|
|
5059
|
-
'https://code.highcharts.com/12.
|
|
5105
|
+
'https://code.highcharts.com/12.3.0/gfx/stock-icons/'), this.chart);
|
|
5060
5106
|
}
|
|
5061
5107
|
this.popup.showForm(config.formType, this.chart, config.options, config.onSubmit);
|
|
5062
5108
|
}
|
|
@@ -5105,6 +5151,8 @@ const { getDeferredAnimation } = (highcharts_commonjs_highcharts_commonjs2_highc
|
|
|
5105
5151
|
|
|
5106
5152
|
|
|
5107
5153
|
|
|
5154
|
+
const { defaultOptions } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());
|
|
5155
|
+
|
|
5108
5156
|
|
|
5109
5157
|
|
|
5110
5158
|
|
|
@@ -5235,7 +5283,7 @@ class Annotation extends Annotations_EventEmitter {
|
|
|
5235
5283
|
* @name Highcharts.Annotation#options
|
|
5236
5284
|
* @type {Highcharts.AnnotationsOptions}
|
|
5237
5285
|
*/
|
|
5238
|
-
this.
|
|
5286
|
+
this.setOptions(userOptions);
|
|
5239
5287
|
/**
|
|
5240
5288
|
* The user options for the annotations.
|
|
5241
5289
|
*
|
|
@@ -5576,7 +5624,12 @@ class Annotation extends Annotations_EventEmitter {
|
|
|
5576
5624
|
* User options for an annotation
|
|
5577
5625
|
*/
|
|
5578
5626
|
setOptions(userOptions) {
|
|
5579
|
-
this.options = Annotation_merge(
|
|
5627
|
+
this.options = Annotation_merge(
|
|
5628
|
+
// Shared for all annotation types
|
|
5629
|
+
this.defaultOptions,
|
|
5630
|
+
// The static typeOptions from the class
|
|
5631
|
+
(userOptions.type &&
|
|
5632
|
+
this.defaultOptions.types[userOptions.type]) || {}, userOptions);
|
|
5580
5633
|
}
|
|
5581
5634
|
/**
|
|
5582
5635
|
* Set the annotation's visibility.
|
|
@@ -5628,11 +5681,6 @@ class Annotation extends Annotations_EventEmitter {
|
|
|
5628
5681
|
this.isUpdating = false;
|
|
5629
5682
|
}
|
|
5630
5683
|
}
|
|
5631
|
-
/* *
|
|
5632
|
-
*
|
|
5633
|
-
* Static Properties
|
|
5634
|
-
*
|
|
5635
|
-
* */
|
|
5636
5684
|
/**
|
|
5637
5685
|
* @private
|
|
5638
5686
|
*/
|
|
@@ -5660,6 +5708,7 @@ Annotation.shapesMap = {
|
|
|
5660
5708
|
*/
|
|
5661
5709
|
Annotation.types = {};
|
|
5662
5710
|
Annotation.prototype.defaultOptions = Annotations_AnnotationDefaults;
|
|
5711
|
+
defaultOptions.annotations = Annotations_AnnotationDefaults;
|
|
5663
5712
|
/**
|
|
5664
5713
|
* List of events for `annotation.options.events` that should not be
|
|
5665
5714
|
* added to `annotation.graphic` but to the `annotation`.
|
|
@@ -6238,7 +6287,7 @@ const navigation = {
|
|
|
6238
6287
|
* from a different server.
|
|
6239
6288
|
*
|
|
6240
6289
|
* @type {string}
|
|
6241
|
-
* @default https://code.highcharts.com/12.
|
|
6290
|
+
* @default https://code.highcharts.com/12.3.0/gfx/stock-icons/
|
|
6242
6291
|
* @since 7.1.3
|
|
6243
6292
|
* @apioption navigation.iconsURL
|
|
6244
6293
|
*/
|
|
@@ -7170,8 +7219,6 @@ G.Annotation.compose(G.Chart, G.NavigationBindings, G.Pointer, G.SVGRenderer);
|
|
|
7170
7219
|
|
|
7171
7220
|
|
|
7172
7221
|
|
|
7173
|
-
|
|
7174
|
-
const { merge: BasicAnnotation_merge } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());
|
|
7175
7222
|
/* *
|
|
7176
7223
|
*
|
|
7177
7224
|
* Class
|
|
@@ -7378,7 +7425,6 @@ BasicAnnotation.basicControlPoints = {
|
|
|
7378
7425
|
}
|
|
7379
7426
|
}]
|
|
7380
7427
|
};
|
|
7381
|
-
BasicAnnotation.prototype.defaultOptions = BasicAnnotation_merge(Annotations_Annotation.prototype.defaultOptions, {});
|
|
7382
7428
|
Annotations_Annotation.types.basicAnnotation = BasicAnnotation;
|
|
7383
7429
|
/* *
|
|
7384
7430
|
*
|
|
@@ -7397,8 +7443,105 @@ Annotations_Annotation.types.basicAnnotation = BasicAnnotation;
|
|
|
7397
7443
|
|
|
7398
7444
|
|
|
7399
7445
|
|
|
7446
|
+
const { defaultOptions: CrookedLine_defaultOptions } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());
|
|
7447
|
+
|
|
7400
7448
|
|
|
7401
7449
|
const { merge: CrookedLine_merge } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());
|
|
7450
|
+
if (CrookedLine_defaultOptions.annotations) {
|
|
7451
|
+
/**
|
|
7452
|
+
* Options for the crooked line annotation type.
|
|
7453
|
+
*
|
|
7454
|
+
* @sample highcharts/annotations-advanced/crooked-line/
|
|
7455
|
+
* Crooked line
|
|
7456
|
+
*
|
|
7457
|
+
* @product highstock
|
|
7458
|
+
* @optionparent annotations.types.crookedLine
|
|
7459
|
+
*/
|
|
7460
|
+
CrookedLine_defaultOptions.annotations.types.crookedLine = {
|
|
7461
|
+
/**
|
|
7462
|
+
* @extends annotations.labelOptions
|
|
7463
|
+
* @apioption annotations.types.crookedLine.labelOptions
|
|
7464
|
+
*/
|
|
7465
|
+
/**
|
|
7466
|
+
* @extends annotations.shapeOptions
|
|
7467
|
+
* @apioption annotations.types.crookedLine.shapeOptions
|
|
7468
|
+
*/
|
|
7469
|
+
/**
|
|
7470
|
+
* Additional options for an annotation with the type.
|
|
7471
|
+
*/
|
|
7472
|
+
typeOptions: {
|
|
7473
|
+
/**
|
|
7474
|
+
* This number defines which xAxis the point is connected to.
|
|
7475
|
+
* It refers to either the axis id or the index of the axis
|
|
7476
|
+
* in the xAxis array.
|
|
7477
|
+
*/
|
|
7478
|
+
xAxis: 0,
|
|
7479
|
+
/**
|
|
7480
|
+
* This number defines which yAxis the point is connected to.
|
|
7481
|
+
* It refers to either the axis id or the index of the axis
|
|
7482
|
+
* in the xAxis array.
|
|
7483
|
+
*/
|
|
7484
|
+
yAxis: 0,
|
|
7485
|
+
/**
|
|
7486
|
+
* @type {Array<*>}
|
|
7487
|
+
* @apioption annotations.types.crookedLine.typeOptions.points
|
|
7488
|
+
*/
|
|
7489
|
+
/**
|
|
7490
|
+
* The x position of the point.
|
|
7491
|
+
*
|
|
7492
|
+
* @type {number}
|
|
7493
|
+
* @apioption annotations.types.crookedLine.typeOptions.points.x
|
|
7494
|
+
*/
|
|
7495
|
+
/**
|
|
7496
|
+
* The y position of the point.
|
|
7497
|
+
*
|
|
7498
|
+
* @type {number}
|
|
7499
|
+
* @apioption annotations.types.crookedLine.typeOptions.points.y
|
|
7500
|
+
*/
|
|
7501
|
+
/**
|
|
7502
|
+
* @type {number}
|
|
7503
|
+
* @excluding positioner, events
|
|
7504
|
+
* @apioption annotations.types.crookedLine.typeOptions.points.controlPoint
|
|
7505
|
+
*/
|
|
7506
|
+
/**
|
|
7507
|
+
* Line options.
|
|
7508
|
+
*
|
|
7509
|
+
* @excluding height, point, points, r, type, width
|
|
7510
|
+
*/
|
|
7511
|
+
line: {
|
|
7512
|
+
fill: 'none'
|
|
7513
|
+
}
|
|
7514
|
+
},
|
|
7515
|
+
/**
|
|
7516
|
+
* @excluding positioner, events
|
|
7517
|
+
*/
|
|
7518
|
+
controlPointOptions: {
|
|
7519
|
+
positioner: function (target) {
|
|
7520
|
+
const graphic = this.graphic, xy = Annotations_MockPoint.pointToPixels(target.points[this.index]);
|
|
7521
|
+
return {
|
|
7522
|
+
x: xy.x - (graphic.width || 0) / 2,
|
|
7523
|
+
y: xy.y - (graphic.height || 0) / 2
|
|
7524
|
+
};
|
|
7525
|
+
},
|
|
7526
|
+
events: {
|
|
7527
|
+
drag: function (e, target) {
|
|
7528
|
+
if (target.chart.isInsidePlot(e.chartX - target.chart.plotLeft, e.chartY - target.chart.plotTop, {
|
|
7529
|
+
visiblePlotOnly: true
|
|
7530
|
+
})) {
|
|
7531
|
+
const translation = this.mouseMoveToTranslation(e), typeOptions = target.options.typeOptions;
|
|
7532
|
+
target.translatePoint(translation.x, translation.y, this.index);
|
|
7533
|
+
// Update options:
|
|
7534
|
+
typeOptions.points[this.index].x =
|
|
7535
|
+
target.points[this.index].x;
|
|
7536
|
+
typeOptions.points[this.index].y =
|
|
7537
|
+
target.points[this.index].y;
|
|
7538
|
+
target.redraw(false);
|
|
7539
|
+
}
|
|
7540
|
+
}
|
|
7541
|
+
}
|
|
7542
|
+
}
|
|
7543
|
+
};
|
|
7544
|
+
}
|
|
7402
7545
|
/* *
|
|
7403
7546
|
*
|
|
7404
7547
|
* Class
|
|
@@ -7447,100 +7590,6 @@ class CrookedLine extends Annotations_Annotation {
|
|
|
7447
7590
|
typeOptions.line = shape.options;
|
|
7448
7591
|
}
|
|
7449
7592
|
}
|
|
7450
|
-
CrookedLine.prototype.defaultOptions = CrookedLine_merge(Annotations_Annotation.prototype.defaultOptions,
|
|
7451
|
-
/**
|
|
7452
|
-
* A crooked line annotation.
|
|
7453
|
-
*
|
|
7454
|
-
* @sample highcharts/annotations-advanced/crooked-line/
|
|
7455
|
-
* Crooked line
|
|
7456
|
-
*
|
|
7457
|
-
* @product highstock
|
|
7458
|
-
* @optionparent annotations.crookedLine
|
|
7459
|
-
*/
|
|
7460
|
-
{
|
|
7461
|
-
/**
|
|
7462
|
-
* @extends annotations.labelOptions
|
|
7463
|
-
* @apioption annotations.crookedLine.labelOptions
|
|
7464
|
-
*/
|
|
7465
|
-
/**
|
|
7466
|
-
* @extends annotations.shapeOptions
|
|
7467
|
-
* @apioption annotations.crookedLine.shapeOptions
|
|
7468
|
-
*/
|
|
7469
|
-
/**
|
|
7470
|
-
* Additional options for an annotation with the type.
|
|
7471
|
-
*/
|
|
7472
|
-
typeOptions: {
|
|
7473
|
-
/**
|
|
7474
|
-
* This number defines which xAxis the point is connected to.
|
|
7475
|
-
* It refers to either the axis id or the index of the axis
|
|
7476
|
-
* in the xAxis array.
|
|
7477
|
-
*/
|
|
7478
|
-
xAxis: 0,
|
|
7479
|
-
/**
|
|
7480
|
-
* This number defines which yAxis the point is connected to.
|
|
7481
|
-
* It refers to either the axis id or the index of the axis
|
|
7482
|
-
* in the xAxis array.
|
|
7483
|
-
*/
|
|
7484
|
-
yAxis: 0,
|
|
7485
|
-
/**
|
|
7486
|
-
* @type {Array<*>}
|
|
7487
|
-
* @apioption annotations.crookedLine.typeOptions.points
|
|
7488
|
-
*/
|
|
7489
|
-
/**
|
|
7490
|
-
* The x position of the point.
|
|
7491
|
-
*
|
|
7492
|
-
* @type {number}
|
|
7493
|
-
* @apioption annotations.crookedLine.typeOptions.points.x
|
|
7494
|
-
*/
|
|
7495
|
-
/**
|
|
7496
|
-
* The y position of the point.
|
|
7497
|
-
*
|
|
7498
|
-
* @type {number}
|
|
7499
|
-
* @apioption annotations.crookedLine.typeOptions.points.y
|
|
7500
|
-
*/
|
|
7501
|
-
/**
|
|
7502
|
-
* @type {number}
|
|
7503
|
-
* @excluding positioner, events
|
|
7504
|
-
* @apioption annotations.crookedLine.typeOptions.points.controlPoint
|
|
7505
|
-
*/
|
|
7506
|
-
/**
|
|
7507
|
-
* Line options.
|
|
7508
|
-
*
|
|
7509
|
-
* @excluding height, point, points, r, type, width
|
|
7510
|
-
*/
|
|
7511
|
-
line: {
|
|
7512
|
-
fill: 'none'
|
|
7513
|
-
}
|
|
7514
|
-
},
|
|
7515
|
-
/**
|
|
7516
|
-
* @excluding positioner, events
|
|
7517
|
-
*/
|
|
7518
|
-
controlPointOptions: {
|
|
7519
|
-
positioner: function (target) {
|
|
7520
|
-
const graphic = this.graphic, xy = Annotations_MockPoint.pointToPixels(target.points[this.index]);
|
|
7521
|
-
return {
|
|
7522
|
-
x: xy.x - (graphic.width || 0) / 2,
|
|
7523
|
-
y: xy.y - (graphic.height || 0) / 2
|
|
7524
|
-
};
|
|
7525
|
-
},
|
|
7526
|
-
events: {
|
|
7527
|
-
drag: function (e, target) {
|
|
7528
|
-
if (target.chart.isInsidePlot(e.chartX - target.chart.plotLeft, e.chartY - target.chart.plotTop, {
|
|
7529
|
-
visiblePlotOnly: true
|
|
7530
|
-
})) {
|
|
7531
|
-
const translation = this.mouseMoveToTranslation(e), typeOptions = target.options.typeOptions;
|
|
7532
|
-
target.translatePoint(translation.x, translation.y, this.index);
|
|
7533
|
-
// Update options:
|
|
7534
|
-
typeOptions.points[this.index].x =
|
|
7535
|
-
target.points[this.index].x;
|
|
7536
|
-
typeOptions.points[this.index].y =
|
|
7537
|
-
target.points[this.index].y;
|
|
7538
|
-
target.redraw(false);
|
|
7539
|
-
}
|
|
7540
|
-
}
|
|
7541
|
-
}
|
|
7542
|
-
}
|
|
7543
|
-
});
|
|
7544
7593
|
Annotations_Annotation.types.crookedLine = CrookedLine;
|
|
7545
7594
|
/* *
|
|
7546
7595
|
*
|
|
@@ -7559,7 +7608,50 @@ Annotations_Annotation.types.crookedLine = CrookedLine;
|
|
|
7559
7608
|
|
|
7560
7609
|
|
|
7561
7610
|
|
|
7611
|
+
const { defaultOptions: ElliottWave_defaultOptions } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());
|
|
7612
|
+
|
|
7562
7613
|
const { merge: ElliottWave_merge } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());
|
|
7614
|
+
if (ElliottWave_defaultOptions.annotations) {
|
|
7615
|
+
ElliottWave_defaultOptions.annotations.types.elliottWave = ElliottWave_merge(ElliottWave_defaultOptions.annotations.types.crookedLine,
|
|
7616
|
+
/**
|
|
7617
|
+
* Options for the elliott wave annotation type.
|
|
7618
|
+
*
|
|
7619
|
+
* @sample highcharts/annotations-advanced/elliott-wave/
|
|
7620
|
+
* Elliott wave
|
|
7621
|
+
*
|
|
7622
|
+
* @extends annotations.types.crookedLine
|
|
7623
|
+
* @product highstock
|
|
7624
|
+
* @optionparent annotations.types.elliottWave
|
|
7625
|
+
*/
|
|
7626
|
+
{
|
|
7627
|
+
typeOptions: {
|
|
7628
|
+
/**
|
|
7629
|
+
* @extends annotations.types.crookedLine.labelOptions
|
|
7630
|
+
* @apioption annotations.types.elliottWave.typeOptions.points.label
|
|
7631
|
+
*/
|
|
7632
|
+
/**
|
|
7633
|
+
* @ignore-option
|
|
7634
|
+
*/
|
|
7635
|
+
labels: ['(0)', '(A)', '(B)', '(C)', '(D)', '(E)'],
|
|
7636
|
+
line: {
|
|
7637
|
+
strokeWidth: 1
|
|
7638
|
+
}
|
|
7639
|
+
},
|
|
7640
|
+
labelOptions: {
|
|
7641
|
+
align: 'center',
|
|
7642
|
+
allowOverlap: true,
|
|
7643
|
+
crop: true,
|
|
7644
|
+
overflow: 'none',
|
|
7645
|
+
type: 'rect',
|
|
7646
|
+
backgroundColor: 'none',
|
|
7647
|
+
borderWidth: 0,
|
|
7648
|
+
y: -5,
|
|
7649
|
+
style: {
|
|
7650
|
+
color: "#333333" /* Palette.neutralColor80 */
|
|
7651
|
+
}
|
|
7652
|
+
}
|
|
7653
|
+
});
|
|
7654
|
+
}
|
|
7563
7655
|
/* *
|
|
7564
7656
|
*
|
|
7565
7657
|
* Class
|
|
@@ -7583,42 +7675,6 @@ class ElliottWave extends Types_CrookedLine {
|
|
|
7583
7675
|
});
|
|
7584
7676
|
}
|
|
7585
7677
|
}
|
|
7586
|
-
ElliottWave.prototype.defaultOptions = ElliottWave_merge(Types_CrookedLine.prototype.defaultOptions,
|
|
7587
|
-
/**
|
|
7588
|
-
* An elliott wave annotation.
|
|
7589
|
-
*
|
|
7590
|
-
* @sample highcharts/annotations-advanced/elliott-wave/
|
|
7591
|
-
* Elliott wave
|
|
7592
|
-
*
|
|
7593
|
-
* @extends annotations.crookedLine
|
|
7594
|
-
* @product highstock
|
|
7595
|
-
* @optionparent annotations.elliottWave
|
|
7596
|
-
*/
|
|
7597
|
-
{
|
|
7598
|
-
typeOptions: {
|
|
7599
|
-
/**
|
|
7600
|
-
* @extends annotations.crookedLine.labelOptions
|
|
7601
|
-
* @apioption annotations.elliottWave.typeOptions.points.label
|
|
7602
|
-
*/
|
|
7603
|
-
/**
|
|
7604
|
-
* @ignore-option
|
|
7605
|
-
*/
|
|
7606
|
-
labels: ['(0)', '(A)', '(B)', '(C)', '(D)', '(E)'],
|
|
7607
|
-
line: {
|
|
7608
|
-
strokeWidth: 1
|
|
7609
|
-
}
|
|
7610
|
-
},
|
|
7611
|
-
labelOptions: {
|
|
7612
|
-
align: 'center',
|
|
7613
|
-
allowOverlap: true,
|
|
7614
|
-
crop: true,
|
|
7615
|
-
overflow: 'none',
|
|
7616
|
-
type: 'rect',
|
|
7617
|
-
backgroundColor: 'none',
|
|
7618
|
-
borderWidth: 0,
|
|
7619
|
-
y: -5
|
|
7620
|
-
}
|
|
7621
|
-
});
|
|
7622
7678
|
Annotations_Annotation.types.elliottWave = ElliottWave;
|
|
7623
7679
|
/* *
|
|
7624
7680
|
*
|
|
@@ -7638,8 +7694,88 @@ Annotations_Annotation.types.elliottWave = ElliottWave;
|
|
|
7638
7694
|
|
|
7639
7695
|
|
|
7640
7696
|
|
|
7697
|
+
const { defaultOptions: Tunnel_defaultOptions } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());
|
|
7698
|
+
|
|
7641
7699
|
|
|
7642
7700
|
const { merge: Tunnel_merge } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());
|
|
7701
|
+
if (Tunnel_defaultOptions.annotations) {
|
|
7702
|
+
Tunnel_defaultOptions.annotations.types.tunnel = Tunnel_merge(Tunnel_defaultOptions.annotations.types.crookedLine,
|
|
7703
|
+
/**
|
|
7704
|
+
* Options for the tunnel annotation type.
|
|
7705
|
+
*
|
|
7706
|
+
* @extends annotations.types.crookedLine
|
|
7707
|
+
* @sample highcharts/annotations-advanced/tunnel/
|
|
7708
|
+
* Tunnel
|
|
7709
|
+
* @product highstock
|
|
7710
|
+
* @optionparent annotations.types.tunnel
|
|
7711
|
+
*/
|
|
7712
|
+
{
|
|
7713
|
+
typeOptions: {
|
|
7714
|
+
/**
|
|
7715
|
+
* Background options.
|
|
7716
|
+
*
|
|
7717
|
+
* @type {Object}
|
|
7718
|
+
* @excluding height, point, points, r, type, width, markerEnd,
|
|
7719
|
+
* markerStart
|
|
7720
|
+
*/
|
|
7721
|
+
background: {
|
|
7722
|
+
fill: 'rgba(130, 170, 255, 0.4)',
|
|
7723
|
+
strokeWidth: 0
|
|
7724
|
+
},
|
|
7725
|
+
line: {
|
|
7726
|
+
strokeWidth: 1
|
|
7727
|
+
},
|
|
7728
|
+
/**
|
|
7729
|
+
* The height of the annotation in terms of yAxis.
|
|
7730
|
+
*/
|
|
7731
|
+
height: -2,
|
|
7732
|
+
/**
|
|
7733
|
+
* Options for the control point which controls
|
|
7734
|
+
* the annotation's height.
|
|
7735
|
+
*
|
|
7736
|
+
* @extends annotations.types.crookedLine.controlPointOptions
|
|
7737
|
+
* @excluding positioner, events
|
|
7738
|
+
*/
|
|
7739
|
+
heightControlPoint: {
|
|
7740
|
+
positioner: function (target) {
|
|
7741
|
+
const startXY = Annotations_MockPoint.pointToPixels(target.points[2]), endXY = Annotations_MockPoint.pointToPixels(target.points[3]), x = (startXY.x + endXY.x) / 2;
|
|
7742
|
+
return {
|
|
7743
|
+
x: x - (this.graphic.width || 0) / 2,
|
|
7744
|
+
y: getSecondCoordinate(startXY, endXY, x) -
|
|
7745
|
+
(this.graphic.height || 0) / 2
|
|
7746
|
+
};
|
|
7747
|
+
},
|
|
7748
|
+
events: {
|
|
7749
|
+
drag: function (e, target) {
|
|
7750
|
+
if (target.chart.isInsidePlot(e.chartX - target.chart.plotLeft, e.chartY - target.chart.plotTop, {
|
|
7751
|
+
visiblePlotOnly: true
|
|
7752
|
+
})) {
|
|
7753
|
+
target.translateHeight(this.mouseMoveToTranslation(e).y);
|
|
7754
|
+
target.redraw(false);
|
|
7755
|
+
}
|
|
7756
|
+
}
|
|
7757
|
+
}
|
|
7758
|
+
}
|
|
7759
|
+
},
|
|
7760
|
+
/**
|
|
7761
|
+
* @extends annotations.types.crookedLine.controlPointOptions
|
|
7762
|
+
* @excluding positioner, events
|
|
7763
|
+
*/
|
|
7764
|
+
controlPointOptions: {
|
|
7765
|
+
events: {
|
|
7766
|
+
drag: function (e, target) {
|
|
7767
|
+
if (target.chart.isInsidePlot(e.chartX - target.chart.plotLeft, e.chartY - target.chart.plotTop, {
|
|
7768
|
+
visiblePlotOnly: true
|
|
7769
|
+
})) {
|
|
7770
|
+
const translation = this.mouseMoveToTranslation(e);
|
|
7771
|
+
target.translateSide(translation.x, translation.y, !!this.index);
|
|
7772
|
+
target.redraw(false);
|
|
7773
|
+
}
|
|
7774
|
+
}
|
|
7775
|
+
}
|
|
7776
|
+
}
|
|
7777
|
+
});
|
|
7778
|
+
}
|
|
7643
7779
|
/* *
|
|
7644
7780
|
*
|
|
7645
7781
|
* Functions
|
|
@@ -7750,82 +7886,6 @@ class Tunnel extends Types_CrookedLine {
|
|
|
7750
7886
|
this.userOptions.typeOptions.height = this.options.typeOptions.height;
|
|
7751
7887
|
}
|
|
7752
7888
|
}
|
|
7753
|
-
Tunnel.prototype.defaultOptions = Tunnel_merge(Types_CrookedLine.prototype.defaultOptions,
|
|
7754
|
-
/**
|
|
7755
|
-
* A tunnel annotation.
|
|
7756
|
-
*
|
|
7757
|
-
* @extends annotations.crookedLine
|
|
7758
|
-
* @sample highcharts/annotations-advanced/tunnel/
|
|
7759
|
-
* Tunnel
|
|
7760
|
-
* @product highstock
|
|
7761
|
-
* @optionparent annotations.tunnel
|
|
7762
|
-
*/
|
|
7763
|
-
{
|
|
7764
|
-
typeOptions: {
|
|
7765
|
-
/**
|
|
7766
|
-
* Background options.
|
|
7767
|
-
*
|
|
7768
|
-
* @type {Object}
|
|
7769
|
-
* @excluding height, point, points, r, type, width, markerEnd,
|
|
7770
|
-
* markerStart
|
|
7771
|
-
*/
|
|
7772
|
-
background: {
|
|
7773
|
-
fill: 'rgba(130, 170, 255, 0.4)',
|
|
7774
|
-
strokeWidth: 0
|
|
7775
|
-
},
|
|
7776
|
-
line: {
|
|
7777
|
-
strokeWidth: 1
|
|
7778
|
-
},
|
|
7779
|
-
/**
|
|
7780
|
-
* The height of the annotation in terms of yAxis.
|
|
7781
|
-
*/
|
|
7782
|
-
height: -2,
|
|
7783
|
-
/**
|
|
7784
|
-
* Options for the control point which controls
|
|
7785
|
-
* the annotation's height.
|
|
7786
|
-
*
|
|
7787
|
-
* @extends annotations.crookedLine.controlPointOptions
|
|
7788
|
-
* @excluding positioner, events
|
|
7789
|
-
*/
|
|
7790
|
-
heightControlPoint: {
|
|
7791
|
-
positioner: function (target) {
|
|
7792
|
-
const startXY = Annotations_MockPoint.pointToPixels(target.points[2]), endXY = Annotations_MockPoint.pointToPixels(target.points[3]), x = (startXY.x + endXY.x) / 2;
|
|
7793
|
-
return {
|
|
7794
|
-
x: x - (this.graphic.width || 0) / 2,
|
|
7795
|
-
y: getSecondCoordinate(startXY, endXY, x) -
|
|
7796
|
-
(this.graphic.height || 0) / 2
|
|
7797
|
-
};
|
|
7798
|
-
},
|
|
7799
|
-
events: {
|
|
7800
|
-
drag: function (e, target) {
|
|
7801
|
-
if (target.chart.isInsidePlot(e.chartX - target.chart.plotLeft, e.chartY - target.chart.plotTop, {
|
|
7802
|
-
visiblePlotOnly: true
|
|
7803
|
-
})) {
|
|
7804
|
-
target.translateHeight(this.mouseMoveToTranslation(e).y);
|
|
7805
|
-
target.redraw(false);
|
|
7806
|
-
}
|
|
7807
|
-
}
|
|
7808
|
-
}
|
|
7809
|
-
}
|
|
7810
|
-
},
|
|
7811
|
-
/**
|
|
7812
|
-
* @extends annotations.crookedLine.controlPointOptions
|
|
7813
|
-
* @excluding positioner, events
|
|
7814
|
-
*/
|
|
7815
|
-
controlPointOptions: {
|
|
7816
|
-
events: {
|
|
7817
|
-
drag: function (e, target) {
|
|
7818
|
-
if (target.chart.isInsidePlot(e.chartX - target.chart.plotLeft, e.chartY - target.chart.plotTop, {
|
|
7819
|
-
visiblePlotOnly: true
|
|
7820
|
-
})) {
|
|
7821
|
-
const translation = this.mouseMoveToTranslation(e);
|
|
7822
|
-
target.translateSide(translation.x, translation.y, !!this.index);
|
|
7823
|
-
target.redraw(false);
|
|
7824
|
-
}
|
|
7825
|
-
}
|
|
7826
|
-
}
|
|
7827
|
-
}
|
|
7828
|
-
});
|
|
7829
7889
|
Annotations_Annotation.types.tunnel = Tunnel;
|
|
7830
7890
|
/* *
|
|
7831
7891
|
*
|
|
@@ -7844,8 +7904,23 @@ Annotations_Annotation.types.tunnel = Tunnel;
|
|
|
7844
7904
|
|
|
7845
7905
|
|
|
7846
7906
|
|
|
7907
|
+
const { defaultOptions: InfinityLine_defaultOptions } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());
|
|
7908
|
+
|
|
7847
7909
|
|
|
7848
7910
|
const { merge: InfinityLine_merge } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());
|
|
7911
|
+
if (InfinityLine_defaultOptions.annotations) {
|
|
7912
|
+
/**
|
|
7913
|
+
* Options for the infinity line annotation type.
|
|
7914
|
+
*
|
|
7915
|
+
* @sample highcharts/annotations-advanced/infinity-line/
|
|
7916
|
+
* Infinity line
|
|
7917
|
+
*
|
|
7918
|
+
* @extends annotations.types.crookedLine
|
|
7919
|
+
* @product highstock
|
|
7920
|
+
* @optionparent annotations.types.infinityLine
|
|
7921
|
+
*/
|
|
7922
|
+
InfinityLine_defaultOptions.annotations.types.infinityLine = InfinityLine_merge(InfinityLine_defaultOptions.annotations.types.crookedLine);
|
|
7923
|
+
}
|
|
7849
7924
|
/* *
|
|
7850
7925
|
*
|
|
7851
7926
|
* Class
|
|
@@ -7946,7 +8021,6 @@ class InfinityLine extends Types_CrookedLine {
|
|
|
7946
8021
|
* */
|
|
7947
8022
|
InfinityLine.endEdgePoint = InfinityLine.edgePoint(0, 1);
|
|
7948
8023
|
InfinityLine.startEdgePoint = InfinityLine.edgePoint(1, 0);
|
|
7949
|
-
InfinityLine.prototype.defaultOptions = InfinityLine_merge(Types_CrookedLine.prototype.defaultOptions, {});
|
|
7950
8024
|
Annotations_Annotation.types.infinityLine = InfinityLine;
|
|
7951
8025
|
/* *
|
|
7952
8026
|
*
|
|
@@ -7965,9 +8039,9 @@ Annotations_Annotation.types.infinityLine = InfinityLine;
|
|
|
7965
8039
|
* @sample highcharts/annotations-advanced/infinity-line/
|
|
7966
8040
|
* Infinity Line
|
|
7967
8041
|
*
|
|
7968
|
-
* @extends annotations.crookedLine
|
|
8042
|
+
* @extends annotations.types.crookedLine
|
|
7969
8043
|
* @product highstock
|
|
7970
|
-
* @apioption annotations.infinityLine
|
|
8044
|
+
* @apioption annotations.types.infinityLine
|
|
7971
8045
|
*/
|
|
7972
8046
|
(''); // Keeps doclets above in transpiled file
|
|
7973
8047
|
|
|
@@ -7983,19 +8057,75 @@ Annotations_Annotation.types.infinityLine = InfinityLine;
|
|
|
7983
8057
|
|
|
7984
8058
|
|
|
7985
8059
|
|
|
8060
|
+
const { defaultOptions: TimeCycles_defaultOptions } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());
|
|
8061
|
+
|
|
7986
8062
|
|
|
7987
8063
|
const { merge: TimeCycles_merge, isNumber: TimeCycles_isNumber, defined: TimeCycles_defined } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());
|
|
7988
|
-
|
|
7989
|
-
|
|
7990
|
-
|
|
7991
|
-
|
|
7992
|
-
|
|
7993
|
-
|
|
7994
|
-
|
|
7995
|
-
|
|
7996
|
-
|
|
7997
|
-
|
|
7998
|
-
|
|
8064
|
+
if (TimeCycles_defaultOptions.annotations) {
|
|
8065
|
+
TimeCycles_defaultOptions.annotations.types.timeCycles = TimeCycles_merge(TimeCycles_defaultOptions.annotations.types.crookedLine,
|
|
8066
|
+
/**
|
|
8067
|
+
* Options for the time cycles annotation type.
|
|
8068
|
+
*
|
|
8069
|
+
* @sample highcharts/annotations-advanced/time-cycles/
|
|
8070
|
+
* Time Cycles annotation
|
|
8071
|
+
*
|
|
8072
|
+
* @extends annotations.types.crookedLine
|
|
8073
|
+
* @product highstock
|
|
8074
|
+
* @exclude labelOptions
|
|
8075
|
+
* @optionparent annotations.types.timeCycles
|
|
8076
|
+
*/
|
|
8077
|
+
{
|
|
8078
|
+
typeOptions: {
|
|
8079
|
+
/**
|
|
8080
|
+
* @exclude y
|
|
8081
|
+
* @product highstock
|
|
8082
|
+
* @apioption annotations.types.timeCycles.typeOptions.points
|
|
8083
|
+
*/
|
|
8084
|
+
controlPointOptions: [{
|
|
8085
|
+
positioner: function (target) {
|
|
8086
|
+
const point = target.points[0], position = target.anchor(point).absolutePosition;
|
|
8087
|
+
return {
|
|
8088
|
+
x: position.x - (this.graphic.width || 0) / 2,
|
|
8089
|
+
y: target.y - (this.graphic.height || 0)
|
|
8090
|
+
};
|
|
8091
|
+
},
|
|
8092
|
+
events: {
|
|
8093
|
+
drag: function (e, target) {
|
|
8094
|
+
const position = target.anchor(target.points[0]).absolutePosition;
|
|
8095
|
+
target.translatePoint(e.chartX - position.x, 0, 0);
|
|
8096
|
+
target.redraw(false);
|
|
8097
|
+
}
|
|
8098
|
+
}
|
|
8099
|
+
}, {
|
|
8100
|
+
positioner: function (target) {
|
|
8101
|
+
const point = target.points[1], position = target.anchor(point).absolutePosition;
|
|
8102
|
+
return {
|
|
8103
|
+
x: position.x - (this.graphic.width || 0) / 2,
|
|
8104
|
+
y: target.y - (this.graphic.height || 0)
|
|
8105
|
+
};
|
|
8106
|
+
},
|
|
8107
|
+
events: {
|
|
8108
|
+
drag: function (e, target) {
|
|
8109
|
+
const position = target.anchor(target.points[1]).absolutePosition;
|
|
8110
|
+
target.translatePoint(e.chartX - position.x, 0, 1);
|
|
8111
|
+
target.redraw(false);
|
|
8112
|
+
}
|
|
8113
|
+
}
|
|
8114
|
+
}]
|
|
8115
|
+
}
|
|
8116
|
+
});
|
|
8117
|
+
}
|
|
8118
|
+
/* *
|
|
8119
|
+
*
|
|
8120
|
+
* Functions
|
|
8121
|
+
*
|
|
8122
|
+
* */
|
|
8123
|
+
/**
|
|
8124
|
+
* Function to create start of the path.
|
|
8125
|
+
* @param {number} x x position of the TimeCycles
|
|
8126
|
+
* @param {number} y y position of the TimeCycles
|
|
8127
|
+
* @return {string} path
|
|
8128
|
+
*/
|
|
7999
8129
|
function getStartingPath(x, y) {
|
|
8000
8130
|
return ['M', x, y];
|
|
8001
8131
|
}
|
|
@@ -8105,58 +8235,6 @@ class TimeCycles extends Types_CrookedLine {
|
|
|
8105
8235
|
super.redraw(animation);
|
|
8106
8236
|
}
|
|
8107
8237
|
}
|
|
8108
|
-
TimeCycles.prototype.defaultOptions = TimeCycles_merge(Types_CrookedLine.prototype.defaultOptions,
|
|
8109
|
-
/**
|
|
8110
|
-
* The TimeCycles Annotation
|
|
8111
|
-
*
|
|
8112
|
-
* @sample highcharts/annotations-advanced/time-cycles/
|
|
8113
|
-
* Time Cycles annotation
|
|
8114
|
-
*
|
|
8115
|
-
* @extends annotations.crookedLine
|
|
8116
|
-
* @product highstock
|
|
8117
|
-
* @exclude labelOptions
|
|
8118
|
-
* @optionparent annotations.timeCycles
|
|
8119
|
-
*/
|
|
8120
|
-
{
|
|
8121
|
-
typeOptions: {
|
|
8122
|
-
/**
|
|
8123
|
-
* @exclude y
|
|
8124
|
-
* @product highstock
|
|
8125
|
-
* @apioption annotations.timeCycles.typeOptions.points
|
|
8126
|
-
*/
|
|
8127
|
-
controlPointOptions: [{
|
|
8128
|
-
positioner: function (target) {
|
|
8129
|
-
const point = target.points[0], position = target.anchor(point).absolutePosition;
|
|
8130
|
-
return {
|
|
8131
|
-
x: position.x - (this.graphic.width || 0) / 2,
|
|
8132
|
-
y: target.y - (this.graphic.height || 0)
|
|
8133
|
-
};
|
|
8134
|
-
},
|
|
8135
|
-
events: {
|
|
8136
|
-
drag: function (e, target) {
|
|
8137
|
-
const position = target.anchor(target.points[0]).absolutePosition;
|
|
8138
|
-
target.translatePoint(e.chartX - position.x, 0, 0);
|
|
8139
|
-
target.redraw(false);
|
|
8140
|
-
}
|
|
8141
|
-
}
|
|
8142
|
-
}, {
|
|
8143
|
-
positioner: function (target) {
|
|
8144
|
-
const point = target.points[1], position = target.anchor(point).absolutePosition;
|
|
8145
|
-
return {
|
|
8146
|
-
x: position.x - (this.graphic.width || 0) / 2,
|
|
8147
|
-
y: target.y - (this.graphic.height || 0)
|
|
8148
|
-
};
|
|
8149
|
-
},
|
|
8150
|
-
events: {
|
|
8151
|
-
drag: function (e, target) {
|
|
8152
|
-
const position = target.anchor(target.points[1]).absolutePosition;
|
|
8153
|
-
target.translatePoint(e.chartX - position.x, 0, 1);
|
|
8154
|
-
target.redraw(false);
|
|
8155
|
-
}
|
|
8156
|
-
}
|
|
8157
|
-
}]
|
|
8158
|
-
}
|
|
8159
|
-
});
|
|
8160
8238
|
Annotations_Annotation.types.timeCycles = TimeCycles;
|
|
8161
8239
|
/* *
|
|
8162
8240
|
*
|
|
@@ -8174,9 +8252,95 @@ Annotations_Annotation.types.timeCycles = TimeCycles;
|
|
|
8174
8252
|
|
|
8175
8253
|
|
|
8176
8254
|
|
|
8255
|
+
const { defaultOptions: Fibonacci_defaultOptions } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());
|
|
8256
|
+
|
|
8177
8257
|
|
|
8178
8258
|
|
|
8179
8259
|
const { merge: Fibonacci_merge } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());
|
|
8260
|
+
if (Fibonacci_defaultOptions.annotations) {
|
|
8261
|
+
Fibonacci_defaultOptions.annotations.types.fibonacci = Fibonacci_merge(Fibonacci_defaultOptions.annotations.types.tunnel,
|
|
8262
|
+
/**
|
|
8263
|
+
* Options for the fibonacci annotation type.
|
|
8264
|
+
*
|
|
8265
|
+
* @sample highcharts/annotations-advanced/fibonacci/
|
|
8266
|
+
* Fibonacci
|
|
8267
|
+
*
|
|
8268
|
+
* @extends annotations.types.crookedLine
|
|
8269
|
+
* @product highstock
|
|
8270
|
+
* @optionparent annotations.types.fibonacci
|
|
8271
|
+
*/
|
|
8272
|
+
{
|
|
8273
|
+
typeOptions: {
|
|
8274
|
+
/**
|
|
8275
|
+
* Whether the annotation levels should be reversed. By default
|
|
8276
|
+
* they start from 0 and go to 1.
|
|
8277
|
+
*
|
|
8278
|
+
* @sample highcharts/annotations-advanced/fibonacci-reversed/
|
|
8279
|
+
* Fibonacci annotation reversed
|
|
8280
|
+
*
|
|
8281
|
+
* @type {boolean}
|
|
8282
|
+
* @apioption annotations.types.fibonacci.typeOptions.reversed
|
|
8283
|
+
*/
|
|
8284
|
+
reversed: false,
|
|
8285
|
+
/**
|
|
8286
|
+
* The height of the fibonacci in terms of yAxis.
|
|
8287
|
+
*/
|
|
8288
|
+
height: 2,
|
|
8289
|
+
/**
|
|
8290
|
+
* An array of background colors:
|
|
8291
|
+
* Default to:
|
|
8292
|
+
* ```
|
|
8293
|
+
* [
|
|
8294
|
+
* 'rgba(130, 170, 255, 0.4)',
|
|
8295
|
+
* 'rgba(139, 191, 216, 0.4)',
|
|
8296
|
+
* 'rgba(150, 216, 192, 0.4)',
|
|
8297
|
+
* 'rgba(156, 229, 161, 0.4)',
|
|
8298
|
+
* 'rgba(162, 241, 130, 0.4)',
|
|
8299
|
+
* 'rgba(169, 255, 101, 0.4)'
|
|
8300
|
+
* ]
|
|
8301
|
+
* ```
|
|
8302
|
+
*/
|
|
8303
|
+
backgroundColors: [
|
|
8304
|
+
'rgba(130, 170, 255, 0.4)',
|
|
8305
|
+
'rgba(139, 191, 216, 0.4)',
|
|
8306
|
+
'rgba(150, 216, 192, 0.4)',
|
|
8307
|
+
'rgba(156, 229, 161, 0.4)',
|
|
8308
|
+
'rgba(162, 241, 130, 0.4)',
|
|
8309
|
+
'rgba(169, 255, 101, 0.4)'
|
|
8310
|
+
],
|
|
8311
|
+
/**
|
|
8312
|
+
* The color of line.
|
|
8313
|
+
*/
|
|
8314
|
+
lineColor: "#999999" /* Palette.neutralColor40 */,
|
|
8315
|
+
/**
|
|
8316
|
+
* An array of colors for the lines.
|
|
8317
|
+
*/
|
|
8318
|
+
lineColors: [],
|
|
8319
|
+
/**
|
|
8320
|
+
* An array with options for the labels.
|
|
8321
|
+
*
|
|
8322
|
+
* @type {Array<*>}
|
|
8323
|
+
* @extends annotations.types.crookedLine.labelOptions
|
|
8324
|
+
* @apioption annotations.types.fibonacci.typeOptions.labels
|
|
8325
|
+
*/
|
|
8326
|
+
labels: []
|
|
8327
|
+
},
|
|
8328
|
+
labelOptions: {
|
|
8329
|
+
allowOverlap: true,
|
|
8330
|
+
align: 'right',
|
|
8331
|
+
backgroundColor: 'none',
|
|
8332
|
+
borderWidth: 0,
|
|
8333
|
+
crop: false,
|
|
8334
|
+
overflow: 'none',
|
|
8335
|
+
shape: 'rect',
|
|
8336
|
+
style: {
|
|
8337
|
+
color: "#333333" /* Palette.neutralColor80 */
|
|
8338
|
+
},
|
|
8339
|
+
verticalAlign: 'middle',
|
|
8340
|
+
y: 0
|
|
8341
|
+
}
|
|
8342
|
+
});
|
|
8343
|
+
}
|
|
8180
8344
|
/* *
|
|
8181
8345
|
*
|
|
8182
8346
|
* Functions
|
|
@@ -8285,88 +8449,6 @@ class Fibonacci extends Types_Tunnel {
|
|
|
8285
8449
|
*
|
|
8286
8450
|
* */
|
|
8287
8451
|
Fibonacci.levels = [0, 0.236, 0.382, 0.5, 0.618, 0.786, 1];
|
|
8288
|
-
Fibonacci.prototype.defaultOptions = Fibonacci_merge(Types_Tunnel.prototype.defaultOptions,
|
|
8289
|
-
/**
|
|
8290
|
-
* A fibonacci annotation.
|
|
8291
|
-
*
|
|
8292
|
-
* @sample highcharts/annotations-advanced/fibonacci/
|
|
8293
|
-
* Fibonacci
|
|
8294
|
-
*
|
|
8295
|
-
* @extends annotations.crookedLine
|
|
8296
|
-
* @product highstock
|
|
8297
|
-
* @optionparent annotations.fibonacci
|
|
8298
|
-
*/
|
|
8299
|
-
{
|
|
8300
|
-
typeOptions: {
|
|
8301
|
-
/**
|
|
8302
|
-
* Whether the annotation levels should be reversed. By default they
|
|
8303
|
-
* start from 0 and go to 1.
|
|
8304
|
-
*
|
|
8305
|
-
* @sample highcharts/annotations-advanced/fibonacci-reversed/
|
|
8306
|
-
* Fibonacci annotation reversed
|
|
8307
|
-
*
|
|
8308
|
-
* @type {boolean}
|
|
8309
|
-
* @apioption annotations.fibonacci.typeOptions.reversed
|
|
8310
|
-
*/
|
|
8311
|
-
reversed: false,
|
|
8312
|
-
/**
|
|
8313
|
-
* The height of the fibonacci in terms of yAxis.
|
|
8314
|
-
*/
|
|
8315
|
-
height: 2,
|
|
8316
|
-
/**
|
|
8317
|
-
* An array of background colors:
|
|
8318
|
-
* Default to:
|
|
8319
|
-
* ```
|
|
8320
|
-
* [
|
|
8321
|
-
* 'rgba(130, 170, 255, 0.4)',
|
|
8322
|
-
* 'rgba(139, 191, 216, 0.4)',
|
|
8323
|
-
* 'rgba(150, 216, 192, 0.4)',
|
|
8324
|
-
* 'rgba(156, 229, 161, 0.4)',
|
|
8325
|
-
* 'rgba(162, 241, 130, 0.4)',
|
|
8326
|
-
* 'rgba(169, 255, 101, 0.4)'
|
|
8327
|
-
* ]
|
|
8328
|
-
* ```
|
|
8329
|
-
*/
|
|
8330
|
-
backgroundColors: [
|
|
8331
|
-
'rgba(130, 170, 255, 0.4)',
|
|
8332
|
-
'rgba(139, 191, 216, 0.4)',
|
|
8333
|
-
'rgba(150, 216, 192, 0.4)',
|
|
8334
|
-
'rgba(156, 229, 161, 0.4)',
|
|
8335
|
-
'rgba(162, 241, 130, 0.4)',
|
|
8336
|
-
'rgba(169, 255, 101, 0.4)'
|
|
8337
|
-
],
|
|
8338
|
-
/**
|
|
8339
|
-
* The color of line.
|
|
8340
|
-
*/
|
|
8341
|
-
lineColor: "#999999" /* Palette.neutralColor40 */,
|
|
8342
|
-
/**
|
|
8343
|
-
* An array of colors for the lines.
|
|
8344
|
-
*/
|
|
8345
|
-
lineColors: [],
|
|
8346
|
-
/**
|
|
8347
|
-
* An array with options for the labels.
|
|
8348
|
-
*
|
|
8349
|
-
* @type {Array<*>}
|
|
8350
|
-
* @extends annotations.crookedLine.labelOptions
|
|
8351
|
-
* @apioption annotations.fibonacci.typeOptions.labels
|
|
8352
|
-
*/
|
|
8353
|
-
labels: []
|
|
8354
|
-
},
|
|
8355
|
-
labelOptions: {
|
|
8356
|
-
allowOverlap: true,
|
|
8357
|
-
align: 'right',
|
|
8358
|
-
backgroundColor: 'none',
|
|
8359
|
-
borderWidth: 0,
|
|
8360
|
-
crop: false,
|
|
8361
|
-
overflow: 'none',
|
|
8362
|
-
shape: 'rect',
|
|
8363
|
-
style: {
|
|
8364
|
-
color: 'grey'
|
|
8365
|
-
},
|
|
8366
|
-
verticalAlign: 'middle',
|
|
8367
|
-
y: 0
|
|
8368
|
-
}
|
|
8369
|
-
});
|
|
8370
8452
|
Annotations_Annotation.types.fibonacci = Fibonacci;
|
|
8371
8453
|
/* *
|
|
8372
8454
|
*
|
|
@@ -8388,9 +8470,83 @@ Annotations_Annotation.types.fibonacci = Fibonacci;
|
|
|
8388
8470
|
|
|
8389
8471
|
|
|
8390
8472
|
|
|
8473
|
+
const { defaultOptions: FibonacciTimeZones_defaultOptions } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());
|
|
8474
|
+
|
|
8391
8475
|
|
|
8392
8476
|
|
|
8393
8477
|
const { merge: FibonacciTimeZones_merge } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());
|
|
8478
|
+
if (FibonacciTimeZones_defaultOptions.annotations) {
|
|
8479
|
+
FibonacciTimeZones_defaultOptions.annotations.types.fibonacciTimeZones = FibonacciTimeZones_merge(FibonacciTimeZones_defaultOptions.annotations.types.crookedLine,
|
|
8480
|
+
/**
|
|
8481
|
+
* Options for the fibonacci time zones annotation type.
|
|
8482
|
+
*
|
|
8483
|
+
* @sample highcharts/annotations-advanced/fibonacci-time-zones/
|
|
8484
|
+
* Fibonacci Time Zones
|
|
8485
|
+
*
|
|
8486
|
+
* @extends annotations.types.crookedLine
|
|
8487
|
+
* @since 9.3.0
|
|
8488
|
+
* @product highstock
|
|
8489
|
+
* @optionparent annotations.types.fibonacciTimeZones
|
|
8490
|
+
*/
|
|
8491
|
+
{
|
|
8492
|
+
typeOptions: {
|
|
8493
|
+
/**
|
|
8494
|
+
* @exclude y
|
|
8495
|
+
* @since 9.3.0
|
|
8496
|
+
* @product highstock
|
|
8497
|
+
* @apioption annotations.types.fibonacciTimeZones.typeOptions.points
|
|
8498
|
+
*/
|
|
8499
|
+
// Options for showing in popup edit
|
|
8500
|
+
line: {
|
|
8501
|
+
/**
|
|
8502
|
+
* The color of the lines.
|
|
8503
|
+
*
|
|
8504
|
+
* @type {string}
|
|
8505
|
+
* @since 9.3.0
|
|
8506
|
+
* @apioption annotations.types.fibonacciTimeZones.typeOptions.line.stroke
|
|
8507
|
+
*/
|
|
8508
|
+
stroke: "#333333" /* Palette.neutralColor80 */,
|
|
8509
|
+
/**
|
|
8510
|
+
* The width of the lines.
|
|
8511
|
+
*
|
|
8512
|
+
* @type {number}
|
|
8513
|
+
* @since 9.3.0
|
|
8514
|
+
* @default 1
|
|
8515
|
+
* @apioption annotations.types.fibonacciTimeZones.typeOptions.line.strokeWidth
|
|
8516
|
+
*/
|
|
8517
|
+
strokeWidth: 1,
|
|
8518
|
+
// Don't inherit fill (don't display in popup edit)
|
|
8519
|
+
fill: void 0
|
|
8520
|
+
},
|
|
8521
|
+
controlPointOptions: {
|
|
8522
|
+
positioner: function () {
|
|
8523
|
+
// The control point is in the middle of the second line
|
|
8524
|
+
const target = this.target, graphic = this.graphic, edgePoints = target.secondLineEdgePoints, args = { annotation: target }, firstEdgePointY = edgePoints[0](args).y, secondEdgePointY = edgePoints[1](args).y, plotLeft = this.chart.plotLeft, plotTop = this.chart.plotTop;
|
|
8525
|
+
let x = edgePoints[0](args).x, y = (firstEdgePointY + secondEdgePointY) / 2;
|
|
8526
|
+
if (this.chart.inverted) {
|
|
8527
|
+
[x, y] = [y, x];
|
|
8528
|
+
}
|
|
8529
|
+
return {
|
|
8530
|
+
x: plotLeft + x - (graphic.width || 0) / 2,
|
|
8531
|
+
y: plotTop + y - (graphic.height || 0) / 2
|
|
8532
|
+
};
|
|
8533
|
+
},
|
|
8534
|
+
events: {
|
|
8535
|
+
drag: function (e, target) {
|
|
8536
|
+
const isInsidePlot = target.chart.isInsidePlot(e.chartX - target.chart.plotLeft, e.chartY - target.chart.plotTop, {
|
|
8537
|
+
visiblePlotOnly: true
|
|
8538
|
+
});
|
|
8539
|
+
if (isInsidePlot) {
|
|
8540
|
+
const translation = this.mouseMoveToTranslation(e);
|
|
8541
|
+
target.translatePoint(translation.x, 0, 1);
|
|
8542
|
+
target.redraw(false);
|
|
8543
|
+
}
|
|
8544
|
+
}
|
|
8545
|
+
}
|
|
8546
|
+
}
|
|
8547
|
+
}
|
|
8548
|
+
});
|
|
8549
|
+
}
|
|
8394
8550
|
/* *
|
|
8395
8551
|
*
|
|
8396
8552
|
* Functions
|
|
@@ -8494,77 +8650,6 @@ class FibonacciTimeZones extends Types_CrookedLine {
|
|
|
8494
8650
|
typeOptions.controlPointOptions = controlPoint.options;
|
|
8495
8651
|
}
|
|
8496
8652
|
}
|
|
8497
|
-
FibonacciTimeZones.prototype.defaultOptions = FibonacciTimeZones_merge(Types_CrookedLine.prototype.defaultOptions,
|
|
8498
|
-
/**
|
|
8499
|
-
* The Fibonacci Time Zones annotation.
|
|
8500
|
-
*
|
|
8501
|
-
* @sample highcharts/annotations-advanced/fibonacci-time-zones/
|
|
8502
|
-
* Fibonacci Time Zones
|
|
8503
|
-
*
|
|
8504
|
-
* @extends annotations.crookedLine
|
|
8505
|
-
* @since 9.3.0
|
|
8506
|
-
* @product highstock
|
|
8507
|
-
* @optionparent annotations.fibonacciTimeZones
|
|
8508
|
-
*/
|
|
8509
|
-
{
|
|
8510
|
-
typeOptions: {
|
|
8511
|
-
/**
|
|
8512
|
-
* @exclude y
|
|
8513
|
-
* @since 9.3.0
|
|
8514
|
-
* @product highstock
|
|
8515
|
-
* @apioption annotations.fibonacciTimeZones.typeOptions.points
|
|
8516
|
-
*/
|
|
8517
|
-
// Options for showing in popup edit
|
|
8518
|
-
line: {
|
|
8519
|
-
/**
|
|
8520
|
-
* The color of the lines.
|
|
8521
|
-
*
|
|
8522
|
-
* @type {string}
|
|
8523
|
-
* @since 9.3.0
|
|
8524
|
-
* @default 'rgba(0, 0, 0, 0.75)'
|
|
8525
|
-
* @apioption annotations.fibonacciTimeZones.typeOptions.line.stroke
|
|
8526
|
-
*/
|
|
8527
|
-
stroke: 'rgba(0, 0, 0, 0.75)',
|
|
8528
|
-
/**
|
|
8529
|
-
* The width of the lines.
|
|
8530
|
-
*
|
|
8531
|
-
* @type {number}
|
|
8532
|
-
* @since 9.3.0
|
|
8533
|
-
* @default 1
|
|
8534
|
-
* @apioption annotations.fibonacciTimeZones.typeOptions.line.strokeWidth
|
|
8535
|
-
*/
|
|
8536
|
-
strokeWidth: 1,
|
|
8537
|
-
// Don't inherit fill (don't display in popup edit)
|
|
8538
|
-
fill: void 0
|
|
8539
|
-
},
|
|
8540
|
-
controlPointOptions: {
|
|
8541
|
-
positioner: function () {
|
|
8542
|
-
// The control point is in the middle of the second line
|
|
8543
|
-
const target = this.target, graphic = this.graphic, edgePoints = target.secondLineEdgePoints, args = { annotation: target }, firstEdgePointY = edgePoints[0](args).y, secondEdgePointY = edgePoints[1](args).y, plotLeft = this.chart.plotLeft, plotTop = this.chart.plotTop;
|
|
8544
|
-
let x = edgePoints[0](args).x, y = (firstEdgePointY + secondEdgePointY) / 2;
|
|
8545
|
-
if (this.chart.inverted) {
|
|
8546
|
-
[x, y] = [y, x];
|
|
8547
|
-
}
|
|
8548
|
-
return {
|
|
8549
|
-
x: plotLeft + x - (graphic.width || 0) / 2,
|
|
8550
|
-
y: plotTop + y - (graphic.height || 0) / 2
|
|
8551
|
-
};
|
|
8552
|
-
},
|
|
8553
|
-
events: {
|
|
8554
|
-
drag: function (e, target) {
|
|
8555
|
-
const isInsidePlot = target.chart.isInsidePlot(e.chartX - target.chart.plotLeft, e.chartY - target.chart.plotTop, {
|
|
8556
|
-
visiblePlotOnly: true
|
|
8557
|
-
});
|
|
8558
|
-
if (isInsidePlot) {
|
|
8559
|
-
const translation = this.mouseMoveToTranslation(e);
|
|
8560
|
-
target.translatePoint(translation.x, 0, 1);
|
|
8561
|
-
target.redraw(false);
|
|
8562
|
-
}
|
|
8563
|
-
}
|
|
8564
|
-
}
|
|
8565
|
-
}
|
|
8566
|
-
}
|
|
8567
|
-
});
|
|
8568
8653
|
Annotations_Annotation.types.fibonacciTimeZones = FibonacciTimeZones;
|
|
8569
8654
|
/* *
|
|
8570
8655
|
*
|
|
@@ -8582,9 +8667,48 @@ Annotations_Annotation.types.fibonacciTimeZones = FibonacciTimeZones;
|
|
|
8582
8667
|
|
|
8583
8668
|
|
|
8584
8669
|
|
|
8670
|
+
const { defaultOptions: Pitchfork_defaultOptions } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());
|
|
8671
|
+
|
|
8585
8672
|
|
|
8586
8673
|
|
|
8587
8674
|
const { merge: Pitchfork_merge } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());
|
|
8675
|
+
if (Pitchfork_defaultOptions.annotations) {
|
|
8676
|
+
Pitchfork_defaultOptions.annotations.types.pitchfork = Pitchfork_merge(Pitchfork_defaultOptions.annotations.types.infinityLine,
|
|
8677
|
+
/**
|
|
8678
|
+
* Options for the pitchfork annotation type.
|
|
8679
|
+
*
|
|
8680
|
+
* @sample highcharts/annotations-advanced/pitchfork/
|
|
8681
|
+
* Pitchfork
|
|
8682
|
+
*
|
|
8683
|
+
* @extends annotations.types.infinityLine
|
|
8684
|
+
* @product highstock
|
|
8685
|
+
* @optionparent annotations.types.pitchfork
|
|
8686
|
+
*/
|
|
8687
|
+
{
|
|
8688
|
+
typeOptions: {
|
|
8689
|
+
/**
|
|
8690
|
+
* Inner background options.
|
|
8691
|
+
*
|
|
8692
|
+
* @extends annotations.types.crookedLine.shapeOptions
|
|
8693
|
+
* @excluding height, r, type, width
|
|
8694
|
+
*/
|
|
8695
|
+
innerBackground: {
|
|
8696
|
+
fill: 'rgba(130, 170, 255, 0.4)',
|
|
8697
|
+
strokeWidth: 0
|
|
8698
|
+
},
|
|
8699
|
+
/**
|
|
8700
|
+
* Outer background options.
|
|
8701
|
+
*
|
|
8702
|
+
* @extends annotations.types.crookedLine.shapeOptions
|
|
8703
|
+
* @excluding height, r, type, width
|
|
8704
|
+
*/
|
|
8705
|
+
outerBackground: {
|
|
8706
|
+
fill: 'rgba(156, 229, 161, 0.4)',
|
|
8707
|
+
strokeWidth: 0
|
|
8708
|
+
}
|
|
8709
|
+
}
|
|
8710
|
+
});
|
|
8711
|
+
}
|
|
8588
8712
|
/* *
|
|
8589
8713
|
*
|
|
8590
8714
|
* Class
|
|
@@ -8701,48 +8825,8 @@ class Pitchfork extends Types_InfinityLine {
|
|
|
8701
8825
|
typeOptions.outerBackground = outerBackground.options;
|
|
8702
8826
|
}
|
|
8703
8827
|
}
|
|
8704
|
-
/* *
|
|
8705
|
-
*
|
|
8706
|
-
* Static Properties
|
|
8707
|
-
*
|
|
8708
|
-
* */
|
|
8709
8828
|
Pitchfork.topLineEdgePoint = Pitchfork.outerLineEdgePoint(1);
|
|
8710
8829
|
Pitchfork.bottomLineEdgePoint = Pitchfork.outerLineEdgePoint(0);
|
|
8711
|
-
Pitchfork.prototype.defaultOptions = Pitchfork_merge(Types_InfinityLine.prototype.defaultOptions,
|
|
8712
|
-
/**
|
|
8713
|
-
* A pitchfork annotation.
|
|
8714
|
-
*
|
|
8715
|
-
* @sample highcharts/annotations-advanced/pitchfork/
|
|
8716
|
-
* Pitchfork
|
|
8717
|
-
*
|
|
8718
|
-
* @extends annotations.infinityLine
|
|
8719
|
-
* @product highstock
|
|
8720
|
-
* @optionparent annotations.pitchfork
|
|
8721
|
-
*/
|
|
8722
|
-
{
|
|
8723
|
-
typeOptions: {
|
|
8724
|
-
/**
|
|
8725
|
-
* Inner background options.
|
|
8726
|
-
*
|
|
8727
|
-
* @extends annotations.crookedLine.shapeOptions
|
|
8728
|
-
* @excluding height, r, type, width
|
|
8729
|
-
*/
|
|
8730
|
-
innerBackground: {
|
|
8731
|
-
fill: 'rgba(130, 170, 255, 0.4)',
|
|
8732
|
-
strokeWidth: 0
|
|
8733
|
-
},
|
|
8734
|
-
/**
|
|
8735
|
-
* Outer background options.
|
|
8736
|
-
*
|
|
8737
|
-
* @extends annotations.crookedLine.shapeOptions
|
|
8738
|
-
* @excluding height, r, type, width
|
|
8739
|
-
*/
|
|
8740
|
-
outerBackground: {
|
|
8741
|
-
fill: 'rgba(156, 229, 161, 0.4)',
|
|
8742
|
-
strokeWidth: 0
|
|
8743
|
-
}
|
|
8744
|
-
}
|
|
8745
|
-
});
|
|
8746
8830
|
Annotations_Annotation.types.pitchfork = Pitchfork;
|
|
8747
8831
|
/* *
|
|
8748
8832
|
*
|
|
@@ -8760,19 +8844,71 @@ Annotations_Annotation.types.pitchfork = Pitchfork;
|
|
|
8760
8844
|
|
|
8761
8845
|
|
|
8762
8846
|
|
|
8847
|
+
const { defaultOptions: VerticalLine_defaultOptions } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());
|
|
8848
|
+
|
|
8763
8849
|
|
|
8764
8850
|
const { merge: VerticalLine_merge, pick: VerticalLine_pick } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());
|
|
8851
|
+
if (VerticalLine_defaultOptions.annotations) {
|
|
8852
|
+
/**
|
|
8853
|
+
* Options for the vertical line annotation type.
|
|
8854
|
+
*
|
|
8855
|
+
* @sample highcharts/annotations-advanced/vertical-line/
|
|
8856
|
+
* Vertical line
|
|
8857
|
+
*
|
|
8858
|
+
* @extends annotations.types.crookedLine
|
|
8859
|
+
* @excluding labels, shapes, controlPointOptions
|
|
8860
|
+
* @product highstock
|
|
8861
|
+
* @optionparent annotations.types.verticalLine
|
|
8862
|
+
*/
|
|
8863
|
+
VerticalLine_defaultOptions.annotations.types.verticalLine = {
|
|
8864
|
+
typeOptions: {
|
|
8865
|
+
/**
|
|
8866
|
+
* @ignore
|
|
8867
|
+
*/
|
|
8868
|
+
yOffset: 10,
|
|
8869
|
+
/**
|
|
8870
|
+
* Label options.
|
|
8871
|
+
*
|
|
8872
|
+
* @extends annotations.types.crookedLine.labelOptions
|
|
8873
|
+
*/
|
|
8874
|
+
label: {
|
|
8875
|
+
offset: -40,
|
|
8876
|
+
point: function (target) {
|
|
8877
|
+
return target.annotation.points[0];
|
|
8878
|
+
},
|
|
8879
|
+
allowOverlap: true,
|
|
8880
|
+
backgroundColor: 'none',
|
|
8881
|
+
borderWidth: 0,
|
|
8882
|
+
crop: true,
|
|
8883
|
+
overflow: 'none',
|
|
8884
|
+
shape: 'rect',
|
|
8885
|
+
text: '{y:.2f}'
|
|
8886
|
+
},
|
|
8887
|
+
/**
|
|
8888
|
+
* Connector options.
|
|
8889
|
+
*
|
|
8890
|
+
* @extends annotations.types.crookedLine.shapeOptions
|
|
8891
|
+
* @excluding height, r, type, width
|
|
8892
|
+
*/
|
|
8893
|
+
connector: {
|
|
8894
|
+
strokeWidth: 1,
|
|
8895
|
+
markerEnd: 'arrow'
|
|
8896
|
+
}
|
|
8897
|
+
},
|
|
8898
|
+
labelOptions: {
|
|
8899
|
+
style: {
|
|
8900
|
+
color: "#333333" /* Palette.neutralColor80 */,
|
|
8901
|
+
fontSize: '0.7em'
|
|
8902
|
+
}
|
|
8903
|
+
}
|
|
8904
|
+
};
|
|
8905
|
+
}
|
|
8765
8906
|
/* *
|
|
8766
8907
|
*
|
|
8767
8908
|
* Class
|
|
8768
8909
|
*
|
|
8769
8910
|
* */
|
|
8770
8911
|
class VerticalLine extends Annotations_Annotation {
|
|
8771
|
-
/* *
|
|
8772
|
-
*
|
|
8773
|
-
* Static Functions
|
|
8774
|
-
*
|
|
8775
|
-
* */
|
|
8776
8912
|
static connectorFirstPoint(target) {
|
|
8777
8913
|
const annotation = target.annotation, chart = annotation.chart, inverted = chart.inverted, point = annotation.points[0], left = VerticalLine_pick(point.series.yAxis && point.series.yAxis.left, 0), top = VerticalLine_pick(point.series.yAxis && point.series.yAxis.top, 0), offset = annotation.options.typeOptions.label.offset, y = Annotations_MockPoint.pointToPixels(point, true)[inverted ? 'x' : 'y'];
|
|
8778
8914
|
return {
|
|
@@ -8833,54 +8969,6 @@ class VerticalLine extends Annotations_Annotation {
|
|
|
8833
8969
|
typeOptions.label = label.options;
|
|
8834
8970
|
}
|
|
8835
8971
|
}
|
|
8836
|
-
VerticalLine.prototype.defaultOptions = VerticalLine_merge(Annotations_Annotation.prototype.defaultOptions,
|
|
8837
|
-
/**
|
|
8838
|
-
* A vertical line annotation.
|
|
8839
|
-
*
|
|
8840
|
-
* @sample highcharts/annotations-advanced/vertical-line/
|
|
8841
|
-
* Vertical line
|
|
8842
|
-
*
|
|
8843
|
-
* @extends annotations.crookedLine
|
|
8844
|
-
* @excluding labels, shapes, controlPointOptions
|
|
8845
|
-
* @product highstock
|
|
8846
|
-
* @optionparent annotations.verticalLine
|
|
8847
|
-
*/
|
|
8848
|
-
{
|
|
8849
|
-
typeOptions: {
|
|
8850
|
-
/**
|
|
8851
|
-
* @ignore
|
|
8852
|
-
*/
|
|
8853
|
-
yOffset: 10,
|
|
8854
|
-
/**
|
|
8855
|
-
* Label options.
|
|
8856
|
-
*
|
|
8857
|
-
* @extends annotations.crookedLine.labelOptions
|
|
8858
|
-
*/
|
|
8859
|
-
label: {
|
|
8860
|
-
offset: -40,
|
|
8861
|
-
point: function (target) {
|
|
8862
|
-
return target.annotation.points[0];
|
|
8863
|
-
},
|
|
8864
|
-
allowOverlap: true,
|
|
8865
|
-
backgroundColor: 'none',
|
|
8866
|
-
borderWidth: 0,
|
|
8867
|
-
crop: true,
|
|
8868
|
-
overflow: 'none',
|
|
8869
|
-
shape: 'rect',
|
|
8870
|
-
text: '{y:.2f}'
|
|
8871
|
-
},
|
|
8872
|
-
/**
|
|
8873
|
-
* Connector options.
|
|
8874
|
-
*
|
|
8875
|
-
* @extends annotations.crookedLine.shapeOptions
|
|
8876
|
-
* @excluding height, r, type, width
|
|
8877
|
-
*/
|
|
8878
|
-
connector: {
|
|
8879
|
-
strokeWidth: 1,
|
|
8880
|
-
markerEnd: 'arrow'
|
|
8881
|
-
}
|
|
8882
|
-
}
|
|
8883
|
-
});
|
|
8884
8972
|
Annotations_Annotation.types.verticalLine = VerticalLine;
|
|
8885
8973
|
/* *
|
|
8886
8974
|
*
|
|
@@ -8899,7 +8987,236 @@ Annotations_Annotation.types.verticalLine = VerticalLine;
|
|
|
8899
8987
|
|
|
8900
8988
|
|
|
8901
8989
|
|
|
8990
|
+
const { defaultOptions: Measure_defaultOptions } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());
|
|
8991
|
+
|
|
8902
8992
|
const { defined: Measure_defined, extend: Measure_extend, isNumber: Measure_isNumber, merge: Measure_merge, pick: Measure_pick } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());
|
|
8993
|
+
if (Measure_defaultOptions.annotations) {
|
|
8994
|
+
/**
|
|
8995
|
+
* Options for the measure annotation type.
|
|
8996
|
+
*
|
|
8997
|
+
* @extends annotations.types.crookedLine
|
|
8998
|
+
* @excluding labels, labelOptions, shapes, shapeOptions
|
|
8999
|
+
* @sample highcharts/annotations-advanced/measure/
|
|
9000
|
+
* Measure
|
|
9001
|
+
* @product highstock
|
|
9002
|
+
* @optionparent annotations.types.measure
|
|
9003
|
+
*/
|
|
9004
|
+
Measure_defaultOptions.annotations.types.measure = {
|
|
9005
|
+
typeOptions: {
|
|
9006
|
+
/**
|
|
9007
|
+
* Decides in what dimensions the user can resize by dragging the
|
|
9008
|
+
* mouse. Can be one of x, y or xy.
|
|
9009
|
+
*/
|
|
9010
|
+
selectType: 'xy',
|
|
9011
|
+
/**
|
|
9012
|
+
* This number defines which xAxis the point is connected to.
|
|
9013
|
+
* It refers to either the axis id or the index of the axis
|
|
9014
|
+
* in the xAxis array.
|
|
9015
|
+
*/
|
|
9016
|
+
xAxis: 0,
|
|
9017
|
+
/**
|
|
9018
|
+
* This number defines which yAxis the point is connected to.
|
|
9019
|
+
* It refers to either the axis id or the index of the axis
|
|
9020
|
+
* in the yAxis array.
|
|
9021
|
+
*/
|
|
9022
|
+
yAxis: 0,
|
|
9023
|
+
background: {
|
|
9024
|
+
/**
|
|
9025
|
+
* The color of the rectangle.
|
|
9026
|
+
*/
|
|
9027
|
+
fill: 'rgba(130, 170, 255, 0.4)',
|
|
9028
|
+
/**
|
|
9029
|
+
* The width of border.
|
|
9030
|
+
*/
|
|
9031
|
+
strokeWidth: 0,
|
|
9032
|
+
/**
|
|
9033
|
+
* The color of border.
|
|
9034
|
+
*/
|
|
9035
|
+
stroke: void 0
|
|
9036
|
+
},
|
|
9037
|
+
/**
|
|
9038
|
+
* Configure a crosshair that is horizontally placed in middle of
|
|
9039
|
+
* rectangle.
|
|
9040
|
+
*
|
|
9041
|
+
*/
|
|
9042
|
+
crosshairX: {
|
|
9043
|
+
/**
|
|
9044
|
+
* Enable or disable the horizontal crosshair.
|
|
9045
|
+
*
|
|
9046
|
+
*/
|
|
9047
|
+
enabled: true,
|
|
9048
|
+
/**
|
|
9049
|
+
* The Z index of the crosshair in annotation.
|
|
9050
|
+
*/
|
|
9051
|
+
zIndex: 6,
|
|
9052
|
+
/**
|
|
9053
|
+
* The dash or dot style of the crosshair's line. For possible
|
|
9054
|
+
* values, see
|
|
9055
|
+
* [this demonstration](https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/plotoptions/series-dashstyle-all/).
|
|
9056
|
+
*
|
|
9057
|
+
* @type {Highcharts.DashStyleValue}
|
|
9058
|
+
* @default Dash
|
|
9059
|
+
*/
|
|
9060
|
+
dashStyle: 'Dash',
|
|
9061
|
+
/**
|
|
9062
|
+
* The marker-end defines the arrowhead that will be drawn
|
|
9063
|
+
* at the final vertex of the given crosshair's path.
|
|
9064
|
+
*
|
|
9065
|
+
* @type {string}
|
|
9066
|
+
* @default arrow
|
|
9067
|
+
*/
|
|
9068
|
+
markerEnd: 'arrow'
|
|
9069
|
+
},
|
|
9070
|
+
/**
|
|
9071
|
+
* Configure a crosshair that is vertically placed in middle of
|
|
9072
|
+
* rectangle.
|
|
9073
|
+
*/
|
|
9074
|
+
crosshairY: {
|
|
9075
|
+
/**
|
|
9076
|
+
* Enable or disable the vertical crosshair.
|
|
9077
|
+
*
|
|
9078
|
+
*/
|
|
9079
|
+
enabled: true,
|
|
9080
|
+
/**
|
|
9081
|
+
* The Z index of the crosshair in annotation.
|
|
9082
|
+
*/
|
|
9083
|
+
zIndex: 6,
|
|
9084
|
+
/**
|
|
9085
|
+
* The dash or dot style of the crosshair's line. For possible
|
|
9086
|
+
* values, see
|
|
9087
|
+
* [this demonstration](https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/plotoptions/series-dashstyle-all/).
|
|
9088
|
+
*
|
|
9089
|
+
* @type {Highcharts.DashStyleValue}
|
|
9090
|
+
* @default Dash
|
|
9091
|
+
* @apioption annotations.types.measure.typeOptions.crosshairY.dashStyle
|
|
9092
|
+
*
|
|
9093
|
+
*/
|
|
9094
|
+
dashStyle: 'Dash',
|
|
9095
|
+
/**
|
|
9096
|
+
* The marker-end defines the arrowhead that will be drawn
|
|
9097
|
+
* at the final vertex of the given crosshair's path.
|
|
9098
|
+
*
|
|
9099
|
+
* @type {string}
|
|
9100
|
+
* @default arrow
|
|
9101
|
+
* @validvalue ["none", "arrow"]
|
|
9102
|
+
*
|
|
9103
|
+
*/
|
|
9104
|
+
markerEnd: 'arrow'
|
|
9105
|
+
},
|
|
9106
|
+
label: {
|
|
9107
|
+
/**
|
|
9108
|
+
* Enable or disable the label text (min, max, average,
|
|
9109
|
+
* bins values).
|
|
9110
|
+
*
|
|
9111
|
+
* Defaults to true.
|
|
9112
|
+
*/
|
|
9113
|
+
enabled: true,
|
|
9114
|
+
/**
|
|
9115
|
+
* CSS styles for the measure label.
|
|
9116
|
+
*
|
|
9117
|
+
* @type {Highcharts.CSSObject}
|
|
9118
|
+
* @default {"color": "#666666", "fontSize": "11px"}
|
|
9119
|
+
*/
|
|
9120
|
+
style: {
|
|
9121
|
+
fontSize: '0.7em',
|
|
9122
|
+
color: "#333333" /* Palette.neutralColor80 */
|
|
9123
|
+
},
|
|
9124
|
+
/**
|
|
9125
|
+
* Formatter function for the label text.
|
|
9126
|
+
*
|
|
9127
|
+
* Available data are:
|
|
9128
|
+
*
|
|
9129
|
+
* <table>
|
|
9130
|
+
*
|
|
9131
|
+
* <tbody>
|
|
9132
|
+
*
|
|
9133
|
+
* <tr>
|
|
9134
|
+
*
|
|
9135
|
+
* <td>`this.min`</td>
|
|
9136
|
+
*
|
|
9137
|
+
* <td>The minimum value of the points in the selected
|
|
9138
|
+
* range.</td>
|
|
9139
|
+
*
|
|
9140
|
+
* </tr>
|
|
9141
|
+
*
|
|
9142
|
+
* <tr>
|
|
9143
|
+
*
|
|
9144
|
+
* <td>`this.max`</td>
|
|
9145
|
+
*
|
|
9146
|
+
* <td>The maximum value of the points in the selected
|
|
9147
|
+
* range.</td>
|
|
9148
|
+
*
|
|
9149
|
+
* </tr>
|
|
9150
|
+
*
|
|
9151
|
+
* <tr>
|
|
9152
|
+
*
|
|
9153
|
+
* <td>`this.average`</td>
|
|
9154
|
+
*
|
|
9155
|
+
* <td>The average value of the points in the selected
|
|
9156
|
+
* range.</td>
|
|
9157
|
+
*
|
|
9158
|
+
* </tr>
|
|
9159
|
+
*
|
|
9160
|
+
* <tr>
|
|
9161
|
+
*
|
|
9162
|
+
* <td>`this.bins`</td>
|
|
9163
|
+
*
|
|
9164
|
+
* <td>The amount of the points in the selected range.</td>
|
|
9165
|
+
*
|
|
9166
|
+
* </tr>
|
|
9167
|
+
*
|
|
9168
|
+
* </table>
|
|
9169
|
+
*
|
|
9170
|
+
* @type {Function}
|
|
9171
|
+
*
|
|
9172
|
+
*/
|
|
9173
|
+
formatter: void 0
|
|
9174
|
+
}
|
|
9175
|
+
},
|
|
9176
|
+
controlPointOptions: {
|
|
9177
|
+
positioner: function (target) {
|
|
9178
|
+
const cpIndex = this.index, chart = target.chart, options = target.options, typeOptions = options.typeOptions, selectType = typeOptions.selectType, controlPointOptions = options.controlPointOptions, inverted = chart.inverted, xAxis = chart.xAxis[typeOptions.xAxis], yAxis = chart.yAxis[typeOptions.yAxis], ext = getExtremes(target.xAxisMin, target.xAxisMax, target.yAxisMin, target.yAxisMax);
|
|
9179
|
+
let targetX = target.xAxisMax, targetY = target.yAxisMax, x, y;
|
|
9180
|
+
if (selectType === 'x') {
|
|
9181
|
+
targetY = (ext.yAxisMax + ext.yAxisMin) / 2;
|
|
9182
|
+
// First control point
|
|
9183
|
+
if (cpIndex === 0) {
|
|
9184
|
+
targetX = target.xAxisMin;
|
|
9185
|
+
}
|
|
9186
|
+
}
|
|
9187
|
+
if (selectType === 'y') {
|
|
9188
|
+
targetX = ext.xAxisMin +
|
|
9189
|
+
((ext.xAxisMax - ext.xAxisMin) / 2);
|
|
9190
|
+
// First control point
|
|
9191
|
+
if (cpIndex === 0) {
|
|
9192
|
+
targetY = target.yAxisMin;
|
|
9193
|
+
}
|
|
9194
|
+
}
|
|
9195
|
+
if (inverted) {
|
|
9196
|
+
x = yAxis.toPixels(targetY);
|
|
9197
|
+
y = xAxis.toPixels(targetX);
|
|
9198
|
+
}
|
|
9199
|
+
else {
|
|
9200
|
+
x = xAxis.toPixels(targetX);
|
|
9201
|
+
y = yAxis.toPixels(targetY);
|
|
9202
|
+
}
|
|
9203
|
+
return {
|
|
9204
|
+
x: x - (controlPointOptions.width / 2),
|
|
9205
|
+
y: y - (controlPointOptions.height / 2)
|
|
9206
|
+
};
|
|
9207
|
+
},
|
|
9208
|
+
events: {
|
|
9209
|
+
drag: function (e, target) {
|
|
9210
|
+
const translation = this.mouseMoveToTranslation(e), selectType = target.options.typeOptions.selectType, index = this.index, x = selectType === 'y' ? 0 : translation.x, y = selectType === 'x' ? 0 : translation.y;
|
|
9211
|
+
target.resize(x, y, index, selectType);
|
|
9212
|
+
target.resizeX += x;
|
|
9213
|
+
target.resizeY += y;
|
|
9214
|
+
target.redraw(false, true);
|
|
9215
|
+
}
|
|
9216
|
+
}
|
|
9217
|
+
}
|
|
9218
|
+
};
|
|
9219
|
+
}
|
|
8903
9220
|
/* *
|
|
8904
9221
|
*
|
|
8905
9222
|
*
|
|
@@ -9468,232 +9785,6 @@ class Measure extends Annotations_Annotation {
|
|
|
9468
9785
|
this.shapes.forEach((item) => item.translate(dx, dy));
|
|
9469
9786
|
}
|
|
9470
9787
|
}
|
|
9471
|
-
Measure.prototype.defaultOptions = Measure_merge(Annotations_Annotation.prototype.defaultOptions,
|
|
9472
|
-
/**
|
|
9473
|
-
* A measure annotation.
|
|
9474
|
-
*
|
|
9475
|
-
* @extends annotations.crookedLine
|
|
9476
|
-
* @excluding labels, labelOptions, shapes, shapeOptions
|
|
9477
|
-
* @sample highcharts/annotations-advanced/measure/
|
|
9478
|
-
* Measure
|
|
9479
|
-
* @product highstock
|
|
9480
|
-
* @optionparent annotations.measure
|
|
9481
|
-
*/
|
|
9482
|
-
{
|
|
9483
|
-
typeOptions: {
|
|
9484
|
-
/**
|
|
9485
|
-
* Decides in what dimensions the user can resize by dragging the
|
|
9486
|
-
* mouse. Can be one of x, y or xy.
|
|
9487
|
-
*/
|
|
9488
|
-
selectType: 'xy',
|
|
9489
|
-
/**
|
|
9490
|
-
* This number defines which xAxis the point is connected to.
|
|
9491
|
-
* It refers to either the axis id or the index of the axis
|
|
9492
|
-
* in the xAxis array.
|
|
9493
|
-
*/
|
|
9494
|
-
xAxis: 0,
|
|
9495
|
-
/**
|
|
9496
|
-
* This number defines which yAxis the point is connected to.
|
|
9497
|
-
* It refers to either the axis id or the index of the axis
|
|
9498
|
-
* in the yAxis array.
|
|
9499
|
-
*/
|
|
9500
|
-
yAxis: 0,
|
|
9501
|
-
background: {
|
|
9502
|
-
/**
|
|
9503
|
-
* The color of the rectangle.
|
|
9504
|
-
*/
|
|
9505
|
-
fill: 'rgba(130, 170, 255, 0.4)',
|
|
9506
|
-
/**
|
|
9507
|
-
* The width of border.
|
|
9508
|
-
*/
|
|
9509
|
-
strokeWidth: 0,
|
|
9510
|
-
/**
|
|
9511
|
-
* The color of border.
|
|
9512
|
-
*/
|
|
9513
|
-
stroke: void 0
|
|
9514
|
-
},
|
|
9515
|
-
/**
|
|
9516
|
-
* Configure a crosshair that is horizontally placed in middle of
|
|
9517
|
-
* rectangle.
|
|
9518
|
-
*
|
|
9519
|
-
*/
|
|
9520
|
-
crosshairX: {
|
|
9521
|
-
/**
|
|
9522
|
-
* Enable or disable the horizontal crosshair.
|
|
9523
|
-
*
|
|
9524
|
-
*/
|
|
9525
|
-
enabled: true,
|
|
9526
|
-
/**
|
|
9527
|
-
* The Z index of the crosshair in annotation.
|
|
9528
|
-
*/
|
|
9529
|
-
zIndex: 6,
|
|
9530
|
-
/**
|
|
9531
|
-
* The dash or dot style of the crosshair's line. For possible
|
|
9532
|
-
* values, see
|
|
9533
|
-
* [this demonstration](https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/plotoptions/series-dashstyle-all/).
|
|
9534
|
-
*
|
|
9535
|
-
* @type {Highcharts.DashStyleValue}
|
|
9536
|
-
* @default Dash
|
|
9537
|
-
*/
|
|
9538
|
-
dashStyle: 'Dash',
|
|
9539
|
-
/**
|
|
9540
|
-
* The marker-end defines the arrowhead that will be drawn
|
|
9541
|
-
* at the final vertex of the given crosshair's path.
|
|
9542
|
-
*
|
|
9543
|
-
* @type {string}
|
|
9544
|
-
* @default arrow
|
|
9545
|
-
*/
|
|
9546
|
-
markerEnd: 'arrow'
|
|
9547
|
-
},
|
|
9548
|
-
/**
|
|
9549
|
-
* Configure a crosshair that is vertically placed in middle of
|
|
9550
|
-
* rectangle.
|
|
9551
|
-
*/
|
|
9552
|
-
crosshairY: {
|
|
9553
|
-
/**
|
|
9554
|
-
* Enable or disable the vertical crosshair.
|
|
9555
|
-
*
|
|
9556
|
-
*/
|
|
9557
|
-
enabled: true,
|
|
9558
|
-
/**
|
|
9559
|
-
* The Z index of the crosshair in annotation.
|
|
9560
|
-
*/
|
|
9561
|
-
zIndex: 6,
|
|
9562
|
-
/**
|
|
9563
|
-
* The dash or dot style of the crosshair's line. For possible
|
|
9564
|
-
* values, see
|
|
9565
|
-
* [this demonstration](https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/plotoptions/series-dashstyle-all/).
|
|
9566
|
-
*
|
|
9567
|
-
* @type {Highcharts.DashStyleValue}
|
|
9568
|
-
* @default Dash
|
|
9569
|
-
* @apioption annotations.measure.typeOptions.crosshairY.dashStyle
|
|
9570
|
-
*
|
|
9571
|
-
*/
|
|
9572
|
-
dashStyle: 'Dash',
|
|
9573
|
-
/**
|
|
9574
|
-
* The marker-end defines the arrowhead that will be drawn
|
|
9575
|
-
* at the final vertex of the given crosshair's path.
|
|
9576
|
-
*
|
|
9577
|
-
* @type {string}
|
|
9578
|
-
* @default arrow
|
|
9579
|
-
* @validvalue ["none", "arrow"]
|
|
9580
|
-
*
|
|
9581
|
-
*/
|
|
9582
|
-
markerEnd: 'arrow'
|
|
9583
|
-
},
|
|
9584
|
-
label: {
|
|
9585
|
-
/**
|
|
9586
|
-
* Enable or disable the label text (min, max, average,
|
|
9587
|
-
* bins values).
|
|
9588
|
-
*
|
|
9589
|
-
* Defaults to true.
|
|
9590
|
-
*/
|
|
9591
|
-
enabled: true,
|
|
9592
|
-
/**
|
|
9593
|
-
* CSS styles for the measure label.
|
|
9594
|
-
*
|
|
9595
|
-
* @type {Highcharts.CSSObject}
|
|
9596
|
-
* @default {"color": "#666666", "fontSize": "11px"}
|
|
9597
|
-
*/
|
|
9598
|
-
style: {
|
|
9599
|
-
fontSize: '0.7em',
|
|
9600
|
-
color: "#666666" /* Palette.neutralColor60 */
|
|
9601
|
-
},
|
|
9602
|
-
/**
|
|
9603
|
-
* Formatter function for the label text.
|
|
9604
|
-
*
|
|
9605
|
-
* Available data are:
|
|
9606
|
-
*
|
|
9607
|
-
* <table>
|
|
9608
|
-
*
|
|
9609
|
-
* <tbody>
|
|
9610
|
-
*
|
|
9611
|
-
* <tr>
|
|
9612
|
-
*
|
|
9613
|
-
* <td>`this.min`</td>
|
|
9614
|
-
*
|
|
9615
|
-
* <td>The minimum value of the points in the selected
|
|
9616
|
-
* range.</td>
|
|
9617
|
-
*
|
|
9618
|
-
* </tr>
|
|
9619
|
-
*
|
|
9620
|
-
* <tr>
|
|
9621
|
-
*
|
|
9622
|
-
* <td>`this.max`</td>
|
|
9623
|
-
*
|
|
9624
|
-
* <td>The maximum value of the points in the selected
|
|
9625
|
-
* range.</td>
|
|
9626
|
-
*
|
|
9627
|
-
* </tr>
|
|
9628
|
-
*
|
|
9629
|
-
* <tr>
|
|
9630
|
-
*
|
|
9631
|
-
* <td>`this.average`</td>
|
|
9632
|
-
*
|
|
9633
|
-
* <td>The average value of the points in the selected
|
|
9634
|
-
* range.</td>
|
|
9635
|
-
*
|
|
9636
|
-
* </tr>
|
|
9637
|
-
*
|
|
9638
|
-
* <tr>
|
|
9639
|
-
*
|
|
9640
|
-
* <td>`this.bins`</td>
|
|
9641
|
-
*
|
|
9642
|
-
* <td>The amount of the points in the selected range.</td>
|
|
9643
|
-
*
|
|
9644
|
-
* </tr>
|
|
9645
|
-
*
|
|
9646
|
-
* </table>
|
|
9647
|
-
*
|
|
9648
|
-
* @type {Function}
|
|
9649
|
-
*
|
|
9650
|
-
*/
|
|
9651
|
-
formatter: void 0
|
|
9652
|
-
}
|
|
9653
|
-
},
|
|
9654
|
-
controlPointOptions: {
|
|
9655
|
-
positioner: function (target) {
|
|
9656
|
-
const cpIndex = this.index, chart = target.chart, options = target.options, typeOptions = options.typeOptions, selectType = typeOptions.selectType, controlPointOptions = options.controlPointOptions, inverted = chart.inverted, xAxis = chart.xAxis[typeOptions.xAxis], yAxis = chart.yAxis[typeOptions.yAxis], ext = getExtremes(target.xAxisMin, target.xAxisMax, target.yAxisMin, target.yAxisMax);
|
|
9657
|
-
let targetX = target.xAxisMax, targetY = target.yAxisMax, x, y;
|
|
9658
|
-
if (selectType === 'x') {
|
|
9659
|
-
targetY = (ext.yAxisMax + ext.yAxisMin) / 2;
|
|
9660
|
-
// First control point
|
|
9661
|
-
if (cpIndex === 0) {
|
|
9662
|
-
targetX = target.xAxisMin;
|
|
9663
|
-
}
|
|
9664
|
-
}
|
|
9665
|
-
if (selectType === 'y') {
|
|
9666
|
-
targetX = ext.xAxisMin +
|
|
9667
|
-
((ext.xAxisMax - ext.xAxisMin) / 2);
|
|
9668
|
-
// First control point
|
|
9669
|
-
if (cpIndex === 0) {
|
|
9670
|
-
targetY = target.yAxisMin;
|
|
9671
|
-
}
|
|
9672
|
-
}
|
|
9673
|
-
if (inverted) {
|
|
9674
|
-
x = yAxis.toPixels(targetY);
|
|
9675
|
-
y = xAxis.toPixels(targetX);
|
|
9676
|
-
}
|
|
9677
|
-
else {
|
|
9678
|
-
x = xAxis.toPixels(targetX);
|
|
9679
|
-
y = yAxis.toPixels(targetY);
|
|
9680
|
-
}
|
|
9681
|
-
return {
|
|
9682
|
-
x: x - (controlPointOptions.width / 2),
|
|
9683
|
-
y: y - (controlPointOptions.height / 2)
|
|
9684
|
-
};
|
|
9685
|
-
},
|
|
9686
|
-
events: {
|
|
9687
|
-
drag: function (e, target) {
|
|
9688
|
-
const translation = this.mouseMoveToTranslation(e), selectType = target.options.typeOptions.selectType, index = this.index, x = selectType === 'y' ? 0 : translation.x, y = selectType === 'x' ? 0 : translation.y;
|
|
9689
|
-
target.resize(x, y, index, selectType);
|
|
9690
|
-
target.resizeX += x;
|
|
9691
|
-
target.resizeY += y;
|
|
9692
|
-
target.redraw(false, true);
|
|
9693
|
-
}
|
|
9694
|
-
}
|
|
9695
|
-
}
|
|
9696
|
-
});
|
|
9697
9788
|
Annotations_Annotation.types.measure = Measure;
|
|
9698
9789
|
/* *
|
|
9699
9790
|
*
|
|
@@ -9704,7 +9795,7 @@ Annotations_Annotation.types.measure = Measure;
|
|
|
9704
9795
|
|
|
9705
9796
|
;// ./code/es-modules/masters/modules/annotations-advanced.src.js
|
|
9706
9797
|
/**
|
|
9707
|
-
* @license Highcharts JS v12.
|
|
9798
|
+
* @license Highcharts JS v12.3.0 (2025-06-21)
|
|
9708
9799
|
* @module highcharts/modules/annotations-advanced
|
|
9709
9800
|
* @requires highcharts
|
|
9710
9801
|
*
|