highcharts 9.3.1 → 9.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bower.json +1 -1
- package/css/annotations/popup.css +1 -1
- package/css/highcharts.css +2 -2
- package/css/highcharts.scss +1 -1
- package/css/stocktools/gui.css +1 -1
- package/css/themes/dark-unica.css +2 -2
- package/css/themes/grid-light.css +2 -2
- package/css/themes/sand-signika.css +2 -2
- package/es-modules/Accessibility/A11yI18n.js +1 -5
- package/es-modules/Accessibility/Accessibility.js +11 -5
- package/es-modules/Accessibility/AccessibilityComponent.js +1 -1
- package/es-modules/Accessibility/Components/AnnotationsA11y.js +9 -5
- package/es-modules/Accessibility/Components/ContainerComponent.js +1 -1
- package/es-modules/Accessibility/Components/InfoRegionsComponent.js +8 -19
- package/es-modules/Accessibility/Components/LegendComponent.js +176 -86
- package/es-modules/Accessibility/Components/MenuComponent.js +1 -10
- package/es-modules/Accessibility/Components/RangeSelectorComponent.js +10 -13
- package/es-modules/Accessibility/Components/SeriesComponent/ForcedMarkers.js +15 -6
- package/es-modules/Accessibility/Components/SeriesComponent/NewDataAnnouncer.js +8 -4
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesComponent.js +3 -1
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +16 -41
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js +20 -31
- package/es-modules/Accessibility/Components/ZoomComponent.js +135 -57
- package/es-modules/Accessibility/FocusBorder.js +0 -5
- package/es-modules/Accessibility/HighContrastMode.js +2 -1
- package/es-modules/Accessibility/KeyboardNavigation.js +5 -4
- package/es-modules/Accessibility/Options/DeprecatedOptions.js +12 -5
- package/es-modules/Accessibility/Options/LangOptions.js +3 -3
- package/es-modules/Accessibility/ProxyElement.js +12 -6
- package/es-modules/Accessibility/ProxyProvider.js +0 -3
- package/es-modules/Accessibility/Utils/Announcer.js +2 -2
- package/es-modules/Accessibility/Utils/ChartUtilities.js +17 -32
- package/es-modules/Accessibility/Utils/HTMLUtilities.js +0 -12
- package/es-modules/Core/Animation/Fx.js +5 -14
- package/es-modules/Core/Axis/Axis.js +42 -68
- package/es-modules/Core/Axis/Axis3D.js +10 -4
- package/es-modules/Core/Axis/BrokenAxis.js +17 -11
- package/es-modules/Core/Axis/Color/ColorAxis.js +7 -4
- package/es-modules/Core/Axis/Color/ColorAxisComposition.js +3 -3
- package/es-modules/Core/Axis/DateTimeAxis.js +3 -14
- package/es-modules/Core/Axis/GridAxis.js +26 -16
- package/es-modules/Core/Axis/NavigatorAxis.js +0 -5
- package/es-modules/Core/Axis/OrdinalAxis.js +83 -79
- package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js +0 -5
- package/es-modules/Core/Axis/RadialAxis.js +7 -28
- package/es-modules/Core/Axis/ScrollbarAxis.js +18 -10
- package/es-modules/Core/Axis/StackingAxis.js +2 -1
- package/es-modules/Core/Axis/Tick.js +2 -4
- package/es-modules/Core/Axis/TreeGridAxis.js +26 -17
- package/es-modules/Core/Axis/TreeGridTick.js +4 -1
- package/es-modules/Core/Axis/WaterfallAxis.js +1 -1
- package/es-modules/Core/Axis/ZAxis.js +1 -1
- package/es-modules/Core/Chart/Chart.js +42 -44
- package/es-modules/Core/Chart/Chart3D.js +23 -10
- package/es-modules/Core/Chart/GanttChart.js +4 -4
- package/es-modules/Core/Chart/MapChart.js +3 -3
- package/es-modules/Core/Chart/StockChart.js +10 -23
- package/es-modules/Core/DefaultOptions.js +3 -2
- package/es-modules/Core/Geometry/CircleUtilities.js +2 -1
- package/es-modules/Core/Globals.js +1 -1
- package/es-modules/Core/HttpUtilities.js +5 -4
- package/es-modules/Core/Legend/Legend.js +12 -13
- package/es-modules/Core/Navigator.js +34 -22
- package/es-modules/Core/Pointer.js +13 -9
- package/es-modules/Core/Renderer/HTML/AST.js +27 -14
- package/es-modules/Core/Renderer/HTML/HTMLElement.js +4 -2
- package/es-modules/Core/Renderer/HTML/HTMLRenderer.js +8 -6
- package/es-modules/Core/Renderer/RendererUtilities.js +2 -2
- package/es-modules/Core/Renderer/SVG/SVGElement.js +8 -16
- package/es-modules/Core/Renderer/SVG/SVGLabel.js +17 -8
- package/es-modules/Core/Renderer/SVG/SVGRenderer.js +5 -12
- package/es-modules/Core/Renderer/SVG/SVGRenderer3D.js +12 -5
- package/es-modules/Core/Renderer/SVG/TextBuilder.js +16 -10
- package/es-modules/Core/Responsive.js +2 -3
- package/es-modules/Core/Scrollbar.js +14 -12
- package/es-modules/Core/Series/DataLabel.js +17 -12
- package/es-modules/Core/Series/Point.js +17 -16
- package/es-modules/Core/Series/Series.js +44 -73
- package/es-modules/Core/Series/SeriesDefaults.js +5 -4
- package/es-modules/Core/Time.js +14 -11
- package/es-modules/Core/Tooltip.js +19 -36
- package/es-modules/Core/Utilities.js +5 -17
- package/es-modules/Data/DataConverter.js +0 -6
- package/es-modules/Data/DataSeriesConverter.js +9 -5
- package/es-modules/Data/DataTable.js +2 -1
- package/es-modules/Data/Modifiers/DataModifier.js +1 -1
- package/es-modules/Data/Parsers/CSVParser.js +3 -2
- package/es-modules/Data/Parsers/GoogleSheetsParser.js +5 -2
- package/es-modules/Data/Stores/CSVStore.js +2 -2
- package/es-modules/Data/Stores/DataStore.js +1 -1
- package/es-modules/Data/Stores/GoogleSheetsStore.js +3 -1
- package/es-modules/Data/Stores/HTMLTableStore.js +3 -1
- package/es-modules/Extensions/Annotations/Annotations.js +11 -10
- package/es-modules/Extensions/Annotations/ControlPoint.js +0 -2
- package/es-modules/Extensions/Annotations/Controllables/ControllableCircle.js +1 -1
- package/es-modules/Extensions/Annotations/Controllables/ControllableEllipse.js +1 -1
- package/es-modules/Extensions/Annotations/Controllables/ControllableImage.js +1 -1
- package/es-modules/Extensions/Annotations/Controllables/ControllableLabel.js +3 -6
- package/es-modules/Extensions/Annotations/Controllables/ControllablePath.js +3 -2
- package/es-modules/Extensions/Annotations/Controllables/ControllableRect.js +1 -1
- package/es-modules/Extensions/Annotations/Mixins/ControllableMixin.js +6 -3
- package/es-modules/Extensions/Annotations/Mixins/EventEmitterMixin.js +0 -1
- package/es-modules/Extensions/Annotations/Mixins/MarkerMixin.js +5 -4
- package/es-modules/Extensions/Annotations/NavigationBindings.js +34 -29
- package/es-modules/Extensions/Annotations/Popup.js +40 -32
- package/es-modules/Extensions/Annotations/Types/CrookedLine.js +4 -2
- package/es-modules/Extensions/Annotations/Types/ElliottWave.js +1 -1
- package/es-modules/Extensions/Annotations/Types/Measure.js +15 -11
- package/es-modules/Extensions/Annotations/Types/Pitchfork.js +2 -1
- package/es-modules/Extensions/Annotations/Types/TimeCycles.js +8 -4
- package/es-modules/Extensions/Annotations/Types/Tunnel.js +10 -5
- package/es-modules/Extensions/Boost/BoostOverrides.js +3 -9
- package/es-modules/Extensions/Boost/BoostUtils.js +0 -6
- package/es-modules/Extensions/Boost/WGLRenderer.js +16 -12
- package/es-modules/Extensions/Boost/WGLShader.js +9 -8
- package/es-modules/Extensions/Boost/WGLVBuffer.js +4 -7
- package/es-modules/Extensions/Data.js +4 -48
- package/es-modules/Extensions/DataGrouping.js +22 -15
- package/es-modules/Extensions/DraggablePoints.js +7 -8
- package/es-modules/Extensions/Drilldown.js +9 -4
- package/es-modules/Extensions/ExportData.js +6 -5
- package/es-modules/Extensions/Exporting/Exporting.js +23 -37
- package/es-modules/Extensions/FullScreen.js +4 -3
- package/es-modules/Extensions/GeoJSON.js +3 -3
- package/es-modules/Extensions/MarkerClusters.js +3 -1
- package/es-modules/Extensions/Math3D.js +4 -4
- package/es-modules/Extensions/OfflineExporting/OfflineExporting.js +23 -24
- package/es-modules/Extensions/OfflineExporting/OfflineExportingDefaults.js +1 -1
- package/es-modules/Extensions/Oldie/Oldie.js +13 -77
- package/es-modules/Extensions/Oldie/VMLAxis3D.js +5 -1
- package/es-modules/Extensions/OverlappingDataLabels.js +10 -6
- package/es-modules/Extensions/Pane.js +6 -6
- package/es-modules/Extensions/ParallelCoordinates.js +5 -3
- package/es-modules/Extensions/PatternFill.js +17 -11
- package/es-modules/Extensions/Polar.js +6 -3
- package/es-modules/Extensions/PriceIndication.js +2 -1
- package/es-modules/Extensions/RangeSelector.js +19 -55
- package/es-modules/Extensions/ScrollablePlotArea.js +2 -2
- package/es-modules/Extensions/SeriesLabel.js +1 -1
- package/es-modules/Extensions/Sonification/ChartSonify.js +32 -26
- package/es-modules/Extensions/Sonification/Instrument.js +12 -15
- package/es-modules/Extensions/Sonification/PointSonify.js +12 -8
- package/es-modules/Extensions/Sonification/SeriesSonify.js +33 -18
- package/es-modules/Extensions/Sonification/SignalHandler.js +4 -6
- package/es-modules/Extensions/Sonification/Sonification.js +1 -1
- package/es-modules/Extensions/Sonification/SonificationUtilities.js +11 -7
- package/es-modules/Extensions/Sonification/Timeline.js +2 -7
- package/es-modules/Extensions/Sonification/TimelineEvent.js +0 -1
- package/es-modules/Extensions/Sonification/TimelinePath.js +8 -8
- package/es-modules/Extensions/Stacking.js +5 -23
- package/es-modules/Extensions/Themes/BrandDark.js +293 -0
- package/es-modules/Extensions/Themes/BrandLight.js +259 -0
- package/es-modules/Extensions/Themes/DarkUnica.js +4 -2
- package/es-modules/Extensions/Themes/Grid.js +4 -2
- package/es-modules/Extensions/Themes/GridLight.js +4 -2
- package/es-modules/Gantt/Connection.js +2 -2
- package/es-modules/Gantt/Pathfinder.js +6 -5
- package/es-modules/Gantt/PathfinderAlgorithms.js +12 -12
- package/es-modules/Maps/MapNavigation.js +6 -7
- package/es-modules/Maps/MapPointer.js +2 -1
- package/es-modules/Maps/MapSymbols.js +23 -3
- package/es-modules/Maps/MapViewOptionsDefault.js +1 -1
- package/es-modules/Series/Area/AreaSeries.js +13 -13
- package/es-modules/Series/Area3DSeries.js +4 -2
- package/es-modules/Series/AreaRange/AreaRangeSeries.js +24 -12
- package/es-modules/Series/Bellcurve/BellcurveSeries.js +2 -1
- package/es-modules/Series/Bubble/BubbleLegendItem.js +2 -12
- package/es-modules/Series/Candlestick/CandlestickSeries.js +0 -1
- package/es-modules/Series/ColorMapMixin.js +84 -0
- package/es-modules/Series/Column/ColumnSeries.js +16 -14
- package/es-modules/Series/Column3D/Column3DComposition.js +1 -2
- package/es-modules/Series/ColumnPyramid/ColumnPyramidSeries.js +5 -2
- package/es-modules/Series/ColumnRange/ColumnRangeSeries.js +2 -1
- package/es-modules/Series/Cylinder/CylinderComposition.js +36 -4
- package/es-modules/Series/DependencyWheel/DependencyWheelSeries.js +1 -1
- package/es-modules/Series/Dumbbell/DumbbellPoint.js +0 -1
- package/es-modules/Series/Dumbbell/DumbbellSeries.js +0 -3
- package/es-modules/Series/Flags/FlagsSymbols.js +2 -2
- package/es-modules/Series/Funnel3D/Funnel3DComposition.js +14 -8
- package/es-modules/Series/Funnel3D/Funnel3DSeries.js +2 -1
- package/es-modules/Series/Gantt/GanttPoint.js +1 -1
- package/es-modules/Series/Gantt/GanttSeries.js +3 -1
- package/es-modules/Series/HLC/HLCSeries.js +1 -6
- package/es-modules/Series/Heatmap/HeatmapPoint.js +10 -10
- package/es-modules/Series/Heatmap/HeatmapSeries.js +9 -10
- package/es-modules/Series/HeikinAshi/HeikinAshiSeries.js +8 -6
- package/es-modules/Series/Histogram/HistogramSeries.js +4 -4
- package/es-modules/Series/HollowCandlestick/HollowCandlestickPoint.js +1 -4
- package/es-modules/Series/HollowCandlestick/HollowCandlestickSeries.js +19 -20
- package/es-modules/Series/Item/ItemSeries.js +4 -5
- package/es-modules/Series/Map/MapPoint.js +6 -0
- package/es-modules/Series/Map/MapSeries.js +24 -25
- package/es-modules/Series/MapLine/MapLineSeries.js +0 -4
- package/es-modules/Series/Networkgraph/DraggableNodes.js +0 -4
- package/es-modules/Series/Networkgraph/Integrations.js +8 -22
- package/es-modules/Series/Networkgraph/Networkgraph.js +1 -5
- package/es-modules/Series/Networkgraph/QuadTree.js +1 -3
- package/es-modules/Series/NodesComposition.js +2 -1
- package/es-modules/Series/OHLC/OHLCPoint.js +0 -1
- package/es-modules/Series/OHLC/OHLCSeries.js +1 -1
- package/es-modules/Series/Organization/OrganizationSeries.js +4 -2
- package/es-modules/Series/PackedBubble/PackedBubbleComposition.js +1 -0
- package/es-modules/Series/PackedBubble/PackedBubblePoint.js +1 -1
- package/es-modules/Series/PackedBubble/PackedBubbleSeries.js +2 -4
- package/es-modules/Series/Pie/PiePoint.js +2 -2
- package/es-modules/Series/Pie/PieSeries.js +1 -1
- package/es-modules/Series/Pie3D/Pie3DComposition.js +2 -1
- package/es-modules/Series/Pie3D/Pie3DPoint.js +2 -1
- package/es-modules/Series/Pie3D/Pie3DSeries.js +1 -1
- package/es-modules/Series/Pyramid3D/Pyramid3DSeries.js +2 -1
- package/es-modules/Series/Sankey/SankeySeries.js +3 -2
- package/es-modules/Series/SolidGauge/SolidGaugeComposition.js +3 -1
- package/es-modules/Series/Spline/SplineSeries.js +0 -8
- package/es-modules/Series/Sunburst/SunburstSeries.js +2 -2
- package/es-modules/Series/Sunburst/SunburstUtilities.js +3 -2
- package/es-modules/Series/Tilemap/TilemapPoint.js +0 -2
- package/es-modules/Series/Tilemap/TilemapShapes.js +0 -7
- package/es-modules/Series/TreeUtilities.js +2 -2
- package/es-modules/Series/Treemap/TreemapSeries.js +18 -21
- package/es-modules/Series/Variwide/VariwideSeries.js +5 -1
- package/es-modules/Series/Venn/VennSeries.js +6 -9
- package/es-modules/Series/Venn/VennUtils.js +8 -7
- package/es-modules/Series/Waterfall/WaterfallSeries.js +6 -3
- package/es-modules/Series/Wordcloud/WordcloudSeries.js +2 -2
- package/es-modules/Series/Wordcloud/WordcloudUtils.js +6 -10
- package/es-modules/Series/XRange/XRangePoint.js +6 -12
- package/es-modules/Series/XRange/XRangeSeries.js +4 -20
- package/es-modules/Stock/Indicators/ABands/ABandsIndicator.js +12 -0
- package/es-modules/Stock/Indicators/Aroon/AroonIndicator.js +1 -0
- package/es-modules/Stock/Indicators/BB/BBIndicator.js +12 -0
- package/es-modules/Stock/Indicators/CMF/CMFIndicator.js +35 -15
- package/es-modules/Stock/Indicators/DMI/DMIIndicator.js +9 -5
- package/es-modules/Stock/Indicators/DisparityIndex/DisparityIndexIndicator.js +2 -1
- package/es-modules/Stock/Indicators/IKH/IKHIndicator.js +6 -6
- package/es-modules/Stock/Indicators/KeltnerChannels/KeltnerChannelsIndicator.js +12 -0
- package/es-modules/Stock/Indicators/Klinger/KlingerIndicator.js +8 -3
- package/es-modules/Stock/Indicators/LinearRegression/LinearRegression.js +30 -12
- package/es-modules/Stock/Indicators/MACD/MACDIndicator.js +1 -1
- package/es-modules/Stock/Indicators/MultipleLinesComposition.js +70 -6
- package/es-modules/Stock/Indicators/PC/PCIndicator.js +11 -0
- package/es-modules/Stock/Indicators/PivotPoints/PivotPointsIndicator.js +2 -1
- package/es-modules/Stock/Indicators/RSI/RSIIndicator.js +2 -1
- package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +2 -3
- package/es-modules/Stock/Indicators/Stochastic/StochasticIndicator.js +3 -1
- package/es-modules/Stock/Indicators/VBP/VBPIndicator.js +3 -3
- package/es-modules/Stock/Indicators/VWAP/VWAPIndicator.js +19 -7
- package/es-modules/Stock/StockToolsBindings.js +13 -6
- package/es-modules/Stock/StockToolsGui.js +34 -23
- package/es-modules/masters/highcharts-3d.src.js +1 -1
- package/es-modules/masters/highcharts-gantt.src.js +1 -1
- package/es-modules/masters/highcharts-more.src.js +1 -1
- package/es-modules/masters/highcharts.src.js +1 -1
- package/es-modules/masters/highmaps.src.js +1 -1
- package/es-modules/masters/highstock.src.js +1 -1
- package/es-modules/masters/indicators/acceleration-bands.src.js +1 -1
- package/es-modules/masters/indicators/accumulation-distribution.src.js +1 -1
- package/es-modules/masters/indicators/ao.src.js +1 -1
- package/es-modules/masters/indicators/apo.src.js +1 -1
- package/es-modules/masters/indicators/aroon-oscillator.src.js +1 -1
- package/es-modules/masters/indicators/aroon.src.js +1 -1
- package/es-modules/masters/indicators/atr.src.js +1 -1
- package/es-modules/masters/indicators/bollinger-bands.src.js +1 -1
- package/es-modules/masters/indicators/cci.src.js +1 -1
- package/es-modules/masters/indicators/chaikin.src.js +1 -1
- package/es-modules/masters/indicators/cmf.src.js +1 -1
- package/es-modules/masters/indicators/cmo.src.js +1 -1
- package/es-modules/masters/indicators/dema.src.js +1 -1
- package/es-modules/masters/indicators/disparity-index.src.js +1 -1
- package/es-modules/masters/indicators/dmi.src.js +1 -1
- package/es-modules/masters/indicators/dpo.src.js +1 -1
- package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/es-modules/masters/indicators/indicators-all.src.js +1 -1
- package/es-modules/masters/indicators/indicators.src.js +1 -1
- package/es-modules/masters/indicators/keltner-channels.src.js +1 -1
- package/es-modules/masters/indicators/klinger.src.js +1 -1
- package/es-modules/masters/indicators/macd.src.js +1 -1
- package/es-modules/masters/indicators/mfi.src.js +1 -1
- package/es-modules/masters/indicators/momentum.src.js +1 -1
- package/es-modules/masters/indicators/natr.src.js +1 -1
- package/es-modules/masters/indicators/obv.src.js +1 -1
- package/es-modules/masters/indicators/pivot-points.src.js +1 -1
- package/es-modules/masters/indicators/ppo.src.js +1 -1
- package/es-modules/masters/indicators/price-channel.src.js +1 -1
- package/es-modules/masters/indicators/price-envelopes.src.js +1 -1
- package/es-modules/masters/indicators/psar.src.js +1 -1
- package/es-modules/masters/indicators/regressions.src.js +1 -1
- package/es-modules/masters/indicators/roc.src.js +1 -1
- package/es-modules/masters/indicators/rsi.src.js +1 -1
- package/es-modules/masters/indicators/slow-stochastic.src.js +1 -1
- package/es-modules/masters/indicators/stochastic.src.js +1 -1
- package/es-modules/masters/indicators/supertrend.src.js +1 -1
- package/es-modules/masters/indicators/tema.src.js +1 -1
- package/es-modules/masters/indicators/trendline.src.js +1 -1
- package/es-modules/masters/indicators/trix.src.js +1 -1
- package/es-modules/masters/indicators/volume-by-price.src.js +1 -1
- package/es-modules/masters/indicators/vwap.src.js +1 -1
- package/es-modules/masters/indicators/williams-r.src.js +1 -1
- package/es-modules/masters/indicators/wma.src.js +1 -1
- package/es-modules/masters/indicators/zigzag.src.js +1 -1
- package/es-modules/masters/modules/accessibility.src.js +2 -2
- package/es-modules/masters/modules/annotations-advanced.src.js +1 -1
- package/es-modules/masters/modules/annotations.src.js +1 -1
- package/es-modules/masters/modules/arrow-symbols.src.js +1 -1
- package/es-modules/masters/modules/boost-canvas.src.js +1 -1
- package/es-modules/masters/modules/boost.src.js +1 -1
- package/es-modules/masters/modules/broken-axis.src.js +1 -1
- package/es-modules/masters/modules/bullet.src.js +1 -1
- package/es-modules/masters/modules/coloraxis.src.js +1 -1
- package/es-modules/masters/modules/current-date-indicator.src.js +1 -1
- package/es-modules/masters/modules/cylinder.src.js +1 -1
- package/es-modules/masters/modules/data.src.js +1 -1
- package/es-modules/masters/modules/datagrouping.src.js +1 -1
- package/es-modules/masters/modules/debugger.src.js +1 -1
- package/es-modules/masters/modules/dependency-wheel.src.js +1 -1
- package/es-modules/masters/modules/dotplot.src.js +1 -1
- package/es-modules/masters/modules/drag-panes.src.js +1 -1
- package/es-modules/masters/modules/draggable-points.src.js +1 -1
- package/es-modules/masters/modules/drilldown.src.js +1 -1
- package/es-modules/masters/modules/dumbbell.src.js +1 -1
- package/es-modules/masters/modules/export-data.src.js +1 -1
- package/es-modules/masters/modules/exporting.src.js +1 -1
- package/es-modules/masters/modules/full-screen.src.js +1 -1
- package/es-modules/masters/modules/funnel.src.js +1 -1
- package/es-modules/masters/modules/funnel3d.src.js +1 -1
- package/es-modules/masters/modules/gantt.src.js +1 -1
- package/es-modules/masters/modules/grid-axis.src.js +1 -1
- package/es-modules/masters/modules/heatmap.src.js +1 -1
- package/es-modules/masters/modules/heikinashi.src.js +1 -1
- package/es-modules/masters/modules/histogram-bellcurve.src.js +1 -1
- package/es-modules/masters/modules/hollowcandlestick.src.js +1 -1
- package/es-modules/masters/modules/item-series.src.js +1 -1
- package/es-modules/masters/modules/lollipop.src.js +1 -1
- package/es-modules/masters/modules/map.src.js +1 -1
- package/es-modules/masters/modules/marker-clusters.src.js +1 -1
- package/es-modules/masters/modules/networkgraph.src.js +1 -1
- package/es-modules/masters/modules/no-data-to-display.src.js +1 -1
- package/es-modules/masters/modules/offline-exporting.src.js +1 -1
- package/es-modules/masters/modules/oldie-polyfills.src.js +1 -1
- package/es-modules/masters/modules/oldie.src.js +1 -1
- package/es-modules/masters/modules/organization.src.js +1 -1
- package/es-modules/masters/modules/overlapping-datalabels.src.js +1 -1
- package/es-modules/masters/modules/parallel-coordinates.src.js +1 -1
- package/es-modules/masters/modules/pareto.src.js +1 -1
- package/es-modules/masters/modules/pathfinder.src.js +1 -1
- package/es-modules/masters/modules/pattern-fill.src.js +1 -1
- package/es-modules/masters/modules/price-indicator.src.js +1 -1
- package/es-modules/masters/modules/pyramid3d.src.js +1 -1
- package/es-modules/masters/modules/sankey.src.js +1 -1
- package/es-modules/masters/modules/series-label.src.js +1 -1
- package/es-modules/masters/modules/solid-gauge.src.js +1 -1
- package/es-modules/masters/modules/sonification.src.js +1 -1
- package/es-modules/masters/modules/static-scale.src.js +1 -1
- package/es-modules/masters/modules/stock-tools.src.js +1 -1
- package/es-modules/masters/modules/stock.src.js +1 -1
- package/es-modules/masters/modules/streamgraph.src.js +1 -1
- package/es-modules/masters/modules/sunburst.src.js +1 -1
- package/es-modules/masters/modules/tilemap.src.js +1 -1
- package/es-modules/masters/modules/timeline.src.js +1 -1
- package/es-modules/masters/modules/treegrid.src.js +1 -1
- package/es-modules/masters/modules/treemap.src.js +1 -1
- package/es-modules/masters/modules/variable-pie.src.js +1 -1
- package/es-modules/masters/modules/variwide.src.js +1 -1
- package/es-modules/masters/modules/vector.src.js +1 -1
- package/es-modules/masters/modules/venn.src.js +1 -1
- package/es-modules/masters/modules/windbarb.src.js +1 -1
- package/es-modules/masters/modules/wordcloud.src.js +1 -1
- package/es-modules/masters/modules/xrange.src.js +1 -1
- package/es-modules/masters/themes/avocado.src.js +1 -1
- package/es-modules/masters/themes/brand-dark.src.js +14 -0
- package/es-modules/masters/themes/brand-light.src.js +14 -0
- package/es-modules/masters/themes/dark-blue.src.js +1 -1
- package/es-modules/masters/themes/dark-green.src.js +1 -1
- package/es-modules/masters/themes/dark-unica.src.js +1 -1
- package/es-modules/masters/themes/gray.src.js +1 -1
- package/es-modules/masters/themes/grid-light.src.js +1 -1
- package/es-modules/masters/themes/grid.src.js +1 -1
- package/es-modules/masters/themes/high-contrast-dark.src.js +1 -1
- package/es-modules/masters/themes/high-contrast-light.src.js +1 -1
- package/es-modules/masters/themes/sand-signika.src.js +1 -1
- package/es-modules/masters/themes/skies.src.js +1 -1
- package/es-modules/masters/themes/sunset.src.js +1 -1
- package/highcharts-3d.js +1 -1
- package/highcharts-3d.js.map +1 -1
- package/highcharts-3d.src.js +65 -35
- package/highcharts-gantt.js +799 -799
- package/highcharts-gantt.js.map +1 -1
- package/highcharts-gantt.src.js +589 -698
- package/highcharts-more.js +1 -1
- package/highcharts-more.js.map +1 -1
- package/highcharts-more.src.js +73 -103
- package/highcharts.d.ts +5586 -1709
- package/highcharts.js +577 -577
- package/highcharts.js.map +1 -1
- package/highcharts.src.d.ts +5586 -1709
- package/highcharts.src.js +391 -486
- package/highmaps.js +723 -723
- package/highmaps.js.map +1 -1
- package/highmaps.src.js +552 -656
- package/highstock.js +782 -782
- package/highstock.js.map +1 -1
- package/highstock.src.js +612 -731
- package/indicators/acceleration-bands.d.ts +17 -1
- package/indicators/acceleration-bands.js +11 -10
- package/indicators/acceleration-bands.js.map +1 -1
- package/indicators/acceleration-bands.src.d.ts +17 -1
- package/indicators/acceleration-bands.src.js +88 -6
- package/indicators/accumulation-distribution.js +1 -1
- package/indicators/accumulation-distribution.src.js +1 -1
- package/indicators/ao.js +1 -1
- package/indicators/ao.src.js +1 -1
- package/indicators/apo.js +1 -1
- package/indicators/apo.src.js +1 -1
- package/indicators/aroon-oscillator.d.ts +17 -1
- package/indicators/aroon-oscillator.js +10 -9
- package/indicators/aroon-oscillator.js.map +1 -1
- package/indicators/aroon-oscillator.src.d.ts +17 -1
- package/indicators/aroon-oscillator.src.js +76 -6
- package/indicators/aroon.d.ts +17 -1
- package/indicators/aroon.js +11 -9
- package/indicators/aroon.js.map +1 -1
- package/indicators/aroon.src.d.ts +17 -1
- package/indicators/aroon.src.js +77 -6
- package/indicators/atr.js +1 -1
- package/indicators/atr.src.js +1 -1
- package/indicators/bollinger-bands.d.ts +17 -1
- package/indicators/bollinger-bands.js +12 -10
- package/indicators/bollinger-bands.js.map +1 -1
- package/indicators/bollinger-bands.src.d.ts +17 -1
- package/indicators/bollinger-bands.src.js +88 -6
- package/indicators/cci.js +1 -1
- package/indicators/cci.src.js +1 -1
- package/indicators/chaikin.js +1 -1
- package/indicators/chaikin.src.js +1 -1
- package/indicators/cmf.js +1 -1
- package/indicators/cmf.js.map +1 -1
- package/indicators/cmf.src.js +36 -16
- package/indicators/cmo.js +1 -1
- package/indicators/cmo.src.js +1 -1
- package/indicators/dema.js +1 -1
- package/indicators/dema.src.js +1 -1
- package/indicators/disparity-index.js +1 -1
- package/indicators/disparity-index.js.map +1 -1
- package/indicators/disparity-index.src.js +3 -2
- package/indicators/dmi.js +12 -11
- package/indicators/dmi.js.map +1 -1
- package/indicators/dmi.src.js +85 -11
- package/indicators/dpo.js +1 -1
- package/indicators/dpo.src.js +1 -1
- package/indicators/ichimoku-kinko-hyo.js +1 -1
- package/indicators/ichimoku-kinko-hyo.js.map +1 -1
- package/indicators/ichimoku-kinko-hyo.src.js +7 -7
- package/indicators/indicators-all.d.ts +17 -1
- package/indicators/indicators-all.js +198 -197
- package/indicators/indicators-all.js.map +1 -1
- package/indicators/indicators-all.src.d.ts +17 -1
- package/indicators/indicators-all.src.js +246 -65
- package/indicators/indicators.js +1 -1
- package/indicators/indicators.js.map +1 -1
- package/indicators/indicators.src.js +3 -4
- package/indicators/keltner-channels.d.ts +17 -1
- package/indicators/keltner-channels.js +11 -10
- package/indicators/keltner-channels.js.map +1 -1
- package/indicators/keltner-channels.src.d.ts +17 -1
- package/indicators/keltner-channels.src.js +88 -6
- package/indicators/klinger.js +14 -12
- package/indicators/klinger.js.map +1 -1
- package/indicators/klinger.src.js +84 -9
- package/indicators/macd.js +1 -1
- package/indicators/macd.js.map +1 -1
- package/indicators/macd.src.js +2 -2
- package/indicators/mfi.js +1 -1
- package/indicators/mfi.src.js +1 -1
- package/indicators/momentum.js +1 -1
- package/indicators/momentum.src.js +1 -1
- package/indicators/natr.js +1 -1
- package/indicators/natr.src.js +1 -1
- package/indicators/obv.js +1 -1
- package/indicators/obv.src.js +1 -1
- package/indicators/pivot-points.js +1 -1
- package/indicators/pivot-points.js.map +1 -1
- package/indicators/pivot-points.src.js +3 -2
- package/indicators/ppo.js +1 -1
- package/indicators/ppo.src.js +1 -1
- package/indicators/price-channel.d.ts +17 -1
- package/indicators/price-channel.js +11 -9
- package/indicators/price-channel.js.map +1 -1
- package/indicators/price-channel.src.d.ts +17 -1
- package/indicators/price-channel.src.js +87 -6
- package/indicators/price-envelopes.js +1 -1
- package/indicators/price-envelopes.src.js +1 -1
- package/indicators/psar.js +1 -1
- package/indicators/psar.src.js +1 -1
- package/indicators/regressions.js +1 -1
- package/indicators/regressions.js.map +1 -1
- package/indicators/regressions.src.js +31 -13
- package/indicators/roc.js +1 -1
- package/indicators/roc.src.js +1 -1
- package/indicators/rsi.js +1 -1
- package/indicators/rsi.js.map +1 -1
- package/indicators/rsi.src.js +3 -2
- package/indicators/slow-stochastic.js +1 -1
- package/indicators/slow-stochastic.src.js +1 -1
- package/indicators/stochastic.d.ts +17 -1
- package/indicators/stochastic.js +12 -10
- package/indicators/stochastic.js.map +1 -1
- package/indicators/stochastic.src.d.ts +17 -1
- package/indicators/stochastic.src.js +79 -7
- package/indicators/supertrend.js +1 -1
- package/indicators/supertrend.src.js +1 -1
- package/indicators/tema.js +1 -1
- package/indicators/tema.src.js +1 -1
- package/indicators/trendline.js +1 -1
- package/indicators/trendline.src.js +1 -1
- package/indicators/trix.js +1 -1
- package/indicators/trix.src.js +1 -1
- package/indicators/volume-by-price.js +1 -1
- package/indicators/volume-by-price.src.js +4 -4
- package/indicators/vwap.js +1 -1
- package/indicators/vwap.js.map +1 -1
- package/indicators/vwap.src.js +20 -8
- package/indicators/williams-r.js +1 -1
- package/indicators/williams-r.src.js +1 -1
- package/indicators/wma.js +1 -1
- package/indicators/wma.src.js +1 -1
- package/indicators/zigzag.js +1 -1
- package/indicators/zigzag.src.js +1 -1
- package/modules/accessibility.d.ts +0 -35
- package/modules/accessibility.js +225 -222
- package/modules/accessibility.js.map +1 -1
- package/modules/accessibility.src.d.ts +0 -35
- package/modules/accessibility.src.js +503 -418
- package/modules/annotations-advanced.js +128 -128
- package/modules/annotations-advanced.js.map +1 -1
- package/modules/annotations-advanced.src.js +152 -124
- package/modules/annotations.js +122 -122
- package/modules/annotations.js.map +1 -1
- package/modules/annotations.src.js +112 -100
- package/modules/arrow-symbols.js +1 -1
- package/modules/arrow-symbols.src.js +1 -1
- package/modules/boost-canvas.js +1 -1
- package/modules/boost-canvas.src.js +1 -1
- package/modules/boost.js +1 -1
- package/modules/boost.js.map +1 -1
- package/modules/boost.src.js +33 -43
- package/modules/broken-axis.js +1 -1
- package/modules/broken-axis.js.map +1 -1
- package/modules/broken-axis.src.js +18 -12
- package/modules/bullet.js +1 -1
- package/modules/bullet.src.js +1 -1
- package/modules/coloraxis.js +1 -1
- package/modules/coloraxis.js.map +1 -1
- package/modules/coloraxis.src.js +11 -8
- package/modules/current-date-indicator.js +1 -1
- package/modules/current-date-indicator.src.js +1 -1
- package/modules/cylinder.js +1 -1
- package/modules/cylinder.js.map +1 -1
- package/modules/cylinder.src.js +37 -5
- package/modules/data.d.ts +6 -6
- package/modules/data.js +31 -31
- package/modules/data.js.map +1 -1
- package/modules/data.src.d.ts +6 -6
- package/modules/data.src.js +10 -53
- package/modules/datagrouping.js +2 -2
- package/modules/datagrouping.js.map +1 -1
- package/modules/datagrouping.src.js +23 -16
- package/modules/debugger.js +1 -1
- package/modules/debugger.src.js +1 -1
- package/modules/dependency-wheel.js +3 -3
- package/modules/dependency-wheel.js.map +1 -1
- package/modules/dependency-wheel.src.js +2 -2
- package/modules/dotplot.js +1 -1
- package/modules/dotplot.src.js +1 -1
- package/modules/drag-panes.js +1 -1
- package/modules/drag-panes.src.js +1 -1
- package/modules/draggable-points.js +1 -1
- package/modules/draggable-points.js.map +1 -1
- package/modules/draggable-points.src.js +8 -9
- package/modules/drilldown.js +1 -1
- package/modules/drilldown.js.map +1 -1
- package/modules/drilldown.src.js +10 -5
- package/modules/dumbbell.js +1 -1
- package/modules/dumbbell.js.map +1 -1
- package/modules/dumbbell.src.js +1 -5
- package/modules/export-data.js +19 -19
- package/modules/export-data.js.map +1 -1
- package/modules/export-data.src.js +7 -6
- package/modules/exporting.js +1 -1
- package/modules/exporting.js.map +1 -1
- package/modules/exporting.src.js +33 -45
- package/modules/full-screen.js +1 -1
- package/modules/full-screen.js.map +1 -1
- package/modules/full-screen.src.js +5 -4
- package/modules/funnel.js +1 -1
- package/modules/funnel.src.js +1 -1
- package/modules/funnel3d.js +1 -1
- package/modules/funnel3d.js.map +1 -1
- package/modules/funnel3d.src.js +17 -10
- package/modules/gantt.js +1 -1
- package/modules/gantt.js.map +1 -1
- package/modules/gantt.src.js +199 -213
- package/modules/grid-axis.js +1 -1
- package/modules/grid-axis.js.map +1 -1
- package/modules/grid-axis.src.js +27 -19
- package/modules/heatmap.js +39 -39
- package/modules/heatmap.js.map +1 -1
- package/modules/heatmap.src.js +88 -112
- package/modules/heikinashi.js +1 -1
- package/modules/heikinashi.js.map +1 -1
- package/modules/heikinashi.src.js +9 -7
- package/modules/histogram-bellcurve.js +1 -1
- package/modules/histogram-bellcurve.js.map +1 -1
- package/modules/histogram-bellcurve.src.js +7 -6
- package/modules/hollowcandlestick.js +1 -1
- package/modules/hollowcandlestick.js.map +1 -1
- package/modules/hollowcandlestick.src.js +21 -25
- package/modules/item-series.js +6 -6
- package/modules/item-series.js.map +1 -1
- package/modules/item-series.src.js +6 -6
- package/modules/lollipop.js +1 -1
- package/modules/lollipop.src.js +1 -1
- package/modules/map.d.ts +2 -0
- package/modules/map.js +144 -144
- package/modules/map.js.map +1 -1
- package/modules/map.src.d.ts +2 -0
- package/modules/map.src.js +162 -171
- package/modules/marker-clusters.js +1 -1
- package/modules/marker-clusters.js.map +1 -1
- package/modules/marker-clusters.src.js +4 -2
- package/modules/networkgraph.js +1 -1
- package/modules/networkgraph.js.map +1 -1
- package/modules/networkgraph.src.js +13 -36
- package/modules/no-data-to-display.js +1 -1
- package/modules/no-data-to-display.src.js +1 -1
- package/modules/offline-exporting.js +18 -18
- package/modules/offline-exporting.js.map +1 -1
- package/modules/offline-exporting.src.js +27 -32
- package/modules/oldie-polyfills.js +1 -1
- package/modules/oldie-polyfills.src.js +1 -1
- package/modules/oldie.js +2 -2
- package/modules/oldie.js.map +1 -1
- package/modules/oldie.src.js +19 -79
- package/modules/organization.js +1 -1
- package/modules/organization.js.map +1 -1
- package/modules/organization.src.js +5 -3
- package/modules/overlapping-datalabels.js +1 -1
- package/modules/overlapping-datalabels.src.js +1 -1
- package/modules/parallel-coordinates.js +1 -1
- package/modules/parallel-coordinates.js.map +1 -1
- package/modules/parallel-coordinates.src.js +6 -4
- package/modules/pareto.js +1 -1
- package/modules/pareto.src.js +1 -1
- package/modules/pathfinder.js +1 -1
- package/modules/pathfinder.js.map +1 -1
- package/modules/pathfinder.src.js +21 -20
- package/modules/pattern-fill.js +1 -1
- package/modules/pattern-fill.js.map +1 -1
- package/modules/pattern-fill.src.js +18 -12
- package/modules/price-indicator.js +1 -1
- package/modules/price-indicator.js.map +1 -1
- package/modules/price-indicator.src.js +3 -2
- package/modules/pyramid3d.js +1 -1
- package/modules/pyramid3d.js.map +1 -1
- package/modules/pyramid3d.src.js +3 -2
- package/modules/sankey.js +1 -1
- package/modules/sankey.js.map +1 -1
- package/modules/sankey.src.js +8 -6
- package/modules/series-label.js +1 -1
- package/modules/series-label.js.map +1 -1
- package/modules/series-label.src.js +2 -2
- package/modules/solid-gauge.js +1 -1
- package/modules/solid-gauge.js.map +1 -1
- package/modules/solid-gauge.src.js +17 -2
- package/modules/sonification.js +53 -53
- package/modules/sonification.js.map +1 -1
- package/modules/sonification.src.js +121 -103
- package/modules/static-scale.js +1 -1
- package/modules/static-scale.src.js +1 -1
- package/modules/stock-tools.js +66 -66
- package/modules/stock-tools.js.map +1 -1
- package/modules/stock-tools.src.js +119 -96
- package/modules/stock.js +3 -3
- package/modules/stock.js.map +1 -1
- package/modules/stock.src.js +222 -246
- package/modules/streamgraph.js +1 -1
- package/modules/streamgraph.src.js +1 -1
- package/modules/sunburst.js +60 -61
- package/modules/sunburst.js.map +1 -1
- package/modules/sunburst.src.js +83 -113
- package/modules/tilemap.js +1 -1
- package/modules/tilemap.js.map +1 -1
- package/modules/tilemap.src.js +1 -10
- package/modules/timeline.js +1 -1
- package/modules/timeline.src.js +1 -1
- package/modules/treegrid.js +1 -1
- package/modules/treegrid.js.map +1 -1
- package/modules/treegrid.src.js +76 -50
- package/modules/treemap.js +41 -41
- package/modules/treemap.js.map +1 -1
- package/modules/treemap.src.js +78 -109
- package/modules/variable-pie.js +1 -1
- package/modules/variable-pie.src.js +1 -1
- package/modules/variwide.js +1 -1
- package/modules/variwide.js.map +1 -1
- package/modules/variwide.src.js +7 -3
- package/modules/vector.js +1 -1
- package/modules/vector.src.js +1 -1
- package/modules/venn.js +1 -1
- package/modules/venn.js.map +1 -1
- package/modules/venn.src.js +17 -18
- package/modules/windbarb.js +1 -1
- package/modules/windbarb.src.js +1 -1
- package/modules/wordcloud.js +1 -1
- package/modules/wordcloud.js.map +1 -1
- package/modules/wordcloud.src.js +9 -13
- package/modules/xrange.js +1 -1
- package/modules/xrange.js.map +1 -1
- package/modules/xrange.src.js +11 -33
- package/package.json +1 -1
- package/themes/avocado.js +1 -1
- package/themes/avocado.src.js +1 -1
- package/themes/brand-dark.js +15 -0
- package/themes/brand-dark.js.map +1 -0
- package/themes/brand-dark.src.js +328 -0
- package/themes/brand-light.js +15 -0
- package/themes/brand-light.js.map +1 -0
- package/themes/brand-light.src.js +294 -0
- package/themes/dark-blue.js +1 -1
- package/themes/dark-blue.src.js +1 -1
- package/themes/dark-green.js +1 -1
- package/themes/dark-green.src.js +1 -1
- package/themes/dark-unica.js +1 -1
- package/themes/dark-unica.js.map +1 -1
- package/themes/dark-unica.src.js +5 -3
- package/themes/gray.js +1 -1
- package/themes/gray.src.js +1 -1
- package/themes/grid-light.js +1 -1
- package/themes/grid-light.js.map +1 -1
- package/themes/grid-light.src.js +5 -3
- package/themes/grid.js +1 -1
- package/themes/grid.js.map +1 -1
- package/themes/grid.src.js +5 -3
- package/themes/high-contrast-dark.js +1 -1
- package/themes/high-contrast-dark.src.js +1 -1
- package/themes/high-contrast-light.js +1 -1
- package/themes/high-contrast-light.src.js +1 -1
- package/themes/sand-signika.js +1 -1
- package/themes/sand-signika.src.js +1 -1
- package/themes/skies.js +1 -1
- package/themes/skies.src.js +1 -1
- package/themes/sunset.js +1 -1
- package/themes/sunset.src.js +1 -1
- package/es-modules/Series/ColorMapComposition.js +0 -109
|
@@ -200,8 +200,6 @@ var RadialAxis;
|
|
|
200
200
|
* anti-collision.
|
|
201
201
|
*
|
|
202
202
|
* @private
|
|
203
|
-
*
|
|
204
|
-
* @return {Highcharts.ChartLabelCollectorFunction}
|
|
205
203
|
*/
|
|
206
204
|
function createLabelCollector() {
|
|
207
205
|
var _this = this;
|
|
@@ -275,17 +273,12 @@ var RadialAxis;
|
|
|
275
273
|
* getPlotLinePath method.
|
|
276
274
|
*
|
|
277
275
|
* @private
|
|
278
|
-
*
|
|
279
276
|
* @param {number} _lineWidth
|
|
280
277
|
* Line width is not used.
|
|
281
|
-
*
|
|
282
278
|
* @param {number} [radius]
|
|
283
279
|
* Radius of radial path.
|
|
284
|
-
*
|
|
285
280
|
* @param {number} [innerRadius]
|
|
286
281
|
* Inner radius of radial path.
|
|
287
|
-
*
|
|
288
|
-
* @return {Highcharts.RadialAxisPath}
|
|
289
282
|
*/
|
|
290
283
|
function getLinePath(_lineWidth, radius, innerRadius) {
|
|
291
284
|
var center = this.pane.center, chart = this.chart, left = this.left || 0, top = this.top || 0;
|
|
@@ -312,7 +305,11 @@ var RadialAxis;
|
|
|
312
305
|
else {
|
|
313
306
|
end = this.postTranslate(this.angleRad, r);
|
|
314
307
|
path = [
|
|
315
|
-
[
|
|
308
|
+
[
|
|
309
|
+
'M',
|
|
310
|
+
this.center[0] + chart.plotLeft,
|
|
311
|
+
this.center[1] + chart.plotTop
|
|
312
|
+
],
|
|
316
313
|
['L', end.x, end.y]
|
|
317
314
|
];
|
|
318
315
|
}
|
|
@@ -334,17 +331,6 @@ var RadialAxis;
|
|
|
334
331
|
* Find the path for plot bands along the radial axis.
|
|
335
332
|
*
|
|
336
333
|
* @private
|
|
337
|
-
*
|
|
338
|
-
* @param {number} from
|
|
339
|
-
* From value.
|
|
340
|
-
*
|
|
341
|
-
* @param {number} to
|
|
342
|
-
* To value.
|
|
343
|
-
*
|
|
344
|
-
* @param {Highcharts.AxisPlotBandsOptions} options
|
|
345
|
-
* Band options.
|
|
346
|
-
*
|
|
347
|
-
* @return {Highcharts.RadialAxisPath}
|
|
348
334
|
*/
|
|
349
335
|
function getPlotBandPath(from, to, options) {
|
|
350
336
|
var chart = this.chart, radiusToPixels = function (radius) {
|
|
@@ -518,14 +504,10 @@ var RadialAxis;
|
|
|
518
504
|
* distance from center.
|
|
519
505
|
*
|
|
520
506
|
* @private
|
|
521
|
-
*
|
|
522
507
|
* @param {number} value
|
|
523
508
|
* Point value.
|
|
524
|
-
*
|
|
525
509
|
* @param {number} [length]
|
|
526
510
|
* Distance from center.
|
|
527
|
-
*
|
|
528
|
-
* @return {Highcharts.PositionObject}
|
|
529
511
|
*/
|
|
530
512
|
function getPosition(value, length) {
|
|
531
513
|
var translatedVal = this.translate(value);
|
|
@@ -671,7 +653,8 @@ var RadialAxis;
|
|
|
671
653
|
AxisDefaults.defaultYAxisOptions, defaultRadialOptions);
|
|
672
654
|
// Apply the stack labels for yAxis in case of inverted chart
|
|
673
655
|
if (inverted && coll === 'yAxis') {
|
|
674
|
-
this.defaultPolarOptions.stackLabels = AxisDefaults
|
|
656
|
+
this.defaultPolarOptions.stackLabels = AxisDefaults
|
|
657
|
+
.defaultYAxisOptions.stackLabels;
|
|
675
658
|
this.defaultPolarOptions.reversedStacks = true;
|
|
676
659
|
}
|
|
677
660
|
}
|
|
@@ -840,14 +823,10 @@ var RadialAxis;
|
|
|
840
823
|
* to final chart coordinates.
|
|
841
824
|
*
|
|
842
825
|
* @private
|
|
843
|
-
*
|
|
844
826
|
* @param {number} angle
|
|
845
827
|
* Translation angle.
|
|
846
|
-
*
|
|
847
828
|
* @param {number} radius
|
|
848
829
|
* Translation radius.
|
|
849
|
-
*
|
|
850
|
-
* @return {Highcharts.PositionObject}
|
|
851
830
|
*/
|
|
852
831
|
function postTranslate(angle, radius) {
|
|
853
832
|
var chart = this.chart, center = this.center;
|
|
@@ -81,7 +81,8 @@ var ScrollbarAxis = /** @class */ (function () {
|
|
|
81
81
|
from = unitedMin + range * (1 - this.to);
|
|
82
82
|
}
|
|
83
83
|
if (this.shouldUpdateExtremes(e.DOMType)) {
|
|
84
|
-
axis.setExtremes(from, to, true, e.DOMType !== 'mousemove' &&
|
|
84
|
+
axis.setExtremes(from, to, true, (e.DOMType !== 'mousemove' &&
|
|
85
|
+
e.DOMType !== 'touchmove'), e);
|
|
85
86
|
}
|
|
86
87
|
else {
|
|
87
88
|
// When live redraw is disabled, don't change extremes
|
|
@@ -93,15 +94,18 @@ var ScrollbarAxis = /** @class */ (function () {
|
|
|
93
94
|
});
|
|
94
95
|
// Wrap rendering axis, and update scrollbar if one is created:
|
|
95
96
|
addEvent(AxisClass, 'afterRender', function () {
|
|
96
|
-
var axis = this, _a = getExtremes(axis), scrollMin = _a.scrollMin, scrollMax = _a.scrollMax, scrollbar = axis.scrollbar, offset = axis.axisTitleMargin + (axis.titleOffset || 0), scrollbarsOffsets = axis.chart.scrollbarsOffsets, axisMargin = axis.options.margin || 0, offsetsIndex, from, to;
|
|
97
|
+
var axis = this, _a = getExtremes(axis), scrollMin = _a.scrollMin, scrollMax = _a.scrollMax, scrollbar = axis.scrollbar, offset = (axis.axisTitleMargin + (axis.titleOffset || 0)), scrollbarsOffsets = axis.chart.scrollbarsOffsets, axisMargin = axis.options.margin || 0, offsetsIndex, from, to;
|
|
97
98
|
if (scrollbar) {
|
|
98
99
|
if (axis.horiz) {
|
|
99
100
|
// Reserve space for labels/title
|
|
100
101
|
if (!axis.opposite) {
|
|
101
102
|
scrollbarsOffsets[1] += offset;
|
|
102
103
|
}
|
|
103
|
-
scrollbar.position(axis.left, axis.top +
|
|
104
|
-
|
|
104
|
+
scrollbar.position(axis.left, (axis.top +
|
|
105
|
+
axis.height +
|
|
106
|
+
2 +
|
|
107
|
+
scrollbarsOffsets[1] -
|
|
108
|
+
(axis.opposite ? axisMargin : 0)), axis.width, axis.height);
|
|
105
109
|
// Next scrollbar should reserve space for margin (if set)
|
|
106
110
|
if (!axis.opposite) {
|
|
107
111
|
scrollbarsOffsets[1] += axisMargin;
|
|
@@ -118,7 +122,10 @@ var ScrollbarAxis = /** @class */ (function () {
|
|
|
118
122
|
xPosition = axis.opposite ? 0 : axisMargin;
|
|
119
123
|
}
|
|
120
124
|
else {
|
|
121
|
-
xPosition = axis.left +
|
|
125
|
+
xPosition = axis.left +
|
|
126
|
+
axis.width +
|
|
127
|
+
2 +
|
|
128
|
+
scrollbarsOffsets[0] -
|
|
122
129
|
(axis.opposite ? 0 : axisMargin);
|
|
123
130
|
}
|
|
124
131
|
scrollbar.position(xPosition, axis.top, axis.width, axis.height);
|
|
@@ -142,10 +149,10 @@ var ScrollbarAxis = /** @class */ (function () {
|
|
|
142
149
|
scrollbar.setRange(0, 1);
|
|
143
150
|
}
|
|
144
151
|
else {
|
|
145
|
-
from =
|
|
146
|
-
(
|
|
147
|
-
to =
|
|
148
|
-
(
|
|
152
|
+
from = ((axis.min - scrollMin) /
|
|
153
|
+
(scrollMax - scrollMin));
|
|
154
|
+
to = ((axis.max - scrollMin) /
|
|
155
|
+
(scrollMax - scrollMin));
|
|
149
156
|
if ((axis.horiz && !axis.reversed) ||
|
|
150
157
|
(!axis.horiz && axis.reversed)) {
|
|
151
158
|
scrollbar.setRange(from, to);
|
|
@@ -161,7 +168,8 @@ var ScrollbarAxis = /** @class */ (function () {
|
|
|
161
168
|
addEvent(AxisClass, 'afterGetOffset', function () {
|
|
162
169
|
var axis = this, opposite = axis.scrollbar && !axis.scrollbar.options.opposite, index = axis.horiz ? 2 : opposite ? 3 : 1, scrollbar = axis.scrollbar;
|
|
163
170
|
if (scrollbar) {
|
|
164
|
-
|
|
171
|
+
// reset scrollbars offsets
|
|
172
|
+
axis.chart.scrollbarsOffsets = [0, 0];
|
|
165
173
|
axis.chart.axisOffset[index] +=
|
|
166
174
|
scrollbar.size + scrollbar.options.margin;
|
|
167
175
|
}
|
|
@@ -180,7 +180,8 @@ var StackingAxis;
|
|
|
180
180
|
* @private
|
|
181
181
|
*/
|
|
182
182
|
Additions.prototype.renderStackTotals = function () {
|
|
183
|
-
var stacking = this, axis = stacking.axis, chart = axis.chart, renderer = chart.renderer, stacks = stacking.stacks, stackLabelsAnim = axis.options.stackLabels &&
|
|
183
|
+
var stacking = this, axis = stacking.axis, chart = axis.chart, renderer = chart.renderer, stacks = stacking.stacks, stackLabelsAnim = axis.options.stackLabels &&
|
|
184
|
+
axis.options.stackLabels.animation, animationConfig = getDeferredAnimation(chart, stackLabelsAnim || false), stackTotalGroup = stacking.stackTotalGroup = (stacking.stackTotalGroup ||
|
|
184
185
|
renderer
|
|
185
186
|
.g('stack-labels')
|
|
186
187
|
.attr({
|
|
@@ -37,7 +37,7 @@ var clamp = U.clamp, correctFloat = U.correctFloat, defined = U.defined, destroy
|
|
|
37
37
|
* @param {boolean} [noLabel=false]
|
|
38
38
|
* Whether to disable the label or not. Defaults to false.
|
|
39
39
|
*
|
|
40
|
-
* @param {
|
|
40
|
+
* @param {Object} [parameters]
|
|
41
41
|
* Optional parameters for the tick.
|
|
42
42
|
*/
|
|
43
43
|
var Tick = /** @class */ (function () {
|
|
@@ -265,7 +265,7 @@ var Tick = /** @class */ (function () {
|
|
|
265
265
|
* @return {Highcharts.PositionObject}
|
|
266
266
|
* The tick position.
|
|
267
267
|
*
|
|
268
|
-
* @
|
|
268
|
+
* @emits Highcharts.Tick#event:afterGetPosition
|
|
269
269
|
*/
|
|
270
270
|
Tick.prototype.getPosition = function (horiz, tickPos, tickmarkOffset, old) {
|
|
271
271
|
var axis = this.axis, chart = axis.chart, cHeight = (old && chart.oldChartHeight) || chart.chartHeight, pos = {
|
|
@@ -296,9 +296,7 @@ var Tick = /** @class */ (function () {
|
|
|
296
296
|
};
|
|
297
297
|
/**
|
|
298
298
|
* Get the x, y position of the tick label
|
|
299
|
-
*
|
|
300
299
|
* @private
|
|
301
|
-
* @return {Highcharts.PositionObject}
|
|
302
300
|
*/
|
|
303
301
|
Tick.prototype.getLabelPosition = function (x, y, label, horiz, labelOptions, tickmarkOffset, index, step) {
|
|
304
302
|
var axis = this.axis, transA = axis.transA, reversed = ( // #7911
|
|
@@ -95,7 +95,7 @@ var TreeGridAxis;
|
|
|
95
95
|
*
|
|
96
96
|
* @param {number} numberOfSeries
|
|
97
97
|
*
|
|
98
|
-
* @return {
|
|
98
|
+
* @return {Object}
|
|
99
99
|
* Returns an object containing categories, mapOfIdToNode,
|
|
100
100
|
* mapOfPosToGridNode, and tree.
|
|
101
101
|
*
|
|
@@ -105,7 +105,8 @@ var TreeGridAxis;
|
|
|
105
105
|
* @todo Add unit-tests.
|
|
106
106
|
*/
|
|
107
107
|
function getTreeGridFromData(data, uniqueNames, numberOfSeries) {
|
|
108
|
-
var categories = [], collapsedNodes = [], mapOfIdToNode = {}, uniqueNamesEnabled = typeof uniqueNames === 'boolean' ?
|
|
108
|
+
var categories = [], collapsedNodes = [], mapOfIdToNode = {}, uniqueNamesEnabled = typeof uniqueNames === 'boolean' ?
|
|
109
|
+
uniqueNames : false;
|
|
109
110
|
var mapOfPosToGridNode = {}, posIterator = -1;
|
|
110
111
|
// Build the tree from the series data.
|
|
111
112
|
var treeParams = {
|
|
@@ -125,7 +126,9 @@ var TreeGridAxis;
|
|
|
125
126
|
},
|
|
126
127
|
// Before the children has been created.
|
|
127
128
|
before: function (node) {
|
|
128
|
-
var data = isObject(node.data, true) ?
|
|
129
|
+
var data = isObject(node.data, true) ?
|
|
130
|
+
node.data :
|
|
131
|
+
{}, name = isString(data.name) ? data.name : '', parentNode = mapOfIdToNode[node.parent], parentGridNode = (isObject(parentNode, true) ?
|
|
129
132
|
mapOfPosToGridNode[parentNode.pos] :
|
|
130
133
|
null), hasSameName = function (x) {
|
|
131
134
|
return x.name === name;
|
|
@@ -222,8 +225,8 @@ var TreeGridAxis;
|
|
|
222
225
|
/**
|
|
223
226
|
* Builds the tree of categories and calculates its positions.
|
|
224
227
|
* @private
|
|
225
|
-
* @param {
|
|
226
|
-
* @param {
|
|
228
|
+
* @param {Object} e Event object
|
|
229
|
+
* @param {Object} e.target The chart instance which the event was fired on.
|
|
227
230
|
* @param {object[]} e.target.axes The axes of the chart.
|
|
228
231
|
*/
|
|
229
232
|
function onBeforeRender(e) {
|
|
@@ -234,8 +237,8 @@ var TreeGridAxis;
|
|
|
234
237
|
var options = axis.options || {}, labelOptions = options.labels, uniqueNames = options.uniqueNames, max = options.max,
|
|
235
238
|
// Check whether any of series is rendering for the first
|
|
236
239
|
// time, visibility has changed, or its data is dirty, and
|
|
237
|
-
// only then update. #10570, #10580
|
|
238
|
-
//
|
|
240
|
+
// only then update. #10570, #10580. Also check if
|
|
241
|
+
// mapOfPosToGridNode exists. #10887
|
|
239
242
|
isDirty = (!axis.treeGrid.mapOfPosToGridNode ||
|
|
240
243
|
axis.series.some(function (series) {
|
|
241
244
|
return !series.hasRendered ||
|
|
@@ -251,13 +254,15 @@ var TreeGridAxis;
|
|
|
251
254
|
(s.options.data || []).forEach(function (data) {
|
|
252
255
|
// For using keys - rebuild the data structure
|
|
253
256
|
if (s.options.keys && s.options.keys.length) {
|
|
254
|
-
data = s.pointClass.prototype
|
|
257
|
+
data = s.pointClass.prototype
|
|
258
|
+
.optionsToObject
|
|
259
|
+
.call({ series: s }, data);
|
|
255
260
|
s.pointClass.setGanttPointAliases(data);
|
|
256
261
|
}
|
|
257
262
|
if (isObject(data, true)) {
|
|
258
263
|
// Set series index on data. Removed again
|
|
259
264
|
// after use.
|
|
260
|
-
data.seriesIndex = numberOfSeries;
|
|
265
|
+
data.seriesIndex = (numberOfSeries);
|
|
261
266
|
arr.push(data);
|
|
262
267
|
}
|
|
263
268
|
});
|
|
@@ -284,17 +289,20 @@ var TreeGridAxis;
|
|
|
284
289
|
treeGrid = getTreeGridFromData(data, uniqueNames || false, (uniqueNames === true) ? numberOfSeries : 1);
|
|
285
290
|
// Assign values to the axis.
|
|
286
291
|
axis.categories = treeGrid.categories;
|
|
287
|
-
axis.treeGrid.mapOfPosToGridNode = treeGrid.mapOfPosToGridNode;
|
|
292
|
+
axis.treeGrid.mapOfPosToGridNode = (treeGrid.mapOfPosToGridNode);
|
|
288
293
|
axis.hasNames = true;
|
|
289
294
|
axis.treeGrid.tree = treeGrid.tree;
|
|
290
295
|
// Update yData now that we have calculated the y values
|
|
291
296
|
axis.series.forEach(function (series) {
|
|
292
297
|
var axisData = (series.options.data || []).map(function (d) {
|
|
293
|
-
if (isArray(d) &&
|
|
298
|
+
if (isArray(d) &&
|
|
299
|
+
series.options.keys &&
|
|
300
|
+
series.options.keys.length) {
|
|
294
301
|
// Get the axisData from the data array used to
|
|
295
302
|
// build the treeGrid where has been modified
|
|
296
303
|
data.forEach(function (point) {
|
|
297
|
-
if (d.indexOf(point.x) >= 0 &&
|
|
304
|
+
if (d.indexOf(point.x) >= 0 &&
|
|
305
|
+
d.indexOf(point.x2) >= 0) {
|
|
298
306
|
d = point;
|
|
299
307
|
}
|
|
300
308
|
});
|
|
@@ -396,10 +404,11 @@ var TreeGridAxis;
|
|
|
396
404
|
axis.brokenAxis.setBreaks(breaks, false);
|
|
397
405
|
// remove the node from the axis collapsedNodes
|
|
398
406
|
if (axis.treeGrid.collapsedNodes) {
|
|
399
|
-
axis.treeGrid.collapsedNodes = axis.treeGrid
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
407
|
+
axis.treeGrid.collapsedNodes = axis.treeGrid
|
|
408
|
+
.collapsedNodes
|
|
409
|
+
.filter(function (n) { return ((node.collapseStart !==
|
|
410
|
+
n.collapseStart) ||
|
|
411
|
+
node.collapseEnd !== n.collapseEnd); });
|
|
403
412
|
}
|
|
404
413
|
}
|
|
405
414
|
});
|
|
@@ -668,7 +677,7 @@ var TreeGridAxis;
|
|
|
668
677
|
* @param {Highcharts.Axis} axis
|
|
669
678
|
* The axis to check against.
|
|
670
679
|
*
|
|
671
|
-
* @param {
|
|
680
|
+
* @param {Object} node
|
|
672
681
|
* The node to check if is collapsed.
|
|
673
682
|
*
|
|
674
683
|
* @param {number} pos
|
|
@@ -169,7 +169,10 @@ var TreeGridTick;
|
|
|
169
169
|
node.descendants > 0) {
|
|
170
170
|
collapsed = axis.treeGrid.isCollapsed(node);
|
|
171
171
|
renderLabelIcon(tick, {
|
|
172
|
-
color: !styledMode &&
|
|
172
|
+
color: (!styledMode &&
|
|
173
|
+
label.styles &&
|
|
174
|
+
label.styles.color ||
|
|
175
|
+
''),
|
|
173
176
|
collapsed: collapsed,
|
|
174
177
|
group: label.parentGroup,
|
|
175
178
|
options: symbolOptions,
|
|
@@ -58,7 +58,7 @@ var WaterfallAxis;
|
|
|
58
58
|
* @function Highcharts.Axis#renderWaterfallStackTotals
|
|
59
59
|
*/
|
|
60
60
|
Composition.prototype.renderStackTotals = function () {
|
|
61
|
-
var yAxis = this.axis, waterfallStacks = yAxis.waterfall.stacks, stackTotalGroup = yAxis.stacking && yAxis.stacking.stackTotalGroup, dummyStackItem = new StackItem(yAxis, yAxis.options.stackLabels, false, 0, void 0);
|
|
61
|
+
var yAxis = this.axis, waterfallStacks = yAxis.waterfall.stacks, stackTotalGroup = (yAxis.stacking && yAxis.stacking.stackTotalGroup), dummyStackItem = new StackItem(yAxis, yAxis.options.stackLabels, false, 0, void 0);
|
|
62
62
|
this.dummyStackItem = dummyStackItem;
|
|
63
63
|
// Render each waterfall stack total
|
|
64
64
|
objectEach(waterfallStacks, function (type) {
|
|
@@ -99,7 +99,7 @@ var ZAxis = /** @class */ (function (_super) {
|
|
|
99
99
|
var chart = axis.chart;
|
|
100
100
|
axis.hasVisibleSeries = false;
|
|
101
101
|
// Reset properties in case we're redrawing (#3353)
|
|
102
|
-
axis.dataMin = axis.dataMax = axis.ignoreMinPadding = axis.ignoreMaxPadding = void 0;
|
|
102
|
+
axis.dataMin = axis.dataMax = axis.ignoreMinPadding = (axis.ignoreMaxPadding = void 0);
|
|
103
103
|
if (axis.stacking) {
|
|
104
104
|
axis.stacking.buildStacks();
|
|
105
105
|
}
|
|
@@ -151,8 +151,8 @@ var Chart = /** @class */ (function () {
|
|
|
151
151
|
* @param {...Array<*>} arguments
|
|
152
152
|
* All arguments for the constructor.
|
|
153
153
|
*
|
|
154
|
-
* @
|
|
155
|
-
* @
|
|
154
|
+
* @emits Highcharts.Chart#event:init
|
|
155
|
+
* @emits Highcharts.Chart#event:afterInit
|
|
156
156
|
*/
|
|
157
157
|
Chart.prototype.getArgs = function (a, b, c) {
|
|
158
158
|
// Remove the optional first argument, renderTo, and
|
|
@@ -178,10 +178,9 @@ var Chart = /** @class */ (function () {
|
|
|
178
178
|
* Function to run when the chart has loaded and and all external
|
|
179
179
|
* images are loaded.
|
|
180
180
|
*
|
|
181
|
-
* @return {void}
|
|
182
181
|
*
|
|
183
|
-
* @
|
|
184
|
-
* @
|
|
182
|
+
* @emits Highcharts.Chart#event:init
|
|
183
|
+
* @emits Highcharts.Chart#event:afterInit
|
|
185
184
|
*/
|
|
186
185
|
Chart.prototype.init = function (userOptions, callback) {
|
|
187
186
|
// Handle regular options
|
|
@@ -355,7 +354,6 @@ var Chart = /** @class */ (function () {
|
|
|
355
354
|
*
|
|
356
355
|
* @private
|
|
357
356
|
* @function Highcharts.Series#getSeriesOrderByLinks
|
|
358
|
-
* @return {Array<Highcharts.Series>}
|
|
359
357
|
*/
|
|
360
358
|
Chart.prototype.getSeriesOrderByLinks = function () {
|
|
361
359
|
return this.series.concat().sort(function (a, b) {
|
|
@@ -426,7 +424,8 @@ var Chart = /** @class */ (function () {
|
|
|
426
424
|
pos: plotLeft,
|
|
427
425
|
len: Infinity
|
|
428
426
|
};
|
|
429
|
-
var chartX = options.paneCoordinates ?
|
|
427
|
+
var chartX = options.paneCoordinates ?
|
|
428
|
+
xAxis.pos + x : plotLeft + x;
|
|
430
429
|
if (!(chartX >= Math.max(scrollLeft + plotLeft, xAxis.pos) &&
|
|
431
430
|
chartX <= Math.min(scrollLeft + plotLeft + box.width, xAxis.pos + xAxis.len))) {
|
|
432
431
|
e.isInsidePlot = false;
|
|
@@ -437,7 +436,8 @@ var Chart = /** @class */ (function () {
|
|
|
437
436
|
pos: plotTop,
|
|
438
437
|
len: Infinity
|
|
439
438
|
};
|
|
440
|
-
var chartY = options.paneCoordinates ?
|
|
439
|
+
var chartY = options.paneCoordinates ?
|
|
440
|
+
yAxis.pos + y : plotTop + y;
|
|
441
441
|
if (!(chartY >= Math.max(scrollTop + plotTop, yAxis.pos) &&
|
|
442
442
|
chartY <= Math.min(scrollTop + plotTop + box.height, yAxis.pos + yAxis.len))) {
|
|
443
443
|
e.isInsidePlot = false;
|
|
@@ -460,12 +460,12 @@ var Chart = /** @class */ (function () {
|
|
|
460
460
|
* @param {boolean|Partial<Highcharts.AnimationOptionsObject>} [animation]
|
|
461
461
|
* If or how to apply animation to the redraw.
|
|
462
462
|
*
|
|
463
|
-
* @
|
|
464
|
-
* @
|
|
465
|
-
* @
|
|
466
|
-
* @
|
|
467
|
-
* @
|
|
468
|
-
* @
|
|
463
|
+
* @emits Highcharts.Chart#event:afterSetExtremes
|
|
464
|
+
* @emits Highcharts.Chart#event:beforeRedraw
|
|
465
|
+
* @emits Highcharts.Chart#event:predraw
|
|
466
|
+
* @emits Highcharts.Chart#event:redraw
|
|
467
|
+
* @emits Highcharts.Chart#event:render
|
|
468
|
+
* @emits Highcharts.Chart#event:updatedData
|
|
469
469
|
*/
|
|
470
470
|
Chart.prototype.redraw = function (animation) {
|
|
471
471
|
fireEvent(this, 'beforeRedraw');
|
|
@@ -614,8 +614,6 @@ var Chart = /** @class */ (function () {
|
|
|
614
614
|
var series = this.series;
|
|
615
615
|
/**
|
|
616
616
|
* @private
|
|
617
|
-
* @param {Highcharts.Axis|Highcharts.Series} item
|
|
618
|
-
* @return {boolean}
|
|
619
617
|
*/
|
|
620
618
|
function itemById(item) {
|
|
621
619
|
return (item.id === id ||
|
|
@@ -637,8 +635,8 @@ var Chart = /** @class */ (function () {
|
|
|
637
635
|
*
|
|
638
636
|
* @private
|
|
639
637
|
* @function Highcharts.Chart#getAxes
|
|
640
|
-
* @
|
|
641
|
-
* @
|
|
638
|
+
* @emits Highcharts.Chart#event:afterGetAxes
|
|
639
|
+
* @emits Highcharts.Chart#event:getAxes
|
|
642
640
|
*/
|
|
643
641
|
Chart.prototype.getAxes = function () {
|
|
644
642
|
var chart = this, options = this.options, xAxisOptions = options.xAxis = splat(options.xAxis || {}), yAxisOptions = options.yAxis = splat(options.yAxis || {});
|
|
@@ -815,20 +813,21 @@ var Chart = /** @class */ (function () {
|
|
|
815
813
|
* @function Highcharts.Chart#layOutTitles
|
|
816
814
|
*
|
|
817
815
|
* @param {boolean} [redraw=true]
|
|
818
|
-
* @
|
|
816
|
+
* @emits Highcharts.Chart#event:afterLayOutTitles
|
|
819
817
|
*/
|
|
820
818
|
Chart.prototype.layOutTitles = function (redraw) {
|
|
821
819
|
var titleOffset = [0, 0, 0], renderer = this.renderer, spacingBox = this.spacingBox;
|
|
822
820
|
// Lay out the title and the subtitle respectively
|
|
823
821
|
['title', 'subtitle', 'caption'].forEach(function (key) {
|
|
824
|
-
var title = this[key], titleOptions = this.options[key], verticalAlign = titleOptions.verticalAlign || 'top', offset = key === 'title' ?
|
|
822
|
+
var title = this[key], titleOptions = (this.options[key]), verticalAlign = titleOptions.verticalAlign || 'top', offset = key === 'title' ?
|
|
825
823
|
verticalAlign === 'top' ? -3 : 0 :
|
|
826
824
|
// Floating subtitle (#6574)
|
|
827
825
|
verticalAlign === 'top' ? titleOffset[0] + 2 : 0;
|
|
828
826
|
var titleSize, height;
|
|
829
827
|
if (title) {
|
|
830
828
|
if (!this.styledMode) {
|
|
831
|
-
titleSize = titleOptions.style &&
|
|
829
|
+
titleSize = (titleOptions.style &&
|
|
830
|
+
titleOptions.style.fontSize);
|
|
832
831
|
}
|
|
833
832
|
titleSize = renderer.fontMetrics(titleSize, title).b;
|
|
834
833
|
title
|
|
@@ -998,7 +997,7 @@ var Chart = /** @class */ (function () {
|
|
|
998
997
|
*
|
|
999
998
|
* @private
|
|
1000
999
|
* @function Highcharts.Chart#afterGetContainer
|
|
1001
|
-
* @
|
|
1000
|
+
* @emits Highcharts.Chart#event:afterGetContainer
|
|
1002
1001
|
*/
|
|
1003
1002
|
Chart.prototype.getContainer = function () {
|
|
1004
1003
|
var chart = this, options = chart.options, optionsChart = options.chart, indexAttrName = 'data-highcharts-chart', containerId = uniqueKey();
|
|
@@ -1029,7 +1028,7 @@ var Chart = /** @class */ (function () {
|
|
|
1029
1028
|
// Make a reference to the chart from the div
|
|
1030
1029
|
attr(renderTo, indexAttrName, chart.index);
|
|
1031
1030
|
// remove previous chart
|
|
1032
|
-
renderTo.innerHTML =
|
|
1031
|
+
renderTo.innerHTML = AST.emptyHTML;
|
|
1033
1032
|
// If the container doesn't have an offsetWidth, it has or is a child of
|
|
1034
1033
|
// a node that has display:none. We need to temporarily move it out to a
|
|
1035
1034
|
// visible state to determine the size, else the legend and tooltips
|
|
@@ -1112,7 +1111,7 @@ var Chart = /** @class */ (function () {
|
|
|
1112
1111
|
*
|
|
1113
1112
|
* @private
|
|
1114
1113
|
* @function Highcharts.Chart#getMargins
|
|
1115
|
-
* @
|
|
1114
|
+
* @emits Highcharts.Chart#event:getMargins
|
|
1116
1115
|
*/
|
|
1117
1116
|
Chart.prototype.getMargins = function (skipAxes) {
|
|
1118
1117
|
var _a = this, spacing = _a.spacing, margin = _a.margin, titleOffset = _a.titleOffset;
|
|
@@ -1272,10 +1271,9 @@ var Chart = /** @class */ (function () {
|
|
|
1272
1271
|
* @param {boolean|Partial<Highcharts.AnimationOptionsObject>} [animation=true]
|
|
1273
1272
|
* Whether and how to apply animation.
|
|
1274
1273
|
*
|
|
1275
|
-
* @return {void}
|
|
1276
1274
|
*
|
|
1277
|
-
* @
|
|
1278
|
-
* @
|
|
1275
|
+
* @emits Highcharts.Chart#event:endResize
|
|
1276
|
+
* @emits Highcharts.Chart#event:resize
|
|
1279
1277
|
*/
|
|
1280
1278
|
Chart.prototype.setSize = function (width, height, animation) {
|
|
1281
1279
|
var chart = this, renderer = chart.renderer;
|
|
@@ -1331,7 +1329,7 @@ var Chart = /** @class */ (function () {
|
|
|
1331
1329
|
*
|
|
1332
1330
|
* @private
|
|
1333
1331
|
* @function Highcharts.Chart#setChartSize
|
|
1334
|
-
* @
|
|
1332
|
+
* @emits Highcharts.Chart#event:afterSetChartSize
|
|
1335
1333
|
*/
|
|
1336
1334
|
Chart.prototype.setChartSize = function (skipAxes) {
|
|
1337
1335
|
var chart = this, inverted = chart.inverted, renderer = chart.renderer, chartWidth = chart.chartWidth, chartHeight = chart.chartHeight, optionsChart = chart.options.chart, spacing = chart.spacing, clipOffset = chart.clipOffset;
|
|
@@ -1435,7 +1433,7 @@ var Chart = /** @class */ (function () {
|
|
|
1435
1433
|
*
|
|
1436
1434
|
* @private
|
|
1437
1435
|
* @function Highcharts.Chart#drawChartBox
|
|
1438
|
-
* @
|
|
1436
|
+
* @emits Highcharts.Chart#event:afterDrawChartBox
|
|
1439
1437
|
*/
|
|
1440
1438
|
Chart.prototype.drawChartBox = function () {
|
|
1441
1439
|
var chart = this, optionsChart = chart.options.chart, renderer = chart.renderer, chartWidth = chart.chartWidth, chartHeight = chart.chartHeight, styledMode = chart.styledMode, plotBGImage = chart.plotBGImage, chartBackgroundColor = optionsChart.backgroundColor, plotBackgroundColor = optionsChart.plotBackgroundColor, plotBackgroundImage = optionsChart.plotBackgroundImage, plotLeft = chart.plotLeft, plotTop = chart.plotTop, plotWidth = chart.plotWidth, plotHeight = chart.plotHeight, plotBox = chart.plotBox, clipRect = chart.clipRect, clipBox = chart.clipBox;
|
|
@@ -1547,7 +1545,6 @@ var Chart = /** @class */ (function () {
|
|
|
1547
1545
|
*
|
|
1548
1546
|
* @private
|
|
1549
1547
|
* @function Highcharts.Chart#propFromSeries
|
|
1550
|
-
* @return {void}
|
|
1551
1548
|
*/
|
|
1552
1549
|
Chart.prototype.propFromSeries = function () {
|
|
1553
1550
|
var chart = this, optionsChart = chart.options.chart, seriesOptions = chart.options.series;
|
|
@@ -1587,7 +1584,7 @@ var Chart = /** @class */ (function () {
|
|
|
1587
1584
|
*
|
|
1588
1585
|
* @private
|
|
1589
1586
|
* @function Highcharts.Chart#linkSeries
|
|
1590
|
-
* @
|
|
1587
|
+
* @emits Highcharts.Chart#event:afterLinkSeries
|
|
1591
1588
|
*/
|
|
1592
1589
|
Chart.prototype.linkSeries = function () {
|
|
1593
1590
|
var chart = this, chartSeries = chart.series;
|
|
@@ -1802,7 +1799,7 @@ var Chart = /** @class */ (function () {
|
|
|
1802
1799
|
*
|
|
1803
1800
|
* @function Highcharts.Chart#destroy
|
|
1804
1801
|
*
|
|
1805
|
-
* @
|
|
1802
|
+
* @emits Highcharts.Chart#event:destroy
|
|
1806
1803
|
*/
|
|
1807
1804
|
Chart.prototype.destroy = function () {
|
|
1808
1805
|
var chart = this, axes = chart.axes, series = chart.series, container = chart.container, parentNode = container && container.parentNode;
|
|
@@ -1850,7 +1847,7 @@ var Chart = /** @class */ (function () {
|
|
|
1850
1847
|
// Remove container and all SVG, check container as it can break in IE
|
|
1851
1848
|
// when destroyed before finished loading
|
|
1852
1849
|
if (container) {
|
|
1853
|
-
container.innerHTML =
|
|
1850
|
+
container.innerHTML = AST.emptyHTML;
|
|
1854
1851
|
removeEvent(container);
|
|
1855
1852
|
if (parentNode) {
|
|
1856
1853
|
discardElement(container);
|
|
@@ -1866,7 +1863,7 @@ var Chart = /** @class */ (function () {
|
|
|
1866
1863
|
*
|
|
1867
1864
|
* @private
|
|
1868
1865
|
* @function Highcharts.Chart#firstRender
|
|
1869
|
-
* @
|
|
1866
|
+
* @emits Highcharts.Chart#event:beforeRender
|
|
1870
1867
|
*/
|
|
1871
1868
|
Chart.prototype.firstRender = function () {
|
|
1872
1869
|
var chart = this, options = chart.options;
|
|
@@ -1929,8 +1926,8 @@ var Chart = /** @class */ (function () {
|
|
|
1929
1926
|
*
|
|
1930
1927
|
* @private
|
|
1931
1928
|
* @function Highcharts.Chart#onload
|
|
1932
|
-
* @
|
|
1933
|
-
* @
|
|
1929
|
+
* @emits Highcharts.Chart#event:load
|
|
1930
|
+
* @emits Highcharts.Chart#event:render
|
|
1934
1931
|
*/
|
|
1935
1932
|
Chart.prototype.onload = function () {
|
|
1936
1933
|
// Run callbacks, first the ones registered by modules, then user's one
|
|
@@ -1976,8 +1973,8 @@ var Chart = /** @class */ (function () {
|
|
|
1976
1973
|
* @return {Highcharts.Series}
|
|
1977
1974
|
* The newly created series object.
|
|
1978
1975
|
*
|
|
1979
|
-
* @
|
|
1980
|
-
* @
|
|
1976
|
+
* @emits Highcharts.Chart#event:addSeries
|
|
1977
|
+
* @emits Highcharts.Chart#event:afterAddSeries
|
|
1981
1978
|
*/
|
|
1982
1979
|
Chart.prototype.addSeries = function (options, redraw, animation) {
|
|
1983
1980
|
var chart = this;
|
|
@@ -2230,8 +2227,8 @@ var Chart = /** @class */ (function () {
|
|
|
2230
2227
|
* Whether to apply animation, and optionally animation
|
|
2231
2228
|
* configuration.
|
|
2232
2229
|
*
|
|
2233
|
-
* @
|
|
2234
|
-
* @
|
|
2230
|
+
* @emits Highcharts.Chart#event:update
|
|
2231
|
+
* @emits Highcharts.Chart#event:afterUpdate
|
|
2235
2232
|
*/
|
|
2236
2233
|
Chart.prototype.update = function (options, redraw, oneToOne, animation) {
|
|
2237
2234
|
var chart = this, adders = {
|
|
@@ -2493,8 +2490,8 @@ var Chart = /** @class */ (function () {
|
|
|
2493
2490
|
*
|
|
2494
2491
|
* @function Highcharts.Chart#showResetZoom
|
|
2495
2492
|
*
|
|
2496
|
-
* @
|
|
2497
|
-
* @
|
|
2493
|
+
* @emits Highcharts.Chart#event:afterShowResetZoom
|
|
2494
|
+
* @emits Highcharts.Chart#event:beforeShowResetZoom
|
|
2498
2495
|
*/
|
|
2499
2496
|
Chart.prototype.showResetZoom = function () {
|
|
2500
2497
|
var chart = this, lang = defaultOptions.lang, btnOptions = chart.options.chart.resetZoomButton, theme = btnOptions.theme, states = theme.states, alignTo = (btnOptions.relativeTo === 'chart' ||
|
|
@@ -2526,7 +2523,7 @@ var Chart = /** @class */ (function () {
|
|
|
2526
2523
|
*
|
|
2527
2524
|
* @function Highcharts.Chart#zoomOut
|
|
2528
2525
|
*
|
|
2529
|
-
* @
|
|
2526
|
+
* @emits Highcharts.Chart#event:selection
|
|
2530
2527
|
*/
|
|
2531
2528
|
Chart.prototype.zoomOut = function () {
|
|
2532
2529
|
fireEvent(this, 'selection', { resetSelection: true }, this.zoom);
|
|
@@ -2539,7 +2536,8 @@ var Chart = /** @class */ (function () {
|
|
|
2539
2536
|
* @param {Highcharts.SelectEventObject} event
|
|
2540
2537
|
*/
|
|
2541
2538
|
Chart.prototype.zoom = function (event) {
|
|
2542
|
-
var chart = this, pointer = chart.pointer, mouseDownPos =
|
|
2539
|
+
var chart = this, pointer = chart.pointer, mouseDownPos = chart.inverted ?
|
|
2540
|
+
pointer.mouseDownX : pointer.mouseDownY;
|
|
2543
2541
|
var displayButton = false, hasZoomed;
|
|
2544
2542
|
// If zoom is called with no arguments, reset the axes
|
|
2545
2543
|
if (!event || event.resetSelection) {
|