]> git.ipfire.org Git - thirdparty/Chart.js.git/commit
Modify layout service to be able to place horizontal boxes as either full width or...
authorEvert Timberg <evert.timberg@gmail.com>
Sat, 21 Nov 2015 15:51:32 +0000 (10:51 -0500)
committerEvert Timberg <evert.timberg@gmail.com>
Sat, 21 Nov 2015 15:51:32 +0000 (10:51 -0500)
commit7b719e6432baa2c3b6afb3647960cc157bcfeb9e
tree3e3e598bfc6b22fa9d558567511fccb7db5398f9
parent2a9b3e52217ac21a743f23ebace266962ac6c844
Modify layout service to be able to place horizontal boxes as either full width or not full width. Currently the legend is the only full width box we have. Scales were modified so as not to be full width, however Core.Scale can handle boxes that are full width.

Updated unit tests to use correct 'boxes' property of chart instance. Tests did not require numerical updates!

Added a test to cover placing a full width box.
src/core/core.layoutService.js
src/core/core.legend.js
src/core/core.scale.js
src/scales/scale.category.js
src/scales/scale.linear.js
test/core.layoutService.tests.js