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,9 +200,6 @@ var PackedBubbleSeries = /** @class */ (function (_super) {
|
|
|
200
200
|
/**
|
|
201
201
|
* Check if two bubbles overlaps.
|
|
202
202
|
* @private
|
|
203
|
-
* @param {Array} first bubble
|
|
204
|
-
* @param {Array} second bubble
|
|
205
|
-
* @return {Boolean} overlap or not
|
|
206
203
|
*/
|
|
207
204
|
PackedBubbleSeries.prototype.checkOverlap = function (bubble1, bubble2) {
|
|
208
205
|
var diffX = bubble1[0] - bubble2[0], // diff of X center values
|
|
@@ -332,7 +329,8 @@ var PackedBubbleSeries = /** @class */ (function (_super) {
|
|
|
332
329
|
return;
|
|
333
330
|
}
|
|
334
331
|
var series = this, chart = series.chart, parentAttribs = {}, nodeMarker = this.layout.options.parentNodeOptions.marker, parentOptions = {
|
|
335
|
-
fill: nodeMarker.fillColor ||
|
|
332
|
+
fill: (nodeMarker.fillColor ||
|
|
333
|
+
color(series.color).brighten(0.4).get()),
|
|
336
334
|
opacity: nodeMarker.fillOpacity,
|
|
337
335
|
stroke: nodeMarker.lineColor || series.color,
|
|
338
336
|
'stroke-width': pick(nodeMarker.lineWidth, series.options.lineWidth)
|
|
@@ -167,10 +167,10 @@ var PiePoint = /** @class */ (function (_super) {
|
|
|
167
167
|
* @param {boolean} sliced
|
|
168
168
|
* When undefined, the slice state is toggled.
|
|
169
169
|
*
|
|
170
|
-
* @param {boolean} redraw
|
|
170
|
+
* @param {boolean} [redraw]
|
|
171
171
|
* Whether to redraw the chart. True by default.
|
|
172
172
|
*
|
|
173
|
-
* @param {boolean|Partial<Highcharts.AnimationOptionsObject>}
|
|
173
|
+
* @param {boolean|Partial<Highcharts.AnimationOptionsObject>} [animation]
|
|
174
174
|
* Animation options.
|
|
175
175
|
*/
|
|
176
176
|
PiePoint.prototype.slice = function (sliced, redraw, animation) {
|
|
@@ -22,5 +22,6 @@ import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
|
|
|
22
22
|
* Composition
|
|
23
23
|
*
|
|
24
24
|
* */
|
|
25
|
-
SeriesRegistry.seriesTypes.pie.prototype.pointClass.prototype
|
|
25
|
+
SeriesRegistry.seriesTypes.pie.prototype.pointClass.prototype
|
|
26
|
+
.haloPath = Pie3DPoint.prototype.haloPath;
|
|
26
27
|
SeriesRegistry.seriesTypes.pie = Pie3DSeries;
|
|
@@ -59,7 +59,8 @@ var Pie3DPoint = /** @class */ (function (_super) {
|
|
|
59
59
|
* @private
|
|
60
60
|
*/
|
|
61
61
|
Pie3DPoint.prototype.haloPath = function () {
|
|
62
|
-
return this.series.chart.is3d() ?
|
|
62
|
+
return this.series.chart.is3d() ?
|
|
63
|
+
[] : superHaloPath.apply(this, arguments);
|
|
63
64
|
};
|
|
64
65
|
return Pie3DPoint;
|
|
65
66
|
}(PiePoint));
|
|
@@ -111,7 +111,7 @@ var Pie3DSeries = /** @class */ (function (_super) {
|
|
|
111
111
|
series.data.forEach(function (point) {
|
|
112
112
|
var shapeArgs = point.shapeArgs, r = shapeArgs.r,
|
|
113
113
|
// #3240 issue with datalabels for 0 and null values
|
|
114
|
-
a1 = (shapeArgs.alpha || options3d_1.alpha) * deg2rad, b1 = (shapeArgs.beta || options3d_1.beta) * deg2rad, a2 = (shapeArgs.start + shapeArgs.end) / 2, labelPosition = point.labelPosition, connectorPosition = labelPosition.connectorPosition, yOffset = (-r * (1 - Math.cos(a1)) * Math.sin(a2)), xOffset = r * (Math.cos(b1) - 1) * Math.cos(a2);
|
|
114
|
+
a1 = ((shapeArgs.alpha || options3d_1.alpha) * deg2rad), b1 = ((shapeArgs.beta || options3d_1.beta) * deg2rad), a2 = ((shapeArgs.start + shapeArgs.end) / 2), labelPosition = point.labelPosition, connectorPosition = (labelPosition.connectorPosition), yOffset = (-r * (1 - Math.cos(a1)) * Math.sin(a2)), xOffset = r * (Math.cos(b1) - 1) * Math.cos(a2);
|
|
115
115
|
// Apply perspective on label positions
|
|
116
116
|
[
|
|
117
117
|
labelPosition.natural,
|
|
@@ -320,8 +320,9 @@ var SankeySeries = /** @class */ (function (_super) {
|
|
|
320
320
|
var exceedsMinLinkWidth;
|
|
321
321
|
var factor = 0;
|
|
322
322
|
var i;
|
|
323
|
-
var remainingHeight = chart.plotSizeY -
|
|
324
|
-
options.borderWidth -
|
|
323
|
+
var remainingHeight = (chart.plotSizeY -
|
|
324
|
+
options.borderWidth -
|
|
325
|
+
(column.length - 1) * series.nodePadding);
|
|
325
326
|
// Because the minLinkWidth option doesn't obey the direct
|
|
326
327
|
// translation, we need to run translation iteratively, check
|
|
327
328
|
// node heights, remove those nodes affected by minLinkWidth,
|
|
@@ -50,7 +50,9 @@ symbols.arc = function (x, y, w, h, options) {
|
|
|
50
50
|
if (options && options.rounded) {
|
|
51
51
|
var r = options.r || w, smallR = (r - (options.innerR || 0)) / 2, outerArcStart = path[0], innerArcStart = path[2];
|
|
52
52
|
if (outerArcStart[0] === 'M' && innerArcStart[0] === 'L') {
|
|
53
|
-
var x1 = outerArcStart[1], y1 = outerArcStart[2], x2 = innerArcStart[1], y2 = innerArcStart[2], roundStart = [
|
|
53
|
+
var x1 = outerArcStart[1], y1 = outerArcStart[2], x2 = innerArcStart[1], y2 = innerArcStart[2], roundStart = [
|
|
54
|
+
'A', smallR, smallR, 0, 1, 1, x1, y1
|
|
55
|
+
], roundEnd = ['A', smallR, smallR, 0, 1, 1, x2, y2];
|
|
54
56
|
// Replace the line segment and the last close segment
|
|
55
57
|
path[2] = roundEnd;
|
|
56
58
|
path[4] = roundStart;
|
|
@@ -62,14 +62,6 @@ var SplineSeries = /** @class */ (function (_super) {
|
|
|
62
62
|
*
|
|
63
63
|
* @private
|
|
64
64
|
* @function Highcharts.seriesTypes.spline#getPointSpline
|
|
65
|
-
*
|
|
66
|
-
* @param {Array<Highcharts.Point>}
|
|
67
|
-
*
|
|
68
|
-
* @param {Highcharts.Point} point
|
|
69
|
-
*
|
|
70
|
-
* @param {number} i
|
|
71
|
-
*
|
|
72
|
-
* @return {Highcharts.SVGPathArray}
|
|
73
65
|
*/
|
|
74
66
|
SplineSeries.prototype.getPointSpline = function (points, point, i) {
|
|
75
67
|
var
|
|
@@ -395,7 +395,7 @@ var SunburstSeries = /** @class */ (function (_super) {
|
|
|
395
395
|
};
|
|
396
396
|
}
|
|
397
397
|
points.forEach(function (point) {
|
|
398
|
-
var node = point.node, level = mapOptionsToLevel[node.level], shapeExisting = point.shapeExisting || {}, shape = node.shapeArgs || {}, animationInfo, onComplete, visible = !!(node.visible && node.shapeArgs);
|
|
398
|
+
var node = point.node, level = mapOptionsToLevel[node.level], shapeExisting = (point.shapeExisting || {}), shape = node.shapeArgs || {}, animationInfo, onComplete, visible = !!(node.visible && node.shapeArgs);
|
|
399
399
|
if (hasRendered && animation) {
|
|
400
400
|
animationInfo = getAnimation(shape, {
|
|
401
401
|
center: center,
|
|
@@ -689,7 +689,7 @@ var SunburstSeries = /** @class */ (function (_super) {
|
|
|
689
689
|
/**
|
|
690
690
|
* Can set a `levelSize` on all points which lies on the same level.
|
|
691
691
|
*
|
|
692
|
-
* @type {
|
|
692
|
+
* @type {Object}
|
|
693
693
|
* @apioption plotOptions.sunburst.levels.levelSize
|
|
694
694
|
*/
|
|
695
695
|
/**
|
|
@@ -39,7 +39,7 @@ var SunburstUtilities;
|
|
|
39
39
|
* @private
|
|
40
40
|
* @function calculateLevelSizes
|
|
41
41
|
*
|
|
42
|
-
* @param {
|
|
42
|
+
* @param {Object} levelOptions
|
|
43
43
|
* Map of level to its options.
|
|
44
44
|
*
|
|
45
45
|
* @param {Highcharts.Dictionary<number>} params
|
|
@@ -58,7 +58,8 @@ var SunburstUtilities;
|
|
|
58
58
|
levelsNotIncluded = Object.keys(result).filter(function (k) {
|
|
59
59
|
return levels.indexOf(+k) === -1;
|
|
60
60
|
});
|
|
61
|
-
diffRadius = remainingSize = isNumber(p.diffRadius) ?
|
|
61
|
+
diffRadius = remainingSize = isNumber(p.diffRadius) ?
|
|
62
|
+
p.diffRadius : 0;
|
|
62
63
|
// Convert percentage to pixels.
|
|
63
64
|
// Calculate the remaining size to divide between "weight" levels.
|
|
64
65
|
// Calculate total weight to use in convertion from weight to
|
|
@@ -59,8 +59,6 @@ var TilemapPoint = /** @class */ (function (_super) {
|
|
|
59
59
|
/**
|
|
60
60
|
* @private
|
|
61
61
|
* @function Highcharts.Point#haloPath
|
|
62
|
-
*
|
|
63
|
-
* @return {Highcharts.SVGElement|Highcharts.SVGPathArray|Array<Highcharts.SVGElement>}
|
|
64
62
|
*/
|
|
65
63
|
TilemapPoint.prototype.haloPath = function () {
|
|
66
64
|
return this.series.tileShape.haloPath.apply(this, arguments);
|
|
@@ -20,13 +20,6 @@ var clamp = U.clamp, pick = U.pick;
|
|
|
20
20
|
/**
|
|
21
21
|
* Utility func to get padding definition from tile size division
|
|
22
22
|
* @private
|
|
23
|
-
* @param {Highcharts.TilemapSeries} series
|
|
24
|
-
* series
|
|
25
|
-
* @param {Highcharts.number} xDiv
|
|
26
|
-
* xDiv
|
|
27
|
-
* @param {Highcharts.number} yDiv
|
|
28
|
-
* yDiv
|
|
29
|
-
* @return {Highcharts.TilemapPaddingObject}
|
|
30
23
|
*/
|
|
31
24
|
function tilePaddingFromTileSize(series, xDiv, yDiv) {
|
|
32
25
|
var options = series.options;
|
|
@@ -64,7 +64,7 @@ function getColor(node, options) {
|
|
|
64
64
|
*
|
|
65
65
|
* @private
|
|
66
66
|
*
|
|
67
|
-
* @param {
|
|
67
|
+
* @param {Object} params
|
|
68
68
|
* Object containing parameters.
|
|
69
69
|
* - `defaults` Object containing default options. The default options are
|
|
70
70
|
* merged with the userOptions to get the final options for a specific
|
|
@@ -156,7 +156,7 @@ function setTreeValues(tree, options) {
|
|
|
156
156
|
*
|
|
157
157
|
* @private
|
|
158
158
|
*
|
|
159
|
-
* @param {
|
|
159
|
+
* @param {Object} series
|
|
160
160
|
* The series to operate on.
|
|
161
161
|
*
|
|
162
162
|
* @return {string}
|
|
@@ -25,8 +25,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
25
25
|
})();
|
|
26
26
|
import Color from '../../Core/Color/Color.js';
|
|
27
27
|
var color = Color.parse;
|
|
28
|
-
import
|
|
29
|
-
var colorMapSeriesMixin = ColorMapComposition.colorMapSeriesMixin;
|
|
28
|
+
import ColorMapMixin from '../ColorMapMixin.js';
|
|
30
29
|
import H from '../../Core/Globals.js';
|
|
31
30
|
var noop = H.noop;
|
|
32
31
|
import LegendSymbol from '../../Core/Legend/LegendSymbol.js';
|
|
@@ -250,11 +249,11 @@ var TreemapSeries = /** @class */ (function (_super) {
|
|
|
250
249
|
* @private
|
|
251
250
|
* @function Highcharts.Series#calculateChildrenAreas
|
|
252
251
|
*
|
|
253
|
-
* @param {
|
|
254
|
-
*
|
|
252
|
+
* @param {Object} node
|
|
253
|
+
* The node which is parent to the children.
|
|
255
254
|
*
|
|
256
|
-
* @param {
|
|
257
|
-
*
|
|
255
|
+
* @param {Object} area
|
|
256
|
+
* The rectangular area of the parent.
|
|
258
257
|
*/
|
|
259
258
|
TreemapSeries.prototype.calculateChildrenAreas = function (parent, area) {
|
|
260
259
|
var series = this, options = series.options, mapOptionsToLevel = series.mapOptionsToLevel, level = mapOptionsToLevel[parent.level + 1], algorithm = pick((series[(level && level.layoutAlgorithm)] &&
|
|
@@ -462,7 +461,7 @@ var TreemapSeries = /** @class */ (function (_super) {
|
|
|
462
461
|
* @param {Array<string>} [existingIds]
|
|
463
462
|
* List of all point ids.
|
|
464
463
|
*
|
|
465
|
-
* @return {
|
|
464
|
+
* @return {Object}
|
|
466
465
|
* Map from parent id to children index in data.
|
|
467
466
|
*/
|
|
468
467
|
TreemapSeries.prototype.getListOfParents = function (data, existingIds) {
|
|
@@ -509,9 +508,7 @@ var TreemapSeries = /** @class */ (function (_super) {
|
|
|
509
508
|
TreemapSeries.prototype.init = function (chart, options) {
|
|
510
509
|
var series = this, setOptionsEvent;
|
|
511
510
|
// If color series logic is loaded, add some properties
|
|
512
|
-
|
|
513
|
-
this.colorAttribs = ColorMapComposition.seriesColorAttribs;
|
|
514
|
-
}
|
|
511
|
+
this.colorAttribs = ColorMapMixin.SeriesMixin.colorAttribs;
|
|
515
512
|
setOptionsEvent = addEvent(series, 'setOptions', function (event) {
|
|
516
513
|
var options = event.userOptions;
|
|
517
514
|
if (defined(options.allowDrillToNode) &&
|
|
@@ -592,7 +589,8 @@ var TreemapSeries = /** @class */ (function (_super) {
|
|
|
592
589
|
return attr;
|
|
593
590
|
};
|
|
594
591
|
TreemapSeries.prototype.renderTraverseUpButton = function (rootId) {
|
|
595
|
-
var series = this, nodeMap = series.nodeMap, node = nodeMap[rootId], name = node.name, buttonOptions = series.options
|
|
592
|
+
var series = this, nodeMap = series.nodeMap, node = nodeMap[rootId], name = node.name, buttonOptions = series.options
|
|
593
|
+
.traverseUpButton, backText = pick(buttonOptions.text, name, '◁ Back'), attr, states;
|
|
596
594
|
if (rootId === '' || (series.is('sunburst') &&
|
|
597
595
|
series.tree.children.length === 1 &&
|
|
598
596
|
rootId === series.tree.children[0].id)) {
|
|
@@ -703,7 +701,7 @@ var TreemapSeries = /** @class */ (function (_super) {
|
|
|
703
701
|
* @param {boolean} [redraw=true]
|
|
704
702
|
* Wether to redraw the chart or not.
|
|
705
703
|
*
|
|
706
|
-
* @param {
|
|
704
|
+
* @param {Object} [eventArguments]
|
|
707
705
|
* Arguments to be accessed in event handler.
|
|
708
706
|
*
|
|
709
707
|
* @param {string} [eventArguments.newRootId]
|
|
@@ -715,14 +713,14 @@ var TreemapSeries = /** @class */ (function (_super) {
|
|
|
715
713
|
* @param {boolean} [eventArguments.redraw]
|
|
716
714
|
* Wether to redraw the chart after.
|
|
717
715
|
*
|
|
718
|
-
* @param {
|
|
716
|
+
* @param {Object} [eventArguments.series]
|
|
719
717
|
* The series to update the root of.
|
|
720
718
|
*
|
|
721
719
|
* @param {string} [eventArguments.trigger]
|
|
722
720
|
* The action which triggered the event. Undefined if the setRootNode is
|
|
723
721
|
* called directly.
|
|
724
722
|
*
|
|
725
|
-
* @
|
|
723
|
+
* @emits Highcharts.Series#event:setRootNode
|
|
726
724
|
*/
|
|
727
725
|
TreemapSeries.prototype.setRootNode = function (id, redraw, eventArguments) {
|
|
728
726
|
var series = this, eventArgs = extend({
|
|
@@ -735,16 +733,15 @@ var TreemapSeries = /** @class */ (function (_super) {
|
|
|
735
733
|
* The default functionality of the setRootNode event.
|
|
736
734
|
*
|
|
737
735
|
* @private
|
|
738
|
-
* @param {
|
|
736
|
+
* @param {Object} args The event arguments.
|
|
739
737
|
* @param {string} args.newRootId Id of the new root.
|
|
740
738
|
* @param {string} args.previousRootId Id of the previous root.
|
|
741
739
|
* @param {boolean} args.redraw Wether to redraw the chart after.
|
|
742
|
-
* @param {
|
|
740
|
+
* @param {Object} args.series The series to update the root of.
|
|
743
741
|
* @param {string} [args.trigger=undefined] The action which
|
|
744
742
|
* triggered the event. Undefined if the setRootNode is called
|
|
745
743
|
* directly.
|
|
746
|
-
|
|
747
|
-
*/
|
|
744
|
+
*/
|
|
748
745
|
var defaultFn = function (args) {
|
|
749
746
|
var series = args.series;
|
|
750
747
|
// Store previous and new root ids on the series.
|
|
@@ -959,10 +956,11 @@ var TreemapSeries = /** @class */ (function (_super) {
|
|
|
959
956
|
* additional properties `newRootId`, `previousRootId`, `redraw` and
|
|
960
957
|
* `trigger`.
|
|
961
958
|
*
|
|
962
|
-
* @type {function}
|
|
963
|
-
* @default undefined
|
|
964
959
|
* @sample {highcharts} highcharts/plotoptions/treemap-events-setrootnode/
|
|
965
960
|
* Alert update information on setRootNode event.
|
|
961
|
+
*
|
|
962
|
+
* @type {Function}
|
|
963
|
+
* @default undefined
|
|
966
964
|
* @since 7.0.3
|
|
967
965
|
* @product highcharts
|
|
968
966
|
* @apioption plotOptions.treemap.events.setRootNode
|
|
@@ -1378,7 +1376,6 @@ extend(TreemapSeries.prototype, {
|
|
|
1378
1376
|
recursive: TreemapUtilities.recursive
|
|
1379
1377
|
}
|
|
1380
1378
|
});
|
|
1381
|
-
ColorMapComposition.compose(TreemapSeries);
|
|
1382
1379
|
SeriesRegistry.registerSeriesType('treemap', TreemapSeries);
|
|
1383
1380
|
/* *
|
|
1384
1381
|
*
|
|
@@ -100,7 +100,11 @@ var VariwideSeries = /** @class */ (function (_super) {
|
|
|
100
100
|
* Distorted X position
|
|
101
101
|
*/
|
|
102
102
|
VariwideSeries.prototype.postTranslate = function (index, x, point) {
|
|
103
|
-
var axis = this.xAxis, relZ = this.relZ, i = axis.reversed ? relZ.length - index : index, goRight = axis.reversed ? -1 : 1, minPx = axis.toPixels(axis.reversed ?
|
|
103
|
+
var axis = this.xAxis, relZ = this.relZ, i = axis.reversed ? relZ.length - index : index, goRight = axis.reversed ? -1 : 1, minPx = axis.toPixels(axis.reversed ?
|
|
104
|
+
(axis.dataMax || 0) + axis.pointRange :
|
|
105
|
+
(axis.dataMin || 0)), maxPx = axis.toPixels(axis.reversed ?
|
|
106
|
+
(axis.dataMin || 0) :
|
|
107
|
+
(axis.dataMax || 0) + axis.pointRange), len = Math.abs(maxPx - minPx), totalZ = this.totalZ, left = this.chart.inverted ?
|
|
104
108
|
maxPx - (this.chart.plotTop - goRight * axis.minPixelPadding) :
|
|
105
109
|
minPx - this.chart.plotLeft - goRight * axis.minPixelPadding, linearSlotLeft = i / relZ.length * len, linearSlotRight = (i + goRight) / relZ.length * len, slotLeft = (pick(relZ[i], totalZ) / totalZ) * len, slotRight = (pick(relZ[i + goRight], totalZ) / totalZ) * len, xInsideLinearSlot = (x - (left + linearSlotLeft));
|
|
106
110
|
// Set crosshairWidth for every point (#8173)
|
|
@@ -107,12 +107,12 @@ var VennSeries = /** @class */ (function (_super) {
|
|
|
107
107
|
{ x: circle.x, y: circle.y + d },
|
|
108
108
|
{ x: circle.x, y: circle.y - d }
|
|
109
109
|
]
|
|
110
|
-
// Iterate the given points and return the one with the
|
|
111
|
-
// margin.
|
|
110
|
+
// Iterate the given points and return the one with the
|
|
111
|
+
// largest margin.
|
|
112
112
|
.reduce(function (best, point) {
|
|
113
113
|
var margin = VennUtils.getMarginFromCircles(point, internal, external);
|
|
114
|
-
// If the margin better than the current best, then
|
|
115
|
-
// sbest.
|
|
114
|
+
// If the margin better than the current best, then
|
|
115
|
+
// update sbest.
|
|
116
116
|
if (best.margin < margin) {
|
|
117
117
|
best.point = point;
|
|
118
118
|
best.margin = margin;
|
|
@@ -210,16 +210,13 @@ var VennSeries = /** @class */ (function (_super) {
|
|
|
210
210
|
if (relations.length > 0) {
|
|
211
211
|
var mapOfIdToCircles_1 = VennUtils.layoutGreedyVenn(relations);
|
|
212
212
|
var setRelations_1 = relations.filter(VennUtils.isSet);
|
|
213
|
-
relations
|
|
214
|
-
.forEach(function (relation) {
|
|
213
|
+
relations.forEach(function (relation) {
|
|
215
214
|
var sets = relation.sets;
|
|
216
215
|
var id = sets.join();
|
|
217
216
|
// Get shape from map of circles, or calculate intersection.
|
|
218
217
|
var shape = VennUtils.isSet(relation) ?
|
|
219
218
|
mapOfIdToCircles_1[id] :
|
|
220
|
-
getAreaOfIntersectionBetweenCircles(sets.map(function (set) {
|
|
221
|
-
return mapOfIdToCircles_1[set];
|
|
222
|
-
}));
|
|
219
|
+
getAreaOfIntersectionBetweenCircles(sets.map(function (set) { return mapOfIdToCircles_1[set]; }));
|
|
223
220
|
// Calculate label values if the set has a shape
|
|
224
221
|
if (shape) {
|
|
225
222
|
mapOfIdToShape[id] = shape;
|
|
@@ -303,11 +303,10 @@ function layoutGreedyVenn(relations) {
|
|
|
303
303
|
* Takes a set and updates the position, and add the set to the list of
|
|
304
304
|
* positioned sets.
|
|
305
305
|
* @private
|
|
306
|
-
* @param {
|
|
306
|
+
* @param {Object} set
|
|
307
307
|
* The set to add to its final position.
|
|
308
|
-
* @param {
|
|
308
|
+
* @param {Object} coordinates
|
|
309
309
|
* The coordinates to position the set at.
|
|
310
|
-
* @return {void}
|
|
311
310
|
*/
|
|
312
311
|
var positionSet = function positionSet(set, coordinates) {
|
|
313
312
|
var circle = set.circle;
|
|
@@ -575,10 +574,12 @@ function processVennData(data) {
|
|
|
575
574
|
/**
|
|
576
575
|
* Takes two sets and finds the one with the largest total overlap.
|
|
577
576
|
* @private
|
|
578
|
-
* @param {
|
|
579
|
-
*
|
|
580
|
-
* @
|
|
581
|
-
*
|
|
577
|
+
* @param {Object} a
|
|
578
|
+
* The first set to compare.
|
|
579
|
+
* @param {Object} b
|
|
580
|
+
* The second set to compare.
|
|
581
|
+
* @return {number}
|
|
582
|
+
* Returns 0 if a and b are equal, <0 if a is greater, >0 if b is greater.
|
|
582
583
|
*/
|
|
583
584
|
function sortByTotalOverlap(a, b) {
|
|
584
585
|
return b.totalOverlap - a.totalOverlap;
|
|
@@ -33,9 +33,12 @@ import '../../Core/DefaultOptions.js';
|
|
|
33
33
|
/**
|
|
34
34
|
* Returns true if the key is a direct property of the object.
|
|
35
35
|
* @private
|
|
36
|
-
* @param {*} obj
|
|
37
|
-
*
|
|
38
|
-
* @
|
|
36
|
+
* @param {*} obj
|
|
37
|
+
* Object with property to test
|
|
38
|
+
* @param {string} key
|
|
39
|
+
* Property key to test
|
|
40
|
+
* @return {boolean}
|
|
41
|
+
* Whether it is a direct property
|
|
39
42
|
*/
|
|
40
43
|
function ownProp(obj, key) {
|
|
41
44
|
return Object.hasOwnProperty.call(obj, key);
|
|
@@ -326,7 +326,7 @@ var WordcloudSeries = /** @class */ (function (_super) {
|
|
|
326
326
|
* cloud. Read more about it in our
|
|
327
327
|
* [documentation](https://www.highcharts.com/docs/chart-and-series-types/word-cloud-series#custom-placement-strategies)
|
|
328
328
|
*
|
|
329
|
-
* @validvalue
|
|
329
|
+
* @validvalue ["center", "random"]
|
|
330
330
|
*/
|
|
331
331
|
placementStrategy: 'center',
|
|
332
332
|
/**
|
|
@@ -359,7 +359,7 @@ var WordcloudSeries = /** @class */ (function (_super) {
|
|
|
359
359
|
* algorithms for use in word cloud. Read more about it in our
|
|
360
360
|
* [documentation](https://www.highcharts.com/docs/chart-and-series-types/word-cloud-series#custom-spiralling-algorithm)
|
|
361
361
|
*
|
|
362
|
-
* @validvalue
|
|
362
|
+
* @validvalue ["archimedean", "rectangular", "square"]
|
|
363
363
|
*/
|
|
364
364
|
spiral: 'rectangular',
|
|
365
365
|
/**
|
|
@@ -91,10 +91,9 @@ function getAxesFromPolygon(polygon) {
|
|
|
91
91
|
* @private
|
|
92
92
|
* @function project
|
|
93
93
|
* @param {Highcharts.PolygonObject} polygon
|
|
94
|
-
*
|
|
94
|
+
* Array of points in a polygon.
|
|
95
95
|
* @param {Highcharts.PolygonPointObject} target
|
|
96
|
-
*
|
|
97
|
-
* @return {Highcharts.RangeObject}
|
|
96
|
+
* The coordinate of pr
|
|
98
97
|
*/
|
|
99
98
|
function project(polygon, target) {
|
|
100
99
|
var products = polygon.map(function (point) {
|
|
@@ -315,7 +314,7 @@ function getRandomPosition(size) {
|
|
|
315
314
|
* @param {number} targetHeight
|
|
316
315
|
* Height of target area.
|
|
317
316
|
*
|
|
318
|
-
* @param {
|
|
317
|
+
* @param {Object} field
|
|
319
318
|
* The playing field.
|
|
320
319
|
*
|
|
321
320
|
* @param {Highcharts.Series} series
|
|
@@ -346,10 +345,10 @@ function getScale(targetWidth, targetHeight, field) {
|
|
|
346
345
|
* @param {Array<Highcharts.Point>} data
|
|
347
346
|
* Array of points.
|
|
348
347
|
*
|
|
349
|
-
* @param {
|
|
348
|
+
* @param {Object} data.dimensions
|
|
350
349
|
* The height and width of the word.
|
|
351
350
|
*
|
|
352
|
-
* @return {
|
|
351
|
+
* @return {Object}
|
|
353
352
|
* The width and height of the playing field.
|
|
354
353
|
*/
|
|
355
354
|
function getPlayingField(targetWidth, targetHeight, data) {
|
|
@@ -432,7 +431,7 @@ function getRotation(orientations, index, from, to) {
|
|
|
432
431
|
* @param {Function} fn
|
|
433
432
|
* The spiral function.
|
|
434
433
|
*
|
|
435
|
-
* @param {
|
|
434
|
+
* @param {Object} params
|
|
436
435
|
* Additional parameters for the spiral.
|
|
437
436
|
*
|
|
438
437
|
* @return {Function}
|
|
@@ -615,9 +614,6 @@ function updateFieldBoundaries(field, rectangle) {
|
|
|
615
614
|
*
|
|
616
615
|
* @private
|
|
617
616
|
* @function correctFloat
|
|
618
|
-
* @param {number} number
|
|
619
|
-
* @param {number} [precision]
|
|
620
|
-
* @return {number}
|
|
621
617
|
*/
|
|
622
618
|
function correctFloat(number, precision) {
|
|
623
619
|
var p = isNumber(precision) ? precision : 14, magnitude = Math.pow(10, p);
|
|
@@ -57,14 +57,14 @@ var XRangePoint = /** @class */ (function (_super) {
|
|
|
57
57
|
* @private
|
|
58
58
|
* @function getColorByCategory
|
|
59
59
|
*
|
|
60
|
-
* @param {
|
|
61
|
-
*
|
|
60
|
+
* @param {Object} series
|
|
61
|
+
* The series which the point belongs to.
|
|
62
62
|
*
|
|
63
|
-
* @param {
|
|
64
|
-
*
|
|
63
|
+
* @param {Object} point
|
|
64
|
+
* The point to calculate its color for.
|
|
65
65
|
*
|
|
66
|
-
* @return {
|
|
67
|
-
*
|
|
66
|
+
* @return {Object}
|
|
67
|
+
* Returns an object containing the properties color and colorIndex.
|
|
68
68
|
*/
|
|
69
69
|
XRangePoint.getColorByCategory = function (series, point) {
|
|
70
70
|
var colors = series.options.colors || series.chart.options.colors, colorCount = colors ?
|
|
@@ -119,8 +119,6 @@ var XRangePoint = /** @class */ (function (_super) {
|
|
|
119
119
|
*
|
|
120
120
|
* @private
|
|
121
121
|
* @function Highcharts.Point#init
|
|
122
|
-
*
|
|
123
|
-
* @return {Highcharts.Point}
|
|
124
122
|
*/
|
|
125
123
|
XRangePoint.prototype.init = function () {
|
|
126
124
|
Point.prototype.init.apply(this, arguments);
|
|
@@ -140,8 +138,6 @@ var XRangePoint = /** @class */ (function (_super) {
|
|
|
140
138
|
/**
|
|
141
139
|
* @private
|
|
142
140
|
* @function Highcharts.Point#getLabelConfig
|
|
143
|
-
*
|
|
144
|
-
* @return {Highcharts.PointLabelObject}
|
|
145
141
|
*/
|
|
146
142
|
// Add x2 and yCategory to the available properties for tooltip formats
|
|
147
143
|
XRangePoint.prototype.getLabelConfig = function () {
|
|
@@ -153,8 +149,6 @@ var XRangePoint = /** @class */ (function (_super) {
|
|
|
153
149
|
/**
|
|
154
150
|
* @private
|
|
155
151
|
* @function Highcharts.Point#isValid
|
|
156
|
-
*
|
|
157
|
-
* @return {boolean}
|
|
158
152
|
*/
|
|
159
153
|
XRangePoint.prototype.isValid = function () {
|
|
160
154
|
return typeof this.x === 'number' &&
|
|
@@ -83,7 +83,6 @@ var XRangeSeries = /** @class */ (function (_super) {
|
|
|
83
83
|
/**
|
|
84
84
|
* @private
|
|
85
85
|
* @function Highcarts.seriesTypes.xrange#init
|
|
86
|
-
* @return {void}
|
|
87
86
|
*/
|
|
88
87
|
XRangeSeries.prototype.init = function () {
|
|
89
88
|
ColumnSeries.prototype.init.apply(this, arguments);
|
|
@@ -95,8 +94,6 @@ var XRangeSeries = /** @class */ (function (_super) {
|
|
|
95
94
|
*
|
|
96
95
|
* @private
|
|
97
96
|
* @function Highcharts.Series#getColumnMetrics
|
|
98
|
-
*
|
|
99
|
-
* @return {Highcharts.ColumnMetricsObject}
|
|
100
97
|
*/
|
|
101
98
|
XRangeSeries.prototype.getColumnMetrics = function () {
|
|
102
99
|
var metrics, chart = this.chart;
|
|
@@ -121,18 +118,6 @@ var XRangeSeries = /** @class */ (function (_super) {
|
|
|
121
118
|
*
|
|
122
119
|
* @private
|
|
123
120
|
* @function Highcharts.Series#cropData
|
|
124
|
-
*
|
|
125
|
-
* @param {Array<number>} xData
|
|
126
|
-
*
|
|
127
|
-
* @param {Array<number>} yData
|
|
128
|
-
*
|
|
129
|
-
* @param {number} min
|
|
130
|
-
*
|
|
131
|
-
* @param {number} max
|
|
132
|
-
*
|
|
133
|
-
* @param {number} [cropShoulder]
|
|
134
|
-
*
|
|
135
|
-
* @return {*}
|
|
136
121
|
*/
|
|
137
122
|
XRangeSeries.prototype.cropData = function (xData, yData, min, max) {
|
|
138
123
|
// Replace xData with x2Data to find the appropriate cropStart
|
|
@@ -147,9 +132,10 @@ var XRangeSeries = /** @class */ (function (_super) {
|
|
|
147
132
|
*
|
|
148
133
|
* @private
|
|
149
134
|
* @function Highcharts.Series#findPointIndex
|
|
150
|
-
* @param {
|
|
151
|
-
*
|
|
152
|
-
*
|
|
135
|
+
* @param {Object} options
|
|
136
|
+
* The options of the point.
|
|
137
|
+
* @return {number|undefined}
|
|
138
|
+
* Returns index of a matching point, or undefined if no match is found.
|
|
153
139
|
*/
|
|
154
140
|
XRangeSeries.prototype.findPointIndex = function (options) {
|
|
155
141
|
var _a = this, cropped = _a.cropped, cropStart = _a.cropStart, points = _a.points;
|
|
@@ -386,8 +372,6 @@ var XRangeSeries = /** @class */ (function (_super) {
|
|
|
386
372
|
*
|
|
387
373
|
* @private
|
|
388
374
|
* @function Highcharts.Series#getAnimationVerb
|
|
389
|
-
*
|
|
390
|
-
* @return {string}
|
|
391
375
|
*/
|
|
392
376
|
XRangeSeries.prototype.getAnimationVerb = function () {
|
|
393
377
|
return (this.chart.pointCount < (this.options.animationLimit || 250) ?
|
|
@@ -160,6 +160,17 @@ var ABandsIndicator = /** @class */ (function (_super) {
|
|
|
160
160
|
* @optionparent plotOptions.abands
|
|
161
161
|
*/
|
|
162
162
|
ABandsIndicator.defaultOptions = merge(SMAIndicator.defaultOptions, {
|
|
163
|
+
/**
|
|
164
|
+
* Option for fill color between lines in Accelleration bands Indicator.
|
|
165
|
+
*
|
|
166
|
+
* @sample {highstock} stock/indicators/indicator-area-fill
|
|
167
|
+
* Background fill between lines.
|
|
168
|
+
*
|
|
169
|
+
* @type {Highcharts.Color}
|
|
170
|
+
* @since 9.3.2
|
|
171
|
+
* @apioption plotOptions.abands.fillColor
|
|
172
|
+
*
|
|
173
|
+
*/
|
|
163
174
|
params: {
|
|
164
175
|
period: 20,
|
|
165
176
|
/**
|
|
@@ -194,6 +205,7 @@ var ABandsIndicator = /** @class */ (function (_super) {
|
|
|
194
205
|
return ABandsIndicator;
|
|
195
206
|
}(SMAIndicator));
|
|
196
207
|
extend(ABandsIndicator.prototype, {
|
|
208
|
+
areaLinesNames: ['top', 'bottom'],
|
|
197
209
|
linesApiNames: ['topLine', 'bottomLine'],
|
|
198
210
|
nameBase: 'Acceleration Bands',
|
|
199
211
|
nameComponents: ['period', 'factor'],
|
|
@@ -166,6 +166,7 @@ var AroonIndicator = /** @class */ (function (_super) {
|
|
|
166
166
|
return AroonIndicator;
|
|
167
167
|
}(SMAIndicator));
|
|
168
168
|
extend(AroonIndicator.prototype, {
|
|
169
|
+
areaLinesNames: [],
|
|
169
170
|
linesApiNames: ['aroonDown'],
|
|
170
171
|
nameBase: 'Aroon',
|
|
171
172
|
pointArrayMap: ['y', 'aroonDown'],
|