highcharts 9.2.1 → 9.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +239 -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 +200 -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 +77 -115
- package/es-modules/Extensions/DataGrouping.js +54 -32
- package/es-modules/Extensions/Debugger/ErrorMessages.js +2 -2
- 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 +35 -48
- 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 +33 -33
- 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 +1359 -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 +10228 -768
- package/highcharts.js +585 -588
- package/highcharts.js.map +1 -1
- package/highcharts.src.d.ts +10228 -768
- package/highcharts.src.js +995 -1066
- package/highmaps.js +727 -707
- package/highmaps.js.map +1 -1
- package/highmaps.src.js +3243 -2135
- package/highstock.js +788 -783
- package/highstock.js.map +1 -1
- package/highstock.src.js +2492 -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 +240 -216
- package/modules/accessibility.js.map +1 -1
- package/modules/accessibility.src.d.ts +0 -30
- package/modules/accessibility.src.js +7807 -6400
- 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 +32 -32
- package/modules/data.js.map +1 -1
- package/modules/data.src.d.ts +6 -6
- package/modules/data.src.js +94 -140
- package/modules/datagrouping.js +20 -20
- package/modules/datagrouping.js.map +1 -1
- package/modules/datagrouping.src.js +56 -33
- package/modules/debugger.js +3 -3
- package/modules/debugger.js.map +1 -1
- package/modules/debugger.src.js +3 -3
- 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 +134 -116
- 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 -17
- package/modules/offline-exporting.js.map +1 -1
- package/modules/offline-exporting.src.js +39 -44
- 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 +1822 -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
|
@@ -13,7 +13,7 @@ import Color from './Color/Color.js';
|
|
|
13
13
|
var color = Color.parse;
|
|
14
14
|
import H from './Globals.js';
|
|
15
15
|
var isTouchDevice = H.isTouchDevice, svg = H.svg;
|
|
16
|
-
import
|
|
16
|
+
import Palettes from './Color/Palettes.js';
|
|
17
17
|
import Time from './Time.js';
|
|
18
18
|
import U from './Utilities.js';
|
|
19
19
|
var merge = U.merge;
|
|
@@ -65,7 +65,7 @@ var defaultOptions = {
|
|
|
65
65
|
* @default ["#7cb5ec", "#434348", "#90ed7d", "#f7a35c", "#8085e9",
|
|
66
66
|
* "#f15c80", "#e4d354", "#2b908f", "#f45b5b", "#91e8e1"]
|
|
67
67
|
*/
|
|
68
|
-
colors:
|
|
68
|
+
colors: Palettes.colors,
|
|
69
69
|
/**
|
|
70
70
|
* Styled mode only. Configuration object for adding SVG definitions for
|
|
71
71
|
* reusable elements. See [gradients, shadows and
|
|
@@ -882,7 +882,7 @@ var defaultOptions = {
|
|
|
882
882
|
/**
|
|
883
883
|
* @ignore-option
|
|
884
884
|
*/
|
|
885
|
-
color:
|
|
885
|
+
color: "#333333" /* neutralColor80 */
|
|
886
886
|
}
|
|
887
887
|
},
|
|
888
888
|
/**
|
|
@@ -1162,7 +1162,7 @@ var defaultOptions = {
|
|
|
1162
1162
|
*
|
|
1163
1163
|
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
|
|
1164
1164
|
*/
|
|
1165
|
-
borderColor:
|
|
1165
|
+
borderColor: "#999999" /* neutralColor40 */,
|
|
1166
1166
|
/**
|
|
1167
1167
|
* The border corner radius of the legend.
|
|
1168
1168
|
*
|
|
@@ -1256,7 +1256,7 @@ var defaultOptions = {
|
|
|
1256
1256
|
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
|
|
1257
1257
|
* @since 2.2.4
|
|
1258
1258
|
*/
|
|
1259
|
-
activeColor:
|
|
1259
|
+
activeColor: "#003399" /* highlightColor100 */,
|
|
1260
1260
|
/**
|
|
1261
1261
|
* The color of the inactive up or down arrow in the legend page
|
|
1262
1262
|
* navigation. .
|
|
@@ -1272,7 +1272,7 @@ var defaultOptions = {
|
|
|
1272
1272
|
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
|
|
1273
1273
|
* @since 2.2.4
|
|
1274
1274
|
*/
|
|
1275
|
-
inactiveColor:
|
|
1275
|
+
inactiveColor: "#cccccc" /* neutralColor20 */
|
|
1276
1276
|
},
|
|
1277
1277
|
/**
|
|
1278
1278
|
* The inner padding of the legend box.
|
|
@@ -1348,7 +1348,7 @@ var defaultOptions = {
|
|
|
1348
1348
|
/**
|
|
1349
1349
|
* @ignore
|
|
1350
1350
|
*/
|
|
1351
|
-
color:
|
|
1351
|
+
color: "#333333" /* neutralColor80 */,
|
|
1352
1352
|
/**
|
|
1353
1353
|
* @ignore
|
|
1354
1354
|
*/
|
|
@@ -1386,7 +1386,7 @@ var defaultOptions = {
|
|
|
1386
1386
|
/**
|
|
1387
1387
|
* @ignore
|
|
1388
1388
|
*/
|
|
1389
|
-
color:
|
|
1389
|
+
color: "#000000" /* neutralColor100 */
|
|
1390
1390
|
},
|
|
1391
1391
|
/**
|
|
1392
1392
|
* CSS styles for each legend item when the corresponding series or
|
|
@@ -1407,7 +1407,7 @@ var defaultOptions = {
|
|
|
1407
1407
|
/**
|
|
1408
1408
|
* @ignore
|
|
1409
1409
|
*/
|
|
1410
|
-
color:
|
|
1410
|
+
color: "#cccccc" /* neutralColor20 */
|
|
1411
1411
|
},
|
|
1412
1412
|
/**
|
|
1413
1413
|
* Whether to apply a drop shadow to the legend. A `backgroundColor`
|
|
@@ -1711,7 +1711,7 @@ var defaultOptions = {
|
|
|
1711
1711
|
/**
|
|
1712
1712
|
* @ignore
|
|
1713
1713
|
*/
|
|
1714
|
-
backgroundColor:
|
|
1714
|
+
backgroundColor: "#ffffff" /* backgroundColor */,
|
|
1715
1715
|
/**
|
|
1716
1716
|
* @ignore
|
|
1717
1717
|
*/
|
|
@@ -2054,11 +2054,13 @@ var defaultOptions = {
|
|
|
2054
2054
|
* @apioption tooltip.xDateFormat
|
|
2055
2055
|
*/
|
|
2056
2056
|
/**
|
|
2057
|
-
* How many decimals to show for the `point.change`
|
|
2058
|
-
* `
|
|
2059
|
-
*
|
|
2057
|
+
* How many decimals to show for the `point.change`
|
|
2058
|
+
* or the `point.cumulativeSum` value when the `series.compare`
|
|
2059
|
+
* or the `series.cumulative` option is set.
|
|
2060
|
+
* This is overridable in each series' tooltip options object.
|
|
2060
2061
|
*
|
|
2061
2062
|
* @type {number}
|
|
2063
|
+
* @default 2
|
|
2062
2064
|
* @since 1.0.1
|
|
2063
2065
|
* @product highstock
|
|
2064
2066
|
* @apioption tooltip.changeDecimals
|
|
@@ -2096,7 +2098,7 @@ var defaultOptions = {
|
|
|
2096
2098
|
* header will by default be guessed based on the closest data points.
|
|
2097
2099
|
* This member gives the default string representations used for
|
|
2098
2100
|
* each unit. For an overview of the replacement codes, see
|
|
2099
|
-
* [dateFormat](/class-reference/Highcharts
|
|
2101
|
+
* [dateFormat](/class-reference/Highcharts.Time#dateFormat).
|
|
2100
2102
|
*
|
|
2101
2103
|
* @see [xAxis.dateTimeLabelFormats](#xAxis.dateTimeLabelFormats)
|
|
2102
2104
|
*
|
|
@@ -2300,7 +2302,7 @@ var defaultOptions = {
|
|
|
2300
2302
|
*
|
|
2301
2303
|
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
|
|
2302
2304
|
*/
|
|
2303
|
-
backgroundColor: color(
|
|
2305
|
+
backgroundColor: color("#f7f7f7" /* neutralColor3 */)
|
|
2304
2306
|
// @todo: Disallow undefined as input for colors
|
|
2305
2307
|
.setOpacity(0.85).get(),
|
|
2306
2308
|
/**
|
|
@@ -2363,7 +2365,7 @@ var defaultOptions = {
|
|
|
2363
2365
|
*/
|
|
2364
2366
|
style: {
|
|
2365
2367
|
/** @internal */
|
|
2366
|
-
color:
|
|
2368
|
+
color: "#333333" /* neutralColor80 */,
|
|
2367
2369
|
/** @internal */
|
|
2368
2370
|
cursor: 'default',
|
|
2369
2371
|
/** @internal */
|
|
@@ -2478,7 +2480,7 @@ var defaultOptions = {
|
|
|
2478
2480
|
/** @internal */
|
|
2479
2481
|
cursor: 'pointer',
|
|
2480
2482
|
/** @internal */
|
|
2481
|
-
color:
|
|
2483
|
+
color: "#999999" /* neutralColor40 */,
|
|
2482
2484
|
/** @internal */
|
|
2483
2485
|
fontSize: '9px'
|
|
2484
2486
|
},
|
|
@@ -2512,6 +2514,7 @@ var defaultTime = new Time(merge(defaultOptions.global, defaultOptions.time));
|
|
|
2512
2514
|
* @function Highcharts.getOptions
|
|
2513
2515
|
*
|
|
2514
2516
|
* @return {Highcharts.Options}
|
|
2517
|
+
* Default options.
|
|
2515
2518
|
*/
|
|
2516
2519
|
function getOptions() {
|
|
2517
2520
|
return defaultOptions;
|
|
@@ -2526,10 +2529,10 @@ function getOptions() {
|
|
|
2526
2529
|
* @function Highcharts.setOptions
|
|
2527
2530
|
*
|
|
2528
2531
|
* @param {Highcharts.Options} options
|
|
2529
|
-
*
|
|
2532
|
+
* The new custom chart options.
|
|
2530
2533
|
*
|
|
2531
2534
|
* @return {Highcharts.Options}
|
|
2532
|
-
*
|
|
2535
|
+
* Updated options.
|
|
2533
2536
|
*/
|
|
2534
2537
|
function setOptions(options) {
|
|
2535
2538
|
// Copy in the default options
|
|
@@ -12,42 +12,50 @@ import U from './Utilities.js';
|
|
|
12
12
|
var addEvent = U.addEvent, isFunction = U.isFunction, objectEach = U.objectEach, removeEvent = U.removeEvent;
|
|
13
13
|
/* *
|
|
14
14
|
*
|
|
15
|
-
*
|
|
15
|
+
* Class Namespace
|
|
16
16
|
*
|
|
17
17
|
* */
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
*
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
18
|
+
var Foundation;
|
|
19
|
+
(function (Foundation) {
|
|
20
|
+
/* *
|
|
21
|
+
*
|
|
22
|
+
* Functions
|
|
23
|
+
*
|
|
24
|
+
* */
|
|
25
|
+
/* eslint-disable valid-jsdoc */
|
|
26
|
+
/**
|
|
27
|
+
* Register event options. If an event handler is set on the options, it
|
|
28
|
+
* should be subject to Chart.update, Axis.update and Series.update. This is
|
|
29
|
+
* contrary to general handlers that are set directly using addEvent either
|
|
30
|
+
* on the class or on the instance. #6538, #6943, #10861.
|
|
31
|
+
* @private
|
|
32
|
+
*/
|
|
33
|
+
function registerEventOptions(component, options) {
|
|
34
|
+
// A lookup over those events that are added by _options_ (not
|
|
35
|
+
// programmatically). These are updated through .update()
|
|
36
|
+
component.eventOptions = component.eventOptions || {};
|
|
37
|
+
// Register event listeners
|
|
38
|
+
objectEach(options.events, function (event, eventType) {
|
|
39
|
+
// If event does not exist, or is changed by the .update()
|
|
40
|
+
// function
|
|
41
|
+
if (component.eventOptions[eventType] !== event) {
|
|
42
|
+
// Remove existing if set by option
|
|
43
|
+
if (component.eventOptions[eventType]) {
|
|
44
|
+
removeEvent(component, eventType, component.eventOptions[eventType]);
|
|
45
|
+
delete component.eventOptions[eventType];
|
|
46
|
+
}
|
|
47
|
+
if (isFunction(event)) {
|
|
48
|
+
component.eventOptions[eventType] = event;
|
|
49
|
+
addEvent(component, eventType, event);
|
|
50
|
+
}
|
|
37
51
|
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
});
|
|
44
|
-
};
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
Foundation.registerEventOptions = registerEventOptions;
|
|
55
|
+
})(Foundation || (Foundation = {}));
|
|
45
56
|
/* *
|
|
46
57
|
*
|
|
47
58
|
* Default Export
|
|
48
59
|
*
|
|
49
60
|
* */
|
|
50
|
-
|
|
51
|
-
registerEventOptions: registerEventOptions
|
|
52
|
-
};
|
|
53
|
-
export default exports;
|
|
61
|
+
export default Foundation;
|
|
@@ -75,7 +75,8 @@ var CircleUtilities;
|
|
|
75
75
|
* Returns the area of the circular segment.
|
|
76
76
|
*/
|
|
77
77
|
function getCircularSegmentArea(r, h) {
|
|
78
|
-
return r * r * Math.acos(1 - h / r) -
|
|
78
|
+
return (r * r * Math.acos(1 - h / r) -
|
|
79
|
+
(r - h) * Math.sqrt(h * (2 * r - h)));
|
|
79
80
|
}
|
|
80
81
|
CircleUtilities.getCircularSegmentArea = getCircularSegmentArea;
|
|
81
82
|
/**
|
|
@@ -40,7 +40,7 @@ var Globals;
|
|
|
40
40
|
* Constants
|
|
41
41
|
*
|
|
42
42
|
* */
|
|
43
|
-
Globals.SVG_NS = 'http://www.w3.org/2000/svg', Globals.product = 'Highcharts', Globals.version = '9.2
|
|
43
|
+
Globals.SVG_NS = 'http://www.w3.org/2000/svg', Globals.product = 'Highcharts', Globals.version = '9.3.2', Globals.win = w, Globals.doc = Globals.win.document, Globals.svg = (Globals.doc &&
|
|
44
44
|
Globals.doc.createElementNS &&
|
|
45
45
|
!!Globals.doc.createElementNS(Globals.SVG_NS, 'svg').createSVGRect), Globals.userAgent = (Globals.win.navigator && Globals.win.navigator.userAgent) || '', Globals.isChrome = Globals.userAgent.indexOf('Chrome') !== -1, Globals.isFirefox = Globals.userAgent.indexOf('Firefox') !== -1, Globals.isMS = /(edge|msie|trident)/i.test(Globals.userAgent) && !Globals.win.opera, Globals.isSafari = !Globals.isChrome && Globals.userAgent.indexOf('Safari') !== -1, Globals.isTouchDevice = /(Mobile|Android|Windows Phone)/.test(Globals.userAgent), Globals.isWebKit = Globals.userAgent.indexOf('AppleWebKit') !== -1, Globals.deg2rad = Math.PI * 2 / 360, Globals.hasBidiBug = (Globals.isFirefox &&
|
|
46
46
|
parseInt(Globals.userAgent.split('Firefox/')[1], 10) < 4 // issue #38
|
|
@@ -40,9 +40,10 @@ function ajax(attr) {
|
|
|
40
40
|
}, r = new XMLHttpRequest();
|
|
41
41
|
/**
|
|
42
42
|
* @private
|
|
43
|
-
* @param {XMLHttpRequest} xhr
|
|
44
|
-
*
|
|
45
|
-
* @
|
|
43
|
+
* @param {XMLHttpRequest} xhr
|
|
44
|
+
* Internal request object.
|
|
45
|
+
* @param {string|Error} err
|
|
46
|
+
* Occured error.
|
|
46
47
|
*/
|
|
47
48
|
function handleError(xhr, err) {
|
|
48
49
|
if (options.error) {
|
|
@@ -100,7 +101,7 @@ function ajax(attr) {
|
|
|
100
101
|
* function instead.
|
|
101
102
|
*/
|
|
102
103
|
function getJSON(url, success) {
|
|
103
|
-
|
|
104
|
+
HttpUtilities.ajax({
|
|
104
105
|
url: url,
|
|
105
106
|
success: success,
|
|
106
107
|
dataType: 'json',
|
|
@@ -120,7 +121,7 @@ function getJSON(url, success) {
|
|
|
120
121
|
* @param {string} url
|
|
121
122
|
* Post URL
|
|
122
123
|
*
|
|
123
|
-
* @param {
|
|
124
|
+
* @param {Object} data
|
|
124
125
|
* Post data
|
|
125
126
|
*
|
|
126
127
|
* @param {Highcharts.Dictionary<string>} [formAttributes]
|
|
@@ -153,12 +154,12 @@ function post(url, data, formAttributes) {
|
|
|
153
154
|
* Default Export
|
|
154
155
|
*
|
|
155
156
|
* */
|
|
156
|
-
var
|
|
157
|
+
var HttpUtilities = {
|
|
157
158
|
ajax: ajax,
|
|
158
159
|
getJSON: getJSON,
|
|
159
160
|
post: post
|
|
160
161
|
};
|
|
161
|
-
export default
|
|
162
|
+
export default HttpUtilities;
|
|
162
163
|
/**
|
|
163
164
|
* @interface Highcharts.AjaxSettingsObject
|
|
164
165
|
*/ /**
|
|
@@ -153,7 +153,8 @@ var Legend = /** @class */ (function () {
|
|
|
153
153
|
this.symbolWidth = pick(options.symbolWidth, 16);
|
|
154
154
|
this.pages = [];
|
|
155
155
|
this.proximate = options.layout === 'proximate' && !this.chart.inverted;
|
|
156
|
-
|
|
156
|
+
// #12705: baseline has to be reset on every update
|
|
157
|
+
this.baseline = void 0;
|
|
157
158
|
};
|
|
158
159
|
/**
|
|
159
160
|
* Update the legend with new options. Equivalent to running `chart.update`
|
|
@@ -172,7 +173,7 @@ var Legend = /** @class */ (function () {
|
|
|
172
173
|
* operations on the chart, it is a good idea to set redraw to false and
|
|
173
174
|
* call {@link Chart#redraw} after. Whether to redraw the chart.
|
|
174
175
|
*
|
|
175
|
-
* @
|
|
176
|
+
* @emits Highcharts.Legends#event:afterUpdate
|
|
176
177
|
*/
|
|
177
178
|
Legend.prototype.update = function (options, redraw) {
|
|
178
179
|
var chart = this.chart;
|
|
@@ -306,8 +307,7 @@ var Legend = /** @class */ (function () {
|
|
|
306
307
|
/**
|
|
307
308
|
* @private
|
|
308
309
|
* @param {string} key
|
|
309
|
-
|
|
310
|
-
*/
|
|
310
|
+
*/
|
|
311
311
|
function destroyItems(key) {
|
|
312
312
|
if (this[key]) {
|
|
313
313
|
this[key] = this[key].destroy();
|
|
@@ -503,13 +503,16 @@ var Legend = /** @class */ (function () {
|
|
|
503
503
|
legend.setText(item);
|
|
504
504
|
// calculate the positions for the next line
|
|
505
505
|
var bBox = li.getBBox();
|
|
506
|
+
var fontMetricsH = (legend.fontMetrics && legend.fontMetrics.h) || 0;
|
|
506
507
|
item.itemWidth = item.checkboxOffset =
|
|
507
508
|
options.itemWidth ||
|
|
508
509
|
item.legendItemWidth ||
|
|
509
510
|
bBox.width + itemExtraWidth;
|
|
510
511
|
legend.maxItemWidth = Math.max(legend.maxItemWidth, item.itemWidth);
|
|
511
512
|
legend.totalItemWidth += item.itemWidth;
|
|
512
|
-
legend.itemHeight = item.itemHeight = Math.round(item.legendItemHeight ||
|
|
513
|
+
legend.itemHeight = item.itemHeight = Math.round(item.legendItemHeight ||
|
|
514
|
+
// use bBox for multiline (#16398)
|
|
515
|
+
(bBox.height > fontMetricsH * 1.5 ? bBox.height : fontMetricsH));
|
|
513
516
|
};
|
|
514
517
|
/**
|
|
515
518
|
* Get the position of the item in the layout. We now know the
|
|
@@ -565,7 +568,7 @@ var Legend = /** @class */ (function () {
|
|
|
565
568
|
* @function Highcharts.Legend#getAllItems
|
|
566
569
|
* @return {Array<(Highcharts.BubbleLegendItem|Highcharts.Point|Highcharts.Series)>}
|
|
567
570
|
* The current items in the legend.
|
|
568
|
-
* @
|
|
571
|
+
* @emits Highcharts.Legend#event:afterGetAllItems
|
|
569
572
|
*/
|
|
570
573
|
Legend.prototype.getAllItems = function () {
|
|
571
574
|
var allItems = [];
|
|
@@ -818,7 +821,6 @@ var Legend = /** @class */ (function () {
|
|
|
818
821
|
* @private
|
|
819
822
|
* @function Highcharts.align
|
|
820
823
|
* @param {Highcharts.BBoxObject} alignTo
|
|
821
|
-
* @return {void}
|
|
822
824
|
*/
|
|
823
825
|
Legend.prototype.align = function (alignTo) {
|
|
824
826
|
if (alignTo === void 0) { alignTo = this.chart.spacingBox; }
|
|
@@ -849,8 +851,6 @@ var Legend = /** @class */ (function () {
|
|
|
849
851
|
*
|
|
850
852
|
* @private
|
|
851
853
|
* @function Highcharts.Legend#handleOverflow
|
|
852
|
-
* @param {number} legendHeight
|
|
853
|
-
* @return {number}
|
|
854
854
|
*/
|
|
855
855
|
Legend.prototype.handleOverflow = function (legendHeight) {
|
|
856
856
|
var legend = this, chart = this.chart, renderer = chart.renderer, options = this.options, optionsY = options.y, alignTop = options.verticalAlign === 'top', padding = this.padding, maxHeight = options.maxHeight, navOptions = options.navigation, animation = pick(navOptions.animation, true), arrowSize = navOptions.arrowSize || 12, pages = this.pages, allItems = this.allItems, clipToHeight = function (height) {
|
|
@@ -916,10 +916,14 @@ var Legend = /** @class */ (function () {
|
|
|
916
916
|
if (lastY) {
|
|
917
917
|
allItems[i - 1].pageIx = len - 1;
|
|
918
918
|
}
|
|
919
|
-
|
|
919
|
+
// add the last page if needed (#2617, #13683)
|
|
920
|
+
if (
|
|
921
|
+
// check the last item
|
|
922
|
+
i === allItems.length - 1 &&
|
|
923
|
+
// if adding next page is needed
|
|
920
924
|
y + h - pages[len - 1] > clipHeight &&
|
|
921
|
-
|
|
922
|
-
|
|
925
|
+
// and will fully fit inside a new page
|
|
926
|
+
h <= clipHeight) {
|
|
923
927
|
pages.push(y);
|
|
924
928
|
item.pageIx = len;
|
|
925
929
|
}
|
|
@@ -988,7 +992,6 @@ var Legend = /** @class */ (function () {
|
|
|
988
992
|
* @param {boolean|Partial<Highcharts.AnimationOptionsObject>} [animation]
|
|
989
993
|
* Whether and how to apply animation.
|
|
990
994
|
*
|
|
991
|
-
* @return {void}
|
|
992
995
|
*/
|
|
993
996
|
Legend.prototype.scroll = function (scrollBy, animation) {
|
|
994
997
|
var _this = this;
|
|
@@ -1069,8 +1072,8 @@ var Legend = /** @class */ (function () {
|
|
|
1069
1072
|
* @param {Highcharts.BubbleLegendItem|Point|Highcharts.Series} item
|
|
1070
1073
|
* @param {Highcharts.SVGElement} legendItem
|
|
1071
1074
|
* @param {boolean} [useHTML=false]
|
|
1072
|
-
* @
|
|
1073
|
-
* @
|
|
1075
|
+
* @emits Highcharts.Point#event:legendItemClick
|
|
1076
|
+
* @emits Highcharts.Series#event:legendItemClick
|
|
1074
1077
|
*/
|
|
1075
1078
|
Legend.prototype.setItemEvents = function (item, legendItem, useHTML) {
|
|
1076
1079
|
var legend = this, boxWrapper = legend.chart.renderer.boxWrapper, isPoint = item instanceof Point, activeClass = 'highcharts-legend-' +
|
|
@@ -1154,7 +1157,7 @@ var Legend = /** @class */ (function () {
|
|
|
1154
1157
|
* @private
|
|
1155
1158
|
* @function Highcharts.Legend#createCheckboxForItem
|
|
1156
1159
|
* @param {Highcharts.BubbleLegendItem|Point|Highcharts.Series} item
|
|
1157
|
-
* @
|
|
1160
|
+
* @emits Highcharts.Series#event:checkboxClick
|
|
1158
1161
|
*/
|
|
1159
1162
|
Legend.prototype.createCheckboxForItem = function (item) {
|
|
1160
1163
|
var legend = this;
|
|
@@ -17,7 +17,6 @@ var hasTouch = H.hasTouch, isTouchDevice = H.isTouchDevice;
|
|
|
17
17
|
import NavigatorAxis from './Axis/NavigatorAxis.js';
|
|
18
18
|
import D from './DefaultOptions.js';
|
|
19
19
|
var defaultOptions = D.defaultOptions;
|
|
20
|
-
import Palette from './Color/Palette.js';
|
|
21
20
|
import RendererRegistry from './Renderer/RendererRegistry.js';
|
|
22
21
|
import Scrollbar from './Scrollbar.js';
|
|
23
22
|
import Series from './Series/Series.js';
|
|
@@ -203,13 +202,13 @@ extend(defaultOptions, {
|
|
|
203
202
|
*
|
|
204
203
|
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
|
|
205
204
|
*/
|
|
206
|
-
backgroundColor:
|
|
205
|
+
backgroundColor: "#f2f2f2" /* neutralColor5 */,
|
|
207
206
|
/**
|
|
208
207
|
* The stroke for the handle border and the stripes inside.
|
|
209
208
|
*
|
|
210
209
|
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
|
|
211
210
|
*/
|
|
212
|
-
borderColor:
|
|
211
|
+
borderColor: "#999999" /* neutralColor40 */
|
|
213
212
|
},
|
|
214
213
|
/**
|
|
215
214
|
* The color of the mask covering the areas of the navigator series
|
|
@@ -226,7 +225,7 @@ extend(defaultOptions, {
|
|
|
226
225
|
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
|
|
227
226
|
* @default rgba(102,133,194,0.3)
|
|
228
227
|
*/
|
|
229
|
-
maskFill: color(
|
|
228
|
+
maskFill: color("#6685c2" /* highlightColor60 */).setOpacity(0.3).get(),
|
|
230
229
|
/**
|
|
231
230
|
* The color of the line marking the currently zoomed area in the
|
|
232
231
|
* navigator.
|
|
@@ -237,7 +236,7 @@ extend(defaultOptions, {
|
|
|
237
236
|
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
|
|
238
237
|
* @default #cccccc
|
|
239
238
|
*/
|
|
240
|
-
outlineColor:
|
|
239
|
+
outlineColor: "#cccccc" /* neutralColor20 */,
|
|
241
240
|
/**
|
|
242
241
|
* The width of the line marking the currently zoomed area in the
|
|
243
242
|
* navigator.
|
|
@@ -428,7 +427,7 @@ extend(defaultOptions, {
|
|
|
428
427
|
className: 'highcharts-navigator-xaxis',
|
|
429
428
|
tickLength: 0,
|
|
430
429
|
lineWidth: 0,
|
|
431
|
-
gridLineColor:
|
|
430
|
+
gridLineColor: "#e6e6e6" /* neutralColor10 */,
|
|
432
431
|
gridLineWidth: 1,
|
|
433
432
|
tickPixelInterval: 200,
|
|
434
433
|
labels: {
|
|
@@ -438,7 +437,7 @@ extend(defaultOptions, {
|
|
|
438
437
|
*/
|
|
439
438
|
style: {
|
|
440
439
|
/** @ignore */
|
|
441
|
-
color:
|
|
440
|
+
color: "#999999" /* neutralColor40 */
|
|
442
441
|
},
|
|
443
442
|
x: 3,
|
|
444
443
|
y: -4
|
|
@@ -608,17 +607,32 @@ var Navigator = /** @class */ (function () {
|
|
|
608
607
|
verticalMin = navigatorTop + zoomedMax + outlineCorrection;
|
|
609
608
|
zoomedMax = navigatorTop + zoomedMin + outlineCorrection;
|
|
610
609
|
path = [
|
|
611
|
-
[
|
|
610
|
+
[
|
|
611
|
+
'M',
|
|
612
|
+
left + outlineHeight,
|
|
613
|
+
navigatorTop - scrollbarHeight - outlineCorrection
|
|
614
|
+
],
|
|
615
|
+
// top right of zoomed range
|
|
612
616
|
['L', left + outlineHeight, verticalMin],
|
|
613
617
|
['L', left, verticalMin],
|
|
614
618
|
['L', left, zoomedMax],
|
|
615
619
|
['L', left + outlineHeight, zoomedMax],
|
|
616
|
-
[
|
|
620
|
+
[
|
|
621
|
+
'L',
|
|
622
|
+
left + outlineHeight,
|
|
623
|
+
navigatorTop + navigatorSize + scrollbarHeight
|
|
624
|
+
]
|
|
617
625
|
];
|
|
618
626
|
if (maskInside) {
|
|
619
|
-
path.push(
|
|
620
|
-
|
|
621
|
-
|
|
627
|
+
path.push(
|
|
628
|
+
// upper left of zoomed range
|
|
629
|
+
['M', left + outlineHeight, verticalMin - halfOutline],
|
|
630
|
+
// upper right of z.r.
|
|
631
|
+
[
|
|
632
|
+
'L',
|
|
633
|
+
left + outlineHeight,
|
|
634
|
+
zoomedMax + halfOutline
|
|
635
|
+
]);
|
|
622
636
|
}
|
|
623
637
|
}
|
|
624
638
|
else {
|
|
@@ -626,17 +640,25 @@ var Navigator = /** @class */ (function () {
|
|
|
626
640
|
zoomedMax += left + scrollbarHeight - outlineCorrection;
|
|
627
641
|
navigatorTop += halfOutline;
|
|
628
642
|
path = [
|
|
643
|
+
// left
|
|
629
644
|
['M', left, navigatorTop],
|
|
645
|
+
// upper left of zoomed range
|
|
630
646
|
['L', zoomedMin, navigatorTop],
|
|
647
|
+
// lower left of z.r.
|
|
631
648
|
['L', zoomedMin, navigatorTop + outlineHeight],
|
|
649
|
+
// lower right of z.r.
|
|
632
650
|
['L', zoomedMax, navigatorTop + outlineHeight],
|
|
651
|
+
// upper right of z.r.
|
|
633
652
|
['L', zoomedMax, navigatorTop],
|
|
634
|
-
|
|
653
|
+
// right
|
|
654
|
+
['L', left + navigatorSize + scrollbarHeight * 2, navigatorTop]
|
|
635
655
|
];
|
|
636
656
|
if (maskInside) {
|
|
637
|
-
path.push(
|
|
638
|
-
|
|
639
|
-
|
|
657
|
+
path.push(
|
|
658
|
+
// upper left of zoomed range
|
|
659
|
+
['M', zoomedMin - halfOutline, navigatorTop],
|
|
660
|
+
// upper right of z.r.
|
|
661
|
+
['L', zoomedMax + halfOutline, navigatorTop]);
|
|
640
662
|
}
|
|
641
663
|
}
|
|
642
664
|
navigator.outline[verb]({
|
|
@@ -808,7 +830,6 @@ var Navigator = /** @class */ (function () {
|
|
|
808
830
|
* Pixel value minimum
|
|
809
831
|
* @param {number} [pxMax]
|
|
810
832
|
* Pixel value maximum
|
|
811
|
-
* @return {void}
|
|
812
833
|
*/
|
|
813
834
|
Navigator.prototype.render = function (min, max, pxMin, pxMax) {
|
|
814
835
|
var navigator = this, chart = navigator.chart, navigatorWidth, scrollbarLeft, scrollbarTop, scrollbarHeight = navigator.scrollbarHeight, navigatorSize, xAxis = navigator.xAxis, pointRange = xAxis.pointRange || 0, scrollbarXAxis = xAxis.navigatorAxis.fake ? chart.xAxis[0] : xAxis, navigatorEnabled = navigator.navigatorEnabled, zoomedMin, zoomedMax, rendered = navigator.rendered, inverted = chart.inverted, verb, newMin, newMax, currentRange, minRange = chart.xAxis[0].minRange, maxRange = chart.xAxis[0].options.maxRange;
|
|
@@ -1048,7 +1069,6 @@ var Navigator = /** @class */ (function () {
|
|
|
1048
1069
|
* Mouse event
|
|
1049
1070
|
* @param {number} index
|
|
1050
1071
|
* Index of a handle in Navigator.handles array
|
|
1051
|
-
* @return {void}
|
|
1052
1072
|
*/
|
|
1053
1073
|
Navigator.prototype.handlesMousedown = function (e, index) {
|
|
1054
1074
|
e = this.chart.pointer.normalize(e);
|
|
@@ -1135,7 +1155,6 @@ var Navigator = /** @class */ (function () {
|
|
|
1135
1155
|
* @function Highcharts.Navigator#onMouseUp
|
|
1136
1156
|
* @param {Highcharts.PointerEventObject} e
|
|
1137
1157
|
* Mouse event
|
|
1138
|
-
* @return {void}
|
|
1139
1158
|
*/
|
|
1140
1159
|
Navigator.prototype.onMouseUp = function (e) {
|
|
1141
1160
|
var navigator = this, chart = navigator.chart, xAxis = navigator.xAxis, scrollbar = navigator.scrollbar, DOMEvent = e.DOMEvent || e, inverted = chart.inverted, verb = navigator.rendered && !navigator.hasDragged ?
|
|
@@ -1210,7 +1229,6 @@ var Navigator = /** @class */ (function () {
|
|
|
1210
1229
|
*
|
|
1211
1230
|
* @private
|
|
1212
1231
|
* @function Highcharts.Navigator#removeEvents
|
|
1213
|
-
* @return {void}
|
|
1214
1232
|
*/
|
|
1215
1233
|
Navigator.prototype.removeEvents = function () {
|
|
1216
1234
|
if (this.eventsToUnbind) {
|
|
@@ -1226,7 +1244,6 @@ var Navigator = /** @class */ (function () {
|
|
|
1226
1244
|
*
|
|
1227
1245
|
* @private
|
|
1228
1246
|
* @function Highcharts.Navigator#removeBaseSeriesEvents
|
|
1229
|
-
* @return {void}
|
|
1230
1247
|
*/
|
|
1231
1248
|
Navigator.prototype.removeBaseSeriesEvents = function () {
|
|
1232
1249
|
var baseSeries = this.baseSeries || [];
|
|
@@ -1302,7 +1319,8 @@ var Navigator = /** @class */ (function () {
|
|
|
1302
1319
|
offset: 0,
|
|
1303
1320
|
index: yAxisIndex,
|
|
1304
1321
|
isInternal: true,
|
|
1305
|
-
reversed: pick((navigatorOptions.yAxis &&
|
|
1322
|
+
reversed: pick((navigatorOptions.yAxis &&
|
|
1323
|
+
navigatorOptions.yAxis.reversed), (chart.yAxis[0] && chart.yAxis[0].reversed), false),
|
|
1306
1324
|
zoomEnabled: false
|
|
1307
1325
|
}, chart.inverted ? {
|
|
1308
1326
|
width: height
|
|
@@ -1382,9 +1400,6 @@ var Navigator = /** @class */ (function () {
|
|
|
1382
1400
|
*
|
|
1383
1401
|
* @private
|
|
1384
1402
|
* @function Highcharts.Navigator#getUnionExtremes
|
|
1385
|
-
* @param {boolean} [returnFalseOnNoBaseSeries]
|
|
1386
|
-
* as the param says.
|
|
1387
|
-
* @return {Highcharts.Dictionary<(number|undefined)>|undefined}
|
|
1388
1403
|
*/
|
|
1389
1404
|
Navigator.prototype.getUnionExtremes = function (returnFalseOnNoBaseSeries) {
|
|
1390
1405
|
var baseAxis = this.chart.xAxis[0], navAxis = this.xAxis, navAxisOptions = navAxis.options, baseAxisOptions = baseAxis.options, ret;
|
|
@@ -1408,7 +1423,6 @@ var Navigator = /** @class */ (function () {
|
|
|
1408
1423
|
* Additional series options for a navigator
|
|
1409
1424
|
* @param {boolean} [redraw]
|
|
1410
1425
|
* Whether to redraw after update.
|
|
1411
|
-
* @return {void}
|
|
1412
1426
|
*/
|
|
1413
1427
|
Navigator.prototype.setBaseSeries = function (baseSeriesOptions, redraw) {
|
|
1414
1428
|
var chart = this.chart, baseSeries = this.baseSeries = [];
|
|
@@ -1446,7 +1460,6 @@ var Navigator = /** @class */ (function () {
|
|
|
1446
1460
|
* @function Highcharts.Navigator.updateNavigatorSeries
|
|
1447
1461
|
* @param {boolean} addEvents
|
|
1448
1462
|
* @param {boolean} [redraw]
|
|
1449
|
-
* @return {void}
|
|
1450
1463
|
*/
|
|
1451
1464
|
Navigator.prototype.updateNavigatorSeries = function (addEvents, redraw) {
|
|
1452
1465
|
var navigator = this, chart = navigator.chart, baseSeries = navigator.baseSeries, baseOptions, mergedNavSeriesOptions, chartNavigatorSeriesOptions = navigator.navigatorOptions.series, baseNavigatorOptions, navSeriesMixin = {
|
|
@@ -1579,7 +1592,6 @@ var Navigator = /** @class */ (function () {
|
|
|
1579
1592
|
*
|
|
1580
1593
|
* @private
|
|
1581
1594
|
* @function Highcharts.Navigator#addBaseSeriesEvent
|
|
1582
|
-
* @return {void}
|
|
1583
1595
|
*/
|
|
1584
1596
|
Navigator.prototype.addBaseSeriesEvents = function () {
|
|
1585
1597
|
var navigator = this, baseSeries = navigator.baseSeries || [];
|
|
@@ -1733,7 +1745,7 @@ var Navigator = /** @class */ (function () {
|
|
|
1733
1745
|
// If range declared, stick to the minimum only if the range
|
|
1734
1746
|
// is smaller than the data set range.
|
|
1735
1747
|
if (range && max - xDataMin > 0) {
|
|
1736
|
-
stickToMin = max - xDataMin < range
|
|
1748
|
+
stickToMin = max - xDataMin < range;
|
|
1737
1749
|
}
|
|
1738
1750
|
else {
|
|
1739
1751
|
// If the current axis minimum falls outside the new
|
|
@@ -1751,7 +1763,6 @@ var Navigator = /** @class */ (function () {
|
|
|
1751
1763
|
*
|
|
1752
1764
|
* @private
|
|
1753
1765
|
* @function Highcharts.Navigator#addChartEvents
|
|
1754
|
-
* @return {void}
|
|
1755
1766
|
*/
|
|
1756
1767
|
Navigator.prototype.addChartEvents = function () {
|
|
1757
1768
|
if (!this.eventsToUnbind) {
|