dygraphs.git
11 years agoNeed to call createDragInterface_() after plugins are activated in order to allow...
Paul Felix [Tue, 8 Jan 2013 18:24:08 +0000 (13:24 -0500)]
Need to call createDragInterface_() after plugins are activated in order to allow a plugin to change the default interactionModel.

11 years agoMoved check for labels existence into reparseSeries since that method is also called...
Paul Felix [Tue, 8 Jan 2013 18:22:33 +0000 (13:22 -0500)]
Moved check for labels existence into reparseSeries since that method is also called by Dygraph.updateOptions()

11 years agoRange selector is now a plugin
Paul Felix [Mon, 7 Jan 2013 18:41:56 +0000 (13:41 -0500)]
Range selector is now a plugin

Conflicts:

dygraph-combined.js

11 years agoMerge pull request #194 from kberg/unzoom
Robert Konigsberg [Fri, 11 Jan 2013 15:12:00 +0000 (07:12 -0800)]
Merge pull request #194 from kberg/unzoom

Fix issue http://code.google.com/p/dygraphs/issues/detail?id=58 using plug-ins

11 years agoLast set of code review comments for unzoom.
Robert Konigsberg [Fri, 11 Jan 2013 15:11:05 +0000 (10:11 -0500)]
Last set of code review comments for unzoom.

11 years agoCode review comments.
Robert Konigsberg [Fri, 11 Jan 2013 03:52:56 +0000 (22:52 -0500)]
Code review comments.

11 years agoMerge branch 'master' into unzoom
Robert Konigsberg [Fri, 11 Jan 2013 02:24:18 +0000 (21:24 -0500)]
Merge branch 'master' into unzoom

11 years agoMerge pull request #197 from kberg/dounzoom
Dan Vanderkam [Thu, 10 Jan 2013 21:59:42 +0000 (13:59 -0800)]
Merge pull request #197 from kberg/dounzoom

Move doUnzoom_ to the public API.

11 years agoBetter name (thanks Paul.)
Robert Konigsberg [Wed, 9 Jan 2013 01:31:06 +0000 (20:31 -0500)]
Better name (thanks Paul.)

11 years agoMove doUnzoom_ to the public API.
Robert Konigsberg [Wed, 9 Jan 2013 01:17:26 +0000 (20:17 -0500)]
Move doUnzoom_ to the public API.

11 years agoTook a while to get conditional show to work; works in the case where you zoom in...
Robert Konigsberg [Fri, 4 Jan 2013 19:45:20 +0000 (14:45 -0500)]
Took a while to get conditional show to work; works in the case where you zoom in on a graph using the mouse, and don't have the mouseover event since you're already over.

11 years agoFix responsese to code review 194.
Robert Konigsberg [Fri, 4 Jan 2013 19:30:47 +0000 (14:30 -0500)]
Fix responsese to code review 194.

11 years agoMerge pull request #195 from kberg/415
Dan Vanderkam [Fri, 4 Jan 2013 18:03:05 +0000 (10:03 -0800)]
Merge pull request #195 from kberg/415

Fix bug 415

11 years agoFix bug 415. Series must be specicied by name in the options object.
Robert Konigsberg [Fri, 4 Jan 2013 04:05:42 +0000 (23:05 -0500)]
Fix bug 415. Series must be specicied by name in the options object.

11 years agoMerge branch 'master' of https://github.com/danvk/dygraphs
Robert Konigsberg [Fri, 4 Jan 2013 03:39:40 +0000 (22:39 -0500)]
Merge branch 'master' of https://github.com/danvk/dygraphs

Conflicts:
auto_tests/tests/axis_labels.js
dygraph-options.js
plugins/axes.js

11 years agoMerge branch 'master' of github.com:kberg/dygraphs
Robert Konigsberg [Fri, 4 Jan 2013 03:35:56 +0000 (22:35 -0500)]
Merge branch 'master' of github.com:kberg/dygraphs

Conflicts:
auto_tests/tests/axis_labels.js

11 years agoAdd new test to misc/local.html
Robert Konigsberg [Fri, 4 Jan 2013 02:59:30 +0000 (21:59 -0500)]
Add new test to misc/local.html

11 years agoAdd plugins option to Dygraphs. Add demo-test. Add test.
Robert Konigsberg [Fri, 4 Jan 2013 02:48:06 +0000 (21:48 -0500)]
Add plugins option to Dygraphs. Add demo-test. Add test.

11 years agoMerge pull request #193 from kberg/axis-label-font-size
Robert Konigsberg [Thu, 3 Jan 2013 23:21:40 +0000 (15:21 -0800)]
Merge pull request #193 from kberg/axis-label-font-size

Axis label font size

11 years agoFix minor typo.
Robert Konigsberg [Thu, 3 Jan 2013 23:14:32 +0000 (18:14 -0500)]
Fix minor typo.

11 years agoUnzoom plug-in, rev 1.
Robert Konigsberg [Thu, 3 Jan 2013 22:24:44 +0000 (17:24 -0500)]
Unzoom plug-in, rev 1.

11 years agoMerge branch 'master' of git://github.com/danvk/dygraphs into axis-label-font-size
Robert Konigsberg [Thu, 3 Jan 2013 20:29:20 +0000 (15:29 -0500)]
Merge branch 'master' of git://github.com/danvk/dygraphs into axis-label-font-size

Conflicts:
dygraph-options.js

11 years agoComments froim review 193.
Robert Konigsberg [Thu, 3 Jan 2013 20:27:27 +0000 (15:27 -0500)]
Comments froim review 193.

11 years agos/String/string in jsdoc for dygraph-options.js.
Robert Konigsberg [Thu, 3 Jan 2013 20:14:37 +0000 (15:14 -0500)]
s/String/string in jsdoc for dygraph-options.js.

11 years agoMerge pull request #192 from kberg/master
Dan Vanderkam [Thu, 3 Jan 2013 19:01:30 +0000 (11:01 -0800)]
Merge pull request #192 from kberg/master

Options now includes default values. Fix bug so that you can set some options to null.

11 years agoAdd warning that perhaps we do need an options API that gives non-default values.
Robert Konigsberg [Tue, 1 Jan 2013 20:24:28 +0000 (15:24 -0500)]
Add warning that perhaps we do need an options API that gives non-default values.

11 years agoAdd axisLineColor and axisLineWidth to the per-axis configurable options.
Robert Konigsberg [Tue, 1 Jan 2013 20:04:13 +0000 (15:04 -0500)]
Add axisLineColor and axisLineWidth to the per-axis configurable options.

11 years agoMerge branch 'master' of github.com:kberg/dygraphs into axis-label-font-size
Robert Konigsberg [Mon, 31 Dec 2012 20:11:11 +0000 (15:11 -0500)]
Merge branch 'master' of github.com:kberg/dygraphs into axis-label-font-size

Conflicts:
auto_tests/tests/axis_labels.js

11 years agoLabel color is now specifiable per-axis. Also, I <3 jquery.
Robert Konigsberg [Mon, 31 Dec 2012 20:07:08 +0000 (15:07 -0500)]
Label color is now specifiable per-axis. Also, I <3 jquery.

11 years agoaxisLabelFontSize can now be configured per-axis.
Robert Konigsberg [Mon, 31 Dec 2012 18:27:14 +0000 (13:27 -0500)]
axisLabelFontSize can now be configured per-axis.

11 years agoaxisLabelFontSize can now be configured per-axis.
Robert Konigsberg [Mon, 31 Dec 2012 18:27:14 +0000 (13:27 -0500)]
axisLabelFontSize can now be configured per-axis.

11 years agoThe "to hash" textbox now accepts changes in the palette.
Robert Konigsberg [Mon, 31 Dec 2012 17:10:03 +0000 (12:10 -0500)]
The "to hash" textbox now accepts changes in the palette.

11 years agoThe "to hash" textbox now accepts changes in the palette.
Robert Konigsberg [Mon, 31 Dec 2012 17:10:03 +0000 (12:10 -0500)]
The "to hash" textbox now accepts changes in the palette.

11 years agoNow you can specify the axis a series lives on in the palette.
Robert Konigsberg [Mon, 31 Dec 2012 15:48:25 +0000 (10:48 -0500)]
Now you can specify the axis a series lives on in the palette.

11 years agoNow you can specify the axis a series lives on in the palette.
Robert Konigsberg [Mon, 31 Dec 2012 15:48:25 +0000 (10:48 -0500)]
Now you can specify the axis a series lives on in the palette.

11 years agoWhoops, small bug in https://github.com/danvk/dygraphs/pull/186/files; it always...
Robert Konigsberg [Sun, 30 Dec 2012 16:24:02 +0000 (11:24 -0500)]
Whoops, small bug in https://github.com/danvk/dygraphs/pull/186/files; it always fails unless you also built the documentation along with i    t. This prevents an error.

11 years agoMerge branch 'master' of github.com:danvk/dygraphs
Robert Konigsberg [Sun, 30 Dec 2012 16:07:00 +0000 (11:07 -0500)]
Merge branch 'master' of github.com:danvk/dygraphs

Conflicts:
auto_tests/tests/Util.js
auto_tests/tests/axis_labels.js

11 years agoMerge pull request #191 from kberg/option-consolidation
Dan Vanderkam [Sun, 30 Dec 2012 15:32:30 +0000 (07:32 -0800)]
Merge pull request #191 from kberg/option-consolidation

Option consolidation

11 years agoOptions now include defaults. Fix https://code.google.com/p/dygraphs/issues/detail...
Robert Konigsberg [Sun, 30 Dec 2012 02:00:42 +0000 (21:00 -0500)]
Options now include defaults. Fix https://code.google.com/p/dygraphs/issues/detail?id=413

11 years agoMerge branch 'master' of https://github.com/danvk/dygraphs into option-consolidation
Robert Konigsberg [Sun, 30 Dec 2012 01:49:15 +0000 (20:49 -0500)]
Merge branch 'master' of https://github.com/danvk/dygraphs into option-consolidation

11 years agoSimplify valueRange work in computeYAxes. Add comment indicating its weirdness.
Robert Konigsberg [Sun, 30 Dec 2012 01:47:11 +0000 (20:47 -0500)]
Simplify valueRange work in computeYAxes. Add comment indicating its weirdness.

11 years agoRemove more options. Tested them, either manually, or written, but as you can see...
Robert Konigsberg [Sun, 30 Dec 2012 01:11:08 +0000 (20:11 -0500)]
Remove more options. Tested them, either manually, or written, but as you can see by the tests, there are some things left to be desired.

Almost done with option removal from computeYAxes, though, which is really good.

11 years agoMove makeNumbers to Util, and reduce number of makeNumbers calls.
Robert Konigsberg [Sat, 29 Dec 2012 18:23:02 +0000 (13:23 -0500)]
Move makeNumbers to Util, and reduce number of makeNumbers calls.

11 years agoMerge branch 'master' of https://github.com/danvk/dygraphs
Robert Konigsberg [Sat, 29 Dec 2012 17:40:37 +0000 (12:40 -0500)]
Merge branch 'master' of https://github.com/danvk/dygraphs

11 years agoMerge branch 'option-consolidation' of https://github.com/kberg/dygraphs
Robert Konigsberg [Sat, 29 Dec 2012 17:39:23 +0000 (12:39 -0500)]
Merge branch 'option-consolidation' of https://github.com/kberg/dygraphs

11 years agoMerge pull request #190 from kberg/palette
Robert Konigsberg [Sat, 29 Dec 2012 04:11:24 +0000 (20:11 -0800)]
Merge pull request #190 from kberg/palette

Make palette support axes and series configuration.

11 years agoMerge pull request #186 from kberg/master
Robert Konigsberg [Sat, 29 Dec 2012 04:11:00 +0000 (20:11 -0800)]
Merge pull request #186 from kberg/master

Fix issue http://code.google.com/p/dygraphs/issues/detail?id=409

11 years agojqueryify tooltip.
Robert Konigsberg [Sat, 29 Dec 2012 04:01:54 +0000 (23:01 -0500)]
jqueryify tooltip.

11 years agojquery-ify the palette object.
Robert Konigsberg [Sat, 29 Dec 2012 03:39:26 +0000 (22:39 -0500)]
jquery-ify the palette object.

11 years agoRemove the "Copy" code, it's been replaced by "to hash".
Robert Konigsberg [Sat, 29 Dec 2012 02:52:51 +0000 (21:52 -0500)]
Remove the "Copy" code, it's been replaced by "to hash".

11 years agoClean up palette.css (requires less css).
Robert Konigsberg [Sat, 29 Dec 2012 02:27:32 +0000 (21:27 -0500)]
Clean up palette.css (requires less css).

11 years agoClean up instructions section of the palette; hide it until we need it.
Robert Konigsberg [Sat, 29 Dec 2012 02:26:01 +0000 (21:26 -0500)]
Clean up instructions section of the palette; hide it until we need it.

11 years agoUpdate instructions on index.html.
Robert Konigsberg [Sat, 29 Dec 2012 02:11:21 +0000 (21:11 -0500)]
Update instructions on index.html.

11 years agoRemove commented-out console.log.
Robert Konigsberg [Sat, 29 Dec 2012 02:09:29 +0000 (21:09 -0500)]
Remove commented-out console.log.

11 years agoBe array<int> friendly.
Robert Konigsberg [Sat, 29 Dec 2012 02:05:32 +0000 (21:05 -0500)]
Be array<int> friendly.

11 years agoAdd series customization to the palette. Requires some bug fixes. Nice, nice.
Robert Konigsberg [Fri, 28 Dec 2012 23:55:52 +0000 (18:55 -0500)]
Add series customization to the palette. Requires some bug fixes. Nice, nice.

11 years agoAdd more option specifications per series, and nullify the 'series' and 'axis' warnin...
Robert Konigsberg [Fri, 28 Dec 2012 23:55:17 +0000 (18:55 -0500)]
Add more option specifications per series, and nullify the 'series' and 'axis' warnings dumped to the console.

11 years agoAdd "to hash" feature to make palette more useful!
Robert Konigsberg [Fri, 28 Dec 2012 23:11:13 +0000 (18:11 -0500)]
Add "to hash" feature to make palette more useful!

11 years agoRestore funny format; add comment to indicate why it's formatted funny.
Robert Konigsberg [Fri, 28 Dec 2012 23:10:54 +0000 (18:10 -0500)]
Restore funny format; add comment to indicate why it's formatted funny.

11 years agoBooleans are now three-state buttons.
Robert Konigsberg [Fri, 28 Dec 2012 21:34:38 +0000 (16:34 -0500)]
Booleans are now three-state buttons.

11 years agoMerge branch 'palette' of https://github.com/kberg/dygraphs into palette
Robert Konigsberg [Fri, 28 Dec 2012 21:08:25 +0000 (16:08 -0500)]
Merge branch 'palette' of https://github.com/kberg/dygraphs into palette

Conflicts:
experimental/palette/options.js

11 years agoAdd per-axis specification in Dygraphs. Adding jquery as part of introducing multi...
Robert Konigsberg [Fri, 28 Dec 2012 21:04:04 +0000 (16:04 -0500)]
Add per-axis specification in Dygraphs. Adding jquery as part of introducing multi-palette. tooltip's API is slightly simpler.

11 years agoAdd per-axis specification in Dygraphs. Adding jquery as part of introducing multi...
Robert Konigsberg [Fri, 28 Dec 2012 21:04:04 +0000 (16:04 -0500)]
Add per-axis specification in Dygraphs. Adding jquery as part of introducing multi-palette. tooltip's API is slightly simpler.

11 years agoRemove loud logging.
Robert Konigsberg [Fri, 28 Dec 2012 21:02:54 +0000 (16:02 -0500)]
Remove loud logging.

11 years agoReformat options.
Robert Konigsberg [Thu, 27 Dec 2012 23:18:42 +0000 (18:18 -0500)]
Reformat options.

11 years agoformatting
Robert Konigsberg [Thu, 27 Dec 2012 22:32:44 +0000 (17:32 -0500)]
formatting

11 years agoAdd some comments to index.js, the Index namespace for the palette.
Robert Konigsberg [Thu, 27 Dec 2012 22:23:30 +0000 (17:23 -0500)]
Add some comments to index.js, the Index namespace for the palette.

11 years agoAdd some of the new options to the experimental palette.
Robert Konigsberg [Thu, 27 Dec 2012 22:23:21 +0000 (17:23 -0500)]
Add some of the new options to the experimental palette.

11 years agoMerge branch 'master' of https://github.com/danvk/dygraphs into option-consolidation
Robert Konigsberg [Thu, 27 Dec 2012 16:08:15 +0000 (11:08 -0500)]
Merge branch 'master' of https://github.com/danvk/dygraphs into option-consolidation

11 years agoMerge branch 'master' of https://github.com/danvk/dygraphs
Robert Konigsberg [Thu, 27 Dec 2012 16:07:52 +0000 (11:07 -0500)]
Merge branch 'master' of https://github.com/danvk/dygraphs

11 years agoAdd test for axisTickSize. Fill out test for yAxisLabelWidth. axisTickSize is no...
Robert Konigsberg [Thu, 27 Dec 2012 15:58:58 +0000 (10:58 -0500)]
Add test for axisTickSize. Fill out test for yAxisLabelWidth. axisTickSize is no longer required for computeYAxes.

11 years agoRemove yAxisLabelWidth from Dygraph.axes_.
Robert Konigsberg [Thu, 27 Dec 2012 00:36:41 +0000 (19:36 -0500)]
Remove yAxisLabelWidth from Dygraph.axes_.

11 years agoRemove labelsKMB and labelsKMG2 from Dygraph.axes_.
Robert Konigsberg [Thu, 27 Dec 2012 00:23:34 +0000 (19:23 -0500)]
Remove labelsKMB and labelsKMG2 from Dygraph.axes_.

11 years agoMerge pull request #189 from klausw-g/large-y-scale
Robert Konigsberg [Tue, 18 Dec 2012 22:03:23 +0000 (14:03 -0800)]
Merge pull request #189 from klausw-g/large-y-scale

Fix tick marks for large Y scale ranges

11 years agotick scaling: Added comments, and adjust loop ends
Klaus Weidner [Tue, 18 Dec 2012 02:32:56 +0000 (18:32 -0800)]
tick scaling: Added comments, and adjust loop ends

Update the mults arrays to cover the range from 1..base^2, and start the loop at a slightly lower value for safety. This should help ensure equivalent behavior to the pre-patch version.

11 years agoFix tick marks for large Y scale ranges
Klaus Weidner [Tue, 18 Dec 2012 01:50:22 +0000 (17:50 -0800)]
Fix tick marks for large Y scale ranges

The tick placement logic used a double loop to look for appropriate tick spacing, assuming that a base unit around 10^50 would be sufficient to cover any Y range. Unfortunately this places 10^100 tick marks for Y values around 10^150, leading to excessive resource usage on typical client hardware.

This patch replaces the double loop with a single loop, finding the starting point by explicit calculation.

It also adds a regression test to catch the defective behavior.

11 years agoRemove last vestige of axis.logscale.
Robert Konigsberg [Mon, 17 Dec 2012 01:09:15 +0000 (20:09 -0500)]
Remove last vestige of axis.logscale.

11 years agoRemove axis.logscale for interaction model.
Robert Konigsberg [Mon, 17 Dec 2012 01:03:13 +0000 (20:03 -0500)]
Remove axis.logscale for interaction model.

11 years agoRemove axis.logscale; add test that verifies that custom bars are drawn correctly...
Robert Konigsberg [Mon, 17 Dec 2012 00:52:23 +0000 (19:52 -0500)]
Remove axis.logscale; add test that verifies that custom bars are drawn correctly in log scale.

11 years agoRemove one instance of logscale and all (that is one) instance of includeZero from...
Robert Konigsberg [Sun, 16 Dec 2012 23:11:31 +0000 (18:11 -0500)]
Remove one instance of logscale and all (that is one) instance of includeZero from the Dygraph.axes_ object.

11 years agoMerge branch 'master' of https://github.com/danvk/dygraphs into remove-axis-crap
Robert Konigsberg [Sun, 16 Dec 2012 22:56:54 +0000 (17:56 -0500)]
Merge branch 'master' of https://github.com/danvk/dygraphs into remove-axis-crap

11 years agoMerge pull request #187 from adilhn/rgbcolor_change
Robert Konigsberg [Fri, 14 Dec 2012 19:06:48 +0000 (11:06 -0800)]
Merge pull request #187 from adilhn/rgbcolor_change

Changes for "some performance improvements"

11 years agoMerge branch 'master' of https://github.com/danvk/dygraphs into unzoom
Robert Konigsberg [Fri, 14 Dec 2012 14:30:09 +0000 (09:30 -0500)]
Merge branch 'master' of https://github.com/danvk/dygraphs into unzoom

11 years agoFix logscale. Also fix includeZero (and add tests for it.) Probably fixes all those...
Robert Konigsberg [Thu, 13 Dec 2012 23:57:20 +0000 (18:57 -0500)]
Fix logscale. Also fix includeZero (and add tests for it.) Probably fixes all those special per axis options which should now use the other axis-property specification.

11 years agoMissed an RGBColor-->RGBColorParser change.
Adil [Thu, 13 Dec 2012 22:24:28 +0000 (17:24 -0500)]
Missed an RGBColor-->RGBColorParser change.

11 years ago- Minor updates from the code review.
Adil [Thu, 13 Dec 2012 22:08:08 +0000 (17:08 -0500)]
- Minor updates from the code review.

11 years agoAdd tests that break currently, but will pass when http://code.google.com/p/dygraphs...
Robert Konigsberg [Thu, 13 Dec 2012 17:01:32 +0000 (12:01 -0500)]
Add tests that break currently, but will pass when code.google.com/p/dygraphs/issues/detail?id=412 is fixed.  (Log scale works again.)

11 years agoFixed typo.
Adil [Wed, 12 Dec 2012 18:28:38 +0000 (13:28 -0500)]
Fixed typo.

11 years agoMerge remote-tracking branch 'upstream/master' into rgbcolor_change
Adil [Wed, 12 Dec 2012 18:24:30 +0000 (13:24 -0500)]
Merge remote-tracking branch 'upstream/master' into rgbcolor_change

11 years ago- Refactored requestAnimFrame.
Adil [Wed, 12 Dec 2012 18:17:09 +0000 (13:17 -0500)]
- Refactored requestAnimFrame.
- No longer need xIsEpochDate, so removed.

11 years agoAdd tests for labelsKMG and labelsKMB2.
Robert Konigsberg [Sat, 8 Dec 2012 23:32:34 +0000 (18:32 -0500)]
Add tests for labelsKMG and labelsKMB2.

11 years agoRemove superfluous warning when specifying labelsKMG2.
Robert Konigsberg [Sat, 8 Dec 2012 23:32:19 +0000 (18:32 -0500)]
Remove superfluous warning when specifying labelsKMG2.

11 years agoSet up the ability to fail tests on warnings.
Robert Konigsberg [Sat, 8 Dec 2012 23:31:47 +0000 (18:31 -0500)]
Set up the ability to fail tests on warnings.

11 years agoWhoops, remove labels.js from auto_tests/misc/local.html
Robert Konigsberg [Sat, 8 Dec 2012 23:26:22 +0000 (18:26 -0500)]
Whoops, remove labels.js from auto_tests/misc/local.html

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!