Commit Graph

133 Commits

Author SHA1 Message Date
tiraeth
9773a697b3 added ability to set smooth parameter per series 2012-10-15 22:58:35 +02:00
Olly Smith
60eae6a697 Update README.md 2012-10-13 10:17:23 +01:00
Olly Smith
2fdf78c716 Slight tidy-up. 2012-10-13 10:16:56 +01:00
Sam Figueroa
528a205257 Add ability to customize point fill 2012-10-09 19:06:06 +02:00
Sam Figueroa
05d26c68e9 Remove debug code 2012-10-09 17:29:18 +02:00
Sam Figueroa
0d42a6f026 Add ability to customize points in a series 2012-10-09 17:27:15 +02:00
Olly Smith
7775332aeb Don't sort data when parseTime is false. Fixes #83. 2012-10-03 08:24:38 +01:00
Brian Sanders
2903d086c6 Morris.Line: separate generation of y-axis labels and hover text 2012-09-28 15:10:48 -04:00
Olly Smith
bd9f9d5580 Whoops! Fix the donut hover code. 2012-09-27 10:12:36 +01:00
Olly Smith
43019eeeaf Morris.Donut#select(idx) for selecting donut segments (ref #79). 2012-09-26 21:37:25 +01:00
Olly Smith
9bb723057f Merge branch 'master' of github.com:oesmith/morris.js
Conflicts:
	morris.min.js
2012-09-26 21:30:25 +01:00
Olly Smith
e0b406feee Don't go negative on ymin if ymin==ymax==0 (fix #80). 2012-09-26 21:29:42 +01:00
Olly Smith
a9b0e03b43 Cycle lineColors (#78)
Fixes crashes when number of series is larger than number of line colors.
2012-09-25 21:07:48 +01:00
Olly Smith
50833b0ebc Another Travis.yml tweak 2012-09-20 08:06:18 +01:00
Olly Smith
abd26559ab Travis.yml tweak 2012-09-20 08:03:35 +01:00
Olly Smith
04e103e5ab Update travis.yml 2012-09-20 07:45:04 +01:00
Olly Smith
fbe3ce8201 Formatter option for donut values (#75). 2012-09-20 07:31:31 +01:00
Olly Smith
088233d8d2 Donut charts fix. 2012-09-15 23:18:16 +01:00
Olly Smith
03ed32ef9b Update README for 0.3.0. 2012-09-15 23:11:36 +01:00
Olly Smith
4c045c30dd Some documentation tweaks. 2012-09-15 23:05:48 +01: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
a1894707e1 Split source, tidy up a little. 2012-09-01 11:04:06 +01:00
Olly Smith
b299d5eb40 WIP: Donut charts. 2012-08-27 22:39:16 +01:00
Olly Smith
8d7522a2f0 Fixes #71. 2012-08-17 13:23:59 +01:00
Olly Smith
eacbc01149 Fix #66. 2012-07-03 07:34:42 +01:00
Olly Smith
5f0e65c279 Issue number whoops. 2012-06-26 08:14:30 +01:00
Olly Smith
aeee587c26 v0.2.10 bump. 2012-06-26 08:00:14 +01:00
Olly Smith
d8538d448b Testing #65. 2012-06-26 07:54:04 +01:00
Olly Smith
67251e854b Merge branch 'master' of https://github.com/dump247/morris.js into dump247-master
Conflicts:
	morris.min.js
2012-06-26 07:51:46 +01:00
Olly Smith
2c81ad7e9d Update developer docs for grunt. 2012-06-26 07:47:36 +01:00
Olly Smith
aa6a1d069d Travis tweakage. 2012-06-26 07:43:51 +01:00
Olly Smith
ddefda0016 Update travis config. 2012-06-26 07:36:58 +01:00
Olly Smith
fae93b151c Package for installing dev/test dependencies. 2012-06-26 07:32:36 +01:00
Olly Smith
07716fadd0 WIP Mocha tests. 2012-06-26 07:15:54 +01:00
Cory Thomas
df2925d9e8 Compiled coffee script and uglified 2012-06-18 14:09:27 -05:00
Cory Thomas
a220fb6f4a Pulled up map call to resolve issue with nulls in coordinate lists
createPath fails if the list contains 0 or 1 coordinate and multiples nulls
2012-06-18 14:04:29 -05:00
Olly Smith
67525d5735 Switch to mocha. 2012-06-10 21:39:00 +01:00
Olly Smith
046903cd6f Title. 2012-06-10 19:48:12 +01:00
Olly Smith
cfd8e6ceb9 Better updating data example. 2012-06-10 19:21:40 +01:00
Olly Smith
dd4f531ddf Update example. 2012-06-10 18:30:51 +01:00
Olly Smith
68aca2cde4 Updating datasets.
Use setData() function to update dataset.
2012-06-10 18:28:36 +01:00
Olly Smith
acfec20bcf Make sure x-axis labels don't overflow.
Fixes #63.
2012-06-08 22:39:06 +01:00
Olly Smith
0015b28ef2 Tidy up decimal grids intervals a little. 2012-06-08 21:47:43 +01:00
Olly Smith
380cc5217a Merge branch 'decimal' of https://github.com/pelletier/morris.js into pelletier-decimal
Conflicts:
	morris.min.js
2012-06-08 21:42:10 +01:00
Olly Smith
79575dce97 Fix string values. 2012-06-08 21:37:27 +01:00
Olly Smith
aa67b1a305 Bugfix: zero value regression (#59). 2012-05-15 22:39:37 +01:00
Thomas Pelletier
e329928bdc Move the formatting into yLabelFormat.
In order to let the user to get rid of the precision, she can provide a custom
yLabelFormat funciton.
2012-05-14 11:10:50 +01:00
Thomas Pelletier
7def73fbf6 Compute the maxYLabelWith using the precision.
As I introduced the precision, the maxYLabelWith is not the width of the raw
value but the width of the formatted one.

As the computing the of maxYLabelWidth is done in calc(), I moved yInterval in
it because I need it to compute the precision. Also I think it makes more sense,
because the calc() method is supposed to "do any size-related calculations".
2012-05-14 11:03:12 +01:00
Thomas Pelletier
dbc114e060 Add simple support of decimal values on the y axis. 2012-05-14 10:52:47 +01:00