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
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
/* *
|
|
2
|
+
*
|
|
3
|
+
* (c) 2010-2022 Pawel Lysy Grzegorz Blachlinski
|
|
4
|
+
*
|
|
5
|
+
* License: www.highcharts.com/license
|
|
6
|
+
*
|
|
7
|
+
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
8
|
+
*
|
|
9
|
+
* */
|
|
10
|
+
'use strict';
|
|
11
|
+
/* *
|
|
12
|
+
*
|
|
13
|
+
* Constants
|
|
14
|
+
*
|
|
15
|
+
* */
|
|
16
|
+
/**
|
|
17
|
+
* A treegraph series is a diagram, which shows a relation between ancestors
|
|
18
|
+
* and descendants with a clear parent - child relation.
|
|
19
|
+
* The best examples of the dataStructures, which best reflect this chart
|
|
20
|
+
* are e.g. genealogy tree or directory structure.
|
|
21
|
+
*
|
|
22
|
+
* TODO change back the demo path
|
|
23
|
+
* @sample highcharts/demo/treegraph-chart
|
|
24
|
+
* Treegraph Chart
|
|
25
|
+
*
|
|
26
|
+
* @extends plotOptions.treemap
|
|
27
|
+
* @excluding layoutAlgorithm, dashStyle, linecap, lineWidth,
|
|
28
|
+
* negativeColor, threshold, zones, zoneAxis, colorAxis,
|
|
29
|
+
* colorKey, compare, dataGrouping, endAgle, gapSize, gapUnit,
|
|
30
|
+
* ignoreHiddenPoint, innerSize, joinBy, legendType, linecap,
|
|
31
|
+
* minSize, navigatorOptions, pointRange, allowTraversingTree,
|
|
32
|
+
* alternateStartingDirection, borderRadius, breadcrumbs,
|
|
33
|
+
* interactByLeaf, layoutStartingDirection, levelIsConstant,
|
|
34
|
+
* lineWidth, negativeColor, nodes, sortIndex, zoneAxis,
|
|
35
|
+
* zones
|
|
36
|
+
*
|
|
37
|
+
* @product highcharts
|
|
38
|
+
* @since 10.3.0
|
|
39
|
+
* @requires modules/treemap.js
|
|
40
|
+
* @requires modules/treegraph.js
|
|
41
|
+
* @optionparent plotOptions.treegraph
|
|
42
|
+
*/
|
|
43
|
+
var TreegraphSeriesDefaults = {
|
|
44
|
+
/**
|
|
45
|
+
* Flips the positions of the nodes of a treegraph along the
|
|
46
|
+
* horizontal axis (vertical if chart is inverted).
|
|
47
|
+
*
|
|
48
|
+
* @sample highcharts/series-treegraph/reversed-nodes
|
|
49
|
+
* Treegraph series with reversed nodes.
|
|
50
|
+
*
|
|
51
|
+
* @type {boolean}
|
|
52
|
+
* @default false
|
|
53
|
+
* @product highcharts
|
|
54
|
+
* @since 10.3.0
|
|
55
|
+
*/
|
|
56
|
+
reversed: false,
|
|
57
|
+
/**
|
|
58
|
+
* @extends plotOptions.series.marker
|
|
59
|
+
* @excluding enabled, enabledThreshold
|
|
60
|
+
*/
|
|
61
|
+
marker: {
|
|
62
|
+
radius: 10,
|
|
63
|
+
lineWidth: 0,
|
|
64
|
+
symbol: 'circle',
|
|
65
|
+
fillOpacity: 1,
|
|
66
|
+
states: {}
|
|
67
|
+
},
|
|
68
|
+
link: {
|
|
69
|
+
/**
|
|
70
|
+
* Modifier of the shape of the curved link. Works best for
|
|
71
|
+
* values between 0 and 1, where 0 is a straight line, and 1 is
|
|
72
|
+
* a shape close to the default one.
|
|
73
|
+
*
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @default 0.5
|
|
76
|
+
* @product highcharts
|
|
77
|
+
* @since 10.3.0
|
|
78
|
+
* @apioption series.treegraph.link.curveFactor
|
|
79
|
+
*/
|
|
80
|
+
/**
|
|
81
|
+
* The color of the links between nodes.
|
|
82
|
+
*
|
|
83
|
+
* @type {Highcharts.ColorString}
|
|
84
|
+
* @private
|
|
85
|
+
*/
|
|
86
|
+
color: "#666666" /* Palette.neutralColor60 */,
|
|
87
|
+
/**
|
|
88
|
+
* The line width of the links connecting nodes, in pixels.
|
|
89
|
+
* @type {number}
|
|
90
|
+
*
|
|
91
|
+
* @private
|
|
92
|
+
*/
|
|
93
|
+
lineWidth: 1,
|
|
94
|
+
/**
|
|
95
|
+
* Radius for the rounded corners of the links between nodes.
|
|
96
|
+
* Works for `default` link type.
|
|
97
|
+
*
|
|
98
|
+
* @private
|
|
99
|
+
*/
|
|
100
|
+
radius: 10,
|
|
101
|
+
cursor: 'default',
|
|
102
|
+
/**
|
|
103
|
+
* Type of the link shape.
|
|
104
|
+
*
|
|
105
|
+
* @sample highcharts/series-treegraph/link-types
|
|
106
|
+
* Different link types
|
|
107
|
+
*
|
|
108
|
+
* @type {'default' | 'curved' | 'straight'}
|
|
109
|
+
* @product highcharts
|
|
110
|
+
*
|
|
111
|
+
*/
|
|
112
|
+
type: 'curved'
|
|
113
|
+
},
|
|
114
|
+
/**
|
|
115
|
+
* Options applied to collapse Button. The collape button is the
|
|
116
|
+
* small button which indicates, that the node is collapsable.
|
|
117
|
+
*/
|
|
118
|
+
collapseButton: {
|
|
119
|
+
/**
|
|
120
|
+
* Whether the button should be visible only when the node is
|
|
121
|
+
* hovered. When set to true, the button is hidden for nodes,
|
|
122
|
+
* which are not collapsed, and shown for the collapsed ones.
|
|
123
|
+
*/
|
|
124
|
+
onlyOnHover: true,
|
|
125
|
+
/**
|
|
126
|
+
* Whether the button should be visible.
|
|
127
|
+
*/
|
|
128
|
+
enabled: true,
|
|
129
|
+
/**
|
|
130
|
+
* Offset of the button in the x direction.
|
|
131
|
+
*/
|
|
132
|
+
x: 0,
|
|
133
|
+
/**
|
|
134
|
+
* Offset of the button in the y direction.
|
|
135
|
+
*/
|
|
136
|
+
y: 0,
|
|
137
|
+
/**
|
|
138
|
+
* Height of the button.
|
|
139
|
+
*/
|
|
140
|
+
height: 10,
|
|
141
|
+
/**
|
|
142
|
+
* Width of the button.
|
|
143
|
+
*/
|
|
144
|
+
width: 10,
|
|
145
|
+
/**
|
|
146
|
+
* The symbol of the collapse button.
|
|
147
|
+
*/
|
|
148
|
+
shape: 'circle'
|
|
149
|
+
/**
|
|
150
|
+
* CSS styles for the collapse button.
|
|
151
|
+
*
|
|
152
|
+
* In styled mode, the collapse button style is given in the
|
|
153
|
+
* `.highcharts-collapse-button` class.
|
|
154
|
+
*
|
|
155
|
+
*
|
|
156
|
+
* @type {Highcharts.CSSObject}
|
|
157
|
+
* @apioption series.treegraph.collapseButton.style
|
|
158
|
+
*/
|
|
159
|
+
},
|
|
160
|
+
/**
|
|
161
|
+
* @extends plotOptions.series.tooltip
|
|
162
|
+
*/
|
|
163
|
+
tooltip: {
|
|
164
|
+
/**
|
|
165
|
+
* The HTML of the point's line in the tooltip. Variables are
|
|
166
|
+
* enclosed by curly brackets. Available variables are
|
|
167
|
+
* `point.id`, `point.fromNode.id`, `point.toNode.id`,
|
|
168
|
+
* `series.name`, `series.color` and other properties on the
|
|
169
|
+
* same form. Furthermore, This can also be overridden for each
|
|
170
|
+
* series, which makes it a good hook for displaying units. In
|
|
171
|
+
* styled mode, the dot is colored by a class name rather than
|
|
172
|
+
* the point color.
|
|
173
|
+
*
|
|
174
|
+
* @type {string}
|
|
175
|
+
* @since 10.3.0
|
|
176
|
+
* @product highcharts
|
|
177
|
+
*/
|
|
178
|
+
linkFormat: '{point.fromNode.id} \u2192 {point.toNode.id}',
|
|
179
|
+
pointFormat: '{point.id}'
|
|
180
|
+
/**
|
|
181
|
+
* A callback function for formatting the HTML output for a
|
|
182
|
+
* single link in the tooltip. Like the `linkFormat` string,
|
|
183
|
+
* but with more flexibility.
|
|
184
|
+
*
|
|
185
|
+
* @type {Highcharts.FormatterCallbackFunction.<Highcharts.Point>}
|
|
186
|
+
* @apioption series.treegraph.tooltip.linkFormatter
|
|
187
|
+
*
|
|
188
|
+
*/
|
|
189
|
+
},
|
|
190
|
+
/**
|
|
191
|
+
* Options for the data labels appearing on top of the nodes and
|
|
192
|
+
* links. For treegraph charts, data labels are visible for the
|
|
193
|
+
* nodes by default, but hidden for links. This is controlled by
|
|
194
|
+
* modifying the `nodeFormat`, and the `format` that applies to
|
|
195
|
+
* links and is an empty string by default.
|
|
196
|
+
*
|
|
197
|
+
* @declare Highcharts.SeriesTreegraphDataLabelsOptionsObject
|
|
198
|
+
*/
|
|
199
|
+
dataLabels: {
|
|
200
|
+
/**
|
|
201
|
+
* Options for a _link_ label text which should follow link
|
|
202
|
+
* connection. Border and background are disabled for a label
|
|
203
|
+
* that follows a path.
|
|
204
|
+
*
|
|
205
|
+
* **Note:** Only SVG-based renderer supports this option.
|
|
206
|
+
* Setting `useHTML` to true will disable this option.
|
|
207
|
+
*
|
|
208
|
+
* @sample highcharts/series-treegraph/link-text-path
|
|
209
|
+
* Treegraph series with link text path dataLabels.
|
|
210
|
+
*
|
|
211
|
+
* @extends plotOptions.treegraph.dataLabels.linkTextPath
|
|
212
|
+
* @since 10.3.0
|
|
213
|
+
*/
|
|
214
|
+
linkTextPath: {
|
|
215
|
+
attributes: {
|
|
216
|
+
startOffset: '50%'
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
enabled: true,
|
|
220
|
+
linkFormatter: function () { return ''; },
|
|
221
|
+
formatter: function () {
|
|
222
|
+
return this.point.id;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
};
|
|
226
|
+
/* *
|
|
227
|
+
*
|
|
228
|
+
* Default Export
|
|
229
|
+
*
|
|
230
|
+
* */
|
|
231
|
+
export default TreegraphSeriesDefaults;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* *
|
|
2
|
+
*
|
|
3
|
+
* (c) 2010-2022 Pawel Lysy
|
|
4
|
+
*
|
|
5
|
+
* License: www.highcharts.com/license
|
|
6
|
+
*
|
|
7
|
+
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
8
|
+
*
|
|
9
|
+
* */
|
|
10
|
+
'use strict';
|
|
11
|
+
/* *
|
|
12
|
+
*
|
|
13
|
+
* Class
|
|
14
|
+
*
|
|
15
|
+
* */
|
|
16
|
+
var TreemapNode = /** @class */ (function () {
|
|
17
|
+
function TreemapNode() {
|
|
18
|
+
/* *
|
|
19
|
+
*
|
|
20
|
+
* Properties
|
|
21
|
+
*
|
|
22
|
+
* */
|
|
23
|
+
this.childrenTotal = 0;
|
|
24
|
+
this.visible = false;
|
|
25
|
+
}
|
|
26
|
+
/* *
|
|
27
|
+
*
|
|
28
|
+
* Functions
|
|
29
|
+
*
|
|
30
|
+
* */
|
|
31
|
+
TreemapNode.prototype.init = function (id, i, children, height, level, series, parent) {
|
|
32
|
+
this.id = id;
|
|
33
|
+
this.i = i;
|
|
34
|
+
this.children = children;
|
|
35
|
+
this.height = height;
|
|
36
|
+
this.level = level;
|
|
37
|
+
this.series = series;
|
|
38
|
+
this.parent = parent;
|
|
39
|
+
return this;
|
|
40
|
+
};
|
|
41
|
+
return TreemapNode;
|
|
42
|
+
}());
|
|
43
|
+
/* *
|
|
44
|
+
*
|
|
45
|
+
* Default Export
|
|
46
|
+
*
|
|
47
|
+
* */
|
|
48
|
+
export default TreemapNode;
|
|
@@ -48,6 +48,7 @@ var TreemapPoint = /** @class */ (function (_super) {
|
|
|
48
48
|
_this.node = void 0;
|
|
49
49
|
_this.options = void 0;
|
|
50
50
|
_this.series = void 0;
|
|
51
|
+
_this.shapeType = 'rect';
|
|
51
52
|
_this.value = void 0;
|
|
52
53
|
return _this;
|
|
53
54
|
/* eslint-enable valid-jsdoc */
|
|
@@ -96,7 +97,7 @@ var TreemapPoint = /** @class */ (function (_super) {
|
|
|
96
97
|
}
|
|
97
98
|
};
|
|
98
99
|
TreemapPoint.prototype.shouldDraw = function () {
|
|
99
|
-
return
|
|
100
|
+
return isNumber(this.plotY) && this.y !== null;
|
|
100
101
|
};
|
|
101
102
|
return TreemapPoint;
|
|
102
103
|
}(ScatterPoint));
|
|
@@ -42,6 +42,7 @@ var getColor = TU.getColor, getLevelOptions = TU.getLevelOptions, updateRootId =
|
|
|
42
42
|
import U from '../../Core/Utilities.js';
|
|
43
43
|
var addEvent = U.addEvent, correctFloat = U.correctFloat, defined = U.defined, error = U.error, extend = U.extend, fireEvent = U.fireEvent, isArray = U.isArray, isNumber = U.isNumber, isObject = U.isObject, isString = U.isString, merge = U.merge, pick = U.pick, stableSort = U.stableSort;
|
|
44
44
|
import './TreemapComposition.js';
|
|
45
|
+
import TreemapNode from './TreemapNode.js';
|
|
45
46
|
/* *
|
|
46
47
|
*
|
|
47
48
|
* Class
|
|
@@ -72,6 +73,7 @@ var TreemapSeries = /** @class */ (function (_super) {
|
|
|
72
73
|
_this.data = void 0;
|
|
73
74
|
_this.mapOptionsToLevel = void 0;
|
|
74
75
|
_this.nodeMap = void 0;
|
|
76
|
+
_this.nodeList = void 0;
|
|
75
77
|
_this.options = void 0;
|
|
76
78
|
_this.points = void 0;
|
|
77
79
|
_this.rootNode = void 0;
|
|
@@ -223,29 +225,6 @@ var TreemapSeries = /** @class */ (function (_super) {
|
|
|
223
225
|
point.dataLabel.attr({ zIndex: (point.node.zIndex || 0) + 1 });
|
|
224
226
|
}
|
|
225
227
|
};
|
|
226
|
-
TreemapSeries.prototype.buildNode = function (id, i, level, list, parent) {
|
|
227
|
-
var series = this, children = [], point = series.points[i], height = 0, node, child;
|
|
228
|
-
// Actions
|
|
229
|
-
((list[id] || [])).forEach(function (i) {
|
|
230
|
-
child = series.buildNode(series.points[i].id, i, (level + 1), list, id);
|
|
231
|
-
height = Math.max(child.height + 1, height);
|
|
232
|
-
children.push(child);
|
|
233
|
-
});
|
|
234
|
-
node = {
|
|
235
|
-
id: id,
|
|
236
|
-
i: i,
|
|
237
|
-
children: children,
|
|
238
|
-
height: height,
|
|
239
|
-
level: level,
|
|
240
|
-
parent: parent,
|
|
241
|
-
visible: false // @todo move this to better location
|
|
242
|
-
};
|
|
243
|
-
series.nodeMap[node.id] = node;
|
|
244
|
-
if (point) {
|
|
245
|
-
point.node = node;
|
|
246
|
-
}
|
|
247
|
-
return node;
|
|
248
|
-
};
|
|
249
228
|
/**
|
|
250
229
|
* Recursive function which calculates the area for all children of a
|
|
251
230
|
* node.
|
|
@@ -378,8 +357,9 @@ var TreemapSeries = /** @class */ (function (_super) {
|
|
|
378
357
|
* Override drawPoints
|
|
379
358
|
* @private
|
|
380
359
|
*/
|
|
381
|
-
TreemapSeries.prototype.drawPoints = function () {
|
|
382
|
-
|
|
360
|
+
TreemapSeries.prototype.drawPoints = function (points) {
|
|
361
|
+
if (points === void 0) { points = this.points; }
|
|
362
|
+
var series = this, chart = series.chart, renderer = chart.renderer, styledMode = chart.styledMode, options = series.options, shadow = styledMode ? {} : options.shadow, borderRadius = options.borderRadius, withinAnimationLimit = chart.pointCount < options.animationLimit, allowTraversingTree = options.allowTraversingTree;
|
|
383
363
|
points.forEach(function (point) {
|
|
384
364
|
var levelDynamic = point.node.levelDynamic, animatableAttribs = {}, attribs = {}, css = {}, groupKey = 'level-group-' + point.node.level, hasGraphic = !!point.graphic, shouldAnimate = withinAnimationLimit && hasGraphic, shapeArgs = point.shapeArgs;
|
|
385
365
|
// Don't bother with calculate styling if the point is not drawn
|
|
@@ -424,7 +404,7 @@ var TreemapSeries = /** @class */ (function (_super) {
|
|
|
424
404
|
renderer: renderer,
|
|
425
405
|
shadow: shadow,
|
|
426
406
|
shapeArgs: shapeArgs,
|
|
427
|
-
shapeType:
|
|
407
|
+
shapeType: point.shapeType
|
|
428
408
|
});
|
|
429
409
|
// If setRootNode is allowed, set a point cursor on clickables &
|
|
430
410
|
// add drillId to point
|
|
@@ -537,7 +517,28 @@ var TreemapSeries = /** @class */ (function (_super) {
|
|
|
537
517
|
return d.id;
|
|
538
518
|
}), parentList = series.getListOfParents(this.data, allIds);
|
|
539
519
|
series.nodeMap = {};
|
|
540
|
-
|
|
520
|
+
series.nodeList = [];
|
|
521
|
+
return series.buildTree('', -1, 0, parentList);
|
|
522
|
+
};
|
|
523
|
+
TreemapSeries.prototype.buildTree = function (id, index, level, list, parent) {
|
|
524
|
+
var series = this, children = [], point = series.points[index], height = 0, node, child;
|
|
525
|
+
// Actions
|
|
526
|
+
(list[id] || []).forEach(function (i) {
|
|
527
|
+
child = series.buildTree(series.points[i].id, i, level + 1, list, id);
|
|
528
|
+
height = Math.max(child.height + 1, height);
|
|
529
|
+
children.push(child);
|
|
530
|
+
});
|
|
531
|
+
node = new series.NodeClass().init(id, index, children, height, level, series, parent);
|
|
532
|
+
children.forEach(function (child) {
|
|
533
|
+
child.parentNode = node;
|
|
534
|
+
});
|
|
535
|
+
series.nodeMap[node.id] = node;
|
|
536
|
+
series.nodeList.push(node);
|
|
537
|
+
if (point) {
|
|
538
|
+
point.node = node;
|
|
539
|
+
node.point = point;
|
|
540
|
+
}
|
|
541
|
+
return node;
|
|
541
542
|
};
|
|
542
543
|
/**
|
|
543
544
|
* Define hasData function for non-cartesian series. Returns true if the
|
|
@@ -1380,6 +1381,7 @@ extend(TreemapSeries.prototype, {
|
|
|
1380
1381
|
parallelArrays: ['x', 'y', 'value', 'colorValue'],
|
|
1381
1382
|
pointArrayMap: ['value'],
|
|
1382
1383
|
pointClass: TreemapPoint,
|
|
1384
|
+
NodeClass: TreemapNode,
|
|
1383
1385
|
trackerGroups: ['group', 'dataLabelsGroup'],
|
|
1384
1386
|
utils: {
|
|
1385
1387
|
recursive: TreemapUtilities.recursive
|
|
@@ -10,36 +10,50 @@
|
|
|
10
10
|
*
|
|
11
11
|
* */
|
|
12
12
|
'use strict';
|
|
13
|
-
import Tick from '../../Core/Axis/Tick.js';
|
|
14
|
-
import Axis from '../../Core/Axis/Axis.js';
|
|
15
13
|
import U from '../../Core/Utilities.js';
|
|
16
14
|
var addEvent = U.addEvent, wrap = U.wrap;
|
|
17
15
|
/* *
|
|
18
16
|
*
|
|
19
|
-
*
|
|
17
|
+
* Constants
|
|
20
18
|
*
|
|
21
19
|
* */
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
20
|
+
var composedMembers = [];
|
|
21
|
+
/* *
|
|
22
|
+
*
|
|
23
|
+
* Functions
|
|
24
|
+
*
|
|
25
|
+
* */
|
|
26
|
+
/**
|
|
27
|
+
* @private
|
|
28
|
+
*/
|
|
29
|
+
function compose(AxisClass, TickClass) {
|
|
30
|
+
if (composedMembers.indexOf(AxisClass) === -1) {
|
|
31
|
+
composedMembers.push(AxisClass);
|
|
32
|
+
addEvent(AxisClass, 'afterDrawCrosshair', onAxisAfterDrawCrosshair);
|
|
33
|
+
addEvent(AxisClass, 'afterRender', onAxisAfterRender);
|
|
27
34
|
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
35
|
+
if (composedMembers.indexOf(TickClass) === -1) {
|
|
36
|
+
composedMembers.push(TickClass);
|
|
37
|
+
addEvent(TickClass, 'afterGetPosition', onTickAfterGetPosition);
|
|
38
|
+
var tickProto = TickClass.prototype;
|
|
39
|
+
tickProto.postTranslate = tickPostTranslate;
|
|
40
|
+
wrap(tickProto, 'getLabelPosition', wrapTickGetLabelPosition);
|
|
31
41
|
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Same width as the category (#8083)
|
|
45
|
+
* @private
|
|
46
|
+
*/
|
|
47
|
+
function onAxisAfterDrawCrosshair(e) {
|
|
37
48
|
if (this.variwide && this.cross) {
|
|
38
49
|
this.cross.attr('stroke-width', (e.point && e.point.crosshairWidth));
|
|
39
50
|
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* On a vertical axis, apply anti-collision logic to the labels.
|
|
54
|
+
* @private
|
|
55
|
+
*/
|
|
56
|
+
function onAxisAfterRender() {
|
|
43
57
|
var axis = this;
|
|
44
58
|
if (!this.horiz && this.variwide) {
|
|
45
59
|
this.chart.labelCollectors.push(function () {
|
|
@@ -54,25 +68,55 @@ addEvent(Axis, 'afterRender', function () {
|
|
|
54
68
|
});
|
|
55
69
|
});
|
|
56
70
|
}
|
|
57
|
-
}
|
|
58
|
-
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* @private
|
|
74
|
+
*/
|
|
75
|
+
function onTickAfterGetPosition(e) {
|
|
59
76
|
var axis = this.axis, xOrY = axis.horiz ? 'x' : 'y';
|
|
60
77
|
if (axis.variwide) {
|
|
61
78
|
this[xOrY + 'Orig'] = e.pos[xOrY];
|
|
62
79
|
this.postTranslate(e.pos, xOrY, this.pos);
|
|
63
80
|
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* @private
|
|
84
|
+
*/
|
|
85
|
+
function tickPostTranslate(xy, xOrY, index) {
|
|
86
|
+
var axis = this.axis;
|
|
87
|
+
var pos = xy[xOrY] - axis.pos;
|
|
88
|
+
if (!axis.horiz) {
|
|
89
|
+
pos = axis.len - pos;
|
|
90
|
+
}
|
|
91
|
+
pos = axis.series[0].postTranslate(index, pos);
|
|
92
|
+
if (!axis.horiz) {
|
|
93
|
+
pos = axis.len - pos;
|
|
94
|
+
}
|
|
95
|
+
xy[xOrY] = axis.pos + pos;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* @private
|
|
99
|
+
*/
|
|
100
|
+
function wrapTickGetLabelPosition(proceed, x, y, label, horiz, labelOptions, tickmarkOffset, index) {
|
|
101
|
+
var args = Array.prototype.slice.call(arguments, 1), xOrY = horiz ? 'x' : 'y';
|
|
67
102
|
// Replace the x with the original x
|
|
68
103
|
if (this.axis.variwide &&
|
|
69
104
|
typeof this[xOrY + 'Orig'] === 'number') {
|
|
70
105
|
args[horiz ? 0 : 1] = this[xOrY + 'Orig'];
|
|
71
106
|
}
|
|
72
|
-
xy = proceed.apply(this, args);
|
|
107
|
+
var xy = proceed.apply(this, args);
|
|
73
108
|
// Post-translate
|
|
74
109
|
if (this.axis.variwide && this.axis.categories) {
|
|
75
110
|
this.postTranslate(xy, xOrY, this.pos);
|
|
76
111
|
}
|
|
77
112
|
return xy;
|
|
78
|
-
}
|
|
113
|
+
}
|
|
114
|
+
/* *
|
|
115
|
+
*
|
|
116
|
+
* Default Export
|
|
117
|
+
*
|
|
118
|
+
* */
|
|
119
|
+
var VariwideComposition = {
|
|
120
|
+
compose: compose
|
|
121
|
+
};
|
|
122
|
+
export default VariwideComposition;
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
10
10
|
*
|
|
11
11
|
* */
|
|
12
|
+
'use strict';
|
|
12
13
|
var __extends = (this && this.__extends) || (function () {
|
|
13
14
|
var extendStatics = function (d, b) {
|
|
14
15
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -25,23 +26,23 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
25
26
|
};
|
|
26
27
|
})();
|
|
27
28
|
import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
|
|
28
|
-
var
|
|
29
|
+
var ColumnPoint = SeriesRegistry.seriesTypes.column.prototype.pointClass;
|
|
29
30
|
import U from '../../Core/Utilities.js';
|
|
30
31
|
var isNumber = U.isNumber;
|
|
31
32
|
/* *
|
|
32
33
|
*
|
|
33
|
-
*
|
|
34
|
+
* Class
|
|
34
35
|
*
|
|
35
36
|
* */
|
|
36
37
|
var VariwidePoint = /** @class */ (function (_super) {
|
|
37
38
|
__extends(VariwidePoint, _super);
|
|
38
39
|
function VariwidePoint() {
|
|
39
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
40
40
|
/* *
|
|
41
41
|
*
|
|
42
|
-
*
|
|
42
|
+
* Properites
|
|
43
43
|
*
|
|
44
44
|
* */
|
|
45
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
45
46
|
_this.crosshairWidth = void 0;
|
|
46
47
|
_this.options = void 0;
|
|
47
48
|
_this.series = void 0;
|
|
@@ -49,17 +50,17 @@ var VariwidePoint = /** @class */ (function (_super) {
|
|
|
49
50
|
}
|
|
50
51
|
/* *
|
|
51
52
|
*
|
|
52
|
-
*
|
|
53
|
+
* Functions
|
|
53
54
|
*
|
|
54
55
|
* */
|
|
55
56
|
VariwidePoint.prototype.isValid = function () {
|
|
56
57
|
return isNumber(this.y) && isNumber(this.z);
|
|
57
58
|
};
|
|
58
59
|
return VariwidePoint;
|
|
59
|
-
}(
|
|
60
|
+
}(ColumnPoint));
|
|
60
61
|
/* *
|
|
61
62
|
*
|
|
62
|
-
* Export
|
|
63
|
+
* Default Export
|
|
63
64
|
*
|
|
64
65
|
* */
|
|
65
66
|
export default VariwidePoint;
|
|
@@ -27,10 +27,10 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
27
27
|
})();
|
|
28
28
|
import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
|
|
29
29
|
var ColumnSeries = SeriesRegistry.seriesTypes.column;
|
|
30
|
+
import VariwideComposition from './VariwideComposition.js';
|
|
30
31
|
import VariwidePoint from './VariwidePoint.js';
|
|
31
32
|
import U from '../../Core/Utilities.js';
|
|
32
33
|
var extend = U.extend, merge = U.merge, pick = U.pick;
|
|
33
|
-
import './VariwideComposition.js';
|
|
34
34
|
/* *
|
|
35
35
|
*
|
|
36
36
|
* Class
|
|
@@ -46,10 +46,15 @@ import './VariwideComposition.js';
|
|
|
46
46
|
var VariwideSeries = /** @class */ (function (_super) {
|
|
47
47
|
__extends(VariwideSeries, _super);
|
|
48
48
|
function VariwideSeries() {
|
|
49
|
+
/* *
|
|
50
|
+
*
|
|
51
|
+
* Static Properties
|
|
52
|
+
*
|
|
53
|
+
* */
|
|
49
54
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
50
55
|
/* *
|
|
51
56
|
*
|
|
52
|
-
*
|
|
57
|
+
* Properties
|
|
53
58
|
*
|
|
54
59
|
* */
|
|
55
60
|
_this.data = void 0;
|
|
@@ -81,7 +86,6 @@ var VariwideSeries = /** @class */ (function (_super) {
|
|
|
81
86
|
}
|
|
82
87
|
return;
|
|
83
88
|
};
|
|
84
|
-
/* eslint-disable valid-jsdoc */
|
|
85
89
|
/**
|
|
86
90
|
* Translate an x value inside a given category index into the distorted
|
|
87
91
|
* axis translation.
|
|
@@ -166,10 +170,15 @@ var VariwideSeries = /** @class */ (function (_super) {
|
|
|
166
170
|
this.correctStackLabels();
|
|
167
171
|
}
|
|
168
172
|
};
|
|
169
|
-
|
|
173
|
+
/**
|
|
174
|
+
* Function that corrects stack labels positions
|
|
175
|
+
* @private
|
|
176
|
+
*/
|
|
170
177
|
VariwideSeries.prototype.correctStackLabels = function () {
|
|
171
|
-
var series = this, options = series.options, yAxis = series.yAxis
|
|
172
|
-
|
|
178
|
+
var series = this, options = series.options, yAxis = series.yAxis;
|
|
179
|
+
var pointStack, pointWidth, stack, xValue;
|
|
180
|
+
for (var _i = 0, _a = series.points; _i < _a.length; _i++) {
|
|
181
|
+
var point = _a[_i];
|
|
173
182
|
xValue = point.x;
|
|
174
183
|
pointWidth = point.shapeArgs.width;
|
|
175
184
|
stack = yAxis.stacking.stacks[(series.negStacks &&
|
|
@@ -184,13 +193,9 @@ var VariwideSeries = /** @class */ (function (_super) {
|
|
|
184
193
|
pointStack.setOffset(-(pointWidth / 2) || 0, pointWidth || 0, void 0, void 0, point.plotX);
|
|
185
194
|
}
|
|
186
195
|
}
|
|
187
|
-
}
|
|
196
|
+
}
|
|
188
197
|
};
|
|
189
|
-
|
|
190
|
-
*
|
|
191
|
-
* Static properties
|
|
192
|
-
*
|
|
193
|
-
* */
|
|
198
|
+
VariwideSeries.compose = VariwideComposition.compose;
|
|
194
199
|
/**
|
|
195
200
|
* A variwide chart (related to marimekko chart) is a column chart with a
|
|
196
201
|
* variable width expressing a third dimension.
|
|
@@ -233,13 +238,13 @@ extend(VariwideSeries.prototype, {
|
|
|
233
238
|
SeriesRegistry.registerSeriesType('variwide', VariwideSeries);
|
|
234
239
|
/* *
|
|
235
240
|
*
|
|
236
|
-
*
|
|
241
|
+
* Default Export
|
|
237
242
|
*
|
|
238
243
|
* */
|
|
239
244
|
export default VariwideSeries;
|
|
240
245
|
/* *
|
|
241
246
|
*
|
|
242
|
-
*
|
|
247
|
+
* API Options
|
|
243
248
|
*
|
|
244
249
|
* */
|
|
245
250
|
/**
|
|
@@ -126,7 +126,7 @@ var VectorSeries = /** @class */ (function (_super) {
|
|
|
126
126
|
}, {
|
|
127
127
|
length: 1
|
|
128
128
|
});
|
|
129
|
-
|
|
129
|
+
legendItem.line = this.chart.renderer.path(path)
|
|
130
130
|
.addClass('highcharts-point')
|
|
131
131
|
.attr({
|
|
132
132
|
zIndex: 3,
|
|
@@ -134,7 +134,7 @@ var VectorSeries = /** @class */ (function (_super) {
|
|
|
134
134
|
rotation: 270,
|
|
135
135
|
'stroke-width': 1,
|
|
136
136
|
'stroke': 'black'
|
|
137
|
-
}).add(item.
|
|
137
|
+
}).add(item.legendItem.group);
|
|
138
138
|
},
|
|
139
139
|
*/
|
|
140
140
|
/**
|