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
|
@@ -12,7 +12,7 @@ import H from './Globals.js';
|
|
|
12
12
|
/**
|
|
13
13
|
* An animation configuration. Animation configurations can also be defined as
|
|
14
14
|
* booleans, where `false` turns off animation and `true` defaults to a duration
|
|
15
|
-
* of 500ms.
|
|
15
|
+
* of 500ms and defer of 0ms.
|
|
16
16
|
*
|
|
17
17
|
* @interface Highcharts.AnimationOptionsObject
|
|
18
18
|
*/ /**
|
|
@@ -20,6 +20,10 @@ import H from './Globals.js';
|
|
|
20
20
|
* @name Highcharts.AnimationOptionsObject#complete
|
|
21
21
|
* @type {Function|undefined}
|
|
22
22
|
*/ /**
|
|
23
|
+
* The animation defer in milliseconds.
|
|
24
|
+
* @name Highcharts.AnimationOptionsObject#defer
|
|
25
|
+
* @type {number|undefined}
|
|
26
|
+
*/ /**
|
|
23
27
|
* The animation duration in milliseconds.
|
|
24
28
|
* @name Highcharts.AnimationOptionsObject#duration
|
|
25
29
|
* @type {number|undefined}
|
|
@@ -181,7 +185,9 @@ import H from './Globals.js';
|
|
|
181
185
|
*/
|
|
182
186
|
/**
|
|
183
187
|
* Generic dictionary in TypeScript notation.
|
|
188
|
+
* Use the native `Record<string, any>` instead.
|
|
184
189
|
*
|
|
190
|
+
* @deprecated
|
|
185
191
|
* @interface Highcharts.Dictionary<T>
|
|
186
192
|
*/ /**
|
|
187
193
|
* @name Highcharts.Dictionary<T>#[key:string]
|
|
@@ -348,15 +354,21 @@ var charts = H.charts, doc = H.doc, win = H.win;
|
|
|
348
354
|
*
|
|
349
355
|
* @return {void}
|
|
350
356
|
*/
|
|
351
|
-
|
|
357
|
+
function error(code, stop, chart, params) {
|
|
358
|
+
var severity = stop ? 'Highcharts error' : 'Highcharts warning';
|
|
359
|
+
if (code === 32) {
|
|
360
|
+
code = severity + ": Deprecated member";
|
|
361
|
+
}
|
|
352
362
|
var isCode = isNumber(code), message = isCode ?
|
|
353
|
-
"
|
|
363
|
+
severity + " #" + code + ": www.highcharts.com/errors/" + code + "/" :
|
|
354
364
|
code.toString(), defaultHandler = function () {
|
|
355
365
|
if (stop) {
|
|
356
366
|
throw new Error(message);
|
|
357
367
|
}
|
|
358
368
|
// else ...
|
|
359
|
-
if (win.console
|
|
369
|
+
if (win.console &&
|
|
370
|
+
error.messages.indexOf(message) === -1 // prevent console flooting
|
|
371
|
+
) {
|
|
360
372
|
console.log(message); // eslint-disable-line no-console
|
|
361
373
|
}
|
|
362
374
|
};
|
|
@@ -366,7 +378,7 @@ var error = H.error = function (code, stop, chart, params) {
|
|
|
366
378
|
message += '?';
|
|
367
379
|
}
|
|
368
380
|
objectEach(params, function (value, key) {
|
|
369
|
-
additionalMessages_1 +=
|
|
381
|
+
additionalMessages_1 += "\n - " + key + ": " + value;
|
|
370
382
|
if (isCode) {
|
|
371
383
|
message += encodeURI(key) + '=' + encodeURI(value);
|
|
372
384
|
}
|
|
@@ -379,369 +391,12 @@ var error = H.error = function (code, stop, chart, params) {
|
|
|
379
391
|
else {
|
|
380
392
|
defaultHandler();
|
|
381
393
|
}
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
*
|
|
389
|
-
* @example
|
|
390
|
-
* var rect = renderer.rect(0, 0, 10, 10).add();
|
|
391
|
-
* rect.animate({ width: 100 });
|
|
392
|
-
*
|
|
393
|
-
* @private
|
|
394
|
-
* @class
|
|
395
|
-
* @name Highcharts.Fx
|
|
396
|
-
*/
|
|
397
|
-
var Fx = /** @class */ (function () {
|
|
398
|
-
/* *
|
|
399
|
-
*
|
|
400
|
-
* Constructors
|
|
401
|
-
*
|
|
402
|
-
* */
|
|
403
|
-
/**
|
|
404
|
-
*
|
|
405
|
-
* @param {Highcharts.HTMLDOMElement|Highcharts.SVGElement} elem
|
|
406
|
-
* The element to animate.
|
|
407
|
-
*
|
|
408
|
-
* @param {Highcharts.AnimationOptionsObject} options
|
|
409
|
-
* Animation options.
|
|
410
|
-
*
|
|
411
|
-
* @param {string} prop
|
|
412
|
-
* The single attribute or CSS property to animate.
|
|
413
|
-
*/
|
|
414
|
-
function Fx(elem, options, prop) {
|
|
415
|
-
this.options = options;
|
|
416
|
-
this.elem = elem;
|
|
417
|
-
this.prop = prop;
|
|
418
|
-
}
|
|
419
|
-
/* *
|
|
420
|
-
*
|
|
421
|
-
* Functions
|
|
422
|
-
*
|
|
423
|
-
* */
|
|
424
|
-
/**
|
|
425
|
-
* Set the current step of a path definition on SVGElement.
|
|
426
|
-
*
|
|
427
|
-
* @function Highcharts.Fx#dSetter
|
|
428
|
-
*
|
|
429
|
-
* @return {void}
|
|
430
|
-
*/
|
|
431
|
-
Fx.prototype.dSetter = function () {
|
|
432
|
-
var paths = this.paths, start = paths && paths[0], end = paths && paths[1], path = [], now = this.now || 0;
|
|
433
|
-
// Land on the final path without adjustment points appended in the ends
|
|
434
|
-
if (now === 1 || !start || !end) {
|
|
435
|
-
path = this.toD || [];
|
|
436
|
-
}
|
|
437
|
-
else if (start.length === end.length && now < 1) {
|
|
438
|
-
for (var i = 0; i < end.length; i++) {
|
|
439
|
-
// Tween between the start segment and the end segment. Start
|
|
440
|
-
// with a copy of the end segment and tween the appropriate
|
|
441
|
-
// numerics
|
|
442
|
-
var startSeg = start[i];
|
|
443
|
-
var endSeg = end[i];
|
|
444
|
-
var tweenSeg = [];
|
|
445
|
-
for (var j = 0; j < endSeg.length; j++) {
|
|
446
|
-
var startItem = startSeg[j];
|
|
447
|
-
var endItem = endSeg[j];
|
|
448
|
-
// Tween numbers
|
|
449
|
-
if (typeof startItem === 'number' &&
|
|
450
|
-
typeof endItem === 'number' &&
|
|
451
|
-
// Arc boolean flags
|
|
452
|
-
!(endSeg[0] === 'A' && (j === 4 || j === 5))) {
|
|
453
|
-
tweenSeg[j] = startItem + now * (endItem - startItem);
|
|
454
|
-
// Strings, take directly from the end segment
|
|
455
|
-
}
|
|
456
|
-
else {
|
|
457
|
-
tweenSeg[j] = endItem;
|
|
458
|
-
}
|
|
459
|
-
}
|
|
460
|
-
path.push(tweenSeg);
|
|
461
|
-
}
|
|
462
|
-
// If animation is finished or length not matching, land on right value
|
|
463
|
-
}
|
|
464
|
-
else {
|
|
465
|
-
path = end;
|
|
466
|
-
}
|
|
467
|
-
this.elem.attr('d', path, void 0, true);
|
|
468
|
-
};
|
|
469
|
-
/**
|
|
470
|
-
* Update the element with the current animation step.
|
|
471
|
-
*
|
|
472
|
-
* @function Highcharts.Fx#update
|
|
473
|
-
*
|
|
474
|
-
* @return {void}
|
|
475
|
-
*/
|
|
476
|
-
Fx.prototype.update = function () {
|
|
477
|
-
var elem = this.elem, prop = this.prop, // if destroyed, it is null
|
|
478
|
-
now = this.now, step = this.options.step;
|
|
479
|
-
// Animation setter defined from outside
|
|
480
|
-
if (this[prop + 'Setter']) {
|
|
481
|
-
this[prop + 'Setter']();
|
|
482
|
-
// Other animations on SVGElement
|
|
483
|
-
}
|
|
484
|
-
else if (elem.attr) {
|
|
485
|
-
if (elem.element) {
|
|
486
|
-
elem.attr(prop, now, null, true);
|
|
487
|
-
}
|
|
488
|
-
// HTML styles, raw HTML content like container size
|
|
489
|
-
}
|
|
490
|
-
else {
|
|
491
|
-
elem.style[prop] = now + this.unit;
|
|
492
|
-
}
|
|
493
|
-
if (step) {
|
|
494
|
-
step.call(elem, now, this);
|
|
495
|
-
}
|
|
496
|
-
};
|
|
497
|
-
/**
|
|
498
|
-
* Run an animation.
|
|
499
|
-
*
|
|
500
|
-
* @function Highcharts.Fx#run
|
|
501
|
-
*
|
|
502
|
-
* @param {number} from
|
|
503
|
-
* The current value, value to start from.
|
|
504
|
-
*
|
|
505
|
-
* @param {number} to
|
|
506
|
-
* The end value, value to land on.
|
|
507
|
-
*
|
|
508
|
-
* @param {string} unit
|
|
509
|
-
* The property unit, for example `px`.
|
|
510
|
-
*
|
|
511
|
-
* @return {void}
|
|
512
|
-
*/
|
|
513
|
-
Fx.prototype.run = function (from, to, unit) {
|
|
514
|
-
var self = this, options = self.options, timer = function (gotoEnd) {
|
|
515
|
-
return timer.stopped ? false : self.step(gotoEnd);
|
|
516
|
-
}, requestAnimationFrame = win.requestAnimationFrame ||
|
|
517
|
-
function (step) {
|
|
518
|
-
setTimeout(step, 13);
|
|
519
|
-
}, step = function () {
|
|
520
|
-
for (var i = 0; i < H.timers.length; i++) {
|
|
521
|
-
if (!H.timers[i]()) {
|
|
522
|
-
H.timers.splice(i--, 1);
|
|
523
|
-
}
|
|
524
|
-
}
|
|
525
|
-
if (H.timers.length) {
|
|
526
|
-
requestAnimationFrame(step);
|
|
527
|
-
}
|
|
528
|
-
};
|
|
529
|
-
if (from === to && !this.elem['forceAnimate:' + this.prop]) {
|
|
530
|
-
delete options.curAnim[this.prop];
|
|
531
|
-
if (options.complete && Object.keys(options.curAnim).length === 0) {
|
|
532
|
-
options.complete.call(this.elem);
|
|
533
|
-
}
|
|
534
|
-
}
|
|
535
|
-
else { // #7166
|
|
536
|
-
this.startTime = +new Date();
|
|
537
|
-
this.start = from;
|
|
538
|
-
this.end = to;
|
|
539
|
-
this.unit = unit;
|
|
540
|
-
this.now = this.start;
|
|
541
|
-
this.pos = 0;
|
|
542
|
-
timer.elem = this.elem;
|
|
543
|
-
timer.prop = this.prop;
|
|
544
|
-
if (timer() && H.timers.push(timer) === 1) {
|
|
545
|
-
requestAnimationFrame(step);
|
|
546
|
-
}
|
|
547
|
-
}
|
|
548
|
-
};
|
|
549
|
-
/**
|
|
550
|
-
* Run a single step in the animation.
|
|
551
|
-
*
|
|
552
|
-
* @function Highcharts.Fx#step
|
|
553
|
-
*
|
|
554
|
-
* @param {boolean} [gotoEnd]
|
|
555
|
-
* Whether to go to the endpoint of the animation after abort.
|
|
556
|
-
*
|
|
557
|
-
* @return {boolean}
|
|
558
|
-
* Returns `true` if animation continues.
|
|
559
|
-
*/
|
|
560
|
-
Fx.prototype.step = function (gotoEnd) {
|
|
561
|
-
var t = +new Date(), ret, done, options = this.options, elem = this.elem, complete = options.complete, duration = options.duration, curAnim = options.curAnim;
|
|
562
|
-
if (elem.attr && !elem.element) { // #2616, element is destroyed
|
|
563
|
-
ret = false;
|
|
564
|
-
}
|
|
565
|
-
else if (gotoEnd || t >= duration + this.startTime) {
|
|
566
|
-
this.now = this.end;
|
|
567
|
-
this.pos = 1;
|
|
568
|
-
this.update();
|
|
569
|
-
curAnim[this.prop] = true;
|
|
570
|
-
done = true;
|
|
571
|
-
objectEach(curAnim, function (val) {
|
|
572
|
-
if (val !== true) {
|
|
573
|
-
done = false;
|
|
574
|
-
}
|
|
575
|
-
});
|
|
576
|
-
if (done && complete) {
|
|
577
|
-
complete.call(elem);
|
|
578
|
-
}
|
|
579
|
-
ret = false;
|
|
580
|
-
}
|
|
581
|
-
else {
|
|
582
|
-
this.pos = options.easing((t - this.startTime) / duration);
|
|
583
|
-
this.now = this.start + ((this.end - this.start) * this.pos);
|
|
584
|
-
this.update();
|
|
585
|
-
ret = true;
|
|
586
|
-
}
|
|
587
|
-
return ret;
|
|
588
|
-
};
|
|
589
|
-
/**
|
|
590
|
-
* Prepare start and end values so that the path can be animated one to one.
|
|
591
|
-
*
|
|
592
|
-
* @function Highcharts.Fx#initPath
|
|
593
|
-
*
|
|
594
|
-
* @param {Highcharts.SVGElement} elem
|
|
595
|
-
* The SVGElement item.
|
|
596
|
-
*
|
|
597
|
-
* @param {Highcharts.SVGPathArray|undefined} fromD
|
|
598
|
-
* Starting path definition.
|
|
599
|
-
*
|
|
600
|
-
* @param {Highcharts.SVGPathArray} toD
|
|
601
|
-
* Ending path definition.
|
|
602
|
-
*
|
|
603
|
-
* @return {Array<Highcharts.SVGPathArray,Highcharts.SVGPathArray>}
|
|
604
|
-
* An array containing start and end paths in array form so that
|
|
605
|
-
* they can be animated in parallel.
|
|
606
|
-
*/
|
|
607
|
-
Fx.prototype.initPath = function (elem, fromD, toD) {
|
|
608
|
-
var shift, startX = elem.startX, endX = elem.endX, fullLength, i, start = fromD && fromD.slice(), // copy
|
|
609
|
-
end = toD.slice(), // copy
|
|
610
|
-
isArea = elem.isArea, positionFactor = isArea ? 2 : 1, reverse;
|
|
611
|
-
if (!start) {
|
|
612
|
-
return [end, end];
|
|
613
|
-
}
|
|
614
|
-
/**
|
|
615
|
-
* If shifting points, prepend a dummy point to the end path.
|
|
616
|
-
* @private
|
|
617
|
-
* @param {Highcharts.SVGPathArray} arr - array
|
|
618
|
-
* @param {Highcharts.SVGPathArray} other - array
|
|
619
|
-
* @return {void}
|
|
620
|
-
*/
|
|
621
|
-
function prepend(arr, other) {
|
|
622
|
-
while (arr.length < fullLength) {
|
|
623
|
-
// Move to, line to or curve to?
|
|
624
|
-
var moveSegment = arr[0], otherSegment = other[fullLength - arr.length];
|
|
625
|
-
if (otherSegment && moveSegment[0] === 'M') {
|
|
626
|
-
if (otherSegment[0] === 'C') {
|
|
627
|
-
arr[0] = [
|
|
628
|
-
'C',
|
|
629
|
-
moveSegment[1],
|
|
630
|
-
moveSegment[2],
|
|
631
|
-
moveSegment[1],
|
|
632
|
-
moveSegment[2],
|
|
633
|
-
moveSegment[1],
|
|
634
|
-
moveSegment[2]
|
|
635
|
-
];
|
|
636
|
-
}
|
|
637
|
-
else {
|
|
638
|
-
arr[0] = ['L', moveSegment[1], moveSegment[2]];
|
|
639
|
-
}
|
|
640
|
-
}
|
|
641
|
-
// Prepend a copy of the first point
|
|
642
|
-
arr.unshift(moveSegment);
|
|
643
|
-
// For areas, the bottom path goes back again to the left, so we
|
|
644
|
-
// need to append a copy of the last point.
|
|
645
|
-
if (isArea) {
|
|
646
|
-
arr.push(arr[arr.length - 1]);
|
|
647
|
-
}
|
|
648
|
-
}
|
|
649
|
-
}
|
|
650
|
-
/**
|
|
651
|
-
* Copy and append last point until the length matches the end length.
|
|
652
|
-
* @private
|
|
653
|
-
* @param {Highcharts.SVGPathArray} arr - array
|
|
654
|
-
* @param {Highcharts.SVGPathArray} other - array
|
|
655
|
-
* @return {void}
|
|
656
|
-
*/
|
|
657
|
-
function append(arr, other) {
|
|
658
|
-
while (arr.length < fullLength) {
|
|
659
|
-
// Pull out the slice that is going to be appended or inserted.
|
|
660
|
-
// In a line graph, the positionFactor is 1, and the last point
|
|
661
|
-
// is sliced out. In an area graph, the positionFactor is 2,
|
|
662
|
-
// causing the middle two points to be sliced out, since an area
|
|
663
|
-
// path starts at left, follows the upper path then turns and
|
|
664
|
-
// follows the bottom back.
|
|
665
|
-
var segmentToAdd = arr[arr.length / positionFactor - 1].slice();
|
|
666
|
-
// Disable the first control point of curve segments
|
|
667
|
-
if (segmentToAdd[0] === 'C') {
|
|
668
|
-
segmentToAdd[1] = segmentToAdd[5];
|
|
669
|
-
segmentToAdd[2] = segmentToAdd[6];
|
|
670
|
-
}
|
|
671
|
-
if (!isArea) {
|
|
672
|
-
arr.push(segmentToAdd);
|
|
673
|
-
}
|
|
674
|
-
else {
|
|
675
|
-
var lowerSegmentToAdd = arr[arr.length / positionFactor].slice();
|
|
676
|
-
arr.splice(arr.length / 2, 0, segmentToAdd, lowerSegmentToAdd);
|
|
677
|
-
}
|
|
678
|
-
}
|
|
679
|
-
}
|
|
680
|
-
// For sideways animation, find out how much we need to shift to get the
|
|
681
|
-
// start path Xs to match the end path Xs.
|
|
682
|
-
if (startX && endX) {
|
|
683
|
-
for (i = 0; i < startX.length; i++) {
|
|
684
|
-
// Moving left, new points coming in on right
|
|
685
|
-
if (startX[i] === endX[0]) {
|
|
686
|
-
shift = i;
|
|
687
|
-
break;
|
|
688
|
-
// Moving right
|
|
689
|
-
}
|
|
690
|
-
else if (startX[0] ===
|
|
691
|
-
endX[endX.length - startX.length + i]) {
|
|
692
|
-
shift = i;
|
|
693
|
-
reverse = true;
|
|
694
|
-
break;
|
|
695
|
-
// Fixed from the right side, "scaling" left
|
|
696
|
-
}
|
|
697
|
-
else if (startX[startX.length - 1] ===
|
|
698
|
-
endX[endX.length - startX.length + i]) {
|
|
699
|
-
shift = startX.length - i;
|
|
700
|
-
break;
|
|
701
|
-
}
|
|
702
|
-
}
|
|
703
|
-
if (typeof shift === 'undefined') {
|
|
704
|
-
start = [];
|
|
705
|
-
}
|
|
706
|
-
}
|
|
707
|
-
if (start.length && isNumber(shift)) {
|
|
708
|
-
// The common target length for the start and end array, where both
|
|
709
|
-
// arrays are padded in opposite ends
|
|
710
|
-
fullLength = end.length + shift * positionFactor;
|
|
711
|
-
if (!reverse) {
|
|
712
|
-
prepend(end, start);
|
|
713
|
-
append(start, end);
|
|
714
|
-
}
|
|
715
|
-
else {
|
|
716
|
-
prepend(start, end);
|
|
717
|
-
append(end, start);
|
|
718
|
-
}
|
|
719
|
-
}
|
|
720
|
-
return [start, end];
|
|
721
|
-
};
|
|
722
|
-
/**
|
|
723
|
-
* Handle animation of the color attributes directly.
|
|
724
|
-
*
|
|
725
|
-
* @function Highcharts.Fx#fillSetter
|
|
726
|
-
*
|
|
727
|
-
* @return {void}
|
|
728
|
-
*/
|
|
729
|
-
Fx.prototype.fillSetter = function () {
|
|
730
|
-
Fx.prototype.strokeSetter.apply(this, arguments);
|
|
731
|
-
};
|
|
732
|
-
/**
|
|
733
|
-
* Handle animation of the color attributes directly.
|
|
734
|
-
*
|
|
735
|
-
* @function Highcharts.Fx#strokeSetter
|
|
736
|
-
*
|
|
737
|
-
* @return {void}
|
|
738
|
-
*/
|
|
739
|
-
Fx.prototype.strokeSetter = function () {
|
|
740
|
-
this.elem.attr(this.prop, H.color(this.start).tweenTo(H.color(this.end), this.pos), null, true);
|
|
741
|
-
};
|
|
742
|
-
return Fx;
|
|
743
|
-
}());
|
|
744
|
-
H.Fx = Fx;
|
|
394
|
+
error.messages.push(message);
|
|
395
|
+
}
|
|
396
|
+
(function (error) {
|
|
397
|
+
error.messages = [];
|
|
398
|
+
})(error || (error = {}));
|
|
399
|
+
H.error = error;
|
|
745
400
|
/* eslint-disable valid-jsdoc */
|
|
746
401
|
/**
|
|
747
402
|
* Utility function to deep merge two or more objects and return a third object.
|
|
@@ -1263,7 +918,7 @@ var relativeLength = H.relativeLength = function relativeLength(value, base, off
|
|
|
1263
918
|
/**
|
|
1264
919
|
* Wrap a method with extended functionality, preserving the original function.
|
|
1265
920
|
*
|
|
1266
|
-
|
|
921
|
+
* @function Highcharts.wrap
|
|
1267
922
|
*
|
|
1268
923
|
* @param {*} obj
|
|
1269
924
|
* The context object that the method belongs to. In real cases, this is
|
|
@@ -1276,8 +931,6 @@ var relativeLength = H.relativeLength = function relativeLength(value, base, off
|
|
|
1276
931
|
* A wrapper function callback. This function is called with the same
|
|
1277
932
|
* arguments as the original function, except that the original function
|
|
1278
933
|
* is unshifted and passed as the first argument.
|
|
1279
|
-
*
|
|
1280
|
-
* @return {void}
|
|
1281
934
|
*/
|
|
1282
935
|
var wrap = H.wrap = function wrap(obj, method, func) {
|
|
1283
936
|
var proceed = obj[method];
|
|
@@ -1534,8 +1187,6 @@ var arrayMax = H.arrayMax = function arrayMax(data) {
|
|
|
1534
1187
|
*
|
|
1535
1188
|
* @param {*} [except]
|
|
1536
1189
|
* Exception, do not destroy this property, only delete it.
|
|
1537
|
-
*
|
|
1538
|
-
* @return {void}
|
|
1539
1190
|
*/
|
|
1540
1191
|
var destroyObjectProperties = H.destroyObjectProperties =
|
|
1541
1192
|
function destroyObjectProperties(obj, except) {
|
|
@@ -1556,8 +1207,6 @@ var destroyObjectProperties = H.destroyObjectProperties =
|
|
|
1556
1207
|
*
|
|
1557
1208
|
* @param {Highcharts.HTMLDOMElement} element
|
|
1558
1209
|
* The HTML node to discard.
|
|
1559
|
-
*
|
|
1560
|
-
* @return {void}
|
|
1561
1210
|
*/
|
|
1562
1211
|
var discardElement = H.discardElement = function discardElement(element) {
|
|
1563
1212
|
var garbageBin = H.garbageBin;
|
|
@@ -1588,45 +1237,6 @@ var discardElement = H.discardElement = function discardElement(element) {
|
|
|
1588
1237
|
var correctFloat = H.correctFloat = function correctFloat(num, prec) {
|
|
1589
1238
|
return parseFloat(num.toPrecision(prec || 14));
|
|
1590
1239
|
};
|
|
1591
|
-
/**
|
|
1592
|
-
* Set the global animation to either a given value, or fall back to the given
|
|
1593
|
-
* chart's animation option.
|
|
1594
|
-
*
|
|
1595
|
-
* @function Highcharts.setAnimation
|
|
1596
|
-
*
|
|
1597
|
-
* @param {boolean|Highcharts.AnimationOptionsObject|undefined} animation
|
|
1598
|
-
* The animation object.
|
|
1599
|
-
*
|
|
1600
|
-
* @param {Highcharts.Chart} chart
|
|
1601
|
-
* The chart instance.
|
|
1602
|
-
*
|
|
1603
|
-
* @return {void}
|
|
1604
|
-
*
|
|
1605
|
-
* @todo
|
|
1606
|
-
* This function always relates to a chart, and sets a property on the renderer,
|
|
1607
|
-
* so it should be moved to the SVGRenderer.
|
|
1608
|
-
*/
|
|
1609
|
-
var setAnimation = H.setAnimation = function setAnimation(animation, chart) {
|
|
1610
|
-
chart.renderer.globalAnimation = pick(animation, chart.options.chart.animation, true);
|
|
1611
|
-
};
|
|
1612
|
-
/**
|
|
1613
|
-
* Get the animation in object form, where a disabled animation is always
|
|
1614
|
-
* returned as `{ duration: 0 }`.
|
|
1615
|
-
*
|
|
1616
|
-
* @function Highcharts.animObject
|
|
1617
|
-
*
|
|
1618
|
-
* @param {boolean|Highcharts.AnimationOptionsObject} [animation=0]
|
|
1619
|
-
* An animation setting. Can be an object with duration, complete and
|
|
1620
|
-
* easing properties, or a boolean to enable or disable.
|
|
1621
|
-
*
|
|
1622
|
-
* @return {Highcharts.AnimationOptionsObject}
|
|
1623
|
-
* An object with at least a duration property.
|
|
1624
|
-
*/
|
|
1625
|
-
var animObject = H.animObject = function animObject(animation) {
|
|
1626
|
-
return isObject(animation) ?
|
|
1627
|
-
merge(animation) :
|
|
1628
|
-
{ duration: animation ? 500 : 0 };
|
|
1629
|
-
};
|
|
1630
1240
|
/**
|
|
1631
1241
|
* The time unit lookup
|
|
1632
1242
|
*
|
|
@@ -1861,6 +1471,7 @@ var getStyle = H.getStyle = function (el, prop, toInt) {
|
|
|
1861
1471
|
* The index within the array, or -1 if not found.
|
|
1862
1472
|
*/
|
|
1863
1473
|
var inArray = H.inArray = function (item, arr, fromIndex) {
|
|
1474
|
+
error(32, false, void 0, { 'Highcharts.inArray': 'use Array.indexOf' });
|
|
1864
1475
|
return arr.indexOf(item, fromIndex);
|
|
1865
1476
|
};
|
|
1866
1477
|
/* eslint-disable valid-jsdoc */
|
|
@@ -1906,7 +1517,10 @@ var find = H.find = Array.prototype.find ?
|
|
|
1906
1517
|
* @return {Array<string>}
|
|
1907
1518
|
* An array of strings that represents all the properties.
|
|
1908
1519
|
*/
|
|
1909
|
-
H.keys =
|
|
1520
|
+
H.keys = function (obj) {
|
|
1521
|
+
error(32, false, void 0, { 'Highcharts.keys': 'use Object.keys' });
|
|
1522
|
+
return Object.keys(obj);
|
|
1523
|
+
};
|
|
1910
1524
|
/**
|
|
1911
1525
|
* Get the element's offset position, corrected for `overflow: auto`.
|
|
1912
1526
|
*
|
|
@@ -1930,36 +1544,6 @@ var offset = H.offset = function offset(el) {
|
|
|
1930
1544
|
(docElem.clientLeft || 0)
|
|
1931
1545
|
};
|
|
1932
1546
|
};
|
|
1933
|
-
/**
|
|
1934
|
-
* Stop running animation.
|
|
1935
|
-
*
|
|
1936
|
-
* @function Highcharts.stop
|
|
1937
|
-
*
|
|
1938
|
-
* @param {Highcharts.SVGElement} el
|
|
1939
|
-
* The SVGElement to stop animation on.
|
|
1940
|
-
*
|
|
1941
|
-
* @param {string} [prop]
|
|
1942
|
-
* The property to stop animating. If given, the stop method will stop a
|
|
1943
|
-
* single property from animating, while others continue.
|
|
1944
|
-
*
|
|
1945
|
-
* @return {void}
|
|
1946
|
-
*
|
|
1947
|
-
* @todo
|
|
1948
|
-
* A possible extension to this would be to stop a single property, when
|
|
1949
|
-
* we want to continue animating others. Then assign the prop to the timer
|
|
1950
|
-
* in the Fx.run method, and check for the prop here. This would be an
|
|
1951
|
-
* improvement in all cases where we stop the animation from .attr. Instead of
|
|
1952
|
-
* stopping everything, we can just stop the actual attributes we're setting.
|
|
1953
|
-
*/
|
|
1954
|
-
var stop = H.stop = function (el, prop) {
|
|
1955
|
-
var i = H.timers.length;
|
|
1956
|
-
// Remove timers related to this element (#4519)
|
|
1957
|
-
while (i--) {
|
|
1958
|
-
if (H.timers[i].elem === el && (!prop || prop === H.timers[i].prop)) {
|
|
1959
|
-
H.timers[i].stopped = true; // #4667
|
|
1960
|
-
}
|
|
1961
|
-
}
|
|
1962
|
-
};
|
|
1963
1547
|
/* eslint-disable valid-jsdoc */
|
|
1964
1548
|
/**
|
|
1965
1549
|
* Iterate over object key pairs in an object.
|
|
@@ -2086,6 +1670,8 @@ objectEach({
|
|
|
2086
1670
|
some: 'some'
|
|
2087
1671
|
}, function (val, key) {
|
|
2088
1672
|
H[key] = function (arr) {
|
|
1673
|
+
var _a;
|
|
1674
|
+
error(32, false, void 0, (_a = {}, _a["Highcharts." + key] = "use Array." + val, _a));
|
|
2089
1675
|
return Array.prototype[val].apply(arr, [].slice.call(arguments, 1));
|
|
2090
1676
|
};
|
|
2091
1677
|
});
|
|
@@ -2204,7 +1790,7 @@ var removeEvent = H.removeEvent = function removeEvent(el, type, fn) {
|
|
|
2204
1790
|
else {
|
|
2205
1791
|
types = eventCollection;
|
|
2206
1792
|
}
|
|
2207
|
-
objectEach(types, function (
|
|
1793
|
+
objectEach(types, function (_val, n) {
|
|
2208
1794
|
if (eventCollection[n]) {
|
|
2209
1795
|
len = eventCollection[n].length;
|
|
2210
1796
|
while (len--) {
|
|
@@ -2323,113 +1909,7 @@ var fireEvent = H.fireEvent = function (el, type, eventArguments, defaultFunctio
|
|
|
2323
1909
|
defaultFunction.call(el, eventArguments);
|
|
2324
1910
|
}
|
|
2325
1911
|
};
|
|
2326
|
-
|
|
2327
|
-
* The global animate method, which uses Fx to create individual animators.
|
|
2328
|
-
*
|
|
2329
|
-
* @function Highcharts.animate
|
|
2330
|
-
*
|
|
2331
|
-
* @param {Highcharts.HTMLDOMElement|Highcharts.SVGElement} el
|
|
2332
|
-
* The element to animate.
|
|
2333
|
-
*
|
|
2334
|
-
* @param {Highcharts.CSSObject|Highcharts.SVGAttributes} params
|
|
2335
|
-
* An object containing key-value pairs of the properties to animate.
|
|
2336
|
-
* Supports numeric as pixel-based CSS properties for HTML objects and
|
|
2337
|
-
* attributes for SVGElements.
|
|
2338
|
-
*
|
|
2339
|
-
* @param {Highcharts.AnimationOptionsObject} [opt]
|
|
2340
|
-
* Animation options.
|
|
2341
|
-
*
|
|
2342
|
-
* @return {void}
|
|
2343
|
-
*/
|
|
2344
|
-
var animate = H.animate = function (el, params, opt) {
|
|
2345
|
-
var start, unit = '', end, fx, args;
|
|
2346
|
-
if (!isObject(opt)) { // Number or undefined/null
|
|
2347
|
-
args = arguments;
|
|
2348
|
-
opt = {
|
|
2349
|
-
duration: args[2],
|
|
2350
|
-
easing: args[3],
|
|
2351
|
-
complete: args[4]
|
|
2352
|
-
};
|
|
2353
|
-
}
|
|
2354
|
-
if (!isNumber(opt.duration)) {
|
|
2355
|
-
opt.duration = 400;
|
|
2356
|
-
}
|
|
2357
|
-
opt.easing = typeof opt.easing === 'function' ?
|
|
2358
|
-
opt.easing :
|
|
2359
|
-
(Math[opt.easing] || Math.easeInOutSine);
|
|
2360
|
-
opt.curAnim = merge(params);
|
|
2361
|
-
objectEach(params, function (val, prop) {
|
|
2362
|
-
// Stop current running animation of this property
|
|
2363
|
-
stop(el, prop);
|
|
2364
|
-
fx = new Fx(el, opt, prop);
|
|
2365
|
-
end = null;
|
|
2366
|
-
if (prop === 'd' && isArray(params.d)) {
|
|
2367
|
-
fx.paths = fx.initPath(el, el.pathArray, params.d);
|
|
2368
|
-
fx.toD = params.d;
|
|
2369
|
-
start = 0;
|
|
2370
|
-
end = 1;
|
|
2371
|
-
}
|
|
2372
|
-
else if (el.attr) {
|
|
2373
|
-
start = el.attr(prop);
|
|
2374
|
-
}
|
|
2375
|
-
else {
|
|
2376
|
-
start = parseFloat(getStyle(el, prop)) || 0;
|
|
2377
|
-
if (prop !== 'opacity') {
|
|
2378
|
-
unit = 'px';
|
|
2379
|
-
}
|
|
2380
|
-
}
|
|
2381
|
-
if (!end) {
|
|
2382
|
-
end = val;
|
|
2383
|
-
}
|
|
2384
|
-
if (end && end.match && end.match('px')) {
|
|
2385
|
-
end = end.replace(/px/g, ''); // #4351
|
|
2386
|
-
}
|
|
2387
|
-
fx.run(start, end, unit);
|
|
2388
|
-
});
|
|
2389
|
-
};
|
|
2390
|
-
/**
|
|
2391
|
-
* Factory to create new series prototypes.
|
|
2392
|
-
*
|
|
2393
|
-
* @function Highcharts.seriesType
|
|
2394
|
-
*
|
|
2395
|
-
* @param {string} type
|
|
2396
|
-
* The series type name.
|
|
2397
|
-
*
|
|
2398
|
-
* @param {string} parent
|
|
2399
|
-
* The parent series type name. Use `line` to inherit from the basic
|
|
2400
|
-
* {@link Series} object.
|
|
2401
|
-
*
|
|
2402
|
-
* @param {Highcharts.SeriesOptionsType|Highcharts.Dictionary<*>} options
|
|
2403
|
-
* The additional default options that are merged with the parent's
|
|
2404
|
-
* options.
|
|
2405
|
-
*
|
|
2406
|
-
* @param {Highcharts.Dictionary<*>} [props]
|
|
2407
|
-
* The properties (functions and primitives) to set on the new
|
|
2408
|
-
* prototype.
|
|
2409
|
-
*
|
|
2410
|
-
* @param {Highcharts.Dictionary<*>} [pointProps]
|
|
2411
|
-
* Members for a series-specific extension of the {@link Point}
|
|
2412
|
-
* prototype if needed.
|
|
2413
|
-
*
|
|
2414
|
-
* @return {Highcharts.Series}
|
|
2415
|
-
* The newly created prototype as extended from {@link Series} or its
|
|
2416
|
-
* derivatives.
|
|
2417
|
-
*/
|
|
2418
|
-
// docs: add to API + extending Highcharts
|
|
2419
|
-
var seriesType = H.seriesType = function (type, parent, options, props, pointProps) {
|
|
2420
|
-
var defaultOptions = H.getOptions(), seriesTypes = H.seriesTypes;
|
|
2421
|
-
// Merge the options
|
|
2422
|
-
defaultOptions.plotOptions[type] = merge(defaultOptions.plotOptions[parent], options);
|
|
2423
|
-
// Create the class
|
|
2424
|
-
seriesTypes[type] = extendClass(seriesTypes[parent] || function () { }, props);
|
|
2425
|
-
seriesTypes[type].prototype.type = type;
|
|
2426
|
-
// Create the point class if needed
|
|
2427
|
-
if (pointProps) {
|
|
2428
|
-
seriesTypes[type].prototype.pointClass =
|
|
2429
|
-
extendClass(H.Point, pointProps);
|
|
2430
|
-
}
|
|
2431
|
-
return seriesTypes[type];
|
|
2432
|
-
};
|
|
1912
|
+
var serialMode;
|
|
2433
1913
|
/**
|
|
2434
1914
|
* Get a unique key for using in internal element id's and pointers. The key is
|
|
2435
1915
|
* composed of a random hash specific to this Highcharts instance, and a
|
|
@@ -2441,17 +1921,81 @@ var seriesType = H.seriesType = function (type, parent, options, props, pointPro
|
|
|
2441
1921
|
* @function Highcharts.uniqueKey
|
|
2442
1922
|
*
|
|
2443
1923
|
* @return {string}
|
|
2444
|
-
*
|
|
1924
|
+
* A unique key.
|
|
2445
1925
|
*/
|
|
2446
1926
|
var uniqueKey = H.uniqueKey = (function () {
|
|
2447
|
-
var
|
|
1927
|
+
var hash = Math.random().toString(36).substring(2, 9) + '-';
|
|
1928
|
+
var id = 0;
|
|
2448
1929
|
return function () {
|
|
2449
|
-
return 'highcharts-' +
|
|
1930
|
+
return 'highcharts-' + (serialMode ? '' : hash) + id++;
|
|
2450
1931
|
};
|
|
2451
1932
|
}());
|
|
1933
|
+
/**
|
|
1934
|
+
* Activates a serial mode for element IDs provided by
|
|
1935
|
+
* {@link Highcharts.uniqueKey}. This mode can be used in automated tests, where
|
|
1936
|
+
* a simple comparison of two rendered SVG graphics is needed.
|
|
1937
|
+
*
|
|
1938
|
+
* **Note:** This is only for testing purposes and will break functionality in
|
|
1939
|
+
* webpages with multiple charts.
|
|
1940
|
+
*
|
|
1941
|
+
* @example
|
|
1942
|
+
* if (
|
|
1943
|
+
* process &&
|
|
1944
|
+
* process.env.NODE_ENV === 'development'
|
|
1945
|
+
* ) {
|
|
1946
|
+
* Highcharts.useSerialIds(true);
|
|
1947
|
+
* }
|
|
1948
|
+
*
|
|
1949
|
+
* @function Highcharts.useSerialIds
|
|
1950
|
+
*
|
|
1951
|
+
* @param {boolean} [mode]
|
|
1952
|
+
* Changes the state of serial mode.
|
|
1953
|
+
*
|
|
1954
|
+
* @return {boolean|undefined}
|
|
1955
|
+
* State of the serial mode.
|
|
1956
|
+
*/
|
|
1957
|
+
var useSerialIds = H.useSerialIds = function (mode) {
|
|
1958
|
+
return (serialMode = pick(mode, serialMode));
|
|
1959
|
+
};
|
|
2452
1960
|
var isFunction = H.isFunction = function (obj) {
|
|
2453
1961
|
return typeof obj === 'function';
|
|
2454
1962
|
};
|
|
1963
|
+
/**
|
|
1964
|
+
* Get the updated default options. Until 3.0.7, merely exposing defaultOptions
|
|
1965
|
+
* for outside modules wasn't enough because the setOptions method created a new
|
|
1966
|
+
* object.
|
|
1967
|
+
*
|
|
1968
|
+
* @function Highcharts.getOptions
|
|
1969
|
+
*
|
|
1970
|
+
* @return {Highcharts.Options}
|
|
1971
|
+
*/
|
|
1972
|
+
var getOptions = H.getOptions = function () {
|
|
1973
|
+
return H.defaultOptions;
|
|
1974
|
+
};
|
|
1975
|
+
/**
|
|
1976
|
+
* Merge the default options with custom options and return the new options
|
|
1977
|
+
* structure. Commonly used for defining reusable templates.
|
|
1978
|
+
*
|
|
1979
|
+
* @sample highcharts/global/useutc-false Setting a global option
|
|
1980
|
+
* @sample highcharts/members/setoptions Applying a global theme
|
|
1981
|
+
*
|
|
1982
|
+
* @function Highcharts.setOptions
|
|
1983
|
+
*
|
|
1984
|
+
* @param {Highcharts.Options} options
|
|
1985
|
+
* The new custom chart options.
|
|
1986
|
+
*
|
|
1987
|
+
* @return {Highcharts.Options}
|
|
1988
|
+
* Updated options.
|
|
1989
|
+
*/
|
|
1990
|
+
var setOptions = H.setOptions = function (options) {
|
|
1991
|
+
// Copy in the default options
|
|
1992
|
+
H.defaultOptions = merge(true, H.defaultOptions, options);
|
|
1993
|
+
// Update the time object
|
|
1994
|
+
if (options.time || options.global) {
|
|
1995
|
+
H.time.update(merge(H.defaultOptions.global, H.defaultOptions.time, options.global, options.time));
|
|
1996
|
+
}
|
|
1997
|
+
return H.defaultOptions;
|
|
1998
|
+
};
|
|
2455
1999
|
// Register Highcharts as a plugin in jQuery
|
|
2456
2000
|
if (win.jQuery) {
|
|
2457
2001
|
/**
|
|
@@ -2506,10 +2050,7 @@ if (win.jQuery) {
|
|
|
2506
2050
|
}
|
|
2507
2051
|
// TODO use named exports when supported.
|
|
2508
2052
|
var utilitiesModule = {
|
|
2509
|
-
Fx: H.Fx,
|
|
2510
2053
|
addEvent: addEvent,
|
|
2511
|
-
animate: animate,
|
|
2512
|
-
animObject: animObject,
|
|
2513
2054
|
arrayMax: arrayMax,
|
|
2514
2055
|
arrayMin: arrayMin,
|
|
2515
2056
|
attr: attr,
|
|
@@ -2530,6 +2071,7 @@ var utilitiesModule = {
|
|
|
2530
2071
|
format: format,
|
|
2531
2072
|
getMagnitude: getMagnitude,
|
|
2532
2073
|
getNestedProperty: getNestedProperty,
|
|
2074
|
+
getOptions: getOptions,
|
|
2533
2075
|
getStyle: getStyle,
|
|
2534
2076
|
inArray: inArray,
|
|
2535
2077
|
isArray: isArray,
|
|
@@ -2549,14 +2091,13 @@ var utilitiesModule = {
|
|
|
2549
2091
|
pInt: pInt,
|
|
2550
2092
|
relativeLength: relativeLength,
|
|
2551
2093
|
removeEvent: removeEvent,
|
|
2552
|
-
|
|
2553
|
-
setAnimation: setAnimation,
|
|
2094
|
+
setOptions: setOptions,
|
|
2554
2095
|
splat: splat,
|
|
2555
2096
|
stableSort: stableSort,
|
|
2556
|
-
stop: stop,
|
|
2557
2097
|
syncTimeout: syncTimeout,
|
|
2558
2098
|
timeUnits: timeUnits,
|
|
2559
2099
|
uniqueKey: uniqueKey,
|
|
2100
|
+
useSerialIds: useSerialIds,
|
|
2560
2101
|
wrap: wrap
|
|
2561
2102
|
};
|
|
2562
2103
|
export default utilitiesModule;
|