highcharts 6.1.4 → 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 +17 -0
- package/css/highcharts.scss +14 -0
- package/css/themes/dark-unica.css +17 -0
- package/css/themes/grid-light.css +17 -0
- package/css/themes/sand-signika.css +17 -0
- package/es-modules/indicators/momentum.src.js +1 -1
- package/es-modules/indicators/pivot-points.src.js +6 -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 +1 -1
- package/es-modules/mixins/on-series.js +1 -1
- package/es-modules/modules/boost.src.js +22 -14
- package/es-modules/modules/broken-axis.src.js +169 -134
- package/es-modules/modules/data.src.js +2 -2
- package/es-modules/modules/draggable-points.src.js +2257 -0
- package/es-modules/modules/drilldown.src.js +1 -0
- package/es-modules/modules/export-data.src.js +1 -1
- package/es-modules/modules/exporting.src.js +1 -1
- package/es-modules/modules/funnel.src.js +1 -1
- package/es-modules/modules/item-series.src.js +1 -1
- package/es-modules/modules/no-data-to-display.src.js +5 -5
- package/es-modules/modules/oldie.src.js +1 -1
- package/es-modules/modules/overlapping-datalabels.src.js +38 -22
- package/es-modules/modules/parallel-coordinates.src.js +3 -2
- package/es-modules/modules/sankey.src.js +1 -1
- package/es-modules/modules/series-label.src.js +2 -2
- package/es-modules/modules/solid-gauge.src.js +1 -1
- package/es-modules/modules/static-scale.src.js +67 -28
- package/es-modules/modules/streamgraph.src.js +1 -1
- package/es-modules/modules/tilemap.src.js +231 -134
- package/es-modules/modules/variwide.src.js +1 -1
- package/es-modules/modules/vector.src.js +92 -22
- package/es-modules/modules/windbarb.src.js +1 -1
- package/es-modules/modules/xrange.src.js +257 -77
- package/es-modules/parts/AreaSeries.js +77 -77
- package/es-modules/parts/AreaSplineSeries.js +64 -27
- package/es-modules/parts/Axis.js +160 -67
- package/es-modules/parts/BarSeries.js +68 -51
- package/es-modules/parts/CandlestickSeries.js +1 -1
- package/es-modules/parts/Chart.js +31 -55
- package/es-modules/parts/Color.js +29 -18
- package/es-modules/parts/ColumnSeries.js +264 -142
- package/es-modules/parts/DataGrouping.js +9 -6
- package/es-modules/parts/DataLabels.js +261 -210
- package/es-modules/parts/DateTimeAxis.js +26 -7
- package/es-modules/parts/Dynamics.js +5 -2
- package/es-modules/parts/FlagsSeries.js +1 -1
- package/es-modules/parts/Globals.js +1 -1
- package/es-modules/parts/Html.js +64 -12
- package/es-modules/parts/Interaction.js +187 -63
- package/es-modules/parts/Legend.js +7 -3
- package/es-modules/parts/LogarithmicAxis.js +35 -4
- package/es-modules/parts/MSPointer.js +1 -1
- package/es-modules/parts/Navigator.js +27 -5
- package/es-modules/parts/OHLCSeries.js +1 -1
- package/es-modules/parts/Options.js +15 -13
- package/es-modules/parts/OrdinalAxis.js +1 -1
- package/es-modules/parts/PieSeries.js +256 -140
- package/es-modules/parts/PlotBandSeries.experimental.js +1 -1
- package/es-modules/parts/PlotLineOrBand.js +7 -40
- package/es-modules/parts/Point.js +28 -4
- package/es-modules/parts/Pointer.js +8 -6
- package/es-modules/parts/RangeSelector.js +1 -1
- package/es-modules/parts/Responsive.js +82 -36
- package/es-modules/parts/ScatterSeries.js +57 -25
- package/es-modules/parts/ScrollablePlotArea.js +17 -7
- package/es-modules/parts/Scrollbar.js +9 -2
- package/es-modules/parts/Series.js +22 -9
- package/es-modules/parts/SplineSeries.js +51 -29
- package/es-modules/parts/Stacking.js +100 -6
- package/es-modules/parts/StockChart.js +9 -3
- package/es-modules/parts/SvgRenderer.js +15 -10
- package/es-modules/parts/Tick.js +150 -30
- package/es-modules/parts/Time.js +23 -5
- package/es-modules/parts/Tooltip.js +2 -2
- package/es-modules/parts/TouchPointer.js +1 -1
- package/es-modules/parts/Utilities.js +16 -1
- package/es-modules/parts-3d/Axis.js +1 -1
- package/es-modules/parts-3d/Chart.js +1 -1
- 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 +1 -1
- package/es-modules/parts-3d/Scatter.js +1 -1
- 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 +1 -1
- package/es-modules/parts-map/ColorSeriesMixin.js +1 -1
- package/es-modules/parts-map/GeoJSON.js +1 -1
- package/es-modules/parts-map/HeatmapSeries.js +124 -53
- package/es-modules/parts-map/Map.js +1 -1
- package/es-modules/parts-map/MapAxis.js +1 -1
- package/es-modules/parts-map/MapBubbleSeries.js +1 -1
- package/es-modules/parts-map/MapLineSeries.js +1 -1
- package/es-modules/parts-map/MapNavigation.js +1 -1
- package/es-modules/parts-map/MapPointSeries.js +1 -1
- package/es-modules/parts-map/MapPointer.js +1 -1
- package/es-modules/parts-map/MapSeries.js +2 -2
- package/es-modules/parts-more/AreaRangeSeries.js +80 -38
- package/es-modules/parts-more/AreaSplineRangeSeries.js +1 -1
- package/es-modules/parts-more/BoxPlotSeries.js +1 -1
- package/es-modules/parts-more/BubbleSeries.js +1 -1
- package/es-modules/parts-more/ColumnRangeSeries.js +1 -1
- package/es-modules/parts-more/ErrorBarSeries.js +1 -1
- package/es-modules/parts-more/GaugeSeries.js +1 -1
- package/es-modules/parts-more/Pane.js +2 -1
- package/es-modules/parts-more/Polar.js +1 -1
- package/es-modules/parts-more/PolygonSeries.js +1 -1
- package/es-modules/parts-more/RadialAxis.js +5 -4
- package/es-modules/parts-more/WaterfallSeries.js +1 -1
- 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 +1 -1
- package/highcharts-3d.src.js +10 -10
- package/highcharts-gantt.js +503 -0
- package/highcharts-gantt.js.map +1 -0
- package/highcharts-gantt.src.js +49289 -0
- package/highcharts-more.js +65 -64
- package/highcharts-more.js.map +1 -1
- package/highcharts-more.src.js +97 -53
- package/highcharts.js +415 -410
- package/highcharts.js.map +1 -1
- package/highcharts.src.js +2170 -1128
- package/highmaps.js +443 -438
- package/highmaps.js.map +1 -1
- package/highmaps.src.js +1647 -849
- package/highstock.js +553 -548
- package/highstock.js.map +1 -1
- package/highstock.src.js +2398 -1283
- package/indicators/accumulation-distribution.js +1 -1
- package/indicators/accumulation-distribution.src.js +1 -1
- package/indicators/atr.js +1 -1
- package/indicators/atr.src.js +1 -1
- package/indicators/bollinger-bands.js +1 -1
- package/indicators/bollinger-bands.src.js +1 -1
- package/indicators/cci.js +1 -1
- package/indicators/cci.src.js +1 -1
- package/indicators/cmf.js +1 -1
- package/indicators/cmf.src.js +1 -1
- package/indicators/ema.js +1 -1
- package/indicators/ema.src.js +1 -1
- package/indicators/ichimoku-kinko-hyo.js +1 -1
- package/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/indicators/indicators.js +1 -1
- package/indicators/indicators.src.js +1 -1
- package/indicators/macd.js +1 -1
- package/indicators/macd.src.js +1 -1
- package/indicators/mfi.js +1 -1
- package/indicators/mfi.src.js +1 -1
- package/indicators/momentum.js +1 -1
- package/indicators/momentum.src.js +2 -2
- package/indicators/pivot-points.js +4 -4
- package/indicators/pivot-points.js.map +1 -1
- package/indicators/pivot-points.src.js +7 -2
- package/indicators/price-envelopes.js +1 -1
- package/indicators/price-envelopes.src.js +1 -1
- package/indicators/psar.js +1 -1
- package/indicators/psar.src.js +1 -1
- package/indicators/roc.js +1 -1
- package/indicators/roc.src.js +1 -1
- package/indicators/rsi.js +1 -1
- package/indicators/rsi.src.js +1 -1
- package/indicators/stochastic.js +1 -1
- package/indicators/stochastic.src.js +1 -1
- package/indicators/volume-by-price.js +1 -1
- package/indicators/volume-by-price.src.js +1 -1
- package/indicators/vwap.js +1 -1
- package/indicators/vwap.src.js +1 -1
- package/indicators/wma.js +1 -1
- package/indicators/wma.src.js +1 -1
- package/indicators/zigzag.js +1 -1
- package/indicators/zigzag.src.js +1 -1
- package/js/es-modules/indicators/momentum.src.js +1 -1
- package/js/es-modules/indicators/pivot-points.src.js +6 -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 +1 -1
- package/js/es-modules/mixins/on-series.js +1 -1
- package/js/es-modules/modules/boost.src.js +22 -14
- package/js/es-modules/modules/broken-axis.src.js +169 -134
- package/js/es-modules/modules/data.src.js +2 -2
- package/js/es-modules/modules/draggable-points.src.js +2257 -0
- package/js/es-modules/modules/drilldown.src.js +1 -0
- package/js/es-modules/modules/export-data.src.js +1 -1
- package/js/es-modules/modules/exporting.src.js +1 -1
- package/js/es-modules/modules/funnel.src.js +1 -1
- package/js/es-modules/modules/item-series.src.js +1 -1
- package/js/es-modules/modules/no-data-to-display.src.js +5 -5
- package/js/es-modules/modules/oldie.src.js +1 -1
- package/js/es-modules/modules/overlapping-datalabels.src.js +38 -22
- package/js/es-modules/modules/parallel-coordinates.src.js +3 -2
- package/js/es-modules/modules/sankey.src.js +1 -1
- package/js/es-modules/modules/series-label.src.js +2 -2
- package/js/es-modules/modules/solid-gauge.src.js +1 -1
- package/js/es-modules/modules/static-scale.src.js +67 -28
- package/js/es-modules/modules/streamgraph.src.js +1 -1
- package/js/es-modules/modules/tilemap.src.js +231 -134
- package/js/es-modules/modules/variwide.src.js +1 -1
- package/js/es-modules/modules/vector.src.js +92 -22
- package/js/es-modules/modules/windbarb.src.js +1 -1
- package/js/es-modules/modules/xrange.src.js +255 -68
- package/js/es-modules/parts/AreaSeries.js +77 -77
- package/js/es-modules/parts/AreaSplineSeries.js +64 -27
- package/js/es-modules/parts/Axis.js +160 -67
- package/js/es-modules/parts/BarSeries.js +68 -51
- package/js/es-modules/parts/CandlestickSeries.js +1 -1
- package/js/es-modules/parts/Chart.js +31 -55
- package/js/es-modules/parts/Color.js +29 -18
- package/js/es-modules/parts/ColumnSeries.js +231 -123
- package/js/es-modules/parts/DataGrouping.js +9 -6
- package/js/es-modules/parts/DataLabels.js +230 -182
- package/js/es-modules/parts/DateTimeAxis.js +26 -7
- package/js/es-modules/parts/Dynamics.js +5 -2
- package/js/es-modules/parts/FlagsSeries.js +1 -1
- package/js/es-modules/parts/Globals.js +1 -1
- package/js/es-modules/parts/Html.js +64 -12
- package/js/es-modules/parts/Interaction.js +178 -61
- package/js/es-modules/parts/Legend.js +7 -3
- package/js/es-modules/parts/LogarithmicAxis.js +35 -4
- package/js/es-modules/parts/MSPointer.js +1 -1
- package/js/es-modules/parts/Navigator.js +27 -5
- package/js/es-modules/parts/OHLCSeries.js +1 -1
- package/js/es-modules/parts/Options.js +13 -12
- package/js/es-modules/parts/OrdinalAxis.js +1 -1
- package/js/es-modules/parts/PieSeries.js +245 -132
- package/js/es-modules/parts/PlotBandSeries.experimental.js +1 -1
- package/js/es-modules/parts/PlotLineOrBand.js +7 -40
- package/js/es-modules/parts/Point.js +28 -4
- package/js/es-modules/parts/Pointer.js +8 -6
- package/js/es-modules/parts/RangeSelector.js +1 -1
- package/js/es-modules/parts/Responsive.js +82 -36
- package/js/es-modules/parts/ScatterSeries.js +56 -25
- package/js/es-modules/parts/ScrollablePlotArea.js +17 -7
- package/js/es-modules/parts/Scrollbar.js +9 -2
- package/js/es-modules/parts/Series.js +22 -9
- package/js/es-modules/parts/SplineSeries.js +51 -29
- package/js/es-modules/parts/Stacking.js +100 -6
- package/js/es-modules/parts/StockChart.js +9 -3
- package/js/es-modules/parts/SvgRenderer.js +15 -10
- package/js/es-modules/parts/Tick.js +150 -30
- package/js/es-modules/parts/Time.js +23 -5
- package/js/es-modules/parts/Tooltip.js +2 -2
- package/js/es-modules/parts/TouchPointer.js +1 -1
- package/js/es-modules/parts/Utilities.js +16 -1
- package/js/es-modules/parts-3d/Axis.js +1 -1
- package/js/es-modules/parts-3d/Chart.js +1 -1
- 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 +1 -1
- package/js/es-modules/parts-3d/Scatter.js +1 -1
- 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 +1 -1
- package/js/es-modules/parts-map/ColorSeriesMixin.js +1 -1
- package/js/es-modules/parts-map/GeoJSON.js +1 -1
- package/js/es-modules/parts-map/HeatmapSeries.js +122 -52
- package/js/es-modules/parts-map/Map.js +1 -1
- package/js/es-modules/parts-map/MapAxis.js +1 -1
- package/js/es-modules/parts-map/MapBubbleSeries.js +1 -1
- package/js/es-modules/parts-map/MapLineSeries.js +1 -1
- package/js/es-modules/parts-map/MapNavigation.js +1 -1
- package/js/es-modules/parts-map/MapPointSeries.js +1 -1
- package/js/es-modules/parts-map/MapPointer.js +1 -1
- package/js/es-modules/parts-map/MapSeries.js +2 -2
- package/js/es-modules/parts-more/AreaRangeSeries.js +80 -38
- package/js/es-modules/parts-more/AreaSplineRangeSeries.js +1 -1
- package/js/es-modules/parts-more/BoxPlotSeries.js +1 -1
- package/js/es-modules/parts-more/BubbleSeries.js +1 -1
- package/js/es-modules/parts-more/ColumnRangeSeries.js +1 -1
- package/js/es-modules/parts-more/ErrorBarSeries.js +1 -1
- package/js/es-modules/parts-more/GaugeSeries.js +1 -1
- package/js/es-modules/parts-more/Pane.js +2 -1
- package/js/es-modules/parts-more/Polar.js +1 -1
- package/js/es-modules/parts-more/PolygonSeries.js +1 -1
- package/js/es-modules/parts-more/RadialAxis.js +5 -4
- package/js/es-modules/parts-more/WaterfallSeries.js +1 -1
- 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 +1 -1
- package/js/highcharts-3d.src.js +10 -10
- 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 +62 -61
- package/js/highcharts-more.js.map +1 -1
- package/js/highcharts-more.src.js +97 -53
- package/js/highcharts.js +394 -390
- package/js/highcharts.js.map +1 -1
- package/js/highcharts.src.js +2083 -1070
- package/js/highmaps.js +420 -416
- package/js/highmaps.js.map +1 -1
- package/js/highmaps.src.js +1569 -798
- package/js/highstock.js +526 -520
- package/js/highstock.js.map +1 -1
- package/js/highstock.src.js +2311 -1225
- package/js/indicators/accumulation-distribution.js +1 -1
- package/js/indicators/accumulation-distribution.src.js +1 -1
- package/js/indicators/atr.js +1 -1
- package/js/indicators/atr.src.js +1 -1
- package/js/indicators/bollinger-bands.js +1 -1
- package/js/indicators/bollinger-bands.src.js +1 -1
- package/js/indicators/cci.js +1 -1
- package/js/indicators/cci.src.js +1 -1
- package/js/indicators/cmf.js +1 -1
- package/js/indicators/cmf.src.js +1 -1
- package/js/indicators/ema.js +1 -1
- package/js/indicators/ema.src.js +1 -1
- package/js/indicators/ichimoku-kinko-hyo.js +1 -1
- package/js/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/js/indicators/indicators.js +1 -1
- package/js/indicators/indicators.src.js +1 -1
- package/js/indicators/macd.js +1 -1
- package/js/indicators/macd.src.js +1 -1
- package/js/indicators/mfi.js +1 -1
- package/js/indicators/mfi.src.js +1 -1
- package/js/indicators/momentum.js +1 -1
- package/js/indicators/momentum.src.js +2 -2
- package/js/indicators/pivot-points.js +4 -4
- package/js/indicators/pivot-points.js.map +1 -1
- package/js/indicators/pivot-points.src.js +7 -2
- package/js/indicators/price-envelopes.js +1 -1
- package/js/indicators/price-envelopes.src.js +1 -1
- package/js/indicators/psar.js +1 -1
- package/js/indicators/psar.src.js +1 -1
- package/js/indicators/roc.js +1 -1
- package/js/indicators/roc.src.js +1 -1
- package/js/indicators/rsi.js +1 -1
- package/js/indicators/rsi.src.js +1 -1
- package/js/indicators/stochastic.js +1 -1
- package/js/indicators/stochastic.src.js +1 -1
- package/js/indicators/volume-by-price.js +1 -1
- package/js/indicators/volume-by-price.src.js +1 -1
- package/js/indicators/vwap.js +1 -1
- package/js/indicators/vwap.src.js +1 -1
- package/js/indicators/wma.js +1 -1
- package/js/indicators/wma.src.js +1 -1
- package/js/indicators/zigzag.js +1 -1
- package/js/indicators/zigzag.src.js +1 -1
- package/js/modules/accessibility.js +1 -1
- package/js/modules/accessibility.src.js +1 -1
- package/js/modules/annotations.js +2 -2
- package/js/modules/annotations.src.js +2 -2
- 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 +1 -1
- package/js/modules/boost-canvas.src.js +1 -1
- package/js/modules/boost.js +43 -43
- package/js/modules/boost.js.map +1 -1
- package/js/modules/boost.src.js +23 -15
- package/js/modules/broken-axis.js +11 -10
- package/js/modules/broken-axis.js.map +1 -1
- package/js/modules/broken-axis.src.js +171 -136
- package/js/modules/bullet.js +1 -1
- package/js/modules/bullet.src.js +1 -1
- 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 +2 -2
- package/js/modules/data.src.js +4 -4
- package/js/modules/drag-panes.js +1 -1
- package/js/modules/drag-panes.src.js +1 -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 +1 -1
- package/js/modules/drilldown.js.map +1 -1
- package/js/modules/drilldown.src.js +2 -1
- package/js/modules/export-data.js +2 -2
- package/js/modules/export-data.src.js +3 -3
- package/js/modules/exporting.js +2 -2
- package/js/modules/exporting.src.js +3 -3
- package/js/modules/funnel.js +2 -2
- package/js/modules/funnel.src.js +3 -3
- package/js/modules/gantt.js +80 -18
- package/js/modules/gantt.js.map +1 -1
- package/js/modules/gantt.src.js +5490 -372
- package/js/modules/grid-axis.js +15 -11
- package/js/modules/grid-axis.js.map +1 -1
- package/js/modules/grid-axis.src.js +731 -293
- package/js/modules/heatmap.js +2 -2
- package/js/modules/heatmap.js.map +1 -1
- package/js/modules/heatmap.src.js +126 -56
- package/js/modules/histogram-bellcurve.js +1 -1
- package/js/modules/histogram-bellcurve.src.js +1 -1
- package/js/modules/item-series.js +2 -2
- package/js/modules/item-series.src.js +3 -3
- package/js/modules/map.js +2 -2
- package/js/modules/map.js.map +1 -1
- package/js/modules/map.src.js +137 -67
- package/js/modules/no-data-to-display.js +1 -1
- package/js/modules/no-data-to-display.src.js +6 -6
- package/js/modules/offline-exporting.js +2 -2
- package/js/modules/offline-exporting.src.js +2 -2
- package/js/modules/oldie.js +2 -2
- package/js/modules/oldie.src.js +3 -3
- package/js/modules/overlapping-datalabels.js +2 -2
- package/js/modules/overlapping-datalabels.src.js +2 -2
- package/js/modules/parallel-coordinates.js +9 -9
- package/js/modules/parallel-coordinates.js.map +1 -1
- package/js/modules/parallel-coordinates.src.js +4 -3
- package/js/modules/pareto.js +1 -1
- package/js/modules/pareto.src.js +1 -1
- 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 +1 -1
- package/js/modules/pattern-fill.src.js +1 -1
- package/js/modules/sankey.js +2 -2
- package/js/modules/sankey.src.js +3 -3
- package/js/modules/series-label.js +2 -2
- package/js/modules/series-label.src.js +4 -4
- package/js/modules/solid-gauge.js +2 -2
- package/js/modules/solid-gauge.src.js +3 -3
- package/js/modules/static-scale.js +3 -3
- package/js/modules/static-scale.js.map +1 -1
- package/js/modules/static-scale.src.js +65 -26
- package/js/modules/stock.js +135 -134
- package/js/modules/stock.js.map +1 -1
- package/js/modules/stock.src.js +230 -157
- package/js/modules/streamgraph.js +2 -2
- package/js/modules/streamgraph.src.js +3 -3
- package/js/modules/sunburst.js +1 -1
- package/js/modules/sunburst.src.js +1 -1
- package/js/modules/tilemap.js +1 -1
- package/js/modules/tilemap.js.map +1 -1
- package/js/modules/tilemap.src.js +355 -188
- 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 +1 -1
- package/js/modules/treemap.src.js +1 -1
- package/js/modules/variable-pie.js +1 -1
- package/js/modules/variable-pie.src.js +1 -1
- package/js/modules/variwide.js +2 -2
- package/js/modules/variwide.src.js +3 -3
- package/js/modules/vector.js +2 -2
- package/js/modules/vector.js.map +1 -1
- package/js/modules/vector.src.js +94 -24
- package/js/modules/windbarb.js +2 -2
- package/js/modules/windbarb.src.js +4 -4
- package/js/modules/wordcloud.js +1 -1
- package/js/modules/wordcloud.src.js +1 -1
- package/js/modules/xrange.js +11 -10
- package/js/modules/xrange.js.map +1 -1
- package/js/modules/xrange.src.js +257 -70
- package/js/themes/avocado.js +1 -1
- package/js/themes/avocado.src.js +1 -1
- package/js/themes/dark-blue.js +2 -2
- package/js/themes/dark-blue.src.js +3 -3
- package/js/themes/dark-green.js +2 -2
- package/js/themes/dark-green.src.js +3 -3
- package/js/themes/dark-unica.js +2 -2
- package/js/themes/dark-unica.src.js +3 -3
- package/js/themes/gray.js +2 -2
- package/js/themes/gray.src.js +3 -3
- package/js/themes/grid-light.js +2 -2
- package/js/themes/grid-light.src.js +3 -3
- package/js/themes/grid.js +2 -2
- package/js/themes/grid.src.js +3 -3
- package/js/themes/sand-signika.js +2 -2
- package/js/themes/sand-signika.src.js +3 -3
- package/js/themes/skies.js +2 -2
- package/js/themes/skies.src.js +3 -3
- package/js/themes/sunset.js +1 -1
- package/js/themes/sunset.src.js +1 -1
- package/modules/accessibility.js +1 -1
- package/modules/accessibility.src.js +1 -1
- package/modules/annotations.js +2 -2
- package/modules/annotations.src.js +2 -2
- 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 +1 -1
- package/modules/boost-canvas.src.js +1 -1
- package/modules/boost.js +36 -36
- package/modules/boost.js.map +1 -1
- package/modules/boost.src.js +23 -15
- package/modules/broken-axis.js +11 -10
- package/modules/broken-axis.js.map +1 -1
- package/modules/broken-axis.src.js +171 -136
- package/modules/bullet.js +1 -1
- package/modules/bullet.src.js +1 -1
- 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 +2 -2
- package/modules/data.src.js +4 -4
- package/modules/drag-panes.js +1 -1
- package/modules/drag-panes.src.js +1 -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 +1 -1
- package/modules/drilldown.js.map +1 -1
- package/modules/drilldown.src.js +2 -1
- package/modules/export-data.js +2 -2
- package/modules/export-data.src.js +3 -3
- package/modules/exporting.js +2 -2
- package/modules/exporting.src.js +3 -3
- package/modules/funnel.js +2 -2
- package/modules/funnel.src.js +3 -3
- package/modules/gantt.js +83 -19
- package/modules/gantt.js.map +1 -1
- package/modules/gantt.src.js +5553 -379
- package/modules/grid-axis.js +16 -11
- package/modules/grid-axis.js.map +1 -1
- package/modules/grid-axis.src.js +732 -293
- package/modules/heatmap.js +2 -2
- package/modules/heatmap.js.map +1 -1
- package/modules/heatmap.src.js +128 -57
- package/modules/histogram-bellcurve.js +1 -1
- package/modules/histogram-bellcurve.src.js +1 -1
- package/modules/item-series.js +2 -2
- package/modules/item-series.src.js +3 -3
- package/modules/map.js +2 -2
- package/modules/map.js.map +1 -1
- package/modules/map.src.js +139 -68
- package/modules/no-data-to-display.js +1 -1
- package/modules/no-data-to-display.src.js +6 -6
- package/modules/offline-exporting.js +2 -2
- package/modules/offline-exporting.src.js +2 -2
- package/modules/oldie.js +2 -2
- package/modules/oldie.src.js +3 -3
- package/modules/overlapping-datalabels.js +2 -2
- package/modules/overlapping-datalabels.src.js +2 -2
- package/modules/parallel-coordinates.js +8 -8
- package/modules/parallel-coordinates.js.map +1 -1
- package/modules/parallel-coordinates.src.js +4 -3
- package/modules/pareto.js +1 -1
- package/modules/pareto.src.js +1 -1
- 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 +1 -1
- package/modules/pattern-fill.src.js +1 -1
- package/modules/sankey.js +2 -2
- package/modules/sankey.src.js +3 -3
- package/modules/series-label.js +2 -2
- package/modules/series-label.src.js +4 -4
- package/modules/solid-gauge.js +2 -2
- package/modules/solid-gauge.src.js +3 -3
- package/modules/static-scale.js +3 -3
- package/modules/static-scale.js.map +1 -1
- package/modules/static-scale.src.js +65 -26
- package/modules/stock.js +142 -142
- package/modules/stock.js.map +1 -1
- package/modules/stock.src.js +230 -157
- package/modules/streamgraph.js +2 -2
- package/modules/streamgraph.src.js +3 -3
- package/modules/sunburst.js +1 -1
- package/modules/sunburst.src.js +1 -1
- package/modules/tilemap.js +1 -1
- package/modules/tilemap.js.map +1 -1
- package/modules/tilemap.src.js +357 -189
- package/modules/treegrid.js +52 -0
- package/modules/treegrid.js.map +1 -0
- package/modules/treegrid.src.js +2797 -0
- package/modules/treemap.js +1 -1
- package/modules/treemap.src.js +1 -1
- package/modules/variable-pie.js +1 -1
- package/modules/variable-pie.src.js +1 -1
- package/modules/variwide.js +2 -2
- package/modules/variwide.src.js +3 -3
- package/modules/vector.js +2 -2
- package/modules/vector.js.map +1 -1
- package/modules/vector.src.js +94 -24
- package/modules/windbarb.js +2 -2
- package/modules/windbarb.src.js +4 -4
- package/modules/wordcloud.js +1 -1
- package/modules/wordcloud.src.js +1 -1
- package/modules/xrange.js +12 -11
- package/modules/xrange.js.map +1 -1
- package/modules/xrange.src.js +259 -79
- package/package.json +1 -1
- package/themes/avocado.js +1 -1
- package/themes/avocado.src.js +1 -1
- package/themes/dark-blue.js +2 -2
- package/themes/dark-blue.src.js +3 -3
- package/themes/dark-green.js +2 -2
- package/themes/dark-green.src.js +3 -3
- package/themes/dark-unica.js +2 -2
- package/themes/dark-unica.src.js +3 -3
- package/themes/gray.js +2 -2
- package/themes/gray.src.js +3 -3
- package/themes/grid-light.js +2 -2
- package/themes/grid-light.src.js +3 -3
- package/themes/grid.js +2 -2
- package/themes/grid.src.js +3 -3
- package/themes/sand-signika.js +2 -2
- package/themes/sand-signika.src.js +3 -3
- package/themes/skies.js +2 -2
- package/themes/skies.src.js +3 -3
- package/themes/sunset.js +1 -1
- package/themes/sunset.src.js +1 -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
|
*/
|
|
@@ -168,7 +168,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
168
168
|
*
|
|
169
169
|
* @type {boolean}
|
|
170
170
|
* @default true
|
|
171
|
-
* @product highcharts highstock
|
|
171
|
+
* @product highcharts highstock gantt
|
|
172
172
|
* @apioption xAxis.alignTicks
|
|
173
173
|
*/
|
|
174
174
|
|
|
@@ -219,7 +219,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
219
219
|
*
|
|
220
220
|
* @type {Array<*>}
|
|
221
221
|
* @since 4.1.0
|
|
222
|
-
* @product highcharts highstock
|
|
222
|
+
* @product highcharts highstock gantt
|
|
223
223
|
* @apioption xAxis.breaks
|
|
224
224
|
*/
|
|
225
225
|
|
|
@@ -232,7 +232,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
232
232
|
* @type {number}
|
|
233
233
|
* @default 0
|
|
234
234
|
* @since 4.1.0
|
|
235
|
-
* @product highcharts highstock
|
|
235
|
+
* @product highcharts highstock gantt
|
|
236
236
|
* @apioption xAxis.breaks.breakSize
|
|
237
237
|
*/
|
|
238
238
|
|
|
@@ -241,7 +241,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
241
241
|
*
|
|
242
242
|
* @type {number}
|
|
243
243
|
* @since 4.1.0
|
|
244
|
-
* @product highcharts highstock
|
|
244
|
+
* @product highcharts highstock gantt
|
|
245
245
|
* @apioption xAxis.breaks.from
|
|
246
246
|
*/
|
|
247
247
|
|
|
@@ -252,7 +252,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
252
252
|
* @type {number}
|
|
253
253
|
* @default 0
|
|
254
254
|
* @since 4.1.0
|
|
255
|
-
* @product highcharts highstock
|
|
255
|
+
* @product highcharts highstock gantt
|
|
256
256
|
* @apioption xAxis.breaks.repeat
|
|
257
257
|
*/
|
|
258
258
|
|
|
@@ -261,7 +261,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
261
261
|
*
|
|
262
262
|
* @type {number}
|
|
263
263
|
* @since 4.1.0
|
|
264
|
-
* @product highcharts highstock
|
|
264
|
+
* @product highcharts highstock gantt
|
|
265
265
|
* @apioption xAxis.breaks.to
|
|
266
266
|
*/
|
|
267
267
|
|
|
@@ -296,7 +296,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
296
296
|
*
|
|
297
297
|
* @type {number}
|
|
298
298
|
* @since 4.0
|
|
299
|
-
* @product highcharts highstock
|
|
299
|
+
* @product highcharts highstock gantt
|
|
300
300
|
* @apioption xAxis.ceiling
|
|
301
301
|
*/
|
|
302
302
|
|
|
@@ -561,17 +561,37 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
561
561
|
* @sample {highstock} stock/xaxis/datetimelabelformats/
|
|
562
562
|
* More information in x axis labels
|
|
563
563
|
*
|
|
564
|
-
* @product highcharts highstock
|
|
564
|
+
* @product highcharts highstock gantt
|
|
565
565
|
*/
|
|
566
566
|
dateTimeLabelFormats: {
|
|
567
|
-
millisecond:
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
567
|
+
millisecond: {
|
|
568
|
+
main: '%H:%M:%S.%L',
|
|
569
|
+
range: false
|
|
570
|
+
},
|
|
571
|
+
second: {
|
|
572
|
+
main: '%H:%M:%S',
|
|
573
|
+
range: false
|
|
574
|
+
},
|
|
575
|
+
minute: {
|
|
576
|
+
main: '%H:%M',
|
|
577
|
+
range: false
|
|
578
|
+
},
|
|
579
|
+
hour: {
|
|
580
|
+
main: '%H:%M',
|
|
581
|
+
range: false
|
|
582
|
+
},
|
|
583
|
+
day: {
|
|
584
|
+
main: '%e. %b'
|
|
585
|
+
},
|
|
586
|
+
week: {
|
|
587
|
+
main: '%e. %b'
|
|
588
|
+
},
|
|
589
|
+
month: {
|
|
590
|
+
main: '%b \'%y'
|
|
591
|
+
},
|
|
592
|
+
year: {
|
|
593
|
+
main: '%Y'
|
|
594
|
+
}
|
|
575
595
|
},
|
|
576
596
|
|
|
577
597
|
/**
|
|
@@ -622,7 +642,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
622
642
|
*
|
|
623
643
|
* @type {Function}
|
|
624
644
|
* @since 4.1.0
|
|
625
|
-
* @product highcharts
|
|
645
|
+
* @product highcharts gantt
|
|
626
646
|
* @apioption xAxis.events.afterBreaks
|
|
627
647
|
*/
|
|
628
648
|
|
|
@@ -657,7 +677,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
657
677
|
*
|
|
658
678
|
* @type {Function}
|
|
659
679
|
* @since 4.1.0
|
|
660
|
-
* @product highcharts
|
|
680
|
+
* @product highcharts gantt
|
|
661
681
|
* @context Axis
|
|
662
682
|
* @apioption xAxis.events.pointBreak
|
|
663
683
|
*/
|
|
@@ -666,7 +686,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
666
686
|
* An event fired when a point falls inside a break from this axis.
|
|
667
687
|
*
|
|
668
688
|
* @type {Function}
|
|
669
|
-
* @product highcharts highstock
|
|
689
|
+
* @product highcharts highstock gantt
|
|
670
690
|
* @context Axis
|
|
671
691
|
* @apioption xAxis.events.pointInBreak
|
|
672
692
|
*/
|
|
@@ -704,7 +724,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
704
724
|
*
|
|
705
725
|
* @type {number}
|
|
706
726
|
* @since 4.0
|
|
707
|
-
* @product highcharts highstock
|
|
727
|
+
* @product highcharts highstock gantt
|
|
708
728
|
* @apioption xAxis.floor
|
|
709
729
|
*/
|
|
710
730
|
|
|
@@ -736,7 +756,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
736
756
|
*
|
|
737
757
|
* @type {number}
|
|
738
758
|
* @default 1
|
|
739
|
-
* @product highcharts highstock
|
|
759
|
+
* @product highcharts highstock gantt
|
|
740
760
|
* @apioption xAxis.gridZIndex
|
|
741
761
|
*/
|
|
742
762
|
|
|
@@ -802,7 +822,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
802
822
|
* @type {Array<number>}
|
|
803
823
|
* @default [-45]
|
|
804
824
|
* @since 4.1.0
|
|
805
|
-
* @product highcharts highstock
|
|
825
|
+
* @product highcharts highstock gantt
|
|
806
826
|
* @apioption xAxis.labels.autoRotation
|
|
807
827
|
*/
|
|
808
828
|
|
|
@@ -819,7 +839,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
819
839
|
* @type {number}
|
|
820
840
|
* @default 80
|
|
821
841
|
* @since 4.1.5
|
|
822
|
-
* @product highcharts
|
|
842
|
+
* @product highcharts gantt
|
|
823
843
|
* @apioption xAxis.labels.autoRotationLimit
|
|
824
844
|
*/
|
|
825
845
|
|
|
@@ -829,7 +849,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
829
849
|
*
|
|
830
850
|
* @type {number}
|
|
831
851
|
* @default 15
|
|
832
|
-
* @product highcharts
|
|
852
|
+
* @product highcharts gantt
|
|
833
853
|
* @apioption xAxis.labels.distance
|
|
834
854
|
*/
|
|
835
855
|
|
|
@@ -841,7 +861,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
841
861
|
* @sample {highstock} stock/xaxis/labels-enabled/
|
|
842
862
|
* X axis labels disabled
|
|
843
863
|
*
|
|
844
|
-
* @default {highcharts|highstock} true
|
|
864
|
+
* @default {highcharts|highstock|gantt} true
|
|
845
865
|
* @default {highmaps} false
|
|
846
866
|
*/
|
|
847
867
|
enabled: true,
|
|
@@ -883,6 +903,18 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
883
903
|
* @apioption xAxis.labels.formatter
|
|
884
904
|
*/
|
|
885
905
|
|
|
906
|
+
/**
|
|
907
|
+
* The number of pixels to indent the labels per level in a treegrid
|
|
908
|
+
* axis.
|
|
909
|
+
*
|
|
910
|
+
* @product gantt
|
|
911
|
+
* @sample gantt/treegrid-axis/demo
|
|
912
|
+
* Indentation 10px by default.
|
|
913
|
+
* @sample gantt/treegrid-axis/indentation-0px
|
|
914
|
+
* Indentation set to 0px.
|
|
915
|
+
*/
|
|
916
|
+
indentation: 10,
|
|
917
|
+
|
|
886
918
|
/**
|
|
887
919
|
* Horizontal axis only. When `staggerLines` is not set,
|
|
888
920
|
* `maxStaggerLines` defines how many lines the axis is allowed to
|
|
@@ -893,7 +925,6 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
893
925
|
* @type {number}
|
|
894
926
|
* @default 5
|
|
895
927
|
* @since 1.3.3
|
|
896
|
-
* @product highstock highmaps
|
|
897
928
|
* @apioption xAxis.labels.maxStaggerLines
|
|
898
929
|
*/
|
|
899
930
|
|
|
@@ -916,7 +947,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
916
947
|
*
|
|
917
948
|
* @type {number}
|
|
918
949
|
* @default 5
|
|
919
|
-
* @product highcharts
|
|
950
|
+
* @product highcharts gantt
|
|
920
951
|
* @apioption xAxis.labels.padding
|
|
921
952
|
*/
|
|
922
953
|
|
|
@@ -941,7 +972,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
941
972
|
*
|
|
942
973
|
* @type {boolean}
|
|
943
974
|
* @since 4.1.10
|
|
944
|
-
* @product highcharts
|
|
975
|
+
* @product highcharts gantt
|
|
945
976
|
* @apioption xAxis.labels.reserveSpace
|
|
946
977
|
*/
|
|
947
978
|
|
|
@@ -1049,7 +1080,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
1049
1080
|
*
|
|
1050
1081
|
* @type {number}
|
|
1051
1082
|
* @since 2.0.2
|
|
1052
|
-
* @product highcharts highstock
|
|
1083
|
+
* @product highcharts highstock gantt
|
|
1053
1084
|
* @apioption xAxis.linkedTo
|
|
1054
1085
|
*/
|
|
1055
1086
|
|
|
@@ -1264,7 +1295,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
1264
1295
|
* @default {highcharts} 0.01
|
|
1265
1296
|
* @default {highstock|highmaps} 0
|
|
1266
1297
|
* @since 1.2.0
|
|
1267
|
-
* @product highcharts highstock
|
|
1298
|
+
* @product highcharts highstock gantt
|
|
1268
1299
|
*/
|
|
1269
1300
|
minPadding: 0.01,
|
|
1270
1301
|
|
|
@@ -1502,7 +1533,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
1502
1533
|
*
|
|
1503
1534
|
* @type {boolean}
|
|
1504
1535
|
* @default true
|
|
1505
|
-
* @product highcharts highstock
|
|
1536
|
+
* @product highcharts highstock gantt
|
|
1506
1537
|
* @apioption xAxis.showLastLabel
|
|
1507
1538
|
*/
|
|
1508
1539
|
|
|
@@ -1516,7 +1547,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
1516
1547
|
*
|
|
1517
1548
|
* @type {number}
|
|
1518
1549
|
* @since 5.0.1
|
|
1519
|
-
* @product highcharts highstock
|
|
1550
|
+
* @product highcharts highstock gantt
|
|
1520
1551
|
* @apioption xAxis.softMax
|
|
1521
1552
|
*/
|
|
1522
1553
|
|
|
@@ -1530,7 +1561,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
1530
1561
|
*
|
|
1531
1562
|
* @type {number}
|
|
1532
1563
|
* @since 5.0.1
|
|
1533
|
-
* @product highcharts highstock
|
|
1564
|
+
* @product highcharts highstock gantt
|
|
1534
1565
|
* @apioption xAxis.softMin
|
|
1535
1566
|
*/
|
|
1536
1567
|
|
|
@@ -1547,7 +1578,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
1547
1578
|
* @sample {highstock} stock/xaxis/startofweek-0
|
|
1548
1579
|
* Sunday
|
|
1549
1580
|
*
|
|
1550
|
-
* @product highcharts highstock
|
|
1581
|
+
* @product highcharts highstock gantt
|
|
1551
1582
|
*/
|
|
1552
1583
|
startOfWeek: 1,
|
|
1553
1584
|
|
|
@@ -1586,7 +1617,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
1586
1617
|
*
|
|
1587
1618
|
* @type {number}
|
|
1588
1619
|
* @since 4.1.0
|
|
1589
|
-
* @product highcharts highstock
|
|
1620
|
+
* @product highcharts highstock gantt
|
|
1590
1621
|
* @apioption xAxis.tickAmount
|
|
1591
1622
|
*/
|
|
1592
1623
|
|
|
@@ -1665,7 +1696,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
1665
1696
|
* @sample {highcharts} highcharts/xaxis/tickmarkplacement-on/
|
|
1666
1697
|
* "on"
|
|
1667
1698
|
*
|
|
1668
|
-
* @product highcharts
|
|
1699
|
+
* @product highcharts gantt
|
|
1669
1700
|
* @validvalue [null, "on", "between"]
|
|
1670
1701
|
*/
|
|
1671
1702
|
tickmarkPlacement: 'between',
|
|
@@ -1794,7 +1825,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
1794
1825
|
* @type {boolean}
|
|
1795
1826
|
* @default true
|
|
1796
1827
|
* @since 5.0.11
|
|
1797
|
-
* @product highcharts highstock
|
|
1828
|
+
* @product highcharts highstock gantt
|
|
1798
1829
|
* @apioption xAxis.title.reserveSpace
|
|
1799
1830
|
*/
|
|
1800
1831
|
|
|
@@ -1855,7 +1886,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
1855
1886
|
*
|
|
1856
1887
|
* @type {boolean}
|
|
1857
1888
|
* @default false
|
|
1858
|
-
* @product highcharts highstock
|
|
1889
|
+
* @product highcharts highstock gantt
|
|
1859
1890
|
* @apioption xAxis.title.useHTML
|
|
1860
1891
|
*/
|
|
1861
1892
|
|
|
@@ -1865,7 +1896,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
1865
1896
|
* @type {number}
|
|
1866
1897
|
* @default 0
|
|
1867
1898
|
* @since 4.1.6
|
|
1868
|
-
* @product highcharts highstock
|
|
1899
|
+
* @product highcharts highstock gantt
|
|
1869
1900
|
* @apioption xAxis.title.x
|
|
1870
1901
|
*/
|
|
1871
1902
|
|
|
@@ -1873,7 +1904,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
1873
1904
|
* Vertical pixel offset of the title position.
|
|
1874
1905
|
*
|
|
1875
1906
|
* @type {number}
|
|
1876
|
-
* @product highcharts highstock
|
|
1907
|
+
* @product highcharts highstock gantt
|
|
1877
1908
|
* @apioption xAxis.title.y
|
|
1878
1909
|
*/
|
|
1879
1910
|
|
|
@@ -1920,11 +1951,34 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
1920
1951
|
* @sample {highcharts} highcharts/yaxis/type-log-negative/
|
|
1921
1952
|
* Logarithmic with extension to emulate negative values
|
|
1922
1953
|
*
|
|
1923
|
-
* @product highcharts
|
|
1954
|
+
* @product highcharts gantt
|
|
1924
1955
|
* @validvalue ["linear", "logarithmic", "datetime", "category"]
|
|
1925
1956
|
*/
|
|
1926
1957
|
type: 'linear',
|
|
1927
1958
|
|
|
1959
|
+
/**
|
|
1960
|
+
* The type of axis. Can be one of `linear`, `logarithmic`, `datetime`,
|
|
1961
|
+
* `category` or `treegrid`. Defaults to `treegrid` for Gantt charts,
|
|
1962
|
+
* `linear` for other chart types.
|
|
1963
|
+
*
|
|
1964
|
+
* In a datetime axis, the numbers are given in milliseconds, and tick
|
|
1965
|
+
* marks are placed on appropriate values, like full hours or days. In a
|
|
1966
|
+
* category or treegrid axis, the [point names](#series.line.data.name)
|
|
1967
|
+
* of the chart's series are used for categories, if a
|
|
1968
|
+
* [categories](#xAxis.categories) array is not defined.
|
|
1969
|
+
*
|
|
1970
|
+
* @sample {highcharts} highcharts/yaxis/type-log-minorgrid/
|
|
1971
|
+
* Logarithmic with minor grid lines
|
|
1972
|
+
* @sample {highcharts} highcharts/yaxis/type-log-negative/
|
|
1973
|
+
* Logarithmic with extension to emulate negative values
|
|
1974
|
+
*
|
|
1975
|
+
* @product highcharts gantt
|
|
1976
|
+
* @validvalue ["linear", "logarithmic", "datetime", "category", "treegrid"]
|
|
1977
|
+
* @default {highcharts} linear
|
|
1978
|
+
* @default {gantt} treegrid
|
|
1979
|
+
* @apioption yAxis.type
|
|
1980
|
+
*/
|
|
1981
|
+
|
|
1928
1982
|
/**
|
|
1929
1983
|
* Applies only when the axis `type` is `category`. When `uniqueNames`
|
|
1930
1984
|
* is true, points are placed on the X axis according to their names.
|
|
@@ -1942,7 +1996,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
1942
1996
|
* @type {boolean}
|
|
1943
1997
|
* @default true
|
|
1944
1998
|
* @since 4.2.7
|
|
1945
|
-
* @product highcharts
|
|
1999
|
+
* @product highcharts gantt
|
|
1946
2000
|
* @apioption xAxis.uniqueNames
|
|
1947
2001
|
*/
|
|
1948
2002
|
|
|
@@ -1979,7 +2033,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
1979
2033
|
* ]]</pre>
|
|
1980
2034
|
*
|
|
1981
2035
|
* @type {Array<Array<string|Array<number>>>}
|
|
1982
|
-
* @product highcharts highstock
|
|
2036
|
+
* @product highcharts highstock gantt
|
|
1983
2037
|
* @apioption xAxis.units
|
|
1984
2038
|
*/
|
|
1985
2039
|
|
|
@@ -1990,7 +2044,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
1990
2044
|
* @type {boolean}
|
|
1991
2045
|
* @default true
|
|
1992
2046
|
* @since 4.1.9
|
|
1993
|
-
* @product highcharts highstock
|
|
2047
|
+
* @product highcharts highstock gantt
|
|
1994
2048
|
* @apioption xAxis.visible
|
|
1995
2049
|
*/
|
|
1996
2050
|
|
|
@@ -2008,7 +2062,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
2008
2062
|
* access to the axis.
|
|
2009
2063
|
*
|
|
2010
2064
|
* @extends xAxis
|
|
2011
|
-
* @excluding ordinal,
|
|
2065
|
+
* @excluding ordinal,overscroll,currentDateIndicator
|
|
2012
2066
|
* @optionparent yAxis
|
|
2013
2067
|
*/
|
|
2014
2068
|
defaultYAxisOptions: {
|
|
@@ -2102,6 +2156,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
2102
2156
|
* @default {highcharts} false
|
|
2103
2157
|
* @default {highstock} false
|
|
2104
2158
|
* @default {highmaps} true
|
|
2159
|
+
* @default {gantt} true
|
|
2105
2160
|
* @apioption yAxis.reversed
|
|
2106
2161
|
*/
|
|
2107
2162
|
|
|
@@ -2153,7 +2208,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
2153
2208
|
*
|
|
2154
2209
|
* @type {number}
|
|
2155
2210
|
* @default 0
|
|
2156
|
-
* @product highcharts highstock
|
|
2211
|
+
* @product highcharts highstock gantt
|
|
2157
2212
|
* @apioption yAxis.tickWidth
|
|
2158
2213
|
*/
|
|
2159
2214
|
|
|
@@ -2201,7 +2256,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
2201
2256
|
* Greater min- and maxPadding
|
|
2202
2257
|
*
|
|
2203
2258
|
* @since 1.2.0
|
|
2204
|
-
* @product highcharts highstock
|
|
2259
|
+
* @product highcharts highstock gantt
|
|
2205
2260
|
*/
|
|
2206
2261
|
maxPadding: 0.05,
|
|
2207
2262
|
|
|
@@ -2218,7 +2273,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
2218
2273
|
* Greater min- and maxPadding
|
|
2219
2274
|
*
|
|
2220
2275
|
* @since 1.2.0
|
|
2221
|
-
* @product highcharts highstock
|
|
2276
|
+
* @product highcharts highstock gantt
|
|
2222
2277
|
*/
|
|
2223
2278
|
minPadding: 0.05,
|
|
2224
2279
|
|
|
@@ -2234,7 +2289,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
2234
2289
|
* @type {boolean}
|
|
2235
2290
|
* @default {highstock} true
|
|
2236
2291
|
* @default {highcharts} false
|
|
2237
|
-
* @product highstock highcharts
|
|
2292
|
+
* @product highstock highcharts gantt
|
|
2238
2293
|
* @apioption yAxis.opposite
|
|
2239
2294
|
*/
|
|
2240
2295
|
|
|
@@ -2404,7 +2459,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
2404
2459
|
*
|
|
2405
2460
|
* @type {number}
|
|
2406
2461
|
* @since 5.0.1
|
|
2407
|
-
* @product highcharts highstock
|
|
2462
|
+
* @product highcharts highstock gantt
|
|
2408
2463
|
* @apioption yAxis.softMax
|
|
2409
2464
|
*/
|
|
2410
2465
|
|
|
@@ -2422,7 +2477,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
2422
2477
|
*
|
|
2423
2478
|
* @type {number}
|
|
2424
2479
|
* @since 5.0.1
|
|
2425
|
-
* @product highcharts highstock
|
|
2480
|
+
* @product highcharts highstock gantt
|
|
2426
2481
|
* @apioption yAxis.softMin
|
|
2427
2482
|
*/
|
|
2428
2483
|
|
|
@@ -2559,7 +2614,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
2559
2614
|
* False for Y axis
|
|
2560
2615
|
*
|
|
2561
2616
|
* @since 1.2.0
|
|
2562
|
-
* @product highcharts highstock
|
|
2617
|
+
* @product highcharts highstock gantt
|
|
2563
2618
|
*/
|
|
2564
2619
|
startOnTick: true,
|
|
2565
2620
|
|
|
@@ -2597,7 +2652,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
2597
2652
|
*
|
|
2598
2653
|
* @default {highcharts} Values
|
|
2599
2654
|
* @default {highstock} undefined
|
|
2600
|
-
* @product highcharts highstock
|
|
2655
|
+
* @product highcharts highstock gantt
|
|
2601
2656
|
*/
|
|
2602
2657
|
text: 'Values'
|
|
2603
2658
|
},
|
|
@@ -2874,10 +2929,25 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
2874
2929
|
// Flag, if axis is linked to another axis
|
|
2875
2930
|
axis.isLinked = defined(options.linkedTo);
|
|
2876
2931
|
|
|
2877
|
-
|
|
2932
|
+
/**
|
|
2933
|
+
* List of major ticks mapped by postition on axis.
|
|
2934
|
+
*
|
|
2935
|
+
* @name ticks
|
|
2936
|
+
* @memberOf Axis
|
|
2937
|
+
* @type {Object.<number, Highcharts.Tick>}
|
|
2938
|
+
* @see Highcharts.Tick
|
|
2939
|
+
*/
|
|
2878
2940
|
axis.ticks = {};
|
|
2879
2941
|
axis.labelEdge = [];
|
|
2880
|
-
|
|
2942
|
+
/**
|
|
2943
|
+
* List of minor ticks mapped by position on the axis.
|
|
2944
|
+
*
|
|
2945
|
+
* @name minorTicks
|
|
2946
|
+
* @memberOf Axis
|
|
2947
|
+
* @type {Object.<number, Highcharts.Tick>}
|
|
2948
|
+
*
|
|
2949
|
+
* @see Highcharts.Tick
|
|
2950
|
+
*/
|
|
2881
2951
|
axis.minorTicks = {};
|
|
2882
2952
|
|
|
2883
2953
|
// List of plotLines/Bands
|
|
@@ -3351,9 +3421,11 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
3351
3421
|
* @param {boolean} [old=false]
|
|
3352
3422
|
* Use old coordinates (for resizing and rescaling).
|
|
3353
3423
|
*
|
|
3354
|
-
* @param {boolean} [force=false]
|
|
3424
|
+
* @param {boolean|string} [force=false]
|
|
3355
3425
|
* If `false`, the function will return null when it falls outside
|
|
3356
|
-
* the axis bounds.
|
|
3426
|
+
* the axis bounds. If `true`, the function will return a path
|
|
3427
|
+
* aligned to the plot area sides if it falls outside. If `pass`, it
|
|
3428
|
+
* will return a path outside.
|
|
3357
3429
|
*
|
|
3358
3430
|
* @param {number} [translatedValue]
|
|
3359
3431
|
* If given, return the plot line path of a pixel position on the
|
|
@@ -3380,7 +3452,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
3380
3452
|
* or skip, depending on the force parameter.
|
|
3381
3453
|
*/
|
|
3382
3454
|
between = function (x, a, b) {
|
|
3383
|
-
if (x < a || x > b) {
|
|
3455
|
+
if (force !== 'pass' && x < a || x > b) {
|
|
3384
3456
|
if (force) {
|
|
3385
3457
|
x = Math.min(Math.max(a, x), b);
|
|
3386
3458
|
} else {
|
|
@@ -3903,7 +3975,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
3903
3975
|
axis.oldTransA = transA;
|
|
3904
3976
|
}
|
|
3905
3977
|
axis.translationSlope = axis.transA = transA =
|
|
3906
|
-
axis.
|
|
3978
|
+
axis.staticScale ||
|
|
3907
3979
|
axis.len / ((range + pointRangePadding) || 1);
|
|
3908
3980
|
|
|
3909
3981
|
// Translation addend
|
|
@@ -5025,7 +5097,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
5025
5097
|
* @return {number}
|
|
5026
5098
|
* The pixel width allocated to each axis label.
|
|
5027
5099
|
*/
|
|
5028
|
-
getSlotWidth: function () {
|
|
5100
|
+
getSlotWidth: function (tick) {
|
|
5029
5101
|
// #5086, #1580, #1931
|
|
5030
5102
|
var chart = this.chart,
|
|
5031
5103
|
horiz = this.horiz,
|
|
@@ -5037,6 +5109,9 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
5037
5109
|
marginLeft = chart.margin[3];
|
|
5038
5110
|
|
|
5039
5111
|
return (
|
|
5112
|
+
tick &&
|
|
5113
|
+
tick.slotWidth // Used by grid axis
|
|
5114
|
+
) || (
|
|
5040
5115
|
horiz &&
|
|
5041
5116
|
(labelOptions.step || 0) < 2 &&
|
|
5042
5117
|
!labelOptions.rotation && // #4415
|
|
@@ -5190,11 +5265,14 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
5190
5265
|
label = tick && tick.label,
|
|
5191
5266
|
widthOption = labelStyleOptions.width,
|
|
5192
5267
|
css = {};
|
|
5268
|
+
|
|
5193
5269
|
if (label) {
|
|
5194
5270
|
// This needs to go before the CSS in old IE (#4502)
|
|
5195
5271
|
label.attr(attr);
|
|
5196
5272
|
|
|
5197
|
-
if (
|
|
5273
|
+
if (tick.shortenLabel) {
|
|
5274
|
+
tick.shortenLabel();
|
|
5275
|
+
} else if (
|
|
5198
5276
|
commonWidth &&
|
|
5199
5277
|
!widthOption &&
|
|
5200
5278
|
// Setting width in this case messes with the bounding box
|
|
@@ -5229,7 +5307,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
5229
5307
|
delete label.specificTextOverflow;
|
|
5230
5308
|
tick.rotation = attr.rotation;
|
|
5231
5309
|
}
|
|
5232
|
-
});
|
|
5310
|
+
}, this);
|
|
5233
5311
|
|
|
5234
5312
|
// Note: Why is this not part of getLabelPosition?
|
|
5235
5313
|
this.tickRotCorr = renderer.rotCorr(
|
|
@@ -5342,7 +5420,8 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
5342
5420
|
},
|
|
5343
5421
|
|
|
5344
5422
|
/**
|
|
5345
|
-
|
|
5423
|
+
/**
|
|
5424
|
+
* Render the tick labels to a preliminary position to get their sizes
|
|
5346
5425
|
*
|
|
5347
5426
|
* @private
|
|
5348
5427
|
* @function Highcharts.Axis#getOffset
|
|
@@ -5376,7 +5455,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
5376
5455
|
className = options.className,
|
|
5377
5456
|
axisParent = axis.axisParent, // Used in color axis
|
|
5378
5457
|
lineHeightCorrection,
|
|
5379
|
-
tickSize
|
|
5458
|
+
tickSize;
|
|
5380
5459
|
|
|
5381
5460
|
// For reuse in Axis.render
|
|
5382
5461
|
hasData = axis.hasData();
|
|
@@ -5502,6 +5581,17 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
5502
5581
|
|
|
5503
5582
|
axis.axisTitleMargin = pick(titleOffsetOption, labelOffsetPadded);
|
|
5504
5583
|
|
|
5584
|
+
if (axis.getMaxLabelDimensions) {
|
|
5585
|
+
axis.maxLabelDimensions = axis.getMaxLabelDimensions(
|
|
5586
|
+
ticks,
|
|
5587
|
+
tickPositions
|
|
5588
|
+
);
|
|
5589
|
+
}
|
|
5590
|
+
|
|
5591
|
+
// Due to GridAxis.tickSize, tickSize should be calculated after ticks
|
|
5592
|
+
// has rendered.
|
|
5593
|
+
tickSize = this.tickSize('tick');
|
|
5594
|
+
|
|
5505
5595
|
axisOffset[side] = Math.max(
|
|
5506
5596
|
axisOffset[side],
|
|
5507
5597
|
axis.axisTitleMargin + titleOffset + directionFactor * axis.offset,
|
|
@@ -5693,10 +5783,13 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
5693
5783
|
if (!ticks[pos]) {
|
|
5694
5784
|
ticks[pos] = new Tick(this, pos);
|
|
5695
5785
|
}
|
|
5696
|
-
|
|
5786
|
+
// NOTE this seems like overkill. Could be handled in tick.render by
|
|
5787
|
+
// setting old position in attr, then set new position in animate.
|
|
5697
5788
|
// render new ticks in old position
|
|
5698
5789
|
if (slideInTicks && ticks[pos].isNew) {
|
|
5699
|
-
|
|
5790
|
+
// Start with negative opacity so that it is visible from
|
|
5791
|
+
// halfway into the animation
|
|
5792
|
+
ticks[pos].render(i, true, -1);
|
|
5700
5793
|
}
|
|
5701
5794
|
|
|
5702
5795
|
ticks[pos].render(i);
|