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
|
@@ -14,6 +14,11 @@
|
|
|
14
14
|
/* global document */
|
|
15
15
|
'use strict';
|
|
16
16
|
/* eslint-disable no-extend-native */
|
|
17
|
+
if (!String.prototype.trim) {
|
|
18
|
+
String.prototype.trim = function () {
|
|
19
|
+
return this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, '');
|
|
20
|
+
};
|
|
21
|
+
}
|
|
17
22
|
if (!Array.prototype.forEach) {
|
|
18
23
|
Array.prototype.forEach = function (fn, thisArg) {
|
|
19
24
|
var i = 0, len = this.length;
|
package/es-modules/{modules/overlapping-datalabels.src.js → Extensions/OverlappingDataLabels.js}
RENAMED
|
@@ -11,11 +11,13 @@
|
|
|
11
11
|
*
|
|
12
12
|
* */
|
|
13
13
|
'use strict';
|
|
14
|
-
import
|
|
15
|
-
import U from '../
|
|
16
|
-
var addEvent = U.addEvent, fireEvent = U.fireEvent, isArray = U.isArray, objectEach = U.objectEach, pick = U.pick;
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
import Chart from '../Core/Chart/Chart.js';
|
|
15
|
+
import U from '../Core/Utilities.js';
|
|
16
|
+
var addEvent = U.addEvent, fireEvent = U.fireEvent, isArray = U.isArray, isNumber = U.isNumber, objectEach = U.objectEach, pick = U.pick;
|
|
17
|
+
/**
|
|
18
|
+
* Internal type
|
|
19
|
+
* @private
|
|
20
|
+
*/
|
|
19
21
|
/* eslint-disable no-invalid-this */
|
|
20
22
|
// Collect potensial overlapping data labels. Stack labels probably don't need
|
|
21
23
|
// to be considered because they are usually accompanied by data labels that lie
|
|
@@ -67,15 +69,14 @@ addEvent(Chart, 'render', function collectAndHide() {
|
|
|
67
69
|
* @function Highcharts.Chart#hideOverlappingLabels
|
|
68
70
|
* @param {Array<Highcharts.SVGElement>} labels
|
|
69
71
|
* Rendered data labels
|
|
70
|
-
* @return {void}
|
|
71
72
|
* @requires modules/overlapping-datalabels
|
|
72
73
|
*/
|
|
73
74
|
Chart.prototype.hideOverlappingLabels = function (labels) {
|
|
74
75
|
var chart = this, len = labels.length, ren = chart.renderer, label, i, j, label1, label2, box1, box2, isLabelAffected = false, isIntersectRect = function (box1, box2) {
|
|
75
|
-
return !(box2.x
|
|
76
|
-
box2.x + box2.width
|
|
77
|
-
box2.y
|
|
78
|
-
box2.y + box2.height
|
|
76
|
+
return !(box2.x >= box1.x + box1.width ||
|
|
77
|
+
box2.x + box2.width <= box1.x ||
|
|
78
|
+
box2.y >= box1.y + box1.height ||
|
|
79
|
+
box2.y + box2.height <= box1.y);
|
|
79
80
|
},
|
|
80
81
|
// Get the box with its position inside the chart, as opposed to getBBox
|
|
81
82
|
// that only reports the position relative to the parent.
|
|
@@ -109,11 +110,12 @@ Chart.prototype.hideOverlappingLabels = function (labels) {
|
|
|
109
110
|
if (alignValue) {
|
|
110
111
|
xOffset = +alignValue * boxWidth;
|
|
111
112
|
}
|
|
112
|
-
else if (Math.round(label.x) !== label.translateX) {
|
|
113
|
+
else if (isNumber(label.x) && Math.round(label.x) !== label.translateX) {
|
|
113
114
|
xOffset = label.x - label.translateX;
|
|
114
115
|
}
|
|
115
116
|
return {
|
|
116
|
-
x: pos.x + (parent.translateX || 0) + padding -
|
|
117
|
+
x: pos.x + (parent.translateX || 0) + padding -
|
|
118
|
+
(xOffset || 0),
|
|
117
119
|
y: pos.y + (parent.translateY || 0) + padding -
|
|
118
120
|
lineHeightCorrection,
|
|
119
121
|
width: label.width - 2 * padding,
|
|
@@ -169,7 +171,6 @@ Chart.prototype.hideOverlappingLabels = function (labels) {
|
|
|
169
171
|
label.css({ pointerEvents: newOpacity ? 'auto' : 'none' });
|
|
170
172
|
}
|
|
171
173
|
label.visibility = newOpacity ? 'inherit' : 'hidden';
|
|
172
|
-
label.placed = !!newOpacity;
|
|
173
174
|
};
|
|
174
175
|
isLabelAffected = true;
|
|
175
176
|
// Animate or set the opacity
|
|
@@ -8,16 +8,17 @@
|
|
|
8
8
|
*
|
|
9
9
|
* */
|
|
10
10
|
'use strict';
|
|
11
|
-
import
|
|
11
|
+
import Chart from '../Core/Chart/Chart.js';
|
|
12
|
+
import H from '../Core/Globals.js';
|
|
13
|
+
import Pointer from '../Core/Pointer.js';
|
|
14
|
+
import U from '../Core/Utilities.js';
|
|
15
|
+
var addEvent = U.addEvent, extend = U.extend, merge = U.merge, pick = U.pick, splat = U.splat;
|
|
12
16
|
/**
|
|
13
17
|
* @typedef {"arc"|"circle"|"solid"} Highcharts.PaneBackgroundShapeValue
|
|
14
18
|
*/
|
|
15
|
-
import '../
|
|
16
|
-
import U from '../parts/Utilities.js';
|
|
17
|
-
var addEvent = U.addEvent, extend = U.extend, merge = U.merge, pick = U.pick, splat = U.splat;
|
|
18
|
-
var CenteredSeriesMixin = H.CenteredSeriesMixin;
|
|
19
|
+
import centeredSeriesMixin from '../Mixins/CenteredSeries.js';
|
|
19
20
|
/* eslint-disable no-invalid-this, valid-jsdoc */
|
|
20
|
-
|
|
21
|
+
Chart.prototype.collectionsWithUpdate.push('pane');
|
|
21
22
|
/**
|
|
22
23
|
* The Pane object allows options that are common to a set of X and Y axes.
|
|
23
24
|
*
|
|
@@ -301,7 +302,7 @@ var Pane = /** @class */ (function () {
|
|
|
301
302
|
Pane.prototype.updateCenter = function (axis) {
|
|
302
303
|
this.center = (axis ||
|
|
303
304
|
this.axis ||
|
|
304
|
-
{}).center =
|
|
305
|
+
{}).center = centeredSeriesMixin.getCenter.call(this);
|
|
305
306
|
};
|
|
306
307
|
/**
|
|
307
308
|
* Destroy the pane item
|
|
@@ -352,9 +353,9 @@ var Pane = /** @class */ (function () {
|
|
|
352
353
|
* @return {boolean}
|
|
353
354
|
*/
|
|
354
355
|
function isInsidePane(x, y, center) {
|
|
355
|
-
return Math.sqrt(Math.pow(x - center[0], 2) + Math.pow(y - center[1], 2))
|
|
356
|
+
return Math.sqrt(Math.pow(x - center[0], 2) + Math.pow(y - center[1], 2)) <= center[2] / 2;
|
|
356
357
|
}
|
|
357
|
-
|
|
358
|
+
Chart.prototype.getHoverPane = function (eventArgs) {
|
|
358
359
|
var chart = this;
|
|
359
360
|
var hoverPane;
|
|
360
361
|
if (eventArgs) {
|
|
@@ -367,13 +368,13 @@ H.Chart.prototype.getHoverPane = function (eventArgs) {
|
|
|
367
368
|
}
|
|
368
369
|
return hoverPane;
|
|
369
370
|
};
|
|
370
|
-
addEvent(
|
|
371
|
+
addEvent(Chart, 'afterIsInsidePlot', function (e) {
|
|
371
372
|
var chart = this;
|
|
372
373
|
if (chart.polar) {
|
|
373
374
|
e.isInsidePlot = chart.pane.some(function (pane) { return isInsidePane(e.x, e.y, pane.center); });
|
|
374
375
|
}
|
|
375
376
|
});
|
|
376
|
-
addEvent(
|
|
377
|
+
addEvent(Pointer, 'beforeGetHoverData', function (eventArgs) {
|
|
377
378
|
var chart = this.chart;
|
|
378
379
|
if (chart.polar) {
|
|
379
380
|
// Find pane we are currently hovering over.
|
|
@@ -387,7 +388,7 @@ addEvent(H.Pointer, 'beforeGetHoverData', function (eventArgs) {
|
|
|
387
388
|
};
|
|
388
389
|
}
|
|
389
390
|
});
|
|
390
|
-
addEvent(
|
|
391
|
+
addEvent(Pointer, 'afterGetHoverData', function (eventArgs) {
|
|
391
392
|
var chart = this.chart;
|
|
392
393
|
if (eventArgs.hoverPoint &&
|
|
393
394
|
eventArgs.hoverPoint.plotX &&
|
package/es-modules/{modules/parallel-coordinates.src.js → Extensions/ParallelCoordinates.js}
RENAMED
|
@@ -10,14 +10,14 @@
|
|
|
10
10
|
*
|
|
11
11
|
* */
|
|
12
12
|
'use strict';
|
|
13
|
-
import Axis from '../
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
import '../
|
|
13
|
+
import Axis from '../Core/Axis/Axis.js';
|
|
14
|
+
import Chart from '../Core/Chart/Chart.js';
|
|
15
|
+
import H from '../Core/Globals.js';
|
|
16
|
+
import U from '../Core/Utilities.js';
|
|
17
|
+
var addEvent = U.addEvent, arrayMax = U.arrayMax, arrayMin = U.arrayMin, defined = U.defined, erase = U.erase, extend = U.extend, format = U.format, merge = U.merge, pick = U.pick, setOptions = U.setOptions, splat = U.splat, wrap = U.wrap;
|
|
18
|
+
import '../Series/LineSeries.js';
|
|
19
19
|
// Extensions for parallel coordinates plot.
|
|
20
|
-
var
|
|
20
|
+
var ChartProto = Chart.prototype;
|
|
21
21
|
var defaultXAxisOptions = {
|
|
22
22
|
lineWidth: 0,
|
|
23
23
|
tickLength: 0,
|
|
@@ -105,141 +105,14 @@ var defaultParallelOptions = {
|
|
|
105
105
|
offset: 0
|
|
106
106
|
}
|
|
107
107
|
};
|
|
108
|
-
|
|
108
|
+
setOptions({
|
|
109
109
|
chart: defaultParallelOptions
|
|
110
110
|
});
|
|
111
|
-
/**
|
|
112
|
-
* Support for parallel axes.
|
|
113
|
-
* @private
|
|
114
|
-
* @class
|
|
115
|
-
*/
|
|
116
|
-
var ParallelAxisAdditions = /** @class */ (function () {
|
|
117
|
-
/* *
|
|
118
|
-
*
|
|
119
|
-
* Constructors
|
|
120
|
-
*
|
|
121
|
-
* */
|
|
122
|
-
function ParallelAxisAdditions(axis) {
|
|
123
|
-
this.axis = axis;
|
|
124
|
-
}
|
|
125
|
-
/* *
|
|
126
|
-
*
|
|
127
|
-
* Functions
|
|
128
|
-
*
|
|
129
|
-
* */
|
|
130
|
-
/**
|
|
131
|
-
* Set predefined left+width and top+height (inverted) for yAxes.
|
|
132
|
-
* This method modifies options param.
|
|
133
|
-
*
|
|
134
|
-
* @private
|
|
135
|
-
*
|
|
136
|
-
* @param {Array<string>} axisPosition
|
|
137
|
-
* ['left', 'width', 'height', 'top'] or ['top', 'height', 'width', 'left']
|
|
138
|
-
* for an inverted chart.
|
|
139
|
-
*
|
|
140
|
-
* @param {Highcharts.AxisOptions} options
|
|
141
|
-
* Axis options.
|
|
142
|
-
*/
|
|
143
|
-
ParallelAxisAdditions.prototype.setPosition = function (axisPosition, options) {
|
|
144
|
-
var parallel = this;
|
|
145
|
-
var axis = parallel.axis;
|
|
146
|
-
var chart = axis.chart;
|
|
147
|
-
var fraction = ((parallel.position || 0) + 0.5) /
|
|
148
|
-
(chart.parallelInfo.counter + 1);
|
|
149
|
-
if (chart.polar) {
|
|
150
|
-
options.angle = 360 * fraction;
|
|
151
|
-
}
|
|
152
|
-
else {
|
|
153
|
-
options[axisPosition[0]] = 100 * fraction + '%';
|
|
154
|
-
axis[axisPosition[1]] =
|
|
155
|
-
options[axisPosition[1]] = 0;
|
|
156
|
-
// In case of chart.update(inverted), remove old options:
|
|
157
|
-
axis[axisPosition[2]] =
|
|
158
|
-
options[axisPosition[2]] = null;
|
|
159
|
-
axis[axisPosition[3]] =
|
|
160
|
-
options[axisPosition[3]] = null;
|
|
161
|
-
}
|
|
162
|
-
};
|
|
163
|
-
return ParallelAxisAdditions;
|
|
164
|
-
}());
|
|
165
|
-
/**
|
|
166
|
-
* Axis with parallel support.
|
|
167
|
-
* @private
|
|
168
|
-
* @class
|
|
169
|
-
*/
|
|
170
|
-
var ParallelAxis = /** @class */ (function () {
|
|
171
|
-
function ParallelAxis() {
|
|
172
|
-
}
|
|
173
|
-
/**
|
|
174
|
-
* Adds support for parallel axes.
|
|
175
|
-
* @private
|
|
176
|
-
*/
|
|
177
|
-
ParallelAxis.compose = function (AxisClass) {
|
|
178
|
-
/* eslint-disable no-invalid-this */
|
|
179
|
-
// On update, keep parallel additions.
|
|
180
|
-
AxisClass.keepProps.push('parallel');
|
|
181
|
-
// Add parallel addition
|
|
182
|
-
addEvent(AxisClass, 'init', function () {
|
|
183
|
-
var axis = this;
|
|
184
|
-
if (!axis.parallelCoordinates) {
|
|
185
|
-
axis.parallelCoordinates = new ParallelAxisAdditions(axis);
|
|
186
|
-
}
|
|
187
|
-
});
|
|
188
|
-
// Update default options with predefined for a parallel coords.
|
|
189
|
-
addEvent(AxisClass, 'afterSetOptions', function (e) {
|
|
190
|
-
var axis = this;
|
|
191
|
-
var chart = axis.chart;
|
|
192
|
-
var parallelCoordinates = axis.parallelCoordinates;
|
|
193
|
-
var axisPosition = ['left', 'width', 'height', 'top'];
|
|
194
|
-
if (chart.hasParallelCoordinates) {
|
|
195
|
-
if (chart.inverted) {
|
|
196
|
-
axisPosition = axisPosition.reverse();
|
|
197
|
-
}
|
|
198
|
-
if (axis.isXAxis) {
|
|
199
|
-
axis.options = merge(axis.options, defaultXAxisOptions, e.userOptions);
|
|
200
|
-
}
|
|
201
|
-
else {
|
|
202
|
-
axis.options = merge(axis.options, axis.chart.options.chart.parallelAxes, e.userOptions);
|
|
203
|
-
parallelCoordinates.position = pick(parallelCoordinates.position, chart.yAxis.length);
|
|
204
|
-
parallelCoordinates.setPosition(axisPosition, axis.options);
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
});
|
|
208
|
-
// Each axis should gather extremes from points on a particular position
|
|
209
|
-
// in series.data. Not like the default one, which gathers extremes from
|
|
210
|
-
// all series bind to this axis. Consider using series.points instead of
|
|
211
|
-
// series.yData.
|
|
212
|
-
addEvent(AxisClass, 'getSeriesExtremes', function (e) {
|
|
213
|
-
var axis = this;
|
|
214
|
-
var chart = axis.chart;
|
|
215
|
-
var parallelCoordinates = axis.parallelCoordinates;
|
|
216
|
-
if (!parallelCoordinates) {
|
|
217
|
-
return;
|
|
218
|
-
}
|
|
219
|
-
if (chart && chart.hasParallelCoordinates && !axis.isXAxis) {
|
|
220
|
-
var index = parallelCoordinates.position, currentPoints = [];
|
|
221
|
-
axis.series.forEach(function (series) {
|
|
222
|
-
if (series.visible &&
|
|
223
|
-
defined(series.yData[index])) {
|
|
224
|
-
// We need to use push() beacause of null points
|
|
225
|
-
currentPoints.push(series.yData[index]);
|
|
226
|
-
}
|
|
227
|
-
});
|
|
228
|
-
axis.dataMin = arrayMin(currentPoints);
|
|
229
|
-
axis.dataMax = arrayMax(currentPoints);
|
|
230
|
-
e.preventDefault();
|
|
231
|
-
}
|
|
232
|
-
});
|
|
233
|
-
/* eslint-enable no-invalid-this */
|
|
234
|
-
};
|
|
235
|
-
return ParallelAxis;
|
|
236
|
-
}());
|
|
237
|
-
ParallelAxis.compose(Axis);
|
|
238
|
-
export default ParallelAxis;
|
|
239
111
|
/* eslint-disable no-invalid-this */
|
|
240
112
|
// Initialize parallelCoordinates
|
|
241
113
|
addEvent(Chart, 'init', function (e) {
|
|
242
|
-
var options = e.args[0],
|
|
114
|
+
var options = e.args[0], defaultYAxis = splat(options.yAxis || {}), newYAxes = [];
|
|
115
|
+
var yAxisLength = defaultYAxis.length;
|
|
243
116
|
/**
|
|
244
117
|
* Flag used in parallel coordinates plot to check if chart has ||-coords
|
|
245
118
|
* (parallel coords).
|
|
@@ -275,7 +148,7 @@ addEvent(Chart, 'init', function (e) {
|
|
|
275
148
|
}
|
|
276
149
|
}
|
|
277
150
|
});
|
|
278
|
-
options.yAxis =
|
|
151
|
+
options.yAxis = defaultYAxis.concat(newYAxes);
|
|
279
152
|
options.xAxis = merge(defaultXAxisOptions, // docs
|
|
280
153
|
splat(options.xAxis || {})[0]);
|
|
281
154
|
}
|
|
@@ -449,3 +322,132 @@ function addFormattedValue(proceed) {
|
|
|
449
322
|
['line', 'spline'].forEach(function (seriesName) {
|
|
450
323
|
wrap(H.seriesTypes[seriesName].prototype.pointClass.prototype, 'getLabelConfig', addFormattedValue);
|
|
451
324
|
});
|
|
325
|
+
/**
|
|
326
|
+
* Support for parallel axes.
|
|
327
|
+
* @private
|
|
328
|
+
* @class
|
|
329
|
+
*/
|
|
330
|
+
var ParallelAxisAdditions = /** @class */ (function () {
|
|
331
|
+
/* *
|
|
332
|
+
*
|
|
333
|
+
* Constructors
|
|
334
|
+
*
|
|
335
|
+
* */
|
|
336
|
+
function ParallelAxisAdditions(axis) {
|
|
337
|
+
this.axis = axis;
|
|
338
|
+
}
|
|
339
|
+
/* *
|
|
340
|
+
*
|
|
341
|
+
* Functions
|
|
342
|
+
*
|
|
343
|
+
* */
|
|
344
|
+
/**
|
|
345
|
+
* Set predefined left+width and top+height (inverted) for yAxes.
|
|
346
|
+
* This method modifies options param.
|
|
347
|
+
*
|
|
348
|
+
* @private
|
|
349
|
+
*
|
|
350
|
+
* @param {Array<string>} axisPosition
|
|
351
|
+
* ['left', 'width', 'height', 'top'] or ['top', 'height', 'width', 'left']
|
|
352
|
+
* for an inverted chart.
|
|
353
|
+
*
|
|
354
|
+
* @param {Highcharts.AxisOptions} options
|
|
355
|
+
* Axis options.
|
|
356
|
+
*/
|
|
357
|
+
ParallelAxisAdditions.prototype.setPosition = function (axisPosition, options) {
|
|
358
|
+
var parallel = this, axis = parallel.axis, chart = axis.chart, fraction = ((parallel.position || 0) + 0.5) / (chart.parallelInfo.counter + 1);
|
|
359
|
+
if (chart.polar) {
|
|
360
|
+
options.angle = 360 * fraction;
|
|
361
|
+
}
|
|
362
|
+
else {
|
|
363
|
+
options[axisPosition[0]] = 100 * fraction + '%';
|
|
364
|
+
axis[axisPosition[1]] = options[axisPosition[1]] = 0;
|
|
365
|
+
// In case of chart.update(inverted), remove old options:
|
|
366
|
+
axis[axisPosition[2]] = options[axisPosition[2]] = null;
|
|
367
|
+
axis[axisPosition[3]] = options[axisPosition[3]] = null;
|
|
368
|
+
}
|
|
369
|
+
};
|
|
370
|
+
return ParallelAxisAdditions;
|
|
371
|
+
}());
|
|
372
|
+
/**
|
|
373
|
+
* Axis with parallel support.
|
|
374
|
+
* @private
|
|
375
|
+
*/
|
|
376
|
+
var ParallelAxis;
|
|
377
|
+
(function (ParallelAxis) {
|
|
378
|
+
/**
|
|
379
|
+
* Adds support for parallel axes.
|
|
380
|
+
* @private
|
|
381
|
+
*/
|
|
382
|
+
function compose(AxisClass) {
|
|
383
|
+
/* eslint-disable no-invalid-this */
|
|
384
|
+
// On update, keep parallel additions.
|
|
385
|
+
AxisClass.keepProps.push('parallel');
|
|
386
|
+
addEvent(AxisClass, 'init', onInit);
|
|
387
|
+
addEvent(AxisClass, 'afterSetOptions', onAfterSetOptions);
|
|
388
|
+
addEvent(AxisClass, 'getSeriesExtremes', onGetSeriesExtremes);
|
|
389
|
+
}
|
|
390
|
+
ParallelAxis.compose = compose;
|
|
391
|
+
/**
|
|
392
|
+
* Update default options with predefined for a parallel coords.
|
|
393
|
+
* @private
|
|
394
|
+
*/
|
|
395
|
+
function onAfterSetOptions(e) {
|
|
396
|
+
var axis = this, chart = axis.chart, parallelCoordinates = axis.parallelCoordinates;
|
|
397
|
+
var axisPosition = ['left', 'width', 'height', 'top'];
|
|
398
|
+
if (chart.hasParallelCoordinates) {
|
|
399
|
+
if (chart.inverted) {
|
|
400
|
+
axisPosition = axisPosition.reverse();
|
|
401
|
+
}
|
|
402
|
+
if (axis.isXAxis) {
|
|
403
|
+
axis.options = merge(axis.options, defaultXAxisOptions, e.userOptions);
|
|
404
|
+
}
|
|
405
|
+
else {
|
|
406
|
+
var axisIndex = chart.yAxis.indexOf(axis); // #13608
|
|
407
|
+
axis.options = merge(axis.options, axis.chart.options.chart.parallelAxes, e.userOptions);
|
|
408
|
+
parallelCoordinates.position = pick(parallelCoordinates.position, axisIndex >= 0 ? axisIndex : chart.yAxis.length);
|
|
409
|
+
parallelCoordinates.setPosition(axisPosition, axis.options);
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
/**
|
|
414
|
+
* Each axis should gather extremes from points on a particular position in
|
|
415
|
+
* series.data. Not like the default one, which gathers extremes from all
|
|
416
|
+
* series bind to this axis. Consider using series.points instead of
|
|
417
|
+
* series.yData.
|
|
418
|
+
* @private
|
|
419
|
+
*/
|
|
420
|
+
function onGetSeriesExtremes(e) {
|
|
421
|
+
var axis = this;
|
|
422
|
+
var chart = axis.chart;
|
|
423
|
+
var parallelCoordinates = axis.parallelCoordinates;
|
|
424
|
+
if (!parallelCoordinates) {
|
|
425
|
+
return;
|
|
426
|
+
}
|
|
427
|
+
if (chart && chart.hasParallelCoordinates && !axis.isXAxis) {
|
|
428
|
+
var index = parallelCoordinates.position, currentPoints = [];
|
|
429
|
+
axis.series.forEach(function (series) {
|
|
430
|
+
if (series.visible &&
|
|
431
|
+
defined(series.yData[index])) {
|
|
432
|
+
// We need to use push() beacause of null points
|
|
433
|
+
currentPoints.push(series.yData[index]);
|
|
434
|
+
}
|
|
435
|
+
});
|
|
436
|
+
axis.dataMin = arrayMin(currentPoints);
|
|
437
|
+
axis.dataMax = arrayMax(currentPoints);
|
|
438
|
+
e.preventDefault();
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
/**
|
|
442
|
+
* Add parallel addition
|
|
443
|
+
* @private
|
|
444
|
+
*/
|
|
445
|
+
function onInit() {
|
|
446
|
+
var axis = this;
|
|
447
|
+
if (!axis.parallelCoordinates) {
|
|
448
|
+
axis.parallelCoordinates = new ParallelAxisAdditions(axis);
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
})(ParallelAxis || (ParallelAxis = {}));
|
|
452
|
+
ParallelAxis.compose(Axis);
|
|
453
|
+
export default ParallelAxis;
|
|
@@ -11,7 +11,15 @@
|
|
|
11
11
|
*
|
|
12
12
|
* */
|
|
13
13
|
'use strict';
|
|
14
|
-
import
|
|
14
|
+
import A from '../Core/Animation/AnimationUtilities.js';
|
|
15
|
+
var animObject = A.animObject;
|
|
16
|
+
import Chart from '../Core/Chart/Chart.js';
|
|
17
|
+
import H from '../Core/Globals.js';
|
|
18
|
+
import Point from '../Core/Series/Point.js';
|
|
19
|
+
import SVGRenderer from '../Core/Renderer/SVG/SVGRenderer.js';
|
|
20
|
+
import U from '../Core/Utilities.js';
|
|
21
|
+
var addEvent = U.addEvent, erase = U.erase, getOptions = U.getOptions, merge = U.merge, pick = U.pick, removeEvent = U.removeEvent, wrap = U.wrap;
|
|
22
|
+
import '../Series/LineSeries.js';
|
|
15
23
|
/**
|
|
16
24
|
* Pattern options
|
|
17
25
|
*
|
|
@@ -110,7 +118,7 @@ import H from '../parts/Globals.js';
|
|
|
110
118
|
*/ /**
|
|
111
119
|
* Animation options for the image pattern loading.
|
|
112
120
|
* @name Highcharts.PatternObject#animation
|
|
113
|
-
* @type {boolean|Highcharts.AnimationOptionsObject
|
|
121
|
+
* @type {boolean|Partial<Highcharts.AnimationOptionsObject>|undefined}
|
|
114
122
|
*/ /**
|
|
115
123
|
* Optionally an index referencing which pattern to use. Highcharts adds
|
|
116
124
|
* 10 default patterns to the `Highcharts.patterns` array. Additional
|
|
@@ -120,12 +128,9 @@ import H from '../parts/Globals.js';
|
|
|
120
128
|
* @type {number|undefined}
|
|
121
129
|
*/
|
|
122
130
|
''; // detach doclets above
|
|
123
|
-
import Point from '../parts/Point.js';
|
|
124
|
-
import U from '../parts/Utilities.js';
|
|
125
|
-
var addEvent = U.addEvent, animObject = U.animObject, erase = U.erase, merge = U.merge, pick = U.pick, removeEvent = U.removeEvent, wrap = U.wrap;
|
|
126
131
|
// Add the predefined patterns
|
|
127
|
-
|
|
128
|
-
var patterns = [], colors =
|
|
132
|
+
var patterns = (function () {
|
|
133
|
+
var patterns = [], colors = getOptions().colors;
|
|
129
134
|
[
|
|
130
135
|
'M 0 0 L 10 10 M 9 -1 L 11 1 M -1 9 L 1 11',
|
|
131
136
|
'M 0 10 L 10 0 M -1 1 L 1 -1 M 9 11 L 11 9',
|
|
@@ -267,7 +272,7 @@ Point.prototype.calculatePatternDimensions = function (pattern) {
|
|
|
267
272
|
* @param {Highcharts.PatternObject} options
|
|
268
273
|
* The pattern options.
|
|
269
274
|
*
|
|
270
|
-
* @param {boolean|Highcharts.AnimationOptionsObject} [animation]
|
|
275
|
+
* @param {boolean|Partial<Highcharts.AnimationOptionsObject>} [animation]
|
|
271
276
|
* The animation options.
|
|
272
277
|
*
|
|
273
278
|
* @return {Highcharts.SVGElement|undefined}
|
|
@@ -275,7 +280,7 @@ Point.prototype.calculatePatternDimensions = function (pattern) {
|
|
|
275
280
|
*
|
|
276
281
|
* @requires modules/pattern-fill
|
|
277
282
|
*/
|
|
278
|
-
|
|
283
|
+
SVGRenderer.prototype.addPattern = function (options, animation) {
|
|
279
284
|
var pattern, animate = pick(animation, true), animationOptions = animObject(animate), path, defaultSize = 32, width = options.width || options._width || defaultSize, height = (options.height || options._height || defaultSize), color = options.color || '#343434', id = options.id, ren = this, rect = function (fill) {
|
|
280
285
|
ren.rect(0, 0, width, height)
|
|
281
286
|
.attr({ fill: fill })
|
|
@@ -286,6 +291,9 @@ H.SVGRenderer.prototype.addPattern = function (options, animation) {
|
|
|
286
291
|
id = 'highcharts-pattern-' + this.idCounter + '-' + (this.chartIndex || 0);
|
|
287
292
|
++this.idCounter;
|
|
288
293
|
}
|
|
294
|
+
if (this.forExport) {
|
|
295
|
+
id += '-export';
|
|
296
|
+
}
|
|
289
297
|
// Do nothing if ID already exists
|
|
290
298
|
this.defIds = this.defIds || [];
|
|
291
299
|
if (this.defIds.indexOf(id) > -1) {
|
|
@@ -423,12 +431,12 @@ addEvent(Point, 'afterInit', function () {
|
|
|
423
431
|
}
|
|
424
432
|
});
|
|
425
433
|
// Add functionality to SVG renderer to handle patterns as complex colors
|
|
426
|
-
addEvent(
|
|
434
|
+
addEvent(SVGRenderer, 'complexColor', function (args) {
|
|
427
435
|
var color = args.args[0], prop = args.args[1], element = args.args[2], chartIndex = (this.chartIndex || 0);
|
|
428
436
|
var pattern = color.pattern, value = '#343434';
|
|
429
437
|
// Handle patternIndex
|
|
430
|
-
if (typeof color.patternIndex !== 'undefined' &&
|
|
431
|
-
pattern =
|
|
438
|
+
if (typeof color.patternIndex !== 'undefined' && patterns) {
|
|
439
|
+
pattern = patterns[color.patternIndex];
|
|
432
440
|
}
|
|
433
441
|
// Skip and call default if there is no pattern
|
|
434
442
|
if (!pattern) {
|
|
@@ -466,7 +474,7 @@ addEvent(H.SVGRenderer, 'complexColor', function (args) {
|
|
|
466
474
|
// Add it. This function does nothing if an element with this ID
|
|
467
475
|
// already exists.
|
|
468
476
|
this.addPattern(pattern, !this.forExport && pick(pattern.animation, this.globalAnimation, { duration: 100 }));
|
|
469
|
-
value = "url(" + this.url + "#" + pattern.id + ")";
|
|
477
|
+
value = "url(" + this.url + "#" + (pattern.id + (this.forExport ? '-export' : '')) + ")";
|
|
470
478
|
}
|
|
471
479
|
else {
|
|
472
480
|
// Not a full pattern definition, just add color
|
|
@@ -483,7 +491,7 @@ addEvent(H.SVGRenderer, 'complexColor', function (args) {
|
|
|
483
491
|
});
|
|
484
492
|
// When animation is used, we have to recalculate pattern dimensions after
|
|
485
493
|
// resize, as the bounding boxes are not available until then.
|
|
486
|
-
addEvent(
|
|
494
|
+
addEvent(Chart, 'endResize', function () {
|
|
487
495
|
if ((this.renderer && this.renderer.defIds || []).filter(function (id) {
|
|
488
496
|
return (id &&
|
|
489
497
|
id.indexOf &&
|
|
@@ -509,7 +517,7 @@ addEvent(H.Chart, 'endResize', function () {
|
|
|
509
517
|
});
|
|
510
518
|
// Add a garbage collector to delete old patterns with autogenerated hashes that
|
|
511
519
|
// are no longer being referenced.
|
|
512
|
-
addEvent(
|
|
520
|
+
addEvent(Chart, 'redraw', function () {
|
|
513
521
|
var usedIds = {}, renderer = this.renderer,
|
|
514
522
|
// Get the autocomputed patterns - these are the ones we might delete
|
|
515
523
|
patterns = (renderer.defIds || []).filter(function (pattern) {
|
|
@@ -8,16 +8,19 @@
|
|
|
8
8
|
*
|
|
9
9
|
* */
|
|
10
10
|
'use strict';
|
|
11
|
-
import
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
import
|
|
15
|
-
import '
|
|
16
|
-
import '../
|
|
17
|
-
import '../
|
|
11
|
+
import A from '../Core/Animation/AnimationUtilities.js';
|
|
12
|
+
var animObject = A.animObject;
|
|
13
|
+
import Chart from '../Core/Chart/Chart.js';
|
|
14
|
+
import H from '../Core/Globals.js';
|
|
15
|
+
import Pane from './Pane.js';
|
|
16
|
+
import Pointer from '../Core/Pointer.js';
|
|
17
|
+
import SVGRenderer from '../Core/Renderer/SVG/SVGRenderer.js';
|
|
18
|
+
import U from '../Core/Utilities.js';
|
|
19
|
+
var addEvent = U.addEvent, defined = U.defined, find = U.find, isNumber = U.isNumber, pick = U.pick, splat = U.splat, uniqueKey = U.uniqueKey, wrap = U.wrap;
|
|
20
|
+
import '../Series/LineSeries.js';
|
|
18
21
|
// Extensions for polar charts. Additionally, much of the geometry required for
|
|
19
22
|
// polar charts is gathered in RadialAxes.js.
|
|
20
|
-
var
|
|
23
|
+
var Series = H.Series, seriesTypes = H.seriesTypes, seriesProto = Series.prototype, pointerProto = Pointer.prototype, colProto, arearangeProto;
|
|
21
24
|
/* eslint-disable no-invalid-this, valid-jsdoc */
|
|
22
25
|
/**
|
|
23
26
|
* Search a k-d tree by the point angle, used for shared tooltips in polar
|
|
@@ -676,7 +679,7 @@ wrap(pointerProto, 'getCoordinates', function (proceed, e) {
|
|
|
676
679
|
}
|
|
677
680
|
return ret;
|
|
678
681
|
});
|
|
679
|
-
|
|
682
|
+
SVGRenderer.prototype.clipCircle = function (x, y, r, innerR) {
|
|
680
683
|
var wrapper, id = uniqueKey(), clipPath = this.createElement('clipPath').attr({
|
|
681
684
|
id: id
|
|
682
685
|
}).add(this.defs);
|
|
@@ -687,7 +690,7 @@ H.SVGRenderer.prototype.clipCircle = function (x, y, r, innerR) {
|
|
|
687
690
|
wrapper.clipPath = clipPath;
|
|
688
691
|
return wrapper;
|
|
689
692
|
};
|
|
690
|
-
addEvent(
|
|
693
|
+
addEvent(Chart, 'getAxes', function () {
|
|
691
694
|
if (!this.pane) {
|
|
692
695
|
this.pane = [];
|
|
693
696
|
}
|
|
@@ -696,7 +699,7 @@ addEvent(H.Chart, 'getAxes', function () {
|
|
|
696
699
|
paneOptions, this);
|
|
697
700
|
}, this);
|
|
698
701
|
});
|
|
699
|
-
addEvent(
|
|
702
|
+
addEvent(Chart, 'afterDrawChartBox', function () {
|
|
700
703
|
this.pane.forEach(function (pane) {
|
|
701
704
|
pane.render();
|
|
702
705
|
});
|
|
@@ -716,7 +719,7 @@ addEvent(H.Series, 'afterInit', function () {
|
|
|
716
719
|
* responsiveness and chart.update.
|
|
717
720
|
* @private
|
|
718
721
|
*/
|
|
719
|
-
wrap(
|
|
722
|
+
wrap(Chart.prototype, 'get', function (proceed, id) {
|
|
720
723
|
return find(this.pane, function (pane) {
|
|
721
724
|
return pane.options.id === id;
|
|
722
725
|
}) || proceed.call(this, id);
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
9
9
|
*/
|
|
10
10
|
'use strict';
|
|
11
|
-
import H from '../
|
|
12
|
-
import U from '../
|
|
11
|
+
import H from '../Core/Globals.js';
|
|
12
|
+
import U from '../Core/Utilities.js';
|
|
13
13
|
var addEvent = U.addEvent, isArray = U.isArray, merge = U.merge;
|
|
14
14
|
/**
|
|
15
15
|
* The line marks the last price from visible range of points.
|
|
@@ -112,7 +112,9 @@ addEvent(H.Series, 'afterRender', function () {
|
|
|
112
112
|
yAxis.drawCrosshair(null, lastPoint);
|
|
113
113
|
if (yAxis.cross) {
|
|
114
114
|
serie.lastVisiblePrice = yAxis.cross;
|
|
115
|
-
|
|
115
|
+
if (typeof lastPoint.y === 'number') {
|
|
116
|
+
serie.lastVisiblePrice.y = lastPoint.y;
|
|
117
|
+
}
|
|
116
118
|
}
|
|
117
119
|
serie.crossLabel = yAxis.crossLabel;
|
|
118
120
|
}
|