diff --git a/samples/advanced/line-gradient.html b/samples/advanced/line-gradient.html index b60a17a27..bbbd08259 100644 --- a/samples/advanced/line-gradient.html +++ b/samples/advanced/line-gradient.html @@ -82,20 +82,20 @@ intersect: true }, scales: { - xAxes: [{ + x: { display: true, scaleLabel: { display: true, labelString: 'Month' } - }], - yAxes: [{ + }, + y: { display: true, scaleLabel: { display: true, labelString: 'Value' } - }] + } } } }; diff --git a/samples/scales/axes-labels.html b/samples/scales/axes-labels.html index da9c76e62..66bad81b2 100644 --- a/samples/scales/axes-labels.html +++ b/samples/scales/axes-labels.html @@ -76,7 +76,7 @@ intersect: true }, scales: { - xAxes: [{ + x: { display: true, scaleLabel: { display: true, @@ -88,8 +88,8 @@ fontStyle: 'bold', padding: {top: 20, left: 0, right: 0, bottom: 0} } - }], - yAxes: [{ + }, + y: { display: true, scaleLabel: { display: true, @@ -101,7 +101,7 @@ fontStyle: 'normal', padding: {top: 30, left: 0, right: 0, bottom: 0} } - }] + } } } }; diff --git a/samples/scales/gridlines-scriptable.html b/samples/scales/gridlines-scriptable.html index 447114920..306467f84 100644 --- a/samples/scales/gridlines-scriptable.html +++ b/samples/scales/gridlines-scriptable.html @@ -44,7 +44,7 @@ text: 'Grid Line Settings' }, scales: { - yAxes: [{ + y: { gridLines: { drawBorder: false, color: function(context) { @@ -57,7 +57,7 @@ return '#000000'; }, }, - }] + } } } };