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