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
|
@@ -0,0 +1,378 @@
|
|
|
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 H from '../Globals.js';
|
|
12
|
+
var win = H.win;
|
|
13
|
+
import U from '../Utilities.js';
|
|
14
|
+
var isNumber = U.isNumber, objectEach = U.objectEach;
|
|
15
|
+
/* eslint-disable no-invalid-this, valid-jsdoc */
|
|
16
|
+
/**
|
|
17
|
+
* An animator object used internally. One instance applies to one property
|
|
18
|
+
* (attribute or style prop) on one element. Animation is always initiated
|
|
19
|
+
* through {@link SVGElement#animate}.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* var rect = renderer.rect(0, 0, 10, 10).add();
|
|
23
|
+
* rect.animate({ width: 100 });
|
|
24
|
+
*
|
|
25
|
+
* @private
|
|
26
|
+
* @class
|
|
27
|
+
* @name Highcharts.Fx
|
|
28
|
+
*/
|
|
29
|
+
var Fx = /** @class */ (function () {
|
|
30
|
+
/* *
|
|
31
|
+
*
|
|
32
|
+
* Constructors
|
|
33
|
+
*
|
|
34
|
+
* */
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @param {Highcharts.HTMLDOMElement|Highcharts.SVGElement} elem
|
|
38
|
+
* The element to animate.
|
|
39
|
+
*
|
|
40
|
+
* @param {Partial<Highcharts.AnimationOptionsObject>} options
|
|
41
|
+
* Animation options.
|
|
42
|
+
*
|
|
43
|
+
* @param {string} prop
|
|
44
|
+
* The single attribute or CSS property to animate.
|
|
45
|
+
*/
|
|
46
|
+
function Fx(elem, options, prop) {
|
|
47
|
+
this.pos = NaN;
|
|
48
|
+
this.options = options;
|
|
49
|
+
this.elem = elem;
|
|
50
|
+
this.prop = prop;
|
|
51
|
+
}
|
|
52
|
+
/* *
|
|
53
|
+
*
|
|
54
|
+
* Functions
|
|
55
|
+
*
|
|
56
|
+
* */
|
|
57
|
+
/**
|
|
58
|
+
* Set the current step of a path definition on SVGElement.
|
|
59
|
+
*
|
|
60
|
+
* @function Highcharts.Fx#dSetter
|
|
61
|
+
*
|
|
62
|
+
* @return {void}
|
|
63
|
+
*/
|
|
64
|
+
Fx.prototype.dSetter = function () {
|
|
65
|
+
var paths = this.paths, start = paths && paths[0], end = paths && paths[1], path = [], now = this.now || 0;
|
|
66
|
+
// Land on the final path without adjustment points appended in the ends
|
|
67
|
+
if (now === 1 || !start || !end) {
|
|
68
|
+
path = this.toD || [];
|
|
69
|
+
}
|
|
70
|
+
else if (start.length === end.length && now < 1) {
|
|
71
|
+
for (var i = 0; i < end.length; i++) {
|
|
72
|
+
// Tween between the start segment and the end segment. Start
|
|
73
|
+
// with a copy of the end segment and tween the appropriate
|
|
74
|
+
// numerics
|
|
75
|
+
var startSeg = start[i];
|
|
76
|
+
var endSeg = end[i];
|
|
77
|
+
var tweenSeg = [];
|
|
78
|
+
for (var j = 0; j < endSeg.length; j++) {
|
|
79
|
+
var startItem = startSeg[j];
|
|
80
|
+
var endItem = endSeg[j];
|
|
81
|
+
// Tween numbers
|
|
82
|
+
if (typeof startItem === 'number' &&
|
|
83
|
+
typeof endItem === 'number' &&
|
|
84
|
+
// Arc boolean flags
|
|
85
|
+
!(endSeg[0] === 'A' && (j === 4 || j === 5))) {
|
|
86
|
+
tweenSeg[j] = startItem + now * (endItem - startItem);
|
|
87
|
+
// Strings, take directly from the end segment
|
|
88
|
+
}
|
|
89
|
+
else {
|
|
90
|
+
tweenSeg[j] = endItem;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
path.push(tweenSeg);
|
|
94
|
+
}
|
|
95
|
+
// If animation is finished or length not matching, land on right value
|
|
96
|
+
}
|
|
97
|
+
else {
|
|
98
|
+
path = end;
|
|
99
|
+
}
|
|
100
|
+
this.elem.attr('d', path, void 0, true);
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* Update the element with the current animation step.
|
|
104
|
+
*
|
|
105
|
+
* @function Highcharts.Fx#update
|
|
106
|
+
*
|
|
107
|
+
* @return {void}
|
|
108
|
+
*/
|
|
109
|
+
Fx.prototype.update = function () {
|
|
110
|
+
var elem = this.elem, prop = this.prop, // if destroyed, it is null
|
|
111
|
+
now = this.now, step = this.options.step;
|
|
112
|
+
// Animation setter defined from outside
|
|
113
|
+
if (this[prop + 'Setter']) {
|
|
114
|
+
this[prop + 'Setter']();
|
|
115
|
+
// Other animations on SVGElement
|
|
116
|
+
}
|
|
117
|
+
else if (elem.attr) {
|
|
118
|
+
if (elem.element) {
|
|
119
|
+
elem.attr(prop, now, null, true);
|
|
120
|
+
}
|
|
121
|
+
// HTML styles, raw HTML content like container size
|
|
122
|
+
}
|
|
123
|
+
else {
|
|
124
|
+
elem.style[prop] = now + this.unit;
|
|
125
|
+
}
|
|
126
|
+
if (step) {
|
|
127
|
+
step.call(elem, now, this);
|
|
128
|
+
}
|
|
129
|
+
};
|
|
130
|
+
/**
|
|
131
|
+
* Run an animation.
|
|
132
|
+
*
|
|
133
|
+
* @function Highcharts.Fx#run
|
|
134
|
+
*
|
|
135
|
+
* @param {number} from
|
|
136
|
+
* The current value, value to start from.
|
|
137
|
+
*
|
|
138
|
+
* @param {number} to
|
|
139
|
+
* The end value, value to land on.
|
|
140
|
+
*
|
|
141
|
+
* @param {string} unit
|
|
142
|
+
* The property unit, for example `px`.
|
|
143
|
+
*
|
|
144
|
+
* @return {void}
|
|
145
|
+
*/
|
|
146
|
+
Fx.prototype.run = function (from, to, unit) {
|
|
147
|
+
var self = this, options = self.options, timer = function (gotoEnd) {
|
|
148
|
+
return timer.stopped ? false : self.step(gotoEnd);
|
|
149
|
+
}, requestAnimationFrame = win.requestAnimationFrame ||
|
|
150
|
+
function (step) {
|
|
151
|
+
setTimeout(step, 13);
|
|
152
|
+
}, step = function () {
|
|
153
|
+
for (var i = 0; i < H.timers.length; i++) {
|
|
154
|
+
if (!H.timers[i]()) {
|
|
155
|
+
H.timers.splice(i--, 1);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
if (H.timers.length) {
|
|
159
|
+
requestAnimationFrame(step);
|
|
160
|
+
}
|
|
161
|
+
};
|
|
162
|
+
if (from === to && !this.elem['forceAnimate:' + this.prop]) {
|
|
163
|
+
delete options.curAnim[this.prop];
|
|
164
|
+
if (options.complete && Object.keys(options.curAnim).length === 0) {
|
|
165
|
+
options.complete.call(this.elem);
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
else { // #7166
|
|
169
|
+
this.startTime = +new Date();
|
|
170
|
+
this.start = from;
|
|
171
|
+
this.end = to;
|
|
172
|
+
this.unit = unit;
|
|
173
|
+
this.now = this.start;
|
|
174
|
+
this.pos = 0;
|
|
175
|
+
timer.elem = this.elem;
|
|
176
|
+
timer.prop = this.prop;
|
|
177
|
+
if (timer() && H.timers.push(timer) === 1) {
|
|
178
|
+
requestAnimationFrame(step);
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
};
|
|
182
|
+
/**
|
|
183
|
+
* Run a single step in the animation.
|
|
184
|
+
*
|
|
185
|
+
* @function Highcharts.Fx#step
|
|
186
|
+
*
|
|
187
|
+
* @param {boolean} [gotoEnd]
|
|
188
|
+
* Whether to go to the endpoint of the animation after abort.
|
|
189
|
+
*
|
|
190
|
+
* @return {boolean}
|
|
191
|
+
* Returns `true` if animation continues.
|
|
192
|
+
*/
|
|
193
|
+
Fx.prototype.step = function (gotoEnd) {
|
|
194
|
+
var t = +new Date(), ret, done, options = this.options, elem = this.elem, complete = options.complete, duration = options.duration, curAnim = options.curAnim;
|
|
195
|
+
if (elem.attr && !elem.element) { // #2616, element is destroyed
|
|
196
|
+
ret = false;
|
|
197
|
+
}
|
|
198
|
+
else if (gotoEnd || t >= duration + this.startTime) {
|
|
199
|
+
this.now = this.end;
|
|
200
|
+
this.pos = 1;
|
|
201
|
+
this.update();
|
|
202
|
+
curAnim[this.prop] = true;
|
|
203
|
+
done = true;
|
|
204
|
+
objectEach(curAnim, function (val) {
|
|
205
|
+
if (val !== true) {
|
|
206
|
+
done = false;
|
|
207
|
+
}
|
|
208
|
+
});
|
|
209
|
+
if (done && complete) {
|
|
210
|
+
complete.call(elem);
|
|
211
|
+
}
|
|
212
|
+
ret = false;
|
|
213
|
+
}
|
|
214
|
+
else {
|
|
215
|
+
this.pos = options.easing((t - this.startTime) / duration);
|
|
216
|
+
this.now = this.start + ((this.end - this.start) * this.pos);
|
|
217
|
+
this.update();
|
|
218
|
+
ret = true;
|
|
219
|
+
}
|
|
220
|
+
return ret;
|
|
221
|
+
};
|
|
222
|
+
/**
|
|
223
|
+
* Prepare start and end values so that the path can be animated one to one.
|
|
224
|
+
*
|
|
225
|
+
* @function Highcharts.Fx#initPath
|
|
226
|
+
*
|
|
227
|
+
* @param {Highcharts.SVGElement} elem
|
|
228
|
+
* The SVGElement item.
|
|
229
|
+
*
|
|
230
|
+
* @param {Highcharts.SVGPathArray|undefined} fromD
|
|
231
|
+
* Starting path definition.
|
|
232
|
+
*
|
|
233
|
+
* @param {Highcharts.SVGPathArray} toD
|
|
234
|
+
* Ending path definition.
|
|
235
|
+
*
|
|
236
|
+
* @return {Array<Highcharts.SVGPathArray,Highcharts.SVGPathArray>}
|
|
237
|
+
* An array containing start and end paths in array form so that
|
|
238
|
+
* they can be animated in parallel.
|
|
239
|
+
*/
|
|
240
|
+
Fx.prototype.initPath = function (elem, fromD, toD) {
|
|
241
|
+
var shift, startX = elem.startX, endX = elem.endX, fullLength, i, start = fromD && fromD.slice(), // copy
|
|
242
|
+
end = toD.slice(), // copy
|
|
243
|
+
isArea = elem.isArea, positionFactor = isArea ? 2 : 1, reverse;
|
|
244
|
+
if (!start) {
|
|
245
|
+
return [end, end];
|
|
246
|
+
}
|
|
247
|
+
/**
|
|
248
|
+
* If shifting points, prepend a dummy point to the end path.
|
|
249
|
+
* @private
|
|
250
|
+
* @param {Highcharts.SVGPathArray} arr - array
|
|
251
|
+
* @param {Highcharts.SVGPathArray} other - array
|
|
252
|
+
* @return {void}
|
|
253
|
+
*/
|
|
254
|
+
function prepend(arr, other) {
|
|
255
|
+
while (arr.length < fullLength) {
|
|
256
|
+
// Move to, line to or curve to?
|
|
257
|
+
var moveSegment = arr[0], otherSegment = other[fullLength - arr.length];
|
|
258
|
+
if (otherSegment && moveSegment[0] === 'M') {
|
|
259
|
+
if (otherSegment[0] === 'C') {
|
|
260
|
+
arr[0] = [
|
|
261
|
+
'C',
|
|
262
|
+
moveSegment[1],
|
|
263
|
+
moveSegment[2],
|
|
264
|
+
moveSegment[1],
|
|
265
|
+
moveSegment[2],
|
|
266
|
+
moveSegment[1],
|
|
267
|
+
moveSegment[2]
|
|
268
|
+
];
|
|
269
|
+
}
|
|
270
|
+
else {
|
|
271
|
+
arr[0] = ['L', moveSegment[1], moveSegment[2]];
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
// Prepend a copy of the first point
|
|
275
|
+
arr.unshift(moveSegment);
|
|
276
|
+
// For areas, the bottom path goes back again to the left, so we
|
|
277
|
+
// need to append a copy of the last point.
|
|
278
|
+
if (isArea) {
|
|
279
|
+
arr.push(arr[arr.length - 1]);
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
/**
|
|
284
|
+
* Copy and append last point until the length matches the end length.
|
|
285
|
+
* @private
|
|
286
|
+
* @param {Highcharts.SVGPathArray} arr - array
|
|
287
|
+
* @param {Highcharts.SVGPathArray} other - array
|
|
288
|
+
* @return {void}
|
|
289
|
+
*/
|
|
290
|
+
function append(arr, other) {
|
|
291
|
+
while (arr.length < fullLength) {
|
|
292
|
+
// Pull out the slice that is going to be appended or inserted.
|
|
293
|
+
// In a line graph, the positionFactor is 1, and the last point
|
|
294
|
+
// is sliced out. In an area graph, the positionFactor is 2,
|
|
295
|
+
// causing the middle two points to be sliced out, since an area
|
|
296
|
+
// path starts at left, follows the upper path then turns and
|
|
297
|
+
// follows the bottom back.
|
|
298
|
+
var segmentToAdd = arr[arr.length / positionFactor - 1].slice();
|
|
299
|
+
// Disable the first control point of curve segments
|
|
300
|
+
if (segmentToAdd[0] === 'C') {
|
|
301
|
+
segmentToAdd[1] = segmentToAdd[5];
|
|
302
|
+
segmentToAdd[2] = segmentToAdd[6];
|
|
303
|
+
}
|
|
304
|
+
if (!isArea) {
|
|
305
|
+
arr.push(segmentToAdd);
|
|
306
|
+
}
|
|
307
|
+
else {
|
|
308
|
+
var lowerSegmentToAdd = arr[arr.length / positionFactor].slice();
|
|
309
|
+
arr.splice(arr.length / 2, 0, segmentToAdd, lowerSegmentToAdd);
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
// For sideways animation, find out how much we need to shift to get the
|
|
314
|
+
// start path Xs to match the end path Xs.
|
|
315
|
+
if (startX && endX) {
|
|
316
|
+
for (i = 0; i < startX.length; i++) {
|
|
317
|
+
// Moving left, new points coming in on right
|
|
318
|
+
if (startX[i] === endX[0]) {
|
|
319
|
+
shift = i;
|
|
320
|
+
break;
|
|
321
|
+
// Moving right
|
|
322
|
+
}
|
|
323
|
+
else if (startX[0] ===
|
|
324
|
+
endX[endX.length - startX.length + i]) {
|
|
325
|
+
shift = i;
|
|
326
|
+
reverse = true;
|
|
327
|
+
break;
|
|
328
|
+
// Fixed from the right side, "scaling" left
|
|
329
|
+
}
|
|
330
|
+
else if (startX[startX.length - 1] ===
|
|
331
|
+
endX[endX.length - startX.length + i]) {
|
|
332
|
+
shift = startX.length - i;
|
|
333
|
+
break;
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
if (typeof shift === 'undefined') {
|
|
337
|
+
start = [];
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
if (start.length && isNumber(shift)) {
|
|
341
|
+
// The common target length for the start and end array, where both
|
|
342
|
+
// arrays are padded in opposite ends
|
|
343
|
+
fullLength = end.length + shift * positionFactor;
|
|
344
|
+
if (!reverse) {
|
|
345
|
+
prepend(end, start);
|
|
346
|
+
append(start, end);
|
|
347
|
+
}
|
|
348
|
+
else {
|
|
349
|
+
prepend(start, end);
|
|
350
|
+
append(end, start);
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
return [start, end];
|
|
354
|
+
};
|
|
355
|
+
/**
|
|
356
|
+
* Handle animation of the color attributes directly.
|
|
357
|
+
*
|
|
358
|
+
* @function Highcharts.Fx#fillSetter
|
|
359
|
+
*
|
|
360
|
+
* @return {void}
|
|
361
|
+
*/
|
|
362
|
+
Fx.prototype.fillSetter = function () {
|
|
363
|
+
Fx.prototype.strokeSetter.apply(this, arguments);
|
|
364
|
+
};
|
|
365
|
+
/**
|
|
366
|
+
* Handle animation of the color attributes directly.
|
|
367
|
+
*
|
|
368
|
+
* @function Highcharts.Fx#strokeSetter
|
|
369
|
+
*
|
|
370
|
+
* @return {void}
|
|
371
|
+
*/
|
|
372
|
+
Fx.prototype.strokeSetter = function () {
|
|
373
|
+
this.elem.attr(this.prop, H.color(this.start).tweenTo(H.color(this.end), this.pos), null, true);
|
|
374
|
+
};
|
|
375
|
+
return Fx;
|
|
376
|
+
}());
|
|
377
|
+
H.Fx = Fx;
|
|
378
|
+
export default Fx;
|
|
@@ -8,11 +8,13 @@
|
|
|
8
8
|
*
|
|
9
9
|
* */
|
|
10
10
|
'use strict';
|
|
11
|
-
import
|
|
11
|
+
import A from '../Animation/AnimationUtilities.js';
|
|
12
|
+
var animObject = A.animObject;
|
|
13
|
+
import Color from '../Color/Color.js';
|
|
12
14
|
import H from '../Globals.js';
|
|
13
15
|
import Tick from './Tick.js';
|
|
14
16
|
import U from '../Utilities.js';
|
|
15
|
-
var addEvent = U.addEvent,
|
|
17
|
+
var addEvent = U.addEvent, arrayMax = U.arrayMax, arrayMin = U.arrayMin, clamp = U.clamp, correctFloat = U.correctFloat, defined = U.defined, destroyObjectProperties = U.destroyObjectProperties, error = U.error, extend = U.extend, fireEvent = U.fireEvent, format = U.format, getMagnitude = U.getMagnitude, isArray = U.isArray, isFunction = U.isFunction, isNumber = U.isNumber, isString = U.isString, merge = U.merge, normalizeTickInterval = U.normalizeTickInterval, objectEach = U.objectEach, pick = U.pick, relativeLength = U.relativeLength, removeEvent = U.removeEvent, splat = U.splat, syncTimeout = U.syncTimeout;
|
|
16
18
|
/**
|
|
17
19
|
* Options for the path on the Axis to be calculated.
|
|
18
20
|
* @interface Highcharts.AxisPlotLinePathOptionsObject
|
|
@@ -2667,13 +2669,14 @@ var Axis = /** @class */ (function () {
|
|
|
2667
2669
|
* The tick index.
|
|
2668
2670
|
*/
|
|
2669
2671
|
Axis.prototype.renderTick = function (pos, i) {
|
|
2672
|
+
var _a;
|
|
2670
2673
|
var axis = this;
|
|
2671
2674
|
var isLinked = axis.isLinked;
|
|
2672
2675
|
var ticks = axis.ticks;
|
|
2673
2676
|
var slideInTicks = axis.chart.hasRendered && isNumber(axis.oldMin);
|
|
2674
2677
|
// Linked axes need an extra check to find out if
|
|
2675
2678
|
if (!isLinked ||
|
|
2676
|
-
(pos >= axis.min && pos <= axis.max)) {
|
|
2679
|
+
(pos >= axis.min && pos <= axis.max) || ((_a = axis.grid) === null || _a === void 0 ? void 0 : _a.isColumn)) {
|
|
2677
2680
|
if (!ticks[pos]) {
|
|
2678
2681
|
ticks[pos] = new Tick(axis, pos);
|
|
2679
2682
|
}
|
|
@@ -3467,7 +3470,9 @@ var Axis = /** @class */ (function () {
|
|
|
3467
3470
|
* representations used for each unit. For intermediate values,
|
|
3468
3471
|
* different units may be used, for example the `day` unit can be used
|
|
3469
3472
|
* on midnight and `hour` unit be used for intermediate values on the
|
|
3470
|
-
* same axis.
|
|
3473
|
+
* same axis.
|
|
3474
|
+
*
|
|
3475
|
+
* For an overview of the replacement codes, see
|
|
3471
3476
|
* [dateFormat](/class-reference/Highcharts#dateFormat).
|
|
3472
3477
|
*
|
|
3473
3478
|
* Defaults to:
|
|
@@ -3490,7 +3495,7 @@ var Axis = /** @class */ (function () {
|
|
|
3490
3495
|
* More information in x axis labels
|
|
3491
3496
|
*
|
|
3492
3497
|
* @declare Highcharts.AxisDateTimeLabelFormatsOptions
|
|
3493
|
-
* @product highcharts highstock
|
|
3498
|
+
* @product highcharts highstock gantt
|
|
3494
3499
|
*/
|
|
3495
3500
|
dateTimeLabelFormats: {
|
|
3496
3501
|
/**
|
|
@@ -4309,7 +4314,8 @@ var Axis = /** @class */ (function () {
|
|
|
4309
4314
|
* Y axis on left side
|
|
4310
4315
|
*
|
|
4311
4316
|
* @type {boolean}
|
|
4312
|
-
* @default false
|
|
4317
|
+
* @default {highcharts|highstock|highmaps} false
|
|
4318
|
+
* @default {gantt} true
|
|
4313
4319
|
* @apioption xAxis.opposite
|
|
4314
4320
|
*/
|
|
4315
4321
|
/**
|
|
@@ -9,12 +9,10 @@
|
|
|
9
9
|
* */
|
|
10
10
|
'use strict';
|
|
11
11
|
import Axis from './Axis.js';
|
|
12
|
-
import
|
|
12
|
+
import LineSeries from '../../Series/LineSeries.js';
|
|
13
|
+
import StackItem from '../../Extensions/Stacking.js';
|
|
13
14
|
import U from '../Utilities.js';
|
|
14
15
|
var addEvent = U.addEvent, find = U.find, fireEvent = U.fireEvent, isArray = U.isArray, isNumber = U.isNumber, pick = U.pick;
|
|
15
|
-
import '../Series/Series.js';
|
|
16
|
-
import StackItem from '../../Extensions/Stacking.js';
|
|
17
|
-
var Series = H.Series;
|
|
18
16
|
/* eslint-disable valid-jsdoc */
|
|
19
17
|
/**
|
|
20
18
|
* Provides support for broken axes.
|
|
@@ -319,7 +317,7 @@ var BrokenAxis = /** @class */ (function () {
|
|
|
319
317
|
*/
|
|
320
318
|
BrokenAxis.compose = function (AxisClass, SeriesClass) {
|
|
321
319
|
AxisClass.keepProps.push('brokenAxis');
|
|
322
|
-
var seriesProto =
|
|
320
|
+
var seriesProto = LineSeries.prototype;
|
|
323
321
|
/**
|
|
324
322
|
* @private
|
|
325
323
|
*/
|
|
@@ -530,5 +528,5 @@ var BrokenAxis = /** @class */ (function () {
|
|
|
530
528
|
};
|
|
531
529
|
return BrokenAxis;
|
|
532
530
|
}());
|
|
533
|
-
BrokenAxis.compose(Axis,
|
|
531
|
+
BrokenAxis.compose(Axis, LineSeries); // @todo remove automatism
|
|
534
532
|
export default BrokenAxis;
|
|
@@ -23,25 +23,26 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
23
23
|
})();
|
|
24
24
|
import Axis from './Axis.js';
|
|
25
25
|
import Chart from '../Chart/Chart.js';
|
|
26
|
-
import Color from '../Color.js';
|
|
26
|
+
import Color from '../Color/Color.js';
|
|
27
27
|
var color = Color.parse;
|
|
28
|
+
import ColorSeriesModule from '../../Mixins/ColorSeries.js';
|
|
29
|
+
var colorPointMixin = ColorSeriesModule.colorPointMixin, colorSeriesMixin = ColorSeriesModule.colorSeriesMixin;
|
|
30
|
+
import Fx from '../Animation/Fx.js';
|
|
28
31
|
import H from '../Globals.js';
|
|
29
32
|
var noop = H.noop;
|
|
30
33
|
import Legend from '../Legend.js';
|
|
31
34
|
import LegendSymbolMixin from '../../Mixins/LegendSymbol.js';
|
|
35
|
+
import LineSeries from '../../Series/LineSeries.js';
|
|
32
36
|
import Point from '../Series/Point.js';
|
|
33
37
|
import U from '../Utilities.js';
|
|
34
|
-
var addEvent = U.addEvent, erase = U.erase, extend = U.extend,
|
|
38
|
+
var addEvent = U.addEvent, erase = U.erase, extend = U.extend, isNumber = U.isNumber, merge = U.merge, pick = U.pick, splat = U.splat;
|
|
35
39
|
/**
|
|
36
40
|
* Color axis types
|
|
37
41
|
*
|
|
38
42
|
* @typedef {"linear"|"logarithmic"} Highcharts.ColorAxisTypeValue
|
|
39
43
|
*/
|
|
40
44
|
''; // detach doclet above
|
|
41
|
-
|
|
42
|
-
import '../Series/Series.js';
|
|
43
|
-
var Series = H.Series, colorPointMixin = H.colorPointMixin, colorSeriesMixin = H.colorSeriesMixin;
|
|
44
|
-
extend(Series.prototype, colorSeriesMixin);
|
|
45
|
+
extend(LineSeries.prototype, colorSeriesMixin);
|
|
45
46
|
extend(Point.prototype, colorPointMixin);
|
|
46
47
|
Chart.prototype.collectionsWithUpdate.push('colorAxis');
|
|
47
48
|
Chart.prototype.collectionsWithInit.colorAxis = [Chart.prototype.addColorAxis];
|
|
@@ -418,7 +419,7 @@ var ColorAxis = /** @class */ (function (_super) {
|
|
|
418
419
|
cSeries.maxColorValue = cSeries[colorKey + 'Max'];
|
|
419
420
|
}
|
|
420
421
|
else {
|
|
421
|
-
var cExtremes =
|
|
422
|
+
var cExtremes = LineSeries.prototype.getExtremes.call(cSeries, colorValArray);
|
|
422
423
|
cSeries.minColorValue = cExtremes.dataMin;
|
|
423
424
|
cSeries.maxColorValue = cExtremes.dataMax;
|
|
424
425
|
}
|
|
@@ -429,7 +430,7 @@ var ColorAxis = /** @class */ (function (_super) {
|
|
|
429
430
|
Math.max(this.dataMax, cSeries.maxColorValue);
|
|
430
431
|
}
|
|
431
432
|
if (!calculatedExtremes) {
|
|
432
|
-
|
|
433
|
+
LineSeries.prototype.applyExtremes.call(cSeries);
|
|
433
434
|
}
|
|
434
435
|
}
|
|
435
436
|
};
|
|
@@ -1092,7 +1093,7 @@ addEvent(Chart, 'afterGetAxes', function () {
|
|
|
1092
1093
|
}
|
|
1093
1094
|
});
|
|
1094
1095
|
// Add colorAxis to series axisTypes
|
|
1095
|
-
addEvent(
|
|
1096
|
+
addEvent(LineSeries, 'bindAxes', function () {
|
|
1096
1097
|
var axisTypes = this.axisTypes;
|
|
1097
1098
|
if (!axisTypes) {
|
|
1098
1099
|
this.axisTypes = ['colorAxis'];
|
|
@@ -1155,7 +1156,7 @@ addEvent(Legend, 'afterUpdate', function () {
|
|
|
1155
1156
|
}
|
|
1156
1157
|
});
|
|
1157
1158
|
// Calculate and set colors for points
|
|
1158
|
-
addEvent(
|
|
1159
|
+
addEvent(LineSeries, 'afterTranslate', function () {
|
|
1159
1160
|
if (this.chart.colorAxis &&
|
|
1160
1161
|
this.chart.colorAxis.length ||
|
|
1161
1162
|
this.colorAttribs) {
|