From: Vanderhoven Nick Date: Wed, 25 May 2016 09:03:50 +0000 (+0200) Subject: This fixes documentation issue #2628 X-Git-Tag: v2.1.4~4^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2629%2Fhead;p=thirdparty%2FChart.js.git This fixes documentation issue #2628 --- diff --git a/docs/02-Line-Chart.md b/docs/02-Line-Chart.md index e4895083b..92736614d 100644 --- a/docs/02-Line-Chart.md +++ b/docs/02-Line-Chart.md @@ -128,9 +128,11 @@ new Chart(ctx, { type: 'line', data: data, options: { - xAxes: [{ - display: false - }] + scales: { + xAxes: [{ + display: false + }] + } } }); // This will create a chart with all of the default options, merged from the global config,