Evert Timberg
73bc52f196
Update radial linear tests
2016-04-28 18:28:57 -04:00
Evert Timberg
9fe9305992
Reenable time scale tests
2016-04-27 21:50:31 -04:00
Evert Timberg
7aa1463c15
Remove bad tests from linear scale
2016-04-27 21:24:13 -04:00
Evert Timberg
5c146a9da5
Linear scale tests
2016-04-27 21:19:02 -04:00
Evert Timberg
2253e84c47
Numerical improvements to matcher
2016-04-27 19:46:15 -04:00
Evert Timberg
1e066ea5de
Minor test fix
2016-04-27 19:04:00 -04:00
Evert Timberg
405fda6655
Fix radar tests & reenable. support new lineTension attribute like line controller
2016-04-27 19:03:52 -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
Evert Timberg
450a08420b
Merge pull request #2371 from chartjs/fix-time-scale-cutoff-bug
...
Time scale now compensates for rounded tick units
2016-04-27 15:39:02 -04:00
Simon Brunel
eb14481d02
Fix legend tests and disable other failing tests
2016-04-27 19:58:36 +02:00
Simon Brunel
a93b3f45ac
Fix helpers, layoutService and logarithmic tests
2016-04-26 22:44:53 +02: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
Simon Brunel
8b156bdc98
New toBeCloseToPixel jasmine matcher
...
Because of differences between testing platforms, introduce a new matcher for (floating) pixel values comparison (currently 2 pixels tolerance).
2016-04-26 12:46:33 +02:00
Simon Brunel
886956441e
New test helpers to acquire and release charts
...
Since we changed the way how meta data are stores, now unit tests need to work on real Chart instances. This commit brings some helpers to inject/cleanup HTML canvas and it's wrapper into/from the DOM.
2016-04-26 12:46:31 +02:00
Tanner Linsley
da90e2f670
Time scale now compensates for rounded tick units
...
Closes #2277
2016-04-25 17:48:21 -05:00
Jannis Achstetter
75676019a1
Add testcases for the consistent dataset-specific option names "pointRadius" and "pointHitRadius"
2016-04-21 15:39:19 +02:00
Jannis Achstetter
add9f8c3a4
Add a testcase for the new option name "lineTension"
2016-04-21 09:41:27 +02:00
Jannis Achstetter
b0c1e9cb69
"tension" is a property of the line, not of the point
2016-04-21 09:17:51 +02:00
Jannis Achstetter
6fcec4273e
Fix test/defaultConfig.tests.js after PR #2308
2016-04-20 16:02:05 +02:00
Evert Timberg
d131e7d07a
Use apply instead of call so that the animation easing can be passed to the draw callbacks
2016-04-17 12:25:47 -04:00
Evert Timberg
16570b0c0c
Plugin system + tests
2016-04-17 12:02:33 -04:00
Evert Timberg
7c7739c25f
Merge pull request #2276 from nnnick/fix/2229
...
Improved sizing when grid lines are not display
2016-04-17 10:38:45 -04:00
Evert Timberg
1a49872ce4
More prework for zoom/pan
2016-04-17 10:33:38 -04:00
Evert Timberg
73b6198d24
Fix tests
2016-04-17 08:54:27 -04:00
Evert Timberg
ca461479a8
Update docs
2016-04-16 21:50:45 -04:00
Evert Timberg
fac92448ff
Update tests for new config option
2016-04-16 21:49:08 -04:00
Evert Timberg
b50c281684
Merge pull request #2273 from mdehoog/doughnut-rotation
...
Added unit test for doughnut rotation/circumference, fix for rotation = 0
2016-04-16 19:21:58 -04: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
Tanner Linsley
4f60eecc01
Better default tick rotation and tick autoskip settings ( #2258 )
...
* Better default tick rotation and tick autoskip settings
* scale.time: Use ctx to measure label, and <= instead of < for unit fitting
* Test Changes
* Passing Tests with new defaults
2016-04-16 17:38:03 -05:00
Tom Duncalf
0c854dd40c
Allow gradients to be used as colors without causing errors when e.g. calling the color helper to generate the defualt colour value for hover
2016-04-13 09:46:39 +01:00
Evert Timberg
d5fd737058
Merge pull request #2206 from nnnick/fix/constraint-width-percent
...
Allow percentages as the max-width/max-height of the container
2016-04-03 13:18:06 -04:00
Evert Timberg
9ee70d6d48
Category scale supports min / max
2016-04-02 23:05:48 -04:00
Evert Timberg
b6d7ceba1c
Add initial implementation of constraint percentage width / height support. Added tests for dom sizing methods.
2016-04-01 23:11:01 -04:00
Evert Timberg
cefaef4707
Fix tests
2016-03-26 10:49:02 -04:00
etimberg
21a33f0e41
Better conversion to ticks to make it easier to use callbacks
2016-03-16 19:39:09 -04:00
Ivan Samoylenko
f5bb8e25d5
Fixed bar.controller tests
2016-03-13 19:10:49 +03:00
Ivan Samoylenko
81e1448836
Added 'borderSkipped' parameter to Rectangle.
2016-03-13 18:58:36 +03:00
Evert Timberg
a87ebe0841
Fix test for time zone difference
2016-03-05 23:16:25 -05:00
Evert Timberg
c3f765857e
Fix some time rounding problems
2016-03-05 22:58:34 -05:00
Matthias Winkelmann
9410eaabbf
fixed timezone bug in test
2016-03-02 16:51:48 +01:00
Matthias Winkelmann
fc46e25f23
fixed test and added a test for a custom date parser
2016-03-02 16:40:58 +01:00
Evert Timberg
8d5b3809f6
Fix global font settings
2016-02-28 13:41:17 -05:00
Evert Timberg
04e6926961
Fix bar chart and doughnut chart animations
2016-02-27 12:32:20 -05:00
Tanner Linsley
ee81d4a804
Reversible Legends
...
Legends can now be reversed with the `reversed: true` property.
2016-02-17 12:42:09 -07:00
Tanner Linsley
ac5be9bde2
Proper line and bar stacking order
...
Stacked line and bar charts now behave predictably with the first
dataset on the bottom stacked upwards.
2016-02-17 12:41:32 -07:00
Evert Timberg
309ab1f477
Disable autoskipper for time scales
2016-02-15 09:41:35 -05:00
Evert Timberg
37b3fb5d6c
Legend tests + fix minor bug where padding was not taken into account when going down to the next line
2016-02-15 09:23:31 -05:00
Evert Timberg
e589734cbb
Title block tests
2016-02-14 18:04:12 -05:00
Evert Timberg
61ca178e2b
Write an almost equals function and use it in the linear scale. Added a test for this new function.
2016-02-06 09:38:44 -05:00