]> git.ipfire.org Git - thirdparty/Chart.js.git/commit
Add chart data property setter and unit tests
authorSimon Brunel <simonbrunel@users.noreply.github.com>
Sat, 11 Feb 2017 15:02:15 +0000 (16:02 +0100)
committerEvert Timberg <evert.timberg+github@gmail.com>
Sat, 18 Feb 2017 16:53:39 +0000 (11:53 -0500)
commitcc90c5c643b4965edcb67c31da9f1eded9d2aabb
treebcd923c73e1cf2f9a32fa1db997df10b3e819ce2
parent85ee592b2a93950bf22503f0e5951627afda5d5e
Add chart data property setter and unit tests

Chart data can now be entirely replaced using `chart.data = {...}` thanks to the new property setter (instead of using `chart.config.data = {}`). Also update the documentation, as suggested by @ldaguise and @kennethkalmer, with a note about versions prior 2.6.
docs/09-Advanced.md
src/core/core.controller.js
test/controller.bar.tests.js
test/core.controller.tests.js
test/core.tooltip.tests.js