dygraphs.git
13 years agoTests for pointClickCallback.
Robert Konigsberg [Thu, 2 Jun 2011 20:15:32 +0000 (16:15 -0400)]
Tests for pointClickCallback.

13 years agoAdd useful comments to some of the mousedispatch methods.
Robert Konigsberg [Thu, 2 Jun 2011 19:55:08 +0000 (15:55 -0400)]
Add useful comments to some of the mousedispatch methods.

13 years agoRestructure the nature of click callbacks. PointClickCallback now
Robert Konigsberg [Thu, 2 Jun 2011 19:03:00 +0000 (15:03 -0400)]
Restructure the nature of click callbacks. PointClickCallback now
occurrs prior to clickCallback.

Also, point size taken into account for determining pointClickCallback.

13 years agoBetter pointClickCallback, updated doc.
Robert Konigsberg [Wed, 1 Jun 2011 19:46:19 +0000 (15:46 -0400)]
Better pointClickCallback, updated doc.

13 years agoSmall bug: when selPoints_ is empty, pointClickCallback is always called
Robert Konigsberg [Wed, 25 May 2011 18:59:10 +0000 (14:59 -0400)]
Small bug: when selPoints_ is empty, pointClickCallback is always called
because closestDistance < 5*5. So make it MAX_NUM. We could probably
remove the closestIdx == 1 too.

13 years agoRemove double-call of treatMouseOpAsClick, and also pass event, which
Robert Konigsberg [Wed, 25 May 2011 17:43:14 +0000 (13:43 -0400)]
Remove double-call of treatMouseOpAsClick, and also pass event, which
makes pointClickCallback work once again.

13 years agotreatMouseOpAsClick requires two parameters, I didn't send them both all
Robert Konigsberg [Tue, 24 May 2011 21:18:48 +0000 (17:18 -0400)]
treatMouseOpAsClick requires two parameters, I didn't send them both all
the time.

13 years agoAnnotation date parser was failing, but not providing the correct
Robert Konigsberg [Tue, 24 May 2011 21:13:48 +0000 (17:13 -0400)]
Annotation date parser was failing, but not providing the correct
message because it didn't have a reference to the dygraph, aka "self".

13 years agoFix bug 192.
Robert Konigsberg [Tue, 24 May 2011 18:25:40 +0000 (14:25 -0400)]
Fix bug 192.

13 years agoAdditional minor adjustments to dygraphs to get clickCallbacks to work.
Robert Konigsberg [Mon, 23 May 2011 22:43:08 +0000 (18:43 -0400)]
Additional minor adjustments to dygraphs to get clickCallbacks to work.

This required clickCallback to get a hold of the context. I'm a little
nervous about this because context is still considered a somewhat
private object. However, to get what I want working, I need the values
inside it.

13 years agoWhen pan is the default behavior, clearSelection can't be called on
Robert Konigsberg [Fri, 13 May 2011 15:37:40 +0000 (11:37 -0400)]
When pan is the default behavior, clearSelection can't be called on
redraw.

13 years agotemporarily disabling a test while figuring out how to fix it.
Robert Konigsberg [Fri, 13 May 2011 15:20:02 +0000 (11:20 -0400)]
temporarily disabling a test while figuring out how to fix it.

13 years agoStart adding tests for the interaction model. Create the beginning of a
Robert Konigsberg [Fri, 13 May 2011 15:18:09 +0000 (11:18 -0400)]
Start adding tests for the interaction model. Create the beginning of a
solution for getting clickCallbacks when the interaction model is
rewritten.

There's lots about this change I dislike (the method naming for one.)

Still pending is the lack of maintaining lastx and selPoints.

13 years agofix broken test
Dan Vanderkam [Thu, 12 May 2011 04:18:30 +0000 (00:18 -0400)]
fix broken test

13 years agofix name collision
Dan Vanderkam [Thu, 12 May 2011 04:06:49 +0000 (00:06 -0400)]
fix name collision

13 years agoadd tests for axis labels to pin down the current behavior
Dan Vanderkam [Thu, 12 May 2011 03:57:24 +0000 (23:57 -0400)]
add tests for axis labels to pin down the current behavior

13 years agoadd classes to x- and y-axis labels
Dan Vanderkam [Thu, 12 May 2011 03:57:12 +0000 (23:57 -0400)]
add classes to x- and y-axis labels

13 years agofix labels issue when loading CSV multiple times and add a test
Dan Vanderkam [Thu, 12 May 2011 03:46:31 +0000 (23:46 -0400)]
fix labels issue when loading CSV multiple times and add a test

13 years agoMerge pull request #63 from kberg/master
Dan Vanderkam [Tue, 10 May 2011 03:42:14 +0000 (20:42 -0700)]
Merge pull request #63 from kberg/master

Add range changing tests. Add support for mouse operations. Add some changes to the docs. Add more code to fake-jstestdriver.

13 years agoreorganize doc links
Dan Vanderkam [Tue, 10 May 2011 03:16:14 +0000 (23:16 -0400)]
reorganize doc links

13 years agopush jsdoc to web
Dan Vanderkam [Tue, 10 May 2011 03:07:51 +0000 (23:07 -0400)]
push jsdoc to web

13 years agomore space for y-axis label on noise test
Dan Vanderkam [Mon, 9 May 2011 18:09:09 +0000 (14:09 -0400)]
more space for y-axis label on noise test

13 years agolinear/log toggle with customBars now works perfectly
Dan Vanderkam [Mon, 9 May 2011 17:25:10 +0000 (13:25 -0400)]
linear/log toggle with customBars now works perfectly

13 years agoadd block_redraw option
Dan Vanderkam [Mon, 9 May 2011 17:24:53 +0000 (13:24 -0400)]
add block_redraw option

13 years agofix lingering hover dot on zoom bug
Dan Vanderkam [Mon, 9 May 2011 17:13:20 +0000 (13:13 -0400)]
fix lingering hover dot on zoom bug

13 years agonew demo of a chart w/ no boxy elements, plus a spark line (a tiny, tiny dygraph)
Dan Vanderkam [Mon, 9 May 2011 16:57:00 +0000 (12:57 -0400)]
new demo of a chart w/ no boxy elements, plus a spark line (a tiny, tiny dygraph)

13 years agoignore docs/options.html
Dan Vanderkam [Mon, 9 May 2011 16:56:35 +0000 (12:56 -0400)]
ignore docs/options.html

13 years agoconsider whether axes are displayed when computing area
Dan Vanderkam [Mon, 9 May 2011 16:56:13 +0000 (12:56 -0400)]
consider whether axes are displayed when computing area

13 years agoI can't believe the 'file' option wasn't documented!
Dan Vanderkam [Mon, 9 May 2011 16:37:37 +0000 (12:37 -0400)]
I can't believe the 'file' option wasn't documented!

13 years agoextra category
Dan Vanderkam [Mon, 9 May 2011 16:25:19 +0000 (09:25 -0700)]
extra category

13 years agoflesh out docs; split axisLineWIdth and gridLineWidth properties
Dan Vanderkam [Mon, 9 May 2011 16:25:05 +0000 (09:25 -0700)]
flesh out docs; split axisLineWIdth and gridLineWidth properties

13 years agono more renderer options!
Dan Vanderkam [Mon, 9 May 2011 16:04:22 +0000 (09:04 -0700)]
no more renderer options!

13 years agohack more renderer options out
Dan Vanderkam [Mon, 9 May 2011 15:58:31 +0000 (08:58 -0700)]
hack more renderer options out

13 years agoremove most DygraphCanvasRenderer options
Dan Vanderkam [Mon, 9 May 2011 15:48:06 +0000 (08:48 -0700)]
remove most DygraphCanvasRenderer options

13 years agoremove DygraphLayout.options
Dan Vanderkam [Mon, 9 May 2011 15:27:07 +0000 (08:27 -0700)]
remove DygraphLayout.options

13 years agojsdoc toolkit license in README
Dan Vanderkam [Mon, 9 May 2011 14:59:13 +0000 (07:59 -0700)]
jsdoc toolkit license in README

13 years agomove Interaction methods out into their own class.
Dan Vanderkam [Mon, 9 May 2011 14:55:52 +0000 (07:55 -0700)]
move Interaction methods out into their own class.

13 years agoworking generate-jsdoc script
Dan Vanderkam [Mon, 9 May 2011 14:36:58 +0000 (07:36 -0700)]
working generate-jsdoc script

13 years agocleanup, jsdoc warning message
Dan Vanderkam [Mon, 9 May 2011 14:32:46 +0000 (07:32 -0700)]
cleanup, jsdoc warning message

13 years agochmod, .gitignore jsdoc dir
Dan Vanderkam [Mon, 9 May 2011 14:23:00 +0000 (07:23 -0700)]
chmod, .gitignore jsdoc dir

13 years agoclear generated jsdoc; add script
Dan Vanderkam [Mon, 9 May 2011 14:20:03 +0000 (07:20 -0700)]
clear generated jsdoc; add script

13 years agocan generate jsdoc; private methods marked as such
Dan Vanderkam [Mon, 9 May 2011 14:15:18 +0000 (07:15 -0700)]
can generate jsdoc; private methods marked as such

13 years agoDygraphOps now does the right thing with events, which have read-only attributes...
Robert Konigsberg [Thu, 5 May 2011 23:34:52 +0000 (16:34 -0700)]
DygraphOps now does the right thing with events, which have read-only attributes (who knew there were read-only attributes, and can I get one of those?)
range_tests altered to reflect this.

13 years agoMerge branch 'master' of https://github.com/danvk/dygraphs
Robert Konigsberg [Thu, 5 May 2011 22:23:27 +0000 (15:23 -0700)]
Merge branch 'master' of https://github.com/danvk/dygraphs

13 years agoFix pedantic typo in copyright headers.
Robert Konigsberg [Thu, 5 May 2011 01:16:23 +0000 (18:16 -0700)]
Fix pedantic typo in copyright headers.

13 years agoRestore original data stirng in the README sample.
Robert Konigsberg [Thu, 5 May 2011 01:13:19 +0000 (18:13 -0700)]
Restore original data stirng in the README sample.

13 years agoUpdate global README with updated example, and license information for auto-tests.
Robert Konigsberg [Wed, 4 May 2011 22:16:35 +0000 (15:16 -0700)]
Update global README with updated example, and license information for auto-tests.

13 years agoMerge pull request #62 from kberg/fix174.
Dan Vanderkam [Tue, 3 May 2011 15:10:09 +0000 (08:10 -0700)]
Merge pull request #62 from kberg/fix174.

Fix bug 174. This is pulled from nealie's fork.

13 years agoAdded range_tests, which uses DygraphOps -- an API for pushing Dygraph-specific events.
Robert Konigsberg [Thu, 28 Apr 2011 16:18:30 +0000 (12:18 -0400)]
Added range_tests, which uses DygraphOps -- an API for pushing Dygraph-specific events.

13 years agoAdded runAllTests. Useful.
Robert Konigsberg [Thu, 28 Apr 2011 16:17:56 +0000 (12:17 -0400)]
Added runAllTests. Useful.

13 years agooops -- s/MoreAsserts.//
Robert Konigsberg [Wed, 27 Apr 2011 22:17:35 +0000 (18:17 -0400)]
oops -- s/MoreAsserts.//

13 years agoMoving the delta tests to MoreAsserts. MoreAsserts is actually going to go away when...
Robert Konigsberg [Wed, 27 Apr 2011 21:01:15 +0000 (17:01 -0400)]
Moving the delta tests to MoreAsserts. MoreAsserts is actually going to go away when this code goes in to jstestdriver. I don't suggest you ... don't look too hard at MoreAsserts, but don't look too hard. A proper review will be done on the jstestdriver side.

13 years agoUpdated fake test runner that shows stack traces on failure.
Robert Konigsberg [Wed, 27 Apr 2011 20:47:08 +0000 (16:47 -0400)]
Updated fake test runner that shows stack traces on failure.

13 years agoUpdated auto tests per danvk's comments.
Robert Konigsberg [Wed, 27 Apr 2011 20:32:19 +0000 (16:32 -0400)]
Updated auto tests per danvk's comments.

13 years agoFake jstestdriver was not storing jquery, wonder why that was broken.
Robert Konigsberg [Tue, 26 Apr 2011 19:49:31 +0000 (15:49 -0400)]
Fake jstestdriver was not storing jquery, wonder why that was broken.

13 years agoFix bug 174. This is pulled from
Robert Konigsberg [Tue, 26 Apr 2011 19:01:38 +0000 (15:01 -0400)]
Fix bug 174. This is pulled from
https://github.com/nealie/dygraphs/commit/d61581e981c0d8e9415e9950c330898b209753cb
and if I knew how to pull that into my repo I'd do just that.

13 years agoFirst set of automated tests for Dygraphs.
Robert Konigsberg [Tue, 26 Apr 2011 16:53:14 +0000 (12:53 -0400)]
First set of automated tests for Dygraphs.

13 years agoExpose function that can be replaced during tests for mocking out the HTML5 canvas...
Robert Konigsberg [Mon, 25 Apr 2011 19:25:17 +0000 (15:25 -0400)]
Expose function that can be replaced during tests for mocking out the HTML5 canvas context.

13 years agoUpdate documentation of the test.
Robert Konigsberg [Mon, 25 Apr 2011 19:25:03 +0000 (15:25 -0400)]
Update documentation of the test.

13 years agouse scp -r to copy tests directory
Dan Vanderkam [Sun, 24 Apr 2011 22:47:37 +0000 (18:47 -0400)]
use scp -r to copy tests directory

13 years agoworks in FF too
Dan Vanderkam [Sun, 24 Apr 2011 22:43:14 +0000 (18:43 -0400)]
works in FF too

13 years agodrawing demo
Dan Vanderkam [Sun, 24 Apr 2011 22:26:35 +0000 (18:26 -0400)]
drawing demo

13 years agodocs and test revert_sigfigs
Dan Vanderkam [Sun, 24 Apr 2011 18:54:05 +0000 (14:54 -0400)]
docs and test

13 years agobetter error with non-existent labelsDiv
Dan Vanderkam [Sun, 24 Apr 2011 17:50:11 +0000 (13:50 -0400)]
better error with non-existent labelsDiv

13 years agomerge upstream changes
Dan Vanderkam [Sun, 24 Apr 2011 16:00:01 +0000 (12:00 -0400)]
merge upstream changes

13 years agoadd back Dygraph.floatFormat
Dan Vanderkam [Sun, 24 Apr 2011 05:16:32 +0000 (01:16 -0400)]
add back Dygraph.floatFormat

13 years agoworking w/o scientific notation
Dan Vanderkam [Sun, 24 Apr 2011 03:00:09 +0000 (23:00 -0400)]
working w/o scientific notation

13 years agoremove test
Dan Vanderkam [Mon, 18 Apr 2011 16:47:26 +0000 (12:47 -0400)]
remove test

13 years agorevert sig figs behavior
Dan Vanderkam [Mon, 18 Apr 2011 16:44:34 +0000 (12:44 -0400)]
revert sig figs behavior

13 years agofix embarrassing CSV error on dygraphs home page
Dan Vanderkam [Sun, 10 Apr 2011 22:27:09 +0000 (18:27 -0400)]
fix embarrassing CSV error on dygraphs home page

13 years agoMerge branch 'master' of github.com:danvk/dygraphs
Dan Vanderkam [Sun, 10 Apr 2011 21:56:18 +0000 (17:56 -0400)]
Merge branch 'master' of github.com:danvk/dygraphs

13 years agoupdate legend when updateOptions() is called
Dan Vanderkam [Sun, 10 Apr 2011 19:13:29 +0000 (15:13 -0400)]
update legend when updateOptions() is called

13 years agoonly show visible series on the legend
Dan Vanderkam [Sun, 10 Apr 2011 19:01:40 +0000 (15:01 -0400)]
only show visible series on the legend

13 years agouse CSS to color legend labels (fixes long-standing issue in demo.html)
Dan Vanderkam [Sun, 10 Apr 2011 18:40:55 +0000 (14:40 -0400)]
use CSS to color legend labels (fixes long-standing issue in demo.html)

13 years agoMerge branch 'master' of https://github.com/kberg/dygraphs
Dan Vanderkam [Thu, 7 Apr 2011 19:45:32 +0000 (15:45 -0400)]
Merge branch 'master' of https://github.com/kberg/dygraphs

13 years agoDon't display a graph by default, because if you make custom settings,
Robert Konigsberg [Thu, 7 Apr 2011 17:42:35 +0000 (13:42 -0400)]
Don't display a graph by default, because if you make custom settings,
the first run will skew the results.

13 years agotweaks to reduce horizontal width of home page
Dan Vanderkam [Thu, 7 Apr 2011 17:38:39 +0000 (13:38 -0400)]
tweaks to reduce horizontal width of home page

13 years agoReplace default execution with a "go!" button. Also keeping history of
Robert Konigsberg [Thu, 7 Apr 2011 16:33:02 +0000 (12:33 -0400)]
Replace default execution with a "go!" button. Also keeping history of
runs. And because meta is bettah, it even displays the rendering time of
the subgraph. Oh yes. You're welcome. You are welcome.

13 years agoAdd ability to run test many times for a better sense of performance metrics.
Robert Konigsberg [Thu, 7 Apr 2011 15:29:50 +0000 (11:29 -0400)]
Add ability to run test many times for a better sense of performance metrics.

When run multiple times, this results in showing a nice dygraph of the
different runtimes. SELF-HOSTING! WE MUST GO DEEPER.

13 years agog -> g2
Dan Vanderkam [Tue, 5 Apr 2011 19:01:12 +0000 (15:01 -0400)]
g -> g2

13 years agoAdd test for value range being respected when no lines are visible.
Adam Vartanian [Tue, 5 Apr 2011 16:39:30 +0000 (12:39 -0400)]
Add test for value range being respected when no lines are visible.

13 years agoChange no-series-defined behavior so that it computes the
Adam Vartanian [Tue, 5 Apr 2011 16:36:22 +0000 (12:36 -0400)]
Change no-series-defined behavior so that it computes the
extreme range.  This still allows zooming in and respecting
user-defined ranges even when no series are present.

13 years agomerge master
Dan Vanderkam [Tue, 5 Apr 2011 14:35:42 +0000 (10:35 -0400)]
merge master

13 years agogeneral cleanup
Dan Vanderkam [Tue, 5 Apr 2011 14:32:44 +0000 (10:32 -0400)]
general cleanup

13 years agoMerge branch 'master' of https://github.com/nealie/dygraphs into nealie
Dan Vanderkam [Mon, 4 Apr 2011 23:51:53 +0000 (19:51 -0400)]
Merge branch 'master' of https://github.com/nealie/dygraphs into nealie

13 years agotweak demo chart a bit
Dan Vanderkam [Mon, 4 Apr 2011 23:51:06 +0000 (19:51 -0400)]
tweak demo chart a bit

13 years agotweak defaults a bit
Dan Vanderkam [Mon, 4 Apr 2011 23:47:24 +0000 (19:47 -0400)]
tweak defaults a bit

13 years agotwo charts on demo page
Dan Vanderkam [Mon, 4 Apr 2011 12:53:37 +0000 (08:53 -0400)]
two charts on demo page

13 years agoworks in IE8
Dan Vanderkam [Mon, 4 Apr 2011 04:39:00 +0000 (00:39 -0400)]
works in IE8

13 years agoworks in IE9
Dan Vanderkam [Mon, 4 Apr 2011 04:20:26 +0000 (00:20 -0400)]
works in IE9

13 years agomore chart label tweaks -- getting close!
Dan Vanderkam [Mon, 4 Apr 2011 04:12:24 +0000 (00:12 -0400)]
more chart label tweaks -- getting close!

13 years agoMerge branch 'master' into chart-labels
Dan Vanderkam [Mon, 4 Apr 2011 03:17:42 +0000 (23:17 -0400)]
Merge branch 'master' into chart-labels

13 years agoremove flashcanvas
Dan Vanderkam [Mon, 4 Apr 2011 03:17:34 +0000 (23:17 -0400)]
remove flashcanvas

13 years agowrap Date.parse() defensively (mootools and joomla override it with something incompa...
Dan Vanderkam [Mon, 4 Apr 2011 03:11:48 +0000 (23:11 -0400)]
wrap Date.parse() defensively (mootools and joomla override it with something incompatible)

13 years agomove asynchronous JS snippet to <head>
Dan Vanderkam [Fri, 1 Apr 2011 21:57:36 +0000 (17:57 -0400)]
move asynchronous JS snippet to <head>

13 years ago- Merge branch 'master' of http://github.com/danvk/dygraphs
Neal Nelson [Fri, 1 Apr 2011 10:23:02 +0000 (12:23 +0200)]
- Merge branch 'master' of github.com/danvk/dygraphs
- Change noZoomFlagChange option to isZoomedIgnoreProgrammaticZoom.
- Move the isZoomed demo to tests/is-zoomed.html.
Conflicts:
docs/index.html
dygraph.js

13 years agoadd analytics to all dygraphs pages
Dan Vanderkam [Thu, 31 Mar 2011 18:15:21 +0000 (14:15 -0400)]
add analytics to all dygraphs pages

13 years agoMerge branch 'master' into chart-labels
Dan Vanderkam [Thu, 31 Mar 2011 16:31:57 +0000 (12:31 -0400)]
Merge branch 'master' into chart-labels

13 years agoadd debug mode to generate-documentation and fix small bug
Dan Vanderkam [Thu, 31 Mar 2011 15:53:36 +0000 (11:53 -0400)]
add debug mode to generate-documentation and fix small bug

13 years agoMerge branch 'master' of https://github.com/kberg/dygraphs
Dan Vanderkam [Thu, 31 Mar 2011 15:40:05 +0000 (11:40 -0400)]
Merge branch 'master' of https://github.com/kberg/dygraphs