From c2beebf12bd43da7adbcbc31bbd55fdd5205a947 Mon Sep 17 00:00:00 2001 From: Jukka Kurkela Date: Mon, 23 Nov 2020 15:17:40 +0200 Subject: [PATCH] Update interpolation-modes sample to new defaults (#8093) --- samples/charts/line/interpolation-modes.html | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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: { -- 2.47.2