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,27 +1,40 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* (c) 2010-
|
|
2
|
+
* (c) 2010-2018 Torstein Honsi
|
|
3
3
|
*
|
|
4
4
|
* License: www.highcharts.com/license
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
'use strict';
|
|
8
|
+
|
|
8
9
|
import H from './Globals.js';
|
|
9
10
|
import './Utilities.js';
|
|
11
|
+
|
|
10
12
|
var Axis = H.Axis,
|
|
11
13
|
getMagnitude = H.getMagnitude,
|
|
12
14
|
normalizeTickInterval = H.normalizeTickInterval,
|
|
13
15
|
timeUnits = H.timeUnits;
|
|
16
|
+
|
|
14
17
|
/**
|
|
15
18
|
* Set the tick positions to a time unit that makes sense, for example
|
|
16
19
|
* on the first of each month or on every Monday. Return an array
|
|
17
20
|
* with the time positions. Used in datetime axes as well as for grouping
|
|
18
21
|
* data on a datetime axis.
|
|
19
22
|
*
|
|
20
|
-
* @
|
|
23
|
+
* @private
|
|
24
|
+
* @function Highcharts.Axis#getTimeTicks
|
|
25
|
+
*
|
|
26
|
+
* @param {*} normalizedInterval
|
|
21
27
|
* The interval in axis values (ms) and thecount
|
|
22
|
-
*
|
|
23
|
-
* @param {
|
|
24
|
-
*
|
|
28
|
+
*
|
|
29
|
+
* @param {number} min
|
|
30
|
+
* The minimum in axis values
|
|
31
|
+
*
|
|
32
|
+
* @param {number} max
|
|
33
|
+
* The maximum in axis values
|
|
34
|
+
*
|
|
35
|
+
* @param {number} startOfWeek
|
|
36
|
+
*
|
|
37
|
+
* @return {number}
|
|
25
38
|
*/
|
|
26
39
|
Axis.prototype.getTimeTicks = function () {
|
|
27
40
|
return this.chart.time.getTimeTicks.apply(this.chart.time, arguments);
|
|
@@ -34,6 +47,15 @@ Axis.prototype.getTimeTicks = function () {
|
|
|
34
47
|
* of segments in stock charts, the normalizing logic was extracted in order to
|
|
35
48
|
* prevent it for running over again for each segment having the same interval.
|
|
36
49
|
* #662, #697.
|
|
50
|
+
*
|
|
51
|
+
* @private
|
|
52
|
+
* @function Highcharts.Axis#normalizeTimeTickInterval
|
|
53
|
+
*
|
|
54
|
+
* @param {number} tickInterval
|
|
55
|
+
*
|
|
56
|
+
* @param {Array<Array<number|string>>} [unitsOption]
|
|
57
|
+
*
|
|
58
|
+
* @return {*}
|
|
37
59
|
*/
|
|
38
60
|
Axis.prototype.normalizeTimeTickInterval = function (
|
|
39
61
|
tickInterval,
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* (c) 2010-
|
|
2
|
+
* (c) 2010-2018 Torstein Honsi
|
|
3
3
|
*
|
|
4
4
|
* License: www.highcharts.com/license
|
|
5
5
|
*/
|
|
6
|
+
|
|
6
7
|
'use strict';
|
|
8
|
+
|
|
7
9
|
import H from './Globals.js';
|
|
8
10
|
import './Utilities.js';
|
|
9
11
|
import './Axis.js';
|
|
10
12
|
import './Chart.js';
|
|
11
13
|
import './Point.js';
|
|
12
14
|
import './Series.js';
|
|
15
|
+
|
|
13
16
|
var addEvent = H.addEvent,
|
|
14
17
|
animate = H.animate,
|
|
15
18
|
Axis = H.Axis,
|
|
@@ -44,21 +47,28 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
44
47
|
* same time as the chart is initialized, add the series as a configuration
|
|
45
48
|
* option instead. With multiple axes, the `offset` is dynamically adjusted.
|
|
46
49
|
*
|
|
47
|
-
* @param {SeriesOptions} options
|
|
48
|
-
* The config options for the series.
|
|
49
|
-
* @param {Boolean} [redraw=true]
|
|
50
|
-
* Whether to redraw the chart after adding.
|
|
51
|
-
* @param {AnimationOptions} animation
|
|
52
|
-
* Whether to apply animation, and optionally animation
|
|
53
|
-
* configuration.
|
|
54
|
-
*
|
|
55
|
-
* @return {Highcharts.Series}
|
|
56
|
-
* The newly created series object.
|
|
57
|
-
*
|
|
58
50
|
* @sample highcharts/members/chart-addseries/
|
|
59
51
|
* Add a series from a button
|
|
60
52
|
* @sample stock/members/chart-addseries/
|
|
61
53
|
* Add a series in Highstock
|
|
54
|
+
*
|
|
55
|
+
* @function Highcharts.Chart#addSeries
|
|
56
|
+
*
|
|
57
|
+
* @param {Highcharts.SeriesOptions} options
|
|
58
|
+
* The config options for the series.
|
|
59
|
+
*
|
|
60
|
+
* @param {boolean} [redraw=true]
|
|
61
|
+
* Whether to redraw the chart after adding.
|
|
62
|
+
*
|
|
63
|
+
* @param {boolean|Highcharts.AnimationOptionsObject} [animation]
|
|
64
|
+
* Whether to apply animation, and optionally animation
|
|
65
|
+
* configuration.
|
|
66
|
+
*
|
|
67
|
+
* @return {Highcharts.Series}
|
|
68
|
+
* The newly created series object.
|
|
69
|
+
*
|
|
70
|
+
* @fires Highcharts.Chart#event:addSeries
|
|
71
|
+
* @fires Highcharts.Chart#event:afterAddSeries
|
|
62
72
|
*/
|
|
63
73
|
addSeries: function (options, redraw, animation) {
|
|
64
74
|
var series,
|
|
@@ -90,18 +100,25 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
90
100
|
* adds expense to the calculations and rendering. When adding data at the
|
|
91
101
|
* same time as the chart is initialized, add the axis as a configuration
|
|
92
102
|
* option instead.
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
* @
|
|
98
|
-
*
|
|
99
|
-
* @param
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
* @
|
|
103
|
-
*
|
|
104
|
-
*
|
|
103
|
+
*
|
|
104
|
+
* @sample highcharts/members/chart-addaxis/
|
|
105
|
+
* Add and remove axes
|
|
106
|
+
*
|
|
107
|
+
* @function Highcharts.Chart#addAxis
|
|
108
|
+
*
|
|
109
|
+
* @param {Highcharts.XAxisOptions|Highcharts.YAxisOptions|Highcharts.ZAxisOptions} options
|
|
110
|
+
* The axis options.
|
|
111
|
+
*
|
|
112
|
+
* @param {boolean} [isX=false]
|
|
113
|
+
* Whether it is an X axis or a value axis.
|
|
114
|
+
*
|
|
115
|
+
* @param {boolean} [redraw=true]
|
|
116
|
+
* Whether to redraw the chart after adding.
|
|
117
|
+
*
|
|
118
|
+
* @param {boolean|Highcharts.AnimationOptionsObject} [animation=true]
|
|
119
|
+
* Whether and how to apply animation in the redraw.
|
|
120
|
+
*
|
|
121
|
+
* @return {Highcharts.Axis}
|
|
105
122
|
* The newly generated Axis object.
|
|
106
123
|
*/
|
|
107
124
|
addAxis: function (options, isX, redraw, animation) {
|
|
@@ -131,17 +148,19 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
131
148
|
* screen are defined in {@link
|
|
132
149
|
* https://api.highcharts.com/highcharts/loading|the loading options}.
|
|
133
150
|
*
|
|
134
|
-
* @param {String} str
|
|
135
|
-
* An optional text to show in the loading label instead of the
|
|
136
|
-
* default one. The default text is set in {@link
|
|
137
|
-
* http://api.highcharts.com/highcharts/lang.loading|lang.loading}.
|
|
138
|
-
*
|
|
139
151
|
* @sample highcharts/members/chart-hideloading/
|
|
140
152
|
* Show and hide loading from a button
|
|
141
153
|
* @sample highcharts/members/chart-showloading/
|
|
142
154
|
* Apply different text labels
|
|
143
155
|
* @sample stock/members/chart-show-hide-loading/
|
|
144
156
|
* Toggle loading in Highstock
|
|
157
|
+
*
|
|
158
|
+
* @function Highcharts.Chart#showLoading
|
|
159
|
+
*
|
|
160
|
+
* @param {string} str
|
|
161
|
+
* An optional text to show in the loading label instead of the
|
|
162
|
+
* default one. The default text is set in
|
|
163
|
+
* {@link http://api.highcharts.com/highcharts/lang.loading|lang.loading}.
|
|
145
164
|
*/
|
|
146
165
|
showLoading: function (str) {
|
|
147
166
|
var chart = this,
|
|
@@ -207,13 +226,17 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
207
226
|
/**
|
|
208
227
|
* Hide the loading layer.
|
|
209
228
|
*
|
|
210
|
-
* @see
|
|
229
|
+
* @see Highcharts.Chart#showLoading
|
|
230
|
+
*
|
|
211
231
|
* @sample highcharts/members/chart-hideloading/
|
|
212
232
|
* Show and hide loading from a button
|
|
213
233
|
* @sample stock/members/chart-show-hide-loading/
|
|
214
234
|
* Toggle loading in Highstock
|
|
235
|
+
*
|
|
236
|
+
* @function Highcharts.Chart#hideLoading
|
|
215
237
|
*/
|
|
216
238
|
hideLoading: function () {
|
|
239
|
+
|
|
217
240
|
var options = this.options,
|
|
218
241
|
loadingDiv = this.loadingDiv;
|
|
219
242
|
|
|
@@ -231,6 +254,7 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
231
254
|
});
|
|
232
255
|
|
|
233
256
|
}
|
|
257
|
+
|
|
234
258
|
this.loadingShown = false;
|
|
235
259
|
},
|
|
236
260
|
|
|
@@ -293,31 +317,40 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
293
317
|
* adding and removing items from the collection. Read more under the
|
|
294
318
|
* parameter description below.
|
|
295
319
|
*
|
|
296
|
-
* See also the
|
|
297
|
-
* responsive option set}.
|
|
298
|
-
* runs `chart.update` under
|
|
299
|
-
*
|
|
300
|
-
* @param {Options} options
|
|
301
|
-
* A configuration object for the new chart options.
|
|
302
|
-
* @param {Boolean} [redraw=true]
|
|
303
|
-
* Whether to redraw the chart.
|
|
304
|
-
* @param {Boolean} [oneToOne=false]
|
|
305
|
-
* When `true`, the `series`, `xAxis` and `yAxis` collections will
|
|
306
|
-
* be updated one to one, and items will be either added or removed
|
|
307
|
-
* to match the new updated options. For example, if the chart has
|
|
308
|
-
* two series and we call `chart.update` with a configuration
|
|
309
|
-
* containing three series, one will be added. If we call
|
|
310
|
-
* `chart.update` with one series, one will be removed. Setting an
|
|
311
|
-
* empty `series` array will remove all series, but leaving out the
|
|
312
|
-
* `series` property will leave all series untouched. If the series
|
|
313
|
-
* have id's, the new series options will be matched by id, and the
|
|
314
|
-
* remaining ones removed.
|
|
315
|
-
* @param {AnimationOptions} [animation=true]
|
|
316
|
-
* Whether to apply animation, and optionally animation
|
|
317
|
-
* configuration.
|
|
320
|
+
* See also the
|
|
321
|
+
* {@link https://api.highcharts.com/highcharts/responsive|responsive option set}.
|
|
322
|
+
* Switching between `responsive.rules` basically runs `chart.update` under
|
|
323
|
+
* the hood.
|
|
318
324
|
*
|
|
319
325
|
* @sample highcharts/members/chart-update/
|
|
320
326
|
* Update chart geometry
|
|
327
|
+
*
|
|
328
|
+
* @function Highcharts.Chart#update
|
|
329
|
+
*
|
|
330
|
+
* @param {Highcharts.Options} options
|
|
331
|
+
* A configuration object for the new chart options.
|
|
332
|
+
*
|
|
333
|
+
* @param {boolean} [redraw=true]
|
|
334
|
+
* Whether to redraw the chart.
|
|
335
|
+
*
|
|
336
|
+
* @param {boolean} [oneToOne=false]
|
|
337
|
+
* When `true`, the `series`, `xAxis` and `yAxis` collections will
|
|
338
|
+
* be updated one to one, and items will be either added or removed
|
|
339
|
+
* to match the new updated options. For example, if the chart has
|
|
340
|
+
* two series and we call `chart.update` with a configuration
|
|
341
|
+
* containing three series, one will be added. If we call
|
|
342
|
+
* `chart.update` with one series, one will be removed. Setting an
|
|
343
|
+
* empty `series` array will remove all series, but leaving out the
|
|
344
|
+
* `series` property will leave all series untouched. If the series
|
|
345
|
+
* have id's, the new series options will be matched by id, and the
|
|
346
|
+
* remaining ones removed.
|
|
347
|
+
*
|
|
348
|
+
* @param {boolean|Highcharts.AnimationOptionsObject} [animation=true]
|
|
349
|
+
* Whether to apply animation, and optionally animation
|
|
350
|
+
* configuration.
|
|
351
|
+
*
|
|
352
|
+
* @fires Highcharts.Chart#event:update
|
|
353
|
+
* @fires Highcharts.Chart#event:afterUpdate
|
|
321
354
|
*/
|
|
322
355
|
update: function (options, redraw, oneToOne, animation) {
|
|
323
356
|
var chart = this,
|
|
@@ -495,7 +528,9 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
495
528
|
});
|
|
496
529
|
|
|
497
530
|
each(itemsForRemoval, function (item) {
|
|
498
|
-
item.remove
|
|
531
|
+
if (item.remove) {
|
|
532
|
+
item.remove(false);
|
|
533
|
+
}
|
|
499
534
|
});
|
|
500
535
|
|
|
501
536
|
if (updateAllAxes) {
|
|
@@ -535,9 +570,11 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
535
570
|
* Shortcut to set the subtitle options. This can also be done from {@link
|
|
536
571
|
* Chart#update} or {@link Chart#setTitle}.
|
|
537
572
|
*
|
|
538
|
-
* @
|
|
539
|
-
*
|
|
540
|
-
*
|
|
573
|
+
* @function Highcharts.Chart#setSubtitle
|
|
574
|
+
*
|
|
575
|
+
* @param {Highcharts.SubtitleOptions} options
|
|
576
|
+
* New subtitle options. The subtitle text itself is set by the
|
|
577
|
+
* `options.text` property.
|
|
541
578
|
*/
|
|
542
579
|
setSubtitle: function (options) {
|
|
543
580
|
this.setTitle(undefined, options);
|
|
@@ -552,27 +589,33 @@ extend(Point.prototype, /** @lends Highcharts.Point.prototype */ {
|
|
|
552
589
|
* Update point with new options (typically x/y data) and optionally redraw
|
|
553
590
|
* the series.
|
|
554
591
|
*
|
|
555
|
-
* @param {Object} options
|
|
556
|
-
* The point options. Point options are handled as described under
|
|
557
|
-
* the `series.type.data` item for each series type. For example
|
|
558
|
-
* for a line series, if options is a single number, the point will
|
|
559
|
-
* be given that number as the main y value. If it is an array, it
|
|
560
|
-
* will be interpreted as x and y values respectively. If it is an
|
|
561
|
-
* object, advanced options are applied.
|
|
562
|
-
* @param {Boolean} [redraw=true]
|
|
563
|
-
* Whether to redraw the chart after the point is updated. If doing
|
|
564
|
-
* more operations on the chart, it is best practice to set
|
|
565
|
-
* `redraw` to false and call `chart.redraw()` after.
|
|
566
|
-
* @param {AnimationOptions} [animation=true]
|
|
567
|
-
* Whether to apply animation, and optionally animation
|
|
568
|
-
* configuration.
|
|
569
|
-
*
|
|
570
592
|
* @sample highcharts/members/point-update-column/
|
|
571
593
|
* Update column value
|
|
572
594
|
* @sample highcharts/members/point-update-pie/
|
|
573
595
|
* Update pie slice
|
|
574
596
|
* @sample maps/members/point-update/
|
|
575
597
|
* Update map area value in Highmaps
|
|
598
|
+
*
|
|
599
|
+
* @function Highcharts.Point#update
|
|
600
|
+
*
|
|
601
|
+
* @param {*} options
|
|
602
|
+
* The point options. Point options are handled as described under
|
|
603
|
+
* the `series.type.data` item for each series type. For example
|
|
604
|
+
* for a line series, if options is a single number, the point will
|
|
605
|
+
* be given that number as the main y value. If it is an array, it
|
|
606
|
+
* will be interpreted as x and y values respectively. If it is an
|
|
607
|
+
* object, advanced options are applied.
|
|
608
|
+
*
|
|
609
|
+
* @param {boolean} [redraw=true]
|
|
610
|
+
* Whether to redraw the chart after the point is updated. If doing
|
|
611
|
+
* more operations on the chart, it is best practice to set
|
|
612
|
+
* `redraw` to false and call `chart.redraw()` after.
|
|
613
|
+
*
|
|
614
|
+
* @param {boolean|Highcharts.AnimationOptionsObject} [animation=true]
|
|
615
|
+
* Whether to apply animation, and optionally animation
|
|
616
|
+
* configuration.
|
|
617
|
+
*
|
|
618
|
+
* @fires Highcharts.Point#event:update
|
|
576
619
|
*/
|
|
577
620
|
update: function (options, redraw, animation, runEvent) {
|
|
578
621
|
var point = this,
|
|
@@ -650,14 +693,6 @@ extend(Point.prototype, /** @lends Highcharts.Point.prototype */ {
|
|
|
650
693
|
|
|
651
694
|
/**
|
|
652
695
|
* Remove a point and optionally redraw the series and if necessary the axes
|
|
653
|
-
* @param {Boolean} redraw
|
|
654
|
-
* Whether to redraw the chart or wait for an explicit call. When
|
|
655
|
-
* doing more operations on the chart, for example running
|
|
656
|
-
* `point.remove()` in a loop, it is best practice to set `redraw`
|
|
657
|
-
* to false and call `chart.redraw()` after.
|
|
658
|
-
* @param {AnimationOptions} [animation=false]
|
|
659
|
-
* Whether to apply animation, and optionally animation
|
|
660
|
-
* configuration.
|
|
661
696
|
*
|
|
662
697
|
* @sample highcharts/plotoptions/series-point-events-remove/
|
|
663
698
|
* Remove point and confirm
|
|
@@ -665,6 +700,18 @@ extend(Point.prototype, /** @lends Highcharts.Point.prototype */ {
|
|
|
665
700
|
* Remove pie slice
|
|
666
701
|
* @sample maps/members/point-remove/
|
|
667
702
|
* Remove selected points in Highmaps
|
|
703
|
+
*
|
|
704
|
+
* @function Highcharts.Point#remove
|
|
705
|
+
*
|
|
706
|
+
* @param {boolean} redraw
|
|
707
|
+
* Whether to redraw the chart or wait for an explicit call. When
|
|
708
|
+
* doing more operations on the chart, for example running
|
|
709
|
+
* `point.remove()` in a loop, it is best practice to set `redraw`
|
|
710
|
+
* to false and call `chart.redraw()` after.
|
|
711
|
+
*
|
|
712
|
+
* @param {boolean|Highcharts.AnimationOptionsObject} [animation=false]
|
|
713
|
+
* Whether to apply animation, and optionally animation
|
|
714
|
+
* configuration.
|
|
668
715
|
*/
|
|
669
716
|
remove: function (redraw, animation) {
|
|
670
717
|
this.series.removePoint(
|
|
@@ -682,25 +729,6 @@ extend(Series.prototype, /** @lends Series.prototype */ {
|
|
|
682
729
|
* the end, or by giving it an X value, to the start or in the middle of the
|
|
683
730
|
* series.
|
|
684
731
|
*
|
|
685
|
-
* @param {Number|Array|Object} options
|
|
686
|
-
* The point options. If options is a single number, a point with
|
|
687
|
-
* that y value is appended to the series.If it is an array, it will
|
|
688
|
-
* be interpreted as x and y values respectively. If it is an
|
|
689
|
-
* object, advanced options as outlined under `series.data` are
|
|
690
|
-
* applied.
|
|
691
|
-
* @param {Boolean} [redraw=true]
|
|
692
|
-
* Whether to redraw the chart after the point is added. When adding
|
|
693
|
-
* more than one point, it is highly recommended that the redraw
|
|
694
|
-
* option be set to false, and instead {@link Chart#redraw}
|
|
695
|
-
* is explicitly called after the adding of points is finished.
|
|
696
|
-
* Otherwise, the chart will redraw after adding each point.
|
|
697
|
-
* @param {Boolean} [shift=false]
|
|
698
|
-
* If true, a point is shifted off the start of the series as one is
|
|
699
|
-
* appended to the end.
|
|
700
|
-
* @param {AnimationOptions} [animation]
|
|
701
|
-
* Whether to apply animation, and optionally animation
|
|
702
|
-
* configuration.
|
|
703
|
-
*
|
|
704
732
|
* @sample highcharts/members/series-addpoint-append/
|
|
705
733
|
* Append point
|
|
706
734
|
* @sample highcharts/members/series-addpoint-append-and-shift/
|
|
@@ -715,6 +743,30 @@ extend(Series.prototype, /** @lends Series.prototype */ {
|
|
|
715
743
|
* Append and shift in Highstock
|
|
716
744
|
* @sample maps/members/series-addpoint/
|
|
717
745
|
* Add a point in Highmaps
|
|
746
|
+
*
|
|
747
|
+
* @function Highcharts.Series#addPoint
|
|
748
|
+
*
|
|
749
|
+
* @param {number|Array<number>|*} options
|
|
750
|
+
* The point options. If options is a single number, a point with
|
|
751
|
+
* that y value is appended to the series. If it is an array, it will
|
|
752
|
+
* be interpreted as x and y values respectively. If it is an
|
|
753
|
+
* object, advanced options as outlined under `series.data` are
|
|
754
|
+
* applied.
|
|
755
|
+
*
|
|
756
|
+
* @param {boolean} [redraw=true]
|
|
757
|
+
* Whether to redraw the chart after the point is added. When adding
|
|
758
|
+
* more than one point, it is highly recommended that the redraw
|
|
759
|
+
* option be set to false, and instead {@link Chart#redraw} is
|
|
760
|
+
* explicitly called after the adding of points is finished.
|
|
761
|
+
* Otherwise, the chart will redraw after adding each point.
|
|
762
|
+
*
|
|
763
|
+
* @param {boolean} [shift=false]
|
|
764
|
+
* If true, a point is shifted off the start of the series as one is
|
|
765
|
+
* appended to the end.
|
|
766
|
+
*
|
|
767
|
+
* @param {boolean|Highcharts.AnimationOptionsObject} [animation]
|
|
768
|
+
* Whether to apply animation, and optionally animation
|
|
769
|
+
* configuration.
|
|
718
770
|
*/
|
|
719
771
|
addPoint: function (options, redraw, shift, animation) {
|
|
720
772
|
var series = this,
|
|
@@ -796,20 +848,26 @@ extend(Series.prototype, /** @lends Series.prototype */ {
|
|
|
796
848
|
* that is not instanciated because it is outside the view or subject to
|
|
797
849
|
* Highstock data grouping.
|
|
798
850
|
*
|
|
799
|
-
* @param {Number} i
|
|
800
|
-
* The index of the point in the {@link Highcharts.Series.data|data}
|
|
801
|
-
* array.
|
|
802
|
-
* @param {Boolean} [redraw=true]
|
|
803
|
-
* Whether to redraw the chart after the point is added. When
|
|
804
|
-
* removing more than one point, it is highly recommended that the
|
|
805
|
-
* `redraw` option be set to `false`, and instead {@link
|
|
806
|
-
* Highcharts.Chart#redraw} is explicitly called after the adding of
|
|
807
|
-
* points is finished.
|
|
808
|
-
* @param {AnimationOptions} [animation]
|
|
809
|
-
* Whether and optionally how the series should be animated.
|
|
810
|
-
*
|
|
811
851
|
* @sample highcharts/members/series-removepoint/
|
|
812
852
|
* Remove cropped point
|
|
853
|
+
*
|
|
854
|
+
* @function Highcharts.Series#removePoint
|
|
855
|
+
*
|
|
856
|
+
* @param {number} i
|
|
857
|
+
* The index of the point in the {@link Highcharts.Series.data|data}
|
|
858
|
+
* array.
|
|
859
|
+
*
|
|
860
|
+
* @param {boolean} [redraw=true]
|
|
861
|
+
* Whether to redraw the chart after the point is added. When
|
|
862
|
+
* removing more than one point, it is highly recommended that the
|
|
863
|
+
* `redraw` option be set to `false`, and instead {@link
|
|
864
|
+
* Highcharts.Chart#redraw} is explicitly called after the adding of
|
|
865
|
+
* points is finished.
|
|
866
|
+
*
|
|
867
|
+
* @param {boolean|Highcharts.AnimationOptionsObject} [animation]
|
|
868
|
+
* Whether and optionally how the series should be animated.
|
|
869
|
+
*
|
|
870
|
+
* @fires Highcharts.Point#event:remove
|
|
813
871
|
*/
|
|
814
872
|
removePoint: function (i, redraw, animation) {
|
|
815
873
|
|
|
@@ -858,17 +916,23 @@ extend(Series.prototype, /** @lends Series.prototype */ {
|
|
|
858
916
|
/**
|
|
859
917
|
* Remove a series and optionally redraw the chart.
|
|
860
918
|
*
|
|
861
|
-
* @param {Boolean} [redraw=true]
|
|
862
|
-
* Whether to redraw the chart or wait for an explicit call to
|
|
863
|
-
* {@link Highcharts.Chart#redraw}.
|
|
864
|
-
* @param {AnimationOptions} [animation]
|
|
865
|
-
* Whether to apply animation, and optionally animation
|
|
866
|
-
* configuration
|
|
867
|
-
* @param {Boolean} [withEvent=true]
|
|
868
|
-
* Used internally, whether to fire the series `remove` event.
|
|
869
|
-
*
|
|
870
919
|
* @sample highcharts/members/series-remove/
|
|
871
920
|
* Remove first series from a button
|
|
921
|
+
*
|
|
922
|
+
* @function Highcharts.Series#remove
|
|
923
|
+
*
|
|
924
|
+
* @param {boolean} [redraw=true]
|
|
925
|
+
* Whether to redraw the chart or wait for an explicit call to
|
|
926
|
+
* {@link Highcharts.Chart#redraw}.
|
|
927
|
+
*
|
|
928
|
+
* @param {boolean|Highcharts.AnimationOptionsObject} [animation]
|
|
929
|
+
* Whether to apply animation, and optionally animation
|
|
930
|
+
* configuration.
|
|
931
|
+
*
|
|
932
|
+
* @param {boolean} [withEvent=true]
|
|
933
|
+
* Used internally, whether to fire the series `remove` event.
|
|
934
|
+
*
|
|
935
|
+
* @fires Highcharts.Series#event:remove
|
|
872
936
|
*/
|
|
873
937
|
remove: function (redraw, animation, withEvent) {
|
|
874
938
|
var series = this,
|
|
@@ -878,6 +942,7 @@ extend(Series.prototype, /** @lends Series.prototype */ {
|
|
|
878
942
|
|
|
879
943
|
// Destroy elements
|
|
880
944
|
series.destroy();
|
|
945
|
+
series.remove = null; // Prevent from doing again (#9097)
|
|
881
946
|
|
|
882
947
|
// Redraw
|
|
883
948
|
chart.isDirtyLegend = chart.isDirtyBox = true;
|
|
@@ -903,18 +968,22 @@ extend(Series.prototype, /** @lends Series.prototype */ {
|
|
|
903
968
|
* performance expensive than some other utility methods like {@link
|
|
904
969
|
* Series#setData} or {@link Series#setVisible}.
|
|
905
970
|
*
|
|
906
|
-
* @param {SeriesOptions} options
|
|
907
|
-
* New options that will be merged with the series' existing
|
|
908
|
-
* options.
|
|
909
|
-
* @param {Boolean} [redraw=true]
|
|
910
|
-
* Whether to redraw the chart after the series is altered. If doing
|
|
911
|
-
* more operations on the chart, it is a good idea to set redraw to
|
|
912
|
-
* false and call {@link Chart#redraw} after.
|
|
913
|
-
*
|
|
914
971
|
* @sample highcharts/members/series-update/
|
|
915
972
|
* Updating series options
|
|
916
973
|
* @sample maps/members/series-update/
|
|
917
974
|
* Update series options in Highmaps
|
|
975
|
+
*
|
|
976
|
+
* @function Highcharts.Series#update
|
|
977
|
+
*
|
|
978
|
+
* @param {Highcharts.SeriesOptions} options
|
|
979
|
+
* New options that will be merged with the series' existing options.
|
|
980
|
+
*
|
|
981
|
+
* @param {boolean} [redraw=true]
|
|
982
|
+
* Whether to redraw the chart after the series is altered. If doing
|
|
983
|
+
* more operations on the chart, it is a good idea to set redraw to
|
|
984
|
+
* false and call {@link Chart#redraw} after.
|
|
985
|
+
*
|
|
986
|
+
* @fires Highcharts.Series#event:afterUpdate
|
|
918
987
|
*/
|
|
919
988
|
update: function (newOptions, redraw) {
|
|
920
989
|
var series = this,
|
|
@@ -1029,13 +1098,17 @@ extend(Series.prototype, /** @lends Series.prototype */ {
|
|
|
1029
1098
|
fireEvent(this, 'afterUpdate');
|
|
1030
1099
|
|
|
1031
1100
|
if (pick(redraw, true)) {
|
|
1032
|
-
chart.redraw(false);
|
|
1101
|
+
chart.redraw(doSoftUpdate ? undefined : false);
|
|
1033
1102
|
}
|
|
1034
1103
|
},
|
|
1035
1104
|
|
|
1036
1105
|
/**
|
|
1037
1106
|
* Used from within series.update
|
|
1107
|
+
*
|
|
1038
1108
|
* @private
|
|
1109
|
+
* @function Highcharts.Series#setName
|
|
1110
|
+
*
|
|
1111
|
+
* @param {string} name
|
|
1039
1112
|
*/
|
|
1040
1113
|
setName: function (name) {
|
|
1041
1114
|
this.name = this.options.name = this.userOptions.name = name;
|
|
@@ -1051,10 +1124,14 @@ extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */ {
|
|
|
1051
1124
|
* with the existing options, so only new or altered options need to be
|
|
1052
1125
|
* specified.
|
|
1053
1126
|
*
|
|
1054
|
-
* @
|
|
1055
|
-
*
|
|
1056
|
-
*
|
|
1057
|
-
* @
|
|
1127
|
+
* @sample highcharts/members/axis-update/
|
|
1128
|
+
* Axis update demo
|
|
1129
|
+
*
|
|
1130
|
+
* @function Highcharts.Axis#update
|
|
1131
|
+
*
|
|
1132
|
+
* @param {Highcharts.XAxisOptions|Highcharts.YAxisOptions|Highcharts.ZAxisOptions} options
|
|
1133
|
+
* The new options that will be merged in with existing options on
|
|
1134
|
+
* the axis.
|
|
1058
1135
|
*/
|
|
1059
1136
|
update: function (options, redraw) {
|
|
1060
1137
|
var chart = this.chart,
|
|
@@ -1091,10 +1168,13 @@ extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */ {
|
|
|
1091
1168
|
/**
|
|
1092
1169
|
* Remove the axis from the chart.
|
|
1093
1170
|
*
|
|
1094
|
-
* @
|
|
1095
|
-
* remove
|
|
1171
|
+
* @sample highcharts/members/chart-addaxis/
|
|
1172
|
+
* Add and remove axes
|
|
1173
|
+
*
|
|
1174
|
+
* @function Highcharts.Axis#remove
|
|
1096
1175
|
*
|
|
1097
|
-
* @
|
|
1176
|
+
* @param {boolean} [redraw=true]
|
|
1177
|
+
* Whether to redraw the chart following the remove.
|
|
1098
1178
|
*/
|
|
1099
1179
|
remove: function (redraw) {
|
|
1100
1180
|
var chart = this.chart,
|
|
@@ -1133,11 +1213,16 @@ extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */ {
|
|
|
1133
1213
|
/**
|
|
1134
1214
|
* Update the axis title by options after render time.
|
|
1135
1215
|
*
|
|
1136
|
-
* @
|
|
1137
|
-
*
|
|
1138
|
-
*
|
|
1139
|
-
*
|
|
1140
|
-
*
|
|
1216
|
+
* @sample highcharts/members/axis-settitle/
|
|
1217
|
+
* Set a new Y axis title
|
|
1218
|
+
*
|
|
1219
|
+
* @function Highcharts.Axis#setTitle
|
|
1220
|
+
*
|
|
1221
|
+
* @param {Highcharts.XAxisTitleOptions|Highcharts.YAxisTitleOptions|Highcharts.ZAxisTitleOptions} titleOptions
|
|
1222
|
+
* The additional title options.
|
|
1223
|
+
*
|
|
1224
|
+
* @param {boolean} [redraw=true]
|
|
1225
|
+
* Whether to redraw the chart after setting the title.
|
|
1141
1226
|
*/
|
|
1142
1227
|
setTitle: function (titleOptions, redraw) {
|
|
1143
1228
|
this.update({ title: titleOptions }, redraw);
|
|
@@ -1145,10 +1230,17 @@ extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */ {
|
|
|
1145
1230
|
|
|
1146
1231
|
/**
|
|
1147
1232
|
* Set new axis categories and optionally redraw.
|
|
1148
|
-
*
|
|
1149
|
-
* @
|
|
1150
|
-
*
|
|
1151
|
-
*
|
|
1233
|
+
*
|
|
1234
|
+
* @sample highcharts/members/axis-setcategories/
|
|
1235
|
+
* Set categories by click on a button
|
|
1236
|
+
*
|
|
1237
|
+
* @function Highcharts.Axis#setCategories
|
|
1238
|
+
*
|
|
1239
|
+
* @param {Array<string>} categories
|
|
1240
|
+
* The new categories.
|
|
1241
|
+
*
|
|
1242
|
+
* @param {boolean} [redraw=true]
|
|
1243
|
+
* Whether to redraw the chart.
|
|
1152
1244
|
*/
|
|
1153
1245
|
setCategories: function (categories, redraw) {
|
|
1154
1246
|
this.update({ categories: categories }, redraw);
|