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,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
|
*/
|
|
@@ -41,20 +41,201 @@ extend(defaultOptions, {
|
|
|
41
41
|
* @optionparent rangeSelector
|
|
42
42
|
*/
|
|
43
43
|
rangeSelector: {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Whether to enable all buttons from the start. By default buttons are
|
|
47
|
+
* only enabled if the corresponding time range exists on the X axis,
|
|
48
|
+
* but enabling all buttons allows for dynamically loading different
|
|
49
|
+
* time ranges.
|
|
50
|
+
*
|
|
51
|
+
* @sample {highstock} stock/rangeselector/allbuttonsenabled-true/
|
|
52
|
+
* All buttons enabled
|
|
53
|
+
*
|
|
54
|
+
* @type {boolean}
|
|
55
|
+
* @default false
|
|
56
|
+
* @since 2.0.3
|
|
57
|
+
* @product highstock
|
|
58
|
+
* @apioption rangeSelector.allButtonsEnabled
|
|
59
|
+
*/
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* An array of configuration objects for the buttons.
|
|
63
|
+
*
|
|
64
|
+
* Defaults to
|
|
65
|
+
*
|
|
66
|
+
* <pre>buttons: [{
|
|
67
|
+
* type: 'month',
|
|
68
|
+
* count: 1,
|
|
69
|
+
* text: '1m'
|
|
70
|
+
* }, {
|
|
71
|
+
* type: 'month',
|
|
72
|
+
* count: 3,
|
|
73
|
+
* text: '3m'
|
|
74
|
+
* }, {
|
|
75
|
+
* type: 'month',
|
|
76
|
+
* count: 6,
|
|
77
|
+
* text: '6m'
|
|
78
|
+
* }, {
|
|
79
|
+
* type: 'ytd',
|
|
80
|
+
* text: 'YTD'
|
|
81
|
+
* }, {
|
|
82
|
+
* type: 'year',
|
|
83
|
+
* count: 1,
|
|
84
|
+
* text: '1y'
|
|
85
|
+
* }, {
|
|
86
|
+
* type: 'all',
|
|
87
|
+
* text: 'All'
|
|
88
|
+
* }]</pre>
|
|
89
|
+
*
|
|
90
|
+
* @sample {highstock} stock/rangeselector/datagrouping/
|
|
91
|
+
* Data grouping by buttons
|
|
92
|
+
*
|
|
93
|
+
* @type {Array<*>}
|
|
94
|
+
* @product highstock
|
|
95
|
+
* @apioption rangeSelector.buttons
|
|
96
|
+
*/
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* How many units of the defined type the button should span. If `type`
|
|
100
|
+
* is "month" and `count` is 3, the button spans three months.
|
|
101
|
+
*
|
|
102
|
+
* @type {number}
|
|
103
|
+
* @default 1
|
|
104
|
+
* @product highstock
|
|
105
|
+
* @apioption rangeSelector.buttons.count
|
|
106
|
+
*/
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Fires when clicking on the rangeSelector button. One parameter,
|
|
110
|
+
* event, is passed to the function, containing common event
|
|
111
|
+
* information.
|
|
112
|
+
*
|
|
113
|
+
* <pre>
|
|
114
|
+
* click: function(e) {
|
|
115
|
+
* console.log(this);
|
|
116
|
+
* }
|
|
117
|
+
* </pre>
|
|
118
|
+
*
|
|
119
|
+
* Return false to stop default button's click action.
|
|
120
|
+
*
|
|
121
|
+
* @sample {highstock} stock/rangeselector/button-click/
|
|
122
|
+
* Click event on the button
|
|
123
|
+
*
|
|
124
|
+
* @type {Function}
|
|
125
|
+
* @product highstock
|
|
126
|
+
* @apioption rangeSelector.buttons.events.click
|
|
127
|
+
*/
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Additional range (in milliseconds) added to the end of the calculated
|
|
131
|
+
* time span.
|
|
132
|
+
*
|
|
133
|
+
* @sample {highstock} stock/rangeselector/min-max-offsets/
|
|
134
|
+
* Button offsets
|
|
135
|
+
*
|
|
136
|
+
* @type {number}
|
|
137
|
+
* @default 0
|
|
138
|
+
* @since 6.0.0
|
|
139
|
+
* @product highstock
|
|
140
|
+
* @apioption rangeSelector.buttons.offsetMax
|
|
141
|
+
*/
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Additional range (in milliseconds) added to the start of the
|
|
145
|
+
* calculated time span.
|
|
146
|
+
*
|
|
147
|
+
* @sample {highstock} stock/rangeselector/min-max-offsets/
|
|
148
|
+
* Button offsets
|
|
149
|
+
*
|
|
150
|
+
* @type {number}
|
|
151
|
+
* @default 0
|
|
152
|
+
* @since 6.0.0
|
|
153
|
+
* @product highstock
|
|
154
|
+
* @apioption rangeSelector.buttons.offsetMin
|
|
155
|
+
*/
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* When buttons apply dataGrouping on a series, by default zooming
|
|
159
|
+
* in/out will deselect buttons and unset dataGrouping. Enable this
|
|
160
|
+
* option to keep buttons selected when extremes change.
|
|
161
|
+
*
|
|
162
|
+
* @sample {highstock} stock/rangeselector/preserve-datagrouping/
|
|
163
|
+
* Different preserveDataGrouping settings
|
|
164
|
+
*
|
|
165
|
+
* @type {boolean}
|
|
166
|
+
* @since 6.1.2
|
|
167
|
+
* @default false
|
|
168
|
+
* @product highstock
|
|
169
|
+
* @apioption rangeSelector.buttons.preserveDataGrouping
|
|
170
|
+
*/
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* A custom data grouping object for each button.
|
|
174
|
+
*
|
|
175
|
+
* @see [series.dataGrouping](#plotOptions.series.dataGrouping)
|
|
176
|
+
*
|
|
177
|
+
* @sample {highstock} stock/rangeselector/datagrouping/
|
|
178
|
+
* Data grouping by range selector buttons
|
|
179
|
+
*
|
|
180
|
+
* @type {*}
|
|
181
|
+
* @extends plotOptions.series.dataGrouping
|
|
182
|
+
* @product highstock
|
|
183
|
+
* @apioption rangeSelector.buttons.dataGrouping
|
|
184
|
+
*/
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* The text for the button itself.
|
|
188
|
+
*
|
|
189
|
+
* @type {string}
|
|
190
|
+
* @product highstock
|
|
191
|
+
* @apioption rangeSelector.buttons.text
|
|
192
|
+
*/
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* Defined the time span for the button. Can be one of `millisecond`,
|
|
196
|
+
* `second`, `minute`, `hour`, `day`, `week`, `month`, `ytd`, `all`.
|
|
197
|
+
*
|
|
198
|
+
* @type {string}
|
|
199
|
+
* @product highstock
|
|
200
|
+
* @validvalue ["millisecond", "second", "minute", "day", "week", "month", "ytd", "all"]
|
|
201
|
+
* @apioption rangeSelector.buttons.type
|
|
202
|
+
*/
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* The space in pixels between the buttons in the range selector.
|
|
206
|
+
*
|
|
207
|
+
* @type {number}
|
|
208
|
+
* @default 0
|
|
209
|
+
* @product highstock
|
|
210
|
+
* @apioption rangeSelector.buttonSpacing
|
|
211
|
+
*/
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* Enable or disable the range selector.
|
|
215
|
+
*
|
|
216
|
+
* @sample {highstock} stock/rangeselector/enabled/
|
|
217
|
+
* Disable the range selector
|
|
218
|
+
*
|
|
219
|
+
* @type {boolean}
|
|
220
|
+
* @default true
|
|
221
|
+
* @product highstock
|
|
222
|
+
* @apioption rangeSelector.enabled
|
|
223
|
+
*/
|
|
48
224
|
|
|
49
225
|
/**
|
|
50
226
|
* The vertical alignment of the rangeselector box. Allowed properties
|
|
51
227
|
* are `top`, `middle`, `bottom`.
|
|
52
228
|
*
|
|
53
|
-
* @
|
|
54
|
-
*
|
|
55
|
-
* @sample {highstock} stock/rangeselector/vertical-align-
|
|
229
|
+
* @sample {highstock} stock/rangeselector/vertical-align-middle/
|
|
230
|
+
* Middle
|
|
231
|
+
* @sample {highstock} stock/rangeselector/vertical-align-bottom/
|
|
232
|
+
* Bottom
|
|
56
233
|
*
|
|
57
|
-
* @
|
|
234
|
+
* @type {string}
|
|
235
|
+
* @default top
|
|
236
|
+
* @since 6.0.0
|
|
237
|
+
* @validvalue ["top", "middle", "bottom"]
|
|
238
|
+
* @apioption rangeSelector.verticalAlign
|
|
58
239
|
*/
|
|
59
240
|
verticalAlign: 'top',
|
|
60
241
|
|
|
@@ -73,13 +254,17 @@ extend(defaultOptions, {
|
|
|
73
254
|
* `.highcharts-range-selector-buttons .highcharts-button` rule with its
|
|
74
255
|
* different states.
|
|
75
256
|
*
|
|
76
|
-
* @type {Object}
|
|
77
257
|
* @sample {highstock} stock/rangeselector/styling/
|
|
78
258
|
* Styling the buttons and inputs
|
|
79
|
-
*
|
|
259
|
+
*
|
|
260
|
+
* @type {Highcharts.CSSObject}
|
|
261
|
+
* @product highstock
|
|
262
|
+
* @apioption rangeSelector.buttonTheme
|
|
80
263
|
*/
|
|
81
264
|
buttonTheme: {
|
|
265
|
+
|
|
82
266
|
'stroke-width': 0,
|
|
267
|
+
|
|
83
268
|
width: 28,
|
|
84
269
|
height: 18,
|
|
85
270
|
padding: 2,
|
|
@@ -93,8 +278,12 @@ extend(defaultOptions, {
|
|
|
93
278
|
* @sample {highstock} stock/rangeselector/floating/
|
|
94
279
|
* Placing the range selector between the plot area and the
|
|
95
280
|
* navigator
|
|
96
|
-
*
|
|
97
|
-
* @
|
|
281
|
+
*
|
|
282
|
+
* @type {boolean}
|
|
283
|
+
* @default false
|
|
284
|
+
* @since 6.0.0
|
|
285
|
+
* @product highstock
|
|
286
|
+
* @apioption rangeSelector.floating
|
|
98
287
|
*/
|
|
99
288
|
floating: false,
|
|
100
289
|
|
|
@@ -102,8 +291,11 @@ extend(defaultOptions, {
|
|
|
102
291
|
* The x offset of the range selector relative to its horizontal
|
|
103
292
|
* alignment within `chart.spacingLeft` and `chart.spacingRight`.
|
|
104
293
|
*
|
|
105
|
-
* @
|
|
106
|
-
* @
|
|
294
|
+
* @type {number}
|
|
295
|
+
* @default 0
|
|
296
|
+
* @since 6.0.0
|
|
297
|
+
* @product highstock
|
|
298
|
+
* @apioption rangeSelector.x
|
|
107
299
|
*/
|
|
108
300
|
x: 0,
|
|
109
301
|
|
|
@@ -111,8 +303,11 @@ extend(defaultOptions, {
|
|
|
111
303
|
* The y offset of the range selector relative to its horizontal
|
|
112
304
|
* alignment within `chart.spacingLeft` and `chart.spacingRight`.
|
|
113
305
|
*
|
|
114
|
-
* @
|
|
115
|
-
* @
|
|
306
|
+
* @type {number}
|
|
307
|
+
* @default 0
|
|
308
|
+
* @since 6.0.0
|
|
309
|
+
* @product highstock
|
|
310
|
+
* @apioption rangeSelector.y
|
|
116
311
|
*/
|
|
117
312
|
y: 0,
|
|
118
313
|
|
|
@@ -120,69 +315,232 @@ extend(defaultOptions, {
|
|
|
120
315
|
* Deprecated. The height of the range selector. Currently it is
|
|
121
316
|
* calculated dynamically.
|
|
122
317
|
*
|
|
123
|
-
* @
|
|
124
|
-
* @
|
|
125
|
-
* @
|
|
126
|
-
* @
|
|
127
|
-
* @
|
|
318
|
+
* @deprecated
|
|
319
|
+
* @type {number}
|
|
320
|
+
* @default undefined
|
|
321
|
+
* @since 2.1.9
|
|
322
|
+
* @product highstock
|
|
323
|
+
* @apioption rangeSelector.height
|
|
128
324
|
*/
|
|
129
325
|
height: undefined, // reserved space for buttons and input
|
|
130
326
|
|
|
327
|
+
/**
|
|
328
|
+
* The border color of the date input boxes.
|
|
329
|
+
*
|
|
330
|
+
* @sample {highstock} stock/rangeselector/styling/
|
|
331
|
+
* Styling the buttons and inputs
|
|
332
|
+
*
|
|
333
|
+
* @type {Highcharts.ColorString}
|
|
334
|
+
* @default #cccccc
|
|
335
|
+
* @since 1.3.7
|
|
336
|
+
* @product highstock
|
|
337
|
+
* @apioption rangeSelector.inputBoxBorderColor
|
|
338
|
+
*/
|
|
339
|
+
|
|
340
|
+
/**
|
|
341
|
+
* The pixel height of the date input boxes.
|
|
342
|
+
*
|
|
343
|
+
* @sample {highstock} stock/rangeselector/styling/
|
|
344
|
+
* Styling the buttons and inputs
|
|
345
|
+
*
|
|
346
|
+
* @type {number}
|
|
347
|
+
* @default 17
|
|
348
|
+
* @since 1.3.7
|
|
349
|
+
* @product highstock
|
|
350
|
+
* @apioption rangeSelector.inputBoxHeight
|
|
351
|
+
*/
|
|
352
|
+
|
|
353
|
+
/**
|
|
354
|
+
* CSS for the container DIV holding the input boxes. Deprecated as
|
|
355
|
+
* of 1.2.5\. Use [inputPosition](#rangeSelector.inputPosition) instead.
|
|
356
|
+
*
|
|
357
|
+
* @sample {highstock} stock/rangeselector/styling/
|
|
358
|
+
* Styling the buttons and inputs
|
|
359
|
+
*
|
|
360
|
+
* @deprecated
|
|
361
|
+
* @type {Highcharts.CSSObject}
|
|
362
|
+
* @product highstock
|
|
363
|
+
* @apioption rangeSelector.inputBoxStyle
|
|
364
|
+
*/
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* The pixel width of the date input boxes.
|
|
368
|
+
*
|
|
369
|
+
* @sample {highstock} stock/rangeselector/styling/
|
|
370
|
+
* Styling the buttons and inputs
|
|
371
|
+
*
|
|
372
|
+
* @type {number}
|
|
373
|
+
* @default 90
|
|
374
|
+
* @since 1.3.7
|
|
375
|
+
* @product highstock
|
|
376
|
+
* @apioption rangeSelector.inputBoxWidth
|
|
377
|
+
*/
|
|
378
|
+
|
|
379
|
+
/**
|
|
380
|
+
* The date format in the input boxes when not selected for editing.
|
|
381
|
+
* Defaults to `%b %e, %Y`.
|
|
382
|
+
*
|
|
383
|
+
* @sample {highstock} stock/rangeselector/input-format/
|
|
384
|
+
* Milliseconds in the range selector
|
|
385
|
+
*
|
|
386
|
+
* @type {string}
|
|
387
|
+
* @default %b %e %Y,
|
|
388
|
+
* @product highstock
|
|
389
|
+
* @apioption rangeSelector.inputDateFormat
|
|
390
|
+
*/
|
|
391
|
+
|
|
392
|
+
/**
|
|
393
|
+
* A custom callback function to parse values entered in the input boxes
|
|
394
|
+
* and return a valid JavaScript time as milliseconds since 1970.
|
|
395
|
+
*
|
|
396
|
+
* @sample {highstock} stock/rangeselector/input-format/
|
|
397
|
+
* Milliseconds in the range selector
|
|
398
|
+
*
|
|
399
|
+
* @type {Function}
|
|
400
|
+
* @since 1.3.3
|
|
401
|
+
* @product highstock
|
|
402
|
+
* @apioption rangeSelector.inputDateParser
|
|
403
|
+
*/
|
|
404
|
+
|
|
405
|
+
/**
|
|
406
|
+
* The date format in the input boxes when they are selected for
|
|
407
|
+
* editing. This must be a format that is recognized by JavaScript
|
|
408
|
+
* Date.parse.
|
|
409
|
+
*
|
|
410
|
+
* @sample {highstock} stock/rangeselector/input-format/
|
|
411
|
+
* Milliseconds in the range selector
|
|
412
|
+
*
|
|
413
|
+
* @type {string}
|
|
414
|
+
* @default %Y-%m-%d
|
|
415
|
+
* @product highstock
|
|
416
|
+
* @apioption rangeSelector.inputEditDateFormat
|
|
417
|
+
*/
|
|
418
|
+
|
|
419
|
+
/**
|
|
420
|
+
* Enable or disable the date input boxes. Defaults to enabled when
|
|
421
|
+
* there is enough space, disabled if not (typically mobile).
|
|
422
|
+
*
|
|
423
|
+
* @sample {highstock} stock/rangeselector/input-datepicker/
|
|
424
|
+
* Extending the input with a jQuery UI datepicker
|
|
425
|
+
*
|
|
426
|
+
* @type {boolean}
|
|
427
|
+
* @default true
|
|
428
|
+
* @product highstock
|
|
429
|
+
* @apioption rangeSelector.inputEnabled
|
|
430
|
+
*/
|
|
431
|
+
|
|
131
432
|
/**
|
|
132
433
|
* Positioning for the input boxes. Allowed properties are `align`,
|
|
133
434
|
* `x` and `y`.
|
|
134
435
|
*
|
|
135
|
-
* @type
|
|
136
|
-
* @
|
|
137
|
-
* @
|
|
138
|
-
* @
|
|
436
|
+
* @type {*}
|
|
437
|
+
* @since 1.2.4
|
|
438
|
+
* @product highstock
|
|
439
|
+
* @apioption rangeSelector.inputPosition
|
|
139
440
|
*/
|
|
140
441
|
inputPosition: {
|
|
141
442
|
/**
|
|
142
443
|
* The alignment of the input box. Allowed properties are `left`,
|
|
143
444
|
* `center`, `right`.
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
445
|
+
*
|
|
446
|
+
* @sample {highstock} stock/rangeselector/input-button-position/
|
|
447
|
+
* Alignment
|
|
448
|
+
*
|
|
449
|
+
* @type {string}
|
|
450
|
+
* @default right
|
|
451
|
+
* @since 6.0.0
|
|
452
|
+
* @validvalue ["left", "center", "right"]
|
|
453
|
+
* @apioption rangeSelector.inputPosition.align
|
|
148
454
|
*/
|
|
149
455
|
align: 'right',
|
|
456
|
+
|
|
457
|
+
/**
|
|
458
|
+
* X offset of the input row.
|
|
459
|
+
*
|
|
460
|
+
* @type {number}
|
|
461
|
+
* @default 0
|
|
462
|
+
* @apioption rangeSelector.inputPosition.x
|
|
463
|
+
*/
|
|
150
464
|
x: 0,
|
|
465
|
+
|
|
466
|
+
/**
|
|
467
|
+
* Y offset of the input row.
|
|
468
|
+
*
|
|
469
|
+
* @type {number}
|
|
470
|
+
* @default 0
|
|
471
|
+
* @apioption rangeSelector.inputPosition.y
|
|
472
|
+
*/
|
|
151
473
|
y: 0
|
|
152
474
|
},
|
|
153
475
|
|
|
476
|
+
/**
|
|
477
|
+
* The index of the button to appear pre-selected.
|
|
478
|
+
*
|
|
479
|
+
* @type {number}
|
|
480
|
+
* @product highstock
|
|
481
|
+
* @apioption rangeSelector.selected
|
|
482
|
+
*/
|
|
483
|
+
|
|
154
484
|
/**
|
|
155
485
|
* Positioning for the button row.
|
|
156
486
|
*
|
|
157
|
-
* @
|
|
158
|
-
* @
|
|
487
|
+
* @type {*}
|
|
488
|
+
* @since 1.2.4
|
|
489
|
+
* @product highstock
|
|
490
|
+
* @apioption rangeSelector.buttonPosition
|
|
159
491
|
*/
|
|
160
492
|
buttonPosition: {
|
|
493
|
+
|
|
161
494
|
/**
|
|
162
495
|
* The alignment of the input box. Allowed properties are `left`,
|
|
163
496
|
* `center`, `right`.
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
497
|
+
*
|
|
498
|
+
* @sample {highstock} stock/rangeselector/input-button-position/
|
|
499
|
+
* Alignment
|
|
500
|
+
*
|
|
501
|
+
* @type {string}
|
|
502
|
+
* @default left
|
|
503
|
+
* @since 6.0.0
|
|
504
|
+
* @validvalue ["left", "center", "right"]
|
|
505
|
+
* @apioption rangeSelector.buttonPosition.align
|
|
169
506
|
*/
|
|
170
507
|
align: 'left',
|
|
508
|
+
|
|
171
509
|
/**
|
|
172
510
|
* X offset of the button row.
|
|
511
|
+
*
|
|
512
|
+
* @type {number}
|
|
513
|
+
* @default 0
|
|
514
|
+
* @apioption rangeSelector.buttonPosition.x
|
|
173
515
|
*/
|
|
174
516
|
x: 0,
|
|
517
|
+
|
|
175
518
|
/**
|
|
176
519
|
* Y offset of the button row.
|
|
520
|
+
*
|
|
521
|
+
* @type {number}
|
|
522
|
+
* @default 0
|
|
523
|
+
* @apioption rangeSelector.buttonPosition.y
|
|
177
524
|
*/
|
|
178
525
|
y: 0
|
|
179
526
|
},
|
|
180
|
-
|
|
181
|
-
// inputEditDateFormat: '%Y-%m-%d',
|
|
182
|
-
// inputEnabled: true,
|
|
183
|
-
// selected: undefined,
|
|
527
|
+
|
|
184
528
|
|
|
185
|
-
|
|
529
|
+
|
|
530
|
+
/**
|
|
531
|
+
* CSS for the HTML inputs in the range selector.
|
|
532
|
+
*
|
|
533
|
+
* In styled mode, the inputs are styled by the
|
|
534
|
+
* `.highcharts-range-input text` rule in SVG mode, and
|
|
535
|
+
* `input.highcharts-range-selector` when active.
|
|
536
|
+
*
|
|
537
|
+
* @sample {highstock} stock/rangeselector/styling/
|
|
538
|
+
* Styling the buttons and inputs
|
|
539
|
+
*
|
|
540
|
+
* @type {Highcharts.CSSObject}
|
|
541
|
+
* @product highstock
|
|
542
|
+
* @apioption rangeSelector.inputStyle
|
|
543
|
+
*/
|
|
186
544
|
|
|
187
545
|
/**
|
|
188
546
|
* CSS styles for the labels - the Zoom, From and To texts.
|
|
@@ -190,10 +548,12 @@ extend(defaultOptions, {
|
|
|
190
548
|
* In styled mode, the labels are styled by the
|
|
191
549
|
* `.highcharts-range-label` class.
|
|
192
550
|
*
|
|
193
|
-
* @type {CSSObject}
|
|
194
551
|
* @sample {highstock} stock/rangeselector/styling/
|
|
195
552
|
* Styling the buttons and inputs
|
|
196
|
-
*
|
|
553
|
+
*
|
|
554
|
+
* @type {Highcharts.CSSObject}
|
|
555
|
+
* @product highstock
|
|
556
|
+
* @apioption rangeSelector.labelStyle
|
|
197
557
|
*/
|
|
198
558
|
labelStyle: {
|
|
199
559
|
color: '#666666'
|
|
@@ -231,9 +591,10 @@ defaultOptions.lang = merge(
|
|
|
231
591
|
/**
|
|
232
592
|
* The text for the label for the range selector buttons.
|
|
233
593
|
*
|
|
234
|
-
* @type
|
|
235
|
-
* @default
|
|
236
|
-
* @product
|
|
594
|
+
* @type {string}
|
|
595
|
+
* @default Zoom
|
|
596
|
+
* @product highstock
|
|
597
|
+
* @apioption lang.rangeSelectorZoom
|
|
237
598
|
*/
|
|
238
599
|
rangeSelectorZoom: 'Zoom',
|
|
239
600
|
|
|
@@ -241,18 +602,20 @@ defaultOptions.lang = merge(
|
|
|
241
602
|
* The text for the label for the "from" input box in the range
|
|
242
603
|
* selector.
|
|
243
604
|
*
|
|
244
|
-
* @type
|
|
245
|
-
* @default
|
|
246
|
-
* @product
|
|
605
|
+
* @type {string}
|
|
606
|
+
* @default From
|
|
607
|
+
* @product highstock
|
|
608
|
+
* @apioption lang.rangeSelectorFrom
|
|
247
609
|
*/
|
|
248
610
|
rangeSelectorFrom: 'From',
|
|
249
611
|
|
|
250
612
|
/**
|
|
251
613
|
* The text for the label for the "to" input box in the range selector.
|
|
252
614
|
*
|
|
253
|
-
* @type
|
|
254
|
-
* @default
|
|
255
|
-
* @product
|
|
615
|
+
* @type {string}
|
|
616
|
+
* @default To
|
|
617
|
+
* @product highstock
|
|
618
|
+
* @apioption lang.rangeSelectorTo
|
|
256
619
|
*/
|
|
257
620
|
rangeSelectorTo: 'To'
|
|
258
621
|
}
|
|
@@ -260,8 +623,10 @@ defaultOptions.lang = merge(
|
|
|
260
623
|
|
|
261
624
|
/**
|
|
262
625
|
* The range selector.
|
|
263
|
-
*
|
|
264
|
-
* @
|
|
626
|
+
*
|
|
627
|
+
* @class Highcharts.RangeSelector
|
|
628
|
+
*
|
|
629
|
+
* @param {Highcharts.Chart} chart
|
|
265
630
|
*/
|
|
266
631
|
function RangeSelector(chart) {
|
|
267
632
|
|
|
@@ -273,9 +638,15 @@ RangeSelector.prototype = {
|
|
|
273
638
|
/**
|
|
274
639
|
* The method to run when one of the buttons in the range selectors is
|
|
275
640
|
* clicked
|
|
276
|
-
*
|
|
277
|
-
* @
|
|
278
|
-
*
|
|
641
|
+
*
|
|
642
|
+
* @function Highcharts.RangeSelector#clickButton
|
|
643
|
+
*
|
|
644
|
+
* @param {number} i
|
|
645
|
+
* The index of the button
|
|
646
|
+
*
|
|
647
|
+
* @param {boolean} redraw
|
|
648
|
+
*
|
|
649
|
+
* @return {void}
|
|
279
650
|
*/
|
|
280
651
|
clickButton: function (i, redraw) {
|
|
281
652
|
var rangeSelector = this,
|
|
@@ -317,6 +688,8 @@ RangeSelector.prototype = {
|
|
|
317
688
|
dataGrouping,
|
|
318
689
|
false
|
|
319
690
|
);
|
|
691
|
+
|
|
692
|
+
this.frozenStates = rangeOptions.preserveDataGrouping;
|
|
320
693
|
}
|
|
321
694
|
|
|
322
695
|
// Apply range
|
|
@@ -423,6 +796,12 @@ RangeSelector.prototype = {
|
|
|
423
796
|
/**
|
|
424
797
|
* Set the selected option. This method only sets the internal flag, it
|
|
425
798
|
* doesn't update the buttons or the actual zoomed range.
|
|
799
|
+
*
|
|
800
|
+
* @function Highcharts.RangeSelector#setSelected
|
|
801
|
+
*
|
|
802
|
+
* @param {boolean} selected
|
|
803
|
+
*
|
|
804
|
+
* @return {void}
|
|
426
805
|
*/
|
|
427
806
|
setSelected: function (selected) {
|
|
428
807
|
this.selected = this.options.selected = selected;
|
|
@@ -457,6 +836,12 @@ RangeSelector.prototype = {
|
|
|
457
836
|
|
|
458
837
|
/**
|
|
459
838
|
* Initialize the range selector
|
|
839
|
+
*
|
|
840
|
+
* @function Highcharts.RangeSelector#init
|
|
841
|
+
*
|
|
842
|
+
* @param {Highcharts.Chart} chart
|
|
843
|
+
*
|
|
844
|
+
* @return {void}
|
|
460
845
|
*/
|
|
461
846
|
init: function (chart) {
|
|
462
847
|
var rangeSelector = this,
|
|
@@ -505,7 +890,8 @@ RangeSelector.prototype = {
|
|
|
505
890
|
this.max - this.min !== chart.fixedRange &&
|
|
506
891
|
e.trigger !== 'rangeSelectorButton' &&
|
|
507
892
|
e.trigger !== 'updatedData' &&
|
|
508
|
-
rangeSelector.forcedDataGrouping
|
|
893
|
+
rangeSelector.forcedDataGrouping &&
|
|
894
|
+
!rangeSelector.frozenStates
|
|
509
895
|
) {
|
|
510
896
|
this.setDataGrouping(false, false);
|
|
511
897
|
}
|
|
@@ -517,6 +903,10 @@ RangeSelector.prototype = {
|
|
|
517
903
|
/**
|
|
518
904
|
* Dynamically update the range selector buttons after a new range has been
|
|
519
905
|
* set
|
|
906
|
+
*
|
|
907
|
+
* @function Highcharts.RangeSelector#updateButtonStates
|
|
908
|
+
*
|
|
909
|
+
* @return {void}
|
|
520
910
|
*/
|
|
521
911
|
updateButtonStates: function () {
|
|
522
912
|
var rangeSelector = this,
|
|
@@ -604,7 +994,8 @@ RangeSelector.prototype = {
|
|
|
604
994
|
);
|
|
605
995
|
select = (
|
|
606
996
|
(isSelected && isSameRange) ||
|
|
607
|
-
(isSameRange && !selectedExists && !isYTDButNotSelected)
|
|
997
|
+
(isSameRange && !selectedExists && !isYTDButNotSelected) ||
|
|
998
|
+
(isSelected && rangeSelector.frozenStates)
|
|
608
999
|
);
|
|
609
1000
|
|
|
610
1001
|
if (disable) {
|
|
@@ -623,6 +1014,12 @@ RangeSelector.prototype = {
|
|
|
623
1014
|
|
|
624
1015
|
/**
|
|
625
1016
|
* Compute and cache the range for an individual button
|
|
1017
|
+
*
|
|
1018
|
+
* @function Highcharts.RangeSelector#computeButtonRange
|
|
1019
|
+
*
|
|
1020
|
+
* @param {Highcharts.RangeSelectorOptions} rangeOptions
|
|
1021
|
+
*
|
|
1022
|
+
* @return {void}
|
|
626
1023
|
*/
|
|
627
1024
|
computeButtonRange: function (rangeOptions) {
|
|
628
1025
|
var type = rangeOptions.type,
|
|
@@ -655,8 +1052,14 @@ RangeSelector.prototype = {
|
|
|
655
1052
|
|
|
656
1053
|
/**
|
|
657
1054
|
* Set the internal and displayed value of a HTML input for the dates
|
|
658
|
-
*
|
|
659
|
-
* @
|
|
1055
|
+
*
|
|
1056
|
+
* @function Highcharts.RangeSelector#setInputValue
|
|
1057
|
+
*
|
|
1058
|
+
* @param {string} name
|
|
1059
|
+
*
|
|
1060
|
+
* @param {number} inputTime
|
|
1061
|
+
*
|
|
1062
|
+
* @return {void}
|
|
660
1063
|
*/
|
|
661
1064
|
setInputValue: function (name, inputTime) {
|
|
662
1065
|
var options = this.chart.options.rangeSelector,
|
|
@@ -680,6 +1083,13 @@ RangeSelector.prototype = {
|
|
|
680
1083
|
});
|
|
681
1084
|
},
|
|
682
1085
|
|
|
1086
|
+
/**
|
|
1087
|
+
* @function Highcharts.RangeSelector#showInput
|
|
1088
|
+
*
|
|
1089
|
+
* @param {string} name
|
|
1090
|
+
*
|
|
1091
|
+
* @return {void}
|
|
1092
|
+
*/
|
|
683
1093
|
showInput: function (name) {
|
|
684
1094
|
var inputGroup = this.inputGroup,
|
|
685
1095
|
dateBox = this[name + 'DateBox'];
|
|
@@ -693,6 +1103,13 @@ RangeSelector.prototype = {
|
|
|
693
1103
|
});
|
|
694
1104
|
},
|
|
695
1105
|
|
|
1106
|
+
/**
|
|
1107
|
+
* @function Highcharts.RangeSelector#hideInput
|
|
1108
|
+
*
|
|
1109
|
+
* @param {string} name
|
|
1110
|
+
*
|
|
1111
|
+
* @return {void}
|
|
1112
|
+
*/
|
|
696
1113
|
hideInput: function (name) {
|
|
697
1114
|
css(this[name + 'Input'], {
|
|
698
1115
|
border: 0,
|
|
@@ -704,7 +1121,12 @@ RangeSelector.prototype = {
|
|
|
704
1121
|
|
|
705
1122
|
/**
|
|
706
1123
|
* Draw either the 'from' or the 'to' HTML input box of the range selector
|
|
707
|
-
*
|
|
1124
|
+
*
|
|
1125
|
+
* @function Highcharts.RangeSelector#drawInput
|
|
1126
|
+
*
|
|
1127
|
+
* @param {string} name
|
|
1128
|
+
*
|
|
1129
|
+
* @return {void}
|
|
708
1130
|
*/
|
|
709
1131
|
drawInput: function (name) {
|
|
710
1132
|
var rangeSelector = this,
|
|
@@ -801,10 +1223,12 @@ RangeSelector.prototype = {
|
|
|
801
1223
|
padding: 2,
|
|
802
1224
|
width: options.inputBoxWidth || 90,
|
|
803
1225
|
height: options.inputBoxHeight || 17,
|
|
1226
|
+
'text-align': 'center',
|
|
1227
|
+
|
|
804
1228
|
stroke:
|
|
805
1229
|
options.inputBoxBorderColor || '#cccccc',
|
|
806
|
-
'stroke-width': 1
|
|
807
|
-
|
|
1230
|
+
'stroke-width': 1
|
|
1231
|
+
|
|
808
1232
|
})
|
|
809
1233
|
.on('click', function () {
|
|
810
1234
|
// If it is already focused, the onfocus event doesn't fire
|
|
@@ -870,6 +1294,10 @@ RangeSelector.prototype = {
|
|
|
870
1294
|
/**
|
|
871
1295
|
* Get the position of the range selector buttons and inputs. This can be
|
|
872
1296
|
* overridden from outside for custom positioning.
|
|
1297
|
+
*
|
|
1298
|
+
* @function Highcharts.RangeSelector#getPosition
|
|
1299
|
+
*
|
|
1300
|
+
* @return {Highcharts.Dictionary<number>}
|
|
873
1301
|
*/
|
|
874
1302
|
getPosition: function () {
|
|
875
1303
|
var chart = this.chart,
|
|
@@ -884,13 +1312,18 @@ RangeSelector.prototype = {
|
|
|
884
1312
|
};
|
|
885
1313
|
},
|
|
886
1314
|
/**
|
|
887
|
-
* Get the extremes of YTD.
|
|
888
|
-
* Will choose
|
|
889
|
-
*
|
|
890
|
-
*
|
|
1315
|
+
* Get the extremes of YTD. Will choose dataMax if its value is lower than
|
|
1316
|
+
* the current timestamp. Will choose dataMin if its value is higher than
|
|
1317
|
+
* the timestamp for the start of current year.
|
|
1318
|
+
*
|
|
1319
|
+
* @function Highcharts.RangeSelector#getYTDExtremes
|
|
1320
|
+
*
|
|
891
1321
|
* @param {number} dataMax
|
|
1322
|
+
*
|
|
892
1323
|
* @param {number} dataMin
|
|
893
|
-
*
|
|
1324
|
+
*
|
|
1325
|
+
* @return {*}
|
|
1326
|
+
* Returns min and max for the YTD
|
|
894
1327
|
*/
|
|
895
1328
|
getYTDExtremes: function (dataMax, dataMin, useUTC) {
|
|
896
1329
|
var time = this.chart.time,
|
|
@@ -912,8 +1345,16 @@ RangeSelector.prototype = {
|
|
|
912
1345
|
* Render the range selector including the buttons and the inputs. The first
|
|
913
1346
|
* time render is called, the elements are created and positioned. On
|
|
914
1347
|
* subsequent calls, they are moved and updated.
|
|
915
|
-
*
|
|
916
|
-
* @
|
|
1348
|
+
*
|
|
1349
|
+
* @function Highcharts.RangeSelector#render
|
|
1350
|
+
*
|
|
1351
|
+
* @param {number} min
|
|
1352
|
+
* X axis minimum
|
|
1353
|
+
*
|
|
1354
|
+
* @param {number} max
|
|
1355
|
+
* X axis maximum
|
|
1356
|
+
*
|
|
1357
|
+
* @return {void}
|
|
917
1358
|
*/
|
|
918
1359
|
render: function (min, max) {
|
|
919
1360
|
|
|
@@ -931,6 +1372,12 @@ RangeSelector.prototype = {
|
|
|
931
1372
|
lang = defaultOptions.lang,
|
|
932
1373
|
div = rangeSelector.div,
|
|
933
1374
|
options = chartOptions.rangeSelector,
|
|
1375
|
+
// Place inputs above the container
|
|
1376
|
+
inputsZIndex = pick(
|
|
1377
|
+
chartOptions.chart.style &&
|
|
1378
|
+
chartOptions.chart.style.zIndex,
|
|
1379
|
+
0
|
|
1380
|
+
) + 1,
|
|
934
1381
|
floating = options.floating,
|
|
935
1382
|
buttons = rangeSelector.buttons,
|
|
936
1383
|
inputGroup = rangeSelector.inputGroup,
|
|
@@ -951,6 +1398,7 @@ RangeSelector.prototype = {
|
|
|
951
1398
|
buttonPositionY = buttonPosition.y,
|
|
952
1399
|
inputPositionY = inputPosition.y,
|
|
953
1400
|
animate = rendered || false,
|
|
1401
|
+
verb = animate ? 'animate' : 'attr',
|
|
954
1402
|
exportingX = 0,
|
|
955
1403
|
alignTranslateY,
|
|
956
1404
|
legendHeight,
|
|
@@ -976,20 +1424,17 @@ RangeSelector.prototype = {
|
|
|
976
1424
|
|
|
977
1425
|
rangeSelector.zoomText = renderer.text(
|
|
978
1426
|
lang.rangeSelectorZoom,
|
|
979
|
-
|
|
1427
|
+
0,
|
|
1428
|
+
15
|
|
980
1429
|
)
|
|
981
1430
|
.css(options.labelStyle)
|
|
982
1431
|
.add(buttonGroup);
|
|
983
1432
|
|
|
984
|
-
// button start position
|
|
985
|
-
buttonLeft = pick(plotLeft + buttonPosition.x, plotLeft) +
|
|
986
|
-
rangeSelector.zoomText.getBBox().width + 5;
|
|
987
|
-
|
|
988
1433
|
each(rangeSelector.buttonOptions, function (rangeOptions, i) {
|
|
989
1434
|
|
|
990
1435
|
buttons[i] = renderer.button(
|
|
991
1436
|
rangeOptions.text,
|
|
992
|
-
|
|
1437
|
+
0,
|
|
993
1438
|
0,
|
|
994
1439
|
function () {
|
|
995
1440
|
|
|
@@ -1020,9 +1465,6 @@ RangeSelector.prototype = {
|
|
|
1020
1465
|
'text-align': 'center'
|
|
1021
1466
|
})
|
|
1022
1467
|
.add(buttonGroup);
|
|
1023
|
-
|
|
1024
|
-
// increase button position for the next button
|
|
1025
|
-
buttonLeft += buttons[i].width + pick(options.buttonSpacing, 5);
|
|
1026
1468
|
});
|
|
1027
1469
|
|
|
1028
1470
|
// first create a wrapper outside the container in order to make
|
|
@@ -1031,7 +1473,7 @@ RangeSelector.prototype = {
|
|
|
1031
1473
|
rangeSelector.div = div = createElement('div', null, {
|
|
1032
1474
|
position: 'relative',
|
|
1033
1475
|
height: 0,
|
|
1034
|
-
zIndex:
|
|
1476
|
+
zIndex: inputsZIndex
|
|
1035
1477
|
});
|
|
1036
1478
|
|
|
1037
1479
|
container.parentNode.insertBefore(div, container);
|
|
@@ -1046,6 +1488,22 @@ RangeSelector.prototype = {
|
|
|
1046
1488
|
}
|
|
1047
1489
|
}
|
|
1048
1490
|
|
|
1491
|
+
// #8769, allow dynamically updating margins
|
|
1492
|
+
rangeSelector.zoomText[verb]({
|
|
1493
|
+
x: pick(plotLeft + buttonPosition.x, plotLeft)
|
|
1494
|
+
});
|
|
1495
|
+
// button start position
|
|
1496
|
+
buttonLeft = pick(plotLeft + buttonPosition.x, plotLeft) +
|
|
1497
|
+
rangeSelector.zoomText.getBBox().width + 5;
|
|
1498
|
+
each(rangeSelector.buttonOptions, function (rangeOptions, i) {
|
|
1499
|
+
|
|
1500
|
+
buttons[i][verb]({ x: buttonLeft });
|
|
1501
|
+
|
|
1502
|
+
// increase button position for the next button
|
|
1503
|
+
buttonLeft += buttons[i].width + pick(options.buttonSpacing, 5);
|
|
1504
|
+
});
|
|
1505
|
+
|
|
1506
|
+
|
|
1049
1507
|
plotLeft = chart.plotLeft - chart.spacing[3];
|
|
1050
1508
|
rangeSelector.updateButtonStates();
|
|
1051
1509
|
|
|
@@ -1247,7 +1705,11 @@ RangeSelector.prototype = {
|
|
|
1247
1705
|
|
|
1248
1706
|
/**
|
|
1249
1707
|
* Extracts height of range selector
|
|
1250
|
-
*
|
|
1708
|
+
*
|
|
1709
|
+
* @function Highcharts.RangeSelector#getHeight
|
|
1710
|
+
*
|
|
1711
|
+
* @return {number}
|
|
1712
|
+
* Returns rangeSelector height
|
|
1251
1713
|
*/
|
|
1252
1714
|
getHeight: function () {
|
|
1253
1715
|
var rangeSelector = this,
|
|
@@ -1280,8 +1742,13 @@ RangeSelector.prototype = {
|
|
|
1280
1742
|
|
|
1281
1743
|
/**
|
|
1282
1744
|
* Detect collision with title or subtitle
|
|
1283
|
-
*
|
|
1284
|
-
* @
|
|
1745
|
+
*
|
|
1746
|
+
* @function Highcharts.RangeSelector#titleCollision
|
|
1747
|
+
*
|
|
1748
|
+
* @param {Highcharts.Chart} chart
|
|
1749
|
+
*
|
|
1750
|
+
* @return {boolean}
|
|
1751
|
+
* Returns collision status
|
|
1285
1752
|
*/
|
|
1286
1753
|
titleCollision: function (chart) {
|
|
1287
1754
|
return !(chart.options.title.text || chart.options.subtitle.text);
|
|
@@ -1289,7 +1756,12 @@ RangeSelector.prototype = {
|
|
|
1289
1756
|
|
|
1290
1757
|
/**
|
|
1291
1758
|
* Update the range selector with new options
|
|
1292
|
-
*
|
|
1759
|
+
*
|
|
1760
|
+
* @function Highcharts.RangeSelector#update
|
|
1761
|
+
*
|
|
1762
|
+
* @param {Highcharts.RangeSelectorOptions} options
|
|
1763
|
+
*
|
|
1764
|
+
* @return {void}
|
|
1293
1765
|
*/
|
|
1294
1766
|
update: function (options) {
|
|
1295
1767
|
var chart = this.chart;
|
|
@@ -1302,6 +1774,10 @@ RangeSelector.prototype = {
|
|
|
1302
1774
|
|
|
1303
1775
|
/**
|
|
1304
1776
|
* Destroys allocated elements.
|
|
1777
|
+
*
|
|
1778
|
+
* @function Highcharts.RangeSelector#destroy
|
|
1779
|
+
*
|
|
1780
|
+
* @return {void}
|
|
1305
1781
|
*/
|
|
1306
1782
|
destroy: function () {
|
|
1307
1783
|
var rSelector = this,
|
|
@@ -1341,6 +1817,18 @@ RangeSelector.prototype = {
|
|
|
1341
1817
|
/**
|
|
1342
1818
|
* Add logic to normalize the zoomed range in order to preserve the pressed
|
|
1343
1819
|
* state of range selector buttons
|
|
1820
|
+
*
|
|
1821
|
+
* @function Highcharts.Axis#toFixedRange
|
|
1822
|
+
*
|
|
1823
|
+
* @param {number} pxMin
|
|
1824
|
+
*
|
|
1825
|
+
* @param {number} pxMax
|
|
1826
|
+
*
|
|
1827
|
+
* @param {number} fixedMin
|
|
1828
|
+
*
|
|
1829
|
+
* @param {number} fixedMax
|
|
1830
|
+
*
|
|
1831
|
+
* @return {*}
|
|
1344
1832
|
*/
|
|
1345
1833
|
Axis.prototype.toFixedRange = function (pxMin, pxMax, fixedMin, fixedMax) {
|
|
1346
1834
|
var fixedRange = this.chart && this.chart.fixedRange,
|
|
@@ -1374,7 +1862,10 @@ Axis.prototype.toFixedRange = function (pxMin, pxMax, fixedMin, fixedMax) {
|
|
|
1374
1862
|
* selected range is a multiple of months or years, it is compensated for
|
|
1375
1863
|
* various month lengths.
|
|
1376
1864
|
*
|
|
1377
|
-
* @
|
|
1865
|
+
* @function Highcharts.Axis#minFromRange
|
|
1866
|
+
*
|
|
1867
|
+
* @return {number}
|
|
1868
|
+
* The new minimum value.
|
|
1378
1869
|
*/
|
|
1379
1870
|
Axis.prototype.minFromRange = function () {
|
|
1380
1871
|
var rangeOptions = this.range,
|
|
@@ -1471,20 +1962,32 @@ addEvent(Chart, 'update', function (e) {
|
|
|
1471
1962
|
|
|
1472
1963
|
var chart = this,
|
|
1473
1964
|
options = e.options,
|
|
1965
|
+
optionsRangeSelector = options.rangeSelector,
|
|
1474
1966
|
rangeSelector = chart.rangeSelector,
|
|
1475
|
-
verticalAlign
|
|
1967
|
+
verticalAlign,
|
|
1968
|
+
extraBottomMarginWas = this.extraBottomMargin,
|
|
1969
|
+
extraTopMarginWas = this.extraTopMargin;
|
|
1970
|
+
|
|
1971
|
+
if (
|
|
1972
|
+
optionsRangeSelector &&
|
|
1973
|
+
optionsRangeSelector.enabled &&
|
|
1974
|
+
!defined(rangeSelector)
|
|
1975
|
+
) {
|
|
1976
|
+
this.options.rangeSelector.enabled = true;
|
|
1977
|
+
this.rangeSelector = new RangeSelector(this);
|
|
1978
|
+
}
|
|
1979
|
+
|
|
1476
1980
|
|
|
1477
1981
|
this.extraBottomMargin = false;
|
|
1478
1982
|
this.extraTopMargin = false;
|
|
1479
|
-
this.isDirtyBox = true; // #7684 - ignored spacingBottom after update
|
|
1480
1983
|
|
|
1481
1984
|
if (rangeSelector) {
|
|
1482
1985
|
|
|
1483
1986
|
rangeSelector.render();
|
|
1484
1987
|
|
|
1485
1988
|
verticalAlign = (
|
|
1486
|
-
|
|
1487
|
-
|
|
1989
|
+
optionsRangeSelector &&
|
|
1990
|
+
optionsRangeSelector.verticalAlign
|
|
1488
1991
|
) || (
|
|
1489
1992
|
rangeSelector.options && rangeSelector.options.verticalAlign
|
|
1490
1993
|
);
|
|
@@ -1497,6 +2000,13 @@ addEvent(Chart, 'update', function (e) {
|
|
|
1497
2000
|
}
|
|
1498
2001
|
}
|
|
1499
2002
|
|
|
2003
|
+
if (
|
|
2004
|
+
this.extraBottomMargin !== extraBottomMarginWas ||
|
|
2005
|
+
this.extraTopMargin !== extraTopMarginWas
|
|
2006
|
+
) {
|
|
2007
|
+
this.isDirtyBox = true;
|
|
2008
|
+
}
|
|
2009
|
+
|
|
1500
2010
|
}
|
|
1501
2011
|
|
|
1502
2012
|
});
|