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 Highstock JS v9.3.
|
|
2
|
+
* @license Highstock JS v9.3.2 (2021-11-29)
|
|
3
3
|
*
|
|
4
4
|
* Advanced Highcharts Stock tools
|
|
5
5
|
*
|
|
@@ -50,7 +50,6 @@
|
|
|
50
50
|
*
|
|
51
51
|
* @private
|
|
52
52
|
* @mixin
|
|
53
|
-
* @memberOf Annotation
|
|
54
53
|
*/
|
|
55
54
|
var eventEmitterMixin = {
|
|
56
55
|
/**
|
|
@@ -362,7 +361,6 @@
|
|
|
362
361
|
* @param {boolean} visible
|
|
363
362
|
* Visibility of the control point.
|
|
364
363
|
*
|
|
365
|
-
* @return {void}
|
|
366
364
|
*/
|
|
367
365
|
ControlPoint.prototype.setVisibility = function (visible) {
|
|
368
366
|
this.graphic.attr('visibility', visible ? 'visible' : 'hidden');
|
|
@@ -412,7 +410,6 @@
|
|
|
412
410
|
* @param {Partial<Highcharts.AnnotationControlPointOptionsObject>} userOptions
|
|
413
411
|
* New options for the control point.
|
|
414
412
|
*
|
|
415
|
-
* @return {void}
|
|
416
413
|
*/
|
|
417
414
|
ControlPoint.prototype.update = function (userOptions) {
|
|
418
415
|
var chart = this.chart,
|
|
@@ -967,7 +964,8 @@
|
|
|
967
964
|
*/
|
|
968
965
|
getPointsOptions: function () {
|
|
969
966
|
var options = this.options;
|
|
970
|
-
return (options.points ||
|
|
967
|
+
return (options.points ||
|
|
968
|
+
(options.point && splat(options.point)));
|
|
971
969
|
},
|
|
972
970
|
/**
|
|
973
971
|
* Utility function for mapping item's options
|
|
@@ -1206,8 +1204,10 @@
|
|
|
1206
1204
|
// Options stored in:
|
|
1207
1205
|
// - chart (for exporting)
|
|
1208
1206
|
// - current config (for redraws)
|
|
1209
|
-
chartOptions[this.collection][this.index]
|
|
1210
|
-
|
|
1207
|
+
chartOptions[this.collection][this.index]
|
|
1208
|
+
.point = this.options.point;
|
|
1209
|
+
shapeOptions[this.collection][this.index]
|
|
1210
|
+
.point = this.options.point;
|
|
1211
1211
|
},
|
|
1212
1212
|
/**
|
|
1213
1213
|
* Rotate a controllable.
|
|
@@ -1425,13 +1425,13 @@
|
|
|
1425
1425
|
fill = itemOptions.fill,
|
|
1426
1426
|
color = defined(fill) && fill !== 'none' ?
|
|
1427
1427
|
fill :
|
|
1428
|
-
itemOptions.stroke
|
|
1429
|
-
|
|
1428
|
+
itemOptions.stroke;
|
|
1429
|
+
var setMarker = function (markerType) {
|
|
1430
1430
|
var markerId = itemOptions[markerType],
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1431
|
+
def,
|
|
1432
|
+
predefinedMarker,
|
|
1433
|
+
key,
|
|
1434
|
+
marker;
|
|
1435
1435
|
if (markerId) {
|
|
1436
1436
|
for (key in defs) { // eslint-disable-line guard-for-in
|
|
1437
1437
|
def = defs[key];
|
|
@@ -1446,13 +1446,13 @@
|
|
|
1446
1446
|
}
|
|
1447
1447
|
if (predefinedMarker) {
|
|
1448
1448
|
marker = item[markerType] = chart.renderer
|
|
1449
|
-
.addMarker((itemOptions.id || uniqueKey()) + '-' +
|
|
1450
|
-
markerId, merge(predefinedMarker, { color: color }));
|
|
1449
|
+
.addMarker((itemOptions.id || uniqueKey()) + '-' + markerId, merge(predefinedMarker, { color: color }));
|
|
1451
1450
|
item.attr(markerType, marker.getAttribute('id'));
|
|
1452
1451
|
}
|
|
1453
1452
|
}
|
|
1454
1453
|
};
|
|
1455
|
-
['markerStart', 'markerEnd']
|
|
1454
|
+
['markerStart', 'markerEnd']
|
|
1455
|
+
.forEach(setMarker);
|
|
1456
1456
|
}
|
|
1457
1457
|
};
|
|
1458
1458
|
addEvent(Chart, 'afterGetContainer', function () {
|
|
@@ -1523,7 +1523,7 @@
|
|
|
1523
1523
|
this.point = ControllableMixin.point;
|
|
1524
1524
|
this.rotate = ControllableMixin.rotate;
|
|
1525
1525
|
this.scale = ControllableMixin.scale;
|
|
1526
|
-
this.setControlPointsVisibility = ControllableMixin.setControlPointsVisibility;
|
|
1526
|
+
this.setControlPointsVisibility = (ControllableMixin.setControlPointsVisibility);
|
|
1527
1527
|
this.setMarkers = MarkerMixin.setItemMarkers;
|
|
1528
1528
|
this.transform = ControllableMixin.transform;
|
|
1529
1529
|
this.transformPoint = ControllableMixin.transformPoint;
|
|
@@ -1587,7 +1587,8 @@
|
|
|
1587
1587
|
null;
|
|
1588
1588
|
};
|
|
1589
1589
|
ControllablePath.prototype.shouldBeDrawn = function () {
|
|
1590
|
-
return (ControllableMixin.shouldBeDrawn.call(this) ||
|
|
1590
|
+
return (ControllableMixin.shouldBeDrawn.call(this) ||
|
|
1591
|
+
Boolean(this.options.d));
|
|
1591
1592
|
};
|
|
1592
1593
|
ControllablePath.prototype.render = function (parent) {
|
|
1593
1594
|
var options = this.options,
|
|
@@ -1714,7 +1715,7 @@
|
|
|
1714
1715
|
this.point = ControllableMixin.point;
|
|
1715
1716
|
this.rotate = ControllableMixin.rotate;
|
|
1716
1717
|
this.scale = ControllableMixin.scale;
|
|
1717
|
-
this.setControlPointsVisibility = ControllableMixin.setControlPointsVisibility;
|
|
1718
|
+
this.setControlPointsVisibility = (ControllableMixin.setControlPointsVisibility);
|
|
1718
1719
|
this.shouldBeDrawn = ControllableMixin.shouldBeDrawn;
|
|
1719
1720
|
this.transform = ControllableMixin.transform;
|
|
1720
1721
|
this.transformPoint = ControllableMixin.transformPoint;
|
|
@@ -1824,7 +1825,7 @@
|
|
|
1824
1825
|
this.point = ControllableMixin.point;
|
|
1825
1826
|
this.rotate = ControllableMixin.rotate;
|
|
1826
1827
|
this.scale = ControllableMixin.scale;
|
|
1827
|
-
this.setControlPointsVisibility = ControllableMixin.setControlPointsVisibility;
|
|
1828
|
+
this.setControlPointsVisibility = (ControllableMixin.setControlPointsVisibility);
|
|
1828
1829
|
this.shouldBeDrawn = ControllableMixin.shouldBeDrawn;
|
|
1829
1830
|
this.transform = ControllableMixin.transform;
|
|
1830
1831
|
this.transformPoint = ControllableMixin.transformPoint;
|
|
@@ -1940,7 +1941,7 @@
|
|
|
1940
1941
|
this.linkPoints = ControllableMixin.linkPoints;
|
|
1941
1942
|
this.point = ControllableMixin.point;
|
|
1942
1943
|
this.scale = ControllableMixin.scale;
|
|
1943
|
-
this.setControlPointsVisibility = ControllableMixin.setControlPointsVisibility;
|
|
1944
|
+
this.setControlPointsVisibility = (ControllableMixin.setControlPointsVisibility);
|
|
1944
1945
|
this.shouldBeDrawn = ControllableMixin.shouldBeDrawn;
|
|
1945
1946
|
this.transform = ControllableMixin.transform;
|
|
1946
1947
|
this.translatePoint = ControllableMixin.translatePoint;
|
|
@@ -2160,7 +2161,7 @@
|
|
|
2160
2161
|
this.point = ControllableMixin.point;
|
|
2161
2162
|
this.rotate = ControllableMixin.rotate;
|
|
2162
2163
|
this.scale = ControllableMixin.scale;
|
|
2163
|
-
this.setControlPointsVisibility = ControllableMixin.setControlPointsVisibility;
|
|
2164
|
+
this.setControlPointsVisibility = (ControllableMixin.setControlPointsVisibility);
|
|
2164
2165
|
this.shouldBeDrawn = ControllableMixin.shouldBeDrawn;
|
|
2165
2166
|
this.transform = ControllableMixin.transform;
|
|
2166
2167
|
this.transformPoint = ControllableMixin.transformPoint;
|
|
@@ -2393,10 +2394,6 @@
|
|
|
2393
2394
|
};
|
|
2394
2395
|
/**
|
|
2395
2396
|
* Returns the label position relative to its anchor.
|
|
2396
|
-
*
|
|
2397
|
-
* @param {Highcharts.AnnotationAnchorObject} anchor
|
|
2398
|
-
*
|
|
2399
|
-
* @return {Highcharts.PositionObject|null}
|
|
2400
2397
|
*/
|
|
2401
2398
|
ControllableLabel.prototype.position = function (anchor) {
|
|
2402
2399
|
var item = this.graphic,
|
|
@@ -2425,7 +2422,8 @@
|
|
|
2425
2422
|
plotY: anchorRelativePosition.y,
|
|
2426
2423
|
negative: point.negative,
|
|
2427
2424
|
ttBelow: point.ttBelow,
|
|
2428
|
-
h: (anchorRelativePosition.height ||
|
|
2425
|
+
h: (anchorRelativePosition.height ||
|
|
2426
|
+
anchorRelativePosition.width)
|
|
2429
2427
|
});
|
|
2430
2428
|
}
|
|
2431
2429
|
else if (itemOptions.positioner) {
|
|
@@ -2573,7 +2571,7 @@
|
|
|
2573
2571
|
this.point = ControllableMixin.point;
|
|
2574
2572
|
this.rotate = ControllableMixin.rotate;
|
|
2575
2573
|
this.scale = ControllableMixin.scale;
|
|
2576
|
-
this.setControlPointsVisibility = ControllableMixin.setControlPointsVisibility;
|
|
2574
|
+
this.setControlPointsVisibility = (ControllableMixin.setControlPointsVisibility);
|
|
2577
2575
|
this.shouldBeDrawn = ControllableMixin.shouldBeDrawn;
|
|
2578
2576
|
this.transform = ControllableMixin.transform;
|
|
2579
2577
|
this.transformPoint = ControllableMixin.transformPoint;
|
|
@@ -3055,7 +3053,6 @@
|
|
|
3055
3053
|
* @param {Partial<Highcharts.AnnotationsOptions>} userOptions
|
|
3056
3054
|
* New user options for the annotation.
|
|
3057
3055
|
*
|
|
3058
|
-
* @return {void}
|
|
3059
3056
|
*/
|
|
3060
3057
|
Annotation.prototype.update = function (userOptions, redraw) {
|
|
3061
3058
|
var chart = this.chart,
|
|
@@ -3085,10 +3082,11 @@
|
|
|
3085
3082
|
/**
|
|
3086
3083
|
* Initialisation of a single shape
|
|
3087
3084
|
* @private
|
|
3088
|
-
* @param {Object} shapeOptions
|
|
3089
|
-
*
|
|
3090
|
-
*
|
|
3091
|
-
|
|
3085
|
+
* @param {Object} shapeOptions
|
|
3086
|
+
* a confg object for a single shape
|
|
3087
|
+
* @param {number} index
|
|
3088
|
+
* annotation may have many shapes, this is the shape's index saved in
|
|
3089
|
+
* shapes.index.
|
|
3092
3090
|
*/
|
|
3093
3091
|
Annotation.prototype.initShape = function (shapeOptions, index) {
|
|
3094
3092
|
var options = merge(this.options.shapeOptions, {
|
|
@@ -3831,7 +3829,8 @@
|
|
|
3831
3829
|
******************************************************************** */
|
|
3832
3830
|
extend(chartProto, /** @lends Highcharts.Chart# */ {
|
|
3833
3831
|
initAnnotation: function (userOptions) {
|
|
3834
|
-
var Constructor = Annotation
|
|
3832
|
+
var Constructor = Annotation
|
|
3833
|
+
.types[userOptions.type] || Annotation,
|
|
3835
3834
|
annotation = new Constructor(this,
|
|
3836
3835
|
userOptions);
|
|
3837
3836
|
this.annotations.push(annotation);
|
|
@@ -3866,7 +3865,7 @@
|
|
|
3866
3865
|
*/
|
|
3867
3866
|
removeAnnotation: function (idOrAnnotation) {
|
|
3868
3867
|
var annotations = this.annotations,
|
|
3869
|
-
annotation = idOrAnnotation.coll === 'annotations' ?
|
|
3868
|
+
annotation = (idOrAnnotation.coll === 'annotations') ?
|
|
3870
3869
|
idOrAnnotation :
|
|
3871
3870
|
find(annotations,
|
|
3872
3871
|
function (annotation) {
|
|
@@ -3985,15 +3984,15 @@
|
|
|
3985
3984
|
// Annotation placed on a exported data point
|
|
3986
3985
|
// - add new column
|
|
3987
3986
|
if (!wasAdded) {
|
|
3988
|
-
event.dataRows.forEach(function (row
|
|
3987
|
+
event.dataRows.forEach(function (row) {
|
|
3989
3988
|
if (!wasAdded &&
|
|
3990
3989
|
row.xValues &&
|
|
3991
3990
|
xAxisIndex !== void 0 &&
|
|
3992
3991
|
annotationX === row.xValues[xAxisIndex]) {
|
|
3993
3992
|
if (joinAnnotations &&
|
|
3994
3993
|
row.length > startRowLength) {
|
|
3995
|
-
row[row.length - 1] +=
|
|
3996
|
-
|
|
3994
|
+
row[row.length - 1] += (annotationSeparator +
|
|
3995
|
+
annotationText_1);
|
|
3997
3996
|
}
|
|
3998
3997
|
else {
|
|
3999
3998
|
row.push(annotationText_1);
|
|
@@ -4426,7 +4425,9 @@
|
|
|
4426
4425
|
navigation.eventsToUnbind.push(addEvent(subContainer, 'click', function (event) {
|
|
4427
4426
|
var bindings = navigation.getButtonEvents(subContainer,
|
|
4428
4427
|
event);
|
|
4429
|
-
if (bindings &&
|
|
4428
|
+
if (bindings &&
|
|
4429
|
+
bindings.button.className
|
|
4430
|
+
.indexOf('highcharts-disabled-btn') === -1) {
|
|
4430
4431
|
navigation.bindingsButtonClick(bindings.button, bindings.events, event);
|
|
4431
4432
|
}
|
|
4432
4433
|
}));
|
|
@@ -4472,7 +4473,7 @@
|
|
|
4472
4473
|
* @param {Highcharts.HTMLDOMElement} [button]
|
|
4473
4474
|
* Clicked button
|
|
4474
4475
|
*
|
|
4475
|
-
* @param {
|
|
4476
|
+
* @param {Object} events
|
|
4476
4477
|
* Events passed down from bindings (`init`, `start`, `step`, `end`)
|
|
4477
4478
|
*
|
|
4478
4479
|
* @param {Highcharts.PointerEventObject} clickEvent
|
|
@@ -4585,8 +4586,7 @@
|
|
|
4585
4586
|
navigation.stepIndex++;
|
|
4586
4587
|
if (selectedButton.steps[navigation.stepIndex]) {
|
|
4587
4588
|
// If we have more steps, bind them one by one:
|
|
4588
|
-
navigation.mouseMoveEvent = navigation.nextEvent =
|
|
4589
|
-
selectedButton.steps[navigation.stepIndex];
|
|
4589
|
+
navigation.mouseMoveEvent = navigation.nextEvent = selectedButton.steps[navigation.stepIndex];
|
|
4590
4590
|
}
|
|
4591
4591
|
else {
|
|
4592
4592
|
fireEvent(navigation, 'deselectButton', { button: navigation.selectedButtonElement });
|
|
@@ -4720,10 +4720,10 @@
|
|
|
4720
4720
|
* @param {string} key
|
|
4721
4721
|
* Option name, for example "visible" or "x", "y"
|
|
4722
4722
|
*
|
|
4723
|
-
* @param {
|
|
4723
|
+
* @param {Object} parentEditables
|
|
4724
4724
|
* Editables from NavigationBindings.annotationsEditable
|
|
4725
4725
|
*
|
|
4726
|
-
* @param {
|
|
4726
|
+
* @param {Object} parent
|
|
4727
4727
|
* Where new options will be assigned
|
|
4728
4728
|
*/
|
|
4729
4729
|
function traverse(option, key, parentEditables, parent) {
|
|
@@ -4764,7 +4764,9 @@
|
|
|
4764
4764
|
parent[key] = nextParent;
|
|
4765
4765
|
}
|
|
4766
4766
|
objectEach(option, function (nestedOption, nestedKey) {
|
|
4767
|
-
traverse(nestedOption, nestedKey, key === 0 ?
|
|
4767
|
+
traverse(nestedOption, nestedKey, key === 0 ?
|
|
4768
|
+
parentEditables :
|
|
4769
|
+
nestedEditables[key], nextParent);
|
|
4768
4770
|
});
|
|
4769
4771
|
}
|
|
4770
4772
|
else {
|
|
@@ -4803,14 +4805,14 @@
|
|
|
4803
4805
|
*
|
|
4804
4806
|
* @function Highcharts.NavigationBindings#getClickedClassNames
|
|
4805
4807
|
*
|
|
4806
|
-
* @param {Highcharts.HTMLDOMElement}
|
|
4807
|
-
*
|
|
4808
|
+
* @param {Highcharts.HTMLDOMElement} container
|
|
4809
|
+
* Container that event is bound to.
|
|
4808
4810
|
*
|
|
4809
4811
|
* @param {global.Event} event
|
|
4810
|
-
*
|
|
4812
|
+
* Browser's event.
|
|
4811
4813
|
*
|
|
4812
4814
|
* @return {Array<Array<string, Highcharts.HTMLDOMElement>>}
|
|
4813
|
-
*
|
|
4815
|
+
* Array of class names with corresponding elements
|
|
4814
4816
|
*/
|
|
4815
4817
|
NavigationBindings.prototype.getClickedClassNames = function (container, event) {
|
|
4816
4818
|
var element = event.target,
|
|
@@ -4848,7 +4850,7 @@
|
|
|
4848
4850
|
* @param {global.Event} event
|
|
4849
4851
|
* Browser's event.
|
|
4850
4852
|
*
|
|
4851
|
-
* @return {
|
|
4853
|
+
* @return {Object}
|
|
4852
4854
|
* Object with events (init, start, steps, and end)
|
|
4853
4855
|
*/
|
|
4854
4856
|
NavigationBindings.prototype.getButtonEvents = function (container, event) {
|
|
@@ -5015,10 +5017,10 @@
|
|
|
5015
5017
|
if (annotation.options.type === 'measure') {
|
|
5016
5018
|
// Manually disable crooshars according to
|
|
5017
5019
|
// stroke width of the shape:
|
|
5018
|
-
typeOptions.crosshairY.enabled =
|
|
5019
|
-
|
|
5020
|
-
typeOptions.crosshairX.enabled =
|
|
5021
|
-
|
|
5020
|
+
typeOptions.crosshairY.enabled = (typeOptions.crosshairY
|
|
5021
|
+
.strokeWidth !== 0);
|
|
5022
|
+
typeOptions.crosshairX.enabled = (typeOptions.crosshairX
|
|
5023
|
+
.strokeWidth !== 0);
|
|
5022
5024
|
}
|
|
5023
5025
|
annotation.update(config);
|
|
5024
5026
|
}
|
|
@@ -5175,7 +5177,8 @@
|
|
|
5175
5177
|
},
|
|
5176
5178
|
r: 5
|
|
5177
5179
|
}]
|
|
5178
|
-
}, navigation.annotationsOptions, navigation.bindings.circleAnnotation
|
|
5180
|
+
}, navigation.annotationsOptions, navigation.bindings.circleAnnotation
|
|
5181
|
+
.annotationsOptions));
|
|
5179
5182
|
},
|
|
5180
5183
|
/** @ignore-option */
|
|
5181
5184
|
steps: [
|
|
@@ -5229,7 +5232,8 @@
|
|
|
5229
5232
|
ry: 1
|
|
5230
5233
|
}
|
|
5231
5234
|
]
|
|
5232
|
-
}, navigation.annotationsOptions, navigation.bindings.ellipseAnnotation
|
|
5235
|
+
}, navigation.annotationsOptions, navigation.bindings.ellipseAnnotation
|
|
5236
|
+
.annotationOptions));
|
|
5233
5237
|
},
|
|
5234
5238
|
steps: [
|
|
5235
5239
|
function (e, annotation) {
|
|
@@ -5372,7 +5376,7 @@
|
|
|
5372
5376
|
* from a different server.
|
|
5373
5377
|
*
|
|
5374
5378
|
* @type {string}
|
|
5375
|
-
* @default https://code.highcharts.com/9.3.
|
|
5379
|
+
* @default https://code.highcharts.com/9.3.2/gfx/stock-icons/
|
|
5376
5380
|
* @since 7.1.3
|
|
5377
5381
|
* @apioption navigation.iconsURL
|
|
5378
5382
|
*/
|
|
@@ -5455,28 +5459,29 @@
|
|
|
5455
5459
|
if (chart.navigationBindings &&
|
|
5456
5460
|
chart.navigationBindings.container &&
|
|
5457
5461
|
chart.navigationBindings.container[0]) {
|
|
5458
|
-
// Get the HTML element coresponding to the
|
|
5459
|
-
//
|
|
5460
|
-
var buttonNode = chart.navigationBindings.container[0]
|
|
5462
|
+
// Get the HTML element coresponding to the className taken
|
|
5463
|
+
// from StockToolsBindings.
|
|
5464
|
+
var buttonNode = chart.navigationBindings.container[0]
|
|
5465
|
+
.querySelectorAll('.' + key);
|
|
5461
5466
|
if (buttonNode) {
|
|
5462
5467
|
for (var i = 0; i < buttonNode.length; i++) {
|
|
5463
|
-
var button = buttonNode[i]
|
|
5468
|
+
var button = buttonNode[i],
|
|
5469
|
+
cls = button.className;
|
|
5464
5470
|
if (value.noDataState === 'normal') {
|
|
5465
|
-
// If button has noDataState: 'normal',
|
|
5466
|
-
//
|
|
5467
|
-
|
|
5468
|
-
if (button.className.indexOf(disabledClassName) !== -1) {
|
|
5471
|
+
// If button has noDataState: 'normal', and has
|
|
5472
|
+
// disabledClassName, remove this className.
|
|
5473
|
+
if (cls.indexOf(disabledClassName) !== -1) {
|
|
5469
5474
|
button.classList.remove(disabledClassName);
|
|
5470
5475
|
}
|
|
5471
5476
|
}
|
|
5472
5477
|
else if (!buttonsEnabled_1) {
|
|
5473
|
-
if (
|
|
5478
|
+
if (cls.indexOf(disabledClassName) === -1) {
|
|
5474
5479
|
button.className += ' ' + disabledClassName;
|
|
5475
5480
|
}
|
|
5476
5481
|
}
|
|
5477
5482
|
else {
|
|
5478
5483
|
// Enable all buttons by deleting the className.
|
|
5479
|
-
if (
|
|
5484
|
+
if (cls.indexOf(disabledClassName) !== -1) {
|
|
5480
5485
|
button.classList.remove(disabledClassName);
|
|
5481
5486
|
}
|
|
5482
5487
|
}
|
|
@@ -5828,7 +5833,7 @@
|
|
|
5828
5833
|
* @private
|
|
5829
5834
|
* @function bindingsUtils.isLastPriceEnabled
|
|
5830
5835
|
*
|
|
5831
|
-
* @param {
|
|
5836
|
+
* @param {Array} series
|
|
5832
5837
|
* Array of series.
|
|
5833
5838
|
*
|
|
5834
5839
|
* @return {boolean}
|
|
@@ -5926,7 +5931,8 @@
|
|
|
5926
5931
|
if (!isNumber(height)) {
|
|
5927
5932
|
// Check if the previous axis is the
|
|
5928
5933
|
// indicator axis (every indicator inherits from sma)
|
|
5929
|
-
height = yAxes[index - 1].series
|
|
5934
|
+
height = yAxes[index - 1].series
|
|
5935
|
+
.every(function (s) { return s.is('sma'); }) ?
|
|
5930
5936
|
previousAxisHeight : defaultHeight / 100;
|
|
5931
5937
|
}
|
|
5932
5938
|
if (!isNumber(top)) {
|
|
@@ -6354,7 +6360,8 @@
|
|
|
6354
6360
|
y: coordsY.value
|
|
6355
6361
|
}]
|
|
6356
6362
|
}
|
|
6357
|
-
}, navigation.annotationsOptions, navigation.bindings.arrowInfinityLine
|
|
6363
|
+
}, navigation.annotationsOptions, navigation.bindings.arrowInfinityLine
|
|
6364
|
+
.annotationsOptions);
|
|
6358
6365
|
return this.chart.addAnnotation(options);
|
|
6359
6366
|
},
|
|
6360
6367
|
/** @ignore-option */
|
|
@@ -6952,7 +6959,8 @@
|
|
|
6952
6959
|
}
|
|
6953
6960
|
},
|
|
6954
6961
|
navigation.annotationsOptions,
|
|
6955
|
-
navigation.bindings.parallelChannel
|
|
6962
|
+
navigation.bindings.parallelChannel
|
|
6963
|
+
.annotationsOptions);
|
|
6956
6964
|
return this.chart.addAnnotation(options);
|
|
6957
6965
|
},
|
|
6958
6966
|
/** @ignore-option */
|
|
@@ -7251,7 +7259,8 @@
|
|
|
7251
7259
|
}
|
|
7252
7260
|
},
|
|
7253
7261
|
navigation.annotationsOptions,
|
|
7254
|
-
navigation.bindings.fibonacciTimeZones
|
|
7262
|
+
navigation.bindings.fibonacciTimeZones
|
|
7263
|
+
.annotationsOptions);
|
|
7255
7264
|
return this.chart.addAnnotation(options);
|
|
7256
7265
|
},
|
|
7257
7266
|
/** @ignore-option */
|
|
@@ -7559,7 +7568,10 @@
|
|
|
7559
7568
|
series.forEach(function (series) {
|
|
7560
7569
|
series.update({
|
|
7561
7570
|
lastPrice: { enabled: !priceIndicatorEnabled },
|
|
7562
|
-
lastVisiblePrice: {
|
|
7571
|
+
lastVisiblePrice: {
|
|
7572
|
+
enabled: !priceIndicatorEnabled,
|
|
7573
|
+
label: { enabled: true }
|
|
7574
|
+
}
|
|
7563
7575
|
}, false);
|
|
7564
7576
|
});
|
|
7565
7577
|
chart.redraw();
|
|
@@ -8323,7 +8335,7 @@
|
|
|
8323
8335
|
* A collection of strings pointing to config options for
|
|
8324
8336
|
* the items.
|
|
8325
8337
|
*
|
|
8326
|
-
* @type {
|
|
8338
|
+
* @type {Array}
|
|
8327
8339
|
* @default [
|
|
8328
8340
|
* 'label',
|
|
8329
8341
|
* 'circle',
|
|
@@ -8380,7 +8392,7 @@
|
|
|
8380
8392
|
* A collection of strings pointing to config options for
|
|
8381
8393
|
* the items.
|
|
8382
8394
|
*
|
|
8383
|
-
* @type {
|
|
8395
|
+
* @type {Array}
|
|
8384
8396
|
* @default [
|
|
8385
8397
|
* 'flagCirclepin',
|
|
8386
8398
|
* 'flagDiamondpin',
|
|
@@ -8435,7 +8447,7 @@
|
|
|
8435
8447
|
* A collection of strings pointing to config options for
|
|
8436
8448
|
* the items.
|
|
8437
8449
|
*
|
|
8438
|
-
* @type {
|
|
8450
|
+
* @type {Array}
|
|
8439
8451
|
* @default [
|
|
8440
8452
|
* 'segment',
|
|
8441
8453
|
* 'arrowSegment',
|
|
@@ -8527,7 +8539,7 @@
|
|
|
8527
8539
|
* A collection of strings pointing to config options for
|
|
8528
8540
|
* the items.
|
|
8529
8541
|
*
|
|
8530
|
-
* @type {
|
|
8542
|
+
* @type {Array}
|
|
8531
8543
|
* @default [
|
|
8532
8544
|
* 'elliott3',
|
|
8533
8545
|
* 'elliott5',
|
|
@@ -8580,7 +8592,7 @@
|
|
|
8580
8592
|
* A collection of strings pointing to config options for
|
|
8581
8593
|
* the items.
|
|
8582
8594
|
*
|
|
8583
|
-
* @type {
|
|
8595
|
+
* @type {Array}
|
|
8584
8596
|
* @default [
|
|
8585
8597
|
* 'verticalCounter',
|
|
8586
8598
|
* 'verticalLabel',
|
|
@@ -8622,7 +8634,7 @@
|
|
|
8622
8634
|
* A collection of strings pointing to config options for
|
|
8623
8635
|
* the items.
|
|
8624
8636
|
*
|
|
8625
|
-
* @type {
|
|
8637
|
+
* @type {Array}
|
|
8626
8638
|
* @default [
|
|
8627
8639
|
* 'fibonacci',
|
|
8628
8640
|
* 'fibonacciTimeZones',
|
|
@@ -8684,7 +8696,7 @@
|
|
|
8684
8696
|
* A collection of strings pointing to config options for
|
|
8685
8697
|
* the items.
|
|
8686
8698
|
*
|
|
8687
|
-
* @type {
|
|
8699
|
+
* @type {Array}
|
|
8688
8700
|
* @default [
|
|
8689
8701
|
* 'measureXY',
|
|
8690
8702
|
* 'measureX',
|
|
@@ -8750,7 +8762,7 @@
|
|
|
8750
8762
|
* A collection of strings pointing to config options for
|
|
8751
8763
|
* the items.
|
|
8752
8764
|
*
|
|
8753
|
-
* @type {
|
|
8765
|
+
* @type {Array}
|
|
8754
8766
|
* @default [
|
|
8755
8767
|
* 'zoomX',
|
|
8756
8768
|
* 'zoomY',
|
|
@@ -8792,7 +8804,7 @@
|
|
|
8792
8804
|
* A collection of strings pointing to config options for
|
|
8793
8805
|
* the items.
|
|
8794
8806
|
*
|
|
8795
|
-
* @type {
|
|
8807
|
+
* @type {Array}
|
|
8796
8808
|
* @default [
|
|
8797
8809
|
* 'typeOHLC',
|
|
8798
8810
|
* 'typeLine',
|
|
@@ -8936,9 +8948,11 @@
|
|
|
8936
8948
|
/**
|
|
8937
8949
|
* Toolbar Class
|
|
8938
8950
|
* @private
|
|
8939
|
-
* @
|
|
8940
|
-
* @param {Object}
|
|
8941
|
-
*
|
|
8951
|
+
* @class
|
|
8952
|
+
* @param {Object}
|
|
8953
|
+
* Options of toolbar
|
|
8954
|
+
* @param {Highcharts.Chart}
|
|
8955
|
+
* Reference to chart
|
|
8942
8956
|
*/
|
|
8943
8957
|
var Toolbar = /** @class */ (function () {
|
|
8944
8958
|
function Toolbar(options, langOptions, chart) {
|
|
@@ -8998,11 +9012,14 @@
|
|
|
8998
9012
|
/**
|
|
8999
9013
|
* Create submenu (list of buttons) for the option. In example main button
|
|
9000
9014
|
* is Line, in submenu will be buttons with types of lines.
|
|
9015
|
+
*
|
|
9001
9016
|
* @private
|
|
9002
|
-
*
|
|
9003
|
-
*
|
|
9004
|
-
*
|
|
9005
|
-
*
|
|
9017
|
+
*
|
|
9018
|
+
* @param {Highcharts.Dictionary<Highcharts.HTMLDOMElement>} parentBtn
|
|
9019
|
+
* Button which has submenu
|
|
9020
|
+
*
|
|
9021
|
+
* @param {Highcharts.StockToolsGuiDefinitionsButtonsOptions} button
|
|
9022
|
+
* List of all buttons
|
|
9006
9023
|
*/
|
|
9007
9024
|
Toolbar.prototype.addSubmenu = function (parentBtn, button) {
|
|
9008
9025
|
var _self = this,
|
|
@@ -9064,12 +9081,14 @@
|
|
|
9064
9081
|
};
|
|
9065
9082
|
/**
|
|
9066
9083
|
* Create buttons in submenu
|
|
9084
|
+
*
|
|
9067
9085
|
* @private
|
|
9068
|
-
* @param {Highcharts.HTMLDOMElement}
|
|
9069
|
-
* button where submenu is placed
|
|
9070
|
-
* @param {Highcharts.StockToolsGuiDefinitionsButtonsOptions}
|
|
9071
|
-
* list of all buttons options
|
|
9072
9086
|
*
|
|
9087
|
+
* @param {Highcharts.HTMLDOMElement} buttonWrapper
|
|
9088
|
+
* Button where submenu is placed
|
|
9089
|
+
*
|
|
9090
|
+
* @param {Highcharts.StockToolsGuiDefinitionsButtonsOptions} button
|
|
9091
|
+
* List of all buttons options
|
|
9073
9092
|
*/
|
|
9074
9093
|
Toolbar.prototype.addSubmenuItems = function (buttonWrapper, button) {
|
|
9075
9094
|
var _self = this,
|
|
@@ -9437,7 +9456,7 @@
|
|
|
9437
9456
|
Toolbar.prototype.getIconsURL = function () {
|
|
9438
9457
|
return this.chart.options.navigation.iconsURL ||
|
|
9439
9458
|
this.options.iconsURL ||
|
|
9440
|
-
'https://code.highcharts.com/9.3.
|
|
9459
|
+
'https://code.highcharts.com/9.3.2/gfx/stock-icons/';
|
|
9441
9460
|
};
|
|
9442
9461
|
return Toolbar;
|
|
9443
9462
|
}());
|
|
@@ -9547,8 +9566,12 @@
|
|
|
9547
9566
|
stockTools.toolbar &&
|
|
9548
9567
|
stockTools.toolbar.querySelector('.highcharts-current-price-indicator');
|
|
9549
9568
|
// Change the initial button background.
|
|
9550
|
-
if (stockTools &&
|
|
9551
|
-
|
|
9569
|
+
if (stockTools &&
|
|
9570
|
+
chart.navigationBindings &&
|
|
9571
|
+
chart.options.series &&
|
|
9572
|
+
button) {
|
|
9573
|
+
if (chart.navigationBindings.constructor.prototype.utils
|
|
9574
|
+
.isPriceIndicatorEnabled(chart.series)) {
|
|
9552
9575
|
button.firstChild.style['background-image'] =
|
|
9553
9576
|
'url("' + stockTools.getIconsURL() + 'current-price-hide.svg")';
|
|
9554
9577
|
}
|
package/modules/stock.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Highstock JS v9.3.
|
|
2
|
+
Highstock JS v9.3.2 (2021-11-29)
|
|
3
3
|
|
|
4
4
|
Highcharts Stock as a plugin for Highcharts
|
|
5
5
|
|
|
@@ -14,7 +14,7 @@ k=k[Math.floor(k.length/2)];k<.6*Q&&(k=null);q=u[A-1]>c?A-1:A;for(H=void 0;q--;)
|
|
|
14
14
|
this.old.min:this.min))*(this.old?this.old.transA:this.transA)+this.minPixelPadding;0<n&&n<this.left+this.len||(e.extendedOrdinalPositions||(e.extendedOrdinalPositions=e.getExtendedPositions()),c=e.extendedOrdinalPositions);if(c&&c.length){f=e.getIndexOfPoint(n,c);e=D(f%1);if(0<=f&&f<c.length-1)return c[Math.floor(f)]+e*(c[Math.ceil(f)]-c[Math.floor(f)]);e=c.length;n=c[0];c=c[e-1];var p=(c-n)/(e-1);return 0>f?n+p*f:c+p*(f-e)}return f}function q(f,e){var c=h.Additions.findIndexOf(f,e,!0);return f[c]===
|
|
15
15
|
e?c:c+(e-f[c])/(f[c+1]-f[c])}function K(){this.ordinal||(this.ordinal=new h.Additions(this))}function a(){this.isXAxis&&x(this.options.overscroll)&&this.max===this.dataMax&&(!this.chart.mouseIsDown||this.isInternal)&&(!this.eventArgs||this.eventArgs&&"navigator"!==this.eventArgs.trigger)&&(this.max+=this.options.overscroll,!this.isInternal&&x(this.userMin)&&(this.min+=this.options.overscroll))}function F(){this.horiz&&!this.isDirty&&(this.isDirty=this.isOrdinal&&this.chart.navigator&&!this.chart.navigator.adaptToUpdatedData)}
|
|
16
16
|
function N(){this.ordinal&&(this.ordinal.beforeSetTickPositions(),this.tickInterval=this.ordinal.postProcessTickInterval(this.tickInterval))}function u(f){var e=this.xAxis[0],c=e.options.overscroll,n=f.originalEvent.chartX,p=this.options.chart.panning,g=!1;if(p&&"y"!==p.type&&e.options.ordinal&&e.series.length){var v=this.mouseDownX,w=e.getExtremes(),Q=w.dataMax,O=w.min,B=w.max,H=this.hoverPoints,A=e.closestPointRange||e.ordinal&&e.ordinal.overscrollPointsRange;v=(v-n)/(e.translationSlope*(e.ordinal.slope||
|
|
17
|
-
A));A={ordinal:{positions:e.ordinal.getExtendedPositions()}};var k=e.index2val,u=e.val2lin,d=void 0,h=d=void 0,q=void 0;A.ordinal.positions?1<Math.abs(v)&&(H&&H.forEach(function(g){g.setState()}),0>v?(h=A,q=e.ordinal.positions?e:A):(h=e.ordinal.positions?e:A,q=A),d=q.ordinal.positions,Q>d[d.length-1]&&d.push(Q),this.fixedRange=B-O,d=e.navigatorAxis.toFixedRange(
|
|
17
|
+
A));A={ordinal:{positions:e.ordinal.getExtendedPositions()}};var k=e.index2val,u=e.val2lin,d=void 0,h=d=void 0,q=void 0;A.ordinal.positions?1<Math.abs(v)&&(H&&H.forEach(function(g){g.setState()}),0>v?(h=A,q=e.ordinal.positions?e:A):(h=e.ordinal.positions?e:A,q=A),d=q.ordinal.positions,Q>d[d.length-1]&&d.push(Q),this.fixedRange=B-O,d=e.navigatorAxis.toFixedRange(void 0,void 0,k.apply(h,[u.apply(h,[O,!0])+v]),k.apply(q,[u.apply(q,[B,!0])+v])),d.min>=Math.min(w.dataMin,O)&&d.max<=Math.max(Q,B)+c&&e.setExtremes(d.min,
|
|
18
18
|
d.max,!0,!1,{trigger:"pan"}),this.mouseDownX=n,E(this.container,{cursor:"move"})):g=!0}else g=!0;g||p&&/y/.test(p.type)?c&&(e.max=e.dataMax+c):f.preventDefault()}function M(){var f=this.xAxis;f&&f.options.ordinal&&(delete f.ordinal.index,delete f.ordinal.extendedOrdinalPositions)}function k(f,e){var c=this.ordinal,n=c.positions,p=c.slope,g=c.extendedOrdinalPositions;if(!n)return f;var v=n.length;if(n[0]<=f&&n[v-1]>=f)f=q(n,f);else{g||(g=c.getExtendedPositions&&c.getExtendedPositions(),c.extendedOrdinalPositions=
|
|
19
19
|
g);if(!g||!g.length)return f;v=g.length;p||(p=(g[v-1]-g[0])/v);n=q(g,n[0]);f>=g[0]&&f<=g[v-1]?f=q(g,f)-n:f<g[0]?(f=g[0]-f,f=-n-f/p):(f-=g[v-1],f=f/p+v-n)}return e?f:p*(f||0)+c.offset}h.compose=function(f,e,c){if(-1===z.indexOf(f)){z.push(f);var n=f.prototype;n.getTimeTicks=G;n.index2val=I;n.lin2val=C;n.val2lin=k;n.ordinal2lin=n.val2lin;l(f,"afterInit",K);l(f,"foundExtremes",a);l(f,"afterSetScale",F);l(f,"initialAxisTranslation",N)}-1===z.indexOf(c)&&(z.push(c),l(c,"pan",u));-1===z.indexOf(e)&&(z.push(e),
|
|
20
20
|
l(e,"updatedData",M));return f};var J=function(){function f(e){this.index={};this.axis=e}f.prototype.beforeSetTickPositions=function(){var e=this.axis,c=e.ordinal,n=e.getExtremes(),p=n.min,g=n.max,v=e.isXAxis&&!!e.options.breaks;n=e.options.ordinal;var w=e.chart.options.chart.ignoreHiddenSeries,f,O,B=[],H=Number.MAX_VALUE,A=!1;if(n||v){e.series.forEach(function(g,c){f=[];if(!(w&&!1===g.visible||!1===g.takeOrdinalPosition&&!v)&&(B=B.concat(g.processedXData),k=B.length,B.sort(function(g,c){return g-
|
|
@@ -58,7 +58,7 @@ b=c.yData,this.cropStart=c.start);this.processedXData=n;this.processedYData=b}el
|
|
|
58
58
|
null};a.prototype.applyGrouping=function(f){var e=this;e.series.forEach(function(c){c.groupPixelWidth=void 0;c.groupPixelWidth=e.getGroupPixelWidth&&e.getGroupPixelWidth();c.groupPixelWidth&&(c.hasProcessed=!0);c.applyGrouping(!!f.hasExtemesChanged)})};a.prototype.getGroupPixelWidth=function(){var f=this.series,e=f.length,c,n=0,p=!1,g;for(c=e;c--;)(g=f[c].options.dataGrouping)&&(n=Math.max(n,S(g.groupPixelWidth,M.groupPixelWidth)));for(c=e;c--;)if(g=f[c].options.dataGrouping)if(e=(f[c].processedXData||
|
|
59
59
|
f[c].data).length,f[c].groupPixelWidth||e>this.chart.plotSizeX/n||e&&g.forced)p=!0;return p?n:0};a.prototype.setDataGrouping=function(f,e){var c;e=S(e,!0);f||(f={forced:!1,units:null});if(this instanceof a)for(c=this.series.length;c--;)this.series[c].update({dataGrouping:f},!1);else this.chart.options.series.forEach(function(c){c.dataGrouping=f},!1);this.ordinal&&(this.ordinal.slope=void 0);e&&this.chart.redraw()};y(a,"postProcessData",a.prototype.applyGrouping);y(l,"update",function(){if(this.dataGroup)return I(24,
|
|
60
60
|
!1,this.series.chart),!1});y(E,"headerFormatter",function(f){var e=this.chart,c=e.time,n=f.labelConfig,p=n.series,g=p.tooltipOptions,v=p.options.dataGrouping,w=g.xDateFormat,d=p.xAxis,b=g[f.isFooter?"footerFormat":"headerFormat"];if(d&&"datetime"===d.options.type&&v&&q(n.key)){var k=p.currentDataGrouping;v=v.dateTimeLabelFormats||M.dateTimeLabelFormats;if(k)if(g=v[k.unitName],1===k.count)w=g[0];else{w=g[1];var h=g[2]}else!w&&v&&d.dateTime&&(w=d.dateTime.getXDateFormat(n.x,g.dateTimeLabelFormats));
|
|
61
|
-
w=c.dateFormat(w,n.key);h&&(w+=c.dateFormat(h,n.key+k.totalRange-1));p.chart.styledMode&&(b=this.styledModeFormat(b));f.text=m(b,{point:C(n.point,{key:w}),series:p},e);f.preventDefault()}});y(D,"destroy",d.destroyGroupedData);y(D,"afterSetOptions",function(f){f=f.options;var e=this.type,c=this.chart.options.plotOptions,n=x.defaultOptions.plotOptions[e].dataGrouping,p=this.useCommonDataGrouping&&M;if(k[e]||p){n||(n=R(M,k[e]));var g=this.chart.rangeSelector;f.dataGrouping=R(p,n,c.series&&c.series.dataGrouping,
|
|
61
|
+
w=c.dateFormat(w,n.key);h&&(w+=c.dateFormat(h,n.key+k.totalRange-1));p.chart.styledMode&&(b=this.styledModeFormat(b));f.text=m(b,{point:C(n.point,{key:w}),series:p},e);f.preventDefault()}});y(D,"destroy",d.destroyGroupedData);y(D,"afterSetOptions",function(f){f=f.options;var e=this.type,c=this.chart.options.plotOptions,n=x.defaultOptions.plotOptions[e].dataGrouping,p=this.useCommonDataGrouping&&M;if(c&&(k[e]||p)){n||(n=R(M,k[e]));var g=this.chart.rangeSelector;f.dataGrouping=R(p,n,c.series&&c.series.dataGrouping,
|
|
62
62
|
c[e].dataGrouping,this.userOptions.dataGrouping,!f.isInternal&&g&&q(g.selected)&&g.buttonOptions[g.selected].dataGrouping)}});y(a,"afterSetScale",function(){this.series.forEach(function(f){f.hasProcessed=!1})});t.dataGrouping=P;"";return P});L(a,"Series/HLC/HLCPoint.js",[a["Core/Series/SeriesRegistry.js"]],function(a){var r=this&&this.__extends||function(){var a=function(t,l){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,l){a.__proto__=l}||function(a,l){for(var x in l)l.hasOwnProperty(x)&&
|
|
63
63
|
(a[x]=l[x])};return a(t,l)};return function(t,l){function D(){this.constructor=t}a(t,l);t.prototype=null===l?Object.create(l):(D.prototype=l.prototype,new D)}}();return function(a){function t(){var l=null!==a&&a.apply(this,arguments)||this;l.close=void 0;l.high=void 0;l.low=void 0;l.options=void 0;l.plotClose=void 0;l.series=void 0;return l}r(t,a);return t}(a.seriesTypes.column.prototype.pointClass)});L(a,"Series/HLC/HLCSeries.js",[a["Series/HLC/HLCPoint.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],
|
|
64
64
|
function(a,r,y){var t=this&&this.__extends||function(){var a=function(b,m){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var h in b)b.hasOwnProperty(h)&&(d[h]=b[h])};return a(b,m)};return function(b,m){function d(){this.constructor=b}a(b,m);b.prototype=null===m?Object.create(m):(d.prototype=m.prototype,new d)}}(),l=r.seriesTypes.column,D=y.extend,E=y.merge;y=function(a){function b(){var b=null!==a&&a.apply(this,arguments)||this;b.data=void 0;
|