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,12 +1,39 @@
|
|
|
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
|
+
* Options for plot bands on axes.
|
|
9
|
+
*
|
|
10
|
+
* @typedef {Highcharts.XAxisPlotBandsOptions|Highcharts.YAxisPlotBandsOptions|Highcharts.ZAxisPlotBandsOptions} Highcharts.AxisPlotBandsOptions
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Options for plot band labels on axes.
|
|
15
|
+
*
|
|
16
|
+
* @typedef {Highcharts.XAxisPlotBandsLabelOptions|Highcharts.YAxisPlotBandsLabelOptions|Highcharts.ZAxisPlotBandsLabelOptions} Highcharts.AxisPlotBandsLabelOptions
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Options for plot lines on axes.
|
|
21
|
+
*
|
|
22
|
+
* @typedef {Highcharts.XAxisPlotLinesOptions|Highcharts.YAxisPlotLinesOptions|Highcharts.ZAxisPlotLinesOptions} Highcharts.AxisPlotLinesOptions
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Options for plot line labels on axes.
|
|
27
|
+
*
|
|
28
|
+
* @typedef {Highcharts.XAxisPlotLinesLabelOptions|Highcharts.YAxisPlotLinesLabelOptions|Highcharts.ZAxisPlotLinesLabelOptions} Highcharts.AxisPlotLinesLabelOptions
|
|
29
|
+
*/
|
|
30
|
+
|
|
6
31
|
'use strict';
|
|
32
|
+
|
|
7
33
|
import H from './Globals.js';
|
|
8
34
|
import Axis from './Axis.js';
|
|
9
35
|
import './Utilities.js';
|
|
36
|
+
|
|
10
37
|
var arrayMax = H.arrayMax,
|
|
11
38
|
arrayMin = H.arrayMin,
|
|
12
39
|
defined = H.defined,
|
|
@@ -15,9 +42,16 @@ var arrayMax = H.arrayMax,
|
|
|
15
42
|
erase = H.erase,
|
|
16
43
|
merge = H.merge,
|
|
17
44
|
pick = H.pick;
|
|
18
|
-
|
|
45
|
+
|
|
46
|
+
/**
|
|
19
47
|
* The object wrapper for plot lines and plot bands
|
|
20
|
-
*
|
|
48
|
+
*
|
|
49
|
+
* @class
|
|
50
|
+
* @name Highcharts.PlotLineOrBand
|
|
51
|
+
*
|
|
52
|
+
* @param {Highcharts.Axis} axis
|
|
53
|
+
*
|
|
54
|
+
* @param {Highcharts.AxisPlotLinesOptions|Highcharts.AxisPlotBandsOptions} options
|
|
21
55
|
*/
|
|
22
56
|
H.PlotLineOrBand = function (axis, options) {
|
|
23
57
|
this.axis = axis;
|
|
@@ -33,8 +67,16 @@ H.PlotLineOrBand.prototype = {
|
|
|
33
67
|
/**
|
|
34
68
|
* Render the plot line or plot band. If it is already existing,
|
|
35
69
|
* move it.
|
|
70
|
+
*
|
|
71
|
+
* @private
|
|
72
|
+
* @function Highcharts.PlotLineOrBand#render
|
|
73
|
+
*
|
|
74
|
+
* @return {Highcharts.PlotLineOrBand|undefined}
|
|
36
75
|
*/
|
|
37
76
|
render: function () {
|
|
77
|
+
|
|
78
|
+
H.fireEvent(this, 'render');
|
|
79
|
+
|
|
38
80
|
var plotLine = this,
|
|
39
81
|
axis = plotLine.axis,
|
|
40
82
|
horiz = axis.horiz,
|
|
@@ -101,6 +143,12 @@ H.PlotLineOrBand.prototype = {
|
|
|
101
143
|
|
|
102
144
|
// Create the path
|
|
103
145
|
if (isNew) {
|
|
146
|
+
/**
|
|
147
|
+
* SVG element of the plot line or band.
|
|
148
|
+
*
|
|
149
|
+
* @name Highcharts.PlotLineOrBand#svgElement
|
|
150
|
+
* @type {Highcharts.SVGElement}
|
|
151
|
+
*/
|
|
104
152
|
plotLine.svgElem = svgElem =
|
|
105
153
|
renderer
|
|
106
154
|
.path()
|
|
@@ -173,6 +221,17 @@ H.PlotLineOrBand.prototype = {
|
|
|
173
221
|
|
|
174
222
|
/**
|
|
175
223
|
* Render and align label for plot line or band.
|
|
224
|
+
*
|
|
225
|
+
* @private
|
|
226
|
+
* @function Highcharts.PlotLineOrBand#renderLabel
|
|
227
|
+
*
|
|
228
|
+
* @param {Highcharts.AxisPlotLinesLabelOptions|Highcharts.AxisPlotBandsLabelOptions} optionsLabel
|
|
229
|
+
*
|
|
230
|
+
* @param {Highcharts.SVGPathArray} path
|
|
231
|
+
*
|
|
232
|
+
* @param {boolean} [isBand]
|
|
233
|
+
*
|
|
234
|
+
* @param {number} [zIndex]
|
|
176
235
|
*/
|
|
177
236
|
renderLabel: function (optionsLabel, path, isBand, zIndex) {
|
|
178
237
|
var plotLine = this,
|
|
@@ -195,6 +254,12 @@ H.PlotLineOrBand.prototype = {
|
|
|
195
254
|
|
|
196
255
|
attribs.zIndex = zIndex;
|
|
197
256
|
|
|
257
|
+
/**
|
|
258
|
+
* SVG element of the label.
|
|
259
|
+
*
|
|
260
|
+
* @name Highcharts.PlotLineOrBand#label
|
|
261
|
+
* @type {Highcharts.SVGElement}
|
|
262
|
+
*/
|
|
198
263
|
plotLine.label = label = renderer.text(
|
|
199
264
|
optionsLabel.text,
|
|
200
265
|
0,
|
|
@@ -229,7 +294,9 @@ H.PlotLineOrBand.prototype = {
|
|
|
229
294
|
},
|
|
230
295
|
|
|
231
296
|
/**
|
|
232
|
-
* Remove the plot line or band
|
|
297
|
+
* Remove the plot line or band.
|
|
298
|
+
*
|
|
299
|
+
* @function Highcharts.PlotLineOrBand#destroy
|
|
233
300
|
*/
|
|
234
301
|
destroy: function () {
|
|
235
302
|
// remove it from the lookup
|
|
@@ -240,22 +307,570 @@ H.PlotLineOrBand.prototype = {
|
|
|
240
307
|
}
|
|
241
308
|
};
|
|
242
309
|
|
|
243
|
-
|
|
244
|
-
* Object with members for extending the Axis prototype
|
|
245
|
-
* @todo Extend directly instead of adding object to Highcharts first
|
|
246
|
-
*/
|
|
247
|
-
|
|
310
|
+
// Object with members for extending the Axis prototype
|
|
248
311
|
H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */ {
|
|
249
312
|
|
|
313
|
+
/**
|
|
314
|
+
* An array of colored bands stretching across the plot area marking an
|
|
315
|
+
* interval on the axis.
|
|
316
|
+
*
|
|
317
|
+
* In styled mode, the plot bands are styled by the `.highcharts-plot-band`
|
|
318
|
+
* class in addition to the `className` option.
|
|
319
|
+
*
|
|
320
|
+
* @productdesc {highcharts}
|
|
321
|
+
* In a gauge, a plot band on the Y axis (value axis) will stretch along the
|
|
322
|
+
* perimeter of the gauge.
|
|
323
|
+
*
|
|
324
|
+
* @type {Array<*>}
|
|
325
|
+
* @product highcharts highstock gantt
|
|
326
|
+
* @apioption xAxis.plotBands
|
|
327
|
+
*/
|
|
328
|
+
|
|
329
|
+
/**
|
|
330
|
+
* Border color for the plot band. Also requires `borderWidth` to be set.
|
|
331
|
+
*
|
|
332
|
+
* @type {Highcharts.ColorString}
|
|
333
|
+
* @apioption xAxis.plotBands.borderColor
|
|
334
|
+
*/
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* Border width for the plot band. Also requires `borderColor` to be set.
|
|
338
|
+
*
|
|
339
|
+
* @type {number}
|
|
340
|
+
* @default 0
|
|
341
|
+
* @apioption xAxis.plotBands.borderWidth
|
|
342
|
+
*/
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* A custom class name, in addition to the default `highcharts-plot-band`,
|
|
346
|
+
* to apply to each individual band.
|
|
347
|
+
*
|
|
348
|
+
* @type {string}
|
|
349
|
+
* @since 5.0.0
|
|
350
|
+
* @apioption xAxis.plotBands.className
|
|
351
|
+
*/
|
|
352
|
+
|
|
353
|
+
/**
|
|
354
|
+
* The color of the plot band.
|
|
355
|
+
*
|
|
356
|
+
* @sample {highcharts} highcharts/xaxis/plotbands-color/
|
|
357
|
+
* Color band
|
|
358
|
+
* @sample {highstock} stock/xaxis/plotbands/
|
|
359
|
+
* Plot band on Y axis
|
|
360
|
+
*
|
|
361
|
+
* @type {Highcharts.ColorString}
|
|
362
|
+
* @apioption xAxis.plotBands.color
|
|
363
|
+
*/
|
|
364
|
+
|
|
365
|
+
/**
|
|
366
|
+
* An object defining mouse events for the plot band. Supported properties
|
|
367
|
+
* are `click`, `mouseover`, `mouseout`, `mousemove`.
|
|
368
|
+
*
|
|
369
|
+
* @sample {highcharts} highcharts/xaxis/plotbands-events/
|
|
370
|
+
* Mouse events demonstrated
|
|
371
|
+
*
|
|
372
|
+
* @since 1.2
|
|
373
|
+
* @context PlotLineOrBand
|
|
374
|
+
* @apioption xAxis.plotBands.events
|
|
375
|
+
*/
|
|
376
|
+
|
|
377
|
+
/**
|
|
378
|
+
* The start position of the plot band in axis units.
|
|
379
|
+
*
|
|
380
|
+
* @sample {highcharts} highcharts/xaxis/plotbands-color/
|
|
381
|
+
* Datetime axis
|
|
382
|
+
* @sample {highcharts} highcharts/xaxis/plotbands-from/
|
|
383
|
+
* Categorized axis
|
|
384
|
+
* @sample {highstock} stock/xaxis/plotbands/
|
|
385
|
+
* Plot band on Y axis
|
|
386
|
+
*
|
|
387
|
+
* @type {number}
|
|
388
|
+
* @apioption xAxis.plotBands.from
|
|
389
|
+
*/
|
|
390
|
+
|
|
391
|
+
/**
|
|
392
|
+
* An id used for identifying the plot band in Axis.removePlotBand.
|
|
393
|
+
*
|
|
394
|
+
* @sample {highcharts} highcharts/xaxis/plotbands-id/
|
|
395
|
+
* Remove plot band by id
|
|
396
|
+
* @sample {highstock} highcharts/xaxis/plotbands-id/
|
|
397
|
+
* Remove plot band by id
|
|
398
|
+
*
|
|
399
|
+
* @type {string}
|
|
400
|
+
* @apioption xAxis.plotBands.id
|
|
401
|
+
*/
|
|
402
|
+
|
|
403
|
+
/**
|
|
404
|
+
* The end position of the plot band in axis units.
|
|
405
|
+
*
|
|
406
|
+
* @sample {highcharts} highcharts/xaxis/plotbands-color/
|
|
407
|
+
* Datetime axis
|
|
408
|
+
* @sample {highcharts} highcharts/xaxis/plotbands-from/
|
|
409
|
+
* Categorized axis
|
|
410
|
+
* @sample {highstock} stock/xaxis/plotbands/
|
|
411
|
+
* Plot band on Y axis
|
|
412
|
+
*
|
|
413
|
+
* @type {number}
|
|
414
|
+
* @apioption xAxis.plotBands.to
|
|
415
|
+
*/
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* The z index of the plot band within the chart, relative to other
|
|
419
|
+
* elements. Using the same z index as another element may give
|
|
420
|
+
* unpredictable results, as the last rendered element will be on top.
|
|
421
|
+
* Values from 0 to 20 make sense.
|
|
422
|
+
*
|
|
423
|
+
* @sample {highcharts} highcharts/xaxis/plotbands-color/
|
|
424
|
+
* Behind plot lines by default
|
|
425
|
+
* @sample {highcharts} highcharts/xaxis/plotbands-zindex/
|
|
426
|
+
* Above plot lines
|
|
427
|
+
* @sample {highcharts} highcharts/xaxis/plotbands-zindex-above-series/
|
|
428
|
+
* Above plot lines and series
|
|
429
|
+
*
|
|
430
|
+
* @type {number}
|
|
431
|
+
* @since 1.2
|
|
432
|
+
* @apioption xAxis.plotBands.zIndex
|
|
433
|
+
*/
|
|
434
|
+
|
|
435
|
+
/**
|
|
436
|
+
* Text labels for the plot bands
|
|
437
|
+
*
|
|
438
|
+
* @product highcharts highstock gantt
|
|
439
|
+
* @apioption xAxis.plotBands.label
|
|
440
|
+
*/
|
|
441
|
+
|
|
442
|
+
/**
|
|
443
|
+
* Horizontal alignment of the label. Can be one of "left", "center" or
|
|
444
|
+
* "right".
|
|
445
|
+
*
|
|
446
|
+
* @sample {highcharts} highcharts/xaxis/plotbands-label-align/
|
|
447
|
+
* Aligned to the right
|
|
448
|
+
* @sample {highstock} stock/xaxis/plotbands-label/
|
|
449
|
+
* Plot band with labels
|
|
450
|
+
*
|
|
451
|
+
* @type {string}
|
|
452
|
+
* @default center
|
|
453
|
+
* @since 2.1
|
|
454
|
+
* @apioption xAxis.plotBands.label.align
|
|
455
|
+
*/
|
|
456
|
+
|
|
457
|
+
/**
|
|
458
|
+
* Rotation of the text label in degrees .
|
|
459
|
+
*
|
|
460
|
+
* @sample {highcharts} highcharts/xaxis/plotbands-label-rotation/
|
|
461
|
+
* Vertical text
|
|
462
|
+
*
|
|
463
|
+
* @type {number}
|
|
464
|
+
* @default 0
|
|
465
|
+
* @since 2.1
|
|
466
|
+
* @apioption xAxis.plotBands.label.rotation
|
|
467
|
+
*/
|
|
468
|
+
|
|
469
|
+
/**
|
|
470
|
+
* CSS styles for the text label.
|
|
471
|
+
*
|
|
472
|
+
* In styled mode, the labels are styled by the
|
|
473
|
+
* `.highcharts-plot-band-label` class.
|
|
474
|
+
*
|
|
475
|
+
* @sample {highcharts} highcharts/xaxis/plotbands-label-style/
|
|
476
|
+
* Blue and bold label
|
|
477
|
+
*
|
|
478
|
+
* @type {Highcharts.CSSObject}
|
|
479
|
+
* @since 2.1
|
|
480
|
+
* @apioption xAxis.plotBands.label.style
|
|
481
|
+
*/
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* The string text itself. A subset of HTML is supported.
|
|
485
|
+
*
|
|
486
|
+
* @type {string}
|
|
487
|
+
* @since 2.1
|
|
488
|
+
* @apioption xAxis.plotBands.label.text
|
|
489
|
+
*/
|
|
490
|
+
|
|
491
|
+
/**
|
|
492
|
+
* The text alignment for the label. While `align` determines where the
|
|
493
|
+
* texts anchor point is placed within the plot band, `textAlign` determines
|
|
494
|
+
* how the text is aligned against its anchor point. Possible values are
|
|
495
|
+
* "left", "center" and "right". Defaults to the same as the `align` option.
|
|
496
|
+
*
|
|
497
|
+
* @sample {highcharts} highcharts/xaxis/plotbands-label-rotation/
|
|
498
|
+
* Vertical text in center position but text-aligned left
|
|
499
|
+
*
|
|
500
|
+
* @type {string}
|
|
501
|
+
* @since 2.1
|
|
502
|
+
* @validvalue ["center", "left", "right"]
|
|
503
|
+
* @apioption xAxis.plotBands.label.textAlign
|
|
504
|
+
*/
|
|
505
|
+
|
|
506
|
+
/**
|
|
507
|
+
* Whether to [use HTML](https://www.highcharts.com/docs/chart-concepts
|
|
508
|
+
* /labels-and-string-formatting#html) to render the labels.
|
|
509
|
+
*
|
|
510
|
+
* @type {boolean}
|
|
511
|
+
* @default false
|
|
512
|
+
* @since 3.0.3
|
|
513
|
+
* @apioption xAxis.plotBands.label.useHTML
|
|
514
|
+
*/
|
|
515
|
+
|
|
516
|
+
/**
|
|
517
|
+
* Vertical alignment of the label relative to the plot band. Can be one of
|
|
518
|
+
* "top", "middle" or "bottom".
|
|
519
|
+
*
|
|
520
|
+
* @sample {highcharts} highcharts/xaxis/plotbands-label-verticalalign/
|
|
521
|
+
* Vertically centered label
|
|
522
|
+
* @sample {highstock} stock/xaxis/plotbands-label/
|
|
523
|
+
* Plot band with labels
|
|
524
|
+
*
|
|
525
|
+
* @type {string}
|
|
526
|
+
* @default top
|
|
527
|
+
* @since 2.1
|
|
528
|
+
* @validvalue ["bottom", "middle", "top"]
|
|
529
|
+
* @apioption xAxis.plotBands.label.verticalAlign
|
|
530
|
+
*/
|
|
531
|
+
|
|
532
|
+
/**
|
|
533
|
+
* Horizontal position relative the alignment. Default varies by
|
|
534
|
+
* orientation.
|
|
535
|
+
*
|
|
536
|
+
* @sample {highcharts} highcharts/xaxis/plotbands-label-align/
|
|
537
|
+
* Aligned 10px from the right edge
|
|
538
|
+
* @sample {highstock} stock/xaxis/plotbands-label/
|
|
539
|
+
* Plot band with labels
|
|
540
|
+
*
|
|
541
|
+
* @type {number}
|
|
542
|
+
* @since 2.1
|
|
543
|
+
* @apioption xAxis.plotBands.label.x
|
|
544
|
+
*/
|
|
545
|
+
|
|
546
|
+
/**
|
|
547
|
+
* Vertical position of the text baseline relative to the alignment. Default
|
|
548
|
+
* varies by orientation.
|
|
549
|
+
*
|
|
550
|
+
* @sample {highcharts} highcharts/xaxis/plotbands-label-y/
|
|
551
|
+
* Label on x axis
|
|
552
|
+
* @sample {highstock} stock/xaxis/plotbands-label/
|
|
553
|
+
* Plot band with labels
|
|
554
|
+
*
|
|
555
|
+
* @type {number}
|
|
556
|
+
* @since 2.1
|
|
557
|
+
* @apioption xAxis.plotBands.label.y
|
|
558
|
+
*/
|
|
559
|
+
|
|
560
|
+
/**
|
|
561
|
+
* An array of lines stretching across the plot area, marking a specific
|
|
562
|
+
* value on one of the axes.
|
|
563
|
+
*
|
|
564
|
+
* In styled mode, the plot lines are styled by the
|
|
565
|
+
* `.highcharts-plot-line` class in addition to the `className` option.
|
|
566
|
+
*
|
|
567
|
+
* @type {Array<*>}
|
|
568
|
+
* @product highcharts highstock gantt
|
|
569
|
+
* @apioption xAxis.plotLines
|
|
570
|
+
*/
|
|
571
|
+
|
|
572
|
+
/**
|
|
573
|
+
* A custom class name, in addition to the default `highcharts-plot-line`,
|
|
574
|
+
* to apply to each individual line.
|
|
575
|
+
*
|
|
576
|
+
* @type {string}
|
|
577
|
+
* @since 5.0.0
|
|
578
|
+
* @apioption xAxis.plotLines.className
|
|
579
|
+
*/
|
|
580
|
+
|
|
581
|
+
/**
|
|
582
|
+
* The color of the line.
|
|
583
|
+
*
|
|
584
|
+
* @sample {highcharts} highcharts/xaxis/plotlines-color/
|
|
585
|
+
* A red line from X axis
|
|
586
|
+
* @sample {highstock} stock/xaxis/plotlines/
|
|
587
|
+
* Plot line on Y axis
|
|
588
|
+
*
|
|
589
|
+
* @type {Highcharts.ColorString}
|
|
590
|
+
* @apioption xAxis.plotLines.color
|
|
591
|
+
*/
|
|
592
|
+
|
|
593
|
+
/**
|
|
594
|
+
* The dashing or dot style for the plot line. For possible values see
|
|
595
|
+
* [this overview](https://jsfiddle.net/gh/get/library/pure/highcharts
|
|
596
|
+
* /highcharts/tree/master/samples/highcharts/plotoptions/series-
|
|
597
|
+
* dashstyle-all/).
|
|
598
|
+
*
|
|
599
|
+
* @sample {highcharts} highcharts/xaxis/plotlines-dashstyle/
|
|
600
|
+
* Dash and dot pattern
|
|
601
|
+
* @sample {highstock} stock/xaxis/plotlines/
|
|
602
|
+
* Plot line on Y axis
|
|
603
|
+
*
|
|
604
|
+
* @type {string}
|
|
605
|
+
* @default Solid
|
|
606
|
+
* @since 1.2
|
|
607
|
+
* @validvalue ["Solid", "ShortDash", "ShortDot", "ShortDashDot",
|
|
608
|
+
* "ShortDashDotDot", "Dot", "Dash" ,"LongDash", "DashDot",
|
|
609
|
+
* "LongDashDot", "LongDashDotDot"]
|
|
610
|
+
* @apioption xAxis.plotLines.dashStyle
|
|
611
|
+
*/
|
|
612
|
+
|
|
613
|
+
/**
|
|
614
|
+
* An object defining mouse events for the plot line. Supported
|
|
615
|
+
* properties are `click`, `mouseover`, `mouseout`, `mousemove`.
|
|
616
|
+
*
|
|
617
|
+
* @sample {highcharts} highcharts/xaxis/plotlines-events/
|
|
618
|
+
* Mouse events demonstrated
|
|
619
|
+
*
|
|
620
|
+
* @type {*}
|
|
621
|
+
* @since 1.2
|
|
622
|
+
* @context PlotLineOrBand
|
|
623
|
+
* @apioption xAxis.plotLines.events
|
|
624
|
+
*/
|
|
625
|
+
|
|
626
|
+
/**
|
|
627
|
+
* An id used for identifying the plot line in Axis.removePlotLine.
|
|
628
|
+
*
|
|
629
|
+
* @sample {highcharts} highcharts/xaxis/plotlines-id/
|
|
630
|
+
* Remove plot line by id
|
|
631
|
+
*
|
|
632
|
+
* @type {string}
|
|
633
|
+
* @apioption xAxis.plotLines.id
|
|
634
|
+
*/
|
|
635
|
+
|
|
636
|
+
/**
|
|
637
|
+
* The position of the line in axis units.
|
|
638
|
+
*
|
|
639
|
+
* @sample {highcharts} highcharts/xaxis/plotlines-color/
|
|
640
|
+
* Between two categories on X axis
|
|
641
|
+
* @sample {highstock} stock/xaxis/plotlines/
|
|
642
|
+
* Plot line on Y axis
|
|
643
|
+
*
|
|
644
|
+
* @type {number}
|
|
645
|
+
* @apioption xAxis.plotLines.value
|
|
646
|
+
*/
|
|
647
|
+
|
|
648
|
+
/**
|
|
649
|
+
* The width or thickness of the plot line.
|
|
650
|
+
*
|
|
651
|
+
* @sample {highcharts} highcharts/xaxis/plotlines-color/
|
|
652
|
+
* 2px wide line from X axis
|
|
653
|
+
* @sample {highstock} stock/xaxis/plotlines/
|
|
654
|
+
* Plot line on Y axis
|
|
655
|
+
*
|
|
656
|
+
* @type {number}
|
|
657
|
+
* @apioption xAxis.plotLines.width
|
|
658
|
+
*/
|
|
659
|
+
|
|
660
|
+
/**
|
|
661
|
+
* The z index of the plot line within the chart.
|
|
662
|
+
*
|
|
663
|
+
* @sample {highcharts} highcharts/xaxis/plotlines-zindex-behind/
|
|
664
|
+
* Behind plot lines by default
|
|
665
|
+
* @sample {highcharts} highcharts/xaxis/plotlines-zindex-above/
|
|
666
|
+
* Above plot lines
|
|
667
|
+
* @sample {highcharts} highcharts/xaxis/plotlines-zindex-above-all/
|
|
668
|
+
* Above plot lines and series
|
|
669
|
+
*
|
|
670
|
+
* @type {number}
|
|
671
|
+
* @since 1.2
|
|
672
|
+
* @apioption xAxis.plotLines.zIndex
|
|
673
|
+
*/
|
|
674
|
+
|
|
675
|
+
/**
|
|
676
|
+
* Text labels for the plot bands
|
|
677
|
+
*
|
|
678
|
+
* @apioption xAxis.plotLines.label
|
|
679
|
+
*/
|
|
680
|
+
|
|
681
|
+
/**
|
|
682
|
+
* Horizontal alignment of the label. Can be one of "left", "center" or
|
|
683
|
+
* "right".
|
|
684
|
+
*
|
|
685
|
+
* @sample {highcharts} highcharts/xaxis/plotlines-label-align-right/
|
|
686
|
+
* Aligned to the right
|
|
687
|
+
* @sample {highstock} stock/xaxis/plotlines/
|
|
688
|
+
* Plot line on Y axis
|
|
689
|
+
*
|
|
690
|
+
* @type {string}
|
|
691
|
+
* @default left
|
|
692
|
+
* @since 2.1
|
|
693
|
+
* @validvalue ["center", "left", "right"]
|
|
694
|
+
* @apioption xAxis.plotLines.label.align
|
|
695
|
+
*/
|
|
696
|
+
|
|
697
|
+
/**
|
|
698
|
+
* Rotation of the text label in degrees. Defaults to 0 for horizontal plot
|
|
699
|
+
* lines and 90 for vertical lines.
|
|
700
|
+
*
|
|
701
|
+
* @sample {highcharts} highcharts/xaxis/plotlines-label-verticalalign-middle/
|
|
702
|
+
* Slanted text
|
|
703
|
+
*
|
|
704
|
+
* @type {number}
|
|
705
|
+
* @since 2.1
|
|
706
|
+
* @apioption xAxis.plotLines.label.rotation
|
|
707
|
+
*/
|
|
708
|
+
|
|
709
|
+
/**
|
|
710
|
+
* CSS styles for the text label.
|
|
711
|
+
*
|
|
712
|
+
* In styled mode, the labels are styled by the
|
|
713
|
+
* `.highcharts-plot-line-label` class.
|
|
714
|
+
*
|
|
715
|
+
* @sample {highcharts} highcharts/xaxis/plotlines-label-style/
|
|
716
|
+
* Blue and bold label
|
|
717
|
+
*
|
|
718
|
+
* @type {Highcharts.CSSObject}
|
|
719
|
+
* @since 2.1
|
|
720
|
+
* @apioption xAxis.plotLines.label.style
|
|
721
|
+
*/
|
|
722
|
+
|
|
723
|
+
/**
|
|
724
|
+
* The text itself. A subset of HTML is supported.
|
|
725
|
+
*
|
|
726
|
+
* @type {string}
|
|
727
|
+
* @since 2.1
|
|
728
|
+
* @apioption xAxis.plotLines.label.text
|
|
729
|
+
*/
|
|
730
|
+
|
|
731
|
+
/**
|
|
732
|
+
* The text alignment for the label. While `align` determines where the
|
|
733
|
+
* texts anchor point is placed within the plot band, `textAlign` determines
|
|
734
|
+
* how the text is aligned against its anchor point. Possible values are
|
|
735
|
+
* "left", "center" and "right". Defaults to the same as the `align` option.
|
|
736
|
+
*
|
|
737
|
+
* @sample {highcharts} highcharts/xaxis/plotlines-label-textalign/
|
|
738
|
+
* Text label in bottom position
|
|
739
|
+
*
|
|
740
|
+
* @type {string}
|
|
741
|
+
* @since 2.1
|
|
742
|
+
* @apioption xAxis.plotLines.label.textAlign
|
|
743
|
+
*/
|
|
744
|
+
|
|
745
|
+
/**
|
|
746
|
+
* Whether to [use HTML](https://www.highcharts.com/docs/chart-concepts
|
|
747
|
+
* /labels-and-string-formatting#html) to render the labels.
|
|
748
|
+
*
|
|
749
|
+
* @type {boolean}
|
|
750
|
+
* @default false
|
|
751
|
+
* @since 3.0.3
|
|
752
|
+
* @apioption xAxis.plotLines.label.useHTML
|
|
753
|
+
*/
|
|
754
|
+
|
|
755
|
+
/**
|
|
756
|
+
* Vertical alignment of the label relative to the plot line. Can be
|
|
757
|
+
* one of "top", "middle" or "bottom".
|
|
758
|
+
*
|
|
759
|
+
* @sample {highcharts} highcharts/xaxis/plotlines-label-verticalalign-middle/
|
|
760
|
+
* Vertically centered label
|
|
761
|
+
*
|
|
762
|
+
* @type {string}
|
|
763
|
+
* @default {highcharts} top
|
|
764
|
+
* @default {highstock} top
|
|
765
|
+
* @since 2.1
|
|
766
|
+
* @validvalue ["top", "middle", "bottom"]
|
|
767
|
+
* @apioption xAxis.plotLines.label.verticalAlign
|
|
768
|
+
*/
|
|
769
|
+
|
|
770
|
+
/**
|
|
771
|
+
* Horizontal position relative the alignment. Default varies by
|
|
772
|
+
* orientation.
|
|
773
|
+
*
|
|
774
|
+
* @sample {highcharts} highcharts/xaxis/plotlines-label-align-right/
|
|
775
|
+
* Aligned 10px from the right edge
|
|
776
|
+
* @sample {highstock} stock/xaxis/plotlines/
|
|
777
|
+
* Plot line on Y axis
|
|
778
|
+
*
|
|
779
|
+
* @type {number}
|
|
780
|
+
* @since 2.1
|
|
781
|
+
* @apioption xAxis.plotLines.label.x
|
|
782
|
+
*/
|
|
783
|
+
|
|
784
|
+
/**
|
|
785
|
+
* Vertical position of the text baseline relative to the alignment. Default
|
|
786
|
+
* varies by orientation.
|
|
787
|
+
*
|
|
788
|
+
* @sample {highcharts} highcharts/xaxis/plotlines-label-y/
|
|
789
|
+
* Label below the plot line
|
|
790
|
+
* @sample {highstock} stock/xaxis/plotlines/
|
|
791
|
+
* Plot line on Y axis
|
|
792
|
+
*
|
|
793
|
+
* @type {number}
|
|
794
|
+
* @since 2.1
|
|
795
|
+
* @apioption xAxis.plotLines.label.y
|
|
796
|
+
*/
|
|
797
|
+
|
|
798
|
+
/**
|
|
799
|
+
* An array of objects defining plot bands on the Y axis.
|
|
800
|
+
*
|
|
801
|
+
* @type {Array<*>}
|
|
802
|
+
* @extends xAxis.plotBands
|
|
803
|
+
* @apioption yAxis.plotBands
|
|
804
|
+
*/
|
|
805
|
+
|
|
806
|
+
/**
|
|
807
|
+
* In a gauge chart, this option determines the inner radius of the
|
|
808
|
+
* plot band that stretches along the perimeter. It can be given as
|
|
809
|
+
* a percentage string, like `"100%"`, or as a pixel number, like `100`.
|
|
810
|
+
* By default, the inner radius is controlled by the [thickness](
|
|
811
|
+
* #yAxis.plotBands.thickness) option.
|
|
812
|
+
*
|
|
813
|
+
* @sample {highcharts} highcharts/xaxis/plotbands-gauge
|
|
814
|
+
* Gauge plot band
|
|
815
|
+
*
|
|
816
|
+
* @type {number|string}
|
|
817
|
+
* @since 2.3
|
|
818
|
+
* @product highcharts
|
|
819
|
+
* @apioption yAxis.plotBands.innerRadius
|
|
820
|
+
*/
|
|
821
|
+
|
|
822
|
+
/**
|
|
823
|
+
* In a gauge chart, this option determines the outer radius of the
|
|
824
|
+
* plot band that stretches along the perimeter. It can be given as
|
|
825
|
+
* a percentage string, like `"100%"`, or as a pixel number, like `100`.
|
|
826
|
+
*
|
|
827
|
+
* @sample {highcharts} highcharts/xaxis/plotbands-gauge
|
|
828
|
+
* Gauge plot band
|
|
829
|
+
*
|
|
830
|
+
* @type {number|string}
|
|
831
|
+
* @default 100%
|
|
832
|
+
* @since 2.3
|
|
833
|
+
* @product highcharts
|
|
834
|
+
* @apioption yAxis.plotBands.outerRadius
|
|
835
|
+
*/
|
|
836
|
+
|
|
837
|
+
/**
|
|
838
|
+
* In a gauge chart, this option sets the width of the plot band
|
|
839
|
+
* stretching along the perimeter. It can be given as a percentage
|
|
840
|
+
* string, like `"10%"`, or as a pixel number, like `10`. The default
|
|
841
|
+
* value 10 is the same as the default [tickLength](#yAxis.tickLength),
|
|
842
|
+
* thus making the plot band act as a background for the tick markers.
|
|
843
|
+
*
|
|
844
|
+
* @sample {highcharts} highcharts/xaxis/plotbands-gauge
|
|
845
|
+
* Gauge plot band
|
|
846
|
+
*
|
|
847
|
+
* @type {number|string}
|
|
848
|
+
* @default 10
|
|
849
|
+
* @since 2.3
|
|
850
|
+
* @product highcharts
|
|
851
|
+
* @apioption yAxis.plotBands.thickness
|
|
852
|
+
*/
|
|
853
|
+
|
|
854
|
+
/**
|
|
855
|
+
* An array of objects representing plot lines on the X axis
|
|
856
|
+
*
|
|
857
|
+
* @type {Array<*>}
|
|
858
|
+
* @extends xAxis.plotLines
|
|
859
|
+
* @apioption yAxis.plotLines
|
|
860
|
+
*/
|
|
861
|
+
|
|
250
862
|
/**
|
|
251
863
|
* Internal function to create the SVG path definition for a plot band.
|
|
252
864
|
*
|
|
253
|
-
* @
|
|
254
|
-
* The axis value to start from.
|
|
255
|
-
* @param {Number} to
|
|
256
|
-
* The axis value to end on.
|
|
865
|
+
* @function Highcharts.Axis#getPlotBandPath
|
|
257
866
|
*
|
|
258
|
-
* @
|
|
867
|
+
* @param {number} from
|
|
868
|
+
* The axis value to start from.
|
|
869
|
+
*
|
|
870
|
+
* @param {number} to
|
|
871
|
+
* The axis value to end on.
|
|
872
|
+
*
|
|
873
|
+
* @return {Highcharts.SVGPathArray}
|
|
259
874
|
* The SVG path definition in array form.
|
|
260
875
|
*/
|
|
261
876
|
getPlotBandPath: function (from, to) {
|
|
@@ -317,14 +932,17 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */ {
|
|
|
317
932
|
/**
|
|
318
933
|
* Add a plot band after render time.
|
|
319
934
|
*
|
|
320
|
-
* @param {AxisPlotBandsOptions} options
|
|
321
|
-
* A configuration object for the plot band, as defined in {@link
|
|
322
|
-
* https://api.highcharts.com/highcharts/xAxis.plotBands|
|
|
323
|
-
* xAxis.plotBands}.
|
|
324
|
-
* @return {Object}
|
|
325
|
-
* The added plot band.
|
|
326
935
|
* @sample highcharts/members/axis-addplotband/
|
|
327
936
|
* Toggle the plot band from a button
|
|
937
|
+
*
|
|
938
|
+
* @function Highcharts.Axis#addPlotBand
|
|
939
|
+
*
|
|
940
|
+
* @param {Highcharts.AxisPlotBandsOptions} options
|
|
941
|
+
* A configuration object for the plot band, as defined in
|
|
942
|
+
* {@link https://api.highcharts.com/highcharts/xAxis.plotBands|xAxis.plotBands}.
|
|
943
|
+
*
|
|
944
|
+
* @return {Highcharts.PlotLineOrBand|undefined}
|
|
945
|
+
* The added plot band.
|
|
328
946
|
*/
|
|
329
947
|
addPlotBand: function (options) {
|
|
330
948
|
return this.addPlotBandOrLine(options, 'plotBands');
|
|
@@ -333,14 +951,17 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */ {
|
|
|
333
951
|
/**
|
|
334
952
|
* Add a plot line after render time.
|
|
335
953
|
*
|
|
336
|
-
* @param {AxisPlotLinesOptions} options
|
|
337
|
-
* A configuration object for the plot line, as defined in {@link
|
|
338
|
-
* https://api.highcharts.com/highcharts/xAxis.plotLines|
|
|
339
|
-
* xAxis.plotLines}.
|
|
340
|
-
* @return {Object}
|
|
341
|
-
* The added plot line.
|
|
342
954
|
* @sample highcharts/members/axis-addplotline/
|
|
343
955
|
* Toggle the plot line from a button
|
|
956
|
+
*
|
|
957
|
+
* @function Highcharts.Axis#addPlotLine
|
|
958
|
+
*
|
|
959
|
+
* @param {Highcharts.AxisPlotLinesOptions} options
|
|
960
|
+
* A configuration object for the plot line, as defined in
|
|
961
|
+
* {@link https://api.highcharts.com/highcharts/xAxis.plotLines|xAxis.plotLines}.
|
|
962
|
+
*
|
|
963
|
+
* @return {Highcharts.PlotLineOrBand|undefined}
|
|
964
|
+
* The added plot line.
|
|
344
965
|
*/
|
|
345
966
|
addPlotLine: function (options) {
|
|
346
967
|
return this.addPlotBandOrLine(options, 'plotLines');
|
|
@@ -351,8 +972,14 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */ {
|
|
|
351
972
|
* and addPlotLine internally.
|
|
352
973
|
*
|
|
353
974
|
* @private
|
|
354
|
-
* @
|
|
355
|
-
*
|
|
975
|
+
* @function Highcharts.Axis#addPlotBandOrLine
|
|
976
|
+
*
|
|
977
|
+
* @param {Highcharts.AxisPlotLinesOptions|Highcharts.AxisPlotBandsOptions} options
|
|
978
|
+
* The plotBand or plotLine configuration object.
|
|
979
|
+
*
|
|
980
|
+
* @param {"plotBands"|"plotLines"} [coll]
|
|
981
|
+
*
|
|
982
|
+
* @return {Highcharts.PlotLineOrBand|undefined}
|
|
356
983
|
*/
|
|
357
984
|
addPlotBandOrLine: function (options, coll) {
|
|
358
985
|
var obj = new H.PlotLineOrBand(this, options).render(),
|
|
@@ -375,7 +1002,9 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */ {
|
|
|
375
1002
|
* from `removePlotBand` and `removePlotLine`.
|
|
376
1003
|
*
|
|
377
1004
|
* @private
|
|
378
|
-
* @
|
|
1005
|
+
* @function Highcharts.Axis#removePlotBandOrLine
|
|
1006
|
+
*
|
|
1007
|
+
* @param {string} id
|
|
379
1008
|
*/
|
|
380
1009
|
removePlotBandOrLine: function (id) {
|
|
381
1010
|
var plotLinesAndBands = this.plotLinesAndBands,
|
|
@@ -405,13 +1034,16 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */ {
|
|
|
405
1034
|
/**
|
|
406
1035
|
* Remove a plot band by its id.
|
|
407
1036
|
*
|
|
408
|
-
* @param {String} id
|
|
409
|
-
* The plot band's `id` as given in the original configuration
|
|
410
|
-
* object or in the `addPlotBand` option.
|
|
411
1037
|
* @sample highcharts/members/axis-removeplotband/
|
|
412
1038
|
* Remove plot band by id
|
|
413
1039
|
* @sample highcharts/members/axis-addplotband/
|
|
414
1040
|
* Toggle the plot band from a button
|
|
1041
|
+
*
|
|
1042
|
+
* @function Highcharts.Axis#removePlotBand
|
|
1043
|
+
*
|
|
1044
|
+
* @param {string} id
|
|
1045
|
+
* The plot band's `id` as given in the original configuration
|
|
1046
|
+
* object or in the `addPlotBand` option.
|
|
415
1047
|
*/
|
|
416
1048
|
removePlotBand: function (id) {
|
|
417
1049
|
this.removePlotBandOrLine(id);
|
|
@@ -419,13 +1051,17 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */ {
|
|
|
419
1051
|
|
|
420
1052
|
/**
|
|
421
1053
|
* Remove a plot line by its id.
|
|
422
|
-
*
|
|
423
|
-
* The plot line's `id` as given in the original configuration
|
|
424
|
-
* object or in the `addPlotLine` option.
|
|
1054
|
+
*
|
|
425
1055
|
* @sample highcharts/xaxis/plotlines-id/
|
|
426
1056
|
* Remove plot line by id
|
|
427
1057
|
* @sample highcharts/members/axis-addplotline/
|
|
428
1058
|
* Toggle the plot line from a button
|
|
1059
|
+
*
|
|
1060
|
+
* @function Highcharts.Axis#removePlotLine
|
|
1061
|
+
*
|
|
1062
|
+
* @param {string} id
|
|
1063
|
+
* The plot line's `id` as given in the original configuration
|
|
1064
|
+
* object or in the `addPlotLine` option.
|
|
429
1065
|
*/
|
|
430
1066
|
removePlotLine: function (id) {
|
|
431
1067
|
this.removePlotBandOrLine(id);
|