highcharts 6.1.1 → 6.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bower.json +1 -1
- package/css/highcharts.css +29 -0
- package/css/highcharts.scss +25 -1
- package/css/themes/dark-unica.css +29 -0
- package/css/themes/grid-light.css +29 -0
- package/css/themes/sand-signika.css +29 -0
- package/es-modules/indicators/accumulation-distribution.src.js +1 -1
- package/es-modules/indicators/atr.src.js +1 -1
- package/es-modules/indicators/bollinger-bands.src.js +2 -2
- package/es-modules/indicators/cci.src.js +1 -1
- package/es-modules/indicators/cmf.src.js +1 -1
- package/es-modules/indicators/ema.src.js +1 -1
- package/es-modules/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/es-modules/indicators/indicators.src.js +29 -14
- package/es-modules/indicators/macd.src.js +4 -4
- package/es-modules/indicators/mfi.src.js +1 -1
- package/es-modules/indicators/momentum.src.js +2 -2
- package/es-modules/indicators/pivot-points.src.js +7 -2
- package/es-modules/indicators/price-envelopes.src.js +2 -2
- package/es-modules/indicators/psar.src.js +1 -1
- package/es-modules/indicators/roc.src.js +1 -1
- package/es-modules/indicators/rsi.src.js +1 -1
- package/es-modules/indicators/stochastic.src.js +9 -7
- package/es-modules/indicators/volume-by-price.src.js +1 -1
- package/es-modules/indicators/vwap.src.js +1 -1
- package/es-modules/indicators/wma.src.js +1 -1
- package/es-modules/indicators/zigzag.src.js +1 -1
- package/es-modules/masters/highcharts-gantt.src.js +11 -0
- package/es-modules/masters/modules/annotations.src.js +1 -1
- package/es-modules/masters/modules/arrow-symbols.src.js +12 -0
- package/es-modules/masters/modules/broken-axis.src.js +1 -1
- package/es-modules/masters/modules/current-date-indicator.src.js +12 -0
- package/es-modules/masters/modules/data.src.js +1 -1
- package/es-modules/masters/modules/draggable-points.src.js +9 -0
- package/es-modules/masters/modules/export-data.src.js +1 -1
- package/es-modules/masters/modules/exporting.src.js +1 -1
- package/es-modules/masters/modules/funnel.src.js +1 -1
- package/es-modules/masters/modules/gantt.src.js +2 -1
- package/es-modules/masters/modules/grid-axis.src.js +1 -1
- package/es-modules/masters/modules/heatmap.src.js +1 -1
- package/es-modules/masters/modules/item-series.src.js +1 -1
- package/es-modules/masters/modules/map.src.js +1 -1
- package/es-modules/masters/modules/overlapping-datalabels.src.js +1 -1
- package/es-modules/masters/modules/pathfinder.src.js +12 -0
- package/es-modules/masters/modules/sankey.src.js +1 -1
- package/es-modules/masters/modules/series-label.src.js +1 -1
- package/es-modules/masters/modules/solid-gauge.src.js +1 -1
- package/es-modules/masters/modules/stock.src.js +1 -1
- package/es-modules/masters/modules/streamgraph.src.js +1 -1
- package/es-modules/masters/modules/treegrid.src.js +12 -0
- package/es-modules/masters/modules/variwide.src.js +1 -1
- package/es-modules/masters/modules/vector.src.js +1 -1
- package/es-modules/masters/modules/windbarb.src.js +1 -1
- package/es-modules/masters/modules/xrange.src.js +1 -1
- package/es-modules/masters/themes/dark-blue.src.js +1 -1
- package/es-modules/masters/themes/dark-green.src.js +1 -1
- package/es-modules/masters/themes/dark-unica.src.js +1 -1
- package/es-modules/masters/themes/gray.src.js +1 -1
- package/es-modules/masters/themes/grid-light.src.js +1 -1
- package/es-modules/masters/themes/grid.src.js +1 -1
- package/es-modules/masters/themes/sand-signika.src.js +1 -1
- package/es-modules/masters/themes/skies.src.js +1 -1
- package/es-modules/mixins/centered-series.js +36 -5
- package/es-modules/mixins/on-series.js +1 -1
- package/es-modules/mixins/polygon.js +4 -4
- package/es-modules/modules/annotations.src.js +2 -2
- package/es-modules/modules/boost-canvas.src.js +19 -8
- package/es-modules/modules/boost.src.js +300 -137
- package/es-modules/modules/broken-axis.src.js +169 -134
- package/es-modules/modules/bullet.src.js +2 -2
- package/es-modules/modules/data.src.js +8 -6
- package/es-modules/modules/draggable-points.src.js +2257 -0
- package/es-modules/modules/drilldown.src.js +4 -2
- package/es-modules/modules/export-data.src.js +11 -1
- package/es-modules/modules/exporting.src.js +62 -36
- package/es-modules/modules/funnel.src.js +5 -5
- package/es-modules/modules/histogram.src.js +30 -28
- package/es-modules/modules/item-series.src.js +36 -11
- package/es-modules/modules/keyboard-navigation.src.js +81 -44
- package/es-modules/modules/no-data-to-display.src.js +5 -5
- package/es-modules/modules/oldie.src.js +14 -9
- package/es-modules/modules/overlapping-datalabels.src.js +45 -21
- package/es-modules/modules/parallel-coordinates.src.js +4 -3
- package/es-modules/modules/pareto.src.js +1 -1
- package/es-modules/modules/sankey.src.js +28 -10
- package/es-modules/modules/series-label.src.js +6 -6
- package/es-modules/modules/solid-gauge.src.js +10 -7
- package/es-modules/modules/static-scale.src.js +67 -28
- package/es-modules/modules/streamgraph.src.js +4 -4
- package/es-modules/modules/sunburst.src.js +4 -4
- package/es-modules/modules/tilemap.src.js +231 -134
- package/es-modules/modules/treemap.src.js +30 -27
- package/es-modules/modules/variable-pie.src.js +3 -3
- package/es-modules/modules/variwide.src.js +36 -24
- package/es-modules/modules/vector.src.js +98 -28
- package/es-modules/modules/windbarb.src.js +4 -4
- package/es-modules/modules/wordcloud.src.js +133 -48
- package/es-modules/modules/xrange.src.js +258 -78
- package/es-modules/parts/AreaSeries.js +83 -50
- package/es-modules/parts/AreaSplineSeries.js +66 -29
- package/es-modules/parts/Axis.js +2184 -745
- package/es-modules/parts/BarSeries.js +70 -53
- package/es-modules/parts/CandlestickSeries.js +20 -10
- package/es-modules/parts/Chart.js +349 -157
- package/es-modules/parts/Color.js +74 -25
- package/es-modules/parts/ColumnSeries.js +274 -147
- package/es-modules/parts/DataGrouping.js +36 -3
- package/es-modules/parts/DataLabels.js +318 -144
- package/es-modules/parts/DateTimeAxis.js +27 -5
- package/es-modules/parts/Dynamics.js +236 -144
- package/es-modules/parts/FlagsSeries.js +49 -7
- package/es-modules/parts/Globals.js +4 -3
- package/es-modules/parts/Html.js +82 -16
- package/es-modules/parts/Interaction.js +198 -65
- package/es-modules/parts/Legend.js +181 -31
- package/es-modules/parts/LogarithmicAxis.js +36 -3
- package/es-modules/parts/MSPointer.js +31 -4
- package/es-modules/parts/Navigator.js +479 -187
- package/es-modules/parts/OHLCSeries.js +11 -5
- package/es-modules/parts/Options.js +1052 -686
- package/es-modules/parts/OrdinalAxis.js +20 -6
- package/es-modules/parts/PieSeries.js +258 -142
- package/es-modules/parts/PlotBandSeries.experimental.js +2 -2
- package/es-modules/parts/PlotLineOrBand.js +671 -35
- package/es-modules/parts/Point.js +189 -73
- package/es-modules/parts/Pointer.js +263 -62
- package/es-modules/parts/RangeSelector.js +601 -91
- package/es-modules/parts/Responsive.js +82 -36
- package/es-modules/parts/ScatterSeries.js +59 -27
- package/es-modules/parts/ScrollablePlotArea.js +30 -9
- package/es-modules/parts/Scrollbar.js +284 -113
- package/es-modules/parts/Series.js +1105 -836
- package/es-modules/parts/SplineSeries.js +53 -31
- package/es-modules/parts/Stacking.js +108 -7
- package/es-modules/parts/StockChart.js +26 -8
- package/es-modules/parts/SvgRenderer.js +1251 -613
- package/es-modules/parts/Tick.js +164 -30
- package/es-modules/parts/Time.js +171 -71
- package/es-modules/parts/Tooltip.js +271 -49
- package/es-modules/parts/TouchPointer.js +70 -3
- package/es-modules/parts/Utilities.js +1024 -429
- package/es-modules/parts-3d/Axis.js +4 -3
- package/es-modules/parts-3d/Chart.js +8 -9
- package/es-modules/parts-3d/Column.js +1 -1
- package/es-modules/parts-3d/Math.js +1 -1
- package/es-modules/parts-3d/Pie.js +1 -1
- package/es-modules/parts-3d/SVGRenderer.js +13 -10
- package/es-modules/parts-3d/Scatter.js +4 -4
- package/es-modules/parts-3d/Series.js +1 -1
- package/es-modules/parts-3d/VMLRenderer.js +1 -1
- package/es-modules/parts-gantt/ArrowSymbols.js +110 -0
- package/es-modules/parts-gantt/CurrentDateIndicator.js +92 -0
- package/es-modules/parts-gantt/GanttChart.js +111 -0
- package/es-modules/parts-gantt/GanttSeries.js +376 -0
- package/es-modules/parts-gantt/GridAxis.js +965 -0
- package/es-modules/parts-gantt/Pathfinder.js +1247 -0
- package/es-modules/parts-gantt/PathfinderAlgorithms.js +746 -0
- package/es-modules/parts-gantt/Tree.js +146 -0
- package/es-modules/parts-gantt/TreeGrid.js +917 -0
- package/es-modules/parts-map/ColorAxis.js +4 -5
- package/es-modules/parts-map/ColorSeriesMixin.js +3 -1
- package/es-modules/parts-map/GeoJSON.js +1 -1
- package/es-modules/parts-map/HeatmapSeries.js +126 -55
- package/es-modules/parts-map/Map.js +144 -51
- package/es-modules/parts-map/MapAxis.js +1 -1
- package/es-modules/parts-map/MapBubbleSeries.js +6 -5
- package/es-modules/parts-map/MapLineSeries.js +4 -4
- package/es-modules/parts-map/MapNavigation.js +50 -12
- package/es-modules/parts-map/MapPointSeries.js +3 -3
- package/es-modules/parts-map/MapPointer.js +1 -1
- package/es-modules/parts-map/MapSeries.js +7 -7
- package/es-modules/parts-more/AreaRangeSeries.js +82 -40
- package/es-modules/parts-more/AreaSplineRangeSeries.js +3 -3
- package/es-modules/parts-more/BoxPlotSeries.js +3 -3
- package/es-modules/parts-more/BubbleSeries.js +9 -4
- package/es-modules/parts-more/ColumnRangeSeries.js +3 -3
- package/es-modules/parts-more/ErrorBarSeries.js +6 -4
- package/es-modules/parts-more/GaugeSeries.js +3 -3
- package/es-modules/parts-more/Pane.js +3 -2
- package/es-modules/parts-more/Polar.js +1 -1
- package/es-modules/parts-more/PolygonSeries.js +3 -3
- package/es-modules/parts-more/RadialAxis.js +5 -4
- package/es-modules/parts-more/WaterfallSeries.js +9 -4
- package/es-modules/supplemental.docs.js +0 -1955
- package/es-modules/themes/dark-blue.js +1 -1
- package/es-modules/themes/dark-green.js +1 -1
- package/es-modules/themes/dark-unica.js +1 -1
- package/es-modules/themes/gray.js +1 -1
- package/es-modules/themes/grid-light.js +1 -1
- package/es-modules/themes/grid.js +1 -1
- package/es-modules/themes/sand-signika.js +1 -1
- package/es-modules/themes/skies.js +1 -1
- package/highcharts-3d.js +77 -75
- package/highcharts-3d.js.map +1 -8
- package/highcharts-3d.src.js +39 -32
- package/highcharts-gantt.js +503 -0
- package/highcharts-gantt.js.map +1 -0
- package/highcharts-gantt.src.js +49289 -0
- package/highcharts-more.js +66 -64
- package/highcharts-more.js.map +1 -8
- package/highcharts-more.src.js +135 -75
- package/highcharts.js +413 -403
- package/highcharts.js.map +1 -8
- package/highcharts.src.js +11114 -4781
- package/highmaps.js +442 -433
- package/highmaps.js.map +1 -8
- package/highmaps.src.js +10740 -4598
- package/highstock.js +553 -540
- package/highstock.js.map +1 -8
- package/highstock.src.js +12807 -5343
- package/indicators/accumulation-distribution.js +4 -3
- package/indicators/accumulation-distribution.js.map +1 -8
- package/indicators/accumulation-distribution.src.js +6 -2
- package/indicators/atr.js +4 -3
- package/indicators/atr.js.map +1 -8
- package/indicators/atr.src.js +6 -2
- package/indicators/bollinger-bands.js +7 -6
- package/indicators/bollinger-bands.js.map +1 -8
- package/indicators/bollinger-bands.src.js +7 -3
- package/indicators/cci.js +4 -3
- package/indicators/cci.js.map +1 -8
- package/indicators/cci.src.js +6 -2
- package/indicators/cmf.js +5 -4
- package/indicators/cmf.js.map +1 -8
- package/indicators/cmf.src.js +6 -2
- package/indicators/ema.js +4 -3
- package/indicators/ema.js.map +1 -8
- package/indicators/ema.src.js +6 -2
- package/indicators/ichimoku-kinko-hyo.js +10 -9
- package/indicators/ichimoku-kinko-hyo.js.map +1 -8
- package/indicators/ichimoku-kinko-hyo.src.js +6 -2
- package/indicators/indicators.js +6 -5
- package/indicators/indicators.js.map +1 -8
- package/indicators/indicators.src.js +34 -15
- package/indicators/macd.js +11 -10
- package/indicators/macd.js.map +1 -8
- package/indicators/macd.src.js +10 -6
- package/indicators/mfi.js +5 -3
- package/indicators/mfi.js.map +1 -8
- package/indicators/mfi.src.js +6 -2
- package/indicators/momentum.js +4 -3
- package/indicators/momentum.js.map +1 -8
- package/indicators/momentum.src.js +7 -3
- package/indicators/pivot-points.js +8 -7
- package/indicators/pivot-points.js.map +1 -8
- package/indicators/pivot-points.src.js +12 -3
- package/indicators/price-envelopes.js +7 -6
- package/indicators/price-envelopes.js.map +1 -8
- package/indicators/price-envelopes.src.js +7 -3
- package/indicators/psar.js +5 -4
- package/indicators/psar.js.map +1 -8
- package/indicators/psar.src.js +6 -2
- package/indicators/roc.js +4 -3
- package/indicators/roc.js.map +1 -8
- package/indicators/roc.src.js +6 -2
- package/indicators/rsi.js +4 -3
- package/indicators/rsi.js.map +1 -8
- package/indicators/rsi.src.js +6 -2
- package/indicators/stochastic.js +7 -5
- package/indicators/stochastic.js.map +1 -8
- package/indicators/stochastic.src.js +14 -8
- package/indicators/volume-by-price.js +13 -12
- package/indicators/volume-by-price.js.map +1 -8
- package/indicators/volume-by-price.src.js +6 -2
- package/indicators/vwap.js +4 -3
- package/indicators/vwap.js.map +1 -8
- package/indicators/vwap.src.js +6 -2
- package/indicators/wma.js +4 -3
- package/indicators/wma.js.map +1 -8
- package/indicators/wma.src.js +6 -2
- package/indicators/zigzag.js +5 -3
- package/indicators/zigzag.js.map +1 -8
- package/indicators/zigzag.src.js +6 -2
- package/js/es-modules/indicators/accumulation-distribution.src.js +1 -1
- package/js/es-modules/indicators/atr.src.js +1 -1
- package/js/es-modules/indicators/bollinger-bands.src.js +2 -2
- package/js/es-modules/indicators/cci.src.js +1 -1
- package/js/es-modules/indicators/cmf.src.js +1 -1
- package/js/es-modules/indicators/ema.src.js +1 -1
- package/js/es-modules/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/js/es-modules/indicators/indicators.src.js +29 -14
- package/js/es-modules/indicators/macd.src.js +4 -4
- package/js/es-modules/indicators/mfi.src.js +1 -1
- package/js/es-modules/indicators/momentum.src.js +2 -2
- package/js/es-modules/indicators/pivot-points.src.js +7 -2
- package/js/es-modules/indicators/price-envelopes.src.js +2 -2
- package/js/es-modules/indicators/psar.src.js +1 -1
- package/js/es-modules/indicators/roc.src.js +1 -1
- package/js/es-modules/indicators/rsi.src.js +1 -1
- package/js/es-modules/indicators/stochastic.src.js +9 -7
- package/js/es-modules/indicators/volume-by-price.src.js +1 -1
- package/js/es-modules/indicators/vwap.src.js +1 -1
- package/js/es-modules/indicators/wma.src.js +1 -1
- package/js/es-modules/indicators/zigzag.src.js +1 -1
- package/js/es-modules/masters/highcharts-gantt.src.js +11 -0
- package/js/es-modules/masters/modules/annotations.src.js +1 -1
- package/js/es-modules/masters/modules/arrow-symbols.src.js +12 -0
- package/js/es-modules/masters/modules/broken-axis.src.js +1 -1
- package/js/es-modules/masters/modules/current-date-indicator.src.js +12 -0
- package/js/es-modules/masters/modules/data.src.js +1 -1
- package/js/es-modules/masters/modules/draggable-points.src.js +9 -0
- package/js/es-modules/masters/modules/export-data.src.js +1 -1
- package/js/es-modules/masters/modules/exporting.src.js +1 -1
- package/js/es-modules/masters/modules/funnel.src.js +1 -1
- package/js/es-modules/masters/modules/gantt.src.js +2 -1
- package/js/es-modules/masters/modules/grid-axis.src.js +1 -1
- package/js/es-modules/masters/modules/heatmap.src.js +1 -1
- package/js/es-modules/masters/modules/item-series.src.js +1 -1
- package/js/es-modules/masters/modules/map.src.js +1 -1
- package/js/es-modules/masters/modules/overlapping-datalabels.src.js +1 -1
- package/js/es-modules/masters/modules/pathfinder.src.js +12 -0
- package/js/es-modules/masters/modules/sankey.src.js +1 -1
- package/js/es-modules/masters/modules/series-label.src.js +1 -1
- package/js/es-modules/masters/modules/solid-gauge.src.js +1 -1
- package/js/es-modules/masters/modules/stock.src.js +1 -1
- package/js/es-modules/masters/modules/streamgraph.src.js +1 -1
- package/js/es-modules/masters/modules/treegrid.src.js +12 -0
- package/js/es-modules/masters/modules/variwide.src.js +1 -1
- package/js/es-modules/masters/modules/vector.src.js +1 -1
- package/js/es-modules/masters/modules/windbarb.src.js +1 -1
- package/js/es-modules/masters/modules/xrange.src.js +1 -1
- package/js/es-modules/masters/themes/dark-blue.src.js +1 -1
- package/js/es-modules/masters/themes/dark-green.src.js +1 -1
- package/js/es-modules/masters/themes/dark-unica.src.js +1 -1
- package/js/es-modules/masters/themes/gray.src.js +1 -1
- package/js/es-modules/masters/themes/grid-light.src.js +1 -1
- package/js/es-modules/masters/themes/grid.src.js +1 -1
- package/js/es-modules/masters/themes/sand-signika.src.js +1 -1
- package/js/es-modules/masters/themes/skies.src.js +1 -1
- package/js/es-modules/mixins/centered-series.js +36 -5
- package/js/es-modules/mixins/on-series.js +1 -1
- package/js/es-modules/mixins/polygon.js +4 -4
- package/js/es-modules/modules/annotations.src.js +2 -2
- package/js/es-modules/modules/boost-canvas.src.js +19 -8
- package/js/es-modules/modules/boost.src.js +300 -137
- package/js/es-modules/modules/broken-axis.src.js +169 -134
- package/js/es-modules/modules/bullet.src.js +2 -2
- package/js/es-modules/modules/data.src.js +8 -6
- package/js/es-modules/modules/draggable-points.src.js +2257 -0
- package/js/es-modules/modules/drilldown.src.js +4 -2
- package/js/es-modules/modules/export-data.src.js +11 -1
- package/js/es-modules/modules/exporting.src.js +62 -36
- package/js/es-modules/modules/funnel.src.js +5 -5
- package/js/es-modules/modules/histogram.src.js +30 -28
- package/js/es-modules/modules/item-series.src.js +36 -11
- package/js/es-modules/modules/keyboard-navigation.src.js +81 -44
- package/js/es-modules/modules/no-data-to-display.src.js +5 -5
- package/js/es-modules/modules/oldie.src.js +14 -9
- package/js/es-modules/modules/overlapping-datalabels.src.js +45 -21
- package/js/es-modules/modules/parallel-coordinates.src.js +4 -3
- package/js/es-modules/modules/pareto.src.js +1 -1
- package/js/es-modules/modules/sankey.src.js +23 -7
- package/js/es-modules/modules/series-label.src.js +6 -6
- package/js/es-modules/modules/solid-gauge.src.js +8 -5
- package/js/es-modules/modules/static-scale.src.js +67 -28
- package/js/es-modules/modules/streamgraph.src.js +4 -4
- package/js/es-modules/modules/sunburst.src.js +4 -4
- package/js/es-modules/modules/tilemap.src.js +231 -134
- package/js/es-modules/modules/treemap.src.js +29 -26
- package/js/es-modules/modules/variable-pie.src.js +3 -3
- package/js/es-modules/modules/variwide.src.js +36 -24
- package/js/es-modules/modules/vector.src.js +98 -28
- package/js/es-modules/modules/windbarb.src.js +4 -4
- package/js/es-modules/modules/wordcloud.src.js +133 -48
- package/js/es-modules/modules/xrange.src.js +256 -69
- package/js/es-modules/parts/AreaSeries.js +83 -50
- package/js/es-modules/parts/AreaSplineSeries.js +66 -29
- package/js/es-modules/parts/Axis.js +2089 -694
- package/js/es-modules/parts/BarSeries.js +70 -53
- package/js/es-modules/parts/CandlestickSeries.js +20 -10
- package/js/es-modules/parts/Chart.js +349 -157
- package/js/es-modules/parts/Color.js +74 -25
- package/js/es-modules/parts/ColumnSeries.js +241 -128
- package/js/es-modules/parts/DataGrouping.js +36 -3
- package/js/es-modules/parts/DataLabels.js +287 -116
- package/js/es-modules/parts/DateTimeAxis.js +27 -5
- package/js/es-modules/parts/Dynamics.js +236 -144
- package/js/es-modules/parts/FlagsSeries.js +49 -7
- package/js/es-modules/parts/Globals.js +4 -3
- package/js/es-modules/parts/Html.js +82 -16
- package/js/es-modules/parts/Interaction.js +187 -67
- package/js/es-modules/parts/Legend.js +181 -31
- package/js/es-modules/parts/LogarithmicAxis.js +36 -3
- package/js/es-modules/parts/MSPointer.js +31 -4
- package/js/es-modules/parts/Navigator.js +432 -162
- package/js/es-modules/parts/OHLCSeries.js +5 -5
- package/js/es-modules/parts/Options.js +855 -592
- package/js/es-modules/parts/OrdinalAxis.js +20 -6
- package/js/es-modules/parts/PieSeries.js +247 -134
- package/js/es-modules/parts/PlotBandSeries.experimental.js +2 -2
- package/js/es-modules/parts/PlotLineOrBand.js +671 -35
- package/js/es-modules/parts/Point.js +182 -70
- package/js/es-modules/parts/Pointer.js +263 -62
- package/js/es-modules/parts/RangeSelector.js +579 -91
- package/js/es-modules/parts/Responsive.js +82 -36
- package/js/es-modules/parts/ScatterSeries.js +58 -27
- package/js/es-modules/parts/ScrollablePlotArea.js +30 -9
- package/js/es-modules/parts/Scrollbar.js +201 -71
- package/js/es-modules/parts/Series.js +995 -745
- package/js/es-modules/parts/SplineSeries.js +53 -31
- package/js/es-modules/parts/Stacking.js +108 -7
- package/js/es-modules/parts/StockChart.js +26 -8
- package/js/es-modules/parts/SvgRenderer.js +1208 -598
- package/js/es-modules/parts/Tick.js +164 -30
- package/js/es-modules/parts/Time.js +171 -71
- package/js/es-modules/parts/Tooltip.js +276 -49
- package/js/es-modules/parts/TouchPointer.js +70 -3
- package/js/es-modules/parts/Utilities.js +1024 -429
- package/js/es-modules/parts-3d/Axis.js +4 -3
- package/js/es-modules/parts-3d/Chart.js +8 -9
- package/js/es-modules/parts-3d/Column.js +1 -1
- package/js/es-modules/parts-3d/Math.js +1 -1
- package/js/es-modules/parts-3d/Pie.js +1 -1
- package/js/es-modules/parts-3d/SVGRenderer.js +13 -10
- package/js/es-modules/parts-3d/Scatter.js +4 -4
- package/js/es-modules/parts-3d/Series.js +1 -1
- package/js/es-modules/parts-3d/VMLRenderer.js +1 -1
- package/js/es-modules/parts-gantt/ArrowSymbols.js +110 -0
- package/js/es-modules/parts-gantt/CurrentDateIndicator.js +92 -0
- package/js/es-modules/parts-gantt/GanttChart.js +111 -0
- package/js/es-modules/parts-gantt/GanttSeries.js +371 -0
- package/js/es-modules/parts-gantt/GridAxis.js +962 -0
- package/js/es-modules/parts-gantt/Pathfinder.js +1225 -0
- package/js/es-modules/parts-gantt/PathfinderAlgorithms.js +746 -0
- package/js/es-modules/parts-gantt/Tree.js +146 -0
- package/js/es-modules/parts-gantt/TreeGrid.js +891 -0
- package/js/es-modules/parts-map/ColorAxis.js +4 -5
- package/js/es-modules/parts-map/ColorSeriesMixin.js +3 -1
- package/js/es-modules/parts-map/GeoJSON.js +1 -1
- package/js/es-modules/parts-map/HeatmapSeries.js +124 -54
- package/js/es-modules/parts-map/Map.js +136 -47
- package/js/es-modules/parts-map/MapAxis.js +1 -1
- package/js/es-modules/parts-map/MapBubbleSeries.js +6 -5
- package/js/es-modules/parts-map/MapLineSeries.js +4 -4
- package/js/es-modules/parts-map/MapNavigation.js +50 -12
- package/js/es-modules/parts-map/MapPointSeries.js +3 -3
- package/js/es-modules/parts-map/MapPointer.js +1 -1
- package/js/es-modules/parts-map/MapSeries.js +5 -5
- package/js/es-modules/parts-more/AreaRangeSeries.js +82 -40
- package/js/es-modules/parts-more/AreaSplineRangeSeries.js +3 -3
- package/js/es-modules/parts-more/BoxPlotSeries.js +3 -3
- package/js/es-modules/parts-more/BubbleSeries.js +9 -4
- package/js/es-modules/parts-more/ColumnRangeSeries.js +3 -3
- package/js/es-modules/parts-more/ErrorBarSeries.js +6 -4
- package/js/es-modules/parts-more/GaugeSeries.js +3 -3
- package/js/es-modules/parts-more/Pane.js +3 -2
- package/js/es-modules/parts-more/Polar.js +1 -1
- package/js/es-modules/parts-more/PolygonSeries.js +3 -3
- package/js/es-modules/parts-more/RadialAxis.js +5 -4
- package/js/es-modules/parts-more/WaterfallSeries.js +9 -4
- package/js/es-modules/supplemental.docs.js +0 -1955
- package/js/es-modules/themes/dark-blue.js +1 -1
- package/js/es-modules/themes/dark-green.js +1 -1
- package/js/es-modules/themes/dark-unica.js +1 -1
- package/js/es-modules/themes/gray.js +1 -1
- package/js/es-modules/themes/grid-light.js +1 -1
- package/js/es-modules/themes/grid.js +1 -1
- package/js/es-modules/themes/sand-signika.js +1 -1
- package/js/es-modules/themes/skies.js +1 -1
- package/js/highcharts-3d.js +75 -74
- package/js/highcharts-3d.js.map +1 -8
- package/js/highcharts-3d.src.js +39 -32
- package/js/highcharts-gantt.js +480 -0
- package/js/highcharts-gantt.js.map +1 -0
- package/js/highcharts-gantt.src.js +47011 -0
- package/js/highcharts-more.js +63 -61
- package/js/highcharts-more.js.map +1 -8
- package/js/highcharts-more.src.js +135 -75
- package/js/highcharts.js +396 -387
- package/js/highcharts.js.map +1 -8
- package/js/highcharts.src.js +10765 -4659
- package/js/highmaps.js +419 -411
- package/js/highmaps.js.map +1 -8
- package/js/highmaps.src.js +10198 -4285
- package/js/highstock.js +529 -516
- package/js/highstock.js.map +1 -8
- package/js/highstock.src.js +12108 -4962
- package/js/indicators/accumulation-distribution.js +4 -3
- package/js/indicators/accumulation-distribution.js.map +1 -8
- package/js/indicators/accumulation-distribution.src.js +6 -2
- package/js/indicators/atr.js +4 -3
- package/js/indicators/atr.js.map +1 -8
- package/js/indicators/atr.src.js +6 -2
- package/js/indicators/bollinger-bands.js +7 -6
- package/js/indicators/bollinger-bands.js.map +1 -8
- package/js/indicators/bollinger-bands.src.js +7 -3
- package/js/indicators/cci.js +4 -3
- package/js/indicators/cci.js.map +1 -8
- package/js/indicators/cci.src.js +6 -2
- package/js/indicators/cmf.js +5 -4
- package/js/indicators/cmf.js.map +1 -8
- package/js/indicators/cmf.src.js +6 -2
- package/js/indicators/ema.js +4 -3
- package/js/indicators/ema.js.map +1 -8
- package/js/indicators/ema.src.js +6 -2
- package/js/indicators/ichimoku-kinko-hyo.js +10 -9
- package/js/indicators/ichimoku-kinko-hyo.js.map +1 -8
- package/js/indicators/ichimoku-kinko-hyo.src.js +6 -2
- package/js/indicators/indicators.js +6 -5
- package/js/indicators/indicators.js.map +1 -8
- package/js/indicators/indicators.src.js +34 -15
- package/js/indicators/macd.js +11 -10
- package/js/indicators/macd.js.map +1 -8
- package/js/indicators/macd.src.js +10 -6
- package/js/indicators/mfi.js +5 -3
- package/js/indicators/mfi.js.map +1 -8
- package/js/indicators/mfi.src.js +6 -2
- package/js/indicators/momentum.js +4 -3
- package/js/indicators/momentum.js.map +1 -8
- package/js/indicators/momentum.src.js +7 -3
- package/js/indicators/pivot-points.js +8 -7
- package/js/indicators/pivot-points.js.map +1 -8
- package/js/indicators/pivot-points.src.js +12 -3
- package/js/indicators/price-envelopes.js +7 -6
- package/js/indicators/price-envelopes.js.map +1 -8
- package/js/indicators/price-envelopes.src.js +7 -3
- package/js/indicators/psar.js +5 -4
- package/js/indicators/psar.js.map +1 -8
- package/js/indicators/psar.src.js +6 -2
- package/js/indicators/roc.js +4 -3
- package/js/indicators/roc.js.map +1 -8
- package/js/indicators/roc.src.js +6 -2
- package/js/indicators/rsi.js +4 -3
- package/js/indicators/rsi.js.map +1 -8
- package/js/indicators/rsi.src.js +6 -2
- package/js/indicators/stochastic.js +7 -5
- package/js/indicators/stochastic.js.map +1 -8
- package/js/indicators/stochastic.src.js +14 -8
- package/js/indicators/volume-by-price.js +13 -12
- package/js/indicators/volume-by-price.js.map +1 -8
- package/js/indicators/volume-by-price.src.js +6 -2
- package/js/indicators/vwap.js +4 -3
- package/js/indicators/vwap.js.map +1 -8
- package/js/indicators/vwap.src.js +6 -2
- package/js/indicators/wma.js +4 -3
- package/js/indicators/wma.js.map +1 -8
- package/js/indicators/wma.src.js +6 -2
- package/js/indicators/zigzag.js +5 -3
- package/js/indicators/zigzag.js.map +1 -8
- package/js/indicators/zigzag.src.js +6 -2
- package/js/modules/accessibility.js +52 -51
- package/js/modules/accessibility.js.map +1 -8
- package/js/modules/accessibility.src.js +86 -45
- package/js/modules/annotations.js +22 -21
- package/js/modules/annotations.js.map +1 -8
- package/js/modules/annotations.src.js +8 -4
- package/js/modules/arrow-symbols.js +13 -0
- package/js/modules/arrow-symbols.js.map +1 -0
- package/js/modules/arrow-symbols.src.js +138 -0
- package/js/modules/boost-canvas.js +15 -13
- package/js/modules/boost-canvas.js.map +1 -8
- package/js/modules/boost-canvas.src.js +24 -9
- package/js/modules/boost.js +57 -52
- package/js/modules/boost.js.map +1 -8
- package/js/modules/boost.src.js +305 -138
- package/js/modules/broken-axis.js +12 -10
- package/js/modules/broken-axis.js.map +1 -8
- package/js/modules/broken-axis.src.js +175 -136
- package/js/modules/bullet.js +3 -2
- package/js/modules/bullet.js.map +1 -8
- package/js/modules/bullet.src.js +7 -3
- package/js/modules/current-date-indicator.js +13 -0
- package/js/modules/current-date-indicator.js.map +1 -0
- package/js/modules/current-date-indicator.src.js +120 -0
- package/js/modules/data.js +25 -24
- package/js/modules/data.js.map +1 -8
- package/js/modules/data.src.js +14 -8
- package/js/modules/drag-panes.js +9 -8
- package/js/modules/drag-panes.js.map +1 -8
- package/js/modules/drag-panes.src.js +5 -1
- package/js/modules/draggable-points.js +38 -0
- package/js/modules/draggable-points.js.map +1 -0
- package/js/modules/draggable-points.src.js +2281 -0
- package/js/modules/drilldown.js +20 -19
- package/js/modules/drilldown.js.map +1 -8
- package/js/modules/drilldown.src.js +9 -3
- package/js/modules/export-data.js +20 -19
- package/js/modules/export-data.js.map +1 -8
- package/js/modules/export-data.src.js +17 -3
- package/js/modules/exporting.js +24 -23
- package/js/modules/exporting.js.map +1 -8
- package/js/modules/exporting.src.js +68 -38
- package/js/modules/funnel.js +8 -6
- package/js/modules/funnel.js.map +1 -8
- package/js/modules/funnel.src.js +11 -7
- package/js/modules/gantt.js +81 -18
- package/js/modules/gantt.js.map +1 -8
- package/js/modules/gantt.src.js +5494 -372
- package/js/modules/grid-axis.js +16 -10
- package/js/modules/grid-axis.js.map +1 -8
- package/js/modules/grid-axis.src.js +735 -293
- package/js/modules/heatmap.js +22 -21
- package/js/modules/heatmap.js.map +1 -8
- package/js/modules/heatmap.src.js +137 -62
- package/js/modules/histogram-bellcurve.js +9 -8
- package/js/modules/histogram-bellcurve.js.map +1 -8
- package/js/modules/histogram-bellcurve.src.js +35 -29
- package/js/modules/item-series.js +6 -4
- package/js/modules/item-series.js.map +1 -8
- package/js/modules/item-series.src.js +42 -13
- package/js/modules/map.js +63 -62
- package/js/modules/map.js.map +1 -8
- package/js/modules/map.src.js +353 -145
- package/js/modules/no-data-to-display.js +5 -4
- package/js/modules/no-data-to-display.js.map +1 -8
- package/js/modules/no-data-to-display.src.js +10 -6
- package/js/modules/offline-exporting.js +14 -13
- package/js/modules/offline-exporting.js.map +1 -8
- package/js/modules/offline-exporting.src.js +6 -2
- package/js/modules/oldie.js +29 -27
- package/js/modules/oldie.js.map +1 -8
- package/js/modules/oldie.src.js +20 -11
- package/js/modules/overlapping-datalabels.js +4 -3
- package/js/modules/overlapping-datalabels.js.map +1 -8
- package/js/modules/overlapping-datalabels.src.js +6 -2
- package/js/modules/parallel-coordinates.js +10 -9
- package/js/modules/parallel-coordinates.js.map +1 -8
- package/js/modules/parallel-coordinates.src.js +9 -4
- package/js/modules/pareto.js +5 -4
- package/js/modules/pareto.js.map +1 -8
- package/js/modules/pareto.src.js +6 -2
- package/js/modules/pathfinder.js +34 -0
- package/js/modules/pathfinder.js.map +1 -0
- package/js/modules/pathfinder.src.js +2106 -0
- package/js/modules/pattern-fill.js +13 -12
- package/js/modules/pattern-fill.js.map +1 -8
- package/js/modules/pattern-fill.src.js +5 -1
- package/js/modules/sankey.js +13 -12
- package/js/modules/sankey.js.map +1 -8
- package/js/modules/sankey.src.js +29 -9
- package/js/modules/series-label.js +17 -15
- package/js/modules/series-label.js.map +1 -8
- package/js/modules/series-label.src.js +12 -8
- package/js/modules/solid-gauge.js +9 -8
- package/js/modules/solid-gauge.js.map +1 -8
- package/js/modules/solid-gauge.src.js +14 -7
- package/js/modules/static-scale.js +4 -3
- package/js/modules/static-scale.js.map +1 -8
- package/js/modules/static-scale.src.js +69 -26
- package/js/modules/stock.js +136 -132
- package/js/modules/stock.js.map +1 -8
- package/js/modules/stock.src.js +1543 -499
- package/js/modules/streamgraph.js +4 -3
- package/js/modules/streamgraph.js.map +1 -8
- package/js/modules/streamgraph.src.js +10 -6
- package/js/modules/sunburst.js +40 -39
- package/js/modules/sunburst.js.map +1 -8
- package/js/modules/sunburst.src.js +38 -31
- package/js/modules/tilemap.js +19 -18
- package/js/modules/tilemap.js.map +1 -8
- package/js/modules/tilemap.src.js +363 -190
- package/js/modules/treegrid.js +51 -0
- package/js/modules/treegrid.js.map +1 -0
- package/js/modules/treegrid.src.js +2759 -0
- package/js/modules/treemap.js +27 -26
- package/js/modules/treemap.js.map +1 -8
- package/js/modules/treemap.src.js +34 -27
- package/js/modules/variable-pie.js +8 -7
- package/js/modules/variable-pie.js.map +1 -8
- package/js/modules/variable-pie.src.js +8 -4
- package/js/modules/variwide.js +8 -7
- package/js/modules/variwide.js.map +1 -8
- package/js/modules/variwide.src.js +42 -26
- package/js/modules/vector.js +7 -6
- package/js/modules/vector.js.map +1 -8
- package/js/modules/vector.src.js +104 -30
- package/js/modules/windbarb.js +11 -10
- package/js/modules/windbarb.js.map +1 -8
- package/js/modules/windbarb.src.js +11 -7
- package/js/modules/wordcloud.js +18 -15
- package/js/modules/wordcloud.js.map +1 -8
- package/js/modules/wordcloud.src.js +142 -53
- package/js/modules/xrange.js +12 -10
- package/js/modules/xrange.js.map +1 -8
- package/js/modules/xrange.src.js +262 -71
- package/js/themes/avocado.js +3 -2
- package/js/themes/avocado.js.map +1 -8
- package/js/themes/avocado.src.js +5 -1
- package/js/themes/dark-blue.js +9 -8
- package/js/themes/dark-blue.js.map +1 -8
- package/js/themes/dark-blue.src.js +7 -3
- package/js/themes/dark-green.js +9 -8
- package/js/themes/dark-green.js.map +1 -8
- package/js/themes/dark-green.src.js +7 -3
- package/js/themes/dark-unica.js +9 -7
- package/js/themes/dark-unica.js.map +1 -8
- package/js/themes/dark-unica.src.js +7 -3
- package/js/themes/gray.js +10 -8
- package/js/themes/gray.js.map +1 -8
- package/js/themes/gray.src.js +7 -3
- package/js/themes/grid-light.js +5 -4
- package/js/themes/grid-light.js.map +1 -8
- package/js/themes/grid-light.src.js +7 -3
- package/js/themes/grid.js +6 -5
- package/js/themes/grid.js.map +1 -8
- package/js/themes/grid.src.js +7 -3
- package/js/themes/sand-signika.js +6 -5
- package/js/themes/sand-signika.js.map +1 -8
- package/js/themes/sand-signika.src.js +7 -3
- package/js/themes/skies.js +6 -5
- package/js/themes/skies.js.map +1 -8
- package/js/themes/skies.src.js +7 -3
- package/js/themes/sunset.js +3 -2
- package/js/themes/sunset.js.map +1 -8
- package/js/themes/sunset.src.js +5 -1
- package/modules/accessibility.js +53 -51
- package/modules/accessibility.js.map +1 -8
- package/modules/accessibility.src.js +86 -45
- package/modules/annotations.js +24 -22
- package/modules/annotations.js.map +1 -8
- package/modules/annotations.src.js +8 -4
- package/modules/arrow-symbols.js +13 -0
- package/modules/arrow-symbols.js.map +1 -0
- package/modules/arrow-symbols.src.js +138 -0
- package/modules/boost-canvas.js +15 -13
- package/modules/boost-canvas.js.map +1 -8
- package/modules/boost-canvas.src.js +24 -9
- package/modules/boost.js +57 -52
- package/modules/boost.js.map +1 -8
- package/modules/boost.src.js +305 -138
- package/modules/broken-axis.js +12 -10
- package/modules/broken-axis.js.map +1 -8
- package/modules/broken-axis.src.js +175 -136
- package/modules/bullet.js +6 -5
- package/modules/bullet.js.map +1 -8
- package/modules/bullet.src.js +7 -3
- package/modules/current-date-indicator.js +13 -0
- package/modules/current-date-indicator.js.map +1 -0
- package/modules/current-date-indicator.src.js +120 -0
- package/modules/data.js +25 -24
- package/modules/data.js.map +1 -8
- package/modules/data.src.js +14 -8
- package/modules/drag-panes.js +9 -8
- package/modules/drag-panes.js.map +1 -8
- package/modules/drag-panes.src.js +5 -1
- package/modules/draggable-points.js +38 -0
- package/modules/draggable-points.js.map +1 -0
- package/modules/draggable-points.src.js +2281 -0
- package/modules/drilldown.js +16 -15
- package/modules/drilldown.js.map +1 -8
- package/modules/drilldown.src.js +9 -3
- package/modules/export-data.js +20 -19
- package/modules/export-data.js.map +1 -8
- package/modules/export-data.src.js +17 -3
- package/modules/exporting.js +23 -21
- package/modules/exporting.js.map +1 -8
- package/modules/exporting.src.js +68 -38
- package/modules/funnel.js +8 -7
- package/modules/funnel.js.map +1 -8
- package/modules/funnel.src.js +11 -7
- package/modules/gantt.js +84 -19
- package/modules/gantt.js.map +1 -8
- package/modules/gantt.src.js +5557 -379
- package/modules/grid-axis.js +17 -10
- package/modules/grid-axis.js.map +1 -8
- package/modules/grid-axis.src.js +736 -293
- package/modules/heatmap.js +22 -21
- package/modules/heatmap.js.map +1 -8
- package/modules/heatmap.src.js +139 -63
- package/modules/histogram-bellcurve.js +9 -8
- package/modules/histogram-bellcurve.js.map +1 -8
- package/modules/histogram-bellcurve.src.js +35 -29
- package/modules/item-series.js +6 -4
- package/modules/item-series.js.map +1 -8
- package/modules/item-series.src.js +42 -13
- package/modules/map.js +65 -64
- package/modules/map.js.map +1 -8
- package/modules/map.src.js +365 -152
- package/modules/no-data-to-display.js +5 -4
- package/modules/no-data-to-display.js.map +1 -8
- package/modules/no-data-to-display.src.js +10 -6
- package/modules/offline-exporting.js +14 -12
- package/modules/offline-exporting.js.map +1 -8
- package/modules/offline-exporting.src.js +6 -2
- package/modules/oldie.js +29 -27
- package/modules/oldie.js.map +1 -8
- package/modules/oldie.src.js +20 -11
- package/modules/overlapping-datalabels.js +4 -3
- package/modules/overlapping-datalabels.js.map +1 -8
- package/modules/overlapping-datalabels.src.js +6 -2
- package/modules/parallel-coordinates.js +10 -9
- package/modules/parallel-coordinates.js.map +1 -8
- package/modules/parallel-coordinates.src.js +9 -4
- package/modules/pareto.js +5 -4
- package/modules/pareto.js.map +1 -8
- package/modules/pareto.src.js +6 -2
- package/modules/pathfinder.js +35 -0
- package/modules/pathfinder.js.map +1 -0
- package/modules/pathfinder.src.js +2128 -0
- package/modules/pattern-fill.js +13 -12
- package/modules/pattern-fill.js.map +1 -8
- package/modules/pattern-fill.src.js +5 -1
- package/modules/sankey.js +13 -12
- package/modules/sankey.js.map +1 -8
- package/modules/sankey.src.js +34 -12
- package/modules/series-label.js +17 -15
- package/modules/series-label.js.map +1 -8
- package/modules/series-label.src.js +12 -8
- package/modules/solid-gauge.js +9 -8
- package/modules/solid-gauge.js.map +1 -8
- package/modules/solid-gauge.src.js +16 -9
- package/modules/static-scale.js +4 -3
- package/modules/static-scale.js.map +1 -8
- package/modules/static-scale.src.js +69 -26
- package/modules/stock.js +143 -139
- package/modules/stock.js.map +1 -8
- package/modules/stock.src.js +1701 -566
- package/modules/streamgraph.js +4 -3
- package/modules/streamgraph.js.map +1 -8
- package/modules/streamgraph.src.js +10 -6
- package/modules/sunburst.js +42 -41
- package/modules/sunburst.js.map +1 -8
- package/modules/sunburst.src.js +39 -32
- package/modules/tilemap.js +18 -17
- package/modules/tilemap.js.map +1 -8
- package/modules/tilemap.src.js +365 -191
- package/modules/treegrid.js +52 -0
- package/modules/treegrid.js.map +1 -0
- package/modules/treegrid.src.js +2797 -0
- package/modules/treemap.js +29 -28
- package/modules/treemap.js.map +1 -8
- package/modules/treemap.src.js +35 -28
- package/modules/variable-pie.js +8 -7
- package/modules/variable-pie.js.map +1 -8
- package/modules/variable-pie.src.js +8 -4
- package/modules/variwide.js +8 -7
- package/modules/variwide.js.map +1 -8
- package/modules/variwide.src.js +42 -26
- package/modules/vector.js +7 -6
- package/modules/vector.js.map +1 -8
- package/modules/vector.src.js +104 -30
- package/modules/windbarb.js +11 -10
- package/modules/windbarb.js.map +1 -8
- package/modules/windbarb.src.js +11 -7
- package/modules/wordcloud.js +18 -15
- package/modules/wordcloud.js.map +1 -8
- package/modules/wordcloud.src.js +142 -53
- package/modules/xrange.js +13 -11
- package/modules/xrange.js.map +1 -8
- package/modules/xrange.src.js +264 -80
- package/package.json +1 -1
- package/themes/avocado.js +3 -2
- package/themes/avocado.js.map +1 -8
- package/themes/avocado.src.js +5 -1
- package/themes/dark-blue.js +9 -8
- package/themes/dark-blue.js.map +1 -8
- package/themes/dark-blue.src.js +7 -3
- package/themes/dark-green.js +9 -8
- package/themes/dark-green.js.map +1 -8
- package/themes/dark-green.src.js +7 -3
- package/themes/dark-unica.js +9 -7
- package/themes/dark-unica.js.map +1 -8
- package/themes/dark-unica.src.js +7 -3
- package/themes/gray.js +10 -8
- package/themes/gray.js.map +1 -8
- package/themes/gray.src.js +7 -3
- package/themes/grid-light.js +5 -4
- package/themes/grid-light.js.map +1 -8
- package/themes/grid-light.src.js +7 -3
- package/themes/grid.js +6 -5
- package/themes/grid.js.map +1 -8
- package/themes/grid.src.js +7 -3
- package/themes/sand-signika.js +6 -5
- package/themes/sand-signika.js.map +1 -8
- package/themes/sand-signika.src.js +7 -3
- package/themes/skies.js +6 -5
- package/themes/skies.js.map +1 -8
- package/themes/skies.src.js +7 -3
- package/themes/sunset.js +3 -2
- package/themes/sunset.js.map +1 -8
- package/themes/sunset.src.js +5 -1
|
@@ -1,15 +1,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,
|
|
@@ -188,13 +207,17 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
188
207
|
/**
|
|
189
208
|
* Hide the loading layer.
|
|
190
209
|
*
|
|
191
|
-
* @see
|
|
210
|
+
* @see Highcharts.Chart#showLoading
|
|
211
|
+
*
|
|
192
212
|
* @sample highcharts/members/chart-hideloading/
|
|
193
213
|
* Show and hide loading from a button
|
|
194
214
|
* @sample stock/members/chart-show-hide-loading/
|
|
195
215
|
* Toggle loading in Highstock
|
|
216
|
+
*
|
|
217
|
+
* @function Highcharts.Chart#hideLoading
|
|
196
218
|
*/
|
|
197
219
|
hideLoading: function () {
|
|
220
|
+
|
|
198
221
|
var options = this.options,
|
|
199
222
|
loadingDiv = this.loadingDiv;
|
|
200
223
|
|
|
@@ -203,6 +226,7 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
203
226
|
'highcharts-loading highcharts-loading-hidden';
|
|
204
227
|
|
|
205
228
|
}
|
|
229
|
+
|
|
206
230
|
this.loadingShown = false;
|
|
207
231
|
},
|
|
208
232
|
|
|
@@ -265,31 +289,40 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
265
289
|
* adding and removing items from the collection. Read more under the
|
|
266
290
|
* parameter description below.
|
|
267
291
|
*
|
|
268
|
-
* See also the
|
|
269
|
-
* responsive option set}.
|
|
270
|
-
* runs `chart.update` under
|
|
271
|
-
*
|
|
272
|
-
* @param {Options} options
|
|
273
|
-
* A configuration object for the new chart options.
|
|
274
|
-
* @param {Boolean} [redraw=true]
|
|
275
|
-
* Whether to redraw the chart.
|
|
276
|
-
* @param {Boolean} [oneToOne=false]
|
|
277
|
-
* When `true`, the `series`, `xAxis` and `yAxis` collections will
|
|
278
|
-
* be updated one to one, and items will be either added or removed
|
|
279
|
-
* to match the new updated options. For example, if the chart has
|
|
280
|
-
* two series and we call `chart.update` with a configuration
|
|
281
|
-
* containing three series, one will be added. If we call
|
|
282
|
-
* `chart.update` with one series, one will be removed. Setting an
|
|
283
|
-
* empty `series` array will remove all series, but leaving out the
|
|
284
|
-
* `series` property will leave all series untouched. If the series
|
|
285
|
-
* have id's, the new series options will be matched by id, and the
|
|
286
|
-
* remaining ones removed.
|
|
287
|
-
* @param {AnimationOptions} [animation=true]
|
|
288
|
-
* Whether to apply animation, and optionally animation
|
|
289
|
-
* configuration.
|
|
292
|
+
* See also the
|
|
293
|
+
* {@link https://api.highcharts.com/highcharts/responsive|responsive option set}.
|
|
294
|
+
* Switching between `responsive.rules` basically runs `chart.update` under
|
|
295
|
+
* the hood.
|
|
290
296
|
*
|
|
291
297
|
* @sample highcharts/members/chart-update/
|
|
292
298
|
* Update chart geometry
|
|
299
|
+
*
|
|
300
|
+
* @function Highcharts.Chart#update
|
|
301
|
+
*
|
|
302
|
+
* @param {Highcharts.Options} options
|
|
303
|
+
* A configuration object for the new chart options.
|
|
304
|
+
*
|
|
305
|
+
* @param {boolean} [redraw=true]
|
|
306
|
+
* Whether to redraw the chart.
|
|
307
|
+
*
|
|
308
|
+
* @param {boolean} [oneToOne=false]
|
|
309
|
+
* When `true`, the `series`, `xAxis` and `yAxis` collections will
|
|
310
|
+
* be updated one to one, and items will be either added or removed
|
|
311
|
+
* to match the new updated options. For example, if the chart has
|
|
312
|
+
* two series and we call `chart.update` with a configuration
|
|
313
|
+
* containing three series, one will be added. If we call
|
|
314
|
+
* `chart.update` with one series, one will be removed. Setting an
|
|
315
|
+
* empty `series` array will remove all series, but leaving out the
|
|
316
|
+
* `series` property will leave all series untouched. If the series
|
|
317
|
+
* have id's, the new series options will be matched by id, and the
|
|
318
|
+
* remaining ones removed.
|
|
319
|
+
*
|
|
320
|
+
* @param {boolean|Highcharts.AnimationOptionsObject} [animation=true]
|
|
321
|
+
* Whether to apply animation, and optionally animation
|
|
322
|
+
* configuration.
|
|
323
|
+
*
|
|
324
|
+
* @fires Highcharts.Chart#event:update
|
|
325
|
+
* @fires Highcharts.Chart#event:afterUpdate
|
|
293
326
|
*/
|
|
294
327
|
update: function (options, redraw, oneToOne, animation) {
|
|
295
328
|
var chart = this,
|
|
@@ -459,7 +492,9 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
459
492
|
});
|
|
460
493
|
|
|
461
494
|
each(itemsForRemoval, function (item) {
|
|
462
|
-
item.remove
|
|
495
|
+
if (item.remove) {
|
|
496
|
+
item.remove(false);
|
|
497
|
+
}
|
|
463
498
|
});
|
|
464
499
|
|
|
465
500
|
if (updateAllAxes) {
|
|
@@ -499,9 +534,11 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
499
534
|
* Shortcut to set the subtitle options. This can also be done from {@link
|
|
500
535
|
* Chart#update} or {@link Chart#setTitle}.
|
|
501
536
|
*
|
|
502
|
-
* @
|
|
503
|
-
*
|
|
504
|
-
*
|
|
537
|
+
* @function Highcharts.Chart#setSubtitle
|
|
538
|
+
*
|
|
539
|
+
* @param {Highcharts.SubtitleOptions} options
|
|
540
|
+
* New subtitle options. The subtitle text itself is set by the
|
|
541
|
+
* `options.text` property.
|
|
505
542
|
*/
|
|
506
543
|
setSubtitle: function (options) {
|
|
507
544
|
this.setTitle(undefined, options);
|
|
@@ -516,27 +553,33 @@ extend(Point.prototype, /** @lends Highcharts.Point.prototype */ {
|
|
|
516
553
|
* Update point with new options (typically x/y data) and optionally redraw
|
|
517
554
|
* the series.
|
|
518
555
|
*
|
|
519
|
-
* @param {Object} options
|
|
520
|
-
* The point options. Point options are handled as described under
|
|
521
|
-
* the `series.type.data` item for each series type. For example
|
|
522
|
-
* for a line series, if options is a single number, the point will
|
|
523
|
-
* be given that number as the main y value. If it is an array, it
|
|
524
|
-
* will be interpreted as x and y values respectively. If it is an
|
|
525
|
-
* object, advanced options are applied.
|
|
526
|
-
* @param {Boolean} [redraw=true]
|
|
527
|
-
* Whether to redraw the chart after the point is updated. If doing
|
|
528
|
-
* more operations on the chart, it is best practice to set
|
|
529
|
-
* `redraw` to false and call `chart.redraw()` after.
|
|
530
|
-
* @param {AnimationOptions} [animation=true]
|
|
531
|
-
* Whether to apply animation, and optionally animation
|
|
532
|
-
* configuration.
|
|
533
|
-
*
|
|
534
556
|
* @sample highcharts/members/point-update-column/
|
|
535
557
|
* Update column value
|
|
536
558
|
* @sample highcharts/members/point-update-pie/
|
|
537
559
|
* Update pie slice
|
|
538
560
|
* @sample maps/members/point-update/
|
|
539
561
|
* Update map area value in Highmaps
|
|
562
|
+
*
|
|
563
|
+
* @function Highcharts.Point#update
|
|
564
|
+
*
|
|
565
|
+
* @param {*} options
|
|
566
|
+
* The point options. Point options are handled as described under
|
|
567
|
+
* the `series.type.data` item for each series type. For example
|
|
568
|
+
* for a line series, if options is a single number, the point will
|
|
569
|
+
* be given that number as the main y value. If it is an array, it
|
|
570
|
+
* will be interpreted as x and y values respectively. If it is an
|
|
571
|
+
* object, advanced options are applied.
|
|
572
|
+
*
|
|
573
|
+
* @param {boolean} [redraw=true]
|
|
574
|
+
* Whether to redraw the chart after the point is updated. If doing
|
|
575
|
+
* more operations on the chart, it is best practice to set
|
|
576
|
+
* `redraw` to false and call `chart.redraw()` after.
|
|
577
|
+
*
|
|
578
|
+
* @param {boolean|Highcharts.AnimationOptionsObject} [animation=true]
|
|
579
|
+
* Whether to apply animation, and optionally animation
|
|
580
|
+
* configuration.
|
|
581
|
+
*
|
|
582
|
+
* @fires Highcharts.Point#event:update
|
|
540
583
|
*/
|
|
541
584
|
update: function (options, redraw, animation, runEvent) {
|
|
542
585
|
var point = this,
|
|
@@ -614,14 +657,6 @@ extend(Point.prototype, /** @lends Highcharts.Point.prototype */ {
|
|
|
614
657
|
|
|
615
658
|
/**
|
|
616
659
|
* Remove a point and optionally redraw the series and if necessary the axes
|
|
617
|
-
* @param {Boolean} redraw
|
|
618
|
-
* Whether to redraw the chart or wait for an explicit call. When
|
|
619
|
-
* doing more operations on the chart, for example running
|
|
620
|
-
* `point.remove()` in a loop, it is best practice to set `redraw`
|
|
621
|
-
* to false and call `chart.redraw()` after.
|
|
622
|
-
* @param {AnimationOptions} [animation=false]
|
|
623
|
-
* Whether to apply animation, and optionally animation
|
|
624
|
-
* configuration.
|
|
625
660
|
*
|
|
626
661
|
* @sample highcharts/plotoptions/series-point-events-remove/
|
|
627
662
|
* Remove point and confirm
|
|
@@ -629,6 +664,18 @@ extend(Point.prototype, /** @lends Highcharts.Point.prototype */ {
|
|
|
629
664
|
* Remove pie slice
|
|
630
665
|
* @sample maps/members/point-remove/
|
|
631
666
|
* Remove selected points in Highmaps
|
|
667
|
+
*
|
|
668
|
+
* @function Highcharts.Point#remove
|
|
669
|
+
*
|
|
670
|
+
* @param {boolean} redraw
|
|
671
|
+
* Whether to redraw the chart or wait for an explicit call. When
|
|
672
|
+
* doing more operations on the chart, for example running
|
|
673
|
+
* `point.remove()` in a loop, it is best practice to set `redraw`
|
|
674
|
+
* to false and call `chart.redraw()` after.
|
|
675
|
+
*
|
|
676
|
+
* @param {boolean|Highcharts.AnimationOptionsObject} [animation=false]
|
|
677
|
+
* Whether to apply animation, and optionally animation
|
|
678
|
+
* configuration.
|
|
632
679
|
*/
|
|
633
680
|
remove: function (redraw, animation) {
|
|
634
681
|
this.series.removePoint(
|
|
@@ -646,25 +693,6 @@ extend(Series.prototype, /** @lends Series.prototype */ {
|
|
|
646
693
|
* the end, or by giving it an X value, to the start or in the middle of the
|
|
647
694
|
* series.
|
|
648
695
|
*
|
|
649
|
-
* @param {Number|Array|Object} options
|
|
650
|
-
* The point options. If options is a single number, a point with
|
|
651
|
-
* that y value is appended to the series.If it is an array, it will
|
|
652
|
-
* be interpreted as x and y values respectively. If it is an
|
|
653
|
-
* object, advanced options as outlined under `series.data` are
|
|
654
|
-
* applied.
|
|
655
|
-
* @param {Boolean} [redraw=true]
|
|
656
|
-
* Whether to redraw the chart after the point is added. When adding
|
|
657
|
-
* more than one point, it is highly recommended that the redraw
|
|
658
|
-
* option be set to false, and instead {@link Chart#redraw}
|
|
659
|
-
* is explicitly called after the adding of points is finished.
|
|
660
|
-
* Otherwise, the chart will redraw after adding each point.
|
|
661
|
-
* @param {Boolean} [shift=false]
|
|
662
|
-
* If true, a point is shifted off the start of the series as one is
|
|
663
|
-
* appended to the end.
|
|
664
|
-
* @param {AnimationOptions} [animation]
|
|
665
|
-
* Whether to apply animation, and optionally animation
|
|
666
|
-
* configuration.
|
|
667
|
-
*
|
|
668
696
|
* @sample highcharts/members/series-addpoint-append/
|
|
669
697
|
* Append point
|
|
670
698
|
* @sample highcharts/members/series-addpoint-append-and-shift/
|
|
@@ -679,6 +707,30 @@ extend(Series.prototype, /** @lends Series.prototype */ {
|
|
|
679
707
|
* Append and shift in Highstock
|
|
680
708
|
* @sample maps/members/series-addpoint/
|
|
681
709
|
* Add a point in Highmaps
|
|
710
|
+
*
|
|
711
|
+
* @function Highcharts.Series#addPoint
|
|
712
|
+
*
|
|
713
|
+
* @param {number|Array<number>|*} options
|
|
714
|
+
* The point options. If options is a single number, a point with
|
|
715
|
+
* that y value is appended to the series. If it is an array, it will
|
|
716
|
+
* be interpreted as x and y values respectively. If it is an
|
|
717
|
+
* object, advanced options as outlined under `series.data` are
|
|
718
|
+
* applied.
|
|
719
|
+
*
|
|
720
|
+
* @param {boolean} [redraw=true]
|
|
721
|
+
* Whether to redraw the chart after the point is added. When adding
|
|
722
|
+
* more than one point, it is highly recommended that the redraw
|
|
723
|
+
* option be set to false, and instead {@link Chart#redraw} is
|
|
724
|
+
* explicitly called after the adding of points is finished.
|
|
725
|
+
* Otherwise, the chart will redraw after adding each point.
|
|
726
|
+
*
|
|
727
|
+
* @param {boolean} [shift=false]
|
|
728
|
+
* If true, a point is shifted off the start of the series as one is
|
|
729
|
+
* appended to the end.
|
|
730
|
+
*
|
|
731
|
+
* @param {boolean|Highcharts.AnimationOptionsObject} [animation]
|
|
732
|
+
* Whether to apply animation, and optionally animation
|
|
733
|
+
* configuration.
|
|
682
734
|
*/
|
|
683
735
|
addPoint: function (options, redraw, shift, animation) {
|
|
684
736
|
var series = this,
|
|
@@ -760,20 +812,26 @@ extend(Series.prototype, /** @lends Series.prototype */ {
|
|
|
760
812
|
* that is not instanciated because it is outside the view or subject to
|
|
761
813
|
* Highstock data grouping.
|
|
762
814
|
*
|
|
763
|
-
* @param {Number} i
|
|
764
|
-
* The index of the point in the {@link Highcharts.Series.data|data}
|
|
765
|
-
* array.
|
|
766
|
-
* @param {Boolean} [redraw=true]
|
|
767
|
-
* Whether to redraw the chart after the point is added. When
|
|
768
|
-
* removing more than one point, it is highly recommended that the
|
|
769
|
-
* `redraw` option be set to `false`, and instead {@link
|
|
770
|
-
* Highcharts.Chart#redraw} is explicitly called after the adding of
|
|
771
|
-
* points is finished.
|
|
772
|
-
* @param {AnimationOptions} [animation]
|
|
773
|
-
* Whether and optionally how the series should be animated.
|
|
774
|
-
*
|
|
775
815
|
* @sample highcharts/members/series-removepoint/
|
|
776
816
|
* Remove cropped point
|
|
817
|
+
*
|
|
818
|
+
* @function Highcharts.Series#removePoint
|
|
819
|
+
*
|
|
820
|
+
* @param {number} i
|
|
821
|
+
* The index of the point in the {@link Highcharts.Series.data|data}
|
|
822
|
+
* array.
|
|
823
|
+
*
|
|
824
|
+
* @param {boolean} [redraw=true]
|
|
825
|
+
* Whether to redraw the chart after the point is added. When
|
|
826
|
+
* removing more than one point, it is highly recommended that the
|
|
827
|
+
* `redraw` option be set to `false`, and instead {@link
|
|
828
|
+
* Highcharts.Chart#redraw} is explicitly called after the adding of
|
|
829
|
+
* points is finished.
|
|
830
|
+
*
|
|
831
|
+
* @param {boolean|Highcharts.AnimationOptionsObject} [animation]
|
|
832
|
+
* Whether and optionally how the series should be animated.
|
|
833
|
+
*
|
|
834
|
+
* @fires Highcharts.Point#event:remove
|
|
777
835
|
*/
|
|
778
836
|
removePoint: function (i, redraw, animation) {
|
|
779
837
|
|
|
@@ -822,17 +880,23 @@ extend(Series.prototype, /** @lends Series.prototype */ {
|
|
|
822
880
|
/**
|
|
823
881
|
* Remove a series and optionally redraw the chart.
|
|
824
882
|
*
|
|
825
|
-
* @param {Boolean} [redraw=true]
|
|
826
|
-
* Whether to redraw the chart or wait for an explicit call to
|
|
827
|
-
* {@link Highcharts.Chart#redraw}.
|
|
828
|
-
* @param {AnimationOptions} [animation]
|
|
829
|
-
* Whether to apply animation, and optionally animation
|
|
830
|
-
* configuration
|
|
831
|
-
* @param {Boolean} [withEvent=true]
|
|
832
|
-
* Used internally, whether to fire the series `remove` event.
|
|
833
|
-
*
|
|
834
883
|
* @sample highcharts/members/series-remove/
|
|
835
884
|
* Remove first series from a button
|
|
885
|
+
*
|
|
886
|
+
* @function Highcharts.Series#remove
|
|
887
|
+
*
|
|
888
|
+
* @param {boolean} [redraw=true]
|
|
889
|
+
* Whether to redraw the chart or wait for an explicit call to
|
|
890
|
+
* {@link Highcharts.Chart#redraw}.
|
|
891
|
+
*
|
|
892
|
+
* @param {boolean|Highcharts.AnimationOptionsObject} [animation]
|
|
893
|
+
* Whether to apply animation, and optionally animation
|
|
894
|
+
* configuration.
|
|
895
|
+
*
|
|
896
|
+
* @param {boolean} [withEvent=true]
|
|
897
|
+
* Used internally, whether to fire the series `remove` event.
|
|
898
|
+
*
|
|
899
|
+
* @fires Highcharts.Series#event:remove
|
|
836
900
|
*/
|
|
837
901
|
remove: function (redraw, animation, withEvent) {
|
|
838
902
|
var series = this,
|
|
@@ -842,6 +906,7 @@ extend(Series.prototype, /** @lends Series.prototype */ {
|
|
|
842
906
|
|
|
843
907
|
// Destroy elements
|
|
844
908
|
series.destroy();
|
|
909
|
+
series.remove = null; // Prevent from doing again (#9097)
|
|
845
910
|
|
|
846
911
|
// Redraw
|
|
847
912
|
chart.isDirtyLegend = chart.isDirtyBox = true;
|
|
@@ -867,18 +932,22 @@ extend(Series.prototype, /** @lends Series.prototype */ {
|
|
|
867
932
|
* performance expensive than some other utility methods like {@link
|
|
868
933
|
* Series#setData} or {@link Series#setVisible}.
|
|
869
934
|
*
|
|
870
|
-
* @param {SeriesOptions} options
|
|
871
|
-
* New options that will be merged with the series' existing
|
|
872
|
-
* options.
|
|
873
|
-
* @param {Boolean} [redraw=true]
|
|
874
|
-
* Whether to redraw the chart after the series is altered. If doing
|
|
875
|
-
* more operations on the chart, it is a good idea to set redraw to
|
|
876
|
-
* false and call {@link Chart#redraw} after.
|
|
877
|
-
*
|
|
878
935
|
* @sample highcharts/members/series-update/
|
|
879
936
|
* Updating series options
|
|
880
937
|
* @sample maps/members/series-update/
|
|
881
938
|
* Update series options in Highmaps
|
|
939
|
+
*
|
|
940
|
+
* @function Highcharts.Series#update
|
|
941
|
+
*
|
|
942
|
+
* @param {Highcharts.SeriesOptions} options
|
|
943
|
+
* New options that will be merged with the series' existing options.
|
|
944
|
+
*
|
|
945
|
+
* @param {boolean} [redraw=true]
|
|
946
|
+
* Whether to redraw the chart after the series is altered. If doing
|
|
947
|
+
* more operations on the chart, it is a good idea to set redraw to
|
|
948
|
+
* false and call {@link Chart#redraw} after.
|
|
949
|
+
*
|
|
950
|
+
* @fires Highcharts.Series#event:afterUpdate
|
|
882
951
|
*/
|
|
883
952
|
update: function (newOptions, redraw) {
|
|
884
953
|
var series = this,
|
|
@@ -993,13 +1062,17 @@ extend(Series.prototype, /** @lends Series.prototype */ {
|
|
|
993
1062
|
fireEvent(this, 'afterUpdate');
|
|
994
1063
|
|
|
995
1064
|
if (pick(redraw, true)) {
|
|
996
|
-
chart.redraw(false);
|
|
1065
|
+
chart.redraw(doSoftUpdate ? undefined : false);
|
|
997
1066
|
}
|
|
998
1067
|
},
|
|
999
1068
|
|
|
1000
1069
|
/**
|
|
1001
1070
|
* Used from within series.update
|
|
1071
|
+
*
|
|
1002
1072
|
* @private
|
|
1073
|
+
* @function Highcharts.Series#setName
|
|
1074
|
+
*
|
|
1075
|
+
* @param {string} name
|
|
1003
1076
|
*/
|
|
1004
1077
|
setName: function (name) {
|
|
1005
1078
|
this.name = this.options.name = this.userOptions.name = name;
|
|
@@ -1015,10 +1088,14 @@ extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */ {
|
|
|
1015
1088
|
* with the existing options, so only new or altered options need to be
|
|
1016
1089
|
* specified.
|
|
1017
1090
|
*
|
|
1018
|
-
* @
|
|
1019
|
-
*
|
|
1020
|
-
*
|
|
1021
|
-
* @
|
|
1091
|
+
* @sample highcharts/members/axis-update/
|
|
1092
|
+
* Axis update demo
|
|
1093
|
+
*
|
|
1094
|
+
* @function Highcharts.Axis#update
|
|
1095
|
+
*
|
|
1096
|
+
* @param {Highcharts.XAxisOptions|Highcharts.YAxisOptions|Highcharts.ZAxisOptions} options
|
|
1097
|
+
* The new options that will be merged in with existing options on
|
|
1098
|
+
* the axis.
|
|
1022
1099
|
*/
|
|
1023
1100
|
update: function (options, redraw) {
|
|
1024
1101
|
var chart = this.chart,
|
|
@@ -1055,10 +1132,13 @@ extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */ {
|
|
|
1055
1132
|
/**
|
|
1056
1133
|
* Remove the axis from the chart.
|
|
1057
1134
|
*
|
|
1058
|
-
* @
|
|
1059
|
-
* remove
|
|
1135
|
+
* @sample highcharts/members/chart-addaxis/
|
|
1136
|
+
* Add and remove axes
|
|
1137
|
+
*
|
|
1138
|
+
* @function Highcharts.Axis#remove
|
|
1060
1139
|
*
|
|
1061
|
-
* @
|
|
1140
|
+
* @param {boolean} [redraw=true]
|
|
1141
|
+
* Whether to redraw the chart following the remove.
|
|
1062
1142
|
*/
|
|
1063
1143
|
remove: function (redraw) {
|
|
1064
1144
|
var chart = this.chart,
|
|
@@ -1097,11 +1177,16 @@ extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */ {
|
|
|
1097
1177
|
/**
|
|
1098
1178
|
* Update the axis title by options after render time.
|
|
1099
1179
|
*
|
|
1100
|
-
* @
|
|
1101
|
-
*
|
|
1102
|
-
*
|
|
1103
|
-
*
|
|
1104
|
-
*
|
|
1180
|
+
* @sample highcharts/members/axis-settitle/
|
|
1181
|
+
* Set a new Y axis title
|
|
1182
|
+
*
|
|
1183
|
+
* @function Highcharts.Axis#setTitle
|
|
1184
|
+
*
|
|
1185
|
+
* @param {Highcharts.XAxisTitleOptions|Highcharts.YAxisTitleOptions|Highcharts.ZAxisTitleOptions} titleOptions
|
|
1186
|
+
* The additional title options.
|
|
1187
|
+
*
|
|
1188
|
+
* @param {boolean} [redraw=true]
|
|
1189
|
+
* Whether to redraw the chart after setting the title.
|
|
1105
1190
|
*/
|
|
1106
1191
|
setTitle: function (titleOptions, redraw) {
|
|
1107
1192
|
this.update({ title: titleOptions }, redraw);
|
|
@@ -1109,10 +1194,17 @@ extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */ {
|
|
|
1109
1194
|
|
|
1110
1195
|
/**
|
|
1111
1196
|
* Set new axis categories and optionally redraw.
|
|
1112
|
-
*
|
|
1113
|
-
* @
|
|
1114
|
-
*
|
|
1115
|
-
*
|
|
1197
|
+
*
|
|
1198
|
+
* @sample highcharts/members/axis-setcategories/
|
|
1199
|
+
* Set categories by click on a button
|
|
1200
|
+
*
|
|
1201
|
+
* @function Highcharts.Axis#setCategories
|
|
1202
|
+
*
|
|
1203
|
+
* @param {Array<string>} categories
|
|
1204
|
+
* The new categories.
|
|
1205
|
+
*
|
|
1206
|
+
* @param {boolean} [redraw=true]
|
|
1207
|
+
* Whether to redraw the chart.
|
|
1116
1208
|
*/
|
|
1117
1209
|
setCategories: function (categories, redraw) {
|
|
1118
1210
|
this.update({ categories: categories }, redraw);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* (c) 2010-
|
|
2
|
+
* (c) 2010-2018 Torstein Honsi
|
|
3
3
|
*
|
|
4
4
|
* License: www.highcharts.com/license
|
|
5
5
|
*/
|
|
@@ -83,7 +83,7 @@ seriesType('flags', 'column', {
|
|
|
83
83
|
|
|
84
84
|
/**
|
|
85
85
|
* The shape of the marker. Can be one of "flag", "circlepin", "squarepin",
|
|
86
|
-
* or an image
|
|
86
|
+
* or an image of the format `url(/path-to-image.jpg)`. Individual
|
|
87
87
|
* shapes can also be set for each point.
|
|
88
88
|
*
|
|
89
89
|
* @validvalue ["flag", "circlepin", "squarepin"]
|
|
@@ -160,6 +160,27 @@ seriesType('flags', 'column', {
|
|
|
160
160
|
* @apioption plotOptions.flags.useHTML
|
|
161
161
|
*/
|
|
162
162
|
|
|
163
|
+
/**
|
|
164
|
+
* Fixed width of the flag's shape. By default, width is autocalculated
|
|
165
|
+
* according to the flag's title.
|
|
166
|
+
*
|
|
167
|
+
* @type {Number}
|
|
168
|
+
* @default undefined
|
|
169
|
+
* @product highstock
|
|
170
|
+
* @sample {highstock} stock/demo/flags-shapes/ Flags with fixed width
|
|
171
|
+
* @apioption plotOptions.flags.width
|
|
172
|
+
*/
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Fixed height of the flag's shape. By default, height is autocalculated
|
|
176
|
+
* according to the flag's title.
|
|
177
|
+
*
|
|
178
|
+
* @type {Number}
|
|
179
|
+
* @default undefined
|
|
180
|
+
* @product highstock
|
|
181
|
+
* @apioption plotOptions.flags.height
|
|
182
|
+
*/
|
|
183
|
+
|
|
163
184
|
|
|
164
185
|
|
|
165
186
|
}, /** @lends seriesTypes.flags.prototype */ {
|
|
@@ -323,7 +344,16 @@ seriesType('flags', 'column', {
|
|
|
323
344
|
x: box.pos,
|
|
324
345
|
anchorX: point.anchorX
|
|
325
346
|
});
|
|
326
|
-
|
|
347
|
+
// Hide flag when its box position is not specified (#8573)
|
|
348
|
+
if (!box.pos) {
|
|
349
|
+
point.graphic.attr({
|
|
350
|
+
x: -9999,
|
|
351
|
+
anchorX: -9999
|
|
352
|
+
});
|
|
353
|
+
point.graphic.isNew = true;
|
|
354
|
+
} else {
|
|
355
|
+
point.graphic.isNew = false;
|
|
356
|
+
}
|
|
327
357
|
}
|
|
328
358
|
});
|
|
329
359
|
}
|
|
@@ -387,9 +417,21 @@ seriesType('flags', 'column', {
|
|
|
387
417
|
});
|
|
388
418
|
},
|
|
389
419
|
|
|
390
|
-
|
|
420
|
+
// Disable animation, but keep clipping (#8546):
|
|
421
|
+
animate: function (init) {
|
|
422
|
+
if (init) {
|
|
423
|
+
this.setClip();
|
|
424
|
+
} else {
|
|
425
|
+
this.animate = null;
|
|
426
|
+
}
|
|
427
|
+
},
|
|
428
|
+
setClip: function () {
|
|
429
|
+
Series.prototype.setClip.apply(this, arguments);
|
|
430
|
+
if (this.options.clip !== false && this.sharedClipKey) {
|
|
431
|
+
this.markerGroup.clip(this.chart[this.sharedClipKey]);
|
|
432
|
+
}
|
|
433
|
+
},
|
|
391
434
|
buildKDTree: noop,
|
|
392
|
-
setClip: noop,
|
|
393
435
|
/**
|
|
394
436
|
* Don't invert the flag marker group (#4960)
|
|
395
437
|
*/
|
|
@@ -478,8 +520,8 @@ createPinSymbol('square');
|
|
|
478
520
|
* An array of data points for the series. For the `flags` series type,
|
|
479
521
|
* points can be given in the following ways:
|
|
480
522
|
*
|
|
481
|
-
* 1. An array of objects with named values. The
|
|
482
|
-
*
|
|
523
|
+
* 1. An array of objects with named values. The following snippet shows only a
|
|
524
|
+
* few settings, see the complete options set below. If the total number of data
|
|
483
525
|
* points exceeds the series' [turboThreshold](#series.flags.turboThreshold),
|
|
484
526
|
* this option is not available.
|
|
485
527
|
*
|