From: Andrew Date: Mon, 29 May 2017 22:40:10 +0000 (+0300) Subject: Implemented aligment by senior unit in time axis. (#4267) X-Git-Tag: v2.7.0~1^2~103 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f7f177f5ade62a0969596bdfff773b404425047d;p=thirdparty%2FChart.js.git Implemented aligment by senior unit in time axis. (#4267) Implemented alignment by major unit in the time scale. This allows showing the first tick of a larger unit like days in a special way and is part of the basis of the time series scale. --- diff --git a/samples/scales/time/line-point-data.html b/samples/scales/time/line-point-data.html index 0a221624b..e28f883f2 100644 --- a/samples/scales/time/line-point-data.html +++ b/samples/scales/time/line-point-data.html @@ -77,10 +77,10 @@ }, options: { responsive: true, - title:{ - display:true, - text:"Chart.js Time Point Data" - }, + title:{ + display:true, + text:"Chart.js Time Point Data" + }, scales: { xAxes: [{ type: "time", diff --git a/samples/scales/time/line.html b/samples/scales/time/line.html index 221354f9e..0cca931e0 100644 --- a/samples/scales/time/line.html +++ b/samples/scales/time/line.html @@ -28,7 +28,7 @@