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,
|
|
@@ -83,6 +125,12 @@ H.PlotLineOrBand.prototype = {
|
|
|
83
125
|
|
|
84
126
|
// Create the path
|
|
85
127
|
if (isNew) {
|
|
128
|
+
/**
|
|
129
|
+
* SVG element of the plot line or band.
|
|
130
|
+
*
|
|
131
|
+
* @name Highcharts.PlotLineOrBand#svgElement
|
|
132
|
+
* @type {Highcharts.SVGElement}
|
|
133
|
+
*/
|
|
86
134
|
plotLine.svgElem = svgElem =
|
|
87
135
|
renderer
|
|
88
136
|
.path()
|
|
@@ -155,6 +203,17 @@ H.PlotLineOrBand.prototype = {
|
|
|
155
203
|
|
|
156
204
|
/**
|
|
157
205
|
* Render and align label for plot line or band.
|
|
206
|
+
*
|
|
207
|
+
* @private
|
|
208
|
+
* @function Highcharts.PlotLineOrBand#renderLabel
|
|
209
|
+
*
|
|
210
|
+
* @param {Highcharts.AxisPlotLinesLabelOptions|Highcharts.AxisPlotBandsLabelOptions} optionsLabel
|
|
211
|
+
*
|
|
212
|
+
* @param {Highcharts.SVGPathArray} path
|
|
213
|
+
*
|
|
214
|
+
* @param {boolean} [isBand]
|
|
215
|
+
*
|
|
216
|
+
* @param {number} [zIndex]
|
|
158
217
|
*/
|
|
159
218
|
renderLabel: function (optionsLabel, path, isBand, zIndex) {
|
|
160
219
|
var plotLine = this,
|
|
@@ -177,6 +236,12 @@ H.PlotLineOrBand.prototype = {
|
|
|
177
236
|
|
|
178
237
|
attribs.zIndex = zIndex;
|
|
179
238
|
|
|
239
|
+
/**
|
|
240
|
+
* SVG element of the label.
|
|
241
|
+
*
|
|
242
|
+
* @name Highcharts.PlotLineOrBand#label
|
|
243
|
+
* @type {Highcharts.SVGElement}
|
|
244
|
+
*/
|
|
180
245
|
plotLine.label = label = renderer.text(
|
|
181
246
|
optionsLabel.text,
|
|
182
247
|
0,
|
|
@@ -209,7 +274,9 @@ H.PlotLineOrBand.prototype = {
|
|
|
209
274
|
},
|
|
210
275
|
|
|
211
276
|
/**
|
|
212
|
-
* Remove the plot line or band
|
|
277
|
+
* Remove the plot line or band.
|
|
278
|
+
*
|
|
279
|
+
* @function Highcharts.PlotLineOrBand#destroy
|
|
213
280
|
*/
|
|
214
281
|
destroy: function () {
|
|
215
282
|
// remove it from the lookup
|
|
@@ -220,22 +287,570 @@ H.PlotLineOrBand.prototype = {
|
|
|
220
287
|
}
|
|
221
288
|
};
|
|
222
289
|
|
|
223
|
-
|
|
224
|
-
* Object with members for extending the Axis prototype
|
|
225
|
-
* @todo Extend directly instead of adding object to Highcharts first
|
|
226
|
-
*/
|
|
227
|
-
|
|
290
|
+
// Object with members for extending the Axis prototype
|
|
228
291
|
H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */ {
|
|
229
292
|
|
|
293
|
+
/**
|
|
294
|
+
* An array of colored bands stretching across the plot area marking an
|
|
295
|
+
* interval on the axis.
|
|
296
|
+
*
|
|
297
|
+
* In styled mode, the plot bands are styled by the `.highcharts-plot-band`
|
|
298
|
+
* class in addition to the `className` option.
|
|
299
|
+
*
|
|
300
|
+
* @productdesc {highcharts}
|
|
301
|
+
* In a gauge, a plot band on the Y axis (value axis) will stretch along the
|
|
302
|
+
* perimeter of the gauge.
|
|
303
|
+
*
|
|
304
|
+
* @type {Array<*>}
|
|
305
|
+
* @product highcharts highstock gantt
|
|
306
|
+
* @apioption xAxis.plotBands
|
|
307
|
+
*/
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* Border color for the plot band. Also requires `borderWidth` to be set.
|
|
311
|
+
*
|
|
312
|
+
* @type {Highcharts.ColorString}
|
|
313
|
+
* @apioption xAxis.plotBands.borderColor
|
|
314
|
+
*/
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* Border width for the plot band. Also requires `borderColor` to be set.
|
|
318
|
+
*
|
|
319
|
+
* @type {number}
|
|
320
|
+
* @default 0
|
|
321
|
+
* @apioption xAxis.plotBands.borderWidth
|
|
322
|
+
*/
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* A custom class name, in addition to the default `highcharts-plot-band`,
|
|
326
|
+
* to apply to each individual band.
|
|
327
|
+
*
|
|
328
|
+
* @type {string}
|
|
329
|
+
* @since 5.0.0
|
|
330
|
+
* @apioption xAxis.plotBands.className
|
|
331
|
+
*/
|
|
332
|
+
|
|
333
|
+
/**
|
|
334
|
+
* The color of the plot band.
|
|
335
|
+
*
|
|
336
|
+
* @sample {highcharts} highcharts/xaxis/plotbands-color/
|
|
337
|
+
* Color band
|
|
338
|
+
* @sample {highstock} stock/xaxis/plotbands/
|
|
339
|
+
* Plot band on Y axis
|
|
340
|
+
*
|
|
341
|
+
* @type {Highcharts.ColorString}
|
|
342
|
+
* @apioption xAxis.plotBands.color
|
|
343
|
+
*/
|
|
344
|
+
|
|
345
|
+
/**
|
|
346
|
+
* An object defining mouse events for the plot band. Supported properties
|
|
347
|
+
* are `click`, `mouseover`, `mouseout`, `mousemove`.
|
|
348
|
+
*
|
|
349
|
+
* @sample {highcharts} highcharts/xaxis/plotbands-events/
|
|
350
|
+
* Mouse events demonstrated
|
|
351
|
+
*
|
|
352
|
+
* @since 1.2
|
|
353
|
+
* @context PlotLineOrBand
|
|
354
|
+
* @apioption xAxis.plotBands.events
|
|
355
|
+
*/
|
|
356
|
+
|
|
357
|
+
/**
|
|
358
|
+
* The start position of the plot band in axis units.
|
|
359
|
+
*
|
|
360
|
+
* @sample {highcharts} highcharts/xaxis/plotbands-color/
|
|
361
|
+
* Datetime axis
|
|
362
|
+
* @sample {highcharts} highcharts/xaxis/plotbands-from/
|
|
363
|
+
* Categorized axis
|
|
364
|
+
* @sample {highstock} stock/xaxis/plotbands/
|
|
365
|
+
* Plot band on Y axis
|
|
366
|
+
*
|
|
367
|
+
* @type {number}
|
|
368
|
+
* @apioption xAxis.plotBands.from
|
|
369
|
+
*/
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* An id used for identifying the plot band in Axis.removePlotBand.
|
|
373
|
+
*
|
|
374
|
+
* @sample {highcharts} highcharts/xaxis/plotbands-id/
|
|
375
|
+
* Remove plot band by id
|
|
376
|
+
* @sample {highstock} highcharts/xaxis/plotbands-id/
|
|
377
|
+
* Remove plot band by id
|
|
378
|
+
*
|
|
379
|
+
* @type {string}
|
|
380
|
+
* @apioption xAxis.plotBands.id
|
|
381
|
+
*/
|
|
382
|
+
|
|
383
|
+
/**
|
|
384
|
+
* The end position of the plot band in axis units.
|
|
385
|
+
*
|
|
386
|
+
* @sample {highcharts} highcharts/xaxis/plotbands-color/
|
|
387
|
+
* Datetime axis
|
|
388
|
+
* @sample {highcharts} highcharts/xaxis/plotbands-from/
|
|
389
|
+
* Categorized axis
|
|
390
|
+
* @sample {highstock} stock/xaxis/plotbands/
|
|
391
|
+
* Plot band on Y axis
|
|
392
|
+
*
|
|
393
|
+
* @type {number}
|
|
394
|
+
* @apioption xAxis.plotBands.to
|
|
395
|
+
*/
|
|
396
|
+
|
|
397
|
+
/**
|
|
398
|
+
* The z index of the plot band within the chart, relative to other
|
|
399
|
+
* elements. Using the same z index as another element may give
|
|
400
|
+
* unpredictable results, as the last rendered element will be on top.
|
|
401
|
+
* Values from 0 to 20 make sense.
|
|
402
|
+
*
|
|
403
|
+
* @sample {highcharts} highcharts/xaxis/plotbands-color/
|
|
404
|
+
* Behind plot lines by default
|
|
405
|
+
* @sample {highcharts} highcharts/xaxis/plotbands-zindex/
|
|
406
|
+
* Above plot lines
|
|
407
|
+
* @sample {highcharts} highcharts/xaxis/plotbands-zindex-above-series/
|
|
408
|
+
* Above plot lines and series
|
|
409
|
+
*
|
|
410
|
+
* @type {number}
|
|
411
|
+
* @since 1.2
|
|
412
|
+
* @apioption xAxis.plotBands.zIndex
|
|
413
|
+
*/
|
|
414
|
+
|
|
415
|
+
/**
|
|
416
|
+
* Text labels for the plot bands
|
|
417
|
+
*
|
|
418
|
+
* @product highcharts highstock gantt
|
|
419
|
+
* @apioption xAxis.plotBands.label
|
|
420
|
+
*/
|
|
421
|
+
|
|
422
|
+
/**
|
|
423
|
+
* Horizontal alignment of the label. Can be one of "left", "center" or
|
|
424
|
+
* "right".
|
|
425
|
+
*
|
|
426
|
+
* @sample {highcharts} highcharts/xaxis/plotbands-label-align/
|
|
427
|
+
* Aligned to the right
|
|
428
|
+
* @sample {highstock} stock/xaxis/plotbands-label/
|
|
429
|
+
* Plot band with labels
|
|
430
|
+
*
|
|
431
|
+
* @type {string}
|
|
432
|
+
* @default center
|
|
433
|
+
* @since 2.1
|
|
434
|
+
* @apioption xAxis.plotBands.label.align
|
|
435
|
+
*/
|
|
436
|
+
|
|
437
|
+
/**
|
|
438
|
+
* Rotation of the text label in degrees .
|
|
439
|
+
*
|
|
440
|
+
* @sample {highcharts} highcharts/xaxis/plotbands-label-rotation/
|
|
441
|
+
* Vertical text
|
|
442
|
+
*
|
|
443
|
+
* @type {number}
|
|
444
|
+
* @default 0
|
|
445
|
+
* @since 2.1
|
|
446
|
+
* @apioption xAxis.plotBands.label.rotation
|
|
447
|
+
*/
|
|
448
|
+
|
|
449
|
+
/**
|
|
450
|
+
* CSS styles for the text label.
|
|
451
|
+
*
|
|
452
|
+
* In styled mode, the labels are styled by the
|
|
453
|
+
* `.highcharts-plot-band-label` class.
|
|
454
|
+
*
|
|
455
|
+
* @sample {highcharts} highcharts/xaxis/plotbands-label-style/
|
|
456
|
+
* Blue and bold label
|
|
457
|
+
*
|
|
458
|
+
* @type {Highcharts.CSSObject}
|
|
459
|
+
* @since 2.1
|
|
460
|
+
* @apioption xAxis.plotBands.label.style
|
|
461
|
+
*/
|
|
462
|
+
|
|
463
|
+
/**
|
|
464
|
+
* The string text itself. A subset of HTML is supported.
|
|
465
|
+
*
|
|
466
|
+
* @type {string}
|
|
467
|
+
* @since 2.1
|
|
468
|
+
* @apioption xAxis.plotBands.label.text
|
|
469
|
+
*/
|
|
470
|
+
|
|
471
|
+
/**
|
|
472
|
+
* The text alignment for the label. While `align` determines where the
|
|
473
|
+
* texts anchor point is placed within the plot band, `textAlign` determines
|
|
474
|
+
* how the text is aligned against its anchor point. Possible values are
|
|
475
|
+
* "left", "center" and "right". Defaults to the same as the `align` option.
|
|
476
|
+
*
|
|
477
|
+
* @sample {highcharts} highcharts/xaxis/plotbands-label-rotation/
|
|
478
|
+
* Vertical text in center position but text-aligned left
|
|
479
|
+
*
|
|
480
|
+
* @type {string}
|
|
481
|
+
* @since 2.1
|
|
482
|
+
* @validvalue ["center", "left", "right"]
|
|
483
|
+
* @apioption xAxis.plotBands.label.textAlign
|
|
484
|
+
*/
|
|
485
|
+
|
|
486
|
+
/**
|
|
487
|
+
* Whether to [use HTML](https://www.highcharts.com/docs/chart-concepts
|
|
488
|
+
* /labels-and-string-formatting#html) to render the labels.
|
|
489
|
+
*
|
|
490
|
+
* @type {boolean}
|
|
491
|
+
* @default false
|
|
492
|
+
* @since 3.0.3
|
|
493
|
+
* @apioption xAxis.plotBands.label.useHTML
|
|
494
|
+
*/
|
|
495
|
+
|
|
496
|
+
/**
|
|
497
|
+
* Vertical alignment of the label relative to the plot band. Can be one of
|
|
498
|
+
* "top", "middle" or "bottom".
|
|
499
|
+
*
|
|
500
|
+
* @sample {highcharts} highcharts/xaxis/plotbands-label-verticalalign/
|
|
501
|
+
* Vertically centered label
|
|
502
|
+
* @sample {highstock} stock/xaxis/plotbands-label/
|
|
503
|
+
* Plot band with labels
|
|
504
|
+
*
|
|
505
|
+
* @type {string}
|
|
506
|
+
* @default top
|
|
507
|
+
* @since 2.1
|
|
508
|
+
* @validvalue ["bottom", "middle", "top"]
|
|
509
|
+
* @apioption xAxis.plotBands.label.verticalAlign
|
|
510
|
+
*/
|
|
511
|
+
|
|
512
|
+
/**
|
|
513
|
+
* Horizontal position relative the alignment. Default varies by
|
|
514
|
+
* orientation.
|
|
515
|
+
*
|
|
516
|
+
* @sample {highcharts} highcharts/xaxis/plotbands-label-align/
|
|
517
|
+
* Aligned 10px from the right edge
|
|
518
|
+
* @sample {highstock} stock/xaxis/plotbands-label/
|
|
519
|
+
* Plot band with labels
|
|
520
|
+
*
|
|
521
|
+
* @type {number}
|
|
522
|
+
* @since 2.1
|
|
523
|
+
* @apioption xAxis.plotBands.label.x
|
|
524
|
+
*/
|
|
525
|
+
|
|
526
|
+
/**
|
|
527
|
+
* Vertical position of the text baseline relative to the alignment. Default
|
|
528
|
+
* varies by orientation.
|
|
529
|
+
*
|
|
530
|
+
* @sample {highcharts} highcharts/xaxis/plotbands-label-y/
|
|
531
|
+
* Label on x axis
|
|
532
|
+
* @sample {highstock} stock/xaxis/plotbands-label/
|
|
533
|
+
* Plot band with labels
|
|
534
|
+
*
|
|
535
|
+
* @type {number}
|
|
536
|
+
* @since 2.1
|
|
537
|
+
* @apioption xAxis.plotBands.label.y
|
|
538
|
+
*/
|
|
539
|
+
|
|
540
|
+
/**
|
|
541
|
+
* An array of lines stretching across the plot area, marking a specific
|
|
542
|
+
* value on one of the axes.
|
|
543
|
+
*
|
|
544
|
+
* In styled mode, the plot lines are styled by the
|
|
545
|
+
* `.highcharts-plot-line` class in addition to the `className` option.
|
|
546
|
+
*
|
|
547
|
+
* @type {Array<*>}
|
|
548
|
+
* @product highcharts highstock gantt
|
|
549
|
+
* @apioption xAxis.plotLines
|
|
550
|
+
*/
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
* A custom class name, in addition to the default `highcharts-plot-line`,
|
|
554
|
+
* to apply to each individual line.
|
|
555
|
+
*
|
|
556
|
+
* @type {string}
|
|
557
|
+
* @since 5.0.0
|
|
558
|
+
* @apioption xAxis.plotLines.className
|
|
559
|
+
*/
|
|
560
|
+
|
|
561
|
+
/**
|
|
562
|
+
* The color of the line.
|
|
563
|
+
*
|
|
564
|
+
* @sample {highcharts} highcharts/xaxis/plotlines-color/
|
|
565
|
+
* A red line from X axis
|
|
566
|
+
* @sample {highstock} stock/xaxis/plotlines/
|
|
567
|
+
* Plot line on Y axis
|
|
568
|
+
*
|
|
569
|
+
* @type {Highcharts.ColorString}
|
|
570
|
+
* @apioption xAxis.plotLines.color
|
|
571
|
+
*/
|
|
572
|
+
|
|
573
|
+
/**
|
|
574
|
+
* The dashing or dot style for the plot line. For possible values see
|
|
575
|
+
* [this overview](https://jsfiddle.net/gh/get/library/pure/highcharts
|
|
576
|
+
* /highcharts/tree/master/samples/highcharts/plotoptions/series-
|
|
577
|
+
* dashstyle-all/).
|
|
578
|
+
*
|
|
579
|
+
* @sample {highcharts} highcharts/xaxis/plotlines-dashstyle/
|
|
580
|
+
* Dash and dot pattern
|
|
581
|
+
* @sample {highstock} stock/xaxis/plotlines/
|
|
582
|
+
* Plot line on Y axis
|
|
583
|
+
*
|
|
584
|
+
* @type {string}
|
|
585
|
+
* @default Solid
|
|
586
|
+
* @since 1.2
|
|
587
|
+
* @validvalue ["Solid", "ShortDash", "ShortDot", "ShortDashDot",
|
|
588
|
+
* "ShortDashDotDot", "Dot", "Dash" ,"LongDash", "DashDot",
|
|
589
|
+
* "LongDashDot", "LongDashDotDot"]
|
|
590
|
+
* @apioption xAxis.plotLines.dashStyle
|
|
591
|
+
*/
|
|
592
|
+
|
|
593
|
+
/**
|
|
594
|
+
* An object defining mouse events for the plot line. Supported
|
|
595
|
+
* properties are `click`, `mouseover`, `mouseout`, `mousemove`.
|
|
596
|
+
*
|
|
597
|
+
* @sample {highcharts} highcharts/xaxis/plotlines-events/
|
|
598
|
+
* Mouse events demonstrated
|
|
599
|
+
*
|
|
600
|
+
* @type {*}
|
|
601
|
+
* @since 1.2
|
|
602
|
+
* @context PlotLineOrBand
|
|
603
|
+
* @apioption xAxis.plotLines.events
|
|
604
|
+
*/
|
|
605
|
+
|
|
606
|
+
/**
|
|
607
|
+
* An id used for identifying the plot line in Axis.removePlotLine.
|
|
608
|
+
*
|
|
609
|
+
* @sample {highcharts} highcharts/xaxis/plotlines-id/
|
|
610
|
+
* Remove plot line by id
|
|
611
|
+
*
|
|
612
|
+
* @type {string}
|
|
613
|
+
* @apioption xAxis.plotLines.id
|
|
614
|
+
*/
|
|
615
|
+
|
|
616
|
+
/**
|
|
617
|
+
* The position of the line in axis units.
|
|
618
|
+
*
|
|
619
|
+
* @sample {highcharts} highcharts/xaxis/plotlines-color/
|
|
620
|
+
* Between two categories on X axis
|
|
621
|
+
* @sample {highstock} stock/xaxis/plotlines/
|
|
622
|
+
* Plot line on Y axis
|
|
623
|
+
*
|
|
624
|
+
* @type {number}
|
|
625
|
+
* @apioption xAxis.plotLines.value
|
|
626
|
+
*/
|
|
627
|
+
|
|
628
|
+
/**
|
|
629
|
+
* The width or thickness of the plot line.
|
|
630
|
+
*
|
|
631
|
+
* @sample {highcharts} highcharts/xaxis/plotlines-color/
|
|
632
|
+
* 2px wide line from X axis
|
|
633
|
+
* @sample {highstock} stock/xaxis/plotlines/
|
|
634
|
+
* Plot line on Y axis
|
|
635
|
+
*
|
|
636
|
+
* @type {number}
|
|
637
|
+
* @apioption xAxis.plotLines.width
|
|
638
|
+
*/
|
|
639
|
+
|
|
640
|
+
/**
|
|
641
|
+
* The z index of the plot line within the chart.
|
|
642
|
+
*
|
|
643
|
+
* @sample {highcharts} highcharts/xaxis/plotlines-zindex-behind/
|
|
644
|
+
* Behind plot lines by default
|
|
645
|
+
* @sample {highcharts} highcharts/xaxis/plotlines-zindex-above/
|
|
646
|
+
* Above plot lines
|
|
647
|
+
* @sample {highcharts} highcharts/xaxis/plotlines-zindex-above-all/
|
|
648
|
+
* Above plot lines and series
|
|
649
|
+
*
|
|
650
|
+
* @type {number}
|
|
651
|
+
* @since 1.2
|
|
652
|
+
* @apioption xAxis.plotLines.zIndex
|
|
653
|
+
*/
|
|
654
|
+
|
|
655
|
+
/**
|
|
656
|
+
* Text labels for the plot bands
|
|
657
|
+
*
|
|
658
|
+
* @apioption xAxis.plotLines.label
|
|
659
|
+
*/
|
|
660
|
+
|
|
661
|
+
/**
|
|
662
|
+
* Horizontal alignment of the label. Can be one of "left", "center" or
|
|
663
|
+
* "right".
|
|
664
|
+
*
|
|
665
|
+
* @sample {highcharts} highcharts/xaxis/plotlines-label-align-right/
|
|
666
|
+
* Aligned to the right
|
|
667
|
+
* @sample {highstock} stock/xaxis/plotlines/
|
|
668
|
+
* Plot line on Y axis
|
|
669
|
+
*
|
|
670
|
+
* @type {string}
|
|
671
|
+
* @default left
|
|
672
|
+
* @since 2.1
|
|
673
|
+
* @validvalue ["center", "left", "right"]
|
|
674
|
+
* @apioption xAxis.plotLines.label.align
|
|
675
|
+
*/
|
|
676
|
+
|
|
677
|
+
/**
|
|
678
|
+
* Rotation of the text label in degrees. Defaults to 0 for horizontal plot
|
|
679
|
+
* lines and 90 for vertical lines.
|
|
680
|
+
*
|
|
681
|
+
* @sample {highcharts} highcharts/xaxis/plotlines-label-verticalalign-middle/
|
|
682
|
+
* Slanted text
|
|
683
|
+
*
|
|
684
|
+
* @type {number}
|
|
685
|
+
* @since 2.1
|
|
686
|
+
* @apioption xAxis.plotLines.label.rotation
|
|
687
|
+
*/
|
|
688
|
+
|
|
689
|
+
/**
|
|
690
|
+
* CSS styles for the text label.
|
|
691
|
+
*
|
|
692
|
+
* In styled mode, the labels are styled by the
|
|
693
|
+
* `.highcharts-plot-line-label` class.
|
|
694
|
+
*
|
|
695
|
+
* @sample {highcharts} highcharts/xaxis/plotlines-label-style/
|
|
696
|
+
* Blue and bold label
|
|
697
|
+
*
|
|
698
|
+
* @type {Highcharts.CSSObject}
|
|
699
|
+
* @since 2.1
|
|
700
|
+
* @apioption xAxis.plotLines.label.style
|
|
701
|
+
*/
|
|
702
|
+
|
|
703
|
+
/**
|
|
704
|
+
* The text itself. A subset of HTML is supported.
|
|
705
|
+
*
|
|
706
|
+
* @type {string}
|
|
707
|
+
* @since 2.1
|
|
708
|
+
* @apioption xAxis.plotLines.label.text
|
|
709
|
+
*/
|
|
710
|
+
|
|
711
|
+
/**
|
|
712
|
+
* The text alignment for the label. While `align` determines where the
|
|
713
|
+
* texts anchor point is placed within the plot band, `textAlign` determines
|
|
714
|
+
* how the text is aligned against its anchor point. Possible values are
|
|
715
|
+
* "left", "center" and "right". Defaults to the same as the `align` option.
|
|
716
|
+
*
|
|
717
|
+
* @sample {highcharts} highcharts/xaxis/plotlines-label-textalign/
|
|
718
|
+
* Text label in bottom position
|
|
719
|
+
*
|
|
720
|
+
* @type {string}
|
|
721
|
+
* @since 2.1
|
|
722
|
+
* @apioption xAxis.plotLines.label.textAlign
|
|
723
|
+
*/
|
|
724
|
+
|
|
725
|
+
/**
|
|
726
|
+
* Whether to [use HTML](https://www.highcharts.com/docs/chart-concepts
|
|
727
|
+
* /labels-and-string-formatting#html) to render the labels.
|
|
728
|
+
*
|
|
729
|
+
* @type {boolean}
|
|
730
|
+
* @default false
|
|
731
|
+
* @since 3.0.3
|
|
732
|
+
* @apioption xAxis.plotLines.label.useHTML
|
|
733
|
+
*/
|
|
734
|
+
|
|
735
|
+
/**
|
|
736
|
+
* Vertical alignment of the label relative to the plot line. Can be
|
|
737
|
+
* one of "top", "middle" or "bottom".
|
|
738
|
+
*
|
|
739
|
+
* @sample {highcharts} highcharts/xaxis/plotlines-label-verticalalign-middle/
|
|
740
|
+
* Vertically centered label
|
|
741
|
+
*
|
|
742
|
+
* @type {string}
|
|
743
|
+
* @default {highcharts} top
|
|
744
|
+
* @default {highstock} top
|
|
745
|
+
* @since 2.1
|
|
746
|
+
* @validvalue ["top", "middle", "bottom"]
|
|
747
|
+
* @apioption xAxis.plotLines.label.verticalAlign
|
|
748
|
+
*/
|
|
749
|
+
|
|
750
|
+
/**
|
|
751
|
+
* Horizontal position relative the alignment. Default varies by
|
|
752
|
+
* orientation.
|
|
753
|
+
*
|
|
754
|
+
* @sample {highcharts} highcharts/xaxis/plotlines-label-align-right/
|
|
755
|
+
* Aligned 10px from the right edge
|
|
756
|
+
* @sample {highstock} stock/xaxis/plotlines/
|
|
757
|
+
* Plot line on Y axis
|
|
758
|
+
*
|
|
759
|
+
* @type {number}
|
|
760
|
+
* @since 2.1
|
|
761
|
+
* @apioption xAxis.plotLines.label.x
|
|
762
|
+
*/
|
|
763
|
+
|
|
764
|
+
/**
|
|
765
|
+
* Vertical position of the text baseline relative to the alignment. Default
|
|
766
|
+
* varies by orientation.
|
|
767
|
+
*
|
|
768
|
+
* @sample {highcharts} highcharts/xaxis/plotlines-label-y/
|
|
769
|
+
* Label below the plot line
|
|
770
|
+
* @sample {highstock} stock/xaxis/plotlines/
|
|
771
|
+
* Plot line on Y axis
|
|
772
|
+
*
|
|
773
|
+
* @type {number}
|
|
774
|
+
* @since 2.1
|
|
775
|
+
* @apioption xAxis.plotLines.label.y
|
|
776
|
+
*/
|
|
777
|
+
|
|
778
|
+
/**
|
|
779
|
+
* An array of objects defining plot bands on the Y axis.
|
|
780
|
+
*
|
|
781
|
+
* @type {Array<*>}
|
|
782
|
+
* @extends xAxis.plotBands
|
|
783
|
+
* @apioption yAxis.plotBands
|
|
784
|
+
*/
|
|
785
|
+
|
|
786
|
+
/**
|
|
787
|
+
* In a gauge chart, this option determines the inner radius of the
|
|
788
|
+
* plot band that stretches along the perimeter. It can be given as
|
|
789
|
+
* a percentage string, like `"100%"`, or as a pixel number, like `100`.
|
|
790
|
+
* By default, the inner radius is controlled by the [thickness](
|
|
791
|
+
* #yAxis.plotBands.thickness) option.
|
|
792
|
+
*
|
|
793
|
+
* @sample {highcharts} highcharts/xaxis/plotbands-gauge
|
|
794
|
+
* Gauge plot band
|
|
795
|
+
*
|
|
796
|
+
* @type {number|string}
|
|
797
|
+
* @since 2.3
|
|
798
|
+
* @product highcharts
|
|
799
|
+
* @apioption yAxis.plotBands.innerRadius
|
|
800
|
+
*/
|
|
801
|
+
|
|
802
|
+
/**
|
|
803
|
+
* In a gauge chart, this option determines the outer radius of the
|
|
804
|
+
* plot band that stretches along the perimeter. It can be given as
|
|
805
|
+
* a percentage string, like `"100%"`, or as a pixel number, like `100`.
|
|
806
|
+
*
|
|
807
|
+
* @sample {highcharts} highcharts/xaxis/plotbands-gauge
|
|
808
|
+
* Gauge plot band
|
|
809
|
+
*
|
|
810
|
+
* @type {number|string}
|
|
811
|
+
* @default 100%
|
|
812
|
+
* @since 2.3
|
|
813
|
+
* @product highcharts
|
|
814
|
+
* @apioption yAxis.plotBands.outerRadius
|
|
815
|
+
*/
|
|
816
|
+
|
|
817
|
+
/**
|
|
818
|
+
* In a gauge chart, this option sets the width of the plot band
|
|
819
|
+
* stretching along the perimeter. It can be given as a percentage
|
|
820
|
+
* string, like `"10%"`, or as a pixel number, like `10`. The default
|
|
821
|
+
* value 10 is the same as the default [tickLength](#yAxis.tickLength),
|
|
822
|
+
* thus making the plot band act as a background for the tick markers.
|
|
823
|
+
*
|
|
824
|
+
* @sample {highcharts} highcharts/xaxis/plotbands-gauge
|
|
825
|
+
* Gauge plot band
|
|
826
|
+
*
|
|
827
|
+
* @type {number|string}
|
|
828
|
+
* @default 10
|
|
829
|
+
* @since 2.3
|
|
830
|
+
* @product highcharts
|
|
831
|
+
* @apioption yAxis.plotBands.thickness
|
|
832
|
+
*/
|
|
833
|
+
|
|
834
|
+
/**
|
|
835
|
+
* An array of objects representing plot lines on the X axis
|
|
836
|
+
*
|
|
837
|
+
* @type {Array<*>}
|
|
838
|
+
* @extends xAxis.plotLines
|
|
839
|
+
* @apioption yAxis.plotLines
|
|
840
|
+
*/
|
|
841
|
+
|
|
230
842
|
/**
|
|
231
843
|
* Internal function to create the SVG path definition for a plot band.
|
|
232
844
|
*
|
|
233
|
-
* @
|
|
234
|
-
* The axis value to start from.
|
|
235
|
-
* @param {Number} to
|
|
236
|
-
* The axis value to end on.
|
|
845
|
+
* @function Highcharts.Axis#getPlotBandPath
|
|
237
846
|
*
|
|
238
|
-
* @
|
|
847
|
+
* @param {number} from
|
|
848
|
+
* The axis value to start from.
|
|
849
|
+
*
|
|
850
|
+
* @param {number} to
|
|
851
|
+
* The axis value to end on.
|
|
852
|
+
*
|
|
853
|
+
* @return {Highcharts.SVGPathArray}
|
|
239
854
|
* The SVG path definition in array form.
|
|
240
855
|
*/
|
|
241
856
|
getPlotBandPath: function (from, to) {
|
|
@@ -297,14 +912,17 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */ {
|
|
|
297
912
|
/**
|
|
298
913
|
* Add a plot band after render time.
|
|
299
914
|
*
|
|
300
|
-
* @param {AxisPlotBandsOptions} options
|
|
301
|
-
* A configuration object for the plot band, as defined in {@link
|
|
302
|
-
* https://api.highcharts.com/highcharts/xAxis.plotBands|
|
|
303
|
-
* xAxis.plotBands}.
|
|
304
|
-
* @return {Object}
|
|
305
|
-
* The added plot band.
|
|
306
915
|
* @sample highcharts/members/axis-addplotband/
|
|
307
916
|
* Toggle the plot band from a button
|
|
917
|
+
*
|
|
918
|
+
* @function Highcharts.Axis#addPlotBand
|
|
919
|
+
*
|
|
920
|
+
* @param {Highcharts.AxisPlotBandsOptions} options
|
|
921
|
+
* A configuration object for the plot band, as defined in
|
|
922
|
+
* {@link https://api.highcharts.com/highcharts/xAxis.plotBands|xAxis.plotBands}.
|
|
923
|
+
*
|
|
924
|
+
* @return {Highcharts.PlotLineOrBand|undefined}
|
|
925
|
+
* The added plot band.
|
|
308
926
|
*/
|
|
309
927
|
addPlotBand: function (options) {
|
|
310
928
|
return this.addPlotBandOrLine(options, 'plotBands');
|
|
@@ -313,14 +931,17 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */ {
|
|
|
313
931
|
/**
|
|
314
932
|
* Add a plot line after render time.
|
|
315
933
|
*
|
|
316
|
-
* @param {AxisPlotLinesOptions} options
|
|
317
|
-
* A configuration object for the plot line, as defined in {@link
|
|
318
|
-
* https://api.highcharts.com/highcharts/xAxis.plotLines|
|
|
319
|
-
* xAxis.plotLines}.
|
|
320
|
-
* @return {Object}
|
|
321
|
-
* The added plot line.
|
|
322
934
|
* @sample highcharts/members/axis-addplotline/
|
|
323
935
|
* Toggle the plot line from a button
|
|
936
|
+
*
|
|
937
|
+
* @function Highcharts.Axis#addPlotLine
|
|
938
|
+
*
|
|
939
|
+
* @param {Highcharts.AxisPlotLinesOptions} options
|
|
940
|
+
* A configuration object for the plot line, as defined in
|
|
941
|
+
* {@link https://api.highcharts.com/highcharts/xAxis.plotLines|xAxis.plotLines}.
|
|
942
|
+
*
|
|
943
|
+
* @return {Highcharts.PlotLineOrBand|undefined}
|
|
944
|
+
* The added plot line.
|
|
324
945
|
*/
|
|
325
946
|
addPlotLine: function (options) {
|
|
326
947
|
return this.addPlotBandOrLine(options, 'plotLines');
|
|
@@ -331,8 +952,14 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */ {
|
|
|
331
952
|
* and addPlotLine internally.
|
|
332
953
|
*
|
|
333
954
|
* @private
|
|
334
|
-
* @
|
|
335
|
-
*
|
|
955
|
+
* @function Highcharts.Axis#addPlotBandOrLine
|
|
956
|
+
*
|
|
957
|
+
* @param {Highcharts.AxisPlotLinesOptions|Highcharts.AxisPlotBandsOptions} options
|
|
958
|
+
* The plotBand or plotLine configuration object.
|
|
959
|
+
*
|
|
960
|
+
* @param {"plotBands"|"plotLines"} [coll]
|
|
961
|
+
*
|
|
962
|
+
* @return {Highcharts.PlotLineOrBand|undefined}
|
|
336
963
|
*/
|
|
337
964
|
addPlotBandOrLine: function (options, coll) {
|
|
338
965
|
var obj = new H.PlotLineOrBand(this, options).render(),
|
|
@@ -355,7 +982,9 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */ {
|
|
|
355
982
|
* from `removePlotBand` and `removePlotLine`.
|
|
356
983
|
*
|
|
357
984
|
* @private
|
|
358
|
-
* @
|
|
985
|
+
* @function Highcharts.Axis#removePlotBandOrLine
|
|
986
|
+
*
|
|
987
|
+
* @param {string} id
|
|
359
988
|
*/
|
|
360
989
|
removePlotBandOrLine: function (id) {
|
|
361
990
|
var plotLinesAndBands = this.plotLinesAndBands,
|
|
@@ -385,13 +1014,16 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */ {
|
|
|
385
1014
|
/**
|
|
386
1015
|
* Remove a plot band by its id.
|
|
387
1016
|
*
|
|
388
|
-
* @param {String} id
|
|
389
|
-
* The plot band's `id` as given in the original configuration
|
|
390
|
-
* object or in the `addPlotBand` option.
|
|
391
1017
|
* @sample highcharts/members/axis-removeplotband/
|
|
392
1018
|
* Remove plot band by id
|
|
393
1019
|
* @sample highcharts/members/axis-addplotband/
|
|
394
1020
|
* Toggle the plot band from a button
|
|
1021
|
+
*
|
|
1022
|
+
* @function Highcharts.Axis#removePlotBand
|
|
1023
|
+
*
|
|
1024
|
+
* @param {string} id
|
|
1025
|
+
* The plot band's `id` as given in the original configuration
|
|
1026
|
+
* object or in the `addPlotBand` option.
|
|
395
1027
|
*/
|
|
396
1028
|
removePlotBand: function (id) {
|
|
397
1029
|
this.removePlotBandOrLine(id);
|
|
@@ -399,13 +1031,17 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */ {
|
|
|
399
1031
|
|
|
400
1032
|
/**
|
|
401
1033
|
* Remove a plot line by its id.
|
|
402
|
-
*
|
|
403
|
-
* The plot line's `id` as given in the original configuration
|
|
404
|
-
* object or in the `addPlotLine` option.
|
|
1034
|
+
*
|
|
405
1035
|
* @sample highcharts/xaxis/plotlines-id/
|
|
406
1036
|
* Remove plot line by id
|
|
407
1037
|
* @sample highcharts/members/axis-addplotline/
|
|
408
1038
|
* Toggle the plot line from a button
|
|
1039
|
+
*
|
|
1040
|
+
* @function Highcharts.Axis#removePlotLine
|
|
1041
|
+
*
|
|
1042
|
+
* @param {string} id
|
|
1043
|
+
* The plot line's `id` as given in the original configuration
|
|
1044
|
+
* object or in the `addPlotLine` option.
|
|
409
1045
|
*/
|
|
410
1046
|
removePlotLine: function (id) {
|
|
411
1047
|
this.removePlotBandOrLine(id);
|