From 43cd9ff2b983000c9600832b22518538fa9611e1 Mon Sep 17 00:00:00 2001 From: Larry Bahr Date: Tue, 8 Aug 2017 13:40:55 -0500 Subject: [PATCH] [chart.js] Added Line Chart Options (#18704) * Added Line Chart Options http://www.chartjs.org/docs/latest/charts/line.html#configuration-options showLines - Boolean - If false, the lines between points are not drawn. spanGaps - Boolean - If false, NaN data causes a break in the line. * Moved location of property * Update definitions by --- types/chart.js/index.d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/types/chart.js/index.d.ts b/types/chart.js/index.d.ts index a465806797..f66a423a60 100644 --- a/types/chart.js/index.d.ts +++ b/types/chart.js/index.d.ts @@ -3,6 +3,7 @@ // Definitions by: Alberto Nuti // Fabien Lavocat // KentarouTakeda +// Larry Bahr // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 @@ -158,6 +159,8 @@ declare namespace Chart { animation?: ChartAnimationOptions; elements?: ChartElementsOptions; scales?: ChartScales; + showLines?: boolean; + spanGaps?: boolean; cutoutPercentage?: number; circumference?: number; rotation?: number;