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,419 @@
|
|
|
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
|
+
import H from '../Globals.js';
|
|
11
|
+
import U from '../Utilities.js';
|
|
12
|
+
var isNumber = U.isNumber, merge = U.merge, pInt = U.pInt;
|
|
13
|
+
/**
|
|
14
|
+
* A valid color to be parsed and handled by Highcharts. Highcharts internally
|
|
15
|
+
* supports hex colors like `#ffffff`, rgb colors like `rgb(255,255,255)` and
|
|
16
|
+
* rgba colors like `rgba(255,255,255,1)`. Other colors may be supported by the
|
|
17
|
+
* browsers and displayed correctly, but Highcharts is not able to process them
|
|
18
|
+
* and apply concepts like opacity and brightening.
|
|
19
|
+
*
|
|
20
|
+
* @typedef {string} Highcharts.ColorString
|
|
21
|
+
*/
|
|
22
|
+
/**
|
|
23
|
+
* A valid color type than can be parsed and handled by Highcharts. It can be a
|
|
24
|
+
* color string, a gradient object, or a pattern object.
|
|
25
|
+
*
|
|
26
|
+
* @typedef {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject} Highcharts.ColorType
|
|
27
|
+
*/
|
|
28
|
+
/**
|
|
29
|
+
* Gradient options instead of a solid color.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* // Linear gradient used as a color option
|
|
33
|
+
* color: {
|
|
34
|
+
* linearGradient: { x1: 0, x2: 0, y1: 0, y2: 1 },
|
|
35
|
+
* stops: [
|
|
36
|
+
* [0, '#003399'], // start
|
|
37
|
+
* [0.5, '#ffffff'], // middle
|
|
38
|
+
* [1, '#3366AA'] // end
|
|
39
|
+
* ]
|
|
40
|
+
* }
|
|
41
|
+
*
|
|
42
|
+
* @interface Highcharts.GradientColorObject
|
|
43
|
+
*/ /**
|
|
44
|
+
* Holds an object that defines the start position and the end position relative
|
|
45
|
+
* to the shape.
|
|
46
|
+
* @name Highcharts.GradientColorObject#linearGradient
|
|
47
|
+
* @type {Highcharts.LinearGradientColorObject|undefined}
|
|
48
|
+
*/ /**
|
|
49
|
+
* Holds an object that defines the center position and the radius.
|
|
50
|
+
* @name Highcharts.GradientColorObject#radialGradient
|
|
51
|
+
* @type {Highcharts.RadialGradientColorObject|undefined}
|
|
52
|
+
*/ /**
|
|
53
|
+
* The first item in each tuple is the position in the gradient, where 0 is the
|
|
54
|
+
* start of the gradient and 1 is the end of the gradient. Multiple stops can be
|
|
55
|
+
* applied. The second item is the color for each stop. This color can also be
|
|
56
|
+
* given in the rgba format.
|
|
57
|
+
* @name Highcharts.GradientColorObject#stops
|
|
58
|
+
* @type {Array<Highcharts.GradientColorStopObject>}
|
|
59
|
+
*/
|
|
60
|
+
/**
|
|
61
|
+
* Color stop tuple.
|
|
62
|
+
*
|
|
63
|
+
* @see Highcharts.GradientColorObject
|
|
64
|
+
*
|
|
65
|
+
* @interface Highcharts.GradientColorStopObject
|
|
66
|
+
*/ /**
|
|
67
|
+
* @name Highcharts.GradientColorStopObject#0
|
|
68
|
+
* @type {number}
|
|
69
|
+
*/ /**
|
|
70
|
+
* @name Highcharts.GradientColorStopObject#1
|
|
71
|
+
* @type {Highcharts.ColorString}
|
|
72
|
+
*/ /**
|
|
73
|
+
* @name Highcharts.GradientColorStopObject#color
|
|
74
|
+
* @type {Highcharts.Color|undefined}
|
|
75
|
+
*/
|
|
76
|
+
/**
|
|
77
|
+
* Defines the start position and the end position for a gradient relative
|
|
78
|
+
* to the shape. Start position (x1, y1) and end position (x2, y2) are relative
|
|
79
|
+
* to the shape, where 0 means top/left and 1 is bottom/right.
|
|
80
|
+
*
|
|
81
|
+
* @interface Highcharts.LinearGradientColorObject
|
|
82
|
+
*/ /**
|
|
83
|
+
* Start horizontal position of the gradient. Float ranges 0-1.
|
|
84
|
+
* @name Highcharts.LinearGradientColorObject#x1
|
|
85
|
+
* @type {number}
|
|
86
|
+
*/ /**
|
|
87
|
+
* End horizontal position of the gradient. Float ranges 0-1.
|
|
88
|
+
* @name Highcharts.LinearGradientColorObject#x2
|
|
89
|
+
* @type {number}
|
|
90
|
+
*/ /**
|
|
91
|
+
* Start vertical position of the gradient. Float ranges 0-1.
|
|
92
|
+
* @name Highcharts.LinearGradientColorObject#y1
|
|
93
|
+
* @type {number}
|
|
94
|
+
*/ /**
|
|
95
|
+
* End vertical position of the gradient. Float ranges 0-1.
|
|
96
|
+
* @name Highcharts.LinearGradientColorObject#y2
|
|
97
|
+
* @type {number}
|
|
98
|
+
*/
|
|
99
|
+
/**
|
|
100
|
+
* Defines the center position and the radius for a gradient.
|
|
101
|
+
*
|
|
102
|
+
* @interface Highcharts.RadialGradientColorObject
|
|
103
|
+
*/ /**
|
|
104
|
+
* Center horizontal position relative to the shape. Float ranges 0-1.
|
|
105
|
+
* @name Highcharts.RadialGradientColorObject#cx
|
|
106
|
+
* @type {number}
|
|
107
|
+
*/ /**
|
|
108
|
+
* Center vertical position relative to the shape. Float ranges 0-1.
|
|
109
|
+
* @name Highcharts.RadialGradientColorObject#cy
|
|
110
|
+
* @type {number}
|
|
111
|
+
*/ /**
|
|
112
|
+
* Radius relative to the shape. Float ranges 0-1.
|
|
113
|
+
* @name Highcharts.RadialGradientColorObject#r
|
|
114
|
+
* @type {number}
|
|
115
|
+
*/
|
|
116
|
+
''; // detach doclets above
|
|
117
|
+
/* *
|
|
118
|
+
*
|
|
119
|
+
* Class
|
|
120
|
+
*
|
|
121
|
+
* */
|
|
122
|
+
/* eslint-disable no-invalid-this, valid-jsdoc */
|
|
123
|
+
/**
|
|
124
|
+
* Handle color operations. Some object methods are chainable.
|
|
125
|
+
*
|
|
126
|
+
* @class
|
|
127
|
+
* @name Highcharts.Color
|
|
128
|
+
*
|
|
129
|
+
* @param {Highcharts.ColorType} input
|
|
130
|
+
* The input color in either rbga or hex format
|
|
131
|
+
*/
|
|
132
|
+
var Color = /** @class */ (function () {
|
|
133
|
+
/* *
|
|
134
|
+
*
|
|
135
|
+
* Constructors
|
|
136
|
+
*
|
|
137
|
+
* */
|
|
138
|
+
function Color(input) {
|
|
139
|
+
// Collection of parsers. This can be extended from the outside by pushing
|
|
140
|
+
// parsers to Highcharts.Color.prototype.parsers.
|
|
141
|
+
this.parsers = [{
|
|
142
|
+
// RGBA color
|
|
143
|
+
// eslint-disable-next-line max-len
|
|
144
|
+
regex: /rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/,
|
|
145
|
+
parse: function (result) {
|
|
146
|
+
return [
|
|
147
|
+
pInt(result[1]),
|
|
148
|
+
pInt(result[2]),
|
|
149
|
+
pInt(result[3]),
|
|
150
|
+
parseFloat(result[4], 10)
|
|
151
|
+
];
|
|
152
|
+
}
|
|
153
|
+
}, {
|
|
154
|
+
// RGB color
|
|
155
|
+
regex: /rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,
|
|
156
|
+
parse: function (result) {
|
|
157
|
+
return [pInt(result[1]), pInt(result[2]), pInt(result[3]), 1];
|
|
158
|
+
}
|
|
159
|
+
}];
|
|
160
|
+
this.rgba = [];
|
|
161
|
+
// Backwards compatibility, allow class overwrite
|
|
162
|
+
if (H.Color !== Color) {
|
|
163
|
+
return new H.Color(input);
|
|
164
|
+
}
|
|
165
|
+
// Backwards compatibility, allow instanciation without new (#13053)
|
|
166
|
+
if (!(this instanceof Color)) {
|
|
167
|
+
return new Color(input);
|
|
168
|
+
}
|
|
169
|
+
this.init(input);
|
|
170
|
+
}
|
|
171
|
+
/* *
|
|
172
|
+
*
|
|
173
|
+
* Static Functions
|
|
174
|
+
*
|
|
175
|
+
* */
|
|
176
|
+
/**
|
|
177
|
+
* Creates a color instance out of a color string or object.
|
|
178
|
+
*
|
|
179
|
+
* @function Highcharts.Color.parse
|
|
180
|
+
*
|
|
181
|
+
* @param {Highcharts.ColorType} input
|
|
182
|
+
* The input color in either rbga or hex format.
|
|
183
|
+
*
|
|
184
|
+
* @return {Highcharts.Color}
|
|
185
|
+
* Color instance.
|
|
186
|
+
*/
|
|
187
|
+
Color.parse = function (input) {
|
|
188
|
+
return new Color(input);
|
|
189
|
+
};
|
|
190
|
+
/* *
|
|
191
|
+
*
|
|
192
|
+
* Functions
|
|
193
|
+
*
|
|
194
|
+
* */
|
|
195
|
+
/**
|
|
196
|
+
* Parse the input color to rgba array
|
|
197
|
+
*
|
|
198
|
+
* @private
|
|
199
|
+
* @function Highcharts.Color#init
|
|
200
|
+
*
|
|
201
|
+
* @param {Highcharts.ColorType} input
|
|
202
|
+
* The input color in either rbga or hex format
|
|
203
|
+
*
|
|
204
|
+
* @return {void}
|
|
205
|
+
*/
|
|
206
|
+
Color.prototype.init = function (input) {
|
|
207
|
+
var result, rgba, i, parser, len;
|
|
208
|
+
this.input = input = Color.names[input && input.toLowerCase ?
|
|
209
|
+
input.toLowerCase() :
|
|
210
|
+
''] || input;
|
|
211
|
+
// Gradients
|
|
212
|
+
if (input && input.stops) {
|
|
213
|
+
this.stops = input.stops.map(function (stop) {
|
|
214
|
+
return new Color(stop[1]);
|
|
215
|
+
});
|
|
216
|
+
// Solid colors
|
|
217
|
+
}
|
|
218
|
+
else {
|
|
219
|
+
// Bitmasking as input[0] is not working for legacy IE.
|
|
220
|
+
if (input &&
|
|
221
|
+
input.charAt &&
|
|
222
|
+
input.charAt() === '#') {
|
|
223
|
+
len = input.length;
|
|
224
|
+
input = parseInt(input.substr(1), 16);
|
|
225
|
+
// Handle long-form, e.g. #AABBCC
|
|
226
|
+
if (len === 7) {
|
|
227
|
+
rgba = [
|
|
228
|
+
(input & 0xFF0000) >> 16,
|
|
229
|
+
(input & 0xFF00) >> 8,
|
|
230
|
+
(input & 0xFF),
|
|
231
|
+
1
|
|
232
|
+
];
|
|
233
|
+
// Handle short-form, e.g. #ABC
|
|
234
|
+
// In short form, the value is assumed to be the same
|
|
235
|
+
// for both nibbles for each component. e.g. #ABC = #AABBCC
|
|
236
|
+
}
|
|
237
|
+
else if (len === 4) {
|
|
238
|
+
rgba = [
|
|
239
|
+
(((input & 0xF00) >> 4) |
|
|
240
|
+
(input & 0xF00) >> 8),
|
|
241
|
+
(((input & 0xF0) >> 4) |
|
|
242
|
+
(input & 0xF0)),
|
|
243
|
+
((input & 0xF) << 4) | (input & 0xF),
|
|
244
|
+
1
|
|
245
|
+
];
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
// Otherwise, check regex parsers
|
|
249
|
+
if (!rgba) {
|
|
250
|
+
i = this.parsers.length;
|
|
251
|
+
while (i-- && !rgba) {
|
|
252
|
+
parser = this.parsers[i];
|
|
253
|
+
result = parser.regex.exec(input);
|
|
254
|
+
if (result) {
|
|
255
|
+
rgba = parser.parse(result);
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
this.rgba = rgba || [];
|
|
261
|
+
};
|
|
262
|
+
/**
|
|
263
|
+
* Return the color or gradient stops in the specified format
|
|
264
|
+
*
|
|
265
|
+
* @function Highcharts.Color#get
|
|
266
|
+
*
|
|
267
|
+
* @param {string} [format]
|
|
268
|
+
* Possible values are 'a', 'rgb', 'rgba' (default).
|
|
269
|
+
*
|
|
270
|
+
* @return {Highcharts.ColorType}
|
|
271
|
+
* This color as a string or gradient stops.
|
|
272
|
+
*/
|
|
273
|
+
Color.prototype.get = function (format) {
|
|
274
|
+
var input = this.input, rgba = this.rgba, ret;
|
|
275
|
+
if (typeof this.stops !== 'undefined') {
|
|
276
|
+
ret = merge(input);
|
|
277
|
+
ret.stops = [].concat(ret.stops);
|
|
278
|
+
this.stops.forEach(function (stop, i) {
|
|
279
|
+
ret.stops[i] = [
|
|
280
|
+
ret.stops[i][0],
|
|
281
|
+
stop.get(format)
|
|
282
|
+
];
|
|
283
|
+
});
|
|
284
|
+
// it's NaN if gradient colors on a column chart
|
|
285
|
+
}
|
|
286
|
+
else if (rgba && isNumber(rgba[0])) {
|
|
287
|
+
if (format === 'rgb' || (!format && rgba[3] === 1)) {
|
|
288
|
+
ret = 'rgb(' + rgba[0] + ',' + rgba[1] + ',' + rgba[2] + ')';
|
|
289
|
+
}
|
|
290
|
+
else if (format === 'a') {
|
|
291
|
+
ret = rgba[3];
|
|
292
|
+
}
|
|
293
|
+
else {
|
|
294
|
+
ret = 'rgba(' + rgba.join(',') + ')';
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
else {
|
|
298
|
+
ret = input;
|
|
299
|
+
}
|
|
300
|
+
return ret;
|
|
301
|
+
};
|
|
302
|
+
/**
|
|
303
|
+
* Brighten the color instance.
|
|
304
|
+
*
|
|
305
|
+
* @function Highcharts.Color#brighten
|
|
306
|
+
*
|
|
307
|
+
* @param {number} alpha
|
|
308
|
+
* The alpha value.
|
|
309
|
+
*
|
|
310
|
+
* @return {Highcharts.Color}
|
|
311
|
+
* This color with modifications.
|
|
312
|
+
*/
|
|
313
|
+
Color.prototype.brighten = function (alpha) {
|
|
314
|
+
var i, rgba = this.rgba;
|
|
315
|
+
if (this.stops) {
|
|
316
|
+
this.stops.forEach(function (stop) {
|
|
317
|
+
stop.brighten(alpha);
|
|
318
|
+
});
|
|
319
|
+
}
|
|
320
|
+
else if (isNumber(alpha) && alpha !== 0) {
|
|
321
|
+
for (i = 0; i < 3; i++) {
|
|
322
|
+
rgba[i] += pInt(alpha * 255);
|
|
323
|
+
if (rgba[i] < 0) {
|
|
324
|
+
rgba[i] = 0;
|
|
325
|
+
}
|
|
326
|
+
if (rgba[i] > 255) {
|
|
327
|
+
rgba[i] = 255;
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
return this;
|
|
332
|
+
};
|
|
333
|
+
/**
|
|
334
|
+
* Set the color's opacity to a given alpha value.
|
|
335
|
+
*
|
|
336
|
+
* @function Highcharts.Color#setOpacity
|
|
337
|
+
*
|
|
338
|
+
* @param {number} alpha
|
|
339
|
+
* Opacity between 0 and 1.
|
|
340
|
+
*
|
|
341
|
+
* @return {Highcharts.Color}
|
|
342
|
+
* Color with modifications.
|
|
343
|
+
*/
|
|
344
|
+
Color.prototype.setOpacity = function (alpha) {
|
|
345
|
+
this.rgba[3] = alpha;
|
|
346
|
+
return this;
|
|
347
|
+
};
|
|
348
|
+
/**
|
|
349
|
+
* Return an intermediate color between two colors.
|
|
350
|
+
*
|
|
351
|
+
* @function Highcharts.Color#tweenTo
|
|
352
|
+
*
|
|
353
|
+
* @param {Highcharts.Color} to
|
|
354
|
+
* The color object to tween to.
|
|
355
|
+
*
|
|
356
|
+
* @param {number} pos
|
|
357
|
+
* The intermediate position, where 0 is the from color (current
|
|
358
|
+
* color item), and 1 is the `to` color.
|
|
359
|
+
*
|
|
360
|
+
* @return {Highcharts.ColorString}
|
|
361
|
+
* The intermediate color in rgba notation.
|
|
362
|
+
*/
|
|
363
|
+
Color.prototype.tweenTo = function (to, pos) {
|
|
364
|
+
// Check for has alpha, because rgba colors perform worse due to lack of
|
|
365
|
+
// support in WebKit.
|
|
366
|
+
var fromRgba = this.rgba, toRgba = to.rgba, hasAlpha, ret;
|
|
367
|
+
// Unsupported color, return to-color (#3920, #7034)
|
|
368
|
+
if (!toRgba.length || !fromRgba || !fromRgba.length) {
|
|
369
|
+
ret = to.input || 'none';
|
|
370
|
+
// Interpolate
|
|
371
|
+
}
|
|
372
|
+
else {
|
|
373
|
+
hasAlpha = (toRgba[3] !== 1 || fromRgba[3] !== 1);
|
|
374
|
+
ret = (hasAlpha ? 'rgba(' : 'rgb(') +
|
|
375
|
+
Math.round(toRgba[0] + (fromRgba[0] - toRgba[0]) * (1 - pos)) +
|
|
376
|
+
',' +
|
|
377
|
+
Math.round(toRgba[1] + (fromRgba[1] - toRgba[1]) * (1 - pos)) +
|
|
378
|
+
',' +
|
|
379
|
+
Math.round(toRgba[2] + (fromRgba[2] - toRgba[2]) * (1 - pos)) +
|
|
380
|
+
(hasAlpha ?
|
|
381
|
+
(',' +
|
|
382
|
+
(toRgba[3] + (fromRgba[3] - toRgba[3]) * (1 - pos))) :
|
|
383
|
+
'') +
|
|
384
|
+
')';
|
|
385
|
+
}
|
|
386
|
+
return ret;
|
|
387
|
+
};
|
|
388
|
+
/* *
|
|
389
|
+
*
|
|
390
|
+
* Static Properties
|
|
391
|
+
*
|
|
392
|
+
* */
|
|
393
|
+
// Collection of named colors. Can be extended from the outside by adding
|
|
394
|
+
// colors to Highcharts.Color.names.
|
|
395
|
+
Color.names = {
|
|
396
|
+
white: '#ffffff',
|
|
397
|
+
black: '#000000'
|
|
398
|
+
};
|
|
399
|
+
return Color;
|
|
400
|
+
}());
|
|
401
|
+
H.Color = Color;
|
|
402
|
+
/**
|
|
403
|
+
* Creates a color instance out of a color string.
|
|
404
|
+
*
|
|
405
|
+
* @function Highcharts.color
|
|
406
|
+
*
|
|
407
|
+
* @param {Highcharts.ColorType} input
|
|
408
|
+
* The input color in either rbga or hex format
|
|
409
|
+
*
|
|
410
|
+
* @return {Highcharts.Color}
|
|
411
|
+
* Color instance
|
|
412
|
+
*/
|
|
413
|
+
H.color = Color.parse;
|
|
414
|
+
/* *
|
|
415
|
+
*
|
|
416
|
+
* Export
|
|
417
|
+
*
|
|
418
|
+
* */
|
|
419
|
+
export default Color;
|
|
@@ -8,17 +8,20 @@
|
|
|
8
8
|
*
|
|
9
9
|
* */
|
|
10
10
|
'use strict';
|
|
11
|
+
import A from './Animation/AnimationUtilities.js';
|
|
12
|
+
var animate = A.animate, setAnimation = A.setAnimation;
|
|
11
13
|
import Axis from './Axis/Axis.js';
|
|
14
|
+
import BaseSeries from './Series/Series.js';
|
|
15
|
+
var seriesTypes = BaseSeries.seriesTypes;
|
|
12
16
|
import Chart from './Chart/Chart.js';
|
|
13
17
|
import H from './Globals.js';
|
|
18
|
+
import LineSeries from '../Series/LineSeries.js';
|
|
14
19
|
import O from './Options.js';
|
|
15
20
|
var time = O.time;
|
|
16
21
|
import Point from '../Core/Series/Point.js';
|
|
17
22
|
import Time from './Time.js';
|
|
18
23
|
import U from './Utilities.js';
|
|
19
|
-
var addEvent = U.addEvent,
|
|
20
|
-
import './Series/Series.js';
|
|
21
|
-
var Series = H.Series, seriesTypes = H.seriesTypes;
|
|
24
|
+
var addEvent = U.addEvent, createElement = U.createElement, css = U.css, defined = U.defined, erase = U.erase, error = U.error, extend = U.extend, fireEvent = U.fireEvent, isArray = U.isArray, isNumber = U.isNumber, isObject = U.isObject, isString = U.isString, merge = U.merge, objectEach = U.objectEach, pick = U.pick, relativeLength = U.relativeLength, splat = U.splat;
|
|
22
25
|
/* eslint-disable valid-jsdoc */
|
|
23
26
|
/**
|
|
24
27
|
* Remove settings that have not changed, to avoid unnecessary rendering or
|
|
@@ -472,14 +475,20 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
472
475
|
if (!chart.styledMode && options.colors) {
|
|
473
476
|
this.options.colors = options.colors;
|
|
474
477
|
}
|
|
475
|
-
if (options.
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
478
|
+
if (options.time) {
|
|
479
|
+
// Maintaining legacy global time. If the chart is instanciated
|
|
480
|
+
// first with global time, then updated with time options, we need
|
|
481
|
+
// to create a new Time instance to avoid mutating the global time
|
|
482
|
+
// (#10536).
|
|
483
|
+
if (this.time === time) {
|
|
484
|
+
this.time = new Time(options.time);
|
|
485
|
+
}
|
|
486
|
+
// If we're updating, the time class is different from other chart
|
|
487
|
+
// classes (chart.legend, chart.tooltip etc) in that it doesn't know
|
|
488
|
+
// about the chart. The other chart[something].update functions also
|
|
489
|
+
// set the chart.options[something]. For the time class however we
|
|
490
|
+
// need to update the chart options separately. #14230.
|
|
491
|
+
merge(true, chart.options.time, options.time);
|
|
483
492
|
}
|
|
484
493
|
// Some option stuctures correspond one-to-one to chart objects that
|
|
485
494
|
// have update methods, for example
|
|
@@ -499,6 +508,12 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
499
508
|
}
|
|
500
509
|
else if (typeof chart[adders[key]] === 'function') {
|
|
501
510
|
chart[adders[key]](val);
|
|
511
|
+
// Else, just merge the options. For nodes like loading, noData,
|
|
512
|
+
// plotOptions
|
|
513
|
+
}
|
|
514
|
+
else if (key !== 'color' &&
|
|
515
|
+
chart.collectionsWithUpdate.indexOf(key) === -1) {
|
|
516
|
+
merge(true, chart.options[key], options[key]);
|
|
502
517
|
}
|
|
503
518
|
if (key !== 'chart' &&
|
|
504
519
|
chart.propsRequireUpdateSeries.indexOf(key) !== -1) {
|
|
@@ -593,10 +608,6 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
593
608
|
}
|
|
594
609
|
}, this);
|
|
595
610
|
}
|
|
596
|
-
// For loading, just update the options, do not redraw
|
|
597
|
-
if (options.loading) {
|
|
598
|
-
merge(true, chart.options.loading, options.loading);
|
|
599
|
-
}
|
|
600
611
|
// Update size. Redraw is forced.
|
|
601
612
|
newWidth = optionsChart && optionsChart.width;
|
|
602
613
|
newHeight = optionsChart && optionsChart.height;
|
|
@@ -793,7 +804,7 @@ extend(Point.prototype, /** @lends Highcharts.Point.prototype */ {
|
|
|
793
804
|
}
|
|
794
805
|
});
|
|
795
806
|
// Extend the series prototype for dynamic methods
|
|
796
|
-
extend(
|
|
807
|
+
extend(LineSeries.prototype, /** @lends Series.prototype */ {
|
|
797
808
|
/**
|
|
798
809
|
* Add a point to the series after render time. The point can be added at
|
|
799
810
|
* the end, or by giving it an X value, to the start or in the middle of the
|
|
@@ -1040,21 +1051,23 @@ extend(Series.prototype, /** @lends Series.prototype */ {
|
|
|
1040
1051
|
var series = this, chart = series.chart,
|
|
1041
1052
|
// must use user options when changing type because series.options
|
|
1042
1053
|
// is merged in with type specific plotOptions
|
|
1043
|
-
oldOptions = series.userOptions, seriesOptions, initialType = series.initialType || series.type, newType = (options.type ||
|
|
1054
|
+
oldOptions = series.userOptions, seriesOptions, initialType = series.initialType || series.type, plotOptions = chart.options.plotOptions, newType = (options.type ||
|
|
1044
1055
|
oldOptions.type ||
|
|
1045
1056
|
chart.options.chart.type), keepPoints = !(
|
|
1046
1057
|
// Indicators, histograms etc recalculate the data. It should be
|
|
1047
1058
|
// possible to omit this.
|
|
1048
1059
|
this.hasDerivedData ||
|
|
1049
|
-
// Changes to data grouping requires new points in new groups
|
|
1050
|
-
options.dataGrouping ||
|
|
1051
1060
|
// New type requires new point classes
|
|
1052
1061
|
(newType && newType !== this.type) ||
|
|
1053
1062
|
// New options affecting how the data points are built
|
|
1054
1063
|
typeof options.pointStart !== 'undefined' ||
|
|
1055
|
-
options.pointInterval ||
|
|
1056
|
-
|
|
1057
|
-
|
|
1064
|
+
typeof options.pointInterval !== 'undefined' ||
|
|
1065
|
+
// Changes to data grouping requires new points in new group
|
|
1066
|
+
series.hasOptionChanged('dataGrouping') ||
|
|
1067
|
+
series.hasOptionChanged('pointStart') ||
|
|
1068
|
+
series.hasOptionChanged('pointInterval') ||
|
|
1069
|
+
series.hasOptionChanged('pointIntervalUnit') ||
|
|
1070
|
+
series.hasOptionChanged('keys')), initialSeriesProto = seriesTypes[initialType].prototype, n, groups = [
|
|
1058
1071
|
'group',
|
|
1059
1072
|
'markerGroup',
|
|
1060
1073
|
'dataLabelsGroup',
|
|
@@ -1097,7 +1110,7 @@ extend(Series.prototype, /** @lends Series.prototype */ {
|
|
|
1097
1110
|
series.index : oldOptions.index,
|
|
1098
1111
|
pointStart: pick(
|
|
1099
1112
|
// when updating from blank (#7933)
|
|
1100
|
-
oldOptions.pointStart,
|
|
1113
|
+
plotOptions && plotOptions.series && plotOptions.series.pointStart, oldOptions.pointStart,
|
|
1101
1114
|
// when updating after addPoint
|
|
1102
1115
|
series.xData[0])
|
|
1103
1116
|
}, (!keepPoints && { data: series.options.data }), options);
|
|
@@ -1187,6 +1200,24 @@ extend(Series.prototype, /** @lends Series.prototype */ {
|
|
|
1187
1200
|
setName: function (name) {
|
|
1188
1201
|
this.name = this.options.name = this.userOptions.name = name;
|
|
1189
1202
|
this.chart.isDirtyLegend = true;
|
|
1203
|
+
},
|
|
1204
|
+
/**
|
|
1205
|
+
* Check if the option has changed.
|
|
1206
|
+
*
|
|
1207
|
+
* @private
|
|
1208
|
+
* @function Highcharts.Series#hasOptionChanged
|
|
1209
|
+
*
|
|
1210
|
+
* @param {string} option
|
|
1211
|
+
*
|
|
1212
|
+
* @return {boolean}
|
|
1213
|
+
*/
|
|
1214
|
+
hasOptionChanged: function (optionName) {
|
|
1215
|
+
var chart = this.chart, option = this.options[optionName], plotOptions = chart.options.plotOptions, oldOption = this.userOptions[optionName];
|
|
1216
|
+
if (oldOption) {
|
|
1217
|
+
return option !== oldOption;
|
|
1218
|
+
}
|
|
1219
|
+
return option !==
|
|
1220
|
+
pick(plotOptions && plotOptions[this.type] && plotOptions[this.type][optionName], plotOptions && plotOptions.series && plotOptions.series[optionName], option);
|
|
1190
1221
|
}
|
|
1191
1222
|
});
|
|
1192
1223
|
// Extend the Axis.prototype for dynamic methods
|
|
@@ -8,9 +8,13 @@
|
|
|
8
8
|
*
|
|
9
9
|
* */
|
|
10
10
|
'use strict';
|
|
11
|
+
import BaseSeries from './Series/Series.js';
|
|
12
|
+
var seriesTypes = BaseSeries.seriesTypes;
|
|
11
13
|
import Chart from './Chart/Chart.js';
|
|
12
14
|
import H from './Globals.js';
|
|
15
|
+
var hasTouch = H.hasTouch, svg = H.svg;
|
|
13
16
|
import Legend from './Legend.js';
|
|
17
|
+
import LineSeries from '../Series/LineSeries.js';
|
|
14
18
|
import O from './Options.js';
|
|
15
19
|
var defaultOptions = O.defaultOptions;
|
|
16
20
|
import Point from '../Core/Series/Point.js';
|
|
@@ -64,8 +68,7 @@ var addEvent = U.addEvent, createElement = U.createElement, css = U.css, defined
|
|
|
64
68
|
* @param {Highcharts.PointInteractionEventObject} event
|
|
65
69
|
* Event that occured.
|
|
66
70
|
*/
|
|
67
|
-
|
|
68
|
-
var hasTouch = H.hasTouch, Series = H.Series, seriesTypes = H.seriesTypes, svg = H.svg, TrackerMixin;
|
|
71
|
+
''; // detach doclets above
|
|
69
72
|
/* eslint-disable valid-jsdoc */
|
|
70
73
|
/**
|
|
71
74
|
* TrackerMixin for points and graphs.
|
|
@@ -73,7 +76,7 @@ var hasTouch = H.hasTouch, Series = H.Series, seriesTypes = H.seriesTypes, svg =
|
|
|
73
76
|
* @private
|
|
74
77
|
* @mixin Highcharts.TrackerMixin
|
|
75
78
|
*/
|
|
76
|
-
TrackerMixin = H.TrackerMixin = {
|
|
79
|
+
var TrackerMixin = H.TrackerMixin = {
|
|
77
80
|
/**
|
|
78
81
|
* Draw the tracker for a point.
|
|
79
82
|
*
|
|
@@ -515,11 +518,11 @@ extend(Chart.prototype, /** @lends Chart.prototype */ {
|
|
|
515
518
|
}
|
|
516
519
|
}
|
|
517
520
|
});
|
|
518
|
-
paddedMin = Math.min(
|
|
521
|
+
paddedMin = Math.min(pick(panningState === null || panningState === void 0 ? void 0 : panningState.startMin, extremes.dataMin), halfPointRange ?
|
|
519
522
|
extremes.min :
|
|
520
523
|
axis.toValue(axis.toPixels(extremes.min) -
|
|
521
524
|
axis.minPixelPadding));
|
|
522
|
-
paddedMax = Math.max(
|
|
525
|
+
paddedMax = Math.max(pick(panningState === null || panningState === void 0 ? void 0 : panningState.startMax, extremes.dataMax), halfPointRange ?
|
|
523
526
|
extremes.max :
|
|
524
527
|
axis.toValue(axis.toPixels(extremes.max) +
|
|
525
528
|
axis.minPixelPadding));
|
|
@@ -875,7 +878,7 @@ extend(Point.prototype, /** @lends Highcharts.Point.prototype */ {
|
|
|
875
878
|
}
|
|
876
879
|
});
|
|
877
880
|
// Extend the Series object with interaction
|
|
878
|
-
extend(
|
|
881
|
+
extend(LineSeries.prototype, /** @lends Highcharts.Series.prototype */ {
|
|
879
882
|
/**
|
|
880
883
|
* Runs on mouse over the series graphical items.
|
|
881
884
|
*
|
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
*
|
|
9
9
|
* */
|
|
10
10
|
'use strict';
|
|
11
|
+
import A from './Animation/AnimationUtilities.js';
|
|
12
|
+
var animObject = A.animObject, setAnimation = A.setAnimation;
|
|
11
13
|
import H from './Globals.js';
|
|
12
14
|
/**
|
|
13
15
|
* Gets fired when the legend item belonging to a point is clicked. The default
|
|
@@ -78,7 +80,7 @@ import H from './Globals.js';
|
|
|
78
80
|
* @type {"legendItemClick"}
|
|
79
81
|
*/
|
|
80
82
|
import U from './Utilities.js';
|
|
81
|
-
var addEvent = U.addEvent,
|
|
83
|
+
var addEvent = U.addEvent, css = U.css, defined = U.defined, discardElement = U.discardElement, find = U.find, fireEvent = U.fireEvent, format = U.format, isNumber = U.isNumber, merge = U.merge, pick = U.pick, relativeLength = U.relativeLength, stableSort = U.stableSort, syncTimeout = U.syncTimeout, wrap = U.wrap;
|
|
82
84
|
var isFirefox = H.isFirefox, marginNames = H.marginNames, win = H.win;
|
|
83
85
|
/* eslint-disable no-invalid-this, valid-jsdoc */
|
|
84
86
|
/**
|