highcharts 9.2.0 → 9.3.1
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 +45 -0
- package/css/highcharts.scss +40 -0
- package/css/themes/dark-unica.css +45 -0
- package/css/themes/grid-light.css +45 -0
- package/css/themes/sand-signika.css +45 -0
- package/es-modules/Accessibility/A11yI18n.js +273 -224
- package/es-modules/Accessibility/Accessibility.js +237 -128
- package/es-modules/Accessibility/AccessibilityComponent.js +79 -314
- package/es-modules/Accessibility/Components/AnnotationsA11y.js +10 -0
- package/es-modules/Accessibility/Components/ContainerComponent.js +52 -27
- package/es-modules/Accessibility/Components/InfoRegionsComponent.js +173 -104
- package/es-modules/Accessibility/Components/LegendComponent.js +97 -65
- package/es-modules/Accessibility/Components/MenuComponent.js +243 -149
- package/es-modules/Accessibility/Components/RangeSelectorComponent.js +170 -88
- package/es-modules/Accessibility/Components/SeriesComponent/ForcedMarkers.js +152 -115
- package/es-modules/Accessibility/Components/SeriesComponent/NewDataAnnouncer.js +133 -68
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesComponent.js +64 -27
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +38 -21
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js +380 -325
- package/es-modules/Accessibility/Components/ZoomComponent.js +28 -20
- package/es-modules/Accessibility/FocusBorder.js +192 -147
- package/es-modules/Accessibility/HighContrastMode.js +78 -66
- package/es-modules/Accessibility/HighContrastTheme.js +10 -0
- package/es-modules/Accessibility/KeyboardNavigation.js +146 -71
- package/es-modules/Accessibility/KeyboardNavigationHandler.js +71 -44
- package/es-modules/Accessibility/Options/DeprecatedOptions.js +11 -1
- package/es-modules/Accessibility/Options/LangOptions.js +1 -2
- package/es-modules/Accessibility/Options/Options.js +32 -17
- package/es-modules/Accessibility/ProxyElement.js +212 -0
- package/es-modules/Accessibility/ProxyProvider.js +305 -0
- package/es-modules/Accessibility/Utils/Announcer.js +15 -8
- package/es-modules/Accessibility/Utils/ChartUtilities.js +41 -16
- 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 -30
- package/es-modules/Core/Axis/Axis.js +37 -30
- package/es-modules/Core/Axis/AxisDefaults.js +35 -24
- package/es-modules/Core/Axis/Color/ColorAxisComposition.js +54 -4
- package/es-modules/Core/Axis/Color/ColorAxisDefaults.js +5 -5
- package/es-modules/Core/Axis/OrdinalAxis.js +5 -13
- package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +4 -5
- package/es-modules/Core/Axis/ScrollbarAxis.js +10 -3
- package/es-modules/Core/Axis/TreeGridAxis.js +2 -2
- package/es-modules/Core/Axis/TreeGridTick.js +1 -2
- package/es-modules/Core/Chart/Chart.js +2 -3
- package/es-modules/Core/Chart/ChartDefaults.js +3 -4
- package/es-modules/Core/Chart/ChartNavigationComposition.js +92 -0
- package/es-modules/Core/Chart/MapChart.js +10 -22
- package/es-modules/Core/Chart/StockChart.js +3 -293
- package/es-modules/Core/Color/Palettes.js +22 -0
- package/es-modules/Core/DefaultOptions.js +19 -17
- package/es-modules/Core/Foundation.js +39 -31
- package/es-modules/Core/Globals.js +1 -1
- package/es-modules/Core/HttpUtilities.js +3 -3
- package/es-modules/Core/Legend/Legend.js +7 -3
- package/es-modules/Core/Navigator.js +7 -8
- package/es-modules/Core/Pointer.js +39 -36
- package/es-modules/Core/Renderer/HTML/AST.js +3 -6
- package/es-modules/Core/Renderer/HTML/HTMLElement.js +23 -18
- package/es-modules/Core/Renderer/SVG/SVGElement.js +3 -4
- package/es-modules/Core/Renderer/SVG/SVGRenderer.js +21 -18
- package/es-modules/Core/Renderer/SVG/TextBuilder.js +17 -13
- package/es-modules/Core/ScrollbarDefaults.js +10 -9
- package/es-modules/Core/Series/DataLabel.js +2 -3
- package/es-modules/Core/Series/Point.js +5 -3
- package/es-modules/Core/Series/Series.js +156 -162
- package/es-modules/Core/Series/SeriesDefaults.js +3 -4
- package/es-modules/Core/Series/SeriesRegistry.js +1 -2
- package/es-modules/Core/Tooltip.js +44 -17
- package/es-modules/Core/Utilities.js +15 -7
- package/es-modules/Data/DataConverter.js +489 -0
- package/es-modules/Data/DataPromise.js +252 -0
- package/es-modules/Data/DataSeriesConverter.js +203 -0
- package/es-modules/Data/DataTable.js +1204 -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 +399 -0
- package/es-modules/Data/Parsers/DataParser.js +101 -0
- package/es-modules/Data/Parsers/GoogleSheetsParser.js +220 -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 +167 -0
- package/es-modules/Data/Stores/HTMLTableStore.js +351 -0
- package/es-modules/Extensions/Annotations/Annotations.js +61 -11
- package/es-modules/Extensions/Annotations/ControlPoint.js +1 -1
- package/es-modules/Extensions/Annotations/Controllables/ControllableEllipse.js +199 -0
- package/es-modules/Extensions/Annotations/Mixins/ControllableMixin.js +7 -1
- package/es-modules/Extensions/Annotations/NavigationBindings.js +90 -28
- package/es-modules/Extensions/Annotations/Popup.js +479 -141
- package/es-modules/Extensions/Annotations/Types/BasicAnnotation.js +51 -2
- package/es-modules/Extensions/Annotations/Types/CrookedLine.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 +14 -8
- package/es-modules/Extensions/Annotations/Types/Pitchfork.js +5 -5
- package/es-modules/Extensions/Annotations/Types/TimeCycles.js +207 -0
- package/es-modules/Extensions/Annotations/Types/Tunnel.js +3 -5
- 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 +3 -1
- package/es-modules/Extensions/Boost/WGLShader.js +4 -3
- package/es-modules/Extensions/BoostCanvas.js +1 -2
- package/es-modules/Extensions/CurrentDateIndication.js +2 -3
- package/es-modules/Extensions/Data.js +73 -67
- package/es-modules/Extensions/DataGrouping.js +33 -18
- 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/Drilldown.js +2 -3
- package/es-modules/Extensions/Exporting/Exporting.js +12 -11
- package/es-modules/Extensions/Exporting/ExportingDefaults.js +8 -15
- package/es-modules/Extensions/GeoJSON.js +39 -63
- package/es-modules/Extensions/MarkerClusters.js +115 -97
- package/es-modules/Extensions/NoDataToDisplay.js +1 -2
- package/es-modules/Extensions/OfflineExporting/OfflineExporting.js +10 -9
- package/es-modules/Extensions/OfflineExporting/OfflineExportingDefaults.js +1 -1
- package/es-modules/Extensions/Oldie/Oldie.js +2 -3
- package/es-modules/Extensions/Pane.js +5 -6
- package/es-modules/Extensions/Polar.js +1 -1
- package/es-modules/Extensions/RangeSelector.js +3 -4
- package/es-modules/Extensions/Sonification/ChartSonify.js +247 -637
- package/es-modules/Extensions/Sonification/Earcon.js +136 -102
- package/es-modules/Extensions/Sonification/Instrument.js +496 -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 +203 -152
- package/es-modules/Extensions/Sonification/SeriesSonify.js +459 -0
- package/es-modules/Extensions/Sonification/SignalHandler.js +124 -0
- package/es-modules/Extensions/Sonification/Sonification.js +26 -52
- package/es-modules/Extensions/Sonification/{Utilities.js → SonificationUtilities.js} +62 -84
- package/es-modules/Extensions/Sonification/Timeline.js +255 -567
- package/es-modules/Extensions/Sonification/TimelineEvent.js +158 -0
- package/es-modules/Extensions/Sonification/TimelinePath.js +311 -0
- package/es-modules/Maps/MapNavigation.js +27 -64
- package/es-modules/Maps/MapNavigationOptionsDefault.js +3 -0
- package/es-modules/Maps/MapPointer.js +7 -5
- 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/AreaRange/AreaRangeSeries.js +4 -5
- package/es-modules/Series/Bellcurve/BellcurveSeries.js +2 -8
- 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 +3 -3
- 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 -18
- package/es-modules/{Mixins/CenteredSeries.js → Series/CenteredUtilities.js} +45 -23
- package/es-modules/Series/ColorMapComposition.js +109 -0
- package/es-modules/Series/Column/ColumnDataLabel.js +5 -5
- package/es-modules/Series/Column/ColumnSeries.js +3 -4
- package/es-modules/Series/ColumnPyramid/ColumnPyramidSeries.js +6 -6
- package/es-modules/Series/DataModifyComposition.js +539 -0
- package/es-modules/Series/DependencyWheel/DependencyWheelPoint.js +2 -6
- package/es-modules/Series/DerivedComposition.js +137 -0
- package/es-modules/Series/DrawPointComposition.js +111 -0
- package/es-modules/Series/Dumbbell/DumbbellSeries.js +2 -3
- package/es-modules/Series/ErrorBar/ErrorBarSeries.js +1 -2
- package/es-modules/Series/Flags/FlagsSeries.js +18 -25
- package/es-modules/Series/Funnel/FunnelSeries.js +6 -5
- package/es-modules/Series/Gantt/GanttSeries.js +0 -2
- 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 +383 -0
- package/es-modules/Series/Heatmap/HeatmapPoint.js +3 -4
- package/es-modules/Series/Heatmap/HeatmapSeries.js +19 -6
- package/es-modules/Series/HeikinAshi/HeikinAshiSeries.js +2 -3
- package/es-modules/Series/Histogram/HistogramSeries.js +3 -7
- package/es-modules/Series/HollowCandlestick/HollowCandlestickPoint.js +2 -2
- package/es-modules/Series/HollowCandlestick/HollowCandlestickSeries.js +33 -34
- package/es-modules/Series/Line/LineSeries.js +1 -2
- package/es-modules/Series/Map/MapPoint.js +23 -16
- package/es-modules/Series/Map/MapSeries.js +271 -309
- 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 -0
- package/es-modules/Series/MapPoint/MapPointPoint.js +5 -1
- package/es-modules/Series/MapPoint/MapPointSeries.js +99 -14
- package/es-modules/Series/Networkgraph/Networkgraph.js +5 -5
- package/es-modules/{Mixins/Nodes.js → Series/NodesComposition.js} +76 -29
- package/es-modules/Series/OHLC/OHLCPoint.js +2 -6
- 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 +2 -3
- package/es-modules/Series/PackedBubble/PackedBubbleSeries.js +46 -6
- package/es-modules/Series/ParetoSeries/ParetoSeries.js +3 -7
- package/es-modules/Series/Pie/PieDataLabel.js +1 -2
- package/es-modules/Series/Pie/PieSeries.js +6 -7
- package/es-modules/Series/Sankey/SankeyPoint.js +0 -4
- package/es-modules/Series/Sankey/SankeySeries.js +89 -20
- package/es-modules/Series/Sunburst/SunburstPoint.js +2 -3
- package/es-modules/Series/Sunburst/SunburstSeries.js +4 -4
- package/es-modules/Series/Tilemap/TilemapPoint.js +2 -3
- package/es-modules/Series/Timeline/TimelineSeries.js +3 -4
- package/es-modules/{Mixins/TreeSeries.js → Series/TreeUtilities.js} +86 -76
- package/es-modules/Series/Treemap/TreemapPoint.js +2 -2
- package/es-modules/Series/Treemap/TreemapSeries.js +8 -8
- package/es-modules/Series/Venn/VennPoint.js +16 -7
- package/es-modules/Series/Venn/VennSeries.js +5 -8
- package/es-modules/Series/Venn/VennUtils.js +550 -439
- package/es-modules/Series/Waterfall/WaterfallSeries.js +2 -3
- 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 +24 -20
- package/es-modules/Series/Wordcloud/WordcloudUtils.js +673 -484
- package/es-modules/Series/XRange/XRangePoint.js +1 -0
- package/es-modules/Stock/Indicators/ABands/ABandsIndicator.js +3 -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 +3 -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 +27 -11
- 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 +19 -11
- package/es-modules/Stock/Indicators/DisparityIndex/DisparityIndexIndicator.js +17 -11
- package/es-modules/Stock/Indicators/EMA/EMAIndicator.js +1 -3
- package/es-modules/Stock/Indicators/KeltnerChannels/KeltnerChannelsIndicator.js +11 -9
- package/es-modules/Stock/Indicators/Klinger/KlingerIndicator.js +8 -16
- package/es-modules/Stock/Indicators/LinearRegression/LinearRegression.js +2 -2
- 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 +1 -2
- package/es-modules/{Mixins/MultipleLines.js → Stock/Indicators/MultipleLinesComposition.js} +136 -87
- package/es-modules/Stock/Indicators/NATR/NATRIndicator.js +1 -3
- package/es-modules/Stock/Indicators/PC/PCIndicator.js +14 -13
- package/es-modules/Stock/Indicators/PPO/PPOIndicator.js +1 -11
- package/es-modules/Stock/Indicators/SMA/SMAComposition.js +0 -26
- package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +32 -49
- package/es-modules/Stock/Indicators/SlowStochastic/SlowStochasticIndicator.js +0 -8
- package/es-modules/Stock/Indicators/Stochastic/StochasticIndicator.js +15 -8
- 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 +23 -7
- package/es-modules/Stock/Indicators/WilliamsR/WilliamsRIndicator.js +2 -3
- package/es-modules/Stock/StockToolsBindings.js +144 -42
- package/es-modules/Stock/StockToolsGui.js +409 -15
- 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/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.src.js +1 -1
- package/highcharts-gantt.js +799 -801
- package/highcharts-gantt.js.map +1 -1
- package/highcharts-gantt.src.js +793 -755
- package/highcharts-more.js +194 -193
- package/highcharts-more.js.map +1 -1
- package/highcharts-more.src.js +208 -120
- package/highcharts.d.ts +9814 -4231
- package/highcharts.js +585 -587
- package/highcharts.js.map +1 -1
- package/highcharts.src.d.ts +9814 -4231
- package/highcharts.src.js +626 -603
- package/highmaps.js +728 -707
- package/highmaps.js.map +1 -1
- package/highmaps.src.js +2824 -1613
- package/highstock.js +788 -782
- package/highstock.js.map +1 -1
- package/highstock.src.js +1913 -1284
- package/indicators/acceleration-bands.js +10 -9
- package/indicators/acceleration-bands.js.map +1 -1
- package/indicators/acceleration-bands.src.js +156 -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.js +9 -9
- package/indicators/aroon-oscillator.js.map +1 -1
- package/indicators/aroon-oscillator.src.js +160 -177
- package/indicators/aroon.js +9 -9
- package/indicators/aroon.js.map +1 -1
- package/indicators/aroon.src.js +156 -112
- package/indicators/atr.js +1 -1
- package/indicators/atr.src.js +1 -1
- package/indicators/bollinger-bands.js +10 -9
- package/indicators/bollinger-bands.js.map +1 -1
- package/indicators/bollinger-bands.src.js +180 -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.src.js +1 -1
- 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 +19 -74
- package/indicators/dmi.js +11 -11
- package/indicators/dmi.js.map +1 -1
- package/indicators/dmi.src.js +173 -116
- 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.src.js +1 -1
- package/indicators/indicators-all.js +197 -203
- package/indicators/indicators-all.js.map +1 -1
- package/indicators/indicators-all.src.js +677 -743
- package/indicators/indicators.js +12 -12
- package/indicators/indicators.js.map +1 -1
- package/indicators/indicators.src.js +213 -143
- package/indicators/keltner-channels.js +10 -10
- package/indicators/keltner-channels.js.map +1 -1
- package/indicators/keltner-channels.src.js +164 -118
- package/indicators/klinger.js +12 -13
- package/indicators/klinger.js.map +1 -1
- package/indicators/klinger.src.js +161 -184
- package/indicators/macd.js +2 -2
- package/indicators/macd.js.map +1 -1
- package/indicators/macd.src.js +2 -3
- 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.src.js +1 -1
- package/indicators/ppo.js +5 -6
- package/indicators/ppo.js.map +1 -1
- package/indicators/ppo.src.js +3 -75
- package/indicators/price-channel.js +9 -9
- package/indicators/price-channel.js.map +1 -1
- package/indicators/price-channel.src.js +207 -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.src.js +9 -9
- package/indicators/roc.js +1 -1
- package/indicators/roc.src.js +1 -1
- package/indicators/rsi.js +1 -1
- package/indicators/rsi.src.js +1 -1
- 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.js +10 -10
- package/indicators/stochastic.js.map +1 -1
- package/indicators/stochastic.src.js +209 -164
- 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 +24 -7
- package/indicators/vwap.js +1 -1
- package/indicators/vwap.src.js +1 -1
- 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 +5 -0
- package/modules/accessibility.js +237 -216
- package/modules/accessibility.js.map +1 -1
- package/modules/accessibility.src.d.ts +5 -0
- package/modules/accessibility.src.js +7400 -6078
- 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 +1604 -332
- package/modules/annotations.js +121 -106
- package/modules/annotations.js.map +1 -1
- package/modules/annotations.src.js +981 -238
- 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 +10 -9
- package/modules/broken-axis.js +1 -1
- package/modules/broken-axis.src.js +1 -1
- 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 +69 -98
- 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.src.js +1 -1
- package/modules/data.js +32 -32
- package/modules/data.js.map +1 -1
- package/modules/data.src.js +85 -88
- package/modules/datagrouping.js +20 -20
- package/modules/datagrouping.js.map +1 -1
- package/modules/datagrouping.src.js +35 -19
- 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 +4 -7
- 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.src.js +1 -1
- package/modules/drilldown.js +24 -24
- package/modules/drilldown.js.map +1 -1
- package/modules/drilldown.src.js +4 -4
- package/modules/dumbbell.js +17 -17
- package/modules/dumbbell.js.map +1 -1
- package/modules/dumbbell.src.js +4 -4
- package/modules/export-data.js +1 -1
- package/modules/export-data.js.map +1 -1
- package/modules/export-data.src.js +3 -3
- package/modules/exporting.js +39 -38
- package/modules/exporting.js.map +1 -1
- package/modules/exporting.src.js +102 -72
- package/modules/full-screen.js +1 -1
- package/modules/full-screen.src.js +1 -1
- 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.src.js +1 -1
- package/modules/gantt.js +217 -218
- package/modules/gantt.js.map +1 -1
- package/modules/gantt.src.js +167 -152
- package/modules/grid-axis.js +1 -1
- package/modules/grid-axis.src.js +1 -1
- package/modules/heatmap.js +39 -39
- package/modules/heatmap.js.map +1 -1
- package/modules/heatmap.src.js +177 -162
- package/modules/heikinashi.js +1 -1
- package/modules/heikinashi.src.js +4 -4
- package/modules/histogram-bellcurve.js +13 -13
- package/modules/histogram-bellcurve.js.map +1 -1
- package/modules/histogram-bellcurve.src.js +91 -86
- package/modules/hollowcandlestick.js +9 -9
- package/modules/hollowcandlestick.js.map +1 -1
- package/modules/hollowcandlestick.src.js +37 -37
- package/modules/item-series.js +1 -1
- package/modules/item-series.src.js +1 -1
- package/modules/lollipop.js +1 -1
- package/modules/lollipop.src.js +1 -1
- package/modules/map.d.ts +136 -14
- package/modules/map.js +144 -122
- package/modules/map.js.map +1 -1
- package/modules/map.src.d.ts +136 -14
- package/modules/map.src.js +2227 -1039
- package/modules/marker-clusters.js +36 -36
- package/modules/marker-clusters.js.map +1 -1
- package/modules/marker-clusters.src.js +173 -142
- 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 +91 -43
- 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 +14 -14
- 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 +4 -4
- package/modules/organization.js +13 -13
- package/modules/organization.js.map +1 -1
- package/modules/organization.src.js +4 -4
- package/modules/overlapping-datalabels.js +1 -1
- package/modules/overlapping-datalabels.src.js +1 -1
- package/modules/parallel-coordinates.js +1 -1
- package/modules/parallel-coordinates.src.js +1 -1
- package/modules/pareto.js +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.src.js +1 -1
- package/modules/pattern-fill.js +1 -1
- package/modules/pattern-fill.src.js +1 -1
- package/modules/price-indicator.js +1 -1
- package/modules/price-indicator.src.js +1 -1
- package/modules/pyramid3d.js +1 -1
- package/modules/pyramid3d.src.js +1 -1
- 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 +300 -176
- package/modules/series-label.js +1 -1
- package/modules/series-label.src.js +1 -1
- package/modules/solid-gauge.js +1 -1
- package/modules/solid-gauge.src.js +1 -1
- package/modules/sonification.js +59 -55
- package/modules/sonification.js.map +1 -1
- package/modules/sonification.src.js +3034 -2553
- 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 +1028 -144
- 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 +1667 -1061
- package/modules/streamgraph.js +1 -1
- package/modules/streamgraph.src.js +1 -1
- package/modules/sunburst.js +61 -60
- package/modules/sunburst.js.map +1 -1
- package/modules/sunburst.src.js +329 -266
- package/modules/tilemap.js +17 -17
- package/modules/tilemap.js.map +1 -1
- package/modules/tilemap.src.js +3 -4
- 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 +126 -120
- package/modules/treemap.js +41 -41
- package/modules/treemap.js.map +1 -1
- package/modules/treemap.src.js +319 -254
- package/modules/variable-pie.js +1 -1
- package/modules/variable-pie.src.js +1 -1
- package/modules/variwide.js +1 -1
- package/modules/variwide.src.js +1 -1
- 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 +731 -721
- 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 +897 -949
- package/modules/xrange.js +2 -2
- package/modules/xrange.js.map +1 -1
- package/modules/xrange.src.js +2 -1
- package/package.json +1 -1
- package/themes/avocado.js +1 -1
- package/themes/avocado.src.js +1 -1
- 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.src.js +1 -1
- package/themes/gray.js +1 -1
- package/themes/gray.src.js +1 -1
- package/themes/grid-light.js +1 -1
- package/themes/grid-light.src.js +1 -1
- package/themes/grid.js +1 -1
- package/themes/grid.src.js +1 -1
- package/themes/high-contrast-dark.js +1 -1
- package/themes/high-contrast-dark.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/ColorMapSeries.js +0 -82
- 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/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
|
@@ -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
|
}
|
|
@@ -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
|
|
@@ -1733,7 +1732,7 @@ var Navigator = /** @class */ (function () {
|
|
|
1733
1732
|
// If range declared, stick to the minimum only if the range
|
|
1734
1733
|
// is smaller than the data set range.
|
|
1735
1734
|
if (range && max - xDataMin > 0) {
|
|
1736
|
-
stickToMin = max - xDataMin < range
|
|
1735
|
+
stickToMin = max - xDataMin < range;
|
|
1737
1736
|
}
|
|
1738
1737
|
else {
|
|
1739
1738
|
// If the current axis minimum falls outside the new
|
|
@@ -12,7 +12,6 @@ import Color from './Color/Color.js';
|
|
|
12
12
|
var color = Color.parse;
|
|
13
13
|
import H from './Globals.js';
|
|
14
14
|
var charts = H.charts, noop = H.noop;
|
|
15
|
-
import Palette from '../Core/Color/Palette.js';
|
|
16
15
|
import Tooltip from './Tooltip.js';
|
|
17
16
|
import U from './Utilities.js';
|
|
18
17
|
var addEvent = U.addEvent, attr = U.attr, css = U.css, defined = U.defined, extend = U.extend, find = U.find, fireEvent = U.fireEvent, isNumber = U.isNumber, isObject = U.isObject, objectEach = U.objectEach, offset = U.offset, pick = U.pick, splat = U.splat;
|
|
@@ -163,7 +162,7 @@ var Pointer = /** @class */ (function () {
|
|
|
163
162
|
visiblePlotOnly: true
|
|
164
163
|
});
|
|
165
164
|
// make a selection
|
|
166
|
-
if (chart.hasCartesianSeries &&
|
|
165
|
+
if ((chart.hasCartesianSeries || chart.mapView) &&
|
|
167
166
|
(this.zoomX || this.zoomY) &&
|
|
168
167
|
clickedInside &&
|
|
169
168
|
!panKey) {
|
|
@@ -178,7 +177,7 @@ var Pointer = /** @class */ (function () {
|
|
|
178
177
|
if (!chart.styledMode) {
|
|
179
178
|
selectionMarker.attr({
|
|
180
179
|
fill: (chartOptions.selectionMarkerFill ||
|
|
181
|
-
color(
|
|
180
|
+
color("#335cad" /* highlightColor80 */)
|
|
182
181
|
.setOpacity(0.25).get())
|
|
183
182
|
});
|
|
184
183
|
}
|
|
@@ -229,20 +228,22 @@ var Pointer = /** @class */ (function () {
|
|
|
229
228
|
Pointer.prototype.drop = function (e) {
|
|
230
229
|
var pointer = this, chart = this.chart, hasPinched = this.hasPinched;
|
|
231
230
|
if (this.selectionMarker) {
|
|
232
|
-
var
|
|
233
|
-
originalEvent: e,
|
|
234
|
-
xAxis: [],
|
|
235
|
-
yAxis: []
|
|
236
|
-
}, selectionBox = this.selectionMarker, selectionLeft_1 = selectionBox.attr ?
|
|
237
|
-
selectionBox.attr('x') :
|
|
238
|
-
selectionBox.x, selectionTop_1 = selectionBox.attr ?
|
|
239
|
-
selectionBox.attr('y') :
|
|
240
|
-
selectionBox.y, selectionWidth_1 = selectionBox.attr ?
|
|
231
|
+
var selectionBox = this.selectionMarker, x_1 = selectionBox.attr ? selectionBox.attr('x') : selectionBox.x, y_1 = selectionBox.attr ? selectionBox.attr('y') : selectionBox.y, width_1 = selectionBox.attr ?
|
|
241
232
|
selectionBox.attr('width') :
|
|
242
|
-
selectionBox.width,
|
|
233
|
+
selectionBox.width, height_1 = selectionBox.attr ?
|
|
243
234
|
selectionBox.attr('height') :
|
|
244
|
-
selectionBox.height
|
|
245
|
-
|
|
235
|
+
selectionBox.height, selectionData_1 = {
|
|
236
|
+
originalEvent: e,
|
|
237
|
+
xAxis: [],
|
|
238
|
+
yAxis: [],
|
|
239
|
+
x: x_1,
|
|
240
|
+
y: y_1,
|
|
241
|
+
width: width_1,
|
|
242
|
+
height: height_1
|
|
243
|
+
},
|
|
244
|
+
// Start by false runZoom, unless when we have a mapView, in
|
|
245
|
+
// which case the zoom will be handled in the selection event.
|
|
246
|
+
runZoom_1 = Boolean(chart.mapView);
|
|
246
247
|
// a selection has been made
|
|
247
248
|
if (this.hasDragged || hasPinched) {
|
|
248
249
|
// record each axis' min and max
|
|
@@ -254,15 +255,13 @@ var Pointer = /** @class */ (function () {
|
|
|
254
255
|
xAxis: 'zoomX',
|
|
255
256
|
yAxis: 'zoomY'
|
|
256
257
|
}[axis.coll]]) &&
|
|
257
|
-
isNumber(
|
|
258
|
-
isNumber(
|
|
258
|
+
isNumber(x_1) &&
|
|
259
|
+
isNumber(y_1)) { // #859, #3569
|
|
259
260
|
var horiz = axis.horiz, minPixelPadding = e.type === 'touchend' ?
|
|
260
261
|
axis.minPixelPadding :
|
|
261
262
|
0, // #1207, #3075
|
|
262
|
-
selectionMin = axis.toValue((horiz ?
|
|
263
|
-
minPixelPadding)
|
|
264
|
-
selectionLeft_1 + selectionWidth_1 :
|
|
265
|
-
selectionTop_1 + selectionHeight_1) - minPixelPadding);
|
|
263
|
+
selectionMin = axis.toValue((horiz ? x_1 : y_1) + minPixelPadding), selectionMax = axis.toValue((horiz ? x_1 + width_1 : y_1 + height_1) -
|
|
264
|
+
minPixelPadding);
|
|
266
265
|
selectionData_1[axis.coll].push({
|
|
267
266
|
axis: axis,
|
|
268
267
|
// Min/max for reversed axes
|
|
@@ -939,20 +938,22 @@ var Pointer = /** @class */ (function () {
|
|
|
939
938
|
}
|
|
940
939
|
else if (pinchDown.length) { // can be 0 when releasing, if touchend
|
|
941
940
|
// fires first
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
941
|
+
fireEvent(chart, 'touchpan', { originalEvent: e }, function () {
|
|
942
|
+
// Set the marker
|
|
943
|
+
if (!selectionMarker) {
|
|
944
|
+
// @todo It's a mock object, so maybe we need a separate
|
|
945
|
+
// interface
|
|
946
|
+
self.selectionMarker = selectionMarker = extend({
|
|
947
|
+
destroy: noop,
|
|
948
|
+
touch: true
|
|
949
|
+
}, chart.plotBox);
|
|
950
|
+
}
|
|
951
|
+
self.pinchTranslate(pinchDown, touches, transform, selectionMarker, clip, lastValidTouch);
|
|
952
|
+
self.hasPinched = hasZoom;
|
|
953
|
+
// Scale and translate the groups to provide visual feedback
|
|
954
|
+
// during pinching
|
|
955
|
+
self.scaleGroups(transform, clip);
|
|
956
|
+
});
|
|
956
957
|
if (self.res) {
|
|
957
958
|
self.res = false;
|
|
958
959
|
this.reset(false, 0);
|
|
@@ -1252,7 +1253,9 @@ var Pointer = /** @class */ (function () {
|
|
|
1252
1253
|
// Scale each series
|
|
1253
1254
|
chart.series.forEach(function (series) {
|
|
1254
1255
|
var seriesAttribs = attribs || series.getPlotBox(); // #1701
|
|
1255
|
-
if (series.
|
|
1256
|
+
if (series.group &&
|
|
1257
|
+
((series.xAxis && series.xAxis.zoomEnabled) ||
|
|
1258
|
+
chart.mapView)) {
|
|
1256
1259
|
series.group.attr(seriesAttribs);
|
|
1257
1260
|
if (series.markerGroup) {
|
|
1258
1261
|
series.markerGroup.attr(seriesAttribs);
|
|
@@ -216,12 +216,7 @@ var AST = /** @class */ (function () {
|
|
|
216
216
|
tagName: tagName
|
|
217
217
|
};
|
|
218
218
|
if (tagName === '#text') {
|
|
219
|
-
|
|
220
|
-
// Leading whitespace text node, don't append it to the AST
|
|
221
|
-
if (nodes.length === 0 && /^[\s]*$/.test(textContent)) {
|
|
222
|
-
return;
|
|
223
|
-
}
|
|
224
|
-
astNode.textContent = textContent;
|
|
219
|
+
astNode.textContent = node.textContent || '';
|
|
225
220
|
}
|
|
226
221
|
var parsedAttributes = node.attributes;
|
|
227
222
|
// Add attributes
|
|
@@ -326,6 +321,7 @@ var AST = /** @class */ (function () {
|
|
|
326
321
|
'text-align',
|
|
327
322
|
'textAnchor',
|
|
328
323
|
'textLength',
|
|
324
|
+
'title',
|
|
329
325
|
'type',
|
|
330
326
|
'valign',
|
|
331
327
|
'width',
|
|
@@ -371,6 +367,7 @@ var AST = /** @class */ (function () {
|
|
|
371
367
|
*/
|
|
372
368
|
AST.allowedTags = [
|
|
373
369
|
'a',
|
|
370
|
+
'abbr',
|
|
374
371
|
'b',
|
|
375
372
|
'br',
|
|
376
373
|
'button',
|
|
@@ -129,6 +129,9 @@ var HTMLElement = /** @class */ (function (_super) {
|
|
|
129
129
|
}[align], styles = wrapper.styles, whiteSpace = styles && styles.whiteSpace;
|
|
130
130
|
/** @private */
|
|
131
131
|
function getTextPxLength() {
|
|
132
|
+
if (wrapper.textPxLength) {
|
|
133
|
+
return wrapper.textPxLength;
|
|
134
|
+
}
|
|
132
135
|
// Reset multiline/ellipsis in order to read width (#4928,
|
|
133
136
|
// #5417)
|
|
134
137
|
css(elem, {
|
|
@@ -164,29 +167,31 @@ var HTMLElement = /** @class */ (function (_super) {
|
|
|
164
167
|
wrapper.textWidth,
|
|
165
168
|
wrapper.textAlign
|
|
166
169
|
].join(',');
|
|
167
|
-
var baseline = void 0;
|
|
170
|
+
var baseline = void 0, hasBoxWidthChanged = false;
|
|
168
171
|
// Update textWidth. Use the memoized textPxLength if possible, to
|
|
169
172
|
// avoid the getTextPxLength function using elem.offsetWidth.
|
|
170
173
|
// Calling offsetWidth affects rendering time as it forces layout
|
|
171
174
|
// (#7656).
|
|
172
|
-
if (textWidth !== wrapper.oldTextWidth
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
elem.
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
175
|
+
if (textWidth !== wrapper.oldTextWidth) { // #983, #1254
|
|
176
|
+
var textPxLength = getTextPxLength();
|
|
177
|
+
if (((textWidth > wrapper.oldTextWidth) ||
|
|
178
|
+
textPxLength > textWidth) && (
|
|
179
|
+
// Only set the width if the text is able to word-wrap,
|
|
180
|
+
// or text-overflow is ellipsis (#9537)
|
|
181
|
+
/[ \-]/.test(elem.textContent || elem.innerText) ||
|
|
182
|
+
elem.style.textOverflow === 'ellipsis')) {
|
|
183
|
+
css(elem, {
|
|
184
|
+
width: (textPxLength > textWidth) || rotation ?
|
|
185
|
+
textWidth + 'px' :
|
|
186
|
+
'auto',
|
|
187
|
+
display: 'block',
|
|
188
|
+
whiteSpace: whiteSpace || 'normal' // #3331
|
|
189
|
+
});
|
|
190
|
+
wrapper.oldTextWidth = textWidth;
|
|
191
|
+
hasBoxWidthChanged = true; // #8159
|
|
192
|
+
}
|
|
189
193
|
}
|
|
194
|
+
wrapper.hasBoxWidthChanged = hasBoxWidthChanged; // #8159
|
|
190
195
|
// Do the calculations and DOM access only if properties changed
|
|
191
196
|
if (currentTextTransform !== wrapper.cTT) {
|
|
192
197
|
baseline = renderer.fontMetrics(elem.style.fontSize, elem).b;
|
|
@@ -14,7 +14,6 @@ import AST from '../HTML/AST.js';
|
|
|
14
14
|
import Color from '../../Color/Color.js';
|
|
15
15
|
import H from '../../Globals.js';
|
|
16
16
|
var deg2rad = H.deg2rad, doc = H.doc, noop = H.noop, svg = H.svg, SVG_NS = H.SVG_NS, win = H.win;
|
|
17
|
-
import Palette from '../../Color/Palette.js';
|
|
18
17
|
import U from '../../Utilities.js';
|
|
19
18
|
var addEvent = U.addEvent, attr = U.attr, createElement = U.createElement, css = U.css, defined = U.defined, erase = U.erase, extend = U.extend, fireEvent = U.fireEvent, isArray = U.isArray, isFunction = U.isFunction, isNumber = U.isNumber, isString = U.isString, merge = U.merge, objectEach = U.objectEach, pick = U.pick, pInt = U.pInt, syncTimeout = U.syncTimeout, uniqueKey = U.uniqueKey;
|
|
20
19
|
/* *
|
|
@@ -1459,7 +1458,7 @@ var SVGElement = /** @class */ (function () {
|
|
|
1459
1458
|
var childNodes = [].slice.call(textNode.childNodes);
|
|
1460
1459
|
for (var i = 0; i < childNodes.length; i++) {
|
|
1461
1460
|
var childNode = childNodes[i];
|
|
1462
|
-
if (childNode.nodeType === Node.TEXT_NODE ||
|
|
1461
|
+
if (childNode.nodeType === win.Node.TEXT_NODE ||
|
|
1463
1462
|
childNode.nodeName === 'tspan') {
|
|
1464
1463
|
textPathElement.appendChild(childNode);
|
|
1465
1464
|
}
|
|
@@ -1551,7 +1550,7 @@ var SVGElement = /** @class */ (function () {
|
|
|
1551
1550
|
*/
|
|
1552
1551
|
SVGElement.prototype.shadow = function (shadowOptions, group, cutOff) {
|
|
1553
1552
|
var shadows = [], element = this.element, oldShadowOptions = this.oldShadowOptions, defaultShadowOptions = {
|
|
1554
|
-
color:
|
|
1553
|
+
color: "#000000" /* neutralColor100 */,
|
|
1555
1554
|
offsetX: this.parentInverted ? -1 : 1,
|
|
1556
1555
|
offsetY: this.parentInverted ? -1 : 1,
|
|
1557
1556
|
opacity: 0.15,
|
|
@@ -1594,7 +1593,7 @@ var SVGElement = /** @class */ (function () {
|
|
|
1594
1593
|
strokeWidth = (options.width * 2) + 1 - (2 * i);
|
|
1595
1594
|
attr(shadow, {
|
|
1596
1595
|
stroke: (shadowOptions.color ||
|
|
1597
|
-
|
|
1596
|
+
"#000000" /* neutralColor100 */),
|
|
1598
1597
|
'stroke-opacity': shadowElementOpacity * i,
|
|
1599
1598
|
'stroke-width': strokeWidth,
|
|
1600
1599
|
transform: transform,
|
|
@@ -12,7 +12,6 @@ import AST from '../HTML/AST.js';
|
|
|
12
12
|
import Color from '../../Color/Color.js';
|
|
13
13
|
import H from '../../Globals.js';
|
|
14
14
|
var charts = H.charts, deg2rad = H.deg2rad, doc = H.doc, isFirefox = H.isFirefox, isMS = H.isMS, isWebKit = H.isWebKit, noop = H.noop, SVG_NS = H.SVG_NS, symbolSizes = H.symbolSizes, win = H.win;
|
|
15
|
-
import Palette from '../../Color/Palette.js';
|
|
16
15
|
import RendererRegistry from '../RendererRegistry.js';
|
|
17
16
|
import SVGElement from './SVGElement.js';
|
|
18
17
|
import SVGLabel from './SVGLabel.js';
|
|
@@ -194,7 +193,7 @@ var SVGRenderer = /** @class */ (function () {
|
|
|
194
193
|
this.url = this.getReferenceURL();
|
|
195
194
|
// Add description
|
|
196
195
|
var desc = this.createElement('desc').add();
|
|
197
|
-
desc.element.appendChild(doc.createTextNode('Created with Highcharts 9.
|
|
196
|
+
desc.element.appendChild(doc.createTextNode('Created with Highcharts 9.3.1'));
|
|
198
197
|
renderer.defs = this.createElement('defs').add();
|
|
199
198
|
renderer.allowHTML = allowHTML;
|
|
200
199
|
renderer.forExport = forExport;
|
|
@@ -533,11 +532,11 @@ var SVGRenderer = /** @class */ (function () {
|
|
|
533
532
|
if (!styledMode) {
|
|
534
533
|
// Normal state - prepare the attributes
|
|
535
534
|
normalState = merge({
|
|
536
|
-
fill:
|
|
537
|
-
stroke:
|
|
535
|
+
fill: "#f7f7f7" /* neutralColor3 */,
|
|
536
|
+
stroke: "#cccccc" /* neutralColor20 */,
|
|
538
537
|
'stroke-width': 1,
|
|
539
538
|
style: {
|
|
540
|
-
color:
|
|
539
|
+
color: "#333333" /* neutralColor80 */,
|
|
541
540
|
cursor: 'pointer',
|
|
542
541
|
fontWeight: 'normal'
|
|
543
542
|
}
|
|
@@ -548,15 +547,15 @@ var SVGRenderer = /** @class */ (function () {
|
|
|
548
547
|
delete normalState.style;
|
|
549
548
|
// Hover state
|
|
550
549
|
hoverState = merge(normalState, {
|
|
551
|
-
fill:
|
|
550
|
+
fill: "#e6e6e6" /* neutralColor10 */
|
|
552
551
|
}, AST.filterUserAttributes(hoverState || {}));
|
|
553
552
|
hoverStyle = hoverState.style;
|
|
554
553
|
delete hoverState.style;
|
|
555
554
|
// Pressed state
|
|
556
555
|
pressedState = merge(normalState, {
|
|
557
|
-
fill:
|
|
556
|
+
fill: "#e6ebf5" /* highlightColor10 */,
|
|
558
557
|
style: {
|
|
559
|
-
color:
|
|
558
|
+
color: "#000000" /* neutralColor100 */,
|
|
560
559
|
fontWeight: 'bold'
|
|
561
560
|
}
|
|
562
561
|
}, AST.filterUserAttributes(pressedState || {}));
|
|
@@ -565,7 +564,7 @@ var SVGRenderer = /** @class */ (function () {
|
|
|
565
564
|
// Disabled state
|
|
566
565
|
disabledState = merge(normalState, {
|
|
567
566
|
style: {
|
|
568
|
-
color:
|
|
567
|
+
color: "#cccccc" /* neutralColor20 */
|
|
569
568
|
}
|
|
570
569
|
}, AST.filterUserAttributes(disabledState || {}));
|
|
571
570
|
disabledStyle = disabledState.style;
|
|
@@ -980,14 +979,18 @@ var SVGRenderer = /** @class */ (function () {
|
|
|
980
979
|
el.setAttribute('hc-svg-href', src);
|
|
981
980
|
}
|
|
982
981
|
};
|
|
983
|
-
//
|
|
984
|
-
if (
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
982
|
+
// Optional properties (#11756)
|
|
983
|
+
if (isNumber(x)) {
|
|
984
|
+
attribs.x = x;
|
|
985
|
+
}
|
|
986
|
+
if (isNumber(y)) {
|
|
987
|
+
attribs.y = y;
|
|
988
|
+
}
|
|
989
|
+
if (isNumber(width)) {
|
|
990
|
+
attribs.width = width;
|
|
991
|
+
}
|
|
992
|
+
if (isNumber(height)) {
|
|
993
|
+
attribs.height = height;
|
|
991
994
|
}
|
|
992
995
|
var elemWrapper = this.createElement('image').attr(attribs), onDummyLoad = function (e) {
|
|
993
996
|
setSVGImageSource(elemWrapper.element, src);
|
|
@@ -1782,7 +1785,7 @@ export default SVGRenderer;
|
|
|
1782
1785
|
* The shadow color.
|
|
1783
1786
|
* @name Highcharts.ShadowOptionsObject#color
|
|
1784
1787
|
* @type {Highcharts.ColorString|undefined}
|
|
1785
|
-
* @default
|
|
1788
|
+
* @default #000000
|
|
1786
1789
|
*/ /**
|
|
1787
1790
|
* The horizontal offset from the element.
|
|
1788
1791
|
*
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
'use strict';
|
|
11
11
|
import AST from '../HTML/AST.js';
|
|
12
12
|
import H from '../../Globals.js';
|
|
13
|
-
var doc = H.doc, SVG_NS = H.SVG_NS;
|
|
13
|
+
var doc = H.doc, SVG_NS = H.SVG_NS, win = H.win;
|
|
14
14
|
import U from '../../Utilities.js';
|
|
15
15
|
var attr = U.attr, isString = U.isString, objectEach = U.objectEach, pick = U.pick;
|
|
16
16
|
/* *
|
|
@@ -119,6 +119,20 @@ var TextBuilder = /** @class */ (function () {
|
|
|
119
119
|
var wrapper = this.svgElement;
|
|
120
120
|
var x = attr(wrapper.element, 'x');
|
|
121
121
|
wrapper.firstLineMetrics = void 0;
|
|
122
|
+
// Remove empty tspans (including breaks) from the beginning because
|
|
123
|
+
// SVG's getBBox doesn't count empty lines. The use case is tooltip
|
|
124
|
+
// where the header is empty. By doing this in the DOM rather than in
|
|
125
|
+
// the AST, we can inspect the textContent directly and don't have to
|
|
126
|
+
// recurse down to look for valid content.
|
|
127
|
+
var firstChild;
|
|
128
|
+
while ((firstChild = wrapper.element.firstChild)) {
|
|
129
|
+
if (/^[\s\u200B]*$/.test(firstChild.textContent || ' ')) {
|
|
130
|
+
wrapper.element.removeChild(firstChild);
|
|
131
|
+
}
|
|
132
|
+
else {
|
|
133
|
+
break;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
122
136
|
// Modify hard line breaks by applying the rendered line height
|
|
123
137
|
[].forEach.call(wrapper.element.querySelectorAll('tspan.highcharts-br'), function (br, i) {
|
|
124
138
|
if (br.nextSibling && br.previousSibling) { // #5261
|
|
@@ -215,7 +229,7 @@ var TextBuilder = /** @class */ (function () {
|
|
|
215
229
|
var modifyChildren = (function (node) {
|
|
216
230
|
var childNodes = [].slice.call(node.childNodes);
|
|
217
231
|
childNodes.forEach(function (childNode) {
|
|
218
|
-
if (childNode.nodeType === Node.TEXT_NODE) {
|
|
232
|
+
if (childNode.nodeType === win.Node.TEXT_NODE) {
|
|
219
233
|
modifyTextNode(childNode, node);
|
|
220
234
|
}
|
|
221
235
|
else {
|
|
@@ -241,7 +255,7 @@ var TextBuilder = /** @class */ (function () {
|
|
|
241
255
|
TextBuilder.prototype.getLineHeight = function (node) {
|
|
242
256
|
var fontSizeStyle;
|
|
243
257
|
// If the node is a text node, use its parent
|
|
244
|
-
var element = node.nodeType === Node.TEXT_NODE ?
|
|
258
|
+
var element = node.nodeType === win.Node.TEXT_NODE ?
|
|
245
259
|
node.parentElement :
|
|
246
260
|
node;
|
|
247
261
|
if (!this.renderer.styledMode) {
|
|
@@ -314,16 +328,6 @@ var TextBuilder = /** @class */ (function () {
|
|
|
314
328
|
}
|
|
315
329
|
};
|
|
316
330
|
nodes.forEach(modifyChild);
|
|
317
|
-
// Remove empty spans from the beginning because SVG's getBBox doesn't
|
|
318
|
-
// count empty lines. The use case is tooltip where the header is empty.
|
|
319
|
-
while (nodes[0]) {
|
|
320
|
-
if (nodes[0].tagName === 'tspan' && !nodes[0].children) {
|
|
321
|
-
nodes.splice(0, 1);
|
|
322
|
-
}
|
|
323
|
-
else {
|
|
324
|
-
break;
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
331
|
};
|
|
328
332
|
/*
|
|
329
333
|
* Truncate the text node contents to a given length. Used when the css
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
'use strict';
|
|
11
11
|
import H from './Globals.js';
|
|
12
12
|
var isTouchDevice = H.isTouchDevice;
|
|
13
|
-
import Palette from './Color/Palette.js';
|
|
14
13
|
/* *
|
|
15
14
|
*
|
|
16
15
|
* Constant
|
|
@@ -98,6 +97,8 @@ var ScrollbarDefaults = {
|
|
|
98
97
|
* @since 1.2.5
|
|
99
98
|
*/
|
|
100
99
|
minWidth: 6,
|
|
100
|
+
/** @ignore-option */
|
|
101
|
+
opposite: true,
|
|
101
102
|
/**
|
|
102
103
|
* Whether to show or hide the scrollbar when the scrolled content is
|
|
103
104
|
* zoomed out to it full extent.
|
|
@@ -119,7 +120,7 @@ var ScrollbarDefaults = {
|
|
|
119
120
|
*
|
|
120
121
|
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
|
|
121
122
|
*/
|
|
122
|
-
barBackgroundColor:
|
|
123
|
+
barBackgroundColor: "#cccccc" /* neutralColor20 */,
|
|
123
124
|
/**
|
|
124
125
|
* The width of the bar's border.
|
|
125
126
|
*
|
|
@@ -132,7 +133,7 @@ var ScrollbarDefaults = {
|
|
|
132
133
|
*
|
|
133
134
|
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
|
|
134
135
|
*/
|
|
135
|
-
barBorderColor:
|
|
136
|
+
barBorderColor: "#cccccc" /* neutralColor20 */,
|
|
136
137
|
/**
|
|
137
138
|
* The color of the small arrow inside the scrollbar buttons.
|
|
138
139
|
*
|
|
@@ -141,7 +142,7 @@ var ScrollbarDefaults = {
|
|
|
141
142
|
*
|
|
142
143
|
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
|
|
143
144
|
*/
|
|
144
|
-
buttonArrowColor:
|
|
145
|
+
buttonArrowColor: "#333333" /* neutralColor80 */,
|
|
145
146
|
/**
|
|
146
147
|
* The color of scrollbar buttons.
|
|
147
148
|
*
|
|
@@ -150,7 +151,7 @@ var ScrollbarDefaults = {
|
|
|
150
151
|
*
|
|
151
152
|
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
|
|
152
153
|
*/
|
|
153
|
-
buttonBackgroundColor:
|
|
154
|
+
buttonBackgroundColor: "#e6e6e6" /* neutralColor10 */,
|
|
154
155
|
/**
|
|
155
156
|
* The color of the border of the scrollbar buttons.
|
|
156
157
|
*
|
|
@@ -159,7 +160,7 @@ var ScrollbarDefaults = {
|
|
|
159
160
|
*
|
|
160
161
|
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
|
|
161
162
|
*/
|
|
162
|
-
buttonBorderColor:
|
|
163
|
+
buttonBorderColor: "#cccccc" /* neutralColor20 */,
|
|
163
164
|
/**
|
|
164
165
|
* The border width of the scrollbar buttons.
|
|
165
166
|
*
|
|
@@ -172,7 +173,7 @@ var ScrollbarDefaults = {
|
|
|
172
173
|
*
|
|
173
174
|
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
|
|
174
175
|
*/
|
|
175
|
-
rifleColor:
|
|
176
|
+
rifleColor: "#333333" /* neutralColor80 */,
|
|
176
177
|
/**
|
|
177
178
|
* The color of the track background.
|
|
178
179
|
*
|
|
@@ -181,7 +182,7 @@ var ScrollbarDefaults = {
|
|
|
181
182
|
*
|
|
182
183
|
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
|
|
183
184
|
*/
|
|
184
|
-
trackBackgroundColor:
|
|
185
|
+
trackBackgroundColor: "#f2f2f2" /* neutralColor5 */,
|
|
185
186
|
/**
|
|
186
187
|
* The color of the border of the scrollbar track.
|
|
187
188
|
*
|
|
@@ -190,7 +191,7 @@ var ScrollbarDefaults = {
|
|
|
190
191
|
*
|
|
191
192
|
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
|
|
192
193
|
*/
|
|
193
|
-
trackBorderColor:
|
|
194
|
+
trackBorderColor: "#f2f2f2" /* neutralColor5 */,
|
|
194
195
|
/**
|
|
195
196
|
* The corner radius of the border of the scrollbar track.
|
|
196
197
|
*
|
|
@@ -12,7 +12,6 @@ import A from '../Animation/AnimationUtilities.js';
|
|
|
12
12
|
var getDeferredAnimation = A.getDeferredAnimation;
|
|
13
13
|
import F from '../FormatUtilities.js';
|
|
14
14
|
var format = F.format;
|
|
15
|
-
import Palette from '../Color/Palette.js';
|
|
16
15
|
import U from '../Utilities.js';
|
|
17
16
|
var defined = U.defined, extend = U.extend, fireEvent = U.fireEvent, isArray = U.isArray, merge = U.merge, objectEach = U.objectEach, pick = U.pick, splat = U.splat;
|
|
18
17
|
/* *
|
|
@@ -273,7 +272,7 @@ var DataLabel;
|
|
|
273
272
|
rotation = labelOptions.rotation;
|
|
274
273
|
if (!chart.styledMode) {
|
|
275
274
|
// Determine the color
|
|
276
|
-
style.color = pick(labelOptions.color, style.color, series.color,
|
|
275
|
+
style.color = pick(labelOptions.color, style.color, series.color, "#000000" /* neutralColor100 */);
|
|
277
276
|
// Get automated contrast color
|
|
278
277
|
if (style.color === 'contrast') {
|
|
279
278
|
point.contrastColor = renderer.getContrast((point.color || series.color));
|
|
@@ -282,7 +281,7 @@ var DataLabel;
|
|
|
282
281
|
labelDistance < 0 ||
|
|
283
282
|
!!seriesOptions.stacking ?
|
|
284
283
|
point.contrastColor :
|
|
285
|
-
|
|
284
|
+
"#000000" /* neutralColor100 */;
|
|
286
285
|
}
|
|
287
286
|
else {
|
|
288
287
|
delete point.contrastColor;
|
|
@@ -509,13 +509,14 @@ var Point = /** @class */ (function () {
|
|
|
509
509
|
* transformed to `{ y: 10 }`, and an array config like `[1, 10]` in a
|
|
510
510
|
* scatter series will be transformed to `{ x: 1, y: 10 }`.
|
|
511
511
|
*
|
|
512
|
+
* @deprecated
|
|
512
513
|
* @function Highcharts.Point#optionsToObject
|
|
513
514
|
*
|
|
514
515
|
* @param {Highcharts.PointOptionsType} options
|
|
515
|
-
*
|
|
516
|
+
* Series data options.
|
|
516
517
|
*
|
|
517
518
|
* @return {Highcharts.Dictionary<*>}
|
|
518
|
-
*
|
|
519
|
+
* Transformed point options.
|
|
519
520
|
*/
|
|
520
521
|
Point.prototype.optionsToObject = function (options) {
|
|
521
522
|
var series = this.series, keys = series.options.keys, pointArrayMap = keys || series.pointArrayMap || ['y'], valueCount = pointArrayMap.length;
|
|
@@ -1027,7 +1028,8 @@ var Point = /** @class */ (function () {
|
|
|
1027
1028
|
});
|
|
1028
1029
|
}
|
|
1029
1030
|
}
|
|
1030
|
-
if (!chart.styledMode && stateMarkerGraphic
|
|
1031
|
+
if (!chart.styledMode && stateMarkerGraphic &&
|
|
1032
|
+
point.state !== 'inactive') {
|
|
1031
1033
|
stateMarkerGraphic.attr(series.pointAttribs(point, state));
|
|
1032
1034
|
}
|
|
1033
1035
|
}
|