highcharts 8.2.0 → 8.2.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 +1 -1
- package/es-modules/Accessibility/Accessibility.js +3 -2
- package/es-modules/Accessibility/AccessibilityComponent.js +7 -8
- package/es-modules/Accessibility/Components/ContainerComponent.js +6 -7
- package/es-modules/Accessibility/Components/InfoRegionsComponent.js +0 -1
- package/es-modules/Accessibility/Components/RangeSelectorComponent.js +4 -4
- package/es-modules/Accessibility/Components/SeriesComponent/ForcedMarkers.js +4 -4
- package/es-modules/Accessibility/Components/SeriesComponent/NewDataAnnouncer.js +3 -2
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +4 -4
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js +8 -6
- package/es-modules/Accessibility/Components/ZoomComponent.js +7 -6
- package/es-modules/Accessibility/KeyboardNavigation.js +7 -3
- package/es-modules/Accessibility/Options/Options.js +1 -2
- package/es-modules/Accessibility/Utils/ChartUtilities.js +4 -4
- package/es-modules/Accessibility/Utils/DOMElementProvider.js +3 -3
- package/es-modules/Accessibility/Utils/HTMLUtilities.js +2 -3
- package/es-modules/Core/Animation/AnimationUtilities.js +193 -0
- package/es-modules/Core/Animation/Fx.js +378 -0
- package/es-modules/Core/Axis/Axis.js +12 -6
- package/es-modules/Core/Axis/BrokenAxis.js +4 -6
- package/es-modules/Core/Axis/ColorAxis.js +11 -10
- package/es-modules/Core/Axis/GridAxis.js +113 -57
- package/es-modules/Core/Axis/OrdinalAxis.js +4 -5
- package/es-modules/Core/Axis/PlotLineOrBand.js +11 -4
- package/es-modules/Core/Axis/StackingAxis.js +3 -1
- package/es-modules/Core/Axis/TreeGridAxis.js +52 -7
- package/es-modules/Core/Chart/Chart.js +13 -8
- package/es-modules/Core/Chart/Chart3D.js +2 -1
- package/es-modules/Core/Chart/GanttChart.js +5 -9
- package/es-modules/Core/Chart/StockChart.js +6 -7
- package/es-modules/Core/Color/Color.js +419 -0
- package/es-modules/Core/Color/ColorType.js +9 -0
- package/es-modules/Core/Dynamics.js +54 -23
- package/es-modules/Core/Globals.js +1 -1
- package/es-modules/Core/Interaction.js +9 -6
- package/es-modules/Core/Legend.js +3 -1
- package/es-modules/Core/Navigator.js +8 -4
- package/es-modules/Core/Options.js +13 -11
- package/es-modules/Core/Pointer.js +2 -2
- package/es-modules/Core/Renderer/DOMElementType.js +9 -0
- package/es-modules/Core/Renderer/HTML/HTMLElement.js +220 -0
- package/es-modules/Core/Renderer/HTML/{HTML.js → HTMLRenderer.js} +8 -202
- package/es-modules/Core/Renderer/SVG/SVGElement.js +14 -8
- package/es-modules/Core/Renderer/SVG/SVGLabel.js +0 -1
- package/es-modules/Core/Renderer/SVG/SVGRenderer.js +2 -3
- package/es-modules/Core/Renderer/SVG/SVGRenderer3D.js +5 -3
- package/es-modules/Core/Series/BaseSeries.js +157 -0
- package/es-modules/Core/Series/CartesianSeries.js +5553 -0
- package/es-modules/Core/Series/DataLabels.js +11 -9
- package/es-modules/Core/Series/Point.js +5 -3
- package/es-modules/Core/Series/Series.js +138 -5528
- package/es-modules/Core/Series/Series3D.js +1 -1
- package/es-modules/Core/Tooltip.js +2 -1
- package/es-modules/Core/Utilities.js +0 -582
- package/es-modules/Extensions/Annotations/Annotations.js +4 -2
- package/es-modules/Extensions/Annotations/Mixins/ControllableMixin.js +3 -3
- package/es-modules/Extensions/Annotations/MockPoint.js +3 -3
- package/es-modules/Extensions/Annotations/NavigationBindings.js +5 -4
- package/es-modules/Extensions/Annotations/Popup.js +1 -2
- package/es-modules/Extensions/Annotations/Types/Measure.js +0 -1
- package/es-modules/Extensions/Boost/Boost.js +3 -3
- package/es-modules/Extensions/Boost/BoostAttach.js +5 -4
- package/es-modules/Extensions/Boost/BoostInit.js +1 -1
- package/es-modules/Extensions/Boost/BoostOverrides.js +1 -1
- package/es-modules/Extensions/Boost/BoostUtils.js +1 -1
- package/es-modules/Extensions/Boost/NamedColors.js +1 -1
- package/es-modules/Extensions/Boost/WGLRenderer.js +4 -4
- package/es-modules/Extensions/Boost/WGLShader.js +1 -2
- package/es-modules/Extensions/BoostCanvas.js +9 -6
- package/es-modules/Extensions/CurrentDateIndication.js +3 -7
- package/es-modules/Extensions/Data.js +7 -9
- package/es-modules/Extensions/DataGrouping.js +3 -2
- package/es-modules/Extensions/Debugger.js +3 -2
- package/es-modules/Extensions/DownloadURL.js +5 -3
- package/es-modules/Extensions/DragPanes.js +1 -1
- package/es-modules/Extensions/DraggablePoints.js +6 -5
- package/es-modules/Extensions/Drilldown.js +24 -10
- package/es-modules/Extensions/ExportData.js +1 -2
- package/es-modules/Extensions/Exporting.js +9 -2
- package/es-modules/Extensions/MarkerClusters.js +8 -5
- package/es-modules/Extensions/NoDataToDisplay.js +13 -13
- package/es-modules/Extensions/OfflineExporting.js +14 -14
- package/es-modules/Extensions/{Oldie.js → Oldie/Oldie.js} +15 -12
- package/es-modules/{Core/Axis → Extensions/Oldie}/VMLAxis3D.js +1 -1
- package/es-modules/Extensions/Oldie/VMLRenderer3D.js +46 -0
- package/es-modules/Extensions/OverlappingDataLabels.js +4 -0
- package/es-modules/Extensions/Pane.js +1 -1
- package/es-modules/Extensions/ParallelCoordinates.js +1 -1
- package/es-modules/Extensions/PatternFill.js +10 -7
- package/es-modules/Extensions/Polar.js +4 -2
- package/es-modules/Extensions/ScrollablePlotArea.js +3 -1
- package/es-modules/Extensions/SeriesLabel.js +4 -3
- package/es-modules/{modules/sonification/chartSonify.js → Extensions/Sonification/ChartSonify.js} +1 -1
- package/es-modules/{modules/sonification → Extensions/Sonification}/Earcon.js +0 -0
- package/es-modules/{modules/sonification → Extensions/Sonification}/Instrument.js +7 -2
- package/es-modules/{modules/sonification/instrumentDefinitions.js → Extensions/Sonification/InstrumentDefinitions.js} +1 -1
- package/es-modules/{modules/sonification/musicalFrequencies.js → Extensions/Sonification/MusicalFrequencies.js} +0 -0
- package/es-modules/{modules/sonification/options.js → Extensions/Sonification/Options.js} +0 -0
- package/es-modules/{modules/sonification/pointSonify.js → Extensions/Sonification/PointSonify.js} +1 -1
- package/es-modules/{modules/sonification/sonification.js → Extensions/Sonification/Sonification.js} +10 -9
- package/es-modules/{modules/sonification → Extensions/Sonification}/Timeline.js +1 -1
- package/es-modules/{modules/sonification/utilities.js → Extensions/Sonification/Utilities.js} +1 -1
- package/es-modules/Extensions/Stacking.js +1 -1
- package/es-modules/Extensions/StaticScale.js +3 -3
- package/es-modules/Extensions/Themes/Avocado.js +3 -4
- package/es-modules/Extensions/Themes/DarkUnica.js +5 -7
- package/es-modules/Extensions/Themes/Gray.js +3 -4
- package/es-modules/Extensions/Themes/HighContrastDark.js +3 -4
- package/es-modules/Extensions/Themes/Sunset.js +3 -4
- package/es-modules/Gantt/Pathfinder.js +6 -0
- package/es-modules/Maps/Map.js +9 -5
- package/es-modules/Maps/MapNavigation.js +0 -1
- package/es-modules/{mixins → Mixins}/CenteredSeries.js +0 -0
- package/es-modules/{mixins → Mixins}/ColorMapSeries.js +7 -3
- package/es-modules/{mixins → Mixins}/ColorSeries.js +7 -3
- package/es-modules/{mixins → Mixins}/DerivedSeries.js +1 -1
- package/es-modules/{mixins → Mixins}/DrawPoint.js +0 -0
- package/es-modules/{mixins → Mixins}/Geometry.js +0 -0
- package/es-modules/{mixins → Mixins}/GeometryCircles.js +0 -0
- package/es-modules/{mixins → Mixins}/IndicatorRequired.js +0 -0
- package/es-modules/{mixins → Mixins}/LegendSymbol.js +0 -0
- package/es-modules/{mixins → Mixins}/MultipleLines.js +0 -0
- package/es-modules/{mixins → Mixins}/Navigation.js +0 -0
- package/es-modules/{mixins → Mixins}/NelderMead.js +0 -0
- package/es-modules/{mixins → Mixins}/Nodes.js +1 -1
- package/es-modules/{mixins → Mixins}/OnSeries.js +1 -1
- package/es-modules/{mixins → Mixins}/Polygon.js +0 -0
- package/es-modules/{mixins → Mixins}/ReduceArray.js +0 -0
- package/es-modules/{mixins → Mixins}/TreeSeries.js +1 -1
- package/es-modules/Series/AreaRangeSeries.js +57 -21
- package/es-modules/Series/AreaSeries.js +38 -6
- package/es-modules/Series/AreaSplineRangeSeries.js +44 -7
- package/es-modules/Series/AreaSplineSeries.js +43 -6
- package/es-modules/Series/BarSeries.js +2 -5
- package/es-modules/Series/BellcurveSeries.js +45 -5
- package/es-modules/Series/BoxPlotSeries.js +7 -6
- package/es-modules/Series/Bubble/BubbleLegend.js +3 -3
- package/es-modules/Series/Bubble/BubbleSeries.js +13 -11
- package/es-modules/Series/BulletSeries.js +5 -5
- package/es-modules/Series/CandlestickSeries.js +7 -6
- package/es-modules/Series/Column3DSeries.js +77 -23
- package/es-modules/Series/ColumnPyramidSeries.js +5 -6
- package/es-modules/Series/ColumnRangeSeries.js +17 -16
- package/es-modules/Series/ColumnSeries.js +18 -14
- package/es-modules/Series/CylinderSeries.js +8 -11
- package/es-modules/Series/DependencyWheelSeries.js +11 -9
- package/es-modules/Series/DotplotSeries.js +3 -11
- package/es-modules/Series/DumbbellSeries.js +11 -7
- package/es-modules/Series/ErrorBarSeries.js +3 -5
- package/es-modules/Series/FlagsSeries.js +13 -9
- package/es-modules/Series/Funnel3DSeries.js +8 -12
- package/es-modules/Series/FunnelSeries.js +6 -6
- package/es-modules/Series/GanttSeries.js +11 -12
- package/es-modules/Series/GaugeSeries.js +6 -5
- package/es-modules/Series/HeatmapSeries.js +9 -7
- package/es-modules/Series/HistogramSeries.js +6 -5
- package/es-modules/Series/ItemSeries.js +5 -5
- package/es-modules/Series/LineSeries.js +13 -0
- package/es-modules/Series/LollipopSeries.js +11 -7
- package/es-modules/Series/MapBubbleSeries.js +4 -5
- package/es-modules/Series/MapLineSeries.js +4 -6
- package/es-modules/Series/MapPointSeries.js +6 -5
- package/es-modules/Series/MapSeries.js +15 -12
- package/es-modules/Series/Networkgraph/DraggableNodes.js +8 -6
- package/es-modules/Series/Networkgraph/Layouts.js +3 -1
- package/es-modules/Series/Networkgraph/Networkgraph.js +8 -7
- package/es-modules/Series/OHLCSeries.js +4 -6
- package/es-modules/Series/OrganizationSeries.js +7 -4
- package/es-modules/Series/PackedBubbleSeries.js +10 -10
- package/es-modules/Series/ParetoSeries.js +6 -5
- package/es-modules/Series/Pie3DSeries.js +3 -2
- package/es-modules/Series/PieSeries.js +36 -10
- package/es-modules/Series/PolygonSeries.js +6 -6
- package/es-modules/Series/Pyramid3DSeries.js +3 -5
- package/es-modules/Series/SankeySeries.js +13 -12
- package/es-modules/Series/Scatter3DSeries.js +4 -6
- package/es-modules/Series/ScatterSeries.js +10 -5
- package/es-modules/Series/SolidGaugeSeries.js +7 -7
- package/es-modules/Series/SplineSeries.js +5 -3
- package/es-modules/Series/StreamgraphSeries.js +41 -5
- package/es-modules/Series/SunburstSeries.js +15 -11
- package/es-modules/Series/TilemapSeries.js +8 -6
- package/es-modules/Series/TimelineSeries.js +6 -5
- package/es-modules/Series/TreemapSeries.js +36 -50
- package/es-modules/Series/VariablePieSeries.js +9 -7
- package/es-modules/Series/VariwideSeries.js +7 -6
- package/es-modules/Series/VectorSeries.js +5 -3
- package/es-modules/Series/VennSeries.js +20 -17
- package/es-modules/Series/WaterfallSeries.js +6 -4
- package/es-modules/Series/WindbarbSeries.js +9 -6
- package/es-modules/Series/WordcloudSeries.js +11 -9
- package/es-modules/Series/XRangeSeries.js +8 -7
- package/es-modules/Stock/Indicators/ABIndicator.js +7 -7
- package/es-modules/Stock/Indicators/ADIndicator.js +4 -3
- package/es-modules/Stock/Indicators/AOIndicator.js +5 -4
- package/es-modules/Stock/Indicators/APOIndicator.js +7 -7
- package/es-modules/Stock/Indicators/ATRIndicator.js +5 -5
- package/es-modules/Stock/Indicators/AroonIndicator.js +6 -5
- package/es-modules/Stock/Indicators/AroonOscillatorIndicator.js +5 -5
- package/es-modules/Stock/Indicators/BBIndicator.js +7 -7
- package/es-modules/Stock/Indicators/CCIIndicator.js +4 -3
- package/es-modules/Stock/Indicators/CMFIndicator.js +3 -4
- package/es-modules/Stock/Indicators/ChaikinIndicator.js +9 -8
- package/es-modules/Stock/Indicators/DEMAIndicator.js +7 -7
- package/es-modules/Stock/Indicators/DPOIndicator.js +4 -3
- package/es-modules/Stock/Indicators/EMAIndicator.js +3 -3
- package/es-modules/Stock/Indicators/IKHIndicator.js +22 -19
- package/es-modules/Stock/Indicators/KeltnerChannelsIndicator.js +10 -7
- package/es-modules/Stock/Indicators/MACDIndicator.js +7 -4
- package/es-modules/Stock/Indicators/MFIIndicator.js +4 -3
- package/es-modules/Stock/Indicators/MomentumIndicator.js +4 -3
- package/es-modules/Stock/Indicators/NATRIndicator.js +4 -6
- package/es-modules/Stock/Indicators/PCIndicator.js +8 -7
- package/es-modules/Stock/Indicators/PPOIndicator.js +7 -7
- package/es-modules/Stock/Indicators/PSARIndicator.js +3 -4
- package/es-modules/Stock/Indicators/PivotPointsIndicator.js +5 -5
- package/es-modules/Stock/Indicators/PriceEnvelopesIndicator.js +5 -5
- package/es-modules/Stock/Indicators/ROCIndicator.js +4 -3
- package/es-modules/Stock/Indicators/RSIIndicator.js +4 -3
- package/es-modules/Stock/Indicators/RegressionIndicators.js +7 -6
- package/es-modules/Stock/Indicators/{Indicators.js → SMAIndicator.js} +9 -6
- package/es-modules/Stock/Indicators/SlowStochasticIndicator.js +6 -8
- package/es-modules/Stock/Indicators/StochasticIndicator.js +8 -8
- package/es-modules/Stock/Indicators/SupertrendIndicator.js +7 -6
- package/es-modules/Stock/Indicators/TEMAIndicator.js +7 -7
- package/es-modules/Stock/Indicators/TRIXIndicator.js +7 -7
- package/es-modules/Stock/Indicators/TrendLineIndicator.js +4 -3
- package/es-modules/Stock/Indicators/VBPIndicator.js +7 -4
- package/es-modules/Stock/Indicators/VWAPIndicator.js +4 -3
- package/es-modules/Stock/Indicators/WMAIndicator.js +4 -3
- package/es-modules/Stock/Indicators/WilliamsRIndicator.js +6 -5
- package/es-modules/Stock/Indicators/ZigzagIndicator.js +5 -7
- package/es-modules/Stock/StockToolsBindings.js +16 -2
- package/es-modules/Stock/StockToolsGui.js +9 -9
- package/es-modules/masters/highcharts-3d.src.js +1 -2
- 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 +3 -2
- 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/dema.src.js +1 -1
- package/es-modules/masters/indicators/dpo.src.js +1 -1
- package/es-modules/masters/indicators/ema.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 +2 -2
- package/es-modules/masters/indicators/indicators.src.js +2 -2
- package/es-modules/masters/indicators/keltner-channels.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/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/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 +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/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/grid-axis.src.js +1 -1
- package/es-modules/masters/modules/heatmap.src.js +1 -1
- package/es-modules/masters/modules/histogram-bellcurve.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 +2 -2
- 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/solid-gauge.src.js +1 -1
- package/es-modules/masters/modules/sonification.src.js +2 -2
- 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/tilemap.src.js +1 -1
- package/es-modules/masters/modules/timeline.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/themes/avocado.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 +86 -89
- package/highcharts-3d.js.map +1 -1
- package/highcharts-3d.src.js +88 -149
- package/highcharts-gantt.js +729 -717
- package/highcharts-gantt.js.map +1 -1
- package/highcharts-gantt.src.js +5570 -5094
- package/highcharts-more.js +164 -163
- package/highcharts-more.js.map +1 -1
- package/highcharts-more.src.js +182 -118
- package/highcharts.d.ts +89 -159
- package/highcharts.js +537 -530
- package/highcharts.js.map +1 -1
- package/highcharts.src.d.ts +89 -159
- package/highcharts.src.js +5341 -4976
- package/highmaps.js +635 -627
- package/highmaps.js.map +1 -1
- package/highmaps.src.js +5907 -5530
- package/highstock.js +696 -689
- package/highstock.js.map +1 -1
- package/highstock.src.js +5384 -5026
- package/indicators/acceleration-bands.js +8 -8
- package/indicators/acceleration-bands.js.map +1 -1
- package/indicators/acceleration-bands.src.js +7 -7
- package/indicators/accumulation-distribution.js +4 -4
- package/indicators/accumulation-distribution.js.map +1 -1
- package/indicators/accumulation-distribution.src.js +5 -5
- package/indicators/ao.js +5 -5
- package/indicators/ao.js.map +1 -1
- package/indicators/ao.src.js +6 -6
- package/indicators/apo.js +5 -5
- package/indicators/apo.js.map +1 -1
- package/indicators/apo.src.js +7 -7
- package/indicators/aroon-oscillator.js +8 -8
- package/indicators/aroon-oscillator.js.map +1 -1
- package/indicators/aroon-oscillator.src.js +6 -6
- package/indicators/aroon.js +7 -7
- package/indicators/aroon.js.map +1 -1
- package/indicators/aroon.src.js +6 -6
- package/indicators/atr.js +4 -4
- package/indicators/atr.js.map +1 -1
- package/indicators/atr.src.js +6 -14
- package/indicators/bollinger-bands.js +8 -8
- package/indicators/bollinger-bands.js.map +1 -1
- package/indicators/bollinger-bands.src.js +7 -7
- package/indicators/cci.js +4 -4
- package/indicators/cci.js.map +1 -1
- package/indicators/cci.src.js +5 -5
- package/indicators/chaikin.js +6 -6
- package/indicators/chaikin.js.map +1 -1
- package/indicators/chaikin.src.js +75 -74
- package/indicators/cmf.js +2 -2
- package/indicators/cmf.js.map +1 -1
- package/indicators/cmf.src.js +4 -4
- package/indicators/dema.js +5 -5
- package/indicators/dema.js.map +1 -1
- package/indicators/dema.src.js +7 -7
- package/indicators/dpo.js +4 -4
- package/indicators/dpo.js.map +1 -1
- package/indicators/dpo.src.js +5 -5
- package/indicators/ema.js +4 -4
- package/indicators/ema.js.map +1 -1
- package/indicators/ema.src.js +4 -5
- package/indicators/ichimoku-kinko-hyo.js +13 -13
- package/indicators/ichimoku-kinko-hyo.js.map +1 -1
- package/indicators/ichimoku-kinko-hyo.src.js +21 -20
- package/indicators/indicators-all.js +118 -118
- package/indicators/indicators-all.js.map +1 -1
- package/indicators/indicators-all.src.js +227 -230
- package/indicators/indicators.js +9 -9
- package/indicators/indicators.js.map +1 -1
- package/indicators/indicators.src.js +7 -7
- package/indicators/keltner-channels.js +8 -8
- package/indicators/keltner-channels.js.map +1 -1
- package/indicators/keltner-channels.src.js +12 -9
- package/indicators/macd.js +10 -10
- package/indicators/macd.js.map +1 -1
- package/indicators/macd.src.js +8 -7
- package/indicators/mfi.js +4 -4
- package/indicators/mfi.js.map +1 -1
- package/indicators/mfi.src.js +5 -5
- package/indicators/momentum.js +4 -4
- package/indicators/momentum.js.map +1 -1
- package/indicators/momentum.src.js +5 -5
- package/indicators/natr.js +3 -3
- package/indicators/natr.js.map +1 -1
- package/indicators/natr.src.js +5 -5
- package/indicators/pivot-points.js +8 -8
- package/indicators/pivot-points.js.map +1 -1
- package/indicators/pivot-points.src.js +6 -6
- package/indicators/ppo.js +5 -5
- package/indicators/ppo.js.map +1 -1
- package/indicators/ppo.src.js +7 -7
- package/indicators/price-channel.js +8 -8
- package/indicators/price-channel.js.map +1 -1
- package/indicators/price-channel.src.js +65 -65
- package/indicators/price-envelopes.js +7 -7
- package/indicators/price-envelopes.js.map +1 -1
- package/indicators/price-envelopes.src.js +6 -6
- package/indicators/psar.js +2 -2
- package/indicators/psar.js.map +1 -1
- package/indicators/psar.src.js +4 -4
- package/indicators/regressions.js +6 -6
- package/indicators/regressions.js.map +1 -1
- package/indicators/regressions.src.js +8 -8
- package/indicators/roc.js +3 -3
- package/indicators/roc.js.map +1 -1
- package/indicators/roc.src.js +5 -5
- package/indicators/rsi.js +4 -4
- package/indicators/rsi.js.map +1 -1
- package/indicators/rsi.src.js +5 -5
- package/indicators/slow-stochastic.js +5 -5
- package/indicators/slow-stochastic.js.map +1 -1
- package/indicators/slow-stochastic.src.js +6 -6
- package/indicators/stochastic.js +9 -9
- package/indicators/stochastic.js.map +1 -1
- package/indicators/stochastic.src.js +66 -66
- package/indicators/supertrend.js +9 -9
- package/indicators/supertrend.js.map +1 -1
- package/indicators/supertrend.src.js +9 -7
- package/indicators/tema.js +6 -6
- package/indicators/tema.js.map +1 -1
- package/indicators/tema.src.js +7 -7
- package/indicators/trendline.js +3 -3
- package/indicators/trendline.js.map +1 -1
- package/indicators/trendline.src.js +5 -5
- package/indicators/trix.js +4 -4
- package/indicators/trix.js.map +1 -1
- package/indicators/trix.src.js +7 -7
- package/indicators/volume-by-price.js +13 -13
- package/indicators/volume-by-price.js.map +1 -1
- package/indicators/volume-by-price.src.js +7 -8
- package/indicators/vwap.js +4 -4
- package/indicators/vwap.js.map +1 -1
- package/indicators/vwap.src.js +5 -5
- package/indicators/williams-r.js +4 -4
- package/indicators/williams-r.js.map +1 -1
- package/indicators/williams-r.src.js +6 -6
- package/indicators/wma.js +4 -4
- package/indicators/wma.js.map +1 -1
- package/indicators/wma.src.js +5 -5
- package/indicators/zigzag.js +4 -4
- package/indicators/zigzag.js.map +1 -1
- package/indicators/zigzag.src.js +6 -7
- package/modules/accessibility.js +148 -147
- package/modules/accessibility.js.map +1 -1
- package/modules/accessibility.src.js +104 -96
- package/modules/annotations-advanced.js +158 -158
- package/modules/annotations-advanced.js.map +1 -1
- package/modules/annotations-advanced.src.js +15 -14
- package/modules/annotations.js +105 -105
- package/modules/annotations.js.map +1 -1
- package/modules/annotations.src.js +15 -14
- package/modules/arrow-symbols.js +1 -1
- package/modules/arrow-symbols.src.js +1 -1
- package/modules/boost-canvas.js +15 -15
- package/modules/boost-canvas.js.map +1 -1
- package/modules/boost-canvas.src.js +16 -16
- package/modules/boost.d.ts +4 -0
- package/modules/boost.js +77 -64
- package/modules/boost.js.map +1 -1
- package/modules/boost.src.d.ts +4 -0
- package/modules/boost.src.js +561 -14
- package/modules/broken-axis.js +12 -12
- package/modules/broken-axis.js.map +1 -1
- package/modules/broken-axis.src.js +4 -5
- package/modules/bullet.js +6 -6
- package/modules/bullet.js.map +1 -1
- package/modules/bullet.src.js +5 -6
- package/modules/coloraxis.js +22 -21
- package/modules/coloraxis.js.map +1 -1
- package/modules/coloraxis.src.js +46 -41
- package/modules/current-date-indicator.js +4 -4
- package/modules/current-date-indicator.js.map +1 -1
- package/modules/current-date-indicator.src.js +4 -6
- package/modules/cylinder.js +8 -8
- package/modules/cylinder.js.map +1 -1
- package/modules/cylinder.src.js +18 -21
- package/modules/data.js +32 -32
- package/modules/data.js.map +1 -1
- package/modules/data.src.js +7 -11
- package/modules/datagrouping.js +17 -17
- package/modules/datagrouping.js.map +1 -1
- package/modules/datagrouping.src.js +3 -4
- package/modules/debugger.js +4 -4
- package/modules/debugger.js.map +1 -1
- package/modules/debugger.src.js +4 -4
- package/modules/dependency-wheel.js +8 -8
- package/modules/dependency-wheel.js.map +1 -1
- package/modules/dependency-wheel.src.js +9 -9
- package/modules/dotplot.js +5 -5
- package/modules/dotplot.js.map +1 -1
- package/modules/dotplot.src.js +4 -12
- package/modules/drag-panes.js +7 -7
- package/modules/drag-panes.js.map +1 -1
- package/modules/drag-panes.src.js +2 -2
- package/modules/draggable-points.js +33 -33
- package/modules/draggable-points.js.map +1 -1
- package/modules/draggable-points.src.js +6 -6
- package/modules/drilldown.js +23 -22
- package/modules/drilldown.js.map +1 -1
- package/modules/drilldown.src.js +21 -11
- package/modules/dumbbell.js +24 -20
- package/modules/dumbbell.js.map +1 -1
- package/modules/dumbbell.src.js +396 -136
- package/modules/export-data.js +21 -21
- package/modules/export-data.js.map +1 -1
- package/modules/export-data.src.js +8 -7
- package/modules/exporting.js +32 -32
- package/modules/exporting.js.map +1 -1
- package/modules/exporting.src.js +10 -3
- package/modules/full-screen.js +1 -1
- package/modules/full-screen.src.js +1 -1
- package/modules/funnel.js +9 -9
- package/modules/funnel.js.map +1 -1
- package/modules/funnel.src.js +6 -8
- package/modules/funnel3d.js +17 -17
- package/modules/funnel3d.js.map +1 -1
- package/modules/funnel3d.src.js +9 -12
- package/modules/gantt.js +194 -189
- package/modules/gantt.js.map +1 -1
- package/modules/gantt.src.js +232 -121
- package/modules/grid-axis.js +22 -19
- package/modules/grid-axis.js.map +1 -1
- package/modules/grid-axis.src.js +130 -64
- package/modules/heatmap.js +33 -33
- package/modules/heatmap.js.map +1 -1
- package/modules/heatmap.src.js +93 -84
- package/modules/histogram-bellcurve.js +10 -10
- package/modules/histogram-bellcurve.js.map +1 -1
- package/modules/histogram-bellcurve.src.js +49 -11
- package/modules/item-series.js +9 -9
- package/modules/item-series.js.map +1 -1
- package/modules/item-series.src.js +5 -6
- package/modules/lollipop.d.ts +20 -1
- package/modules/lollipop.js +26 -4
- package/modules/lollipop.js.map +1 -1
- package/modules/lollipop.src.d.ts +20 -1
- package/modules/lollipop.src.js +1431 -9
- package/modules/map.d.ts +1 -1
- package/modules/map.js +99 -99
- package/modules/map.js.map +1 -1
- package/modules/map.src.d.ts +1 -1
- package/modules/map.src.js +1421 -1409
- package/modules/marker-clusters.js +35 -35
- package/modules/marker-clusters.js.map +1 -1
- package/modules/marker-clusters.src.js +5 -5
- package/modules/networkgraph.js +47 -46
- package/modules/networkgraph.js.map +1 -1
- package/modules/networkgraph.src.js +18 -17
- 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 +15 -12
- package/modules/offline-exporting.js +15 -15
- package/modules/offline-exporting.js.map +1 -1
- package/modules/offline-exporting.src.js +20 -18
- package/modules/oldie-polyfills.js +1 -1
- package/modules/oldie-polyfills.src.js +1 -1
- package/modules/oldie.js +52 -26
- package/modules/oldie.js.map +1 -1
- package/modules/oldie.src.js +1401 -22
- package/modules/organization.js +11 -11
- package/modules/organization.js.map +1 -1
- package/modules/organization.src.js +6 -5
- package/modules/overlapping-datalabels.js +1 -1
- package/modules/overlapping-datalabels.src.js +1 -1
- package/modules/parallel-coordinates.js +1 -1
- package/modules/parallel-coordinates.src.js +1 -1
- package/modules/pareto.js +5 -5
- package/modules/pareto.js.map +1 -1
- package/modules/pareto.src.js +5 -6
- package/modules/pathfinder.js +20 -20
- package/modules/pathfinder.js.map +1 -1
- package/modules/pathfinder.src.js +7 -1
- package/modules/pattern-fill.js +13 -13
- package/modules/pattern-fill.js.map +1 -1
- package/modules/pattern-fill.src.js +10 -10
- package/modules/price-indicator.js +1 -1
- package/modules/price-indicator.src.js +1 -1
- package/modules/pyramid3d.js +3 -3
- package/modules/pyramid3d.js.map +1 -1
- package/modules/pyramid3d.src.js +3 -4
- package/modules/sankey.js +25 -25
- package/modules/sankey.js.map +1 -1
- package/modules/sankey.src.js +15 -15
- package/modules/series-label.js +17 -17
- package/modules/series-label.js.map +1 -1
- package/modules/series-label.src.js +3 -3
- package/modules/solid-gauge.js +8 -8
- package/modules/solid-gauge.js.map +1 -1
- package/modules/solid-gauge.src.js +4 -5
- package/modules/sonification.js +46 -46
- package/modules/sonification.js.map +1 -1
- package/modules/sonification.src.js +21 -16
- package/modules/static-scale.js +4 -4
- package/modules/static-scale.js.map +1 -1
- package/modules/static-scale.src.js +3 -4
- package/modules/stock-tools.js +142 -141
- package/modules/stock-tools.js.map +1 -1
- package/modules/stock-tools.src.js +40 -21
- package/modules/stock.js +161 -161
- package/modules/stock.js.map +1 -1
- package/modules/stock.src.js +41 -48
- package/modules/streamgraph.js +2 -2
- package/modules/streamgraph.js.map +1 -1
- package/modules/streamgraph.src.js +41 -4
- package/modules/sunburst.js +51 -50
- package/modules/sunburst.js.map +1 -1
- package/modules/sunburst.src.js +134 -65
- package/modules/tilemap.js +14 -14
- package/modules/tilemap.js.map +1 -1
- package/modules/tilemap.src.js +9 -9
- package/modules/timeline.js +14 -14
- package/modules/timeline.js.map +1 -1
- package/modules/timeline.src.js +7 -8
- package/modules/treegrid.js +57 -52
- package/modules/treegrid.js.map +1 -1
- package/modules/treegrid.src.js +191 -77
- package/modules/treemap.js +35 -34
- package/modules/treemap.js.map +1 -1
- package/modules/treemap.src.js +205 -138
- package/modules/variable-pie.js +8 -8
- package/modules/variable-pie.js.map +1 -1
- package/modules/variable-pie.src.js +10 -9
- package/modules/variwide.js +8 -8
- package/modules/variwide.js.map +1 -1
- package/modules/variwide.src.js +6 -7
- package/modules/vector.js +6 -6
- package/modules/vector.js.map +1 -1
- package/modules/vector.src.js +6 -7
- package/modules/venn.js +26 -26
- package/modules/venn.js.map +1 -1
- package/modules/venn.src.js +23 -23
- package/modules/windbarb.js +11 -11
- package/modules/windbarb.js.map +1 -1
- package/modules/windbarb.src.js +8 -9
- package/modules/wordcloud.js +19 -19
- package/modules/wordcloud.js.map +1 -1
- package/modules/wordcloud.src.js +14 -14
- package/modules/xrange.js +12 -12
- package/modules/xrange.js.map +1 -1
- package/modules/xrange.src.js +8 -9
- package/package.json +1 -1
- package/themes/avocado.js +1 -1
- package/themes/avocado.js.map +1 -1
- package/themes/avocado.src.js +4 -4
- package/themes/dark-blue.js +1 -1
- package/themes/dark-blue.src.js +1 -1
- package/themes/dark-green.js +1 -1
- package/themes/dark-green.src.js +1 -1
- package/themes/dark-unica.js +1 -1
- package/themes/dark-unica.js.map +1 -1
- package/themes/dark-unica.src.js +6 -7
- package/themes/gray.js +1 -1
- package/themes/gray.js.map +1 -1
- package/themes/gray.src.js +4 -4
- package/themes/grid-light.js +1 -1
- package/themes/grid-light.src.js +1 -1
- package/themes/grid.js +1 -1
- package/themes/grid.src.js +1 -1
- package/themes/high-contrast-dark.js +1 -1
- package/themes/high-contrast-dark.js.map +1 -1
- package/themes/high-contrast-dark.src.js +4 -4
- package/themes/high-contrast-light.js +1 -1
- package/themes/high-contrast-light.src.js +1 -1
- package/themes/sand-signika.js +1 -1
- package/themes/sand-signika.src.js +1 -1
- package/themes/skies.js +1 -1
- package/themes/skies.src.js +1 -1
- package/themes/sunset.js +1 -1
- package/themes/sunset.js.map +1 -1
- package/themes/sunset.src.js +4 -4
- package/es-modules/Core/Renderer/VML/VMLRenderer3D.js +0 -37
|
@@ -9,14 +9,12 @@
|
|
|
9
9
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
10
10
|
*
|
|
11
11
|
* */
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
import BaseSeries from '../Core/Series/Series.js';
|
|
13
|
+
var seriesTypes = BaseSeries.seriesTypes;
|
|
14
14
|
import Math3D from '../Extensions/Math3D.js';
|
|
15
15
|
var pointCameraDistance = Math3D.pointCameraDistance;
|
|
16
16
|
import Point from '../Core/Series/Point.js';
|
|
17
|
-
import
|
|
18
|
-
var seriesType = U.seriesType;
|
|
19
|
-
var seriesTypes = H.seriesTypes;
|
|
17
|
+
import './ScatterSeries.js';
|
|
20
18
|
/**
|
|
21
19
|
* @private
|
|
22
20
|
* @class
|
|
@@ -24,7 +22,7 @@ var seriesTypes = H.seriesTypes;
|
|
|
24
22
|
*
|
|
25
23
|
* @augments Highcharts.Series
|
|
26
24
|
*/
|
|
27
|
-
seriesType('scatter3d', 'scatter',
|
|
25
|
+
BaseSeries.seriesType('scatter3d', 'scatter',
|
|
28
26
|
/**
|
|
29
27
|
* A 3D scatter plot uses x, y and z coordinates to display values for three
|
|
30
28
|
* variables for a set of data.
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
8
8
|
*
|
|
9
9
|
* */
|
|
10
|
-
|
|
10
|
+
import BaseSeries from '../Core/Series/Series.js';
|
|
11
11
|
import H from '../Core/Globals.js';
|
|
12
12
|
import U from '../Core/Utilities.js';
|
|
13
|
-
var addEvent = U.addEvent
|
|
13
|
+
var addEvent = U.addEvent;
|
|
14
14
|
import '../Core/Options.js';
|
|
15
|
-
import '../
|
|
15
|
+
import '../Series/LineSeries.js';
|
|
16
16
|
var Series = H.Series;
|
|
17
17
|
/**
|
|
18
18
|
* Scatter series type.
|
|
@@ -23,7 +23,7 @@ var Series = H.Series;
|
|
|
23
23
|
*
|
|
24
24
|
* @augments Highcharts.Series
|
|
25
25
|
*/
|
|
26
|
-
seriesType('scatter', 'line',
|
|
26
|
+
BaseSeries.seriesType('scatter', 'line',
|
|
27
27
|
/**
|
|
28
28
|
* A scatter plot uses cartesian coordinates to display values for two
|
|
29
29
|
* variables for a set of data.
|
|
@@ -131,7 +131,12 @@ seriesType('scatter', 'line',
|
|
|
131
131
|
* @function Highcharts.seriesTypes.scatter#drawGraph
|
|
132
132
|
*/
|
|
133
133
|
drawGraph: function () {
|
|
134
|
-
if (this.options.lineWidth
|
|
134
|
+
if (this.options.lineWidth ||
|
|
135
|
+
// In case we have a graph from before and we update the line
|
|
136
|
+
// width to 0 (#13816)
|
|
137
|
+
(this.options.lineWidth === 0 &&
|
|
138
|
+
this.graph &&
|
|
139
|
+
this.graph.strokeWidth())) {
|
|
135
140
|
Series.prototype.drawGraph.call(this);
|
|
136
141
|
}
|
|
137
142
|
},
|
|
@@ -9,13 +9,16 @@
|
|
|
9
9
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
10
10
|
*
|
|
11
11
|
* */
|
|
12
|
-
|
|
13
|
-
import Color from '../Core/Color.js';
|
|
12
|
+
import BaseSeries from '../Core/Series/Series.js';
|
|
13
|
+
import Color from '../Core/Color/Color.js';
|
|
14
14
|
var color = Color.parse;
|
|
15
15
|
import H from '../Core/Globals.js';
|
|
16
|
+
var Renderer = H.Renderer;
|
|
16
17
|
import LegendSymbolMixin from '../Mixins/LegendSymbol.js';
|
|
17
18
|
import U from '../Core/Utilities.js';
|
|
18
|
-
var clamp = U.clamp, extend = U.extend, isNumber = U.isNumber, merge = U.merge, pick = U.pick, pInt = U.pInt,
|
|
19
|
+
var clamp = U.clamp, extend = U.extend, isNumber = U.isNumber, merge = U.merge, pick = U.pick, pInt = U.pInt, wrap = U.wrap;
|
|
20
|
+
import '../Core/Options.js';
|
|
21
|
+
import '../Series/GaugeSeries.js';
|
|
19
22
|
/**
|
|
20
23
|
* Additional options, depending on the actual symbol drawn.
|
|
21
24
|
*
|
|
@@ -25,9 +28,6 @@ var clamp = U.clamp, extend = U.extend, isNumber = U.isNumber, merge = U.merge,
|
|
|
25
28
|
* @name Highcharts.SymbolOptionsObject#rounded
|
|
26
29
|
* @type {boolean|undefined}
|
|
27
30
|
*/
|
|
28
|
-
import '../Core/Options.js';
|
|
29
|
-
import '../Series/GaugeSeries.js';
|
|
30
|
-
var Renderer = H.Renderer;
|
|
31
31
|
/**
|
|
32
32
|
* Symbol definition of an arc with round edges.
|
|
33
33
|
*
|
|
@@ -269,7 +269,7 @@ var solidGaugeOptions = {
|
|
|
269
269
|
}
|
|
270
270
|
};
|
|
271
271
|
// The solidgauge series type
|
|
272
|
-
seriesType('solidgauge', 'gauge', solidGaugeOptions, {
|
|
272
|
+
BaseSeries.seriesType('solidgauge', 'gauge', solidGaugeOptions, {
|
|
273
273
|
drawLegendSymbol: LegendSymbolMixin.drawRectangle,
|
|
274
274
|
// Extend the translate function to extend the Y axis with the necessary
|
|
275
275
|
// decoration (#5895).
|
|
@@ -8,10 +8,12 @@
|
|
|
8
8
|
*
|
|
9
9
|
* */
|
|
10
10
|
'use strict';
|
|
11
|
+
import BaseSeries from '../Core/Series/Series.js';
|
|
11
12
|
import U from '../Core/Utilities.js';
|
|
12
|
-
var pick = U.pick
|
|
13
|
+
var pick = U.pick;
|
|
13
14
|
import '../Core/Options.js';
|
|
14
|
-
import '../
|
|
15
|
+
import '../Series/LineSeries.js';
|
|
16
|
+
import '../Series/LineSeries.js';
|
|
15
17
|
/**
|
|
16
18
|
* Spline series type.
|
|
17
19
|
*
|
|
@@ -21,7 +23,7 @@ import '../Core/Series/Series.js';
|
|
|
21
23
|
*
|
|
22
24
|
* @augments Highcarts.Series
|
|
23
25
|
*/
|
|
24
|
-
seriesType('spline', 'line',
|
|
26
|
+
BaseSeries.seriesType('spline', 'line',
|
|
25
27
|
/**
|
|
26
28
|
* A spline series is a special type of line series, where the segments
|
|
27
29
|
* between the data points are smoothed.
|
|
@@ -9,10 +9,8 @@
|
|
|
9
9
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
10
10
|
*
|
|
11
11
|
* */
|
|
12
|
-
|
|
13
|
-
import '../Series/
|
|
14
|
-
import U from '../Core/Utilities.js';
|
|
15
|
-
var seriesType = U.seriesType;
|
|
12
|
+
import BaseSeries from '../Core/Series/Series.js';
|
|
13
|
+
import '../Series/AreaSplineSeries.js';
|
|
16
14
|
/**
|
|
17
15
|
* @private
|
|
18
16
|
* @class
|
|
@@ -20,7 +18,7 @@ var seriesType = U.seriesType;
|
|
|
20
18
|
*
|
|
21
19
|
* @augments Highcharts.Series
|
|
22
20
|
*/
|
|
23
|
-
seriesType('streamgraph', 'areaspline'
|
|
21
|
+
BaseSeries.seriesType('streamgraph', 'areaspline'
|
|
24
22
|
/**
|
|
25
23
|
* A streamgraph is a type of stacked area graph which is displaced around a
|
|
26
24
|
* central axis, resulting in a flowing, organic shape.
|
|
@@ -35,6 +33,24 @@ seriesType('streamgraph', 'areaspline'
|
|
|
35
33
|
* @optionparent plotOptions.streamgraph
|
|
36
34
|
*/
|
|
37
35
|
, {
|
|
36
|
+
/**
|
|
37
|
+
* @see [fillColor](#plotOptions.streamgraph.fillColor)
|
|
38
|
+
* @see [fillOpacity](#plotOptions.streamgraph.fillOpacity)
|
|
39
|
+
*
|
|
40
|
+
* @apioption plotOptions.streamgraph.color
|
|
41
|
+
*/
|
|
42
|
+
/**
|
|
43
|
+
* @see [color](#plotOptions.streamgraph.color)
|
|
44
|
+
* @see [fillOpacity](#plotOptions.streamgraph.fillOpacity)
|
|
45
|
+
*
|
|
46
|
+
* @apioption plotOptions.streamgraph.fillColor
|
|
47
|
+
*/
|
|
48
|
+
/**
|
|
49
|
+
* @see [color](#plotOptions.streamgraph.color)
|
|
50
|
+
* @see [fillColor](#plotOptions.streamgraph.fillColor)
|
|
51
|
+
*
|
|
52
|
+
* @apioption plotOptions.streamgraph.fillOpacity
|
|
53
|
+
*/
|
|
38
54
|
fillOpacity: 1,
|
|
39
55
|
lineWidth: 0,
|
|
40
56
|
marker: {
|
|
@@ -65,6 +81,12 @@ seriesType('streamgraph', 'areaspline'
|
|
|
65
81
|
* @requires modules/streamgraph
|
|
66
82
|
* @apioption series.streamgraph
|
|
67
83
|
*/
|
|
84
|
+
/**
|
|
85
|
+
* @see [fillColor](#series.streamgraph.fillColor)
|
|
86
|
+
* @see [fillOpacity](#series.streamgraph.fillOpacity)
|
|
87
|
+
*
|
|
88
|
+
* @apioption series.streamgraph.color
|
|
89
|
+
*/
|
|
68
90
|
/**
|
|
69
91
|
* An array of data points for the series. For the `streamgraph` series type,
|
|
70
92
|
* points can be given in the following ways:
|
|
@@ -124,4 +146,18 @@ seriesType('streamgraph', 'areaspline'
|
|
|
124
146
|
* @product highcharts highstock
|
|
125
147
|
* @apioption series.streamgraph.data
|
|
126
148
|
*/
|
|
149
|
+
/**
|
|
150
|
+
* @see [color](#series.streamgraph.color)
|
|
151
|
+
* @see [fillOpacity](#series.streamgraph.fillOpacity)
|
|
152
|
+
*
|
|
153
|
+
* @apioption series.streamgraph.fillColor
|
|
154
|
+
*/
|
|
155
|
+
/**
|
|
156
|
+
* @see [color](#series.streamgraph.color)
|
|
157
|
+
* @see [fillColor](#series.streamgraph.fillColor)
|
|
158
|
+
*
|
|
159
|
+
* @type {number}
|
|
160
|
+
* @default 1
|
|
161
|
+
* @apioption series.streamgraph.fillOpacity
|
|
162
|
+
*/
|
|
127
163
|
''; // adds doclets above to transpiled file
|
|
@@ -11,20 +11,23 @@
|
|
|
11
11
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
12
12
|
*
|
|
13
13
|
* */
|
|
14
|
-
|
|
14
|
+
import BaseSeries from '../Core/Series/Series.js';
|
|
15
|
+
var seriesTypes = BaseSeries.seriesTypes;
|
|
16
|
+
import CenteredSeriesMixin from '../Mixins/CenteredSeries.js';
|
|
17
|
+
var getCenter = CenteredSeriesMixin.getCenter, getStartAndEndRadians = CenteredSeriesMixin.getStartAndEndRadians;
|
|
18
|
+
import DrawPointMixin from '../Mixins/DrawPoint.js';
|
|
19
|
+
var drawPoint = DrawPointMixin.drawPoint;
|
|
15
20
|
import H from '../Core/Globals.js';
|
|
21
|
+
var noop = H.noop;
|
|
22
|
+
import TreeSeriesMixin from '../Mixins/TreeSeries.js';
|
|
23
|
+
var getColor = TreeSeriesMixin.getColor, getLevelOptions = TreeSeriesMixin.getLevelOptions, setTreeValues = TreeSeriesMixin.setTreeValues, updateRootId = TreeSeriesMixin.updateRootId;
|
|
16
24
|
import U from '../Core/Utilities.js';
|
|
17
|
-
var correctFloat = U.correctFloat, error = U.error, extend = U.extend, isNumber = U.isNumber, isObject = U.isObject, isString = U.isString, merge = U.merge,
|
|
18
|
-
import
|
|
19
|
-
import drawPointModule from '../Mixins/DrawPoint.js';
|
|
20
|
-
var drawPoint = drawPointModule.drawPoint;
|
|
21
|
-
import mixinTreeSeries from '../Mixins/TreeSeries.js';
|
|
22
|
-
var getColor = mixinTreeSeries.getColor, getLevelOptions = mixinTreeSeries.getLevelOptions, setTreeValues = mixinTreeSeries.setTreeValues, updateRootId = mixinTreeSeries.updateRootId;
|
|
23
|
-
import '../Core/Series/Series.js';
|
|
25
|
+
var correctFloat = U.correctFloat, error = U.error, extend = U.extend, isNumber = U.isNumber, isObject = U.isObject, isString = U.isString, merge = U.merge, splat = U.splat;
|
|
26
|
+
import '../Series/LineSeries.js';
|
|
24
27
|
import './TreemapSeries.js';
|
|
25
|
-
var Series = H.Series,
|
|
28
|
+
var Series = H.Series, isBoolean = function (x) {
|
|
26
29
|
return typeof x === 'boolean';
|
|
27
|
-
},
|
|
30
|
+
}, rad2deg = 180 / Math.PI;
|
|
28
31
|
// TODO introduce step, which should default to 1.
|
|
29
32
|
var range = function range(from, to) {
|
|
30
33
|
var result = [], i;
|
|
@@ -948,6 +951,7 @@ var sunburstPoint = {
|
|
|
948
951
|
* @product highcharts
|
|
949
952
|
* @apioption series.sunburst.data.sliced
|
|
950
953
|
*/
|
|
954
|
+
''; // detach doclets above
|
|
951
955
|
/**
|
|
952
956
|
* @private
|
|
953
957
|
* @class
|
|
@@ -955,4 +959,4 @@ var sunburstPoint = {
|
|
|
955
959
|
*
|
|
956
960
|
* @augments Highcharts.Series
|
|
957
961
|
*/
|
|
958
|
-
seriesType('sunburst', 'treemap', sunburstOptions, sunburstSeries, sunburstPoint);
|
|
962
|
+
BaseSeries.seriesType('sunburst', 'treemap', sunburstOptions, sunburstSeries, sunburstPoint);
|
|
@@ -10,15 +10,17 @@
|
|
|
10
10
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
11
11
|
*
|
|
12
12
|
* */
|
|
13
|
-
|
|
13
|
+
import BaseSeries from '../Core/Series/Series.js';
|
|
14
|
+
import ColorSeriesModule from '../Mixins/ColorSeries.js';
|
|
15
|
+
var colorPointMixin = ColorSeriesModule.colorPointMixin;
|
|
14
16
|
import H from '../Core/Globals.js';
|
|
17
|
+
import U from '../Core/Utilities.js';
|
|
18
|
+
var addEvent = U.addEvent, clamp = U.clamp, extend = U.extend, pick = U.pick;
|
|
19
|
+
import '../Series/HeatmapSeries.js';
|
|
15
20
|
/**
|
|
16
21
|
* @typedef {"circle"|"diamond"|"hexagon"|"square"} Highcharts.TilemapShapeValue
|
|
17
22
|
*/
|
|
18
23
|
''; // detach doclets above
|
|
19
|
-
import U from '../Core/Utilities.js';
|
|
20
|
-
var addEvent = U.addEvent, clamp = U.clamp, extend = U.extend, pick = U.pick, seriesType = U.seriesType;
|
|
21
|
-
import '../Series/HeatmapSeries.js';
|
|
22
24
|
/**
|
|
23
25
|
* Utility func to get padding definition from tile size division
|
|
24
26
|
* @private
|
|
@@ -311,7 +313,7 @@ addEvent(H.Axis, 'afterSetAxisTranslation', function () {
|
|
|
311
313
|
*
|
|
312
314
|
* @augments Highcharts.Series
|
|
313
315
|
*/
|
|
314
|
-
seriesType('tilemap', 'heatmap'
|
|
316
|
+
BaseSeries.seriesType('tilemap', 'heatmap'
|
|
315
317
|
/**
|
|
316
318
|
* A tilemap series is a type of heatmap where the tile shapes are
|
|
317
319
|
* configurable.
|
|
@@ -472,7 +474,7 @@ seriesType('tilemap', 'heatmap'
|
|
|
472
474
|
haloPath: function () {
|
|
473
475
|
return this.series.tileShape.haloPath.apply(this, Array.prototype.slice.call(arguments));
|
|
474
476
|
}
|
|
475
|
-
},
|
|
477
|
+
}, colorPointMixin));
|
|
476
478
|
/**
|
|
477
479
|
* A `tilemap` series. If the [type](#series.tilemap.type) option is
|
|
478
480
|
* not specified, it is inherited from [chart.type](#chart.type).
|
|
@@ -11,13 +11,16 @@
|
|
|
11
11
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
12
12
|
*
|
|
13
13
|
* */
|
|
14
|
-
|
|
14
|
+
import BaseSeries from '../Core/Series/Series.js';
|
|
15
|
+
var seriesTypes = BaseSeries.seriesTypes;
|
|
15
16
|
import H from '../Core/Globals.js';
|
|
16
17
|
import LegendSymbolMixin from '../Mixins/LegendSymbol.js';
|
|
17
18
|
import Point from '../Core/Series/Point.js';
|
|
18
19
|
import SVGElement from '../Core/Renderer/SVG/SVGElement.js';
|
|
19
20
|
import U from '../Core/Utilities.js';
|
|
20
|
-
var addEvent = U.addEvent, arrayMax = U.arrayMax, arrayMin = U.arrayMin, defined = U.defined, isNumber = U.isNumber, merge = U.merge, objectEach = U.objectEach, pick = U.pick
|
|
21
|
+
var addEvent = U.addEvent, arrayMax = U.arrayMax, arrayMin = U.arrayMin, defined = U.defined, isNumber = U.isNumber, merge = U.merge, objectEach = U.objectEach, pick = U.pick;
|
|
22
|
+
import '../Series/LineSeries.js';
|
|
23
|
+
var TrackerMixin = H.TrackerMixin, Series = H.Series;
|
|
21
24
|
/**
|
|
22
25
|
* Callback JavaScript function to format the data label as a string. Note that
|
|
23
26
|
* if a `format` is defined, the format takes precedence and the formatter is
|
|
@@ -45,8 +48,6 @@ var addEvent = U.addEvent, arrayMax = U.arrayMax, arrayMin = U.arrayMin, defined
|
|
|
45
48
|
* @type {Highcharts.Series}
|
|
46
49
|
*/
|
|
47
50
|
''; // dettach doclets above
|
|
48
|
-
import '../Core/Series/Series.js';
|
|
49
|
-
var TrackerMixin = H.TrackerMixin, Series = H.Series, seriesTypes = H.seriesTypes;
|
|
50
51
|
/**
|
|
51
52
|
* The timeline series type.
|
|
52
53
|
*
|
|
@@ -56,7 +57,7 @@ var TrackerMixin = H.TrackerMixin, Series = H.Series, seriesTypes = H.seriesType
|
|
|
56
57
|
*
|
|
57
58
|
* @augments Highcharts.Series
|
|
58
59
|
*/
|
|
59
|
-
seriesType('timeline', 'line',
|
|
60
|
+
BaseSeries.seriesType('timeline', 'line',
|
|
60
61
|
/**
|
|
61
62
|
* The timeline series presents given events along a drawn line.
|
|
62
63
|
*
|
|
@@ -9,25 +9,28 @@
|
|
|
9
9
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
10
10
|
*
|
|
11
11
|
* */
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
import
|
|
15
|
-
var getColor = mixinTreeSeries.getColor, getLevelOptions = mixinTreeSeries.getLevelOptions, updateRootId = mixinTreeSeries.updateRootId;
|
|
16
|
-
import drawPointModule from '../Mixins/DrawPoint.js';
|
|
17
|
-
var drawPoint = drawPointModule.drawPoint;
|
|
18
|
-
import Color from '../Core/Color.js';
|
|
12
|
+
import BaseSeries from '../Core/Series/Series.js';
|
|
13
|
+
var seriesTypes = BaseSeries.seriesTypes;
|
|
14
|
+
import Color from '../Core/Color/Color.js';
|
|
19
15
|
var color = Color.parse;
|
|
16
|
+
import ColorMapMixin from '../Mixins/ColorMapSeries.js';
|
|
17
|
+
var colorMapSeriesMixin = ColorMapMixin.colorMapSeriesMixin;
|
|
18
|
+
import DrawPointMixin from '../Mixins/DrawPoint.js';
|
|
19
|
+
var drawPoint = DrawPointMixin.drawPoint;
|
|
20
|
+
import H from '../Core/Globals.js';
|
|
21
|
+
var noop = H.noop;
|
|
20
22
|
import LegendSymbolMixin from '../Mixins/LegendSymbol.js';
|
|
21
23
|
import Point from '../Core/Series/Point.js';
|
|
24
|
+
import TreeSeriesMixin from '../Mixins/TreeSeries.js';
|
|
25
|
+
var getColor = TreeSeriesMixin.getColor, getLevelOptions = TreeSeriesMixin.getLevelOptions, updateRootId = TreeSeriesMixin.updateRootId;
|
|
22
26
|
import U from '../Core/Utilities.js';
|
|
23
|
-
var addEvent = U.addEvent, correctFloat = U.correctFloat, defined = U.defined, error = U.error, extend = U.extend, fireEvent = U.fireEvent, isArray = U.isArray, isNumber = U.isNumber, isObject = U.isObject, isString = U.isString, merge = U.merge, objectEach = U.objectEach, pick = U.pick,
|
|
27
|
+
var addEvent = U.addEvent, correctFloat = U.correctFloat, defined = U.defined, error = U.error, extend = U.extend, fireEvent = U.fireEvent, isArray = U.isArray, isNumber = U.isNumber, isObject = U.isObject, isString = U.isString, merge = U.merge, objectEach = U.objectEach, pick = U.pick, stableSort = U.stableSort;
|
|
24
28
|
import '../Core/Options.js';
|
|
25
|
-
import '
|
|
29
|
+
import './ScatterSeries.js';
|
|
26
30
|
/* eslint-disable no-invalid-this */
|
|
27
31
|
var AXIS_MAX = 100;
|
|
28
|
-
var seriesTypes = H.seriesTypes, noop = H.noop,
|
|
29
32
|
// @todo Similar to eachObject, this function is likely redundant
|
|
30
|
-
isBoolean = function (x) {
|
|
33
|
+
var isBoolean = function (x) {
|
|
31
34
|
return typeof x === 'boolean';
|
|
32
35
|
}, Series = H.Series,
|
|
33
36
|
// @todo Similar to recursive, this function is likely redundant
|
|
@@ -55,7 +58,7 @@ recursive = function (item, func, context) {
|
|
|
55
58
|
*
|
|
56
59
|
* @augments Highcharts.Series
|
|
57
60
|
*/
|
|
58
|
-
seriesType('treemap', 'scatter'
|
|
61
|
+
BaseSeries.seriesType('treemap', 'scatter'
|
|
59
62
|
/**
|
|
60
63
|
* A treemap displays hierarchical data using nested rectangles. The data
|
|
61
64
|
* can be laid out in varying ways depending on options.
|
|
@@ -172,7 +175,7 @@ seriesType('treemap', 'scatter'
|
|
|
172
175
|
/**
|
|
173
176
|
* @ignore-option
|
|
174
177
|
*/
|
|
175
|
-
marker:
|
|
178
|
+
marker: void 0,
|
|
176
179
|
/**
|
|
177
180
|
* When using automatic point colors pulled from the `options.colors`
|
|
178
181
|
* collection, this option determines whether the chart should receive
|
|
@@ -571,8 +574,8 @@ seriesType('treemap', 'scatter'
|
|
|
571
574
|
var series = this, allIds = this.data.map(function (d) {
|
|
572
575
|
return d.id;
|
|
573
576
|
}), parentList = series.getListOfParents(this.data, allIds);
|
|
574
|
-
series.nodeMap =
|
|
575
|
-
return series.buildNode('', -1, 0, parentList
|
|
577
|
+
series.nodeMap = {};
|
|
578
|
+
return series.buildNode('', -1, 0, parentList);
|
|
576
579
|
},
|
|
577
580
|
// Define hasData function for non-cartesian series.
|
|
578
581
|
// Returns true if the series has points at all.
|
|
@@ -580,7 +583,7 @@ seriesType('treemap', 'scatter'
|
|
|
580
583
|
return !!this.processedXData.length; // != 0
|
|
581
584
|
},
|
|
582
585
|
init: function (chart, options) {
|
|
583
|
-
var series = this,
|
|
586
|
+
var series = this, setOptionsEvent;
|
|
584
587
|
// If color series logic is loaded, add some properties
|
|
585
588
|
if (colorMapSeriesMixin) {
|
|
586
589
|
this.colorAttribs = colorMapSeriesMixin.colorAttribs;
|
|
@@ -644,7 +647,7 @@ seriesType('treemap', 'scatter'
|
|
|
644
647
|
});
|
|
645
648
|
// Sort the children
|
|
646
649
|
stableSort(children, function (a, b) {
|
|
647
|
-
return a.sortIndex - b.sortIndex;
|
|
650
|
+
return (a.sortIndex || 0) - (b.sortIndex || 0);
|
|
648
651
|
});
|
|
649
652
|
// Set the values
|
|
650
653
|
val = pick(point && point.options.value, childrenTotal);
|
|
@@ -1145,21 +1148,21 @@ seriesType('treemap', 'scatter'
|
|
|
1145
1148
|
drawPoints: function () {
|
|
1146
1149
|
var series = this, chart = series.chart, renderer = chart.renderer, points = series.points, styledMode = chart.styledMode, options = series.options, shadow = styledMode ? {} : options.shadow, borderRadius = options.borderRadius, withinAnimationLimit = chart.pointCount < options.animationLimit, allowTraversingTree = options.allowTraversingTree;
|
|
1147
1150
|
points.forEach(function (point) {
|
|
1148
|
-
var levelDynamic = point.node.levelDynamic,
|
|
1151
|
+
var levelDynamic = point.node.levelDynamic, animatableAttribs = {}, attribs = {}, css = {}, groupKey = 'level-group-' + point.node.level, hasGraphic = !!point.graphic, shouldAnimate = withinAnimationLimit && hasGraphic, shapeArgs = point.shapeArgs;
|
|
1149
1152
|
// Don't bother with calculate styling if the point is not drawn
|
|
1150
1153
|
if (point.shouldDraw()) {
|
|
1151
1154
|
if (borderRadius) {
|
|
1152
|
-
|
|
1155
|
+
attribs.r = borderRadius;
|
|
1153
1156
|
}
|
|
1154
1157
|
merge(true, // Extend object
|
|
1155
1158
|
// Which object to extend
|
|
1156
|
-
shouldAnimate ?
|
|
1159
|
+
shouldAnimate ? animatableAttribs : attribs,
|
|
1157
1160
|
// Add shapeArgs to animate/attr if graphic exists
|
|
1158
1161
|
hasGraphic ? shapeArgs : {},
|
|
1159
1162
|
// Add style attribs if !styleMode
|
|
1160
1163
|
styledMode ?
|
|
1161
1164
|
{} :
|
|
1162
|
-
series.pointAttribs(point,
|
|
1165
|
+
series.pointAttribs(point, point.selected ? 'select' : void 0));
|
|
1163
1166
|
// In styled mode apply point.color. Use CSS, otherwise the
|
|
1164
1167
|
// fill used in the style sheet will take precedence over
|
|
1165
1168
|
// the fill attribute.
|
|
@@ -1172,7 +1175,7 @@ seriesType('treemap', 'scatter'
|
|
|
1172
1175
|
.attr({
|
|
1173
1176
|
// @todo Set the zIndex based upon the number of
|
|
1174
1177
|
// levels, instead of using 1000
|
|
1175
|
-
zIndex: 1000 - levelDynamic
|
|
1178
|
+
zIndex: 1000 - (levelDynamic || 0)
|
|
1176
1179
|
})
|
|
1177
1180
|
.add(series.group);
|
|
1178
1181
|
series[groupKey].survive = true;
|
|
@@ -1180,8 +1183,8 @@ seriesType('treemap', 'scatter'
|
|
|
1180
1183
|
}
|
|
1181
1184
|
// Draw the point
|
|
1182
1185
|
point.draw({
|
|
1183
|
-
animatableAttribs:
|
|
1184
|
-
attribs:
|
|
1186
|
+
animatableAttribs: animatableAttribs,
|
|
1187
|
+
attribs: attribs,
|
|
1185
1188
|
css: css,
|
|
1186
1189
|
group: series[groupKey],
|
|
1187
1190
|
renderer: renderer,
|
|
@@ -1202,8 +1205,7 @@ seriesType('treemap', 'scatter'
|
|
|
1202
1205
|
onClickDrillToNode: function (event) {
|
|
1203
1206
|
var series = this, point = event.point, drillId = point && point.drillId;
|
|
1204
1207
|
// If a drill id is returned, add click event and cursor.
|
|
1205
|
-
if (isString(drillId)
|
|
1206
|
-
(series.isDrillAllowed ? series.isDrillAllowed(drillId) : true)) {
|
|
1208
|
+
if (isString(drillId)) {
|
|
1207
1209
|
point.setState(''); // Remove hover
|
|
1208
1210
|
series.setRootNode(drillId, true, { trigger: 'click' });
|
|
1209
1211
|
}
|
|
@@ -1327,35 +1329,20 @@ seriesType('treemap', 'scatter'
|
|
|
1327
1329
|
// Fire setRootNode event.
|
|
1328
1330
|
fireEvent(series, 'setRootNode', eventArgs, defaultFn);
|
|
1329
1331
|
},
|
|
1330
|
-
/**
|
|
1331
|
-
* Check if the drill up/down is allowed.
|
|
1332
|
-
*
|
|
1333
|
-
* @private
|
|
1334
|
-
*/
|
|
1335
|
-
isDrillAllowed: function (targetNode) {
|
|
1336
|
-
var tree = this.tree, firstChild = tree.children[0];
|
|
1337
|
-
// The sunburst series looks exactly the same on the level ''
|
|
1338
|
-
// and level 1 if there’s only one element on level 1. Disable
|
|
1339
|
-
// drilling up/down when it doesn't perform any visual
|
|
1340
|
-
// difference (#13388).
|
|
1341
|
-
return !(tree.children.length === 1 && ((this.rootNode === '' && targetNode === firstChild.id) ||
|
|
1342
|
-
(this.rootNode === firstChild.id && targetNode === '')));
|
|
1343
|
-
},
|
|
1344
1332
|
renderTraverseUpButton: function (rootId) {
|
|
1345
|
-
var series = this, nodeMap = series.nodeMap, node = nodeMap[rootId], name = node.name, buttonOptions = series.options.traverseUpButton, backText = pick(buttonOptions.text, name, '
|
|
1346
|
-
if (rootId === '' ||
|
|
1347
|
-
|
|
1348
|
-
|
|
1333
|
+
var series = this, nodeMap = series.nodeMap, node = nodeMap[rootId], name = node.name, buttonOptions = series.options.traverseUpButton, backText = pick(buttonOptions.text, name, '◁ Back'), attr, states;
|
|
1334
|
+
if (rootId === '' || (series.is('sunburst') &&
|
|
1335
|
+
series.tree.children.length === 1 &&
|
|
1336
|
+
rootId === series.tree.children[0].id)) {
|
|
1349
1337
|
if (series.drillUpButton) {
|
|
1350
|
-
series.drillUpButton =
|
|
1351
|
-
series.drillUpButton.destroy();
|
|
1338
|
+
series.drillUpButton = series.drillUpButton.destroy();
|
|
1352
1339
|
}
|
|
1353
1340
|
}
|
|
1354
1341
|
else if (!this.drillUpButton) {
|
|
1355
1342
|
attr = buttonOptions.theme;
|
|
1356
1343
|
states = attr && attr.states;
|
|
1357
1344
|
this.drillUpButton = this.chart.renderer
|
|
1358
|
-
.button(backText,
|
|
1345
|
+
.button(backText, 0, 0, function () {
|
|
1359
1346
|
series.drillUp();
|
|
1360
1347
|
}, attr, states && states.hover, states && states.select)
|
|
1361
1348
|
.addClass('highcharts-drillup-button')
|
|
@@ -1429,7 +1416,7 @@ seriesType('treemap', 'scatter'
|
|
|
1429
1416
|
* @function Highcharts.Point#isValid
|
|
1430
1417
|
*/
|
|
1431
1418
|
isValid: function () {
|
|
1432
|
-
return this.id || isNumber(this.value);
|
|
1419
|
+
return Boolean(this.id || isNumber(this.value));
|
|
1433
1420
|
},
|
|
1434
1421
|
setState: function (state) {
|
|
1435
1422
|
Point.prototype.setState.call(this, state);
|
|
@@ -1441,8 +1428,7 @@ seriesType('treemap', 'scatter'
|
|
|
1441
1428
|
}
|
|
1442
1429
|
},
|
|
1443
1430
|
shouldDraw: function () {
|
|
1444
|
-
|
|
1445
|
-
return isNumber(point.plotY) && point.y !== null;
|
|
1431
|
+
return isNumber(this.plotY) && this.y !== null;
|
|
1446
1432
|
}
|
|
1447
1433
|
});
|
|
1448
1434
|
addEvent(H.Series, 'afterBindAxes', function () {
|
|
@@ -9,15 +9,17 @@
|
|
|
9
9
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
10
10
|
*
|
|
11
11
|
* */
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
import BaseSeries from '../Core/Series/Series.js';
|
|
13
|
+
var seriesTypes = BaseSeries.seriesTypes;
|
|
14
|
+
import U from '../Core/Utilities.js';
|
|
15
|
+
var arrayMax = U.arrayMax, arrayMin = U.arrayMin, clamp = U.clamp, fireEvent = U.fireEvent, pick = U.pick;
|
|
16
|
+
import '../Core/Options.js';
|
|
17
|
+
import './PieSeries.js';
|
|
18
|
+
var pieProto = seriesTypes.pie.prototype;
|
|
14
19
|
/**
|
|
15
20
|
* @typedef {"area"|"radius"} Highcharts.VariablePieSizeByValue
|
|
16
21
|
*/
|
|
17
|
-
|
|
18
|
-
var arrayMax = U.arrayMax, arrayMin = U.arrayMin, clamp = U.clamp, fireEvent = U.fireEvent, pick = U.pick, seriesType = U.seriesType;
|
|
19
|
-
import '../Core/Options.js';
|
|
20
|
-
var pieProto = H.seriesTypes.pie.prototype;
|
|
22
|
+
''; // detach doclets above
|
|
21
23
|
/**
|
|
22
24
|
* The variablepie series type.
|
|
23
25
|
*
|
|
@@ -27,7 +29,7 @@ var pieProto = H.seriesTypes.pie.prototype;
|
|
|
27
29
|
*
|
|
28
30
|
* @augments Highcharts.Series
|
|
29
31
|
*/
|
|
30
|
-
seriesType('variablepie', 'pie',
|
|
32
|
+
BaseSeries.seriesType('variablepie', 'pie',
|
|
31
33
|
/**
|
|
32
34
|
* A variable pie series is a two dimensional series type, where each point
|
|
33
35
|
* renders an Y and Z value. Each point is drawn as a pie slice where the
|
|
@@ -9,12 +9,13 @@
|
|
|
9
9
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
10
10
|
*
|
|
11
11
|
* */
|
|
12
|
-
|
|
12
|
+
import Axis from '../Core/Axis/Axis.js';
|
|
13
|
+
import BaseSeries from '../Core/Series/Series.js';
|
|
14
|
+
var seriesTypes = BaseSeries.seriesTypes;
|
|
13
15
|
import H from '../Core/Globals.js';
|
|
14
16
|
import U from '../Core/Utilities.js';
|
|
15
|
-
var addEvent = U.addEvent, isNumber = U.isNumber, pick = U.pick,
|
|
17
|
+
var addEvent = U.addEvent, isNumber = U.isNumber, pick = U.pick, wrap = U.wrap;
|
|
16
18
|
import '../Series/AreaSeries.js';
|
|
17
|
-
var seriesTypes = H.seriesTypes;
|
|
18
19
|
/**
|
|
19
20
|
* @private
|
|
20
21
|
* @class
|
|
@@ -22,7 +23,7 @@ var seriesTypes = H.seriesTypes;
|
|
|
22
23
|
*
|
|
23
24
|
* @augments Highcharts.Series
|
|
24
25
|
*/
|
|
25
|
-
seriesType('variwide', 'column'
|
|
26
|
+
BaseSeries.seriesType('variwide', 'column'
|
|
26
27
|
/**
|
|
27
28
|
* A variwide chart (related to marimekko chart) is a column chart with a
|
|
28
29
|
* variable width expressing a third dimension.
|
|
@@ -192,13 +193,13 @@ H.Tick.prototype.postTranslate = function (xy, xOrY, index) {
|
|
|
192
193
|
};
|
|
193
194
|
/* eslint-disable no-invalid-this */
|
|
194
195
|
// Same width as the category (#8083)
|
|
195
|
-
addEvent(
|
|
196
|
+
addEvent(Axis, 'afterDrawCrosshair', function (e) {
|
|
196
197
|
if (this.variwide && this.cross) {
|
|
197
198
|
this.cross.attr('stroke-width', (e.point && e.point.crosshairWidth));
|
|
198
199
|
}
|
|
199
200
|
});
|
|
200
201
|
// On a vertical axis, apply anti-collision logic to the labels.
|
|
201
|
-
addEvent(
|
|
202
|
+
addEvent(Axis, 'afterRender', function () {
|
|
202
203
|
var axis = this;
|
|
203
204
|
if (!this.horiz && this.variwide) {
|
|
204
205
|
this.chart.labelCollectors.push(function () {
|
|
@@ -9,10 +9,12 @@
|
|
|
9
9
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
10
10
|
*
|
|
11
11
|
* */
|
|
12
|
-
|
|
12
|
+
import A from '../Core/Animation/AnimationUtilities.js';
|
|
13
|
+
var animObject = A.animObject;
|
|
14
|
+
import BaseSeries from '../Core/Series/Series.js';
|
|
13
15
|
import H from '../Core/Globals.js';
|
|
14
16
|
import U from '../Core/Utilities.js';
|
|
15
|
-
var
|
|
17
|
+
var arrayMax = U.arrayMax, pick = U.pick;
|
|
16
18
|
import './ScatterSeries.js';
|
|
17
19
|
/**
|
|
18
20
|
* The vector series class.
|
|
@@ -23,7 +25,7 @@ import './ScatterSeries.js';
|
|
|
23
25
|
*
|
|
24
26
|
* @augments Highcharts.seriesTypes.scatter
|
|
25
27
|
*/
|
|
26
|
-
seriesType('vector', 'scatter'
|
|
28
|
+
BaseSeries.seriesType('vector', 'scatter'
|
|
27
29
|
/**
|
|
28
30
|
* A vector plot is a type of cartesian chart where each point has an X and
|
|
29
31
|
* Y position, a length and a direction. Vectors are drawn as arrows.
|