Commit Graph

25 Commits

Author SHA1 Message Date
Olly Smith
6787fa7cff WIP: HTML hover refactor.
- Morris.Hover now encapsulates the hover object, with no graph-specific
  code.
- Tests for Morris.Hover.
- Add chai-jquery to test suite.
2012-12-07 19:04:21 +00:00
Olly Smith
8080000a56 Merge branch 'master' into html-hover
Conflicts:
	lib/morris.line.coffee
	morris.js
	morris.min.js
2012-12-04 22:06:53 +00:00
Olly Smith
0068e54c4b Fix createPath bug. 2012-12-04 21:31:13 +00:00
Olly Smith
cf9d10b9dc Merge branch 'master' into html-hover
Conflicts:
	morris.min.js
2012-12-03 21:39:03 +00:00
Olly Smith
d41bea2e23 Refactor.
- Test paths as rendered in SVG.
- More exact unit tests for createPath.
- Catch some more edge case bugs in createPath.
- Refactor createPath to handle null values better.
2012-12-03 08:39:13 +00:00
Christopher Erin
6d14aa831d filled out tests for createPath and generatePaths. refactored code to allow for jagged/broken lines and to pass tests. 2012-11-29 16:28:27 -06:00
Olly Smith
370edd2e2e Unit test stubs. 2012-11-29 08:18:14 +00:00
Marcin Chwedziak
9bdabf1d0d first version of hover refactored to be 100% html 2012-11-18 20:02:46 +01:00
Olly Smith
25698d6664 Decade intervals for time-axis labels. 2012-11-08 17:18:23 +00:00
Olly Smith
2a2a849ebd Tests for bar colours. 2012-11-08 15:21:33 +00:00
Olly Smith
25906c1635 Add sinon.js 2012-11-08 12:54:57 +00:00
Olly Smith
16b88ba1de Make hover a *teensy* bit clearer. 2012-10-27 18:31:21 +01:00
Olly Smith
e76f6c8e0a Loads more specs. 2012-10-25 18:51:30 +01:00
Olly Smith
5776c44d60 Improved support for empty charts. 2012-10-25 09:19:37 +01:00
Olly Smith
5ae2dfc478 Start building up the spec coverage. Fix hover label bug (yay, specs!) 2012-10-25 08:23:20 +01:00
Olly Smith
69f949b132 Refactor spec runner, update to newer mocha. 2012-10-25 07:51:13 +01:00
Olly Smith
1aca098694 MUCH simpler internal code. 2012-10-23 09:15:21 +01:00
Olly Smith
3b5ff1a47e Update spec for new exception. 2012-10-22 07:12:44 +01:00
Olly Smith
1d4c7f0d65 Custom dateFormat for string x-values. #90 2012-10-19 10:20:22 +01:00
Sam Figueroa
528a205257 Add ability to customize point fill 2012-10-09 19:06:06 +02:00
Sam Figueroa
0d42a6f026 Add ability to customize points in a series 2012-10-09 17:27:15 +02:00
Olly Smith
c1deb0d5ca Spec support reshuffle. 2012-09-01 17:14:05 +01:00
Olly Smith
7415d6266c Tidy up specs. 2012-09-01 12:12:36 +01:00
Olly Smith
eacbc01149 Fix #66. 2012-07-03 07:34:42 +01:00
Olly Smith
07716fadd0 WIP Mocha tests. 2012-06-26 07:15:54 +01:00