From: Evert Timberg Date: Sun, 20 Sep 2015 23:25:17 +0000 (-0400) Subject: Update sample files X-Git-Tag: 2.0.0-alpha4~16^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ba0fc3e08de90953a04557c3c6f9681f60922a9;p=thirdparty%2FChart.js.git Update sample files --- diff --git a/samples/line-logarithmic.html b/samples/line-logarithmic.html index 8a249ba96..21159e6ee 100644 --- a/samples/line-logarithmic.html +++ b/samples/line-logarithmic.html @@ -58,11 +58,19 @@ responsive: true, scales: { xAxes: [{ - display: true + display: true, + scaleLabel: { + show: true, + labelString: 'x axis' + } }], yAxes: [{ display: true, - type: 'logarithmic' + type: 'logarithmic', + scaleLabel: { + show: true, + labelString: 'y axis' + } }] } } diff --git a/samples/line-time-scale.html b/samples/line-time-scale.html index b4b0f7edd..3fc97b52b 100644 --- a/samples/line-time-scale.html +++ b/samples/line-time-scale.html @@ -73,10 +73,18 @@ tick: { format: 'MM/DD/YYYY HH:mm', // round: 'day' + }, + scaleLabel: { + show: true, + labelString: 'Date' } }, ], yAxes: [{ - display: true + display: true, + scaleLabel: { + show: true, + labelString: 'value' + } }] }, elements: { diff --git a/samples/line.html b/samples/line.html index 28171cdea..192702888 100644 --- a/samples/line.html +++ b/samples/line.html @@ -58,10 +58,18 @@ responsive: true, scales: { xAxes: [{ - display: true + display: true, + scaleLabel: { + show: true, + labelString: 'Month' + } }], yAxes: [{ - display: true + display: true, + scaleLabel: { + show: true, + labelString: 'Value' + } }] } } diff --git a/samples/scatter-logX.html b/samples/scatter-logX.html index d8d00c85c..fd1451768 100644 --- a/samples/scatter-logX.html +++ b/samples/scatter-logX.html @@ -10,7 +10,7 @@
- +