highcharts 9.3.1 → 9.3.2
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 +1 -1
- package/css/highcharts.css +2 -2
- package/css/highcharts.scss +1 -1
- package/css/stocktools/gui.css +1 -1
- package/css/themes/dark-unica.css +2 -2
- package/css/themes/grid-light.css +2 -2
- package/css/themes/sand-signika.css +2 -2
- package/es-modules/Accessibility/A11yI18n.js +1 -5
- package/es-modules/Accessibility/Accessibility.js +11 -5
- package/es-modules/Accessibility/AccessibilityComponent.js +1 -1
- package/es-modules/Accessibility/Components/AnnotationsA11y.js +9 -5
- package/es-modules/Accessibility/Components/ContainerComponent.js +1 -1
- package/es-modules/Accessibility/Components/InfoRegionsComponent.js +8 -19
- package/es-modules/Accessibility/Components/LegendComponent.js +176 -86
- package/es-modules/Accessibility/Components/MenuComponent.js +1 -10
- package/es-modules/Accessibility/Components/RangeSelectorComponent.js +10 -13
- package/es-modules/Accessibility/Components/SeriesComponent/ForcedMarkers.js +15 -6
- package/es-modules/Accessibility/Components/SeriesComponent/NewDataAnnouncer.js +8 -4
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesComponent.js +3 -1
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +16 -41
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js +20 -31
- package/es-modules/Accessibility/Components/ZoomComponent.js +135 -57
- package/es-modules/Accessibility/FocusBorder.js +0 -5
- package/es-modules/Accessibility/HighContrastMode.js +2 -1
- package/es-modules/Accessibility/KeyboardNavigation.js +5 -4
- package/es-modules/Accessibility/Options/DeprecatedOptions.js +12 -5
- package/es-modules/Accessibility/Options/LangOptions.js +3 -3
- package/es-modules/Accessibility/ProxyElement.js +12 -6
- package/es-modules/Accessibility/ProxyProvider.js +0 -3
- package/es-modules/Accessibility/Utils/Announcer.js +2 -2
- package/es-modules/Accessibility/Utils/ChartUtilities.js +17 -32
- package/es-modules/Accessibility/Utils/HTMLUtilities.js +0 -12
- package/es-modules/Core/Animation/Fx.js +5 -14
- package/es-modules/Core/Axis/Axis.js +42 -68
- package/es-modules/Core/Axis/Axis3D.js +10 -4
- package/es-modules/Core/Axis/BrokenAxis.js +17 -11
- package/es-modules/Core/Axis/Color/ColorAxis.js +7 -4
- package/es-modules/Core/Axis/Color/ColorAxisComposition.js +3 -3
- package/es-modules/Core/Axis/DateTimeAxis.js +3 -14
- package/es-modules/Core/Axis/GridAxis.js +26 -16
- package/es-modules/Core/Axis/NavigatorAxis.js +0 -5
- package/es-modules/Core/Axis/OrdinalAxis.js +83 -79
- package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js +0 -5
- package/es-modules/Core/Axis/RadialAxis.js +7 -28
- package/es-modules/Core/Axis/ScrollbarAxis.js +18 -10
- package/es-modules/Core/Axis/StackingAxis.js +2 -1
- package/es-modules/Core/Axis/Tick.js +2 -4
- package/es-modules/Core/Axis/TreeGridAxis.js +26 -17
- package/es-modules/Core/Axis/TreeGridTick.js +4 -1
- package/es-modules/Core/Axis/WaterfallAxis.js +1 -1
- package/es-modules/Core/Axis/ZAxis.js +1 -1
- package/es-modules/Core/Chart/Chart.js +42 -44
- package/es-modules/Core/Chart/Chart3D.js +23 -10
- package/es-modules/Core/Chart/GanttChart.js +4 -4
- package/es-modules/Core/Chart/MapChart.js +3 -3
- package/es-modules/Core/Chart/StockChart.js +10 -23
- package/es-modules/Core/DefaultOptions.js +3 -2
- package/es-modules/Core/Geometry/CircleUtilities.js +2 -1
- package/es-modules/Core/Globals.js +1 -1
- package/es-modules/Core/HttpUtilities.js +5 -4
- package/es-modules/Core/Legend/Legend.js +12 -13
- package/es-modules/Core/Navigator.js +34 -22
- package/es-modules/Core/Pointer.js +13 -9
- package/es-modules/Core/Renderer/HTML/AST.js +27 -14
- package/es-modules/Core/Renderer/HTML/HTMLElement.js +4 -2
- package/es-modules/Core/Renderer/HTML/HTMLRenderer.js +8 -6
- package/es-modules/Core/Renderer/RendererUtilities.js +2 -2
- package/es-modules/Core/Renderer/SVG/SVGElement.js +8 -16
- package/es-modules/Core/Renderer/SVG/SVGLabel.js +17 -8
- package/es-modules/Core/Renderer/SVG/SVGRenderer.js +5 -12
- package/es-modules/Core/Renderer/SVG/SVGRenderer3D.js +12 -5
- package/es-modules/Core/Renderer/SVG/TextBuilder.js +16 -10
- package/es-modules/Core/Responsive.js +2 -3
- package/es-modules/Core/Scrollbar.js +14 -12
- package/es-modules/Core/Series/DataLabel.js +17 -12
- package/es-modules/Core/Series/Point.js +17 -16
- package/es-modules/Core/Series/Series.js +44 -73
- package/es-modules/Core/Series/SeriesDefaults.js +5 -4
- package/es-modules/Core/Time.js +14 -11
- package/es-modules/Core/Tooltip.js +19 -36
- package/es-modules/Core/Utilities.js +5 -17
- package/es-modules/Data/DataConverter.js +0 -6
- package/es-modules/Data/DataSeriesConverter.js +9 -5
- package/es-modules/Data/DataTable.js +2 -1
- package/es-modules/Data/Modifiers/DataModifier.js +1 -1
- package/es-modules/Data/Parsers/CSVParser.js +3 -2
- package/es-modules/Data/Parsers/GoogleSheetsParser.js +5 -2
- package/es-modules/Data/Stores/CSVStore.js +2 -2
- package/es-modules/Data/Stores/DataStore.js +1 -1
- package/es-modules/Data/Stores/GoogleSheetsStore.js +3 -1
- package/es-modules/Data/Stores/HTMLTableStore.js +3 -1
- package/es-modules/Extensions/Annotations/Annotations.js +11 -10
- package/es-modules/Extensions/Annotations/ControlPoint.js +0 -2
- package/es-modules/Extensions/Annotations/Controllables/ControllableCircle.js +1 -1
- package/es-modules/Extensions/Annotations/Controllables/ControllableEllipse.js +1 -1
- package/es-modules/Extensions/Annotations/Controllables/ControllableImage.js +1 -1
- package/es-modules/Extensions/Annotations/Controllables/ControllableLabel.js +3 -6
- package/es-modules/Extensions/Annotations/Controllables/ControllablePath.js +3 -2
- package/es-modules/Extensions/Annotations/Controllables/ControllableRect.js +1 -1
- package/es-modules/Extensions/Annotations/Mixins/ControllableMixin.js +6 -3
- package/es-modules/Extensions/Annotations/Mixins/EventEmitterMixin.js +0 -1
- package/es-modules/Extensions/Annotations/Mixins/MarkerMixin.js +5 -4
- package/es-modules/Extensions/Annotations/NavigationBindings.js +34 -29
- package/es-modules/Extensions/Annotations/Popup.js +40 -32
- package/es-modules/Extensions/Annotations/Types/CrookedLine.js +4 -2
- package/es-modules/Extensions/Annotations/Types/ElliottWave.js +1 -1
- package/es-modules/Extensions/Annotations/Types/Measure.js +15 -11
- package/es-modules/Extensions/Annotations/Types/Pitchfork.js +2 -1
- package/es-modules/Extensions/Annotations/Types/TimeCycles.js +8 -4
- package/es-modules/Extensions/Annotations/Types/Tunnel.js +10 -5
- package/es-modules/Extensions/Boost/BoostOverrides.js +3 -9
- package/es-modules/Extensions/Boost/BoostUtils.js +0 -6
- package/es-modules/Extensions/Boost/WGLRenderer.js +16 -12
- package/es-modules/Extensions/Boost/WGLShader.js +9 -8
- package/es-modules/Extensions/Boost/WGLVBuffer.js +4 -7
- package/es-modules/Extensions/Data.js +4 -48
- package/es-modules/Extensions/DataGrouping.js +22 -15
- package/es-modules/Extensions/DraggablePoints.js +7 -8
- package/es-modules/Extensions/Drilldown.js +9 -4
- package/es-modules/Extensions/ExportData.js +6 -5
- package/es-modules/Extensions/Exporting/Exporting.js +23 -37
- package/es-modules/Extensions/FullScreen.js +4 -3
- package/es-modules/Extensions/GeoJSON.js +3 -3
- package/es-modules/Extensions/MarkerClusters.js +3 -1
- package/es-modules/Extensions/Math3D.js +4 -4
- package/es-modules/Extensions/OfflineExporting/OfflineExporting.js +23 -24
- package/es-modules/Extensions/OfflineExporting/OfflineExportingDefaults.js +1 -1
- package/es-modules/Extensions/Oldie/Oldie.js +13 -77
- package/es-modules/Extensions/Oldie/VMLAxis3D.js +5 -1
- package/es-modules/Extensions/OverlappingDataLabels.js +10 -6
- package/es-modules/Extensions/Pane.js +6 -6
- package/es-modules/Extensions/ParallelCoordinates.js +5 -3
- package/es-modules/Extensions/PatternFill.js +17 -11
- package/es-modules/Extensions/Polar.js +6 -3
- package/es-modules/Extensions/PriceIndication.js +2 -1
- package/es-modules/Extensions/RangeSelector.js +19 -55
- package/es-modules/Extensions/ScrollablePlotArea.js +2 -2
- package/es-modules/Extensions/SeriesLabel.js +1 -1
- package/es-modules/Extensions/Sonification/ChartSonify.js +32 -26
- package/es-modules/Extensions/Sonification/Instrument.js +12 -15
- package/es-modules/Extensions/Sonification/PointSonify.js +12 -8
- package/es-modules/Extensions/Sonification/SeriesSonify.js +33 -18
- package/es-modules/Extensions/Sonification/SignalHandler.js +4 -6
- package/es-modules/Extensions/Sonification/Sonification.js +1 -1
- package/es-modules/Extensions/Sonification/SonificationUtilities.js +11 -7
- package/es-modules/Extensions/Sonification/Timeline.js +2 -7
- package/es-modules/Extensions/Sonification/TimelineEvent.js +0 -1
- package/es-modules/Extensions/Sonification/TimelinePath.js +8 -8
- package/es-modules/Extensions/Stacking.js +5 -23
- package/es-modules/Extensions/Themes/BrandDark.js +293 -0
- package/es-modules/Extensions/Themes/BrandLight.js +259 -0
- package/es-modules/Extensions/Themes/DarkUnica.js +4 -2
- package/es-modules/Extensions/Themes/Grid.js +4 -2
- package/es-modules/Extensions/Themes/GridLight.js +4 -2
- package/es-modules/Gantt/Connection.js +2 -2
- package/es-modules/Gantt/Pathfinder.js +6 -5
- package/es-modules/Gantt/PathfinderAlgorithms.js +12 -12
- package/es-modules/Maps/MapNavigation.js +6 -7
- package/es-modules/Maps/MapPointer.js +2 -1
- package/es-modules/Maps/MapSymbols.js +23 -3
- package/es-modules/Maps/MapViewOptionsDefault.js +1 -1
- package/es-modules/Series/Area/AreaSeries.js +13 -13
- package/es-modules/Series/Area3DSeries.js +4 -2
- package/es-modules/Series/AreaRange/AreaRangeSeries.js +24 -12
- package/es-modules/Series/Bellcurve/BellcurveSeries.js +2 -1
- package/es-modules/Series/Bubble/BubbleLegendItem.js +2 -12
- package/es-modules/Series/Candlestick/CandlestickSeries.js +0 -1
- package/es-modules/Series/ColorMapMixin.js +84 -0
- package/es-modules/Series/Column/ColumnSeries.js +16 -14
- package/es-modules/Series/Column3D/Column3DComposition.js +1 -2
- package/es-modules/Series/ColumnPyramid/ColumnPyramidSeries.js +5 -2
- package/es-modules/Series/ColumnRange/ColumnRangeSeries.js +2 -1
- package/es-modules/Series/Cylinder/CylinderComposition.js +36 -4
- package/es-modules/Series/DependencyWheel/DependencyWheelSeries.js +1 -1
- package/es-modules/Series/Dumbbell/DumbbellPoint.js +0 -1
- package/es-modules/Series/Dumbbell/DumbbellSeries.js +0 -3
- package/es-modules/Series/Flags/FlagsSymbols.js +2 -2
- package/es-modules/Series/Funnel3D/Funnel3DComposition.js +14 -8
- package/es-modules/Series/Funnel3D/Funnel3DSeries.js +2 -1
- package/es-modules/Series/Gantt/GanttPoint.js +1 -1
- package/es-modules/Series/Gantt/GanttSeries.js +3 -1
- package/es-modules/Series/HLC/HLCSeries.js +1 -6
- package/es-modules/Series/Heatmap/HeatmapPoint.js +10 -10
- package/es-modules/Series/Heatmap/HeatmapSeries.js +9 -10
- package/es-modules/Series/HeikinAshi/HeikinAshiSeries.js +8 -6
- package/es-modules/Series/Histogram/HistogramSeries.js +4 -4
- package/es-modules/Series/HollowCandlestick/HollowCandlestickPoint.js +1 -4
- package/es-modules/Series/HollowCandlestick/HollowCandlestickSeries.js +19 -20
- package/es-modules/Series/Item/ItemSeries.js +4 -5
- package/es-modules/Series/Map/MapPoint.js +6 -0
- package/es-modules/Series/Map/MapSeries.js +24 -25
- package/es-modules/Series/MapLine/MapLineSeries.js +0 -4
- package/es-modules/Series/Networkgraph/DraggableNodes.js +0 -4
- package/es-modules/Series/Networkgraph/Integrations.js +8 -22
- package/es-modules/Series/Networkgraph/Networkgraph.js +1 -5
- package/es-modules/Series/Networkgraph/QuadTree.js +1 -3
- package/es-modules/Series/NodesComposition.js +2 -1
- package/es-modules/Series/OHLC/OHLCPoint.js +0 -1
- package/es-modules/Series/OHLC/OHLCSeries.js +1 -1
- package/es-modules/Series/Organization/OrganizationSeries.js +4 -2
- package/es-modules/Series/PackedBubble/PackedBubbleComposition.js +1 -0
- package/es-modules/Series/PackedBubble/PackedBubblePoint.js +1 -1
- package/es-modules/Series/PackedBubble/PackedBubbleSeries.js +2 -4
- package/es-modules/Series/Pie/PiePoint.js +2 -2
- package/es-modules/Series/Pie/PieSeries.js +1 -1
- package/es-modules/Series/Pie3D/Pie3DComposition.js +2 -1
- package/es-modules/Series/Pie3D/Pie3DPoint.js +2 -1
- package/es-modules/Series/Pie3D/Pie3DSeries.js +1 -1
- package/es-modules/Series/Pyramid3D/Pyramid3DSeries.js +2 -1
- package/es-modules/Series/Sankey/SankeySeries.js +3 -2
- package/es-modules/Series/SolidGauge/SolidGaugeComposition.js +3 -1
- package/es-modules/Series/Spline/SplineSeries.js +0 -8
- package/es-modules/Series/Sunburst/SunburstSeries.js +2 -2
- package/es-modules/Series/Sunburst/SunburstUtilities.js +3 -2
- package/es-modules/Series/Tilemap/TilemapPoint.js +0 -2
- package/es-modules/Series/Tilemap/TilemapShapes.js +0 -7
- package/es-modules/Series/TreeUtilities.js +2 -2
- package/es-modules/Series/Treemap/TreemapSeries.js +18 -21
- package/es-modules/Series/Variwide/VariwideSeries.js +5 -1
- package/es-modules/Series/Venn/VennSeries.js +6 -9
- package/es-modules/Series/Venn/VennUtils.js +8 -7
- package/es-modules/Series/Waterfall/WaterfallSeries.js +6 -3
- package/es-modules/Series/Wordcloud/WordcloudSeries.js +2 -2
- package/es-modules/Series/Wordcloud/WordcloudUtils.js +6 -10
- package/es-modules/Series/XRange/XRangePoint.js +6 -12
- package/es-modules/Series/XRange/XRangeSeries.js +4 -20
- package/es-modules/Stock/Indicators/ABands/ABandsIndicator.js +12 -0
- package/es-modules/Stock/Indicators/Aroon/AroonIndicator.js +1 -0
- package/es-modules/Stock/Indicators/BB/BBIndicator.js +12 -0
- package/es-modules/Stock/Indicators/CMF/CMFIndicator.js +35 -15
- package/es-modules/Stock/Indicators/DMI/DMIIndicator.js +9 -5
- package/es-modules/Stock/Indicators/DisparityIndex/DisparityIndexIndicator.js +2 -1
- package/es-modules/Stock/Indicators/IKH/IKHIndicator.js +6 -6
- package/es-modules/Stock/Indicators/KeltnerChannels/KeltnerChannelsIndicator.js +12 -0
- package/es-modules/Stock/Indicators/Klinger/KlingerIndicator.js +8 -3
- package/es-modules/Stock/Indicators/LinearRegression/LinearRegression.js +30 -12
- package/es-modules/Stock/Indicators/MACD/MACDIndicator.js +1 -1
- package/es-modules/Stock/Indicators/MultipleLinesComposition.js +70 -6
- package/es-modules/Stock/Indicators/PC/PCIndicator.js +11 -0
- package/es-modules/Stock/Indicators/PivotPoints/PivotPointsIndicator.js +2 -1
- package/es-modules/Stock/Indicators/RSI/RSIIndicator.js +2 -1
- package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +2 -3
- package/es-modules/Stock/Indicators/Stochastic/StochasticIndicator.js +3 -1
- package/es-modules/Stock/Indicators/VBP/VBPIndicator.js +3 -3
- package/es-modules/Stock/Indicators/VWAP/VWAPIndicator.js +19 -7
- package/es-modules/Stock/StockToolsBindings.js +13 -6
- package/es-modules/Stock/StockToolsGui.js +34 -23
- package/es-modules/masters/highcharts-3d.src.js +1 -1
- package/es-modules/masters/highcharts-gantt.src.js +1 -1
- package/es-modules/masters/highcharts-more.src.js +1 -1
- package/es-modules/masters/highcharts.src.js +1 -1
- package/es-modules/masters/highmaps.src.js +1 -1
- package/es-modules/masters/highstock.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/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 +2 -2
- 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/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.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 +1 -1
- package/es-modules/masters/modules/dumbbell.src.js +1 -1
- package/es-modules/masters/modules/export-data.src.js +1 -1
- package/es-modules/masters/modules/exporting.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/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/networkgraph.src.js +1 -1
- package/es-modules/masters/modules/no-data-to-display.src.js +1 -1
- package/es-modules/masters/modules/offline-exporting.src.js +1 -1
- package/es-modules/masters/modules/oldie-polyfills.src.js +1 -1
- package/es-modules/masters/modules/oldie.src.js +1 -1
- package/es-modules/masters/modules/organization.src.js +1 -1
- package/es-modules/masters/modules/overlapping-datalabels.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/price-indicator.src.js +1 -1
- package/es-modules/masters/modules/pyramid3d.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/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/tilemap.src.js +1 -1
- package/es-modules/masters/modules/timeline.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/themes/avocado.src.js +1 -1
- package/es-modules/masters/themes/brand-dark.src.js +14 -0
- package/es-modules/masters/themes/brand-light.src.js +14 -0
- 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/highcharts-3d.js +1 -1
- package/highcharts-3d.js.map +1 -1
- package/highcharts-3d.src.js +65 -35
- package/highcharts-gantt.js +799 -799
- package/highcharts-gantt.js.map +1 -1
- package/highcharts-gantt.src.js +589 -698
- package/highcharts-more.js +1 -1
- package/highcharts-more.js.map +1 -1
- package/highcharts-more.src.js +73 -103
- package/highcharts.d.ts +5586 -1709
- package/highcharts.js +577 -577
- package/highcharts.js.map +1 -1
- package/highcharts.src.d.ts +5586 -1709
- package/highcharts.src.js +391 -486
- package/highmaps.js +723 -723
- package/highmaps.js.map +1 -1
- package/highmaps.src.js +552 -656
- package/highstock.js +782 -782
- package/highstock.js.map +1 -1
- package/highstock.src.js +612 -731
- package/indicators/acceleration-bands.d.ts +17 -1
- package/indicators/acceleration-bands.js +11 -10
- package/indicators/acceleration-bands.js.map +1 -1
- package/indicators/acceleration-bands.src.d.ts +17 -1
- package/indicators/acceleration-bands.src.js +88 -6
- package/indicators/accumulation-distribution.js +1 -1
- package/indicators/accumulation-distribution.src.js +1 -1
- package/indicators/ao.js +1 -1
- package/indicators/ao.src.js +1 -1
- package/indicators/apo.js +1 -1
- package/indicators/apo.src.js +1 -1
- package/indicators/aroon-oscillator.d.ts +17 -1
- package/indicators/aroon-oscillator.js +10 -9
- package/indicators/aroon-oscillator.js.map +1 -1
- package/indicators/aroon-oscillator.src.d.ts +17 -1
- package/indicators/aroon-oscillator.src.js +76 -6
- package/indicators/aroon.d.ts +17 -1
- package/indicators/aroon.js +11 -9
- package/indicators/aroon.js.map +1 -1
- package/indicators/aroon.src.d.ts +17 -1
- package/indicators/aroon.src.js +77 -6
- package/indicators/atr.js +1 -1
- package/indicators/atr.src.js +1 -1
- package/indicators/bollinger-bands.d.ts +17 -1
- package/indicators/bollinger-bands.js +12 -10
- package/indicators/bollinger-bands.js.map +1 -1
- package/indicators/bollinger-bands.src.d.ts +17 -1
- package/indicators/bollinger-bands.src.js +88 -6
- package/indicators/cci.js +1 -1
- package/indicators/cci.src.js +1 -1
- package/indicators/chaikin.js +1 -1
- package/indicators/chaikin.src.js +1 -1
- package/indicators/cmf.js +1 -1
- package/indicators/cmf.js.map +1 -1
- package/indicators/cmf.src.js +36 -16
- package/indicators/cmo.js +1 -1
- package/indicators/cmo.src.js +1 -1
- package/indicators/dema.js +1 -1
- package/indicators/dema.src.js +1 -1
- package/indicators/disparity-index.js +1 -1
- package/indicators/disparity-index.js.map +1 -1
- package/indicators/disparity-index.src.js +3 -2
- package/indicators/dmi.js +12 -11
- package/indicators/dmi.js.map +1 -1
- package/indicators/dmi.src.js +85 -11
- package/indicators/dpo.js +1 -1
- package/indicators/dpo.src.js +1 -1
- package/indicators/ichimoku-kinko-hyo.js +1 -1
- package/indicators/ichimoku-kinko-hyo.js.map +1 -1
- package/indicators/ichimoku-kinko-hyo.src.js +7 -7
- package/indicators/indicators-all.d.ts +17 -1
- package/indicators/indicators-all.js +198 -197
- package/indicators/indicators-all.js.map +1 -1
- package/indicators/indicators-all.src.d.ts +17 -1
- package/indicators/indicators-all.src.js +246 -65
- package/indicators/indicators.js +1 -1
- package/indicators/indicators.js.map +1 -1
- package/indicators/indicators.src.js +3 -4
- package/indicators/keltner-channels.d.ts +17 -1
- package/indicators/keltner-channels.js +11 -10
- package/indicators/keltner-channels.js.map +1 -1
- package/indicators/keltner-channels.src.d.ts +17 -1
- package/indicators/keltner-channels.src.js +88 -6
- package/indicators/klinger.js +14 -12
- package/indicators/klinger.js.map +1 -1
- package/indicators/klinger.src.js +84 -9
- package/indicators/macd.js +1 -1
- package/indicators/macd.js.map +1 -1
- package/indicators/macd.src.js +2 -2
- package/indicators/mfi.js +1 -1
- package/indicators/mfi.src.js +1 -1
- package/indicators/momentum.js +1 -1
- package/indicators/momentum.src.js +1 -1
- package/indicators/natr.js +1 -1
- package/indicators/natr.src.js +1 -1
- package/indicators/obv.js +1 -1
- package/indicators/obv.src.js +1 -1
- package/indicators/pivot-points.js +1 -1
- package/indicators/pivot-points.js.map +1 -1
- package/indicators/pivot-points.src.js +3 -2
- package/indicators/ppo.js +1 -1
- package/indicators/ppo.src.js +1 -1
- package/indicators/price-channel.d.ts +17 -1
- package/indicators/price-channel.js +11 -9
- package/indicators/price-channel.js.map +1 -1
- package/indicators/price-channel.src.d.ts +17 -1
- package/indicators/price-channel.src.js +87 -6
- package/indicators/price-envelopes.js +1 -1
- package/indicators/price-envelopes.src.js +1 -1
- package/indicators/psar.js +1 -1
- package/indicators/psar.src.js +1 -1
- package/indicators/regressions.js +1 -1
- package/indicators/regressions.js.map +1 -1
- package/indicators/regressions.src.js +31 -13
- package/indicators/roc.js +1 -1
- package/indicators/roc.src.js +1 -1
- package/indicators/rsi.js +1 -1
- package/indicators/rsi.js.map +1 -1
- package/indicators/rsi.src.js +3 -2
- package/indicators/slow-stochastic.js +1 -1
- package/indicators/slow-stochastic.src.js +1 -1
- package/indicators/stochastic.d.ts +17 -1
- package/indicators/stochastic.js +12 -10
- package/indicators/stochastic.js.map +1 -1
- package/indicators/stochastic.src.d.ts +17 -1
- package/indicators/stochastic.src.js +79 -7
- package/indicators/supertrend.js +1 -1
- package/indicators/supertrend.src.js +1 -1
- package/indicators/tema.js +1 -1
- package/indicators/tema.src.js +1 -1
- package/indicators/trendline.js +1 -1
- package/indicators/trendline.src.js +1 -1
- package/indicators/trix.js +1 -1
- package/indicators/trix.src.js +1 -1
- package/indicators/volume-by-price.js +1 -1
- package/indicators/volume-by-price.src.js +4 -4
- package/indicators/vwap.js +1 -1
- package/indicators/vwap.js.map +1 -1
- package/indicators/vwap.src.js +20 -8
- package/indicators/williams-r.js +1 -1
- package/indicators/williams-r.src.js +1 -1
- package/indicators/wma.js +1 -1
- package/indicators/wma.src.js +1 -1
- package/indicators/zigzag.js +1 -1
- package/indicators/zigzag.src.js +1 -1
- package/modules/accessibility.d.ts +0 -35
- package/modules/accessibility.js +225 -222
- package/modules/accessibility.js.map +1 -1
- package/modules/accessibility.src.d.ts +0 -35
- package/modules/accessibility.src.js +503 -418
- package/modules/annotations-advanced.js +128 -128
- package/modules/annotations-advanced.js.map +1 -1
- package/modules/annotations-advanced.src.js +152 -124
- package/modules/annotations.js +122 -122
- package/modules/annotations.js.map +1 -1
- package/modules/annotations.src.js +112 -100
- package/modules/arrow-symbols.js +1 -1
- package/modules/arrow-symbols.src.js +1 -1
- package/modules/boost-canvas.js +1 -1
- package/modules/boost-canvas.src.js +1 -1
- package/modules/boost.js +1 -1
- package/modules/boost.js.map +1 -1
- package/modules/boost.src.js +33 -43
- package/modules/broken-axis.js +1 -1
- package/modules/broken-axis.js.map +1 -1
- package/modules/broken-axis.src.js +18 -12
- package/modules/bullet.js +1 -1
- package/modules/bullet.src.js +1 -1
- package/modules/coloraxis.js +1 -1
- package/modules/coloraxis.js.map +1 -1
- package/modules/coloraxis.src.js +11 -8
- package/modules/current-date-indicator.js +1 -1
- package/modules/current-date-indicator.src.js +1 -1
- package/modules/cylinder.js +1 -1
- package/modules/cylinder.js.map +1 -1
- package/modules/cylinder.src.js +37 -5
- package/modules/data.d.ts +6 -6
- package/modules/data.js +31 -31
- package/modules/data.js.map +1 -1
- package/modules/data.src.d.ts +6 -6
- package/modules/data.src.js +10 -53
- package/modules/datagrouping.js +2 -2
- package/modules/datagrouping.js.map +1 -1
- package/modules/datagrouping.src.js +23 -16
- package/modules/debugger.js +1 -1
- package/modules/debugger.src.js +1 -1
- package/modules/dependency-wheel.js +3 -3
- package/modules/dependency-wheel.js.map +1 -1
- package/modules/dependency-wheel.src.js +2 -2
- package/modules/dotplot.js +1 -1
- package/modules/dotplot.src.js +1 -1
- package/modules/drag-panes.js +1 -1
- package/modules/drag-panes.src.js +1 -1
- package/modules/draggable-points.js +1 -1
- package/modules/draggable-points.js.map +1 -1
- package/modules/draggable-points.src.js +8 -9
- package/modules/drilldown.js +1 -1
- package/modules/drilldown.js.map +1 -1
- package/modules/drilldown.src.js +10 -5
- package/modules/dumbbell.js +1 -1
- package/modules/dumbbell.js.map +1 -1
- package/modules/dumbbell.src.js +1 -5
- package/modules/export-data.js +19 -19
- package/modules/export-data.js.map +1 -1
- package/modules/export-data.src.js +7 -6
- package/modules/exporting.js +1 -1
- package/modules/exporting.js.map +1 -1
- package/modules/exporting.src.js +33 -45
- package/modules/full-screen.js +1 -1
- package/modules/full-screen.js.map +1 -1
- package/modules/full-screen.src.js +5 -4
- package/modules/funnel.js +1 -1
- package/modules/funnel.src.js +1 -1
- package/modules/funnel3d.js +1 -1
- package/modules/funnel3d.js.map +1 -1
- package/modules/funnel3d.src.js +17 -10
- package/modules/gantt.js +1 -1
- package/modules/gantt.js.map +1 -1
- package/modules/gantt.src.js +199 -213
- package/modules/grid-axis.js +1 -1
- package/modules/grid-axis.js.map +1 -1
- package/modules/grid-axis.src.js +27 -19
- package/modules/heatmap.js +39 -39
- package/modules/heatmap.js.map +1 -1
- package/modules/heatmap.src.js +88 -112
- package/modules/heikinashi.js +1 -1
- package/modules/heikinashi.js.map +1 -1
- package/modules/heikinashi.src.js +9 -7
- package/modules/histogram-bellcurve.js +1 -1
- package/modules/histogram-bellcurve.js.map +1 -1
- package/modules/histogram-bellcurve.src.js +7 -6
- package/modules/hollowcandlestick.js +1 -1
- package/modules/hollowcandlestick.js.map +1 -1
- package/modules/hollowcandlestick.src.js +21 -25
- package/modules/item-series.js +6 -6
- package/modules/item-series.js.map +1 -1
- package/modules/item-series.src.js +6 -6
- package/modules/lollipop.js +1 -1
- package/modules/lollipop.src.js +1 -1
- package/modules/map.d.ts +2 -0
- package/modules/map.js +144 -144
- package/modules/map.js.map +1 -1
- package/modules/map.src.d.ts +2 -0
- package/modules/map.src.js +162 -171
- package/modules/marker-clusters.js +1 -1
- package/modules/marker-clusters.js.map +1 -1
- package/modules/marker-clusters.src.js +4 -2
- package/modules/networkgraph.js +1 -1
- package/modules/networkgraph.js.map +1 -1
- package/modules/networkgraph.src.js +13 -36
- package/modules/no-data-to-display.js +1 -1
- package/modules/no-data-to-display.src.js +1 -1
- package/modules/offline-exporting.js +18 -18
- package/modules/offline-exporting.js.map +1 -1
- package/modules/offline-exporting.src.js +27 -32
- package/modules/oldie-polyfills.js +1 -1
- package/modules/oldie-polyfills.src.js +1 -1
- package/modules/oldie.js +2 -2
- package/modules/oldie.js.map +1 -1
- package/modules/oldie.src.js +19 -79
- package/modules/organization.js +1 -1
- package/modules/organization.js.map +1 -1
- package/modules/organization.src.js +5 -3
- package/modules/overlapping-datalabels.js +1 -1
- package/modules/overlapping-datalabels.src.js +1 -1
- package/modules/parallel-coordinates.js +1 -1
- package/modules/parallel-coordinates.js.map +1 -1
- package/modules/parallel-coordinates.src.js +6 -4
- package/modules/pareto.js +1 -1
- package/modules/pareto.src.js +1 -1
- package/modules/pathfinder.js +1 -1
- package/modules/pathfinder.js.map +1 -1
- package/modules/pathfinder.src.js +21 -20
- package/modules/pattern-fill.js +1 -1
- package/modules/pattern-fill.js.map +1 -1
- package/modules/pattern-fill.src.js +18 -12
- package/modules/price-indicator.js +1 -1
- package/modules/price-indicator.js.map +1 -1
- package/modules/price-indicator.src.js +3 -2
- package/modules/pyramid3d.js +1 -1
- package/modules/pyramid3d.js.map +1 -1
- package/modules/pyramid3d.src.js +3 -2
- package/modules/sankey.js +1 -1
- package/modules/sankey.js.map +1 -1
- package/modules/sankey.src.js +8 -6
- package/modules/series-label.js +1 -1
- package/modules/series-label.js.map +1 -1
- package/modules/series-label.src.js +2 -2
- package/modules/solid-gauge.js +1 -1
- package/modules/solid-gauge.js.map +1 -1
- package/modules/solid-gauge.src.js +17 -2
- package/modules/sonification.js +53 -53
- package/modules/sonification.js.map +1 -1
- package/modules/sonification.src.js +121 -103
- package/modules/static-scale.js +1 -1
- package/modules/static-scale.src.js +1 -1
- package/modules/stock-tools.js +66 -66
- package/modules/stock-tools.js.map +1 -1
- package/modules/stock-tools.src.js +119 -96
- package/modules/stock.js +3 -3
- package/modules/stock.js.map +1 -1
- package/modules/stock.src.js +222 -246
- package/modules/streamgraph.js +1 -1
- package/modules/streamgraph.src.js +1 -1
- package/modules/sunburst.js +60 -61
- package/modules/sunburst.js.map +1 -1
- package/modules/sunburst.src.js +83 -113
- package/modules/tilemap.js +1 -1
- package/modules/tilemap.js.map +1 -1
- package/modules/tilemap.src.js +1 -10
- package/modules/timeline.js +1 -1
- package/modules/timeline.src.js +1 -1
- package/modules/treegrid.js +1 -1
- package/modules/treegrid.js.map +1 -1
- package/modules/treegrid.src.js +76 -50
- package/modules/treemap.js +41 -41
- package/modules/treemap.js.map +1 -1
- package/modules/treemap.src.js +78 -109
- package/modules/variable-pie.js +1 -1
- package/modules/variable-pie.src.js +1 -1
- package/modules/variwide.js +1 -1
- package/modules/variwide.js.map +1 -1
- package/modules/variwide.src.js +7 -3
- package/modules/vector.js +1 -1
- package/modules/vector.src.js +1 -1
- package/modules/venn.js +1 -1
- package/modules/venn.js.map +1 -1
- package/modules/venn.src.js +17 -18
- package/modules/windbarb.js +1 -1
- package/modules/windbarb.src.js +1 -1
- package/modules/wordcloud.js +1 -1
- package/modules/wordcloud.js.map +1 -1
- package/modules/wordcloud.src.js +9 -13
- package/modules/xrange.js +1 -1
- package/modules/xrange.js.map +1 -1
- package/modules/xrange.src.js +11 -33
- package/package.json +1 -1
- package/themes/avocado.js +1 -1
- package/themes/avocado.src.js +1 -1
- package/themes/brand-dark.js +15 -0
- package/themes/brand-dark.js.map +1 -0
- package/themes/brand-dark.src.js +328 -0
- package/themes/brand-light.js +15 -0
- package/themes/brand-light.js.map +1 -0
- package/themes/brand-light.src.js +294 -0
- package/themes/dark-blue.js +1 -1
- package/themes/dark-blue.src.js +1 -1
- package/themes/dark-green.js +1 -1
- package/themes/dark-green.src.js +1 -1
- package/themes/dark-unica.js +1 -1
- package/themes/dark-unica.js.map +1 -1
- package/themes/dark-unica.src.js +5 -3
- package/themes/gray.js +1 -1
- package/themes/gray.src.js +1 -1
- package/themes/grid-light.js +1 -1
- package/themes/grid-light.js.map +1 -1
- package/themes/grid-light.src.js +5 -3
- package/themes/grid.js +1 -1
- package/themes/grid.js.map +1 -1
- package/themes/grid.src.js +5 -3
- package/themes/high-contrast-dark.js +1 -1
- package/themes/high-contrast-dark.src.js +1 -1
- package/themes/high-contrast-light.js +1 -1
- package/themes/high-contrast-light.src.js +1 -1
- package/themes/sand-signika.js +1 -1
- package/themes/sand-signika.src.js +1 -1
- package/themes/skies.js +1 -1
- package/themes/skies.src.js +1 -1
- package/themes/sunset.js +1 -1
- package/themes/sunset.src.js +1 -1
- package/es-modules/Series/ColorMapComposition.js +0 -109
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Highcharts JS v9.3.
|
|
2
|
+
* @license Highcharts JS v9.3.2 (2021-11-29)
|
|
3
3
|
*
|
|
4
4
|
* Annotations module
|
|
5
5
|
*
|
|
@@ -49,7 +49,6 @@
|
|
|
49
49
|
*
|
|
50
50
|
* @private
|
|
51
51
|
* @mixin
|
|
52
|
-
* @memberOf Annotation
|
|
53
52
|
*/
|
|
54
53
|
var eventEmitterMixin = {
|
|
55
54
|
/**
|
|
@@ -361,7 +360,6 @@
|
|
|
361
360
|
* @param {boolean} visible
|
|
362
361
|
* Visibility of the control point.
|
|
363
362
|
*
|
|
364
|
-
* @return {void}
|
|
365
363
|
*/
|
|
366
364
|
ControlPoint.prototype.setVisibility = function (visible) {
|
|
367
365
|
this.graphic.attr('visibility', visible ? 'visible' : 'hidden');
|
|
@@ -411,7 +409,6 @@
|
|
|
411
409
|
* @param {Partial<Highcharts.AnnotationControlPointOptionsObject>} userOptions
|
|
412
410
|
* New options for the control point.
|
|
413
411
|
*
|
|
414
|
-
* @return {void}
|
|
415
412
|
*/
|
|
416
413
|
ControlPoint.prototype.update = function (userOptions) {
|
|
417
414
|
var chart = this.chart,
|
|
@@ -966,7 +963,8 @@
|
|
|
966
963
|
*/
|
|
967
964
|
getPointsOptions: function () {
|
|
968
965
|
var options = this.options;
|
|
969
|
-
return (options.points ||
|
|
966
|
+
return (options.points ||
|
|
967
|
+
(options.point && splat(options.point)));
|
|
970
968
|
},
|
|
971
969
|
/**
|
|
972
970
|
* Utility function for mapping item's options
|
|
@@ -1205,8 +1203,10 @@
|
|
|
1205
1203
|
// Options stored in:
|
|
1206
1204
|
// - chart (for exporting)
|
|
1207
1205
|
// - current config (for redraws)
|
|
1208
|
-
chartOptions[this.collection][this.index]
|
|
1209
|
-
|
|
1206
|
+
chartOptions[this.collection][this.index]
|
|
1207
|
+
.point = this.options.point;
|
|
1208
|
+
shapeOptions[this.collection][this.index]
|
|
1209
|
+
.point = this.options.point;
|
|
1210
1210
|
},
|
|
1211
1211
|
/**
|
|
1212
1212
|
* Rotate a controllable.
|
|
@@ -1424,13 +1424,13 @@
|
|
|
1424
1424
|
fill = itemOptions.fill,
|
|
1425
1425
|
color = defined(fill) && fill !== 'none' ?
|
|
1426
1426
|
fill :
|
|
1427
|
-
itemOptions.stroke
|
|
1428
|
-
|
|
1427
|
+
itemOptions.stroke;
|
|
1428
|
+
var setMarker = function (markerType) {
|
|
1429
1429
|
var markerId = itemOptions[markerType],
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1430
|
+
def,
|
|
1431
|
+
predefinedMarker,
|
|
1432
|
+
key,
|
|
1433
|
+
marker;
|
|
1434
1434
|
if (markerId) {
|
|
1435
1435
|
for (key in defs) { // eslint-disable-line guard-for-in
|
|
1436
1436
|
def = defs[key];
|
|
@@ -1445,13 +1445,13 @@
|
|
|
1445
1445
|
}
|
|
1446
1446
|
if (predefinedMarker) {
|
|
1447
1447
|
marker = item[markerType] = chart.renderer
|
|
1448
|
-
.addMarker((itemOptions.id || uniqueKey()) + '-' +
|
|
1449
|
-
markerId, merge(predefinedMarker, { color: color }));
|
|
1448
|
+
.addMarker((itemOptions.id || uniqueKey()) + '-' + markerId, merge(predefinedMarker, { color: color }));
|
|
1450
1449
|
item.attr(markerType, marker.getAttribute('id'));
|
|
1451
1450
|
}
|
|
1452
1451
|
}
|
|
1453
1452
|
};
|
|
1454
|
-
['markerStart', 'markerEnd']
|
|
1453
|
+
['markerStart', 'markerEnd']
|
|
1454
|
+
.forEach(setMarker);
|
|
1455
1455
|
}
|
|
1456
1456
|
};
|
|
1457
1457
|
addEvent(Chart, 'afterGetContainer', function () {
|
|
@@ -1522,7 +1522,7 @@
|
|
|
1522
1522
|
this.point = ControllableMixin.point;
|
|
1523
1523
|
this.rotate = ControllableMixin.rotate;
|
|
1524
1524
|
this.scale = ControllableMixin.scale;
|
|
1525
|
-
this.setControlPointsVisibility = ControllableMixin.setControlPointsVisibility;
|
|
1525
|
+
this.setControlPointsVisibility = (ControllableMixin.setControlPointsVisibility);
|
|
1526
1526
|
this.setMarkers = MarkerMixin.setItemMarkers;
|
|
1527
1527
|
this.transform = ControllableMixin.transform;
|
|
1528
1528
|
this.transformPoint = ControllableMixin.transformPoint;
|
|
@@ -1586,7 +1586,8 @@
|
|
|
1586
1586
|
null;
|
|
1587
1587
|
};
|
|
1588
1588
|
ControllablePath.prototype.shouldBeDrawn = function () {
|
|
1589
|
-
return (ControllableMixin.shouldBeDrawn.call(this) ||
|
|
1589
|
+
return (ControllableMixin.shouldBeDrawn.call(this) ||
|
|
1590
|
+
Boolean(this.options.d));
|
|
1590
1591
|
};
|
|
1591
1592
|
ControllablePath.prototype.render = function (parent) {
|
|
1592
1593
|
var options = this.options,
|
|
@@ -1713,7 +1714,7 @@
|
|
|
1713
1714
|
this.point = ControllableMixin.point;
|
|
1714
1715
|
this.rotate = ControllableMixin.rotate;
|
|
1715
1716
|
this.scale = ControllableMixin.scale;
|
|
1716
|
-
this.setControlPointsVisibility = ControllableMixin.setControlPointsVisibility;
|
|
1717
|
+
this.setControlPointsVisibility = (ControllableMixin.setControlPointsVisibility);
|
|
1717
1718
|
this.shouldBeDrawn = ControllableMixin.shouldBeDrawn;
|
|
1718
1719
|
this.transform = ControllableMixin.transform;
|
|
1719
1720
|
this.transformPoint = ControllableMixin.transformPoint;
|
|
@@ -1823,7 +1824,7 @@
|
|
|
1823
1824
|
this.point = ControllableMixin.point;
|
|
1824
1825
|
this.rotate = ControllableMixin.rotate;
|
|
1825
1826
|
this.scale = ControllableMixin.scale;
|
|
1826
|
-
this.setControlPointsVisibility = ControllableMixin.setControlPointsVisibility;
|
|
1827
|
+
this.setControlPointsVisibility = (ControllableMixin.setControlPointsVisibility);
|
|
1827
1828
|
this.shouldBeDrawn = ControllableMixin.shouldBeDrawn;
|
|
1828
1829
|
this.transform = ControllableMixin.transform;
|
|
1829
1830
|
this.transformPoint = ControllableMixin.transformPoint;
|
|
@@ -1939,7 +1940,7 @@
|
|
|
1939
1940
|
this.linkPoints = ControllableMixin.linkPoints;
|
|
1940
1941
|
this.point = ControllableMixin.point;
|
|
1941
1942
|
this.scale = ControllableMixin.scale;
|
|
1942
|
-
this.setControlPointsVisibility = ControllableMixin.setControlPointsVisibility;
|
|
1943
|
+
this.setControlPointsVisibility = (ControllableMixin.setControlPointsVisibility);
|
|
1943
1944
|
this.shouldBeDrawn = ControllableMixin.shouldBeDrawn;
|
|
1944
1945
|
this.transform = ControllableMixin.transform;
|
|
1945
1946
|
this.translatePoint = ControllableMixin.translatePoint;
|
|
@@ -2159,7 +2160,7 @@
|
|
|
2159
2160
|
this.point = ControllableMixin.point;
|
|
2160
2161
|
this.rotate = ControllableMixin.rotate;
|
|
2161
2162
|
this.scale = ControllableMixin.scale;
|
|
2162
|
-
this.setControlPointsVisibility = ControllableMixin.setControlPointsVisibility;
|
|
2163
|
+
this.setControlPointsVisibility = (ControllableMixin.setControlPointsVisibility);
|
|
2163
2164
|
this.shouldBeDrawn = ControllableMixin.shouldBeDrawn;
|
|
2164
2165
|
this.transform = ControllableMixin.transform;
|
|
2165
2166
|
this.transformPoint = ControllableMixin.transformPoint;
|
|
@@ -2392,10 +2393,6 @@
|
|
|
2392
2393
|
};
|
|
2393
2394
|
/**
|
|
2394
2395
|
* Returns the label position relative to its anchor.
|
|
2395
|
-
*
|
|
2396
|
-
* @param {Highcharts.AnnotationAnchorObject} anchor
|
|
2397
|
-
*
|
|
2398
|
-
* @return {Highcharts.PositionObject|null}
|
|
2399
2396
|
*/
|
|
2400
2397
|
ControllableLabel.prototype.position = function (anchor) {
|
|
2401
2398
|
var item = this.graphic,
|
|
@@ -2424,7 +2421,8 @@
|
|
|
2424
2421
|
plotY: anchorRelativePosition.y,
|
|
2425
2422
|
negative: point.negative,
|
|
2426
2423
|
ttBelow: point.ttBelow,
|
|
2427
|
-
h: (anchorRelativePosition.height ||
|
|
2424
|
+
h: (anchorRelativePosition.height ||
|
|
2425
|
+
anchorRelativePosition.width)
|
|
2428
2426
|
});
|
|
2429
2427
|
}
|
|
2430
2428
|
else if (itemOptions.positioner) {
|
|
@@ -2572,7 +2570,7 @@
|
|
|
2572
2570
|
this.point = ControllableMixin.point;
|
|
2573
2571
|
this.rotate = ControllableMixin.rotate;
|
|
2574
2572
|
this.scale = ControllableMixin.scale;
|
|
2575
|
-
this.setControlPointsVisibility = ControllableMixin.setControlPointsVisibility;
|
|
2573
|
+
this.setControlPointsVisibility = (ControllableMixin.setControlPointsVisibility);
|
|
2576
2574
|
this.shouldBeDrawn = ControllableMixin.shouldBeDrawn;
|
|
2577
2575
|
this.transform = ControllableMixin.transform;
|
|
2578
2576
|
this.transformPoint = ControllableMixin.transformPoint;
|
|
@@ -3054,7 +3052,6 @@
|
|
|
3054
3052
|
* @param {Partial<Highcharts.AnnotationsOptions>} userOptions
|
|
3055
3053
|
* New user options for the annotation.
|
|
3056
3054
|
*
|
|
3057
|
-
* @return {void}
|
|
3058
3055
|
*/
|
|
3059
3056
|
Annotation.prototype.update = function (userOptions, redraw) {
|
|
3060
3057
|
var chart = this.chart,
|
|
@@ -3084,10 +3081,11 @@
|
|
|
3084
3081
|
/**
|
|
3085
3082
|
* Initialisation of a single shape
|
|
3086
3083
|
* @private
|
|
3087
|
-
* @param {Object} shapeOptions
|
|
3088
|
-
*
|
|
3089
|
-
*
|
|
3090
|
-
|
|
3084
|
+
* @param {Object} shapeOptions
|
|
3085
|
+
* a confg object for a single shape
|
|
3086
|
+
* @param {number} index
|
|
3087
|
+
* annotation may have many shapes, this is the shape's index saved in
|
|
3088
|
+
* shapes.index.
|
|
3091
3089
|
*/
|
|
3092
3090
|
Annotation.prototype.initShape = function (shapeOptions, index) {
|
|
3093
3091
|
var options = merge(this.options.shapeOptions, {
|
|
@@ -3830,7 +3828,8 @@
|
|
|
3830
3828
|
******************************************************************** */
|
|
3831
3829
|
extend(chartProto, /** @lends Highcharts.Chart# */ {
|
|
3832
3830
|
initAnnotation: function (userOptions) {
|
|
3833
|
-
var Constructor = Annotation
|
|
3831
|
+
var Constructor = Annotation
|
|
3832
|
+
.types[userOptions.type] || Annotation,
|
|
3834
3833
|
annotation = new Constructor(this,
|
|
3835
3834
|
userOptions);
|
|
3836
3835
|
this.annotations.push(annotation);
|
|
@@ -3865,7 +3864,7 @@
|
|
|
3865
3864
|
*/
|
|
3866
3865
|
removeAnnotation: function (idOrAnnotation) {
|
|
3867
3866
|
var annotations = this.annotations,
|
|
3868
|
-
annotation = idOrAnnotation.coll === 'annotations' ?
|
|
3867
|
+
annotation = (idOrAnnotation.coll === 'annotations') ?
|
|
3869
3868
|
idOrAnnotation :
|
|
3870
3869
|
find(annotations,
|
|
3871
3870
|
function (annotation) {
|
|
@@ -3984,15 +3983,15 @@
|
|
|
3984
3983
|
// Annotation placed on a exported data point
|
|
3985
3984
|
// - add new column
|
|
3986
3985
|
if (!wasAdded) {
|
|
3987
|
-
event.dataRows.forEach(function (row
|
|
3986
|
+
event.dataRows.forEach(function (row) {
|
|
3988
3987
|
if (!wasAdded &&
|
|
3989
3988
|
row.xValues &&
|
|
3990
3989
|
xAxisIndex !== void 0 &&
|
|
3991
3990
|
annotationX === row.xValues[xAxisIndex]) {
|
|
3992
3991
|
if (joinAnnotations &&
|
|
3993
3992
|
row.length > startRowLength) {
|
|
3994
|
-
row[row.length - 1] +=
|
|
3995
|
-
|
|
3993
|
+
row[row.length - 1] += (annotationSeparator +
|
|
3994
|
+
annotationText_1);
|
|
3996
3995
|
}
|
|
3997
3996
|
else {
|
|
3998
3997
|
row.push(annotationText_1);
|
|
@@ -4537,8 +4536,10 @@
|
|
|
4537
4536
|
var translation = this.mouseMoveToTranslation(e);
|
|
4538
4537
|
target.translatePoint(translation.x, translation.y, this.index);
|
|
4539
4538
|
// Update options:
|
|
4540
|
-
target.options.typeOptions
|
|
4541
|
-
|
|
4539
|
+
target.options.typeOptions
|
|
4540
|
+
.points[this.index].x = target.points[this.index].x;
|
|
4541
|
+
target.options.typeOptions
|
|
4542
|
+
.points[this.index].y = target.points[this.index].y;
|
|
4542
4543
|
target.redraw(false);
|
|
4543
4544
|
}
|
|
4544
4545
|
}
|
|
@@ -4625,7 +4626,7 @@
|
|
|
4625
4626
|
* @apioption annotations.elliottWave.typeOptions.points.label
|
|
4626
4627
|
*/
|
|
4627
4628
|
/**
|
|
4628
|
-
* @ignore-
|
|
4629
|
+
* @ignore-option
|
|
4629
4630
|
*/
|
|
4630
4631
|
labels: ['(0)', '(A)', '(B)', '(C)', '(D)', '(E)'],
|
|
4631
4632
|
line: {
|
|
@@ -4758,9 +4759,12 @@
|
|
|
4758
4759
|
/**
|
|
4759
4760
|
* Translate start or end ("left" or "right") side of the tunnel.
|
|
4760
4761
|
* @private
|
|
4761
|
-
* @param {number} dx
|
|
4762
|
-
*
|
|
4763
|
-
* @param {
|
|
4762
|
+
* @param {number} dx
|
|
4763
|
+
* the amount of x translation
|
|
4764
|
+
* @param {number} dy
|
|
4765
|
+
* the amount of y translation
|
|
4766
|
+
* @param {boolean} [end]
|
|
4767
|
+
* whether to translate start or end side
|
|
4764
4768
|
*/
|
|
4765
4769
|
Tunnel.prototype.translateSide = function (dx, dy, end) {
|
|
4766
4770
|
var topIndex = Number(end),
|
|
@@ -4771,12 +4775,14 @@
|
|
|
4771
4775
|
/**
|
|
4772
4776
|
* Translate height of the tunnel.
|
|
4773
4777
|
* @private
|
|
4774
|
-
* @param {number} dh
|
|
4778
|
+
* @param {number} dh
|
|
4779
|
+
* the amount of height translation
|
|
4775
4780
|
*/
|
|
4776
4781
|
Tunnel.prototype.translateHeight = function (dh) {
|
|
4777
4782
|
this.translatePoint(0, dh, 2);
|
|
4778
4783
|
this.translatePoint(0, dh, 3);
|
|
4779
|
-
this.options.typeOptions.height = this.points[3].y -
|
|
4784
|
+
this.options.typeOptions.height = this.points[3].y -
|
|
4785
|
+
this.points[0].y;
|
|
4780
4786
|
};
|
|
4781
4787
|
return Tunnel;
|
|
4782
4788
|
}(CrookedLine));
|
|
@@ -5160,7 +5166,9 @@
|
|
|
5160
5166
|
var _this = this;
|
|
5161
5167
|
var options = this.options,
|
|
5162
5168
|
typeOptions = options.typeOptions;
|
|
5163
|
-
options.controlPointOptions.style.cursor = this.chart.inverted ?
|
|
5169
|
+
options.controlPointOptions.style.cursor = this.chart.inverted ?
|
|
5170
|
+
'ns-resize' :
|
|
5171
|
+
'ew-resize';
|
|
5164
5172
|
typeOptions.controlPointOptions.forEach(function (option) {
|
|
5165
5173
|
var controlPointsOptions = merge(options.controlPointOptions,
|
|
5166
5174
|
option);
|
|
@@ -5188,15 +5196,17 @@
|
|
|
5188
5196
|
if (!xValue1 || !xValue2) {
|
|
5189
5197
|
return;
|
|
5190
5198
|
}
|
|
5191
|
-
var y = isNumber(yValue) ?
|
|
5199
|
+
var y = isNumber(yValue) ?
|
|
5200
|
+
yAxis.toPixels(yValue) :
|
|
5201
|
+
yAxis.top + yAxis.height,
|
|
5192
5202
|
x = isNumber(xValue1) ? xAxis.toPixels(xValue1) : xAxis.left,
|
|
5193
5203
|
x2 = isNumber(xValue2) ? xAxis.toPixels(xValue2) : xAxis.left + 30,
|
|
5194
5204
|
xAxisLength = xAxis.len,
|
|
5195
5205
|
pixelInterval = Math.round(Math.max(Math.abs(x2 - x), 2)),
|
|
5196
5206
|
// There can be 2 not full circles on the chart, so add 2.
|
|
5197
5207
|
numberOfCircles = Math.floor(xAxisLength / pixelInterval) + 2,
|
|
5198
|
-
// Calculate where the annotation should start drawing
|
|
5199
|
-
//
|
|
5208
|
+
// Calculate where the annotation should start drawing relative to
|
|
5209
|
+
// first point.
|
|
5200
5210
|
pixelShift = (Math.floor((x - xAxis.left) / pixelInterval) + 1) * pixelInterval;
|
|
5201
5211
|
this.startX = x - pixelShift;
|
|
5202
5212
|
this.y = y;
|
|
@@ -5791,7 +5801,8 @@
|
|
|
5791
5801
|
};
|
|
5792
5802
|
};
|
|
5793
5803
|
Pitchfork.findEdgePoint = function (point, firstAnglePoint, secondAnglePoint) {
|
|
5794
|
-
var angle = Math.atan2(secondAnglePoint.plotY -
|
|
5804
|
+
var angle = Math.atan2((secondAnglePoint.plotY -
|
|
5805
|
+
firstAnglePoint.plotY),
|
|
5795
5806
|
secondAnglePoint.plotX - firstAnglePoint.plotX),
|
|
5796
5807
|
distance = 1e7;
|
|
5797
5808
|
return {
|
|
@@ -6192,7 +6203,6 @@
|
|
|
6192
6203
|
/**
|
|
6193
6204
|
* Get measure points configuration objects.
|
|
6194
6205
|
* @private
|
|
6195
|
-
* @return {Array<Highcharts.AnnotationMockPointOptionsObject>}
|
|
6196
6206
|
*/
|
|
6197
6207
|
Measure.prototype.pointsOptions = function () {
|
|
6198
6208
|
return this.options.points;
|
|
@@ -6200,7 +6210,6 @@
|
|
|
6200
6210
|
/**
|
|
6201
6211
|
* Get points configuration objects for shapes.
|
|
6202
6212
|
* @private
|
|
6203
|
-
* @return {Array<Highcharts.AnnotationMockPointOptionsObject>}
|
|
6204
6213
|
*/
|
|
6205
6214
|
Measure.prototype.shapePointsOptions = function () {
|
|
6206
6215
|
var options = this.options.typeOptions,
|
|
@@ -6270,8 +6279,8 @@
|
|
|
6270
6279
|
return;
|
|
6271
6280
|
}
|
|
6272
6281
|
if (this.labels.length > 0) {
|
|
6273
|
-
this.labels[0].text = (formatter && formatter.call(this)) ||
|
|
6274
|
-
Measure.calculations.defaultFormatter.call(this);
|
|
6282
|
+
this.labels[0].text = ((formatter && formatter.call(this)) ||
|
|
6283
|
+
Measure.calculations.defaultFormatter.call(this));
|
|
6275
6284
|
}
|
|
6276
6285
|
else {
|
|
6277
6286
|
this.initLabel(extend({
|
|
@@ -6406,10 +6415,14 @@
|
|
|
6406
6415
|
* Translate start or end ("left" or "right") side of the measure.
|
|
6407
6416
|
* Update start points (startXMin, startXMax, startYMin, startYMax)
|
|
6408
6417
|
* @private
|
|
6409
|
-
* @param {number} dx
|
|
6410
|
-
*
|
|
6411
|
-
* @param {number}
|
|
6412
|
-
*
|
|
6418
|
+
* @param {number} dx
|
|
6419
|
+
* the amount of x translation
|
|
6420
|
+
* @param {number} dy
|
|
6421
|
+
* the amount of y translation
|
|
6422
|
+
* @param {number} cpIndex
|
|
6423
|
+
* index of control point
|
|
6424
|
+
* @param {Highcharts.AnnotationDraggableValue} selectType
|
|
6425
|
+
* x / y / xy
|
|
6413
6426
|
*/
|
|
6414
6427
|
Measure.prototype.resize = function (dx, dy, cpIndex, selectType) {
|
|
6415
6428
|
// background shape
|
|
@@ -6448,8 +6461,10 @@
|
|
|
6448
6461
|
* Redraw event which render elements and update start points if needed.
|
|
6449
6462
|
* @private
|
|
6450
6463
|
* @param {boolean} animation
|
|
6451
|
-
* @param {boolean} [resize]
|
|
6452
|
-
*
|
|
6464
|
+
* @param {boolean} [resize]
|
|
6465
|
+
* flag if resized
|
|
6466
|
+
* @param {boolean} [setStartPoints]
|
|
6467
|
+
* update position of start points
|
|
6453
6468
|
*/
|
|
6454
6469
|
Measure.prototype.redraw = function (animation, resize, setStartPoints) {
|
|
6455
6470
|
this.linkPoints();
|
|
@@ -6920,7 +6935,7 @@
|
|
|
6920
6935
|
*
|
|
6921
6936
|
* </table>
|
|
6922
6937
|
*
|
|
6923
|
-
* @type
|
|
6938
|
+
* @type {Function}
|
|
6924
6939
|
*
|
|
6925
6940
|
*/
|
|
6926
6941
|
formatter: void 0
|
|
@@ -7313,7 +7328,9 @@
|
|
|
7313
7328
|
navigation.eventsToUnbind.push(addEvent(subContainer, 'click', function (event) {
|
|
7314
7329
|
var bindings = navigation.getButtonEvents(subContainer,
|
|
7315
7330
|
event);
|
|
7316
|
-
if (bindings &&
|
|
7331
|
+
if (bindings &&
|
|
7332
|
+
bindings.button.className
|
|
7333
|
+
.indexOf('highcharts-disabled-btn') === -1) {
|
|
7317
7334
|
navigation.bindingsButtonClick(bindings.button, bindings.events, event);
|
|
7318
7335
|
}
|
|
7319
7336
|
}));
|
|
@@ -7359,7 +7376,7 @@
|
|
|
7359
7376
|
* @param {Highcharts.HTMLDOMElement} [button]
|
|
7360
7377
|
* Clicked button
|
|
7361
7378
|
*
|
|
7362
|
-
* @param {
|
|
7379
|
+
* @param {Object} events
|
|
7363
7380
|
* Events passed down from bindings (`init`, `start`, `step`, `end`)
|
|
7364
7381
|
*
|
|
7365
7382
|
* @param {Highcharts.PointerEventObject} clickEvent
|
|
@@ -7472,8 +7489,7 @@
|
|
|
7472
7489
|
navigation.stepIndex++;
|
|
7473
7490
|
if (selectedButton.steps[navigation.stepIndex]) {
|
|
7474
7491
|
// If we have more steps, bind them one by one:
|
|
7475
|
-
navigation.mouseMoveEvent = navigation.nextEvent =
|
|
7476
|
-
selectedButton.steps[navigation.stepIndex];
|
|
7492
|
+
navigation.mouseMoveEvent = navigation.nextEvent = selectedButton.steps[navigation.stepIndex];
|
|
7477
7493
|
}
|
|
7478
7494
|
else {
|
|
7479
7495
|
fireEvent(navigation, 'deselectButton', { button: navigation.selectedButtonElement });
|
|
@@ -7607,10 +7623,10 @@
|
|
|
7607
7623
|
* @param {string} key
|
|
7608
7624
|
* Option name, for example "visible" or "x", "y"
|
|
7609
7625
|
*
|
|
7610
|
-
* @param {
|
|
7626
|
+
* @param {Object} parentEditables
|
|
7611
7627
|
* Editables from NavigationBindings.annotationsEditable
|
|
7612
7628
|
*
|
|
7613
|
-
* @param {
|
|
7629
|
+
* @param {Object} parent
|
|
7614
7630
|
* Where new options will be assigned
|
|
7615
7631
|
*/
|
|
7616
7632
|
function traverse(option, key, parentEditables, parent) {
|
|
@@ -7651,7 +7667,9 @@
|
|
|
7651
7667
|
parent[key] = nextParent;
|
|
7652
7668
|
}
|
|
7653
7669
|
objectEach(option, function (nestedOption, nestedKey) {
|
|
7654
|
-
traverse(nestedOption, nestedKey, key === 0 ?
|
|
7670
|
+
traverse(nestedOption, nestedKey, key === 0 ?
|
|
7671
|
+
parentEditables :
|
|
7672
|
+
nestedEditables[key], nextParent);
|
|
7655
7673
|
});
|
|
7656
7674
|
}
|
|
7657
7675
|
else {
|
|
@@ -7690,14 +7708,14 @@
|
|
|
7690
7708
|
*
|
|
7691
7709
|
* @function Highcharts.NavigationBindings#getClickedClassNames
|
|
7692
7710
|
*
|
|
7693
|
-
* @param {Highcharts.HTMLDOMElement}
|
|
7694
|
-
*
|
|
7711
|
+
* @param {Highcharts.HTMLDOMElement} container
|
|
7712
|
+
* Container that event is bound to.
|
|
7695
7713
|
*
|
|
7696
7714
|
* @param {global.Event} event
|
|
7697
|
-
*
|
|
7715
|
+
* Browser's event.
|
|
7698
7716
|
*
|
|
7699
7717
|
* @return {Array<Array<string, Highcharts.HTMLDOMElement>>}
|
|
7700
|
-
*
|
|
7718
|
+
* Array of class names with corresponding elements
|
|
7701
7719
|
*/
|
|
7702
7720
|
NavigationBindings.prototype.getClickedClassNames = function (container, event) {
|
|
7703
7721
|
var element = event.target,
|
|
@@ -7735,7 +7753,7 @@
|
|
|
7735
7753
|
* @param {global.Event} event
|
|
7736
7754
|
* Browser's event.
|
|
7737
7755
|
*
|
|
7738
|
-
* @return {
|
|
7756
|
+
* @return {Object}
|
|
7739
7757
|
* Object with events (init, start, steps, and end)
|
|
7740
7758
|
*/
|
|
7741
7759
|
NavigationBindings.prototype.getButtonEvents = function (container, event) {
|
|
@@ -7902,10 +7920,10 @@
|
|
|
7902
7920
|
if (annotation.options.type === 'measure') {
|
|
7903
7921
|
// Manually disable crooshars according to
|
|
7904
7922
|
// stroke width of the shape:
|
|
7905
|
-
typeOptions.crosshairY.enabled =
|
|
7906
|
-
|
|
7907
|
-
typeOptions.crosshairX.enabled =
|
|
7908
|
-
|
|
7923
|
+
typeOptions.crosshairY.enabled = (typeOptions.crosshairY
|
|
7924
|
+
.strokeWidth !== 0);
|
|
7925
|
+
typeOptions.crosshairX.enabled = (typeOptions.crosshairX
|
|
7926
|
+
.strokeWidth !== 0);
|
|
7909
7927
|
}
|
|
7910
7928
|
annotation.update(config);
|
|
7911
7929
|
}
|
|
@@ -8062,7 +8080,8 @@
|
|
|
8062
8080
|
},
|
|
8063
8081
|
r: 5
|
|
8064
8082
|
}]
|
|
8065
|
-
}, navigation.annotationsOptions, navigation.bindings.circleAnnotation
|
|
8083
|
+
}, navigation.annotationsOptions, navigation.bindings.circleAnnotation
|
|
8084
|
+
.annotationsOptions));
|
|
8066
8085
|
},
|
|
8067
8086
|
/** @ignore-option */
|
|
8068
8087
|
steps: [
|
|
@@ -8116,7 +8135,8 @@
|
|
|
8116
8135
|
ry: 1
|
|
8117
8136
|
}
|
|
8118
8137
|
]
|
|
8119
|
-
}, navigation.annotationsOptions, navigation.bindings.ellipseAnnotation
|
|
8138
|
+
}, navigation.annotationsOptions, navigation.bindings.ellipseAnnotation
|
|
8139
|
+
.annotationOptions));
|
|
8120
8140
|
},
|
|
8121
8141
|
steps: [
|
|
8122
8142
|
function (e, annotation) {
|
|
@@ -8259,7 +8279,7 @@
|
|
|
8259
8279
|
* from a different server.
|
|
8260
8280
|
*
|
|
8261
8281
|
* @type {string}
|
|
8262
|
-
* @default https://code.highcharts.com/9.3.
|
|
8282
|
+
* @default https://code.highcharts.com/9.3.2/gfx/stock-icons/
|
|
8263
8283
|
* @since 7.1.3
|
|
8264
8284
|
* @apioption navigation.iconsURL
|
|
8265
8285
|
*/
|
|
@@ -8342,28 +8362,29 @@
|
|
|
8342
8362
|
if (chart.navigationBindings &&
|
|
8343
8363
|
chart.navigationBindings.container &&
|
|
8344
8364
|
chart.navigationBindings.container[0]) {
|
|
8345
|
-
// Get the HTML element coresponding to the
|
|
8346
|
-
//
|
|
8347
|
-
var buttonNode = chart.navigationBindings.container[0]
|
|
8365
|
+
// Get the HTML element coresponding to the className taken
|
|
8366
|
+
// from StockToolsBindings.
|
|
8367
|
+
var buttonNode = chart.navigationBindings.container[0]
|
|
8368
|
+
.querySelectorAll('.' + key);
|
|
8348
8369
|
if (buttonNode) {
|
|
8349
8370
|
for (var i = 0; i < buttonNode.length; i++) {
|
|
8350
|
-
var button = buttonNode[i]
|
|
8371
|
+
var button = buttonNode[i],
|
|
8372
|
+
cls = button.className;
|
|
8351
8373
|
if (value.noDataState === 'normal') {
|
|
8352
|
-
// If button has noDataState: 'normal',
|
|
8353
|
-
//
|
|
8354
|
-
|
|
8355
|
-
if (button.className.indexOf(disabledClassName) !== -1) {
|
|
8374
|
+
// If button has noDataState: 'normal', and has
|
|
8375
|
+
// disabledClassName, remove this className.
|
|
8376
|
+
if (cls.indexOf(disabledClassName) !== -1) {
|
|
8356
8377
|
button.classList.remove(disabledClassName);
|
|
8357
8378
|
}
|
|
8358
8379
|
}
|
|
8359
8380
|
else if (!buttonsEnabled_1) {
|
|
8360
|
-
if (
|
|
8381
|
+
if (cls.indexOf(disabledClassName) === -1) {
|
|
8361
8382
|
button.className += ' ' + disabledClassName;
|
|
8362
8383
|
}
|
|
8363
8384
|
}
|
|
8364
8385
|
else {
|
|
8365
8386
|
// Enable all buttons by deleting the className.
|
|
8366
|
-
if (
|
|
8387
|
+
if (cls.indexOf(disabledClassName) !== -1) {
|
|
8367
8388
|
button.classList.remove(disabledClassName);
|
|
8368
8389
|
}
|
|
8369
8390
|
}
|
|
@@ -8379,7 +8400,7 @@
|
|
|
8379
8400
|
|
|
8380
8401
|
return NavigationBindings;
|
|
8381
8402
|
});
|
|
8382
|
-
_registerModule(_modules, 'Extensions/Annotations/Popup.js', [_modules['Core/Globals.js'], _modules['Extensions/Annotations/NavigationBindings.js'], _modules['Core/DefaultOptions.js'], _modules['Core/Pointer.js'], _modules['Core/Utilities.js']], function (H, NavigationBindings, D, Pointer, U) {
|
|
8403
|
+
_registerModule(_modules, 'Extensions/Annotations/Popup.js', [_modules['Core/Renderer/HTML/AST.js'], _modules['Core/Globals.js'], _modules['Extensions/Annotations/NavigationBindings.js'], _modules['Core/DefaultOptions.js'], _modules['Core/Pointer.js'], _modules['Core/Utilities.js']], function (AST, H, NavigationBindings, D, Pointer, U) {
|
|
8383
8404
|
/* *
|
|
8384
8405
|
*
|
|
8385
8406
|
* Popup generator for Stock tools
|
|
@@ -8602,12 +8623,10 @@
|
|
|
8602
8623
|
* @private
|
|
8603
8624
|
*
|
|
8604
8625
|
* @param {Highcharts.HTMLDOMElement} parentDiv
|
|
8605
|
-
*
|
|
8626
|
+
* The container where inputs and selections are created.
|
|
8606
8627
|
*
|
|
8607
8628
|
* @param {string} type
|
|
8608
|
-
*
|
|
8609
|
-
*
|
|
8610
|
-
* @return {Highcharts.PopupFieldsObject}
|
|
8629
|
+
* Type of the popup bookmark (add|edit|remove).
|
|
8611
8630
|
*/
|
|
8612
8631
|
getFields: function (parentDiv, type) {
|
|
8613
8632
|
var inputList = Array.prototype.slice.call(parentDiv.querySelectorAll(INPUT)), selectList = Array.prototype.slice.call(parentDiv.querySelectorAll(SELECT)), optionSeries = '#' + PREFIX + 'select-series > option:checked', optionVolume = '#' + PREFIX + 'select-volume > option:checked', linkedTo = parentDiv.querySelectorAll(optionSeries)[0], volumeTo = parentDiv.querySelectorAll(optionVolume)[0];
|
|
@@ -8634,13 +8653,15 @@
|
|
|
8634
8653
|
selectList.forEach(function (select) {
|
|
8635
8654
|
var id = select.id;
|
|
8636
8655
|
// Get inputs only for the parameters, not for series and volume.
|
|
8637
|
-
if (id !== PREFIX + 'select-series' &&
|
|
8656
|
+
if (id !== PREFIX + 'select-series' &&
|
|
8657
|
+
id !== PREFIX + 'select-volume') {
|
|
8638
8658
|
var parameter = id.split('highcharts-select-')[1];
|
|
8639
8659
|
fieldsOutput.fields[parameter] = select.value;
|
|
8640
8660
|
}
|
|
8641
8661
|
});
|
|
8642
8662
|
if (volumeTo) {
|
|
8643
|
-
fieldsOutput.fields['params.volumeSeriesID'] = volumeTo
|
|
8663
|
+
fieldsOutput.fields['params.volumeSeriesID'] = volumeTo
|
|
8664
|
+
.getAttribute('value') || '';
|
|
8644
8665
|
}
|
|
8645
8666
|
return fieldsOutput;
|
|
8646
8667
|
},
|
|
@@ -8655,7 +8676,7 @@
|
|
|
8655
8676
|
.querySelectorAll('.' + PREFIX + 'popup-close')[0];
|
|
8656
8677
|
this.formType = void 0;
|
|
8657
8678
|
// reset content
|
|
8658
|
-
popupDiv.innerHTML =
|
|
8679
|
+
popupDiv.innerHTML = AST.emptyHTML;
|
|
8659
8680
|
// reset toolbar styles if exists
|
|
8660
8681
|
if (popupDiv.className.indexOf(toolbarClass) >= 0) {
|
|
8661
8682
|
popupDiv.classList.remove(toolbarClass);
|
|
@@ -8789,7 +8810,7 @@
|
|
|
8789
8810
|
lhsCol.appendChild(doc.createTextNode(lang[options.langKey] || options.langKey || ''));
|
|
8790
8811
|
// left column
|
|
8791
8812
|
lhsCol = createElement(DIV, {
|
|
8792
|
-
className: PREFIX + 'popup-lhs-col ' + PREFIX + 'popup-lhs-full'
|
|
8813
|
+
className: (PREFIX + 'popup-lhs-col ' + PREFIX + 'popup-lhs-full')
|
|
8793
8814
|
}, void 0, popupDiv);
|
|
8794
8815
|
bottomRow = createElement(DIV, {
|
|
8795
8816
|
className: PREFIX + 'popup-bottom-row'
|
|
@@ -8956,7 +8977,8 @@
|
|
|
8956
8977
|
alias = indicatorAliases &&
|
|
8957
8978
|
indicatorAliases[indicatorType] &&
|
|
8958
8979
|
indicatorAliases[indicatorType].join(' ') || '';
|
|
8959
|
-
if (indicatorFullName.match(regex) ||
|
|
8980
|
+
if (indicatorFullName.match(regex) ||
|
|
8981
|
+
alias.match(regex)) {
|
|
8960
8982
|
filteredSeries = {
|
|
8961
8983
|
indicatorFullName: indicatorFullName,
|
|
8962
8984
|
indicatorType: indicatorType,
|
|
@@ -9064,8 +9086,7 @@
|
|
|
9064
9086
|
indicatorList = createElement(UL, {
|
|
9065
9087
|
className: PREFIX + 'indicator-list'
|
|
9066
9088
|
}, void 0, lhsCol);
|
|
9067
|
-
rhsColWrapper = rhsCol
|
|
9068
|
-
.querySelectorAll('.' + PREFIX + 'popup-rhs-col-wrapper')[0];
|
|
9089
|
+
rhsColWrapper = rhsCol.querySelectorAll('.' + PREFIX + 'popup-rhs-col-wrapper')[0];
|
|
9069
9090
|
filteredSeriesArray.forEach(function (seriesSet) {
|
|
9070
9091
|
var indicatorFullName = seriesSet.indicatorFullName,
|
|
9071
9092
|
indicatorType = seriesSet.indicatorType,
|
|
@@ -9076,7 +9097,8 @@
|
|
|
9076
9097
|
item.appendChild(doc.createTextNode(indicatorFullName));
|
|
9077
9098
|
['click', 'touchstart'].forEach(function (eventName) {
|
|
9078
9099
|
addEvent(item, eventName, function () {
|
|
9079
|
-
var button = rhsColWrapper.parentNode
|
|
9100
|
+
var button = rhsColWrapper.parentNode
|
|
9101
|
+
.children[1];
|
|
9080
9102
|
addFormFields.call(popup, chart, series, indicatorType, rhsColWrapper);
|
|
9081
9103
|
if (button) {
|
|
9082
9104
|
button.style.display = 'block';
|
|
@@ -9097,8 +9119,9 @@
|
|
|
9097
9119
|
indicatorList.childNodes[0].click();
|
|
9098
9120
|
}
|
|
9099
9121
|
else if (!isEdit) {
|
|
9100
|
-
rhsColWrapper.parentNode.children[0]
|
|
9101
|
-
rhsColWrapper.parentNode.children[1]
|
|
9122
|
+
AST.setElementHTML(rhsColWrapper.parentNode.children[0], lang.noFilterMatch || '');
|
|
9123
|
+
rhsColWrapper.parentNode.children[1]
|
|
9124
|
+
.style.display = 'none';
|
|
9102
9125
|
}
|
|
9103
9126
|
},
|
|
9104
9127
|
/**
|
|
@@ -9168,15 +9191,13 @@
|
|
|
9168
9191
|
* @private
|
|
9169
9192
|
*
|
|
9170
9193
|
* @param {string} indicatorType
|
|
9171
|
-
*
|
|
9194
|
+
* Type of the indicator i.e. sma, ema...
|
|
9172
9195
|
*
|
|
9173
9196
|
* @param {string} [optionName]
|
|
9174
|
-
*
|
|
9197
|
+
* Name of the option into which selection is being added.
|
|
9175
9198
|
*
|
|
9176
9199
|
* @param {HTMLDOMElement} [parentDiv]
|
|
9177
|
-
*
|
|
9178
|
-
*
|
|
9179
|
-
* @return {HTMLSelectElement}
|
|
9200
|
+
* HTML parent element.
|
|
9180
9201
|
*/
|
|
9181
9202
|
addSelection: function (indicatorType, optionName, parentDiv) {
|
|
9182
9203
|
var optionParamList = optionName.split('.'),
|
|
@@ -9228,9 +9249,13 @@
|
|
|
9228
9249
|
chart.series.forEach(function (series) {
|
|
9229
9250
|
var seriesOptions = series.options,
|
|
9230
9251
|
seriesName = seriesOptions.name ||
|
|
9231
|
-
seriesOptions.params ?
|
|
9252
|
+
seriesOptions.params ?
|
|
9253
|
+
series.name :
|
|
9254
|
+
seriesOptions.id || '';
|
|
9232
9255
|
if (seriesOptions.id !== PREFIX + 'navigator-series' &&
|
|
9233
|
-
seriesOptions.id !== (currentSeries &&
|
|
9256
|
+
seriesOptions.id !== (currentSeries &&
|
|
9257
|
+
currentSeries.options &&
|
|
9258
|
+
currentSeries.options.id)) {
|
|
9234
9259
|
if (!defined(selectedOption) &&
|
|
9235
9260
|
optionName === 'volume' &&
|
|
9236
9261
|
series.type === 'column') {
|
|
@@ -9263,14 +9288,14 @@
|
|
|
9263
9288
|
* @private
|
|
9264
9289
|
*
|
|
9265
9290
|
* @param {Highcharts.Series} series
|
|
9266
|
-
*
|
|
9267
|
-
*
|
|
9291
|
+
* Series which name is needed(EDITmode - defaultOptions.series,
|
|
9292
|
+
* ADDmode - indicator series).
|
|
9268
9293
|
*
|
|
9269
|
-
* @param {string} [
|
|
9270
|
-
*
|
|
9294
|
+
* @param {string} [indicatorType]
|
|
9295
|
+
* Type of the indicator i.e. sma, ema...
|
|
9271
9296
|
*
|
|
9272
|
-
* @return Highcharts.Dictionary<string>
|
|
9273
|
-
*
|
|
9297
|
+
* @return {Highcharts.Dictionary<string>}
|
|
9298
|
+
* Full name and series type.
|
|
9274
9299
|
*/
|
|
9275
9300
|
getNameType: function (series, indicatorType) {
|
|
9276
9301
|
var options = series.options,
|
|
@@ -9350,7 +9375,7 @@
|
|
|
9350
9375
|
var fields = series.params || series.options.params,
|
|
9351
9376
|
getNameType = this.indicators.getNameType;
|
|
9352
9377
|
// reset current content
|
|
9353
|
-
rhsColWrapper.innerHTML =
|
|
9378
|
+
rhsColWrapper.innerHTML = AST.emptyHTML;
|
|
9354
9379
|
// create title (indicator name in the right column)
|
|
9355
9380
|
createElement(H3, {
|
|
9356
9381
|
className: PREFIX + 'indicator-title'
|
|
@@ -9400,8 +9425,9 @@
|
|
|
9400
9425
|
if (defined(value) && // skip if field is unnecessary, #15362
|
|
9401
9426
|
parentFullName) {
|
|
9402
9427
|
if (isObject(value)) {
|
|
9403
|
-
|
|
9404
|
-
|
|
9428
|
+
// (15733) 'Periods' has an arrayed value. Label must be
|
|
9429
|
+
// created here.
|
|
9430
|
+
addInput.call(popup, parentFullName, type, parentDiv, {});
|
|
9405
9431
|
addParamInputs.call(popup, chart, parentFullName, value, type, parentDiv);
|
|
9406
9432
|
}
|
|
9407
9433
|
// If the option is listed in dropdown enum,
|
|
@@ -9505,7 +9531,9 @@
|
|
|
9505
9531
|
addContentItem: function () {
|
|
9506
9532
|
var popupDiv = this.popup.container;
|
|
9507
9533
|
return createElement(DIV, {
|
|
9508
|
-
|
|
9534
|
+
// #12100
|
|
9535
|
+
className: PREFIX + 'tab-item-content ' +
|
|
9536
|
+
PREFIX + 'no-mousewheel'
|
|
9509
9537
|
}, void 0, popupDiv);
|
|
9510
9538
|
},
|
|
9511
9539
|
/**
|
|
@@ -9569,7 +9597,7 @@
|
|
|
9569
9597
|
this.popup = new H.Popup(this.chart.container, (this.chart.options.navigation.iconsURL ||
|
|
9570
9598
|
(this.chart.options.stockTools &&
|
|
9571
9599
|
this.chart.options.stockTools.gui.iconsURL) ||
|
|
9572
|
-
'https://code.highcharts.com/9.3.
|
|
9600
|
+
'https://code.highcharts.com/9.3.2/gfx/stock-icons/'), this.chart);
|
|
9573
9601
|
}
|
|
9574
9602
|
this.popup.showForm(config.formType, this.chart, config.options, config.onSubmit);
|
|
9575
9603
|
});
|