highcharts 9.2.2 → 9.3.3
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/README.md +13 -6
- package/bower.json +1 -1
- package/css/annotations/popup.css +48 -8
- package/css/annotations/popup.scss +70 -22
- package/css/highcharts.css +46 -1
- package/css/highcharts.scss +40 -0
- package/css/stocktools/gui.css +1 -1
- package/css/themes/dark-unica.css +46 -1
- package/css/themes/grid-light.css +46 -1
- package/css/themes/sand-signika.css +46 -1
- package/es-modules/Accessibility/A11yI18n.js +269 -224
- package/es-modules/Accessibility/Accessibility.js +244 -129
- package/es-modules/Accessibility/AccessibilityComponent.js +78 -313
- package/es-modules/Accessibility/Components/AnnotationsA11y.js +19 -5
- package/es-modules/Accessibility/Components/ContainerComponent.js +53 -28
- package/es-modules/Accessibility/Components/InfoRegionsComponent.js +178 -120
- package/es-modules/Accessibility/Components/LegendComponent.js +251 -129
- package/es-modules/Accessibility/Components/MenuComponent.js +250 -154
- package/es-modules/Accessibility/Components/RangeSelectorComponent.js +172 -93
- package/es-modules/Accessibility/Components/SeriesComponent/ForcedMarkers.js +161 -115
- package/es-modules/Accessibility/Components/SeriesComponent/NewDataAnnouncer.js +138 -69
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesComponent.js +67 -28
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +48 -56
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js +387 -343
- package/es-modules/Accessibility/Components/ZoomComponent.js +156 -70
- package/es-modules/Accessibility/FocusBorder.js +192 -152
- package/es-modules/Accessibility/HighContrastMode.js +79 -66
- package/es-modules/Accessibility/HighContrastTheme.js +10 -0
- package/es-modules/Accessibility/KeyboardNavigation.js +151 -75
- package/es-modules/Accessibility/KeyboardNavigationHandler.js +71 -44
- package/es-modules/Accessibility/Options/DeprecatedOptions.js +21 -4
- package/es-modules/Accessibility/Options/LangOptions.js +4 -5
- package/es-modules/Accessibility/Options/Options.js +32 -17
- package/es-modules/Accessibility/ProxyElement.js +218 -0
- package/es-modules/Accessibility/ProxyProvider.js +302 -0
- package/es-modules/Accessibility/Utils/Announcer.js +17 -10
- package/es-modules/Accessibility/Utils/ChartUtilities.js +55 -45
- package/es-modules/Accessibility/Utils/DOMElementProvider.js +27 -15
- package/es-modules/Accessibility/Utils/EventProvider.js +27 -17
- package/es-modules/Accessibility/Utils/HTMLUtilities.js +125 -42
- package/es-modules/Core/Animation/Fx.js +5 -14
- package/es-modules/Core/Axis/Axis.js +77 -96
- package/es-modules/Core/Axis/Axis3D.js +10 -4
- package/es-modules/Core/Axis/AxisDefaults.js +35 -24
- 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 +55 -5
- package/es-modules/Core/Axis/Color/ColorAxisDefaults.js +5 -5
- 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 +88 -92
- package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +4 -5
- 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 +27 -12
- 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 +28 -19
- package/es-modules/Core/Axis/TreeGridTick.js +5 -3
- 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 +44 -47
- package/es-modules/Core/Chart/Chart3D.js +23 -10
- package/es-modules/Core/Chart/ChartDefaults.js +3 -4
- package/es-modules/Core/Chart/ChartNavigationComposition.js +92 -0
- package/es-modules/Core/Chart/GanttChart.js +4 -4
- package/es-modules/Core/Chart/MapChart.js +13 -25
- package/es-modules/Core/Chart/StockChart.js +13 -316
- package/es-modules/Core/Color/Palettes.js +22 -0
- package/es-modules/Core/DefaultOptions.js +22 -19
- package/es-modules/Core/Foundation.js +39 -31
- package/es-modules/Core/Geometry/CircleUtilities.js +2 -1
- package/es-modules/Core/Globals.js +1 -1
- package/es-modules/Core/HttpUtilities.js +8 -7
- package/es-modules/Core/Legend/Legend.js +19 -16
- package/es-modules/Core/Navigator.js +41 -30
- package/es-modules/Core/Pointer.js +52 -45
- package/es-modules/Core/Renderer/HTML/AST.js +29 -14
- package/es-modules/Core/Renderer/HTML/HTMLElement.js +27 -20
- 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 +11 -20
- package/es-modules/Core/Renderer/SVG/SVGLabel.js +17 -8
- package/es-modules/Core/Renderer/SVG/SVGRenderer.js +25 -29
- package/es-modules/Core/Renderer/SVG/SVGRenderer3D.js +12 -5
- package/es-modules/Core/Renderer/SVG/TextBuilder.js +18 -12
- package/es-modules/Core/Responsive.js +2 -3
- package/es-modules/Core/Scrollbar.js +14 -12
- package/es-modules/Core/ScrollbarDefaults.js +10 -9
- package/es-modules/Core/Series/DataLabel.js +19 -15
- package/es-modules/Core/Series/Point.js +22 -19
- package/es-modules/Core/Series/Series.js +197 -235
- package/es-modules/Core/Series/SeriesDefaults.js +8 -8
- package/es-modules/Core/Series/SeriesRegistry.js +1 -2
- package/es-modules/Core/Time.js +14 -11
- package/es-modules/Core/Tooltip.js +63 -53
- package/es-modules/Core/Utilities.js +20 -24
- package/es-modules/Data/DataConverter.js +483 -0
- package/es-modules/Data/DataPromise.js +252 -0
- package/es-modules/Data/DataSeriesConverter.js +207 -0
- package/es-modules/Data/DataTable.js +1205 -0
- package/es-modules/Data/Modifiers/ChainModifier.js +299 -0
- package/es-modules/Data/Modifiers/DataModifier.js +303 -0
- package/es-modules/Data/Modifiers/GroupModifier.js +144 -0
- package/es-modules/Data/Modifiers/InvertModifier.js +254 -0
- package/es-modules/Data/Modifiers/RangeModifier.js +143 -0
- package/es-modules/Data/Modifiers/SeriesPointsModifier.js +110 -0
- package/es-modules/Data/Modifiers/SortModifier.js +249 -0
- package/es-modules/Data/Parsers/CSVParser.js +400 -0
- package/es-modules/Data/Parsers/DataParser.js +101 -0
- package/es-modules/Data/Parsers/GoogleSheetsParser.js +223 -0
- package/es-modules/Data/Parsers/HTMLTableParser.js +213 -0
- package/es-modules/Data/Stores/CSVStore.js +317 -0
- package/es-modules/Data/Stores/DataStore.js +276 -0
- package/es-modules/Data/Stores/GoogleSheetsStore.js +169 -0
- package/es-modules/Data/Stores/HTMLTableStore.js +353 -0
- package/es-modules/Extensions/Annotations/Annotations.js +69 -18
- package/es-modules/Extensions/Annotations/ControlPoint.js +1 -3
- package/es-modules/Extensions/Annotations/Controllables/ControllableCircle.js +1 -1
- package/es-modules/Extensions/Annotations/Controllables/ControllableEllipse.js +199 -0
- 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 +13 -4
- 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 +120 -53
- package/es-modules/Extensions/Annotations/Popup.js +494 -148
- package/es-modules/Extensions/Annotations/Types/BasicAnnotation.js +51 -2
- package/es-modules/Extensions/Annotations/Types/CrookedLine.js +5 -3
- package/es-modules/Extensions/Annotations/Types/ElliottWave.js +1 -1
- package/es-modules/Extensions/Annotations/Types/Fibonacci.js +2 -3
- package/es-modules/Extensions/Annotations/Types/FibonacciTimeZones.js +219 -0
- package/es-modules/Extensions/Annotations/Types/InfinityLine.js +1 -1
- package/es-modules/Extensions/Annotations/Types/Measure.js +29 -19
- package/es-modules/Extensions/Annotations/Types/Pitchfork.js +7 -6
- package/es-modules/Extensions/Annotations/Types/TimeCycles.js +211 -0
- package/es-modules/Extensions/Annotations/Types/Tunnel.js +13 -10
- package/es-modules/Extensions/Annotations/Types/VerticalLine.js +1 -1
- package/es-modules/Extensions/Boost/BoostOptions.js +2 -2
- package/es-modules/Extensions/Boost/BoostOverrides.js +6 -10
- 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 +13 -11
- package/es-modules/Extensions/Boost/WGLVBuffer.js +4 -7
- package/es-modules/Extensions/BoostCanvas.js +1 -2
- package/es-modules/Extensions/CurrentDateIndication.js +2 -3
- package/es-modules/Extensions/Data.js +4 -48
- package/es-modules/Extensions/DataGrouping.js +52 -32
- package/es-modules/Extensions/DownloadURL.js +2 -2
- package/es-modules/Extensions/DragPanes.js +1 -2
- package/es-modules/Extensions/DraggablePoints.js +7 -8
- package/es-modules/Extensions/Drilldown.js +11 -7
- package/es-modules/Extensions/ExportData.js +6 -5
- package/es-modules/Extensions/Exporting/Exporting.js +33 -46
- package/es-modules/Extensions/Exporting/ExportingDefaults.js +8 -15
- package/es-modules/Extensions/FullScreen.js +4 -3
- package/es-modules/Extensions/GeoJSON.js +42 -66
- package/es-modules/Extensions/MarkerClusters.js +118 -98
- package/es-modules/Extensions/Math3D.js +4 -4
- package/es-modules/Extensions/NoDataToDisplay.js +1 -2
- package/es-modules/Extensions/OfflineExporting/OfflineExporting.js +32 -32
- package/es-modules/Extensions/OfflineExporting/OfflineExportingDefaults.js +1 -1
- package/es-modules/Extensions/Oldie/Oldie.js +14 -79
- package/es-modules/Extensions/Oldie/VMLAxis3D.js +5 -1
- package/es-modules/Extensions/OverlappingDataLabels.js +10 -6
- package/es-modules/Extensions/Pane.js +11 -12
- package/es-modules/Extensions/ParallelCoordinates.js +5 -3
- package/es-modules/Extensions/PatternFill.js +17 -11
- package/es-modules/Extensions/Polar.js +7 -4
- package/es-modules/Extensions/PriceIndication.js +2 -1
- package/es-modules/Extensions/RangeSelector.js +22 -59
- package/es-modules/Extensions/ScrollablePlotArea.js +2 -2
- package/es-modules/Extensions/SeriesLabel.js +1 -1
- package/es-modules/Extensions/Sonification/ChartSonify.js +279 -663
- package/es-modules/Extensions/Sonification/Earcon.js +136 -102
- package/es-modules/Extensions/Sonification/Instrument.js +493 -426
- package/es-modules/Extensions/Sonification/MusicalFrequencies.js +10 -0
- package/es-modules/Extensions/Sonification/Options.js +10 -0
- package/es-modules/Extensions/Sonification/PointSonify.js +207 -152
- package/es-modules/Extensions/Sonification/SeriesSonify.js +474 -0
- package/es-modules/Extensions/Sonification/SignalHandler.js +122 -0
- package/es-modules/Extensions/Sonification/Sonification.js +27 -53
- package/es-modules/Extensions/Sonification/{Utilities.js → SonificationUtilities.js} +70 -88
- package/es-modules/Extensions/Sonification/Timeline.js +250 -567
- package/es-modules/Extensions/Sonification/TimelineEvent.js +157 -0
- package/es-modules/Extensions/Sonification/TimelinePath.js +311 -0
- 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 +30 -68
- package/es-modules/Maps/MapNavigationOptionsDefault.js +3 -0
- package/es-modules/Maps/MapPointer.js +8 -5
- package/es-modules/Maps/MapSymbols.js +23 -3
- package/es-modules/Maps/MapView.js +450 -0
- package/es-modules/Maps/MapViewOptionsDefault.js +97 -0
- package/es-modules/Maps/Projection.js +436 -0
- package/es-modules/Maps/ProjectionDefinition.js +9 -0
- package/es-modules/Maps/Projections/EqualEarth.js +42 -0
- package/es-modules/Maps/Projections/LambertConformalConic.js +52 -0
- package/es-modules/Maps/Projections/Miller.js +16 -0
- package/es-modules/Maps/Projections/Orthographic.js +26 -0
- package/es-modules/Maps/Projections/ProjectionRegistry.js +19 -0
- package/es-modules/Maps/Projections/WebMercator.js +24 -0
- package/es-modules/Series/Area/AreaSeries.js +13 -13
- package/es-modules/Series/Area3DSeries.js +4 -2
- package/es-modules/Series/AreaRange/AreaRangeSeries.js +28 -17
- package/es-modules/Series/Bellcurve/BellcurveSeries.js +4 -9
- package/es-modules/Series/BoxPlot/BoxPlotSeries.js +1 -2
- package/es-modules/Series/Bubble/BubbleLegendDefaults.js +1 -2
- package/es-modules/Series/Bubble/BubbleLegendItem.js +5 -15
- package/es-modules/Series/Bubble/BubblePoint.js +5 -0
- package/es-modules/Series/Bubble/BubbleSeries.js +90 -50
- package/es-modules/Series/Candlestick/CandlestickSeries.js +10 -19
- package/es-modules/{Mixins/CenteredSeries.js → Series/CenteredUtilities.js} +45 -23
- package/es-modules/{Mixins/ColorMapSeries.js → Series/ColorMapMixin.js} +10 -8
- package/es-modules/Series/Column/ColumnDataLabel.js +5 -5
- package/es-modules/Series/Column/ColumnSeries.js +19 -18
- package/es-modules/Series/Column3D/Column3DComposition.js +1 -2
- package/es-modules/Series/ColumnPyramid/ColumnPyramidSeries.js +11 -8
- package/es-modules/Series/ColumnRange/ColumnRangeSeries.js +2 -1
- package/es-modules/Series/Cylinder/CylinderComposition.js +36 -4
- package/es-modules/Series/DataModifyComposition.js +539 -0
- package/es-modules/Series/DependencyWheel/DependencyWheelPoint.js +2 -6
- package/es-modules/Series/DependencyWheel/DependencyWheelSeries.js +1 -1
- package/es-modules/Series/DerivedComposition.js +137 -0
- package/es-modules/Series/DrawPointComposition.js +111 -0
- package/es-modules/Series/Dumbbell/DumbbellPoint.js +0 -1
- package/es-modules/Series/Dumbbell/DumbbellSeries.js +2 -6
- package/es-modules/Series/ErrorBar/ErrorBarSeries.js +1 -2
- package/es-modules/Series/Flags/FlagsSeries.js +18 -25
- package/es-modules/Series/Flags/FlagsSymbols.js +2 -2
- package/es-modules/Series/Funnel/FunnelSeries.js +6 -5
- 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 -3
- package/es-modules/Series/Gauge/GaugePoint.js +1 -1
- package/es-modules/Series/Gauge/GaugeSeries.js +7 -7
- package/es-modules/Series/HLC/HLCPoint.js +55 -0
- package/es-modules/Series/HLC/HLCSeries.js +378 -0
- package/es-modules/Series/Heatmap/HeatmapPoint.js +13 -14
- package/es-modules/Series/Heatmap/HeatmapSeries.js +24 -12
- package/es-modules/Series/HeikinAshi/HeikinAshiSeries.js +10 -9
- package/es-modules/Series/Histogram/HistogramSeries.js +7 -11
- package/es-modules/Series/HollowCandlestick/HollowCandlestickPoint.js +1 -4
- package/es-modules/Series/HollowCandlestick/HollowCandlestickSeries.js +28 -30
- package/es-modules/Series/Item/ItemSeries.js +4 -5
- package/es-modules/Series/Line/LineSeries.js +1 -2
- package/es-modules/Series/Map/MapPoint.js +27 -14
- package/es-modules/Series/Map/MapSeries.js +283 -322
- package/es-modules/Series/MapBubble/MapBubblePoint.js +0 -3
- package/es-modules/Series/MapBubble/MapBubbleSeries.js +10 -1
- package/es-modules/Series/MapLine/MapLineSeries.js +2 -4
- package/es-modules/Series/MapPoint/MapPointPoint.js +5 -1
- package/es-modules/Series/MapPoint/MapPointSeries.js +99 -14
- 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 +6 -10
- package/es-modules/Series/Networkgraph/QuadTree.js +1 -3
- package/es-modules/{Mixins/Nodes.js → Series/NodesComposition.js} +78 -30
- package/es-modules/Series/OHLC/OHLCPoint.js +2 -7
- package/es-modules/Series/OHLC/OHLCSeries.js +55 -183
- package/es-modules/{Mixins/OnSeries.js → Series/OnSeriesComposition.js} +53 -21
- package/es-modules/Series/Organization/OrganizationSeries.js +6 -5
- 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 +48 -10
- package/es-modules/Series/ParetoSeries/ParetoSeries.js +3 -7
- package/es-modules/Series/Pie/PieDataLabel.js +1 -2
- package/es-modules/Series/Pie/PiePoint.js +2 -2
- package/es-modules/Series/Pie/PieSeries.js +7 -8
- 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/SankeyPoint.js +0 -4
- package/es-modules/Series/Sankey/SankeySeries.js +92 -22
- package/es-modules/Series/SolidGauge/SolidGaugeComposition.js +3 -1
- package/es-modules/Series/Spline/SplineSeries.js +0 -8
- package/es-modules/Series/Sunburst/SunburstPoint.js +2 -3
- package/es-modules/Series/Sunburst/SunburstSeries.js +6 -6
- package/es-modules/Series/Sunburst/SunburstUtilities.js +3 -2
- package/es-modules/Series/Tilemap/TilemapPoint.js +2 -5
- package/es-modules/Series/Tilemap/TilemapShapes.js +0 -7
- package/es-modules/Series/Timeline/TimelineSeries.js +3 -4
- package/es-modules/{Mixins/TreeSeries.js → Series/TreeUtilities.js} +88 -78
- package/es-modules/Series/Treemap/TreemapPoint.js +2 -2
- package/es-modules/Series/Treemap/TreemapSeries.js +22 -25
- package/es-modules/Series/Variwide/VariwideSeries.js +5 -1
- package/es-modules/Series/Venn/VennPoint.js +16 -7
- package/es-modules/Series/Venn/VennSeries.js +11 -17
- package/es-modules/Series/Venn/VennUtils.js +551 -439
- package/es-modules/Series/Waterfall/WaterfallSeries.js +8 -6
- package/es-modules/Series/Windbarb/WindbarbSeries.js +23 -24
- package/es-modules/Series/Wordcloud/WordcloudPoint.js +8 -6
- package/es-modules/Series/Wordcloud/WordcloudSeries.js +26 -22
- package/es-modules/Series/Wordcloud/WordcloudUtils.js +669 -484
- package/es-modules/Series/XRange/XRangePoint.js +7 -12
- package/es-modules/Series/XRange/XRangeSeries.js +4 -20
- package/es-modules/Stock/Indicators/ABands/ABandsIndicator.js +15 -6
- package/es-modules/Stock/Indicators/AO/AOIndicator.js +2 -3
- package/es-modules/Stock/Indicators/APO/APOIndicator.js +14 -20
- package/es-modules/Stock/Indicators/Aroon/AroonIndicator.js +4 -6
- package/es-modules/Stock/Indicators/AroonOscillator/AroonOscillatorIndicator.js +11 -13
- package/es-modules/Stock/Indicators/ArrayUtilities.js +47 -0
- package/es-modules/Stock/Indicators/BB/BBIndicator.js +39 -11
- package/es-modules/Stock/Indicators/CMF/CMFIndicator.js +35 -15
- package/es-modules/Stock/Indicators/Chaikin/ChaikinIndicator.js +6 -12
- package/es-modules/Stock/Indicators/DEMA/DEMAIndicator.js +1 -11
- package/es-modules/Stock/Indicators/DMI/DMIIndicator.js +28 -16
- package/es-modules/Stock/Indicators/DisparityIndex/DisparityIndexIndicator.js +18 -11
- package/es-modules/Stock/Indicators/EMA/EMAIndicator.js +1 -3
- package/es-modules/Stock/Indicators/IKH/IKHIndicator.js +6 -6
- package/es-modules/Stock/Indicators/KeltnerChannels/KeltnerChannelsIndicator.js +23 -9
- package/es-modules/Stock/Indicators/Klinger/KlingerIndicator.js +16 -19
- package/es-modules/Stock/Indicators/LinearRegression/LinearRegression.js +32 -14
- package/es-modules/Stock/Indicators/LinearRegressionAngle/LinearRegressionAngle.js +2 -2
- package/es-modules/Stock/Indicators/LinearRegressionIntercept/LinearRegressionIntercept.js +2 -2
- package/es-modules/Stock/Indicators/LinearRegressionSlopes/LinearRegressionSlopes.js +2 -2
- package/es-modules/Stock/Indicators/MACD/MACDIndicator.js +2 -3
- package/es-modules/Stock/Indicators/MultipleLinesComposition.js +294 -0
- package/es-modules/Stock/Indicators/NATR/NATRIndicator.js +1 -3
- package/es-modules/Stock/Indicators/PC/PCIndicator.js +25 -13
- package/es-modules/Stock/Indicators/PPO/PPOIndicator.js +1 -11
- 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/SMAComposition.js +0 -26
- package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +32 -50
- package/es-modules/Stock/Indicators/SlowStochastic/SlowStochasticIndicator.js +0 -8
- package/es-modules/Stock/Indicators/Stochastic/StochasticIndicator.js +18 -9
- package/es-modules/Stock/Indicators/Supertrend/SupertrendIndicator.js +4 -6
- package/es-modules/Stock/Indicators/TEMA/TEMAIndicator.js +26 -11
- package/es-modules/Stock/Indicators/TRIX/TRIXIndicator.js +6 -12
- package/es-modules/Stock/Indicators/VBP/VBPIndicator.js +26 -10
- package/es-modules/Stock/Indicators/VWAP/VWAPIndicator.js +19 -7
- package/es-modules/Stock/Indicators/WilliamsR/WilliamsRIndicator.js +2 -3
- package/es-modules/Stock/StockToolsBindings.js +156 -47
- package/es-modules/Stock/StockToolsGui.js +442 -37
- 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/ema.src.js +4 -10
- package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/es-modules/masters/indicators/indicators-all.src.js +2 -2
- package/es-modules/masters/indicators/indicators.src.js +2 -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 +16 -2
- package/es-modules/masters/modules/annotations-advanced.src.js +3 -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 +6 -3
- 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 -2
- 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 -3
- 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 +33 -2
- package/es-modules/masters/modules/static-scale.src.js +1 -1
- package/es-modules/masters/modules/stock-tools.src.js +1 -1
- package/es-modules/masters/modules/stock.src.js +4 -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 +800 -803
- package/highcharts-gantt.js.map +1 -1
- package/highcharts-gantt.src.js +1356 -1429
- package/highcharts-more.js +194 -193
- package/highcharts-more.js.map +1 -1
- package/highcharts-more.src.js +280 -222
- package/highcharts.d.ts +10208 -761
- package/highcharts.js +585 -588
- package/highcharts.js.map +1 -1
- package/highcharts.src.d.ts +10208 -761
- package/highcharts.src.js +992 -1066
- package/highmaps.js +727 -707
- package/highmaps.js.map +1 -1
- package/highmaps.src.js +3240 -2135
- package/highstock.js +788 -783
- package/highstock.js.map +1 -1
- package/highstock.src.js +2487 -1981
- package/indicators/acceleration-bands.d.ts +17 -1
- package/indicators/acceleration-bands.js +11 -9
- package/indicators/acceleration-bands.js.map +1 -1
- package/indicators/acceleration-bands.src.d.ts +17 -1
- package/indicators/acceleration-bands.src.js +238 -112
- package/indicators/accumulation-distribution.js +1 -1
- package/indicators/accumulation-distribution.src.js +1 -1
- package/indicators/ao.js +6 -6
- package/indicators/ao.js.map +1 -1
- package/indicators/ao.src.js +4 -4
- package/indicators/apo.js +5 -6
- package/indicators/apo.js.map +1 -1
- package/indicators/apo.src.js +16 -84
- 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 +230 -177
- 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 +227 -112
- 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 -9
- package/indicators/bollinger-bands.js.map +1 -1
- package/indicators/bollinger-bands.src.d.ts +17 -1
- package/indicators/bollinger-bands.src.js +262 -117
- package/indicators/cci.js +1 -1
- package/indicators/cci.src.js +1 -1
- package/indicators/chaikin.js +8 -9
- package/indicators/chaikin.js.map +1 -1
- package/indicators/chaikin.src.js +8 -76
- 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 +5 -6
- package/indicators/dema.js.map +1 -1
- package/indicators/dema.src.js +3 -75
- package/indicators/disparity-index.js +6 -7
- package/indicators/disparity-index.js.map +1 -1
- package/indicators/disparity-index.src.js +20 -74
- package/indicators/dmi.js +12 -11
- package/indicators/dmi.js.map +1 -1
- package/indicators/dmi.src.js +252 -121
- package/indicators/dpo.js +1 -1
- package/indicators/dpo.src.js +1 -1
- package/indicators/ema.js +1 -13
- package/indicators/ema.js.map +1 -1
- package/indicators/ema.src.js +7 -188
- 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 -203
- package/indicators/indicators-all.js.map +1 -1
- package/indicators/indicators-all.src.d.ts +17 -1
- package/indicators/indicators-all.src.js +892 -777
- package/indicators/indicators.js +12 -12
- package/indicators/indicators.js.map +1 -1
- package/indicators/indicators.src.js +213 -144
- 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 +246 -118
- package/indicators/klinger.js +14 -13
- package/indicators/klinger.js.map +1 -1
- package/indicators/klinger.src.js +239 -187
- package/indicators/macd.js +2 -2
- package/indicators/macd.js.map +1 -1
- package/indicators/macd.src.js +3 -4
- 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 +3 -3
- package/indicators/natr.js.map +1 -1
- package/indicators/natr.src.js +2 -4
- 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 +5 -6
- package/indicators/ppo.js.map +1 -1
- package/indicators/ppo.src.js +3 -75
- 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 +288 -168
- 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 +39 -21
- 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 +5 -6
- package/indicators/slow-stochastic.js.map +1 -1
- package/indicators/slow-stochastic.src.js +2 -72
- 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 +282 -165
- package/indicators/supertrend.js +10 -10
- package/indicators/supertrend.js.map +1 -1
- package/indicators/supertrend.src.js +6 -7
- package/indicators/tema.js +6 -7
- package/indicators/tema.js.map +1 -1
- package/indicators/tema.src.js +28 -75
- package/indicators/trendline.js +1 -1
- package/indicators/trendline.src.js +1 -1
- package/indicators/trix.js +4 -5
- package/indicators/trix.js.map +1 -1
- package/indicators/trix.src.js +8 -76
- package/indicators/volume-by-price.js +16 -16
- package/indicators/volume-by-price.js.map +1 -1
- package/indicators/volume-by-price.src.js +27 -10
- 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 +5 -6
- package/indicators/williams-r.js.map +1 -1
- package/indicators/williams-r.src.js +41 -51
- 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 -30
- package/modules/accessibility.js +241 -216
- package/modules/accessibility.js.map +1 -1
- package/modules/accessibility.src.d.ts +0 -30
- package/modules/accessibility.src.js +7818 -6398
- package/modules/annotations-advanced.d.ts +30 -0
- package/modules/annotations-advanced.js +192 -165
- package/modules/annotations-advanced.js.map +1 -1
- package/modules/annotations-advanced.src.d.ts +30 -0
- package/modules/annotations-advanced.src.js +1716 -416
- package/modules/annotations.js +125 -110
- package/modules/annotations.js.map +1 -1
- package/modules/annotations.src.js +1059 -304
- package/modules/arrow-symbols.js +1 -1
- package/modules/arrow-symbols.src.js +1 -1
- package/modules/boost-canvas.js +15 -15
- package/modules/boost-canvas.js.map +1 -1
- package/modules/boost-canvas.src.js +3 -3
- package/modules/boost.js +79 -79
- package/modules/boost.js.map +1 -1
- package/modules/boost.src.js +42 -51
- 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 +24 -24
- package/modules/coloraxis.js.map +1 -1
- package/modules/coloraxis.src.js +77 -103
- package/modules/current-date-indicator.js +4 -4
- package/modules/current-date-indicator.js.map +1 -1
- package/modules/current-date-indicator.src.js +4 -4
- 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 +18 -58
- package/modules/datagrouping.js +20 -20
- package/modules/datagrouping.js.map +1 -1
- package/modules/datagrouping.src.js +54 -33
- package/modules/debugger.js +1 -1
- package/modules/debugger.src.js +1 -1
- package/modules/dependency-wheel.js +11 -11
- package/modules/dependency-wheel.js.map +1 -1
- package/modules/dependency-wheel.src.js +5 -8
- package/modules/dotplot.js +1 -1
- package/modules/dotplot.src.js +1 -1
- package/modules/drag-panes.js +8 -8
- package/modules/drag-panes.js.map +1 -1
- package/modules/drag-panes.src.js +3 -3
- 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 +24 -24
- package/modules/drilldown.js.map +1 -1
- package/modules/drilldown.src.js +13 -8
- package/modules/dumbbell.js +17 -17
- package/modules/dumbbell.js.map +1 -1
- package/modules/dumbbell.src.js +4 -8
- package/modules/export-data.js +19 -19
- package/modules/export-data.js.map +1 -1
- package/modules/export-data.src.js +9 -8
- package/modules/exporting.js +39 -38
- package/modules/exporting.js.map +1 -1
- package/modules/exporting.src.js +132 -113
- 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 +12 -12
- package/modules/funnel.js.map +1 -1
- package/modules/funnel.src.js +9 -6
- package/modules/funnel3d.js +1 -1
- package/modules/funnel3d.js.map +1 -1
- package/modules/funnel3d.src.js +17 -10
- package/modules/gantt.js +217 -218
- package/modules/gantt.js.map +1 -1
- package/modules/gantt.src.js +364 -363
- 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 +132 -141
- package/modules/heikinashi.js +1 -1
- package/modules/heikinashi.js.map +1 -1
- package/modules/heikinashi.src.js +12 -10
- package/modules/histogram-bellcurve.js +13 -13
- package/modules/histogram-bellcurve.js.map +1 -1
- package/modules/histogram-bellcurve.src.js +97 -91
- package/modules/hollowcandlestick.js +9 -9
- package/modules/hollowcandlestick.js.map +1 -1
- package/modules/hollowcandlestick.src.js +31 -35
- 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 +138 -14
- package/modules/map.js +144 -122
- package/modules/map.js.map +1 -1
- package/modules/map.src.d.ts +138 -14
- package/modules/map.src.js +2253 -1074
- package/modules/marker-clusters.js +36 -36
- package/modules/marker-clusters.js.map +1 -1
- package/modules/marker-clusters.src.js +176 -143
- package/modules/networkgraph.d.ts +12 -1
- package/modules/networkgraph.js +49 -49
- package/modules/networkgraph.js.map +1 -1
- package/modules/networkgraph.src.d.ts +12 -1
- package/modules/networkgraph.src.js +103 -78
- package/modules/no-data-to-display.js +5 -5
- package/modules/no-data-to-display.js.map +1 -1
- package/modules/no-data-to-display.src.js +3 -3
- package/modules/offline-exporting.js +18 -18
- package/modules/offline-exporting.js.map +1 -1
- package/modules/offline-exporting.src.js +38 -43
- package/modules/oldie-polyfills.js +1 -1
- package/modules/oldie-polyfills.src.js +1 -1
- package/modules/oldie.js +26 -26
- package/modules/oldie.js.map +1 -1
- package/modules/oldie.src.js +21 -81
- package/modules/organization.js +13 -13
- package/modules/organization.js.map +1 -1
- package/modules/organization.src.js +8 -6
- 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 +7 -7
- package/modules/pareto.js.map +1 -1
- package/modules/pareto.src.js +89 -78
- 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.d.ts +12 -1
- package/modules/sankey.js +29 -29
- package/modules/sankey.js.map +1 -1
- package/modules/sankey.src.d.ts +12 -1
- package/modules/sankey.src.js +307 -181
- 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 +59 -55
- package/modules/sonification.js.map +1 -1
- package/modules/sonification.src.js +3093 -2594
- package/modules/static-scale.js +1 -1
- package/modules/static-scale.src.js +1 -1
- package/modules/stock-tools.js +178 -163
- package/modules/stock-tools.js.map +1 -1
- package/modules/stock-tools.src.js +1136 -229
- package/modules/stock.d.ts +39 -6
- package/modules/stock.js +204 -196
- package/modules/stock.js.map +1 -1
- package/modules/stock.src.d.ts +39 -6
- package/modules/stock.src.js +1820 -1240
- package/modules/streamgraph.js +1 -1
- package/modules/streamgraph.src.js +1 -1
- package/modules/sunburst.js +60 -60
- package/modules/sunburst.js.map +1 -1
- package/modules/sunburst.src.js +281 -248
- package/modules/tilemap.js +17 -17
- package/modules/tilemap.js.map +1 -1
- package/modules/tilemap.src.js +3 -13
- package/modules/timeline.js +18 -18
- package/modules/timeline.js.map +1 -1
- package/modules/timeline.src.js +5 -5
- package/modules/treegrid.js +56 -57
- package/modules/treegrid.js.map +1 -1
- package/modules/treegrid.src.js +201 -169
- package/modules/treemap.js +41 -41
- package/modules/treemap.js.map +1 -1
- package/modules/treemap.src.js +266 -232
- 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 +31 -31
- package/modules/venn.js.map +1 -1
- package/modules/venn.src.js +740 -731
- package/modules/windbarb.js +15 -15
- package/modules/windbarb.js.map +1 -1
- package/modules/windbarb.src.js +90 -62
- package/modules/wordcloud.js +23 -24
- package/modules/wordcloud.js.map +1 -1
- package/modules/wordcloud.src.js +898 -954
- package/modules/xrange.js +2 -2
- package/modules/xrange.js.map +1 -1
- package/modules/xrange.src.js +12 -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/Core/Axis/MapAxis.js +0 -157
- package/es-modules/Core/Color/Palette.js +0 -82
- package/es-modules/Extensions/Sonification/InstrumentDefinitions.js +0 -32
- package/es-modules/Mixins/ColorSeries.js +0 -77
- package/es-modules/Mixins/DerivedSeries.js +0 -118
- package/es-modules/Mixins/DrawPoint.js +0 -81
- package/es-modules/Mixins/IndicatorRequired.js +0 -56
- package/es-modules/Mixins/MultipleLines.js +0 -181
- package/es-modules/Mixins/Navigation.js +0 -54
- package/es-modules/Mixins/NelderMead.js +0 -132
- package/es-modules/Mixins/Polygon.js +0 -259
- package/es-modules/Mixins/ReduceArray.js +0 -54
package/highcharts-more.src.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Highcharts JS v9.
|
|
2
|
+
* @license Highcharts JS v9.3.3 (2022-02-01)
|
|
3
3
|
*
|
|
4
4
|
* (c) 2009-2021 Torstein Honsi
|
|
5
5
|
*
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
obj[path] = fn.apply(null, args);
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
|
-
_registerModule(_modules, 'Extensions/Pane.js', [_modules['Core/Chart/Chart.js'], _modules['
|
|
29
|
+
_registerModule(_modules, 'Extensions/Pane.js', [_modules['Core/Chart/Chart.js'], _modules['Series/CenteredUtilities.js'], _modules['Core/Globals.js'], _modules['Core/Pointer.js'], _modules['Core/Utilities.js']], function (Chart, CU, H, Pointer, U) {
|
|
30
30
|
/* *
|
|
31
31
|
*
|
|
32
32
|
* (c) 2010-2021 Torstein Honsi
|
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
* @since 2.3.0
|
|
186
186
|
* @product highcharts
|
|
187
187
|
*/
|
|
188
|
-
borderColor:
|
|
188
|
+
borderColor: "#cccccc" /* neutralColor20 */,
|
|
189
189
|
/**
|
|
190
190
|
* The background color or gradient for the pane.
|
|
191
191
|
*
|
|
@@ -199,8 +199,8 @@
|
|
|
199
199
|
linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
|
|
200
200
|
/** @ignore-option */
|
|
201
201
|
stops: [
|
|
202
|
-
[0,
|
|
203
|
-
[1,
|
|
202
|
+
[0, "#ffffff" /* backgroundColor */],
|
|
203
|
+
[1, "#e6e6e6" /* neutralColor10 */]
|
|
204
204
|
]
|
|
205
205
|
},
|
|
206
206
|
/** @ignore-option */
|
|
@@ -329,12 +329,11 @@
|
|
|
329
329
|
* @private
|
|
330
330
|
* @function Highcharts.Pane#updateCenter
|
|
331
331
|
* @param {Highcharts.Axis} [axis]
|
|
332
|
-
* @return {void}
|
|
333
332
|
*/
|
|
334
333
|
Pane.prototype.updateCenter = function (axis) {
|
|
335
334
|
this.center = (axis ||
|
|
336
335
|
this.axis ||
|
|
337
|
-
{}).center =
|
|
336
|
+
{}).center = CU.getCenter.call(this);
|
|
338
337
|
};
|
|
339
338
|
/**
|
|
340
339
|
* Destroy the pane item
|
|
@@ -360,7 +359,6 @@
|
|
|
360
359
|
* @param {Highcharts.PaneOptions} options
|
|
361
360
|
* New pane options
|
|
362
361
|
* @param {boolean} [redraw]
|
|
363
|
-
* @return {void}
|
|
364
362
|
*/
|
|
365
363
|
Pane.prototype.update = function (options, redraw) {
|
|
366
364
|
merge(true, this.options, options);
|
|
@@ -378,10 +376,12 @@
|
|
|
378
376
|
/**
|
|
379
377
|
* Check whether element is inside or outside pane.
|
|
380
378
|
* @private
|
|
381
|
-
* @param {number} x
|
|
382
|
-
*
|
|
383
|
-
* @param {
|
|
384
|
-
*
|
|
379
|
+
* @param {number} x
|
|
380
|
+
* Element's x coordinate
|
|
381
|
+
* @param {number} y
|
|
382
|
+
* Element's y coordinate
|
|
383
|
+
* @param {Array<number>} center
|
|
384
|
+
* Pane's center (x, y) and diameter
|
|
385
385
|
*/
|
|
386
386
|
function isInsidePane(x, y, center) {
|
|
387
387
|
return Math.sqrt(Math.pow(x - center[0], 2) + Math.pow(y - center[1], 2)) <= center[2] / 2;
|
|
@@ -645,8 +645,6 @@
|
|
|
645
645
|
* anti-collision.
|
|
646
646
|
*
|
|
647
647
|
* @private
|
|
648
|
-
*
|
|
649
|
-
* @return {Highcharts.ChartLabelCollectorFunction}
|
|
650
648
|
*/
|
|
651
649
|
function createLabelCollector() {
|
|
652
650
|
var _this = this;
|
|
@@ -724,17 +722,12 @@
|
|
|
724
722
|
* getPlotLinePath method.
|
|
725
723
|
*
|
|
726
724
|
* @private
|
|
727
|
-
*
|
|
728
725
|
* @param {number} _lineWidth
|
|
729
726
|
* Line width is not used.
|
|
730
|
-
*
|
|
731
727
|
* @param {number} [radius]
|
|
732
728
|
* Radius of radial path.
|
|
733
|
-
*
|
|
734
729
|
* @param {number} [innerRadius]
|
|
735
730
|
* Inner radius of radial path.
|
|
736
|
-
*
|
|
737
|
-
* @return {Highcharts.RadialAxisPath}
|
|
738
731
|
*/
|
|
739
732
|
function getLinePath(_lineWidth, radius, innerRadius) {
|
|
740
733
|
var center = this.pane.center,
|
|
@@ -767,7 +760,11 @@
|
|
|
767
760
|
else {
|
|
768
761
|
end = this.postTranslate(this.angleRad, r);
|
|
769
762
|
path = [
|
|
770
|
-
[
|
|
763
|
+
[
|
|
764
|
+
'M',
|
|
765
|
+
this.center[0] + chart.plotLeft,
|
|
766
|
+
this.center[1] + chart.plotTop
|
|
767
|
+
],
|
|
771
768
|
['L', end.x, end.y]
|
|
772
769
|
];
|
|
773
770
|
}
|
|
@@ -789,17 +786,6 @@
|
|
|
789
786
|
* Find the path for plot bands along the radial axis.
|
|
790
787
|
*
|
|
791
788
|
* @private
|
|
792
|
-
*
|
|
793
|
-
* @param {number} from
|
|
794
|
-
* From value.
|
|
795
|
-
*
|
|
796
|
-
* @param {number} to
|
|
797
|
-
* To value.
|
|
798
|
-
*
|
|
799
|
-
* @param {Highcharts.AxisPlotBandsOptions} options
|
|
800
|
-
* Band options.
|
|
801
|
-
*
|
|
802
|
-
* @return {Highcharts.RadialAxisPath}
|
|
803
789
|
*/
|
|
804
790
|
function getPlotBandPath(from, to, options) {
|
|
805
791
|
var chart = this.chart,
|
|
@@ -994,14 +980,10 @@
|
|
|
994
980
|
* distance from center.
|
|
995
981
|
*
|
|
996
982
|
* @private
|
|
997
|
-
*
|
|
998
983
|
* @param {number} value
|
|
999
984
|
* Point value.
|
|
1000
|
-
*
|
|
1001
985
|
* @param {number} [length]
|
|
1002
986
|
* Distance from center.
|
|
1003
|
-
*
|
|
1004
|
-
* @return {Highcharts.PositionObject}
|
|
1005
987
|
*/
|
|
1006
988
|
function getPosition(value, length) {
|
|
1007
989
|
var translatedVal = this.translate(value);
|
|
@@ -1162,7 +1144,8 @@
|
|
|
1162
1144
|
AxisDefaults.defaultYAxisOptions, defaultRadialOptions);
|
|
1163
1145
|
// Apply the stack labels for yAxis in case of inverted chart
|
|
1164
1146
|
if (inverted && coll === 'yAxis') {
|
|
1165
|
-
this.defaultPolarOptions.stackLabels = AxisDefaults
|
|
1147
|
+
this.defaultPolarOptions.stackLabels = AxisDefaults
|
|
1148
|
+
.defaultYAxisOptions.stackLabels;
|
|
1166
1149
|
this.defaultPolarOptions.reversedStacks = true;
|
|
1167
1150
|
}
|
|
1168
1151
|
}
|
|
@@ -1336,14 +1319,10 @@
|
|
|
1336
1319
|
* to final chart coordinates.
|
|
1337
1320
|
*
|
|
1338
1321
|
* @private
|
|
1339
|
-
*
|
|
1340
1322
|
* @param {number} angle
|
|
1341
1323
|
* Translation angle.
|
|
1342
|
-
*
|
|
1343
1324
|
* @param {number} radius
|
|
1344
1325
|
* Translation radius.
|
|
1345
|
-
*
|
|
1346
|
-
* @return {Highcharts.PositionObject}
|
|
1347
1326
|
*/
|
|
1348
1327
|
function postTranslate(angle, radius) {
|
|
1349
1328
|
var chart = this.chart,
|
|
@@ -1716,8 +1695,7 @@
|
|
|
1716
1695
|
*/
|
|
1717
1696
|
AreaRangeSeries.prototype.translate = function () {
|
|
1718
1697
|
var series = this,
|
|
1719
|
-
yAxis = series.yAxis
|
|
1720
|
-
hasModifyValue = !!series.modifyValue;
|
|
1698
|
+
yAxis = series.yAxis;
|
|
1721
1699
|
areaProto.translate.apply(series);
|
|
1722
1700
|
// Set plotLow and plotHigh
|
|
1723
1701
|
series.points.forEach(function (point) {
|
|
@@ -1728,10 +1706,9 @@
|
|
|
1728
1706
|
}
|
|
1729
1707
|
else {
|
|
1730
1708
|
point.plotLow = plotY;
|
|
1731
|
-
point.plotHigh = yAxis.translate(
|
|
1732
|
-
series.modifyValue(high,
|
|
1733
|
-
|
|
1734
|
-
if (hasModifyValue) {
|
|
1709
|
+
point.plotHigh = yAxis.translate(series.dataModify ?
|
|
1710
|
+
series.dataModify.modifyValue(high) : high, 0, 1, 0, 1);
|
|
1711
|
+
if (series.dataModify) {
|
|
1735
1712
|
point.yBottom = point.plotHigh;
|
|
1736
1713
|
}
|
|
1737
1714
|
}
|
|
@@ -1827,11 +1804,17 @@
|
|
|
1827
1804
|
// Create a line on both top and bottom of the range
|
|
1828
1805
|
linePath = []
|
|
1829
1806
|
.concat(lowerPath, higherPath);
|
|
1830
|
-
// For the area path, we need to change the 'move' statement
|
|
1831
|
-
//
|
|
1832
|
-
if (!this.chart.polar &&
|
|
1807
|
+
// For the area path, we need to change the 'move' statement into
|
|
1808
|
+
// 'lineTo'
|
|
1809
|
+
if (!this.chart.polar &&
|
|
1810
|
+
higherAreaPath[0] &&
|
|
1811
|
+
higherAreaPath[0][0] === 'M') {
|
|
1833
1812
|
// This probably doesn't work for spline
|
|
1834
|
-
higherAreaPath[0] = [
|
|
1813
|
+
higherAreaPath[0] = [
|
|
1814
|
+
'L',
|
|
1815
|
+
higherAreaPath[0][1],
|
|
1816
|
+
higherAreaPath[0][2]
|
|
1817
|
+
];
|
|
1835
1818
|
}
|
|
1836
1819
|
this.graphPath = linePath;
|
|
1837
1820
|
this.areaPath = lowerPath.concat(higherAreaPath);
|
|
@@ -1863,13 +1846,17 @@
|
|
|
1863
1846
|
//
|
|
1864
1847
|
// TODO: We want to change this and allow multiple labels for both
|
|
1865
1848
|
// upper and lower values in the future - introducing some options
|
|
1866
|
-
// for which point value to use as Y for the dataLabel, so that
|
|
1867
|
-
//
|
|
1868
|
-
// improve performance since we now have to loop over all the
|
|
1869
|
-
//
|
|
1849
|
+
// for which point value to use as Y for the dataLabel, so that this
|
|
1850
|
+
// could be handled in Series.drawDataLabels. This would also
|
|
1851
|
+
// improve performance since we now have to loop over all the points
|
|
1852
|
+
// multiple times to work around the data label logic.
|
|
1870
1853
|
if (isArray(dataLabelOptions)) {
|
|
1871
|
-
upperDataLabelOptions = dataLabelOptions[0] || {
|
|
1872
|
-
|
|
1854
|
+
upperDataLabelOptions = dataLabelOptions[0] || {
|
|
1855
|
+
enabled: false
|
|
1856
|
+
};
|
|
1857
|
+
lowerDataLabelOptions = dataLabelOptions[1] || {
|
|
1858
|
+
enabled: false
|
|
1859
|
+
};
|
|
1873
1860
|
}
|
|
1874
1861
|
else {
|
|
1875
1862
|
// Make copies
|
|
@@ -1902,7 +1889,8 @@
|
|
|
1902
1889
|
point.below = up;
|
|
1903
1890
|
if (inverted) {
|
|
1904
1891
|
if (!upperDataLabelOptions.align) {
|
|
1905
|
-
upperDataLabelOptions.align = up ?
|
|
1892
|
+
upperDataLabelOptions.align = up ?
|
|
1893
|
+
'right' : 'left';
|
|
1906
1894
|
}
|
|
1907
1895
|
}
|
|
1908
1896
|
else {
|
|
@@ -1947,7 +1935,8 @@
|
|
|
1947
1935
|
point.below = !up;
|
|
1948
1936
|
if (inverted) {
|
|
1949
1937
|
if (!lowerDataLabelOptions.align) {
|
|
1950
|
-
lowerDataLabelOptions.align = up ?
|
|
1938
|
+
lowerDataLabelOptions.align = up ?
|
|
1939
|
+
'left' : 'right';
|
|
1951
1940
|
}
|
|
1952
1941
|
}
|
|
1953
1942
|
else {
|
|
@@ -2489,7 +2478,7 @@
|
|
|
2489
2478
|
|
|
2490
2479
|
return AreaSplineRangeSeries;
|
|
2491
2480
|
});
|
|
2492
|
-
_registerModule(_modules, 'Series/BoxPlot/BoxPlotSeries.js', [_modules['Series/Column/ColumnSeries.js'], _modules['Core/Globals.js'], _modules['Core/
|
|
2481
|
+
_registerModule(_modules, 'Series/BoxPlot/BoxPlotSeries.js', [_modules['Series/Column/ColumnSeries.js'], _modules['Core/Globals.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js']], function (ColumnSeries, H, SeriesRegistry, U) {
|
|
2493
2482
|
/* *
|
|
2494
2483
|
*
|
|
2495
2484
|
* (c) 2010-2021 Torstein Honsi
|
|
@@ -2805,7 +2794,7 @@
|
|
|
2805
2794
|
* @since 3.0
|
|
2806
2795
|
* @product highcharts
|
|
2807
2796
|
*/
|
|
2808
|
-
fillColor:
|
|
2797
|
+
fillColor: "#ffffff" /* backgroundColor */,
|
|
2809
2798
|
/**
|
|
2810
2799
|
* The width of the line surrounding the box. If any of
|
|
2811
2800
|
* [stemWidth](#plotOptions.boxplot.stemWidth),
|
|
@@ -3202,7 +3191,7 @@
|
|
|
3202
3191
|
|
|
3203
3192
|
return BoxPlotSeries;
|
|
3204
3193
|
});
|
|
3205
|
-
_registerModule(_modules, 'Series/Bubble/BubbleLegendDefaults.js', [
|
|
3194
|
+
_registerModule(_modules, 'Series/Bubble/BubbleLegendDefaults.js', [], function () {
|
|
3206
3195
|
/* *
|
|
3207
3196
|
*
|
|
3208
3197
|
* (c) 2010-2021 Highsoft AS
|
|
@@ -3375,7 +3364,7 @@
|
|
|
3375
3364
|
/** @ignore-option */
|
|
3376
3365
|
fontSize: '10px',
|
|
3377
3366
|
/** @ignore-option */
|
|
3378
|
-
color:
|
|
3367
|
+
color: "#000000" /* neutralColor100 */
|
|
3379
3368
|
},
|
|
3380
3369
|
/**
|
|
3381
3370
|
* The x position offset of the label relative to the
|
|
@@ -3567,7 +3556,6 @@
|
|
|
3567
3556
|
* Bubble legend options
|
|
3568
3557
|
* @param {Highcharts.Legend} legend
|
|
3569
3558
|
* Legend
|
|
3570
|
-
* @return {void}
|
|
3571
3559
|
*/
|
|
3572
3560
|
BubbleLegendItem.prototype.init = function (options, legend) {
|
|
3573
3561
|
this.options = options;
|
|
@@ -3580,9 +3568,8 @@
|
|
|
3580
3568
|
*
|
|
3581
3569
|
* @private
|
|
3582
3570
|
* @function Highcharts.BubbleLegend#addToLegend
|
|
3583
|
-
* @param {Array<(Highcharts.Point|Highcharts.Series)>}
|
|
3584
|
-
*
|
|
3585
|
-
* @return {void}
|
|
3571
|
+
* @param {Array<(Highcharts.Point|Highcharts.Series)>} items
|
|
3572
|
+
* All legend items
|
|
3586
3573
|
*/
|
|
3587
3574
|
BubbleLegendItem.prototype.addToLegend = function (items) {
|
|
3588
3575
|
// Insert bubbleLegend into legend items
|
|
@@ -3596,7 +3583,6 @@
|
|
|
3596
3583
|
* @function Highcharts.BubbleLegend#drawLegendSymbol
|
|
3597
3584
|
* @param {Highcharts.Legend} legend
|
|
3598
3585
|
* Legend instance
|
|
3599
|
-
* @return {void}
|
|
3600
3586
|
*/
|
|
3601
3587
|
BubbleLegendItem.prototype.drawLegendSymbol = function (legend) {
|
|
3602
3588
|
var chart = this.chart,
|
|
@@ -3639,7 +3625,6 @@
|
|
|
3639
3625
|
*
|
|
3640
3626
|
* @private
|
|
3641
3627
|
* @function Highcharts.BubbleLegend#setOptions
|
|
3642
|
-
* @return {void}
|
|
3643
3628
|
*/
|
|
3644
3629
|
BubbleLegendItem.prototype.setOptions = function () {
|
|
3645
3630
|
var ranges = this.ranges,
|
|
@@ -3712,7 +3697,6 @@
|
|
|
3712
3697
|
*
|
|
3713
3698
|
* @private
|
|
3714
3699
|
* @function Highcharts.BubbleLegend#render
|
|
3715
|
-
* @return {void}
|
|
3716
3700
|
*/
|
|
3717
3701
|
BubbleLegendItem.prototype.render = function () {
|
|
3718
3702
|
var renderer = this.chart.renderer,
|
|
@@ -3747,7 +3731,6 @@
|
|
|
3747
3731
|
* @function Highcharts.BubbleLegend#renderRange
|
|
3748
3732
|
* @param {Highcharts.LegendBubbleLegendRangesOptions} range
|
|
3749
3733
|
* Range options
|
|
3750
|
-
* @return {void}
|
|
3751
3734
|
*/
|
|
3752
3735
|
BubbleLegendItem.prototype.renderRange = function (range) {
|
|
3753
3736
|
var mainRange = this.ranges[0],
|
|
@@ -3829,7 +3812,6 @@
|
|
|
3829
3812
|
*
|
|
3830
3813
|
* @private
|
|
3831
3814
|
* @function Highcharts.BubbleLegend#getMaxLabelSize
|
|
3832
|
-
* @return {Highcharts.BBoxObject}
|
|
3833
3815
|
*/
|
|
3834
3816
|
BubbleLegendItem.prototype.getMaxLabelSize = function () {
|
|
3835
3817
|
var labels = this.symbols.labels;
|
|
@@ -3872,7 +3854,6 @@
|
|
|
3872
3854
|
*
|
|
3873
3855
|
* @private
|
|
3874
3856
|
* @function Highcharts.BubbleLegend#hideOverlappingLabels
|
|
3875
|
-
* @return {void}
|
|
3876
3857
|
*/
|
|
3877
3858
|
BubbleLegendItem.prototype.hideOverlappingLabels = function () {
|
|
3878
3859
|
var chart = this.chart,
|
|
@@ -3961,8 +3942,9 @@
|
|
|
3961
3942
|
plotSizeX = chart.plotSizeX,
|
|
3962
3943
|
plotSizeY = chart.plotSizeY,
|
|
3963
3944
|
bubbleSeries = chart.series[this.options.seriesIndex],
|
|
3964
|
-
|
|
3965
|
-
|
|
3945
|
+
pxSizes = bubbleSeries.getPxExtremes(),
|
|
3946
|
+
minSize = Math.ceil(pxSizes.minPxSize),
|
|
3947
|
+
maxPxSize = Math.ceil(pxSizes.maxPxSize),
|
|
3966
3948
|
plotSize = Math.min(plotSizeY,
|
|
3967
3949
|
plotSizeX);
|
|
3968
3950
|
var calculatedSize,
|
|
@@ -3992,7 +3974,6 @@
|
|
|
3992
3974
|
* @function Highcharts.BubbleLegend#updateRanges
|
|
3993
3975
|
* @param {number} min
|
|
3994
3976
|
* @param {number} max
|
|
3995
|
-
* @return {void}
|
|
3996
3977
|
*/
|
|
3997
3978
|
BubbleLegendItem.prototype.updateRanges = function (min, max) {
|
|
3998
3979
|
var bubbleLegendOptions = this.legend.options.bubbleLegend;
|
|
@@ -4007,17 +3988,17 @@
|
|
|
4007
3988
|
*
|
|
4008
3989
|
* @private
|
|
4009
3990
|
* @function Highcharts.BubbleLegend#correctSizes
|
|
4010
|
-
* @return {void}
|
|
4011
3991
|
*/
|
|
4012
3992
|
BubbleLegendItem.prototype.correctSizes = function () {
|
|
4013
3993
|
var legend = this.legend,
|
|
4014
3994
|
chart = this.chart,
|
|
4015
3995
|
bubbleSeries = chart.series[this.options.seriesIndex],
|
|
4016
|
-
|
|
3996
|
+
pxSizes = bubbleSeries.getPxExtremes(),
|
|
3997
|
+
bubbleSeriesSize = pxSizes.maxPxSize,
|
|
4017
3998
|
bubbleLegendSize = this.options.maxSize;
|
|
4018
3999
|
if (Math.abs(Math.ceil(bubbleSeriesSize) - bubbleLegendSize) >
|
|
4019
4000
|
1) {
|
|
4020
|
-
this.updateRanges(this.options.minSize,
|
|
4001
|
+
this.updateRanges(this.options.minSize, pxSizes.maxPxSize);
|
|
4021
4002
|
legend.render();
|
|
4022
4003
|
}
|
|
4023
4004
|
};
|
|
@@ -4392,6 +4373,11 @@
|
|
|
4392
4373
|
};
|
|
4393
4374
|
return BubblePoint;
|
|
4394
4375
|
}(ScatterPoint));
|
|
4376
|
+
/* *
|
|
4377
|
+
*
|
|
4378
|
+
* Class Prototype
|
|
4379
|
+
*
|
|
4380
|
+
* */
|
|
4395
4381
|
extend(BubblePoint.prototype, {
|
|
4396
4382
|
ttBelow: false
|
|
4397
4383
|
});
|
|
@@ -4434,14 +4420,14 @@
|
|
|
4434
4420
|
var _a = SeriesRegistry.seriesTypes,
|
|
4435
4421
|
ColumnSeries = _a.column,
|
|
4436
4422
|
ScatterSeries = _a.scatter;
|
|
4437
|
-
var
|
|
4423
|
+
var addEvent = U.addEvent,
|
|
4424
|
+
arrayMax = U.arrayMax,
|
|
4438
4425
|
arrayMin = U.arrayMin,
|
|
4439
4426
|
clamp = U.clamp,
|
|
4440
4427
|
extend = U.extend,
|
|
4441
4428
|
isNumber = U.isNumber,
|
|
4442
4429
|
merge = U.merge,
|
|
4443
|
-
pick = U.pick
|
|
4444
|
-
pInt = U.pInt;
|
|
4430
|
+
pick = U.pick;
|
|
4445
4431
|
/* *
|
|
4446
4432
|
*
|
|
4447
4433
|
* Class
|
|
@@ -4511,20 +4497,49 @@
|
|
|
4511
4497
|
* the axis needs to add padding in accordance with the point sizes.
|
|
4512
4498
|
* @private
|
|
4513
4499
|
*/
|
|
4514
|
-
BubbleSeries.prototype.getRadii = function (
|
|
4500
|
+
BubbleSeries.prototype.getRadii = function () {
|
|
4501
|
+
var _this = this;
|
|
4515
4502
|
var len,
|
|
4516
4503
|
i,
|
|
4517
4504
|
zData = this.zData,
|
|
4518
4505
|
yData = this.yData,
|
|
4519
|
-
minSize = series.minPxSize,
|
|
4520
|
-
maxSize = series.maxPxSize,
|
|
4521
4506
|
radii = [],
|
|
4522
|
-
value
|
|
4507
|
+
value,
|
|
4508
|
+
zExtremes = this.chart.bubbleZExtremes;
|
|
4509
|
+
var _a = this.getPxExtremes(),
|
|
4510
|
+
minPxSize = _a.minPxSize,
|
|
4511
|
+
maxPxSize = _a.maxPxSize;
|
|
4512
|
+
// Get the collective Z extremes of all bubblish series. The chart-level
|
|
4513
|
+
// `bubbleZExtremes` are only computed once, and reset on `updatedData`
|
|
4514
|
+
// in any member series.
|
|
4515
|
+
if (!zExtremes) {
|
|
4516
|
+
var zMin_1 = Number.MAX_VALUE;
|
|
4517
|
+
var zMax_1 = -Number.MAX_VALUE;
|
|
4518
|
+
var valid_1;
|
|
4519
|
+
this.chart.series.forEach(function (otherSeries) {
|
|
4520
|
+
if (otherSeries.bubblePadding && (otherSeries.visible ||
|
|
4521
|
+
!_this.chart.options.chart.ignoreHiddenSeries)) {
|
|
4522
|
+
var zExtremes_1 = otherSeries.getZExtremes();
|
|
4523
|
+
if (zExtremes_1) {
|
|
4524
|
+
zMin_1 = Math.min(zMin_1 || zExtremes_1.zMin, zExtremes_1.zMin);
|
|
4525
|
+
zMax_1 = Math.max(zMax_1 || zExtremes_1.zMax, zExtremes_1.zMax);
|
|
4526
|
+
valid_1 = true;
|
|
4527
|
+
}
|
|
4528
|
+
}
|
|
4529
|
+
});
|
|
4530
|
+
if (valid_1) {
|
|
4531
|
+
zExtremes = { zMin: zMin_1, zMax: zMax_1 };
|
|
4532
|
+
this.chart.bubbleZExtremes = zExtremes;
|
|
4533
|
+
}
|
|
4534
|
+
else {
|
|
4535
|
+
zExtremes = { zMin: 0, zMax: 0 };
|
|
4536
|
+
}
|
|
4537
|
+
}
|
|
4523
4538
|
// Set the shape type and arguments to be picked up in drawPoints
|
|
4524
4539
|
for (i = 0, len = zData.length; i < len; i++) {
|
|
4525
4540
|
value = zData[i];
|
|
4526
4541
|
// Separate method to get individual radius for bubbleLegend
|
|
4527
|
-
radii.push(this.getRadius(zMin, zMax,
|
|
4542
|
+
radii.push(this.getRadius(zExtremes.zMin, zExtremes.zMax, minPxSize, maxPxSize, value, yData[i]));
|
|
4528
4543
|
}
|
|
4529
4544
|
this.radii = radii;
|
|
4530
4545
|
};
|
|
@@ -4594,25 +4609,28 @@
|
|
|
4594
4609
|
* @private
|
|
4595
4610
|
*/
|
|
4596
4611
|
BubbleSeries.prototype.translate = function () {
|
|
4597
|
-
var i,
|
|
4598
|
-
data = this.data,
|
|
4599
|
-
point,
|
|
4600
|
-
radius,
|
|
4601
|
-
radii = this.radii;
|
|
4602
4612
|
// Run the parent method
|
|
4603
4613
|
_super.prototype.translate.call(this);
|
|
4614
|
+
this.getRadii();
|
|
4615
|
+
this.translateBubble();
|
|
4616
|
+
};
|
|
4617
|
+
BubbleSeries.prototype.translateBubble = function () {
|
|
4618
|
+
var _a = this,
|
|
4619
|
+
data = _a.data,
|
|
4620
|
+
radii = _a.radii;
|
|
4621
|
+
var minPxSize = this.getPxExtremes().minPxSize;
|
|
4604
4622
|
// Set the shape type and arguments to be picked up in drawPoints
|
|
4605
|
-
i = data.length;
|
|
4623
|
+
var i = data.length;
|
|
4606
4624
|
while (i--) {
|
|
4607
|
-
point = data[i];
|
|
4608
|
-
radius = radii ? radii[i] : 0; // #1737
|
|
4609
|
-
|
|
4610
|
-
|
|
4611
|
-
|
|
4612
|
-
|
|
4613
|
-
|
|
4614
|
-
|
|
4615
|
-
|
|
4625
|
+
var point = data[i];
|
|
4626
|
+
var radius = radii ? radii[i] : 0; // #1737
|
|
4627
|
+
if (isNumber(radius) && radius >= minPxSize / 2) {
|
|
4628
|
+
// Shape arguments
|
|
4629
|
+
point.marker = extend(point.marker, {
|
|
4630
|
+
radius: radius,
|
|
4631
|
+
width: 2 * radius,
|
|
4632
|
+
height: 2 * radius
|
|
4633
|
+
});
|
|
4616
4634
|
// Alignment box for the data label
|
|
4617
4635
|
point.dlBox = {
|
|
4618
4636
|
x: point.plotX - radius,
|
|
@@ -4627,6 +4645,41 @@
|
|
|
4627
4645
|
}
|
|
4628
4646
|
}
|
|
4629
4647
|
};
|
|
4648
|
+
BubbleSeries.prototype.getPxExtremes = function () {
|
|
4649
|
+
var smallestSize = Math.min(this.chart.plotWidth,
|
|
4650
|
+
this.chart.plotHeight);
|
|
4651
|
+
var getPxSize = function (length) {
|
|
4652
|
+
var isPercent;
|
|
4653
|
+
if (typeof length === 'string') {
|
|
4654
|
+
isPercent = /%$/.test(length);
|
|
4655
|
+
length = parseInt(length, 10);
|
|
4656
|
+
}
|
|
4657
|
+
return isPercent ? smallestSize * length / 100 : length;
|
|
4658
|
+
};
|
|
4659
|
+
var minPxSize = getPxSize(pick(this.options.minSize, 8));
|
|
4660
|
+
// Prioritize min size if conflict to make sure bubbles are
|
|
4661
|
+
// always visible. #5873
|
|
4662
|
+
var maxPxSize = Math.max(getPxSize(pick(this.options.maxSize, '20%')),
|
|
4663
|
+
minPxSize);
|
|
4664
|
+
return { minPxSize: minPxSize, maxPxSize: maxPxSize };
|
|
4665
|
+
};
|
|
4666
|
+
BubbleSeries.prototype.getZExtremes = function () {
|
|
4667
|
+
var options = this.options,
|
|
4668
|
+
zData = (this.zData || []).filter(isNumber);
|
|
4669
|
+
if (zData.length) {
|
|
4670
|
+
var zMin = pick(options.zMin,
|
|
4671
|
+
clamp(arrayMin(zData),
|
|
4672
|
+
options.displayNegative === false ?
|
|
4673
|
+
(options.zThreshold || 0) :
|
|
4674
|
+
-Number.MAX_VALUE,
|
|
4675
|
+
Number.MAX_VALUE));
|
|
4676
|
+
var zMax = pick(options.zMax,
|
|
4677
|
+
arrayMax(zData));
|
|
4678
|
+
if (isNumber(zMin) && isNumber(zMax)) {
|
|
4679
|
+
return { zMin: zMin, zMax: zMax };
|
|
4680
|
+
}
|
|
4681
|
+
}
|
|
4682
|
+
};
|
|
4630
4683
|
BubbleSeries.compose = BubbleLegendComposition.compose;
|
|
4631
4684
|
/**
|
|
4632
4685
|
* A bubble series is a three dimensional series type where each point
|
|
@@ -4879,6 +4932,10 @@
|
|
|
4879
4932
|
specialGroup: 'group',
|
|
4880
4933
|
zoneAxis: 'z'
|
|
4881
4934
|
});
|
|
4935
|
+
// On updated data in any series, delete the chart-level Z extremes cache
|
|
4936
|
+
addEvent(BubbleSeries, 'updatedData', function (e) {
|
|
4937
|
+
delete e.target.chart.bubbleZExtremes;
|
|
4938
|
+
});
|
|
4882
4939
|
/* *
|
|
4883
4940
|
*
|
|
4884
4941
|
* Axis ?
|
|
@@ -4895,70 +4952,36 @@
|
|
|
4895
4952
|
isXAxis = this.isXAxis,
|
|
4896
4953
|
dataKey = isXAxis ? 'xData' : 'yData',
|
|
4897
4954
|
min = this.min,
|
|
4898
|
-
extremes = {},
|
|
4899
|
-
smallestSize = Math.min(chart.plotWidth,
|
|
4900
|
-
chart.plotHeight),
|
|
4901
|
-
zMin = Number.MAX_VALUE,
|
|
4902
|
-
zMax = -Number.MAX_VALUE,
|
|
4903
4955
|
range = this.max - min,
|
|
4904
4956
|
transA = axisLength / range,
|
|
4905
|
-
|
|
4957
|
+
hasActiveSeries;
|
|
4906
4958
|
// Handle padding on the second pass, or on redraw
|
|
4907
4959
|
this.series.forEach(function (series) {
|
|
4908
|
-
var seriesOptions = series.options,
|
|
4909
|
-
zData;
|
|
4910
4960
|
if (series.bubblePadding &&
|
|
4911
4961
|
(series.visible || !chart.options.chart.ignoreHiddenSeries)) {
|
|
4912
4962
|
// Correction for #1673
|
|
4913
4963
|
axis.allowZoomOutside = true;
|
|
4914
|
-
|
|
4915
|
-
|
|
4916
|
-
if (isXAxis) {
|
|
4917
|
-
|
|
4918
|
-
['minSize', 'maxSize'].forEach(function (prop) {
|
|
4919
|
-
var length = seriesOptions[prop],
|
|
4920
|
-
isPercent = /%$/.test(length);
|
|
4921
|
-
length = pInt(length);
|
|
4922
|
-
extremes[prop] = isPercent ?
|
|
4923
|
-
smallestSize * length / 100 :
|
|
4924
|
-
length;
|
|
4925
|
-
});
|
|
4926
|
-
series.minPxSize = extremes.minSize;
|
|
4927
|
-
// Prioritize min size if conflict to make sure bubbles are
|
|
4928
|
-
// always visible. #5873
|
|
4929
|
-
series.maxPxSize = Math.max(extremes.maxSize, extremes.minSize);
|
|
4930
|
-
// Find the min and max Z
|
|
4931
|
-
zData = series.zData.filter(isNumber);
|
|
4932
|
-
if (zData.length) { // #1735
|
|
4933
|
-
zMin = pick(seriesOptions.zMin, clamp(arrayMin(zData), seriesOptions.displayNegative === false ?
|
|
4934
|
-
seriesOptions.zThreshold :
|
|
4935
|
-
-Number.MAX_VALUE, zMin));
|
|
4936
|
-
zMax = pick(seriesOptions.zMax, Math.max(zMax, arrayMax(zData)));
|
|
4937
|
-
}
|
|
4964
|
+
hasActiveSeries = true;
|
|
4965
|
+
var data = series[dataKey];
|
|
4966
|
+
if (isXAxis) {
|
|
4967
|
+
series.getRadii(0, 0, series);
|
|
4938
4968
|
}
|
|
4939
|
-
|
|
4940
|
-
|
|
4941
|
-
|
|
4942
|
-
|
|
4943
|
-
|
|
4944
|
-
|
|
4945
|
-
|
|
4946
|
-
|
|
4947
|
-
|
|
4948
|
-
|
|
4949
|
-
while (i--) {
|
|
4950
|
-
if (isNumber(data[i]) &&
|
|
4951
|
-
axis.dataMin <= data[i] &&
|
|
4952
|
-
data[i] <= axis.max) {
|
|
4953
|
-
radius = series.radii ? series.radii[i] : 0;
|
|
4954
|
-
pxMin = Math.min(((data[i] - min) * transA) - radius, pxMin);
|
|
4955
|
-
pxMax = Math.max(((data[i] - min) * transA) + radius, pxMax);
|
|
4969
|
+
if (range > 0) {
|
|
4970
|
+
var i = data.length;
|
|
4971
|
+
while (i--) {
|
|
4972
|
+
if (isNumber(data[i]) &&
|
|
4973
|
+
axis.dataMin <= data[i] &&
|
|
4974
|
+
data[i] <= axis.max) {
|
|
4975
|
+
var radius = series.radii && series.radii[i] || 0;
|
|
4976
|
+
pxMin = Math.min(((data[i] - min) * transA) - radius, pxMin);
|
|
4977
|
+
pxMax = Math.max(((data[i] - min) * transA) + radius, pxMax);
|
|
4978
|
+
}
|
|
4956
4979
|
}
|
|
4957
4980
|
}
|
|
4958
4981
|
}
|
|
4959
4982
|
});
|
|
4960
4983
|
// Apply the padding to the min and max properties
|
|
4961
|
-
if (
|
|
4984
|
+
if (hasActiveSeries && range > 0 && !this.logarithmic) {
|
|
4962
4985
|
pxMax -= axisLength;
|
|
4963
4986
|
transA *= (axisLength +
|
|
4964
4987
|
Math.max(0, pxMin) - // #8901
|
|
@@ -5266,7 +5289,8 @@
|
|
|
5266
5289
|
*
|
|
5267
5290
|
* */
|
|
5268
5291
|
ColumnRangeSeries.prototype.setOptions = function () {
|
|
5269
|
-
|
|
5292
|
+
// #14359 Prevent side-effect from stacking.
|
|
5293
|
+
merge(true, arguments[0], { stacking: void 0 });
|
|
5270
5294
|
return arearangeProto.setOptions.apply(this, arguments);
|
|
5271
5295
|
};
|
|
5272
5296
|
// eslint-disable-next-line valid-jsdoc
|
|
@@ -5644,15 +5668,18 @@
|
|
|
5644
5668
|
// topXwidth and bottomXwidth = width of lines from the center
|
|
5645
5669
|
// calculated from tanges proportion.
|
|
5646
5670
|
// Can not be a NaN #12514
|
|
5647
|
-
topXwidth = stackHeight ?
|
|
5671
|
+
topXwidth = stackHeight ?
|
|
5672
|
+
(barW * (barY - topPointY)) / stackHeight : 0;
|
|
5648
5673
|
// like topXwidth, but with height of point
|
|
5649
|
-
bottomXwidth = stackHeight ?
|
|
5674
|
+
bottomXwidth = stackHeight ?
|
|
5675
|
+
(barW * (barY + barH - topPointY)) / stackHeight :
|
|
5676
|
+
0;
|
|
5650
5677
|
/*
|
|
5651
5678
|
/\
|
|
5652
|
-
|
|
5679
|
+
/ \
|
|
5653
5680
|
x1,y1,------ x2,y1
|
|
5654
|
-
|
|
5655
|
-
|
|
5681
|
+
/ \
|
|
5682
|
+
----------
|
|
5656
5683
|
x4,y2 x3,y2
|
|
5657
5684
|
*/
|
|
5658
5685
|
x1 = barX - topXwidth + barW;
|
|
@@ -5667,9 +5694,9 @@
|
|
|
5667
5694
|
}
|
|
5668
5695
|
// inverted chart
|
|
5669
5696
|
if (chart.inverted) {
|
|
5670
|
-
invBarPos =
|
|
5671
|
-
stackHeight =
|
|
5672
|
-
(
|
|
5697
|
+
invBarPos = yAxis.width - barY;
|
|
5698
|
+
stackHeight =
|
|
5699
|
+
topPointY - (yAxis.width - translatedThreshold);
|
|
5673
5700
|
// proportion tanges
|
|
5674
5701
|
topXwidth = (barW *
|
|
5675
5702
|
(topPointY - invBarPos)) / stackHeight;
|
|
@@ -5826,7 +5853,7 @@
|
|
|
5826
5853
|
|
|
5827
5854
|
return ColumnPyramidSeries;
|
|
5828
5855
|
});
|
|
5829
|
-
_registerModule(_modules, 'Series/ErrorBar/ErrorBarSeries.js', [_modules['Series/BoxPlot/BoxPlotSeries.js'], _modules['Series/Column/ColumnSeries.js'], _modules['Core/
|
|
5856
|
+
_registerModule(_modules, 'Series/ErrorBar/ErrorBarSeries.js', [_modules['Series/BoxPlot/BoxPlotSeries.js'], _modules['Series/Column/ColumnSeries.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js']], function (BoxPlotSeries, ColumnSeries, SeriesRegistry, U) {
|
|
5830
5857
|
/* *
|
|
5831
5858
|
*
|
|
5832
5859
|
* (c) 2010-2021 Torstein Honsi
|
|
@@ -5941,7 +5968,7 @@
|
|
|
5941
5968
|
* @since 3.0
|
|
5942
5969
|
* @product highcharts
|
|
5943
5970
|
*/
|
|
5944
|
-
color:
|
|
5971
|
+
color: "#000000" /* neutralColor100 */,
|
|
5945
5972
|
grouping: false,
|
|
5946
5973
|
/**
|
|
5947
5974
|
* The parent series of the error bar. The default value links it to
|
|
@@ -6122,13 +6149,13 @@
|
|
|
6122
6149
|
}(Point));
|
|
6123
6150
|
/* *
|
|
6124
6151
|
*
|
|
6125
|
-
* Default
|
|
6152
|
+
* Default Export
|
|
6126
6153
|
*
|
|
6127
6154
|
* */
|
|
6128
6155
|
|
|
6129
6156
|
return GaugePoint;
|
|
6130
6157
|
});
|
|
6131
|
-
_registerModule(_modules, 'Series/Gauge/GaugeSeries.js', [_modules['Series/Gauge/GaugePoint.js'], _modules['Core/Globals.js'], _modules['Core/
|
|
6158
|
+
_registerModule(_modules, 'Series/Gauge/GaugeSeries.js', [_modules['Series/Gauge/GaugePoint.js'], _modules['Core/Globals.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js']], function (GaugePoint, H, SeriesRegistry, U) {
|
|
6132
6159
|
/* *
|
|
6133
6160
|
*
|
|
6134
6161
|
* (c) 2010-2021 Torstein Honsi
|
|
@@ -6226,8 +6253,8 @@
|
|
|
6226
6253
|
rearLength = ((pInt(pick(dialOptions.rearLength, '10%')) * radius) /
|
|
6227
6254
|
100),
|
|
6228
6255
|
baseWidth = dialOptions.baseWidth || 3,
|
|
6229
|
-
topWidth = dialOptions.topWidth || 1
|
|
6230
|
-
|
|
6256
|
+
topWidth = dialOptions.topWidth || 1;
|
|
6257
|
+
var overshoot = options.overshoot,
|
|
6231
6258
|
rotation = yAxis.startAngleRad + yAxis.translate(point.y,
|
|
6232
6259
|
null,
|
|
6233
6260
|
null,
|
|
@@ -6307,7 +6334,7 @@
|
|
|
6307
6334
|
stroke: dialOptions.borderColor || 'none',
|
|
6308
6335
|
'stroke-width': dialOptions.borderWidth || 0,
|
|
6309
6336
|
fill: dialOptions.backgroundColor ||
|
|
6310
|
-
|
|
6337
|
+
"#000000" /* neutralColor100 */
|
|
6311
6338
|
});
|
|
6312
6339
|
}
|
|
6313
6340
|
});
|
|
@@ -6332,9 +6359,9 @@
|
|
|
6332
6359
|
series.pivot.attr({
|
|
6333
6360
|
'stroke-width': pivotOptions.borderWidth || 0,
|
|
6334
6361
|
stroke: pivotOptions.borderColor ||
|
|
6335
|
-
|
|
6362
|
+
"#cccccc" /* neutralColor20 */,
|
|
6336
6363
|
fill: pivotOptions.backgroundColor ||
|
|
6337
|
-
|
|
6364
|
+
"#000000" /* neutralColor100 */
|
|
6338
6365
|
});
|
|
6339
6366
|
}
|
|
6340
6367
|
}
|
|
@@ -6431,7 +6458,7 @@
|
|
|
6431
6458
|
* @product highcharts
|
|
6432
6459
|
*/
|
|
6433
6460
|
dataLabels: {
|
|
6434
|
-
borderColor:
|
|
6461
|
+
borderColor: "#cccccc" /* neutralColor20 */,
|
|
6435
6462
|
borderRadius: 3,
|
|
6436
6463
|
borderWidth: 1,
|
|
6437
6464
|
crop: false,
|
|
@@ -6669,7 +6696,7 @@
|
|
|
6669
6696
|
SeriesRegistry.registerSeriesType('gauge', GaugeSeries);
|
|
6670
6697
|
/* *
|
|
6671
6698
|
*
|
|
6672
|
-
* Default
|
|
6699
|
+
* Default Export
|
|
6673
6700
|
*
|
|
6674
6701
|
* */
|
|
6675
6702
|
/* *
|
|
@@ -6809,7 +6836,7 @@
|
|
|
6809
6836
|
seriesOptions = series.options;
|
|
6810
6837
|
if (this.isParentNode && seriesOptions.parentNode) {
|
|
6811
6838
|
var temp = seriesOptions.allowPointSelect;
|
|
6812
|
-
seriesOptions.allowPointSelect = seriesOptions.parentNode.allowPointSelect;
|
|
6839
|
+
seriesOptions.allowPointSelect = (seriesOptions.parentNode.allowPointSelect);
|
|
6813
6840
|
Point.prototype.firePointEvent.apply(this, arguments);
|
|
6814
6841
|
seriesOptions.allowPointSelect = temp;
|
|
6815
6842
|
}
|
|
@@ -6861,7 +6888,6 @@
|
|
|
6861
6888
|
* @private
|
|
6862
6889
|
* @param {Highcharts.Point} point The point that event occured.
|
|
6863
6890
|
* @param {Highcharts.PointerEventObject} event Browser event, before normalization.
|
|
6864
|
-
* @return {void}
|
|
6865
6891
|
*/
|
|
6866
6892
|
onMouseDown: function (point, event) {
|
|
6867
6893
|
var normalizedEvent = this.chart.pointer.normalize(event);
|
|
@@ -6881,7 +6907,6 @@
|
|
|
6881
6907
|
* @param {global.Event} event Browser event, before normalization.
|
|
6882
6908
|
* @param {Highcharts.Point} point The point that event occured.
|
|
6883
6909
|
*
|
|
6884
|
-
* @return {void}
|
|
6885
6910
|
*/
|
|
6886
6911
|
onMouseMove: function (point, event) {
|
|
6887
6912
|
if (point.fixedPosition && point.inDragMode) {
|
|
@@ -6914,7 +6939,6 @@
|
|
|
6914
6939
|
*
|
|
6915
6940
|
* @private
|
|
6916
6941
|
* @param {Highcharts.Point} point The point that event occured.
|
|
6917
|
-
* @return {void}
|
|
6918
6942
|
*/
|
|
6919
6943
|
onMouseUp: function (point, event) {
|
|
6920
6944
|
if (point.fixedPosition) {
|
|
@@ -6938,7 +6962,6 @@
|
|
|
6938
6962
|
*
|
|
6939
6963
|
* @private
|
|
6940
6964
|
* @param {Highcharts.Point} point The point that should show halo.
|
|
6941
|
-
* @return {void}
|
|
6942
6965
|
*/
|
|
6943
6966
|
redrawHalo: function (point) {
|
|
6944
6967
|
if (point && this.halo) {
|
|
@@ -7034,8 +7057,7 @@
|
|
|
7034
7057
|
* `plotX` and `plotY` position.
|
|
7035
7058
|
*
|
|
7036
7059
|
* @private
|
|
7037
|
-
|
|
7038
|
-
*/
|
|
7060
|
+
*/
|
|
7039
7061
|
barycenter: function () {
|
|
7040
7062
|
var gravitationalConstant = this.options.gravitationalConstant,
|
|
7041
7063
|
xFactor = this.barycenter.xFactor,
|
|
@@ -7067,8 +7089,7 @@
|
|
|
7067
7089
|
* Force calcualated in `repulsiveForceFunction`
|
|
7068
7090
|
* @param {Highcharts.PositionObject} distance
|
|
7069
7091
|
* Distance between two nodes e.g. `{x, y}`
|
|
7070
|
-
|
|
7071
|
-
*/
|
|
7092
|
+
*/
|
|
7072
7093
|
repulsive: function (node, force, distanceXY) {
|
|
7073
7094
|
var factor = force * this.diffTemperature / node.mass / node.degree;
|
|
7074
7095
|
if (!node.fixedPosition) {
|
|
@@ -7089,8 +7110,7 @@
|
|
|
7089
7110
|
* Force calcualated in `repulsiveForceFunction`
|
|
7090
7111
|
* @param {Highcharts.PositionObject} distance
|
|
7091
7112
|
* Distance between two nodes e.g. `{x, y}`
|
|
7092
|
-
|
|
7093
|
-
*/
|
|
7113
|
+
*/
|
|
7094
7114
|
attractive: function (link, force, distanceXY) {
|
|
7095
7115
|
var massFactor = link.getMass(),
|
|
7096
7116
|
translatedX = -distanceXY.x * force * this.diffTemperature,
|
|
@@ -7138,8 +7158,7 @@
|
|
|
7138
7158
|
* @private
|
|
7139
7159
|
* @param {Highcharts.NetworkgraphLayout} layout layout object
|
|
7140
7160
|
* @param {Highcharts.Point} node node that should be translated
|
|
7141
|
-
|
|
7142
|
-
*/
|
|
7161
|
+
*/
|
|
7143
7162
|
integrate: function (layout, node) {
|
|
7144
7163
|
var friction = -layout.options.friction,
|
|
7145
7164
|
maxSpeed = layout.options.maxSpeed,
|
|
@@ -7170,10 +7189,7 @@
|
|
|
7170
7189
|
/**
|
|
7171
7190
|
* Estiamte the best possible distance between two nodes, making graph
|
|
7172
7191
|
* readable.
|
|
7173
|
-
*
|
|
7174
7192
|
* @private
|
|
7175
|
-
* @param {Highcharts.NetworkgraphLayout} layout layout object
|
|
7176
|
-
* @return {number}
|
|
7177
7193
|
*/
|
|
7178
7194
|
getK: function (layout) {
|
|
7179
7195
|
return Math.pow(layout.box.width * layout.box.height / layout.nodes.length, 0.5);
|
|
@@ -7228,8 +7244,7 @@
|
|
|
7228
7244
|
* position. Later, in `integrate()` forces are applied on nodes.
|
|
7229
7245
|
*
|
|
7230
7246
|
* @private
|
|
7231
|
-
|
|
7232
|
-
*/
|
|
7247
|
+
*/
|
|
7233
7248
|
barycenter: function () {
|
|
7234
7249
|
var gravitationalConstant = this.options.gravitationalConstant,
|
|
7235
7250
|
xFactor = this.barycenter.xFactor,
|
|
@@ -7257,8 +7272,7 @@
|
|
|
7257
7272
|
* Force calcualated in `repulsiveForceFunction`
|
|
7258
7273
|
* @param {Highcharts.PositionObject} distanceXY
|
|
7259
7274
|
* Distance between two nodes e.g. `{x, y}`
|
|
7260
|
-
|
|
7261
|
-
*/
|
|
7275
|
+
*/
|
|
7262
7276
|
repulsive: function (node, force, distanceXY, distanceR) {
|
|
7263
7277
|
node.dispX +=
|
|
7264
7278
|
(distanceXY.x / distanceR) * force / node.degree;
|
|
@@ -7279,8 +7293,7 @@
|
|
|
7279
7293
|
* @param {Highcharts.PositionObject} distanceXY
|
|
7280
7294
|
* Distance between two nodes e.g. `{x, y}`
|
|
7281
7295
|
* @param {number} distanceR
|
|
7282
|
-
|
|
7283
|
-
*/
|
|
7296
|
+
*/
|
|
7284
7297
|
attractive: function (link, force, distanceXY, distanceR) {
|
|
7285
7298
|
var massFactor = link.getMass(),
|
|
7286
7299
|
translatedX = (distanceXY.x / distanceR) * force,
|
|
@@ -7329,8 +7342,7 @@
|
|
|
7329
7342
|
* Layout object
|
|
7330
7343
|
* @param {Highcharts.Point} node
|
|
7331
7344
|
* Node that should be translated
|
|
7332
|
-
|
|
7333
|
-
*/
|
|
7345
|
+
*/
|
|
7334
7346
|
integrate: function (layout, node) {
|
|
7335
7347
|
var distanceR;
|
|
7336
7348
|
node.dispX +=
|
|
@@ -7351,10 +7363,7 @@
|
|
|
7351
7363
|
/**
|
|
7352
7364
|
* Estiamte the best possible distance between two nodes, making graph
|
|
7353
7365
|
* readable.
|
|
7354
|
-
*
|
|
7355
7366
|
* @private
|
|
7356
|
-
* @param {object} layout layout object
|
|
7357
|
-
* @return {number}
|
|
7358
7367
|
*/
|
|
7359
7368
|
getK: function (layout) {
|
|
7360
7369
|
return Math.pow(layout.box.width * layout.box.height / layout.nodes.length, 0.3);
|
|
@@ -7584,9 +7593,7 @@
|
|
|
7584
7593
|
/**
|
|
7585
7594
|
* Determine which of the quadrants should be used when placing node in
|
|
7586
7595
|
* the QuadTree. Returned index is always in range `< 0 , 3 >`.
|
|
7587
|
-
*
|
|
7588
|
-
* @param {Highcharts.Point} point
|
|
7589
|
-
* @return {number}
|
|
7596
|
+
* @private
|
|
7590
7597
|
*/
|
|
7591
7598
|
getBoxPosition: function (point) {
|
|
7592
7599
|
var left = point.plotX < this.box.left + this.box.width / 2,
|
|
@@ -8396,6 +8403,7 @@
|
|
|
8396
8403
|
});
|
|
8397
8404
|
}
|
|
8398
8405
|
},
|
|
8406
|
+
// #14439, new stable check.
|
|
8399
8407
|
isStable: function () {
|
|
8400
8408
|
var tempDiff = Math.abs(this.prevSystemTemperature -
|
|
8401
8409
|
this.systemTemperature);
|
|
@@ -8730,9 +8738,6 @@
|
|
|
8730
8738
|
/**
|
|
8731
8739
|
* Check if two bubbles overlaps.
|
|
8732
8740
|
* @private
|
|
8733
|
-
* @param {Array} first bubble
|
|
8734
|
-
* @param {Array} second bubble
|
|
8735
|
-
* @return {Boolean} overlap or not
|
|
8736
8741
|
*/
|
|
8737
8742
|
PackedBubbleSeries.prototype.checkOverlap = function (bubble1, bubble2) {
|
|
8738
8743
|
var diffX = bubble1[0] - bubble2[0], // diff of X center values
|
|
@@ -8752,7 +8757,16 @@
|
|
|
8752
8757
|
parentNodeLayout = series.parentNodeLayout,
|
|
8753
8758
|
nodeAdded,
|
|
8754
8759
|
parentNode = series.parentNode,
|
|
8755
|
-
PackedBubblePoint = series.pointClass
|
|
8760
|
+
PackedBubblePoint = series.pointClass,
|
|
8761
|
+
layoutOptions = series.layout.options,
|
|
8762
|
+
parentMarkerOptions = {
|
|
8763
|
+
radius: series.parentNodeRadius,
|
|
8764
|
+
lineColor: series.color,
|
|
8765
|
+
fillColor: color(series.color).brighten(0.4).get()
|
|
8766
|
+
};
|
|
8767
|
+
if (layoutOptions.parentNodeOptions) {
|
|
8768
|
+
parentMarkerOptions = merge(layoutOptions.parentNodeOptions.marker || {}, parentMarkerOptions);
|
|
8769
|
+
}
|
|
8756
8770
|
series.parentNodeMass = 0;
|
|
8757
8771
|
series.points.forEach(function (p) {
|
|
8758
8772
|
series.parentNodeMass +=
|
|
@@ -8769,12 +8783,18 @@
|
|
|
8769
8783
|
if (!parentNode) {
|
|
8770
8784
|
parentNode = (new PackedBubblePoint()).init(this, {
|
|
8771
8785
|
mass: series.parentNodeRadius / 2,
|
|
8772
|
-
marker:
|
|
8773
|
-
radius: series.parentNodeRadius
|
|
8774
|
-
},
|
|
8786
|
+
marker: parentMarkerOptions,
|
|
8775
8787
|
dataLabels: {
|
|
8776
8788
|
inside: false
|
|
8777
8789
|
},
|
|
8790
|
+
states: {
|
|
8791
|
+
normal: {
|
|
8792
|
+
marker: parentMarkerOptions
|
|
8793
|
+
},
|
|
8794
|
+
hover: {
|
|
8795
|
+
marker: parentMarkerOptions
|
|
8796
|
+
}
|
|
8797
|
+
},
|
|
8778
8798
|
dataLabelOnNull: true,
|
|
8779
8799
|
degree: series.parentNodeRadius,
|
|
8780
8800
|
isParentNode: true,
|
|
@@ -8860,10 +8880,12 @@
|
|
|
8860
8880
|
parentAttribs = {},
|
|
8861
8881
|
nodeMarker = this.layout.options.parentNodeOptions.marker,
|
|
8862
8882
|
parentOptions = {
|
|
8863
|
-
fill: nodeMarker.fillColor ||
|
|
8883
|
+
fill: (nodeMarker.fillColor ||
|
|
8884
|
+
color(series.color).brighten(0.4).get()),
|
|
8864
8885
|
opacity: nodeMarker.fillOpacity,
|
|
8865
8886
|
stroke: nodeMarker.lineColor || series.color,
|
|
8866
|
-
'stroke-width': nodeMarker.lineWidth
|
|
8887
|
+
'stroke-width': pick(nodeMarker.lineWidth,
|
|
8888
|
+
series.options.lineWidth)
|
|
8867
8889
|
};
|
|
8868
8890
|
// create the group for parent Nodes if doesn't exist
|
|
8869
8891
|
if (!this.parentNodesGroup) {
|
|
@@ -9117,6 +9139,36 @@
|
|
|
9117
9139
|
}
|
|
9118
9140
|
return arr;
|
|
9119
9141
|
};
|
|
9142
|
+
/**
|
|
9143
|
+
* Function that checks for a parentMarker and sets the correct opacity.
|
|
9144
|
+
* @private
|
|
9145
|
+
* @param {Highcharts.Pack} point
|
|
9146
|
+
* Candidate point for opacity correction.
|
|
9147
|
+
* @param {string} [state]
|
|
9148
|
+
* The point state, can be either `hover`, `select` or 'normal'. If
|
|
9149
|
+
* undefined, normal state is assumed.
|
|
9150
|
+
*
|
|
9151
|
+
* @return {Highcharts.SVGAttributes}
|
|
9152
|
+
* The presentational attributes to be set on the point.
|
|
9153
|
+
*/
|
|
9154
|
+
PackedBubbleSeries.prototype.pointAttribs = function (point, state) {
|
|
9155
|
+
var options = this.options,
|
|
9156
|
+
hasParentMarker = point && point.isParentNode;
|
|
9157
|
+
var attr,
|
|
9158
|
+
fillOpacity,
|
|
9159
|
+
markerOptions = options.marker;
|
|
9160
|
+
if (hasParentMarker &&
|
|
9161
|
+
options.layoutAlgorithm &&
|
|
9162
|
+
options.layoutAlgorithm.parentNodeOptions) {
|
|
9163
|
+
markerOptions = options.layoutAlgorithm.parentNodeOptions.marker;
|
|
9164
|
+
}
|
|
9165
|
+
fillOpacity = markerOptions.fillOpacity;
|
|
9166
|
+
attr = Series.prototype.pointAttribs.call(this, point, state);
|
|
9167
|
+
if (fillOpacity !== 1) {
|
|
9168
|
+
attr['fill-opacity'] = fillOpacity;
|
|
9169
|
+
}
|
|
9170
|
+
return attr;
|
|
9171
|
+
};
|
|
9120
9172
|
/**
|
|
9121
9173
|
* Function that is adding one bubble based on positions and sizes of
|
|
9122
9174
|
* two other bubbles, lastBubble is the last added bubble, newOrigin is
|
|
@@ -9648,7 +9700,7 @@
|
|
|
9648
9700
|
marker: {
|
|
9649
9701
|
fillColor: null,
|
|
9650
9702
|
fillOpacity: 1,
|
|
9651
|
-
lineWidth:
|
|
9703
|
+
lineWidth: null,
|
|
9652
9704
|
lineColor: null,
|
|
9653
9705
|
symbol: 'circle'
|
|
9654
9706
|
}
|
|
@@ -10119,7 +10171,7 @@
|
|
|
10119
10171
|
Composition.prototype.renderStackTotals = function () {
|
|
10120
10172
|
var yAxis = this.axis,
|
|
10121
10173
|
waterfallStacks = yAxis.waterfall.stacks,
|
|
10122
|
-
stackTotalGroup = yAxis.stacking && yAxis.stacking.stackTotalGroup,
|
|
10174
|
+
stackTotalGroup = (yAxis.stacking && yAxis.stacking.stackTotalGroup),
|
|
10123
10175
|
dummyStackItem = new StackItem(yAxis,
|
|
10124
10176
|
yAxis.options.stackLabels,
|
|
10125
10177
|
false, 0,
|
|
@@ -10288,7 +10340,7 @@
|
|
|
10288
10340
|
|
|
10289
10341
|
return WaterfallPoint;
|
|
10290
10342
|
});
|
|
10291
|
-
_registerModule(_modules, 'Series/Waterfall/WaterfallSeries.js', [_modules['Core/Axis/Axis.js'], _modules['Core/Chart/Chart.js'], _modules['Core/
|
|
10343
|
+
_registerModule(_modules, 'Series/Waterfall/WaterfallSeries.js', [_modules['Core/Axis/Axis.js'], _modules['Core/Chart/Chart.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js'], _modules['Core/Axis/WaterfallAxis.js'], _modules['Series/Waterfall/WaterfallPoint.js']], function (Axis, Chart, SeriesRegistry, U, WaterfallAxis, WaterfallPoint) {
|
|
10292
10344
|
/* *
|
|
10293
10345
|
*
|
|
10294
10346
|
* (c) 2010-2021 Torstein Honsi
|
|
@@ -10328,9 +10380,12 @@
|
|
|
10328
10380
|
/**
|
|
10329
10381
|
* Returns true if the key is a direct property of the object.
|
|
10330
10382
|
* @private
|
|
10331
|
-
* @param {*} obj
|
|
10332
|
-
*
|
|
10333
|
-
* @
|
|
10383
|
+
* @param {*} obj
|
|
10384
|
+
* Object with property to test
|
|
10385
|
+
* @param {string} key
|
|
10386
|
+
* Property key to test
|
|
10387
|
+
* @return {boolean}
|
|
10388
|
+
* Whether it is a direct property
|
|
10334
10389
|
*/
|
|
10335
10390
|
function ownProp(obj, key) {
|
|
10336
10391
|
return Object.hasOwnProperty.call(obj, key);
|
|
@@ -10954,7 +11009,7 @@
|
|
|
10954
11009
|
* @since 3.0
|
|
10955
11010
|
* @product highcharts
|
|
10956
11011
|
*/
|
|
10957
|
-
lineColor:
|
|
11012
|
+
lineColor: "#333333" /* neutralColor80 */,
|
|
10958
11013
|
/**
|
|
10959
11014
|
* A name for the dash style to use for the line connecting the columns
|
|
10960
11015
|
* of the waterfall series. Possible values: Dash, DashDot, Dot,
|
|
@@ -10979,7 +11034,7 @@
|
|
|
10979
11034
|
* @since 3.0
|
|
10980
11035
|
* @product highcharts
|
|
10981
11036
|
*/
|
|
10982
|
-
borderColor:
|
|
11037
|
+
borderColor: "#333333" /* neutralColor80 */,
|
|
10983
11038
|
states: {
|
|
10984
11039
|
hover: {
|
|
10985
11040
|
lineWidthPlus: 0 // #3126
|
|
@@ -11299,8 +11354,10 @@
|
|
|
11299
11354
|
}
|
|
11300
11355
|
else { // curve from last point to this
|
|
11301
11356
|
connectors = this.getConnectors(segment, i, true, this.connectEnds);
|
|
11302
|
-
var rightContX = connectors.prevPointCont &&
|
|
11303
|
-
|
|
11357
|
+
var rightContX = connectors.prevPointCont &&
|
|
11358
|
+
connectors.prevPointCont.rightContX;
|
|
11359
|
+
var rightContY = connectors.prevPointCont &&
|
|
11360
|
+
connectors.prevPointCont.rightContY;
|
|
11304
11361
|
ret = [
|
|
11305
11362
|
'C',
|
|
11306
11363
|
isNumber(rightContX) ? rightContX : connectors.plotX,
|
|
@@ -11324,7 +11381,8 @@
|
|
|
11324
11381
|
// #6430 Areasplinerange series use unwrapped getPointSpline method, so
|
|
11325
11382
|
// we need to set this method again.
|
|
11326
11383
|
if (seriesTypes.areasplinerange) {
|
|
11327
|
-
seriesTypes.areasplinerange.prototype
|
|
11384
|
+
seriesTypes.areasplinerange.prototype
|
|
11385
|
+
.getPointSpline = seriesTypes.spline.prototype.getPointSpline;
|
|
11328
11386
|
}
|
|
11329
11387
|
}
|
|
11330
11388
|
/**
|
|
@@ -11454,7 +11512,7 @@
|
|
|
11454
11512
|
animation = this.options.animation,
|
|
11455
11513
|
group = this.group,
|
|
11456
11514
|
markerGroup = this.markerGroup,
|
|
11457
|
-
center = this.xAxis.center,
|
|
11515
|
+
center = this.xAxis && this.xAxis.center,
|
|
11458
11516
|
plotLeft = chart.plotLeft,
|
|
11459
11517
|
plotTop = chart.plotTop,
|
|
11460
11518
|
attribs,
|