highcharts 12.2.0 → 12.4.0
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/css/annotations/popup.css +86 -45
- package/css/highcharts.css +40 -35
- package/css/stocktools/gui.css +28 -11
- package/es-modules/Accessibility/Components/InfoRegionsComponent.js +3 -3
- package/es-modules/Accessibility/Components/LegendComponent.js +10 -1
- package/es-modules/Accessibility/Components/MenuComponent.js +26 -23
- package/es-modules/Accessibility/Components/NavigatorComponent.js +5 -1
- package/es-modules/Accessibility/Components/SeriesComponent/ForcedMarkers.js +3 -1
- package/es-modules/Accessibility/FocusBorder.js +4 -0
- package/es-modules/Accessibility/HighContrastMode.js +0 -5
- package/es-modules/Accessibility/Options/A11yDefaults.js +12 -0
- package/es-modules/Core/Axis/Axis.js +4 -3
- package/es-modules/Core/Axis/Axis3DComposition.js +0 -3
- package/es-modules/Core/Axis/AxisDefaults.js +5 -8
- package/es-modules/Core/Axis/BrokenAxis.js +114 -90
- package/es-modules/Core/Axis/Color/ColorAxis.js +3 -3
- package/es-modules/Core/Axis/Color/ColorAxisDefaults.js +2 -3
- package/es-modules/Core/Axis/OrdinalAxis.js +19 -12
- package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +15 -2
- package/es-modules/Core/Axis/RadialAxis.js +18 -7
- package/es-modules/Core/Axis/ScrollbarAxis.js +19 -17
- package/es-modules/Core/Axis/Stacking/StackingAxis.js +0 -1
- package/es-modules/Core/Axis/Tick.js +1 -1
- package/es-modules/Core/Axis/TreeGrid/TreeGridAxis.js +36 -51
- package/es-modules/Core/Axis/TreeGrid/TreeGridTick.js +39 -17
- package/es-modules/Core/Axis/WaterfallAxis.js +4 -4
- package/es-modules/Core/Chart/Chart.js +41 -34
- package/es-modules/Core/Chart/ChartDefaults.js +16 -2
- package/es-modules/Core/Chart/GanttChart.js +4 -2
- package/es-modules/Core/Chart/StockChart.js +42 -49
- package/es-modules/Core/Color/Color.js +4 -8
- package/es-modules/Core/Defaults.js +16 -7
- package/es-modules/Core/Geometry/CircleUtilities.js +3 -1
- package/es-modules/Core/Globals.js +1 -1
- package/es-modules/Core/HttpUtilities.js +45 -38
- package/es-modules/Core/Legend/Legend.js +8 -7
- package/es-modules/Core/Pointer.js +17 -9
- package/es-modules/Core/Renderer/HTML/AST.js +15 -15
- package/es-modules/Core/Renderer/HTML/HTMLElement.js +8 -3
- package/es-modules/Core/Renderer/SVG/SVGElement.js +2 -2
- package/es-modules/Core/Renderer/SVG/SVGLabel.js +10 -1
- package/es-modules/Core/Renderer/SVG/SVGRenderer.js +10 -7
- package/es-modules/Core/Renderer/SVG/TextBuilder.js +2 -2
- package/es-modules/Core/Series/DataLabel.js +4 -2
- package/es-modules/Core/Series/Point.js +9 -0
- package/es-modules/Core/Series/Series.js +17 -7
- package/es-modules/Core/Series/SeriesDefaults.js +1 -3
- package/es-modules/Core/Series/SeriesRegistry.js +8 -1
- package/es-modules/Core/Templating.js +6 -5
- package/es-modules/Core/Tooltip.js +3 -1
- package/es-modules/Data/Connectors/CSVConnector.js +32 -15
- package/es-modules/Data/Connectors/DataConnector.js +107 -12
- package/es-modules/Data/Connectors/GoogleSheetsConnector.js +29 -17
- package/es-modules/Data/Connectors/HTMLTableConnector.js +3 -3
- package/es-modules/Data/Connectors/JSONConnector.js +37 -17
- package/es-modules/Data/Converters/HTMLTableConverter.js +2 -2
- package/es-modules/Data/Converters/JSONConverter.js +0 -1
- package/es-modules/Data/DataPool.js +15 -4
- package/es-modules/Data/DataTable.js +1 -2
- package/es-modules/Data/Formula/FormulaParser.js +33 -1
- package/es-modules/Data/Formula/FormulaProcessor.js +97 -45
- package/es-modules/Data/Modifiers/DataModifier.js +1 -1
- package/es-modules/Data/Modifiers/FilterModifier.js +168 -0
- package/es-modules/Data/Modifiers/FilterModifierOptions.js +14 -0
- package/es-modules/Data/Modifiers/SortModifier.js +12 -3
- package/es-modules/Extensions/Annotations/Annotation.js +10 -7
- package/es-modules/Extensions/Annotations/AnnotationChart.js +7 -3
- package/es-modules/Extensions/Annotations/AnnotationDefaults.js +38 -12
- package/es-modules/Extensions/Annotations/Controllables/ControllableLabel.js +10 -3
- package/es-modules/Extensions/Annotations/MockPoint.js +6 -3
- package/es-modules/Extensions/Annotations/NavigationBindingsDefaults.js +1 -1
- package/es-modules/Extensions/Annotations/Popup/PopupAnnotations.js +10 -4
- package/es-modules/Extensions/Annotations/Popup/PopupComposition.js +1 -1
- package/es-modules/Extensions/Annotations/Types/BasicAnnotation.js +0 -3
- package/es-modules/Extensions/Annotations/Types/CrookedLine.js +97 -94
- package/es-modules/Extensions/Annotations/Types/ElliottWave.js +43 -36
- package/es-modules/Extensions/Annotations/Types/Fibonacci.js +86 -82
- package/es-modules/Extensions/Annotations/Types/FibonacciTimeZones.js +74 -71
- package/es-modules/Extensions/Annotations/Types/InfinityLine.js +17 -3
- package/es-modules/Extensions/Annotations/Types/Measure.js +229 -226
- package/es-modules/Extensions/Annotations/Types/Pitchfork.js +39 -40
- package/es-modules/Extensions/Annotations/Types/TimeCycles.js +56 -52
- package/es-modules/Extensions/Annotations/Types/Tunnel.js +80 -76
- package/es-modules/Extensions/Annotations/Types/VerticalLine.js +57 -53
- package/es-modules/Extensions/Boost/Boost.js +5 -1
- package/es-modules/Extensions/Boost/BoostSeries.js +53 -21
- package/es-modules/Extensions/Boost/WGLRenderer.js +30 -21
- package/es-modules/Extensions/Boost/WGLShader.js +18 -5
- package/es-modules/Extensions/BoostCanvas.js +0 -5
- package/es-modules/Extensions/BorderRadius.js +6 -2
- package/es-modules/Extensions/Breadcrumbs/Breadcrumbs.js +1 -1
- package/es-modules/Extensions/DownloadURL.js +43 -8
- package/es-modules/Extensions/ExportData/ExportData.js +875 -781
- package/es-modules/Extensions/ExportData/ExportDataDefaults.js +67 -13
- package/es-modules/Extensions/Exporting/Exporting.js +1177 -546
- package/es-modules/Extensions/Exporting/ExportingDefaults.js +52 -36
- package/es-modules/Extensions/Exporting/Fullscreen.js +2 -2
- package/es-modules/Extensions/NonCartesianSeriesZoom/NonCartesianSeriesZoom.js +311 -0
- package/es-modules/Extensions/OfflineExporting/OfflineExporting.js +254 -575
- package/es-modules/Extensions/OfflineExporting/OfflineExportingDefaults.js +9 -38
- package/es-modules/Extensions/Pane/Pane.js +1 -1
- package/es-modules/Extensions/Pane/PaneComposition.js +19 -12
- package/es-modules/Extensions/Pane/PaneDefaults.js +9 -1
- package/es-modules/Extensions/ScrollablePlotArea.js +29 -21
- package/es-modules/Extensions/Sonification/Sonification.js +1 -1
- package/es-modules/Extensions/StaticScale.js +13 -11
- package/es-modules/Extensions/TextPath.js +2 -2
- package/es-modules/Extensions/Themes/Adaptive.js +1009 -0
- package/es-modules/Maps/MapNavigation.js +1 -1
- package/es-modules/Series/Bellcurve/BellcurveSeries.js +16 -9
- package/es-modules/Series/Bubble/BubblePoint.js +2 -2
- package/es-modules/Series/Column/ColumnSeriesDefaults.js +1 -2
- package/es-modules/Series/DataModifyComposition.js +0 -2
- package/es-modules/Series/DragNodesComposition.js +4 -0
- package/es-modules/Series/DrawPointUtilities.js +1 -1
- package/es-modules/Series/Flags/FlagsSeriesDefaults.js +2 -0
- package/es-modules/Series/GraphLayoutComposition.js +2 -1
- package/es-modules/Series/Heatmap/HeatmapSeriesDefaults.js +1 -2
- package/es-modules/Series/Histogram/HistogramSeries.js +19 -17
- package/es-modules/Series/Item/ItemSeries.js +1 -1
- package/es-modules/Series/PackedBubble/PackedBubblePoint.js +5 -0
- package/es-modules/Series/Pie/PieDataLabel.js +2 -2
- package/es-modules/Series/Pie/PieSeries.js +2 -2
- package/es-modules/Series/Pie/PieSeriesDefaults.js +1 -2
- package/es-modules/Series/PolarComposition.js +37 -2
- package/es-modules/Series/SeriesOnPointComposition.js +0 -1
- package/es-modules/Series/SimulationSeriesUtilities.js +7 -0
- package/es-modules/Series/SolidGauge/SolidGaugeSeries.js +7 -2
- package/es-modules/Series/SolidGauge/SolidGaugeSeriesDefaults.js +13 -0
- package/es-modules/Series/Treegraph/TreegraphLayout.js +10 -4
- package/es-modules/Series/Treegraph/TreegraphSeries.js +3 -1
- package/es-modules/Series/Treemap/TreemapSeries.js +4 -4
- package/es-modules/Series/Variwide/VariwideComposition.js +9 -11
- package/es-modules/Series/Variwide/VariwideSeries.js +8 -1
- package/es-modules/Series/Waterfall/WaterfallSeries.js +12 -17
- package/es-modules/Series/Wordcloud/WordcloudSeries.js +87 -10
- package/es-modules/Series/XRange/XRangePoint.js +2 -1
- package/es-modules/Shared/BaseForm.js +6 -3
- package/es-modules/Shared/TimeBase.js +5 -1
- package/es-modules/Stock/Indicators/MACD/MACDIndicator.js +1 -1
- package/es-modules/Stock/Navigator/NavigatorComposition.js +2 -2
- package/es-modules/Stock/Scrollbar/Scrollbar.js +5 -7
- package/es-modules/Stock/StockTools/StockToolbar.js +1 -1
- package/es-modules/Stock/StockTools/StockToolsBindings.js +34 -113
- package/es-modules/masters/highcharts-3d.src.js +3 -1
- package/es-modules/masters/highcharts-gantt.src.js +8 -2
- package/es-modules/masters/highcharts-more.src.js +2 -2
- package/es-modules/masters/highcharts.src.js +2 -2
- package/es-modules/masters/highmaps.src.js +2 -2
- package/es-modules/masters/highstock.src.js +2 -2
- package/es-modules/masters/i18n/fr-FR.src.d.ts +1 -1
- package/es-modules/masters/i18n/fr-FR.src.js +1 -1
- package/es-modules/masters/i18n/nb-NO.src.d.ts +1 -1
- package/es-modules/masters/i18n/nb-NO.src.js +1 -1
- package/es-modules/masters/i18n/zh-CN.src.d.ts +1 -1
- package/es-modules/masters/i18n/zh-CN.src.js +1 -1
- package/es-modules/masters/indicators/acceleration-bands.src.js +1 -1
- package/es-modules/masters/indicators/accumulation-distribution.src.js +1 -1
- package/es-modules/masters/indicators/ao.src.js +1 -1
- package/es-modules/masters/indicators/apo.src.js +1 -1
- package/es-modules/masters/indicators/aroon-oscillator.src.js +1 -1
- package/es-modules/masters/indicators/aroon.src.js +1 -1
- package/es-modules/masters/indicators/atr.src.js +1 -1
- package/es-modules/masters/indicators/bollinger-bands.src.js +1 -1
- package/es-modules/masters/indicators/cci.src.js +1 -1
- package/es-modules/masters/indicators/chaikin.src.js +1 -1
- package/es-modules/masters/indicators/cmf.src.js +1 -1
- package/es-modules/masters/indicators/cmo.src.js +1 -1
- package/es-modules/masters/indicators/dema.src.js +1 -1
- package/es-modules/masters/indicators/disparity-index.src.js +1 -1
- package/es-modules/masters/indicators/dmi.src.js +1 -1
- package/es-modules/masters/indicators/dpo.src.js +1 -1
- package/es-modules/masters/indicators/ema.src.js +0 -3
- 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-tools.src.d.ts +1 -0
- package/es-modules/masters/modules/data-tools.src.js +2 -1
- package/es-modules/masters/modules/data.src.js +1 -1
- package/es-modules/masters/modules/datagrouping.src.js +1 -1
- package/es-modules/masters/modules/debugger.src.js +1 -1
- package/es-modules/masters/modules/dependency-wheel.src.js +1 -1
- package/es-modules/masters/modules/dotplot.src.js +1 -1
- package/es-modules/masters/modules/drag-panes.src.js +1 -1
- package/es-modules/masters/modules/draggable-points.src.js +1 -1
- package/es-modules/masters/modules/drilldown.src.js +3 -1
- package/es-modules/masters/modules/dumbbell.src.js +1 -1
- package/es-modules/masters/modules/export-data.src.js +3 -3
- package/es-modules/masters/modules/exporting.src.js +5 -1
- package/es-modules/masters/modules/flowmap.src.js +1 -1
- package/es-modules/masters/modules/full-screen.src.js +1 -1
- package/es-modules/masters/modules/funnel.src.js +1 -1
- package/es-modules/masters/modules/funnel3d.src.js +1 -1
- package/es-modules/masters/modules/gantt.src.js +1 -1
- package/es-modules/masters/modules/geoheatmap.src.js +1 -1
- 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 +1 -1
- package/es-modules/masters/modules/histogram-bellcurve.src.js +1 -1
- package/es-modules/masters/modules/hollowcandlestick.src.js +1 -1
- package/es-modules/masters/modules/item-series.src.js +1 -1
- package/es-modules/masters/modules/lollipop.src.js +1 -1
- package/es-modules/masters/modules/map.src.js +1 -1
- package/es-modules/masters/modules/marker-clusters.src.js +1 -1
- package/es-modules/masters/modules/mouse-wheel-zoom.src.js +1 -1
- package/es-modules/masters/modules/navigator.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/non-cartesian-zoom.src.d.ts +2 -0
- package/es-modules/masters/modules/non-cartesian-zoom.src.js +18 -0
- package/es-modules/masters/modules/offline-exporting.src.js +2 -2
- package/es-modules/masters/modules/organization.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/pictorial.src.js +1 -1
- package/es-modules/masters/modules/pointandfigure.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/renko.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 +1 -1
- package/es-modules/masters/modules/stock.src.js +1 -1
- package/es-modules/masters/modules/streamgraph.src.js +1 -1
- package/es-modules/masters/modules/sunburst.src.js +1 -1
- package/es-modules/masters/modules/textpath.src.js +1 -1
- package/es-modules/masters/modules/tiledwebmap.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 +1 -1
- package/es-modules/masters/modules/treegrid.src.js +1 -1
- package/es-modules/masters/modules/treemap.src.js +1 -1
- package/es-modules/masters/modules/variable-pie.src.js +1 -1
- package/es-modules/masters/modules/variwide.src.js +1 -1
- package/es-modules/masters/modules/vector.src.js +1 -1
- package/es-modules/masters/modules/venn.src.js +1 -1
- package/es-modules/masters/modules/windbarb.src.js +1 -1
- package/es-modules/masters/modules/wordcloud.src.js +1 -1
- package/es-modules/masters/modules/xrange.src.js +1 -1
- package/es-modules/masters/standalone-navigator.src.js +7 -6
- package/es-modules/masters/themes/adaptive.src.d.ts +2 -0
- package/es-modules/masters/themes/adaptive.src.js +15 -0
- 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/es-modules/tsconfig.tsbuildinfo +1 -1
- package/esm/highcharts-3d.js +11 -1
- package/esm/highcharts-3d.src.js +3 -4
- package/esm/highcharts-gantt.js +14 -1
- package/esm/highcharts-gantt.src.js +8 -2
- package/esm/highcharts-more.js +9 -1
- package/esm/highcharts-more.src.js +516 -57
- package/esm/highcharts.js +9 -2
- package/esm/highcharts.src.js +273 -168
- package/esm/highmaps.js +8 -1
- package/esm/highmaps.src.js +2 -2
- package/esm/highstock.js +8 -1
- package/esm/highstock.src.js +2 -2
- package/esm/i18n/fr-FR.js +13 -1
- package/esm/i18n/fr-FR.src.js +1 -1
- package/esm/i18n/nb-NO.js +13 -1
- package/esm/i18n/nb-NO.src.js +1 -1
- package/esm/i18n/zh-CN.js +13 -1
- package/esm/i18n/zh-CN.src.js +1 -1
- package/esm/indicators/acceleration-bands.js +12 -1
- package/esm/indicators/acceleration-bands.src.js +1 -1
- package/esm/indicators/accumulation-distribution.js +12 -1
- package/esm/indicators/accumulation-distribution.src.js +1 -1
- package/esm/indicators/ao.js +12 -1
- package/esm/indicators/ao.src.js +1 -1
- package/esm/indicators/apo.js +12 -1
- package/esm/indicators/apo.src.js +1 -1
- package/esm/indicators/aroon-oscillator.js +12 -1
- package/esm/indicators/aroon-oscillator.src.js +1 -1
- package/esm/indicators/aroon.js +12 -1
- package/esm/indicators/aroon.src.js +1 -1
- package/esm/indicators/atr.js +12 -1
- package/esm/indicators/atr.src.js +1 -1
- package/esm/indicators/bollinger-bands.js +12 -1
- package/esm/indicators/bollinger-bands.src.js +1 -1
- package/esm/indicators/cci.js +12 -1
- package/esm/indicators/cci.src.js +1 -1
- package/esm/indicators/chaikin.js +12 -1
- package/esm/indicators/chaikin.src.js +1 -1
- package/esm/indicators/cmf.js +11 -1
- package/esm/indicators/cmf.src.js +1 -1
- package/esm/indicators/cmo.js +12 -1
- package/esm/indicators/cmo.src.js +1 -1
- package/esm/indicators/dema.js +12 -1
- package/esm/indicators/dema.src.js +1 -1
- package/esm/indicators/disparity-index.js +12 -1
- package/esm/indicators/disparity-index.src.js +1 -1
- package/esm/indicators/dmi.js +12 -1
- package/esm/indicators/dmi.src.js +1 -1
- package/esm/indicators/dpo.js +12 -1
- package/esm/indicators/dpo.src.js +1 -1
- package/esm/indicators/ema.src.js +0 -3
- package/esm/indicators/ichimoku-kinko-hyo.js +12 -1
- package/esm/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/esm/indicators/indicators-all.js +12 -1
- package/esm/indicators/indicators-all.src.js +2 -2
- package/esm/indicators/indicators.js +12 -1
- package/esm/indicators/indicators.src.js +1 -1
- package/esm/indicators/keltner-channels.js +12 -1
- package/esm/indicators/keltner-channels.src.js +1 -1
- package/esm/indicators/klinger.js +12 -1
- package/esm/indicators/klinger.src.js +1 -1
- package/esm/indicators/macd.js +12 -1
- package/esm/indicators/macd.src.js +2 -2
- package/esm/indicators/mfi.js +12 -1
- package/esm/indicators/mfi.src.js +1 -1
- package/esm/indicators/momentum.js +12 -1
- package/esm/indicators/momentum.src.js +1 -1
- package/esm/indicators/natr.js +12 -1
- package/esm/indicators/natr.src.js +1 -1
- package/esm/indicators/obv.js +12 -1
- package/esm/indicators/obv.src.js +1 -1
- package/esm/indicators/pivot-points.js +12 -1
- package/esm/indicators/pivot-points.src.js +1 -1
- package/esm/indicators/ppo.js +12 -1
- package/esm/indicators/ppo.src.js +1 -1
- package/esm/indicators/price-channel.js +12 -1
- package/esm/indicators/price-channel.src.js +1 -1
- package/esm/indicators/price-envelopes.js +12 -1
- package/esm/indicators/price-envelopes.src.js +1 -1
- package/esm/indicators/psar.js +12 -1
- package/esm/indicators/psar.src.js +1 -1
- package/esm/indicators/regressions.js +12 -1
- package/esm/indicators/regressions.src.js +1 -1
- package/esm/indicators/roc.js +12 -1
- package/esm/indicators/roc.src.js +1 -1
- package/esm/indicators/rsi.js +12 -1
- package/esm/indicators/rsi.src.js +1 -1
- package/esm/indicators/slow-stochastic.js +12 -1
- package/esm/indicators/slow-stochastic.src.js +1 -1
- package/esm/indicators/stochastic.js +12 -1
- package/esm/indicators/stochastic.src.js +1 -1
- package/esm/indicators/supertrend.js +12 -1
- package/esm/indicators/supertrend.src.js +1 -1
- package/esm/indicators/tema.js +12 -1
- package/esm/indicators/tema.src.js +1 -1
- package/esm/indicators/trendline.js +12 -1
- package/esm/indicators/trendline.src.js +1 -1
- package/esm/indicators/trix.js +12 -1
- package/esm/indicators/trix.src.js +1 -1
- package/esm/indicators/volume-by-price.js +12 -1
- package/esm/indicators/volume-by-price.src.js +1 -1
- package/esm/indicators/vwap.js +12 -1
- package/esm/indicators/vwap.src.js +1 -1
- package/esm/indicators/williams-r.js +12 -1
- package/esm/indicators/williams-r.src.js +1 -1
- package/esm/indicators/wma.js +12 -1
- package/esm/indicators/wma.src.js +1 -1
- package/esm/indicators/zigzag.js +12 -1
- package/esm/indicators/zigzag.src.js +1 -1
- package/esm/modules/accessibility.js +12 -1
- package/esm/modules/accessibility.src.js +92 -63
- package/esm/modules/annotations-advanced.js +11 -1
- package/esm/modules/annotations-advanced.src.js +872 -778
- package/esm/modules/annotations.js +11 -1
- package/esm/modules/annotations.src.js +95 -43
- package/esm/modules/arc-diagram.js +11 -1
- package/esm/modules/arc-diagram.src.js +3 -3
- package/esm/modules/arrow-symbols.js +11 -1
- package/esm/modules/arrow-symbols.src.js +1 -1
- package/esm/modules/boost-canvas.js +12 -1
- package/esm/modules/boost-canvas.src.js +102 -53
- package/esm/modules/boost.js +13 -1
- package/esm/modules/boost.src.js +107 -49
- package/esm/modules/broken-axis.js +9 -1
- package/esm/modules/broken-axis.src.js +115 -91
- package/esm/modules/bullet.js +11 -1
- package/esm/modules/bullet.src.js +1 -1
- package/esm/modules/coloraxis.js +11 -1
- package/esm/modules/coloraxis.src.js +6 -7
- package/esm/modules/current-date-indicator.js +11 -1
- package/esm/modules/current-date-indicator.src.js +1 -1
- package/esm/modules/cylinder.js +12 -1
- package/esm/modules/cylinder.src.js +1 -1
- package/esm/modules/data-tools.js +11 -1
- package/esm/modules/data-tools.src.js +542 -125
- package/esm/modules/data.js +11 -1
- package/esm/modules/data.src.js +46 -39
- package/esm/modules/datagrouping.js +11 -1
- package/esm/modules/datagrouping.src.js +1 -1
- package/esm/modules/debugger.js +11 -1
- package/esm/modules/debugger.src.js +1 -1
- package/esm/modules/dependency-wheel.js +12 -1
- package/esm/modules/dependency-wheel.src.js +3 -3
- package/esm/modules/dotplot.js +11 -1
- package/esm/modules/dotplot.src.js +1 -1
- package/esm/modules/drag-panes.js +13 -1
- package/esm/modules/drag-panes.src.js +1 -1
- package/esm/modules/draggable-points.js +9 -1
- package/esm/modules/draggable-points.src.js +1 -1
- package/esm/modules/drilldown.js +13 -1
- package/esm/modules/drilldown.src.js +4 -2
- package/esm/modules/dumbbell.js +9 -1
- package/esm/modules/dumbbell.src.js +1 -1
- package/esm/modules/export-data.js +12 -1
- package/esm/modules/export-data.src.js +985 -799
- package/esm/modules/exporting.js +11 -1
- package/esm/modules/exporting.src.js +1453 -634
- package/esm/modules/flowmap.js +9 -1
- package/esm/modules/flowmap.src.js +1 -1
- package/esm/modules/full-screen.js +12 -1
- package/esm/modules/full-screen.src.js +3 -3
- package/esm/modules/funnel.js +11 -1
- package/esm/modules/funnel.src.js +7 -3
- package/esm/modules/funnel3d.js +13 -1
- package/esm/modules/funnel3d.src.js +1 -1
- package/esm/modules/gantt.js +11 -1
- package/esm/modules/gantt.src.js +254 -212
- package/esm/modules/geoheatmap.js +9 -1
- package/esm/modules/geoheatmap.src.js +1 -1
- package/esm/modules/grid-axis.js +11 -1
- package/esm/modules/grid-axis.src.js +1 -1
- package/esm/modules/heatmap.js +9 -1
- package/esm/modules/heatmap.src.js +2 -3
- package/esm/modules/heikinashi.js +12 -1
- package/esm/modules/heikinashi.src.js +1 -1
- package/esm/modules/histogram-bellcurve.js +10 -1
- package/esm/modules/histogram-bellcurve.src.js +36 -27
- package/esm/modules/hollowcandlestick.js +12 -1
- package/esm/modules/hollowcandlestick.src.js +1 -1
- package/esm/modules/item-series.js +11 -1
- package/esm/modules/item-series.src.js +3 -5
- package/esm/modules/lollipop.js +9 -1
- package/esm/modules/lollipop.src.js +1 -1
- package/esm/modules/map.js +11 -1
- package/esm/modules/map.src.js +5 -6
- package/esm/modules/marker-clusters.js +11 -1
- package/esm/modules/marker-clusters.src.js +1 -1
- package/esm/modules/mouse-wheel-zoom.js +11 -1
- package/esm/modules/mouse-wheel-zoom.src.js +1 -1
- package/esm/modules/navigator.js +11 -1
- package/esm/modules/navigator.src.js +29 -29
- package/esm/modules/networkgraph.js +11 -1
- package/esm/modules/networkgraph.src.js +16 -4
- package/esm/modules/no-data-to-display.js +12 -1
- package/esm/modules/no-data-to-display.src.js +1 -1
- package/esm/modules/non-cartesian-zoom.d.ts +2 -0
- package/esm/modules/non-cartesian-zoom.js +11 -0
- package/esm/modules/non-cartesian-zoom.src.d.ts +2 -0
- package/esm/modules/non-cartesian-zoom.src.js +374 -0
- package/esm/modules/offline-exporting.js +12 -1
- package/esm/modules/offline-exporting.src.js +339 -3363
- package/esm/modules/organization.js +11 -1
- package/esm/modules/organization.src.js +3 -3
- package/esm/modules/parallel-coordinates.js +11 -1
- package/esm/modules/parallel-coordinates.src.js +1 -1
- package/esm/modules/pareto.js +11 -1
- package/esm/modules/pareto.src.js +1 -1
- package/esm/modules/pathfinder.js +11 -1
- package/esm/modules/pathfinder.src.js +1 -1
- package/esm/modules/pattern-fill.js +12 -1
- package/esm/modules/pattern-fill.src.js +1 -1
- package/esm/modules/pictorial.js +11 -1
- package/esm/modules/pictorial.src.js +1 -1
- package/esm/modules/pointandfigure.js +12 -1
- package/esm/modules/pointandfigure.src.js +1 -1
- package/esm/modules/price-indicator.js +13 -1
- package/esm/modules/price-indicator.src.js +1 -1
- package/esm/modules/pyramid3d.js +14 -1
- package/esm/modules/pyramid3d.src.js +1 -1
- package/esm/modules/renko.js +12 -1
- package/esm/modules/renko.src.js +1 -1
- package/esm/modules/sankey.js +11 -1
- package/esm/modules/sankey.src.js +3 -3
- package/esm/modules/series-label.js +9 -1
- package/esm/modules/series-label.src.js +1 -1
- package/esm/modules/series-on-point.js +12 -1
- package/esm/modules/series-on-point.src.js +1 -9
- package/esm/modules/solid-gauge.js +12 -1
- package/esm/modules/solid-gauge.src.js +27 -5
- package/esm/modules/sonification.js +12 -1
- package/esm/modules/sonification.src.js +45 -10
- package/esm/modules/static-scale.js +11 -1
- package/esm/modules/static-scale.src.js +14 -12
- package/esm/modules/stock-tools.js +13 -1
- package/esm/modules/stock-tools.src.js +37 -116
- package/esm/modules/stock.js +11 -1
- package/esm/modules/stock.src.js +98 -98
- package/esm/modules/streamgraph.js +11 -1
- package/esm/modules/streamgraph.src.js +1 -1
- package/esm/modules/sunburst.js +10 -1
- package/esm/modules/sunburst.src.js +9 -9
- package/esm/modules/textpath.js +9 -1
- package/esm/modules/textpath.src.js +3 -3
- package/esm/modules/tiledwebmap.js +10 -2
- package/esm/modules/tiledwebmap.src.js +1 -1
- package/esm/modules/tilemap.js +12 -1
- package/esm/modules/tilemap.src.js +1 -1
- package/esm/modules/timeline.js +12 -1
- package/esm/modules/timeline.src.js +1 -1
- package/esm/modules/treegraph.js +11 -1
- package/esm/modules/treegraph.src.js +16 -8
- package/esm/modules/treegrid.js +11 -1
- package/esm/modules/treegrid.src.js +190 -159
- package/esm/modules/treemap.js +10 -1
- package/esm/modules/treemap.src.js +7 -7
- package/esm/modules/variable-pie.js +11 -1
- package/esm/modules/variable-pie.src.js +1 -1
- package/esm/modules/variwide.js +11 -1
- package/esm/modules/variwide.src.js +18 -13
- package/esm/modules/vector.js +11 -1
- package/esm/modules/vector.src.js +1 -1
- package/esm/modules/venn.js +10 -1
- package/esm/modules/venn.src.js +5 -3
- package/esm/modules/windbarb.js +11 -1
- package/esm/modules/windbarb.src.js +1 -1
- package/esm/modules/wordcloud.js +10 -1
- package/esm/modules/wordcloud.src.js +89 -12
- package/esm/modules/xrange.js +11 -1
- package/esm/modules/xrange.src.js +3 -2
- package/esm/standalone-navigator.js +11 -2
- package/esm/standalone-navigator.src.js +312 -206
- package/esm/themes/adaptive.d.ts +2 -0
- package/esm/themes/adaptive.js +130 -0
- package/esm/themes/adaptive.src.d.ts +2 -0
- package/esm/themes/adaptive.src.js +1069 -0
- package/esm/themes/avocado.js +9 -1
- package/esm/themes/avocado.src.js +1 -1
- package/esm/themes/brand-dark.js +9 -1
- package/esm/themes/brand-dark.src.js +1 -1
- package/esm/themes/brand-light.js +9 -1
- package/esm/themes/brand-light.src.js +1 -1
- package/esm/themes/dark-blue.js +9 -1
- package/esm/themes/dark-blue.src.js +1 -1
- package/esm/themes/dark-green.js +9 -1
- package/esm/themes/dark-green.src.js +1 -1
- package/esm/themes/dark-unica.js +9 -1
- package/esm/themes/dark-unica.src.js +1 -1
- package/esm/themes/gray.js +9 -1
- package/esm/themes/gray.src.js +1 -1
- package/esm/themes/grid-light.js +9 -1
- package/esm/themes/grid-light.src.js +1 -1
- package/esm/themes/grid.js +9 -1
- package/esm/themes/grid.src.js +1 -1
- package/esm/themes/high-contrast-dark.js +9 -1
- package/esm/themes/high-contrast-dark.src.js +1 -1
- package/esm/themes/high-contrast-light.js +9 -1
- package/esm/themes/high-contrast-light.src.js +1 -1
- package/esm/themes/sand-signika.js +9 -1
- package/esm/themes/sand-signika.src.js +1 -1
- package/esm/themes/skies.js +9 -1
- package/esm/themes/skies.src.js +1 -1
- package/esm/themes/sunset.js +9 -1
- package/esm/themes/sunset.src.js +1 -1
- package/highcharts-3d.d.ts +1 -9
- package/highcharts-3d.js +11 -1
- package/highcharts-3d.src.d.ts +1 -9
- package/highcharts-3d.src.js +3 -4
- package/highcharts-gantt.js +15 -2
- package/highcharts-gantt.src.js +546 -392
- package/highcharts-more.d.ts +10 -9
- package/highcharts-more.js +9 -1
- package/highcharts-more.src.d.ts +10 -9
- package/highcharts-more.src.js +516 -57
- package/highcharts.d.ts +4526 -1522
- package/highcharts.js +9 -2
- package/highcharts.src.d.ts +4526 -1522
- package/highcharts.src.js +273 -168
- package/highmaps.js +9 -2
- package/highmaps.src.js +294 -191
- package/highstock.js +9 -2
- package/highstock.src.js +490 -361
- package/i18n/fr-FR.js +13 -1
- package/i18n/fr-FR.src.js +8 -8
- package/i18n/nb-NO.js +13 -1
- package/i18n/nb-NO.src.js +8 -8
- package/i18n/zh-CN.js +13 -1
- package/i18n/zh-CN.src.js +8 -8
- package/indicators/acceleration-bands.d.ts +1 -9
- package/indicators/acceleration-bands.js +12 -1
- package/indicators/acceleration-bands.src.d.ts +1 -9
- package/indicators/acceleration-bands.src.js +1 -1
- package/indicators/accumulation-distribution.d.ts +1 -9
- package/indicators/accumulation-distribution.js +12 -1
- package/indicators/accumulation-distribution.src.d.ts +1 -9
- package/indicators/accumulation-distribution.src.js +1 -1
- package/indicators/ao.d.ts +1 -9
- package/indicators/ao.js +12 -1
- package/indicators/ao.src.d.ts +1 -9
- package/indicators/ao.src.js +1 -1
- package/indicators/apo.d.ts +1 -9
- package/indicators/apo.js +12 -1
- package/indicators/apo.src.d.ts +1 -9
- package/indicators/apo.src.js +1 -1
- package/indicators/aroon-oscillator.d.ts +1 -9
- package/indicators/aroon-oscillator.js +12 -1
- package/indicators/aroon-oscillator.src.d.ts +1 -9
- package/indicators/aroon-oscillator.src.js +1 -1
- package/indicators/aroon.d.ts +1 -9
- package/indicators/aroon.js +12 -1
- package/indicators/aroon.src.d.ts +1 -9
- package/indicators/aroon.src.js +1 -1
- package/indicators/atr.d.ts +1 -9
- package/indicators/atr.js +12 -1
- package/indicators/atr.src.d.ts +1 -9
- package/indicators/atr.src.js +1 -1
- package/indicators/bollinger-bands.d.ts +1 -9
- package/indicators/bollinger-bands.js +12 -1
- package/indicators/bollinger-bands.src.d.ts +1 -9
- package/indicators/bollinger-bands.src.js +1 -1
- package/indicators/cci.d.ts +1 -9
- package/indicators/cci.js +12 -1
- package/indicators/cci.src.d.ts +1 -9
- package/indicators/cci.src.js +1 -1
- package/indicators/chaikin.d.ts +1 -9
- package/indicators/chaikin.js +12 -1
- package/indicators/chaikin.src.d.ts +1 -9
- package/indicators/chaikin.src.js +1 -1
- package/indicators/cmf.d.ts +1 -9
- package/indicators/cmf.js +11 -1
- package/indicators/cmf.src.d.ts +1 -9
- package/indicators/cmf.src.js +1 -1
- package/indicators/cmo.d.ts +1 -9
- package/indicators/cmo.js +12 -1
- package/indicators/cmo.src.d.ts +1 -9
- package/indicators/cmo.src.js +1 -1
- package/indicators/dema.d.ts +1 -9
- package/indicators/dema.js +12 -1
- package/indicators/dema.src.d.ts +1 -9
- package/indicators/dema.src.js +1 -1
- package/indicators/disparity-index.d.ts +1 -9
- package/indicators/disparity-index.js +12 -1
- package/indicators/disparity-index.src.d.ts +1 -9
- package/indicators/disparity-index.src.js +1 -1
- package/indicators/dmi.d.ts +1 -9
- package/indicators/dmi.js +12 -1
- package/indicators/dmi.src.d.ts +1 -9
- package/indicators/dmi.src.js +1 -1
- package/indicators/dpo.d.ts +1 -9
- package/indicators/dpo.js +12 -1
- package/indicators/dpo.src.d.ts +1 -9
- package/indicators/dpo.src.js +1 -1
- package/indicators/ema.d.ts +1 -9
- package/indicators/ema.src.d.ts +1 -9
- package/indicators/ema.src.js +3 -6
- package/indicators/ichimoku-kinko-hyo.d.ts +1 -9
- package/indicators/ichimoku-kinko-hyo.js +12 -1
- package/indicators/ichimoku-kinko-hyo.src.d.ts +1 -9
- package/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/indicators/indicators-all.d.ts +1 -9
- package/indicators/indicators-all.js +12 -1
- package/indicators/indicators-all.src.d.ts +1 -9
- package/indicators/indicators-all.src.js +2 -2
- package/indicators/indicators.d.ts +1 -9
- package/indicators/indicators.js +12 -1
- package/indicators/indicators.src.d.ts +1 -9
- package/indicators/indicators.src.js +1 -1
- package/indicators/keltner-channels.d.ts +1 -9
- package/indicators/keltner-channels.js +12 -1
- package/indicators/keltner-channels.src.d.ts +1 -9
- package/indicators/keltner-channels.src.js +1 -1
- package/indicators/klinger.d.ts +1 -9
- package/indicators/klinger.js +12 -1
- package/indicators/klinger.src.d.ts +1 -9
- package/indicators/klinger.src.js +1 -1
- package/indicators/macd.d.ts +1 -9
- package/indicators/macd.js +12 -1
- package/indicators/macd.src.d.ts +1 -9
- package/indicators/macd.src.js +2 -2
- package/indicators/mfi.d.ts +1 -9
- package/indicators/mfi.js +12 -1
- package/indicators/mfi.src.d.ts +1 -9
- package/indicators/mfi.src.js +1 -1
- package/indicators/momentum.d.ts +1 -9
- package/indicators/momentum.js +12 -1
- package/indicators/momentum.src.d.ts +1 -9
- package/indicators/momentum.src.js +1 -1
- package/indicators/natr.d.ts +1 -9
- package/indicators/natr.js +12 -1
- package/indicators/natr.src.d.ts +1 -9
- package/indicators/natr.src.js +1 -1
- package/indicators/obv.d.ts +1 -9
- package/indicators/obv.js +12 -1
- package/indicators/obv.src.d.ts +1 -9
- package/indicators/obv.src.js +1 -1
- package/indicators/pivot-points.d.ts +1 -9
- package/indicators/pivot-points.js +12 -1
- package/indicators/pivot-points.src.d.ts +1 -9
- package/indicators/pivot-points.src.js +1 -1
- package/indicators/ppo.d.ts +1 -9
- package/indicators/ppo.js +12 -1
- package/indicators/ppo.src.d.ts +1 -9
- package/indicators/ppo.src.js +1 -1
- package/indicators/price-channel.d.ts +1 -9
- package/indicators/price-channel.js +12 -1
- package/indicators/price-channel.src.d.ts +1 -9
- package/indicators/price-channel.src.js +1 -1
- package/indicators/price-envelopes.d.ts +1 -9
- package/indicators/price-envelopes.js +12 -1
- package/indicators/price-envelopes.src.d.ts +1 -9
- package/indicators/price-envelopes.src.js +1 -1
- package/indicators/psar.d.ts +1 -9
- package/indicators/psar.js +12 -1
- package/indicators/psar.src.d.ts +1 -9
- package/indicators/psar.src.js +1 -1
- package/indicators/regressions.d.ts +1 -9
- package/indicators/regressions.js +12 -1
- package/indicators/regressions.src.d.ts +1 -9
- package/indicators/regressions.src.js +1 -1
- package/indicators/roc.d.ts +1 -9
- package/indicators/roc.js +12 -1
- package/indicators/roc.src.d.ts +1 -9
- package/indicators/roc.src.js +1 -1
- package/indicators/rsi.d.ts +1 -9
- package/indicators/rsi.js +12 -1
- package/indicators/rsi.src.d.ts +1 -9
- package/indicators/rsi.src.js +1 -1
- package/indicators/slow-stochastic.d.ts +1 -9
- package/indicators/slow-stochastic.js +12 -1
- package/indicators/slow-stochastic.src.d.ts +1 -9
- package/indicators/slow-stochastic.src.js +1 -1
- package/indicators/stochastic.d.ts +1 -9
- package/indicators/stochastic.js +12 -1
- package/indicators/stochastic.src.d.ts +1 -9
- package/indicators/stochastic.src.js +1 -1
- package/indicators/supertrend.d.ts +1 -9
- package/indicators/supertrend.js +12 -1
- package/indicators/supertrend.src.d.ts +1 -9
- package/indicators/supertrend.src.js +1 -1
- package/indicators/tema.d.ts +1 -9
- package/indicators/tema.js +12 -1
- package/indicators/tema.src.d.ts +1 -9
- package/indicators/tema.src.js +1 -1
- package/indicators/trendline.d.ts +1 -9
- package/indicators/trendline.js +12 -1
- package/indicators/trendline.src.d.ts +1 -9
- package/indicators/trendline.src.js +1 -1
- package/indicators/trix.d.ts +1 -9
- package/indicators/trix.js +12 -1
- package/indicators/trix.src.d.ts +1 -9
- package/indicators/trix.src.js +1 -1
- package/indicators/volume-by-price.d.ts +1 -9
- package/indicators/volume-by-price.js +12 -1
- package/indicators/volume-by-price.src.d.ts +1 -9
- package/indicators/volume-by-price.src.js +1 -1
- package/indicators/vwap.d.ts +1 -9
- package/indicators/vwap.js +12 -1
- package/indicators/vwap.src.d.ts +1 -9
- package/indicators/vwap.src.js +1 -1
- package/indicators/williams-r.d.ts +1 -9
- package/indicators/williams-r.js +12 -1
- package/indicators/williams-r.src.d.ts +1 -9
- package/indicators/williams-r.src.js +1 -1
- package/indicators/wma.d.ts +1 -9
- package/indicators/wma.js +12 -1
- package/indicators/wma.src.d.ts +1 -9
- package/indicators/wma.src.js +1 -1
- package/indicators/zigzag.d.ts +1 -9
- package/indicators/zigzag.js +12 -1
- package/indicators/zigzag.src.d.ts +1 -9
- package/indicators/zigzag.src.js +1 -1
- package/modules/accessibility.d.ts +1 -11
- package/modules/accessibility.js +12 -1
- package/modules/accessibility.src.d.ts +1 -11
- package/modules/accessibility.src.js +92 -63
- package/modules/annotations-advanced.d.ts +1 -9
- package/modules/annotations-advanced.js +21 -1
- package/modules/annotations-advanced.src.d.ts +1 -9
- package/modules/annotations-advanced.src.js +888 -794
- package/modules/annotations.d.ts +1 -9
- package/modules/annotations.js +11 -1
- package/modules/annotations.src.d.ts +1 -9
- package/modules/annotations.src.js +95 -43
- package/modules/arc-diagram.d.ts +1 -9
- package/modules/arc-diagram.js +11 -1
- package/modules/arc-diagram.src.d.ts +1 -9
- package/modules/arc-diagram.src.js +3 -3
- package/modules/arrow-symbols.d.ts +1 -9
- package/modules/arrow-symbols.js +11 -1
- package/modules/arrow-symbols.src.d.ts +1 -9
- package/modules/arrow-symbols.src.js +1 -1
- package/modules/boost-canvas.d.ts +1 -9
- package/modules/boost-canvas.js +12 -1
- package/modules/boost-canvas.src.d.ts +1 -9
- package/modules/boost-canvas.src.js +102 -53
- package/modules/boost.d.ts +1 -9
- package/modules/boost.js +13 -1
- package/modules/boost.src.d.ts +1 -9
- package/modules/boost.src.js +107 -49
- package/modules/broken-axis.d.ts +1 -9
- package/modules/broken-axis.js +9 -1
- package/modules/broken-axis.src.d.ts +1 -9
- package/modules/broken-axis.src.js +115 -91
- package/modules/bullet.d.ts +1 -9
- package/modules/bullet.js +11 -1
- package/modules/bullet.src.d.ts +1 -9
- package/modules/bullet.src.js +1 -1
- package/modules/coloraxis.d.ts +1 -9
- package/modules/coloraxis.js +11 -1
- package/modules/coloraxis.src.d.ts +1 -9
- package/modules/coloraxis.src.js +6 -7
- package/modules/current-date-indicator.d.ts +1 -9
- package/modules/current-date-indicator.js +11 -1
- package/modules/current-date-indicator.src.d.ts +1 -9
- package/modules/current-date-indicator.src.js +1 -1
- package/modules/cylinder.d.ts +1 -9
- package/modules/cylinder.js +12 -1
- package/modules/cylinder.src.d.ts +1 -9
- package/modules/cylinder.src.js +1 -1
- package/modules/data-tools.js +11 -1
- package/modules/data-tools.src.js +542 -125
- package/modules/data.d.ts +1 -9
- package/modules/data.js +11 -1
- package/modules/data.src.d.ts +1 -9
- package/modules/data.src.js +46 -39
- package/modules/datagrouping.d.ts +1 -9
- package/modules/datagrouping.js +11 -1
- package/modules/datagrouping.src.d.ts +1 -9
- package/modules/datagrouping.src.js +1 -1
- package/modules/debugger.d.ts +1 -9
- package/modules/debugger.js +11 -1
- package/modules/debugger.src.d.ts +1 -9
- package/modules/debugger.src.js +1 -1
- package/modules/dependency-wheel.d.ts +1 -9
- package/modules/dependency-wheel.js +12 -1
- package/modules/dependency-wheel.src.d.ts +1 -9
- package/modules/dependency-wheel.src.js +3 -3
- package/modules/dotplot.d.ts +1 -9
- package/modules/dotplot.js +11 -1
- package/modules/dotplot.src.d.ts +1 -9
- package/modules/dotplot.src.js +1 -1
- package/modules/drag-panes.d.ts +1 -9
- package/modules/drag-panes.js +13 -1
- package/modules/drag-panes.src.d.ts +1 -9
- package/modules/drag-panes.src.js +1 -1
- package/modules/draggable-points.d.ts +1 -9
- package/modules/draggable-points.js +9 -1
- package/modules/draggable-points.src.d.ts +1 -9
- package/modules/draggable-points.src.js +1 -1
- package/modules/drilldown.d.ts +1 -9
- package/modules/drilldown.js +13 -1
- package/modules/drilldown.src.d.ts +1 -9
- package/modules/drilldown.src.js +4 -2
- package/modules/dumbbell.d.ts +1 -9
- package/modules/dumbbell.js +9 -1
- package/modules/dumbbell.src.d.ts +1 -9
- package/modules/dumbbell.src.js +1 -1
- package/modules/export-data.d.ts +2 -79
- package/modules/export-data.js +12 -1
- package/modules/export-data.src.d.ts +2 -79
- package/modules/export-data.src.js +997 -804
- package/modules/exporting.d.ts +35 -21
- package/modules/exporting.js +11 -1
- package/modules/exporting.src.d.ts +35 -21
- package/modules/exporting.src.js +1452 -628
- package/modules/flowmap.d.ts +1 -9
- package/modules/flowmap.js +9 -1
- package/modules/flowmap.src.d.ts +1 -9
- package/modules/flowmap.src.js +1 -1
- package/modules/full-screen.d.ts +1 -9
- package/modules/full-screen.js +12 -1
- package/modules/full-screen.src.d.ts +1 -9
- package/modules/full-screen.src.js +3 -3
- package/modules/funnel.d.ts +1 -9
- package/modules/funnel.js +11 -1
- package/modules/funnel.src.d.ts +1 -9
- package/modules/funnel.src.js +7 -3
- package/modules/funnel3d.d.ts +1 -9
- package/modules/funnel3d.js +13 -1
- package/modules/funnel3d.src.d.ts +1 -9
- package/modules/funnel3d.src.js +1 -1
- package/modules/gantt.d.ts +1 -9
- package/modules/gantt.js +31 -1
- package/modules/gantt.src.d.ts +1 -9
- package/modules/gantt.src.js +273 -230
- package/modules/geoheatmap.d.ts +1 -9
- package/modules/geoheatmap.js +9 -1
- package/modules/geoheatmap.src.d.ts +1 -9
- package/modules/geoheatmap.src.js +1 -1
- package/modules/grid-axis.d.ts +1 -9
- package/modules/grid-axis.js +11 -1
- package/modules/grid-axis.src.d.ts +1 -9
- package/modules/grid-axis.src.js +1 -1
- package/modules/heatmap.d.ts +1 -9
- package/modules/heatmap.js +19 -1
- package/modules/heatmap.src.d.ts +1 -9
- package/modules/heatmap.src.js +21 -23
- package/modules/heikinashi.d.ts +1 -9
- package/modules/heikinashi.js +12 -1
- package/modules/heikinashi.src.d.ts +1 -9
- package/modules/heikinashi.src.js +1 -1
- package/modules/histogram-bellcurve.d.ts +2 -11
- package/modules/histogram-bellcurve.js +10 -1
- package/modules/histogram-bellcurve.src.d.ts +2 -11
- package/modules/histogram-bellcurve.src.js +36 -27
- package/modules/hollowcandlestick.d.ts +1 -9
- package/modules/hollowcandlestick.js +12 -1
- package/modules/hollowcandlestick.src.d.ts +1 -9
- package/modules/hollowcandlestick.src.js +1 -1
- package/modules/item-series.d.ts +1 -9
- package/modules/item-series.js +11 -1
- package/modules/item-series.src.d.ts +1 -9
- package/modules/item-series.src.js +3 -5
- package/modules/lollipop.d.ts +1 -9
- package/modules/lollipop.js +9 -1
- package/modules/lollipop.src.d.ts +1 -9
- package/modules/lollipop.src.js +1 -1
- package/modules/map.d.ts +1 -9
- package/modules/map.js +21 -1
- package/modules/map.src.d.ts +1 -9
- package/modules/map.src.js +25 -27
- package/modules/marker-clusters.d.ts +1 -9
- package/modules/marker-clusters.js +11 -1
- package/modules/marker-clusters.src.d.ts +1 -9
- package/modules/marker-clusters.src.js +1 -1
- package/modules/mouse-wheel-zoom.d.ts +1 -9
- package/modules/mouse-wheel-zoom.js +11 -1
- package/modules/mouse-wheel-zoom.src.d.ts +1 -9
- package/modules/mouse-wheel-zoom.src.js +1 -1
- package/modules/navigator.d.ts +1 -9
- package/modules/navigator.js +11 -1
- package/modules/navigator.src.d.ts +1 -9
- package/modules/navigator.src.js +29 -29
- package/modules/networkgraph.d.ts +1 -9
- package/modules/networkgraph.js +11 -1
- package/modules/networkgraph.src.d.ts +1 -9
- package/modules/networkgraph.src.js +16 -4
- package/modules/no-data-to-display.d.ts +1 -9
- package/modules/no-data-to-display.js +12 -1
- package/modules/no-data-to-display.src.d.ts +1 -9
- package/modules/no-data-to-display.src.js +1 -1
- package/modules/non-cartesian-zoom.d.ts +9 -0
- package/modules/non-cartesian-zoom.js +11 -0
- package/modules/non-cartesian-zoom.src.d.ts +9 -0
- package/modules/non-cartesian-zoom.src.js +427 -0
- package/modules/offline-exporting.d.ts +2 -90
- package/modules/offline-exporting.js +12 -1
- package/modules/offline-exporting.src.d.ts +2 -90
- package/modules/offline-exporting.src.js +355 -3380
- package/modules/organization.d.ts +1 -9
- package/modules/organization.js +11 -1
- package/modules/organization.src.d.ts +1 -9
- package/modules/organization.src.js +3 -3
- package/modules/parallel-coordinates.d.ts +1 -9
- package/modules/parallel-coordinates.js +11 -1
- package/modules/parallel-coordinates.src.d.ts +1 -9
- package/modules/parallel-coordinates.src.js +1 -1
- package/modules/pareto.d.ts +1 -9
- package/modules/pareto.js +11 -1
- package/modules/pareto.src.d.ts +1 -9
- package/modules/pareto.src.js +1 -1
- package/modules/pathfinder.d.ts +1 -9
- package/modules/pathfinder.js +11 -1
- package/modules/pathfinder.src.d.ts +1 -9
- package/modules/pathfinder.src.js +1 -1
- package/modules/pattern-fill.d.ts +1 -9
- package/modules/pattern-fill.js +12 -1
- package/modules/pattern-fill.src.d.ts +1 -9
- package/modules/pattern-fill.src.js +1 -1
- package/modules/pictorial.d.ts +1 -9
- package/modules/pictorial.js +11 -1
- package/modules/pictorial.src.d.ts +1 -9
- package/modules/pictorial.src.js +1 -1
- package/modules/pointandfigure.d.ts +1 -9
- package/modules/pointandfigure.js +12 -1
- package/modules/pointandfigure.src.d.ts +1 -9
- package/modules/pointandfigure.src.js +1 -1
- package/modules/price-indicator.d.ts +1 -9
- package/modules/price-indicator.js +13 -1
- package/modules/price-indicator.src.d.ts +1 -9
- package/modules/price-indicator.src.js +1 -1
- package/modules/pyramid3d.d.ts +1 -9
- package/modules/pyramid3d.js +14 -1
- package/modules/pyramid3d.src.d.ts +1 -9
- package/modules/pyramid3d.src.js +1 -1
- package/modules/renko.d.ts +1 -9
- package/modules/renko.js +12 -1
- package/modules/renko.src.d.ts +1 -9
- package/modules/renko.src.js +1 -1
- package/modules/sankey.d.ts +1 -9
- package/modules/sankey.js +11 -1
- package/modules/sankey.src.d.ts +1 -9
- package/modules/sankey.src.js +3 -3
- package/modules/series-label.d.ts +1 -9
- package/modules/series-label.js +9 -1
- package/modules/series-label.src.d.ts +1 -9
- package/modules/series-label.src.js +1 -1
- package/modules/series-on-point.d.ts +1 -9
- package/modules/series-on-point.js +12 -1
- package/modules/series-on-point.src.d.ts +1 -9
- package/modules/series-on-point.src.js +6 -16
- package/modules/solid-gauge.d.ts +1 -9
- package/modules/solid-gauge.js +12 -1
- package/modules/solid-gauge.src.d.ts +1 -9
- package/modules/solid-gauge.src.js +27 -5
- package/modules/sonification.d.ts +1 -9
- package/modules/sonification.js +12 -1
- package/modules/sonification.src.d.ts +1 -9
- package/modules/sonification.src.js +45 -10
- package/modules/static-scale.d.ts +1 -9
- package/modules/static-scale.js +11 -1
- package/modules/static-scale.src.d.ts +1 -9
- package/modules/static-scale.src.js +14 -12
- package/modules/stock-tools.d.ts +1 -9
- package/modules/stock-tools.js +13 -1
- package/modules/stock-tools.src.d.ts +1 -9
- package/modules/stock-tools.src.js +37 -116
- package/modules/stock.d.ts +1 -9
- package/modules/stock.js +21 -1
- package/modules/stock.src.d.ts +1 -9
- package/modules/stock.src.js +233 -209
- package/modules/streamgraph.d.ts +1 -9
- package/modules/streamgraph.js +11 -1
- package/modules/streamgraph.src.d.ts +1 -9
- package/modules/streamgraph.src.js +1 -1
- package/modules/sunburst.d.ts +1 -9
- package/modules/sunburst.js +10 -1
- package/modules/sunburst.src.d.ts +1 -9
- package/modules/sunburst.src.js +9 -9
- package/modules/textpath.d.ts +1 -9
- package/modules/textpath.js +9 -1
- package/modules/textpath.src.d.ts +1 -9
- package/modules/textpath.src.js +3 -3
- package/modules/tiledwebmap.d.ts +1 -9
- package/modules/tiledwebmap.js +10 -2
- package/modules/tiledwebmap.src.d.ts +1 -9
- package/modules/tiledwebmap.src.js +1 -1
- package/modules/tilemap.d.ts +1 -9
- package/modules/tilemap.js +12 -1
- package/modules/tilemap.src.d.ts +1 -9
- package/modules/tilemap.src.js +1 -1
- package/modules/timeline.d.ts +1 -9
- package/modules/timeline.js +12 -1
- package/modules/timeline.src.d.ts +1 -9
- package/modules/timeline.src.js +1 -1
- package/modules/treegraph.d.ts +1 -9
- package/modules/treegraph.js +11 -1
- package/modules/treegraph.src.d.ts +1 -9
- package/modules/treegraph.src.js +16 -8
- package/modules/treegrid.d.ts +1 -9
- package/modules/treegrid.js +11 -1
- package/modules/treegrid.src.d.ts +1 -9
- package/modules/treegrid.src.js +190 -159
- package/modules/treemap.d.ts +1 -9
- package/modules/treemap.js +10 -1
- package/modules/treemap.src.d.ts +1 -9
- package/modules/treemap.src.js +7 -7
- package/modules/variable-pie.d.ts +1 -9
- package/modules/variable-pie.js +11 -1
- package/modules/variable-pie.src.d.ts +1 -9
- package/modules/variable-pie.src.js +1 -1
- package/modules/variwide.d.ts +1 -9
- package/modules/variwide.js +11 -1
- package/modules/variwide.src.d.ts +1 -9
- package/modules/variwide.src.js +18 -13
- package/modules/vector.d.ts +1 -9
- package/modules/vector.js +11 -1
- package/modules/vector.src.d.ts +1 -9
- package/modules/vector.src.js +1 -1
- package/modules/venn.d.ts +1 -9
- package/modules/venn.js +10 -1
- package/modules/venn.src.d.ts +1 -9
- package/modules/venn.src.js +5 -3
- package/modules/windbarb.d.ts +1 -9
- package/modules/windbarb.js +11 -1
- package/modules/windbarb.src.d.ts +1 -9
- package/modules/windbarb.src.js +1 -1
- package/modules/wordcloud.d.ts +1 -9
- package/modules/wordcloud.js +10 -1
- package/modules/wordcloud.src.d.ts +1 -9
- package/modules/wordcloud.src.js +89 -12
- package/modules/xrange.d.ts +1 -9
- package/modules/xrange.js +11 -1
- package/modules/xrange.src.d.ts +1 -9
- package/modules/xrange.src.js +3 -2
- package/options/abands.d.ts +8 -0
- package/options/abands.src.d.ts +8 -0
- package/options/ao.d.ts +8 -0
- package/options/ao.src.d.ts +8 -0
- package/options/arcdiagram.d.ts +8 -0
- package/options/arcdiagram.src.d.ts +8 -0
- package/options/area.d.ts +9 -0
- package/options/area.src.d.ts +9 -0
- package/options/arearange.d.ts +9 -0
- package/options/arearange.src.d.ts +9 -0
- package/options/areaspline.d.ts +9 -0
- package/options/areaspline.src.d.ts +9 -0
- package/options/areasplinerange.d.ts +9 -0
- package/options/areasplinerange.src.d.ts +9 -0
- package/options/aroon.d.ts +8 -0
- package/options/aroon.src.d.ts +8 -0
- package/options/atr.d.ts +8 -0
- package/options/atr.src.d.ts +8 -0
- package/options/bellcurve.d.ts +8 -0
- package/options/bellcurve.src.d.ts +8 -0
- package/options/boxplot.d.ts +8 -0
- package/options/boxplot.src.d.ts +8 -0
- package/options/bullet.d.ts +8 -0
- package/options/bullet.src.d.ts +8 -0
- package/options/chaikin.d.ts +8 -0
- package/options/chaikin.src.d.ts +8 -0
- package/options/cmo.d.ts +8 -0
- package/options/cmo.src.d.ts +8 -0
- package/options/columnpyramid.d.ts +9 -0
- package/options/columnpyramid.src.d.ts +9 -0
- package/options/columnrange.d.ts +9 -0
- package/options/columnrange.src.d.ts +9 -0
- package/options/dmi.d.ts +8 -0
- package/options/dmi.src.d.ts +8 -0
- package/options/errorbar.d.ts +8 -0
- package/options/errorbar.src.d.ts +8 -0
- package/options/flags.d.ts +8 -0
- package/options/flags.src.d.ts +8 -0
- package/options/funnel.d.ts +8 -0
- package/options/funnel.src.d.ts +8 -0
- package/options/gauge.d.ts +8 -0
- package/options/gauge.src.d.ts +8 -0
- package/options/item.d.ts +8 -0
- package/options/item.src.d.ts +8 -0
- package/options/keltnerchannels.d.ts +8 -0
- package/options/keltnerchannels.src.d.ts +8 -0
- package/options/line.d.ts +9 -0
- package/options/line.src.d.ts +9 -0
- package/options/linearregressionangle.d.ts +8 -0
- package/options/linearregressionangle.src.d.ts +8 -0
- package/options/linearregressionintercept.d.ts +8 -0
- package/options/linearregressionintercept.src.d.ts +8 -0
- package/options/map.d.ts +8 -0
- package/options/map.src.d.ts +8 -0
- package/options/mfi.d.ts +8 -0
- package/options/mfi.src.d.ts +8 -0
- package/options/natr.d.ts +8 -0
- package/options/natr.src.d.ts +8 -0
- package/options/ohlc.d.ts +8 -0
- package/options/ohlc.src.d.ts +8 -0
- package/options/packedbubble.d.ts +8 -0
- package/options/packedbubble.src.d.ts +8 -0
- package/options/pictorial.d.ts +8 -0
- package/options/pictorial.src.d.ts +8 -0
- package/options/pointandfigure.d.ts +8 -0
- package/options/pointandfigure.src.d.ts +8 -0
- package/options/polygon.d.ts +9 -0
- package/options/polygon.src.d.ts +9 -0
- package/options/ppo.d.ts +8 -0
- package/options/ppo.src.d.ts +8 -0
- package/options/psar.d.ts +8 -0
- package/options/psar.src.d.ts +8 -0
- package/options/pyramid.d.ts +8 -0
- package/options/pyramid.src.d.ts +8 -0
- package/options/renko.d.ts +8 -0
- package/options/renko.src.d.ts +8 -0
- package/options/roc.d.ts +8 -0
- package/options/roc.src.d.ts +8 -0
- package/options/sankey.d.ts +8 -0
- package/options/sankey.src.d.ts +8 -0
- package/options/scatter.d.ts +9 -0
- package/options/scatter.src.d.ts +9 -0
- package/options/series.d.ts +9 -0
- package/options/series.src.d.ts +9 -0
- package/options/sma.d.ts +8 -0
- package/options/sma.src.d.ts +8 -0
- package/options/solidgauge.d.ts +14 -0
- package/options/solidgauge.src.d.ts +14 -0
- package/options/spline.d.ts +9 -0
- package/options/spline.src.d.ts +9 -0
- package/options/stochastic.d.ts +8 -0
- package/options/stochastic.src.d.ts +8 -0
- package/options/tema.d.ts +8 -0
- package/options/tema.src.d.ts +8 -0
- package/options/tiledwebmap.d.ts +8 -0
- package/options/tiledwebmap.src.d.ts +8 -0
- package/options/timeline.d.ts +8 -0
- package/options/timeline.src.d.ts +8 -0
- package/options/treegraph.d.ts +8 -0
- package/options/treegraph.src.d.ts +8 -0
- package/options/trix.d.ts +8 -0
- package/options/trix.src.d.ts +8 -0
- package/options/variablepie.d.ts +8 -0
- package/options/variablepie.src.d.ts +8 -0
- package/options/variwide.d.ts +8 -0
- package/options/variwide.src.d.ts +8 -0
- package/options/vbp.d.ts +8 -0
- package/options/vbp.src.d.ts +8 -0
- package/options/vector.d.ts +9 -0
- package/options/vector.src.d.ts +9 -0
- package/options/venn.d.ts +8 -0
- package/options/venn.src.d.ts +8 -0
- package/options/vwap.d.ts +8 -0
- package/options/vwap.src.d.ts +8 -0
- package/options/windbarb.d.ts +9 -0
- package/options/windbarb.src.d.ts +9 -0
- package/options/wma.d.ts +8 -0
- package/options/wma.src.d.ts +8 -0
- package/options/wordcloud.d.ts +8 -0
- package/options/wordcloud.src.d.ts +8 -0
- package/options/zigzag.d.ts +8 -0
- package/options/zigzag.src.d.ts +8 -0
- package/package.json +1 -1
- package/standalone-navigator.js +11 -2
- package/standalone-navigator.src.js +312 -206
- package/themes/adaptive.d.ts +18 -0
- package/themes/adaptive.js +130 -0
- package/themes/adaptive.src.d.ts +18 -0
- package/themes/adaptive.src.js +1122 -0
- package/themes/avocado.d.ts +1 -9
- package/themes/avocado.js +9 -1
- package/themes/avocado.src.d.ts +1 -9
- package/themes/avocado.src.js +1 -1
- package/themes/brand-dark.d.ts +1 -9
- package/themes/brand-dark.js +9 -1
- package/themes/brand-dark.src.d.ts +1 -9
- package/themes/brand-dark.src.js +1 -1
- package/themes/brand-light.d.ts +1 -9
- package/themes/brand-light.js +9 -1
- package/themes/brand-light.src.d.ts +1 -9
- package/themes/brand-light.src.js +1 -1
- package/themes/dark-blue.d.ts +1 -9
- package/themes/dark-blue.js +9 -1
- package/themes/dark-blue.src.d.ts +1 -9
- package/themes/dark-blue.src.js +1 -1
- package/themes/dark-green.d.ts +1 -9
- package/themes/dark-green.js +9 -1
- package/themes/dark-green.src.d.ts +1 -9
- package/themes/dark-green.src.js +1 -1
- package/themes/dark-unica.d.ts +1 -9
- package/themes/dark-unica.js +9 -1
- package/themes/dark-unica.src.d.ts +1 -9
- package/themes/dark-unica.src.js +1 -1
- package/themes/gray.d.ts +1 -9
- package/themes/gray.js +9 -1
- package/themes/gray.src.d.ts +1 -9
- package/themes/gray.src.js +1 -1
- package/themes/grid-light.d.ts +1 -9
- package/themes/grid-light.js +9 -1
- package/themes/grid-light.src.d.ts +1 -9
- package/themes/grid-light.src.js +1 -1
- package/themes/grid.d.ts +1 -9
- package/themes/grid.js +9 -1
- package/themes/grid.src.d.ts +1 -9
- package/themes/grid.src.js +1 -1
- package/themes/high-contrast-dark.d.ts +1 -9
- package/themes/high-contrast-dark.js +9 -1
- package/themes/high-contrast-dark.src.d.ts +1 -9
- package/themes/high-contrast-dark.src.js +1 -1
- package/themes/high-contrast-light.d.ts +1 -9
- package/themes/high-contrast-light.js +9 -1
- package/themes/high-contrast-light.src.d.ts +1 -9
- package/themes/high-contrast-light.src.js +1 -1
- package/themes/sand-signika.d.ts +1 -9
- package/themes/sand-signika.js +9 -1
- package/themes/sand-signika.src.d.ts +1 -9
- package/themes/sand-signika.src.js +1 -1
- package/themes/skies.d.ts +1 -9
- package/themes/skies.js +9 -1
- package/themes/skies.src.d.ts +1 -9
- package/themes/skies.src.js +1 -1
- package/themes/sunset.d.ts +1 -9
- package/themes/sunset.js +9 -1
- package/themes/sunset.src.d.ts +1 -9
- package/themes/sunset.src.js +1 -1
package/esm/modules/gantt.src.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Highcharts Gantt JS v12.
|
|
2
|
+
* @license Highcharts Gantt JS v12.4.0 (2025-09-04)
|
|
3
3
|
* @module highcharts/modules/gantt
|
|
4
4
|
* @requires highcharts
|
|
5
5
|
*
|
|
@@ -818,7 +818,8 @@ class GanttChart extends (external_highcharts_src_js_default_Chart_default()) {
|
|
|
818
818
|
// Defaults
|
|
819
819
|
{
|
|
820
820
|
grid: {
|
|
821
|
-
borderColor:
|
|
821
|
+
borderColor: GanttChart_defaultOptions.xAxis?.grid?.borderColor ||
|
|
822
|
+
"#cccccc" /* Palette.neutralColor20 */,
|
|
822
823
|
enabled: true
|
|
823
824
|
},
|
|
824
825
|
opposite: GanttChart_defaultOptions.xAxis?.opposite ??
|
|
@@ -838,7 +839,8 @@ class GanttChart extends (external_highcharts_src_js_default_Chart_default()) {
|
|
|
838
839
|
// Defaults
|
|
839
840
|
{
|
|
840
841
|
grid: {
|
|
841
|
-
borderColor:
|
|
842
|
+
borderColor: GanttChart_defaultOptions.yAxis?.grid?.borderColor ||
|
|
843
|
+
"#cccccc" /* Palette.neutralColor20 */,
|
|
842
844
|
enabled: true
|
|
843
845
|
},
|
|
844
846
|
staticScale: 50,
|
|
@@ -2137,7 +2139,7 @@ const StockUtilities = {
|
|
|
2137
2139
|
* */
|
|
2138
2140
|
|
|
2139
2141
|
|
|
2140
|
-
const {
|
|
2142
|
+
const { defaultOptions: NavigatorComposition_defaultOptions } = (external_highcharts_src_js_default_default());
|
|
2141
2143
|
|
|
2142
2144
|
const { composed: NavigatorComposition_composed } = (external_highcharts_src_js_default_default());
|
|
2143
2145
|
|
|
@@ -2167,8 +2169,8 @@ function NavigatorComposition_compose(ChartClass, AxisClass, SeriesClass) {
|
|
|
2167
2169
|
if (NavigatorComposition_pushUnique(NavigatorComposition_composed, 'Navigator')) {
|
|
2168
2170
|
ChartClass.prototype.setFixedRange = NavigatorComposition_setFixedRange;
|
|
2169
2171
|
extend(getRendererType().prototype.symbols, Navigator_NavigatorSymbols);
|
|
2172
|
+
extend(NavigatorComposition_defaultOptions, { navigator: Navigator_NavigatorDefaults });
|
|
2170
2173
|
NavigatorComposition_addEvent(SeriesClass, 'afterUpdate', onSeriesAfterUpdate);
|
|
2171
|
-
setOptions({ navigator: Navigator_NavigatorDefaults });
|
|
2172
2174
|
}
|
|
2173
2175
|
}
|
|
2174
2176
|
/**
|
|
@@ -2204,7 +2206,7 @@ const NavigatorComposition = {
|
|
|
2204
2206
|
|
|
2205
2207
|
const { composed: ScrollbarAxis_composed } = (external_highcharts_src_js_default_default());
|
|
2206
2208
|
|
|
2207
|
-
const { addEvent: ScrollbarAxis_addEvent, defined: ScrollbarAxis_defined, pick: ScrollbarAxis_pick, pushUnique: ScrollbarAxis_pushUnique } = (external_highcharts_src_js_default_default());
|
|
2209
|
+
const { addEvent: ScrollbarAxis_addEvent, correctFloat: ScrollbarAxis_correctFloat, defined: ScrollbarAxis_defined, pick: ScrollbarAxis_pick, pushUnique: ScrollbarAxis_pushUnique } = (external_highcharts_src_js_default_default());
|
|
2208
2210
|
/* *
|
|
2209
2211
|
*
|
|
2210
2212
|
* Composition
|
|
@@ -2251,9 +2253,10 @@ var ScrollbarAxis;
|
|
|
2251
2253
|
axisMin,
|
|
2252
2254
|
axisMax,
|
|
2253
2255
|
scrollMin: ScrollbarAxis_defined(axis.dataMin) ?
|
|
2254
|
-
Math.min(axisMin, axis.min, axis.dataMin,
|
|
2255
|
-
scrollMax: ScrollbarAxis_defined(axis.dataMax) ?
|
|
2256
|
-
Math.max(axisMax, axis.max, axis.dataMax,
|
|
2256
|
+
Math.min(axisMin, axis.min ?? Infinity, axis.dataMin, axis.threshold ?? Infinity) : axisMin,
|
|
2257
|
+
scrollMax: axis.treeGrid?.adjustedMax ?? (ScrollbarAxis_defined(axis.dataMax) ?
|
|
2258
|
+
Math.max(axisMax, axis.max ?? -Infinity, axis.dataMax, axis.threshold ?? -Infinity) :
|
|
2259
|
+
axisMax)
|
|
2257
2260
|
};
|
|
2258
2261
|
}
|
|
2259
2262
|
/**
|
|
@@ -2281,7 +2284,7 @@ var ScrollbarAxis;
|
|
|
2281
2284
|
axis.options.startOnTick = axis.options.endOnTick = false;
|
|
2282
2285
|
axis.scrollbar = new Scrollbar(axis.chart.renderer, axis.options.scrollbar, axis.chart);
|
|
2283
2286
|
ScrollbarAxis_addEvent(axis.scrollbar, 'changed', function (e) {
|
|
2284
|
-
const { axisMin, axisMax, scrollMin: unitedMin, scrollMax: unitedMax } = getExtremes(axis),
|
|
2287
|
+
const { axisMin, axisMax, scrollMin: unitedMin, scrollMax: unitedMax } = getExtremes(axis), minPX = axis.toPixels(unitedMin), maxPX = axis.toPixels(unitedMax), rangePX = maxPX - minPX;
|
|
2285
2288
|
let to, from;
|
|
2286
2289
|
// #12834, scroll when show/hide series, wrong extremes
|
|
2287
2290
|
if (!ScrollbarAxis_defined(axisMin) || !ScrollbarAxis_defined(axisMax)) {
|
|
@@ -2289,20 +2292,20 @@ var ScrollbarAxis;
|
|
|
2289
2292
|
}
|
|
2290
2293
|
if ((axis.horiz && !axis.reversed) ||
|
|
2291
2294
|
(!axis.horiz && axis.reversed)) {
|
|
2292
|
-
to =
|
|
2293
|
-
from = unitedMin +
|
|
2295
|
+
to = Math.min(unitedMax, axis.toValue(minPX + rangePX * this.to));
|
|
2296
|
+
from = Math.max(unitedMin, axis.toValue(minPX + rangePX * this.from));
|
|
2294
2297
|
}
|
|
2295
2298
|
else {
|
|
2296
2299
|
// Y-values in browser are reversed, but this also
|
|
2297
2300
|
// applies for reversed horizontal axis:
|
|
2298
|
-
to =
|
|
2299
|
-
from = unitedMin +
|
|
2301
|
+
to = Math.min(unitedMax, axis.toValue(minPX + rangePX * (1 - this.from)));
|
|
2302
|
+
from = Math.max(unitedMin, axis.toValue(minPX + rangePX * (1 - this.to)));
|
|
2300
2303
|
}
|
|
2301
2304
|
if (this.shouldUpdateExtremes(e.DOMType)) {
|
|
2302
2305
|
// #17977, set animation to undefined instead of true
|
|
2303
2306
|
const animate = e.DOMType === 'mousemove' ||
|
|
2304
2307
|
e.DOMType === 'touchmove' ? false : void 0;
|
|
2305
|
-
axis.setExtremes(from, to, true, animate, e);
|
|
2308
|
+
axis.setExtremes(ScrollbarAxis_correctFloat(from), ScrollbarAxis_correctFloat(to), true, animate, e);
|
|
2306
2309
|
}
|
|
2307
2310
|
else {
|
|
2308
2311
|
// When live redraw is disabled, don't change extremes
|
|
@@ -2317,7 +2320,7 @@ var ScrollbarAxis;
|
|
|
2317
2320
|
* @private
|
|
2318
2321
|
*/
|
|
2319
2322
|
function onAxisAfterRender() {
|
|
2320
|
-
const axis = this, { scrollMin, scrollMax } = getExtremes(axis), scrollbar = axis.scrollbar, offset = (axis.axisTitleMargin + (axis.titleOffset || 0)
|
|
2323
|
+
const axis = this, { scrollMin, scrollMax } = getExtremes(axis), scrollbar = axis.scrollbar, offset = (axis.axisTitleMargin || 0) + (axis.titleOffset || 0), scrollbarsOffsets = axis.chart.scrollbarsOffsets, axisMargin = axis.options.margin || 0;
|
|
2321
2324
|
let offsetsIndex, from, to;
|
|
2322
2325
|
if (scrollbar && scrollbarsOffsets) {
|
|
2323
2326
|
if (axis.horiz) {
|
|
@@ -2365,8 +2368,9 @@ var ScrollbarAxis;
|
|
|
2365
2368
|
isNaN(scrollMax) ||
|
|
2366
2369
|
!ScrollbarAxis_defined(axis.min) ||
|
|
2367
2370
|
!ScrollbarAxis_defined(axis.max) ||
|
|
2368
|
-
axis.dataMin
|
|
2369
|
-
|
|
2371
|
+
(ScrollbarAxis_defined(axis.dataMin) && // #23335
|
|
2372
|
+
axis.dataMin === axis.dataMax // #10733
|
|
2373
|
+
)) {
|
|
2370
2374
|
// Default action: when data extremes are the same or there is
|
|
2371
2375
|
// not extremes on the axis, but scrollbar exists, make it
|
|
2372
2376
|
// full size
|
|
@@ -2383,10 +2387,10 @@ var ScrollbarAxis;
|
|
|
2383
2387
|
scrollbar.setRange(from, to);
|
|
2384
2388
|
}
|
|
2385
2389
|
else {
|
|
2386
|
-
from = ((axis.min - scrollMin) /
|
|
2387
|
-
(scrollMax - scrollMin));
|
|
2388
|
-
to = ((axis.max - scrollMin) /
|
|
2389
|
-
(scrollMax - scrollMin));
|
|
2390
|
+
from = (axis.toPixels(axis.min) - axis.toPixels(scrollMin)) /
|
|
2391
|
+
(axis.toPixels(scrollMax) - axis.toPixels(scrollMin));
|
|
2392
|
+
to = (axis.toPixels(axis.max) - axis.toPixels(scrollMin)) /
|
|
2393
|
+
(axis.toPixels(scrollMax) - axis.toPixels(scrollMin));
|
|
2390
2394
|
if ((axis.horiz && !axis.reversed) ||
|
|
2391
2395
|
(!axis.horiz && axis.reversed)) {
|
|
2392
2396
|
scrollbar.setRange(from, to);
|
|
@@ -2643,10 +2647,11 @@ const ScrollbarDefaults = {
|
|
|
2643
2647
|
|
|
2644
2648
|
const { defaultOptions: Scrollbar_defaultOptions } = (external_highcharts_src_js_default_default());
|
|
2645
2649
|
|
|
2650
|
+
const { composed: Scrollbar_composed } = (external_highcharts_src_js_default_default());
|
|
2646
2651
|
|
|
2647
2652
|
|
|
2648
2653
|
|
|
2649
|
-
const { addEvent: Scrollbar_addEvent, correctFloat: Scrollbar_correctFloat, crisp, defined: Scrollbar_defined, destroyObjectProperties, fireEvent, merge: Scrollbar_merge, pick: Scrollbar_pick, removeEvent } = (external_highcharts_src_js_default_default());
|
|
2654
|
+
const { addEvent: Scrollbar_addEvent, correctFloat: Scrollbar_correctFloat, crisp, defined: Scrollbar_defined, destroyObjectProperties, extend: Scrollbar_extend, fireEvent, merge: Scrollbar_merge, pick: Scrollbar_pick, pushUnique: Scrollbar_pushUnique, removeEvent } = (external_highcharts_src_js_default_default());
|
|
2650
2655
|
/* *
|
|
2651
2656
|
*
|
|
2652
2657
|
* Constants
|
|
@@ -2672,6 +2677,9 @@ class Scrollbar {
|
|
|
2672
2677
|
* */
|
|
2673
2678
|
static compose(AxisClass) {
|
|
2674
2679
|
Axis_ScrollbarAxis.compose(AxisClass, Scrollbar);
|
|
2680
|
+
if (Scrollbar_pushUnique(Scrollbar_composed, 'Scrollbar')) {
|
|
2681
|
+
Scrollbar_extend(Scrollbar_defaultOptions, { scrollbar: Scrollbar_ScrollbarDefaults });
|
|
2682
|
+
}
|
|
2675
2683
|
}
|
|
2676
2684
|
/**
|
|
2677
2685
|
* When we have vertical scrollbar, rifles and arrow in buttons should be
|
|
@@ -3278,12 +3286,6 @@ class Scrollbar {
|
|
|
3278
3286
|
*
|
|
3279
3287
|
* */
|
|
3280
3288
|
Scrollbar.defaultOptions = Scrollbar_ScrollbarDefaults;
|
|
3281
|
-
/* *
|
|
3282
|
-
*
|
|
3283
|
-
* Registry
|
|
3284
|
-
*
|
|
3285
|
-
* */
|
|
3286
|
-
Scrollbar_defaultOptions.scrollbar = Scrollbar_merge(true, Scrollbar.defaultOptions, Scrollbar_defaultOptions.scrollbar);
|
|
3287
3289
|
/* *
|
|
3288
3290
|
*
|
|
3289
3291
|
* Default Export
|
|
@@ -6053,7 +6055,6 @@ class DataTableCore {
|
|
|
6053
6055
|
|
|
6054
6056
|
|
|
6055
6057
|
|
|
6056
|
-
|
|
6057
6058
|
const { addEvent: OrdinalAxis_addEvent, correctFloat: OrdinalAxis_correctFloat, css, defined: OrdinalAxis_defined, error: OrdinalAxis_error, isNumber: OrdinalAxis_isNumber, pick: OrdinalAxis_pick, timeUnits, isString } = (external_highcharts_src_js_default_default());
|
|
6058
6059
|
/* *
|
|
6059
6060
|
*
|
|
@@ -6411,8 +6412,7 @@ var OrdinalAxis;
|
|
|
6411
6412
|
function onChartPan(e) {
|
|
6412
6413
|
const chart = this, xAxis = chart.xAxis[0], overscroll = xAxis.ordinal.convertOverscroll(xAxis.options.overscroll), chartX = e.originalEvent.chartX, panning = chart.options.chart.panning;
|
|
6413
6414
|
let runBase = false;
|
|
6414
|
-
if (panning &&
|
|
6415
|
-
panning.type !== 'y' &&
|
|
6415
|
+
if (panning?.type !== 'y' &&
|
|
6416
6416
|
xAxis.options.ordinal &&
|
|
6417
6417
|
xAxis.series.length &&
|
|
6418
6418
|
// On touch devices, let default function handle the pinching
|
|
@@ -6431,8 +6431,9 @@ var OrdinalAxis;
|
|
|
6431
6431
|
}, index2val = xAxis.index2val, val2lin = xAxis.val2lin;
|
|
6432
6432
|
let trimmedRange, ordinalPositions;
|
|
6433
6433
|
// Make sure panning to the edges does not decrease the zoomed range
|
|
6434
|
-
if ((min <= dataMin && movedUnits
|
|
6435
|
-
(max + overscroll
|
|
6434
|
+
if ((min <= dataMin && movedUnits <= 0) ||
|
|
6435
|
+
(max >= dataMax + overscroll && movedUnits >= 0)) {
|
|
6436
|
+
e.preventDefault();
|
|
6436
6437
|
return;
|
|
6437
6438
|
}
|
|
6438
6439
|
// We have an ordinal axis, but the data is equally spaced
|
|
@@ -6451,8 +6452,11 @@ var OrdinalAxis;
|
|
|
6451
6452
|
// If we don't compensate for this, we will be allowed to pan
|
|
6452
6453
|
// grouped data series passed the right of the plot area.
|
|
6453
6454
|
ordinalPositions = extendedAxis.ordinal.positions;
|
|
6454
|
-
if (
|
|
6455
|
-
ordinalPositions
|
|
6455
|
+
if (overscroll) { // #21606
|
|
6456
|
+
ordinalPositions = extendedAxis.ordinal.positions =
|
|
6457
|
+
ordinalPositions.concat(xAxis.ordinal.getOverscrollPositions());
|
|
6458
|
+
}
|
|
6459
|
+
if (dataMax > ordinalPositions[ordinalPositions.length - 1]) {
|
|
6456
6460
|
ordinalPositions.push(dataMax);
|
|
6457
6461
|
}
|
|
6458
6462
|
// Get the new min and max values by getting the ordinal index
|
|
@@ -6483,7 +6487,7 @@ var OrdinalAxis;
|
|
|
6483
6487
|
}
|
|
6484
6488
|
// Revert to the linear chart.pan version
|
|
6485
6489
|
if (runBase || (panning && /y/.test(panning.type))) {
|
|
6486
|
-
if (overscroll) {
|
|
6490
|
+
if (overscroll && OrdinalAxis_isNumber(xAxis.dataMax)) {
|
|
6487
6491
|
xAxis.max = xAxis.dataMax + overscroll;
|
|
6488
6492
|
}
|
|
6489
6493
|
}
|
|
@@ -6615,7 +6619,9 @@ var OrdinalAxis;
|
|
|
6615
6619
|
* @private
|
|
6616
6620
|
*/
|
|
6617
6621
|
beforeSetTickPositions() {
|
|
6618
|
-
const axis = this.axis, ordinal = axis.ordinal, extremes = axis.getExtremes(), min = extremes.min, max = extremes.max, hasBreaks = axis.brokenAxis?.hasBreaks, isOrdinal = axis.options.ordinal
|
|
6622
|
+
const axis = this.axis, ordinal = axis.ordinal, extremes = axis.getExtremes(), min = extremes.min, max = extremes.max, hasBreaks = axis.brokenAxis?.hasBreaks, isOrdinal = axis.options.ordinal, overscroll = axis.options.overscroll &&
|
|
6623
|
+
axis.ordinal.convertOverscroll(axis.options.overscroll) ||
|
|
6624
|
+
0;
|
|
6619
6625
|
let len, uniqueOrdinalPositions, dist, minIndex, maxIndex, slope, i, ordinalPositions = [], overscrollPointsRange = Number.MAX_VALUE, useOrdinal = false, adjustOrdinalExtremesPoints = false, isBoosted = false;
|
|
6620
6626
|
// Apply the ordinal logic
|
|
6621
6627
|
if (isOrdinal || hasBreaks) { // #4167 YAxis is never ordinal ?
|
|
@@ -6699,8 +6705,8 @@ var OrdinalAxis;
|
|
|
6699
6705
|
// spaced.
|
|
6700
6706
|
if (!axis.options.keepOrdinalPadding &&
|
|
6701
6707
|
(ordinalPositions[0] - min > dist ||
|
|
6702
|
-
|
|
6703
|
-
|
|
6708
|
+
max - overscroll - ordinalPositions[len - 1] >
|
|
6709
|
+
dist)) {
|
|
6704
6710
|
useOrdinal = true;
|
|
6705
6711
|
}
|
|
6706
6712
|
}
|
|
@@ -6713,7 +6719,7 @@ var OrdinalAxis;
|
|
|
6713
6719
|
else if (len === 1) {
|
|
6714
6720
|
// We have just one point, closest distance is unknown.
|
|
6715
6721
|
// Assume then it is last point and overscrolled range:
|
|
6716
|
-
overscrollPointsRange =
|
|
6722
|
+
overscrollPointsRange = overscroll;
|
|
6717
6723
|
ordinalPositions = [
|
|
6718
6724
|
ordinalPositions[0],
|
|
6719
6725
|
ordinalPositions[0] + overscrollPointsRange
|
|
@@ -6843,6 +6849,9 @@ var OrdinalAxis;
|
|
|
6843
6849
|
// Add the fake series to hold the full data, then apply
|
|
6844
6850
|
// processData to it
|
|
6845
6851
|
axis.series.forEach((series) => {
|
|
6852
|
+
if (series.takeOrdinalPosition === false) {
|
|
6853
|
+
return; // #22657
|
|
6854
|
+
}
|
|
6846
6855
|
fakeSeries = {
|
|
6847
6856
|
xAxis: fakeAxis,
|
|
6848
6857
|
chart: chart,
|
|
@@ -10114,7 +10123,7 @@ const connectorsDefaults = {
|
|
|
10114
10123
|
|
|
10115
10124
|
|
|
10116
10125
|
|
|
10117
|
-
const { setOptions
|
|
10126
|
+
const { setOptions } = (external_highcharts_src_js_default_default());
|
|
10118
10127
|
|
|
10119
10128
|
const { defined: PathfinderComposition_defined, error: PathfinderComposition_error, merge: PathfinderComposition_merge } = (external_highcharts_src_js_default_default());
|
|
10120
10129
|
/* *
|
|
@@ -10203,7 +10212,7 @@ var ConnectionComposition;
|
|
|
10203
10212
|
pointProto.getPathfinderAnchorPoint = pointGetPathfinderAnchorPoint;
|
|
10204
10213
|
pointProto.getRadiansToVector = pointGetRadiansToVector;
|
|
10205
10214
|
// Set default Pathfinder options
|
|
10206
|
-
|
|
10215
|
+
setOptions(ConnectorsDefaults);
|
|
10207
10216
|
}
|
|
10208
10217
|
}
|
|
10209
10218
|
ConnectionComposition.compose = compose;
|
|
@@ -10809,7 +10818,7 @@ Pathfinder.prototype.algorithms = PathfinderAlgorithms;
|
|
|
10809
10818
|
* */
|
|
10810
10819
|
|
|
10811
10820
|
|
|
10812
|
-
const { addEvent: StaticScale_addEvent, defined: StaticScale_defined, isNumber: StaticScale_isNumber
|
|
10821
|
+
const { addEvent: StaticScale_addEvent, defined: StaticScale_defined, isNumber: StaticScale_isNumber } = (external_highcharts_src_js_default_default());
|
|
10813
10822
|
/* *
|
|
10814
10823
|
*
|
|
10815
10824
|
* Composition
|
|
@@ -10826,12 +10835,11 @@ function StaticScale_compose(AxisClass, ChartClass) {
|
|
|
10826
10835
|
}
|
|
10827
10836
|
/** @private */
|
|
10828
10837
|
function StaticScale_onAxisAfterSetOptions() {
|
|
10829
|
-
const chartOptions = this.chart.
|
|
10838
|
+
const chartOptions = this.chart.userOptions.chart;
|
|
10830
10839
|
if (!this.horiz &&
|
|
10831
10840
|
StaticScale_isNumber(this.options.staticScale) &&
|
|
10832
|
-
(!chartOptions
|
|
10833
|
-
|
|
10834
|
-
chartOptions.scrollablePlotArea.minHeight))) {
|
|
10841
|
+
(!chartOptions?.height ||
|
|
10842
|
+
chartOptions.scrollablePlotArea?.minHeight)) {
|
|
10835
10843
|
this.staticScale = this.options.staticScale;
|
|
10836
10844
|
}
|
|
10837
10845
|
}
|
|
@@ -10840,17 +10848,20 @@ function chartAdjustHeight() {
|
|
|
10840
10848
|
const chart = this;
|
|
10841
10849
|
if (chart.redrawTrigger !== 'adjustHeight') {
|
|
10842
10850
|
for (const axis of (chart.axes || [])) {
|
|
10843
|
-
const chart = axis.chart,
|
|
10844
|
-
|
|
10845
|
-
|
|
10846
|
-
|
|
10851
|
+
const chart = axis.chart, staticScale = axis.options.staticScale;
|
|
10852
|
+
if (axis.staticScale &&
|
|
10853
|
+
staticScale &&
|
|
10854
|
+
StaticScale_defined(axis.min) &&
|
|
10855
|
+
StaticScale_defined(axis.max)) {
|
|
10856
|
+
let height = (axis.brokenAxis?.unitLength ??
|
|
10857
|
+
(axis.max + axis.tickInterval - axis.min)) * (staticScale);
|
|
10847
10858
|
// Minimum height is 1 x staticScale.
|
|
10848
10859
|
height = Math.max(height, staticScale);
|
|
10849
10860
|
const diff = height - chart.plotHeight;
|
|
10850
10861
|
if (!chart.scrollablePixelsY && Math.abs(diff) >= 1) {
|
|
10851
10862
|
chart.plotHeight = height;
|
|
10852
10863
|
chart.redrawTrigger = 'adjustHeight';
|
|
10853
|
-
chart.setSize(void 0, chart.chartHeight + diff,
|
|
10864
|
+
chart.setSize(void 0, chart.chartHeight + diff, chart.initiatedScale ? void 0 : false);
|
|
10854
10865
|
}
|
|
10855
10866
|
// Make sure clip rects have the right height before initial
|
|
10856
10867
|
// animation.
|
|
@@ -10869,7 +10880,7 @@ function chartAdjustHeight() {
|
|
|
10869
10880
|
}
|
|
10870
10881
|
this.initiatedScale = true;
|
|
10871
10882
|
}
|
|
10872
|
-
this.redrawTrigger =
|
|
10883
|
+
this.redrawTrigger = void 0;
|
|
10873
10884
|
}
|
|
10874
10885
|
/* *
|
|
10875
10886
|
*
|
|
@@ -10975,7 +10986,8 @@ var BrokenAxis;
|
|
|
10975
10986
|
*/
|
|
10976
10987
|
function onAxisAfterSetOptions() {
|
|
10977
10988
|
const axis = this;
|
|
10978
|
-
|
|
10989
|
+
// Too early for axis.brokenAxis?.hasBreaks.
|
|
10990
|
+
if (Object.keys(axis.options.breaks?.[0] || {}).length) {
|
|
10979
10991
|
axis.options.ordinal = false;
|
|
10980
10992
|
}
|
|
10981
10993
|
}
|
|
@@ -11047,24 +11059,9 @@ var BrokenAxis;
|
|
|
11047
11059
|
threshold = axis.isXAxis ?
|
|
11048
11060
|
axis.min :
|
|
11049
11061
|
BrokenAxis_pick(series.options.threshold, axis.min);
|
|
11050
|
-
// Array of breaks that have been "zoomed-out" which means that
|
|
11051
|
-
// they were shown previously, but now after zoom, they are not
|
|
11052
|
-
// (#19885).
|
|
11053
|
-
const breaksOutOfRange = axis?.options?.breaks?.filter(function (brk) {
|
|
11054
|
-
let isOut = true;
|
|
11055
|
-
// Iterate to see if "brk" is in axis range
|
|
11056
|
-
for (let i = 0; i < breaks.length; i++) {
|
|
11057
|
-
const otherBreak = breaks[i];
|
|
11058
|
-
if (otherBreak.from === brk.from &&
|
|
11059
|
-
otherBreak.to === brk.to) {
|
|
11060
|
-
isOut = false;
|
|
11061
|
-
break;
|
|
11062
|
-
}
|
|
11063
|
-
}
|
|
11064
|
-
return isOut;
|
|
11065
|
-
});
|
|
11066
11062
|
points.forEach(function (point) {
|
|
11067
|
-
y =
|
|
11063
|
+
y = point['stack' + key.toUpperCase()] ??
|
|
11064
|
+
point[key];
|
|
11068
11065
|
breaks.forEach(function (brk) {
|
|
11069
11066
|
if (BrokenAxis_isNumber(threshold) && BrokenAxis_isNumber(y)) {
|
|
11070
11067
|
let eventName = '';
|
|
@@ -11084,9 +11081,6 @@ var BrokenAxis;
|
|
|
11084
11081
|
}
|
|
11085
11082
|
}
|
|
11086
11083
|
});
|
|
11087
|
-
breaksOutOfRange?.forEach(function (brk) {
|
|
11088
|
-
BrokenAxis_fireEvent(axis, 'pointOutsideOfBreak', { point, brk });
|
|
11089
|
-
});
|
|
11090
11084
|
});
|
|
11091
11085
|
});
|
|
11092
11086
|
}
|
|
@@ -11241,23 +11235,39 @@ var BrokenAxis;
|
|
|
11241
11235
|
* @private
|
|
11242
11236
|
*/
|
|
11243
11237
|
static lin2Val(val) {
|
|
11244
|
-
const axis = this;
|
|
11245
|
-
|
|
11246
|
-
const breakArray = brokenAxis?.breakArray;
|
|
11247
|
-
if (!breakArray || !BrokenAxis_isNumber(val)) {
|
|
11238
|
+
const axis = this, threshold = axis.min || 0, brokenAxis = axis.brokenAxis, breakArray = brokenAxis?.breakArray;
|
|
11239
|
+
if (!breakArray?.length || !BrokenAxis_isNumber(val)) {
|
|
11248
11240
|
return val;
|
|
11249
11241
|
}
|
|
11250
|
-
let nval = val
|
|
11251
|
-
|
|
11252
|
-
|
|
11253
|
-
|
|
11254
|
-
|
|
11255
|
-
|
|
11256
|
-
|
|
11257
|
-
|
|
11242
|
+
let nval = val;
|
|
11243
|
+
// Axis min is the anchor point. Above it, break gaps impact the
|
|
11244
|
+
// result differently than below.
|
|
11245
|
+
if (val > threshold) {
|
|
11246
|
+
for (const brk of breakArray) {
|
|
11247
|
+
if (brk.from > nval) {
|
|
11248
|
+
// Skip all breaks after the nval.
|
|
11249
|
+
break;
|
|
11250
|
+
}
|
|
11251
|
+
else if (brk.to <= nval && brk.to > threshold) {
|
|
11252
|
+
nval += brk.len;
|
|
11253
|
+
}
|
|
11254
|
+
else if (Additions.isInBreak(brk, nval)) {
|
|
11255
|
+
nval += brk.len;
|
|
11256
|
+
}
|
|
11258
11257
|
}
|
|
11259
|
-
|
|
11260
|
-
|
|
11258
|
+
}
|
|
11259
|
+
else if (val < threshold) {
|
|
11260
|
+
for (const brk of breakArray) {
|
|
11261
|
+
if (brk.from > threshold) {
|
|
11262
|
+
// Skip all breaks above the threshold.
|
|
11263
|
+
break;
|
|
11264
|
+
}
|
|
11265
|
+
else if (brk.from >= nval && brk.from < threshold) {
|
|
11266
|
+
nval -= brk.len;
|
|
11267
|
+
}
|
|
11268
|
+
else if (Additions.isInBreak(brk, nval)) {
|
|
11269
|
+
nval -= brk.len;
|
|
11270
|
+
}
|
|
11261
11271
|
}
|
|
11262
11272
|
}
|
|
11263
11273
|
return nval;
|
|
@@ -11266,24 +11276,41 @@ var BrokenAxis;
|
|
|
11266
11276
|
* @private
|
|
11267
11277
|
*/
|
|
11268
11278
|
static val2Lin(val) {
|
|
11269
|
-
const axis = this;
|
|
11270
|
-
|
|
11271
|
-
const breakArray = brokenAxis?.breakArray;
|
|
11272
|
-
if (!breakArray || !BrokenAxis_isNumber(val)) {
|
|
11279
|
+
const axis = this, threshold = axis.min || 0, brokenAxis = axis.brokenAxis, breakArray = brokenAxis?.breakArray;
|
|
11280
|
+
if (!breakArray?.length || !BrokenAxis_isNumber(val)) {
|
|
11273
11281
|
return val;
|
|
11274
11282
|
}
|
|
11275
|
-
let nval = val
|
|
11276
|
-
|
|
11277
|
-
|
|
11278
|
-
|
|
11279
|
-
|
|
11280
|
-
|
|
11281
|
-
|
|
11282
|
-
|
|
11283
|
+
let nval = val;
|
|
11284
|
+
// Axis min is the anchor point. Above it, break gaps impact the
|
|
11285
|
+
// result differently than below.
|
|
11286
|
+
if (val > threshold) {
|
|
11287
|
+
for (const brk of breakArray) {
|
|
11288
|
+
if (brk.to <= val && brk.to > threshold) {
|
|
11289
|
+
nval -= brk.len;
|
|
11290
|
+
}
|
|
11291
|
+
else if (brk.from > val) {
|
|
11292
|
+
// Skip all breaks after the val.
|
|
11293
|
+
break;
|
|
11294
|
+
}
|
|
11295
|
+
else if (Additions.isInBreak(brk, val)) {
|
|
11296
|
+
nval -= (val - brk.from);
|
|
11297
|
+
break;
|
|
11298
|
+
}
|
|
11283
11299
|
}
|
|
11284
|
-
|
|
11285
|
-
|
|
11286
|
-
|
|
11300
|
+
}
|
|
11301
|
+
else if (val < threshold) {
|
|
11302
|
+
for (const brk of breakArray) {
|
|
11303
|
+
if (brk.from >= val && brk.from < threshold) {
|
|
11304
|
+
nval += brk.len;
|
|
11305
|
+
}
|
|
11306
|
+
else if (brk.from > threshold) {
|
|
11307
|
+
// Skip all breaks before the threshold.
|
|
11308
|
+
break;
|
|
11309
|
+
}
|
|
11310
|
+
else if (Additions.isInBreak(brk, val)) {
|
|
11311
|
+
nval += (brk.to - val);
|
|
11312
|
+
break;
|
|
11313
|
+
}
|
|
11287
11314
|
}
|
|
11288
11315
|
}
|
|
11289
11316
|
return nval;
|
|
@@ -11294,7 +11321,6 @@ var BrokenAxis;
|
|
|
11294
11321
|
*
|
|
11295
11322
|
* */
|
|
11296
11323
|
constructor(axis) {
|
|
11297
|
-
this.hasBreaks = false;
|
|
11298
11324
|
this.axis = axis;
|
|
11299
11325
|
}
|
|
11300
11326
|
/* *
|
|
@@ -11360,9 +11386,8 @@ var BrokenAxis;
|
|
|
11360
11386
|
*/
|
|
11361
11387
|
setBreaks(breaks, redraw) {
|
|
11362
11388
|
const brokenAxis = this, axis = brokenAxis.axis, time = axis.chart.time, hasBreaks = BrokenAxis_isArray(breaks) &&
|
|
11363
|
-
!!breaks.length
|
|
11364
|
-
|
|
11365
|
-
axis.isDirty = brokenAxis.hasBreaks !== hasBreaks;
|
|
11389
|
+
!!Object.keys(breaks?.[0] || {}).length;
|
|
11390
|
+
axis.isDirty = (brokenAxis.hasBreaks ?? false) !== hasBreaks;
|
|
11366
11391
|
brokenAxis.hasBreaks = hasBreaks;
|
|
11367
11392
|
// Compile string dates
|
|
11368
11393
|
breaks?.forEach((brk) => {
|
|
@@ -11389,8 +11414,9 @@ var BrokenAxis;
|
|
|
11389
11414
|
axis.setExtremes = function (newMin, newMax, redraw, animation, eventArguments) {
|
|
11390
11415
|
// If trying to set extremes inside a break, extend min to
|
|
11391
11416
|
// after, and max to before the break ( #3857 )
|
|
11392
|
-
|
|
11393
|
-
|
|
11417
|
+
// but not for gantt (#13898);
|
|
11418
|
+
if (brokenAxis.hasBreaks && !axis.treeGrid?.tree) {
|
|
11419
|
+
const breaks = (this.brokenAxis.breakArray || []);
|
|
11394
11420
|
let axisBreak;
|
|
11395
11421
|
while ((axisBreak = brokenAxis.findBreakAt(newMin, breaks))) {
|
|
11396
11422
|
newMin = axisBreak.to;
|
|
@@ -11409,49 +11435,54 @@ var BrokenAxis;
|
|
|
11409
11435
|
axis.constructor.prototype.setAxisTranslation.call(this);
|
|
11410
11436
|
brokenAxis.unitLength = void 0;
|
|
11411
11437
|
if (brokenAxis.hasBreaks) {
|
|
11412
|
-
const breaks = axis.options.breaks || [],
|
|
11413
|
-
|
|
11414
|
-
|
|
11415
|
-
|
|
11416
|
-
|
|
11417
|
-
|
|
11418
|
-
|
|
11419
|
-
|
|
11420
|
-
|
|
11421
|
-
|
|
11422
|
-
|
|
11423
|
-
|
|
11424
|
-
|
|
11425
|
-
|
|
11426
|
-
|
|
11438
|
+
const breaks = axis.options.breaks || [], breakArrayTemp = [], breakArray = [], pointRangePadding = axis.pointRangePadding ?? 0;
|
|
11439
|
+
let length = 0, inBrk, repeat, min = axis.userMin ?? axis.min, max = axis.userMax ?? axis.max, dataMin = axis.dataMin ?? min, dataMax = axis.dataMax ?? max, start, i;
|
|
11440
|
+
if (BrokenAxis_isNumber(axis.threshold)) {
|
|
11441
|
+
dataMin = Math.min(dataMin ?? axis.threshold, axis.threshold);
|
|
11442
|
+
dataMax = Math.max(dataMax ?? axis.threshold, axis.threshold);
|
|
11443
|
+
}
|
|
11444
|
+
// Min & max check (#4247) but not for gantt (#13898)
|
|
11445
|
+
if (!axis.treeGrid?.tree) {
|
|
11446
|
+
breaks.forEach(function (brk) {
|
|
11447
|
+
repeat = brk.repeat || Infinity;
|
|
11448
|
+
if (BrokenAxis_isNumber(min) && BrokenAxis_isNumber(max)) {
|
|
11449
|
+
if (Additions.isInBreak(brk, min)) {
|
|
11450
|
+
min += ((brk.to % repeat) -
|
|
11451
|
+
(min % repeat));
|
|
11452
|
+
}
|
|
11453
|
+
if (Additions.isInBreak(brk, max)) {
|
|
11454
|
+
max -= ((max % repeat) -
|
|
11455
|
+
(brk.from % repeat));
|
|
11456
|
+
}
|
|
11427
11457
|
}
|
|
11428
|
-
}
|
|
11429
|
-
}
|
|
11458
|
+
});
|
|
11459
|
+
}
|
|
11430
11460
|
// Construct an array holding all breaks in the axis
|
|
11431
|
-
|
|
11432
|
-
|
|
11433
|
-
|
|
11434
|
-
|
|
11435
|
-
|
|
11461
|
+
// for the current data range.
|
|
11462
|
+
if (BrokenAxis_isNumber(dataMin) && BrokenAxis_isNumber(dataMax)) {
|
|
11463
|
+
breaks.forEach(function (brk) {
|
|
11464
|
+
start = brk.from;
|
|
11465
|
+
repeat = brk.repeat || Infinity;
|
|
11466
|
+
while (start - repeat > dataMin) {
|
|
11436
11467
|
start -= repeat;
|
|
11437
11468
|
}
|
|
11438
|
-
while (start <
|
|
11469
|
+
while (start < dataMin) {
|
|
11439
11470
|
start += repeat;
|
|
11440
11471
|
}
|
|
11441
|
-
for (i = start; i <
|
|
11442
|
-
|
|
11472
|
+
for (i = start; i < dataMax; i += repeat) {
|
|
11473
|
+
breakArrayTemp.push({
|
|
11443
11474
|
value: i,
|
|
11444
11475
|
move: 'in'
|
|
11445
11476
|
});
|
|
11446
|
-
|
|
11477
|
+
breakArrayTemp.push({
|
|
11447
11478
|
value: i + brk.to - brk.from,
|
|
11448
11479
|
move: 'out',
|
|
11449
11480
|
size: brk.breakSize
|
|
11450
11481
|
});
|
|
11451
11482
|
}
|
|
11452
|
-
}
|
|
11453
|
-
}
|
|
11454
|
-
|
|
11483
|
+
});
|
|
11484
|
+
}
|
|
11485
|
+
breakArrayTemp.sort(function (a, b) {
|
|
11455
11486
|
return ((a.value === b.value) ?
|
|
11456
11487
|
((a.move === 'in' ? 0 : 1) -
|
|
11457
11488
|
(b.move === 'in' ? 0 : 1)) :
|
|
@@ -11459,8 +11490,8 @@ var BrokenAxis;
|
|
|
11459
11490
|
});
|
|
11460
11491
|
// Simplify the breaks
|
|
11461
11492
|
inBrk = 0;
|
|
11462
|
-
start =
|
|
11463
|
-
|
|
11493
|
+
start = dataMin;
|
|
11494
|
+
breakArrayTemp.forEach((brk) => {
|
|
11464
11495
|
inBrk += (brk.move === 'in' ? 1 : -1);
|
|
11465
11496
|
if (inBrk === 1 && brk.move === 'in') {
|
|
11466
11497
|
start = brk.value;
|
|
@@ -11471,9 +11502,13 @@ var BrokenAxis;
|
|
|
11471
11502
|
to: brk.value,
|
|
11472
11503
|
len: brk.value - start - (brk.size || 0)
|
|
11473
11504
|
});
|
|
11474
|
-
|
|
11475
|
-
start
|
|
11476
|
-
|
|
11505
|
+
if (BrokenAxis_isNumber(min) && BrokenAxis_isNumber(max) &&
|
|
11506
|
+
start < max && brk.value > min) {
|
|
11507
|
+
// Sum break gaps in the visible range
|
|
11508
|
+
length += (brk.value -
|
|
11509
|
+
start -
|
|
11510
|
+
(brk.size || 0));
|
|
11511
|
+
}
|
|
11477
11512
|
}
|
|
11478
11513
|
});
|
|
11479
11514
|
brokenAxis.breakArray = breakArray;
|
|
@@ -12721,7 +12756,7 @@ const Tree = {
|
|
|
12721
12756
|
* */
|
|
12722
12757
|
|
|
12723
12758
|
|
|
12724
|
-
const { addEvent: TreeGridTick_addEvent, removeEvent: TreeGridTick_removeEvent, isObject: TreeGridTick_isObject, isNumber: TreeGridTick_isNumber, pick: TreeGridTick_pick, wrap: TreeGridTick_wrap } = (external_highcharts_src_js_default_default());
|
|
12759
|
+
const { addEvent: TreeGridTick_addEvent, correctFloat: TreeGridTick_correctFloat, removeEvent: TreeGridTick_removeEvent, isObject: TreeGridTick_isObject, isNumber: TreeGridTick_isNumber, pick: TreeGridTick_pick, wrap: TreeGridTick_wrap } = (external_highcharts_src_js_default_default());
|
|
12725
12760
|
/* *
|
|
12726
12761
|
*
|
|
12727
12762
|
* Functions
|
|
@@ -12878,6 +12913,7 @@ function wrapRenderLabel(proceed) {
|
|
|
12878
12913
|
TreeGridTick_removeEvent(labelElement);
|
|
12879
12914
|
label?.css({ cursor: 'default' });
|
|
12880
12915
|
icon.destroy();
|
|
12916
|
+
tickGrid.labelIcon = void 0;
|
|
12881
12917
|
}
|
|
12882
12918
|
}
|
|
12883
12919
|
/* *
|
|
@@ -12945,11 +12981,9 @@ class TreeGridTickAdditions {
|
|
|
12945
12981
|
* {@link Highcharts.Chart#redraw}
|
|
12946
12982
|
*/
|
|
12947
12983
|
collapse(redraw) {
|
|
12948
|
-
const
|
|
12949
|
-
if (brokenAxis &&
|
|
12950
|
-
|
|
12951
|
-
const pos = tick.pos, node = axis.treeGrid.mapOfPosToGridNode[pos], breaks = axis.treeGrid.collapse(node);
|
|
12952
|
-
brokenAxis.setBreaks(breaks, TreeGridTick_pick(redraw, true));
|
|
12984
|
+
const { pos, axis } = this.tick, { treeGrid, brokenAxis } = axis, posMappedNodes = treeGrid.mapOfPosToGridNode;
|
|
12985
|
+
if (brokenAxis && posMappedNodes) {
|
|
12986
|
+
brokenAxis.setBreaks(treeGrid.collapse(posMappedNodes[pos]), redraw ?? true);
|
|
12953
12987
|
}
|
|
12954
12988
|
}
|
|
12955
12989
|
/**
|
|
@@ -12959,9 +12993,7 @@ class TreeGridTickAdditions {
|
|
|
12959
12993
|
* @function Highcharts.Tick#destroy
|
|
12960
12994
|
*/
|
|
12961
12995
|
destroy() {
|
|
12962
|
-
|
|
12963
|
-
this.labelIcon.destroy();
|
|
12964
|
-
}
|
|
12996
|
+
this.labelIcon?.destroy();
|
|
12965
12997
|
}
|
|
12966
12998
|
/**
|
|
12967
12999
|
* Expand the grid cell. Used when axis is of type treegrid.
|
|
@@ -12978,8 +13010,7 @@ class TreeGridTickAdditions {
|
|
|
12978
13010
|
expand(redraw) {
|
|
12979
13011
|
const { pos, axis } = this.tick, { treeGrid, brokenAxis } = axis, posMappedNodes = treeGrid.mapOfPosToGridNode;
|
|
12980
13012
|
if (brokenAxis && posMappedNodes) {
|
|
12981
|
-
|
|
12982
|
-
brokenAxis.setBreaks(breaks, TreeGridTick_pick(redraw, true));
|
|
13013
|
+
brokenAxis.setBreaks(treeGrid.expand(posMappedNodes[pos]), redraw ?? true);
|
|
12983
13014
|
}
|
|
12984
13015
|
}
|
|
12985
13016
|
/**
|
|
@@ -12995,12 +13026,38 @@ class TreeGridTickAdditions {
|
|
|
12995
13026
|
* Whether to redraw the chart or wait for an explicit call to
|
|
12996
13027
|
* {@link Highcharts.Chart#redraw}
|
|
12997
13028
|
*/
|
|
12998
|
-
toggleCollapse(redraw) {
|
|
12999
|
-
const
|
|
13000
|
-
if (brokenAxis &&
|
|
13001
|
-
axis.
|
|
13002
|
-
|
|
13003
|
-
|
|
13029
|
+
toggleCollapse(redraw = true) {
|
|
13030
|
+
const { axis, pos } = this.tick, { brokenAxis, treeGrid } = axis;
|
|
13031
|
+
if (brokenAxis && treeGrid.mapOfPosToGridNode) {
|
|
13032
|
+
const scrollMode = !!(axis.scrollbar && axis.staticScale), maxPx = axis.pos + axis.len +
|
|
13033
|
+
(treeGrid.pendingSizeAdjustment || 0);
|
|
13034
|
+
treeGrid.pendingSizeAdjustment = 0;
|
|
13035
|
+
brokenAxis.setBreaks(treeGrid.toggleCollapse(treeGrid.mapOfPosToGridNode[pos]), scrollMode && redraw);
|
|
13036
|
+
if (scrollMode) {
|
|
13037
|
+
const adjustedMax = axis.toValue(axis.toPixels(axis.dataMax));
|
|
13038
|
+
let newMaxVal = axis.toValue(maxPx) - axis.tickmarkOffset, newMinVal = axis.userMin ?? axis.min;
|
|
13039
|
+
// If dataMax is in a break.
|
|
13040
|
+
treeGrid.adjustedMax = adjustedMax !== axis.dataMax ?
|
|
13041
|
+
adjustedMax - axis.tickmarkOffset :
|
|
13042
|
+
void 0;
|
|
13043
|
+
if (newMaxVal > axis.dataMax) {
|
|
13044
|
+
let missingPx = maxPx -
|
|
13045
|
+
axis.toPixels(axis.dataMax + axis.tickmarkOffset);
|
|
13046
|
+
newMaxVal = treeGrid.adjustedMax ?? axis.dataMax;
|
|
13047
|
+
// Check if enough space available on the min end.
|
|
13048
|
+
newMinVal = axis.toValue(axis.toPixels(newMinVal - axis.tickmarkOffset) - missingPx) + axis.tickmarkOffset;
|
|
13049
|
+
if (newMinVal < axis.dataMin) {
|
|
13050
|
+
missingPx = axis.toPixels(axis.dataMin) -
|
|
13051
|
+
axis.toPixels(newMinVal);
|
|
13052
|
+
newMinVal = axis.dataMin;
|
|
13053
|
+
treeGrid.pendingSizeAdjustment = missingPx;
|
|
13054
|
+
}
|
|
13055
|
+
}
|
|
13056
|
+
axis.setExtremes(TreeGridTick_correctFloat(newMinVal), TreeGridTick_correctFloat(newMaxVal), false, false, { trigger: 'toggleCollapse' });
|
|
13057
|
+
}
|
|
13058
|
+
if (redraw) {
|
|
13059
|
+
axis.chart.redraw();
|
|
13060
|
+
}
|
|
13004
13061
|
}
|
|
13005
13062
|
}
|
|
13006
13063
|
}
|
|
@@ -13246,7 +13303,7 @@ const TreeUtilities = {
|
|
|
13246
13303
|
|
|
13247
13304
|
const { getLevelOptions: TreeGridAxis_getLevelOptions } = Series_TreeUtilities;
|
|
13248
13305
|
|
|
13249
|
-
const { addEvent: TreeGridAxis_addEvent, isArray: TreeGridAxis_isArray, splat: TreeGridAxis_splat, find: TreeGridAxis_find, fireEvent: TreeGridAxis_fireEvent, isObject: TreeGridAxis_isObject, isString: TreeGridAxis_isString, merge: TreeGridAxis_merge,
|
|
13306
|
+
const { addEvent: TreeGridAxis_addEvent, isArray: TreeGridAxis_isArray, splat: TreeGridAxis_splat, find: TreeGridAxis_find, fireEvent: TreeGridAxis_fireEvent, isObject: TreeGridAxis_isObject, isString: TreeGridAxis_isString, merge: TreeGridAxis_merge, removeEvent: TreeGridAxis_removeEvent, wrap: TreeGridAxis_wrap } = (external_highcharts_src_js_default_default());
|
|
13250
13307
|
/* *
|
|
13251
13308
|
*
|
|
13252
13309
|
* Variables
|
|
@@ -13259,22 +13316,17 @@ let TickConstructor;
|
|
|
13259
13316
|
*
|
|
13260
13317
|
* */
|
|
13261
13318
|
/**
|
|
13319
|
+
* Creates a break object from a node.
|
|
13320
|
+
*
|
|
13321
|
+
* @param {Object} node
|
|
13322
|
+
* The node to create a break object from.
|
|
13323
|
+
*
|
|
13262
13324
|
* @private
|
|
13263
13325
|
*/
|
|
13264
|
-
function getBreakFromNode(node
|
|
13265
|
-
const to = node.collapseEnd || 0;
|
|
13266
|
-
let from = node.collapseStart || 0;
|
|
13267
|
-
// In broken-axis, the axis.max is minimized until it is not within a
|
|
13268
|
-
// break. Therefore, if break.to is larger than axis.max, the axis.to
|
|
13269
|
-
// should not add the 0.5 axis.tickMarkOffset, to avoid adding a break
|
|
13270
|
-
// larger than axis.max.
|
|
13271
|
-
// TODO consider simplifying broken-axis and this might solve itself
|
|
13272
|
-
if (to >= max) {
|
|
13273
|
-
from -= 0.5;
|
|
13274
|
-
}
|
|
13326
|
+
function getBreakFromNode(node) {
|
|
13275
13327
|
return {
|
|
13276
|
-
from:
|
|
13277
|
-
to:
|
|
13328
|
+
from: node.collapseStart || 0,
|
|
13329
|
+
to: node.collapseEnd || 0,
|
|
13278
13330
|
showPoints: false
|
|
13279
13331
|
};
|
|
13280
13332
|
}
|
|
@@ -13370,8 +13422,7 @@ function getTreeGridFromData(data, uniqueNames, numberOfSeries) {
|
|
|
13370
13422
|
}
|
|
13371
13423
|
// If one of the points are collapsed, then start the grid node
|
|
13372
13424
|
// in collapsed state.
|
|
13373
|
-
if (gridNode &&
|
|
13374
|
-
data.collapsed === true) {
|
|
13425
|
+
if (gridNode && data.collapsed === true) {
|
|
13375
13426
|
gridNode.collapsed = true;
|
|
13376
13427
|
}
|
|
13377
13428
|
// Assign pos to data node
|
|
@@ -13430,7 +13481,7 @@ function getTreeGridFromData(data, uniqueNames, numberOfSeries) {
|
|
|
13430
13481
|
function onBeforeRender(e) {
|
|
13431
13482
|
const chart = e.target, axes = chart.axes;
|
|
13432
13483
|
axes.filter((axis) => axis.type === 'treegrid').forEach(function (axis) {
|
|
13433
|
-
const options = axis.options
|
|
13484
|
+
const options = axis.options, labelOptions = options.labels, uniqueNames = axis.uniqueNames, max = chart.time.parse(options.max),
|
|
13434
13485
|
// Check whether any of series is rendering for the first
|
|
13435
13486
|
// time, visibility has changed, or its data is dirty, and
|
|
13436
13487
|
// only then update. #10570, #10580. Also check if
|
|
@@ -13449,8 +13500,8 @@ function onBeforeRender(e) {
|
|
|
13449
13500
|
const seriesData = (s.options.data || []), firstPoint = seriesData[0],
|
|
13450
13501
|
// Check if the first point is a simple array of values.
|
|
13451
13502
|
// If so we assume that this is the case for all points.
|
|
13452
|
-
foundPrimitivePoint =
|
|
13453
|
-
!firstPoint.find((value) => (typeof value === 'object'))
|
|
13503
|
+
foundPrimitivePoint = Array.isArray(firstPoint) &&
|
|
13504
|
+
!firstPoint.find((value) => (typeof value === 'object'));
|
|
13454
13505
|
seriesHasPrimitivePoints.push(foundPrimitivePoint);
|
|
13455
13506
|
if (s.visible) {
|
|
13456
13507
|
// Push all data to array
|
|
@@ -13466,7 +13517,7 @@ function onBeforeRender(e) {
|
|
|
13466
13517
|
if (TreeGridAxis_isObject(pointOptions, true)) {
|
|
13467
13518
|
// Set series index on data. Removed again
|
|
13468
13519
|
// after use.
|
|
13469
|
-
pointOptions.seriesIndex =
|
|
13520
|
+
pointOptions.seriesIndex = numberOfSeries;
|
|
13470
13521
|
arr.push(pointOptions);
|
|
13471
13522
|
}
|
|
13472
13523
|
});
|
|
@@ -13500,9 +13551,7 @@ function onBeforeRender(e) {
|
|
|
13500
13551
|
axis.series.forEach(function (series, index) {
|
|
13501
13552
|
const axisData = (series.options.data || []).map(function (d) {
|
|
13502
13553
|
if (seriesHasPrimitivePoints[index] ||
|
|
13503
|
-
(TreeGridAxis_isArray(d) &&
|
|
13504
|
-
series.options.keys &&
|
|
13505
|
-
series.options.keys.length)) {
|
|
13554
|
+
(TreeGridAxis_isArray(d) && series.options.keys?.length)) {
|
|
13506
13555
|
// Get the axisData from the data array used to
|
|
13507
13556
|
// build the treeGrid where has been modified
|
|
13508
13557
|
data.forEach(function (point) {
|
|
@@ -13603,22 +13652,20 @@ function wrapInit(proceed, chart, userOptions, coll) {
|
|
|
13603
13652
|
// Collapse all nodes in axis.treegrid.collapsednodes
|
|
13604
13653
|
// where collapsed equals true.
|
|
13605
13654
|
TreeGridAxis_addEvent(axis, 'foundExtremes', function () {
|
|
13606
|
-
|
|
13607
|
-
axis.treeGrid.
|
|
13608
|
-
|
|
13609
|
-
|
|
13610
|
-
|
|
13611
|
-
|
|
13612
|
-
|
|
13613
|
-
|
|
13614
|
-
|
|
13615
|
-
|
|
13616
|
-
|
|
13617
|
-
node.collapseEnd !== n.collapseEnd));
|
|
13618
|
-
}
|
|
13655
|
+
axis.treeGrid.collapsedNodes?.forEach(function (node) {
|
|
13656
|
+
const breaks = axis.treeGrid.collapse(node);
|
|
13657
|
+
if (axis.brokenAxis) {
|
|
13658
|
+
axis.brokenAxis.setBreaks(breaks, false);
|
|
13659
|
+
// Remove the node from the axis collapsedNodes
|
|
13660
|
+
if (axis.treeGrid.collapsedNodes) {
|
|
13661
|
+
axis.treeGrid.collapsedNodes = axis.treeGrid
|
|
13662
|
+
.collapsedNodes
|
|
13663
|
+
.filter((n) => ((node.collapseStart !==
|
|
13664
|
+
n.collapseStart) ||
|
|
13665
|
+
node.collapseEnd !== n.collapseEnd));
|
|
13619
13666
|
}
|
|
13620
|
-
}
|
|
13621
|
-
}
|
|
13667
|
+
}
|
|
13668
|
+
});
|
|
13622
13669
|
});
|
|
13623
13670
|
// If staticScale is not defined on the yAxis
|
|
13624
13671
|
// and chart height is set, set axis.isDirty
|
|
@@ -13743,8 +13790,8 @@ function wrapSetTickInterval(proceed) {
|
|
|
13743
13790
|
[];
|
|
13744
13791
|
if (linkedParent) {
|
|
13745
13792
|
const linkedParentExtremes = linkedParent.getExtremes();
|
|
13746
|
-
axis.min =
|
|
13747
|
-
axis.max =
|
|
13793
|
+
axis.min = linkedParentExtremes.min ?? linkedParentExtremes.dataMin;
|
|
13794
|
+
axis.max = linkedParentExtremes.max ?? linkedParentExtremes.dataMax;
|
|
13748
13795
|
axis.tickPositions = linkedParent.tickPositions;
|
|
13749
13796
|
}
|
|
13750
13797
|
axis.linkedParent = linkedParent;
|
|
@@ -13823,6 +13870,7 @@ class TreeGridAxisAdditions {
|
|
|
13823
13870
|
* @private
|
|
13824
13871
|
*/
|
|
13825
13872
|
constructor(axis) {
|
|
13873
|
+
this.pendingSizeAdjustment = 0;
|
|
13826
13874
|
this.axis = axis;
|
|
13827
13875
|
}
|
|
13828
13876
|
/* *
|
|
@@ -13872,7 +13920,7 @@ class TreeGridAxisAdditions {
|
|
|
13872
13920
|
* Returns an array of the new breaks for the axis.
|
|
13873
13921
|
*/
|
|
13874
13922
|
collapse(node) {
|
|
13875
|
-
const axis = this.axis, breaks =
|
|
13923
|
+
const axis = this.axis, breaks = axis.options.breaks || [], obj = getBreakFromNode(node);
|
|
13876
13924
|
breaks.push(obj);
|
|
13877
13925
|
// Change the collapsed flag #13838
|
|
13878
13926
|
node.collapsed = true;
|
|
@@ -13897,17 +13945,17 @@ class TreeGridAxisAdditions {
|
|
|
13897
13945
|
* Returns an array of the new breaks for the axis.
|
|
13898
13946
|
*/
|
|
13899
13947
|
expand(node) {
|
|
13900
|
-
const axis = this.axis,
|
|
13948
|
+
const axis = this.axis, obj = getBreakFromNode(node);
|
|
13901
13949
|
// Change the collapsed flag #13838
|
|
13902
13950
|
node.collapsed = false;
|
|
13903
13951
|
axis.treeGrid.setCollapsedStatus(node);
|
|
13904
13952
|
// Remove the break from the axis breaks array.
|
|
13905
|
-
return breaks
|
|
13953
|
+
return axis.options.breaks?.reduce(function (arr, b) {
|
|
13906
13954
|
if (b.to !== obj.to || b.from !== obj.from) {
|
|
13907
13955
|
arr.push(b);
|
|
13908
13956
|
}
|
|
13909
13957
|
return arr;
|
|
13910
|
-
}, []);
|
|
13958
|
+
}, []) || [];
|
|
13911
13959
|
}
|
|
13912
13960
|
/**
|
|
13913
13961
|
* Creates a list of positions for the ticks on the axis. Filters out
|
|
@@ -13935,20 +13983,14 @@ class TreeGridAxisAdditions {
|
|
|
13935
13983
|
*
|
|
13936
13984
|
* @private
|
|
13937
13985
|
*
|
|
13938
|
-
* @param {Highcharts.Axis} axis
|
|
13939
|
-
* The axis to check against.
|
|
13940
|
-
*
|
|
13941
13986
|
* @param {Object} node
|
|
13942
13987
|
* The node to check if is collapsed.
|
|
13943
13988
|
*
|
|
13944
|
-
* @param {number} pos
|
|
13945
|
-
* The tick position to collapse.
|
|
13946
|
-
*
|
|
13947
13989
|
* @return {boolean}
|
|
13948
13990
|
* Returns true if collapsed, false if expanded.
|
|
13949
13991
|
*/
|
|
13950
13992
|
isCollapsed(node) {
|
|
13951
|
-
const axis = this.axis, breaks = (axis.options.breaks || []), obj = getBreakFromNode(node
|
|
13993
|
+
const axis = this.axis, breaks = (axis.options.breaks || []), obj = getBreakFromNode(node);
|
|
13952
13994
|
return breaks.some(function (b) {
|
|
13953
13995
|
return b.from === obj.from && b.to === obj.to;
|
|
13954
13996
|
});
|