highcharts 12.2.0 → 12.4.0
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/annotations/popup.css +86 -45
- package/css/highcharts.css +40 -35
- package/css/stocktools/gui.css +28 -11
- package/es-modules/Accessibility/Components/InfoRegionsComponent.js +3 -3
- package/es-modules/Accessibility/Components/LegendComponent.js +10 -1
- package/es-modules/Accessibility/Components/MenuComponent.js +26 -23
- package/es-modules/Accessibility/Components/NavigatorComponent.js +5 -1
- package/es-modules/Accessibility/Components/SeriesComponent/ForcedMarkers.js +3 -1
- package/es-modules/Accessibility/FocusBorder.js +4 -0
- package/es-modules/Accessibility/HighContrastMode.js +0 -5
- package/es-modules/Accessibility/Options/A11yDefaults.js +12 -0
- package/es-modules/Core/Axis/Axis.js +4 -3
- package/es-modules/Core/Axis/Axis3DComposition.js +0 -3
- package/es-modules/Core/Axis/AxisDefaults.js +5 -8
- package/es-modules/Core/Axis/BrokenAxis.js +114 -90
- package/es-modules/Core/Axis/Color/ColorAxis.js +3 -3
- package/es-modules/Core/Axis/Color/ColorAxisDefaults.js +2 -3
- package/es-modules/Core/Axis/OrdinalAxis.js +19 -12
- package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +15 -2
- package/es-modules/Core/Axis/RadialAxis.js +18 -7
- package/es-modules/Core/Axis/ScrollbarAxis.js +19 -17
- package/es-modules/Core/Axis/Stacking/StackingAxis.js +0 -1
- package/es-modules/Core/Axis/Tick.js +1 -1
- package/es-modules/Core/Axis/TreeGrid/TreeGridAxis.js +36 -51
- package/es-modules/Core/Axis/TreeGrid/TreeGridTick.js +39 -17
- package/es-modules/Core/Axis/WaterfallAxis.js +4 -4
- package/es-modules/Core/Chart/Chart.js +41 -34
- package/es-modules/Core/Chart/ChartDefaults.js +16 -2
- package/es-modules/Core/Chart/GanttChart.js +4 -2
- package/es-modules/Core/Chart/StockChart.js +42 -49
- package/es-modules/Core/Color/Color.js +4 -8
- package/es-modules/Core/Defaults.js +16 -7
- package/es-modules/Core/Geometry/CircleUtilities.js +3 -1
- package/es-modules/Core/Globals.js +1 -1
- package/es-modules/Core/HttpUtilities.js +45 -38
- package/es-modules/Core/Legend/Legend.js +8 -7
- package/es-modules/Core/Pointer.js +17 -9
- package/es-modules/Core/Renderer/HTML/AST.js +15 -15
- package/es-modules/Core/Renderer/HTML/HTMLElement.js +8 -3
- package/es-modules/Core/Renderer/SVG/SVGElement.js +2 -2
- package/es-modules/Core/Renderer/SVG/SVGLabel.js +10 -1
- package/es-modules/Core/Renderer/SVG/SVGRenderer.js +10 -7
- package/es-modules/Core/Renderer/SVG/TextBuilder.js +2 -2
- package/es-modules/Core/Series/DataLabel.js +4 -2
- package/es-modules/Core/Series/Point.js +9 -0
- package/es-modules/Core/Series/Series.js +17 -7
- package/es-modules/Core/Series/SeriesDefaults.js +1 -3
- package/es-modules/Core/Series/SeriesRegistry.js +8 -1
- package/es-modules/Core/Templating.js +6 -5
- package/es-modules/Core/Tooltip.js +3 -1
- package/es-modules/Data/Connectors/CSVConnector.js +32 -15
- package/es-modules/Data/Connectors/DataConnector.js +107 -12
- package/es-modules/Data/Connectors/GoogleSheetsConnector.js +29 -17
- package/es-modules/Data/Connectors/HTMLTableConnector.js +3 -3
- package/es-modules/Data/Connectors/JSONConnector.js +37 -17
- package/es-modules/Data/Converters/HTMLTableConverter.js +2 -2
- package/es-modules/Data/Converters/JSONConverter.js +0 -1
- package/es-modules/Data/DataPool.js +15 -4
- package/es-modules/Data/DataTable.js +1 -2
- package/es-modules/Data/Formula/FormulaParser.js +33 -1
- package/es-modules/Data/Formula/FormulaProcessor.js +97 -45
- package/es-modules/Data/Modifiers/DataModifier.js +1 -1
- package/es-modules/Data/Modifiers/FilterModifier.js +168 -0
- package/es-modules/Data/Modifiers/FilterModifierOptions.js +14 -0
- package/es-modules/Data/Modifiers/SortModifier.js +12 -3
- package/es-modules/Extensions/Annotations/Annotation.js +10 -7
- package/es-modules/Extensions/Annotations/AnnotationChart.js +7 -3
- package/es-modules/Extensions/Annotations/AnnotationDefaults.js +38 -12
- package/es-modules/Extensions/Annotations/Controllables/ControllableLabel.js +10 -3
- package/es-modules/Extensions/Annotations/MockPoint.js +6 -3
- package/es-modules/Extensions/Annotations/NavigationBindingsDefaults.js +1 -1
- package/es-modules/Extensions/Annotations/Popup/PopupAnnotations.js +10 -4
- package/es-modules/Extensions/Annotations/Popup/PopupComposition.js +1 -1
- package/es-modules/Extensions/Annotations/Types/BasicAnnotation.js +0 -3
- package/es-modules/Extensions/Annotations/Types/CrookedLine.js +97 -94
- package/es-modules/Extensions/Annotations/Types/ElliottWave.js +43 -36
- package/es-modules/Extensions/Annotations/Types/Fibonacci.js +86 -82
- package/es-modules/Extensions/Annotations/Types/FibonacciTimeZones.js +74 -71
- package/es-modules/Extensions/Annotations/Types/InfinityLine.js +17 -3
- package/es-modules/Extensions/Annotations/Types/Measure.js +229 -226
- package/es-modules/Extensions/Annotations/Types/Pitchfork.js +39 -40
- package/es-modules/Extensions/Annotations/Types/TimeCycles.js +56 -52
- package/es-modules/Extensions/Annotations/Types/Tunnel.js +80 -76
- package/es-modules/Extensions/Annotations/Types/VerticalLine.js +57 -53
- package/es-modules/Extensions/Boost/Boost.js +5 -1
- package/es-modules/Extensions/Boost/BoostSeries.js +53 -21
- package/es-modules/Extensions/Boost/WGLRenderer.js +30 -21
- package/es-modules/Extensions/Boost/WGLShader.js +18 -5
- package/es-modules/Extensions/BoostCanvas.js +0 -5
- package/es-modules/Extensions/BorderRadius.js +6 -2
- package/es-modules/Extensions/Breadcrumbs/Breadcrumbs.js +1 -1
- package/es-modules/Extensions/DownloadURL.js +43 -8
- package/es-modules/Extensions/ExportData/ExportData.js +875 -781
- package/es-modules/Extensions/ExportData/ExportDataDefaults.js +67 -13
- package/es-modules/Extensions/Exporting/Exporting.js +1177 -546
- package/es-modules/Extensions/Exporting/ExportingDefaults.js +52 -36
- package/es-modules/Extensions/Exporting/Fullscreen.js +2 -2
- package/es-modules/Extensions/NonCartesianSeriesZoom/NonCartesianSeriesZoom.js +311 -0
- package/es-modules/Extensions/OfflineExporting/OfflineExporting.js +254 -575
- package/es-modules/Extensions/OfflineExporting/OfflineExportingDefaults.js +9 -38
- package/es-modules/Extensions/Pane/Pane.js +1 -1
- package/es-modules/Extensions/Pane/PaneComposition.js +19 -12
- package/es-modules/Extensions/Pane/PaneDefaults.js +9 -1
- package/es-modules/Extensions/ScrollablePlotArea.js +29 -21
- package/es-modules/Extensions/Sonification/Sonification.js +1 -1
- package/es-modules/Extensions/StaticScale.js +13 -11
- package/es-modules/Extensions/TextPath.js +2 -2
- package/es-modules/Extensions/Themes/Adaptive.js +1009 -0
- package/es-modules/Maps/MapNavigation.js +1 -1
- package/es-modules/Series/Bellcurve/BellcurveSeries.js +16 -9
- package/es-modules/Series/Bubble/BubblePoint.js +2 -2
- package/es-modules/Series/Column/ColumnSeriesDefaults.js +1 -2
- package/es-modules/Series/DataModifyComposition.js +0 -2
- package/es-modules/Series/DragNodesComposition.js +4 -0
- package/es-modules/Series/DrawPointUtilities.js +1 -1
- package/es-modules/Series/Flags/FlagsSeriesDefaults.js +2 -0
- package/es-modules/Series/GraphLayoutComposition.js +2 -1
- package/es-modules/Series/Heatmap/HeatmapSeriesDefaults.js +1 -2
- package/es-modules/Series/Histogram/HistogramSeries.js +19 -17
- package/es-modules/Series/Item/ItemSeries.js +1 -1
- package/es-modules/Series/PackedBubble/PackedBubblePoint.js +5 -0
- package/es-modules/Series/Pie/PieDataLabel.js +2 -2
- package/es-modules/Series/Pie/PieSeries.js +2 -2
- package/es-modules/Series/Pie/PieSeriesDefaults.js +1 -2
- package/es-modules/Series/PolarComposition.js +37 -2
- package/es-modules/Series/SeriesOnPointComposition.js +0 -1
- package/es-modules/Series/SimulationSeriesUtilities.js +7 -0
- package/es-modules/Series/SolidGauge/SolidGaugeSeries.js +7 -2
- package/es-modules/Series/SolidGauge/SolidGaugeSeriesDefaults.js +13 -0
- package/es-modules/Series/Treegraph/TreegraphLayout.js +10 -4
- package/es-modules/Series/Treegraph/TreegraphSeries.js +3 -1
- package/es-modules/Series/Treemap/TreemapSeries.js +4 -4
- package/es-modules/Series/Variwide/VariwideComposition.js +9 -11
- package/es-modules/Series/Variwide/VariwideSeries.js +8 -1
- package/es-modules/Series/Waterfall/WaterfallSeries.js +12 -17
- package/es-modules/Series/Wordcloud/WordcloudSeries.js +87 -10
- package/es-modules/Series/XRange/XRangePoint.js +2 -1
- package/es-modules/Shared/BaseForm.js +6 -3
- package/es-modules/Shared/TimeBase.js +5 -1
- package/es-modules/Stock/Indicators/MACD/MACDIndicator.js +1 -1
- package/es-modules/Stock/Navigator/NavigatorComposition.js +2 -2
- package/es-modules/Stock/Scrollbar/Scrollbar.js +5 -7
- package/es-modules/Stock/StockTools/StockToolbar.js +1 -1
- package/es-modules/Stock/StockTools/StockToolsBindings.js +34 -113
- package/es-modules/masters/highcharts-3d.src.js +3 -1
- package/es-modules/masters/highcharts-gantt.src.js +8 -2
- package/es-modules/masters/highcharts-more.src.js +2 -2
- package/es-modules/masters/highcharts.src.js +2 -2
- package/es-modules/masters/highmaps.src.js +2 -2
- package/es-modules/masters/highstock.src.js +2 -2
- package/es-modules/masters/i18n/fr-FR.src.d.ts +1 -1
- package/es-modules/masters/i18n/fr-FR.src.js +1 -1
- package/es-modules/masters/i18n/nb-NO.src.d.ts +1 -1
- package/es-modules/masters/i18n/nb-NO.src.js +1 -1
- package/es-modules/masters/i18n/zh-CN.src.d.ts +1 -1
- package/es-modules/masters/i18n/zh-CN.src.js +1 -1
- package/es-modules/masters/indicators/acceleration-bands.src.js +1 -1
- package/es-modules/masters/indicators/accumulation-distribution.src.js +1 -1
- package/es-modules/masters/indicators/ao.src.js +1 -1
- package/es-modules/masters/indicators/apo.src.js +1 -1
- package/es-modules/masters/indicators/aroon-oscillator.src.js +1 -1
- package/es-modules/masters/indicators/aroon.src.js +1 -1
- package/es-modules/masters/indicators/atr.src.js +1 -1
- package/es-modules/masters/indicators/bollinger-bands.src.js +1 -1
- package/es-modules/masters/indicators/cci.src.js +1 -1
- package/es-modules/masters/indicators/chaikin.src.js +1 -1
- package/es-modules/masters/indicators/cmf.src.js +1 -1
- package/es-modules/masters/indicators/cmo.src.js +1 -1
- package/es-modules/masters/indicators/dema.src.js +1 -1
- package/es-modules/masters/indicators/disparity-index.src.js +1 -1
- package/es-modules/masters/indicators/dmi.src.js +1 -1
- package/es-modules/masters/indicators/dpo.src.js +1 -1
- package/es-modules/masters/indicators/ema.src.js +0 -3
- package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/es-modules/masters/indicators/indicators-all.src.js +1 -1
- package/es-modules/masters/indicators/indicators.src.js +1 -1
- package/es-modules/masters/indicators/keltner-channels.src.js +1 -1
- package/es-modules/masters/indicators/klinger.src.js +1 -1
- package/es-modules/masters/indicators/macd.src.js +1 -1
- package/es-modules/masters/indicators/mfi.src.js +1 -1
- package/es-modules/masters/indicators/momentum.src.js +1 -1
- package/es-modules/masters/indicators/natr.src.js +1 -1
- package/es-modules/masters/indicators/obv.src.js +1 -1
- package/es-modules/masters/indicators/pivot-points.src.js +1 -1
- package/es-modules/masters/indicators/ppo.src.js +1 -1
- package/es-modules/masters/indicators/price-channel.src.js +1 -1
- package/es-modules/masters/indicators/price-envelopes.src.js +1 -1
- package/es-modules/masters/indicators/psar.src.js +1 -1
- package/es-modules/masters/indicators/regressions.src.js +1 -1
- package/es-modules/masters/indicators/roc.src.js +1 -1
- package/es-modules/masters/indicators/rsi.src.js +1 -1
- package/es-modules/masters/indicators/slow-stochastic.src.js +1 -1
- package/es-modules/masters/indicators/stochastic.src.js +1 -1
- package/es-modules/masters/indicators/supertrend.src.js +1 -1
- package/es-modules/masters/indicators/tema.src.js +1 -1
- package/es-modules/masters/indicators/trendline.src.js +1 -1
- package/es-modules/masters/indicators/trix.src.js +1 -1
- package/es-modules/masters/indicators/volume-by-price.src.js +1 -1
- package/es-modules/masters/indicators/vwap.src.js +1 -1
- package/es-modules/masters/indicators/williams-r.src.js +1 -1
- package/es-modules/masters/indicators/wma.src.js +1 -1
- package/es-modules/masters/indicators/zigzag.src.js +1 -1
- package/es-modules/masters/modules/accessibility.src.js +1 -1
- package/es-modules/masters/modules/annotations-advanced.src.js +1 -1
- package/es-modules/masters/modules/annotations.src.js +1 -1
- package/es-modules/masters/modules/arc-diagram.src.js +1 -1
- package/es-modules/masters/modules/arrow-symbols.src.js +1 -1
- package/es-modules/masters/modules/boost-canvas.src.js +1 -1
- package/es-modules/masters/modules/boost.src.js +1 -1
- package/es-modules/masters/modules/broken-axis.src.js +1 -1
- package/es-modules/masters/modules/bullet.src.js +1 -1
- package/es-modules/masters/modules/coloraxis.src.js +1 -1
- package/es-modules/masters/modules/current-date-indicator.src.js +1 -1
- package/es-modules/masters/modules/cylinder.src.js +1 -1
- package/es-modules/masters/modules/data-tools.src.d.ts +1 -0
- package/es-modules/masters/modules/data-tools.src.js +2 -1
- package/es-modules/masters/modules/data.src.js +1 -1
- package/es-modules/masters/modules/datagrouping.src.js +1 -1
- package/es-modules/masters/modules/debugger.src.js +1 -1
- package/es-modules/masters/modules/dependency-wheel.src.js +1 -1
- package/es-modules/masters/modules/dotplot.src.js +1 -1
- package/es-modules/masters/modules/drag-panes.src.js +1 -1
- package/es-modules/masters/modules/draggable-points.src.js +1 -1
- package/es-modules/masters/modules/drilldown.src.js +3 -1
- package/es-modules/masters/modules/dumbbell.src.js +1 -1
- package/es-modules/masters/modules/export-data.src.js +3 -3
- package/es-modules/masters/modules/exporting.src.js +5 -1
- package/es-modules/masters/modules/flowmap.src.js +1 -1
- package/es-modules/masters/modules/full-screen.src.js +1 -1
- package/es-modules/masters/modules/funnel.src.js +1 -1
- package/es-modules/masters/modules/funnel3d.src.js +1 -1
- package/es-modules/masters/modules/gantt.src.js +1 -1
- package/es-modules/masters/modules/geoheatmap.src.js +1 -1
- package/es-modules/masters/modules/grid-axis.src.js +1 -1
- package/es-modules/masters/modules/heatmap.src.js +1 -1
- package/es-modules/masters/modules/heikinashi.src.js +1 -1
- package/es-modules/masters/modules/histogram-bellcurve.src.js +1 -1
- package/es-modules/masters/modules/hollowcandlestick.src.js +1 -1
- package/es-modules/masters/modules/item-series.src.js +1 -1
- package/es-modules/masters/modules/lollipop.src.js +1 -1
- package/es-modules/masters/modules/map.src.js +1 -1
- package/es-modules/masters/modules/marker-clusters.src.js +1 -1
- package/es-modules/masters/modules/mouse-wheel-zoom.src.js +1 -1
- package/es-modules/masters/modules/navigator.src.js +1 -1
- package/es-modules/masters/modules/networkgraph.src.js +1 -1
- package/es-modules/masters/modules/no-data-to-display.src.js +1 -1
- package/es-modules/masters/modules/non-cartesian-zoom.src.d.ts +2 -0
- package/es-modules/masters/modules/non-cartesian-zoom.src.js +18 -0
- package/es-modules/masters/modules/offline-exporting.src.js +2 -2
- package/es-modules/masters/modules/organization.src.js +1 -1
- package/es-modules/masters/modules/parallel-coordinates.src.js +1 -1
- package/es-modules/masters/modules/pareto.src.js +1 -1
- package/es-modules/masters/modules/pathfinder.src.js +1 -1
- package/es-modules/masters/modules/pattern-fill.src.js +1 -1
- package/es-modules/masters/modules/pictorial.src.js +1 -1
- package/es-modules/masters/modules/pointandfigure.src.js +1 -1
- package/es-modules/masters/modules/price-indicator.src.js +1 -1
- package/es-modules/masters/modules/pyramid3d.src.js +1 -1
- package/es-modules/masters/modules/renko.src.js +1 -1
- package/es-modules/masters/modules/sankey.src.js +1 -1
- package/es-modules/masters/modules/series-label.src.js +1 -1
- package/es-modules/masters/modules/series-on-point.src.js +1 -1
- package/es-modules/masters/modules/solid-gauge.src.js +1 -1
- package/es-modules/masters/modules/sonification.src.js +1 -1
- package/es-modules/masters/modules/static-scale.src.js +1 -1
- package/es-modules/masters/modules/stock-tools.src.js +1 -1
- package/es-modules/masters/modules/stock.src.js +1 -1
- package/es-modules/masters/modules/streamgraph.src.js +1 -1
- package/es-modules/masters/modules/sunburst.src.js +1 -1
- package/es-modules/masters/modules/textpath.src.js +1 -1
- package/es-modules/masters/modules/tiledwebmap.src.js +1 -1
- package/es-modules/masters/modules/tilemap.src.js +1 -1
- package/es-modules/masters/modules/timeline.src.js +1 -1
- package/es-modules/masters/modules/treegraph.src.js +1 -1
- package/es-modules/masters/modules/treegrid.src.js +1 -1
- package/es-modules/masters/modules/treemap.src.js +1 -1
- package/es-modules/masters/modules/variable-pie.src.js +1 -1
- package/es-modules/masters/modules/variwide.src.js +1 -1
- package/es-modules/masters/modules/vector.src.js +1 -1
- package/es-modules/masters/modules/venn.src.js +1 -1
- package/es-modules/masters/modules/windbarb.src.js +1 -1
- package/es-modules/masters/modules/wordcloud.src.js +1 -1
- package/es-modules/masters/modules/xrange.src.js +1 -1
- package/es-modules/masters/standalone-navigator.src.js +7 -6
- package/es-modules/masters/themes/adaptive.src.d.ts +2 -0
- package/es-modules/masters/themes/adaptive.src.js +15 -0
- package/es-modules/masters/themes/avocado.src.js +1 -1
- package/es-modules/masters/themes/brand-dark.src.js +1 -1
- package/es-modules/masters/themes/brand-light.src.js +1 -1
- package/es-modules/masters/themes/dark-blue.src.js +1 -1
- package/es-modules/masters/themes/dark-green.src.js +1 -1
- package/es-modules/masters/themes/dark-unica.src.js +1 -1
- package/es-modules/masters/themes/gray.src.js +1 -1
- package/es-modules/masters/themes/grid-light.src.js +1 -1
- package/es-modules/masters/themes/grid.src.js +1 -1
- package/es-modules/masters/themes/high-contrast-dark.src.js +1 -1
- package/es-modules/masters/themes/high-contrast-light.src.js +1 -1
- package/es-modules/masters/themes/sand-signika.src.js +1 -1
- package/es-modules/masters/themes/skies.src.js +1 -1
- package/es-modules/masters/themes/sunset.src.js +1 -1
- package/es-modules/tsconfig.tsbuildinfo +1 -1
- package/esm/highcharts-3d.js +11 -1
- package/esm/highcharts-3d.src.js +3 -4
- package/esm/highcharts-gantt.js +14 -1
- package/esm/highcharts-gantt.src.js +8 -2
- package/esm/highcharts-more.js +9 -1
- package/esm/highcharts-more.src.js +516 -57
- package/esm/highcharts.js +9 -2
- package/esm/highcharts.src.js +273 -168
- package/esm/highmaps.js +8 -1
- package/esm/highmaps.src.js +2 -2
- package/esm/highstock.js +8 -1
- package/esm/highstock.src.js +2 -2
- package/esm/i18n/fr-FR.js +13 -1
- package/esm/i18n/fr-FR.src.js +1 -1
- package/esm/i18n/nb-NO.js +13 -1
- package/esm/i18n/nb-NO.src.js +1 -1
- package/esm/i18n/zh-CN.js +13 -1
- package/esm/i18n/zh-CN.src.js +1 -1
- package/esm/indicators/acceleration-bands.js +12 -1
- package/esm/indicators/acceleration-bands.src.js +1 -1
- package/esm/indicators/accumulation-distribution.js +12 -1
- package/esm/indicators/accumulation-distribution.src.js +1 -1
- package/esm/indicators/ao.js +12 -1
- package/esm/indicators/ao.src.js +1 -1
- package/esm/indicators/apo.js +12 -1
- package/esm/indicators/apo.src.js +1 -1
- package/esm/indicators/aroon-oscillator.js +12 -1
- package/esm/indicators/aroon-oscillator.src.js +1 -1
- package/esm/indicators/aroon.js +12 -1
- package/esm/indicators/aroon.src.js +1 -1
- package/esm/indicators/atr.js +12 -1
- package/esm/indicators/atr.src.js +1 -1
- package/esm/indicators/bollinger-bands.js +12 -1
- package/esm/indicators/bollinger-bands.src.js +1 -1
- package/esm/indicators/cci.js +12 -1
- package/esm/indicators/cci.src.js +1 -1
- package/esm/indicators/chaikin.js +12 -1
- package/esm/indicators/chaikin.src.js +1 -1
- package/esm/indicators/cmf.js +11 -1
- package/esm/indicators/cmf.src.js +1 -1
- package/esm/indicators/cmo.js +12 -1
- package/esm/indicators/cmo.src.js +1 -1
- package/esm/indicators/dema.js +12 -1
- package/esm/indicators/dema.src.js +1 -1
- package/esm/indicators/disparity-index.js +12 -1
- package/esm/indicators/disparity-index.src.js +1 -1
- package/esm/indicators/dmi.js +12 -1
- package/esm/indicators/dmi.src.js +1 -1
- package/esm/indicators/dpo.js +12 -1
- package/esm/indicators/dpo.src.js +1 -1
- package/esm/indicators/ema.src.js +0 -3
- package/esm/indicators/ichimoku-kinko-hyo.js +12 -1
- package/esm/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/esm/indicators/indicators-all.js +12 -1
- package/esm/indicators/indicators-all.src.js +2 -2
- package/esm/indicators/indicators.js +12 -1
- package/esm/indicators/indicators.src.js +1 -1
- package/esm/indicators/keltner-channels.js +12 -1
- package/esm/indicators/keltner-channels.src.js +1 -1
- package/esm/indicators/klinger.js +12 -1
- package/esm/indicators/klinger.src.js +1 -1
- package/esm/indicators/macd.js +12 -1
- package/esm/indicators/macd.src.js +2 -2
- package/esm/indicators/mfi.js +12 -1
- package/esm/indicators/mfi.src.js +1 -1
- package/esm/indicators/momentum.js +12 -1
- package/esm/indicators/momentum.src.js +1 -1
- package/esm/indicators/natr.js +12 -1
- package/esm/indicators/natr.src.js +1 -1
- package/esm/indicators/obv.js +12 -1
- package/esm/indicators/obv.src.js +1 -1
- package/esm/indicators/pivot-points.js +12 -1
- package/esm/indicators/pivot-points.src.js +1 -1
- package/esm/indicators/ppo.js +12 -1
- package/esm/indicators/ppo.src.js +1 -1
- package/esm/indicators/price-channel.js +12 -1
- package/esm/indicators/price-channel.src.js +1 -1
- package/esm/indicators/price-envelopes.js +12 -1
- package/esm/indicators/price-envelopes.src.js +1 -1
- package/esm/indicators/psar.js +12 -1
- package/esm/indicators/psar.src.js +1 -1
- package/esm/indicators/regressions.js +12 -1
- package/esm/indicators/regressions.src.js +1 -1
- package/esm/indicators/roc.js +12 -1
- package/esm/indicators/roc.src.js +1 -1
- package/esm/indicators/rsi.js +12 -1
- package/esm/indicators/rsi.src.js +1 -1
- package/esm/indicators/slow-stochastic.js +12 -1
- package/esm/indicators/slow-stochastic.src.js +1 -1
- package/esm/indicators/stochastic.js +12 -1
- package/esm/indicators/stochastic.src.js +1 -1
- package/esm/indicators/supertrend.js +12 -1
- package/esm/indicators/supertrend.src.js +1 -1
- package/esm/indicators/tema.js +12 -1
- package/esm/indicators/tema.src.js +1 -1
- package/esm/indicators/trendline.js +12 -1
- package/esm/indicators/trendline.src.js +1 -1
- package/esm/indicators/trix.js +12 -1
- package/esm/indicators/trix.src.js +1 -1
- package/esm/indicators/volume-by-price.js +12 -1
- package/esm/indicators/volume-by-price.src.js +1 -1
- package/esm/indicators/vwap.js +12 -1
- package/esm/indicators/vwap.src.js +1 -1
- package/esm/indicators/williams-r.js +12 -1
- package/esm/indicators/williams-r.src.js +1 -1
- package/esm/indicators/wma.js +12 -1
- package/esm/indicators/wma.src.js +1 -1
- package/esm/indicators/zigzag.js +12 -1
- package/esm/indicators/zigzag.src.js +1 -1
- package/esm/modules/accessibility.js +12 -1
- package/esm/modules/accessibility.src.js +92 -63
- package/esm/modules/annotations-advanced.js +11 -1
- package/esm/modules/annotations-advanced.src.js +872 -778
- package/esm/modules/annotations.js +11 -1
- package/esm/modules/annotations.src.js +95 -43
- package/esm/modules/arc-diagram.js +11 -1
- package/esm/modules/arc-diagram.src.js +3 -3
- package/esm/modules/arrow-symbols.js +11 -1
- package/esm/modules/arrow-symbols.src.js +1 -1
- package/esm/modules/boost-canvas.js +12 -1
- package/esm/modules/boost-canvas.src.js +102 -53
- package/esm/modules/boost.js +13 -1
- package/esm/modules/boost.src.js +107 -49
- package/esm/modules/broken-axis.js +9 -1
- package/esm/modules/broken-axis.src.js +115 -91
- package/esm/modules/bullet.js +11 -1
- package/esm/modules/bullet.src.js +1 -1
- package/esm/modules/coloraxis.js +11 -1
- package/esm/modules/coloraxis.src.js +6 -7
- package/esm/modules/current-date-indicator.js +11 -1
- package/esm/modules/current-date-indicator.src.js +1 -1
- package/esm/modules/cylinder.js +12 -1
- package/esm/modules/cylinder.src.js +1 -1
- package/esm/modules/data-tools.js +11 -1
- package/esm/modules/data-tools.src.js +542 -125
- package/esm/modules/data.js +11 -1
- package/esm/modules/data.src.js +46 -39
- package/esm/modules/datagrouping.js +11 -1
- package/esm/modules/datagrouping.src.js +1 -1
- package/esm/modules/debugger.js +11 -1
- package/esm/modules/debugger.src.js +1 -1
- package/esm/modules/dependency-wheel.js +12 -1
- package/esm/modules/dependency-wheel.src.js +3 -3
- package/esm/modules/dotplot.js +11 -1
- package/esm/modules/dotplot.src.js +1 -1
- package/esm/modules/drag-panes.js +13 -1
- package/esm/modules/drag-panes.src.js +1 -1
- package/esm/modules/draggable-points.js +9 -1
- package/esm/modules/draggable-points.src.js +1 -1
- package/esm/modules/drilldown.js +13 -1
- package/esm/modules/drilldown.src.js +4 -2
- package/esm/modules/dumbbell.js +9 -1
- package/esm/modules/dumbbell.src.js +1 -1
- package/esm/modules/export-data.js +12 -1
- package/esm/modules/export-data.src.js +985 -799
- package/esm/modules/exporting.js +11 -1
- package/esm/modules/exporting.src.js +1453 -634
- package/esm/modules/flowmap.js +9 -1
- package/esm/modules/flowmap.src.js +1 -1
- package/esm/modules/full-screen.js +12 -1
- package/esm/modules/full-screen.src.js +3 -3
- package/esm/modules/funnel.js +11 -1
- package/esm/modules/funnel.src.js +7 -3
- package/esm/modules/funnel3d.js +13 -1
- package/esm/modules/funnel3d.src.js +1 -1
- package/esm/modules/gantt.js +11 -1
- package/esm/modules/gantt.src.js +254 -212
- package/esm/modules/geoheatmap.js +9 -1
- package/esm/modules/geoheatmap.src.js +1 -1
- package/esm/modules/grid-axis.js +11 -1
- package/esm/modules/grid-axis.src.js +1 -1
- package/esm/modules/heatmap.js +9 -1
- package/esm/modules/heatmap.src.js +2 -3
- package/esm/modules/heikinashi.js +12 -1
- package/esm/modules/heikinashi.src.js +1 -1
- package/esm/modules/histogram-bellcurve.js +10 -1
- package/esm/modules/histogram-bellcurve.src.js +36 -27
- package/esm/modules/hollowcandlestick.js +12 -1
- package/esm/modules/hollowcandlestick.src.js +1 -1
- package/esm/modules/item-series.js +11 -1
- package/esm/modules/item-series.src.js +3 -5
- package/esm/modules/lollipop.js +9 -1
- package/esm/modules/lollipop.src.js +1 -1
- package/esm/modules/map.js +11 -1
- package/esm/modules/map.src.js +5 -6
- package/esm/modules/marker-clusters.js +11 -1
- package/esm/modules/marker-clusters.src.js +1 -1
- package/esm/modules/mouse-wheel-zoom.js +11 -1
- package/esm/modules/mouse-wheel-zoom.src.js +1 -1
- package/esm/modules/navigator.js +11 -1
- package/esm/modules/navigator.src.js +29 -29
- package/esm/modules/networkgraph.js +11 -1
- package/esm/modules/networkgraph.src.js +16 -4
- package/esm/modules/no-data-to-display.js +12 -1
- package/esm/modules/no-data-to-display.src.js +1 -1
- package/esm/modules/non-cartesian-zoom.d.ts +2 -0
- package/esm/modules/non-cartesian-zoom.js +11 -0
- package/esm/modules/non-cartesian-zoom.src.d.ts +2 -0
- package/esm/modules/non-cartesian-zoom.src.js +374 -0
- package/esm/modules/offline-exporting.js +12 -1
- package/esm/modules/offline-exporting.src.js +339 -3363
- package/esm/modules/organization.js +11 -1
- package/esm/modules/organization.src.js +3 -3
- package/esm/modules/parallel-coordinates.js +11 -1
- package/esm/modules/parallel-coordinates.src.js +1 -1
- package/esm/modules/pareto.js +11 -1
- package/esm/modules/pareto.src.js +1 -1
- package/esm/modules/pathfinder.js +11 -1
- package/esm/modules/pathfinder.src.js +1 -1
- package/esm/modules/pattern-fill.js +12 -1
- package/esm/modules/pattern-fill.src.js +1 -1
- package/esm/modules/pictorial.js +11 -1
- package/esm/modules/pictorial.src.js +1 -1
- package/esm/modules/pointandfigure.js +12 -1
- package/esm/modules/pointandfigure.src.js +1 -1
- package/esm/modules/price-indicator.js +13 -1
- package/esm/modules/price-indicator.src.js +1 -1
- package/esm/modules/pyramid3d.js +14 -1
- package/esm/modules/pyramid3d.src.js +1 -1
- package/esm/modules/renko.js +12 -1
- package/esm/modules/renko.src.js +1 -1
- package/esm/modules/sankey.js +11 -1
- package/esm/modules/sankey.src.js +3 -3
- package/esm/modules/series-label.js +9 -1
- package/esm/modules/series-label.src.js +1 -1
- package/esm/modules/series-on-point.js +12 -1
- package/esm/modules/series-on-point.src.js +1 -9
- package/esm/modules/solid-gauge.js +12 -1
- package/esm/modules/solid-gauge.src.js +27 -5
- package/esm/modules/sonification.js +12 -1
- package/esm/modules/sonification.src.js +45 -10
- package/esm/modules/static-scale.js +11 -1
- package/esm/modules/static-scale.src.js +14 -12
- package/esm/modules/stock-tools.js +13 -1
- package/esm/modules/stock-tools.src.js +37 -116
- package/esm/modules/stock.js +11 -1
- package/esm/modules/stock.src.js +98 -98
- package/esm/modules/streamgraph.js +11 -1
- package/esm/modules/streamgraph.src.js +1 -1
- package/esm/modules/sunburst.js +10 -1
- package/esm/modules/sunburst.src.js +9 -9
- package/esm/modules/textpath.js +9 -1
- package/esm/modules/textpath.src.js +3 -3
- package/esm/modules/tiledwebmap.js +10 -2
- package/esm/modules/tiledwebmap.src.js +1 -1
- package/esm/modules/tilemap.js +12 -1
- package/esm/modules/tilemap.src.js +1 -1
- package/esm/modules/timeline.js +12 -1
- package/esm/modules/timeline.src.js +1 -1
- package/esm/modules/treegraph.js +11 -1
- package/esm/modules/treegraph.src.js +16 -8
- package/esm/modules/treegrid.js +11 -1
- package/esm/modules/treegrid.src.js +190 -159
- package/esm/modules/treemap.js +10 -1
- package/esm/modules/treemap.src.js +7 -7
- package/esm/modules/variable-pie.js +11 -1
- package/esm/modules/variable-pie.src.js +1 -1
- package/esm/modules/variwide.js +11 -1
- package/esm/modules/variwide.src.js +18 -13
- package/esm/modules/vector.js +11 -1
- package/esm/modules/vector.src.js +1 -1
- package/esm/modules/venn.js +10 -1
- package/esm/modules/venn.src.js +5 -3
- package/esm/modules/windbarb.js +11 -1
- package/esm/modules/windbarb.src.js +1 -1
- package/esm/modules/wordcloud.js +10 -1
- package/esm/modules/wordcloud.src.js +89 -12
- package/esm/modules/xrange.js +11 -1
- package/esm/modules/xrange.src.js +3 -2
- package/esm/standalone-navigator.js +11 -2
- package/esm/standalone-navigator.src.js +312 -206
- package/esm/themes/adaptive.d.ts +2 -0
- package/esm/themes/adaptive.js +130 -0
- package/esm/themes/adaptive.src.d.ts +2 -0
- package/esm/themes/adaptive.src.js +1069 -0
- package/esm/themes/avocado.js +9 -1
- package/esm/themes/avocado.src.js +1 -1
- package/esm/themes/brand-dark.js +9 -1
- package/esm/themes/brand-dark.src.js +1 -1
- package/esm/themes/brand-light.js +9 -1
- package/esm/themes/brand-light.src.js +1 -1
- package/esm/themes/dark-blue.js +9 -1
- package/esm/themes/dark-blue.src.js +1 -1
- package/esm/themes/dark-green.js +9 -1
- package/esm/themes/dark-green.src.js +1 -1
- package/esm/themes/dark-unica.js +9 -1
- package/esm/themes/dark-unica.src.js +1 -1
- package/esm/themes/gray.js +9 -1
- package/esm/themes/gray.src.js +1 -1
- package/esm/themes/grid-light.js +9 -1
- package/esm/themes/grid-light.src.js +1 -1
- package/esm/themes/grid.js +9 -1
- package/esm/themes/grid.src.js +1 -1
- package/esm/themes/high-contrast-dark.js +9 -1
- package/esm/themes/high-contrast-dark.src.js +1 -1
- package/esm/themes/high-contrast-light.js +9 -1
- package/esm/themes/high-contrast-light.src.js +1 -1
- package/esm/themes/sand-signika.js +9 -1
- package/esm/themes/sand-signika.src.js +1 -1
- package/esm/themes/skies.js +9 -1
- package/esm/themes/skies.src.js +1 -1
- package/esm/themes/sunset.js +9 -1
- package/esm/themes/sunset.src.js +1 -1
- package/highcharts-3d.d.ts +1 -9
- package/highcharts-3d.js +11 -1
- package/highcharts-3d.src.d.ts +1 -9
- package/highcharts-3d.src.js +3 -4
- package/highcharts-gantt.js +15 -2
- package/highcharts-gantt.src.js +546 -392
- package/highcharts-more.d.ts +10 -9
- package/highcharts-more.js +9 -1
- package/highcharts-more.src.d.ts +10 -9
- package/highcharts-more.src.js +516 -57
- package/highcharts.d.ts +4526 -1522
- package/highcharts.js +9 -2
- package/highcharts.src.d.ts +4526 -1522
- package/highcharts.src.js +273 -168
- package/highmaps.js +9 -2
- package/highmaps.src.js +294 -191
- package/highstock.js +9 -2
- package/highstock.src.js +490 -361
- package/i18n/fr-FR.js +13 -1
- package/i18n/fr-FR.src.js +8 -8
- package/i18n/nb-NO.js +13 -1
- package/i18n/nb-NO.src.js +8 -8
- package/i18n/zh-CN.js +13 -1
- package/i18n/zh-CN.src.js +8 -8
- package/indicators/acceleration-bands.d.ts +1 -9
- package/indicators/acceleration-bands.js +12 -1
- package/indicators/acceleration-bands.src.d.ts +1 -9
- package/indicators/acceleration-bands.src.js +1 -1
- package/indicators/accumulation-distribution.d.ts +1 -9
- package/indicators/accumulation-distribution.js +12 -1
- package/indicators/accumulation-distribution.src.d.ts +1 -9
- package/indicators/accumulation-distribution.src.js +1 -1
- package/indicators/ao.d.ts +1 -9
- package/indicators/ao.js +12 -1
- package/indicators/ao.src.d.ts +1 -9
- package/indicators/ao.src.js +1 -1
- package/indicators/apo.d.ts +1 -9
- package/indicators/apo.js +12 -1
- package/indicators/apo.src.d.ts +1 -9
- package/indicators/apo.src.js +1 -1
- package/indicators/aroon-oscillator.d.ts +1 -9
- package/indicators/aroon-oscillator.js +12 -1
- package/indicators/aroon-oscillator.src.d.ts +1 -9
- package/indicators/aroon-oscillator.src.js +1 -1
- package/indicators/aroon.d.ts +1 -9
- package/indicators/aroon.js +12 -1
- package/indicators/aroon.src.d.ts +1 -9
- package/indicators/aroon.src.js +1 -1
- package/indicators/atr.d.ts +1 -9
- package/indicators/atr.js +12 -1
- package/indicators/atr.src.d.ts +1 -9
- package/indicators/atr.src.js +1 -1
- package/indicators/bollinger-bands.d.ts +1 -9
- package/indicators/bollinger-bands.js +12 -1
- package/indicators/bollinger-bands.src.d.ts +1 -9
- package/indicators/bollinger-bands.src.js +1 -1
- package/indicators/cci.d.ts +1 -9
- package/indicators/cci.js +12 -1
- package/indicators/cci.src.d.ts +1 -9
- package/indicators/cci.src.js +1 -1
- package/indicators/chaikin.d.ts +1 -9
- package/indicators/chaikin.js +12 -1
- package/indicators/chaikin.src.d.ts +1 -9
- package/indicators/chaikin.src.js +1 -1
- package/indicators/cmf.d.ts +1 -9
- package/indicators/cmf.js +11 -1
- package/indicators/cmf.src.d.ts +1 -9
- package/indicators/cmf.src.js +1 -1
- package/indicators/cmo.d.ts +1 -9
- package/indicators/cmo.js +12 -1
- package/indicators/cmo.src.d.ts +1 -9
- package/indicators/cmo.src.js +1 -1
- package/indicators/dema.d.ts +1 -9
- package/indicators/dema.js +12 -1
- package/indicators/dema.src.d.ts +1 -9
- package/indicators/dema.src.js +1 -1
- package/indicators/disparity-index.d.ts +1 -9
- package/indicators/disparity-index.js +12 -1
- package/indicators/disparity-index.src.d.ts +1 -9
- package/indicators/disparity-index.src.js +1 -1
- package/indicators/dmi.d.ts +1 -9
- package/indicators/dmi.js +12 -1
- package/indicators/dmi.src.d.ts +1 -9
- package/indicators/dmi.src.js +1 -1
- package/indicators/dpo.d.ts +1 -9
- package/indicators/dpo.js +12 -1
- package/indicators/dpo.src.d.ts +1 -9
- package/indicators/dpo.src.js +1 -1
- package/indicators/ema.d.ts +1 -9
- package/indicators/ema.src.d.ts +1 -9
- package/indicators/ema.src.js +3 -6
- package/indicators/ichimoku-kinko-hyo.d.ts +1 -9
- package/indicators/ichimoku-kinko-hyo.js +12 -1
- package/indicators/ichimoku-kinko-hyo.src.d.ts +1 -9
- package/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/indicators/indicators-all.d.ts +1 -9
- package/indicators/indicators-all.js +12 -1
- package/indicators/indicators-all.src.d.ts +1 -9
- package/indicators/indicators-all.src.js +2 -2
- package/indicators/indicators.d.ts +1 -9
- package/indicators/indicators.js +12 -1
- package/indicators/indicators.src.d.ts +1 -9
- package/indicators/indicators.src.js +1 -1
- package/indicators/keltner-channels.d.ts +1 -9
- package/indicators/keltner-channels.js +12 -1
- package/indicators/keltner-channels.src.d.ts +1 -9
- package/indicators/keltner-channels.src.js +1 -1
- package/indicators/klinger.d.ts +1 -9
- package/indicators/klinger.js +12 -1
- package/indicators/klinger.src.d.ts +1 -9
- package/indicators/klinger.src.js +1 -1
- package/indicators/macd.d.ts +1 -9
- package/indicators/macd.js +12 -1
- package/indicators/macd.src.d.ts +1 -9
- package/indicators/macd.src.js +2 -2
- package/indicators/mfi.d.ts +1 -9
- package/indicators/mfi.js +12 -1
- package/indicators/mfi.src.d.ts +1 -9
- package/indicators/mfi.src.js +1 -1
- package/indicators/momentum.d.ts +1 -9
- package/indicators/momentum.js +12 -1
- package/indicators/momentum.src.d.ts +1 -9
- package/indicators/momentum.src.js +1 -1
- package/indicators/natr.d.ts +1 -9
- package/indicators/natr.js +12 -1
- package/indicators/natr.src.d.ts +1 -9
- package/indicators/natr.src.js +1 -1
- package/indicators/obv.d.ts +1 -9
- package/indicators/obv.js +12 -1
- package/indicators/obv.src.d.ts +1 -9
- package/indicators/obv.src.js +1 -1
- package/indicators/pivot-points.d.ts +1 -9
- package/indicators/pivot-points.js +12 -1
- package/indicators/pivot-points.src.d.ts +1 -9
- package/indicators/pivot-points.src.js +1 -1
- package/indicators/ppo.d.ts +1 -9
- package/indicators/ppo.js +12 -1
- package/indicators/ppo.src.d.ts +1 -9
- package/indicators/ppo.src.js +1 -1
- package/indicators/price-channel.d.ts +1 -9
- package/indicators/price-channel.js +12 -1
- package/indicators/price-channel.src.d.ts +1 -9
- package/indicators/price-channel.src.js +1 -1
- package/indicators/price-envelopes.d.ts +1 -9
- package/indicators/price-envelopes.js +12 -1
- package/indicators/price-envelopes.src.d.ts +1 -9
- package/indicators/price-envelopes.src.js +1 -1
- package/indicators/psar.d.ts +1 -9
- package/indicators/psar.js +12 -1
- package/indicators/psar.src.d.ts +1 -9
- package/indicators/psar.src.js +1 -1
- package/indicators/regressions.d.ts +1 -9
- package/indicators/regressions.js +12 -1
- package/indicators/regressions.src.d.ts +1 -9
- package/indicators/regressions.src.js +1 -1
- package/indicators/roc.d.ts +1 -9
- package/indicators/roc.js +12 -1
- package/indicators/roc.src.d.ts +1 -9
- package/indicators/roc.src.js +1 -1
- package/indicators/rsi.d.ts +1 -9
- package/indicators/rsi.js +12 -1
- package/indicators/rsi.src.d.ts +1 -9
- package/indicators/rsi.src.js +1 -1
- package/indicators/slow-stochastic.d.ts +1 -9
- package/indicators/slow-stochastic.js +12 -1
- package/indicators/slow-stochastic.src.d.ts +1 -9
- package/indicators/slow-stochastic.src.js +1 -1
- package/indicators/stochastic.d.ts +1 -9
- package/indicators/stochastic.js +12 -1
- package/indicators/stochastic.src.d.ts +1 -9
- package/indicators/stochastic.src.js +1 -1
- package/indicators/supertrend.d.ts +1 -9
- package/indicators/supertrend.js +12 -1
- package/indicators/supertrend.src.d.ts +1 -9
- package/indicators/supertrend.src.js +1 -1
- package/indicators/tema.d.ts +1 -9
- package/indicators/tema.js +12 -1
- package/indicators/tema.src.d.ts +1 -9
- package/indicators/tema.src.js +1 -1
- package/indicators/trendline.d.ts +1 -9
- package/indicators/trendline.js +12 -1
- package/indicators/trendline.src.d.ts +1 -9
- package/indicators/trendline.src.js +1 -1
- package/indicators/trix.d.ts +1 -9
- package/indicators/trix.js +12 -1
- package/indicators/trix.src.d.ts +1 -9
- package/indicators/trix.src.js +1 -1
- package/indicators/volume-by-price.d.ts +1 -9
- package/indicators/volume-by-price.js +12 -1
- package/indicators/volume-by-price.src.d.ts +1 -9
- package/indicators/volume-by-price.src.js +1 -1
- package/indicators/vwap.d.ts +1 -9
- package/indicators/vwap.js +12 -1
- package/indicators/vwap.src.d.ts +1 -9
- package/indicators/vwap.src.js +1 -1
- package/indicators/williams-r.d.ts +1 -9
- package/indicators/williams-r.js +12 -1
- package/indicators/williams-r.src.d.ts +1 -9
- package/indicators/williams-r.src.js +1 -1
- package/indicators/wma.d.ts +1 -9
- package/indicators/wma.js +12 -1
- package/indicators/wma.src.d.ts +1 -9
- package/indicators/wma.src.js +1 -1
- package/indicators/zigzag.d.ts +1 -9
- package/indicators/zigzag.js +12 -1
- package/indicators/zigzag.src.d.ts +1 -9
- package/indicators/zigzag.src.js +1 -1
- package/modules/accessibility.d.ts +1 -11
- package/modules/accessibility.js +12 -1
- package/modules/accessibility.src.d.ts +1 -11
- package/modules/accessibility.src.js +92 -63
- package/modules/annotations-advanced.d.ts +1 -9
- package/modules/annotations-advanced.js +21 -1
- package/modules/annotations-advanced.src.d.ts +1 -9
- package/modules/annotations-advanced.src.js +888 -794
- package/modules/annotations.d.ts +1 -9
- package/modules/annotations.js +11 -1
- package/modules/annotations.src.d.ts +1 -9
- package/modules/annotations.src.js +95 -43
- package/modules/arc-diagram.d.ts +1 -9
- package/modules/arc-diagram.js +11 -1
- package/modules/arc-diagram.src.d.ts +1 -9
- package/modules/arc-diagram.src.js +3 -3
- package/modules/arrow-symbols.d.ts +1 -9
- package/modules/arrow-symbols.js +11 -1
- package/modules/arrow-symbols.src.d.ts +1 -9
- package/modules/arrow-symbols.src.js +1 -1
- package/modules/boost-canvas.d.ts +1 -9
- package/modules/boost-canvas.js +12 -1
- package/modules/boost-canvas.src.d.ts +1 -9
- package/modules/boost-canvas.src.js +102 -53
- package/modules/boost.d.ts +1 -9
- package/modules/boost.js +13 -1
- package/modules/boost.src.d.ts +1 -9
- package/modules/boost.src.js +107 -49
- package/modules/broken-axis.d.ts +1 -9
- package/modules/broken-axis.js +9 -1
- package/modules/broken-axis.src.d.ts +1 -9
- package/modules/broken-axis.src.js +115 -91
- package/modules/bullet.d.ts +1 -9
- package/modules/bullet.js +11 -1
- package/modules/bullet.src.d.ts +1 -9
- package/modules/bullet.src.js +1 -1
- package/modules/coloraxis.d.ts +1 -9
- package/modules/coloraxis.js +11 -1
- package/modules/coloraxis.src.d.ts +1 -9
- package/modules/coloraxis.src.js +6 -7
- package/modules/current-date-indicator.d.ts +1 -9
- package/modules/current-date-indicator.js +11 -1
- package/modules/current-date-indicator.src.d.ts +1 -9
- package/modules/current-date-indicator.src.js +1 -1
- package/modules/cylinder.d.ts +1 -9
- package/modules/cylinder.js +12 -1
- package/modules/cylinder.src.d.ts +1 -9
- package/modules/cylinder.src.js +1 -1
- package/modules/data-tools.js +11 -1
- package/modules/data-tools.src.js +542 -125
- package/modules/data.d.ts +1 -9
- package/modules/data.js +11 -1
- package/modules/data.src.d.ts +1 -9
- package/modules/data.src.js +46 -39
- package/modules/datagrouping.d.ts +1 -9
- package/modules/datagrouping.js +11 -1
- package/modules/datagrouping.src.d.ts +1 -9
- package/modules/datagrouping.src.js +1 -1
- package/modules/debugger.d.ts +1 -9
- package/modules/debugger.js +11 -1
- package/modules/debugger.src.d.ts +1 -9
- package/modules/debugger.src.js +1 -1
- package/modules/dependency-wheel.d.ts +1 -9
- package/modules/dependency-wheel.js +12 -1
- package/modules/dependency-wheel.src.d.ts +1 -9
- package/modules/dependency-wheel.src.js +3 -3
- package/modules/dotplot.d.ts +1 -9
- package/modules/dotplot.js +11 -1
- package/modules/dotplot.src.d.ts +1 -9
- package/modules/dotplot.src.js +1 -1
- package/modules/drag-panes.d.ts +1 -9
- package/modules/drag-panes.js +13 -1
- package/modules/drag-panes.src.d.ts +1 -9
- package/modules/drag-panes.src.js +1 -1
- package/modules/draggable-points.d.ts +1 -9
- package/modules/draggable-points.js +9 -1
- package/modules/draggable-points.src.d.ts +1 -9
- package/modules/draggable-points.src.js +1 -1
- package/modules/drilldown.d.ts +1 -9
- package/modules/drilldown.js +13 -1
- package/modules/drilldown.src.d.ts +1 -9
- package/modules/drilldown.src.js +4 -2
- package/modules/dumbbell.d.ts +1 -9
- package/modules/dumbbell.js +9 -1
- package/modules/dumbbell.src.d.ts +1 -9
- package/modules/dumbbell.src.js +1 -1
- package/modules/export-data.d.ts +2 -79
- package/modules/export-data.js +12 -1
- package/modules/export-data.src.d.ts +2 -79
- package/modules/export-data.src.js +997 -804
- package/modules/exporting.d.ts +35 -21
- package/modules/exporting.js +11 -1
- package/modules/exporting.src.d.ts +35 -21
- package/modules/exporting.src.js +1452 -628
- package/modules/flowmap.d.ts +1 -9
- package/modules/flowmap.js +9 -1
- package/modules/flowmap.src.d.ts +1 -9
- package/modules/flowmap.src.js +1 -1
- package/modules/full-screen.d.ts +1 -9
- package/modules/full-screen.js +12 -1
- package/modules/full-screen.src.d.ts +1 -9
- package/modules/full-screen.src.js +3 -3
- package/modules/funnel.d.ts +1 -9
- package/modules/funnel.js +11 -1
- package/modules/funnel.src.d.ts +1 -9
- package/modules/funnel.src.js +7 -3
- package/modules/funnel3d.d.ts +1 -9
- package/modules/funnel3d.js +13 -1
- package/modules/funnel3d.src.d.ts +1 -9
- package/modules/funnel3d.src.js +1 -1
- package/modules/gantt.d.ts +1 -9
- package/modules/gantt.js +31 -1
- package/modules/gantt.src.d.ts +1 -9
- package/modules/gantt.src.js +273 -230
- package/modules/geoheatmap.d.ts +1 -9
- package/modules/geoheatmap.js +9 -1
- package/modules/geoheatmap.src.d.ts +1 -9
- package/modules/geoheatmap.src.js +1 -1
- package/modules/grid-axis.d.ts +1 -9
- package/modules/grid-axis.js +11 -1
- package/modules/grid-axis.src.d.ts +1 -9
- package/modules/grid-axis.src.js +1 -1
- package/modules/heatmap.d.ts +1 -9
- package/modules/heatmap.js +19 -1
- package/modules/heatmap.src.d.ts +1 -9
- package/modules/heatmap.src.js +21 -23
- package/modules/heikinashi.d.ts +1 -9
- package/modules/heikinashi.js +12 -1
- package/modules/heikinashi.src.d.ts +1 -9
- package/modules/heikinashi.src.js +1 -1
- package/modules/histogram-bellcurve.d.ts +2 -11
- package/modules/histogram-bellcurve.js +10 -1
- package/modules/histogram-bellcurve.src.d.ts +2 -11
- package/modules/histogram-bellcurve.src.js +36 -27
- package/modules/hollowcandlestick.d.ts +1 -9
- package/modules/hollowcandlestick.js +12 -1
- package/modules/hollowcandlestick.src.d.ts +1 -9
- package/modules/hollowcandlestick.src.js +1 -1
- package/modules/item-series.d.ts +1 -9
- package/modules/item-series.js +11 -1
- package/modules/item-series.src.d.ts +1 -9
- package/modules/item-series.src.js +3 -5
- package/modules/lollipop.d.ts +1 -9
- package/modules/lollipop.js +9 -1
- package/modules/lollipop.src.d.ts +1 -9
- package/modules/lollipop.src.js +1 -1
- package/modules/map.d.ts +1 -9
- package/modules/map.js +21 -1
- package/modules/map.src.d.ts +1 -9
- package/modules/map.src.js +25 -27
- package/modules/marker-clusters.d.ts +1 -9
- package/modules/marker-clusters.js +11 -1
- package/modules/marker-clusters.src.d.ts +1 -9
- package/modules/marker-clusters.src.js +1 -1
- package/modules/mouse-wheel-zoom.d.ts +1 -9
- package/modules/mouse-wheel-zoom.js +11 -1
- package/modules/mouse-wheel-zoom.src.d.ts +1 -9
- package/modules/mouse-wheel-zoom.src.js +1 -1
- package/modules/navigator.d.ts +1 -9
- package/modules/navigator.js +11 -1
- package/modules/navigator.src.d.ts +1 -9
- package/modules/navigator.src.js +29 -29
- package/modules/networkgraph.d.ts +1 -9
- package/modules/networkgraph.js +11 -1
- package/modules/networkgraph.src.d.ts +1 -9
- package/modules/networkgraph.src.js +16 -4
- package/modules/no-data-to-display.d.ts +1 -9
- package/modules/no-data-to-display.js +12 -1
- package/modules/no-data-to-display.src.d.ts +1 -9
- package/modules/no-data-to-display.src.js +1 -1
- package/modules/non-cartesian-zoom.d.ts +9 -0
- package/modules/non-cartesian-zoom.js +11 -0
- package/modules/non-cartesian-zoom.src.d.ts +9 -0
- package/modules/non-cartesian-zoom.src.js +427 -0
- package/modules/offline-exporting.d.ts +2 -90
- package/modules/offline-exporting.js +12 -1
- package/modules/offline-exporting.src.d.ts +2 -90
- package/modules/offline-exporting.src.js +355 -3380
- package/modules/organization.d.ts +1 -9
- package/modules/organization.js +11 -1
- package/modules/organization.src.d.ts +1 -9
- package/modules/organization.src.js +3 -3
- package/modules/parallel-coordinates.d.ts +1 -9
- package/modules/parallel-coordinates.js +11 -1
- package/modules/parallel-coordinates.src.d.ts +1 -9
- package/modules/parallel-coordinates.src.js +1 -1
- package/modules/pareto.d.ts +1 -9
- package/modules/pareto.js +11 -1
- package/modules/pareto.src.d.ts +1 -9
- package/modules/pareto.src.js +1 -1
- package/modules/pathfinder.d.ts +1 -9
- package/modules/pathfinder.js +11 -1
- package/modules/pathfinder.src.d.ts +1 -9
- package/modules/pathfinder.src.js +1 -1
- package/modules/pattern-fill.d.ts +1 -9
- package/modules/pattern-fill.js +12 -1
- package/modules/pattern-fill.src.d.ts +1 -9
- package/modules/pattern-fill.src.js +1 -1
- package/modules/pictorial.d.ts +1 -9
- package/modules/pictorial.js +11 -1
- package/modules/pictorial.src.d.ts +1 -9
- package/modules/pictorial.src.js +1 -1
- package/modules/pointandfigure.d.ts +1 -9
- package/modules/pointandfigure.js +12 -1
- package/modules/pointandfigure.src.d.ts +1 -9
- package/modules/pointandfigure.src.js +1 -1
- package/modules/price-indicator.d.ts +1 -9
- package/modules/price-indicator.js +13 -1
- package/modules/price-indicator.src.d.ts +1 -9
- package/modules/price-indicator.src.js +1 -1
- package/modules/pyramid3d.d.ts +1 -9
- package/modules/pyramid3d.js +14 -1
- package/modules/pyramid3d.src.d.ts +1 -9
- package/modules/pyramid3d.src.js +1 -1
- package/modules/renko.d.ts +1 -9
- package/modules/renko.js +12 -1
- package/modules/renko.src.d.ts +1 -9
- package/modules/renko.src.js +1 -1
- package/modules/sankey.d.ts +1 -9
- package/modules/sankey.js +11 -1
- package/modules/sankey.src.d.ts +1 -9
- package/modules/sankey.src.js +3 -3
- package/modules/series-label.d.ts +1 -9
- package/modules/series-label.js +9 -1
- package/modules/series-label.src.d.ts +1 -9
- package/modules/series-label.src.js +1 -1
- package/modules/series-on-point.d.ts +1 -9
- package/modules/series-on-point.js +12 -1
- package/modules/series-on-point.src.d.ts +1 -9
- package/modules/series-on-point.src.js +6 -16
- package/modules/solid-gauge.d.ts +1 -9
- package/modules/solid-gauge.js +12 -1
- package/modules/solid-gauge.src.d.ts +1 -9
- package/modules/solid-gauge.src.js +27 -5
- package/modules/sonification.d.ts +1 -9
- package/modules/sonification.js +12 -1
- package/modules/sonification.src.d.ts +1 -9
- package/modules/sonification.src.js +45 -10
- package/modules/static-scale.d.ts +1 -9
- package/modules/static-scale.js +11 -1
- package/modules/static-scale.src.d.ts +1 -9
- package/modules/static-scale.src.js +14 -12
- package/modules/stock-tools.d.ts +1 -9
- package/modules/stock-tools.js +13 -1
- package/modules/stock-tools.src.d.ts +1 -9
- package/modules/stock-tools.src.js +37 -116
- package/modules/stock.d.ts +1 -9
- package/modules/stock.js +21 -1
- package/modules/stock.src.d.ts +1 -9
- package/modules/stock.src.js +233 -209
- package/modules/streamgraph.d.ts +1 -9
- package/modules/streamgraph.js +11 -1
- package/modules/streamgraph.src.d.ts +1 -9
- package/modules/streamgraph.src.js +1 -1
- package/modules/sunburst.d.ts +1 -9
- package/modules/sunburst.js +10 -1
- package/modules/sunburst.src.d.ts +1 -9
- package/modules/sunburst.src.js +9 -9
- package/modules/textpath.d.ts +1 -9
- package/modules/textpath.js +9 -1
- package/modules/textpath.src.d.ts +1 -9
- package/modules/textpath.src.js +3 -3
- package/modules/tiledwebmap.d.ts +1 -9
- package/modules/tiledwebmap.js +10 -2
- package/modules/tiledwebmap.src.d.ts +1 -9
- package/modules/tiledwebmap.src.js +1 -1
- package/modules/tilemap.d.ts +1 -9
- package/modules/tilemap.js +12 -1
- package/modules/tilemap.src.d.ts +1 -9
- package/modules/tilemap.src.js +1 -1
- package/modules/timeline.d.ts +1 -9
- package/modules/timeline.js +12 -1
- package/modules/timeline.src.d.ts +1 -9
- package/modules/timeline.src.js +1 -1
- package/modules/treegraph.d.ts +1 -9
- package/modules/treegraph.js +11 -1
- package/modules/treegraph.src.d.ts +1 -9
- package/modules/treegraph.src.js +16 -8
- package/modules/treegrid.d.ts +1 -9
- package/modules/treegrid.js +11 -1
- package/modules/treegrid.src.d.ts +1 -9
- package/modules/treegrid.src.js +190 -159
- package/modules/treemap.d.ts +1 -9
- package/modules/treemap.js +10 -1
- package/modules/treemap.src.d.ts +1 -9
- package/modules/treemap.src.js +7 -7
- package/modules/variable-pie.d.ts +1 -9
- package/modules/variable-pie.js +11 -1
- package/modules/variable-pie.src.d.ts +1 -9
- package/modules/variable-pie.src.js +1 -1
- package/modules/variwide.d.ts +1 -9
- package/modules/variwide.js +11 -1
- package/modules/variwide.src.d.ts +1 -9
- package/modules/variwide.src.js +18 -13
- package/modules/vector.d.ts +1 -9
- package/modules/vector.js +11 -1
- package/modules/vector.src.d.ts +1 -9
- package/modules/vector.src.js +1 -1
- package/modules/venn.d.ts +1 -9
- package/modules/venn.js +10 -1
- package/modules/venn.src.d.ts +1 -9
- package/modules/venn.src.js +5 -3
- package/modules/windbarb.d.ts +1 -9
- package/modules/windbarb.js +11 -1
- package/modules/windbarb.src.d.ts +1 -9
- package/modules/windbarb.src.js +1 -1
- package/modules/wordcloud.d.ts +1 -9
- package/modules/wordcloud.js +10 -1
- package/modules/wordcloud.src.d.ts +1 -9
- package/modules/wordcloud.src.js +89 -12
- package/modules/xrange.d.ts +1 -9
- package/modules/xrange.js +11 -1
- package/modules/xrange.src.d.ts +1 -9
- package/modules/xrange.src.js +3 -2
- package/options/abands.d.ts +8 -0
- package/options/abands.src.d.ts +8 -0
- package/options/ao.d.ts +8 -0
- package/options/ao.src.d.ts +8 -0
- package/options/arcdiagram.d.ts +8 -0
- package/options/arcdiagram.src.d.ts +8 -0
- package/options/area.d.ts +9 -0
- package/options/area.src.d.ts +9 -0
- package/options/arearange.d.ts +9 -0
- package/options/arearange.src.d.ts +9 -0
- package/options/areaspline.d.ts +9 -0
- package/options/areaspline.src.d.ts +9 -0
- package/options/areasplinerange.d.ts +9 -0
- package/options/areasplinerange.src.d.ts +9 -0
- package/options/aroon.d.ts +8 -0
- package/options/aroon.src.d.ts +8 -0
- package/options/atr.d.ts +8 -0
- package/options/atr.src.d.ts +8 -0
- package/options/bellcurve.d.ts +8 -0
- package/options/bellcurve.src.d.ts +8 -0
- package/options/boxplot.d.ts +8 -0
- package/options/boxplot.src.d.ts +8 -0
- package/options/bullet.d.ts +8 -0
- package/options/bullet.src.d.ts +8 -0
- package/options/chaikin.d.ts +8 -0
- package/options/chaikin.src.d.ts +8 -0
- package/options/cmo.d.ts +8 -0
- package/options/cmo.src.d.ts +8 -0
- package/options/columnpyramid.d.ts +9 -0
- package/options/columnpyramid.src.d.ts +9 -0
- package/options/columnrange.d.ts +9 -0
- package/options/columnrange.src.d.ts +9 -0
- package/options/dmi.d.ts +8 -0
- package/options/dmi.src.d.ts +8 -0
- package/options/errorbar.d.ts +8 -0
- package/options/errorbar.src.d.ts +8 -0
- package/options/flags.d.ts +8 -0
- package/options/flags.src.d.ts +8 -0
- package/options/funnel.d.ts +8 -0
- package/options/funnel.src.d.ts +8 -0
- package/options/gauge.d.ts +8 -0
- package/options/gauge.src.d.ts +8 -0
- package/options/item.d.ts +8 -0
- package/options/item.src.d.ts +8 -0
- package/options/keltnerchannels.d.ts +8 -0
- package/options/keltnerchannels.src.d.ts +8 -0
- package/options/line.d.ts +9 -0
- package/options/line.src.d.ts +9 -0
- package/options/linearregressionangle.d.ts +8 -0
- package/options/linearregressionangle.src.d.ts +8 -0
- package/options/linearregressionintercept.d.ts +8 -0
- package/options/linearregressionintercept.src.d.ts +8 -0
- package/options/map.d.ts +8 -0
- package/options/map.src.d.ts +8 -0
- package/options/mfi.d.ts +8 -0
- package/options/mfi.src.d.ts +8 -0
- package/options/natr.d.ts +8 -0
- package/options/natr.src.d.ts +8 -0
- package/options/ohlc.d.ts +8 -0
- package/options/ohlc.src.d.ts +8 -0
- package/options/packedbubble.d.ts +8 -0
- package/options/packedbubble.src.d.ts +8 -0
- package/options/pictorial.d.ts +8 -0
- package/options/pictorial.src.d.ts +8 -0
- package/options/pointandfigure.d.ts +8 -0
- package/options/pointandfigure.src.d.ts +8 -0
- package/options/polygon.d.ts +9 -0
- package/options/polygon.src.d.ts +9 -0
- package/options/ppo.d.ts +8 -0
- package/options/ppo.src.d.ts +8 -0
- package/options/psar.d.ts +8 -0
- package/options/psar.src.d.ts +8 -0
- package/options/pyramid.d.ts +8 -0
- package/options/pyramid.src.d.ts +8 -0
- package/options/renko.d.ts +8 -0
- package/options/renko.src.d.ts +8 -0
- package/options/roc.d.ts +8 -0
- package/options/roc.src.d.ts +8 -0
- package/options/sankey.d.ts +8 -0
- package/options/sankey.src.d.ts +8 -0
- package/options/scatter.d.ts +9 -0
- package/options/scatter.src.d.ts +9 -0
- package/options/series.d.ts +9 -0
- package/options/series.src.d.ts +9 -0
- package/options/sma.d.ts +8 -0
- package/options/sma.src.d.ts +8 -0
- package/options/solidgauge.d.ts +14 -0
- package/options/solidgauge.src.d.ts +14 -0
- package/options/spline.d.ts +9 -0
- package/options/spline.src.d.ts +9 -0
- package/options/stochastic.d.ts +8 -0
- package/options/stochastic.src.d.ts +8 -0
- package/options/tema.d.ts +8 -0
- package/options/tema.src.d.ts +8 -0
- package/options/tiledwebmap.d.ts +8 -0
- package/options/tiledwebmap.src.d.ts +8 -0
- package/options/timeline.d.ts +8 -0
- package/options/timeline.src.d.ts +8 -0
- package/options/treegraph.d.ts +8 -0
- package/options/treegraph.src.d.ts +8 -0
- package/options/trix.d.ts +8 -0
- package/options/trix.src.d.ts +8 -0
- package/options/variablepie.d.ts +8 -0
- package/options/variablepie.src.d.ts +8 -0
- package/options/variwide.d.ts +8 -0
- package/options/variwide.src.d.ts +8 -0
- package/options/vbp.d.ts +8 -0
- package/options/vbp.src.d.ts +8 -0
- package/options/vector.d.ts +9 -0
- package/options/vector.src.d.ts +9 -0
- package/options/venn.d.ts +8 -0
- package/options/venn.src.d.ts +8 -0
- package/options/vwap.d.ts +8 -0
- package/options/vwap.src.d.ts +8 -0
- package/options/windbarb.d.ts +9 -0
- package/options/windbarb.src.d.ts +9 -0
- package/options/wma.d.ts +8 -0
- package/options/wma.src.d.ts +8 -0
- package/options/wordcloud.d.ts +8 -0
- package/options/wordcloud.src.d.ts +8 -0
- package/options/zigzag.d.ts +8 -0
- package/options/zigzag.src.d.ts +8 -0
- package/package.json +1 -1
- package/standalone-navigator.js +11 -2
- package/standalone-navigator.src.js +312 -206
- package/themes/adaptive.d.ts +18 -0
- package/themes/adaptive.js +130 -0
- package/themes/adaptive.src.d.ts +18 -0
- package/themes/adaptive.src.js +1122 -0
- package/themes/avocado.d.ts +1 -9
- package/themes/avocado.js +9 -1
- package/themes/avocado.src.d.ts +1 -9
- package/themes/avocado.src.js +1 -1
- package/themes/brand-dark.d.ts +1 -9
- package/themes/brand-dark.js +9 -1
- package/themes/brand-dark.src.d.ts +1 -9
- package/themes/brand-dark.src.js +1 -1
- package/themes/brand-light.d.ts +1 -9
- package/themes/brand-light.js +9 -1
- package/themes/brand-light.src.d.ts +1 -9
- package/themes/brand-light.src.js +1 -1
- package/themes/dark-blue.d.ts +1 -9
- package/themes/dark-blue.js +9 -1
- package/themes/dark-blue.src.d.ts +1 -9
- package/themes/dark-blue.src.js +1 -1
- package/themes/dark-green.d.ts +1 -9
- package/themes/dark-green.js +9 -1
- package/themes/dark-green.src.d.ts +1 -9
- package/themes/dark-green.src.js +1 -1
- package/themes/dark-unica.d.ts +1 -9
- package/themes/dark-unica.js +9 -1
- package/themes/dark-unica.src.d.ts +1 -9
- package/themes/dark-unica.src.js +1 -1
- package/themes/gray.d.ts +1 -9
- package/themes/gray.js +9 -1
- package/themes/gray.src.d.ts +1 -9
- package/themes/gray.src.js +1 -1
- package/themes/grid-light.d.ts +1 -9
- package/themes/grid-light.js +9 -1
- package/themes/grid-light.src.d.ts +1 -9
- package/themes/grid-light.src.js +1 -1
- package/themes/grid.d.ts +1 -9
- package/themes/grid.js +9 -1
- package/themes/grid.src.d.ts +1 -9
- package/themes/grid.src.js +1 -1
- package/themes/high-contrast-dark.d.ts +1 -9
- package/themes/high-contrast-dark.js +9 -1
- package/themes/high-contrast-dark.src.d.ts +1 -9
- package/themes/high-contrast-dark.src.js +1 -1
- package/themes/high-contrast-light.d.ts +1 -9
- package/themes/high-contrast-light.js +9 -1
- package/themes/high-contrast-light.src.d.ts +1 -9
- package/themes/high-contrast-light.src.js +1 -1
- package/themes/sand-signika.d.ts +1 -9
- package/themes/sand-signika.js +9 -1
- package/themes/sand-signika.src.d.ts +1 -9
- package/themes/sand-signika.src.js +1 -1
- package/themes/skies.d.ts +1 -9
- package/themes/skies.js +9 -1
- package/themes/skies.src.d.ts +1 -9
- package/themes/skies.src.js +1 -1
- package/themes/sunset.d.ts +1 -9
- package/themes/sunset.js +9 -1
- package/themes/sunset.src.d.ts +1 -9
- package/themes/sunset.src.js +1 -1
|
@@ -7,9 +7,89 @@
|
|
|
7
7
|
import Annotation from '../Annotation.js';
|
|
8
8
|
import ControlPoint from '../ControlPoint.js';
|
|
9
9
|
import CrookedLine from './CrookedLine.js';
|
|
10
|
+
import D from '../../../Core/Defaults.js';
|
|
11
|
+
const { defaultOptions } = D;
|
|
10
12
|
import MockPoint from '../MockPoint.js';
|
|
11
13
|
import U from '../../../Core/Utilities.js';
|
|
12
14
|
const { merge } = U;
|
|
15
|
+
if (defaultOptions.annotations) {
|
|
16
|
+
defaultOptions.annotations.types.tunnel = merge(defaultOptions.annotations.types.crookedLine,
|
|
17
|
+
/**
|
|
18
|
+
* Options for the tunnel annotation type.
|
|
19
|
+
*
|
|
20
|
+
* @extends annotations.types.crookedLine
|
|
21
|
+
* @sample highcharts/annotations-advanced/tunnel/
|
|
22
|
+
* Tunnel
|
|
23
|
+
* @product highstock
|
|
24
|
+
* @optionparent annotations.types.tunnel
|
|
25
|
+
*/
|
|
26
|
+
{
|
|
27
|
+
typeOptions: {
|
|
28
|
+
/**
|
|
29
|
+
* Background options.
|
|
30
|
+
*
|
|
31
|
+
* @type {Object}
|
|
32
|
+
* @excluding height, point, points, r, type, width, markerEnd,
|
|
33
|
+
* markerStart
|
|
34
|
+
*/
|
|
35
|
+
background: {
|
|
36
|
+
fill: 'rgba(130, 170, 255, 0.4)',
|
|
37
|
+
strokeWidth: 0
|
|
38
|
+
},
|
|
39
|
+
line: {
|
|
40
|
+
strokeWidth: 1
|
|
41
|
+
},
|
|
42
|
+
/**
|
|
43
|
+
* The height of the annotation in terms of yAxis.
|
|
44
|
+
*/
|
|
45
|
+
height: -2,
|
|
46
|
+
/**
|
|
47
|
+
* Options for the control point which controls
|
|
48
|
+
* the annotation's height.
|
|
49
|
+
*
|
|
50
|
+
* @extends annotations.types.crookedLine.controlPointOptions
|
|
51
|
+
* @excluding positioner, events
|
|
52
|
+
*/
|
|
53
|
+
heightControlPoint: {
|
|
54
|
+
positioner: function (target) {
|
|
55
|
+
const startXY = MockPoint.pointToPixels(target.points[2]), endXY = MockPoint.pointToPixels(target.points[3]), x = (startXY.x + endXY.x) / 2;
|
|
56
|
+
return {
|
|
57
|
+
x: x - (this.graphic.width || 0) / 2,
|
|
58
|
+
y: getSecondCoordinate(startXY, endXY, x) -
|
|
59
|
+
(this.graphic.height || 0) / 2
|
|
60
|
+
};
|
|
61
|
+
},
|
|
62
|
+
events: {
|
|
63
|
+
drag: function (e, target) {
|
|
64
|
+
if (target.chart.isInsidePlot(e.chartX - target.chart.plotLeft, e.chartY - target.chart.plotTop, {
|
|
65
|
+
visiblePlotOnly: true
|
|
66
|
+
})) {
|
|
67
|
+
target.translateHeight(this.mouseMoveToTranslation(e).y);
|
|
68
|
+
target.redraw(false);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
/**
|
|
75
|
+
* @extends annotations.types.crookedLine.controlPointOptions
|
|
76
|
+
* @excluding positioner, events
|
|
77
|
+
*/
|
|
78
|
+
controlPointOptions: {
|
|
79
|
+
events: {
|
|
80
|
+
drag: function (e, target) {
|
|
81
|
+
if (target.chart.isInsidePlot(e.chartX - target.chart.plotLeft, e.chartY - target.chart.plotTop, {
|
|
82
|
+
visiblePlotOnly: true
|
|
83
|
+
})) {
|
|
84
|
+
const translation = this.mouseMoveToTranslation(e);
|
|
85
|
+
target.translateSide(translation.x, translation.y, !!this.index);
|
|
86
|
+
target.redraw(false);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
}
|
|
13
93
|
/* *
|
|
14
94
|
*
|
|
15
95
|
* Functions
|
|
@@ -120,82 +200,6 @@ class Tunnel extends CrookedLine {
|
|
|
120
200
|
this.userOptions.typeOptions.height = this.options.typeOptions.height;
|
|
121
201
|
}
|
|
122
202
|
}
|
|
123
|
-
Tunnel.prototype.defaultOptions = merge(CrookedLine.prototype.defaultOptions,
|
|
124
|
-
/**
|
|
125
|
-
* A tunnel annotation.
|
|
126
|
-
*
|
|
127
|
-
* @extends annotations.crookedLine
|
|
128
|
-
* @sample highcharts/annotations-advanced/tunnel/
|
|
129
|
-
* Tunnel
|
|
130
|
-
* @product highstock
|
|
131
|
-
* @optionparent annotations.tunnel
|
|
132
|
-
*/
|
|
133
|
-
{
|
|
134
|
-
typeOptions: {
|
|
135
|
-
/**
|
|
136
|
-
* Background options.
|
|
137
|
-
*
|
|
138
|
-
* @type {Object}
|
|
139
|
-
* @excluding height, point, points, r, type, width, markerEnd,
|
|
140
|
-
* markerStart
|
|
141
|
-
*/
|
|
142
|
-
background: {
|
|
143
|
-
fill: 'rgba(130, 170, 255, 0.4)',
|
|
144
|
-
strokeWidth: 0
|
|
145
|
-
},
|
|
146
|
-
line: {
|
|
147
|
-
strokeWidth: 1
|
|
148
|
-
},
|
|
149
|
-
/**
|
|
150
|
-
* The height of the annotation in terms of yAxis.
|
|
151
|
-
*/
|
|
152
|
-
height: -2,
|
|
153
|
-
/**
|
|
154
|
-
* Options for the control point which controls
|
|
155
|
-
* the annotation's height.
|
|
156
|
-
*
|
|
157
|
-
* @extends annotations.crookedLine.controlPointOptions
|
|
158
|
-
* @excluding positioner, events
|
|
159
|
-
*/
|
|
160
|
-
heightControlPoint: {
|
|
161
|
-
positioner: function (target) {
|
|
162
|
-
const startXY = MockPoint.pointToPixels(target.points[2]), endXY = MockPoint.pointToPixels(target.points[3]), x = (startXY.x + endXY.x) / 2;
|
|
163
|
-
return {
|
|
164
|
-
x: x - (this.graphic.width || 0) / 2,
|
|
165
|
-
y: getSecondCoordinate(startXY, endXY, x) -
|
|
166
|
-
(this.graphic.height || 0) / 2
|
|
167
|
-
};
|
|
168
|
-
},
|
|
169
|
-
events: {
|
|
170
|
-
drag: function (e, target) {
|
|
171
|
-
if (target.chart.isInsidePlot(e.chartX - target.chart.plotLeft, e.chartY - target.chart.plotTop, {
|
|
172
|
-
visiblePlotOnly: true
|
|
173
|
-
})) {
|
|
174
|
-
target.translateHeight(this.mouseMoveToTranslation(e).y);
|
|
175
|
-
target.redraw(false);
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
},
|
|
181
|
-
/**
|
|
182
|
-
* @extends annotations.crookedLine.controlPointOptions
|
|
183
|
-
* @excluding positioner, events
|
|
184
|
-
*/
|
|
185
|
-
controlPointOptions: {
|
|
186
|
-
events: {
|
|
187
|
-
drag: function (e, target) {
|
|
188
|
-
if (target.chart.isInsidePlot(e.chartX - target.chart.plotLeft, e.chartY - target.chart.plotTop, {
|
|
189
|
-
visiblePlotOnly: true
|
|
190
|
-
})) {
|
|
191
|
-
const translation = this.mouseMoveToTranslation(e);
|
|
192
|
-
target.translateSide(translation.x, translation.y, !!this.index);
|
|
193
|
-
target.redraw(false);
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
});
|
|
199
203
|
Annotation.types.tunnel = Tunnel;
|
|
200
204
|
/* *
|
|
201
205
|
*
|
|
@@ -5,20 +5,72 @@
|
|
|
5
5
|
* */
|
|
6
6
|
'use strict';
|
|
7
7
|
import Annotation from '../Annotation.js';
|
|
8
|
+
import D from '../../../Core/Defaults.js';
|
|
9
|
+
const { defaultOptions } = D;
|
|
8
10
|
import MockPoint from '../MockPoint.js';
|
|
9
11
|
import U from '../../../Core/Utilities.js';
|
|
10
12
|
const { merge, pick } = U;
|
|
13
|
+
if (defaultOptions.annotations) {
|
|
14
|
+
/**
|
|
15
|
+
* Options for the vertical line annotation type.
|
|
16
|
+
*
|
|
17
|
+
* @sample highcharts/annotations-advanced/vertical-line/
|
|
18
|
+
* Vertical line
|
|
19
|
+
*
|
|
20
|
+
* @extends annotations.types.crookedLine
|
|
21
|
+
* @excluding labels, shapes, controlPointOptions
|
|
22
|
+
* @product highstock
|
|
23
|
+
* @optionparent annotations.types.verticalLine
|
|
24
|
+
*/
|
|
25
|
+
defaultOptions.annotations.types.verticalLine = {
|
|
26
|
+
typeOptions: {
|
|
27
|
+
/**
|
|
28
|
+
* @ignore
|
|
29
|
+
*/
|
|
30
|
+
yOffset: 10,
|
|
31
|
+
/**
|
|
32
|
+
* Label options.
|
|
33
|
+
*
|
|
34
|
+
* @extends annotations.types.crookedLine.labelOptions
|
|
35
|
+
*/
|
|
36
|
+
label: {
|
|
37
|
+
offset: -40,
|
|
38
|
+
point: function (target) {
|
|
39
|
+
return target.annotation.points[0];
|
|
40
|
+
},
|
|
41
|
+
allowOverlap: true,
|
|
42
|
+
backgroundColor: 'none',
|
|
43
|
+
borderWidth: 0,
|
|
44
|
+
crop: true,
|
|
45
|
+
overflow: 'none',
|
|
46
|
+
shape: 'rect',
|
|
47
|
+
text: '{y:.2f}'
|
|
48
|
+
},
|
|
49
|
+
/**
|
|
50
|
+
* Connector options.
|
|
51
|
+
*
|
|
52
|
+
* @extends annotations.types.crookedLine.shapeOptions
|
|
53
|
+
* @excluding height, r, type, width
|
|
54
|
+
*/
|
|
55
|
+
connector: {
|
|
56
|
+
strokeWidth: 1,
|
|
57
|
+
markerEnd: 'arrow'
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
labelOptions: {
|
|
61
|
+
style: {
|
|
62
|
+
color: "#333333" /* Palette.neutralColor80 */,
|
|
63
|
+
fontSize: '0.7em'
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
}
|
|
11
68
|
/* *
|
|
12
69
|
*
|
|
13
70
|
* Class
|
|
14
71
|
*
|
|
15
72
|
* */
|
|
16
73
|
class VerticalLine extends Annotation {
|
|
17
|
-
/* *
|
|
18
|
-
*
|
|
19
|
-
* Static Functions
|
|
20
|
-
*
|
|
21
|
-
* */
|
|
22
74
|
static connectorFirstPoint(target) {
|
|
23
75
|
const annotation = target.annotation, chart = annotation.chart, inverted = chart.inverted, point = annotation.points[0], left = pick(point.series.yAxis && point.series.yAxis.left, 0), top = pick(point.series.yAxis && point.series.yAxis.top, 0), offset = annotation.options.typeOptions.label.offset, y = MockPoint.pointToPixels(point, true)[inverted ? 'x' : 'y'];
|
|
24
76
|
return {
|
|
@@ -79,54 +131,6 @@ class VerticalLine extends Annotation {
|
|
|
79
131
|
typeOptions.label = label.options;
|
|
80
132
|
}
|
|
81
133
|
}
|
|
82
|
-
VerticalLine.prototype.defaultOptions = merge(Annotation.prototype.defaultOptions,
|
|
83
|
-
/**
|
|
84
|
-
* A vertical line annotation.
|
|
85
|
-
*
|
|
86
|
-
* @sample highcharts/annotations-advanced/vertical-line/
|
|
87
|
-
* Vertical line
|
|
88
|
-
*
|
|
89
|
-
* @extends annotations.crookedLine
|
|
90
|
-
* @excluding labels, shapes, controlPointOptions
|
|
91
|
-
* @product highstock
|
|
92
|
-
* @optionparent annotations.verticalLine
|
|
93
|
-
*/
|
|
94
|
-
{
|
|
95
|
-
typeOptions: {
|
|
96
|
-
/**
|
|
97
|
-
* @ignore
|
|
98
|
-
*/
|
|
99
|
-
yOffset: 10,
|
|
100
|
-
/**
|
|
101
|
-
* Label options.
|
|
102
|
-
*
|
|
103
|
-
* @extends annotations.crookedLine.labelOptions
|
|
104
|
-
*/
|
|
105
|
-
label: {
|
|
106
|
-
offset: -40,
|
|
107
|
-
point: function (target) {
|
|
108
|
-
return target.annotation.points[0];
|
|
109
|
-
},
|
|
110
|
-
allowOverlap: true,
|
|
111
|
-
backgroundColor: 'none',
|
|
112
|
-
borderWidth: 0,
|
|
113
|
-
crop: true,
|
|
114
|
-
overflow: 'none',
|
|
115
|
-
shape: 'rect',
|
|
116
|
-
text: '{y:.2f}'
|
|
117
|
-
},
|
|
118
|
-
/**
|
|
119
|
-
* Connector options.
|
|
120
|
-
*
|
|
121
|
-
* @extends annotations.crookedLine.shapeOptions
|
|
122
|
-
* @excluding height, r, type, width
|
|
123
|
-
*/
|
|
124
|
-
connector: {
|
|
125
|
-
strokeWidth: 1,
|
|
126
|
-
markerEnd: 'arrow'
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
});
|
|
130
134
|
Annotation.types.verticalLine = VerticalLine;
|
|
131
135
|
/* *
|
|
132
136
|
*
|
|
@@ -110,7 +110,7 @@ function hasWebGLSupport() {
|
|
|
110
110
|
return true;
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
|
-
catch
|
|
113
|
+
catch {
|
|
114
114
|
// Silent error
|
|
115
115
|
}
|
|
116
116
|
}
|
|
@@ -158,6 +158,10 @@ export default Boost;
|
|
|
158
158
|
* Line chart with hundreds of series
|
|
159
159
|
* @sample highcharts/boost/scatter
|
|
160
160
|
* Scatter chart
|
|
161
|
+
* @sample highcharts/boost/scatter-pointcolor
|
|
162
|
+
* Scatter chart with colored points
|
|
163
|
+
* @sample highcharts/boost/scatter-colorbypoint
|
|
164
|
+
* Scatter chart with colorByPoint
|
|
161
165
|
* @sample highcharts/boost/area
|
|
162
166
|
* Area chart
|
|
163
167
|
* @sample highcharts/boost/arearange
|
|
@@ -275,15 +275,18 @@ function createAndAttachRenderer(chart, series) {
|
|
|
275
275
|
boost.canvas.width = width;
|
|
276
276
|
boost.canvas.height = height;
|
|
277
277
|
if (boost.clipRect) {
|
|
278
|
-
const box = getBoostClipRect(chart, target)
|
|
278
|
+
const box = getBoostClipRect(chart, target);
|
|
279
|
+
boost.clipRect.attr(box);
|
|
279
280
|
// When using panes, the image itself must be clipped. When not
|
|
280
281
|
// using panes, it is better to clip the target group, because then
|
|
281
282
|
// we preserve clipping on touch- and mousewheel zoom preview.
|
|
282
|
-
|
|
283
|
-
box.height === chart.clipBox.height)
|
|
284
|
-
(
|
|
285
|
-
|
|
286
|
-
|
|
283
|
+
if (box.width === chart.clipBox.width &&
|
|
284
|
+
box.height === chart.clipBox.height) {
|
|
285
|
+
targetGroup?.clip(chart.renderer.clipRect(box.x - 4, box.y, box.width + 4, box.height + 4)); // #9799
|
|
286
|
+
}
|
|
287
|
+
else {
|
|
288
|
+
(boost.targetFo || boost.target).clip(boost.clipRect);
|
|
289
|
+
}
|
|
287
290
|
}
|
|
288
291
|
boost.resize();
|
|
289
292
|
boost.clear();
|
|
@@ -467,7 +470,7 @@ function exitBoost(series) {
|
|
|
467
470
|
*/
|
|
468
471
|
function hasExtremes(series, checkX) {
|
|
469
472
|
const options = series.options, dataLength = series.dataTable.modified.rowCount, xAxis = series.xAxis && series.xAxis.options, yAxis = series.yAxis && series.yAxis.options, colorAxis = series.colorAxis && series.colorAxis.options;
|
|
470
|
-
return dataLength > (options.boostThreshold
|
|
473
|
+
return dataLength > pick(options.boostThreshold, Number.MAX_VALUE) &&
|
|
471
474
|
// Defined yAxis extremes
|
|
472
475
|
isNumber(yAxis.min) &&
|
|
473
476
|
isNumber(yAxis.max) &&
|
|
@@ -491,7 +494,7 @@ const getSeriesBoosting = (series, data) => {
|
|
|
491
494
|
}
|
|
492
495
|
return (isChartSeriesBoosting(series.chart) ||
|
|
493
496
|
((data ? data.length : 0) >=
|
|
494
|
-
(series.options.boostThreshold
|
|
497
|
+
pick(series.options.boostThreshold, Number.MAX_VALUE)));
|
|
495
498
|
};
|
|
496
499
|
/**
|
|
497
500
|
* Extend series.destroy to also remove the fake k-d-tree points (#5137).
|
|
@@ -503,7 +506,7 @@ function onSeriesDestroy() {
|
|
|
503
506
|
const series = this, chart = series.chart;
|
|
504
507
|
if (chart.boost &&
|
|
505
508
|
chart.boost.markerGroup === series.markerGroup) {
|
|
506
|
-
series.markerGroup =
|
|
509
|
+
series.markerGroup = void 0;
|
|
507
510
|
}
|
|
508
511
|
if (chart.hoverPoints) {
|
|
509
512
|
chart.hoverPoints = chart.hoverPoints.filter(function (point) {
|
|
@@ -511,7 +514,7 @@ function onSeriesDestroy() {
|
|
|
511
514
|
});
|
|
512
515
|
}
|
|
513
516
|
if (chart.hoverPoint && chart.hoverPoint.series === series) {
|
|
514
|
-
chart.hoverPoint =
|
|
517
|
+
chart.hoverPoint = void 0;
|
|
515
518
|
}
|
|
516
519
|
}
|
|
517
520
|
/**
|
|
@@ -557,7 +560,7 @@ function getPoint(series, boostPoint) {
|
|
|
557
560
|
if (boostPoint instanceof PointClass) {
|
|
558
561
|
return boostPoint;
|
|
559
562
|
}
|
|
560
|
-
const isScatter = series.is('scatter'), xData = ((isScatter && series.getColumn('x', true).length ?
|
|
563
|
+
const data = seriesOptions.data, isScatter = series.is('scatter'), xData = ((isScatter && series.getColumn('x', true).length ?
|
|
561
564
|
series.getColumn('x', true) :
|
|
562
565
|
void 0) ||
|
|
563
566
|
(series.getColumn('x').length ? series.getColumn('x') : void 0) ||
|
|
@@ -565,9 +568,19 @@ function getPoint(series, boostPoint) {
|
|
|
565
568
|
series.getColumn('x', true) ||
|
|
566
569
|
false), yData = (series.getColumn('y', true) ||
|
|
567
570
|
seriesOptions.yData ||
|
|
568
|
-
false),
|
|
569
|
-
|
|
570
|
-
|
|
571
|
+
false), pointIndex = boostPoint.i, pointColor = data?.[pointIndex]
|
|
572
|
+
?.color, point = new PointClass(series, (isScatter && xData && yData) ?
|
|
573
|
+
[xData[pointIndex], yData[pointIndex]] :
|
|
574
|
+
(isArray(data) ? data : [])[pointIndex], xData ? xData[pointIndex] : void 0);
|
|
575
|
+
if (isScatter &&
|
|
576
|
+
seriesOptions?.keys?.length) {
|
|
577
|
+
const keys = seriesOptions.keys;
|
|
578
|
+
// Don't reassign X and Y properties as they're already handled above
|
|
579
|
+
for (let keysIndex = keys.length - 1; keysIndex > -1; keysIndex--) {
|
|
580
|
+
point[keys[keysIndex]] =
|
|
581
|
+
data[pointIndex][keysIndex];
|
|
582
|
+
}
|
|
583
|
+
}
|
|
571
584
|
point.category = pick(xAxis.categories ?
|
|
572
585
|
xAxis.categories[point.x] :
|
|
573
586
|
point.x, // @todo simplify
|
|
@@ -577,9 +590,12 @@ function getPoint(series, boostPoint) {
|
|
|
577
590
|
point.distX = boostPoint.distX;
|
|
578
591
|
point.plotX = boostPoint.plotX;
|
|
579
592
|
point.plotY = boostPoint.plotY;
|
|
580
|
-
point.index =
|
|
593
|
+
point.index = pointIndex;
|
|
581
594
|
point.percentage = boostPoint.percentage;
|
|
582
595
|
point.isInside = series.isPointInside(point);
|
|
596
|
+
if (pointColor) {
|
|
597
|
+
point.color = pointColor; // Set color for hover effect #23370
|
|
598
|
+
}
|
|
583
599
|
return point;
|
|
584
600
|
}
|
|
585
601
|
/**
|
|
@@ -689,8 +705,27 @@ function seriesRenderCanvas() {
|
|
|
689
705
|
this.getColumn('x') :
|
|
690
706
|
void 0) ||
|
|
691
707
|
this.options.xData ||
|
|
692
|
-
this.getColumn('x', true)), lineWidth = pick(options.lineWidth, 1), nullYSubstitute = options.nullInteraction && yMin;
|
|
708
|
+
this.getColumn('x', true)), lineWidth = pick(options.lineWidth, 1), nullYSubstitute = options.nullInteraction && yMin, tooltip = chart.tooltip;
|
|
693
709
|
let renderer = false, lastClientX, yBottom = yAxis.getThreshold(threshold), minVal, maxVal, minI, maxI;
|
|
710
|
+
// Clear mock points and tooltip after zoom (#20330)
|
|
711
|
+
if (!this.boosted) {
|
|
712
|
+
return;
|
|
713
|
+
}
|
|
714
|
+
this.points?.forEach((point) => {
|
|
715
|
+
point?.destroyElements?.();
|
|
716
|
+
});
|
|
717
|
+
this.points = [];
|
|
718
|
+
if (tooltip && !tooltip.isHidden) {
|
|
719
|
+
const isSeriesHovered = chart.hoverPoint?.series === this ||
|
|
720
|
+
chart.hoverPoints?.some((point) => point.series === this);
|
|
721
|
+
if (isSeriesHovered) {
|
|
722
|
+
chart.hoverPoint = chart.hoverPoints = void 0;
|
|
723
|
+
tooltip.hide(0);
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
else if (chart.hoverPoints) {
|
|
727
|
+
chart.hoverPoints = chart.hoverPoints.filter((point) => point.series !== this);
|
|
728
|
+
}
|
|
694
729
|
// When touch-zooming or mouse-panning, re-rendering the canvas would not
|
|
695
730
|
// perform fast enough. Instead, let the axes redraw, but not the series.
|
|
696
731
|
// The series is scale-translated in an event handler for an approximate
|
|
@@ -776,11 +811,8 @@ function seriesRenderCanvas() {
|
|
|
776
811
|
// Do not start building while drawing
|
|
777
812
|
this.buildKDTree = noop;
|
|
778
813
|
fireEvent(this, 'renderCanvas');
|
|
779
|
-
if (this.is('line')
|
|
780
|
-
|
|
781
|
-
seriesBoost?.target &&
|
|
782
|
-
chartBoost &&
|
|
783
|
-
!chartBoost.lineWidthFilter) {
|
|
814
|
+
if (chartBoost && seriesBoost?.target && lineWidth > 1 && this.is('line')) {
|
|
815
|
+
chartBoost.lineWidthFilter?.remove();
|
|
784
816
|
chartBoost.lineWidthFilter = chart.renderer.definition({
|
|
785
817
|
tagName: 'filter',
|
|
786
818
|
children: [
|
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
*
|
|
11
11
|
* */
|
|
12
12
|
'use strict';
|
|
13
|
+
import BoostChart from './BoostChart.js';
|
|
14
|
+
const { getBoostClipRect } = BoostChart;
|
|
13
15
|
import Color from '../../Core/Color/Color.js';
|
|
14
16
|
const { parse: color } = Color;
|
|
15
17
|
import H from '../../Core/Globals.js';
|
|
@@ -228,10 +230,9 @@ class WGLRenderer {
|
|
|
228
230
|
/// threshold = options.threshold,
|
|
229
231
|
// yBottom = chart.yAxis[0].getThreshold(threshold),
|
|
230
232
|
// hasThreshold = isNumber(threshold),
|
|
231
|
-
|
|
233
|
+
colorByPoint = series.options.colorByPoint,
|
|
232
234
|
// This is required for color by point, so make sure this is
|
|
233
235
|
// uncommented if enabling that
|
|
234
|
-
// colorIndex = 0,
|
|
235
236
|
// Required for color axis support
|
|
236
237
|
// caxis,
|
|
237
238
|
connectNulls = options.connectNulls,
|
|
@@ -243,7 +244,7 @@ class WGLRenderer {
|
|
|
243
244
|
//
|
|
244
245
|
skipped = 0, hadPoints = false,
|
|
245
246
|
// The following are used in the builder while loop
|
|
246
|
-
x, y, d, z, i = -1, px = false, nx = false, low, nextInside = false, prevInside = false, pcolor =
|
|
247
|
+
x, y, d, z, i = -1, px = false, nx = false, low, nextInside = false, prevInside = false, pcolor = void 0, isXInside = false, isYInside = true, firstPoint = true, zoneColors, zoneDefColor = false, gapSize = false, vlen = 0, colorIndex = 0;
|
|
247
248
|
if (options.boostData && options.boostData.length > 0) {
|
|
248
249
|
return;
|
|
249
250
|
}
|
|
@@ -456,27 +457,29 @@ class WGLRenderer {
|
|
|
456
457
|
if (chartDestroyed) {
|
|
457
458
|
break;
|
|
458
459
|
}
|
|
459
|
-
// Uncomment this to enable color by point.
|
|
460
|
-
// This currently left disabled as the charts look really ugly
|
|
461
|
-
// when enabled and there's a lot of points.
|
|
462
|
-
// Leaving in for the future (tm).
|
|
463
|
-
// if (colorByPoint) {
|
|
464
|
-
// colorIndex = ++colorIndex %
|
|
465
|
-
// series.chart.options.colors.length;
|
|
466
|
-
// pcolor = toRGBAFast(series.chart.options.colors[colorIndex]);
|
|
467
|
-
// pcolor[0] /= 255.0;
|
|
468
|
-
// pcolor[1] /= 255.0;
|
|
469
|
-
// pcolor[2] /= 255.0;
|
|
470
|
-
// }
|
|
471
460
|
// Handle the point.color option (#5999)
|
|
472
461
|
const pointOptions = rawData && rawData[i];
|
|
473
|
-
if (!useRaw
|
|
474
|
-
if (pointOptions.color) {
|
|
462
|
+
if (!useRaw) {
|
|
463
|
+
if (isObject(pointOptions, true) && pointOptions.color) {
|
|
475
464
|
pcolor = color(pointOptions.color).rgba;
|
|
465
|
+
}
|
|
466
|
+
const colorKeyIndex = series.options.keys?.indexOf('color');
|
|
467
|
+
if (Array.isArray(pointOptions) &&
|
|
468
|
+
colorKeyIndex &&
|
|
469
|
+
typeof pointOptions[colorKeyIndex] === 'string') {
|
|
470
|
+
pcolor = color(pointOptions[colorKeyIndex]).rgba;
|
|
471
|
+
}
|
|
472
|
+
else if (colorByPoint && chart.options.colors) {
|
|
473
|
+
colorIndex = colorIndex %
|
|
474
|
+
chart.options.colors.length;
|
|
475
|
+
pcolor = color(chart.options.colors[colorIndex]).rgba;
|
|
476
|
+
}
|
|
477
|
+
if (pcolor) {
|
|
476
478
|
pcolor[0] /= 255.0;
|
|
477
479
|
pcolor[1] /= 255.0;
|
|
478
480
|
pcolor[2] /= 255.0;
|
|
479
481
|
}
|
|
482
|
+
colorIndex++;
|
|
480
483
|
}
|
|
481
484
|
if (useRaw) {
|
|
482
485
|
x = d[0];
|
|
@@ -683,15 +686,15 @@ class WGLRenderer {
|
|
|
683
686
|
minVal = yAxis.toPixels(minVal, true);
|
|
684
687
|
}
|
|
685
688
|
// Need to add an extra point here
|
|
686
|
-
vertice(x, minVal,
|
|
689
|
+
vertice(x, minVal, false, 0, pcolor);
|
|
687
690
|
}
|
|
688
691
|
// Do step line if enabled.
|
|
689
692
|
// Draws an additional point at the old Y at the new X.
|
|
690
693
|
// See #6976.
|
|
691
694
|
if (options.step && !firstPoint) {
|
|
692
|
-
vertice(x, lastY,
|
|
695
|
+
vertice(x, lastY, false, 2, pcolor);
|
|
693
696
|
}
|
|
694
|
-
vertice(x, y,
|
|
697
|
+
vertice(x, y, false, series.type === 'bubble' ? (z || 1) : 2, pcolor);
|
|
695
698
|
// Uncomment this to support color axis.
|
|
696
699
|
// if (caxis) {
|
|
697
700
|
// pcolor = color(caxis.toColor(y)).rgba;
|
|
@@ -809,6 +812,7 @@ class WGLRenderer {
|
|
|
809
812
|
const pixelRatio = this.getPixelRatio();
|
|
810
813
|
shader.setUniform('xAxisTrans', axis.transA * pixelRatio);
|
|
811
814
|
shader.setUniform('xAxisMin', axis.min);
|
|
815
|
+
shader.setUniform('xAxisMax', axis.max);
|
|
812
816
|
shader.setUniform('xAxisMinPad', axis.minPixelPadding * pixelRatio);
|
|
813
817
|
shader.setUniform('xAxisPointRange', axis.pointRange);
|
|
814
818
|
shader.setUniform('xAxisLen', axis.len * pixelRatio);
|
|
@@ -831,6 +835,7 @@ class WGLRenderer {
|
|
|
831
835
|
const pixelRatio = this.getPixelRatio();
|
|
832
836
|
shader.setUniform('yAxisTrans', axis.transA * pixelRatio);
|
|
833
837
|
shader.setUniform('yAxisMin', axis.min);
|
|
838
|
+
shader.setUniform('yAxisMax', axis.max);
|
|
834
839
|
shader.setUniform('yAxisMinPad', axis.minPixelPadding * pixelRatio);
|
|
835
840
|
shader.setUniform('yAxisPointRange', axis.pointRange);
|
|
836
841
|
shader.setUniform('yAxisLen', axis.len * pixelRatio);
|
|
@@ -997,9 +1002,13 @@ class WGLRenderer {
|
|
|
997
1002
|
// Do the actual rendering
|
|
998
1003
|
// If the line width is < 0, skip rendering of the lines. See #7833.
|
|
999
1004
|
if (lineWidth > 0 || s.drawMode !== 'LINE_STRIP') {
|
|
1005
|
+
const { x: cx, y: cy, width: cw, height: ch } = getBoostClipRect(chart, s.series);
|
|
1006
|
+
gl.enable(gl.SCISSOR_TEST);
|
|
1007
|
+
gl.scissor(cx, height - cy - ch, cw, ch);
|
|
1000
1008
|
for (sindex = 0; sindex < s.segments.length; sindex++) {
|
|
1001
1009
|
vbuffer.render(s.segments[sindex].from, s.segments[sindex].to, s.drawMode);
|
|
1002
1010
|
}
|
|
1011
|
+
gl.disable(gl.SCISSOR_TEST);
|
|
1003
1012
|
}
|
|
1004
1013
|
if (s.hasMarkers && showMarkers) {
|
|
1005
1014
|
shader.setPointSize(pick(options.marker && options.marker.radius, 5) * 2 * pixelRatio);
|
|
@@ -1122,7 +1131,7 @@ class WGLRenderer {
|
|
|
1122
1131
|
gl.bindTexture(gl.TEXTURE_2D, null);
|
|
1123
1132
|
props.isReady = true;
|
|
1124
1133
|
}
|
|
1125
|
-
catch
|
|
1134
|
+
catch {
|
|
1126
1135
|
// Silent error
|
|
1127
1136
|
}
|
|
1128
1137
|
};
|
|
@@ -18,7 +18,7 @@ const { clamp, error, pick } = U;
|
|
|
18
18
|
*
|
|
19
19
|
* */
|
|
20
20
|
const fragmentShader = [
|
|
21
|
-
/* eslint-disable max-len, @
|
|
21
|
+
/* eslint-disable max-len, @stylistic/indent */
|
|
22
22
|
'precision highp float;',
|
|
23
23
|
'uniform vec4 fillColor;',
|
|
24
24
|
'varying highp vec2 position;',
|
|
@@ -46,10 +46,10 @@ const fragmentShader = [
|
|
|
46
46
|
'gl_FragColor = col;',
|
|
47
47
|
'}',
|
|
48
48
|
'}'
|
|
49
|
-
/* eslint-enable max-len, @
|
|
49
|
+
/* eslint-enable max-len, @stylistic/indent */
|
|
50
50
|
].join('\n');
|
|
51
51
|
const vertexShader = [
|
|
52
|
-
/* eslint-disable max-len, @
|
|
52
|
+
/* eslint-disable max-len, @stylistic/indent */
|
|
53
53
|
'#version 100',
|
|
54
54
|
'#define LN10 2.302585092994046',
|
|
55
55
|
'precision highp float;',
|
|
@@ -64,6 +64,7 @@ const vertexShader = [
|
|
|
64
64
|
'uniform bool skipTranslation;',
|
|
65
65
|
'uniform float xAxisTrans;',
|
|
66
66
|
'uniform float xAxisMin;',
|
|
67
|
+
'uniform float xAxisMax;',
|
|
67
68
|
'uniform float xAxisMinPad;',
|
|
68
69
|
'uniform float xAxisPointRange;',
|
|
69
70
|
'uniform float xAxisLen;',
|
|
@@ -76,6 +77,7 @@ const vertexShader = [
|
|
|
76
77
|
'uniform bool xAxisReversed;',
|
|
77
78
|
'uniform float yAxisTrans;',
|
|
78
79
|
'uniform float yAxisMin;',
|
|
80
|
+
'uniform float yAxisMax;',
|
|
79
81
|
'uniform float yAxisMinPad;',
|
|
80
82
|
'uniform float yAxisPointRange;',
|
|
81
83
|
'uniform float yAxisLen;',
|
|
@@ -86,6 +88,7 @@ const vertexShader = [
|
|
|
86
88
|
'uniform bool yAxisCVSCoord;',
|
|
87
89
|
'uniform bool yAxisIsLog;',
|
|
88
90
|
'uniform bool yAxisReversed;',
|
|
91
|
+
'uniform bool isCircle;',
|
|
89
92
|
'uniform bool isBubble;',
|
|
90
93
|
'uniform bool bubbleSizeByArea;',
|
|
91
94
|
'uniform float bubbleZMin;',
|
|
@@ -174,7 +177,17 @@ const vertexShader = [
|
|
|
174
177
|
'}',
|
|
175
178
|
// 'gl_PointSize = 10.0;',
|
|
176
179
|
'vColor = aColor;',
|
|
177
|
-
'
|
|
180
|
+
// It's not working correctly on useGPUTranslations off, because we
|
|
181
|
+
// operate on pixel values then, not on axis values. Maybe we should
|
|
182
|
+
// just skip outer points before pushing them to the vertex buffer?
|
|
183
|
+
'if (!skipTranslation && isCircle && (',
|
|
184
|
+
'aVertexPosition.x < xAxisMin ||',
|
|
185
|
+
'aVertexPosition.x > xAxisMax ||',
|
|
186
|
+
'aVertexPosition.y < yAxisMin ||',
|
|
187
|
+
'aVertexPosition.y > yAxisMax',
|
|
188
|
+
')) {',
|
|
189
|
+
'gl_Position = uPMatrix * vec4(2.0, 2.0, 2.0, 1.0);',
|
|
190
|
+
'} else if (skipTranslation && isInverted) {',
|
|
178
191
|
// If we get translated values from JS, just swap them (x, y)
|
|
179
192
|
'gl_Position = uPMatrix * vec4(aVertexPosition.y + yAxisPos, aVertexPosition.x + xAxisPos, 0.0, 1.0);',
|
|
180
193
|
'} else if (isInverted) {',
|
|
@@ -186,7 +199,7 @@ const vertexShader = [
|
|
|
186
199
|
'}',
|
|
187
200
|
// 'gl_Position = uPMatrix * vec4(aVertexPosition.x, aVertexPosition.y, 0.0, 1.0);',
|
|
188
201
|
'}'
|
|
189
|
-
/* eslint-enable max-len, @
|
|
202
|
+
/* eslint-enable max-len, @stylistic/indent */
|
|
190
203
|
].join('\n');
|
|
191
204
|
/* *
|
|
192
205
|
*
|