Robert Konigsberg [Fri, 15 Jun 2012 21:49:19 +0000 (17:49 -0400)]
Finish the tests for missing_points, that map to tests/independent-series.html
Robert Konigsberg [Fri, 15 Jun 2012 21:48:53 +0000 (17:48 -0400)]
More turbocharge for CanvasAssertions.
Robert Konigsberg [Fri, 15 Jun 2012 20:45:24 +0000 (16:45 -0400)]
Add some power to the canvas assertions. Also, the canvas assertions weren't actually testing attributes. Fortunately they all passed.
Robert Konigsberg [Fri, 15 Jun 2012 17:59:20 +0000 (13:59 -0400)]
The awful index-based iterators are gone, replaced with iterator objects - code is easier to understand.
Robert Konigsberg [Fri, 15 Jun 2012 17:59:11 +0000 (13:59 -0400)]
Whoops re: utils_test.
Robert Konigsberg [Fri, 15 Jun 2012 17:35:28 +0000 (13:35 -0400)]
Remove unused local variable from drawNonTrivialLine.
Robert Konigsberg [Fri, 15 Jun 2012 17:26:37 +0000 (13:26 -0400)]
Introduce Dygraph.createIterator, and use it to simplify the code in drawTrivialLine and drawNonTrivialLine. Lots o' tests.
Robert Konigsberg [Fri, 15 Jun 2012 15:21:02 +0000 (11:21 -0400)]
Add failure count to top of file.
Robert Konigsberg [Thu, 14 Jun 2012 18:16:18 +0000 (14:16 -0400)]
Mild code reduction by eliminating duplication
Robert Konigsberg [Thu, 14 Jun 2012 15:31:41 +0000 (11:31 -0400)]
Add missing_points.js to the bunch (as part of prior move .. oooops)
Robert Konigsberg [Wed, 13 Jun 2012 22:35:59 +0000 (18:35 -0400)]
Moving the new missing-points tests to their own test case.
Robert Konigsberg [Wed, 13 Jun 2012 21:27:18 +0000 (17:27 -0400)]
connectSeparatedPoints is working. This has also improved
tests/independent-series.html, which was broken with the performance
enhancement, but that's still broken.
Robert Konigsberg [Wed, 13 Jun 2012 21:13:24 +0000 (17:13 -0400)]
Document the role of makeNextPointStep.
Robert Konigsberg [Wed, 13 Jun 2012 20:42:28 +0000 (16:42 -0400)]
Properly draw separated points.
Robert Konigsberg [Wed, 13 Jun 2012 20:05:56 +0000 (16:05 -0400)]
Explain the role of NaN in connectSeparatedPoints.
Robert Konigsberg [Wed, 13 Jun 2012 18:17:57 +0000 (14:17 -0400)]
Add assertion that gets all the drawn lines.
Robert Konigsberg [Wed, 13 Jun 2012 17:30:21 +0000 (13:30 -0400)]
Merge github.com:danvk/dygraphs
Robert Konigsberg [Wed, 13 Jun 2012 17:22:21 +0000 (13:22 -0400)]
Fix bug 336. parseFloat(null) == NaN. Delightful.
Dan Vanderkam [Wed, 13 Jun 2012 15:15:44 +0000 (08:15 -0700)]
Merge pull request #153 from jzgg/master
only append ':' to html when x legend text is not empty
Robert Konigsberg [Wed, 13 Jun 2012 14:29:11 +0000 (10:29 -0400)]
Add test case which confirms regression reported in https://issuenav.googleplex.com/issues/dygraphs/336
Joshua [Wed, 13 Jun 2012 01:10:12 +0000 (21:10 -0400)]
regenerated
Joshua [Wed, 13 Jun 2012 01:06:29 +0000 (21:06 -0400)]
updated check for empty string
Joshua [Wed, 13 Jun 2012 00:57:41 +0000 (20:57 -0400)]
only add ':' to legend if x value formatter returns a value
Dan Vanderkam [Fri, 8 Jun 2012 20:15:01 +0000 (16:15 -0400)]
minor fix for push-to-web
Dan Vanderkam [Fri, 8 Jun 2012 20:11:12 +0000 (16:11 -0400)]
fix "fork me on github" image
Dan Vanderkam [Fri, 8 Jun 2012 20:08:46 +0000 (13:08 -0700)]
Merge pull request #152 from kberg/master
Significant performance improvements for large graphs
Dan Vanderkam [Fri, 8 Jun 2012 20:01:53 +0000 (16:01 -0400)]
Merge branch 'tmp_branch'
Dan Vanderkam [Fri, 8 Jun 2012 20:01:01 +0000 (16:01 -0400)]
include copyright/@license in dygraph-combined.js
Paul Felix [Fri, 8 Jun 2012 20:00:43 +0000 (16:00 -0400)]
Improvements to range selector touch event handling
Robert Konigsberg [Fri, 1 Jun 2012 15:35:41 +0000 (11:35 -0400)]
Add some tepid comments, use of local variables, etc.
Robert Konigsberg [Fri, 1 Jun 2012 15:28:53 +0000 (11:28 -0400)]
Standardize isNullOrNan.
Robert Konigsberg [Fri, 1 Jun 2012 15:01:26 +0000 (11:01 -0400)]
bhs performance enhancement base. This hits biggest bang for the buck.
On MBP, tests/dygraph-many-points-benchmark.html?points=1000&series=100&repetitions=5
graph-drawing time for 100 series of 1000 points is 137ms vs 647ms for
the baseline.
Robert Konigsberg [Tue, 29 May 2012 15:00:42 +0000 (11:00 -0400)]
Make auto_tests easier to read, and also, add easy filter for identifying failed tests.
Dan Vanderkam [Wed, 16 May 2012 21:47:24 +0000 (17:47 -0400)]
add plugins to jsTestDriver.conf
Robert Konigsberg [Tue, 15 May 2012 21:25:04 +0000 (17:25 -0400)]
Add @license tag to dygraph-combined.js
Dan Vanderkam [Mon, 14 May 2012 19:06:52 +0000 (12:06 -0700)]
Merge pull request #150 from klausw-g/axis-at-zero
Add new option "drawAxesAtZero"
Klaus Weidner [Mon, 14 May 2012 18:57:31 +0000 (11:57 -0700)]
Add new option "drawAxesAtZero"
When set, draw the X axis at the Y=0 position and the Y axis at the X=0
position if those positions are inside the graph's visible area.
Otherwise, draw the axes at the bottom or left graph edge as usual.
Dan Vanderkam [Fri, 11 May 2012 21:47:47 +0000 (14:47 -0700)]
Merge pull request #148 from klausw-g/edge-points
Add new option 'drawGapPoints'
Klaus Weidner [Fri, 11 May 2012 21:32:18 +0000 (14:32 -0700)]
Merge branch 'master' of git://github.com/danvk/dygraphs into edge-points
Klaus Weidner [Fri, 11 May 2012 21:29:43 +0000 (14:29 -0700)]
Requests from Dan's code review:
- rename the option to drawGapEdgePoints
- fix point lookup for isolated points. The code was getting the overall
points[] array and limits confused with the subset intended for the
current series.
Dan Vanderkam [Fri, 11 May 2012 18:43:10 +0000 (11:43 -0700)]
Merge pull request #149 from flooey/master
Three bug fixes
Dan Vanderkam [Fri, 11 May 2012 18:31:18 +0000 (11:31 -0700)]
Merge pull request #147 from beda42/fix_deep_copy
null should be converted into {} in deepcopy
Dan Vanderkam [Fri, 11 May 2012 18:27:19 +0000 (14:27 -0400)]
reset combined
Dan Vanderkam [Fri, 11 May 2012 18:19:29 +0000 (14:19 -0400)]
Merge branch 'resize_label' of https://github.com/beda42/dygraphs into pull146
Adam Vartanian [Thu, 10 May 2012 21:18:48 +0000 (17:18 -0400)]
setMilliseconds() doesn't return this.
Adam Vartanian [Thu, 10 May 2012 20:42:53 +0000 (16:42 -0400)]
Merge branch 'master' of git://github.com/danvk/dygraphs
Klaus Weidner [Fri, 27 Apr 2012 17:55:04 +0000 (10:55 -0700)]
Add auto test for isolated and gap points.
Klaus Weidner [Thu, 26 Apr 2012 21:10:23 +0000 (14:10 -0700)]
Add new option 'drawGapPoints'
Setting this option will draw points at the edges of gaps in the data.
It's similar to the built-in isolated point logic, but also draws
half-isolated points where only one neighbor is missing.
Beda Kosata [Thu, 26 Apr 2012 12:22:52 +0000 (14:22 +0200)]
null should be converted into {} in deepcopy - fixes turning on/off highlightSeriesOpts
Beda Kosata [Wed, 25 Apr 2012 07:25:10 +0000 (09:25 +0200)]
re-add the legend_div into the parent div after resize, otherwise it remains stuck in an non-existing parent and does not show
Dan Vanderkam [Wed, 25 Apr 2012 16:07:50 +0000 (12:07 -0400)]
chmod everything before pushing to web
Dan Vanderkam [Tue, 24 Apr 2012 21:05:12 +0000 (17:05 -0400)]
add @license tags in various places, including dygraph-combined.js
Dan Vanderkam [Mon, 23 Apr 2012 16:24:12 +0000 (12:24 -0400)]
chmod options reference
Dan Vanderkam [Fri, 20 Apr 2012 21:29:04 +0000 (17:29 -0400)]
set permissions in generate*
Dan Vanderkam [Thu, 19 Apr 2012 22:10:55 +0000 (18:10 -0400)]
Use rsync instead of scp for faster, more correct remote pushing
Dan Vanderkam [Thu, 19 Apr 2012 21:09:14 +0000 (14:09 -0700)]
Merge pull request #145 from dpwatrous/master
Stacked step plot fix
David Watrous [Wed, 18 Apr 2012 16:55:58 +0000 (12:55 -0400)]
Fixed Issue 206: stepPlot is not considered for stacked filling
Robert Konigsberg [Wed, 18 Apr 2012 16:48:26 +0000 (12:48 -0400)]
Tweak the addEvent/removeEvent code. Restore the non-object methods, and add a second one just for managing the events associated with a graph.
Dan Vanderkam [Wed, 18 Apr 2012 15:21:47 +0000 (08:21 -0700)]
Merge pull request #143 from klausw-g/plugin-tweaks
Plugin tweaks
Robert Konigsberg [Tue, 17 Apr 2012 18:56:48 +0000 (14:56 -0400)]
Tracking all event registrations, and deallocating them en masse makes
destroy() retain much less memory. e.g. in a simple case creating and
destoying the canonical demo, retains 10K less data upon destroy.
Adam Vartanian [Wed, 11 Apr 2012 18:56:38 +0000 (14:56 -0400)]
Always set milliseconds to zero when computing date tick placement, so that resulting times are exactly aligned and become dates when at 00:00.
Robert Konigsberg [Wed, 11 Apr 2012 15:30:51 +0000 (11:30 -0400)]
More fixes for code.google.com/p/dygraphs/issues/detail?id=312
Robert Konigsberg [Wed, 11 Apr 2012 15:25:29 +0000 (11:25 -0400)]
Filter out the query directory from docs. Fixes code.google.com/p/dygraphs/issues/detail?id=312
Adam Vartanian [Wed, 11 Apr 2012 15:12:28 +0000 (11:12 -0400)]
Add comments
Adam Vartanian [Wed, 11 Apr 2012 15:09:52 +0000 (11:09 -0400)]
Handle unstacking points when some points are missing properly
Adam Vartanian [Wed, 11 Apr 2012 14:47:24 +0000 (10:47 -0400)]
Merge branch 'master' of git://github.com/danvk/dygraphs
Klaus Weidner [Tue, 10 Apr 2012 23:08:32 +0000 (16:08 -0700)]
re-add 'validate eventName' TODO.
Klaus Weidner [Tue, 10 Apr 2012 23:01:55 +0000 (16:01 -0700)]
Update plugin registry
- use legend.prototype consistently for method calls, remove .call() hack
- replace the registerer with returning an event map object
Dan Vanderkam [Tue, 10 Apr 2012 22:50:18 +0000 (18:50 -0400)]
Fix small regression in behavior on plugin CSS (issue 315)
Klaus Weidner [Tue, 10 Apr 2012 22:49:46 +0000 (15:49 -0700)]
Avoid calling length on undefined if no event handlers are registered.
Dan Vanderkam [Tue, 10 Apr 2012 22:40:26 +0000 (18:40 -0400)]
fix regression on issue 152
Dan Vanderkam [Tue, 10 Apr 2012 22:38:00 +0000 (18:38 -0400)]
klaus comments on plugins
Adam Vartanian [Tue, 10 Apr 2012 22:13:32 +0000 (18:13 -0400)]
Merge branch 'master' of git://github.com/danvk/dygraphs
Dan Vanderkam [Tue, 10 Apr 2012 22:08:30 +0000 (18:08 -0400)]
Fix most warnings in tests; add support for loading (non-auto) tests to phantom-driver.js, but do not enable.
Adam Vartanian [Tue, 10 Apr 2012 22:07:09 +0000 (18:07 -0400)]
Merge branch 'master' of git://github.com/danvk/dygraphs
Conflicts:
dygraph-tickers.js
Dan Vanderkam [Sat, 7 Apr 2012 17:07:19 +0000 (13:07 -0400)]
Copy new plugins dir to dygraphs.com
Dan Vanderkam [Fri, 6 Apr 2012 21:53:05 +0000 (17:53 -0400)]
Introduce a plugin system and move the legend to it.
This is still pretty rudimentary, but I wanted to get something into the
mainline to start getting some real experience with it.
This does a few things:
1. Introduces a way to register plugins.
2. Adds some standard methods (e.g. "activate", "destroy").
3. Allows plugins to register "event listeners" and adds a few hooks.
4. Adds a few new public APIs that were valuable.
This is still a work in progress -- plugins/legend.js still uses two private
APIs -- but I'm generally really upbeat about this refactor. It was great to
see how much even this simple exercise forced the legend code to get simpler
and use public APIs.
Squashed commit of the following:
commit
bb250bdb928076c763b83d7ad5a60d15b9187510
Author: Dan Vanderkam <dan@dygraphs.com>
Date: Fri Apr 6 17:50:28 2012 -0400
clean a few things up, add plugins/README
commit
54328995c79a0091e56d4eda655edbd40e3379e6
Author: Dan Vanderkam <dan@dygraphs.com>
Date: Fri Apr 6 17:22:03 2012 -0400
self code review
commit
d49379470fbe26388bdf46d45aeb5e5cdbc4004d
Author: Dan Vanderkam <dan@dygraphs.com>
Date: Fri Apr 6 17:01:46 2012 -0400
clean up comments
commit
50b731d0559c490771112afc2f0c6c5b50bbeb26
Author: Dan Vanderkam <dan@dygraphs.com>
Date: Fri Apr 6 16:52:10 2012 -0400
use public API for highlightSet_
commit
848c0ca24f2302db206e6cf8d2f512432c251813
Author: Dan Vanderkam <dan@dygraphs.com>
Date: Fri Apr 6 16:44:54 2012 -0400
factor out generateLegendDashHTML, too
commit
4f54b5061cea5845d7d2ca38f09ec1bb3578015b
Author: Dan Vanderkam <dan@dygraphs.com>
Date: Fri Apr 6 16:37:13 2012 -0400
migrate generateLegendHTML out of dygraph.js; only using one private API
commit
060650eeb7007cc32906f1edc62ccfc1ef5b1b54
Author: Dan Vanderkam <dan@dygraphs.com>
Date: Fri Apr 6 15:52:24 2012 -0400
misc cleanup
commit
ce592df0224fe9953848a074582093a113358c9f
Merge: f05983c 29cb484
Author: Dan Vanderkam <dan@dygraphs.com>
Date: Fri Apr 6 15:35:58 2012 -0400
Merge branch 'master' into plugin-legend
commit
f05983cdf6f0f2ae4dae4753ad9df53ef89addf2
Merge: 19146fb d254d25
Author: Dan Vanderkam <dan@dygraphs.com>
Date: Fri Mar 30 17:58:48 2012 -0400
merge upstream changes
commit
19146fb11c9eb7cccc1d971dad67b8175570a3e6
Author: Dan Vanderkam <dan@dygraphs.com>
Date: Tue Mar 27 00:34:45 2012 -0400
cleanup
commit
72e8cbcc829eca1054d7318cc6b5316cb5061a09
Author: Dan Vanderkam <dan@dygraphs.com>
Date: Sun Mar 25 18:34:17 2012 -0400
remove setLegendHTML
commit
f949d4cedfc3107aa4269d496e0c8106ba86a209
Author: Dan Vanderkam <dan@dygraphs.com>
Date: Sun Mar 25 17:23:26 2012 -0400
support labelsDiv; move more logic into legend.js
commit
3119af67d70891968982fc2dcc042c3f466ed99e
Author: Dan Vanderkam <dan@dygraphs.com>
Date: Sun Mar 4 13:18:39 2012 -0500
legend plugin that works!
Robert Konigsberg [Wed, 4 Apr 2012 05:17:53 +0000 (01:17 -0400)]
Edit in jsFiddle
Dan Vanderkam [Sat, 31 Mar 2012 21:57:25 +0000 (17:57 -0400)]
more docs in phantom-driver.js; log speed
Dan Vanderkam [Sat, 31 Mar 2012 21:45:08 +0000 (17:45 -0400)]
Merge branch 'master' of github.com:danvk/dygraphs
Dan Vanderkam [Sat, 31 Mar 2012 21:45:02 +0000 (17:45 -0400)]
Add "test" script, which uses phantomjs for a pure command-line test.
Dan Vanderkam [Sat, 31 Mar 2012 21:42:14 +0000 (17:42 -0400)]
fix broken test case
Robert Konigsberg [Fri, 30 Mar 2012 19:47:10 +0000 (15:47 -0400)]
Add sanity test ensuring that creating annotations in a drawCallback
results in a secondary draw, but initial parameter set to false.
Also minor formatting corrections.
James H Thompson [Thu, 29 Mar 2012 21:25:48 +0000 (17:25 -0400)]
Add highlighted weekends example to gallery
Paul Felix [Thu, 29 Mar 2012 21:24:03 +0000 (17:24 -0400)]
Misc range selector cleanup.
Dan Vanderkam [Sun, 25 Mar 2012 20:42:57 +0000 (16:42 -0400)]
add DuckDuckGo to the list of users
Dan Vanderkam [Fri, 23 Mar 2012 20:48:12 +0000 (16:48 -0400)]
destroy mouseUpHandler
Dan Vanderkam [Fri, 23 Mar 2012 20:21:29 +0000 (16:21 -0400)]
Merge branch 'master' of github.com:danvk/dygraphs
Dan Vanderkam [Fri, 23 Mar 2012 20:21:20 +0000 (16:21 -0400)]
Overwrite line heights: code.google.com/p/dygraphs/issues/detail?id=152
Dan Vanderkam [Fri, 23 Mar 2012 18:20:55 +0000 (14:20 -0400)]
fix some trailing commas in dygraph-interaction-model.js
Dan Vanderkam [Sun, 26 Feb 2012 02:45:28 +0000 (21:45 -0500)]
Fix Issue 279: Strange animations when zooming animations are enabled and double click zooming
Dan Vanderkam [Thu, 22 Mar 2012 21:54:53 +0000 (17:54 -0400)]
Fix Issue 145: Chrome/right-click seems to start implementing zoom bounding boxes.
Dan Vanderkam [Thu, 22 Mar 2012 21:44:36 +0000 (17:44 -0400)]
Fix Issue 299: option labelsKMG2 doesn't support anything after terabyte (T)
Dan Vanderkam [Thu, 22 Mar 2012 16:12:25 +0000 (12:12 -0400)]
update changes.html to reflect auto_tests
Dan Vanderkam [Thu, 22 Mar 2012 15:47:51 +0000 (11:47 -0400)]
Fix issue 197: Annotations are displayed outside the bounds of the graph
Dan Vanderkam [Mon, 19 Mar 2012 01:31:56 +0000 (21:31 -0400)]
Add support for touch gestures: swipe & pinch-to-zoom.
The interactions are a bit slow at the moment, but we can work on that.
Dan Vanderkam [Sat, 17 Mar 2012 18:13:25 +0000 (14:13 -0400)]
Fix unboxed-spark test.
display: "inline" elements cannot have an explicit width/height, but
"inline-block" elements can.
Dan Vanderkam [Sat, 17 Mar 2012 18:09:39 +0000 (14:09 -0400)]
Fix error when labelsDiv=null (was affecting unboxed-spark test)
Dan Vanderkam [Tue, 13 Mar 2012 23:15:36 +0000 (19:15 -0400)]
Merge branch 'master' of github.com:danvk/dygraphs
Dan Vanderkam [Tue, 13 Mar 2012 23:12:45 +0000 (19:12 -0400)]
Fix issue 255: date supplied as YYYY-MM-DD shows previous day's date...
JavaScript date parsing is stunningly complex. This was broken by
https://github.com/danvk/dygraphs/commit/
769e8bc7b8799385e2677b26a5c0a72e839f44ca
The underlying issue is that new Date("YYYY-MM-DD") parses the date in
UTC, but new Date("YYYY/MM/DD") parses it in the local time zone.