dygraphs.git
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.

12 years agoadd plugins to jsTestDriver.conf
Dan Vanderkam [Wed, 16 May 2012 21:47:24 +0000 (17:47 -0400)]
add plugins to jsTestDriver.conf

12 years agoAdd @license tag to dygraph-combined.js
Robert Konigsberg [Tue, 15 May 2012 21:25:04 +0000 (17:25 -0400)]
Add @license tag to dygraph-combined.js

12 years agoMerge pull request #150 from klausw-g/axis-at-zero
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"

12 years agoAdd 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.

12 years agoMerge pull request #148 from klausw-g/edge-points
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'

12 years agoMerge branch 'master' of git://github.com/danvk/dygraphs into edge-points
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

12 years agoRequests from Dan's code review:
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.

12 years agoMerge pull request #149 from flooey/master
Dan Vanderkam [Fri, 11 May 2012 18:43:10 +0000 (11:43 -0700)]
Merge pull request #149 from flooey/master

Three bug fixes

12 years agoMerge pull request #147 from beda42/fix_deep_copy
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

12 years agoreset combined
Dan Vanderkam [Fri, 11 May 2012 18:27:19 +0000 (14:27 -0400)]
reset combined

12 years agoMerge branch 'resize_label' of https://github.com/beda42/dygraphs into pull146
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

12 years agosetMilliseconds() doesn't return this.
Adam Vartanian [Thu, 10 May 2012 21:18:48 +0000 (17:18 -0400)]
setMilliseconds() doesn't return this.

12 years agoMerge branch 'master' of git://github.com/danvk/dygraphs
Adam Vartanian [Thu, 10 May 2012 20:42:53 +0000 (16:42 -0400)]
Merge branch 'master' of git://github.com/danvk/dygraphs

12 years agoAdd auto test for isolated and gap points.
Klaus Weidner [Fri, 27 Apr 2012 17:55:04 +0000 (10:55 -0700)]
Add auto test for isolated and gap points.

12 years agoAdd new option 'drawGapPoints'
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.

12 years agonull should be converted into {} in deepcopy - fixes turning on/off highlightSeriesOpts
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

12 years agore-add the legend_div into the parent div after resize, otherwise it remains stuck...
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

12 years agochmod everything before pushing to web
Dan Vanderkam [Wed, 25 Apr 2012 16:07:50 +0000 (12:07 -0400)]
chmod everything before pushing to web

12 years agoadd @license tags in various places, including dygraph-combined.js
Dan Vanderkam [Tue, 24 Apr 2012 21:05:12 +0000 (17:05 -0400)]
add @license tags in various places, including dygraph-combined.js

12 years agochmod options reference
Dan Vanderkam [Mon, 23 Apr 2012 16:24:12 +0000 (12:24 -0400)]
chmod options reference

12 years agoset permissions in generate*
Dan Vanderkam [Fri, 20 Apr 2012 21:29:04 +0000 (17:29 -0400)]
set permissions in generate*

12 years agoUse rsync instead of scp for faster, more correct remote pushing
Dan Vanderkam [Thu, 19 Apr 2012 22:10:55 +0000 (18:10 -0400)]
Use rsync instead of scp for faster, more correct remote pushing

12 years agoMerge pull request #145 from dpwatrous/master
Dan Vanderkam [Thu, 19 Apr 2012 21:09:14 +0000 (14:09 -0700)]
Merge pull request #145 from dpwatrous/master

Stacked step plot fix

12 years agoFixed Issue 206: stepPlot is not considered for stacked filling
David Watrous [Wed, 18 Apr 2012 16:55:58 +0000 (12:55 -0400)]
Fixed Issue 206: stepPlot is not considered for stacked filling

12 years agoTweak the addEvent/removeEvent code. Restore the non-object methods, and add a second...
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.

12 years agoMerge pull request #143 from klausw-g/plugin-tweaks
Dan Vanderkam [Wed, 18 Apr 2012 15:21:47 +0000 (08:21 -0700)]
Merge pull request #143 from klausw-g/plugin-tweaks

Plugin tweaks

12 years agoTracking all event registrations, and deallocating them en masse makes
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.

12 years agoAlways set milliseconds to zero when computing date tick placement, so that resulting...
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.