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 + } + }] + } } }) ```