From 142c9e445522e97c207a5c1e000da78305800441 Mon Sep 17 00:00:00 2001 From: Dolan Date: Thu, 13 Jun 2019 12:31:58 +0100 Subject: [PATCH] Add new type to support arearange graph (#36087) * Add new type to support arearange graph Area Range needs 3 inputs for it to `addPoint`: http://jsfiddle.net/k8EKj/ * Revert version back to 5.0 Co-Authored-By: Dan Lewi Harkestad --- types/highcharts/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/highcharts/index.d.ts b/types/highcharts/index.d.ts index 8001ab7884..722b50108b 100644 --- a/types/highcharts/index.d.ts +++ b/types/highcharts/index.d.ts @@ -6,6 +6,7 @@ // Juliƫn Hanssens // Johns Gresham // ArunkeshavaReddy Sankaramaddi +// Dolan Miu // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 @@ -7509,7 +7510,7 @@ declare namespace Highcharts { * Use this option for live charts monitoring a value over time. * @since 1.2.0 */ - addPoint(options: number | [number, number] | DataPoint, redraw?: boolean, shift?: boolean, animation?: boolean | Animation): void; + addPoint(options: number | [number, number] | [number, number, number] | DataPoint, redraw?: boolean, shift?: boolean, animation?: boolean | Animation): void; /** * Read only. The chart that the series belongs to. * @since 1.2.0