highcharts 13.0.1 → 13.0.2
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 +2 -3
- package/es-modules/Accessibility/A11yI18n.js +4 -4
- package/es-modules/Accessibility/Components/InfoRegionsComponent.js +6 -4
- package/es-modules/Accessibility/Components/LegendComponent.js +2 -2
- package/es-modules/Accessibility/Components/NavigatorComponent.js +2 -2
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +13 -10
- package/es-modules/Accessibility/Components/ZoomComponent.js +2 -2
- package/es-modules/Accessibility/FocusBorder.js +2 -2
- package/es-modules/Accessibility/Options/DeprecatedOptions.js +1 -2
- package/es-modules/Core/Animation/AnimationUtilities.js +3 -2
- package/es-modules/Core/Axis/Axis.js +48 -57
- package/es-modules/Core/Axis/Axis3DComposition.js +8 -6
- package/es-modules/Core/Axis/BrokenAxis.js +6 -5
- package/es-modules/Core/Axis/Color/ColorAxis.js +17 -10
- package/es-modules/Core/Axis/Color/ColorAxisComposition.js +2 -2
- package/es-modules/Core/Axis/GridAxis.js +4 -4
- package/es-modules/Core/Axis/LogarithmicAxis.js +5 -3
- package/es-modules/Core/Axis/NavigatorAxisComposition.js +2 -2
- package/es-modules/Core/Axis/OrdinalAxis.js +9 -7
- package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +3 -2
- package/es-modules/Core/Axis/RadialAxis.js +15 -9
- package/es-modules/Core/Axis/ScrollbarAxis.js +3 -3
- package/es-modules/Core/Axis/Stacking/StackItem.js +5 -5
- package/es-modules/Core/Axis/Stacking/StackingAxis.js +4 -4
- package/es-modules/Core/Axis/Tick.js +10 -11
- package/es-modules/Core/Axis/TreeGrid/TreeGridTick.js +3 -3
- package/es-modules/Core/Chart/Chart.js +14 -14
- package/es-modules/Core/Chart/Chart3D.js +3 -3
- package/es-modules/Core/Chart/ChartDefaults.js +23 -0
- package/es-modules/Core/Chart/MapChart.js +7 -5
- package/es-modules/Core/Chart/StockChart.js +15 -11
- package/es-modules/Core/Color/Color.js +3 -1
- package/es-modules/Core/Defaults.js +35 -0
- package/es-modules/Core/Globals.js +1 -1
- package/es-modules/Core/Legend/Legend.js +16 -12
- package/es-modules/Core/Legend/LegendSymbol.js +2 -2
- package/es-modules/Core/MSPointer.js +2 -2
- package/es-modules/Core/Math3D.js +6 -7
- package/es-modules/Core/Pointer.js +9 -9
- package/es-modules/Core/Renderer/RendererUtilities.js +2 -2
- package/es-modules/Core/Renderer/SVG/SVGElement.js +11 -9
- package/es-modules/Core/Renderer/SVG/SVGElement3D.js +2 -2
- package/es-modules/Core/Renderer/SVG/SVGLabel.js +5 -5
- package/es-modules/Core/Renderer/SVG/SVGRenderer.js +5 -5
- package/es-modules/Core/Renderer/SVG/SVGRenderer3D.js +11 -9
- package/es-modules/Core/Renderer/SVG/Symbols.js +6 -5
- package/es-modules/Core/Renderer/SVG/TextBuilder.js +2 -2
- package/es-modules/Core/Responsive.js +7 -5
- package/es-modules/Core/Series/DataLabel.js +8 -6
- package/es-modules/Core/Series/OverlappingDataLabels.js +5 -2
- package/es-modules/Core/Series/Point.js +3 -3
- package/es-modules/Core/Series/Series.js +37 -21
- package/es-modules/Core/Series/Series3D.js +2 -2
- package/es-modules/Core/Templating.js +2 -2
- package/es-modules/Core/Tooltip.js +11 -7
- package/es-modules/Core/Utilities.js +4 -3
- package/es-modules/Data/Connectors/DataConnector.js +2 -2
- package/es-modules/Data/Connectors/GoogleSheetsConnector.js +2 -2
- package/es-modules/Data/DataTable.js +17 -0
- package/es-modules/Extensions/Annotations/Annotation.js +4 -4
- package/es-modules/Extensions/Annotations/AnnotationChart.js +2 -2
- package/es-modules/Extensions/Annotations/ControlPoint.js +2 -2
- package/es-modules/Extensions/Annotations/Controllables/ControllableLabel.js +2 -2
- package/es-modules/Extensions/Annotations/EventEmitter.js +4 -4
- package/es-modules/Extensions/Annotations/NavigationBindings.js +6 -3
- package/es-modules/Extensions/Annotations/NavigationBindingsUtilities.js +2 -2
- package/es-modules/Extensions/Annotations/Popup/Popup.js +3 -2
- package/es-modules/Extensions/Annotations/Popup/PopupAnnotations.js +4 -6
- package/es-modules/Extensions/Annotations/Types/Measure.js +3 -3
- package/es-modules/Extensions/Annotations/Types/VerticalLine.js +3 -3
- package/es-modules/Extensions/Boost/BoostChart.js +11 -4
- package/es-modules/Extensions/Boost/BoostSeries.js +8 -9
- package/es-modules/Extensions/Boost/WGLRenderer.js +9 -6
- package/es-modules/Extensions/Boost/WGLShader.js +3 -3
- package/es-modules/Extensions/BoostCanvas.js +2 -2
- package/es-modules/Extensions/Breadcrumbs/Breadcrumbs.js +5 -4
- package/es-modules/Extensions/DataGrouping/DataGrouping.js +2 -2
- package/es-modules/Extensions/DataGrouping/DataGroupingAxisComposition.js +4 -3
- package/es-modules/Extensions/DataGrouping/DataGroupingSeriesComposition.js +2 -2
- package/es-modules/Extensions/DraggablePoints/DragDropProps.js +2 -3
- package/es-modules/Extensions/ExportData/ExportData.js +17 -16
- package/es-modules/Extensions/Exporting/Exporting.js +7 -7
- package/es-modules/Extensions/MouseWheelZoom/MouseWheelZoom.js +2 -2
- package/es-modules/Extensions/Pane/PaneComposition.js +2 -2
- package/es-modules/Extensions/ParallelCoordinates/ParallelAxis.js +2 -2
- package/es-modules/Extensions/PatternFill.js +7 -5
- package/es-modules/Extensions/PriceIndication.js +5 -4
- package/es-modules/Extensions/SeriesLabel/SeriesLabel.js +7 -7
- package/es-modules/Extensions/Sonification/MIDI.js +2 -3
- package/es-modules/Extensions/Sonification/Sonification.js +2 -2
- package/es-modules/Extensions/Sonification/SonificationSpeaker.js +3 -2
- package/es-modules/Extensions/Sonification/SynthPatch.js +3 -3
- package/es-modules/Extensions/Sonification/TimelineFromChart.js +11 -11
- package/es-modules/Gantt/Legacy.js +2 -2
- package/es-modules/Gantt/Pathfinder.js +3 -3
- package/es-modules/Gantt/PathfinderAlgorithms.js +4 -3
- package/es-modules/Gantt/Tree.js +1 -1
- package/es-modules/Maps/MapNavigation.js +4 -4
- package/es-modules/Maps/MapPointer.js +2 -2
- package/es-modules/Maps/MapView.js +2 -2
- package/es-modules/Series/ArcDiagram/ArcDiagramSeries.js +8 -6
- package/es-modules/Series/Area/AreaSeries.js +4 -5
- package/es-modules/Series/BoxPlot/BoxPlotSeries.js +13 -4
- package/es-modules/Series/Bubble/BubbleLegendItem.js +10 -6
- package/es-modules/Series/Bubble/BubbleSeries.js +10 -9
- package/es-modules/Series/Bullet/BulletSeries.js +17 -10
- package/es-modules/Series/CenteredUtilities.js +7 -5
- package/es-modules/Series/Column/ColumnSeries.js +2 -2
- package/es-modules/Series/Column3D/Column3DComposition.js +6 -5
- package/es-modules/Series/ColumnPyramid/ColumnPyramidSeries.js +4 -4
- package/es-modules/Series/ColumnRange/ColumnRangeSeries.js +4 -2
- package/es-modules/Series/Cylinder/CylinderComposition.js +2 -2
- package/es-modules/Series/DataModifyComposition.js +9 -7
- package/es-modules/Series/DotPlot/DotPlotSeries.js +3 -2
- package/es-modules/Series/Dumbbell/DumbbellPoint.js +14 -3
- package/es-modules/Series/Dumbbell/DumbbellSeries.js +24 -7
- package/es-modules/Series/FlowMap/FlowMapPoint.js +5 -3
- package/es-modules/Series/FlowMap/FlowMapSeries.js +17 -9
- package/es-modules/Series/Funnel/FunnelSeries.js +2 -2
- package/es-modules/Series/Funnel3D/Funnel3DSeries.js +7 -5
- package/es-modules/Series/Gauge/GaugeSeries.js +2 -2
- package/es-modules/Series/GeoHeatmap/GeoHeatmapSeries.js +4 -4
- package/es-modules/Series/Heatmap/HeatmapPoint.js +6 -6
- package/es-modules/Series/Heatmap/HeatmapPointOptions.js +12 -0
- package/es-modules/Series/Heatmap/HeatmapSeries.js +13 -13
- package/es-modules/Series/Heatmap/HeatmapSeriesOptions.js +12 -0
- package/es-modules/Series/Histogram/HistogramPoint.js +17 -0
- package/es-modules/Series/Histogram/HistogramPointOptions.js +12 -0
- package/es-modules/Series/Histogram/HistogramSeries.js +14 -2
- package/es-modules/Series/Histogram/HistogramSeriesOptions.js +12 -0
- package/es-modules/Series/InterpolationUtilities.js +5 -5
- package/es-modules/Series/Item/ItemPointOptions.js +14 -0
- package/es-modules/Series/Item/ItemSeries.js +18 -6
- package/es-modules/Series/Item/ItemSeriesOptions.js +14 -0
- package/es-modules/Series/Map/MapPoint.js +5 -3
- package/es-modules/Series/Map/MapSeries.js +5 -8
- package/es-modules/Series/Networkgraph/NetworkgraphPoint.js +3 -3
- package/es-modules/Series/Networkgraph/NetworkgraphSeries.js +4 -2
- package/es-modules/Series/Networkgraph/ReingoldFruchtermanLayout.js +18 -9
- package/es-modules/Series/NodesComposition.js +9 -10
- package/es-modules/Series/Organization/OrganizationPoint.js +3 -2
- package/es-modules/Series/PackedBubble/PackedBubbleLayout.js +3 -3
- package/es-modules/Series/PackedBubble/PackedBubbleSeries.js +5 -5
- package/es-modules/Series/Pictorial/PictorialSeries.js +4 -2
- package/es-modules/Series/Pie/PieDataLabel.js +2 -2
- package/es-modules/Series/Pie/PiePoint.js +2 -2
- package/es-modules/Series/Pie/PieSeries.js +3 -2
- package/es-modules/Series/Pie3D/Pie3DSeries.js +8 -4
- package/es-modules/Series/PolarComposition.js +8 -7
- package/es-modules/Series/Sankey/SankeySeries.js +11 -5
- package/es-modules/Series/Scatter/ScatterSeries.js +6 -5
- package/es-modules/Series/SolidGauge/SolidGaugeSeries.js +2 -2
- package/es-modules/Series/Spline/SplineSeries.js +5 -5
- package/es-modules/Series/TiledWebMap/TiledWebMapSeries.js +8 -6
- package/es-modules/Series/Tilemap/TilemapShapes.js +2 -2
- package/es-modules/Series/Timeline/TimelinePoint.js +2 -2
- package/es-modules/Series/Timeline/TimelineSeries.js +4 -3
- package/es-modules/Series/TreeUtilities.js +16 -7
- package/es-modules/Series/Treegraph/TreegraphLink.js +2 -2
- package/es-modules/Series/Treemap/TreemapPoint.js +2 -2
- package/es-modules/Series/Treemap/TreemapSeries.js +14 -11
- package/es-modules/Series/VariablePie/VariablePieSeries.js +6 -4
- package/es-modules/Series/Variwide/VariwideSeries.js +2 -2
- package/es-modules/Series/Waterfall/WaterfallSeries.js +2 -2
- package/es-modules/Series/Windbarb/WindbarbSeries.js +2 -2
- package/es-modules/Shared/TimeBase.js +8 -2
- package/es-modules/Shared/Utilities.js +9 -7
- package/es-modules/Stock/Indicators/Aroon/AroonIndicator.js +3 -3
- package/es-modules/Stock/Indicators/DPO/DPOIndicator.js +4 -3
- package/es-modules/Stock/Indicators/RSI/RSIIndicator.js +1 -1
- package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +2 -2
- package/es-modules/Stock/Navigator/ChartNavigatorComposition.js +4 -4
- package/es-modules/Stock/Navigator/Navigator.js +26 -26
- package/es-modules/Stock/Navigator/StandaloneNavigator.js +4 -4
- package/es-modules/Stock/RangeSelector/RangeSelector.js +15 -11
- package/es-modules/Stock/RangeSelector/RangeSelectorComposition.js +3 -3
- package/es-modules/Stock/Scrollbar/Scrollbar.js +8 -7
- package/es-modules/Stock/StockTools/StockToolbar.js +5 -5
- package/es-modules/Stock/StockTools/StockTools.js +2 -2
- package/es-modules/Stock/StockTools/StockToolsGui.js +4 -2
- package/es-modules/masters/highcharts-3d.src.js +1 -1
- package/es-modules/masters/highcharts-autoload.src.js +1 -1
- package/es-modules/masters/highcharts-gantt.src.js +1 -1
- package/es-modules/masters/highcharts-more.src.js +1 -1
- package/es-modules/masters/highcharts.src.js +7 -2
- package/es-modules/masters/highmaps.src.js +1 -1
- package/es-modules/masters/highstock.src.js +1 -1
- 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/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/contour.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-sorting.src.js +1 -1
- package/es-modules/masters/modules/data-tools.src.js +1 -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 +1 -1
- package/es-modules/masters/modules/dumbbell.src.js +1 -1
- package/es-modules/masters/modules/export-data.src.js +1 -1
- package/es-modules/masters/modules/exporting.src.js +1 -1
- package/es-modules/masters/modules/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.js +1 -1
- package/es-modules/masters/modules/offline-exporting.src.js +1 -1
- 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 +1 -1
- package/es-modules/masters/themes/adaptive.src.js +1 -1
- package/es-modules/masters/themes/avocado.src.js +1 -1
- package/es-modules/masters/themes/dark-unica.src.js +1 -1
- package/es-modules/masters/themes/grid-light.src.js +1 -1
- package/es-modules/masters/themes/high-contrast.src.js +1 -1
- package/es-modules/masters/themes/sand-signika.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 +2 -2
- package/esm/highcharts-3d.src.js +40 -32
- package/esm/highcharts-autoload.js +1 -1
- package/esm/highcharts-autoload.src.js +1 -1
- package/esm/highcharts-gantt.js +1 -1
- package/esm/highcharts-gantt.src.js +1 -1
- package/esm/highcharts-more.js +2 -2
- package/esm/highcharts-more.src.js +90 -56
- package/esm/highcharts.js +4 -4
- package/esm/highcharts.src.js +312 -207
- package/esm/highmaps.js +1 -1
- package/esm/highmaps.src.js +1 -1
- package/esm/highstock.js +1 -1
- package/esm/highstock.src.js +1 -1
- package/esm/i18n/fr-FR.js +1 -1
- package/esm/i18n/fr-FR.src.js +1 -1
- package/esm/i18n/nb-NO.js +1 -1
- package/esm/i18n/nb-NO.src.js +1 -1
- package/esm/i18n/zh-CN.js +1 -1
- package/esm/i18n/zh-CN.src.js +1 -1
- package/esm/indicators/acceleration-bands.js +1 -1
- package/esm/indicators/acceleration-bands.src.js +1 -1
- package/esm/indicators/accumulation-distribution.js +1 -1
- package/esm/indicators/accumulation-distribution.src.js +1 -1
- package/esm/indicators/ao.js +1 -1
- package/esm/indicators/ao.src.js +1 -1
- package/esm/indicators/apo.js +1 -1
- package/esm/indicators/apo.src.js +1 -1
- package/esm/indicators/aroon-oscillator.js +1 -1
- package/esm/indicators/aroon-oscillator.src.js +1 -1
- package/esm/indicators/aroon.js +2 -2
- package/esm/indicators/aroon.src.js +3 -3
- package/esm/indicators/atr.js +1 -1
- package/esm/indicators/atr.src.js +1 -1
- package/esm/indicators/bollinger-bands.js +1 -1
- package/esm/indicators/bollinger-bands.src.js +1 -1
- package/esm/indicators/cci.js +1 -1
- package/esm/indicators/cci.src.js +1 -1
- package/esm/indicators/chaikin.js +1 -1
- package/esm/indicators/chaikin.src.js +1 -1
- package/esm/indicators/cmf.js +1 -1
- package/esm/indicators/cmf.src.js +1 -1
- package/esm/indicators/cmo.js +1 -1
- package/esm/indicators/cmo.src.js +1 -1
- package/esm/indicators/dema.js +1 -1
- package/esm/indicators/dema.src.js +1 -1
- package/esm/indicators/disparity-index.js +1 -1
- package/esm/indicators/disparity-index.src.js +1 -1
- package/esm/indicators/dmi.js +1 -1
- package/esm/indicators/dmi.src.js +1 -1
- package/esm/indicators/dpo.js +2 -2
- package/esm/indicators/dpo.src.js +4 -3
- package/esm/indicators/ichimoku-kinko-hyo.js +1 -1
- package/esm/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/esm/indicators/indicators-all.js +2 -2
- package/esm/indicators/indicators-all.src.js +8 -7
- package/esm/indicators/indicators.js +2 -2
- package/esm/indicators/indicators.src.js +2 -2
- package/esm/indicators/keltner-channels.js +1 -1
- package/esm/indicators/keltner-channels.src.js +1 -1
- package/esm/indicators/klinger.js +1 -1
- package/esm/indicators/klinger.src.js +1 -1
- package/esm/indicators/macd.js +1 -1
- package/esm/indicators/macd.src.js +1 -1
- package/esm/indicators/mfi.js +1 -1
- package/esm/indicators/mfi.src.js +1 -1
- package/esm/indicators/momentum.js +1 -1
- package/esm/indicators/momentum.src.js +1 -1
- package/esm/indicators/natr.js +1 -1
- package/esm/indicators/natr.src.js +1 -1
- package/esm/indicators/obv.js +1 -1
- package/esm/indicators/obv.src.js +1 -1
- package/esm/indicators/pivot-points.js +1 -1
- package/esm/indicators/pivot-points.src.js +1 -1
- package/esm/indicators/ppo.js +1 -1
- package/esm/indicators/ppo.src.js +1 -1
- package/esm/indicators/price-channel.js +1 -1
- package/esm/indicators/price-channel.src.js +1 -1
- package/esm/indicators/price-envelopes.js +1 -1
- package/esm/indicators/price-envelopes.src.js +1 -1
- package/esm/indicators/psar.js +1 -1
- package/esm/indicators/psar.src.js +1 -1
- package/esm/indicators/regressions.js +1 -1
- package/esm/indicators/regressions.src.js +1 -1
- package/esm/indicators/roc.js +1 -1
- package/esm/indicators/roc.src.js +1 -1
- package/esm/indicators/rsi.js +1 -1
- package/esm/indicators/rsi.src.js +2 -2
- package/esm/indicators/slow-stochastic.js +1 -1
- package/esm/indicators/slow-stochastic.src.js +1 -1
- package/esm/indicators/stochastic.js +1 -1
- package/esm/indicators/stochastic.src.js +1 -1
- package/esm/indicators/supertrend.js +1 -1
- package/esm/indicators/supertrend.src.js +1 -1
- package/esm/indicators/tema.js +1 -1
- package/esm/indicators/tema.src.js +1 -1
- package/esm/indicators/trendline.js +1 -1
- package/esm/indicators/trendline.src.js +1 -1
- package/esm/indicators/trix.js +1 -1
- package/esm/indicators/trix.src.js +1 -1
- package/esm/indicators/volume-by-price.js +1 -1
- package/esm/indicators/volume-by-price.src.js +1 -1
- package/esm/indicators/vwap.js +1 -1
- package/esm/indicators/vwap.src.js +1 -1
- package/esm/indicators/williams-r.js +1 -1
- package/esm/indicators/williams-r.src.js +1 -1
- package/esm/indicators/wma.js +1 -1
- package/esm/indicators/wma.src.js +1 -1
- package/esm/indicators/zigzag.js +1 -1
- package/esm/indicators/zigzag.src.js +1 -1
- package/esm/modules/accessibility.js +2 -2
- package/esm/modules/accessibility.src.js +69 -63
- package/esm/modules/annotations-advanced.js +3 -3
- package/esm/modules/annotations-advanced.src.js +25 -23
- package/esm/modules/annotations.js +3 -3
- package/esm/modules/annotations.src.js +21 -19
- package/esm/modules/arc-diagram.js +2 -2
- package/esm/modules/arc-diagram.src.js +16 -15
- package/esm/modules/arrow-symbols.js +1 -1
- package/esm/modules/arrow-symbols.src.js +1 -1
- package/esm/modules/boost-canvas.js +2 -2
- package/esm/modules/boost-canvas.src.js +29 -20
- package/esm/modules/boost.js +2 -2
- package/esm/modules/boost.src.js +28 -19
- package/esm/modules/broken-axis.js +2 -2
- package/esm/modules/broken-axis.src.js +6 -5
- package/esm/modules/bullet.js +2 -2
- package/esm/modules/bullet.src.js +17 -10
- package/esm/modules/coloraxis.js +2 -2
- package/esm/modules/coloraxis.src.js +18 -11
- package/esm/modules/contour.js +1 -1
- package/esm/modules/contour.src.js +1 -1
- package/esm/modules/current-date-indicator.js +1 -1
- package/esm/modules/current-date-indicator.src.js +1 -1
- package/esm/modules/cylinder.js +2 -2
- package/esm/modules/cylinder.src.js +9 -10
- package/esm/modules/data-sorting.js +1 -1
- package/esm/modules/data-sorting.src.js +1 -1
- package/esm/modules/data-tools.js +2 -2
- package/esm/modules/data-tools.src.js +20 -3
- package/esm/modules/data.js +1 -1
- package/esm/modules/data.src.js +1 -1
- package/esm/modules/datagrouping.js +2 -2
- package/esm/modules/datagrouping.src.js +6 -5
- package/esm/modules/debugger.js +1 -1
- package/esm/modules/debugger.src.js +1 -1
- package/esm/modules/dependency-wheel.js +1 -1
- package/esm/modules/dependency-wheel.src.js +1 -1
- package/esm/modules/dotplot.js +2 -2
- package/esm/modules/dotplot.src.js +3 -2
- package/esm/modules/drag-panes.js +1 -1
- package/esm/modules/drag-panes.src.js +1 -1
- package/esm/modules/draggable-points.js +2 -2
- package/esm/modules/draggable-points.src.js +2 -3
- package/esm/modules/drilldown.js +2 -2
- package/esm/modules/drilldown.src.js +5 -4
- package/esm/modules/dumbbell.js +2 -2
- package/esm/modules/dumbbell.src.js +37 -9
- package/esm/modules/export-data.js +2 -2
- package/esm/modules/export-data.src.js +17 -16
- package/esm/modules/exporting.js +2 -2
- package/esm/modules/exporting.src.js +7 -7
- package/esm/modules/flowmap.js +2 -2
- package/esm/modules/flowmap.src.js +21 -11
- package/esm/modules/full-screen.js +1 -1
- package/esm/modules/full-screen.src.js +1 -1
- package/esm/modules/funnel.js +2 -2
- package/esm/modules/funnel.src.js +2 -2
- package/esm/modules/funnel3d.js +2 -2
- package/esm/modules/funnel3d.src.js +14 -13
- package/esm/modules/gantt.js +2 -2
- package/esm/modules/gantt.src.js +93 -76
- package/esm/modules/geoheatmap.js +2 -2
- package/esm/modules/geoheatmap.src.js +8 -8
- package/esm/modules/grid-axis.js +2 -2
- package/esm/modules/grid-axis.src.js +4 -4
- package/esm/modules/heatmap.js +2 -2
- package/esm/modules/heatmap.src.js +22 -22
- package/esm/modules/heikinashi.js +1 -1
- package/esm/modules/heikinashi.src.js +1 -1
- package/esm/modules/histogram-bellcurve.js +1 -1
- package/esm/modules/histogram-bellcurve.src.js +15 -3
- package/esm/modules/hollowcandlestick.js +1 -1
- package/esm/modules/hollowcandlestick.src.js +1 -1
- package/esm/modules/item-series.js +2 -2
- package/esm/modules/item-series.src.js +18 -6
- package/esm/modules/lollipop.js +1 -1
- package/esm/modules/lollipop.src.js +1 -1
- package/esm/modules/map.js +2 -2
- package/esm/modules/map.src.js +65 -57
- package/esm/modules/marker-clusters.js +1 -1
- package/esm/modules/marker-clusters.src.js +1 -1
- package/esm/modules/mouse-wheel-zoom.js +2 -2
- package/esm/modules/mouse-wheel-zoom.src.js +3 -3
- package/esm/modules/navigator.js +2 -2
- package/esm/modules/navigator.src.js +47 -45
- package/esm/modules/networkgraph.js +2 -2
- package/esm/modules/networkgraph.src.js +31 -21
- package/esm/modules/no-data-to-display.js +1 -1
- package/esm/modules/no-data-to-display.src.js +1 -1
- package/esm/modules/non-cartesian-zoom.js +1 -1
- package/esm/modules/non-cartesian-zoom.src.js +1 -1
- package/esm/modules/offline-exporting.js +1 -1
- package/esm/modules/offline-exporting.src.js +1 -1
- package/esm/modules/organization.js +2 -2
- package/esm/modules/organization.src.js +3 -2
- package/esm/modules/parallel-coordinates.js +2 -2
- package/esm/modules/parallel-coordinates.src.js +2 -2
- package/esm/modules/pareto.js +1 -1
- package/esm/modules/pareto.src.js +1 -1
- package/esm/modules/pathfinder.js +2 -2
- package/esm/modules/pathfinder.src.js +7 -6
- package/esm/modules/pattern-fill.js +2 -2
- package/esm/modules/pattern-fill.src.js +7 -5
- package/esm/modules/pictorial.js +2 -2
- package/esm/modules/pictorial.src.js +10 -6
- package/esm/modules/pointandfigure.js +1 -1
- package/esm/modules/pointandfigure.src.js +1 -1
- package/esm/modules/price-indicator.js +2 -2
- package/esm/modules/price-indicator.src.js +5 -4
- package/esm/modules/pyramid3d.js +1 -1
- package/esm/modules/pyramid3d.src.js +1 -1
- package/esm/modules/renko.js +1 -1
- package/esm/modules/renko.src.js +1 -1
- package/esm/modules/sankey.js +2 -2
- package/esm/modules/sankey.src.js +34 -20
- package/esm/modules/series-label.js +2 -2
- package/esm/modules/series-label.src.js +7 -7
- package/esm/modules/series-on-point.js +1 -1
- package/esm/modules/series-on-point.src.js +1 -1
- package/esm/modules/solid-gauge.js +2 -2
- package/esm/modules/solid-gauge.src.js +2 -2
- package/esm/modules/sonification.js +2 -2
- package/esm/modules/sonification.src.js +19 -19
- package/esm/modules/static-scale.js +1 -1
- package/esm/modules/static-scale.src.js +1 -1
- package/esm/modules/stock-tools.js +3 -3
- package/esm/modules/stock-tools.src.js +15 -10
- package/esm/modules/stock.js +2 -2
- package/esm/modules/stock.src.js +90 -76
- package/esm/modules/streamgraph.js +1 -1
- package/esm/modules/streamgraph.src.js +1 -1
- package/esm/modules/sunburst.js +2 -2
- package/esm/modules/sunburst.src.js +41 -26
- package/esm/modules/textpath.js +1 -1
- package/esm/modules/textpath.src.js +1 -1
- package/esm/modules/tiledwebmap.js +2 -2
- package/esm/modules/tiledwebmap.src.js +8 -6
- package/esm/modules/tilemap.js +2 -2
- package/esm/modules/tilemap.src.js +3 -3
- package/esm/modules/timeline.js +2 -2
- package/esm/modules/timeline.src.js +5 -4
- package/esm/modules/treegraph.js +2 -2
- package/esm/modules/treegraph.src.js +17 -8
- package/esm/modules/treegrid.js +2 -2
- package/esm/modules/treegrid.src.js +28 -18
- package/esm/modules/treemap.js +2 -2
- package/esm/modules/treemap.src.js +35 -22
- package/esm/modules/variable-pie.js +2 -2
- package/esm/modules/variable-pie.src.js +6 -4
- package/esm/modules/variwide.js +2 -2
- package/esm/modules/variwide.src.js +2 -2
- package/esm/modules/vector.js +1 -1
- package/esm/modules/vector.src.js +1 -1
- package/esm/modules/venn.js +1 -1
- package/esm/modules/venn.src.js +1 -1
- package/esm/modules/windbarb.js +2 -2
- package/esm/modules/windbarb.src.js +2 -2
- package/esm/modules/wordcloud.js +1 -1
- package/esm/modules/wordcloud.src.js +1 -1
- package/esm/modules/xrange.js +1 -1
- package/esm/modules/xrange.src.js +1 -1
- package/esm/standalone-navigator.js +4 -4
- package/esm/standalone-navigator.src.js +355 -249
- package/esm/themes/adaptive.js +1 -1
- package/esm/themes/adaptive.src.js +1 -1
- package/esm/themes/avocado.js +1 -1
- package/esm/themes/avocado.src.js +1 -1
- package/esm/themes/dark-unica.js +1 -1
- package/esm/themes/dark-unica.src.js +1 -1
- package/esm/themes/grid-light.js +1 -1
- package/esm/themes/grid-light.src.js +1 -1
- package/esm/themes/high-contrast.js +1 -1
- package/esm/themes/high-contrast.src.js +1 -1
- package/esm/themes/sand-signika.js +1 -1
- package/esm/themes/sand-signika.src.js +1 -1
- package/esm/themes/sunset.js +1 -1
- package/esm/themes/sunset.src.js +1 -1
- package/highcharts-3d.js +2 -2
- package/highcharts-3d.src.js +40 -32
- package/highcharts-autoload.d.ts +8 -2
- package/highcharts-autoload.js +4 -4
- package/highcharts-autoload.src.d.ts +8 -2
- package/highcharts-autoload.src.js +313 -208
- package/highcharts-gantt.js +4 -4
- package/highcharts-gantt.src.js +404 -283
- package/highcharts-more.js +2 -2
- package/highcharts-more.src.js +90 -56
- package/highcharts.d.ts +61 -4
- package/highcharts.js +4 -4
- package/highcharts.src.d.ts +61 -4
- package/highcharts.src.js +312 -207
- package/highmaps.js +4 -4
- package/highmaps.src.js +390 -272
- package/highstock.js +4 -4
- package/highstock.src.js +413 -293
- package/i18n/fr-FR.js +1 -1
- package/i18n/fr-FR.src.js +1 -1
- package/i18n/nb-NO.js +1 -1
- package/i18n/nb-NO.src.js +1 -1
- package/i18n/zh-CN.js +1 -1
- package/i18n/zh-CN.src.js +1 -1
- package/indicators/acceleration-bands.js +1 -1
- package/indicators/acceleration-bands.src.js +1 -1
- package/indicators/accumulation-distribution.js +1 -1
- package/indicators/accumulation-distribution.src.js +1 -1
- package/indicators/ao.js +1 -1
- package/indicators/ao.src.js +1 -1
- package/indicators/apo.js +1 -1
- package/indicators/apo.src.js +1 -1
- package/indicators/aroon-oscillator.js +1 -1
- package/indicators/aroon-oscillator.src.js +1 -1
- package/indicators/aroon.js +2 -2
- package/indicators/aroon.src.js +3 -3
- package/indicators/atr.js +1 -1
- package/indicators/atr.src.js +1 -1
- package/indicators/bollinger-bands.js +1 -1
- package/indicators/bollinger-bands.src.js +1 -1
- package/indicators/cci.js +1 -1
- package/indicators/cci.src.js +1 -1
- package/indicators/chaikin.js +1 -1
- package/indicators/chaikin.src.js +1 -1
- package/indicators/cmf.js +1 -1
- package/indicators/cmf.src.js +1 -1
- package/indicators/cmo.js +1 -1
- package/indicators/cmo.src.js +1 -1
- package/indicators/dema.js +1 -1
- package/indicators/dema.src.js +1 -1
- package/indicators/disparity-index.js +1 -1
- package/indicators/disparity-index.src.js +1 -1
- package/indicators/dmi.js +1 -1
- package/indicators/dmi.src.js +1 -1
- package/indicators/dpo.js +2 -2
- package/indicators/dpo.src.js +4 -3
- package/indicators/ichimoku-kinko-hyo.js +1 -1
- package/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/indicators/indicators-all.js +2 -2
- package/indicators/indicators-all.src.js +8 -7
- package/indicators/indicators.js +2 -2
- package/indicators/indicators.src.js +2 -2
- package/indicators/keltner-channels.js +1 -1
- package/indicators/keltner-channels.src.js +1 -1
- package/indicators/klinger.js +1 -1
- package/indicators/klinger.src.js +1 -1
- package/indicators/macd.js +1 -1
- package/indicators/macd.src.js +1 -1
- package/indicators/mfi.js +1 -1
- package/indicators/mfi.src.js +1 -1
- package/indicators/momentum.js +1 -1
- package/indicators/momentum.src.js +1 -1
- package/indicators/natr.js +1 -1
- package/indicators/natr.src.js +1 -1
- package/indicators/obv.js +1 -1
- package/indicators/obv.src.js +1 -1
- package/indicators/pivot-points.js +1 -1
- package/indicators/pivot-points.src.js +1 -1
- package/indicators/ppo.js +1 -1
- package/indicators/ppo.src.js +1 -1
- package/indicators/price-channel.js +1 -1
- package/indicators/price-channel.src.js +1 -1
- package/indicators/price-envelopes.js +1 -1
- package/indicators/price-envelopes.src.js +1 -1
- package/indicators/psar.js +1 -1
- package/indicators/psar.src.js +1 -1
- package/indicators/regressions.js +1 -1
- package/indicators/regressions.src.js +1 -1
- package/indicators/roc.js +1 -1
- package/indicators/roc.src.js +1 -1
- package/indicators/rsi.js +1 -1
- package/indicators/rsi.src.js +2 -2
- package/indicators/slow-stochastic.js +1 -1
- package/indicators/slow-stochastic.src.js +1 -1
- package/indicators/stochastic.js +1 -1
- package/indicators/stochastic.src.js +1 -1
- package/indicators/supertrend.js +1 -1
- package/indicators/supertrend.src.js +1 -1
- package/indicators/tema.js +1 -1
- package/indicators/tema.src.js +1 -1
- package/indicators/trendline.js +1 -1
- package/indicators/trendline.src.js +1 -1
- package/indicators/trix.js +1 -1
- package/indicators/trix.src.js +1 -1
- package/indicators/volume-by-price.js +1 -1
- package/indicators/volume-by-price.src.js +1 -1
- package/indicators/vwap.js +1 -1
- package/indicators/vwap.src.js +1 -1
- package/indicators/williams-r.js +1 -1
- package/indicators/williams-r.src.js +1 -1
- package/indicators/wma.js +1 -1
- package/indicators/wma.src.js +1 -1
- package/indicators/zigzag.js +1 -1
- package/indicators/zigzag.src.js +1 -1
- package/modules/accessibility.js +2 -2
- package/modules/accessibility.src.js +69 -63
- package/modules/annotations-advanced.js +3 -3
- package/modules/annotations-advanced.src.js +25 -23
- package/modules/annotations.js +3 -3
- package/modules/annotations.src.js +21 -19
- package/modules/arc-diagram.js +2 -2
- package/modules/arc-diagram.src.js +16 -15
- package/modules/arrow-symbols.js +1 -1
- package/modules/arrow-symbols.src.js +1 -1
- package/modules/boost-canvas.js +2 -2
- package/modules/boost-canvas.src.js +29 -20
- package/modules/boost.js +2 -2
- package/modules/boost.src.js +28 -19
- package/modules/broken-axis.js +2 -2
- package/modules/broken-axis.src.js +6 -5
- package/modules/bullet.js +2 -2
- package/modules/bullet.src.js +17 -10
- package/modules/coloraxis.js +2 -2
- package/modules/coloraxis.src.js +18 -11
- package/modules/contour.js +4 -4
- package/modules/contour.src.js +19 -12
- package/modules/current-date-indicator.js +1 -1
- package/modules/current-date-indicator.src.js +1 -1
- package/modules/cylinder.js +2 -2
- package/modules/cylinder.src.js +9 -10
- package/modules/data-sorting.js +1 -1
- package/modules/data-sorting.src.js +1 -1
- package/modules/data-tools.js +2 -2
- package/modules/data-tools.src.js +20 -3
- package/modules/data.js +1 -1
- package/modules/data.src.js +1 -1
- package/modules/datagrouping.js +2 -2
- package/modules/datagrouping.src.js +6 -5
- package/modules/debugger.js +1 -1
- package/modules/debugger.src.js +1 -1
- package/modules/dependency-wheel.js +1 -1
- package/modules/dependency-wheel.src.js +1 -1
- package/modules/dotplot.js +2 -2
- package/modules/dotplot.src.js +3 -2
- package/modules/drag-panes.js +1 -1
- package/modules/drag-panes.src.js +1 -1
- package/modules/draggable-points.js +2 -2
- package/modules/draggable-points.src.js +2 -3
- package/modules/drilldown.js +2 -2
- package/modules/drilldown.src.js +5 -4
- package/modules/dumbbell.js +2 -2
- package/modules/dumbbell.src.js +37 -9
- package/modules/export-data.js +2 -2
- package/modules/export-data.src.js +17 -16
- package/modules/exporting.js +2 -2
- package/modules/exporting.src.js +7 -7
- package/modules/flowmap.js +2 -2
- package/modules/flowmap.src.js +21 -11
- package/modules/full-screen.js +1 -1
- package/modules/full-screen.src.js +1 -1
- package/modules/funnel.js +2 -2
- package/modules/funnel.src.js +2 -2
- package/modules/funnel3d.js +2 -2
- package/modules/funnel3d.src.js +14 -13
- package/modules/gantt.js +6 -6
- package/modules/gantt.src.js +96 -79
- package/modules/geoheatmap.d.ts +0 -12
- package/modules/geoheatmap.js +2 -2
- package/modules/geoheatmap.src.d.ts +0 -12
- package/modules/geoheatmap.src.js +8 -8
- package/modules/grid-axis.js +2 -2
- package/modules/grid-axis.src.js +4 -4
- package/modules/heatmap.d.ts +0 -12
- package/modules/heatmap.js +4 -4
- package/modules/heatmap.src.d.ts +0 -12
- package/modules/heatmap.src.js +40 -33
- package/modules/heikinashi.js +1 -1
- package/modules/heikinashi.src.js +1 -1
- package/modules/histogram-bellcurve.js +1 -1
- package/modules/histogram-bellcurve.src.js +15 -3
- package/modules/hollowcandlestick.js +1 -1
- package/modules/hollowcandlestick.src.js +1 -1
- package/modules/item-series.js +2 -2
- package/modules/item-series.src.js +18 -6
- package/modules/lollipop.js +1 -1
- package/modules/lollipop.src.js +1 -1
- package/modules/map.d.ts +0 -12
- package/modules/map.js +4 -4
- package/modules/map.src.d.ts +0 -12
- package/modules/map.src.js +83 -68
- package/modules/marker-clusters.js +1 -1
- package/modules/marker-clusters.src.js +1 -1
- package/modules/mouse-wheel-zoom.js +2 -2
- package/modules/mouse-wheel-zoom.src.js +3 -3
- package/modules/navigator.js +2 -2
- package/modules/navigator.src.js +47 -45
- package/modules/networkgraph.js +2 -2
- package/modules/networkgraph.src.js +31 -21
- package/modules/no-data-to-display.js +1 -1
- package/modules/no-data-to-display.src.js +1 -1
- package/modules/non-cartesian-zoom.js +1 -1
- package/modules/non-cartesian-zoom.src.js +1 -1
- package/modules/offline-exporting.js +1 -1
- package/modules/offline-exporting.src.js +1 -1
- package/modules/organization.js +2 -2
- package/modules/organization.src.js +3 -2
- package/modules/parallel-coordinates.js +2 -2
- package/modules/parallel-coordinates.src.js +2 -2
- package/modules/pareto.js +1 -1
- package/modules/pareto.src.js +1 -1
- package/modules/pathfinder.js +2 -2
- package/modules/pathfinder.src.js +7 -6
- package/modules/pattern-fill.js +2 -2
- package/modules/pattern-fill.src.js +7 -5
- package/modules/pictorial.js +2 -2
- package/modules/pictorial.src.js +10 -6
- package/modules/pointandfigure.js +1 -1
- package/modules/pointandfigure.src.js +1 -1
- package/modules/price-indicator.js +2 -2
- package/modules/price-indicator.src.js +5 -4
- package/modules/pyramid3d.js +1 -1
- package/modules/pyramid3d.src.js +1 -1
- package/modules/renko.js +1 -1
- package/modules/renko.src.js +1 -1
- package/modules/sankey.js +2 -2
- package/modules/sankey.src.js +34 -20
- package/modules/series-label.js +2 -2
- package/modules/series-label.src.js +7 -7
- package/modules/series-on-point.js +1 -1
- package/modules/series-on-point.src.js +1 -1
- package/modules/solid-gauge.js +2 -2
- package/modules/solid-gauge.src.js +2 -2
- package/modules/sonification.js +2 -2
- package/modules/sonification.src.js +19 -19
- package/modules/static-scale.js +1 -1
- package/modules/static-scale.src.js +1 -1
- package/modules/stock-tools.js +3 -3
- package/modules/stock-tools.src.js +15 -10
- package/modules/stock.js +6 -6
- package/modules/stock.src.js +105 -89
- package/modules/streamgraph.js +1 -1
- package/modules/streamgraph.src.js +1 -1
- package/modules/sunburst.js +2 -2
- package/modules/sunburst.src.js +41 -26
- package/modules/textpath.js +1 -1
- package/modules/textpath.src.js +1 -1
- package/modules/tiledwebmap.js +2 -2
- package/modules/tiledwebmap.src.js +8 -6
- package/modules/tilemap.js +2 -2
- package/modules/tilemap.src.js +3 -3
- package/modules/timeline.js +2 -2
- package/modules/timeline.src.js +5 -4
- package/modules/treegraph.js +2 -2
- package/modules/treegraph.src.js +17 -8
- package/modules/treegrid.js +2 -2
- package/modules/treegrid.src.js +28 -18
- package/modules/treemap.js +2 -2
- package/modules/treemap.src.js +35 -22
- package/modules/variable-pie.js +2 -2
- package/modules/variable-pie.src.js +6 -4
- package/modules/variwide.js +2 -2
- package/modules/variwide.src.js +2 -2
- package/modules/vector.js +1 -1
- package/modules/vector.src.js +1 -1
- package/modules/venn.js +1 -1
- package/modules/venn.src.js +1 -1
- package/modules/windbarb.js +2 -2
- package/modules/windbarb.src.js +2 -2
- package/modules/wordcloud.js +1 -1
- package/modules/wordcloud.src.js +1 -1
- package/modules/xrange.js +1 -1
- package/modules/xrange.src.js +1 -1
- package/package.json +2 -3
- package/standalone-navigator.js +4 -4
- package/standalone-navigator.src.js +355 -249
- package/themes/adaptive.js +1 -1
- package/themes/adaptive.src.js +1 -1
- package/themes/avocado.js +1 -1
- package/themes/avocado.src.js +1 -1
- package/themes/dark-unica.js +1 -1
- package/themes/dark-unica.src.js +1 -1
- package/themes/grid-light.js +1 -1
- package/themes/grid-light.src.js +1 -1
- package/themes/high-contrast.js +1 -1
- package/themes/high-contrast.src.js +1 -1
- package/themes/sand-signika.js +1 -1
- package/themes/sand-signika.src.js +1 -1
- package/themes/sunset.js +1 -1
- package/themes/sunset.src.js +1 -1
|
@@ -23,7 +23,7 @@ import { downloadURL, getBlobFromContent } from '../../Shared/DownloadURL.js';
|
|
|
23
23
|
import ExportDataDefaults from './ExportDataDefaults.js';
|
|
24
24
|
import G from '../../Core/Globals.js';
|
|
25
25
|
const { composed, doc, win } = G;
|
|
26
|
-
import { addEvent, defined, extend, find, fireEvent, isNumber,
|
|
26
|
+
import { addEvent, defined, extend, find, fireEvent, isNumber, pushUnique } from '../../Shared/Utilities.js';
|
|
27
27
|
/* *
|
|
28
28
|
*
|
|
29
29
|
* Composition
|
|
@@ -220,11 +220,11 @@ var ExportData;
|
|
|
220
220
|
*/
|
|
221
221
|
function getCSV(useLocalDecimalPoint) {
|
|
222
222
|
let csv = '';
|
|
223
|
-
const rows = this.getDataRows(), csvOptions = this.options?.csv, decimalPoint =
|
|
223
|
+
const rows = this.getDataRows(), csvOptions = this.options?.csv, decimalPoint = csvOptions?.decimalPoint ?? (csvOptions?.itemDelimiter !== ',' && useLocalDecimalPoint ?
|
|
224
224
|
(1.1).toLocaleString()[1] :
|
|
225
225
|
'.'),
|
|
226
226
|
// Use ';' for direct to Excel
|
|
227
|
-
itemDelimiter =
|
|
227
|
+
itemDelimiter = csvOptions?.itemDelimiter ?? (decimalPoint === ',' ? ';' : ','),
|
|
228
228
|
// '\n' isn't working with the js csv data extraction
|
|
229
229
|
lineDelimiter = csvOptions?.lineDelimiter;
|
|
230
230
|
// Transform the rows to CSV
|
|
@@ -444,15 +444,13 @@ var ExportData;
|
|
|
444
444
|
val =
|
|
445
445
|
series.pointClass.prototype.getNestedProperty.apply(mockPoint, [prop]);
|
|
446
446
|
// Allow values from nested properties (#20470)
|
|
447
|
-
rows[key][i + j] =
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
// Linear/log yAxis
|
|
455
|
-
val);
|
|
447
|
+
rows[key][i + j] =
|
|
448
|
+
categoryAndDatetimeMap.categoryMap[prop][val] ??
|
|
449
|
+
(categoryAndDatetimeMap
|
|
450
|
+
.dateTimeValueAxisMap[prop] ?
|
|
451
|
+
time.dateFormat(csvOptions.dateFormat, val) :
|
|
452
|
+
null) ??
|
|
453
|
+
val;
|
|
456
454
|
j++;
|
|
457
455
|
}
|
|
458
456
|
});
|
|
@@ -499,7 +497,10 @@ var ExportData;
|
|
|
499
497
|
category = time.dateFormat(csvOptions.dateFormat, row.x);
|
|
500
498
|
}
|
|
501
499
|
else if (xAxis.categories) {
|
|
502
|
-
category =
|
|
500
|
+
category =
|
|
501
|
+
xAxis.names[row.x] ??
|
|
502
|
+
xAxis.categories[row.x] ??
|
|
503
|
+
row.x;
|
|
503
504
|
}
|
|
504
505
|
else {
|
|
505
506
|
category = row.x;
|
|
@@ -580,7 +581,7 @@ var ExportData;
|
|
|
580
581
|
*/
|
|
581
582
|
function getTableAST(useLocalDecimalPoint) {
|
|
582
583
|
let rowLength = 0;
|
|
583
|
-
const treeChildren = [], exporting = this, chart = exporting.chart, options = chart.options, decimalPoint = useLocalDecimalPoint ? (1.1).toLocaleString()[1] : void 0, useMultiLevelHeaders =
|
|
584
|
+
const treeChildren = [], exporting = this, chart = exporting.chart, options = chart.options, decimalPoint = useLocalDecimalPoint ? (1.1).toLocaleString()[1] : void 0, useMultiLevelHeaders = exporting.options.useMultiLevelHeaders ?? true, rows = exporting.getDataRows(useMultiLevelHeaders), topHeaders = useMultiLevelHeaders ? rows.shift() : null, subHeaders = rows.shift(),
|
|
584
585
|
// Compare two rows for equality
|
|
585
586
|
isRowEqual = function (row1, row2) {
|
|
586
587
|
let i = row1.length;
|
|
@@ -599,7 +600,7 @@ var ExportData;
|
|
|
599
600
|
// Get table cell HTML from value
|
|
600
601
|
getCellHTMLFromValue = function (tagName, classes, attributes, value) {
|
|
601
602
|
const children = [];
|
|
602
|
-
let textContent =
|
|
603
|
+
let textContent = (value ?? ''), className = 'highcharts-text' + (classes ? ' ' + classes : '');
|
|
603
604
|
// Convert to string if number
|
|
604
605
|
if (typeof textContent === 'number') {
|
|
605
606
|
textContent = chart.numberFormatter(textContent, -1, decimalPoint, tagName === 'th' ? '' : void 0);
|
|
@@ -791,7 +792,7 @@ var ExportData;
|
|
|
791
792
|
function toggleDataTable(show) {
|
|
792
793
|
const chart = this.chart,
|
|
793
794
|
// Create the div
|
|
794
|
-
createContainer = (show =
|
|
795
|
+
createContainer = (show = (show ?? !this.isDataTableVisible)) &&
|
|
795
796
|
!this.dataTableDiv;
|
|
796
797
|
if (createContainer) {
|
|
797
798
|
this.dataTableDiv = doc.createElement('div');
|
|
@@ -24,7 +24,7 @@ import Fullscreen from './Fullscreen.js';
|
|
|
24
24
|
import G from '../../Core/Globals.js';
|
|
25
25
|
const { composed, doc, isFirefox, isMS, isSafari, SVG_NS, win } = G;
|
|
26
26
|
import HU from '../../Core/HttpUtilities.js';
|
|
27
|
-
import { addEvent, createElement, css, discardElement, extend, find, fireEvent, internalClearTimeout, isObject, merge, objectEach,
|
|
27
|
+
import { addEvent, createElement, css, discardElement, extend, find, fireEvent, internalClearTimeout, isObject, merge, objectEach, pushUnique, removeEvent, splat } from '../../Shared/Utilities.js';
|
|
28
28
|
import { error, uniqueKey } from '../../Core/Utilities.js';
|
|
29
29
|
AST.allowedAttributes.push('data-z-index', 'fill-opacity', 'filter', 'preserveAspectRatio', 'rx', 'ry', 'stroke-dasharray', 'stroke-linejoin', 'stroke-opacity', 'text-anchor', 'transform', 'transform-origin', 'version', 'viewBox', 'visibility', 'xmlns', 'xmlns:xlink');
|
|
30
30
|
AST.allowedTags.push('desc', 'clippath', 'fedropshadow', 'femorphology', 'g', 'image');
|
|
@@ -532,7 +532,7 @@ export class Exporting {
|
|
|
532
532
|
};
|
|
533
533
|
}
|
|
534
534
|
if (btnOptions.text && btnOptions.symbol) {
|
|
535
|
-
theme.paddingLeft =
|
|
535
|
+
theme.paddingLeft = (theme.paddingLeft ?? 30);
|
|
536
536
|
}
|
|
537
537
|
else if (!btnOptions.text) {
|
|
538
538
|
extend(theme, {
|
|
@@ -545,8 +545,8 @@ export class Exporting {
|
|
|
545
545
|
.button(btnOptions.text || '', 0, 0, callback, theme, void 0, void 0, void 0, void 0, btnOptions.useHTML)
|
|
546
546
|
.addClass(options.className || '')
|
|
547
547
|
.attr({
|
|
548
|
-
title:
|
|
549
|
-
btnOptions.titleKey)]
|
|
548
|
+
title: (chart.options.lang[(btnOptions._titleKey ||
|
|
549
|
+
btnOptions.titleKey)] ?? '')
|
|
550
550
|
});
|
|
551
551
|
button.menuClassName = (options.menuClassName ||
|
|
552
552
|
'highcharts-menu-' + exporting.btnCount++);
|
|
@@ -575,7 +575,7 @@ export class Exporting {
|
|
|
575
575
|
.add(exporting.group)
|
|
576
576
|
.align(extend(btnOptions, {
|
|
577
577
|
width: button.width,
|
|
578
|
-
x:
|
|
578
|
+
x: (btnOptions.x ?? exporting.buttonOffset) // #1654
|
|
579
579
|
}), true, 'spacingBox');
|
|
580
580
|
exporting.buttonOffset += (((button.width || 0) + (btnOptions.buttonSpacing || 0)) *
|
|
581
581
|
(btnOptions.align === 'right' ? -1 : 1));
|
|
@@ -1829,7 +1829,7 @@ export class Exporting {
|
|
|
1829
1829
|
update(exportingOptions, redraw) {
|
|
1830
1830
|
this.isDirty = true;
|
|
1831
1831
|
merge(true, this.options, exportingOptions);
|
|
1832
|
-
if (
|
|
1832
|
+
if (redraw ?? true) {
|
|
1833
1833
|
this.chart.redraw();
|
|
1834
1834
|
}
|
|
1835
1835
|
}
|
|
@@ -2051,7 +2051,7 @@ Exporting.unstyledElements = [
|
|
|
2051
2051
|
if (chart.exporting) {
|
|
2052
2052
|
chart.exporting.isDirty = true;
|
|
2053
2053
|
merge(true, chart.options.navigation, options);
|
|
2054
|
-
if (
|
|
2054
|
+
if (redraw ?? true) {
|
|
2055
2055
|
chart.redraw();
|
|
2056
2056
|
}
|
|
2057
2057
|
}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* */
|
|
12
12
|
'use strict';
|
|
13
13
|
import NBU from '../Annotations/NavigationBindingsUtilities.js';
|
|
14
|
-
import { addEvent, defined, internalClearTimeout, isObject, merge
|
|
14
|
+
import { addEvent, defined, internalClearTimeout, isObject, merge } from '../../Shared/Utilities.js';
|
|
15
15
|
const { getAssignedAxis } = NBU;
|
|
16
16
|
/* *
|
|
17
17
|
*
|
|
@@ -40,7 +40,7 @@ const optionsToObject = (options) => {
|
|
|
40
40
|
};
|
|
41
41
|
/** @internal */
|
|
42
42
|
const zoomBy = function (chart, howMuch, xAxis, yAxis, mouseX, mouseY, options) {
|
|
43
|
-
const type =
|
|
43
|
+
const type = (options.type ?? chart.zooming.type ?? '');
|
|
44
44
|
let axes = [];
|
|
45
45
|
if (type === 'x') {
|
|
46
46
|
axes = xAxis;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Imports
|
|
4
4
|
*
|
|
5
5
|
* */
|
|
6
|
-
import { addEvent, correctFloat, defined
|
|
6
|
+
import { addEvent, correctFloat, defined } from '../../Shared/Utilities.js';
|
|
7
7
|
/* *
|
|
8
8
|
*
|
|
9
9
|
* Functions
|
|
@@ -119,7 +119,7 @@ function onPointerBeforeGetHoverData(eventArgs) {
|
|
|
119
119
|
eventArgs.filter = function (s) {
|
|
120
120
|
return (s.visible &&
|
|
121
121
|
!(!eventArgs.shared && s.directTouch) && // #3821
|
|
122
|
-
|
|
122
|
+
(s.options.enableMouseTracking ?? true) &&
|
|
123
123
|
(!chart.hoverPane || s.xAxis.pane === chart.hoverPane));
|
|
124
124
|
};
|
|
125
125
|
}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* */
|
|
14
14
|
'use strict';
|
|
15
15
|
import ParallelCoordinatesDefaults from './ParallelCoordinatesDefaults.js';
|
|
16
|
-
import { addEvent, arrayMax, arrayMin, isNumber, merge
|
|
16
|
+
import { addEvent, arrayMax, arrayMin, isNumber, merge } from '../../Shared/Utilities.js';
|
|
17
17
|
/* *
|
|
18
18
|
*
|
|
19
19
|
* Class
|
|
@@ -118,7 +118,7 @@ var ParallelAxis;
|
|
|
118
118
|
else {
|
|
119
119
|
const axisIndex = chart.yAxis.indexOf(axis); // #13608
|
|
120
120
|
axis.options = merge(axis.options, axis.chart.options.chart.parallelAxes, e.userOptions);
|
|
121
|
-
parallelCoordinates.position =
|
|
121
|
+
parallelCoordinates.position = parallelCoordinates.position ?? (axisIndex >= 0 ? axisIndex : chart.yAxis.length);
|
|
122
122
|
parallelCoordinates.setPosition(axisPosition, axis.options);
|
|
123
123
|
}
|
|
124
124
|
}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
import { animObject } from '../Core/Animation/AnimationUtilities.js';
|
|
16
16
|
import D from '../Core/Defaults.js';
|
|
17
17
|
const { getOptions } = D;
|
|
18
|
-
import { addEvent, defined, erase, extend, isObject, merge,
|
|
18
|
+
import { addEvent, defined, erase, extend, isObject, merge, removeEvent, wrap } from '../Shared/Utilities.js';
|
|
19
19
|
/* *
|
|
20
20
|
*
|
|
21
21
|
* Constants
|
|
@@ -284,7 +284,9 @@ function onRendererComplexColor(args) {
|
|
|
284
284
|
}
|
|
285
285
|
// Add it. This function does nothing if an element with this ID
|
|
286
286
|
// already exists.
|
|
287
|
-
this.addPattern(pattern, !this.forExport &&
|
|
287
|
+
this.addPattern(pattern, !this.forExport && (pattern.animation ??
|
|
288
|
+
this.globalAnimation ??
|
|
289
|
+
{ duration: 100 }));
|
|
288
290
|
value = `url(${this.url}#${pattern.id + (this.forExport ? '-export' : '')})`;
|
|
289
291
|
}
|
|
290
292
|
else {
|
|
@@ -448,7 +450,7 @@ function pointCalculatePatternDimensions(pattern) {
|
|
|
448
450
|
* @requires modules/pattern-fill
|
|
449
451
|
*/
|
|
450
452
|
function rendererAddPattern(options, animation) {
|
|
451
|
-
const animate =
|
|
453
|
+
const animate = (animation ?? true), animationOptions = animObject(animate), color = options.color ||
|
|
452
454
|
'var(--highcharts-neutral-color-80)', defaultSize = 32, height = options.height ||
|
|
453
455
|
(typeof options._height === 'number' ? options._height : 0) ||
|
|
454
456
|
defaultSize, width = options.width ||
|
|
@@ -516,7 +518,7 @@ function rendererAddPattern(options, animation) {
|
|
|
516
518
|
};
|
|
517
519
|
if (!this.styledMode) {
|
|
518
520
|
attribs.stroke = path.stroke || color;
|
|
519
|
-
attribs['stroke-width'] =
|
|
521
|
+
attribs['stroke-width'] = (path.strokeWidth ?? 2);
|
|
520
522
|
attribs.fill = path.fill || 'none';
|
|
521
523
|
}
|
|
522
524
|
if (path.transform) {
|
|
@@ -531,7 +533,7 @@ function rendererAddPattern(options, animation) {
|
|
|
531
533
|
this.image(options.image, 0, 0, width, height, function () {
|
|
532
534
|
// Onload
|
|
533
535
|
this.animate({
|
|
534
|
-
opacity:
|
|
536
|
+
opacity: (options.opacity ?? 1)
|
|
535
537
|
}, animationOptions);
|
|
536
538
|
removeEvent(this.element, 'load');
|
|
537
539
|
}).attr({ opacity: 0 }).add(pattern);
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
'use strict';
|
|
14
14
|
import H from '../Core/Globals.js';
|
|
15
15
|
const { composed } = H;
|
|
16
|
-
import { addEvent, merge, pushUnique } from '../Shared/Utilities.js';
|
|
16
|
+
import { addEvent, clamp, merge, pushUnique } from '../Shared/Utilities.js';
|
|
17
17
|
/* *
|
|
18
18
|
*
|
|
19
19
|
* Composition
|
|
@@ -56,7 +56,7 @@ function onSeriesAfterRender() {
|
|
|
56
56
|
seriesOptions.id !== 'highcharts-navigator-series' &&
|
|
57
57
|
series.visible) {
|
|
58
58
|
const { points, xAxis, yAxis } = series, { cross, crosshair, crossLabel } = yAxis, pLength = points.length, dataLength = series.dataTable.rowCount, x = series.getColumn('x')[dataLength - 1], y = series.getColumn('y')[dataLength - 1] ??
|
|
59
|
-
series.getColumn('close')[dataLength - 1];
|
|
59
|
+
series.getColumn('close')[dataLength - 1], modifiedY = series.dataModify?.modifyValue(y) ?? y;
|
|
60
60
|
if (lastPrice?.enabled) {
|
|
61
61
|
yAxis.crosshair = yAxis.options.crosshair = seriesOptions.lastPrice;
|
|
62
62
|
if (!series.chart.styledMode &&
|
|
@@ -75,8 +75,9 @@ function onSeriesAfterRender() {
|
|
|
75
75
|
yAxis.drawCrosshair(void 0, ({
|
|
76
76
|
x: x,
|
|
77
77
|
y,
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
series,
|
|
79
|
+
plotX: clamp(xAxis.toPixels(x, true), 0, xAxis.len),
|
|
80
|
+
plotY: yAxis.toPixels(modifiedY, true)
|
|
80
81
|
}));
|
|
81
82
|
// Save price
|
|
82
83
|
if (series.yAxis.cross) {
|
|
@@ -32,7 +32,7 @@ const { composed } = H;
|
|
|
32
32
|
import SeriesLabelDefaults from './SeriesLabelDefaults.js';
|
|
33
33
|
import SLU from './SeriesLabelUtilities.js';
|
|
34
34
|
const { boxIntersectLine, intersectRect } = SLU;
|
|
35
|
-
import { addEvent, extend, fireEvent, internalClearTimeout, isNumber,
|
|
35
|
+
import { addEvent, extend, fireEvent, internalClearTimeout, isNumber, pushUnique, syncTimeout } from '../../Shared/Utilities.js';
|
|
36
36
|
/* *
|
|
37
37
|
*
|
|
38
38
|
* Constants
|
|
@@ -49,7 +49,7 @@ const labelDistance = 3;
|
|
|
49
49
|
* @internal
|
|
50
50
|
*/
|
|
51
51
|
function checkClearPoint(series, x, y, bBox, checkDistance) {
|
|
52
|
-
const chart = series.chart, seriesLabelOptions = series.options.label || {}, onArea =
|
|
52
|
+
const chart = series.chart, seriesLabelOptions = series.options.label || {}, onArea = (seriesLabelOptions.onArea ?? !!series.area), findDistanceToOthers = (onArea || seriesLabelOptions.connectorAllowed), leastDistance = 16, boxesToAvoid = chart.boxesToAvoid;
|
|
53
53
|
let distToOthersSquared = Number.MAX_VALUE, // Distance to other graphs
|
|
54
54
|
distToPointSquared = Number.MAX_VALUE, dist, connectorPoint, withinRange, xDist, yDist, i, j;
|
|
55
55
|
/**
|
|
@@ -196,7 +196,7 @@ function drawSeriesLabels(chart) {
|
|
|
196
196
|
if (!labelOptions || (!series.xAxis && !series.yAxis)) {
|
|
197
197
|
return;
|
|
198
198
|
}
|
|
199
|
-
const colorClass = ('highcharts-color-' +
|
|
199
|
+
const colorClass = ('highcharts-color-' + (series.colorIndex ?? 'none')), isNew = !series.labelBySeries, minFontSize = labelOptions.minFontSize, maxFontSize = labelOptions.maxFontSize, inverted = chart.inverted, paneLeft = (inverted ? series.yAxis.pos : series.xAxis.pos), paneTop = (inverted ? series.xAxis.pos : series.yAxis.pos), paneWidth = chart.inverted ? series.yAxis.len : series.xAxis.len, paneHeight = chart.inverted ? series.xAxis.len : series.yAxis.len, points = series.interpolatedPoints, onArea = (labelOptions.onArea ?? !!series.area), results = [], xData = series.getColumn('x');
|
|
200
200
|
let bBox, x, y, clearPoint, i, best, label = series.labelBySeries, dataExtremes, areaMin, areaMax;
|
|
201
201
|
// Stay within the area data bounds (#10038)
|
|
202
202
|
if (onArea && !inverted) {
|
|
@@ -211,7 +211,7 @@ function drawSeriesLabels(chart) {
|
|
|
211
211
|
* @internal
|
|
212
212
|
*/
|
|
213
213
|
function insidePane(x, y, bBox) {
|
|
214
|
-
const leftBound = Math.max(paneLeft,
|
|
214
|
+
const leftBound = Math.max(paneLeft, (areaMin ?? -Infinity)), rightBound = Math.min(paneLeft + paneWidth, (areaMax ?? Infinity));
|
|
215
215
|
return (x > leftBound &&
|
|
216
216
|
x <= rightBound - bBox.width &&
|
|
217
217
|
y >= paneTop &&
|
|
@@ -418,7 +418,7 @@ function getPointsOnGraph(series) {
|
|
|
418
418
|
if (!series.xAxis && !series.yAxis) {
|
|
419
419
|
return;
|
|
420
420
|
}
|
|
421
|
-
const distance = 16, points = series.points, interpolated = [], graph = series.graph || series.area, node = graph && graph.element, inverted = series.chart.inverted, xAxis = series.xAxis, yAxis = series.yAxis, paneLeft = inverted ? yAxis.pos : xAxis.pos, paneTop = inverted ? xAxis.pos : yAxis.pos, paneHeight = inverted ? xAxis.len : yAxis.len, paneWidth = inverted ? yAxis.len : xAxis.len, seriesLabelOptions = series.options.label || {}, onArea =
|
|
421
|
+
const distance = 16, points = series.points, interpolated = [], graph = series.graph || series.area, node = graph && graph.element, inverted = series.chart.inverted, xAxis = series.xAxis, yAxis = series.yAxis, paneLeft = inverted ? yAxis.pos : xAxis.pos, paneTop = inverted ? xAxis.pos : yAxis.pos, paneHeight = inverted ? xAxis.len : yAxis.len, paneWidth = inverted ? yAxis.len : xAxis.len, seriesLabelOptions = series.options.label || {}, onArea = (seriesLabelOptions.onArea ?? !!series.area), translatedThreshold = yAxis.getThreshold(series.options.threshold), grid = {}, chartCenterKey = inverted ? 'chartCenterX' : 'chartCenterY';
|
|
422
422
|
let i, deltaX, deltaY, delta, len, n, j;
|
|
423
423
|
/**
|
|
424
424
|
* Push the point to the interpolated points, but only if that position in
|
|
@@ -491,11 +491,11 @@ function getPointsOnGraph(series) {
|
|
|
491
491
|
}
|
|
492
492
|
if (inverted) {
|
|
493
493
|
ctlPoint.chartCenterX = paneLeft + paneWidth - ((plotHigh ? plotHigh : point.plotY || 0) +
|
|
494
|
-
|
|
494
|
+
(point.yBottom ?? translatedThreshold)) / 2;
|
|
495
495
|
}
|
|
496
496
|
else {
|
|
497
497
|
ctlPoint.chartCenterY = paneTop + ((plotHigh ? plotHigh : plotY) +
|
|
498
|
-
|
|
498
|
+
(point.yBottom ?? translatedThreshold)) / 2;
|
|
499
499
|
}
|
|
500
500
|
}
|
|
501
501
|
// Add interpolated points
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
/* eslint-disable no-multi-spaces */
|
|
15
15
|
'use strict';
|
|
16
16
|
import SonificationInstrument from './SonificationInstrument.js';
|
|
17
|
-
import { pick } from '../../Shared/Utilities.js';
|
|
18
17
|
const freqToNote = (f) => Math.round(12 * Math.log(f) / Math.LN2 - 48.37632), b = (byte, n) => n >>> 8 * byte & 0xFF, getHeader = (nTracks) => [
|
|
19
18
|
0x4D, 0x54, 0x68, 0x64, // HD_TYPE
|
|
20
19
|
0, 0, 0, 6, // HD_SIZE
|
|
@@ -49,7 +48,7 @@ varLenEnc = (n) => {
|
|
|
49
48
|
res.splice(ix + 1, 0, el);
|
|
50
49
|
};
|
|
51
50
|
events.forEach((e) => {
|
|
52
|
-
const o = e.instrumentEventOptions || {}, t = e.time, dur = cachedDur =
|
|
51
|
+
const o = e.instrumentEventOptions || {}, t = e.time, dur = cachedDur = (o.noteDuration ?? cachedDur), tNOF = dur && e.time + dur, ctrl = [{
|
|
53
52
|
valMap: (n) => 64 + 63 * n & 0x7F,
|
|
54
53
|
data: {
|
|
55
54
|
0x0A: o.pan, // Use MSB only, no need for fine adjust
|
|
@@ -69,7 +68,7 @@ varLenEnc = (n) => {
|
|
|
69
68
|
0x4C: o.highpassResonance
|
|
70
69
|
}
|
|
71
70
|
}], v = cachedVel = o.volume === void 0 ?
|
|
72
|
-
|
|
71
|
+
(cachedVel ?? 127) : 127 * o.volume & 0x7F, freq = o.frequency, note = o.note || 0, noteVal = 12 + (freq ? freqToNote(freq) : // MIDI note #0 is C-1
|
|
73
72
|
typeof note === 'string' ? SonificationInstrument
|
|
74
73
|
.noteStringToC0Distance(note) : note) & 0x7F;
|
|
75
74
|
// CTRL_CHANGE events
|
|
@@ -27,7 +27,7 @@ import SonificationSpeaker from './SonificationSpeaker.js';
|
|
|
27
27
|
import SynthPatch from './SynthPatch.js';
|
|
28
28
|
import InstrumentPresets from './InstrumentPresets.js';
|
|
29
29
|
import timelineFromChart from './TimelineFromChart.js';
|
|
30
|
-
import { addEvent, extend, fireEvent, internalClearTimeout, merge
|
|
30
|
+
import { addEvent, extend, fireEvent, internalClearTimeout, merge } from '../../Shared/Utilities.js';
|
|
31
31
|
/**
|
|
32
32
|
* The Sonification class. This class represents a chart's sonification
|
|
33
33
|
* capabilities. A chart automatically gets an instance of this class when
|
|
@@ -371,7 +371,7 @@ class Sonification {
|
|
|
371
371
|
if (this.audioContext && this.audioDestination) {
|
|
372
372
|
this.timeline = timelineFromChart(this.audioContext, this.audioDestination, this.chart);
|
|
373
373
|
const sOpts = this.chart.options.sonification;
|
|
374
|
-
this.timeline.setMasterVolume(
|
|
374
|
+
this.timeline.setMasterVolume(((sOpts && sOpts.masterVolume) ?? 1));
|
|
375
375
|
}
|
|
376
376
|
if (events.afterUpdate) {
|
|
377
377
|
events.afterUpdate({ chart: this.chart, timeline: this.timeline });
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
*
|
|
13
13
|
* */
|
|
14
14
|
'use strict';
|
|
15
|
-
import { pick } from '../../Shared/Utilities.js';
|
|
16
15
|
/**
|
|
17
16
|
* The SonificationSpeaker class. This class represents an announcer using
|
|
18
17
|
* speech synthesis. It allows for scheduling speech announcements, as well
|
|
@@ -59,7 +58,9 @@ class SonificationSpeaker {
|
|
|
59
58
|
utterance.rate = options && options.rate || this.options.rate || 1;
|
|
60
59
|
utterance.pitch = options && options.pitch ||
|
|
61
60
|
this.options.pitch || 1;
|
|
62
|
-
utterance.volume =
|
|
61
|
+
utterance.volume = ((options && options.volume) ??
|
|
62
|
+
this.options.volume ??
|
|
63
|
+
1) * this.masterVolume;
|
|
63
64
|
this.synthesis.speak(utterance);
|
|
64
65
|
}
|
|
65
66
|
}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
*
|
|
14
14
|
* */
|
|
15
15
|
'use strict';
|
|
16
|
-
import { clamp, defined
|
|
16
|
+
import { clamp, defined } from '../../Shared/Utilities.js';
|
|
17
17
|
/**
|
|
18
18
|
* Get the multiplier value from a pitch tracked multiplier. The parameter
|
|
19
19
|
* specifies the multiplier at ca 3200Hz. It is 1 at ca 50Hz. In between
|
|
@@ -191,7 +191,7 @@ class Oscillator {
|
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
193
|
setFreqAtTime(time, frequency, glideDuration = 0) {
|
|
194
|
-
const opts = this.options, f = clamp(
|
|
194
|
+
const opts = this.options, f = clamp((opts.fixedFrequency ?? frequency) *
|
|
195
195
|
(opts.freqMultiplier || 1), 0, 21000), oscTarget = this.getOscTarget(), timeConstant = glideDuration / 5000;
|
|
196
196
|
if (oscTarget) {
|
|
197
197
|
oscTarget.cancelScheduledValues(time);
|
|
@@ -280,7 +280,7 @@ class Oscillator {
|
|
|
280
280
|
opts.releaseEnvelope && opts.releaseEnvelope.length;
|
|
281
281
|
if (needsGainNode) {
|
|
282
282
|
this.gainNode = new GainNode(this.audioContext, {
|
|
283
|
-
gain:
|
|
283
|
+
gain: (opts.volume ?? 1)
|
|
284
284
|
});
|
|
285
285
|
}
|
|
286
286
|
// We always need VM gain, so make that
|
|
@@ -16,7 +16,7 @@ import SonificationTimeline from './SonificationTimeline.js';
|
|
|
16
16
|
import SonificationInstrument from './SonificationInstrument.js';
|
|
17
17
|
import SonificationSpeaker from './SonificationSpeaker.js';
|
|
18
18
|
import T from '../../Core/Templating.js';
|
|
19
|
-
import { clamp, defined, extend, getNestedProperty, merge
|
|
19
|
+
import { clamp, defined, extend, getNestedProperty, merge } from '../../Shared/Utilities.js';
|
|
20
20
|
const { format } = T;
|
|
21
21
|
const isNoteDefinition = (str) => (/^([a-g][#b]?)[0-8]$/i).test(str);
|
|
22
22
|
/**
|
|
@@ -219,8 +219,8 @@ function getMappingParameterValue(context, propMetrics, useSeriesExtremes, defau
|
|
|
219
219
|
if (typeof mappingOptions === 'object') {
|
|
220
220
|
mapTo = mappingOptions.mapTo;
|
|
221
221
|
mapFunc = mappingOptions.mapFunction || mapFunc;
|
|
222
|
-
min =
|
|
223
|
-
max =
|
|
222
|
+
min = (mappingOptions.min ?? min);
|
|
223
|
+
max = (mappingOptions.max ?? max);
|
|
224
224
|
within = mappingOptions.within || defaultMapping.within;
|
|
225
225
|
scale = mappingOptions.scale;
|
|
226
226
|
}
|
|
@@ -294,9 +294,9 @@ function getMappingParameterValue(context, propMetrics, useSeriesExtremes, defau
|
|
|
294
294
|
* @internal
|
|
295
295
|
*/
|
|
296
296
|
function getParamValWithDefault(context, propMetrics, useSeriesExtremes, mappingParamOptions, fallback, defaults, contextValueProp) {
|
|
297
|
-
return
|
|
297
|
+
return (getMappingParameterValue(context, propMetrics, useSeriesExtremes, extend({
|
|
298
298
|
min: 0, max: 1, mapTo: 'y', mapFunction: 'linear', within: 'chart'
|
|
299
|
-
}, (defaults || {})), mappingParamOptions, contextValueProp)
|
|
299
|
+
}, (defaults || {})), mappingParamOptions, contextValueProp) ?? fallback);
|
|
300
300
|
}
|
|
301
301
|
/**
|
|
302
302
|
* Get time value for a point event.
|
|
@@ -358,7 +358,7 @@ function addTimelineChannelFromTrack(timeline, audioContext, destinationNode, op
|
|
|
358
358
|
synthPatch: options.instrument,
|
|
359
359
|
midiTrackName: options.midiName
|
|
360
360
|
});
|
|
361
|
-
return timeline.addChannel(options.type || 'instrument', engine,
|
|
361
|
+
return timeline.addChannel(options.type || 'instrument', engine, (options.showPlayMarker ?? true));
|
|
362
362
|
}
|
|
363
363
|
/**
|
|
364
364
|
* Add event from a point to a mapped instrument track.
|
|
@@ -474,8 +474,8 @@ function addMappedEventForPoint(context, channel, trackOptions, propMetrics) {
|
|
|
474
474
|
}
|
|
475
475
|
}
|
|
476
476
|
else if (trackOptions.mapping) {
|
|
477
|
-
eventsAdded = addMappedInstrumentEvent(context, channel, trackOptions.mapping, propMetrics,
|
|
478
|
-
.roundToMusicalNotes
|
|
477
|
+
eventsAdded = addMappedInstrumentEvent(context, channel, trackOptions.mapping, propMetrics, (trackOptions
|
|
478
|
+
.roundToMusicalNotes ?? true));
|
|
479
479
|
}
|
|
480
480
|
return eventsAdded;
|
|
481
481
|
}
|
|
@@ -534,7 +534,7 @@ function isActive(context, activeWhen, lastPropValue) {
|
|
|
534
534
|
return activeWhen(context);
|
|
535
535
|
}
|
|
536
536
|
if (typeof activeWhen === 'object') {
|
|
537
|
-
const prop = activeWhen.prop, val =
|
|
537
|
+
const prop = activeWhen.prop, val = context.value ?? (context.point && getPointPropValue(context.point, prop));
|
|
538
538
|
if (typeof val !== 'number') {
|
|
539
539
|
return false;
|
|
540
540
|
}
|
|
@@ -551,7 +551,7 @@ function isActive(context, activeWhen, lastPropValue) {
|
|
|
551
551
|
hasLastValue && lastPropValue > crossingDown &&
|
|
552
552
|
val <= crossingDown);
|
|
553
553
|
}
|
|
554
|
-
const max =
|
|
554
|
+
const max = (activeWhen.max ?? Infinity), min = (activeWhen.min ?? -Infinity);
|
|
555
555
|
return val <= max && val >= min && crossingOk;
|
|
556
556
|
}
|
|
557
557
|
return true;
|
|
@@ -703,7 +703,7 @@ function timelineFromChart(audioContext, destinationNode, chart) {
|
|
|
703
703
|
addMappedSpeechEvent({ time, value }, contextChannel, mergedOpts.mapping, propMetrics, valueProp);
|
|
704
704
|
}
|
|
705
705
|
else {
|
|
706
|
-
addMappedInstrumentEvent({ time, value }, contextChannel, mergedOpts.mapping, propMetrics,
|
|
706
|
+
addMappedInstrumentEvent({ time, value }, contextChannel, mergedOpts.mapping, propMetrics, (mergedOpts.roundToMusicalNotes ?? true), valueProp);
|
|
707
707
|
}
|
|
708
708
|
};
|
|
709
709
|
if (timeInterval) {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* */
|
|
12
12
|
'use strict';
|
|
13
13
|
import { error } from '../Core/Utilities.js';
|
|
14
|
-
import { merge
|
|
14
|
+
import { merge } from '../Shared/Utilities.js';
|
|
15
15
|
/* *
|
|
16
16
|
*
|
|
17
17
|
* Constants
|
|
@@ -68,7 +68,7 @@ function calculateObstacleMargin(obstacles) {
|
|
|
68
68
|
*/
|
|
69
69
|
function distance(a, b, bbMargin) {
|
|
70
70
|
// Count the distance even if we are slightly off
|
|
71
|
-
const margin =
|
|
71
|
+
const margin = (bbMargin ?? 10), yOverlap = a.yMax + margin > b.yMin - margin &&
|
|
72
72
|
a.yMin - margin < b.yMax + margin, xOverlap = a.xMax + margin > b.xMin - margin &&
|
|
73
73
|
a.xMin - margin < b.xMax + margin, xDistance = yOverlap ? (a.xMin > b.xMax ? a.xMin - b.xMax : b.xMin - a.xMax) : Infinity, yDistance = xOverlap ? (a.yMin > b.yMax ? a.yMin - b.yMax : b.yMin - a.yMax) : Infinity;
|
|
74
74
|
// If the rectangles collide, try recomputing with smaller margin.
|
|
@@ -14,7 +14,7 @@ import Connection from './Connection.js';
|
|
|
14
14
|
import PathfinderAlgorithms from './PathfinderAlgorithms.js';
|
|
15
15
|
import PathfinderComposition from './PathfinderComposition.js';
|
|
16
16
|
import Point from '../Core/Series/Point.js';
|
|
17
|
-
import { addEvent, defined,
|
|
17
|
+
import { addEvent, defined, splat } from '../Shared/Utilities.js';
|
|
18
18
|
/* *
|
|
19
19
|
*
|
|
20
20
|
* Constants
|
|
@@ -65,7 +65,7 @@ function getPointBB(point) {
|
|
|
65
65
|
*/
|
|
66
66
|
function calculateObstacleDistance(a, b, bbMargin) {
|
|
67
67
|
// Count the distance even if we are slightly off
|
|
68
|
-
const margin =
|
|
68
|
+
const margin = (bbMargin ?? 10), yOverlap = a.yMax + margin > b.yMin - margin &&
|
|
69
69
|
a.yMin - margin < b.yMax + margin, xOverlap = a.xMax + margin > b.xMin - margin &&
|
|
70
70
|
a.xMin - margin < b.xMax + margin, xDistance = yOverlap ? (a.xMin > b.xMax ? a.xMin - b.xMax : b.xMin - a.xMax) : Infinity, yDistance = xOverlap ? (a.yMin > b.yMax ? a.yMin - b.yMax : b.yMin - a.yMax) : Infinity;
|
|
71
71
|
// If the rectangles collide, try recomputing with smaller margin.
|
|
@@ -310,7 +310,7 @@ class Pathfinder {
|
|
|
310
310
|
* with xMin, xMax, yMin and yMax properties.
|
|
311
311
|
*/
|
|
312
312
|
getChartObstacles(options) {
|
|
313
|
-
const series = this.chart.series, margin =
|
|
313
|
+
const series = this.chart.series, margin = (options.algorithmMargin ?? 0);
|
|
314
314
|
let obstacles = [], calculatedMargin;
|
|
315
315
|
for (let i = 0, sLen = series.length; i < sLen; ++i) {
|
|
316
316
|
if (series[i].visible && !series[i].options.isInternal) {
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
* */
|
|
12
12
|
'use strict';
|
|
13
13
|
import PathUtilities from '../Series/PathUtilities.js';
|
|
14
|
-
import { pick } from '../Shared/Utilities.js';
|
|
15
14
|
/* *
|
|
16
15
|
*
|
|
17
16
|
* Constants
|
|
@@ -208,7 +207,8 @@ function straight(start, end) {
|
|
|
208
207
|
*/
|
|
209
208
|
const simpleConnect = function (start, end, options) {
|
|
210
209
|
const segments = [], chartObstacles = options.chartObstacles, startObstacleIx = findObstacleFromPoint(chartObstacles, start), endObstacleIx = findObstacleFromPoint(chartObstacles, end);
|
|
211
|
-
let endSegment, dir =
|
|
210
|
+
let endSegment, dir = (options.startDirectionX ??
|
|
211
|
+
(abs(end.x - start.x) > abs(end.y - start.y))) ? 'x' : 'y', startObstacle, endObstacle, waypoint, useMax, endPoint;
|
|
212
212
|
// eslint-disable-next-line valid-jsdoc
|
|
213
213
|
/**
|
|
214
214
|
* Return a clone of a point with a property set from a target object,
|
|
@@ -350,7 +350,8 @@ function fastAvoid(start, end, options) {
|
|
|
350
350
|
- When going around the end obstacle we should not always go the
|
|
351
351
|
shortest route, rather pick the one closer to the end point
|
|
352
352
|
*/
|
|
353
|
-
const dirIsX =
|
|
353
|
+
const dirIsX = options.startDirectionX ??
|
|
354
|
+
(abs(end.x - start.x) > abs(end.y - start.y)), dir = dirIsX ? 'x' : 'y', endSegments = [],
|
|
354
355
|
// Boundaries to stay within. If beyond soft boundary, prefer to
|
|
355
356
|
// change direction ASAP. If at hard max, always change immediately.
|
|
356
357
|
metrics = options.obstacleMetrics, softMinX = min(start.x, end.x) - metrics.maxWidth - 10, softMaxX = max(start.x, end.x) + metrics.maxWidth + 10, softMinY = min(start.y, end.y) - metrics.maxHeight - 10, softMaxY = max(start.y, end.y) + metrics.maxHeight + 10;
|
package/es-modules/Gantt/Tree.js
CHANGED
|
@@ -74,7 +74,7 @@ function getNode(id, parent, level, data, mapOfIdToChildren, options) {
|
|
|
74
74
|
}
|
|
75
75
|
// Call getNode recursively on the children. Calculate the height of the
|
|
76
76
|
// node, and the number of descendants.
|
|
77
|
-
const children = (
|
|
77
|
+
const children = (mapOfIdToChildren[id] || []).map((child) => {
|
|
78
78
|
const node = getNode(child.id, id, (level + 1), child, mapOfIdToChildren, options), childStart = child.start || NaN, childEnd = (child.milestone === true ?
|
|
79
79
|
childStart :
|
|
80
80
|
child.end ||
|
|
@@ -17,7 +17,7 @@ const { composed } = H;
|
|
|
17
17
|
import MapNavigationDefaults from './MapNavigationDefaults.js';
|
|
18
18
|
import MapPointer from './MapPointer.js';
|
|
19
19
|
import MapSymbols from './MapSymbols.js';
|
|
20
|
-
import { extend, objectEach, merge,
|
|
20
|
+
import { extend, objectEach, merge, pushUnique, addEvent } from '../Shared/Utilities.js';
|
|
21
21
|
/* *
|
|
22
22
|
*
|
|
23
23
|
* Functions
|
|
@@ -107,7 +107,7 @@ class MapNavigation {
|
|
|
107
107
|
navButtons.pop()?.destroy();
|
|
108
108
|
}
|
|
109
109
|
if (!chart.renderer.forExport &&
|
|
110
|
-
|
|
110
|
+
(navOptions.enableButtons ?? navOptions.enabled)) {
|
|
111
111
|
if (!mapNav.navButtonsGroup) {
|
|
112
112
|
mapNav.navButtonsGroup = chart.renderer.g()
|
|
113
113
|
.attr({
|
|
@@ -238,7 +238,7 @@ class MapNavigation {
|
|
|
238
238
|
updateEvents(options) {
|
|
239
239
|
const chart = this.chart;
|
|
240
240
|
// Add the double click event
|
|
241
|
-
if (
|
|
241
|
+
if ((options.enableDoubleClickZoom ?? options.enabled) ||
|
|
242
242
|
options.enableDoubleClickZoomTo) {
|
|
243
243
|
this.unbindDblClick = this.unbindDblClick || addEvent(chart.container, 'dblclick', function (e) {
|
|
244
244
|
chart.pointer.onContainerDblClick(e);
|
|
@@ -249,7 +249,7 @@ class MapNavigation {
|
|
|
249
249
|
this.unbindDblClick = this.unbindDblClick();
|
|
250
250
|
}
|
|
251
251
|
// Add the mousewheel event
|
|
252
|
-
if (
|
|
252
|
+
if (options.enableMouseWheelZoom ?? options.enabled) {
|
|
253
253
|
this.unbindMouseWheel = this.unbindMouseWheel || addEvent(chart.container, 'wheel', function (e) {
|
|
254
254
|
// Prevent scrolling when the pointer is over the element
|
|
255
255
|
// with that class, for example annotation popup #12100.
|