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,16 +1,58 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* (c) 2010-
|
|
2
|
+
* (c) 2010-2018 Torstein Honsi
|
|
3
3
|
*
|
|
4
4
|
* License: www.highcharts.com/license
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
+
/**
|
|
8
|
+
* Callback for chart constructors.
|
|
9
|
+
*
|
|
10
|
+
* @callback Highcharts.ChartCallbackFunction
|
|
11
|
+
*
|
|
12
|
+
* @param {Highcharts.Chart} chart
|
|
13
|
+
* Created chart.
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* The chart title. The title has an `update` method that allows modifying the
|
|
18
|
+
* options directly or indirectly via `chart.update`.
|
|
19
|
+
*
|
|
20
|
+
* @interface Highcharts.TitleObject
|
|
21
|
+
* @extends Highcharts.SVGElement
|
|
22
|
+
*//**
|
|
23
|
+
* Modify options for the title.
|
|
24
|
+
*
|
|
25
|
+
* @function Highcharts.TitleObject#update
|
|
26
|
+
*
|
|
27
|
+
* @param {Highcharts.TitleOptions} titleOptions
|
|
28
|
+
* Options to modify.
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* The chart subtitle. The subtitle has an `update` method that
|
|
33
|
+
* allows modifying the options directly or indirectly via
|
|
34
|
+
* `chart.update`.
|
|
35
|
+
*
|
|
36
|
+
* @interface Highcharts.SubtitleObject
|
|
37
|
+
* @extends Highcharts.SVGElement
|
|
38
|
+
*//**
|
|
39
|
+
* Modify options for the subtitle.
|
|
40
|
+
*
|
|
41
|
+
* @function Highcharts.SubtitleObject#update
|
|
42
|
+
*
|
|
43
|
+
* @param {Highcharts.SubtitleOptions} subtitleOptions
|
|
44
|
+
* Options to modify.
|
|
45
|
+
*/
|
|
46
|
+
|
|
7
47
|
'use strict';
|
|
48
|
+
|
|
8
49
|
import H from './Globals.js';
|
|
9
50
|
import './Utilities.js';
|
|
10
51
|
import './Axis.js';
|
|
11
52
|
import './Legend.js';
|
|
12
53
|
import './Options.js';
|
|
13
54
|
import './Pointer.js';
|
|
55
|
+
|
|
14
56
|
var addEvent = H.addEvent,
|
|
15
57
|
animate = H.animate,
|
|
16
58
|
animObject = H.animObject,
|
|
@@ -43,18 +85,9 @@ var addEvent = H.addEvent,
|
|
|
43
85
|
splat = H.splat,
|
|
44
86
|
syncTimeout = H.syncTimeout,
|
|
45
87
|
win = H.win;
|
|
88
|
+
|
|
46
89
|
/**
|
|
47
90
|
* The Chart class. The recommended constructor is {@link Highcharts#chart}.
|
|
48
|
-
* @class Highcharts.Chart
|
|
49
|
-
* @param {String|HTMLDOMElement} renderTo
|
|
50
|
-
* The DOM element to render to, or its id.
|
|
51
|
-
* @param {Options} options
|
|
52
|
-
* The chart options structure.
|
|
53
|
-
* @param {Function} [callback]
|
|
54
|
-
* Function to run when the chart has loaded and and all external images
|
|
55
|
-
* are loaded. Defining a [chart.event.load](
|
|
56
|
-
* https://api.highcharts.com/highcharts/chart.events.load) handler is
|
|
57
|
-
* equivalent.
|
|
58
91
|
*
|
|
59
92
|
* @example
|
|
60
93
|
* var chart = Highcharts.chart('container', {
|
|
@@ -65,6 +98,21 @@ var addEvent = H.addEvent,
|
|
|
65
98
|
* data: [1, 3, 2, 4]
|
|
66
99
|
* }]
|
|
67
100
|
* })
|
|
101
|
+
*
|
|
102
|
+
* @class
|
|
103
|
+
* @name Highcharts.Chart
|
|
104
|
+
*
|
|
105
|
+
* @param {string|Highcharts.HTMLDOMElement} [renderTo]
|
|
106
|
+
* The DOM element to render to, or its id.
|
|
107
|
+
*
|
|
108
|
+
* @param {Highcharts.Options} options
|
|
109
|
+
* The chart options structure.
|
|
110
|
+
*
|
|
111
|
+
* @param {Highcharts.ChartCallbackFunction} [callback]
|
|
112
|
+
* Function to run when the chart has loaded and and all external images
|
|
113
|
+
* are loaded. Defining a
|
|
114
|
+
* {@link https://api.highcharts.com/highcharts/chart.events.load|chart.event.load}
|
|
115
|
+
* handler is equivalent.
|
|
68
116
|
*/
|
|
69
117
|
var Chart = H.Chart = function () {
|
|
70
118
|
this.getArgs.apply(this, arguments);
|
|
@@ -73,17 +121,6 @@ var Chart = H.Chart = function () {
|
|
|
73
121
|
/**
|
|
74
122
|
* Factory function for basic charts.
|
|
75
123
|
*
|
|
76
|
-
* @function #chart
|
|
77
|
-
* @memberof Highcharts
|
|
78
|
-
* @param {String|HTMLDOMElement} renderTo - The DOM element to render to, or
|
|
79
|
-
* its id.
|
|
80
|
-
* @param {Options} options - The chart options structure.
|
|
81
|
-
* @param {Function} [callback] - Function to run when the chart has loaded and
|
|
82
|
-
* and all external images are loaded. Defining a {@link
|
|
83
|
-
* https://api.highcharts.com/highcharts/chart.events.load|chart.event.load}
|
|
84
|
-
* handler is equivalent.
|
|
85
|
-
* @return {Highcharts.Chart} - Returns the Chart object.
|
|
86
|
-
*
|
|
87
124
|
* @example
|
|
88
125
|
* // Render a chart in to div#container
|
|
89
126
|
* var chart = Highcharts.chart('container', {
|
|
@@ -94,6 +131,23 @@ var Chart = H.Chart = function () {
|
|
|
94
131
|
* data: [1, 3, 2, 4]
|
|
95
132
|
* }]
|
|
96
133
|
* });
|
|
134
|
+
*
|
|
135
|
+
* @function Highcharts.chart
|
|
136
|
+
*
|
|
137
|
+
* @param {string|Highcharts.HTMLDOMElement} [renderTo]
|
|
138
|
+
* The DOM element to render to, or its id.
|
|
139
|
+
*
|
|
140
|
+
* @param {Highcharts.Options} options
|
|
141
|
+
* The chart options structure.
|
|
142
|
+
*
|
|
143
|
+
* @param {Highcharts.ChartCallbackFunction} [callback]
|
|
144
|
+
* Function to run when the chart has loaded and and all external images
|
|
145
|
+
* are loaded. Defining a
|
|
146
|
+
* {@link https://api.highcharts.com/highcharts/chart.events.load|chart.event.load}
|
|
147
|
+
* handler is equivalent.
|
|
148
|
+
*
|
|
149
|
+
* @return {Highcharts.Chart}
|
|
150
|
+
* Returns the Chart object.
|
|
97
151
|
*/
|
|
98
152
|
H.chart = function (a, b, c) {
|
|
99
153
|
return new Chart(a, b, c);
|
|
@@ -108,7 +162,16 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
108
162
|
* Handle the arguments passed to the constructor.
|
|
109
163
|
*
|
|
110
164
|
* @private
|
|
111
|
-
* @
|
|
165
|
+
* @function Highcharts.Chart#getArgs
|
|
166
|
+
*
|
|
167
|
+
* @param {...Array<*>} arguments
|
|
168
|
+
* All arguments for the constructor.
|
|
169
|
+
*
|
|
170
|
+
* @return {Array<*>}
|
|
171
|
+
* Passed arguments without renderTo.
|
|
172
|
+
*
|
|
173
|
+
* @fires Highcharts.Chart#event:init
|
|
174
|
+
* @fires Highcharts.Chart#event:afterInit
|
|
112
175
|
*/
|
|
113
176
|
getArgs: function () {
|
|
114
177
|
var args = [].slice.call(arguments);
|
|
@@ -124,6 +187,18 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
124
187
|
/**
|
|
125
188
|
* Overridable function that initializes the chart. The constructor's
|
|
126
189
|
* arguments are passed on directly.
|
|
190
|
+
*
|
|
191
|
+
* @function Highcharts.Chart#init
|
|
192
|
+
*
|
|
193
|
+
* @param {Highcharts.Options} userOptions
|
|
194
|
+
* Custom options.
|
|
195
|
+
*
|
|
196
|
+
* @param {Function} [callback]
|
|
197
|
+
* Function to run when the chart has loaded and and all external
|
|
198
|
+
* images are loaded.
|
|
199
|
+
*
|
|
200
|
+
* @fires Highcharts.Chart#event:init
|
|
201
|
+
* @fires Highcharts.Chart#event:afterInit
|
|
127
202
|
*/
|
|
128
203
|
init: function (userOptions, callback) {
|
|
129
204
|
|
|
@@ -181,63 +256,38 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
181
256
|
* The options structure for the chart. It contains members for
|
|
182
257
|
* the sub elements like series, legend, tooltip etc.
|
|
183
258
|
*
|
|
184
|
-
* @
|
|
185
|
-
* @
|
|
186
|
-
* @type {Options}
|
|
259
|
+
* @name Highcharts.Chart#options
|
|
260
|
+
* @type {Highcharts.Options}
|
|
187
261
|
*/
|
|
188
262
|
this.options = options;
|
|
263
|
+
|
|
189
264
|
/**
|
|
190
265
|
* All the axes in the chart.
|
|
191
266
|
*
|
|
192
|
-
* @memberof Highcharts.Chart
|
|
193
|
-
* @name axes
|
|
194
267
|
* @see Highcharts.Chart.xAxis
|
|
195
268
|
* @see Highcharts.Chart.yAxis
|
|
196
|
-
*
|
|
269
|
+
*
|
|
270
|
+
* @name Highcharts.Chart#axes
|
|
271
|
+
* @type {Array<Highcharts.Axis>}
|
|
197
272
|
*/
|
|
198
273
|
this.axes = [];
|
|
199
274
|
|
|
200
275
|
/**
|
|
201
276
|
* All the current series in the chart.
|
|
202
277
|
*
|
|
203
|
-
* @
|
|
204
|
-
* @
|
|
205
|
-
* @type {Array<Series>}
|
|
278
|
+
* @name Highcharts.Chart#series
|
|
279
|
+
* @type {Array<Highcharts.Series>}
|
|
206
280
|
*/
|
|
207
281
|
this.series = [];
|
|
208
282
|
|
|
209
|
-
/**
|
|
210
|
-
* The chart title. The title has an `update` method that allows
|
|
211
|
-
* modifying the options directly or indirectly via
|
|
212
|
-
* `chart.update`.
|
|
213
|
-
*
|
|
214
|
-
* @memberof Highcharts.Chart
|
|
215
|
-
* @name title
|
|
216
|
-
* @type Object
|
|
217
|
-
*
|
|
218
|
-
* @sample highcharts/members/title-update/
|
|
219
|
-
* Updating titles
|
|
220
|
-
*/
|
|
221
|
-
|
|
222
|
-
/**
|
|
223
|
-
* The chart subtitle. The subtitle has an `update` method that
|
|
224
|
-
* allows modifying the options directly or indirectly via
|
|
225
|
-
* `chart.update`.
|
|
226
|
-
*
|
|
227
|
-
* @memberof Highcharts.Chart
|
|
228
|
-
* @name subtitle
|
|
229
|
-
* @type Object
|
|
230
|
-
*/
|
|
231
|
-
|
|
232
283
|
/**
|
|
233
284
|
* The `Time` object associated with the chart. Since v6.0.5,
|
|
234
285
|
* time settings can be applied individually for each chart. If
|
|
235
286
|
* no individual settings apply, the `Time` object is shared by
|
|
236
287
|
* all instances.
|
|
237
288
|
*
|
|
238
|
-
* @
|
|
239
|
-
* @
|
|
240
|
-
* @type Highcharts.Time
|
|
289
|
+
* @name Highcharts.Chart#time
|
|
290
|
+
* @type {Highcharts.Time}
|
|
241
291
|
*/
|
|
242
292
|
this.time =
|
|
243
293
|
userOptions.time && H.keys(userOptions.time).length ?
|
|
@@ -264,16 +314,20 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
264
314
|
|
|
265
315
|
/**
|
|
266
316
|
* A collection of the X axes in the chart.
|
|
267
|
-
*
|
|
268
|
-
* @name xAxis
|
|
269
|
-
* @
|
|
317
|
+
*
|
|
318
|
+
* @name Highcharts.Chart#xAxis
|
|
319
|
+
* @type {Array<Highcharts.Axis>}
|
|
270
320
|
*/
|
|
271
321
|
chart.xAxis = [];
|
|
322
|
+
|
|
272
323
|
/**
|
|
273
324
|
* A collection of the Y axes in the chart.
|
|
274
|
-
*
|
|
275
|
-
* @name yAxis
|
|
276
|
-
* @
|
|
325
|
+
*
|
|
326
|
+
* @name Highcharts.Chart#yAxis
|
|
327
|
+
* @type {Array<Highcharts.Axis>}
|
|
328
|
+
*
|
|
329
|
+
* @todo
|
|
330
|
+
* Make events official: Fire the event `afterInit`.
|
|
277
331
|
*/
|
|
278
332
|
chart.yAxis = [];
|
|
279
333
|
|
|
@@ -291,6 +345,11 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
291
345
|
* Internal function to unitialize an individual series.
|
|
292
346
|
*
|
|
293
347
|
* @private
|
|
348
|
+
* @function Highcharts.Chart#initSeries
|
|
349
|
+
*
|
|
350
|
+
* @param {Highcharts.ChartOptions} options
|
|
351
|
+
*
|
|
352
|
+
* @return {Highcharts.Series}
|
|
294
353
|
*/
|
|
295
354
|
initSeries: function (options) {
|
|
296
355
|
var chart = this,
|
|
@@ -319,9 +378,10 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
319
378
|
* #6112). This function is called on series initialization and destroy.
|
|
320
379
|
*
|
|
321
380
|
* @private
|
|
381
|
+
* @function Highcharts.Series#orderSeries
|
|
322
382
|
*
|
|
323
|
-
* @param
|
|
324
|
-
*
|
|
383
|
+
* @param {number} fromIndex
|
|
384
|
+
* If this is given, only the series above this index are handled.
|
|
325
385
|
*/
|
|
326
386
|
orderSeries: function (fromIndex) {
|
|
327
387
|
var series = this.series,
|
|
@@ -337,14 +397,18 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
337
397
|
/**
|
|
338
398
|
* Check whether a given point is within the plot area.
|
|
339
399
|
*
|
|
340
|
-
* @
|
|
341
|
-
*
|
|
342
|
-
* @param
|
|
343
|
-
*
|
|
344
|
-
*
|
|
345
|
-
*
|
|
400
|
+
* @function Highcharts.Chart#isInsidePlot
|
|
401
|
+
*
|
|
402
|
+
* @param {number} plotX
|
|
403
|
+
* Pixel x relative to the plot area.
|
|
404
|
+
*
|
|
405
|
+
* @param {number} plotY
|
|
406
|
+
* Pixel y relative to the plot area.
|
|
407
|
+
*
|
|
408
|
+
* @param {boolean} inverted
|
|
409
|
+
* Whether the chart is inverted.
|
|
346
410
|
*
|
|
347
|
-
* @return {
|
|
411
|
+
* @return {boolean}
|
|
348
412
|
* Returns true if the given point is inside the plot area.
|
|
349
413
|
*/
|
|
350
414
|
isInsidePlot: function (plotX, plotY, inverted) {
|
|
@@ -366,8 +430,17 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
366
430
|
* cases it is a waste of resources to redraw the chart for each new point
|
|
367
431
|
* added. So you add the points and call `chart.redraw()` after.
|
|
368
432
|
*
|
|
369
|
-
* @
|
|
370
|
-
*
|
|
433
|
+
* @function Highcharts.Chart#redraw
|
|
434
|
+
*
|
|
435
|
+
* @param {boolean|Highcharts.AnimationOptionsObject} [animation]
|
|
436
|
+
* If or how to apply animation to the redraw.
|
|
437
|
+
*
|
|
438
|
+
* @fires Highcharts.Chart#event:afterSetExtremes
|
|
439
|
+
* @fires Highcharts.Chart#event:beforeRedraw
|
|
440
|
+
* @fires Highcharts.Chart#event:predraw
|
|
441
|
+
* @fires Highcharts.Chart#event:redraw
|
|
442
|
+
* @fires Highcharts.Chart#event:render
|
|
443
|
+
* @fires Highcharts.Chart#event:updatedData
|
|
371
444
|
*/
|
|
372
445
|
redraw: function (animation) {
|
|
373
446
|
|
|
@@ -378,6 +451,7 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
378
451
|
series = chart.series,
|
|
379
452
|
pointer = chart.pointer,
|
|
380
453
|
legend = chart.legend,
|
|
454
|
+
legendUserOptions = chart.userOptions.legend,
|
|
381
455
|
redrawLegend = chart.isDirtyLegend,
|
|
382
456
|
hasStackedSeries,
|
|
383
457
|
hasDirtyStacks,
|
|
@@ -435,6 +509,14 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
435
509
|
serie.updateTotals();
|
|
436
510
|
}
|
|
437
511
|
redrawLegend = true;
|
|
512
|
+
} else if (
|
|
513
|
+
legendUserOptions &&
|
|
514
|
+
(
|
|
515
|
+
legendUserOptions.labelFormatter ||
|
|
516
|
+
legendUserOptions.labelFormat
|
|
517
|
+
)
|
|
518
|
+
) {
|
|
519
|
+
redrawLegend = true; // #2165
|
|
438
520
|
}
|
|
439
521
|
}
|
|
440
522
|
if (serie.isDirtyData) {
|
|
@@ -443,7 +525,7 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
443
525
|
});
|
|
444
526
|
|
|
445
527
|
// handle added or removed series
|
|
446
|
-
if (redrawLegend && legend.options.enabled) {
|
|
528
|
+
if (redrawLegend && legend && legend.options.enabled) {
|
|
447
529
|
// draw legend graphics
|
|
448
530
|
legend.render();
|
|
449
531
|
|
|
@@ -460,6 +542,10 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
460
542
|
// set axes scales
|
|
461
543
|
each(axes, function (axis) {
|
|
462
544
|
axis.updateNames();
|
|
545
|
+
// Update categories in a Gantt chart
|
|
546
|
+
if (axis.updateYNames) {
|
|
547
|
+
axis.updateYNames();
|
|
548
|
+
}
|
|
463
549
|
axis.setScale();
|
|
464
550
|
});
|
|
465
551
|
}
|
|
@@ -542,11 +628,17 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
542
628
|
/**
|
|
543
629
|
* Get an axis, series or point object by `id` as given in the configuration
|
|
544
630
|
* options. Returns `undefined` if no item is found.
|
|
545
|
-
*
|
|
546
|
-
* @return {Highcharts.Axis|Highcharts.Series|Highcharts.Point|undefined}
|
|
547
|
-
* The retrieved item.
|
|
631
|
+
*
|
|
548
632
|
* @sample highcharts/plotoptions/series-id/
|
|
549
633
|
* Get series by id
|
|
634
|
+
*
|
|
635
|
+
* @function Highcharts.Chart#get
|
|
636
|
+
*
|
|
637
|
+
* @param {string} id
|
|
638
|
+
* The id as given in the configuration options.
|
|
639
|
+
*
|
|
640
|
+
* @return {Highcharts.Axis|Highcharts.Series|Highcharts.Point|undefined}
|
|
641
|
+
* The retrieved item.
|
|
550
642
|
*/
|
|
551
643
|
get: function (id) {
|
|
552
644
|
|
|
@@ -577,6 +669,10 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
577
669
|
* Create the Axis instances based on the config options.
|
|
578
670
|
*
|
|
579
671
|
* @private
|
|
672
|
+
* @function Highcharts.Chart#getAxes
|
|
673
|
+
*
|
|
674
|
+
* @fires Highcharts.Chart#event:afterGetAxes
|
|
675
|
+
* @fires Highcharts.Chart#event:getAxes
|
|
580
676
|
*/
|
|
581
677
|
getAxes: function () {
|
|
582
678
|
var chart = this,
|
|
@@ -610,14 +706,17 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
610
706
|
|
|
611
707
|
/**
|
|
612
708
|
* Returns an array of all currently selected points in the chart. Points
|
|
613
|
-
* can be selected by clicking or programmatically by the
|
|
614
|
-
* Highcharts.Point#select}
|
|
615
|
-
*
|
|
616
|
-
* @return {Array<Point>}
|
|
617
|
-
* The currently selected points.
|
|
709
|
+
* can be selected by clicking or programmatically by the
|
|
710
|
+
* {@link Highcharts.Point#select}
|
|
711
|
+
* function.
|
|
618
712
|
*
|
|
619
713
|
* @sample highcharts/plotoptions/series-allowpointselect-line/
|
|
620
714
|
* Get selected points
|
|
715
|
+
*
|
|
716
|
+
* @function Highcharts.Chart#getSelectedPoints
|
|
717
|
+
*
|
|
718
|
+
* @return {Array<Highcharts.Point>}
|
|
719
|
+
* The currently selected points.
|
|
621
720
|
*/
|
|
622
721
|
getSelectedPoints: function () {
|
|
623
722
|
var points = [];
|
|
@@ -632,17 +731,19 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
632
731
|
|
|
633
732
|
/**
|
|
634
733
|
* Returns an array of all currently selected series in the chart. Series
|
|
635
|
-
* can be selected either programmatically by the
|
|
636
|
-
* Highcharts.Series#select}
|
|
637
|
-
* the legend item if
|
|
638
|
-
* https://api.highcharts.com/highcharts/plotOptions.series.showCheckbox|
|
|
639
|
-
*
|
|
640
|
-
*
|
|
641
|
-
* @return {Array<Series>}
|
|
642
|
-
* The currently selected series.
|
|
734
|
+
* can be selected either programmatically by the
|
|
735
|
+
* {@link Highcharts.Series#select}
|
|
736
|
+
* function or by checking the checkbox next to the legend item if
|
|
737
|
+
* {@link https://api.highcharts.com/highcharts/plotOptions.series.showCheckbox| series.showCheckBox}
|
|
738
|
+
* is true.
|
|
643
739
|
*
|
|
644
740
|
* @sample highcharts/members/chart-getselectedseries/
|
|
645
741
|
* Get selected series
|
|
742
|
+
*
|
|
743
|
+
* @function Highcharts.Chart#getSelectedSeries
|
|
744
|
+
*
|
|
745
|
+
* @return {Array<Highcharts.Series>}
|
|
746
|
+
* The currently selected series.
|
|
646
747
|
*/
|
|
647
748
|
getSelectedSeries: function () {
|
|
648
749
|
return grep(this.series, function (serie) {
|
|
@@ -653,18 +754,22 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
653
754
|
/**
|
|
654
755
|
* Set a new title or subtitle for the chart.
|
|
655
756
|
*
|
|
656
|
-
* @
|
|
657
|
-
*
|
|
658
|
-
*
|
|
659
|
-
* @
|
|
660
|
-
* New subtitle options. The subtitle text itself is set by the
|
|
661
|
-
* `subtitleOptions.text` property.
|
|
662
|
-
* @param redraw {Boolean}
|
|
663
|
-
* Whether to redraw the chart or wait for a later call to
|
|
664
|
-
* `chart.redraw()`.
|
|
757
|
+
* @sample highcharts/members/chart-settitle/
|
|
758
|
+
* Set title text and styles
|
|
759
|
+
*
|
|
760
|
+
* @function Highcharts.Chart#setTitle
|
|
665
761
|
*
|
|
666
|
-
* @
|
|
762
|
+
* @param {Highcharts.TitleOptions} titleOptions
|
|
763
|
+
* New title options. The title text itself is set by the
|
|
764
|
+
* `titleOptions.text` property.
|
|
667
765
|
*
|
|
766
|
+
* @param {Highcharts.SubtitleOptions} subtitleOptions
|
|
767
|
+
* New subtitle options. The subtitle text itself is set by the
|
|
768
|
+
* `subtitleOptions.text` property.
|
|
769
|
+
*
|
|
770
|
+
* @param {boolean} redraw
|
|
771
|
+
* Whether to redraw the chart or wait for a later call to
|
|
772
|
+
* `chart.redraw()`.
|
|
668
773
|
*/
|
|
669
774
|
setTitle: function (titleOptions, subtitleOptions, redraw) {
|
|
670
775
|
var chart = this,
|
|
@@ -698,7 +803,30 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
698
803
|
subtitleOptions
|
|
699
804
|
);
|
|
700
805
|
|
|
806
|
+
|
|
701
807
|
// add title and subtitle
|
|
808
|
+
|
|
809
|
+
/**
|
|
810
|
+
* The chart title. The title has an `update` method that allows
|
|
811
|
+
* modifying the options directly or indirectly via
|
|
812
|
+
* `chart.update`.
|
|
813
|
+
*
|
|
814
|
+
* @sample highcharts/members/title-update/
|
|
815
|
+
* Updating titles
|
|
816
|
+
*
|
|
817
|
+
* @name Highcharts.Chart#title
|
|
818
|
+
* @type {Highcharts.TitleObject}
|
|
819
|
+
*/
|
|
820
|
+
|
|
821
|
+
/**
|
|
822
|
+
* The chart subtitle. The subtitle has an `update` method that
|
|
823
|
+
* allows modifying the options directly or indirectly via
|
|
824
|
+
* `chart.update`.
|
|
825
|
+
*
|
|
826
|
+
* @name Highcharts.Chart#subtitle
|
|
827
|
+
* @type {Highcharts.SubtitleObject}
|
|
828
|
+
*/
|
|
829
|
+
|
|
702
830
|
each([
|
|
703
831
|
['title', titleOptions, chartTitleOptions],
|
|
704
832
|
['subtitle', subtitleOptions, chartSubtitleOptions]
|
|
@@ -747,6 +875,9 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
747
875
|
* `this.titleOffset`.
|
|
748
876
|
*
|
|
749
877
|
* @private
|
|
878
|
+
* @function Highcharts.Chart#layOutTitles
|
|
879
|
+
*
|
|
880
|
+
* @param {boolean} [redraw=true]
|
|
750
881
|
*/
|
|
751
882
|
layOutTitles: function (redraw) {
|
|
752
883
|
var titleOffset = 0,
|
|
@@ -801,8 +932,11 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
801
932
|
|
|
802
933
|
/**
|
|
803
934
|
* Internal function to get the chart width and height according to options
|
|
804
|
-
* and container size. Sets
|
|
805
|
-
* Chart.
|
|
935
|
+
* and container size. Sets
|
|
936
|
+
* {@link Chart.chartWidth} and
|
|
937
|
+
* {@link Chart.chartHeight}.
|
|
938
|
+
*
|
|
939
|
+
* @function Highcharts.Chart#getChartSize
|
|
806
940
|
*/
|
|
807
941
|
getChartSize: function () {
|
|
808
942
|
var chart = this,
|
|
@@ -822,9 +956,8 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
822
956
|
/**
|
|
823
957
|
* The current pixel width of the chart.
|
|
824
958
|
*
|
|
825
|
-
* @name chartWidth
|
|
826
|
-
* @
|
|
827
|
-
* @type {Number}
|
|
959
|
+
* @name Highcharts.Chart#chartWidth
|
|
960
|
+
* @type {number}
|
|
828
961
|
*/
|
|
829
962
|
chart.chartWidth = Math.max( // #1393
|
|
830
963
|
0,
|
|
@@ -833,9 +966,8 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
833
966
|
/**
|
|
834
967
|
* The current pixel height of the chart.
|
|
835
968
|
*
|
|
836
|
-
* @name chartHeight
|
|
837
|
-
* @
|
|
838
|
-
* @type {Number}
|
|
969
|
+
* @name Highcharts.Chart#chartHeight
|
|
970
|
+
* @type {number}
|
|
839
971
|
*/
|
|
840
972
|
chart.chartHeight = Math.max(
|
|
841
973
|
0,
|
|
@@ -854,9 +986,10 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
854
986
|
* size is retrieved, reset them. Used on first render and on redraws.
|
|
855
987
|
*
|
|
856
988
|
* @private
|
|
989
|
+
* @function Highcharts.Chart#temporaryDisplay
|
|
857
990
|
*
|
|
858
|
-
* @param
|
|
859
|
-
*
|
|
991
|
+
* @param {boolean} revert
|
|
992
|
+
* Revert to the saved original styles.
|
|
860
993
|
*/
|
|
861
994
|
temporaryDisplay: function (revert) {
|
|
862
995
|
var node = this.renderTo,
|
|
@@ -921,6 +1054,10 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
921
1054
|
/**
|
|
922
1055
|
* Set the {@link Chart.container|chart container's} class name, in
|
|
923
1056
|
* addition to `highcharts-container`.
|
|
1057
|
+
*
|
|
1058
|
+
* @function Highcharts.Chart#setClassName
|
|
1059
|
+
*
|
|
1060
|
+
* @param {string} className
|
|
924
1061
|
*/
|
|
925
1062
|
setClassName: function (className) {
|
|
926
1063
|
this.container.className = 'highcharts-container ' + (className || '');
|
|
@@ -931,6 +1068,9 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
931
1068
|
* container div to hold the chart.
|
|
932
1069
|
*
|
|
933
1070
|
* @private
|
|
1071
|
+
* @function Highcharts.Chart#afterGetContainer
|
|
1072
|
+
*
|
|
1073
|
+
* @fires Highcharts.Chart#event:afterGetContainer
|
|
934
1074
|
*/
|
|
935
1075
|
getContainer: function () {
|
|
936
1076
|
var chart = this,
|
|
@@ -1012,10 +1152,10 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1012
1152
|
/**
|
|
1013
1153
|
* The containing HTML element of the chart. The container is
|
|
1014
1154
|
* dynamically inserted into the element given as the `renderTo`
|
|
1015
|
-
*
|
|
1155
|
+
* parameter in the {@link Highcharts#chart} constructor.
|
|
1016
1156
|
*
|
|
1017
|
-
* @
|
|
1018
|
-
* @type {HTMLDOMElement}
|
|
1157
|
+
* @name Highcharts.Chart#container
|
|
1158
|
+
* @type {Highcharts.HTMLDOMElement}
|
|
1019
1159
|
*/
|
|
1020
1160
|
container = createElement(
|
|
1021
1161
|
'div',
|
|
@@ -1036,9 +1176,9 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1036
1176
|
/**
|
|
1037
1177
|
* The renderer instance of the chart. Each chart instance has only one
|
|
1038
1178
|
* associated renderer.
|
|
1039
|
-
*
|
|
1040
|
-
* @name renderer
|
|
1041
|
-
* @
|
|
1179
|
+
*
|
|
1180
|
+
* @name Highcharts.Chart#renderer
|
|
1181
|
+
* @type {Highcharts.SVGRenderer}
|
|
1042
1182
|
*/
|
|
1043
1183
|
chart.renderer = new Ren(
|
|
1044
1184
|
container,
|
|
@@ -1067,6 +1207,11 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1067
1207
|
* will be moved into their final positions.
|
|
1068
1208
|
*
|
|
1069
1209
|
* @private
|
|
1210
|
+
* @function Highcharts.Chart#getMargins
|
|
1211
|
+
*
|
|
1212
|
+
* @param {boolean} skipAxes
|
|
1213
|
+
*
|
|
1214
|
+
* @fires Highcharts.Chart#event:getMargins
|
|
1070
1215
|
*/
|
|
1071
1216
|
getMargins: function (skipAxes) {
|
|
1072
1217
|
var chart = this,
|
|
@@ -1096,6 +1241,10 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1096
1241
|
}
|
|
1097
1242
|
},
|
|
1098
1243
|
|
|
1244
|
+
/**
|
|
1245
|
+
* @private
|
|
1246
|
+
* @function Highcharts.Chart#getAxisMargins
|
|
1247
|
+
*/
|
|
1099
1248
|
getAxisMargins: function () {
|
|
1100
1249
|
|
|
1101
1250
|
var chart = this,
|
|
@@ -1131,14 +1280,16 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1131
1280
|
* container is resized without a window resize event, this must be called
|
|
1132
1281
|
* explicitly.
|
|
1133
1282
|
*
|
|
1134
|
-
* @param {Object} e
|
|
1135
|
-
* Event arguments. Used primarily when the function is called
|
|
1136
|
-
* internally as a response to window resize.
|
|
1137
|
-
*
|
|
1138
1283
|
* @sample highcharts/members/chart-reflow/
|
|
1139
1284
|
* Resize div and reflow
|
|
1140
1285
|
* @sample highcharts/chart/events-container/
|
|
1141
1286
|
* Pop up and reflow
|
|
1287
|
+
*
|
|
1288
|
+
* @function Highcharts.Chart#reflow
|
|
1289
|
+
*
|
|
1290
|
+
* @param {global.Event} e
|
|
1291
|
+
* Event arguments. Used primarily when the function is called
|
|
1292
|
+
* internally as a response to window resize.
|
|
1142
1293
|
*/
|
|
1143
1294
|
reflow: function (e) {
|
|
1144
1295
|
var chart = this,
|
|
@@ -1186,6 +1337,9 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1186
1337
|
* `chart.reflow` option.
|
|
1187
1338
|
*
|
|
1188
1339
|
* @private
|
|
1340
|
+
* @function Highcharts.Chart#setReflow
|
|
1341
|
+
*
|
|
1342
|
+
* @param {boolean} reflow
|
|
1189
1343
|
*/
|
|
1190
1344
|
setReflow: function (reflow) {
|
|
1191
1345
|
|
|
@@ -1219,17 +1373,6 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1219
1373
|
* Resize the chart to a given width and height. In order to set the width
|
|
1220
1374
|
* only, the height argument may be skipped. To set the height only, pass
|
|
1221
1375
|
* `undefined` for the width.
|
|
1222
|
-
* @param {Number|undefined|null} [width]
|
|
1223
|
-
* The new pixel width of the chart. Since v4.2.6, the argument can
|
|
1224
|
-
* be `undefined` in order to preserve the current value (when
|
|
1225
|
-
* setting height only), or `null` to adapt to the width of the
|
|
1226
|
-
* containing element.
|
|
1227
|
-
* @param {Number|undefined|null} [height]
|
|
1228
|
-
* The new pixel height of the chart. Since v4.2.6, the argument can
|
|
1229
|
-
* be `undefined` in order to preserve the current value, or `null`
|
|
1230
|
-
* in order to adapt to the height of the containing element.
|
|
1231
|
-
* @param {AnimationOptions} [animation=true]
|
|
1232
|
-
* Whether and how to apply animation.
|
|
1233
1376
|
*
|
|
1234
1377
|
* @sample highcharts/members/chart-setsize-button/
|
|
1235
1378
|
* Test resizing from buttons
|
|
@@ -1237,6 +1380,25 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1237
1380
|
* Add a jQuery UI resizable
|
|
1238
1381
|
* @sample stock/members/chart-setsize/
|
|
1239
1382
|
* Highstock with UI resizable
|
|
1383
|
+
*
|
|
1384
|
+
* @function Highcharts.Chart#setSize
|
|
1385
|
+
*
|
|
1386
|
+
* @param {number|null} [width]
|
|
1387
|
+
* The new pixel width of the chart. Since v4.2.6, the argument can
|
|
1388
|
+
* be `undefined` in order to preserve the current value (when
|
|
1389
|
+
* setting height only), or `null` to adapt to the width of the
|
|
1390
|
+
* containing element.
|
|
1391
|
+
*
|
|
1392
|
+
* @param {number|null} [height]
|
|
1393
|
+
* The new pixel height of the chart. Since v4.2.6, the argument can
|
|
1394
|
+
* be `undefined` in order to preserve the current value, or `null`
|
|
1395
|
+
* in order to adapt to the height of the containing element.
|
|
1396
|
+
*
|
|
1397
|
+
* @param {Highcharts.AnimationOptionsObject} [animation=true]
|
|
1398
|
+
* Whether and how to apply animation.
|
|
1399
|
+
*
|
|
1400
|
+
* @fires Highcharts.Chart#event:endResize
|
|
1401
|
+
* @fires Highcharts.Chart#event:resize
|
|
1240
1402
|
*/
|
|
1241
1403
|
setSize: function (width, height, animation) {
|
|
1242
1404
|
var chart = this,
|
|
@@ -1306,6 +1468,11 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1306
1468
|
* pre-render to determine margin sizes.
|
|
1307
1469
|
*
|
|
1308
1470
|
* @private
|
|
1471
|
+
* @function Highcharts.Chart#setChartSize
|
|
1472
|
+
*
|
|
1473
|
+
* @param {boolean} skipAxes
|
|
1474
|
+
*
|
|
1475
|
+
* @fires Highcharts.Chart#event:afterSetChartSize
|
|
1309
1476
|
*/
|
|
1310
1477
|
setChartSize: function (skipAxes) {
|
|
1311
1478
|
var chart = this,
|
|
@@ -1327,27 +1494,24 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1327
1494
|
/**
|
|
1328
1495
|
* The current left position of the plot area in pixels.
|
|
1329
1496
|
*
|
|
1330
|
-
* @name plotLeft
|
|
1331
|
-
* @
|
|
1332
|
-
* @type {Number}
|
|
1497
|
+
* @name Highcharts.Chart#plotLeft
|
|
1498
|
+
* @type {number}
|
|
1333
1499
|
*/
|
|
1334
1500
|
chart.plotLeft = plotLeft = Math.round(chart.plotLeft);
|
|
1335
1501
|
|
|
1336
1502
|
/**
|
|
1337
1503
|
* The current top position of the plot area in pixels.
|
|
1338
1504
|
*
|
|
1339
|
-
* @name plotTop
|
|
1340
|
-
* @
|
|
1341
|
-
* @type {Number}
|
|
1505
|
+
* @name Highcharts.Chart#plotTop
|
|
1506
|
+
* @type {number}
|
|
1342
1507
|
*/
|
|
1343
1508
|
chart.plotTop = plotTop = Math.round(chart.plotTop);
|
|
1344
1509
|
|
|
1345
1510
|
/**
|
|
1346
1511
|
* The current width of the plot area in pixels.
|
|
1347
1512
|
*
|
|
1348
|
-
* @name plotWidth
|
|
1349
|
-
* @
|
|
1350
|
-
* @type {Number}
|
|
1513
|
+
* @name Highcharts.Chart#plotWidth
|
|
1514
|
+
* @type {number}
|
|
1351
1515
|
*/
|
|
1352
1516
|
chart.plotWidth = plotWidth = Math.max(
|
|
1353
1517
|
0,
|
|
@@ -1357,9 +1521,8 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1357
1521
|
/**
|
|
1358
1522
|
* The current height of the plot area in pixels.
|
|
1359
1523
|
*
|
|
1360
|
-
* @name plotHeight
|
|
1361
|
-
* @
|
|
1362
|
-
* @type {Number}
|
|
1524
|
+
* @name Highcharts.Chart#plotHeight
|
|
1525
|
+
* @type {number}
|
|
1363
1526
|
*/
|
|
1364
1527
|
chart.plotHeight = plotHeight = Math.max(
|
|
1365
1528
|
0,
|
|
@@ -1420,6 +1583,7 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1420
1583
|
* Initial margins before auto size margins are applied.
|
|
1421
1584
|
*
|
|
1422
1585
|
* @private
|
|
1586
|
+
* @function Highcharts.Chart#resetMargins
|
|
1423
1587
|
*/
|
|
1424
1588
|
resetMargins: function () {
|
|
1425
1589
|
var chart = this,
|
|
@@ -1452,6 +1616,9 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1452
1616
|
* and plot area.
|
|
1453
1617
|
*
|
|
1454
1618
|
* @private
|
|
1619
|
+
* @function Highcharts.Chart#drawChartBox
|
|
1620
|
+
*
|
|
1621
|
+
* @fires Highcharts.Chart#event:afterDrawChartBox
|
|
1455
1622
|
*/
|
|
1456
1623
|
drawChartBox: function () {
|
|
1457
1624
|
var chart = this,
|
|
@@ -1597,6 +1764,7 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1597
1764
|
* and in extensions to the chart.angular and chart.polar properties.
|
|
1598
1765
|
*
|
|
1599
1766
|
* @private
|
|
1767
|
+
* @function Highcharts.Chart#propFromSeries
|
|
1600
1768
|
*/
|
|
1601
1769
|
propFromSeries: function () {
|
|
1602
1770
|
var chart = this,
|
|
@@ -1640,6 +1808,9 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1640
1808
|
* `Chart.addSeries` and `Series.remove`.
|
|
1641
1809
|
*
|
|
1642
1810
|
* @private
|
|
1811
|
+
* @function Highcharts.Chart#linkSeries
|
|
1812
|
+
*
|
|
1813
|
+
* @fires Highcharts.Chart#event:afterLinkSeries
|
|
1643
1814
|
*/
|
|
1644
1815
|
linkSeries: function () {
|
|
1645
1816
|
var chart = this,
|
|
@@ -1679,6 +1850,7 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1679
1850
|
* Render series for the chart.
|
|
1680
1851
|
*
|
|
1681
1852
|
* @private
|
|
1853
|
+
* @function Highcharts.Chart#renderSeries
|
|
1682
1854
|
*/
|
|
1683
1855
|
renderSeries: function () {
|
|
1684
1856
|
each(this.series, function (serie) {
|
|
@@ -1691,6 +1863,7 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1691
1863
|
* Render labels for the chart.
|
|
1692
1864
|
*
|
|
1693
1865
|
* @private
|
|
1866
|
+
* @function Highcharts.Chart#renderLabels
|
|
1694
1867
|
*/
|
|
1695
1868
|
renderLabels: function () {
|
|
1696
1869
|
var chart = this,
|
|
@@ -1722,6 +1895,7 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1722
1895
|
* Render all graphics for the chart. Runs internally on initialization.
|
|
1723
1896
|
*
|
|
1724
1897
|
* @private
|
|
1898
|
+
* @function Highcharts.Chart#render
|
|
1725
1899
|
*/
|
|
1726
1900
|
render: function () {
|
|
1727
1901
|
var chart = this,
|
|
@@ -1736,8 +1910,12 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1736
1910
|
// Title
|
|
1737
1911
|
chart.setTitle();
|
|
1738
1912
|
|
|
1739
|
-
|
|
1740
|
-
|
|
1913
|
+
/**
|
|
1914
|
+
* The overview of the chart's series.
|
|
1915
|
+
*
|
|
1916
|
+
* @name Highcharts.Chart#legend
|
|
1917
|
+
* @type {Highcharts.Legend}
|
|
1918
|
+
*/
|
|
1741
1919
|
chart.legend = new Legend(chart, options.legend);
|
|
1742
1920
|
|
|
1743
1921
|
// Get stacks
|
|
@@ -1821,9 +1999,13 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1821
1999
|
/**
|
|
1822
2000
|
* Set a new credits label for the chart.
|
|
1823
2001
|
*
|
|
1824
|
-
* @
|
|
1825
|
-
*
|
|
1826
|
-
*
|
|
2002
|
+
* @sample highcharts/credits/credits-update/
|
|
2003
|
+
* Add and update credits
|
|
2004
|
+
*
|
|
2005
|
+
* @function Highcharts.Chart#addCredits
|
|
2006
|
+
*
|
|
2007
|
+
* @param {Highcharts.CreditsOptions} options
|
|
2008
|
+
* A configuration object for the new credits.
|
|
1827
2009
|
*/
|
|
1828
2010
|
addCredits: function (credits) {
|
|
1829
2011
|
var chart = this;
|
|
@@ -1833,12 +2015,10 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1833
2015
|
|
|
1834
2016
|
/**
|
|
1835
2017
|
* The chart's credits label. The label has an `update` method that
|
|
1836
|
-
* allows setting new options as per the
|
|
1837
|
-
* https://api.highcharts.com/highcharts/credits|
|
|
1838
|
-
* credits options set}.
|
|
2018
|
+
* allows setting new options as per the
|
|
2019
|
+
* {@link https://api.highcharts.com/highcharts/credits|credits options set}.
|
|
1839
2020
|
*
|
|
1840
|
-
* @
|
|
1841
|
-
* @name credits
|
|
2021
|
+
* @name Highcharts.Chart#credits
|
|
1842
2022
|
* @type {Highcharts.SVGElement}
|
|
1843
2023
|
*/
|
|
1844
2024
|
this.credits = this.renderer.text(
|
|
@@ -1879,6 +2059,10 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1879
2059
|
* Destroy the chart from a button
|
|
1880
2060
|
* @sample stock/members/chart-destroy/
|
|
1881
2061
|
* Destroy with Highstock
|
|
2062
|
+
*
|
|
2063
|
+
* @function Highcharts.Chart#destroy
|
|
2064
|
+
*
|
|
2065
|
+
* @fires Highcharts.Chart#event:destroy
|
|
1882
2066
|
*/
|
|
1883
2067
|
destroy: function () {
|
|
1884
2068
|
var chart = this,
|
|
@@ -1957,6 +2141,9 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1957
2141
|
* Prepare for first rendering after all data are loaded.
|
|
1958
2142
|
*
|
|
1959
2143
|
* @private
|
|
2144
|
+
* @function Highcharts.Chart#firstRender
|
|
2145
|
+
*
|
|
2146
|
+
* @fires Highcharts.Chart#event:beforeRender
|
|
1960
2147
|
*/
|
|
1961
2148
|
firstRender: function () {
|
|
1962
2149
|
var chart = this,
|
|
@@ -1998,9 +2185,10 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1998
2185
|
/**
|
|
1999
2186
|
* The Pointer that keeps track of mouse and touch interaction.
|
|
2000
2187
|
*
|
|
2001
|
-
* @memberof Chart
|
|
2188
|
+
* @memberof Highcharts.Chart
|
|
2002
2189
|
* @name pointer
|
|
2003
|
-
* @type Pointer
|
|
2190
|
+
* @type {Highcharts.Pointer}
|
|
2191
|
+
* @instance
|
|
2004
2192
|
*/
|
|
2005
2193
|
chart.pointer = new Pointer(chart, options);
|
|
2006
2194
|
}
|
|
@@ -2024,6 +2212,10 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
2024
2212
|
* events.
|
|
2025
2213
|
*
|
|
2026
2214
|
* @private
|
|
2215
|
+
* @function Highcharts.Chart#onload
|
|
2216
|
+
*
|
|
2217
|
+
* @fires Highcharts.Chart#event:load
|
|
2218
|
+
* @fires Highcharts.Chart#event:render
|
|
2027
2219
|
*/
|
|
2028
2220
|
onload: function () {
|
|
2029
2221
|
|