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
package/modules/treemap.src.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Highcharts JS v8.2.
|
|
2
|
+
* @license Highcharts JS v8.2.2 (2020-10-22)
|
|
3
3
|
*
|
|
4
4
|
* (c) 2014-2019 Highsoft AS
|
|
5
5
|
* Authors: Jon Arild Nygard / Oystein Moseng
|
|
@@ -27,7 +27,177 @@
|
|
|
27
27
|
obj[path] = fn.apply(null, args);
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
_registerModule(_modules, 'Mixins/
|
|
30
|
+
_registerModule(_modules, 'Mixins/ColorMapSeries.js', [_modules['Core/Globals.js'], _modules['Core/Series/Point.js'], _modules['Core/Utilities.js']], function (H, Point, U) {
|
|
31
|
+
/* *
|
|
32
|
+
*
|
|
33
|
+
* (c) 2010-2020 Torstein Honsi
|
|
34
|
+
*
|
|
35
|
+
* License: www.highcharts.com/license
|
|
36
|
+
*
|
|
37
|
+
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
38
|
+
*
|
|
39
|
+
* */
|
|
40
|
+
var defined = U.defined;
|
|
41
|
+
var noop = H.noop,
|
|
42
|
+
seriesTypes = H.seriesTypes;
|
|
43
|
+
/**
|
|
44
|
+
* Mixin for maps and heatmaps
|
|
45
|
+
*
|
|
46
|
+
* @private
|
|
47
|
+
* @mixin Highcharts.colorMapPointMixin
|
|
48
|
+
*/
|
|
49
|
+
var colorMapPointMixin = {
|
|
50
|
+
dataLabelOnNull: true,
|
|
51
|
+
/* eslint-disable valid-jsdoc */
|
|
52
|
+
/**
|
|
53
|
+
* Color points have a value option that determines whether or not it is
|
|
54
|
+
* a null point
|
|
55
|
+
* @private
|
|
56
|
+
* @function Highcharts.colorMapPointMixin.isValid
|
|
57
|
+
* @return {boolean}
|
|
58
|
+
*/
|
|
59
|
+
isValid: function () {
|
|
60
|
+
// undefined is allowed
|
|
61
|
+
return (this.value !== null &&
|
|
62
|
+
this.value !== Infinity &&
|
|
63
|
+
this.value !== -Infinity);
|
|
64
|
+
},
|
|
65
|
+
/**
|
|
66
|
+
* @private
|
|
67
|
+
* @function Highcharts.colorMapPointMixin.setState
|
|
68
|
+
* @param {string} state
|
|
69
|
+
* @return {void}
|
|
70
|
+
*/
|
|
71
|
+
setState: function (state) {
|
|
72
|
+
Point.prototype.setState.call(this, state);
|
|
73
|
+
if (this.graphic) {
|
|
74
|
+
this.graphic.attr({
|
|
75
|
+
zIndex: state === 'hover' ? 1 : 0
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
/* eslint-enable valid-jsdoc */
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* @private
|
|
83
|
+
* @mixin Highcharts.colorMapSeriesMixin
|
|
84
|
+
*/
|
|
85
|
+
var colorMapSeriesMixin = {
|
|
86
|
+
pointArrayMap: ['value'],
|
|
87
|
+
axisTypes: ['xAxis', 'yAxis', 'colorAxis'],
|
|
88
|
+
trackerGroups: ['group', 'markerGroup', 'dataLabelsGroup'],
|
|
89
|
+
getSymbol: noop,
|
|
90
|
+
parallelArrays: ['x', 'y', 'value'],
|
|
91
|
+
colorKey: 'value',
|
|
92
|
+
pointAttribs: seriesTypes.column.prototype.pointAttribs,
|
|
93
|
+
/* eslint-disable valid-jsdoc */
|
|
94
|
+
/**
|
|
95
|
+
* Get the color attibutes to apply on the graphic
|
|
96
|
+
* @private
|
|
97
|
+
* @function Highcharts.colorMapSeriesMixin.colorAttribs
|
|
98
|
+
* @param {Highcharts.Point} point
|
|
99
|
+
* @return {Highcharts.SVGAttributes}
|
|
100
|
+
*/
|
|
101
|
+
colorAttribs: function (point) {
|
|
102
|
+
var ret = {};
|
|
103
|
+
if (defined(point.color)) {
|
|
104
|
+
ret[this.colorProp || 'fill'] = point.color;
|
|
105
|
+
}
|
|
106
|
+
return ret;
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
var exports = {
|
|
110
|
+
colorMapPointMixin: colorMapPointMixin,
|
|
111
|
+
colorMapSeriesMixin: colorMapSeriesMixin
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
return exports;
|
|
115
|
+
});
|
|
116
|
+
_registerModule(_modules, 'Mixins/DrawPoint.js', [], function () {
|
|
117
|
+
/* *
|
|
118
|
+
*
|
|
119
|
+
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
120
|
+
*
|
|
121
|
+
* */
|
|
122
|
+
var isFn = function (x) {
|
|
123
|
+
return typeof x === 'function';
|
|
124
|
+
};
|
|
125
|
+
/* eslint-disable no-invalid-this, valid-jsdoc */
|
|
126
|
+
/**
|
|
127
|
+
* Handles the drawing of a component.
|
|
128
|
+
* Can be used for any type of component that reserves the graphic property, and
|
|
129
|
+
* provides a shouldDraw on its context.
|
|
130
|
+
*
|
|
131
|
+
* @private
|
|
132
|
+
* @function draw
|
|
133
|
+
* @param {DrawPointParams} params
|
|
134
|
+
* Parameters.
|
|
135
|
+
*
|
|
136
|
+
* @todo add type checking.
|
|
137
|
+
* @todo export this function to enable usage
|
|
138
|
+
*/
|
|
139
|
+
var draw = function draw(params) {
|
|
140
|
+
var _a;
|
|
141
|
+
var component = this,
|
|
142
|
+
graphic = component.graphic,
|
|
143
|
+
animatableAttribs = params.animatableAttribs,
|
|
144
|
+
onComplete = params.onComplete,
|
|
145
|
+
css = params.css,
|
|
146
|
+
renderer = params.renderer,
|
|
147
|
+
animation = (_a = component.series) === null || _a === void 0 ? void 0 : _a.options.animation;
|
|
148
|
+
if (component.shouldDraw()) {
|
|
149
|
+
if (!graphic) {
|
|
150
|
+
component.graphic = graphic =
|
|
151
|
+
renderer[params.shapeType](params.shapeArgs)
|
|
152
|
+
.add(params.group);
|
|
153
|
+
}
|
|
154
|
+
graphic
|
|
155
|
+
.css(css)
|
|
156
|
+
.attr(params.attribs)
|
|
157
|
+
.animate(animatableAttribs, params.isNew ? false : animation, onComplete);
|
|
158
|
+
}
|
|
159
|
+
else if (graphic) {
|
|
160
|
+
var destroy = function () {
|
|
161
|
+
component.graphic = graphic = graphic.destroy();
|
|
162
|
+
if (isFn(onComplete)) {
|
|
163
|
+
onComplete();
|
|
164
|
+
}
|
|
165
|
+
};
|
|
166
|
+
// animate only runs complete callback if something was animated.
|
|
167
|
+
if (Object.keys(animatableAttribs).length) {
|
|
168
|
+
graphic.animate(animatableAttribs, void 0, function () {
|
|
169
|
+
destroy();
|
|
170
|
+
});
|
|
171
|
+
}
|
|
172
|
+
else {
|
|
173
|
+
destroy();
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
};
|
|
177
|
+
/**
|
|
178
|
+
* An extended version of draw customized for points.
|
|
179
|
+
* It calls additional methods that is expected when rendering a point.
|
|
180
|
+
* @private
|
|
181
|
+
* @param {Highcharts.Dictionary<any>} params Parameters
|
|
182
|
+
*/
|
|
183
|
+
var drawPoint = function drawPoint(params) {
|
|
184
|
+
var point = this,
|
|
185
|
+
attribs = params.attribs = params.attribs || {};
|
|
186
|
+
// Assigning class in dot notation does go well in IE8
|
|
187
|
+
// eslint-disable-next-line dot-notation
|
|
188
|
+
attribs['class'] = point.getClassName();
|
|
189
|
+
// Call draw to render component
|
|
190
|
+
draw.call(point, params);
|
|
191
|
+
};
|
|
192
|
+
var drawPointModule = {
|
|
193
|
+
draw: draw,
|
|
194
|
+
drawPoint: drawPoint,
|
|
195
|
+
isFn: isFn
|
|
196
|
+
};
|
|
197
|
+
|
|
198
|
+
return drawPointModule;
|
|
199
|
+
});
|
|
200
|
+
_registerModule(_modules, 'Mixins/TreeSeries.js', [_modules['Core/Color/Color.js'], _modules['Core/Utilities.js']], function (Color, U) {
|
|
31
201
|
/* *
|
|
32
202
|
*
|
|
33
203
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
@@ -255,91 +425,7 @@
|
|
|
255
425
|
|
|
256
426
|
return result;
|
|
257
427
|
});
|
|
258
|
-
_registerModule(_modules, 'Mixins/DrawPoint.js', [], function () {
|
|
259
|
-
/* *
|
|
260
|
-
*
|
|
261
|
-
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
262
|
-
*
|
|
263
|
-
* */
|
|
264
|
-
var isFn = function (x) {
|
|
265
|
-
return typeof x === 'function';
|
|
266
|
-
};
|
|
267
|
-
/* eslint-disable no-invalid-this, valid-jsdoc */
|
|
268
|
-
/**
|
|
269
|
-
* Handles the drawing of a component.
|
|
270
|
-
* Can be used for any type of component that reserves the graphic property, and
|
|
271
|
-
* provides a shouldDraw on its context.
|
|
272
|
-
*
|
|
273
|
-
* @private
|
|
274
|
-
* @function draw
|
|
275
|
-
* @param {DrawPointParams} params
|
|
276
|
-
* Parameters.
|
|
277
|
-
*
|
|
278
|
-
* @todo add type checking.
|
|
279
|
-
* @todo export this function to enable usage
|
|
280
|
-
*/
|
|
281
|
-
var draw = function draw(params) {
|
|
282
|
-
var _a;
|
|
283
|
-
var component = this,
|
|
284
|
-
graphic = component.graphic,
|
|
285
|
-
animatableAttribs = params.animatableAttribs,
|
|
286
|
-
onComplete = params.onComplete,
|
|
287
|
-
css = params.css,
|
|
288
|
-
renderer = params.renderer,
|
|
289
|
-
animation = (_a = component.series) === null || _a === void 0 ? void 0 : _a.options.animation;
|
|
290
|
-
if (component.shouldDraw()) {
|
|
291
|
-
if (!graphic) {
|
|
292
|
-
component.graphic = graphic =
|
|
293
|
-
renderer[params.shapeType](params.shapeArgs)
|
|
294
|
-
.add(params.group);
|
|
295
|
-
}
|
|
296
|
-
graphic
|
|
297
|
-
.css(css)
|
|
298
|
-
.attr(params.attribs)
|
|
299
|
-
.animate(animatableAttribs, params.isNew ? false : animation, onComplete);
|
|
300
|
-
}
|
|
301
|
-
else if (graphic) {
|
|
302
|
-
var destroy = function () {
|
|
303
|
-
component.graphic = graphic = graphic.destroy();
|
|
304
|
-
if (isFn(onComplete)) {
|
|
305
|
-
onComplete();
|
|
306
|
-
}
|
|
307
|
-
};
|
|
308
|
-
// animate only runs complete callback if something was animated.
|
|
309
|
-
if (Object.keys(animatableAttribs).length) {
|
|
310
|
-
graphic.animate(animatableAttribs, void 0, function () {
|
|
311
|
-
destroy();
|
|
312
|
-
});
|
|
313
|
-
}
|
|
314
|
-
else {
|
|
315
|
-
destroy();
|
|
316
|
-
}
|
|
317
|
-
}
|
|
318
|
-
};
|
|
319
|
-
/**
|
|
320
|
-
* An extended version of draw customized for points.
|
|
321
|
-
* It calls additional methods that is expected when rendering a point.
|
|
322
|
-
* @private
|
|
323
|
-
* @param {Highcharts.Dictionary<any>} params Parameters
|
|
324
|
-
*/
|
|
325
|
-
var drawPoint = function drawPoint(params) {
|
|
326
|
-
var point = this,
|
|
327
|
-
attribs = params.attribs = params.attribs || {};
|
|
328
|
-
// Assigning class in dot notation does go well in IE8
|
|
329
|
-
// eslint-disable-next-line dot-notation
|
|
330
|
-
attribs['class'] = point.getClassName();
|
|
331
|
-
// Call draw to render component
|
|
332
|
-
draw.call(point, params);
|
|
333
|
-
};
|
|
334
|
-
var drawPointModule = {
|
|
335
|
-
draw: draw,
|
|
336
|
-
drawPoint: drawPoint,
|
|
337
|
-
isFn: isFn
|
|
338
|
-
};
|
|
339
|
-
|
|
340
|
-
return drawPointModule;
|
|
341
|
-
});
|
|
342
|
-
_registerModule(_modules, 'Series/TreemapSeries.js', [_modules['Core/Globals.js'], _modules['Mixins/TreeSeries.js'], _modules['Mixins/DrawPoint.js'], _modules['Core/Color.js'], _modules['Mixins/LegendSymbol.js'], _modules['Core/Series/Point.js'], _modules['Core/Utilities.js']], function (H, mixinTreeSeries, drawPointModule, Color, LegendSymbolMixin, Point, U) {
|
|
428
|
+
_registerModule(_modules, 'Series/TreemapSeries.js', [_modules['Core/Series/Series.js'], _modules['Core/Color/Color.js'], _modules['Mixins/ColorMapSeries.js'], _modules['Mixins/DrawPoint.js'], _modules['Core/Globals.js'], _modules['Mixins/LegendSymbol.js'], _modules['Core/Series/Point.js'], _modules['Mixins/TreeSeries.js'], _modules['Core/Utilities.js']], function (BaseSeries, Color, ColorMapMixin, DrawPointMixin, H, LegendSymbolMixin, Point, TreeSeriesMixin, U) {
|
|
343
429
|
/* *
|
|
344
430
|
*
|
|
345
431
|
* (c) 2014-2020 Highsoft AS
|
|
@@ -351,11 +437,14 @@
|
|
|
351
437
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
352
438
|
*
|
|
353
439
|
* */
|
|
354
|
-
var
|
|
355
|
-
getLevelOptions = mixinTreeSeries.getLevelOptions,
|
|
356
|
-
updateRootId = mixinTreeSeries.updateRootId;
|
|
357
|
-
var drawPoint = drawPointModule.drawPoint;
|
|
440
|
+
var seriesTypes = BaseSeries.seriesTypes;
|
|
358
441
|
var color = Color.parse;
|
|
442
|
+
var colorMapSeriesMixin = ColorMapMixin.colorMapSeriesMixin;
|
|
443
|
+
var drawPoint = DrawPointMixin.drawPoint;
|
|
444
|
+
var noop = H.noop;
|
|
445
|
+
var getColor = TreeSeriesMixin.getColor,
|
|
446
|
+
getLevelOptions = TreeSeriesMixin.getLevelOptions,
|
|
447
|
+
updateRootId = TreeSeriesMixin.updateRootId;
|
|
359
448
|
var addEvent = U.addEvent,
|
|
360
449
|
correctFloat = U.correctFloat,
|
|
361
450
|
defined = U.defined,
|
|
@@ -369,14 +458,11 @@
|
|
|
369
458
|
merge = U.merge,
|
|
370
459
|
objectEach = U.objectEach,
|
|
371
460
|
pick = U.pick,
|
|
372
|
-
seriesType = U.seriesType,
|
|
373
461
|
stableSort = U.stableSort;
|
|
374
462
|
/* eslint-disable no-invalid-this */
|
|
375
463
|
var AXIS_MAX = 100;
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
// @todo Similar to eachObject, this function is likely redundant
|
|
379
|
-
isBoolean = function (x) {
|
|
464
|
+
// @todo Similar to eachObject, this function is likely redundant
|
|
465
|
+
var isBoolean = function (x) {
|
|
380
466
|
return typeof x === 'boolean';
|
|
381
467
|
}, Series = H.Series,
|
|
382
468
|
// @todo Similar to recursive, this function is likely redundant
|
|
@@ -404,7 +490,7 @@
|
|
|
404
490
|
*
|
|
405
491
|
* @augments Highcharts.Series
|
|
406
492
|
*/
|
|
407
|
-
seriesType('treemap', 'scatter'
|
|
493
|
+
BaseSeries.seriesType('treemap', 'scatter'
|
|
408
494
|
/**
|
|
409
495
|
* A treemap displays hierarchical data using nested rectangles. The data
|
|
410
496
|
* can be laid out in varying ways depending on options.
|
|
@@ -521,7 +607,7 @@
|
|
|
521
607
|
/**
|
|
522
608
|
* @ignore-option
|
|
523
609
|
*/
|
|
524
|
-
marker:
|
|
610
|
+
marker: void 0,
|
|
525
611
|
/**
|
|
526
612
|
* When using automatic point colors pulled from the `options.colors`
|
|
527
613
|
* collection, this option determines whether the chart should receive
|
|
@@ -926,8 +1012,8 @@
|
|
|
926
1012
|
allIds = this.data.map(function (d) {
|
|
927
1013
|
return d.id;
|
|
928
1014
|
}), parentList = series.getListOfParents(this.data, allIds);
|
|
929
|
-
series.nodeMap =
|
|
930
|
-
return series.buildNode('', -1, 0, parentList
|
|
1015
|
+
series.nodeMap = {};
|
|
1016
|
+
return series.buildNode('', -1, 0, parentList);
|
|
931
1017
|
},
|
|
932
1018
|
// Define hasData function for non-cartesian series.
|
|
933
1019
|
// Returns true if the series has points at all.
|
|
@@ -936,7 +1022,6 @@
|
|
|
936
1022
|
},
|
|
937
1023
|
init: function (chart, options) {
|
|
938
1024
|
var series = this,
|
|
939
|
-
colorMapSeriesMixin = H.colorMapSeriesMixin,
|
|
940
1025
|
setOptionsEvent;
|
|
941
1026
|
// If color series logic is loaded, add some properties
|
|
942
1027
|
if (colorMapSeriesMixin) {
|
|
@@ -1015,7 +1100,7 @@
|
|
|
1015
1100
|
});
|
|
1016
1101
|
// Sort the children
|
|
1017
1102
|
stableSort(children, function (a, b) {
|
|
1018
|
-
return a.sortIndex - b.sortIndex;
|
|
1103
|
+
return (a.sortIndex || 0) - (b.sortIndex || 0);
|
|
1019
1104
|
});
|
|
1020
1105
|
// Set the values
|
|
1021
1106
|
val = pick(point && point.options.value, childrenTotal);
|
|
@@ -1594,27 +1679,27 @@
|
|
|
1594
1679
|
allowTraversingTree = options.allowTraversingTree;
|
|
1595
1680
|
points.forEach(function (point) {
|
|
1596
1681
|
var levelDynamic = point.node.levelDynamic,
|
|
1597
|
-
|
|
1598
|
-
|
|
1682
|
+
animatableAttribs = {},
|
|
1683
|
+
attribs = {},
|
|
1599
1684
|
css = {},
|
|
1600
|
-
groupKey = 'level-group-' +
|
|
1685
|
+
groupKey = 'level-group-' + point.node.level,
|
|
1601
1686
|
hasGraphic = !!point.graphic,
|
|
1602
1687
|
shouldAnimate = withinAnimationLimit && hasGraphic,
|
|
1603
1688
|
shapeArgs = point.shapeArgs;
|
|
1604
1689
|
// Don't bother with calculate styling if the point is not drawn
|
|
1605
1690
|
if (point.shouldDraw()) {
|
|
1606
1691
|
if (borderRadius) {
|
|
1607
|
-
|
|
1692
|
+
attribs.r = borderRadius;
|
|
1608
1693
|
}
|
|
1609
1694
|
merge(true, // Extend object
|
|
1610
1695
|
// Which object to extend
|
|
1611
|
-
shouldAnimate ?
|
|
1696
|
+
shouldAnimate ? animatableAttribs : attribs,
|
|
1612
1697
|
// Add shapeArgs to animate/attr if graphic exists
|
|
1613
1698
|
hasGraphic ? shapeArgs : {},
|
|
1614
1699
|
// Add style attribs if !styleMode
|
|
1615
1700
|
styledMode ?
|
|
1616
1701
|
{} :
|
|
1617
|
-
series.pointAttribs(point,
|
|
1702
|
+
series.pointAttribs(point, point.selected ? 'select' : void 0));
|
|
1618
1703
|
// In styled mode apply point.color. Use CSS, otherwise the
|
|
1619
1704
|
// fill used in the style sheet will take precedence over
|
|
1620
1705
|
// the fill attribute.
|
|
@@ -1627,7 +1712,7 @@
|
|
|
1627
1712
|
.attr({
|
|
1628
1713
|
// @todo Set the zIndex based upon the number of
|
|
1629
1714
|
// levels, instead of using 1000
|
|
1630
|
-
zIndex: 1000 - levelDynamic
|
|
1715
|
+
zIndex: 1000 - (levelDynamic || 0)
|
|
1631
1716
|
})
|
|
1632
1717
|
.add(series.group);
|
|
1633
1718
|
series[groupKey].survive = true;
|
|
@@ -1635,8 +1720,8 @@
|
|
|
1635
1720
|
}
|
|
1636
1721
|
// Draw the point
|
|
1637
1722
|
point.draw({
|
|
1638
|
-
animatableAttribs:
|
|
1639
|
-
attribs:
|
|
1723
|
+
animatableAttribs: animatableAttribs,
|
|
1724
|
+
attribs: attribs,
|
|
1640
1725
|
css: css,
|
|
1641
1726
|
group: series[groupKey],
|
|
1642
1727
|
renderer: renderer,
|
|
@@ -1659,8 +1744,7 @@
|
|
|
1659
1744
|
point = event.point,
|
|
1660
1745
|
drillId = point && point.drillId;
|
|
1661
1746
|
// If a drill id is returned, add click event and cursor.
|
|
1662
|
-
if (isString(drillId)
|
|
1663
|
-
(series.isDrillAllowed ? series.isDrillAllowed(drillId) : true)) {
|
|
1747
|
+
if (isString(drillId)) {
|
|
1664
1748
|
point.setState(''); // Remove hover
|
|
1665
1749
|
series.setRootNode(drillId, true, { trigger: 'click' });
|
|
1666
1750
|
}
|
|
@@ -1791,21 +1875,6 @@
|
|
|
1791
1875
|
// Fire setRootNode event.
|
|
1792
1876
|
fireEvent(series, 'setRootNode', eventArgs, defaultFn);
|
|
1793
1877
|
},
|
|
1794
|
-
/**
|
|
1795
|
-
* Check if the drill up/down is allowed.
|
|
1796
|
-
*
|
|
1797
|
-
* @private
|
|
1798
|
-
*/
|
|
1799
|
-
isDrillAllowed: function (targetNode) {
|
|
1800
|
-
var tree = this.tree,
|
|
1801
|
-
firstChild = tree.children[0];
|
|
1802
|
-
// The sunburst series looks exactly the same on the level ''
|
|
1803
|
-
// and level 1 if there’s only one element on level 1. Disable
|
|
1804
|
-
// drilling up/down when it doesn't perform any visual
|
|
1805
|
-
// difference (#13388).
|
|
1806
|
-
return !(tree.children.length === 1 && ((this.rootNode === '' && targetNode === firstChild.id) ||
|
|
1807
|
-
(this.rootNode === firstChild.id && targetNode === '')));
|
|
1808
|
-
},
|
|
1809
1878
|
renderTraverseUpButton: function (rootId) {
|
|
1810
1879
|
var series = this,
|
|
1811
1880
|
nodeMap = series.nodeMap,
|
|
@@ -1813,22 +1882,21 @@
|
|
|
1813
1882
|
name = node.name,
|
|
1814
1883
|
buttonOptions = series.options.traverseUpButton,
|
|
1815
1884
|
backText = pick(buttonOptions.text,
|
|
1816
|
-
name, '
|
|
1885
|
+
name, '◁ Back'),
|
|
1817
1886
|
attr,
|
|
1818
1887
|
states;
|
|
1819
|
-
if (rootId === '' ||
|
|
1820
|
-
|
|
1821
|
-
|
|
1888
|
+
if (rootId === '' || (series.is('sunburst') &&
|
|
1889
|
+
series.tree.children.length === 1 &&
|
|
1890
|
+
rootId === series.tree.children[0].id)) {
|
|
1822
1891
|
if (series.drillUpButton) {
|
|
1823
|
-
series.drillUpButton =
|
|
1824
|
-
series.drillUpButton.destroy();
|
|
1892
|
+
series.drillUpButton = series.drillUpButton.destroy();
|
|
1825
1893
|
}
|
|
1826
1894
|
}
|
|
1827
1895
|
else if (!this.drillUpButton) {
|
|
1828
1896
|
attr = buttonOptions.theme;
|
|
1829
1897
|
states = attr && attr.states;
|
|
1830
1898
|
this.drillUpButton = this.chart.renderer
|
|
1831
|
-
.button(backText,
|
|
1899
|
+
.button(backText, 0, 0, function () {
|
|
1832
1900
|
series.drillUp();
|
|
1833
1901
|
}, attr, states && states.hover, states && states.select)
|
|
1834
1902
|
.addClass('highcharts-drillup-button')
|
|
@@ -1907,7 +1975,7 @@
|
|
|
1907
1975
|
* @function Highcharts.Point#isValid
|
|
1908
1976
|
*/
|
|
1909
1977
|
isValid: function () {
|
|
1910
|
-
return this.id || isNumber(this.value);
|
|
1978
|
+
return Boolean(this.id || isNumber(this.value));
|
|
1911
1979
|
},
|
|
1912
1980
|
setState: function (state) {
|
|
1913
1981
|
Point.prototype.setState.call(this, state);
|
|
@@ -1919,8 +1987,7 @@
|
|
|
1919
1987
|
}
|
|
1920
1988
|
},
|
|
1921
1989
|
shouldDraw: function () {
|
|
1922
|
-
|
|
1923
|
-
return isNumber(point.plotY) && point.y !== null;
|
|
1990
|
+
return isNumber(this.plotY) && this.y !== null;
|
|
1924
1991
|
}
|
|
1925
1992
|
});
|
|
1926
1993
|
addEvent(H.Series, 'afterBindAxes', function () {
|
package/modules/variable-pie.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Highcharts JS v8.2.
|
|
2
|
+
Highcharts JS v8.2.2 (2020-10-22)
|
|
3
3
|
|
|
4
4
|
Variable Pie module for Highcharts
|
|
5
5
|
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
|
|
8
8
|
License: www.highcharts.com/license
|
|
9
9
|
*/
|
|
10
|
-
(function(b){"object"===typeof module&&module.exports?(b["default"]=b,module.exports=b):"function"===typeof define&&define.amd?define("highcharts/modules/variable-pie",["highcharts"],function(
|
|
11
|
-
|
|
12
|
-
this.chart,b=this.options;var c=this.zData;var
|
|
13
|
-
b,c,
|
|
14
|
-
n.length;this.startAngleRad=q;this.endAngleRad=k;this.calculateExtremes();a||(this.center=a=this.getCenter());for(k=0;k<h;k++){var f=n[k];var m=this.radii[k];f.labelDistance=p(f.options.dataLabels&&f.options.dataLabels.distance,u);this.maxLabelDistance=Math.max(this.maxLabelDistance||0,f.labelDistance);var
|
|
15
|
-
|
|
16
|
-
r+Math.cos(
|
|
10
|
+
(function(b){"object"===typeof module&&module.exports?(b["default"]=b,module.exports=b):"function"===typeof define&&define.amd?define("highcharts/modules/variable-pie",["highcharts"],function(e){b(e);b.Highcharts=e;return b}):b("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(b){function e(b,g,e,n){b.hasOwnProperty(g)||(b[g]=n.apply(null,e))}b=b?b._modules:{};e(b,"Series/VariablePieSeries.js",[b["Core/Series/Series.js"],b["Core/Utilities.js"]],function(b,g){var e=g.arrayMax,n=g.arrayMin,
|
|
11
|
+
w=g.clamp,x=g.fireEvent,p=g.pick,y=b.seriesTypes.pie.prototype;"";b.seriesType("variablepie","pie",{minPointSize:"10%",maxPointSize:"100%",zMin:void 0,zMax:void 0,sizeBy:"area",tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span> {series.name}<br/>Value: {point.y}<br/>Size: {point.z}<br/>'}},{pointArrayMap:["y","z"],parallelArrays:["x","y","z"],redraw:function(){this.center=null;y.redraw.call(this,arguments)},zValEval:function(a){return"number"!==typeof a||isNaN(a)?null:!0},calculateExtremes:function(){var a=
|
|
12
|
+
this.chart,b=this.options;var c=this.zData;var g=Math.min(a.plotWidth,a.plotHeight)-2*(b.slicedOffset||0),l={};a=this.center||this.getCenter();["minPointSize","maxPointSize"].forEach(function(a){var c=b[a],k=/%$/.test(c);c=parseInt(c,10);l[a]=k?g*c/100:2*c});this.minPxSize=a[3]+l.minPointSize;this.maxPxSize=w(a[2],a[3]+l.minPointSize,l.maxPointSize);c.length&&(a=p(b.zMin,n(c.filter(this.zValEval))),c=p(b.zMax,e(c.filter(this.zValEval))),this.getRadii(a,c,this.minPxSize,this.maxPxSize))},getRadii:function(a,
|
|
13
|
+
b,c,g){var l=0,e=this.zData,q=e.length,k=[],p="radius"!==this.options.sizeBy,u=b-a;for(l;l<q;l++){var h=this.zValEval(e[l])?e[l]:a;h<=a?h=c/2:h>=b?h=g/2:(h=0<u?(h-a)/u:.5,p&&(h=Math.sqrt(h)),h=Math.ceil(c+h*(g-c))/2);k.push(h)}this.radii=k},translate:function(a){this.generatePoints();var b=0,c=this.options,e=c.slicedOffset,g=e+(c.borderWidth||0),t=c.startAngle||0,q=Math.PI/180*(t-90),k=Math.PI/180*(p(c.endAngle,t+360)-90);t=k-q;var n=this.points,u=c.dataLabels.distance;c=c.ignoreHiddenPoint;var h=
|
|
14
|
+
n.length;this.startAngleRad=q;this.endAngleRad=k;this.calculateExtremes();a||(this.center=a=this.getCenter());for(k=0;k<h;k++){var f=n[k];var m=this.radii[k];f.labelDistance=p(f.options.dataLabels&&f.options.dataLabels.distance,u);this.maxLabelDistance=Math.max(this.maxLabelDistance||0,f.labelDistance);var d=q+b*t;if(!c||f.visible)b+=f.percentage/100;var r=q+b*t;f.shapeType="arc";f.shapeArgs={x:a[0],y:a[1],r:m,innerR:a[3]/2,start:Math.round(1E3*d)/1E3,end:Math.round(1E3*r)/1E3};d=(r+d)/2;d>1.5*Math.PI?
|
|
15
|
+
d-=2*Math.PI:d<-Math.PI/2&&(d+=2*Math.PI);f.slicedTranslation={translateX:Math.round(Math.cos(d)*e),translateY:Math.round(Math.sin(d)*e)};var v=Math.cos(d)*a[2]/2;var w=Math.sin(d)*a[2]/2;r=Math.cos(d)*m;m*=Math.sin(d);f.tooltipPos=[a[0]+.7*v,a[1]+.7*w];f.half=d<-Math.PI/2||d>Math.PI/2?1:0;f.angle=d;v=Math.min(g,f.labelDistance/5);f.labelPosition={natural:{x:a[0]+r+Math.cos(d)*f.labelDistance,y:a[1]+m+Math.sin(d)*f.labelDistance},"final":{},alignment:f.half?"right":"left",connectorPosition:{breakAt:{x:a[0]+
|
|
16
|
+
r+Math.cos(d)*v,y:a[1]+m+Math.sin(d)*v},touchingSliceAt:{x:a[0]+r,y:a[1]+m}}}}x(this,"afterTranslate")}});""});e(b,"masters/modules/variable-pie.src.js",[],function(){})});
|
|
17
17
|
//# sourceMappingURL=variable-pie.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"variable-pie.js.map","lineCount":16,"mappings":"A;;;;;;;;;AAUC,SAAS,CAACA,CAAD,CAAU,CACM,QAAtB,GAAI,MAAOC,OAAX,EAAkCA,MAAAC,QAAlC,EACIF,CAAA,CAAQ,SAAR,CACA,CADqBA,CACrB,CAAAC,MAAAC,QAAA,CAAiBF,CAFrB,EAG6B,UAAtB,GAAI,MAAOG,OAAX,EAAoCA,MAAAC,IAApC,CACHD,MAAA,CAAO,iCAAP,CAA0C,CAAC,YAAD,CAA1C,CAA0D,QAAS,CAACE,CAAD,CAAa,CAC5EL,CAAA,CAAQK,CAAR,CACAL,EAAAK,WAAA,CAAqBA,CACrB,OAAOL,EAHqE,CAAhF,CADG,CAOHA,CAAA,CAA8B,WAAtB,GAAA,MAAOK,WAAP,CAAoCA,UAApC,CAAiDC,IAAAA,EAAzD,CAXY,CAAnB,CAAA,CAaC,QAAS,CAACD,CAAD,CAAa,CAEpBE,QAASA,EAAe,CAACC,CAAD,CAAMC,CAAN,CAAYC,CAAZ,CAAkBC,CAAlB,CAAsB,CACrCH,CAAAI,eAAA,CAAmBH,CAAnB,CAA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AA6B,cAAA,CAAsB,CAClBC,QAAS,CAGLpB,EAAGnD,CAAA,CAAU,CAAV,CAAHmD,CAAkBc,CAAlBd,CACIzD,IAAAkE,IAAA,CAASH,CAAT,CADJN,CACsBV,CAAAJ,cAJjB,CAKLe,EAAGpD,CAAA,CAAU,CAAV,CAAHoD,CAAkBc,CAAlBd,CACI1D,IAAAoE,IAAA,CAASL,CAAT,CADJL,CACsBX,CAAAJ,cANjB,CADS,CASlB,QAAS,EATS,CAiBlBmC,UAAW/B,CAAA2B,KAAA,CAAa,OAAb,CAAuB,MAjBhB,CAkBlBK,kBAAmB,CACfC,QAAS,CACLvB,EAAGnD,CAAA,CAAU,CAAV,CAAHmD;AAAkBc,CAAlBd,CACIzD,IAAAkE,IAAA,CAASH,CAAT,CADJN,CACsBkB,CAFjB,CAGLjB,EAAGpD,CAAA,CAAU,CAAV,CAAHoD,CAAkBc,CAAlBd,CACI1D,IAAAoE,IAAA,CAASL,CAAT,CADJL,CACsBiB,CAJjB,CADM,CAOfM,gBAAiB,CACbxB,EAAGnD,CAAA,CAAU,CAAV,CAAHmD,CAAkBc,CADL,CAEbb,EAAGpD,CAAA,CAAU,CAAV,CAAHoD,CAAkBc,CAFL,CAPF,CAlBD,CAtDA,CAsF1BtG,CAAA,CA5HayB,IA4Hb,CAAkB,gBAAlB,CA9H4B,CAlHjC,CApFH,CAkYA,GAlakJ,CAAtJ,CAqaAtC,EAAA,CAAgBO,CAAhB,CAA0B,qCAA1B,CAAiE,EAAjE,CAAqE,QAAS,EAAG,EAAjF,CA5aoB,CAbvB;","sources":["variable-pie.src.js"],"names":["factory","module","exports","define","amd","Highcharts","undefined","_registerModule","obj","path","args","fn","hasOwnProperty","apply","_modules","BaseSeries","U","arrayMax","arrayMin","clamp","fireEvent","pick","pieProto","seriesTypes","pie","prototype","seriesType","minPointSize","maxPointSize","zMin","zMax","sizeBy","tooltip","pointFormat","pointArrayMap","parallelArrays","redraw","center","call","arguments","zValEval","zVal","isNaN","calculateExtremes","chart","series","seriesOptions","options","zData","smallestSize","Math","min","plotWidth","plotHeight","slicedOffset","extremes","positions","getCenter","forEach","prop","length","isPercent","test","parseInt","minPxSize","maxPxSize","filter","getRadii","minSize","maxSize","i","len","radii","sizeByArea","zRange","value","radius","pos","sqrt","ceil","push","translate","generatePoints","cumulative","connectorOffset","borderWidth","startAngle","startAngleRad","PI","endAngleRad","endAngle","circ","points","labelDistance","dataLabels","distance","ignoreHiddenPoint","point","pointRadii","maxLabelDistance","max","start","visible","percentage","end","shapeType","shapeArgs","x","y","r","innerR","round","precision","angle","slicedTranslation","translateX","cos","translateY","sin","radiusX","radiusY","pointRadiusX","pointRadiusY","tooltipPos","half","finalConnectorOffset","labelPosition","natural","alignment","connectorPosition","breakAt","touchingSliceAt"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Highcharts JS v8.2.
|
|
2
|
+
* @license Highcharts JS v8.2.2 (2020-10-22)
|
|
3
3
|
*
|
|
4
4
|
* Variable Pie module for Highcharts
|
|
5
5
|
*
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
obj[path] = fn.apply(null, args);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
_registerModule(_modules, 'Series/VariablePieSeries.js', [_modules['Core/
|
|
31
|
+
_registerModule(_modules, 'Series/VariablePieSeries.js', [_modules['Core/Series/Series.js'], _modules['Core/Utilities.js']], function (BaseSeries, U) {
|
|
32
32
|
/* *
|
|
33
33
|
*
|
|
34
34
|
* Variable Pie module for Highcharts
|
|
@@ -40,16 +40,17 @@
|
|
|
40
40
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
41
41
|
*
|
|
42
42
|
* */
|
|
43
|
-
|
|
44
|
-
* @typedef {"area"|"radius"} Highcharts.VariablePieSizeByValue
|
|
45
|
-
*/
|
|
43
|
+
var seriesTypes = BaseSeries.seriesTypes;
|
|
46
44
|
var arrayMax = U.arrayMax,
|
|
47
45
|
arrayMin = U.arrayMin,
|
|
48
46
|
clamp = U.clamp,
|
|
49
47
|
fireEvent = U.fireEvent,
|
|
50
|
-
pick = U.pick
|
|
51
|
-
|
|
52
|
-
|
|
48
|
+
pick = U.pick;
|
|
49
|
+
var pieProto = seriesTypes.pie.prototype;
|
|
50
|
+
/**
|
|
51
|
+
* @typedef {"area"|"radius"} Highcharts.VariablePieSizeByValue
|
|
52
|
+
*/
|
|
53
|
+
''; // detach doclets above
|
|
53
54
|
/**
|
|
54
55
|
* The variablepie series type.
|
|
55
56
|
*
|
|
@@ -59,7 +60,7 @@
|
|
|
59
60
|
*
|
|
60
61
|
* @augments Highcharts.Series
|
|
61
62
|
*/
|
|
62
|
-
seriesType('variablepie', 'pie',
|
|
63
|
+
BaseSeries.seriesType('variablepie', 'pie',
|
|
63
64
|
/**
|
|
64
65
|
* A variable pie series is a two dimensional series type, where each point
|
|
65
66
|
* renders an Y and Z value. Each point is drawn as a pie slice where the
|