dygraphs.git
11 years agoCentralize utility methods in automated tests.
Robert Konigsberg [Sat, 8 Dec 2012 23:24:52 +0000 (18:24 -0500)]
Centralize utility methods in automated tests.

11 years agoMove common code to Util.js, reducing multiple-axes tests.
Robert Konigsberg [Sat, 8 Dec 2012 23:01:19 +0000 (18:01 -0500)]
Move common code to Util.js, reducing multiple-axes tests.

11 years agoMinor whitespace tweak.
Robert Konigsberg [Sat, 8 Dec 2012 17:18:29 +0000 (12:18 -0500)]
Minor whitespace tweak.

11 years agoMake new options stuff work with gviz.
Robert Konigsberg [Sat, 8 Dec 2012 17:18:07 +0000 (12:18 -0500)]
Make new options stuff work with gviz.

11 years ago- Changes from code review:
Adil [Tue, 4 Dec 2012 23:27:56 +0000 (18:27 -0500)]
- Changes from code review:
  - Refactored repeatAndCleanup() function.
  - Reverted making private methods doUnzoom and predraw public.
  - Put requestAnimationFrame shim function in Dygraph namespace.

11 years agoHackish way of testing against dygraphs-combined. Tacky but it works!
Robert Konigsberg [Tue, 4 Dec 2012 14:00:31 +0000 (09:00 -0500)]
Hackish way of testing against dygraphs-combined. Tacky but it works!

11 years agoAdd generate-documentation.sh to Makefile.
Robert Konigsberg [Tue, 4 Dec 2012 02:53:03 +0000 (21:53 -0500)]
Add generate-documentation.sh to Makefile.

We should remove some of the Makefile/script duplication.

11 years agoMerge pull request #185 from davidmsibley/master
Robert Konigsberg [Tue, 4 Dec 2012 02:38:45 +0000 (18:38 -0800)]
Merge pull request #185 from davidmsibley/master

synching dygraph-dev and generate-combined

11 years agosynched generate-combined.sh to dygraphs-dev.js
David M Sibley [Mon, 3 Dec 2012 19:48:47 +0000 (13:48 -0600)]
synched generate-combined.sh to dygraphs-dev.js

11 years agoAddress lint warnings.
Robert Konigsberg [Mon, 3 Dec 2012 14:22:42 +0000 (09:22 -0500)]
Address lint warnings.

11 years agoMerge pull request #184 from kberg/master
Robert Konigsberg [Fri, 30 Nov 2012 15:27:06 +0000 (07:27 -0800)]
Merge pull request #184 from kberg/master

More tests in the new style, add error message that guides users who just add series{} around their series.

11 years agoAdd test that shows that you can't put {} inside the series option.
Robert Konigsberg [Fri, 30 Nov 2012 15:21:32 +0000 (10:21 -0500)]
Add test that shows that you can't put {} inside the series option.

11 years agoAdd multiple_axes.js which focuses only on new style series API.
Robert Konigsberg [Fri, 30 Nov 2012 14:36:30 +0000 (09:36 -0500)]
Add multiple_axes.js which focuses only on new style series API.

11 years agoRename test and test methods so they do not conflict with multiple-axes.js.
Robert Konigsberg [Fri, 30 Nov 2012 14:29:26 +0000 (09:29 -0500)]
Rename test and test methods so they do not conflict with multiple-axes.js.

11 years agoIn preparation for migrating axis tests to new-format.
Robert Konigsberg [Fri, 30 Nov 2012 14:24:31 +0000 (09:24 -0500)]
In preparation for migrating axis tests to new-format.

11 years agoRemove maxAxis; it's not used.
Robert Konigsberg [Fri, 30 Nov 2012 14:19:56 +0000 (09:19 -0500)]
Remove maxAxis; it's not used.

11 years agoMerge pull request #180 from kberg/new-series-option
Robert Konigsberg [Thu, 29 Nov 2012 20:17:45 +0000 (12:17 -0800)]
Merge pull request #180 from kberg/new-series-option

Introducing series{} and revised axis{} (when within series{}).

11 years agoMerge branch 'master' of https://github.com/danvk/dygraphs into new-series-option
Robert Konigsberg [Thu, 29 Nov 2012 20:13:14 +0000 (15:13 -0500)]
Merge branch 'master' of https://github.com/danvk/dygraphs into new-series-option

Conflicts:
Makefile
dygraph.js

11 years ago- Added xIsEpochDate option to save redundant encoding to Date objects when X axis...
Adil [Wed, 28 Nov 2012 21:37:06 +0000 (16:37 -0500)]
- Added xIsEpochDate option to save redundant encoding to Date objects when X axis is already in units of epoch time (performance improvement for large data sets).
- Using requestAnimationFrame to make animatedZooms smoother.
- Made doUnzoom() and predraw() methods public (to allow more graph control).
- Renamed RGBColor to RGBColorParser to avoid a function name collision with: http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-RGBColor

11 years agoMerge pull request #182 from kberg/master
Dan Vanderkam [Mon, 26 Nov 2012 21:41:50 +0000 (13:41 -0800)]
Merge pull request #182 from kberg/master

Minor change based on danvk's comments in merge 181.

11 years agoMerge branch 'master' of https://github.com/danvk/dygraphs
Robert Konigsberg [Mon, 26 Nov 2012 02:26:54 +0000 (21:26 -0500)]
Merge branch 'master' of https://github.com/danvk/dygraphs

11 years agoAdded additional comment to the deprecated options warning per Dan's advice.
Robert Konigsberg [Mon, 26 Nov 2012 02:26:24 +0000 (21:26 -0500)]
Added additional comment to the deprecated options warning per Dan's advice.

11 years agoMerge pull request #181 from kberg/master
Dan Vanderkam [Mon, 26 Nov 2012 01:49:52 +0000 (17:49 -0800)]
Merge pull request #181 from kberg/master

Add deprecation warning when a legacy option is mapped. Also some comments and comment clean-up

11 years agoMigrate multi-scale to use non-deprecated axis-specific formatters
Robert Konigsberg [Sun, 25 Nov 2012 16:16:08 +0000 (11:16 -0500)]
Migrate multi-scale to use non-deprecated axis-specific formatters

11 years agoFixed per-series typo in misc/local.html.
Robert Konigsberg [Sun, 25 Nov 2012 16:06:46 +0000 (11:06 -0500)]
Fixed per-series typo in misc/local.html.

11 years agoMerge branch 'master' of https://github.com/danvk/dygraphs
Robert Konigsberg [Sun, 25 Nov 2012 16:06:27 +0000 (11:06 -0500)]
Merge branch 'master' of https://github.com/danvk/dygraphs

11 years agoRenaming deprecated methods because the automated test framework doesn't like multipl...
Robert Konigsberg [Sun, 25 Nov 2012 16:05:47 +0000 (11:05 -0500)]
Renaming deprecated methods because the automated test framework doesn't like multiple test methods with the same name, across classes. RGGAGAGRGA

11 years agoAdd axis_labels tests that rely on the preferred style of formatting axes.
Robert Konigsberg [Sun, 25 Nov 2012 16:00:06 +0000 (11:00 -0500)]
Add axis_labels tests that rely on the preferred style of formatting axes.

11 years agoRename axis_labels.js to axis_labels-deprecated.js, as it will now only hold deprecat...
Robert Konigsberg [Sun, 25 Nov 2012 15:51:50 +0000 (10:51 -0500)]
Rename axis_labels.js to axis_labels-deprecated.js, as it will now only hold deprecated uses of xLabelFormatter, etc.

11 years agoAdd comments and warnings for legacy options.
Robert Konigsberg [Sun, 25 Nov 2012 14:26:09 +0000 (09:26 -0500)]
Add comments and warnings for legacy options.

11 years agoAdd comments and warnings for legacy options.
Robert Konigsberg [Sun, 25 Nov 2012 14:26:09 +0000 (09:26 -0500)]
Add comments and warnings for legacy options.

11 years agoOoh more code cleanup; all 155 tests pass.
Robert Konigsberg [Sun, 25 Nov 2012 04:19:15 +0000 (23:19 -0500)]
Ooh more code cleanup; all 155 tests pass.

11 years agoMerge branch 'remove-old-options' into new-series-option, make new style axis specifi...
Robert Konigsberg [Sun, 25 Nov 2012 04:11:14 +0000 (23:11 -0500)]
Merge branch 'remove-old-options' into new-series-option, make new style axis specification work.

Conflicts:
dygraph-options.js

11 years agoMerge pull request #179 from kberg/makefile-fun
Dan Vanderkam [Sun, 25 Nov 2012 01:29:34 +0000 (17:29 -0800)]
Merge pull request #179 from kberg/makefile-fun

Some Makefile fun - * new lint and clean commands, * add test to generate-combined

11 years agoStart working on new-version axis support. Tests still fail.
Robert Konigsberg [Sat, 24 Nov 2012 18:48:13 +0000 (13:48 -0500)]
Start working on new-version axis support. Tests still fail.

11 years agoFix options reference, so it includes 'Series' category.
Robert Konigsberg [Sat, 24 Nov 2012 18:47:32 +0000 (13:47 -0500)]
Fix options reference, so it includes 'Series' category.

11 years agoMerge branch 'master' of https://github.com/kberg/dygraphs into new-series-option
Robert Konigsberg [Sat, 24 Nov 2012 16:49:14 +0000 (11:49 -0500)]
Merge branch 'master' of https://github.com/kberg/dygraphs into new-series-option

11 years agoSome Makefile fun - * new lint and clean commands, * add test to generate-combined
Robert Konigsberg [Sat, 24 Nov 2012 16:44:08 +0000 (11:44 -0500)]
Some Makefile fun - * new lint and clean commands, * add test to generate-combined

11 years agoMerge branch 'remove-old-options' of https://github.com/kberg/dygraphs into remove...
Robert Konigsberg [Sat, 24 Nov 2012 15:56:25 +0000 (10:56 -0500)]
Merge branch 'remove-old-options' of https://github.com/kberg/dygraphs into remove-old-options

Conflicts:
dygraph.js

11 years agoMerge branch 'master' into remove-old-options
Robert Konigsberg [Sat, 24 Nov 2012 15:45:26 +0000 (10:45 -0500)]
Merge branch 'master' into remove-old-options

Conflicts:
dygraph-options.js
dygraph.js

11 years agoMerge branch 'master' into remove-old-options
Robert Konigsberg [Sat, 24 Nov 2012 15:45:26 +0000 (10:45 -0500)]
Merge branch 'master' into remove-old-options

Conflicts:
dygraph-options.js
dygraph.js

11 years agoMerge branch 'master' of https://github.com/kberg/dygraphs into remove-old-options
Robert Konigsberg [Sat, 24 Nov 2012 15:31:03 +0000 (10:31 -0500)]
Merge branch 'master' of https://github.com/kberg/dygraphs into remove-old-options

11 years agoOptions code review, plus, remove original attr_ code.
Robert Konigsberg [Sat, 24 Nov 2012 10:38:46 +0000 (05:38 -0500)]
Options code review, plus, remove original attr_ code.

11 years agoexclude externs from lint
Dan Vanderkam [Sat, 24 Nov 2012 04:04:17 +0000 (23:04 -0500)]
exclude externs from lint

11 years agoMore correctly-compiling files, plus some more info in closure-todo.txt
Dan Vanderkam [Sat, 24 Nov 2012 04:03:05 +0000 (23:03 -0500)]
More correctly-compiling files, plus some more info in closure-todo.txt

11 years agodygraph-tickers builds clean
Dan Vanderkam [Sat, 24 Nov 2012 03:16:34 +0000 (22:16 -0500)]
dygraph-tickers builds clean

11 years agoClosurify some low-hanging fruit
Dan Vanderkam [Sat, 24 Nov 2012 02:40:39 +0000 (21:40 -0500)]
Closurify some low-hanging fruit

11 years agodygraph-utils.js compiles under closure with no warnings or errors
Dan Vanderkam [Sat, 24 Nov 2012 02:21:33 +0000 (21:21 -0500)]
dygraph-utils.js compiles under closure with no warnings or errors

11 years agolots of type defintions in dygraph-utils.js; down to 8 compiler warnings
Dan Vanderkam [Sat, 24 Nov 2012 02:17:26 +0000 (21:17 -0500)]
lots of type defintions in dygraph-utils.js; down to 8 compiler warnings

11 years agoMerge pull request #178 from kberg/tests
Dan Vanderkam [Sat, 24 Nov 2012 00:52:16 +0000 (16:52 -0800)]
Merge pull request #178 from kberg/tests

Add test for xValueParser

11 years agoMerge pull request #177 from danvk/no-width-no-work
Dan Vanderkam [Sat, 24 Nov 2012 00:51:18 +0000 (16:51 -0800)]
Merge pull request #177 from danvk/no-width-no-work

Fix to https://code.google.com/p/dygraphs/issues/detail?id=399

11 years agoAdd sanity test for xValueParser.
Robert Konigsberg [Fri, 23 Nov 2012 20:19:25 +0000 (15:19 -0500)]
Add sanity test for xValueParser.

11 years agoMerge pull request #174 from wimme/patch-1
Dan Vanderkam [Fri, 23 Nov 2012 19:23:46 +0000 (11:23 -0800)]
Merge pull request #174 from wimme/patch-1

Range selector: stepplots and fix for gaps in data

11 years agoAdd per-series tests that validate new-style options and how they relate to old-style...
Robert Konigsberg [Thu, 22 Nov 2012 19:03:30 +0000 (14:03 -0500)]
Add per-series tests that validate new-style options and how they relate to old-style options.

11 years agoSeries have to be updated when updateOptions are called. Otherwise series : null...
Robert Konigsberg [Thu, 22 Nov 2012 19:02:53 +0000 (14:02 -0500)]
Series have to be updated when updateOptions are called. Otherwise series : null won't make a difference.

11 years agoBe friendlier with options that exist, but are null, which is typical when updating...
Robert Konigsberg [Thu, 22 Nov 2012 19:02:31 +0000 (14:02 -0500)]
Be friendlier with options that exist, but are null, which is typical when updating options.

11 years agoAdd test case to verify that strings-as-divs are allowed.
Robert Konigsberg [Thu, 22 Nov 2012 18:01:40 +0000 (13:01 -0500)]
Add test case to verify that strings-as-divs are allowed.

11 years agoWhen div is of type string, replace it with a document element.
Robert Konigsberg [Thu, 22 Nov 2012 17:55:03 +0000 (12:55 -0500)]
When div is of type string, replace it with a document element.

11 years agoMerge branch 'master' of https://github.com/danvk/dygraphs into no-width-no-work
Robert Konigsberg [Thu, 22 Nov 2012 17:37:21 +0000 (12:37 -0500)]
Merge branch 'master' of https://github.com/danvk/dygraphs into no-width-no-work

11 years agoAdd pathalogical test case (broken) that show that width and height are required...
Robert Konigsberg [Thu, 22 Nov 2012 17:20:54 +0000 (12:20 -0500)]
Add pathalogical test case (broken) that show that width and height are required, which they should not, since dygraphs.com/options.html#width and http://dygraphs.com/options.html#height say that there are default values.

11 years agoFix syntactically broken per_series.js
Robert Konigsberg [Thu, 22 Nov 2012 17:07:52 +0000 (12:07 -0500)]
Fix syntactically broken per_series.js

11 years agoFix broken options reference.
Robert Konigsberg [Thu, 22 Nov 2012 17:07:43 +0000 (12:07 -0500)]
Fix broken options reference.

11 years agoForgot dash when specifying test name.
Robert Konigsberg [Thu, 22 Nov 2012 17:04:57 +0000 (12:04 -0500)]
Forgot dash when specifying test name.

11 years agoWhoops, missing commas.
Robert Konigsberg [Thu, 22 Nov 2012 17:03:34 +0000 (12:03 -0500)]
Whoops, missing commas.

11 years agoAdd tests for new series option.
Robert Konigsberg [Thu, 22 Nov 2012 17:02:24 +0000 (12:02 -0500)]
Add tests for new series option.

11 years agoMerge branch 'master' of https://github.com/kberg/dygraphs into new-series-option
Robert Konigsberg [Thu, 22 Nov 2012 16:33:01 +0000 (11:33 -0500)]
Merge branch 'master' of https://github.com/kberg/dygraphs into new-series-option

11 years agoMerge pull request #1 from kberg/add-per-series-to-tests
Robert Konigsberg [Thu, 22 Nov 2012 16:29:41 +0000 (08:29 -0800)]
Merge pull request #1 from kberg/add-per-series-to-tests

Add missing tests to auto_tests/misc/local, and reorganize tests.

11 years agoMerge pull request #176 from kberg/add-per-series-to-tests
Robert Konigsberg [Thu, 22 Nov 2012 16:29:05 +0000 (08:29 -0800)]
Merge pull request #176 from kberg/add-per-series-to-tests

Add missing tests to local.html, organize.

11 years agoAdd missing tests to auto_tests/misc/local, and reorganize tests.
Robert Konigsberg [Thu, 22 Nov 2012 16:27:27 +0000 (11:27 -0500)]
Add missing tests to auto_tests/misc/local, and reorganize tests.

11 years agoAdd code to deal with the new, global, series option.
Robert Konigsberg [Thu, 22 Nov 2012 13:35:23 +0000 (08:35 -0500)]
Add code to deal with the new, global, series option.

11 years agofixed spacings
Wim Bruynooghe [Thu, 22 Nov 2012 08:15:42 +0000 (09:15 +0100)]
fixed spacings

11 years agoMerge pull request #161 from klausw-g/is-series-locked
Dan Vanderkam [Thu, 22 Nov 2012 03:07:50 +0000 (19:07 -0800)]
Merge pull request #161 from klausw-g/is-series-locked

Export .isSeriesLocked() API function

11 years agoRange selector: stepplots and fix for gaps in data
Wim Bruynooghe [Mon, 19 Nov 2012 14:10:41 +0000 (15:10 +0100)]
Range selector: stepplots and fix for gaps in data

- The range selector used to draw always a line chart, now it will also draw a step plot like the main graph when this option is enabled
- When there are gaps in the data, the range selector drew skew lines. Now, during a gap the line will be drawn at the bottom.

11 years agoMerge pull request #173 from kberg/reverse-noisydata
Robert Konigsberg [Sun, 18 Nov 2012 16:35:00 +0000 (08:35 -0800)]
Merge pull request #173 from kberg/reverse-noisydata

reverse the lines for the series C of NoisyDataABC to make it less obvious it was a shifted copy of series B.

11 years agoDump Dygraph.seriesToAxisMap, move it into DygraphOptions. Add API to support it.
Robert Konigsberg [Sun, 18 Nov 2012 16:18:09 +0000 (11:18 -0500)]
Dump Dygraph.seriesToAxisMap, move it into DygraphOptions. Add API to support it.

11 years agoAdd numAxes function.
Robert Konigsberg [Sun, 18 Nov 2012 03:21:07 +0000 (22:21 -0500)]
Add numAxes function.

11 years agoRemove the old code for attr_.
Robert Konigsberg [Sun, 18 Nov 2012 03:10:51 +0000 (22:10 -0500)]
Remove the old code for attr_.

11 years agoSupport highlightSeriesOpts, and, standardize on field names.
Robert Konigsberg [Sun, 18 Nov 2012 03:01:46 +0000 (21:01 -0600)]
Support highlightSeriesOpts, and, standardize on field names.

11 years agoRespect options set in the series-axis object (e.g. Y2 : { labelsKMB: true })
Robert Konigsberg [Sun, 18 Nov 2012 02:44:43 +0000 (20:44 -0600)]
Respect options set in the series-axis object (e.g. Y2 : { labelsKMB: true })

11 years agoFix mis-named method.
Robert Konigsberg [Sun, 18 Nov 2012 01:10:34 +0000 (19:10 -0600)]
Fix mis-named method.

11 years agoReparse when series is set for array data.
Robert Konigsberg [Sun, 18 Nov 2012 01:10:22 +0000 (19:10 -0600)]
Reparse when series is set for array data.

11 years agoLooking better -- handle the CSV/no label case.
Robert Konigsberg [Sun, 18 Nov 2012 00:51:24 +0000 (18:51 -0600)]
Looking better -- handle the CSV/no label case.

11 years agoAdd dygraph-options.js. Add code to compare behavior. Looks like it's only working...
Robert Konigsberg [Sun, 18 Nov 2012 00:41:17 +0000 (18:41 -0600)]
Add dygraph-options.js. Add code to compare behavior. Looks like it's only working in very limited cases.

11 years agoAdded actual drawing to test for visual cue.
Robert Konigsberg [Fri, 16 Nov 2012 00:36:48 +0000 (18:36 -0600)]
Added actual drawing to test for visual cue.

11 years agotestDrawHighlightPointCallback won't pass when the tests change because it requires...
Robert Konigsberg [Fri, 16 Nov 2012 00:25:00 +0000 (18:25 -0600)]
testDrawHighlightPointCallback won't pass when the tests change because it requires mouse operations. Set it aside for now.

11 years agoAdd tests (which currently fail) that ensure that drawPointCallback and drawHighlight...
Robert Konigsberg [Fri, 16 Nov 2012 00:22:39 +0000 (18:22 -0600)]
Add tests (which currently fail) that ensure that drawPointCallback and drawHighlightPointCallback play nice with axis settings.

11 years agoMerge pull request #171 from kberg/master
Dan Vanderkam [Thu, 15 Nov 2012 16:27:28 +0000 (08:27 -0800)]
Merge pull request #171 from kberg/master

Add third data set to visibility.html

11 years agoMerge pull request #170 from shole/master
Dan Vanderkam [Thu, 15 Nov 2012 16:26:58 +0000 (08:26 -0800)]
Merge pull request #170 from shole/master

findClosestPoint visibility bias fix

11 years agoreverse the lines for the series C of NoisyDataABC to make it less obvious it was...
Robert Konigsberg [Wed, 14 Nov 2012 18:56:14 +0000 (12:56 -0600)]
reverse the lines for the series C of NoisyDataABC to make it less obvious it was a shifted copy of series B.

11 years agoAdd third data set to visibility.html.
Robert Konigsberg [Wed, 14 Nov 2012 17:49:53 +0000 (11:49 -0600)]
Add third data set to visibility.html.

12 years agofindClosestPoint visibility bias fix, as described in this issue;
shole [Sat, 27 Oct 2012 15:55:57 +0000 (18:55 +0300)]
findClosestPoint visibility bias fix, as described in this issue;
https://code.google.com/p/dygraphs/issues/detail?id=369

12 years agoMerge pull request #168 from jhollingsworth/master
Dan Vanderkam [Thu, 25 Oct 2012 17:43:42 +0000 (10:43 -0700)]
Merge pull request #168 from jhollingsworth/master

Update to Fix Issue 162: Support DOS-style line endings and IE8 Title

12 years agoMerge branch 'master' of github.com:jhollingsworth/dygraphs
Jason Hollingsworth [Thu, 25 Oct 2012 15:56:44 +0000 (10:56 -0500)]
Merge branch 'master' of github.com:jhollingsworth/dygraphs

12 years agoFixed an issue with the chart title not being visible in IE8 and before. This does...
Jason Hollingsworth [Thu, 25 Oct 2012 15:32:51 +0000 (10:32 -0500)]
Fixed an issue with the chart title not being visible in IE8 and before. This does the same thing as the axes labels (sets the zIndex to 10), to ensure it displays on top of the canvas.

12 years agoUpdate to Fix Issue 162: Support DOS-style line endings.
Jason Hollingsworth [Thu, 25 Oct 2012 14:11:31 +0000 (09:11 -0500)]
Update to Fix Issue 162: Support DOS-style line endings.
IE8/IE7 does not support string iteration using [], this fix uses charAt. Also I added support for \r\n (CRLF), which is more common than \n\r (LFCR). It now supports all four

12 years agofix for issue 380 from adilh
Dan Vanderkam [Mon, 17 Sep 2012 20:45:20 +0000 (16:45 -0400)]
fix for issue 380 from adilh

12 years agoMerge pull request #166 from klemmster/master
Robert Konigsberg [Mon, 10 Sep 2012 13:22:51 +0000 (06:22 -0700)]
Merge pull request #166 from klemmster/master

Minor cleanup gallery/synchronize.js - thanks.

12 years agoRemove unused variable
Richard Klemm [Mon, 10 Sep 2012 09:00:19 +0000 (11:00 +0200)]
Remove unused variable

12 years agoFix some numeric issues with older Firefox
Dan Vanderkam [Tue, 28 Aug 2012 17:17:23 +0000 (13:17 -0400)]
Fix some numeric issues with older Firefox

12 years agoMerge branch 'master' of github.com:danvk/dygraphs
Dan Vanderkam [Tue, 28 Aug 2012 16:11:10 +0000 (12:11 -0400)]
Merge branch 'master' of github.com:danvk/dygraphs