From e529775d5ed82c431e60fc8ef5c64b39ff0c69d8 Mon Sep 17 00:00:00 2001 From: LeeLenaleee <39033624+LeeLenaleee@users.noreply.github.com> Date: Sat, 19 Dec 2020 08:52:27 +0100 Subject: [PATCH] Update showLine location in defaults (#8199) Current defaults was wrong. Working example: https://jsfiddle.net/Leelenaleee/vL7d6yp0/5/ --- docs/docs/configuration/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, { -- 2.47.2