Zach Panzarino
766ca49cd0
Extend eslint to test files ( #3473 )
...
* Add eslint to test files
* Fix mockContext for tests
* Make formatting look better for nested objects
2016-10-16 17:34:59 -04:00
Simon Brunel
4901471445
Automatically expose custom Jasmine matchers
2016-09-08 23:32:47 +02:00
Simon Brunel
efb82d93d8
Auto-release charts if not persistent (tests)
...
For convenience, charts are now automatically released after each spec if they are not acquired using `persistent: true`. Also remove the confusing and error prone `chartInstance` global variable and make sure that chart instances are local to each spec.
2016-09-08 23:32:43 +02:00
Evert Timberg
a5167cc42d
Reduce duplicated code in doughnut controller
2016-05-30 21:33:11 -04:00
Evert Timberg
1e066ea5de
Minor test fix
2016-04-27 19:04:00 -04:00
Evert Timberg
34992bc4cb
Fix doughnut test
2016-04-27 17:40:56 -04:00
Evert Timberg
03fb66751f
Make animation options consistent for polar area and doughnut charts ( #2342 )
...
* Make animation options consistent and fix an issue when `animateRotate === false` in the polar area chart
* Update docs for moved options
* Fix typo
2016-04-27 16:07:21 -05:00
Simon Brunel
e0353dac98
Fix bar, bubble, doughnut, and polarArea tests
...
Also replace the 2 spaces indentation in controller.bar.tests.js by tabs to match the overall code style.
2016-04-26 12:46:34 +02:00
Michael de Hoog
241f085533
Fix for doughnut rotation = 0, added unit test for doughnut rotation/circumference properties
2016-04-17 09:16:42 +10:00
Evert Timberg
04e6926961
Fix bar chart and doughnut chart animations
2016-02-27 12:32:20 -05:00
Evert Timberg
139cbe1c64
All dataset controllers now inherit from a common base class Chart.DatasetController. This makes writing external controllers much easier
2015-12-13 14:35:40 -05:00
Evert Timberg
819f865723
Merge branch 'v2.0-dev' into v2.0-legend
...
Conflicts:
src/controllers/controller.doughnut.js
2015-12-07 22:10:38 -05:00
Evert Timberg
89da20354c
Fix tests
2015-12-05 09:55:17 -05:00
Evert Timberg
38afefde25
Doughnut controller needs to obey chart area size
2015-12-04 19:22:48 -05:00
Evert Timberg
b36c8ff788
Update controllers to handle datasets that are not visible
2015-10-07 19:54:11 -04:00
Evert Timberg
416a6ac1bd
Remove unneeded functions from core controller. Updated dataset controllers to have a separate function to update the meta data for each dataset
2015-09-21 20:59:53 -04:00
Evert Timberg
8e9de00529
Doughnut controller tests
2015-08-30 14:56:48 -04:00