dygraphs.git
12 years agoApply firefox fix to the gallery. (We should remove the test altogether someday. :))
Robert Konigsberg [Wed, 25 Jan 2012 16:23:23 +0000 (11:23 -0500)]
Apply firefox fix to the gallery. (We should remove the test altogether someday. :))

12 years agoMerge pull request #117 from jllodra/master
Robert Konigsberg [Wed, 25 Jan 2012 16:21:03 +0000 (08:21 -0800)]
Merge pull request #117 from jllodra/master

tests/interaction.js: fix for firefox

12 years agoevent.offsetX and Y fixed for Firefox in interaction.js
Josep LlodrĂ  [Wed, 25 Jan 2012 10:48:23 +0000 (11:48 +0100)]
event.offsetX and Y fixed for Firefox in interaction.js

12 years agoAdd 10gen MMS to Usage Gallery
Dan Vanderkam [Mon, 23 Jan 2012 20:20:34 +0000 (15:20 -0500)]
Add 10gen MMS to Usage Gallery

12 years agoAdd Eutelsat & NASA to Usage Gallery
Dan Vanderkam [Mon, 23 Jan 2012 19:43:44 +0000 (14:43 -0500)]
Add Eutelsat & NASA to Usage Gallery

12 years agoExpose range selector interaction model publicly (removes need for pull request 101).
Dan Vanderkam [Mon, 23 Jan 2012 18:16:50 +0000 (13:16 -0500)]
Expose range selector interaction model publicly (removes need for pull request 101).

12 years agoMerge pull request #103 from mattmiller/master
Dan Vanderkam [Mon, 23 Jan 2012 18:12:25 +0000 (10:12 -0800)]
Merge pull request #103 from mattmiller/master

Allows unescaped HTML in X and Y labels and values.

12 years agoMerge branch 'master' of github.com:danvk/dygraphs
Dan Vanderkam [Fri, 20 Jan 2012 20:49:05 +0000 (15:49 -0500)]
Merge branch 'master' of github.com:danvk/dygraphs

12 years agoFix issue 264 - non-alpha chars in GViz annotation labels.
mbghsource [Fri, 20 Jan 2012 20:48:23 +0000 (15:48 -0500)]
Fix issue 264 - non-alpha chars in GViz annotation labels.

12 years agoRemove memory leaks from dygraph-many-points-benchmark.
Robert Konigsberg [Thu, 19 Jan 2012 04:31:58 +0000 (23:31 -0500)]
Remove memory leaks from dygraph-many-points-benchmark.

12 years agoPer y-axis valueRange support.
Russell Valentine [Wed, 18 Jan 2012 22:16:04 +0000 (17:16 -0500)]
Per y-axis valueRange support.

12 years agoMerge pull request #112 from kberg/master
Robert Konigsberg [Tue, 17 Jan 2012 04:18:31 +0000 (20:18 -0800)]
Merge pull request #112 from kberg/master

plotter demo fix

12 years agoPlotter demo bugfix.
Robert Konigsberg [Tue, 17 Jan 2012 04:16:16 +0000 (23:16 -0500)]
Plotter demo bugfix.

12 years agoMerge pull request #111 from kberg/master
Robert Konigsberg [Tue, 17 Jan 2012 02:56:20 +0000 (18:56 -0800)]
Merge pull request #111 from kberg/master

OK, this is the last one.

12 years agotiny
Robert Konigsberg [Tue, 17 Jan 2012 02:54:06 +0000 (21:54 -0500)]
tiny

12 years agoStyle tweaks
Robert Konigsberg [Tue, 17 Jan 2012 02:53:26 +0000 (21:53 -0500)]
Style tweaks

12 years agoMerge pull request #110 from kberg/master
Robert Konigsberg [Tue, 17 Jan 2012 01:13:35 +0000 (17:13 -0800)]
Merge pull request #110 from kberg/master

last tweaks before announcing.

12 years agostuff. i'm tired.
Robert Konigsberg [Tue, 17 Jan 2012 01:10:51 +0000 (20:10 -0500)]
stuff. i'm tired.

12 years agoMake text area size configurable in pixels.
Robert Konigsberg [Tue, 17 Jan 2012 01:10:22 +0000 (20:10 -0500)]
Make text area size configurable in pixels.

12 years agoMerge pull request #109 from kberg/master
Robert Konigsberg [Tue, 17 Jan 2012 00:56:52 +0000 (16:56 -0800)]
Merge pull request #109 from kberg/master

More gallery cleanup.

12 years agoShow introductory text.
Robert Konigsberg [Tue, 17 Jan 2012 00:51:22 +0000 (19:51 -0500)]
Show introductory text.

12 years agoCleaned up nasty table style.
Robert Konigsberg [Tue, 17 Jan 2012 00:46:21 +0000 (19:46 -0500)]
Cleaned up nasty table style.

12 years agoReduce the size of some overly-long graphs. OK, that's subjective, but if you don...
Robert Konigsberg [Tue, 17 Jan 2012 00:32:03 +0000 (19:32 -0500)]
Reduce the size of some overly-long graphs. OK, that's subjective, but if you don't like the resizes, we can always undo this isolated change.

12 years agoRewrite HTML generation.
Robert Konigsberg [Tue, 17 Jan 2012 00:28:14 +0000 (19:28 -0500)]
Rewrite HTML generation.

12 years agoInclude common directory. Perhaps jquery _is_ the way to go.
Robert Konigsberg [Mon, 16 Jan 2012 22:12:26 +0000 (17:12 -0500)]
Include common directory. Perhaps jquery _is_ the way to go.

12 years agoMerge pull request #108 from kberg/master
Robert Konigsberg [Mon, 16 Jan 2012 22:13:53 +0000 (14:13 -0800)]
Merge pull request #108 from kberg/master

Fix drawing.js bug

12 years agoFix drawing.js bug
Robert Konigsberg [Mon, 16 Jan 2012 22:11:14 +0000 (17:11 -0500)]
Fix drawing.js bug

12 years agoMerge pull request #107 from kberg/master
Robert Konigsberg [Mon, 16 Jan 2012 22:06:17 +0000 (14:06 -0800)]
Merge pull request #107 from kberg/master

Add code link, clean-up.

12 years agoAdd code link. It should get cleaned up.
Robert Konigsberg [Mon, 16 Jan 2012 22:01:26 +0000 (17:01 -0500)]
Add code link. It should get cleaned up.

12 years agoMove textarea to common area.
Robert Konigsberg [Mon, 16 Jan 2012 22:01:09 +0000 (17:01 -0500)]
Move textarea to common area.

12 years agoClean-up.
Robert Konigsberg [Mon, 16 Jan 2012 20:06:42 +0000 (15:06 -0500)]
Clean-up.

12 years agoMerge pull request #106 from kberg/master
Robert Konigsberg [Sun, 15 Jan 2012 22:46:01 +0000 (14:46 -0800)]
Merge pull request #106 from kberg/master

Add many more demos, and clean up.

12 years agoAdd first part of linear regression, and fixed hash hack so it doesn't jump.
Robert Konigsberg [Sun, 15 Jan 2012 22:42:50 +0000 (17:42 -0500)]
Add first part of linear regression, and fixed hash hack so it doesn't jump.

12 years agoUpdate readme, add interaction model.
Robert Konigsberg [Sun, 15 Jan 2012 17:05:21 +0000 (12:05 -0500)]
Update readme, add interaction model.

12 years agoRename and retitle plotter.
Robert Konigsberg [Sun, 15 Jan 2012 16:47:25 +0000 (11:47 -0500)]
Rename and retitle plotter.

12 years agoAdd temperature-sf-ny. We should rename it.
Robert Konigsberg [Sun, 15 Jan 2012 16:43:02 +0000 (11:43 -0500)]
Add temperature-sf-ny. We should rename it.

12 years agoAdd stock and styled-chart-labels.
Robert Konigsberg [Sun, 15 Jan 2012 16:36:51 +0000 (11:36 -0500)]
Add stock and styled-chart-labels.

12 years agoAdd resize to gallery. It's got a bug in which I had to manually position it, and...
Robert Konigsberg [Sun, 15 Jan 2012 16:05:39 +0000 (11:05 -0500)]
Add resize to gallery. It's got a bug in which I had to manually position it, and it's not inside the gray border. Not sure.

12 years agoAdd range-selector
Robert Konigsberg [Sun, 15 Jan 2012 15:57:12 +0000 (10:57 -0500)]
Add range-selector

12 years agoMerge pull request #105 from kberg/master
Robert Konigsberg [Sun, 15 Jan 2012 06:11:40 +0000 (22:11 -0800)]
Merge pull request #105 from kberg/master

Add link-interaction, per-series and synchronize. Renamed gallery.html to index.html.

12 years agoAdd per-series and synchronize.
Robert Konigsberg [Sun, 15 Jan 2012 06:10:33 +0000 (01:10 -0500)]
Add per-series and synchronize.

12 years agospecifying /usr/bin/env python instead of /usr/bin/python which is more flexible...
Robert Konigsberg [Sun, 15 Jan 2012 04:37:42 +0000 (23:37 -0500)]
specifying /usr/bin/env python instead of /usr/bin/python which is more flexible (and lets me generate jsdoc. :))

12 years agopush-to-web now pushes the gallery.
Robert Konigsberg [Sun, 15 Jan 2012 04:32:37 +0000 (23:32 -0500)]
push-to-web now pushes the gallery.

12 years agoMerge pull request #104 from kberg/master
Robert Konigsberg [Sun, 15 Jan 2012 04:33:05 +0000 (20:33 -0800)]
Merge pull request #104 from kberg/master

Initial cut at the gallery

12 years agoAdd hash support.
Robert Konigsberg [Sun, 15 Jan 2012 04:14:30 +0000 (23:14 -0500)]
Add hash support.

12 years agoAllow unescaped HTML in labels
Matt Miller [Sat, 14 Jan 2012 00:14:40 +0000 (16:14 -0800)]
Allow unescaped HTML in labels

12 years agopush-to-web short-circuits when generate-jsdoc fails.
Robert Konigsberg [Tue, 10 Jan 2012 16:26:16 +0000 (11:26 -0500)]
push-to-web short-circuits when generate-jsdoc fails.

12 years agoAdd textarea (oops)
Robert Konigsberg [Mon, 9 Jan 2012 04:32:17 +0000 (23:32 -0500)]
Add textarea (oops)

12 years agoSplit out the css.
Robert Konigsberg [Mon, 9 Jan 2012 00:19:16 +0000 (19:19 -0500)]
Split out the css.

12 years agoFirefox compatibility
Robert Konigsberg [Mon, 9 Jan 2012 00:17:50 +0000 (19:17 -0500)]
Firefox compatibility

12 years agoModal dialog box, better centering.
Robert Konigsberg [Sun, 8 Jan 2012 17:13:47 +0000 (12:13 -0500)]
Modal dialog box, better centering.

12 years agoHiding "copy".
Robert Konigsberg [Sun, 8 Jan 2012 07:16:18 +0000 (02:16 -0500)]
Hiding "copy".

12 years agoEditor title description.
Robert Konigsberg [Sun, 8 Jan 2012 07:09:13 +0000 (02:09 -0500)]
Editor title description.

12 years agoText area is almost working. It's not modal, and it could use a little polish.
Robert Konigsberg [Sun, 8 Jan 2012 07:04:24 +0000 (02:04 -0500)]
Text area is almost working. It's not modal, and it could use a little polish.

12 years agoMoved tooltip to its own file.
Robert Konigsberg [Sun, 8 Jan 2012 03:45:03 +0000 (22:45 -0500)]
Moved tooltip to its own file.

12 years agoFilter bar input is now type "search" which looks sexy on mac.
Robert Konigsberg [Sun, 8 Jan 2012 03:36:22 +0000 (22:36 -0500)]
Filter bar input is now type "search" which looks sexy on mac.

12 years agolast tweak of awesomeness.
Robert Konigsberg [Sun, 8 Jan 2012 02:52:03 +0000 (21:52 -0500)]
last tweak of awesomeness.

12 years agoMore style.
Robert Konigsberg [Sun, 8 Jan 2012 02:48:46 +0000 (21:48 -0500)]
More style.

12 years agoFloating help, a touch of style, no <table>.
Robert Konigsberg [Sun, 8 Jan 2012 02:44:28 +0000 (21:44 -0500)]
Floating help, a touch of style, no <table>.

12 years agoCan run all tests in one fell swoop.
Robert Konigsberg [Sat, 7 Jan 2012 15:15:45 +0000 (10:15 -0500)]
Can run all tests in one fell swoop.

12 years agoBug in the function that splits variables.
Robert Konigsberg [Sat, 7 Jan 2012 14:54:45 +0000 (09:54 -0500)]
Bug in the function that splits variables.

12 years agoAdded note about data selector.
Robert Konigsberg [Sat, 7 Jan 2012 14:49:43 +0000 (09:49 -0500)]
Added note about data selector.

12 years agoWrong usage statement.
Robert Konigsberg [Sat, 7 Jan 2012 14:47:24 +0000 (09:47 -0500)]
Wrong usage statement.

12 years agoProperly handle multiple data selections.
Robert Konigsberg [Sat, 7 Jan 2012 14:45:35 +0000 (09:45 -0500)]
Properly handle multiple data selections.

12 years agoAdd variable declarations for most all graphs and charts.
Robert Konigsberg [Sat, 7 Jan 2012 13:12:07 +0000 (08:12 -0500)]
Add variable declarations for most all graphs and charts.

12 years agoAdd sparse sample, rename variable.
Robert Konigsberg [Sat, 7 Jan 2012 12:56:45 +0000 (07:56 -0500)]
Add sparse sample, rename variable.

12 years agoSupport function() returning other data types.
Robert Konigsberg [Sat, 7 Jan 2012 12:47:42 +0000 (07:47 -0500)]
Support function() returning other data types.

12 years agoAdd experimental, add usage test.
Robert Konigsberg [Sat, 7 Jan 2012 00:48:19 +0000 (19:48 -0500)]
Add experimental, add usage test.

12 years agoGave proper instructions and fixed prototype function bug.
Robert Konigsberg [Fri, 6 Jan 2012 23:44:38 +0000 (18:44 -0500)]
Gave proper instructions and fixed prototype function bug.

12 years agoAdd experimental palette.
Robert Konigsberg [Fri, 6 Jan 2012 23:20:32 +0000 (18:20 -0500)]
Add experimental palette.

12 years agoMore direct browser version verification test for filtering FF3.5.
Robert Konigsberg [Thu, 5 Jan 2012 17:10:20 +0000 (12:10 -0500)]
More direct browser version verification test for filtering FF3.5.

12 years agoOnly show the secondary y-axis label when there is a secondary y-axis.
Dan Vanderkam [Tue, 3 Jan 2012 23:52:24 +0000 (18:52 -0500)]
Only show the secondary y-axis label when there is a secondary y-axis.

12 years agoFix Issue 202: Second Y-Axis Label
Dan Vanderkam [Tue, 3 Jan 2012 23:36:28 +0000 (18:36 -0500)]
Fix Issue 202: Second Y-Axis Label

Option name is "y2label". This results in a label on the right-hand side
of the chart which is rotated in the opposite way of the label on the
left-hand side. It gets CSS classes "dygraph-label dygraph-y2label" (the
primary y-axis label gets "dygraph-label dygraph-ylabel").

12 years agoFix issue 249 & add regression test
Dan Vanderkam [Tue, 3 Jan 2012 22:37:13 +0000 (17:37 -0500)]
Fix issue 249 & add regression test

12 years agoexplicitly set charset=UTF-8 on docs; fixes Usage Gallery display issue.
Dan Vanderkam [Tue, 3 Jan 2012 22:03:18 +0000 (17:03 -0500)]
explicitly set charset=UTF-8 on docs; fixes Usage Gallery display issue.

12 years agoFF3.5 does not support ISO8601 date format.
Dan Vanderkam [Tue, 3 Jan 2012 15:24:45 +0000 (10:24 -0500)]
FF3.5 does not support ISO8601 date format.

12 years agoMerge branch 'master' of github.com:danvk/dygraphs
Dan Vanderkam [Mon, 2 Jan 2012 18:56:35 +0000 (13:56 -0500)]
Merge branch 'master' of github.com:danvk/dygraphs

12 years agoadd n-gramas example to gallery
Dan Vanderkam [Mon, 2 Jan 2012 18:56:26 +0000 (13:56 -0500)]
add n-gramas example to gallery

12 years agoWarning throwing error because of bad method name when setting customBars.
Robert Konigsberg [Thu, 29 Dec 2011 19:03:21 +0000 (14:03 -0500)]
Warning throwing error because of bad method name when setting customBars.

12 years agoTest name in the summary was wrong when selecting individual tests.
Robert Konigsberg [Thu, 29 Dec 2011 02:56:31 +0000 (21:56 -0500)]
Test name in the summary was wrong when selecting individual tests.

12 years agoOrganize local.html just a little.
Robert Konigsberg [Thu, 29 Dec 2011 02:41:49 +0000 (21:41 -0500)]
Organize local.html just a little.

12 years agoAdd tests for isZoomed.
Robert Konigsberg [Thu, 29 Dec 2011 01:55:48 +0000 (20:55 -0500)]
Add tests for isZoomed.

12 years agoMake local testing AWESOME.
Robert Konigsberg [Thu, 29 Dec 2011 01:45:41 +0000 (20:45 -0500)]
Make local testing AWESOME.

12 years agoReturn tests results from runAllTests
Robert Konigsberg [Thu, 29 Dec 2011 01:21:20 +0000 (20:21 -0500)]
Return tests results from runAllTests

12 years agoAdd local test selector. SOO MUCH BETTER.
Robert Konigsberg [Thu, 29 Dec 2011 01:17:44 +0000 (20:17 -0500)]
Add local test selector. SOO MUCH BETTER.

12 years agoisZoomed broken because of == -> === comparison.
Robert Konigsberg [Wed, 28 Dec 2011 23:35:32 +0000 (18:35 -0500)]
isZoomed broken because of == -> === comparison.

12 years agoone more small fix from Paul
Dan Vanderkam [Tue, 27 Dec 2011 16:05:45 +0000 (11:05 -0500)]
one more small fix from Paul

12 years agoAdd jWebChart link to gallery.
Dan Vanderkam [Mon, 26 Dec 2011 16:10:24 +0000 (11:10 -0500)]
Add jWebChart link to gallery.

12 years agoFix issue 246.
Paul Felix [Mon, 26 Dec 2011 05:53:09 +0000 (00:53 -0500)]
Fix issue 246.

See http://code.google.com/p/dygraphs/issues/detail?id=246.

12 years agoExtract the granularity-picking code of the date ticker into a new function.
Adam Vartanian [Mon, 26 Dec 2011 04:30:08 +0000 (23:30 -0500)]
Extract the granularity-picking code of the date ticker into a new function.

Extracting the granularity-selecting code into a new function, it would be
useful for me to be able to call that in my own ticker.

12 years agoAdd JSHint and make dygraphs pass its checks.
Dan Vanderkam [Mon, 26 Dec 2011 04:18:12 +0000 (23:18 -0500)]
Add JSHint and make dygraphs pass its checks.

JSHint is a JS Linter based on JSLint. This commit includes a script which can
run it using either JSC (JavaScriptCore, available on Mac OS X) or Rhino (Java,
on all other platforms).

This catches issues like:
- Unused variables
- Uses of == where === would be better
- Repeated declarations of vars.
- Missing/superfluous semicolons.
- Missing base param on parseInt.

and many others. This did require some adjustments to coding styles (e.g.
hoisting vars up out of for loops) but overall I think it's worth it.

Squashed commit of the following:

commit 4de410a39953da0ad1b9574eab30d5eb81a2e0f5
Author: Dan Vanderkam <dan@dygraphs.com>
Date:   Sun Dec 25 23:17:47 2011 -0500

    track jshint build dir

commit 88da991955e57438fabfbe337fd5c7ff214f7c97
Author: Dan Vanderkam <dan@dygraphs.com>
Date:   Sun Dec 25 23:14:03 2011 -0500

    clear up unused vars and implied globals

commit f48b09df35e1156ab8095a29f082014885b45465
Author: Dan Vanderkam <dan@dygraphs.com>
Date:   Sun Dec 25 22:47:47 2011 -0500

    remove my files

commit b2a58ca5743aee1422608b41cad21c8296aceb2a
Author: Dan Vanderkam <dan@dygraphs.com>
Date:   Sun Dec 25 22:47:29 2011 -0500

    remove jshint tests

commit bf49732c46808752a704ee6a0a5870c6a6812e83
Author: Dan Vanderkam <dan@dygraphs.com>
Date:   Sun Dec 25 22:46:24 2011 -0500

    add a copy of jshint; include its license in README

commit 9b4baf4a36ad1beadf56f0e87e7fa4a226710121
Author: Dan Vanderkam <dan@dygraphs.com>
Date:   Sun Dec 25 22:42:12 2011 -0500

    update lint script to choose either jsc or rhino

commit dcf8db9d762575a43f4aaac8d6a7e1c5d4b8b116
Author: Dan Vanderkam <dan@dygraphs.com>
Date:   Sun Dec 25 22:02:48 2011 -0500

    fix two-arg constructor bug & add test

commit 35ad9c0aeed835ae79bd0fe04ffcfdfe5d54301c
Author: Dan Vanderkam <dan@dygraphs.com>
Date:   Sun Dec 25 21:53:19 2011 -0500

    demo works

commit 012823ca2a491ab8a559815dccb5daeefb224576
Author: Dan Vanderkam <dan@dygraphs.com>
Date:   Sun Dec 25 21:52:15 2011 -0500

    demo works

commit 0f27f4daf820d08f418f33271eee08d1d80551ee
Author: Dan Vanderkam <dan@dygraphs.com>
Date:   Sun Dec 25 21:47:10 2011 -0500

    add lint script -- all JS files pass!

commit 6b9fedce85a383a4776ef059b15c38a451bba023
Author: Dan Vanderkam <dan@dygraphs.com>
Date:   Sun Dec 25 21:46:56 2011 -0500

    dygraph-canvas.js passes

commit f51a2f3c440b44b0d5414acd07da60b28b4e66f2
Author: Dan Vanderkam <dan@dygraphs.com>
Date:   Sun Dec 25 21:13:37 2011 -0500

    dygraph-utils passes

commit f847e67a5f2be36cd7e1d534b47dfdc02878a594
Author: Dan Vanderkam <dan@dygraphs.com>
Date:   Sun Dec 25 21:03:48 2011 -0500

    dygraph-tickers passes

commit 1582fc1f591311ec21a71bdf19b6f3dee3fad728
Author: Dan Vanderkam <dan@dygraphs.com>
Date:   Sun Dec 25 20:56:51 2011 -0500

    dygraph-range-selector passes

commit 974083c7311c9a42161c50c8723d7f8a4ce251fb
Author: Dan Vanderkam <dan@dygraphs.com>
Date:   Sun Dec 25 18:41:52 2011 -0500

    dygraph-options-reference.js passes

commit 1b88fe74a331acea77449d051482d99669dbbef2
Author: Dan Vanderkam <dan@dygraphs.com>
Date:   Sun Dec 25 18:38:58 2011 -0500

    dygraph-layout passes

commit 6b92c4e8993f1ffd56159cb1f623bc8c2cb7b3c9
Author: Dan Vanderkam <dan@dygraphs.com>
Date:   Sun Dec 25 18:35:35 2011 -0500

    dygraph-interaction-model.js passes

commit 955b58fbb3c41f8916f5d65fba0b767a61a5f3b1
Author: Dan Vanderkam <dan@dygraphs.com>
Date:   Sun Dec 25 18:34:08 2011 -0500

    dygraph-gviz.js passes

commit 41a65c43ae7f13f100468460b181be154b400853
Author: Dan Vanderkam <dan@dygraphs.com>
Date:   Sun Dec 25 18:29:09 2011 -0500

    dygraph.js passes

12 years agoAdd a simple Usage Gallery to the dygraphs home page.
Dan Vanderkam [Fri, 23 Dec 2011 06:40:34 +0000 (01:40 -0500)]
Add a simple Usage Gallery to the dygraphs home page.

12 years agoFix issue 237 (standard date/time string)
Dan Vanderkam [Thu, 22 Dec 2011 20:38:17 +0000 (15:38 -0500)]
Fix issue 237 (standard date/time string)

This incorporates a patch from Steve Flenniken to support ISO 8601-format
(YYYY-MM-DDTHH:MM:SS.ddddddZ) dates. Also includes a regression test.

12 years agoWork around issue 200: Android 3.0: dygraph does not show
Dan Vanderkam [Thu, 22 Dec 2011 05:22:54 +0000 (00:22 -0500)]
Work around issue 200: Android 3.0: dygraph does not show

Android's canvas implementation is buggy. It doesn't support clipping.
For now, I manually detect the Android browser and disable clipping.

12 years agoFix Issue 60: Add tests for one data point and zero data points
Dan Vanderkam [Wed, 21 Dec 2011 22:22:30 +0000 (17:22 -0500)]
Fix Issue 60: Add tests for one data point and zero data points

The zero point case is pathological, but at least it no longer crashes.
Also includes some miscellaneous other cleanup.

12 years agoFix issue 131: setVisibility() broken with multiple axes
Dan Vanderkam [Wed, 21 Dec 2011 21:29:22 +0000 (16:29 -0500)]
Fix issue 131: setVisibility() broken with multiple axes

This reworks the logic for visibility and axes. Invisible series are kept in
the seriesToAxis map, but are ignored when calculating the layout and extreme
values.

I am slightly wary because I did not understand the comment about visibility in
the deleted portion of computeYAxes_. It seemed to be describing the exact same
problem as this bug, but did not really address it.

Squashed commit of the following:

commit 5916f4782d26e0933764607dd7cc93ebde981b2a
Author: Dan Vanderkam <dan@dygraphs.com>
Date:   Wed Dec 21 16:26:56 2011 -0500

    I do not believe so

commit ae08301858225d9c9b2eb185cb45be8a3cf1387e
Author: Dan Vanderkam <dan@dygraphs.com>
Date:   Wed Dec 21 16:25:52 2011 -0500

    issue is fixed, but are there side-effects?

commit 4cfbfae182d800bd15c738e879c707b283117983
Merge: c26c4fd 107c99e
Author: Dan Vanderkam <dan@dygraphs.com>
Date:   Wed Dec 21 15:58:24 2011 -0500

    Merge branch 'master' into issue131

commit c26c4fd945d1b515d2ebe7839fb5fc7a9cfa2cec
Author: Dan Vanderkam <dan@dygraphs.com>
Date:   Wed Dec 21 15:51:03 2011 -0500

    failing auto_test

12 years agoremove extra logging from scrolling_div.js
Dan Vanderkam [Wed, 21 Dec 2011 20:55:41 +0000 (15:55 -0500)]
remove extra logging from scrolling_div.js

12 years agoFix some tests that started failing in OS X Lion.
Dan Vanderkam [Wed, 21 Dec 2011 20:43:26 +0000 (15:43 -0500)]
Fix some tests that started failing in OS X Lion.

12 years agoMerge branch 'master' of http://github.com/danvk/dygraphs
Robert Konigsberg [Wed, 21 Dec 2011 19:42:18 +0000 (14:42 -0500)]
Merge branch 'master' of github.com/danvk/dygraphs

12 years agoAdd tests that would have caught the issue with filled/stacked graphs.
Robert Konigsberg [Wed, 21 Dec 2011 19:41:55 +0000 (14:41 -0500)]
Add tests that would have caught the issue with filled/stacked graphs.