Commit graph

27 commits

Author SHA1 Message Date
Mark Abbott
ff14f2a659 Small change to drawing code to make sure if labels overlap, it is attempted on the next loop 2012-03-13 23:46:35 +00:00
Mark Abbott
16db900413 Fixed problem with performance improvement
- Relabelled variables to make them more meaningful
- Fixed bug with the way that the pointsPerPixel was calculated
2012-03-13 23:35:17 +00:00
Mark Abbott
bfb1e71193 Fixed performance issue with data ranges with a large span of values 2012-03-13 22:06:49 +00:00
Olly Smith
bcc034e152 Units labels. Fix commas for negative hundreds. 2012-03-08 20:50:43 +00:00
Olly Smith
4fb43d5d37 Support for negative numbers. 2012-03-08 20:03:45 +00:00
Olly Smith
28cb48bb36 Coffeescript non-date X values. 2012-03-06 22:05:25 +00:00
Olly Smith
35b46d15aa hideHover in coffeescript 2012-03-06 22:05:25 +00:00
Mark Abbott
b67c1b2358 Fixed bug where number of weeks was miscalculated 2012-03-04 17:03:11 +00:00
Mark Abbott
6fb708acea Added extra comments to the Coffeescript to describe the calculations that are going on 2012-03-04 17:01:09 +00:00
Mark Abbott
6be7b1904c Converted draft code to Coffeescript, and added calculation for number of weeks in the year 2012-03-04 16:11:48 +00:00
Olly Smith
8446be205e Move jQuery wrapper into coffeescript. 2012-03-01 08:06:38 +00:00
Olly Smith
eca4b3aba1 Sort input data (closes #10, #20). 2012-02-29 20:53:53 +00:00
Olly Smith
b3b8377c53 Fix bug when options.data.length == 2.
Closes #19
2012-02-29 08:11:01 +00:00
Olly Smith
0453724887 Accept DOM element in options.element (closes #11). 2012-02-28 22:00:08 +00:00
Olly Smith
dc0a34dcbb Refactor path drawing. 2012-02-28 21:27:33 +00:00
Olly Smith
8da7935d8e Merge branch 'master' of https://github.com/scockram/morris.js into scockram-master 2012-02-28 21:15:31 +00:00
Olly Smith
7a72eb3ed3 Simplify $.extend call. 2012-02-28 21:06:55 +00:00
Steve Cockram
3371209ab8 Added option to draw straight lines 2012-02-28 13:30:52 +00:00
Mickele Moriconi
d059c3acaf Clone @default options object before merging it 2012-02-28 13:12:46 +01:00
Olly Smith
8d6cb3ee8e Add ymax 'auto $min' support. 2012-02-28 08:20:41 +00:00
Emil Loer
3b4934003e add option to set maximum y value 2012-02-28 00:25:53 +01:00
Olly Smith
99aafd3ed8 Add minified build output. Make 'new' optional on Morris.Line. 2012-02-26 00:28:58 +00:00
Olly Smith
40f336e8bc Fix date-parsing bug. 2012-02-26 00:11:29 +00:00
Olly Smith
9350b63d18 Add YYYY-MM-DD support. 2012-02-23 22:27:26 +00:00
Olly Smith
b8302f24b9 Roughly complete coffeescript port. Still ugly though. 2012-02-23 21:59:45 +00:00
Olly Smith
0514145522 Add a vim modeline so I don't go crazy if I edit something at work. 2012-02-23 08:16:42 +00:00
Olly Smith
f729b1530a CoffeeScript re-write. Has a working plot, but so far no hover labels. 2012-02-23 08:11:31 +00:00