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