From e4d63bc501b789e2e6819a2eb028836cc7f7c3b6 Mon Sep 17 00:00:00 2001 From: Stefan Lange Date: Thu, 8 Feb 2018 10:29:43 +0100 Subject: [PATCH 1/2] added render option to ChartEvents --- types/highcharts/index.d.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/types/highcharts/index.d.ts b/types/highcharts/index.d.ts index 48c0c614c2..55d575e127 100644 --- a/types/highcharts/index.d.ts +++ b/types/highcharts/index.d.ts @@ -1486,6 +1486,13 @@ declare namespace Highcharts { * @since 1.2.0 */ redraw?(event: Event): void; + /** + * Fires after initial load of the chart (directly after the `load` + * event), and after each redraw (directly after the `redraw` event). + * + * @since 5.0.7 + */ + render?(event: Event): void; /** * Fires when an area of the chart has been selected. Selection is enabled by setting the chart's zoomType. One * parameter, event, is passed to the function. This contains common event information based on jQuery or MooTools From 5efc423dc1df7a71f5ab8b866c457e843585c9e9 Mon Sep 17 00:00:00 2001 From: Stefan Lange Date: Thu, 8 Feb 2018 13:44:02 +0100 Subject: [PATCH 2/2] updated docs --- types/highcharts/index.d.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/types/highcharts/index.d.ts b/types/highcharts/index.d.ts index 55d575e127..c63c99a3c5 100644 --- a/types/highcharts/index.d.ts +++ b/types/highcharts/index.d.ts @@ -1487,11 +1487,11 @@ declare namespace Highcharts { */ redraw?(event: Event): void; /** - * Fires after initial load of the chart (directly after the `load` - * event), and after each redraw (directly after the `redraw` event). - * - * @since 5.0.7 - */ + * Fires after initial load of the chart (directly after the load + * event), and after each redraw (directly after the redraw event). + * + * @since 5.0.7 + */ render?(event: Event): void; /** * Fires when an area of the chart has been selected. Selection is enabled by setting the chart's zoomType. One