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,
|
|
@@ -683,7 +788,30 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
683
788
|
subtitleOptions
|
|
684
789
|
);
|
|
685
790
|
|
|
791
|
+
|
|
686
792
|
// add title and subtitle
|
|
793
|
+
|
|
794
|
+
/**
|
|
795
|
+
* The chart title. The title has an `update` method that allows
|
|
796
|
+
* modifying the options directly or indirectly via
|
|
797
|
+
* `chart.update`.
|
|
798
|
+
*
|
|
799
|
+
* @sample highcharts/members/title-update/
|
|
800
|
+
* Updating titles
|
|
801
|
+
*
|
|
802
|
+
* @name Highcharts.Chart#title
|
|
803
|
+
* @type {Highcharts.TitleObject}
|
|
804
|
+
*/
|
|
805
|
+
|
|
806
|
+
/**
|
|
807
|
+
* The chart subtitle. The subtitle has an `update` method that
|
|
808
|
+
* allows modifying the options directly or indirectly via
|
|
809
|
+
* `chart.update`.
|
|
810
|
+
*
|
|
811
|
+
* @name Highcharts.Chart#subtitle
|
|
812
|
+
* @type {Highcharts.SubtitleObject}
|
|
813
|
+
*/
|
|
814
|
+
|
|
687
815
|
each([
|
|
688
816
|
['title', titleOptions, chartTitleOptions],
|
|
689
817
|
['subtitle', subtitleOptions, chartSubtitleOptions]
|
|
@@ -729,6 +857,9 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
729
857
|
* `this.titleOffset`.
|
|
730
858
|
*
|
|
731
859
|
* @private
|
|
860
|
+
* @function Highcharts.Chart#layOutTitles
|
|
861
|
+
*
|
|
862
|
+
* @param {boolean} [redraw=true]
|
|
732
863
|
*/
|
|
733
864
|
layOutTitles: function (redraw) {
|
|
734
865
|
var titleOffset = 0,
|
|
@@ -781,8 +912,11 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
781
912
|
|
|
782
913
|
/**
|
|
783
914
|
* Internal function to get the chart width and height according to options
|
|
784
|
-
* and container size. Sets
|
|
785
|
-
* Chart.
|
|
915
|
+
* and container size. Sets
|
|
916
|
+
* {@link Chart.chartWidth} and
|
|
917
|
+
* {@link Chart.chartHeight}.
|
|
918
|
+
*
|
|
919
|
+
* @function Highcharts.Chart#getChartSize
|
|
786
920
|
*/
|
|
787
921
|
getChartSize: function () {
|
|
788
922
|
var chart = this,
|
|
@@ -802,9 +936,8 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
802
936
|
/**
|
|
803
937
|
* The current pixel width of the chart.
|
|
804
938
|
*
|
|
805
|
-
* @name chartWidth
|
|
806
|
-
* @
|
|
807
|
-
* @type {Number}
|
|
939
|
+
* @name Highcharts.Chart#chartWidth
|
|
940
|
+
* @type {number}
|
|
808
941
|
*/
|
|
809
942
|
chart.chartWidth = Math.max( // #1393
|
|
810
943
|
0,
|
|
@@ -813,9 +946,8 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
813
946
|
/**
|
|
814
947
|
* The current pixel height of the chart.
|
|
815
948
|
*
|
|
816
|
-
* @name chartHeight
|
|
817
|
-
* @
|
|
818
|
-
* @type {Number}
|
|
949
|
+
* @name Highcharts.Chart#chartHeight
|
|
950
|
+
* @type {number}
|
|
819
951
|
*/
|
|
820
952
|
chart.chartHeight = Math.max(
|
|
821
953
|
0,
|
|
@@ -834,9 +966,10 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
834
966
|
* size is retrieved, reset them. Used on first render and on redraws.
|
|
835
967
|
*
|
|
836
968
|
* @private
|
|
969
|
+
* @function Highcharts.Chart#temporaryDisplay
|
|
837
970
|
*
|
|
838
|
-
* @param
|
|
839
|
-
*
|
|
971
|
+
* @param {boolean} revert
|
|
972
|
+
* Revert to the saved original styles.
|
|
840
973
|
*/
|
|
841
974
|
temporaryDisplay: function (revert) {
|
|
842
975
|
var node = this.renderTo,
|
|
@@ -901,6 +1034,10 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
901
1034
|
/**
|
|
902
1035
|
* Set the {@link Chart.container|chart container's} class name, in
|
|
903
1036
|
* addition to `highcharts-container`.
|
|
1037
|
+
*
|
|
1038
|
+
* @function Highcharts.Chart#setClassName
|
|
1039
|
+
*
|
|
1040
|
+
* @param {string} className
|
|
904
1041
|
*/
|
|
905
1042
|
setClassName: function (className) {
|
|
906
1043
|
this.container.className = 'highcharts-container ' + (className || '');
|
|
@@ -911,6 +1048,9 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
911
1048
|
* container div to hold the chart.
|
|
912
1049
|
*
|
|
913
1050
|
* @private
|
|
1051
|
+
* @function Highcharts.Chart#afterGetContainer
|
|
1052
|
+
*
|
|
1053
|
+
* @fires Highcharts.Chart#event:afterGetContainer
|
|
914
1054
|
*/
|
|
915
1055
|
getContainer: function () {
|
|
916
1056
|
var chart = this,
|
|
@@ -980,10 +1120,10 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
980
1120
|
/**
|
|
981
1121
|
* The containing HTML element of the chart. The container is
|
|
982
1122
|
* dynamically inserted into the element given as the `renderTo`
|
|
983
|
-
*
|
|
1123
|
+
* parameter in the {@link Highcharts#chart} constructor.
|
|
984
1124
|
*
|
|
985
|
-
* @
|
|
986
|
-
* @type {HTMLDOMElement}
|
|
1125
|
+
* @name Highcharts.Chart#container
|
|
1126
|
+
* @type {Highcharts.HTMLDOMElement}
|
|
987
1127
|
*/
|
|
988
1128
|
container = createElement(
|
|
989
1129
|
'div',
|
|
@@ -1004,9 +1144,9 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1004
1144
|
/**
|
|
1005
1145
|
* The renderer instance of the chart. Each chart instance has only one
|
|
1006
1146
|
* associated renderer.
|
|
1007
|
-
*
|
|
1008
|
-
* @name renderer
|
|
1009
|
-
* @
|
|
1147
|
+
*
|
|
1148
|
+
* @name Highcharts.Chart#renderer
|
|
1149
|
+
* @type {Highcharts.SVGRenderer}
|
|
1010
1150
|
*/
|
|
1011
1151
|
chart.renderer = new Ren(
|
|
1012
1152
|
container,
|
|
@@ -1038,6 +1178,11 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1038
1178
|
* will be moved into their final positions.
|
|
1039
1179
|
*
|
|
1040
1180
|
* @private
|
|
1181
|
+
* @function Highcharts.Chart#getMargins
|
|
1182
|
+
*
|
|
1183
|
+
* @param {boolean} skipAxes
|
|
1184
|
+
*
|
|
1185
|
+
* @fires Highcharts.Chart#event:getMargins
|
|
1041
1186
|
*/
|
|
1042
1187
|
getMargins: function (skipAxes) {
|
|
1043
1188
|
var chart = this,
|
|
@@ -1067,6 +1212,10 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1067
1212
|
}
|
|
1068
1213
|
},
|
|
1069
1214
|
|
|
1215
|
+
/**
|
|
1216
|
+
* @private
|
|
1217
|
+
* @function Highcharts.Chart#getAxisMargins
|
|
1218
|
+
*/
|
|
1070
1219
|
getAxisMargins: function () {
|
|
1071
1220
|
|
|
1072
1221
|
var chart = this,
|
|
@@ -1102,14 +1251,16 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1102
1251
|
* container is resized without a window resize event, this must be called
|
|
1103
1252
|
* explicitly.
|
|
1104
1253
|
*
|
|
1105
|
-
* @param {Object} e
|
|
1106
|
-
* Event arguments. Used primarily when the function is called
|
|
1107
|
-
* internally as a response to window resize.
|
|
1108
|
-
*
|
|
1109
1254
|
* @sample highcharts/members/chart-reflow/
|
|
1110
1255
|
* Resize div and reflow
|
|
1111
1256
|
* @sample highcharts/chart/events-container/
|
|
1112
1257
|
* Pop up and reflow
|
|
1258
|
+
*
|
|
1259
|
+
* @function Highcharts.Chart#reflow
|
|
1260
|
+
*
|
|
1261
|
+
* @param {global.Event} e
|
|
1262
|
+
* Event arguments. Used primarily when the function is called
|
|
1263
|
+
* internally as a response to window resize.
|
|
1113
1264
|
*/
|
|
1114
1265
|
reflow: function (e) {
|
|
1115
1266
|
var chart = this,
|
|
@@ -1157,6 +1308,9 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1157
1308
|
* `chart.reflow` option.
|
|
1158
1309
|
*
|
|
1159
1310
|
* @private
|
|
1311
|
+
* @function Highcharts.Chart#setReflow
|
|
1312
|
+
*
|
|
1313
|
+
* @param {boolean} reflow
|
|
1160
1314
|
*/
|
|
1161
1315
|
setReflow: function (reflow) {
|
|
1162
1316
|
|
|
@@ -1190,17 +1344,6 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1190
1344
|
* Resize the chart to a given width and height. In order to set the width
|
|
1191
1345
|
* only, the height argument may be skipped. To set the height only, pass
|
|
1192
1346
|
* `undefined` for the width.
|
|
1193
|
-
* @param {Number|undefined|null} [width]
|
|
1194
|
-
* The new pixel width of the chart. Since v4.2.6, the argument can
|
|
1195
|
-
* be `undefined` in order to preserve the current value (when
|
|
1196
|
-
* setting height only), or `null` to adapt to the width of the
|
|
1197
|
-
* containing element.
|
|
1198
|
-
* @param {Number|undefined|null} [height]
|
|
1199
|
-
* The new pixel height of the chart. Since v4.2.6, the argument can
|
|
1200
|
-
* be `undefined` in order to preserve the current value, or `null`
|
|
1201
|
-
* in order to adapt to the height of the containing element.
|
|
1202
|
-
* @param {AnimationOptions} [animation=true]
|
|
1203
|
-
* Whether and how to apply animation.
|
|
1204
1347
|
*
|
|
1205
1348
|
* @sample highcharts/members/chart-setsize-button/
|
|
1206
1349
|
* Test resizing from buttons
|
|
@@ -1208,6 +1351,25 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1208
1351
|
* Add a jQuery UI resizable
|
|
1209
1352
|
* @sample stock/members/chart-setsize/
|
|
1210
1353
|
* Highstock with UI resizable
|
|
1354
|
+
*
|
|
1355
|
+
* @function Highcharts.Chart#setSize
|
|
1356
|
+
*
|
|
1357
|
+
* @param {number|null} [width]
|
|
1358
|
+
* The new pixel width of the chart. Since v4.2.6, the argument can
|
|
1359
|
+
* be `undefined` in order to preserve the current value (when
|
|
1360
|
+
* setting height only), or `null` to adapt to the width of the
|
|
1361
|
+
* containing element.
|
|
1362
|
+
*
|
|
1363
|
+
* @param {number|null} [height]
|
|
1364
|
+
* The new pixel height of the chart. Since v4.2.6, the argument can
|
|
1365
|
+
* be `undefined` in order to preserve the current value, or `null`
|
|
1366
|
+
* in order to adapt to the height of the containing element.
|
|
1367
|
+
*
|
|
1368
|
+
* @param {Highcharts.AnimationOptionsObject} [animation=true]
|
|
1369
|
+
* Whether and how to apply animation.
|
|
1370
|
+
*
|
|
1371
|
+
* @fires Highcharts.Chart#event:endResize
|
|
1372
|
+
* @fires Highcharts.Chart#event:resize
|
|
1211
1373
|
*/
|
|
1212
1374
|
setSize: function (width, height, animation) {
|
|
1213
1375
|
var chart = this,
|
|
@@ -1271,6 +1433,11 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1271
1433
|
* pre-render to determine margin sizes.
|
|
1272
1434
|
*
|
|
1273
1435
|
* @private
|
|
1436
|
+
* @function Highcharts.Chart#setChartSize
|
|
1437
|
+
*
|
|
1438
|
+
* @param {boolean} skipAxes
|
|
1439
|
+
*
|
|
1440
|
+
* @fires Highcharts.Chart#event:afterSetChartSize
|
|
1274
1441
|
*/
|
|
1275
1442
|
setChartSize: function (skipAxes) {
|
|
1276
1443
|
var chart = this,
|
|
@@ -1292,27 +1459,24 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1292
1459
|
/**
|
|
1293
1460
|
* The current left position of the plot area in pixels.
|
|
1294
1461
|
*
|
|
1295
|
-
* @name plotLeft
|
|
1296
|
-
* @
|
|
1297
|
-
* @type {Number}
|
|
1462
|
+
* @name Highcharts.Chart#plotLeft
|
|
1463
|
+
* @type {number}
|
|
1298
1464
|
*/
|
|
1299
1465
|
chart.plotLeft = plotLeft = Math.round(chart.plotLeft);
|
|
1300
1466
|
|
|
1301
1467
|
/**
|
|
1302
1468
|
* The current top position of the plot area in pixels.
|
|
1303
1469
|
*
|
|
1304
|
-
* @name plotTop
|
|
1305
|
-
* @
|
|
1306
|
-
* @type {Number}
|
|
1470
|
+
* @name Highcharts.Chart#plotTop
|
|
1471
|
+
* @type {number}
|
|
1307
1472
|
*/
|
|
1308
1473
|
chart.plotTop = plotTop = Math.round(chart.plotTop);
|
|
1309
1474
|
|
|
1310
1475
|
/**
|
|
1311
1476
|
* The current width of the plot area in pixels.
|
|
1312
1477
|
*
|
|
1313
|
-
* @name plotWidth
|
|
1314
|
-
* @
|
|
1315
|
-
* @type {Number}
|
|
1478
|
+
* @name Highcharts.Chart#plotWidth
|
|
1479
|
+
* @type {number}
|
|
1316
1480
|
*/
|
|
1317
1481
|
chart.plotWidth = plotWidth = Math.max(
|
|
1318
1482
|
0,
|
|
@@ -1322,9 +1486,8 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1322
1486
|
/**
|
|
1323
1487
|
* The current height of the plot area in pixels.
|
|
1324
1488
|
*
|
|
1325
|
-
* @name plotHeight
|
|
1326
|
-
* @
|
|
1327
|
-
* @type {Number}
|
|
1489
|
+
* @name Highcharts.Chart#plotHeight
|
|
1490
|
+
* @type {number}
|
|
1328
1491
|
*/
|
|
1329
1492
|
chart.plotHeight = plotHeight = Math.max(
|
|
1330
1493
|
0,
|
|
@@ -1385,6 +1548,7 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1385
1548
|
* Initial margins before auto size margins are applied.
|
|
1386
1549
|
*
|
|
1387
1550
|
* @private
|
|
1551
|
+
* @function Highcharts.Chart#resetMargins
|
|
1388
1552
|
*/
|
|
1389
1553
|
resetMargins: function () {
|
|
1390
1554
|
var chart = this,
|
|
@@ -1417,6 +1581,9 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1417
1581
|
* and plot area.
|
|
1418
1582
|
*
|
|
1419
1583
|
* @private
|
|
1584
|
+
* @function Highcharts.Chart#drawChartBox
|
|
1585
|
+
*
|
|
1586
|
+
* @fires Highcharts.Chart#event:afterDrawChartBox
|
|
1420
1587
|
*/
|
|
1421
1588
|
drawChartBox: function () {
|
|
1422
1589
|
var chart = this,
|
|
@@ -1514,6 +1681,7 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1514
1681
|
* and in extensions to the chart.angular and chart.polar properties.
|
|
1515
1682
|
*
|
|
1516
1683
|
* @private
|
|
1684
|
+
* @function Highcharts.Chart#propFromSeries
|
|
1517
1685
|
*/
|
|
1518
1686
|
propFromSeries: function () {
|
|
1519
1687
|
var chart = this,
|
|
@@ -1557,6 +1725,9 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1557
1725
|
* `Chart.addSeries` and `Series.remove`.
|
|
1558
1726
|
*
|
|
1559
1727
|
* @private
|
|
1728
|
+
* @function Highcharts.Chart#linkSeries
|
|
1729
|
+
*
|
|
1730
|
+
* @fires Highcharts.Chart#event:afterLinkSeries
|
|
1560
1731
|
*/
|
|
1561
1732
|
linkSeries: function () {
|
|
1562
1733
|
var chart = this,
|
|
@@ -1596,6 +1767,7 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1596
1767
|
* Render series for the chart.
|
|
1597
1768
|
*
|
|
1598
1769
|
* @private
|
|
1770
|
+
* @function Highcharts.Chart#renderSeries
|
|
1599
1771
|
*/
|
|
1600
1772
|
renderSeries: function () {
|
|
1601
1773
|
each(this.series, function (serie) {
|
|
@@ -1608,6 +1780,7 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1608
1780
|
* Render labels for the chart.
|
|
1609
1781
|
*
|
|
1610
1782
|
* @private
|
|
1783
|
+
* @function Highcharts.Chart#renderLabels
|
|
1611
1784
|
*/
|
|
1612
1785
|
renderLabels: function () {
|
|
1613
1786
|
var chart = this,
|
|
@@ -1639,6 +1812,7 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1639
1812
|
* Render all graphics for the chart. Runs internally on initialization.
|
|
1640
1813
|
*
|
|
1641
1814
|
* @private
|
|
1815
|
+
* @function Highcharts.Chart#render
|
|
1642
1816
|
*/
|
|
1643
1817
|
render: function () {
|
|
1644
1818
|
var chart = this,
|
|
@@ -1653,8 +1827,12 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1653
1827
|
// Title
|
|
1654
1828
|
chart.setTitle();
|
|
1655
1829
|
|
|
1656
|
-
|
|
1657
|
-
|
|
1830
|
+
/**
|
|
1831
|
+
* The overview of the chart's series.
|
|
1832
|
+
*
|
|
1833
|
+
* @name Highcharts.Chart#legend
|
|
1834
|
+
* @type {Highcharts.Legend}
|
|
1835
|
+
*/
|
|
1658
1836
|
chart.legend = new Legend(chart, options.legend);
|
|
1659
1837
|
|
|
1660
1838
|
// Get stacks
|
|
@@ -1738,9 +1916,13 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1738
1916
|
/**
|
|
1739
1917
|
* Set a new credits label for the chart.
|
|
1740
1918
|
*
|
|
1741
|
-
* @
|
|
1742
|
-
*
|
|
1743
|
-
*
|
|
1919
|
+
* @sample highcharts/credits/credits-update/
|
|
1920
|
+
* Add and update credits
|
|
1921
|
+
*
|
|
1922
|
+
* @function Highcharts.Chart#addCredits
|
|
1923
|
+
*
|
|
1924
|
+
* @param {Highcharts.CreditsOptions} options
|
|
1925
|
+
* A configuration object for the new credits.
|
|
1744
1926
|
*/
|
|
1745
1927
|
addCredits: function (credits) {
|
|
1746
1928
|
var chart = this;
|
|
@@ -1750,12 +1932,10 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1750
1932
|
|
|
1751
1933
|
/**
|
|
1752
1934
|
* The chart's credits label. The label has an `update` method that
|
|
1753
|
-
* allows setting new options as per the
|
|
1754
|
-
* https://api.highcharts.com/highcharts/credits|
|
|
1755
|
-
* credits options set}.
|
|
1935
|
+
* allows setting new options as per the
|
|
1936
|
+
* {@link https://api.highcharts.com/highcharts/credits|credits options set}.
|
|
1756
1937
|
*
|
|
1757
|
-
* @
|
|
1758
|
-
* @name credits
|
|
1938
|
+
* @name Highcharts.Chart#credits
|
|
1759
1939
|
* @type {Highcharts.SVGElement}
|
|
1760
1940
|
*/
|
|
1761
1941
|
this.credits = this.renderer.text(
|
|
@@ -1794,6 +1974,10 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1794
1974
|
* Destroy the chart from a button
|
|
1795
1975
|
* @sample stock/members/chart-destroy/
|
|
1796
1976
|
* Destroy with Highstock
|
|
1977
|
+
*
|
|
1978
|
+
* @function Highcharts.Chart#destroy
|
|
1979
|
+
*
|
|
1980
|
+
* @fires Highcharts.Chart#event:destroy
|
|
1797
1981
|
*/
|
|
1798
1982
|
destroy: function () {
|
|
1799
1983
|
var chart = this,
|
|
@@ -1872,6 +2056,9 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1872
2056
|
* Prepare for first rendering after all data are loaded.
|
|
1873
2057
|
*
|
|
1874
2058
|
* @private
|
|
2059
|
+
* @function Highcharts.Chart#firstRender
|
|
2060
|
+
*
|
|
2061
|
+
* @fires Highcharts.Chart#event:beforeRender
|
|
1875
2062
|
*/
|
|
1876
2063
|
firstRender: function () {
|
|
1877
2064
|
var chart = this,
|
|
@@ -1913,9 +2100,10 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1913
2100
|
/**
|
|
1914
2101
|
* The Pointer that keeps track of mouse and touch interaction.
|
|
1915
2102
|
*
|
|
1916
|
-
* @memberof Chart
|
|
2103
|
+
* @memberof Highcharts.Chart
|
|
1917
2104
|
* @name pointer
|
|
1918
|
-
* @type Pointer
|
|
2105
|
+
* @type {Highcharts.Pointer}
|
|
2106
|
+
* @instance
|
|
1919
2107
|
*/
|
|
1920
2108
|
chart.pointer = new Pointer(chart, options);
|
|
1921
2109
|
}
|
|
@@ -1939,6 +2127,10 @@ extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {
|
|
|
1939
2127
|
* events.
|
|
1940
2128
|
*
|
|
1941
2129
|
* @private
|
|
2130
|
+
* @function Highcharts.Chart#onload
|
|
2131
|
+
*
|
|
2132
|
+
* @fires Highcharts.Chart#event:load
|
|
2133
|
+
* @fires Highcharts.Chart#event:render
|
|
1942
2134
|
*/
|
|
1943
2135
|
onload: function () {
|
|
1944
2136
|
|