@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-advanced
|
|
4
4
|
* @requires highcharts
|
|
5
5
|
*
|
|
@@ -68,7 +68,7 @@ var x = (y) => {
|
|
|
68
68
|
* */
|
|
69
69
|
|
|
70
70
|
|
|
71
|
-
const { addEvent, erase, find, fireEvent, pick, wrap } = (external_highcharts_src_js_default_default());
|
|
71
|
+
const { addEvent, erase, find, fireEvent, isArray, isObject, pick, wrap } = (external_highcharts_src_js_default_default());
|
|
72
72
|
/* *
|
|
73
73
|
*
|
|
74
74
|
* Functions
|
|
@@ -276,11 +276,15 @@ function chartRemoveAnnotation(idOrAnnotation) {
|
|
|
276
276
|
* @private
|
|
277
277
|
*/
|
|
278
278
|
function onChartAfterInit() {
|
|
279
|
-
const chart = this;
|
|
279
|
+
const chart = this, annotationsOption = this.options.annotations, annotationsUserOption = this.userOptions.annotations;
|
|
280
280
|
chart.annotations = [];
|
|
281
|
-
if (!this.options.annotations) {
|
|
281
|
+
if (!isArray(this.options.annotations)) {
|
|
282
282
|
this.options.annotations = [];
|
|
283
283
|
}
|
|
284
|
+
if (isObject(annotationsUserOption, true) &&
|
|
285
|
+
isObject(annotationsOption, true)) {
|
|
286
|
+
this.options.annotations.push(annotationsOption);
|
|
287
|
+
}
|
|
284
288
|
}
|
|
285
289
|
/**
|
|
286
290
|
* @private
|
|
@@ -351,20 +355,25 @@ const { defined } = (external_highcharts_src_js_default_default());
|
|
|
351
355
|
*
|
|
352
356
|
* */
|
|
353
357
|
/**
|
|
354
|
-
* A
|
|
355
|
-
* or shapes. The items can be tied to points, axis
|
|
356
|
-
* or chart pixel coordinates.
|
|
357
|
-
*
|
|
358
|
-
*
|
|
359
|
-
*
|
|
360
|
-
*
|
|
361
|
-
*
|
|
362
|
-
*
|
|
363
|
-
*
|
|
364
|
-
*
|
|
365
|
-
*
|
|
358
|
+
* A collection of annotations to add to the chart. The basic annotation allows
|
|
359
|
+
* adding custom labels or shapes. The items can be tied to points, axis
|
|
360
|
+
* coordinates or chart pixel coordinates.
|
|
361
|
+
*
|
|
362
|
+
* General options for all annotations can be set using the
|
|
363
|
+
* `Highcharts.setOptions` function. In this case only single objects are
|
|
364
|
+
* supported, because it alters the defaults for all items. For initialization
|
|
365
|
+
* in the chart constructors however, arrays of annotations are supported.
|
|
366
|
+
*
|
|
367
|
+
* See more in the [general docs](https://www.highcharts.com/docs/advanced-chart-features/annotations).
|
|
368
|
+
*
|
|
369
|
+
* @sample highcharts/annotations/basic/ Basic annotations
|
|
370
|
+
* @sample highcharts/demo/annotations/ Annotated chart
|
|
371
|
+
* @sample highcharts/css/annotations Styled mode
|
|
372
|
+
* @sample highcharts/annotations-advanced/controllable Controllable items
|
|
366
373
|
* @sample {highstock} stock/annotations/fibonacci-retracements
|
|
367
374
|
* Custom annotation, Fibonacci retracement
|
|
375
|
+
* @sample highcharts/annotations/shape/
|
|
376
|
+
* Themed crooked line annotation
|
|
368
377
|
*
|
|
369
378
|
* @type {Array<*>}
|
|
370
379
|
* @since 6.0.0
|
|
@@ -380,6 +389,17 @@ const AnnotationDefaults = {
|
|
|
380
389
|
* @type {number|string}
|
|
381
390
|
* @apioption annotations.id
|
|
382
391
|
*/
|
|
392
|
+
/**
|
|
393
|
+
* For advanced annotations, this option defines the type of annotation. Can
|
|
394
|
+
* be one of the keys listed under the [types option](#annotations.types).
|
|
395
|
+
*
|
|
396
|
+
* @sample highcharts/annotations-advanced/crooked-line
|
|
397
|
+
* Crooked line annotation
|
|
398
|
+
* @requires modules/annotations-advanced
|
|
399
|
+
* @product highstock
|
|
400
|
+
* @type {string}
|
|
401
|
+
* @apioption annotations.type
|
|
402
|
+
*/
|
|
383
403
|
/**
|
|
384
404
|
* Whether the annotation is visible.
|
|
385
405
|
*
|
|
@@ -962,11 +982,21 @@ const AnnotationDefaults = {
|
|
|
962
982
|
* @requires modules/annotations
|
|
963
983
|
*/
|
|
964
984
|
events: {},
|
|
985
|
+
/**
|
|
986
|
+
* Option override for specific advanced annotation types. This collection
|
|
987
|
+
* is intended for general theming using `Highcharts.setOptions()`.
|
|
988
|
+
*
|
|
989
|
+
* @sample highcharts/annotations/shape/
|
|
990
|
+
* Themed crooked line annotation
|
|
991
|
+
* @product highstock
|
|
992
|
+
* @requires modules/annotations-advanced
|
|
993
|
+
*/
|
|
994
|
+
types: {},
|
|
965
995
|
/**
|
|
966
996
|
* The Z index of the annotation.
|
|
967
997
|
*/
|
|
968
998
|
zIndex: 6
|
|
969
|
-
};
|
|
999
|
+
};
|
|
970
1000
|
/* *
|
|
971
1001
|
*
|
|
972
1002
|
* Default Export
|
|
@@ -3402,15 +3432,22 @@ class ControllableLabel extends Controllables_Controllable {
|
|
|
3402
3432
|
labelOptions[this.collection][this.index].y = this.options.y;
|
|
3403
3433
|
}
|
|
3404
3434
|
render(parent) {
|
|
3405
|
-
const options = this.options, attrs = this.attrsFromOptions(options), style = options.style
|
|
3435
|
+
const options = this.options, attrs = this.attrsFromOptions(options), style = options.style, optionsChart = this.annotation.chart.options.chart, chartBackground = optionsChart.plotBackgroundColor ||
|
|
3436
|
+
optionsChart.backgroundColor;
|
|
3406
3437
|
this.graphic = this.annotation.chart.renderer
|
|
3407
3438
|
.label('', 0, -9999, // #10055
|
|
3408
|
-
options.shape,
|
|
3439
|
+
options.shape, void 0, void 0, options.useHTML, void 0, 'annotation-label')
|
|
3409
3440
|
.attr(attrs)
|
|
3410
3441
|
.add(parent);
|
|
3411
3442
|
if (!this.annotation.chart.styledMode) {
|
|
3412
3443
|
if (style.color === 'contrast') {
|
|
3413
|
-
|
|
3444
|
+
const background = (ControllableLabel.shapesWithoutBackground.indexOf(options.shape) > -1 ||
|
|
3445
|
+
options.backgroundColor === 'none') ?
|
|
3446
|
+
chartBackground :
|
|
3447
|
+
options.backgroundColor;
|
|
3448
|
+
style.color = this.annotation.chart.renderer.getContrast(typeof background === 'string' ? background :
|
|
3449
|
+
typeof chartBackground === 'string' ? chartBackground :
|
|
3450
|
+
'#ffffff');
|
|
3414
3451
|
}
|
|
3415
3452
|
this.graphic
|
|
3416
3453
|
.css(options.style)
|
|
@@ -3719,9 +3756,12 @@ class BaseForm {
|
|
|
3719
3756
|
const popup = this, iconsURL = this.iconsURL;
|
|
3720
3757
|
// Create close popup button.
|
|
3721
3758
|
const closeButton = createElement('button', { className }, void 0, this.container);
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
|
|
3759
|
+
createElement('span', {
|
|
3760
|
+
className: 'highcharts-icon'
|
|
3761
|
+
}, {
|
|
3762
|
+
backgroundImage: 'url(' + (iconsURL.match(/png|svg|jpeg|jpg|gif/ig) ?
|
|
3763
|
+
iconsURL : iconsURL + 'close.svg') + ')'
|
|
3764
|
+
}, closeButton);
|
|
3725
3765
|
['click', 'touchstart'].forEach((eventName) => {
|
|
3726
3766
|
BaseForm_addEvent(closeButton, eventName, popup.closeButtonEvents.bind(popup));
|
|
3727
3767
|
});
|
|
@@ -3792,7 +3832,7 @@ class BaseForm {
|
|
|
3792
3832
|
|
|
3793
3833
|
const { doc: PopupAnnotations_doc, isFirefox } = (external_highcharts_src_js_default_default());
|
|
3794
3834
|
|
|
3795
|
-
const { createElement: PopupAnnotations_createElement, isArray, isObject, objectEach: PopupAnnotations_objectEach, pick: PopupAnnotations_pick, stableSort } = (external_highcharts_src_js_default_default());
|
|
3835
|
+
const { createElement: PopupAnnotations_createElement, isArray: PopupAnnotations_isArray, isObject: PopupAnnotations_isObject, objectEach: PopupAnnotations_objectEach, pick: PopupAnnotations_pick, stableSort } = (external_highcharts_src_js_default_default());
|
|
3796
3836
|
/* *
|
|
3797
3837
|
*
|
|
3798
3838
|
* Functions
|
|
@@ -3866,12 +3906,18 @@ function addToolbar(chart, options, callback) {
|
|
|
3866
3906
|
showForm.call(this, 'annotation-edit', chart, options, callback);
|
|
3867
3907
|
});
|
|
3868
3908
|
button.className += ' highcharts-annotation-edit-button';
|
|
3869
|
-
|
|
3870
|
-
|
|
3909
|
+
PopupAnnotations_createElement('span', {
|
|
3910
|
+
className: 'highcharts-icon'
|
|
3911
|
+
}, {
|
|
3912
|
+
backgroundImage: `url(${this.iconsURL}edit.svg)`
|
|
3913
|
+
}, button);
|
|
3871
3914
|
button = this.addButton(popupDiv, lang.removeButton || 'Remove', 'remove', popupDiv, callback);
|
|
3872
3915
|
button.className += ' highcharts-annotation-remove-button';
|
|
3873
|
-
|
|
3874
|
-
|
|
3916
|
+
PopupAnnotations_createElement('span', {
|
|
3917
|
+
className: 'highcharts-icon'
|
|
3918
|
+
}, {
|
|
3919
|
+
backgroundImage: `url(${this.iconsURL}destroy.svg)`
|
|
3920
|
+
}, button);
|
|
3875
3921
|
}
|
|
3876
3922
|
/**
|
|
3877
3923
|
* Create annotation's form fields.
|
|
@@ -3898,12 +3944,12 @@ function addFormFields(parentDiv, chart, parentNode, options, storage, isRoot) {
|
|
|
3898
3944
|
PopupAnnotations_objectEach(options, (value, option) => {
|
|
3899
3945
|
// Create name like params.styles.fontSize
|
|
3900
3946
|
parentFullName = parentNode !== '' ? parentNode + '.' + option : option;
|
|
3901
|
-
if (
|
|
3947
|
+
if (PopupAnnotations_isObject(value)) {
|
|
3902
3948
|
if (
|
|
3903
3949
|
// Value is object of options
|
|
3904
|
-
!
|
|
3950
|
+
!PopupAnnotations_isArray(value) ||
|
|
3905
3951
|
// Array of objects with params. i.e labels in Fibonacci
|
|
3906
|
-
(
|
|
3952
|
+
(PopupAnnotations_isArray(value) && PopupAnnotations_isObject(value[0]))) {
|
|
3907
3953
|
titleName = lang[option] || option;
|
|
3908
3954
|
if (!titleName.match(/\d/g)) {
|
|
3909
3955
|
storage.push([
|
|
@@ -4994,7 +5040,7 @@ function onNavigationBindingsShowPopup(config) {
|
|
|
4994
5040
|
this.popup = new Popup_Popup(this.chart.container, (this.chart.options.navigation.iconsURL ||
|
|
4995
5041
|
(this.chart.options.stockTools &&
|
|
4996
5042
|
this.chart.options.stockTools.gui.iconsURL) ||
|
|
4997
|
-
'https://code.highcharts.com/12.
|
|
5043
|
+
'https://code.highcharts.com/12.3.0/gfx/stock-icons/'), this.chart);
|
|
4998
5044
|
}
|
|
4999
5045
|
this.popup.showForm(config.formType, this.chart, config.options, config.onSubmit);
|
|
5000
5046
|
}
|
|
@@ -5043,6 +5089,8 @@ const { getDeferredAnimation } = (external_highcharts_src_js_default_default());
|
|
|
5043
5089
|
|
|
5044
5090
|
|
|
5045
5091
|
|
|
5092
|
+
const { defaultOptions } = (external_highcharts_src_js_default_default());
|
|
5093
|
+
|
|
5046
5094
|
|
|
5047
5095
|
|
|
5048
5096
|
|
|
@@ -5173,7 +5221,7 @@ class Annotation extends Annotations_EventEmitter {
|
|
|
5173
5221
|
* @name Highcharts.Annotation#options
|
|
5174
5222
|
* @type {Highcharts.AnnotationsOptions}
|
|
5175
5223
|
*/
|
|
5176
|
-
this.
|
|
5224
|
+
this.setOptions(userOptions);
|
|
5177
5225
|
/**
|
|
5178
5226
|
* The user options for the annotations.
|
|
5179
5227
|
*
|
|
@@ -5514,7 +5562,12 @@ class Annotation extends Annotations_EventEmitter {
|
|
|
5514
5562
|
* User options for an annotation
|
|
5515
5563
|
*/
|
|
5516
5564
|
setOptions(userOptions) {
|
|
5517
|
-
this.options = Annotation_merge(
|
|
5565
|
+
this.options = Annotation_merge(
|
|
5566
|
+
// Shared for all annotation types
|
|
5567
|
+
this.defaultOptions,
|
|
5568
|
+
// The static typeOptions from the class
|
|
5569
|
+
(userOptions.type &&
|
|
5570
|
+
this.defaultOptions.types[userOptions.type]) || {}, userOptions);
|
|
5518
5571
|
}
|
|
5519
5572
|
/**
|
|
5520
5573
|
* Set the annotation's visibility.
|
|
@@ -5566,11 +5619,6 @@ class Annotation extends Annotations_EventEmitter {
|
|
|
5566
5619
|
this.isUpdating = false;
|
|
5567
5620
|
}
|
|
5568
5621
|
}
|
|
5569
|
-
/* *
|
|
5570
|
-
*
|
|
5571
|
-
* Static Properties
|
|
5572
|
-
*
|
|
5573
|
-
* */
|
|
5574
5622
|
/**
|
|
5575
5623
|
* @private
|
|
5576
5624
|
*/
|
|
@@ -5598,6 +5646,7 @@ Annotation.shapesMap = {
|
|
|
5598
5646
|
*/
|
|
5599
5647
|
Annotation.types = {};
|
|
5600
5648
|
Annotation.prototype.defaultOptions = Annotations_AnnotationDefaults;
|
|
5649
|
+
defaultOptions.annotations = Annotations_AnnotationDefaults;
|
|
5601
5650
|
/**
|
|
5602
5651
|
* List of events for `annotation.options.events` that should not be
|
|
5603
5652
|
* added to `annotation.graphic` but to the `annotation`.
|
|
@@ -5671,8 +5720,6 @@ Annotations_ControlTarget.compose(Annotation);
|
|
|
5671
5720
|
|
|
5672
5721
|
|
|
5673
5722
|
|
|
5674
|
-
|
|
5675
|
-
const { merge: BasicAnnotation_merge } = (external_highcharts_src_js_default_default());
|
|
5676
5723
|
/* *
|
|
5677
5724
|
*
|
|
5678
5725
|
* Class
|
|
@@ -5879,7 +5926,6 @@ BasicAnnotation.basicControlPoints = {
|
|
|
5879
5926
|
}
|
|
5880
5927
|
}]
|
|
5881
5928
|
};
|
|
5882
|
-
BasicAnnotation.prototype.defaultOptions = BasicAnnotation_merge(Annotations_Annotation.prototype.defaultOptions, {});
|
|
5883
5929
|
Annotations_Annotation.types.basicAnnotation = BasicAnnotation;
|
|
5884
5930
|
/* *
|
|
5885
5931
|
*
|
|
@@ -5898,8 +5944,105 @@ Annotations_Annotation.types.basicAnnotation = BasicAnnotation;
|
|
|
5898
5944
|
|
|
5899
5945
|
|
|
5900
5946
|
|
|
5947
|
+
const { defaultOptions: CrookedLine_defaultOptions } = (external_highcharts_src_js_default_default());
|
|
5948
|
+
|
|
5901
5949
|
|
|
5902
5950
|
const { merge: CrookedLine_merge } = (external_highcharts_src_js_default_default());
|
|
5951
|
+
if (CrookedLine_defaultOptions.annotations) {
|
|
5952
|
+
/**
|
|
5953
|
+
* Options for the crooked line annotation type.
|
|
5954
|
+
*
|
|
5955
|
+
* @sample highcharts/annotations-advanced/crooked-line/
|
|
5956
|
+
* Crooked line
|
|
5957
|
+
*
|
|
5958
|
+
* @product highstock
|
|
5959
|
+
* @optionparent annotations.types.crookedLine
|
|
5960
|
+
*/
|
|
5961
|
+
CrookedLine_defaultOptions.annotations.types.crookedLine = {
|
|
5962
|
+
/**
|
|
5963
|
+
* @extends annotations.labelOptions
|
|
5964
|
+
* @apioption annotations.types.crookedLine.labelOptions
|
|
5965
|
+
*/
|
|
5966
|
+
/**
|
|
5967
|
+
* @extends annotations.shapeOptions
|
|
5968
|
+
* @apioption annotations.types.crookedLine.shapeOptions
|
|
5969
|
+
*/
|
|
5970
|
+
/**
|
|
5971
|
+
* Additional options for an annotation with the type.
|
|
5972
|
+
*/
|
|
5973
|
+
typeOptions: {
|
|
5974
|
+
/**
|
|
5975
|
+
* This number defines which xAxis the point is connected to.
|
|
5976
|
+
* It refers to either the axis id or the index of the axis
|
|
5977
|
+
* in the xAxis array.
|
|
5978
|
+
*/
|
|
5979
|
+
xAxis: 0,
|
|
5980
|
+
/**
|
|
5981
|
+
* This number defines which yAxis the point is connected to.
|
|
5982
|
+
* It refers to either the axis id or the index of the axis
|
|
5983
|
+
* in the xAxis array.
|
|
5984
|
+
*/
|
|
5985
|
+
yAxis: 0,
|
|
5986
|
+
/**
|
|
5987
|
+
* @type {Array<*>}
|
|
5988
|
+
* @apioption annotations.types.crookedLine.typeOptions.points
|
|
5989
|
+
*/
|
|
5990
|
+
/**
|
|
5991
|
+
* The x position of the point.
|
|
5992
|
+
*
|
|
5993
|
+
* @type {number}
|
|
5994
|
+
* @apioption annotations.types.crookedLine.typeOptions.points.x
|
|
5995
|
+
*/
|
|
5996
|
+
/**
|
|
5997
|
+
* The y position of the point.
|
|
5998
|
+
*
|
|
5999
|
+
* @type {number}
|
|
6000
|
+
* @apioption annotations.types.crookedLine.typeOptions.points.y
|
|
6001
|
+
*/
|
|
6002
|
+
/**
|
|
6003
|
+
* @type {number}
|
|
6004
|
+
* @excluding positioner, events
|
|
6005
|
+
* @apioption annotations.types.crookedLine.typeOptions.points.controlPoint
|
|
6006
|
+
*/
|
|
6007
|
+
/**
|
|
6008
|
+
* Line options.
|
|
6009
|
+
*
|
|
6010
|
+
* @excluding height, point, points, r, type, width
|
|
6011
|
+
*/
|
|
6012
|
+
line: {
|
|
6013
|
+
fill: 'none'
|
|
6014
|
+
}
|
|
6015
|
+
},
|
|
6016
|
+
/**
|
|
6017
|
+
* @excluding positioner, events
|
|
6018
|
+
*/
|
|
6019
|
+
controlPointOptions: {
|
|
6020
|
+
positioner: function (target) {
|
|
6021
|
+
const graphic = this.graphic, xy = Annotations_MockPoint.pointToPixels(target.points[this.index]);
|
|
6022
|
+
return {
|
|
6023
|
+
x: xy.x - (graphic.width || 0) / 2,
|
|
6024
|
+
y: xy.y - (graphic.height || 0) / 2
|
|
6025
|
+
};
|
|
6026
|
+
},
|
|
6027
|
+
events: {
|
|
6028
|
+
drag: function (e, target) {
|
|
6029
|
+
if (target.chart.isInsidePlot(e.chartX - target.chart.plotLeft, e.chartY - target.chart.plotTop, {
|
|
6030
|
+
visiblePlotOnly: true
|
|
6031
|
+
})) {
|
|
6032
|
+
const translation = this.mouseMoveToTranslation(e), typeOptions = target.options.typeOptions;
|
|
6033
|
+
target.translatePoint(translation.x, translation.y, this.index);
|
|
6034
|
+
// Update options:
|
|
6035
|
+
typeOptions.points[this.index].x =
|
|
6036
|
+
target.points[this.index].x;
|
|
6037
|
+
typeOptions.points[this.index].y =
|
|
6038
|
+
target.points[this.index].y;
|
|
6039
|
+
target.redraw(false);
|
|
6040
|
+
}
|
|
6041
|
+
}
|
|
6042
|
+
}
|
|
6043
|
+
}
|
|
6044
|
+
};
|
|
6045
|
+
}
|
|
5903
6046
|
/* *
|
|
5904
6047
|
*
|
|
5905
6048
|
* Class
|
|
@@ -5948,100 +6091,6 @@ class CrookedLine extends Annotations_Annotation {
|
|
|
5948
6091
|
typeOptions.line = shape.options;
|
|
5949
6092
|
}
|
|
5950
6093
|
}
|
|
5951
|
-
CrookedLine.prototype.defaultOptions = CrookedLine_merge(Annotations_Annotation.prototype.defaultOptions,
|
|
5952
|
-
/**
|
|
5953
|
-
* A crooked line annotation.
|
|
5954
|
-
*
|
|
5955
|
-
* @sample highcharts/annotations-advanced/crooked-line/
|
|
5956
|
-
* Crooked line
|
|
5957
|
-
*
|
|
5958
|
-
* @product highstock
|
|
5959
|
-
* @optionparent annotations.crookedLine
|
|
5960
|
-
*/
|
|
5961
|
-
{
|
|
5962
|
-
/**
|
|
5963
|
-
* @extends annotations.labelOptions
|
|
5964
|
-
* @apioption annotations.crookedLine.labelOptions
|
|
5965
|
-
*/
|
|
5966
|
-
/**
|
|
5967
|
-
* @extends annotations.shapeOptions
|
|
5968
|
-
* @apioption annotations.crookedLine.shapeOptions
|
|
5969
|
-
*/
|
|
5970
|
-
/**
|
|
5971
|
-
* Additional options for an annotation with the type.
|
|
5972
|
-
*/
|
|
5973
|
-
typeOptions: {
|
|
5974
|
-
/**
|
|
5975
|
-
* This number defines which xAxis the point is connected to.
|
|
5976
|
-
* It refers to either the axis id or the index of the axis
|
|
5977
|
-
* in the xAxis array.
|
|
5978
|
-
*/
|
|
5979
|
-
xAxis: 0,
|
|
5980
|
-
/**
|
|
5981
|
-
* This number defines which yAxis the point is connected to.
|
|
5982
|
-
* It refers to either the axis id or the index of the axis
|
|
5983
|
-
* in the xAxis array.
|
|
5984
|
-
*/
|
|
5985
|
-
yAxis: 0,
|
|
5986
|
-
/**
|
|
5987
|
-
* @type {Array<*>}
|
|
5988
|
-
* @apioption annotations.crookedLine.typeOptions.points
|
|
5989
|
-
*/
|
|
5990
|
-
/**
|
|
5991
|
-
* The x position of the point.
|
|
5992
|
-
*
|
|
5993
|
-
* @type {number}
|
|
5994
|
-
* @apioption annotations.crookedLine.typeOptions.points.x
|
|
5995
|
-
*/
|
|
5996
|
-
/**
|
|
5997
|
-
* The y position of the point.
|
|
5998
|
-
*
|
|
5999
|
-
* @type {number}
|
|
6000
|
-
* @apioption annotations.crookedLine.typeOptions.points.y
|
|
6001
|
-
*/
|
|
6002
|
-
/**
|
|
6003
|
-
* @type {number}
|
|
6004
|
-
* @excluding positioner, events
|
|
6005
|
-
* @apioption annotations.crookedLine.typeOptions.points.controlPoint
|
|
6006
|
-
*/
|
|
6007
|
-
/**
|
|
6008
|
-
* Line options.
|
|
6009
|
-
*
|
|
6010
|
-
* @excluding height, point, points, r, type, width
|
|
6011
|
-
*/
|
|
6012
|
-
line: {
|
|
6013
|
-
fill: 'none'
|
|
6014
|
-
}
|
|
6015
|
-
},
|
|
6016
|
-
/**
|
|
6017
|
-
* @excluding positioner, events
|
|
6018
|
-
*/
|
|
6019
|
-
controlPointOptions: {
|
|
6020
|
-
positioner: function (target) {
|
|
6021
|
-
const graphic = this.graphic, xy = Annotations_MockPoint.pointToPixels(target.points[this.index]);
|
|
6022
|
-
return {
|
|
6023
|
-
x: xy.x - (graphic.width || 0) / 2,
|
|
6024
|
-
y: xy.y - (graphic.height || 0) / 2
|
|
6025
|
-
};
|
|
6026
|
-
},
|
|
6027
|
-
events: {
|
|
6028
|
-
drag: function (e, target) {
|
|
6029
|
-
if (target.chart.isInsidePlot(e.chartX - target.chart.plotLeft, e.chartY - target.chart.plotTop, {
|
|
6030
|
-
visiblePlotOnly: true
|
|
6031
|
-
})) {
|
|
6032
|
-
const translation = this.mouseMoveToTranslation(e), typeOptions = target.options.typeOptions;
|
|
6033
|
-
target.translatePoint(translation.x, translation.y, this.index);
|
|
6034
|
-
// Update options:
|
|
6035
|
-
typeOptions.points[this.index].x =
|
|
6036
|
-
target.points[this.index].x;
|
|
6037
|
-
typeOptions.points[this.index].y =
|
|
6038
|
-
target.points[this.index].y;
|
|
6039
|
-
target.redraw(false);
|
|
6040
|
-
}
|
|
6041
|
-
}
|
|
6042
|
-
}
|
|
6043
|
-
}
|
|
6044
|
-
});
|
|
6045
6094
|
Annotations_Annotation.types.crookedLine = CrookedLine;
|
|
6046
6095
|
/* *
|
|
6047
6096
|
*
|
|
@@ -6060,7 +6109,50 @@ Annotations_Annotation.types.crookedLine = CrookedLine;
|
|
|
6060
6109
|
|
|
6061
6110
|
|
|
6062
6111
|
|
|
6112
|
+
const { defaultOptions: ElliottWave_defaultOptions } = (external_highcharts_src_js_default_default());
|
|
6113
|
+
|
|
6063
6114
|
const { merge: ElliottWave_merge } = (external_highcharts_src_js_default_default());
|
|
6115
|
+
if (ElliottWave_defaultOptions.annotations) {
|
|
6116
|
+
ElliottWave_defaultOptions.annotations.types.elliottWave = ElliottWave_merge(ElliottWave_defaultOptions.annotations.types.crookedLine,
|
|
6117
|
+
/**
|
|
6118
|
+
* Options for the elliott wave annotation type.
|
|
6119
|
+
*
|
|
6120
|
+
* @sample highcharts/annotations-advanced/elliott-wave/
|
|
6121
|
+
* Elliott wave
|
|
6122
|
+
*
|
|
6123
|
+
* @extends annotations.types.crookedLine
|
|
6124
|
+
* @product highstock
|
|
6125
|
+
* @optionparent annotations.types.elliottWave
|
|
6126
|
+
*/
|
|
6127
|
+
{
|
|
6128
|
+
typeOptions: {
|
|
6129
|
+
/**
|
|
6130
|
+
* @extends annotations.types.crookedLine.labelOptions
|
|
6131
|
+
* @apioption annotations.types.elliottWave.typeOptions.points.label
|
|
6132
|
+
*/
|
|
6133
|
+
/**
|
|
6134
|
+
* @ignore-option
|
|
6135
|
+
*/
|
|
6136
|
+
labels: ['(0)', '(A)', '(B)', '(C)', '(D)', '(E)'],
|
|
6137
|
+
line: {
|
|
6138
|
+
strokeWidth: 1
|
|
6139
|
+
}
|
|
6140
|
+
},
|
|
6141
|
+
labelOptions: {
|
|
6142
|
+
align: 'center',
|
|
6143
|
+
allowOverlap: true,
|
|
6144
|
+
crop: true,
|
|
6145
|
+
overflow: 'none',
|
|
6146
|
+
type: 'rect',
|
|
6147
|
+
backgroundColor: 'none',
|
|
6148
|
+
borderWidth: 0,
|
|
6149
|
+
y: -5,
|
|
6150
|
+
style: {
|
|
6151
|
+
color: "#333333" /* Palette.neutralColor80 */
|
|
6152
|
+
}
|
|
6153
|
+
}
|
|
6154
|
+
});
|
|
6155
|
+
}
|
|
6064
6156
|
/* *
|
|
6065
6157
|
*
|
|
6066
6158
|
* Class
|
|
@@ -6084,42 +6176,6 @@ class ElliottWave extends Types_CrookedLine {
|
|
|
6084
6176
|
});
|
|
6085
6177
|
}
|
|
6086
6178
|
}
|
|
6087
|
-
ElliottWave.prototype.defaultOptions = ElliottWave_merge(Types_CrookedLine.prototype.defaultOptions,
|
|
6088
|
-
/**
|
|
6089
|
-
* An elliott wave annotation.
|
|
6090
|
-
*
|
|
6091
|
-
* @sample highcharts/annotations-advanced/elliott-wave/
|
|
6092
|
-
* Elliott wave
|
|
6093
|
-
*
|
|
6094
|
-
* @extends annotations.crookedLine
|
|
6095
|
-
* @product highstock
|
|
6096
|
-
* @optionparent annotations.elliottWave
|
|
6097
|
-
*/
|
|
6098
|
-
{
|
|
6099
|
-
typeOptions: {
|
|
6100
|
-
/**
|
|
6101
|
-
* @extends annotations.crookedLine.labelOptions
|
|
6102
|
-
* @apioption annotations.elliottWave.typeOptions.points.label
|
|
6103
|
-
*/
|
|
6104
|
-
/**
|
|
6105
|
-
* @ignore-option
|
|
6106
|
-
*/
|
|
6107
|
-
labels: ['(0)', '(A)', '(B)', '(C)', '(D)', '(E)'],
|
|
6108
|
-
line: {
|
|
6109
|
-
strokeWidth: 1
|
|
6110
|
-
}
|
|
6111
|
-
},
|
|
6112
|
-
labelOptions: {
|
|
6113
|
-
align: 'center',
|
|
6114
|
-
allowOverlap: true,
|
|
6115
|
-
crop: true,
|
|
6116
|
-
overflow: 'none',
|
|
6117
|
-
type: 'rect',
|
|
6118
|
-
backgroundColor: 'none',
|
|
6119
|
-
borderWidth: 0,
|
|
6120
|
-
y: -5
|
|
6121
|
-
}
|
|
6122
|
-
});
|
|
6123
6179
|
Annotations_Annotation.types.elliottWave = ElliottWave;
|
|
6124
6180
|
/* *
|
|
6125
6181
|
*
|
|
@@ -6139,8 +6195,88 @@ Annotations_Annotation.types.elliottWave = ElliottWave;
|
|
|
6139
6195
|
|
|
6140
6196
|
|
|
6141
6197
|
|
|
6198
|
+
const { defaultOptions: Tunnel_defaultOptions } = (external_highcharts_src_js_default_default());
|
|
6199
|
+
|
|
6142
6200
|
|
|
6143
6201
|
const { merge: Tunnel_merge } = (external_highcharts_src_js_default_default());
|
|
6202
|
+
if (Tunnel_defaultOptions.annotations) {
|
|
6203
|
+
Tunnel_defaultOptions.annotations.types.tunnel = Tunnel_merge(Tunnel_defaultOptions.annotations.types.crookedLine,
|
|
6204
|
+
/**
|
|
6205
|
+
* Options for the tunnel annotation type.
|
|
6206
|
+
*
|
|
6207
|
+
* @extends annotations.types.crookedLine
|
|
6208
|
+
* @sample highcharts/annotations-advanced/tunnel/
|
|
6209
|
+
* Tunnel
|
|
6210
|
+
* @product highstock
|
|
6211
|
+
* @optionparent annotations.types.tunnel
|
|
6212
|
+
*/
|
|
6213
|
+
{
|
|
6214
|
+
typeOptions: {
|
|
6215
|
+
/**
|
|
6216
|
+
* Background options.
|
|
6217
|
+
*
|
|
6218
|
+
* @type {Object}
|
|
6219
|
+
* @excluding height, point, points, r, type, width, markerEnd,
|
|
6220
|
+
* markerStart
|
|
6221
|
+
*/
|
|
6222
|
+
background: {
|
|
6223
|
+
fill: 'rgba(130, 170, 255, 0.4)',
|
|
6224
|
+
strokeWidth: 0
|
|
6225
|
+
},
|
|
6226
|
+
line: {
|
|
6227
|
+
strokeWidth: 1
|
|
6228
|
+
},
|
|
6229
|
+
/**
|
|
6230
|
+
* The height of the annotation in terms of yAxis.
|
|
6231
|
+
*/
|
|
6232
|
+
height: -2,
|
|
6233
|
+
/**
|
|
6234
|
+
* Options for the control point which controls
|
|
6235
|
+
* the annotation's height.
|
|
6236
|
+
*
|
|
6237
|
+
* @extends annotations.types.crookedLine.controlPointOptions
|
|
6238
|
+
* @excluding positioner, events
|
|
6239
|
+
*/
|
|
6240
|
+
heightControlPoint: {
|
|
6241
|
+
positioner: function (target) {
|
|
6242
|
+
const startXY = Annotations_MockPoint.pointToPixels(target.points[2]), endXY = Annotations_MockPoint.pointToPixels(target.points[3]), x = (startXY.x + endXY.x) / 2;
|
|
6243
|
+
return {
|
|
6244
|
+
x: x - (this.graphic.width || 0) / 2,
|
|
6245
|
+
y: getSecondCoordinate(startXY, endXY, x) -
|
|
6246
|
+
(this.graphic.height || 0) / 2
|
|
6247
|
+
};
|
|
6248
|
+
},
|
|
6249
|
+
events: {
|
|
6250
|
+
drag: function (e, target) {
|
|
6251
|
+
if (target.chart.isInsidePlot(e.chartX - target.chart.plotLeft, e.chartY - target.chart.plotTop, {
|
|
6252
|
+
visiblePlotOnly: true
|
|
6253
|
+
})) {
|
|
6254
|
+
target.translateHeight(this.mouseMoveToTranslation(e).y);
|
|
6255
|
+
target.redraw(false);
|
|
6256
|
+
}
|
|
6257
|
+
}
|
|
6258
|
+
}
|
|
6259
|
+
}
|
|
6260
|
+
},
|
|
6261
|
+
/**
|
|
6262
|
+
* @extends annotations.types.crookedLine.controlPointOptions
|
|
6263
|
+
* @excluding positioner, events
|
|
6264
|
+
*/
|
|
6265
|
+
controlPointOptions: {
|
|
6266
|
+
events: {
|
|
6267
|
+
drag: function (e, target) {
|
|
6268
|
+
if (target.chart.isInsidePlot(e.chartX - target.chart.plotLeft, e.chartY - target.chart.plotTop, {
|
|
6269
|
+
visiblePlotOnly: true
|
|
6270
|
+
})) {
|
|
6271
|
+
const translation = this.mouseMoveToTranslation(e);
|
|
6272
|
+
target.translateSide(translation.x, translation.y, !!this.index);
|
|
6273
|
+
target.redraw(false);
|
|
6274
|
+
}
|
|
6275
|
+
}
|
|
6276
|
+
}
|
|
6277
|
+
}
|
|
6278
|
+
});
|
|
6279
|
+
}
|
|
6144
6280
|
/* *
|
|
6145
6281
|
*
|
|
6146
6282
|
* Functions
|
|
@@ -6251,82 +6387,6 @@ class Tunnel extends Types_CrookedLine {
|
|
|
6251
6387
|
this.userOptions.typeOptions.height = this.options.typeOptions.height;
|
|
6252
6388
|
}
|
|
6253
6389
|
}
|
|
6254
|
-
Tunnel.prototype.defaultOptions = Tunnel_merge(Types_CrookedLine.prototype.defaultOptions,
|
|
6255
|
-
/**
|
|
6256
|
-
* A tunnel annotation.
|
|
6257
|
-
*
|
|
6258
|
-
* @extends annotations.crookedLine
|
|
6259
|
-
* @sample highcharts/annotations-advanced/tunnel/
|
|
6260
|
-
* Tunnel
|
|
6261
|
-
* @product highstock
|
|
6262
|
-
* @optionparent annotations.tunnel
|
|
6263
|
-
*/
|
|
6264
|
-
{
|
|
6265
|
-
typeOptions: {
|
|
6266
|
-
/**
|
|
6267
|
-
* Background options.
|
|
6268
|
-
*
|
|
6269
|
-
* @type {Object}
|
|
6270
|
-
* @excluding height, point, points, r, type, width, markerEnd,
|
|
6271
|
-
* markerStart
|
|
6272
|
-
*/
|
|
6273
|
-
background: {
|
|
6274
|
-
fill: 'rgba(130, 170, 255, 0.4)',
|
|
6275
|
-
strokeWidth: 0
|
|
6276
|
-
},
|
|
6277
|
-
line: {
|
|
6278
|
-
strokeWidth: 1
|
|
6279
|
-
},
|
|
6280
|
-
/**
|
|
6281
|
-
* The height of the annotation in terms of yAxis.
|
|
6282
|
-
*/
|
|
6283
|
-
height: -2,
|
|
6284
|
-
/**
|
|
6285
|
-
* Options for the control point which controls
|
|
6286
|
-
* the annotation's height.
|
|
6287
|
-
*
|
|
6288
|
-
* @extends annotations.crookedLine.controlPointOptions
|
|
6289
|
-
* @excluding positioner, events
|
|
6290
|
-
*/
|
|
6291
|
-
heightControlPoint: {
|
|
6292
|
-
positioner: function (target) {
|
|
6293
|
-
const startXY = Annotations_MockPoint.pointToPixels(target.points[2]), endXY = Annotations_MockPoint.pointToPixels(target.points[3]), x = (startXY.x + endXY.x) / 2;
|
|
6294
|
-
return {
|
|
6295
|
-
x: x - (this.graphic.width || 0) / 2,
|
|
6296
|
-
y: getSecondCoordinate(startXY, endXY, x) -
|
|
6297
|
-
(this.graphic.height || 0) / 2
|
|
6298
|
-
};
|
|
6299
|
-
},
|
|
6300
|
-
events: {
|
|
6301
|
-
drag: function (e, target) {
|
|
6302
|
-
if (target.chart.isInsidePlot(e.chartX - target.chart.plotLeft, e.chartY - target.chart.plotTop, {
|
|
6303
|
-
visiblePlotOnly: true
|
|
6304
|
-
})) {
|
|
6305
|
-
target.translateHeight(this.mouseMoveToTranslation(e).y);
|
|
6306
|
-
target.redraw(false);
|
|
6307
|
-
}
|
|
6308
|
-
}
|
|
6309
|
-
}
|
|
6310
|
-
}
|
|
6311
|
-
},
|
|
6312
|
-
/**
|
|
6313
|
-
* @extends annotations.crookedLine.controlPointOptions
|
|
6314
|
-
* @excluding positioner, events
|
|
6315
|
-
*/
|
|
6316
|
-
controlPointOptions: {
|
|
6317
|
-
events: {
|
|
6318
|
-
drag: function (e, target) {
|
|
6319
|
-
if (target.chart.isInsidePlot(e.chartX - target.chart.plotLeft, e.chartY - target.chart.plotTop, {
|
|
6320
|
-
visiblePlotOnly: true
|
|
6321
|
-
})) {
|
|
6322
|
-
const translation = this.mouseMoveToTranslation(e);
|
|
6323
|
-
target.translateSide(translation.x, translation.y, !!this.index);
|
|
6324
|
-
target.redraw(false);
|
|
6325
|
-
}
|
|
6326
|
-
}
|
|
6327
|
-
}
|
|
6328
|
-
}
|
|
6329
|
-
});
|
|
6330
6390
|
Annotations_Annotation.types.tunnel = Tunnel;
|
|
6331
6391
|
/* *
|
|
6332
6392
|
*
|
|
@@ -6345,8 +6405,23 @@ Annotations_Annotation.types.tunnel = Tunnel;
|
|
|
6345
6405
|
|
|
6346
6406
|
|
|
6347
6407
|
|
|
6408
|
+
const { defaultOptions: InfinityLine_defaultOptions } = (external_highcharts_src_js_default_default());
|
|
6409
|
+
|
|
6348
6410
|
|
|
6349
6411
|
const { merge: InfinityLine_merge } = (external_highcharts_src_js_default_default());
|
|
6412
|
+
if (InfinityLine_defaultOptions.annotations) {
|
|
6413
|
+
/**
|
|
6414
|
+
* Options for the infinity line annotation type.
|
|
6415
|
+
*
|
|
6416
|
+
* @sample highcharts/annotations-advanced/infinity-line/
|
|
6417
|
+
* Infinity line
|
|
6418
|
+
*
|
|
6419
|
+
* @extends annotations.types.crookedLine
|
|
6420
|
+
* @product highstock
|
|
6421
|
+
* @optionparent annotations.types.infinityLine
|
|
6422
|
+
*/
|
|
6423
|
+
InfinityLine_defaultOptions.annotations.types.infinityLine = InfinityLine_merge(InfinityLine_defaultOptions.annotations.types.crookedLine);
|
|
6424
|
+
}
|
|
6350
6425
|
/* *
|
|
6351
6426
|
*
|
|
6352
6427
|
* Class
|
|
@@ -6447,7 +6522,6 @@ class InfinityLine extends Types_CrookedLine {
|
|
|
6447
6522
|
* */
|
|
6448
6523
|
InfinityLine.endEdgePoint = InfinityLine.edgePoint(0, 1);
|
|
6449
6524
|
InfinityLine.startEdgePoint = InfinityLine.edgePoint(1, 0);
|
|
6450
|
-
InfinityLine.prototype.defaultOptions = InfinityLine_merge(Types_CrookedLine.prototype.defaultOptions, {});
|
|
6451
6525
|
Annotations_Annotation.types.infinityLine = InfinityLine;
|
|
6452
6526
|
/* *
|
|
6453
6527
|
*
|
|
@@ -6466,9 +6540,9 @@ Annotations_Annotation.types.infinityLine = InfinityLine;
|
|
|
6466
6540
|
* @sample highcharts/annotations-advanced/infinity-line/
|
|
6467
6541
|
* Infinity Line
|
|
6468
6542
|
*
|
|
6469
|
-
* @extends annotations.crookedLine
|
|
6543
|
+
* @extends annotations.types.crookedLine
|
|
6470
6544
|
* @product highstock
|
|
6471
|
-
* @apioption annotations.infinityLine
|
|
6545
|
+
* @apioption annotations.types.infinityLine
|
|
6472
6546
|
*/
|
|
6473
6547
|
(''); // Keeps doclets above in transpiled file
|
|
6474
6548
|
|
|
@@ -6484,8 +6558,64 @@ Annotations_Annotation.types.infinityLine = InfinityLine;
|
|
|
6484
6558
|
|
|
6485
6559
|
|
|
6486
6560
|
|
|
6561
|
+
const { defaultOptions: TimeCycles_defaultOptions } = (external_highcharts_src_js_default_default());
|
|
6562
|
+
|
|
6487
6563
|
|
|
6488
6564
|
const { merge: TimeCycles_merge, isNumber: TimeCycles_isNumber, defined: TimeCycles_defined } = (external_highcharts_src_js_default_default());
|
|
6565
|
+
if (TimeCycles_defaultOptions.annotations) {
|
|
6566
|
+
TimeCycles_defaultOptions.annotations.types.timeCycles = TimeCycles_merge(TimeCycles_defaultOptions.annotations.types.crookedLine,
|
|
6567
|
+
/**
|
|
6568
|
+
* Options for the time cycles annotation type.
|
|
6569
|
+
*
|
|
6570
|
+
* @sample highcharts/annotations-advanced/time-cycles/
|
|
6571
|
+
* Time Cycles annotation
|
|
6572
|
+
*
|
|
6573
|
+
* @extends annotations.types.crookedLine
|
|
6574
|
+
* @product highstock
|
|
6575
|
+
* @exclude labelOptions
|
|
6576
|
+
* @optionparent annotations.types.timeCycles
|
|
6577
|
+
*/
|
|
6578
|
+
{
|
|
6579
|
+
typeOptions: {
|
|
6580
|
+
/**
|
|
6581
|
+
* @exclude y
|
|
6582
|
+
* @product highstock
|
|
6583
|
+
* @apioption annotations.types.timeCycles.typeOptions.points
|
|
6584
|
+
*/
|
|
6585
|
+
controlPointOptions: [{
|
|
6586
|
+
positioner: function (target) {
|
|
6587
|
+
const point = target.points[0], position = target.anchor(point).absolutePosition;
|
|
6588
|
+
return {
|
|
6589
|
+
x: position.x - (this.graphic.width || 0) / 2,
|
|
6590
|
+
y: target.y - (this.graphic.height || 0)
|
|
6591
|
+
};
|
|
6592
|
+
},
|
|
6593
|
+
events: {
|
|
6594
|
+
drag: function (e, target) {
|
|
6595
|
+
const position = target.anchor(target.points[0]).absolutePosition;
|
|
6596
|
+
target.translatePoint(e.chartX - position.x, 0, 0);
|
|
6597
|
+
target.redraw(false);
|
|
6598
|
+
}
|
|
6599
|
+
}
|
|
6600
|
+
}, {
|
|
6601
|
+
positioner: function (target) {
|
|
6602
|
+
const point = target.points[1], position = target.anchor(point).absolutePosition;
|
|
6603
|
+
return {
|
|
6604
|
+
x: position.x - (this.graphic.width || 0) / 2,
|
|
6605
|
+
y: target.y - (this.graphic.height || 0)
|
|
6606
|
+
};
|
|
6607
|
+
},
|
|
6608
|
+
events: {
|
|
6609
|
+
drag: function (e, target) {
|
|
6610
|
+
const position = target.anchor(target.points[1]).absolutePosition;
|
|
6611
|
+
target.translatePoint(e.chartX - position.x, 0, 1);
|
|
6612
|
+
target.redraw(false);
|
|
6613
|
+
}
|
|
6614
|
+
}
|
|
6615
|
+
}]
|
|
6616
|
+
}
|
|
6617
|
+
});
|
|
6618
|
+
}
|
|
6489
6619
|
/* *
|
|
6490
6620
|
*
|
|
6491
6621
|
* Functions
|
|
@@ -6606,58 +6736,6 @@ class TimeCycles extends Types_CrookedLine {
|
|
|
6606
6736
|
super.redraw(animation);
|
|
6607
6737
|
}
|
|
6608
6738
|
}
|
|
6609
|
-
TimeCycles.prototype.defaultOptions = TimeCycles_merge(Types_CrookedLine.prototype.defaultOptions,
|
|
6610
|
-
/**
|
|
6611
|
-
* The TimeCycles Annotation
|
|
6612
|
-
*
|
|
6613
|
-
* @sample highcharts/annotations-advanced/time-cycles/
|
|
6614
|
-
* Time Cycles annotation
|
|
6615
|
-
*
|
|
6616
|
-
* @extends annotations.crookedLine
|
|
6617
|
-
* @product highstock
|
|
6618
|
-
* @exclude labelOptions
|
|
6619
|
-
* @optionparent annotations.timeCycles
|
|
6620
|
-
*/
|
|
6621
|
-
{
|
|
6622
|
-
typeOptions: {
|
|
6623
|
-
/**
|
|
6624
|
-
* @exclude y
|
|
6625
|
-
* @product highstock
|
|
6626
|
-
* @apioption annotations.timeCycles.typeOptions.points
|
|
6627
|
-
*/
|
|
6628
|
-
controlPointOptions: [{
|
|
6629
|
-
positioner: function (target) {
|
|
6630
|
-
const point = target.points[0], position = target.anchor(point).absolutePosition;
|
|
6631
|
-
return {
|
|
6632
|
-
x: position.x - (this.graphic.width || 0) / 2,
|
|
6633
|
-
y: target.y - (this.graphic.height || 0)
|
|
6634
|
-
};
|
|
6635
|
-
},
|
|
6636
|
-
events: {
|
|
6637
|
-
drag: function (e, target) {
|
|
6638
|
-
const position = target.anchor(target.points[0]).absolutePosition;
|
|
6639
|
-
target.translatePoint(e.chartX - position.x, 0, 0);
|
|
6640
|
-
target.redraw(false);
|
|
6641
|
-
}
|
|
6642
|
-
}
|
|
6643
|
-
}, {
|
|
6644
|
-
positioner: function (target) {
|
|
6645
|
-
const point = target.points[1], position = target.anchor(point).absolutePosition;
|
|
6646
|
-
return {
|
|
6647
|
-
x: position.x - (this.graphic.width || 0) / 2,
|
|
6648
|
-
y: target.y - (this.graphic.height || 0)
|
|
6649
|
-
};
|
|
6650
|
-
},
|
|
6651
|
-
events: {
|
|
6652
|
-
drag: function (e, target) {
|
|
6653
|
-
const position = target.anchor(target.points[1]).absolutePosition;
|
|
6654
|
-
target.translatePoint(e.chartX - position.x, 0, 1);
|
|
6655
|
-
target.redraw(false);
|
|
6656
|
-
}
|
|
6657
|
-
}
|
|
6658
|
-
}]
|
|
6659
|
-
}
|
|
6660
|
-
});
|
|
6661
6739
|
Annotations_Annotation.types.timeCycles = TimeCycles;
|
|
6662
6740
|
/* *
|
|
6663
6741
|
*
|
|
@@ -6675,9 +6753,95 @@ Annotations_Annotation.types.timeCycles = TimeCycles;
|
|
|
6675
6753
|
|
|
6676
6754
|
|
|
6677
6755
|
|
|
6756
|
+
const { defaultOptions: Fibonacci_defaultOptions } = (external_highcharts_src_js_default_default());
|
|
6757
|
+
|
|
6678
6758
|
|
|
6679
6759
|
|
|
6680
6760
|
const { merge: Fibonacci_merge } = (external_highcharts_src_js_default_default());
|
|
6761
|
+
if (Fibonacci_defaultOptions.annotations) {
|
|
6762
|
+
Fibonacci_defaultOptions.annotations.types.fibonacci = Fibonacci_merge(Fibonacci_defaultOptions.annotations.types.tunnel,
|
|
6763
|
+
/**
|
|
6764
|
+
* Options for the fibonacci annotation type.
|
|
6765
|
+
*
|
|
6766
|
+
* @sample highcharts/annotations-advanced/fibonacci/
|
|
6767
|
+
* Fibonacci
|
|
6768
|
+
*
|
|
6769
|
+
* @extends annotations.types.crookedLine
|
|
6770
|
+
* @product highstock
|
|
6771
|
+
* @optionparent annotations.types.fibonacci
|
|
6772
|
+
*/
|
|
6773
|
+
{
|
|
6774
|
+
typeOptions: {
|
|
6775
|
+
/**
|
|
6776
|
+
* Whether the annotation levels should be reversed. By default
|
|
6777
|
+
* they start from 0 and go to 1.
|
|
6778
|
+
*
|
|
6779
|
+
* @sample highcharts/annotations-advanced/fibonacci-reversed/
|
|
6780
|
+
* Fibonacci annotation reversed
|
|
6781
|
+
*
|
|
6782
|
+
* @type {boolean}
|
|
6783
|
+
* @apioption annotations.types.fibonacci.typeOptions.reversed
|
|
6784
|
+
*/
|
|
6785
|
+
reversed: false,
|
|
6786
|
+
/**
|
|
6787
|
+
* The height of the fibonacci in terms of yAxis.
|
|
6788
|
+
*/
|
|
6789
|
+
height: 2,
|
|
6790
|
+
/**
|
|
6791
|
+
* An array of background colors:
|
|
6792
|
+
* Default to:
|
|
6793
|
+
* ```
|
|
6794
|
+
* [
|
|
6795
|
+
* 'rgba(130, 170, 255, 0.4)',
|
|
6796
|
+
* 'rgba(139, 191, 216, 0.4)',
|
|
6797
|
+
* 'rgba(150, 216, 192, 0.4)',
|
|
6798
|
+
* 'rgba(156, 229, 161, 0.4)',
|
|
6799
|
+
* 'rgba(162, 241, 130, 0.4)',
|
|
6800
|
+
* 'rgba(169, 255, 101, 0.4)'
|
|
6801
|
+
* ]
|
|
6802
|
+
* ```
|
|
6803
|
+
*/
|
|
6804
|
+
backgroundColors: [
|
|
6805
|
+
'rgba(130, 170, 255, 0.4)',
|
|
6806
|
+
'rgba(139, 191, 216, 0.4)',
|
|
6807
|
+
'rgba(150, 216, 192, 0.4)',
|
|
6808
|
+
'rgba(156, 229, 161, 0.4)',
|
|
6809
|
+
'rgba(162, 241, 130, 0.4)',
|
|
6810
|
+
'rgba(169, 255, 101, 0.4)'
|
|
6811
|
+
],
|
|
6812
|
+
/**
|
|
6813
|
+
* The color of line.
|
|
6814
|
+
*/
|
|
6815
|
+
lineColor: "#999999" /* Palette.neutralColor40 */,
|
|
6816
|
+
/**
|
|
6817
|
+
* An array of colors for the lines.
|
|
6818
|
+
*/
|
|
6819
|
+
lineColors: [],
|
|
6820
|
+
/**
|
|
6821
|
+
* An array with options for the labels.
|
|
6822
|
+
*
|
|
6823
|
+
* @type {Array<*>}
|
|
6824
|
+
* @extends annotations.types.crookedLine.labelOptions
|
|
6825
|
+
* @apioption annotations.types.fibonacci.typeOptions.labels
|
|
6826
|
+
*/
|
|
6827
|
+
labels: []
|
|
6828
|
+
},
|
|
6829
|
+
labelOptions: {
|
|
6830
|
+
allowOverlap: true,
|
|
6831
|
+
align: 'right',
|
|
6832
|
+
backgroundColor: 'none',
|
|
6833
|
+
borderWidth: 0,
|
|
6834
|
+
crop: false,
|
|
6835
|
+
overflow: 'none',
|
|
6836
|
+
shape: 'rect',
|
|
6837
|
+
style: {
|
|
6838
|
+
color: "#333333" /* Palette.neutralColor80 */
|
|
6839
|
+
},
|
|
6840
|
+
verticalAlign: 'middle',
|
|
6841
|
+
y: 0
|
|
6842
|
+
}
|
|
6843
|
+
});
|
|
6844
|
+
}
|
|
6681
6845
|
/* *
|
|
6682
6846
|
*
|
|
6683
6847
|
* Functions
|
|
@@ -6786,88 +6950,6 @@ class Fibonacci extends Types_Tunnel {
|
|
|
6786
6950
|
*
|
|
6787
6951
|
* */
|
|
6788
6952
|
Fibonacci.levels = [0, 0.236, 0.382, 0.5, 0.618, 0.786, 1];
|
|
6789
|
-
Fibonacci.prototype.defaultOptions = Fibonacci_merge(Types_Tunnel.prototype.defaultOptions,
|
|
6790
|
-
/**
|
|
6791
|
-
* A fibonacci annotation.
|
|
6792
|
-
*
|
|
6793
|
-
* @sample highcharts/annotations-advanced/fibonacci/
|
|
6794
|
-
* Fibonacci
|
|
6795
|
-
*
|
|
6796
|
-
* @extends annotations.crookedLine
|
|
6797
|
-
* @product highstock
|
|
6798
|
-
* @optionparent annotations.fibonacci
|
|
6799
|
-
*/
|
|
6800
|
-
{
|
|
6801
|
-
typeOptions: {
|
|
6802
|
-
/**
|
|
6803
|
-
* Whether the annotation levels should be reversed. By default they
|
|
6804
|
-
* start from 0 and go to 1.
|
|
6805
|
-
*
|
|
6806
|
-
* @sample highcharts/annotations-advanced/fibonacci-reversed/
|
|
6807
|
-
* Fibonacci annotation reversed
|
|
6808
|
-
*
|
|
6809
|
-
* @type {boolean}
|
|
6810
|
-
* @apioption annotations.fibonacci.typeOptions.reversed
|
|
6811
|
-
*/
|
|
6812
|
-
reversed: false,
|
|
6813
|
-
/**
|
|
6814
|
-
* The height of the fibonacci in terms of yAxis.
|
|
6815
|
-
*/
|
|
6816
|
-
height: 2,
|
|
6817
|
-
/**
|
|
6818
|
-
* An array of background colors:
|
|
6819
|
-
* Default to:
|
|
6820
|
-
* ```
|
|
6821
|
-
* [
|
|
6822
|
-
* 'rgba(130, 170, 255, 0.4)',
|
|
6823
|
-
* 'rgba(139, 191, 216, 0.4)',
|
|
6824
|
-
* 'rgba(150, 216, 192, 0.4)',
|
|
6825
|
-
* 'rgba(156, 229, 161, 0.4)',
|
|
6826
|
-
* 'rgba(162, 241, 130, 0.4)',
|
|
6827
|
-
* 'rgba(169, 255, 101, 0.4)'
|
|
6828
|
-
* ]
|
|
6829
|
-
* ```
|
|
6830
|
-
*/
|
|
6831
|
-
backgroundColors: [
|
|
6832
|
-
'rgba(130, 170, 255, 0.4)',
|
|
6833
|
-
'rgba(139, 191, 216, 0.4)',
|
|
6834
|
-
'rgba(150, 216, 192, 0.4)',
|
|
6835
|
-
'rgba(156, 229, 161, 0.4)',
|
|
6836
|
-
'rgba(162, 241, 130, 0.4)',
|
|
6837
|
-
'rgba(169, 255, 101, 0.4)'
|
|
6838
|
-
],
|
|
6839
|
-
/**
|
|
6840
|
-
* The color of line.
|
|
6841
|
-
*/
|
|
6842
|
-
lineColor: "#999999" /* Palette.neutralColor40 */,
|
|
6843
|
-
/**
|
|
6844
|
-
* An array of colors for the lines.
|
|
6845
|
-
*/
|
|
6846
|
-
lineColors: [],
|
|
6847
|
-
/**
|
|
6848
|
-
* An array with options for the labels.
|
|
6849
|
-
*
|
|
6850
|
-
* @type {Array<*>}
|
|
6851
|
-
* @extends annotations.crookedLine.labelOptions
|
|
6852
|
-
* @apioption annotations.fibonacci.typeOptions.labels
|
|
6853
|
-
*/
|
|
6854
|
-
labels: []
|
|
6855
|
-
},
|
|
6856
|
-
labelOptions: {
|
|
6857
|
-
allowOverlap: true,
|
|
6858
|
-
align: 'right',
|
|
6859
|
-
backgroundColor: 'none',
|
|
6860
|
-
borderWidth: 0,
|
|
6861
|
-
crop: false,
|
|
6862
|
-
overflow: 'none',
|
|
6863
|
-
shape: 'rect',
|
|
6864
|
-
style: {
|
|
6865
|
-
color: 'grey'
|
|
6866
|
-
},
|
|
6867
|
-
verticalAlign: 'middle',
|
|
6868
|
-
y: 0
|
|
6869
|
-
}
|
|
6870
|
-
});
|
|
6871
6953
|
Annotations_Annotation.types.fibonacci = Fibonacci;
|
|
6872
6954
|
/* *
|
|
6873
6955
|
*
|
|
@@ -6889,9 +6971,83 @@ Annotations_Annotation.types.fibonacci = Fibonacci;
|
|
|
6889
6971
|
|
|
6890
6972
|
|
|
6891
6973
|
|
|
6974
|
+
const { defaultOptions: FibonacciTimeZones_defaultOptions } = (external_highcharts_src_js_default_default());
|
|
6975
|
+
|
|
6892
6976
|
|
|
6893
6977
|
|
|
6894
6978
|
const { merge: FibonacciTimeZones_merge } = (external_highcharts_src_js_default_default());
|
|
6979
|
+
if (FibonacciTimeZones_defaultOptions.annotations) {
|
|
6980
|
+
FibonacciTimeZones_defaultOptions.annotations.types.fibonacciTimeZones = FibonacciTimeZones_merge(FibonacciTimeZones_defaultOptions.annotations.types.crookedLine,
|
|
6981
|
+
/**
|
|
6982
|
+
* Options for the fibonacci time zones annotation type.
|
|
6983
|
+
*
|
|
6984
|
+
* @sample highcharts/annotations-advanced/fibonacci-time-zones/
|
|
6985
|
+
* Fibonacci Time Zones
|
|
6986
|
+
*
|
|
6987
|
+
* @extends annotations.types.crookedLine
|
|
6988
|
+
* @since 9.3.0
|
|
6989
|
+
* @product highstock
|
|
6990
|
+
* @optionparent annotations.types.fibonacciTimeZones
|
|
6991
|
+
*/
|
|
6992
|
+
{
|
|
6993
|
+
typeOptions: {
|
|
6994
|
+
/**
|
|
6995
|
+
* @exclude y
|
|
6996
|
+
* @since 9.3.0
|
|
6997
|
+
* @product highstock
|
|
6998
|
+
* @apioption annotations.types.fibonacciTimeZones.typeOptions.points
|
|
6999
|
+
*/
|
|
7000
|
+
// Options for showing in popup edit
|
|
7001
|
+
line: {
|
|
7002
|
+
/**
|
|
7003
|
+
* The color of the lines.
|
|
7004
|
+
*
|
|
7005
|
+
* @type {string}
|
|
7006
|
+
* @since 9.3.0
|
|
7007
|
+
* @apioption annotations.types.fibonacciTimeZones.typeOptions.line.stroke
|
|
7008
|
+
*/
|
|
7009
|
+
stroke: "#333333" /* Palette.neutralColor80 */,
|
|
7010
|
+
/**
|
|
7011
|
+
* The width of the lines.
|
|
7012
|
+
*
|
|
7013
|
+
* @type {number}
|
|
7014
|
+
* @since 9.3.0
|
|
7015
|
+
* @default 1
|
|
7016
|
+
* @apioption annotations.types.fibonacciTimeZones.typeOptions.line.strokeWidth
|
|
7017
|
+
*/
|
|
7018
|
+
strokeWidth: 1,
|
|
7019
|
+
// Don't inherit fill (don't display in popup edit)
|
|
7020
|
+
fill: void 0
|
|
7021
|
+
},
|
|
7022
|
+
controlPointOptions: {
|
|
7023
|
+
positioner: function () {
|
|
7024
|
+
// The control point is in the middle of the second line
|
|
7025
|
+
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;
|
|
7026
|
+
let x = edgePoints[0](args).x, y = (firstEdgePointY + secondEdgePointY) / 2;
|
|
7027
|
+
if (this.chart.inverted) {
|
|
7028
|
+
[x, y] = [y, x];
|
|
7029
|
+
}
|
|
7030
|
+
return {
|
|
7031
|
+
x: plotLeft + x - (graphic.width || 0) / 2,
|
|
7032
|
+
y: plotTop + y - (graphic.height || 0) / 2
|
|
7033
|
+
};
|
|
7034
|
+
},
|
|
7035
|
+
events: {
|
|
7036
|
+
drag: function (e, target) {
|
|
7037
|
+
const isInsidePlot = target.chart.isInsidePlot(e.chartX - target.chart.plotLeft, e.chartY - target.chart.plotTop, {
|
|
7038
|
+
visiblePlotOnly: true
|
|
7039
|
+
});
|
|
7040
|
+
if (isInsidePlot) {
|
|
7041
|
+
const translation = this.mouseMoveToTranslation(e);
|
|
7042
|
+
target.translatePoint(translation.x, 0, 1);
|
|
7043
|
+
target.redraw(false);
|
|
7044
|
+
}
|
|
7045
|
+
}
|
|
7046
|
+
}
|
|
7047
|
+
}
|
|
7048
|
+
}
|
|
7049
|
+
});
|
|
7050
|
+
}
|
|
6895
7051
|
/* *
|
|
6896
7052
|
*
|
|
6897
7053
|
* Functions
|
|
@@ -6995,77 +7151,6 @@ class FibonacciTimeZones extends Types_CrookedLine {
|
|
|
6995
7151
|
typeOptions.controlPointOptions = controlPoint.options;
|
|
6996
7152
|
}
|
|
6997
7153
|
}
|
|
6998
|
-
FibonacciTimeZones.prototype.defaultOptions = FibonacciTimeZones_merge(Types_CrookedLine.prototype.defaultOptions,
|
|
6999
|
-
/**
|
|
7000
|
-
* The Fibonacci Time Zones annotation.
|
|
7001
|
-
*
|
|
7002
|
-
* @sample highcharts/annotations-advanced/fibonacci-time-zones/
|
|
7003
|
-
* Fibonacci Time Zones
|
|
7004
|
-
*
|
|
7005
|
-
* @extends annotations.crookedLine
|
|
7006
|
-
* @since 9.3.0
|
|
7007
|
-
* @product highstock
|
|
7008
|
-
* @optionparent annotations.fibonacciTimeZones
|
|
7009
|
-
*/
|
|
7010
|
-
{
|
|
7011
|
-
typeOptions: {
|
|
7012
|
-
/**
|
|
7013
|
-
* @exclude y
|
|
7014
|
-
* @since 9.3.0
|
|
7015
|
-
* @product highstock
|
|
7016
|
-
* @apioption annotations.fibonacciTimeZones.typeOptions.points
|
|
7017
|
-
*/
|
|
7018
|
-
// Options for showing in popup edit
|
|
7019
|
-
line: {
|
|
7020
|
-
/**
|
|
7021
|
-
* The color of the lines.
|
|
7022
|
-
*
|
|
7023
|
-
* @type {string}
|
|
7024
|
-
* @since 9.3.0
|
|
7025
|
-
* @default 'rgba(0, 0, 0, 0.75)'
|
|
7026
|
-
* @apioption annotations.fibonacciTimeZones.typeOptions.line.stroke
|
|
7027
|
-
*/
|
|
7028
|
-
stroke: 'rgba(0, 0, 0, 0.75)',
|
|
7029
|
-
/**
|
|
7030
|
-
* The width of the lines.
|
|
7031
|
-
*
|
|
7032
|
-
* @type {number}
|
|
7033
|
-
* @since 9.3.0
|
|
7034
|
-
* @default 1
|
|
7035
|
-
* @apioption annotations.fibonacciTimeZones.typeOptions.line.strokeWidth
|
|
7036
|
-
*/
|
|
7037
|
-
strokeWidth: 1,
|
|
7038
|
-
// Don't inherit fill (don't display in popup edit)
|
|
7039
|
-
fill: void 0
|
|
7040
|
-
},
|
|
7041
|
-
controlPointOptions: {
|
|
7042
|
-
positioner: function () {
|
|
7043
|
-
// The control point is in the middle of the second line
|
|
7044
|
-
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;
|
|
7045
|
-
let x = edgePoints[0](args).x, y = (firstEdgePointY + secondEdgePointY) / 2;
|
|
7046
|
-
if (this.chart.inverted) {
|
|
7047
|
-
[x, y] = [y, x];
|
|
7048
|
-
}
|
|
7049
|
-
return {
|
|
7050
|
-
x: plotLeft + x - (graphic.width || 0) / 2,
|
|
7051
|
-
y: plotTop + y - (graphic.height || 0) / 2
|
|
7052
|
-
};
|
|
7053
|
-
},
|
|
7054
|
-
events: {
|
|
7055
|
-
drag: function (e, target) {
|
|
7056
|
-
const isInsidePlot = target.chart.isInsidePlot(e.chartX - target.chart.plotLeft, e.chartY - target.chart.plotTop, {
|
|
7057
|
-
visiblePlotOnly: true
|
|
7058
|
-
});
|
|
7059
|
-
if (isInsidePlot) {
|
|
7060
|
-
const translation = this.mouseMoveToTranslation(e);
|
|
7061
|
-
target.translatePoint(translation.x, 0, 1);
|
|
7062
|
-
target.redraw(false);
|
|
7063
|
-
}
|
|
7064
|
-
}
|
|
7065
|
-
}
|
|
7066
|
-
}
|
|
7067
|
-
}
|
|
7068
|
-
});
|
|
7069
7154
|
Annotations_Annotation.types.fibonacciTimeZones = FibonacciTimeZones;
|
|
7070
7155
|
/* *
|
|
7071
7156
|
*
|
|
@@ -7083,9 +7168,48 @@ Annotations_Annotation.types.fibonacciTimeZones = FibonacciTimeZones;
|
|
|
7083
7168
|
|
|
7084
7169
|
|
|
7085
7170
|
|
|
7171
|
+
const { defaultOptions: Pitchfork_defaultOptions } = (external_highcharts_src_js_default_default());
|
|
7172
|
+
|
|
7086
7173
|
|
|
7087
7174
|
|
|
7088
7175
|
const { merge: Pitchfork_merge } = (external_highcharts_src_js_default_default());
|
|
7176
|
+
if (Pitchfork_defaultOptions.annotations) {
|
|
7177
|
+
Pitchfork_defaultOptions.annotations.types.pitchfork = Pitchfork_merge(Pitchfork_defaultOptions.annotations.types.infinityLine,
|
|
7178
|
+
/**
|
|
7179
|
+
* Options for the pitchfork annotation type.
|
|
7180
|
+
*
|
|
7181
|
+
* @sample highcharts/annotations-advanced/pitchfork/
|
|
7182
|
+
* Pitchfork
|
|
7183
|
+
*
|
|
7184
|
+
* @extends annotations.types.infinityLine
|
|
7185
|
+
* @product highstock
|
|
7186
|
+
* @optionparent annotations.types.pitchfork
|
|
7187
|
+
*/
|
|
7188
|
+
{
|
|
7189
|
+
typeOptions: {
|
|
7190
|
+
/**
|
|
7191
|
+
* Inner background options.
|
|
7192
|
+
*
|
|
7193
|
+
* @extends annotations.types.crookedLine.shapeOptions
|
|
7194
|
+
* @excluding height, r, type, width
|
|
7195
|
+
*/
|
|
7196
|
+
innerBackground: {
|
|
7197
|
+
fill: 'rgba(130, 170, 255, 0.4)',
|
|
7198
|
+
strokeWidth: 0
|
|
7199
|
+
},
|
|
7200
|
+
/**
|
|
7201
|
+
* Outer background options.
|
|
7202
|
+
*
|
|
7203
|
+
* @extends annotations.types.crookedLine.shapeOptions
|
|
7204
|
+
* @excluding height, r, type, width
|
|
7205
|
+
*/
|
|
7206
|
+
outerBackground: {
|
|
7207
|
+
fill: 'rgba(156, 229, 161, 0.4)',
|
|
7208
|
+
strokeWidth: 0
|
|
7209
|
+
}
|
|
7210
|
+
}
|
|
7211
|
+
});
|
|
7212
|
+
}
|
|
7089
7213
|
/* *
|
|
7090
7214
|
*
|
|
7091
7215
|
* Class
|
|
@@ -7202,48 +7326,8 @@ class Pitchfork extends Types_InfinityLine {
|
|
|
7202
7326
|
typeOptions.outerBackground = outerBackground.options;
|
|
7203
7327
|
}
|
|
7204
7328
|
}
|
|
7205
|
-
/* *
|
|
7206
|
-
*
|
|
7207
|
-
* Static Properties
|
|
7208
|
-
*
|
|
7209
|
-
* */
|
|
7210
7329
|
Pitchfork.topLineEdgePoint = Pitchfork.outerLineEdgePoint(1);
|
|
7211
7330
|
Pitchfork.bottomLineEdgePoint = Pitchfork.outerLineEdgePoint(0);
|
|
7212
|
-
Pitchfork.prototype.defaultOptions = Pitchfork_merge(Types_InfinityLine.prototype.defaultOptions,
|
|
7213
|
-
/**
|
|
7214
|
-
* A pitchfork annotation.
|
|
7215
|
-
*
|
|
7216
|
-
* @sample highcharts/annotations-advanced/pitchfork/
|
|
7217
|
-
* Pitchfork
|
|
7218
|
-
*
|
|
7219
|
-
* @extends annotations.infinityLine
|
|
7220
|
-
* @product highstock
|
|
7221
|
-
* @optionparent annotations.pitchfork
|
|
7222
|
-
*/
|
|
7223
|
-
{
|
|
7224
|
-
typeOptions: {
|
|
7225
|
-
/**
|
|
7226
|
-
* Inner background options.
|
|
7227
|
-
*
|
|
7228
|
-
* @extends annotations.crookedLine.shapeOptions
|
|
7229
|
-
* @excluding height, r, type, width
|
|
7230
|
-
*/
|
|
7231
|
-
innerBackground: {
|
|
7232
|
-
fill: 'rgba(130, 170, 255, 0.4)',
|
|
7233
|
-
strokeWidth: 0
|
|
7234
|
-
},
|
|
7235
|
-
/**
|
|
7236
|
-
* Outer background options.
|
|
7237
|
-
*
|
|
7238
|
-
* @extends annotations.crookedLine.shapeOptions
|
|
7239
|
-
* @excluding height, r, type, width
|
|
7240
|
-
*/
|
|
7241
|
-
outerBackground: {
|
|
7242
|
-
fill: 'rgba(156, 229, 161, 0.4)',
|
|
7243
|
-
strokeWidth: 0
|
|
7244
|
-
}
|
|
7245
|
-
}
|
|
7246
|
-
});
|
|
7247
7331
|
Annotations_Annotation.types.pitchfork = Pitchfork;
|
|
7248
7332
|
/* *
|
|
7249
7333
|
*
|
|
@@ -7261,19 +7345,71 @@ Annotations_Annotation.types.pitchfork = Pitchfork;
|
|
|
7261
7345
|
|
|
7262
7346
|
|
|
7263
7347
|
|
|
7348
|
+
const { defaultOptions: VerticalLine_defaultOptions } = (external_highcharts_src_js_default_default());
|
|
7349
|
+
|
|
7264
7350
|
|
|
7265
7351
|
const { merge: VerticalLine_merge, pick: VerticalLine_pick } = (external_highcharts_src_js_default_default());
|
|
7352
|
+
if (VerticalLine_defaultOptions.annotations) {
|
|
7353
|
+
/**
|
|
7354
|
+
* Options for the vertical line annotation type.
|
|
7355
|
+
*
|
|
7356
|
+
* @sample highcharts/annotations-advanced/vertical-line/
|
|
7357
|
+
* Vertical line
|
|
7358
|
+
*
|
|
7359
|
+
* @extends annotations.types.crookedLine
|
|
7360
|
+
* @excluding labels, shapes, controlPointOptions
|
|
7361
|
+
* @product highstock
|
|
7362
|
+
* @optionparent annotations.types.verticalLine
|
|
7363
|
+
*/
|
|
7364
|
+
VerticalLine_defaultOptions.annotations.types.verticalLine = {
|
|
7365
|
+
typeOptions: {
|
|
7366
|
+
/**
|
|
7367
|
+
* @ignore
|
|
7368
|
+
*/
|
|
7369
|
+
yOffset: 10,
|
|
7370
|
+
/**
|
|
7371
|
+
* Label options.
|
|
7372
|
+
*
|
|
7373
|
+
* @extends annotations.types.crookedLine.labelOptions
|
|
7374
|
+
*/
|
|
7375
|
+
label: {
|
|
7376
|
+
offset: -40,
|
|
7377
|
+
point: function (target) {
|
|
7378
|
+
return target.annotation.points[0];
|
|
7379
|
+
},
|
|
7380
|
+
allowOverlap: true,
|
|
7381
|
+
backgroundColor: 'none',
|
|
7382
|
+
borderWidth: 0,
|
|
7383
|
+
crop: true,
|
|
7384
|
+
overflow: 'none',
|
|
7385
|
+
shape: 'rect',
|
|
7386
|
+
text: '{y:.2f}'
|
|
7387
|
+
},
|
|
7388
|
+
/**
|
|
7389
|
+
* Connector options.
|
|
7390
|
+
*
|
|
7391
|
+
* @extends annotations.types.crookedLine.shapeOptions
|
|
7392
|
+
* @excluding height, r, type, width
|
|
7393
|
+
*/
|
|
7394
|
+
connector: {
|
|
7395
|
+
strokeWidth: 1,
|
|
7396
|
+
markerEnd: 'arrow'
|
|
7397
|
+
}
|
|
7398
|
+
},
|
|
7399
|
+
labelOptions: {
|
|
7400
|
+
style: {
|
|
7401
|
+
color: "#333333" /* Palette.neutralColor80 */,
|
|
7402
|
+
fontSize: '0.7em'
|
|
7403
|
+
}
|
|
7404
|
+
}
|
|
7405
|
+
};
|
|
7406
|
+
}
|
|
7266
7407
|
/* *
|
|
7267
7408
|
*
|
|
7268
7409
|
* Class
|
|
7269
7410
|
*
|
|
7270
7411
|
* */
|
|
7271
7412
|
class VerticalLine extends Annotations_Annotation {
|
|
7272
|
-
/* *
|
|
7273
|
-
*
|
|
7274
|
-
* Static Functions
|
|
7275
|
-
*
|
|
7276
|
-
* */
|
|
7277
7413
|
static connectorFirstPoint(target) {
|
|
7278
7414
|
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'];
|
|
7279
7415
|
return {
|
|
@@ -7334,54 +7470,6 @@ class VerticalLine extends Annotations_Annotation {
|
|
|
7334
7470
|
typeOptions.label = label.options;
|
|
7335
7471
|
}
|
|
7336
7472
|
}
|
|
7337
|
-
VerticalLine.prototype.defaultOptions = VerticalLine_merge(Annotations_Annotation.prototype.defaultOptions,
|
|
7338
|
-
/**
|
|
7339
|
-
* A vertical line annotation.
|
|
7340
|
-
*
|
|
7341
|
-
* @sample highcharts/annotations-advanced/vertical-line/
|
|
7342
|
-
* Vertical line
|
|
7343
|
-
*
|
|
7344
|
-
* @extends annotations.crookedLine
|
|
7345
|
-
* @excluding labels, shapes, controlPointOptions
|
|
7346
|
-
* @product highstock
|
|
7347
|
-
* @optionparent annotations.verticalLine
|
|
7348
|
-
*/
|
|
7349
|
-
{
|
|
7350
|
-
typeOptions: {
|
|
7351
|
-
/**
|
|
7352
|
-
* @ignore
|
|
7353
|
-
*/
|
|
7354
|
-
yOffset: 10,
|
|
7355
|
-
/**
|
|
7356
|
-
* Label options.
|
|
7357
|
-
*
|
|
7358
|
-
* @extends annotations.crookedLine.labelOptions
|
|
7359
|
-
*/
|
|
7360
|
-
label: {
|
|
7361
|
-
offset: -40,
|
|
7362
|
-
point: function (target) {
|
|
7363
|
-
return target.annotation.points[0];
|
|
7364
|
-
},
|
|
7365
|
-
allowOverlap: true,
|
|
7366
|
-
backgroundColor: 'none',
|
|
7367
|
-
borderWidth: 0,
|
|
7368
|
-
crop: true,
|
|
7369
|
-
overflow: 'none',
|
|
7370
|
-
shape: 'rect',
|
|
7371
|
-
text: '{y:.2f}'
|
|
7372
|
-
},
|
|
7373
|
-
/**
|
|
7374
|
-
* Connector options.
|
|
7375
|
-
*
|
|
7376
|
-
* @extends annotations.crookedLine.shapeOptions
|
|
7377
|
-
* @excluding height, r, type, width
|
|
7378
|
-
*/
|
|
7379
|
-
connector: {
|
|
7380
|
-
strokeWidth: 1,
|
|
7381
|
-
markerEnd: 'arrow'
|
|
7382
|
-
}
|
|
7383
|
-
}
|
|
7384
|
-
});
|
|
7385
7473
|
Annotations_Annotation.types.verticalLine = VerticalLine;
|
|
7386
7474
|
/* *
|
|
7387
7475
|
*
|
|
@@ -7400,7 +7488,236 @@ Annotations_Annotation.types.verticalLine = VerticalLine;
|
|
|
7400
7488
|
|
|
7401
7489
|
|
|
7402
7490
|
|
|
7491
|
+
const { defaultOptions: Measure_defaultOptions } = (external_highcharts_src_js_default_default());
|
|
7492
|
+
|
|
7403
7493
|
const { defined: Measure_defined, extend: Measure_extend, isNumber: Measure_isNumber, merge: Measure_merge, pick: Measure_pick } = (external_highcharts_src_js_default_default());
|
|
7494
|
+
if (Measure_defaultOptions.annotations) {
|
|
7495
|
+
/**
|
|
7496
|
+
* Options for the measure annotation type.
|
|
7497
|
+
*
|
|
7498
|
+
* @extends annotations.types.crookedLine
|
|
7499
|
+
* @excluding labels, labelOptions, shapes, shapeOptions
|
|
7500
|
+
* @sample highcharts/annotations-advanced/measure/
|
|
7501
|
+
* Measure
|
|
7502
|
+
* @product highstock
|
|
7503
|
+
* @optionparent annotations.types.measure
|
|
7504
|
+
*/
|
|
7505
|
+
Measure_defaultOptions.annotations.types.measure = {
|
|
7506
|
+
typeOptions: {
|
|
7507
|
+
/**
|
|
7508
|
+
* Decides in what dimensions the user can resize by dragging the
|
|
7509
|
+
* mouse. Can be one of x, y or xy.
|
|
7510
|
+
*/
|
|
7511
|
+
selectType: 'xy',
|
|
7512
|
+
/**
|
|
7513
|
+
* This number defines which xAxis the point is connected to.
|
|
7514
|
+
* It refers to either the axis id or the index of the axis
|
|
7515
|
+
* in the xAxis array.
|
|
7516
|
+
*/
|
|
7517
|
+
xAxis: 0,
|
|
7518
|
+
/**
|
|
7519
|
+
* This number defines which yAxis the point is connected to.
|
|
7520
|
+
* It refers to either the axis id or the index of the axis
|
|
7521
|
+
* in the yAxis array.
|
|
7522
|
+
*/
|
|
7523
|
+
yAxis: 0,
|
|
7524
|
+
background: {
|
|
7525
|
+
/**
|
|
7526
|
+
* The color of the rectangle.
|
|
7527
|
+
*/
|
|
7528
|
+
fill: 'rgba(130, 170, 255, 0.4)',
|
|
7529
|
+
/**
|
|
7530
|
+
* The width of border.
|
|
7531
|
+
*/
|
|
7532
|
+
strokeWidth: 0,
|
|
7533
|
+
/**
|
|
7534
|
+
* The color of border.
|
|
7535
|
+
*/
|
|
7536
|
+
stroke: void 0
|
|
7537
|
+
},
|
|
7538
|
+
/**
|
|
7539
|
+
* Configure a crosshair that is horizontally placed in middle of
|
|
7540
|
+
* rectangle.
|
|
7541
|
+
*
|
|
7542
|
+
*/
|
|
7543
|
+
crosshairX: {
|
|
7544
|
+
/**
|
|
7545
|
+
* Enable or disable the horizontal crosshair.
|
|
7546
|
+
*
|
|
7547
|
+
*/
|
|
7548
|
+
enabled: true,
|
|
7549
|
+
/**
|
|
7550
|
+
* The Z index of the crosshair in annotation.
|
|
7551
|
+
*/
|
|
7552
|
+
zIndex: 6,
|
|
7553
|
+
/**
|
|
7554
|
+
* The dash or dot style of the crosshair's line. For possible
|
|
7555
|
+
* values, see
|
|
7556
|
+
* [this demonstration](https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/plotoptions/series-dashstyle-all/).
|
|
7557
|
+
*
|
|
7558
|
+
* @type {Highcharts.DashStyleValue}
|
|
7559
|
+
* @default Dash
|
|
7560
|
+
*/
|
|
7561
|
+
dashStyle: 'Dash',
|
|
7562
|
+
/**
|
|
7563
|
+
* The marker-end defines the arrowhead that will be drawn
|
|
7564
|
+
* at the final vertex of the given crosshair's path.
|
|
7565
|
+
*
|
|
7566
|
+
* @type {string}
|
|
7567
|
+
* @default arrow
|
|
7568
|
+
*/
|
|
7569
|
+
markerEnd: 'arrow'
|
|
7570
|
+
},
|
|
7571
|
+
/**
|
|
7572
|
+
* Configure a crosshair that is vertically placed in middle of
|
|
7573
|
+
* rectangle.
|
|
7574
|
+
*/
|
|
7575
|
+
crosshairY: {
|
|
7576
|
+
/**
|
|
7577
|
+
* Enable or disable the vertical crosshair.
|
|
7578
|
+
*
|
|
7579
|
+
*/
|
|
7580
|
+
enabled: true,
|
|
7581
|
+
/**
|
|
7582
|
+
* The Z index of the crosshair in annotation.
|
|
7583
|
+
*/
|
|
7584
|
+
zIndex: 6,
|
|
7585
|
+
/**
|
|
7586
|
+
* The dash or dot style of the crosshair's line. For possible
|
|
7587
|
+
* values, see
|
|
7588
|
+
* [this demonstration](https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/plotoptions/series-dashstyle-all/).
|
|
7589
|
+
*
|
|
7590
|
+
* @type {Highcharts.DashStyleValue}
|
|
7591
|
+
* @default Dash
|
|
7592
|
+
* @apioption annotations.types.measure.typeOptions.crosshairY.dashStyle
|
|
7593
|
+
*
|
|
7594
|
+
*/
|
|
7595
|
+
dashStyle: 'Dash',
|
|
7596
|
+
/**
|
|
7597
|
+
* The marker-end defines the arrowhead that will be drawn
|
|
7598
|
+
* at the final vertex of the given crosshair's path.
|
|
7599
|
+
*
|
|
7600
|
+
* @type {string}
|
|
7601
|
+
* @default arrow
|
|
7602
|
+
* @validvalue ["none", "arrow"]
|
|
7603
|
+
*
|
|
7604
|
+
*/
|
|
7605
|
+
markerEnd: 'arrow'
|
|
7606
|
+
},
|
|
7607
|
+
label: {
|
|
7608
|
+
/**
|
|
7609
|
+
* Enable or disable the label text (min, max, average,
|
|
7610
|
+
* bins values).
|
|
7611
|
+
*
|
|
7612
|
+
* Defaults to true.
|
|
7613
|
+
*/
|
|
7614
|
+
enabled: true,
|
|
7615
|
+
/**
|
|
7616
|
+
* CSS styles for the measure label.
|
|
7617
|
+
*
|
|
7618
|
+
* @type {Highcharts.CSSObject}
|
|
7619
|
+
* @default {"color": "#666666", "fontSize": "11px"}
|
|
7620
|
+
*/
|
|
7621
|
+
style: {
|
|
7622
|
+
fontSize: '0.7em',
|
|
7623
|
+
color: "#333333" /* Palette.neutralColor80 */
|
|
7624
|
+
},
|
|
7625
|
+
/**
|
|
7626
|
+
* Formatter function for the label text.
|
|
7627
|
+
*
|
|
7628
|
+
* Available data are:
|
|
7629
|
+
*
|
|
7630
|
+
* <table>
|
|
7631
|
+
*
|
|
7632
|
+
* <tbody>
|
|
7633
|
+
*
|
|
7634
|
+
* <tr>
|
|
7635
|
+
*
|
|
7636
|
+
* <td>`this.min`</td>
|
|
7637
|
+
*
|
|
7638
|
+
* <td>The minimum value of the points in the selected
|
|
7639
|
+
* range.</td>
|
|
7640
|
+
*
|
|
7641
|
+
* </tr>
|
|
7642
|
+
*
|
|
7643
|
+
* <tr>
|
|
7644
|
+
*
|
|
7645
|
+
* <td>`this.max`</td>
|
|
7646
|
+
*
|
|
7647
|
+
* <td>The maximum value of the points in the selected
|
|
7648
|
+
* range.</td>
|
|
7649
|
+
*
|
|
7650
|
+
* </tr>
|
|
7651
|
+
*
|
|
7652
|
+
* <tr>
|
|
7653
|
+
*
|
|
7654
|
+
* <td>`this.average`</td>
|
|
7655
|
+
*
|
|
7656
|
+
* <td>The average value of the points in the selected
|
|
7657
|
+
* range.</td>
|
|
7658
|
+
*
|
|
7659
|
+
* </tr>
|
|
7660
|
+
*
|
|
7661
|
+
* <tr>
|
|
7662
|
+
*
|
|
7663
|
+
* <td>`this.bins`</td>
|
|
7664
|
+
*
|
|
7665
|
+
* <td>The amount of the points in the selected range.</td>
|
|
7666
|
+
*
|
|
7667
|
+
* </tr>
|
|
7668
|
+
*
|
|
7669
|
+
* </table>
|
|
7670
|
+
*
|
|
7671
|
+
* @type {Function}
|
|
7672
|
+
*
|
|
7673
|
+
*/
|
|
7674
|
+
formatter: void 0
|
|
7675
|
+
}
|
|
7676
|
+
},
|
|
7677
|
+
controlPointOptions: {
|
|
7678
|
+
positioner: function (target) {
|
|
7679
|
+
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);
|
|
7680
|
+
let targetX = target.xAxisMax, targetY = target.yAxisMax, x, y;
|
|
7681
|
+
if (selectType === 'x') {
|
|
7682
|
+
targetY = (ext.yAxisMax + ext.yAxisMin) / 2;
|
|
7683
|
+
// First control point
|
|
7684
|
+
if (cpIndex === 0) {
|
|
7685
|
+
targetX = target.xAxisMin;
|
|
7686
|
+
}
|
|
7687
|
+
}
|
|
7688
|
+
if (selectType === 'y') {
|
|
7689
|
+
targetX = ext.xAxisMin +
|
|
7690
|
+
((ext.xAxisMax - ext.xAxisMin) / 2);
|
|
7691
|
+
// First control point
|
|
7692
|
+
if (cpIndex === 0) {
|
|
7693
|
+
targetY = target.yAxisMin;
|
|
7694
|
+
}
|
|
7695
|
+
}
|
|
7696
|
+
if (inverted) {
|
|
7697
|
+
x = yAxis.toPixels(targetY);
|
|
7698
|
+
y = xAxis.toPixels(targetX);
|
|
7699
|
+
}
|
|
7700
|
+
else {
|
|
7701
|
+
x = xAxis.toPixels(targetX);
|
|
7702
|
+
y = yAxis.toPixels(targetY);
|
|
7703
|
+
}
|
|
7704
|
+
return {
|
|
7705
|
+
x: x - (controlPointOptions.width / 2),
|
|
7706
|
+
y: y - (controlPointOptions.height / 2)
|
|
7707
|
+
};
|
|
7708
|
+
},
|
|
7709
|
+
events: {
|
|
7710
|
+
drag: function (e, target) {
|
|
7711
|
+
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;
|
|
7712
|
+
target.resize(x, y, index, selectType);
|
|
7713
|
+
target.resizeX += x;
|
|
7714
|
+
target.resizeY += y;
|
|
7715
|
+
target.redraw(false, true);
|
|
7716
|
+
}
|
|
7717
|
+
}
|
|
7718
|
+
}
|
|
7719
|
+
};
|
|
7720
|
+
}
|
|
7404
7721
|
/* *
|
|
7405
7722
|
*
|
|
7406
7723
|
*
|
|
@@ -7969,232 +8286,6 @@ class Measure extends Annotations_Annotation {
|
|
|
7969
8286
|
this.shapes.forEach((item) => item.translate(dx, dy));
|
|
7970
8287
|
}
|
|
7971
8288
|
}
|
|
7972
|
-
Measure.prototype.defaultOptions = Measure_merge(Annotations_Annotation.prototype.defaultOptions,
|
|
7973
|
-
/**
|
|
7974
|
-
* A measure annotation.
|
|
7975
|
-
*
|
|
7976
|
-
* @extends annotations.crookedLine
|
|
7977
|
-
* @excluding labels, labelOptions, shapes, shapeOptions
|
|
7978
|
-
* @sample highcharts/annotations-advanced/measure/
|
|
7979
|
-
* Measure
|
|
7980
|
-
* @product highstock
|
|
7981
|
-
* @optionparent annotations.measure
|
|
7982
|
-
*/
|
|
7983
|
-
{
|
|
7984
|
-
typeOptions: {
|
|
7985
|
-
/**
|
|
7986
|
-
* Decides in what dimensions the user can resize by dragging the
|
|
7987
|
-
* mouse. Can be one of x, y or xy.
|
|
7988
|
-
*/
|
|
7989
|
-
selectType: 'xy',
|
|
7990
|
-
/**
|
|
7991
|
-
* This number defines which xAxis the point is connected to.
|
|
7992
|
-
* It refers to either the axis id or the index of the axis
|
|
7993
|
-
* in the xAxis array.
|
|
7994
|
-
*/
|
|
7995
|
-
xAxis: 0,
|
|
7996
|
-
/**
|
|
7997
|
-
* This number defines which yAxis the point is connected to.
|
|
7998
|
-
* It refers to either the axis id or the index of the axis
|
|
7999
|
-
* in the yAxis array.
|
|
8000
|
-
*/
|
|
8001
|
-
yAxis: 0,
|
|
8002
|
-
background: {
|
|
8003
|
-
/**
|
|
8004
|
-
* The color of the rectangle.
|
|
8005
|
-
*/
|
|
8006
|
-
fill: 'rgba(130, 170, 255, 0.4)',
|
|
8007
|
-
/**
|
|
8008
|
-
* The width of border.
|
|
8009
|
-
*/
|
|
8010
|
-
strokeWidth: 0,
|
|
8011
|
-
/**
|
|
8012
|
-
* The color of border.
|
|
8013
|
-
*/
|
|
8014
|
-
stroke: void 0
|
|
8015
|
-
},
|
|
8016
|
-
/**
|
|
8017
|
-
* Configure a crosshair that is horizontally placed in middle of
|
|
8018
|
-
* rectangle.
|
|
8019
|
-
*
|
|
8020
|
-
*/
|
|
8021
|
-
crosshairX: {
|
|
8022
|
-
/**
|
|
8023
|
-
* Enable or disable the horizontal crosshair.
|
|
8024
|
-
*
|
|
8025
|
-
*/
|
|
8026
|
-
enabled: true,
|
|
8027
|
-
/**
|
|
8028
|
-
* The Z index of the crosshair in annotation.
|
|
8029
|
-
*/
|
|
8030
|
-
zIndex: 6,
|
|
8031
|
-
/**
|
|
8032
|
-
* The dash or dot style of the crosshair's line. For possible
|
|
8033
|
-
* values, see
|
|
8034
|
-
* [this demonstration](https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/plotoptions/series-dashstyle-all/).
|
|
8035
|
-
*
|
|
8036
|
-
* @type {Highcharts.DashStyleValue}
|
|
8037
|
-
* @default Dash
|
|
8038
|
-
*/
|
|
8039
|
-
dashStyle: 'Dash',
|
|
8040
|
-
/**
|
|
8041
|
-
* The marker-end defines the arrowhead that will be drawn
|
|
8042
|
-
* at the final vertex of the given crosshair's path.
|
|
8043
|
-
*
|
|
8044
|
-
* @type {string}
|
|
8045
|
-
* @default arrow
|
|
8046
|
-
*/
|
|
8047
|
-
markerEnd: 'arrow'
|
|
8048
|
-
},
|
|
8049
|
-
/**
|
|
8050
|
-
* Configure a crosshair that is vertically placed in middle of
|
|
8051
|
-
* rectangle.
|
|
8052
|
-
*/
|
|
8053
|
-
crosshairY: {
|
|
8054
|
-
/**
|
|
8055
|
-
* Enable or disable the vertical crosshair.
|
|
8056
|
-
*
|
|
8057
|
-
*/
|
|
8058
|
-
enabled: true,
|
|
8059
|
-
/**
|
|
8060
|
-
* The Z index of the crosshair in annotation.
|
|
8061
|
-
*/
|
|
8062
|
-
zIndex: 6,
|
|
8063
|
-
/**
|
|
8064
|
-
* The dash or dot style of the crosshair's line. For possible
|
|
8065
|
-
* values, see
|
|
8066
|
-
* [this demonstration](https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/plotoptions/series-dashstyle-all/).
|
|
8067
|
-
*
|
|
8068
|
-
* @type {Highcharts.DashStyleValue}
|
|
8069
|
-
* @default Dash
|
|
8070
|
-
* @apioption annotations.measure.typeOptions.crosshairY.dashStyle
|
|
8071
|
-
*
|
|
8072
|
-
*/
|
|
8073
|
-
dashStyle: 'Dash',
|
|
8074
|
-
/**
|
|
8075
|
-
* The marker-end defines the arrowhead that will be drawn
|
|
8076
|
-
* at the final vertex of the given crosshair's path.
|
|
8077
|
-
*
|
|
8078
|
-
* @type {string}
|
|
8079
|
-
* @default arrow
|
|
8080
|
-
* @validvalue ["none", "arrow"]
|
|
8081
|
-
*
|
|
8082
|
-
*/
|
|
8083
|
-
markerEnd: 'arrow'
|
|
8084
|
-
},
|
|
8085
|
-
label: {
|
|
8086
|
-
/**
|
|
8087
|
-
* Enable or disable the label text (min, max, average,
|
|
8088
|
-
* bins values).
|
|
8089
|
-
*
|
|
8090
|
-
* Defaults to true.
|
|
8091
|
-
*/
|
|
8092
|
-
enabled: true,
|
|
8093
|
-
/**
|
|
8094
|
-
* CSS styles for the measure label.
|
|
8095
|
-
*
|
|
8096
|
-
* @type {Highcharts.CSSObject}
|
|
8097
|
-
* @default {"color": "#666666", "fontSize": "11px"}
|
|
8098
|
-
*/
|
|
8099
|
-
style: {
|
|
8100
|
-
fontSize: '0.7em',
|
|
8101
|
-
color: "#666666" /* Palette.neutralColor60 */
|
|
8102
|
-
},
|
|
8103
|
-
/**
|
|
8104
|
-
* Formatter function for the label text.
|
|
8105
|
-
*
|
|
8106
|
-
* Available data are:
|
|
8107
|
-
*
|
|
8108
|
-
* <table>
|
|
8109
|
-
*
|
|
8110
|
-
* <tbody>
|
|
8111
|
-
*
|
|
8112
|
-
* <tr>
|
|
8113
|
-
*
|
|
8114
|
-
* <td>`this.min`</td>
|
|
8115
|
-
*
|
|
8116
|
-
* <td>The minimum value of the points in the selected
|
|
8117
|
-
* range.</td>
|
|
8118
|
-
*
|
|
8119
|
-
* </tr>
|
|
8120
|
-
*
|
|
8121
|
-
* <tr>
|
|
8122
|
-
*
|
|
8123
|
-
* <td>`this.max`</td>
|
|
8124
|
-
*
|
|
8125
|
-
* <td>The maximum value of the points in the selected
|
|
8126
|
-
* range.</td>
|
|
8127
|
-
*
|
|
8128
|
-
* </tr>
|
|
8129
|
-
*
|
|
8130
|
-
* <tr>
|
|
8131
|
-
*
|
|
8132
|
-
* <td>`this.average`</td>
|
|
8133
|
-
*
|
|
8134
|
-
* <td>The average value of the points in the selected
|
|
8135
|
-
* range.</td>
|
|
8136
|
-
*
|
|
8137
|
-
* </tr>
|
|
8138
|
-
*
|
|
8139
|
-
* <tr>
|
|
8140
|
-
*
|
|
8141
|
-
* <td>`this.bins`</td>
|
|
8142
|
-
*
|
|
8143
|
-
* <td>The amount of the points in the selected range.</td>
|
|
8144
|
-
*
|
|
8145
|
-
* </tr>
|
|
8146
|
-
*
|
|
8147
|
-
* </table>
|
|
8148
|
-
*
|
|
8149
|
-
* @type {Function}
|
|
8150
|
-
*
|
|
8151
|
-
*/
|
|
8152
|
-
formatter: void 0
|
|
8153
|
-
}
|
|
8154
|
-
},
|
|
8155
|
-
controlPointOptions: {
|
|
8156
|
-
positioner: function (target) {
|
|
8157
|
-
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);
|
|
8158
|
-
let targetX = target.xAxisMax, targetY = target.yAxisMax, x, y;
|
|
8159
|
-
if (selectType === 'x') {
|
|
8160
|
-
targetY = (ext.yAxisMax + ext.yAxisMin) / 2;
|
|
8161
|
-
// First control point
|
|
8162
|
-
if (cpIndex === 0) {
|
|
8163
|
-
targetX = target.xAxisMin;
|
|
8164
|
-
}
|
|
8165
|
-
}
|
|
8166
|
-
if (selectType === 'y') {
|
|
8167
|
-
targetX = ext.xAxisMin +
|
|
8168
|
-
((ext.xAxisMax - ext.xAxisMin) / 2);
|
|
8169
|
-
// First control point
|
|
8170
|
-
if (cpIndex === 0) {
|
|
8171
|
-
targetY = target.yAxisMin;
|
|
8172
|
-
}
|
|
8173
|
-
}
|
|
8174
|
-
if (inverted) {
|
|
8175
|
-
x = yAxis.toPixels(targetY);
|
|
8176
|
-
y = xAxis.toPixels(targetX);
|
|
8177
|
-
}
|
|
8178
|
-
else {
|
|
8179
|
-
x = xAxis.toPixels(targetX);
|
|
8180
|
-
y = yAxis.toPixels(targetY);
|
|
8181
|
-
}
|
|
8182
|
-
return {
|
|
8183
|
-
x: x - (controlPointOptions.width / 2),
|
|
8184
|
-
y: y - (controlPointOptions.height / 2)
|
|
8185
|
-
};
|
|
8186
|
-
},
|
|
8187
|
-
events: {
|
|
8188
|
-
drag: function (e, target) {
|
|
8189
|
-
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;
|
|
8190
|
-
target.resize(x, y, index, selectType);
|
|
8191
|
-
target.resizeX += x;
|
|
8192
|
-
target.resizeY += y;
|
|
8193
|
-
target.redraw(false, true);
|
|
8194
|
-
}
|
|
8195
|
-
}
|
|
8196
|
-
}
|
|
8197
|
-
});
|
|
8198
8289
|
Annotations_Annotation.types.measure = Measure;
|
|
8199
8290
|
/* *
|
|
8200
8291
|
*
|