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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Highcharts JS v6.
|
|
2
|
+
* @license Highcharts JS v6.2.0 (2018-10-17)
|
|
3
3
|
* Tilemap module
|
|
4
4
|
*
|
|
5
5
|
* (c) 2010-2017 Highsoft AS
|
|
@@ -10,13 +10,17 @@
|
|
|
10
10
|
(function (factory) {
|
|
11
11
|
if (typeof module === 'object' && module.exports) {
|
|
12
12
|
module.exports = factory;
|
|
13
|
+
} else if (typeof define === 'function' && define.amd) {
|
|
14
|
+
define(function () {
|
|
15
|
+
return factory;
|
|
16
|
+
});
|
|
13
17
|
} else {
|
|
14
18
|
factory(Highcharts);
|
|
15
19
|
}
|
|
16
20
|
}(function (Highcharts) {
|
|
17
21
|
(function (H) {
|
|
18
22
|
/**
|
|
19
|
-
* (c) 2010-
|
|
23
|
+
* (c) 2010-2018 Torstein Honsi
|
|
20
24
|
*
|
|
21
25
|
* License: www.highcharts.com/license
|
|
22
26
|
*/
|
|
@@ -49,6 +53,8 @@
|
|
|
49
53
|
var point = this,
|
|
50
54
|
method = vis ? 'show' : 'hide';
|
|
51
55
|
|
|
56
|
+
point.visible = Boolean(vis);
|
|
57
|
+
|
|
52
58
|
// Show and hide associated elements
|
|
53
59
|
each(['graphic', 'dataLabel'], function (key) {
|
|
54
60
|
if (point[key]) {
|
|
@@ -121,10 +127,13 @@
|
|
|
121
127
|
}(Highcharts));
|
|
122
128
|
(function (H) {
|
|
123
129
|
/**
|
|
124
|
-
* (c) 2010-
|
|
130
|
+
* (c) 2010-2018 Torstein Honsi
|
|
125
131
|
*
|
|
126
132
|
* License: www.highcharts.com/license
|
|
127
133
|
*/
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
128
137
|
var colorPointMixin = H.colorPointMixin,
|
|
129
138
|
colorSeriesMixin = H.colorSeriesMixin,
|
|
130
139
|
each = H.each,
|
|
@@ -136,29 +145,36 @@
|
|
|
136
145
|
seriesType = H.seriesType,
|
|
137
146
|
seriesTypes = H.seriesTypes;
|
|
138
147
|
|
|
148
|
+
/**
|
|
149
|
+
* @private
|
|
150
|
+
* @class
|
|
151
|
+
* @name Highcharts.seriesTypes.heatmap
|
|
152
|
+
*
|
|
153
|
+
* @augments Highcharts.Series
|
|
154
|
+
*/
|
|
155
|
+
seriesType('heatmap', 'scatter'
|
|
139
156
|
|
|
140
157
|
/**
|
|
141
158
|
* A heatmap is a graphical representation of data where the individual values
|
|
142
159
|
* contained in a matrix are represented as colors.
|
|
143
160
|
*
|
|
144
|
-
* @sample
|
|
145
|
-
*
|
|
146
|
-
* @sample
|
|
147
|
-
*
|
|
161
|
+
* @sample highcharts/demo/heatmap/
|
|
162
|
+
* Simple heatmap
|
|
163
|
+
* @sample highcharts/demo/heatmap-canvas/
|
|
164
|
+
* Heavy heatmap
|
|
165
|
+
*
|
|
148
166
|
* @extends {plotOptions.scatter}
|
|
149
|
-
* @excluding animationLimit,connectEnds,connectNulls,dashStyle,
|
|
150
|
-
* findNearestPointBy,getExtremesFromAll,linecap,lineWidth,
|
|
151
|
-
* pointInterval,pointIntervalUnit,pointRange,
|
|
152
|
-
* softThreshold,stacking,step,threshold
|
|
167
|
+
* @excluding animationLimit, connectEnds, connectNulls, dashStyle,
|
|
168
|
+
* findNearestPointBy, getExtremesFromAll, linecap, lineWidth,
|
|
169
|
+
* marker, pointInterval, pointIntervalUnit, pointRange,
|
|
170
|
+
* pointStart, shadow, softThreshold, stacking, step, threshold
|
|
153
171
|
* @product highcharts highmaps
|
|
154
172
|
* @optionparent plotOptions.heatmap
|
|
155
173
|
*/
|
|
156
|
-
|
|
174
|
+
, {
|
|
157
175
|
|
|
158
176
|
/**
|
|
159
177
|
* Animation is disabled by default on the heatmap series.
|
|
160
|
-
*
|
|
161
|
-
* @type {Boolean|Object}
|
|
162
178
|
*/
|
|
163
179
|
animation: false,
|
|
164
180
|
|
|
@@ -170,9 +186,9 @@
|
|
|
170
186
|
/**
|
|
171
187
|
* Padding between the points in the heatmap.
|
|
172
188
|
*
|
|
173
|
-
* @type
|
|
174
|
-
* @default
|
|
175
|
-
* @since
|
|
189
|
+
* @type {number}
|
|
190
|
+
* @default 0
|
|
191
|
+
* @since 6.0
|
|
176
192
|
* @apioption plotOptions.heatmap.pointPadding
|
|
177
193
|
*/
|
|
178
194
|
|
|
@@ -182,10 +198,9 @@
|
|
|
182
198
|
* options are set in the [colorAxis](#colorAxis), the default value
|
|
183
199
|
* is pulled from the [options.colors](#colors) array.
|
|
184
200
|
*
|
|
185
|
-
* @type
|
|
186
|
-
* @
|
|
187
|
-
* @
|
|
188
|
-
* @product highcharts
|
|
201
|
+
* @type {Highcharts.ColorString}
|
|
202
|
+
* @since 4.0
|
|
203
|
+
* @product highcharts
|
|
189
204
|
* @apioption plotOptions.heatmap.color
|
|
190
205
|
*/
|
|
191
206
|
|
|
@@ -193,31 +208,36 @@
|
|
|
193
208
|
* The column size - how many X axis units each column in the heatmap
|
|
194
209
|
* should span.
|
|
195
210
|
*
|
|
196
|
-
* @
|
|
197
|
-
*
|
|
198
|
-
* @sample {highmaps} maps/demo/heatmap/
|
|
199
|
-
*
|
|
200
|
-
*
|
|
201
|
-
* @
|
|
211
|
+
* @sample {highcharts} maps/demo/heatmap/
|
|
212
|
+
* One day
|
|
213
|
+
* @sample {highmaps} maps/demo/heatmap/
|
|
214
|
+
* One day
|
|
215
|
+
*
|
|
216
|
+
* @type {number}
|
|
217
|
+
* @default 1
|
|
218
|
+
* @since 4.0
|
|
219
|
+
* @product highcharts highmaps
|
|
202
220
|
* @apioption plotOptions.heatmap.colsize
|
|
203
221
|
*/
|
|
204
222
|
|
|
205
223
|
/**
|
|
206
224
|
* The row size - how many Y axis units each heatmap row should span.
|
|
207
225
|
*
|
|
208
|
-
* @
|
|
209
|
-
*
|
|
210
|
-
* @sample {highmaps} maps/demo/heatmap/
|
|
211
|
-
*
|
|
212
|
-
*
|
|
213
|
-
* @
|
|
226
|
+
* @sample {highcharts} maps/demo/heatmap/
|
|
227
|
+
* 1 by default
|
|
228
|
+
* @sample {highmaps} maps/demo/heatmap/
|
|
229
|
+
* 1 by default
|
|
230
|
+
*
|
|
231
|
+
* @type {number}
|
|
232
|
+
* @default 1
|
|
233
|
+
* @since 4.0
|
|
234
|
+
* @product highcharts highmaps
|
|
214
235
|
* @apioption plotOptions.heatmap.rowsize
|
|
215
236
|
*/
|
|
216
237
|
|
|
217
238
|
|
|
218
239
|
|
|
219
240
|
dataLabels: {
|
|
220
|
-
|
|
221
241
|
formatter: function () { // #2945
|
|
222
242
|
return this.point.value;
|
|
223
243
|
},
|
|
@@ -233,7 +253,9 @@
|
|
|
233
253
|
*/
|
|
234
254
|
marker: null,
|
|
235
255
|
|
|
236
|
-
/**
|
|
256
|
+
/**
|
|
257
|
+
* @ignore
|
|
258
|
+
*/
|
|
237
259
|
pointRange: null, // dynamically set to colsize by default
|
|
238
260
|
|
|
239
261
|
tooltip: {
|
|
@@ -243,6 +265,7 @@
|
|
|
243
265
|
states: {
|
|
244
266
|
|
|
245
267
|
hover: {
|
|
268
|
+
|
|
246
269
|
/**
|
|
247
270
|
* @ignore
|
|
248
271
|
*/
|
|
@@ -255,14 +278,15 @@
|
|
|
255
278
|
* In styled mode, the hover brightening is by default replaced
|
|
256
279
|
* with a fill-opacity set in the `.highcharts-point:hover` rule.
|
|
257
280
|
*
|
|
258
|
-
* @type {Number}
|
|
259
281
|
* @product highcharts highmaps
|
|
260
282
|
*/
|
|
261
283
|
brightness: 0.2
|
|
262
284
|
}
|
|
285
|
+
|
|
263
286
|
}
|
|
264
287
|
|
|
265
288
|
}, merge(colorSeriesMixin, {
|
|
289
|
+
|
|
266
290
|
pointArrayMap: ['y', 'value'],
|
|
267
291
|
hasPointSpecificOptions: true,
|
|
268
292
|
getExtremesFromAll: true,
|
|
@@ -270,6 +294,9 @@
|
|
|
270
294
|
|
|
271
295
|
/**
|
|
272
296
|
* Override the init method to add point ranges on both axes.
|
|
297
|
+
*
|
|
298
|
+
* @private
|
|
299
|
+
* @function Highcharts.seriesTypes.heatmap#init
|
|
273
300
|
*/
|
|
274
301
|
init: function () {
|
|
275
302
|
var options;
|
|
@@ -280,6 +307,11 @@
|
|
|
280
307
|
options.pointRange = pick(options.pointRange, options.colsize || 1);
|
|
281
308
|
this.yAxis.axisPointRange = options.rowsize || 1; // general point range
|
|
282
309
|
},
|
|
310
|
+
|
|
311
|
+
/**
|
|
312
|
+
* @private
|
|
313
|
+
* @function Highcharts.seriesTypes.heatmap#translate
|
|
314
|
+
*/
|
|
283
315
|
translate: function () {
|
|
284
316
|
var series = this,
|
|
285
317
|
options = series.options,
|
|
@@ -334,6 +366,11 @@
|
|
|
334
366
|
|
|
335
367
|
series.translateColors();
|
|
336
368
|
},
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* @private
|
|
372
|
+
* @function Highcharts.seriesTypes.heatmap#drawPoints
|
|
373
|
+
*/
|
|
337
374
|
drawPoints: function () {
|
|
338
375
|
seriesTypes.column.prototype.drawPoints.call(this);
|
|
339
376
|
|
|
@@ -345,10 +382,37 @@
|
|
|
345
382
|
|
|
346
383
|
}, this);
|
|
347
384
|
},
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* @ignore
|
|
388
|
+
* @deprecated
|
|
389
|
+
* @function Highcharts.seriesTypes.heatmap#animate
|
|
390
|
+
*/
|
|
348
391
|
animate: noop,
|
|
392
|
+
|
|
393
|
+
/**
|
|
394
|
+
* @ignore
|
|
395
|
+
* @deprecated
|
|
396
|
+
* @function Highcharts.seriesTypes.heatmap#getBox
|
|
397
|
+
*/
|
|
349
398
|
getBox: noop,
|
|
399
|
+
|
|
400
|
+
/**
|
|
401
|
+
* @private
|
|
402
|
+
* @borrows Highcharts.LegendSymbolMixin.drawRectangle as Highcharts.seriesTypes.heatmap#drawLegendSymbol
|
|
403
|
+
*/
|
|
350
404
|
drawLegendSymbol: LegendSymbolMixin.drawRectangle,
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* @private
|
|
408
|
+
* @borrows Highcharts.seriesTypes.column#alignDataLabel as Highcharts.seriesTypes.heatmap#alignDataLabel
|
|
409
|
+
*/
|
|
351
410
|
alignDataLabel: seriesTypes.column.prototype.alignDataLabel,
|
|
411
|
+
|
|
412
|
+
/**
|
|
413
|
+
* @private
|
|
414
|
+
* @function Highcharts.seriesTypes.heatmap#getExtremes
|
|
415
|
+
*/
|
|
352
416
|
getExtremes: function () {
|
|
353
417
|
// Get the extremes from the value data
|
|
354
418
|
Series.prototype.getExtremes.call(this, this.valueData);
|
|
@@ -360,6 +424,15 @@
|
|
|
360
424
|
}
|
|
361
425
|
|
|
362
426
|
}), H.extend({
|
|
427
|
+
|
|
428
|
+
/**
|
|
429
|
+
* @private
|
|
430
|
+
* @function Highcharts.Point#haloPath
|
|
431
|
+
*
|
|
432
|
+
* @param {number} size
|
|
433
|
+
*
|
|
434
|
+
* @return {Highcharts.SVGPathArray}
|
|
435
|
+
*/
|
|
363
436
|
haloPath: function (size) {
|
|
364
437
|
if (!size) {
|
|
365
438
|
return [];
|
|
@@ -374,14 +447,14 @@
|
|
|
374
447
|
];
|
|
375
448
|
}
|
|
376
449
|
}, colorPointMixin));
|
|
450
|
+
|
|
377
451
|
/**
|
|
378
452
|
* A `heatmap` series. If the [type](#series.heatmap.type) option is
|
|
379
453
|
* not specified, it is inherited from [chart.type](#chart.type).
|
|
380
454
|
*
|
|
381
|
-
* @
|
|
382
|
-
* @
|
|
383
|
-
* @
|
|
384
|
-
* @product highcharts highmaps
|
|
455
|
+
* @extends series,plotOptions.heatmap
|
|
456
|
+
* @excluding dataParser, dataURL, marker, pointRange, stack
|
|
457
|
+
* @product highcharts highmaps
|
|
385
458
|
* @apioption series.heatmap
|
|
386
459
|
*/
|
|
387
460
|
|
|
@@ -405,8 +478,8 @@
|
|
|
405
478
|
* ]
|
|
406
479
|
* ```
|
|
407
480
|
*
|
|
408
|
-
* 2. An array of objects with named values. The
|
|
409
|
-
*
|
|
481
|
+
* 2. An array of objects with named values. The following snippet shows only a
|
|
482
|
+
* few settings, see the complete options set below. If the total number of data
|
|
410
483
|
* points exceeds the series' [turboThreshold](#series.heatmap.turboThreshold),
|
|
411
484
|
* this option is not available.
|
|
412
485
|
*
|
|
@@ -426,9 +499,6 @@
|
|
|
426
499
|
* }]
|
|
427
500
|
* ```
|
|
428
501
|
*
|
|
429
|
-
* @type {Array<Object|Array>}
|
|
430
|
-
* @extends series.line.data
|
|
431
|
-
* @excluding marker
|
|
432
502
|
* @sample {highcharts} highcharts/chart/reflow-true/
|
|
433
503
|
* Numerical values
|
|
434
504
|
* @sample {highcharts} highcharts/series/data-array-of-arrays/
|
|
@@ -439,7 +509,11 @@
|
|
|
439
509
|
* Arrays of point.name and y
|
|
440
510
|
* @sample {highcharts} highcharts/series/data-array-of-objects/
|
|
441
511
|
* Config objects
|
|
442
|
-
*
|
|
512
|
+
*
|
|
513
|
+
* @type {Array<Array<number>|*>}
|
|
514
|
+
* @extends series.line.data
|
|
515
|
+
* @excluding marker
|
|
516
|
+
* @product highcharts highmaps
|
|
443
517
|
* @apioption series.heatmap.data
|
|
444
518
|
*/
|
|
445
519
|
|
|
@@ -448,8 +522,8 @@
|
|
|
448
522
|
* explicitly, as we use the color to denote the `value`. Options for
|
|
449
523
|
* this are set in the [colorAxis](#colorAxis) configuration.
|
|
450
524
|
*
|
|
451
|
-
* @type
|
|
452
|
-
* @product
|
|
525
|
+
* @type {Highcharts.ColorString}
|
|
526
|
+
* @product highcharts highmaps
|
|
453
527
|
* @apioption series.heatmap.data.color
|
|
454
528
|
*/
|
|
455
529
|
|
|
@@ -457,8 +531,8 @@
|
|
|
457
531
|
* The value of the point, resulting in a color controled by options
|
|
458
532
|
* as set in the [colorAxis](#colorAxis) configuration.
|
|
459
533
|
*
|
|
460
|
-
* @type
|
|
461
|
-
* @product
|
|
534
|
+
* @type {number}
|
|
535
|
+
* @product highcharts highmaps
|
|
462
536
|
* @apioption series.heatmap.data.value
|
|
463
537
|
*/
|
|
464
538
|
|
|
@@ -466,24 +540,26 @@
|
|
|
466
540
|
* The x value of the point. For datetime axes,
|
|
467
541
|
* the X value is the timestamp in milliseconds since 1970.
|
|
468
542
|
*
|
|
469
|
-
* @type
|
|
470
|
-
* @product
|
|
543
|
+
* @type {number}
|
|
544
|
+
* @product highcharts highmaps
|
|
471
545
|
* @apioption series.heatmap.data.x
|
|
472
546
|
*/
|
|
473
547
|
|
|
474
548
|
/**
|
|
475
549
|
* The y value of the point.
|
|
476
550
|
*
|
|
477
|
-
* @type
|
|
478
|
-
* @product
|
|
551
|
+
* @type {number}
|
|
552
|
+
* @product highcharts highmaps
|
|
479
553
|
* @apioption series.heatmap.data.y
|
|
480
554
|
*/
|
|
481
555
|
|
|
482
556
|
/**
|
|
483
557
|
* Point padding for a single point.
|
|
484
558
|
*
|
|
485
|
-
* @
|
|
486
|
-
*
|
|
559
|
+
* @sample maps/plotoptions/tilemap-pointpadding
|
|
560
|
+
* Point padding on tiles
|
|
561
|
+
*
|
|
562
|
+
* @type {number}
|
|
487
563
|
* @apioption series.heatmap.data.pointPadding
|
|
488
564
|
*/
|
|
489
565
|
|
|
@@ -499,6 +575,8 @@
|
|
|
499
575
|
* License: www.highcharts.com/license
|
|
500
576
|
*/
|
|
501
577
|
|
|
578
|
+
|
|
579
|
+
|
|
502
580
|
var seriesType = H.seriesType,
|
|
503
581
|
each = H.each,
|
|
504
582
|
reduce = H.reduce,
|
|
@@ -516,10 +594,22 @@
|
|
|
516
594
|
};
|
|
517
595
|
};
|
|
518
596
|
|
|
519
|
-
|
|
597
|
+
/**
|
|
598
|
+
* Map of shape types.
|
|
599
|
+
*
|
|
600
|
+
* @private
|
|
601
|
+
* @name Highcharts.tileShapeTypes
|
|
602
|
+
* @type {*}
|
|
603
|
+
*/
|
|
520
604
|
H.tileShapeTypes = {
|
|
521
605
|
|
|
522
|
-
/**
|
|
606
|
+
/**
|
|
607
|
+
* Hexagon shape type.
|
|
608
|
+
*
|
|
609
|
+
* @private
|
|
610
|
+
* @name Highcharts.tileShapeTypes.hexagon
|
|
611
|
+
* @type {*}
|
|
612
|
+
*/
|
|
523
613
|
hexagon: {
|
|
524
614
|
alignDataLabel: H.seriesTypes.scatter.prototype.alignDataLabel,
|
|
525
615
|
getSeriesPadding: function (series) {
|
|
@@ -651,7 +741,13 @@
|
|
|
651
741
|
},
|
|
652
742
|
|
|
653
743
|
|
|
654
|
-
/**
|
|
744
|
+
/**
|
|
745
|
+
* Diamond shape type.
|
|
746
|
+
*
|
|
747
|
+
* @private
|
|
748
|
+
* @name Highcharts.tileShapeTypes.diamond
|
|
749
|
+
* @type {*}
|
|
750
|
+
*/
|
|
655
751
|
diamond: {
|
|
656
752
|
alignDataLabel: H.seriesTypes.scatter.prototype.alignDataLabel,
|
|
657
753
|
getSeriesPadding: function (series) {
|
|
@@ -768,7 +864,13 @@
|
|
|
768
864
|
},
|
|
769
865
|
|
|
770
866
|
|
|
771
|
-
/**
|
|
867
|
+
/**
|
|
868
|
+
* Circle shape type.
|
|
869
|
+
*
|
|
870
|
+
* @private
|
|
871
|
+
* @name Highcharts.tileShapeTypes.circle
|
|
872
|
+
* @type {*}
|
|
873
|
+
*/
|
|
772
874
|
circle: {
|
|
773
875
|
alignDataLabel: H.seriesTypes.scatter.prototype.alignDataLabel,
|
|
774
876
|
getSeriesPadding: function (series) {
|
|
@@ -898,7 +1000,13 @@
|
|
|
898
1000
|
},
|
|
899
1001
|
|
|
900
1002
|
|
|
901
|
-
/**
|
|
1003
|
+
/**
|
|
1004
|
+
* Square shape type.
|
|
1005
|
+
*
|
|
1006
|
+
* @private
|
|
1007
|
+
* @name Highcharts.tileShapeTypes.square
|
|
1008
|
+
* @type {*}
|
|
1009
|
+
*/
|
|
902
1010
|
square: {
|
|
903
1011
|
alignDataLabel: H.seriesTypes.heatmap.prototype.alignDataLabel,
|
|
904
1012
|
translate: H.seriesTypes.heatmap.prototype.translate,
|
|
@@ -944,12 +1052,18 @@
|
|
|
944
1052
|
}
|
|
945
1053
|
});
|
|
946
1054
|
|
|
1055
|
+
/**
|
|
1056
|
+
* @private
|
|
1057
|
+
* @class
|
|
1058
|
+
* @name Highcharts.seriesTypes.tilemap
|
|
1059
|
+
*
|
|
1060
|
+
* @augments Highcharts.Series
|
|
1061
|
+
*/
|
|
1062
|
+
seriesType('tilemap', 'heatmap'
|
|
947
1063
|
|
|
948
1064
|
/**
|
|
949
1065
|
* A tilemap series is a type of heatmap where the tile shapes are configurable.
|
|
950
1066
|
*
|
|
951
|
-
* @extends {plotOptions.heatmap}
|
|
952
|
-
* @product highcharts highmaps
|
|
953
1067
|
* @sample highcharts/demo/honeycomb-usa/
|
|
954
1068
|
* Honeycomb tilemap, USA
|
|
955
1069
|
* @sample maps/plotoptions/honeycomb-brazil/
|
|
@@ -961,20 +1075,30 @@
|
|
|
961
1075
|
* @sample maps/demo/circlemap-africa/
|
|
962
1076
|
* Circlemap tilemap, Africa
|
|
963
1077
|
* @sample maps/demo/diamondmap
|
|
964
|
-
*
|
|
965
|
-
*
|
|
966
|
-
* @
|
|
1078
|
+
* Diamondmap tilemap
|
|
1079
|
+
*
|
|
1080
|
+
* @extends plotOptions.heatmap
|
|
1081
|
+
* @since 6.0.0
|
|
1082
|
+
* @excluding joinBy, shadow, allAreas, mapData, data
|
|
1083
|
+
* @product highcharts highmaps
|
|
967
1084
|
* @optionparent plotOptions.tilemap
|
|
968
1085
|
*/
|
|
969
|
-
|
|
970
|
-
|
|
1086
|
+
, { // Default options
|
|
1087
|
+
|
|
971
1088
|
states: {
|
|
1089
|
+
|
|
972
1090
|
hover: {
|
|
1091
|
+
|
|
973
1092
|
halo: {
|
|
1093
|
+
|
|
974
1094
|
enabled: true,
|
|
1095
|
+
|
|
975
1096
|
size: 2,
|
|
1097
|
+
|
|
976
1098
|
opacity: 0.5,
|
|
1099
|
+
|
|
977
1100
|
attributes: {
|
|
1101
|
+
|
|
978
1102
|
zIndex: 3
|
|
979
1103
|
}
|
|
980
1104
|
}
|
|
@@ -984,7 +1108,8 @@
|
|
|
984
1108
|
/**
|
|
985
1109
|
* The padding between points in the tilemap.
|
|
986
1110
|
*
|
|
987
|
-
* @sample maps/plotoptions/tilemap-pointpadding
|
|
1111
|
+
* @sample maps/plotoptions/tilemap-pointpadding
|
|
1112
|
+
* Point padding on tiles
|
|
988
1113
|
*/
|
|
989
1114
|
pointPadding: 2,
|
|
990
1115
|
|
|
@@ -992,39 +1117,55 @@
|
|
|
992
1117
|
* The column size - how many X axis units each column in the tilemap
|
|
993
1118
|
* should span. Works as in [Heatmaps](#plotOptions.heatmap.colsize).
|
|
994
1119
|
*
|
|
995
|
-
* @
|
|
996
|
-
*
|
|
997
|
-
* @sample {highmaps} maps/demo/heatmap/
|
|
998
|
-
*
|
|
999
|
-
*
|
|
1120
|
+
* @sample {highcharts} maps/demo/heatmap/
|
|
1121
|
+
* One day
|
|
1122
|
+
* @sample {highmaps} maps/demo/heatmap/
|
|
1123
|
+
* One day
|
|
1124
|
+
*
|
|
1125
|
+
* @type {number}
|
|
1126
|
+
* @default 1
|
|
1127
|
+
* @product highcharts highmaps
|
|
1000
1128
|
* @apioption plotOptions.tilemap.colsize
|
|
1001
1129
|
*/
|
|
1002
1130
|
|
|
1003
1131
|
/**
|
|
1004
|
-
|
|
1132
|
+
* The row size - how many Y axis units each tilemap row should span.
|
|
1005
1133
|
* Analogous to [colsize](#plotOptions.tilemap.colsize).
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1134
|
+
*
|
|
1135
|
+
* @sample {highcharts} maps/demo/heatmap/
|
|
1136
|
+
* 1 by default
|
|
1137
|
+
* @sample {highmaps} maps/demo/heatmap/
|
|
1138
|
+
* 1 by default
|
|
1139
|
+
*
|
|
1140
|
+
* @type {number}
|
|
1141
|
+
* @default 1
|
|
1142
|
+
* @product highcharts highmaps
|
|
1143
|
+
* @apioption plotOptions.tilemap.rowsize
|
|
1144
|
+
*/
|
|
1014
1145
|
|
|
1015
1146
|
/**
|
|
1016
1147
|
* The shape of the tiles in the tilemap. Possible values are `hexagon`,
|
|
1017
1148
|
* `circle`, `diamond`, and `square`.
|
|
1018
1149
|
*
|
|
1019
|
-
* @sample maps/demo/circlemap-africa
|
|
1020
|
-
*
|
|
1150
|
+
* @sample maps/demo/circlemap-africa
|
|
1151
|
+
* Circular tile shapes
|
|
1152
|
+
* @sample maps/demo/diamondmap
|
|
1153
|
+
* Diamond tile shapes
|
|
1154
|
+
*
|
|
1155
|
+
* @validvalue ["circle", "diamond", "hexagon", "square"]
|
|
1021
1156
|
*/
|
|
1022
1157
|
tileShape: 'hexagon'
|
|
1023
1158
|
|
|
1024
|
-
// Prototype functions
|
|
1025
|
-
}, {
|
|
1159
|
+
}, { // Prototype functions
|
|
1026
1160
|
|
|
1027
|
-
|
|
1161
|
+
/**
|
|
1162
|
+
* Set tile shape object on series
|
|
1163
|
+
*
|
|
1164
|
+
* @private
|
|
1165
|
+
* @function Highcharts.seriesTypes.tilemap#setOptions
|
|
1166
|
+
*
|
|
1167
|
+
* @return {*}
|
|
1168
|
+
*/
|
|
1028
1169
|
setOptions: function () {
|
|
1029
1170
|
// Call original function
|
|
1030
1171
|
var ret = H.seriesTypes.heatmap.prototype.setOptions.apply(this,
|
|
@@ -1035,14 +1176,30 @@
|
|
|
1035
1176
|
return ret;
|
|
1036
1177
|
},
|
|
1037
1178
|
|
|
1038
|
-
|
|
1179
|
+
/**
|
|
1180
|
+
* Use the shape's defined data label alignment function
|
|
1181
|
+
*
|
|
1182
|
+
* @private
|
|
1183
|
+
* @function Highcharts.seriesTypes.tilemap#alignDataLabel
|
|
1184
|
+
*
|
|
1185
|
+
* @return {*}
|
|
1186
|
+
*/
|
|
1039
1187
|
alignDataLabel: function () {
|
|
1040
1188
|
return this.tileShape.alignDataLabel.apply(this,
|
|
1041
1189
|
Array.prototype.slice.call(arguments)
|
|
1042
1190
|
);
|
|
1043
1191
|
},
|
|
1044
1192
|
|
|
1045
|
-
|
|
1193
|
+
/**
|
|
1194
|
+
* Get metrics for padding of axis for this series
|
|
1195
|
+
*
|
|
1196
|
+
* @private
|
|
1197
|
+
* @function Highcharts.seriesTypes.tilemap#getSeriesPixelPadding
|
|
1198
|
+
*
|
|
1199
|
+
* @param {Highcharts.Axis} axis
|
|
1200
|
+
*
|
|
1201
|
+
* @return {*}
|
|
1202
|
+
*/
|
|
1046
1203
|
getSeriesPixelPadding: function (axis) {
|
|
1047
1204
|
var isX = axis.isXAxis,
|
|
1048
1205
|
padding = this.tileShape.getSeriesPadding(this),
|
|
@@ -1087,7 +1244,12 @@
|
|
|
1087
1244
|
};
|
|
1088
1245
|
},
|
|
1089
1246
|
|
|
1090
|
-
|
|
1247
|
+
/**
|
|
1248
|
+
* Use translate from tileShape
|
|
1249
|
+
*
|
|
1250
|
+
* @private
|
|
1251
|
+
* @function Highcharts.seriesTypes.tilemap#translate
|
|
1252
|
+
*/
|
|
1091
1253
|
translate: function () {
|
|
1092
1254
|
return this.tileShape.translate.apply(this,
|
|
1093
1255
|
Array.prototype.slice.call(arguments)
|
|
@@ -1095,6 +1257,13 @@
|
|
|
1095
1257
|
}
|
|
1096
1258
|
|
|
1097
1259
|
}, H.extend({
|
|
1260
|
+
|
|
1261
|
+
/**
|
|
1262
|
+
* @private
|
|
1263
|
+
* @function Highcharts.Point#haloPath
|
|
1264
|
+
*
|
|
1265
|
+
* @return {Highcharts.SVGPathArray}
|
|
1266
|
+
*/
|
|
1098
1267
|
haloPath: function () {
|
|
1099
1268
|
return this.series.tileShape.haloPath.apply(this,
|
|
1100
1269
|
Array.prototype.slice.call(arguments)
|
|
@@ -1106,110 +1275,114 @@
|
|
|
1106
1275
|
* A `tilemap` series. If the [type](#series.tilemap.type) option is
|
|
1107
1276
|
* not specified, it is inherited from [chart.type](#chart.type).
|
|
1108
1277
|
*
|
|
1109
|
-
* @type {Object}
|
|
1110
1278
|
* @extends series,plotOptions.tilemap
|
|
1111
|
-
* @excluding allAreas,dataParser,dataURL,joinBy,mapData,marker,
|
|
1112
|
-
* shadow,stack
|
|
1279
|
+
* @excluding allAreas, dataParser, dataURL, joinBy, mapData, marker,
|
|
1280
|
+
* pointRange, shadow, stack
|
|
1113
1281
|
* @product highcharts highmaps
|
|
1114
1282
|
* @apioption series.tilemap
|
|
1115
1283
|
*/
|
|
1116
1284
|
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1285
|
+
/**
|
|
1286
|
+
* An array of data points for the series. For the `tilemap` series
|
|
1287
|
+
* type, points can be given in the following ways:
|
|
1288
|
+
*
|
|
1289
|
+
* 1. An array of arrays with 3 or 2 values. In this case, the values
|
|
1290
|
+
* correspond to `x,y,value`. If the first value is a string, it is
|
|
1291
|
+
* applied as the name of the point, and the `x` value is inferred.
|
|
1292
|
+
* The `x` value can also be omitted, in which case the inner arrays
|
|
1293
|
+
* should be of length 2\. Then the `x` value is automatically calculated,
|
|
1294
|
+
* either starting at 0 and incremented by 1, or from `pointStart`
|
|
1295
|
+
* and `pointInterval` given in the series options.
|
|
1296
|
+
*
|
|
1297
|
+
* ```js
|
|
1298
|
+
* data: [
|
|
1299
|
+
* [0, 9, 7],
|
|
1300
|
+
* [1, 10, 4],
|
|
1301
|
+
* [2, 6, 3]
|
|
1302
|
+
* ]
|
|
1303
|
+
* ```
|
|
1304
|
+
*
|
|
1305
|
+
* 2. An array of objects with named values. The objects are point
|
|
1306
|
+
* configuration objects as seen below. If the total number of data
|
|
1307
|
+
* points exceeds the series' [turboThreshold](#series.tilemap.turboThreshold),
|
|
1308
|
+
* this option is not available.
|
|
1309
|
+
*
|
|
1310
|
+
* ```js
|
|
1311
|
+
* data: [{
|
|
1312
|
+
* x: 1,
|
|
1313
|
+
* y: 3,
|
|
1314
|
+
* value: 10,
|
|
1315
|
+
* name: "Point2",
|
|
1316
|
+
* color: "#00FF00"
|
|
1317
|
+
* }, {
|
|
1318
|
+
* x: 1,
|
|
1319
|
+
* y: 7,
|
|
1320
|
+
* value: 10,
|
|
1321
|
+
* name: "Point1",
|
|
1322
|
+
* color: "#FF00FF"
|
|
1323
|
+
* }]
|
|
1324
|
+
* ```
|
|
1325
|
+
*
|
|
1326
|
+
* Note that for some [tileShapes](#plotOptions.tilemap.tileShape) the grid
|
|
1327
|
+
* coordinates are offset.
|
|
1328
|
+
*
|
|
1329
|
+
* @sample maps/series/tilemap-gridoffset
|
|
1330
|
+
* Offset grid coordinates
|
|
1331
|
+
* @sample {highcharts} highcharts/chart/reflow-true/
|
|
1332
|
+
* Numerical values
|
|
1333
|
+
* @sample {highcharts} highcharts/series/data-array-of-arrays/
|
|
1334
|
+
* Arrays of numeric x and y
|
|
1335
|
+
* @sample {highcharts} highcharts/series/data-array-of-arrays-datetime/
|
|
1336
|
+
* Arrays of datetime x and y
|
|
1337
|
+
* @sample {highcharts} highcharts/series/data-array-of-name-value/
|
|
1338
|
+
* Arrays of point.name and y
|
|
1339
|
+
* @sample {highcharts} highcharts/series/data-array-of-objects/
|
|
1340
|
+
* Config objects
|
|
1341
|
+
*
|
|
1342
|
+
* @type {Array<Array<number>|*>}
|
|
1343
|
+
* @extends series.heatmap.data
|
|
1344
|
+
* @excluding marker
|
|
1345
|
+
* @product highcharts highmaps
|
|
1346
|
+
* @apioption series.tilemap.data
|
|
1347
|
+
*/
|
|
1348
|
+
|
|
1349
|
+
/**
|
|
1350
|
+
* The color of the point. In tilemaps the point color is rarely set
|
|
1351
|
+
* explicitly, as we use the color to denote the `value`. Options for
|
|
1352
|
+
* this are set in the [colorAxis](#colorAxis) configuration.
|
|
1353
|
+
*
|
|
1354
|
+
* @type {Highcharts.ColorString}
|
|
1355
|
+
* @product highcharts highmaps
|
|
1356
|
+
* @apioption series.tilemap.data.color
|
|
1357
|
+
*/
|
|
1358
|
+
|
|
1359
|
+
/**
|
|
1360
|
+
* The x coordinate of the point.
|
|
1361
|
+
*
|
|
1362
|
+
* Note that for some [tileShapes](#plotOptions.tilemap.tileShape) the grid
|
|
1363
|
+
* coordinates are offset.
|
|
1364
|
+
*
|
|
1365
|
+
* @sample maps/series/tilemap-gridoffset
|
|
1366
|
+
* Offset grid coordinates
|
|
1367
|
+
*
|
|
1368
|
+
* @type {number}
|
|
1369
|
+
* @product highcharts highmaps
|
|
1370
|
+
* @apioption series.tilemap.data.x
|
|
1371
|
+
*/
|
|
1372
|
+
|
|
1373
|
+
/**
|
|
1374
|
+
* The y coordinate of the point.
|
|
1375
|
+
*
|
|
1376
|
+
* Note that for some [tileShapes](#plotOptions.tilemap.tileShape) the grid
|
|
1377
|
+
* coordinates are offset.
|
|
1378
|
+
*
|
|
1379
|
+
* @sample maps/series/tilemap-gridoffset
|
|
1380
|
+
* Offset grid coordinates
|
|
1381
|
+
*
|
|
1382
|
+
* @type {number}
|
|
1383
|
+
* @product highcharts highmaps
|
|
1384
|
+
* @apioption series.tilemap.data.y
|
|
1385
|
+
*/
|
|
1213
1386
|
|
|
1214
1387
|
}(Highcharts));
|
|
1215
1388
|
return (function () {
|