From: Jukka Kurkela Date: Mon, 23 Nov 2020 13:17:40 +0000 (+0200) Subject: Update interpolation-modes sample to new defaults (#8093) X-Git-Tag: v3.0.0-beta.7~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2beebf12bd43da7adbcbc31bbd55fdd5205a947;p=thirdparty%2FChart.js.git Update interpolation-modes sample to new defaults (#8093) --- diff --git a/samples/charts/line/interpolation-modes.html b/samples/charts/line/interpolation-modes.html index 6a7550f54..819bc284e 100644 --- a/samples/charts/line/interpolation-modes.html +++ b/samples/charts/line/interpolation-modes.html @@ -38,20 +38,21 @@ borderColor: window.chartColors.red, backgroundColor: 'rgba(0, 0, 0, 0)', fill: false, - cubicInterpolationMode: 'monotone' + cubicInterpolationMode: 'monotone', + tension: 0.4 }, { - label: 'Cubic interpolation (default)', + label: 'Cubic interpolation', data: datapoints, borderColor: window.chartColors.blue, backgroundColor: 'rgba(0, 0, 0, 0)', fill: false, + tension: 0.4 }, { - label: 'Linear interpolation', + label: 'Linear interpolation (default)', data: datapoints, borderColor: window.chartColors.green, backgroundColor: 'rgba(0, 0, 0, 0)', - fill: false, - tension: 0 + fill: false }] }, options: {