From: LeeLenaleee <39033624+LeeLenaleee@users.noreply.github.com> Date: Sat, 19 Dec 2020 07:52:27 +0000 (+0100) Subject: Update showLine location in defaults (#8199) X-Git-Tag: v3.0.0-beta.8~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e529775d5ed82c431e60fc8ef5c64b39ff0c69d8;p=thirdparty%2FChart.js.git Update showLine location in defaults (#8199) Current defaults was wrong. Working example: https://jsfiddle.net/Leelenaleee/vL7d6yp0/5/ --- diff --git a/docs/docs/configuration/index.md b/docs/docs/configuration/index.md index 68f161fe1..7abba9e83 100644 --- a/docs/docs/configuration/index.md +++ b/docs/docs/configuration/index.md @@ -50,7 +50,7 @@ The following example would set the `showLine` option to 'false' for all line da ```javascript // Do not show lines for all datasets by default -Chart.defaults.datasets.line.showLine = false; +Chart.defaults.controllers.line.showLine = false; // This chart would show a line only for the third dataset var chart = new Chart(ctx, {