dygraphs.git
13 years agoseparate numberFormatter into two functions
Dan Vanderkam [Wed, 10 Aug 2011 16:34:00 +0000 (12:34 -0400)]
separate numberFormatter into two functions

13 years agonever use valueFormatters for ticks
Dan Vanderkam [Wed, 10 Aug 2011 16:19:46 +0000 (12:19 -0400)]
never use valueFormatters for ticks

13 years agoTODO
Dan Vanderkam [Tue, 9 Aug 2011 22:08:49 +0000 (18:08 -0400)]
TODO

13 years agoMerge branch 'master' into ticker
Dan Vanderkam [Tue, 9 Aug 2011 21:56:10 +0000 (17:56 -0400)]
Merge branch 'master' into ticker

13 years agoSet a max-width on the content column of the main documentation page and add a "Fork...
Dan Vanderkam [Tue, 9 Aug 2011 20:28:10 +0000 (16:28 -0400)]
Set a max-width on the content column of the main documentation page and add a "Fork me on github" ribbon.

13 years agoAdd a test case for rolling averages and fix two bugs that it uncovered
Dan Vanderkam [Tue, 9 Aug 2011 15:47:12 +0000 (11:47 -0400)]
Add a test case for rolling averages and fix two bugs that it uncovered

13 years agoA small shell script to create a new auto_test
Dan Vanderkam [Tue, 9 Aug 2011 15:46:45 +0000 (11:46 -0400)]
A small shell script to create a new auto_test

13 years agocleanup
Dan Vanderkam [Mon, 8 Aug 2011 18:14:17 +0000 (14:14 -0400)]
cleanup

13 years agorename functions
Dan Vanderkam [Mon, 8 Aug 2011 17:43:13 +0000 (13:43 -0400)]
rename functions

13 years agoadd yTicker optoin
Dan Vanderkam [Mon, 8 Aug 2011 17:40:17 +0000 (13:40 -0400)]
add yTicker optoin

13 years agoall tests pass
Dan Vanderkam [Mon, 8 Aug 2011 17:31:31 +0000 (13:31 -0400)]
all tests pass

13 years agoback to sanity
Dan Vanderkam [Mon, 8 Aug 2011 17:17:21 +0000 (13:17 -0400)]
back to sanity

13 years agoff
Dan Vanderkam [Mon, 8 Aug 2011 17:16:18 +0000 (13:16 -0400)]
ff

13 years agostart getting tickers.js to pass
Dan Vanderkam [Mon, 8 Aug 2011 17:05:43 +0000 (13:05 -0400)]
start getting tickers.js to pass

13 years agoslight contract change for valueFormatter
Dan Vanderkam [Mon, 8 Aug 2011 15:42:30 +0000 (11:42 -0400)]
slight contract change for valueFormatter

13 years agorevert Asserts.js changes
Dan Vanderkam [Mon, 8 Aug 2011 15:02:02 +0000 (11:02 -0400)]
revert Asserts.js changes

13 years agofix tests by adjusting expectations
Dan Vanderkam [Mon, 8 Aug 2011 14:59:57 +0000 (10:59 -0400)]
fix tests by adjusting expectations

13 years agosupport old-style per-axis options and add a test
Dan Vanderkam [Mon, 8 Aug 2011 12:44:17 +0000 (08:44 -0400)]
support old-style per-axis options and add a test

13 years agoswitch to deep-copying in updateOptions and add some tests
Dan Vanderkam [Mon, 8 Aug 2011 12:16:48 +0000 (08:16 -0400)]
switch to deep-copying in updateOptions and add some tests

13 years agoupdated test passing w/ a few incorrect values
Dan Vanderkam [Mon, 8 Aug 2011 11:49:04 +0000 (07:49 -0400)]
updated test passing w/ a few incorrect values

13 years agoMerge branch 'master' into ticker
Dan Vanderkam [Mon, 8 Aug 2011 11:28:46 +0000 (07:28 -0400)]
Merge branch 'master' into ticker

13 years agoSimplify running tests from auto_tests/misc/local.html. Now a one-step process with...
Dan Vanderkam [Mon, 8 Aug 2011 11:25:00 +0000 (07:25 -0400)]
Simplify running tests from auto_tests/misc/local.html. Now a one-step process with full auto-complete.

13 years agocleanup
Dan Vanderkam [Mon, 8 Aug 2011 02:06:22 +0000 (22:06 -0400)]
cleanup

13 years agoall tests pass!!!!
Dan Vanderkam [Mon, 8 Aug 2011 02:03:27 +0000 (22:03 -0400)]
all tests pass!!!!

13 years agodeep/shallow copy confusion; only two tests fail
Dan Vanderkam [Mon, 8 Aug 2011 02:00:35 +0000 (22:00 -0400)]
deep/shallow copy confusion; only two tests fail

13 years agozoom.html has problems
Dan Vanderkam [Sun, 7 Aug 2011 18:38:55 +0000 (14:38 -0400)]
zoom.html has problems

13 years agomanual tests seem to be working
Dan Vanderkam [Sun, 7 Aug 2011 18:07:38 +0000 (14:07 -0400)]
manual tests seem to be working

13 years agoclarify existing/correct behavior
Dan Vanderkam [Sat, 6 Aug 2011 18:14:20 +0000 (14:14 -0400)]
clarify existing/correct behavior

13 years agoadd a few test cases for valueFormatter and axisLabelFormatter (including existing...
Dan Vanderkam [Sat, 6 Aug 2011 18:12:50 +0000 (14:12 -0400)]
add a few test cases for valueFormatter and axisLabelFormatter (including existing bugs)

13 years agoMerge branch 'master' into ticker
Dan Vanderkam [Sat, 6 Aug 2011 17:33:25 +0000 (13:33 -0400)]
Merge branch 'master' into ticker

13 years agoFrom antrob: Single point per pixel, do the optimization in the actual rendering...
Dan Vanderkam [Wed, 3 Aug 2011 18:19:00 +0000 (21:19 +0300)]
From antrob: Single point per pixel, do the optimization in the actual rendering function.

This is not as fast as skipping the points altogether, but it still
provides an excellent speed up for large data sets and will not cause
issues with other functions that expect the points to be there.

This is safe with setSelection, annotations, etc.

13 years agoFrom antrob; don't recalculate layout when updateOptions() would not change it.
Dan Vanderkam [Tue, 2 Aug 2011 04:35:17 +0000 (07:35 +0300)]
From antrob; don't recalculate layout when updateOptions() would not change it.

This suppresses recalculation of the pixel position of points when calling
updateOptions() with options which will not affect the layout. Insignificant
for small graphs, but this change provides a great performance boost for
changing options for graphs with multiple data sets.

Anthony saw something like a 30-40% speedup for dense charts.

13 years agoMerge branch 'master' of github.com:danvk/dygraphs
Dan Vanderkam [Tue, 2 Aug 2011 04:25:37 +0000 (07:25 +0300)]
Merge branch 'master' of github.com:danvk/dygraphs

13 years agoMerge pull request #81 from kberg/master
Dan Vanderkam [Tue, 2 Aug 2011 04:25:21 +0000 (21:25 -0700)]
Merge pull request #81 from kberg/master

Simpler test execution when running locally.

13 years agocleanup; use passing assert
Dan Vanderkam [Tue, 2 Aug 2011 04:23:55 +0000 (07:23 +0300)]
cleanup; use passing assert

13 years agoMerge branch 'master' of https://github.com/lrobb/dygraphs into lrobb
Dan Vanderkam [Tue, 2 Aug 2011 04:20:31 +0000 (07:20 +0300)]
Merge branch 'master' of https://github.com/lrobb/dygraphs into lrobb

13 years agoMerge branch 'master' of github.com:danvk/dygraphs
Dan Vanderkam [Tue, 2 Aug 2011 04:19:17 +0000 (07:19 +0300)]
Merge branch 'master' of github.com:danvk/dygraphs

13 years agoProvide local test execution by function reference, which is much
Robert Konigsberg [Mon, 1 Aug 2011 20:09:57 +0000 (16:09 -0400)]
Provide local test execution by function reference, which is much
friendlier than existing string-based invocation.

13 years agoFormat for x-axis labels test added.
unknown [Mon, 1 Aug 2011 00:01:56 +0000 (19:01 -0500)]
Format for x-axis labels test added.

13 years agoremove ineffective labelsDivStyle, rename the other
Dan Vanderkam [Wed, 27 Jul 2011 07:27:25 +0000 (03:27 -0400)]
remove ineffective labelsDivStyle, rename the other

13 years agoset class on labelsDiv
Dan Vanderkam [Wed, 27 Jul 2011 07:25:22 +0000 (03:25 -0400)]
set class on labelsDiv

13 years agoresize automatically
Dan Vanderkam [Wed, 27 Jul 2011 07:14:43 +0000 (03:14 -0400)]
resize automatically

13 years agofix bug with invisible dygraphs and add a regression test
Dan Vanderkam [Tue, 26 Jul 2011 21:00:47 +0000 (17:00 -0400)]
fix bug with invisible dygraphs and add a regression test

13 years agochange line endings back in rgbcolor.js
Dan Vanderkam [Tue, 26 Jul 2011 15:21:45 +0000 (11:21 -0400)]
change line endings back in rgbcolor.js

13 years agomisc cleanup
Dan Vanderkam [Tue, 26 Jul 2011 15:14:59 +0000 (11:14 -0400)]
misc cleanup

13 years agoadd timingName option
Dan Vanderkam [Tue, 26 Jul 2011 04:49:41 +0000 (00:49 -0400)]
add timingName option

13 years agoclean up alignment
Dan Vanderkam [Tue, 26 Jul 2011 03:44:54 +0000 (23:44 -0400)]
clean up alignment

13 years agoMerge branch 'canvas' of https://github.com/clocksmith/dygraphs
Dan Vanderkam [Tue, 26 Jul 2011 03:32:26 +0000 (23:32 -0400)]
Merge branch 'canvas' of https://github.com/clocksmith/dygraphs

13 years agotemporarily disable optimization
Dan Vanderkam [Tue, 26 Jul 2011 03:30:00 +0000 (23:30 -0400)]
temporarily disable optimization

13 years agoregression test for dense setSelection bug; currently fails
Dan Vanderkam [Tue, 26 Jul 2011 03:28:45 +0000 (23:28 -0400)]
regression test for dense setSelection bug; currently fails

13 years agosync changes
Dan Vanderkam [Mon, 25 Jul 2011 22:49:15 +0000 (18:49 -0400)]
sync changes

13 years agoprefer to use offsetWidth & offsetHeight when applicable. Add auto_test for dygraph...
Dan Vanderkam [Mon, 25 Jul 2011 22:45:37 +0000 (18:45 -0400)]
prefer to use offsetWidth & offsetHeight when applicable. Add auto_test for dygraph div sizing.

13 years agomerge
Dan Vanderkam [Mon, 25 Jul 2011 22:39:04 +0000 (18:39 -0400)]
merge

13 years agochanged renderLineCharts algorithm for graphs without errorbars from O(k^2 * n)...
Anthony Robledo [Wed, 20 Jul 2011 21:13:37 +0000 (17:13 -0400)]
changed renderLineCharts algorithm for graphs without errorbars  from O(k^2 * n) to O(k * n) where k is number of series and n is number of points per series.

13 years agoMerge pull request #76 from clocksmith/singleppp
Dan Vanderkam [Wed, 20 Jul 2011 15:17:04 +0000 (08:17 -0700)]
Merge pull request #76 from clocksmith/singleppp

Deleted unnecessary line that was causing variable name collision that af

13 years agoDeleted unnecessary line that was causing variable name collision that affected singl...
Anthony Robledo [Wed, 20 Jul 2011 02:03:54 +0000 (22:03 -0400)]
Deleted unnecessary line that was causing variable name collision that affected single point per pixel optimization.

13 years agodrop pixel skipping optimization w/ annotations, too
Dan Vanderkam [Tue, 19 Jul 2011 21:36:05 +0000 (17:36 -0400)]
drop pixel skipping optimization w/ annotations, too

13 years agoOnly add 1 point per pixel for graphs without error bars to speed up rendering.
Anthony Robledo [Tue, 19 Jul 2011 21:00:01 +0000 (17:00 -0400)]
Only add 1 point per pixel for graphs without error bars to speed up rendering.

13 years agoAdded two demos to the tests folder for the sf vs ny temperatures.
Anthony Robledo [Tue, 19 Jul 2011 20:21:46 +0000 (16:21 -0400)]
Added two demos to the tests folder for the sf vs ny temperatures.

13 years agoDivision by zero bug fix and regression test
Dan Vanderkam [Fri, 15 Jul 2011 20:27:45 +0000 (16:27 -0400)]
Division by zero bug fix and regression test

13 years agokberg requests that nonInteractiveModel be private
Dan Vanderkam [Tue, 12 Jul 2011 21:27:39 +0000 (17:27 -0400)]
kberg requests that nonInteractiveModel be private

13 years agoAdd Dygraph.Interaction.nonInteractiveModel. This disables pan/zoom interactions...
Dan Vanderkam [Tue, 12 Jul 2011 19:55:55 +0000 (15:55 -0400)]
Add Dygraph.Interaction.nonInteractiveModel. This disables pan/zoom interactions while preserving the expected behavior of clickCallback and pointClickCallback. Also includes a test and auto_test.

13 years agoUpdated the random function generator to be less sporadic.
Anthony Robledo [Fri, 1 Jul 2011 17:10:41 +0000 (13:10 -0400)]
Updated the random function generator to be less sporadic.

13 years agoAdded an option to plot random points instead of just a sine wave.
Anthony Robledo [Tue, 28 Jun 2011 19:45:53 +0000 (15:45 -0400)]
Added an option to plot random points instead of just a sine wave.

13 years agomake dygraph-dev a bit smarter
Dan Vanderkam [Thu, 7 Jul 2011 21:02:25 +0000 (17:02 -0400)]
make dygraph-dev a bit smarter

13 years agoMerge pull request #69 from kberg/master
Dan Vanderkam [Tue, 28 Jun 2011 14:59:07 +0000 (07:59 -0700)]
Merge pull request #69 from kberg/master

Fix 203 for real. It was just a bad test.

13 years agoBad test! Use pixel counts, don't rely on stupid anchor tags.
Robert Konigsberg [Mon, 27 Jun 2011 22:38:53 +0000 (18:38 -0400)]
Bad test! Use pixel counts, don't rely on stupid anchor tags.

13 years agoMerge pull request #67 from kberg/master
Dan Vanderkam [Mon, 27 Jun 2011 20:23:21 +0000 (13:23 -0700)]
Merge pull request #67 from kberg/master

Test and fix for issue 203

13 years agoComment update.
Robert Konigsberg [Mon, 27 Jun 2011 20:22:37 +0000 (16:22 -0400)]
Comment update.

13 years agoFix pointClickCallback and resizing coordinate weirdness when inside a
Robert Konigsberg [Mon, 27 Jun 2011 20:18:47 +0000 (16:18 -0400)]
Fix pointClickCallback and resizing coordinate weirdness when inside a
scrolling div element.

13 years agoMerge pull request #68 from clocksmith/master
Dan Vanderkam [Mon, 27 Jun 2011 18:56:09 +0000 (11:56 -0700)]
Merge pull request #68 from clocksmith/master

changes

13 years agoAdded an average metric for dygraphs many points benchmark.
Anthony Robledo [Mon, 27 Jun 2011 18:52:09 +0000 (14:52 -0400)]
Added an average metric for dygraphs many points benchmark.

13 years agoBreaking out of evaluateAnnotations early if there are no annotations.
Anthony Robledo [Mon, 27 Jun 2011 18:49:09 +0000 (14:49 -0400)]
Breaking out of evaluateAnnotations early if there are no annotations.
This resulted in about an 8% speedup.

13 years agofix title on changes.html
Dan Vanderkam [Mon, 27 Jun 2011 14:55:31 +0000 (10:55 -0400)]
fix title on changes.html

13 years agoComment removal
Robert Konigsberg [Tue, 14 Jun 2011 19:53:05 +0000 (15:53 -0400)]
Comment removal

13 years agoTests for when the graph is embedded in a scrolling div.
Robert Konigsberg [Tue, 14 Jun 2011 19:46:55 +0000 (15:46 -0400)]
Tests for when the graph is embedded in a scrolling div.

13 years agoOops! Forgot to rename createEvent_ in all calls; resulting in lots of test failures.
Robert Konigsberg [Tue, 14 Jun 2011 19:46:20 +0000 (15:46 -0400)]
Oops! Forgot to rename createEvent_ in all calls; resulting in lots of test failures.

13 years agoGetting more errors from tests.
Robert Konigsberg [Tue, 14 Jun 2011 18:33:02 +0000 (14:33 -0400)]
Getting more errors from tests.

13 years agotypo.
Robert Konigsberg [Tue, 14 Jun 2011 18:04:52 +0000 (14:04 -0400)]
typo.

13 years agoExtract the function that pushes an event onto the chart, for reuse outside this...
Robert Konigsberg [Tue, 14 Jun 2011 17:13:44 +0000 (13:13 -0400)]
Extract the function that pushes an event onto the chart, for reuse outside this method.

13 years agoremove NOTE, update comment
Dan Vanderkam [Tue, 14 Jun 2011 15:22:28 +0000 (11:22 -0400)]
remove NOTE, update comment

13 years agoAdded code to make tests easier to repeat by specifying them as part of the URL.
Robert Konigsberg [Tue, 14 Jun 2011 15:03:51 +0000 (11:03 -0400)]
Added code to make tests easier to repeat by specifying them as part of the URL.

13 years agoadd ~300 tests for new tickers code based on tests/*.html usage
Dan Vanderkam [Mon, 13 Jun 2011 03:14:13 +0000 (23:14 -0400)]
add ~300 tests for new tickers code based on tests/*.html usage

13 years agofix NaN == NaN comparison in Asserts.js
Dan Vanderkam [Mon, 13 Jun 2011 03:13:53 +0000 (23:13 -0400)]
fix NaN == NaN comparison in Asserts.js

13 years agofactor out tickers
Dan Vanderkam [Sat, 11 Jun 2011 14:29:02 +0000 (10:29 -0400)]
factor out tickers

13 years agofactor out tickers
Dan Vanderkam [Fri, 10 Jun 2011 21:36:47 +0000 (17:36 -0400)]
factor out tickers

13 years agoClarification of the point/points parameters.
Robert Konigsberg [Thu, 9 Jun 2011 22:25:03 +0000 (18:25 -0400)]
Clarification of the point/points parameters.

13 years agoMerge branch 'master' of https://github.com/kberg/dygraphs
Robert Konigsberg [Thu, 9 Jun 2011 20:43:45 +0000 (16:43 -0400)]
Merge branch 'master' of https://github.com/kberg/dygraphs

13 years agoClarify role of generate-documentation.py
Robert Konigsberg [Thu, 9 Jun 2011 20:42:47 +0000 (16:42 -0400)]
Clarify role of generate-documentation.py

13 years agoUpdate document reference; add docs for pointClickCallback, and clarify
Robert Konigsberg [Thu, 9 Jun 2011 20:39:36 +0000 (16:39 -0400)]
Update document reference; add docs for pointClickCallback, and clarify
clickCallback.

13 years agofix re-use of loop index
Dan Vanderkam [Tue, 7 Jun 2011 15:04:07 +0000 (11:04 -0400)]
fix re-use of loop index

13 years agoupdate test includes
Dan Vanderkam [Tue, 7 Jun 2011 04:58:11 +0000 (00:58 -0400)]
update test includes

13 years agotests pass
Dan Vanderkam [Tue, 7 Jun 2011 04:36:17 +0000 (00:36 -0400)]
tests pass

13 years agofile-level comments
Dan Vanderkam [Mon, 6 Jun 2011 15:54:48 +0000 (11:54 -0400)]
file-level comments

13 years agofactor out dygraph-utils.js
Dan Vanderkam [Mon, 6 Jun 2011 15:53:03 +0000 (11:53 -0400)]
factor out dygraph-utils.js

13 years agofactor out interaction model
Dan Vanderkam [Mon, 6 Jun 2011 13:39:25 +0000 (09:39 -0400)]
factor out interaction model

13 years agofix merge issue
Dan Vanderkam [Mon, 6 Jun 2011 13:33:55 +0000 (09:33 -0400)]
fix merge issue

13 years agoun-HTMLify autotests README
Dan Vanderkam [Mon, 6 Jun 2011 13:28:08 +0000 (09:28 -0400)]
un-HTMLify autotests README

13 years agomerge upstream changes
Dan Vanderkam [Mon, 6 Jun 2011 13:15:53 +0000 (09:15 -0400)]
merge upstream changes

13 years agoMake addition of box slightly prettier. I'm crazy like that.
Robert Konigsberg [Sat, 4 Jun 2011 02:18:55 +0000 (22:18 -0400)]
Make addition of box slightly prettier. I'm crazy like that.