From: Zach Panzarino Date: Tue, 31 May 2016 17:50:02 +0000 (+0000) Subject: Fix doc syntax (#2673) X-Git-Tag: v2.1.5~24^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2678%2Fhead;p=thirdparty%2FChart.js.git Fix doc syntax (#2673) --- diff --git a/docs/02-Scales.md b/docs/02-Scales.md index 73ff651c3..83e52d49e 100644 --- a/docs/02-Scales.md +++ b/docs/02-Scales.md @@ -190,14 +190,16 @@ var chartInstance = new Chart(ctx, { type: 'line', data: data, options: { - xAxes: [{ - type: 'logarithmic', - position: 'bottom', - ticks: { - min: 1, - max: 1000 - } - }] + scales: { + xAxes: [{ + type: 'logarithmic', + position: 'bottom', + ticks: { + min: 1, + max: 1000 + } + }] + } } }) ```