From: Ben McCann <322311+benmccann@users.noreply.github.com> Date: Tue, 5 Nov 2019 12:11:53 +0000 (-0800) Subject: Remove tension option backwards compatibility (#6692) X-Git-Tag: v3.0.0-alpha~267 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0fb2c65b1ba9b0dbc60acac611daec3ee54b320;p=thirdparty%2FChart.js.git Remove tension option backwards compatibility (#6692) --- diff --git a/docs/getting-started/v3-migration.md b/docs/getting-started/v3-migration.md index 8587554cf..04dfa426e 100644 --- a/docs/getting-started/v3-migration.md +++ b/docs/getting-started/v3-migration.md @@ -29,6 +29,7 @@ Chart.js is no longer providing the `Chart.bundle.js` and `Chart.bundle.min.js`. ### Options +* The dataset option `tension` was renamed to `lineTension` * `scales.[x/y]Axes.barPercentage` was moved to dataset option `barPercentage` * `scales.[x/y]Axes.barThickness` was moved to dataset option `barThickness` * `scales.[x/y]Axes.categoryPercentage` was moved to dataset option `categoryPercentage` diff --git a/src/controllers/controller.line.js b/src/controllers/controller.line.js index 41066c011..59793279e 100644 --- a/src/controllers/controller.line.js +++ b/src/controllers/controller.line.js @@ -82,11 +82,6 @@ module.exports = DatasetController.extend({ // Update Line if (showLine) { - // Compatibility: If the properties are defined with only the old name, use those values - if (config.tension !== undefined && config.lineTension === undefined) { - config.lineTension = config.tension; - } - // Utility line._datasetIndex = me.index; // Data