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
package/es-modules/parts/Axis.js
CHANGED
|
@@ -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
|
|
|
@@ -1080,7 +1111,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
1080
1111
|
*
|
|
1081
1112
|
* @type {number}
|
|
1082
1113
|
* @since 2.0.2
|
|
1083
|
-
* @product highcharts highstock
|
|
1114
|
+
* @product highcharts highstock gantt
|
|
1084
1115
|
* @apioption xAxis.linkedTo
|
|
1085
1116
|
*/
|
|
1086
1117
|
|
|
@@ -1295,7 +1326,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
1295
1326
|
* @default {highcharts} 0.01
|
|
1296
1327
|
* @default {highstock|highmaps} 0
|
|
1297
1328
|
* @since 1.2.0
|
|
1298
|
-
* @product highcharts highstock
|
|
1329
|
+
* @product highcharts highstock gantt
|
|
1299
1330
|
*/
|
|
1300
1331
|
minPadding: 0.01,
|
|
1301
1332
|
|
|
@@ -1533,7 +1564,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
1533
1564
|
*
|
|
1534
1565
|
* @type {boolean}
|
|
1535
1566
|
* @default true
|
|
1536
|
-
* @product highcharts highstock
|
|
1567
|
+
* @product highcharts highstock gantt
|
|
1537
1568
|
* @apioption xAxis.showLastLabel
|
|
1538
1569
|
*/
|
|
1539
1570
|
|
|
@@ -1547,7 +1578,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
1547
1578
|
*
|
|
1548
1579
|
* @type {number}
|
|
1549
1580
|
* @since 5.0.1
|
|
1550
|
-
* @product highcharts highstock
|
|
1581
|
+
* @product highcharts highstock gantt
|
|
1551
1582
|
* @apioption xAxis.softMax
|
|
1552
1583
|
*/
|
|
1553
1584
|
|
|
@@ -1561,7 +1592,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
1561
1592
|
*
|
|
1562
1593
|
* @type {number}
|
|
1563
1594
|
* @since 5.0.1
|
|
1564
|
-
* @product highcharts highstock
|
|
1595
|
+
* @product highcharts highstock gantt
|
|
1565
1596
|
* @apioption xAxis.softMin
|
|
1566
1597
|
*/
|
|
1567
1598
|
|
|
@@ -1578,7 +1609,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
1578
1609
|
* @sample {highstock} stock/xaxis/startofweek-0
|
|
1579
1610
|
* Sunday
|
|
1580
1611
|
*
|
|
1581
|
-
* @product highcharts highstock
|
|
1612
|
+
* @product highcharts highstock gantt
|
|
1582
1613
|
*/
|
|
1583
1614
|
startOfWeek: 1,
|
|
1584
1615
|
|
|
@@ -1617,7 +1648,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
1617
1648
|
*
|
|
1618
1649
|
* @type {number}
|
|
1619
1650
|
* @since 4.1.0
|
|
1620
|
-
* @product highcharts highstock
|
|
1651
|
+
* @product highcharts highstock gantt
|
|
1621
1652
|
* @apioption xAxis.tickAmount
|
|
1622
1653
|
*/
|
|
1623
1654
|
|
|
@@ -1696,7 +1727,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
1696
1727
|
* @sample {highcharts} highcharts/xaxis/tickmarkplacement-on/
|
|
1697
1728
|
* "on"
|
|
1698
1729
|
*
|
|
1699
|
-
* @product highcharts
|
|
1730
|
+
* @product highcharts gantt
|
|
1700
1731
|
* @validvalue [null, "on", "between"]
|
|
1701
1732
|
*/
|
|
1702
1733
|
tickmarkPlacement: 'between',
|
|
@@ -1825,7 +1856,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
1825
1856
|
* @type {boolean}
|
|
1826
1857
|
* @default true
|
|
1827
1858
|
* @since 5.0.11
|
|
1828
|
-
* @product highcharts highstock
|
|
1859
|
+
* @product highcharts highstock gantt
|
|
1829
1860
|
* @apioption xAxis.title.reserveSpace
|
|
1830
1861
|
*/
|
|
1831
1862
|
|
|
@@ -1886,7 +1917,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
1886
1917
|
*
|
|
1887
1918
|
* @type {boolean}
|
|
1888
1919
|
* @default false
|
|
1889
|
-
* @product highcharts highstock
|
|
1920
|
+
* @product highcharts highstock gantt
|
|
1890
1921
|
* @apioption xAxis.title.useHTML
|
|
1891
1922
|
*/
|
|
1892
1923
|
|
|
@@ -1896,7 +1927,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
1896
1927
|
* @type {number}
|
|
1897
1928
|
* @default 0
|
|
1898
1929
|
* @since 4.1.6
|
|
1899
|
-
* @product highcharts highstock
|
|
1930
|
+
* @product highcharts highstock gantt
|
|
1900
1931
|
* @apioption xAxis.title.x
|
|
1901
1932
|
*/
|
|
1902
1933
|
|
|
@@ -1904,7 +1935,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
1904
1935
|
* Vertical pixel offset of the title position.
|
|
1905
1936
|
*
|
|
1906
1937
|
* @type {number}
|
|
1907
|
-
* @product highcharts highstock
|
|
1938
|
+
* @product highcharts highstock gantt
|
|
1908
1939
|
* @apioption xAxis.title.y
|
|
1909
1940
|
*/
|
|
1910
1941
|
|
|
@@ -1977,11 +2008,34 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
1977
2008
|
* @sample {highcharts} highcharts/yaxis/type-log-negative/
|
|
1978
2009
|
* Logarithmic with extension to emulate negative values
|
|
1979
2010
|
*
|
|
1980
|
-
* @product highcharts
|
|
2011
|
+
* @product highcharts gantt
|
|
1981
2012
|
* @validvalue ["linear", "logarithmic", "datetime", "category"]
|
|
1982
2013
|
*/
|
|
1983
2014
|
type: 'linear',
|
|
1984
2015
|
|
|
2016
|
+
/**
|
|
2017
|
+
* The type of axis. Can be one of `linear`, `logarithmic`, `datetime`,
|
|
2018
|
+
* `category` or `treegrid`. Defaults to `treegrid` for Gantt charts,
|
|
2019
|
+
* `linear` for other chart types.
|
|
2020
|
+
*
|
|
2021
|
+
* In a datetime axis, the numbers are given in milliseconds, and tick
|
|
2022
|
+
* marks are placed on appropriate values, like full hours or days. In a
|
|
2023
|
+
* category or treegrid axis, the [point names](#series.line.data.name)
|
|
2024
|
+
* of the chart's series are used for categories, if a
|
|
2025
|
+
* [categories](#xAxis.categories) array is not defined.
|
|
2026
|
+
*
|
|
2027
|
+
* @sample {highcharts} highcharts/yaxis/type-log-minorgrid/
|
|
2028
|
+
* Logarithmic with minor grid lines
|
|
2029
|
+
* @sample {highcharts} highcharts/yaxis/type-log-negative/
|
|
2030
|
+
* Logarithmic with extension to emulate negative values
|
|
2031
|
+
*
|
|
2032
|
+
* @product highcharts gantt
|
|
2033
|
+
* @validvalue ["linear", "logarithmic", "datetime", "category", "treegrid"]
|
|
2034
|
+
* @default {highcharts} linear
|
|
2035
|
+
* @default {gantt} treegrid
|
|
2036
|
+
* @apioption yAxis.type
|
|
2037
|
+
*/
|
|
2038
|
+
|
|
1985
2039
|
/**
|
|
1986
2040
|
* Applies only when the axis `type` is `category`. When `uniqueNames`
|
|
1987
2041
|
* is true, points are placed on the X axis according to their names.
|
|
@@ -1999,7 +2053,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
1999
2053
|
* @type {boolean}
|
|
2000
2054
|
* @default true
|
|
2001
2055
|
* @since 4.2.7
|
|
2002
|
-
* @product highcharts
|
|
2056
|
+
* @product highcharts gantt
|
|
2003
2057
|
* @apioption xAxis.uniqueNames
|
|
2004
2058
|
*/
|
|
2005
2059
|
|
|
@@ -2036,7 +2090,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
2036
2090
|
* ]]</pre>
|
|
2037
2091
|
*
|
|
2038
2092
|
* @type {Array<Array<string|Array<number>>>}
|
|
2039
|
-
* @product highcharts highstock
|
|
2093
|
+
* @product highcharts highstock gantt
|
|
2040
2094
|
* @apioption xAxis.units
|
|
2041
2095
|
*/
|
|
2042
2096
|
|
|
@@ -2047,7 +2101,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
2047
2101
|
* @type {boolean}
|
|
2048
2102
|
* @default true
|
|
2049
2103
|
* @since 4.1.9
|
|
2050
|
-
* @product highcharts highstock
|
|
2104
|
+
* @product highcharts highstock gantt
|
|
2051
2105
|
* @apioption xAxis.visible
|
|
2052
2106
|
*/
|
|
2053
2107
|
|
|
@@ -2215,7 +2269,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
2215
2269
|
* access to the axis.
|
|
2216
2270
|
*
|
|
2217
2271
|
* @extends xAxis
|
|
2218
|
-
* @excluding ordinal,
|
|
2272
|
+
* @excluding ordinal,overscroll,currentDateIndicator
|
|
2219
2273
|
* @optionparent yAxis
|
|
2220
2274
|
*/
|
|
2221
2275
|
defaultYAxisOptions: {
|
|
@@ -2309,6 +2363,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
2309
2363
|
* @default {highcharts} false
|
|
2310
2364
|
* @default {highstock} false
|
|
2311
2365
|
* @default {highmaps} true
|
|
2366
|
+
* @default {gantt} true
|
|
2312
2367
|
* @apioption yAxis.reversed
|
|
2313
2368
|
*/
|
|
2314
2369
|
|
|
@@ -2360,7 +2415,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
2360
2415
|
*
|
|
2361
2416
|
* @type {number}
|
|
2362
2417
|
* @default 0
|
|
2363
|
-
* @product highcharts highstock
|
|
2418
|
+
* @product highcharts highstock gantt
|
|
2364
2419
|
* @apioption yAxis.tickWidth
|
|
2365
2420
|
*/
|
|
2366
2421
|
|
|
@@ -2408,7 +2463,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
2408
2463
|
* Greater min- and maxPadding
|
|
2409
2464
|
*
|
|
2410
2465
|
* @since 1.2.0
|
|
2411
|
-
* @product highcharts highstock
|
|
2466
|
+
* @product highcharts highstock gantt
|
|
2412
2467
|
*/
|
|
2413
2468
|
maxPadding: 0.05,
|
|
2414
2469
|
|
|
@@ -2425,7 +2480,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
2425
2480
|
* Greater min- and maxPadding
|
|
2426
2481
|
*
|
|
2427
2482
|
* @since 1.2.0
|
|
2428
|
-
* @product highcharts highstock
|
|
2483
|
+
* @product highcharts highstock gantt
|
|
2429
2484
|
*/
|
|
2430
2485
|
minPadding: 0.05,
|
|
2431
2486
|
|
|
@@ -2441,7 +2496,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
2441
2496
|
* @type {boolean}
|
|
2442
2497
|
* @default {highstock} true
|
|
2443
2498
|
* @default {highcharts} false
|
|
2444
|
-
* @product highstock highcharts
|
|
2499
|
+
* @product highstock highcharts gantt
|
|
2445
2500
|
* @apioption yAxis.opposite
|
|
2446
2501
|
*/
|
|
2447
2502
|
|
|
@@ -2611,7 +2666,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
2611
2666
|
*
|
|
2612
2667
|
* @type {number}
|
|
2613
2668
|
* @since 5.0.1
|
|
2614
|
-
* @product highcharts highstock
|
|
2669
|
+
* @product highcharts highstock gantt
|
|
2615
2670
|
* @apioption yAxis.softMax
|
|
2616
2671
|
*/
|
|
2617
2672
|
|
|
@@ -2629,7 +2684,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
2629
2684
|
*
|
|
2630
2685
|
* @type {number}
|
|
2631
2686
|
* @since 5.0.1
|
|
2632
|
-
* @product highcharts highstock
|
|
2687
|
+
* @product highcharts highstock gantt
|
|
2633
2688
|
* @apioption yAxis.softMin
|
|
2634
2689
|
*/
|
|
2635
2690
|
|
|
@@ -2766,7 +2821,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
2766
2821
|
* False for Y axis
|
|
2767
2822
|
*
|
|
2768
2823
|
* @since 1.2.0
|
|
2769
|
-
* @product highcharts highstock
|
|
2824
|
+
* @product highcharts highstock gantt
|
|
2770
2825
|
*/
|
|
2771
2826
|
startOnTick: true,
|
|
2772
2827
|
|
|
@@ -2804,7 +2859,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
2804
2859
|
*
|
|
2805
2860
|
* @default {highcharts} Values
|
|
2806
2861
|
* @default {highstock} undefined
|
|
2807
|
-
* @product highcharts highstock
|
|
2862
|
+
* @product highcharts highstock gantt
|
|
2808
2863
|
*/
|
|
2809
2864
|
text: 'Values'
|
|
2810
2865
|
},
|
|
@@ -3124,10 +3179,25 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
3124
3179
|
// Flag, if axis is linked to another axis
|
|
3125
3180
|
axis.isLinked = defined(options.linkedTo);
|
|
3126
3181
|
|
|
3127
|
-
|
|
3182
|
+
/**
|
|
3183
|
+
* List of major ticks mapped by postition on axis.
|
|
3184
|
+
*
|
|
3185
|
+
* @name ticks
|
|
3186
|
+
* @memberOf Axis
|
|
3187
|
+
* @type {Object.<number, Highcharts.Tick>}
|
|
3188
|
+
* @see Highcharts.Tick
|
|
3189
|
+
*/
|
|
3128
3190
|
axis.ticks = {};
|
|
3129
3191
|
axis.labelEdge = [];
|
|
3130
|
-
|
|
3192
|
+
/**
|
|
3193
|
+
* List of minor ticks mapped by position on the axis.
|
|
3194
|
+
*
|
|
3195
|
+
* @name minorTicks
|
|
3196
|
+
* @memberOf Axis
|
|
3197
|
+
* @type {Object.<number, Highcharts.Tick>}
|
|
3198
|
+
*
|
|
3199
|
+
* @see Highcharts.Tick
|
|
3200
|
+
*/
|
|
3131
3201
|
axis.minorTicks = {};
|
|
3132
3202
|
|
|
3133
3203
|
// List of plotLines/Bands
|
|
@@ -3601,9 +3671,11 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
3601
3671
|
* @param {boolean} [old=false]
|
|
3602
3672
|
* Use old coordinates (for resizing and rescaling).
|
|
3603
3673
|
*
|
|
3604
|
-
* @param {boolean} [force=false]
|
|
3674
|
+
* @param {boolean|string} [force=false]
|
|
3605
3675
|
* If `false`, the function will return null when it falls outside
|
|
3606
|
-
* the axis bounds.
|
|
3676
|
+
* the axis bounds. If `true`, the function will return a path
|
|
3677
|
+
* aligned to the plot area sides if it falls outside. If `pass`, it
|
|
3678
|
+
* will return a path outside.
|
|
3607
3679
|
*
|
|
3608
3680
|
* @param {number} [translatedValue]
|
|
3609
3681
|
* If given, return the plot line path of a pixel position on the
|
|
@@ -3630,7 +3702,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
3630
3702
|
* or skip, depending on the force parameter.
|
|
3631
3703
|
*/
|
|
3632
3704
|
between = function (x, a, b) {
|
|
3633
|
-
if (x < a || x > b) {
|
|
3705
|
+
if (force !== 'pass' && x < a || x > b) {
|
|
3634
3706
|
if (force) {
|
|
3635
3707
|
x = Math.min(Math.max(a, x), b);
|
|
3636
3708
|
} else {
|
|
@@ -4153,7 +4225,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
4153
4225
|
axis.oldTransA = transA;
|
|
4154
4226
|
}
|
|
4155
4227
|
axis.translationSlope = axis.transA = transA =
|
|
4156
|
-
axis.
|
|
4228
|
+
axis.staticScale ||
|
|
4157
4229
|
axis.len / ((range + pointRangePadding) || 1);
|
|
4158
4230
|
|
|
4159
4231
|
// Translation addend
|
|
@@ -5275,7 +5347,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
5275
5347
|
* @return {number}
|
|
5276
5348
|
* The pixel width allocated to each axis label.
|
|
5277
5349
|
*/
|
|
5278
|
-
getSlotWidth: function () {
|
|
5350
|
+
getSlotWidth: function (tick) {
|
|
5279
5351
|
// #5086, #1580, #1931
|
|
5280
5352
|
var chart = this.chart,
|
|
5281
5353
|
horiz = this.horiz,
|
|
@@ -5287,6 +5359,9 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
5287
5359
|
marginLeft = chart.margin[3];
|
|
5288
5360
|
|
|
5289
5361
|
return (
|
|
5362
|
+
tick &&
|
|
5363
|
+
tick.slotWidth // Used by grid axis
|
|
5364
|
+
) || (
|
|
5290
5365
|
horiz &&
|
|
5291
5366
|
(labelOptions.step || 0) < 2 &&
|
|
5292
5367
|
!labelOptions.rotation && // #4415
|
|
@@ -5440,11 +5515,14 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
5440
5515
|
label = tick && tick.label,
|
|
5441
5516
|
widthOption = labelStyleOptions.width,
|
|
5442
5517
|
css = {};
|
|
5518
|
+
|
|
5443
5519
|
if (label) {
|
|
5444
5520
|
// This needs to go before the CSS in old IE (#4502)
|
|
5445
5521
|
label.attr(attr);
|
|
5446
5522
|
|
|
5447
|
-
if (
|
|
5523
|
+
if (tick.shortenLabel) {
|
|
5524
|
+
tick.shortenLabel();
|
|
5525
|
+
} else if (
|
|
5448
5526
|
commonWidth &&
|
|
5449
5527
|
!widthOption &&
|
|
5450
5528
|
// Setting width in this case messes with the bounding box
|
|
@@ -5479,7 +5557,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
5479
5557
|
delete label.specificTextOverflow;
|
|
5480
5558
|
tick.rotation = attr.rotation;
|
|
5481
5559
|
}
|
|
5482
|
-
});
|
|
5560
|
+
}, this);
|
|
5483
5561
|
|
|
5484
5562
|
// Note: Why is this not part of getLabelPosition?
|
|
5485
5563
|
this.tickRotCorr = renderer.rotCorr(
|
|
@@ -5599,7 +5677,8 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
5599
5677
|
},
|
|
5600
5678
|
|
|
5601
5679
|
/**
|
|
5602
|
-
|
|
5680
|
+
/**
|
|
5681
|
+
* Render the tick labels to a preliminary position to get their sizes
|
|
5603
5682
|
*
|
|
5604
5683
|
* @private
|
|
5605
5684
|
* @function Highcharts.Axis#getOffset
|
|
@@ -5633,7 +5712,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
5633
5712
|
className = options.className,
|
|
5634
5713
|
axisParent = axis.axisParent, // Used in color axis
|
|
5635
5714
|
lineHeightCorrection,
|
|
5636
|
-
tickSize
|
|
5715
|
+
tickSize;
|
|
5637
5716
|
|
|
5638
5717
|
// For reuse in Axis.render
|
|
5639
5718
|
hasData = axis.hasData();
|
|
@@ -5759,6 +5838,17 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
5759
5838
|
|
|
5760
5839
|
axis.axisTitleMargin = pick(titleOffsetOption, labelOffsetPadded);
|
|
5761
5840
|
|
|
5841
|
+
if (axis.getMaxLabelDimensions) {
|
|
5842
|
+
axis.maxLabelDimensions = axis.getMaxLabelDimensions(
|
|
5843
|
+
ticks,
|
|
5844
|
+
tickPositions
|
|
5845
|
+
);
|
|
5846
|
+
}
|
|
5847
|
+
|
|
5848
|
+
// Due to GridAxis.tickSize, tickSize should be calculated after ticks
|
|
5849
|
+
// has rendered.
|
|
5850
|
+
tickSize = this.tickSize('tick');
|
|
5851
|
+
|
|
5762
5852
|
axisOffset[side] = Math.max(
|
|
5763
5853
|
axisOffset[side],
|
|
5764
5854
|
axis.axisTitleMargin + titleOffset + directionFactor * axis.offset,
|
|
@@ -5956,10 +6046,13 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
|
|
|
5956
6046
|
if (!ticks[pos]) {
|
|
5957
6047
|
ticks[pos] = new Tick(this, pos);
|
|
5958
6048
|
}
|
|
5959
|
-
|
|
6049
|
+
// NOTE this seems like overkill. Could be handled in tick.render by
|
|
6050
|
+
// setting old position in attr, then set new position in animate.
|
|
5960
6051
|
// render new ticks in old position
|
|
5961
6052
|
if (slideInTicks && ticks[pos].isNew) {
|
|
5962
|
-
|
|
6053
|
+
// Start with negative opacity so that it is visible from
|
|
6054
|
+
// halfway into the animation
|
|
6055
|
+
ticks[pos].render(i, true, -1);
|
|
5963
6056
|
}
|
|
5964
6057
|
|
|
5965
6058
|
ticks[pos].render(i);
|