Evert Timberg
b3f8a53ea5
Merge pull request #2640 from chartjs/legend-and-title-as-plugins
...
Legend and title as plugins
2016-05-27 21:19:28 -04:00
Evert Timberg
cca4c76c00
Don't use translates and rotates for drawing rotated rectangles
2016-05-26 19:38:27 -04:00
Evert Timberg
ae01f1726c
Fix tests
2016-05-26 19:22:11 -04:00
Ceane Lamerez
456ab9ca36
Fix #2574 - Add support to hide border on the chart
2016-05-17 21:35:19 +02:00
Evert Timberg
8c209405e9
Merge branch 'iso_weekday' of https://github.com/tomduncalf/Chart.js into tomduncalf-iso_weekday
...
Conflicts:
docs/01-Scales.md
2016-05-12 18:24:14 -04:00
Evert Timberg
41c043dd23
Merge branch 'master' of https://github.com/nnnick/Chart.js
...
Conflicts:
docs/01-Scales.md
2016-05-12 18:22:55 -04:00
Evert Timberg
47f770c3ef
Merge pull request #2524 from ashiguruma/master
...
Allow canvas patterns instead of colors
2016-05-12 18:20:40 -04:00
Tom Duncalf
7ee5af81af
Add labelOffset option to scales
2016-05-11 10:43:22 +01:00
Tom Duncalf
8b3d079a50
Add isoWeekday option to allow time scale ticks in 'week' unit mode to start on a specified day of the week
2016-05-11 09:44:02 +01:00
Tom Duncalf
3bef974c25
Add minRotation support
2016-05-10 12:33:36 +01:00
Tom Loudon
170fdab6a6
Removed 'background' from hover color helper name.
...
Patterns could be used for style attributes other than background e.g. stroke. Updates chartjs/Chart.js#1323
2016-05-09 07:29:52 +01:00
Tom Loudon
5866f73562
Added helper to allow a CanvasPattern for hover. Updates chartjs/Chart.js#1323
...
When a hover background isn't specified in the config for a chart a modified version of the default color is used. If the background color is a CanvasPattern object an error is triggered.
With this change the default background color will no longer be modified if it is a CanvasPattern.
2016-05-07 22:24:00 +01:00
Evert Timberg
bc505b1a9d
beginAtZero and linear scales with no data should play nice
2016-05-07 16:56:04 -04:00
Evert Timberg
fc4c23c8d2
Allow updating scale defaults
2016-05-07 11:43:24 -04:00
Evert Timberg
4068836a42
Reduce core.title.js size
2016-05-04 21:08:59 -04:00
Evert Timberg
38373300ee
Improve time scale for zoom and pan
...
* Improve time scale for zoom and pan
Improve category scale when zoomed
* Fix CI test
2016-05-01 11:40:14 -05:00
Evert Timberg
cb54f30c97
Implement getValueForPixel for category scale
2016-04-30 08:39:18 -04:00
Evert Timberg
56411bdcd4
Increase tolerance for CI
2016-04-29 20:07:42 -04:00
Evert Timberg
6df9b24ecd
Merge from feature/pan-support
...
All tests are passing
2016-04-29 20:03:15 -04:00
Evert Timberg
115358659a
Merge pull request #2411 from zachpanz88/shared-data
...
Update line tests to match new metadata system
2016-04-28 18:36:43 -04:00
Zach Panzarino
4b96acc685
Change spaces to tabs in line tests
2016-04-28 22:30:19 +00:00
Evert Timberg
73bc52f196
Update radial linear tests
2016-04-28 18:28:57 -04:00
zachpanz88
da46850ccf
Rewrite line chart tests to match new metadata structure
2016-04-28 18:21:56 -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
Evert Timberg
f613ad5c0f
Comment out tests since they seem like a moment issue
2016-04-23 20:08:00 -04:00
Evert Timberg
b4a06f6e34
Merge branch 'master' into feature/pan-support
...
Conflicts:
src/core/core.controller.js
2016-04-23 20:06:18 -04:00
Evert Timberg
c31c90b2e4
Backwards pixel to value API
2016-04-23 13:27:10 -04:00
Jannis Achstetter
75676019a1
Add testcases for the consistent dataset-specific option names "pointRadius" and "pointHitRadius"
2016-04-21 15:39:19 +02:00
Evert Timberg
bc90aaa522
Start on pan support
2016-04-21 07:48:47 -04: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