Commit Graph

196 Commits

Author SHA1 Message Date
Olly Smith
8b06d9972d Merge pull request #134 from oesmith/html-hover
Hover refactor (work in progress)
2012-12-19 14:40:18 -08:00
Olly Smith
a620eec75d Fix hover position for area charts. 2012-12-19 22:35:49 +00:00
Olly Smith
a23eb0792c hoverCallback option. 2012-12-19 22:23:36 +00:00
Olly Smith
d308cb04be Hover in bar charts. 2012-12-17 20:08:39 +00:00
Olly Smith
5a31deda53 Getting there... (for line charts, at least). 2012-12-14 22:31:31 +00:00
Olly Smith
7ea84dda7f Hover element for line charts (still needs refactoring...) 2012-12-13 19:09:50 +00:00
Olly Smith
77ee0468e6 WIP: connecting hover object to grid subclasses. 2012-12-11 22:00:22 +00:00
Olly Smith
e0691b93d3 Smarter hover placement. 2012-12-11 18:25:18 +00:00
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
ff9856e8e9 Fix hover on broken lines. 2012-12-04 21:42:43 +00:00
Olly Smith
0068e54c4b Fix createPath bug. 2012-12-04 21:31:13 +00:00
Olly Smith
e8c6ba89c8 WIP: re-organising. 2012-12-04 19:12:34 +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
0bce4d3076 Merge branch 'broken-lines'
Conflicts:
	morris.min.js
2012-12-03 17:46:52 +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
Olly Smith
a8ca88e583 Merge branch 'morris-hover' of https://github.com/tiraeth/morris.js into html-hover
Conflicts:
	lib/morris.bar.coffee
	morris.js
	morris.min.js
2012-12-02 22:23:59 +00:00
Olly Smith
691bd8d017 Merge pull request #120 from dynaum/master
Adding support to stacked bars
2012-12-02 13:06:53 -08:00
Christopher Erin
b0e99f7ca9 default continuousLine to true for backwards compat 2012-11-29 16:34:04 -06: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
Christopher Erin
ee6cbd8eac replace array.filter with list comprehension 2012-11-29 12:27:21 -06:00
Olly Smith
370edd2e2e Unit test stubs. 2012-11-29 08:18:14 +00:00
Elber Ribeiro
5c5e882c6b Adding new example file to staked bars 2012-11-26 14:47:36 -02:00
Elber Ribeiro
71bb498c05 generating min js 2012-11-20 10:51:26 -02:00
Elber Ribeiro
4773f909a8 Adding support to stacked bars 2012-11-19 23:23:11 -02:00
Marcin Chwedziak
9bdabf1d0d first version of hover refactored to be 100% html 2012-11-18 20:02:46 +01:00
Christopher Erin
10826cbfc0 discontinuous line in cases where null data values should be represented by no line rather than a line connecting only the coords with data. 2012-11-13 17:42:01 -06: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
236afa4003 Define bar colors with a function. 2012-11-06 08:18:19 +00:00
Olly Smith
d6b955af02 Tidy up use of "is/isnt null" using ? operator. 2012-11-06 07:48:29 +00:00
Olly Smith
b233059e8d Replace $.map with coffeescript for-loops. 2012-11-06 07:36:36 +00:00
Olly Smith
93fa8df7b8 Merge pull request #108 from tiraeth/fix-107
Fixes #107, passes data row to formatter function as second param
2012-11-05 12:44:48 -08:00
Marcin Chwedziak
c279b9b0b1 fixes #107, passes data row to formatter function to allow user make usage of it 2012-11-05 19:55:08 +01:00
Olly Smith
8faced7668 Couple of quick fixes. 2012-11-03 14:08:57 +00:00
Olly Smith
0dc74db428 Merge branch 'grid-parallel-lines' of https://github.com/tiraeth/morris.js into tiraeth-grid-parallel-lines 2012-11-03 13:51:47 +00:00
Olly Smith
41e52815c3 Bower! 2012-11-02 19:12:51 +00:00
tiraeth
38a1cdd9ec Added value goals and time events. 2012-11-01 20:17:04 +01:00
Olly Smith
df9eb94464 v0.3.3 Changelog. 2012-11-01 00:53:38 -07:00
Olly Smith
e4f4594fab Back-to-basics bar chart. 2012-10-31 21:58:26 +00:00
Olly Smith
5ee5ffe824 Revert paddings. 2012-10-31 20:14:39 +00:00
tiraeth
69f932d9e6 Morris.Bar + additional updates to Morris.Grid for bars handling 2012-10-31 20:38:09 +01:00
Olly Smith
54c7e3f4c1 Update README for v0.3.2. 2012-10-28 21:27:36 +00:00
Olly Smith
5192f678dc *really* fix hover placing. 2012-10-28 21:22:10 +00:00
Olly Smith
a8d60d03fe Fix hover placing when nil values present. 2012-10-28 20:39:56 +00:00
Olly Smith
a03926897b Label x-axis from right to left. 2012-10-28 20:30:48 +00:00
Olly Smith
df63f19358 Reverse hover order for area charts. 2012-10-28 19:50:38 +00:00
Olly Smith
f72b14f619 Initial area charts. 2012-10-28 18:55:37 +00:00
Olly Smith
16b88ba1de Make hover a *teensy* bit clearer. 2012-10-27 18:31:21 +01:00