highcharts 6.1.4 → 6.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bower.json +1 -1
- package/css/highcharts.css +17 -0
- package/css/highcharts.scss +14 -0
- package/css/themes/dark-unica.css +17 -0
- package/css/themes/grid-light.css +17 -0
- package/css/themes/sand-signika.css +17 -0
- package/es-modules/indicators/momentum.src.js +1 -1
- package/es-modules/indicators/pivot-points.src.js +6 -1
- package/es-modules/masters/highcharts-gantt.src.js +11 -0
- package/es-modules/masters/modules/annotations.src.js +1 -1
- package/es-modules/masters/modules/arrow-symbols.src.js +12 -0
- package/es-modules/masters/modules/broken-axis.src.js +1 -1
- package/es-modules/masters/modules/current-date-indicator.src.js +12 -0
- package/es-modules/masters/modules/data.src.js +1 -1
- package/es-modules/masters/modules/draggable-points.src.js +9 -0
- package/es-modules/masters/modules/export-data.src.js +1 -1
- package/es-modules/masters/modules/exporting.src.js +1 -1
- package/es-modules/masters/modules/funnel.src.js +1 -1
- package/es-modules/masters/modules/gantt.src.js +2 -1
- package/es-modules/masters/modules/grid-axis.src.js +1 -1
- package/es-modules/masters/modules/heatmap.src.js +1 -1
- package/es-modules/masters/modules/item-series.src.js +1 -1
- package/es-modules/masters/modules/map.src.js +1 -1
- package/es-modules/masters/modules/overlapping-datalabels.src.js +1 -1
- package/es-modules/masters/modules/pathfinder.src.js +12 -0
- package/es-modules/masters/modules/sankey.src.js +1 -1
- package/es-modules/masters/modules/series-label.src.js +1 -1
- package/es-modules/masters/modules/solid-gauge.src.js +1 -1
- package/es-modules/masters/modules/stock.src.js +1 -1
- package/es-modules/masters/modules/streamgraph.src.js +1 -1
- package/es-modules/masters/modules/treegrid.src.js +12 -0
- package/es-modules/masters/modules/variwide.src.js +1 -1
- package/es-modules/masters/modules/vector.src.js +1 -1
- package/es-modules/masters/modules/windbarb.src.js +1 -1
- package/es-modules/masters/modules/xrange.src.js +1 -1
- package/es-modules/masters/themes/dark-blue.src.js +1 -1
- package/es-modules/masters/themes/dark-green.src.js +1 -1
- package/es-modules/masters/themes/dark-unica.src.js +1 -1
- package/es-modules/masters/themes/gray.src.js +1 -1
- package/es-modules/masters/themes/grid-light.src.js +1 -1
- package/es-modules/masters/themes/grid.src.js +1 -1
- package/es-modules/masters/themes/sand-signika.src.js +1 -1
- package/es-modules/masters/themes/skies.src.js +1 -1
- package/es-modules/mixins/centered-series.js +1 -1
- package/es-modules/mixins/on-series.js +1 -1
- package/es-modules/modules/boost.src.js +22 -14
- package/es-modules/modules/broken-axis.src.js +169 -134
- package/es-modules/modules/data.src.js +2 -2
- package/es-modules/modules/draggable-points.src.js +2257 -0
- package/es-modules/modules/drilldown.src.js +1 -0
- package/es-modules/modules/export-data.src.js +1 -1
- package/es-modules/modules/exporting.src.js +1 -1
- package/es-modules/modules/funnel.src.js +1 -1
- package/es-modules/modules/item-series.src.js +1 -1
- package/es-modules/modules/no-data-to-display.src.js +5 -5
- package/es-modules/modules/oldie.src.js +1 -1
- package/es-modules/modules/overlapping-datalabels.src.js +38 -22
- package/es-modules/modules/parallel-coordinates.src.js +3 -2
- package/es-modules/modules/sankey.src.js +1 -1
- package/es-modules/modules/series-label.src.js +2 -2
- package/es-modules/modules/solid-gauge.src.js +1 -1
- package/es-modules/modules/static-scale.src.js +67 -28
- package/es-modules/modules/streamgraph.src.js +1 -1
- package/es-modules/modules/tilemap.src.js +231 -134
- package/es-modules/modules/variwide.src.js +1 -1
- package/es-modules/modules/vector.src.js +92 -22
- package/es-modules/modules/windbarb.src.js +1 -1
- package/es-modules/modules/xrange.src.js +257 -77
- package/es-modules/parts/AreaSeries.js +77 -77
- package/es-modules/parts/AreaSplineSeries.js +64 -27
- package/es-modules/parts/Axis.js +160 -67
- package/es-modules/parts/BarSeries.js +68 -51
- package/es-modules/parts/CandlestickSeries.js +1 -1
- package/es-modules/parts/Chart.js +31 -55
- package/es-modules/parts/Color.js +29 -18
- package/es-modules/parts/ColumnSeries.js +264 -142
- package/es-modules/parts/DataGrouping.js +9 -6
- package/es-modules/parts/DataLabels.js +261 -210
- package/es-modules/parts/DateTimeAxis.js +26 -7
- package/es-modules/parts/Dynamics.js +5 -2
- package/es-modules/parts/FlagsSeries.js +1 -1
- package/es-modules/parts/Globals.js +1 -1
- package/es-modules/parts/Html.js +64 -12
- package/es-modules/parts/Interaction.js +187 -63
- package/es-modules/parts/Legend.js +7 -3
- package/es-modules/parts/LogarithmicAxis.js +35 -4
- package/es-modules/parts/MSPointer.js +1 -1
- package/es-modules/parts/Navigator.js +27 -5
- package/es-modules/parts/OHLCSeries.js +1 -1
- package/es-modules/parts/Options.js +15 -13
- package/es-modules/parts/OrdinalAxis.js +1 -1
- package/es-modules/parts/PieSeries.js +256 -140
- package/es-modules/parts/PlotBandSeries.experimental.js +1 -1
- package/es-modules/parts/PlotLineOrBand.js +7 -40
- package/es-modules/parts/Point.js +28 -4
- package/es-modules/parts/Pointer.js +8 -6
- package/es-modules/parts/RangeSelector.js +1 -1
- package/es-modules/parts/Responsive.js +82 -36
- package/es-modules/parts/ScatterSeries.js +57 -25
- package/es-modules/parts/ScrollablePlotArea.js +17 -7
- package/es-modules/parts/Scrollbar.js +9 -2
- package/es-modules/parts/Series.js +22 -9
- package/es-modules/parts/SplineSeries.js +51 -29
- package/es-modules/parts/Stacking.js +100 -6
- package/es-modules/parts/StockChart.js +9 -3
- package/es-modules/parts/SvgRenderer.js +15 -10
- package/es-modules/parts/Tick.js +150 -30
- package/es-modules/parts/Time.js +23 -5
- package/es-modules/parts/Tooltip.js +2 -2
- package/es-modules/parts/TouchPointer.js +1 -1
- package/es-modules/parts/Utilities.js +16 -1
- package/es-modules/parts-3d/Axis.js +1 -1
- package/es-modules/parts-3d/Chart.js +1 -1
- package/es-modules/parts-3d/Column.js +1 -1
- package/es-modules/parts-3d/Math.js +1 -1
- package/es-modules/parts-3d/Pie.js +1 -1
- package/es-modules/parts-3d/SVGRenderer.js +1 -1
- package/es-modules/parts-3d/Scatter.js +1 -1
- package/es-modules/parts-3d/Series.js +1 -1
- package/es-modules/parts-3d/VMLRenderer.js +1 -1
- package/es-modules/parts-gantt/ArrowSymbols.js +110 -0
- package/es-modules/parts-gantt/CurrentDateIndicator.js +92 -0
- package/es-modules/parts-gantt/GanttChart.js +111 -0
- package/es-modules/parts-gantt/GanttSeries.js +376 -0
- package/es-modules/parts-gantt/GridAxis.js +965 -0
- package/es-modules/parts-gantt/Pathfinder.js +1247 -0
- package/es-modules/parts-gantt/PathfinderAlgorithms.js +746 -0
- package/es-modules/parts-gantt/Tree.js +146 -0
- package/es-modules/parts-gantt/TreeGrid.js +917 -0
- package/es-modules/parts-map/ColorAxis.js +1 -1
- package/es-modules/parts-map/ColorSeriesMixin.js +1 -1
- package/es-modules/parts-map/GeoJSON.js +1 -1
- package/es-modules/parts-map/HeatmapSeries.js +124 -53
- package/es-modules/parts-map/Map.js +1 -1
- package/es-modules/parts-map/MapAxis.js +1 -1
- package/es-modules/parts-map/MapBubbleSeries.js +1 -1
- package/es-modules/parts-map/MapLineSeries.js +1 -1
- package/es-modules/parts-map/MapNavigation.js +1 -1
- package/es-modules/parts-map/MapPointSeries.js +1 -1
- package/es-modules/parts-map/MapPointer.js +1 -1
- package/es-modules/parts-map/MapSeries.js +2 -2
- package/es-modules/parts-more/AreaRangeSeries.js +80 -38
- package/es-modules/parts-more/AreaSplineRangeSeries.js +1 -1
- package/es-modules/parts-more/BoxPlotSeries.js +1 -1
- package/es-modules/parts-more/BubbleSeries.js +1 -1
- package/es-modules/parts-more/ColumnRangeSeries.js +1 -1
- package/es-modules/parts-more/ErrorBarSeries.js +1 -1
- package/es-modules/parts-more/GaugeSeries.js +1 -1
- package/es-modules/parts-more/Pane.js +2 -1
- package/es-modules/parts-more/Polar.js +1 -1
- package/es-modules/parts-more/PolygonSeries.js +1 -1
- package/es-modules/parts-more/RadialAxis.js +5 -4
- package/es-modules/parts-more/WaterfallSeries.js +1 -1
- package/es-modules/supplemental.docs.js +0 -1955
- package/es-modules/themes/dark-blue.js +1 -1
- package/es-modules/themes/dark-green.js +1 -1
- package/es-modules/themes/dark-unica.js +1 -1
- package/es-modules/themes/gray.js +1 -1
- package/es-modules/themes/grid-light.js +1 -1
- package/es-modules/themes/grid.js +1 -1
- package/es-modules/themes/sand-signika.js +1 -1
- package/es-modules/themes/skies.js +1 -1
- package/highcharts-3d.js +1 -1
- package/highcharts-3d.src.js +10 -10
- package/highcharts-gantt.js +503 -0
- package/highcharts-gantt.js.map +1 -0
- package/highcharts-gantt.src.js +49289 -0
- package/highcharts-more.js +65 -64
- package/highcharts-more.js.map +1 -1
- package/highcharts-more.src.js +97 -53
- package/highcharts.js +415 -410
- package/highcharts.js.map +1 -1
- package/highcharts.src.js +2170 -1128
- package/highmaps.js +443 -438
- package/highmaps.js.map +1 -1
- package/highmaps.src.js +1647 -849
- package/highstock.js +553 -548
- package/highstock.js.map +1 -1
- package/highstock.src.js +2398 -1283
- package/indicators/accumulation-distribution.js +1 -1
- package/indicators/accumulation-distribution.src.js +1 -1
- package/indicators/atr.js +1 -1
- package/indicators/atr.src.js +1 -1
- package/indicators/bollinger-bands.js +1 -1
- package/indicators/bollinger-bands.src.js +1 -1
- package/indicators/cci.js +1 -1
- package/indicators/cci.src.js +1 -1
- package/indicators/cmf.js +1 -1
- package/indicators/cmf.src.js +1 -1
- package/indicators/ema.js +1 -1
- package/indicators/ema.src.js +1 -1
- package/indicators/ichimoku-kinko-hyo.js +1 -1
- package/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/indicators/indicators.js +1 -1
- package/indicators/indicators.src.js +1 -1
- package/indicators/macd.js +1 -1
- package/indicators/macd.src.js +1 -1
- package/indicators/mfi.js +1 -1
- package/indicators/mfi.src.js +1 -1
- package/indicators/momentum.js +1 -1
- package/indicators/momentum.src.js +2 -2
- package/indicators/pivot-points.js +4 -4
- package/indicators/pivot-points.js.map +1 -1
- package/indicators/pivot-points.src.js +7 -2
- package/indicators/price-envelopes.js +1 -1
- package/indicators/price-envelopes.src.js +1 -1
- package/indicators/psar.js +1 -1
- package/indicators/psar.src.js +1 -1
- package/indicators/roc.js +1 -1
- package/indicators/roc.src.js +1 -1
- package/indicators/rsi.js +1 -1
- package/indicators/rsi.src.js +1 -1
- package/indicators/stochastic.js +1 -1
- package/indicators/stochastic.src.js +1 -1
- package/indicators/volume-by-price.js +1 -1
- package/indicators/volume-by-price.src.js +1 -1
- package/indicators/vwap.js +1 -1
- package/indicators/vwap.src.js +1 -1
- package/indicators/wma.js +1 -1
- package/indicators/wma.src.js +1 -1
- package/indicators/zigzag.js +1 -1
- package/indicators/zigzag.src.js +1 -1
- package/js/es-modules/indicators/momentum.src.js +1 -1
- package/js/es-modules/indicators/pivot-points.src.js +6 -1
- package/js/es-modules/masters/highcharts-gantt.src.js +11 -0
- package/js/es-modules/masters/modules/annotations.src.js +1 -1
- package/js/es-modules/masters/modules/arrow-symbols.src.js +12 -0
- package/js/es-modules/masters/modules/broken-axis.src.js +1 -1
- package/js/es-modules/masters/modules/current-date-indicator.src.js +12 -0
- package/js/es-modules/masters/modules/data.src.js +1 -1
- package/js/es-modules/masters/modules/draggable-points.src.js +9 -0
- package/js/es-modules/masters/modules/export-data.src.js +1 -1
- package/js/es-modules/masters/modules/exporting.src.js +1 -1
- package/js/es-modules/masters/modules/funnel.src.js +1 -1
- package/js/es-modules/masters/modules/gantt.src.js +2 -1
- package/js/es-modules/masters/modules/grid-axis.src.js +1 -1
- package/js/es-modules/masters/modules/heatmap.src.js +1 -1
- package/js/es-modules/masters/modules/item-series.src.js +1 -1
- package/js/es-modules/masters/modules/map.src.js +1 -1
- package/js/es-modules/masters/modules/overlapping-datalabels.src.js +1 -1
- package/js/es-modules/masters/modules/pathfinder.src.js +12 -0
- package/js/es-modules/masters/modules/sankey.src.js +1 -1
- package/js/es-modules/masters/modules/series-label.src.js +1 -1
- package/js/es-modules/masters/modules/solid-gauge.src.js +1 -1
- package/js/es-modules/masters/modules/stock.src.js +1 -1
- package/js/es-modules/masters/modules/streamgraph.src.js +1 -1
- package/js/es-modules/masters/modules/treegrid.src.js +12 -0
- package/js/es-modules/masters/modules/variwide.src.js +1 -1
- package/js/es-modules/masters/modules/vector.src.js +1 -1
- package/js/es-modules/masters/modules/windbarb.src.js +1 -1
- package/js/es-modules/masters/modules/xrange.src.js +1 -1
- package/js/es-modules/masters/themes/dark-blue.src.js +1 -1
- package/js/es-modules/masters/themes/dark-green.src.js +1 -1
- package/js/es-modules/masters/themes/dark-unica.src.js +1 -1
- package/js/es-modules/masters/themes/gray.src.js +1 -1
- package/js/es-modules/masters/themes/grid-light.src.js +1 -1
- package/js/es-modules/masters/themes/grid.src.js +1 -1
- package/js/es-modules/masters/themes/sand-signika.src.js +1 -1
- package/js/es-modules/masters/themes/skies.src.js +1 -1
- package/js/es-modules/mixins/centered-series.js +1 -1
- package/js/es-modules/mixins/on-series.js +1 -1
- package/js/es-modules/modules/boost.src.js +22 -14
- package/js/es-modules/modules/broken-axis.src.js +169 -134
- package/js/es-modules/modules/data.src.js +2 -2
- package/js/es-modules/modules/draggable-points.src.js +2257 -0
- package/js/es-modules/modules/drilldown.src.js +1 -0
- package/js/es-modules/modules/export-data.src.js +1 -1
- package/js/es-modules/modules/exporting.src.js +1 -1
- package/js/es-modules/modules/funnel.src.js +1 -1
- package/js/es-modules/modules/item-series.src.js +1 -1
- package/js/es-modules/modules/no-data-to-display.src.js +5 -5
- package/js/es-modules/modules/oldie.src.js +1 -1
- package/js/es-modules/modules/overlapping-datalabels.src.js +38 -22
- package/js/es-modules/modules/parallel-coordinates.src.js +3 -2
- package/js/es-modules/modules/sankey.src.js +1 -1
- package/js/es-modules/modules/series-label.src.js +2 -2
- package/js/es-modules/modules/solid-gauge.src.js +1 -1
- package/js/es-modules/modules/static-scale.src.js +67 -28
- package/js/es-modules/modules/streamgraph.src.js +1 -1
- package/js/es-modules/modules/tilemap.src.js +231 -134
- package/js/es-modules/modules/variwide.src.js +1 -1
- package/js/es-modules/modules/vector.src.js +92 -22
- package/js/es-modules/modules/windbarb.src.js +1 -1
- package/js/es-modules/modules/xrange.src.js +255 -68
- package/js/es-modules/parts/AreaSeries.js +77 -77
- package/js/es-modules/parts/AreaSplineSeries.js +64 -27
- package/js/es-modules/parts/Axis.js +160 -67
- package/js/es-modules/parts/BarSeries.js +68 -51
- package/js/es-modules/parts/CandlestickSeries.js +1 -1
- package/js/es-modules/parts/Chart.js +31 -55
- package/js/es-modules/parts/Color.js +29 -18
- package/js/es-modules/parts/ColumnSeries.js +231 -123
- package/js/es-modules/parts/DataGrouping.js +9 -6
- package/js/es-modules/parts/DataLabels.js +230 -182
- package/js/es-modules/parts/DateTimeAxis.js +26 -7
- package/js/es-modules/parts/Dynamics.js +5 -2
- package/js/es-modules/parts/FlagsSeries.js +1 -1
- package/js/es-modules/parts/Globals.js +1 -1
- package/js/es-modules/parts/Html.js +64 -12
- package/js/es-modules/parts/Interaction.js +178 -61
- package/js/es-modules/parts/Legend.js +7 -3
- package/js/es-modules/parts/LogarithmicAxis.js +35 -4
- package/js/es-modules/parts/MSPointer.js +1 -1
- package/js/es-modules/parts/Navigator.js +27 -5
- package/js/es-modules/parts/OHLCSeries.js +1 -1
- package/js/es-modules/parts/Options.js +13 -12
- package/js/es-modules/parts/OrdinalAxis.js +1 -1
- package/js/es-modules/parts/PieSeries.js +245 -132
- package/js/es-modules/parts/PlotBandSeries.experimental.js +1 -1
- package/js/es-modules/parts/PlotLineOrBand.js +7 -40
- package/js/es-modules/parts/Point.js +28 -4
- package/js/es-modules/parts/Pointer.js +8 -6
- package/js/es-modules/parts/RangeSelector.js +1 -1
- package/js/es-modules/parts/Responsive.js +82 -36
- package/js/es-modules/parts/ScatterSeries.js +56 -25
- package/js/es-modules/parts/ScrollablePlotArea.js +17 -7
- package/js/es-modules/parts/Scrollbar.js +9 -2
- package/js/es-modules/parts/Series.js +22 -9
- package/js/es-modules/parts/SplineSeries.js +51 -29
- package/js/es-modules/parts/Stacking.js +100 -6
- package/js/es-modules/parts/StockChart.js +9 -3
- package/js/es-modules/parts/SvgRenderer.js +15 -10
- package/js/es-modules/parts/Tick.js +150 -30
- package/js/es-modules/parts/Time.js +23 -5
- package/js/es-modules/parts/Tooltip.js +2 -2
- package/js/es-modules/parts/TouchPointer.js +1 -1
- package/js/es-modules/parts/Utilities.js +16 -1
- package/js/es-modules/parts-3d/Axis.js +1 -1
- package/js/es-modules/parts-3d/Chart.js +1 -1
- package/js/es-modules/parts-3d/Column.js +1 -1
- package/js/es-modules/parts-3d/Math.js +1 -1
- package/js/es-modules/parts-3d/Pie.js +1 -1
- package/js/es-modules/parts-3d/SVGRenderer.js +1 -1
- package/js/es-modules/parts-3d/Scatter.js +1 -1
- package/js/es-modules/parts-3d/Series.js +1 -1
- package/js/es-modules/parts-3d/VMLRenderer.js +1 -1
- package/js/es-modules/parts-gantt/ArrowSymbols.js +110 -0
- package/js/es-modules/parts-gantt/CurrentDateIndicator.js +92 -0
- package/js/es-modules/parts-gantt/GanttChart.js +111 -0
- package/js/es-modules/parts-gantt/GanttSeries.js +371 -0
- package/js/es-modules/parts-gantt/GridAxis.js +962 -0
- package/js/es-modules/parts-gantt/Pathfinder.js +1225 -0
- package/js/es-modules/parts-gantt/PathfinderAlgorithms.js +746 -0
- package/js/es-modules/parts-gantt/Tree.js +146 -0
- package/js/es-modules/parts-gantt/TreeGrid.js +891 -0
- package/js/es-modules/parts-map/ColorAxis.js +1 -1
- package/js/es-modules/parts-map/ColorSeriesMixin.js +1 -1
- package/js/es-modules/parts-map/GeoJSON.js +1 -1
- package/js/es-modules/parts-map/HeatmapSeries.js +122 -52
- package/js/es-modules/parts-map/Map.js +1 -1
- package/js/es-modules/parts-map/MapAxis.js +1 -1
- package/js/es-modules/parts-map/MapBubbleSeries.js +1 -1
- package/js/es-modules/parts-map/MapLineSeries.js +1 -1
- package/js/es-modules/parts-map/MapNavigation.js +1 -1
- package/js/es-modules/parts-map/MapPointSeries.js +1 -1
- package/js/es-modules/parts-map/MapPointer.js +1 -1
- package/js/es-modules/parts-map/MapSeries.js +2 -2
- package/js/es-modules/parts-more/AreaRangeSeries.js +80 -38
- package/js/es-modules/parts-more/AreaSplineRangeSeries.js +1 -1
- package/js/es-modules/parts-more/BoxPlotSeries.js +1 -1
- package/js/es-modules/parts-more/BubbleSeries.js +1 -1
- package/js/es-modules/parts-more/ColumnRangeSeries.js +1 -1
- package/js/es-modules/parts-more/ErrorBarSeries.js +1 -1
- package/js/es-modules/parts-more/GaugeSeries.js +1 -1
- package/js/es-modules/parts-more/Pane.js +2 -1
- package/js/es-modules/parts-more/Polar.js +1 -1
- package/js/es-modules/parts-more/PolygonSeries.js +1 -1
- package/js/es-modules/parts-more/RadialAxis.js +5 -4
- package/js/es-modules/parts-more/WaterfallSeries.js +1 -1
- package/js/es-modules/supplemental.docs.js +0 -1955
- package/js/es-modules/themes/dark-blue.js +1 -1
- package/js/es-modules/themes/dark-green.js +1 -1
- package/js/es-modules/themes/dark-unica.js +1 -1
- package/js/es-modules/themes/gray.js +1 -1
- package/js/es-modules/themes/grid-light.js +1 -1
- package/js/es-modules/themes/grid.js +1 -1
- package/js/es-modules/themes/sand-signika.js +1 -1
- package/js/es-modules/themes/skies.js +1 -1
- package/js/highcharts-3d.js +1 -1
- package/js/highcharts-3d.src.js +10 -10
- package/js/highcharts-gantt.js +480 -0
- package/js/highcharts-gantt.js.map +1 -0
- package/js/highcharts-gantt.src.js +47011 -0
- package/js/highcharts-more.js +62 -61
- package/js/highcharts-more.js.map +1 -1
- package/js/highcharts-more.src.js +97 -53
- package/js/highcharts.js +394 -390
- package/js/highcharts.js.map +1 -1
- package/js/highcharts.src.js +2083 -1070
- package/js/highmaps.js +420 -416
- package/js/highmaps.js.map +1 -1
- package/js/highmaps.src.js +1569 -798
- package/js/highstock.js +526 -520
- package/js/highstock.js.map +1 -1
- package/js/highstock.src.js +2311 -1225
- package/js/indicators/accumulation-distribution.js +1 -1
- package/js/indicators/accumulation-distribution.src.js +1 -1
- package/js/indicators/atr.js +1 -1
- package/js/indicators/atr.src.js +1 -1
- package/js/indicators/bollinger-bands.js +1 -1
- package/js/indicators/bollinger-bands.src.js +1 -1
- package/js/indicators/cci.js +1 -1
- package/js/indicators/cci.src.js +1 -1
- package/js/indicators/cmf.js +1 -1
- package/js/indicators/cmf.src.js +1 -1
- package/js/indicators/ema.js +1 -1
- package/js/indicators/ema.src.js +1 -1
- package/js/indicators/ichimoku-kinko-hyo.js +1 -1
- package/js/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/js/indicators/indicators.js +1 -1
- package/js/indicators/indicators.src.js +1 -1
- package/js/indicators/macd.js +1 -1
- package/js/indicators/macd.src.js +1 -1
- package/js/indicators/mfi.js +1 -1
- package/js/indicators/mfi.src.js +1 -1
- package/js/indicators/momentum.js +1 -1
- package/js/indicators/momentum.src.js +2 -2
- package/js/indicators/pivot-points.js +4 -4
- package/js/indicators/pivot-points.js.map +1 -1
- package/js/indicators/pivot-points.src.js +7 -2
- package/js/indicators/price-envelopes.js +1 -1
- package/js/indicators/price-envelopes.src.js +1 -1
- package/js/indicators/psar.js +1 -1
- package/js/indicators/psar.src.js +1 -1
- package/js/indicators/roc.js +1 -1
- package/js/indicators/roc.src.js +1 -1
- package/js/indicators/rsi.js +1 -1
- package/js/indicators/rsi.src.js +1 -1
- package/js/indicators/stochastic.js +1 -1
- package/js/indicators/stochastic.src.js +1 -1
- package/js/indicators/volume-by-price.js +1 -1
- package/js/indicators/volume-by-price.src.js +1 -1
- package/js/indicators/vwap.js +1 -1
- package/js/indicators/vwap.src.js +1 -1
- package/js/indicators/wma.js +1 -1
- package/js/indicators/wma.src.js +1 -1
- package/js/indicators/zigzag.js +1 -1
- package/js/indicators/zigzag.src.js +1 -1
- package/js/modules/accessibility.js +1 -1
- package/js/modules/accessibility.src.js +1 -1
- package/js/modules/annotations.js +2 -2
- package/js/modules/annotations.src.js +2 -2
- package/js/modules/arrow-symbols.js +13 -0
- package/js/modules/arrow-symbols.js.map +1 -0
- package/js/modules/arrow-symbols.src.js +138 -0
- package/js/modules/boost-canvas.js +1 -1
- package/js/modules/boost-canvas.src.js +1 -1
- package/js/modules/boost.js +43 -43
- package/js/modules/boost.js.map +1 -1
- package/js/modules/boost.src.js +23 -15
- package/js/modules/broken-axis.js +11 -10
- package/js/modules/broken-axis.js.map +1 -1
- package/js/modules/broken-axis.src.js +171 -136
- package/js/modules/bullet.js +1 -1
- package/js/modules/bullet.src.js +1 -1
- package/js/modules/current-date-indicator.js +13 -0
- package/js/modules/current-date-indicator.js.map +1 -0
- package/js/modules/current-date-indicator.src.js +120 -0
- package/js/modules/data.js +2 -2
- package/js/modules/data.src.js +4 -4
- package/js/modules/drag-panes.js +1 -1
- package/js/modules/drag-panes.src.js +1 -1
- package/js/modules/draggable-points.js +38 -0
- package/js/modules/draggable-points.js.map +1 -0
- package/js/modules/draggable-points.src.js +2281 -0
- package/js/modules/drilldown.js +1 -1
- package/js/modules/drilldown.js.map +1 -1
- package/js/modules/drilldown.src.js +2 -1
- package/js/modules/export-data.js +2 -2
- package/js/modules/export-data.src.js +3 -3
- package/js/modules/exporting.js +2 -2
- package/js/modules/exporting.src.js +3 -3
- package/js/modules/funnel.js +2 -2
- package/js/modules/funnel.src.js +3 -3
- package/js/modules/gantt.js +80 -18
- package/js/modules/gantt.js.map +1 -1
- package/js/modules/gantt.src.js +5490 -372
- package/js/modules/grid-axis.js +15 -11
- package/js/modules/grid-axis.js.map +1 -1
- package/js/modules/grid-axis.src.js +731 -293
- package/js/modules/heatmap.js +2 -2
- package/js/modules/heatmap.js.map +1 -1
- package/js/modules/heatmap.src.js +126 -56
- package/js/modules/histogram-bellcurve.js +1 -1
- package/js/modules/histogram-bellcurve.src.js +1 -1
- package/js/modules/item-series.js +2 -2
- package/js/modules/item-series.src.js +3 -3
- package/js/modules/map.js +2 -2
- package/js/modules/map.js.map +1 -1
- package/js/modules/map.src.js +137 -67
- package/js/modules/no-data-to-display.js +1 -1
- package/js/modules/no-data-to-display.src.js +6 -6
- package/js/modules/offline-exporting.js +2 -2
- package/js/modules/offline-exporting.src.js +2 -2
- package/js/modules/oldie.js +2 -2
- package/js/modules/oldie.src.js +3 -3
- package/js/modules/overlapping-datalabels.js +2 -2
- package/js/modules/overlapping-datalabels.src.js +2 -2
- package/js/modules/parallel-coordinates.js +9 -9
- package/js/modules/parallel-coordinates.js.map +1 -1
- package/js/modules/parallel-coordinates.src.js +4 -3
- package/js/modules/pareto.js +1 -1
- package/js/modules/pareto.src.js +1 -1
- package/js/modules/pathfinder.js +34 -0
- package/js/modules/pathfinder.js.map +1 -0
- package/js/modules/pathfinder.src.js +2106 -0
- package/js/modules/pattern-fill.js +1 -1
- package/js/modules/pattern-fill.src.js +1 -1
- package/js/modules/sankey.js +2 -2
- package/js/modules/sankey.src.js +3 -3
- package/js/modules/series-label.js +2 -2
- package/js/modules/series-label.src.js +4 -4
- package/js/modules/solid-gauge.js +2 -2
- package/js/modules/solid-gauge.src.js +3 -3
- package/js/modules/static-scale.js +3 -3
- package/js/modules/static-scale.js.map +1 -1
- package/js/modules/static-scale.src.js +65 -26
- package/js/modules/stock.js +135 -134
- package/js/modules/stock.js.map +1 -1
- package/js/modules/stock.src.js +230 -157
- package/js/modules/streamgraph.js +2 -2
- package/js/modules/streamgraph.src.js +3 -3
- package/js/modules/sunburst.js +1 -1
- package/js/modules/sunburst.src.js +1 -1
- package/js/modules/tilemap.js +1 -1
- package/js/modules/tilemap.js.map +1 -1
- package/js/modules/tilemap.src.js +355 -188
- package/js/modules/treegrid.js +51 -0
- package/js/modules/treegrid.js.map +1 -0
- package/js/modules/treegrid.src.js +2759 -0
- package/js/modules/treemap.js +1 -1
- package/js/modules/treemap.src.js +1 -1
- package/js/modules/variable-pie.js +1 -1
- package/js/modules/variable-pie.src.js +1 -1
- package/js/modules/variwide.js +2 -2
- package/js/modules/variwide.src.js +3 -3
- package/js/modules/vector.js +2 -2
- package/js/modules/vector.js.map +1 -1
- package/js/modules/vector.src.js +94 -24
- package/js/modules/windbarb.js +2 -2
- package/js/modules/windbarb.src.js +4 -4
- package/js/modules/wordcloud.js +1 -1
- package/js/modules/wordcloud.src.js +1 -1
- package/js/modules/xrange.js +11 -10
- package/js/modules/xrange.js.map +1 -1
- package/js/modules/xrange.src.js +257 -70
- package/js/themes/avocado.js +1 -1
- package/js/themes/avocado.src.js +1 -1
- package/js/themes/dark-blue.js +2 -2
- package/js/themes/dark-blue.src.js +3 -3
- package/js/themes/dark-green.js +2 -2
- package/js/themes/dark-green.src.js +3 -3
- package/js/themes/dark-unica.js +2 -2
- package/js/themes/dark-unica.src.js +3 -3
- package/js/themes/gray.js +2 -2
- package/js/themes/gray.src.js +3 -3
- package/js/themes/grid-light.js +2 -2
- package/js/themes/grid-light.src.js +3 -3
- package/js/themes/grid.js +2 -2
- package/js/themes/grid.src.js +3 -3
- package/js/themes/sand-signika.js +2 -2
- package/js/themes/sand-signika.src.js +3 -3
- package/js/themes/skies.js +2 -2
- package/js/themes/skies.src.js +3 -3
- package/js/themes/sunset.js +1 -1
- package/js/themes/sunset.src.js +1 -1
- package/modules/accessibility.js +1 -1
- package/modules/accessibility.src.js +1 -1
- package/modules/annotations.js +2 -2
- package/modules/annotations.src.js +2 -2
- package/modules/arrow-symbols.js +13 -0
- package/modules/arrow-symbols.js.map +1 -0
- package/modules/arrow-symbols.src.js +138 -0
- package/modules/boost-canvas.js +1 -1
- package/modules/boost-canvas.src.js +1 -1
- package/modules/boost.js +36 -36
- package/modules/boost.js.map +1 -1
- package/modules/boost.src.js +23 -15
- package/modules/broken-axis.js +11 -10
- package/modules/broken-axis.js.map +1 -1
- package/modules/broken-axis.src.js +171 -136
- package/modules/bullet.js +1 -1
- package/modules/bullet.src.js +1 -1
- package/modules/current-date-indicator.js +13 -0
- package/modules/current-date-indicator.js.map +1 -0
- package/modules/current-date-indicator.src.js +120 -0
- package/modules/data.js +2 -2
- package/modules/data.src.js +4 -4
- package/modules/drag-panes.js +1 -1
- package/modules/drag-panes.src.js +1 -1
- package/modules/draggable-points.js +38 -0
- package/modules/draggable-points.js.map +1 -0
- package/modules/draggable-points.src.js +2281 -0
- package/modules/drilldown.js +1 -1
- package/modules/drilldown.js.map +1 -1
- package/modules/drilldown.src.js +2 -1
- package/modules/export-data.js +2 -2
- package/modules/export-data.src.js +3 -3
- package/modules/exporting.js +2 -2
- package/modules/exporting.src.js +3 -3
- package/modules/funnel.js +2 -2
- package/modules/funnel.src.js +3 -3
- package/modules/gantt.js +83 -19
- package/modules/gantt.js.map +1 -1
- package/modules/gantt.src.js +5553 -379
- package/modules/grid-axis.js +16 -11
- package/modules/grid-axis.js.map +1 -1
- package/modules/grid-axis.src.js +732 -293
- package/modules/heatmap.js +2 -2
- package/modules/heatmap.js.map +1 -1
- package/modules/heatmap.src.js +128 -57
- package/modules/histogram-bellcurve.js +1 -1
- package/modules/histogram-bellcurve.src.js +1 -1
- package/modules/item-series.js +2 -2
- package/modules/item-series.src.js +3 -3
- package/modules/map.js +2 -2
- package/modules/map.js.map +1 -1
- package/modules/map.src.js +139 -68
- package/modules/no-data-to-display.js +1 -1
- package/modules/no-data-to-display.src.js +6 -6
- package/modules/offline-exporting.js +2 -2
- package/modules/offline-exporting.src.js +2 -2
- package/modules/oldie.js +2 -2
- package/modules/oldie.src.js +3 -3
- package/modules/overlapping-datalabels.js +2 -2
- package/modules/overlapping-datalabels.src.js +2 -2
- package/modules/parallel-coordinates.js +8 -8
- package/modules/parallel-coordinates.js.map +1 -1
- package/modules/parallel-coordinates.src.js +4 -3
- package/modules/pareto.js +1 -1
- package/modules/pareto.src.js +1 -1
- package/modules/pathfinder.js +35 -0
- package/modules/pathfinder.js.map +1 -0
- package/modules/pathfinder.src.js +2128 -0
- package/modules/pattern-fill.js +1 -1
- package/modules/pattern-fill.src.js +1 -1
- package/modules/sankey.js +2 -2
- package/modules/sankey.src.js +3 -3
- package/modules/series-label.js +2 -2
- package/modules/series-label.src.js +4 -4
- package/modules/solid-gauge.js +2 -2
- package/modules/solid-gauge.src.js +3 -3
- package/modules/static-scale.js +3 -3
- package/modules/static-scale.js.map +1 -1
- package/modules/static-scale.src.js +65 -26
- package/modules/stock.js +142 -142
- package/modules/stock.js.map +1 -1
- package/modules/stock.src.js +230 -157
- package/modules/streamgraph.js +2 -2
- package/modules/streamgraph.src.js +3 -3
- package/modules/sunburst.js +1 -1
- package/modules/sunburst.src.js +1 -1
- package/modules/tilemap.js +1 -1
- package/modules/tilemap.js.map +1 -1
- package/modules/tilemap.src.js +357 -189
- package/modules/treegrid.js +52 -0
- package/modules/treegrid.js.map +1 -0
- package/modules/treegrid.src.js +2797 -0
- package/modules/treemap.js +1 -1
- package/modules/treemap.src.js +1 -1
- package/modules/variable-pie.js +1 -1
- package/modules/variable-pie.src.js +1 -1
- package/modules/variwide.js +2 -2
- package/modules/variwide.src.js +3 -3
- package/modules/vector.js +2 -2
- package/modules/vector.js.map +1 -1
- package/modules/vector.src.js +94 -24
- package/modules/windbarb.js +2 -2
- package/modules/windbarb.src.js +4 -4
- package/modules/wordcloud.js +1 -1
- package/modules/wordcloud.src.js +1 -1
- package/modules/xrange.js +12 -11
- package/modules/xrange.js.map +1 -1
- package/modules/xrange.src.js +259 -79
- package/package.json +1 -1
- package/themes/avocado.js +1 -1
- package/themes/avocado.src.js +1 -1
- package/themes/dark-blue.js +2 -2
- package/themes/dark-blue.src.js +3 -3
- package/themes/dark-green.js +2 -2
- package/themes/dark-green.src.js +3 -3
- package/themes/dark-unica.js +2 -2
- package/themes/dark-unica.src.js +3 -3
- package/themes/gray.js +2 -2
- package/themes/gray.src.js +3 -3
- package/themes/grid-light.js +2 -2
- package/themes/grid-light.src.js +3 -3
- package/themes/grid.js +2 -2
- package/themes/grid.src.js +3 -3
- package/themes/sand-signika.js +2 -2
- package/themes/sand-signika.src.js +3 -3
- package/themes/skies.js +2 -2
- package/themes/skies.src.js +3 -3
- package/themes/sunset.js +1 -1
- package/themes/sunset.src.js +1 -1
package/modules/xrange.src.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Highcharts JS v6.
|
|
2
|
+
* @license Highcharts JS v6.2.0 (2018-10-17)
|
|
3
3
|
* X-range series
|
|
4
4
|
*
|
|
5
|
-
* (c) 2010-
|
|
5
|
+
* (c) 2010-2018 Torstein Honsi, Lars A. V. Cabrera
|
|
6
6
|
*
|
|
7
7
|
* License: www.highcharts.com/license
|
|
8
8
|
*/
|
|
@@ -22,12 +22,13 @@
|
|
|
22
22
|
/**
|
|
23
23
|
* X-range series module
|
|
24
24
|
*
|
|
25
|
-
* (c) 2010-
|
|
25
|
+
* (c) 2010-2018 Torstein Honsi, Lars A. V. Cabrera
|
|
26
26
|
*
|
|
27
27
|
* License: www.highcharts.com/license
|
|
28
28
|
*/
|
|
29
29
|
|
|
30
30
|
|
|
31
|
+
|
|
31
32
|
var addEvent = H.addEvent,
|
|
32
33
|
defined = H.defined,
|
|
33
34
|
color = H.Color,
|
|
@@ -43,16 +44,47 @@
|
|
|
43
44
|
Point = H.Point,
|
|
44
45
|
Series = H.Series;
|
|
45
46
|
|
|
47
|
+
/**
|
|
48
|
+
* Return color of a point based on its category.
|
|
49
|
+
*
|
|
50
|
+
* @param {object} series The series which the point belongs to.
|
|
51
|
+
* @param {object} point The point to calculate its color for.
|
|
52
|
+
* @returns {object} Returns an object containing the properties color and
|
|
53
|
+
* colorIndex.
|
|
54
|
+
*/
|
|
55
|
+
var getColorByCategory = function getColorByCategory(series, point) {
|
|
56
|
+
var colors = series.options.colors || series.chart.options.colors,
|
|
57
|
+
colorCount = colors ?
|
|
58
|
+
colors.length :
|
|
59
|
+
series.chart.options.chart.colorCount,
|
|
60
|
+
colorIndex = point.y % colorCount,
|
|
61
|
+
color = colors && colors[colorIndex];
|
|
62
|
+
|
|
63
|
+
return {
|
|
64
|
+
colorIndex: colorIndex,
|
|
65
|
+
color: color
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* @private
|
|
71
|
+
* @class
|
|
72
|
+
* @name Highcharts.seriesTypes.xrange
|
|
73
|
+
*
|
|
74
|
+
* @augments Highcharts.Series
|
|
75
|
+
*/
|
|
76
|
+
seriesType('xrange', 'column'
|
|
77
|
+
|
|
46
78
|
/**
|
|
47
79
|
* The X-range series displays ranges on the X axis, typically time intervals
|
|
48
80
|
* with a start and end date.
|
|
49
81
|
*
|
|
50
82
|
* @extends {plotOptions.column}
|
|
51
83
|
* @excluding boostThreshold,crisp,cropThreshold,depth,edgeColor,edgeWidth,
|
|
52
|
-
* findNearestPointBy,getExtremesFromAll,
|
|
53
|
-
*
|
|
84
|
+
* findNearestPointBy,getExtremesFromAll,negativeColor,
|
|
85
|
+
* pointInterval,pointIntervalUnit,pointPlacement,
|
|
54
86
|
* pointRange,pointStart,softThreshold,stacking,threshold,data
|
|
55
|
-
* @product highcharts highstock
|
|
87
|
+
* @product highcharts highstock gantt
|
|
56
88
|
* @sample {highcharts} highcharts/demo/x-range/
|
|
57
89
|
* X-range
|
|
58
90
|
* @sample {highcharts} highcharts/css/x-range/
|
|
@@ -60,18 +92,20 @@
|
|
|
60
92
|
* @sample {highcharts} highcharts/chart/inverted-xrange/
|
|
61
93
|
* Inverted X-range
|
|
62
94
|
* @since 6.0.0
|
|
95
|
+
* @product highcharts highstock
|
|
63
96
|
* @optionparent plotOptions.xrange
|
|
64
97
|
*/
|
|
65
|
-
|
|
98
|
+
, {
|
|
99
|
+
|
|
66
100
|
/**
|
|
67
101
|
* A partial fill for each point, typically used to visualize how much of
|
|
68
102
|
* a task is performed. The partial fill object can be set either on series
|
|
69
103
|
* or point level.
|
|
70
104
|
*
|
|
71
|
-
* @sample
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
* @product highcharts highstock
|
|
105
|
+
* @sample {highcharts} highcharts/demo/x-range
|
|
106
|
+
* X-range with partial fill
|
|
107
|
+
*
|
|
108
|
+
* @product highcharts highstock gantt
|
|
75
109
|
* @apioption plotOptions.xrange.partialFill
|
|
76
110
|
*/
|
|
77
111
|
|
|
@@ -79,22 +113,42 @@
|
|
|
79
113
|
* The fill color to be used for partial fills. Defaults to a darker shade
|
|
80
114
|
* of the point color.
|
|
81
115
|
*
|
|
82
|
-
* @type {
|
|
83
|
-
* @product highcharts highstock
|
|
116
|
+
* @type {Highcharts.ColorString}
|
|
117
|
+
* @product highcharts highstock gantt
|
|
84
118
|
* @apioption plotOptions.xrange.partialFill.fill
|
|
85
119
|
*/
|
|
86
120
|
|
|
121
|
+
/**
|
|
122
|
+
* A partial fill for each point, typically used to visualize how much of
|
|
123
|
+
* a task is performed. The partial fill object can be set either on series
|
|
124
|
+
* or point level.
|
|
125
|
+
*
|
|
126
|
+
* @sample {highcharts} highcharts/demo/x-range
|
|
127
|
+
* X-range with partial fill
|
|
128
|
+
* @type {Object}
|
|
129
|
+
* @extends plotOptions.xrange.partialFill
|
|
130
|
+
* @apioption series.xrange.data.partialFill
|
|
131
|
+
*/
|
|
132
|
+
|
|
133
|
+
|
|
87
134
|
/**
|
|
88
135
|
* In an X-range series, this option makes all points of the same Y-axis
|
|
89
136
|
* category the same color.
|
|
90
137
|
*/
|
|
91
138
|
colorByPoint: true,
|
|
139
|
+
|
|
92
140
|
dataLabels: {
|
|
141
|
+
|
|
93
142
|
verticalAlign: 'middle',
|
|
143
|
+
|
|
94
144
|
inside: true,
|
|
145
|
+
|
|
95
146
|
/**
|
|
96
147
|
* The default formatter for X-range data labels displays the percentage
|
|
97
148
|
* of the partial fill amount.
|
|
149
|
+
*
|
|
150
|
+
* @type {Highcharts.FormatterCallbackFunction}
|
|
151
|
+
* @default function () { return (amount * 100) + '%'; }
|
|
98
152
|
*/
|
|
99
153
|
formatter: function () {
|
|
100
154
|
var point = this.point,
|
|
@@ -108,24 +162,35 @@
|
|
|
108
162
|
return (amount * 100) + '%';
|
|
109
163
|
}
|
|
110
164
|
},
|
|
165
|
+
|
|
111
166
|
tooltip: {
|
|
167
|
+
|
|
112
168
|
headerFormat: '<span style="font-size: 0.85em">{point.x} - {point.x2}</span><br/>',
|
|
169
|
+
|
|
113
170
|
pointFormat: '<span style="color:{point.color}">\u25CF</span> {series.name}: <b>{point.yCategory}</b><br/>'
|
|
114
171
|
},
|
|
172
|
+
|
|
115
173
|
borderRadius: 3,
|
|
174
|
+
|
|
116
175
|
pointRange: 0
|
|
117
176
|
|
|
118
177
|
}, {
|
|
178
|
+
|
|
119
179
|
type: 'xrange',
|
|
120
180
|
parallelArrays: ['x', 'x2', 'y'],
|
|
121
181
|
requireSorting: false,
|
|
122
182
|
animate: seriesTypes.line.prototype.animate,
|
|
123
183
|
cropShoulder: 1,
|
|
124
184
|
getExtremesFromAll: true,
|
|
125
|
-
|
|
185
|
+
autoIncrement: H.noop,
|
|
126
186
|
/**
|
|
127
187
|
* Borrow the column series metrics, but with swapped axes. This gives free
|
|
128
188
|
* access to features like groupPadding, grouping, pointWidth etc.
|
|
189
|
+
*
|
|
190
|
+
* @private
|
|
191
|
+
* @function Higcharts.seriesTypes.xrange#getColumnMetrics
|
|
192
|
+
*
|
|
193
|
+
* @return {Highcharts.ColumnMetricsObject}
|
|
129
194
|
*/
|
|
130
195
|
getColumnMetrics: function () {
|
|
131
196
|
var metrics,
|
|
@@ -151,6 +216,21 @@
|
|
|
151
216
|
/**
|
|
152
217
|
* Override cropData to show a point where x or x2 is outside visible range,
|
|
153
218
|
* but one of them is inside.
|
|
219
|
+
*
|
|
220
|
+
* @private
|
|
221
|
+
* @function Highcharts.seriesTypes.xrange#cropData
|
|
222
|
+
*
|
|
223
|
+
* @param {Array<number>} xData
|
|
224
|
+
*
|
|
225
|
+
* @param {Array<number>} yData
|
|
226
|
+
*
|
|
227
|
+
* @param {number} min
|
|
228
|
+
*
|
|
229
|
+
* @param {number} max
|
|
230
|
+
*
|
|
231
|
+
* @param {number} [cropShoulder]
|
|
232
|
+
*
|
|
233
|
+
* @return {*}
|
|
154
234
|
*/
|
|
155
235
|
cropData: function (xData, yData, min, max) {
|
|
156
236
|
|
|
@@ -164,11 +244,19 @@
|
|
|
164
244
|
return crop;
|
|
165
245
|
},
|
|
166
246
|
|
|
247
|
+
/**
|
|
248
|
+
* @private
|
|
249
|
+
* @function Highcharts.seriesTypes.xrange#translatePoint
|
|
250
|
+
*
|
|
251
|
+
* @param {Highcharts.Point} point
|
|
252
|
+
*/
|
|
167
253
|
translatePoint: function (point) {
|
|
168
254
|
var series = this,
|
|
169
255
|
xAxis = series.xAxis,
|
|
256
|
+
yAxis = series.yAxis,
|
|
170
257
|
metrics = series.columnMetrics,
|
|
171
|
-
|
|
258
|
+
options = series.options,
|
|
259
|
+
minPointLength = options.minPointLength || 0,
|
|
172
260
|
plotX = point.plotX,
|
|
173
261
|
posX = pick(point.x2, point.x + (point.len || 0)),
|
|
174
262
|
plotX2 = xAxis.translate(posX, 0, 0, 0, 1),
|
|
@@ -177,8 +265,10 @@
|
|
|
177
265
|
shapeArgs,
|
|
178
266
|
partialFill,
|
|
179
267
|
inverted = this.chart.inverted,
|
|
180
|
-
borderWidth = pick(
|
|
268
|
+
borderWidth = pick(options.borderWidth, 1),
|
|
181
269
|
crisper = borderWidth % 2 / 2,
|
|
270
|
+
yOffset = metrics.offset,
|
|
271
|
+
pointHeight = Math.round(metrics.width),
|
|
182
272
|
dlLeft,
|
|
183
273
|
dlRight,
|
|
184
274
|
dlWidth;
|
|
@@ -195,11 +285,27 @@
|
|
|
195
285
|
plotX = Math.max(plotX, -10);
|
|
196
286
|
plotX2 = Math.min(Math.max(plotX2, -10), xAxis.len + 10);
|
|
197
287
|
|
|
288
|
+
// Handle individual pointWidth
|
|
289
|
+
if (defined(point.options.pointWidth)) {
|
|
290
|
+
yOffset -= (Math.ceil(point.options.pointWidth) - pointHeight) / 2;
|
|
291
|
+
pointHeight = Math.ceil(point.options.pointWidth);
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
// Apply pointPlacement to the Y axis
|
|
295
|
+
if (
|
|
296
|
+
options.pointPlacement &&
|
|
297
|
+
isNumber(point.plotY) &&
|
|
298
|
+
yAxis.categories
|
|
299
|
+
) {
|
|
300
|
+
point.plotY = yAxis
|
|
301
|
+
.translate(point.y, 0, 1, 0, 1, options.pointPlacement);
|
|
302
|
+
}
|
|
303
|
+
|
|
198
304
|
point.shapeArgs = {
|
|
199
305
|
x: Math.floor(Math.min(plotX, plotX2)) + crisper,
|
|
200
|
-
y: Math.floor(point.plotY +
|
|
306
|
+
y: Math.floor(point.plotY + yOffset) + crisper,
|
|
201
307
|
width: Math.round(Math.abs(plotX2 - plotX)),
|
|
202
|
-
height:
|
|
308
|
+
height: pointHeight,
|
|
203
309
|
r: series.options.borderRadius
|
|
204
310
|
};
|
|
205
311
|
|
|
@@ -222,7 +328,7 @@
|
|
|
222
328
|
|
|
223
329
|
// Tooltip position
|
|
224
330
|
point.tooltipPos[0] += inverted ? 0 : length / 2;
|
|
225
|
-
point.tooltipPos[1] -= inverted ? length / 2 : metrics.width / 2;
|
|
331
|
+
point.tooltipPos[1] -= inverted ? -length / 2 : metrics.width / 2;
|
|
226
332
|
|
|
227
333
|
// Add a partShapeArgs to the point, based on the shapeArgs property
|
|
228
334
|
partialFill = point.partialFill;
|
|
@@ -256,8 +362,17 @@
|
|
|
256
362
|
height: shapeArgs.height
|
|
257
363
|
};
|
|
258
364
|
}
|
|
365
|
+
|
|
366
|
+
// Category from Y axis
|
|
367
|
+
if (yAxis.categories) {
|
|
368
|
+
point.category = yAxis.categories[point.y];
|
|
369
|
+
}
|
|
259
370
|
},
|
|
260
371
|
|
|
372
|
+
/**
|
|
373
|
+
* @private
|
|
374
|
+
* @function Highcharts.seriesTypes.xrange#translate
|
|
375
|
+
*/
|
|
261
376
|
translate: function () {
|
|
262
377
|
columnType.prototype.translate.apply(this, arguments);
|
|
263
378
|
each(this.points, function (point) {
|
|
@@ -271,10 +386,14 @@
|
|
|
271
386
|
* This override turns point.graphic into a group containing the original
|
|
272
387
|
* graphic and an overlay displaying the partial fill.
|
|
273
388
|
*
|
|
274
|
-
* @
|
|
275
|
-
* @
|
|
276
|
-
*
|
|
277
|
-
* @
|
|
389
|
+
* @private
|
|
390
|
+
* @function Highcharts.seriesTypes.xrange#drawPoint
|
|
391
|
+
*
|
|
392
|
+
* @param {Highcharts.Point} point
|
|
393
|
+
* An instance of Point in the series.
|
|
394
|
+
*
|
|
395
|
+
* @param {"animate"|"attr"} verb
|
|
396
|
+
* 'animate' (animates changes) or 'attr' (sets options)
|
|
278
397
|
*/
|
|
279
398
|
drawPoint: function (point, verb) {
|
|
280
399
|
var series = this,
|
|
@@ -369,6 +488,10 @@
|
|
|
369
488
|
}
|
|
370
489
|
},
|
|
371
490
|
|
|
491
|
+
/**
|
|
492
|
+
* @private
|
|
493
|
+
* @function Highcharts.seriesTypes.xrange#drawPoints
|
|
494
|
+
*/
|
|
372
495
|
drawPoints: function () {
|
|
373
496
|
var series = this,
|
|
374
497
|
verb = series.getAnimationVerb();
|
|
@@ -384,7 +507,10 @@
|
|
|
384
507
|
* Returns "animate", or "attr" if the number of points is above the
|
|
385
508
|
* animation limit.
|
|
386
509
|
*
|
|
387
|
-
* @
|
|
510
|
+
* @private
|
|
511
|
+
* @function Highcharts.seriesTypes.xrange#getAnimationVerb
|
|
512
|
+
*
|
|
513
|
+
* @return {string}
|
|
388
514
|
*/
|
|
389
515
|
getAnimationVerb: function () {
|
|
390
516
|
return this.chart.pointCount < (this.options.animationLimit || 250) ?
|
|
@@ -394,6 +520,12 @@
|
|
|
394
520
|
/**
|
|
395
521
|
* Override to remove stroke from points.
|
|
396
522
|
* For partial fill.
|
|
523
|
+
*
|
|
524
|
+
* @ignore
|
|
525
|
+
* @private
|
|
526
|
+
* @function Highcharts.seriesTypes.xrange#pointAttribs
|
|
527
|
+
*
|
|
528
|
+
* @return {*}
|
|
397
529
|
* /
|
|
398
530
|
pointAttribs: function () {
|
|
399
531
|
var series = this,
|
|
@@ -404,46 +536,67 @@
|
|
|
404
536
|
}
|
|
405
537
|
//*/
|
|
406
538
|
|
|
407
|
-
// Point class properties
|
|
408
|
-
|
|
539
|
+
}, { // Point class properties
|
|
540
|
+
/**
|
|
541
|
+
* Extend applyOptions so that `colorByPoint` for x-range means that one
|
|
542
|
+
* color is applied per Y axis category.
|
|
543
|
+
*
|
|
544
|
+
* @private
|
|
545
|
+
* @function Highcharts.Point#applyOptions
|
|
546
|
+
*
|
|
547
|
+
* @return {Highcharts.Series}
|
|
548
|
+
*/
|
|
549
|
+
applyOptions: function () {
|
|
550
|
+
var point = Point.prototype.applyOptions.apply(this, arguments),
|
|
551
|
+
series = point.series,
|
|
552
|
+
colorByPoint;
|
|
553
|
+
|
|
554
|
+
if (series.options.colorByPoint && !point.options.color) {
|
|
555
|
+
colorByPoint = getColorByCategory(series, point);
|
|
556
|
+
|
|
557
|
+
point.color = colorByPoint.color;
|
|
558
|
+
|
|
559
|
+
if (!point.options.colorIndex) {
|
|
560
|
+
point.colorIndex = colorByPoint.colorIndex;
|
|
561
|
+
}
|
|
562
|
+
}
|
|
409
563
|
|
|
564
|
+
return point;
|
|
565
|
+
},
|
|
410
566
|
/**
|
|
411
|
-
* Extend init
|
|
412
|
-
*
|
|
567
|
+
* Extend init to have y default to 0.
|
|
568
|
+
*
|
|
569
|
+
* @private
|
|
570
|
+
* @function Highcharts.Point#init
|
|
571
|
+
*
|
|
572
|
+
* @return {Highcharts.Series}
|
|
413
573
|
*/
|
|
414
574
|
init: function () {
|
|
415
|
-
|
|
416
575
|
Point.prototype.init.apply(this, arguments);
|
|
417
576
|
|
|
418
|
-
var colors,
|
|
419
|
-
series = this.series,
|
|
420
|
-
colorCount = series.chart.options.chart.colorCount;
|
|
421
|
-
|
|
422
577
|
if (!this.y) {
|
|
423
578
|
this.y = 0;
|
|
424
579
|
}
|
|
425
580
|
|
|
426
|
-
|
|
427
|
-
if (series.options.colorByPoint) {
|
|
428
|
-
colors = series.options.colors || series.chart.options.colors;
|
|
429
|
-
colorCount = colors.length;
|
|
430
|
-
|
|
431
|
-
if (!this.options.color && colors[this.y % colorCount]) {
|
|
432
|
-
this.color = colors[this.y % colorCount];
|
|
433
|
-
}
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
this.colorIndex = pick(this.options.colorIndex, this.y % colorCount);
|
|
437
|
-
|
|
438
581
|
return this;
|
|
439
582
|
},
|
|
440
583
|
|
|
584
|
+
/**
|
|
585
|
+
* @private
|
|
586
|
+
* @function Highcharts.Point#setState
|
|
587
|
+
*/
|
|
441
588
|
setState: function () {
|
|
442
589
|
Point.prototype.setState.apply(this, arguments);
|
|
443
590
|
|
|
444
591
|
this.series.drawPoint(this, this.series.getAnimationVerb());
|
|
445
592
|
},
|
|
446
593
|
|
|
594
|
+
/**
|
|
595
|
+
* @private
|
|
596
|
+
* @function Highcharts.Point#getLabelConfig
|
|
597
|
+
*
|
|
598
|
+
* @return {Highcharts.PointLabelObject}
|
|
599
|
+
*/
|
|
447
600
|
// Add x2 and yCategory to the available properties for tooltip formats
|
|
448
601
|
getLabelConfig: function () {
|
|
449
602
|
var point = this,
|
|
@@ -456,15 +609,19 @@
|
|
|
456
609
|
},
|
|
457
610
|
tooltipDateKeys: ['x', 'x2'],
|
|
458
611
|
|
|
612
|
+
/**
|
|
613
|
+
* @private
|
|
614
|
+
* @function Highcharts.Point#isValid
|
|
615
|
+
*
|
|
616
|
+
* @return {boolean}
|
|
617
|
+
*/
|
|
459
618
|
isValid: function () {
|
|
460
619
|
return typeof this.x === 'number' &&
|
|
461
620
|
typeof this.x2 === 'number';
|
|
462
621
|
}
|
|
463
622
|
});
|
|
464
623
|
|
|
465
|
-
|
|
466
|
-
* Max x2 should be considered in xAxis extremes
|
|
467
|
-
*/
|
|
624
|
+
// Max x2 should be considered in xAxis extremes
|
|
468
625
|
addEvent(Axis, 'afterGetSeriesExtremes', function () {
|
|
469
626
|
var axis = this,
|
|
470
627
|
axisSeries = axis.series,
|
|
@@ -494,13 +651,12 @@
|
|
|
494
651
|
* An `xrange` series. If the [type](#series.xrange.type) option is not
|
|
495
652
|
* specified, it is inherited from [chart.type](#chart.type).
|
|
496
653
|
*
|
|
497
|
-
* @type {Object}
|
|
498
654
|
* @extends series,plotOptions.xrange
|
|
499
655
|
* @excluding boostThreshold,crisp,cropThreshold,depth,edgeColor,edgeWidth,
|
|
500
|
-
* findNearestPointBy,getExtremesFromAll,
|
|
656
|
+
* findNearestPointBy,getExtremesFromAll,
|
|
501
657
|
* negativeColor,pointInterval,pointIntervalUnit,pointPlacement,
|
|
502
658
|
* pointRange,pointStart,softThreshold,stacking,threshold
|
|
503
|
-
* @product highcharts highstock
|
|
659
|
+
* @product highcharts highstock gantt
|
|
504
660
|
* @apioption series.xrange
|
|
505
661
|
*/
|
|
506
662
|
|
|
@@ -527,30 +683,54 @@
|
|
|
527
683
|
* }]
|
|
528
684
|
* ```
|
|
529
685
|
*
|
|
530
|
-
* @
|
|
686
|
+
* @sample {highcharts} highcharts/chart/reflow-true/
|
|
687
|
+
* Numerical values
|
|
688
|
+
* @sample {highcharts} highcharts/series/data-array-of-arrays/
|
|
689
|
+
* Arrays of numeric x and y
|
|
690
|
+
* @sample {highcharts} highcharts/series/data-array-of-arrays-datetime/
|
|
691
|
+
* Arrays of datetime x and y
|
|
692
|
+
* @sample {highcharts} highcharts/series/data-array-of-name-value/
|
|
693
|
+
* Arrays of point.name and y
|
|
694
|
+
* @sample {highcharts} highcharts/series/data-array-of-objects/
|
|
695
|
+
* Config objects
|
|
696
|
+
*
|
|
697
|
+
* @type {Array<number|Array<number>|*>}
|
|
531
698
|
* @extends series.line.data
|
|
532
|
-
* @
|
|
533
|
-
* Numerical values
|
|
534
|
-
* @sample {highcharts} highcharts/series/data-array-of-arrays/
|
|
535
|
-
* Arrays of numeric x and y
|
|
536
|
-
* @sample {highcharts} highcharts/series/data-array-of-arrays-datetime/
|
|
537
|
-
* Arrays of datetime x and y
|
|
538
|
-
* @sample {highcharts} highcharts/series/data-array-of-name-value/
|
|
539
|
-
* Arrays of point.name and y
|
|
540
|
-
* @sample {highcharts} highcharts/series/data-array-of-objects/
|
|
541
|
-
* Config objects
|
|
542
|
-
* @product highcharts highstock
|
|
699
|
+
* @product highcharts highstock gantt
|
|
543
700
|
* @apioption series.xrange.data
|
|
544
701
|
*/
|
|
545
702
|
|
|
703
|
+
/**
|
|
704
|
+
* The starting X value of the range point.
|
|
705
|
+
*
|
|
706
|
+
* @sample {highcharts} highcharts/demo/x-range
|
|
707
|
+
* X-range
|
|
708
|
+
*
|
|
709
|
+
* @type {number}
|
|
710
|
+
* @product highcharts highstock gantt
|
|
711
|
+
* @apioption series.xrange.data.x
|
|
712
|
+
*/
|
|
713
|
+
|
|
546
714
|
/**
|
|
547
715
|
* The ending X value of the range point.
|
|
548
716
|
*
|
|
549
|
-
* @sample
|
|
550
|
-
*
|
|
551
|
-
*
|
|
552
|
-
* @
|
|
553
|
-
* @
|
|
717
|
+
* @sample {highcharts} highcharts/demo/x-range
|
|
718
|
+
* X-range
|
|
719
|
+
*
|
|
720
|
+
* @type {number}
|
|
721
|
+
* @product highcharts highstock gantt
|
|
722
|
+
* @apioption series.xrange.data.x2
|
|
723
|
+
*/
|
|
724
|
+
|
|
725
|
+
/**
|
|
726
|
+
* The Y value of the range point.
|
|
727
|
+
*
|
|
728
|
+
* @sample {highcharts} highcharts/demo/x-range
|
|
729
|
+
* X-range
|
|
730
|
+
*
|
|
731
|
+
* @type {number}
|
|
732
|
+
* @product highcharts highstock gantt
|
|
733
|
+
* @apioption series.xrange.data.y
|
|
554
734
|
*/
|
|
555
735
|
|
|
556
736
|
/**
|
|
@@ -558,29 +738,29 @@
|
|
|
558
738
|
* a task is performed. The partial fill object can be set either on series
|
|
559
739
|
* or point level.
|
|
560
740
|
*
|
|
561
|
-
* @sample
|
|
562
|
-
*
|
|
563
|
-
*
|
|
564
|
-
* @product highcharts highstock
|
|
565
|
-
* @apioption
|
|
741
|
+
* @sample {highcharts} highcharts/demo/x-range
|
|
742
|
+
* X-range with partial fill
|
|
743
|
+
*
|
|
744
|
+
* @product highcharts highstock gantt
|
|
745
|
+
* @apioption series.xrange.data.partialFill
|
|
566
746
|
*/
|
|
567
747
|
|
|
568
748
|
/**
|
|
569
749
|
* The amount of the X-range point to be filled. Values can be 0-1 and are
|
|
570
750
|
* converted to percentages in the default data label formatter.
|
|
571
751
|
*
|
|
572
|
-
* @type {
|
|
573
|
-
* @product highcharts highstock
|
|
574
|
-
* @apioption
|
|
752
|
+
* @type {number}
|
|
753
|
+
* @product highcharts highstock gantt
|
|
754
|
+
* @apioption series.xrange.data.partialFill.amount
|
|
575
755
|
*/
|
|
576
756
|
|
|
577
757
|
/**
|
|
578
758
|
* The fill color to be used for partial fills. Defaults to a darker shade
|
|
579
759
|
* of the point color.
|
|
580
760
|
*
|
|
581
|
-
* @type {
|
|
582
|
-
* @product highcharts highstock
|
|
583
|
-
* @apioption
|
|
761
|
+
* @type {Highcharts.ColorString}
|
|
762
|
+
* @product highcharts highstock gantt
|
|
763
|
+
* @apioption series.xrange.data.partialFill.fill
|
|
584
764
|
*/
|
|
585
765
|
|
|
586
766
|
}(Highcharts));
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "highcharts",
|
|
3
3
|
"description": "JavaScript charting framework",
|
|
4
4
|
"homepage": "http://www.highcharts.com",
|
|
5
|
-
"version": "6.
|
|
5
|
+
"version": "6.2.0",
|
|
6
6
|
"author": "Highsoft AS <support@highcharts.com> (http://www.highcharts.com/about)",
|
|
7
7
|
"main": "highcharts.js",
|
|
8
8
|
"repository": {
|
package/themes/avocado.js
CHANGED
package/themes/avocado.src.js
CHANGED
package/themes/dark-blue.js
CHANGED
package/themes/dark-blue.src.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Highcharts JS v6.
|
|
2
|
+
* @license Highcharts JS v6.2.0 (2018-10-17)
|
|
3
3
|
*
|
|
4
|
-
* (c) 2009-
|
|
4
|
+
* (c) 2009-2018 Torstein Honsi
|
|
5
5
|
*
|
|
6
6
|
* License: www.highcharts.com/license
|
|
7
7
|
*/
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
}(function (Highcharts) {
|
|
20
20
|
(function (Highcharts) {
|
|
21
21
|
/**
|
|
22
|
-
* (c) 2010-
|
|
22
|
+
* (c) 2010-2018 Torstein Honsi
|
|
23
23
|
*
|
|
24
24
|
* License: www.highcharts.com/license
|
|
25
25
|
*
|
package/themes/dark-green.js
CHANGED
package/themes/dark-green.src.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Highcharts JS v6.
|
|
2
|
+
* @license Highcharts JS v6.2.0 (2018-10-17)
|
|
3
3
|
*
|
|
4
|
-
* (c) 2009-
|
|
4
|
+
* (c) 2009-2018 Torstein Honsi
|
|
5
5
|
*
|
|
6
6
|
* License: www.highcharts.com/license
|
|
7
7
|
*/
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
}(function (Highcharts) {
|
|
20
20
|
(function (Highcharts) {
|
|
21
21
|
/**
|
|
22
|
-
* (c) 2010-
|
|
22
|
+
* (c) 2010-2018 Torstein Honsi
|
|
23
23
|
*
|
|
24
24
|
* License: www.highcharts.com/license
|
|
25
25
|
*
|