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
package/modules/timeline.src.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Highcharts JS v10.
|
|
2
|
+
* @license Highcharts JS v10.3.1 (2022-10-31)
|
|
3
3
|
*
|
|
4
4
|
* Timeline series
|
|
5
5
|
*
|
|
@@ -235,7 +235,261 @@
|
|
|
235
235
|
|
|
236
236
|
return TimelinePoint;
|
|
237
237
|
});
|
|
238
|
-
_registerModule(_modules, 'Series/Timeline/
|
|
238
|
+
_registerModule(_modules, 'Series/Timeline/TimelineSeriesDefaults.js', [], function () {
|
|
239
|
+
/* *
|
|
240
|
+
*
|
|
241
|
+
* Timeline Series.
|
|
242
|
+
*
|
|
243
|
+
* (c) 2010-2021 Highsoft AS
|
|
244
|
+
*
|
|
245
|
+
* Author: Daniel Studencki
|
|
246
|
+
*
|
|
247
|
+
* License: www.highcharts.com/license
|
|
248
|
+
*
|
|
249
|
+
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
250
|
+
*
|
|
251
|
+
* */
|
|
252
|
+
/* *
|
|
253
|
+
*
|
|
254
|
+
* API Options
|
|
255
|
+
*
|
|
256
|
+
* */
|
|
257
|
+
/**
|
|
258
|
+
* The timeline series presents given events along a drawn line.
|
|
259
|
+
*
|
|
260
|
+
* @sample highcharts/series-timeline/alternate-labels
|
|
261
|
+
* Timeline series
|
|
262
|
+
* @sample highcharts/series-timeline/inverted
|
|
263
|
+
* Inverted timeline
|
|
264
|
+
* @sample highcharts/series-timeline/datetime-axis
|
|
265
|
+
* With true datetime axis
|
|
266
|
+
*
|
|
267
|
+
* @extends plotOptions.line
|
|
268
|
+
* @excluding animationLimit, boostThreshold, connectEnds, connectNulls,
|
|
269
|
+
* cropThreshold, dashStyle, findNearestPointBy,
|
|
270
|
+
* getExtremesFromAll, negativeColor, pointInterval,
|
|
271
|
+
* pointIntervalUnit, pointPlacement, pointStart,
|
|
272
|
+
* softThreshold, stacking, step, threshold, turboThreshold,
|
|
273
|
+
* zoneAxis, zones, dataSorting, boostBlending
|
|
274
|
+
* @product highcharts
|
|
275
|
+
* @since 7.0.0
|
|
276
|
+
* @requires modules/timeline
|
|
277
|
+
* @optionparent plotOptions.timeline
|
|
278
|
+
*/
|
|
279
|
+
var TimelineSeriesDefaults = {
|
|
280
|
+
colorByPoint: true,
|
|
281
|
+
stickyTracking: false,
|
|
282
|
+
ignoreHiddenPoint: true,
|
|
283
|
+
/**
|
|
284
|
+
* @ignore
|
|
285
|
+
*/
|
|
286
|
+
legendType: 'point',
|
|
287
|
+
/**
|
|
288
|
+
* Pixel width of the graph line.
|
|
289
|
+
*/
|
|
290
|
+
lineWidth: 4,
|
|
291
|
+
tooltip: {
|
|
292
|
+
headerFormat: '<span style="color:{point.color}">\u25CF</span> ' +
|
|
293
|
+
'<span style="font-size: 10px"> {point.key}</span><br/>',
|
|
294
|
+
pointFormat: '{point.description}'
|
|
295
|
+
},
|
|
296
|
+
states: {
|
|
297
|
+
hover: {
|
|
298
|
+
lineWidthPlus: 0
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
/**
|
|
302
|
+
* @declare Highcharts.TimelineDataLabelsOptionsObject
|
|
303
|
+
*/
|
|
304
|
+
dataLabels: {
|
|
305
|
+
enabled: true,
|
|
306
|
+
allowOverlap: true,
|
|
307
|
+
/**
|
|
308
|
+
* Whether to position data labels alternately. For example,
|
|
309
|
+
if
|
|
310
|
+
* [distance](#plotOptions.timeline.dataLabels.distance)
|
|
311
|
+
* is set equal to `100`,
|
|
312
|
+
then data labels will be positioned
|
|
313
|
+
* alternately (on both sides of the point) at a distance of 100px.
|
|
314
|
+
*
|
|
315
|
+
* @sample {highcharts} highcharts/series-timeline/alternate-disabled
|
|
316
|
+
* Alternate disabled
|
|
317
|
+
*/
|
|
318
|
+
alternate: true,
|
|
319
|
+
backgroundColor: "#ffffff" /* Palette.backgroundColor */,
|
|
320
|
+
borderWidth: 1,
|
|
321
|
+
borderColor: "#999999" /* Palette.neutralColor40 */,
|
|
322
|
+
borderRadius: 3,
|
|
323
|
+
color: "#333333" /* Palette.neutralColor80 */,
|
|
324
|
+
/**
|
|
325
|
+
* The color of the line connecting the data label to the point.
|
|
326
|
+
* The default color is the same as the point's color.
|
|
327
|
+
*
|
|
328
|
+
* In styled mode,
|
|
329
|
+
the connector stroke is given in the
|
|
330
|
+
* `.highcharts-data-label-connector` class.
|
|
331
|
+
*
|
|
332
|
+
* @sample {highcharts} highcharts/series-timeline/connector-styles
|
|
333
|
+
* Custom connector width and color
|
|
334
|
+
*
|
|
335
|
+
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
|
|
336
|
+
* @apioption plotOptions.timeline.dataLabels.connectorColor
|
|
337
|
+
*/
|
|
338
|
+
/**
|
|
339
|
+
* The width of the line connecting the data label to the point.
|
|
340
|
+
*
|
|
341
|
+
* In styled mode,
|
|
342
|
+
the connector stroke width is given in the
|
|
343
|
+
* `.highcharts-data-label-connector` class.
|
|
344
|
+
*
|
|
345
|
+
* @sample {highcharts} highcharts/series-timeline/connector-styles
|
|
346
|
+
* Custom connector width and color
|
|
347
|
+
*/
|
|
348
|
+
connectorWidth: 1,
|
|
349
|
+
/**
|
|
350
|
+
* A pixel value defining the distance between the data label and
|
|
351
|
+
* the point. Negative numbers puts the label on top of the point.
|
|
352
|
+
*/
|
|
353
|
+
distance: 100,
|
|
354
|
+
// eslint-disable-next-line valid-jsdoc
|
|
355
|
+
/**
|
|
356
|
+
* @type {Highcharts.TimelineDataLabelsFormatterCallbackFunction}
|
|
357
|
+
* @default function () {
|
|
358
|
+
* let format;
|
|
359
|
+
*
|
|
360
|
+
* if (!this.series.chart.styledMode) {
|
|
361
|
+
* format = '<span style="color:' + this.point.color +
|
|
362
|
+
* '">● </span>';
|
|
363
|
+
* } else {
|
|
364
|
+
* format = '<span>● </span>';
|
|
365
|
+
* }
|
|
366
|
+
* format += '<span>' + (this.key || '') + '</span><br/>' +
|
|
367
|
+
* (this.point.label || '');
|
|
368
|
+
* return format;
|
|
369
|
+
* }
|
|
370
|
+
*/
|
|
371
|
+
formatter: function () {
|
|
372
|
+
var format;
|
|
373
|
+
if (!this.series.chart.styledMode) {
|
|
374
|
+
format = '<span style="color:' + this.point.color +
|
|
375
|
+
'">● </span>';
|
|
376
|
+
}
|
|
377
|
+
else {
|
|
378
|
+
format = '<span>● </span>';
|
|
379
|
+
}
|
|
380
|
+
format += '<span class="highcharts-strong">' +
|
|
381
|
+
(this.key || '') + '</span><br/>' +
|
|
382
|
+
(this.point.label || '');
|
|
383
|
+
return format;
|
|
384
|
+
},
|
|
385
|
+
style: {
|
|
386
|
+
/** @internal */
|
|
387
|
+
textOutline: 'none',
|
|
388
|
+
/** @internal */
|
|
389
|
+
fontWeight: 'normal',
|
|
390
|
+
/** @internal */
|
|
391
|
+
fontSize: '12px'
|
|
392
|
+
},
|
|
393
|
+
/**
|
|
394
|
+
* Shadow options for the data label.
|
|
395
|
+
*
|
|
396
|
+
* @type {boolean|Highcharts.CSSObject}
|
|
397
|
+
*/
|
|
398
|
+
shadow: false,
|
|
399
|
+
/**
|
|
400
|
+
* @type {number}
|
|
401
|
+
* @apioption plotOptions.timeline.dataLabels.width
|
|
402
|
+
*/
|
|
403
|
+
verticalAlign: 'middle'
|
|
404
|
+
},
|
|
405
|
+
marker: {
|
|
406
|
+
enabledThreshold: 0,
|
|
407
|
+
symbol: 'square',
|
|
408
|
+
radius: 6,
|
|
409
|
+
lineWidth: 2,
|
|
410
|
+
height: 15
|
|
411
|
+
},
|
|
412
|
+
showInLegend: false,
|
|
413
|
+
colorKey: 'x'
|
|
414
|
+
};
|
|
415
|
+
/**
|
|
416
|
+
* The `timeline` series. If the [type](#series.timeline.type) option is
|
|
417
|
+
* not specified, it is inherited from [chart.type](#chart.type).
|
|
418
|
+
*
|
|
419
|
+
* @extends series,plotOptions.timeline
|
|
420
|
+
* @excluding animationLimit, boostThreshold, connectEnds, connectNulls,
|
|
421
|
+
* cropThreshold, dashStyle, dataParser, dataURL, findNearestPointBy,
|
|
422
|
+
* getExtremesFromAll, negativeColor, pointInterval,
|
|
423
|
+
* pointIntervalUnit, pointPlacement, pointStart, softThreshold,
|
|
424
|
+
* stacking, stack, step, threshold, turboThreshold, zoneAxis, zones,
|
|
425
|
+
* dataSorting, boostBlending
|
|
426
|
+
* @product highcharts
|
|
427
|
+
* @requires modules/timeline
|
|
428
|
+
* @apioption series.timeline
|
|
429
|
+
*/
|
|
430
|
+
/**
|
|
431
|
+
* An array of data points for the series. For the `timeline` series type,
|
|
432
|
+
* points can be given with three general parameters, `name`, `label`,
|
|
433
|
+
* and `description`:
|
|
434
|
+
*
|
|
435
|
+
* Example:
|
|
436
|
+
*
|
|
437
|
+
* ```js
|
|
438
|
+
* series: [{
|
|
439
|
+
* type: 'timeline',
|
|
440
|
+
* data: [{
|
|
441
|
+
* name: 'Jan 2018',
|
|
442
|
+
* label: 'Some event label',
|
|
443
|
+
* description: 'Description to show in tooltip'
|
|
444
|
+
* }]
|
|
445
|
+
* }]
|
|
446
|
+
* ```
|
|
447
|
+
* If all points additionally have the `x` values, and xAxis type is set to
|
|
448
|
+
* `datetime`, then events are laid out on a true time axis, where their
|
|
449
|
+
* placement reflects the actual time between them.
|
|
450
|
+
*
|
|
451
|
+
* @sample {highcharts} highcharts/series-timeline/alternate-labels
|
|
452
|
+
* Alternate labels
|
|
453
|
+
* @sample {highcharts} highcharts/series-timeline/datetime-axis
|
|
454
|
+
* Real time intervals
|
|
455
|
+
*
|
|
456
|
+
* @type {Array<*>}
|
|
457
|
+
* @extends series.line.data
|
|
458
|
+
* @excluding marker, y
|
|
459
|
+
* @product highcharts
|
|
460
|
+
* @apioption series.timeline.data
|
|
461
|
+
*/
|
|
462
|
+
/**
|
|
463
|
+
* The name of event.
|
|
464
|
+
*
|
|
465
|
+
* @type {string}
|
|
466
|
+
* @product highcharts
|
|
467
|
+
* @apioption series.timeline.data.name
|
|
468
|
+
*/
|
|
469
|
+
/**
|
|
470
|
+
* The label of event.
|
|
471
|
+
*
|
|
472
|
+
* @type {string}
|
|
473
|
+
* @product highcharts
|
|
474
|
+
* @apioption series.timeline.data.label
|
|
475
|
+
*/
|
|
476
|
+
/**
|
|
477
|
+
* The description of event. This description will be shown in tooltip.
|
|
478
|
+
*
|
|
479
|
+
* @type {string}
|
|
480
|
+
* @product highcharts
|
|
481
|
+
* @apioption series.timeline.data.description
|
|
482
|
+
*/
|
|
483
|
+
''; // adds doclets above to transpiled file
|
|
484
|
+
/* *
|
|
485
|
+
*
|
|
486
|
+
* Default Export
|
|
487
|
+
*
|
|
488
|
+
* */
|
|
489
|
+
|
|
490
|
+
return TimelineSeriesDefaults;
|
|
491
|
+
});
|
|
492
|
+
_registerModule(_modules, 'Series/Timeline/TimelineSeries.js', [_modules['Core/Legend/LegendSymbol.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Core/Renderer/SVG/SVGElement.js'], _modules['Series/Timeline/TimelinePoint.js'], _modules['Series/Timeline/TimelineSeriesDefaults.js'], _modules['Core/Utilities.js']], function (LegendSymbol, SeriesRegistry, SVGElement, TimelinePoint, TimelineSeriesDefaults, U) {
|
|
239
493
|
/* *
|
|
240
494
|
*
|
|
241
495
|
* Timeline Series.
|
|
@@ -537,163 +791,7 @@
|
|
|
537
791
|
_super.prototype.processData.call(this, arguments);
|
|
538
792
|
return;
|
|
539
793
|
};
|
|
540
|
-
|
|
541
|
-
* The timeline series presents given events along a drawn line.
|
|
542
|
-
*
|
|
543
|
-
* @sample highcharts/series-timeline/alternate-labels
|
|
544
|
-
* Timeline series
|
|
545
|
-
* @sample highcharts/series-timeline/inverted
|
|
546
|
-
* Inverted timeline
|
|
547
|
-
* @sample highcharts/series-timeline/datetime-axis
|
|
548
|
-
* With true datetime axis
|
|
549
|
-
*
|
|
550
|
-
* @extends plotOptions.line
|
|
551
|
-
* @since 7.0.0
|
|
552
|
-
* @product highcharts
|
|
553
|
-
* @excluding animationLimit, boostThreshold, connectEnds, connectNulls,
|
|
554
|
-
* cropThreshold, dashStyle, findNearestPointBy,
|
|
555
|
-
* getExtremesFromAll, lineWidth, negativeColor,
|
|
556
|
-
* pointInterval, pointIntervalUnit, pointPlacement,
|
|
557
|
-
* pointStart, softThreshold, stacking, step, threshold,
|
|
558
|
-
* turboThreshold, zoneAxis, zones, dataSorting,
|
|
559
|
-
* boostBlending
|
|
560
|
-
* @requires modules/timeline
|
|
561
|
-
* @optionparent plotOptions.timeline
|
|
562
|
-
*
|
|
563
|
-
* @private
|
|
564
|
-
*/
|
|
565
|
-
TimelineSeries.defaultOptions = merge(LineSeries.defaultOptions, {
|
|
566
|
-
colorByPoint: true,
|
|
567
|
-
stickyTracking: false,
|
|
568
|
-
ignoreHiddenPoint: true,
|
|
569
|
-
/**
|
|
570
|
-
* @ignore
|
|
571
|
-
* @private
|
|
572
|
-
*/
|
|
573
|
-
legendType: 'point',
|
|
574
|
-
lineWidth: 4,
|
|
575
|
-
tooltip: {
|
|
576
|
-
headerFormat: '<span style="color:{point.color}">\u25CF</span> ' +
|
|
577
|
-
'<span style="font-size: 10px"> {point.key}</span><br/>',
|
|
578
|
-
pointFormat: '{point.description}'
|
|
579
|
-
},
|
|
580
|
-
states: {
|
|
581
|
-
hover: {
|
|
582
|
-
lineWidthPlus: 0
|
|
583
|
-
}
|
|
584
|
-
},
|
|
585
|
-
/**
|
|
586
|
-
* @declare Highcharts.TimelineDataLabelsOptionsObject
|
|
587
|
-
*
|
|
588
|
-
* @private
|
|
589
|
-
*/
|
|
590
|
-
dataLabels: {
|
|
591
|
-
enabled: true,
|
|
592
|
-
allowOverlap: true,
|
|
593
|
-
/**
|
|
594
|
-
* Whether to position data labels alternately. For example, if
|
|
595
|
-
* [distance](#plotOptions.timeline.dataLabels.distance)
|
|
596
|
-
* is set equal to `100`, then data labels will be positioned
|
|
597
|
-
* alternately (on both sides of the point) at a distance of 100px.
|
|
598
|
-
*
|
|
599
|
-
* @sample {highcharts} highcharts/series-timeline/alternate-disabled
|
|
600
|
-
* Alternate disabled
|
|
601
|
-
*/
|
|
602
|
-
alternate: true,
|
|
603
|
-
backgroundColor: "#ffffff" /* Palette.backgroundColor */,
|
|
604
|
-
borderWidth: 1,
|
|
605
|
-
borderColor: "#999999" /* Palette.neutralColor40 */,
|
|
606
|
-
borderRadius: 3,
|
|
607
|
-
color: "#333333" /* Palette.neutralColor80 */,
|
|
608
|
-
/**
|
|
609
|
-
* The color of the line connecting the data label to the point.
|
|
610
|
-
* The default color is the same as the point's color.
|
|
611
|
-
*
|
|
612
|
-
* In styled mode, the connector stroke is given in the
|
|
613
|
-
* `.highcharts-data-label-connector` class.
|
|
614
|
-
*
|
|
615
|
-
* @sample {highcharts} highcharts/series-timeline/connector-styles
|
|
616
|
-
* Custom connector width and color
|
|
617
|
-
*
|
|
618
|
-
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
|
|
619
|
-
* @apioption plotOptions.timeline.dataLabels.connectorColor
|
|
620
|
-
*/
|
|
621
|
-
/**
|
|
622
|
-
* The width of the line connecting the data label to the point.
|
|
623
|
-
*
|
|
624
|
-
* In styled mode, the connector stroke width is given in the
|
|
625
|
-
* `.highcharts-data-label-connector` class.
|
|
626
|
-
*
|
|
627
|
-
* @sample {highcharts} highcharts/series-timeline/connector-styles
|
|
628
|
-
* Custom connector width and color
|
|
629
|
-
*/
|
|
630
|
-
connectorWidth: 1,
|
|
631
|
-
/**
|
|
632
|
-
* A pixel value defining the distance between the data label and
|
|
633
|
-
* the point. Negative numbers puts the label on top of the point.
|
|
634
|
-
*/
|
|
635
|
-
distance: 100,
|
|
636
|
-
// eslint-disable-next-line valid-jsdoc
|
|
637
|
-
/**
|
|
638
|
-
* @type {Highcharts.TimelineDataLabelsFormatterCallbackFunction}
|
|
639
|
-
* @default function () {
|
|
640
|
-
* let format;
|
|
641
|
-
*
|
|
642
|
-
* if (!this.series.chart.styledMode) {
|
|
643
|
-
* format = '<span style="color:' + this.point.color +
|
|
644
|
-
* '">● </span>';
|
|
645
|
-
* } else {
|
|
646
|
-
* format = '<span>● </span>';
|
|
647
|
-
* }
|
|
648
|
-
* format += '<span>' + (this.key || '') + '</span><br/>' +
|
|
649
|
-
* (this.point.label || '');
|
|
650
|
-
* return format;
|
|
651
|
-
* }
|
|
652
|
-
*/
|
|
653
|
-
formatter: function () {
|
|
654
|
-
var format;
|
|
655
|
-
if (!this.series.chart.styledMode) {
|
|
656
|
-
format = '<span style="color:' + this.point.color +
|
|
657
|
-
'">● </span>';
|
|
658
|
-
}
|
|
659
|
-
else {
|
|
660
|
-
format = '<span>● </span>';
|
|
661
|
-
}
|
|
662
|
-
format += '<span class="highcharts-strong">' +
|
|
663
|
-
(this.key || '') + '</span><br/>' +
|
|
664
|
-
(this.point.label || '');
|
|
665
|
-
return format;
|
|
666
|
-
},
|
|
667
|
-
style: {
|
|
668
|
-
/** @internal */
|
|
669
|
-
textOutline: 'none',
|
|
670
|
-
/** @internal */
|
|
671
|
-
fontWeight: 'normal',
|
|
672
|
-
/** @internal */
|
|
673
|
-
fontSize: '12px'
|
|
674
|
-
},
|
|
675
|
-
/**
|
|
676
|
-
* Shadow options for the data label.
|
|
677
|
-
*
|
|
678
|
-
* @type {boolean|Highcharts.CSSObject}
|
|
679
|
-
*/
|
|
680
|
-
shadow: false,
|
|
681
|
-
/**
|
|
682
|
-
* @type {number}
|
|
683
|
-
* @apioption plotOptions.timeline.dataLabels.width
|
|
684
|
-
*/
|
|
685
|
-
verticalAlign: 'middle'
|
|
686
|
-
},
|
|
687
|
-
marker: {
|
|
688
|
-
enabledThreshold: 0,
|
|
689
|
-
symbol: 'square',
|
|
690
|
-
radius: 6,
|
|
691
|
-
lineWidth: 2,
|
|
692
|
-
height: 15
|
|
693
|
-
},
|
|
694
|
-
showInLegend: false,
|
|
695
|
-
colorKey: 'x'
|
|
696
|
-
});
|
|
794
|
+
TimelineSeries.defaultOptions = merge(LineSeries.defaultOptions, TimelineSeriesDefaults);
|
|
697
795
|
return TimelineSeries;
|
|
698
796
|
}(LineSeries));
|
|
699
797
|
extend(TimelineSeries.prototype, {
|
|
@@ -742,80 +840,6 @@
|
|
|
742
840
|
* @type {Highcharts.Series}
|
|
743
841
|
*/
|
|
744
842
|
''; // dettach doclets above
|
|
745
|
-
/* *
|
|
746
|
-
*
|
|
747
|
-
* API Options
|
|
748
|
-
*
|
|
749
|
-
* */
|
|
750
|
-
/**
|
|
751
|
-
* The `timeline` series. If the [type](#series.timeline.type) option is
|
|
752
|
-
* not specified, it is inherited from [chart.type](#chart.type).
|
|
753
|
-
*
|
|
754
|
-
* @extends series,plotOptions.timeline
|
|
755
|
-
* @excluding animationLimit, boostThreshold, connectEnds, connectNulls,
|
|
756
|
-
* cropThreshold, dashStyle, dataParser, dataURL, findNearestPointBy,
|
|
757
|
-
* getExtremesFromAll, lineWidth, negativeColor,
|
|
758
|
-
* pointInterval, pointIntervalUnit, pointPlacement, pointStart,
|
|
759
|
-
* softThreshold, stacking, stack, step, threshold, turboThreshold,
|
|
760
|
-
* zoneAxis, zones, dataSorting, boostBlending
|
|
761
|
-
* @product highcharts
|
|
762
|
-
* @requires modules/timeline
|
|
763
|
-
* @apioption series.timeline
|
|
764
|
-
*/
|
|
765
|
-
/**
|
|
766
|
-
* An array of data points for the series. For the `timeline` series type,
|
|
767
|
-
* points can be given with three general parameters, `name`, `label`,
|
|
768
|
-
* and `description`:
|
|
769
|
-
*
|
|
770
|
-
* Example:
|
|
771
|
-
*
|
|
772
|
-
* ```js
|
|
773
|
-
* series: [{
|
|
774
|
-
* type: 'timeline',
|
|
775
|
-
* data: [{
|
|
776
|
-
* name: 'Jan 2018',
|
|
777
|
-
* label: 'Some event label',
|
|
778
|
-
* description: 'Description to show in tooltip'
|
|
779
|
-
* }]
|
|
780
|
-
* }]
|
|
781
|
-
* ```
|
|
782
|
-
* If all points additionally have the `x` values, and xAxis type is set to
|
|
783
|
-
* `datetime`, then events are laid out on a true time axis, where their
|
|
784
|
-
* placement reflects the actual time between them.
|
|
785
|
-
*
|
|
786
|
-
* @sample {highcharts} highcharts/series-timeline/alternate-labels
|
|
787
|
-
* Alternate labels
|
|
788
|
-
* @sample {highcharts} highcharts/series-timeline/datetime-axis
|
|
789
|
-
* Real time intervals
|
|
790
|
-
*
|
|
791
|
-
* @type {Array<*>}
|
|
792
|
-
* @extends series.line.data
|
|
793
|
-
* @excluding marker, y
|
|
794
|
-
* @product highcharts
|
|
795
|
-
* @apioption series.timeline.data
|
|
796
|
-
*/
|
|
797
|
-
/**
|
|
798
|
-
* The name of event.
|
|
799
|
-
*
|
|
800
|
-
* @type {string}
|
|
801
|
-
* @product highcharts
|
|
802
|
-
* @apioption series.timeline.data.name
|
|
803
|
-
*/
|
|
804
|
-
/**
|
|
805
|
-
* The label of event.
|
|
806
|
-
*
|
|
807
|
-
* @type {string}
|
|
808
|
-
* @product highcharts
|
|
809
|
-
* @apioption series.timeline.data.label
|
|
810
|
-
*/
|
|
811
|
-
/**
|
|
812
|
-
* The description of event. This description will be shown in tooltip.
|
|
813
|
-
*
|
|
814
|
-
* @type {string}
|
|
815
|
-
* @product highcharts
|
|
816
|
-
* @apioption series.timeline.data.description
|
|
817
|
-
*/
|
|
818
|
-
''; // adds doclets above to transpiled file
|
|
819
843
|
|
|
820
844
|
return TimelineSeries;
|
|
821
845
|
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*!*
|
|
2
|
+
*
|
|
3
|
+
* Copyright (c) Highsoft AS. All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
*!*/
|
|
6
|
+
import * as globals from "../globals";
|
|
7
|
+
import * as _Highcharts from "../highcharts";
|
|
8
|
+
/**
|
|
9
|
+
* Adds the module to the imported Highcharts namespace.
|
|
10
|
+
*
|
|
11
|
+
* @param highcharts
|
|
12
|
+
* The imported Highcharts namespace to extend.
|
|
13
|
+
*/
|
|
14
|
+
export function factory(highcharts: typeof Highcharts): void;
|
|
15
|
+
declare module "../highcharts" {}
|
|
16
|
+
export default factory;
|
|
17
|
+
export let Highcharts: typeof _Highcharts;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Highcharts JS v10.3.1 (2022-10-31)
|
|
3
|
+
Treegraph chart series type
|
|
4
|
+
|
|
5
|
+
(c) 2010-2022 Pawel Lysy Grzegorz Blachlinski
|
|
6
|
+
|
|
7
|
+
License: www.highcharts.com/license
|
|
8
|
+
*/
|
|
9
|
+
(function(d){"object"===typeof module&&module.exports?(d["default"]=d,module.exports=d):"function"===typeof define&&define.amd?define("highcharts/modules/treegraph",["highcharts","highcharts/modules/treemap"],function(h){d(h);d.Highcharts=h;return d}):d("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(d){function h(d,f,c,b){d.hasOwnProperty(f)||(d[f]=b.apply(null,c),"function"===typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:f,module:d[f]}})))}
|
|
10
|
+
d=d?d._modules:{};h(d,"Series/PathUtilities.js",[],function(){return{curvedPath:function(d,f){for(var c=[],b=0;b<d.length;b++){var a=d[b][1],e=d[b][2];if("number"===typeof a&&"number"===typeof e)if(0===b)c.push(["M",a,e]);else if(b===d.length-1)c.push(["L",a,e]);else if(f){var g=d[b-1],l=d[b+1];if(g&&l){var m=g[1];g=g[2];var k=l[1];l=l[2];if("number"===typeof m&&"number"===typeof k&&"number"===typeof g&&"number"===typeof l&&m!==k&&g!==l){var A=m<k?1:-1,t=g<l?1:-1;c.push(["L",a-A*Math.min(Math.abs(a-
|
|
11
|
+
m),f),e-t*Math.min(Math.abs(e-g),f)],["C",a,e,a,e,a+A*Math.min(Math.abs(a-k),f),e+t*Math.min(Math.abs(e-l),f)])}}}else c.push(["L",a,e])}return c}}});h(d,"Series/Treegraph/TreegraphNode.js",[d["Core/Series/SeriesRegistry.js"]],function(d){var f=this&&this.__extends||function(){var c=function(b,a){c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var e in b)b.hasOwnProperty(e)&&(a[e]=b[e])};return c(b,a)};return function(b,a){function e(){this.constructor=
|
|
12
|
+
b}c(b,a);b.prototype=null===a?Object.create(a):(e.prototype=a.prototype,new e)}}();return function(c){function b(){var a=null!==c&&c.apply(this,arguments)||this;a.mod=0;a.shift=0;a.change=0;a.children=[];a.preX=0;a.hidden=!1;a.wasVisited=!1;a.collapsed=!1;return a}f(b,c);b.prototype.nextLeft=function(){return this.getLeftMostChild()||this.thread};b.prototype.nextRight=function(){return this.getRightMostChild()||this.thread};b.prototype.getAncestor=function(a,e){return a.ancestor.children[0]===this.children[0]?
|
|
13
|
+
a.ancestor:e};b.prototype.getLeftMostSibling=function(){var a=this.getParent();if(a){var e=0;for(a=a.children;e<a.length;e++){var b=a[e];if(b&&b.point.visible)return b}}};b.prototype.hasChildren=function(){for(var a=this.children,b=0;b<a.length;b++)if(a[b].point.visible)return!0;return!1};b.prototype.getLeftSibling=function(){var a=this.getParent();if(a){a=a.children;for(var b=this.relativeXPosition-1;0<=b;b--)if(a[b]&&a[b].point.visible)return a[b]}};b.prototype.getLeftMostChild=function(){for(var a=
|
|
14
|
+
this.children,b=0;b<a.length;b++)if(a[b].point.visible)return a[b]};b.prototype.getRightMostChild=function(){for(var a=this.children,b=a.length-1;0<=b;b--)if(a[b].point.visible)return a[b]};b.prototype.getParent=function(){return this.parentNode};b.prototype.getFirstChild=function(){for(var a=this.children,b=0;b<a.length;b++)if(a[b].point.visible)return a[b]};return b}(d.seriesTypes.treemap.prototype.NodeClass)});h(d,"Series/Treegraph/TreegraphPoint.js",[d["Core/Series/Point.js"],d["Core/Series/SeriesRegistry.js"],
|
|
15
|
+
d["Core/Utilities.js"]],function(d,f,c){var b=this&&this.__extends||function(){var a=function(b,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return a(b,c)};return function(b,c){function e(){this.constructor=b}a(b,c);b.prototype=null===c?Object.create(c):(e.prototype=c.prototype,new e)}}(),a=c.addEvent,e=c.fireEvent,g=c.merge,l=c.pick;f=function(a){function c(){var b=null!==a&&a.apply(this,arguments)||
|
|
16
|
+
this;b.options=void 0;b.isLink=!1;b.series=void 0;b.node=void 0;return b}b(c,a);c.prototype.draw=function(){a.prototype.draw.apply(this,arguments);this.renderCollapseButton()};c.prototype.renderCollapseButton=function(){var a=this.series,b=this.graphic&&this.graphic.parentGroup;a=g(a.options.collapseButton,(a.mapOptionsToLevel[this.node.level||0]||{}).collapseButton,this.series.options.collapseButton);var c=a.width,e=a.height,d=a.shape,f=a.style,m=this.series.chart;if(this.shapeArgs)if(this.collapseButtonOptions=
|
|
17
|
+
a,this.collapseButton)this.node.children.length&&a.enabled?(b=this.getCollapseBtnPosition(a),l=b.x,k=b.y,this.collapseButton.attr({text:this.collapsed?"+":"-",rotation:m.inverted?90:0,rotationOriginX:c/2,rotationOriginY:e/2,visibility:!this.visible||a.onlyOnHover&&"hover"!==this.state&&!this.collapsed?"hidden":"inherit"}).animate({x:l,y:k})):(this.collapseButton.destroy(),delete this.collapseButton);else if(this.node.children.length&&a.enabled){k=this.getCollapseBtnPosition(a);var l=k.x,k=k.y;this.collapseButton=
|
|
18
|
+
m.renderer.label(this.collapsed?"+":"-",l,k,d).attr({height:e-4,width:c-4,padding:2,fill:"#cccccc",rotation:m.inverted?90:0,rotationOriginX:c/2,rotationOriginY:e/2,stroke:"#333333","stroke-width":1,"text-align":"center",align:"center",zIndex:1}).addClass("highcharts-tracker").addClass("highcharts-collapse-button").removeClass("highcharts-no-tooltip").css(f||{}).add(b);this.collapseButton.element.point=this;a.onlyOnHover&&!this.collapsed&&this.collapseButton.hide()}};c.prototype.toggleCollapse=function(a){this.collapsed=
|
|
19
|
+
l(a,!this.collapsed);e(this.series,"toggleCollapse");this.series.redraw()};c.prototype.shouldDraw=function(){return a.prototype.shouldDraw.call(this)&&this.visible};c.prototype.destroy=function(){this.collapseButton&&(this.collapseButton.destroy(),delete this.collapseButton,this.collapseButton=void 0);a.prototype.destroy.apply(this,arguments)};c.prototype.getCollapseBtnPosition=function(a){var b=a.width,c=a.height,e=this.shapeArgs||{},g=e.x,d=e.y,f=e.width;e=e.height;return{x:(void 0===g?0:g)+a.x+
|
|
20
|
+
(this.series.chart.inverted?.3*-c:(void 0===f?0:f)+-.3*b),y:(void 0===d?0:d)+(void 0===e?0:e)/2-c/2+a.y}};c.prototype.setState=function(){d.prototype.setState.apply(this,arguments)};return c}(f.seriesTypes.treemap.prototype.pointClass);a(f,"mouseOut",function(){var a=this.collapseButton,b=this.collapseButtonOptions;a&&b&&b.onlyOnHover&&!this.collapsed&&a.hide()});a(f,"mouseOver",function(){this.collapseButton&&this.collapseButton.show()});a(f,"click",function(){this.toggleCollapse()});return f});
|
|
21
|
+
h(d,"Series/Treegraph/TreegraphLink.js",[d["Core/Series/Point.js"],d["Core/Utilities.js"],d["Core/Series/SeriesRegistry.js"]],function(d,f,c){var b=this&&this.__extends||function(){var a=function(b,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return a(b,c)};return function(b,c){function e(){this.constructor=b}a(b,c);b.prototype=null===c?Object.create(c):(e.prototype=c.prototype,new e)}}(),a=
|
|
22
|
+
f.pick,e=f.extend;return function(c){function g(){var a=null!==c&&c.apply(this,arguments)||this;a.isLink=!0;a.node={};a.formatPrefix="link";a.dataLabelOnNull=!0;return a}b(g,c);g.prototype.init=function(a,b,e,d){var g=c.prototype.init.apply(this,arguments);this.formatPrefix="link";this.dataLabelOnNull=!0;d&&(g.fromNode=d.node.parentNode.point,g.visible=d.visible,g.toNode=d,this.id=g.toNode.id+"-"+g.fromNode.id);return g};g.prototype.update=function(b,c,g,f){var l={id:this.id,formatPrefix:this.formatPrefix};
|
|
23
|
+
d.prototype.update.call(this,b,this.isLink?!1:c,g,f);this.visible=this.toNode.visible;e(this,l);a(c,!0)&&this.series.chart.redraw(g)};return g}(c.seriesTypes.column.prototype.pointClass)});h(d,"Series/Treegraph/TreegraphLayout.js",[d["Series/Treegraph/TreegraphNode.js"]],function(d){return function(){function f(){}f.createDummyNode=function(c,b,a,e){e=new d;e.id=c.id+"-"+a;e.ancestor=c;e.children.push(b);e.parent=c.id;e.parentNode=c;e.point=b.point;e.level=b.level-a;e.relativeXPosition=b.relativeXPosition;
|
|
24
|
+
e.visible=b.visible;c.children[b.relativeXPosition]=e;b.oldParentNode=c;b.relativeXPosition=0;b.parentNode=e;b.parent=e.id;return e};f.prototype.calculatePositions=function(c){var b=c.nodeList;this.resetValues(b);if(c=c.tree)this.calculateRelativeX(c,0),this.beforeLayout(b),this.firstWalk(c),this.secondWalk(c,-c.preX),this.afterLayout(b)};f.prototype.beforeLayout=function(c){for(var b=0;b<c.length;b++)for(var a=c[b],e=0,d=0,l=a.children;d<l.length;d++){var m=l[d];if(m&&1<m.level-a.level)for(var k=
|
|
25
|
+
m.level-a.level-1;0<k;)m=f.createDummyNode(a,m,k,e),k--;++e}};f.prototype.resetValues=function(c){for(var b=0;b<c.length;b++){var a=c[b];a.mod=0;a.ancestor=a;a.shift=0;a.thread=void 0;a.change=0;a.preX=0}};f.prototype.calculateRelativeX=function(c,b){for(var a=c.children,e=0,d=a.length;e<d;++e)this.calculateRelativeX(a[e],e);c.relativeXPosition=b};f.prototype.firstWalk=function(c){if(c.hasChildren()){var b=c.getLeftMostChild();for(var a=0,e=c.children;a<e.length;a++){var d=e[a];this.firstWalk(d);
|
|
26
|
+
b=this.apportion(d,b)}this.executeShifts(c);b=c.getLeftMostChild();a=c.getRightMostChild();a=(b.preX+a.preX)/2;(b=c.getLeftSibling())?(c.preX=b.preX+1,c.mod=c.preX-a):c.preX=a}else(b=c.getLeftSibling())?(c.preX=b.preX+1,c.mod=c.preX):c.preX=0};f.prototype.secondWalk=function(c,b){c.yPosition=c.preX+b;c.xPosition=c.level;for(var a=0,e=c.children;a<e.length;a++)this.secondWalk(e[a],b+c.mod)};f.prototype.executeShifts=function(c){for(var b=0,a=0,e=c.children.length-1;0<=e;e--){var d=c.children[e];d.preX+=
|
|
27
|
+
b;d.mod+=b;a+=d.change;b+=d.shift+a}};f.prototype.apportion=function(c,b){var a=c.getLeftSibling();if(a){for(var e=c,d=c,f=e.getLeftMostSibling(),m=e.mod,k=d.mod,h=a.mod,t=f.mod;a&&a.nextRight()&&e&&e.nextLeft();){a=a.nextRight();f=f.nextLeft();e=e.nextLeft();d=d.nextRight();d.ancestor=c;var n=a.preX+h-(e.preX+m)+1;0<n&&(this.moveSubtree(c.getAncestor(a,b),c,n),m+=n,k+=n);h+=a.mod;m+=e.mod;t+=f.mod;k+=d.mod}a&&a.nextRight()&&!d.nextRight()&&(d.thread=a.nextRight(),d.mod+=h-k);e&&e.nextLeft()&&!f.nextLeft()&&
|
|
28
|
+
(f.thread=e.nextLeft(),f.mod+=m-t);b=c}return b};f.prototype.moveSubtree=function(c,b,a){var e=b.relativeXPosition-c.relativeXPosition;b.change-=a/e;b.shift+=a;b.preX+=a;b.mod+=a;c.change+=a/e};f.prototype.afterLayout=function(c){for(var b=0;b<c.length;b++){var a=c[b];a.oldParentNode&&(a.relativeXPosition=a.parentNode.relativeXPosition,a.parent=a.oldParentNode.parent,a.parentNode=a.oldParentNode,delete a.oldParentNode.children[a.relativeXPosition],a.oldParentNode.children[a.relativeXPosition]=a,a.oldParentNode=
|
|
29
|
+
void 0)}};return f}()});h(d,"Series/Treegraph/TreegraphSeriesDefaults.js",[],function(){return{reversed:!1,marker:{radius:10,lineWidth:0,symbol:"circle",fillOpacity:1,states:{}},link:{color:"#666666",lineWidth:1,radius:10,cursor:"default",type:"curved"},collapseButton:{onlyOnHover:!0,enabled:!0,x:0,y:0,height:10,width:10,shape:"circle"},tooltip:{linkFormat:"{point.fromNode.id} \u2192 {point.toNode.id}",pointFormat:"{point.id}"},dataLabels:{linkTextPath:{attributes:{startOffset:"50%"}},enabled:!0,
|
|
30
|
+
linkFormatter:function(){return""},formatter:function(){return this.point.id}}}});h(d,"Series/Treegraph/TreegraphSeries.js",[d["Series/PathUtilities.js"],d["Core/Series/SeriesRegistry.js"],d["Core/Renderer/SVG/SVGRenderer.js"],d["Series/Treegraph/TreegraphNode.js"],d["Series/Treegraph/TreegraphPoint.js"],d["Series/TreeUtilities.js"],d["Core/Utilities.js"],d["Series/Treegraph/TreegraphLink.js"],d["Series/Treegraph/TreegraphLayout.js"],d["Series/Treegraph/TreegraphSeriesDefaults.js"]],function(d,f,
|
|
31
|
+
c,b,a,e,g,l,m,k){var h=this&&this.__extends||function(){var a=function(b,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return a(b,c)};return function(b,c){function d(){this.constructor=b}a(b,c);b.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}(),t=d.curvedPath,n=f.series.prototype;d=f.seriesTypes;var B=d.treemap,C=d.column,D=c.prototype.symbols,E=e.getLevelOptions;c=g.extend;
|
|
32
|
+
var F=g.isArray,u=g.merge,v=g.pick,y=g.relativeLength;g=function(a){function b(){var b=null!==a&&a.apply(this,arguments)||this;b.data=void 0;b.options=void 0;b.points=void 0;b.layoutModifier=void 0;b.nodeMap=void 0;b.tree=void 0;b.nodeList=[];b.layoutAlgorythm=void 0;b.links=[];b.mapOptionsToLevel=void 0;return b}h(b,a);b.prototype.init=function(){a.prototype.init.apply(this,arguments);this.layoutAlgorythm=new m};b.prototype.getLayoutModifiers=function(){var b=this,a=this.chart,c=this,d=a.plotSizeX,
|
|
33
|
+
e=a.plotSizeY,f=Infinity,g=-Infinity,l=Infinity,m=-Infinity,k=0,h=0,z=0,w=0;this.points.forEach(function(a){var q=a.node;a=u(b.options.marker,(c.mapOptionsToLevel[a.node.level]||{}).marker,a.options.marker);var p=y(a.radius||0,Math.min(d,e)),r=a.symbol,x="circle"!==r&&a.height?y(a.height,e):2*p;p="circle"!==r&&a.width?y(a.width,d):2*p;q.nodeSizeX=p;q.nodeSizeY=x;q.xPosition<=f&&(f=q.xPosition,r=a.lineWidth||0,h=Math.max(p+r,h));q.xPosition>=g&&(g=q.xPosition,r=a.lineWidth||0,k=Math.max(p+r,k));q.yPosition<=
|
|
34
|
+
l&&(l=q.yPosition,r=a.lineWidth||0,w=Math.max(x+r,w));q.yPosition>=m&&(m=q.yPosition,r=a.lineWidth||0,z=Math.max(x+r,z))});a=m===l?1:(e-(w+z)/2)/(m-l);var n=g===f?1:(d-(k+k)/2)/(g-f);return{ax:n,bx:g===f?d/2:-n*f+h/2,ay:a,by:m===l?e/2:-a*l+w/2}};b.prototype.getLinks=function(){var a=this,b=[];this.data.forEach(function(c,d){d=a.mapOptionsToLevel[c.node.level||0]||{};c.node.parent?(d=u(d,c.options),c.linkToParent&&c.linkToParent.update?c.linkToParent.update(d,!1):(d=(new a.LinkClass).init(a,d,void 0,
|
|
35
|
+
c),c.linkToParent=d),c.linkToParent.index=b.push(c.linkToParent)-1):c.linkToParent&&(a.links.splice(c.linkToParent.index),c.linkToParent.destroy(),delete c.linkToParent)});return b};b.prototype.buildTree=function(b,c,d,e,f){var q=this.points[c];d=q&&q.level||d;return a.prototype.buildTree.call(this,b,c,d,e,f)};b.prototype.setCollapsedStatus=function(a,b){var c=this,d=a.point;d&&(d.collapsed=v(d.collapsed,(this.mapOptionsToLevel[a.level]||{}).collapsed),d.visible=b,b=!1===b?!1:!d.collapsed);a.children.forEach(function(a){c.setCollapsedStatus(a,
|
|
36
|
+
b)})};b.prototype.translate=function(){var a=this,b=this.options,c=e.updateRootId(this);n.translate.call(this);var d=this.tree=this.getTree();var f=this.nodeMap[c];""===c||f&&f.children.length||(this.setRootNode("",!1),c=this.rootNode,f=this.nodeMap[c]);this.mapOptionsToLevel=E({from:f.level+1,levels:b.levels,to:d.height,defaults:{levelIsConstant:this.options.levelIsConstant,colorByPoint:b.colorByPoint}});this.setCollapsedStatus(d,!0);this.links=this.getLinks();this.setTreeValues(d);this.layoutAlgorythm.calculatePositions(this);
|
|
37
|
+
this.layoutModifier=this.getLayoutModifiers();this.points.forEach(function(b){a.translateNode(b)});this.points.forEach(function(b){b.linkToParent&&a.translateLink(b.linkToParent)})};b.prototype.translateLink=function(a){var b=a.fromNode,c=a.toNode,d=this.options.link.lineWidth,e=Math.round(d)%2/2,f=v(this.options.link.curveFactor,.5),g=v(a.options.link&&a.options.link.type,this.options.link.type);if(b.shapeArgs&&c.shapeArgs){var p=b.shapeArgs.width||0,l=this.chart.inverted,m=Math.floor((b.shapeArgs.y||
|
|
38
|
+
0)+(b.shapeArgs.height||0)/2)+e,k=Math.floor((c.shapeArgs.y||0)+(c.shapeArgs.height||0)/2)+e,h=Math.floor((b.shapeArgs.x||0)+p)+e,n=Math.floor(c.shapeArgs.x||0)+e;l&&(h-=p,n+=c.shapeArgs.width||0);b=c.node.xPosition-b.node.xPosition;a.shapeType="path";p=(Math.abs(n-h)+p)/b-p;f=p*f*(l?-1:1);a.plotX=Math.floor((n+h)/2)+e;a.plotY=k;a.shapeArgs="straight"===g?{d:[["M",h,m],["L",h+p*(l?-1:1),k],["L",n,k]]}:"curved"===g?{d:[["M",h,m],["C",h+f,m,h-f+p*(l?-1:1),k,h+p*(l?-1:1),k],["L",n,k]]}:{d:t([["M",h,
|
|
39
|
+
m],["L",h+p*(l?-.5:.5),m],["L",h+p*(l?-.5:.5),k],["L",n,k]],this.options.link.radius)};a.dlBox={x:(h+n)/2,y:(m+k)/2,height:d,width:0};a.tooltipPos=l?[(this.chart.plotSizeY||0)-a.dlBox.y,(this.chart.plotSizeX||0)-a.dlBox.x]:[a.dlBox.x,a.dlBox.y]}};b.prototype.drawNodeLabels=function(a){for(var b=this.mapOptionsToLevel,c,d,e=0;e<a.length;e++){var f=a[e];d=b[f.node.level];c={style:{}};d&&d.dataLabels&&(c=u(c,d.dataLabels),this._hasPointLabels=!0);f.shapeArgs&&(c.style.width=f.shapeArgs.width,f.dataLabel&&
|
|
40
|
+
f.dataLabel.css({width:f.shapeArgs.width+"px"}));f.dlOptions=u(c,f.options.dataLabels)}n.drawDataLabels.call(this,a)};b.prototype.drawDataLabels=function(){this.options.dataLabels&&(F(this.options.dataLabels)||(this.options.dataLabels=[this.options.dataLabels]),this.drawNodeLabels(this.points),n.drawDataLabels.call(this,this.links))};b.prototype.destroy=function(){for(var a=0,b=this.links;a<b.length;a++)b[a].destroy();return n.destroy.apply(this,arguments)};b.prototype.pointAttribs=function(a,b){var c=
|
|
41
|
+
this.mapOptionsToLevel[a.node.level||0]||{},d=a.options,e=c.states&&c.states[b]||{};a.options.marker=u(this.options.marker,c.marker,a.options.marker);var f=v(e.borderRadius,d.borderRadius,c.borderRadius,this.options.borderRadius),g=v(e.link&&e.link.color,d.link&&d.link.color,c.link&&c.link.color,this.options.link&&this.options.link.color);c=v(e.link&&e.link.lineWidth,d.link&&d.link.lineWidth,c.link&&c.link.lineWidth,this.options.link&&this.options.link.lineWidth);b=n.pointAttribs.call(this,a,b);a.isLink?
|
|
42
|
+
(b.stroke=g,b["stroke-width"]=c,delete b.fill):f&&(b.r=f);return b};b.prototype.drawPoints=function(){a.prototype.drawPoints.apply(this,arguments);C.prototype.drawPoints.call(this,this.links)};b.prototype.translateNode=function(a){var b=this.chart,c=a.node,d=b.plotSizeY,e=b.plotSizeX,f=this.layoutModifier,g=f.ax*c.xPosition+f.bx,l=f.ay*c.yPosition+f.by;f=u(this.options.marker,(this.mapOptionsToLevel[c.level]||{}).marker,a.options.marker).symbol;var k=c.nodeSizeY,h=c.nodeSizeX,m=this.options.reversed;
|
|
43
|
+
g=c.x=b.inverted?e-h/2-g:g-h/2;c=c.y=m?l-k/2:d-l-k/2;a.shapeType="path";a.plotX=g;a.plotY=c;a.shapeArgs={d:D[f||"circle"](g,c,h,k),x:g,y:c,width:h,height:k,cursor:a.node.isLeaf?"default":"pointer"};a.tooltipPos=b.inverted?[d-c-k/2,e-g-h/2]:[g+h/2,c]};b.defaultOptions=u(B.defaultOptions,k);return b}(B);c(g.prototype,{pointClass:a,NodeClass:b,LinkClass:l});f.registerSeriesType("treegraph",g);"";return g});h(d,"masters/modules/treegraph.src.js",[],function(){})});
|
|
44
|
+
//# sourceMappingURL=treegraph.js.map
|