Jelte Fennema
1074ec41d3
Src attribute of a row gets passed to the barColors function as well
2014-08-12 18:36:19 +02:00
Olly Smith
bce2c80fde
Support different jQuery package paths for travis builds.
2014-06-14 10:13:31 +01:00
Olly Smith
aca2438c00
Merge pull request #297 from sudodoki/feature/vertical_grid
...
feature: configurable vertical segments
2014-06-14 08:07:32 +01:00
Olly Smith
8f8aa35e3b
(Finally) deprecate continuousLine option.
2014-05-05 21:38:39 +01:00
Olly Smith
3063cf5688
Fix specs.
2014-03-19 20:55:54 +00:00
Alexander Simonov
0f602d116b
Removing third_party folder. Using cdn links in examples. Using bower.js for deps. Build matrix for Travic-CI.
2014-02-02 19:15:26 +02:00
sudodoki
e3e50aac93
Implement #311 : feature - bar max width
2014-01-30 01:57:57 +02:00
sudodoki
e8d84dca09
feature: configurable vertical segments
2013-11-16 01:53:37 +02:00
Olly Smith
063957657c
Add perceptual diffs.
...
Uses perceptualdiff to catch regressions / changes in charts as they are
displayed by a browser (in this case, phantomjs).
Currently has exemplaries for basic line, area, bar and stacked bar
charts.
2013-11-10 22:09:01 +00:00
Olly Smith
c07222445c
setData() method for Morris.Donut.
...
Fixes #211
2013-11-09 19:53:50 +00:00
Olly Smith
221c83781d
Tidy up.
...
- The options namespace should stay flat - no nested config values.
- Used single array literal instead of chained Array.concats.
- Added default values to config defaults, instead of using default
method arguments.
- Tweaked spec.
2013-11-09 17:23:07 +00:00
Olly Smith
415476f7ca
Merge branch 'feature/rounded_corners' of https://github.com/sudodoki/morris.js into sudodoki-feature/rounded_corners
2013-11-09 16:56:32 +00:00
Olly Smith
c1264caa61
Use local third-party javascript for examples.
...
Move scripts from spec/lib into third_party, update references.
2013-11-09 16:50:32 +00:00
sudodoki
ca371d112a
feature: round-corners for bars in barchart
2013-10-25 23:54:18 +03:00
Olly Smith
0e8c0f49b6
Merge branch, and merge with previous changes.
...
Previous point-width work by other contributors conflicted, so have tied
the two changes and sets of tests together. Have also slightly changed
some variable / config names to read easier.
Merge branch 'master' of https://github.com/dgilperez/morris.js into dgilperez-master
Conflicts:
lib/morris.line.coffee
morris.js
morris.min.js
2013-10-12 13:58:10 +01:00
Olly Smith
d889eb6268
Merge pull request #257 from mathieubigorne/master
...
pointSize attribute should accept an array of values
2013-10-12 05:35:34 -07:00
David Gil
c613aeb988
make line widths customizable
2013-08-20 02:38:48 +02:00
Mathieu Bigorne
ace9fafaa6
pointSizes accepts an array of value, one per serie
2013-07-02 12:10:25 +02:00
dhoko
b192a00d68
Add week in label_specs
2013-06-04 21:38:35 +02:00
Olly Smith
ee004b6c12
Merge branch '199-area' of https://github.com/tiraeth/morris.js
...
Conflicts:
morris.min.js
2013-04-01 21:05:22 +01:00
Olly Smith
6d6e07b2aa
Better automatic y-labelling.
2013-04-01 20:35:27 +01:00
Marcin Chwedziak
3c9fff0aa0
#199 , added behaveLikeLine and fillOpacity options, refactored morris.line to separate line and point draw operation
2013-03-31 20:16:35 +02:00
Olly Smith
5e240e64fe
WIP: interval improvements
2013-03-29 11:48:24 -07:00
Olly Smith
481401c3b7
No need to bail any more when initialising with no data.
2013-02-06 07:40:25 +00:00
Olly Smith
811dc87d8b
Hide chart when setData is passed empty or null array. ( Fixes #142 )
2013-02-06 07:35:54 +00:00
Olly Smith
24306b8b00
Merge pull request #144 from chriserin/refactor_ybounds
...
break the ymin/ymax logic out into one method
2013-01-24 15:56:45 -08:00
Christopher Erin
32b06226c2
draw functionality broken out into methods on each class
2012-12-31 12:09:38 -06:00
Christopher Erin
14c56165c6
encapsulate all interaction with raphael. Reuse some methods. Write tests for all svg structural elements and attributes
2012-12-30 13:29:26 -06:00
Christopher Erin
80e81894be
add tests for svg output
2012-12-30 11:58:57 -06:00
Christopher Erin
4f70a38f1a
break the ymin/ymax logic out into one method
2012-12-27 16:11:25 -06:00
Olly Smith
0662095c29
Reduce number of options on yLabelFormatter.
2012-12-20 08:05:24 +00:00
Olly Smith
ecabc8976b
Merge branch 'issue-138' of github.com:tiraeth/morris.js
...
Conflicts:
lib/morris.grid.coffee
morris.js
morris.min.js
2012-12-20 08:02:13 +00:00
Marcin Chwedziak
381be72f61
non-invasive solution for #138 , with mache:spec
2012-12-13 22:31:13 +01: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
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