highcharts 10.2.1 → 10.3.1
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/es-modules/Accessibility/Accessibility.js +1 -1
- package/es-modules/Accessibility/Components/InfoRegionsComponent.js +9 -6
- package/es-modules/Accessibility/Components/LegendComponent.js +36 -32
- package/es-modules/Accessibility/Components/RangeSelectorComponent.js +1 -1
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +16 -16
- package/es-modules/Accessibility/Options/LangDefaults.js +4 -0
- package/es-modules/Core/Axis/Axis.js +42 -32
- package/es-modules/Core/Axis/Axis3DComposition.js +501 -0
- package/es-modules/Core/Axis/Axis3DDefaults.js +130 -0
- package/es-modules/Core/Axis/AxisDefaults.js +20 -7
- package/es-modules/Core/Axis/Color/ColorAxis.js +46 -52
- package/es-modules/Core/Axis/Color/ColorAxisComposition.js +4 -2
- package/es-modules/Core/Axis/NavigatorAxisComposition.js +161 -0
- package/es-modules/Core/Axis/OrdinalAxis.js +2 -1
- package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +1 -1
- package/es-modules/Core/Axis/RadialAxis.js +19 -5
- package/es-modules/Core/Axis/Tick.js +1 -1
- package/es-modules/Core/Axis/Tick3DComposition.js +71 -0
- package/es-modules/Core/Chart/Chart.js +16 -20
- package/es-modules/Core/Chart/Chart3D.js +4 -4
- package/es-modules/Core/Chart/ChartDefaults.js +33 -43
- package/es-modules/Core/Chart/GanttChart.js +1 -1
- package/es-modules/Core/Chart/MapChart.js +1 -1
- package/es-modules/Core/Chart/StockChart.js +11 -28
- package/es-modules/Core/{DefaultOptions.js → Defaults.js} +21 -37
- package/es-modules/Core/FormatUtilities.js +1 -1
- package/es-modules/Core/Globals.js +1 -1
- package/es-modules/Core/Legend/Legend.js +114 -110
- package/es-modules/Core/Legend/LegendSymbol.js +9 -6
- package/es-modules/Core/MSPointer.js +4 -2
- package/es-modules/Core/Pointer.js +125 -75
- package/es-modules/Core/Renderer/SVG/SVGElement.js +0 -3
- package/es-modules/Core/Renderer/SVG/SVGRenderer.js +28 -14
- package/es-modules/Core/Series/DataLabel.js +8 -5
- package/es-modules/Core/Series/Point.js +38 -22
- package/es-modules/Core/Series/Series.js +12 -9
- package/es-modules/Core/Series/SeriesDefaults.js +36 -24
- package/es-modules/Core/Series/SeriesRegistry.js +2 -2
- package/es-modules/Core/Time.js +6 -5
- package/es-modules/Core/Tooltip.js +6 -28
- package/es-modules/Core/Utilities.js +6 -8
- package/es-modules/Extensions/Annotations/Annotation.js +1 -1
- package/es-modules/Extensions/Annotations/AnnotationDefaults.js +13 -8
- package/es-modules/Extensions/Annotations/MockPoint.js +2 -1
- package/es-modules/Extensions/Annotations/NavigationBindings.js +4 -5
- package/es-modules/Extensions/Annotations/NavigationBindingsDefaults.js +1 -1
- package/es-modules/Extensions/Annotations/Popup/Popup.js +2 -2
- package/es-modules/Extensions/Annotations/Popup/PopupAnnotations.js +4 -4
- package/es-modules/Extensions/Annotations/Popup/PopupComposition.js +1 -1
- package/es-modules/Extensions/Boost/BoostSeries.js +11 -8
- package/es-modules/Extensions/Breadcrumbs.js +2 -2
- package/es-modules/Extensions/Data.js +2 -2
- package/es-modules/Extensions/DataGrouping/ApproximationDefaults.js +157 -0
- package/es-modules/Extensions/DataGrouping/ApproximationRegistry.js +35 -0
- package/es-modules/Extensions/DataGrouping/DataGrouping.js +469 -0
- package/es-modules/Extensions/DataGrouping/DataGroupingAxisComposition.js +174 -0
- package/es-modules/Extensions/DataGrouping/DataGroupingDefaults.js +143 -0
- package/es-modules/Extensions/DataGrouping/DataGroupingSeriesComposition.js +479 -0
- package/es-modules/Extensions/Debugger/Debugger.js +1 -1
- package/es-modules/Extensions/DraggablePoints.js +6 -2
- package/es-modules/Extensions/Drilldown.js +3 -5
- package/es-modules/Extensions/ExportData/ExportData.js +31 -5
- package/es-modules/Extensions/Exporting/Exporting.js +47 -60
- package/es-modules/Extensions/Exporting/ExportingDefaults.js +22 -24
- package/es-modules/Extensions/GeoJSON.js +3 -1
- package/es-modules/Extensions/MarkerClusters.js +1 -1
- package/es-modules/Extensions/NoDataToDisplay.js +1 -1
- package/es-modules/Extensions/OfflineExporting/OfflineExporting.js +5 -5
- package/es-modules/Extensions/OfflineExporting/OfflineExportingDefaults.js +1 -1
- package/es-modules/Extensions/Oldie/Oldie.js +3 -3
- package/es-modules/Extensions/Oldie/VMLRenderer3D.js +1 -1
- package/es-modules/Extensions/OldiePolyfills.js +3 -1
- package/es-modules/Extensions/Pane.js +42 -5
- package/es-modules/Extensions/ParallelCoordinates.js +5 -1
- package/es-modules/Extensions/PatternFill.js +10 -10
- package/es-modules/Extensions/SeriesLabel/SeriesLabel.js +2 -2
- package/es-modules/Extensions/SeriesLabel/SeriesLabelDefaults.js +4 -0
- package/es-modules/Extensions/Sonification/Sonification.js +1 -1
- package/es-modules/Extensions/Themes/Avocado.js +1 -1
- package/es-modules/Extensions/Themes/BrandDark.js +1 -1
- package/es-modules/Extensions/Themes/BrandLight.js +1 -1
- package/es-modules/Extensions/Themes/DarkBlue.js +1 -1
- package/es-modules/Extensions/Themes/DarkGreen.js +1 -1
- package/es-modules/Extensions/Themes/DarkUnica.js +1 -1
- package/es-modules/Extensions/Themes/Gray.js +1 -1
- package/es-modules/Extensions/Themes/Grid.js +1 -1
- package/es-modules/Extensions/Themes/GridLight.js +1 -1
- package/es-modules/Extensions/Themes/HighContrastDark.js +1 -1
- package/es-modules/Extensions/Themes/HighContrastLight.js +1 -1
- package/es-modules/Extensions/Themes/SandSignika.js +1 -1
- package/es-modules/Extensions/Themes/Skies.js +1 -1
- package/es-modules/Extensions/Themes/Sunset.js +1 -1
- package/es-modules/Gantt/Connection.js +5 -5
- package/es-modules/Gantt/Pathfinder.js +6 -6
- package/es-modules/Maps/MapNavigation.js +1 -1
- package/es-modules/Maps/{MapNavigationOptionsDefault.js → MapNavigationDefaults.js} +4 -4
- package/es-modules/Maps/MapViewOptionsDefault.js +4 -4
- package/es-modules/Series/ArcDiagram/ArcDiagramSeries.js +3 -5
- package/es-modules/Series/AreaRange/AreaRangePoint.js +6 -10
- package/es-modules/Series/AreaRange/AreaRangeSeries.js +59 -48
- package/es-modules/Series/BoxPlot/BoxPlotSeries.js +4 -1
- package/es-modules/Series/Bubble/BubbleLegendComposition.js +22 -16
- package/es-modules/Series/Bubble/BubbleLegendItem.js +17 -21
- package/es-modules/Series/Candlestick/CandlestickSeries.js +15 -175
- package/es-modules/Series/Candlestick/CandlestickSeriesDefaults.js +179 -0
- package/es-modules/Series/Column/ColumnSeries.js +25 -506
- package/es-modules/Series/Column/ColumnSeriesDefaults.js +487 -0
- package/es-modules/Series/ColumnRange/ColumnRangeSeries.js +40 -36
- package/es-modules/Series/DependencyWheel/DependencyWheelSeries.js +2 -106
- package/es-modules/Series/DependencyWheel/DependencyWheelSeriesDefaults.js +183 -0
- package/es-modules/Series/DotPlot/DotPlotSeries.js +11 -12
- package/es-modules/Series/DrawPointUtilities.js +2 -14
- package/es-modules/Series/Dumbbell/DumbbellPoint.js +5 -4
- package/es-modules/Series/Dumbbell/DumbbellSeries.js +11 -7
- package/es-modules/Series/ErrorBar/ErrorBarSeries.js +19 -136
- package/es-modules/Series/ErrorBar/ErrorBarSeriesDefaults.js +147 -0
- package/es-modules/Series/Flags/FlagsPoint.js +2 -3
- package/es-modules/Series/Flags/FlagsSeries.js +31 -298
- package/es-modules/Series/Flags/FlagsSeriesDefaults.js +295 -0
- package/es-modules/Series/Flags/FlagsSymbols.js +96 -71
- package/es-modules/Series/HLC/HLCPoint.js +2 -2
- package/es-modules/Series/HLC/HLCSeries.js +7 -172
- package/es-modules/Series/HLC/HLCSeriesDefaults.js +184 -0
- package/es-modules/Series/Heatmap/HeatmapSeries.js +3 -0
- package/es-modules/Series/HeikinAshi/HeikinAshiPoint.js +3 -20
- package/es-modules/Series/HeikinAshi/HeikinAshiSeries.js +78 -139
- package/es-modules/Series/HeikinAshi/HeikinAshiSeriesDefaults.js +102 -0
- package/es-modules/Series/Item/ItemPoint.js +0 -1
- package/es-modules/Series/Item/ItemSeries.js +13 -8
- package/es-modules/Series/Line/LineSeries.js +8 -4
- package/es-modules/Series/Map/MapPoint.js +19 -1
- package/es-modules/Series/Map/MapSeries.js +7 -3
- package/es-modules/Series/MapBubble/MapBubbleSeries.js +4 -0
- package/es-modules/Series/MapPoint/MapPointPoint.js +0 -5
- package/es-modules/Series/MapPoint/MapPointSeries.js +24 -9
- package/es-modules/Series/Networkgraph/NetworkgraphSeries.js +2 -5
- package/es-modules/Series/Networkgraph/NetworkgraphSeriesDefaults.js +2 -0
- package/es-modules/Series/OHLC/OHLCPoint.js +0 -2
- package/es-modules/Series/OHLC/OHLCSeries.js +64 -160
- package/es-modules/Series/OHLC/OHLCSeriesDefaults.js +151 -0
- package/es-modules/Series/Organization/OrganizationPoint.js +0 -2
- package/es-modules/Series/Organization/OrganizationSeries.js +96 -469
- package/es-modules/Series/Organization/OrganizationSeriesDefaults.js +415 -0
- package/es-modules/Series/PackedBubble/PackedBubbleSeries.js +3 -10
- package/es-modules/Series/PackedBubble/PackedBubbleSeriesDefaults.js +2 -0
- package/es-modules/Series/PathUtilities.js +74 -0
- package/es-modules/Series/Pie/PieSeries.js +2 -644
- package/es-modules/Series/Pie/PieSeriesDefaults.js +660 -0
- package/es-modules/Series/PolarComposition.js +233 -15
- package/es-modules/Series/Sankey/SankeySeries.js +27 -530
- package/es-modules/Series/Sankey/SankeySeriesDefaults.js +522 -0
- package/es-modules/Series/Scatter/ScatterSeries.js +2 -172
- package/es-modules/Series/Scatter/ScatterSeriesDefaults.js +188 -0
- package/es-modules/Series/SolidGauge/SolidGaugeSeries.js +12 -182
- package/es-modules/Series/SolidGauge/SolidGaugeSeriesDefaults.js +199 -0
- package/es-modules/Series/Sunburst/SunburstNode.js +34 -0
- package/es-modules/Series/Sunburst/SunburstPoint.js +2 -1
- package/es-modules/Series/Sunburst/SunburstSeries.js +3 -1
- package/es-modules/Series/Timeline/TimelineSeries.js +2 -231
- package/es-modules/Series/Timeline/TimelineSeriesDefaults.js +248 -0
- package/es-modules/Series/TreeUtilities.js +1 -2
- package/es-modules/Series/Treegraph/TreegraphLayout.js +338 -0
- package/es-modules/Series/Treegraph/TreegraphLink.js +92 -0
- package/es-modules/Series/Treegraph/TreegraphNode.js +206 -0
- package/es-modules/Series/Treegraph/TreegraphPoint.js +175 -0
- package/es-modules/Series/Treegraph/TreegraphSeries.js +510 -0
- package/es-modules/Series/Treegraph/TreegraphSeriesDefaults.js +231 -0
- package/es-modules/Series/Treemap/TreemapNode.js +48 -0
- package/es-modules/Series/Treemap/TreemapPoint.js +2 -1
- package/es-modules/Series/Treemap/TreemapSeries.js +29 -27
- package/es-modules/Series/Variwide/VariwideComposition.js +70 -26
- package/es-modules/Series/Variwide/VariwidePoint.js +8 -7
- package/es-modules/Series/Variwide/VariwideSeries.js +19 -14
- package/es-modules/Series/Vector/VectorSeries.js +2 -2
- package/es-modules/Series/Venn/VennSeries.js +14 -0
- package/es-modules/Series/Waterfall/WaterfallSeries.js +0 -1
- package/es-modules/Series/Windbarb/WindbarbSeries.js +3 -2
- package/es-modules/Series/Wordcloud/WordcloudSeries.js +3 -0
- package/es-modules/Stock/Indicators/AO/AOIndicator.js +1 -2
- package/es-modules/Stock/Indicators/BB/BBIndicator.js +15 -4
- package/es-modules/Stock/Indicators/IKH/IKHIndicator.js +21 -18
- package/es-modules/Stock/Indicators/Klinger/KlingerIndicator.js +1 -2
- package/es-modules/Stock/Indicators/MACD/MACDIndicator.js +1 -2
- package/es-modules/Stock/Indicators/PivotPoints/PivotPointsIndicator.js +1 -1
- package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +0 -1
- package/es-modules/Stock/Indicators/SlowStochastic/SlowStochasticIndicator.js +3 -4
- package/es-modules/Stock/Indicators/Supertrend/SupertrendIndicator.js +1 -2
- package/es-modules/Stock/Indicators/VBP/VBPIndicator.js +6 -7
- package/es-modules/{Core → Stock/Navigator}/Navigator.js +112 -686
- package/es-modules/Stock/Navigator/NavigatorComposition.js +218 -0
- package/es-modules/Stock/Navigator/NavigatorDefaults.js +490 -0
- package/es-modules/Stock/Navigator/NavigatorSymbols.js +44 -0
- package/es-modules/{Extensions → Stock/RangeSelector}/RangeSelector.js +154 -818
- package/es-modules/Stock/RangeSelector/RangeSelectorComposition.js +286 -0
- package/es-modules/Stock/RangeSelector/RangeSelectorDefaults.js +521 -0
- package/es-modules/{Core → Stock/Scrollbar}/Scrollbar.js +4 -4
- package/es-modules/{Core → Stock/Scrollbar}/ScrollbarDefaults.js +1 -1
- package/es-modules/Stock/{StockToolbar.js → StockTools/StockToolbar.js} +2 -2
- package/es-modules/Stock/{StockTools.js → StockTools/StockTools.js} +3 -3
- package/es-modules/Stock/{StockToolsBindings.js → StockTools/StockToolsBindings.js} +3 -3
- package/es-modules/Stock/{StockToolsDefaults.js → StockTools/StockToolsDefaults.js} +4 -4
- package/es-modules/Stock/{StockToolsGui.js → StockTools/StockToolsGui.js} +4 -4
- package/es-modules/Stock/{StockToolsUtilities.js → StockTools/StockToolsUtilities.js} +4 -4
- package/es-modules/masters/highcharts-3d.src.js +3 -5
- package/es-modules/masters/highcharts-gantt.src.js +1 -1
- package/es-modules/masters/highcharts-more.src.js +1 -1
- package/es-modules/masters/highcharts.src.js +6 -6
- 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 +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/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.src.js +1 -1
- package/es-modules/masters/modules/datagrouping.src.js +11 -3
- 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 +1 -1
- package/es-modules/masters/modules/dumbbell.src.js +1 -1
- package/es-modules/masters/modules/export-data.src.js +1 -1
- package/es-modules/masters/modules/exporting.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 +9 -5
- 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 +5 -2
- 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/networkgraph.src.js +1 -1
- package/es-modules/masters/modules/no-data-to-display.src.js +1 -1
- package/es-modules/masters/modules/offline-exporting.src.js +1 -1
- package/es-modules/masters/modules/oldie-polyfills.src.js +1 -1
- package/es-modules/masters/modules/oldie.src.js +1 -1
- package/es-modules/masters/modules/organization.src.js +1 -1
- package/es-modules/masters/modules/overlapping-datalabels.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/price-indicator.src.js +1 -1
- package/es-modules/masters/modules/pyramid3d.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 +4 -4
- package/es-modules/masters/modules/stock.src.js +17 -11
- 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/tilemap.src.js +1 -1
- package/es-modules/masters/modules/timeline.src.js +1 -1
- package/es-modules/masters/modules/treegraph.src.js +13 -0
- 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 +5 -2
- 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/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/highcharts-3d.js +97 -98
- package/highcharts-3d.js.map +1 -1
- package/highcharts-3d.src.js +476 -449
- package/highcharts-gantt.js +811 -808
- package/highcharts-gantt.js.map +1 -1
- package/highcharts-gantt.src.js +14619 -14112
- package/highcharts-more.d.ts +0 -8
- package/highcharts-more.js +208 -201
- package/highcharts-more.js.map +1 -1
- package/highcharts-more.src.d.ts +0 -8
- package/highcharts-more.src.js +679 -289
- package/highcharts.d.ts +30739 -6156
- package/highcharts.js +590 -589
- package/highcharts.js.map +1 -1
- package/highcharts.src.d.ts +30739 -6156
- package/highcharts.src.js +1988 -1799
- package/highmaps.js +759 -757
- package/highmaps.js.map +1 -1
- package/highmaps.src.js +2339 -2077
- package/highstock.js +802 -794
- package/highstock.js.map +1 -1
- package/highstock.src.js +12349 -11416
- package/indicators/acceleration-bands.js +1 -1
- package/indicators/acceleration-bands.src.js +1 -1
- package/indicators/accumulation-distribution.js +1 -1
- package/indicators/accumulation-distribution.src.js +1 -1
- package/indicators/ao.js +6 -6
- package/indicators/ao.js.map +1 -1
- package/indicators/ao.src.js +4 -3
- package/indicators/apo.js +1 -1
- package/indicators/apo.src.js +1 -1
- package/indicators/aroon-oscillator.js +1 -1
- package/indicators/aroon-oscillator.src.js +1 -1
- package/indicators/aroon.js +1 -1
- package/indicators/aroon.src.js +1 -1
- package/indicators/atr.js +1 -1
- package/indicators/atr.src.js +1 -1
- package/indicators/bollinger-bands.js +1 -1
- package/indicators/bollinger-bands.js.map +1 -1
- package/indicators/bollinger-bands.src.js +16 -5
- package/indicators/cci.js +1 -1
- package/indicators/cci.src.js +1 -1
- package/indicators/chaikin.js +1 -1
- package/indicators/chaikin.src.js +1 -1
- package/indicators/cmf.js +1 -1
- package/indicators/cmf.src.js +1 -1
- package/indicators/cmo.d.ts +17 -0
- package/indicators/cmo.js +1 -1
- package/indicators/cmo.src.d.ts +17 -0
- package/indicators/cmo.src.js +1 -1
- package/indicators/dema.js +1 -1
- package/indicators/dema.src.js +1 -1
- package/indicators/disparity-index.d.ts +17 -0
- package/indicators/disparity-index.js +1 -1
- package/indicators/disparity-index.src.d.ts +17 -0
- package/indicators/disparity-index.src.js +1 -1
- package/indicators/dmi.d.ts +17 -0
- package/indicators/dmi.js +1 -1
- package/indicators/dmi.src.d.ts +17 -0
- package/indicators/dmi.src.js +1 -1
- package/indicators/dpo.js +1 -1
- package/indicators/dpo.src.js +1 -1
- package/indicators/ichimoku-kinko-hyo.js +14 -14
- package/indicators/ichimoku-kinko-hyo.js.map +1 -1
- package/indicators/ichimoku-kinko-hyo.src.js +22 -19
- package/indicators/indicators-all.js +198 -199
- package/indicators/indicators-all.js.map +1 -1
- package/indicators/indicators-all.src.js +63 -57
- package/indicators/indicators.js +13 -13
- package/indicators/indicators.js.map +1 -1
- package/indicators/indicators.src.js +1 -15
- package/indicators/keltner-channels.js +1 -1
- package/indicators/keltner-channels.src.js +1 -1
- package/indicators/klinger.d.ts +17 -0
- package/indicators/klinger.js +12 -12
- package/indicators/klinger.js.map +1 -1
- package/indicators/klinger.src.d.ts +17 -0
- package/indicators/klinger.src.js +4 -3
- package/indicators/macd.js +1 -1
- package/indicators/macd.js.map +1 -1
- package/indicators/macd.src.js +4 -3
- package/indicators/mfi.js +1 -1
- package/indicators/mfi.src.js +1 -1
- package/indicators/momentum.js +1 -1
- package/indicators/momentum.src.js +1 -1
- package/indicators/natr.js +1 -1
- package/indicators/natr.src.js +1 -1
- package/indicators/obv.d.ts +17 -0
- package/indicators/obv.js +1 -1
- package/indicators/obv.src.d.ts +17 -0
- package/indicators/obv.src.js +1 -1
- package/indicators/pivot-points.js +2 -2
- package/indicators/pivot-points.js.map +1 -1
- package/indicators/pivot-points.src.js +2 -2
- package/indicators/ppo.js +1 -1
- package/indicators/ppo.src.js +1 -1
- package/indicators/price-channel.js +1 -1
- package/indicators/price-channel.src.js +1 -1
- package/indicators/price-envelopes.js +1 -1
- package/indicators/price-envelopes.src.js +1 -1
- package/indicators/psar.js +1 -1
- package/indicators/psar.src.js +1 -1
- package/indicators/regressions.js +1 -1
- package/indicators/regressions.src.js +1 -1
- package/indicators/roc.js +1 -1
- package/indicators/roc.src.js +1 -1
- package/indicators/rsi.js +1 -1
- package/indicators/rsi.src.js +1 -1
- package/indicators/slow-stochastic.js +5 -5
- package/indicators/slow-stochastic.js.map +1 -1
- package/indicators/slow-stochastic.src.js +6 -5
- package/indicators/stochastic.js +1 -1
- package/indicators/stochastic.src.js +1 -1
- package/indicators/supertrend.js +7 -7
- package/indicators/supertrend.js.map +1 -1
- package/indicators/supertrend.src.js +4 -3
- package/indicators/tema.js +1 -1
- package/indicators/tema.src.js +1 -1
- package/indicators/trendline.js +1 -1
- package/indicators/trendline.src.js +1 -1
- package/indicators/trix.js +1 -1
- package/indicators/trix.src.js +1 -1
- package/indicators/volume-by-price.js +17 -17
- package/indicators/volume-by-price.js.map +1 -1
- package/indicators/volume-by-price.src.js +9 -8
- package/indicators/vwap.js +1 -1
- package/indicators/vwap.src.js +1 -1
- package/indicators/williams-r.js +1 -1
- package/indicators/williams-r.src.js +1 -1
- package/indicators/wma.js +1 -1
- package/indicators/wma.src.js +1 -1
- package/indicators/zigzag.js +1 -1
- package/indicators/zigzag.src.js +1 -1
- package/modules/accessibility.js +214 -213
- package/modules/accessibility.js.map +1 -1
- package/modules/accessibility.src.js +991 -835
- package/modules/annotations-advanced.js +16 -16
- package/modules/annotations-advanced.js.map +1 -1
- package/modules/annotations-advanced.src.js +29 -24
- package/modules/annotations.js +91 -91
- package/modules/annotations.js.map +1 -1
- package/modules/annotations.src.js +29 -24
- package/modules/arc-diagram.d.ts +17 -0
- package/modules/arc-diagram.js +15 -15
- package/modules/arc-diagram.js.map +1 -1
- package/modules/arc-diagram.src.d.ts +17 -0
- package/modules/arc-diagram.src.js +6 -6
- package/modules/arrow-symbols.js +1 -1
- package/modules/arrow-symbols.src.js +1 -1
- package/modules/boost-canvas.js +19 -19
- package/modules/boost-canvas.js.map +1 -1
- package/modules/boost-canvas.src.js +13 -8
- package/modules/boost.js +37 -37
- package/modules/boost.js.map +1 -1
- package/modules/boost.src.js +13 -8
- package/modules/broken-axis.js +1 -1
- package/modules/broken-axis.src.js +1 -1
- package/modules/bullet.js +1 -1
- package/modules/bullet.src.js +1 -1
- package/modules/coloraxis.js +25 -24
- package/modules/coloraxis.js.map +1 -1
- package/modules/coloraxis.src.js +77 -58
- package/modules/current-date-indicator.js +1 -1
- package/modules/current-date-indicator.src.js +1 -1
- package/modules/cylinder.js +1 -1
- package/modules/cylinder.src.js +1 -1
- package/modules/data.js +27 -27
- package/modules/data.js.map +1 -1
- package/modules/data.src.js +3 -3
- package/modules/datagrouping.d.ts +31 -0
- package/modules/datagrouping.js +23 -21
- package/modules/datagrouping.js.map +1 -1
- package/modules/datagrouping.src.d.ts +31 -0
- package/modules/datagrouping.src.js +921 -640
- package/modules/debugger.js +3 -3
- package/modules/debugger.js.map +1 -1
- package/modules/debugger.src.js +2 -2
- package/modules/dependency-wheel.js +12 -12
- package/modules/dependency-wheel.js.map +1 -1
- package/modules/dependency-wheel.src.js +191 -108
- package/modules/dotplot.js +6 -6
- package/modules/dotplot.js.map +1 -1
- package/modules/dotplot.src.js +10 -13
- package/modules/drag-panes.js +1 -1
- package/modules/drag-panes.src.js +1 -1
- package/modules/draggable-points.js +5 -5
- package/modules/draggable-points.js.map +1 -1
- package/modules/draggable-points.src.js +7 -3
- package/modules/drilldown.js +37 -37
- package/modules/drilldown.js.map +1 -1
- package/modules/drilldown.src.js +5 -6
- package/modules/dumbbell.js +17 -17
- package/modules/dumbbell.js.map +1 -1
- package/modules/dumbbell.src.js +27 -22
- package/modules/export-data.js +26 -25
- package/modules/export-data.js.map +1 -1
- package/modules/export-data.src.js +33 -6
- package/modules/exporting.js +36 -35
- package/modules/exporting.js.map +1 -1
- package/modules/exporting.src.js +81 -88
- package/modules/full-screen.js +1 -1
- package/modules/full-screen.src.js +1 -1
- package/modules/funnel.js +1 -1
- package/modules/funnel.src.js +1 -1
- package/modules/funnel3d.js +1 -1
- package/modules/funnel3d.src.js +1 -1
- package/modules/gantt.js +221 -219
- package/modules/gantt.js.map +1 -1
- package/modules/gantt.src.js +12842 -12524
- package/modules/grid-axis.js +1 -1
- package/modules/grid-axis.src.js +1 -1
- package/modules/heatmap.js +40 -40
- package/modules/heatmap.js.map +1 -1
- package/modules/heatmap.src.js +80 -58
- package/modules/heikinashi.d.ts +17 -0
- package/modules/heikinashi.js +9 -8
- package/modules/heikinashi.js.map +1 -1
- package/modules/heikinashi.src.d.ts +17 -0
- package/modules/heikinashi.src.js +192 -165
- package/modules/histogram-bellcurve.js +1 -1
- package/modules/histogram-bellcurve.src.js +1 -1
- package/modules/hollowcandlestick.d.ts +17 -0
- package/modules/hollowcandlestick.js +1 -1
- package/modules/hollowcandlestick.src.d.ts +17 -0
- package/modules/hollowcandlestick.src.js +1 -1
- package/modules/item-series.js +12 -12
- package/modules/item-series.js.map +1 -1
- package/modules/item-series.src.js +14 -10
- package/modules/lollipop.js +1 -1
- package/modules/lollipop.src.js +1 -1
- package/modules/map.js +172 -171
- package/modules/map.js.map +1 -1
- package/modules/map.src.js +194 -121
- package/modules/marker-clusters.js +2 -2
- package/modules/marker-clusters.js.map +1 -1
- package/modules/marker-clusters.src.js +2 -2
- package/modules/networkgraph.js +8 -8
- package/modules/networkgraph.js.map +1 -1
- package/modules/networkgraph.src.js +5 -6
- 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 +2 -2
- package/modules/offline-exporting.js +4 -4
- package/modules/offline-exporting.js.map +1 -1
- package/modules/offline-exporting.src.js +7 -7
- package/modules/oldie-polyfills.js +7 -7
- package/modules/oldie-polyfills.js.map +1 -1
- package/modules/oldie-polyfills.src.js +9 -7
- package/modules/oldie.js +30 -30
- package/modules/oldie.js.map +1 -1
- package/modules/oldie.src.js +5 -5
- package/modules/organization.js +18 -16
- package/modules/organization.js.map +1 -1
- package/modules/organization.src.js +659 -495
- package/modules/overlapping-datalabels.js +1 -1
- package/modules/overlapping-datalabels.src.js +1 -1
- package/modules/parallel-coordinates.js +10 -10
- package/modules/parallel-coordinates.js.map +1 -1
- package/modules/parallel-coordinates.src.js +6 -2
- package/modules/pareto.js +1 -1
- package/modules/pareto.src.js +1 -1
- package/modules/pathfinder.js +31 -31
- package/modules/pathfinder.js.map +1 -1
- package/modules/pathfinder.src.js +19 -23
- package/modules/pattern-fill.js +2 -2
- package/modules/pattern-fill.js.map +1 -1
- package/modules/pattern-fill.src.js +11 -11
- package/modules/price-indicator.js +1 -1
- package/modules/price-indicator.src.js +1 -1
- package/modules/pyramid3d.js +1 -1
- package/modules/pyramid3d.src.js +1 -1
- package/modules/sankey.js +33 -32
- package/modules/sankey.js.map +1 -1
- package/modules/sankey.src.js +571 -550
- package/modules/series-label.js +17 -17
- package/modules/series-label.js.map +1 -1
- package/modules/series-label.src.js +7 -3
- package/modules/series-on-point.d.ts +17 -0
- package/modules/series-on-point.js +1 -1
- package/modules/series-on-point.src.d.ts +17 -0
- package/modules/series-on-point.src.js +1 -1
- package/modules/solid-gauge.js +11 -10
- package/modules/solid-gauge.js.map +1 -1
- package/modules/solid-gauge.src.js +220 -192
- package/modules/sonification.js +2 -2
- package/modules/sonification.js.map +1 -1
- package/modules/sonification.src.js +2 -2
- package/modules/static-scale.js +1 -1
- package/modules/static-scale.src.js +1 -1
- package/modules/stock-tools.js +59 -59
- package/modules/stock-tools.js.map +1 -1
- package/modules/stock-tools.src.js +19 -21
- package/modules/stock.d.ts +26 -6
- package/modules/stock.js +212 -205
- package/modules/stock.js.map +1 -1
- package/modules/stock.src.d.ts +26 -6
- package/modules/stock.src.js +11361 -10617
- package/modules/streamgraph.js +1 -1
- package/modules/streamgraph.src.js +1 -1
- package/modules/sunburst.js +75 -73
- package/modules/sunburst.js.map +1 -1
- package/modules/sunburst.src.js +133 -57
- package/modules/tilemap.js +1 -1
- package/modules/tilemap.src.js +1 -1
- package/modules/timeline.js +18 -18
- package/modules/timeline.js.map +1 -1
- package/modules/timeline.src.js +257 -233
- package/modules/treegraph.d.ts +17 -0
- package/modules/treegraph.js +44 -0
- package/modules/treegraph.js.map +1 -0
- package/modules/treegraph.src.d.ts +17 -0
- package/modules/treegraph.src.js +1829 -0
- package/modules/treegrid.js +2 -2
- package/modules/treegrid.js.map +1 -1
- package/modules/treegrid.src.js +2 -3
- package/modules/treemap.js +54 -53
- package/modules/treemap.js.map +1 -1
- package/modules/treemap.src.js +90 -52
- package/modules/variable-pie.js +1 -1
- package/modules/variable-pie.src.js +1 -1
- package/modules/variwide.js +12 -12
- package/modules/variwide.js.map +1 -1
- package/modules/variwide.src.js +158 -106
- package/modules/vector.js +1 -1
- package/modules/vector.src.js +3 -3
- package/modules/venn.js +31 -31
- package/modules/venn.js.map +1 -1
- package/modules/venn.src.js +17 -16
- package/modules/windbarb.js +15 -15
- package/modules/windbarb.js.map +1 -1
- package/modules/windbarb.src.js +41 -4
- package/modules/wordcloud.js +23 -23
- package/modules/wordcloud.js.map +1 -1
- package/modules/wordcloud.src.js +6 -15
- package/modules/xrange.js +1 -1
- package/modules/xrange.src.js +1 -1
- package/package.json +1 -1
- package/themes/avocado.js +2 -3
- package/themes/avocado.js.map +1 -1
- package/themes/avocado.src.js +2 -2
- package/themes/brand-dark.d.ts +22 -0
- package/themes/brand-dark.js +3 -3
- package/themes/brand-dark.js.map +1 -1
- package/themes/brand-dark.src.d.ts +22 -0
- package/themes/brand-dark.src.js +2 -2
- package/themes/brand-light.d.ts +22 -0
- package/themes/brand-light.js +2 -2
- package/themes/brand-light.js.map +1 -1
- package/themes/brand-light.src.d.ts +22 -0
- package/themes/brand-light.src.js +2 -2
- package/themes/dark-blue.js +2 -2
- package/themes/dark-blue.js.map +1 -1
- package/themes/dark-blue.src.js +2 -2
- package/themes/dark-green.js +2 -2
- package/themes/dark-green.js.map +1 -1
- package/themes/dark-green.src.js +2 -2
- package/themes/dark-unica.js +2 -2
- package/themes/dark-unica.js.map +1 -1
- package/themes/dark-unica.src.js +2 -2
- package/themes/gray.js +2 -2
- package/themes/gray.js.map +1 -1
- package/themes/gray.src.js +2 -2
- package/themes/grid-light.js +2 -2
- package/themes/grid-light.js.map +1 -1
- package/themes/grid-light.src.js +2 -2
- package/themes/grid.js +2 -2
- package/themes/grid.js.map +1 -1
- package/themes/grid.src.js +2 -2
- package/themes/high-contrast-dark.d.ts +22 -0
- package/themes/high-contrast-dark.js +2 -2
- package/themes/high-contrast-dark.js.map +1 -1
- package/themes/high-contrast-dark.src.d.ts +22 -0
- package/themes/high-contrast-dark.src.js +2 -2
- package/themes/high-contrast-light.d.ts +22 -0
- package/themes/high-contrast-light.js +2 -2
- package/themes/high-contrast-light.js.map +1 -1
- package/themes/high-contrast-light.src.d.ts +22 -0
- package/themes/high-contrast-light.src.js +2 -2
- package/themes/sand-signika.js +2 -2
- package/themes/sand-signika.js.map +1 -1
- package/themes/sand-signika.src.js +2 -2
- package/themes/skies.js +2 -2
- package/themes/skies.js.map +1 -1
- package/themes/skies.src.js +2 -2
- package/themes/sunset.js +2 -2
- package/themes/sunset.js.map +1 -1
- package/themes/sunset.src.js +2 -2
- package/es-modules/Core/Axis/Axis3D.js +0 -612
- package/es-modules/Core/Axis/NavigatorAxis.js +0 -159
- package/es-modules/Core/Axis/Tick3D.js +0 -68
- package/es-modules/Extensions/DataGrouping.js +0 -1177
- package/es-modules/Stock/Indicators/SMA/SMAComposition.js +0 -12
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
/* *
|
|
2
|
+
*
|
|
3
|
+
* (c) 2010-2021 Torstein Honsi
|
|
4
|
+
*
|
|
5
|
+
* License: www.highcharts.com/license
|
|
6
|
+
*
|
|
7
|
+
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
8
|
+
*
|
|
9
|
+
* */
|
|
10
|
+
'use strict';
|
|
11
|
+
/* *
|
|
12
|
+
*
|
|
13
|
+
* API Options
|
|
14
|
+
*
|
|
15
|
+
* */
|
|
16
|
+
/**
|
|
17
|
+
* Error bars are a graphical representation of the variability of data and
|
|
18
|
+
* are used on graphs to indicate the error, or uncertainty in a reported
|
|
19
|
+
* measurement.
|
|
20
|
+
*
|
|
21
|
+
* @sample highcharts/demo/error-bar/
|
|
22
|
+
* Error bars on a column series
|
|
23
|
+
* @sample highcharts/series-errorbar/on-scatter/
|
|
24
|
+
* Error bars on a scatter series
|
|
25
|
+
* @sample highcharts/series-errorbar/datalabels/
|
|
26
|
+
* Error bars with data labels
|
|
27
|
+
*
|
|
28
|
+
* @extends plotOptions.boxplot
|
|
29
|
+
* @excluding boostBlending, boostThreshold
|
|
30
|
+
* @product highcharts
|
|
31
|
+
* @requires highcharts-more
|
|
32
|
+
* @optionparent plotOptions.errorbar
|
|
33
|
+
*/
|
|
34
|
+
var ErrorBarSeriesDefaults = {
|
|
35
|
+
/**
|
|
36
|
+
* The main color of the bars. This can be overridden by
|
|
37
|
+
* [stemColor](#plotOptions.errorbar.stemColor) and
|
|
38
|
+
* [whiskerColor](#plotOptions.errorbar.whiskerColor) individually.
|
|
39
|
+
*
|
|
40
|
+
* @sample {highcharts} highcharts/plotoptions/error-bar-styling/
|
|
41
|
+
* Error bar styling
|
|
42
|
+
*
|
|
43
|
+
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
|
|
44
|
+
* @default #000000
|
|
45
|
+
* @since 3.0
|
|
46
|
+
* @product highcharts
|
|
47
|
+
*/
|
|
48
|
+
color: "#000000" /* Palette.neutralColor100 */,
|
|
49
|
+
grouping: false,
|
|
50
|
+
/**
|
|
51
|
+
* The parent series of the error bar. The default value links it to
|
|
52
|
+
* the previous series. Otherwise, use the id of the parent series.
|
|
53
|
+
*
|
|
54
|
+
* @since 3.0
|
|
55
|
+
* @product highcharts
|
|
56
|
+
*/
|
|
57
|
+
linkedTo: ':previous',
|
|
58
|
+
tooltip: {
|
|
59
|
+
pointFormat: '<span style="color:{point.color}">\u25CF</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'
|
|
60
|
+
},
|
|
61
|
+
/**
|
|
62
|
+
* The line width of the whiskers, the horizontal lines marking
|
|
63
|
+
* low and high values. When `null`, the general
|
|
64
|
+
* [lineWidth](#plotOptions.errorbar.lineWidth) applies.
|
|
65
|
+
*
|
|
66
|
+
* @sample {highcharts} highcharts/plotoptions/error-bar-styling/
|
|
67
|
+
* Error bar styling
|
|
68
|
+
*
|
|
69
|
+
* @type {number}
|
|
70
|
+
* @since 3.0
|
|
71
|
+
* @product highcharts
|
|
72
|
+
*/
|
|
73
|
+
whiskerWidth: null
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* A `errorbar` series. If the [type](#series.errorbar.type) option
|
|
77
|
+
* is not specified, it is inherited from [chart.type](#chart.type).
|
|
78
|
+
*
|
|
79
|
+
* @extends series,plotOptions.errorbar
|
|
80
|
+
* @excluding dataParser, dataURL, stack, stacking, boostThreshold,
|
|
81
|
+
* boostBlending
|
|
82
|
+
* @product highcharts
|
|
83
|
+
* @requires highcharts-more
|
|
84
|
+
* @apioption series.errorbar
|
|
85
|
+
*/
|
|
86
|
+
/**
|
|
87
|
+
* An array of data points for the series. For the `errorbar` series
|
|
88
|
+
* type, points can be given in the following ways:
|
|
89
|
+
*
|
|
90
|
+
* 1. An array of arrays with 3 or 2 values. In this case, the values correspond
|
|
91
|
+
* to `x,low,high`. If the first value is a string, it is applied as the name
|
|
92
|
+
* of the point, and the `x` value is inferred. The `x` value can also be
|
|
93
|
+
* omitted, in which case the inner arrays should be of length 2\. Then the
|
|
94
|
+
* `x` value is automatically calculated, either starting at 0 and
|
|
95
|
+
* incremented by 1, or from `pointStart` and `pointInterval` given in the
|
|
96
|
+
* series options.
|
|
97
|
+
* ```js
|
|
98
|
+
* data: [
|
|
99
|
+
* [0, 10, 2],
|
|
100
|
+
* [1, 1, 8],
|
|
101
|
+
* [2, 4, 5]
|
|
102
|
+
* ]
|
|
103
|
+
* ```
|
|
104
|
+
*
|
|
105
|
+
* 2. An array of objects with named values. The following snippet shows only a
|
|
106
|
+
* few settings, see the complete options set below. If the total number of
|
|
107
|
+
* data points exceeds the series'
|
|
108
|
+
* [turboThreshold](#series.errorbar.turboThreshold), this option is not
|
|
109
|
+
* available.
|
|
110
|
+
* ```js
|
|
111
|
+
* data: [{
|
|
112
|
+
* x: 1,
|
|
113
|
+
* low: 0,
|
|
114
|
+
* high: 0,
|
|
115
|
+
* name: "Point2",
|
|
116
|
+
* color: "#00FF00"
|
|
117
|
+
* }, {
|
|
118
|
+
* x: 1,
|
|
119
|
+
* low: 5,
|
|
120
|
+
* high: 5,
|
|
121
|
+
* name: "Point1",
|
|
122
|
+
* color: "#FF00FF"
|
|
123
|
+
* }]
|
|
124
|
+
* ```
|
|
125
|
+
*
|
|
126
|
+
* @sample {highcharts} highcharts/series/data-array-of-arrays/
|
|
127
|
+
* Arrays of numeric x and y
|
|
128
|
+
* @sample {highcharts} highcharts/series/data-array-of-arrays-datetime/
|
|
129
|
+
* Arrays of datetime x and y
|
|
130
|
+
* @sample {highcharts} highcharts/series/data-array-of-name-value/
|
|
131
|
+
* Arrays of point.name and y
|
|
132
|
+
* @sample {highcharts} highcharts/series/data-array-of-objects/
|
|
133
|
+
* Config objects
|
|
134
|
+
*
|
|
135
|
+
* @type {Array<Array<(number|string),number>|Array<(number|string),number,number>|*>}
|
|
136
|
+
* @extends series.arearange.data
|
|
137
|
+
* @excluding dataLabels, drilldown, marker, states
|
|
138
|
+
* @product highcharts
|
|
139
|
+
* @apioption series.errorbar.data
|
|
140
|
+
*/
|
|
141
|
+
''; // adds doclets above to transpiled file
|
|
142
|
+
/* *
|
|
143
|
+
*
|
|
144
|
+
* Default Export
|
|
145
|
+
*
|
|
146
|
+
* */
|
|
147
|
+
export default ErrorBarSeriesDefaults;
|
|
@@ -24,7 +24,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
24
24
|
};
|
|
25
25
|
})();
|
|
26
26
|
import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
|
|
27
|
-
var
|
|
27
|
+
var ColumnPoint = SeriesRegistry.seriesTypes.column.prototype.pointClass;
|
|
28
28
|
import U from '../../Core/Utilities.js';
|
|
29
29
|
var isNumber = U.isNumber;
|
|
30
30
|
/* *
|
|
@@ -51,7 +51,6 @@ var FlagsPoint = /** @class */ (function (_super) {
|
|
|
51
51
|
* Functions
|
|
52
52
|
*
|
|
53
53
|
* */
|
|
54
|
-
/* eslint-disable valid-jsdoc */
|
|
55
54
|
/**
|
|
56
55
|
* @private
|
|
57
56
|
*/
|
|
@@ -68,7 +67,7 @@ var FlagsPoint = /** @class */ (function (_super) {
|
|
|
68
67
|
return this.graphic && shape && shape !== this.graphic.symbolKey;
|
|
69
68
|
};
|
|
70
69
|
return FlagsPoint;
|
|
71
|
-
}(
|
|
70
|
+
}(ColumnPoint));
|
|
72
71
|
/* *
|
|
73
72
|
*
|
|
74
73
|
* Default Export
|
|
@@ -24,6 +24,8 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
24
24
|
};
|
|
25
25
|
})();
|
|
26
26
|
import FlagsPoint from './FlagsPoint.js';
|
|
27
|
+
import FlagsSeriesDefaults from './FlagsSeriesDefaults.js';
|
|
28
|
+
import FlagsSymbols from './FlagsSymbols.js';
|
|
27
29
|
import H from '../../Core/Globals.js';
|
|
28
30
|
var noop = H.noop;
|
|
29
31
|
import OnSeriesComposition from '../OnSeriesComposition.js';
|
|
@@ -34,7 +36,6 @@ var Series = SeriesRegistry.series, ColumnSeries = SeriesRegistry.seriesTypes.co
|
|
|
34
36
|
import SVGElement from '../../Core/Renderer/SVG/SVGElement.js';
|
|
35
37
|
import U from '../../Core/Utilities.js';
|
|
36
38
|
var addEvent = U.addEvent, defined = U.defined, extend = U.extend, merge = U.merge, objectEach = U.objectEach, wrap = U.wrap;
|
|
37
|
-
import './FlagsSymbols.js';
|
|
38
39
|
/* *
|
|
39
40
|
*
|
|
40
41
|
* Classes
|
|
@@ -67,14 +68,12 @@ var FlagsSeries = /** @class */ (function (_super) {
|
|
|
67
68
|
_this.options = void 0;
|
|
68
69
|
_this.points = void 0;
|
|
69
70
|
return _this;
|
|
70
|
-
/* eslint-enable valid-jsdoc */
|
|
71
71
|
}
|
|
72
72
|
/* *
|
|
73
73
|
*
|
|
74
74
|
* Functions
|
|
75
75
|
*
|
|
76
76
|
* */
|
|
77
|
-
/* eslint-disable valid-jsdoc */
|
|
78
77
|
/**
|
|
79
78
|
* Disable animation, but keep clipping (#8546).
|
|
80
79
|
* @private
|
|
@@ -89,7 +88,8 @@ var FlagsSeries = /** @class */ (function (_super) {
|
|
|
89
88
|
* @private
|
|
90
89
|
*/
|
|
91
90
|
FlagsSeries.prototype.drawPoints = function () {
|
|
92
|
-
var series = this, points = series.points, chart = series.chart, renderer = chart.renderer,
|
|
91
|
+
var series = this, points = series.points, chart = series.chart, renderer = chart.renderer, inverted = chart.inverted, options = series.options, optionsY = options.y, yAxis = series.yAxis, boxesMap = {}, boxes = [];
|
|
92
|
+
var plotX, plotY, shape, i, point, graphic, stackIndex, anchorY, attribs, outsideRight, centered;
|
|
93
93
|
i = points.length;
|
|
94
94
|
while (i--) {
|
|
95
95
|
point = points[i];
|
|
@@ -192,25 +192,26 @@ var FlagsSeries = /** @class */ (function (_super) {
|
|
|
192
192
|
// If necessary (for overlapping or long labels) distribute it
|
|
193
193
|
// depending on the label width or a hardcoded value, #16041.
|
|
194
194
|
distribute(boxes, inverted ? yAxis.len : this.xAxis.len, maxDistance_1);
|
|
195
|
-
points.
|
|
196
|
-
var
|
|
197
|
-
|
|
195
|
+
for (var _i = 0, points_1 = points; _i < points_1.length; _i++) {
|
|
196
|
+
var point_1 = points_1[_i];
|
|
197
|
+
var plotX_1 = point_1.plotX, graphic_1 = point_1.graphic, box = graphic_1 && boxesMap[plotX_1];
|
|
198
|
+
if (box && graphic_1) {
|
|
198
199
|
// Hide flag when its box position is not specified
|
|
199
200
|
// (#8573, #9299)
|
|
200
201
|
if (!defined(box.pos)) {
|
|
201
|
-
|
|
202
|
+
graphic_1.hide().isNew = true;
|
|
202
203
|
}
|
|
203
204
|
else {
|
|
204
|
-
|
|
205
|
+
graphic_1[graphic_1.isNew ? 'attr' : 'animate']({
|
|
205
206
|
x: box.pos + (box.align || 0) * box.size,
|
|
206
|
-
anchorX:
|
|
207
|
+
anchorX: point_1.anchorX
|
|
207
208
|
}).show().isNew = false;
|
|
208
209
|
}
|
|
209
210
|
}
|
|
210
|
-
}
|
|
211
|
+
}
|
|
211
212
|
}
|
|
212
213
|
// Can be a mix of SVG and HTML and we need events for both (#6303)
|
|
213
|
-
if (options.useHTML) {
|
|
214
|
+
if (options.useHTML && series.markerGroup) {
|
|
214
215
|
wrap(series.markerGroup, 'on', function (proceed) {
|
|
215
216
|
return SVGElement.prototype.on.apply(
|
|
216
217
|
// for HTML
|
|
@@ -229,12 +230,7 @@ var FlagsSeries = /** @class */ (function (_super) {
|
|
|
229
230
|
FlagsSeries.prototype.drawTracker = function () {
|
|
230
231
|
var series = this, points = series.points;
|
|
231
232
|
_super.prototype.drawTracker.call(this);
|
|
232
|
-
|
|
233
|
-
* Bring each stacked flag up on mouse over, this allows readability
|
|
234
|
-
* of vertically stacked elements as well as tight points on the x
|
|
235
|
-
* axis. #1924.
|
|
236
|
-
*/
|
|
237
|
-
points.forEach(function (point) {
|
|
233
|
+
var _loop_1 = function (point) {
|
|
238
234
|
var graphic = point.graphic;
|
|
239
235
|
if (graphic) {
|
|
240
236
|
if (point.unbindMouseOver) {
|
|
@@ -251,7 +247,8 @@ var FlagsSeries = /** @class */ (function (_super) {
|
|
|
251
247
|
point.raised = true;
|
|
252
248
|
}
|
|
253
249
|
// Revert other raised points
|
|
254
|
-
points.
|
|
250
|
+
for (var _i = 0, points_3 = points; _i < points_3.length; _i++) {
|
|
251
|
+
var otherPoint = points_3[_i];
|
|
255
252
|
if (otherPoint !== point &&
|
|
256
253
|
otherPoint.raised &&
|
|
257
254
|
otherPoint.graphic) {
|
|
@@ -260,17 +257,27 @@ var FlagsSeries = /** @class */ (function (_super) {
|
|
|
260
257
|
});
|
|
261
258
|
otherPoint.raised = false;
|
|
262
259
|
}
|
|
263
|
-
}
|
|
260
|
+
}
|
|
264
261
|
});
|
|
265
262
|
}
|
|
266
|
-
}
|
|
263
|
+
};
|
|
264
|
+
/* *
|
|
265
|
+
* Bring each stacked flag up on mouse over, this allows readability
|
|
266
|
+
* of vertically stacked elements as well as tight points on the x
|
|
267
|
+
* axis. #1924.
|
|
268
|
+
*/
|
|
269
|
+
for (var _i = 0, points_2 = points; _i < points_2.length; _i++) {
|
|
270
|
+
var point = points_2[_i];
|
|
271
|
+
_loop_1(point);
|
|
272
|
+
}
|
|
267
273
|
};
|
|
268
274
|
/**
|
|
269
275
|
* Get presentational attributes
|
|
270
276
|
* @private
|
|
271
277
|
*/
|
|
272
278
|
FlagsSeries.prototype.pointAttribs = function (point, state) {
|
|
273
|
-
var options = this.options, color = (point && point.color) || this.color
|
|
279
|
+
var options = this.options, color = (point && point.color) || this.color;
|
|
280
|
+
var lineColor = options.lineColor, lineWidth = (point && point.lineWidth), fill = (point && point.fillColor) || options.fillColor;
|
|
274
281
|
if (state) {
|
|
275
282
|
fill = options.states[state].fillColor;
|
|
276
283
|
lineColor = options.states[state].lineColor;
|
|
@@ -293,215 +300,8 @@ var FlagsSeries = /** @class */ (function (_super) {
|
|
|
293
300
|
this.markerGroup.clip(this.chart.sharedClips[this.sharedClipKey]);
|
|
294
301
|
}
|
|
295
302
|
};
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
* timeline, or attached to a specific series.
|
|
299
|
-
*
|
|
300
|
-
* @sample stock/demo/flags-general/
|
|
301
|
-
* Flags on a line series
|
|
302
|
-
*
|
|
303
|
-
* @extends plotOptions.column
|
|
304
|
-
* @excluding animation, borderColor, borderRadius, borderWidth,
|
|
305
|
-
* colorByPoint, dataGrouping, pointPadding, pointWidth,
|
|
306
|
-
* turboThreshold
|
|
307
|
-
* @product highstock
|
|
308
|
-
* @optionparent plotOptions.flags
|
|
309
|
-
*/
|
|
310
|
-
FlagsSeries.defaultOptions = merge(ColumnSeries.defaultOptions, {
|
|
311
|
-
/**
|
|
312
|
-
* In case the flag is placed on a series, on what point key to place
|
|
313
|
-
* it. Line and columns have one key, `y`. In range or OHLC-type series,
|
|
314
|
-
* however, the flag can optionally be placed on the `open`, `high`,
|
|
315
|
-
* `low` or `close` key.
|
|
316
|
-
*
|
|
317
|
-
* @sample {highstock} stock/plotoptions/flags-onkey/
|
|
318
|
-
* Range series, flag on high
|
|
319
|
-
*
|
|
320
|
-
* @type {string}
|
|
321
|
-
* @default y
|
|
322
|
-
* @since 4.2.2
|
|
323
|
-
* @product highstock
|
|
324
|
-
* @validvalue ["y", "open", "high", "low", "close"]
|
|
325
|
-
* @apioption plotOptions.flags.onKey
|
|
326
|
-
*/
|
|
327
|
-
/**
|
|
328
|
-
* The id of the series that the flags should be drawn on. If no id
|
|
329
|
-
* is given, the flags are drawn on the x axis.
|
|
330
|
-
*
|
|
331
|
-
* @sample {highstock} stock/plotoptions/flags/
|
|
332
|
-
* Flags on series and on x axis
|
|
333
|
-
*
|
|
334
|
-
* @type {string}
|
|
335
|
-
* @product highstock
|
|
336
|
-
* @apioption plotOptions.flags.onSeries
|
|
337
|
-
*/
|
|
338
|
-
pointRange: 0,
|
|
339
|
-
/**
|
|
340
|
-
* Whether the flags are allowed to overlap sideways. If `false`, the
|
|
341
|
-
* flags are moved sideways using an algorithm that seeks to place every
|
|
342
|
-
* flag as close as possible to its original position.
|
|
343
|
-
*
|
|
344
|
-
* @sample {highstock} stock/plotoptions/flags-allowoverlapx
|
|
345
|
-
* Allow sideways overlap
|
|
346
|
-
*
|
|
347
|
-
* @since 6.0.4
|
|
348
|
-
*/
|
|
349
|
-
allowOverlapX: false,
|
|
350
|
-
/**
|
|
351
|
-
* The shape of the marker. Can be one of "flag", "circlepin",
|
|
352
|
-
* "squarepin", or an image of the format `url(/path-to-image.jpg)`.
|
|
353
|
-
* Individual shapes can also be set for each point.
|
|
354
|
-
*
|
|
355
|
-
* @sample {highstock} stock/plotoptions/flags/
|
|
356
|
-
* Different shapes
|
|
357
|
-
*
|
|
358
|
-
* @type {Highcharts.FlagsShapeValue}
|
|
359
|
-
* @product highstock
|
|
360
|
-
*/
|
|
361
|
-
shape: 'flag',
|
|
362
|
-
/**
|
|
363
|
-
* When multiple flags in the same series fall on the same value, this
|
|
364
|
-
* number determines the vertical offset between them.
|
|
365
|
-
*
|
|
366
|
-
* @sample {highstock} stock/plotoptions/flags-stackdistance/
|
|
367
|
-
* A greater stack distance
|
|
368
|
-
*
|
|
369
|
-
* @product highstock
|
|
370
|
-
*/
|
|
371
|
-
stackDistance: 12,
|
|
372
|
-
/**
|
|
373
|
-
* Text alignment for the text inside the flag.
|
|
374
|
-
*
|
|
375
|
-
* @since 5.0.0
|
|
376
|
-
* @product highstock
|
|
377
|
-
* @validvalue ["left", "center", "right"]
|
|
378
|
-
*/
|
|
379
|
-
textAlign: 'center',
|
|
380
|
-
/**
|
|
381
|
-
* Specific tooltip options for flag series. Flag series tooltips are
|
|
382
|
-
* different from most other types in that a flag doesn't have a data
|
|
383
|
-
* value, so the tooltip rather displays the `text` option for each
|
|
384
|
-
* point.
|
|
385
|
-
*
|
|
386
|
-
* @extends plotOptions.series.tooltip
|
|
387
|
-
* @excluding changeDecimals, valueDecimals, valuePrefix, valueSuffix
|
|
388
|
-
* @product highstock
|
|
389
|
-
*/
|
|
390
|
-
tooltip: {
|
|
391
|
-
pointFormat: '{point.text}'
|
|
392
|
-
},
|
|
393
|
-
threshold: null,
|
|
394
|
-
/**
|
|
395
|
-
* The text to display on each flag. This can be defined on series
|
|
396
|
-
* level, or individually for each point. Defaults to `"A"`.
|
|
397
|
-
*
|
|
398
|
-
* @type {string}
|
|
399
|
-
* @default A
|
|
400
|
-
* @product highstock
|
|
401
|
-
* @apioption plotOptions.flags.title
|
|
402
|
-
*/
|
|
403
|
-
/**
|
|
404
|
-
* The y position of the top left corner of the flag relative to either
|
|
405
|
-
* the series (if onSeries is defined), or the x axis. Defaults to
|
|
406
|
-
* `-30`.
|
|
407
|
-
*
|
|
408
|
-
* @product highstock
|
|
409
|
-
*/
|
|
410
|
-
y: -30,
|
|
411
|
-
/**
|
|
412
|
-
* Whether to use HTML to render the flag texts. Using HTML allows for
|
|
413
|
-
* advanced formatting, images and reliable bi-directional text
|
|
414
|
-
* rendering. Note that exported images won't respect the HTML, and that
|
|
415
|
-
* HTML won't respect Z-index settings.
|
|
416
|
-
*
|
|
417
|
-
* @type {boolean}
|
|
418
|
-
* @default false
|
|
419
|
-
* @since 1.3
|
|
420
|
-
* @product highstock
|
|
421
|
-
* @apioption plotOptions.flags.useHTML
|
|
422
|
-
*/
|
|
423
|
-
/**
|
|
424
|
-
* Fixed width of the flag's shape. By default, width is autocalculated
|
|
425
|
-
* according to the flag's title.
|
|
426
|
-
*
|
|
427
|
-
* @sample {highstock} stock/demo/flags-shapes/
|
|
428
|
-
* Flags with fixed width
|
|
429
|
-
*
|
|
430
|
-
* @type {number}
|
|
431
|
-
* @product highstock
|
|
432
|
-
* @apioption plotOptions.flags.width
|
|
433
|
-
*/
|
|
434
|
-
/**
|
|
435
|
-
* Fixed height of the flag's shape. By default, height is
|
|
436
|
-
* autocalculated according to the flag's title.
|
|
437
|
-
*
|
|
438
|
-
* @type {number}
|
|
439
|
-
* @product highstock
|
|
440
|
-
* @apioption plotOptions.flags.height
|
|
441
|
-
*/
|
|
442
|
-
/**
|
|
443
|
-
* The fill color for the flags.
|
|
444
|
-
*
|
|
445
|
-
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
|
|
446
|
-
* @product highstock
|
|
447
|
-
*/
|
|
448
|
-
fillColor: "#ffffff" /* Palette.backgroundColor */,
|
|
449
|
-
/**
|
|
450
|
-
* The color of the line/border of the flag.
|
|
451
|
-
*
|
|
452
|
-
* In styled mode, the stroke is set in the
|
|
453
|
-
* `.highcharts-flag-series.highcharts-point` rule.
|
|
454
|
-
*
|
|
455
|
-
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
|
|
456
|
-
* @default #000000
|
|
457
|
-
* @product highstock
|
|
458
|
-
* @apioption plotOptions.flags.lineColor
|
|
459
|
-
*/
|
|
460
|
-
/**
|
|
461
|
-
* The pixel width of the flag's line/border.
|
|
462
|
-
*
|
|
463
|
-
* @product highstock
|
|
464
|
-
*/
|
|
465
|
-
lineWidth: 1,
|
|
466
|
-
states: {
|
|
467
|
-
/**
|
|
468
|
-
* @extends plotOptions.column.states.hover
|
|
469
|
-
* @product highstock
|
|
470
|
-
*/
|
|
471
|
-
hover: {
|
|
472
|
-
/**
|
|
473
|
-
* The color of the line/border of the flag.
|
|
474
|
-
*
|
|
475
|
-
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
|
|
476
|
-
* @product highstock
|
|
477
|
-
*/
|
|
478
|
-
lineColor: "#000000" /* Palette.neutralColor100 */,
|
|
479
|
-
/**
|
|
480
|
-
* The fill or background color of the flag.
|
|
481
|
-
*
|
|
482
|
-
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
|
|
483
|
-
* @product highstock
|
|
484
|
-
*/
|
|
485
|
-
fillColor: "#ccd6eb" /* Palette.highlightColor20 */
|
|
486
|
-
}
|
|
487
|
-
},
|
|
488
|
-
/**
|
|
489
|
-
* The text styles of the flag.
|
|
490
|
-
*
|
|
491
|
-
* In styled mode, the styles are set in the
|
|
492
|
-
* `.highcharts-flag-series .highcharts-point` rule.
|
|
493
|
-
*
|
|
494
|
-
* @type {Highcharts.CSSObject}
|
|
495
|
-
* @default {"fontSize": "11px", "fontWeight": "bold"}
|
|
496
|
-
* @product highstock
|
|
497
|
-
*/
|
|
498
|
-
style: {
|
|
499
|
-
/** @ignore-option */
|
|
500
|
-
fontSize: '11px',
|
|
501
|
-
/** @ignore-option */
|
|
502
|
-
fontWeight: 'bold'
|
|
503
|
-
}
|
|
504
|
-
});
|
|
303
|
+
FlagsSeries.compose = FlagsSymbols.compose;
|
|
304
|
+
FlagsSeries.defaultOptions = merge(ColumnSeries.defaultOptions, FlagsSeriesDefaults);
|
|
505
305
|
return FlagsSeries;
|
|
506
306
|
}(ColumnSeries));
|
|
507
307
|
OnSeriesComposition.compose(FlagsSeries);
|
|
@@ -542,70 +342,3 @@ export default FlagsSeries;
|
|
|
542
342
|
* @typedef {"circlepin"|"flag"|"squarepin"} Highcharts.FlagsShapeValue
|
|
543
343
|
*/
|
|
544
344
|
''; // detach doclets above
|
|
545
|
-
/* *
|
|
546
|
-
*
|
|
547
|
-
* API Option
|
|
548
|
-
*
|
|
549
|
-
* */
|
|
550
|
-
/**
|
|
551
|
-
* A `flags` series. If the [type](#series.flags.type) option is not
|
|
552
|
-
* specified, it is inherited from [chart.type](#chart.type).
|
|
553
|
-
*
|
|
554
|
-
* @extends series,plotOptions.flags
|
|
555
|
-
* @excluding animation, borderColor, borderRadius, borderWidth, colorByPoint,
|
|
556
|
-
* connectNulls, dashStyle, dataGrouping, dataParser, dataURL,
|
|
557
|
-
* gapSize, gapUnit, linecap, lineWidth, marker, pointPadding,
|
|
558
|
-
* pointWidth, step, turboThreshold, useOhlcData
|
|
559
|
-
* @product highstock
|
|
560
|
-
* @apioption series.flags
|
|
561
|
-
*/
|
|
562
|
-
/**
|
|
563
|
-
* An array of data points for the series. For the `flags` series type,
|
|
564
|
-
* points can be given in the following ways:
|
|
565
|
-
*
|
|
566
|
-
* 1. An array of objects with named values. The following snippet shows only a
|
|
567
|
-
* few settings, see the complete options set below. If the total number of
|
|
568
|
-
* data points exceeds the series'
|
|
569
|
-
* [turboThreshold](#series.flags.turboThreshold), this option is not
|
|
570
|
-
* available.
|
|
571
|
-
* ```js
|
|
572
|
-
* data: [{
|
|
573
|
-
* x: 1,
|
|
574
|
-
* title: "A",
|
|
575
|
-
* text: "First event"
|
|
576
|
-
* }, {
|
|
577
|
-
* x: 1,
|
|
578
|
-
* title: "B",
|
|
579
|
-
* text: "Second event"
|
|
580
|
-
* }]
|
|
581
|
-
* ```
|
|
582
|
-
*
|
|
583
|
-
* @type {Array<*>}
|
|
584
|
-
* @extends series.line.data
|
|
585
|
-
* @excluding dataLabels, marker, name, y
|
|
586
|
-
* @product highstock
|
|
587
|
-
* @apioption series.flags.data
|
|
588
|
-
*/
|
|
589
|
-
/**
|
|
590
|
-
* The fill color of an individual flag. By default it inherits from
|
|
591
|
-
* the series color.
|
|
592
|
-
*
|
|
593
|
-
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
|
|
594
|
-
* @product highstock
|
|
595
|
-
* @apioption series.flags.data.fillColor
|
|
596
|
-
*/
|
|
597
|
-
/**
|
|
598
|
-
* The longer text to be shown in the flag's tooltip.
|
|
599
|
-
*
|
|
600
|
-
* @type {string}
|
|
601
|
-
* @product highstock
|
|
602
|
-
* @apioption series.flags.data.text
|
|
603
|
-
*/
|
|
604
|
-
/**
|
|
605
|
-
* The short text to be shown on the flag.
|
|
606
|
-
*
|
|
607
|
-
* @type {string}
|
|
608
|
-
* @product highstock
|
|
609
|
-
* @apioption series.flags.data.title
|
|
610
|
-
*/
|
|
611
|
-
''; // adds doclets above to transpiled file
|