@types/highcharts - Add animation boolean parameter to the Chart#update method

This commit is contained in:
Tyrone Dougherty
2018-08-07 15:24:16 +10:00
parent 480f7557d2
commit 9a2ef63a1e
+2 -1
View File
@@ -6487,9 +6487,10 @@ declare namespace Highcharts {
* @param [boolean] redraw Whether to redraw the chart. Defaults to true.
* @param [boolean] oneToOne When true, the series, xAxis and yAxis collections will be updated one to one, and
* items will be either added or removed to match the new updated options. Defaults to false.
* @param [boolean] animation Whether to apply animation, and optionally animation configuration.
* @since 5.0.0
*/
update(options: Options, redraw?: boolean, oneToOne?: boolean): void;
update(options: Options, redraw?: boolean, oneToOne?: boolean, animation?: boolean): void;
/**
* This method is deprecated as of 2.0.1. Updating the chart position after a move operation is no longer necessary.
* @since 1.2.5