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
|
@@ -13,7 +13,12 @@
|
|
|
13
13
|
// - Set up systematic tests for all series types, paired with tests of the data
|
|
14
14
|
// module importing the same data.
|
|
15
15
|
'use strict';
|
|
16
|
-
import
|
|
16
|
+
import Axis from '../Core/Axis/Axis.js';
|
|
17
|
+
import Chart from '../Core/Chart/Chart.js';
|
|
18
|
+
import H from '../Core/Globals.js';
|
|
19
|
+
var doc = H.doc, seriesTypes = H.seriesTypes, win = H.win;
|
|
20
|
+
import U from '../Core/Utilities.js';
|
|
21
|
+
var addEvent = U.addEvent, defined = U.defined, extend = U.extend, find = U.find, fireEvent = U.fireEvent, getOptions = U.getOptions, isNumber = U.isNumber, pick = U.pick, setOptions = U.setOptions;
|
|
17
22
|
/**
|
|
18
23
|
* Function callback to execute while data rows are processed for exporting.
|
|
19
24
|
* This allows the modification of data rows before processed into the final
|
|
@@ -37,12 +42,8 @@ import Highcharts from '../parts/Globals.js';
|
|
|
37
42
|
* @name Highcharts.ExportDataEventObject#dataRows
|
|
38
43
|
* @type {Array<Array<string>>}
|
|
39
44
|
*/
|
|
40
|
-
import
|
|
41
|
-
var
|
|
42
|
-
import '../parts/Chart.js';
|
|
43
|
-
import '../mixins/ajax.js';
|
|
44
|
-
import '../mixins/download-url.js';
|
|
45
|
-
var win = Highcharts.win, doc = win.document, seriesTypes = Highcharts.seriesTypes, downloadURL = Highcharts.downloadURL, fireEvent = Highcharts.fireEvent;
|
|
45
|
+
import DownloadURL from '../Extensions/DownloadURL.js';
|
|
46
|
+
var downloadURL = DownloadURL.downloadURL;
|
|
46
47
|
// Can we add this to utils? Also used in screen-reader.js
|
|
47
48
|
/**
|
|
48
49
|
* HTML encode some characters vulnerable for XSS.
|
|
@@ -59,7 +60,7 @@ function htmlencode(html) {
|
|
|
59
60
|
.replace(/'/g, ''')
|
|
60
61
|
.replace(/\//g, '/');
|
|
61
62
|
}
|
|
62
|
-
|
|
63
|
+
setOptions({
|
|
63
64
|
/**
|
|
64
65
|
* Callback that fires while exporting data. This allows the modification of
|
|
65
66
|
* data rows before processed into the final format.
|
|
@@ -120,6 +121,37 @@ Highcharts.setOptions({
|
|
|
120
121
|
* @requires modules/export-data
|
|
121
122
|
*/
|
|
122
123
|
csv: {
|
|
124
|
+
/**
|
|
125
|
+
*
|
|
126
|
+
* Options for annotations in the export-data table.
|
|
127
|
+
*
|
|
128
|
+
* @since 8.2.0
|
|
129
|
+
* @requires modules/export-data
|
|
130
|
+
* @requires modules/annotations
|
|
131
|
+
*
|
|
132
|
+
*
|
|
133
|
+
*/
|
|
134
|
+
annotations: {
|
|
135
|
+
/**
|
|
136
|
+
* The way to mark the separator for annotations
|
|
137
|
+
* combined in one export-data table cell.
|
|
138
|
+
*
|
|
139
|
+
* @since 8.2.0
|
|
140
|
+
* @requires modules/annotations
|
|
141
|
+
*/
|
|
142
|
+
itemDelimiter: '; ',
|
|
143
|
+
/**
|
|
144
|
+
* When several labels are assigned to a specific point,
|
|
145
|
+
* they will be displayed in one field in the table.
|
|
146
|
+
*
|
|
147
|
+
* @sample highcharts/export-data/join-annotations/
|
|
148
|
+
* Concatenate point annotations with itemDelimiter set.
|
|
149
|
+
*
|
|
150
|
+
* @since 8.2.0
|
|
151
|
+
* @requires modules/annotations
|
|
152
|
+
*/
|
|
153
|
+
join: false
|
|
154
|
+
},
|
|
123
155
|
/**
|
|
124
156
|
* Formatter callback for the column headers. Parameters are:
|
|
125
157
|
* - `item` - The series or axis object)
|
|
@@ -241,6 +273,10 @@ Highcharts.setOptions({
|
|
|
241
273
|
* @requires modules/export-data
|
|
242
274
|
*/
|
|
243
275
|
exportData: {
|
|
276
|
+
/**
|
|
277
|
+
* The annotation column title.
|
|
278
|
+
*/
|
|
279
|
+
annotationHeader: 'Annotations',
|
|
244
280
|
/**
|
|
245
281
|
* The category column title.
|
|
246
282
|
*/
|
|
@@ -256,16 +292,24 @@ Highcharts.setOptions({
|
|
|
256
292
|
* @since 6.0.0
|
|
257
293
|
* @requires modules/export-data
|
|
258
294
|
*/
|
|
259
|
-
viewData: 'View data table'
|
|
295
|
+
viewData: 'View data table',
|
|
296
|
+
/**
|
|
297
|
+
* The text for the menu item.
|
|
298
|
+
*
|
|
299
|
+
* @since 8.2.0
|
|
300
|
+
* @requires modules/export-data
|
|
301
|
+
*/
|
|
302
|
+
hideData: 'Hide data table'
|
|
260
303
|
}
|
|
261
304
|
});
|
|
262
305
|
/* eslint-disable no-invalid-this */
|
|
263
306
|
// Add an event listener to handle the showTable option
|
|
264
|
-
|
|
307
|
+
addEvent(Chart, 'render', function () {
|
|
265
308
|
if (this.options &&
|
|
266
309
|
this.options.exporting &&
|
|
267
310
|
this.options.exporting.showTable &&
|
|
268
|
-
!this.options.chart.forExport
|
|
311
|
+
!this.options.chart.forExport &&
|
|
312
|
+
!this.dataTableDiv) {
|
|
269
313
|
this.viewData();
|
|
270
314
|
}
|
|
271
315
|
});
|
|
@@ -279,7 +323,7 @@ Highcharts.addEvent(Highcharts.Chart, 'render', function () {
|
|
|
279
323
|
* @private
|
|
280
324
|
* @function Highcharts.Chart#setUpKeyToAxis
|
|
281
325
|
*/
|
|
282
|
-
|
|
326
|
+
Chart.prototype.setUpKeyToAxis = function () {
|
|
283
327
|
if (seriesTypes.arearange) {
|
|
284
328
|
seriesTypes.arearange.prototype.keyToAxis = {
|
|
285
329
|
low: 'y',
|
|
@@ -309,7 +353,7 @@ Highcharts.Chart.prototype.setUpKeyToAxis = function () {
|
|
|
309
353
|
*
|
|
310
354
|
* @fires Highcharts.Chart#event:exportData
|
|
311
355
|
*/
|
|
312
|
-
|
|
356
|
+
Chart.prototype.getDataRows = function (multiLevelHeaders) {
|
|
313
357
|
var hasParallelCoords = this.hasParallelCoordinates, time = this.time, csvOptions = ((this.options.exporting && this.options.exporting.csv) || {}), xAxis, xAxes = this.xAxis, rows = {}, rowArr = [], dataRows, topLevelColumnTitles = [], columnTitles = [], columnTitleObj, i, x, xTitle, langOptions = this.options.lang, exportDataOptions = langOptions.exportData, categoryHeader = exportDataOptions.categoryHeader, categoryDatetimeHeader = exportDataOptions.categoryDatetimeHeader,
|
|
314
358
|
// Options
|
|
315
359
|
columnHeaderFormatter = function (item, key, keyLength) {
|
|
@@ -322,7 +366,7 @@ Highcharts.Chart.prototype.getDataRows = function (multiLevelHeaders) {
|
|
|
322
366
|
if (!item) {
|
|
323
367
|
return categoryHeader;
|
|
324
368
|
}
|
|
325
|
-
if (item instanceof
|
|
369
|
+
if (item instanceof Axis) {
|
|
326
370
|
return (item.options.title && item.options.title.text) ||
|
|
327
371
|
(item.dateTime ? categoryDatetimeHeader : categoryHeader);
|
|
328
372
|
}
|
|
@@ -344,7 +388,7 @@ Highcharts.Chart.prototype.getDataRows = function (multiLevelHeaders) {
|
|
|
344
388
|
prop) + 'Axis',
|
|
345
389
|
// Points in parallel coordinates refers to all yAxis
|
|
346
390
|
// not only `series.yAxis`
|
|
347
|
-
axis =
|
|
391
|
+
axis = isNumber(pIdx) ?
|
|
348
392
|
series.chart[axisName][pIdx] :
|
|
349
393
|
series[axisName];
|
|
350
394
|
categoryMap[prop] = (axis && axis.categories) || [];
|
|
@@ -354,12 +398,33 @@ Highcharts.Chart.prototype.getDataRows = function (multiLevelHeaders) {
|
|
|
354
398
|
categoryMap: categoryMap,
|
|
355
399
|
dateTimeValueAxisMap: dateTimeValueAxisMap
|
|
356
400
|
};
|
|
401
|
+
},
|
|
402
|
+
// Create point array depends if xAxis is category
|
|
403
|
+
// or point.name is defined #13293
|
|
404
|
+
getPointArray = function (series, xAxis) {
|
|
405
|
+
var namedPoints = series.data.filter(function (d) {
|
|
406
|
+
return (typeof d.y !== 'undefined') && d.name;
|
|
407
|
+
});
|
|
408
|
+
if (namedPoints.length &&
|
|
409
|
+
xAxis &&
|
|
410
|
+
!xAxis.categories &&
|
|
411
|
+
!series.keyToAxis) {
|
|
412
|
+
if (series.pointArrayMap) {
|
|
413
|
+
var pointArrayMapCheck = series.pointArrayMap.filter(function (p) { return p === 'x'; });
|
|
414
|
+
if (pointArrayMapCheck.length) {
|
|
415
|
+
series.pointArrayMap.unshift('x');
|
|
416
|
+
return series.pointArrayMap;
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
return ['x', 'y'];
|
|
420
|
+
}
|
|
421
|
+
return series.pointArrayMap || ['y'];
|
|
357
422
|
}, xAxisIndices = [];
|
|
358
423
|
// Loop the series and index values
|
|
359
424
|
i = 0;
|
|
360
425
|
this.setUpKeyToAxis();
|
|
361
426
|
this.series.forEach(function (series) {
|
|
362
|
-
var keys = series.options.keys, xAxis = series.xAxis, pointArrayMap = keys || series
|
|
427
|
+
var keys = series.options.keys, xAxis = series.xAxis, pointArrayMap = keys || getPointArray(series, xAxis), valueCount = pointArrayMap.length, xTaken = !series.requireSorting && {}, xAxisIndex = xAxes.indexOf(xAxis), categoryAndDatetimeMap = getCategoryAndDateTimeMap(series, pointArrayMap), mockSeries, j;
|
|
363
428
|
if (series.options.includeInDataExport !== false &&
|
|
364
429
|
!series.options.isInternal &&
|
|
365
430
|
series.visible !== false // #55
|
|
@@ -367,7 +432,7 @@ Highcharts.Chart.prototype.getDataRows = function (multiLevelHeaders) {
|
|
|
367
432
|
// Build a lookup for X axis index and the position of the first
|
|
368
433
|
// series that belongs to that X axis. Includes -1 for non-axis
|
|
369
434
|
// series types like pies.
|
|
370
|
-
if (!
|
|
435
|
+
if (!find(xAxisIndices, function (index) {
|
|
371
436
|
return index[0] === xAxisIndex;
|
|
372
437
|
})) {
|
|
373
438
|
xAxisIndices.push([xAxisIndex, i]);
|
|
@@ -407,7 +472,7 @@ Highcharts.Chart.prototype.getDataRows = function (multiLevelHeaders) {
|
|
|
407
472
|
// Pies, funnels, geo maps etc. use point name in X row
|
|
408
473
|
if (!xAxis ||
|
|
409
474
|
series.exportKey === 'name' ||
|
|
410
|
-
(!hasParallelCoords && xAxis && xAxis.hasNames)) {
|
|
475
|
+
(!hasParallelCoords && xAxis && xAxis.hasNames) && name) {
|
|
411
476
|
key = name;
|
|
412
477
|
}
|
|
413
478
|
if (xTaken) {
|
|
@@ -510,7 +575,7 @@ Highcharts.Chart.prototype.getDataRows = function (multiLevelHeaders) {
|
|
|
510
575
|
* @return {string}
|
|
511
576
|
* CSV representation of the data
|
|
512
577
|
*/
|
|
513
|
-
|
|
578
|
+
Chart.prototype.getCSV = function (useLocalDecimalPoint) {
|
|
514
579
|
var csv = '', rows = this.getDataRows(), csvOptions = this.options.exporting.csv, decimalPoint = pick(csvOptions.decimalPoint, csvOptions.itemDelimiter !== ',' && useLocalDecimalPoint ?
|
|
515
580
|
(1.1).toLocaleString()[1] :
|
|
516
581
|
'.'),
|
|
@@ -561,7 +626,7 @@ Highcharts.Chart.prototype.getCSV = function (useLocalDecimalPoint) {
|
|
|
561
626
|
*
|
|
562
627
|
* @fires Highcharts.Chart#event:afterGetTable
|
|
563
628
|
*/
|
|
564
|
-
|
|
629
|
+
Chart.prototype.getTable = function (useLocalDecimalPoint) {
|
|
565
630
|
var html = '<table id="highcharts-data-table-' + this.index + '">', options = this.options, decimalPoint = useLocalDecimalPoint ? (1.1).toLocaleString()[1] : '.', useMultiLevelHeaders = pick(options.exporting.useMultiLevelHeaders, true), rows = this.getDataRows(useMultiLevelHeaders), rowLength = 0, topHeaders = useMultiLevelHeaders ? rows.shift() : null, subHeaders = rows.shift(),
|
|
566
631
|
// Compare two rows for equality
|
|
567
632
|
isRowEqual = function (row1, row2) {
|
|
@@ -731,7 +796,7 @@ function getBlobFromContent(content, type) {
|
|
|
731
796
|
*
|
|
732
797
|
* @requires modules/exporting
|
|
733
798
|
*/
|
|
734
|
-
|
|
799
|
+
Chart.prototype.downloadCSV = function () {
|
|
735
800
|
var csv = this.getCSV(true);
|
|
736
801
|
downloadURL(getBlobFromContent(csv, 'text/csv') ||
|
|
737
802
|
'data:text/csv,\uFEFF' + encodeURIComponent(csv), this.getFilename() + '.csv');
|
|
@@ -746,7 +811,7 @@ Highcharts.Chart.prototype.downloadCSV = function () {
|
|
|
746
811
|
*
|
|
747
812
|
* @requires modules/exporting
|
|
748
813
|
*/
|
|
749
|
-
|
|
814
|
+
Chart.prototype.downloadXLS = function () {
|
|
750
815
|
var uri = 'data:application/vnd.ms-excel;base64,', template = '<html xmlns:o="urn:schemas-microsoft-com:office:office" ' +
|
|
751
816
|
'xmlns:x="urn:schemas-microsoft-com:office:excel" ' +
|
|
752
817
|
'xmlns="http://www.w3.org/TR/REC-html40">' +
|
|
@@ -776,18 +841,53 @@ Highcharts.Chart.prototype.downloadXLS = function () {
|
|
|
776
841
|
*
|
|
777
842
|
* @fires Highcharts.Chart#event:afterViewData
|
|
778
843
|
*/
|
|
779
|
-
|
|
844
|
+
Chart.prototype.viewData = function () {
|
|
845
|
+
// Create div and generate the data table.
|
|
780
846
|
if (!this.dataTableDiv) {
|
|
781
847
|
this.dataTableDiv = doc.createElement('div');
|
|
782
848
|
this.dataTableDiv.className = 'highcharts-data-table';
|
|
783
849
|
// Insert after the chart container
|
|
784
850
|
this.renderTo.parentNode.insertBefore(this.dataTableDiv, this.renderTo.nextSibling);
|
|
851
|
+
this.dataTableDiv.innerHTML = this.getTable();
|
|
852
|
+
}
|
|
853
|
+
// Show the data table again.
|
|
854
|
+
if (this.dataTableDiv.style.display === '' || this.dataTableDiv.style.display === 'none') {
|
|
855
|
+
this.dataTableDiv.style.display = 'block';
|
|
785
856
|
}
|
|
786
|
-
this.
|
|
857
|
+
this.isDataTableVisible = true;
|
|
787
858
|
fireEvent(this, 'afterViewData', this.dataTableDiv);
|
|
788
859
|
};
|
|
860
|
+
/**
|
|
861
|
+
* Export-data module required. Hide the data table when visible.
|
|
862
|
+
*
|
|
863
|
+
* @function Highcharts.Chart#hideData
|
|
864
|
+
*/
|
|
865
|
+
Chart.prototype.hideData = function () {
|
|
866
|
+
if (this.dataTableDiv && this.dataTableDiv.style.display === 'block') {
|
|
867
|
+
this.dataTableDiv.style.display = 'none';
|
|
868
|
+
}
|
|
869
|
+
this.isDataTableVisible = false;
|
|
870
|
+
};
|
|
871
|
+
Chart.prototype.toggleDataTable = function () {
|
|
872
|
+
var exportDivElements = this.exportDivElements, options = this.options.exporting, menuItems = options && options.buttons && options.buttons.contextButton.menuItems, lang = this.options.lang;
|
|
873
|
+
if (this.isDataTableVisible) {
|
|
874
|
+
this.hideData();
|
|
875
|
+
}
|
|
876
|
+
else {
|
|
877
|
+
this.viewData();
|
|
878
|
+
}
|
|
879
|
+
// Change the button text based on table visibility.
|
|
880
|
+
if ((exportingOptions === null || exportingOptions === void 0 ? void 0 : exportingOptions.menuItemDefinitions) && (lang === null || lang === void 0 ? void 0 : lang.viewData) &&
|
|
881
|
+
lang.hideData &&
|
|
882
|
+
menuItems &&
|
|
883
|
+
exportDivElements &&
|
|
884
|
+
exportDivElements.length) {
|
|
885
|
+
exportDivElements[menuItems.indexOf('viewData')]
|
|
886
|
+
.innerHTML = this.isDataTableVisible ? lang.hideData : lang.viewData;
|
|
887
|
+
}
|
|
888
|
+
};
|
|
789
889
|
// Add "Download CSV" to the exporting menu.
|
|
790
|
-
var exportingOptions =
|
|
890
|
+
var exportingOptions = getOptions().exporting;
|
|
791
891
|
if (exportingOptions) {
|
|
792
892
|
extend(exportingOptions.menuItemDefinitions, {
|
|
793
893
|
downloadCSV: {
|
|
@@ -805,7 +905,7 @@ if (exportingOptions) {
|
|
|
805
905
|
viewData: {
|
|
806
906
|
textKey: 'viewData',
|
|
807
907
|
onclick: function () {
|
|
808
|
-
this.
|
|
908
|
+
this.toggleDataTable();
|
|
809
909
|
}
|
|
810
910
|
}
|
|
811
911
|
});
|
|
@@ -10,7 +10,15 @@
|
|
|
10
10
|
*
|
|
11
11
|
* */
|
|
12
12
|
'use strict';
|
|
13
|
-
import
|
|
13
|
+
import Chart from '../Core/Chart/Chart.js';
|
|
14
|
+
import chartNavigationMixin from '../Mixins/Navigation.js';
|
|
15
|
+
import H from '../Core/Globals.js';
|
|
16
|
+
var doc = H.doc, isTouchDevice = H.isTouchDevice, win = H.win;
|
|
17
|
+
import O from '../Core/Options.js';
|
|
18
|
+
var defaultOptions = O.defaultOptions;
|
|
19
|
+
import SVGRenderer from '../Core/Renderer/SVG/SVGRenderer.js';
|
|
20
|
+
import U from '../Core/Utilities.js';
|
|
21
|
+
var addEvent = U.addEvent, css = U.css, createElement = U.createElement, discardElement = U.discardElement, extend = U.extend, find = U.find, fireEvent = U.fireEvent, isObject = U.isObject, merge = U.merge, objectEach = U.objectEach, pick = U.pick, removeEvent = U.removeEvent, uniqueKey = U.uniqueKey;
|
|
14
22
|
/**
|
|
15
23
|
* Gets fired after a chart is printed through the context menu item or the
|
|
16
24
|
* Chart.print method.
|
|
@@ -77,13 +85,8 @@ import H from '../parts/Globals.js';
|
|
|
77
85
|
*
|
|
78
86
|
* @typedef {"image/png"|"image/jpeg"|"application/pdf"|"image/svg+xml"} Highcharts.ExportingMimeTypeValue
|
|
79
87
|
*/
|
|
80
|
-
import U from '../parts/Utilities.js';
|
|
81
|
-
var addEvent = U.addEvent, css = U.css, createElement = U.createElement, discardElement = U.discardElement, extend = U.extend, find = U.find, fireEvent = U.fireEvent, isObject = U.isObject, merge = U.merge, objectEach = U.objectEach, pick = U.pick, removeEvent = U.removeEvent, uniqueKey = U.uniqueKey;
|
|
82
|
-
import '../parts/Options.js';
|
|
83
|
-
import '../parts/Chart.js';
|
|
84
|
-
import chartNavigationMixin from '../mixins/navigation.js';
|
|
85
88
|
// create shortcuts
|
|
86
|
-
var
|
|
89
|
+
var userAgent = win.navigator.userAgent, symbols = H.Renderer.prototype.symbols, isMSBrowser = /Edge\/|Trident\/|MSIE /.test(userAgent), isFirefoxBrowser = /firefox/i.test(userAgent);
|
|
87
90
|
// Add language
|
|
88
91
|
extend(defaultOptions.lang
|
|
89
92
|
/**
|
|
@@ -987,7 +990,8 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
987
990
|
'width="' + options.chart.width + '" ' +
|
|
988
991
|
'height="' + options.chart.height + '">' +
|
|
989
992
|
'<body xmlns="http://www.w3.org/1999/xhtml">' +
|
|
990
|
-
|
|
993
|
+
// Some tags needs to be closed in xhtml (#13726)
|
|
994
|
+
html.replace(/(<(?:img|br).*?(?=\>))>/g, '$1 />') +
|
|
991
995
|
'</body>' +
|
|
992
996
|
'</foreignObject>';
|
|
993
997
|
svg = svg.replace('</svg>', html + '</svg>');
|
|
@@ -1113,7 +1117,7 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1113
1117
|
}
|
|
1114
1118
|
});
|
|
1115
1119
|
// generate the chart copy
|
|
1116
|
-
chartCopy = new
|
|
1120
|
+
chartCopy = new Chart(options, chart.callback);
|
|
1117
1121
|
// Axis options and series options (#2022, #3900, #5982)
|
|
1118
1122
|
if (chartOptions) {
|
|
1119
1123
|
['xAxis', 'yAxis', 'series'].forEach(function (coll) {
|
|
@@ -1465,6 +1469,11 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1465
1469
|
element = createElement('hr', null, null, innerMenu);
|
|
1466
1470
|
}
|
|
1467
1471
|
else {
|
|
1472
|
+
// When chart initialized with the table,
|
|
1473
|
+
// wrong button text displayed, #14352.
|
|
1474
|
+
if (item.textKey === 'viewData' && chart.isDataTableVisible) {
|
|
1475
|
+
item.textKey = 'hideData';
|
|
1476
|
+
}
|
|
1468
1477
|
element = createElement('li', {
|
|
1469
1478
|
className: 'highcharts-menu-item',
|
|
1470
1479
|
onclick: function (e) {
|
|
@@ -1796,8 +1805,11 @@ Chart.prototype.inlineStyles = function () {
|
|
|
1796
1805
|
if ((parentStyles[prop] !== val || node.nodeName === 'svg') &&
|
|
1797
1806
|
defaultStyles[node.nodeName][prop] !== val) {
|
|
1798
1807
|
// Attributes
|
|
1799
|
-
if (inlineToAttributes
|
|
1800
|
-
|
|
1808
|
+
if (!inlineToAttributes ||
|
|
1809
|
+
inlineToAttributes.indexOf(prop) !== -1) {
|
|
1810
|
+
if (val) {
|
|
1811
|
+
node.setAttribute(hyphenate(prop), val);
|
|
1812
|
+
}
|
|
1801
1813
|
// Styles
|
|
1802
1814
|
}
|
|
1803
1815
|
else {
|
|
@@ -1865,7 +1877,9 @@ Chart.prototype.inlineStyles = function () {
|
|
|
1865
1877
|
* @return {void}
|
|
1866
1878
|
*/
|
|
1867
1879
|
function tearDown() {
|
|
1868
|
-
dummySVG.parentNode.
|
|
1880
|
+
dummySVG.parentNode.remove();
|
|
1881
|
+
// Remove trash from DOM that stayed after each exporting
|
|
1882
|
+
iframe.remove();
|
|
1869
1883
|
}
|
|
1870
1884
|
recurse(this.container.querySelector('svg'));
|
|
1871
1885
|
tearDown();
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
* License: www.highcharts.com/license
|
|
7
7
|
*/
|
|
8
8
|
'use strict';
|
|
9
|
-
import
|
|
10
|
-
import
|
|
9
|
+
import Chart from '../Core/Chart/Chart.js';
|
|
10
|
+
import H from '../Core/Globals.js';
|
|
11
|
+
import U from '../Core/Utilities.js';
|
|
11
12
|
var addEvent = U.addEvent;
|
|
12
|
-
var Chart = H.Chart;
|
|
13
13
|
/**
|
|
14
14
|
* The module allows user to enable display chart in full screen mode.
|
|
15
15
|
* Used in StockTools too.
|
|
@@ -20,6 +20,8 @@ var Chart = H.Chart;
|
|
|
20
20
|
/**
|
|
21
21
|
* Handles displaying chart's container in the fullscreen mode.
|
|
22
22
|
*
|
|
23
|
+
* **Note**: Fullscreen is not supported on iPhone due to iOS limitations.
|
|
24
|
+
*
|
|
23
25
|
* @class
|
|
24
26
|
* @name Highcharts.Fullscreen
|
|
25
27
|
* @hideconstructor
|
|
@@ -8,7 +8,116 @@
|
|
|
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
|
+
var win = H.win;
|
|
14
|
+
import '../Core/Options.js';
|
|
15
|
+
import U from '../Core/Utilities.js';
|
|
16
|
+
var error = U.error, extend = U.extend, format = U.format, merge = U.merge, wrap = U.wrap;
|
|
17
|
+
/**
|
|
18
|
+
* Represents the loose structure of a geographic JSON file.
|
|
19
|
+
*
|
|
20
|
+
* @interface Highcharts.GeoJSON
|
|
21
|
+
*/ /**
|
|
22
|
+
* Full copyright note of the geographic data.
|
|
23
|
+
* @name Highcharts.GeoJSON#copyright
|
|
24
|
+
* @type {string|undefined}
|
|
25
|
+
*/ /**
|
|
26
|
+
* Short copyright note of the geographic data suitable for watermarks.
|
|
27
|
+
* @name Highcharts.GeoJSON#copyrightShort
|
|
28
|
+
* @type {string|undefined}
|
|
29
|
+
*/ /**
|
|
30
|
+
* Additional meta information based on the coordinate reference system.
|
|
31
|
+
* @name Highcharts.GeoJSON#crs
|
|
32
|
+
* @type {Highcharts.Dictionary<any>|undefined}
|
|
33
|
+
*/ /**
|
|
34
|
+
* Data sets of geographic features.
|
|
35
|
+
* @name Highcharts.GeoJSON#features
|
|
36
|
+
* @type {Array<Highcharts.GeoJSONFeature>}
|
|
37
|
+
*/ /**
|
|
38
|
+
* Map projections and transformations to be used when calculating between
|
|
39
|
+
* lat/lon and chart values. Required for lat/lon support on maps. Allows
|
|
40
|
+
* resizing, rotating, and moving portions of a map within its projected
|
|
41
|
+
* coordinate system while still retaining lat/lon support. If using lat/lon
|
|
42
|
+
* on a portion of the map that does not match a `hitZone`, the definition with
|
|
43
|
+
* the key `default` is used.
|
|
44
|
+
* @name Highcharts.GeoJSON#hc-transform
|
|
45
|
+
* @type {Highcharts.Dictionary<Highcharts.GeoJSONTranslation>|undefined}
|
|
46
|
+
*/ /**
|
|
47
|
+
* Title of the geographic data.
|
|
48
|
+
* @name Highcharts.GeoJSON#title
|
|
49
|
+
* @type {string|undefined}
|
|
50
|
+
*/ /**
|
|
51
|
+
* Type of the geographic data. Type of an optimized map collection is
|
|
52
|
+
* `FeatureCollection`.
|
|
53
|
+
* @name Highcharts.GeoJSON#type
|
|
54
|
+
* @type {string|undefined}
|
|
55
|
+
*/ /**
|
|
56
|
+
* Version of the geographic data.
|
|
57
|
+
* @name Highcharts.GeoJSON#version
|
|
58
|
+
* @type {string|undefined}
|
|
59
|
+
*/
|
|
60
|
+
/**
|
|
61
|
+
* Data set of a geographic feature.
|
|
62
|
+
* @interface Highcharts.GeoJSONFeature
|
|
63
|
+
* @extends Highcharts.Dictionary<*>
|
|
64
|
+
*/ /**
|
|
65
|
+
* Data type of the geographic feature.
|
|
66
|
+
* @name Highcharts.GeoJSONFeature#type
|
|
67
|
+
* @type {string}
|
|
68
|
+
*/
|
|
69
|
+
/**
|
|
70
|
+
* Describes the map projection and transformations applied to a portion of
|
|
71
|
+
* a map.
|
|
72
|
+
* @interface Highcharts.GeoJSONTranslation
|
|
73
|
+
*/ /**
|
|
74
|
+
* The coordinate reference system used to generate this portion of the map.
|
|
75
|
+
* @name Highcharts.GeoJSONTranslation#crs
|
|
76
|
+
* @type {string}
|
|
77
|
+
*/ /**
|
|
78
|
+
* Define the portion of the map that this defintion applies to. Defined as a
|
|
79
|
+
* GeoJSON polygon feature object, with `type` and `coordinates` properties.
|
|
80
|
+
* @name Highcharts.GeoJSONTranslation#hitZone
|
|
81
|
+
* @type {Highcharts.Dictionary<*>|undefined}
|
|
82
|
+
*/ /**
|
|
83
|
+
* Property for internal use for maps generated by Highsoft.
|
|
84
|
+
* @name Highcharts.GeoJSONTranslation#jsonmarginX
|
|
85
|
+
* @type {number|undefined}
|
|
86
|
+
*/ /**
|
|
87
|
+
* Property for internal use for maps generated by Highsoft.
|
|
88
|
+
* @name Highcharts.GeoJSONTranslation#jsonmarginY
|
|
89
|
+
* @type {number|undefined}
|
|
90
|
+
*/ /**
|
|
91
|
+
* Property for internal use for maps generated by Highsoft.
|
|
92
|
+
* @name Highcharts.GeoJSONTranslation#jsonres
|
|
93
|
+
* @type {number|undefined}
|
|
94
|
+
*/ /**
|
|
95
|
+
* Specifies clockwise rotation of the coordinates after the projection, but
|
|
96
|
+
* before scaling and panning. Defined in radians, relative to the coordinate
|
|
97
|
+
* system origin.
|
|
98
|
+
* @name Highcharts.GeoJSONTranslation#rotation
|
|
99
|
+
* @type {number|undefined}
|
|
100
|
+
*/ /**
|
|
101
|
+
* The scaling factor applied to the projected coordinates.
|
|
102
|
+
* @name Highcharts.GeoJSONTranslation#scale
|
|
103
|
+
* @type {number|undefined}
|
|
104
|
+
*/ /**
|
|
105
|
+
* Property for internal use for maps generated by Highsoft.
|
|
106
|
+
* @name Highcharts.GeoJSONTranslation#xoffset
|
|
107
|
+
* @type {number|undefined}
|
|
108
|
+
*/ /**
|
|
109
|
+
* X offset of projected coordinates after scaling.
|
|
110
|
+
* @name Highcharts.GeoJSONTranslation#xpan
|
|
111
|
+
* @type {number|undefined}
|
|
112
|
+
*/ /**
|
|
113
|
+
* Property for internal use for maps generated by Highsoft.
|
|
114
|
+
* @name Highcharts.GeoJSONTranslation#yoffset
|
|
115
|
+
* @type {number|undefined}
|
|
116
|
+
*/ /**
|
|
117
|
+
* Y offset of projected coordinates after scaling.
|
|
118
|
+
* @name Highcharts.GeoJSONTranslation#ypan
|
|
119
|
+
* @type {number|undefined}
|
|
120
|
+
*/
|
|
12
121
|
/**
|
|
13
122
|
* Result object of a map transformation.
|
|
14
123
|
*
|
|
@@ -35,11 +144,7 @@ import H from '../parts/Globals.js';
|
|
|
35
144
|
* @name Highcharts.MapLatLonObject#lon
|
|
36
145
|
* @type {number}
|
|
37
146
|
*/
|
|
38
|
-
|
|
39
|
-
var error = U.error, extend = U.extend, format = U.format, merge = U.merge, wrap = U.wrap;
|
|
40
|
-
import '../parts/Options.js';
|
|
41
|
-
import '../parts/Chart.js';
|
|
42
|
-
var Chart = H.Chart, win = H.win;
|
|
147
|
+
''; // detach doclets above
|
|
43
148
|
/* eslint-disable no-invalid-this, valid-jsdoc */
|
|
44
149
|
/**
|
|
45
150
|
* Test for point in polygon. Polygon defined as array of [x,y] points.
|
|
@@ -250,7 +355,7 @@ Chart.prototype.fromLatLonToPoint = function (latLon) {
|
|
|
250
355
|
*
|
|
251
356
|
* @function Highcharts.geojson
|
|
252
357
|
*
|
|
253
|
-
* @param {
|
|
358
|
+
* @param {Highcharts.GeoJSON} geojson
|
|
254
359
|
* The GeoJSON structure to parse, represented as a JavaScript object
|
|
255
360
|
* rather than a JSON string.
|
|
256
361
|
*
|