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/dumbbell.src.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Highcharts JS v8.
|
|
2
|
+
* @license Highcharts JS v8.2.2 (2020-10-22)
|
|
3
3
|
*
|
|
4
4
|
* (c) 2009-2019 Sebastian Bochan, Rafal Sebestjanski
|
|
5
5
|
*
|
|
@@ -26,139 +26,1063 @@
|
|
|
26
26
|
obj[path] = fn.apply(null, args);
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
|
-
_registerModule(_modules, '
|
|
29
|
+
_registerModule(_modules, 'Series/AreaRangeSeries.js', [_modules['Core/Series/Series.js'], _modules['Core/Globals.js'], _modules['Core/Series/Point.js'], _modules['Core/Utilities.js']], function (BaseSeries, H, Point, U) {
|
|
30
30
|
/* *
|
|
31
31
|
*
|
|
32
|
-
* (c) 2010-2020
|
|
32
|
+
* (c) 2010-2020 Torstein Honsi
|
|
33
33
|
*
|
|
34
34
|
* License: www.highcharts.com/license
|
|
35
35
|
*
|
|
36
36
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
37
37
|
*
|
|
38
38
|
* */
|
|
39
|
-
var
|
|
40
|
-
var
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
39
|
+
var noop = H.noop;
|
|
40
|
+
var defined = U.defined,
|
|
41
|
+
extend = U.extend,
|
|
42
|
+
isArray = U.isArray,
|
|
43
|
+
isNumber = U.isNumber,
|
|
44
|
+
pick = U.pick;
|
|
45
|
+
var Series = H.Series,
|
|
46
|
+
areaProto = BaseSeries.seriesTypes.area.prototype,
|
|
47
|
+
columnProto = BaseSeries.seriesTypes.column.prototype,
|
|
48
|
+
pointProto = Point.prototype,
|
|
49
|
+
seriesProto = Series.prototype;
|
|
49
50
|
/**
|
|
50
|
-
* The
|
|
51
|
-
* each point along an X axis,
|
|
52
|
-
* Requires `highcharts-more.js` and `modules/dumbbell.js`.
|
|
51
|
+
* The area range series is a carteseian series with higher and lower values for
|
|
52
|
+
* each point along an X axis, where the area between the values is shaded.
|
|
53
53
|
*
|
|
54
|
-
* @sample {highcharts} highcharts/demo/
|
|
55
|
-
*
|
|
56
|
-
* @sample {
|
|
57
|
-
*
|
|
54
|
+
* @sample {highcharts} highcharts/demo/arearange/
|
|
55
|
+
* Area range chart
|
|
56
|
+
* @sample {highstock} stock/demo/arearange/
|
|
57
|
+
* Area range chart
|
|
58
58
|
*
|
|
59
|
-
* @extends plotOptions.
|
|
59
|
+
* @extends plotOptions.area
|
|
60
60
|
* @product highcharts highstock
|
|
61
|
-
* @excluding
|
|
62
|
-
*
|
|
63
|
-
* @
|
|
64
|
-
* @optionparent plotOptions.dumbbell
|
|
61
|
+
* @excluding stack, stacking
|
|
62
|
+
* @requires highcharts-more
|
|
63
|
+
* @optionparent plotOptions.arearange
|
|
65
64
|
*/
|
|
66
|
-
seriesType('
|
|
67
|
-
/** @ignore-option */
|
|
68
|
-
trackByArea: false,
|
|
69
|
-
/** @ignore-option */
|
|
70
|
-
fillColor: 'none',
|
|
71
|
-
/** @ignore-option */
|
|
72
|
-
lineWidth: 0,
|
|
73
|
-
pointRange: 1,
|
|
65
|
+
BaseSeries.seriesType('arearange', 'area', {
|
|
74
66
|
/**
|
|
75
|
-
*
|
|
67
|
+
* @see [fillColor](#plotOptions.arearange.fillColor)
|
|
68
|
+
* @see [fillOpacity](#plotOptions.arearange.fillOpacity)
|
|
76
69
|
*
|
|
77
|
-
* @
|
|
78
|
-
|
|
70
|
+
* @apioption plotOptions.arearange.color
|
|
71
|
+
*/
|
|
72
|
+
/**
|
|
73
|
+
* @default low
|
|
74
|
+
* @apioption plotOptions.arearange.colorKey
|
|
79
75
|
*/
|
|
80
|
-
connectorWidth: 1,
|
|
81
|
-
/** @ignore-option */
|
|
82
|
-
stickyTracking: false,
|
|
83
|
-
groupPadding: 0.2,
|
|
84
|
-
crisp: false,
|
|
85
|
-
pointPadding: 0.1,
|
|
86
76
|
/**
|
|
87
|
-
*
|
|
77
|
+
* @see [color](#plotOptions.arearange.color)
|
|
78
|
+
* @see [fillOpacity](#plotOptions.arearange.fillOpacity)
|
|
88
79
|
*
|
|
89
|
-
* @
|
|
90
|
-
* @since 8.0.0
|
|
91
|
-
* @product highcharts highstock
|
|
80
|
+
* @apioption plotOptions.arearange.fillColor
|
|
92
81
|
*/
|
|
93
|
-
lowColor: '#333333',
|
|
94
82
|
/**
|
|
95
|
-
*
|
|
96
|
-
*
|
|
83
|
+
* @see [color](#plotOptions.arearange.color)
|
|
84
|
+
* @see [fillColor](#plotOptions.arearange.fillColor)
|
|
97
85
|
*
|
|
98
|
-
* @
|
|
99
|
-
* @
|
|
100
|
-
* @
|
|
101
|
-
* @apioption plotOptions.dumbbell.connectorColor
|
|
86
|
+
* @default {highcharts} 0.75
|
|
87
|
+
* @default {highstock} 0.75
|
|
88
|
+
* @apioption plotOptions.arearange.fillOpacity
|
|
102
89
|
*/
|
|
103
|
-
states: {
|
|
104
|
-
hover: {
|
|
105
|
-
/** @ignore-option */
|
|
106
|
-
lineWidthPlus: 0,
|
|
107
|
-
/**
|
|
108
|
-
* The additional connector line width for a hovered point.
|
|
109
|
-
*
|
|
110
|
-
* @since 8.0.0
|
|
111
|
-
* @product highcharts highstock
|
|
112
|
-
*/
|
|
113
|
-
connectorWidthPlus: 1,
|
|
114
|
-
/** @ignore-option */
|
|
115
|
-
halo: false
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
}, {
|
|
119
|
-
trackerGroups: ['group', 'markerGroup', 'dataLabelsGroup'],
|
|
120
|
-
drawTracker: H.TrackerMixin.drawTrackerPoint,
|
|
121
|
-
drawGraph: H.noop,
|
|
122
|
-
crispCol: colProto.crispCol,
|
|
123
90
|
/**
|
|
124
|
-
*
|
|
125
|
-
*
|
|
91
|
+
* Whether to apply a drop shadow to the graph line. Since 2.3 the shadow
|
|
92
|
+
* can be an object configuration containing `color`, `offsetX`, `offsetY`,
|
|
93
|
+
* `opacity` and `width`.
|
|
94
|
+
*
|
|
95
|
+
* @type {boolean|Highcharts.ShadowOptionsObject}
|
|
96
|
+
* @product highcharts
|
|
97
|
+
* @apioption plotOptions.arearange.shadow
|
|
98
|
+
*/
|
|
99
|
+
/**
|
|
100
|
+
* Pixel width of the arearange graph line.
|
|
101
|
+
*
|
|
102
|
+
* @since 2.3.0
|
|
103
|
+
*
|
|
126
104
|
* @private
|
|
105
|
+
*/
|
|
106
|
+
lineWidth: 1,
|
|
107
|
+
threshold: null,
|
|
108
|
+
tooltip: {
|
|
109
|
+
pointFormat: '<span style="color:{series.color}">\u25CF</span> ' +
|
|
110
|
+
'{series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'
|
|
111
|
+
},
|
|
112
|
+
/**
|
|
113
|
+
* Whether the whole area or just the line should respond to mouseover
|
|
114
|
+
* tooltips and other mouse or touch events.
|
|
127
115
|
*
|
|
128
|
-
* @
|
|
129
|
-
*
|
|
116
|
+
* @since 2.3.0
|
|
117
|
+
*
|
|
118
|
+
* @private
|
|
119
|
+
*/
|
|
120
|
+
trackByArea: true,
|
|
121
|
+
/**
|
|
122
|
+
* Extended data labels for range series types. Range series data labels use
|
|
123
|
+
* no `x` and `y` options. Instead, they have `xLow`, `xHigh`, `yLow` and
|
|
124
|
+
* `yHigh` options to allow the higher and lower data label sets
|
|
125
|
+
* individually.
|
|
130
126
|
*
|
|
131
|
-
* @
|
|
127
|
+
* @declare Highcharts.SeriesAreaRangeDataLabelsOptionsObject
|
|
128
|
+
* @exclude x, y
|
|
129
|
+
* @since 2.3.0
|
|
130
|
+
* @product highcharts highstock
|
|
131
|
+
*
|
|
132
|
+
* @private
|
|
133
|
+
*/
|
|
134
|
+
dataLabels: {
|
|
135
|
+
align: void 0,
|
|
136
|
+
verticalAlign: void 0,
|
|
137
|
+
/**
|
|
138
|
+
* X offset of the lower data labels relative to the point value.
|
|
139
|
+
*
|
|
140
|
+
* @sample highcharts/plotoptions/arearange-datalabels/
|
|
141
|
+
* Data labels on range series
|
|
142
|
+
* @sample highcharts/plotoptions/arearange-datalabels/
|
|
143
|
+
* Data labels on range series
|
|
144
|
+
*/
|
|
145
|
+
xLow: 0,
|
|
146
|
+
/**
|
|
147
|
+
* X offset of the higher data labels relative to the point value.
|
|
148
|
+
*
|
|
149
|
+
* @sample highcharts/plotoptions/arearange-datalabels/
|
|
150
|
+
* Data labels on range series
|
|
151
|
+
*/
|
|
152
|
+
xHigh: 0,
|
|
153
|
+
/**
|
|
154
|
+
* Y offset of the lower data labels relative to the point value.
|
|
155
|
+
*
|
|
156
|
+
* @sample highcharts/plotoptions/arearange-datalabels/
|
|
157
|
+
* Data labels on range series
|
|
158
|
+
*/
|
|
159
|
+
yLow: 0,
|
|
160
|
+
/**
|
|
161
|
+
* Y offset of the higher data labels relative to the point value.
|
|
162
|
+
*
|
|
163
|
+
* @sample highcharts/plotoptions/arearange-datalabels/
|
|
164
|
+
* Data labels on range series
|
|
165
|
+
*/
|
|
166
|
+
yHigh: 0
|
|
167
|
+
}
|
|
168
|
+
// Prototype members
|
|
169
|
+
}, {
|
|
170
|
+
pointArrayMap: ['low', 'high'],
|
|
171
|
+
pointValKey: 'low',
|
|
172
|
+
deferTranslatePolar: true,
|
|
173
|
+
/* eslint-disable valid-jsdoc */
|
|
174
|
+
/**
|
|
175
|
+
* @private
|
|
176
|
+
*/
|
|
177
|
+
toYData: function (point) {
|
|
178
|
+
return [point.low, point.high];
|
|
179
|
+
},
|
|
180
|
+
/**
|
|
181
|
+
* Translate a point's plotHigh from the internal angle and radius measures
|
|
182
|
+
* to true plotHigh coordinates. This is an addition of the toXY method
|
|
183
|
+
* found in Polar.js, because it runs too early for arearanges to be
|
|
184
|
+
* considered (#3419).
|
|
185
|
+
* @private
|
|
186
|
+
*/
|
|
187
|
+
highToXY: function (point) {
|
|
188
|
+
// Find the polar plotX and plotY
|
|
189
|
+
var chart = this.chart,
|
|
190
|
+
xy = this.xAxis.postTranslate(point.rectPlotX,
|
|
191
|
+
this.yAxis.len - point.plotHigh);
|
|
192
|
+
point.plotHighX = xy.x - chart.plotLeft;
|
|
193
|
+
point.plotHigh = xy.y - chart.plotTop;
|
|
194
|
+
point.plotLowX = point.plotX;
|
|
195
|
+
},
|
|
196
|
+
/**
|
|
197
|
+
* Translate data points from raw values x and y to plotX and plotY.
|
|
198
|
+
* @private
|
|
132
199
|
*/
|
|
133
|
-
|
|
200
|
+
translate: function () {
|
|
134
201
|
var series = this,
|
|
135
|
-
chart = series.chart,
|
|
136
|
-
pointOptions = point.options,
|
|
137
|
-
seriesOptions = series.options,
|
|
138
|
-
xAxis = series.xAxis,
|
|
139
202
|
yAxis = series.yAxis,
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
point.
|
|
147
|
-
|
|
203
|
+
hasModifyValue = !!series.modifyValue;
|
|
204
|
+
areaProto.translate.apply(series);
|
|
205
|
+
// Set plotLow and plotHigh
|
|
206
|
+
series.points.forEach(function (point) {
|
|
207
|
+
var high = point.high,
|
|
208
|
+
plotY = point.plotY;
|
|
209
|
+
if (point.isNull) {
|
|
210
|
+
point.plotY = null;
|
|
211
|
+
}
|
|
212
|
+
else {
|
|
213
|
+
point.plotLow = plotY;
|
|
214
|
+
point.plotHigh = yAxis.translate(hasModifyValue ?
|
|
215
|
+
series.modifyValue(high, point) :
|
|
216
|
+
high, 0, 1, 0, 1);
|
|
217
|
+
if (hasModifyValue) {
|
|
218
|
+
point.yBottom = point.plotHigh;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
});
|
|
222
|
+
// Postprocess plotHigh
|
|
223
|
+
if (this.chart.polar) {
|
|
224
|
+
this.points.forEach(function (point) {
|
|
225
|
+
series.highToXY(point);
|
|
226
|
+
point.tooltipPos = [
|
|
227
|
+
(point.plotHighX + point.plotLowX) / 2,
|
|
228
|
+
(point.plotHigh + point.plotLow) / 2
|
|
229
|
+
];
|
|
230
|
+
});
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
/**
|
|
234
|
+
* Extend the line series' getSegmentPath method by applying the segment
|
|
235
|
+
* path to both lower and higher values of the range.
|
|
236
|
+
* @private
|
|
237
|
+
*/
|
|
238
|
+
getGraphPath: function (points) {
|
|
239
|
+
var highPoints = [],
|
|
240
|
+
highAreaPoints = [],
|
|
241
|
+
i,
|
|
242
|
+
getGraphPath = areaProto.getGraphPath,
|
|
243
|
+
point,
|
|
244
|
+
pointShim,
|
|
245
|
+
linePath,
|
|
246
|
+
lowerPath,
|
|
247
|
+
options = this.options,
|
|
248
|
+
polar = this.chart.polar,
|
|
249
|
+
connectEnds = polar && options.connectEnds !== false,
|
|
250
|
+
connectNulls = options.connectNulls,
|
|
251
|
+
step = options.step,
|
|
252
|
+
higherPath,
|
|
253
|
+
higherAreaPath;
|
|
254
|
+
points = points || this.points;
|
|
255
|
+
// Create the top line and the top part of the area fill. The area fill
|
|
256
|
+
// compensates for null points by drawing down to the lower graph,
|
|
257
|
+
// moving across the null gap and starting again at the lower graph.
|
|
258
|
+
i = points.length;
|
|
259
|
+
while (i--) {
|
|
260
|
+
point = points[i];
|
|
261
|
+
// Support for polar
|
|
262
|
+
var highAreaPoint = polar ? {
|
|
263
|
+
plotX: point.rectPlotX,
|
|
264
|
+
plotY: point.yBottom,
|
|
265
|
+
doCurve: false // #5186, gaps in areasplinerange fill
|
|
266
|
+
} : {
|
|
267
|
+
plotX: point.plotX,
|
|
268
|
+
plotY: point.plotY,
|
|
269
|
+
doCurve: false // #5186, gaps in areasplinerange fill
|
|
270
|
+
};
|
|
271
|
+
if (!point.isNull &&
|
|
272
|
+
!connectEnds &&
|
|
273
|
+
!connectNulls &&
|
|
274
|
+
(!points[i + 1] || points[i + 1].isNull)) {
|
|
275
|
+
highAreaPoints.push(highAreaPoint);
|
|
276
|
+
}
|
|
277
|
+
pointShim = {
|
|
278
|
+
polarPlotY: point.polarPlotY,
|
|
279
|
+
rectPlotX: point.rectPlotX,
|
|
280
|
+
yBottom: point.yBottom,
|
|
281
|
+
// plotHighX is for polar charts
|
|
282
|
+
plotX: pick(point.plotHighX, point.plotX),
|
|
283
|
+
plotY: point.plotHigh,
|
|
284
|
+
isNull: point.isNull
|
|
285
|
+
};
|
|
286
|
+
highAreaPoints.push(pointShim);
|
|
287
|
+
highPoints.push(pointShim);
|
|
288
|
+
if (!point.isNull &&
|
|
289
|
+
!connectEnds &&
|
|
290
|
+
!connectNulls &&
|
|
291
|
+
(!points[i - 1] || points[i - 1].isNull)) {
|
|
292
|
+
highAreaPoints.push(highAreaPoint);
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
// Get the paths
|
|
296
|
+
lowerPath = getGraphPath.call(this, points);
|
|
297
|
+
if (step) {
|
|
298
|
+
if (step === true) {
|
|
299
|
+
step = 'left';
|
|
300
|
+
}
|
|
301
|
+
options.step = {
|
|
302
|
+
left: 'right',
|
|
303
|
+
center: 'center',
|
|
304
|
+
right: 'left'
|
|
305
|
+
}[step]; // swap for reading in getGraphPath
|
|
306
|
+
}
|
|
307
|
+
higherPath = getGraphPath.call(this, highPoints);
|
|
308
|
+
higherAreaPath = getGraphPath.call(this, highAreaPoints);
|
|
309
|
+
options.step = step;
|
|
310
|
+
// Create a line on both top and bottom of the range
|
|
311
|
+
linePath = []
|
|
312
|
+
.concat(lowerPath, higherPath);
|
|
313
|
+
// For the area path, we need to change the 'move' statement
|
|
314
|
+
// into 'lineTo'
|
|
315
|
+
if (!this.chart.polar && higherAreaPath[0] && higherAreaPath[0][0] === 'M') {
|
|
316
|
+
// This probably doesn't work for spline
|
|
317
|
+
higherAreaPath[0] = ['L', higherAreaPath[0][1], higherAreaPath[0][2]];
|
|
318
|
+
}
|
|
319
|
+
this.graphPath = linePath;
|
|
320
|
+
this.areaPath = lowerPath.concat(higherAreaPath);
|
|
321
|
+
// Prepare for sideways animation
|
|
322
|
+
linePath.isArea = true;
|
|
323
|
+
linePath.xMap = lowerPath.xMap;
|
|
324
|
+
this.areaPath.xMap = lowerPath.xMap;
|
|
325
|
+
return linePath;
|
|
326
|
+
},
|
|
327
|
+
/**
|
|
328
|
+
* Extend the basic drawDataLabels method by running it for both lower and
|
|
329
|
+
* higher values.
|
|
330
|
+
* @private
|
|
331
|
+
*/
|
|
332
|
+
drawDataLabels: function () {
|
|
333
|
+
var data = this.points,
|
|
334
|
+
length = data.length,
|
|
335
|
+
i,
|
|
336
|
+
originalDataLabels = [],
|
|
337
|
+
dataLabelOptions = this.options.dataLabels,
|
|
338
|
+
point,
|
|
339
|
+
up,
|
|
340
|
+
inverted = this.chart.inverted,
|
|
341
|
+
upperDataLabelOptions,
|
|
342
|
+
lowerDataLabelOptions;
|
|
343
|
+
// Split into upper and lower options. If data labels is an array, the
|
|
344
|
+
// first element is the upper label, the second is the lower.
|
|
345
|
+
//
|
|
346
|
+
// TODO: We want to change this and allow multiple labels for both upper
|
|
347
|
+
// and lower values in the future - introducing some options for which
|
|
348
|
+
// point value to use as Y for the dataLabel, so that this could be
|
|
349
|
+
// handled in Series.drawDataLabels. This would also improve performance
|
|
350
|
+
// since we now have to loop over all the points multiple times to work
|
|
351
|
+
// around the data label logic.
|
|
352
|
+
if (isArray(dataLabelOptions)) {
|
|
353
|
+
upperDataLabelOptions = dataLabelOptions[0] || { enabled: false };
|
|
354
|
+
lowerDataLabelOptions = dataLabelOptions[1] || { enabled: false };
|
|
355
|
+
}
|
|
356
|
+
else {
|
|
357
|
+
// Make copies
|
|
358
|
+
upperDataLabelOptions = extend({}, dataLabelOptions);
|
|
359
|
+
upperDataLabelOptions.x = dataLabelOptions.xHigh;
|
|
360
|
+
upperDataLabelOptions.y = dataLabelOptions.yHigh;
|
|
361
|
+
lowerDataLabelOptions = extend({}, dataLabelOptions);
|
|
362
|
+
lowerDataLabelOptions.x = dataLabelOptions.xLow;
|
|
363
|
+
lowerDataLabelOptions.y = dataLabelOptions.yLow;
|
|
364
|
+
}
|
|
365
|
+
// Draw upper labels
|
|
366
|
+
if (upperDataLabelOptions.enabled || this._hasPointLabels) {
|
|
367
|
+
// Set preliminary values for plotY and dataLabel
|
|
368
|
+
// and draw the upper labels
|
|
369
|
+
i = length;
|
|
370
|
+
while (i--) {
|
|
371
|
+
point = data[i];
|
|
372
|
+
if (point) {
|
|
373
|
+
up = upperDataLabelOptions.inside ?
|
|
374
|
+
point.plotHigh < point.plotLow :
|
|
375
|
+
point.plotHigh > point.plotLow;
|
|
376
|
+
point.y = point.high;
|
|
377
|
+
point._plotY = point.plotY;
|
|
378
|
+
point.plotY = point.plotHigh;
|
|
379
|
+
// Store original data labels and set preliminary label
|
|
380
|
+
// objects to be picked up in the uber method
|
|
381
|
+
originalDataLabels[i] = point.dataLabel;
|
|
382
|
+
point.dataLabel = point.dataLabelUpper;
|
|
383
|
+
// Set the default offset
|
|
384
|
+
point.below = up;
|
|
385
|
+
if (inverted) {
|
|
386
|
+
if (!upperDataLabelOptions.align) {
|
|
387
|
+
upperDataLabelOptions.align = up ? 'right' : 'left';
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
else {
|
|
391
|
+
if (!upperDataLabelOptions.verticalAlign) {
|
|
392
|
+
upperDataLabelOptions.verticalAlign = up ?
|
|
393
|
+
'top' :
|
|
394
|
+
'bottom';
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
this.options.dataLabels = upperDataLabelOptions;
|
|
400
|
+
if (seriesProto.drawDataLabels) {
|
|
401
|
+
// #1209:
|
|
402
|
+
seriesProto.drawDataLabels.apply(this, arguments);
|
|
403
|
+
}
|
|
404
|
+
// Reset state after the upper labels were created. Move
|
|
405
|
+
// it to point.dataLabelUpper and reassign the originals.
|
|
406
|
+
// We do this here to support not drawing a lower label.
|
|
407
|
+
i = length;
|
|
408
|
+
while (i--) {
|
|
409
|
+
point = data[i];
|
|
410
|
+
if (point) {
|
|
411
|
+
point.dataLabelUpper = point.dataLabel;
|
|
412
|
+
point.dataLabel = originalDataLabels[i];
|
|
413
|
+
delete point.dataLabels;
|
|
414
|
+
point.y = point.low;
|
|
415
|
+
point.plotY = point._plotY;
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
// Draw lower labels
|
|
420
|
+
if (lowerDataLabelOptions.enabled || this._hasPointLabels) {
|
|
421
|
+
i = length;
|
|
422
|
+
while (i--) {
|
|
423
|
+
point = data[i];
|
|
424
|
+
if (point) {
|
|
425
|
+
up = lowerDataLabelOptions.inside ?
|
|
426
|
+
point.plotHigh < point.plotLow :
|
|
427
|
+
point.plotHigh > point.plotLow;
|
|
428
|
+
// Set the default offset
|
|
429
|
+
point.below = !up;
|
|
430
|
+
if (inverted) {
|
|
431
|
+
if (!lowerDataLabelOptions.align) {
|
|
432
|
+
lowerDataLabelOptions.align = up ? 'left' : 'right';
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
else {
|
|
436
|
+
if (!lowerDataLabelOptions.verticalAlign) {
|
|
437
|
+
lowerDataLabelOptions.verticalAlign = up ?
|
|
438
|
+
'bottom' :
|
|
439
|
+
'top';
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
this.options.dataLabels = lowerDataLabelOptions;
|
|
445
|
+
if (seriesProto.drawDataLabels) {
|
|
446
|
+
seriesProto.drawDataLabels.apply(this, arguments);
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
// Merge upper and lower into point.dataLabels for later destroying
|
|
450
|
+
if (upperDataLabelOptions.enabled) {
|
|
451
|
+
i = length;
|
|
452
|
+
while (i--) {
|
|
453
|
+
point = data[i];
|
|
454
|
+
if (point) {
|
|
455
|
+
point.dataLabels = [
|
|
456
|
+
point.dataLabelUpper,
|
|
457
|
+
point.dataLabel
|
|
458
|
+
].filter(function (label) {
|
|
459
|
+
return !!label;
|
|
460
|
+
});
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
// Reset options
|
|
465
|
+
this.options.dataLabels = dataLabelOptions;
|
|
466
|
+
},
|
|
467
|
+
alignDataLabel: function () {
|
|
468
|
+
columnProto.alignDataLabel.apply(this, arguments);
|
|
469
|
+
},
|
|
470
|
+
drawPoints: function () {
|
|
471
|
+
var series = this,
|
|
472
|
+
pointLength = series.points.length,
|
|
473
|
+
point,
|
|
474
|
+
i;
|
|
475
|
+
// Draw bottom points
|
|
476
|
+
seriesProto.drawPoints
|
|
477
|
+
.apply(series, arguments);
|
|
478
|
+
// Prepare drawing top points
|
|
479
|
+
i = 0;
|
|
480
|
+
while (i < pointLength) {
|
|
481
|
+
point = series.points[i];
|
|
482
|
+
// Save original props to be overridden by temporary props for top
|
|
483
|
+
// points
|
|
484
|
+
point.origProps = {
|
|
485
|
+
plotY: point.plotY,
|
|
486
|
+
plotX: point.plotX,
|
|
487
|
+
isInside: point.isInside,
|
|
488
|
+
negative: point.negative,
|
|
489
|
+
zone: point.zone,
|
|
490
|
+
y: point.y
|
|
491
|
+
};
|
|
492
|
+
point.lowerGraphic = point.graphic;
|
|
493
|
+
point.graphic = point.upperGraphic;
|
|
494
|
+
point.plotY = point.plotHigh;
|
|
495
|
+
if (defined(point.plotHighX)) {
|
|
496
|
+
point.plotX = point.plotHighX;
|
|
497
|
+
}
|
|
498
|
+
point.y = point.high;
|
|
499
|
+
point.negative = point.high < (series.options.threshold || 0);
|
|
500
|
+
point.zone = (series.zones.length && point.getZone());
|
|
501
|
+
if (!series.chart.polar) {
|
|
502
|
+
point.isInside = point.isTopInside = (typeof point.plotY !== 'undefined' &&
|
|
503
|
+
point.plotY >= 0 &&
|
|
504
|
+
point.plotY <= series.yAxis.len && // #3519
|
|
505
|
+
point.plotX >= 0 &&
|
|
506
|
+
point.plotX <= series.xAxis.len);
|
|
507
|
+
}
|
|
508
|
+
i++;
|
|
509
|
+
}
|
|
510
|
+
// Draw top points
|
|
511
|
+
seriesProto.drawPoints.apply(series, arguments);
|
|
512
|
+
// Reset top points preliminary modifications
|
|
513
|
+
i = 0;
|
|
514
|
+
while (i < pointLength) {
|
|
515
|
+
point = series.points[i];
|
|
516
|
+
point.upperGraphic = point.graphic;
|
|
517
|
+
point.graphic = point.lowerGraphic;
|
|
518
|
+
extend(point, point.origProps);
|
|
519
|
+
delete point.origProps;
|
|
520
|
+
i++;
|
|
521
|
+
}
|
|
522
|
+
},
|
|
523
|
+
/* eslint-enable valid-jsdoc */
|
|
524
|
+
setStackedPoints: noop
|
|
525
|
+
}, {
|
|
526
|
+
/**
|
|
527
|
+
* Range series only. The high or maximum value for each data point.
|
|
528
|
+
* @name Highcharts.Point#high
|
|
529
|
+
* @type {number|undefined}
|
|
530
|
+
*/
|
|
531
|
+
/**
|
|
532
|
+
* Range series only. The low or minimum value for each data point.
|
|
533
|
+
* @name Highcharts.Point#low
|
|
534
|
+
* @type {number|undefined}
|
|
535
|
+
*/
|
|
536
|
+
/* eslint-disable valid-jsdoc */
|
|
537
|
+
/**
|
|
538
|
+
* @private
|
|
539
|
+
*/
|
|
540
|
+
setState: function () {
|
|
541
|
+
var prevState = this.state,
|
|
542
|
+
series = this.series,
|
|
543
|
+
isPolar = series.chart.polar;
|
|
544
|
+
if (!defined(this.plotHigh)) {
|
|
545
|
+
// Boost doesn't calculate plotHigh
|
|
546
|
+
this.plotHigh = series.yAxis.toPixels(this.high, true);
|
|
547
|
+
}
|
|
548
|
+
if (!defined(this.plotLow)) {
|
|
549
|
+
// Boost doesn't calculate plotLow
|
|
550
|
+
this.plotLow = this.plotY = series.yAxis.toPixels(this.low, true);
|
|
551
|
+
}
|
|
552
|
+
if (series.stateMarkerGraphic) {
|
|
553
|
+
series.lowerStateMarkerGraphic = series.stateMarkerGraphic;
|
|
554
|
+
series.stateMarkerGraphic = series.upperStateMarkerGraphic;
|
|
555
|
+
}
|
|
556
|
+
// Change state also for the top marker
|
|
557
|
+
this.graphic = this.upperGraphic;
|
|
558
|
+
this.plotY = this.plotHigh;
|
|
559
|
+
if (isPolar) {
|
|
560
|
+
this.plotX = this.plotHighX;
|
|
561
|
+
}
|
|
562
|
+
// Top state:
|
|
563
|
+
pointProto.setState.apply(this, arguments);
|
|
564
|
+
this.state = prevState;
|
|
565
|
+
// Now restore defaults
|
|
566
|
+
this.plotY = this.plotLow;
|
|
567
|
+
this.graphic = this.lowerGraphic;
|
|
568
|
+
if (isPolar) {
|
|
569
|
+
this.plotX = this.plotLowX;
|
|
570
|
+
}
|
|
571
|
+
if (series.stateMarkerGraphic) {
|
|
572
|
+
series.upperStateMarkerGraphic = series.stateMarkerGraphic;
|
|
573
|
+
series.stateMarkerGraphic = series.lowerStateMarkerGraphic;
|
|
574
|
+
// Lower marker is stored at stateMarkerGraphic
|
|
575
|
+
// to avoid reference duplication (#7021)
|
|
576
|
+
series.lowerStateMarkerGraphic = void 0;
|
|
577
|
+
}
|
|
578
|
+
pointProto.setState.apply(this, arguments);
|
|
579
|
+
},
|
|
580
|
+
haloPath: function () {
|
|
581
|
+
var isPolar = this.series.chart.polar,
|
|
582
|
+
path = [];
|
|
583
|
+
// Bottom halo
|
|
584
|
+
this.plotY = this.plotLow;
|
|
585
|
+
if (isPolar) {
|
|
586
|
+
this.plotX = this.plotLowX;
|
|
587
|
+
}
|
|
588
|
+
if (this.isInside) {
|
|
589
|
+
path = pointProto.haloPath.apply(this, arguments);
|
|
590
|
+
}
|
|
591
|
+
// Top halo
|
|
592
|
+
this.plotY = this.plotHigh;
|
|
593
|
+
if (isPolar) {
|
|
594
|
+
this.plotX = this.plotHighX;
|
|
595
|
+
}
|
|
596
|
+
if (this.isTopInside) {
|
|
597
|
+
path = path.concat(pointProto.haloPath.apply(this, arguments));
|
|
598
|
+
}
|
|
599
|
+
return path;
|
|
600
|
+
},
|
|
601
|
+
destroyElements: function () {
|
|
602
|
+
var graphics = ['lowerGraphic', 'upperGraphic'];
|
|
603
|
+
graphics.forEach(function (graphicName) {
|
|
604
|
+
if (this[graphicName]) {
|
|
605
|
+
this[graphicName] =
|
|
606
|
+
this[graphicName].destroy();
|
|
607
|
+
}
|
|
608
|
+
}, this);
|
|
609
|
+
// Clear graphic for states, removed in the above each:
|
|
610
|
+
this.graphic = null;
|
|
611
|
+
return pointProto.destroyElements.apply(this, arguments);
|
|
612
|
+
},
|
|
613
|
+
isValid: function () {
|
|
614
|
+
return isNumber(this.low) && isNumber(this.high);
|
|
615
|
+
}
|
|
616
|
+
/* eslint-enable valid-jsdoc */
|
|
617
|
+
});
|
|
618
|
+
/**
|
|
619
|
+
* A `arearange` series. If the [type](#series.arearange.type) option is not
|
|
620
|
+
* specified, it is inherited from [chart.type](#chart.type).
|
|
621
|
+
*
|
|
622
|
+
*
|
|
623
|
+
* @extends series,plotOptions.arearange
|
|
624
|
+
* @excluding dataParser, dataURL, stack, stacking
|
|
625
|
+
* @product highcharts highstock
|
|
626
|
+
* @requires highcharts-more
|
|
627
|
+
* @apioption series.arearange
|
|
628
|
+
*/
|
|
629
|
+
/**
|
|
630
|
+
* @see [fillColor](#series.arearange.fillColor)
|
|
631
|
+
* @see [fillOpacity](#series.arearange.fillOpacity)
|
|
632
|
+
*
|
|
633
|
+
* @apioption series.arearange.color
|
|
634
|
+
*/
|
|
635
|
+
/**
|
|
636
|
+
* An array of data points for the series. For the `arearange` series type,
|
|
637
|
+
* points can be given in the following ways:
|
|
638
|
+
*
|
|
639
|
+
* 1. An array of arrays with 3 or 2 values. In this case, the values
|
|
640
|
+
* correspond to `x,low,high`. If the first value is a string, it is
|
|
641
|
+
* applied as the name of the point, and the `x` value is inferred.
|
|
642
|
+
* The `x` value can also be omitted, in which case the inner arrays
|
|
643
|
+
* should be of length 2\. Then the `x` value is automatically calculated,
|
|
644
|
+
* either starting at 0 and incremented by 1, or from `pointStart`
|
|
645
|
+
* and `pointInterval` given in the series options.
|
|
646
|
+
* ```js
|
|
647
|
+
* data: [
|
|
648
|
+
* [0, 8, 3],
|
|
649
|
+
* [1, 1, 1],
|
|
650
|
+
* [2, 6, 8]
|
|
651
|
+
* ]
|
|
652
|
+
* ```
|
|
653
|
+
*
|
|
654
|
+
* 2. An array of objects with named values. The following snippet shows only a
|
|
655
|
+
* few settings, see the complete options set below. If the total number of
|
|
656
|
+
* data points exceeds the series'
|
|
657
|
+
* [turboThreshold](#series.arearange.turboThreshold),
|
|
658
|
+
* this option is not available.
|
|
659
|
+
* ```js
|
|
660
|
+
* data: [{
|
|
661
|
+
* x: 1,
|
|
662
|
+
* low: 9,
|
|
663
|
+
* high: 0,
|
|
664
|
+
* name: "Point2",
|
|
665
|
+
* color: "#00FF00"
|
|
666
|
+
* }, {
|
|
667
|
+
* x: 1,
|
|
668
|
+
* low: 3,
|
|
669
|
+
* high: 4,
|
|
670
|
+
* name: "Point1",
|
|
671
|
+
* color: "#FF00FF"
|
|
672
|
+
* }]
|
|
673
|
+
* ```
|
|
674
|
+
*
|
|
675
|
+
* @sample {highcharts} highcharts/series/data-array-of-arrays/
|
|
676
|
+
* Arrays of numeric x and y
|
|
677
|
+
* @sample {highcharts} highcharts/series/data-array-of-arrays-datetime/
|
|
678
|
+
* Arrays of datetime x and y
|
|
679
|
+
* @sample {highcharts} highcharts/series/data-array-of-name-value/
|
|
680
|
+
* Arrays of point.name and y
|
|
681
|
+
* @sample {highcharts} highcharts/series/data-array-of-objects/
|
|
682
|
+
* Config objects
|
|
683
|
+
*
|
|
684
|
+
* @type {Array<Array<(number|string),number>|Array<(number|string),number,number>|*>}
|
|
685
|
+
* @extends series.line.data
|
|
686
|
+
* @excluding marker, y
|
|
687
|
+
* @product highcharts highstock
|
|
688
|
+
* @apioption series.arearange.data
|
|
689
|
+
*/
|
|
690
|
+
/**
|
|
691
|
+
* @extends series.arearange.dataLabels
|
|
692
|
+
* @product highcharts highstock
|
|
693
|
+
* @apioption series.arearange.data.dataLabels
|
|
694
|
+
*/
|
|
695
|
+
/**
|
|
696
|
+
* @see [color](#series.arearange.color)
|
|
697
|
+
* @see [fillOpacity](#series.arearange.fillOpacity)
|
|
698
|
+
*
|
|
699
|
+
* @apioption series.arearange.fillColor
|
|
700
|
+
*/
|
|
701
|
+
/**
|
|
702
|
+
* @see [color](#series.arearange.color)
|
|
703
|
+
* @see [fillColor](#series.arearange.fillColor)
|
|
704
|
+
*
|
|
705
|
+
* @default {highcharts} 0.75
|
|
706
|
+
* @default {highstock} 0.75
|
|
707
|
+
* @apioption series.arearange.fillOpacity
|
|
708
|
+
*/
|
|
709
|
+
/**
|
|
710
|
+
* The high or maximum value for each data point.
|
|
711
|
+
*
|
|
712
|
+
* @type {number}
|
|
713
|
+
* @product highcharts highstock
|
|
714
|
+
* @apioption series.arearange.data.high
|
|
715
|
+
*/
|
|
716
|
+
/**
|
|
717
|
+
* The low or minimum value for each data point.
|
|
718
|
+
*
|
|
719
|
+
* @type {number}
|
|
720
|
+
* @product highcharts highstock
|
|
721
|
+
* @apioption series.arearange.data.low
|
|
722
|
+
*/
|
|
723
|
+
''; // adds doclets above to tranpiled file
|
|
724
|
+
|
|
725
|
+
});
|
|
726
|
+
_registerModule(_modules, 'Series/ColumnRangeSeries.js', [_modules['Core/Series/Series.js'], _modules['Core/Globals.js'], _modules['Core/Options.js'], _modules['Core/Utilities.js']], function (BaseSeries, H, O, U) {
|
|
727
|
+
/* *
|
|
728
|
+
*
|
|
729
|
+
* (c) 2010-2020 Torstein Honsi
|
|
730
|
+
*
|
|
731
|
+
* License: www.highcharts.com/license
|
|
732
|
+
*
|
|
733
|
+
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
734
|
+
*
|
|
735
|
+
* */
|
|
736
|
+
var noop = H.noop;
|
|
737
|
+
var defaultOptions = O.defaultOptions;
|
|
738
|
+
var clamp = U.clamp,
|
|
739
|
+
merge = U.merge,
|
|
740
|
+
pick = U.pick;
|
|
741
|
+
var columnProto = BaseSeries.seriesTypes.column.prototype;
|
|
742
|
+
/**
|
|
743
|
+
* The column range is a cartesian series type with higher and lower
|
|
744
|
+
* Y values along an X axis. To display horizontal bars, set
|
|
745
|
+
* [chart.inverted](#chart.inverted) to `true`.
|
|
746
|
+
*
|
|
747
|
+
* @sample {highcharts|highstock} highcharts/demo/columnrange/
|
|
748
|
+
* Inverted column range
|
|
749
|
+
*
|
|
750
|
+
* @extends plotOptions.column
|
|
751
|
+
* @since 2.3.0
|
|
752
|
+
* @excluding negativeColor, stacking, softThreshold, threshold
|
|
753
|
+
* @product highcharts highstock
|
|
754
|
+
* @requires highcharts-more
|
|
755
|
+
* @optionparent plotOptions.columnrange
|
|
756
|
+
*/
|
|
757
|
+
var columnRangeOptions = {
|
|
758
|
+
/**
|
|
759
|
+
* Extended data labels for range series types. Range series data labels
|
|
760
|
+
* have no `x` and `y` options. Instead,
|
|
761
|
+
they have `xLow`,
|
|
762
|
+
`xHigh`,
|
|
763
|
+
* `yLow` and `yHigh` options to allow the higher and lower data label
|
|
764
|
+
* sets individually.
|
|
765
|
+
*
|
|
766
|
+
* @declare Highcharts.SeriesAreaRangeDataLabelsOptionsObject
|
|
767
|
+
* @extends plotOptions.arearange.dataLabels
|
|
768
|
+
* @since 2.3.0
|
|
769
|
+
* @product highcharts highstock
|
|
770
|
+
* @apioption plotOptions.columnrange.dataLabels
|
|
771
|
+
*/
|
|
772
|
+
pointRange: null,
|
|
773
|
+
/** @ignore-option */
|
|
774
|
+
marker: null,
|
|
775
|
+
states: {
|
|
776
|
+
hover: {
|
|
777
|
+
/** @ignore-option */
|
|
778
|
+
halo: false
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
};
|
|
782
|
+
/**
|
|
783
|
+
* The ColumnRangeSeries class
|
|
784
|
+
*
|
|
785
|
+
* @private
|
|
786
|
+
* @class
|
|
787
|
+
* @name Highcharts.seriesTypes.columnrange
|
|
788
|
+
*
|
|
789
|
+
* @augments Highcharts.Series
|
|
790
|
+
*/
|
|
791
|
+
BaseSeries.seriesType('columnrange', 'arearange', merge(defaultOptions.plotOptions.column, defaultOptions.plotOptions.arearange, columnRangeOptions), {
|
|
792
|
+
// eslint-disable-next-line valid-jsdoc
|
|
793
|
+
/**
|
|
794
|
+
* Translate data points from raw values x and y to plotX and plotY
|
|
795
|
+
* @private
|
|
796
|
+
*/
|
|
797
|
+
translate: function () {
|
|
798
|
+
var series = this,
|
|
799
|
+
yAxis = series.yAxis,
|
|
800
|
+
xAxis = series.xAxis,
|
|
801
|
+
startAngleRad = xAxis.startAngleRad,
|
|
802
|
+
start,
|
|
803
|
+
chart = series.chart,
|
|
804
|
+
isRadial = series.xAxis.isRadial,
|
|
805
|
+
safeDistance = Math.max(chart.chartWidth,
|
|
806
|
+
chart.chartHeight) + 999,
|
|
807
|
+
plotHigh;
|
|
808
|
+
// eslint-disable-next-line valid-jsdoc
|
|
809
|
+
/**
|
|
810
|
+
* Don't draw too far outside plot area (#6835)
|
|
811
|
+
* @private
|
|
812
|
+
*/
|
|
813
|
+
function safeBounds(pixelPos) {
|
|
814
|
+
return clamp(pixelPos, -safeDistance, safeDistance);
|
|
815
|
+
}
|
|
816
|
+
columnProto.translate.apply(series);
|
|
817
|
+
// Set plotLow and plotHigh
|
|
818
|
+
series.points.forEach(function (point) {
|
|
819
|
+
var shapeArgs = point.shapeArgs,
|
|
820
|
+
minPointLength = series.options.minPointLength,
|
|
821
|
+
heightDifference,
|
|
822
|
+
height,
|
|
823
|
+
y;
|
|
824
|
+
point.plotHigh = plotHigh = safeBounds(yAxis.translate(point.high, 0, 1, 0, 1));
|
|
825
|
+
point.plotLow = safeBounds(point.plotY);
|
|
826
|
+
// adjust shape
|
|
827
|
+
y = plotHigh;
|
|
828
|
+
height = pick(point.rectPlotY, point.plotY) - plotHigh;
|
|
829
|
+
// Adjust for minPointLength
|
|
830
|
+
if (Math.abs(height) < minPointLength) {
|
|
831
|
+
heightDifference = (minPointLength - height);
|
|
832
|
+
height += heightDifference;
|
|
833
|
+
y -= heightDifference / 2;
|
|
834
|
+
// Adjust for negative ranges or reversed Y axis (#1457)
|
|
835
|
+
}
|
|
836
|
+
else if (height < 0) {
|
|
837
|
+
height *= -1;
|
|
838
|
+
y -= height;
|
|
839
|
+
}
|
|
840
|
+
if (isRadial) {
|
|
841
|
+
start = point.barX + startAngleRad;
|
|
842
|
+
point.shapeType = 'arc';
|
|
843
|
+
point.shapeArgs = series.polarArc(y + height, y, start, start + point.pointWidth);
|
|
844
|
+
}
|
|
845
|
+
else {
|
|
846
|
+
shapeArgs.height = height;
|
|
847
|
+
shapeArgs.y = y;
|
|
848
|
+
point.tooltipPos = chart.inverted ?
|
|
849
|
+
[
|
|
850
|
+
yAxis.len + yAxis.pos - chart.plotLeft - y -
|
|
851
|
+
height / 2,
|
|
852
|
+
xAxis.len + xAxis.pos - chart.plotTop -
|
|
853
|
+
shapeArgs.x - shapeArgs.width / 2,
|
|
854
|
+
height
|
|
855
|
+
] : [
|
|
856
|
+
xAxis.left - chart.plotLeft + shapeArgs.x +
|
|
857
|
+
shapeArgs.width / 2,
|
|
858
|
+
yAxis.pos - chart.plotTop + y + height / 2,
|
|
859
|
+
height
|
|
860
|
+
]; // don't inherit from column tooltip position - #3372
|
|
861
|
+
}
|
|
862
|
+
});
|
|
863
|
+
},
|
|
864
|
+
directTouch: true,
|
|
865
|
+
trackerGroups: ['group', 'dataLabelsGroup'],
|
|
866
|
+
drawGraph: noop,
|
|
867
|
+
getSymbol: noop,
|
|
868
|
+
// Overrides from modules that may be loaded after this module
|
|
869
|
+
crispCol: function () {
|
|
870
|
+
return columnProto.crispCol.apply(this, arguments);
|
|
871
|
+
},
|
|
872
|
+
drawPoints: function () {
|
|
873
|
+
return columnProto.drawPoints.apply(this, arguments);
|
|
874
|
+
},
|
|
875
|
+
drawTracker: function () {
|
|
876
|
+
return columnProto.drawTracker.apply(this, arguments);
|
|
877
|
+
},
|
|
878
|
+
getColumnMetrics: function () {
|
|
879
|
+
return columnProto.getColumnMetrics.apply(this, arguments);
|
|
880
|
+
},
|
|
881
|
+
pointAttribs: function () {
|
|
882
|
+
return columnProto.pointAttribs.apply(this, arguments);
|
|
883
|
+
},
|
|
884
|
+
animate: function () {
|
|
885
|
+
return columnProto.animate.apply(this, arguments);
|
|
886
|
+
},
|
|
887
|
+
polarArc: function () {
|
|
888
|
+
return columnProto.polarArc.apply(this, arguments);
|
|
889
|
+
},
|
|
890
|
+
translate3dPoints: function () {
|
|
891
|
+
return columnProto.translate3dPoints.apply(this, arguments);
|
|
892
|
+
},
|
|
893
|
+
translate3dShapes: function () {
|
|
894
|
+
return columnProto.translate3dShapes.apply(this, arguments);
|
|
895
|
+
}
|
|
896
|
+
}, {
|
|
897
|
+
setState: columnProto.pointClass.prototype.setState
|
|
898
|
+
});
|
|
899
|
+
/**
|
|
900
|
+
* A `columnrange` series. If the [type](#series.columnrange.type)
|
|
901
|
+
* option is not specified, it is inherited from
|
|
902
|
+
* [chart.type](#chart.type).
|
|
903
|
+
*
|
|
904
|
+
* @extends series,plotOptions.columnrange
|
|
905
|
+
* @excluding dataParser, dataURL, stack, stacking
|
|
906
|
+
* @product highcharts highstock
|
|
907
|
+
* @requires highcharts-more
|
|
908
|
+
* @apioption series.columnrange
|
|
909
|
+
*/
|
|
910
|
+
/**
|
|
911
|
+
* An array of data points for the series. For the `columnrange` series
|
|
912
|
+
* type, points can be given in the following ways:
|
|
913
|
+
*
|
|
914
|
+
* 1. An array of arrays with 3 or 2 values. In this case, the values correspond
|
|
915
|
+
* to `x,low,high`. If the first value is a string, it is applied as the name
|
|
916
|
+
* of the point, and the `x` value is inferred. The `x` value can also be
|
|
917
|
+
* omitted, in which case the inner arrays should be of length 2\. Then the
|
|
918
|
+
* `x` value is automatically calculated, either starting at 0 and
|
|
919
|
+
* incremented by 1, or from `pointStart` and `pointInterval` given in the
|
|
920
|
+
* series options.
|
|
921
|
+
* ```js
|
|
922
|
+
* data: [
|
|
923
|
+
* [0, 4, 2],
|
|
924
|
+
* [1, 2, 1],
|
|
925
|
+
* [2, 9, 10]
|
|
926
|
+
* ]
|
|
927
|
+
* ```
|
|
928
|
+
*
|
|
929
|
+
* 2. An array of objects with named values. The following snippet shows only a
|
|
930
|
+
* few settings, see the complete options set below. If the total number of
|
|
931
|
+
* data points exceeds the series'
|
|
932
|
+
* [turboThreshold](#series.columnrange.turboThreshold), this option is not
|
|
933
|
+
* available.
|
|
934
|
+
* ```js
|
|
935
|
+
* data: [{
|
|
936
|
+
* x: 1,
|
|
937
|
+
* low: 0,
|
|
938
|
+
* high: 4,
|
|
939
|
+
* name: "Point2",
|
|
940
|
+
* color: "#00FF00"
|
|
941
|
+
* }, {
|
|
942
|
+
* x: 1,
|
|
943
|
+
* low: 5,
|
|
944
|
+
* high: 3,
|
|
945
|
+
* name: "Point1",
|
|
946
|
+
* color: "#FF00FF"
|
|
947
|
+
* }]
|
|
948
|
+
* ```
|
|
949
|
+
*
|
|
950
|
+
* @sample {highcharts} highcharts/series/data-array-of-arrays/
|
|
951
|
+
* Arrays of numeric x and y
|
|
952
|
+
* @sample {highcharts} highcharts/series/data-array-of-arrays-datetime/
|
|
953
|
+
* Arrays of datetime x and y
|
|
954
|
+
* @sample {highcharts} highcharts/series/data-array-of-name-value/
|
|
955
|
+
* Arrays of point.name and y
|
|
956
|
+
* @sample {highcharts} highcharts/series/data-array-of-objects/
|
|
957
|
+
* Config objects
|
|
958
|
+
*
|
|
959
|
+
* @type {Array<Array<(number|string),number>|Array<(number|string),number,number>|*>}
|
|
960
|
+
* @extends series.arearange.data
|
|
961
|
+
* @excluding marker
|
|
962
|
+
* @product highcharts highstock
|
|
963
|
+
* @apioption series.columnrange.data
|
|
964
|
+
*/
|
|
965
|
+
/**
|
|
966
|
+
* @extends series.columnrange.dataLabels
|
|
967
|
+
* @product highcharts highstock
|
|
968
|
+
* @apioption series.columnrange.data.dataLabels
|
|
969
|
+
*/
|
|
970
|
+
/**
|
|
971
|
+
* @excluding halo, lineWidth, lineWidthPlus, marker
|
|
972
|
+
* @product highcharts highstock
|
|
973
|
+
* @apioption series.columnrange.states.hover
|
|
974
|
+
*/
|
|
975
|
+
/**
|
|
976
|
+
* @excluding halo, lineWidth, lineWidthPlus, marker
|
|
977
|
+
* @product highcharts highstock
|
|
978
|
+
* @apioption series.columnrange.states.select
|
|
979
|
+
*/
|
|
980
|
+
''; // adds doclets above into transpiled
|
|
981
|
+
|
|
982
|
+
});
|
|
983
|
+
_registerModule(_modules, 'Series/DumbbellSeries.js', [_modules['Core/Series/Series.js'], _modules['Core/Renderer/SVG/SVGRenderer.js'], _modules['Core/Globals.js'], _modules['Core/Utilities.js']], function (BaseSeries, SVGRenderer, H, U) {
|
|
984
|
+
/* *
|
|
985
|
+
*
|
|
986
|
+
* (c) 2010-2020 Sebastian Bochan, Rafal Sebestjanski
|
|
987
|
+
*
|
|
988
|
+
* License: www.highcharts.com/license
|
|
989
|
+
*
|
|
990
|
+
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
991
|
+
*
|
|
992
|
+
* */
|
|
993
|
+
var noop = H.noop;
|
|
994
|
+
var extend = U.extend,
|
|
995
|
+
pick = U.pick;
|
|
996
|
+
var seriesProto = H.Series.prototype, seriesTypes = BaseSeries.seriesTypes, areaRangeProto = seriesTypes.arearange.prototype, columnRangeProto = seriesTypes.columnrange.prototype, colProto = seriesTypes.column.prototype, areaRangePointProto = areaRangeProto.pointClass.prototype, TrackerMixin = H.TrackerMixin; // Interaction
|
|
997
|
+
/**
|
|
998
|
+
* The dumbbell series is a cartesian series with higher and lower values for
|
|
999
|
+
* each point along an X axis, connected with a line between the values.
|
|
1000
|
+
* Requires `highcharts-more.js` and `modules/dumbbell.js`.
|
|
1001
|
+
*
|
|
1002
|
+
* @sample {highcharts} highcharts/demo/dumbbell/
|
|
1003
|
+
* Dumbbell chart
|
|
1004
|
+
* @sample {highcharts} highcharts/series-dumbbell/styled-mode-dumbbell/
|
|
1005
|
+
* Styled mode
|
|
1006
|
+
*
|
|
1007
|
+
* @extends plotOptions.arearange
|
|
1008
|
+
* @product highcharts highstock
|
|
1009
|
+
* @excluding fillColor, fillOpacity, lineWidth, stack, stacking,
|
|
1010
|
+
* stickyTracking, trackByArea, boostThreshold, boostBlending
|
|
1011
|
+
* @since 8.0.0
|
|
1012
|
+
* @optionparent plotOptions.dumbbell
|
|
1013
|
+
*/
|
|
1014
|
+
BaseSeries.seriesType('dumbbell', 'arearange', {
|
|
1015
|
+
/** @ignore-option */
|
|
1016
|
+
trackByArea: false,
|
|
1017
|
+
/** @ignore-option */
|
|
1018
|
+
fillColor: 'none',
|
|
1019
|
+
/** @ignore-option */
|
|
1020
|
+
lineWidth: 0,
|
|
1021
|
+
pointRange: 1,
|
|
1022
|
+
/**
|
|
1023
|
+
* Pixel width of the line that connects the dumbbell point's values.
|
|
1024
|
+
*
|
|
1025
|
+
* @since 8.0.0
|
|
1026
|
+
* @product highcharts highstock
|
|
1027
|
+
*/
|
|
1028
|
+
connectorWidth: 1,
|
|
1029
|
+
/** @ignore-option */
|
|
1030
|
+
stickyTracking: false,
|
|
1031
|
+
groupPadding: 0.2,
|
|
1032
|
+
crisp: false,
|
|
1033
|
+
pointPadding: 0.1,
|
|
1034
|
+
/**
|
|
1035
|
+
* Color of the start markers in a dumbbell graph.
|
|
1036
|
+
*
|
|
1037
|
+
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
|
|
1038
|
+
* @since 8.0.0
|
|
1039
|
+
* @product highcharts highstock
|
|
1040
|
+
*/
|
|
1041
|
+
lowColor: '#333333',
|
|
1042
|
+
/**
|
|
1043
|
+
* Color of the line that connects the dumbbell point's values.
|
|
1044
|
+
* By default it is the series' color.
|
|
1045
|
+
*
|
|
1046
|
+
* @type {string}
|
|
1047
|
+
* @product highcharts highstock
|
|
1048
|
+
* @since 8.0.0
|
|
1049
|
+
* @apioption plotOptions.dumbbell.connectorColor
|
|
1050
|
+
*/
|
|
1051
|
+
states: {
|
|
1052
|
+
hover: {
|
|
1053
|
+
/** @ignore-option */
|
|
1054
|
+
lineWidthPlus: 0,
|
|
1055
|
+
/**
|
|
1056
|
+
* The additional connector line width for a hovered point.
|
|
1057
|
+
*
|
|
1058
|
+
* @since 8.0.0
|
|
1059
|
+
* @product highcharts highstock
|
|
1060
|
+
*/
|
|
1061
|
+
connectorWidthPlus: 1,
|
|
1062
|
+
/** @ignore-option */
|
|
1063
|
+
halo: false
|
|
1064
|
+
}
|
|
1065
|
+
}
|
|
1066
|
+
}, {
|
|
1067
|
+
trackerGroups: ['group', 'markerGroup', 'dataLabelsGroup'],
|
|
1068
|
+
drawTracker: TrackerMixin.drawTrackerPoint,
|
|
1069
|
+
drawGraph: noop,
|
|
1070
|
+
crispCol: colProto.crispCol,
|
|
1071
|
+
/**
|
|
1072
|
+
* Get connector line path and styles that connects dumbbell point's low and
|
|
1073
|
+
* high values.
|
|
1074
|
+
* @private
|
|
1075
|
+
*
|
|
1076
|
+
* @param {Highcharts.Series} this The series of points.
|
|
1077
|
+
* @param {Highcharts.Point} point The point to inspect.
|
|
1078
|
+
*
|
|
1079
|
+
* @return {Highcharts.SVGAttributes} attribs The path and styles.
|
|
1080
|
+
*/
|
|
1081
|
+
getConnectorAttribs: function (point) {
|
|
1082
|
+
var series = this, chart = series.chart, pointOptions = point.options, seriesOptions = series.options, xAxis = series.xAxis, yAxis = series.yAxis, connectorWidth = pick(pointOptions.connectorWidth, seriesOptions.connectorWidth), connectorColor = pick(pointOptions.connectorColor, seriesOptions.connectorColor, pointOptions.color, point.zone ? point.zone.color : void 0, point.color), connectorWidthPlus = pick(seriesOptions.states &&
|
|
148
1083
|
seriesOptions.states.hover &&
|
|
149
|
-
seriesOptions.states.hover.connectorWidthPlus, 1),
|
|
150
|
-
|
|
151
|
-
seriesOptions.dashStyle),
|
|
152
|
-
pointTop = pick(point.plotLow,
|
|
153
|
-
point.plotY),
|
|
154
|
-
pxThreshold = yAxis.toPixels(seriesOptions.threshold || 0,
|
|
155
|
-
true),
|
|
156
|
-
pointHeight = chart.inverted ?
|
|
157
|
-
yAxis.len - pxThreshold : pxThreshold,
|
|
158
|
-
pointBottom = pick(point.plotHigh,
|
|
159
|
-
pointHeight),
|
|
160
|
-
attribs,
|
|
161
|
-
origProps;
|
|
1084
|
+
seriesOptions.states.hover.connectorWidthPlus, 1), dashStyle = pick(pointOptions.dashStyle, seriesOptions.dashStyle), pointTop = pick(point.plotLow, point.plotY), pxThreshold = yAxis.toPixels(seriesOptions.threshold || 0, true), pointHeight = chart.inverted ?
|
|
1085
|
+
yAxis.len - pxThreshold : pxThreshold, pointBottom = pick(point.plotHigh, pointHeight), attribs, origProps;
|
|
162
1086
|
if (point.state) {
|
|
163
1087
|
connectorWidth = connectorWidth + connectorWidthPlus;
|
|
164
1088
|
}
|
|
@@ -429,6 +1353,7 @@
|
|
|
429
1353
|
* not specified, it is inherited from [chart.type](#chart.type).
|
|
430
1354
|
*
|
|
431
1355
|
* @extends series,plotOptions.dumbbell
|
|
1356
|
+
* @excluding boostThreshold, boostBlending
|
|
432
1357
|
* @product highcharts highstock
|
|
433
1358
|
* @requires highcharts-more
|
|
434
1359
|
* @requires modules/dumbbell
|