highcharts 10.2.1 → 10.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/bower.json +1 -1
- package/es-modules/Accessibility/Accessibility.js +1 -1
- package/es-modules/Accessibility/Components/InfoRegionsComponent.js +9 -6
- package/es-modules/Accessibility/Components/LegendComponent.js +36 -32
- package/es-modules/Accessibility/Components/RangeSelectorComponent.js +1 -1
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +16 -16
- package/es-modules/Accessibility/Options/LangDefaults.js +4 -0
- package/es-modules/Core/Axis/Axis.js +42 -32
- package/es-modules/Core/Axis/Axis3DComposition.js +501 -0
- package/es-modules/Core/Axis/Axis3DDefaults.js +130 -0
- package/es-modules/Core/Axis/AxisDefaults.js +20 -7
- package/es-modules/Core/Axis/Color/ColorAxis.js +46 -52
- package/es-modules/Core/Axis/Color/ColorAxisComposition.js +4 -2
- package/es-modules/Core/Axis/NavigatorAxisComposition.js +161 -0
- package/es-modules/Core/Axis/OrdinalAxis.js +2 -1
- package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +1 -1
- package/es-modules/Core/Axis/RadialAxis.js +19 -5
- package/es-modules/Core/Axis/Tick.js +1 -1
- package/es-modules/Core/Axis/Tick3DComposition.js +71 -0
- package/es-modules/Core/Chart/Chart.js +16 -20
- package/es-modules/Core/Chart/Chart3D.js +4 -4
- package/es-modules/Core/Chart/ChartDefaults.js +33 -43
- package/es-modules/Core/Chart/GanttChart.js +1 -1
- package/es-modules/Core/Chart/MapChart.js +1 -1
- package/es-modules/Core/Chart/StockChart.js +11 -28
- package/es-modules/Core/{DefaultOptions.js → Defaults.js} +21 -37
- package/es-modules/Core/FormatUtilities.js +1 -1
- package/es-modules/Core/Globals.js +1 -1
- package/es-modules/Core/Legend/Legend.js +114 -110
- package/es-modules/Core/Legend/LegendSymbol.js +9 -6
- package/es-modules/Core/MSPointer.js +4 -2
- package/es-modules/Core/Pointer.js +125 -75
- package/es-modules/Core/Renderer/SVG/SVGElement.js +0 -3
- package/es-modules/Core/Renderer/SVG/SVGRenderer.js +28 -14
- package/es-modules/Core/Series/DataLabel.js +8 -5
- package/es-modules/Core/Series/Point.js +38 -22
- package/es-modules/Core/Series/Series.js +12 -9
- package/es-modules/Core/Series/SeriesDefaults.js +36 -24
- package/es-modules/Core/Series/SeriesRegistry.js +2 -2
- package/es-modules/Core/Time.js +6 -5
- package/es-modules/Core/Tooltip.js +6 -28
- package/es-modules/Core/Utilities.js +6 -8
- package/es-modules/Extensions/Annotations/Annotation.js +1 -1
- package/es-modules/Extensions/Annotations/AnnotationDefaults.js +13 -8
- package/es-modules/Extensions/Annotations/MockPoint.js +2 -1
- package/es-modules/Extensions/Annotations/NavigationBindings.js +4 -5
- package/es-modules/Extensions/Annotations/NavigationBindingsDefaults.js +1 -1
- package/es-modules/Extensions/Annotations/Popup/Popup.js +2 -2
- package/es-modules/Extensions/Annotations/Popup/PopupAnnotations.js +4 -4
- package/es-modules/Extensions/Annotations/Popup/PopupComposition.js +1 -1
- package/es-modules/Extensions/Boost/BoostSeries.js +11 -8
- package/es-modules/Extensions/Breadcrumbs.js +2 -2
- package/es-modules/Extensions/Data.js +2 -2
- package/es-modules/Extensions/DataGrouping/ApproximationDefaults.js +157 -0
- package/es-modules/Extensions/DataGrouping/ApproximationRegistry.js +35 -0
- package/es-modules/Extensions/DataGrouping/DataGrouping.js +469 -0
- package/es-modules/Extensions/DataGrouping/DataGroupingAxisComposition.js +174 -0
- package/es-modules/Extensions/DataGrouping/DataGroupingDefaults.js +143 -0
- package/es-modules/Extensions/DataGrouping/DataGroupingSeriesComposition.js +479 -0
- package/es-modules/Extensions/Debugger/Debugger.js +1 -1
- package/es-modules/Extensions/DraggablePoints.js +6 -2
- package/es-modules/Extensions/Drilldown.js +3 -5
- package/es-modules/Extensions/ExportData/ExportData.js +31 -5
- package/es-modules/Extensions/Exporting/Exporting.js +47 -60
- package/es-modules/Extensions/Exporting/ExportingDefaults.js +22 -24
- package/es-modules/Extensions/GeoJSON.js +3 -1
- package/es-modules/Extensions/MarkerClusters.js +1 -1
- package/es-modules/Extensions/NoDataToDisplay.js +1 -1
- package/es-modules/Extensions/OfflineExporting/OfflineExporting.js +5 -5
- package/es-modules/Extensions/OfflineExporting/OfflineExportingDefaults.js +1 -1
- package/es-modules/Extensions/Oldie/Oldie.js +3 -3
- package/es-modules/Extensions/Oldie/VMLRenderer3D.js +1 -1
- package/es-modules/Extensions/OldiePolyfills.js +3 -1
- package/es-modules/Extensions/Pane.js +42 -5
- package/es-modules/Extensions/ParallelCoordinates.js +5 -1
- package/es-modules/Extensions/PatternFill.js +10 -10
- package/es-modules/Extensions/SeriesLabel/SeriesLabel.js +2 -2
- package/es-modules/Extensions/SeriesLabel/SeriesLabelDefaults.js +4 -0
- package/es-modules/Extensions/Sonification/Sonification.js +1 -1
- package/es-modules/Extensions/Themes/Avocado.js +1 -1
- package/es-modules/Extensions/Themes/BrandDark.js +1 -1
- package/es-modules/Extensions/Themes/BrandLight.js +1 -1
- package/es-modules/Extensions/Themes/DarkBlue.js +1 -1
- package/es-modules/Extensions/Themes/DarkGreen.js +1 -1
- package/es-modules/Extensions/Themes/DarkUnica.js +1 -1
- package/es-modules/Extensions/Themes/Gray.js +1 -1
- package/es-modules/Extensions/Themes/Grid.js +1 -1
- package/es-modules/Extensions/Themes/GridLight.js +1 -1
- package/es-modules/Extensions/Themes/HighContrastDark.js +1 -1
- package/es-modules/Extensions/Themes/HighContrastLight.js +1 -1
- package/es-modules/Extensions/Themes/SandSignika.js +1 -1
- package/es-modules/Extensions/Themes/Skies.js +1 -1
- package/es-modules/Extensions/Themes/Sunset.js +1 -1
- package/es-modules/Gantt/Connection.js +5 -5
- package/es-modules/Gantt/Pathfinder.js +6 -6
- package/es-modules/Maps/MapNavigation.js +1 -1
- package/es-modules/Maps/{MapNavigationOptionsDefault.js → MapNavigationDefaults.js} +4 -4
- package/es-modules/Maps/MapViewOptionsDefault.js +4 -4
- package/es-modules/Series/ArcDiagram/ArcDiagramSeries.js +3 -5
- package/es-modules/Series/AreaRange/AreaRangePoint.js +6 -10
- package/es-modules/Series/AreaRange/AreaRangeSeries.js +59 -48
- package/es-modules/Series/BoxPlot/BoxPlotSeries.js +4 -1
- package/es-modules/Series/Bubble/BubbleLegendComposition.js +22 -16
- package/es-modules/Series/Bubble/BubbleLegendItem.js +17 -21
- package/es-modules/Series/Candlestick/CandlestickSeries.js +15 -175
- package/es-modules/Series/Candlestick/CandlestickSeriesDefaults.js +179 -0
- package/es-modules/Series/Column/ColumnSeries.js +25 -506
- package/es-modules/Series/Column/ColumnSeriesDefaults.js +487 -0
- package/es-modules/Series/ColumnRange/ColumnRangeSeries.js +40 -36
- package/es-modules/Series/DependencyWheel/DependencyWheelSeries.js +2 -106
- package/es-modules/Series/DependencyWheel/DependencyWheelSeriesDefaults.js +183 -0
- package/es-modules/Series/DotPlot/DotPlotSeries.js +11 -12
- package/es-modules/Series/DrawPointUtilities.js +2 -14
- package/es-modules/Series/Dumbbell/DumbbellPoint.js +5 -4
- package/es-modules/Series/Dumbbell/DumbbellSeries.js +11 -7
- package/es-modules/Series/ErrorBar/ErrorBarSeries.js +19 -136
- package/es-modules/Series/ErrorBar/ErrorBarSeriesDefaults.js +147 -0
- package/es-modules/Series/Flags/FlagsPoint.js +2 -3
- package/es-modules/Series/Flags/FlagsSeries.js +31 -298
- package/es-modules/Series/Flags/FlagsSeriesDefaults.js +295 -0
- package/es-modules/Series/Flags/FlagsSymbols.js +96 -71
- package/es-modules/Series/HLC/HLCPoint.js +2 -2
- package/es-modules/Series/HLC/HLCSeries.js +7 -172
- package/es-modules/Series/HLC/HLCSeriesDefaults.js +184 -0
- package/es-modules/Series/Heatmap/HeatmapSeries.js +3 -0
- package/es-modules/Series/HeikinAshi/HeikinAshiPoint.js +3 -20
- package/es-modules/Series/HeikinAshi/HeikinAshiSeries.js +78 -139
- package/es-modules/Series/HeikinAshi/HeikinAshiSeriesDefaults.js +102 -0
- package/es-modules/Series/Item/ItemPoint.js +0 -1
- package/es-modules/Series/Item/ItemSeries.js +13 -8
- package/es-modules/Series/Line/LineSeries.js +8 -4
- package/es-modules/Series/Map/MapPoint.js +19 -1
- package/es-modules/Series/Map/MapSeries.js +7 -3
- package/es-modules/Series/MapBubble/MapBubbleSeries.js +4 -0
- package/es-modules/Series/MapPoint/MapPointPoint.js +0 -5
- package/es-modules/Series/MapPoint/MapPointSeries.js +24 -9
- package/es-modules/Series/Networkgraph/NetworkgraphSeries.js +2 -5
- package/es-modules/Series/Networkgraph/NetworkgraphSeriesDefaults.js +2 -0
- package/es-modules/Series/OHLC/OHLCPoint.js +0 -2
- package/es-modules/Series/OHLC/OHLCSeries.js +64 -160
- package/es-modules/Series/OHLC/OHLCSeriesDefaults.js +151 -0
- package/es-modules/Series/Organization/OrganizationPoint.js +0 -2
- package/es-modules/Series/Organization/OrganizationSeries.js +96 -469
- package/es-modules/Series/Organization/OrganizationSeriesDefaults.js +415 -0
- package/es-modules/Series/PackedBubble/PackedBubbleSeries.js +3 -10
- package/es-modules/Series/PackedBubble/PackedBubbleSeriesDefaults.js +2 -0
- package/es-modules/Series/PathUtilities.js +74 -0
- package/es-modules/Series/Pie/PieSeries.js +2 -644
- package/es-modules/Series/Pie/PieSeriesDefaults.js +660 -0
- package/es-modules/Series/PolarComposition.js +233 -15
- package/es-modules/Series/Sankey/SankeySeries.js +27 -530
- package/es-modules/Series/Sankey/SankeySeriesDefaults.js +522 -0
- package/es-modules/Series/Scatter/ScatterSeries.js +2 -172
- package/es-modules/Series/Scatter/ScatterSeriesDefaults.js +188 -0
- package/es-modules/Series/SolidGauge/SolidGaugeSeries.js +12 -182
- package/es-modules/Series/SolidGauge/SolidGaugeSeriesDefaults.js +199 -0
- package/es-modules/Series/Sunburst/SunburstNode.js +34 -0
- package/es-modules/Series/Sunburst/SunburstPoint.js +2 -1
- package/es-modules/Series/Sunburst/SunburstSeries.js +3 -1
- package/es-modules/Series/Timeline/TimelineSeries.js +2 -231
- package/es-modules/Series/Timeline/TimelineSeriesDefaults.js +248 -0
- package/es-modules/Series/TreeUtilities.js +1 -2
- package/es-modules/Series/Treegraph/TreegraphLayout.js +338 -0
- package/es-modules/Series/Treegraph/TreegraphLink.js +92 -0
- package/es-modules/Series/Treegraph/TreegraphNode.js +206 -0
- package/es-modules/Series/Treegraph/TreegraphPoint.js +175 -0
- package/es-modules/Series/Treegraph/TreegraphSeries.js +510 -0
- package/es-modules/Series/Treegraph/TreegraphSeriesDefaults.js +231 -0
- package/es-modules/Series/Treemap/TreemapNode.js +48 -0
- package/es-modules/Series/Treemap/TreemapPoint.js +2 -1
- package/es-modules/Series/Treemap/TreemapSeries.js +29 -27
- package/es-modules/Series/Variwide/VariwideComposition.js +70 -26
- package/es-modules/Series/Variwide/VariwidePoint.js +8 -7
- package/es-modules/Series/Variwide/VariwideSeries.js +19 -14
- package/es-modules/Series/Vector/VectorSeries.js +2 -2
- package/es-modules/Series/Venn/VennSeries.js +14 -0
- package/es-modules/Series/Waterfall/WaterfallSeries.js +0 -1
- package/es-modules/Series/Windbarb/WindbarbSeries.js +3 -2
- package/es-modules/Series/Wordcloud/WordcloudSeries.js +3 -0
- package/es-modules/Stock/Indicators/AO/AOIndicator.js +1 -2
- package/es-modules/Stock/Indicators/BB/BBIndicator.js +15 -4
- package/es-modules/Stock/Indicators/IKH/IKHIndicator.js +21 -18
- package/es-modules/Stock/Indicators/Klinger/KlingerIndicator.js +1 -2
- package/es-modules/Stock/Indicators/MACD/MACDIndicator.js +1 -2
- package/es-modules/Stock/Indicators/PivotPoints/PivotPointsIndicator.js +1 -1
- package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +0 -1
- package/es-modules/Stock/Indicators/SlowStochastic/SlowStochasticIndicator.js +3 -4
- package/es-modules/Stock/Indicators/Supertrend/SupertrendIndicator.js +1 -2
- package/es-modules/Stock/Indicators/VBP/VBPIndicator.js +6 -7
- package/es-modules/{Core → Stock/Navigator}/Navigator.js +112 -686
- package/es-modules/Stock/Navigator/NavigatorComposition.js +218 -0
- package/es-modules/Stock/Navigator/NavigatorDefaults.js +490 -0
- package/es-modules/Stock/Navigator/NavigatorSymbols.js +44 -0
- package/es-modules/{Extensions → Stock/RangeSelector}/RangeSelector.js +154 -818
- package/es-modules/Stock/RangeSelector/RangeSelectorComposition.js +286 -0
- package/es-modules/Stock/RangeSelector/RangeSelectorDefaults.js +521 -0
- package/es-modules/{Core → Stock/Scrollbar}/Scrollbar.js +4 -4
- package/es-modules/{Core → Stock/Scrollbar}/ScrollbarDefaults.js +1 -1
- package/es-modules/Stock/{StockToolbar.js → StockTools/StockToolbar.js} +2 -2
- package/es-modules/Stock/{StockTools.js → StockTools/StockTools.js} +3 -3
- package/es-modules/Stock/{StockToolsBindings.js → StockTools/StockToolsBindings.js} +3 -3
- package/es-modules/Stock/{StockToolsDefaults.js → StockTools/StockToolsDefaults.js} +4 -4
- package/es-modules/Stock/{StockToolsGui.js → StockTools/StockToolsGui.js} +4 -4
- package/es-modules/Stock/{StockToolsUtilities.js → StockTools/StockToolsUtilities.js} +4 -4
- package/es-modules/masters/highcharts-3d.src.js +3 -5
- 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 +6 -6
- package/es-modules/masters/highmaps.src.js +1 -1
- package/es-modules/masters/highstock.src.js +1 -1
- package/es-modules/masters/indicators/acceleration-bands.src.js +1 -1
- package/es-modules/masters/indicators/accumulation-distribution.src.js +1 -1
- package/es-modules/masters/indicators/ao.src.js +1 -1
- package/es-modules/masters/indicators/apo.src.js +1 -1
- package/es-modules/masters/indicators/aroon-oscillator.src.js +1 -1
- package/es-modules/masters/indicators/aroon.src.js +1 -1
- package/es-modules/masters/indicators/atr.src.js +1 -1
- package/es-modules/masters/indicators/bollinger-bands.src.js +1 -1
- package/es-modules/masters/indicators/cci.src.js +1 -1
- package/es-modules/masters/indicators/chaikin.src.js +1 -1
- package/es-modules/masters/indicators/cmf.src.js +1 -1
- package/es-modules/masters/indicators/cmo.src.js +1 -1
- package/es-modules/masters/indicators/dema.src.js +1 -1
- package/es-modules/masters/indicators/disparity-index.src.js +1 -1
- package/es-modules/masters/indicators/dmi.src.js +1 -1
- package/es-modules/masters/indicators/dpo.src.js +1 -1
- package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/es-modules/masters/indicators/indicators-all.src.js +1 -1
- package/es-modules/masters/indicators/indicators.src.js +1 -1
- package/es-modules/masters/indicators/keltner-channels.src.js +1 -1
- package/es-modules/masters/indicators/klinger.src.js +1 -1
- package/es-modules/masters/indicators/macd.src.js +1 -1
- package/es-modules/masters/indicators/mfi.src.js +1 -1
- package/es-modules/masters/indicators/momentum.src.js +1 -1
- package/es-modules/masters/indicators/natr.src.js +1 -1
- package/es-modules/masters/indicators/obv.src.js +1 -1
- package/es-modules/masters/indicators/pivot-points.src.js +1 -1
- package/es-modules/masters/indicators/ppo.src.js +1 -1
- package/es-modules/masters/indicators/price-channel.src.js +1 -1
- package/es-modules/masters/indicators/price-envelopes.src.js +1 -1
- package/es-modules/masters/indicators/psar.src.js +1 -1
- package/es-modules/masters/indicators/regressions.src.js +1 -1
- package/es-modules/masters/indicators/roc.src.js +1 -1
- package/es-modules/masters/indicators/rsi.src.js +1 -1
- package/es-modules/masters/indicators/slow-stochastic.src.js +1 -1
- package/es-modules/masters/indicators/stochastic.src.js +1 -1
- package/es-modules/masters/indicators/supertrend.src.js +1 -1
- package/es-modules/masters/indicators/tema.src.js +1 -1
- package/es-modules/masters/indicators/trendline.src.js +1 -1
- package/es-modules/masters/indicators/trix.src.js +1 -1
- package/es-modules/masters/indicators/volume-by-price.src.js +1 -1
- package/es-modules/masters/indicators/vwap.src.js +1 -1
- package/es-modules/masters/indicators/williams-r.src.js +1 -1
- package/es-modules/masters/indicators/wma.src.js +1 -1
- package/es-modules/masters/indicators/zigzag.src.js +1 -1
- package/es-modules/masters/modules/accessibility.src.js +1 -1
- package/es-modules/masters/modules/annotations-advanced.src.js +1 -1
- package/es-modules/masters/modules/annotations.src.js +1 -1
- package/es-modules/masters/modules/arc-diagram.src.js +1 -1
- package/es-modules/masters/modules/arrow-symbols.src.js +1 -1
- package/es-modules/masters/modules/boost-canvas.src.js +1 -1
- package/es-modules/masters/modules/boost.src.js +1 -1
- package/es-modules/masters/modules/broken-axis.src.js +1 -1
- package/es-modules/masters/modules/bullet.src.js +1 -1
- package/es-modules/masters/modules/coloraxis.src.js +1 -1
- package/es-modules/masters/modules/current-date-indicator.src.js +1 -1
- package/es-modules/masters/modules/cylinder.src.js +1 -1
- package/es-modules/masters/modules/data.src.js +1 -1
- package/es-modules/masters/modules/datagrouping.src.js +11 -3
- 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 +9 -5
- package/es-modules/masters/modules/grid-axis.src.js +1 -1
- package/es-modules/masters/modules/heatmap.src.js +1 -1
- package/es-modules/masters/modules/heikinashi.src.js +5 -2
- package/es-modules/masters/modules/histogram-bellcurve.src.js +1 -1
- package/es-modules/masters/modules/hollowcandlestick.src.js +1 -1
- package/es-modules/masters/modules/item-series.src.js +1 -1
- package/es-modules/masters/modules/lollipop.src.js +1 -1
- package/es-modules/masters/modules/map.src.js +1 -1
- package/es-modules/masters/modules/marker-clusters.src.js +1 -1
- package/es-modules/masters/modules/networkgraph.src.js +1 -1
- package/es-modules/masters/modules/no-data-to-display.src.js +1 -1
- package/es-modules/masters/modules/offline-exporting.src.js +1 -1
- package/es-modules/masters/modules/oldie-polyfills.src.js +1 -1
- package/es-modules/masters/modules/oldie.src.js +1 -1
- package/es-modules/masters/modules/organization.src.js +1 -1
- package/es-modules/masters/modules/overlapping-datalabels.src.js +1 -1
- package/es-modules/masters/modules/parallel-coordinates.src.js +1 -1
- package/es-modules/masters/modules/pareto.src.js +1 -1
- package/es-modules/masters/modules/pathfinder.src.js +1 -1
- package/es-modules/masters/modules/pattern-fill.src.js +1 -1
- package/es-modules/masters/modules/price-indicator.src.js +1 -1
- package/es-modules/masters/modules/pyramid3d.src.js +1 -1
- package/es-modules/masters/modules/sankey.src.js +1 -1
- package/es-modules/masters/modules/series-label.src.js +1 -1
- package/es-modules/masters/modules/series-on-point.src.js +1 -1
- package/es-modules/masters/modules/solid-gauge.src.js +1 -1
- package/es-modules/masters/modules/sonification.src.js +1 -1
- package/es-modules/masters/modules/static-scale.src.js +1 -1
- package/es-modules/masters/modules/stock-tools.src.js +4 -4
- package/es-modules/masters/modules/stock.src.js +17 -11
- 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/treegraph.src.js +13 -0
- 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 +5 -2
- 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 +1 -1
- package/es-modules/masters/themes/brand-light.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 +97 -98
- package/highcharts-3d.js.map +1 -1
- package/highcharts-3d.src.js +476 -449
- package/highcharts-gantt.js +811 -808
- package/highcharts-gantt.js.map +1 -1
- package/highcharts-gantt.src.js +14619 -14112
- package/highcharts-more.d.ts +0 -8
- package/highcharts-more.js +208 -201
- package/highcharts-more.js.map +1 -1
- package/highcharts-more.src.d.ts +0 -8
- package/highcharts-more.src.js +679 -289
- package/highcharts.d.ts +30739 -6156
- package/highcharts.js +590 -589
- package/highcharts.js.map +1 -1
- package/highcharts.src.d.ts +30739 -6156
- package/highcharts.src.js +1988 -1799
- package/highmaps.js +759 -757
- package/highmaps.js.map +1 -1
- package/highmaps.src.js +2339 -2077
- package/highstock.js +802 -794
- package/highstock.js.map +1 -1
- package/highstock.src.js +12349 -11416
- package/indicators/acceleration-bands.js +1 -1
- package/indicators/acceleration-bands.src.js +1 -1
- 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 -3
- package/indicators/apo.js +1 -1
- package/indicators/apo.src.js +1 -1
- package/indicators/aroon-oscillator.js +1 -1
- package/indicators/aroon-oscillator.src.js +1 -1
- package/indicators/aroon.js +1 -1
- package/indicators/aroon.src.js +1 -1
- package/indicators/atr.js +1 -1
- package/indicators/atr.src.js +1 -1
- package/indicators/bollinger-bands.js +1 -1
- package/indicators/bollinger-bands.js.map +1 -1
- package/indicators/bollinger-bands.src.js +16 -5
- package/indicators/cci.js +1 -1
- package/indicators/cci.src.js +1 -1
- package/indicators/chaikin.js +1 -1
- package/indicators/chaikin.src.js +1 -1
- package/indicators/cmf.js +1 -1
- package/indicators/cmf.src.js +1 -1
- package/indicators/cmo.d.ts +17 -0
- package/indicators/cmo.js +1 -1
- package/indicators/cmo.src.d.ts +17 -0
- package/indicators/cmo.src.js +1 -1
- package/indicators/dema.js +1 -1
- package/indicators/dema.src.js +1 -1
- package/indicators/disparity-index.d.ts +17 -0
- package/indicators/disparity-index.js +1 -1
- package/indicators/disparity-index.src.d.ts +17 -0
- package/indicators/disparity-index.src.js +1 -1
- package/indicators/dmi.d.ts +17 -0
- package/indicators/dmi.js +1 -1
- package/indicators/dmi.src.d.ts +17 -0
- package/indicators/dmi.src.js +1 -1
- package/indicators/dpo.js +1 -1
- package/indicators/dpo.src.js +1 -1
- package/indicators/ichimoku-kinko-hyo.js +14 -14
- package/indicators/ichimoku-kinko-hyo.js.map +1 -1
- package/indicators/ichimoku-kinko-hyo.src.js +22 -19
- package/indicators/indicators-all.js +198 -199
- package/indicators/indicators-all.js.map +1 -1
- package/indicators/indicators-all.src.js +63 -57
- package/indicators/indicators.js +13 -13
- package/indicators/indicators.js.map +1 -1
- package/indicators/indicators.src.js +1 -15
- package/indicators/keltner-channels.js +1 -1
- package/indicators/keltner-channels.src.js +1 -1
- package/indicators/klinger.d.ts +17 -0
- package/indicators/klinger.js +12 -12
- package/indicators/klinger.js.map +1 -1
- package/indicators/klinger.src.d.ts +17 -0
- package/indicators/klinger.src.js +4 -3
- package/indicators/macd.js +1 -1
- package/indicators/macd.js.map +1 -1
- package/indicators/macd.src.js +4 -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 +1 -1
- package/indicators/natr.src.js +1 -1
- package/indicators/obv.d.ts +17 -0
- package/indicators/obv.js +1 -1
- package/indicators/obv.src.d.ts +17 -0
- package/indicators/obv.src.js +1 -1
- package/indicators/pivot-points.js +2 -2
- package/indicators/pivot-points.js.map +1 -1
- package/indicators/pivot-points.src.js +2 -2
- package/indicators/ppo.js +1 -1
- package/indicators/ppo.src.js +1 -1
- package/indicators/price-channel.js +1 -1
- package/indicators/price-channel.src.js +1 -1
- 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 +1 -1
- 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 -5
- package/indicators/slow-stochastic.js.map +1 -1
- package/indicators/slow-stochastic.src.js +6 -5
- package/indicators/stochastic.js +1 -1
- package/indicators/stochastic.src.js +1 -1
- package/indicators/supertrend.js +7 -7
- package/indicators/supertrend.js.map +1 -1
- package/indicators/supertrend.src.js +4 -3
- package/indicators/tema.js +1 -1
- package/indicators/tema.src.js +1 -1
- package/indicators/trendline.js +1 -1
- package/indicators/trendline.src.js +1 -1
- package/indicators/trix.js +1 -1
- package/indicators/trix.src.js +1 -1
- package/indicators/volume-by-price.js +17 -17
- package/indicators/volume-by-price.js.map +1 -1
- package/indicators/volume-by-price.src.js +9 -8
- package/indicators/vwap.js +1 -1
- package/indicators/vwap.src.js +1 -1
- package/indicators/williams-r.js +1 -1
- package/indicators/williams-r.src.js +1 -1
- package/indicators/wma.js +1 -1
- package/indicators/wma.src.js +1 -1
- package/indicators/zigzag.js +1 -1
- package/indicators/zigzag.src.js +1 -1
- package/modules/accessibility.js +214 -213
- package/modules/accessibility.js.map +1 -1
- package/modules/accessibility.src.js +991 -835
- package/modules/annotations-advanced.js +16 -16
- package/modules/annotations-advanced.js.map +1 -1
- package/modules/annotations-advanced.src.js +29 -24
- package/modules/annotations.js +91 -91
- package/modules/annotations.js.map +1 -1
- package/modules/annotations.src.js +29 -24
- package/modules/arc-diagram.d.ts +17 -0
- package/modules/arc-diagram.js +15 -15
- package/modules/arc-diagram.js.map +1 -1
- package/modules/arc-diagram.src.d.ts +17 -0
- package/modules/arc-diagram.src.js +6 -6
- package/modules/arrow-symbols.js +1 -1
- package/modules/arrow-symbols.src.js +1 -1
- package/modules/boost-canvas.js +19 -19
- package/modules/boost-canvas.js.map +1 -1
- package/modules/boost-canvas.src.js +13 -8
- package/modules/boost.js +37 -37
- package/modules/boost.js.map +1 -1
- package/modules/boost.src.js +13 -8
- 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 +25 -24
- package/modules/coloraxis.js.map +1 -1
- package/modules/coloraxis.src.js +77 -58
- package/modules/current-date-indicator.js +1 -1
- package/modules/current-date-indicator.src.js +1 -1
- package/modules/cylinder.js +1 -1
- package/modules/cylinder.src.js +1 -1
- package/modules/data.js +27 -27
- package/modules/data.js.map +1 -1
- package/modules/data.src.js +3 -3
- package/modules/datagrouping.d.ts +31 -0
- package/modules/datagrouping.js +23 -21
- package/modules/datagrouping.js.map +1 -1
- package/modules/datagrouping.src.d.ts +31 -0
- package/modules/datagrouping.src.js +921 -640
- package/modules/debugger.js +3 -3
- package/modules/debugger.js.map +1 -1
- package/modules/debugger.src.js +2 -2
- package/modules/dependency-wheel.js +12 -12
- package/modules/dependency-wheel.js.map +1 -1
- package/modules/dependency-wheel.src.js +191 -108
- package/modules/dotplot.js +6 -6
- package/modules/dotplot.js.map +1 -1
- package/modules/dotplot.src.js +10 -13
- package/modules/drag-panes.js +1 -1
- package/modules/drag-panes.src.js +1 -1
- package/modules/draggable-points.js +5 -5
- package/modules/draggable-points.js.map +1 -1
- package/modules/draggable-points.src.js +7 -3
- package/modules/drilldown.js +37 -37
- package/modules/drilldown.js.map +1 -1
- package/modules/drilldown.src.js +5 -6
- package/modules/dumbbell.js +17 -17
- package/modules/dumbbell.js.map +1 -1
- package/modules/dumbbell.src.js +27 -22
- package/modules/export-data.js +26 -25
- package/modules/export-data.js.map +1 -1
- package/modules/export-data.src.js +33 -6
- package/modules/exporting.js +36 -35
- package/modules/exporting.js.map +1 -1
- package/modules/exporting.src.js +81 -88
- package/modules/full-screen.js +1 -1
- package/modules/full-screen.src.js +1 -1
- package/modules/funnel.js +1 -1
- package/modules/funnel.src.js +1 -1
- package/modules/funnel3d.js +1 -1
- package/modules/funnel3d.src.js +1 -1
- package/modules/gantt.js +221 -219
- package/modules/gantt.js.map +1 -1
- package/modules/gantt.src.js +12842 -12524
- package/modules/grid-axis.js +1 -1
- package/modules/grid-axis.src.js +1 -1
- package/modules/heatmap.js +40 -40
- package/modules/heatmap.js.map +1 -1
- package/modules/heatmap.src.js +80 -58
- package/modules/heikinashi.d.ts +17 -0
- package/modules/heikinashi.js +9 -8
- package/modules/heikinashi.js.map +1 -1
- package/modules/heikinashi.src.d.ts +17 -0
- package/modules/heikinashi.src.js +192 -165
- package/modules/histogram-bellcurve.js +1 -1
- package/modules/histogram-bellcurve.src.js +1 -1
- package/modules/hollowcandlestick.d.ts +17 -0
- package/modules/hollowcandlestick.js +1 -1
- package/modules/hollowcandlestick.src.d.ts +17 -0
- package/modules/hollowcandlestick.src.js +1 -1
- package/modules/item-series.js +12 -12
- package/modules/item-series.js.map +1 -1
- package/modules/item-series.src.js +14 -10
- package/modules/lollipop.js +1 -1
- package/modules/lollipop.src.js +1 -1
- package/modules/map.js +172 -171
- package/modules/map.js.map +1 -1
- package/modules/map.src.js +194 -121
- package/modules/marker-clusters.js +2 -2
- package/modules/marker-clusters.js.map +1 -1
- package/modules/marker-clusters.src.js +2 -2
- package/modules/networkgraph.js +8 -8
- package/modules/networkgraph.js.map +1 -1
- package/modules/networkgraph.src.js +5 -6
- package/modules/no-data-to-display.js +4 -4
- package/modules/no-data-to-display.js.map +1 -1
- package/modules/no-data-to-display.src.js +2 -2
- package/modules/offline-exporting.js +4 -4
- package/modules/offline-exporting.js.map +1 -1
- package/modules/offline-exporting.src.js +7 -7
- package/modules/oldie-polyfills.js +7 -7
- package/modules/oldie-polyfills.js.map +1 -1
- package/modules/oldie-polyfills.src.js +9 -7
- package/modules/oldie.js +30 -30
- package/modules/oldie.js.map +1 -1
- package/modules/oldie.src.js +5 -5
- package/modules/organization.js +18 -16
- package/modules/organization.js.map +1 -1
- package/modules/organization.src.js +659 -495
- package/modules/overlapping-datalabels.js +1 -1
- package/modules/overlapping-datalabels.src.js +1 -1
- package/modules/parallel-coordinates.js +10 -10
- package/modules/parallel-coordinates.js.map +1 -1
- package/modules/parallel-coordinates.src.js +6 -2
- package/modules/pareto.js +1 -1
- package/modules/pareto.src.js +1 -1
- package/modules/pathfinder.js +31 -31
- package/modules/pathfinder.js.map +1 -1
- package/modules/pathfinder.src.js +19 -23
- package/modules/pattern-fill.js +2 -2
- package/modules/pattern-fill.js.map +1 -1
- package/modules/pattern-fill.src.js +11 -11
- 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.js +33 -32
- package/modules/sankey.js.map +1 -1
- package/modules/sankey.src.js +571 -550
- package/modules/series-label.js +17 -17
- package/modules/series-label.js.map +1 -1
- package/modules/series-label.src.js +7 -3
- package/modules/series-on-point.d.ts +17 -0
- package/modules/series-on-point.js +1 -1
- package/modules/series-on-point.src.d.ts +17 -0
- package/modules/series-on-point.src.js +1 -1
- package/modules/solid-gauge.js +11 -10
- package/modules/solid-gauge.js.map +1 -1
- package/modules/solid-gauge.src.js +220 -192
- package/modules/sonification.js +2 -2
- package/modules/sonification.js.map +1 -1
- package/modules/sonification.src.js +2 -2
- package/modules/static-scale.js +1 -1
- package/modules/static-scale.src.js +1 -1
- package/modules/stock-tools.js +59 -59
- package/modules/stock-tools.js.map +1 -1
- package/modules/stock-tools.src.js +19 -21
- package/modules/stock.d.ts +26 -6
- package/modules/stock.js +212 -205
- package/modules/stock.js.map +1 -1
- package/modules/stock.src.d.ts +26 -6
- package/modules/stock.src.js +11361 -10617
- package/modules/streamgraph.js +1 -1
- package/modules/streamgraph.src.js +1 -1
- package/modules/sunburst.js +75 -73
- package/modules/sunburst.js.map +1 -1
- package/modules/sunburst.src.js +133 -57
- package/modules/tilemap.js +1 -1
- package/modules/tilemap.src.js +1 -1
- package/modules/timeline.js +18 -18
- package/modules/timeline.js.map +1 -1
- package/modules/timeline.src.js +257 -233
- package/modules/treegraph.d.ts +17 -0
- package/modules/treegraph.js +44 -0
- package/modules/treegraph.js.map +1 -0
- package/modules/treegraph.src.d.ts +17 -0
- package/modules/treegraph.src.js +1829 -0
- package/modules/treegrid.js +2 -2
- package/modules/treegrid.js.map +1 -1
- package/modules/treegrid.src.js +2 -3
- package/modules/treemap.js +54 -53
- package/modules/treemap.js.map +1 -1
- package/modules/treemap.src.js +90 -52
- package/modules/variable-pie.js +1 -1
- package/modules/variable-pie.src.js +1 -1
- package/modules/variwide.js +12 -12
- package/modules/variwide.js.map +1 -1
- package/modules/variwide.src.js +158 -106
- package/modules/vector.js +1 -1
- package/modules/vector.src.js +3 -3
- package/modules/venn.js +31 -31
- package/modules/venn.js.map +1 -1
- package/modules/venn.src.js +17 -16
- package/modules/windbarb.js +15 -15
- package/modules/windbarb.js.map +1 -1
- package/modules/windbarb.src.js +41 -4
- package/modules/wordcloud.js +23 -23
- package/modules/wordcloud.js.map +1 -1
- package/modules/wordcloud.src.js +6 -15
- package/modules/xrange.js +1 -1
- package/modules/xrange.src.js +1 -1
- package/package.json +1 -1
- package/themes/avocado.js +2 -3
- package/themes/avocado.js.map +1 -1
- package/themes/avocado.src.js +2 -2
- package/themes/brand-dark.d.ts +22 -0
- package/themes/brand-dark.js +3 -3
- package/themes/brand-dark.js.map +1 -1
- package/themes/brand-dark.src.d.ts +22 -0
- package/themes/brand-dark.src.js +2 -2
- package/themes/brand-light.d.ts +22 -0
- package/themes/brand-light.js +2 -2
- package/themes/brand-light.js.map +1 -1
- package/themes/brand-light.src.d.ts +22 -0
- package/themes/brand-light.src.js +2 -2
- package/themes/dark-blue.js +2 -2
- package/themes/dark-blue.js.map +1 -1
- package/themes/dark-blue.src.js +2 -2
- package/themes/dark-green.js +2 -2
- package/themes/dark-green.js.map +1 -1
- package/themes/dark-green.src.js +2 -2
- package/themes/dark-unica.js +2 -2
- package/themes/dark-unica.js.map +1 -1
- package/themes/dark-unica.src.js +2 -2
- package/themes/gray.js +2 -2
- package/themes/gray.js.map +1 -1
- package/themes/gray.src.js +2 -2
- package/themes/grid-light.js +2 -2
- package/themes/grid-light.js.map +1 -1
- package/themes/grid-light.src.js +2 -2
- package/themes/grid.js +2 -2
- package/themes/grid.js.map +1 -1
- package/themes/grid.src.js +2 -2
- package/themes/high-contrast-dark.d.ts +22 -0
- package/themes/high-contrast-dark.js +2 -2
- package/themes/high-contrast-dark.js.map +1 -1
- package/themes/high-contrast-dark.src.d.ts +22 -0
- package/themes/high-contrast-dark.src.js +2 -2
- package/themes/high-contrast-light.d.ts +22 -0
- package/themes/high-contrast-light.js +2 -2
- package/themes/high-contrast-light.js.map +1 -1
- package/themes/high-contrast-light.src.d.ts +22 -0
- package/themes/high-contrast-light.src.js +2 -2
- package/themes/sand-signika.js +2 -2
- package/themes/sand-signika.js.map +1 -1
- package/themes/sand-signika.src.js +2 -2
- package/themes/skies.js +2 -2
- package/themes/skies.js.map +1 -1
- package/themes/skies.src.js +2 -2
- package/themes/sunset.js +2 -2
- package/themes/sunset.js.map +1 -1
- package/themes/sunset.src.js +2 -2
- package/es-modules/Core/Axis/Axis3D.js +0 -612
- package/es-modules/Core/Axis/NavigatorAxis.js +0 -159
- package/es-modules/Core/Axis/Tick3D.js +0 -68
- package/es-modules/Extensions/DataGrouping.js +0 -1177
- package/es-modules/Stock/Indicators/SMA/SMAComposition.js +0 -12
|
@@ -38,6 +38,7 @@ import SunburstUtilities from './SunburstUtilities.js';
|
|
|
38
38
|
import TU from '../TreeUtilities.js';
|
|
39
39
|
var getColor = TU.getColor, getLevelOptions = TU.getLevelOptions, setTreeValues = TU.setTreeValues, updateRootId = TU.updateRootId;
|
|
40
40
|
import U from '../../Core/Utilities.js';
|
|
41
|
+
import SunburstNode from './SunburstNode.js';
|
|
41
42
|
var error = U.error, extend = U.extend, isNumber = U.isNumber, isObject = U.isObject, isString = U.isString, merge = U.merge, splat = U.splat;
|
|
42
43
|
/* *
|
|
43
44
|
*
|
|
@@ -275,7 +276,7 @@ function getDrillId(point, idRoot, mapIdToNode) {
|
|
|
275
276
|
}
|
|
276
277
|
// eslint-disable-next-line require-jsdoc
|
|
277
278
|
function cbSetTreeValuesBefore(node, options) {
|
|
278
|
-
var mapIdToNode = options.mapIdToNode, nodeParent = mapIdToNode[
|
|
279
|
+
var mapIdToNode = options.mapIdToNode, parent = node.parent, nodeParent = parent ? mapIdToNode[parent] : void 0, series = options.series, chart = series.chart, points = series.points, point = points[node.i], colors = series.options.colors || chart && chart.options.colors, colorInfo = getColor(node, {
|
|
279
280
|
colors: colors,
|
|
280
281
|
colorIndex: series.colorIndex,
|
|
281
282
|
index: options.index,
|
|
@@ -873,6 +874,7 @@ extend(SunburstSeries.prototype, {
|
|
|
873
874
|
onPointSupported: true,
|
|
874
875
|
pointAttribs: ColumnSeries.prototype.pointAttribs,
|
|
875
876
|
pointClass: SunburstPoint,
|
|
877
|
+
NodeClass: SunburstNode,
|
|
876
878
|
utils: SunburstUtilities
|
|
877
879
|
});
|
|
878
880
|
SeriesRegistry.registerSeriesType('sunburst', SunburstSeries);
|
|
@@ -32,6 +32,7 @@ import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
|
|
|
32
32
|
var _a = SeriesRegistry.seriesTypes, ColumnSeries = _a.column, LineSeries = _a.line;
|
|
33
33
|
import SVGElement from '../../Core/Renderer/SVG/SVGElement.js';
|
|
34
34
|
import TimelinePoint from './TimelinePoint.js';
|
|
35
|
+
import TimelineSeriesDefaults from './TimelineSeriesDefaults.js';
|
|
35
36
|
import U from '../../Core/Utilities.js';
|
|
36
37
|
var addEvent = U.addEvent, arrayMax = U.arrayMax, arrayMin = U.arrayMin, defined = U.defined, extend = U.extend, merge = U.merge, pick = U.pick;
|
|
37
38
|
/* *
|
|
@@ -274,163 +275,7 @@ var TimelineSeries = /** @class */ (function (_super) {
|
|
|
274
275
|
_super.prototype.processData.call(this, arguments);
|
|
275
276
|
return;
|
|
276
277
|
};
|
|
277
|
-
|
|
278
|
-
* The timeline series presents given events along a drawn line.
|
|
279
|
-
*
|
|
280
|
-
* @sample highcharts/series-timeline/alternate-labels
|
|
281
|
-
* Timeline series
|
|
282
|
-
* @sample highcharts/series-timeline/inverted
|
|
283
|
-
* Inverted timeline
|
|
284
|
-
* @sample highcharts/series-timeline/datetime-axis
|
|
285
|
-
* With true datetime axis
|
|
286
|
-
*
|
|
287
|
-
* @extends plotOptions.line
|
|
288
|
-
* @since 7.0.0
|
|
289
|
-
* @product highcharts
|
|
290
|
-
* @excluding animationLimit, boostThreshold, connectEnds, connectNulls,
|
|
291
|
-
* cropThreshold, dashStyle, findNearestPointBy,
|
|
292
|
-
* getExtremesFromAll, lineWidth, negativeColor,
|
|
293
|
-
* pointInterval, pointIntervalUnit, pointPlacement,
|
|
294
|
-
* pointStart, softThreshold, stacking, step, threshold,
|
|
295
|
-
* turboThreshold, zoneAxis, zones, dataSorting,
|
|
296
|
-
* boostBlending
|
|
297
|
-
* @requires modules/timeline
|
|
298
|
-
* @optionparent plotOptions.timeline
|
|
299
|
-
*
|
|
300
|
-
* @private
|
|
301
|
-
*/
|
|
302
|
-
TimelineSeries.defaultOptions = merge(LineSeries.defaultOptions, {
|
|
303
|
-
colorByPoint: true,
|
|
304
|
-
stickyTracking: false,
|
|
305
|
-
ignoreHiddenPoint: true,
|
|
306
|
-
/**
|
|
307
|
-
* @ignore
|
|
308
|
-
* @private
|
|
309
|
-
*/
|
|
310
|
-
legendType: 'point',
|
|
311
|
-
lineWidth: 4,
|
|
312
|
-
tooltip: {
|
|
313
|
-
headerFormat: '<span style="color:{point.color}">\u25CF</span> ' +
|
|
314
|
-
'<span style="font-size: 10px"> {point.key}</span><br/>',
|
|
315
|
-
pointFormat: '{point.description}'
|
|
316
|
-
},
|
|
317
|
-
states: {
|
|
318
|
-
hover: {
|
|
319
|
-
lineWidthPlus: 0
|
|
320
|
-
}
|
|
321
|
-
},
|
|
322
|
-
/**
|
|
323
|
-
* @declare Highcharts.TimelineDataLabelsOptionsObject
|
|
324
|
-
*
|
|
325
|
-
* @private
|
|
326
|
-
*/
|
|
327
|
-
dataLabels: {
|
|
328
|
-
enabled: true,
|
|
329
|
-
allowOverlap: true,
|
|
330
|
-
/**
|
|
331
|
-
* Whether to position data labels alternately. For example, if
|
|
332
|
-
* [distance](#plotOptions.timeline.dataLabels.distance)
|
|
333
|
-
* is set equal to `100`, then data labels will be positioned
|
|
334
|
-
* alternately (on both sides of the point) at a distance of 100px.
|
|
335
|
-
*
|
|
336
|
-
* @sample {highcharts} highcharts/series-timeline/alternate-disabled
|
|
337
|
-
* Alternate disabled
|
|
338
|
-
*/
|
|
339
|
-
alternate: true,
|
|
340
|
-
backgroundColor: "#ffffff" /* Palette.backgroundColor */,
|
|
341
|
-
borderWidth: 1,
|
|
342
|
-
borderColor: "#999999" /* Palette.neutralColor40 */,
|
|
343
|
-
borderRadius: 3,
|
|
344
|
-
color: "#333333" /* Palette.neutralColor80 */,
|
|
345
|
-
/**
|
|
346
|
-
* The color of the line connecting the data label to the point.
|
|
347
|
-
* The default color is the same as the point's color.
|
|
348
|
-
*
|
|
349
|
-
* In styled mode, the connector stroke is given in the
|
|
350
|
-
* `.highcharts-data-label-connector` class.
|
|
351
|
-
*
|
|
352
|
-
* @sample {highcharts} highcharts/series-timeline/connector-styles
|
|
353
|
-
* Custom connector width and color
|
|
354
|
-
*
|
|
355
|
-
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
|
|
356
|
-
* @apioption plotOptions.timeline.dataLabels.connectorColor
|
|
357
|
-
*/
|
|
358
|
-
/**
|
|
359
|
-
* The width of the line connecting the data label to the point.
|
|
360
|
-
*
|
|
361
|
-
* In styled mode, the connector stroke width is given in the
|
|
362
|
-
* `.highcharts-data-label-connector` class.
|
|
363
|
-
*
|
|
364
|
-
* @sample {highcharts} highcharts/series-timeline/connector-styles
|
|
365
|
-
* Custom connector width and color
|
|
366
|
-
*/
|
|
367
|
-
connectorWidth: 1,
|
|
368
|
-
/**
|
|
369
|
-
* A pixel value defining the distance between the data label and
|
|
370
|
-
* the point. Negative numbers puts the label on top of the point.
|
|
371
|
-
*/
|
|
372
|
-
distance: 100,
|
|
373
|
-
// eslint-disable-next-line valid-jsdoc
|
|
374
|
-
/**
|
|
375
|
-
* @type {Highcharts.TimelineDataLabelsFormatterCallbackFunction}
|
|
376
|
-
* @default function () {
|
|
377
|
-
* let format;
|
|
378
|
-
*
|
|
379
|
-
* if (!this.series.chart.styledMode) {
|
|
380
|
-
* format = '<span style="color:' + this.point.color +
|
|
381
|
-
* '">● </span>';
|
|
382
|
-
* } else {
|
|
383
|
-
* format = '<span>● </span>';
|
|
384
|
-
* }
|
|
385
|
-
* format += '<span>' + (this.key || '') + '</span><br/>' +
|
|
386
|
-
* (this.point.label || '');
|
|
387
|
-
* return format;
|
|
388
|
-
* }
|
|
389
|
-
*/
|
|
390
|
-
formatter: function () {
|
|
391
|
-
var format;
|
|
392
|
-
if (!this.series.chart.styledMode) {
|
|
393
|
-
format = '<span style="color:' + this.point.color +
|
|
394
|
-
'">● </span>';
|
|
395
|
-
}
|
|
396
|
-
else {
|
|
397
|
-
format = '<span>● </span>';
|
|
398
|
-
}
|
|
399
|
-
format += '<span class="highcharts-strong">' +
|
|
400
|
-
(this.key || '') + '</span><br/>' +
|
|
401
|
-
(this.point.label || '');
|
|
402
|
-
return format;
|
|
403
|
-
},
|
|
404
|
-
style: {
|
|
405
|
-
/** @internal */
|
|
406
|
-
textOutline: 'none',
|
|
407
|
-
/** @internal */
|
|
408
|
-
fontWeight: 'normal',
|
|
409
|
-
/** @internal */
|
|
410
|
-
fontSize: '12px'
|
|
411
|
-
},
|
|
412
|
-
/**
|
|
413
|
-
* Shadow options for the data label.
|
|
414
|
-
*
|
|
415
|
-
* @type {boolean|Highcharts.CSSObject}
|
|
416
|
-
*/
|
|
417
|
-
shadow: false,
|
|
418
|
-
/**
|
|
419
|
-
* @type {number}
|
|
420
|
-
* @apioption plotOptions.timeline.dataLabels.width
|
|
421
|
-
*/
|
|
422
|
-
verticalAlign: 'middle'
|
|
423
|
-
},
|
|
424
|
-
marker: {
|
|
425
|
-
enabledThreshold: 0,
|
|
426
|
-
symbol: 'square',
|
|
427
|
-
radius: 6,
|
|
428
|
-
lineWidth: 2,
|
|
429
|
-
height: 15
|
|
430
|
-
},
|
|
431
|
-
showInLegend: false,
|
|
432
|
-
colorKey: 'x'
|
|
433
|
-
});
|
|
278
|
+
TimelineSeries.defaultOptions = merge(LineSeries.defaultOptions, TimelineSeriesDefaults);
|
|
434
279
|
return TimelineSeries;
|
|
435
280
|
}(LineSeries));
|
|
436
281
|
extend(TimelineSeries.prototype, {
|
|
@@ -480,77 +325,3 @@ export default TimelineSeries;
|
|
|
480
325
|
* @type {Highcharts.Series}
|
|
481
326
|
*/
|
|
482
327
|
''; // dettach doclets above
|
|
483
|
-
/* *
|
|
484
|
-
*
|
|
485
|
-
* API Options
|
|
486
|
-
*
|
|
487
|
-
* */
|
|
488
|
-
/**
|
|
489
|
-
* The `timeline` series. If the [type](#series.timeline.type) option is
|
|
490
|
-
* not specified, it is inherited from [chart.type](#chart.type).
|
|
491
|
-
*
|
|
492
|
-
* @extends series,plotOptions.timeline
|
|
493
|
-
* @excluding animationLimit, boostThreshold, connectEnds, connectNulls,
|
|
494
|
-
* cropThreshold, dashStyle, dataParser, dataURL, findNearestPointBy,
|
|
495
|
-
* getExtremesFromAll, lineWidth, negativeColor,
|
|
496
|
-
* pointInterval, pointIntervalUnit, pointPlacement, pointStart,
|
|
497
|
-
* softThreshold, stacking, stack, step, threshold, turboThreshold,
|
|
498
|
-
* zoneAxis, zones, dataSorting, boostBlending
|
|
499
|
-
* @product highcharts
|
|
500
|
-
* @requires modules/timeline
|
|
501
|
-
* @apioption series.timeline
|
|
502
|
-
*/
|
|
503
|
-
/**
|
|
504
|
-
* An array of data points for the series. For the `timeline` series type,
|
|
505
|
-
* points can be given with three general parameters, `name`, `label`,
|
|
506
|
-
* and `description`:
|
|
507
|
-
*
|
|
508
|
-
* Example:
|
|
509
|
-
*
|
|
510
|
-
* ```js
|
|
511
|
-
* series: [{
|
|
512
|
-
* type: 'timeline',
|
|
513
|
-
* data: [{
|
|
514
|
-
* name: 'Jan 2018',
|
|
515
|
-
* label: 'Some event label',
|
|
516
|
-
* description: 'Description to show in tooltip'
|
|
517
|
-
* }]
|
|
518
|
-
* }]
|
|
519
|
-
* ```
|
|
520
|
-
* If all points additionally have the `x` values, and xAxis type is set to
|
|
521
|
-
* `datetime`, then events are laid out on a true time axis, where their
|
|
522
|
-
* placement reflects the actual time between them.
|
|
523
|
-
*
|
|
524
|
-
* @sample {highcharts} highcharts/series-timeline/alternate-labels
|
|
525
|
-
* Alternate labels
|
|
526
|
-
* @sample {highcharts} highcharts/series-timeline/datetime-axis
|
|
527
|
-
* Real time intervals
|
|
528
|
-
*
|
|
529
|
-
* @type {Array<*>}
|
|
530
|
-
* @extends series.line.data
|
|
531
|
-
* @excluding marker, y
|
|
532
|
-
* @product highcharts
|
|
533
|
-
* @apioption series.timeline.data
|
|
534
|
-
*/
|
|
535
|
-
/**
|
|
536
|
-
* The name of event.
|
|
537
|
-
*
|
|
538
|
-
* @type {string}
|
|
539
|
-
* @product highcharts
|
|
540
|
-
* @apioption series.timeline.data.name
|
|
541
|
-
*/
|
|
542
|
-
/**
|
|
543
|
-
* The label of event.
|
|
544
|
-
*
|
|
545
|
-
* @type {string}
|
|
546
|
-
* @product highcharts
|
|
547
|
-
* @apioption series.timeline.data.label
|
|
548
|
-
*/
|
|
549
|
-
/**
|
|
550
|
-
* The description of event. This description will be shown in tooltip.
|
|
551
|
-
*
|
|
552
|
-
* @type {string}
|
|
553
|
-
* @product highcharts
|
|
554
|
-
* @apioption series.timeline.data.description
|
|
555
|
-
*/
|
|
556
|
-
''; // adds doclets above to transpiled file
|
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
/* *
|
|
2
|
+
*
|
|
3
|
+
* Timeline Series.
|
|
4
|
+
*
|
|
5
|
+
* (c) 2010-2021 Highsoft AS
|
|
6
|
+
*
|
|
7
|
+
* Author: Daniel Studencki
|
|
8
|
+
*
|
|
9
|
+
* License: www.highcharts.com/license
|
|
10
|
+
*
|
|
11
|
+
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
12
|
+
*
|
|
13
|
+
* */
|
|
14
|
+
'use strict';
|
|
15
|
+
/* *
|
|
16
|
+
*
|
|
17
|
+
* API Options
|
|
18
|
+
*
|
|
19
|
+
* */
|
|
20
|
+
/**
|
|
21
|
+
* The timeline series presents given events along a drawn line.
|
|
22
|
+
*
|
|
23
|
+
* @sample highcharts/series-timeline/alternate-labels
|
|
24
|
+
* Timeline series
|
|
25
|
+
* @sample highcharts/series-timeline/inverted
|
|
26
|
+
* Inverted timeline
|
|
27
|
+
* @sample highcharts/series-timeline/datetime-axis
|
|
28
|
+
* With true datetime axis
|
|
29
|
+
*
|
|
30
|
+
* @extends plotOptions.line
|
|
31
|
+
* @excluding animationLimit, boostThreshold, connectEnds, connectNulls,
|
|
32
|
+
* cropThreshold, dashStyle, findNearestPointBy,
|
|
33
|
+
* getExtremesFromAll, negativeColor, pointInterval,
|
|
34
|
+
* pointIntervalUnit, pointPlacement, pointStart,
|
|
35
|
+
* softThreshold, stacking, step, threshold, turboThreshold,
|
|
36
|
+
* zoneAxis, zones, dataSorting, boostBlending
|
|
37
|
+
* @product highcharts
|
|
38
|
+
* @since 7.0.0
|
|
39
|
+
* @requires modules/timeline
|
|
40
|
+
* @optionparent plotOptions.timeline
|
|
41
|
+
*/
|
|
42
|
+
var TimelineSeriesDefaults = {
|
|
43
|
+
colorByPoint: true,
|
|
44
|
+
stickyTracking: false,
|
|
45
|
+
ignoreHiddenPoint: true,
|
|
46
|
+
/**
|
|
47
|
+
* @ignore
|
|
48
|
+
*/
|
|
49
|
+
legendType: 'point',
|
|
50
|
+
/**
|
|
51
|
+
* Pixel width of the graph line.
|
|
52
|
+
*/
|
|
53
|
+
lineWidth: 4,
|
|
54
|
+
tooltip: {
|
|
55
|
+
headerFormat: '<span style="color:{point.color}">\u25CF</span> ' +
|
|
56
|
+
'<span style="font-size: 10px"> {point.key}</span><br/>',
|
|
57
|
+
pointFormat: '{point.description}'
|
|
58
|
+
},
|
|
59
|
+
states: {
|
|
60
|
+
hover: {
|
|
61
|
+
lineWidthPlus: 0
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
/**
|
|
65
|
+
* @declare Highcharts.TimelineDataLabelsOptionsObject
|
|
66
|
+
*/
|
|
67
|
+
dataLabels: {
|
|
68
|
+
enabled: true,
|
|
69
|
+
allowOverlap: true,
|
|
70
|
+
/**
|
|
71
|
+
* Whether to position data labels alternately. For example, if
|
|
72
|
+
* [distance](#plotOptions.timeline.dataLabels.distance)
|
|
73
|
+
* is set equal to `100`, then data labels will be positioned
|
|
74
|
+
* alternately (on both sides of the point) at a distance of 100px.
|
|
75
|
+
*
|
|
76
|
+
* @sample {highcharts} highcharts/series-timeline/alternate-disabled
|
|
77
|
+
* Alternate disabled
|
|
78
|
+
*/
|
|
79
|
+
alternate: true,
|
|
80
|
+
backgroundColor: "#ffffff" /* Palette.backgroundColor */,
|
|
81
|
+
borderWidth: 1,
|
|
82
|
+
borderColor: "#999999" /* Palette.neutralColor40 */,
|
|
83
|
+
borderRadius: 3,
|
|
84
|
+
color: "#333333" /* Palette.neutralColor80 */,
|
|
85
|
+
/**
|
|
86
|
+
* The color of the line connecting the data label to the point.
|
|
87
|
+
* The default color is the same as the point's color.
|
|
88
|
+
*
|
|
89
|
+
* In styled mode, the connector stroke is given in the
|
|
90
|
+
* `.highcharts-data-label-connector` class.
|
|
91
|
+
*
|
|
92
|
+
* @sample {highcharts} highcharts/series-timeline/connector-styles
|
|
93
|
+
* Custom connector width and color
|
|
94
|
+
*
|
|
95
|
+
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
|
|
96
|
+
* @apioption plotOptions.timeline.dataLabels.connectorColor
|
|
97
|
+
*/
|
|
98
|
+
/**
|
|
99
|
+
* The width of the line connecting the data label to the point.
|
|
100
|
+
*
|
|
101
|
+
* In styled mode, the connector stroke width is given in the
|
|
102
|
+
* `.highcharts-data-label-connector` class.
|
|
103
|
+
*
|
|
104
|
+
* @sample {highcharts} highcharts/series-timeline/connector-styles
|
|
105
|
+
* Custom connector width and color
|
|
106
|
+
*/
|
|
107
|
+
connectorWidth: 1,
|
|
108
|
+
/**
|
|
109
|
+
* A pixel value defining the distance between the data label and
|
|
110
|
+
* the point. Negative numbers puts the label on top of the point.
|
|
111
|
+
*/
|
|
112
|
+
distance: 100,
|
|
113
|
+
// eslint-disable-next-line valid-jsdoc
|
|
114
|
+
/**
|
|
115
|
+
* @type {Highcharts.TimelineDataLabelsFormatterCallbackFunction}
|
|
116
|
+
* @default function () {
|
|
117
|
+
* let format;
|
|
118
|
+
*
|
|
119
|
+
* if (!this.series.chart.styledMode) {
|
|
120
|
+
* format = '<span style="color:' + this.point.color +
|
|
121
|
+
* '">● </span>';
|
|
122
|
+
* } else {
|
|
123
|
+
* format = '<span>● </span>';
|
|
124
|
+
* }
|
|
125
|
+
* format += '<span>' + (this.key || '') + '</span><br/>' +
|
|
126
|
+
* (this.point.label || '');
|
|
127
|
+
* return format;
|
|
128
|
+
* }
|
|
129
|
+
*/
|
|
130
|
+
formatter: function () {
|
|
131
|
+
var format;
|
|
132
|
+
if (!this.series.chart.styledMode) {
|
|
133
|
+
format = '<span style="color:' + this.point.color +
|
|
134
|
+
'">● </span>';
|
|
135
|
+
}
|
|
136
|
+
else {
|
|
137
|
+
format = '<span>● </span>';
|
|
138
|
+
}
|
|
139
|
+
format += '<span class="highcharts-strong">' +
|
|
140
|
+
(this.key || '') + '</span><br/>' +
|
|
141
|
+
(this.point.label || '');
|
|
142
|
+
return format;
|
|
143
|
+
},
|
|
144
|
+
style: {
|
|
145
|
+
/** @internal */
|
|
146
|
+
textOutline: 'none',
|
|
147
|
+
/** @internal */
|
|
148
|
+
fontWeight: 'normal',
|
|
149
|
+
/** @internal */
|
|
150
|
+
fontSize: '12px'
|
|
151
|
+
},
|
|
152
|
+
/**
|
|
153
|
+
* Shadow options for the data label.
|
|
154
|
+
*
|
|
155
|
+
* @type {boolean|Highcharts.CSSObject}
|
|
156
|
+
*/
|
|
157
|
+
shadow: false,
|
|
158
|
+
/**
|
|
159
|
+
* @type {number}
|
|
160
|
+
* @apioption plotOptions.timeline.dataLabels.width
|
|
161
|
+
*/
|
|
162
|
+
verticalAlign: 'middle'
|
|
163
|
+
},
|
|
164
|
+
marker: {
|
|
165
|
+
enabledThreshold: 0,
|
|
166
|
+
symbol: 'square',
|
|
167
|
+
radius: 6,
|
|
168
|
+
lineWidth: 2,
|
|
169
|
+
height: 15
|
|
170
|
+
},
|
|
171
|
+
showInLegend: false,
|
|
172
|
+
colorKey: 'x'
|
|
173
|
+
};
|
|
174
|
+
/**
|
|
175
|
+
* The `timeline` series. If the [type](#series.timeline.type) option is
|
|
176
|
+
* not specified, it is inherited from [chart.type](#chart.type).
|
|
177
|
+
*
|
|
178
|
+
* @extends series,plotOptions.timeline
|
|
179
|
+
* @excluding animationLimit, boostThreshold, connectEnds, connectNulls,
|
|
180
|
+
* cropThreshold, dashStyle, dataParser, dataURL, findNearestPointBy,
|
|
181
|
+
* getExtremesFromAll, negativeColor, pointInterval,
|
|
182
|
+
* pointIntervalUnit, pointPlacement, pointStart, softThreshold,
|
|
183
|
+
* stacking, stack, step, threshold, turboThreshold, zoneAxis, zones,
|
|
184
|
+
* dataSorting, boostBlending
|
|
185
|
+
* @product highcharts
|
|
186
|
+
* @requires modules/timeline
|
|
187
|
+
* @apioption series.timeline
|
|
188
|
+
*/
|
|
189
|
+
/**
|
|
190
|
+
* An array of data points for the series. For the `timeline` series type,
|
|
191
|
+
* points can be given with three general parameters, `name`, `label`,
|
|
192
|
+
* and `description`:
|
|
193
|
+
*
|
|
194
|
+
* Example:
|
|
195
|
+
*
|
|
196
|
+
* ```js
|
|
197
|
+
* series: [{
|
|
198
|
+
* type: 'timeline',
|
|
199
|
+
* data: [{
|
|
200
|
+
* name: 'Jan 2018',
|
|
201
|
+
* label: 'Some event label',
|
|
202
|
+
* description: 'Description to show in tooltip'
|
|
203
|
+
* }]
|
|
204
|
+
* }]
|
|
205
|
+
* ```
|
|
206
|
+
* If all points additionally have the `x` values, and xAxis type is set to
|
|
207
|
+
* `datetime`, then events are laid out on a true time axis, where their
|
|
208
|
+
* placement reflects the actual time between them.
|
|
209
|
+
*
|
|
210
|
+
* @sample {highcharts} highcharts/series-timeline/alternate-labels
|
|
211
|
+
* Alternate labels
|
|
212
|
+
* @sample {highcharts} highcharts/series-timeline/datetime-axis
|
|
213
|
+
* Real time intervals
|
|
214
|
+
*
|
|
215
|
+
* @type {Array<*>}
|
|
216
|
+
* @extends series.line.data
|
|
217
|
+
* @excluding marker, y
|
|
218
|
+
* @product highcharts
|
|
219
|
+
* @apioption series.timeline.data
|
|
220
|
+
*/
|
|
221
|
+
/**
|
|
222
|
+
* The name of event.
|
|
223
|
+
*
|
|
224
|
+
* @type {string}
|
|
225
|
+
* @product highcharts
|
|
226
|
+
* @apioption series.timeline.data.name
|
|
227
|
+
*/
|
|
228
|
+
/**
|
|
229
|
+
* The label of event.
|
|
230
|
+
*
|
|
231
|
+
* @type {string}
|
|
232
|
+
* @product highcharts
|
|
233
|
+
* @apioption series.timeline.data.label
|
|
234
|
+
*/
|
|
235
|
+
/**
|
|
236
|
+
* The description of event. This description will be shown in tooltip.
|
|
237
|
+
*
|
|
238
|
+
* @type {string}
|
|
239
|
+
* @product highcharts
|
|
240
|
+
* @apioption series.timeline.data.description
|
|
241
|
+
*/
|
|
242
|
+
''; // adds doclets above to transpiled file
|
|
243
|
+
/* *
|
|
244
|
+
*
|
|
245
|
+
* Default Export
|
|
246
|
+
*
|
|
247
|
+
* */
|
|
248
|
+
export default TimelineSeriesDefaults;
|
|
@@ -77,9 +77,8 @@ function getColor(node, options) {
|
|
|
77
77
|
* Returns a map from level number to its given options.
|
|
78
78
|
*/
|
|
79
79
|
function getLevelOptions(params) {
|
|
80
|
-
var result =
|
|
80
|
+
var result = {}, defaults, converted, i, from, to, levels;
|
|
81
81
|
if (isObject(params)) {
|
|
82
|
-
result = {};
|
|
83
82
|
from = isNumber(params.from) ? params.from : 1;
|
|
84
83
|
levels = params.levels;
|
|
85
84
|
converted = {};
|