Dan Vanderkam [Tue, 31 Jul 2012 14:43:40 +0000 (10:43 -0400)]
Merge branch 'master' of github.com:danvk/dygraphs
Paul Felix [Tue, 31 Jul 2012 14:43:24 +0000 (10:43 -0400)]
Two RangeSelector changes/fixes (pull request 160)
Dan Vanderkam [Tue, 31 Jul 2012 14:35:56 +0000 (07:35 -0700)]
Merge pull request #159 from klausw-g/lock-selection
Add optional "locked" arg to setSelection; Don't clear overlay on mouseup if not zooming.
Klaus Weidner [Fri, 27 Jul 2012 23:02:07 +0000 (16:02 -0700)]
Add optional "locked" arg to setSelection
Locking a series selection temporarily disables the closest-series
logic of the highlighting code, switching it to traditional by-row
selection until unlocked by clearSelection().
This is useful for following values of a single series on mouseover,
see the example use in the "Highlight Closest Series" demo which
toggles this by clicking the graph.
Klaus Weidner [Fri, 27 Jul 2012 22:53:06 +0000 (15:53 -0700)]
Don't clear overlay on mouseup if not zooming.
On endZoom, check if moveZoom was called since the last startZoom. If
not, leave the overlay canvas alone, there's no zoom rectangle to erase.
The default mouseup action unconditionally cleared the overlay canvas,
this destroyed other things that may have been drawn there such as
highlighted series, causing glitches for clickCallback use.
Dan Vanderkam [Wed, 25 Jul 2012 21:49:24 +0000 (17:49 -0400)]
fix plotter demo
Dan Vanderkam [Wed, 25 Jul 2012 21:42:18 +0000 (17:42 -0400)]
restore copy & fix zooming bug with error bars
Dan Vanderkam [Wed, 25 Jul 2012 17:54:28 +0000 (13:54 -0400)]
Merge branch 'master' into reorganize-points
Dan Vanderkam [Wed, 25 Jul 2012 17:53:03 +0000 (13:53 -0400)]
add "use strict" to plugins -- was causing errors in dygraph-combined.js
Dan Vanderkam [Wed, 25 Jul 2012 17:44:45 +0000 (13:44 -0400)]
tolerate failures in stacktrace.js (which happen in Safari)
Dan Vanderkam [Wed, 25 Jul 2012 17:10:11 +0000 (13:10 -0400)]
innerText -> innerHTML to make auto_tests/misc/local.html work in Firefox
Dan Vanderkam [Wed, 25 Jul 2012 17:06:09 +0000 (13:06 -0400)]
make test not fail
Dan Vanderkam [Wed, 25 Jul 2012 17:00:22 +0000 (13:00 -0400)]
disable failing test; it still works, but the test logic is broken
Dan Vanderkam [Wed, 25 Jul 2012 00:02:27 +0000 (20:02 -0400)]
comments
Dan Vanderkam [Tue, 24 Jul 2012 23:56:51 +0000 (19:56 -0400)]
add more comments to dashed-canvas.js
Dan Vanderkam [Fri, 20 Jul 2012 19:36:53 +0000 (15:36 -0400)]
fix test
Dan Vanderkam [Fri, 20 Jul 2012 19:35:14 +0000 (15:35 -0400)]
create failing errorBars test
Dan Vanderkam [Fri, 20 Jul 2012 18:48:19 +0000 (14:48 -0400)]
fix failing stackedGraph test
Dan Vanderkam [Fri, 20 Jul 2012 18:43:57 +0000 (14:43 -0400)]
really add failing test
Dan Vanderkam [Fri, 20 Jul 2012 18:42:37 +0000 (14:42 -0400)]
failing stacked test
Dan Vanderkam [Fri, 20 Jul 2012 17:58:53 +0000 (13:58 -0400)]
first stab at keying DygraphLayout.points on setIdx
Dan Vanderkam [Wed, 18 Jul 2012 22:07:00 +0000 (17:07 -0500)]
remove one deep copy; remove thick gridlines from demo
Dan Vanderkam [Wed, 18 Jul 2012 17:13:36 +0000 (12:13 -0500)]
add comment about the "remove canvasx/y" optimization
Dan Vanderkam [Wed, 18 Jul 2012 16:53:13 +0000 (11:53 -0500)]
cleanup
Dan Vanderkam [Wed, 18 Jul 2012 15:24:28 +0000 (10:24 -0500)]
pull out encapsuation breakages
Dan Vanderkam [Wed, 18 Jul 2012 15:20:18 +0000 (10:20 -0500)]
clean up
Dan Vanderkam [Wed, 18 Jul 2012 15:16:23 +0000 (10:16 -0500)]
only expected failures
Dan Vanderkam [Wed, 18 Jul 2012 15:10:52 +0000 (10:10 -0500)]
only 4 tests failing
Dan Vanderkam [Wed, 18 Jul 2012 15:01:02 +0000 (10:01 -0500)]
faster, a few tests failing
Dan Vanderkam [Tue, 17 Jul 2012 17:12:44 +0000 (12:12 -0500)]
remove another if
Dan Vanderkam [Tue, 17 Jul 2012 17:06:14 +0000 (12:06 -0500)]
remove if statement
Dan Vanderkam [Tue, 17 Jul 2012 16:51:37 +0000 (11:51 -0500)]
fix generate-combined
Dan Vanderkam [Mon, 16 Jul 2012 22:00:37 +0000 (17:00 -0500)]
reduce frequency of calculateEmWidthInDiv calls; 25% speedup on 1000/100 benchmark
Dan Vanderkam [Mon, 16 Jul 2012 13:39:02 +0000 (08:39 -0500)]
remove the strategy object completely
Dan Vanderkam [Sun, 15 Jul 2012 03:15:18 +0000 (22:15 -0500)]
update jsTestDriver; test still failing
Dan Vanderkam [Sun, 15 Jul 2012 03:11:31 +0000 (22:11 -0500)]
factor out dashed-canvas.js and use it in dygraph-canvas.js. one test failing
Dan Vanderkam [Sun, 15 Jul 2012 01:57:39 +0000 (20:57 -0500)]
misc cleanup
Dan Vanderkam [Sun, 15 Jul 2012 01:49:09 +0000 (20:49 -0500)]
factor out drawFillBars_ and clean up _renderLineChart
Dan Vanderkam [Sun, 15 Jul 2012 01:38:57 +0000 (20:38 -0500)]
factor out drawErrorBars_
Dan Vanderkam [Sun, 15 Jul 2012 00:50:00 +0000 (17:50 -0700)]
Merge branch 'master' into pluggable-renderer
Dan Vanderkam [Sat, 14 Jul 2012 16:21:58 +0000 (09:21 -0700)]
Merge pull request #158 from kberg/master
Iterator performance enhancements
Robert Konigsberg [Tue, 10 Jul 2012 23:34:22 +0000 (16:34 -0700)]
Merge branch 'master' of https://github.com/kberg/dygraphs
Robert Konigsberg [Tue, 10 Jul 2012 15:54:13 +0000 (11:54 -0400)]
Iterator performance enhancements - turn hasNext and peek into element access, and inline the advance() method.
Robert Konigsberg [Tue, 10 Jul 2012 15:05:55 +0000 (11:05 -0400)]
Add hints in dygraphs benchmark for parameters.
Dan Vanderkam [Fri, 6 Jul 2012 04:14:26 +0000 (21:14 -0700)]
Landing!
Dan Vanderkam [Fri, 6 Jul 2012 03:58:30 +0000 (20:58 -0700)]
running into some issues with ordering
Dan Vanderkam [Fri, 6 Jul 2012 03:51:36 +0000 (20:51 -0700)]
grid plugin mostly working
Dan Vanderkam [Fri, 6 Jul 2012 03:39:44 +0000 (20:39 -0700)]
remove a done to-do
Dan Vanderkam [Fri, 6 Jul 2012 03:35:49 +0000 (20:35 -0700)]
Checkpoint: axes fully ported to plugin system. All tests pass.
Dan Vanderkam [Fri, 6 Jul 2012 03:28:09 +0000 (20:28 -0700)]
got it!
Dan Vanderkam [Fri, 6 Jul 2012 03:26:49 +0000 (20:26 -0700)]
Axes mostly working; some remaining issues with secondary y-axis and space reservation
Dan Vanderkam [Fri, 6 Jul 2012 02:51:57 +0000 (19:51 -0700)]
a bit more annotations cleanup
Dan Vanderkam [Fri, 6 Jul 2012 02:48:52 +0000 (19:48 -0700)]
Checkpoint: annotations fully ported to plugin system. All tests pass.
Dan Vanderkam [Fri, 6 Jul 2012 02:42:54 +0000 (19:42 -0700)]
annotations plugin appears to be working
Dan Vanderkam [Fri, 6 Jul 2012 02:15:29 +0000 (22:15 -0400)]
add TODO
Dan Vanderkam [Fri, 6 Jul 2012 02:14:18 +0000 (22:14 -0400)]
Checkpoint: chart labels have been fully ported over; all tests pass & no perf regressions
Dan Vanderkam [Fri, 6 Jul 2012 02:13:08 +0000 (22:13 -0400)]
Merge branch 'master' into pluggable-renderer
Dan Vanderkam [Fri, 6 Jul 2012 02:13:02 +0000 (22:13 -0400)]
revert combined
Dan Vanderkam [Fri, 6 Jul 2012 02:07:20 +0000 (22:07 -0400)]
remove old chart label code
Dan Vanderkam [Fri, 6 Jul 2012 02:04:21 +0000 (22:04 -0400)]
all chart labels are ported over
Dan Vanderkam [Fri, 6 Jul 2012 01:43:06 +0000 (21:43 -0400)]
start y-label port; not working yet
Dan Vanderkam [Fri, 6 Jul 2012 01:35:15 +0000 (21:35 -0400)]
reasonable behavior for title
Dan Vanderkam [Fri, 6 Jul 2012 01:24:55 +0000 (21:24 -0400)]
blah
Dan Vanderkam [Fri, 6 Jul 2012 01:20:25 +0000 (21:20 -0400)]
re-add layout plugin event; title display works
Dan Vanderkam [Fri, 6 Jul 2012 01:11:17 +0000 (21:11 -0400)]
start porting over chart-labels plugin
Dan Vanderkam [Fri, 6 Jul 2012 01:05:41 +0000 (21:05 -0400)]
add some comments
Dan Vanderkam [Sun, 1 Jul 2012 03:26:22 +0000 (23:26 -0400)]
Add a command-line performance test
Dan Vanderkam [Wed, 20 Jun 2012 15:24:01 +0000 (11:24 -0400)]
Merge branch 'master' of github.com:danvk/dygraphs
Dan Vanderkam [Wed, 20 Jun 2012 15:23:14 +0000 (08:23 -0700)]
Merge pull request #154 from dmoena/master
added support for labelsKMG2 to handle very small numbers (mili, micro, nano...)
Dan Vanderkam [Wed, 20 Jun 2012 15:22:14 +0000 (08:22 -0700)]
Merge pull request #155 from kberg/master
Fix behavior regression, added tests and supporting API
Robert Konigsberg [Wed, 20 Jun 2012 13:52:24 +0000 (06:52 -0700)]
Merge pull request #157 from helder-git/patch-1
Removing duplicated word
Helder [Tue, 19 Jun 2012 22:55:20 +0000 (19:55 -0300)]
Removing duplicated word
David Moena [Mon, 18 Jun 2012 21:45:37 +0000 (17:45 -0400)]
added superior limit for small scale labels (yocto)
David Moena [Mon, 18 Jun 2012 21:41:06 +0000 (17:41 -0400)]
added zetta (Z) and yotta (Y) labels for consistency purposes
Robert Konigsberg [Mon, 18 Jun 2012 19:26:20 +0000 (15:26 -0400)]
Rewrite iterator.
Robert Konigsberg [Mon, 18 Jun 2012 19:10:20 +0000 (15:10 -0400)]
Add default values to the iterator factory.
Robert Konigsberg [Sat, 16 Jun 2012 14:07:07 +0000 (10:07 -0400)]
Optimization: inline isNullOrNan. Also, don't bother calling isNaN just to test NaN itself; x != x is a high-speed replacement.
Robert Konigsberg [Sat, 16 Jun 2012 13:41:50 +0000 (09:41 -0400)]
Two more optimizations: remove default value for predicate, and, use local variable for nextIdx in advance.
Robert Konigsberg [Sat, 16 Jun 2012 13:26:17 +0000 (09:26 -0400)]
Iterator optimization - peek-ahead is optimized, and, remove idx_, which is not required.
Robert Konigsberg [Sat, 16 Jun 2012 13:09:53 +0000 (09:09 -0400)]
Decent optimziation by precomputing hasNext, saves about 3%
Robert Konigsberg [Sat, 16 Jun 2012 12:50:37 +0000 (08:50 -0400)]
Post success count along with failure count.
Robert Konigsberg [Fri, 15 Jun 2012 21:51:41 +0000 (17:51 -0400)]
Recombine drawTrivialLine and drawNonTrivialLine, using a strategy to separate out the behavior. I haven't had a chance to performance test this yet. We shall see.
Robert Konigsberg [Fri, 15 Jun 2012 21:49:46 +0000 (17:49 -0400)]
Add TODO -- move that assertion someplace else.
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.
Dan Vanderkam [Fri, 15 Jun 2012 15:56:46 +0000 (11:56 -0400)]
Merge branch 'master' of github.com:danvk/dygraphs
Dan Vanderkam [Fri, 15 Jun 2012 15:56:39 +0000 (11:56 -0400)]
make fork ribbon appear above everything else.
Robert Konigsberg [Fri, 15 Jun 2012 15:21:02 +0000 (11:21 -0400)]
Add failure count to top of file.
David Moena [Thu, 14 Jun 2012 21:53:20 +0000 (17:53 -0400)]
added support for labelsKMG2 to handle very small numbers (mili, micro, nano...)
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.