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,19 +1,35 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* (c) 2010-
|
|
2
|
+
* (c) 2010-2018 Torstein Honsi
|
|
3
3
|
*
|
|
4
4
|
* License: www.highcharts.com/license
|
|
5
5
|
*/
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Adjusted width and x offset of the columns for grouping.
|
|
9
|
+
*
|
|
10
|
+
* @typedef Highcharts.ColumnMetricsObject
|
|
11
|
+
*
|
|
12
|
+
* @property {number} width
|
|
13
|
+
* Width of the columns.
|
|
14
|
+
*
|
|
15
|
+
* @property {number} offset
|
|
16
|
+
* Offset of the columns.
|
|
17
|
+
*/
|
|
18
|
+
|
|
6
19
|
'use strict';
|
|
20
|
+
|
|
7
21
|
import H from './Globals.js';
|
|
8
22
|
import './Utilities.js';
|
|
9
23
|
import './Color.js';
|
|
10
24
|
import './Legend.js';
|
|
11
25
|
import './Series.js';
|
|
12
26
|
import './Options.js';
|
|
27
|
+
|
|
13
28
|
var animObject = H.animObject,
|
|
14
29
|
color = H.color,
|
|
15
30
|
each = H.each,
|
|
16
31
|
extend = H.extend,
|
|
32
|
+
defined = H.defined,
|
|
17
33
|
isNumber = H.isNumber,
|
|
18
34
|
LegendSymbolMixin = H.LegendSymbolMixin,
|
|
19
35
|
merge = H.merge,
|
|
@@ -22,35 +38,41 @@ var animObject = H.animObject,
|
|
|
22
38
|
Series = H.Series,
|
|
23
39
|
seriesType = H.seriesType,
|
|
24
40
|
svg = H.svg;
|
|
41
|
+
|
|
25
42
|
/**
|
|
26
43
|
* The column series type.
|
|
27
44
|
*
|
|
28
|
-
* @
|
|
29
|
-
* @
|
|
45
|
+
* @private
|
|
46
|
+
* @class
|
|
47
|
+
* @name Highcharts.seriesTypes.column
|
|
48
|
+
*
|
|
49
|
+
* @augments Highcharts.Series
|
|
30
50
|
*/
|
|
51
|
+
seriesType('column', 'line'
|
|
31
52
|
|
|
32
53
|
/**
|
|
33
54
|
* Column series display one column per value along an X axis.
|
|
34
55
|
*
|
|
35
|
-
* @sample
|
|
36
|
-
*
|
|
56
|
+
* @sample {highcharts} highcharts/demo/column-basic/
|
|
57
|
+
* Column chart
|
|
58
|
+
* @sample {highstock} stock/demo/column/
|
|
59
|
+
* Column chart
|
|
37
60
|
*
|
|
38
|
-
* @extends
|
|
61
|
+
* @extends plotOptions.line
|
|
62
|
+
* @excluding connectNulls, dashStyle, gapSize, gapUnit, linecap,
|
|
63
|
+
* lineWidth, marker, connectEnds, step
|
|
39
64
|
* @product highcharts highstock
|
|
40
|
-
* @excluding connectNulls,dashStyle,gapSize,gapUnit,linecap,lineWidth,
|
|
41
|
-
* marker,connectEnds,step
|
|
42
65
|
* @optionparent plotOptions.column
|
|
43
66
|
*/
|
|
44
|
-
|
|
67
|
+
, {
|
|
45
68
|
|
|
46
69
|
/**
|
|
47
70
|
* The corner radius of the border surrounding each column or bar.
|
|
48
71
|
*
|
|
49
|
-
* @
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
* @
|
|
53
|
-
* @product highcharts highstock
|
|
72
|
+
* @sample {highcharts} highcharts/plotoptions/column-borderradius/
|
|
73
|
+
* Rounded columns
|
|
74
|
+
*
|
|
75
|
+
* @product highcharts highstock gantt
|
|
54
76
|
*/
|
|
55
77
|
borderRadius: 0,
|
|
56
78
|
|
|
@@ -64,15 +86,17 @@ seriesType('column', 'line', {
|
|
|
64
86
|
* and instead this option gives the points individual color class names on
|
|
65
87
|
* the form `highcharts-color-{n}`.
|
|
66
88
|
*
|
|
67
|
-
* @
|
|
68
|
-
*
|
|
69
|
-
* @sample
|
|
70
|
-
*
|
|
71
|
-
* @sample
|
|
72
|
-
*
|
|
89
|
+
* @see [series colors](#plotOptions.column.colors)
|
|
90
|
+
*
|
|
91
|
+
* @sample {highcharts} highcharts/plotoptions/column-colorbypoint-false/
|
|
92
|
+
* False by default
|
|
93
|
+
* @sample {highcharts} highcharts/plotoptions/column-colorbypoint-true/
|
|
94
|
+
* True
|
|
95
|
+
*
|
|
96
|
+
* @type {boolean}
|
|
73
97
|
* @default false
|
|
74
98
|
* @since 2.0
|
|
75
|
-
* @product highcharts highstock
|
|
99
|
+
* @product highcharts highstock gantt
|
|
76
100
|
* @apioption plotOptions.column.colorByPoint
|
|
77
101
|
*/
|
|
78
102
|
|
|
@@ -81,9 +105,9 @@ seriesType('column', 'line', {
|
|
|
81
105
|
* of the global [colors](#colors) when [colorByPoint](
|
|
82
106
|
* #plotOptions.column.colorByPoint) is true.
|
|
83
107
|
*
|
|
84
|
-
* @type {Array<
|
|
108
|
+
* @type {Array<Highcharts.ColorString>}
|
|
85
109
|
* @since 3.0
|
|
86
|
-
* @product highcharts highstock
|
|
110
|
+
* @product highcharts highstock gantt
|
|
87
111
|
* @apioption plotOptions.column.colors
|
|
88
112
|
*/
|
|
89
113
|
|
|
@@ -95,21 +119,23 @@ seriesType('column', 'line', {
|
|
|
95
119
|
* to `false` may look better, even though each column is rendered
|
|
96
120
|
* blurry.
|
|
97
121
|
*
|
|
98
|
-
* @sample
|
|
99
|
-
*
|
|
122
|
+
* @sample {highcharts} highcharts/plotoptions/column-crisp-false/
|
|
123
|
+
* Crisp is false
|
|
124
|
+
*
|
|
100
125
|
* @since 5.0.10
|
|
101
|
-
* @product highcharts highstock
|
|
126
|
+
* @product highcharts highstock gantt
|
|
102
127
|
*/
|
|
103
128
|
crisp: true,
|
|
104
129
|
|
|
105
130
|
/**
|
|
106
131
|
* Padding between each value groups, in x axis units.
|
|
107
132
|
*
|
|
108
|
-
* @sample
|
|
109
|
-
*
|
|
110
|
-
* @sample
|
|
111
|
-
*
|
|
112
|
-
*
|
|
133
|
+
* @sample {highcharts} highcharts/plotoptions/column-grouppadding-default/
|
|
134
|
+
* 0.2 by default
|
|
135
|
+
* @sample {highcharts} highcharts/plotoptions/column-grouppadding-none/
|
|
136
|
+
* No group padding - all columns are evenly spaced
|
|
137
|
+
*
|
|
138
|
+
* @product highcharts highstock gantt
|
|
113
139
|
*/
|
|
114
140
|
groupPadding: 0.2,
|
|
115
141
|
|
|
@@ -118,14 +144,15 @@ seriesType('column', 'line', {
|
|
|
118
144
|
* of each other. Non-grouped columns will be laid out individually
|
|
119
145
|
* and overlap each other.
|
|
120
146
|
*
|
|
121
|
-
* @
|
|
122
|
-
*
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
*
|
|
147
|
+
* @sample {highcharts} highcharts/plotoptions/column-grouping-false/
|
|
148
|
+
* Grouping disabled
|
|
149
|
+
* @sample {highstock} highcharts/plotoptions/column-grouping-false/
|
|
150
|
+
* Grouping disabled
|
|
151
|
+
*
|
|
152
|
+
* @type {boolean}
|
|
126
153
|
* @default true
|
|
127
154
|
* @since 2.3.0
|
|
128
|
-
* @product highcharts highstock
|
|
155
|
+
* @product highcharts highstock gantt
|
|
129
156
|
* @apioption plotOptions.column.grouping
|
|
130
157
|
*/
|
|
131
158
|
|
|
@@ -139,28 +166,30 @@ seriesType('column', 'line', {
|
|
|
139
166
|
* of a bar in a bar chart. This prevents the columns from becoming
|
|
140
167
|
* too wide when there is a small number of points in the chart.
|
|
141
168
|
*
|
|
142
|
-
* @
|
|
143
|
-
*
|
|
144
|
-
* @sample
|
|
145
|
-
*
|
|
146
|
-
* @sample
|
|
147
|
-
*
|
|
148
|
-
*
|
|
169
|
+
* @see [pointWidth](#plotOptions.column.pointWidth)
|
|
170
|
+
*
|
|
171
|
+
* @sample {highcharts} highcharts/plotoptions/column-maxpointwidth-20/
|
|
172
|
+
* Limited to 50
|
|
173
|
+
* @sample {highstock} highcharts/plotoptions/column-maxpointwidth-20/
|
|
174
|
+
* Limited to 50
|
|
175
|
+
*
|
|
176
|
+
* @type {number}
|
|
149
177
|
* @since 4.1.8
|
|
150
|
-
* @product highcharts highstock
|
|
178
|
+
* @product highcharts highstock gantt
|
|
151
179
|
* @apioption plotOptions.column.maxPointWidth
|
|
152
180
|
*/
|
|
153
181
|
|
|
154
182
|
/**
|
|
155
183
|
* Padding between each column or bar, in x axis units.
|
|
156
184
|
*
|
|
157
|
-
* @sample
|
|
158
|
-
*
|
|
159
|
-
* @sample
|
|
185
|
+
* @sample {highcharts} highcharts/plotoptions/column-pointpadding-default/
|
|
186
|
+
* 0.1 by default
|
|
187
|
+
* @sample {highcharts} highcharts/plotoptions/column-pointpadding-025/
|
|
160
188
|
* 0.25
|
|
161
|
-
* @sample
|
|
162
|
-
*
|
|
163
|
-
*
|
|
189
|
+
* @sample {highcharts} highcharts/plotoptions/column-pointpadding-none/
|
|
190
|
+
* 0 for tightly packed columns
|
|
191
|
+
*
|
|
192
|
+
* @product highcharts highstock gantt
|
|
164
193
|
*/
|
|
165
194
|
pointPadding: 0.1,
|
|
166
195
|
|
|
@@ -169,17 +198,30 @@ seriesType('column', 'line', {
|
|
|
169
198
|
* `null`, the width is calculated from the `pointPadding` and
|
|
170
199
|
* `groupPadding`.
|
|
171
200
|
*
|
|
172
|
-
* @
|
|
173
|
-
*
|
|
174
|
-
* @sample
|
|
175
|
-
*
|
|
176
|
-
*
|
|
177
|
-
*
|
|
201
|
+
* @see [maxPointWidth](#plotOptions.column.maxPointWidth)
|
|
202
|
+
*
|
|
203
|
+
* @sample {highcharts} highcharts/plotoptions/column-pointwidth-20/
|
|
204
|
+
* 20px wide columns regardless of chart width or the amount of data
|
|
205
|
+
* points
|
|
206
|
+
*
|
|
207
|
+
* @type {number}
|
|
178
208
|
* @since 1.2.5
|
|
179
|
-
* @product highcharts highstock
|
|
209
|
+
* @product highcharts highstock gantt
|
|
180
210
|
* @apioption plotOptions.column.pointWidth
|
|
181
211
|
*/
|
|
182
212
|
|
|
213
|
+
/**
|
|
214
|
+
* A pixel value specifying a fixed width for the column or bar. Overrides
|
|
215
|
+
* pointWidth on the series.
|
|
216
|
+
*
|
|
217
|
+
* @type {Number}
|
|
218
|
+
* @see [series.pointWidth](#plotOptions.column.pointWidth)
|
|
219
|
+
* @default undefined
|
|
220
|
+
* @since 7.0.0
|
|
221
|
+
* @product highcharts highstock gantt
|
|
222
|
+
* @apioption series.column.data.pointWidth
|
|
223
|
+
*/
|
|
224
|
+
|
|
183
225
|
/**
|
|
184
226
|
* The minimal height for a column or width for a bar. By default,
|
|
185
227
|
* 0 values are not shown. To visualize a 0 (or close to zero) point,
|
|
@@ -187,13 +229,12 @@ seriesType('column', 'line', {
|
|
|
187
229
|
* column charts, minPointLength might not be respected for tightly
|
|
188
230
|
* packed values.
|
|
189
231
|
*
|
|
190
|
-
* @sample
|
|
191
|
-
*
|
|
192
|
-
*
|
|
193
|
-
*
|
|
194
|
-
*
|
|
195
|
-
*
|
|
196
|
-
* @product highcharts highstock
|
|
232
|
+
* @sample {highcharts} highcharts/plotoptions/column-minpointlength/
|
|
233
|
+
* Zero base value
|
|
234
|
+
* @sample {highcharts} highcharts/plotoptions/column-minpointlength-pos-and-neg/
|
|
235
|
+
* Positive and negative close to zero values
|
|
236
|
+
*
|
|
237
|
+
* @product highcharts highstock gantt
|
|
197
238
|
*/
|
|
198
239
|
minPointLength: 0,
|
|
199
240
|
|
|
@@ -205,9 +246,9 @@ seriesType('column', 'line', {
|
|
|
205
246
|
* On the other hand, when the series contains more points than the
|
|
206
247
|
* crop threshold, the series data is cropped to only contain points
|
|
207
248
|
* that fall within the plot area. The advantage of cropping away invisible
|
|
208
|
-
* points is to increase performance on large series.
|
|
249
|
+
* points is to increase performance on large series.
|
|
209
250
|
*
|
|
210
|
-
* @product highcharts highstock
|
|
251
|
+
* @product highcharts highstock gantt
|
|
211
252
|
*/
|
|
212
253
|
cropThreshold: 50,
|
|
213
254
|
|
|
@@ -221,12 +262,13 @@ seriesType('column', 'line', {
|
|
|
221
262
|
* The default `null` means it is computed automatically, but this option
|
|
222
263
|
* can be used to override the automatic value.
|
|
223
264
|
*
|
|
224
|
-
* @
|
|
225
|
-
*
|
|
226
|
-
*
|
|
227
|
-
*
|
|
265
|
+
* @sample {highcharts} highcharts/plotoptions/column-pointrange/
|
|
266
|
+
* Set the point range to one day on a data set with one week
|
|
267
|
+
* between the points
|
|
268
|
+
*
|
|
269
|
+
* @type {number|null}
|
|
228
270
|
* @since 2.3
|
|
229
|
-
* @product highcharts highstock
|
|
271
|
+
* @product highcharts highstock gantt
|
|
230
272
|
*/
|
|
231
273
|
pointRange: null,
|
|
232
274
|
|
|
@@ -237,40 +279,55 @@ seriesType('column', 'line', {
|
|
|
237
279
|
* state options when a point is moused over or touched.
|
|
238
280
|
*
|
|
239
281
|
* @extends plotOptions.series.states.hover
|
|
240
|
-
* @excluding halo,lineWidth,lineWidthPlus,marker
|
|
241
|
-
* @product highcharts highstock
|
|
282
|
+
* @excluding halo, lineWidth, lineWidthPlus, marker
|
|
283
|
+
* @product highcharts highstock gantt
|
|
242
284
|
*/
|
|
243
285
|
hover: {
|
|
244
286
|
|
|
245
|
-
/**
|
|
287
|
+
/**
|
|
288
|
+
* @ignore-option
|
|
289
|
+
*/
|
|
246
290
|
halo: false,
|
|
247
291
|
|
|
248
292
|
/**
|
|
249
293
|
* A specific border color for the hovered point. Defaults to
|
|
250
294
|
* inherit the normal state border color.
|
|
251
295
|
*
|
|
252
|
-
* @type {
|
|
253
|
-
* @product highcharts
|
|
296
|
+
* @type {Highcharts.ColorString}
|
|
297
|
+
* @product highcharts gantt
|
|
254
298
|
* @apioption plotOptions.column.states.hover.borderColor
|
|
255
299
|
*/
|
|
256
300
|
|
|
257
301
|
/**
|
|
258
302
|
* A specific color for the hovered point.
|
|
259
303
|
*
|
|
260
|
-
* @type {
|
|
261
|
-
* @
|
|
262
|
-
* @product highcharts
|
|
304
|
+
* @type {Highcharts.ColorString}
|
|
305
|
+
* @product highcharts gantt
|
|
263
306
|
* @apioption plotOptions.column.states.hover.color
|
|
264
307
|
*/
|
|
265
308
|
|
|
266
309
|
|
|
267
310
|
}
|
|
311
|
+
|
|
268
312
|
|
|
313
|
+
|
|
269
314
|
},
|
|
270
315
|
|
|
271
316
|
dataLabels: {
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* @type {string|null}
|
|
320
|
+
*/
|
|
272
321
|
align: null, // auto
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
* @type {string|null}
|
|
325
|
+
*/
|
|
273
326
|
verticalAlign: null, // auto
|
|
327
|
+
|
|
328
|
+
/**
|
|
329
|
+
* @type {number|null}
|
|
330
|
+
*/
|
|
274
331
|
y: null
|
|
275
332
|
},
|
|
276
333
|
|
|
@@ -326,9 +383,8 @@ seriesType('column', 'line', {
|
|
|
326
383
|
* Initialize the series. Extends the basic Series.init method by
|
|
327
384
|
* marking other series of the same type as dirty.
|
|
328
385
|
*
|
|
329
|
-
* @
|
|
330
|
-
* @
|
|
331
|
-
*
|
|
386
|
+
* @private
|
|
387
|
+
* @function Highcharts.seriesTypes.column#init
|
|
332
388
|
*/
|
|
333
389
|
init: function () {
|
|
334
390
|
Series.prototype.init.apply(this, arguments);
|
|
@@ -350,6 +406,11 @@ seriesType('column', 'line', {
|
|
|
350
406
|
/**
|
|
351
407
|
* Return the width and x offset of the columns adjusted for grouping,
|
|
352
408
|
* groupPadding, pointPadding, pointWidth etc.
|
|
409
|
+
*
|
|
410
|
+
* @private
|
|
411
|
+
* @function Highcharts.seriesTypes.column#getColumnMetrics
|
|
412
|
+
*
|
|
413
|
+
* @return {Highcharts.ColumnMetricsObject}
|
|
353
414
|
*/
|
|
354
415
|
getColumnMetrics: function () {
|
|
355
416
|
|
|
@@ -440,6 +501,19 @@ seriesType('column', 'line', {
|
|
|
440
501
|
|
|
441
502
|
/**
|
|
442
503
|
* Make the columns crisp. The edges are rounded to the nearest full pixel.
|
|
504
|
+
*
|
|
505
|
+
* @private
|
|
506
|
+
* @function Highcharts.seriesTypes.column#crispCol
|
|
507
|
+
*
|
|
508
|
+
* @param {number} x
|
|
509
|
+
*
|
|
510
|
+
* @param {number} y
|
|
511
|
+
*
|
|
512
|
+
* @param {number} w
|
|
513
|
+
*
|
|
514
|
+
* @param {number} h
|
|
515
|
+
*
|
|
516
|
+
* @return {*}
|
|
443
517
|
*/
|
|
444
518
|
crispCol: function (x, y, w, h) {
|
|
445
519
|
var chart = this.chart,
|
|
@@ -485,6 +559,9 @@ seriesType('column', 'line', {
|
|
|
485
559
|
/**
|
|
486
560
|
* Translate each point to the plot area coordinate system and find shape
|
|
487
561
|
* positions
|
|
562
|
+
*
|
|
563
|
+
* @private
|
|
564
|
+
* @function Highcharts.seriesTypes.column#translate
|
|
488
565
|
*/
|
|
489
566
|
translate: function () {
|
|
490
567
|
var series = this,
|
|
@@ -502,11 +579,11 @@ seriesType('column', 'line', {
|
|
|
502
579
|
yAxis.getThreshold(threshold),
|
|
503
580
|
minPointLength = pick(options.minPointLength, 5),
|
|
504
581
|
metrics = series.getColumnMetrics(),
|
|
505
|
-
|
|
582
|
+
seriesPointWidth = metrics.width,
|
|
506
583
|
// postprocessed for border width
|
|
507
584
|
seriesBarW = series.barW =
|
|
508
|
-
Math.max(
|
|
509
|
-
|
|
585
|
+
Math.max(seriesPointWidth, 1 + 2 * borderWidth),
|
|
586
|
+
seriesXOffset = series.pointXOffset = metrics.offset;
|
|
510
587
|
|
|
511
588
|
if (chart.inverted) {
|
|
512
589
|
translatedThreshold -= 0.5; // #3355
|
|
@@ -525,11 +602,12 @@ seriesType('column', 'line', {
|
|
|
525
602
|
each(series.points, function (point) {
|
|
526
603
|
var yBottom = pick(point.yBottom, translatedThreshold),
|
|
527
604
|
safeDistance = 999 + Math.abs(yBottom),
|
|
605
|
+
pointWidth = seriesPointWidth,
|
|
528
606
|
plotY = Math.min(
|
|
529
607
|
Math.max(-safeDistance, point.plotY),
|
|
530
608
|
yAxis.len + safeDistance
|
|
531
609
|
), // Don't draw too far outside plot area (#1303, #2241, #4264)
|
|
532
|
-
barX = point.plotX +
|
|
610
|
+
barX = point.plotX + seriesXOffset,
|
|
533
611
|
barW = seriesBarW,
|
|
534
612
|
barY = Math.min(plotY, yBottom),
|
|
535
613
|
up,
|
|
@@ -559,6 +637,13 @@ seriesType('column', 'line', {
|
|
|
559
637
|
translatedThreshold - (up ? minPointLength : 0);
|
|
560
638
|
}
|
|
561
639
|
|
|
640
|
+
// Handle point.options.pointWidth
|
|
641
|
+
// TODO: Handle grouping/stacking as well. Calculate offset properly
|
|
642
|
+
if (defined(point.options.pointWidth)) {
|
|
643
|
+
pointWidth = barW = Math.ceil(point.options.pointWidth);
|
|
644
|
+
barX -= Math.round((pointWidth - seriesPointWidth) / 2);
|
|
645
|
+
}
|
|
646
|
+
|
|
562
647
|
// Cache for access in polar
|
|
563
648
|
point.barX = barX;
|
|
564
649
|
point.pointWidth = pointWidth;
|
|
@@ -590,12 +675,24 @@ seriesType('column', 'line', {
|
|
|
590
675
|
|
|
591
676
|
/**
|
|
592
677
|
* Use a solid rectangle like the area series types
|
|
678
|
+
*
|
|
679
|
+
* @private
|
|
680
|
+
* @function Highcharts.seriesTypes.column#drawLegendSymbol
|
|
681
|
+
*
|
|
682
|
+
* @param {Highcharts.Legend} legend
|
|
683
|
+
* The legend object
|
|
684
|
+
*
|
|
685
|
+
* @param {Highcharts.Series|Highcharts.Point} item
|
|
686
|
+
* The series (this) or point
|
|
593
687
|
*/
|
|
594
688
|
drawLegendSymbol: LegendSymbolMixin.drawRectangle,
|
|
595
689
|
|
|
596
690
|
|
|
597
691
|
/**
|
|
598
692
|
* Columns have no graph
|
|
693
|
+
*
|
|
694
|
+
* @private
|
|
695
|
+
* @function Highcharts.seriesTypes.column#drawGraph
|
|
599
696
|
*/
|
|
600
697
|
drawGraph: function () {
|
|
601
698
|
this.group[
|
|
@@ -609,6 +706,9 @@ seriesType('column', 'line', {
|
|
|
609
706
|
* Draw the columns. For bars, the series.group is rotated, so the same
|
|
610
707
|
* coordinates apply for columns and bars. This method is inherited by
|
|
611
708
|
* scatter series.
|
|
709
|
+
*
|
|
710
|
+
* @private
|
|
711
|
+
* @function Highcharts.seriesTypes.column#drawPoints
|
|
612
712
|
*/
|
|
613
713
|
drawPoints: function () {
|
|
614
714
|
var series = this,
|
|
@@ -658,8 +758,13 @@ seriesType('column', 'line', {
|
|
|
658
758
|
},
|
|
659
759
|
|
|
660
760
|
/**
|
|
661
|
-
* Animate the column heights one by one from zero
|
|
662
|
-
*
|
|
761
|
+
* Animate the column heights one by one from zero.
|
|
762
|
+
*
|
|
763
|
+
* @private
|
|
764
|
+
* @function Highcharts.seriesTypes.column#animate
|
|
765
|
+
*
|
|
766
|
+
* @param {boolean} init
|
|
767
|
+
* Whether to initialize the animation or run it
|
|
663
768
|
*/
|
|
664
769
|
animate: function (init) {
|
|
665
770
|
var series = this,
|
|
@@ -710,6 +815,9 @@ seriesType('column', 'line', {
|
|
|
710
815
|
|
|
711
816
|
/**
|
|
712
817
|
* Remove this series from the chart
|
|
818
|
+
*
|
|
819
|
+
* @private
|
|
820
|
+
* @function Highcharts.seriesTypes.column#remove
|
|
713
821
|
*/
|
|
714
822
|
remove: function () {
|
|
715
823
|
var series = this,
|
|
@@ -734,26 +842,13 @@ seriesType('column', 'line', {
|
|
|
734
842
|
* A `column` series. If the [type](#series.column.type) option is
|
|
735
843
|
* not specified, it is inherited from [chart.type](#chart.type).
|
|
736
844
|
*
|
|
737
|
-
* @type {Object}
|
|
738
845
|
* @extends series,plotOptions.column
|
|
739
|
-
* @excluding connectNulls,dashStyle,dataParser,dataURL,gapSize,gapUnit,
|
|
740
|
-
* lineWidth,marker,connectEnds,step
|
|
846
|
+
* @excluding connectNulls, dashStyle, dataParser, dataURL, gapSize, gapUnit,
|
|
847
|
+
* linecap, lineWidth, marker, connectEnds, step
|
|
741
848
|
* @product highcharts highstock
|
|
742
849
|
* @apioption series.column
|
|
743
850
|
*/
|
|
744
851
|
|
|
745
|
-
/**
|
|
746
|
-
* @excluding halo,lineWidth,lineWidthPlus,marker
|
|
747
|
-
* @product highcharts highstock
|
|
748
|
-
* @apioption series.column.states.hover
|
|
749
|
-
*/
|
|
750
|
-
|
|
751
|
-
/**
|
|
752
|
-
* @excluding halo,lineWidth,lineWidthPlus,marker
|
|
753
|
-
* @product highcharts highstock
|
|
754
|
-
* @apioption series.column.states.select
|
|
755
|
-
*/
|
|
756
|
-
|
|
757
852
|
/**
|
|
758
853
|
* An array of data points for the series. For the `column` series type,
|
|
759
854
|
* points can be given in the following ways:
|
|
@@ -799,19 +894,20 @@ seriesType('column', 'line', {
|
|
|
799
894
|
* }]
|
|
800
895
|
* ```
|
|
801
896
|
*
|
|
802
|
-
* @
|
|
897
|
+
* @sample {highcharts} highcharts/chart/reflow-true/
|
|
898
|
+
* Numerical values
|
|
899
|
+
* @sample {highcharts} highcharts/series/data-array-of-arrays/
|
|
900
|
+
* Arrays of numeric x and y
|
|
901
|
+
* @sample {highcharts} highcharts/series/data-array-of-arrays-datetime/
|
|
902
|
+
* Arrays of datetime x and y
|
|
903
|
+
* @sample {highcharts} highcharts/series/data-array-of-name-value/
|
|
904
|
+
* Arrays of point.name and y
|
|
905
|
+
* @sample {highcharts} highcharts/series/data-array-of-objects/
|
|
906
|
+
* Config objects
|
|
907
|
+
*
|
|
908
|
+
* @type {Array<number|Array<number|string|Date>|*>}
|
|
803
909
|
* @extends series.line.data
|
|
804
910
|
* @excluding marker
|
|
805
|
-
* @sample {highcharts} highcharts/chart/reflow-true/
|
|
806
|
-
* Numerical values
|
|
807
|
-
* @sample {highcharts} highcharts/series/data-array-of-arrays/
|
|
808
|
-
* Arrays of numeric x and y
|
|
809
|
-
* @sample {highcharts} highcharts/series/data-array-of-arrays-datetime/
|
|
810
|
-
* Arrays of datetime x and y
|
|
811
|
-
* @sample {highcharts} highcharts/series/data-array-of-name-value/
|
|
812
|
-
* Arrays of point.name and y
|
|
813
|
-
* @sample {highcharts} highcharts/series/data-array-of-objects/
|
|
814
|
-
* Config objects
|
|
815
911
|
* @product highcharts highstock
|
|
816
912
|
* @apioption series.column.data
|
|
817
913
|
*/
|
|
@@ -822,10 +918,10 @@ seriesType('column', 'line', {
|
|
|
822
918
|
* In styled mode, the border stroke can be set with the `.highcharts-point`
|
|
823
919
|
* rule.
|
|
824
920
|
*
|
|
825
|
-
* @
|
|
826
|
-
*
|
|
827
|
-
*
|
|
828
|
-
* @
|
|
921
|
+
* @sample {highcharts} highcharts/plotoptions/column-bordercolor/
|
|
922
|
+
* Dark gray border
|
|
923
|
+
*
|
|
924
|
+
* @type {Highcharts.ColorString}
|
|
829
925
|
* @product highcharts highstock
|
|
830
926
|
* @apioption series.column.data.borderColor
|
|
831
927
|
*/
|
|
@@ -836,10 +932,22 @@ seriesType('column', 'line', {
|
|
|
836
932
|
* In styled mode, the stroke width can be set with the `.highcharts-point`
|
|
837
933
|
* rule.
|
|
838
934
|
*
|
|
839
|
-
* @
|
|
840
|
-
*
|
|
841
|
-
*
|
|
842
|
-
* @
|
|
935
|
+
* @sample {highcharts} highcharts/plotoptions/column-borderwidth/
|
|
936
|
+
* 2px black border
|
|
937
|
+
*
|
|
938
|
+
* @type {number}
|
|
843
939
|
* @product highcharts highstock
|
|
844
940
|
* @apioption series.column.data.borderWidth
|
|
845
941
|
*/
|
|
942
|
+
|
|
943
|
+
/**
|
|
944
|
+
* @excluding halo, lineWidth, lineWidthPlus, marker
|
|
945
|
+
* @product highcharts highstock
|
|
946
|
+
* @apioption series.column.states.hover
|
|
947
|
+
*/
|
|
948
|
+
|
|
949
|
+
/**
|
|
950
|
+
* @excluding halo, lineWidth, lineWidthPlus, marker
|
|
951
|
+
* @product highcharts highstock
|
|
952
|
+
* @apioption series.column.states.select
|
|
953
|
+
*/
|
|
@@ -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
|
*/
|
|
@@ -536,11 +536,14 @@ seriesProto.groupData = function (xData, yData, groupPositions, approximation) {
|
|
|
536
536
|
// write custom options to `this.dataGroupInfo.options`.
|
|
537
537
|
if (!defined(series.dataGroupInfo.options)) {
|
|
538
538
|
// Convert numbers and arrays into objects
|
|
539
|
-
series.dataGroupInfo.options =
|
|
540
|
-
.
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
539
|
+
series.dataGroupInfo.options = merge(
|
|
540
|
+
series.pointClass.prototype
|
|
541
|
+
.optionsToObject.call(
|
|
542
|
+
{ series: series },
|
|
543
|
+
series.options.data[start]
|
|
544
|
+
)
|
|
545
|
+
);
|
|
546
|
+
|
|
544
547
|
// Make sure the raw data (x, y, open, high etc) is not copied
|
|
545
548
|
// over and overwriting approximated data.
|
|
546
549
|
each(extendedPointArrayMap, function (key) {
|