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
|
@@ -113,7 +113,7 @@ var controllableMixin = {
|
|
|
113
113
|
* @return {Highcharts.AnnotationAnchorObject} a controllable anchor
|
|
114
114
|
*/
|
|
115
115
|
anchor: function (point) {
|
|
116
|
-
var plotBox = point.series.getPlotBox(), box = point.mock ?
|
|
116
|
+
var plotBox = point.series.getPlotBox(), chart = point.series.chart, box = point.mock ?
|
|
117
117
|
point.toAnchor() :
|
|
118
118
|
Tooltip.prototype.getAnchor.call({
|
|
119
119
|
chart: point.series.chart
|
|
@@ -126,8 +126,8 @@ var controllableMixin = {
|
|
|
126
126
|
return {
|
|
127
127
|
relativePosition: anchor,
|
|
128
128
|
absolutePosition: merge(anchor, {
|
|
129
|
-
x: anchor.x + plotBox.translateX,
|
|
130
|
-
y: anchor.y + plotBox.translateY
|
|
129
|
+
x: anchor.x + (point.mock ? plotBox.translateX : chart.plotLeft),
|
|
130
|
+
y: anchor.y + (point.mock ? plotBox.translateY : chart.plotTop)
|
|
131
131
|
})
|
|
132
132
|
};
|
|
133
133
|
},
|
|
@@ -43,8 +43,8 @@ import H from '../../Core/Globals.js';
|
|
|
43
43
|
*/
|
|
44
44
|
import U from '../../Core/Utilities.js';
|
|
45
45
|
var defined = U.defined, extend = U.extend, fireEvent = U.fireEvent;
|
|
46
|
-
import '../../Core/Axis/Axis.js';
|
|
47
|
-
import '../../
|
|
46
|
+
import Axis from '../../Core/Axis/Axis.js';
|
|
47
|
+
import '../../Series/LineSeries.js';
|
|
48
48
|
/* eslint-disable no-invalid-this, valid-jsdoc */
|
|
49
49
|
/**
|
|
50
50
|
* A trimmed point object which imitates {@link Highchart.Point} class. It is
|
|
@@ -259,7 +259,7 @@ var MockPoint = /** @class */ (function () {
|
|
|
259
259
|
MockPoint.prototype.setAxis = function (options, xOrY) {
|
|
260
260
|
var axisName = (xOrY + 'Axis'), axisOptions = options[axisName], chart = this.series.chart;
|
|
261
261
|
this.series[axisName] =
|
|
262
|
-
axisOptions instanceof
|
|
262
|
+
axisOptions instanceof Axis ?
|
|
263
263
|
axisOptions :
|
|
264
264
|
defined(axisOptions) ?
|
|
265
265
|
(chart[axisName][axisOptions] ||
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* */
|
|
10
10
|
'use strict';
|
|
11
11
|
import Annotation from './Annotations.js';
|
|
12
|
+
import Chart from '../../Core/Chart/Chart.js';
|
|
12
13
|
import chartNavigationMixin from '../../Mixins/Navigation.js';
|
|
13
14
|
import H from '../../Core/Globals.js';
|
|
14
15
|
import U from '../../Core/Utilities.js';
|
|
@@ -640,7 +641,7 @@ var NavigationBindings = /** @class */ (function () {
|
|
|
640
641
|
* @type {bindingsUtils}
|
|
641
642
|
*/
|
|
642
643
|
NavigationBindings.prototype.utils = bindingsUtils;
|
|
643
|
-
|
|
644
|
+
Chart.prototype.initNavigationBindings = function () {
|
|
644
645
|
var chart = this, options = chart.options;
|
|
645
646
|
if (options && options.navigation && options.navigation.bindings) {
|
|
646
647
|
chart.navigationBindings = new NavigationBindings(chart, options.navigation);
|
|
@@ -648,10 +649,10 @@ H.Chart.prototype.initNavigationBindings = function () {
|
|
|
648
649
|
chart.navigationBindings.initUpdate();
|
|
649
650
|
}
|
|
650
651
|
};
|
|
651
|
-
addEvent(
|
|
652
|
+
addEvent(Chart, 'load', function () {
|
|
652
653
|
this.initNavigationBindings();
|
|
653
654
|
});
|
|
654
|
-
addEvent(
|
|
655
|
+
addEvent(Chart, 'destroy', function () {
|
|
655
656
|
if (this.navigationBindings) {
|
|
656
657
|
this.navigationBindings.destroy();
|
|
657
658
|
}
|
|
@@ -973,7 +974,7 @@ setOptions({
|
|
|
973
974
|
* from a different server.
|
|
974
975
|
*
|
|
975
976
|
* @type {string}
|
|
976
|
-
* @default https://code.highcharts.com/8.2.
|
|
977
|
+
* @default https://code.highcharts.com/8.2.2/gfx/stock-icons/
|
|
977
978
|
* @since 7.1.3
|
|
978
979
|
* @apioption navigation.iconsURL
|
|
979
980
|
*/
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
10
10
|
*
|
|
11
11
|
* */
|
|
12
|
-
'use strict';
|
|
13
12
|
import H from '../../Core/Globals.js';
|
|
14
13
|
import NavigationBindings from './NavigationBindings.js';
|
|
15
14
|
import Pointer from '../../Core/Pointer.js';
|
|
@@ -722,7 +721,7 @@ addEvent(NavigationBindings, 'showPopup', function (config) {
|
|
|
722
721
|
this.popup = new H.Popup(this.chart.container, (this.chart.options.navigation.iconsURL ||
|
|
723
722
|
(this.chart.options.stockTools &&
|
|
724
723
|
this.chart.options.stockTools.gui.iconsURL) ||
|
|
725
|
-
'https://code.highcharts.com/8.2.
|
|
724
|
+
'https://code.highcharts.com/8.2.2/gfx/stock-icons/'));
|
|
726
725
|
}
|
|
727
726
|
this.popup.showForm(config.formType, this.chart, config.options, config.onSubmit);
|
|
728
727
|
});
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
*
|
|
11
11
|
* */
|
|
12
12
|
'use strict';
|
|
13
|
-
import H from '../../Core/Globals.js';
|
|
14
13
|
import butils from './BoostUtils.js';
|
|
15
14
|
import init from './BoostInit.js';
|
|
15
|
+
import initCanvasBoost from '../../Extensions/BoostCanvas.js';
|
|
16
16
|
import './BoostOverrides.js';
|
|
17
17
|
import './NamedColors.js';
|
|
18
18
|
import U from '../../Core/Utilities.js';
|
|
@@ -20,9 +20,9 @@ var error = U.error;
|
|
|
20
20
|
// These need to be fixed when we support named imports
|
|
21
21
|
var hasWebGLSupport = butils.hasWebGLSupport;
|
|
22
22
|
if (!hasWebGLSupport()) {
|
|
23
|
-
if (typeof
|
|
23
|
+
if (typeof initCanvasBoost !== 'undefined') {
|
|
24
24
|
// Fallback to canvas boost
|
|
25
|
-
|
|
25
|
+
initCanvasBoost();
|
|
26
26
|
}
|
|
27
27
|
else {
|
|
28
28
|
error(26);
|
|
@@ -10,12 +10,13 @@
|
|
|
10
10
|
*
|
|
11
11
|
* */
|
|
12
12
|
'use strict';
|
|
13
|
+
import Chart from '../../Core/Chart/Chart.js';
|
|
13
14
|
import GLRenderer from './WGLRenderer.js';
|
|
14
15
|
import H from '../../Core/Globals.js';
|
|
15
16
|
var doc = H.doc;
|
|
16
17
|
import U from '../../Core/Utilities.js';
|
|
17
18
|
var error = U.error;
|
|
18
|
-
import '../../
|
|
19
|
+
import '../../Series/LineSeries.js';
|
|
19
20
|
var mainCanvas = doc.createElement('canvas');
|
|
20
21
|
/**
|
|
21
22
|
* Create a canvas + context and attach it to the target
|
|
@@ -102,14 +103,14 @@ function createAndAttachRenderer(chart, series) {
|
|
|
102
103
|
mixedBlendMode: 'normal',
|
|
103
104
|
opacity: alpha
|
|
104
105
|
});
|
|
105
|
-
if (target instanceof
|
|
106
|
+
if (target instanceof Chart) {
|
|
106
107
|
target.markerGroup.translate(chart.plotLeft, chart.plotTop);
|
|
107
108
|
}
|
|
108
109
|
};
|
|
109
110
|
target.boostClipRect = chart.renderer.clipRect();
|
|
110
111
|
(target.renderTargetFo || target.renderTarget)
|
|
111
112
|
.clip(target.boostClipRect);
|
|
112
|
-
if (target instanceof
|
|
113
|
+
if (target instanceof Chart) {
|
|
113
114
|
target.markerGroup = target.renderer.g().add(targetGroup);
|
|
114
115
|
target.markerGroup.translate(series.xAxis.pos, series.yAxis.pos);
|
|
115
116
|
}
|
|
@@ -137,7 +138,7 @@ function createAndAttachRenderer(chart, series) {
|
|
|
137
138
|
}
|
|
138
139
|
// target.ogl.clear();
|
|
139
140
|
target.ogl.setOptions(chart.options.boost || {});
|
|
140
|
-
if (target instanceof
|
|
141
|
+
if (target instanceof Chart) {
|
|
141
142
|
target.ogl.allocateBuffer(chart);
|
|
142
143
|
}
|
|
143
144
|
}
|
|
@@ -14,7 +14,7 @@ import Chart from '../../Core/Chart/Chart.js';
|
|
|
14
14
|
import H from '../../Core/Globals.js';
|
|
15
15
|
import U from '../../Core/Utilities.js';
|
|
16
16
|
var addEvent = U.addEvent, extend = U.extend, fireEvent = U.fireEvent, wrap = U.wrap;
|
|
17
|
-
import '../../
|
|
17
|
+
import '../../Series/LineSeries.js';
|
|
18
18
|
import butils from './BoostUtils.js';
|
|
19
19
|
import createAndAttachRenderer from './BoostAttach.js';
|
|
20
20
|
var Series = H.Series, seriesTypes = H.seriesTypes, noop = function () { }, eachAsync = butils.eachAsync, pointDrawHandler = butils.pointDrawHandler, allocateIfNotSeriesBoosting = butils.allocateIfNotSeriesBoosting, renderIfNotSeriesBoosting = butils.renderIfNotSeriesBoosting, shouldForceChartSeriesBoosting = butils.shouldForceChartSeriesBoosting, index;
|
|
@@ -15,7 +15,7 @@ import H from '../../Core/Globals.js';
|
|
|
15
15
|
import Point from '../../Core/Series/Point.js';
|
|
16
16
|
import U from '../../Core/Utilities.js';
|
|
17
17
|
var addEvent = U.addEvent, error = U.error, getOptions = U.getOptions, isArray = U.isArray, isNumber = U.isNumber, pick = U.pick, wrap = U.wrap;
|
|
18
|
-
import '../../
|
|
18
|
+
import '../../Series/LineSeries.js';
|
|
19
19
|
import '../../Core/Options.js';
|
|
20
20
|
import '../../Core/Interaction.js';
|
|
21
21
|
import butils from './BoostUtils.js';
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
'use strict';
|
|
15
15
|
import H from '../../Core/Globals.js';
|
|
16
16
|
var win = H.win, doc = H.doc;
|
|
17
|
-
import '../../
|
|
17
|
+
import '../../Series/LineSeries.js';
|
|
18
18
|
import boostableMap from './BoostableMap.js';
|
|
19
19
|
import createAndAttachRenderer from './BoostAttach.js';
|
|
20
20
|
import U from '../../Core/Utilities.js';
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*
|
|
11
11
|
* */
|
|
12
12
|
'use strict';
|
|
13
|
-
import Color from '../../Core/Color.js';
|
|
13
|
+
import Color from '../../Core/Color/Color.js';
|
|
14
14
|
// Register color names since GL can't render those directly.
|
|
15
15
|
// TODO: When supporting modern syntax, make this a const and a named export
|
|
16
16
|
var defaultHTMLColorMap = {
|
|
@@ -10,14 +10,14 @@
|
|
|
10
10
|
*
|
|
11
11
|
* */
|
|
12
12
|
'use strict';
|
|
13
|
-
import
|
|
13
|
+
import Color from '../../Core/Color/Color.js';
|
|
14
|
+
var color = Color.parse;
|
|
14
15
|
import GLShader from './WGLShader.js';
|
|
15
16
|
import GLVertexBuffer from './WGLVBuffer.js';
|
|
16
|
-
import
|
|
17
|
-
var
|
|
17
|
+
import H from '../../Core/Globals.js';
|
|
18
|
+
var doc = H.doc;
|
|
18
19
|
import U from '../../Core/Utilities.js';
|
|
19
20
|
var isNumber = U.isNumber, isObject = U.isObject, merge = U.merge, objectEach = U.objectEach, pick = U.pick;
|
|
20
|
-
var win = H.win, doc = win.document;
|
|
21
21
|
/* eslint-disable valid-jsdoc */
|
|
22
22
|
/**
|
|
23
23
|
* Main renderer. Used to render series.
|
|
@@ -180,12 +180,11 @@ function GLShader(gl) {
|
|
|
180
180
|
// '}',
|
|
181
181
|
'void main(void) {',
|
|
182
182
|
'vec4 col = fillColor;',
|
|
183
|
-
'vec4 tcol;',
|
|
183
|
+
'vec4 tcol = texture2D(uSampler, gl_PointCoord.st);',
|
|
184
184
|
'if (hasColor) {',
|
|
185
185
|
'col = vColor;',
|
|
186
186
|
'}',
|
|
187
187
|
'if (isCircle) {',
|
|
188
|
-
'tcol = texture2D(uSampler, gl_PointCoord.st);',
|
|
189
188
|
'col *= tcol;',
|
|
190
189
|
'if (tcol.r < 0.0) {',
|
|
191
190
|
'discard;',
|
|
@@ -14,21 +14,23 @@
|
|
|
14
14
|
* */
|
|
15
15
|
'use strict';
|
|
16
16
|
import Chart from '../Core/Chart/Chart.js';
|
|
17
|
-
import
|
|
18
|
-
import Color from '../Core/Color.js';
|
|
17
|
+
import Color from '../Core/Color/Color.js';
|
|
19
18
|
var color = Color.parse;
|
|
19
|
+
import H from '../Core/Globals.js';
|
|
20
|
+
var doc = H.doc, noop = H.noop;
|
|
21
|
+
import LineSeries from '../Series/LineSeries.js';
|
|
22
|
+
import Series from '../Core/Series/Series.js';
|
|
20
23
|
import U from '../Core/Utilities.js';
|
|
21
24
|
var addEvent = U.addEvent, extend = U.extend, fireEvent = U.fireEvent, isNumber = U.isNumber, merge = U.merge, pick = U.pick, wrap = U.wrap;
|
|
22
|
-
import '../Core/Series/Series.js';
|
|
23
25
|
import '../Core/Options.js';
|
|
24
|
-
var
|
|
26
|
+
var seriesTypes = Series.seriesTypes, CHUNK_SIZE = 50000, destroyLoadingDiv;
|
|
25
27
|
/* eslint-disable no-invalid-this, valid-jsdoc */
|
|
26
28
|
/**
|
|
27
29
|
* Initialize the canvas boost.
|
|
28
30
|
*
|
|
29
31
|
* @function Highcharts.initCanvasBoost
|
|
30
32
|
*/
|
|
31
|
-
|
|
33
|
+
var initCanvasBoost = function () {
|
|
32
34
|
if (H.seriesTypes.heatmap) {
|
|
33
35
|
wrap(H.seriesTypes.heatmap.prototype, 'drawPoints', function () {
|
|
34
36
|
var chart = this.chart, ctx = this.getContext(), inverted = this.chart.inverted, xAxis = this.xAxis, yAxis = this.yAxis;
|
|
@@ -67,7 +69,7 @@ H.initCanvasBoost = function () {
|
|
|
67
69
|
}
|
|
68
70
|
});
|
|
69
71
|
}
|
|
70
|
-
extend(
|
|
72
|
+
extend(LineSeries.prototype, {
|
|
71
73
|
/**
|
|
72
74
|
* Create a hidden canvas to draw the graph on. The contents is later
|
|
73
75
|
* copied over to an SVG image element.
|
|
@@ -503,3 +505,4 @@ H.initCanvasBoost = function () {
|
|
|
503
505
|
addEvent(chart, 'render', canvasToSVG);
|
|
504
506
|
});
|
|
505
507
|
};
|
|
508
|
+
export default initCanvasBoost;
|
|
@@ -9,14 +9,10 @@
|
|
|
9
9
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
10
10
|
*
|
|
11
11
|
* */
|
|
12
|
-
|
|
13
|
-
import H from '../Core/Globals.js';
|
|
14
|
-
import O from '../Core/Options.js';
|
|
15
|
-
var dateFormat = O.dateFormat;
|
|
12
|
+
import Axis from '../Core/Axis/Axis.js';
|
|
16
13
|
import U from '../Core/Utilities.js';
|
|
17
14
|
var addEvent = U.addEvent, merge = U.merge, wrap = U.wrap;
|
|
18
15
|
import PlotLineOrBand from '../Core/Axis/PlotLineOrBand.js';
|
|
19
|
-
var Axis = H.Axis;
|
|
20
16
|
var defaultConfig = {
|
|
21
17
|
/**
|
|
22
18
|
* Show an indicator on the axis for the current date and time. Can be a
|
|
@@ -48,13 +44,13 @@ var defaultConfig = {
|
|
|
48
44
|
* [dateFormat](/class-reference/Highcharts#dateFormat) function.
|
|
49
45
|
*
|
|
50
46
|
* @type {string}
|
|
51
|
-
* @default
|
|
47
|
+
* @default %a, %b %d %Y, %H:%M
|
|
52
48
|
* @product gantt
|
|
53
49
|
* @apioption xAxis.currentDateIndicator.label.format
|
|
54
50
|
*/
|
|
55
51
|
format: '%a, %b %d %Y, %H:%M',
|
|
56
52
|
formatter: function (value, format) {
|
|
57
|
-
return dateFormat(format, value);
|
|
53
|
+
return this.axis.chart.time.dateFormat(format, value);
|
|
58
54
|
},
|
|
59
55
|
rotation: 0,
|
|
60
56
|
/**
|
|
@@ -10,11 +10,16 @@
|
|
|
10
10
|
*
|
|
11
11
|
* */
|
|
12
12
|
'use strict';
|
|
13
|
+
import Ajax from '../Extensions/Ajax.js';
|
|
14
|
+
var ajax = Ajax.ajax;
|
|
15
|
+
import BaseSeries from '../Core/Series/Series.js';
|
|
13
16
|
import Chart from '../Core/Chart/Chart.js';
|
|
14
17
|
import H from '../Core/Globals.js';
|
|
18
|
+
var doc = H.doc;
|
|
15
19
|
import Point from '../Core/Series/Point.js';
|
|
16
20
|
import U from '../Core/Utilities.js';
|
|
17
21
|
var addEvent = U.addEvent, defined = U.defined, extend = U.extend, fireEvent = U.fireEvent, isNumber = U.isNumber, merge = U.merge, objectEach = U.objectEach, pick = U.pick, splat = U.splat;
|
|
22
|
+
var seriesTypes = BaseSeries.seriesTypes;
|
|
18
23
|
/**
|
|
19
24
|
* Callback function to modify the CSV before parsing it by the data module.
|
|
20
25
|
*
|
|
@@ -87,10 +92,6 @@ var addEvent = U.addEvent, defined = U.defined, extend = U.extend, fireEvent = U
|
|
|
87
92
|
* Return `false` to stop completion, or call `this.complete()` to
|
|
88
93
|
* continue async.
|
|
89
94
|
*/
|
|
90
|
-
import Ajax from '../Extensions/Ajax.js';
|
|
91
|
-
var ajax = Ajax.ajax;
|
|
92
|
-
// Utilities
|
|
93
|
-
var win = H.win, doc = win.document;
|
|
94
95
|
/**
|
|
95
96
|
* The Data module provides a simplified interface for adding data to
|
|
96
97
|
* a chart from sources like CVS, HTML tables or grid views. See also
|
|
@@ -613,12 +614,9 @@ var Data = /** @class */ (function () {
|
|
|
613
614
|
*/
|
|
614
615
|
Data.prototype.getColumnDistribution = function () {
|
|
615
616
|
var chartOptions = this.chartOptions, options = this.options, xColumns = [], getValueCount = function (type) {
|
|
616
|
-
return (
|
|
617
|
-
.pointArrayMap ||
|
|
618
|
-
[0]).length;
|
|
617
|
+
return (seriesTypes[type || 'line'].prototype.pointArrayMap || [0]).length;
|
|
619
618
|
}, getPointArrayMap = function (type) {
|
|
620
|
-
return
|
|
621
|
-
.prototype.pointArrayMap;
|
|
619
|
+
return seriesTypes[type || 'line'].prototype.pointArrayMap;
|
|
622
620
|
}, globalType = (chartOptions &&
|
|
623
621
|
chartOptions.chart &&
|
|
624
622
|
chartOptions.chart.type), individualCounts = [], seriesBuilders = [], seriesIndex = 0,
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
*
|
|
9
9
|
* */
|
|
10
10
|
'use strict';
|
|
11
|
+
import Axis from '../Core/Axis/Axis.js';
|
|
11
12
|
import DateTimeAxis from '../Core/Axis/DateTimeAxis.js';
|
|
12
13
|
import H from '../Core/Globals.js';
|
|
13
14
|
/**
|
|
@@ -33,8 +34,8 @@ import Tooltip from '../Core/Tooltip.js';
|
|
|
33
34
|
import U from '../Core/Utilities.js';
|
|
34
35
|
var addEvent = U.addEvent, arrayMax = U.arrayMax, arrayMin = U.arrayMin, correctFloat = U.correctFloat, defined = U.defined, error = U.error, extend = U.extend, format = U.format, isNumber = U.isNumber, merge = U.merge, pick = U.pick;
|
|
35
36
|
import '../Core/Axis/Axis.js';
|
|
36
|
-
import '../
|
|
37
|
-
var
|
|
37
|
+
import '../Series/LineSeries.js';
|
|
38
|
+
var Series = H.Series;
|
|
38
39
|
/* ************************************************************************** *
|
|
39
40
|
* Start data grouping module *
|
|
40
41
|
* ************************************************************************** */
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* */
|
|
10
10
|
'use strict';
|
|
11
11
|
import H from '../Core/Globals.js';
|
|
12
|
+
import Chart from '../Core/Chart/Chart.js';
|
|
12
13
|
import U from '../Core/Utilities.js';
|
|
13
14
|
var addEvent = U.addEvent, isNumber = U.isNumber, setOptions = U.setOptions;
|
|
14
15
|
setOptions({
|
|
@@ -30,7 +31,7 @@ setOptions({
|
|
|
30
31
|
}
|
|
31
32
|
});
|
|
32
33
|
/* eslint-disable no-invalid-this */
|
|
33
|
-
addEvent(
|
|
34
|
+
addEvent(Chart, 'displayError', function (e) {
|
|
34
35
|
var chart = this, code = e.code, msg, options = chart.options.chart, renderer = chart.renderer, chartWidth, chartHeight;
|
|
35
36
|
if (chart.errorElements) {
|
|
36
37
|
(chart.errorElements).forEach(function (el) {
|
|
@@ -73,7 +74,7 @@ addEvent(H.Chart, 'displayError', function (e) {
|
|
|
73
74
|
});
|
|
74
75
|
}
|
|
75
76
|
});
|
|
76
|
-
addEvent(
|
|
77
|
+
addEvent(Chart, 'beforeRedraw', function () {
|
|
77
78
|
var errorElements = this.errorElements;
|
|
78
79
|
if (errorElements && errorElements.length) {
|
|
79
80
|
errorElements.forEach(function (el) {
|
|
@@ -22,7 +22,9 @@ var win = Highcharts.win, nav = win.navigator, doc = win.document, domurl = win.
|
|
|
22
22
|
* Blob
|
|
23
23
|
*/
|
|
24
24
|
var dataURLtoBlob = Highcharts.dataURLtoBlob = function (dataURL) {
|
|
25
|
-
var parts = dataURL
|
|
25
|
+
var parts = dataURL
|
|
26
|
+
.replace(/filename=.*;/, '')
|
|
27
|
+
.match(/data:([^;]*)(;base64)?,([0-9A-Za-z+/]+)/);
|
|
26
28
|
if (parts &&
|
|
27
29
|
parts.length > 3 &&
|
|
28
30
|
win.atob &&
|
|
@@ -31,11 +33,11 @@ var dataURLtoBlob = Highcharts.dataURLtoBlob = function (dataURL) {
|
|
|
31
33
|
win.Blob &&
|
|
32
34
|
domurl.createObjectURL) {
|
|
33
35
|
// Try to convert data URL to Blob
|
|
34
|
-
var binStr = win.atob(parts[3]), buf = new win.ArrayBuffer(binStr.length), binary = new win.Uint8Array(buf)
|
|
36
|
+
var binStr = win.atob(parts[3]), buf = new win.ArrayBuffer(binStr.length), binary = new win.Uint8Array(buf);
|
|
35
37
|
for (var i = 0; i < binary.length; ++i) {
|
|
36
38
|
binary[i] = binStr.charCodeAt(i);
|
|
37
39
|
}
|
|
38
|
-
blob = new win.Blob([binary], { 'type': parts[1] });
|
|
40
|
+
var blob = new win.Blob([binary], { 'type': parts[1] });
|
|
39
41
|
return domurl.createObjectURL(blob);
|
|
40
42
|
}
|
|
41
43
|
};
|
|
@@ -476,7 +476,7 @@ addEvent(Axis, 'afterRender', function () {
|
|
|
476
476
|
// Resizer not present and enabled
|
|
477
477
|
if (enabled) {
|
|
478
478
|
// Add new resizer
|
|
479
|
-
axis.resizer = new
|
|
479
|
+
axis.resizer = new AxisResizer(axis);
|
|
480
480
|
}
|
|
481
481
|
// Resizer not present and disabled, so do nothing
|
|
482
482
|
}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
*
|
|
11
11
|
* */
|
|
12
12
|
'use strict';
|
|
13
|
+
import Chart from '../Core/Chart/Chart.js';
|
|
13
14
|
import H from '../Core/Globals.js';
|
|
14
15
|
import Point from '../Core/Series/Point.js';
|
|
15
16
|
import U from '../Core/Utilities.js';
|
|
@@ -171,7 +172,7 @@ var addEvent = U.addEvent, clamp = U.clamp, merge = U.merge, objectEach = U.obje
|
|
|
171
172
|
* @type {"drop"}
|
|
172
173
|
*/
|
|
173
174
|
''; // detaches doclets above
|
|
174
|
-
import '../
|
|
175
|
+
import '../Series/LineSeries.js';
|
|
175
176
|
var seriesTypes = H.seriesTypes;
|
|
176
177
|
/**
|
|
177
178
|
* Flip a side property, used with resizeRect. If input side is "left", return
|
|
@@ -1677,7 +1678,7 @@ function dragMove(e, point) {
|
|
|
1677
1678
|
* @return {Highcharts.SVGElement}
|
|
1678
1679
|
* The modified guide box.
|
|
1679
1680
|
*/
|
|
1680
|
-
|
|
1681
|
+
Chart.prototype.setGuideBoxState = function (state, options) {
|
|
1681
1682
|
var guideBox = this.dragGuideBox, guideBoxOptions = merge(defaultGuideBoxOptions, options), stateOptions = merge(guideBoxOptions['default'], // eslint-disable-line dot-notation
|
|
1682
1683
|
guideBoxOptions[state]);
|
|
1683
1684
|
return guideBox
|
|
@@ -1940,7 +1941,7 @@ Point.prototype.showDragHandles = function () {
|
|
|
1940
1941
|
* @function Highcharts.Chart#hideDragHandles
|
|
1941
1942
|
* @return {void}
|
|
1942
1943
|
*/
|
|
1943
|
-
|
|
1944
|
+
Chart.prototype.hideDragHandles = function () {
|
|
1944
1945
|
var chart = this;
|
|
1945
1946
|
if (chart.dragHandles) {
|
|
1946
1947
|
objectEach(chart.dragHandles, function (val, key) {
|
|
@@ -2193,7 +2194,7 @@ addEvent(Point, 'remove', function () {
|
|
|
2193
2194
|
* @return {boolean}
|
|
2194
2195
|
* True if the zoom or pan keys are pressed. False otherwise.
|
|
2195
2196
|
*/
|
|
2196
|
-
|
|
2197
|
+
Chart.prototype.zoomOrPanKeyPressed = function (e) {
|
|
2197
2198
|
// Check whether the panKey and zoomKey are set in chart.userOptions
|
|
2198
2199
|
var chartOptions = this.userOptions.chart || {}, panKey = chartOptions.panKey && chartOptions.panKey + 'Key', zoomKey = chartOptions.zoomKey && chartOptions.zoomKey + 'Key';
|
|
2199
2200
|
return (e[zoomKey] || e[panKey]);
|
|
@@ -2234,7 +2235,7 @@ function addDragDropEvents(chart) {
|
|
|
2234
2235
|
}
|
|
2235
2236
|
// Add event listener to Chart.render that checks whether or not we should add
|
|
2236
2237
|
// dragdrop.
|
|
2237
|
-
addEvent(
|
|
2238
|
+
addEvent(Chart, 'render', function () {
|
|
2238
2239
|
// If we don't have dragDrop events, see if we should add them
|
|
2239
2240
|
if (!this.hasAddedDragDropEvents) {
|
|
2240
2241
|
addDragDropEvents(this);
|
|
@@ -10,16 +10,20 @@
|
|
|
10
10
|
*
|
|
11
11
|
* */
|
|
12
12
|
'use strict';
|
|
13
|
+
import A from '../Core/Animation/AnimationUtilities.js';
|
|
14
|
+
var animObject = A.animObject;
|
|
15
|
+
import Axis from '../Core/Axis/Axis.js';
|
|
13
16
|
import Chart from '../Core/Chart/Chart.js';
|
|
14
|
-
import Color from '../Core/Color.js';
|
|
17
|
+
import Color from '../Core/Color/Color.js';
|
|
15
18
|
import H from '../Core/Globals.js';
|
|
19
|
+
var noop = H.noop;
|
|
16
20
|
import O from '../Core/Options.js';
|
|
17
21
|
var defaultOptions = O.defaultOptions;
|
|
18
22
|
import Point from '../Core/Series/Point.js';
|
|
19
23
|
import SVGRenderer from '../Core/Renderer/SVG/SVGRenderer.js';
|
|
20
24
|
import Tick from '../Core/Axis/Tick.js';
|
|
21
25
|
import U from '../Core/Utilities.js';
|
|
22
|
-
var addEvent = U.addEvent, removeEvent = U.removeEvent,
|
|
26
|
+
var addEvent = U.addEvent, removeEvent = U.removeEvent, extend = U.extend, fireEvent = U.fireEvent, format = U.format, merge = U.merge, objectEach = U.objectEach, pick = U.pick, syncTimeout = U.syncTimeout;
|
|
23
27
|
/**
|
|
24
28
|
* Gets fired when a drilldown point is clicked, before the new series is added.
|
|
25
29
|
* Note that when clicking a category label to trigger multiple series
|
|
@@ -133,9 +137,9 @@ var addEvent = U.addEvent, removeEvent = U.removeEvent, animObject = U.animObjec
|
|
|
133
137
|
* @name Highcharts.DrillupEventObject#type
|
|
134
138
|
* @type {"drillup"}
|
|
135
139
|
*/
|
|
136
|
-
import '../
|
|
140
|
+
import '../Series/LineSeries.js';
|
|
137
141
|
import '../Series/ColumnSeries.js';
|
|
138
|
-
var
|
|
142
|
+
var seriesTypes = H.seriesTypes, PieSeries = seriesTypes.pie, ColumnSeries = seriesTypes.column, ddSeriesId = 1;
|
|
139
143
|
// Add language
|
|
140
144
|
extend(defaultOptions.lang,
|
|
141
145
|
/**
|
|
@@ -167,6 +171,8 @@ extend(defaultOptions.lang,
|
|
|
167
171
|
* @product highcharts highmaps
|
|
168
172
|
* @requires modules/drilldown
|
|
169
173
|
* @optionparent drilldown
|
|
174
|
+
* @sample {highcharts} highcharts/series-organization/drilldown
|
|
175
|
+
* Organization chart drilldown
|
|
170
176
|
*/
|
|
171
177
|
defaultOptions.drilldown = {
|
|
172
178
|
/**
|
|
@@ -770,7 +776,15 @@ ColumnSeries.prototype.animateDrillupTo = function (init) {
|
|
|
770
776
|
// Do dummy animation on first point to get to complete
|
|
771
777
|
syncTimeout(function () {
|
|
772
778
|
if (newSeries.points) { // May be destroyed in the meantime, #3389
|
|
773
|
-
|
|
779
|
+
// Unable to drillup with nodes, #13711
|
|
780
|
+
var pointsWithNodes = [];
|
|
781
|
+
newSeries.data.forEach(function (el) {
|
|
782
|
+
pointsWithNodes.push(el);
|
|
783
|
+
});
|
|
784
|
+
if (newSeries.nodes) {
|
|
785
|
+
pointsWithNodes = pointsWithNodes.concat(newSeries.nodes);
|
|
786
|
+
}
|
|
787
|
+
pointsWithNodes.forEach(function (point, i) {
|
|
774
788
|
// Fade in other points
|
|
775
789
|
var verb = i === (level && level.pointIndex) ? 'show' : 'fadeIn', inherit = verb === 'show' ? true : void 0, dataLabel = point.dataLabel;
|
|
776
790
|
if (point.graphic) { // #3407
|
|
@@ -946,8 +960,8 @@ Point.prototype.doDrilldown = function (_holdRedraw, category, originalEvent) {
|
|
|
946
960
|
* @param {global.MouseEvent} e
|
|
947
961
|
* Click event
|
|
948
962
|
*/
|
|
949
|
-
|
|
950
|
-
|
|
963
|
+
Axis.prototype.drilldownCategory = function (x, e) {
|
|
964
|
+
this.getDDPoints(x).forEach(function (point) {
|
|
951
965
|
if (point &&
|
|
952
966
|
point.series &&
|
|
953
967
|
point.series.visible &&
|
|
@@ -964,11 +978,11 @@ H.Axis.prototype.drilldownCategory = function (x, e) {
|
|
|
964
978
|
* @function Highcharts.Axis#getDDPoints
|
|
965
979
|
* @param {number} x
|
|
966
980
|
* Tick position
|
|
967
|
-
* @return {Array<(
|
|
981
|
+
* @return {Array<(false|Highcharts.Point)>}
|
|
968
982
|
* Drillable points
|
|
969
983
|
*/
|
|
970
|
-
|
|
971
|
-
return this.ddPoints && this.ddPoints[x];
|
|
984
|
+
Axis.prototype.getDDPoints = function (x) {
|
|
985
|
+
return (this.ddPoints && this.ddPoints[x] || []);
|
|
972
986
|
};
|
|
973
987
|
/**
|
|
974
988
|
* Make a tick label drillable, or remove drilling on update.
|
|
@@ -869,8 +869,7 @@ Chart.prototype.hideData = function () {
|
|
|
869
869
|
this.isDataTableVisible = false;
|
|
870
870
|
};
|
|
871
871
|
Chart.prototype.toggleDataTable = function () {
|
|
872
|
-
var
|
|
873
|
-
var exportDivElements = this.exportDivElements, menuItems = (_a = exportingOptions === null || exportingOptions === void 0 ? void 0 : exportingOptions.buttons) === null || _a === void 0 ? void 0 : _a.contextButton.menuItems, lang = this.options.lang;
|
|
872
|
+
var exportDivElements = this.exportDivElements, options = this.options.exporting, menuItems = options && options.buttons && options.buttons.contextButton.menuItems, lang = this.options.lang;
|
|
874
873
|
if (this.isDataTableVisible) {
|
|
875
874
|
this.hideData();
|
|
876
875
|
}
|
|
@@ -1117,7 +1117,7 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1117
1117
|
}
|
|
1118
1118
|
});
|
|
1119
1119
|
// generate the chart copy
|
|
1120
|
-
chartCopy = new
|
|
1120
|
+
chartCopy = new Chart(options, chart.callback);
|
|
1121
1121
|
// Axis options and series options (#2022, #3900, #5982)
|
|
1122
1122
|
if (chartOptions) {
|
|
1123
1123
|
['xAxis', 'yAxis', 'series'].forEach(function (coll) {
|
|
@@ -1469,6 +1469,11 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1469
1469
|
element = createElement('hr', null, null, innerMenu);
|
|
1470
1470
|
}
|
|
1471
1471
|
else {
|
|
1472
|
+
// When chart initialized with the table,
|
|
1473
|
+
// wrong button text displayed, #14352.
|
|
1474
|
+
if (item.textKey === 'viewData' && chart.isDataTableVisible) {
|
|
1475
|
+
item.textKey = 'hideData';
|
|
1476
|
+
}
|
|
1472
1477
|
element = createElement('li', {
|
|
1473
1478
|
className: 'highcharts-menu-item',
|
|
1474
1479
|
onclick: function (e) {
|
|
@@ -1872,7 +1877,9 @@ Chart.prototype.inlineStyles = function () {
|
|
|
1872
1877
|
* @return {void}
|
|
1873
1878
|
*/
|
|
1874
1879
|
function tearDown() {
|
|
1875
|
-
dummySVG.parentNode.
|
|
1880
|
+
dummySVG.parentNode.remove();
|
|
1881
|
+
// Remove trash from DOM that stayed after each exporting
|
|
1882
|
+
iframe.remove();
|
|
1876
1883
|
}
|
|
1877
1884
|
recurse(this.container.querySelector('svg'));
|
|
1878
1885
|
tearDown();
|