highcharts 8.1.0 → 8.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bower.json +1 -1
- package/css/highcharts.css +12 -0
- package/css/highcharts.scss +12 -0
- package/css/themes/dark-unica.css +12 -0
- package/css/themes/grid-light.css +12 -0
- package/css/themes/sand-signika.css +12 -0
- package/es-modules/{modules/accessibility/a11y-i18n.js → Accessibility/A11yI18n.js} +2 -2
- package/es-modules/{modules/accessibility/accessibility.js → Accessibility/Accessibility.js} +24 -21
- package/es-modules/{modules/accessibility → Accessibility}/AccessibilityComponent.js +73 -17
- package/es-modules/{modules/accessibility/components → Accessibility/Components}/AnnotationsA11y.js +2 -4
- package/es-modules/{modules/accessibility/components → Accessibility/Components}/ContainerComponent.js +8 -9
- package/es-modules/{modules/accessibility/components → Accessibility/Components}/InfoRegionsComponent.js +9 -12
- package/es-modules/{modules/accessibility/components → Accessibility/Components}/LegendComponent.js +60 -22
- package/es-modules/{modules/accessibility/components → Accessibility/Components}/MenuComponent.js +4 -11
- package/es-modules/{modules/accessibility/components → Accessibility/Components}/RangeSelectorComponent.js +8 -7
- package/es-modules/Accessibility/Components/SeriesComponent/ForcedMarkers.js +171 -0
- package/es-modules/{modules/accessibility/components → Accessibility/Components}/SeriesComponent/NewDataAnnouncer.js +8 -7
- package/es-modules/{modules/accessibility/components → Accessibility/Components}/SeriesComponent/SeriesComponent.js +5 -5
- package/es-modules/{modules/accessibility/components → Accessibility/Components}/SeriesComponent/SeriesDescriber.js +6 -6
- package/es-modules/{modules/accessibility/components → Accessibility/Components}/SeriesComponent/SeriesKeyboardNavigation.js +22 -20
- package/es-modules/{modules/accessibility/components → Accessibility/Components}/ZoomComponent.js +9 -8
- package/es-modules/{modules/accessibility/focusBorder.js → Accessibility/FocusBorder.js} +13 -10
- package/es-modules/{modules/accessibility/high-contrast-mode.js → Accessibility/HighContrastMode.js} +3 -2
- package/es-modules/{modules/accessibility/high-contrast-theme.js → Accessibility/HighContrastTheme.js} +0 -0
- package/es-modules/{modules/accessibility → Accessibility}/KeyboardNavigation.js +35 -22
- package/es-modules/{modules/accessibility → Accessibility}/KeyboardNavigationHandler.js +1 -1
- package/es-modules/{modules/accessibility/options/deprecatedOptions.js → Accessibility/Options/DeprecatedOptions.js} +10 -20
- package/es-modules/{modules/accessibility/options/langOptions.js → Accessibility/Options/LangOptions.js} +1 -1
- package/es-modules/{modules/accessibility/options/options.js → Accessibility/Options/Options.js} +1 -2
- package/es-modules/{modules/accessibility/utils → Accessibility/Utils}/Announcer.js +2 -2
- package/es-modules/{modules/accessibility/utils/chartUtilities.js → Accessibility/Utils/ChartUtilities.js} +8 -9
- package/es-modules/{modules/accessibility/utils → Accessibility/Utils}/DOMElementProvider.js +5 -5
- package/es-modules/{modules/accessibility/utils → Accessibility/Utils}/EventProvider.js +2 -2
- package/es-modules/{modules/accessibility/utils/htmlUtilities.js → Accessibility/Utils/HTMLUtilities.js} +3 -4
- package/es-modules/Core/Animation/AnimationUtilities.js +193 -0
- package/es-modules/Core/Animation/Fx.js +378 -0
- package/es-modules/{parts → Core/Axis}/Axis.js +153 -89
- package/es-modules/{parts-3d → Core/Axis}/Axis3D.js +12 -7
- package/es-modules/{modules/broken-axis.src.js → Core/Axis/BrokenAxis.js} +6 -8
- package/es-modules/{parts-map → Core/Axis}/ColorAxis.js +28 -31
- package/es-modules/{parts → Core/Axis}/DateTimeAxis.js +1 -1
- package/es-modules/{parts-gantt → Core/Axis}/GridAxis.js +136 -39
- package/es-modules/{parts-more → Core/Axis}/HiddenAxis.js +0 -0
- package/es-modules/{parts → Core/Axis}/LogarithmicAxis.js +1 -1
- package/es-modules/{parts-map → Core/Axis}/MapAxis.js +2 -2
- package/es-modules/{parts → Core/Axis}/NavigatorAxis.js +2 -2
- package/es-modules/{parts → Core/Axis}/OrdinalAxis.js +241 -224
- package/es-modules/{parts → Core/Axis}/PlotLineOrBand.js +24 -15
- package/es-modules/{parts-more → Core/Axis}/RadialAxis.js +34 -27
- package/es-modules/{parts → Core/Axis}/ScrollbarAxis.js +2 -2
- package/es-modules/{parts → Core/Axis}/StackingAxis.js +11 -2
- package/es-modules/{parts → Core/Axis}/Tick.js +14 -14
- package/es-modules/{parts-3d → Core/Axis}/Tick3D.js +1 -1
- package/es-modules/{parts-gantt → Core/Axis}/TreeGridAxis.js +81 -15
- package/es-modules/{parts-gantt → Core/Axis}/TreeGridTick.js +1 -1
- package/es-modules/{parts-3d → Core/Axis}/ZAxis.js +2 -2
- package/es-modules/{parts → Core/Chart}/Chart.js +225 -227
- package/es-modules/Core/Chart/Chart3D.js +1674 -0
- package/es-modules/{parts-gantt → Core/Chart}/GanttChart.js +13 -12
- package/es-modules/{parts → Core/Chart}/StockChart.js +26 -25
- package/es-modules/Core/Color/Color.js +419 -0
- package/es-modules/Core/Color/ColorType.js +9 -0
- package/es-modules/{parts → Core}/Color.js +1 -1
- package/es-modules/{parts → Core}/Dynamics.js +91 -61
- package/es-modules/{parts → Core}/Globals.js +9 -1
- package/es-modules/{parts → Core}/Interaction.js +27 -20
- package/es-modules/{parts → Core}/Legend.js +26 -11
- package/es-modules/{parts → Core}/MSPointer.js +2 -2
- package/es-modules/{parts → Core}/Navigator.js +24 -14
- package/es-modules/{parts → Core}/Options.js +157 -69
- package/es-modules/{parts → Core}/Pointer.js +50 -27
- package/es-modules/Core/Renderer/DOMElementType.js +9 -0
- package/es-modules/Core/Renderer/HTML/HTMLElement.js +220 -0
- package/es-modules/{parts/Html.js → Core/Renderer/HTML/HTMLRenderer.js} +16 -207
- package/es-modules/{parts → Core/Renderer/SVG}/SVGElement.js +186 -32
- package/es-modules/Core/Renderer/SVG/SVGLabel.js +410 -0
- package/es-modules/{parts/SvgRenderer.js → Core/Renderer/SVG/SVGRenderer.js} +426 -886
- package/es-modules/{parts-3d/SVGRenderer.js → Core/Renderer/SVG/SVGRenderer3D.js} +31 -23
- package/es-modules/{parts → Core}/Responsive.js +24 -14
- package/es-modules/{parts → Core}/Scrollbar.js +5 -4
- package/es-modules/Core/Series/BaseSeries.js +157 -0
- package/es-modules/{parts/Series.js → Core/Series/CartesianSeries.js} +119 -55
- package/es-modules/{parts → Core/Series}/DataLabels.js +40 -36
- package/es-modules/{parts → Core/Series}/Point.js +8 -10
- package/es-modules/Core/Series/Series.js +158 -0
- package/es-modules/{parts-3d/Series.js → Core/Series/Series3D.js} +5 -3
- package/es-modules/{parts → Core}/Time.js +11 -133
- package/es-modules/{parts → Core}/Tooltip.js +30 -27
- package/es-modules/{parts → Core}/Utilities.js +103 -562
- package/es-modules/{mixins/ajax.js → Extensions/Ajax.js} +9 -4
- package/es-modules/{annotations/annotations.src.js → Extensions/Annotations/Annotations.js} +901 -709
- package/es-modules/{annotations → Extensions/Annotations}/ControlPoint.js +2 -2
- package/es-modules/Extensions/Annotations/Controllables/ControllableCircle.js +117 -0
- package/es-modules/Extensions/Annotations/Controllables/ControllableImage.js +111 -0
- package/es-modules/{annotations/controllable → Extensions/Annotations/Controllables}/ControllableLabel.js +186 -146
- package/es-modules/{annotations/controllable → Extensions/Annotations/Controllables}/ControllablePath.js +81 -42
- package/es-modules/Extensions/Annotations/Controllables/ControllableRect.js +121 -0
- package/es-modules/{annotations/controllable/controllableMixin.js → Extensions/Annotations/Mixins/ControllableMixin.js} +8 -9
- package/es-modules/{annotations/eventEmitterMixin.js → Extensions/Annotations/Mixins/EventEmitterMixin.js} +7 -7
- package/es-modules/{annotations/controllable/markerMixin.js → Extensions/Annotations/Mixins/MarkerMixin.js} +10 -8
- package/es-modules/{annotations → Extensions/Annotations}/MockPoint.js +6 -6
- package/es-modules/{annotations/navigationBindings.js → Extensions/Annotations/NavigationBindings.js} +27 -16
- package/es-modules/{annotations/popup.js → Extensions/Annotations/Popup.js} +9 -9
- package/es-modules/{annotations/types → Extensions/Annotations/Types}/BasicAnnotation.js +68 -20
- package/es-modules/{annotations/types → Extensions/Annotations/Types}/CrookedLine.js +46 -19
- package/es-modules/{annotations/types → Extensions/Annotations/Types}/ElliottWave.js +33 -12
- package/es-modules/{annotations/types → Extensions/Annotations/Types}/Fibonacci.js +54 -22
- package/es-modules/Extensions/Annotations/Types/InfinityLine.js +147 -0
- package/es-modules/{annotations/types → Extensions/Annotations/Types}/Measure.js +82 -52
- package/es-modules/{annotations/types → Extensions/Annotations/Types}/Pitchfork.js +69 -32
- package/es-modules/{annotations/types → Extensions/Annotations/Types}/Tunnel.js +58 -30
- package/es-modules/{annotations/types → Extensions/Annotations/Types}/VerticalLine.js +64 -33
- package/es-modules/{parts-gantt → Extensions}/ArrowSymbols.js +9 -11
- package/es-modules/{modules/boost/boost.js → Extensions/Boost/Boost.js} +8 -8
- package/es-modules/{modules/boost/boost-attach.js → Extensions/Boost/BoostAttach.js} +10 -8
- package/es-modules/{modules/boost/boost-init.js → Extensions/Boost/BoostInit.js} +7 -6
- package/es-modules/{modules/boost/boost-options.js → Extensions/Boost/BoostOptions.js} +1 -1
- package/es-modules/{modules/boost/boost-overrides.js → Extensions/Boost/BoostOverrides.js} +14 -11
- package/es-modules/{modules/boost/boost-utils.js → Extensions/Boost/BoostUtils.js} +6 -6
- package/es-modules/{modules/boost/boostable-map.js → Extensions/Boost/BoostableMap.js} +1 -1
- package/es-modules/{modules/boost/boostables.js → Extensions/Boost/Boostables.js} +0 -0
- package/es-modules/{modules/boost/named-colors.js → Extensions/Boost/NamedColors.js} +1 -1
- package/es-modules/{modules/boost/wgl-renderer.js → Extensions/Boost/WGLRenderer.js} +9 -9
- package/es-modules/{modules/boost/wgl-shader.js → Extensions/Boost/WGLShader.js} +3 -4
- package/es-modules/{modules/boost/wgl-vbuffer.js → Extensions/Boost/WGLVBuffer.js} +0 -0
- package/es-modules/{modules/boost-canvas.src.js → Extensions/BoostCanvas.js} +13 -9
- package/es-modules/{parts-gantt/CurrentDateIndicator.js → Extensions/CurrentDateIndication.js} +5 -7
- package/es-modules/{modules/data.src.js → Extensions/Data.js} +14 -16
- package/es-modules/{parts → Extensions}/DataGrouping.js +12 -9
- package/es-modules/{modules/debugger.src.js → Extensions/Debugger.js} +6 -6
- package/es-modules/{mixins/download-url.js → Extensions/DownloadURL.js} +15 -7
- package/es-modules/{modules/drag-panes.src.js → Extensions/DragPanes.js} +6 -6
- package/es-modules/{modules/draggable-points.src.js → Extensions/DraggablePoints.js} +21 -32
- package/es-modules/{modules/drilldown.src.js → Extensions/Drilldown.js} +64 -43
- package/es-modules/{modules/export-data.src.js → Extensions/ExportData.js} +126 -26
- package/es-modules/{modules/exporting.src.js → Extensions/Exporting.js} +26 -12
- package/es-modules/{modules/full-screen.src.js → Extensions/FullScreen.js} +5 -3
- package/es-modules/{parts-map → Extensions}/GeoJSON.js +112 -7
- package/es-modules/{modules/marker-clusters.src.js → Extensions/MarkerClusters.js} +29 -39
- package/es-modules/{parts-3d/Math.js → Extensions/Math3D.js} +17 -9
- package/es-modules/{modules/no-data-to-display.src.js → Extensions/NoDataToDisplay.js} +14 -15
- package/es-modules/{modules/offline-exporting.src.js → Extensions/OfflineExporting.js} +39 -35
- package/es-modules/{modules/oldie.src.js → Extensions/Oldie/Oldie.js} +19 -12
- package/es-modules/{parts-3d → Extensions/Oldie}/VMLAxis3D.js +1 -1
- package/es-modules/Extensions/Oldie/VMLRenderer3D.js +46 -0
- package/es-modules/{modules/oldie-polyfills.src.js → Extensions/OldiePolyfills.js} +5 -0
- package/es-modules/{modules/overlapping-datalabels.src.js → Extensions/OverlappingDataLabels.js} +14 -13
- package/es-modules/{parts-more → Extensions}/Pane.js +13 -12
- package/es-modules/{modules/parallel-coordinates.src.js → Extensions/ParallelCoordinates.js} +140 -138
- package/es-modules/{modules/pattern-fill.src.js → Extensions/PatternFill.js} +23 -15
- package/es-modules/{parts-more → Extensions}/Polar.js +15 -12
- package/es-modules/{modules/price-indicator.src.js → Extensions/PriceIndication.js} +5 -3
- package/es-modules/{parts → Extensions}/RangeSelector.js +112 -79
- package/es-modules/{parts → Extensions}/ScrollablePlotArea.js +19 -9
- package/es-modules/{modules/series-label.src.js → Extensions/SeriesLabel.js} +14 -10
- package/es-modules/{modules/sonification/chartSonify.js → Extensions/Sonification/ChartSonify.js} +212 -41
- package/es-modules/{modules/sonification → Extensions/Sonification}/Earcon.js +3 -7
- package/es-modules/{modules/sonification → Extensions/Sonification}/Instrument.js +35 -11
- package/es-modules/{modules/sonification/instrumentDefinitions.js → Extensions/Sonification/InstrumentDefinitions.js} +1 -1
- package/es-modules/{modules/sonification/musicalFrequencies.js → Extensions/Sonification/MusicalFrequencies.js} +0 -0
- package/es-modules/Extensions/Sonification/Options.js +34 -0
- package/es-modules/{modules/sonification/pointSonify.js → Extensions/Sonification/PointSonify.js} +43 -28
- package/es-modules/{modules/sonification/sonification.js → Extensions/Sonification/Sonification.js} +16 -12
- package/es-modules/{modules/sonification → Extensions/Sonification}/Timeline.js +25 -6
- package/es-modules/{modules/sonification/utilities.js → Extensions/Sonification/Utilities.js} +8 -5
- package/es-modules/{parts → Extensions}/Stacking.js +57 -18
- package/es-modules/{modules/static-scale.src.js → Extensions/StaticScale.js} +4 -4
- package/es-modules/{themes/avocado.js → Extensions/Themes/Avocado.js} +5 -4
- package/es-modules/{themes/dark-blue.js → Extensions/Themes/DarkBlue.js} +4 -2
- package/es-modules/{themes/dark-green.js → Extensions/Themes/DarkGreen.js} +4 -2
- package/es-modules/{themes/dark-unica.js → Extensions/Themes/DarkUnica.js} +6 -6
- package/es-modules/{themes/gray.js → Extensions/Themes/Gray.js} +5 -4
- package/es-modules/{themes/grid.js → Extensions/Themes/Grid.js} +4 -2
- package/es-modules/{themes/grid-light.js → Extensions/Themes/GridLight.js} +4 -2
- package/es-modules/{themes/high-contrast-dark.js → Extensions/Themes/HighContrastDark.js} +5 -4
- package/es-modules/{themes/high-contrast-light.js → Extensions/Themes/HighContrastLight.js} +4 -2
- package/es-modules/{themes/sand-signika.js → Extensions/Themes/SandSignika.js} +4 -2
- package/es-modules/{themes/skies.js → Extensions/Themes/Skies.js} +5 -3
- package/es-modules/{themes/sunset.js → Extensions/Themes/Sunset.js} +5 -4
- package/es-modules/{parts-gantt/Pathfinder.js → Gantt/Connection.js} +41 -284
- package/es-modules/Gantt/Pathfinder.js +816 -0
- package/es-modules/Gantt/PathfinderAlgorithms.js +659 -0
- package/es-modules/{parts-gantt → Gantt}/Tree.js +1 -1
- package/es-modules/{parts-map → Maps}/Map.js +24 -15
- package/es-modules/{parts-map → Maps}/MapNavigation.js +4 -5
- package/es-modules/{parts-map → Maps}/MapPointer.js +2 -4
- package/es-modules/{mixins/centered-series.js → Mixins/CenteredSeries.js} +7 -5
- package/es-modules/{parts-map/ColorMapSeriesMixin.js → Mixins/ColorMapSeries.js} +10 -6
- package/es-modules/{parts-map/ColorSeriesMixin.js → Mixins/ColorSeries.js} +12 -4
- package/es-modules/{mixins/derived-series.js → Mixins/DerivedSeries.js} +3 -3
- package/es-modules/{mixins/draw-point.js → Mixins/DrawPoint.js} +6 -1
- package/es-modules/{mixins/geometry.js → Mixins/Geometry.js} +0 -0
- package/es-modules/{mixins/geometry-circles.js → Mixins/GeometryCircles.js} +2 -2
- package/es-modules/{mixins/indicator-required.js → Mixins/IndicatorRequired.js} +1 -1
- package/es-modules/{mixins/legend-symbol.js → Mixins/LegendSymbol.js} +6 -10
- package/es-modules/{mixins/multipe-lines.js → Mixins/MultipleLines.js} +2 -2
- package/es-modules/{mixins/navigation.js → Mixins/Navigation.js} +0 -0
- package/es-modules/{mixins/nelder-mead.js → Mixins/NelderMead.js} +2 -2
- package/es-modules/{mixins/nodes.js → Mixins/Nodes.js} +7 -5
- package/es-modules/{mixins/on-series.js → Mixins/OnSeries.js} +3 -2
- package/es-modules/{mixins/polygon.js → Mixins/Polygon.js} +2 -2
- package/es-modules/{mixins/reduce-array.js → Mixins/ReduceArray.js} +1 -1
- package/es-modules/{mixins/tree-series.js → Mixins/TreeSeries.js} +2 -2
- package/es-modules/{parts-more → Series}/AreaRangeSeries.js +75 -38
- package/es-modules/{parts → Series}/AreaSeries.js +43 -25
- package/es-modules/{parts-more → Series}/AreaSplineRangeSeries.js +47 -10
- package/es-modules/{parts → Series}/AreaSplineSeries.js +49 -10
- package/es-modules/{parts → Series}/BarSeries.js +2 -5
- package/es-modules/{modules/bellcurve.src.js → Series/BellcurveSeries.js} +47 -7
- package/es-modules/{parts-more → Series}/BoxPlotSeries.js +18 -13
- package/es-modules/{parts-more → Series/Bubble}/BubbleLegend.js +11 -9
- package/es-modules/{parts-more → Series/Bubble}/BubbleSeries.js +25 -27
- package/es-modules/{modules/bullet.src.js → Series/BulletSeries.js} +9 -8
- package/es-modules/{parts → Series}/CandlestickSeries.js +11 -8
- package/es-modules/{parts-3d/Column.js → Series/Column3DSeries.js} +108 -28
- package/es-modules/{parts-more → Series}/ColumnPyramidSeries.js +9 -9
- package/es-modules/{parts-more → Series}/ColumnRangeSeries.js +21 -18
- package/es-modules/{parts → Series}/ColumnSeries.js +119 -41
- package/es-modules/{modules/cylinder.src.js → Series/CylinderSeries.js} +14 -14
- package/es-modules/{modules/dependency-wheel.src.js → Series/DependencyWheelSeries.js} +14 -12
- package/es-modules/{modules/dotplot.src.js → Series/DotplotSeries.js} +7 -15
- package/es-modules/{modules/dumbbell.src.js → Series/DumbbellSeries.js} +16 -10
- package/es-modules/{parts-more → Series}/ErrorBarSeries.js +8 -8
- package/es-modules/{parts → Series}/FlagsSeries.js +18 -12
- package/es-modules/{modules/funnel3d.src.js → Series/Funnel3DSeries.js} +14 -16
- package/es-modules/{modules/funnel.src.js → Series/FunnelSeries.js} +16 -14
- package/es-modules/{parts-gantt → Series}/GanttSeries.js +21 -20
- package/es-modules/{parts-more → Series}/GaugeSeries.js +14 -12
- package/es-modules/{parts-map → Series}/HeatmapSeries.js +23 -16
- package/es-modules/{modules/histogram.src.js → Series/HistogramSeries.js} +13 -9
- package/es-modules/{modules/item-series.src.js → Series/ItemSeries.js} +22 -14
- package/es-modules/Series/LineSeries.js +13 -0
- package/es-modules/{modules/lollipop.src.js → Series/LollipopSeries.js} +34 -10
- package/es-modules/{parts-map → Series}/MapBubbleSeries.js +8 -9
- package/es-modules/{parts-map → Series}/MapLineSeries.js +5 -7
- package/es-modules/{parts-map → Series}/MapPointSeries.js +9 -8
- package/es-modules/{parts-map → Series}/MapSeries.js +22 -18
- package/es-modules/{modules/networkgraph/draggable-nodes.js → Series/Networkgraph/DraggableNodes.js} +15 -30
- package/es-modules/{modules/networkgraph/integrations.js → Series/Networkgraph/Integrations.js} +1 -1
- package/es-modules/{modules/networkgraph/layouts.js → Series/Networkgraph/Layouts.js} +43 -13
- package/es-modules/{modules/networkgraph/networkgraph.src.js → Series/Networkgraph/Networkgraph.js} +29 -23
- package/es-modules/{modules/networkgraph → Series/Networkgraph}/QuadTree.js +2 -2
- package/es-modules/{parts → Series}/OHLCSeries.js +5 -7
- package/es-modules/{modules/organization.src.js → Series/OrganizationSeries.js} +10 -7
- package/es-modules/{parts-more → Series}/PackedBubbleSeries.js +104 -28
- package/es-modules/{modules/pareto.src.js → Series/ParetoSeries.js} +10 -9
- package/es-modules/{parts-3d/Pie.js → Series/Pie3DSeries.js} +5 -4
- package/es-modules/{parts → Series}/PieSeries.js +66 -31
- package/es-modules/{parts-more → Series}/PolygonSeries.js +13 -13
- package/es-modules/{modules/pyramid3d.src.js → Series/Pyramid3DSeries.js} +5 -7
- package/es-modules/{modules/sankey.src.js → Series/SankeySeries.js} +23 -21
- package/es-modules/{parts-3d/Scatter.js → Series/Scatter3DSeries.js} +10 -9
- package/es-modules/{parts → Series}/ScatterSeries.js +15 -10
- package/es-modules/{modules/solid-gauge.src.js → Series/SolidGaugeSeries.js} +112 -78
- package/es-modules/{parts → Series}/SplineSeries.js +9 -7
- package/es-modules/{modules/streamgraph.src.js → Series/StreamgraphSeries.js} +42 -6
- package/es-modules/{modules/sunburst.src.js → Series/SunburstSeries.js} +20 -13
- package/es-modules/{modules/tilemap.src.js → Series/TilemapSeries.js} +12 -9
- package/es-modules/{modules/timeline.src.js → Series/TimelineSeries.js} +16 -11
- package/es-modules/{modules/treemap.src.js → Series/TreemapSeries.js} +47 -40
- package/es-modules/{modules/variable-pie.src.js → Series/VariablePieSeries.js} +11 -8
- package/es-modules/{modules/variwide.src.js → Series/VariwideSeries.js} +12 -10
- package/es-modules/{modules/vector.src.js → Series/VectorSeries.js} +11 -7
- package/es-modules/{modules/venn.src.js → Series/VennSeries.js} +29 -20
- package/es-modules/{parts-more → Series}/WaterfallSeries.js +145 -66
- package/es-modules/{modules/windbarb.src.js → Series/WindbarbSeries.js} +13 -9
- package/es-modules/{modules/wordcloud.src.js → Series/WordcloudSeries.js} +17 -13
- package/es-modules/{modules/xrange.src.js → Series/XRangeSeries.js} +16 -12
- package/es-modules/{indicators/acceleration-bands.src.js → Stock/Indicators/ABIndicator.js} +8 -8
- package/es-modules/{indicators/accumulation-distribution.src.js → Stock/Indicators/ADIndicator.js} +5 -4
- package/es-modules/{indicators/ao.src.js → Stock/Indicators/AOIndicator.js} +6 -5
- package/es-modules/{indicators/apo.src.js → Stock/Indicators/APOIndicator.js} +8 -8
- package/es-modules/{indicators/atr.src.js → Stock/Indicators/ATRIndicator.js} +6 -6
- package/es-modules/{indicators/aroon.src.js → Stock/Indicators/AroonIndicator.js} +7 -6
- package/es-modules/{indicators/aroon-oscillator.src.js → Stock/Indicators/AroonOscillatorIndicator.js} +8 -8
- package/es-modules/{indicators/bollinger-bands.src.js → Stock/Indicators/BBIndicator.js} +8 -8
- package/es-modules/{indicators/cci.src.js → Stock/Indicators/CCIIndicator.js} +5 -4
- package/es-modules/{indicators/cmf.src.js → Stock/Indicators/CMFIndicator.js} +3 -4
- package/es-modules/{indicators/chaikin.src.js → Stock/Indicators/ChaikinIndicator.js} +10 -9
- package/es-modules/{indicators/dema.src.js → Stock/Indicators/DEMAIndicator.js} +8 -8
- package/es-modules/{indicators/dpo.src.js → Stock/Indicators/DPOIndicator.js} +5 -4
- package/es-modules/{indicators/ema.src.js → Stock/Indicators/EMAIndicator.js} +4 -4
- package/es-modules/{indicators/ichimoku-kinko-hyo.src.js → Stock/Indicators/IKHIndicator.js} +23 -20
- package/es-modules/{indicators/keltner-channels.src.js → Stock/Indicators/KeltnerChannelsIndicator.js} +11 -8
- package/es-modules/{indicators/macd.src.js → Stock/Indicators/MACDIndicator.js} +9 -6
- package/es-modules/{indicators/mfi.src.js → Stock/Indicators/MFIIndicator.js} +5 -4
- package/es-modules/{indicators/momentum.src.js → Stock/Indicators/MomentumIndicator.js} +5 -4
- package/es-modules/{indicators/natr.src.js → Stock/Indicators/NATRIndicator.js} +4 -6
- package/es-modules/{indicators/price-channel.src.js → Stock/Indicators/PCIndicator.js} +9 -8
- package/es-modules/{indicators/ppo.src.js → Stock/Indicators/PPOIndicator.js} +8 -8
- package/es-modules/{indicators/psar.src.js → Stock/Indicators/PSARIndicator.js} +3 -4
- package/es-modules/{indicators/pivot-points.src.js → Stock/Indicators/PivotPointsIndicator.js} +6 -6
- package/es-modules/{indicators/price-envelopes.src.js → Stock/Indicators/PriceEnvelopesIndicator.js} +6 -6
- package/es-modules/{indicators/roc.src.js → Stock/Indicators/ROCIndicator.js} +5 -4
- package/es-modules/{indicators/rsi.src.js → Stock/Indicators/RSIIndicator.js} +5 -4
- package/es-modules/{indicators/regressions.src.js → Stock/Indicators/RegressionIndicators.js} +8 -7
- package/es-modules/{indicators/indicators.src.js → Stock/Indicators/SMAIndicator.js} +12 -8
- package/es-modules/{indicators/slow-stochastic.src.js → Stock/Indicators/SlowStochasticIndicator.js} +6 -8
- package/es-modules/{indicators/stochastic.src.js → Stock/Indicators/StochasticIndicator.js} +9 -9
- package/es-modules/{indicators/supertrend.src.js → Stock/Indicators/SupertrendIndicator.js} +8 -7
- package/es-modules/{indicators/tema.src.js → Stock/Indicators/TEMAIndicator.js} +8 -8
- package/es-modules/{indicators/trix.src.js → Stock/Indicators/TRIXIndicator.js} +8 -8
- package/es-modules/{indicators/trendline.src.js → Stock/Indicators/TrendLineIndicator.js} +5 -4
- package/es-modules/{indicators/volume-by-price.src.js → Stock/Indicators/VBPIndicator.js} +10 -7
- package/es-modules/{indicators/vwap.src.js → Stock/Indicators/VWAPIndicator.js} +5 -4
- package/es-modules/{indicators/wma.src.js → Stock/Indicators/WMAIndicator.js} +5 -4
- package/es-modules/{indicators/williams-r.src.js → Stock/Indicators/WilliamsRIndicator.js} +7 -6
- package/es-modules/{indicators/zigzag.src.js → Stock/Indicators/ZigzagIndicator.js} +5 -7
- package/es-modules/{modules/stock-tools-bindings.js → Stock/StockToolsBindings.js} +22 -7
- package/es-modules/{modules/stock-tools-gui.js → Stock/StockToolsGui.js} +17 -17
- package/es-modules/error-messages.js +7 -2
- package/es-modules/highcharts.src.js +19853 -0
- package/es-modules/masters/highcharts-3d.src.js +11 -12
- package/es-modules/masters/highcharts-gantt.src.js +1 -1
- package/es-modules/masters/highcharts-more.src.js +15 -15
- package/es-modules/masters/highcharts.src.js +28 -27
- package/es-modules/masters/highmaps.src.js +1 -1
- package/es-modules/masters/highstock.src.js +1 -1
- package/es-modules/masters/indicators/acceleration-bands.src.js +2 -2
- package/es-modules/masters/indicators/accumulation-distribution.src.js +2 -2
- package/es-modules/masters/indicators/ao.src.js +2 -2
- package/es-modules/masters/indicators/apo.src.js +2 -2
- package/es-modules/masters/indicators/aroon-oscillator.src.js +2 -2
- package/es-modules/masters/indicators/aroon.src.js +2 -2
- package/es-modules/masters/indicators/atr.src.js +2 -2
- package/es-modules/masters/indicators/bollinger-bands.src.js +2 -2
- package/es-modules/masters/indicators/cci.src.js +2 -2
- package/es-modules/masters/indicators/chaikin.src.js +2 -2
- package/es-modules/masters/indicators/cmf.src.js +2 -2
- package/es-modules/masters/indicators/dema.src.js +2 -2
- package/es-modules/masters/indicators/dpo.src.js +2 -2
- package/es-modules/masters/indicators/ema.src.js +2 -2
- package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +2 -2
- package/es-modules/masters/indicators/indicators-all.src.js +41 -41
- package/es-modules/masters/indicators/indicators.src.js +2 -2
- package/es-modules/masters/indicators/keltner-channels.src.js +2 -2
- package/es-modules/masters/indicators/macd.src.js +2 -2
- package/es-modules/masters/indicators/mfi.src.js +2 -2
- package/es-modules/masters/indicators/momentum.src.js +2 -2
- package/es-modules/masters/indicators/natr.src.js +2 -2
- package/es-modules/masters/indicators/pivot-points.src.js +2 -2
- package/es-modules/masters/indicators/ppo.src.js +2 -2
- package/es-modules/masters/indicators/price-channel.src.js +2 -2
- package/es-modules/masters/indicators/price-envelopes.src.js +2 -2
- package/es-modules/masters/indicators/psar.src.js +2 -2
- package/es-modules/masters/indicators/regressions.src.js +2 -2
- package/es-modules/masters/indicators/roc.src.js +2 -2
- package/es-modules/masters/indicators/rsi.src.js +2 -2
- package/es-modules/masters/indicators/slow-stochastic.src.js +2 -2
- package/es-modules/masters/indicators/stochastic.src.js +2 -2
- package/es-modules/masters/indicators/supertrend.src.js +2 -2
- package/es-modules/masters/indicators/tema.src.js +2 -2
- package/es-modules/masters/indicators/trendline.src.js +2 -2
- package/es-modules/masters/indicators/trix.src.js +2 -2
- package/es-modules/masters/indicators/volume-by-price.src.js +2 -2
- package/es-modules/masters/indicators/vwap.src.js +2 -2
- package/es-modules/masters/indicators/williams-r.src.js +2 -2
- package/es-modules/masters/indicators/wma.src.js +2 -2
- package/es-modules/masters/indicators/zigzag.src.js +2 -2
- package/es-modules/masters/modules/accessibility.src.js +2 -2
- package/es-modules/masters/modules/annotations-advanced.src.js +13 -13
- package/es-modules/masters/modules/annotations.src.js +4 -4
- package/es-modules/masters/modules/arrow-symbols.src.js +2 -2
- package/es-modules/masters/modules/boost-canvas.src.js +2 -2
- package/es-modules/masters/modules/boost.src.js +2 -2
- package/es-modules/masters/modules/broken-axis.src.js +2 -2
- package/es-modules/masters/modules/bullet.src.js +2 -2
- package/es-modules/masters/modules/coloraxis.src.js +2 -2
- package/es-modules/masters/modules/current-date-indicator.src.js +2 -2
- package/es-modules/masters/modules/cylinder.src.js +2 -2
- package/es-modules/masters/modules/data.src.js +2 -2
- package/es-modules/masters/modules/datagrouping.src.js +2 -2
- package/es-modules/masters/modules/debugger.src.js +2 -2
- package/es-modules/masters/modules/dependency-wheel.src.js +2 -2
- package/es-modules/masters/modules/dotplot.src.js +2 -2
- package/es-modules/masters/modules/drag-panes.src.js +2 -2
- package/es-modules/masters/modules/draggable-points.src.js +2 -2
- package/es-modules/masters/modules/drilldown.src.js +2 -2
- package/es-modules/masters/modules/dumbbell.src.js +2 -2
- package/es-modules/masters/modules/export-data.src.js +2 -2
- package/es-modules/masters/modules/exporting.src.js +3 -3
- package/es-modules/masters/modules/full-screen.src.js +2 -2
- package/es-modules/masters/modules/funnel.src.js +2 -2
- package/es-modules/masters/modules/funnel3d.src.js +2 -2
- package/es-modules/masters/modules/gantt.src.js +6 -6
- package/es-modules/masters/modules/grid-axis.src.js +2 -2
- package/es-modules/masters/modules/heatmap.src.js +4 -4
- package/es-modules/masters/modules/histogram-bellcurve.src.js +3 -3
- package/es-modules/masters/modules/item-series.src.js +2 -2
- package/es-modules/masters/modules/lollipop.src.js +2 -2
- package/es-modules/masters/modules/map.src.js +13 -13
- package/es-modules/masters/modules/marker-clusters.src.js +2 -2
- package/es-modules/masters/modules/networkgraph.src.js +2 -2
- package/es-modules/masters/modules/no-data-to-display.src.js +2 -2
- package/es-modules/masters/modules/offline-exporting.src.js +2 -2
- package/es-modules/masters/modules/oldie-polyfills.src.js +2 -2
- package/es-modules/masters/modules/oldie.src.js +2 -2
- package/es-modules/masters/modules/organization.src.js +2 -2
- package/es-modules/masters/modules/overlapping-datalabels.src.js +2 -2
- package/es-modules/masters/modules/parallel-coordinates.src.js +2 -2
- package/es-modules/masters/modules/pareto.src.js +2 -2
- package/es-modules/masters/modules/pathfinder.src.js +2 -2
- package/es-modules/masters/modules/pattern-fill.src.js +2 -2
- package/es-modules/masters/modules/price-indicator.src.js +2 -2
- package/es-modules/masters/modules/pyramid3d.src.js +2 -2
- package/es-modules/masters/modules/sankey.src.js +2 -2
- package/es-modules/masters/modules/series-label.src.js +2 -2
- package/es-modules/masters/modules/solid-gauge.src.js +2 -2
- package/es-modules/masters/modules/sonification.src.js +2 -2
- package/es-modules/masters/modules/static-scale.src.js +2 -2
- package/es-modules/masters/modules/stock-tools.src.js +3 -3
- package/es-modules/masters/modules/stock.src.js +10 -10
- package/es-modules/masters/modules/streamgraph.src.js +2 -2
- package/es-modules/masters/modules/sunburst.src.js +2 -2
- package/es-modules/masters/modules/tilemap.src.js +2 -2
- package/es-modules/masters/modules/timeline.src.js +2 -2
- package/es-modules/masters/modules/treegrid.src.js +2 -2
- package/es-modules/masters/modules/treemap.src.js +2 -2
- package/es-modules/masters/modules/variable-pie.src.js +2 -2
- package/es-modules/masters/modules/variwide.src.js +2 -2
- package/es-modules/masters/modules/vector.src.js +2 -2
- package/es-modules/masters/modules/venn.src.js +2 -2
- package/es-modules/masters/modules/windbarb.src.js +2 -2
- package/es-modules/masters/modules/wordcloud.src.js +2 -2
- package/es-modules/masters/modules/xrange.src.js +2 -2
- package/es-modules/masters/themes/avocado.src.js +2 -2
- package/es-modules/masters/themes/dark-blue.src.js +2 -2
- package/es-modules/masters/themes/dark-green.src.js +2 -2
- package/es-modules/masters/themes/dark-unica.src.js +2 -2
- package/es-modules/masters/themes/gray.src.js +2 -2
- package/es-modules/masters/themes/grid-light.src.js +2 -2
- package/es-modules/masters/themes/grid.src.js +2 -2
- package/es-modules/masters/themes/high-contrast-dark.src.js +2 -2
- package/es-modules/masters/themes/high-contrast-light.src.js +2 -2
- package/es-modules/masters/themes/sand-signika.src.js +2 -2
- package/es-modules/masters/themes/skies.src.js +2 -2
- package/es-modules/masters/themes/sunset.src.js +2 -2
- package/highcharts-3d.js +86 -88
- package/highcharts-3d.js.map +1 -1
- package/highcharts-3d.src.js +1713 -1615
- package/highcharts-gantt.js +730 -697
- package/highcharts-gantt.js.map +1 -1
- package/highcharts-gantt.src.js +11747 -10110
- package/highcharts-more.js +164 -161
- package/highcharts-more.js.map +1 -1
- package/highcharts-more.src.js +766 -523
- package/highcharts.d.ts +7728 -1337
- package/highcharts.js +538 -515
- package/highcharts.js.map +1 -1
- package/highcharts.src.d.ts +7728 -1337
- package/highcharts.src.js +8517 -7691
- package/highmaps.js +636 -612
- package/highmaps.js.map +1 -1
- package/highmaps.src.js +9151 -8209
- package/highstock.js +697 -671
- package/highstock.js.map +1 -1
- package/highstock.src.js +8919 -8049
- package/indicators/acceleration-bands.js +8 -8
- package/indicators/acceleration-bands.js.map +1 -1
- package/indicators/acceleration-bands.src.js +8 -8
- package/indicators/accumulation-distribution.js +4 -4
- package/indicators/accumulation-distribution.js.map +1 -1
- package/indicators/accumulation-distribution.src.js +5 -5
- package/indicators/ao.js +5 -5
- package/indicators/ao.js.map +1 -1
- package/indicators/ao.src.js +6 -6
- package/indicators/apo.js +5 -5
- package/indicators/apo.js.map +1 -1
- package/indicators/apo.src.js +8 -9
- package/indicators/aroon-oscillator.js +8 -8
- package/indicators/aroon-oscillator.js.map +1 -1
- package/indicators/aroon-oscillator.src.js +8 -9
- package/indicators/aroon.js +7 -7
- package/indicators/aroon.js.map +1 -1
- package/indicators/aroon.src.js +7 -7
- package/indicators/atr.js +4 -4
- package/indicators/atr.js.map +1 -1
- package/indicators/atr.src.js +6 -14
- package/indicators/bollinger-bands.js +8 -8
- package/indicators/bollinger-bands.js.map +1 -1
- package/indicators/bollinger-bands.src.js +8 -8
- package/indicators/cci.js +4 -4
- package/indicators/cci.js.map +1 -1
- package/indicators/cci.src.js +5 -5
- package/indicators/chaikin.js +6 -6
- package/indicators/chaikin.js.map +1 -1
- package/indicators/chaikin.src.js +75 -75
- package/indicators/cmf.js +4 -4
- package/indicators/cmf.js.map +1 -1
- package/indicators/cmf.src.js +4 -4
- package/indicators/dema.js +5 -5
- package/indicators/dema.js.map +1 -1
- package/indicators/dema.src.js +8 -9
- package/indicators/dpo.js +4 -4
- package/indicators/dpo.js.map +1 -1
- package/indicators/dpo.src.js +5 -5
- package/indicators/ema.js +4 -4
- package/indicators/ema.js.map +1 -1
- package/indicators/ema.src.js +4 -5
- package/indicators/ichimoku-kinko-hyo.js +13 -13
- package/indicators/ichimoku-kinko-hyo.js.map +1 -1
- package/indicators/ichimoku-kinko-hyo.src.js +21 -20
- package/indicators/indicators-all.js +119 -118
- package/indicators/indicators-all.js.map +1 -1
- package/indicators/indicators-all.src.js +231 -240
- package/indicators/indicators.js +9 -9
- package/indicators/indicators.js.map +1 -1
- package/indicators/indicators.src.js +9 -9
- package/indicators/keltner-channels.js +8 -8
- package/indicators/keltner-channels.js.map +1 -1
- package/indicators/keltner-channels.src.js +13 -10
- package/indicators/macd.js +10 -10
- package/indicators/macd.js.map +1 -1
- package/indicators/macd.src.js +8 -7
- package/indicators/mfi.js +4 -4
- package/indicators/mfi.js.map +1 -1
- package/indicators/mfi.src.js +5 -5
- package/indicators/momentum.js +4 -4
- package/indicators/momentum.js.map +1 -1
- package/indicators/momentum.src.js +5 -5
- package/indicators/natr.js +3 -3
- package/indicators/natr.js.map +1 -1
- package/indicators/natr.src.js +5 -5
- package/indicators/pivot-points.js +8 -8
- package/indicators/pivot-points.js.map +1 -1
- package/indicators/pivot-points.src.js +6 -6
- package/indicators/ppo.js +5 -5
- package/indicators/ppo.js.map +1 -1
- package/indicators/ppo.src.js +8 -9
- package/indicators/price-channel.js +8 -8
- package/indicators/price-channel.js.map +1 -1
- package/indicators/price-channel.src.js +66 -66
- package/indicators/price-envelopes.js +6 -6
- package/indicators/price-envelopes.js.map +1 -1
- package/indicators/price-envelopes.src.js +6 -6
- package/indicators/psar.js +3 -3
- package/indicators/psar.js.map +1 -1
- package/indicators/psar.src.js +4 -4
- package/indicators/regressions.js +6 -6
- package/indicators/regressions.js.map +1 -1
- package/indicators/regressions.src.js +8 -8
- package/indicators/roc.js +3 -3
- package/indicators/roc.js.map +1 -1
- package/indicators/roc.src.js +5 -5
- package/indicators/rsi.js +4 -4
- package/indicators/rsi.js.map +1 -1
- package/indicators/rsi.src.js +5 -5
- package/indicators/slow-stochastic.js +5 -5
- package/indicators/slow-stochastic.js.map +1 -1
- package/indicators/slow-stochastic.src.js +7 -7
- package/indicators/stochastic.js +9 -9
- package/indicators/stochastic.js.map +1 -1
- package/indicators/stochastic.src.js +67 -67
- package/indicators/supertrend.js +9 -9
- package/indicators/supertrend.js.map +1 -1
- package/indicators/supertrend.src.js +9 -7
- package/indicators/tema.js +6 -6
- package/indicators/tema.js.map +1 -1
- package/indicators/tema.src.js +8 -9
- package/indicators/trendline.js +3 -3
- package/indicators/trendline.js.map +1 -1
- package/indicators/trendline.src.js +5 -5
- package/indicators/trix.js +4 -4
- package/indicators/trix.js.map +1 -1
- package/indicators/trix.src.js +8 -8
- package/indicators/volume-by-price.js +13 -13
- package/indicators/volume-by-price.js.map +1 -1
- package/indicators/volume-by-price.src.js +7 -8
- package/indicators/vwap.js +4 -4
- package/indicators/vwap.js.map +1 -1
- package/indicators/vwap.src.js +5 -5
- package/indicators/williams-r.js +4 -4
- package/indicators/williams-r.js.map +1 -1
- package/indicators/williams-r.src.js +7 -7
- package/indicators/wma.js +4 -4
- package/indicators/wma.js.map +1 -1
- package/indicators/wma.src.js +5 -5
- package/indicators/zigzag.js +4 -4
- package/indicators/zigzag.js.map +1 -1
- package/indicators/zigzag.src.js +6 -7
- package/modules/accessibility.d.ts +0 -35
- package/modules/accessibility.js +171 -168
- package/modules/accessibility.js.map +1 -1
- package/modules/accessibility.src.d.ts +0 -35
- package/modules/accessibility.src.js +369 -252
- package/modules/annotations-advanced.js +158 -136
- package/modules/annotations-advanced.js.map +1 -1
- package/modules/annotations-advanced.src.js +1929 -1263
- package/modules/annotations.js +105 -94
- package/modules/annotations.js.map +1 -1
- package/modules/annotations.src.js +1485 -1101
- package/modules/arrow-symbols.js +4 -4
- package/modules/arrow-symbols.js.map +1 -1
- package/modules/arrow-symbols.src.js +10 -12
- package/modules/boost-canvas.js +15 -15
- package/modules/boost-canvas.js.map +1 -1
- package/modules/boost-canvas.src.js +17 -17
- package/modules/boost.d.ts +4 -0
- package/modules/boost.js +77 -64
- package/modules/boost.js.map +1 -1
- package/modules/boost.src.d.ts +4 -0
- package/modules/boost.src.js +581 -33
- package/modules/broken-axis.js +10 -10
- package/modules/broken-axis.js.map +1 -1
- package/modules/broken-axis.src.js +4 -5
- package/modules/bullet.js +6 -6
- package/modules/bullet.js.map +1 -1
- package/modules/bullet.src.js +8 -8
- package/modules/coloraxis.js +22 -21
- package/modules/coloraxis.js.map +1 -1
- package/modules/coloraxis.src.js +67 -59
- package/modules/current-date-indicator.js +3 -3
- package/modules/current-date-indicator.js.map +1 -1
- package/modules/current-date-indicator.src.js +4 -5
- package/modules/cylinder.js +8 -8
- package/modules/cylinder.js.map +1 -1
- package/modules/cylinder.src.js +21 -23
- package/modules/data.d.ts +2 -2
- package/modules/data.js +32 -32
- package/modules/data.js.map +1 -1
- package/modules/data.src.d.ts +2 -2
- package/modules/data.src.js +26 -25
- package/modules/datagrouping.js +17 -17
- package/modules/datagrouping.js.map +1 -1
- package/modules/datagrouping.src.js +6 -7
- package/modules/debugger.js +5 -5
- package/modules/debugger.js.map +1 -1
- package/modules/debugger.src.js +13 -8
- package/modules/dependency-wheel.js +8 -8
- package/modules/dependency-wheel.js.map +1 -1
- package/modules/dependency-wheel.src.js +10 -10
- package/modules/dotplot.js +5 -5
- package/modules/dotplot.js.map +1 -1
- package/modules/dotplot.src.js +6 -14
- package/modules/drag-panes.js +10 -10
- package/modules/drag-panes.js.map +1 -1
- package/modules/drag-panes.src.js +4 -6
- package/modules/draggable-points.js +33 -33
- package/modules/draggable-points.js.map +1 -1
- package/modules/draggable-points.src.js +22 -35
- package/modules/drilldown.d.ts +1 -1
- package/modules/drilldown.js +23 -22
- package/modules/drilldown.js.map +1 -1
- package/modules/drilldown.src.d.ts +1 -1
- package/modules/drilldown.src.js +66 -53
- package/modules/dumbbell.d.ts +4 -0
- package/modules/dumbbell.js +24 -9
- package/modules/dumbbell.js.map +1 -1
- package/modules/dumbbell.src.d.ts +4 -0
- package/modules/dumbbell.src.js +1029 -104
- package/modules/export-data.d.ts +4 -29
- package/modules/export-data.js +21 -21
- package/modules/export-data.js.map +1 -1
- package/modules/export-data.src.d.ts +4 -29
- package/modules/export-data.src.js +155 -189
- package/modules/exporting.d.ts +2 -0
- package/modules/exporting.js +33 -33
- package/modules/exporting.js.map +1 -1
- package/modules/exporting.src.d.ts +2 -0
- package/modules/exporting.src.js +40 -30
- package/modules/full-screen.js +7 -7
- package/modules/full-screen.js.map +1 -1
- package/modules/full-screen.src.js +4 -3
- package/modules/funnel.js +9 -9
- package/modules/funnel.js.map +1 -1
- package/modules/funnel.src.js +14 -15
- package/modules/funnel3d.js +17 -17
- package/modules/funnel3d.js.map +1 -1
- package/modules/funnel3d.src.js +12 -14
- package/modules/gantt.js +194 -183
- package/modules/gantt.js.map +1 -1
- package/modules/gantt.src.js +2071 -1260
- package/modules/grid-axis.js +22 -19
- package/modules/grid-axis.js.map +1 -1
- package/modules/grid-axis.src.js +149 -43
- package/modules/heatmap.js +33 -32
- package/modules/heatmap.js.map +1 -1
- package/modules/heatmap.src.js +130 -114
- package/modules/histogram-bellcurve.js +10 -10
- package/modules/histogram-bellcurve.js.map +1 -1
- package/modules/histogram-bellcurve.src.js +57 -16
- package/modules/item-series.js +9 -9
- package/modules/item-series.js.map +1 -1
- package/modules/item-series.src.js +20 -13
- package/modules/lollipop.d.ts +20 -1
- package/modules/lollipop.js +26 -4
- package/modules/lollipop.js.map +1 -1
- package/modules/lollipop.src.d.ts +20 -1
- package/modules/lollipop.src.js +1452 -10
- package/modules/map.d.ts +2 -2
- package/modules/map.js +99 -98
- package/modules/map.js.map +1 -1
- package/modules/map.src.d.ts +2 -2
- package/modules/map.src.js +1442 -1326
- package/modules/marker-clusters.js +35 -36
- package/modules/marker-clusters.js.map +1 -1
- package/modules/marker-clusters.src.js +31 -51
- package/modules/networkgraph.js +47 -46
- package/modules/networkgraph.js.map +1 -1
- package/modules/networkgraph.src.js +98 -81
- package/modules/no-data-to-display.js +4 -4
- package/modules/no-data-to-display.js.map +1 -1
- package/modules/no-data-to-display.src.js +17 -13
- package/modules/offline-exporting.js +15 -15
- package/modules/offline-exporting.js.map +1 -1
- package/modules/offline-exporting.src.js +63 -46
- package/modules/oldie-polyfills.js +6 -6
- package/modules/oldie-polyfills.js.map +1 -1
- package/modules/oldie-polyfills.src.js +7 -2
- package/modules/oldie.js +52 -26
- package/modules/oldie.js.map +1 -1
- package/modules/oldie.src.js +1411 -34
- package/modules/organization.js +11 -11
- package/modules/organization.js.map +1 -1
- package/modules/organization.src.js +7 -6
- package/modules/overlapping-datalabels.js +1 -1
- package/modules/overlapping-datalabels.src.js +1 -1
- package/modules/parallel-coordinates.js +11 -11
- package/modules/parallel-coordinates.js.map +1 -1
- package/modules/parallel-coordinates.src.js +144 -136
- package/modules/pareto.js +5 -5
- package/modules/pareto.js.map +1 -1
- package/modules/pareto.src.js +8 -9
- package/modules/pathfinder.js +31 -27
- package/modules/pathfinder.js.map +1 -1
- package/modules/pathfinder.src.js +1589 -985
- package/modules/pattern-fill.js +13 -13
- package/modules/pattern-fill.js.map +1 -1
- package/modules/pattern-fill.src.js +25 -21
- package/modules/price-indicator.js +4 -4
- package/modules/price-indicator.js.map +1 -1
- package/modules/price-indicator.src.js +5 -3
- package/modules/pyramid3d.js +3 -3
- package/modules/pyramid3d.js.map +1 -1
- package/modules/pyramid3d.src.js +4 -5
- package/modules/sankey.js +25 -26
- package/modules/sankey.js.map +1 -1
- package/modules/sankey.src.js +39 -36
- package/modules/series-label.js +17 -17
- package/modules/series-label.js.map +1 -1
- package/modules/series-label.src.js +17 -17
- package/modules/solid-gauge.js +8 -8
- package/modules/solid-gauge.js.map +1 -1
- package/modules/solid-gauge.src.js +123 -91
- package/modules/sonification.d.ts +33 -16
- package/modules/sonification.js +55 -49
- package/modules/sonification.js.map +1 -1
- package/modules/sonification.src.d.ts +33 -16
- package/modules/sonification.src.js +361 -115
- package/modules/static-scale.js +4 -4
- package/modules/static-scale.js.map +1 -1
- package/modules/static-scale.src.js +3 -4
- package/modules/stock-tools.d.ts +23 -1
- package/modules/stock-tools.js +150 -84
- package/modules/stock-tools.js.map +1 -1
- package/modules/stock-tools.src.d.ts +23 -1
- package/modules/stock-tools.src.js +3792 -44
- package/modules/stock.js +161 -158
- package/modules/stock.js.map +1 -1
- package/modules/stock.src.js +456 -412
- package/modules/streamgraph.js +2 -2
- package/modules/streamgraph.js.map +1 -1
- package/modules/streamgraph.src.js +42 -5
- package/modules/sunburst.js +51 -49
- package/modules/sunburst.js.map +1 -1
- package/modules/sunburst.src.js +152 -52
- package/modules/tilemap.js +14 -14
- package/modules/tilemap.js.map +1 -1
- package/modules/tilemap.src.js +12 -11
- package/modules/timeline.js +14 -14
- package/modules/timeline.js.map +1 -1
- package/modules/timeline.src.js +19 -18
- package/modules/treegrid.js +57 -52
- package/modules/treegrid.js.map +1 -1
- package/modules/treegrid.src.js +236 -60
- package/modules/treemap.js +35 -34
- package/modules/treemap.js.map +1 -1
- package/modules/treemap.src.js +213 -118
- package/modules/variable-pie.js +8 -8
- package/modules/variable-pie.js.map +1 -1
- package/modules/variable-pie.src.js +12 -10
- package/modules/variwide.js +8 -8
- package/modules/variwide.js.map +1 -1
- package/modules/variwide.src.js +8 -8
- package/modules/vector.js +6 -6
- package/modules/vector.js.map +1 -1
- package/modules/vector.src.js +9 -9
- package/modules/venn.js +26 -26
- package/modules/venn.js.map +1 -1
- package/modules/venn.src.js +49 -37
- package/modules/windbarb.js +11 -11
- package/modules/windbarb.js.map +1 -1
- package/modules/windbarb.src.js +11 -12
- package/modules/wordcloud.js +19 -19
- package/modules/wordcloud.js.map +1 -1
- package/modules/wordcloud.src.js +26 -18
- package/modules/xrange.js +12 -12
- package/modules/xrange.js.map +1 -1
- package/modules/xrange.src.js +19 -20
- package/package.json +1 -1
- package/themes/avocado.js +3 -3
- package/themes/avocado.js.map +1 -1
- package/themes/avocado.src.js +5 -4
- package/themes/dark-blue.js +3 -3
- package/themes/dark-blue.js.map +1 -1
- package/themes/dark-blue.src.js +4 -3
- package/themes/dark-green.js +3 -3
- package/themes/dark-green.js.map +1 -1
- package/themes/dark-green.src.js +4 -3
- package/themes/dark-unica.js +7 -7
- package/themes/dark-unica.js.map +1 -1
- package/themes/dark-unica.src.js +6 -6
- package/themes/gray.js +3 -3
- package/themes/gray.js.map +1 -1
- package/themes/gray.src.js +5 -4
- package/themes/grid-light.js +4 -4
- package/themes/grid-light.js.map +1 -1
- package/themes/grid-light.src.js +4 -3
- package/themes/grid.js +3 -3
- package/themes/grid.js.map +1 -1
- package/themes/grid.src.js +4 -3
- package/themes/high-contrast-dark.js +6 -6
- package/themes/high-contrast-dark.js.map +1 -1
- package/themes/high-contrast-dark.src.js +5 -4
- package/themes/high-contrast-light.js +3 -3
- package/themes/high-contrast-light.js.map +1 -1
- package/themes/high-contrast-light.src.js +4 -3
- package/themes/sand-signika.js +5 -5
- package/themes/sand-signika.js.map +1 -1
- package/themes/sand-signika.src.js +4 -3
- package/themes/skies.js +4 -4
- package/themes/skies.js.map +1 -1
- package/themes/skies.src.js +5 -4
- package/themes/sunset.js +3 -3
- package/themes/sunset.js.map +1 -1
- package/themes/sunset.src.js +5 -4
- package/es-modules/annotations/controllable/ControllableCircle.js +0 -79
- package/es-modules/annotations/controllable/ControllableImage.js +0 -79
- package/es-modules/annotations/controllable/ControllableRect.js +0 -82
- package/es-modules/annotations/types/InfinityLine.js +0 -110
- package/es-modules/masters/modules/map-parser.src.js +0 -12
- package/es-modules/modules/accessibility/components/InfoRegionsComponent/AnnotationsA11y.js +0 -80
- package/es-modules/modules/accessibility/components/InfoRegionsComponent/InfoRegionsComponent.js +0 -499
- package/es-modules/modules/accessibility/components/SeriesComponent/forcedMarkers.js +0 -147
- package/es-modules/modules/map-parser.src.js +0 -365
- package/es-modules/modules/sonification/options.js +0 -36
- package/es-modules/parts-3d/Chart.js +0 -1577
- package/es-modules/parts-3d/VMLRenderer.js +0 -35
- package/es-modules/parts-gantt/PathfinderAlgorithms.js +0 -656
- package/modules/map-parser.d.ts +0 -17
- package/modules/map-parser.js +0 -17
- package/modules/map-parser.js.map +0 -1
- package/modules/map-parser.src.d.ts +0 -17
- package/modules/map-parser.src.js +0 -421
package/modules/map-parser.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/*!*
|
|
2
|
-
*
|
|
3
|
-
* Copyright (c) Highsoft AS. All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
*!*/
|
|
6
|
-
import * as globals from "../globals";
|
|
7
|
-
import * as _Highcharts from "../highcharts";
|
|
8
|
-
/**
|
|
9
|
-
* Adds the module to the imported Highcharts namespace.
|
|
10
|
-
*
|
|
11
|
-
* @param highcharts
|
|
12
|
-
* The imported Highcharts namespace to extend.
|
|
13
|
-
*/
|
|
14
|
-
export function factory(highcharts: typeof Highcharts): void;
|
|
15
|
-
declare module "../highcharts" {}
|
|
16
|
-
export default factory;
|
|
17
|
-
export let Highcharts: typeof _Highcharts;
|
package/modules/map-parser.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Highmaps JS v8.1.0 (2020-05-05)
|
|
3
|
-
|
|
4
|
-
(c) 2009-2019 Torstein Honsi
|
|
5
|
-
|
|
6
|
-
License: www.highcharts.com/license
|
|
7
|
-
*/
|
|
8
|
-
(function(d){"object"===typeof module&&module.exports?(d["default"]=d,module.exports=d):"function"===typeof define&&define.amd?define("highcharts/modules/map-parser",["highcharts","highcharts/modules/data"],function(e){d(e);d.Highcharts=e;return d}):d("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(d){function e(d,p,e,m){d.hasOwnProperty(p)||(d[p]=m.apply(null,e))}d=d?d._modules:{};e(d,"modules/map-parser.src.js",[d["parts/Globals.js"],d["parts/Utilities.js"],d["modules/data.src.js"]],
|
|
9
|
-
function(d,e,q){var m=e.extend;e=e.wrap;e(q.prototype,"init",function(a,d){a.call(this,d);d.svg&&this.loadSVG()});m(d.Data.prototype,{pathToArray:function(a,d){var c=0,f=0,e,g=[0,0],k=[0,0],n=function(b,a){return[a.a*b[0]+a.c*b[1]+a.e,a.b*b[0]+a.d*b[1]+a.f]};a=a.replace(/[0-9]+e-?[0-9]+/g,function(b){return+b}).replace(/([A-Za-z])/g," $1 ").replace(/-/g," -").replace(/^\s*/,"").replace(/\s*$/,"").replace(/\s+/g," ").split(/[ ,]+/);if(1===a.length)return[];for(c=0;c<a.length;c++)if(e=/[a-zA-Z]/.test(a[c])){var b=
|
|
10
|
-
a[c];var r=2;if("c"===b||"C"===b)r=6;"m"===b?k=[parseFloat(a[c+1])+k[0],parseFloat(a[c+2])+k[1]]:"M"===b&&(k=[parseFloat(a[c+1]),parseFloat(a[c+2])]);if("m"===b||"l"===b||"c"===b){a[c]=b.toUpperCase();var h=!0}else if("M"===b||"L"===b||"C"===b)h=!1;else if("h"===b)h=!0,a[c]="L",a.splice(c+2,0,0);else if("v"===b)h=!0,a[c]="L",a.splice(c+1,0,0);else if("s"===b)h=!0,a[c]="L",a.splice(c+1,2);else if("S"===b)h=!1,a[c]="L",a.splice(c+1,2);else if("H"===b||"h"===b)h=!1,a[c]="L",a.splice(c+2,0,g[1]);else if("V"===
|
|
11
|
-
b||"v"===b)h=!1,a[c]="L",a.splice(c+1,0,g[0]);else if("z"===b||"Z"===b)g=k}else a[c]=parseFloat(a[c]),h&&(a[c]+=g[f%2]),1===f%2&&d&&(!h||"m"===b&&3>c)&&(e=n([a[c-1],a[c]],d),a[c-1]=e[0],a[c]=e[1]),f===r-1?(g=[a[c-1],a[c]],f=0):f+=1;"number"===typeof a[0]&&4<=a.length&&(a.unshift("M"),a.splice(3,0,"L"));return a},pathToString:function(a){a.forEach(function(a){var c=a.path;c=c.join(",");c=c.replace(/,?([a-zA-Z]),?/g,"$1");a.path=c});return a},roundPaths:function(a,e){var c=d.seriesTypes.map.prototype;
|
|
12
|
-
var f={xAxis:{translate:d.Axis.prototype.translate,options:{},minPixelPadding:0},yAxis:{translate:d.Axis.prototype.translate,options:{},minPixelPadding:0}};c.getBox.call(f,a);var l=Math.max(f.maxX-f.minX,f.maxY-f.minY);e=e||1E3;l=e/l;f.xAxis.transA=f.yAxis.transA=l;f.xAxis.len=f.yAxis.len=e;f.xAxis.min=f.minX;f.yAxis.min=(f.minY+e)/l;a.forEach(function(a){var d,e;a.path=e=c.translatePath.call(f,a.path,!0);for(d=e.length;d--;)"number"===typeof e[d]&&(e[d]=Math.round(e[d]));delete a._foundBox});return a},
|
|
13
|
-
loadSVG:function(){function a(b){return Array.prototype.slice.call(b.getElementsByTagName("path")).concat(Array.prototype.slice.call(b.getElementsByTagName("polygon"))).concat(Array.prototype.slice.call(b.getElementsByTagName("rect")))}function d(b){if("path"===b.nodeName)return b.getAttribute("d");if("polygon"===b.nodeName)return b.getAttribute("points");if("rect"===b.nodeName){var a=+b.getAttribute("x"),c=+b.getAttribute("y"),d=+b.getAttribute("width");b=+b.getAttribute("height");return[a,c,a+d,
|
|
14
|
-
c,a+d,c+b,a,c+b,a,c].join(" ")}}function c(a){a=a.getCTM();if(!isNaN(a.f))return a}function e(a){var b=a.getElementsByTagName("desc");return(b=b[0]&&b[0].getElementsByTagName("name"))&&b[0]&&b[0].innerText||a.getAttribute("inkscape:label")||a.getAttribute("id")||a.getAttribute("class")}function l(a){return!/fill[\s]?:[\s]?none/.test(a.getAttribute("style"))&&"none"!==a.getAttribute("fill")}function g(b){var f=[],h,g,m;k.$frame=k.$frame||$("<div>").css({position:"absolute",top:"-9999em"}).appendTo($(document.body));
|
|
15
|
-
k.$frame.html(b);b=$("svg",k.$frame)[0];b.removeAttribute("viewBox");var p=a(b);["defs","clipPath"].forEach(function(a){b.getElementsByTagName(a).forEach(function(a){a.getElementsByTagName("path").forEach(function(a){a.skip=!0})})});p.forEach(function(a,b){if(!a.skip){var c=[];0<b&&a.parentNode!==h&&(m=!0);for(h=a.parentNode;a;)c.push(a),a=a.parentNode;c.reverse();if(g)for(a=0;a<g.length;a++)g[a]!==c[a]&&(g=g.slice(0,a));else g=c}});var q=g[g.length-1];m&&q.getElementsByTagName("g").forEach(function(b){var g=
|
|
16
|
-
[],h;a(b).forEach(function(a){a.skip||(g=g.concat(k.pathToArray(d(a),c(a))),l(a)&&(h=!0),a.skip=!0)});f.push({name:e(b),path:g,hasFill:h})});p.forEach(function(a){a.skip||f.push({name:e(a),path:k.pathToArray(d(a),c(a)),hasFill:l(a)})});k.roundPaths(f);n.complete({series:[{data:f}]})}var k=this,n=this.options;-1!==n.svg.indexOf("<svg")?g(n.svg):jQuery.ajax({url:n.svg,dataType:"text",success:g})}})});e(d,"masters/modules/map-parser.src.js",[],function(){})});
|
|
17
|
-
//# sourceMappingURL=map-parser.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"map-parser.js.map","lineCount":16,"mappings":"A;;;;;;;AAQC,SAAS,CAACA,CAAD,CAAU,CACM,QAAtB,GAAI,MAAOC,OAAX,EAAkCA,MAAAC,QAAlC,EACIF,CAAA,CAAQ,SAAR,CACA,CADqBA,CACrB,CAAAC,MAAAC,QAAA,CAAiBF,CAFrB,EAG6B,UAAtB,GAAI,MAAOG,OAAX,EAAoCA,MAAAC,IAApC,CACHD,MAAA,CAAO,+BAAP,CAAwC,CAAC,YAAD,CAAe,yBAAf,CAAxC,CAAmF,QAAS,CAACE,CAAD,CAAa,CACrGL,CAAA,CAAQK,CAAR,CACAL,EAAAK,WAAA,CAAqBA,CACrB,OAAOL,EAH8F,CAAzG,CADG,CAOHA,CAAA,CAA8B,WAAtB,GAAA,MAAOK,WAAP,CAAoCA,UAApC,CAAiDC,IAAAA,EAAzD,CAXY,CAAnB,CAAA,CAaC,QAAS,CAACD,CAAD,CAAa,CAEpBE,QAASA,EAAe,CAACC,CAAD,CAAMC,CAAN,CAAYC,CAAZ,CAAkBC,CAAlB,CAAsB,CACrCH,CAAAI,eAAA,CAAmBH,CAAnB,CAAL,GACID,CAAA,CAAIC,CAAJ,CADJ,CACgBE,CAAAE,MAAA,CAAS,IAAT,CAAeH,CAAf,CADhB,CAD0C,CAD1CI,CAAAA,CAAWT,CAAA,CAAaA,CAAAS,SAAb,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CAAUrF,CAAAE,IAAV,CADJ,CAIIiH,MAAAC,KAAA,CAAY,CACRC,IAAKrH,CAAAE,IADG,CAERoH,SAAU,MAFF,CAGRC,QAASlC,CAHD,CAAZ,CAtJa,CAtLA,CAAzB,CAtB0K,CAA9K,CA4WApG,EAAA,CAAgBO,CAAhB,CAA0B,mCAA1B,CAA+D,EAA/D,CAAmE,QAAS,EAAG,EAA/E,CAnXoB,CAbvB;","sources":["map-parser.src.js"],"names":["factory","module","exports","define","amd","Highcharts","undefined","_registerModule","obj","path","args","fn","hasOwnProperty","apply","_modules","H","U","Data","extend","wrap","prototype","proceed","options","call","svg","loadSVG","pathToArray","matrix","i","position","point","fixedPoint","startPoint","matrixTransform","p","m","a","c","e","b","d","f","replace","split","length","isString","test","operator","positions","parseFloat","toUpperCase","isRelative","splice","unshift","pathToString","arr","forEach","join","roundPaths","scale","mapProto","seriesTypes","map","fakeSeries","xAxis","translate","Axis","minPixelPadding","yAxis","getBox","origSize","Math","max","maxX","minX","maxY","minY","transA","len","min","translatePath","round","_foundBox","getPathLikeChildren","parent","Array","slice","getElementsByTagName","concat","getPathDefinition","node","nodeName","getAttribute","x","y","w","h","getTranslate","elem","ctm","getCTM","isNaN","getName","desc","nameTag","innerText","hasFill","handleSVG","xml","currentParent","commonLineage","handleGroups","data","$frame","$","css","top","appendTo","document","body","html","removeAttribute","allPaths","skip","itemLineage","parentNode","push","reverse","j","lastCommonAncestor","g","groupPath","pathHasFill","name","complete","series","indexOf","jQuery","ajax","url","dataType","success"]}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/*!*
|
|
2
|
-
*
|
|
3
|
-
* Copyright (c) Highsoft AS. All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
*!*/
|
|
6
|
-
import * as globals from "../globals.src";
|
|
7
|
-
import * as _Highcharts from "../highcharts.src";
|
|
8
|
-
/**
|
|
9
|
-
* Adds the module to the imported Highcharts namespace.
|
|
10
|
-
*
|
|
11
|
-
* @param highcharts
|
|
12
|
-
* The imported Highcharts namespace to extend.
|
|
13
|
-
*/
|
|
14
|
-
export function factory(highcharts: typeof Highcharts): void;
|
|
15
|
-
declare module "../highcharts.src" {}
|
|
16
|
-
export default factory;
|
|
17
|
-
export let Highcharts: typeof _Highcharts;
|
|
@@ -1,421 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Highmaps JS v8.1.0 (2020-05-05)
|
|
3
|
-
*
|
|
4
|
-
* (c) 2009-2019 Torstein Honsi
|
|
5
|
-
*
|
|
6
|
-
* License: www.highcharts.com/license
|
|
7
|
-
*/
|
|
8
|
-
'use strict';
|
|
9
|
-
(function (factory) {
|
|
10
|
-
if (typeof module === 'object' && module.exports) {
|
|
11
|
-
factory['default'] = factory;
|
|
12
|
-
module.exports = factory;
|
|
13
|
-
} else if (typeof define === 'function' && define.amd) {
|
|
14
|
-
define('highcharts/modules/map-parser', ['highcharts', 'highcharts/modules/data'], function (Highcharts) {
|
|
15
|
-
factory(Highcharts);
|
|
16
|
-
factory.Highcharts = Highcharts;
|
|
17
|
-
return factory;
|
|
18
|
-
});
|
|
19
|
-
} else {
|
|
20
|
-
factory(typeof Highcharts !== 'undefined' ? Highcharts : undefined);
|
|
21
|
-
}
|
|
22
|
-
}(function (Highcharts) {
|
|
23
|
-
var _modules = Highcharts ? Highcharts._modules : {};
|
|
24
|
-
function _registerModule(obj, path, args, fn) {
|
|
25
|
-
if (!obj.hasOwnProperty(path)) {
|
|
26
|
-
obj[path] = fn.apply(null, args);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
_registerModule(_modules, 'modules/map-parser.src.js', [_modules['parts/Globals.js'], _modules['parts/Utilities.js'], _modules['modules/data.src.js']], function (H, U, Data) {
|
|
30
|
-
/* *
|
|
31
|
-
*
|
|
32
|
-
* (c) 2009-2020 Torstein Honsi
|
|
33
|
-
*
|
|
34
|
-
* SVG map parser. This file requires data.js.
|
|
35
|
-
*
|
|
36
|
-
* License: www.highcharts.com/license
|
|
37
|
-
*
|
|
38
|
-
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
39
|
-
*
|
|
40
|
-
* */
|
|
41
|
-
/* global document, jQuery, $ */
|
|
42
|
-
var extend = U.extend,
|
|
43
|
-
wrap = U.wrap;
|
|
44
|
-
/* eslint-disable no-invalid-this */
|
|
45
|
-
wrap(Data.prototype, 'init', function (proceed, options) {
|
|
46
|
-
proceed.call(this, options);
|
|
47
|
-
if (options.svg) {
|
|
48
|
-
this.loadSVG();
|
|
49
|
-
}
|
|
50
|
-
});
|
|
51
|
-
/* eslint-enable no-invalid-this */
|
|
52
|
-
extend(H.Data.prototype, {
|
|
53
|
-
// Parse an SVG path into a simplified array that Highcharts can read
|
|
54
|
-
pathToArray: function (path, matrix) {
|
|
55
|
-
var i = 0,
|
|
56
|
-
position = 0,
|
|
57
|
-
point,
|
|
58
|
-
positions,
|
|
59
|
-
fixedPoint = [0, 0],
|
|
60
|
-
startPoint = [0, 0],
|
|
61
|
-
isRelative,
|
|
62
|
-
isString,
|
|
63
|
-
operator,
|
|
64
|
-
matrixTransform = function (p,
|
|
65
|
-
m) {
|
|
66
|
-
return [
|
|
67
|
-
m.a * p[0] + m.c * p[1] + m.e,
|
|
68
|
-
m.b * p[0] + m.d * p[1] + m.f
|
|
69
|
-
];
|
|
70
|
-
};
|
|
71
|
-
path = path
|
|
72
|
-
// Scientific notation
|
|
73
|
-
.replace(/[0-9]+e-?[0-9]+/g, function (a) {
|
|
74
|
-
return (+a); // cast to number
|
|
75
|
-
})
|
|
76
|
-
// Move letters apart
|
|
77
|
-
.replace(/([A-Za-z])/g, ' $1 ')
|
|
78
|
-
// Add space before minus
|
|
79
|
-
.replace(/-/g, ' -')
|
|
80
|
-
// Trim
|
|
81
|
-
.replace(/^\s*/, '').replace(/\s*$/, '')
|
|
82
|
-
// Remove newlines, tabs etc
|
|
83
|
-
.replace(/\s+/g, ' ')
|
|
84
|
-
// Split on spaces, minus and commas
|
|
85
|
-
.split(/[ ,]+/);
|
|
86
|
-
// Blank path
|
|
87
|
-
if (path.length === 1) {
|
|
88
|
-
return [];
|
|
89
|
-
}
|
|
90
|
-
// Real path
|
|
91
|
-
for (i = 0; i < path.length; i++) {
|
|
92
|
-
isString = /[a-zA-Z]/.test(path[i]);
|
|
93
|
-
// Handle strings
|
|
94
|
-
if (isString) {
|
|
95
|
-
operator = path[i];
|
|
96
|
-
positions = 2;
|
|
97
|
-
// Curves have six positions
|
|
98
|
-
if (operator === 'c' || operator === 'C') {
|
|
99
|
-
positions = 6;
|
|
100
|
-
}
|
|
101
|
-
// When moving after a closed subpath, start again from previous
|
|
102
|
-
// subpath's starting point
|
|
103
|
-
if (operator === 'm') {
|
|
104
|
-
startPoint = [
|
|
105
|
-
parseFloat(path[i + 1]) + startPoint[0],
|
|
106
|
-
parseFloat(path[i + 2]) + startPoint[1]
|
|
107
|
-
];
|
|
108
|
-
}
|
|
109
|
-
else if (operator === 'M') {
|
|
110
|
-
startPoint = [
|
|
111
|
-
parseFloat(path[i + 1]),
|
|
112
|
-
parseFloat(path[i + 2])
|
|
113
|
-
];
|
|
114
|
-
}
|
|
115
|
-
// Enter or exit relative mode
|
|
116
|
-
if (operator === 'm' || operator === 'l' || operator === 'c') {
|
|
117
|
-
path[i] = operator.toUpperCase();
|
|
118
|
-
isRelative = true;
|
|
119
|
-
}
|
|
120
|
-
else if (operator === 'M' ||
|
|
121
|
-
operator === 'L' ||
|
|
122
|
-
operator === 'C') {
|
|
123
|
-
isRelative = false;
|
|
124
|
-
// Horizontal and vertical line to
|
|
125
|
-
}
|
|
126
|
-
else if (operator === 'h') {
|
|
127
|
-
isRelative = true;
|
|
128
|
-
path[i] = 'L';
|
|
129
|
-
path.splice(i + 2, 0, 0);
|
|
130
|
-
}
|
|
131
|
-
else if (operator === 'v') {
|
|
132
|
-
isRelative = true;
|
|
133
|
-
path[i] = 'L';
|
|
134
|
-
path.splice(i + 1, 0, 0);
|
|
135
|
-
}
|
|
136
|
-
else if (operator === 's') {
|
|
137
|
-
isRelative = true;
|
|
138
|
-
path[i] = 'L';
|
|
139
|
-
path.splice(i + 1, 2);
|
|
140
|
-
}
|
|
141
|
-
else if (operator === 'S') {
|
|
142
|
-
isRelative = false;
|
|
143
|
-
path[i] = 'L';
|
|
144
|
-
path.splice(i + 1, 2);
|
|
145
|
-
}
|
|
146
|
-
else if (operator === 'H' || operator === 'h') {
|
|
147
|
-
isRelative = false;
|
|
148
|
-
path[i] = 'L';
|
|
149
|
-
path.splice(i + 2, 0, fixedPoint[1]);
|
|
150
|
-
}
|
|
151
|
-
else if (operator === 'V' || operator === 'v') {
|
|
152
|
-
isRelative = false;
|
|
153
|
-
path[i] = 'L';
|
|
154
|
-
path.splice(i + 1, 0, fixedPoint[0]);
|
|
155
|
-
}
|
|
156
|
-
else if (operator === 'z' || operator === 'Z') {
|
|
157
|
-
fixedPoint = startPoint;
|
|
158
|
-
}
|
|
159
|
-
// Handle numbers
|
|
160
|
-
}
|
|
161
|
-
else {
|
|
162
|
-
path[i] = parseFloat(path[i]);
|
|
163
|
-
if (isRelative) {
|
|
164
|
-
path[i] += fixedPoint[position % 2];
|
|
165
|
-
}
|
|
166
|
-
if (position % 2 === 1) { // y
|
|
167
|
-
// only translate absolute points or initial moveTo
|
|
168
|
-
if (matrix &&
|
|
169
|
-
(!isRelative || (operator === 'm' && i < 3))) {
|
|
170
|
-
point = matrixTransform([path[i - 1], path[i]], matrix);
|
|
171
|
-
path[i - 1] = point[0];
|
|
172
|
-
path[i] = point[1];
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
// Reset to zero position (x/y switching)
|
|
176
|
-
if (position === positions - 1) {
|
|
177
|
-
// Set the fixed point for the next pair
|
|
178
|
-
fixedPoint = [path[i - 1], path[i]];
|
|
179
|
-
position = 0;
|
|
180
|
-
}
|
|
181
|
-
else {
|
|
182
|
-
position += 1;
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
// Handle polygon points
|
|
187
|
-
if (typeof path[0] === 'number' && path.length >= 4) {
|
|
188
|
-
path.unshift('M');
|
|
189
|
-
path.splice(3, 0, 'L');
|
|
190
|
-
}
|
|
191
|
-
return path;
|
|
192
|
-
},
|
|
193
|
-
// Join the path back to a string for compression
|
|
194
|
-
pathToString: function (arr) {
|
|
195
|
-
arr.forEach(function (point) {
|
|
196
|
-
var path = point.path;
|
|
197
|
-
// Join all by commas
|
|
198
|
-
path = path.join(',');
|
|
199
|
-
// Remove commas next to a letter
|
|
200
|
-
path = path.replace(/,?([a-zA-Z]),?/g, '$1');
|
|
201
|
-
// Reinsert
|
|
202
|
-
point.path = path;
|
|
203
|
-
});
|
|
204
|
-
return arr;
|
|
205
|
-
},
|
|
206
|
-
// Scale the path to fit within a given box and round all numbers
|
|
207
|
-
roundPaths: function (arr, scale) {
|
|
208
|
-
var mapProto = H.seriesTypes.map.prototype,
|
|
209
|
-
fakeSeries,
|
|
210
|
-
origSize,
|
|
211
|
-
transA;
|
|
212
|
-
fakeSeries = {
|
|
213
|
-
xAxis: {
|
|
214
|
-
translate: H.Axis.prototype.translate,
|
|
215
|
-
options: {},
|
|
216
|
-
minPixelPadding: 0
|
|
217
|
-
},
|
|
218
|
-
yAxis: {
|
|
219
|
-
translate: H.Axis.prototype.translate,
|
|
220
|
-
options: {},
|
|
221
|
-
minPixelPadding: 0
|
|
222
|
-
}
|
|
223
|
-
};
|
|
224
|
-
// Borrow the map series type's getBox method
|
|
225
|
-
mapProto.getBox.call(fakeSeries, arr);
|
|
226
|
-
origSize = Math.max(fakeSeries.maxX - fakeSeries.minX, fakeSeries.maxY - fakeSeries.minY);
|
|
227
|
-
scale = scale || 1000;
|
|
228
|
-
transA = scale / origSize;
|
|
229
|
-
fakeSeries.xAxis.transA = fakeSeries.yAxis.transA = transA;
|
|
230
|
-
fakeSeries.xAxis.len = fakeSeries.yAxis.len = scale;
|
|
231
|
-
fakeSeries.xAxis.min = fakeSeries.minX;
|
|
232
|
-
fakeSeries.yAxis.min = (fakeSeries.minY + scale) / transA;
|
|
233
|
-
arr.forEach(function (point) {
|
|
234
|
-
var i,
|
|
235
|
-
path;
|
|
236
|
-
point.path = path = mapProto.translatePath.call(fakeSeries, point.path, true);
|
|
237
|
-
i = path.length;
|
|
238
|
-
while (i--) {
|
|
239
|
-
if (typeof path[i] === 'number') {
|
|
240
|
-
path[i] = Math.round(path[i]);
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
delete point._foundBox;
|
|
244
|
-
});
|
|
245
|
-
return arr;
|
|
246
|
-
},
|
|
247
|
-
// Load an SVG file and extract the paths
|
|
248
|
-
loadSVG: function () {
|
|
249
|
-
var data = this,
|
|
250
|
-
options = this.options;
|
|
251
|
-
/* eslint-disable valid-jsdoc */
|
|
252
|
-
/**
|
|
253
|
-
* @private
|
|
254
|
-
*/
|
|
255
|
-
function getPathLikeChildren(parent) {
|
|
256
|
-
return Array.prototype.slice
|
|
257
|
-
.call(parent.getElementsByTagName('path'))
|
|
258
|
-
.concat(Array.prototype.slice.call(parent.getElementsByTagName('polygon')))
|
|
259
|
-
.concat(Array.prototype.slice.call(parent.getElementsByTagName('rect')));
|
|
260
|
-
}
|
|
261
|
-
/**
|
|
262
|
-
* @private
|
|
263
|
-
*/
|
|
264
|
-
function getPathDefinition(node) {
|
|
265
|
-
if (node.nodeName === 'path') {
|
|
266
|
-
return node.getAttribute('d');
|
|
267
|
-
}
|
|
268
|
-
if (node.nodeName === 'polygon') {
|
|
269
|
-
return node.getAttribute('points');
|
|
270
|
-
}
|
|
271
|
-
if (node.nodeName === 'rect') {
|
|
272
|
-
var x = +node.getAttribute('x'), y = +node.getAttribute('y'), w = +node.getAttribute('width'), h = +node.getAttribute('height');
|
|
273
|
-
// Return polygon definition
|
|
274
|
-
return [x, y, x + w, y, x + w, y + h, x, y + h, x, y].join(' ');
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
/**
|
|
278
|
-
* @private
|
|
279
|
-
*/
|
|
280
|
-
function getTranslate(elem) {
|
|
281
|
-
var ctm = elem.getCTM();
|
|
282
|
-
if (!isNaN(ctm.f)) {
|
|
283
|
-
return ctm;
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
/**
|
|
287
|
-
* @private
|
|
288
|
-
*/
|
|
289
|
-
function getName(elem) {
|
|
290
|
-
var desc = elem.getElementsByTagName('desc'), nameTag = desc[0] && desc[0].getElementsByTagName('name'), name = nameTag && nameTag[0] && nameTag[0].innerText;
|
|
291
|
-
return (name ||
|
|
292
|
-
elem.getAttribute('inkscape:label') ||
|
|
293
|
-
elem.getAttribute('id') ||
|
|
294
|
-
elem.getAttribute('class'));
|
|
295
|
-
}
|
|
296
|
-
/**
|
|
297
|
-
* @private
|
|
298
|
-
*/
|
|
299
|
-
function hasFill(elem) {
|
|
300
|
-
return (!/fill[\s]?\:[\s]?none/.test(elem.getAttribute('style')) &&
|
|
301
|
-
elem.getAttribute('fill') !== 'none');
|
|
302
|
-
}
|
|
303
|
-
/**
|
|
304
|
-
* @private
|
|
305
|
-
*/
|
|
306
|
-
function handleSVG(xml) {
|
|
307
|
-
var arr = [],
|
|
308
|
-
currentParent,
|
|
309
|
-
allPaths,
|
|
310
|
-
commonLineage,
|
|
311
|
-
lastCommonAncestor,
|
|
312
|
-
handleGroups;
|
|
313
|
-
// Make a hidden frame where the SVG is rendered
|
|
314
|
-
data.$frame = data.$frame || $('<div>')
|
|
315
|
-
.css({
|
|
316
|
-
position: 'absolute',
|
|
317
|
-
top: '-9999em'
|
|
318
|
-
})
|
|
319
|
-
.appendTo($(document.body));
|
|
320
|
-
data.$frame.html(xml);
|
|
321
|
-
xml = $('svg', data.$frame)[0];
|
|
322
|
-
xml.removeAttribute('viewBox');
|
|
323
|
-
allPaths = getPathLikeChildren(xml);
|
|
324
|
-
// Skip clip paths
|
|
325
|
-
['defs', 'clipPath'].forEach(function (nodeName) {
|
|
326
|
-
xml.getElementsByTagName(nodeName).forEach(function (parent) {
|
|
327
|
-
parent.getElementsByTagName('path').forEach(function (path) {
|
|
328
|
-
path.skip = true;
|
|
329
|
-
});
|
|
330
|
-
});
|
|
331
|
-
});
|
|
332
|
-
// If not all paths belong to the same group, handle groups
|
|
333
|
-
allPaths.forEach(function (path, i) {
|
|
334
|
-
if (!path.skip) {
|
|
335
|
-
var itemLineage = [],
|
|
336
|
-
parentNode,
|
|
337
|
-
j;
|
|
338
|
-
if (i > 0 && path.parentNode !== currentParent) {
|
|
339
|
-
handleGroups = true;
|
|
340
|
-
}
|
|
341
|
-
currentParent = path.parentNode;
|
|
342
|
-
// Handle common lineage
|
|
343
|
-
parentNode = path;
|
|
344
|
-
while (parentNode) {
|
|
345
|
-
itemLineage.push(parentNode);
|
|
346
|
-
parentNode = parentNode.parentNode;
|
|
347
|
-
}
|
|
348
|
-
itemLineage.reverse();
|
|
349
|
-
if (!commonLineage) {
|
|
350
|
-
commonLineage = itemLineage; // first iteration
|
|
351
|
-
}
|
|
352
|
-
else {
|
|
353
|
-
for (j = 0; j < commonLineage.length; j++) {
|
|
354
|
-
if (commonLineage[j] !== itemLineage[j]) {
|
|
355
|
-
commonLineage = commonLineage.slice(0, j);
|
|
356
|
-
}
|
|
357
|
-
}
|
|
358
|
-
}
|
|
359
|
-
}
|
|
360
|
-
});
|
|
361
|
-
lastCommonAncestor = commonLineage[commonLineage.length - 1];
|
|
362
|
-
// Iterate groups to find sub paths
|
|
363
|
-
if (handleGroups) {
|
|
364
|
-
lastCommonAncestor.getElementsByTagName('g').forEach(function (g) {
|
|
365
|
-
var groupPath = [],
|
|
366
|
-
pathHasFill;
|
|
367
|
-
getPathLikeChildren(g).forEach(function (path) {
|
|
368
|
-
if (!path.skip) {
|
|
369
|
-
groupPath = groupPath.concat(data.pathToArray(getPathDefinition(path), getTranslate(path)));
|
|
370
|
-
if (hasFill(path)) {
|
|
371
|
-
pathHasFill = true;
|
|
372
|
-
}
|
|
373
|
-
path.skip = true;
|
|
374
|
-
}
|
|
375
|
-
});
|
|
376
|
-
arr.push({
|
|
377
|
-
name: getName(g),
|
|
378
|
-
path: groupPath,
|
|
379
|
-
hasFill: pathHasFill
|
|
380
|
-
});
|
|
381
|
-
});
|
|
382
|
-
}
|
|
383
|
-
// Iterate the remaining paths that are not parts of groups
|
|
384
|
-
allPaths.forEach(function (path) {
|
|
385
|
-
if (!path.skip) {
|
|
386
|
-
arr.push({
|
|
387
|
-
name: getName(path),
|
|
388
|
-
path: data.pathToArray(getPathDefinition(path), getTranslate(path)),
|
|
389
|
-
hasFill: hasFill(path)
|
|
390
|
-
});
|
|
391
|
-
}
|
|
392
|
-
});
|
|
393
|
-
// Round off to compress
|
|
394
|
-
data.roundPaths(arr);
|
|
395
|
-
// Do the callback
|
|
396
|
-
options.complete({
|
|
397
|
-
series: [{
|
|
398
|
-
data: arr
|
|
399
|
-
}]
|
|
400
|
-
});
|
|
401
|
-
}
|
|
402
|
-
/* eslint-enable valid-jsdoc */
|
|
403
|
-
if (options.svg.indexOf('<svg') !== -1) {
|
|
404
|
-
handleSVG(options.svg);
|
|
405
|
-
}
|
|
406
|
-
else {
|
|
407
|
-
jQuery.ajax({
|
|
408
|
-
url: options.svg,
|
|
409
|
-
dataType: 'text',
|
|
410
|
-
success: handleSVG
|
|
411
|
-
});
|
|
412
|
-
}
|
|
413
|
-
}
|
|
414
|
-
});
|
|
415
|
-
|
|
416
|
-
});
|
|
417
|
-
_registerModule(_modules, 'masters/modules/map-parser.src.js', [], function () {
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
});
|
|
421
|
-
}));
|