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,13 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* (c) 2010-
|
|
2
|
+
* (c) 2010-2018 Torstein Honsi
|
|
3
3
|
*
|
|
4
4
|
* License: www.highcharts.com/license
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
'use strict';
|
|
8
|
+
|
|
8
9
|
import H from './Globals.js';
|
|
9
10
|
import './Utilities.js';
|
|
10
11
|
import './SvgRenderer.js';
|
|
12
|
+
|
|
11
13
|
var attr = H.attr,
|
|
12
14
|
createElement = H.createElement,
|
|
13
15
|
css = H.css,
|
|
@@ -24,11 +26,19 @@ var attr = H.attr,
|
|
|
24
26
|
win = H.win,
|
|
25
27
|
wrap = H.wrap;
|
|
26
28
|
|
|
27
|
-
// Extend SvgElement for useHTML option
|
|
29
|
+
// Extend SvgElement for useHTML option.
|
|
28
30
|
extend(SVGElement.prototype, /** @lends SVGElement.prototype */ {
|
|
31
|
+
|
|
29
32
|
/**
|
|
30
33
|
* Apply CSS to HTML elements. This is used in text within SVG rendering and
|
|
31
34
|
* by the VML renderer
|
|
35
|
+
*
|
|
36
|
+
* @private
|
|
37
|
+
* @function Highcharts.SVGElement#htmlCss
|
|
38
|
+
*
|
|
39
|
+
* @param {Highcharts.CSSObject} styles
|
|
40
|
+
*
|
|
41
|
+
* @return {Highcharts.SVGElement}
|
|
32
42
|
*/
|
|
33
43
|
htmlCss: function (styles) {
|
|
34
44
|
var wrapper = this,
|
|
@@ -61,13 +71,18 @@ extend(SVGElement.prototype, /** @lends SVGElement.prototype */ {
|
|
|
61
71
|
},
|
|
62
72
|
|
|
63
73
|
/**
|
|
64
|
-
* VML and useHTML method for calculating the bounding box based on offsets
|
|
65
|
-
*
|
|
66
|
-
*
|
|
74
|
+
* VML and useHTML method for calculating the bounding box based on offsets.
|
|
75
|
+
*
|
|
76
|
+
* @private
|
|
77
|
+
* @function Highcharts.SVGElement#htmlGetBBox
|
|
67
78
|
*
|
|
68
|
-
* @
|
|
79
|
+
* @param {boolean} refresh
|
|
80
|
+
* Whether to force a fresh value from the DOM or to use the cached
|
|
81
|
+
* value.
|
|
82
|
+
*
|
|
83
|
+
* @return {Highcharts.BBoxObject}
|
|
84
|
+
* A hash containing values for x, y, width and height.
|
|
69
85
|
*/
|
|
70
|
-
|
|
71
86
|
htmlGetBBox: function () {
|
|
72
87
|
var wrapper = this,
|
|
73
88
|
element = wrapper.element;
|
|
@@ -82,7 +97,10 @@ extend(SVGElement.prototype, /** @lends SVGElement.prototype */ {
|
|
|
82
97
|
|
|
83
98
|
/**
|
|
84
99
|
* VML override private method to update elements based on internal
|
|
85
|
-
* properties based on SVG transform
|
|
100
|
+
* properties based on SVG transform.
|
|
101
|
+
*
|
|
102
|
+
* @private
|
|
103
|
+
* @function Highcharts.SVGElement#htmlUpdateTransform
|
|
86
104
|
*/
|
|
87
105
|
htmlUpdateTransform: function () {
|
|
88
106
|
// aligning non added elements is expensive
|
|
@@ -212,7 +230,16 @@ extend(SVGElement.prototype, /** @lends SVGElement.prototype */ {
|
|
|
212
230
|
},
|
|
213
231
|
|
|
214
232
|
/**
|
|
215
|
-
* Set the rotation of an individual HTML span
|
|
233
|
+
* Set the rotation of an individual HTML span.
|
|
234
|
+
*
|
|
235
|
+
* @private
|
|
236
|
+
* @function Highcharts.SVGElement#setSpanRotation
|
|
237
|
+
*
|
|
238
|
+
* @param {number} rotation
|
|
239
|
+
*
|
|
240
|
+
* @param {number} alignCorrection
|
|
241
|
+
*
|
|
242
|
+
* @param {number} baseline
|
|
216
243
|
*/
|
|
217
244
|
setSpanRotation: function (rotation, alignCorrection, baseline) {
|
|
218
245
|
var rotationStyle = {},
|
|
@@ -228,6 +255,15 @@ extend(SVGElement.prototype, /** @lends SVGElement.prototype */ {
|
|
|
228
255
|
|
|
229
256
|
/**
|
|
230
257
|
* Get the correction in X and Y positioning as the element is rotated.
|
|
258
|
+
*
|
|
259
|
+
* @private
|
|
260
|
+
* @function Highcharts.SVGElement#getSpanCorrection
|
|
261
|
+
*
|
|
262
|
+
* @param {number} width
|
|
263
|
+
*
|
|
264
|
+
* @param {number} baseline
|
|
265
|
+
*
|
|
266
|
+
* @param {number} alignCorrection
|
|
231
267
|
*/
|
|
232
268
|
getSpanCorrection: function (width, baseline, alignCorrection) {
|
|
233
269
|
this.xCorr = -width * alignCorrection;
|
|
@@ -238,6 +274,12 @@ extend(SVGElement.prototype, /** @lends SVGElement.prototype */ {
|
|
|
238
274
|
// Extend SvgRenderer for useHTML option.
|
|
239
275
|
extend(SVGRenderer.prototype, /** @lends SVGRenderer.prototype */ {
|
|
240
276
|
|
|
277
|
+
/**
|
|
278
|
+
* @private
|
|
279
|
+
* @function Highcharts.SVGRenderer#getTransformKey
|
|
280
|
+
*
|
|
281
|
+
* @return {string}
|
|
282
|
+
*/
|
|
241
283
|
getTransformKey: function () {
|
|
242
284
|
return isMS && !/Edge/.test(win.navigator.userAgent) ?
|
|
243
285
|
'-ms-transform' :
|
|
@@ -254,9 +296,19 @@ extend(SVGRenderer.prototype, /** @lends SVGRenderer.prototype */ {
|
|
|
254
296
|
* Create HTML text node. This is used by the VML renderer as well as the
|
|
255
297
|
* SVG renderer through the useHTML option.
|
|
256
298
|
*
|
|
257
|
-
* @
|
|
258
|
-
* @
|
|
259
|
-
*
|
|
299
|
+
* @private
|
|
300
|
+
* @function Highcharts.SVGRenderer#html
|
|
301
|
+
*
|
|
302
|
+
* @param {string} str
|
|
303
|
+
* The text of (subset) HTML to draw.
|
|
304
|
+
*
|
|
305
|
+
* @param {number} x
|
|
306
|
+
* The x position of the text's lower left corner.
|
|
307
|
+
*
|
|
308
|
+
* @param {number} y
|
|
309
|
+
* The y position of the text's lower left corner.
|
|
310
|
+
*
|
|
311
|
+
* @return {Highcharts.HTMLDOMElement}
|
|
260
312
|
*/
|
|
261
313
|
html: function (str, x, y) {
|
|
262
314
|
var wrapper = this.createElement('span'),
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* (c) 2010-
|
|
2
|
+
* (c) 2010-2018 Torstein Honsi
|
|
3
3
|
*
|
|
4
4
|
* License: www.highcharts.com/license
|
|
5
5
|
*/
|
|
6
|
+
|
|
6
7
|
'use strict';
|
|
8
|
+
|
|
7
9
|
import H from './Globals.js';
|
|
8
10
|
import './Utilities.js';
|
|
9
11
|
import './Chart.js';
|
|
@@ -11,6 +13,7 @@ import './Options.js';
|
|
|
11
13
|
import './Legend.js';
|
|
12
14
|
import './Point.js';
|
|
13
15
|
import './Series.js';
|
|
16
|
+
|
|
14
17
|
var addEvent = H.addEvent,
|
|
15
18
|
Chart = H.Chart,
|
|
16
19
|
createElement = H.createElement,
|
|
@@ -35,12 +38,18 @@ var addEvent = H.addEvent,
|
|
|
35
38
|
/**
|
|
36
39
|
* TrackerMixin for points and graphs.
|
|
37
40
|
*
|
|
38
|
-
* @
|
|
41
|
+
* @private
|
|
42
|
+
* @mixin Highcharts.TrackerMixin
|
|
39
43
|
*/
|
|
40
44
|
TrackerMixin = H.TrackerMixin = {
|
|
41
45
|
|
|
42
46
|
/**
|
|
43
47
|
* Draw the tracker for a point.
|
|
48
|
+
*
|
|
49
|
+
* @private
|
|
50
|
+
* @function Highcharts.TrackerMixin.drawTrackerPoint
|
|
51
|
+
*
|
|
52
|
+
* @fires Highcharts.Series#event:afterDrawTracker
|
|
44
53
|
*/
|
|
45
54
|
drawTrackerPoint: function () {
|
|
46
55
|
var series = this,
|
|
@@ -97,6 +106,11 @@ TrackerMixin = H.TrackerMixin = {
|
|
|
97
106
|
* track mouse events on the graph or points. For the line type charts
|
|
98
107
|
* the tracker uses the same graphPath, but with a greater stroke width
|
|
99
108
|
* for better control.
|
|
109
|
+
*
|
|
110
|
+
* @private
|
|
111
|
+
* @function Highcharts.TrackerMixin.drawTrackerGraph
|
|
112
|
+
*
|
|
113
|
+
* @fires Highcharts.Series#event:afterDrawTracker
|
|
100
114
|
*/
|
|
101
115
|
drawTrackerGraph: function () {
|
|
102
116
|
var series = this,
|
|
@@ -201,28 +215,53 @@ TrackerMixin = H.TrackerMixin = {
|
|
|
201
215
|
/* End TrackerMixin */
|
|
202
216
|
|
|
203
217
|
|
|
204
|
-
|
|
218
|
+
/*
|
|
205
219
|
* Add tracking event listener to the series group, so the point graphics
|
|
206
220
|
* themselves act as trackers
|
|
207
221
|
*/
|
|
208
222
|
|
|
209
223
|
if (seriesTypes.column) {
|
|
224
|
+
/**
|
|
225
|
+
* @private
|
|
226
|
+
* @borrows Highcharts.TrackerMixin.drawTrackerPoint as Highcharts.seriesTypes.column#drawTracker
|
|
227
|
+
*/
|
|
210
228
|
seriesTypes.column.prototype.drawTracker = TrackerMixin.drawTrackerPoint;
|
|
211
229
|
}
|
|
212
230
|
|
|
213
231
|
if (seriesTypes.pie) {
|
|
232
|
+
/**
|
|
233
|
+
* @private
|
|
234
|
+
* @borrows Highcharts.TrackerMixin.drawTrackerPoint as Highcharts.seriesTypes.pie#drawTracker
|
|
235
|
+
*/
|
|
214
236
|
seriesTypes.pie.prototype.drawTracker = TrackerMixin.drawTrackerPoint;
|
|
215
237
|
}
|
|
216
238
|
|
|
217
239
|
if (seriesTypes.scatter) {
|
|
240
|
+
/**
|
|
241
|
+
* @private
|
|
242
|
+
* @borrows Highcharts.TrackerMixin.drawTrackerPoint as Highcharts.seriesTypes.scatter#drawTracker
|
|
243
|
+
*/
|
|
218
244
|
seriesTypes.scatter.prototype.drawTracker = TrackerMixin.drawTrackerPoint;
|
|
219
245
|
}
|
|
220
246
|
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
// Extend Legend for item events.
|
|
224
250
|
extend(Legend.prototype, {
|
|
225
251
|
|
|
252
|
+
/**
|
|
253
|
+
* @private
|
|
254
|
+
* @function Highcharts.Legend#setItemEvents
|
|
255
|
+
*
|
|
256
|
+
* @param {Highcharts.Point|Highcharts.Series} item
|
|
257
|
+
*
|
|
258
|
+
* @param {Highcharts.SVGElement} legendItem
|
|
259
|
+
*
|
|
260
|
+
* @param {boolean} [useHTML=false]
|
|
261
|
+
*
|
|
262
|
+
* @fires Highcharts.Point#event:legendItemClick
|
|
263
|
+
* @fires Highcharts.Series#event:legendItemClick
|
|
264
|
+
*/
|
|
226
265
|
setItemEvents: function (item, legendItem, useHTML) {
|
|
227
266
|
var legend = this,
|
|
228
267
|
boxWrapper = legend.chart.renderer.boxWrapper,
|
|
@@ -278,6 +317,14 @@ extend(Legend.prototype, {
|
|
|
278
317
|
});
|
|
279
318
|
},
|
|
280
319
|
|
|
320
|
+
/**
|
|
321
|
+
* @private
|
|
322
|
+
* @function Highcharts.Legend#createCheckboxForItem
|
|
323
|
+
*
|
|
324
|
+
* @param {Highcharts.Point|Highcharts.Series} item
|
|
325
|
+
*
|
|
326
|
+
* @fires Highcharts.Series#event:checkboxClick
|
|
327
|
+
*/
|
|
281
328
|
createCheckboxForItem: function (item) {
|
|
282
329
|
var legend = this;
|
|
283
330
|
|
|
@@ -305,19 +352,16 @@ extend(Legend.prototype, {
|
|
|
305
352
|
}
|
|
306
353
|
});
|
|
307
354
|
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
/*
|
|
313
|
-
* Extend the Chart object with interaction
|
|
314
|
-
*/
|
|
315
|
-
|
|
355
|
+
// Extend the Chart object with interaction.
|
|
316
356
|
extend(Chart.prototype, /** @lends Chart.prototype */ {
|
|
357
|
+
|
|
317
358
|
/**
|
|
318
359
|
* Display the zoom button.
|
|
319
360
|
*
|
|
320
361
|
* @private
|
|
362
|
+
* @function Highcharts.Chart#showResetZoom
|
|
363
|
+
*
|
|
364
|
+
* @fires Highcharts.Chart#event:beforeShowResetZoom
|
|
321
365
|
*/
|
|
322
366
|
showResetZoom: function () {
|
|
323
367
|
var chart = this,
|
|
@@ -354,6 +398,10 @@ extend(Chart.prototype, /** @lends Chart.prototype */ {
|
|
|
354
398
|
/**
|
|
355
399
|
* Zoom the chart out after a user has zoomed in. See also
|
|
356
400
|
* [Axis.setExtremes](/class-reference/Highcharts.Axis#setExtremes).
|
|
401
|
+
*
|
|
402
|
+
* @function Highcharts.Chart#zoomOut
|
|
403
|
+
*
|
|
404
|
+
* @fires Highcharts.Chart#event:selection
|
|
357
405
|
*/
|
|
358
406
|
zoomOut: function () {
|
|
359
407
|
fireEvent(this, 'selection', { resetSelection: true }, this.zoom);
|
|
@@ -361,9 +409,11 @@ extend(Chart.prototype, /** @lends Chart.prototype */ {
|
|
|
361
409
|
|
|
362
410
|
/**
|
|
363
411
|
* Zoom into a given portion of the chart given by axis coordinates.
|
|
364
|
-
* @param {Object} event
|
|
365
412
|
*
|
|
366
413
|
* @private
|
|
414
|
+
* @function Highcharts.Chart#zoom
|
|
415
|
+
*
|
|
416
|
+
* @param {Highcharts.SelectEventObject} event
|
|
367
417
|
*/
|
|
368
418
|
zoom: function (event) {
|
|
369
419
|
var chart = this,
|
|
@@ -421,6 +471,11 @@ extend(Chart.prototype, /** @lends Chart.prototype */ {
|
|
|
421
471
|
* compared to the first chartX position in the dragging operation.
|
|
422
472
|
*
|
|
423
473
|
* @private
|
|
474
|
+
* @function Highcharts.Chart#pan
|
|
475
|
+
*
|
|
476
|
+
* @param {Highcharts.PointerEventObject} e
|
|
477
|
+
*
|
|
478
|
+
* @param {string} panning
|
|
424
479
|
*/
|
|
425
480
|
pan: function (e, panning) {
|
|
426
481
|
|
|
@@ -513,24 +568,13 @@ extend(Chart.prototype, /** @lends Chart.prototype */ {
|
|
|
513
568
|
}
|
|
514
569
|
});
|
|
515
570
|
|
|
516
|
-
|
|
517
|
-
* Extend the Point object with interaction
|
|
518
|
-
*/
|
|
571
|
+
// Extend the Point object with interaction
|
|
519
572
|
extend(Point.prototype, /** @lends Highcharts.Point.prototype */ {
|
|
573
|
+
|
|
520
574
|
/**
|
|
521
575
|
* Toggle the selection status of a point.
|
|
522
|
-
* @param {Boolean} [selected]
|
|
523
|
-
* When `true`, the point is selected. When `false`, the point is
|
|
524
|
-
* unselected. When `null` or `undefined`, the selection state is
|
|
525
|
-
* toggled.
|
|
526
|
-
* @param {Boolean} [accumulate=false]
|
|
527
|
-
* When `true`, the selection is added to other selected points.
|
|
528
|
-
* When `false`, other selected points are deselected. Internally in
|
|
529
|
-
* Highcharts, when {@link http://api.highcharts.com/highcharts/plotOptions.series.allowPointSelect|allowPointSelect}
|
|
530
|
-
* is `true`, selected points are accumulated on Control, Shift or
|
|
531
|
-
* Cmd clicking the point.
|
|
532
576
|
*
|
|
533
|
-
* @see
|
|
577
|
+
* @see Highcharts.Chart#getSelectedPoints
|
|
534
578
|
*
|
|
535
579
|
* @sample highcharts/members/point-select/
|
|
536
580
|
* Select a point from a button
|
|
@@ -538,6 +582,24 @@ extend(Point.prototype, /** @lends Highcharts.Point.prototype */ {
|
|
|
538
582
|
* Select a range of points through a drag selection
|
|
539
583
|
* @sample maps/series/data-id/
|
|
540
584
|
* Select a point in Highmaps
|
|
585
|
+
*
|
|
586
|
+
* @function Highcharts.Point#select
|
|
587
|
+
*
|
|
588
|
+
* @param {boolean} [selected]
|
|
589
|
+
* When `true`, the point is selected. When `false`, the point is
|
|
590
|
+
* unselected. When `null` or `undefined`, the selection state is
|
|
591
|
+
* toggled.
|
|
592
|
+
*
|
|
593
|
+
* @param {boolean} [accumulate=false]
|
|
594
|
+
* When `true`, the selection is added to other selected points.
|
|
595
|
+
* When `false`, other selected points are deselected. Internally in
|
|
596
|
+
* Highcharts, when
|
|
597
|
+
* {@link http://api.highcharts.com/highcharts/plotOptions.series.allowPointSelect|allowPointSelect}
|
|
598
|
+
* is `true`, selected points are accumulated on Control, Shift or
|
|
599
|
+
* Cmd clicking the point.
|
|
600
|
+
*
|
|
601
|
+
* @fires Highcharts.Point#event:select
|
|
602
|
+
* @fires Highcharts.Point#event:unselect
|
|
541
603
|
*/
|
|
542
604
|
select: function (selected, accumulate) {
|
|
543
605
|
var point = this,
|
|
@@ -554,11 +616,12 @@ extend(Point.prototype, /** @lends Highcharts.Point.prototype */ {
|
|
|
554
616
|
|
|
555
617
|
/**
|
|
556
618
|
* Whether the point is selected or not.
|
|
619
|
+
*
|
|
557
620
|
* @see Point#select
|
|
558
621
|
* @see Chart#getSelectedPoints
|
|
559
|
-
*
|
|
560
|
-
* @name selected
|
|
561
|
-
* @type {
|
|
622
|
+
*
|
|
623
|
+
* @name Highcharts.Point#selected
|
|
624
|
+
* @type {boolean}
|
|
562
625
|
*/
|
|
563
626
|
point.selected = point.options.selected = selected;
|
|
564
627
|
series.options.data[inArray(point, series.data)] =
|
|
@@ -588,7 +651,10 @@ extend(Point.prototype, /** @lends Highcharts.Point.prototype */ {
|
|
|
588
651
|
* Runs on mouse over the point. Called internally from mouse and touch
|
|
589
652
|
* events.
|
|
590
653
|
*
|
|
591
|
-
* @
|
|
654
|
+
* @function Highcharts.Point#onMouseOver
|
|
655
|
+
*
|
|
656
|
+
* @param {Highcharts.PointerEventObject} e
|
|
657
|
+
* The event arguments.
|
|
592
658
|
*/
|
|
593
659
|
onMouseOver: function (e) {
|
|
594
660
|
var point = this,
|
|
@@ -605,6 +671,10 @@ extend(Point.prototype, /** @lends Highcharts.Point.prototype */ {
|
|
|
605
671
|
/**
|
|
606
672
|
* Runs on mouse out from the point. Called internally from mouse and touch
|
|
607
673
|
* events.
|
|
674
|
+
*
|
|
675
|
+
* @function Highcharts.Point#onMouseOut
|
|
676
|
+
*
|
|
677
|
+
* @fires Highcharts.Point#event:mouseOut
|
|
608
678
|
*/
|
|
609
679
|
onMouseOut: function () {
|
|
610
680
|
var point = this,
|
|
@@ -621,6 +691,7 @@ extend(Point.prototype, /** @lends Highcharts.Point.prototype */ {
|
|
|
621
691
|
* demand, to save processing time on hovering.
|
|
622
692
|
*
|
|
623
693
|
* @private
|
|
694
|
+
* @function Highcharts.Point#importEvents
|
|
624
695
|
*/
|
|
625
696
|
importEvents: function () {
|
|
626
697
|
if (!this.hasImportedEvents) {
|
|
@@ -640,9 +711,17 @@ extend(Point.prototype, /** @lends Highcharts.Point.prototype */ {
|
|
|
640
711
|
|
|
641
712
|
/**
|
|
642
713
|
* Set the point's state.
|
|
643
|
-
*
|
|
644
|
-
*
|
|
645
|
-
*
|
|
714
|
+
*
|
|
715
|
+
* @function Highcharts.Point#setState
|
|
716
|
+
*
|
|
717
|
+
* @param {string} [state]
|
|
718
|
+
* The new state, can be one of `''` (an empty string), `hover` or
|
|
719
|
+
* `select`.
|
|
720
|
+
*
|
|
721
|
+
* @param {boolean} [move]
|
|
722
|
+
* State for animation.
|
|
723
|
+
*
|
|
724
|
+
* @fires Highcharts.Point#event:afterSetState
|
|
646
725
|
*/
|
|
647
726
|
setState: function (state, move) {
|
|
648
727
|
var point = this,
|
|
@@ -819,9 +898,14 @@ extend(Point.prototype, /** @lends Highcharts.Point.prototype */ {
|
|
|
819
898
|
/**
|
|
820
899
|
* Get the path definition for the halo, which is usually a shadow-like
|
|
821
900
|
* circle around the currently hovered point.
|
|
822
|
-
*
|
|
823
|
-
*
|
|
824
|
-
*
|
|
901
|
+
*
|
|
902
|
+
* @function Highcharts.Point#haloPath
|
|
903
|
+
*
|
|
904
|
+
* @param {number} size
|
|
905
|
+
* The radius of the circular halo.
|
|
906
|
+
*
|
|
907
|
+
* @return {Highcharts.SVGPathArray}
|
|
908
|
+
* The path definition.
|
|
825
909
|
*/
|
|
826
910
|
haloPath: function (size) {
|
|
827
911
|
var series = this.series,
|
|
@@ -836,13 +920,15 @@ extend(Point.prototype, /** @lends Highcharts.Point.prototype */ {
|
|
|
836
920
|
}
|
|
837
921
|
});
|
|
838
922
|
|
|
839
|
-
|
|
840
|
-
* Extend the Series object with interaction
|
|
841
|
-
*/
|
|
842
|
-
|
|
923
|
+
// Extend the Series object with interaction
|
|
843
924
|
extend(Series.prototype, /** @lends Highcharts.Series.prototype */ {
|
|
925
|
+
|
|
844
926
|
/**
|
|
845
927
|
* Runs on mouse over the series graphical items.
|
|
928
|
+
*
|
|
929
|
+
* @function Highcharts.Series#onMouseOver
|
|
930
|
+
*
|
|
931
|
+
* @fires Highcharts.Series#event:mouseOver
|
|
846
932
|
*/
|
|
847
933
|
onMouseOver: function () {
|
|
848
934
|
var series = this,
|
|
@@ -867,6 +953,10 @@ extend(Series.prototype, /** @lends Highcharts.Series.prototype */ {
|
|
|
867
953
|
|
|
868
954
|
/**
|
|
869
955
|
* Runs on mouse out of the series graphical items.
|
|
956
|
+
*
|
|
957
|
+
* @function Highcharts.Series#onMouseOut
|
|
958
|
+
*
|
|
959
|
+
* @fires Highcharts.Series#event:mouseOut
|
|
870
960
|
*/
|
|
871
961
|
onMouseOut: function () {
|
|
872
962
|
// trigger the event only if listeners exist
|
|
@@ -908,9 +998,10 @@ extend(Series.prototype, /** @lends Highcharts.Series.prototype */ {
|
|
|
908
998
|
* operations, but it can also be called directly to visually
|
|
909
999
|
* highlight a series.
|
|
910
1000
|
*
|
|
911
|
-
* @
|
|
912
|
-
*
|
|
913
|
-
*
|
|
1001
|
+
* @function Highcharts.Series#setState
|
|
1002
|
+
*
|
|
1003
|
+
* @param {string} [state]
|
|
1004
|
+
* Can be either `hover` or undefined to set to normal state.
|
|
914
1005
|
*/
|
|
915
1006
|
setState: function (state) {
|
|
916
1007
|
var series = this,
|
|
@@ -946,19 +1037,26 @@ extend(Series.prototype, /** @lends Highcharts.Series.prototype */ {
|
|
|
946
1037
|
series.state = state;
|
|
947
1038
|
|
|
948
1039
|
|
|
1040
|
+
|
|
949
1041
|
}
|
|
950
1042
|
},
|
|
951
1043
|
|
|
952
1044
|
/**
|
|
953
1045
|
* Show or hide the series.
|
|
954
1046
|
*
|
|
955
|
-
* @
|
|
956
|
-
*
|
|
957
|
-
*
|
|
958
|
-
*
|
|
959
|
-
*
|
|
960
|
-
*
|
|
961
|
-
*
|
|
1047
|
+
* @function Highcharts.Series#setVisible
|
|
1048
|
+
*
|
|
1049
|
+
* @param {boolean} [visible]
|
|
1050
|
+
* True to show the series, false to hide. If undefined, the
|
|
1051
|
+
* visibility is toggled.
|
|
1052
|
+
*
|
|
1053
|
+
* @param {boolean} [redraw=true]
|
|
1054
|
+
* Whether to redraw the chart after the series is altered. If doing
|
|
1055
|
+
* more operations on the chart, it is a good idea to set redraw to
|
|
1056
|
+
* false and call {@link Chart#redraw|chart.redraw()} after.
|
|
1057
|
+
*
|
|
1058
|
+
* @fires Highcharts.Series#event:hide
|
|
1059
|
+
* @fires Highcharts.Series#event:show
|
|
962
1060
|
*/
|
|
963
1061
|
setVisible: function (vis, redraw) {
|
|
964
1062
|
var series = this,
|
|
@@ -1036,6 +1134,10 @@ extend(Series.prototype, /** @lends Highcharts.Series.prototype */ {
|
|
|
1036
1134
|
*
|
|
1037
1135
|
* @sample highcharts/members/series-hide/
|
|
1038
1136
|
* Toggle visibility from a button
|
|
1137
|
+
*
|
|
1138
|
+
* @function Highcharts.Series#show
|
|
1139
|
+
*
|
|
1140
|
+
* @fires Highcharts.Series#event:show
|
|
1039
1141
|
*/
|
|
1040
1142
|
show: function () {
|
|
1041
1143
|
this.setVisible(true);
|
|
@@ -1049,6 +1151,10 @@ extend(Series.prototype, /** @lends Highcharts.Series.prototype */ {
|
|
|
1049
1151
|
*
|
|
1050
1152
|
* @sample highcharts/members/series-hide/
|
|
1051
1153
|
* Toggle visibility from a button
|
|
1154
|
+
*
|
|
1155
|
+
* @function Highcharts.Series#hide
|
|
1156
|
+
*
|
|
1157
|
+
* @fires Highcharts.Series#event:hide
|
|
1052
1158
|
*/
|
|
1053
1159
|
hide: function () {
|
|
1054
1160
|
this.setVisible(false);
|
|
@@ -1056,17 +1162,24 @@ extend(Series.prototype, /** @lends Highcharts.Series.prototype */ {
|
|
|
1056
1162
|
|
|
1057
1163
|
|
|
1058
1164
|
/**
|
|
1059
|
-
* Select or unselect the series. This means its
|
|
1060
|
-
* Highcharts.Series.selected|selected}
|
|
1061
|
-
*
|
|
1062
|
-
*
|
|
1063
|
-
*
|
|
1064
|
-
*
|
|
1065
|
-
* True to select the series, false to unselect. If undefined, the
|
|
1066
|
-
* selection state is toggled.
|
|
1165
|
+
* Select or unselect the series. This means its
|
|
1166
|
+
* {@link Highcharts.Series.selected|selected}
|
|
1167
|
+
* property is set, the checkbox in the legend is toggled and when selected,
|
|
1168
|
+
* the series is returned by the
|
|
1169
|
+
* {@link Highcharts.Chart#getSelectedSeries}
|
|
1170
|
+
* function.
|
|
1067
1171
|
*
|
|
1068
1172
|
* @sample highcharts/members/series-select/
|
|
1069
1173
|
* Select a series from a button
|
|
1174
|
+
*
|
|
1175
|
+
* @function Highcharts.Series#select
|
|
1176
|
+
*
|
|
1177
|
+
* @param {boolean} [selected]
|
|
1178
|
+
* True to select the series, false to unselect. If undefined, the
|
|
1179
|
+
* selection state is toggled.
|
|
1180
|
+
*
|
|
1181
|
+
* @fires Highcharts.Series#event:select
|
|
1182
|
+
* @fires Highcharts.Series#event:unselect
|
|
1070
1183
|
*/
|
|
1071
1184
|
select: function (selected) {
|
|
1072
1185
|
var series = this;
|
|
@@ -1082,5 +1195,9 @@ extend(Series.prototype, /** @lends Highcharts.Series.prototype */ {
|
|
|
1082
1195
|
fireEvent(series, selected ? 'select' : 'unselect');
|
|
1083
1196
|
},
|
|
1084
1197
|
|
|
1198
|
+
/**
|
|
1199
|
+
* @private
|
|
1200
|
+
* @borrows Highcharts.TrackerMixin.drawTrackerGraph as Highcharts.Series#drawTracker
|
|
1201
|
+
*/
|
|
1085
1202
|
drawTracker: TrackerMixin.drawTrackerGraph
|
|
1086
1203
|
});
|
|
@@ -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
|
*/
|
|
@@ -316,8 +316,12 @@ Highcharts.Legend.prototype = {
|
|
|
316
316
|
left: (alignAttr.translateX + item.checkboxOffset +
|
|
317
317
|
checkbox.x - 20) + 'px',
|
|
318
318
|
top: top + 'px',
|
|
319
|
-
display:
|
|
320
|
-
|
|
319
|
+
display: this.proximate || (
|
|
320
|
+
top > translateY - 6 &&
|
|
321
|
+
top < translateY + clipHeight - 6
|
|
322
|
+
) ?
|
|
323
|
+
'' :
|
|
324
|
+
'none'
|
|
321
325
|
});
|
|
322
326
|
}
|
|
323
327
|
}, this);
|
|
@@ -1,24 +1,39 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* (c) 2010-
|
|
2
|
+
* (c) 2010-2018 Torstein Honsi
|
|
3
3
|
*
|
|
4
4
|
* License: www.highcharts.com/license
|
|
5
5
|
*/
|
|
6
|
+
|
|
6
7
|
'use strict';
|
|
8
|
+
|
|
7
9
|
import H from './Globals.js';
|
|
8
10
|
import './Utilities.js';
|
|
11
|
+
|
|
9
12
|
var Axis = H.Axis,
|
|
10
13
|
getMagnitude = H.getMagnitude,
|
|
11
14
|
map = H.map,
|
|
12
15
|
normalizeTickInterval = H.normalizeTickInterval,
|
|
13
16
|
pick = H.pick;
|
|
14
|
-
|
|
17
|
+
|
|
18
|
+
/*
|
|
15
19
|
* Methods defined on the Axis prototype
|
|
16
20
|
*/
|
|
17
21
|
|
|
18
22
|
/**
|
|
19
|
-
* Set the tick positions of a logarithmic axis
|
|
23
|
+
* Set the tick positions of a logarithmic axis.
|
|
24
|
+
*
|
|
25
|
+
* @private
|
|
26
|
+
* @function Highcharts.Axis#getLogTickPositions
|
|
27
|
+
*
|
|
28
|
+
* @param {number} interval
|
|
29
|
+
*
|
|
30
|
+
* @param {number} min
|
|
31
|
+
*
|
|
32
|
+
* @param {number} max
|
|
20
33
|
*
|
|
21
|
-
* @
|
|
34
|
+
* @param {number} minor
|
|
35
|
+
*
|
|
36
|
+
* @return {Array<number>}
|
|
22
37
|
*/
|
|
23
38
|
Axis.prototype.getLogTickPositions = function (interval, min, max, minor) {
|
|
24
39
|
var axis = this,
|
|
@@ -129,10 +144,26 @@ Axis.prototype.getLogTickPositions = function (interval, min, max, minor) {
|
|
|
129
144
|
return positions;
|
|
130
145
|
};
|
|
131
146
|
|
|
147
|
+
/**
|
|
148
|
+
* @private
|
|
149
|
+
* @function Highcharts.Axis#log2lin
|
|
150
|
+
*
|
|
151
|
+
* @param {number} num
|
|
152
|
+
*
|
|
153
|
+
* @return {number}
|
|
154
|
+
*/
|
|
132
155
|
Axis.prototype.log2lin = function (num) {
|
|
133
156
|
return Math.log(num) / Math.LN10;
|
|
134
157
|
};
|
|
135
158
|
|
|
159
|
+
/**
|
|
160
|
+
* @private
|
|
161
|
+
* @function Highcharts.Axis#lin2log
|
|
162
|
+
*
|
|
163
|
+
* @param {number} num
|
|
164
|
+
*
|
|
165
|
+
* @return {number}
|
|
166
|
+
*/
|
|
136
167
|
Axis.prototype.lin2log = function (num) {
|
|
137
168
|
return Math.pow(10, num);
|
|
138
169
|
};
|