highcharts 10.2.1 → 10.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bower.json +1 -1
- package/es-modules/Accessibility/Accessibility.js +1 -1
- package/es-modules/Accessibility/Components/InfoRegionsComponent.js +9 -6
- package/es-modules/Accessibility/Components/LegendComponent.js +36 -32
- package/es-modules/Accessibility/Components/RangeSelectorComponent.js +1 -1
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +16 -16
- package/es-modules/Accessibility/Options/LangDefaults.js +4 -0
- package/es-modules/Core/Axis/Axis.js +42 -32
- package/es-modules/Core/Axis/Axis3DComposition.js +501 -0
- package/es-modules/Core/Axis/Axis3DDefaults.js +130 -0
- package/es-modules/Core/Axis/AxisDefaults.js +20 -7
- package/es-modules/Core/Axis/Color/ColorAxis.js +46 -52
- package/es-modules/Core/Axis/Color/ColorAxisComposition.js +4 -2
- package/es-modules/Core/Axis/NavigatorAxisComposition.js +161 -0
- package/es-modules/Core/Axis/OrdinalAxis.js +2 -1
- package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +1 -1
- package/es-modules/Core/Axis/RadialAxis.js +19 -5
- package/es-modules/Core/Axis/Tick.js +1 -1
- package/es-modules/Core/Axis/Tick3DComposition.js +71 -0
- package/es-modules/Core/Chart/Chart.js +16 -20
- package/es-modules/Core/Chart/Chart3D.js +4 -4
- package/es-modules/Core/Chart/ChartDefaults.js +33 -43
- package/es-modules/Core/Chart/GanttChart.js +1 -1
- package/es-modules/Core/Chart/MapChart.js +1 -1
- package/es-modules/Core/Chart/StockChart.js +11 -28
- package/es-modules/Core/{DefaultOptions.js → Defaults.js} +21 -37
- package/es-modules/Core/FormatUtilities.js +1 -1
- package/es-modules/Core/Globals.js +1 -1
- package/es-modules/Core/Legend/Legend.js +114 -110
- package/es-modules/Core/Legend/LegendSymbol.js +9 -6
- package/es-modules/Core/MSPointer.js +4 -2
- package/es-modules/Core/Pointer.js +125 -75
- package/es-modules/Core/Renderer/SVG/SVGElement.js +0 -3
- package/es-modules/Core/Renderer/SVG/SVGRenderer.js +28 -14
- package/es-modules/Core/Series/DataLabel.js +8 -5
- package/es-modules/Core/Series/Point.js +38 -22
- package/es-modules/Core/Series/Series.js +12 -9
- package/es-modules/Core/Series/SeriesDefaults.js +36 -24
- package/es-modules/Core/Series/SeriesRegistry.js +2 -2
- package/es-modules/Core/Time.js +6 -5
- package/es-modules/Core/Tooltip.js +6 -28
- package/es-modules/Core/Utilities.js +6 -8
- package/es-modules/Extensions/Annotations/Annotation.js +1 -1
- package/es-modules/Extensions/Annotations/AnnotationDefaults.js +13 -8
- package/es-modules/Extensions/Annotations/MockPoint.js +2 -1
- package/es-modules/Extensions/Annotations/NavigationBindings.js +4 -5
- package/es-modules/Extensions/Annotations/NavigationBindingsDefaults.js +1 -1
- package/es-modules/Extensions/Annotations/Popup/Popup.js +2 -2
- package/es-modules/Extensions/Annotations/Popup/PopupAnnotations.js +4 -4
- package/es-modules/Extensions/Annotations/Popup/PopupComposition.js +1 -1
- package/es-modules/Extensions/Boost/BoostSeries.js +11 -8
- package/es-modules/Extensions/Breadcrumbs.js +2 -2
- package/es-modules/Extensions/Data.js +2 -2
- package/es-modules/Extensions/DataGrouping/ApproximationDefaults.js +157 -0
- package/es-modules/Extensions/DataGrouping/ApproximationRegistry.js +35 -0
- package/es-modules/Extensions/DataGrouping/DataGrouping.js +469 -0
- package/es-modules/Extensions/DataGrouping/DataGroupingAxisComposition.js +174 -0
- package/es-modules/Extensions/DataGrouping/DataGroupingDefaults.js +143 -0
- package/es-modules/Extensions/DataGrouping/DataGroupingSeriesComposition.js +479 -0
- package/es-modules/Extensions/Debugger/Debugger.js +1 -1
- package/es-modules/Extensions/DraggablePoints.js +6 -2
- package/es-modules/Extensions/Drilldown.js +3 -5
- package/es-modules/Extensions/ExportData/ExportData.js +31 -5
- package/es-modules/Extensions/Exporting/Exporting.js +47 -60
- package/es-modules/Extensions/Exporting/ExportingDefaults.js +22 -24
- package/es-modules/Extensions/GeoJSON.js +3 -1
- package/es-modules/Extensions/MarkerClusters.js +1 -1
- package/es-modules/Extensions/NoDataToDisplay.js +1 -1
- package/es-modules/Extensions/OfflineExporting/OfflineExporting.js +5 -5
- package/es-modules/Extensions/OfflineExporting/OfflineExportingDefaults.js +1 -1
- package/es-modules/Extensions/Oldie/Oldie.js +3 -3
- package/es-modules/Extensions/Oldie/VMLRenderer3D.js +1 -1
- package/es-modules/Extensions/OldiePolyfills.js +3 -1
- package/es-modules/Extensions/Pane.js +42 -5
- package/es-modules/Extensions/ParallelCoordinates.js +5 -1
- package/es-modules/Extensions/PatternFill.js +10 -10
- package/es-modules/Extensions/SeriesLabel/SeriesLabel.js +2 -2
- package/es-modules/Extensions/SeriesLabel/SeriesLabelDefaults.js +4 -0
- package/es-modules/Extensions/Sonification/Sonification.js +1 -1
- package/es-modules/Extensions/Themes/Avocado.js +1 -1
- package/es-modules/Extensions/Themes/BrandDark.js +1 -1
- package/es-modules/Extensions/Themes/BrandLight.js +1 -1
- package/es-modules/Extensions/Themes/DarkBlue.js +1 -1
- package/es-modules/Extensions/Themes/DarkGreen.js +1 -1
- package/es-modules/Extensions/Themes/DarkUnica.js +1 -1
- package/es-modules/Extensions/Themes/Gray.js +1 -1
- package/es-modules/Extensions/Themes/Grid.js +1 -1
- package/es-modules/Extensions/Themes/GridLight.js +1 -1
- package/es-modules/Extensions/Themes/HighContrastDark.js +1 -1
- package/es-modules/Extensions/Themes/HighContrastLight.js +1 -1
- package/es-modules/Extensions/Themes/SandSignika.js +1 -1
- package/es-modules/Extensions/Themes/Skies.js +1 -1
- package/es-modules/Extensions/Themes/Sunset.js +1 -1
- package/es-modules/Gantt/Connection.js +5 -5
- package/es-modules/Gantt/Pathfinder.js +6 -6
- package/es-modules/Maps/MapNavigation.js +1 -1
- package/es-modules/Maps/{MapNavigationOptionsDefault.js → MapNavigationDefaults.js} +4 -4
- package/es-modules/Maps/MapViewOptionsDefault.js +4 -4
- package/es-modules/Series/ArcDiagram/ArcDiagramSeries.js +3 -5
- package/es-modules/Series/AreaRange/AreaRangePoint.js +6 -10
- package/es-modules/Series/AreaRange/AreaRangeSeries.js +59 -48
- package/es-modules/Series/BoxPlot/BoxPlotSeries.js +4 -1
- package/es-modules/Series/Bubble/BubbleLegendComposition.js +22 -16
- package/es-modules/Series/Bubble/BubbleLegendItem.js +17 -21
- package/es-modules/Series/Candlestick/CandlestickSeries.js +15 -175
- package/es-modules/Series/Candlestick/CandlestickSeriesDefaults.js +179 -0
- package/es-modules/Series/Column/ColumnSeries.js +25 -506
- package/es-modules/Series/Column/ColumnSeriesDefaults.js +487 -0
- package/es-modules/Series/ColumnRange/ColumnRangeSeries.js +40 -36
- package/es-modules/Series/DependencyWheel/DependencyWheelSeries.js +2 -106
- package/es-modules/Series/DependencyWheel/DependencyWheelSeriesDefaults.js +183 -0
- package/es-modules/Series/DotPlot/DotPlotSeries.js +11 -12
- package/es-modules/Series/DrawPointUtilities.js +2 -14
- package/es-modules/Series/Dumbbell/DumbbellPoint.js +5 -4
- package/es-modules/Series/Dumbbell/DumbbellSeries.js +11 -7
- package/es-modules/Series/ErrorBar/ErrorBarSeries.js +19 -136
- package/es-modules/Series/ErrorBar/ErrorBarSeriesDefaults.js +147 -0
- package/es-modules/Series/Flags/FlagsPoint.js +2 -3
- package/es-modules/Series/Flags/FlagsSeries.js +31 -298
- package/es-modules/Series/Flags/FlagsSeriesDefaults.js +295 -0
- package/es-modules/Series/Flags/FlagsSymbols.js +96 -71
- package/es-modules/Series/HLC/HLCPoint.js +2 -2
- package/es-modules/Series/HLC/HLCSeries.js +7 -172
- package/es-modules/Series/HLC/HLCSeriesDefaults.js +184 -0
- package/es-modules/Series/Heatmap/HeatmapSeries.js +3 -0
- package/es-modules/Series/HeikinAshi/HeikinAshiPoint.js +3 -20
- package/es-modules/Series/HeikinAshi/HeikinAshiSeries.js +78 -139
- package/es-modules/Series/HeikinAshi/HeikinAshiSeriesDefaults.js +102 -0
- package/es-modules/Series/Item/ItemPoint.js +0 -1
- package/es-modules/Series/Item/ItemSeries.js +13 -8
- package/es-modules/Series/Line/LineSeries.js +8 -4
- package/es-modules/Series/Map/MapPoint.js +19 -1
- package/es-modules/Series/Map/MapSeries.js +7 -3
- package/es-modules/Series/MapBubble/MapBubbleSeries.js +4 -0
- package/es-modules/Series/MapPoint/MapPointPoint.js +0 -5
- package/es-modules/Series/MapPoint/MapPointSeries.js +24 -9
- package/es-modules/Series/Networkgraph/NetworkgraphSeries.js +2 -5
- package/es-modules/Series/Networkgraph/NetworkgraphSeriesDefaults.js +2 -0
- package/es-modules/Series/OHLC/OHLCPoint.js +0 -2
- package/es-modules/Series/OHLC/OHLCSeries.js +64 -160
- package/es-modules/Series/OHLC/OHLCSeriesDefaults.js +151 -0
- package/es-modules/Series/Organization/OrganizationPoint.js +0 -2
- package/es-modules/Series/Organization/OrganizationSeries.js +96 -469
- package/es-modules/Series/Organization/OrganizationSeriesDefaults.js +415 -0
- package/es-modules/Series/PackedBubble/PackedBubbleSeries.js +3 -10
- package/es-modules/Series/PackedBubble/PackedBubbleSeriesDefaults.js +2 -0
- package/es-modules/Series/PathUtilities.js +74 -0
- package/es-modules/Series/Pie/PieSeries.js +2 -644
- package/es-modules/Series/Pie/PieSeriesDefaults.js +660 -0
- package/es-modules/Series/PolarComposition.js +233 -15
- package/es-modules/Series/Sankey/SankeySeries.js +27 -530
- package/es-modules/Series/Sankey/SankeySeriesDefaults.js +522 -0
- package/es-modules/Series/Scatter/ScatterSeries.js +2 -172
- package/es-modules/Series/Scatter/ScatterSeriesDefaults.js +188 -0
- package/es-modules/Series/SolidGauge/SolidGaugeSeries.js +12 -182
- package/es-modules/Series/SolidGauge/SolidGaugeSeriesDefaults.js +199 -0
- package/es-modules/Series/Sunburst/SunburstNode.js +34 -0
- package/es-modules/Series/Sunburst/SunburstPoint.js +2 -1
- package/es-modules/Series/Sunburst/SunburstSeries.js +3 -1
- package/es-modules/Series/Timeline/TimelineSeries.js +2 -231
- package/es-modules/Series/Timeline/TimelineSeriesDefaults.js +248 -0
- package/es-modules/Series/TreeUtilities.js +1 -2
- package/es-modules/Series/Treegraph/TreegraphLayout.js +338 -0
- package/es-modules/Series/Treegraph/TreegraphLink.js +92 -0
- package/es-modules/Series/Treegraph/TreegraphNode.js +206 -0
- package/es-modules/Series/Treegraph/TreegraphPoint.js +175 -0
- package/es-modules/Series/Treegraph/TreegraphSeries.js +510 -0
- package/es-modules/Series/Treegraph/TreegraphSeriesDefaults.js +231 -0
- package/es-modules/Series/Treemap/TreemapNode.js +48 -0
- package/es-modules/Series/Treemap/TreemapPoint.js +2 -1
- package/es-modules/Series/Treemap/TreemapSeries.js +29 -27
- package/es-modules/Series/Variwide/VariwideComposition.js +70 -26
- package/es-modules/Series/Variwide/VariwidePoint.js +8 -7
- package/es-modules/Series/Variwide/VariwideSeries.js +19 -14
- package/es-modules/Series/Vector/VectorSeries.js +2 -2
- package/es-modules/Series/Venn/VennSeries.js +14 -0
- package/es-modules/Series/Waterfall/WaterfallSeries.js +0 -1
- package/es-modules/Series/Windbarb/WindbarbSeries.js +3 -2
- package/es-modules/Series/Wordcloud/WordcloudSeries.js +3 -0
- package/es-modules/Stock/Indicators/AO/AOIndicator.js +1 -2
- package/es-modules/Stock/Indicators/BB/BBIndicator.js +15 -4
- package/es-modules/Stock/Indicators/IKH/IKHIndicator.js +21 -18
- package/es-modules/Stock/Indicators/Klinger/KlingerIndicator.js +1 -2
- package/es-modules/Stock/Indicators/MACD/MACDIndicator.js +1 -2
- package/es-modules/Stock/Indicators/PivotPoints/PivotPointsIndicator.js +1 -1
- package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +0 -1
- package/es-modules/Stock/Indicators/SlowStochastic/SlowStochasticIndicator.js +3 -4
- package/es-modules/Stock/Indicators/Supertrend/SupertrendIndicator.js +1 -2
- package/es-modules/Stock/Indicators/VBP/VBPIndicator.js +6 -7
- package/es-modules/{Core → Stock/Navigator}/Navigator.js +112 -686
- package/es-modules/Stock/Navigator/NavigatorComposition.js +218 -0
- package/es-modules/Stock/Navigator/NavigatorDefaults.js +490 -0
- package/es-modules/Stock/Navigator/NavigatorSymbols.js +44 -0
- package/es-modules/{Extensions → Stock/RangeSelector}/RangeSelector.js +154 -818
- package/es-modules/Stock/RangeSelector/RangeSelectorComposition.js +286 -0
- package/es-modules/Stock/RangeSelector/RangeSelectorDefaults.js +521 -0
- package/es-modules/{Core → Stock/Scrollbar}/Scrollbar.js +4 -4
- package/es-modules/{Core → Stock/Scrollbar}/ScrollbarDefaults.js +1 -1
- package/es-modules/Stock/{StockToolbar.js → StockTools/StockToolbar.js} +2 -2
- package/es-modules/Stock/{StockTools.js → StockTools/StockTools.js} +3 -3
- package/es-modules/Stock/{StockToolsBindings.js → StockTools/StockToolsBindings.js} +3 -3
- package/es-modules/Stock/{StockToolsDefaults.js → StockTools/StockToolsDefaults.js} +4 -4
- package/es-modules/Stock/{StockToolsGui.js → StockTools/StockToolsGui.js} +4 -4
- package/es-modules/Stock/{StockToolsUtilities.js → StockTools/StockToolsUtilities.js} +4 -4
- package/es-modules/masters/highcharts-3d.src.js +3 -5
- package/es-modules/masters/highcharts-gantt.src.js +1 -1
- package/es-modules/masters/highcharts-more.src.js +1 -1
- package/es-modules/masters/highcharts.src.js +6 -6
- package/es-modules/masters/highmaps.src.js +1 -1
- package/es-modules/masters/highstock.src.js +1 -1
- package/es-modules/masters/indicators/acceleration-bands.src.js +1 -1
- package/es-modules/masters/indicators/accumulation-distribution.src.js +1 -1
- package/es-modules/masters/indicators/ao.src.js +1 -1
- package/es-modules/masters/indicators/apo.src.js +1 -1
- package/es-modules/masters/indicators/aroon-oscillator.src.js +1 -1
- package/es-modules/masters/indicators/aroon.src.js +1 -1
- package/es-modules/masters/indicators/atr.src.js +1 -1
- package/es-modules/masters/indicators/bollinger-bands.src.js +1 -1
- package/es-modules/masters/indicators/cci.src.js +1 -1
- package/es-modules/masters/indicators/chaikin.src.js +1 -1
- package/es-modules/masters/indicators/cmf.src.js +1 -1
- package/es-modules/masters/indicators/cmo.src.js +1 -1
- package/es-modules/masters/indicators/dema.src.js +1 -1
- package/es-modules/masters/indicators/disparity-index.src.js +1 -1
- package/es-modules/masters/indicators/dmi.src.js +1 -1
- package/es-modules/masters/indicators/dpo.src.js +1 -1
- package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/es-modules/masters/indicators/indicators-all.src.js +1 -1
- package/es-modules/masters/indicators/indicators.src.js +1 -1
- package/es-modules/masters/indicators/keltner-channels.src.js +1 -1
- package/es-modules/masters/indicators/klinger.src.js +1 -1
- package/es-modules/masters/indicators/macd.src.js +1 -1
- package/es-modules/masters/indicators/mfi.src.js +1 -1
- package/es-modules/masters/indicators/momentum.src.js +1 -1
- package/es-modules/masters/indicators/natr.src.js +1 -1
- package/es-modules/masters/indicators/obv.src.js +1 -1
- package/es-modules/masters/indicators/pivot-points.src.js +1 -1
- package/es-modules/masters/indicators/ppo.src.js +1 -1
- package/es-modules/masters/indicators/price-channel.src.js +1 -1
- package/es-modules/masters/indicators/price-envelopes.src.js +1 -1
- package/es-modules/masters/indicators/psar.src.js +1 -1
- package/es-modules/masters/indicators/regressions.src.js +1 -1
- package/es-modules/masters/indicators/roc.src.js +1 -1
- package/es-modules/masters/indicators/rsi.src.js +1 -1
- package/es-modules/masters/indicators/slow-stochastic.src.js +1 -1
- package/es-modules/masters/indicators/stochastic.src.js +1 -1
- package/es-modules/masters/indicators/supertrend.src.js +1 -1
- package/es-modules/masters/indicators/tema.src.js +1 -1
- package/es-modules/masters/indicators/trendline.src.js +1 -1
- package/es-modules/masters/indicators/trix.src.js +1 -1
- package/es-modules/masters/indicators/volume-by-price.src.js +1 -1
- package/es-modules/masters/indicators/vwap.src.js +1 -1
- package/es-modules/masters/indicators/williams-r.src.js +1 -1
- package/es-modules/masters/indicators/wma.src.js +1 -1
- package/es-modules/masters/indicators/zigzag.src.js +1 -1
- package/es-modules/masters/modules/accessibility.src.js +1 -1
- package/es-modules/masters/modules/annotations-advanced.src.js +1 -1
- package/es-modules/masters/modules/annotations.src.js +1 -1
- package/es-modules/masters/modules/arc-diagram.src.js +1 -1
- package/es-modules/masters/modules/arrow-symbols.src.js +1 -1
- package/es-modules/masters/modules/boost-canvas.src.js +1 -1
- package/es-modules/masters/modules/boost.src.js +1 -1
- package/es-modules/masters/modules/broken-axis.src.js +1 -1
- package/es-modules/masters/modules/bullet.src.js +1 -1
- package/es-modules/masters/modules/coloraxis.src.js +1 -1
- package/es-modules/masters/modules/current-date-indicator.src.js +1 -1
- package/es-modules/masters/modules/cylinder.src.js +1 -1
- package/es-modules/masters/modules/data.src.js +1 -1
- package/es-modules/masters/modules/datagrouping.src.js +11 -3
- package/es-modules/masters/modules/debugger.src.js +1 -1
- package/es-modules/masters/modules/dependency-wheel.src.js +1 -1
- package/es-modules/masters/modules/dotplot.src.js +1 -1
- package/es-modules/masters/modules/drag-panes.src.js +1 -1
- package/es-modules/masters/modules/draggable-points.src.js +1 -1
- package/es-modules/masters/modules/drilldown.src.js +1 -1
- package/es-modules/masters/modules/dumbbell.src.js +1 -1
- package/es-modules/masters/modules/export-data.src.js +1 -1
- package/es-modules/masters/modules/exporting.src.js +1 -1
- package/es-modules/masters/modules/full-screen.src.js +1 -1
- package/es-modules/masters/modules/funnel.src.js +1 -1
- package/es-modules/masters/modules/funnel3d.src.js +1 -1
- package/es-modules/masters/modules/gantt.src.js +9 -5
- package/es-modules/masters/modules/grid-axis.src.js +1 -1
- package/es-modules/masters/modules/heatmap.src.js +1 -1
- package/es-modules/masters/modules/heikinashi.src.js +5 -2
- package/es-modules/masters/modules/histogram-bellcurve.src.js +1 -1
- package/es-modules/masters/modules/hollowcandlestick.src.js +1 -1
- package/es-modules/masters/modules/item-series.src.js +1 -1
- package/es-modules/masters/modules/lollipop.src.js +1 -1
- package/es-modules/masters/modules/map.src.js +1 -1
- package/es-modules/masters/modules/marker-clusters.src.js +1 -1
- package/es-modules/masters/modules/networkgraph.src.js +1 -1
- package/es-modules/masters/modules/no-data-to-display.src.js +1 -1
- package/es-modules/masters/modules/offline-exporting.src.js +1 -1
- package/es-modules/masters/modules/oldie-polyfills.src.js +1 -1
- package/es-modules/masters/modules/oldie.src.js +1 -1
- package/es-modules/masters/modules/organization.src.js +1 -1
- package/es-modules/masters/modules/overlapping-datalabels.src.js +1 -1
- package/es-modules/masters/modules/parallel-coordinates.src.js +1 -1
- package/es-modules/masters/modules/pareto.src.js +1 -1
- package/es-modules/masters/modules/pathfinder.src.js +1 -1
- package/es-modules/masters/modules/pattern-fill.src.js +1 -1
- package/es-modules/masters/modules/price-indicator.src.js +1 -1
- package/es-modules/masters/modules/pyramid3d.src.js +1 -1
- package/es-modules/masters/modules/sankey.src.js +1 -1
- package/es-modules/masters/modules/series-label.src.js +1 -1
- package/es-modules/masters/modules/series-on-point.src.js +1 -1
- package/es-modules/masters/modules/solid-gauge.src.js +1 -1
- package/es-modules/masters/modules/sonification.src.js +1 -1
- package/es-modules/masters/modules/static-scale.src.js +1 -1
- package/es-modules/masters/modules/stock-tools.src.js +4 -4
- package/es-modules/masters/modules/stock.src.js +17 -11
- package/es-modules/masters/modules/streamgraph.src.js +1 -1
- package/es-modules/masters/modules/sunburst.src.js +1 -1
- package/es-modules/masters/modules/tilemap.src.js +1 -1
- package/es-modules/masters/modules/timeline.src.js +1 -1
- package/es-modules/masters/modules/treegraph.src.js +13 -0
- package/es-modules/masters/modules/treegrid.src.js +1 -1
- package/es-modules/masters/modules/treemap.src.js +1 -1
- package/es-modules/masters/modules/variable-pie.src.js +1 -1
- package/es-modules/masters/modules/variwide.src.js +5 -2
- package/es-modules/masters/modules/vector.src.js +1 -1
- package/es-modules/masters/modules/venn.src.js +1 -1
- package/es-modules/masters/modules/windbarb.src.js +1 -1
- package/es-modules/masters/modules/wordcloud.src.js +1 -1
- package/es-modules/masters/modules/xrange.src.js +1 -1
- package/es-modules/masters/themes/avocado.src.js +1 -1
- package/es-modules/masters/themes/brand-dark.src.js +1 -1
- package/es-modules/masters/themes/brand-light.src.js +1 -1
- package/es-modules/masters/themes/dark-blue.src.js +1 -1
- package/es-modules/masters/themes/dark-green.src.js +1 -1
- package/es-modules/masters/themes/dark-unica.src.js +1 -1
- package/es-modules/masters/themes/gray.src.js +1 -1
- package/es-modules/masters/themes/grid-light.src.js +1 -1
- package/es-modules/masters/themes/grid.src.js +1 -1
- package/es-modules/masters/themes/high-contrast-dark.src.js +1 -1
- package/es-modules/masters/themes/high-contrast-light.src.js +1 -1
- package/es-modules/masters/themes/sand-signika.src.js +1 -1
- package/es-modules/masters/themes/skies.src.js +1 -1
- package/es-modules/masters/themes/sunset.src.js +1 -1
- package/highcharts-3d.js +97 -98
- package/highcharts-3d.js.map +1 -1
- package/highcharts-3d.src.js +476 -449
- package/highcharts-gantt.js +811 -808
- package/highcharts-gantt.js.map +1 -1
- package/highcharts-gantt.src.js +14619 -14112
- package/highcharts-more.d.ts +0 -8
- package/highcharts-more.js +208 -201
- package/highcharts-more.js.map +1 -1
- package/highcharts-more.src.d.ts +0 -8
- package/highcharts-more.src.js +679 -289
- package/highcharts.d.ts +30739 -6156
- package/highcharts.js +590 -589
- package/highcharts.js.map +1 -1
- package/highcharts.src.d.ts +30739 -6156
- package/highcharts.src.js +1988 -1799
- package/highmaps.js +759 -757
- package/highmaps.js.map +1 -1
- package/highmaps.src.js +2339 -2077
- package/highstock.js +802 -794
- package/highstock.js.map +1 -1
- package/highstock.src.js +12349 -11416
- package/indicators/acceleration-bands.js +1 -1
- package/indicators/acceleration-bands.src.js +1 -1
- package/indicators/accumulation-distribution.js +1 -1
- package/indicators/accumulation-distribution.src.js +1 -1
- package/indicators/ao.js +6 -6
- package/indicators/ao.js.map +1 -1
- package/indicators/ao.src.js +4 -3
- package/indicators/apo.js +1 -1
- package/indicators/apo.src.js +1 -1
- package/indicators/aroon-oscillator.js +1 -1
- package/indicators/aroon-oscillator.src.js +1 -1
- package/indicators/aroon.js +1 -1
- package/indicators/aroon.src.js +1 -1
- package/indicators/atr.js +1 -1
- package/indicators/atr.src.js +1 -1
- package/indicators/bollinger-bands.js +1 -1
- package/indicators/bollinger-bands.js.map +1 -1
- package/indicators/bollinger-bands.src.js +16 -5
- package/indicators/cci.js +1 -1
- package/indicators/cci.src.js +1 -1
- package/indicators/chaikin.js +1 -1
- package/indicators/chaikin.src.js +1 -1
- package/indicators/cmf.js +1 -1
- package/indicators/cmf.src.js +1 -1
- package/indicators/cmo.d.ts +17 -0
- package/indicators/cmo.js +1 -1
- package/indicators/cmo.src.d.ts +17 -0
- package/indicators/cmo.src.js +1 -1
- package/indicators/dema.js +1 -1
- package/indicators/dema.src.js +1 -1
- package/indicators/disparity-index.d.ts +17 -0
- package/indicators/disparity-index.js +1 -1
- package/indicators/disparity-index.src.d.ts +17 -0
- package/indicators/disparity-index.src.js +1 -1
- package/indicators/dmi.d.ts +17 -0
- package/indicators/dmi.js +1 -1
- package/indicators/dmi.src.d.ts +17 -0
- package/indicators/dmi.src.js +1 -1
- package/indicators/dpo.js +1 -1
- package/indicators/dpo.src.js +1 -1
- package/indicators/ichimoku-kinko-hyo.js +14 -14
- package/indicators/ichimoku-kinko-hyo.js.map +1 -1
- package/indicators/ichimoku-kinko-hyo.src.js +22 -19
- package/indicators/indicators-all.js +198 -199
- package/indicators/indicators-all.js.map +1 -1
- package/indicators/indicators-all.src.js +63 -57
- package/indicators/indicators.js +13 -13
- package/indicators/indicators.js.map +1 -1
- package/indicators/indicators.src.js +1 -15
- package/indicators/keltner-channels.js +1 -1
- package/indicators/keltner-channels.src.js +1 -1
- package/indicators/klinger.d.ts +17 -0
- package/indicators/klinger.js +12 -12
- package/indicators/klinger.js.map +1 -1
- package/indicators/klinger.src.d.ts +17 -0
- package/indicators/klinger.src.js +4 -3
- package/indicators/macd.js +1 -1
- package/indicators/macd.js.map +1 -1
- package/indicators/macd.src.js +4 -3
- package/indicators/mfi.js +1 -1
- package/indicators/mfi.src.js +1 -1
- package/indicators/momentum.js +1 -1
- package/indicators/momentum.src.js +1 -1
- package/indicators/natr.js +1 -1
- package/indicators/natr.src.js +1 -1
- package/indicators/obv.d.ts +17 -0
- package/indicators/obv.js +1 -1
- package/indicators/obv.src.d.ts +17 -0
- package/indicators/obv.src.js +1 -1
- package/indicators/pivot-points.js +2 -2
- package/indicators/pivot-points.js.map +1 -1
- package/indicators/pivot-points.src.js +2 -2
- package/indicators/ppo.js +1 -1
- package/indicators/ppo.src.js +1 -1
- package/indicators/price-channel.js +1 -1
- package/indicators/price-channel.src.js +1 -1
- package/indicators/price-envelopes.js +1 -1
- package/indicators/price-envelopes.src.js +1 -1
- package/indicators/psar.js +1 -1
- package/indicators/psar.src.js +1 -1
- package/indicators/regressions.js +1 -1
- package/indicators/regressions.src.js +1 -1
- package/indicators/roc.js +1 -1
- package/indicators/roc.src.js +1 -1
- package/indicators/rsi.js +1 -1
- package/indicators/rsi.src.js +1 -1
- package/indicators/slow-stochastic.js +5 -5
- package/indicators/slow-stochastic.js.map +1 -1
- package/indicators/slow-stochastic.src.js +6 -5
- package/indicators/stochastic.js +1 -1
- package/indicators/stochastic.src.js +1 -1
- package/indicators/supertrend.js +7 -7
- package/indicators/supertrend.js.map +1 -1
- package/indicators/supertrend.src.js +4 -3
- package/indicators/tema.js +1 -1
- package/indicators/tema.src.js +1 -1
- package/indicators/trendline.js +1 -1
- package/indicators/trendline.src.js +1 -1
- package/indicators/trix.js +1 -1
- package/indicators/trix.src.js +1 -1
- package/indicators/volume-by-price.js +17 -17
- package/indicators/volume-by-price.js.map +1 -1
- package/indicators/volume-by-price.src.js +9 -8
- package/indicators/vwap.js +1 -1
- package/indicators/vwap.src.js +1 -1
- package/indicators/williams-r.js +1 -1
- package/indicators/williams-r.src.js +1 -1
- package/indicators/wma.js +1 -1
- package/indicators/wma.src.js +1 -1
- package/indicators/zigzag.js +1 -1
- package/indicators/zigzag.src.js +1 -1
- package/modules/accessibility.js +214 -213
- package/modules/accessibility.js.map +1 -1
- package/modules/accessibility.src.js +991 -835
- package/modules/annotations-advanced.js +16 -16
- package/modules/annotations-advanced.js.map +1 -1
- package/modules/annotations-advanced.src.js +29 -24
- package/modules/annotations.js +91 -91
- package/modules/annotations.js.map +1 -1
- package/modules/annotations.src.js +29 -24
- package/modules/arc-diagram.d.ts +17 -0
- package/modules/arc-diagram.js +15 -15
- package/modules/arc-diagram.js.map +1 -1
- package/modules/arc-diagram.src.d.ts +17 -0
- package/modules/arc-diagram.src.js +6 -6
- package/modules/arrow-symbols.js +1 -1
- package/modules/arrow-symbols.src.js +1 -1
- package/modules/boost-canvas.js +19 -19
- package/modules/boost-canvas.js.map +1 -1
- package/modules/boost-canvas.src.js +13 -8
- package/modules/boost.js +37 -37
- package/modules/boost.js.map +1 -1
- package/modules/boost.src.js +13 -8
- package/modules/broken-axis.js +1 -1
- package/modules/broken-axis.src.js +1 -1
- package/modules/bullet.js +1 -1
- package/modules/bullet.src.js +1 -1
- package/modules/coloraxis.js +25 -24
- package/modules/coloraxis.js.map +1 -1
- package/modules/coloraxis.src.js +77 -58
- package/modules/current-date-indicator.js +1 -1
- package/modules/current-date-indicator.src.js +1 -1
- package/modules/cylinder.js +1 -1
- package/modules/cylinder.src.js +1 -1
- package/modules/data.js +27 -27
- package/modules/data.js.map +1 -1
- package/modules/data.src.js +3 -3
- package/modules/datagrouping.d.ts +31 -0
- package/modules/datagrouping.js +23 -21
- package/modules/datagrouping.js.map +1 -1
- package/modules/datagrouping.src.d.ts +31 -0
- package/modules/datagrouping.src.js +921 -640
- package/modules/debugger.js +3 -3
- package/modules/debugger.js.map +1 -1
- package/modules/debugger.src.js +2 -2
- package/modules/dependency-wheel.js +12 -12
- package/modules/dependency-wheel.js.map +1 -1
- package/modules/dependency-wheel.src.js +191 -108
- package/modules/dotplot.js +6 -6
- package/modules/dotplot.js.map +1 -1
- package/modules/dotplot.src.js +10 -13
- package/modules/drag-panes.js +1 -1
- package/modules/drag-panes.src.js +1 -1
- package/modules/draggable-points.js +5 -5
- package/modules/draggable-points.js.map +1 -1
- package/modules/draggable-points.src.js +7 -3
- package/modules/drilldown.js +37 -37
- package/modules/drilldown.js.map +1 -1
- package/modules/drilldown.src.js +5 -6
- package/modules/dumbbell.js +17 -17
- package/modules/dumbbell.js.map +1 -1
- package/modules/dumbbell.src.js +27 -22
- package/modules/export-data.js +26 -25
- package/modules/export-data.js.map +1 -1
- package/modules/export-data.src.js +33 -6
- package/modules/exporting.js +36 -35
- package/modules/exporting.js.map +1 -1
- package/modules/exporting.src.js +81 -88
- package/modules/full-screen.js +1 -1
- package/modules/full-screen.src.js +1 -1
- package/modules/funnel.js +1 -1
- package/modules/funnel.src.js +1 -1
- package/modules/funnel3d.js +1 -1
- package/modules/funnel3d.src.js +1 -1
- package/modules/gantt.js +221 -219
- package/modules/gantt.js.map +1 -1
- package/modules/gantt.src.js +12842 -12524
- package/modules/grid-axis.js +1 -1
- package/modules/grid-axis.src.js +1 -1
- package/modules/heatmap.js +40 -40
- package/modules/heatmap.js.map +1 -1
- package/modules/heatmap.src.js +80 -58
- package/modules/heikinashi.d.ts +17 -0
- package/modules/heikinashi.js +9 -8
- package/modules/heikinashi.js.map +1 -1
- package/modules/heikinashi.src.d.ts +17 -0
- package/modules/heikinashi.src.js +192 -165
- package/modules/histogram-bellcurve.js +1 -1
- package/modules/histogram-bellcurve.src.js +1 -1
- package/modules/hollowcandlestick.d.ts +17 -0
- package/modules/hollowcandlestick.js +1 -1
- package/modules/hollowcandlestick.src.d.ts +17 -0
- package/modules/hollowcandlestick.src.js +1 -1
- package/modules/item-series.js +12 -12
- package/modules/item-series.js.map +1 -1
- package/modules/item-series.src.js +14 -10
- package/modules/lollipop.js +1 -1
- package/modules/lollipop.src.js +1 -1
- package/modules/map.js +172 -171
- package/modules/map.js.map +1 -1
- package/modules/map.src.js +194 -121
- package/modules/marker-clusters.js +2 -2
- package/modules/marker-clusters.js.map +1 -1
- package/modules/marker-clusters.src.js +2 -2
- package/modules/networkgraph.js +8 -8
- package/modules/networkgraph.js.map +1 -1
- package/modules/networkgraph.src.js +5 -6
- package/modules/no-data-to-display.js +4 -4
- package/modules/no-data-to-display.js.map +1 -1
- package/modules/no-data-to-display.src.js +2 -2
- package/modules/offline-exporting.js +4 -4
- package/modules/offline-exporting.js.map +1 -1
- package/modules/offline-exporting.src.js +7 -7
- package/modules/oldie-polyfills.js +7 -7
- package/modules/oldie-polyfills.js.map +1 -1
- package/modules/oldie-polyfills.src.js +9 -7
- package/modules/oldie.js +30 -30
- package/modules/oldie.js.map +1 -1
- package/modules/oldie.src.js +5 -5
- package/modules/organization.js +18 -16
- package/modules/organization.js.map +1 -1
- package/modules/organization.src.js +659 -495
- package/modules/overlapping-datalabels.js +1 -1
- package/modules/overlapping-datalabels.src.js +1 -1
- package/modules/parallel-coordinates.js +10 -10
- package/modules/parallel-coordinates.js.map +1 -1
- package/modules/parallel-coordinates.src.js +6 -2
- package/modules/pareto.js +1 -1
- package/modules/pareto.src.js +1 -1
- package/modules/pathfinder.js +31 -31
- package/modules/pathfinder.js.map +1 -1
- package/modules/pathfinder.src.js +19 -23
- package/modules/pattern-fill.js +2 -2
- package/modules/pattern-fill.js.map +1 -1
- package/modules/pattern-fill.src.js +11 -11
- package/modules/price-indicator.js +1 -1
- package/modules/price-indicator.src.js +1 -1
- package/modules/pyramid3d.js +1 -1
- package/modules/pyramid3d.src.js +1 -1
- package/modules/sankey.js +33 -32
- package/modules/sankey.js.map +1 -1
- package/modules/sankey.src.js +571 -550
- package/modules/series-label.js +17 -17
- package/modules/series-label.js.map +1 -1
- package/modules/series-label.src.js +7 -3
- package/modules/series-on-point.d.ts +17 -0
- package/modules/series-on-point.js +1 -1
- package/modules/series-on-point.src.d.ts +17 -0
- package/modules/series-on-point.src.js +1 -1
- package/modules/solid-gauge.js +11 -10
- package/modules/solid-gauge.js.map +1 -1
- package/modules/solid-gauge.src.js +220 -192
- package/modules/sonification.js +2 -2
- package/modules/sonification.js.map +1 -1
- package/modules/sonification.src.js +2 -2
- package/modules/static-scale.js +1 -1
- package/modules/static-scale.src.js +1 -1
- package/modules/stock-tools.js +59 -59
- package/modules/stock-tools.js.map +1 -1
- package/modules/stock-tools.src.js +19 -21
- package/modules/stock.d.ts +26 -6
- package/modules/stock.js +212 -205
- package/modules/stock.js.map +1 -1
- package/modules/stock.src.d.ts +26 -6
- package/modules/stock.src.js +11361 -10617
- package/modules/streamgraph.js +1 -1
- package/modules/streamgraph.src.js +1 -1
- package/modules/sunburst.js +75 -73
- package/modules/sunburst.js.map +1 -1
- package/modules/sunburst.src.js +133 -57
- package/modules/tilemap.js +1 -1
- package/modules/tilemap.src.js +1 -1
- package/modules/timeline.js +18 -18
- package/modules/timeline.js.map +1 -1
- package/modules/timeline.src.js +257 -233
- package/modules/treegraph.d.ts +17 -0
- package/modules/treegraph.js +44 -0
- package/modules/treegraph.js.map +1 -0
- package/modules/treegraph.src.d.ts +17 -0
- package/modules/treegraph.src.js +1829 -0
- package/modules/treegrid.js +2 -2
- package/modules/treegrid.js.map +1 -1
- package/modules/treegrid.src.js +2 -3
- package/modules/treemap.js +54 -53
- package/modules/treemap.js.map +1 -1
- package/modules/treemap.src.js +90 -52
- package/modules/variable-pie.js +1 -1
- package/modules/variable-pie.src.js +1 -1
- package/modules/variwide.js +12 -12
- package/modules/variwide.js.map +1 -1
- package/modules/variwide.src.js +158 -106
- package/modules/vector.js +1 -1
- package/modules/vector.src.js +3 -3
- package/modules/venn.js +31 -31
- package/modules/venn.js.map +1 -1
- package/modules/venn.src.js +17 -16
- package/modules/windbarb.js +15 -15
- package/modules/windbarb.js.map +1 -1
- package/modules/windbarb.src.js +41 -4
- package/modules/wordcloud.js +23 -23
- package/modules/wordcloud.js.map +1 -1
- package/modules/wordcloud.src.js +6 -15
- package/modules/xrange.js +1 -1
- package/modules/xrange.src.js +1 -1
- package/package.json +1 -1
- package/themes/avocado.js +2 -3
- package/themes/avocado.js.map +1 -1
- package/themes/avocado.src.js +2 -2
- package/themes/brand-dark.d.ts +22 -0
- package/themes/brand-dark.js +3 -3
- package/themes/brand-dark.js.map +1 -1
- package/themes/brand-dark.src.d.ts +22 -0
- package/themes/brand-dark.src.js +2 -2
- package/themes/brand-light.d.ts +22 -0
- package/themes/brand-light.js +2 -2
- package/themes/brand-light.js.map +1 -1
- package/themes/brand-light.src.d.ts +22 -0
- package/themes/brand-light.src.js +2 -2
- package/themes/dark-blue.js +2 -2
- package/themes/dark-blue.js.map +1 -1
- package/themes/dark-blue.src.js +2 -2
- package/themes/dark-green.js +2 -2
- package/themes/dark-green.js.map +1 -1
- package/themes/dark-green.src.js +2 -2
- package/themes/dark-unica.js +2 -2
- package/themes/dark-unica.js.map +1 -1
- package/themes/dark-unica.src.js +2 -2
- package/themes/gray.js +2 -2
- package/themes/gray.js.map +1 -1
- package/themes/gray.src.js +2 -2
- package/themes/grid-light.js +2 -2
- package/themes/grid-light.js.map +1 -1
- package/themes/grid-light.src.js +2 -2
- package/themes/grid.js +2 -2
- package/themes/grid.js.map +1 -1
- package/themes/grid.src.js +2 -2
- package/themes/high-contrast-dark.d.ts +22 -0
- package/themes/high-contrast-dark.js +2 -2
- package/themes/high-contrast-dark.js.map +1 -1
- package/themes/high-contrast-dark.src.d.ts +22 -0
- package/themes/high-contrast-dark.src.js +2 -2
- package/themes/high-contrast-light.d.ts +22 -0
- package/themes/high-contrast-light.js +2 -2
- package/themes/high-contrast-light.js.map +1 -1
- package/themes/high-contrast-light.src.d.ts +22 -0
- package/themes/high-contrast-light.src.js +2 -2
- package/themes/sand-signika.js +2 -2
- package/themes/sand-signika.js.map +1 -1
- package/themes/sand-signika.src.js +2 -2
- package/themes/skies.js +2 -2
- package/themes/skies.js.map +1 -1
- package/themes/skies.src.js +2 -2
- package/themes/sunset.js +2 -2
- package/themes/sunset.js.map +1 -1
- package/themes/sunset.src.js +2 -2
- package/es-modules/Core/Axis/Axis3D.js +0 -612
- package/es-modules/Core/Axis/NavigatorAxis.js +0 -159
- package/es-modules/Core/Axis/Tick3D.js +0 -68
- package/es-modules/Extensions/DataGrouping.js +0 -1177
- package/es-modules/Stock/Indicators/SMA/SMAComposition.js +0 -12
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
'use strict';
|
|
11
11
|
import A from '../Animation/AnimationUtilities.js';
|
|
12
12
|
var animObject = A.animObject, setAnimation = A.setAnimation;
|
|
13
|
-
import
|
|
14
|
-
var defaultOptions =
|
|
13
|
+
import D from '../Defaults.js';
|
|
14
|
+
var defaultOptions = D.defaultOptions;
|
|
15
15
|
import F from '../Foundation.js';
|
|
16
16
|
var registerEventOptions = F.registerEventOptions;
|
|
17
17
|
import H from '../Globals.js';
|
|
@@ -1741,8 +1741,9 @@ var Series = /** @class */ (function () {
|
|
|
1741
1741
|
*
|
|
1742
1742
|
* @function Highcharts.Series#drawPoints
|
|
1743
1743
|
*/
|
|
1744
|
-
Series.prototype.drawPoints = function () {
|
|
1745
|
-
|
|
1744
|
+
Series.prototype.drawPoints = function (points) {
|
|
1745
|
+
if (points === void 0) { points = this.points; }
|
|
1746
|
+
var series = this, chart = series.chart, options = series.options, seriesMarkerOptions = options.marker, markerGroup = (series[series.specialGroup] ||
|
|
1746
1747
|
series.markerGroup), xAxis = series.xAxis, globallyEnabled = pick(seriesMarkerOptions.enabled, !xAxis || xAxis.isRadial ? true : null,
|
|
1747
1748
|
// Use larger or equal as radius is null in bubbles (#6321)
|
|
1748
1749
|
series.closestPointRangePx >= (seriesMarkerOptions.enabledThreshold *
|
|
@@ -2843,7 +2844,8 @@ var Series = /** @class */ (function () {
|
|
|
2843
2844
|
'group',
|
|
2844
2845
|
'markerGroup',
|
|
2845
2846
|
'dataLabelsGroup',
|
|
2846
|
-
'transformGroup'
|
|
2847
|
+
'transformGroup',
|
|
2848
|
+
'shadowGroup'
|
|
2847
2849
|
],
|
|
2848
2850
|
// Animation must be enabled when calling update before the initial
|
|
2849
2851
|
// animation has first run. This happens when calling update
|
|
@@ -2988,7 +2990,8 @@ var Series = /** @class */ (function () {
|
|
|
2988
2990
|
kinds.dataLabel = 1;
|
|
2989
2991
|
}
|
|
2990
2992
|
}
|
|
2991
|
-
this.points.
|
|
2993
|
+
for (var _a = 0, _b = this.points; _a < _b.length; _a++) {
|
|
2994
|
+
var point = _b[_a];
|
|
2992
2995
|
if (point && point.series) {
|
|
2993
2996
|
point.resolveColor();
|
|
2994
2997
|
// Destroy elements in order to recreate based on updated
|
|
@@ -3001,7 +3004,7 @@ var Series = /** @class */ (function () {
|
|
|
3001
3004
|
chart.legend.destroyItem(point);
|
|
3002
3005
|
}
|
|
3003
3006
|
}
|
|
3004
|
-
}
|
|
3007
|
+
}
|
|
3005
3008
|
}
|
|
3006
3009
|
series.initialType = initialType;
|
|
3007
3010
|
chart.linkSeries(); // Links are lost in series.remove (#3028)
|
|
@@ -3219,7 +3222,7 @@ var Series = /** @class */ (function () {
|
|
|
3219
3222
|
* @emits Highcharts.Series#event:show
|
|
3220
3223
|
*/
|
|
3221
3224
|
Series.prototype.setVisible = function (vis, redraw) {
|
|
3222
|
-
var series = this, chart = series.chart,
|
|
3225
|
+
var series = this, chart = series.chart, ignoreHiddenSeries = chart.options.chart.ignoreHiddenSeries, oldVisibility = series.visible;
|
|
3223
3226
|
// if called without an argument, toggle visibility
|
|
3224
3227
|
series.visible =
|
|
3225
3228
|
vis =
|
|
@@ -3244,7 +3247,7 @@ var Series = /** @class */ (function () {
|
|
|
3244
3247
|
(chart.hoverPoint && chart.hoverPoint.series) === series) {
|
|
3245
3248
|
series.onMouseOut();
|
|
3246
3249
|
}
|
|
3247
|
-
if (legendItem) {
|
|
3250
|
+
if (series.legendItem) {
|
|
3248
3251
|
chart.legend.colorizeItem(series, vis);
|
|
3249
3252
|
}
|
|
3250
3253
|
// rescale or adapt to resized chart
|
|
@@ -47,11 +47,16 @@ var seriesDefaults = {
|
|
|
47
47
|
*/
|
|
48
48
|
lineWidth: 2,
|
|
49
49
|
/**
|
|
50
|
-
* For some series, there is a limit that shuts down
|
|
50
|
+
* For some series, there is a limit that shuts down animation
|
|
51
51
|
* by default when the total number of points in the chart is too high.
|
|
52
52
|
* For example, for a column chart and its derivatives, animation does
|
|
53
53
|
* not run if there is more than 250 points totally. To disable this
|
|
54
|
-
* cap, set `animationLimit` to `Infinity`.
|
|
54
|
+
* cap, set `animationLimit` to `Infinity`. This option works if animation
|
|
55
|
+
* is fired on individual points, not on a group of points like e.g. during
|
|
56
|
+
* the initial animation.
|
|
57
|
+
*
|
|
58
|
+
* @sample {highcharts} highcharts/plotoptions/series-animationlimit/
|
|
59
|
+
* Animation limit on updating individual points
|
|
55
60
|
*
|
|
56
61
|
* @type {number}
|
|
57
62
|
* @apioption plotOptions.series.animationLimit
|
|
@@ -128,11 +133,12 @@ var seriesDefaults = {
|
|
|
128
133
|
*
|
|
129
134
|
* - `defer`: The animation delay time in milliseconds.
|
|
130
135
|
*
|
|
131
|
-
* - `duration`: The duration of the animation in milliseconds.
|
|
136
|
+
* - `duration`: The duration of the animation in milliseconds. (Defaults to
|
|
137
|
+
* `1000`)
|
|
132
138
|
*
|
|
133
139
|
* - `easing`: Can be a string reference to an easing function set on
|
|
134
140
|
* the `Math` object or a function. See the _Custom easing function_
|
|
135
|
-
* demo below.
|
|
141
|
+
* demo below. (Defaults to `easeInOutSine`)
|
|
136
142
|
*
|
|
137
143
|
* Due to poor performance, animation is disabled in old IE browsers
|
|
138
144
|
* for several chart types.
|
|
@@ -152,7 +158,7 @@ var seriesDefaults = {
|
|
|
152
158
|
* @sample {highmaps} maps/plotoptions/mapbubble-animation-false/
|
|
153
159
|
* Disabled on mapbubble series
|
|
154
160
|
*
|
|
155
|
-
* @type {boolean|
|
|
161
|
+
* @type {boolean|Highcharts.AnimationOptionsObject}
|
|
156
162
|
* @default {highcharts} true
|
|
157
163
|
* @default {highstock} true
|
|
158
164
|
* @default {highmaps} false
|
|
@@ -160,15 +166,9 @@ var seriesDefaults = {
|
|
|
160
166
|
* @private
|
|
161
167
|
*/
|
|
162
168
|
animation: {
|
|
163
|
-
/** @
|
|
169
|
+
/** @ignore-option */
|
|
164
170
|
duration: 1000
|
|
165
171
|
},
|
|
166
|
-
/**
|
|
167
|
-
* @default 0
|
|
168
|
-
* @type {number}
|
|
169
|
-
* @since 8.2.0
|
|
170
|
-
* @apioption plotOptions.series.animation.defer
|
|
171
|
-
*/
|
|
172
172
|
/**
|
|
173
173
|
* An additional class name to apply to the series' graphical elements.
|
|
174
174
|
* This option does not replace default class names of the graphical
|
|
@@ -227,9 +227,11 @@ var seriesDefaults = {
|
|
|
227
227
|
* @apioption plotOptions.series.color
|
|
228
228
|
*/
|
|
229
229
|
/**
|
|
230
|
-
* Styled mode only. A specific color index to use for the series, so
|
|
231
|
-
*
|
|
232
|
-
*
|
|
230
|
+
* Styled mode only. A specific color index to use for the series, so its
|
|
231
|
+
* graphic representations are given the class name `highcharts-color-{n}`.
|
|
232
|
+
*
|
|
233
|
+
* @sample {highcharts} highcharts/css/colorindex/
|
|
234
|
+
* Series and point color index
|
|
233
235
|
*
|
|
234
236
|
* @type {number}
|
|
235
237
|
* @since 5.0.0
|
|
@@ -1473,6 +1475,9 @@ var seriesDefaults = {
|
|
|
1473
1475
|
* @apioption plotOptions.series.dataLabels.className
|
|
1474
1476
|
*/
|
|
1475
1477
|
/**
|
|
1478
|
+
* This options is deprecated.
|
|
1479
|
+
* Use [style.color](#plotOptions.series.dataLabels.style) instead.
|
|
1480
|
+
*
|
|
1476
1481
|
* The text color for the data labels. Defaults to `undefined`. For
|
|
1477
1482
|
* certain series types, like column or map, the data labels can be
|
|
1478
1483
|
* drawn inside the points. In this case the data label will be
|
|
@@ -1486,8 +1491,11 @@ var seriesDefaults = {
|
|
|
1486
1491
|
* @sample {highmaps} maps/demo/color-axis/
|
|
1487
1492
|
* White data labels
|
|
1488
1493
|
*
|
|
1489
|
-
* @
|
|
1490
|
-
*
|
|
1494
|
+
* @see [style.color](#plotOptions.series.dataLabels.style)
|
|
1495
|
+
*
|
|
1496
|
+
* @type {Highcharts.ColorType}
|
|
1497
|
+
* @deprecated 10.3
|
|
1498
|
+
* @apioption plotOptions.series.dataLabels.color
|
|
1491
1499
|
*/
|
|
1492
1500
|
/**
|
|
1493
1501
|
* Whether to hide data labels that are outside the plot area. By
|
|
@@ -1618,10 +1626,12 @@ var seriesDefaults = {
|
|
|
1618
1626
|
/**
|
|
1619
1627
|
* Format for points with the value of null. Works analogously to
|
|
1620
1628
|
* [format](#plotOptions.series.dataLabels.format). `nullFormat` can
|
|
1621
|
-
* be applied only to series which support displaying null points
|
|
1629
|
+
* be applied only to series which support displaying null points
|
|
1630
|
+
* i.e `heatmap` or `tilemap`. Does not work with series that don't
|
|
1631
|
+
* display null points, like `line`, `column`, `bar` or `pie`.
|
|
1622
1632
|
*
|
|
1623
|
-
* @sample {highcharts} highcharts/plotoptions/series-datalabels-
|
|
1624
|
-
* Format data label
|
|
1633
|
+
* @sample {highcharts} highcharts/plotoptions/series-datalabels-nullformat/
|
|
1634
|
+
* Format data label for null points in heat map
|
|
1625
1635
|
*
|
|
1626
1636
|
* @type {boolean|string}
|
|
1627
1637
|
* @since 7.1.0
|
|
@@ -1631,11 +1641,13 @@ var seriesDefaults = {
|
|
|
1631
1641
|
* Callback JavaScript function that defines formatting for points
|
|
1632
1642
|
* with the value of null. Works analogously to
|
|
1633
1643
|
* [formatter](#plotOptions.series.dataLabels.formatter).
|
|
1634
|
-
* `
|
|
1635
|
-
* displaying null points.
|
|
1644
|
+
* `nullFormatter` can be applied only to series which support
|
|
1645
|
+
* displaying null points i.e `heatmap` or `tilemap`. Does not work
|
|
1646
|
+
* with series that don't display null points, like `line`, `column`,
|
|
1647
|
+
* `bar` or `pie`.
|
|
1636
1648
|
*
|
|
1637
|
-
* @sample {highcharts} highcharts/plotoptions/series-datalabels-
|
|
1638
|
-
* Format data label
|
|
1649
|
+
* @sample {highcharts} highcharts/plotoptions/series-datalabels-nullformat/
|
|
1650
|
+
* Format data label for null points in heat map
|
|
1639
1651
|
*
|
|
1640
1652
|
* @type {Highcharts.DataLabelsFormatterCallbackFunction}
|
|
1641
1653
|
* @since 7.1.0
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
* */
|
|
10
10
|
'use strict';
|
|
11
11
|
import H from '../Globals.js';
|
|
12
|
-
import D from '../
|
|
12
|
+
import D from '../Defaults.js';
|
|
13
13
|
var defaultOptions = D.defaultOptions;
|
|
14
14
|
import Point from './Point.js';
|
|
15
15
|
import U from '../Utilities.js';
|
|
16
|
-
var
|
|
16
|
+
var extendClass = U.extendClass, merge = U.merge;
|
|
17
17
|
/* *
|
|
18
18
|
*
|
|
19
19
|
* Namespace
|
package/es-modules/Core/Time.js
CHANGED
|
@@ -68,7 +68,7 @@ var hasOldSafariBug = H.isSafari &&
|
|
|
68
68
|
* @class
|
|
69
69
|
* @name Highcharts.Time
|
|
70
70
|
*
|
|
71
|
-
* @param {Highcharts.TimeOptions} options
|
|
71
|
+
* @param {Highcharts.TimeOptions} [options]
|
|
72
72
|
* Time options as defined in [chart.options.time](/highcharts/time).
|
|
73
73
|
*/
|
|
74
74
|
var Time = /** @class */ (function () {
|
|
@@ -199,12 +199,13 @@ var Time = /** @class */ (function () {
|
|
|
199
199
|
* @private
|
|
200
200
|
* @function Highcharts.Time#update
|
|
201
201
|
*
|
|
202
|
-
* @param {Highcharts.TimeOptions} options
|
|
202
|
+
* @param {Highcharts.TimeOptions} [options]
|
|
203
203
|
*
|
|
204
204
|
*/
|
|
205
205
|
Time.prototype.update = function (options) {
|
|
206
|
-
|
|
207
|
-
|
|
206
|
+
if (options === void 0) { options = {}; }
|
|
207
|
+
var useUTC = pick(options.useUTC, true);
|
|
208
|
+
this.options = options = merge(true, this.options, options);
|
|
208
209
|
// Allow using a different Date class
|
|
209
210
|
this.Date = options.Date || win.Date || Date;
|
|
210
211
|
this.useUTC = useUTC;
|
|
@@ -685,7 +686,7 @@ export default Time;
|
|
|
685
686
|
* The count.
|
|
686
687
|
*
|
|
687
688
|
* @name Highcharts.TimeNormalizedObject#count
|
|
688
|
-
* @type {number}
|
|
689
|
+
* @type {number|undefined}
|
|
689
690
|
*/ /**
|
|
690
691
|
* The interval in axis values (ms).
|
|
691
692
|
*
|
|
@@ -275,20 +275,7 @@ var Tooltip = /** @class */ (function () {
|
|
|
275
275
|
var tooltip = this, styledMode = this.chart.styledMode, options = this.options, doSplit = this.split && this.allowShared, className = ('tooltip' + (defined(options.className) ?
|
|
276
276
|
' ' + options.className :
|
|
277
277
|
'')), pointerEvents = (options.style.pointerEvents ||
|
|
278
|
-
(
|
|
279
|
-
options.stickOnContact ? 'auto' : 'none')), onMouseEnter = function () {
|
|
280
|
-
tooltip.inContact = true;
|
|
281
|
-
}, onMouseLeave = function (e) {
|
|
282
|
-
var series = tooltip.chart.hoverSeries;
|
|
283
|
-
// #14143, #13310: tooltip.options.useHTML
|
|
284
|
-
tooltip.inContact = tooltip.shouldStickOnContact() &&
|
|
285
|
-
tooltip.chart.pointer.inClass(e.relatedTarget, 'highcharts-tooltip');
|
|
286
|
-
if (!tooltip.inContact &&
|
|
287
|
-
series &&
|
|
288
|
-
series.onMouseOut) {
|
|
289
|
-
series.onMouseOut();
|
|
290
|
-
}
|
|
291
|
-
};
|
|
278
|
+
(this.shouldStickOnContact() ? 'auto' : 'none'));
|
|
292
279
|
var container, renderer = this.chart.renderer;
|
|
293
280
|
// If changing from a split tooltip to a non-split tooltip, we must
|
|
294
281
|
// destroy it in order to get the SVG right. #13868.
|
|
@@ -317,8 +304,6 @@ var Tooltip = /** @class */ (function () {
|
|
|
317
304
|
pointerEvents: pointerEvents,
|
|
318
305
|
zIndex: Math.max(this.options.style.zIndex || 0, (chartStyle && chartStyle.zIndex || 0) + 3)
|
|
319
306
|
});
|
|
320
|
-
addEvent(container, 'mouseenter', onMouseEnter);
|
|
321
|
-
addEvent(container, 'mouseleave', onMouseLeave);
|
|
322
307
|
H.doc.body.appendChild(container);
|
|
323
308
|
/**
|
|
324
309
|
* Reference to the tooltip's renderer, when
|
|
@@ -375,8 +360,6 @@ var Tooltip = /** @class */ (function () {
|
|
|
375
360
|
};
|
|
376
361
|
}
|
|
377
362
|
this.label
|
|
378
|
-
.on('mouseenter', onMouseEnter)
|
|
379
|
-
.on('mouseleave', onMouseLeave)
|
|
380
363
|
.attr({ zIndex: 8 })
|
|
381
364
|
.add();
|
|
382
365
|
}
|
|
@@ -655,14 +638,10 @@ var Tooltip = /** @class */ (function () {
|
|
|
655
638
|
*/
|
|
656
639
|
this.outside = pick(options.outside, Boolean(chart.scrollablePixelsX || chart.scrollablePixelsY));
|
|
657
640
|
};
|
|
658
|
-
Tooltip.prototype.shouldStickOnContact = function () {
|
|
659
|
-
return !!(!this.followPointer &&
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
* Returns true, if the pointer is in contact with the tooltip tracker.
|
|
663
|
-
*/
|
|
664
|
-
Tooltip.prototype.isStickyOnContact = function () {
|
|
665
|
-
return !!(this.shouldStickOnContact() && this.inContact);
|
|
641
|
+
Tooltip.prototype.shouldStickOnContact = function (pointerEvent) {
|
|
642
|
+
return !!(!this.followPointer &&
|
|
643
|
+
this.options.stickOnContact &&
|
|
644
|
+
(!pointerEvent || this.chart.pointer.inClass(pointerEvent.target, 'highcharts-tooltip')));
|
|
666
645
|
};
|
|
667
646
|
/**
|
|
668
647
|
* Moves the tooltip with a soft animation to a new position.
|
|
@@ -1141,8 +1120,7 @@ var Tooltip = /** @class */ (function () {
|
|
|
1141
1120
|
*/
|
|
1142
1121
|
Tooltip.prototype.drawTracker = function () {
|
|
1143
1122
|
var tooltip = this;
|
|
1144
|
-
if (
|
|
1145
|
-
!tooltip.options.stickOnContact) {
|
|
1123
|
+
if (!this.shouldStickOnContact()) {
|
|
1146
1124
|
if (tooltip.tracker) {
|
|
1147
1125
|
tooltip.tracker.destroy();
|
|
1148
1126
|
}
|
|
@@ -659,14 +659,12 @@ function relativeLength(value, base, offset) {
|
|
|
659
659
|
function wrap(obj, method, func) {
|
|
660
660
|
var proceed = obj[method];
|
|
661
661
|
obj[method] = function () {
|
|
662
|
-
var
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
ctx.proceed = null;
|
|
669
|
-
return ret;
|
|
662
|
+
var outerArgs = arguments, scope = this;
|
|
663
|
+
return func.apply(this, [
|
|
664
|
+
function () {
|
|
665
|
+
return proceed.apply(scope, arguments.length ? arguments : outerArgs);
|
|
666
|
+
}
|
|
667
|
+
].concat([].slice.call(arguments)));
|
|
670
668
|
};
|
|
671
669
|
}
|
|
672
670
|
/**
|
|
@@ -7,7 +7,7 @@ import U from '../../Core/Utilities.js';
|
|
|
7
7
|
var defined = U.defined;
|
|
8
8
|
/* *
|
|
9
9
|
*
|
|
10
|
-
*
|
|
10
|
+
* API Options
|
|
11
11
|
*
|
|
12
12
|
* */
|
|
13
13
|
/**
|
|
@@ -555,26 +555,31 @@ var AnnotationDefaults = {
|
|
|
555
555
|
* Options from the controlPointOptions can be overwritten
|
|
556
556
|
* by options in a specific control point.
|
|
557
557
|
*
|
|
558
|
-
* @declare
|
|
559
|
-
* @requires
|
|
560
|
-
* @apioption annotations.controlPointOptions
|
|
558
|
+
* @declare Highcharts.AnnotationControlPointOptionsObject
|
|
559
|
+
* @requires modules/annotations
|
|
561
560
|
*/
|
|
562
561
|
controlPointOptions: {
|
|
563
562
|
/**
|
|
564
563
|
* @type {Highcharts.AnnotationControlPointPositionerFunction}
|
|
565
564
|
* @apioption annotations.controlPointOptions.positioner
|
|
566
565
|
*/
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
566
|
+
/**
|
|
567
|
+
* @type {Highcharts.Dictionary<Function>}
|
|
568
|
+
*/
|
|
569
|
+
events: {},
|
|
570
|
+
/**
|
|
571
|
+
* @type {Highcharts.SVGAttributes}
|
|
572
|
+
*/
|
|
570
573
|
style: {
|
|
571
574
|
cursor: 'pointer',
|
|
572
575
|
fill: "#ffffff" /* Palette.backgroundColor */,
|
|
573
576
|
stroke: "#000000" /* Palette.neutralColor100 */,
|
|
574
577
|
'stroke-width': 2
|
|
575
578
|
},
|
|
579
|
+
height: 10,
|
|
580
|
+
symbol: 'circle',
|
|
576
581
|
visible: false,
|
|
577
|
-
|
|
582
|
+
width: 10
|
|
578
583
|
},
|
|
579
584
|
/**
|
|
580
585
|
* Event callback when annotation is added to the chart.
|
|
@@ -247,7 +247,8 @@ var MockPoint = /** @class */ (function () {
|
|
|
247
247
|
var plotX = this.plotX, plotY = this.plotY, xAxis = this.series.xAxis, yAxis = this.series.yAxis, e = {
|
|
248
248
|
x: plotX,
|
|
249
249
|
y: plotY,
|
|
250
|
-
isInsidePlot: true
|
|
250
|
+
isInsidePlot: true,
|
|
251
|
+
options: {}
|
|
251
252
|
};
|
|
252
253
|
if (xAxis) {
|
|
253
254
|
e.isInsidePlot = defined(plotX) && plotX >= 0 && plotX <= xAxis.len;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* */
|
|
10
10
|
'use strict';
|
|
11
11
|
import ChartNavigationComposition from '../../Core/Chart/ChartNavigationComposition.js';
|
|
12
|
-
import D from '../../Core/
|
|
12
|
+
import D from '../../Core/Defaults.js';
|
|
13
13
|
var setOptions = D.setOptions;
|
|
14
14
|
import F from '../../Core/FormatUtilities.js';
|
|
15
15
|
var format = F.format;
|
|
@@ -220,11 +220,10 @@ var NavigationBindings = /** @class */ (function () {
|
|
|
220
220
|
this.chart = chart;
|
|
221
221
|
this.options = options;
|
|
222
222
|
this.eventsToUnbind = [];
|
|
223
|
-
this.container =
|
|
224
|
-
.
|
|
223
|
+
this.container =
|
|
224
|
+
this.chart.container.getElementsByClassName(this.options.bindingsClassName || '');
|
|
225
225
|
if (!this.container.length) {
|
|
226
|
-
this.container = doc
|
|
227
|
-
.querySelectorAll('.' + this.options.bindingsClassName);
|
|
226
|
+
this.container = doc.getElementsByClassName(this.options.bindingsClassName || '');
|
|
228
227
|
}
|
|
229
228
|
}
|
|
230
229
|
/* *
|
|
@@ -319,7 +319,7 @@ var navigation = {
|
|
|
319
319
|
* from a different server.
|
|
320
320
|
*
|
|
321
321
|
* @type {string}
|
|
322
|
-
* @default https://code.highcharts.com/10.
|
|
322
|
+
* @default https://code.highcharts.com/10.3.1/gfx/stock-icons/
|
|
323
323
|
* @since 7.1.3
|
|
324
324
|
* @apioption navigation.iconsURL
|
|
325
325
|
*/
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
* */
|
|
12
12
|
'use strict';
|
|
13
13
|
import AST from '../../../Core/Renderer/HTML/AST.js';
|
|
14
|
+
import D from '../../../Core/Defaults.js';
|
|
15
|
+
var getOptions = D.getOptions;
|
|
14
16
|
import H from '../../../Core/Globals.js';
|
|
15
17
|
var doc = H.doc;
|
|
16
|
-
import D from '../../../Core/DefaultOptions.js';
|
|
17
|
-
var getOptions = D.getOptions;
|
|
18
18
|
import PopupAnnotations from './PopupAnnotations.js';
|
|
19
19
|
import PopupIndicators from './PopupIndicators.js';
|
|
20
20
|
import PopupTabs from './PopupTabs.js';
|
|
@@ -51,8 +51,8 @@ function addForm(chart, options, callback, isInit) {
|
|
|
51
51
|
}, void 0, popupDiv);
|
|
52
52
|
addFormFields.call(this, lhsCol, chart, '', options, [], true);
|
|
53
53
|
this.addButton(bottomRow, isInit ?
|
|
54
|
-
(lang.addButton || '
|
|
55
|
-
(lang.saveButton || '
|
|
54
|
+
(lang.addButton || 'Add') :
|
|
55
|
+
(lang.saveButton || 'Save'), isInit ? 'add' : 'save', popupDiv, callback);
|
|
56
56
|
}
|
|
57
57
|
/**
|
|
58
58
|
* Create annotation simple form. It contains two buttons
|
|
@@ -80,11 +80,11 @@ function addToolbar(chart, options, callback) {
|
|
|
80
80
|
// Basic shapes:
|
|
81
81
|
options.shapes && options.shapes[0].type, '')));
|
|
82
82
|
// add buttons
|
|
83
|
-
var button = this.addButton(popupDiv, lang.removeButton || '
|
|
83
|
+
var button = this.addButton(popupDiv, lang.removeButton || 'Remove', 'remove', popupDiv, callback);
|
|
84
84
|
button.className += ' highcharts-annotation-remove-button';
|
|
85
85
|
button.style['background-image'] = 'url(' +
|
|
86
86
|
this.iconsURL + 'destroy.svg)';
|
|
87
|
-
button = this.addButton(popupDiv, lang.editButton || '
|
|
87
|
+
button = this.addButton(popupDiv, lang.editButton || 'Edit', 'edit', popupDiv, function () {
|
|
88
88
|
showForm.call(_this, 'annotation-edit', chart, options, callback);
|
|
89
89
|
});
|
|
90
90
|
button.className += ' highcharts-annotation-edit-button';
|
|
@@ -55,7 +55,7 @@ function onNavigationBindingsShowPopup(config) {
|
|
|
55
55
|
this.popup = new Popup(this.chart.container, (this.chart.options.navigation.iconsURL ||
|
|
56
56
|
(this.chart.options.stockTools &&
|
|
57
57
|
this.chart.options.stockTools.gui.iconsURL) ||
|
|
58
|
-
'https://code.highcharts.com/10.
|
|
58
|
+
'https://code.highcharts.com/10.3.1/gfx/stock-icons/'), this.chart);
|
|
59
59
|
}
|
|
60
60
|
this.popup.showForm(config.formType, this.chart, config.options, config.onSubmit);
|
|
61
61
|
}
|
|
@@ -14,8 +14,8 @@ import BoostableMap from './BoostableMap.js';
|
|
|
14
14
|
import Boostables from './Boostables.js';
|
|
15
15
|
import BoostChart from './BoostChart.js';
|
|
16
16
|
var getBoostClipRect = BoostChart.getBoostClipRect, isChartSeriesBoosting = BoostChart.isChartSeriesBoosting;
|
|
17
|
-
import
|
|
18
|
-
var getOptions =
|
|
17
|
+
import D from '../../Core/Defaults.js';
|
|
18
|
+
var getOptions = D.getOptions;
|
|
19
19
|
import H from '../../Core/Globals.js';
|
|
20
20
|
var doc = H.doc, noop = H.noop, win = H.win;
|
|
21
21
|
import U from '../../Core/Utilities.js';
|
|
@@ -539,6 +539,7 @@ function getPoint(series, boostPoint) {
|
|
|
539
539
|
point.plotX = boostPoint.plotX;
|
|
540
540
|
point.plotY = boostPoint.plotY;
|
|
541
541
|
point.index = boostPoint.i;
|
|
542
|
+
point.percentage = boostPoint.percentage;
|
|
542
543
|
point.isInside = series.isPointInside(point);
|
|
543
544
|
return point;
|
|
544
545
|
}
|
|
@@ -590,7 +591,7 @@ function seriesRenderCanvas() {
|
|
|
590
591
|
this.renderTarget = this.boost.target = this.boost.target.destroy();
|
|
591
592
|
}
|
|
592
593
|
}
|
|
593
|
-
var points = this.points = [], addKDPoint = function (clientX, plotY, i) {
|
|
594
|
+
var points = this.points = [], addKDPoint = function (clientX, plotY, i, percentage) {
|
|
594
595
|
// We need to do ceil on the clientX to make things
|
|
595
596
|
// snap to pixel values. The renderer will frequently
|
|
596
597
|
// draw stuff on "sub-pixels".
|
|
@@ -611,7 +612,8 @@ function seriesRenderCanvas() {
|
|
|
611
612
|
clientX: clientX,
|
|
612
613
|
plotX: clientX,
|
|
613
614
|
plotY: plotY,
|
|
614
|
-
i: cropStart + i
|
|
615
|
+
i: cropStart + i,
|
|
616
|
+
percentage: percentage
|
|
615
617
|
});
|
|
616
618
|
}
|
|
617
619
|
};
|
|
@@ -629,7 +631,7 @@ function seriesRenderCanvas() {
|
|
|
629
631
|
*/
|
|
630
632
|
function processPoint(d, i) {
|
|
631
633
|
var chartDestroyed = typeof chart.index === 'undefined';
|
|
632
|
-
var x, y, clientX, plotY, low = false, isYInside = true;
|
|
634
|
+
var x, y, clientX, plotY, percentage, low = false, isYInside = true;
|
|
633
635
|
if (typeof d === 'undefined') {
|
|
634
636
|
return true;
|
|
635
637
|
}
|
|
@@ -654,6 +656,7 @@ function seriesRenderCanvas() {
|
|
|
654
656
|
x = d.x;
|
|
655
657
|
y = d.stackY;
|
|
656
658
|
low = y - d.y;
|
|
659
|
+
percentage = d.percentage;
|
|
657
660
|
}
|
|
658
661
|
// Optimize for scatter zooming
|
|
659
662
|
if (!requireSorting) {
|
|
@@ -686,9 +689,9 @@ function seriesRenderCanvas() {
|
|
|
686
689
|
yAxis.toPixels(maxVal, true);
|
|
687
690
|
yBottom =
|
|
688
691
|
yAxis.toPixels(minVal, true);
|
|
689
|
-
addKDPoint(clientX, plotY, maxI);
|
|
692
|
+
addKDPoint(clientX, plotY, maxI, percentage);
|
|
690
693
|
if (yBottom !== plotY) {
|
|
691
|
-
addKDPoint(clientX, yBottom, minI);
|
|
694
|
+
addKDPoint(clientX, yBottom, minI, percentage);
|
|
692
695
|
}
|
|
693
696
|
}
|
|
694
697
|
minI = maxI = void 0;
|
|
@@ -697,7 +700,7 @@ function seriesRenderCanvas() {
|
|
|
697
700
|
}
|
|
698
701
|
else {
|
|
699
702
|
plotY = Math.ceil(yAxis.toPixels(y, true));
|
|
700
|
-
addKDPoint(clientX, plotY, i);
|
|
703
|
+
addKDPoint(clientX, plotY, i, percentage);
|
|
701
704
|
}
|
|
702
705
|
}
|
|
703
706
|
}
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
* */
|
|
12
12
|
'use strict';
|
|
13
13
|
import Chart from '../Core/Chart/Chart.js';
|
|
14
|
-
import
|
|
15
|
-
import D from '../Core/DefaultOptions.js';
|
|
14
|
+
import D from '../Core/Defaults.js';
|
|
16
15
|
var defaultOptions = D.defaultOptions;
|
|
16
|
+
import H from '../Core/Globals.js';
|
|
17
17
|
import U from '../Core/Utilities.js';
|
|
18
18
|
import F from '../Core/FormatUtilities.js';
|
|
19
19
|
var format = F.format;
|
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
* */
|
|
12
12
|
'use strict';
|
|
13
13
|
import Chart from '../Core/Chart/Chart.js';
|
|
14
|
+
import D from '../Core/Defaults.js';
|
|
15
|
+
var getOptions = D.getOptions;
|
|
14
16
|
import G from '../Core/Globals.js';
|
|
15
17
|
var doc = G.doc;
|
|
16
18
|
import HU from '../Core/HttpUtilities.js';
|
|
@@ -19,8 +21,6 @@ import Point from '../Core/Series/Point.js';
|
|
|
19
21
|
import SeriesRegistry from '../Core/Series/SeriesRegistry.js';
|
|
20
22
|
var seriesTypes = SeriesRegistry.seriesTypes;
|
|
21
23
|
import U from '../Core/Utilities.js';
|
|
22
|
-
import D from '../Core/DefaultOptions.js';
|
|
23
|
-
var getOptions = D.getOptions;
|
|
24
24
|
var addEvent = U.addEvent, defined = U.defined, extend = U.extend, fireEvent = U.fireEvent, isNumber = U.isNumber, merge = U.merge, objectEach = U.objectEach, pick = U.pick, splat = U.splat;
|
|
25
25
|
/* *
|
|
26
26
|
*
|