dygraphs.git
11 years agoMerge branch 'master' of github.com:danvk/dygraphs
Dan Vanderkam [Tue, 31 Jul 2012 14:43:40 +0000 (10:43 -0400)]
Merge branch 'master' of github.com:danvk/dygraphs

11 years agoTwo RangeSelector changes/fixes (pull request 160)
Paul Felix [Tue, 31 Jul 2012 14:43:24 +0000 (10:43 -0400)]
Two RangeSelector changes/fixes (pull request 160)

11 years agoMerge pull request #159 from klausw-g/lock-selection
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.

11 years agoAdd optional "locked" arg to setSelection
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.

11 years agoDon't clear overlay on mouseup if not zooming.
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.

11 years agofix plotter demo
Dan Vanderkam [Wed, 25 Jul 2012 21:49:24 +0000 (17:49 -0400)]
fix plotter demo

11 years agorestore copy & fix zooming bug with error bars
Dan Vanderkam [Wed, 25 Jul 2012 21:42:18 +0000 (17:42 -0400)]
restore copy & fix zooming bug with error bars

11 years agoMerge branch 'master' into reorganize-points reorganize-points
Dan Vanderkam [Wed, 25 Jul 2012 17:54:28 +0000 (13:54 -0400)]
Merge branch 'master' into reorganize-points

11 years agoadd "use strict" to plugins -- was causing errors in dygraph-combined.js
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

11 years agotolerate failures in stacktrace.js (which happen in Safari) pluggable-renderer
Dan Vanderkam [Wed, 25 Jul 2012 17:44:45 +0000 (13:44 -0400)]
tolerate failures in stacktrace.js (which happen in Safari)

11 years agoinnerText -> innerHTML to make auto_tests/misc/local.html work in Firefox
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

11 years agomake test not fail
Dan Vanderkam [Wed, 25 Jul 2012 17:06:09 +0000 (13:06 -0400)]
make test not fail

11 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

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

11 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

11 years agofix test
Dan Vanderkam [Fri, 20 Jul 2012 19:36:53 +0000 (15:36 -0400)]
fix test

11 years agocreate failing errorBars test
Dan Vanderkam [Fri, 20 Jul 2012 19:35:14 +0000 (15:35 -0400)]
create failing errorBars test

11 years agofix failing stackedGraph test
Dan Vanderkam [Fri, 20 Jul 2012 18:48:19 +0000 (14:48 -0400)]
fix failing stackedGraph test

11 years agoreally add failing test
Dan Vanderkam [Fri, 20 Jul 2012 18:43:57 +0000 (14:43 -0400)]
really add failing test

11 years agofailing stacked test
Dan Vanderkam [Fri, 20 Jul 2012 18:42:37 +0000 (14:42 -0400)]
failing stacked test

11 years agofirst stab at keying DygraphLayout.points on setIdx
Dan Vanderkam [Fri, 20 Jul 2012 17:58:53 +0000 (13:58 -0400)]
first stab at keying DygraphLayout.points on setIdx

11 years agoremove one deep copy; remove thick gridlines from demo
Dan Vanderkam [Wed, 18 Jul 2012 22:07:00 +0000 (17:07 -0500)]
remove one deep copy; remove thick gridlines from demo

11 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

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

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

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

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

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

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

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

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

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

11 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

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

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

11 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

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

11 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

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

11 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

11 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

11 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

11 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.

11 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.

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

11 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

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

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

11 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.

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

11 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

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

11 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.

11 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

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

11 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

11 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

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

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

11 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

11 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

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

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

11 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

11 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

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

11 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

11 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

11 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...)

11 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

11 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

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

11 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)

11 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

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

11 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.

11 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.

11 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.

11 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.

11 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%

11 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.

11 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.

11 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.

11 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

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

11 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.

11 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.

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

11 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.

11 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.

11 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

11 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.

11 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.

11 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...)

11 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

11 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)

11 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.

11 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.

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

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