highcharts 6.1.1 → 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 +29 -0
- package/css/highcharts.scss +25 -1
- package/css/themes/dark-unica.css +29 -0
- package/css/themes/grid-light.css +29 -0
- package/css/themes/sand-signika.css +29 -0
- package/es-modules/indicators/accumulation-distribution.src.js +1 -1
- package/es-modules/indicators/atr.src.js +1 -1
- package/es-modules/indicators/bollinger-bands.src.js +2 -2
- package/es-modules/indicators/cci.src.js +1 -1
- package/es-modules/indicators/cmf.src.js +1 -1
- package/es-modules/indicators/ema.src.js +1 -1
- package/es-modules/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/es-modules/indicators/indicators.src.js +29 -14
- package/es-modules/indicators/macd.src.js +4 -4
- package/es-modules/indicators/mfi.src.js +1 -1
- package/es-modules/indicators/momentum.src.js +2 -2
- package/es-modules/indicators/pivot-points.src.js +7 -2
- package/es-modules/indicators/price-envelopes.src.js +2 -2
- package/es-modules/indicators/psar.src.js +1 -1
- package/es-modules/indicators/roc.src.js +1 -1
- package/es-modules/indicators/rsi.src.js +1 -1
- package/es-modules/indicators/stochastic.src.js +9 -7
- package/es-modules/indicators/volume-by-price.src.js +1 -1
- package/es-modules/indicators/vwap.src.js +1 -1
- package/es-modules/indicators/wma.src.js +1 -1
- package/es-modules/indicators/zigzag.src.js +1 -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 +36 -5
- package/es-modules/mixins/on-series.js +1 -1
- package/es-modules/mixins/polygon.js +4 -4
- package/es-modules/modules/annotations.src.js +2 -2
- package/es-modules/modules/boost-canvas.src.js +19 -8
- package/es-modules/modules/boost.src.js +300 -137
- package/es-modules/modules/broken-axis.src.js +169 -134
- package/es-modules/modules/bullet.src.js +2 -2
- package/es-modules/modules/data.src.js +8 -6
- package/es-modules/modules/draggable-points.src.js +2257 -0
- package/es-modules/modules/drilldown.src.js +4 -2
- package/es-modules/modules/export-data.src.js +11 -1
- package/es-modules/modules/exporting.src.js +62 -36
- package/es-modules/modules/funnel.src.js +5 -5
- package/es-modules/modules/histogram.src.js +30 -28
- package/es-modules/modules/item-series.src.js +36 -11
- package/es-modules/modules/keyboard-navigation.src.js +81 -44
- package/es-modules/modules/no-data-to-display.src.js +5 -5
- package/es-modules/modules/oldie.src.js +14 -9
- package/es-modules/modules/overlapping-datalabels.src.js +45 -21
- package/es-modules/modules/parallel-coordinates.src.js +4 -3
- package/es-modules/modules/pareto.src.js +1 -1
- package/es-modules/modules/sankey.src.js +28 -10
- package/es-modules/modules/series-label.src.js +6 -6
- package/es-modules/modules/solid-gauge.src.js +10 -7
- package/es-modules/modules/static-scale.src.js +67 -28
- package/es-modules/modules/streamgraph.src.js +4 -4
- package/es-modules/modules/sunburst.src.js +4 -4
- package/es-modules/modules/tilemap.src.js +231 -134
- package/es-modules/modules/treemap.src.js +30 -27
- package/es-modules/modules/variable-pie.src.js +3 -3
- package/es-modules/modules/variwide.src.js +36 -24
- package/es-modules/modules/vector.src.js +98 -28
- package/es-modules/modules/windbarb.src.js +4 -4
- package/es-modules/modules/wordcloud.src.js +133 -48
- package/es-modules/modules/xrange.src.js +258 -78
- package/es-modules/parts/AreaSeries.js +83 -50
- package/es-modules/parts/AreaSplineSeries.js +66 -29
- package/es-modules/parts/Axis.js +2184 -745
- package/es-modules/parts/BarSeries.js +70 -53
- package/es-modules/parts/CandlestickSeries.js +20 -10
- package/es-modules/parts/Chart.js +349 -157
- package/es-modules/parts/Color.js +74 -25
- package/es-modules/parts/ColumnSeries.js +274 -147
- package/es-modules/parts/DataGrouping.js +36 -3
- package/es-modules/parts/DataLabels.js +318 -144
- package/es-modules/parts/DateTimeAxis.js +27 -5
- package/es-modules/parts/Dynamics.js +236 -144
- package/es-modules/parts/FlagsSeries.js +49 -7
- package/es-modules/parts/Globals.js +4 -3
- package/es-modules/parts/Html.js +82 -16
- package/es-modules/parts/Interaction.js +198 -65
- package/es-modules/parts/Legend.js +181 -31
- package/es-modules/parts/LogarithmicAxis.js +36 -3
- package/es-modules/parts/MSPointer.js +31 -4
- package/es-modules/parts/Navigator.js +479 -187
- package/es-modules/parts/OHLCSeries.js +11 -5
- package/es-modules/parts/Options.js +1052 -686
- package/es-modules/parts/OrdinalAxis.js +20 -6
- package/es-modules/parts/PieSeries.js +258 -142
- package/es-modules/parts/PlotBandSeries.experimental.js +2 -2
- package/es-modules/parts/PlotLineOrBand.js +671 -35
- package/es-modules/parts/Point.js +189 -73
- package/es-modules/parts/Pointer.js +263 -62
- package/es-modules/parts/RangeSelector.js +601 -91
- package/es-modules/parts/Responsive.js +82 -36
- package/es-modules/parts/ScatterSeries.js +59 -27
- package/es-modules/parts/ScrollablePlotArea.js +30 -9
- package/es-modules/parts/Scrollbar.js +284 -113
- package/es-modules/parts/Series.js +1105 -836
- package/es-modules/parts/SplineSeries.js +53 -31
- package/es-modules/parts/Stacking.js +108 -7
- package/es-modules/parts/StockChart.js +26 -8
- package/es-modules/parts/SvgRenderer.js +1251 -613
- package/es-modules/parts/Tick.js +164 -30
- package/es-modules/parts/Time.js +171 -71
- package/es-modules/parts/Tooltip.js +271 -49
- package/es-modules/parts/TouchPointer.js +70 -3
- package/es-modules/parts/Utilities.js +1024 -429
- package/es-modules/parts-3d/Axis.js +4 -3
- package/es-modules/parts-3d/Chart.js +8 -9
- 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 +13 -10
- package/es-modules/parts-3d/Scatter.js +4 -4
- 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 +4 -5
- package/es-modules/parts-map/ColorSeriesMixin.js +3 -1
- package/es-modules/parts-map/GeoJSON.js +1 -1
- package/es-modules/parts-map/HeatmapSeries.js +126 -55
- package/es-modules/parts-map/Map.js +144 -51
- package/es-modules/parts-map/MapAxis.js +1 -1
- package/es-modules/parts-map/MapBubbleSeries.js +6 -5
- package/es-modules/parts-map/MapLineSeries.js +4 -4
- package/es-modules/parts-map/MapNavigation.js +50 -12
- package/es-modules/parts-map/MapPointSeries.js +3 -3
- package/es-modules/parts-map/MapPointer.js +1 -1
- package/es-modules/parts-map/MapSeries.js +7 -7
- package/es-modules/parts-more/AreaRangeSeries.js +82 -40
- package/es-modules/parts-more/AreaSplineRangeSeries.js +3 -3
- package/es-modules/parts-more/BoxPlotSeries.js +3 -3
- package/es-modules/parts-more/BubbleSeries.js +9 -4
- package/es-modules/parts-more/ColumnRangeSeries.js +3 -3
- package/es-modules/parts-more/ErrorBarSeries.js +6 -4
- package/es-modules/parts-more/GaugeSeries.js +3 -3
- package/es-modules/parts-more/Pane.js +3 -2
- package/es-modules/parts-more/Polar.js +1 -1
- package/es-modules/parts-more/PolygonSeries.js +3 -3
- package/es-modules/parts-more/RadialAxis.js +5 -4
- package/es-modules/parts-more/WaterfallSeries.js +9 -4
- 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 +77 -75
- package/highcharts-3d.js.map +1 -8
- package/highcharts-3d.src.js +39 -32
- package/highcharts-gantt.js +503 -0
- package/highcharts-gantt.js.map +1 -0
- package/highcharts-gantt.src.js +49289 -0
- package/highcharts-more.js +66 -64
- package/highcharts-more.js.map +1 -8
- package/highcharts-more.src.js +135 -75
- package/highcharts.js +413 -403
- package/highcharts.js.map +1 -8
- package/highcharts.src.js +11114 -4781
- package/highmaps.js +442 -433
- package/highmaps.js.map +1 -8
- package/highmaps.src.js +10740 -4598
- package/highstock.js +553 -540
- package/highstock.js.map +1 -8
- package/highstock.src.js +12807 -5343
- package/indicators/accumulation-distribution.js +4 -3
- package/indicators/accumulation-distribution.js.map +1 -8
- package/indicators/accumulation-distribution.src.js +6 -2
- package/indicators/atr.js +4 -3
- package/indicators/atr.js.map +1 -8
- package/indicators/atr.src.js +6 -2
- package/indicators/bollinger-bands.js +7 -6
- package/indicators/bollinger-bands.js.map +1 -8
- package/indicators/bollinger-bands.src.js +7 -3
- package/indicators/cci.js +4 -3
- package/indicators/cci.js.map +1 -8
- package/indicators/cci.src.js +6 -2
- package/indicators/cmf.js +5 -4
- package/indicators/cmf.js.map +1 -8
- package/indicators/cmf.src.js +6 -2
- package/indicators/ema.js +4 -3
- package/indicators/ema.js.map +1 -8
- package/indicators/ema.src.js +6 -2
- package/indicators/ichimoku-kinko-hyo.js +10 -9
- package/indicators/ichimoku-kinko-hyo.js.map +1 -8
- package/indicators/ichimoku-kinko-hyo.src.js +6 -2
- package/indicators/indicators.js +6 -5
- package/indicators/indicators.js.map +1 -8
- package/indicators/indicators.src.js +34 -15
- package/indicators/macd.js +11 -10
- package/indicators/macd.js.map +1 -8
- package/indicators/macd.src.js +10 -6
- package/indicators/mfi.js +5 -3
- package/indicators/mfi.js.map +1 -8
- package/indicators/mfi.src.js +6 -2
- package/indicators/momentum.js +4 -3
- package/indicators/momentum.js.map +1 -8
- package/indicators/momentum.src.js +7 -3
- package/indicators/pivot-points.js +8 -7
- package/indicators/pivot-points.js.map +1 -8
- package/indicators/pivot-points.src.js +12 -3
- package/indicators/price-envelopes.js +7 -6
- package/indicators/price-envelopes.js.map +1 -8
- package/indicators/price-envelopes.src.js +7 -3
- package/indicators/psar.js +5 -4
- package/indicators/psar.js.map +1 -8
- package/indicators/psar.src.js +6 -2
- package/indicators/roc.js +4 -3
- package/indicators/roc.js.map +1 -8
- package/indicators/roc.src.js +6 -2
- package/indicators/rsi.js +4 -3
- package/indicators/rsi.js.map +1 -8
- package/indicators/rsi.src.js +6 -2
- package/indicators/stochastic.js +7 -5
- package/indicators/stochastic.js.map +1 -8
- package/indicators/stochastic.src.js +14 -8
- package/indicators/volume-by-price.js +13 -12
- package/indicators/volume-by-price.js.map +1 -8
- package/indicators/volume-by-price.src.js +6 -2
- package/indicators/vwap.js +4 -3
- package/indicators/vwap.js.map +1 -8
- package/indicators/vwap.src.js +6 -2
- package/indicators/wma.js +4 -3
- package/indicators/wma.js.map +1 -8
- package/indicators/wma.src.js +6 -2
- package/indicators/zigzag.js +5 -3
- package/indicators/zigzag.js.map +1 -8
- package/indicators/zigzag.src.js +6 -2
- package/js/es-modules/indicators/accumulation-distribution.src.js +1 -1
- package/js/es-modules/indicators/atr.src.js +1 -1
- package/js/es-modules/indicators/bollinger-bands.src.js +2 -2
- package/js/es-modules/indicators/cci.src.js +1 -1
- package/js/es-modules/indicators/cmf.src.js +1 -1
- package/js/es-modules/indicators/ema.src.js +1 -1
- package/js/es-modules/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/js/es-modules/indicators/indicators.src.js +29 -14
- package/js/es-modules/indicators/macd.src.js +4 -4
- package/js/es-modules/indicators/mfi.src.js +1 -1
- package/js/es-modules/indicators/momentum.src.js +2 -2
- package/js/es-modules/indicators/pivot-points.src.js +7 -2
- package/js/es-modules/indicators/price-envelopes.src.js +2 -2
- package/js/es-modules/indicators/psar.src.js +1 -1
- package/js/es-modules/indicators/roc.src.js +1 -1
- package/js/es-modules/indicators/rsi.src.js +1 -1
- package/js/es-modules/indicators/stochastic.src.js +9 -7
- package/js/es-modules/indicators/volume-by-price.src.js +1 -1
- package/js/es-modules/indicators/vwap.src.js +1 -1
- package/js/es-modules/indicators/wma.src.js +1 -1
- package/js/es-modules/indicators/zigzag.src.js +1 -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 +36 -5
- package/js/es-modules/mixins/on-series.js +1 -1
- package/js/es-modules/mixins/polygon.js +4 -4
- package/js/es-modules/modules/annotations.src.js +2 -2
- package/js/es-modules/modules/boost-canvas.src.js +19 -8
- package/js/es-modules/modules/boost.src.js +300 -137
- package/js/es-modules/modules/broken-axis.src.js +169 -134
- package/js/es-modules/modules/bullet.src.js +2 -2
- package/js/es-modules/modules/data.src.js +8 -6
- package/js/es-modules/modules/draggable-points.src.js +2257 -0
- package/js/es-modules/modules/drilldown.src.js +4 -2
- package/js/es-modules/modules/export-data.src.js +11 -1
- package/js/es-modules/modules/exporting.src.js +62 -36
- package/js/es-modules/modules/funnel.src.js +5 -5
- package/js/es-modules/modules/histogram.src.js +30 -28
- package/js/es-modules/modules/item-series.src.js +36 -11
- package/js/es-modules/modules/keyboard-navigation.src.js +81 -44
- package/js/es-modules/modules/no-data-to-display.src.js +5 -5
- package/js/es-modules/modules/oldie.src.js +14 -9
- package/js/es-modules/modules/overlapping-datalabels.src.js +45 -21
- package/js/es-modules/modules/parallel-coordinates.src.js +4 -3
- package/js/es-modules/modules/pareto.src.js +1 -1
- package/js/es-modules/modules/sankey.src.js +23 -7
- package/js/es-modules/modules/series-label.src.js +6 -6
- package/js/es-modules/modules/solid-gauge.src.js +8 -5
- package/js/es-modules/modules/static-scale.src.js +67 -28
- package/js/es-modules/modules/streamgraph.src.js +4 -4
- package/js/es-modules/modules/sunburst.src.js +4 -4
- package/js/es-modules/modules/tilemap.src.js +231 -134
- package/js/es-modules/modules/treemap.src.js +29 -26
- package/js/es-modules/modules/variable-pie.src.js +3 -3
- package/js/es-modules/modules/variwide.src.js +36 -24
- package/js/es-modules/modules/vector.src.js +98 -28
- package/js/es-modules/modules/windbarb.src.js +4 -4
- package/js/es-modules/modules/wordcloud.src.js +133 -48
- package/js/es-modules/modules/xrange.src.js +256 -69
- package/js/es-modules/parts/AreaSeries.js +83 -50
- package/js/es-modules/parts/AreaSplineSeries.js +66 -29
- package/js/es-modules/parts/Axis.js +2089 -694
- package/js/es-modules/parts/BarSeries.js +70 -53
- package/js/es-modules/parts/CandlestickSeries.js +20 -10
- package/js/es-modules/parts/Chart.js +349 -157
- package/js/es-modules/parts/Color.js +74 -25
- package/js/es-modules/parts/ColumnSeries.js +241 -128
- package/js/es-modules/parts/DataGrouping.js +36 -3
- package/js/es-modules/parts/DataLabels.js +287 -116
- package/js/es-modules/parts/DateTimeAxis.js +27 -5
- package/js/es-modules/parts/Dynamics.js +236 -144
- package/js/es-modules/parts/FlagsSeries.js +49 -7
- package/js/es-modules/parts/Globals.js +4 -3
- package/js/es-modules/parts/Html.js +82 -16
- package/js/es-modules/parts/Interaction.js +187 -67
- package/js/es-modules/parts/Legend.js +181 -31
- package/js/es-modules/parts/LogarithmicAxis.js +36 -3
- package/js/es-modules/parts/MSPointer.js +31 -4
- package/js/es-modules/parts/Navigator.js +432 -162
- package/js/es-modules/parts/OHLCSeries.js +5 -5
- package/js/es-modules/parts/Options.js +855 -592
- package/js/es-modules/parts/OrdinalAxis.js +20 -6
- package/js/es-modules/parts/PieSeries.js +247 -134
- package/js/es-modules/parts/PlotBandSeries.experimental.js +2 -2
- package/js/es-modules/parts/PlotLineOrBand.js +671 -35
- package/js/es-modules/parts/Point.js +182 -70
- package/js/es-modules/parts/Pointer.js +263 -62
- package/js/es-modules/parts/RangeSelector.js +579 -91
- package/js/es-modules/parts/Responsive.js +82 -36
- package/js/es-modules/parts/ScatterSeries.js +58 -27
- package/js/es-modules/parts/ScrollablePlotArea.js +30 -9
- package/js/es-modules/parts/Scrollbar.js +201 -71
- package/js/es-modules/parts/Series.js +995 -745
- package/js/es-modules/parts/SplineSeries.js +53 -31
- package/js/es-modules/parts/Stacking.js +108 -7
- package/js/es-modules/parts/StockChart.js +26 -8
- package/js/es-modules/parts/SvgRenderer.js +1208 -598
- package/js/es-modules/parts/Tick.js +164 -30
- package/js/es-modules/parts/Time.js +171 -71
- package/js/es-modules/parts/Tooltip.js +276 -49
- package/js/es-modules/parts/TouchPointer.js +70 -3
- package/js/es-modules/parts/Utilities.js +1024 -429
- package/js/es-modules/parts-3d/Axis.js +4 -3
- package/js/es-modules/parts-3d/Chart.js +8 -9
- 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 +13 -10
- package/js/es-modules/parts-3d/Scatter.js +4 -4
- 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 +4 -5
- package/js/es-modules/parts-map/ColorSeriesMixin.js +3 -1
- package/js/es-modules/parts-map/GeoJSON.js +1 -1
- package/js/es-modules/parts-map/HeatmapSeries.js +124 -54
- package/js/es-modules/parts-map/Map.js +136 -47
- package/js/es-modules/parts-map/MapAxis.js +1 -1
- package/js/es-modules/parts-map/MapBubbleSeries.js +6 -5
- package/js/es-modules/parts-map/MapLineSeries.js +4 -4
- package/js/es-modules/parts-map/MapNavigation.js +50 -12
- package/js/es-modules/parts-map/MapPointSeries.js +3 -3
- package/js/es-modules/parts-map/MapPointer.js +1 -1
- package/js/es-modules/parts-map/MapSeries.js +5 -5
- package/js/es-modules/parts-more/AreaRangeSeries.js +82 -40
- package/js/es-modules/parts-more/AreaSplineRangeSeries.js +3 -3
- package/js/es-modules/parts-more/BoxPlotSeries.js +3 -3
- package/js/es-modules/parts-more/BubbleSeries.js +9 -4
- package/js/es-modules/parts-more/ColumnRangeSeries.js +3 -3
- package/js/es-modules/parts-more/ErrorBarSeries.js +6 -4
- package/js/es-modules/parts-more/GaugeSeries.js +3 -3
- package/js/es-modules/parts-more/Pane.js +3 -2
- package/js/es-modules/parts-more/Polar.js +1 -1
- package/js/es-modules/parts-more/PolygonSeries.js +3 -3
- package/js/es-modules/parts-more/RadialAxis.js +5 -4
- package/js/es-modules/parts-more/WaterfallSeries.js +9 -4
- 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 +75 -74
- package/js/highcharts-3d.js.map +1 -8
- package/js/highcharts-3d.src.js +39 -32
- 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 +63 -61
- package/js/highcharts-more.js.map +1 -8
- package/js/highcharts-more.src.js +135 -75
- package/js/highcharts.js +396 -387
- package/js/highcharts.js.map +1 -8
- package/js/highcharts.src.js +10765 -4659
- package/js/highmaps.js +419 -411
- package/js/highmaps.js.map +1 -8
- package/js/highmaps.src.js +10198 -4285
- package/js/highstock.js +529 -516
- package/js/highstock.js.map +1 -8
- package/js/highstock.src.js +12108 -4962
- package/js/indicators/accumulation-distribution.js +4 -3
- package/js/indicators/accumulation-distribution.js.map +1 -8
- package/js/indicators/accumulation-distribution.src.js +6 -2
- package/js/indicators/atr.js +4 -3
- package/js/indicators/atr.js.map +1 -8
- package/js/indicators/atr.src.js +6 -2
- package/js/indicators/bollinger-bands.js +7 -6
- package/js/indicators/bollinger-bands.js.map +1 -8
- package/js/indicators/bollinger-bands.src.js +7 -3
- package/js/indicators/cci.js +4 -3
- package/js/indicators/cci.js.map +1 -8
- package/js/indicators/cci.src.js +6 -2
- package/js/indicators/cmf.js +5 -4
- package/js/indicators/cmf.js.map +1 -8
- package/js/indicators/cmf.src.js +6 -2
- package/js/indicators/ema.js +4 -3
- package/js/indicators/ema.js.map +1 -8
- package/js/indicators/ema.src.js +6 -2
- package/js/indicators/ichimoku-kinko-hyo.js +10 -9
- package/js/indicators/ichimoku-kinko-hyo.js.map +1 -8
- package/js/indicators/ichimoku-kinko-hyo.src.js +6 -2
- package/js/indicators/indicators.js +6 -5
- package/js/indicators/indicators.js.map +1 -8
- package/js/indicators/indicators.src.js +34 -15
- package/js/indicators/macd.js +11 -10
- package/js/indicators/macd.js.map +1 -8
- package/js/indicators/macd.src.js +10 -6
- package/js/indicators/mfi.js +5 -3
- package/js/indicators/mfi.js.map +1 -8
- package/js/indicators/mfi.src.js +6 -2
- package/js/indicators/momentum.js +4 -3
- package/js/indicators/momentum.js.map +1 -8
- package/js/indicators/momentum.src.js +7 -3
- package/js/indicators/pivot-points.js +8 -7
- package/js/indicators/pivot-points.js.map +1 -8
- package/js/indicators/pivot-points.src.js +12 -3
- package/js/indicators/price-envelopes.js +7 -6
- package/js/indicators/price-envelopes.js.map +1 -8
- package/js/indicators/price-envelopes.src.js +7 -3
- package/js/indicators/psar.js +5 -4
- package/js/indicators/psar.js.map +1 -8
- package/js/indicators/psar.src.js +6 -2
- package/js/indicators/roc.js +4 -3
- package/js/indicators/roc.js.map +1 -8
- package/js/indicators/roc.src.js +6 -2
- package/js/indicators/rsi.js +4 -3
- package/js/indicators/rsi.js.map +1 -8
- package/js/indicators/rsi.src.js +6 -2
- package/js/indicators/stochastic.js +7 -5
- package/js/indicators/stochastic.js.map +1 -8
- package/js/indicators/stochastic.src.js +14 -8
- package/js/indicators/volume-by-price.js +13 -12
- package/js/indicators/volume-by-price.js.map +1 -8
- package/js/indicators/volume-by-price.src.js +6 -2
- package/js/indicators/vwap.js +4 -3
- package/js/indicators/vwap.js.map +1 -8
- package/js/indicators/vwap.src.js +6 -2
- package/js/indicators/wma.js +4 -3
- package/js/indicators/wma.js.map +1 -8
- package/js/indicators/wma.src.js +6 -2
- package/js/indicators/zigzag.js +5 -3
- package/js/indicators/zigzag.js.map +1 -8
- package/js/indicators/zigzag.src.js +6 -2
- package/js/modules/accessibility.js +52 -51
- package/js/modules/accessibility.js.map +1 -8
- package/js/modules/accessibility.src.js +86 -45
- package/js/modules/annotations.js +22 -21
- package/js/modules/annotations.js.map +1 -8
- package/js/modules/annotations.src.js +8 -4
- 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 +15 -13
- package/js/modules/boost-canvas.js.map +1 -8
- package/js/modules/boost-canvas.src.js +24 -9
- package/js/modules/boost.js +57 -52
- package/js/modules/boost.js.map +1 -8
- package/js/modules/boost.src.js +305 -138
- package/js/modules/broken-axis.js +12 -10
- package/js/modules/broken-axis.js.map +1 -8
- package/js/modules/broken-axis.src.js +175 -136
- package/js/modules/bullet.js +3 -2
- package/js/modules/bullet.js.map +1 -8
- package/js/modules/bullet.src.js +7 -3
- 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 +25 -24
- package/js/modules/data.js.map +1 -8
- package/js/modules/data.src.js +14 -8
- package/js/modules/drag-panes.js +9 -8
- package/js/modules/drag-panes.js.map +1 -8
- package/js/modules/drag-panes.src.js +5 -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 +20 -19
- package/js/modules/drilldown.js.map +1 -8
- package/js/modules/drilldown.src.js +9 -3
- package/js/modules/export-data.js +20 -19
- package/js/modules/export-data.js.map +1 -8
- package/js/modules/export-data.src.js +17 -3
- package/js/modules/exporting.js +24 -23
- package/js/modules/exporting.js.map +1 -8
- package/js/modules/exporting.src.js +68 -38
- package/js/modules/funnel.js +8 -6
- package/js/modules/funnel.js.map +1 -8
- package/js/modules/funnel.src.js +11 -7
- package/js/modules/gantt.js +81 -18
- package/js/modules/gantt.js.map +1 -8
- package/js/modules/gantt.src.js +5494 -372
- package/js/modules/grid-axis.js +16 -10
- package/js/modules/grid-axis.js.map +1 -8
- package/js/modules/grid-axis.src.js +735 -293
- package/js/modules/heatmap.js +22 -21
- package/js/modules/heatmap.js.map +1 -8
- package/js/modules/heatmap.src.js +137 -62
- package/js/modules/histogram-bellcurve.js +9 -8
- package/js/modules/histogram-bellcurve.js.map +1 -8
- package/js/modules/histogram-bellcurve.src.js +35 -29
- package/js/modules/item-series.js +6 -4
- package/js/modules/item-series.js.map +1 -8
- package/js/modules/item-series.src.js +42 -13
- package/js/modules/map.js +63 -62
- package/js/modules/map.js.map +1 -8
- package/js/modules/map.src.js +353 -145
- package/js/modules/no-data-to-display.js +5 -4
- package/js/modules/no-data-to-display.js.map +1 -8
- package/js/modules/no-data-to-display.src.js +10 -6
- package/js/modules/offline-exporting.js +14 -13
- package/js/modules/offline-exporting.js.map +1 -8
- package/js/modules/offline-exporting.src.js +6 -2
- package/js/modules/oldie.js +29 -27
- package/js/modules/oldie.js.map +1 -8
- package/js/modules/oldie.src.js +20 -11
- package/js/modules/overlapping-datalabels.js +4 -3
- package/js/modules/overlapping-datalabels.js.map +1 -8
- package/js/modules/overlapping-datalabels.src.js +6 -2
- package/js/modules/parallel-coordinates.js +10 -9
- package/js/modules/parallel-coordinates.js.map +1 -8
- package/js/modules/parallel-coordinates.src.js +9 -4
- package/js/modules/pareto.js +5 -4
- package/js/modules/pareto.js.map +1 -8
- package/js/modules/pareto.src.js +6 -2
- 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 +13 -12
- package/js/modules/pattern-fill.js.map +1 -8
- package/js/modules/pattern-fill.src.js +5 -1
- package/js/modules/sankey.js +13 -12
- package/js/modules/sankey.js.map +1 -8
- package/js/modules/sankey.src.js +29 -9
- package/js/modules/series-label.js +17 -15
- package/js/modules/series-label.js.map +1 -8
- package/js/modules/series-label.src.js +12 -8
- package/js/modules/solid-gauge.js +9 -8
- package/js/modules/solid-gauge.js.map +1 -8
- package/js/modules/solid-gauge.src.js +14 -7
- package/js/modules/static-scale.js +4 -3
- package/js/modules/static-scale.js.map +1 -8
- package/js/modules/static-scale.src.js +69 -26
- package/js/modules/stock.js +136 -132
- package/js/modules/stock.js.map +1 -8
- package/js/modules/stock.src.js +1543 -499
- package/js/modules/streamgraph.js +4 -3
- package/js/modules/streamgraph.js.map +1 -8
- package/js/modules/streamgraph.src.js +10 -6
- package/js/modules/sunburst.js +40 -39
- package/js/modules/sunburst.js.map +1 -8
- package/js/modules/sunburst.src.js +38 -31
- package/js/modules/tilemap.js +19 -18
- package/js/modules/tilemap.js.map +1 -8
- package/js/modules/tilemap.src.js +363 -190
- 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 +27 -26
- package/js/modules/treemap.js.map +1 -8
- package/js/modules/treemap.src.js +34 -27
- package/js/modules/variable-pie.js +8 -7
- package/js/modules/variable-pie.js.map +1 -8
- package/js/modules/variable-pie.src.js +8 -4
- package/js/modules/variwide.js +8 -7
- package/js/modules/variwide.js.map +1 -8
- package/js/modules/variwide.src.js +42 -26
- package/js/modules/vector.js +7 -6
- package/js/modules/vector.js.map +1 -8
- package/js/modules/vector.src.js +104 -30
- package/js/modules/windbarb.js +11 -10
- package/js/modules/windbarb.js.map +1 -8
- package/js/modules/windbarb.src.js +11 -7
- package/js/modules/wordcloud.js +18 -15
- package/js/modules/wordcloud.js.map +1 -8
- package/js/modules/wordcloud.src.js +142 -53
- package/js/modules/xrange.js +12 -10
- package/js/modules/xrange.js.map +1 -8
- package/js/modules/xrange.src.js +262 -71
- package/js/themes/avocado.js +3 -2
- package/js/themes/avocado.js.map +1 -8
- package/js/themes/avocado.src.js +5 -1
- package/js/themes/dark-blue.js +9 -8
- package/js/themes/dark-blue.js.map +1 -8
- package/js/themes/dark-blue.src.js +7 -3
- package/js/themes/dark-green.js +9 -8
- package/js/themes/dark-green.js.map +1 -8
- package/js/themes/dark-green.src.js +7 -3
- package/js/themes/dark-unica.js +9 -7
- package/js/themes/dark-unica.js.map +1 -8
- package/js/themes/dark-unica.src.js +7 -3
- package/js/themes/gray.js +10 -8
- package/js/themes/gray.js.map +1 -8
- package/js/themes/gray.src.js +7 -3
- package/js/themes/grid-light.js +5 -4
- package/js/themes/grid-light.js.map +1 -8
- package/js/themes/grid-light.src.js +7 -3
- package/js/themes/grid.js +6 -5
- package/js/themes/grid.js.map +1 -8
- package/js/themes/grid.src.js +7 -3
- package/js/themes/sand-signika.js +6 -5
- package/js/themes/sand-signika.js.map +1 -8
- package/js/themes/sand-signika.src.js +7 -3
- package/js/themes/skies.js +6 -5
- package/js/themes/skies.js.map +1 -8
- package/js/themes/skies.src.js +7 -3
- package/js/themes/sunset.js +3 -2
- package/js/themes/sunset.js.map +1 -8
- package/js/themes/sunset.src.js +5 -1
- package/modules/accessibility.js +53 -51
- package/modules/accessibility.js.map +1 -8
- package/modules/accessibility.src.js +86 -45
- package/modules/annotations.js +24 -22
- package/modules/annotations.js.map +1 -8
- package/modules/annotations.src.js +8 -4
- 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 +15 -13
- package/modules/boost-canvas.js.map +1 -8
- package/modules/boost-canvas.src.js +24 -9
- package/modules/boost.js +57 -52
- package/modules/boost.js.map +1 -8
- package/modules/boost.src.js +305 -138
- package/modules/broken-axis.js +12 -10
- package/modules/broken-axis.js.map +1 -8
- package/modules/broken-axis.src.js +175 -136
- package/modules/bullet.js +6 -5
- package/modules/bullet.js.map +1 -8
- package/modules/bullet.src.js +7 -3
- 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 +25 -24
- package/modules/data.js.map +1 -8
- package/modules/data.src.js +14 -8
- package/modules/drag-panes.js +9 -8
- package/modules/drag-panes.js.map +1 -8
- package/modules/drag-panes.src.js +5 -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 +16 -15
- package/modules/drilldown.js.map +1 -8
- package/modules/drilldown.src.js +9 -3
- package/modules/export-data.js +20 -19
- package/modules/export-data.js.map +1 -8
- package/modules/export-data.src.js +17 -3
- package/modules/exporting.js +23 -21
- package/modules/exporting.js.map +1 -8
- package/modules/exporting.src.js +68 -38
- package/modules/funnel.js +8 -7
- package/modules/funnel.js.map +1 -8
- package/modules/funnel.src.js +11 -7
- package/modules/gantt.js +84 -19
- package/modules/gantt.js.map +1 -8
- package/modules/gantt.src.js +5557 -379
- package/modules/grid-axis.js +17 -10
- package/modules/grid-axis.js.map +1 -8
- package/modules/grid-axis.src.js +736 -293
- package/modules/heatmap.js +22 -21
- package/modules/heatmap.js.map +1 -8
- package/modules/heatmap.src.js +139 -63
- package/modules/histogram-bellcurve.js +9 -8
- package/modules/histogram-bellcurve.js.map +1 -8
- package/modules/histogram-bellcurve.src.js +35 -29
- package/modules/item-series.js +6 -4
- package/modules/item-series.js.map +1 -8
- package/modules/item-series.src.js +42 -13
- package/modules/map.js +65 -64
- package/modules/map.js.map +1 -8
- package/modules/map.src.js +365 -152
- package/modules/no-data-to-display.js +5 -4
- package/modules/no-data-to-display.js.map +1 -8
- package/modules/no-data-to-display.src.js +10 -6
- package/modules/offline-exporting.js +14 -12
- package/modules/offline-exporting.js.map +1 -8
- package/modules/offline-exporting.src.js +6 -2
- package/modules/oldie.js +29 -27
- package/modules/oldie.js.map +1 -8
- package/modules/oldie.src.js +20 -11
- package/modules/overlapping-datalabels.js +4 -3
- package/modules/overlapping-datalabels.js.map +1 -8
- package/modules/overlapping-datalabels.src.js +6 -2
- package/modules/parallel-coordinates.js +10 -9
- package/modules/parallel-coordinates.js.map +1 -8
- package/modules/parallel-coordinates.src.js +9 -4
- package/modules/pareto.js +5 -4
- package/modules/pareto.js.map +1 -8
- package/modules/pareto.src.js +6 -2
- 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 +13 -12
- package/modules/pattern-fill.js.map +1 -8
- package/modules/pattern-fill.src.js +5 -1
- package/modules/sankey.js +13 -12
- package/modules/sankey.js.map +1 -8
- package/modules/sankey.src.js +34 -12
- package/modules/series-label.js +17 -15
- package/modules/series-label.js.map +1 -8
- package/modules/series-label.src.js +12 -8
- package/modules/solid-gauge.js +9 -8
- package/modules/solid-gauge.js.map +1 -8
- package/modules/solid-gauge.src.js +16 -9
- package/modules/static-scale.js +4 -3
- package/modules/static-scale.js.map +1 -8
- package/modules/static-scale.src.js +69 -26
- package/modules/stock.js +143 -139
- package/modules/stock.js.map +1 -8
- package/modules/stock.src.js +1701 -566
- package/modules/streamgraph.js +4 -3
- package/modules/streamgraph.js.map +1 -8
- package/modules/streamgraph.src.js +10 -6
- package/modules/sunburst.js +42 -41
- package/modules/sunburst.js.map +1 -8
- package/modules/sunburst.src.js +39 -32
- package/modules/tilemap.js +18 -17
- package/modules/tilemap.js.map +1 -8
- package/modules/tilemap.src.js +365 -191
- package/modules/treegrid.js +52 -0
- package/modules/treegrid.js.map +1 -0
- package/modules/treegrid.src.js +2797 -0
- package/modules/treemap.js +29 -28
- package/modules/treemap.js.map +1 -8
- package/modules/treemap.src.js +35 -28
- package/modules/variable-pie.js +8 -7
- package/modules/variable-pie.js.map +1 -8
- package/modules/variable-pie.src.js +8 -4
- package/modules/variwide.js +8 -7
- package/modules/variwide.js.map +1 -8
- package/modules/variwide.src.js +42 -26
- package/modules/vector.js +7 -6
- package/modules/vector.js.map +1 -8
- package/modules/vector.src.js +104 -30
- package/modules/windbarb.js +11 -10
- package/modules/windbarb.js.map +1 -8
- package/modules/windbarb.src.js +11 -7
- package/modules/wordcloud.js +18 -15
- package/modules/wordcloud.js.map +1 -8
- package/modules/wordcloud.src.js +142 -53
- package/modules/xrange.js +13 -11
- package/modules/xrange.js.map +1 -8
- package/modules/xrange.src.js +264 -80
- package/package.json +1 -1
- package/themes/avocado.js +3 -2
- package/themes/avocado.js.map +1 -8
- package/themes/avocado.src.js +5 -1
- package/themes/dark-blue.js +9 -8
- package/themes/dark-blue.js.map +1 -8
- package/themes/dark-blue.src.js +7 -3
- package/themes/dark-green.js +9 -8
- package/themes/dark-green.js.map +1 -8
- package/themes/dark-green.src.js +7 -3
- package/themes/dark-unica.js +9 -7
- package/themes/dark-unica.js.map +1 -8
- package/themes/dark-unica.src.js +7 -3
- package/themes/gray.js +10 -8
- package/themes/gray.js.map +1 -8
- package/themes/gray.src.js +7 -3
- package/themes/grid-light.js +5 -4
- package/themes/grid-light.js.map +1 -8
- package/themes/grid-light.src.js +7 -3
- package/themes/grid.js +6 -5
- package/themes/grid.js.map +1 -8
- package/themes/grid.src.js +7 -3
- package/themes/sand-signika.js +6 -5
- package/themes/sand-signika.js.map +1 -8
- package/themes/sand-signika.src.js +7 -3
- package/themes/skies.js +6 -5
- package/themes/skies.js.map +1 -8
- package/themes/skies.src.js +7 -3
- package/themes/sunset.js +3 -2
- package/themes/sunset.js.map +1 -8
- package/themes/sunset.src.js +5 -1
|
@@ -86,6 +86,29 @@ function stripTags(s) {
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
|
|
89
|
+
/**
|
|
90
|
+
* Get the index of a point in a series. This is needed when using e.g. data
|
|
91
|
+
* grouping.
|
|
92
|
+
*
|
|
93
|
+
* @param {Point} point The point to find index of.
|
|
94
|
+
* @return {number} The index in the series.points array of the point.
|
|
95
|
+
*/
|
|
96
|
+
function getPointIndex(point) {
|
|
97
|
+
var index = point.index,
|
|
98
|
+
points = point.series.points,
|
|
99
|
+
i = points.length;
|
|
100
|
+
if (points[index] !== point) {
|
|
101
|
+
while (i--) {
|
|
102
|
+
if (points[i] === point) {
|
|
103
|
+
return i;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
} else {
|
|
107
|
+
return index;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
|
|
89
112
|
/**
|
|
90
113
|
* Set default keyboard navigation options
|
|
91
114
|
*/
|
|
@@ -210,6 +233,7 @@ H.setOptions({
|
|
|
210
233
|
* navigation behavior with/without screen readers enabled.
|
|
211
234
|
*
|
|
212
235
|
* @type {String}
|
|
236
|
+
* @validvalue ["normal", "serialize"]
|
|
213
237
|
* @default normal
|
|
214
238
|
* @since 6.0.4
|
|
215
239
|
* @apioption accessibility.keyboardNavigation.mode
|
|
@@ -342,17 +366,25 @@ function fakeClickEvent(element) {
|
|
|
342
366
|
}
|
|
343
367
|
|
|
344
368
|
|
|
369
|
+
// Determine if a series should be skipped
|
|
370
|
+
function isSkipSeries(series) {
|
|
371
|
+
var a11yOptions = series.chart.options.accessibility;
|
|
372
|
+
return series.options.skipKeyboardNavigation ||
|
|
373
|
+
series.options.enableMouseTracking === false || // #8440
|
|
374
|
+
!series.visible ||
|
|
375
|
+
// Skip all points in a series where pointDescriptionThreshold is
|
|
376
|
+
// reached
|
|
377
|
+
(a11yOptions.pointDescriptionThreshold &&
|
|
378
|
+
a11yOptions.pointDescriptionThreshold <= series.points.length);
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
|
|
345
382
|
// Determine if a point should be skipped
|
|
346
383
|
function isSkipPoint(point) {
|
|
347
384
|
var a11yOptions = point.series.chart.options.accessibility;
|
|
348
385
|
return point.isNull && a11yOptions.keyboardNavigation.skipNullPoints ||
|
|
349
|
-
point.series.options.skipKeyboardNavigation ||
|
|
350
|
-
!point.series.visible ||
|
|
351
386
|
point.visible === false ||
|
|
352
|
-
|
|
353
|
-
// reached
|
|
354
|
-
(a11yOptions.pointDescriptionThreshold &&
|
|
355
|
-
a11yOptions.pointDescriptionThreshold <= point.series.points.length);
|
|
387
|
+
isSkipSeries(point.series);
|
|
356
388
|
}
|
|
357
389
|
|
|
358
390
|
|
|
@@ -470,7 +502,7 @@ H.Chart.prototype.highlightAdjacentPoint = function (next) {
|
|
|
470
502
|
var chart = this,
|
|
471
503
|
series = chart.series,
|
|
472
504
|
curPoint = chart.highlightedPoint,
|
|
473
|
-
curPointIndex = curPoint && curPoint
|
|
505
|
+
curPointIndex = curPoint && getPointIndex(curPoint) || 0,
|
|
474
506
|
curPoints = curPoint && curPoint.series.points,
|
|
475
507
|
lastSeries = chart.series && chart.series[chart.series.length - 1],
|
|
476
508
|
lastPoint = lastSeries && lastSeries.points &&
|
|
@@ -489,23 +521,13 @@ H.Chart.prototype.highlightAdjacentPoint = function (next) {
|
|
|
489
521
|
newPoint = next ? series[0].points[0] : lastPoint;
|
|
490
522
|
} else {
|
|
491
523
|
// We have a highlighted point.
|
|
492
|
-
// Find index of current point in series.points array. Necessary for
|
|
493
|
-
// dataGrouping (and maybe zoom?)
|
|
494
|
-
if (curPoints[curPointIndex] !== curPoint) {
|
|
495
|
-
for (var i = 0; i < curPoints.length; ++i) {
|
|
496
|
-
if (curPoints[i] === curPoint) {
|
|
497
|
-
curPointIndex = i;
|
|
498
|
-
break;
|
|
499
|
-
}
|
|
500
|
-
}
|
|
501
|
-
}
|
|
502
|
-
|
|
503
524
|
// Grab next/prev point & series
|
|
504
525
|
newSeries = series[curPoint.series.index + (next ? 1 : -1)];
|
|
505
|
-
newPoint = curPoints[curPointIndex + (next ? 1 : -1)]
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
526
|
+
newPoint = curPoints[curPointIndex + (next ? 1 : -1)];
|
|
527
|
+
if (!newPoint && newSeries) {
|
|
528
|
+
// Done with this series, try next one
|
|
529
|
+
newPoint = newSeries.points[next ? 0 : newSeries.points.length - 1];
|
|
530
|
+
}
|
|
509
531
|
|
|
510
532
|
// If there is no adjacent point, we return false
|
|
511
533
|
if (!newPoint) {
|
|
@@ -513,9 +535,20 @@ H.Chart.prototype.highlightAdjacentPoint = function (next) {
|
|
|
513
535
|
}
|
|
514
536
|
}
|
|
515
537
|
|
|
516
|
-
// Recursively skip
|
|
538
|
+
// Recursively skip points
|
|
517
539
|
if (isSkipPoint(newPoint)) {
|
|
518
|
-
|
|
540
|
+
// If we skip this whole series, move to the end of the series before we
|
|
541
|
+
// recurse, just to optimize
|
|
542
|
+
newSeries = newPoint.series;
|
|
543
|
+
if (isSkipSeries(newSeries)) {
|
|
544
|
+
chart.highlightedPoint = next ?
|
|
545
|
+
newSeries.points[newSeries.points.length - 1] :
|
|
546
|
+
newSeries.points[0];
|
|
547
|
+
} else {
|
|
548
|
+
// Otherwise, just move one point
|
|
549
|
+
chart.highlightedPoint = newPoint;
|
|
550
|
+
}
|
|
551
|
+
// Retry
|
|
519
552
|
return chart.highlightAdjacentPoint(next);
|
|
520
553
|
}
|
|
521
554
|
|
|
@@ -529,7 +562,9 @@ H.Chart.prototype.highlightAdjacentPoint = function (next) {
|
|
|
529
562
|
// use that as starting point.
|
|
530
563
|
H.Series.prototype.highlightFirstValidPoint = function () {
|
|
531
564
|
var curPoint = this.chart.highlightedPoint,
|
|
532
|
-
start = (curPoint && curPoint.series) === this ?
|
|
565
|
+
start = (curPoint && curPoint.series) === this ?
|
|
566
|
+
getPointIndex(curPoint) :
|
|
567
|
+
0,
|
|
533
568
|
points = this.points;
|
|
534
569
|
|
|
535
570
|
if (points) {
|
|
@@ -583,7 +618,7 @@ H.Chart.prototype.highlightAdjacentSeries = function (down) {
|
|
|
583
618
|
}
|
|
584
619
|
|
|
585
620
|
// New series and point exists, but we might want to skip it
|
|
586
|
-
if (
|
|
621
|
+
if (isSkipSeries(newSeries)) {
|
|
587
622
|
// Skip the series
|
|
588
623
|
newPoint.highlight();
|
|
589
624
|
adjacentNewPoint = chart.highlightAdjacentSeries(down); // Try recurse
|
|
@@ -612,6 +647,9 @@ H.Chart.prototype.highlightAdjacentPointVertical = function (down) {
|
|
|
612
647
|
return false;
|
|
613
648
|
}
|
|
614
649
|
each(this.series, function (series) {
|
|
650
|
+
if (isSkipSeries(series)) {
|
|
651
|
+
return;
|
|
652
|
+
}
|
|
615
653
|
each(series.points, function (point) {
|
|
616
654
|
if (point.plotY === undefined || point.plotX === undefined ||
|
|
617
655
|
point === curPoint) {
|
|
@@ -657,23 +695,20 @@ H.Chart.prototype.showExportMenu = function () {
|
|
|
657
695
|
|
|
658
696
|
// Hide export menu
|
|
659
697
|
H.Chart.prototype.hideExportMenu = function () {
|
|
660
|
-
var
|
|
661
|
-
|
|
698
|
+
var chart = this,
|
|
699
|
+
exportList = chart.exportDivElements;
|
|
700
|
+
if (exportList && chart.exportContextMenu) {
|
|
701
|
+
// Reset hover states etc.
|
|
662
702
|
each(exportList, function (el) {
|
|
663
|
-
|
|
703
|
+
if (el.className === 'highcharts-menu-item' && el.onmouseout) {
|
|
704
|
+
el.onmouseout();
|
|
705
|
+
}
|
|
664
706
|
});
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
}
|
|
671
|
-
this.highlightedExportItem = 0;
|
|
672
|
-
if (hasSVGFocusSupport) {
|
|
673
|
-
// Only focus if we can set focus back to the elements after
|
|
674
|
-
// destroying the menu (#7422)
|
|
675
|
-
this.renderTo.focus();
|
|
676
|
-
}
|
|
707
|
+
chart.highlightedExportItem = 0;
|
|
708
|
+
// Hide the menu div
|
|
709
|
+
chart.exportContextMenu.hideMenu();
|
|
710
|
+
// Make sure the chart has focus and can capture keyboard events
|
|
711
|
+
chart.container.focus();
|
|
677
712
|
}
|
|
678
713
|
};
|
|
679
714
|
|
|
@@ -1120,10 +1155,12 @@ H.Chart.prototype.addKeyboardNavigationModules = function () {
|
|
|
1120
1155
|
}],
|
|
1121
1156
|
// Enter/Spacebar
|
|
1122
1157
|
[[13, 32], function () {
|
|
1123
|
-
|
|
1124
|
-
chart.legend.allItems[
|
|
1158
|
+
var legendElement = chart.legend.allItems[
|
|
1125
1159
|
chart.highlightedLegendItemIx
|
|
1126
|
-
].legendItem.element
|
|
1160
|
+
].legendItem.element;
|
|
1161
|
+
fakeClickEvent(
|
|
1162
|
+
!chart.legend.options.useHTML ? // #8561
|
|
1163
|
+
legendElement.parentNode : legendElement
|
|
1127
1164
|
);
|
|
1128
1165
|
}]
|
|
1129
1166
|
], {
|
|
@@ -55,7 +55,7 @@ defaultOptions.noData = {
|
|
|
55
55
|
*
|
|
56
56
|
* @type {Object}
|
|
57
57
|
* @since 3.0.8
|
|
58
|
-
* @product highcharts highstock
|
|
58
|
+
* @product highcharts highstock gantt
|
|
59
59
|
* @apioption noData.attr
|
|
60
60
|
*/
|
|
61
61
|
|
|
@@ -66,7 +66,7 @@ defaultOptions.noData = {
|
|
|
66
66
|
* @type {Boolean}
|
|
67
67
|
* @default false
|
|
68
68
|
* @since 4.1.10
|
|
69
|
-
* @product highcharts highstock
|
|
69
|
+
* @product highcharts highstock gantt
|
|
70
70
|
* @apioption noData.useHTML
|
|
71
71
|
*/
|
|
72
72
|
|
|
@@ -84,7 +84,7 @@ defaultOptions.noData = {
|
|
|
84
84
|
*
|
|
85
85
|
* @type {Number}
|
|
86
86
|
* @default 0
|
|
87
|
-
* @product highcharts highstock
|
|
87
|
+
* @product highcharts highstock gantt
|
|
88
88
|
*/
|
|
89
89
|
x: 0,
|
|
90
90
|
|
|
@@ -93,7 +93,7 @@ defaultOptions.noData = {
|
|
|
93
93
|
*
|
|
94
94
|
* @type {Number}
|
|
95
95
|
* @default 0
|
|
96
|
-
* @product highcharts highstock
|
|
96
|
+
* @product highcharts highstock gantt
|
|
97
97
|
*/
|
|
98
98
|
y: 0,
|
|
99
99
|
|
|
@@ -112,7 +112,7 @@ defaultOptions.noData = {
|
|
|
112
112
|
* @validvalue ["top", "middle", "bottom"]
|
|
113
113
|
* @type {String}
|
|
114
114
|
* @default middle
|
|
115
|
-
* @product highcharts highstock
|
|
115
|
+
* @product highcharts highstock gantt
|
|
116
116
|
*/
|
|
117
117
|
verticalAlign: 'middle'
|
|
118
118
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* (c) 2010-
|
|
2
|
+
* (c) 2010-2018 Torstein Honsi
|
|
3
3
|
*
|
|
4
4
|
* Support for old IE browsers (6, 7 and 8) in Highcharts v6+.
|
|
5
5
|
*
|
|
@@ -97,7 +97,10 @@ if (!Array.prototype.forEach) {
|
|
|
97
97
|
var i = 0,
|
|
98
98
|
len = this.length;
|
|
99
99
|
for (; i < len; i++) {
|
|
100
|
-
if (
|
|
100
|
+
if (
|
|
101
|
+
this[i] !== undefined && // added check
|
|
102
|
+
fn.call(ctx, this[i], i, this) === false
|
|
103
|
+
) {
|
|
101
104
|
return i;
|
|
102
105
|
}
|
|
103
106
|
}
|
|
@@ -105,15 +108,16 @@ if (!Array.prototype.forEach) {
|
|
|
105
108
|
}
|
|
106
109
|
|
|
107
110
|
if (!Array.prototype.indexOf) {
|
|
108
|
-
H.indexOfPolyfill = function (
|
|
109
|
-
var
|
|
110
|
-
|
|
111
|
+
H.indexOfPolyfill = function (member, fromIndex) {
|
|
112
|
+
var arr = this, // #8874
|
|
113
|
+
len,
|
|
114
|
+
i = fromIndex || 0; // #8346
|
|
111
115
|
|
|
112
116
|
if (arr) {
|
|
113
117
|
len = arr.length;
|
|
114
118
|
|
|
115
119
|
for (; i < len; i++) {
|
|
116
|
-
if (arr[i] ===
|
|
120
|
+
if (arr[i] === member) {
|
|
117
121
|
return i;
|
|
118
122
|
}
|
|
119
123
|
}
|
|
@@ -140,15 +144,16 @@ if (!Array.prototype.filter) {
|
|
|
140
144
|
}
|
|
141
145
|
|
|
142
146
|
if (!Array.prototype.some) {
|
|
143
|
-
H.
|
|
147
|
+
H.somePolyfill = function (fn, ctx) { // legacy
|
|
144
148
|
var i = 0,
|
|
145
149
|
len = this.length;
|
|
146
150
|
|
|
147
151
|
for (; i < len; i++) {
|
|
148
152
|
if (fn.call(ctx, this[i], i, this) === true) {
|
|
149
|
-
return;
|
|
153
|
+
return true;
|
|
150
154
|
}
|
|
151
155
|
}
|
|
156
|
+
return false;
|
|
152
157
|
};
|
|
153
158
|
}
|
|
154
159
|
|
|
@@ -415,7 +420,7 @@ if (!svg) {
|
|
|
415
420
|
// Firefox 3.5+ on user request. FF3.5+ has support for CSS3
|
|
416
421
|
// transform. The getBBox method also needs to be updated to
|
|
417
422
|
// compensate for the rotation, like it currently does for SVG.
|
|
418
|
-
// Test case:
|
|
423
|
+
// Test case: https://jsfiddle.net/highcharts/Ybt44/
|
|
419
424
|
|
|
420
425
|
var rotation = this.rotation,
|
|
421
426
|
costheta = Math.cos(rotation * deg2rad),
|
|
@@ -1,18 +1,23 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* (c) 2009-
|
|
2
|
+
* (c) 2009-2018 Torstein Honsi
|
|
3
3
|
*
|
|
4
4
|
* License: www.highcharts.com/license
|
|
5
5
|
*/
|
|
6
|
+
|
|
6
7
|
'use strict';
|
|
8
|
+
|
|
7
9
|
import H from '../parts/Globals.js';
|
|
8
10
|
import '../parts/Utilities.js';
|
|
9
11
|
import '../parts/Chart.js';
|
|
10
|
-
|
|
12
|
+
|
|
13
|
+
/*
|
|
11
14
|
* Highcharts module to hide overlapping data labels. This module is included in
|
|
12
15
|
* Highcharts.
|
|
13
16
|
*/
|
|
17
|
+
|
|
14
18
|
var Chart = H.Chart,
|
|
15
19
|
each = H.each,
|
|
20
|
+
isArray = H.isArray,
|
|
16
21
|
objectEach = H.objectEach,
|
|
17
22
|
pick = H.pick,
|
|
18
23
|
addEvent = H.addEvent;
|
|
@@ -22,7 +27,6 @@ var Chart = H.Chart,
|
|
|
22
27
|
// inside the columns.
|
|
23
28
|
addEvent(Chart, 'render', function collectAndHide() {
|
|
24
29
|
var labels = [];
|
|
25
|
-
|
|
26
30
|
// Consider external label collectors
|
|
27
31
|
each(this.labelCollectors || [], function (collector) {
|
|
28
32
|
labels = labels.concat(collector());
|
|
@@ -42,25 +46,32 @@ addEvent(Chart, 'render', function collectAndHide() {
|
|
|
42
46
|
});
|
|
43
47
|
|
|
44
48
|
each(this.series || [], function (series) {
|
|
45
|
-
var dlOptions = series.options.dataLabels
|
|
46
|
-
// Range series have two collections
|
|
47
|
-
collections = series.dataLabelCollections || ['dataLabel'];
|
|
49
|
+
var dlOptions = series.options.dataLabels;
|
|
48
50
|
|
|
49
51
|
if (
|
|
50
|
-
|
|
51
|
-
!dlOptions.
|
|
52
|
-
series.visible
|
|
52
|
+
series.visible &&
|
|
53
|
+
!(dlOptions.enabled === false && !series._hasPointLabels)
|
|
53
54
|
) { // #3866
|
|
54
|
-
each(
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
point
|
|
55
|
+
each(series.points, function (point) {
|
|
56
|
+
if (point.visible) {
|
|
57
|
+
var dataLabels = (
|
|
58
|
+
isArray(point.dataLabels) ?
|
|
59
|
+
point.dataLabels :
|
|
60
|
+
(point.dataLabel ? [point.dataLabel] : [])
|
|
61
|
+
);
|
|
62
|
+
each(dataLabels, function (label) {
|
|
63
|
+
var options = label.options;
|
|
64
|
+
label.labelrank = pick(
|
|
65
|
+
options.labelrank,
|
|
58
66
|
point.labelrank,
|
|
59
67
|
point.shapeArgs && point.shapeArgs.height
|
|
60
68
|
); // #4118
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
69
|
+
|
|
70
|
+
if (!options.allowOverlap) {
|
|
71
|
+
labels.push(label);
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
}
|
|
64
75
|
});
|
|
65
76
|
}
|
|
66
77
|
});
|
|
@@ -71,10 +82,16 @@ addEvent(Chart, 'render', function collectAndHide() {
|
|
|
71
82
|
/**
|
|
72
83
|
* Hide overlapping labels. Labels are moved and faded in and out on zoom to
|
|
73
84
|
* provide a smooth visual imression.
|
|
85
|
+
*
|
|
86
|
+
* @private
|
|
87
|
+
* @function Highcharts.Chart#hideOverlappingLabels
|
|
88
|
+
*
|
|
89
|
+
* @param {Array<Highcharts.SVGElement>} labels
|
|
74
90
|
*/
|
|
75
91
|
Chart.prototype.hideOverlappingLabels = function (labels) {
|
|
76
92
|
|
|
77
93
|
var len = labels.length,
|
|
94
|
+
ren = this.renderer,
|
|
78
95
|
label,
|
|
79
96
|
i,
|
|
80
97
|
j,
|
|
@@ -101,7 +118,8 @@ Chart.prototype.hideOverlappingLabels = function (labels) {
|
|
|
101
118
|
parent,
|
|
102
119
|
bBox,
|
|
103
120
|
// Substract the padding if no background or border (#4333)
|
|
104
|
-
padding =
|
|
121
|
+
padding = label.box ? 0 : (label.padding || 0),
|
|
122
|
+
lineHeightCorrection = 0;
|
|
105
123
|
|
|
106
124
|
if (
|
|
107
125
|
label &&
|
|
@@ -118,12 +136,18 @@ Chart.prototype.hideOverlappingLabels = function (labels) {
|
|
|
118
136
|
bBox = label.getBBox();
|
|
119
137
|
label.width = bBox.width;
|
|
120
138
|
label.height = bBox.height;
|
|
139
|
+
|
|
140
|
+
// Labels positions are computed from top left corner, so
|
|
141
|
+
// we need to substract the text height from text nodes too.
|
|
142
|
+
lineHeightCorrection = ren
|
|
143
|
+
.fontMetrics(null, label.element).h;
|
|
121
144
|
}
|
|
122
145
|
return {
|
|
123
|
-
x: pos.x + (parent.translateX || 0),
|
|
124
|
-
y: pos.y + (parent.translateY || 0)
|
|
125
|
-
|
|
126
|
-
|
|
146
|
+
x: pos.x + (parent.translateX || 0) + padding,
|
|
147
|
+
y: pos.y + (parent.translateY || 0) + padding -
|
|
148
|
+
lineHeightCorrection,
|
|
149
|
+
width: label.width - 2 * padding,
|
|
150
|
+
height: label.height - 2 * padding
|
|
127
151
|
};
|
|
128
152
|
|
|
129
153
|
}
|
|
@@ -82,7 +82,7 @@ var defaultParallelOptions = {
|
|
|
82
82
|
* offset: 0
|
|
83
83
|
* }</pre>
|
|
84
84
|
*
|
|
85
|
-
* @extends
|
|
85
|
+
* @extends yAxis
|
|
86
86
|
* @excluding alternateGridColor,breaks,id,gridLineColor,gridLineDashStyle,
|
|
87
87
|
* gridLineWidth,minorGridLineColor,minorGridLineDashStyle,
|
|
88
88
|
* minorGridLineWidth,plotBands,plotLines,angle,
|
|
@@ -459,6 +459,7 @@ function addFormattedValue(proceed) {
|
|
|
459
459
|
yAxisOptions.tooltipValueFormat,
|
|
460
460
|
yAxisOptions.labels.format
|
|
461
461
|
);
|
|
462
|
+
|
|
462
463
|
if (labelFormat) {
|
|
463
464
|
formattedValue = H.format(
|
|
464
465
|
labelFormat,
|
|
@@ -470,9 +471,9 @@ function addFormattedValue(proceed) {
|
|
|
470
471
|
);
|
|
471
472
|
} else if (yAxis.isDatetimeAxis) {
|
|
472
473
|
formattedValue = chart.time.dateFormat(
|
|
473
|
-
yAxisOptions.dateTimeLabelFormats[
|
|
474
|
+
chart.time.resolveDTLFormat(yAxisOptions.dateTimeLabelFormats[
|
|
474
475
|
yAxis.tickPositions.info.unitName
|
|
475
|
-
],
|
|
476
|
+
]).main,
|
|
476
477
|
this.y
|
|
477
478
|
);
|
|
478
479
|
} else if (yAxisOptions.categories) {
|
|
@@ -28,7 +28,7 @@ var each = H.each,
|
|
|
28
28
|
* where individual values are represented in descending order by bars,
|
|
29
29
|
* and the cumulative total is represented by the line.
|
|
30
30
|
*
|
|
31
|
-
* @extends
|
|
31
|
+
* @extends plotOptions.line
|
|
32
32
|
* @product highcharts
|
|
33
33
|
* @sample {highcharts} highcharts/demo/pareto/
|
|
34
34
|
* Pareto diagram
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Sankey diagram module
|
|
3
3
|
*
|
|
4
|
-
* (c) 2010-
|
|
4
|
+
* (c) 2010-2018 Torstein Honsi
|
|
5
5
|
*
|
|
6
6
|
* License: www.highcharts.com/license
|
|
7
7
|
*/
|
|
@@ -57,7 +57,7 @@ seriesType('sankey', 'column', {
|
|
|
57
57
|
backgroundColor: 'none', // enable padding
|
|
58
58
|
crop: false,
|
|
59
59
|
/**
|
|
60
|
-
* The [format string](
|
|
60
|
+
* The [format string](https://www.highcharts.com/docs/chart-
|
|
61
61
|
* concepts/labels-and-string-formatting) specifying what to show
|
|
62
62
|
* for _nodes_ in the sankey diagram. By default the
|
|
63
63
|
* `nodeFormatter` returns `{point.name}`.
|
|
@@ -77,7 +77,7 @@ seriesType('sankey', 'column', {
|
|
|
77
77
|
return this.point.name;
|
|
78
78
|
},
|
|
79
79
|
/**
|
|
80
|
-
* The [format string](
|
|
80
|
+
* The [format string](https://www.highcharts.com/docs/chart-
|
|
81
81
|
* concepts/labels-and-string-formatting) specifying what to show for
|
|
82
82
|
* _links_ in the sankey diagram. Defaults to an empty string returned
|
|
83
83
|
* from the `formatter`, in effect disabling the labels.
|
|
@@ -141,7 +141,7 @@ seriesType('sankey', 'column', {
|
|
|
141
141
|
|
|
142
142
|
pointFormat: '{point.fromNode.name} \u2192 {point.toNode.name}: <b>{point.weight}</b><br/>',
|
|
143
143
|
/**
|
|
144
|
-
* The [format string](
|
|
144
|
+
* The [format string](https://www.highcharts.com/docs/chart-
|
|
145
145
|
* concepts/labels-and-string-formatting) specifying what to
|
|
146
146
|
* show for _nodes_ in tooltip
|
|
147
147
|
* of a sankey diagram series, as opposed to links.
|
|
@@ -310,25 +310,36 @@ seriesType('sankey', 'column', {
|
|
|
310
310
|
columns[node.column].push(node);
|
|
311
311
|
|
|
312
312
|
}, this);
|
|
313
|
+
|
|
314
|
+
// Fill in empty columns (#8865)
|
|
315
|
+
for (var i = 0; i < columns.length; i++) {
|
|
316
|
+
if (columns[i] === undefined) {
|
|
317
|
+
columns[i] = this.createNodeColumn();
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
|
|
313
321
|
return columns;
|
|
314
322
|
},
|
|
315
323
|
|
|
324
|
+
|
|
316
325
|
|
|
317
326
|
/**
|
|
318
327
|
* Return the presentational attributes.
|
|
319
328
|
*/
|
|
320
329
|
pointAttribs: function (point, state) {
|
|
321
330
|
|
|
322
|
-
var opacity = this.options.linkOpacity
|
|
331
|
+
var opacity = this.options.linkOpacity,
|
|
332
|
+
color = point.color;
|
|
323
333
|
|
|
324
334
|
if (state) {
|
|
325
335
|
opacity = this.options.states[state].linkOpacity || opacity;
|
|
336
|
+
color = this.options.states[state].color || point.color;
|
|
326
337
|
}
|
|
327
338
|
|
|
328
339
|
return {
|
|
329
340
|
fill: point.isNode ?
|
|
330
|
-
|
|
331
|
-
H.color(
|
|
341
|
+
color :
|
|
342
|
+
H.color(color).setOpacity(opacity).get()
|
|
332
343
|
};
|
|
333
344
|
},
|
|
334
345
|
|
|
@@ -588,7 +599,14 @@ seriesType('sankey', 'column', {
|
|
|
588
599
|
H.seriesTypes.column.prototype.render.call(this);
|
|
589
600
|
this.points = points;
|
|
590
601
|
},
|
|
591
|
-
animate: H.Series.prototype.animate
|
|
602
|
+
animate: H.Series.prototype.animate,
|
|
603
|
+
|
|
604
|
+
|
|
605
|
+
destroy: function () {
|
|
606
|
+
// Nodes must also be destroyed (#8682)
|
|
607
|
+
this.data = this.points.concat(this.nodes);
|
|
608
|
+
H.Series.prototype.destroy.call(this);
|
|
609
|
+
}
|
|
592
610
|
}, {
|
|
593
611
|
getClassName: function () {
|
|
594
612
|
return 'highcharts-link ' + Point.prototype.getClassName.call(this);
|
|
@@ -697,8 +715,8 @@ seriesType('sankey', 'column', {
|
|
|
697
715
|
* An array of data points for the series. For the `sankey` series type,
|
|
698
716
|
* points can be given in the following way:
|
|
699
717
|
*
|
|
700
|
-
* An array of objects with named values. The
|
|
701
|
-
*
|
|
718
|
+
* An array of objects with named values. The following snippet shows only a
|
|
719
|
+
* few settings, see the complete options set below. If the total number of data
|
|
702
720
|
* points exceeds the series' [turboThreshold](#series.area.turboThreshold),
|
|
703
721
|
* this option is not available.
|
|
704
722
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* (c) 2009-
|
|
2
|
+
* (c) 2009-2018 Torstein Honsi
|
|
3
3
|
*
|
|
4
4
|
* License: www.highcharts.com/license
|
|
5
5
|
*/
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
* - avoid data labels, when data labels above, show series label below.
|
|
12
12
|
* - add more options (connector, format, formatter)
|
|
13
13
|
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
14
|
+
* https://jsfiddle.net/highcharts/L2u9rpwr/
|
|
15
|
+
* https://jsfiddle.net/highcharts/y5A37/
|
|
16
|
+
* https://jsfiddle.net/highcharts/264Nm/
|
|
17
|
+
* https://jsfiddle.net/highcharts/y5A37/
|
|
18
18
|
*/
|
|
19
19
|
|
|
20
20
|
'use strict';
|
|
@@ -57,7 +57,7 @@ H.setOptions({
|
|
|
57
57
|
* @sample highcharts/series-label/stock-chart
|
|
58
58
|
* Stock chart
|
|
59
59
|
* @since 6.0.0
|
|
60
|
-
* @product highcharts highstock
|
|
60
|
+
* @product highcharts highstock gantt
|
|
61
61
|
*/
|
|
62
62
|
label: {
|
|
63
63
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Solid angular gauge module
|
|
3
3
|
*
|
|
4
|
-
* (c) 2010-
|
|
4
|
+
* (c) 2010-2018 Torstein Honsi
|
|
5
5
|
*
|
|
6
6
|
* License: www.highcharts.com/license
|
|
7
7
|
*/
|
|
@@ -339,8 +339,7 @@ H.seriesType('solidgauge', 'gauge', solidGaugeOptions, {
|
|
|
339
339
|
shapeArgs.d = d; // animate alters it
|
|
340
340
|
}
|
|
341
341
|
} else {
|
|
342
|
-
point.graphic = renderer.arc(shapeArgs)
|
|
343
|
-
.addClass(point.getClassName(), true)
|
|
342
|
+
point.graphic = graphic = renderer.arc(shapeArgs)
|
|
344
343
|
.attr({
|
|
345
344
|
fill: toColor,
|
|
346
345
|
'sweep-flag': 0
|
|
@@ -349,17 +348,21 @@ H.seriesType('solidgauge', 'gauge', solidGaugeOptions, {
|
|
|
349
348
|
|
|
350
349
|
|
|
351
350
|
if (options.linecap !== 'square') {
|
|
352
|
-
|
|
351
|
+
graphic.attr({
|
|
353
352
|
'stroke-linecap': 'round',
|
|
354
353
|
'stroke-linejoin': 'round'
|
|
355
354
|
});
|
|
356
355
|
}
|
|
357
|
-
|
|
356
|
+
graphic.attr({
|
|
358
357
|
stroke: options.borderColor || 'none',
|
|
359
358
|
'stroke-width': options.borderWidth || 0
|
|
360
359
|
});
|
|
361
360
|
|
|
362
361
|
}
|
|
362
|
+
|
|
363
|
+
if (graphic) {
|
|
364
|
+
graphic.addClass(point.getClassName(), true);
|
|
365
|
+
}
|
|
363
366
|
});
|
|
364
367
|
},
|
|
365
368
|
|
|
@@ -402,8 +405,8 @@ H.seriesType('solidgauge', 'gauge', solidGaugeOptions, {
|
|
|
402
405
|
* data: [0, 5, 3, 5]
|
|
403
406
|
* ```
|
|
404
407
|
*
|
|
405
|
-
* 2. An array of objects with named values. The
|
|
406
|
-
*
|
|
408
|
+
* 2. An array of objects with named values. The following snippet shows only a
|
|
409
|
+
* few settings, see the complete options set below. If the total number of data
|
|
407
410
|
* points exceeds the series' [turboThreshold](
|
|
408
411
|
* #series.solidgauge.turboThreshold), this option is not available.
|
|
409
412
|
*
|