highcharts 8.1.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/css/highcharts.css +12 -0
- package/css/highcharts.scss +12 -0
- package/css/themes/dark-unica.css +12 -0
- package/css/themes/grid-light.css +12 -0
- package/css/themes/sand-signika.css +12 -0
- package/es-modules/{modules/accessibility/a11y-i18n.js → Accessibility/A11yI18n.js} +2 -2
- package/es-modules/{modules/accessibility/accessibility.js → Accessibility/Accessibility.js} +24 -21
- package/es-modules/{modules/accessibility → Accessibility}/AccessibilityComponent.js +73 -17
- package/es-modules/{modules/accessibility/components → Accessibility/Components}/AnnotationsA11y.js +2 -4
- package/es-modules/{modules/accessibility/components → Accessibility/Components}/ContainerComponent.js +8 -9
- package/es-modules/{modules/accessibility/components → Accessibility/Components}/InfoRegionsComponent.js +9 -12
- package/es-modules/{modules/accessibility/components → Accessibility/Components}/LegendComponent.js +60 -22
- package/es-modules/{modules/accessibility/components → Accessibility/Components}/MenuComponent.js +4 -11
- package/es-modules/{modules/accessibility/components → Accessibility/Components}/RangeSelectorComponent.js +8 -7
- package/es-modules/Accessibility/Components/SeriesComponent/ForcedMarkers.js +171 -0
- package/es-modules/{modules/accessibility/components → Accessibility/Components}/SeriesComponent/NewDataAnnouncer.js +8 -7
- package/es-modules/{modules/accessibility/components → Accessibility/Components}/SeriesComponent/SeriesComponent.js +5 -5
- package/es-modules/{modules/accessibility/components → Accessibility/Components}/SeriesComponent/SeriesDescriber.js +6 -6
- package/es-modules/{modules/accessibility/components → Accessibility/Components}/SeriesComponent/SeriesKeyboardNavigation.js +22 -20
- package/es-modules/{modules/accessibility/components → Accessibility/Components}/ZoomComponent.js +9 -8
- package/es-modules/{modules/accessibility/focusBorder.js → Accessibility/FocusBorder.js} +13 -10
- package/es-modules/{modules/accessibility/high-contrast-mode.js → Accessibility/HighContrastMode.js} +3 -2
- package/es-modules/{modules/accessibility/high-contrast-theme.js → Accessibility/HighContrastTheme.js} +0 -0
- package/es-modules/{modules/accessibility → Accessibility}/KeyboardNavigation.js +35 -22
- package/es-modules/{modules/accessibility → Accessibility}/KeyboardNavigationHandler.js +1 -1
- package/es-modules/{modules/accessibility/options/deprecatedOptions.js → Accessibility/Options/DeprecatedOptions.js} +10 -20
- package/es-modules/{modules/accessibility/options/langOptions.js → Accessibility/Options/LangOptions.js} +1 -1
- package/es-modules/{modules/accessibility/options/options.js → Accessibility/Options/Options.js} +1 -2
- package/es-modules/{modules/accessibility/utils → Accessibility/Utils}/Announcer.js +2 -2
- package/es-modules/{modules/accessibility/utils/chartUtilities.js → Accessibility/Utils/ChartUtilities.js} +8 -9
- package/es-modules/{modules/accessibility/utils → Accessibility/Utils}/DOMElementProvider.js +5 -5
- package/es-modules/{modules/accessibility/utils → Accessibility/Utils}/EventProvider.js +2 -2
- package/es-modules/{modules/accessibility/utils/htmlUtilities.js → Accessibility/Utils/HTMLUtilities.js} +3 -4
- package/es-modules/Core/Animation/AnimationUtilities.js +193 -0
- package/es-modules/Core/Animation/Fx.js +378 -0
- package/es-modules/{parts → Core/Axis}/Axis.js +153 -89
- package/es-modules/{parts-3d → Core/Axis}/Axis3D.js +12 -7
- package/es-modules/{modules/broken-axis.src.js → Core/Axis/BrokenAxis.js} +6 -8
- package/es-modules/{parts-map → Core/Axis}/ColorAxis.js +28 -31
- package/es-modules/{parts → Core/Axis}/DateTimeAxis.js +1 -1
- package/es-modules/{parts-gantt → Core/Axis}/GridAxis.js +136 -39
- package/es-modules/{parts-more → Core/Axis}/HiddenAxis.js +0 -0
- package/es-modules/{parts → Core/Axis}/LogarithmicAxis.js +1 -1
- package/es-modules/{parts-map → Core/Axis}/MapAxis.js +2 -2
- package/es-modules/{parts → Core/Axis}/NavigatorAxis.js +2 -2
- package/es-modules/{parts → Core/Axis}/OrdinalAxis.js +241 -224
- package/es-modules/{parts → Core/Axis}/PlotLineOrBand.js +24 -15
- package/es-modules/{parts-more → Core/Axis}/RadialAxis.js +34 -27
- package/es-modules/{parts → Core/Axis}/ScrollbarAxis.js +2 -2
- package/es-modules/{parts → Core/Axis}/StackingAxis.js +11 -2
- package/es-modules/{parts → Core/Axis}/Tick.js +14 -14
- package/es-modules/{parts-3d → Core/Axis}/Tick3D.js +1 -1
- package/es-modules/{parts-gantt → Core/Axis}/TreeGridAxis.js +81 -15
- package/es-modules/{parts-gantt → Core/Axis}/TreeGridTick.js +1 -1
- package/es-modules/{parts-3d → Core/Axis}/ZAxis.js +2 -2
- package/es-modules/{parts → Core/Chart}/Chart.js +225 -227
- package/es-modules/Core/Chart/Chart3D.js +1674 -0
- package/es-modules/{parts-gantt → Core/Chart}/GanttChart.js +13 -12
- package/es-modules/{parts → Core/Chart}/StockChart.js +26 -25
- package/es-modules/Core/Color/Color.js +419 -0
- package/es-modules/Core/Color/ColorType.js +9 -0
- package/es-modules/{parts → Core}/Color.js +1 -1
- package/es-modules/{parts → Core}/Dynamics.js +91 -61
- package/es-modules/{parts → Core}/Globals.js +9 -1
- package/es-modules/{parts → Core}/Interaction.js +27 -20
- package/es-modules/{parts → Core}/Legend.js +26 -11
- package/es-modules/{parts → Core}/MSPointer.js +2 -2
- package/es-modules/{parts → Core}/Navigator.js +24 -14
- package/es-modules/{parts → Core}/Options.js +157 -69
- package/es-modules/{parts → Core}/Pointer.js +50 -27
- package/es-modules/Core/Renderer/DOMElementType.js +9 -0
- package/es-modules/Core/Renderer/HTML/HTMLElement.js +220 -0
- package/es-modules/{parts/Html.js → Core/Renderer/HTML/HTMLRenderer.js} +16 -207
- package/es-modules/{parts → Core/Renderer/SVG}/SVGElement.js +186 -32
- package/es-modules/Core/Renderer/SVG/SVGLabel.js +410 -0
- package/es-modules/{parts/SvgRenderer.js → Core/Renderer/SVG/SVGRenderer.js} +426 -886
- package/es-modules/{parts-3d/SVGRenderer.js → Core/Renderer/SVG/SVGRenderer3D.js} +31 -23
- package/es-modules/{parts → Core}/Responsive.js +24 -14
- package/es-modules/{parts → Core}/Scrollbar.js +5 -4
- package/es-modules/Core/Series/BaseSeries.js +157 -0
- package/es-modules/{parts/Series.js → Core/Series/CartesianSeries.js} +119 -55
- package/es-modules/{parts → Core/Series}/DataLabels.js +40 -36
- package/es-modules/{parts → Core/Series}/Point.js +8 -10
- package/es-modules/Core/Series/Series.js +158 -0
- package/es-modules/{parts-3d/Series.js → Core/Series/Series3D.js} +5 -3
- package/es-modules/{parts → Core}/Time.js +11 -133
- package/es-modules/{parts → Core}/Tooltip.js +30 -27
- package/es-modules/{parts → Core}/Utilities.js +103 -562
- package/es-modules/{mixins/ajax.js → Extensions/Ajax.js} +9 -4
- package/es-modules/{annotations/annotations.src.js → Extensions/Annotations/Annotations.js} +901 -709
- package/es-modules/{annotations → Extensions/Annotations}/ControlPoint.js +2 -2
- package/es-modules/Extensions/Annotations/Controllables/ControllableCircle.js +117 -0
- package/es-modules/Extensions/Annotations/Controllables/ControllableImage.js +111 -0
- package/es-modules/{annotations/controllable → Extensions/Annotations/Controllables}/ControllableLabel.js +186 -146
- package/es-modules/{annotations/controllable → Extensions/Annotations/Controllables}/ControllablePath.js +81 -42
- package/es-modules/Extensions/Annotations/Controllables/ControllableRect.js +121 -0
- package/es-modules/{annotations/controllable/controllableMixin.js → Extensions/Annotations/Mixins/ControllableMixin.js} +8 -9
- package/es-modules/{annotations/eventEmitterMixin.js → Extensions/Annotations/Mixins/EventEmitterMixin.js} +7 -7
- package/es-modules/{annotations/controllable/markerMixin.js → Extensions/Annotations/Mixins/MarkerMixin.js} +10 -8
- package/es-modules/{annotations → Extensions/Annotations}/MockPoint.js +6 -6
- package/es-modules/{annotations/navigationBindings.js → Extensions/Annotations/NavigationBindings.js} +27 -16
- package/es-modules/{annotations/popup.js → Extensions/Annotations/Popup.js} +9 -9
- package/es-modules/{annotations/types → Extensions/Annotations/Types}/BasicAnnotation.js +68 -20
- package/es-modules/{annotations/types → Extensions/Annotations/Types}/CrookedLine.js +46 -19
- package/es-modules/{annotations/types → Extensions/Annotations/Types}/ElliottWave.js +33 -12
- package/es-modules/{annotations/types → Extensions/Annotations/Types}/Fibonacci.js +54 -22
- package/es-modules/Extensions/Annotations/Types/InfinityLine.js +147 -0
- package/es-modules/{annotations/types → Extensions/Annotations/Types}/Measure.js +82 -52
- package/es-modules/{annotations/types → Extensions/Annotations/Types}/Pitchfork.js +69 -32
- package/es-modules/{annotations/types → Extensions/Annotations/Types}/Tunnel.js +58 -30
- package/es-modules/{annotations/types → Extensions/Annotations/Types}/VerticalLine.js +64 -33
- package/es-modules/{parts-gantt → Extensions}/ArrowSymbols.js +9 -11
- package/es-modules/{modules/boost/boost.js → Extensions/Boost/Boost.js} +8 -8
- package/es-modules/{modules/boost/boost-attach.js → Extensions/Boost/BoostAttach.js} +10 -8
- package/es-modules/{modules/boost/boost-init.js → Extensions/Boost/BoostInit.js} +7 -6
- package/es-modules/{modules/boost/boost-options.js → Extensions/Boost/BoostOptions.js} +1 -1
- package/es-modules/{modules/boost/boost-overrides.js → Extensions/Boost/BoostOverrides.js} +14 -11
- package/es-modules/{modules/boost/boost-utils.js → Extensions/Boost/BoostUtils.js} +6 -6
- package/es-modules/{modules/boost/boostable-map.js → Extensions/Boost/BoostableMap.js} +1 -1
- package/es-modules/{modules/boost/boostables.js → Extensions/Boost/Boostables.js} +0 -0
- package/es-modules/{modules/boost/named-colors.js → Extensions/Boost/NamedColors.js} +1 -1
- package/es-modules/{modules/boost/wgl-renderer.js → Extensions/Boost/WGLRenderer.js} +9 -9
- package/es-modules/{modules/boost/wgl-shader.js → Extensions/Boost/WGLShader.js} +3 -4
- package/es-modules/{modules/boost/wgl-vbuffer.js → Extensions/Boost/WGLVBuffer.js} +0 -0
- package/es-modules/{modules/boost-canvas.src.js → Extensions/BoostCanvas.js} +13 -9
- package/es-modules/{parts-gantt/CurrentDateIndicator.js → Extensions/CurrentDateIndication.js} +5 -7
- package/es-modules/{modules/data.src.js → Extensions/Data.js} +14 -16
- package/es-modules/{parts → Extensions}/DataGrouping.js +12 -9
- package/es-modules/{modules/debugger.src.js → Extensions/Debugger.js} +6 -6
- package/es-modules/{mixins/download-url.js → Extensions/DownloadURL.js} +15 -7
- package/es-modules/{modules/drag-panes.src.js → Extensions/DragPanes.js} +6 -6
- package/es-modules/{modules/draggable-points.src.js → Extensions/DraggablePoints.js} +21 -32
- package/es-modules/{modules/drilldown.src.js → Extensions/Drilldown.js} +64 -43
- package/es-modules/{modules/export-data.src.js → Extensions/ExportData.js} +126 -26
- package/es-modules/{modules/exporting.src.js → Extensions/Exporting.js} +26 -12
- package/es-modules/{modules/full-screen.src.js → Extensions/FullScreen.js} +5 -3
- package/es-modules/{parts-map → Extensions}/GeoJSON.js +112 -7
- package/es-modules/{modules/marker-clusters.src.js → Extensions/MarkerClusters.js} +29 -39
- package/es-modules/{parts-3d/Math.js → Extensions/Math3D.js} +17 -9
- package/es-modules/{modules/no-data-to-display.src.js → Extensions/NoDataToDisplay.js} +14 -15
- package/es-modules/{modules/offline-exporting.src.js → Extensions/OfflineExporting.js} +39 -35
- package/es-modules/{modules/oldie.src.js → Extensions/Oldie/Oldie.js} +19 -12
- package/es-modules/{parts-3d → Extensions/Oldie}/VMLAxis3D.js +1 -1
- package/es-modules/Extensions/Oldie/VMLRenderer3D.js +46 -0
- package/es-modules/{modules/oldie-polyfills.src.js → Extensions/OldiePolyfills.js} +5 -0
- package/es-modules/{modules/overlapping-datalabels.src.js → Extensions/OverlappingDataLabels.js} +14 -13
- package/es-modules/{parts-more → Extensions}/Pane.js +13 -12
- package/es-modules/{modules/parallel-coordinates.src.js → Extensions/ParallelCoordinates.js} +140 -138
- package/es-modules/{modules/pattern-fill.src.js → Extensions/PatternFill.js} +23 -15
- package/es-modules/{parts-more → Extensions}/Polar.js +15 -12
- package/es-modules/{modules/price-indicator.src.js → Extensions/PriceIndication.js} +5 -3
- package/es-modules/{parts → Extensions}/RangeSelector.js +112 -79
- package/es-modules/{parts → Extensions}/ScrollablePlotArea.js +19 -9
- package/es-modules/{modules/series-label.src.js → Extensions/SeriesLabel.js} +14 -10
- package/es-modules/{modules/sonification/chartSonify.js → Extensions/Sonification/ChartSonify.js} +212 -41
- package/es-modules/{modules/sonification → Extensions/Sonification}/Earcon.js +3 -7
- package/es-modules/{modules/sonification → Extensions/Sonification}/Instrument.js +35 -11
- 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/Extensions/Sonification/Options.js +34 -0
- package/es-modules/{modules/sonification/pointSonify.js → Extensions/Sonification/PointSonify.js} +43 -28
- package/es-modules/{modules/sonification/sonification.js → Extensions/Sonification/Sonification.js} +16 -12
- package/es-modules/{modules/sonification → Extensions/Sonification}/Timeline.js +25 -6
- package/es-modules/{modules/sonification/utilities.js → Extensions/Sonification/Utilities.js} +8 -5
- package/es-modules/{parts → Extensions}/Stacking.js +57 -18
- package/es-modules/{modules/static-scale.src.js → Extensions/StaticScale.js} +4 -4
- package/es-modules/{themes/avocado.js → Extensions/Themes/Avocado.js} +5 -4
- package/es-modules/{themes/dark-blue.js → Extensions/Themes/DarkBlue.js} +4 -2
- package/es-modules/{themes/dark-green.js → Extensions/Themes/DarkGreen.js} +4 -2
- package/es-modules/{themes/dark-unica.js → Extensions/Themes/DarkUnica.js} +6 -6
- package/es-modules/{themes/gray.js → Extensions/Themes/Gray.js} +5 -4
- package/es-modules/{themes/grid.js → Extensions/Themes/Grid.js} +4 -2
- package/es-modules/{themes/grid-light.js → Extensions/Themes/GridLight.js} +4 -2
- package/es-modules/{themes/high-contrast-dark.js → Extensions/Themes/HighContrastDark.js} +5 -4
- package/es-modules/{themes/high-contrast-light.js → Extensions/Themes/HighContrastLight.js} +4 -2
- package/es-modules/{themes/sand-signika.js → Extensions/Themes/SandSignika.js} +4 -2
- package/es-modules/{themes/skies.js → Extensions/Themes/Skies.js} +5 -3
- package/es-modules/{themes/sunset.js → Extensions/Themes/Sunset.js} +5 -4
- package/es-modules/{parts-gantt/Pathfinder.js → Gantt/Connection.js} +41 -284
- package/es-modules/Gantt/Pathfinder.js +816 -0
- package/es-modules/Gantt/PathfinderAlgorithms.js +659 -0
- package/es-modules/{parts-gantt → Gantt}/Tree.js +1 -1
- package/es-modules/{parts-map → Maps}/Map.js +24 -15
- package/es-modules/{parts-map → Maps}/MapNavigation.js +4 -5
- package/es-modules/{parts-map → Maps}/MapPointer.js +2 -4
- package/es-modules/{mixins/centered-series.js → Mixins/CenteredSeries.js} +7 -5
- package/es-modules/{parts-map/ColorMapSeriesMixin.js → Mixins/ColorMapSeries.js} +10 -6
- package/es-modules/{parts-map/ColorSeriesMixin.js → Mixins/ColorSeries.js} +12 -4
- package/es-modules/{mixins/derived-series.js → Mixins/DerivedSeries.js} +3 -3
- package/es-modules/{mixins/draw-point.js → Mixins/DrawPoint.js} +6 -1
- package/es-modules/{mixins/geometry.js → Mixins/Geometry.js} +0 -0
- package/es-modules/{mixins/geometry-circles.js → Mixins/GeometryCircles.js} +2 -2
- package/es-modules/{mixins/indicator-required.js → Mixins/IndicatorRequired.js} +1 -1
- package/es-modules/{mixins/legend-symbol.js → Mixins/LegendSymbol.js} +6 -10
- package/es-modules/{mixins/multipe-lines.js → Mixins/MultipleLines.js} +2 -2
- package/es-modules/{mixins/navigation.js → Mixins/Navigation.js} +0 -0
- package/es-modules/{mixins/nelder-mead.js → Mixins/NelderMead.js} +2 -2
- package/es-modules/{mixins/nodes.js → Mixins/Nodes.js} +7 -5
- package/es-modules/{mixins/on-series.js → Mixins/OnSeries.js} +3 -2
- package/es-modules/{mixins/polygon.js → Mixins/Polygon.js} +2 -2
- package/es-modules/{mixins/reduce-array.js → Mixins/ReduceArray.js} +1 -1
- package/es-modules/{mixins/tree-series.js → Mixins/TreeSeries.js} +2 -2
- package/es-modules/{parts-more → Series}/AreaRangeSeries.js +75 -38
- package/es-modules/{parts → Series}/AreaSeries.js +43 -25
- package/es-modules/{parts-more → Series}/AreaSplineRangeSeries.js +47 -10
- package/es-modules/{parts → Series}/AreaSplineSeries.js +49 -10
- package/es-modules/{parts → Series}/BarSeries.js +2 -5
- package/es-modules/{modules/bellcurve.src.js → Series/BellcurveSeries.js} +47 -7
- package/es-modules/{parts-more → Series}/BoxPlotSeries.js +18 -13
- package/es-modules/{parts-more → Series/Bubble}/BubbleLegend.js +11 -9
- package/es-modules/{parts-more → Series/Bubble}/BubbleSeries.js +25 -27
- package/es-modules/{modules/bullet.src.js → Series/BulletSeries.js} +9 -8
- package/es-modules/{parts → Series}/CandlestickSeries.js +11 -8
- package/es-modules/{parts-3d/Column.js → Series/Column3DSeries.js} +108 -28
- package/es-modules/{parts-more → Series}/ColumnPyramidSeries.js +9 -9
- package/es-modules/{parts-more → Series}/ColumnRangeSeries.js +21 -18
- package/es-modules/{parts → Series}/ColumnSeries.js +119 -41
- package/es-modules/{modules/cylinder.src.js → Series/CylinderSeries.js} +14 -14
- package/es-modules/{modules/dependency-wheel.src.js → Series/DependencyWheelSeries.js} +14 -12
- package/es-modules/{modules/dotplot.src.js → Series/DotplotSeries.js} +7 -15
- package/es-modules/{modules/dumbbell.src.js → Series/DumbbellSeries.js} +16 -10
- package/es-modules/{parts-more → Series}/ErrorBarSeries.js +8 -8
- package/es-modules/{parts → Series}/FlagsSeries.js +18 -12
- package/es-modules/{modules/funnel3d.src.js → Series/Funnel3DSeries.js} +14 -16
- package/es-modules/{modules/funnel.src.js → Series/FunnelSeries.js} +16 -14
- package/es-modules/{parts-gantt → Series}/GanttSeries.js +21 -20
- package/es-modules/{parts-more → Series}/GaugeSeries.js +14 -12
- package/es-modules/{parts-map → Series}/HeatmapSeries.js +23 -16
- package/es-modules/{modules/histogram.src.js → Series/HistogramSeries.js} +13 -9
- package/es-modules/{modules/item-series.src.js → Series/ItemSeries.js} +22 -14
- package/es-modules/Series/LineSeries.js +13 -0
- package/es-modules/{modules/lollipop.src.js → Series/LollipopSeries.js} +34 -10
- package/es-modules/{parts-map → Series}/MapBubbleSeries.js +8 -9
- package/es-modules/{parts-map → Series}/MapLineSeries.js +5 -7
- package/es-modules/{parts-map → Series}/MapPointSeries.js +9 -8
- package/es-modules/{parts-map → Series}/MapSeries.js +22 -18
- package/es-modules/{modules/networkgraph/draggable-nodes.js → Series/Networkgraph/DraggableNodes.js} +15 -30
- package/es-modules/{modules/networkgraph/integrations.js → Series/Networkgraph/Integrations.js} +1 -1
- package/es-modules/{modules/networkgraph/layouts.js → Series/Networkgraph/Layouts.js} +43 -13
- package/es-modules/{modules/networkgraph/networkgraph.src.js → Series/Networkgraph/Networkgraph.js} +29 -23
- package/es-modules/{modules/networkgraph → Series/Networkgraph}/QuadTree.js +2 -2
- package/es-modules/{parts → Series}/OHLCSeries.js +5 -7
- package/es-modules/{modules/organization.src.js → Series/OrganizationSeries.js} +10 -7
- package/es-modules/{parts-more → Series}/PackedBubbleSeries.js +104 -28
- package/es-modules/{modules/pareto.src.js → Series/ParetoSeries.js} +10 -9
- package/es-modules/{parts-3d/Pie.js → Series/Pie3DSeries.js} +5 -4
- package/es-modules/{parts → Series}/PieSeries.js +66 -31
- package/es-modules/{parts-more → Series}/PolygonSeries.js +13 -13
- package/es-modules/{modules/pyramid3d.src.js → Series/Pyramid3DSeries.js} +5 -7
- package/es-modules/{modules/sankey.src.js → Series/SankeySeries.js} +23 -21
- package/es-modules/{parts-3d/Scatter.js → Series/Scatter3DSeries.js} +10 -9
- package/es-modules/{parts → Series}/ScatterSeries.js +15 -10
- package/es-modules/{modules/solid-gauge.src.js → Series/SolidGaugeSeries.js} +112 -78
- package/es-modules/{parts → Series}/SplineSeries.js +9 -7
- package/es-modules/{modules/streamgraph.src.js → Series/StreamgraphSeries.js} +42 -6
- package/es-modules/{modules/sunburst.src.js → Series/SunburstSeries.js} +20 -13
- package/es-modules/{modules/tilemap.src.js → Series/TilemapSeries.js} +12 -9
- package/es-modules/{modules/timeline.src.js → Series/TimelineSeries.js} +16 -11
- package/es-modules/{modules/treemap.src.js → Series/TreemapSeries.js} +47 -40
- package/es-modules/{modules/variable-pie.src.js → Series/VariablePieSeries.js} +11 -8
- package/es-modules/{modules/variwide.src.js → Series/VariwideSeries.js} +12 -10
- package/es-modules/{modules/vector.src.js → Series/VectorSeries.js} +11 -7
- package/es-modules/{modules/venn.src.js → Series/VennSeries.js} +29 -20
- package/es-modules/{parts-more → Series}/WaterfallSeries.js +145 -66
- package/es-modules/{modules/windbarb.src.js → Series/WindbarbSeries.js} +13 -9
- package/es-modules/{modules/wordcloud.src.js → Series/WordcloudSeries.js} +17 -13
- package/es-modules/{modules/xrange.src.js → Series/XRangeSeries.js} +16 -12
- package/es-modules/{indicators/acceleration-bands.src.js → Stock/Indicators/ABIndicator.js} +8 -8
- package/es-modules/{indicators/accumulation-distribution.src.js → Stock/Indicators/ADIndicator.js} +5 -4
- package/es-modules/{indicators/ao.src.js → Stock/Indicators/AOIndicator.js} +6 -5
- package/es-modules/{indicators/apo.src.js → Stock/Indicators/APOIndicator.js} +8 -8
- package/es-modules/{indicators/atr.src.js → Stock/Indicators/ATRIndicator.js} +6 -6
- package/es-modules/{indicators/aroon.src.js → Stock/Indicators/AroonIndicator.js} +7 -6
- package/es-modules/{indicators/aroon-oscillator.src.js → Stock/Indicators/AroonOscillatorIndicator.js} +8 -8
- package/es-modules/{indicators/bollinger-bands.src.js → Stock/Indicators/BBIndicator.js} +8 -8
- package/es-modules/{indicators/cci.src.js → Stock/Indicators/CCIIndicator.js} +5 -4
- package/es-modules/{indicators/cmf.src.js → Stock/Indicators/CMFIndicator.js} +3 -4
- package/es-modules/{indicators/chaikin.src.js → Stock/Indicators/ChaikinIndicator.js} +10 -9
- package/es-modules/{indicators/dema.src.js → Stock/Indicators/DEMAIndicator.js} +8 -8
- package/es-modules/{indicators/dpo.src.js → Stock/Indicators/DPOIndicator.js} +5 -4
- package/es-modules/{indicators/ema.src.js → Stock/Indicators/EMAIndicator.js} +4 -4
- package/es-modules/{indicators/ichimoku-kinko-hyo.src.js → Stock/Indicators/IKHIndicator.js} +23 -20
- package/es-modules/{indicators/keltner-channels.src.js → Stock/Indicators/KeltnerChannelsIndicator.js} +11 -8
- package/es-modules/{indicators/macd.src.js → Stock/Indicators/MACDIndicator.js} +9 -6
- package/es-modules/{indicators/mfi.src.js → Stock/Indicators/MFIIndicator.js} +5 -4
- package/es-modules/{indicators/momentum.src.js → Stock/Indicators/MomentumIndicator.js} +5 -4
- package/es-modules/{indicators/natr.src.js → Stock/Indicators/NATRIndicator.js} +4 -6
- package/es-modules/{indicators/price-channel.src.js → Stock/Indicators/PCIndicator.js} +9 -8
- package/es-modules/{indicators/ppo.src.js → Stock/Indicators/PPOIndicator.js} +8 -8
- package/es-modules/{indicators/psar.src.js → Stock/Indicators/PSARIndicator.js} +3 -4
- package/es-modules/{indicators/pivot-points.src.js → Stock/Indicators/PivotPointsIndicator.js} +6 -6
- package/es-modules/{indicators/price-envelopes.src.js → Stock/Indicators/PriceEnvelopesIndicator.js} +6 -6
- package/es-modules/{indicators/roc.src.js → Stock/Indicators/ROCIndicator.js} +5 -4
- package/es-modules/{indicators/rsi.src.js → Stock/Indicators/RSIIndicator.js} +5 -4
- package/es-modules/{indicators/regressions.src.js → Stock/Indicators/RegressionIndicators.js} +8 -7
- package/es-modules/{indicators/indicators.src.js → Stock/Indicators/SMAIndicator.js} +12 -8
- package/es-modules/{indicators/slow-stochastic.src.js → Stock/Indicators/SlowStochasticIndicator.js} +6 -8
- package/es-modules/{indicators/stochastic.src.js → Stock/Indicators/StochasticIndicator.js} +9 -9
- package/es-modules/{indicators/supertrend.src.js → Stock/Indicators/SupertrendIndicator.js} +8 -7
- package/es-modules/{indicators/tema.src.js → Stock/Indicators/TEMAIndicator.js} +8 -8
- package/es-modules/{indicators/trix.src.js → Stock/Indicators/TRIXIndicator.js} +8 -8
- package/es-modules/{indicators/trendline.src.js → Stock/Indicators/TrendLineIndicator.js} +5 -4
- package/es-modules/{indicators/volume-by-price.src.js → Stock/Indicators/VBPIndicator.js} +10 -7
- package/es-modules/{indicators/vwap.src.js → Stock/Indicators/VWAPIndicator.js} +5 -4
- package/es-modules/{indicators/wma.src.js → Stock/Indicators/WMAIndicator.js} +5 -4
- package/es-modules/{indicators/williams-r.src.js → Stock/Indicators/WilliamsRIndicator.js} +7 -6
- package/es-modules/{indicators/zigzag.src.js → Stock/Indicators/ZigzagIndicator.js} +5 -7
- package/es-modules/{modules/stock-tools-bindings.js → Stock/StockToolsBindings.js} +22 -7
- package/es-modules/{modules/stock-tools-gui.js → Stock/StockToolsGui.js} +17 -17
- package/es-modules/error-messages.js +7 -2
- package/es-modules/highcharts.src.js +19853 -0
- package/es-modules/masters/highcharts-3d.src.js +11 -12
- package/es-modules/masters/highcharts-gantt.src.js +1 -1
- package/es-modules/masters/highcharts-more.src.js +15 -15
- package/es-modules/masters/highcharts.src.js +28 -27
- 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 +2 -2
- package/es-modules/masters/indicators/accumulation-distribution.src.js +2 -2
- package/es-modules/masters/indicators/ao.src.js +2 -2
- package/es-modules/masters/indicators/apo.src.js +2 -2
- package/es-modules/masters/indicators/aroon-oscillator.src.js +2 -2
- package/es-modules/masters/indicators/aroon.src.js +2 -2
- package/es-modules/masters/indicators/atr.src.js +2 -2
- package/es-modules/masters/indicators/bollinger-bands.src.js +2 -2
- package/es-modules/masters/indicators/cci.src.js +2 -2
- package/es-modules/masters/indicators/chaikin.src.js +2 -2
- package/es-modules/masters/indicators/cmf.src.js +2 -2
- package/es-modules/masters/indicators/dema.src.js +2 -2
- package/es-modules/masters/indicators/dpo.src.js +2 -2
- package/es-modules/masters/indicators/ema.src.js +2 -2
- package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +2 -2
- package/es-modules/masters/indicators/indicators-all.src.js +41 -41
- package/es-modules/masters/indicators/indicators.src.js +2 -2
- package/es-modules/masters/indicators/keltner-channels.src.js +2 -2
- package/es-modules/masters/indicators/macd.src.js +2 -2
- package/es-modules/masters/indicators/mfi.src.js +2 -2
- package/es-modules/masters/indicators/momentum.src.js +2 -2
- package/es-modules/masters/indicators/natr.src.js +2 -2
- package/es-modules/masters/indicators/pivot-points.src.js +2 -2
- package/es-modules/masters/indicators/ppo.src.js +2 -2
- package/es-modules/masters/indicators/price-channel.src.js +2 -2
- package/es-modules/masters/indicators/price-envelopes.src.js +2 -2
- package/es-modules/masters/indicators/psar.src.js +2 -2
- package/es-modules/masters/indicators/regressions.src.js +2 -2
- package/es-modules/masters/indicators/roc.src.js +2 -2
- package/es-modules/masters/indicators/rsi.src.js +2 -2
- package/es-modules/masters/indicators/slow-stochastic.src.js +2 -2
- package/es-modules/masters/indicators/stochastic.src.js +2 -2
- package/es-modules/masters/indicators/supertrend.src.js +2 -2
- package/es-modules/masters/indicators/tema.src.js +2 -2
- package/es-modules/masters/indicators/trendline.src.js +2 -2
- package/es-modules/masters/indicators/trix.src.js +2 -2
- package/es-modules/masters/indicators/volume-by-price.src.js +2 -2
- package/es-modules/masters/indicators/vwap.src.js +2 -2
- package/es-modules/masters/indicators/williams-r.src.js +2 -2
- package/es-modules/masters/indicators/wma.src.js +2 -2
- package/es-modules/masters/indicators/zigzag.src.js +2 -2
- package/es-modules/masters/modules/accessibility.src.js +2 -2
- package/es-modules/masters/modules/annotations-advanced.src.js +13 -13
- package/es-modules/masters/modules/annotations.src.js +4 -4
- package/es-modules/masters/modules/arrow-symbols.src.js +2 -2
- package/es-modules/masters/modules/boost-canvas.src.js +2 -2
- package/es-modules/masters/modules/boost.src.js +2 -2
- package/es-modules/masters/modules/broken-axis.src.js +2 -2
- package/es-modules/masters/modules/bullet.src.js +2 -2
- package/es-modules/masters/modules/coloraxis.src.js +2 -2
- package/es-modules/masters/modules/current-date-indicator.src.js +2 -2
- package/es-modules/masters/modules/cylinder.src.js +2 -2
- package/es-modules/masters/modules/data.src.js +2 -2
- package/es-modules/masters/modules/datagrouping.src.js +2 -2
- package/es-modules/masters/modules/debugger.src.js +2 -2
- package/es-modules/masters/modules/dependency-wheel.src.js +2 -2
- package/es-modules/masters/modules/dotplot.src.js +2 -2
- package/es-modules/masters/modules/drag-panes.src.js +2 -2
- package/es-modules/masters/modules/draggable-points.src.js +2 -2
- package/es-modules/masters/modules/drilldown.src.js +2 -2
- package/es-modules/masters/modules/dumbbell.src.js +2 -2
- package/es-modules/masters/modules/export-data.src.js +2 -2
- package/es-modules/masters/modules/exporting.src.js +3 -3
- package/es-modules/masters/modules/full-screen.src.js +2 -2
- package/es-modules/masters/modules/funnel.src.js +2 -2
- package/es-modules/masters/modules/funnel3d.src.js +2 -2
- package/es-modules/masters/modules/gantt.src.js +6 -6
- package/es-modules/masters/modules/grid-axis.src.js +2 -2
- package/es-modules/masters/modules/heatmap.src.js +4 -4
- package/es-modules/masters/modules/histogram-bellcurve.src.js +3 -3
- package/es-modules/masters/modules/item-series.src.js +2 -2
- package/es-modules/masters/modules/lollipop.src.js +2 -2
- package/es-modules/masters/modules/map.src.js +13 -13
- package/es-modules/masters/modules/marker-clusters.src.js +2 -2
- package/es-modules/masters/modules/networkgraph.src.js +2 -2
- package/es-modules/masters/modules/no-data-to-display.src.js +2 -2
- package/es-modules/masters/modules/offline-exporting.src.js +2 -2
- package/es-modules/masters/modules/oldie-polyfills.src.js +2 -2
- package/es-modules/masters/modules/oldie.src.js +2 -2
- package/es-modules/masters/modules/organization.src.js +2 -2
- package/es-modules/masters/modules/overlapping-datalabels.src.js +2 -2
- package/es-modules/masters/modules/parallel-coordinates.src.js +2 -2
- package/es-modules/masters/modules/pareto.src.js +2 -2
- package/es-modules/masters/modules/pathfinder.src.js +2 -2
- package/es-modules/masters/modules/pattern-fill.src.js +2 -2
- package/es-modules/masters/modules/price-indicator.src.js +2 -2
- package/es-modules/masters/modules/pyramid3d.src.js +2 -2
- package/es-modules/masters/modules/sankey.src.js +2 -2
- package/es-modules/masters/modules/series-label.src.js +2 -2
- package/es-modules/masters/modules/solid-gauge.src.js +2 -2
- package/es-modules/masters/modules/sonification.src.js +2 -2
- package/es-modules/masters/modules/static-scale.src.js +2 -2
- package/es-modules/masters/modules/stock-tools.src.js +3 -3
- package/es-modules/masters/modules/stock.src.js +10 -10
- package/es-modules/masters/modules/streamgraph.src.js +2 -2
- package/es-modules/masters/modules/sunburst.src.js +2 -2
- package/es-modules/masters/modules/tilemap.src.js +2 -2
- package/es-modules/masters/modules/timeline.src.js +2 -2
- package/es-modules/masters/modules/treegrid.src.js +2 -2
- package/es-modules/masters/modules/treemap.src.js +2 -2
- package/es-modules/masters/modules/variable-pie.src.js +2 -2
- package/es-modules/masters/modules/variwide.src.js +2 -2
- package/es-modules/masters/modules/vector.src.js +2 -2
- package/es-modules/masters/modules/venn.src.js +2 -2
- package/es-modules/masters/modules/windbarb.src.js +2 -2
- package/es-modules/masters/modules/wordcloud.src.js +2 -2
- package/es-modules/masters/modules/xrange.src.js +2 -2
- package/es-modules/masters/themes/avocado.src.js +2 -2
- package/es-modules/masters/themes/dark-blue.src.js +2 -2
- package/es-modules/masters/themes/dark-green.src.js +2 -2
- package/es-modules/masters/themes/dark-unica.src.js +2 -2
- package/es-modules/masters/themes/gray.src.js +2 -2
- package/es-modules/masters/themes/grid-light.src.js +2 -2
- package/es-modules/masters/themes/grid.src.js +2 -2
- package/es-modules/masters/themes/high-contrast-dark.src.js +2 -2
- package/es-modules/masters/themes/high-contrast-light.src.js +2 -2
- package/es-modules/masters/themes/sand-signika.src.js +2 -2
- package/es-modules/masters/themes/skies.src.js +2 -2
- package/es-modules/masters/themes/sunset.src.js +2 -2
- package/highcharts-3d.js +86 -88
- package/highcharts-3d.js.map +1 -1
- package/highcharts-3d.src.js +1713 -1615
- package/highcharts-gantt.js +730 -697
- package/highcharts-gantt.js.map +1 -1
- package/highcharts-gantt.src.js +11747 -10110
- package/highcharts-more.js +164 -161
- package/highcharts-more.js.map +1 -1
- package/highcharts-more.src.js +766 -523
- package/highcharts.d.ts +7728 -1337
- package/highcharts.js +538 -515
- package/highcharts.js.map +1 -1
- package/highcharts.src.d.ts +7728 -1337
- package/highcharts.src.js +8517 -7691
- package/highmaps.js +636 -612
- package/highmaps.js.map +1 -1
- package/highmaps.src.js +9151 -8209
- package/highstock.js +697 -671
- package/highstock.js.map +1 -1
- package/highstock.src.js +8919 -8049
- package/indicators/acceleration-bands.js +8 -8
- package/indicators/acceleration-bands.js.map +1 -1
- package/indicators/acceleration-bands.src.js +8 -8
- 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 +8 -9
- package/indicators/aroon-oscillator.js +8 -8
- package/indicators/aroon-oscillator.js.map +1 -1
- package/indicators/aroon-oscillator.src.js +8 -9
- package/indicators/aroon.js +7 -7
- package/indicators/aroon.js.map +1 -1
- package/indicators/aroon.src.js +7 -7
- 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 +8 -8
- 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 -75
- package/indicators/cmf.js +4 -4
- 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 +8 -9
- 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 +119 -118
- package/indicators/indicators-all.js.map +1 -1
- package/indicators/indicators-all.src.js +231 -240
- package/indicators/indicators.js +9 -9
- package/indicators/indicators.js.map +1 -1
- package/indicators/indicators.src.js +9 -9
- package/indicators/keltner-channels.js +8 -8
- package/indicators/keltner-channels.js.map +1 -1
- package/indicators/keltner-channels.src.js +13 -10
- 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 +8 -9
- package/indicators/price-channel.js +8 -8
- package/indicators/price-channel.js.map +1 -1
- package/indicators/price-channel.src.js +66 -66
- package/indicators/price-envelopes.js +6 -6
- package/indicators/price-envelopes.js.map +1 -1
- package/indicators/price-envelopes.src.js +6 -6
- package/indicators/psar.js +3 -3
- 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 +7 -7
- package/indicators/stochastic.js +9 -9
- package/indicators/stochastic.js.map +1 -1
- package/indicators/stochastic.src.js +67 -67
- 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 +8 -9
- 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 +8 -8
- 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 +7 -7
- 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.d.ts +0 -35
- package/modules/accessibility.js +171 -168
- package/modules/accessibility.js.map +1 -1
- package/modules/accessibility.src.d.ts +0 -35
- package/modules/accessibility.src.js +369 -252
- package/modules/annotations-advanced.js +158 -136
- package/modules/annotations-advanced.js.map +1 -1
- package/modules/annotations-advanced.src.js +1929 -1263
- package/modules/annotations.js +105 -94
- package/modules/annotations.js.map +1 -1
- package/modules/annotations.src.js +1485 -1101
- package/modules/arrow-symbols.js +4 -4
- package/modules/arrow-symbols.js.map +1 -1
- package/modules/arrow-symbols.src.js +10 -12
- package/modules/boost-canvas.js +15 -15
- package/modules/boost-canvas.js.map +1 -1
- package/modules/boost-canvas.src.js +17 -17
- 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 +581 -33
- package/modules/broken-axis.js +10 -10
- 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 +8 -8
- package/modules/coloraxis.js +22 -21
- package/modules/coloraxis.js.map +1 -1
- package/modules/coloraxis.src.js +67 -59
- package/modules/current-date-indicator.js +3 -3
- package/modules/current-date-indicator.js.map +1 -1
- package/modules/current-date-indicator.src.js +4 -5
- package/modules/cylinder.js +8 -8
- package/modules/cylinder.js.map +1 -1
- package/modules/cylinder.src.js +21 -23
- package/modules/data.d.ts +2 -2
- package/modules/data.js +32 -32
- package/modules/data.js.map +1 -1
- package/modules/data.src.d.ts +2 -2
- package/modules/data.src.js +26 -25
- package/modules/datagrouping.js +17 -17
- package/modules/datagrouping.js.map +1 -1
- package/modules/datagrouping.src.js +6 -7
- package/modules/debugger.js +5 -5
- package/modules/debugger.js.map +1 -1
- package/modules/debugger.src.js +13 -8
- package/modules/dependency-wheel.js +8 -8
- package/modules/dependency-wheel.js.map +1 -1
- package/modules/dependency-wheel.src.js +10 -10
- package/modules/dotplot.js +5 -5
- package/modules/dotplot.js.map +1 -1
- package/modules/dotplot.src.js +6 -14
- package/modules/drag-panes.js +10 -10
- package/modules/drag-panes.js.map +1 -1
- package/modules/drag-panes.src.js +4 -6
- package/modules/draggable-points.js +33 -33
- package/modules/draggable-points.js.map +1 -1
- package/modules/draggable-points.src.js +22 -35
- package/modules/drilldown.d.ts +1 -1
- package/modules/drilldown.js +23 -22
- package/modules/drilldown.js.map +1 -1
- package/modules/drilldown.src.d.ts +1 -1
- package/modules/drilldown.src.js +66 -53
- package/modules/dumbbell.d.ts +4 -0
- package/modules/dumbbell.js +24 -9
- package/modules/dumbbell.js.map +1 -1
- package/modules/dumbbell.src.d.ts +4 -0
- package/modules/dumbbell.src.js +1029 -104
- package/modules/export-data.d.ts +4 -29
- package/modules/export-data.js +21 -21
- package/modules/export-data.js.map +1 -1
- package/modules/export-data.src.d.ts +4 -29
- package/modules/export-data.src.js +155 -189
- package/modules/exporting.d.ts +2 -0
- package/modules/exporting.js +33 -33
- package/modules/exporting.js.map +1 -1
- package/modules/exporting.src.d.ts +2 -0
- package/modules/exporting.src.js +40 -30
- package/modules/full-screen.js +7 -7
- package/modules/full-screen.js.map +1 -1
- package/modules/full-screen.src.js +4 -3
- package/modules/funnel.js +9 -9
- package/modules/funnel.js.map +1 -1
- package/modules/funnel.src.js +14 -15
- package/modules/funnel3d.js +17 -17
- package/modules/funnel3d.js.map +1 -1
- package/modules/funnel3d.src.js +12 -14
- package/modules/gantt.js +194 -183
- package/modules/gantt.js.map +1 -1
- package/modules/gantt.src.js +2071 -1260
- package/modules/grid-axis.js +22 -19
- package/modules/grid-axis.js.map +1 -1
- package/modules/grid-axis.src.js +149 -43
- package/modules/heatmap.js +33 -32
- package/modules/heatmap.js.map +1 -1
- package/modules/heatmap.src.js +130 -114
- package/modules/histogram-bellcurve.js +10 -10
- package/modules/histogram-bellcurve.js.map +1 -1
- package/modules/histogram-bellcurve.src.js +57 -16
- package/modules/item-series.js +9 -9
- package/modules/item-series.js.map +1 -1
- package/modules/item-series.src.js +20 -13
- 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 +1452 -10
- package/modules/map.d.ts +2 -2
- package/modules/map.js +99 -98
- package/modules/map.js.map +1 -1
- package/modules/map.src.d.ts +2 -2
- package/modules/map.src.js +1442 -1326
- package/modules/marker-clusters.js +35 -36
- package/modules/marker-clusters.js.map +1 -1
- package/modules/marker-clusters.src.js +31 -51
- package/modules/networkgraph.js +47 -46
- package/modules/networkgraph.js.map +1 -1
- package/modules/networkgraph.src.js +98 -81
- 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 +17 -13
- package/modules/offline-exporting.js +15 -15
- package/modules/offline-exporting.js.map +1 -1
- package/modules/offline-exporting.src.js +63 -46
- package/modules/oldie-polyfills.js +6 -6
- package/modules/oldie-polyfills.js.map +1 -1
- package/modules/oldie-polyfills.src.js +7 -2
- package/modules/oldie.js +52 -26
- package/modules/oldie.js.map +1 -1
- package/modules/oldie.src.js +1411 -34
- package/modules/organization.js +11 -11
- package/modules/organization.js.map +1 -1
- package/modules/organization.src.js +7 -6
- package/modules/overlapping-datalabels.js +1 -1
- package/modules/overlapping-datalabels.src.js +1 -1
- package/modules/parallel-coordinates.js +11 -11
- package/modules/parallel-coordinates.js.map +1 -1
- package/modules/parallel-coordinates.src.js +144 -136
- package/modules/pareto.js +5 -5
- package/modules/pareto.js.map +1 -1
- package/modules/pareto.src.js +8 -9
- package/modules/pathfinder.js +31 -27
- package/modules/pathfinder.js.map +1 -1
- package/modules/pathfinder.src.js +1589 -985
- package/modules/pattern-fill.js +13 -13
- package/modules/pattern-fill.js.map +1 -1
- package/modules/pattern-fill.src.js +25 -21
- package/modules/price-indicator.js +4 -4
- package/modules/price-indicator.js.map +1 -1
- package/modules/price-indicator.src.js +5 -3
- package/modules/pyramid3d.js +3 -3
- package/modules/pyramid3d.js.map +1 -1
- package/modules/pyramid3d.src.js +4 -5
- package/modules/sankey.js +25 -26
- package/modules/sankey.js.map +1 -1
- package/modules/sankey.src.js +39 -36
- package/modules/series-label.js +17 -17
- package/modules/series-label.js.map +1 -1
- package/modules/series-label.src.js +17 -17
- package/modules/solid-gauge.js +8 -8
- package/modules/solid-gauge.js.map +1 -1
- package/modules/solid-gauge.src.js +123 -91
- package/modules/sonification.d.ts +33 -16
- package/modules/sonification.js +55 -49
- package/modules/sonification.js.map +1 -1
- package/modules/sonification.src.d.ts +33 -16
- package/modules/sonification.src.js +361 -115
- 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.d.ts +23 -1
- package/modules/stock-tools.js +150 -84
- package/modules/stock-tools.js.map +1 -1
- package/modules/stock-tools.src.d.ts +23 -1
- package/modules/stock-tools.src.js +3792 -44
- package/modules/stock.js +161 -158
- package/modules/stock.js.map +1 -1
- package/modules/stock.src.js +456 -412
- package/modules/streamgraph.js +2 -2
- package/modules/streamgraph.js.map +1 -1
- package/modules/streamgraph.src.js +42 -5
- package/modules/sunburst.js +51 -49
- package/modules/sunburst.js.map +1 -1
- package/modules/sunburst.src.js +152 -52
- package/modules/tilemap.js +14 -14
- package/modules/tilemap.js.map +1 -1
- package/modules/tilemap.src.js +12 -11
- package/modules/timeline.js +14 -14
- package/modules/timeline.js.map +1 -1
- package/modules/timeline.src.js +19 -18
- package/modules/treegrid.js +57 -52
- package/modules/treegrid.js.map +1 -1
- package/modules/treegrid.src.js +236 -60
- package/modules/treemap.js +35 -34
- package/modules/treemap.js.map +1 -1
- package/modules/treemap.src.js +213 -118
- package/modules/variable-pie.js +8 -8
- package/modules/variable-pie.js.map +1 -1
- package/modules/variable-pie.src.js +12 -10
- package/modules/variwide.js +8 -8
- package/modules/variwide.js.map +1 -1
- package/modules/variwide.src.js +8 -8
- package/modules/vector.js +6 -6
- package/modules/vector.js.map +1 -1
- package/modules/vector.src.js +9 -9
- package/modules/venn.js +26 -26
- package/modules/venn.js.map +1 -1
- package/modules/venn.src.js +49 -37
- package/modules/windbarb.js +11 -11
- package/modules/windbarb.js.map +1 -1
- package/modules/windbarb.src.js +11 -12
- package/modules/wordcloud.js +19 -19
- package/modules/wordcloud.js.map +1 -1
- package/modules/wordcloud.src.js +26 -18
- package/modules/xrange.js +12 -12
- package/modules/xrange.js.map +1 -1
- package/modules/xrange.src.js +19 -20
- package/package.json +1 -1
- package/themes/avocado.js +3 -3
- package/themes/avocado.js.map +1 -1
- package/themes/avocado.src.js +5 -4
- package/themes/dark-blue.js +3 -3
- package/themes/dark-blue.js.map +1 -1
- package/themes/dark-blue.src.js +4 -3
- package/themes/dark-green.js +3 -3
- package/themes/dark-green.js.map +1 -1
- package/themes/dark-green.src.js +4 -3
- package/themes/dark-unica.js +7 -7
- package/themes/dark-unica.js.map +1 -1
- package/themes/dark-unica.src.js +6 -6
- package/themes/gray.js +3 -3
- package/themes/gray.js.map +1 -1
- package/themes/gray.src.js +5 -4
- package/themes/grid-light.js +4 -4
- package/themes/grid-light.js.map +1 -1
- package/themes/grid-light.src.js +4 -3
- package/themes/grid.js +3 -3
- package/themes/grid.js.map +1 -1
- package/themes/grid.src.js +4 -3
- package/themes/high-contrast-dark.js +6 -6
- package/themes/high-contrast-dark.js.map +1 -1
- package/themes/high-contrast-dark.src.js +5 -4
- package/themes/high-contrast-light.js +3 -3
- package/themes/high-contrast-light.js.map +1 -1
- package/themes/high-contrast-light.src.js +4 -3
- package/themes/sand-signika.js +5 -5
- package/themes/sand-signika.js.map +1 -1
- package/themes/sand-signika.src.js +4 -3
- package/themes/skies.js +4 -4
- package/themes/skies.js.map +1 -1
- package/themes/skies.src.js +5 -4
- package/themes/sunset.js +3 -3
- package/themes/sunset.js.map +1 -1
- package/themes/sunset.src.js +5 -4
- package/es-modules/annotations/controllable/ControllableCircle.js +0 -79
- package/es-modules/annotations/controllable/ControllableImage.js +0 -79
- package/es-modules/annotations/controllable/ControllableRect.js +0 -82
- package/es-modules/annotations/types/InfinityLine.js +0 -110
- package/es-modules/masters/modules/map-parser.src.js +0 -12
- package/es-modules/modules/accessibility/components/InfoRegionsComponent/AnnotationsA11y.js +0 -80
- package/es-modules/modules/accessibility/components/InfoRegionsComponent/InfoRegionsComponent.js +0 -499
- package/es-modules/modules/accessibility/components/SeriesComponent/forcedMarkers.js +0 -147
- package/es-modules/modules/map-parser.src.js +0 -365
- package/es-modules/modules/sonification/options.js +0 -36
- package/es-modules/parts-3d/Chart.js +0 -1577
- package/es-modules/parts-3d/VMLRenderer.js +0 -35
- package/es-modules/parts-gantt/PathfinderAlgorithms.js +0 -656
- package/modules/map-parser.d.ts +0 -17
- package/modules/map-parser.js +0 -17
- package/modules/map-parser.js.map +0 -1
- package/modules/map-parser.src.d.ts +0 -17
- package/modules/map-parser.src.js +0 -421
package/highcharts-more.src.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Highcharts JS v8.
|
|
2
|
+
* @license Highcharts JS v8.2.2 (2020-10-22)
|
|
3
3
|
*
|
|
4
4
|
* (c) 2009-2018 Torstein Honsi
|
|
5
5
|
*
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
obj[path] = fn.apply(null, args);
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
|
-
_registerModule(_modules, '
|
|
29
|
+
_registerModule(_modules, 'Extensions/Pane.js', [_modules['Core/Chart/Chart.js'], _modules['Core/Globals.js'], _modules['Core/Pointer.js'], _modules['Core/Utilities.js'], _modules['Mixins/CenteredSeries.js']], function (Chart, H, Pointer, U, centeredSeriesMixin) {
|
|
30
30
|
/* *
|
|
31
31
|
*
|
|
32
32
|
* (c) 2010-2020 Torstein Honsi
|
|
@@ -36,17 +36,16 @@
|
|
|
36
36
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
37
37
|
*
|
|
38
38
|
* */
|
|
39
|
-
/**
|
|
40
|
-
* @typedef {"arc"|"circle"|"solid"} Highcharts.PaneBackgroundShapeValue
|
|
41
|
-
*/
|
|
42
39
|
var addEvent = U.addEvent,
|
|
43
40
|
extend = U.extend,
|
|
44
41
|
merge = U.merge,
|
|
45
42
|
pick = U.pick,
|
|
46
43
|
splat = U.splat;
|
|
47
|
-
|
|
44
|
+
/**
|
|
45
|
+
* @typedef {"arc"|"circle"|"solid"} Highcharts.PaneBackgroundShapeValue
|
|
46
|
+
*/
|
|
48
47
|
/* eslint-disable no-invalid-this, valid-jsdoc */
|
|
49
|
-
|
|
48
|
+
Chart.prototype.collectionsWithUpdate.push('pane');
|
|
50
49
|
/**
|
|
51
50
|
* The Pane object allows options that are common to a set of X and Y axes.
|
|
52
51
|
*
|
|
@@ -335,7 +334,7 @@
|
|
|
335
334
|
Pane.prototype.updateCenter = function (axis) {
|
|
336
335
|
this.center = (axis ||
|
|
337
336
|
this.axis ||
|
|
338
|
-
{}).center =
|
|
337
|
+
{}).center = centeredSeriesMixin.getCenter.call(this);
|
|
339
338
|
};
|
|
340
339
|
/**
|
|
341
340
|
* Destroy the pane item
|
|
@@ -386,9 +385,9 @@
|
|
|
386
385
|
* @return {boolean}
|
|
387
386
|
*/
|
|
388
387
|
function isInsidePane(x, y, center) {
|
|
389
|
-
return Math.sqrt(Math.pow(x - center[0], 2) + Math.pow(y - center[1], 2))
|
|
388
|
+
return Math.sqrt(Math.pow(x - center[0], 2) + Math.pow(y - center[1], 2)) <= center[2] / 2;
|
|
390
389
|
}
|
|
391
|
-
|
|
390
|
+
Chart.prototype.getHoverPane = function (eventArgs) {
|
|
392
391
|
var chart = this;
|
|
393
392
|
var hoverPane;
|
|
394
393
|
if (eventArgs) {
|
|
@@ -404,13 +403,13 @@
|
|
|
404
403
|
}
|
|
405
404
|
return hoverPane;
|
|
406
405
|
};
|
|
407
|
-
addEvent(
|
|
406
|
+
addEvent(Chart, 'afterIsInsidePlot', function (e) {
|
|
408
407
|
var chart = this;
|
|
409
408
|
if (chart.polar) {
|
|
410
409
|
e.isInsidePlot = chart.pane.some(function (pane) { return isInsidePane(e.x, e.y, pane.center); });
|
|
411
410
|
}
|
|
412
411
|
});
|
|
413
|
-
addEvent(
|
|
412
|
+
addEvent(Pointer, 'beforeGetHoverData', function (eventArgs) {
|
|
414
413
|
var chart = this.chart;
|
|
415
414
|
if (chart.polar) {
|
|
416
415
|
// Find pane we are currently hovering over.
|
|
@@ -424,7 +423,7 @@
|
|
|
424
423
|
};
|
|
425
424
|
}
|
|
426
425
|
});
|
|
427
|
-
addEvent(
|
|
426
|
+
addEvent(Pointer, 'afterGetHoverData', function (eventArgs) {
|
|
428
427
|
var chart = this.chart;
|
|
429
428
|
if (eventArgs.hoverPoint &&
|
|
430
429
|
eventArgs.hoverPoint.plotX &&
|
|
@@ -438,7 +437,7 @@
|
|
|
438
437
|
|
|
439
438
|
return H.Pane;
|
|
440
439
|
});
|
|
441
|
-
_registerModule(_modules, '
|
|
440
|
+
_registerModule(_modules, 'Core/Axis/HiddenAxis.js', [], function () {
|
|
442
441
|
/* *
|
|
443
442
|
*
|
|
444
443
|
* (c) 2010-2020 Torstein Honsi
|
|
@@ -487,7 +486,7 @@
|
|
|
487
486
|
|
|
488
487
|
return HiddenAxis;
|
|
489
488
|
});
|
|
490
|
-
_registerModule(_modules, '
|
|
489
|
+
_registerModule(_modules, 'Core/Axis/RadialAxis.js', [_modules['Core/Axis/Axis.js'], _modules['Core/Axis/Tick.js'], _modules['Core/Axis/HiddenAxis.js'], _modules['Core/Utilities.js']], function (Axis, Tick, HiddenAxis, U) {
|
|
491
490
|
/* *
|
|
492
491
|
*
|
|
493
492
|
* (c) 2010-2020 Torstein Honsi
|
|
@@ -502,6 +501,7 @@
|
|
|
502
501
|
defined = U.defined,
|
|
503
502
|
extend = U.extend,
|
|
504
503
|
fireEvent = U.fireEvent,
|
|
504
|
+
isNumber = U.isNumber,
|
|
505
505
|
merge = U.merge,
|
|
506
506
|
pick = U.pick,
|
|
507
507
|
pInt = U.pInt,
|
|
@@ -750,14 +750,19 @@
|
|
|
750
750
|
* @return {RadialAxisPath}
|
|
751
751
|
*/
|
|
752
752
|
axis.getPlotBandPath = function (from, to, options) {
|
|
753
|
+
var radiusToPixels = function (radius) {
|
|
754
|
+
if (typeof radius === 'string') {
|
|
755
|
+
var r = parseInt(radius, 10);
|
|
756
|
+
if (percentRegex.test(radius)) {
|
|
757
|
+
r = (r * fullRadius) / 100;
|
|
758
|
+
}
|
|
759
|
+
return r;
|
|
760
|
+
}
|
|
761
|
+
return radius;
|
|
762
|
+
};
|
|
753
763
|
var center = this.center,
|
|
754
764
|
startAngleRad = this.startAngleRad,
|
|
755
765
|
fullRadius = center[2] / 2,
|
|
756
|
-
radii = [
|
|
757
|
-
pick(options.outerRadius, '100%'),
|
|
758
|
-
options.innerRadius,
|
|
759
|
-
pick(options.thickness, 10)
|
|
760
|
-
],
|
|
761
766
|
offset = Math.min(this.offset, 0),
|
|
762
767
|
percentRegex = /%$/,
|
|
763
768
|
start,
|
|
@@ -766,7 +771,11 @@
|
|
|
766
771
|
xOnPerimeter,
|
|
767
772
|
open,
|
|
768
773
|
isCircular = this.isCircular, // X axis in a polar chart
|
|
769
|
-
path
|
|
774
|
+
path,
|
|
775
|
+
outerRadius = pick(radiusToPixels(options.outerRadius),
|
|
776
|
+
fullRadius),
|
|
777
|
+
innerRadius = radiusToPixels(options.innerRadius),
|
|
778
|
+
thickness = pick(radiusToPixels(options.thickness), 10);
|
|
770
779
|
// Polygonal plot bands
|
|
771
780
|
if (this.options.gridLineInterpolation === 'polygon') {
|
|
772
781
|
path = this.getPlotLinePath({ value: from }).concat(this.getPlotLinePath({ value: to, reverse: true }));
|
|
@@ -776,19 +785,14 @@
|
|
|
776
785
|
// Keep within bounds
|
|
777
786
|
from = Math.max(from, this.min);
|
|
778
787
|
to = Math.min(to, this.max);
|
|
779
|
-
|
|
780
|
-
|
|
788
|
+
var transFrom = this.translate(from);
|
|
789
|
+
var transTo = this.translate(to);
|
|
790
|
+
// Plot bands on Y axis (radial axis) - inner and outer
|
|
791
|
+
// radius depend on to and from
|
|
781
792
|
if (!isCircular) {
|
|
782
|
-
|
|
783
|
-
|
|
793
|
+
outerRadius = transFrom || 0;
|
|
794
|
+
innerRadius = transTo || 0;
|
|
784
795
|
}
|
|
785
|
-
// Convert percentages to pixel values
|
|
786
|
-
radii = radii.map(function (radius) {
|
|
787
|
-
if (percentRegex.test(radius)) {
|
|
788
|
-
radius = (pInt(radius, 10) * fullRadius) / 100;
|
|
789
|
-
}
|
|
790
|
-
return radius;
|
|
791
|
-
});
|
|
792
796
|
// Handle full circle
|
|
793
797
|
if (options.shape === 'circle' || !isCircular) {
|
|
794
798
|
start = -Math.PI / 2;
|
|
@@ -796,16 +800,16 @@
|
|
|
796
800
|
open = true;
|
|
797
801
|
}
|
|
798
802
|
else {
|
|
799
|
-
start = startAngleRad +
|
|
800
|
-
end = startAngleRad +
|
|
803
|
+
start = startAngleRad + (transFrom || 0);
|
|
804
|
+
end = startAngleRad + (transTo || 0);
|
|
801
805
|
}
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
path = this.chart.renderer.symbols.arc(this.left + center[0], this.top + center[1],
|
|
806
|
+
outerRadius -= offset; // #5283
|
|
807
|
+
thickness -= offset; // #5283
|
|
808
|
+
path = this.chart.renderer.symbols.arc(this.left + center[0], this.top + center[1], outerRadius, outerRadius, {
|
|
805
809
|
// Math is for reversed yAxis (#3606)
|
|
806
810
|
start: Math.min(start, end),
|
|
807
811
|
end: Math.max(start, end),
|
|
808
|
-
innerR: pick(
|
|
812
|
+
innerR: pick(innerRadius, outerRadius - thickness),
|
|
809
813
|
open: open
|
|
810
814
|
});
|
|
811
815
|
// Provide positioning boxes for the label (#6406)
|
|
@@ -1131,6 +1135,12 @@
|
|
|
1131
1135
|
}
|
|
1132
1136
|
}
|
|
1133
1137
|
});
|
|
1138
|
+
addEvent(AxisClass, 'initialAxisTranslation', function () {
|
|
1139
|
+
var axis = this;
|
|
1140
|
+
if (axis.isRadial) {
|
|
1141
|
+
axis.beforeSetTickPositions();
|
|
1142
|
+
}
|
|
1143
|
+
});
|
|
1134
1144
|
// Add special cases within the Tick class' methods for radial axes.
|
|
1135
1145
|
addEvent(TickClass, 'afterGetPosition', function (e) {
|
|
1136
1146
|
var tick = this;
|
|
@@ -1392,7 +1402,7 @@
|
|
|
1392
1402
|
|
|
1393
1403
|
return RadialAxis;
|
|
1394
1404
|
});
|
|
1395
|
-
_registerModule(_modules, '
|
|
1405
|
+
_registerModule(_modules, 'Series/AreaRangeSeries.js', [_modules['Core/Series/Series.js'], _modules['Core/Globals.js'], _modules['Core/Series/Point.js'], _modules['Core/Utilities.js']], function (BaseSeries, H, Point, U) {
|
|
1396
1406
|
/* *
|
|
1397
1407
|
*
|
|
1398
1408
|
* (c) 2010-2020 Torstein Honsi
|
|
@@ -1402,17 +1412,17 @@
|
|
|
1402
1412
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
1403
1413
|
*
|
|
1404
1414
|
* */
|
|
1415
|
+
var noop = H.noop;
|
|
1405
1416
|
var defined = U.defined,
|
|
1406
1417
|
extend = U.extend,
|
|
1407
1418
|
isArray = U.isArray,
|
|
1408
1419
|
isNumber = U.isNumber,
|
|
1409
|
-
pick = U.pick
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
seriesProto = Series.prototype
|
|
1415
|
-
pointProto = Point.prototype;
|
|
1420
|
+
pick = U.pick;
|
|
1421
|
+
var Series = H.Series,
|
|
1422
|
+
areaProto = BaseSeries.seriesTypes.area.prototype,
|
|
1423
|
+
columnProto = BaseSeries.seriesTypes.column.prototype,
|
|
1424
|
+
pointProto = Point.prototype,
|
|
1425
|
+
seriesProto = Series.prototype;
|
|
1416
1426
|
/**
|
|
1417
1427
|
* The area range series is a carteseian series with higher and lower values for
|
|
1418
1428
|
* each point along an X axis, where the area between the values is shaded.
|
|
@@ -1428,7 +1438,31 @@
|
|
|
1428
1438
|
* @requires highcharts-more
|
|
1429
1439
|
* @optionparent plotOptions.arearange
|
|
1430
1440
|
*/
|
|
1431
|
-
seriesType('arearange', 'area', {
|
|
1441
|
+
BaseSeries.seriesType('arearange', 'area', {
|
|
1442
|
+
/**
|
|
1443
|
+
* @see [fillColor](#plotOptions.arearange.fillColor)
|
|
1444
|
+
* @see [fillOpacity](#plotOptions.arearange.fillOpacity)
|
|
1445
|
+
*
|
|
1446
|
+
* @apioption plotOptions.arearange.color
|
|
1447
|
+
*/
|
|
1448
|
+
/**
|
|
1449
|
+
* @default low
|
|
1450
|
+
* @apioption plotOptions.arearange.colorKey
|
|
1451
|
+
*/
|
|
1452
|
+
/**
|
|
1453
|
+
* @see [color](#plotOptions.arearange.color)
|
|
1454
|
+
* @see [fillOpacity](#plotOptions.arearange.fillOpacity)
|
|
1455
|
+
*
|
|
1456
|
+
* @apioption plotOptions.arearange.fillColor
|
|
1457
|
+
*/
|
|
1458
|
+
/**
|
|
1459
|
+
* @see [color](#plotOptions.arearange.color)
|
|
1460
|
+
* @see [fillColor](#plotOptions.arearange.fillColor)
|
|
1461
|
+
*
|
|
1462
|
+
* @default {highcharts} 0.75
|
|
1463
|
+
* @default {highstock} 0.75
|
|
1464
|
+
* @apioption plotOptions.arearange.fillOpacity
|
|
1465
|
+
*/
|
|
1432
1466
|
/**
|
|
1433
1467
|
* Whether to apply a drop shadow to the graph line. Since 2.3 the shadow
|
|
1434
1468
|
* can be an object configuration containing `color`, `offsetX`, `offsetY`,
|
|
@@ -1438,10 +1472,6 @@
|
|
|
1438
1472
|
* @product highcharts
|
|
1439
1473
|
* @apioption plotOptions.arearange.shadow
|
|
1440
1474
|
*/
|
|
1441
|
-
/**
|
|
1442
|
-
* @default low
|
|
1443
|
-
* @apioption plotOptions.arearange.colorKey
|
|
1444
|
-
*/
|
|
1445
1475
|
/**
|
|
1446
1476
|
* Pixel width of the arearange graph line.
|
|
1447
1477
|
*
|
|
@@ -1478,8 +1508,8 @@
|
|
|
1478
1508
|
* @private
|
|
1479
1509
|
*/
|
|
1480
1510
|
dataLabels: {
|
|
1481
|
-
align:
|
|
1482
|
-
verticalAlign:
|
|
1511
|
+
align: void 0,
|
|
1512
|
+
verticalAlign: void 0,
|
|
1483
1513
|
/**
|
|
1484
1514
|
* X offset of the lower data labels relative to the point value.
|
|
1485
1515
|
*
|
|
@@ -1547,7 +1577,7 @@
|
|
|
1547
1577
|
var series = this,
|
|
1548
1578
|
yAxis = series.yAxis,
|
|
1549
1579
|
hasModifyValue = !!series.modifyValue;
|
|
1550
|
-
|
|
1580
|
+
areaProto.translate.apply(series);
|
|
1551
1581
|
// Set plotLow and plotHigh
|
|
1552
1582
|
series.points.forEach(function (point) {
|
|
1553
1583
|
var high = point.high,
|
|
@@ -1585,34 +1615,40 @@
|
|
|
1585
1615
|
var highPoints = [],
|
|
1586
1616
|
highAreaPoints = [],
|
|
1587
1617
|
i,
|
|
1588
|
-
getGraphPath =
|
|
1618
|
+
getGraphPath = areaProto.getGraphPath,
|
|
1589
1619
|
point,
|
|
1590
1620
|
pointShim,
|
|
1591
1621
|
linePath,
|
|
1592
1622
|
lowerPath,
|
|
1593
1623
|
options = this.options,
|
|
1594
|
-
|
|
1624
|
+
polar = this.chart.polar,
|
|
1625
|
+
connectEnds = polar && options.connectEnds !== false,
|
|
1595
1626
|
connectNulls = options.connectNulls,
|
|
1596
1627
|
step = options.step,
|
|
1597
1628
|
higherPath,
|
|
1598
1629
|
higherAreaPath;
|
|
1599
1630
|
points = points || this.points;
|
|
1600
|
-
i = points.length;
|
|
1601
1631
|
// Create the top line and the top part of the area fill. The area fill
|
|
1602
1632
|
// compensates for null points by drawing down to the lower graph,
|
|
1603
1633
|
// moving across the null gap and starting again at the lower graph.
|
|
1604
1634
|
i = points.length;
|
|
1605
1635
|
while (i--) {
|
|
1606
1636
|
point = points[i];
|
|
1637
|
+
// Support for polar
|
|
1638
|
+
var highAreaPoint = polar ? {
|
|
1639
|
+
plotX: point.rectPlotX,
|
|
1640
|
+
plotY: point.yBottom,
|
|
1641
|
+
doCurve: false // #5186, gaps in areasplinerange fill
|
|
1642
|
+
} : {
|
|
1643
|
+
plotX: point.plotX,
|
|
1644
|
+
plotY: point.plotY,
|
|
1645
|
+
doCurve: false // #5186, gaps in areasplinerange fill
|
|
1646
|
+
};
|
|
1607
1647
|
if (!point.isNull &&
|
|
1608
1648
|
!connectEnds &&
|
|
1609
1649
|
!connectNulls &&
|
|
1610
1650
|
(!points[i + 1] || points[i + 1].isNull)) {
|
|
1611
|
-
highAreaPoints.push(
|
|
1612
|
-
plotX: point.plotX,
|
|
1613
|
-
plotY: point.plotY,
|
|
1614
|
-
doCurve: false // #5186, gaps in areasplinerange fill
|
|
1615
|
-
});
|
|
1651
|
+
highAreaPoints.push(highAreaPoint);
|
|
1616
1652
|
}
|
|
1617
1653
|
pointShim = {
|
|
1618
1654
|
polarPlotY: point.polarPlotY,
|
|
@@ -1629,11 +1665,7 @@
|
|
|
1629
1665
|
!connectEnds &&
|
|
1630
1666
|
!connectNulls &&
|
|
1631
1667
|
(!points[i - 1] || points[i - 1].isNull)) {
|
|
1632
|
-
highAreaPoints.push(
|
|
1633
|
-
plotX: point.plotX,
|
|
1634
|
-
plotY: point.plotY,
|
|
1635
|
-
doCurve: false // #5186, gaps in areasplinerange fill
|
|
1636
|
-
});
|
|
1668
|
+
highAreaPoints.push(highAreaPoint);
|
|
1637
1669
|
}
|
|
1638
1670
|
}
|
|
1639
1671
|
// Get the paths
|
|
@@ -1694,14 +1726,8 @@
|
|
|
1694
1726
|
// since we now have to loop over all the points multiple times to work
|
|
1695
1727
|
// around the data label logic.
|
|
1696
1728
|
if (isArray(dataLabelOptions)) {
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
lowerDataLabelOptions = dataLabelOptions[1];
|
|
1700
|
-
}
|
|
1701
|
-
else {
|
|
1702
|
-
upperDataLabelOptions = dataLabelOptions[0];
|
|
1703
|
-
lowerDataLabelOptions = { enabled: false };
|
|
1704
|
-
}
|
|
1729
|
+
upperDataLabelOptions = dataLabelOptions[0] || { enabled: false };
|
|
1730
|
+
lowerDataLabelOptions = dataLabelOptions[1] || { enabled: false };
|
|
1705
1731
|
}
|
|
1706
1732
|
else {
|
|
1707
1733
|
// Make copies
|
|
@@ -1815,8 +1841,7 @@
|
|
|
1815
1841
|
this.options.dataLabels = dataLabelOptions;
|
|
1816
1842
|
},
|
|
1817
1843
|
alignDataLabel: function () {
|
|
1818
|
-
|
|
1819
|
-
.apply(this, arguments);
|
|
1844
|
+
columnProto.alignDataLabel.apply(this, arguments);
|
|
1820
1845
|
},
|
|
1821
1846
|
drawPoints: function () {
|
|
1822
1847
|
var series = this,
|
|
@@ -1977,6 +2002,12 @@
|
|
|
1977
2002
|
* @requires highcharts-more
|
|
1978
2003
|
* @apioption series.arearange
|
|
1979
2004
|
*/
|
|
2005
|
+
/**
|
|
2006
|
+
* @see [fillColor](#series.arearange.fillColor)
|
|
2007
|
+
* @see [fillOpacity](#series.arearange.fillOpacity)
|
|
2008
|
+
*
|
|
2009
|
+
* @apioption series.arearange.color
|
|
2010
|
+
*/
|
|
1980
2011
|
/**
|
|
1981
2012
|
* An array of data points for the series. For the `arearange` series type,
|
|
1982
2013
|
* points can be given in the following ways:
|
|
@@ -2037,6 +2068,20 @@
|
|
|
2037
2068
|
* @product highcharts highstock
|
|
2038
2069
|
* @apioption series.arearange.data.dataLabels
|
|
2039
2070
|
*/
|
|
2071
|
+
/**
|
|
2072
|
+
* @see [color](#series.arearange.color)
|
|
2073
|
+
* @see [fillOpacity](#series.arearange.fillOpacity)
|
|
2074
|
+
*
|
|
2075
|
+
* @apioption series.arearange.fillColor
|
|
2076
|
+
*/
|
|
2077
|
+
/**
|
|
2078
|
+
* @see [color](#series.arearange.color)
|
|
2079
|
+
* @see [fillColor](#series.arearange.fillColor)
|
|
2080
|
+
*
|
|
2081
|
+
* @default {highcharts} 0.75
|
|
2082
|
+
* @default {highstock} 0.75
|
|
2083
|
+
* @apioption series.arearange.fillOpacity
|
|
2084
|
+
*/
|
|
2040
2085
|
/**
|
|
2041
2086
|
* The high or maximum value for each data point.
|
|
2042
2087
|
*
|
|
@@ -2054,7 +2099,7 @@
|
|
|
2054
2099
|
''; // adds doclets above to tranpiled file
|
|
2055
2100
|
|
|
2056
2101
|
});
|
|
2057
|
-
_registerModule(_modules, '
|
|
2102
|
+
_registerModule(_modules, 'Series/AreaSplineRangeSeries.js', [_modules['Core/Series/Series.js']], function (BaseSeries) {
|
|
2058
2103
|
/* *
|
|
2059
2104
|
*
|
|
2060
2105
|
* (c) 2010-2020 Torstein Honsi
|
|
@@ -2064,8 +2109,6 @@
|
|
|
2064
2109
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
2065
2110
|
*
|
|
2066
2111
|
* */
|
|
2067
|
-
var seriesType = U.seriesType;
|
|
2068
|
-
var seriesTypes = H.seriesTypes;
|
|
2069
2112
|
/**
|
|
2070
2113
|
* The area spline range is a cartesian series type with higher and
|
|
2071
2114
|
* lower Y values along an X axis. The area inside the range is colored, and
|
|
@@ -2076,24 +2119,51 @@
|
|
|
2076
2119
|
*
|
|
2077
2120
|
* @extends plotOptions.arearange
|
|
2078
2121
|
* @since 2.3.0
|
|
2079
|
-
* @excluding step
|
|
2122
|
+
* @excluding step, boostThreshold, boostBlending
|
|
2080
2123
|
* @product highcharts highstock
|
|
2081
2124
|
* @requires highcharts-more
|
|
2082
2125
|
* @apioption plotOptions.areasplinerange
|
|
2083
2126
|
*/
|
|
2084
|
-
seriesType('areasplinerange', 'arearange',
|
|
2085
|
-
|
|
2127
|
+
BaseSeries.seriesType('areasplinerange', 'arearange',
|
|
2128
|
+
/**
|
|
2129
|
+
* @see [fillColor](#plotOptions.areasplinerange.fillColor)
|
|
2130
|
+
* @see [fillOpacity](#plotOptions.areasplinerange.fillOpacity)
|
|
2131
|
+
*
|
|
2132
|
+
* @apioption plotOptions.areasplinerange.color
|
|
2133
|
+
*/
|
|
2134
|
+
/**
|
|
2135
|
+
* @see [color](#plotOptions.areasplinerange.color)
|
|
2136
|
+
* @see [fillOpacity](#plotOptions.areasplinerange.fillOpacity)
|
|
2137
|
+
*
|
|
2138
|
+
* @apioption plotOptions.areasplinerange.fillColor
|
|
2139
|
+
*/
|
|
2140
|
+
/**
|
|
2141
|
+
* @see [color](#plotOptions.areasplinerange.color)
|
|
2142
|
+
* @see [fillColor](#plotOptions.areasplinerange.fillColor)
|
|
2143
|
+
*
|
|
2144
|
+
* @default {highcharts} 0.75
|
|
2145
|
+
* @default {highstock} 0.75
|
|
2146
|
+
* @apioption plotOptions.areasplinerange.fillOpacity
|
|
2147
|
+
*/
|
|
2148
|
+
null, {
|
|
2149
|
+
getPointSpline: BaseSeries.seriesTypes.spline.prototype.getPointSpline
|
|
2086
2150
|
});
|
|
2087
2151
|
/**
|
|
2088
2152
|
* A `areasplinerange` series. If the [type](#series.areasplinerange.type)
|
|
2089
2153
|
* option is not specified, it is inherited from [chart.type](#chart.type).
|
|
2090
2154
|
*
|
|
2091
2155
|
* @extends series,plotOptions.areasplinerange
|
|
2092
|
-
* @excluding dataParser, dataURL, stack, step
|
|
2156
|
+
* @excluding dataParser, dataURL, stack, step, boostThreshold, boostBlending
|
|
2093
2157
|
* @product highcharts highstock
|
|
2094
2158
|
* @requires highcharts-more
|
|
2095
2159
|
* @apioption series.areasplinerange
|
|
2096
2160
|
*/
|
|
2161
|
+
/**
|
|
2162
|
+
* @see [fillColor](#series.areasplinerange.fillColor)
|
|
2163
|
+
* @see [fillOpacity](#series.areasplinerange.fillOpacity)
|
|
2164
|
+
*
|
|
2165
|
+
* @apioption series.areasplinerange.color
|
|
2166
|
+
*/
|
|
2097
2167
|
/**
|
|
2098
2168
|
* An array of data points for the series. For the `areasplinerange`
|
|
2099
2169
|
* series type, points can be given in the following ways:
|
|
@@ -2148,10 +2218,24 @@
|
|
|
2148
2218
|
* @product highcharts highstock
|
|
2149
2219
|
* @apioption series.areasplinerange.data
|
|
2150
2220
|
*/
|
|
2221
|
+
/**
|
|
2222
|
+
* @see [color](#series.areasplinerange.color)
|
|
2223
|
+
* @see [fillOpacity](#series.areasplinerange.fillOpacity)
|
|
2224
|
+
*
|
|
2225
|
+
* @apioption series.areasplinerange.fillColor
|
|
2226
|
+
*/
|
|
2227
|
+
/**
|
|
2228
|
+
* @see [color](#series.areasplinerange.color)
|
|
2229
|
+
* @see [fillColor](#series.areasplinerange.fillColor)
|
|
2230
|
+
*
|
|
2231
|
+
* @default {highcharts} 0.75
|
|
2232
|
+
* @default {highstock} 0.75
|
|
2233
|
+
* @apioption series.areasplinerange.fillOpacity
|
|
2234
|
+
*/
|
|
2151
2235
|
''; // adds doclets above to transpiled file
|
|
2152
2236
|
|
|
2153
2237
|
});
|
|
2154
|
-
_registerModule(_modules, '
|
|
2238
|
+
_registerModule(_modules, 'Series/ColumnRangeSeries.js', [_modules['Core/Series/Series.js'], _modules['Core/Globals.js'], _modules['Core/Options.js'], _modules['Core/Utilities.js']], function (BaseSeries, H, O, U) {
|
|
2155
2239
|
/* *
|
|
2156
2240
|
*
|
|
2157
2241
|
* (c) 2010-2020 Torstein Honsi
|
|
@@ -2161,14 +2245,12 @@
|
|
|
2161
2245
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
2162
2246
|
*
|
|
2163
2247
|
* */
|
|
2248
|
+
var noop = H.noop;
|
|
2249
|
+
var defaultOptions = O.defaultOptions;
|
|
2164
2250
|
var clamp = U.clamp,
|
|
2165
2251
|
merge = U.merge,
|
|
2166
|
-
pick = U.pick
|
|
2167
|
-
|
|
2168
|
-
var defaultPlotOptions = H.defaultPlotOptions,
|
|
2169
|
-
noop = H.noop,
|
|
2170
|
-
seriesTypes = H.seriesTypes;
|
|
2171
|
-
var colProto = seriesTypes.column.prototype;
|
|
2252
|
+
pick = U.pick;
|
|
2253
|
+
var columnProto = BaseSeries.seriesTypes.column.prototype;
|
|
2172
2254
|
/**
|
|
2173
2255
|
* The column range is a cartesian series type with higher and lower
|
|
2174
2256
|
* Y values along an X axis. To display horizontal bars, set
|
|
@@ -2218,7 +2300,7 @@
|
|
|
2218
2300
|
*
|
|
2219
2301
|
* @augments Highcharts.Series
|
|
2220
2302
|
*/
|
|
2221
|
-
seriesType('columnrange', 'arearange', merge(
|
|
2303
|
+
BaseSeries.seriesType('columnrange', 'arearange', merge(defaultOptions.plotOptions.column, defaultOptions.plotOptions.arearange, columnRangeOptions), {
|
|
2222
2304
|
// eslint-disable-next-line valid-jsdoc
|
|
2223
2305
|
/**
|
|
2224
2306
|
* Translate data points from raw values x and y to plotX and plotY
|
|
@@ -2243,7 +2325,7 @@
|
|
|
2243
2325
|
function safeBounds(pixelPos) {
|
|
2244
2326
|
return clamp(pixelPos, -safeDistance, safeDistance);
|
|
2245
2327
|
}
|
|
2246
|
-
|
|
2328
|
+
columnProto.translate.apply(series);
|
|
2247
2329
|
// Set plotLow and plotHigh
|
|
2248
2330
|
series.points.forEach(function (point) {
|
|
2249
2331
|
var shapeArgs = point.shapeArgs,
|
|
@@ -2297,34 +2379,34 @@
|
|
|
2297
2379
|
getSymbol: noop,
|
|
2298
2380
|
// Overrides from modules that may be loaded after this module
|
|
2299
2381
|
crispCol: function () {
|
|
2300
|
-
return
|
|
2382
|
+
return columnProto.crispCol.apply(this, arguments);
|
|
2301
2383
|
},
|
|
2302
2384
|
drawPoints: function () {
|
|
2303
|
-
return
|
|
2385
|
+
return columnProto.drawPoints.apply(this, arguments);
|
|
2304
2386
|
},
|
|
2305
2387
|
drawTracker: function () {
|
|
2306
|
-
return
|
|
2388
|
+
return columnProto.drawTracker.apply(this, arguments);
|
|
2307
2389
|
},
|
|
2308
2390
|
getColumnMetrics: function () {
|
|
2309
|
-
return
|
|
2391
|
+
return columnProto.getColumnMetrics.apply(this, arguments);
|
|
2310
2392
|
},
|
|
2311
2393
|
pointAttribs: function () {
|
|
2312
|
-
return
|
|
2394
|
+
return columnProto.pointAttribs.apply(this, arguments);
|
|
2313
2395
|
},
|
|
2314
2396
|
animate: function () {
|
|
2315
|
-
return
|
|
2397
|
+
return columnProto.animate.apply(this, arguments);
|
|
2316
2398
|
},
|
|
2317
2399
|
polarArc: function () {
|
|
2318
|
-
return
|
|
2400
|
+
return columnProto.polarArc.apply(this, arguments);
|
|
2319
2401
|
},
|
|
2320
2402
|
translate3dPoints: function () {
|
|
2321
|
-
return
|
|
2403
|
+
return columnProto.translate3dPoints.apply(this, arguments);
|
|
2322
2404
|
},
|
|
2323
2405
|
translate3dShapes: function () {
|
|
2324
|
-
return
|
|
2406
|
+
return columnProto.translate3dShapes.apply(this, arguments);
|
|
2325
2407
|
}
|
|
2326
2408
|
}, {
|
|
2327
|
-
setState:
|
|
2409
|
+
setState: columnProto.pointClass.prototype.setState
|
|
2328
2410
|
});
|
|
2329
2411
|
/**
|
|
2330
2412
|
* A `columnrange` series. If the [type](#series.columnrange.type)
|
|
@@ -2410,7 +2492,7 @@
|
|
|
2410
2492
|
''; // adds doclets above into transpiled
|
|
2411
2493
|
|
|
2412
2494
|
});
|
|
2413
|
-
_registerModule(_modules, '
|
|
2495
|
+
_registerModule(_modules, 'Series/ColumnPyramidSeries.js', [_modules['Core/Series/Series.js'], _modules['Series/ColumnSeries.js'], _modules['Core/Utilities.js']], function (BaseSeries, ColumnSeries, U) {
|
|
2414
2496
|
/* *
|
|
2415
2497
|
*
|
|
2416
2498
|
* (c) 2010-2020 Sebastian Bochan
|
|
@@ -2420,11 +2502,9 @@
|
|
|
2420
2502
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
2421
2503
|
*
|
|
2422
2504
|
* */
|
|
2505
|
+
var colProto = ColumnSeries.prototype;
|
|
2423
2506
|
var clamp = U.clamp,
|
|
2424
|
-
pick = U.pick
|
|
2425
|
-
seriesType = U.seriesType;
|
|
2426
|
-
var seriesTypes = H.seriesTypes;
|
|
2427
|
-
var colProto = seriesTypes.column.prototype;
|
|
2507
|
+
pick = U.pick;
|
|
2428
2508
|
/**
|
|
2429
2509
|
* The ColumnPyramidSeries class
|
|
2430
2510
|
*
|
|
@@ -2434,7 +2514,7 @@
|
|
|
2434
2514
|
*
|
|
2435
2515
|
* @augments Highcharts.Series
|
|
2436
2516
|
*/
|
|
2437
|
-
seriesType('columnpyramid', 'column',
|
|
2517
|
+
BaseSeries.seriesType('columnpyramid', 'column',
|
|
2438
2518
|
/**
|
|
2439
2519
|
* Column pyramid series display one pyramid per value along an X axis.
|
|
2440
2520
|
* To display horizontal pyramids, set [chart.inverted](#chart.inverted) to
|
|
@@ -2452,7 +2532,7 @@
|
|
|
2452
2532
|
* @product highcharts highstock
|
|
2453
2533
|
* @excluding boostThreshold, borderRadius, crisp, depth, edgeColor,
|
|
2454
2534
|
* edgeWidth, groupZPadding, negativeColor, softThreshold,
|
|
2455
|
-
* threshold, zoneAxis, zones
|
|
2535
|
+
* threshold, zoneAxis, zones, boostBlending
|
|
2456
2536
|
* @requires highcharts-more
|
|
2457
2537
|
* @optionparent plotOptions.columnpyramid
|
|
2458
2538
|
*/
|
|
@@ -2623,7 +2703,8 @@
|
|
|
2623
2703
|
*
|
|
2624
2704
|
* @extends series,plotOptions.columnpyramid
|
|
2625
2705
|
* @excluding connectEnds, connectNulls, dashStyle, dataParser, dataURL,
|
|
2626
|
-
* gapSize, gapUnit, linecap, lineWidth, marker, step
|
|
2706
|
+
* gapSize, gapUnit, linecap, lineWidth, marker, step,
|
|
2707
|
+
* boostThreshold, boostBlending
|
|
2627
2708
|
* @product highcharts highstock
|
|
2628
2709
|
* @requires highcharts-more
|
|
2629
2710
|
* @apioption series.columnpyramid
|
|
@@ -2700,7 +2781,7 @@
|
|
|
2700
2781
|
''; // adds doclets above to transpiled file;
|
|
2701
2782
|
|
|
2702
2783
|
});
|
|
2703
|
-
_registerModule(_modules, '
|
|
2784
|
+
_registerModule(_modules, 'Series/GaugeSeries.js', [_modules['Core/Series/Series.js'], _modules['Core/Globals.js'], _modules['Core/Utilities.js']], function (BaseSeries, H, U) {
|
|
2704
2785
|
/* *
|
|
2705
2786
|
*
|
|
2706
2787
|
* (c) 2010-2020 Torstein Honsi
|
|
@@ -2710,14 +2791,13 @@
|
|
|
2710
2791
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
2711
2792
|
*
|
|
2712
2793
|
* */
|
|
2794
|
+
var noop = H.noop;
|
|
2713
2795
|
var clamp = U.clamp,
|
|
2714
2796
|
isNumber = U.isNumber,
|
|
2715
2797
|
merge = U.merge,
|
|
2716
2798
|
pick = U.pick,
|
|
2717
|
-
pInt = U.pInt
|
|
2718
|
-
|
|
2719
|
-
var noop = H.noop,
|
|
2720
|
-
Series = H.Series,
|
|
2799
|
+
pInt = U.pInt;
|
|
2800
|
+
var Series = H.Series,
|
|
2721
2801
|
TrackerMixin = H.TrackerMixin;
|
|
2722
2802
|
/**
|
|
2723
2803
|
* Gauges are circular plots displaying one or more values with a dial pointing
|
|
@@ -2731,12 +2811,13 @@
|
|
|
2731
2811
|
* connectEnds, connectNulls, cropThreshold, dashStyle, dragDrop,
|
|
2732
2812
|
* findNearestPointBy, getExtremesFromAll, marker, negativeColor,
|
|
2733
2813
|
* pointPlacement, shadow, softThreshold, stacking, states, step,
|
|
2734
|
-
* threshold, turboThreshold, xAxis, zoneAxis, zones, dataSorting
|
|
2814
|
+
* threshold, turboThreshold, xAxis, zoneAxis, zones, dataSorting,
|
|
2815
|
+
* boostBlending
|
|
2735
2816
|
* @product highcharts
|
|
2736
2817
|
* @requires highcharts-more
|
|
2737
2818
|
* @optionparent plotOptions.gauge
|
|
2738
2819
|
*/
|
|
2739
|
-
seriesType('gauge', 'line', {
|
|
2820
|
+
BaseSeries.seriesType('gauge', 'line', {
|
|
2740
2821
|
/**
|
|
2741
2822
|
* When this option is `true`, the dial will wrap around the axes. For
|
|
2742
2823
|
* instance, in a full-range gauge going from 0 to 360, a value of 400
|
|
@@ -3196,7 +3277,7 @@
|
|
|
3196
3277
|
* cropThreshold, dashStyle, dataParser, dataURL, findNearestPointBy,
|
|
3197
3278
|
* getExtremesFromAll, marker, negativeColor, pointPlacement, shadow,
|
|
3198
3279
|
* softThreshold, stack, stacking, states, step, threshold,
|
|
3199
|
-
* turboThreshold, zoneAxis, zones, dataSorting
|
|
3280
|
+
* turboThreshold, zoneAxis, zones, dataSorting, boostBlending
|
|
3200
3281
|
* @product highcharts
|
|
3201
3282
|
* @requires highcharts-more
|
|
3202
3283
|
* @apioption series.gauge
|
|
@@ -3244,7 +3325,7 @@
|
|
|
3244
3325
|
''; // adds the doclets above in the transpiled file
|
|
3245
3326
|
|
|
3246
3327
|
});
|
|
3247
|
-
_registerModule(_modules, '
|
|
3328
|
+
_registerModule(_modules, 'Series/BoxPlotSeries.js', [_modules['Core/Series/Series.js'], _modules['Series/ColumnSeries.js'], _modules['Core/Globals.js'], _modules['Core/Utilities.js']], function (Series, ColumnSeries, H, U) {
|
|
3248
3329
|
/* *
|
|
3249
3330
|
*
|
|
3250
3331
|
* (c) 2010-2020 Torstein Honsi
|
|
@@ -3254,10 +3335,9 @@
|
|
|
3254
3335
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
3255
3336
|
*
|
|
3256
3337
|
* */
|
|
3257
|
-
var
|
|
3258
|
-
|
|
3259
|
-
var
|
|
3260
|
-
seriesTypes = H.seriesTypes;
|
|
3338
|
+
var columnProto = ColumnSeries.prototype;
|
|
3339
|
+
var noop = H.noop;
|
|
3340
|
+
var pick = U.pick;
|
|
3261
3341
|
/**
|
|
3262
3342
|
* The boxplot series type.
|
|
3263
3343
|
*
|
|
@@ -3277,12 +3357,13 @@
|
|
|
3277
3357
|
* Box plot
|
|
3278
3358
|
*
|
|
3279
3359
|
* @extends plotOptions.column
|
|
3280
|
-
* @excluding borderColor, borderRadius, borderWidth, groupZPadding, states
|
|
3360
|
+
* @excluding borderColor, borderRadius, borderWidth, groupZPadding, states,
|
|
3361
|
+
* boostThreshold, boostBlending
|
|
3281
3362
|
* @product highcharts
|
|
3282
3363
|
* @requires highcharts-more
|
|
3283
3364
|
* @optionparent plotOptions.boxplot
|
|
3284
3365
|
*/
|
|
3285
|
-
seriesType('boxplot', 'column', {
|
|
3366
|
+
Series.seriesType('boxplot', 'column', {
|
|
3286
3367
|
threshold: null,
|
|
3287
3368
|
tooltip: {
|
|
3288
3369
|
pointFormat: '<span style="color:{point.color}">\u25CF</span> <b> ' +
|
|
@@ -3338,8 +3419,8 @@
|
|
|
3338
3419
|
*/
|
|
3339
3420
|
lineWidth: 1,
|
|
3340
3421
|
/**
|
|
3341
|
-
* The color of the median line. If `undefined`, the general series
|
|
3342
|
-
* applies.
|
|
3422
|
+
* The color of the median line. If `undefined`, the general series
|
|
3423
|
+
* color applies.
|
|
3343
3424
|
*
|
|
3344
3425
|
* In styled mode, the median stroke width can be set with the
|
|
3345
3426
|
* `.highcharts-boxplot-median` class.
|
|
@@ -3518,7 +3599,9 @@
|
|
|
3518
3599
|
* @product highcharts
|
|
3519
3600
|
*/
|
|
3520
3601
|
whiskerWidth: 2
|
|
3521
|
-
},
|
|
3602
|
+
},
|
|
3603
|
+
/** @lends Highcharts.seriesTypes.boxplot */
|
|
3604
|
+
{
|
|
3522
3605
|
// array point configs are mapped to this
|
|
3523
3606
|
pointArrayMap: ['low', 'q1', 'median', 'q3', 'high'],
|
|
3524
3607
|
// return a plain array for speedy calculation
|
|
@@ -3539,7 +3622,7 @@
|
|
|
3539
3622
|
var series = this,
|
|
3540
3623
|
yAxis = series.yAxis,
|
|
3541
3624
|
pointArrayMap = series.pointArrayMap;
|
|
3542
|
-
|
|
3625
|
+
columnProto.translate.apply(series);
|
|
3543
3626
|
// do the translation on each point dimension
|
|
3544
3627
|
series.points.forEach(function (point) {
|
|
3545
3628
|
pointArrayMap.forEach(function (key) {
|
|
@@ -3725,7 +3808,8 @@
|
|
|
3725
3808
|
* not specified, it is inherited from [chart.type](#chart.type).
|
|
3726
3809
|
*
|
|
3727
3810
|
* @extends series,plotOptions.boxplot
|
|
3728
|
-
* @excluding dataParser, dataURL, marker, stack, stacking, states
|
|
3811
|
+
* @excluding dataParser, dataURL, marker, stack, stacking, states,
|
|
3812
|
+
* boostThreshold, boostBlending
|
|
3729
3813
|
* @product highcharts
|
|
3730
3814
|
* @requires highcharts-more
|
|
3731
3815
|
* @apioption series.boxplot
|
|
@@ -3889,7 +3973,7 @@
|
|
|
3889
3973
|
''; // adds doclets above to transpiled file
|
|
3890
3974
|
|
|
3891
3975
|
});
|
|
3892
|
-
_registerModule(_modules, '
|
|
3976
|
+
_registerModule(_modules, 'Series/ErrorBarSeries.js', [_modules['Core/Series/Series.js'], _modules['Core/Globals.js']], function (BaseSeries, H) {
|
|
3893
3977
|
/* *
|
|
3894
3978
|
*
|
|
3895
3979
|
* (c) 2010-2020 Torstein Honsi
|
|
@@ -3899,9 +3983,8 @@
|
|
|
3899
3983
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
3900
3984
|
*
|
|
3901
3985
|
* */
|
|
3902
|
-
var seriesType = U.seriesType;
|
|
3903
3986
|
var noop = H.noop,
|
|
3904
|
-
seriesTypes =
|
|
3987
|
+
seriesTypes = BaseSeries.seriesTypes;
|
|
3905
3988
|
/**
|
|
3906
3989
|
* Error bars are a graphical representation of the variability of data and are
|
|
3907
3990
|
* used on graphs to indicate the error, or uncertainty in a reported
|
|
@@ -3913,11 +3996,12 @@
|
|
|
3913
3996
|
* Error bars on a scatter series
|
|
3914
3997
|
*
|
|
3915
3998
|
* @extends plotOptions.boxplot
|
|
3999
|
+
* @excluding boostBlending, boostThreshold
|
|
3916
4000
|
* @product highcharts highstock
|
|
3917
4001
|
* @requires highcharts-more
|
|
3918
4002
|
* @optionparent plotOptions.errorbar
|
|
3919
4003
|
*/
|
|
3920
|
-
seriesType('errorbar', 'boxplot', {
|
|
4004
|
+
BaseSeries.seriesType('errorbar', 'boxplot', {
|
|
3921
4005
|
/**
|
|
3922
4006
|
* The main color of the bars. This can be overridden by
|
|
3923
4007
|
* [stemColor](#plotOptions.errorbar.stemColor) and
|
|
@@ -3991,7 +4075,8 @@
|
|
|
3991
4075
|
* is not specified, it is inherited from [chart.type](#chart.type).
|
|
3992
4076
|
*
|
|
3993
4077
|
* @extends series,plotOptions.errorbar
|
|
3994
|
-
* @excluding dataParser, dataURL, stack, stacking
|
|
4078
|
+
* @excluding dataParser, dataURL, stack, stacking, boostThreshold,
|
|
4079
|
+
* boostBlending
|
|
3995
4080
|
* @product highcharts
|
|
3996
4081
|
* @requires highcharts-more
|
|
3997
4082
|
* @apioption series.errorbar
|
|
@@ -4054,7 +4139,7 @@
|
|
|
4054
4139
|
''; // adds doclets above to transpiled file
|
|
4055
4140
|
|
|
4056
4141
|
});
|
|
4057
|
-
_registerModule(_modules, '
|
|
4142
|
+
_registerModule(_modules, 'Series/WaterfallSeries.js', [_modules['Core/Axis/Axis.js'], _modules['Core/Series/Series.js'], _modules['Core/Chart/Chart.js'], _modules['Core/Globals.js'], _modules['Core/Series/Point.js'], _modules['Extensions/Stacking.js'], _modules['Core/Utilities.js']], function (Axis, BaseSeries, Chart, H, Point, StackItem, U) {
|
|
4058
4143
|
/* *
|
|
4059
4144
|
*
|
|
4060
4145
|
* (c) 2010-2020 Torstein Honsi
|
|
@@ -4064,18 +4149,15 @@
|
|
|
4064
4149
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
4065
4150
|
*
|
|
4066
4151
|
* */
|
|
4152
|
+
var seriesTypes = BaseSeries.seriesTypes;
|
|
4067
4153
|
var addEvent = U.addEvent,
|
|
4068
4154
|
arrayMax = U.arrayMax,
|
|
4069
4155
|
arrayMin = U.arrayMin,
|
|
4070
4156
|
correctFloat = U.correctFloat,
|
|
4071
4157
|
isNumber = U.isNumber,
|
|
4072
4158
|
objectEach = U.objectEach,
|
|
4073
|
-
pick = U.pick
|
|
4074
|
-
|
|
4075
|
-
var Axis = H.Axis,
|
|
4076
|
-
Chart = H.Chart,
|
|
4077
|
-
Series = H.Series,
|
|
4078
|
-
seriesTypes = H.seriesTypes;
|
|
4159
|
+
pick = U.pick;
|
|
4160
|
+
var Series = H.Series;
|
|
4079
4161
|
/**
|
|
4080
4162
|
* Returns true if the key is a direct property of the object.
|
|
4081
4163
|
* @private
|
|
@@ -4086,71 +4168,143 @@
|
|
|
4086
4168
|
function ownProp(obj, key) {
|
|
4087
4169
|
return Object.hasOwnProperty.call(obj, key);
|
|
4088
4170
|
}
|
|
4089
|
-
|
|
4090
|
-
|
|
4091
|
-
|
|
4092
|
-
|
|
4093
|
-
|
|
4171
|
+
/**
|
|
4172
|
+
* @private
|
|
4173
|
+
*/
|
|
4174
|
+
var WaterfallAxis;
|
|
4175
|
+
(function (WaterfallAxis) {
|
|
4176
|
+
/* *
|
|
4177
|
+
*
|
|
4178
|
+
* Interfaces
|
|
4179
|
+
*
|
|
4180
|
+
* */
|
|
4181
|
+
/* *
|
|
4182
|
+
*
|
|
4183
|
+
* Classes
|
|
4184
|
+
*
|
|
4185
|
+
* */
|
|
4186
|
+
/**
|
|
4187
|
+
* @private
|
|
4188
|
+
*/
|
|
4189
|
+
var Composition = /** @class */ (function () {
|
|
4190
|
+
/* *
|
|
4191
|
+
*
|
|
4192
|
+
* Constructors
|
|
4193
|
+
*
|
|
4194
|
+
* */
|
|
4195
|
+
/**
|
|
4196
|
+
* @private
|
|
4197
|
+
*/
|
|
4198
|
+
function Composition(axis) {
|
|
4199
|
+
this.axis = axis;
|
|
4200
|
+
this.stacks = {
|
|
4201
|
+
changed: false
|
|
4202
|
+
};
|
|
4203
|
+
}
|
|
4204
|
+
/* *
|
|
4205
|
+
*
|
|
4206
|
+
* Functions
|
|
4207
|
+
*
|
|
4208
|
+
* */
|
|
4209
|
+
/**
|
|
4210
|
+
* Calls StackItem.prototype.render function that creates and renders
|
|
4211
|
+
* stack total label for each waterfall stack item.
|
|
4212
|
+
*
|
|
4213
|
+
* @private
|
|
4214
|
+
* @function Highcharts.Axis#renderWaterfallStackTotals
|
|
4215
|
+
*/
|
|
4216
|
+
Composition.prototype.renderStackTotals = function () {
|
|
4217
|
+
var yAxis = this.axis,
|
|
4218
|
+
waterfallStacks = yAxis.waterfall.stacks,
|
|
4219
|
+
stackTotalGroup = yAxis.stacking && yAxis.stacking.stackTotalGroup,
|
|
4220
|
+
dummyStackItem = new StackItem(yAxis,
|
|
4221
|
+
yAxis.options.stackLabels,
|
|
4222
|
+
false, 0,
|
|
4223
|
+
void 0);
|
|
4224
|
+
this.dummyStackItem = dummyStackItem;
|
|
4225
|
+
// Render each waterfall stack total
|
|
4226
|
+
objectEach(waterfallStacks, function (type) {
|
|
4227
|
+
objectEach(type, function (stackItem) {
|
|
4228
|
+
dummyStackItem.total = stackItem.stackTotal;
|
|
4229
|
+
if (stackItem.label) {
|
|
4230
|
+
dummyStackItem.label = stackItem.label;
|
|
4231
|
+
}
|
|
4232
|
+
StackItem.prototype.render.call(dummyStackItem, stackTotalGroup);
|
|
4233
|
+
stackItem.label = dummyStackItem.label;
|
|
4234
|
+
delete dummyStackItem.label;
|
|
4235
|
+
});
|
|
4236
|
+
});
|
|
4237
|
+
dummyStackItem.total = null;
|
|
4094
4238
|
};
|
|
4239
|
+
return Composition;
|
|
4240
|
+
}());
|
|
4241
|
+
WaterfallAxis.Composition = Composition;
|
|
4242
|
+
/* *
|
|
4243
|
+
*
|
|
4244
|
+
* Functions
|
|
4245
|
+
*
|
|
4246
|
+
* */
|
|
4247
|
+
/**
|
|
4248
|
+
* @private
|
|
4249
|
+
*/
|
|
4250
|
+
function compose(AxisClass, ChartClass) {
|
|
4251
|
+
addEvent(AxisClass, 'init', onInit);
|
|
4252
|
+
addEvent(AxisClass, 'afterBuildStacks', onAfterBuildStacks);
|
|
4253
|
+
addEvent(AxisClass, 'afterRender', onAfterRender);
|
|
4254
|
+
addEvent(ChartClass, 'beforeRedraw', onBeforeRedraw);
|
|
4095
4255
|
}
|
|
4096
|
-
|
|
4097
|
-
|
|
4098
|
-
|
|
4099
|
-
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
4103
|
-
|
|
4104
|
-
|
|
4105
|
-
|
|
4106
|
-
if (series[i].options.stacking) {
|
|
4107
|
-
axes.forEach(function (axis) {
|
|
4108
|
-
if (!axis.isXAxis) {
|
|
4109
|
-
axis.waterfallStacks.changed = true;
|
|
4110
|
-
}
|
|
4111
|
-
});
|
|
4112
|
-
i = 0;
|
|
4256
|
+
WaterfallAxis.compose = compose;
|
|
4257
|
+
/**
|
|
4258
|
+
* @private
|
|
4259
|
+
*/
|
|
4260
|
+
function onAfterBuildStacks() {
|
|
4261
|
+
var axis = this;
|
|
4262
|
+
var stacks = axis.waterfall.stacks;
|
|
4263
|
+
if (stacks) {
|
|
4264
|
+
stacks.changed = false;
|
|
4265
|
+
delete stacks.alreadyChanged;
|
|
4113
4266
|
}
|
|
4114
4267
|
}
|
|
4115
|
-
|
|
4116
|
-
|
|
4117
|
-
|
|
4118
|
-
|
|
4119
|
-
this
|
|
4120
|
-
|
|
4268
|
+
/**
|
|
4269
|
+
* @private
|
|
4270
|
+
*/
|
|
4271
|
+
function onAfterRender() {
|
|
4272
|
+
var axis = this;
|
|
4273
|
+
var stackLabelOptions = axis.options.stackLabels;
|
|
4274
|
+
if (stackLabelOptions && stackLabelOptions.enabled &&
|
|
4275
|
+
axis.waterfall.stacks) {
|
|
4276
|
+
axis.waterfall.renderStackTotals();
|
|
4277
|
+
}
|
|
4121
4278
|
}
|
|
4122
|
-
|
|
4279
|
+
/**
|
|
4280
|
+
* @private
|
|
4281
|
+
*/
|
|
4282
|
+
function onBeforeRedraw() {
|
|
4283
|
+
var axes = this.axes,
|
|
4284
|
+
series = this.series,
|
|
4285
|
+
i = series.length;
|
|
4286
|
+
while (i--) {
|
|
4287
|
+
if (series[i].options.stacking) {
|
|
4288
|
+
axes.forEach(function (axis) {
|
|
4289
|
+
if (!axis.isXAxis) {
|
|
4290
|
+
axis.waterfall.stacks.changed = true;
|
|
4291
|
+
}
|
|
4292
|
+
});
|
|
4293
|
+
i = 0;
|
|
4294
|
+
}
|
|
4295
|
+
}
|
|
4296
|
+
}
|
|
4297
|
+
/**
|
|
4298
|
+
* @private
|
|
4299
|
+
*/
|
|
4300
|
+
function onInit() {
|
|
4301
|
+
var axis = this;
|
|
4302
|
+
if (!axis.waterfall) {
|
|
4303
|
+
axis.waterfall = new Composition(axis);
|
|
4304
|
+
}
|
|
4305
|
+
}
|
|
4306
|
+
})(WaterfallAxis || (WaterfallAxis = {}));
|
|
4123
4307
|
// eslint-disable-next-line valid-jsdoc
|
|
4124
|
-
/**
|
|
4125
|
-
* Calls StackItem.prototype.render function that creates and renders stack
|
|
4126
|
-
* total label for each waterfall stack item.
|
|
4127
|
-
*
|
|
4128
|
-
* @private
|
|
4129
|
-
* @function Highcharts.Axis#renderWaterfallStackTotals
|
|
4130
|
-
*/
|
|
4131
|
-
Axis.prototype.renderWaterfallStackTotals = function () {
|
|
4132
|
-
var yAxis = this,
|
|
4133
|
-
waterfallStacks = yAxis.waterfallStacks,
|
|
4134
|
-
stackTotalGroup = yAxis.stacking && yAxis.stacking.stackTotalGroup,
|
|
4135
|
-
dummyStackItem = new StackItem(yAxis,
|
|
4136
|
-
yAxis.options.stackLabels,
|
|
4137
|
-
false, 0,
|
|
4138
|
-
void 0);
|
|
4139
|
-
yAxis.dummyStackItem = dummyStackItem;
|
|
4140
|
-
// Render each waterfall stack total
|
|
4141
|
-
objectEach(waterfallStacks, function (type) {
|
|
4142
|
-
objectEach(type, function (stackItem) {
|
|
4143
|
-
dummyStackItem.total = stackItem.stackTotal;
|
|
4144
|
-
if (stackItem.label) {
|
|
4145
|
-
dummyStackItem.label = stackItem.label;
|
|
4146
|
-
}
|
|
4147
|
-
StackItem.prototype.render.call(dummyStackItem, stackTotalGroup);
|
|
4148
|
-
stackItem.label = dummyStackItem.label;
|
|
4149
|
-
delete dummyStackItem.label;
|
|
4150
|
-
});
|
|
4151
|
-
});
|
|
4152
|
-
dummyStackItem.total = null;
|
|
4153
|
-
};
|
|
4154
4308
|
/**
|
|
4155
4309
|
* A waterfall chart displays sequentially introduced positive or negative
|
|
4156
4310
|
* values in cumulative columns.
|
|
@@ -4163,11 +4317,12 @@
|
|
|
4163
4317
|
* Stacked waterfall chart
|
|
4164
4318
|
*
|
|
4165
4319
|
* @extends plotOptions.column
|
|
4320
|
+
* @excluding boostThreshold, boostBlending
|
|
4166
4321
|
* @product highcharts
|
|
4167
4322
|
* @requires highcharts-more
|
|
4168
4323
|
* @optionparent plotOptions.waterfall
|
|
4169
4324
|
*/
|
|
4170
|
-
seriesType('waterfall', 'column', {
|
|
4325
|
+
BaseSeries.seriesType('waterfall', 'column', {
|
|
4171
4326
|
/**
|
|
4172
4327
|
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
|
|
4173
4328
|
* @apioption plotOptions.waterfall.color
|
|
@@ -4280,7 +4435,7 @@
|
|
|
4280
4435
|
threshold = options.threshold,
|
|
4281
4436
|
stacking = options.stacking,
|
|
4282
4437
|
tooltipY,
|
|
4283
|
-
actualStack = yAxis.
|
|
4438
|
+
actualStack = yAxis.waterfall.stacks[series.stackKey],
|
|
4284
4439
|
actualStackX,
|
|
4285
4440
|
dummyStackItem,
|
|
4286
4441
|
total,
|
|
@@ -4362,7 +4517,7 @@
|
|
|
4362
4517
|
shapeArgs.height = Math.abs(shapeArgs.y -
|
|
4363
4518
|
yAxis.translate(hPos, 0, 1, 0, 1));
|
|
4364
4519
|
}
|
|
4365
|
-
dummyStackItem = yAxis.dummyStackItem;
|
|
4520
|
+
dummyStackItem = yAxis.waterfall.dummyStackItem;
|
|
4366
4521
|
if (dummyStackItem) {
|
|
4367
4522
|
dummyStackItem.x = i;
|
|
4368
4523
|
dummyStackItem.label = actualStack[i].label;
|
|
@@ -4553,7 +4708,7 @@
|
|
|
4553
4708
|
pointArgs = data[i].shapeArgs;
|
|
4554
4709
|
prevPoint = data[i - 1];
|
|
4555
4710
|
prevArgs = data[i - 1].shapeArgs;
|
|
4556
|
-
prevStack = yAxis.
|
|
4711
|
+
prevStack = yAxis.waterfall.stacks[this.stackKey];
|
|
4557
4712
|
isPos = prevPoint.y > 0 ? -prevArgs.height : 0;
|
|
4558
4713
|
if (prevStack && prevArgs && pointArgs) {
|
|
4559
4714
|
prevStackX = prevStack[i - 1];
|
|
@@ -4607,7 +4762,7 @@
|
|
|
4607
4762
|
setStackedPoints: function () {
|
|
4608
4763
|
var series = this,
|
|
4609
4764
|
options = series.options,
|
|
4610
|
-
waterfallStacks = series.yAxis.
|
|
4765
|
+
waterfallStacks = series.yAxis.waterfall.stacks,
|
|
4611
4766
|
seriesThreshold = options.threshold,
|
|
4612
4767
|
stackThreshold = seriesThreshold || 0,
|
|
4613
4768
|
interSum = stackThreshold,
|
|
@@ -4737,7 +4892,7 @@
|
|
|
4737
4892
|
stackedYPos;
|
|
4738
4893
|
if (stacking) {
|
|
4739
4894
|
yAxis = this.yAxis;
|
|
4740
|
-
waterfallStacks = yAxis.
|
|
4895
|
+
waterfallStacks = yAxis.waterfall.stacks;
|
|
4741
4896
|
stackedYNeg = this.stackedYNeg = [];
|
|
4742
4897
|
stackedYPos = this.stackedYPos = [];
|
|
4743
4898
|
// the visible y range can be different when stacking is set to
|
|
@@ -4790,7 +4945,7 @@
|
|
|
4790
4945
|
* is not specified, it is inherited from [chart.type](#chart.type).
|
|
4791
4946
|
*
|
|
4792
4947
|
* @extends series,plotOptions.waterfall
|
|
4793
|
-
* @excluding dataParser, dataURL
|
|
4948
|
+
* @excluding dataParser, dataURL, boostThreshold, boostBlending
|
|
4794
4949
|
* @product highcharts
|
|
4795
4950
|
* @requires highcharts-more
|
|
4796
4951
|
* @apioption series.waterfall
|
|
@@ -4881,9 +5036,11 @@
|
|
|
4881
5036
|
* @apioption series.waterfall.data.isSum
|
|
4882
5037
|
*/
|
|
4883
5038
|
''; // adds doclets above to transpiled file
|
|
5039
|
+
WaterfallAxis.compose(Axis, Chart);
|
|
4884
5040
|
|
|
5041
|
+
return WaterfallAxis;
|
|
4885
5042
|
});
|
|
4886
|
-
_registerModule(_modules, '
|
|
5043
|
+
_registerModule(_modules, 'Series/PolygonSeries.js', [_modules['Core/Series/Series.js'], _modules['Core/Globals.js'], _modules['Mixins/LegendSymbol.js']], function (BaseSeries, H, LegendSymbolMixin) {
|
|
4887
5044
|
/* *
|
|
4888
5045
|
*
|
|
4889
5046
|
* (c) 2010-2020 Torstein Honsi
|
|
@@ -4893,10 +5050,9 @@
|
|
|
4893
5050
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
4894
5051
|
*
|
|
4895
5052
|
* */
|
|
4896
|
-
var
|
|
4897
|
-
var noop = H.noop
|
|
4898
|
-
|
|
4899
|
-
seriesTypes = H.seriesTypes;
|
|
5053
|
+
var seriesTypes = BaseSeries.seriesTypes;
|
|
5054
|
+
var noop = H.noop;
|
|
5055
|
+
var Series = H.Series;
|
|
4900
5056
|
/**
|
|
4901
5057
|
* A polygon series can be used to draw any freeform shape in the cartesian
|
|
4902
5058
|
* coordinate system. A fill is applied with the `color` option, and
|
|
@@ -4909,12 +5065,13 @@
|
|
|
4909
5065
|
*
|
|
4910
5066
|
* @extends plotOptions.scatter
|
|
4911
5067
|
* @since 4.1.0
|
|
4912
|
-
* @excluding jitter, softThreshold, threshold, cluster
|
|
5068
|
+
* @excluding jitter, softThreshold, threshold, cluster, boostThreshold,
|
|
5069
|
+
* boostBlending
|
|
4913
5070
|
* @product highcharts highstock
|
|
4914
5071
|
* @requires highcharts-more
|
|
4915
5072
|
* @optionparent plotOptions.polygon
|
|
4916
5073
|
*/
|
|
4917
|
-
seriesType('polygon', 'scatter', {
|
|
5074
|
+
BaseSeries.seriesType('polygon', 'scatter', {
|
|
4918
5075
|
marker: {
|
|
4919
5076
|
enabled: false,
|
|
4920
5077
|
states: {
|
|
@@ -4958,7 +5115,7 @@
|
|
|
4958
5115
|
* not specified, it is inherited from [chart.type](#chart.type).
|
|
4959
5116
|
*
|
|
4960
5117
|
* @extends series,plotOptions.polygon
|
|
4961
|
-
* @excluding dataParser, dataURL, stack
|
|
5118
|
+
* @excluding dataParser, dataURL, stack, boostThreshold, boostBlending
|
|
4962
5119
|
* @product highcharts highstock
|
|
4963
5120
|
* @requires highcharts-more
|
|
4964
5121
|
* @apioption series.polygon
|
|
@@ -5025,7 +5182,7 @@
|
|
|
5025
5182
|
''; // adds doclets above to transpiled file
|
|
5026
5183
|
|
|
5027
5184
|
});
|
|
5028
|
-
_registerModule(_modules, '
|
|
5185
|
+
_registerModule(_modules, 'Series/Bubble/BubbleLegend.js', [_modules['Core/Chart/Chart.js'], _modules['Core/Color/Color.js'], _modules['Core/Globals.js'], _modules['Core/Legend.js'], _modules['Core/Utilities.js']], function (Chart, Color, H, Legend, U) {
|
|
5029
5186
|
/* *
|
|
5030
5187
|
*
|
|
5031
5188
|
* (c) 2010-2020 Highsoft AS
|
|
@@ -5037,6 +5194,17 @@
|
|
|
5037
5194
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
5038
5195
|
*
|
|
5039
5196
|
* */
|
|
5197
|
+
var color = Color.parse;
|
|
5198
|
+
var addEvent = U.addEvent,
|
|
5199
|
+
arrayMax = U.arrayMax,
|
|
5200
|
+
arrayMin = U.arrayMin,
|
|
5201
|
+
isNumber = U.isNumber,
|
|
5202
|
+
merge = U.merge,
|
|
5203
|
+
objectEach = U.objectEach,
|
|
5204
|
+
pick = U.pick,
|
|
5205
|
+
setOptions = U.setOptions,
|
|
5206
|
+
stableSort = U.stableSort,
|
|
5207
|
+
wrap = U.wrap;
|
|
5040
5208
|
/**
|
|
5041
5209
|
* @interface Highcharts.BubbleLegendFormatterContextObject
|
|
5042
5210
|
*/ /**
|
|
@@ -5053,20 +5221,8 @@
|
|
|
5053
5221
|
* @type {number}
|
|
5054
5222
|
*/
|
|
5055
5223
|
''; // detach doclets above
|
|
5056
|
-
var color = Color.parse;
|
|
5057
|
-
var addEvent = U.addEvent,
|
|
5058
|
-
arrayMax = U.arrayMax,
|
|
5059
|
-
arrayMin = U.arrayMin,
|
|
5060
|
-
isNumber = U.isNumber,
|
|
5061
|
-
merge = U.merge,
|
|
5062
|
-
objectEach = U.objectEach,
|
|
5063
|
-
pick = U.pick,
|
|
5064
|
-
stableSort = U.stableSort,
|
|
5065
|
-
wrap = U.wrap;
|
|
5066
5224
|
var Series = H.Series,
|
|
5067
|
-
|
|
5068
|
-
noop = H.noop,
|
|
5069
|
-
setOptions = H.setOptions;
|
|
5225
|
+
noop = H.noop;
|
|
5070
5226
|
setOptions({
|
|
5071
5227
|
legend: {
|
|
5072
5228
|
/**
|
|
@@ -5087,7 +5243,7 @@
|
|
|
5087
5243
|
* individual range.
|
|
5088
5244
|
*
|
|
5089
5245
|
* @sample highcharts/bubble-legend/similartoseries/
|
|
5090
|
-
*
|
|
5246
|
+
* Similar look to the bubble series
|
|
5091
5247
|
* @sample highcharts/bubble-legend/bordercolor/
|
|
5092
5248
|
* Individual bubble border color
|
|
5093
5249
|
*
|
|
@@ -5115,7 +5271,7 @@
|
|
|
5115
5271
|
* individual color is not defined.
|
|
5116
5272
|
*
|
|
5117
5273
|
* @sample highcharts/bubble-legend/similartoseries/
|
|
5118
|
-
*
|
|
5274
|
+
* Similar look to the bubble series
|
|
5119
5275
|
* @sample highcharts/bubble-legend/color/
|
|
5120
5276
|
* Individual bubble color
|
|
5121
5277
|
*
|
|
@@ -6042,7 +6198,7 @@
|
|
|
6042
6198
|
|
|
6043
6199
|
return H.BubbleLegend;
|
|
6044
6200
|
});
|
|
6045
|
-
_registerModule(_modules, '
|
|
6201
|
+
_registerModule(_modules, 'Series/Bubble/BubbleSeries.js', [_modules['Core/Axis/Axis.js'], _modules['Core/Series/Series.js'], _modules['Core/Color/Color.js'], _modules['Core/Globals.js'], _modules['Core/Series/Point.js'], _modules['Core/Utilities.js']], function (Axis, BaseSeries, Color, H, Point, U) {
|
|
6046
6202
|
/* *
|
|
6047
6203
|
*
|
|
6048
6204
|
* (c) 2010-2020 Torstein Honsi
|
|
@@ -6052,22 +6208,21 @@
|
|
|
6052
6208
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
6053
6209
|
*
|
|
6054
6210
|
* */
|
|
6055
|
-
/**
|
|
6056
|
-
* @typedef {"area"|"width"} Highcharts.BubbleSizeByValue
|
|
6057
|
-
*/
|
|
6058
6211
|
var color = Color.parse;
|
|
6212
|
+
var noop = H.noop;
|
|
6059
6213
|
var arrayMax = U.arrayMax,
|
|
6060
6214
|
arrayMin = U.arrayMin,
|
|
6061
6215
|
clamp = U.clamp,
|
|
6062
6216
|
extend = U.extend,
|
|
6063
6217
|
isNumber = U.isNumber,
|
|
6064
6218
|
pick = U.pick,
|
|
6065
|
-
pInt = U.pInt
|
|
6066
|
-
|
|
6067
|
-
|
|
6068
|
-
|
|
6069
|
-
|
|
6070
|
-
|
|
6219
|
+
pInt = U.pInt;
|
|
6220
|
+
var Series = H.Series,
|
|
6221
|
+
seriesTypes = BaseSeries.seriesTypes;
|
|
6222
|
+
/**
|
|
6223
|
+
* @typedef {"area"|"width"} Highcharts.BubbleSizeByValue
|
|
6224
|
+
*/
|
|
6225
|
+
''; // detach doclets above
|
|
6071
6226
|
/**
|
|
6072
6227
|
* A bubble series is a three dimensional series type where each point renders
|
|
6073
6228
|
* an X, Y and Z value. Each points is drawn as a bubble where the position
|
|
@@ -6083,7 +6238,7 @@
|
|
|
6083
6238
|
* @requires highcharts-more
|
|
6084
6239
|
* @optionparent plotOptions.bubble
|
|
6085
6240
|
*/
|
|
6086
|
-
seriesType('bubble', 'scatter', {
|
|
6241
|
+
BaseSeries.seriesType('bubble', 'scatter', {
|
|
6087
6242
|
dataLabels: {
|
|
6088
6243
|
formatter: function () {
|
|
6089
6244
|
return this.point.z;
|
|
@@ -6393,24 +6548,19 @@
|
|
|
6393
6548
|
this.points.length < this.options.animationLimit // #8099
|
|
6394
6549
|
) {
|
|
6395
6550
|
this.points.forEach(function (point) {
|
|
6396
|
-
var graphic = point.graphic
|
|
6397
|
-
animationTarget;
|
|
6551
|
+
var graphic = point.graphic;
|
|
6398
6552
|
if (graphic && graphic.width) { // URL symbols don't have width
|
|
6399
|
-
animationTarget = {
|
|
6400
|
-
x: graphic.x,
|
|
6401
|
-
y: graphic.y,
|
|
6402
|
-
width: graphic.width,
|
|
6403
|
-
height: graphic.height
|
|
6404
|
-
};
|
|
6405
6553
|
// Start values
|
|
6406
|
-
|
|
6407
|
-
|
|
6408
|
-
|
|
6409
|
-
|
|
6410
|
-
|
|
6411
|
-
|
|
6554
|
+
if (!this.hasRendered) {
|
|
6555
|
+
graphic.attr({
|
|
6556
|
+
x: point.plotX,
|
|
6557
|
+
y: point.plotY,
|
|
6558
|
+
width: 1,
|
|
6559
|
+
height: 1
|
|
6560
|
+
});
|
|
6561
|
+
}
|
|
6412
6562
|
// Run animation
|
|
6413
|
-
graphic.animate(
|
|
6563
|
+
graphic.animate(this.markerAttribs(point), this.options.animation);
|
|
6414
6564
|
}
|
|
6415
6565
|
}, this);
|
|
6416
6566
|
}
|
|
@@ -6652,7 +6802,7 @@
|
|
|
6652
6802
|
''; // adds doclets above to transpiled file
|
|
6653
6803
|
|
|
6654
6804
|
});
|
|
6655
|
-
_registerModule(_modules, '
|
|
6805
|
+
_registerModule(_modules, 'Series/Networkgraph/DraggableNodes.js', [_modules['Core/Chart/Chart.js'], _modules['Core/Globals.js'], _modules['Core/Utilities.js']], function (Chart, H, U) {
|
|
6656
6806
|
/* *
|
|
6657
6807
|
*
|
|
6658
6808
|
* Networkgraph series
|
|
@@ -6664,55 +6814,200 @@
|
|
|
6664
6814
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
6665
6815
|
*
|
|
6666
6816
|
* */
|
|
6817
|
+
var addEvent = U.addEvent;
|
|
6667
6818
|
/* eslint-disable no-invalid-this, valid-jsdoc */
|
|
6668
|
-
H.
|
|
6669
|
-
|
|
6670
|
-
|
|
6671
|
-
|
|
6672
|
-
|
|
6673
|
-
|
|
6674
|
-
|
|
6675
|
-
|
|
6676
|
-
|
|
6677
|
-
|
|
6678
|
-
|
|
6679
|
-
|
|
6680
|
-
|
|
6681
|
-
|
|
6682
|
-
|
|
6683
|
-
|
|
6684
|
-
|
|
6685
|
-
|
|
6686
|
-
|
|
6687
|
-
|
|
6688
|
-
|
|
6689
|
-
|
|
6690
|
-
|
|
6691
|
-
|
|
6692
|
-
|
|
6693
|
-
|
|
6694
|
-
|
|
6695
|
-
|
|
6696
|
-
|
|
6697
|
-
|
|
6698
|
-
|
|
6699
|
-
|
|
6700
|
-
|
|
6701
|
-
|
|
6702
|
-
|
|
6703
|
-
|
|
6704
|
-
|
|
6705
|
-
|
|
6706
|
-
|
|
6707
|
-
|
|
6708
|
-
|
|
6709
|
-
|
|
6710
|
-
|
|
6711
|
-
|
|
6712
|
-
|
|
6713
|
-
|
|
6714
|
-
|
|
6715
|
-
|
|
6819
|
+
H.dragNodesMixin = {
|
|
6820
|
+
/**
|
|
6821
|
+
* Mouse down action, initializing drag&drop mode.
|
|
6822
|
+
*
|
|
6823
|
+
* @private
|
|
6824
|
+
* @param {Highcharts.Point} point The point that event occured.
|
|
6825
|
+
* @param {Highcharts.PointerEventObject} event Browser event, before normalization.
|
|
6826
|
+
* @return {void}
|
|
6827
|
+
*/
|
|
6828
|
+
onMouseDown: function (point, event) {
|
|
6829
|
+
var normalizedEvent = this.chart.pointer.normalize(event);
|
|
6830
|
+
point.fixedPosition = {
|
|
6831
|
+
chartX: normalizedEvent.chartX,
|
|
6832
|
+
chartY: normalizedEvent.chartY,
|
|
6833
|
+
plotX: point.plotX,
|
|
6834
|
+
plotY: point.plotY
|
|
6835
|
+
};
|
|
6836
|
+
point.inDragMode = true;
|
|
6837
|
+
},
|
|
6838
|
+
/**
|
|
6839
|
+
* Mouse move action during drag&drop.
|
|
6840
|
+
*
|
|
6841
|
+
* @private
|
|
6842
|
+
*
|
|
6843
|
+
* @param {global.Event} event Browser event, before normalization.
|
|
6844
|
+
* @param {Highcharts.Point} point The point that event occured.
|
|
6845
|
+
*
|
|
6846
|
+
* @return {void}
|
|
6847
|
+
*/
|
|
6848
|
+
onMouseMove: function (point, event) {
|
|
6849
|
+
if (point.fixedPosition && point.inDragMode) {
|
|
6850
|
+
var series = this,
|
|
6851
|
+
chart = series.chart,
|
|
6852
|
+
normalizedEvent = chart.pointer.normalize(event),
|
|
6853
|
+
diffX = point.fixedPosition.chartX - normalizedEvent.chartX,
|
|
6854
|
+
diffY = point.fixedPosition.chartY - normalizedEvent.chartY,
|
|
6855
|
+
newPlotX,
|
|
6856
|
+
newPlotY,
|
|
6857
|
+
graphLayoutsLookup = chart.graphLayoutsLookup;
|
|
6858
|
+
// At least 5px to apply change (avoids simple click):
|
|
6859
|
+
if (Math.abs(diffX) > 5 || Math.abs(diffY) > 5) {
|
|
6860
|
+
newPlotX = point.fixedPosition.plotX - diffX;
|
|
6861
|
+
newPlotY = point.fixedPosition.plotY - diffY;
|
|
6862
|
+
if (chart.isInsidePlot(newPlotX, newPlotY)) {
|
|
6863
|
+
point.plotX = newPlotX;
|
|
6864
|
+
point.plotY = newPlotY;
|
|
6865
|
+
point.hasDragged = true;
|
|
6866
|
+
this.redrawHalo(point);
|
|
6867
|
+
graphLayoutsLookup.forEach(function (layout) {
|
|
6868
|
+
layout.restartSimulation();
|
|
6869
|
+
});
|
|
6870
|
+
}
|
|
6871
|
+
}
|
|
6872
|
+
}
|
|
6873
|
+
},
|
|
6874
|
+
/**
|
|
6875
|
+
* Mouse up action, finalizing drag&drop.
|
|
6876
|
+
*
|
|
6877
|
+
* @private
|
|
6878
|
+
* @param {Highcharts.Point} point The point that event occured.
|
|
6879
|
+
* @return {void}
|
|
6880
|
+
*/
|
|
6881
|
+
onMouseUp: function (point, event) {
|
|
6882
|
+
if (point.fixedPosition) {
|
|
6883
|
+
if (point.hasDragged) {
|
|
6884
|
+
if (this.layout.enableSimulation) {
|
|
6885
|
+
this.layout.start();
|
|
6886
|
+
}
|
|
6887
|
+
else {
|
|
6888
|
+
this.chart.redraw();
|
|
6889
|
+
}
|
|
6890
|
+
}
|
|
6891
|
+
point.inDragMode = point.hasDragged = false;
|
|
6892
|
+
if (!this.options.fixedDraggable) {
|
|
6893
|
+
delete point.fixedPosition;
|
|
6894
|
+
}
|
|
6895
|
+
}
|
|
6896
|
+
},
|
|
6897
|
+
// Draggable mode:
|
|
6898
|
+
/**
|
|
6899
|
+
* Redraw halo on mousemove during the drag&drop action.
|
|
6900
|
+
*
|
|
6901
|
+
* @private
|
|
6902
|
+
* @param {Highcharts.Point} point The point that should show halo.
|
|
6903
|
+
* @return {void}
|
|
6904
|
+
*/
|
|
6905
|
+
redrawHalo: function (point) {
|
|
6906
|
+
if (point && this.halo) {
|
|
6907
|
+
this.halo.attr({
|
|
6908
|
+
d: point.haloPath(this.options.states.hover.halo.size)
|
|
6909
|
+
});
|
|
6910
|
+
}
|
|
6911
|
+
}
|
|
6912
|
+
};
|
|
6913
|
+
/*
|
|
6914
|
+
* Draggable mode:
|
|
6915
|
+
*/
|
|
6916
|
+
addEvent(Chart, 'load', function () {
|
|
6917
|
+
var chart = this,
|
|
6918
|
+
mousedownUnbinder,
|
|
6919
|
+
mousemoveUnbinder,
|
|
6920
|
+
mouseupUnbinder;
|
|
6921
|
+
if (chart.container) {
|
|
6922
|
+
mousedownUnbinder = addEvent(chart.container, 'mousedown', function (event) {
|
|
6923
|
+
var point = chart.hoverPoint;
|
|
6924
|
+
if (point &&
|
|
6925
|
+
point.series &&
|
|
6926
|
+
point.series.hasDraggableNodes &&
|
|
6927
|
+
point.series.options.draggable) {
|
|
6928
|
+
point.series.onMouseDown(point, event);
|
|
6929
|
+
mousemoveUnbinder = addEvent(chart.container, 'mousemove', function (e) {
|
|
6930
|
+
return point &&
|
|
6931
|
+
point.series &&
|
|
6932
|
+
point.series.onMouseMove(point, e);
|
|
6933
|
+
});
|
|
6934
|
+
mouseupUnbinder = addEvent(chart.container.ownerDocument, 'mouseup', function (e) {
|
|
6935
|
+
mousemoveUnbinder();
|
|
6936
|
+
mouseupUnbinder();
|
|
6937
|
+
return point &&
|
|
6938
|
+
point.series &&
|
|
6939
|
+
point.series.onMouseUp(point, e);
|
|
6940
|
+
});
|
|
6941
|
+
}
|
|
6942
|
+
});
|
|
6943
|
+
}
|
|
6944
|
+
addEvent(chart, 'destroy', function () {
|
|
6945
|
+
mousedownUnbinder();
|
|
6946
|
+
});
|
|
6947
|
+
});
|
|
6948
|
+
|
|
6949
|
+
});
|
|
6950
|
+
_registerModule(_modules, 'Series/Networkgraph/Integrations.js', [_modules['Core/Globals.js']], function (H) {
|
|
6951
|
+
/* *
|
|
6952
|
+
*
|
|
6953
|
+
* Networkgraph series
|
|
6954
|
+
*
|
|
6955
|
+
* (c) 2010-2020 Paweł Fus
|
|
6956
|
+
*
|
|
6957
|
+
* License: www.highcharts.com/license
|
|
6958
|
+
*
|
|
6959
|
+
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
6960
|
+
*
|
|
6961
|
+
* */
|
|
6962
|
+
/* eslint-disable no-invalid-this, valid-jsdoc */
|
|
6963
|
+
H.networkgraphIntegrations = {
|
|
6964
|
+
verlet: {
|
|
6965
|
+
/**
|
|
6966
|
+
* Attractive force funtion. Can be replaced by API's
|
|
6967
|
+
* `layoutAlgorithm.attractiveForce`
|
|
6968
|
+
*
|
|
6969
|
+
* @private
|
|
6970
|
+
* @param {number} d current distance between two nodes
|
|
6971
|
+
* @param {number} k expected distance between two nodes
|
|
6972
|
+
* @return {number} force
|
|
6973
|
+
*/
|
|
6974
|
+
attractiveForceFunction: function (d, k) {
|
|
6975
|
+
// Used in API:
|
|
6976
|
+
return (k - d) / d;
|
|
6977
|
+
},
|
|
6978
|
+
/**
|
|
6979
|
+
* Repulsive force funtion. Can be replaced by API's
|
|
6980
|
+
* `layoutAlgorithm.repulsiveForce`
|
|
6981
|
+
*
|
|
6982
|
+
* @private
|
|
6983
|
+
* @param {number} d current distance between two nodes
|
|
6984
|
+
* @param {number} k expected distance between two nodes
|
|
6985
|
+
* @return {number} force
|
|
6986
|
+
*/
|
|
6987
|
+
repulsiveForceFunction: function (d, k) {
|
|
6988
|
+
// Used in API:
|
|
6989
|
+
return (k - d) / d * (k > d ? 1 : 0); // Force only for close nodes
|
|
6990
|
+
},
|
|
6991
|
+
/**
|
|
6992
|
+
* Barycenter force. Calculate and applys barycenter forces on the
|
|
6993
|
+
* nodes. Making them closer to the center of their barycenter point.
|
|
6994
|
+
*
|
|
6995
|
+
* In Verlet integration, force is applied on a node immidatelly to it's
|
|
6996
|
+
* `plotX` and `plotY` position.
|
|
6997
|
+
*
|
|
6998
|
+
* @private
|
|
6999
|
+
* @return {void}
|
|
7000
|
+
*/
|
|
7001
|
+
barycenter: function () {
|
|
7002
|
+
var gravitationalConstant = this.options.gravitationalConstant,
|
|
7003
|
+
xFactor = this.barycenter.xFactor,
|
|
7004
|
+
yFactor = this.barycenter.yFactor;
|
|
7005
|
+
// To consider:
|
|
7006
|
+
xFactor = (xFactor - (this.box.left + this.box.width) / 2) *
|
|
7007
|
+
gravitationalConstant;
|
|
7008
|
+
yFactor = (yFactor - (this.box.top + this.box.height) / 2) *
|
|
7009
|
+
gravitationalConstant;
|
|
7010
|
+
this.nodes.forEach(function (node) {
|
|
6716
7011
|
if (!node.fixedPosition) {
|
|
6717
7012
|
node.plotX -=
|
|
6718
7013
|
xFactor / node.mass / node.degree;
|
|
@@ -7030,7 +7325,7 @@
|
|
|
7030
7325
|
};
|
|
7031
7326
|
|
|
7032
7327
|
});
|
|
7033
|
-
_registerModule(_modules, '
|
|
7328
|
+
_registerModule(_modules, 'Series/Networkgraph/QuadTree.js', [_modules['Core/Globals.js'], _modules['Core/Utilities.js']], function (H, U) {
|
|
7034
7329
|
/* *
|
|
7035
7330
|
*
|
|
7036
7331
|
* Networkgraph series
|
|
@@ -7392,7 +7687,7 @@
|
|
|
7392
7687
|
});
|
|
7393
7688
|
|
|
7394
7689
|
});
|
|
7395
|
-
_registerModule(_modules, '
|
|
7690
|
+
_registerModule(_modules, 'Series/Networkgraph/Layouts.js', [_modules['Core/Chart/Chart.js'], _modules['Core/Animation/AnimationUtilities.js'], _modules['Core/Globals.js'], _modules['Core/Utilities.js']], function (Chart, A, H, U) {
|
|
7396
7691
|
/* *
|
|
7397
7692
|
*
|
|
7398
7693
|
* Networkgraph series
|
|
@@ -7404,15 +7699,13 @@
|
|
|
7404
7699
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
7405
7700
|
*
|
|
7406
7701
|
* */
|
|
7702
|
+
var setAnimation = A.setAnimation;
|
|
7407
7703
|
var addEvent = U.addEvent,
|
|
7408
|
-
merge = U.merge,
|
|
7409
7704
|
clamp = U.clamp,
|
|
7410
7705
|
defined = U.defined,
|
|
7411
7706
|
extend = U.extend,
|
|
7412
7707
|
isFunction = U.isFunction,
|
|
7413
|
-
pick = U.pick
|
|
7414
|
-
setAnimation = U.setAnimation;
|
|
7415
|
-
var Chart = H.Chart;
|
|
7708
|
+
pick = U.pick;
|
|
7416
7709
|
/* eslint-disable no-invalid-this, valid-jsdoc */
|
|
7417
7710
|
H.layouts = {
|
|
7418
7711
|
'reingold-fruchterman': function () {
|
|
@@ -7553,6 +7846,30 @@
|
|
|
7553
7846
|
this.setTemperature();
|
|
7554
7847
|
this.setDiffTemperature();
|
|
7555
7848
|
},
|
|
7849
|
+
restartSimulation: function () {
|
|
7850
|
+
if (!this.simulation) {
|
|
7851
|
+
// When dragging nodes, we don't need to calculate
|
|
7852
|
+
// initial positions and rendering nodes:
|
|
7853
|
+
this.setInitialRendering(false);
|
|
7854
|
+
// Start new simulation:
|
|
7855
|
+
if (!this.enableSimulation) {
|
|
7856
|
+
// Run only one iteration to speed things up:
|
|
7857
|
+
this.setMaxIterations(1);
|
|
7858
|
+
}
|
|
7859
|
+
else {
|
|
7860
|
+
this.start();
|
|
7861
|
+
}
|
|
7862
|
+
if (this.chart) {
|
|
7863
|
+
this.chart.redraw();
|
|
7864
|
+
}
|
|
7865
|
+
// Restore defaults:
|
|
7866
|
+
this.setInitialRendering(true);
|
|
7867
|
+
}
|
|
7868
|
+
else {
|
|
7869
|
+
// Extend current simulation:
|
|
7870
|
+
this.resetSimulation();
|
|
7871
|
+
}
|
|
7872
|
+
},
|
|
7556
7873
|
setMaxIterations: function (maxIterations) {
|
|
7557
7874
|
this.maxIterations = pick(maxIterations, this.options.maxIterations);
|
|
7558
7875
|
},
|
|
@@ -7933,182 +8250,26 @@
|
|
|
7933
8250
|
});
|
|
7934
8251
|
// disable simulation before print if enabled
|
|
7935
8252
|
addEvent(Chart, 'beforePrint', function () {
|
|
7936
|
-
this.graphLayoutsLookup
|
|
7937
|
-
|
|
7938
|
-
|
|
7939
|
-
|
|
8253
|
+
if (this.graphLayoutsLookup) {
|
|
8254
|
+
this.graphLayoutsLookup.forEach(function (layout) {
|
|
8255
|
+
layout.updateSimulation(false);
|
|
8256
|
+
});
|
|
8257
|
+
this.redraw();
|
|
8258
|
+
}
|
|
7940
8259
|
});
|
|
7941
8260
|
// re-enable simulation after print
|
|
7942
8261
|
addEvent(Chart, 'afterPrint', function () {
|
|
7943
|
-
this.graphLayoutsLookup
|
|
7944
|
-
|
|
7945
|
-
|
|
7946
|
-
|
|
7947
|
-
this.redraw();
|
|
7948
|
-
});
|
|
7949
|
-
|
|
7950
|
-
});
|
|
7951
|
-
_registerModule(_modules, 'modules/networkgraph/draggable-nodes.js', [_modules['parts/Globals.js'], _modules['parts/Utilities.js']], function (H, U) {
|
|
7952
|
-
/* *
|
|
7953
|
-
*
|
|
7954
|
-
* Networkgraph series
|
|
7955
|
-
*
|
|
7956
|
-
* (c) 2010-2020 Paweł Fus
|
|
7957
|
-
*
|
|
7958
|
-
* License: www.highcharts.com/license
|
|
7959
|
-
*
|
|
7960
|
-
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
7961
|
-
*
|
|
7962
|
-
* */
|
|
7963
|
-
var addEvent = U.addEvent;
|
|
7964
|
-
var Chart = H.Chart;
|
|
7965
|
-
/* eslint-disable no-invalid-this, valid-jsdoc */
|
|
7966
|
-
H.dragNodesMixin = {
|
|
7967
|
-
/**
|
|
7968
|
-
* Mouse down action, initializing drag&drop mode.
|
|
7969
|
-
*
|
|
7970
|
-
* @private
|
|
7971
|
-
* @param {Highcharts.Point} point The point that event occured.
|
|
7972
|
-
* @param {Highcharts.PointerEventObject} event Browser event, before normalization.
|
|
7973
|
-
* @return {void}
|
|
7974
|
-
*/
|
|
7975
|
-
onMouseDown: function (point, event) {
|
|
7976
|
-
var normalizedEvent = this.chart.pointer.normalize(event);
|
|
7977
|
-
point.fixedPosition = {
|
|
7978
|
-
chartX: normalizedEvent.chartX,
|
|
7979
|
-
chartY: normalizedEvent.chartY,
|
|
7980
|
-
plotX: point.plotX,
|
|
7981
|
-
plotY: point.plotY
|
|
7982
|
-
};
|
|
7983
|
-
point.inDragMode = true;
|
|
7984
|
-
},
|
|
7985
|
-
/**
|
|
7986
|
-
* Mouse move action during drag&drop.
|
|
7987
|
-
*
|
|
7988
|
-
* @private
|
|
7989
|
-
*
|
|
7990
|
-
* @param {global.Event} event Browser event, before normalization.
|
|
7991
|
-
* @param {Highcharts.Point} point The point that event occured.
|
|
7992
|
-
*
|
|
7993
|
-
* @return {void}
|
|
7994
|
-
*/
|
|
7995
|
-
onMouseMove: function (point, event) {
|
|
7996
|
-
if (point.fixedPosition && point.inDragMode) {
|
|
7997
|
-
var series = this,
|
|
7998
|
-
chart = series.chart,
|
|
7999
|
-
normalizedEvent = chart.pointer.normalize(event),
|
|
8000
|
-
diffX = point.fixedPosition.chartX - normalizedEvent.chartX,
|
|
8001
|
-
diffY = point.fixedPosition.chartY - normalizedEvent.chartY,
|
|
8002
|
-
newPlotX,
|
|
8003
|
-
newPlotY;
|
|
8004
|
-
// At least 5px to apply change (avoids simple click):
|
|
8005
|
-
if (Math.abs(diffX) > 5 || Math.abs(diffY) > 5) {
|
|
8006
|
-
newPlotX = point.fixedPosition.plotX - diffX;
|
|
8007
|
-
newPlotY = point.fixedPosition.plotY - diffY;
|
|
8008
|
-
if (chart.isInsidePlot(newPlotX, newPlotY)) {
|
|
8009
|
-
point.plotX = newPlotX;
|
|
8010
|
-
point.plotY = newPlotY;
|
|
8011
|
-
point.hasDragged = true;
|
|
8012
|
-
this.redrawHalo(point);
|
|
8013
|
-
if (!series.layout.simulation) {
|
|
8014
|
-
// When dragging nodes, we don't need to calculate
|
|
8015
|
-
// initial positions and rendering nodes:
|
|
8016
|
-
series.layout.setInitialRendering(false);
|
|
8017
|
-
// Start new simulation:
|
|
8018
|
-
if (!series.layout.enableSimulation) {
|
|
8019
|
-
// Run only one iteration to speed things up:
|
|
8020
|
-
series.layout.setMaxIterations(1);
|
|
8021
|
-
}
|
|
8022
|
-
else {
|
|
8023
|
-
series.layout.start();
|
|
8024
|
-
}
|
|
8025
|
-
series.chart.redraw();
|
|
8026
|
-
// Restore defaults:
|
|
8027
|
-
series.layout.setInitialRendering(true);
|
|
8028
|
-
}
|
|
8029
|
-
else {
|
|
8030
|
-
// Extend current simulation:
|
|
8031
|
-
series.layout.resetSimulation();
|
|
8032
|
-
}
|
|
8033
|
-
}
|
|
8034
|
-
}
|
|
8035
|
-
}
|
|
8036
|
-
},
|
|
8037
|
-
/**
|
|
8038
|
-
* Mouse up action, finalizing drag&drop.
|
|
8039
|
-
*
|
|
8040
|
-
* @private
|
|
8041
|
-
* @param {Highcharts.Point} point The point that event occured.
|
|
8042
|
-
* @return {void}
|
|
8043
|
-
*/
|
|
8044
|
-
onMouseUp: function (point, event) {
|
|
8045
|
-
if (point.fixedPosition && point.hasDragged) {
|
|
8046
|
-
if (this.layout.enableSimulation) {
|
|
8047
|
-
this.layout.start();
|
|
8048
|
-
}
|
|
8049
|
-
else {
|
|
8050
|
-
this.chart.redraw();
|
|
8051
|
-
}
|
|
8052
|
-
point.inDragMode = point.hasDragged = false;
|
|
8053
|
-
if (!this.options.fixedDraggable) {
|
|
8054
|
-
delete point.fixedPosition;
|
|
8055
|
-
}
|
|
8056
|
-
}
|
|
8057
|
-
},
|
|
8058
|
-
// Draggable mode:
|
|
8059
|
-
/**
|
|
8060
|
-
* Redraw halo on mousemove during the drag&drop action.
|
|
8061
|
-
*
|
|
8062
|
-
* @private
|
|
8063
|
-
* @param {Highcharts.Point} point The point that should show halo.
|
|
8064
|
-
* @return {void}
|
|
8065
|
-
*/
|
|
8066
|
-
redrawHalo: function (point) {
|
|
8067
|
-
if (point && this.halo) {
|
|
8068
|
-
this.halo.attr({
|
|
8069
|
-
d: point.haloPath(this.options.states.hover.halo.size)
|
|
8070
|
-
});
|
|
8071
|
-
}
|
|
8072
|
-
}
|
|
8073
|
-
};
|
|
8074
|
-
/*
|
|
8075
|
-
* Draggable mode:
|
|
8076
|
-
*/
|
|
8077
|
-
addEvent(Chart, 'load', function () {
|
|
8078
|
-
var chart = this,
|
|
8079
|
-
mousedownUnbinder,
|
|
8080
|
-
mousemoveUnbinder,
|
|
8081
|
-
mouseupUnbinder;
|
|
8082
|
-
if (chart.container) {
|
|
8083
|
-
mousedownUnbinder = addEvent(chart.container, 'mousedown', function (event) {
|
|
8084
|
-
var point = chart.hoverPoint;
|
|
8085
|
-
if (point &&
|
|
8086
|
-
point.series &&
|
|
8087
|
-
point.series.hasDraggableNodes &&
|
|
8088
|
-
point.series.options.draggable) {
|
|
8089
|
-
point.series.onMouseDown(point, event);
|
|
8090
|
-
mousemoveUnbinder = addEvent(chart.container, 'mousemove', function (e) {
|
|
8091
|
-
return point &&
|
|
8092
|
-
point.series &&
|
|
8093
|
-
point.series.onMouseMove(point, e);
|
|
8094
|
-
});
|
|
8095
|
-
mouseupUnbinder = addEvent(chart.container.ownerDocument, 'mouseup', function (e) {
|
|
8096
|
-
mousemoveUnbinder();
|
|
8097
|
-
mouseupUnbinder();
|
|
8098
|
-
return point &&
|
|
8099
|
-
point.series &&
|
|
8100
|
-
point.series.onMouseUp(point, e);
|
|
8101
|
-
});
|
|
8102
|
-
}
|
|
8262
|
+
if (this.graphLayoutsLookup) {
|
|
8263
|
+
this.graphLayoutsLookup.forEach(function (layout) {
|
|
8264
|
+
// return to default simulation
|
|
8265
|
+
layout.updateSimulation();
|
|
8103
8266
|
});
|
|
8104
8267
|
}
|
|
8105
|
-
|
|
8106
|
-
mousedownUnbinder();
|
|
8107
|
-
});
|
|
8268
|
+
this.redraw();
|
|
8108
8269
|
});
|
|
8109
8270
|
|
|
8110
8271
|
});
|
|
8111
|
-
_registerModule(_modules, '
|
|
8272
|
+
_registerModule(_modules, 'Series/PackedBubbleSeries.js', [_modules['Core/Series/Series.js'], _modules['Core/Chart/Chart.js'], _modules['Core/Color/Color.js'], _modules['Core/Globals.js'], _modules['Core/Series/Point.js'], _modules['Core/Utilities.js']], function (BaseSeries, Chart, Color, H, Point, U) {
|
|
8112
8273
|
/* *
|
|
8113
8274
|
*
|
|
8114
8275
|
* (c) 2010-2018 Grzegorz Blachlinski, Sebastian Bochan
|
|
@@ -8118,6 +8279,20 @@
|
|
|
8118
8279
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
8119
8280
|
*
|
|
8120
8281
|
* */
|
|
8282
|
+
var color = Color.parse;
|
|
8283
|
+
var addEvent = U.addEvent,
|
|
8284
|
+
clamp = U.clamp,
|
|
8285
|
+
defined = U.defined,
|
|
8286
|
+
extend = U.extend,
|
|
8287
|
+
extendClass = U.extendClass,
|
|
8288
|
+
fireEvent = U.fireEvent,
|
|
8289
|
+
isArray = U.isArray,
|
|
8290
|
+
isNumber = U.isNumber,
|
|
8291
|
+
merge = U.merge,
|
|
8292
|
+
pick = U.pick;
|
|
8293
|
+
var Series = H.Series,
|
|
8294
|
+
Reingold = H.layouts['reingold-fruchterman'],
|
|
8295
|
+
dragNodesMixin = H.dragNodesMixin;
|
|
8121
8296
|
/**
|
|
8122
8297
|
* Formatter callback function.
|
|
8123
8298
|
*
|
|
@@ -8153,23 +8328,18 @@
|
|
|
8153
8328
|
* @type {string}
|
|
8154
8329
|
* @since 7.0.0
|
|
8155
8330
|
*/
|
|
8156
|
-
|
|
8157
|
-
|
|
8158
|
-
|
|
8159
|
-
|
|
8160
|
-
|
|
8161
|
-
|
|
8162
|
-
|
|
8163
|
-
|
|
8164
|
-
|
|
8165
|
-
|
|
8166
|
-
|
|
8167
|
-
|
|
8168
|
-
var Series = H.Series,
|
|
8169
|
-
Chart = H.Chart,
|
|
8170
|
-
Reingold = H.layouts['reingold-fruchterman'],
|
|
8171
|
-
NetworkPoint = H.seriesTypes.bubble.prototype.pointClass,
|
|
8172
|
-
dragNodesMixin = H.dragNodesMixin;
|
|
8331
|
+
''; // detach doclets above
|
|
8332
|
+
Chart.prototype.getSelectedParentNodes = function () {
|
|
8333
|
+
var chart = this,
|
|
8334
|
+
series = chart.series,
|
|
8335
|
+
selectedParentsNodes = [];
|
|
8336
|
+
series.forEach(function (series) {
|
|
8337
|
+
if (series.parentNode && series.parentNode.selected) {
|
|
8338
|
+
selectedParentsNodes.push(series.parentNode);
|
|
8339
|
+
}
|
|
8340
|
+
});
|
|
8341
|
+
return selectedParentsNodes;
|
|
8342
|
+
};
|
|
8173
8343
|
H.networkgraphIntegrations.packedbubble = {
|
|
8174
8344
|
repulsiveForceFunction: function (d, k, node, repNode) {
|
|
8175
8345
|
return Math.min(d, (node.marker.radius + repNode.marker.radius) / 2);
|
|
@@ -8321,7 +8491,7 @@
|
|
|
8321
8491
|
*
|
|
8322
8492
|
* @extends Highcharts.Series
|
|
8323
8493
|
*/
|
|
8324
|
-
seriesType('packedbubble', 'bubble',
|
|
8494
|
+
BaseSeries.seriesType('packedbubble', 'bubble',
|
|
8325
8495
|
/**
|
|
8326
8496
|
* A packed bubble series is a two dimensional series type, where each point
|
|
8327
8497
|
* renders a value in X, Y position. Each point is drawn as a bubble
|
|
@@ -8334,9 +8504,10 @@
|
|
|
8334
8504
|
* Split packed bubble chart
|
|
8335
8505
|
|
|
8336
8506
|
* @extends plotOptions.bubble
|
|
8337
|
-
* @excluding connectEnds, connectNulls, dragDrop, jitter,
|
|
8338
|
-
* pointPlacement, sizeByAbsoluteValue, step, xAxis,
|
|
8339
|
-
* zMax, zMin, dataSorting
|
|
8507
|
+
* @excluding connectEnds, connectNulls, cropThreshold, dragDrop, jitter,
|
|
8508
|
+
* keys, pointPlacement, sizeByAbsoluteValue, step, xAxis,
|
|
8509
|
+
* yAxis, zMax, zMin, dataSorting, boostThreshold,
|
|
8510
|
+
* boostBlending
|
|
8340
8511
|
* @product highcharts
|
|
8341
8512
|
* @since 7.0.0
|
|
8342
8513
|
* @requires highcharts-more
|
|
@@ -8405,6 +8576,24 @@
|
|
|
8405
8576
|
*/
|
|
8406
8577
|
useSimulation: true,
|
|
8407
8578
|
/**
|
|
8579
|
+
* Series options for parent nodes.
|
|
8580
|
+
*
|
|
8581
|
+
* @since 8.1.1
|
|
8582
|
+
*
|
|
8583
|
+
* @private
|
|
8584
|
+
*/
|
|
8585
|
+
parentNode: {
|
|
8586
|
+
/**
|
|
8587
|
+
* Allow this series' parent nodes to be selected
|
|
8588
|
+
* by clicking on the graph.
|
|
8589
|
+
*
|
|
8590
|
+
* @since 8.1.1
|
|
8591
|
+
*/
|
|
8592
|
+
allowPointSelect: false
|
|
8593
|
+
},
|
|
8594
|
+
/**
|
|
8595
|
+
/**
|
|
8596
|
+
*
|
|
8408
8597
|
* @declare Highcharts.SeriesPackedBubbleDataLabelsOptionsObject
|
|
8409
8598
|
*
|
|
8410
8599
|
* @private
|
|
@@ -8440,10 +8629,6 @@
|
|
|
8440
8629
|
*/
|
|
8441
8630
|
// eslint-disable-next-line valid-jsdoc
|
|
8442
8631
|
/**
|
|
8443
|
-
* Callback to format data labels for _parentNodes_. The
|
|
8444
|
-
* `parentNodeFormat` option takes precedence over the
|
|
8445
|
-
* `parentNodeFormatter`.
|
|
8446
|
-
*
|
|
8447
8632
|
* @type {Highcharts.SeriesPackedBubbleDataLabelsFormatterCallbackFunction}
|
|
8448
8633
|
* @since 7.1.0
|
|
8449
8634
|
*/
|
|
@@ -8451,10 +8636,6 @@
|
|
|
8451
8636
|
return this.name;
|
|
8452
8637
|
},
|
|
8453
8638
|
/**
|
|
8454
|
-
* Options for a _parentNode_ label text.
|
|
8455
|
-
*
|
|
8456
|
-
* **Note:** Only SVG-based renderer supports this option.
|
|
8457
|
-
*
|
|
8458
8639
|
* @sample {highcharts} highcharts/series-packedbubble/packed-dashboard
|
|
8459
8640
|
* Dashboard with dataLabels on parentNodes
|
|
8460
8641
|
*
|
|
@@ -8634,6 +8815,7 @@
|
|
|
8634
8815
|
*/
|
|
8635
8816
|
forces: ['barycenter', 'repulsive'],
|
|
8636
8817
|
pointArrayMap: ['value'],
|
|
8818
|
+
trackerGroups: ['group', 'dataLabelsGroup', 'parentNodesGroup'],
|
|
8637
8819
|
pointValKey: 'value',
|
|
8638
8820
|
isCartesian: false,
|
|
8639
8821
|
requireSorting: false,
|
|
@@ -8656,7 +8838,8 @@
|
|
|
8656
8838
|
j;
|
|
8657
8839
|
for (i = 0; i < chart.series.length; i++) {
|
|
8658
8840
|
series = chart.series[i];
|
|
8659
|
-
if (series.
|
|
8841
|
+
if (series.is('packedbubble') && // #13574
|
|
8842
|
+
series.visible ||
|
|
8660
8843
|
!chart.options.chart.ignoreHiddenSeries) {
|
|
8661
8844
|
// add data to array only if series is visible
|
|
8662
8845
|
for (j = 0; j < series.yData.length; j++) {
|
|
@@ -8866,7 +9049,8 @@
|
|
|
8866
9049
|
chart = series.chart,
|
|
8867
9050
|
parentNodeLayout = series.parentNodeLayout,
|
|
8868
9051
|
nodeAdded,
|
|
8869
|
-
parentNode = series.parentNode
|
|
9052
|
+
parentNode = series.parentNode,
|
|
9053
|
+
PackedBubblePoint = series.pointClass;
|
|
8870
9054
|
series.parentNodeMass = 0;
|
|
8871
9055
|
series.points.forEach(function (p) {
|
|
8872
9056
|
series.parentNodeMass +=
|
|
@@ -8881,7 +9065,7 @@
|
|
|
8881
9065
|
parentNodeLayout.setArea(0, 0, chart.plotWidth, chart.plotHeight);
|
|
8882
9066
|
if (!nodeAdded) {
|
|
8883
9067
|
if (!parentNode) {
|
|
8884
|
-
parentNode = (new
|
|
9068
|
+
parentNode = (new PackedBubblePoint()).init(this, {
|
|
8885
9069
|
mass: series.parentNodeRadius / 2,
|
|
8886
9070
|
marker: {
|
|
8887
9071
|
radius: series.parentNodeRadius
|
|
@@ -8904,6 +9088,38 @@
|
|
|
8904
9088
|
parentNodeLayout.addElementsToCollection([parentNode], parentNodeLayout.nodes);
|
|
8905
9089
|
}
|
|
8906
9090
|
},
|
|
9091
|
+
drawTracker: function () {
|
|
9092
|
+
var series = this,
|
|
9093
|
+
chart = series.chart,
|
|
9094
|
+
pointer = chart.pointer,
|
|
9095
|
+
onMouseOver = function (e) {
|
|
9096
|
+
var point = pointer.getPointFromEvent(e);
|
|
9097
|
+
// undefined on graph in scatterchart
|
|
9098
|
+
if (typeof point !== 'undefined') {
|
|
9099
|
+
pointer.isDirectTouch = true;
|
|
9100
|
+
point.onMouseOver(e);
|
|
9101
|
+
}
|
|
9102
|
+
}, parentNode = series.parentNode;
|
|
9103
|
+
var dataLabels;
|
|
9104
|
+
H.TrackerMixin.drawTrackerPoint.call(this);
|
|
9105
|
+
// Add reference to the point
|
|
9106
|
+
if (parentNode) {
|
|
9107
|
+
dataLabels = (isArray(parentNode.dataLabels) ?
|
|
9108
|
+
parentNode.dataLabels :
|
|
9109
|
+
(parentNode.dataLabel ? [parentNode.dataLabel] : []));
|
|
9110
|
+
if (parentNode.graphic) {
|
|
9111
|
+
parentNode.graphic.element.point = parentNode;
|
|
9112
|
+
}
|
|
9113
|
+
dataLabels.forEach(function (dataLabel) {
|
|
9114
|
+
if (dataLabel.div) {
|
|
9115
|
+
dataLabel.div.point = parentNode;
|
|
9116
|
+
}
|
|
9117
|
+
else {
|
|
9118
|
+
dataLabel.element.point = parentNode;
|
|
9119
|
+
}
|
|
9120
|
+
});
|
|
9121
|
+
}
|
|
9122
|
+
},
|
|
8907
9123
|
/**
|
|
8908
9124
|
* Function responsible for adding series layout, used for parent nodes.
|
|
8909
9125
|
* @private
|
|
@@ -9432,6 +9648,33 @@
|
|
|
9432
9648
|
this.series.layout.removeElementFromCollection(this, this.series.layout.nodes);
|
|
9433
9649
|
}
|
|
9434
9650
|
return Point.prototype.destroy.apply(this, arguments);
|
|
9651
|
+
},
|
|
9652
|
+
firePointEvent: function (eventType, eventArgs, defaultFunction) {
|
|
9653
|
+
var point = this,
|
|
9654
|
+
series = this.series,
|
|
9655
|
+
seriesOptions = series.options;
|
|
9656
|
+
if (this.isParentNode && seriesOptions.parentNode) {
|
|
9657
|
+
var temp = seriesOptions.allowPointSelect;
|
|
9658
|
+
seriesOptions.allowPointSelect = seriesOptions.parentNode.allowPointSelect;
|
|
9659
|
+
Point.prototype.firePointEvent.apply(this, arguments);
|
|
9660
|
+
seriesOptions.allowPointSelect = temp;
|
|
9661
|
+
}
|
|
9662
|
+
else {
|
|
9663
|
+
Point.prototype.firePointEvent.apply(this, arguments);
|
|
9664
|
+
}
|
|
9665
|
+
},
|
|
9666
|
+
select: function (selected, accumulate) {
|
|
9667
|
+
var point = this,
|
|
9668
|
+
series = this.series,
|
|
9669
|
+
chart = series.chart;
|
|
9670
|
+
if (point.isParentNode) {
|
|
9671
|
+
chart.getSelectedPoints = chart.getSelectedParentNodes;
|
|
9672
|
+
Point.prototype.select.apply(this, arguments);
|
|
9673
|
+
chart.getSelectedPoints = Chart.prototype.getSelectedPoints;
|
|
9674
|
+
}
|
|
9675
|
+
else {
|
|
9676
|
+
Point.prototype.select.apply(this, arguments);
|
|
9677
|
+
}
|
|
9435
9678
|
}
|
|
9436
9679
|
});
|
|
9437
9680
|
// Remove accumulated data points to redistribute all of them again
|
|
@@ -9448,7 +9691,8 @@
|
|
|
9448
9691
|
*
|
|
9449
9692
|
* @type {Object}
|
|
9450
9693
|
* @extends series,plotOptions.packedbubble
|
|
9451
|
-
* @excluding dataParser, dataSorting, dataURL, dragDrop, stack
|
|
9694
|
+
* @excluding cropThreshold, dataParser, dataSorting, dataURL, dragDrop, stack,
|
|
9695
|
+
* boostThreshold, boostBlending
|
|
9452
9696
|
* @product highcharts
|
|
9453
9697
|
* @requires highcharts-more
|
|
9454
9698
|
* @apioption series.packedbubble
|
|
@@ -9501,7 +9745,7 @@
|
|
|
9501
9745
|
''; // adds doclets above to transpiled file
|
|
9502
9746
|
|
|
9503
9747
|
});
|
|
9504
|
-
_registerModule(_modules, '
|
|
9748
|
+
_registerModule(_modules, 'Extensions/Polar.js', [_modules['Core/Animation/AnimationUtilities.js'], _modules['Core/Chart/Chart.js'], _modules['Core/Globals.js'], _modules['Extensions/Pane.js'], _modules['Core/Pointer.js'], _modules['Core/Renderer/SVG/SVGRenderer.js'], _modules['Core/Utilities.js']], function (A, Chart, H, Pane, Pointer, SVGRenderer, U) {
|
|
9505
9749
|
/* *
|
|
9506
9750
|
*
|
|
9507
9751
|
* (c) 2010-2020 Torstein Honsi
|
|
@@ -9511,8 +9755,8 @@
|
|
|
9511
9755
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
9512
9756
|
*
|
|
9513
9757
|
* */
|
|
9758
|
+
var animObject = A.animObject;
|
|
9514
9759
|
var addEvent = U.addEvent,
|
|
9515
|
-
animObject = U.animObject,
|
|
9516
9760
|
defined = U.defined,
|
|
9517
9761
|
find = U.find,
|
|
9518
9762
|
isNumber = U.isNumber,
|
|
@@ -9522,8 +9766,7 @@
|
|
|
9522
9766
|
wrap = U.wrap;
|
|
9523
9767
|
// Extensions for polar charts. Additionally, much of the geometry required for
|
|
9524
9768
|
// polar charts is gathered in RadialAxes.js.
|
|
9525
|
-
var
|
|
9526
|
-
Series = H.Series,
|
|
9769
|
+
var Series = H.Series,
|
|
9527
9770
|
seriesTypes = H.seriesTypes,
|
|
9528
9771
|
seriesProto = Series.prototype,
|
|
9529
9772
|
pointerProto = Pointer.prototype,
|
|
@@ -10273,7 +10516,7 @@
|
|
|
10273
10516
|
}
|
|
10274
10517
|
return ret;
|
|
10275
10518
|
});
|
|
10276
|
-
|
|
10519
|
+
SVGRenderer.prototype.clipCircle = function (x, y, r, innerR) {
|
|
10277
10520
|
var wrapper,
|
|
10278
10521
|
id = uniqueKey(),
|
|
10279
10522
|
clipPath = this.createElement('clipPath').attr({
|
|
@@ -10286,7 +10529,7 @@
|
|
|
10286
10529
|
wrapper.clipPath = clipPath;
|
|
10287
10530
|
return wrapper;
|
|
10288
10531
|
};
|
|
10289
|
-
addEvent(
|
|
10532
|
+
addEvent(Chart, 'getAxes', function () {
|
|
10290
10533
|
if (!this.pane) {
|
|
10291
10534
|
this.pane = [];
|
|
10292
10535
|
}
|
|
@@ -10295,7 +10538,7 @@
|
|
|
10295
10538
|
paneOptions, this);
|
|
10296
10539
|
}, this);
|
|
10297
10540
|
});
|
|
10298
|
-
addEvent(
|
|
10541
|
+
addEvent(Chart, 'afterDrawChartBox', function () {
|
|
10299
10542
|
this.pane.forEach(function (pane) {
|
|
10300
10543
|
pane.render();
|
|
10301
10544
|
});
|
|
@@ -10315,7 +10558,7 @@
|
|
|
10315
10558
|
* responsiveness and chart.update.
|
|
10316
10559
|
* @private
|
|
10317
10560
|
*/
|
|
10318
|
-
wrap(
|
|
10561
|
+
wrap(Chart.prototype, 'get', function (proceed, id) {
|
|
10319
10562
|
return find(this.pane, function (pane) {
|
|
10320
10563
|
return pane.options.id === id;
|
|
10321
10564
|
}) || proceed.call(this, id);
|