dygraphs.git
12 years agodisable failing test; it still works, but the test logic is broken
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

12 years agocomments
Dan Vanderkam [Wed, 25 Jul 2012 00:02:27 +0000 (20:02 -0400)]
comments

12 years agoadd more comments to dashed-canvas.js
Dan Vanderkam [Tue, 24 Jul 2012 23:56:51 +0000 (19:56 -0400)]
add more comments to dashed-canvas.js

12 years agoadd comment about the "remove canvasx/y" optimization
Dan Vanderkam [Wed, 18 Jul 2012 17:13:36 +0000 (12:13 -0500)]
add comment about the "remove canvasx/y" optimization

12 years agocleanup
Dan Vanderkam [Wed, 18 Jul 2012 16:53:13 +0000 (11:53 -0500)]
cleanup

12 years agopull out encapsuation breakages
Dan Vanderkam [Wed, 18 Jul 2012 15:24:28 +0000 (10:24 -0500)]
pull out encapsuation breakages

12 years agoclean up
Dan Vanderkam [Wed, 18 Jul 2012 15:20:18 +0000 (10:20 -0500)]
clean up

12 years agoonly expected failures
Dan Vanderkam [Wed, 18 Jul 2012 15:16:23 +0000 (10:16 -0500)]
only expected failures

12 years agoonly 4 tests failing
Dan Vanderkam [Wed, 18 Jul 2012 15:10:52 +0000 (10:10 -0500)]
only 4 tests failing

12 years agofaster, a few tests failing
Dan Vanderkam [Wed, 18 Jul 2012 15:01:02 +0000 (10:01 -0500)]
faster, a few tests failing

12 years agoremove another if
Dan Vanderkam [Tue, 17 Jul 2012 17:12:44 +0000 (12:12 -0500)]
remove another if

12 years agoremove if statement
Dan Vanderkam [Tue, 17 Jul 2012 17:06:14 +0000 (12:06 -0500)]
remove if statement

12 years agofix generate-combined
Dan Vanderkam [Tue, 17 Jul 2012 16:51:37 +0000 (11:51 -0500)]
fix generate-combined

12 years agoreduce frequency of calculateEmWidthInDiv calls; 25% speedup on 1000/100 benchmark
Dan Vanderkam [Mon, 16 Jul 2012 22:00:37 +0000 (17:00 -0500)]
reduce frequency of calculateEmWidthInDiv calls; 25% speedup on 1000/100 benchmark

12 years agoremove the strategy object completely
Dan Vanderkam [Mon, 16 Jul 2012 13:39:02 +0000 (08:39 -0500)]
remove the strategy object completely

12 years agoupdate jsTestDriver; test still failing
Dan Vanderkam [Sun, 15 Jul 2012 03:15:18 +0000 (22:15 -0500)]
update jsTestDriver; test still failing

12 years agofactor out dashed-canvas.js and use it in dygraph-canvas.js. one test 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

12 years agomisc cleanup
Dan Vanderkam [Sun, 15 Jul 2012 01:57:39 +0000 (20:57 -0500)]
misc cleanup

12 years agofactor out drawFillBars_ and clean up _renderLineChart
Dan Vanderkam [Sun, 15 Jul 2012 01:49:09 +0000 (20:49 -0500)]
factor out drawFillBars_ and clean up _renderLineChart

12 years agofactor out drawErrorBars_
Dan Vanderkam [Sun, 15 Jul 2012 01:38:57 +0000 (20:38 -0500)]
factor out drawErrorBars_

12 years agoMerge branch 'master' into pluggable-renderer
Dan Vanderkam [Sun, 15 Jul 2012 00:50:00 +0000 (17:50 -0700)]
Merge branch 'master' into pluggable-renderer

12 years agoMerge pull request #158 from kberg/master
Dan Vanderkam [Sat, 14 Jul 2012 16:21:58 +0000 (09:21 -0700)]
Merge pull request #158 from kberg/master

Iterator performance enhancements

12 years agoMerge branch 'master' of https://github.com/kberg/dygraphs
Robert Konigsberg [Tue, 10 Jul 2012 23:34:22 +0000 (16:34 -0700)]
Merge branch 'master' of https://github.com/kberg/dygraphs

12 years agoIterator performance enhancements - turn hasNext and peek into element access, and...
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.

12 years agoAdd hints in dygraphs benchmark for parameters.
Robert Konigsberg [Tue, 10 Jul 2012 15:05:55 +0000 (11:05 -0400)]
Add hints in dygraphs benchmark for parameters.

12 years agoLanding!
Dan Vanderkam [Fri, 6 Jul 2012 04:14:26 +0000 (21:14 -0700)]
Landing!

12 years agorunning into some issues with ordering
Dan Vanderkam [Fri, 6 Jul 2012 03:58:30 +0000 (20:58 -0700)]
running into some issues with ordering

12 years agogrid plugin mostly working
Dan Vanderkam [Fri, 6 Jul 2012 03:51:36 +0000 (20:51 -0700)]
grid plugin mostly working

12 years agoremove a done to-do
Dan Vanderkam [Fri, 6 Jul 2012 03:39:44 +0000 (20:39 -0700)]
remove a done to-do

12 years agoCheckpoint: axes fully ported to plugin system. All tests pass.
Dan Vanderkam [Fri, 6 Jul 2012 03:35:49 +0000 (20:35 -0700)]
Checkpoint: axes fully ported to plugin system. All tests pass.

12 years agogot it!
Dan Vanderkam [Fri, 6 Jul 2012 03:28:09 +0000 (20:28 -0700)]
got it!

12 years agoAxes mostly working; some remaining issues with secondary y-axis and space reservation
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

12 years agoa bit more annotations cleanup
Dan Vanderkam [Fri, 6 Jul 2012 02:51:57 +0000 (19:51 -0700)]
a bit more annotations cleanup

12 years agoCheckpoint: annotations fully ported to plugin system. All tests pass.
Dan Vanderkam [Fri, 6 Jul 2012 02:48:52 +0000 (19:48 -0700)]
Checkpoint: annotations fully ported to plugin system. All tests pass.

12 years agoannotations plugin appears to be working
Dan Vanderkam [Fri, 6 Jul 2012 02:42:54 +0000 (19:42 -0700)]
annotations plugin appears to be working

12 years agoadd TODO
Dan Vanderkam [Fri, 6 Jul 2012 02:15:29 +0000 (22:15 -0400)]
add TODO

12 years agoCheckpoint: chart labels have been fully ported over; all tests pass & no perf regres...
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

12 years agoMerge branch 'master' into pluggable-renderer
Dan Vanderkam [Fri, 6 Jul 2012 02:13:08 +0000 (22:13 -0400)]
Merge branch 'master' into pluggable-renderer

12 years agorevert combined
Dan Vanderkam [Fri, 6 Jul 2012 02:13:02 +0000 (22:13 -0400)]
revert combined

12 years agoremove old chart label code
Dan Vanderkam [Fri, 6 Jul 2012 02:07:20 +0000 (22:07 -0400)]
remove old chart label code

12 years agoall chart labels are ported over
Dan Vanderkam [Fri, 6 Jul 2012 02:04:21 +0000 (22:04 -0400)]
all chart labels are ported over

12 years agostart y-label port; not working yet
Dan Vanderkam [Fri, 6 Jul 2012 01:43:06 +0000 (21:43 -0400)]
start y-label port; not working yet

12 years agoreasonable behavior for title
Dan Vanderkam [Fri, 6 Jul 2012 01:35:15 +0000 (21:35 -0400)]
reasonable behavior for title

12 years agoblah
Dan Vanderkam [Fri, 6 Jul 2012 01:24:55 +0000 (21:24 -0400)]
blah

12 years agore-add layout plugin event; title display works
Dan Vanderkam [Fri, 6 Jul 2012 01:20:25 +0000 (21:20 -0400)]
re-add layout plugin event; title display works

12 years agostart porting over chart-labels plugin
Dan Vanderkam [Fri, 6 Jul 2012 01:11:17 +0000 (21:11 -0400)]
start porting over chart-labels plugin

12 years agoadd some comments
Dan Vanderkam [Fri, 6 Jul 2012 01:05:41 +0000 (21:05 -0400)]
add some comments

12 years agoAdd a command-line performance test
Dan Vanderkam [Sun, 1 Jul 2012 03:26:22 +0000 (23:26 -0400)]
Add a command-line performance test

12 years agoMerge branch 'master' of github.com:danvk/dygraphs
Dan Vanderkam [Wed, 20 Jun 2012 15:24:01 +0000 (11:24 -0400)]
Merge branch 'master' of github.com:danvk/dygraphs

12 years agoMerge pull request #154 from dmoena/master
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...)

12 years agoMerge pull request #155 from kberg/master
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

12 years agoMerge pull request #157 from helder-git/patch-1
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

12 years agoRemoving duplicated word
Helder [Tue, 19 Jun 2012 22:55:20 +0000 (19:55 -0300)]
Removing duplicated word

12 years agoadded superior limit for small scale labels (yocto)
David Moena [Mon, 18 Jun 2012 21:45:37 +0000 (17:45 -0400)]
added superior limit for small scale labels (yocto)

12 years agoadded zetta (Z) and yotta (Y) labels for consistency purposes
David Moena [Mon, 18 Jun 2012 21:41:06 +0000 (17:41 -0400)]
added zetta (Z) and yotta (Y) labels for consistency purposes

12 years agoRewrite iterator.
Robert Konigsberg [Mon, 18 Jun 2012 19:26:20 +0000 (15:26 -0400)]
Rewrite iterator.

12 years agoAdd default values to the iterator factory.
Robert Konigsberg [Mon, 18 Jun 2012 19:10:20 +0000 (15:10 -0400)]
Add default values to the iterator factory.

12 years agoOptimization: inline isNullOrNan. Also, don't bother calling isNaN just to test NaN...
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.

12 years agoTwo more optimizations: remove default value for predicate, and, use local variable...
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.

12 years agoIterator optimization - peek-ahead is optimized, and, remove idx_, which is not required.
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.

12 years agoDecent optimziation by precomputing hasNext, saves about 3%
Robert Konigsberg [Sat, 16 Jun 2012 13:09:53 +0000 (09:09 -0400)]
Decent optimziation by precomputing hasNext, saves about 3%

12 years agoPost success count along with failure count.
Robert Konigsberg [Sat, 16 Jun 2012 12:50:37 +0000 (08:50 -0400)]
Post success count along with failure count.

12 years agoRecombine drawTrivialLine and drawNonTrivialLine, using a strategy to separate out...
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.

12 years agoAdd TODO -- move that assertion someplace else.
Robert Konigsberg [Fri, 15 Jun 2012 21:49:46 +0000 (17:49 -0400)]
Add TODO -- move that assertion someplace else.

12 years agoFinish the tests for missing_points, that map to tests/independent-series.html
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

12 years agoMore turbocharge for CanvasAssertions.
Robert Konigsberg [Fri, 15 Jun 2012 21:48:53 +0000 (17:48 -0400)]
More turbocharge for CanvasAssertions.

12 years agoAdd some power to the canvas assertions. Also, the canvas assertions weren't actually...
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.

12 years agoThe awful index-based iterators are gone, replaced with iterator objects - code is...
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.

12 years agoWhoops re: utils_test.
Robert Konigsberg [Fri, 15 Jun 2012 17:59:11 +0000 (13:59 -0400)]
Whoops re: utils_test.

12 years agoRemove unused local variable from drawNonTrivialLine.
Robert Konigsberg [Fri, 15 Jun 2012 17:35:28 +0000 (13:35 -0400)]
Remove unused local variable from drawNonTrivialLine.

12 years agoIntroduce Dygraph.createIterator, and use it to simplify the code in drawTrivialLine...
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.

12 years agoMerge branch 'master' of github.com:danvk/dygraphs
Dan Vanderkam [Fri, 15 Jun 2012 15:56:46 +0000 (11:56 -0400)]
Merge branch 'master' of github.com:danvk/dygraphs

12 years agomake fork ribbon appear above everything else.
Dan Vanderkam [Fri, 15 Jun 2012 15:56:39 +0000 (11:56 -0400)]
make fork ribbon appear above everything else.

12 years agoAdd failure count to top of file.
Robert Konigsberg [Fri, 15 Jun 2012 15:21:02 +0000 (11:21 -0400)]
Add failure count to top of file.

12 years agoadded support for labelsKMG2 to handle very small numbers (mili, micro, nano...)
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...)

12 years agoMild code reduction by eliminating duplication
Robert Konigsberg [Thu, 14 Jun 2012 18:16:18 +0000 (14:16 -0400)]
Mild code reduction by eliminating duplication

12 years agoAdd missing_points.js to the bunch (as part of prior move .. oooops)
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)

12 years agoMoving the new missing-points tests to their own test case.
Robert Konigsberg [Wed, 13 Jun 2012 22:35:59 +0000 (18:35 -0400)]
Moving the new missing-points tests to their own test case.

12 years agoconnectSeparatedPoints is working. This has also improved
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.

12 years agoDocument the role of makeNextPointStep.
Robert Konigsberg [Wed, 13 Jun 2012 21:13:24 +0000 (17:13 -0400)]
Document the role of makeNextPointStep.

12 years agoProperly draw separated points.
Robert Konigsberg [Wed, 13 Jun 2012 20:42:28 +0000 (16:42 -0400)]
Properly draw separated points.

12 years agoExplain the role of NaN in connectSeparatedPoints.
Robert Konigsberg [Wed, 13 Jun 2012 20:05:56 +0000 (16:05 -0400)]
Explain the role of NaN in connectSeparatedPoints.

12 years agoAdd assertion that gets all the drawn lines.
Robert Konigsberg [Wed, 13 Jun 2012 18:17:57 +0000 (14:17 -0400)]
Add assertion that gets all the drawn lines.

12 years agoMerge github.com:danvk/dygraphs
Robert Konigsberg [Wed, 13 Jun 2012 17:30:21 +0000 (13:30 -0400)]
Merge github.com:danvk/dygraphs

12 years agoFix bug 336. parseFloat(null) == NaN. Delightful.
Robert Konigsberg [Wed, 13 Jun 2012 17:22:21 +0000 (13:22 -0400)]
Fix bug 336. parseFloat(null) == NaN. Delightful.

12 years agoMerge pull request #153 from jzgg/master
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

12 years agoAdd test case which confirms regression reported in https://issuenav.googleplex.com...
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

12 years agoregenerated
Joshua [Wed, 13 Jun 2012 01:10:12 +0000 (21:10 -0400)]
regenerated

12 years agoupdated check for empty string
Joshua [Wed, 13 Jun 2012 01:06:29 +0000 (21:06 -0400)]
updated check for empty string

12 years agoonly add ':' to legend if x value formatter returns a value
Joshua [Wed, 13 Jun 2012 00:57:41 +0000 (20:57 -0400)]
only add ':' to legend if x value formatter returns a value

12 years agominor fix for push-to-web
Dan Vanderkam [Fri, 8 Jun 2012 20:15:01 +0000 (16:15 -0400)]
minor fix for push-to-web

12 years agofix "fork me on github" image
Dan Vanderkam [Fri, 8 Jun 2012 20:11:12 +0000 (16:11 -0400)]
fix "fork me on github" image

12 years agoMerge pull request #152 from kberg/master
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

12 years agoMerge branch 'tmp_branch'
Dan Vanderkam [Fri, 8 Jun 2012 20:01:53 +0000 (16:01 -0400)]
Merge branch 'tmp_branch'

12 years agoinclude copyright/@license in dygraph-combined.js
Dan Vanderkam [Fri, 8 Jun 2012 20:01:01 +0000 (16:01 -0400)]
include copyright/@license in dygraph-combined.js

12 years agoImprovements to range selector touch event handling
Paul Felix [Fri, 8 Jun 2012 20:00:43 +0000 (16:00 -0400)]
Improvements to range selector touch event handling

12 years agoAdd some tepid comments, use of local variables, etc.
Robert Konigsberg [Fri, 1 Jun 2012 15:35:41 +0000 (11:35 -0400)]
Add some tepid comments, use of local variables, etc.

12 years agoStandardize isNullOrNan.
Robert Konigsberg [Fri, 1 Jun 2012 15:28:53 +0000 (11:28 -0400)]
Standardize isNullOrNan.

12 years agobhs performance enhancement base. This hits biggest bang for the buck.
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.

12 years agoMake auto_tests easier to read, and also, add easy filter for identifying failed...
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.