highcharts 6.1.1 → 6.2.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/highcharts.css +29 -0
- package/css/highcharts.scss +25 -1
- package/css/themes/dark-unica.css +29 -0
- package/css/themes/grid-light.css +29 -0
- package/css/themes/sand-signika.css +29 -0
- package/es-modules/indicators/accumulation-distribution.src.js +1 -1
- package/es-modules/indicators/atr.src.js +1 -1
- package/es-modules/indicators/bollinger-bands.src.js +2 -2
- package/es-modules/indicators/cci.src.js +1 -1
- package/es-modules/indicators/cmf.src.js +1 -1
- package/es-modules/indicators/ema.src.js +1 -1
- package/es-modules/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/es-modules/indicators/indicators.src.js +29 -14
- package/es-modules/indicators/macd.src.js +4 -4
- package/es-modules/indicators/mfi.src.js +1 -1
- package/es-modules/indicators/momentum.src.js +2 -2
- package/es-modules/indicators/pivot-points.src.js +7 -2
- package/es-modules/indicators/price-envelopes.src.js +2 -2
- package/es-modules/indicators/psar.src.js +1 -1
- package/es-modules/indicators/roc.src.js +1 -1
- package/es-modules/indicators/rsi.src.js +1 -1
- package/es-modules/indicators/stochastic.src.js +9 -7
- package/es-modules/indicators/volume-by-price.src.js +1 -1
- package/es-modules/indicators/vwap.src.js +1 -1
- package/es-modules/indicators/wma.src.js +1 -1
- package/es-modules/indicators/zigzag.src.js +1 -1
- package/es-modules/masters/highcharts-gantt.src.js +11 -0
- package/es-modules/masters/modules/annotations.src.js +1 -1
- package/es-modules/masters/modules/arrow-symbols.src.js +12 -0
- package/es-modules/masters/modules/broken-axis.src.js +1 -1
- package/es-modules/masters/modules/current-date-indicator.src.js +12 -0
- package/es-modules/masters/modules/data.src.js +1 -1
- package/es-modules/masters/modules/draggable-points.src.js +9 -0
- 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/funnel.src.js +1 -1
- package/es-modules/masters/modules/gantt.src.js +2 -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/item-series.src.js +1 -1
- package/es-modules/masters/modules/map.src.js +1 -1
- package/es-modules/masters/modules/overlapping-datalabels.src.js +1 -1
- package/es-modules/masters/modules/pathfinder.src.js +12 -0
- 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/solid-gauge.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/treegrid.src.js +12 -0
- 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/windbarb.src.js +1 -1
- package/es-modules/masters/modules/xrange.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/sand-signika.src.js +1 -1
- package/es-modules/masters/themes/skies.src.js +1 -1
- package/es-modules/mixins/centered-series.js +36 -5
- package/es-modules/mixins/on-series.js +1 -1
- package/es-modules/mixins/polygon.js +4 -4
- package/es-modules/modules/annotations.src.js +2 -2
- package/es-modules/modules/boost-canvas.src.js +19 -8
- package/es-modules/modules/boost.src.js +300 -137
- package/es-modules/modules/broken-axis.src.js +169 -134
- package/es-modules/modules/bullet.src.js +2 -2
- package/es-modules/modules/data.src.js +8 -6
- package/es-modules/modules/draggable-points.src.js +2257 -0
- package/es-modules/modules/drilldown.src.js +4 -2
- package/es-modules/modules/export-data.src.js +11 -1
- package/es-modules/modules/exporting.src.js +62 -36
- package/es-modules/modules/funnel.src.js +5 -5
- package/es-modules/modules/histogram.src.js +30 -28
- package/es-modules/modules/item-series.src.js +36 -11
- package/es-modules/modules/keyboard-navigation.src.js +81 -44
- package/es-modules/modules/no-data-to-display.src.js +5 -5
- package/es-modules/modules/oldie.src.js +14 -9
- package/es-modules/modules/overlapping-datalabels.src.js +45 -21
- package/es-modules/modules/parallel-coordinates.src.js +4 -3
- package/es-modules/modules/pareto.src.js +1 -1
- package/es-modules/modules/sankey.src.js +28 -10
- package/es-modules/modules/series-label.src.js +6 -6
- package/es-modules/modules/solid-gauge.src.js +10 -7
- package/es-modules/modules/static-scale.src.js +67 -28
- package/es-modules/modules/streamgraph.src.js +4 -4
- package/es-modules/modules/sunburst.src.js +4 -4
- package/es-modules/modules/tilemap.src.js +231 -134
- package/es-modules/modules/treemap.src.js +30 -27
- package/es-modules/modules/variable-pie.src.js +3 -3
- package/es-modules/modules/variwide.src.js +36 -24
- package/es-modules/modules/vector.src.js +98 -28
- package/es-modules/modules/windbarb.src.js +4 -4
- package/es-modules/modules/wordcloud.src.js +133 -48
- package/es-modules/modules/xrange.src.js +258 -78
- package/es-modules/parts/AreaSeries.js +83 -50
- package/es-modules/parts/AreaSplineSeries.js +66 -29
- package/es-modules/parts/Axis.js +2184 -745
- package/es-modules/parts/BarSeries.js +70 -53
- package/es-modules/parts/CandlestickSeries.js +20 -10
- package/es-modules/parts/Chart.js +349 -157
- package/es-modules/parts/Color.js +74 -25
- package/es-modules/parts/ColumnSeries.js +274 -147
- package/es-modules/parts/DataGrouping.js +36 -3
- package/es-modules/parts/DataLabels.js +318 -144
- package/es-modules/parts/DateTimeAxis.js +27 -5
- package/es-modules/parts/Dynamics.js +236 -144
- package/es-modules/parts/FlagsSeries.js +49 -7
- package/es-modules/parts/Globals.js +4 -3
- package/es-modules/parts/Html.js +82 -16
- package/es-modules/parts/Interaction.js +198 -65
- package/es-modules/parts/Legend.js +181 -31
- package/es-modules/parts/LogarithmicAxis.js +36 -3
- package/es-modules/parts/MSPointer.js +31 -4
- package/es-modules/parts/Navigator.js +479 -187
- package/es-modules/parts/OHLCSeries.js +11 -5
- package/es-modules/parts/Options.js +1052 -686
- package/es-modules/parts/OrdinalAxis.js +20 -6
- package/es-modules/parts/PieSeries.js +258 -142
- package/es-modules/parts/PlotBandSeries.experimental.js +2 -2
- package/es-modules/parts/PlotLineOrBand.js +671 -35
- package/es-modules/parts/Point.js +189 -73
- package/es-modules/parts/Pointer.js +263 -62
- package/es-modules/parts/RangeSelector.js +601 -91
- package/es-modules/parts/Responsive.js +82 -36
- package/es-modules/parts/ScatterSeries.js +59 -27
- package/es-modules/parts/ScrollablePlotArea.js +30 -9
- package/es-modules/parts/Scrollbar.js +284 -113
- package/es-modules/parts/Series.js +1105 -836
- package/es-modules/parts/SplineSeries.js +53 -31
- package/es-modules/parts/Stacking.js +108 -7
- package/es-modules/parts/StockChart.js +26 -8
- package/es-modules/parts/SvgRenderer.js +1251 -613
- package/es-modules/parts/Tick.js +164 -30
- package/es-modules/parts/Time.js +171 -71
- package/es-modules/parts/Tooltip.js +271 -49
- package/es-modules/parts/TouchPointer.js +70 -3
- package/es-modules/parts/Utilities.js +1024 -429
- package/es-modules/parts-3d/Axis.js +4 -3
- package/es-modules/parts-3d/Chart.js +8 -9
- package/es-modules/parts-3d/Column.js +1 -1
- package/es-modules/parts-3d/Math.js +1 -1
- package/es-modules/parts-3d/Pie.js +1 -1
- package/es-modules/parts-3d/SVGRenderer.js +13 -10
- package/es-modules/parts-3d/Scatter.js +4 -4
- package/es-modules/parts-3d/Series.js +1 -1
- package/es-modules/parts-3d/VMLRenderer.js +1 -1
- package/es-modules/parts-gantt/ArrowSymbols.js +110 -0
- package/es-modules/parts-gantt/CurrentDateIndicator.js +92 -0
- package/es-modules/parts-gantt/GanttChart.js +111 -0
- package/es-modules/parts-gantt/GanttSeries.js +376 -0
- package/es-modules/parts-gantt/GridAxis.js +965 -0
- package/es-modules/parts-gantt/Pathfinder.js +1247 -0
- package/es-modules/parts-gantt/PathfinderAlgorithms.js +746 -0
- package/es-modules/parts-gantt/Tree.js +146 -0
- package/es-modules/parts-gantt/TreeGrid.js +917 -0
- package/es-modules/parts-map/ColorAxis.js +4 -5
- package/es-modules/parts-map/ColorSeriesMixin.js +3 -1
- package/es-modules/parts-map/GeoJSON.js +1 -1
- package/es-modules/parts-map/HeatmapSeries.js +126 -55
- package/es-modules/parts-map/Map.js +144 -51
- package/es-modules/parts-map/MapAxis.js +1 -1
- package/es-modules/parts-map/MapBubbleSeries.js +6 -5
- package/es-modules/parts-map/MapLineSeries.js +4 -4
- package/es-modules/parts-map/MapNavigation.js +50 -12
- package/es-modules/parts-map/MapPointSeries.js +3 -3
- package/es-modules/parts-map/MapPointer.js +1 -1
- package/es-modules/parts-map/MapSeries.js +7 -7
- package/es-modules/parts-more/AreaRangeSeries.js +82 -40
- package/es-modules/parts-more/AreaSplineRangeSeries.js +3 -3
- package/es-modules/parts-more/BoxPlotSeries.js +3 -3
- package/es-modules/parts-more/BubbleSeries.js +9 -4
- package/es-modules/parts-more/ColumnRangeSeries.js +3 -3
- package/es-modules/parts-more/ErrorBarSeries.js +6 -4
- package/es-modules/parts-more/GaugeSeries.js +3 -3
- package/es-modules/parts-more/Pane.js +3 -2
- package/es-modules/parts-more/Polar.js +1 -1
- package/es-modules/parts-more/PolygonSeries.js +3 -3
- package/es-modules/parts-more/RadialAxis.js +5 -4
- package/es-modules/parts-more/WaterfallSeries.js +9 -4
- package/es-modules/supplemental.docs.js +0 -1955
- package/es-modules/themes/dark-blue.js +1 -1
- package/es-modules/themes/dark-green.js +1 -1
- package/es-modules/themes/dark-unica.js +1 -1
- package/es-modules/themes/gray.js +1 -1
- package/es-modules/themes/grid-light.js +1 -1
- package/es-modules/themes/grid.js +1 -1
- package/es-modules/themes/sand-signika.js +1 -1
- package/es-modules/themes/skies.js +1 -1
- package/highcharts-3d.js +77 -75
- package/highcharts-3d.js.map +1 -8
- package/highcharts-3d.src.js +39 -32
- package/highcharts-gantt.js +503 -0
- package/highcharts-gantt.js.map +1 -0
- package/highcharts-gantt.src.js +49289 -0
- package/highcharts-more.js +66 -64
- package/highcharts-more.js.map +1 -8
- package/highcharts-more.src.js +135 -75
- package/highcharts.js +413 -403
- package/highcharts.js.map +1 -8
- package/highcharts.src.js +11114 -4781
- package/highmaps.js +442 -433
- package/highmaps.js.map +1 -8
- package/highmaps.src.js +10740 -4598
- package/highstock.js +553 -540
- package/highstock.js.map +1 -8
- package/highstock.src.js +12807 -5343
- package/indicators/accumulation-distribution.js +4 -3
- package/indicators/accumulation-distribution.js.map +1 -8
- package/indicators/accumulation-distribution.src.js +6 -2
- package/indicators/atr.js +4 -3
- package/indicators/atr.js.map +1 -8
- package/indicators/atr.src.js +6 -2
- package/indicators/bollinger-bands.js +7 -6
- package/indicators/bollinger-bands.js.map +1 -8
- package/indicators/bollinger-bands.src.js +7 -3
- package/indicators/cci.js +4 -3
- package/indicators/cci.js.map +1 -8
- package/indicators/cci.src.js +6 -2
- package/indicators/cmf.js +5 -4
- package/indicators/cmf.js.map +1 -8
- package/indicators/cmf.src.js +6 -2
- package/indicators/ema.js +4 -3
- package/indicators/ema.js.map +1 -8
- package/indicators/ema.src.js +6 -2
- package/indicators/ichimoku-kinko-hyo.js +10 -9
- package/indicators/ichimoku-kinko-hyo.js.map +1 -8
- package/indicators/ichimoku-kinko-hyo.src.js +6 -2
- package/indicators/indicators.js +6 -5
- package/indicators/indicators.js.map +1 -8
- package/indicators/indicators.src.js +34 -15
- package/indicators/macd.js +11 -10
- package/indicators/macd.js.map +1 -8
- package/indicators/macd.src.js +10 -6
- package/indicators/mfi.js +5 -3
- package/indicators/mfi.js.map +1 -8
- package/indicators/mfi.src.js +6 -2
- package/indicators/momentum.js +4 -3
- package/indicators/momentum.js.map +1 -8
- package/indicators/momentum.src.js +7 -3
- package/indicators/pivot-points.js +8 -7
- package/indicators/pivot-points.js.map +1 -8
- package/indicators/pivot-points.src.js +12 -3
- package/indicators/price-envelopes.js +7 -6
- package/indicators/price-envelopes.js.map +1 -8
- package/indicators/price-envelopes.src.js +7 -3
- package/indicators/psar.js +5 -4
- package/indicators/psar.js.map +1 -8
- package/indicators/psar.src.js +6 -2
- package/indicators/roc.js +4 -3
- package/indicators/roc.js.map +1 -8
- package/indicators/roc.src.js +6 -2
- package/indicators/rsi.js +4 -3
- package/indicators/rsi.js.map +1 -8
- package/indicators/rsi.src.js +6 -2
- package/indicators/stochastic.js +7 -5
- package/indicators/stochastic.js.map +1 -8
- package/indicators/stochastic.src.js +14 -8
- package/indicators/volume-by-price.js +13 -12
- package/indicators/volume-by-price.js.map +1 -8
- package/indicators/volume-by-price.src.js +6 -2
- package/indicators/vwap.js +4 -3
- package/indicators/vwap.js.map +1 -8
- package/indicators/vwap.src.js +6 -2
- package/indicators/wma.js +4 -3
- package/indicators/wma.js.map +1 -8
- package/indicators/wma.src.js +6 -2
- package/indicators/zigzag.js +5 -3
- package/indicators/zigzag.js.map +1 -8
- package/indicators/zigzag.src.js +6 -2
- package/js/es-modules/indicators/accumulation-distribution.src.js +1 -1
- package/js/es-modules/indicators/atr.src.js +1 -1
- package/js/es-modules/indicators/bollinger-bands.src.js +2 -2
- package/js/es-modules/indicators/cci.src.js +1 -1
- package/js/es-modules/indicators/cmf.src.js +1 -1
- package/js/es-modules/indicators/ema.src.js +1 -1
- package/js/es-modules/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/js/es-modules/indicators/indicators.src.js +29 -14
- package/js/es-modules/indicators/macd.src.js +4 -4
- package/js/es-modules/indicators/mfi.src.js +1 -1
- package/js/es-modules/indicators/momentum.src.js +2 -2
- package/js/es-modules/indicators/pivot-points.src.js +7 -2
- package/js/es-modules/indicators/price-envelopes.src.js +2 -2
- package/js/es-modules/indicators/psar.src.js +1 -1
- package/js/es-modules/indicators/roc.src.js +1 -1
- package/js/es-modules/indicators/rsi.src.js +1 -1
- package/js/es-modules/indicators/stochastic.src.js +9 -7
- package/js/es-modules/indicators/volume-by-price.src.js +1 -1
- package/js/es-modules/indicators/vwap.src.js +1 -1
- package/js/es-modules/indicators/wma.src.js +1 -1
- package/js/es-modules/indicators/zigzag.src.js +1 -1
- package/js/es-modules/masters/highcharts-gantt.src.js +11 -0
- package/js/es-modules/masters/modules/annotations.src.js +1 -1
- package/js/es-modules/masters/modules/arrow-symbols.src.js +12 -0
- package/js/es-modules/masters/modules/broken-axis.src.js +1 -1
- package/js/es-modules/masters/modules/current-date-indicator.src.js +12 -0
- package/js/es-modules/masters/modules/data.src.js +1 -1
- package/js/es-modules/masters/modules/draggable-points.src.js +9 -0
- package/js/es-modules/masters/modules/export-data.src.js +1 -1
- package/js/es-modules/masters/modules/exporting.src.js +1 -1
- package/js/es-modules/masters/modules/funnel.src.js +1 -1
- package/js/es-modules/masters/modules/gantt.src.js +2 -1
- package/js/es-modules/masters/modules/grid-axis.src.js +1 -1
- package/js/es-modules/masters/modules/heatmap.src.js +1 -1
- package/js/es-modules/masters/modules/item-series.src.js +1 -1
- package/js/es-modules/masters/modules/map.src.js +1 -1
- package/js/es-modules/masters/modules/overlapping-datalabels.src.js +1 -1
- package/js/es-modules/masters/modules/pathfinder.src.js +12 -0
- package/js/es-modules/masters/modules/sankey.src.js +1 -1
- package/js/es-modules/masters/modules/series-label.src.js +1 -1
- package/js/es-modules/masters/modules/solid-gauge.src.js +1 -1
- package/js/es-modules/masters/modules/stock.src.js +1 -1
- package/js/es-modules/masters/modules/streamgraph.src.js +1 -1
- package/js/es-modules/masters/modules/treegrid.src.js +12 -0
- package/js/es-modules/masters/modules/variwide.src.js +1 -1
- package/js/es-modules/masters/modules/vector.src.js +1 -1
- package/js/es-modules/masters/modules/windbarb.src.js +1 -1
- package/js/es-modules/masters/modules/xrange.src.js +1 -1
- package/js/es-modules/masters/themes/dark-blue.src.js +1 -1
- package/js/es-modules/masters/themes/dark-green.src.js +1 -1
- package/js/es-modules/masters/themes/dark-unica.src.js +1 -1
- package/js/es-modules/masters/themes/gray.src.js +1 -1
- package/js/es-modules/masters/themes/grid-light.src.js +1 -1
- package/js/es-modules/masters/themes/grid.src.js +1 -1
- package/js/es-modules/masters/themes/sand-signika.src.js +1 -1
- package/js/es-modules/masters/themes/skies.src.js +1 -1
- package/js/es-modules/mixins/centered-series.js +36 -5
- package/js/es-modules/mixins/on-series.js +1 -1
- package/js/es-modules/mixins/polygon.js +4 -4
- package/js/es-modules/modules/annotations.src.js +2 -2
- package/js/es-modules/modules/boost-canvas.src.js +19 -8
- package/js/es-modules/modules/boost.src.js +300 -137
- package/js/es-modules/modules/broken-axis.src.js +169 -134
- package/js/es-modules/modules/bullet.src.js +2 -2
- package/js/es-modules/modules/data.src.js +8 -6
- package/js/es-modules/modules/draggable-points.src.js +2257 -0
- package/js/es-modules/modules/drilldown.src.js +4 -2
- package/js/es-modules/modules/export-data.src.js +11 -1
- package/js/es-modules/modules/exporting.src.js +62 -36
- package/js/es-modules/modules/funnel.src.js +5 -5
- package/js/es-modules/modules/histogram.src.js +30 -28
- package/js/es-modules/modules/item-series.src.js +36 -11
- package/js/es-modules/modules/keyboard-navigation.src.js +81 -44
- package/js/es-modules/modules/no-data-to-display.src.js +5 -5
- package/js/es-modules/modules/oldie.src.js +14 -9
- package/js/es-modules/modules/overlapping-datalabels.src.js +45 -21
- package/js/es-modules/modules/parallel-coordinates.src.js +4 -3
- package/js/es-modules/modules/pareto.src.js +1 -1
- package/js/es-modules/modules/sankey.src.js +23 -7
- package/js/es-modules/modules/series-label.src.js +6 -6
- package/js/es-modules/modules/solid-gauge.src.js +8 -5
- package/js/es-modules/modules/static-scale.src.js +67 -28
- package/js/es-modules/modules/streamgraph.src.js +4 -4
- package/js/es-modules/modules/sunburst.src.js +4 -4
- package/js/es-modules/modules/tilemap.src.js +231 -134
- package/js/es-modules/modules/treemap.src.js +29 -26
- package/js/es-modules/modules/variable-pie.src.js +3 -3
- package/js/es-modules/modules/variwide.src.js +36 -24
- package/js/es-modules/modules/vector.src.js +98 -28
- package/js/es-modules/modules/windbarb.src.js +4 -4
- package/js/es-modules/modules/wordcloud.src.js +133 -48
- package/js/es-modules/modules/xrange.src.js +256 -69
- package/js/es-modules/parts/AreaSeries.js +83 -50
- package/js/es-modules/parts/AreaSplineSeries.js +66 -29
- package/js/es-modules/parts/Axis.js +2089 -694
- package/js/es-modules/parts/BarSeries.js +70 -53
- package/js/es-modules/parts/CandlestickSeries.js +20 -10
- package/js/es-modules/parts/Chart.js +349 -157
- package/js/es-modules/parts/Color.js +74 -25
- package/js/es-modules/parts/ColumnSeries.js +241 -128
- package/js/es-modules/parts/DataGrouping.js +36 -3
- package/js/es-modules/parts/DataLabels.js +287 -116
- package/js/es-modules/parts/DateTimeAxis.js +27 -5
- package/js/es-modules/parts/Dynamics.js +236 -144
- package/js/es-modules/parts/FlagsSeries.js +49 -7
- package/js/es-modules/parts/Globals.js +4 -3
- package/js/es-modules/parts/Html.js +82 -16
- package/js/es-modules/parts/Interaction.js +187 -67
- package/js/es-modules/parts/Legend.js +181 -31
- package/js/es-modules/parts/LogarithmicAxis.js +36 -3
- package/js/es-modules/parts/MSPointer.js +31 -4
- package/js/es-modules/parts/Navigator.js +432 -162
- package/js/es-modules/parts/OHLCSeries.js +5 -5
- package/js/es-modules/parts/Options.js +855 -592
- package/js/es-modules/parts/OrdinalAxis.js +20 -6
- package/js/es-modules/parts/PieSeries.js +247 -134
- package/js/es-modules/parts/PlotBandSeries.experimental.js +2 -2
- package/js/es-modules/parts/PlotLineOrBand.js +671 -35
- package/js/es-modules/parts/Point.js +182 -70
- package/js/es-modules/parts/Pointer.js +263 -62
- package/js/es-modules/parts/RangeSelector.js +579 -91
- package/js/es-modules/parts/Responsive.js +82 -36
- package/js/es-modules/parts/ScatterSeries.js +58 -27
- package/js/es-modules/parts/ScrollablePlotArea.js +30 -9
- package/js/es-modules/parts/Scrollbar.js +201 -71
- package/js/es-modules/parts/Series.js +995 -745
- package/js/es-modules/parts/SplineSeries.js +53 -31
- package/js/es-modules/parts/Stacking.js +108 -7
- package/js/es-modules/parts/StockChart.js +26 -8
- package/js/es-modules/parts/SvgRenderer.js +1208 -598
- package/js/es-modules/parts/Tick.js +164 -30
- package/js/es-modules/parts/Time.js +171 -71
- package/js/es-modules/parts/Tooltip.js +276 -49
- package/js/es-modules/parts/TouchPointer.js +70 -3
- package/js/es-modules/parts/Utilities.js +1024 -429
- package/js/es-modules/parts-3d/Axis.js +4 -3
- package/js/es-modules/parts-3d/Chart.js +8 -9
- package/js/es-modules/parts-3d/Column.js +1 -1
- package/js/es-modules/parts-3d/Math.js +1 -1
- package/js/es-modules/parts-3d/Pie.js +1 -1
- package/js/es-modules/parts-3d/SVGRenderer.js +13 -10
- package/js/es-modules/parts-3d/Scatter.js +4 -4
- package/js/es-modules/parts-3d/Series.js +1 -1
- package/js/es-modules/parts-3d/VMLRenderer.js +1 -1
- package/js/es-modules/parts-gantt/ArrowSymbols.js +110 -0
- package/js/es-modules/parts-gantt/CurrentDateIndicator.js +92 -0
- package/js/es-modules/parts-gantt/GanttChart.js +111 -0
- package/js/es-modules/parts-gantt/GanttSeries.js +371 -0
- package/js/es-modules/parts-gantt/GridAxis.js +962 -0
- package/js/es-modules/parts-gantt/Pathfinder.js +1225 -0
- package/js/es-modules/parts-gantt/PathfinderAlgorithms.js +746 -0
- package/js/es-modules/parts-gantt/Tree.js +146 -0
- package/js/es-modules/parts-gantt/TreeGrid.js +891 -0
- package/js/es-modules/parts-map/ColorAxis.js +4 -5
- package/js/es-modules/parts-map/ColorSeriesMixin.js +3 -1
- package/js/es-modules/parts-map/GeoJSON.js +1 -1
- package/js/es-modules/parts-map/HeatmapSeries.js +124 -54
- package/js/es-modules/parts-map/Map.js +136 -47
- package/js/es-modules/parts-map/MapAxis.js +1 -1
- package/js/es-modules/parts-map/MapBubbleSeries.js +6 -5
- package/js/es-modules/parts-map/MapLineSeries.js +4 -4
- package/js/es-modules/parts-map/MapNavigation.js +50 -12
- package/js/es-modules/parts-map/MapPointSeries.js +3 -3
- package/js/es-modules/parts-map/MapPointer.js +1 -1
- package/js/es-modules/parts-map/MapSeries.js +5 -5
- package/js/es-modules/parts-more/AreaRangeSeries.js +82 -40
- package/js/es-modules/parts-more/AreaSplineRangeSeries.js +3 -3
- package/js/es-modules/parts-more/BoxPlotSeries.js +3 -3
- package/js/es-modules/parts-more/BubbleSeries.js +9 -4
- package/js/es-modules/parts-more/ColumnRangeSeries.js +3 -3
- package/js/es-modules/parts-more/ErrorBarSeries.js +6 -4
- package/js/es-modules/parts-more/GaugeSeries.js +3 -3
- package/js/es-modules/parts-more/Pane.js +3 -2
- package/js/es-modules/parts-more/Polar.js +1 -1
- package/js/es-modules/parts-more/PolygonSeries.js +3 -3
- package/js/es-modules/parts-more/RadialAxis.js +5 -4
- package/js/es-modules/parts-more/WaterfallSeries.js +9 -4
- package/js/es-modules/supplemental.docs.js +0 -1955
- package/js/es-modules/themes/dark-blue.js +1 -1
- package/js/es-modules/themes/dark-green.js +1 -1
- package/js/es-modules/themes/dark-unica.js +1 -1
- package/js/es-modules/themes/gray.js +1 -1
- package/js/es-modules/themes/grid-light.js +1 -1
- package/js/es-modules/themes/grid.js +1 -1
- package/js/es-modules/themes/sand-signika.js +1 -1
- package/js/es-modules/themes/skies.js +1 -1
- package/js/highcharts-3d.js +75 -74
- package/js/highcharts-3d.js.map +1 -8
- package/js/highcharts-3d.src.js +39 -32
- package/js/highcharts-gantt.js +480 -0
- package/js/highcharts-gantt.js.map +1 -0
- package/js/highcharts-gantt.src.js +47011 -0
- package/js/highcharts-more.js +63 -61
- package/js/highcharts-more.js.map +1 -8
- package/js/highcharts-more.src.js +135 -75
- package/js/highcharts.js +396 -387
- package/js/highcharts.js.map +1 -8
- package/js/highcharts.src.js +10765 -4659
- package/js/highmaps.js +419 -411
- package/js/highmaps.js.map +1 -8
- package/js/highmaps.src.js +10198 -4285
- package/js/highstock.js +529 -516
- package/js/highstock.js.map +1 -8
- package/js/highstock.src.js +12108 -4962
- package/js/indicators/accumulation-distribution.js +4 -3
- package/js/indicators/accumulation-distribution.js.map +1 -8
- package/js/indicators/accumulation-distribution.src.js +6 -2
- package/js/indicators/atr.js +4 -3
- package/js/indicators/atr.js.map +1 -8
- package/js/indicators/atr.src.js +6 -2
- package/js/indicators/bollinger-bands.js +7 -6
- package/js/indicators/bollinger-bands.js.map +1 -8
- package/js/indicators/bollinger-bands.src.js +7 -3
- package/js/indicators/cci.js +4 -3
- package/js/indicators/cci.js.map +1 -8
- package/js/indicators/cci.src.js +6 -2
- package/js/indicators/cmf.js +5 -4
- package/js/indicators/cmf.js.map +1 -8
- package/js/indicators/cmf.src.js +6 -2
- package/js/indicators/ema.js +4 -3
- package/js/indicators/ema.js.map +1 -8
- package/js/indicators/ema.src.js +6 -2
- package/js/indicators/ichimoku-kinko-hyo.js +10 -9
- package/js/indicators/ichimoku-kinko-hyo.js.map +1 -8
- package/js/indicators/ichimoku-kinko-hyo.src.js +6 -2
- package/js/indicators/indicators.js +6 -5
- package/js/indicators/indicators.js.map +1 -8
- package/js/indicators/indicators.src.js +34 -15
- package/js/indicators/macd.js +11 -10
- package/js/indicators/macd.js.map +1 -8
- package/js/indicators/macd.src.js +10 -6
- package/js/indicators/mfi.js +5 -3
- package/js/indicators/mfi.js.map +1 -8
- package/js/indicators/mfi.src.js +6 -2
- package/js/indicators/momentum.js +4 -3
- package/js/indicators/momentum.js.map +1 -8
- package/js/indicators/momentum.src.js +7 -3
- package/js/indicators/pivot-points.js +8 -7
- package/js/indicators/pivot-points.js.map +1 -8
- package/js/indicators/pivot-points.src.js +12 -3
- package/js/indicators/price-envelopes.js +7 -6
- package/js/indicators/price-envelopes.js.map +1 -8
- package/js/indicators/price-envelopes.src.js +7 -3
- package/js/indicators/psar.js +5 -4
- package/js/indicators/psar.js.map +1 -8
- package/js/indicators/psar.src.js +6 -2
- package/js/indicators/roc.js +4 -3
- package/js/indicators/roc.js.map +1 -8
- package/js/indicators/roc.src.js +6 -2
- package/js/indicators/rsi.js +4 -3
- package/js/indicators/rsi.js.map +1 -8
- package/js/indicators/rsi.src.js +6 -2
- package/js/indicators/stochastic.js +7 -5
- package/js/indicators/stochastic.js.map +1 -8
- package/js/indicators/stochastic.src.js +14 -8
- package/js/indicators/volume-by-price.js +13 -12
- package/js/indicators/volume-by-price.js.map +1 -8
- package/js/indicators/volume-by-price.src.js +6 -2
- package/js/indicators/vwap.js +4 -3
- package/js/indicators/vwap.js.map +1 -8
- package/js/indicators/vwap.src.js +6 -2
- package/js/indicators/wma.js +4 -3
- package/js/indicators/wma.js.map +1 -8
- package/js/indicators/wma.src.js +6 -2
- package/js/indicators/zigzag.js +5 -3
- package/js/indicators/zigzag.js.map +1 -8
- package/js/indicators/zigzag.src.js +6 -2
- package/js/modules/accessibility.js +52 -51
- package/js/modules/accessibility.js.map +1 -8
- package/js/modules/accessibility.src.js +86 -45
- package/js/modules/annotations.js +22 -21
- package/js/modules/annotations.js.map +1 -8
- package/js/modules/annotations.src.js +8 -4
- package/js/modules/arrow-symbols.js +13 -0
- package/js/modules/arrow-symbols.js.map +1 -0
- package/js/modules/arrow-symbols.src.js +138 -0
- package/js/modules/boost-canvas.js +15 -13
- package/js/modules/boost-canvas.js.map +1 -8
- package/js/modules/boost-canvas.src.js +24 -9
- package/js/modules/boost.js +57 -52
- package/js/modules/boost.js.map +1 -8
- package/js/modules/boost.src.js +305 -138
- package/js/modules/broken-axis.js +12 -10
- package/js/modules/broken-axis.js.map +1 -8
- package/js/modules/broken-axis.src.js +175 -136
- package/js/modules/bullet.js +3 -2
- package/js/modules/bullet.js.map +1 -8
- package/js/modules/bullet.src.js +7 -3
- package/js/modules/current-date-indicator.js +13 -0
- package/js/modules/current-date-indicator.js.map +1 -0
- package/js/modules/current-date-indicator.src.js +120 -0
- package/js/modules/data.js +25 -24
- package/js/modules/data.js.map +1 -8
- package/js/modules/data.src.js +14 -8
- package/js/modules/drag-panes.js +9 -8
- package/js/modules/drag-panes.js.map +1 -8
- package/js/modules/drag-panes.src.js +5 -1
- package/js/modules/draggable-points.js +38 -0
- package/js/modules/draggable-points.js.map +1 -0
- package/js/modules/draggable-points.src.js +2281 -0
- package/js/modules/drilldown.js +20 -19
- package/js/modules/drilldown.js.map +1 -8
- package/js/modules/drilldown.src.js +9 -3
- package/js/modules/export-data.js +20 -19
- package/js/modules/export-data.js.map +1 -8
- package/js/modules/export-data.src.js +17 -3
- package/js/modules/exporting.js +24 -23
- package/js/modules/exporting.js.map +1 -8
- package/js/modules/exporting.src.js +68 -38
- package/js/modules/funnel.js +8 -6
- package/js/modules/funnel.js.map +1 -8
- package/js/modules/funnel.src.js +11 -7
- package/js/modules/gantt.js +81 -18
- package/js/modules/gantt.js.map +1 -8
- package/js/modules/gantt.src.js +5494 -372
- package/js/modules/grid-axis.js +16 -10
- package/js/modules/grid-axis.js.map +1 -8
- package/js/modules/grid-axis.src.js +735 -293
- package/js/modules/heatmap.js +22 -21
- package/js/modules/heatmap.js.map +1 -8
- package/js/modules/heatmap.src.js +137 -62
- package/js/modules/histogram-bellcurve.js +9 -8
- package/js/modules/histogram-bellcurve.js.map +1 -8
- package/js/modules/histogram-bellcurve.src.js +35 -29
- package/js/modules/item-series.js +6 -4
- package/js/modules/item-series.js.map +1 -8
- package/js/modules/item-series.src.js +42 -13
- package/js/modules/map.js +63 -62
- package/js/modules/map.js.map +1 -8
- package/js/modules/map.src.js +353 -145
- package/js/modules/no-data-to-display.js +5 -4
- package/js/modules/no-data-to-display.js.map +1 -8
- package/js/modules/no-data-to-display.src.js +10 -6
- package/js/modules/offline-exporting.js +14 -13
- package/js/modules/offline-exporting.js.map +1 -8
- package/js/modules/offline-exporting.src.js +6 -2
- package/js/modules/oldie.js +29 -27
- package/js/modules/oldie.js.map +1 -8
- package/js/modules/oldie.src.js +20 -11
- package/js/modules/overlapping-datalabels.js +4 -3
- package/js/modules/overlapping-datalabels.js.map +1 -8
- package/js/modules/overlapping-datalabels.src.js +6 -2
- package/js/modules/parallel-coordinates.js +10 -9
- package/js/modules/parallel-coordinates.js.map +1 -8
- package/js/modules/parallel-coordinates.src.js +9 -4
- package/js/modules/pareto.js +5 -4
- package/js/modules/pareto.js.map +1 -8
- package/js/modules/pareto.src.js +6 -2
- package/js/modules/pathfinder.js +34 -0
- package/js/modules/pathfinder.js.map +1 -0
- package/js/modules/pathfinder.src.js +2106 -0
- package/js/modules/pattern-fill.js +13 -12
- package/js/modules/pattern-fill.js.map +1 -8
- package/js/modules/pattern-fill.src.js +5 -1
- package/js/modules/sankey.js +13 -12
- package/js/modules/sankey.js.map +1 -8
- package/js/modules/sankey.src.js +29 -9
- package/js/modules/series-label.js +17 -15
- package/js/modules/series-label.js.map +1 -8
- package/js/modules/series-label.src.js +12 -8
- package/js/modules/solid-gauge.js +9 -8
- package/js/modules/solid-gauge.js.map +1 -8
- package/js/modules/solid-gauge.src.js +14 -7
- package/js/modules/static-scale.js +4 -3
- package/js/modules/static-scale.js.map +1 -8
- package/js/modules/static-scale.src.js +69 -26
- package/js/modules/stock.js +136 -132
- package/js/modules/stock.js.map +1 -8
- package/js/modules/stock.src.js +1543 -499
- package/js/modules/streamgraph.js +4 -3
- package/js/modules/streamgraph.js.map +1 -8
- package/js/modules/streamgraph.src.js +10 -6
- package/js/modules/sunburst.js +40 -39
- package/js/modules/sunburst.js.map +1 -8
- package/js/modules/sunburst.src.js +38 -31
- package/js/modules/tilemap.js +19 -18
- package/js/modules/tilemap.js.map +1 -8
- package/js/modules/tilemap.src.js +363 -190
- package/js/modules/treegrid.js +51 -0
- package/js/modules/treegrid.js.map +1 -0
- package/js/modules/treegrid.src.js +2759 -0
- package/js/modules/treemap.js +27 -26
- package/js/modules/treemap.js.map +1 -8
- package/js/modules/treemap.src.js +34 -27
- package/js/modules/variable-pie.js +8 -7
- package/js/modules/variable-pie.js.map +1 -8
- package/js/modules/variable-pie.src.js +8 -4
- package/js/modules/variwide.js +8 -7
- package/js/modules/variwide.js.map +1 -8
- package/js/modules/variwide.src.js +42 -26
- package/js/modules/vector.js +7 -6
- package/js/modules/vector.js.map +1 -8
- package/js/modules/vector.src.js +104 -30
- package/js/modules/windbarb.js +11 -10
- package/js/modules/windbarb.js.map +1 -8
- package/js/modules/windbarb.src.js +11 -7
- package/js/modules/wordcloud.js +18 -15
- package/js/modules/wordcloud.js.map +1 -8
- package/js/modules/wordcloud.src.js +142 -53
- package/js/modules/xrange.js +12 -10
- package/js/modules/xrange.js.map +1 -8
- package/js/modules/xrange.src.js +262 -71
- package/js/themes/avocado.js +3 -2
- package/js/themes/avocado.js.map +1 -8
- package/js/themes/avocado.src.js +5 -1
- package/js/themes/dark-blue.js +9 -8
- package/js/themes/dark-blue.js.map +1 -8
- package/js/themes/dark-blue.src.js +7 -3
- package/js/themes/dark-green.js +9 -8
- package/js/themes/dark-green.js.map +1 -8
- package/js/themes/dark-green.src.js +7 -3
- package/js/themes/dark-unica.js +9 -7
- package/js/themes/dark-unica.js.map +1 -8
- package/js/themes/dark-unica.src.js +7 -3
- package/js/themes/gray.js +10 -8
- package/js/themes/gray.js.map +1 -8
- package/js/themes/gray.src.js +7 -3
- package/js/themes/grid-light.js +5 -4
- package/js/themes/grid-light.js.map +1 -8
- package/js/themes/grid-light.src.js +7 -3
- package/js/themes/grid.js +6 -5
- package/js/themes/grid.js.map +1 -8
- package/js/themes/grid.src.js +7 -3
- package/js/themes/sand-signika.js +6 -5
- package/js/themes/sand-signika.js.map +1 -8
- package/js/themes/sand-signika.src.js +7 -3
- package/js/themes/skies.js +6 -5
- package/js/themes/skies.js.map +1 -8
- package/js/themes/skies.src.js +7 -3
- package/js/themes/sunset.js +3 -2
- package/js/themes/sunset.js.map +1 -8
- package/js/themes/sunset.src.js +5 -1
- package/modules/accessibility.js +53 -51
- package/modules/accessibility.js.map +1 -8
- package/modules/accessibility.src.js +86 -45
- package/modules/annotations.js +24 -22
- package/modules/annotations.js.map +1 -8
- package/modules/annotations.src.js +8 -4
- package/modules/arrow-symbols.js +13 -0
- package/modules/arrow-symbols.js.map +1 -0
- package/modules/arrow-symbols.src.js +138 -0
- package/modules/boost-canvas.js +15 -13
- package/modules/boost-canvas.js.map +1 -8
- package/modules/boost-canvas.src.js +24 -9
- package/modules/boost.js +57 -52
- package/modules/boost.js.map +1 -8
- package/modules/boost.src.js +305 -138
- package/modules/broken-axis.js +12 -10
- package/modules/broken-axis.js.map +1 -8
- package/modules/broken-axis.src.js +175 -136
- package/modules/bullet.js +6 -5
- package/modules/bullet.js.map +1 -8
- package/modules/bullet.src.js +7 -3
- package/modules/current-date-indicator.js +13 -0
- package/modules/current-date-indicator.js.map +1 -0
- package/modules/current-date-indicator.src.js +120 -0
- package/modules/data.js +25 -24
- package/modules/data.js.map +1 -8
- package/modules/data.src.js +14 -8
- package/modules/drag-panes.js +9 -8
- package/modules/drag-panes.js.map +1 -8
- package/modules/drag-panes.src.js +5 -1
- package/modules/draggable-points.js +38 -0
- package/modules/draggable-points.js.map +1 -0
- package/modules/draggable-points.src.js +2281 -0
- package/modules/drilldown.js +16 -15
- package/modules/drilldown.js.map +1 -8
- package/modules/drilldown.src.js +9 -3
- package/modules/export-data.js +20 -19
- package/modules/export-data.js.map +1 -8
- package/modules/export-data.src.js +17 -3
- package/modules/exporting.js +23 -21
- package/modules/exporting.js.map +1 -8
- package/modules/exporting.src.js +68 -38
- package/modules/funnel.js +8 -7
- package/modules/funnel.js.map +1 -8
- package/modules/funnel.src.js +11 -7
- package/modules/gantt.js +84 -19
- package/modules/gantt.js.map +1 -8
- package/modules/gantt.src.js +5557 -379
- package/modules/grid-axis.js +17 -10
- package/modules/grid-axis.js.map +1 -8
- package/modules/grid-axis.src.js +736 -293
- package/modules/heatmap.js +22 -21
- package/modules/heatmap.js.map +1 -8
- package/modules/heatmap.src.js +139 -63
- package/modules/histogram-bellcurve.js +9 -8
- package/modules/histogram-bellcurve.js.map +1 -8
- package/modules/histogram-bellcurve.src.js +35 -29
- package/modules/item-series.js +6 -4
- package/modules/item-series.js.map +1 -8
- package/modules/item-series.src.js +42 -13
- package/modules/map.js +65 -64
- package/modules/map.js.map +1 -8
- package/modules/map.src.js +365 -152
- package/modules/no-data-to-display.js +5 -4
- package/modules/no-data-to-display.js.map +1 -8
- package/modules/no-data-to-display.src.js +10 -6
- package/modules/offline-exporting.js +14 -12
- package/modules/offline-exporting.js.map +1 -8
- package/modules/offline-exporting.src.js +6 -2
- package/modules/oldie.js +29 -27
- package/modules/oldie.js.map +1 -8
- package/modules/oldie.src.js +20 -11
- package/modules/overlapping-datalabels.js +4 -3
- package/modules/overlapping-datalabels.js.map +1 -8
- package/modules/overlapping-datalabels.src.js +6 -2
- package/modules/parallel-coordinates.js +10 -9
- package/modules/parallel-coordinates.js.map +1 -8
- package/modules/parallel-coordinates.src.js +9 -4
- package/modules/pareto.js +5 -4
- package/modules/pareto.js.map +1 -8
- package/modules/pareto.src.js +6 -2
- package/modules/pathfinder.js +35 -0
- package/modules/pathfinder.js.map +1 -0
- package/modules/pathfinder.src.js +2128 -0
- package/modules/pattern-fill.js +13 -12
- package/modules/pattern-fill.js.map +1 -8
- package/modules/pattern-fill.src.js +5 -1
- package/modules/sankey.js +13 -12
- package/modules/sankey.js.map +1 -8
- package/modules/sankey.src.js +34 -12
- package/modules/series-label.js +17 -15
- package/modules/series-label.js.map +1 -8
- package/modules/series-label.src.js +12 -8
- package/modules/solid-gauge.js +9 -8
- package/modules/solid-gauge.js.map +1 -8
- package/modules/solid-gauge.src.js +16 -9
- package/modules/static-scale.js +4 -3
- package/modules/static-scale.js.map +1 -8
- package/modules/static-scale.src.js +69 -26
- package/modules/stock.js +143 -139
- package/modules/stock.js.map +1 -8
- package/modules/stock.src.js +1701 -566
- package/modules/streamgraph.js +4 -3
- package/modules/streamgraph.js.map +1 -8
- package/modules/streamgraph.src.js +10 -6
- package/modules/sunburst.js +42 -41
- package/modules/sunburst.js.map +1 -8
- package/modules/sunburst.src.js +39 -32
- package/modules/tilemap.js +18 -17
- package/modules/tilemap.js.map +1 -8
- package/modules/tilemap.src.js +365 -191
- package/modules/treegrid.js +52 -0
- package/modules/treegrid.js.map +1 -0
- package/modules/treegrid.src.js +2797 -0
- package/modules/treemap.js +29 -28
- package/modules/treemap.js.map +1 -8
- package/modules/treemap.src.js +35 -28
- package/modules/variable-pie.js +8 -7
- package/modules/variable-pie.js.map +1 -8
- package/modules/variable-pie.src.js +8 -4
- package/modules/variwide.js +8 -7
- package/modules/variwide.js.map +1 -8
- package/modules/variwide.src.js +42 -26
- package/modules/vector.js +7 -6
- package/modules/vector.js.map +1 -8
- package/modules/vector.src.js +104 -30
- package/modules/windbarb.js +11 -10
- package/modules/windbarb.js.map +1 -8
- package/modules/windbarb.src.js +11 -7
- package/modules/wordcloud.js +18 -15
- package/modules/wordcloud.js.map +1 -8
- package/modules/wordcloud.src.js +142 -53
- package/modules/xrange.js +13 -11
- package/modules/xrange.js.map +1 -8
- package/modules/xrange.src.js +264 -80
- package/package.json +1 -1
- package/themes/avocado.js +3 -2
- package/themes/avocado.js.map +1 -8
- package/themes/avocado.src.js +5 -1
- package/themes/dark-blue.js +9 -8
- package/themes/dark-blue.js.map +1 -8
- package/themes/dark-blue.src.js +7 -3
- package/themes/dark-green.js +9 -8
- package/themes/dark-green.js.map +1 -8
- package/themes/dark-green.src.js +7 -3
- package/themes/dark-unica.js +9 -7
- package/themes/dark-unica.js.map +1 -8
- package/themes/dark-unica.src.js +7 -3
- package/themes/gray.js +10 -8
- package/themes/gray.js.map +1 -8
- package/themes/gray.src.js +7 -3
- package/themes/grid-light.js +5 -4
- package/themes/grid-light.js.map +1 -8
- package/themes/grid-light.src.js +7 -3
- package/themes/grid.js +6 -5
- package/themes/grid.js.map +1 -8
- package/themes/grid.src.js +7 -3
- package/themes/sand-signika.js +6 -5
- package/themes/sand-signika.js.map +1 -8
- package/themes/sand-signika.src.js +7 -3
- package/themes/skies.js +6 -5
- package/themes/skies.js.map +1 -8
- package/themes/skies.src.js +7 -3
- package/themes/sunset.js +3 -2
- package/themes/sunset.js.map +1 -8
- package/themes/sunset.src.js +5 -1
|
@@ -1,15 +1,32 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* (c) 2010-
|
|
2
|
+
* (c) 2010-2018 Torstein Honsi
|
|
3
3
|
*
|
|
4
4
|
* License: www.highcharts.com/license
|
|
5
5
|
*/
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Translation and scale for the plot area of a series.
|
|
9
|
+
*
|
|
10
|
+
* @typedef Highcharts.SeriesPlotBoxObject
|
|
11
|
+
*
|
|
12
|
+
* @property {number} translateX
|
|
13
|
+
*
|
|
14
|
+
* @property {number} translateY
|
|
15
|
+
*
|
|
16
|
+
* @property {number} scaleX
|
|
17
|
+
*
|
|
18
|
+
* @property {number} scaleY
|
|
19
|
+
*/
|
|
20
|
+
|
|
6
21
|
'use strict';
|
|
22
|
+
|
|
7
23
|
import H from './Globals.js';
|
|
8
24
|
import './Utilities.js';
|
|
9
25
|
import './Options.js';
|
|
10
26
|
import './Legend.js';
|
|
11
27
|
import './Point.js';
|
|
12
28
|
import './SvgRenderer.js';
|
|
29
|
+
|
|
13
30
|
var addEvent = H.addEvent,
|
|
14
31
|
animObject = H.animObject,
|
|
15
32
|
arrayMax = H.arrayMax,
|
|
@@ -40,8 +57,8 @@ var addEvent = H.addEvent,
|
|
|
40
57
|
/**
|
|
41
58
|
* This is the base series prototype that all other series types inherit from.
|
|
42
59
|
* A new series is initialized either through the
|
|
43
|
-
* {@link https://api.highcharts.com/highcharts/series|series}
|
|
44
|
-
* or after the chart is initialized, through
|
|
60
|
+
* {@link https://api.highcharts.com/highcharts/series|series}
|
|
61
|
+
* option structure, or after the chart is initialized, through
|
|
45
62
|
* {@link Highcharts.Chart#addSeries}.
|
|
46
63
|
*
|
|
47
64
|
* The object can be accessed in a number of ways. All series and point event
|
|
@@ -51,8 +68,8 @@ var addEvent = H.addEvent,
|
|
|
51
68
|
* reference.
|
|
52
69
|
*
|
|
53
70
|
* Another way to reference the series programmatically is by `id`. Add an id
|
|
54
|
-
* in the series configuration options, and get the series object by
|
|
55
|
-
* Highcharts.Chart#get}.
|
|
71
|
+
* in the series configuration options, and get the series object by
|
|
72
|
+
* {@link Highcharts.Chart#get}.
|
|
56
73
|
*
|
|
57
74
|
* Configuration options for the series are given in three levels. Options for
|
|
58
75
|
* all series in a chart are given in the
|
|
@@ -65,61 +82,68 @@ var addEvent = H.addEvent,
|
|
|
65
82
|
* The data in the series is stored in various arrays.
|
|
66
83
|
*
|
|
67
84
|
* - First, `series.options.data` contains all the original config options for
|
|
68
|
-
*
|
|
85
|
+
* each point whether added by options or methods like `series.addPoint`.
|
|
86
|
+
*
|
|
69
87
|
* - Next, `series.data` contains those values converted to points, but in case
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
88
|
+
* the series data length exceeds the `cropThreshold`, or if the data is
|
|
89
|
+
* grouped, `series.data` doesn't contain all the points. It only contains the
|
|
90
|
+
* points that have been created on demand.
|
|
91
|
+
*
|
|
73
92
|
* - Then there's `series.points` that contains all currently visible point
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
*
|
|
93
|
+
* objects. In case of cropping, the cropped-away points are not part of this
|
|
94
|
+
* array. The `series.points` array starts at `series.cropStart` compared to
|
|
95
|
+
* `series.data` and `series.options.data`. If however the series data is
|
|
96
|
+
* grouped, these can't be correlated one to one.
|
|
97
|
+
*
|
|
78
98
|
* - `series.xData` and `series.processedXData` contain clean x values,
|
|
79
|
-
*
|
|
99
|
+
* equivalent to `series.data` and `series.points`.
|
|
100
|
+
*
|
|
80
101
|
* - `series.yData` and `series.processedYData` contain clean y values,
|
|
81
|
-
*
|
|
102
|
+
* equivalent to `series.data` and `series.points`.
|
|
103
|
+
*
|
|
104
|
+
* @class
|
|
105
|
+
* @name Highcharts.Series
|
|
82
106
|
*
|
|
83
|
-
* @
|
|
84
|
-
*
|
|
85
|
-
* The chart instance.
|
|
86
|
-
* @param {Options.plotOptions.series} options
|
|
87
|
-
* The series options.
|
|
107
|
+
* @param {Highcharts.Chart} chart
|
|
108
|
+
* The chart instance.
|
|
88
109
|
*
|
|
110
|
+
* @param {Highcharts.PlotSeriesOptions} options
|
|
111
|
+
* The series options.
|
|
112
|
+
*//**
|
|
113
|
+
* The line series is the base type and is therefor the series base prototype.
|
|
114
|
+
*
|
|
115
|
+
* @private
|
|
116
|
+
* @class
|
|
117
|
+
* @name Highcharts.seriesTypes.line
|
|
118
|
+
*
|
|
119
|
+
* @augments Highcharts.Series
|
|
89
120
|
*/
|
|
121
|
+
H.Series = H.seriesType('line', null
|
|
90
122
|
|
|
91
123
|
/**
|
|
92
124
|
* General options for all series types.
|
|
125
|
+
*
|
|
93
126
|
* @optionparent plotOptions.series
|
|
94
127
|
*/
|
|
95
|
-
|
|
128
|
+
, { // base series options
|
|
129
|
+
|
|
96
130
|
|
|
97
|
-
/**
|
|
98
|
-
* The SVG value used for the `stroke-linecap` and `stroke-linejoin`
|
|
99
|
-
* of a line graph. Round means that lines are rounded in the ends and
|
|
100
|
-
* bends.
|
|
101
|
-
*
|
|
102
|
-
* @validvalue ["round", "butt", "square"]
|
|
103
|
-
* @type {String}
|
|
104
|
-
* @default round
|
|
105
|
-
* @since 3.0.7
|
|
106
|
-
* @apioption plotOptions.line.linecap
|
|
107
|
-
*/
|
|
108
131
|
|
|
109
132
|
/**
|
|
110
133
|
* Pixel width of the graph line.
|
|
111
134
|
*
|
|
112
|
-
* @type {Number}
|
|
113
135
|
* @see In styled mode, the line stroke-width can be set with the
|
|
114
|
-
*
|
|
136
|
+
* `.highcharts-graph` class name.
|
|
137
|
+
*
|
|
115
138
|
* @sample {highcharts} highcharts/plotoptions/series-linewidth-general/
|
|
116
139
|
* On all series
|
|
117
140
|
* @sample {highcharts} highcharts/plotoptions/series-linewidth-specific/
|
|
118
141
|
* On one single series
|
|
119
|
-
*
|
|
142
|
+
*
|
|
120
143
|
* @product highcharts highstock
|
|
121
144
|
*/
|
|
122
145
|
lineWidth: 2,
|
|
146
|
+
|
|
123
147
|
|
|
124
148
|
|
|
125
149
|
/**
|
|
@@ -129,7 +153,7 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
129
153
|
* run if there is more than 250 points totally. To disable this cap, set
|
|
130
154
|
* `animationLimit` to `Infinity`.
|
|
131
155
|
*
|
|
132
|
-
* @type
|
|
156
|
+
* @type {number}
|
|
133
157
|
* @apioption plotOptions.series.animationLimit
|
|
134
158
|
*/
|
|
135
159
|
|
|
@@ -137,13 +161,11 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
137
161
|
* Allow this series' points to be selected by clicking on the graphic
|
|
138
162
|
* (columns, point markers, pie slices, map areas etc).
|
|
139
163
|
*
|
|
140
|
-
* @see
|
|
164
|
+
* @see {@link Highcharts.Chart#getSelectedPoints}.
|
|
141
165
|
*
|
|
142
|
-
* @type {Boolean}
|
|
143
166
|
* @sample {highcharts} highcharts/plotoptions/series-allowpointselect-line/
|
|
144
167
|
* Line
|
|
145
|
-
* @sample {highcharts}
|
|
146
|
-
* highcharts/plotoptions/series-allowpointselect-column/
|
|
168
|
+
* @sample {highcharts} highcharts/plotoptions/series-allowpointselect-column/
|
|
147
169
|
* Column
|
|
148
170
|
* @sample {highcharts} highcharts/plotoptions/series-allowpointselect-pie/
|
|
149
171
|
* Pie
|
|
@@ -151,13 +173,11 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
151
173
|
* Map area
|
|
152
174
|
* @sample {highmaps} maps/plotoptions/mapbubble-allowpointselect/
|
|
153
175
|
* Map bubble
|
|
154
|
-
*
|
|
176
|
+
*
|
|
155
177
|
* @since 1.2.0
|
|
156
178
|
*/
|
|
157
179
|
allowPointSelect: false,
|
|
158
180
|
|
|
159
|
-
|
|
160
|
-
|
|
161
181
|
/**
|
|
162
182
|
* If true, a checkbox is displayed next to the legend item to allow
|
|
163
183
|
* selecting the series. The state of the checkbox is determined by
|
|
@@ -167,16 +187,13 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
167
187
|
* Note that if a `colorAxis` is defined, the color axis is represented in
|
|
168
188
|
* the legend, not the series.
|
|
169
189
|
*
|
|
170
|
-
* @type {Boolean}
|
|
171
190
|
* @sample {highcharts} highcharts/plotoptions/series-showcheckbox-true/
|
|
172
191
|
* Show select box
|
|
173
|
-
*
|
|
192
|
+
*
|
|
174
193
|
* @since 1.2.0
|
|
175
194
|
*/
|
|
176
195
|
showCheckbox: false,
|
|
177
196
|
|
|
178
|
-
|
|
179
|
-
|
|
180
197
|
/**
|
|
181
198
|
* Enable or disable the initial animation when a series is displayed.
|
|
182
199
|
* The animation can also be set as a configuration object. Please
|
|
@@ -193,15 +210,14 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
193
210
|
*
|
|
194
211
|
* <dt>easing</dt>
|
|
195
212
|
*
|
|
196
|
-
* <dd>
|
|
197
|
-
* See the _Custom easing function_ demo below.</dd>
|
|
213
|
+
* <dd>Can be a string reference to an easing function set on the `Math`
|
|
214
|
+
* object or a function. See the _Custom easing function_ demo below.</dd>
|
|
198
215
|
*
|
|
199
216
|
* </dl>
|
|
200
217
|
*
|
|
201
218
|
* Due to poor performance, animation is disabled in old IE browsers
|
|
202
219
|
* for several chart types.
|
|
203
220
|
*
|
|
204
|
-
* @type {Boolean}
|
|
205
221
|
* @sample {highcharts} highcharts/plotoptions/series-animation-disabled/
|
|
206
222
|
* Animation disabled
|
|
207
223
|
* @sample {highcharts} highcharts/plotoptions/series-animation-slower/
|
|
@@ -216,22 +232,47 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
216
232
|
* Animation enabled on map series
|
|
217
233
|
* @sample {highmaps} maps/plotoptions/mapbubble-animation-false/
|
|
218
234
|
* Disabled on mapbubble series
|
|
235
|
+
*
|
|
236
|
+
* @type {boolean|Highcharts.AnimationOptionsObject}
|
|
219
237
|
* @default {highcharts} true
|
|
220
238
|
* @default {highstock} true
|
|
221
239
|
* @default {highmaps} false
|
|
222
240
|
*/
|
|
223
241
|
animation: {
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* @type {number}
|
|
245
|
+
* @default 1000
|
|
246
|
+
* @apioption plotOptions.series.animation.duration
|
|
247
|
+
*/
|
|
224
248
|
duration: 1000
|
|
225
249
|
},
|
|
226
250
|
|
|
227
251
|
/**
|
|
228
252
|
* An additional class name to apply to the series' graphical elements. This
|
|
229
253
|
* option does not replace default class names of the graphical element.
|
|
230
|
-
*
|
|
231
|
-
* @
|
|
254
|
+
*
|
|
255
|
+
* @type {string}
|
|
256
|
+
* @since 5.0.0
|
|
232
257
|
* @apioption plotOptions.series.className
|
|
233
258
|
*/
|
|
234
259
|
|
|
260
|
+
/**
|
|
261
|
+
* Disable this option to allow series rendering in the whole plotting
|
|
262
|
+
* area.
|
|
263
|
+
*
|
|
264
|
+
* **Note:** Clipping should be always enabled when
|
|
265
|
+
* [chart.zoomType](#chart.zoomType) is set
|
|
266
|
+
*
|
|
267
|
+
* @sample {highcharts} highcharts/plotoptions/series-clip/
|
|
268
|
+
* Disabled clipping
|
|
269
|
+
*
|
|
270
|
+
* @default true
|
|
271
|
+
* @type {boolean}
|
|
272
|
+
* @since 3.0.0
|
|
273
|
+
* @apioption plotOptions.series.clip
|
|
274
|
+
*/
|
|
275
|
+
|
|
235
276
|
/**
|
|
236
277
|
* The main color of the series. In line type series it applies to the
|
|
237
278
|
* line and the point markers unless otherwise specified. In bar type
|
|
@@ -249,15 +290,18 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
249
290
|
* color to denote the value of each point. The series color can however be
|
|
250
291
|
* used in a map with multiple series holding categorized data.
|
|
251
292
|
*
|
|
252
|
-
* @type {Color}
|
|
253
293
|
* @sample {highcharts} highcharts/plotoptions/series-color-general/
|
|
254
294
|
* General plot option
|
|
255
295
|
* @sample {highcharts} highcharts/plotoptions/series-color-specific/
|
|
256
296
|
* One specific series
|
|
257
297
|
* @sample {highcharts} highcharts/plotoptions/series-color-area/
|
|
258
298
|
* Area color
|
|
299
|
+
* @sample {highcharts} highcharts/series/infographic/
|
|
300
|
+
* Pattern fill
|
|
259
301
|
* @sample {highmaps} maps/demo/category-map/
|
|
260
302
|
* Category map by multiple series
|
|
303
|
+
*
|
|
304
|
+
* @type {Highcharts.ColorString}
|
|
261
305
|
* @apioption plotOptions.series.color
|
|
262
306
|
*/
|
|
263
307
|
|
|
@@ -265,8 +309,8 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
265
309
|
* Styled mode only. A specific color index to use for the series, so its
|
|
266
310
|
* graphic representations are given the class name `highcharts-color-{n}`.
|
|
267
311
|
*
|
|
268
|
-
* @type
|
|
269
|
-
* @since
|
|
312
|
+
* @type {number}
|
|
313
|
+
* @since 5.0.0
|
|
270
314
|
* @apioption plotOptions.series.colorIndex
|
|
271
315
|
*/
|
|
272
316
|
|
|
@@ -275,13 +319,14 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
275
319
|
* Whether to connect a graph line across null points, or render a gap
|
|
276
320
|
* between the two points on either side of the null.
|
|
277
321
|
*
|
|
278
|
-
* @type {Boolean}
|
|
279
|
-
* @default false
|
|
280
322
|
* @sample {highcharts} highcharts/plotoptions/series-connectnulls-false/
|
|
281
323
|
* False by default
|
|
282
324
|
* @sample {highcharts} highcharts/plotoptions/series-connectnulls-true/
|
|
283
325
|
* True
|
|
284
|
-
*
|
|
326
|
+
*
|
|
327
|
+
* @type {boolean}
|
|
328
|
+
* @default false
|
|
329
|
+
* @product highcharts highstock
|
|
285
330
|
* @apioption plotOptions.series.connectNulls
|
|
286
331
|
*/
|
|
287
332
|
|
|
@@ -291,10 +336,9 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
291
336
|
* to the series, to signal to the user that the points and lines can
|
|
292
337
|
* be clicked.
|
|
293
338
|
*
|
|
294
|
-
*
|
|
295
|
-
* @type {String}
|
|
296
|
-
* @see In styled mode, the series cursor can be set with the same classes
|
|
339
|
+
* In styled mode, the series cursor can be set with the same classes
|
|
297
340
|
* as listed under [series.color](#plotOptions.series.color).
|
|
341
|
+
*
|
|
298
342
|
* @sample {highcharts} highcharts/plotoptions/series-cursor-line/
|
|
299
343
|
* On line graph
|
|
300
344
|
* @sample {highcharts} highcharts/plotoptions/series-cursor-column/
|
|
@@ -307,31 +351,18 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
307
351
|
* Map area
|
|
308
352
|
* @sample {highmaps} maps/plotoptions/mapbubble-allowpointselect/
|
|
309
353
|
* Map bubble
|
|
310
|
-
*
|
|
354
|
+
*
|
|
355
|
+
* @type {string}
|
|
356
|
+
* @validvalue ["crosshair","default","help","none","pointer"]
|
|
357
|
+
* @apioption plotOptions.series.cursor
|
|
311
358
|
*/
|
|
312
359
|
|
|
313
360
|
|
|
314
361
|
/**
|
|
315
362
|
* A name for the dash style to use for the graph, or for some series types
|
|
316
|
-
* the outline of each shape.
|
|
317
|
-
*
|
|
318
|
-
*
|
|
319
|
-
* * ShortDash
|
|
320
|
-
* * ShortDot
|
|
321
|
-
* * ShortDashDot
|
|
322
|
-
* * ShortDashDotDot
|
|
323
|
-
* * Dot
|
|
324
|
-
* * Dash
|
|
325
|
-
* * LongDash
|
|
326
|
-
* * DashDot
|
|
327
|
-
* * LongDashDot
|
|
328
|
-
* * LongDashDotDot
|
|
329
|
-
*
|
|
330
|
-
* @validvalue ["Solid", "ShortDash", "ShortDot", "ShortDashDot",
|
|
331
|
-
* "ShortDashDotDot", "Dot", "Dash" ,"LongDash", "DashDot",
|
|
332
|
-
* "LongDashDot", "LongDashDotDot"]
|
|
333
|
-
* @type {String}
|
|
334
|
-
* @see In styled mode, the [stroke dash-array](http://jsfiddle.net/gh/get/
|
|
363
|
+
* the outline of each shape.
|
|
364
|
+
*
|
|
365
|
+
* In styled mode, the [stroke dash-array](https://jsfiddle.net/gh/get/
|
|
335
366
|
* library/pure/highcharts/highcharts/tree/master/samples/highcharts/css/
|
|
336
367
|
* series-dashstyle/) can be set with the same classes as listed under
|
|
337
368
|
* [series.color](#plotOptions.series.color).
|
|
@@ -346,9 +377,14 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
346
377
|
* Possible values demonstrated
|
|
347
378
|
* @sample {highmaps} maps/plotoptions/series-dashstyle/
|
|
348
379
|
* Dotted borders on a map
|
|
349
|
-
*
|
|
350
|
-
* @
|
|
351
|
-
* @
|
|
380
|
+
*
|
|
381
|
+
* @type {string}
|
|
382
|
+
* @default Solid
|
|
383
|
+
* @since 2.1
|
|
384
|
+
* @validvalue ["Dash","DashDot","Dot","LongDash","LongDashDot",
|
|
385
|
+
* "LongDashDotDot","ShortDash","ShortDashDot",
|
|
386
|
+
* "ShortDashDotDot","ShortDot","Solid"]
|
|
387
|
+
* @apioption plotOptions.series.dashStyle
|
|
352
388
|
*/
|
|
353
389
|
|
|
354
390
|
/**
|
|
@@ -357,29 +393,23 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
357
393
|
* A description of the series to add to the screen reader information
|
|
358
394
|
* about the series.
|
|
359
395
|
*
|
|
360
|
-
* @type
|
|
361
|
-
* @
|
|
362
|
-
* @since 5.0.0
|
|
396
|
+
* @type {string}
|
|
397
|
+
* @since 5.0.0
|
|
363
398
|
* @apioption plotOptions.series.description
|
|
364
399
|
*/
|
|
365
400
|
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
401
|
/**
|
|
371
402
|
* Enable or disable the mouse tracking for a specific series. This
|
|
372
403
|
* includes point tooltips and click events on graphs and points. For
|
|
373
404
|
* large datasets it improves performance.
|
|
374
405
|
*
|
|
375
|
-
* @
|
|
376
|
-
* @sample {highcharts}
|
|
377
|
-
* highcharts/plotoptions/series-enablemousetracking-false/
|
|
406
|
+
* @sample {highcharts} highcharts/plotoptions/series-enablemousetracking-false/
|
|
378
407
|
* No mouse tracking
|
|
379
|
-
* @sample {highmaps}
|
|
380
|
-
* maps/plotoptions/series-enablemousetracking-false/
|
|
408
|
+
* @sample {highmaps} maps/plotoptions/series-enablemousetracking-false/
|
|
381
409
|
* No mouse tracking
|
|
382
|
-
*
|
|
410
|
+
*
|
|
411
|
+
* @type {boolean}
|
|
412
|
+
* @default true
|
|
383
413
|
* @apioption plotOptions.series.enableMouseTracking
|
|
384
414
|
*/
|
|
385
415
|
|
|
@@ -392,11 +422,11 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
392
422
|
*
|
|
393
423
|
* Requires the Accessibility module.
|
|
394
424
|
*
|
|
395
|
-
* @type {Boolean}
|
|
396
425
|
* @sample highcharts/accessibility/art-grants/
|
|
397
426
|
* Accessible data visualization
|
|
398
|
-
*
|
|
399
|
-
* @
|
|
427
|
+
*
|
|
428
|
+
* @type {boolean}
|
|
429
|
+
* @since 5.0.12
|
|
400
430
|
* @apioption plotOptions.series.exposeElementToA11y
|
|
401
431
|
*/
|
|
402
432
|
|
|
@@ -406,69 +436,38 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
406
436
|
* Y axis adjusts to the min and max of the visible data. Cartesian
|
|
407
437
|
* series only.
|
|
408
438
|
*
|
|
409
|
-
* @type
|
|
410
|
-
* @default
|
|
411
|
-
* @since
|
|
412
|
-
* @product
|
|
439
|
+
* @type {boolean}
|
|
440
|
+
* @default false
|
|
441
|
+
* @since 4.1.6
|
|
442
|
+
* @product highcharts highstock gantt
|
|
413
443
|
* @apioption plotOptions.series.getExtremesFromAll
|
|
414
444
|
*/
|
|
415
445
|
|
|
416
|
-
/**
|
|
417
|
-
* An id for the series. This can be used after render time to get a
|
|
418
|
-
* pointer to the series object through `chart.get()`.
|
|
419
|
-
*
|
|
420
|
-
* @type {String}
|
|
421
|
-
* @sample {highcharts} highcharts/plotoptions/series-id/ Get series by id
|
|
422
|
-
* @since 1.2.0
|
|
423
|
-
* @apioption series.id
|
|
424
|
-
*/
|
|
425
|
-
|
|
426
|
-
/**
|
|
427
|
-
* The index of the series in the chart, affecting the internal index
|
|
428
|
-
* in the `chart.series` array, the visible Z index as well as the order
|
|
429
|
-
* in the legend.
|
|
430
|
-
*
|
|
431
|
-
* @type {Number}
|
|
432
|
-
* @default undefined
|
|
433
|
-
* @since 2.3.0
|
|
434
|
-
* @apioption series.index
|
|
435
|
-
*/
|
|
436
|
-
|
|
437
446
|
/**
|
|
438
447
|
* An array specifying which option maps to which key in the data point
|
|
439
448
|
* array. This makes it convenient to work with unstructured data arrays
|
|
440
449
|
* from different sources.
|
|
441
450
|
*
|
|
442
|
-
* @type {Array<String>}
|
|
443
451
|
* @see [series.data](#series.line.data)
|
|
452
|
+
*
|
|
444
453
|
* @sample {highcharts|highstock} highcharts/series/data-keys/
|
|
445
454
|
* An extended data array with keys
|
|
446
455
|
* @sample {highcharts|highstock} highcharts/series/data-nested-keys/
|
|
447
456
|
* Nested keys used to access object properties
|
|
448
|
-
* @since 4.1.6
|
|
449
|
-
* @product highcharts highstock
|
|
450
|
-
* @apioption plotOptions.series.keys
|
|
451
|
-
*/
|
|
452
|
-
|
|
453
|
-
/**
|
|
454
|
-
* The sequential index of the series in the legend.
|
|
455
457
|
*
|
|
456
|
-
* @
|
|
457
|
-
*
|
|
458
|
-
* @
|
|
459
|
-
* @see [legend.reversed](#legend.reversed),
|
|
460
|
-
* [yAxis.reversedStacks](#yAxis.reversedStacks)
|
|
461
|
-
* @apioption series.legendIndex
|
|
458
|
+
* @type {Array<string>}
|
|
459
|
+
* @since 4.1.6
|
|
460
|
+
* @apioption plotOptions.series.keys
|
|
462
461
|
*/
|
|
463
462
|
|
|
464
463
|
/**
|
|
465
464
|
* The line cap used for line ends and line joins on the graph.
|
|
466
465
|
*
|
|
466
|
+
* @type {string}
|
|
467
|
+
* @default round
|
|
468
|
+
* @product highcharts highstock
|
|
467
469
|
* @validvalue ["round", "square"]
|
|
468
|
-
* @
|
|
469
|
-
* @default round
|
|
470
|
-
* @product highcharts highstock
|
|
471
|
-
* @apioption plotOptions.series.linecap
|
|
470
|
+
* @apioption plotOptions.series.linecap
|
|
472
471
|
*/
|
|
473
472
|
|
|
474
473
|
/**
|
|
@@ -477,30 +476,39 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
477
476
|
* two series are linked, only the first one appears in the legend.
|
|
478
477
|
* Toggling the visibility of this also toggles the linked series.
|
|
479
478
|
*
|
|
480
|
-
* @
|
|
481
|
-
*
|
|
482
|
-
*
|
|
483
|
-
* @
|
|
484
|
-
* @
|
|
479
|
+
* @sample {highcharts|highstock} highcharts/demo/arearange-line/
|
|
480
|
+
* Linked series
|
|
481
|
+
*
|
|
482
|
+
* @type {string}
|
|
483
|
+
* @since 3.0
|
|
484
|
+
* @product highcharts highstock gantt
|
|
485
485
|
* @apioption plotOptions.series.linkedTo
|
|
486
486
|
*/
|
|
487
487
|
|
|
488
488
|
/**
|
|
489
|
-
*
|
|
489
|
+
* Options for the corresponding navigator series if `showInNavigator`
|
|
490
|
+
* is `true` for this series. Available options are the same as any
|
|
491
|
+
* series, documented at [plotOptions](#plotOptions.series) and
|
|
492
|
+
* [series](#series).
|
|
490
493
|
*
|
|
491
|
-
*
|
|
492
|
-
*
|
|
493
|
-
*
|
|
494
|
-
*
|
|
494
|
+
* These options are merged with options in [navigator.series](
|
|
495
|
+
* #navigator.series), and will take precedence if the same option is
|
|
496
|
+
* defined both places.
|
|
497
|
+
*
|
|
498
|
+
* @see [navigator.series](#navigator.series)
|
|
499
|
+
*
|
|
500
|
+
* @type {*}
|
|
501
|
+
* @since 5.0.0
|
|
502
|
+
* @product highstock
|
|
503
|
+
* @apioption plotOptions.series.navigatorOptions
|
|
495
504
|
*/
|
|
496
505
|
|
|
497
506
|
/**
|
|
498
507
|
* The color for the parts of the graph or points that are below the
|
|
499
508
|
* [threshold](#plotOptions.series.threshold).
|
|
500
509
|
*
|
|
501
|
-
* @
|
|
502
|
-
*
|
|
503
|
-
* option to `true` combined with the `.highcharts-negative` class name.
|
|
510
|
+
* @see In styled mode, a negative color is applied by setting this option
|
|
511
|
+
* to `true` combined with the `.highcharts-negative` class name.
|
|
504
512
|
*
|
|
505
513
|
* @sample {highcharts} highcharts/plotoptions/series-negative-color/
|
|
506
514
|
* Spline, area and column
|
|
@@ -516,8 +524,9 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
516
524
|
* Spline, area and column
|
|
517
525
|
* @sample {highmaps} highcharts/plotoptions/arearange-negativecolor/
|
|
518
526
|
* Arearange
|
|
519
|
-
*
|
|
520
|
-
* @
|
|
527
|
+
*
|
|
528
|
+
* @type {Highcharts.ColorString}
|
|
529
|
+
* @since 3.0
|
|
521
530
|
* @apioption plotOptions.series.negativeColor
|
|
522
531
|
*/
|
|
523
532
|
|
|
@@ -526,8 +535,8 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
526
535
|
* #accessibility.pointDescriptionFormatter), but for an individual series.
|
|
527
536
|
* Overrides the chart wide configuration.
|
|
528
537
|
*
|
|
529
|
-
* @type
|
|
530
|
-
* @since
|
|
538
|
+
* @type {Function}
|
|
539
|
+
* @since 5.0.12
|
|
531
540
|
* @apioption plotOptions.series.pointDescriptionFormatter
|
|
532
541
|
*/
|
|
533
542
|
|
|
@@ -544,13 +553,14 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
544
553
|
* Please note that this options applies to the _series data_, not the
|
|
545
554
|
* interval of the axis ticks, which is independent.
|
|
546
555
|
*
|
|
547
|
-
* @type {Number}
|
|
548
556
|
* @sample {highcharts} highcharts/plotoptions/series-pointstart-datetime/
|
|
549
557
|
* Datetime X axis
|
|
550
558
|
* @sample {highstock} stock/plotoptions/pointinterval-pointstart/
|
|
551
559
|
* Using pointStart and pointInterval
|
|
552
|
-
*
|
|
553
|
-
* @
|
|
560
|
+
*
|
|
561
|
+
* @type {number}
|
|
562
|
+
* @default 1
|
|
563
|
+
* @product highcharts highstock gantt
|
|
554
564
|
* @apioption plotOptions.series.pointInterval
|
|
555
565
|
*/
|
|
556
566
|
|
|
@@ -565,19 +575,20 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
565
575
|
* Please note that this options applies to the _series data_, not the
|
|
566
576
|
* interval of the axis ticks, which is independent.
|
|
567
577
|
*
|
|
568
|
-
* @validvalue [null, "day", "month", "year"]
|
|
569
|
-
* @type {String}
|
|
570
578
|
* @sample {highcharts} highcharts/plotoptions/series-pointintervalunit/
|
|
571
579
|
* One point a month
|
|
572
580
|
* @sample {highstock} highcharts/plotoptions/series-pointintervalunit/
|
|
573
581
|
* One point a month
|
|
574
|
-
*
|
|
575
|
-
* @
|
|
576
|
-
* @
|
|
582
|
+
*
|
|
583
|
+
* @type {string}
|
|
584
|
+
* @since 4.1.0
|
|
585
|
+
* @product highcharts highstock gantt
|
|
586
|
+
* @validvalue ["day", "month", "year"]
|
|
587
|
+
* @apioption plotOptions.series.pointIntervalUnit
|
|
577
588
|
*/
|
|
578
589
|
|
|
579
590
|
/**
|
|
580
|
-
* Possible values: `
|
|
591
|
+
* Possible values: `"on"`, `"between"`, `number`.
|
|
581
592
|
*
|
|
582
593
|
* In a column chart, when pointPlacement is `"on"`, the point will
|
|
583
594
|
* not create any padding of the X axis. In a polar column chart this
|
|
@@ -596,20 +607,22 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
596
607
|
* #plotOptions.series.pointRange) to work. For column series this is
|
|
597
608
|
* computed, but for line-type series it needs to be set.
|
|
598
609
|
*
|
|
599
|
-
*
|
|
610
|
+
* For the `xrange` series type and gantt charts, if the Y axis is a
|
|
611
|
+
* category axis, the `pointPlacement` applies to the Y axis rather than
|
|
612
|
+
* the (typically datetime) X axis.
|
|
613
|
+
*
|
|
614
|
+
* Defaults to `undefined` in cartesian charts, `"between"` in polar charts.
|
|
600
615
|
*
|
|
601
|
-
* @validvalue [null, "on", "between"]
|
|
602
|
-
* @type {String|Number}
|
|
603
616
|
* @see [xAxis.tickmarkPlacement](#xAxis.tickmarkPlacement)
|
|
604
|
-
*
|
|
605
|
-
*
|
|
617
|
+
*
|
|
618
|
+
* @sample {highcharts|highstock} highcharts/plotoptions/series-pointplacement-between/
|
|
606
619
|
* Between in a column chart
|
|
607
|
-
* @sample {highcharts|highstock}
|
|
608
|
-
* highcharts/plotoptions/series-pointplacement-numeric/
|
|
620
|
+
* @sample {highcharts|highstock} highcharts/plotoptions/series-pointplacement-numeric/
|
|
609
621
|
* Numeric placement for custom layout
|
|
610
|
-
*
|
|
611
|
-
* @
|
|
612
|
-
* @
|
|
622
|
+
*
|
|
623
|
+
* @type {string|number}
|
|
624
|
+
* @since 2.3.0
|
|
625
|
+
* @product highcharts highstock gantt
|
|
613
626
|
* @apioption plotOptions.series.pointPlacement
|
|
614
627
|
*/
|
|
615
628
|
|
|
@@ -618,15 +631,16 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
618
631
|
* on what value to start. For example, if a series contains one yearly
|
|
619
632
|
* value starting from 1945, set pointStart to 1945.
|
|
620
633
|
*
|
|
621
|
-
* @type {Number}
|
|
622
634
|
* @sample {highcharts} highcharts/plotoptions/series-pointstart-linear/
|
|
623
635
|
* Linear
|
|
624
636
|
* @sample {highcharts} highcharts/plotoptions/series-pointstart-datetime/
|
|
625
637
|
* Datetime
|
|
626
638
|
* @sample {highstock} stock/plotoptions/pointinterval-pointstart/
|
|
627
639
|
* Using pointStart and pointInterval
|
|
628
|
-
*
|
|
629
|
-
* @
|
|
640
|
+
*
|
|
641
|
+
* @type {number}
|
|
642
|
+
* @default 0
|
|
643
|
+
* @product highcharts highstock gantt
|
|
630
644
|
* @apioption plotOptions.series.pointStart
|
|
631
645
|
*/
|
|
632
646
|
|
|
@@ -635,22 +649,25 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
635
649
|
* the checkbox next to the series name in the legend will be checked for a
|
|
636
650
|
* selected series.
|
|
637
651
|
*
|
|
638
|
-
* @type {Boolean}
|
|
639
652
|
* @sample {highcharts} highcharts/plotoptions/series-selected/
|
|
640
653
|
* One out of two series selected
|
|
641
|
-
*
|
|
642
|
-
* @
|
|
654
|
+
*
|
|
655
|
+
* @type {boolean}
|
|
656
|
+
* @default false
|
|
657
|
+
* @since 1.2.0
|
|
643
658
|
* @apioption plotOptions.series.selected
|
|
644
659
|
*/
|
|
645
660
|
|
|
646
661
|
/**
|
|
647
662
|
* Whether to apply a drop shadow to the graph line. Since 2.3 the shadow
|
|
648
663
|
* can be an object configuration containing `color`, `offsetX`, `offsetY`,
|
|
649
|
-
*
|
|
664
|
+
* `opacity` and `width`.
|
|
665
|
+
*
|
|
666
|
+
* @sample {highcharts} highcharts/plotoptions/series-shadow/
|
|
667
|
+
* Shadow enabled
|
|
650
668
|
*
|
|
651
|
-
* @type
|
|
652
|
-
* @
|
|
653
|
-
* @default false
|
|
669
|
+
* @type {boolean|Highcharts.ShadowOptionsObject}
|
|
670
|
+
* @default false
|
|
654
671
|
* @apioption plotOptions.series.shadow
|
|
655
672
|
*/
|
|
656
673
|
|
|
@@ -659,45 +676,42 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
659
676
|
* The default value is `true` for standalone series, `false` for linked
|
|
660
677
|
* series.
|
|
661
678
|
*
|
|
662
|
-
* @type {Boolean}
|
|
663
679
|
* @sample {highcharts} highcharts/plotoptions/series-showinlegend/
|
|
664
680
|
* One series in the legend, one hidden
|
|
665
|
-
*
|
|
681
|
+
*
|
|
682
|
+
* @type {boolean}
|
|
683
|
+
* @default true
|
|
666
684
|
* @apioption plotOptions.series.showInLegend
|
|
667
685
|
*/
|
|
668
686
|
|
|
669
687
|
/**
|
|
670
|
-
*
|
|
671
|
-
*
|
|
688
|
+
* Whether or not to show the series in the navigator. Takes precedence
|
|
689
|
+
* over [navigator.baseSeries](#navigator.baseSeries) if defined.
|
|
672
690
|
*
|
|
673
|
-
* @type
|
|
674
|
-
* @since
|
|
675
|
-
* @
|
|
691
|
+
* @type {boolean}
|
|
692
|
+
* @since 5.0.0
|
|
693
|
+
* @product highstock
|
|
694
|
+
* @apioption plotOptions.series.showInNavigator
|
|
676
695
|
*/
|
|
677
696
|
|
|
678
697
|
/**
|
|
679
|
-
*
|
|
680
|
-
*
|
|
681
|
-
*
|
|
682
|
-
*
|
|
683
|
-
* @
|
|
684
|
-
* @
|
|
685
|
-
* @default null
|
|
686
|
-
* @since 2.1
|
|
687
|
-
* @product highcharts highstock
|
|
688
|
-
* @apioption series.stack
|
|
698
|
+
* If set to `true`, the accessibility module will skip past the points
|
|
699
|
+
* in this series for keyboard navigation.
|
|
700
|
+
*
|
|
701
|
+
* @type {boolean}
|
|
702
|
+
* @since 5.0.12
|
|
703
|
+
* @apioption plotOptions.series.skipKeyboardNavigation
|
|
689
704
|
*/
|
|
690
705
|
|
|
691
706
|
/**
|
|
692
|
-
* Whether to stack the values of each series on top of each other.
|
|
693
|
-
*
|
|
707
|
+
* Whether to stack the values of each series on top of each other. Possible
|
|
708
|
+
* values are `undefined` to disable, `"normal"` to stack by value or
|
|
694
709
|
* `"percent"`. When stacking is enabled, data must be sorted in ascending
|
|
695
710
|
* X order. A special stacking option is with the streamgraph series type,
|
|
696
711
|
* where the stacking option is set to `"stream"`.
|
|
697
712
|
*
|
|
698
|
-
* @validvalue [null, "normal", "percent"]
|
|
699
|
-
* @type {String}
|
|
700
713
|
* @see [yAxis.reversedStacks](#yAxis.reversedStacks)
|
|
714
|
+
*
|
|
701
715
|
* @sample {highcharts} highcharts/plotoptions/series-stacking-line/
|
|
702
716
|
* Line
|
|
703
717
|
* @sample {highcharts} highcharts/plotoptions/series-stacking-column/
|
|
@@ -708,8 +722,7 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
708
722
|
* Area
|
|
709
723
|
* @sample {highcharts} highcharts/plotoptions/series-stacking-percent-line/
|
|
710
724
|
* Line
|
|
711
|
-
* @sample {highcharts}
|
|
712
|
-
* highcharts/plotoptions/series-stacking-percent-column/
|
|
725
|
+
* @sample {highcharts} highcharts/plotoptions/series-stacking-percent-column/
|
|
713
726
|
* Column
|
|
714
727
|
* @sample {highcharts} highcharts/plotoptions/series-stacking-percent-bar/
|
|
715
728
|
* Bar
|
|
@@ -717,28 +730,29 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
717
730
|
* Area
|
|
718
731
|
* @sample {highstock} stock/plotoptions/stacking/
|
|
719
732
|
* Area
|
|
720
|
-
*
|
|
721
|
-
* @
|
|
722
|
-
* @
|
|
733
|
+
*
|
|
734
|
+
* @type {string}
|
|
735
|
+
* @product highcharts highstock
|
|
736
|
+
* @validvalue ["normal", "percent"]
|
|
737
|
+
* @apioption plotOptions.series.stacking
|
|
723
738
|
*/
|
|
724
739
|
|
|
725
740
|
/**
|
|
726
741
|
* Whether to apply steps to the line. Possible values are `left`, `center`
|
|
727
742
|
* and `right`.
|
|
728
743
|
*
|
|
729
|
-
* @validvalue [null, "left", "center", "right"]
|
|
730
|
-
* @type {String}
|
|
731
744
|
* @sample {highcharts} highcharts/plotoptions/line-step/
|
|
732
745
|
* Different step line options
|
|
733
746
|
* @sample {highcharts} highcharts/plotoptions/area-step/
|
|
734
747
|
* Stepped, stacked area
|
|
735
748
|
* @sample {highstock} stock/plotoptions/line-step/
|
|
736
749
|
* Step line
|
|
737
|
-
*
|
|
738
|
-
* @
|
|
739
|
-
* @since
|
|
740
|
-
* @product
|
|
741
|
-
* @
|
|
750
|
+
*
|
|
751
|
+
* @type {string}
|
|
752
|
+
* @since 1.2.5
|
|
753
|
+
* @product highcharts highstock
|
|
754
|
+
* @validvalue ["left", "center", "right"]
|
|
755
|
+
* @apioption plotOptions.series.step
|
|
742
756
|
*/
|
|
743
757
|
|
|
744
758
|
/**
|
|
@@ -746,99 +760,43 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
746
760
|
* series this is only used in conjunction with
|
|
747
761
|
* [negativeColor](#plotOptions.series.negativeColor).
|
|
748
762
|
*
|
|
749
|
-
* @type {Number}
|
|
750
763
|
* @see [softThreshold](#plotOptions.series.softThreshold).
|
|
751
|
-
* @default 0
|
|
752
|
-
* @since 3.0
|
|
753
|
-
* @product highcharts highstock
|
|
754
|
-
* @apioption plotOptions.series.threshold
|
|
755
|
-
*/
|
|
756
|
-
|
|
757
|
-
/**
|
|
758
|
-
* The type of series, for example `line` or `column`. By default, the
|
|
759
|
-
* series type is inherited from [chart.type](#chart.type), so unless the
|
|
760
|
-
* chart is a combination of series types, there is no need to set it on the
|
|
761
|
-
* series level.
|
|
762
764
|
*
|
|
763
|
-
* @
|
|
764
|
-
*
|
|
765
|
-
*
|
|
766
|
-
*
|
|
767
|
-
* @
|
|
768
|
-
* @sample {highcharts} highcharts/series/type/
|
|
769
|
-
* Line and column in the same chart
|
|
770
|
-
* @sample {highmaps} maps/demo/mapline-mappoint/
|
|
771
|
-
* Multiple types in the same map
|
|
772
|
-
* @apioption series.type
|
|
765
|
+
* @type {number}
|
|
766
|
+
* @default 0
|
|
767
|
+
* @since 3.0
|
|
768
|
+
* @product highcharts highstock
|
|
769
|
+
* @apioption plotOptions.series.threshold
|
|
773
770
|
*/
|
|
774
771
|
|
|
775
772
|
/**
|
|
776
773
|
* Set the initial visibility of the series.
|
|
777
774
|
*
|
|
778
|
-
* @type {Boolean}
|
|
779
775
|
* @sample {highcharts} highcharts/plotoptions/series-visible/
|
|
780
776
|
* Two series, one hidden and one visible
|
|
781
777
|
* @sample {highstock} stock/plotoptions/series-visibility/
|
|
782
778
|
* Hidden series
|
|
783
|
-
* @default true
|
|
784
|
-
* @apioption plotOptions.series.visible
|
|
785
|
-
*/
|
|
786
|
-
|
|
787
|
-
/**
|
|
788
|
-
* When using dual or multiple x axes, this number defines which xAxis
|
|
789
|
-
* the particular series is connected to. It refers to either the [axis
|
|
790
|
-
* id](#xAxis.id) or the index of the axis in the xAxis array, with
|
|
791
|
-
* 0 being the first.
|
|
792
|
-
*
|
|
793
|
-
* @type {Number|String}
|
|
794
|
-
* @default 0
|
|
795
|
-
* @product highcharts highstock
|
|
796
|
-
* @apioption series.xAxis
|
|
797
|
-
*/
|
|
798
|
-
|
|
799
|
-
/**
|
|
800
|
-
* When using dual or multiple y axes, this number defines which yAxis
|
|
801
|
-
* the particular series is connected to. It refers to either the [axis
|
|
802
|
-
* id](#yAxis.id) or the index of the axis in the yAxis array, with
|
|
803
|
-
* 0 being the first.
|
|
804
779
|
*
|
|
805
|
-
* @type
|
|
806
|
-
* @
|
|
807
|
-
*
|
|
808
|
-
* @default 0
|
|
809
|
-
* @product highcharts highstock
|
|
810
|
-
* @apioption series.yAxis
|
|
780
|
+
* @type {boolean}
|
|
781
|
+
* @default true
|
|
782
|
+
* @apioption plotOptions.series.visible
|
|
811
783
|
*/
|
|
812
784
|
|
|
813
785
|
/**
|
|
814
786
|
* Defines the Axis on which the zones are applied.
|
|
815
787
|
*
|
|
816
|
-
* @type {String}
|
|
817
788
|
* @see [zones](#plotOptions.series.zones)
|
|
789
|
+
*
|
|
818
790
|
* @sample {highcharts} highcharts/series/color-zones-zoneaxis-x/
|
|
819
791
|
* Zones on the X-Axis
|
|
820
792
|
* @sample {highstock} highcharts/series/color-zones-zoneaxis-x/
|
|
821
793
|
* Zones on the X-Axis
|
|
822
|
-
* @default y
|
|
823
|
-
* @since 4.1.0
|
|
824
|
-
* @product highcharts highstock
|
|
825
|
-
* @apioption plotOptions.series.zoneAxis
|
|
826
|
-
*/
|
|
827
|
-
|
|
828
|
-
/**
|
|
829
|
-
* Define the visual z index of the series.
|
|
830
794
|
*
|
|
831
|
-
* @type
|
|
832
|
-
* @
|
|
833
|
-
*
|
|
834
|
-
* @
|
|
835
|
-
*
|
|
836
|
-
* @sample {highstock} highcharts/plotoptions/series-zindex-default/
|
|
837
|
-
* With no z index, the series defined last are on top
|
|
838
|
-
* @sample {highstock} highcharts/plotoptions/series-zindex/
|
|
839
|
-
* With a z index, the series with the highest z index is on top
|
|
840
|
-
* @product highcharts highstock
|
|
841
|
-
* @apioption series.zIndex
|
|
795
|
+
* @type {string}
|
|
796
|
+
* @default y
|
|
797
|
+
* @since 4.1.0
|
|
798
|
+
* @product highcharts highstock
|
|
799
|
+
* @apioption plotOptions.series.zoneAxis
|
|
842
800
|
*/
|
|
843
801
|
|
|
844
802
|
/**
|
|
@@ -846,21 +804,21 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
846
804
|
* be attached to the series at run time using the `Highcharts.addEvent`
|
|
847
805
|
* function.
|
|
848
806
|
*/
|
|
807
|
+
events: {},
|
|
849
808
|
|
|
850
809
|
/**
|
|
851
810
|
* Fires after the series has finished its initial animation, or in
|
|
852
811
|
* case animation is disabled, immediately as the series is displayed.
|
|
853
812
|
*
|
|
854
|
-
* @
|
|
855
|
-
* @context Series
|
|
856
|
-
* @sample {highcharts}
|
|
857
|
-
* highcharts/plotoptions/series-events-afteranimate/
|
|
813
|
+
* @sample {highcharts} highcharts/plotoptions/series-events-afteranimate/
|
|
858
814
|
* Show label after animate
|
|
859
|
-
* @sample {highstock}
|
|
860
|
-
* highcharts/plotoptions/series-events-afteranimate/
|
|
815
|
+
* @sample {highstock} highcharts/plotoptions/series-events-afteranimate/
|
|
861
816
|
* Show label after animate
|
|
862
|
-
*
|
|
863
|
-
* @
|
|
817
|
+
*
|
|
818
|
+
* @type {Function}
|
|
819
|
+
* @since 4.0
|
|
820
|
+
* @product highcharts highstock
|
|
821
|
+
* @context Series
|
|
864
822
|
* @apioption plotOptions.series.events.afterAnimate
|
|
865
823
|
*/
|
|
866
824
|
|
|
@@ -871,28 +829,29 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
871
829
|
* found by `event.item`. Return `false` to prevent the default action
|
|
872
830
|
* which is to toggle the select state of the series.
|
|
873
831
|
*
|
|
874
|
-
* @
|
|
875
|
-
* @context Series
|
|
876
|
-
* @sample {highcharts}
|
|
877
|
-
* highcharts/plotoptions/series-events-checkboxclick/
|
|
832
|
+
* @sample {highcharts} highcharts/plotoptions/series-events-checkboxclick/
|
|
878
833
|
* Alert checkbox status
|
|
879
|
-
*
|
|
834
|
+
*
|
|
835
|
+
* @type {Function}
|
|
836
|
+
* @since 1.2.0
|
|
837
|
+
* @context Series
|
|
880
838
|
* @apioption plotOptions.series.events.checkboxClick
|
|
881
839
|
*/
|
|
882
840
|
|
|
883
841
|
/**
|
|
884
|
-
* Fires when the series is clicked. One parameter, `event`, is passed
|
|
885
|
-
*
|
|
842
|
+
* Fires when the series is clicked. One parameter, `event`, is passed to
|
|
843
|
+
* the function, containing common event information. Additionally,
|
|
886
844
|
* `event.point` holds a pointer to the nearest point on the graph.
|
|
887
845
|
*
|
|
888
|
-
* @type {Function}
|
|
889
|
-
* @context Series
|
|
890
846
|
* @sample {highcharts} highcharts/plotoptions/series-events-click/
|
|
891
847
|
* Alert click info
|
|
892
848
|
* @sample {highstock} stock/plotoptions/series-events-click/
|
|
893
849
|
* Alert click info
|
|
894
850
|
* @sample {highmaps} maps/plotoptions/series-events-click/
|
|
895
851
|
* Display click info in subtitle
|
|
852
|
+
*
|
|
853
|
+
* @type {Function}
|
|
854
|
+
* @context Series
|
|
896
855
|
* @apioption plotOptions.series.events.click
|
|
897
856
|
*/
|
|
898
857
|
|
|
@@ -900,11 +859,12 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
900
859
|
* Fires when the series is hidden after chart generation time, either
|
|
901
860
|
* by clicking the legend item or by calling `.hide()`.
|
|
902
861
|
*
|
|
903
|
-
* @type {Function}
|
|
904
|
-
* @context Series
|
|
905
862
|
* @sample {highcharts} highcharts/plotoptions/series-events-hide/
|
|
906
863
|
* Alert when the series is hidden by clicking the legend item
|
|
907
|
-
*
|
|
864
|
+
*
|
|
865
|
+
* @type {Function}
|
|
866
|
+
* @since 1.2.0
|
|
867
|
+
* @context Series
|
|
908
868
|
* @apioption plotOptions.series.events.hide
|
|
909
869
|
*/
|
|
910
870
|
|
|
@@ -914,11 +874,11 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
914
874
|
* is to toggle the visibility of the series. This can be prevented
|
|
915
875
|
* by returning `false` or calling `event.preventDefault()`.
|
|
916
876
|
*
|
|
917
|
-
* @
|
|
918
|
-
* @context Series
|
|
919
|
-
* @sample {highcharts}
|
|
920
|
-
* highcharts/plotoptions/series-events-legenditemclick/
|
|
877
|
+
* @sample {highcharts} highcharts/plotoptions/series-events-legenditemclick/
|
|
921
878
|
* Confirm hiding and showing
|
|
879
|
+
*
|
|
880
|
+
* @type {Function}
|
|
881
|
+
* @context Series
|
|
922
882
|
* @apioption plotOptions.series.events.legendItemClick
|
|
923
883
|
*/
|
|
924
884
|
|
|
@@ -929,14 +889,13 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
929
889
|
* doesn't happen before the mouse enters another graph or leaves the
|
|
930
890
|
* plot area.
|
|
931
891
|
*
|
|
932
|
-
* @
|
|
933
|
-
*
|
|
934
|
-
* @sample {highcharts}
|
|
935
|
-
* highcharts/plotoptions/series-events-mouseover-sticky/
|
|
936
|
-
* With sticky tracking by default
|
|
937
|
-
* @sample {highcharts}
|
|
938
|
-
* highcharts/plotoptions/series-events-mouseover-no-sticky/
|
|
892
|
+
* @sample {highcharts} highcharts/plotoptions/series-events-mouseover-sticky/
|
|
893
|
+
* With sticky tracking by default
|
|
894
|
+
* @sample {highcharts} highcharts/plotoptions/series-events-mouseover-no-sticky/
|
|
939
895
|
* Without sticky tracking
|
|
896
|
+
*
|
|
897
|
+
* @type {Function}
|
|
898
|
+
* @context Series
|
|
940
899
|
* @apioption plotOptions.series.events.mouseOut
|
|
941
900
|
*/
|
|
942
901
|
|
|
@@ -944,14 +903,13 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
944
903
|
* Fires when the mouse enters the graph. One parameter, `event`, is
|
|
945
904
|
* passed to the function, containing common event information.
|
|
946
905
|
*
|
|
947
|
-
* @
|
|
948
|
-
* @context Series
|
|
949
|
-
* @sample {highcharts}
|
|
950
|
-
* highcharts/plotoptions/series-events-mouseover-sticky/
|
|
906
|
+
* @sample {highcharts} highcharts/plotoptions/series-events-mouseover-sticky/
|
|
951
907
|
* With sticky tracking by default
|
|
952
|
-
* @sample {highcharts}
|
|
953
|
-
* highcharts/plotoptions/series-events-mouseover-no-sticky/
|
|
908
|
+
* @sample {highcharts} highcharts/plotoptions/series-events-mouseover-no-sticky/
|
|
954
909
|
* Without sticky tracking
|
|
910
|
+
*
|
|
911
|
+
* @type {Function}
|
|
912
|
+
* @context Series
|
|
955
913
|
* @apioption plotOptions.series.events.mouseOver
|
|
956
914
|
*/
|
|
957
915
|
|
|
@@ -959,16 +917,14 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
959
917
|
* Fires when the series is shown after chart generation time, either
|
|
960
918
|
* by clicking the legend item or by calling `.show()`.
|
|
961
919
|
*
|
|
962
|
-
* @type {Function}
|
|
963
|
-
* @context Series
|
|
964
920
|
* @sample {highcharts} highcharts/plotoptions/series-events-show/
|
|
965
921
|
* Alert when the series is shown by clicking the legend item.
|
|
966
|
-
*
|
|
922
|
+
*
|
|
923
|
+
* @type {Function}
|
|
924
|
+
* @since 1.2.0
|
|
925
|
+
* @context Series
|
|
967
926
|
* @apioption plotOptions.series.events.show
|
|
968
927
|
*/
|
|
969
|
-
events: {},
|
|
970
|
-
|
|
971
|
-
|
|
972
928
|
|
|
973
929
|
/**
|
|
974
930
|
* Options for the point markers of line-like series. Properties like
|
|
@@ -981,57 +937,56 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
981
937
|
* class names.
|
|
982
938
|
*/
|
|
983
939
|
marker: {
|
|
984
|
-
|
|
985
940
|
|
|
941
|
+
|
|
986
942
|
|
|
987
943
|
/**
|
|
988
944
|
* The width of the point marker's outline.
|
|
989
945
|
*
|
|
990
|
-
* @type {Number}
|
|
991
946
|
* @sample {highcharts} highcharts/plotoptions/series-marker-fillcolor/
|
|
992
947
|
* 2px blue marker
|
|
993
|
-
* @default 0
|
|
994
948
|
*/
|
|
995
949
|
lineWidth: 0,
|
|
996
950
|
|
|
997
|
-
|
|
998
951
|
/**
|
|
999
|
-
* The color of the point marker's outline. When `
|
|
1000
|
-
* or point's color is used.
|
|
952
|
+
* The color of the point marker's outline. When `undefined`, the
|
|
953
|
+
* series' or point's color is used.
|
|
1001
954
|
*
|
|
1002
|
-
* @type {Color}
|
|
1003
955
|
* @sample {highcharts} highcharts/plotoptions/series-marker-fillcolor/
|
|
1004
|
-
* Inherit from series color (
|
|
956
|
+
* Inherit from series color (undefined)
|
|
957
|
+
*
|
|
958
|
+
* @type {Highcharts.ColorString}
|
|
1005
959
|
*/
|
|
1006
960
|
lineColor: '#ffffff',
|
|
1007
961
|
|
|
1008
962
|
/**
|
|
1009
|
-
* The fill color of the point marker. When `
|
|
963
|
+
* The fill color of the point marker. When `undefined`, the series' or
|
|
1010
964
|
* point's color is used.
|
|
1011
965
|
*
|
|
1012
|
-
* @type {Color}
|
|
1013
966
|
* @sample {highcharts} highcharts/plotoptions/series-marker-fillcolor/
|
|
1014
967
|
* White fill
|
|
1015
|
-
*
|
|
968
|
+
*
|
|
969
|
+
* @type {Highcharts.ColorString}
|
|
1016
970
|
* @apioption plotOptions.series.marker.fillColor
|
|
1017
971
|
*/
|
|
1018
972
|
|
|
1019
973
|
|
|
1020
974
|
|
|
1021
975
|
/**
|
|
1022
|
-
* Enable or disable the point marker. If `
|
|
1023
|
-
* when the data is dense, and shown for more widespread data
|
|
976
|
+
* Enable or disable the point marker. If `undefined`, the markers are
|
|
977
|
+
* hidden when the data is dense, and shown for more widespread data
|
|
978
|
+
* points.
|
|
1024
979
|
*
|
|
1025
|
-
* @type {Boolean}
|
|
1026
980
|
* @sample {highcharts} highcharts/plotoptions/series-marker-enabled/
|
|
1027
981
|
* Disabled markers
|
|
1028
|
-
* @sample {highcharts}
|
|
1029
|
-
* highcharts/plotoptions/series-marker-enabled-false/
|
|
982
|
+
* @sample {highcharts} highcharts/plotoptions/series-marker-enabled-false/
|
|
1030
983
|
* Disabled in normal state but enabled on hover
|
|
1031
984
|
* @sample {highstock} stock/plotoptions/series-marker/
|
|
1032
985
|
* Enabled markers
|
|
1033
|
-
*
|
|
1034
|
-
* @
|
|
986
|
+
*
|
|
987
|
+
* @type {boolean}
|
|
988
|
+
* @default {highcharts} undefined
|
|
989
|
+
* @default {highstock} false
|
|
1035
990
|
* @apioption plotOptions.series.marker.enabled
|
|
1036
991
|
*/
|
|
1037
992
|
|
|
@@ -1039,22 +994,20 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1039
994
|
* Image markers only. Set the image width explicitly. When using this
|
|
1040
995
|
* option, a `width` must also be set.
|
|
1041
996
|
*
|
|
1042
|
-
* @
|
|
1043
|
-
* @sample {highcharts}
|
|
1044
|
-
* highcharts/plotoptions/series-marker-width-height/
|
|
997
|
+
* @sample {highcharts} highcharts/plotoptions/series-marker-width-height/
|
|
1045
998
|
* Fixed width and height
|
|
1046
|
-
* @sample {highstock}
|
|
1047
|
-
* highcharts/plotoptions/series-marker-width-height/
|
|
999
|
+
* @sample {highstock} highcharts/plotoptions/series-marker-width-height/
|
|
1048
1000
|
* Fixed width and height
|
|
1049
|
-
*
|
|
1050
|
-
* @
|
|
1001
|
+
*
|
|
1002
|
+
* @type {number}
|
|
1003
|
+
* @since 4.0.4
|
|
1051
1004
|
* @apioption plotOptions.series.marker.height
|
|
1052
1005
|
*/
|
|
1053
1006
|
|
|
1054
1007
|
/**
|
|
1055
|
-
* A predefined shape or symbol for the marker. When
|
|
1056
|
-
* is pulled from options.symbols. Other possible values are
|
|
1057
|
-
* "square", "diamond", "triangle" and "triangle-down".
|
|
1008
|
+
* A predefined shape or symbol for the marker. When undefined, the
|
|
1009
|
+
* symbol is pulled from options.symbols. Other possible values are
|
|
1010
|
+
* "circle", "square", "diamond", "triangle" and "triangle-down".
|
|
1058
1011
|
*
|
|
1059
1012
|
* Additionally, the URL to a graphic can be given on this form:
|
|
1060
1013
|
* "url(graphic.png)". Note that for the image to be applied to exported
|
|
@@ -1064,14 +1017,12 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1064
1017
|
* `Highcharts.SVGRenderer.prototype.symbols`. The callback is then
|
|
1065
1018
|
* used by its method name, as shown in the demo.
|
|
1066
1019
|
*
|
|
1067
|
-
* @validvalue [null, "circle", "square", "diamond", "triangle",
|
|
1068
|
-
* "triangle-down"]
|
|
1069
|
-
* @type {String}
|
|
1070
1020
|
* @sample {highcharts} highcharts/plotoptions/series-marker-symbol/
|
|
1071
1021
|
* Predefined, graphic and custom markers
|
|
1072
1022
|
* @sample {highstock} highcharts/plotoptions/series-marker-symbol/
|
|
1073
1023
|
* Predefined, graphic and custom markers
|
|
1074
|
-
*
|
|
1024
|
+
*
|
|
1025
|
+
* @type {string}
|
|
1075
1026
|
* @apioption plotOptions.series.marker.symbol
|
|
1076
1027
|
*/
|
|
1077
1028
|
|
|
@@ -1082,9 +1033,10 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1082
1033
|
* as multiples of the `marker.radius`. In other words, the default
|
|
1083
1034
|
* value of 2 means points are hidden if overlapping horizontally.
|
|
1084
1035
|
*
|
|
1085
|
-
* @since 6.0.5
|
|
1086
1036
|
* @sample highcharts/plotoptions/series-marker-enabledthreshold
|
|
1087
1037
|
* A higher threshold
|
|
1038
|
+
*
|
|
1039
|
+
* @since 6.0.5
|
|
1088
1040
|
*/
|
|
1089
1041
|
enabledThreshold: 2,
|
|
1090
1042
|
|
|
@@ -1100,19 +1052,16 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1100
1052
|
* Image markers only. Set the image width explicitly. When using this
|
|
1101
1053
|
* option, a `height` must also be set.
|
|
1102
1054
|
*
|
|
1103
|
-
* @
|
|
1104
|
-
* @sample {highcharts}
|
|
1105
|
-
* highcharts/plotoptions/series-marker-width-height/
|
|
1055
|
+
* @sample {highcharts} highcharts/plotoptions/series-marker-width-height/
|
|
1106
1056
|
* Fixed width and height
|
|
1107
|
-
* @sample {highstock}
|
|
1108
|
-
* highcharts/plotoptions/series-marker-width-height/
|
|
1057
|
+
* @sample {highstock} highcharts/plotoptions/series-marker-width-height/
|
|
1109
1058
|
* Fixed width and height
|
|
1110
|
-
*
|
|
1111
|
-
* @
|
|
1059
|
+
*
|
|
1060
|
+
* @type {number}
|
|
1061
|
+
* @since 4.0.4
|
|
1112
1062
|
* @apioption plotOptions.series.marker.width
|
|
1113
1063
|
*/
|
|
1114
1064
|
|
|
1115
|
-
|
|
1116
1065
|
/**
|
|
1117
1066
|
* States for a single point marker.
|
|
1118
1067
|
*/
|
|
@@ -1121,73 +1070,68 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1121
1070
|
/**
|
|
1122
1071
|
* The normal state of a single point marker. Currently only used
|
|
1123
1072
|
* for setting animation when returning to normal state from hover.
|
|
1124
|
-
*
|
|
1125
|
-
* @type {Object}
|
|
1126
1073
|
*/
|
|
1127
1074
|
normal: {
|
|
1128
1075
|
/**
|
|
1129
1076
|
* Animation when returning to normal state after hovering.
|
|
1130
1077
|
*
|
|
1131
|
-
* @type {
|
|
1078
|
+
* @type {boolean|Highcharts.AnimationOptionsObject}
|
|
1132
1079
|
*/
|
|
1133
1080
|
animation: true
|
|
1134
1081
|
},
|
|
1135
1082
|
|
|
1136
1083
|
/**
|
|
1137
1084
|
* The hover state for a single point marker.
|
|
1138
|
-
*
|
|
1139
|
-
* @type {Object}
|
|
1140
1085
|
*/
|
|
1141
1086
|
hover: {
|
|
1142
1087
|
|
|
1143
1088
|
/**
|
|
1144
1089
|
* Animation when hovering over the marker.
|
|
1145
1090
|
*
|
|
1146
|
-
* @type {
|
|
1091
|
+
* @type {boolean|Highcharts.AnimationOptionsObject}
|
|
1147
1092
|
*/
|
|
1148
1093
|
animation: {
|
|
1094
|
+
|
|
1149
1095
|
duration: 50
|
|
1096
|
+
|
|
1150
1097
|
},
|
|
1151
1098
|
|
|
1152
1099
|
/**
|
|
1153
1100
|
* Enable or disable the point marker.
|
|
1154
1101
|
*
|
|
1155
|
-
* @sample {highcharts}
|
|
1156
|
-
* highcharts/plotoptions/series-marker-states-hover-enabled/
|
|
1102
|
+
* @sample {highcharts} highcharts/plotoptions/series-marker-states-hover-enabled/
|
|
1157
1103
|
* Disabled hover state
|
|
1158
1104
|
*/
|
|
1159
1105
|
enabled: true,
|
|
1160
1106
|
|
|
1161
1107
|
/**
|
|
1162
|
-
* The fill color of the marker in hover state. When
|
|
1163
|
-
* series' or point's fillColor for normal
|
|
1108
|
+
* The fill color of the marker in hover state. When
|
|
1109
|
+
* `undefined`, the series' or point's fillColor for normal
|
|
1110
|
+
* state is used.
|
|
1164
1111
|
*
|
|
1165
|
-
* @type {
|
|
1166
|
-
* @default null
|
|
1112
|
+
* @type {Highcharts.ColorString}
|
|
1167
1113
|
* @apioption plotOptions.series.marker.states.hover.fillColor
|
|
1168
1114
|
*/
|
|
1169
1115
|
|
|
1170
1116
|
/**
|
|
1171
|
-
* The color of the point marker's outline. When `
|
|
1172
|
-
* series' or point's lineColor for normal state is used.
|
|
1117
|
+
* The color of the point marker's outline. When `undefined`,
|
|
1118
|
+
* the series' or point's lineColor for normal state is used.
|
|
1173
1119
|
*
|
|
1174
|
-
* @
|
|
1175
|
-
*
|
|
1176
|
-
*
|
|
1177
|
-
*
|
|
1178
|
-
* @default null
|
|
1120
|
+
* @sample {highcharts} highcharts/plotoptions/series-marker-states-hover-linecolor/
|
|
1121
|
+
* White fill color, black line color
|
|
1122
|
+
*
|
|
1123
|
+
* @type {Highcharts.ColorString}
|
|
1179
1124
|
* @apioption plotOptions.series.marker.states.hover.lineColor
|
|
1180
1125
|
*/
|
|
1181
1126
|
|
|
1182
1127
|
/**
|
|
1183
|
-
* The width of the point marker's outline. When `
|
|
1184
|
-
* series' or point's lineWidth for normal state is used.
|
|
1128
|
+
* The width of the point marker's outline. When `undefined`,
|
|
1129
|
+
* the series' or point's lineWidth for normal state is used.
|
|
1130
|
+
*
|
|
1131
|
+
* @sample {highcharts} highcharts/plotoptions/series-marker-states-hover-linewidth/
|
|
1132
|
+
* 3px line width
|
|
1185
1133
|
*
|
|
1186
|
-
* @type {
|
|
1187
|
-
* @sample {highcharts}
|
|
1188
|
-
* highcharts/plotoptions/series-marker-states-hover-linewidth/
|
|
1189
|
-
* 3px line width
|
|
1190
|
-
* @default null
|
|
1134
|
+
* @type {number}
|
|
1191
1135
|
* @apioption plotOptions.series.marker.states.hover.lineWidth
|
|
1192
1136
|
*/
|
|
1193
1137
|
|
|
@@ -1197,10 +1141,10 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1197
1141
|
* #plotOptions.series.marker.states.hover.radiusPlus)
|
|
1198
1142
|
* option.
|
|
1199
1143
|
*
|
|
1200
|
-
* @
|
|
1201
|
-
* @sample {highcharts}
|
|
1202
|
-
* highcharts/plotoptions/series-marker-states-hover-radius/
|
|
1144
|
+
* @sample {highcharts} highcharts/plotoptions/series-marker-states-hover-radius/
|
|
1203
1145
|
* 10px radius
|
|
1146
|
+
*
|
|
1147
|
+
* @type {number}
|
|
1204
1148
|
* @apioption plotOptions.series.marker.states.hover.radius
|
|
1205
1149
|
*/
|
|
1206
1150
|
|
|
@@ -1208,12 +1152,11 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1208
1152
|
* The number of pixels to increase the radius of the hovered
|
|
1209
1153
|
* point.
|
|
1210
1154
|
*
|
|
1211
|
-
* @sample {highcharts}
|
|
1212
|
-
* highcharts/plotoptions/series-states-hover-linewidthplus/
|
|
1155
|
+
* @sample {highcharts} highcharts/plotoptions/series-states-hover-linewidthplus/
|
|
1213
1156
|
* 5 pixels greater radius on hover
|
|
1214
|
-
* @sample {highstock}
|
|
1215
|
-
* highcharts/plotoptions/series-states-hover-linewidthplus/
|
|
1157
|
+
* @sample {highstock} highcharts/plotoptions/series-states-hover-linewidthplus/
|
|
1216
1158
|
* 5 pixels greater radius on hover
|
|
1159
|
+
*
|
|
1217
1160
|
* @since 4.0.3
|
|
1218
1161
|
*/
|
|
1219
1162
|
radiusPlus: 2,
|
|
@@ -1223,20 +1166,20 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1223
1166
|
/**
|
|
1224
1167
|
* The additional line width for a hovered point.
|
|
1225
1168
|
*
|
|
1226
|
-
* @sample {highcharts}
|
|
1227
|
-
* highcharts/plotoptions/series-states-hover-linewidthplus/
|
|
1169
|
+
* @sample {highcharts} highcharts/plotoptions/series-states-hover-linewidthplus/
|
|
1228
1170
|
* 2 pixels wider on hover
|
|
1229
|
-
* @sample {highstock}
|
|
1230
|
-
* highcharts/plotoptions/series-states-hover-linewidthplus/
|
|
1171
|
+
* @sample {highstock} highcharts/plotoptions/series-states-hover-linewidthplus/
|
|
1231
1172
|
* 2 pixels wider on hover
|
|
1173
|
+
*
|
|
1232
1174
|
* @since 4.0.3
|
|
1233
1175
|
*/
|
|
1234
1176
|
lineWidthPlus: 1
|
|
1177
|
+
|
|
1235
1178
|
|
|
1236
|
-
},
|
|
1237
|
-
|
|
1238
1179
|
|
|
1180
|
+
},
|
|
1239
1181
|
|
|
1182
|
+
|
|
1240
1183
|
|
|
1241
1184
|
/**
|
|
1242
1185
|
* The appearance of the point marker when selected. In order to
|
|
@@ -1249,68 +1192,64 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1249
1192
|
* The radius of the point marker. In hover state, it defaults
|
|
1250
1193
|
* to the normal state's radius + 2.
|
|
1251
1194
|
*
|
|
1252
|
-
* @
|
|
1253
|
-
* @sample {highcharts}
|
|
1254
|
-
* highcharts/plotoptions/series-marker-states-select-radius/
|
|
1195
|
+
* @sample {highcharts} highcharts/plotoptions/series-marker-states-select-radius/
|
|
1255
1196
|
* 10px radius for selected points
|
|
1197
|
+
*
|
|
1198
|
+
* @type {number}
|
|
1256
1199
|
* @apioption plotOptions.series.marker.states.select.radius
|
|
1257
1200
|
*/
|
|
1258
1201
|
|
|
1259
1202
|
/**
|
|
1260
1203
|
* Enable or disable visible feedback for selection.
|
|
1261
1204
|
*
|
|
1262
|
-
* @
|
|
1263
|
-
* @sample {highcharts}
|
|
1264
|
-
* highcharts/plotoptions/series-marker-states-select-enabled/
|
|
1205
|
+
* @sample {highcharts} highcharts/plotoptions/series-marker-states-select-enabled/
|
|
1265
1206
|
* Disabled select state
|
|
1266
|
-
*
|
|
1207
|
+
*
|
|
1208
|
+
* @type {boolean}
|
|
1209
|
+
* @default true
|
|
1267
1210
|
* @apioption plotOptions.series.marker.states.select.enabled
|
|
1268
1211
|
*/
|
|
1269
1212
|
|
|
1270
1213
|
/**
|
|
1271
1214
|
* The fill color of the point marker.
|
|
1272
1215
|
*
|
|
1273
|
-
* @
|
|
1274
|
-
* @sample {highcharts}
|
|
1275
|
-
* highcharts/plotoptions/series-marker-states-select-fillcolor/
|
|
1216
|
+
* @sample {highcharts} highcharts/plotoptions/series-marker-states-select-fillcolor/
|
|
1276
1217
|
* Solid red discs for selected points
|
|
1277
|
-
*
|
|
1218
|
+
*
|
|
1219
|
+
* @type {Highcharts.ColorString}
|
|
1278
1220
|
*/
|
|
1279
1221
|
fillColor: '#cccccc',
|
|
1280
1222
|
|
|
1281
1223
|
/**
|
|
1282
|
-
* The color of the point marker's outline. When `
|
|
1283
|
-
* series' or point's color is used.
|
|
1224
|
+
* The color of the point marker's outline. When `undefined`,
|
|
1225
|
+
* the series' or point's color is used.
|
|
1284
1226
|
*
|
|
1285
|
-
* @
|
|
1286
|
-
* @sample {highcharts}
|
|
1287
|
-
* highcharts/plotoptions/series-marker-states-select-linecolor/
|
|
1227
|
+
* @sample {highcharts} highcharts/plotoptions/series-marker-states-select-linecolor/
|
|
1288
1228
|
* Red line color for selected points
|
|
1289
|
-
*
|
|
1229
|
+
*
|
|
1230
|
+
* @type {Highcharts.ColorString}
|
|
1290
1231
|
*/
|
|
1291
1232
|
lineColor: '#000000',
|
|
1292
1233
|
|
|
1293
1234
|
/**
|
|
1294
1235
|
* The width of the point marker's outline.
|
|
1295
1236
|
*
|
|
1296
|
-
* @sample {highcharts}
|
|
1297
|
-
* highcharts/plotoptions/series-marker-states-select-linewidth/
|
|
1237
|
+
* @sample {highcharts} highcharts/plotoptions/series-marker-states-select-linewidth/
|
|
1298
1238
|
* 3px line width for selected points
|
|
1299
1239
|
*/
|
|
1300
1240
|
lineWidth: 2
|
|
1301
1241
|
}
|
|
1242
|
+
|
|
1302
1243
|
|
|
1244
|
+
|
|
1303
1245
|
}
|
|
1304
1246
|
},
|
|
1305
1247
|
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
1248
|
/**
|
|
1309
1249
|
* Properties for each single point.
|
|
1310
1250
|
*/
|
|
1311
1251
|
point: {
|
|
1312
1252
|
|
|
1313
|
-
|
|
1314
1253
|
/**
|
|
1315
1254
|
* Fires when a point is clicked. One parameter, `event`, is passed
|
|
1316
1255
|
* to the function, containing common event information.
|
|
@@ -1319,23 +1258,19 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1319
1258
|
* action for the point's click event is to toggle the point's
|
|
1320
1259
|
* select state. Returning `false` cancels this action.
|
|
1321
1260
|
*
|
|
1322
|
-
* @
|
|
1323
|
-
* @context Point
|
|
1324
|
-
* @sample {highcharts}
|
|
1325
|
-
* highcharts/plotoptions/series-point-events-click/
|
|
1261
|
+
* @sample {highcharts} highcharts/plotoptions/series-point-events-click/
|
|
1326
1262
|
* Click marker to alert values
|
|
1327
|
-
* @sample {highcharts}
|
|
1328
|
-
* highcharts/plotoptions/series-point-events-click-column/
|
|
1263
|
+
* @sample {highcharts} highcharts/plotoptions/series-point-events-click-column/
|
|
1329
1264
|
* Click column
|
|
1330
|
-
* @sample {highcharts}
|
|
1331
|
-
* highcharts/plotoptions/series-point-events-click-url/
|
|
1265
|
+
* @sample {highcharts} highcharts/plotoptions/series-point-events-click-url/
|
|
1332
1266
|
* Go to URL
|
|
1333
|
-
* @sample {highmaps}
|
|
1334
|
-
* maps/plotoptions/series-point-events-click/
|
|
1267
|
+
* @sample {highmaps} maps/plotoptions/series-point-events-click/
|
|
1335
1268
|
* Click marker to display values
|
|
1336
|
-
* @sample {highmaps}
|
|
1337
|
-
* maps/plotoptions/series-point-events-click-url/
|
|
1269
|
+
* @sample {highmaps} maps/plotoptions/series-point-events-click-url/
|
|
1338
1270
|
* Go to URL
|
|
1271
|
+
*
|
|
1272
|
+
* @type {Function}
|
|
1273
|
+
* @context Point
|
|
1339
1274
|
* @apioption plotOptions.series.point.events.click
|
|
1340
1275
|
*/
|
|
1341
1276
|
|
|
@@ -1344,11 +1279,11 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1344
1279
|
* parameter, `event`, is passed to the function, containing common
|
|
1345
1280
|
* event information.
|
|
1346
1281
|
*
|
|
1347
|
-
* @
|
|
1348
|
-
* @context Point
|
|
1349
|
-
* @sample {highcharts}
|
|
1350
|
-
* highcharts/plotoptions/series-point-events-mouseover/
|
|
1282
|
+
* @sample {highcharts} highcharts/plotoptions/series-point-events-mouseover/
|
|
1351
1283
|
* Show values in the chart's corner on mouse over
|
|
1284
|
+
*
|
|
1285
|
+
* @type {Function}
|
|
1286
|
+
* @context Point
|
|
1352
1287
|
* @apioption plotOptions.series.point.events.mouseOut
|
|
1353
1288
|
*/
|
|
1354
1289
|
|
|
@@ -1357,11 +1292,11 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1357
1292
|
* parameter, `event`, is passed to the function, containing common
|
|
1358
1293
|
* event information.
|
|
1359
1294
|
*
|
|
1360
|
-
* @
|
|
1361
|
-
* @context Point
|
|
1362
|
-
* @sample {highcharts}
|
|
1363
|
-
* highcharts/plotoptions/series-point-events-mouseover/
|
|
1295
|
+
* @sample {highcharts} highcharts/plotoptions/series-point-events-mouseover/
|
|
1364
1296
|
* Show values in the chart's corner on mouse over
|
|
1297
|
+
*
|
|
1298
|
+
* @type {Function}
|
|
1299
|
+
* @context Point
|
|
1365
1300
|
* @apioption plotOptions.series.point.events.mouseOver
|
|
1366
1301
|
*/
|
|
1367
1302
|
|
|
@@ -1370,12 +1305,12 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1370
1305
|
* parameter, `event`, is passed to the function. Returning `false`
|
|
1371
1306
|
* cancels the operation.
|
|
1372
1307
|
*
|
|
1373
|
-
* @
|
|
1374
|
-
* @context Point
|
|
1375
|
-
* @sample {highcharts}
|
|
1376
|
-
* highcharts/plotoptions/series-point-events-remove/
|
|
1308
|
+
* @sample {highcharts} highcharts/plotoptions/series-point-events-remove/
|
|
1377
1309
|
* Remove point and confirm
|
|
1378
|
-
*
|
|
1310
|
+
*
|
|
1311
|
+
* @type {Function}
|
|
1312
|
+
* @since 1.2.0
|
|
1313
|
+
* @context Point
|
|
1379
1314
|
* @apioption plotOptions.series.point.events.remove
|
|
1380
1315
|
*/
|
|
1381
1316
|
|
|
@@ -1384,15 +1319,14 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1384
1319
|
* following a click on the point. One parameter, `event`, is passed
|
|
1385
1320
|
* to the function. Returning `false` cancels the operation.
|
|
1386
1321
|
*
|
|
1387
|
-
* @
|
|
1388
|
-
* @context Point
|
|
1389
|
-
* @sample {highcharts}
|
|
1390
|
-
* highcharts/plotoptions/series-point-events-select/
|
|
1322
|
+
* @sample {highcharts} highcharts/plotoptions/series-point-events-select/
|
|
1391
1323
|
* Report the last selected point
|
|
1392
|
-
* @sample {highmaps}
|
|
1393
|
-
* maps/plotoptions/series-allowpointselect/
|
|
1324
|
+
* @sample {highmaps} maps/plotoptions/series-allowpointselect/
|
|
1394
1325
|
* Report select and unselect
|
|
1395
|
-
*
|
|
1326
|
+
*
|
|
1327
|
+
* @type {Function}
|
|
1328
|
+
* @since 1.2.0
|
|
1329
|
+
* @context Point
|
|
1396
1330
|
* @apioption plotOptions.series.point.events.select
|
|
1397
1331
|
*/
|
|
1398
1332
|
|
|
@@ -1402,15 +1336,14 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1402
1336
|
* to the function.
|
|
1403
1337
|
* Returning `false` cancels the operation.
|
|
1404
1338
|
*
|
|
1405
|
-
* @
|
|
1406
|
-
* @context Point
|
|
1407
|
-
* @sample {highcharts}
|
|
1408
|
-
* highcharts/plotoptions/series-point-events-unselect/
|
|
1339
|
+
* @sample {highcharts} highcharts/plotoptions/series-point-events-unselect/
|
|
1409
1340
|
* Report the last unselected point
|
|
1410
|
-
* @sample {highmaps}
|
|
1411
|
-
* maps/plotoptions/series-allowpointselect/
|
|
1341
|
+
* @sample {highmaps} maps/plotoptions/series-allowpointselect/
|
|
1412
1342
|
* Report select and unselect
|
|
1413
|
-
*
|
|
1343
|
+
*
|
|
1344
|
+
* @type {Function}
|
|
1345
|
+
* @since 1.2.0
|
|
1346
|
+
* @context Point
|
|
1414
1347
|
* @apioption plotOptions.series.point.events.unselect
|
|
1415
1348
|
*/
|
|
1416
1349
|
|
|
@@ -1420,12 +1353,12 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1420
1353
|
* function. The new point options can be accessed through
|
|
1421
1354
|
* `event.options`. Returning `false` cancels the operation.
|
|
1422
1355
|
*
|
|
1423
|
-
* @
|
|
1424
|
-
* @context Point
|
|
1425
|
-
* @sample {highcharts}
|
|
1426
|
-
* highcharts/plotoptions/series-point-events-update/
|
|
1356
|
+
* @sample {highcharts} highcharts/plotoptions/series-point-events-update/
|
|
1427
1357
|
* Confirm point updating
|
|
1428
|
-
*
|
|
1358
|
+
*
|
|
1359
|
+
* @type {Function}
|
|
1360
|
+
* @since 1.2.0
|
|
1361
|
+
* @context Point
|
|
1429
1362
|
* @apioption plotOptions.series.point.events.update
|
|
1430
1363
|
*/
|
|
1431
1364
|
|
|
@@ -1438,12 +1371,19 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1438
1371
|
|
|
1439
1372
|
|
|
1440
1373
|
/**
|
|
1441
|
-
* Options for the series data labels, appearing next to each data
|
|
1442
|
-
* point.
|
|
1374
|
+
* Options for the series data labels, appearing next to each data point.
|
|
1443
1375
|
*
|
|
1444
|
-
*
|
|
1376
|
+
* Since v6.2.0, multiple data labels can be applied to each single point by
|
|
1377
|
+
* defining them as an array of configs.
|
|
1378
|
+
*
|
|
1379
|
+
* In styled mode, the data labels can be styled with the
|
|
1445
1380
|
* `.highcharts-data-label-box` and `.highcharts-data-label` class names
|
|
1446
|
-
* ([see example](
|
|
1381
|
+
* ([see example](https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/css/series-datalabels)).
|
|
1382
|
+
*
|
|
1383
|
+
* @sample highcharts/plotoptions/series-datalabels-enabled
|
|
1384
|
+
* Data labels enabled
|
|
1385
|
+
* @sample highcharts/plotoptions/series-datalabels-multiple
|
|
1386
|
+
* Multiple data labels on a bar series
|
|
1447
1387
|
*/
|
|
1448
1388
|
dataLabels: {
|
|
1449
1389
|
|
|
@@ -1456,12 +1396,10 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1456
1396
|
* [inside](#plotOptions.column.dataLabels.inside) option. Can be one of
|
|
1457
1397
|
* `left`, `center` or `right`.
|
|
1458
1398
|
*
|
|
1459
|
-
* @
|
|
1460
|
-
* @type {String}
|
|
1461
|
-
* @sample {highcharts}
|
|
1462
|
-
* highcharts/plotoptions/series-datalabels-align-left/
|
|
1399
|
+
* @sample {highcharts} highcharts/plotoptions/series-datalabels-align-left/
|
|
1463
1400
|
* Left aligned
|
|
1464
|
-
*
|
|
1401
|
+
*
|
|
1402
|
+
* @validvalue ["left", "center", "right"]
|
|
1465
1403
|
*/
|
|
1466
1404
|
align: 'center',
|
|
1467
1405
|
|
|
@@ -1471,11 +1409,12 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1471
1409
|
* sensitive for overlapping, the [dataLabels.padding](
|
|
1472
1410
|
* #plotOptions.series.dataLabels.padding) can be set to 0.
|
|
1473
1411
|
*
|
|
1474
|
-
* @type {Boolean}
|
|
1475
1412
|
* @sample highcharts/plotoptions/series-datalabels-allowoverlap-false/
|
|
1476
1413
|
* Don't allow overlap
|
|
1477
|
-
*
|
|
1478
|
-
* @
|
|
1414
|
+
*
|
|
1415
|
+
* @type {boolean}
|
|
1416
|
+
* @default false
|
|
1417
|
+
* @since 4.1.0
|
|
1479
1418
|
* @apioption plotOptions.series.dataLabels.allowOverlap
|
|
1480
1419
|
*/
|
|
1481
1420
|
|
|
@@ -1483,15 +1422,16 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1483
1422
|
/**
|
|
1484
1423
|
* The border radius in pixels for the data label.
|
|
1485
1424
|
*
|
|
1486
|
-
* @type {Number}
|
|
1487
1425
|
* @sample {highcharts} highcharts/plotoptions/series-datalabels-box/
|
|
1488
1426
|
* Data labels box options
|
|
1489
1427
|
* @sample {highstock} highcharts/plotoptions/series-datalabels-box/
|
|
1490
1428
|
* Data labels box options
|
|
1491
1429
|
* @sample {highmaps} maps/plotoptions/series-datalabels-box/
|
|
1492
1430
|
* Data labels box options
|
|
1493
|
-
*
|
|
1494
|
-
* @
|
|
1431
|
+
*
|
|
1432
|
+
* @type {number}
|
|
1433
|
+
* @default 0
|
|
1434
|
+
* @since 2.2.1
|
|
1495
1435
|
* @apioption plotOptions.series.dataLabels.borderRadius
|
|
1496
1436
|
*/
|
|
1497
1437
|
|
|
@@ -1499,13 +1439,14 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1499
1439
|
/**
|
|
1500
1440
|
* The border width in pixels for the data label.
|
|
1501
1441
|
*
|
|
1502
|
-
* @type {Number}
|
|
1503
1442
|
* @sample {highcharts} highcharts/plotoptions/series-datalabels-box/
|
|
1504
1443
|
* Data labels box options
|
|
1505
1444
|
* @sample {highstock} highcharts/plotoptions/series-datalabels-box/
|
|
1506
1445
|
* Data labels box options
|
|
1507
|
-
*
|
|
1508
|
-
* @
|
|
1446
|
+
*
|
|
1447
|
+
* @type {number}
|
|
1448
|
+
* @default 0
|
|
1449
|
+
* @since 2.2.1
|
|
1509
1450
|
* @apioption plotOptions.series.dataLabels.borderWidth
|
|
1510
1451
|
*/
|
|
1511
1452
|
|
|
@@ -1514,30 +1455,35 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1514
1455
|
* can be used to give each series' or point's data label unique
|
|
1515
1456
|
* styling. In addition to this option, a default color class name is
|
|
1516
1457
|
* added so that we can give the labels a
|
|
1517
|
-
* [contrast text shadow](
|
|
1458
|
+
* [contrast text shadow](https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/css/data-label-contrast/).
|
|
1459
|
+
*
|
|
1460
|
+
* @sample {highcharts} highcharts/css/series-datalabels/
|
|
1461
|
+
* Styling by CSS
|
|
1462
|
+
* @sample {highstock} highcharts/css/series-datalabels/
|
|
1463
|
+
* Styling by CSS
|
|
1464
|
+
* @sample {highmaps} highcharts/css/series-datalabels/
|
|
1465
|
+
* Styling by CSS
|
|
1518
1466
|
*
|
|
1519
|
-
* @type
|
|
1520
|
-
* @
|
|
1521
|
-
* @sample {highstock} highcharts/css/series-datalabels/ Styling by CSS
|
|
1522
|
-
* @sample {highmaps} highcharts/css/series-datalabels/ Styling by CSS
|
|
1523
|
-
* @since 5.0.0
|
|
1467
|
+
* @type {string}
|
|
1468
|
+
* @since 5.0.0
|
|
1524
1469
|
* @apioption plotOptions.series.dataLabels.className
|
|
1525
1470
|
*/
|
|
1526
1471
|
|
|
1527
1472
|
/**
|
|
1528
|
-
* The text color for the data labels. Defaults to `
|
|
1529
|
-
* series types, like column or map, the data labels can be
|
|
1530
|
-
* the points. In this case the data label will be drawn
|
|
1531
|
-
* contrast by default. Additionally, it will be given a
|
|
1532
|
-
* style with the opposite color, to further increase the
|
|
1533
|
-
* can be overridden by setting the `text-outline` style
|
|
1534
|
-
* the `dataLabels.style` option.
|
|
1473
|
+
* The text color for the data labels. Defaults to `undefined`. For
|
|
1474
|
+
* certain series types, like column or map, the data labels can be
|
|
1475
|
+
* drawn inside the points. In this case the data label will be drawn
|
|
1476
|
+
* with maximum contrast by default. Additionally, it will be given a
|
|
1477
|
+
* `text-outline` style with the opposite color, to further increase the
|
|
1478
|
+
* contrast. This can be overridden by setting the `text-outline` style
|
|
1479
|
+
* to `none` in the `dataLabels.style` option.
|
|
1535
1480
|
*
|
|
1536
|
-
* @type {Color}
|
|
1537
1481
|
* @sample {highcharts} highcharts/plotoptions/series-datalabels-color/
|
|
1538
1482
|
* Red data labels
|
|
1539
1483
|
* @sample {highmaps} maps/demo/color-axis/
|
|
1540
1484
|
* White data labels
|
|
1485
|
+
*
|
|
1486
|
+
* @type {Highcharts.ColorString}
|
|
1541
1487
|
* @apioption plotOptions.series.dataLabels.color
|
|
1542
1488
|
*/
|
|
1543
1489
|
|
|
@@ -1546,9 +1492,9 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1546
1492
|
* default, the data label is moved inside the plot area according to
|
|
1547
1493
|
* the [overflow](#plotOptions.series.dataLabels.overflow) option.
|
|
1548
1494
|
*
|
|
1549
|
-
* @type
|
|
1550
|
-
* @default
|
|
1551
|
-
* @since
|
|
1495
|
+
* @type {boolean}
|
|
1496
|
+
* @default true
|
|
1497
|
+
* @since 2.3.3
|
|
1552
1498
|
* @apioption plotOptions.series.dataLabels.crop
|
|
1553
1499
|
*/
|
|
1554
1500
|
|
|
@@ -1556,41 +1502,41 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1556
1502
|
* Whether to defer displaying the data labels until the initial series
|
|
1557
1503
|
* animation has finished.
|
|
1558
1504
|
*
|
|
1559
|
-
* @type
|
|
1560
|
-
* @default
|
|
1561
|
-
* @since
|
|
1562
|
-
* @product
|
|
1505
|
+
* @type {boolean}
|
|
1506
|
+
* @default true
|
|
1507
|
+
* @since 4.0
|
|
1508
|
+
* @product highcharts highstock gantt
|
|
1563
1509
|
* @apioption plotOptions.series.dataLabels.defer
|
|
1564
1510
|
*/
|
|
1565
1511
|
|
|
1566
1512
|
/**
|
|
1567
1513
|
* Enable or disable the data labels.
|
|
1568
1514
|
*
|
|
1569
|
-
* @
|
|
1570
|
-
*
|
|
1571
|
-
*
|
|
1515
|
+
* @sample {highcharts} highcharts/plotoptions/series-datalabels-enabled/
|
|
1516
|
+
* Data labels enabled
|
|
1517
|
+
* @sample {highmaps} maps/demo/color-axis/
|
|
1572
1518
|
* Data labels enabled
|
|
1573
|
-
*
|
|
1574
|
-
* @
|
|
1519
|
+
*
|
|
1520
|
+
* @type {boolean}
|
|
1521
|
+
* @default false
|
|
1575
1522
|
* @apioption plotOptions.series.dataLabels.enabled
|
|
1576
1523
|
*/
|
|
1577
1524
|
|
|
1578
1525
|
/**
|
|
1579
|
-
* A [format string](
|
|
1526
|
+
* A [format string](https://www.highcharts.com/docs/chart-concepts/labels-and-string-formatting)
|
|
1580
1527
|
* for the data label. Available variables are the same as for
|
|
1581
1528
|
* `formatter`.
|
|
1582
1529
|
*
|
|
1583
|
-
* @
|
|
1584
|
-
* @sample {highcharts|highstock}
|
|
1585
|
-
* highcharts/plotoptions/series-datalabels-format/
|
|
1530
|
+
* @sample {highcharts|highstock} highcharts/plotoptions/series-datalabels-format/
|
|
1586
1531
|
* Add a unit
|
|
1587
|
-
* @sample {highmaps}
|
|
1588
|
-
* maps/plotoptions/series-datalabels-format/
|
|
1532
|
+
* @sample {highmaps} maps/plotoptions/series-datalabels-format/
|
|
1589
1533
|
* Formatted value in the data label
|
|
1590
|
-
*
|
|
1591
|
-
* @
|
|
1592
|
-
* @default
|
|
1593
|
-
* @
|
|
1534
|
+
*
|
|
1535
|
+
* @type {string}
|
|
1536
|
+
* @default {highcharts} {y}
|
|
1537
|
+
* @default {highstock} {y}
|
|
1538
|
+
* @default {highmaps} {point.value}
|
|
1539
|
+
* @since 3.0
|
|
1594
1540
|
* @apioption plotOptions.series.dataLabels.format
|
|
1595
1541
|
*/
|
|
1596
1542
|
|
|
@@ -1659,15 +1605,17 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1659
1605
|
*
|
|
1660
1606
|
* </table>
|
|
1661
1607
|
*
|
|
1662
|
-
* @type {Function}
|
|
1663
1608
|
* @sample {highmaps} maps/plotoptions/series-datalabels-format/
|
|
1664
1609
|
* Formatted value
|
|
1610
|
+
*
|
|
1611
|
+
* @type {Highcharts.FormatterCallbackFunction}
|
|
1612
|
+
* @default function () { return this.y; }
|
|
1665
1613
|
*/
|
|
1666
1614
|
formatter: function () {
|
|
1667
1615
|
return this.y === null ? '' : H.numberFormat(this.y, -1);
|
|
1668
1616
|
},
|
|
1669
|
-
|
|
1670
1617
|
|
|
1618
|
+
|
|
1671
1619
|
|
|
1672
1620
|
/**
|
|
1673
1621
|
* Styles for the label. The default `color` setting is `"contrast"`,
|
|
@@ -1685,17 +1633,38 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1685
1633
|
* `textOutline` will not be picked up. In this, case, the same effect
|
|
1686
1634
|
* can be acheived through the `text-shadow` CSS property.
|
|
1687
1635
|
*
|
|
1688
|
-
*
|
|
1636
|
+
* For some series types, where each point has an extent, like for
|
|
1637
|
+
* example tree maps, the data label may overflow the point. There are
|
|
1638
|
+
* two strategies for handling overflow. By default, the text will wrap
|
|
1639
|
+
* to multiple lines. The other strategy is to set
|
|
1640
|
+
* `style.textOverflow` to `ellipsis`, which will keep the text on one
|
|
1641
|
+
* line plus it will break inside long words.
|
|
1642
|
+
*
|
|
1689
1643
|
* @sample {highcharts} highcharts/plotoptions/series-datalabels-style/
|
|
1690
1644
|
* Bold labels
|
|
1691
|
-
* @sample {highmaps} maps/demo/color-axis/
|
|
1645
|
+
* @sample {highmaps} maps/demo/color-axis/
|
|
1646
|
+
* Bold labels
|
|
1647
|
+
*
|
|
1648
|
+
* @type {Highcharts.CSSObject}
|
|
1692
1649
|
* @default {"color": "contrast", "fontSize": "11px", "fontWeight": "bold", "textOutline": "1px contrast" }
|
|
1693
|
-
* @since
|
|
1650
|
+
* @since 4.1.0
|
|
1694
1651
|
*/
|
|
1695
1652
|
style: {
|
|
1653
|
+
/**
|
|
1654
|
+
* @ignore
|
|
1655
|
+
*/
|
|
1696
1656
|
fontSize: '11px',
|
|
1657
|
+
/**
|
|
1658
|
+
* @ignore
|
|
1659
|
+
*/
|
|
1697
1660
|
fontWeight: 'bold',
|
|
1661
|
+
/**
|
|
1662
|
+
* @ignore
|
|
1663
|
+
*/
|
|
1698
1664
|
color: 'contrast',
|
|
1665
|
+
/**
|
|
1666
|
+
* @ignore
|
|
1667
|
+
*/
|
|
1699
1668
|
textOutline: '1px contrast'
|
|
1700
1669
|
},
|
|
1701
1670
|
|
|
@@ -1703,11 +1672,12 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1703
1672
|
* The name of a symbol to use for the border around the label. Symbols
|
|
1704
1673
|
* are predefined functions on the Renderer object.
|
|
1705
1674
|
*
|
|
1706
|
-
* @type {String}
|
|
1707
1675
|
* @sample highcharts/plotoptions/series-datalabels-shape/
|
|
1708
1676
|
* A callout for annotations
|
|
1709
|
-
*
|
|
1710
|
-
* @
|
|
1677
|
+
*
|
|
1678
|
+
* @type {string}
|
|
1679
|
+
* @default square
|
|
1680
|
+
* @since 4.1.2
|
|
1711
1681
|
* @apioption plotOptions.series.dataLabels.shape
|
|
1712
1682
|
*/
|
|
1713
1683
|
|
|
@@ -1715,9 +1685,9 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1715
1685
|
* The Z index of the data labels. The default Z index puts it above
|
|
1716
1686
|
* the series. Use a Z index of 2 to display it behind the series.
|
|
1717
1687
|
*
|
|
1718
|
-
* @type
|
|
1719
|
-
* @default
|
|
1720
|
-
* @since
|
|
1688
|
+
* @type {number}
|
|
1689
|
+
* @default 6
|
|
1690
|
+
* @since 2.3.5
|
|
1721
1691
|
* @apioption plotOptions.series.dataLabels.zIndex
|
|
1722
1692
|
*/
|
|
1723
1693
|
|
|
@@ -1726,8 +1696,8 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1726
1696
|
* declarative filter is designed for use when callback functions are
|
|
1727
1697
|
* not available, like when the chart options require a pure JSON
|
|
1728
1698
|
* structure or for use with graphical editors. For programmatic
|
|
1729
|
-
* control, use the `formatter` instead, and return `
|
|
1730
|
-
* a single data label.
|
|
1699
|
+
* control, use the `formatter` instead, and return `undefined` to
|
|
1700
|
+
* disable a single data label.
|
|
1731
1701
|
*
|
|
1732
1702
|
* @example
|
|
1733
1703
|
* filter: {
|
|
@@ -1739,8 +1709,7 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1739
1709
|
* @sample highcharts/demo/pie-monochrome
|
|
1740
1710
|
* Data labels filtered by percentage
|
|
1741
1711
|
*
|
|
1742
|
-
* @
|
|
1743
|
-
* @since 6.0.3
|
|
1712
|
+
* @since 6.0.3
|
|
1744
1713
|
* @apioption plotOptions.series.dataLabels.filter
|
|
1745
1714
|
*/
|
|
1746
1715
|
|
|
@@ -1750,7 +1719,7 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1750
1719
|
* listed under [Point](https://api.highcharts.com/class-reference/Highcharts.Point)
|
|
1751
1720
|
* members.
|
|
1752
1721
|
*
|
|
1753
|
-
* @type
|
|
1722
|
+
* @type {string}
|
|
1754
1723
|
* @apioption plotOptions.series.dataLabels.filter.property
|
|
1755
1724
|
*/
|
|
1756
1725
|
|
|
@@ -1758,39 +1727,39 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1758
1727
|
* The operator to compare by. Can be one of `>`, `<`, `>=`, `<=`, `==`,
|
|
1759
1728
|
* and `===`.
|
|
1760
1729
|
*
|
|
1761
|
-
* @type
|
|
1762
|
-
* @validvalue [">", "<", ">=", "<=", "==", "==="
|
|
1763
|
-
* @apioption
|
|
1730
|
+
* @type {string}
|
|
1731
|
+
* @validvalue [">", "<", ">=", "<=", "==", "==="]
|
|
1732
|
+
* @apioption plotOptions.series.dataLabels.filter.operator
|
|
1764
1733
|
*/
|
|
1765
1734
|
|
|
1766
1735
|
/**
|
|
1767
1736
|
* The value to compare against.
|
|
1768
1737
|
*
|
|
1769
|
-
* @type
|
|
1738
|
+
* @type {*}
|
|
1770
1739
|
* @apioption plotOptions.series.dataLabels.filter.value
|
|
1771
1740
|
*/
|
|
1772
1741
|
|
|
1773
1742
|
/**
|
|
1774
1743
|
* The background color or gradient for the data label.
|
|
1775
1744
|
*
|
|
1776
|
-
* @type {Color}
|
|
1777
1745
|
* @sample {highcharts} highcharts/plotoptions/series-datalabels-box/
|
|
1778
1746
|
* Data labels box options
|
|
1779
1747
|
* @sample {highmaps} maps/plotoptions/series-datalabels-box/
|
|
1780
1748
|
* Data labels box options
|
|
1781
|
-
*
|
|
1749
|
+
*
|
|
1750
|
+
* @type {Highcharts.ColorString}
|
|
1751
|
+
* @since 2.2.1
|
|
1782
1752
|
* @apioption plotOptions.series.dataLabels.backgroundColor
|
|
1783
1753
|
*/
|
|
1784
1754
|
|
|
1785
1755
|
/**
|
|
1786
1756
|
* The border color for the data label. Defaults to `undefined`.
|
|
1787
1757
|
*
|
|
1788
|
-
* @
|
|
1789
|
-
* @sample {highcharts|highstock}
|
|
1790
|
-
* highcharts/plotoptions/series-datalabels-box/
|
|
1758
|
+
* @sample {highcharts|highstock} highcharts/plotoptions/series-datalabels-box/
|
|
1791
1759
|
* Data labels box options
|
|
1792
|
-
*
|
|
1793
|
-
* @
|
|
1760
|
+
*
|
|
1761
|
+
* @type {Highcharts.ColorString}
|
|
1762
|
+
* @since 2.2.1
|
|
1794
1763
|
* @apioption plotOptions.series.dataLabels.borderColor
|
|
1795
1764
|
*/
|
|
1796
1765
|
|
|
@@ -1800,14 +1769,15 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1800
1769
|
* configuration containing `color`, `offsetX`, `offsetY`, `opacity` and
|
|
1801
1770
|
* `width`.
|
|
1802
1771
|
*
|
|
1803
|
-
* @
|
|
1804
|
-
* @sample {highcharts|highstock}
|
|
1805
|
-
* highcharts/plotoptions/series-datalabels-box/
|
|
1772
|
+
* @sample {highcharts|highstock} highcharts/plotoptions/series-datalabels-box/
|
|
1806
1773
|
* Data labels box options
|
|
1807
|
-
*
|
|
1808
|
-
* @
|
|
1774
|
+
*
|
|
1775
|
+
* @type {boolean|*}
|
|
1776
|
+
* @default false
|
|
1777
|
+
* @since 2.2.1
|
|
1809
1778
|
* @apioption plotOptions.series.dataLabels.shadow
|
|
1810
1779
|
*/
|
|
1780
|
+
|
|
1811
1781
|
|
|
1812
1782
|
|
|
1813
1783
|
/**
|
|
@@ -1815,23 +1785,23 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1815
1785
|
* align the data label inside the box or to the actual value point.
|
|
1816
1786
|
* Defaults to `false` in most cases, `true` in stacked columns.
|
|
1817
1787
|
*
|
|
1818
|
-
* @type
|
|
1819
|
-
* @since
|
|
1788
|
+
* @type {boolean}
|
|
1789
|
+
* @since 3.0
|
|
1820
1790
|
* @apioption plotOptions.series.dataLabels.inside
|
|
1821
1791
|
*/
|
|
1822
1792
|
|
|
1823
1793
|
/**
|
|
1824
1794
|
* How to handle data labels that flow outside the plot area. The
|
|
1825
|
-
* default is `justify`, which aligns them inside the plot area. For
|
|
1795
|
+
* default is `"justify"`, which aligns them inside the plot area. For
|
|
1826
1796
|
* columns and bars, this means it will be moved inside the bar. To
|
|
1827
1797
|
* display data labels outside the plot area, set `crop` to `false` and
|
|
1828
|
-
* `overflow` to `"
|
|
1798
|
+
* `overflow` to `"allow"`.
|
|
1829
1799
|
*
|
|
1830
|
-
* @
|
|
1831
|
-
* @
|
|
1832
|
-
* @
|
|
1833
|
-
* @
|
|
1834
|
-
* @apioption
|
|
1800
|
+
* @type {string}
|
|
1801
|
+
* @default justify
|
|
1802
|
+
* @since 3.0.6
|
|
1803
|
+
* @validvalue ["allow", "justify"]
|
|
1804
|
+
* @apioption plotOptions.series.dataLabels.overflow
|
|
1835
1805
|
*/
|
|
1836
1806
|
|
|
1837
1807
|
/**
|
|
@@ -1839,21 +1809,21 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1839
1809
|
* backgrounds, borders and padding will be lost on a rotated data
|
|
1840
1810
|
* label.
|
|
1841
1811
|
*
|
|
1842
|
-
* @
|
|
1843
|
-
* @sample {highcharts}
|
|
1844
|
-
* highcharts/plotoptions/series-datalabels-rotation/
|
|
1812
|
+
* @sample {highcharts} highcharts/plotoptions/series-datalabels-rotation/
|
|
1845
1813
|
* Vertical labels
|
|
1846
|
-
*
|
|
1814
|
+
*
|
|
1815
|
+
* @type {number}
|
|
1816
|
+
* @default 0
|
|
1847
1817
|
* @apioption plotOptions.series.dataLabels.rotation
|
|
1848
1818
|
*/
|
|
1849
1819
|
|
|
1850
1820
|
/**
|
|
1851
1821
|
* Whether to
|
|
1852
|
-
* [use HTML](
|
|
1822
|
+
* [use HTML](https://www.highcharts.com/docs/chart-concepts/labels-and-string-formatting#html)
|
|
1853
1823
|
* to render the labels.
|
|
1854
1824
|
*
|
|
1855
|
-
* @type
|
|
1856
|
-
* @default
|
|
1825
|
+
* @type {boolean}
|
|
1826
|
+
* @default false
|
|
1857
1827
|
* @apioption plotOptions.series.dataLabels.useHTML
|
|
1858
1828
|
*/
|
|
1859
1829
|
|
|
@@ -1863,9 +1833,8 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1863
1833
|
* in a column chart, the label is above positive values and below
|
|
1864
1834
|
* negative values.
|
|
1865
1835
|
*
|
|
1836
|
+
* @since 2.3.3
|
|
1866
1837
|
* @validvalue ["top", "middle", "bottom"]
|
|
1867
|
-
* @type {String}
|
|
1868
|
-
* @since 2.3.3
|
|
1869
1838
|
*/
|
|
1870
1839
|
verticalAlign: 'bottom', // above singular point
|
|
1871
1840
|
|
|
@@ -1873,11 +1842,8 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1873
1842
|
/**
|
|
1874
1843
|
* The x position offset of the label relative to the point in pixels.
|
|
1875
1844
|
*
|
|
1876
|
-
* @
|
|
1877
|
-
* @sample {highcharts}
|
|
1878
|
-
* highcharts/plotoptions/series-datalabels-rotation/
|
|
1845
|
+
* @sample {highcharts} highcharts/plotoptions/series-datalabels-rotation/
|
|
1879
1846
|
* Vertical and positioned
|
|
1880
|
-
* @default 0
|
|
1881
1847
|
*/
|
|
1882
1848
|
x: 0,
|
|
1883
1849
|
|
|
@@ -1885,11 +1851,8 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1885
1851
|
/**
|
|
1886
1852
|
* The y position offset of the label relative to the point in pixels.
|
|
1887
1853
|
*
|
|
1888
|
-
* @
|
|
1889
|
-
* @sample {highcharts}
|
|
1890
|
-
* highcharts/plotoptions/series-datalabels-rotation/
|
|
1854
|
+
* @sample {highcharts} highcharts/plotoptions/series-datalabels-rotation/
|
|
1891
1855
|
* Vertical and positioned
|
|
1892
|
-
* @default -6
|
|
1893
1856
|
*/
|
|
1894
1857
|
y: 0,
|
|
1895
1858
|
|
|
@@ -1898,17 +1861,15 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1898
1861
|
* When either the `borderWidth` or the `backgroundColor` is set,
|
|
1899
1862
|
* this is the padding within the box.
|
|
1900
1863
|
*
|
|
1901
|
-
* @
|
|
1902
|
-
* @sample {highcharts|highstock}
|
|
1903
|
-
* highcharts/plotoptions/series-datalabels-box/
|
|
1864
|
+
* @sample {highcharts|highstock} highcharts/plotoptions/series-datalabels-box/
|
|
1904
1865
|
* Data labels box options
|
|
1905
|
-
* @sample {highmaps}
|
|
1906
|
-
* maps/plotoptions/series-datalabels-box/
|
|
1866
|
+
* @sample {highmaps} maps/plotoptions/series-datalabels-box/
|
|
1907
1867
|
* Data labels box options
|
|
1868
|
+
*
|
|
1908
1869
|
* @default {highcharts} 5
|
|
1909
1870
|
* @default {highstock} 5
|
|
1910
1871
|
* @default {highmaps} 0
|
|
1911
|
-
* @since
|
|
1872
|
+
* @since 2.2.1
|
|
1912
1873
|
*/
|
|
1913
1874
|
padding: 5
|
|
1914
1875
|
},
|
|
@@ -1923,9 +1884,7 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1923
1884
|
* that fall within the plot area. The advantage of cropping away invisible
|
|
1924
1885
|
* points is to increase performance on large series.
|
|
1925
1886
|
*
|
|
1926
|
-
* @
|
|
1927
|
-
* @default 300
|
|
1928
|
-
* @since 2.2
|
|
1887
|
+
* @since 2.2
|
|
1929
1888
|
* @product highcharts highstock
|
|
1930
1889
|
*/
|
|
1931
1890
|
cropThreshold: 300,
|
|
@@ -1938,8 +1897,6 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1938
1897
|
* * 1000 milliseconds). This is normally computed automatically, but
|
|
1939
1898
|
* this option can be used to override the automatic value.
|
|
1940
1899
|
*
|
|
1941
|
-
* @type {Number}
|
|
1942
|
-
* @default 0
|
|
1943
1900
|
* @product highstock
|
|
1944
1901
|
*/
|
|
1945
1902
|
pointRange: 0,
|
|
@@ -1953,9 +1910,7 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1953
1910
|
* 3 will make the Y axis show negative values according to the `minPadding`
|
|
1954
1911
|
* option. If `softThreshold` is `true`, the Y axis starts at 0.
|
|
1955
1912
|
*
|
|
1956
|
-
* @
|
|
1957
|
-
* @default true
|
|
1958
|
-
* @since 4.1.9
|
|
1913
|
+
* @since 4.1.9
|
|
1959
1914
|
* @product highcharts highstock
|
|
1960
1915
|
*/
|
|
1961
1916
|
softThreshold: true,
|
|
@@ -1964,8 +1919,6 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1964
1919
|
|
|
1965
1920
|
/**
|
|
1966
1921
|
* A wrapper object for all the series options in specific states.
|
|
1967
|
-
*
|
|
1968
|
-
* @type {plotOptions.series.states}
|
|
1969
1922
|
*/
|
|
1970
1923
|
states: {
|
|
1971
1924
|
|
|
@@ -1973,12 +1926,12 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1973
1926
|
* The normal state of a series, or for point items in column, pie and
|
|
1974
1927
|
* similar series. Currently only used for setting animation when
|
|
1975
1928
|
* returning to normal state from hover.
|
|
1976
|
-
* @type {Object}
|
|
1977
1929
|
*/
|
|
1978
1930
|
normal: {
|
|
1979
1931
|
/**
|
|
1980
1932
|
* Animation when returning to normal state after hovering.
|
|
1981
|
-
*
|
|
1933
|
+
*
|
|
1934
|
+
* @type {boolean|Highcharts.AnimationOptionsObject}
|
|
1982
1935
|
*/
|
|
1983
1936
|
animation: true
|
|
1984
1937
|
},
|
|
@@ -1986,7 +1939,6 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1986
1939
|
/**
|
|
1987
1940
|
* Options for the hovered series. These settings override the normal
|
|
1988
1941
|
* state options when a series is moused over or touched.
|
|
1989
|
-
*
|
|
1990
1942
|
*/
|
|
1991
1943
|
hover: {
|
|
1992
1944
|
|
|
@@ -1994,18 +1946,16 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
1994
1946
|
* Enable separate styles for the hovered series to visualize that
|
|
1995
1947
|
* the user hovers either the series itself or the legend. .
|
|
1996
1948
|
*
|
|
1997
|
-
* @
|
|
1998
|
-
* @sample {highcharts}
|
|
1999
|
-
* highcharts/plotoptions/series-states-hover-enabled/
|
|
1949
|
+
* @sample {highcharts} highcharts/plotoptions/series-states-hover-enabled/
|
|
2000
1950
|
* Line
|
|
2001
|
-
* @sample {highcharts}
|
|
2002
|
-
* highcharts/plotoptions/series-states-hover-enabled-column/
|
|
1951
|
+
* @sample {highcharts} highcharts/plotoptions/series-states-hover-enabled-column/
|
|
2003
1952
|
* Column
|
|
2004
|
-
* @sample {highcharts}
|
|
2005
|
-
* highcharts/plotoptions/series-states-hover-enabled-pie/
|
|
1953
|
+
* @sample {highcharts} highcharts/plotoptions/series-states-hover-enabled-pie/
|
|
2006
1954
|
* Pie
|
|
2007
|
-
*
|
|
2008
|
-
* @
|
|
1955
|
+
*
|
|
1956
|
+
* @type {boolean}
|
|
1957
|
+
* @default true
|
|
1958
|
+
* @since 1.2
|
|
2009
1959
|
* @apioption plotOptions.series.states.hover.enabled
|
|
2010
1960
|
*/
|
|
2011
1961
|
|
|
@@ -2013,12 +1963,12 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
2013
1963
|
/**
|
|
2014
1964
|
* Animation setting for hovering the graph in line-type series.
|
|
2015
1965
|
*
|
|
2016
|
-
* @type
|
|
2017
|
-
* @
|
|
2018
|
-
* @since 5.0.8
|
|
1966
|
+
* @type {boolean|Highcharts.AnimationOptionsObject}
|
|
1967
|
+
* @since 5.0.8
|
|
2019
1968
|
* @product highcharts
|
|
2020
1969
|
*/
|
|
2021
1970
|
animation: {
|
|
1971
|
+
|
|
2022
1972
|
/**
|
|
2023
1973
|
* The duration of the hover animation in milliseconds. By
|
|
2024
1974
|
* default the hover state animates quickly in, and slowly back
|
|
@@ -2032,12 +1982,11 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
2032
1982
|
* undefined, and the `lineWidthPlus` property dictates how much
|
|
2033
1983
|
* to increase the linewidth from normal state.
|
|
2034
1984
|
*
|
|
2035
|
-
* @
|
|
2036
|
-
* @sample {highcharts}
|
|
2037
|
-
* highcharts/plotoptions/series-states-hover-linewidth/
|
|
1985
|
+
* @sample {highcharts} highcharts/plotoptions/series-states-hover-linewidth/
|
|
2038
1986
|
* 5px line on hover
|
|
2039
|
-
*
|
|
2040
|
-
* @
|
|
1987
|
+
*
|
|
1988
|
+
* @type {number}
|
|
1989
|
+
* @product highcharts highstock
|
|
2041
1990
|
* @apioption plotOptions.series.states.hover.lineWidth
|
|
2042
1991
|
*/
|
|
2043
1992
|
|
|
@@ -2045,29 +1994,25 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
2045
1994
|
/**
|
|
2046
1995
|
* The additional line width for the graph of a hovered series.
|
|
2047
1996
|
*
|
|
2048
|
-
* @
|
|
2049
|
-
* @sample {highcharts}
|
|
2050
|
-
* highcharts/plotoptions/series-states-hover-linewidthplus/
|
|
1997
|
+
* @sample {highcharts} highcharts/plotoptions/series-states-hover-linewidthplus/
|
|
2051
1998
|
* 5 pixels wider
|
|
2052
|
-
* @sample {highstock}
|
|
2053
|
-
* highcharts/plotoptions/series-states-hover-linewidthplus/
|
|
1999
|
+
* @sample {highstock} highcharts/plotoptions/series-states-hover-linewidthplus/
|
|
2054
2000
|
* 5 pixels wider
|
|
2055
|
-
*
|
|
2056
|
-
* @since
|
|
2001
|
+
*
|
|
2002
|
+
* @since 4.0.3
|
|
2057
2003
|
* @product highcharts highstock
|
|
2058
2004
|
*/
|
|
2059
2005
|
lineWidthPlus: 1,
|
|
2060
2006
|
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
2007
|
/**
|
|
2064
2008
|
* In Highcharts 1.0, the appearance of all markers belonging to the
|
|
2065
2009
|
* hovered series. For settings on the hover state of the individual
|
|
2066
2010
|
* point, see
|
|
2067
2011
|
* [marker.states.hover](#plotOptions.series.marker.states.hover).
|
|
2068
2012
|
*
|
|
2069
|
-
* @extends plotOptions.series.marker
|
|
2070
2013
|
* @deprecated
|
|
2014
|
+
*
|
|
2015
|
+
* @extends plotOptions.series.marker
|
|
2071
2016
|
* @product highcharts highstock
|
|
2072
2017
|
*/
|
|
2073
2018
|
marker: {
|
|
@@ -2075,8 +2020,6 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
2075
2020
|
// radius: base + 1
|
|
2076
2021
|
},
|
|
2077
2022
|
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
2023
|
/**
|
|
2081
2024
|
* Options for the halo appearing around the hovered point in line-
|
|
2082
2025
|
* type series as well as outside the hovered slice in pie charts.
|
|
@@ -2087,10 +2030,12 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
2087
2030
|
* In styled mode, the halo is styled with the `.highcharts-halo`
|
|
2088
2031
|
* class, with colors inherited from `.highcharts-color-{n}`.
|
|
2089
2032
|
*
|
|
2090
|
-
* @
|
|
2091
|
-
*
|
|
2092
|
-
* @sample {highstock} highcharts/plotoptions/halo/
|
|
2093
|
-
*
|
|
2033
|
+
* @sample {highcharts} highcharts/plotoptions/halo/
|
|
2034
|
+
* Halo options
|
|
2035
|
+
* @sample {highstock} highcharts/plotoptions/halo/
|
|
2036
|
+
* Halo options
|
|
2037
|
+
*
|
|
2038
|
+
* @since 4.0
|
|
2094
2039
|
* @product highcharts highstock
|
|
2095
2040
|
*/
|
|
2096
2041
|
halo: {
|
|
@@ -2099,9 +2044,9 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
2099
2044
|
* A collection of SVG attributes to override the appearance of
|
|
2100
2045
|
* the halo, for example `fill`, `stroke` and `stroke-width`.
|
|
2101
2046
|
*
|
|
2102
|
-
* @type
|
|
2103
|
-
* @since
|
|
2104
|
-
* @product
|
|
2047
|
+
* @type {Highcharts.SVGAttributes}
|
|
2048
|
+
* @since 4.0
|
|
2049
|
+
* @product highcharts highstock
|
|
2105
2050
|
* @apioption plotOptions.series.states.hover.halo.attributes
|
|
2106
2051
|
*/
|
|
2107
2052
|
|
|
@@ -2112,28 +2057,25 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
2112
2057
|
* halo outside the slice. For bubbles it defaults to 5 and is
|
|
2113
2058
|
* the width of the halo outside the bubble.
|
|
2114
2059
|
*
|
|
2115
|
-
* @
|
|
2116
|
-
* @default 10
|
|
2117
|
-
* @since 4.0
|
|
2060
|
+
* @since 4.0
|
|
2118
2061
|
* @product highcharts highstock
|
|
2119
2062
|
*/
|
|
2120
2063
|
size: 10,
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
2064
|
|
|
2065
|
+
|
|
2124
2066
|
|
|
2125
2067
|
/**
|
|
2126
2068
|
* Opacity for the halo unless a specific fill is overridden
|
|
2127
2069
|
* using the `attributes` setting. Note that Highcharts is only
|
|
2128
2070
|
* able to apply opacity to colors of hex or rgb(a) formats.
|
|
2129
2071
|
*
|
|
2130
|
-
* @
|
|
2131
|
-
* @default 0.25
|
|
2132
|
-
* @since 4.0
|
|
2072
|
+
* @since 4.0
|
|
2133
2073
|
* @product highcharts highstock
|
|
2134
2074
|
*/
|
|
2135
2075
|
opacity: 0.25
|
|
2076
|
+
|
|
2136
2077
|
|
|
2078
|
+
|
|
2137
2079
|
}
|
|
2138
2080
|
},
|
|
2139
2081
|
|
|
@@ -2143,15 +2085,15 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
2143
2085
|
* by [allowPointSelect](#plotOptions.series.allowPointSelect) or
|
|
2144
2086
|
* programmatically.
|
|
2145
2087
|
*
|
|
2146
|
-
* @type {Object}
|
|
2147
|
-
* @extends plotOptions.series.states.hover
|
|
2148
|
-
* @excluding brightness
|
|
2149
2088
|
* @sample {highmaps} maps/plotoptions/series-allowpointselect/
|
|
2150
2089
|
* Allow point select demo
|
|
2151
|
-
*
|
|
2090
|
+
*
|
|
2091
|
+
* @extends plotOptions.series.states.hover
|
|
2092
|
+
* @excluding brightness
|
|
2093
|
+
* @product highmaps
|
|
2152
2094
|
*/
|
|
2153
2095
|
select: {
|
|
2154
|
-
marker: {}
|
|
2096
|
+
// marker: {}
|
|
2155
2097
|
}
|
|
2156
2098
|
},
|
|
2157
2099
|
|
|
@@ -2167,15 +2109,15 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
2167
2109
|
* be hidden when moving the mouse between series. Defaults to true for line
|
|
2168
2110
|
* and area type series, but to false for columns, pies etc.
|
|
2169
2111
|
*
|
|
2170
|
-
* @type {Boolean}
|
|
2171
2112
|
* @sample {highcharts} highcharts/plotoptions/series-stickytracking-true/
|
|
2172
2113
|
* True by default
|
|
2173
2114
|
* @sample {highcharts} highcharts/plotoptions/series-stickytracking-false/
|
|
2174
2115
|
* False
|
|
2116
|
+
*
|
|
2175
2117
|
* @default {highcharts} true
|
|
2176
2118
|
* @default {highstock} true
|
|
2177
2119
|
* @default {highmaps} false
|
|
2178
|
-
* @since
|
|
2120
|
+
* @since 2.0
|
|
2179
2121
|
*/
|
|
2180
2122
|
stickyTracking: true,
|
|
2181
2123
|
|
|
@@ -2184,12 +2126,11 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
2184
2126
|
* Properties are inherited from [tooltip](#tooltip), but only the
|
|
2185
2127
|
* following properties can be defined on a series level.
|
|
2186
2128
|
*
|
|
2187
|
-
* @
|
|
2188
|
-
* @extends
|
|
2129
|
+
* @since 2.3
|
|
2130
|
+
* @extends tooltip
|
|
2189
2131
|
* @excluding animation,backgroundColor,borderColor,borderRadius,
|
|
2190
2132
|
* borderWidth,crosshairs,enabled,formatter,positioner,shadow,
|
|
2191
2133
|
* shared,shape,snap,style,useHTML
|
|
2192
|
-
* @since 2.3
|
|
2193
2134
|
* @apioption plotOptions.series.tooltip
|
|
2194
2135
|
*/
|
|
2195
2136
|
|
|
@@ -2200,10 +2141,8 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
2200
2141
|
* and the rest are assumed to be the same format. This saves expensive
|
|
2201
2142
|
* data checking and indexing in long series. Set it to `0` disable.
|
|
2202
2143
|
*
|
|
2203
|
-
* @
|
|
2204
|
-
* @
|
|
2205
|
-
* @since 2.2
|
|
2206
|
-
* @product highcharts highstock
|
|
2144
|
+
* @since 2.2
|
|
2145
|
+
* @product highcharts highstock gantt
|
|
2207
2146
|
*/
|
|
2208
2147
|
turboThreshold: 1000,
|
|
2209
2148
|
|
|
@@ -2216,56 +2155,65 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
2216
2155
|
* In styled mode, the color zones are styled with the
|
|
2217
2156
|
* `.highcharts-zone-{n}` class, or custom classed from the `className`
|
|
2218
2157
|
* option
|
|
2219
|
-
* ([view live demo](
|
|
2158
|
+
* ([view live demo](https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/css/color-zones/)).
|
|
2220
2159
|
*
|
|
2221
|
-
* @type {Array}
|
|
2222
2160
|
* @see [zoneAxis](#plotOptions.series.zoneAxis)
|
|
2223
|
-
*
|
|
2224
|
-
* @sample {
|
|
2225
|
-
*
|
|
2226
|
-
* @
|
|
2161
|
+
*
|
|
2162
|
+
* @sample {highcharts} highcharts/series/color-zones-simple/
|
|
2163
|
+
* Color zones
|
|
2164
|
+
* @sample {highstock} highcharts/series/color-zones-simple/
|
|
2165
|
+
* Color zones
|
|
2166
|
+
*
|
|
2167
|
+
* @type {Array<*>}
|
|
2168
|
+
* @since 4.1.0
|
|
2169
|
+
* @product highcharts highstock
|
|
2227
2170
|
* @apioption plotOptions.series.zones
|
|
2228
2171
|
*/
|
|
2229
2172
|
|
|
2230
2173
|
/**
|
|
2231
2174
|
* Styled mode only. A custom class name for the zone.
|
|
2232
2175
|
*
|
|
2233
|
-
* @
|
|
2234
|
-
*
|
|
2235
|
-
*
|
|
2176
|
+
* @sample highcharts/css/color-zones/
|
|
2177
|
+
* Zones styled by class name
|
|
2178
|
+
*
|
|
2179
|
+
* @type {string}
|
|
2180
|
+
* @since 5.0.0
|
|
2236
2181
|
* @apioption plotOptions.series.zones.className
|
|
2237
2182
|
*/
|
|
2238
2183
|
|
|
2239
2184
|
/**
|
|
2240
2185
|
* Defines the color of the series.
|
|
2241
2186
|
*
|
|
2242
|
-
* @type {Color}
|
|
2243
2187
|
* @see [series color](#plotOptions.series.color)
|
|
2244
|
-
*
|
|
2245
|
-
* @
|
|
2188
|
+
*
|
|
2189
|
+
* @type {Highcharts.ColorString}
|
|
2190
|
+
* @since 4.1.0
|
|
2191
|
+
* @product highcharts highstock
|
|
2246
2192
|
* @apioption plotOptions.series.zones.color
|
|
2247
2193
|
*/
|
|
2248
2194
|
|
|
2249
2195
|
/**
|
|
2250
2196
|
* A name for the dash style to use for the graph.
|
|
2251
2197
|
*
|
|
2252
|
-
* @type {String}
|
|
2253
2198
|
* @see [series.dashStyle](#plotOptions.series.dashStyle)
|
|
2254
|
-
*
|
|
2255
|
-
*
|
|
2199
|
+
*
|
|
2200
|
+
* @sample {highcharts|highstock} highcharts/series/color-zones-dashstyle-dot/
|
|
2256
2201
|
* Dashed line indicates prognosis
|
|
2257
|
-
*
|
|
2258
|
-
* @
|
|
2202
|
+
*
|
|
2203
|
+
* @type {string}
|
|
2204
|
+
* @since 4.1.0
|
|
2205
|
+
* @product highcharts highstock
|
|
2259
2206
|
* @apioption plotOptions.series.zones.dashStyle
|
|
2260
2207
|
*/
|
|
2261
2208
|
|
|
2262
2209
|
/**
|
|
2263
2210
|
* Defines the fill color for the series (in area type series)
|
|
2264
2211
|
*
|
|
2265
|
-
* @type {Color}
|
|
2266
2212
|
* @see [fillColor](#plotOptions.area.fillColor)
|
|
2267
|
-
*
|
|
2268
|
-
* @
|
|
2213
|
+
*
|
|
2214
|
+
* @type {Highcharts.ColorString}
|
|
2215
|
+
* @since 4.1.0
|
|
2216
|
+
* @product highcharts highstock
|
|
2269
2217
|
* @apioption plotOptions.series.zones.fillColor
|
|
2270
2218
|
*/
|
|
2271
2219
|
|
|
@@ -2273,15 +2221,12 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
2273
2221
|
* The value up to where the zone extends, if undefined the zones stretches
|
|
2274
2222
|
* to the last value in the series.
|
|
2275
2223
|
*
|
|
2276
|
-
* @type
|
|
2277
|
-
* @
|
|
2278
|
-
* @
|
|
2279
|
-
* @product highcharts highstock
|
|
2224
|
+
* @type {number}
|
|
2225
|
+
* @since 4.1.0
|
|
2226
|
+
* @product highcharts highstock
|
|
2280
2227
|
* @apioption plotOptions.series.zones.value
|
|
2281
2228
|
*/
|
|
2282
2229
|
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
2230
|
/**
|
|
2286
2231
|
* Determines whether the series should look for the nearest point
|
|
2287
2232
|
* in both dimensions or just the x-dimension when hovering the series.
|
|
@@ -2292,19 +2237,158 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
2292
2237
|
* Applies only to series types using nearest neighbor search (not
|
|
2293
2238
|
* direct hover) for tooltip.
|
|
2294
2239
|
*
|
|
2295
|
-
* @validvalue ['x', 'xy']
|
|
2296
|
-
* @type {String}
|
|
2297
2240
|
* @sample {highcharts} highcharts/series/findnearestpointby/
|
|
2298
2241
|
* Different hover behaviors
|
|
2299
2242
|
* @sample {highstock} highcharts/series/findnearestpointby/
|
|
2300
2243
|
* Different hover behaviors
|
|
2301
2244
|
* @sample {highmaps} highcharts/series/findnearestpointby/
|
|
2302
2245
|
* Different hover behaviors
|
|
2303
|
-
*
|
|
2246
|
+
*
|
|
2247
|
+
* @since 5.0.10
|
|
2248
|
+
* @validvalue ["x", "xy"]
|
|
2304
2249
|
*/
|
|
2305
2250
|
findNearestPointBy: 'x'
|
|
2306
2251
|
|
|
2307
2252
|
}, /** @lends Highcharts.Series.prototype */ {
|
|
2253
|
+
|
|
2254
|
+
/**
|
|
2255
|
+
* Series options for specific data and the data itself. In TypeScript you
|
|
2256
|
+
* have to cast the series options to specific series types, to get all
|
|
2257
|
+
* possible options for a series.
|
|
2258
|
+
*
|
|
2259
|
+
* @example
|
|
2260
|
+
* // TypeScript example
|
|
2261
|
+
* Highcharts.chart('container', {
|
|
2262
|
+
* series: [{
|
|
2263
|
+
* color: '#06C',
|
|
2264
|
+
* data: [[0, 1], [2, 3]]
|
|
2265
|
+
* } as Highcharts.SeriesLineOptions ]
|
|
2266
|
+
* });
|
|
2267
|
+
*
|
|
2268
|
+
*
|
|
2269
|
+
* @type {Array<*>}
|
|
2270
|
+
* @apioption series
|
|
2271
|
+
*/
|
|
2272
|
+
|
|
2273
|
+
/**
|
|
2274
|
+
* An id for the series. This can be used after render time to get a pointer
|
|
2275
|
+
* to the series object through `chart.get()`.
|
|
2276
|
+
*
|
|
2277
|
+
* @sample {highcharts} highcharts/plotoptions/series-id/
|
|
2278
|
+
* Get series by id
|
|
2279
|
+
*
|
|
2280
|
+
* @type {string}
|
|
2281
|
+
* @since 1.2.0
|
|
2282
|
+
* @apioption series.id
|
|
2283
|
+
*/
|
|
2284
|
+
|
|
2285
|
+
/**
|
|
2286
|
+
* The index of the series in the chart, affecting the internal index in the
|
|
2287
|
+
* `chart.series` array, the visible Z index as well as the order in the
|
|
2288
|
+
* legend.
|
|
2289
|
+
*
|
|
2290
|
+
* @type {number}
|
|
2291
|
+
* @since 2.3.0
|
|
2292
|
+
* @apioption series.index
|
|
2293
|
+
*/
|
|
2294
|
+
|
|
2295
|
+
/**
|
|
2296
|
+
* The sequential index of the series in the legend.
|
|
2297
|
+
*
|
|
2298
|
+
* @see [legend.reversed](#legend.reversed),
|
|
2299
|
+
* [yAxis.reversedStacks](#yAxis.reversedStacks)
|
|
2300
|
+
*
|
|
2301
|
+
* @sample {highcharts|highstock} highcharts/series/legendindex/
|
|
2302
|
+
* Legend in opposite order
|
|
2303
|
+
*
|
|
2304
|
+
* @type {number}
|
|
2305
|
+
* @apioption series.legendIndex
|
|
2306
|
+
*/
|
|
2307
|
+
/**
|
|
2308
|
+
* The name of the series as shown in the legend, tooltip etc.
|
|
2309
|
+
*
|
|
2310
|
+
* @sample {highcharts} highcharts/series/name/
|
|
2311
|
+
* Series name
|
|
2312
|
+
* @sample {highmaps} maps/demo/category-map/
|
|
2313
|
+
* Series name
|
|
2314
|
+
*
|
|
2315
|
+
* @type {string}
|
|
2316
|
+
* @apioption series.name
|
|
2317
|
+
*/
|
|
2318
|
+
|
|
2319
|
+
/**
|
|
2320
|
+
* This option allows grouping series in a stacked chart. The stack option
|
|
2321
|
+
* can be a string or anything else, as long as the grouped series' stack
|
|
2322
|
+
* options match each other after conversion into a string.
|
|
2323
|
+
*
|
|
2324
|
+
* @sample {highcharts} highcharts/series/stack/
|
|
2325
|
+
* Stacked and grouped columns
|
|
2326
|
+
*
|
|
2327
|
+
* @type {string|*}
|
|
2328
|
+
* @since 2.1
|
|
2329
|
+
* @product highcharts highstock
|
|
2330
|
+
* @apioption series.stack
|
|
2331
|
+
*/
|
|
2332
|
+
|
|
2333
|
+
/**
|
|
2334
|
+
* The type of series, for example `line` or `column`. By default, the
|
|
2335
|
+
* series type is inherited from [chart.type](#chart.type), so unless the
|
|
2336
|
+
* chart is a combination of series types, there is no need to set it on the
|
|
2337
|
+
* series level.
|
|
2338
|
+
*
|
|
2339
|
+
* @sample {highcharts} highcharts/series/type/
|
|
2340
|
+
* Line and column in the same chart
|
|
2341
|
+
* @sample {highmaps} maps/demo/mapline-mappoint/
|
|
2342
|
+
* Multiple types in the same map
|
|
2343
|
+
*
|
|
2344
|
+
* @type {string}
|
|
2345
|
+
* @apioption series.type
|
|
2346
|
+
*/
|
|
2347
|
+
|
|
2348
|
+
/**
|
|
2349
|
+
* When using dual or multiple x axes, this number defines which xAxis the
|
|
2350
|
+
* particular series is connected to. It refers to either the
|
|
2351
|
+
* {@link #xAxis.id|axis id}
|
|
2352
|
+
* or the index of the axis in the xAxis array, with 0 being the first.
|
|
2353
|
+
*
|
|
2354
|
+
* @type {number|string}
|
|
2355
|
+
* @default 0
|
|
2356
|
+
* @product highcharts highstock
|
|
2357
|
+
* @apioption series.xAxis
|
|
2358
|
+
*/
|
|
2359
|
+
|
|
2360
|
+
/**
|
|
2361
|
+
* When using dual or multiple y axes, this number defines which yAxis the
|
|
2362
|
+
* particular series is connected to. It refers to either the
|
|
2363
|
+
* {@link #yAxis.id|axis id}
|
|
2364
|
+
* or the index of the axis in the yAxis array, with 0 being the first.
|
|
2365
|
+
*
|
|
2366
|
+
* @sample {highcharts} highcharts/series/yaxis/
|
|
2367
|
+
* Apply the column series to the secondary Y axis
|
|
2368
|
+
*
|
|
2369
|
+
* @type {number|string}
|
|
2370
|
+
* @default 0
|
|
2371
|
+
* @product highcharts highstock
|
|
2372
|
+
* @apioption series.yAxis
|
|
2373
|
+
*/
|
|
2374
|
+
|
|
2375
|
+
/**
|
|
2376
|
+
* Define the visual z index of the series.
|
|
2377
|
+
*
|
|
2378
|
+
* @sample {highcharts} highcharts/plotoptions/series-zindex-default/
|
|
2379
|
+
* With no z index, the series defined last are on top
|
|
2380
|
+
* @sample {highcharts} highcharts/plotoptions/series-zindex/
|
|
2381
|
+
* With a z index, the series with the highest z index is on top
|
|
2382
|
+
* @sample {highstock} highcharts/plotoptions/series-zindex-default/
|
|
2383
|
+
* With no z index, the series defined last are on top
|
|
2384
|
+
* @sample {highstock} highcharts/plotoptions/series-zindex/
|
|
2385
|
+
* With a z index, the series with the highest z index is on top
|
|
2386
|
+
*
|
|
2387
|
+
* @type {number}
|
|
2388
|
+
* @product highcharts highstock
|
|
2389
|
+
* @apioption series.zIndex
|
|
2390
|
+
*/
|
|
2391
|
+
|
|
2308
2392
|
isCartesian: true,
|
|
2309
2393
|
pointClass: Point,
|
|
2310
2394
|
sorted: true, // requires the data to be sorted
|
|
@@ -2324,9 +2408,8 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
2324
2408
|
/**
|
|
2325
2409
|
* Read only. The chart that the series belongs to.
|
|
2326
2410
|
*
|
|
2327
|
-
* @name chart
|
|
2328
|
-
* @
|
|
2329
|
-
* @type {Chart}
|
|
2411
|
+
* @name Highcharts.Series#chart
|
|
2412
|
+
* @type {Highcharts.Chart}
|
|
2330
2413
|
*/
|
|
2331
2414
|
series.chart = chart;
|
|
2332
2415
|
|
|
@@ -2335,18 +2418,16 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
2335
2418
|
* type in the series options anc can be altered using {@link
|
|
2336
2419
|
* Series#update}.
|
|
2337
2420
|
*
|
|
2338
|
-
* @name type
|
|
2339
|
-
* @
|
|
2340
|
-
* @type String
|
|
2421
|
+
* @name Highcharts.Series#type
|
|
2422
|
+
* @type {string}
|
|
2341
2423
|
*/
|
|
2342
2424
|
|
|
2343
2425
|
/**
|
|
2344
2426
|
* Read only. The series' current options. To update, use {@link
|
|
2345
2427
|
* Series#update}.
|
|
2346
2428
|
*
|
|
2347
|
-
* @name options
|
|
2348
|
-
* @
|
|
2349
|
-
* @type SeriesOptions
|
|
2429
|
+
* @name Highcharts.Series#options
|
|
2430
|
+
* @type {Highcharts.PlotSeriesOptions}
|
|
2350
2431
|
*/
|
|
2351
2432
|
series.options = options = series.setOptions(options);
|
|
2352
2433
|
series.linkedSeries = [];
|
|
@@ -2360,9 +2441,8 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
2360
2441
|
* The series name as given in the options. Defaults to
|
|
2361
2442
|
* "Series {n}".
|
|
2362
2443
|
*
|
|
2363
|
-
* @name name
|
|
2364
|
-
* @
|
|
2365
|
-
* @type {String}
|
|
2444
|
+
* @name Highcharts.Series#name
|
|
2445
|
+
* @type {string}
|
|
2366
2446
|
*/
|
|
2367
2447
|
name: options.name,
|
|
2368
2448
|
state: '',
|
|
@@ -2371,18 +2451,16 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
2371
2451
|
* Series#show}, {@link Series#hide}, or in the initial
|
|
2372
2452
|
* configuration.
|
|
2373
2453
|
*
|
|
2374
|
-
* @name visible
|
|
2375
|
-
* @
|
|
2376
|
-
* @type {Boolean}
|
|
2454
|
+
* @name Highcharts.Series#visible
|
|
2455
|
+
* @type {boolean}
|
|
2377
2456
|
*/
|
|
2378
2457
|
visible: options.visible !== false, // true by default
|
|
2379
2458
|
/**
|
|
2380
2459
|
* Read only. The series' selected state as set by {@link
|
|
2381
2460
|
* Highcharts.Series#select}.
|
|
2382
2461
|
*
|
|
2383
|
-
* @name selected
|
|
2384
|
-
* @
|
|
2385
|
-
* @type {Boolean}
|
|
2462
|
+
* @name Highcharts.Series#selected
|
|
2463
|
+
* @type {boolean}
|
|
2386
2464
|
*/
|
|
2387
2465
|
selected: options.selected === true // false by default
|
|
2388
2466
|
});
|
|
@@ -2438,9 +2516,13 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
2438
2516
|
* option. Used internally when adding series.
|
|
2439
2517
|
*
|
|
2440
2518
|
* @private
|
|
2441
|
-
* @
|
|
2442
|
-
*
|
|
2443
|
-
* @
|
|
2519
|
+
* @function Highcharts.Series#insert
|
|
2520
|
+
*
|
|
2521
|
+
* @param {Array<Highcharts.Series>} collection
|
|
2522
|
+
* A collection of series, like `chart.series` or `xAxis.series`.
|
|
2523
|
+
*
|
|
2524
|
+
* @return {number}
|
|
2525
|
+
* The index of the series in the collection.
|
|
2444
2526
|
*/
|
|
2445
2527
|
insert: function (collection) {
|
|
2446
2528
|
var indexOption = this.options.index,
|
|
@@ -2474,6 +2556,9 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
2474
2556
|
* series in the `axis.series` array.
|
|
2475
2557
|
*
|
|
2476
2558
|
* @private
|
|
2559
|
+
* @function Highcharts.Series#bindAxes
|
|
2560
|
+
*
|
|
2561
|
+
* @exception 18
|
|
2477
2562
|
*/
|
|
2478
2563
|
bindAxes: function () {
|
|
2479
2564
|
var series = this,
|
|
@@ -2510,17 +2595,15 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
2510
2595
|
* Read only. The unique xAxis object associated with the
|
|
2511
2596
|
* series.
|
|
2512
2597
|
*
|
|
2513
|
-
* @name xAxis
|
|
2514
|
-
* @
|
|
2515
|
-
* @type Axis
|
|
2598
|
+
* @name Highcharts.Series#xAxis
|
|
2599
|
+
* @type {Highcharts.Axis}
|
|
2516
2600
|
*/
|
|
2517
2601
|
/**
|
|
2518
2602
|
* Read only. The unique yAxis object associated with the
|
|
2519
2603
|
* series.
|
|
2520
2604
|
*
|
|
2521
|
-
* @name yAxis
|
|
2522
|
-
* @
|
|
2523
|
-
* @type Axis
|
|
2605
|
+
* @name Highcharts.Series#yAxis
|
|
2606
|
+
* @type {Highcharts.Axis}
|
|
2524
2607
|
*/
|
|
2525
2608
|
series[AXIS] = axis;
|
|
2526
2609
|
|
|
@@ -2545,6 +2628,11 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
2545
2628
|
* `series.parallelArrays` array.
|
|
2546
2629
|
*
|
|
2547
2630
|
* @private
|
|
2631
|
+
* @function Highcharts.Series#updateParallelArrays
|
|
2632
|
+
*
|
|
2633
|
+
* @param {Highcharts.Point} point
|
|
2634
|
+
*
|
|
2635
|
+
* @param {number|string} i
|
|
2548
2636
|
*/
|
|
2549
2637
|
updateParallelArrays: function (point, i) {
|
|
2550
2638
|
var series = point.series,
|
|
@@ -2575,6 +2663,9 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
2575
2663
|
* the point that calls autoIncrement.
|
|
2576
2664
|
*
|
|
2577
2665
|
* @private
|
|
2666
|
+
* @function Highcharts.Series#autoIncrement
|
|
2667
|
+
*
|
|
2668
|
+
* @return {number}
|
|
2578
2669
|
*/
|
|
2579
2670
|
autoIncrement: function () {
|
|
2580
2671
|
|
|
@@ -2630,8 +2721,14 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
2630
2721
|
* internally on initiating and updating series. This function will not
|
|
2631
2722
|
* redraw the series. For API usage, use {@link Series#update}.
|
|
2632
2723
|
*
|
|
2633
|
-
* @
|
|
2634
|
-
*
|
|
2724
|
+
* @function Highcharts.Series#setOptions
|
|
2725
|
+
*
|
|
2726
|
+
* @param {Highcharts.PlotSeriesOptions} itemOptions
|
|
2727
|
+
* The series options.
|
|
2728
|
+
*
|
|
2729
|
+
* @return {Highcharts.PlotSeriesOptions}
|
|
2730
|
+
*
|
|
2731
|
+
* @fires Highcharts.Series#event:afterSetOptions
|
|
2635
2732
|
*/
|
|
2636
2733
|
setOptions: function (itemOptions) {
|
|
2637
2734
|
var chart = this.chart,
|
|
@@ -2731,12 +2828,25 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
2731
2828
|
* user. This method can be simply overridden as series name format can
|
|
2732
2829
|
* vary (e.g. technical indicators).
|
|
2733
2830
|
*
|
|
2734
|
-
* @
|
|
2831
|
+
* @function Highcharts.Series#getName
|
|
2832
|
+
*
|
|
2833
|
+
* @return {string}
|
|
2834
|
+
* The series name.
|
|
2735
2835
|
*/
|
|
2736
2836
|
getName: function () {
|
|
2737
2837
|
return this.name || 'Series ' + (this.index + 1);
|
|
2738
2838
|
},
|
|
2739
2839
|
|
|
2840
|
+
/**
|
|
2841
|
+
* @private
|
|
2842
|
+
* @function Highcharts.Series#getCyclic
|
|
2843
|
+
*
|
|
2844
|
+
* @param {string} prop
|
|
2845
|
+
*
|
|
2846
|
+
* @param {*} value
|
|
2847
|
+
*
|
|
2848
|
+
* @param {*} [defaults]
|
|
2849
|
+
*/
|
|
2740
2850
|
getCyclic: function (prop, value, defaults) {
|
|
2741
2851
|
var i,
|
|
2742
2852
|
chart = this.chart,
|
|
@@ -2781,7 +2891,7 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
2781
2891
|
* Get the series' color based on either the options or pulled from global
|
|
2782
2892
|
* options.
|
|
2783
2893
|
*
|
|
2784
|
-
* @
|
|
2894
|
+
* @function Highcharts.Series#getColor
|
|
2785
2895
|
*/
|
|
2786
2896
|
|
|
2787
2897
|
getColor: function () {
|
|
@@ -2801,10 +2911,11 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
2801
2911
|
/**
|
|
2802
2912
|
* Get the series' symbol based on either the options or pulled from global
|
|
2803
2913
|
* options.
|
|
2914
|
+
*
|
|
2915
|
+
* @function Highcharts.Series#getSymbol
|
|
2804
2916
|
*/
|
|
2805
2917
|
getSymbol: function () {
|
|
2806
2918
|
var seriesMarkerOption = this.options.marker;
|
|
2807
|
-
|
|
2808
2919
|
this.getCyclic(
|
|
2809
2920
|
'symbol',
|
|
2810
2921
|
seriesMarkerOption.symbol,
|
|
@@ -2812,6 +2923,10 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
2812
2923
|
);
|
|
2813
2924
|
},
|
|
2814
2925
|
|
|
2926
|
+
/**
|
|
2927
|
+
* @private
|
|
2928
|
+
* @borrows LegendSymbolMixin.drawLineMarker as Highcharts.Series#drawLegendSymbol
|
|
2929
|
+
*/
|
|
2815
2930
|
drawLegendSymbol: LegendSymbolMixin.drawLineMarker,
|
|
2816
2931
|
|
|
2817
2932
|
/**
|
|
@@ -2821,6 +2936,11 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
2821
2936
|
* allows adding or removing points if the X-es don't match.
|
|
2822
2937
|
*
|
|
2823
2938
|
* @private
|
|
2939
|
+
* @function Highcharts.Series#updateData
|
|
2940
|
+
*
|
|
2941
|
+
* @param {Array<*>} data
|
|
2942
|
+
*
|
|
2943
|
+
* @return {boolean}
|
|
2824
2944
|
*/
|
|
2825
2945
|
updateData: function (data) {
|
|
2826
2946
|
var options = this.options,
|
|
@@ -2850,8 +2970,10 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
2850
2970
|
// Search for the same X in the existing data set
|
|
2851
2971
|
pointIndex = H.inArray(x, this.xData, lastIndex);
|
|
2852
2972
|
|
|
2853
|
-
// Matching X not found
|
|
2854
|
-
|
|
2973
|
+
// Matching X not found
|
|
2974
|
+
// or used already due to ununique x values (#8995),
|
|
2975
|
+
// add point (but later)
|
|
2976
|
+
if (pointIndex === -1 || oldData[pointIndex].touched) {
|
|
2855
2977
|
pointsToAdd.push(pointOptions);
|
|
2856
2978
|
|
|
2857
2979
|
// Matching X found, update
|
|
@@ -2867,10 +2989,10 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
2867
2989
|
// are not touched.
|
|
2868
2990
|
oldData[pointIndex].touched = true;
|
|
2869
2991
|
|
|
2870
|
-
// Speed optimize by only searching
|
|
2992
|
+
// Speed optimize by only searching after last known index.
|
|
2871
2993
|
// Performs ~20% bettor on large data sets.
|
|
2872
2994
|
if (requireSorting) {
|
|
2873
|
-
lastIndex = pointIndex;
|
|
2995
|
+
lastIndex = pointIndex + 1;
|
|
2874
2996
|
}
|
|
2875
2997
|
// Point exists, no changes, don't remove it
|
|
2876
2998
|
} else if (oldData[pointIndex]) {
|
|
@@ -2923,25 +3045,6 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
2923
3045
|
* or a different amount of points, as handled by the `updatePoints`
|
|
2924
3046
|
* parameter.
|
|
2925
3047
|
*
|
|
2926
|
-
* @param {SeriesDataOptions} data
|
|
2927
|
-
* Takes an array of data in the same format as described under
|
|
2928
|
-
* `series.typedata` for the given series type.
|
|
2929
|
-
* @param {Boolean} [redraw=true]
|
|
2930
|
-
* Whether to redraw the chart after the series is altered. If doing
|
|
2931
|
-
* more operations on the chart, it is a good idea to set redraw to
|
|
2932
|
-
* false and call {@link Chart#redraw} after.
|
|
2933
|
-
* @param {AnimationOptions} [animation]
|
|
2934
|
-
* When the updated data is the same length as the existing data,
|
|
2935
|
-
* points will be updated by default, and animation visualizes how
|
|
2936
|
-
* the points are changed. Set false to disable animation, or a
|
|
2937
|
-
* configuration object to set duration or easing.
|
|
2938
|
-
* @param {Boolean} [updatePoints=true]
|
|
2939
|
-
* When the updated data is the same length as the existing data, or
|
|
2940
|
-
* points can be matched by X values, points will be updated instead
|
|
2941
|
-
* of replaced. This allows updating with animation and performs
|
|
2942
|
-
* better. In this case, the original array is not passed by
|
|
2943
|
-
* reference. Set `false` to prevent.
|
|
2944
|
-
*
|
|
2945
3048
|
* @sample highcharts/members/series-setdata/
|
|
2946
3049
|
* Set new data from a button
|
|
2947
3050
|
* @sample highcharts/members/series-setdata-pie/
|
|
@@ -2950,6 +3053,32 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
2950
3053
|
* Set new data in Highstock
|
|
2951
3054
|
* @sample maps/members/series-setdata/
|
|
2952
3055
|
* Set new data in Highmaps
|
|
3056
|
+
*
|
|
3057
|
+
* @function Highcharts.Series#setData
|
|
3058
|
+
*
|
|
3059
|
+
* @param {Array<*>} data
|
|
3060
|
+
* Takes an array of data in the same format as described under
|
|
3061
|
+
* `series.{type}.data` for the given series type, for example a
|
|
3062
|
+
* line series would take data in the form described under
|
|
3063
|
+
* [series.line.data](https://api.highcharts.com/highcharts/series.line.data).
|
|
3064
|
+
*
|
|
3065
|
+
* @param {boolean} [redraw=true]
|
|
3066
|
+
* Whether to redraw the chart after the series is altered. If doing
|
|
3067
|
+
* more operations on the chart, it is a good idea to set redraw to
|
|
3068
|
+
* false and call {@link Chart#redraw} after.
|
|
3069
|
+
*
|
|
3070
|
+
* @param {Highcharts.AnimationOptionsObject} [animation]
|
|
3071
|
+
* When the updated data is the same length as the existing data,
|
|
3072
|
+
* points will be updated by default, and animation visualizes how
|
|
3073
|
+
* the points are changed. Set false to disable animation, or a
|
|
3074
|
+
* configuration object to set duration or easing.
|
|
3075
|
+
*
|
|
3076
|
+
* @param {boolean} [updatePoints=true]
|
|
3077
|
+
* When the updated data is the same length as the existing data, or
|
|
3078
|
+
* points can be matched by X values, points will be updated instead
|
|
3079
|
+
* of replaced. This allows updating with animation and performs
|
|
3080
|
+
* better. In this case, the original array is not passed by
|
|
3081
|
+
* reference. Set `false` to prevent.
|
|
2953
3082
|
*/
|
|
2954
3083
|
setData: function (data, redraw, animation, updatePoints) {
|
|
2955
3084
|
var series = this,
|
|
@@ -2981,7 +3110,10 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
2981
3110
|
oldDataLength &&
|
|
2982
3111
|
!series.cropped &&
|
|
2983
3112
|
!series.hasGroupedData &&
|
|
2984
|
-
series.visible
|
|
3113
|
+
series.visible &&
|
|
3114
|
+
// Soft updating has no benefit in boost, and causes JS error
|
|
3115
|
+
// (#8355)
|
|
3116
|
+
!series.isSeriesBoosting
|
|
2985
3117
|
) {
|
|
2986
3118
|
updatedData = this.updateData(data);
|
|
2987
3119
|
}
|
|
@@ -3099,8 +3231,12 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
3099
3231
|
* provide data grouping.
|
|
3100
3232
|
*
|
|
3101
3233
|
* @private
|
|
3102
|
-
* @
|
|
3103
|
-
*
|
|
3234
|
+
* @function Highcharts.Series#processData
|
|
3235
|
+
*
|
|
3236
|
+
* @param {boolean} force
|
|
3237
|
+
* Force data grouping.
|
|
3238
|
+
*
|
|
3239
|
+
* @return {boolean|undefined}
|
|
3104
3240
|
*/
|
|
3105
3241
|
processData: function (force) {
|
|
3106
3242
|
var series = this,
|
|
@@ -3164,8 +3300,10 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
3164
3300
|
|
|
3165
3301
|
// only crop if it's actually spilling out
|
|
3166
3302
|
} else if (
|
|
3167
|
-
|
|
3168
|
-
|
|
3303
|
+
series.yData && (
|
|
3304
|
+
processedXData[0] < min ||
|
|
3305
|
+
processedXData[dataLength - 1] > max
|
|
3306
|
+
)
|
|
3169
3307
|
) {
|
|
3170
3308
|
croppedData = this.cropData(
|
|
3171
3309
|
series.xData,
|
|
@@ -3222,6 +3360,19 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
3222
3360
|
* dataMin and dataMax within the cropped range.
|
|
3223
3361
|
*
|
|
3224
3362
|
* @private
|
|
3363
|
+
* @function Highcharts.Series#cropData
|
|
3364
|
+
*
|
|
3365
|
+
* @param {Array<number>} xData
|
|
3366
|
+
*
|
|
3367
|
+
* @param {Array<number>} yData
|
|
3368
|
+
*
|
|
3369
|
+
* @param {number} min
|
|
3370
|
+
*
|
|
3371
|
+
* @param {number} max
|
|
3372
|
+
*
|
|
3373
|
+
* @param {number} [cropShoulder]
|
|
3374
|
+
*
|
|
3375
|
+
* @return {*}
|
|
3225
3376
|
*/
|
|
3226
3377
|
cropData: function (xData, yData, min, max, cropShoulder) {
|
|
3227
3378
|
var dataLength = xData.length,
|
|
@@ -3263,6 +3414,7 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
3263
3414
|
* away unused points and optionally grouped in Highcharts Stock.
|
|
3264
3415
|
*
|
|
3265
3416
|
* @private
|
|
3417
|
+
* @function Highcharts.Series#generatePoints
|
|
3266
3418
|
*/
|
|
3267
3419
|
generatePoints: function () {
|
|
3268
3420
|
var series = this,
|
|
@@ -3321,12 +3473,16 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
3321
3473
|
* in the group.
|
|
3322
3474
|
* - `dataGroup.length` is the amount of points in the group.
|
|
3323
3475
|
*
|
|
3324
|
-
* @name dataGroup
|
|
3325
|
-
* @
|
|
3326
|
-
* @type {Object}
|
|
3476
|
+
* @name Highcharts.Point#dataGroup
|
|
3477
|
+
* @type {Highcharts.SVGElement|undefined}
|
|
3327
3478
|
*
|
|
3479
|
+
* @product highstock
|
|
3328
3480
|
*/
|
|
3329
3481
|
point.dataGroup = series.groupMap[i];
|
|
3482
|
+
if (point.dataGroup.options) {
|
|
3483
|
+
point.options = point.dataGroup.options;
|
|
3484
|
+
extend(point, point.dataGroup.options);
|
|
3485
|
+
}
|
|
3330
3486
|
}
|
|
3331
3487
|
if (point) { // #6279
|
|
3332
3488
|
point.index = cursor; // For faster access in Point.update
|
|
@@ -3369,9 +3525,9 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
3369
3525
|
* demand. To modify the data, use {@link Highcharts.Series#setData} or
|
|
3370
3526
|
* {@link Highcharts.Point#update}.
|
|
3371
3527
|
*
|
|
3372
|
-
* @
|
|
3373
|
-
*
|
|
3374
|
-
* @
|
|
3528
|
+
* @see Series.points
|
|
3529
|
+
*
|
|
3530
|
+
* @name Highcharts.Series#data
|
|
3375
3531
|
* @type {Array<Point>}
|
|
3376
3532
|
*/
|
|
3377
3533
|
series.data = data;
|
|
@@ -3384,9 +3540,9 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
3384
3540
|
* is grouped, these can't be correlated one to one. To
|
|
3385
3541
|
* modify the data, use {@link Highcharts.Series#setData} or {@link
|
|
3386
3542
|
* Highcharts.Point#update}.
|
|
3387
|
-
*
|
|
3388
|
-
* @
|
|
3389
|
-
* @type {Array<Point>}
|
|
3543
|
+
*
|
|
3544
|
+
* @name Highcharts.Series#points
|
|
3545
|
+
* @type {Array<Highcharts.Point>}
|
|
3390
3546
|
*/
|
|
3391
3547
|
series.points = points;
|
|
3392
3548
|
},
|
|
@@ -3395,10 +3551,11 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
3395
3551
|
* Calculate Y extremes for the visible data. The result is set as
|
|
3396
3552
|
* `dataMin` and `dataMax` on the Series item.
|
|
3397
3553
|
*
|
|
3398
|
-
* @
|
|
3399
|
-
* The data to inspect. Defaults to the current data within the
|
|
3400
|
-
* visible range.
|
|
3554
|
+
* @function Highcharts.Series#getExtremes
|
|
3401
3555
|
*
|
|
3556
|
+
* @param {Array<number>} [yData]
|
|
3557
|
+
* The data to inspect. Defaults to the current data within the
|
|
3558
|
+
* visible range.
|
|
3402
3559
|
*/
|
|
3403
3560
|
getExtremes: function (yData) {
|
|
3404
3561
|
var xAxis = this.xAxis,
|
|
@@ -3469,6 +3626,11 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
3469
3626
|
* data needed later in the `drawPoints` and `drawGraph` functions. This
|
|
3470
3627
|
* function can be overridden in plugins and custom series type
|
|
3471
3628
|
* implementations.
|
|
3629
|
+
*
|
|
3630
|
+
* @function Highcharts.Series#translate
|
|
3631
|
+
*
|
|
3632
|
+
* @todo
|
|
3633
|
+
* Make events official: Fires the event `afterTranslate`.
|
|
3472
3634
|
*/
|
|
3473
3635
|
translate: function () {
|
|
3474
3636
|
if (!this.processedXData) { // hidden series
|
|
@@ -3646,13 +3808,14 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
3646
3808
|
/**
|
|
3647
3809
|
* Return the series points with null points filtered out.
|
|
3648
3810
|
*
|
|
3649
|
-
* @param
|
|
3650
|
-
*
|
|
3651
|
-
* @param {Boolean} [insideOnly=false]
|
|
3652
|
-
* Whether to inspect only the points that are inside the visible
|
|
3653
|
-
* view.
|
|
3811
|
+
* @param {Array<Highcharts.Point>} [points]
|
|
3812
|
+
* The points to inspect, defaults to {@link Series.points}.
|
|
3654
3813
|
*
|
|
3655
|
-
* @
|
|
3814
|
+
* @param {boolean} [insideOnly=false]
|
|
3815
|
+
* Whether to inspect only the points that are inside the visible
|
|
3816
|
+
* view.
|
|
3817
|
+
*
|
|
3818
|
+
* @return {Array<Highcharts.Point>}
|
|
3656
3819
|
* The valid points.
|
|
3657
3820
|
*/
|
|
3658
3821
|
getValidPoints: function (points, insideOnly) {
|
|
@@ -3676,6 +3839,9 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
3676
3839
|
* animation to set the final clip.
|
|
3677
3840
|
*
|
|
3678
3841
|
* @private
|
|
3842
|
+
* @function Highcharts.Series#setClip
|
|
3843
|
+
*
|
|
3844
|
+
* @param {boolean} [animation]
|
|
3679
3845
|
*/
|
|
3680
3846
|
setClip: function (animation) {
|
|
3681
3847
|
var chart = this.chart,
|
|
@@ -3766,8 +3932,10 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
3766
3932
|
* order to perform the actual animation. After the second run, the function
|
|
3767
3933
|
* is removed.
|
|
3768
3934
|
*
|
|
3769
|
-
* @
|
|
3770
|
-
*
|
|
3935
|
+
* @function Highcharts.Series#animate
|
|
3936
|
+
*
|
|
3937
|
+
* @param {boolean} init
|
|
3938
|
+
* Initialize the animation.
|
|
3771
3939
|
*/
|
|
3772
3940
|
animate: function (init) {
|
|
3773
3941
|
var series = this,
|
|
@@ -3808,6 +3976,10 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
3808
3976
|
* This runs after animation to land on the final plot clipping.
|
|
3809
3977
|
*
|
|
3810
3978
|
* @private
|
|
3979
|
+
* @function Highcharts.Series#afterAnimate
|
|
3980
|
+
*
|
|
3981
|
+
* @todo
|
|
3982
|
+
* Make events official: Fires the event `afterAnimate`.
|
|
3811
3983
|
*/
|
|
3812
3984
|
afterAnimate: function () {
|
|
3813
3985
|
this.setClip();
|
|
@@ -3821,6 +3993,8 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
3821
3993
|
* types. The resulting element is typically stored as {@link
|
|
3822
3994
|
* Point.graphic}, and is created on the first call and updated and moved on
|
|
3823
3995
|
* subsequent calls.
|
|
3996
|
+
*
|
|
3997
|
+
* @function Highcharts.Series#drawPoints
|
|
3824
3998
|
*/
|
|
3825
3999
|
drawPoints: function () {
|
|
3826
4000
|
var series = this,
|
|
@@ -3938,14 +4112,15 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
3938
4112
|
* Get non-presentational attributes for a point. Used internally for both
|
|
3939
4113
|
* styled mode and classic. Can be overridden for different series types.
|
|
3940
4114
|
*
|
|
3941
|
-
* @see
|
|
4115
|
+
* @see Series#pointAttribs
|
|
4116
|
+
*
|
|
4117
|
+
* @param {Highcharts.Point} point
|
|
4118
|
+
* The Point to inspect.
|
|
3942
4119
|
*
|
|
3943
|
-
* @param
|
|
3944
|
-
*
|
|
3945
|
-
* @param {String} [state]
|
|
3946
|
-
* The state, can be either `hover`, `select` or undefined.
|
|
4120
|
+
* @param {string} [state]
|
|
4121
|
+
* The state, can be either `hover`, `select` or undefined.
|
|
3947
4122
|
*
|
|
3948
|
-
* @return {SVGAttributes}
|
|
4123
|
+
* @return {Highcharts.SVGAttributes}
|
|
3949
4124
|
* A hash containing those attributes that are not settable from
|
|
3950
4125
|
* CSS.
|
|
3951
4126
|
*/
|
|
@@ -3997,19 +4172,21 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
3997
4172
|
},
|
|
3998
4173
|
|
|
3999
4174
|
|
|
4175
|
+
|
|
4000
4176
|
/**
|
|
4001
4177
|
* Internal function to get presentational attributes for each point. Unlike
|
|
4002
4178
|
* {@link Series#markerAttribs}, this function should return those
|
|
4003
4179
|
* attributes that can also be set in CSS. In styled mode, `pointAttribs`
|
|
4004
4180
|
* won't be called.
|
|
4005
4181
|
*
|
|
4006
|
-
* @param
|
|
4007
|
-
*
|
|
4008
|
-
*
|
|
4009
|
-
*
|
|
4010
|
-
*
|
|
4182
|
+
* @param {Highcharts.Point} point
|
|
4183
|
+
* The point instance to inspect.
|
|
4184
|
+
*
|
|
4185
|
+
* @param {string} [state]
|
|
4186
|
+
* The point state, can be either `hover`, `select` or undefined for
|
|
4187
|
+
* normal state.
|
|
4011
4188
|
*
|
|
4012
|
-
* @return {SVGAttributes}
|
|
4189
|
+
* @return {Highcharts.SVGAttributes}
|
|
4013
4190
|
* The presentational attributes to be set on the point.
|
|
4014
4191
|
*/
|
|
4015
4192
|
pointAttribs: function (point, state) {
|
|
@@ -4079,11 +4256,17 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
4079
4256
|
'fill': fill
|
|
4080
4257
|
};
|
|
4081
4258
|
},
|
|
4259
|
+
|
|
4082
4260
|
|
|
4261
|
+
|
|
4083
4262
|
/**
|
|
4084
4263
|
* Clear DOM objects and free up memory.
|
|
4085
4264
|
*
|
|
4086
4265
|
* @private
|
|
4266
|
+
* @function Highcharts.Series#destroy
|
|
4267
|
+
*
|
|
4268
|
+
* @todo
|
|
4269
|
+
* Make events official: Fires the event `destroy`.
|
|
4087
4270
|
*/
|
|
4088
4271
|
destroy: function () {
|
|
4089
4272
|
var series = this,
|
|
@@ -4160,6 +4343,15 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
4160
4343
|
* Get the graph path.
|
|
4161
4344
|
*
|
|
4162
4345
|
* @private
|
|
4346
|
+
* @function Highcharts.Series#getGraphPath
|
|
4347
|
+
*
|
|
4348
|
+
* @param {Array<*>} points
|
|
4349
|
+
*
|
|
4350
|
+
* @param {boolean} nullsAsZeroes
|
|
4351
|
+
*
|
|
4352
|
+
* @param {boolean} connectCliffs
|
|
4353
|
+
*
|
|
4354
|
+
* @return {Array<number|string>}
|
|
4163
4355
|
*/
|
|
4164
4356
|
getGraphPath: function (points, nullsAsZeroes, connectCliffs) {
|
|
4165
4357
|
var series = this,
|
|
@@ -4285,6 +4477,8 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
4285
4477
|
* The first time it generates the `series.graph` item and optionally other
|
|
4286
4478
|
* series-wide items like `series.area` for area charts. On subsequent calls
|
|
4287
4479
|
* these items are updated with new positions and attributes.
|
|
4480
|
+
*
|
|
4481
|
+
* @function Highcharts.Series#drawGraph
|
|
4288
4482
|
*/
|
|
4289
4483
|
drawGraph: function () {
|
|
4290
4484
|
var series = this,
|
|
@@ -4356,6 +4550,11 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
4356
4550
|
* Extendable by series with multiple lines within one series.
|
|
4357
4551
|
*
|
|
4358
4552
|
* @private
|
|
4553
|
+
* @function Highcharts.Series#getZonesGraphs
|
|
4554
|
+
*
|
|
4555
|
+
* @param {Array<Array<string>>} props
|
|
4556
|
+
*
|
|
4557
|
+
* @return {Array<Array<string>>}
|
|
4359
4558
|
*/
|
|
4360
4559
|
getZonesGraphs: function (props) {
|
|
4361
4560
|
// Add the zone properties if any
|
|
@@ -4378,6 +4577,7 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
4378
4577
|
* Clip the graphs into zones for colors and styling.
|
|
4379
4578
|
*
|
|
4380
4579
|
* @private
|
|
4580
|
+
* @function Highcharts.Series#applyZones
|
|
4381
4581
|
*/
|
|
4382
4582
|
applyZones: function () {
|
|
4383
4583
|
var series = this,
|
|
@@ -4522,6 +4722,9 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
4522
4722
|
* series.markerGroup.
|
|
4523
4723
|
*
|
|
4524
4724
|
* @private
|
|
4725
|
+
* @function Highcharts.Series#invertGroups
|
|
4726
|
+
*
|
|
4727
|
+
* @param {boolean} inverted
|
|
4525
4728
|
*/
|
|
4526
4729
|
invertGroups: function (inverted) {
|
|
4527
4730
|
var series = this,
|
|
@@ -4570,6 +4773,19 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
4570
4773
|
* group will only be adjusted to the updated plot size.
|
|
4571
4774
|
*
|
|
4572
4775
|
* @private
|
|
4776
|
+
* @function Highcharts.Series#plotGroup
|
|
4777
|
+
*
|
|
4778
|
+
* @param {string} prop
|
|
4779
|
+
*
|
|
4780
|
+
* @param {string} name
|
|
4781
|
+
*
|
|
4782
|
+
* @param {string} visibility
|
|
4783
|
+
*
|
|
4784
|
+
* @param {number} zIndex
|
|
4785
|
+
*
|
|
4786
|
+
* @param {Highcharts.SVGElement} parent
|
|
4787
|
+
*
|
|
4788
|
+
* @return {Highcharts.SVGElement}
|
|
4573
4789
|
*/
|
|
4574
4790
|
plotGroup: function (prop, name, visibility, zIndex, parent) {
|
|
4575
4791
|
var group = this[prop],
|
|
@@ -4616,6 +4832,10 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
4616
4832
|
|
|
4617
4833
|
/**
|
|
4618
4834
|
* Get the translation and scale for the plot area of this series.
|
|
4835
|
+
*
|
|
4836
|
+
* @function Highcharts.Series#getPlotBox
|
|
4837
|
+
*
|
|
4838
|
+
* @return {Highcharts.SeriesPlotBoxObject}
|
|
4619
4839
|
*/
|
|
4620
4840
|
getPlotBox: function () {
|
|
4621
4841
|
var chart = this.chart,
|
|
@@ -4639,6 +4859,11 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
4639
4859
|
* Render the graph and markers. Called internally when first rendering and
|
|
4640
4860
|
* later when redrawing the chart. This function can be extended in plugins,
|
|
4641
4861
|
* but normally shouldn't be called directly.
|
|
4862
|
+
*
|
|
4863
|
+
* @function Highcharts.Series#render
|
|
4864
|
+
*
|
|
4865
|
+
* @todo
|
|
4866
|
+
* Make events official: Fires the event `afterRender`.
|
|
4642
4867
|
*/
|
|
4643
4868
|
render: function () {
|
|
4644
4869
|
var series = this,
|
|
@@ -4750,6 +4975,7 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
4750
4975
|
* and normally shouldn't be called directly.
|
|
4751
4976
|
*
|
|
4752
4977
|
* @private
|
|
4978
|
+
* @function Highcharts.Series#redraw
|
|
4753
4979
|
*/
|
|
4754
4980
|
redraw: function () {
|
|
4755
4981
|
var series = this,
|
|
@@ -4784,6 +5010,16 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
4784
5010
|
|
|
4785
5011
|
kdAxisArray: ['clientX', 'plotY'],
|
|
4786
5012
|
|
|
5013
|
+
/**
|
|
5014
|
+
* @private
|
|
5015
|
+
* @function Highcharts.Series#searchPoint
|
|
5016
|
+
*
|
|
5017
|
+
* @param {*} e
|
|
5018
|
+
*
|
|
5019
|
+
* @param {*} compareX
|
|
5020
|
+
*
|
|
5021
|
+
* @return {Highcharts.Point}
|
|
5022
|
+
*/
|
|
4787
5023
|
searchPoint: function (e, compareX) {
|
|
4788
5024
|
var series = this,
|
|
4789
5025
|
xAxis = series.xAxis,
|
|
@@ -4807,6 +5043,7 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
4807
5043
|
* typically search in two dimensions, X and Y.
|
|
4808
5044
|
*
|
|
4809
5045
|
* @private
|
|
5046
|
+
* @function Highcharts.Series#buildKDTree
|
|
4810
5047
|
*/
|
|
4811
5048
|
buildKDTree: function () {
|
|
4812
5049
|
|
|
@@ -4870,6 +5107,16 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
4870
5107
|
syncTimeout(startRecursive, series.options.kdNow ? 0 : 1);
|
|
4871
5108
|
},
|
|
4872
5109
|
|
|
5110
|
+
/**
|
|
5111
|
+
* @private
|
|
5112
|
+
* @function Highcharts.Series#searchKDTree
|
|
5113
|
+
*
|
|
5114
|
+
* @param {*} point
|
|
5115
|
+
*
|
|
5116
|
+
* @param {*} compareX
|
|
5117
|
+
*
|
|
5118
|
+
* @return {Highcharts.Point}
|
|
5119
|
+
*/
|
|
4873
5120
|
searchKDTree: function (point, compareX) {
|
|
4874
5121
|
var series = this,
|
|
4875
5122
|
kdX = this.kdAxisArray[0],
|
|
@@ -4948,22 +5195,39 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
4948
5195
|
* A line series displays information as a series of data points connected by
|
|
4949
5196
|
* straight line segments.
|
|
4950
5197
|
*
|
|
4951
|
-
* @sample {highcharts} highcharts/demo/line-basic/
|
|
4952
|
-
*
|
|
5198
|
+
* @sample {highcharts} highcharts/demo/line-basic/
|
|
5199
|
+
* Line chart
|
|
5200
|
+
* @sample {highstock} stock/demo/basic-line/
|
|
5201
|
+
* Line chart
|
|
4953
5202
|
*
|
|
4954
|
-
* @extends
|
|
4955
|
-
* @product
|
|
5203
|
+
* @extends plotOptions.series
|
|
5204
|
+
* @product highcharts highstock
|
|
4956
5205
|
* @apioption plotOptions.line
|
|
4957
5206
|
*/
|
|
4958
5207
|
|
|
5208
|
+
|
|
5209
|
+
|
|
5210
|
+
/**
|
|
5211
|
+
* The SVG value used for the `stroke-linecap` and `stroke-linejoin`
|
|
5212
|
+
* of a line graph. Round means that lines are rounded in the ends and
|
|
5213
|
+
* bends.
|
|
5214
|
+
*
|
|
5215
|
+
* @type {string}
|
|
5216
|
+
* @validvalue ["round", "butt", "square"]
|
|
5217
|
+
* @default round
|
|
5218
|
+
* @since 3.0.7
|
|
5219
|
+
* @apioption plotOptions.line.linecap
|
|
5220
|
+
*/
|
|
5221
|
+
|
|
5222
|
+
|
|
5223
|
+
|
|
4959
5224
|
/**
|
|
4960
5225
|
* A `line` series. If the [type](#series.line.type) option is not
|
|
4961
5226
|
* specified, it is inherited from [chart.type](#chart.type).
|
|
4962
5227
|
*
|
|
4963
|
-
* @
|
|
4964
|
-
* @extends series,plotOptions.line
|
|
5228
|
+
* @extends series,plotOptions.line
|
|
4965
5229
|
* @excluding dataParser,dataURL
|
|
4966
|
-
* @product
|
|
5230
|
+
* @product highcharts highstock
|
|
4967
5231
|
* @apioption series.line
|
|
4968
5232
|
*/
|
|
4969
5233
|
|
|
@@ -4993,8 +5257,8 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
4993
5257
|
* ]
|
|
4994
5258
|
* ```
|
|
4995
5259
|
*
|
|
4996
|
-
* 3. An array of objects with named values. The
|
|
4997
|
-
*
|
|
5260
|
+
* 3. An array of objects with named values. The following snippet shows only a
|
|
5261
|
+
* few settings, see the complete options set below. If the total number of data
|
|
4998
5262
|
* points exceeds the series' [turboThreshold](#series.line.turboThreshold),
|
|
4999
5263
|
* this option is not available.
|
|
5000
5264
|
*
|
|
@@ -5012,7 +5276,6 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
5012
5276
|
* }]
|
|
5013
5277
|
* ```
|
|
5014
5278
|
*
|
|
5015
|
-
* @type {Array<Object|Array|Number>}
|
|
5016
5279
|
* @sample {highcharts} highcharts/chart/reflow-true/
|
|
5017
5280
|
* Numerical values
|
|
5018
5281
|
* @sample {highcharts} highcharts/series/data-array-of-arrays/
|
|
@@ -5023,6 +5286,8 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
5023
5286
|
* Arrays of point.name and y
|
|
5024
5287
|
* @sample {highcharts} highcharts/series/data-array-of-objects/
|
|
5025
5288
|
* Config objects
|
|
5289
|
+
*
|
|
5290
|
+
* @type {Array<number|Array<number|string|Date>|*>}
|
|
5026
5291
|
* @apioption series.line.data
|
|
5027
5292
|
*/
|
|
5028
5293
|
|
|
@@ -5030,9 +5295,9 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
5030
5295
|
* An additional, individual class name for the data point's graphic
|
|
5031
5296
|
* representation.
|
|
5032
5297
|
*
|
|
5033
|
-
* @type
|
|
5034
|
-
* @since
|
|
5035
|
-
* @product
|
|
5298
|
+
* @type {string}
|
|
5299
|
+
* @since 5.0.0
|
|
5300
|
+
* @product highcharts
|
|
5036
5301
|
* @apioption series.line.data.className
|
|
5037
5302
|
*/
|
|
5038
5303
|
|
|
@@ -5043,10 +5308,11 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
5043
5308
|
* In styled mode, the `color` option doesn't take effect. Instead, use
|
|
5044
5309
|
* `colorIndex`.
|
|
5045
5310
|
*
|
|
5046
|
-
* @
|
|
5047
|
-
*
|
|
5048
|
-
*
|
|
5049
|
-
* @
|
|
5311
|
+
* @sample {highcharts} highcharts/point/color/
|
|
5312
|
+
* Mark the highest point
|
|
5313
|
+
*
|
|
5314
|
+
* @type {Highcharts.ColorString}
|
|
5315
|
+
* @product highcharts highstock
|
|
5050
5316
|
* @apioption series.line.data.color
|
|
5051
5317
|
*/
|
|
5052
5318
|
|
|
@@ -5057,9 +5323,9 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
5057
5323
|
* the `fill` attribute, so the change in class name won't have a visual effect
|
|
5058
5324
|
* by default.
|
|
5059
5325
|
*
|
|
5060
|
-
* @type
|
|
5061
|
-
* @since
|
|
5062
|
-
* @product
|
|
5326
|
+
* @type {number}
|
|
5327
|
+
* @since 5.0.0
|
|
5328
|
+
* @product highcharts
|
|
5063
5329
|
* @apioption series.line.data.colorIndex
|
|
5064
5330
|
*/
|
|
5065
5331
|
|
|
@@ -5068,10 +5334,11 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
5068
5334
|
* the ones for [plotOptions.series.dataLabels](
|
|
5069
5335
|
* #plotOptions.series.dataLabels).
|
|
5070
5336
|
*
|
|
5071
|
-
* @type {Object}
|
|
5072
5337
|
* @sample highcharts/point/datalabels/
|
|
5073
5338
|
* Show a label for the last value
|
|
5074
|
-
*
|
|
5339
|
+
*
|
|
5340
|
+
* @type {Highcharts.PlotSeriesDataLabelsOptions}
|
|
5341
|
+
* @product highcharts highstock
|
|
5075
5342
|
* @apioption series.line.data.dataLabels
|
|
5076
5343
|
*/
|
|
5077
5344
|
|
|
@@ -5079,9 +5346,8 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
5079
5346
|
* A description of the point to add to the screen reader information
|
|
5080
5347
|
* about the point. Requires the Accessibility module.
|
|
5081
5348
|
*
|
|
5082
|
-
* @type
|
|
5083
|
-
* @
|
|
5084
|
-
* @since 5.0.0
|
|
5349
|
+
* @type {string}
|
|
5350
|
+
* @since 5.0.0
|
|
5085
5351
|
* @apioption series.line.data.description
|
|
5086
5352
|
*/
|
|
5087
5353
|
|
|
@@ -5089,11 +5355,12 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
5089
5355
|
* An id for the point. This can be used after render time to get a
|
|
5090
5356
|
* pointer to the point object through `chart.get()`.
|
|
5091
5357
|
*
|
|
5092
|
-
* @
|
|
5093
|
-
*
|
|
5094
|
-
*
|
|
5095
|
-
* @
|
|
5096
|
-
* @
|
|
5358
|
+
* @sample {highcharts} highcharts/point/id/
|
|
5359
|
+
* Remove an id'd point
|
|
5360
|
+
*
|
|
5361
|
+
* @type {string}
|
|
5362
|
+
* @since 1.2.0
|
|
5363
|
+
* @product highcharts highstock
|
|
5097
5364
|
* @apioption series.line.data.id
|
|
5098
5365
|
*/
|
|
5099
5366
|
|
|
@@ -5102,7 +5369,7 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
5102
5369
|
* data labels are about to overlap, only the one with the highest `labelrank`
|
|
5103
5370
|
* will be drawn.
|
|
5104
5371
|
*
|
|
5105
|
-
* @type
|
|
5372
|
+
* @type {number}
|
|
5106
5373
|
* @apioption series.line.data.labelrank
|
|
5107
5374
|
*/
|
|
5108
5375
|
|
|
@@ -5110,18 +5377,21 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
5110
5377
|
* The name of the point as shown in the legend, tooltip, dataLabel
|
|
5111
5378
|
* etc.
|
|
5112
5379
|
*
|
|
5113
|
-
* @type {String}
|
|
5114
|
-
* @sample {highcharts} highcharts/series/data-array-of-objects/ Point names
|
|
5115
5380
|
* @see [xAxis.uniqueNames](#xAxis.uniqueNames)
|
|
5381
|
+
*
|
|
5382
|
+
* @sample {highcharts} highcharts/series/data-array-of-objects/
|
|
5383
|
+
* Point names
|
|
5384
|
+
*
|
|
5385
|
+
* @type {string}
|
|
5116
5386
|
* @apioption series.line.data.name
|
|
5117
5387
|
*/
|
|
5118
5388
|
|
|
5119
5389
|
/**
|
|
5120
5390
|
* Whether the data point is selected initially.
|
|
5121
5391
|
*
|
|
5122
|
-
* @type
|
|
5123
|
-
* @default
|
|
5124
|
-
* @product
|
|
5392
|
+
* @type {boolean}
|
|
5393
|
+
* @default false
|
|
5394
|
+
* @product highcharts highstock
|
|
5125
5395
|
* @apioption series.line.data.selected
|
|
5126
5396
|
*/
|
|
5127
5397
|
|
|
@@ -5129,30 +5399,29 @@ H.Series = H.seriesType('line', null, { // base series options
|
|
|
5129
5399
|
* The x value of the point. For datetime axes, the X value is the timestamp
|
|
5130
5400
|
* in milliseconds since 1970.
|
|
5131
5401
|
*
|
|
5132
|
-
* @type
|
|
5133
|
-
* @product
|
|
5402
|
+
* @type {number}
|
|
5403
|
+
* @product highcharts highstock
|
|
5134
5404
|
* @apioption series.line.data.x
|
|
5135
5405
|
*/
|
|
5136
5406
|
|
|
5137
5407
|
/**
|
|
5138
5408
|
* The y value of the point.
|
|
5139
5409
|
*
|
|
5140
|
-
* @type
|
|
5141
|
-
* @
|
|
5142
|
-
* @product highcharts highstock
|
|
5410
|
+
* @type {number}
|
|
5411
|
+
* @product highcharts highstock
|
|
5143
5412
|
* @apioption series.line.data.y
|
|
5144
5413
|
*/
|
|
5145
5414
|
|
|
5146
5415
|
/**
|
|
5147
5416
|
* Individual point events
|
|
5148
5417
|
*
|
|
5149
|
-
* @extends
|
|
5150
|
-
* @product
|
|
5418
|
+
* @extends plotOptions.series.point.events
|
|
5419
|
+
* @product highcharts highstock
|
|
5151
5420
|
* @apioption series.line.data.events
|
|
5152
5421
|
*/
|
|
5153
5422
|
|
|
5154
5423
|
/**
|
|
5155
|
-
* @extends
|
|
5156
|
-
* @product
|
|
5424
|
+
* @extends plotOptions.series.marker
|
|
5425
|
+
* @product highcharts highstock
|
|
5157
5426
|
* @apioption series.line.data.marker
|
|
5158
5427
|
*/
|