highcharts 8.2.0 → 8.2.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/es-modules/Accessibility/Accessibility.js +3 -2
- package/es-modules/Accessibility/AccessibilityComponent.js +7 -8
- package/es-modules/Accessibility/Components/ContainerComponent.js +6 -7
- package/es-modules/Accessibility/Components/InfoRegionsComponent.js +0 -1
- package/es-modules/Accessibility/Components/RangeSelectorComponent.js +4 -4
- package/es-modules/Accessibility/Components/SeriesComponent/ForcedMarkers.js +4 -4
- package/es-modules/Accessibility/Components/SeriesComponent/NewDataAnnouncer.js +3 -2
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +4 -4
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js +8 -6
- package/es-modules/Accessibility/Components/ZoomComponent.js +7 -6
- package/es-modules/Accessibility/KeyboardNavigation.js +7 -3
- package/es-modules/Accessibility/Options/Options.js +1 -2
- package/es-modules/Accessibility/Utils/ChartUtilities.js +4 -4
- package/es-modules/Accessibility/Utils/DOMElementProvider.js +3 -3
- package/es-modules/Accessibility/Utils/HTMLUtilities.js +2 -3
- package/es-modules/Core/Animation/AnimationUtilities.js +193 -0
- package/es-modules/Core/Animation/Fx.js +378 -0
- package/es-modules/Core/Axis/Axis.js +12 -6
- package/es-modules/Core/Axis/BrokenAxis.js +4 -6
- package/es-modules/Core/Axis/ColorAxis.js +11 -10
- package/es-modules/Core/Axis/GridAxis.js +113 -57
- package/es-modules/Core/Axis/OrdinalAxis.js +4 -5
- package/es-modules/Core/Axis/PlotLineOrBand.js +11 -4
- package/es-modules/Core/Axis/StackingAxis.js +3 -1
- package/es-modules/Core/Axis/TreeGridAxis.js +52 -7
- package/es-modules/Core/Chart/Chart.js +13 -8
- package/es-modules/Core/Chart/Chart3D.js +2 -1
- package/es-modules/Core/Chart/GanttChart.js +5 -9
- package/es-modules/Core/Chart/StockChart.js +6 -7
- package/es-modules/Core/Color/Color.js +419 -0
- package/es-modules/Core/Color/ColorType.js +9 -0
- package/es-modules/Core/Dynamics.js +54 -23
- package/es-modules/Core/Globals.js +1 -1
- package/es-modules/Core/Interaction.js +9 -6
- package/es-modules/Core/Legend.js +3 -1
- package/es-modules/Core/Navigator.js +8 -4
- package/es-modules/Core/Options.js +13 -11
- package/es-modules/Core/Pointer.js +2 -2
- package/es-modules/Core/Renderer/DOMElementType.js +9 -0
- package/es-modules/Core/Renderer/HTML/HTMLElement.js +220 -0
- package/es-modules/Core/Renderer/HTML/{HTML.js → HTMLRenderer.js} +8 -202
- package/es-modules/Core/Renderer/SVG/SVGElement.js +14 -8
- package/es-modules/Core/Renderer/SVG/SVGLabel.js +0 -1
- package/es-modules/Core/Renderer/SVG/SVGRenderer.js +2 -3
- package/es-modules/Core/Renderer/SVG/SVGRenderer3D.js +5 -3
- package/es-modules/Core/Series/BaseSeries.js +157 -0
- package/es-modules/Core/Series/CartesianSeries.js +5553 -0
- package/es-modules/Core/Series/DataLabels.js +11 -9
- package/es-modules/Core/Series/Point.js +5 -3
- package/es-modules/Core/Series/Series.js +138 -5528
- package/es-modules/Core/Series/Series3D.js +1 -1
- package/es-modules/Core/Tooltip.js +2 -1
- package/es-modules/Core/Utilities.js +0 -582
- package/es-modules/Extensions/Annotations/Annotations.js +4 -2
- package/es-modules/Extensions/Annotations/Mixins/ControllableMixin.js +3 -3
- package/es-modules/Extensions/Annotations/MockPoint.js +3 -3
- package/es-modules/Extensions/Annotations/NavigationBindings.js +5 -4
- package/es-modules/Extensions/Annotations/Popup.js +1 -2
- package/es-modules/Extensions/Annotations/Types/Measure.js +0 -1
- package/es-modules/Extensions/Boost/Boost.js +3 -3
- package/es-modules/Extensions/Boost/BoostAttach.js +5 -4
- package/es-modules/Extensions/Boost/BoostInit.js +1 -1
- package/es-modules/Extensions/Boost/BoostOverrides.js +1 -1
- package/es-modules/Extensions/Boost/BoostUtils.js +1 -1
- package/es-modules/Extensions/Boost/NamedColors.js +1 -1
- package/es-modules/Extensions/Boost/WGLRenderer.js +4 -4
- package/es-modules/Extensions/Boost/WGLShader.js +1 -2
- package/es-modules/Extensions/BoostCanvas.js +9 -6
- package/es-modules/Extensions/CurrentDateIndication.js +3 -7
- package/es-modules/Extensions/Data.js +7 -9
- package/es-modules/Extensions/DataGrouping.js +3 -2
- package/es-modules/Extensions/Debugger.js +3 -2
- package/es-modules/Extensions/DownloadURL.js +5 -3
- package/es-modules/Extensions/DragPanes.js +1 -1
- package/es-modules/Extensions/DraggablePoints.js +6 -5
- package/es-modules/Extensions/Drilldown.js +24 -10
- package/es-modules/Extensions/ExportData.js +1 -2
- package/es-modules/Extensions/Exporting.js +9 -2
- package/es-modules/Extensions/MarkerClusters.js +8 -5
- package/es-modules/Extensions/NoDataToDisplay.js +13 -13
- package/es-modules/Extensions/OfflineExporting.js +14 -14
- package/es-modules/Extensions/{Oldie.js → Oldie/Oldie.js} +15 -12
- package/es-modules/{Core/Axis → Extensions/Oldie}/VMLAxis3D.js +1 -1
- package/es-modules/Extensions/Oldie/VMLRenderer3D.js +46 -0
- package/es-modules/Extensions/OverlappingDataLabels.js +4 -0
- package/es-modules/Extensions/Pane.js +1 -1
- package/es-modules/Extensions/ParallelCoordinates.js +1 -1
- package/es-modules/Extensions/PatternFill.js +10 -7
- package/es-modules/Extensions/Polar.js +4 -2
- package/es-modules/Extensions/ScrollablePlotArea.js +3 -1
- package/es-modules/Extensions/SeriesLabel.js +4 -3
- package/es-modules/{modules/sonification/chartSonify.js → Extensions/Sonification/ChartSonify.js} +1 -1
- package/es-modules/{modules/sonification → Extensions/Sonification}/Earcon.js +0 -0
- package/es-modules/{modules/sonification → Extensions/Sonification}/Instrument.js +7 -2
- package/es-modules/{modules/sonification/instrumentDefinitions.js → Extensions/Sonification/InstrumentDefinitions.js} +1 -1
- package/es-modules/{modules/sonification/musicalFrequencies.js → Extensions/Sonification/MusicalFrequencies.js} +0 -0
- package/es-modules/{modules/sonification/options.js → Extensions/Sonification/Options.js} +0 -0
- package/es-modules/{modules/sonification/pointSonify.js → Extensions/Sonification/PointSonify.js} +1 -1
- package/es-modules/{modules/sonification/sonification.js → Extensions/Sonification/Sonification.js} +10 -9
- package/es-modules/{modules/sonification → Extensions/Sonification}/Timeline.js +1 -1
- package/es-modules/{modules/sonification/utilities.js → Extensions/Sonification/Utilities.js} +1 -1
- package/es-modules/Extensions/Stacking.js +1 -1
- package/es-modules/Extensions/StaticScale.js +3 -3
- package/es-modules/Extensions/Themes/Avocado.js +3 -4
- package/es-modules/Extensions/Themes/DarkUnica.js +5 -7
- package/es-modules/Extensions/Themes/Gray.js +3 -4
- package/es-modules/Extensions/Themes/HighContrastDark.js +3 -4
- package/es-modules/Extensions/Themes/Sunset.js +3 -4
- package/es-modules/Gantt/Pathfinder.js +6 -0
- package/es-modules/Maps/Map.js +9 -5
- package/es-modules/Maps/MapNavigation.js +0 -1
- package/es-modules/{mixins → Mixins}/CenteredSeries.js +0 -0
- package/es-modules/{mixins → Mixins}/ColorMapSeries.js +7 -3
- package/es-modules/{mixins → Mixins}/ColorSeries.js +7 -3
- package/es-modules/{mixins → Mixins}/DerivedSeries.js +1 -1
- package/es-modules/{mixins → Mixins}/DrawPoint.js +0 -0
- package/es-modules/{mixins → Mixins}/Geometry.js +0 -0
- package/es-modules/{mixins → Mixins}/GeometryCircles.js +0 -0
- package/es-modules/{mixins → Mixins}/IndicatorRequired.js +0 -0
- package/es-modules/{mixins → Mixins}/LegendSymbol.js +0 -0
- package/es-modules/{mixins → Mixins}/MultipleLines.js +0 -0
- package/es-modules/{mixins → Mixins}/Navigation.js +0 -0
- package/es-modules/{mixins → Mixins}/NelderMead.js +0 -0
- package/es-modules/{mixins → Mixins}/Nodes.js +1 -1
- package/es-modules/{mixins → Mixins}/OnSeries.js +1 -1
- package/es-modules/{mixins → Mixins}/Polygon.js +0 -0
- package/es-modules/{mixins → Mixins}/ReduceArray.js +0 -0
- package/es-modules/{mixins → Mixins}/TreeSeries.js +1 -1
- package/es-modules/Series/AreaRangeSeries.js +57 -21
- package/es-modules/Series/AreaSeries.js +38 -6
- package/es-modules/Series/AreaSplineRangeSeries.js +44 -7
- package/es-modules/Series/AreaSplineSeries.js +43 -6
- package/es-modules/Series/BarSeries.js +2 -5
- package/es-modules/Series/BellcurveSeries.js +45 -5
- package/es-modules/Series/BoxPlotSeries.js +7 -6
- package/es-modules/Series/Bubble/BubbleLegend.js +3 -3
- package/es-modules/Series/Bubble/BubbleSeries.js +13 -11
- package/es-modules/Series/BulletSeries.js +5 -5
- package/es-modules/Series/CandlestickSeries.js +7 -6
- package/es-modules/Series/Column3DSeries.js +77 -23
- package/es-modules/Series/ColumnPyramidSeries.js +5 -6
- package/es-modules/Series/ColumnRangeSeries.js +17 -16
- package/es-modules/Series/ColumnSeries.js +18 -14
- package/es-modules/Series/CylinderSeries.js +8 -11
- package/es-modules/Series/DependencyWheelSeries.js +11 -9
- package/es-modules/Series/DotplotSeries.js +3 -11
- package/es-modules/Series/DumbbellSeries.js +11 -7
- package/es-modules/Series/ErrorBarSeries.js +3 -5
- package/es-modules/Series/FlagsSeries.js +13 -9
- package/es-modules/Series/Funnel3DSeries.js +8 -12
- package/es-modules/Series/FunnelSeries.js +6 -6
- package/es-modules/Series/GanttSeries.js +11 -12
- package/es-modules/Series/GaugeSeries.js +6 -5
- package/es-modules/Series/HeatmapSeries.js +9 -7
- package/es-modules/Series/HistogramSeries.js +6 -5
- package/es-modules/Series/ItemSeries.js +5 -5
- package/es-modules/Series/LineSeries.js +13 -0
- package/es-modules/Series/LollipopSeries.js +11 -7
- package/es-modules/Series/MapBubbleSeries.js +4 -5
- package/es-modules/Series/MapLineSeries.js +4 -6
- package/es-modules/Series/MapPointSeries.js +6 -5
- package/es-modules/Series/MapSeries.js +15 -12
- package/es-modules/Series/Networkgraph/DraggableNodes.js +8 -6
- package/es-modules/Series/Networkgraph/Layouts.js +3 -1
- package/es-modules/Series/Networkgraph/Networkgraph.js +8 -7
- package/es-modules/Series/OHLCSeries.js +4 -6
- package/es-modules/Series/OrganizationSeries.js +7 -4
- package/es-modules/Series/PackedBubbleSeries.js +10 -10
- package/es-modules/Series/ParetoSeries.js +6 -5
- package/es-modules/Series/Pie3DSeries.js +3 -2
- package/es-modules/Series/PieSeries.js +36 -10
- package/es-modules/Series/PolygonSeries.js +6 -6
- package/es-modules/Series/Pyramid3DSeries.js +3 -5
- package/es-modules/Series/SankeySeries.js +13 -12
- package/es-modules/Series/Scatter3DSeries.js +4 -6
- package/es-modules/Series/ScatterSeries.js +10 -5
- package/es-modules/Series/SolidGaugeSeries.js +7 -7
- package/es-modules/Series/SplineSeries.js +5 -3
- package/es-modules/Series/StreamgraphSeries.js +41 -5
- package/es-modules/Series/SunburstSeries.js +15 -11
- package/es-modules/Series/TilemapSeries.js +8 -6
- package/es-modules/Series/TimelineSeries.js +6 -5
- package/es-modules/Series/TreemapSeries.js +36 -50
- package/es-modules/Series/VariablePieSeries.js +9 -7
- package/es-modules/Series/VariwideSeries.js +7 -6
- package/es-modules/Series/VectorSeries.js +5 -3
- package/es-modules/Series/VennSeries.js +20 -17
- package/es-modules/Series/WaterfallSeries.js +6 -4
- package/es-modules/Series/WindbarbSeries.js +9 -6
- package/es-modules/Series/WordcloudSeries.js +11 -9
- package/es-modules/Series/XRangeSeries.js +8 -7
- package/es-modules/Stock/Indicators/ABIndicator.js +7 -7
- package/es-modules/Stock/Indicators/ADIndicator.js +4 -3
- package/es-modules/Stock/Indicators/AOIndicator.js +5 -4
- package/es-modules/Stock/Indicators/APOIndicator.js +7 -7
- package/es-modules/Stock/Indicators/ATRIndicator.js +5 -5
- package/es-modules/Stock/Indicators/AroonIndicator.js +6 -5
- package/es-modules/Stock/Indicators/AroonOscillatorIndicator.js +5 -5
- package/es-modules/Stock/Indicators/BBIndicator.js +7 -7
- package/es-modules/Stock/Indicators/CCIIndicator.js +4 -3
- package/es-modules/Stock/Indicators/CMFIndicator.js +3 -4
- package/es-modules/Stock/Indicators/ChaikinIndicator.js +9 -8
- package/es-modules/Stock/Indicators/DEMAIndicator.js +7 -7
- package/es-modules/Stock/Indicators/DPOIndicator.js +4 -3
- package/es-modules/Stock/Indicators/EMAIndicator.js +3 -3
- package/es-modules/Stock/Indicators/IKHIndicator.js +22 -19
- package/es-modules/Stock/Indicators/KeltnerChannelsIndicator.js +10 -7
- package/es-modules/Stock/Indicators/MACDIndicator.js +7 -4
- package/es-modules/Stock/Indicators/MFIIndicator.js +4 -3
- package/es-modules/Stock/Indicators/MomentumIndicator.js +4 -3
- package/es-modules/Stock/Indicators/NATRIndicator.js +4 -6
- package/es-modules/Stock/Indicators/PCIndicator.js +8 -7
- package/es-modules/Stock/Indicators/PPOIndicator.js +7 -7
- package/es-modules/Stock/Indicators/PSARIndicator.js +3 -4
- package/es-modules/Stock/Indicators/PivotPointsIndicator.js +5 -5
- package/es-modules/Stock/Indicators/PriceEnvelopesIndicator.js +5 -5
- package/es-modules/Stock/Indicators/ROCIndicator.js +4 -3
- package/es-modules/Stock/Indicators/RSIIndicator.js +4 -3
- package/es-modules/Stock/Indicators/RegressionIndicators.js +7 -6
- package/es-modules/Stock/Indicators/{Indicators.js → SMAIndicator.js} +9 -6
- package/es-modules/Stock/Indicators/SlowStochasticIndicator.js +6 -8
- package/es-modules/Stock/Indicators/StochasticIndicator.js +8 -8
- package/es-modules/Stock/Indicators/SupertrendIndicator.js +7 -6
- package/es-modules/Stock/Indicators/TEMAIndicator.js +7 -7
- package/es-modules/Stock/Indicators/TRIXIndicator.js +7 -7
- package/es-modules/Stock/Indicators/TrendLineIndicator.js +4 -3
- package/es-modules/Stock/Indicators/VBPIndicator.js +7 -4
- package/es-modules/Stock/Indicators/VWAPIndicator.js +4 -3
- package/es-modules/Stock/Indicators/WMAIndicator.js +4 -3
- package/es-modules/Stock/Indicators/WilliamsRIndicator.js +6 -5
- package/es-modules/Stock/Indicators/ZigzagIndicator.js +5 -7
- package/es-modules/Stock/StockToolsBindings.js +16 -2
- package/es-modules/Stock/StockToolsGui.js +9 -9
- package/es-modules/masters/highcharts-3d.src.js +1 -2
- 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 +3 -2
- 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/dema.src.js +1 -1
- package/es-modules/masters/indicators/dpo.src.js +1 -1
- package/es-modules/masters/indicators/ema.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 +2 -2
- package/es-modules/masters/indicators/indicators.src.js +2 -2
- package/es-modules/masters/indicators/keltner-channels.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/pivot-points.src.js +1 -1
- package/es-modules/masters/indicators/ppo.src.js +1 -1
- package/es-modules/masters/indicators/price-channel.src.js +1 -1
- package/es-modules/masters/indicators/price-envelopes.src.js +1 -1
- package/es-modules/masters/indicators/psar.src.js +1 -1
- package/es-modules/masters/indicators/regressions.src.js +1 -1
- package/es-modules/masters/indicators/roc.src.js +1 -1
- package/es-modules/masters/indicators/rsi.src.js +1 -1
- package/es-modules/masters/indicators/slow-stochastic.src.js +1 -1
- package/es-modules/masters/indicators/stochastic.src.js +1 -1
- package/es-modules/masters/indicators/supertrend.src.js +1 -1
- package/es-modules/masters/indicators/tema.src.js +1 -1
- package/es-modules/masters/indicators/trendline.src.js +1 -1
- package/es-modules/masters/indicators/trix.src.js +1 -1
- package/es-modules/masters/indicators/volume-by-price.src.js +1 -1
- package/es-modules/masters/indicators/vwap.src.js +1 -1
- package/es-modules/masters/indicators/williams-r.src.js +1 -1
- package/es-modules/masters/indicators/wma.src.js +1 -1
- package/es-modules/masters/indicators/zigzag.src.js +1 -1
- package/es-modules/masters/modules/accessibility.src.js +1 -1
- package/es-modules/masters/modules/annotations-advanced.src.js +1 -1
- package/es-modules/masters/modules/annotations.src.js +1 -1
- package/es-modules/masters/modules/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/histogram-bellcurve.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 +2 -2
- 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 +2 -2
- 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/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 +86 -89
- package/highcharts-3d.js.map +1 -1
- package/highcharts-3d.src.js +88 -149
- package/highcharts-gantt.js +729 -717
- package/highcharts-gantt.js.map +1 -1
- package/highcharts-gantt.src.js +5570 -5094
- package/highcharts-more.js +164 -163
- package/highcharts-more.js.map +1 -1
- package/highcharts-more.src.js +182 -118
- package/highcharts.d.ts +89 -159
- package/highcharts.js +537 -530
- package/highcharts.js.map +1 -1
- package/highcharts.src.d.ts +89 -159
- package/highcharts.src.js +5341 -4976
- package/highmaps.js +635 -627
- package/highmaps.js.map +1 -1
- package/highmaps.src.js +5907 -5530
- package/highstock.js +696 -689
- package/highstock.js.map +1 -1
- package/highstock.src.js +5384 -5026
- package/indicators/acceleration-bands.js +8 -8
- package/indicators/acceleration-bands.js.map +1 -1
- package/indicators/acceleration-bands.src.js +7 -7
- package/indicators/accumulation-distribution.js +4 -4
- package/indicators/accumulation-distribution.js.map +1 -1
- package/indicators/accumulation-distribution.src.js +5 -5
- package/indicators/ao.js +5 -5
- package/indicators/ao.js.map +1 -1
- package/indicators/ao.src.js +6 -6
- package/indicators/apo.js +5 -5
- package/indicators/apo.js.map +1 -1
- package/indicators/apo.src.js +7 -7
- package/indicators/aroon-oscillator.js +8 -8
- package/indicators/aroon-oscillator.js.map +1 -1
- package/indicators/aroon-oscillator.src.js +6 -6
- package/indicators/aroon.js +7 -7
- package/indicators/aroon.js.map +1 -1
- package/indicators/aroon.src.js +6 -6
- package/indicators/atr.js +4 -4
- package/indicators/atr.js.map +1 -1
- package/indicators/atr.src.js +6 -14
- package/indicators/bollinger-bands.js +8 -8
- package/indicators/bollinger-bands.js.map +1 -1
- package/indicators/bollinger-bands.src.js +7 -7
- package/indicators/cci.js +4 -4
- package/indicators/cci.js.map +1 -1
- package/indicators/cci.src.js +5 -5
- package/indicators/chaikin.js +6 -6
- package/indicators/chaikin.js.map +1 -1
- package/indicators/chaikin.src.js +75 -74
- package/indicators/cmf.js +2 -2
- package/indicators/cmf.js.map +1 -1
- package/indicators/cmf.src.js +4 -4
- package/indicators/dema.js +5 -5
- package/indicators/dema.js.map +1 -1
- package/indicators/dema.src.js +7 -7
- package/indicators/dpo.js +4 -4
- package/indicators/dpo.js.map +1 -1
- package/indicators/dpo.src.js +5 -5
- package/indicators/ema.js +4 -4
- package/indicators/ema.js.map +1 -1
- package/indicators/ema.src.js +4 -5
- package/indicators/ichimoku-kinko-hyo.js +13 -13
- package/indicators/ichimoku-kinko-hyo.js.map +1 -1
- package/indicators/ichimoku-kinko-hyo.src.js +21 -20
- package/indicators/indicators-all.js +118 -118
- package/indicators/indicators-all.js.map +1 -1
- package/indicators/indicators-all.src.js +227 -230
- package/indicators/indicators.js +9 -9
- package/indicators/indicators.js.map +1 -1
- package/indicators/indicators.src.js +7 -7
- package/indicators/keltner-channels.js +8 -8
- package/indicators/keltner-channels.js.map +1 -1
- package/indicators/keltner-channels.src.js +12 -9
- package/indicators/macd.js +10 -10
- package/indicators/macd.js.map +1 -1
- package/indicators/macd.src.js +8 -7
- package/indicators/mfi.js +4 -4
- package/indicators/mfi.js.map +1 -1
- package/indicators/mfi.src.js +5 -5
- package/indicators/momentum.js +4 -4
- package/indicators/momentum.js.map +1 -1
- package/indicators/momentum.src.js +5 -5
- package/indicators/natr.js +3 -3
- package/indicators/natr.js.map +1 -1
- package/indicators/natr.src.js +5 -5
- package/indicators/pivot-points.js +8 -8
- package/indicators/pivot-points.js.map +1 -1
- package/indicators/pivot-points.src.js +6 -6
- package/indicators/ppo.js +5 -5
- package/indicators/ppo.js.map +1 -1
- package/indicators/ppo.src.js +7 -7
- package/indicators/price-channel.js +8 -8
- package/indicators/price-channel.js.map +1 -1
- package/indicators/price-channel.src.js +65 -65
- package/indicators/price-envelopes.js +7 -7
- package/indicators/price-envelopes.js.map +1 -1
- package/indicators/price-envelopes.src.js +6 -6
- package/indicators/psar.js +2 -2
- package/indicators/psar.js.map +1 -1
- package/indicators/psar.src.js +4 -4
- package/indicators/regressions.js +6 -6
- package/indicators/regressions.js.map +1 -1
- package/indicators/regressions.src.js +8 -8
- package/indicators/roc.js +3 -3
- package/indicators/roc.js.map +1 -1
- package/indicators/roc.src.js +5 -5
- package/indicators/rsi.js +4 -4
- package/indicators/rsi.js.map +1 -1
- package/indicators/rsi.src.js +5 -5
- package/indicators/slow-stochastic.js +5 -5
- package/indicators/slow-stochastic.js.map +1 -1
- package/indicators/slow-stochastic.src.js +6 -6
- package/indicators/stochastic.js +9 -9
- package/indicators/stochastic.js.map +1 -1
- package/indicators/stochastic.src.js +66 -66
- package/indicators/supertrend.js +9 -9
- package/indicators/supertrend.js.map +1 -1
- package/indicators/supertrend.src.js +9 -7
- package/indicators/tema.js +6 -6
- package/indicators/tema.js.map +1 -1
- package/indicators/tema.src.js +7 -7
- package/indicators/trendline.js +3 -3
- package/indicators/trendline.js.map +1 -1
- package/indicators/trendline.src.js +5 -5
- package/indicators/trix.js +4 -4
- package/indicators/trix.js.map +1 -1
- package/indicators/trix.src.js +7 -7
- package/indicators/volume-by-price.js +13 -13
- package/indicators/volume-by-price.js.map +1 -1
- package/indicators/volume-by-price.src.js +7 -8
- package/indicators/vwap.js +4 -4
- package/indicators/vwap.js.map +1 -1
- package/indicators/vwap.src.js +5 -5
- package/indicators/williams-r.js +4 -4
- package/indicators/williams-r.js.map +1 -1
- package/indicators/williams-r.src.js +6 -6
- package/indicators/wma.js +4 -4
- package/indicators/wma.js.map +1 -1
- package/indicators/wma.src.js +5 -5
- package/indicators/zigzag.js +4 -4
- package/indicators/zigzag.js.map +1 -1
- package/indicators/zigzag.src.js +6 -7
- package/modules/accessibility.js +148 -147
- package/modules/accessibility.js.map +1 -1
- package/modules/accessibility.src.js +104 -96
- package/modules/annotations-advanced.js +158 -158
- package/modules/annotations-advanced.js.map +1 -1
- package/modules/annotations-advanced.src.js +15 -14
- package/modules/annotations.js +105 -105
- package/modules/annotations.js.map +1 -1
- package/modules/annotations.src.js +15 -14
- package/modules/arrow-symbols.js +1 -1
- package/modules/arrow-symbols.src.js +1 -1
- package/modules/boost-canvas.js +15 -15
- package/modules/boost-canvas.js.map +1 -1
- package/modules/boost-canvas.src.js +16 -16
- package/modules/boost.d.ts +4 -0
- package/modules/boost.js +77 -64
- package/modules/boost.js.map +1 -1
- package/modules/boost.src.d.ts +4 -0
- package/modules/boost.src.js +561 -14
- package/modules/broken-axis.js +12 -12
- package/modules/broken-axis.js.map +1 -1
- package/modules/broken-axis.src.js +4 -5
- package/modules/bullet.js +6 -6
- package/modules/bullet.js.map +1 -1
- package/modules/bullet.src.js +5 -6
- package/modules/coloraxis.js +22 -21
- package/modules/coloraxis.js.map +1 -1
- package/modules/coloraxis.src.js +46 -41
- package/modules/current-date-indicator.js +4 -4
- package/modules/current-date-indicator.js.map +1 -1
- package/modules/current-date-indicator.src.js +4 -6
- package/modules/cylinder.js +8 -8
- package/modules/cylinder.js.map +1 -1
- package/modules/cylinder.src.js +18 -21
- package/modules/data.js +32 -32
- package/modules/data.js.map +1 -1
- package/modules/data.src.js +7 -11
- package/modules/datagrouping.js +17 -17
- package/modules/datagrouping.js.map +1 -1
- package/modules/datagrouping.src.js +3 -4
- package/modules/debugger.js +4 -4
- package/modules/debugger.js.map +1 -1
- package/modules/debugger.src.js +4 -4
- package/modules/dependency-wheel.js +8 -8
- package/modules/dependency-wheel.js.map +1 -1
- package/modules/dependency-wheel.src.js +9 -9
- package/modules/dotplot.js +5 -5
- package/modules/dotplot.js.map +1 -1
- package/modules/dotplot.src.js +4 -12
- package/modules/drag-panes.js +7 -7
- package/modules/drag-panes.js.map +1 -1
- package/modules/drag-panes.src.js +2 -2
- package/modules/draggable-points.js +33 -33
- package/modules/draggable-points.js.map +1 -1
- package/modules/draggable-points.src.js +6 -6
- package/modules/drilldown.js +23 -22
- package/modules/drilldown.js.map +1 -1
- package/modules/drilldown.src.js +21 -11
- package/modules/dumbbell.js +24 -20
- package/modules/dumbbell.js.map +1 -1
- package/modules/dumbbell.src.js +396 -136
- package/modules/export-data.js +21 -21
- package/modules/export-data.js.map +1 -1
- package/modules/export-data.src.js +8 -7
- package/modules/exporting.js +32 -32
- package/modules/exporting.js.map +1 -1
- package/modules/exporting.src.js +10 -3
- package/modules/full-screen.js +1 -1
- package/modules/full-screen.src.js +1 -1
- package/modules/funnel.js +9 -9
- package/modules/funnel.js.map +1 -1
- package/modules/funnel.src.js +6 -8
- package/modules/funnel3d.js +17 -17
- package/modules/funnel3d.js.map +1 -1
- package/modules/funnel3d.src.js +9 -12
- package/modules/gantt.js +194 -189
- package/modules/gantt.js.map +1 -1
- package/modules/gantt.src.js +232 -121
- package/modules/grid-axis.js +22 -19
- package/modules/grid-axis.js.map +1 -1
- package/modules/grid-axis.src.js +130 -64
- package/modules/heatmap.js +33 -33
- package/modules/heatmap.js.map +1 -1
- package/modules/heatmap.src.js +93 -84
- package/modules/histogram-bellcurve.js +10 -10
- package/modules/histogram-bellcurve.js.map +1 -1
- package/modules/histogram-bellcurve.src.js +49 -11
- package/modules/item-series.js +9 -9
- package/modules/item-series.js.map +1 -1
- package/modules/item-series.src.js +5 -6
- package/modules/lollipop.d.ts +20 -1
- package/modules/lollipop.js +26 -4
- package/modules/lollipop.js.map +1 -1
- package/modules/lollipop.src.d.ts +20 -1
- package/modules/lollipop.src.js +1431 -9
- package/modules/map.d.ts +1 -1
- package/modules/map.js +99 -99
- package/modules/map.js.map +1 -1
- package/modules/map.src.d.ts +1 -1
- package/modules/map.src.js +1421 -1409
- package/modules/marker-clusters.js +35 -35
- package/modules/marker-clusters.js.map +1 -1
- package/modules/marker-clusters.src.js +5 -5
- package/modules/networkgraph.js +47 -46
- package/modules/networkgraph.js.map +1 -1
- package/modules/networkgraph.src.js +18 -17
- package/modules/no-data-to-display.js +4 -4
- package/modules/no-data-to-display.js.map +1 -1
- package/modules/no-data-to-display.src.js +15 -12
- package/modules/offline-exporting.js +15 -15
- package/modules/offline-exporting.js.map +1 -1
- package/modules/offline-exporting.src.js +20 -18
- package/modules/oldie-polyfills.js +1 -1
- package/modules/oldie-polyfills.src.js +1 -1
- package/modules/oldie.js +52 -26
- package/modules/oldie.js.map +1 -1
- package/modules/oldie.src.js +1401 -22
- package/modules/organization.js +11 -11
- package/modules/organization.js.map +1 -1
- package/modules/organization.src.js +6 -5
- 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.src.js +1 -1
- package/modules/pareto.js +5 -5
- package/modules/pareto.js.map +1 -1
- package/modules/pareto.src.js +5 -6
- package/modules/pathfinder.js +20 -20
- package/modules/pathfinder.js.map +1 -1
- package/modules/pathfinder.src.js +7 -1
- package/modules/pattern-fill.js +13 -13
- package/modules/pattern-fill.js.map +1 -1
- package/modules/pattern-fill.src.js +10 -10
- package/modules/price-indicator.js +1 -1
- package/modules/price-indicator.src.js +1 -1
- package/modules/pyramid3d.js +3 -3
- package/modules/pyramid3d.js.map +1 -1
- package/modules/pyramid3d.src.js +3 -4
- package/modules/sankey.js +25 -25
- package/modules/sankey.js.map +1 -1
- package/modules/sankey.src.js +15 -15
- package/modules/series-label.js +17 -17
- package/modules/series-label.js.map +1 -1
- package/modules/series-label.src.js +3 -3
- package/modules/solid-gauge.js +8 -8
- package/modules/solid-gauge.js.map +1 -1
- package/modules/solid-gauge.src.js +4 -5
- package/modules/sonification.js +46 -46
- package/modules/sonification.js.map +1 -1
- package/modules/sonification.src.js +21 -16
- package/modules/static-scale.js +4 -4
- package/modules/static-scale.js.map +1 -1
- package/modules/static-scale.src.js +3 -4
- package/modules/stock-tools.js +142 -141
- package/modules/stock-tools.js.map +1 -1
- package/modules/stock-tools.src.js +40 -21
- package/modules/stock.js +161 -161
- package/modules/stock.js.map +1 -1
- package/modules/stock.src.js +41 -48
- package/modules/streamgraph.js +2 -2
- package/modules/streamgraph.js.map +1 -1
- package/modules/streamgraph.src.js +41 -4
- package/modules/sunburst.js +51 -50
- package/modules/sunburst.js.map +1 -1
- package/modules/sunburst.src.js +134 -65
- package/modules/tilemap.js +14 -14
- package/modules/tilemap.js.map +1 -1
- package/modules/tilemap.src.js +9 -9
- package/modules/timeline.js +14 -14
- package/modules/timeline.js.map +1 -1
- package/modules/timeline.src.js +7 -8
- package/modules/treegrid.js +57 -52
- package/modules/treegrid.js.map +1 -1
- package/modules/treegrid.src.js +191 -77
- package/modules/treemap.js +35 -34
- package/modules/treemap.js.map +1 -1
- package/modules/treemap.src.js +205 -138
- package/modules/variable-pie.js +8 -8
- package/modules/variable-pie.js.map +1 -1
- package/modules/variable-pie.src.js +10 -9
- package/modules/variwide.js +8 -8
- package/modules/variwide.js.map +1 -1
- package/modules/variwide.src.js +6 -7
- package/modules/vector.js +6 -6
- package/modules/vector.js.map +1 -1
- package/modules/vector.src.js +6 -7
- package/modules/venn.js +26 -26
- package/modules/venn.js.map +1 -1
- package/modules/venn.src.js +23 -23
- package/modules/windbarb.js +11 -11
- package/modules/windbarb.js.map +1 -1
- package/modules/windbarb.src.js +8 -9
- package/modules/wordcloud.js +19 -19
- package/modules/wordcloud.js.map +1 -1
- package/modules/wordcloud.src.js +14 -14
- package/modules/xrange.js +12 -12
- package/modules/xrange.js.map +1 -1
- package/modules/xrange.src.js +8 -9
- package/package.json +1 -1
- package/themes/avocado.js +1 -1
- package/themes/avocado.js.map +1 -1
- package/themes/avocado.src.js +4 -4
- 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 +6 -7
- package/themes/gray.js +1 -1
- package/themes/gray.js.map +1 -1
- package/themes/gray.src.js +4 -4
- package/themes/grid-light.js +1 -1
- package/themes/grid-light.src.js +1 -1
- package/themes/grid.js +1 -1
- package/themes/grid.src.js +1 -1
- package/themes/high-contrast-dark.js +1 -1
- package/themes/high-contrast-dark.js.map +1 -1
- package/themes/high-contrast-dark.src.js +4 -4
- 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.js.map +1 -1
- package/themes/sunset.src.js +4 -4
- package/es-modules/Core/Renderer/VML/VMLRenderer3D.js +0 -37
package/bower.json
CHANGED
|
@@ -12,13 +12,14 @@
|
|
|
12
12
|
'use strict';
|
|
13
13
|
import ChartUtilities from './Utils/ChartUtilities.js';
|
|
14
14
|
import H from '../Core/Globals.js';
|
|
15
|
+
var doc = H.doc;
|
|
15
16
|
import KeyboardNavigationHandler from './KeyboardNavigationHandler.js';
|
|
17
|
+
import CartesianSeries from '../Core/Series/CartesianSeries.js';
|
|
16
18
|
import O from '../Core/Options.js';
|
|
17
19
|
var defaultOptions = O.defaultOptions;
|
|
18
20
|
import Point from '../Core/Series/Point.js';
|
|
19
21
|
import U from '../Core/Utilities.js';
|
|
20
22
|
var addEvent = U.addEvent, extend = U.extend, fireEvent = U.fireEvent, merge = U.merge;
|
|
21
|
-
var doc = H.win.document;
|
|
22
23
|
import AccessibilityComponent from './AccessibilityComponent.js';
|
|
23
24
|
import KeyboardNavigation from './KeyboardNavigation.js';
|
|
24
25
|
import LegendComponent from './Components/LegendComponent.js';
|
|
@@ -258,7 +259,7 @@ addEvent(Point, 'update', function () {
|
|
|
258
259
|
});
|
|
259
260
|
});
|
|
260
261
|
['update', 'updatedData', 'remove'].forEach(function (event) {
|
|
261
|
-
addEvent(
|
|
262
|
+
addEvent(CartesianSeries, event, function () {
|
|
262
263
|
if (this.chart.accessibility) {
|
|
263
264
|
this.chart.a11yDirty = true;
|
|
264
265
|
}
|
|
@@ -9,17 +9,16 @@
|
|
|
9
9
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
10
10
|
*
|
|
11
11
|
* */
|
|
12
|
-
'use strict';
|
|
13
|
-
import H from '../Core/Globals.js';
|
|
14
|
-
var win = H.win, doc = win.document;
|
|
15
|
-
import U from '../Core/Utilities.js';
|
|
16
|
-
var extend = U.extend, fireEvent = U.fireEvent, merge = U.merge;
|
|
17
|
-
import HTMLUtilities from './Utils/HTMLUtilities.js';
|
|
18
|
-
var removeElement = HTMLUtilities.removeElement, getFakeMouseEvent = HTMLUtilities.getFakeMouseEvent;
|
|
19
12
|
import ChartUtilities from './Utils/ChartUtilities.js';
|
|
20
13
|
var unhideChartElementFromAT = ChartUtilities.unhideChartElementFromAT;
|
|
21
|
-
import EventProvider from './Utils/EventProvider.js';
|
|
22
14
|
import DOMElementProvider from './Utils/DOMElementProvider.js';
|
|
15
|
+
import EventProvider from './Utils/EventProvider.js';
|
|
16
|
+
import H from '../Core/Globals.js';
|
|
17
|
+
var doc = H.doc, win = H.win;
|
|
18
|
+
import HTMLUtilities from './Utils/HTMLUtilities.js';
|
|
19
|
+
var removeElement = HTMLUtilities.removeElement, getFakeMouseEvent = HTMLUtilities.getFakeMouseEvent;
|
|
20
|
+
import U from '../Core/Utilities.js';
|
|
21
|
+
var extend = U.extend, fireEvent = U.fireEvent, merge = U.merge;
|
|
23
22
|
/* eslint-disable valid-jsdoc */
|
|
24
23
|
/** @lends Highcharts.AccessibilityComponent */
|
|
25
24
|
var functionsToOverrideByDerivedClasses = {
|
|
@@ -9,16 +9,15 @@
|
|
|
9
9
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
10
10
|
*
|
|
11
11
|
* */
|
|
12
|
-
|
|
12
|
+
import AccessibilityComponent from '../AccessibilityComponent.js';
|
|
13
|
+
import ChartUtilities from '../Utils/ChartUtilities.js';
|
|
14
|
+
var unhideChartElementFromAT = ChartUtilities.unhideChartElementFromAT, getChartTitle = ChartUtilities.getChartTitle;
|
|
13
15
|
import H from '../../Core/Globals.js';
|
|
14
|
-
var doc = H.
|
|
15
|
-
import U from '../../Core/Utilities.js';
|
|
16
|
-
var extend = U.extend;
|
|
16
|
+
var doc = H.doc;
|
|
17
17
|
import HTMLUtilities from '../Utils/HTMLUtilities.js';
|
|
18
18
|
var stripHTMLTags = HTMLUtilities.stripHTMLTagsFromString;
|
|
19
|
-
import
|
|
20
|
-
var
|
|
21
|
-
import AccessibilityComponent from '../AccessibilityComponent.js';
|
|
19
|
+
import U from '../../Core/Utilities.js';
|
|
20
|
+
var extend = U.extend;
|
|
22
21
|
/* eslint-disable valid-jsdoc */
|
|
23
22
|
/**
|
|
24
23
|
* The ContainerComponent class
|
|
@@ -10,15 +10,15 @@
|
|
|
10
10
|
*
|
|
11
11
|
* */
|
|
12
12
|
'use strict';
|
|
13
|
-
import H from '../../Core/Globals.js';
|
|
14
|
-
import U from '../../Core/Utilities.js';
|
|
15
|
-
var extend = U.extend;
|
|
16
13
|
import AccessibilityComponent from '../AccessibilityComponent.js';
|
|
17
|
-
import KeyboardNavigationHandler from '../KeyboardNavigationHandler.js';
|
|
18
14
|
import ChartUtilities from '../Utils/ChartUtilities.js';
|
|
19
15
|
var unhideChartElementFromAT = ChartUtilities.unhideChartElementFromAT;
|
|
16
|
+
import H from '../../Core/Globals.js';
|
|
20
17
|
import HTMLUtilities from '../Utils/HTMLUtilities.js';
|
|
21
18
|
var setElAttrs = HTMLUtilities.setElAttrs;
|
|
19
|
+
import KeyboardNavigationHandler from '../KeyboardNavigationHandler.js';
|
|
20
|
+
import U from '../../Core/Utilities.js';
|
|
21
|
+
var extend = U.extend;
|
|
22
22
|
/* eslint-disable no-invalid-this, valid-jsdoc */
|
|
23
23
|
/**
|
|
24
24
|
* @private
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*
|
|
11
11
|
* */
|
|
12
12
|
'use strict';
|
|
13
|
-
import
|
|
13
|
+
import CartesianSeries from '../../../Core/Series/CartesianSeries.js';
|
|
14
14
|
import U from '../../../Core/Utilities.js';
|
|
15
15
|
var addEvent = U.addEvent, merge = U.merge;
|
|
16
16
|
/* eslint-disable no-invalid-this, valid-jsdoc */
|
|
@@ -121,7 +121,7 @@ function addForceMarkersEvents() {
|
|
|
121
121
|
* Keep track of forcing markers.
|
|
122
122
|
* @private
|
|
123
123
|
*/
|
|
124
|
-
addEvent(
|
|
124
|
+
addEvent(CartesianSeries, 'render', function () {
|
|
125
125
|
var series = this, options = series.options;
|
|
126
126
|
if (shouldForceMarkers(series)) {
|
|
127
127
|
if (options.marker && options.marker.enabled === false) {
|
|
@@ -141,14 +141,14 @@ function addForceMarkersEvents() {
|
|
|
141
141
|
* Keep track of options to reset markers to if no longer forced.
|
|
142
142
|
* @private
|
|
143
143
|
*/
|
|
144
|
-
addEvent(
|
|
144
|
+
addEvent(CartesianSeries, 'afterSetOptions', function (e) {
|
|
145
145
|
this.resetA11yMarkerOptions = merge(e.options.marker || {}, this.userOptions.marker || {});
|
|
146
146
|
});
|
|
147
147
|
/**
|
|
148
148
|
* Process marker graphics after render
|
|
149
149
|
* @private
|
|
150
150
|
*/
|
|
151
|
-
addEvent(
|
|
151
|
+
addEvent(CartesianSeries, 'afterRender', function () {
|
|
152
152
|
var series = this;
|
|
153
153
|
// For styled mode the rendered graphic does not reflect the style
|
|
154
154
|
// options, and we need to add/remove classes to achieve the same.
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* */
|
|
12
12
|
'use strict';
|
|
13
13
|
import H from '../../../Core/Globals.js';
|
|
14
|
+
import CartesianSeries from '../../../Core/Series/CartesianSeries.js';
|
|
14
15
|
import U from '../../../Core/Utilities.js';
|
|
15
16
|
var extend = U.extend, defined = U.defined;
|
|
16
17
|
import ChartUtilities from '../../Utils/ChartUtilities.js';
|
|
@@ -92,13 +93,13 @@ extend(NewDataAnnouncer.prototype, {
|
|
|
92
93
|
e.addEvent(chart, 'afterDrilldown', function () {
|
|
93
94
|
announcer.lastAnnouncementTime = 0;
|
|
94
95
|
});
|
|
95
|
-
e.addEvent(
|
|
96
|
+
e.addEvent(CartesianSeries, 'updatedData', function () {
|
|
96
97
|
announcer.onSeriesUpdatedData(this);
|
|
97
98
|
});
|
|
98
99
|
e.addEvent(chart, 'afterAddSeries', function (e) {
|
|
99
100
|
announcer.onSeriesAdded(e.series);
|
|
100
101
|
});
|
|
101
|
-
e.addEvent(
|
|
102
|
+
e.addEvent(CartesianSeries, 'addPoint', function (e) {
|
|
102
103
|
announcer.onPointAdded(e.point);
|
|
103
104
|
});
|
|
104
105
|
e.addEvent(chart, 'redraw', function () {
|
|
@@ -10,15 +10,15 @@
|
|
|
10
10
|
*
|
|
11
11
|
* */
|
|
12
12
|
'use strict';
|
|
13
|
-
import U from '../../../Core/Utilities.js';
|
|
14
|
-
var find = U.find, format = U.format, isNumber = U.isNumber, numberFormat = U.numberFormat, pick = U.pick, defined = U.defined;
|
|
15
13
|
import AnnotationsA11y from '../AnnotationsA11y.js';
|
|
16
14
|
var getPointAnnotationTexts = AnnotationsA11y.getPointAnnotationTexts;
|
|
17
|
-
import HTMLUtilities from '../../Utils/HTMLUtilities.js';
|
|
18
|
-
var escapeStringForHTML = HTMLUtilities.escapeStringForHTML, reverseChildNodes = HTMLUtilities.reverseChildNodes, stripHTMLTags = HTMLUtilities.stripHTMLTagsFromString;
|
|
19
15
|
import ChartUtilities from '../../Utils/ChartUtilities.js';
|
|
20
16
|
var getAxisDescription = ChartUtilities.getAxisDescription, getSeriesFirstPointElement = ChartUtilities.getSeriesFirstPointElement, getSeriesA11yElement = ChartUtilities.getSeriesA11yElement, unhideChartElementFromAT = ChartUtilities.unhideChartElementFromAT;
|
|
17
|
+
import HTMLUtilities from '../../Utils/HTMLUtilities.js';
|
|
18
|
+
var escapeStringForHTML = HTMLUtilities.escapeStringForHTML, reverseChildNodes = HTMLUtilities.reverseChildNodes, stripHTMLTags = HTMLUtilities.stripHTMLTagsFromString;
|
|
21
19
|
import Tooltip from '../../../Core/Tooltip.js';
|
|
20
|
+
import U from '../../../Core/Utilities.js';
|
|
21
|
+
var find = U.find, format = U.format, isNumber = U.isNumber, numberFormat = U.numberFormat, pick = U.pick, defined = U.defined;
|
|
22
22
|
/* eslint-disable valid-jsdoc */
|
|
23
23
|
/**
|
|
24
24
|
* @private
|
|
@@ -10,8 +10,10 @@
|
|
|
10
10
|
*
|
|
11
11
|
* */
|
|
12
12
|
'use strict';
|
|
13
|
+
import Series from '../../../Core/Series/Series.js';
|
|
14
|
+
var seriesTypes = Series.seriesTypes;
|
|
15
|
+
import CartesianSeries from '../../../Core/Series/CartesianSeries.js';
|
|
13
16
|
import Chart from '../../../Core/Chart/Chart.js';
|
|
14
|
-
import H from '../../../Core/Globals.js';
|
|
15
17
|
import Point from '../../../Core/Series/Point.js';
|
|
16
18
|
import U from '../../../Core/Utilities.js';
|
|
17
19
|
var defined = U.defined, extend = U.extend;
|
|
@@ -26,10 +28,10 @@ import '../../../Series/PieSeries.js';
|
|
|
26
28
|
* Set for which series types it makes sense to move to the closest point with
|
|
27
29
|
* up/down arrows, and which series types should just move to next series.
|
|
28
30
|
*/
|
|
29
|
-
|
|
31
|
+
CartesianSeries.prototype.keyboardMoveVertical = true;
|
|
30
32
|
['column', 'pie'].forEach(function (type) {
|
|
31
|
-
if (
|
|
32
|
-
|
|
33
|
+
if (seriesTypes[type]) {
|
|
34
|
+
seriesTypes[type].prototype.keyboardMoveVertical = false;
|
|
33
35
|
}
|
|
34
36
|
});
|
|
35
37
|
/**
|
|
@@ -234,7 +236,7 @@ Chart.prototype.highlightAdjacentPoint = function (next) {
|
|
|
234
236
|
*
|
|
235
237
|
* @return {boolean|Highcharts.Point}
|
|
236
238
|
*/
|
|
237
|
-
|
|
239
|
+
CartesianSeries.prototype.highlightFirstValidPoint = function () {
|
|
238
240
|
var curPoint = this.chart.highlightedPoint, start = (curPoint && curPoint.series) === this ?
|
|
239
241
|
getPointIndex(curPoint) :
|
|
240
242
|
0, points = this.points, len = points.length;
|
|
@@ -400,7 +402,7 @@ extend(SeriesKeyboardNavigation.prototype, /** @lends Highcharts.SeriesKeyboardN
|
|
|
400
402
|
*/
|
|
401
403
|
init: function () {
|
|
402
404
|
var keyboardNavigation = this, chart = this.chart, e = this.eventProvider = new EventProvider();
|
|
403
|
-
e.addEvent(
|
|
405
|
+
e.addEvent(CartesianSeries, 'destroy', function () {
|
|
404
406
|
return keyboardNavigation.onSeriesDestroy(this);
|
|
405
407
|
});
|
|
406
408
|
e.addEvent(chart, 'afterDrilldown', function () {
|
|
@@ -10,15 +10,16 @@
|
|
|
10
10
|
*
|
|
11
11
|
* */
|
|
12
12
|
'use strict';
|
|
13
|
-
import H from '../../Core/Globals.js';
|
|
14
|
-
import U from '../../Core/Utilities.js';
|
|
15
|
-
var extend = U.extend, pick = U.pick;
|
|
16
13
|
import AccessibilityComponent from '../AccessibilityComponent.js';
|
|
17
|
-
import KeyboardNavigationHandler from '../KeyboardNavigationHandler.js';
|
|
18
14
|
import ChartUtilities from '../Utils/ChartUtilities.js';
|
|
19
15
|
var unhideChartElementFromAT = ChartUtilities.unhideChartElementFromAT;
|
|
16
|
+
import H from '../../Core/Globals.js';
|
|
17
|
+
var noop = H.noop;
|
|
20
18
|
import HTMLUtilities from '../Utils/HTMLUtilities.js';
|
|
21
|
-
var
|
|
19
|
+
var removeElement = HTMLUtilities.removeElement, setElAttrs = HTMLUtilities.setElAttrs;
|
|
20
|
+
import KeyboardNavigationHandler from '../KeyboardNavigationHandler.js';
|
|
21
|
+
import U from '../../Core/Utilities.js';
|
|
22
|
+
var extend = U.extend, pick = U.pick;
|
|
22
23
|
/* eslint-disable no-invalid-this, valid-jsdoc */
|
|
23
24
|
/**
|
|
24
25
|
* @private
|
|
@@ -57,7 +58,7 @@ H.Axis.prototype.panStep = function (direction, granularity) {
|
|
|
57
58
|
* @class
|
|
58
59
|
* @name Highcharts.ZoomComponent
|
|
59
60
|
*/
|
|
60
|
-
var ZoomComponent =
|
|
61
|
+
var ZoomComponent = noop;
|
|
61
62
|
ZoomComponent.prototype = new AccessibilityComponent();
|
|
62
63
|
extend(ZoomComponent.prototype, /** @lends Highcharts.ZoomComponent */ {
|
|
63
64
|
/**
|
|
@@ -80,9 +80,13 @@ KeyboardNavigation.prototype = {
|
|
|
80
80
|
this.update();
|
|
81
81
|
ep.addEvent(this.tabindexContainer, 'keydown', function (e) { return _this.onKeydown(e); });
|
|
82
82
|
ep.addEvent(this.tabindexContainer, 'focus', function (e) { return _this.onFocus(e); });
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
83
|
+
['mouseup', 'touchend'].forEach(function (eventName) {
|
|
84
|
+
return ep.addEvent(doc, eventName, function () { return _this.onMouseUp(); });
|
|
85
|
+
});
|
|
86
|
+
['mousedown', 'touchstart'].forEach(function (eventName) {
|
|
87
|
+
return ep.addEvent(chart.renderTo, eventName, function () {
|
|
88
|
+
_this.isClickingChart = true;
|
|
89
|
+
});
|
|
86
90
|
});
|
|
87
91
|
ep.addEvent(chart.renderTo, 'mouseover', function () {
|
|
88
92
|
_this.pointerIsOverChart = true;
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
10
10
|
*
|
|
11
11
|
* */
|
|
12
|
-
'use strict';
|
|
13
12
|
/**
|
|
14
13
|
* Formatter callback for the accessibility announcement.
|
|
15
14
|
*
|
|
@@ -76,7 +75,7 @@ var options = {
|
|
|
76
75
|
* [accessibility module](https://code.highcharts.com/modules/accessibility.js)
|
|
77
76
|
* to be loaded. For a description of the module and information
|
|
78
77
|
* on its features, see
|
|
79
|
-
* [Highcharts Accessibility](https://www.highcharts.com/docs/
|
|
78
|
+
* [Highcharts Accessibility](https://www.highcharts.com/docs/accessibility/accessibility-module).
|
|
80
79
|
*
|
|
81
80
|
* @since 5.0.0
|
|
82
81
|
* @requires modules/accessibility
|
|
@@ -44,10 +44,10 @@ function getAxisDescription(axis) {
|
|
|
44
44
|
* The DOM element for the point.
|
|
45
45
|
*/
|
|
46
46
|
function getSeriesFirstPointElement(series) {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
series.points
|
|
50
|
-
return
|
|
47
|
+
var _a, _b;
|
|
48
|
+
if ((_a = series.points) === null || _a === void 0 ? void 0 : _a.length) {
|
|
49
|
+
var firstPointWithGraphic = find(series.points, function (p) { return !!p.graphic; });
|
|
50
|
+
return (_b = firstPointWithGraphic === null || firstPointWithGraphic === void 0 ? void 0 : firstPointWithGraphic.graphic) === null || _b === void 0 ? void 0 : _b.element;
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
/**
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
* */
|
|
13
13
|
'use strict';
|
|
14
14
|
import H from '../../Core/Globals.js';
|
|
15
|
-
var doc = H.
|
|
16
|
-
import U from '../../Core/Utilities.js';
|
|
17
|
-
var extend = U.extend;
|
|
15
|
+
var doc = H.doc;
|
|
18
16
|
import HTMLUtilities from './HTMLUtilities.js';
|
|
19
17
|
var removeElement = HTMLUtilities.removeElement;
|
|
18
|
+
import U from '../../Core/Utilities.js';
|
|
19
|
+
var extend = U.extend;
|
|
20
20
|
/* eslint-disable no-invalid-this, valid-jsdoc */
|
|
21
21
|
/**
|
|
22
22
|
* @private
|
|
@@ -9,11 +9,10 @@
|
|
|
9
9
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
10
10
|
*
|
|
11
11
|
* */
|
|
12
|
-
|
|
12
|
+
import H from '../../Core/Globals.js';
|
|
13
|
+
var doc = H.doc, win = H.win;
|
|
13
14
|
import U from '../../Core/Utilities.js';
|
|
14
15
|
var merge = U.merge;
|
|
15
|
-
import H from '../../Core/Globals.js';
|
|
16
|
-
var win = H.win, doc = win.document;
|
|
17
16
|
/* eslint-disable valid-jsdoc */
|
|
18
17
|
/**
|
|
19
18
|
* @private
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
/* *
|
|
2
|
+
*
|
|
3
|
+
* (c) 2010-2020 Torstein Honsi
|
|
4
|
+
*
|
|
5
|
+
* License: www.highcharts.com/license
|
|
6
|
+
*
|
|
7
|
+
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
8
|
+
*
|
|
9
|
+
* */
|
|
10
|
+
'use strict';
|
|
11
|
+
import Fx from './Fx.js';
|
|
12
|
+
import H from '../Globals.js';
|
|
13
|
+
import U from '../Utilities.js';
|
|
14
|
+
var defined = U.defined, getStyle = U.getStyle, isArray = U.isArray, isNumber = U.isNumber, isObject = U.isObject, merge = U.merge, objectEach = U.objectEach, pick = U.pick;
|
|
15
|
+
/**
|
|
16
|
+
* Set the global animation to either a given value, or fall back to the given
|
|
17
|
+
* chart's animation option.
|
|
18
|
+
*
|
|
19
|
+
* @function Highcharts.setAnimation
|
|
20
|
+
*
|
|
21
|
+
* @param {boolean|Partial<Highcharts.AnimationOptionsObject>|undefined} animation
|
|
22
|
+
* The animation object.
|
|
23
|
+
*
|
|
24
|
+
* @param {Highcharts.Chart} chart
|
|
25
|
+
* The chart instance.
|
|
26
|
+
*
|
|
27
|
+
* @todo
|
|
28
|
+
* This function always relates to a chart, and sets a property on the renderer,
|
|
29
|
+
* so it should be moved to the SVGRenderer.
|
|
30
|
+
*/
|
|
31
|
+
var setAnimation = H.setAnimation = function setAnimation(animation, chart) {
|
|
32
|
+
chart.renderer.globalAnimation = pick(animation, chart.options.chart.animation, true);
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Get the animation in object form, where a disabled animation is always
|
|
36
|
+
* returned as `{ duration: 0 }`.
|
|
37
|
+
*
|
|
38
|
+
* @function Highcharts.animObject
|
|
39
|
+
*
|
|
40
|
+
* @param {boolean|Highcharts.AnimationOptionsObject} [animation=0]
|
|
41
|
+
* An animation setting. Can be an object with duration, complete and
|
|
42
|
+
* easing properties, or a boolean to enable or disable.
|
|
43
|
+
*
|
|
44
|
+
* @return {Highcharts.AnimationOptionsObject}
|
|
45
|
+
* An object with at least a duration property.
|
|
46
|
+
*/
|
|
47
|
+
var animObject = H.animObject = function animObject(animation) {
|
|
48
|
+
return isObject(animation) ?
|
|
49
|
+
H.merge({ duration: 500, defer: 0 }, animation) :
|
|
50
|
+
{ duration: animation ? 500 : 0, defer: 0 };
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* Get the defer as a number value from series animation options.
|
|
54
|
+
*
|
|
55
|
+
* @function Highcharts.getDeferredAnimation
|
|
56
|
+
*
|
|
57
|
+
* @param {Highcharts.Chart} chart
|
|
58
|
+
* The chart instance.
|
|
59
|
+
*
|
|
60
|
+
* @param {boolean|Highcharts.AnimationOptionsObject} animation
|
|
61
|
+
* An animation setting. Can be an object with duration, complete and
|
|
62
|
+
* easing properties, or a boolean to enable or disable.
|
|
63
|
+
*
|
|
64
|
+
* @param {Highcharts.Series} [series]
|
|
65
|
+
* Series to defer animation.
|
|
66
|
+
*
|
|
67
|
+
* @return {number}
|
|
68
|
+
* The numeric value.
|
|
69
|
+
*/
|
|
70
|
+
var getDeferredAnimation = H.getDeferredAnimation = function (chart, animation, series) {
|
|
71
|
+
var labelAnimation = animObject(animation);
|
|
72
|
+
var s = series ? [series] : chart.series;
|
|
73
|
+
var defer = 0;
|
|
74
|
+
var duration = 0;
|
|
75
|
+
s.forEach(function (series) {
|
|
76
|
+
var seriesAnim = animObject(series.options.animation);
|
|
77
|
+
defer = animation && defined(animation.defer) ?
|
|
78
|
+
labelAnimation.defer :
|
|
79
|
+
Math.max(defer, seriesAnim.duration + seriesAnim.defer);
|
|
80
|
+
duration = Math.min(labelAnimation.duration, seriesAnim.duration);
|
|
81
|
+
});
|
|
82
|
+
// Disable defer for exporting
|
|
83
|
+
if (chart.renderer.forExport) {
|
|
84
|
+
defer = 0;
|
|
85
|
+
}
|
|
86
|
+
var anim = {
|
|
87
|
+
defer: Math.max(0, defer - duration),
|
|
88
|
+
duration: Math.min(defer, duration)
|
|
89
|
+
};
|
|
90
|
+
return anim;
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* The global animate method, which uses Fx to create individual animators.
|
|
94
|
+
*
|
|
95
|
+
* @function Highcharts.animate
|
|
96
|
+
*
|
|
97
|
+
* @param {Highcharts.HTMLDOMElement|Highcharts.SVGElement} el
|
|
98
|
+
* The element to animate.
|
|
99
|
+
*
|
|
100
|
+
* @param {Highcharts.CSSObject|Highcharts.SVGAttributes} params
|
|
101
|
+
* An object containing key-value pairs of the properties to animate.
|
|
102
|
+
* Supports numeric as pixel-based CSS properties for HTML objects and
|
|
103
|
+
* attributes for SVGElements.
|
|
104
|
+
*
|
|
105
|
+
* @param {Partial<Highcharts.AnimationOptionsObject>} [opt]
|
|
106
|
+
* Animation options.
|
|
107
|
+
*
|
|
108
|
+
* @return {void}
|
|
109
|
+
*/
|
|
110
|
+
var animate = H.animate = function (el, params, opt) {
|
|
111
|
+
var start, unit = '', end, fx, args;
|
|
112
|
+
if (!isObject(opt)) { // Number or undefined/null
|
|
113
|
+
args = arguments;
|
|
114
|
+
opt = {
|
|
115
|
+
duration: args[2],
|
|
116
|
+
easing: args[3],
|
|
117
|
+
complete: args[4]
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
if (!isNumber(opt.duration)) {
|
|
121
|
+
opt.duration = 400;
|
|
122
|
+
}
|
|
123
|
+
opt.easing = typeof opt.easing === 'function' ?
|
|
124
|
+
opt.easing :
|
|
125
|
+
(Math[opt.easing] || Math.easeInOutSine);
|
|
126
|
+
opt.curAnim = merge(params);
|
|
127
|
+
objectEach(params, function (val, prop) {
|
|
128
|
+
// Stop current running animation of this property
|
|
129
|
+
stop(el, prop);
|
|
130
|
+
fx = new Fx(el, opt, prop);
|
|
131
|
+
end = null;
|
|
132
|
+
if (prop === 'd' && isArray(params.d)) {
|
|
133
|
+
fx.paths = fx.initPath(el, el.pathArray, params.d);
|
|
134
|
+
fx.toD = params.d;
|
|
135
|
+
start = 0;
|
|
136
|
+
end = 1;
|
|
137
|
+
}
|
|
138
|
+
else if (el.attr) {
|
|
139
|
+
start = el.attr(prop);
|
|
140
|
+
}
|
|
141
|
+
else {
|
|
142
|
+
start = parseFloat(getStyle(el, prop)) || 0;
|
|
143
|
+
if (prop !== 'opacity') {
|
|
144
|
+
unit = 'px';
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
if (!end) {
|
|
148
|
+
end = val;
|
|
149
|
+
}
|
|
150
|
+
if (end && end.match && end.match('px')) {
|
|
151
|
+
end = end.replace(/px/g, ''); // #4351
|
|
152
|
+
}
|
|
153
|
+
fx.run(start, end, unit);
|
|
154
|
+
});
|
|
155
|
+
};
|
|
156
|
+
/**
|
|
157
|
+
* Stop running animation.
|
|
158
|
+
*
|
|
159
|
+
* @function Highcharts.stop
|
|
160
|
+
*
|
|
161
|
+
* @param {Highcharts.SVGElement} el
|
|
162
|
+
* The SVGElement to stop animation on.
|
|
163
|
+
*
|
|
164
|
+
* @param {string} [prop]
|
|
165
|
+
* The property to stop animating. If given, the stop method will stop a
|
|
166
|
+
* single property from animating, while others continue.
|
|
167
|
+
*
|
|
168
|
+
* @return {void}
|
|
169
|
+
*
|
|
170
|
+
* @todo
|
|
171
|
+
* A possible extension to this would be to stop a single property, when
|
|
172
|
+
* we want to continue animating others. Then assign the prop to the timer
|
|
173
|
+
* in the Fx.run method, and check for the prop here. This would be an
|
|
174
|
+
* improvement in all cases where we stop the animation from .attr. Instead of
|
|
175
|
+
* stopping everything, we can just stop the actual attributes we're setting.
|
|
176
|
+
*/
|
|
177
|
+
var stop = H.stop = function (el, prop) {
|
|
178
|
+
var i = H.timers.length;
|
|
179
|
+
// Remove timers related to this element (#4519)
|
|
180
|
+
while (i--) {
|
|
181
|
+
if (H.timers[i].elem === el && (!prop || prop === H.timers[i].prop)) {
|
|
182
|
+
H.timers[i].stopped = true; // #4667
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
};
|
|
186
|
+
var animationExports = {
|
|
187
|
+
animate: animate,
|
|
188
|
+
animObject: animObject,
|
|
189
|
+
getDeferredAnimation: getDeferredAnimation,
|
|
190
|
+
setAnimation: setAnimation,
|
|
191
|
+
stop: stop
|
|
192
|
+
};
|
|
193
|
+
export default animationExports;
|