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
|
@@ -200,7 +200,9 @@ var NavigationBindings = /** @class */ (function () {
|
|
|
200
200
|
[].forEach.call(bindingsContainer, function (subContainer) {
|
|
201
201
|
navigation.eventsToUnbind.push(addEvent(subContainer, 'click', function (event) {
|
|
202
202
|
var bindings = navigation.getButtonEvents(subContainer, event);
|
|
203
|
-
if (bindings &&
|
|
203
|
+
if (bindings &&
|
|
204
|
+
bindings.button.className
|
|
205
|
+
.indexOf('highcharts-disabled-btn') === -1) {
|
|
204
206
|
navigation.bindingsButtonClick(bindings.button, bindings.events, event);
|
|
205
207
|
}
|
|
206
208
|
}));
|
|
@@ -246,7 +248,7 @@ var NavigationBindings = /** @class */ (function () {
|
|
|
246
248
|
* @param {Highcharts.HTMLDOMElement} [button]
|
|
247
249
|
* Clicked button
|
|
248
250
|
*
|
|
249
|
-
* @param {
|
|
251
|
+
* @param {Object} events
|
|
250
252
|
* Events passed down from bindings (`init`, `start`, `step`, `end`)
|
|
251
253
|
*
|
|
252
254
|
* @param {Highcharts.PointerEventObject} clickEvent
|
|
@@ -354,8 +356,7 @@ var NavigationBindings = /** @class */ (function () {
|
|
|
354
356
|
navigation.stepIndex++;
|
|
355
357
|
if (selectedButton.steps[navigation.stepIndex]) {
|
|
356
358
|
// If we have more steps, bind them one by one:
|
|
357
|
-
navigation.mouseMoveEvent = navigation.nextEvent =
|
|
358
|
-
selectedButton.steps[navigation.stepIndex];
|
|
359
|
+
navigation.mouseMoveEvent = navigation.nextEvent = selectedButton.steps[navigation.stepIndex];
|
|
359
360
|
}
|
|
360
361
|
else {
|
|
361
362
|
fireEvent(navigation, 'deselectButton', { button: navigation.selectedButtonElement });
|
|
@@ -478,10 +479,10 @@ var NavigationBindings = /** @class */ (function () {
|
|
|
478
479
|
* @param {string} key
|
|
479
480
|
* Option name, for example "visible" or "x", "y"
|
|
480
481
|
*
|
|
481
|
-
* @param {
|
|
482
|
+
* @param {Object} parentEditables
|
|
482
483
|
* Editables from NavigationBindings.annotationsEditable
|
|
483
484
|
*
|
|
484
|
-
* @param {
|
|
485
|
+
* @param {Object} parent
|
|
485
486
|
* Where new options will be assigned
|
|
486
487
|
*/
|
|
487
488
|
function traverse(option, key, parentEditables, parent) {
|
|
@@ -522,7 +523,9 @@ var NavigationBindings = /** @class */ (function () {
|
|
|
522
523
|
parent[key] = nextParent;
|
|
523
524
|
}
|
|
524
525
|
objectEach(option, function (nestedOption, nestedKey) {
|
|
525
|
-
traverse(nestedOption, nestedKey, key === 0 ?
|
|
526
|
+
traverse(nestedOption, nestedKey, key === 0 ?
|
|
527
|
+
parentEditables :
|
|
528
|
+
nestedEditables[key], nextParent);
|
|
526
529
|
});
|
|
527
530
|
}
|
|
528
531
|
else {
|
|
@@ -561,14 +564,14 @@ var NavigationBindings = /** @class */ (function () {
|
|
|
561
564
|
*
|
|
562
565
|
* @function Highcharts.NavigationBindings#getClickedClassNames
|
|
563
566
|
*
|
|
564
|
-
* @param {Highcharts.HTMLDOMElement}
|
|
565
|
-
*
|
|
567
|
+
* @param {Highcharts.HTMLDOMElement} container
|
|
568
|
+
* Container that event is bound to.
|
|
566
569
|
*
|
|
567
570
|
* @param {global.Event} event
|
|
568
|
-
*
|
|
571
|
+
* Browser's event.
|
|
569
572
|
*
|
|
570
573
|
* @return {Array<Array<string, Highcharts.HTMLDOMElement>>}
|
|
571
|
-
*
|
|
574
|
+
* Array of class names with corresponding elements
|
|
572
575
|
*/
|
|
573
576
|
NavigationBindings.prototype.getClickedClassNames = function (container, event) {
|
|
574
577
|
var element = event.target, classNames = [], elemClassName;
|
|
@@ -604,7 +607,7 @@ var NavigationBindings = /** @class */ (function () {
|
|
|
604
607
|
* @param {global.Event} event
|
|
605
608
|
* Browser's event.
|
|
606
609
|
*
|
|
607
|
-
* @return {
|
|
610
|
+
* @return {Object}
|
|
608
611
|
* Object with events (init, start, steps, and end)
|
|
609
612
|
*/
|
|
610
613
|
NavigationBindings.prototype.getButtonEvents = function (container, event) {
|
|
@@ -764,10 +767,10 @@ function selectableAnnotation(annotationType) {
|
|
|
764
767
|
if (annotation.options.type === 'measure') {
|
|
765
768
|
// Manually disable crooshars according to
|
|
766
769
|
// stroke width of the shape:
|
|
767
|
-
typeOptions.crosshairY.enabled =
|
|
768
|
-
|
|
769
|
-
typeOptions.crosshairX.enabled =
|
|
770
|
-
|
|
770
|
+
typeOptions.crosshairY.enabled = (typeOptions.crosshairY
|
|
771
|
+
.strokeWidth !== 0);
|
|
772
|
+
typeOptions.crosshairX.enabled = (typeOptions.crosshairX
|
|
773
|
+
.strokeWidth !== 0);
|
|
771
774
|
}
|
|
772
775
|
annotation.update(config);
|
|
773
776
|
}
|
|
@@ -921,7 +924,8 @@ setOptions({
|
|
|
921
924
|
},
|
|
922
925
|
r: 5
|
|
923
926
|
}]
|
|
924
|
-
}, navigation.annotationsOptions, navigation.bindings.circleAnnotation
|
|
927
|
+
}, navigation.annotationsOptions, navigation.bindings.circleAnnotation
|
|
928
|
+
.annotationsOptions));
|
|
925
929
|
},
|
|
926
930
|
/** @ignore-option */
|
|
927
931
|
steps: [
|
|
@@ -969,7 +973,8 @@ setOptions({
|
|
|
969
973
|
ry: 1
|
|
970
974
|
}
|
|
971
975
|
]
|
|
972
|
-
}, navigation.annotationsOptions, navigation.bindings.ellipseAnnotation
|
|
976
|
+
}, navigation.annotationsOptions, navigation.bindings.ellipseAnnotation
|
|
977
|
+
.annotationOptions));
|
|
973
978
|
},
|
|
974
979
|
steps: [
|
|
975
980
|
function (e, annotation) {
|
|
@@ -1089,7 +1094,7 @@ setOptions({
|
|
|
1089
1094
|
* from a different server.
|
|
1090
1095
|
*
|
|
1091
1096
|
* @type {string}
|
|
1092
|
-
* @default https://code.highcharts.com/9.3.
|
|
1097
|
+
* @default https://code.highcharts.com/9.3.2/gfx/stock-icons/
|
|
1093
1098
|
* @since 7.1.3
|
|
1094
1099
|
* @apioption navigation.iconsURL
|
|
1095
1100
|
*/
|
|
@@ -1170,28 +1175,28 @@ addEvent(Chart, 'render', function () {
|
|
|
1170
1175
|
if (chart.navigationBindings &&
|
|
1171
1176
|
chart.navigationBindings.container &&
|
|
1172
1177
|
chart.navigationBindings.container[0]) {
|
|
1173
|
-
// Get the HTML element coresponding to the
|
|
1174
|
-
//
|
|
1175
|
-
var buttonNode = chart.navigationBindings.container[0]
|
|
1178
|
+
// Get the HTML element coresponding to the className taken
|
|
1179
|
+
// from StockToolsBindings.
|
|
1180
|
+
var buttonNode = chart.navigationBindings.container[0]
|
|
1181
|
+
.querySelectorAll('.' + key);
|
|
1176
1182
|
if (buttonNode) {
|
|
1177
1183
|
for (var i = 0; i < buttonNode.length; i++) {
|
|
1178
|
-
var button = buttonNode[i];
|
|
1184
|
+
var button = buttonNode[i], cls = button.className;
|
|
1179
1185
|
if (value.noDataState === 'normal') {
|
|
1180
|
-
// If button has noDataState: 'normal',
|
|
1181
|
-
//
|
|
1182
|
-
|
|
1183
|
-
if (button.className.indexOf(disabledClassName) !== -1) {
|
|
1186
|
+
// If button has noDataState: 'normal', and has
|
|
1187
|
+
// disabledClassName, remove this className.
|
|
1188
|
+
if (cls.indexOf(disabledClassName) !== -1) {
|
|
1184
1189
|
button.classList.remove(disabledClassName);
|
|
1185
1190
|
}
|
|
1186
1191
|
}
|
|
1187
1192
|
else if (!buttonsEnabled_1) {
|
|
1188
|
-
if (
|
|
1193
|
+
if (cls.indexOf(disabledClassName) === -1) {
|
|
1189
1194
|
button.className += ' ' + disabledClassName;
|
|
1190
1195
|
}
|
|
1191
1196
|
}
|
|
1192
1197
|
else {
|
|
1193
1198
|
// Enable all buttons by deleting the className.
|
|
1194
|
-
if (
|
|
1199
|
+
if (cls.indexOf(disabledClassName) !== -1) {
|
|
1195
1200
|
button.classList.remove(disabledClassName);
|
|
1196
1201
|
}
|
|
1197
1202
|
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
10
10
|
*
|
|
11
11
|
* */
|
|
12
|
+
import AST from '../../Core/Renderer/HTML/AST.js';
|
|
12
13
|
import H from '../../Core/Globals.js';
|
|
13
14
|
var doc = H.doc, isFirefox = H.isFirefox;
|
|
14
15
|
import NavigationBindings from './NavigationBindings.js';
|
|
@@ -209,12 +210,10 @@ H.Popup.prototype = {
|
|
|
209
210
|
* @private
|
|
210
211
|
*
|
|
211
212
|
* @param {Highcharts.HTMLDOMElement} parentDiv
|
|
212
|
-
*
|
|
213
|
+
* The container where inputs and selections are created.
|
|
213
214
|
*
|
|
214
215
|
* @param {string} type
|
|
215
|
-
*
|
|
216
|
-
*
|
|
217
|
-
* @return {Highcharts.PopupFieldsObject}
|
|
216
|
+
* Type of the popup bookmark (add|edit|remove).
|
|
218
217
|
*/
|
|
219
218
|
getFields: function (parentDiv, type) {
|
|
220
219
|
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];
|
|
@@ -241,13 +240,15 @@ H.Popup.prototype = {
|
|
|
241
240
|
selectList.forEach(function (select) {
|
|
242
241
|
var id = select.id;
|
|
243
242
|
// Get inputs only for the parameters, not for series and volume.
|
|
244
|
-
if (id !== PREFIX + 'select-series' &&
|
|
243
|
+
if (id !== PREFIX + 'select-series' &&
|
|
244
|
+
id !== PREFIX + 'select-volume') {
|
|
245
245
|
var parameter = id.split('highcharts-select-')[1];
|
|
246
246
|
fieldsOutput.fields[parameter] = select.value;
|
|
247
247
|
}
|
|
248
248
|
});
|
|
249
249
|
if (volumeTo) {
|
|
250
|
-
fieldsOutput.fields['params.volumeSeriesID'] = volumeTo
|
|
250
|
+
fieldsOutput.fields['params.volumeSeriesID'] = volumeTo
|
|
251
|
+
.getAttribute('value') || '';
|
|
251
252
|
}
|
|
252
253
|
return fieldsOutput;
|
|
253
254
|
},
|
|
@@ -260,7 +261,7 @@ H.Popup.prototype = {
|
|
|
260
261
|
.querySelectorAll('.' + PREFIX + 'popup-close')[0];
|
|
261
262
|
this.formType = void 0;
|
|
262
263
|
// reset content
|
|
263
|
-
popupDiv.innerHTML =
|
|
264
|
+
popupDiv.innerHTML = AST.emptyHTML;
|
|
264
265
|
// reset toolbar styles if exists
|
|
265
266
|
if (popupDiv.className.indexOf(toolbarClass) >= 0) {
|
|
266
267
|
popupDiv.classList.remove(toolbarClass);
|
|
@@ -385,7 +386,7 @@ H.Popup.prototype = {
|
|
|
385
386
|
lhsCol.appendChild(doc.createTextNode(lang[options.langKey] || options.langKey || ''));
|
|
386
387
|
// left column
|
|
387
388
|
lhsCol = createElement(DIV, {
|
|
388
|
-
className: PREFIX + 'popup-lhs-col ' + PREFIX + 'popup-lhs-full'
|
|
389
|
+
className: (PREFIX + 'popup-lhs-col ' + PREFIX + 'popup-lhs-full')
|
|
389
390
|
}, void 0, popupDiv);
|
|
390
391
|
bottomRow = createElement(DIV, {
|
|
391
392
|
className: PREFIX + 'popup-bottom-row'
|
|
@@ -536,7 +537,8 @@ H.Popup.prototype = {
|
|
|
536
537
|
var regex = new RegExp(validFilter, 'i'), alias = indicatorAliases &&
|
|
537
538
|
indicatorAliases[indicatorType] &&
|
|
538
539
|
indicatorAliases[indicatorType].join(' ') || '';
|
|
539
|
-
if (indicatorFullName.match(regex) ||
|
|
540
|
+
if (indicatorFullName.match(regex) ||
|
|
541
|
+
alias.match(regex)) {
|
|
540
542
|
filteredSeries = {
|
|
541
543
|
indicatorFullName: indicatorFullName,
|
|
542
544
|
indicatorType: indicatorType,
|
|
@@ -639,8 +641,7 @@ H.Popup.prototype = {
|
|
|
639
641
|
indicatorList = createElement(UL, {
|
|
640
642
|
className: PREFIX + 'indicator-list'
|
|
641
643
|
}, void 0, lhsCol);
|
|
642
|
-
rhsColWrapper = rhsCol
|
|
643
|
-
.querySelectorAll('.' + PREFIX + 'popup-rhs-col-wrapper')[0];
|
|
644
|
+
rhsColWrapper = rhsCol.querySelectorAll('.' + PREFIX + 'popup-rhs-col-wrapper')[0];
|
|
644
645
|
filteredSeriesArray.forEach(function (seriesSet) {
|
|
645
646
|
var indicatorFullName = seriesSet.indicatorFullName, indicatorType = seriesSet.indicatorType, series = seriesSet.series;
|
|
646
647
|
item = createElement(LI, {
|
|
@@ -649,7 +650,8 @@ H.Popup.prototype = {
|
|
|
649
650
|
item.appendChild(doc.createTextNode(indicatorFullName));
|
|
650
651
|
['click', 'touchstart'].forEach(function (eventName) {
|
|
651
652
|
addEvent(item, eventName, function () {
|
|
652
|
-
var button = rhsColWrapper.parentNode
|
|
653
|
+
var button = rhsColWrapper.parentNode
|
|
654
|
+
.children[1];
|
|
653
655
|
addFormFields.call(popup, chart, series, indicatorType, rhsColWrapper);
|
|
654
656
|
if (button) {
|
|
655
657
|
button.style.display = 'block';
|
|
@@ -670,8 +672,9 @@ H.Popup.prototype = {
|
|
|
670
672
|
indicatorList.childNodes[0].click();
|
|
671
673
|
}
|
|
672
674
|
else if (!isEdit) {
|
|
673
|
-
rhsColWrapper.parentNode.children[0]
|
|
674
|
-
rhsColWrapper.parentNode.children[1]
|
|
675
|
+
AST.setElementHTML(rhsColWrapper.parentNode.children[0], lang.noFilterMatch || '');
|
|
676
|
+
rhsColWrapper.parentNode.children[1]
|
|
677
|
+
.style.display = 'none';
|
|
675
678
|
}
|
|
676
679
|
},
|
|
677
680
|
/**
|
|
@@ -732,15 +735,13 @@ H.Popup.prototype = {
|
|
|
732
735
|
* @private
|
|
733
736
|
*
|
|
734
737
|
* @param {string} indicatorType
|
|
735
|
-
*
|
|
738
|
+
* Type of the indicator i.e. sma, ema...
|
|
736
739
|
*
|
|
737
740
|
* @param {string} [optionName]
|
|
738
|
-
*
|
|
741
|
+
* Name of the option into which selection is being added.
|
|
739
742
|
*
|
|
740
743
|
* @param {HTMLDOMElement} [parentDiv]
|
|
741
|
-
*
|
|
742
|
-
*
|
|
743
|
-
* @return {HTMLSelectElement}
|
|
744
|
+
* HTML parent element.
|
|
744
745
|
*/
|
|
745
746
|
addSelection: function (indicatorType, optionName, parentDiv) {
|
|
746
747
|
var optionParamList = optionName.split('.'), labelText = optionParamList[optionParamList.length - 1];
|
|
@@ -788,9 +789,13 @@ H.Popup.prototype = {
|
|
|
788
789
|
// List all series which have id - mandatory for indicator.
|
|
789
790
|
chart.series.forEach(function (series) {
|
|
790
791
|
var seriesOptions = series.options, seriesName = seriesOptions.name ||
|
|
791
|
-
seriesOptions.params ?
|
|
792
|
+
seriesOptions.params ?
|
|
793
|
+
series.name :
|
|
794
|
+
seriesOptions.id || '';
|
|
792
795
|
if (seriesOptions.id !== PREFIX + 'navigator-series' &&
|
|
793
|
-
seriesOptions.id !== (currentSeries &&
|
|
796
|
+
seriesOptions.id !== (currentSeries &&
|
|
797
|
+
currentSeries.options &&
|
|
798
|
+
currentSeries.options.id)) {
|
|
794
799
|
if (!defined(selectedOption) &&
|
|
795
800
|
optionName === 'volume' &&
|
|
796
801
|
series.type === 'column') {
|
|
@@ -822,14 +827,14 @@ H.Popup.prototype = {
|
|
|
822
827
|
* @private
|
|
823
828
|
*
|
|
824
829
|
* @param {Highcharts.Series} series
|
|
825
|
-
*
|
|
826
|
-
*
|
|
830
|
+
* Series which name is needed(EDITmode - defaultOptions.series,
|
|
831
|
+
* ADDmode - indicator series).
|
|
827
832
|
*
|
|
828
|
-
* @param {string} [
|
|
829
|
-
*
|
|
833
|
+
* @param {string} [indicatorType]
|
|
834
|
+
* Type of the indicator i.e. sma, ema...
|
|
830
835
|
*
|
|
831
|
-
* @return Highcharts.Dictionary<string>
|
|
832
|
-
*
|
|
836
|
+
* @return {Highcharts.Dictionary<string>}
|
|
837
|
+
* Full name and series type.
|
|
833
838
|
*/
|
|
834
839
|
getNameType: function (series, indicatorType) {
|
|
835
840
|
var options = series.options, seriesTypes = H.seriesTypes;
|
|
@@ -902,7 +907,7 @@ H.Popup.prototype = {
|
|
|
902
907
|
addFormFields: function (chart, series, seriesType, rhsColWrapper) {
|
|
903
908
|
var fields = series.params || series.options.params, getNameType = this.indicators.getNameType;
|
|
904
909
|
// reset current content
|
|
905
|
-
rhsColWrapper.innerHTML =
|
|
910
|
+
rhsColWrapper.innerHTML = AST.emptyHTML;
|
|
906
911
|
// create title (indicator name in the right column)
|
|
907
912
|
createElement(H3, {
|
|
908
913
|
className: PREFIX + 'indicator-title'
|
|
@@ -949,8 +954,9 @@ H.Popup.prototype = {
|
|
|
949
954
|
if (defined(value) && // skip if field is unnecessary, #15362
|
|
950
955
|
parentFullName) {
|
|
951
956
|
if (isObject(value)) {
|
|
952
|
-
|
|
953
|
-
|
|
957
|
+
// (15733) 'Periods' has an arrayed value. Label must be
|
|
958
|
+
// created here.
|
|
959
|
+
addInput.call(popup, parentFullName, type, parentDiv, {});
|
|
954
960
|
addParamInputs.call(popup, chart, parentFullName, value, type, parentDiv);
|
|
955
961
|
}
|
|
956
962
|
// If the option is listed in dropdown enum,
|
|
@@ -1045,7 +1051,9 @@ H.Popup.prototype = {
|
|
|
1045
1051
|
addContentItem: function () {
|
|
1046
1052
|
var popupDiv = this.popup.container;
|
|
1047
1053
|
return createElement(DIV, {
|
|
1048
|
-
|
|
1054
|
+
// #12100
|
|
1055
|
+
className: PREFIX + 'tab-item-content ' +
|
|
1056
|
+
PREFIX + 'no-mousewheel'
|
|
1049
1057
|
}, void 0, popupDiv);
|
|
1050
1058
|
},
|
|
1051
1059
|
/**
|
|
@@ -1103,7 +1111,7 @@ addEvent(NavigationBindings, 'showPopup', function (config) {
|
|
|
1103
1111
|
this.popup = new H.Popup(this.chart.container, (this.chart.options.navigation.iconsURL ||
|
|
1104
1112
|
(this.chart.options.stockTools &&
|
|
1105
1113
|
this.chart.options.stockTools.gui.iconsURL) ||
|
|
1106
|
-
'https://code.highcharts.com/9.3.
|
|
1114
|
+
'https://code.highcharts.com/9.3.2/gfx/stock-icons/'), this.chart);
|
|
1107
1115
|
}
|
|
1108
1116
|
this.popup.showForm(config.formType, this.chart, config.options, config.onSubmit);
|
|
1109
1117
|
});
|
|
@@ -161,8 +161,10 @@ CrookedLine.prototype.defaultOptions = merge(Annotation.prototype.defaultOptions
|
|
|
161
161
|
var translation = this.mouseMoveToTranslation(e);
|
|
162
162
|
target.translatePoint(translation.x, translation.y, this.index);
|
|
163
163
|
// Update options:
|
|
164
|
-
target.options.typeOptions
|
|
165
|
-
|
|
164
|
+
target.options.typeOptions
|
|
165
|
+
.points[this.index].x = target.points[this.index].x;
|
|
166
|
+
target.options.typeOptions
|
|
167
|
+
.points[this.index].y = target.points[this.index].y;
|
|
166
168
|
target.redraw(false);
|
|
167
169
|
}
|
|
168
170
|
}
|
|
@@ -63,7 +63,7 @@ ElliottWave.prototype.defaultOptions = merge(CrookedLine.prototype.defaultOption
|
|
|
63
63
|
* @apioption annotations.elliottWave.typeOptions.points.label
|
|
64
64
|
*/
|
|
65
65
|
/**
|
|
66
|
-
* @ignore-
|
|
66
|
+
* @ignore-option
|
|
67
67
|
*/
|
|
68
68
|
labels: ['(0)', '(A)', '(B)', '(C)', '(D)', '(E)'],
|
|
69
69
|
line: {
|
|
@@ -62,7 +62,6 @@ var Measure = /** @class */ (function (_super) {
|
|
|
62
62
|
/**
|
|
63
63
|
* Get measure points configuration objects.
|
|
64
64
|
* @private
|
|
65
|
-
* @return {Array<Highcharts.AnnotationMockPointOptionsObject>}
|
|
66
65
|
*/
|
|
67
66
|
Measure.prototype.pointsOptions = function () {
|
|
68
67
|
return this.options.points;
|
|
@@ -70,7 +69,6 @@ var Measure = /** @class */ (function (_super) {
|
|
|
70
69
|
/**
|
|
71
70
|
* Get points configuration objects for shapes.
|
|
72
71
|
* @private
|
|
73
|
-
* @return {Array<Highcharts.AnnotationMockPointOptionsObject>}
|
|
74
72
|
*/
|
|
75
73
|
Measure.prototype.shapePointsOptions = function () {
|
|
76
74
|
var options = this.options.typeOptions, xAxis = options.xAxis, yAxis = options.yAxis;
|
|
@@ -135,8 +133,8 @@ var Measure = /** @class */ (function (_super) {
|
|
|
135
133
|
return;
|
|
136
134
|
}
|
|
137
135
|
if (this.labels.length > 0) {
|
|
138
|
-
this.labels[0].text = (formatter && formatter.call(this)) ||
|
|
139
|
-
Measure.calculations.defaultFormatter.call(this);
|
|
136
|
+
this.labels[0].text = ((formatter && formatter.call(this)) ||
|
|
137
|
+
Measure.calculations.defaultFormatter.call(this));
|
|
140
138
|
}
|
|
141
139
|
else {
|
|
142
140
|
this.initLabel(extend({
|
|
@@ -255,10 +253,14 @@ var Measure = /** @class */ (function (_super) {
|
|
|
255
253
|
* Translate start or end ("left" or "right") side of the measure.
|
|
256
254
|
* Update start points (startXMin, startXMax, startYMin, startYMax)
|
|
257
255
|
* @private
|
|
258
|
-
* @param {number} dx
|
|
259
|
-
*
|
|
260
|
-
* @param {number}
|
|
261
|
-
*
|
|
256
|
+
* @param {number} dx
|
|
257
|
+
* the amount of x translation
|
|
258
|
+
* @param {number} dy
|
|
259
|
+
* the amount of y translation
|
|
260
|
+
* @param {number} cpIndex
|
|
261
|
+
* index of control point
|
|
262
|
+
* @param {Highcharts.AnnotationDraggableValue} selectType
|
|
263
|
+
* x / y / xy
|
|
262
264
|
*/
|
|
263
265
|
Measure.prototype.resize = function (dx, dy, cpIndex, selectType) {
|
|
264
266
|
// background shape
|
|
@@ -297,8 +299,10 @@ var Measure = /** @class */ (function (_super) {
|
|
|
297
299
|
* Redraw event which render elements and update start points if needed.
|
|
298
300
|
* @private
|
|
299
301
|
* @param {boolean} animation
|
|
300
|
-
* @param {boolean} [resize]
|
|
301
|
-
*
|
|
302
|
+
* @param {boolean} [resize]
|
|
303
|
+
* flag if resized
|
|
304
|
+
* @param {boolean} [setStartPoints]
|
|
305
|
+
* update position of start points
|
|
302
306
|
*/
|
|
303
307
|
Measure.prototype.redraw = function (animation, resize, setStartPoints) {
|
|
304
308
|
this.linkPoints();
|
|
@@ -725,7 +729,7 @@ Measure.prototype.defaultOptions = merge(Annotation.prototype.defaultOptions,
|
|
|
725
729
|
*
|
|
726
730
|
* </table>
|
|
727
731
|
*
|
|
728
|
-
* @type
|
|
732
|
+
* @type {Function}
|
|
729
733
|
*
|
|
730
734
|
*/
|
|
731
735
|
formatter: void 0
|
|
@@ -45,7 +45,8 @@ var Pitchfork = /** @class */ (function (_super) {
|
|
|
45
45
|
};
|
|
46
46
|
};
|
|
47
47
|
Pitchfork.findEdgePoint = function (point, firstAnglePoint, secondAnglePoint) {
|
|
48
|
-
var angle = Math.atan2(secondAnglePoint.plotY -
|
|
48
|
+
var angle = Math.atan2((secondAnglePoint.plotY -
|
|
49
|
+
firstAnglePoint.plotY), secondAnglePoint.plotX - firstAnglePoint.plotX), distance = 1e7;
|
|
49
50
|
return {
|
|
50
51
|
x: point.plotX + distance * Math.cos(angle),
|
|
51
52
|
y: point.plotY + distance * Math.sin(angle)
|
|
@@ -103,7 +103,9 @@ var TimeCycles = /** @class */ (function (_super) {
|
|
|
103
103
|
TimeCycles.prototype.addControlPoints = function () {
|
|
104
104
|
var _this = this;
|
|
105
105
|
var options = this.options, typeOptions = options.typeOptions;
|
|
106
|
-
options.controlPointOptions.style.cursor = this.chart.inverted ?
|
|
106
|
+
options.controlPointOptions.style.cursor = this.chart.inverted ?
|
|
107
|
+
'ns-resize' :
|
|
108
|
+
'ew-resize';
|
|
107
109
|
typeOptions.controlPointOptions.forEach(function (option) {
|
|
108
110
|
var controlPointsOptions = merge(options.controlPointOptions, option);
|
|
109
111
|
var controlPoint = new ControlPoint(_this.chart, _this, controlPointsOptions, 0);
|
|
@@ -119,11 +121,13 @@ var TimeCycles = /** @class */ (function (_super) {
|
|
|
119
121
|
if (!xValue1 || !xValue2) {
|
|
120
122
|
return;
|
|
121
123
|
}
|
|
122
|
-
var y = isNumber(yValue) ?
|
|
124
|
+
var y = isNumber(yValue) ?
|
|
125
|
+
yAxis.toPixels(yValue) :
|
|
126
|
+
yAxis.top + yAxis.height, x = isNumber(xValue1) ? xAxis.toPixels(xValue1) : xAxis.left, x2 = isNumber(xValue2) ? xAxis.toPixels(xValue2) : xAxis.left + 30, xAxisLength = xAxis.len, pixelInterval = Math.round(Math.max(Math.abs(x2 - x), 2)),
|
|
123
127
|
// There can be 2 not full circles on the chart, so add 2.
|
|
124
128
|
numberOfCircles = Math.floor(xAxisLength / pixelInterval) + 2,
|
|
125
|
-
// Calculate where the annotation should start drawing
|
|
126
|
-
//
|
|
129
|
+
// Calculate where the annotation should start drawing relative to
|
|
130
|
+
// first point.
|
|
127
131
|
pixelShift = (Math.floor((x - xAxis.left) / pixelInterval) + 1) * pixelInterval;
|
|
128
132
|
this.startX = x - pixelShift;
|
|
129
133
|
this.y = y;
|
|
@@ -95,9 +95,12 @@ var Tunnel = /** @class */ (function (_super) {
|
|
|
95
95
|
/**
|
|
96
96
|
* Translate start or end ("left" or "right") side of the tunnel.
|
|
97
97
|
* @private
|
|
98
|
-
* @param {number} dx
|
|
99
|
-
*
|
|
100
|
-
* @param {
|
|
98
|
+
* @param {number} dx
|
|
99
|
+
* the amount of x translation
|
|
100
|
+
* @param {number} dy
|
|
101
|
+
* the amount of y translation
|
|
102
|
+
* @param {boolean} [end]
|
|
103
|
+
* whether to translate start or end side
|
|
101
104
|
*/
|
|
102
105
|
Tunnel.prototype.translateSide = function (dx, dy, end) {
|
|
103
106
|
var topIndex = Number(end), bottomIndex = topIndex === 0 ? 3 : 2;
|
|
@@ -107,12 +110,14 @@ var Tunnel = /** @class */ (function (_super) {
|
|
|
107
110
|
/**
|
|
108
111
|
* Translate height of the tunnel.
|
|
109
112
|
* @private
|
|
110
|
-
* @param {number} dh
|
|
113
|
+
* @param {number} dh
|
|
114
|
+
* the amount of height translation
|
|
111
115
|
*/
|
|
112
116
|
Tunnel.prototype.translateHeight = function (dh) {
|
|
113
117
|
this.translatePoint(0, dh, 2);
|
|
114
118
|
this.translatePoint(0, dh, 3);
|
|
115
|
-
this.options.typeOptions.height = this.points[3].y -
|
|
119
|
+
this.options.typeOptions.height = this.points[3].y -
|
|
120
|
+
this.points[0].y;
|
|
116
121
|
};
|
|
117
122
|
return Tunnel;
|
|
118
123
|
}(CrookedLine));
|
|
@@ -49,10 +49,6 @@ Chart.prototype.isChartSeriesBoosting = function () {
|
|
|
49
49
|
*
|
|
50
50
|
* @private
|
|
51
51
|
* @function Highcharts.Chart#getBoostClipRect
|
|
52
|
-
*
|
|
53
|
-
* @param {Highcharts.Chart} target
|
|
54
|
-
*
|
|
55
|
-
* @return {Highcharts.BBoxObject}
|
|
56
52
|
*/
|
|
57
53
|
Chart.prototype.getBoostClipRect = function (target) {
|
|
58
54
|
var clipBox = {
|
|
@@ -65,7 +61,9 @@ Chart.prototype.getBoostClipRect = function (target) {
|
|
|
65
61
|
var verticalAxes = this.inverted ? this.xAxis : this.yAxis; // #14444
|
|
66
62
|
if (verticalAxes.length <= 1) {
|
|
67
63
|
clipBox.y = Math.min(verticalAxes[0].pos, clipBox.y);
|
|
68
|
-
clipBox.height = verticalAxes[0].pos -
|
|
64
|
+
clipBox.height = (verticalAxes[0].pos -
|
|
65
|
+
this.plotTop +
|
|
66
|
+
verticalAxes[0].len);
|
|
69
67
|
}
|
|
70
68
|
else {
|
|
71
69
|
clipBox.height = this.plotHeight;
|
|
@@ -332,10 +330,6 @@ Series.prototype.exitBoost = function () {
|
|
|
332
330
|
/**
|
|
333
331
|
* @private
|
|
334
332
|
* @function Highcharts.Series#hasExtremes
|
|
335
|
-
*
|
|
336
|
-
* @param {boolean} checkX
|
|
337
|
-
*
|
|
338
|
-
* @return {boolean}
|
|
339
333
|
*/
|
|
340
334
|
Series.prototype.hasExtremes = function (checkX) {
|
|
341
335
|
var options = this.options, data = options.data, xAxis = this.xAxis && this.xAxis.options, yAxis = this.yAxis && this.yAxis.options, colorAxis = this.colorAxis && this.colorAxis.options;
|
|
@@ -194,8 +194,6 @@ function eachAsync(arr, fn, finalFunc, chunkSize, i, noTimeout) {
|
|
|
194
194
|
*
|
|
195
195
|
* @private
|
|
196
196
|
* @function hasWebGLSupport
|
|
197
|
-
*
|
|
198
|
-
* @return {boolean}
|
|
199
197
|
*/
|
|
200
198
|
function hasWebGLSupport() {
|
|
201
199
|
var i = 0, canvas, contexts = ['webgl', 'experimental-webgl', 'moz-webgl', 'webkit-3d'], context = false;
|
|
@@ -221,10 +219,6 @@ function hasWebGLSupport() {
|
|
|
221
219
|
*
|
|
222
220
|
* @private
|
|
223
221
|
* @function pointDrawHandler
|
|
224
|
-
*
|
|
225
|
-
* @param {Function} proceed
|
|
226
|
-
*
|
|
227
|
-
* @return {*}
|
|
228
222
|
*/
|
|
229
223
|
function pointDrawHandler(proceed) {
|
|
230
224
|
var enabled = true, renderer;
|
|
@@ -29,10 +29,6 @@ var isNumber = U.isNumber, isObject = U.isObject, merge = U.merge, objectEach =
|
|
|
29
29
|
*
|
|
30
30
|
* @private
|
|
31
31
|
* @function GLRenderer
|
|
32
|
-
*
|
|
33
|
-
* @param {Function} postRenderCallback
|
|
34
|
-
*
|
|
35
|
-
* @return {*}
|
|
36
32
|
*/
|
|
37
33
|
function GLRenderer(postRenderCallback) {
|
|
38
34
|
// // Shader
|
|
@@ -149,8 +145,10 @@ function GLRenderer(postRenderCallback) {
|
|
|
149
145
|
/**
|
|
150
146
|
* Returns an orthographic perspective matrix
|
|
151
147
|
* @private
|
|
152
|
-
* @param {number} width
|
|
153
|
-
*
|
|
148
|
+
* @param {number} width
|
|
149
|
+
* the width of the viewport in pixels
|
|
150
|
+
* @param {number} height
|
|
151
|
+
* the height of the viewport in pixels
|
|
154
152
|
*/
|
|
155
153
|
function orthoMatrix(width, height) {
|
|
156
154
|
var near = 0, far = 1;
|
|
@@ -171,7 +169,8 @@ function GLRenderer(postRenderCallback) {
|
|
|
171
169
|
/**
|
|
172
170
|
* Get the WebGL context
|
|
173
171
|
* @private
|
|
174
|
-
* @
|
|
172
|
+
* @return {WebGLContext}
|
|
173
|
+
* the context
|
|
175
174
|
*/
|
|
176
175
|
function getGL() {
|
|
177
176
|
return gl;
|
|
@@ -530,8 +529,10 @@ function GLRenderer(postRenderCallback) {
|
|
|
530
529
|
zone, i) {
|
|
531
530
|
var last = zones[i - 1];
|
|
532
531
|
if (zoneAxis === 'x') {
|
|
533
|
-
if (typeof zone.value !== 'undefined' &&
|
|
534
|
-
|
|
532
|
+
if (typeof zone.value !== 'undefined' &&
|
|
533
|
+
x <= zone.value) {
|
|
534
|
+
if (zoneColors[i] &&
|
|
535
|
+
(!last || x >= last.value)) {
|
|
535
536
|
zoneColor_1 = zoneColors[i];
|
|
536
537
|
}
|
|
537
538
|
return true;
|
|
@@ -539,7 +540,8 @@ function GLRenderer(postRenderCallback) {
|
|
|
539
540
|
return false;
|
|
540
541
|
}
|
|
541
542
|
if (typeof zone.value !== 'undefined' && y <= zone.value) {
|
|
542
|
-
if (zoneColors[i] &&
|
|
543
|
+
if (zoneColors[i] &&
|
|
544
|
+
(!last || y >= last.value)) {
|
|
543
545
|
zoneColor_1 = zoneColors[i];
|
|
544
546
|
}
|
|
545
547
|
return true;
|
|
@@ -1128,7 +1130,8 @@ function GLRenderer(postRenderCallback) {
|
|
|
1128
1130
|
/**
|
|
1129
1131
|
* Check if we have a valid OGL context
|
|
1130
1132
|
* @private
|
|
1131
|
-
* @
|
|
1133
|
+
* @return {boolean}
|
|
1134
|
+
* true if the context is valid
|
|
1132
1135
|
*/
|
|
1133
1136
|
function valid() {
|
|
1134
1137
|
return gl !== false;
|
|
@@ -1136,7 +1139,8 @@ function GLRenderer(postRenderCallback) {
|
|
|
1136
1139
|
/**
|
|
1137
1140
|
* Check if the renderer has been initialized
|
|
1138
1141
|
* @private
|
|
1139
|
-
* @
|
|
1142
|
+
* @return {boolean}
|
|
1143
|
+
* true if it has, false if not
|
|
1140
1144
|
*/
|
|
1141
1145
|
function inited() {
|
|
1142
1146
|
return isInited;
|