From ebf5d7ce980cd6ed58e13894bd957248d50e2c35 Mon Sep 17 00:00:00 2001 From: Jan Varwig Date: Mon, 23 Jan 2017 15:57:31 +0100 Subject: [PATCH] Add spline property to c3 ChartConfiguration This has been added to C3 in 0.4.11: https://github.com/c3js/c3/commit/bbb6d1c0366164b6c472b87d2cbde7dbc7c4629e --- c3/index.d.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/c3/index.d.ts b/c3/index.d.ts index aa960b0b60..5edb096395 100644 --- a/c3/index.d.ts +++ b/c3/index.d.ts @@ -248,6 +248,15 @@ declare namespace c3 { */ width?: number; }; + + spline?: { + interpolation?: { + /** + * Set custom spline interpolation + */ + type?: 'linear' | 'linear-closed' | 'basis' | 'basis-open' | 'basis-closed' | 'bundle' | 'cardinal' | 'cardinal-open' | 'cardinal-closed' | 'monotone'; + }; + }; } interface Data {