From d2ab76ec4237cfccb337982060de4c168b9e2036 Mon Sep 17 00:00:00 2001 From: tjh Date: Tue, 18 Sep 2018 15:48:43 -0700 Subject: [PATCH] Add tooltip "outside" option --- types/highcharts/index.d.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/types/highcharts/index.d.ts b/types/highcharts/index.d.ts index 0ced2b5b3d..f0835d2dac 100644 --- a/types/highcharts/index.d.ts +++ b/types/highcharts/index.d.ts @@ -5926,6 +5926,16 @@ declare namespace Highcharts { * The y value. */ formatter?(): boolean | string; + /** + * Whether to allow the tooltip to render outside the chart's SVG element box. + * By default (false), the tooltip is rendered within the chart's SVG element, which results in + * the tooltip being aligned inside the chart area. For small charts, this may result in + * clipping or overlapping. When true, a separate SVG element is created and overlaid on the + * page, allowing the tooltip to be aligned inside the page itself. + * @default false + * @since 6.1.1 + */ + outside?: boolean; /** * Padding inside the tooltip, in pixels. * @since 5.0.0