dygraphs.git
11 years agoMerge pull request #210 from klausw-g/range-pad-2
Dan Vanderkam [Sat, 16 Feb 2013 19:50:27 +0000 (11:50 -0800)]
Merge pull request #210 from klausw-g/range-pad-2

Add new options xRangePad and yRangePad

11 years agoMerge pull request #216 from klausw-g/issue-424-b
Dan Vanderkam [Sat, 16 Feb 2013 16:50:54 +0000 (08:50 -0800)]
Merge pull request #216 from klausw-g/issue-424-b

Re-do the fix for stacked graph highlighting

11 years agoMerge pull request #217 from paulfelix/master
Dan Vanderkam [Sat, 16 Feb 2013 16:32:29 +0000 (08:32 -0800)]
Merge pull request #217 from paulfelix/master

Fix for Issue 378: Mouse gradually drifts off of range selection handle

11 years agoMerge pull request #218 from walkingeyerobot/master
Dan Vanderkam [Fri, 15 Feb 2013 20:48:39 +0000 (12:48 -0800)]
Merge pull request #218 from walkingeyerobot/master

Make dygraph-tickers more independent

11 years agorv 34ad56b341, which introduced issue 432
Dan Vanderkam [Fri, 15 Feb 2013 20:34:08 +0000 (15:34 -0500)]
rv 34ad56b341, which introduced issue 432

11 years agoMaking dygraph-tickers.js slightly more independent.
Mitch Foley [Fri, 15 Feb 2013 20:08:43 +0000 (15:08 -0500)]
Making dygraph-tickers.js slightly more independent.

11 years agocode review: rename to .singleSeriesName
Klaus Weidner [Tue, 12 Feb 2013 18:19:20 +0000 (10:19 -0800)]
code review: rename to .singleSeriesName

11 years agoCall addEvent on graph instance where needed for auto removal
Paul Felix [Tue, 12 Feb 2013 17:24:49 +0000 (12:24 -0500)]
Call addEvent on graph instance where needed for auto removal

11 years agoMerge branch 'master' of github.com:danvk/dygraphs
Paul Felix [Tue, 12 Feb 2013 15:10:32 +0000 (10:10 -0500)]
Merge branch 'master' of github.com:danvk/dygraphs

11 years agoFix for Issue 378: Mouse gradually drifts off of range selection handle
Paul Felix [Tue, 12 Feb 2013 15:09:58 +0000 (10:09 -0500)]
Fix for Issue 378: Mouse gradually drifts off of range selection handle

11 years agoadd missing semicolon
Dan Vanderkam [Mon, 11 Feb 2013 16:52:25 +0000 (11:52 -0500)]
add missing semicolon

11 years agoMerge branch 'master' of github.com:danvk/dygraphs
Dan Vanderkam [Mon, 11 Feb 2013 02:04:46 +0000 (21:04 -0500)]
Merge branch 'master' of github.com:danvk/dygraphs

11 years agoadd Great Lakes Water Level dashboard example
Dan Vanderkam [Mon, 11 Feb 2013 02:04:39 +0000 (21:04 -0500)]
add Great Lakes Water Level dashboard example

11 years agoRe-do the fix for stacked graph highlighting
Klaus Weidner [Mon, 11 Feb 2013 00:53:07 +0000 (16:53 -0800)]
Re-do the fix for stacked graph highlighting

This reverts the change from https://github.com/danvk/dygraphs/pull/211
and instead provides a boolean arg to the plotter so that it can decide
not to draw if needed.

The problem with the approach from #211 is that this prevents error bars
from being highlighted, and those should be redrawn on mouseover.

Fixes issue 424.

11 years agoAddress code review comments
Klaus Weidner [Sun, 10 Feb 2013 23:10:06 +0000 (15:10 -0800)]
Address code review comments

11 years agoRemove naming of anoymous functions. Unnecessary and slightly wrong.
Robert Konigsberg [Sun, 10 Feb 2013 16:43:22 +0000 (11:43 -0500)]
Remove naming of anoymous functions. Unnecessary and slightly wrong.

11 years agoMerge pull request #213 from kberg/i329
Dan Vanderkam [Sat, 9 Feb 2013 22:29:04 +0000 (14:29 -0800)]
Merge pull request #213 from kberg/i329

Fix bug 329 which accumulates clipping rectangles on subsequent draws.

11 years agoFix bug 329 which accumulates clipping rectangles on subsequent draws.
Robert Konigsberg [Sat, 9 Feb 2013 19:14:09 +0000 (14:14 -0500)]
Fix bug 329 which accumulates clipping rectangles on subsequent draws.

11 years agoMerge pull request #211 from klausw-g/issue-424
Dan Vanderkam [Sat, 9 Feb 2013 05:48:42 +0000 (21:48 -0800)]
Merge pull request #211 from klausw-g/issue-424

Don't redraw graph stack in interactive highlight

11 years agoMerge pull request #212 from kberg/i153
Dan Vanderkam [Sat, 9 Feb 2013 05:30:38 +0000 (21:30 -0800)]
Merge pull request #212 from kberg/i153

Fix bug 153, findPosX and findPosY don't take borders into account. This...

11 years agoFix bug 153, findPosX and findPosY don't take borders into account. This also fixes...
Robert Konigsberg [Sat, 9 Feb 2013 05:17:32 +0000 (00:17 -0500)]
Fix bug 153, findPosX and findPosY don't take borders into account. This also fixes the zoom operation when the graph is surrounded by something with a border.

11 years agoremove console.log()
Dan Vanderkam [Sat, 9 Feb 2013 05:16:31 +0000 (00:16 -0500)]
remove console.log()

11 years agoDon't redraw graph stack in interactive highlight
Klaus Weidner [Sat, 9 Feb 2013 01:27:44 +0000 (17:27 -0800)]
Don't redraw graph stack in interactive highlight

When drawing a single series during interactive highlight,
only use the last plotter.

Fixes issue 424.

11 years agoauto_test for stacked annotations
Dan Vanderkam [Sat, 9 Feb 2013 01:23:37 +0000 (20:23 -0500)]
auto_test for stacked annotations

11 years agoFix the other half of Issue 256 (annotation stacking)
Dan Vanderkam [Sat, 9 Feb 2013 01:09:29 +0000 (20:09 -0500)]
Fix the other half of Issue 256 (annotation stacking)

11 years agoAdd new options xRangePad and yRangePad
Klaus Weidner [Sat, 9 Feb 2013 01:01:10 +0000 (17:01 -0800)]
Add new options xRangePad and yRangePad

These options provide a fixed margin (in pixels) around the
user-specified or autoselected axis range to ensure all data points are
fully visible. If these are not set by the user, behavior reverts to
backward compatible mode.

This helps avoid the issue of data points drawn at the graph edges not
being properly visible.  For example, in a 100-pixel high plot area, a Y
coordinate of zero on a graph with yrange [0, ...] will be scaled to
domY=100 which is outside the 0..99 visible area.

If I'm understanding it right, the original padding algorithm works
as follows:

  Add 10% padding for automatic Y ranges, but not for user-supplied
  ranges, and move a close-to-zero edge to zero except if avoidMinZero
  is set. If logscale is set, add a variable amount of padding at the
  top but none at the bottom.

This is not very intuitive, and lines drawn at the edge of a
user-supplied range will still be invisible.

The new algorithm consistently ensures that there are at least
{x,y}RangePad pixels available for drawing outside of the data range,
both for user-specified and autoselected ranges.

Setting a small xRangePad combines nicely with drawAxesAtZero,
it will provide tick marks next to the legend due to the grid extending
slightly past the axis.

See the included gallery demo 'Edge Padding'. The default setting
corresponds to legacy behavior. Recommended settings:
  includeZero: true,
  drawAxesAtZero: true,
  xRangePad: 4,
  yRangePad: 10

11 years agoFix part 1 of Issue 256: Annotations attachAtBottom Property
Dan Vanderkam [Sat, 9 Feb 2013 00:54:12 +0000 (19:54 -0500)]
Fix part 1 of Issue 256: Annotations attachAtBottom Property

11 years agoFix Issue 347: three-finger zoom crashes the display on iOS
Dan Vanderkam [Sat, 9 Feb 2013 00:39:14 +0000 (19:39 -0500)]
Fix Issue 347: three-finger zoom crashes the display on iOS

11 years agoMerge branch 'master' of github.com:danvk/dygraphs
Dan Vanderkam [Sat, 9 Feb 2013 00:26:07 +0000 (19:26 -0500)]
Merge branch 'master' of github.com:danvk/dygraphs

11 years agoFix Issue 181: labelsDiv flashes when the mouse hovers over it.
Dan Vanderkam [Sat, 9 Feb 2013 00:25:58 +0000 (19:25 -0500)]
Fix Issue 181: labelsDiv flashes when the mouse hovers over it.

11 years agoMerge pull request #209 from kberg/i428
Dan Vanderkam [Sat, 9 Feb 2013 00:00:32 +0000 (16:00 -0800)]
Merge pull request #209 from kberg/i428

Fix bug 428

11 years agoFix bug 428, add test which catches exception. What an annoying little bug.
Robert Konigsberg [Fri, 8 Feb 2013 23:54:34 +0000 (18:54 -0500)]
Fix bug 428, add test which catches exception. What an annoying little bug.

11 years agoAdd methods to DygraphOps to dispatch mouseover and mouseout; some simplification...
Robert Konigsberg [Fri, 8 Feb 2013 23:51:06 +0000 (18:51 -0500)]
Add methods to DygraphOps to dispatch mouseover and mouseout; some simplification and clean-up.

11 years agosupport "double-tap" to zoom out on touch devices
Dan Vanderkam [Fri, 8 Feb 2013 23:27:21 +0000 (18:27 -0500)]
support "double-tap" to zoom out on touch devices

11 years agoCall zoomCallback from touch interactions (issue 395)
Dan Vanderkam [Fri, 8 Feb 2013 22:58:21 +0000 (17:58 -0500)]
Call zoomCallback from touch interactions (issue 395)

11 years agoSlightly scary change to fix issue 426
Dan Vanderkam [Fri, 8 Feb 2013 22:45:36 +0000 (17:45 -0500)]
Slightly scary change to fix issue 426

11 years agoAdd CSS "reset" to fix Issue 429
Dan Vanderkam [Fri, 8 Feb 2013 21:18:36 +0000 (16:18 -0500)]
Add CSS "reset" to fix Issue 429

11 years agoFix tests to handle the new space in the legend
Dan Vanderkam [Fri, 8 Feb 2013 21:01:30 +0000 (16:01 -0500)]
Fix tests to handle the new space in the legend

11 years agoadd a (non-breaking) space between series name and value in the legend (Issue 307)
Dan Vanderkam [Fri, 8 Feb 2013 20:41:01 +0000 (15:41 -0500)]
add a (non-breaking) space between series name and value in the legend (Issue 307)

11 years agoMerge pull request #208 from paulfelix/master
Dan Vanderkam [Fri, 8 Feb 2013 20:24:26 +0000 (12:24 -0800)]
Merge pull request #208 from paulfelix/master

Fix for Issue 421: Range selector disappear after resize

11 years agoMerge pull request #204 from sauter-hq/55eb8485b406174f15dcee0e97abc4c466de7733
Dan Vanderkam [Fri, 8 Feb 2013 20:21:52 +0000 (12:21 -0800)]
Merge pull request #204 from sauter-hq/55eb8485b406174f15dcee0e97abc4c466de7733

Added support for stepPlot per-series

11 years agoFix documentation for underlayCallback (Issue 379)
Dan Vanderkam [Fri, 8 Feb 2013 19:59:29 +0000 (14:59 -0500)]
Fix documentation for underlayCallback (Issue 379)

11 years agoBUGFIX:
eichsjul [Thu, 7 Feb 2013 15:59:30 +0000 (16:59 +0100)]
BUGFIX:

Corrected tests for stepPlot per series

11 years agoBUGFIX: Renamed test to capital case, fixed global var stuff, renamed
eichsjul [Thu, 7 Feb 2013 14:39:02 +0000 (15:39 +0100)]
BUGFIX: Renamed test to capital case, fixed global var stuff, renamed
file to lower case

11 years agoNamespace the canvas proxy in auto tests.
Robert Konigsberg [Thu, 7 Feb 2013 14:25:11 +0000 (09:25 -0500)]
Namespace the canvas proxy in auto tests.

11 years agoFEATURE: Added tests for stepPlot option per series
eichsjul [Thu, 7 Feb 2013 09:44:16 +0000 (10:44 +0100)]
FEATURE: Added tests for stepPlot option per series

11 years agoBUGFIX: stepPlot per series now also works correctly for the
eichsjul [Wed, 6 Feb 2013 12:48:35 +0000 (13:48 +0100)]
BUGFIX: stepPlot per series now also works correctly for the
stackedGraph and fillGraph options

11 years agoFEATURE: Added stepPlot option per series for all plotters.
eichsjul [Thu, 31 Jan 2013 15:42:15 +0000 (16:42 +0100)]
FEATURE: Added stepPlot option per series for all plotters.

11 years agoBUG FIX: Fixed indentation in respect to the jslint rules.
Damien Buhl (alias daminetreg) [Thu, 31 Jan 2013 15:08:30 +0000 (16:08 +0100)]
BUG FIX: Fixed indentation in respect to the jslint rules.

11 years agoFEATURE: Added support for stepPlot per-series.
eichsjul [Thu, 31 Jan 2013 13:32:58 +0000 (14:32 +0100)]
FEATURE: Added support for stepPlot per-series.

11 years agoFix for Issue 421: Range selector disappear after resize
Paul Felix [Wed, 6 Feb 2013 17:07:02 +0000 (12:07 -0500)]
Fix for Issue 421: Range selector disappear after resize

11 years agoMerge pull request #207 from kberg/master
Robert Konigsberg [Sat, 2 Feb 2013 22:00:16 +0000 (14:00 -0800)]
Merge pull request #207 from kberg/master

Fix RGBColor -> RGBColorParser rename in tests/

11 years agos/RGBColor/RGBColorParser in the tests directory.
Robert Konigsberg [Sat, 2 Feb 2013 21:55:02 +0000 (13:55 -0800)]
s/RGBColor/RGBColorParser in the tests directory.

11 years agoMerge pull request #206 from kberg/master
Robert Konigsberg [Sat, 2 Feb 2013 17:24:38 +0000 (09:24 -0800)]
Merge pull request #206 from kberg/master

Write test that verifies that resizing a graph maintains highlightCallback.

11 years agoAdd new test to verify that highlightCallback still works after graph resize.
Robert Konigsberg [Sat, 2 Feb 2013 17:21:37 +0000 (09:21 -0800)]
Add new test to verify that highlightCallback still works after graph resize.

11 years agoMerge pull request #199 from witsa/master
Dan Vanderkam [Fri, 1 Feb 2013 17:21:51 +0000 (09:21 -0800)]
Merge pull request #199 from witsa/master

some robustness and partial auto value range

11 years agoFix "Unnecessary semicolon" lint error
Dan Vanderkam [Fri, 1 Feb 2013 16:53:34 +0000 (11:53 -0500)]
Fix "Unnecessary semicolon" lint error

11 years agoChanging name of isUnspecifiedLimit function to isNullUndefinedOrNaN
manufitoussi [Fri, 1 Feb 2013 10:17:38 +0000 (11:17 +0100)]
Changing name of isUnspecifiedLimit function to isNullUndefinedOrNaN

11 years agoMerge pull request #203 from witsa/resize_handler
Dan Vanderkam [Thu, 31 Jan 2013 15:52:38 +0000 (07:52 -0800)]
Merge pull request #203 from witsa/resize_handler

Resize handler

11 years agoMerge pull request #205 from kberg/docs
Dan Vanderkam [Thu, 31 Jan 2013 15:46:56 +0000 (07:46 -0800)]
Merge pull request #205 from kberg/docs

Update docs for committing changes.

11 years agoUpdate docs for committing changes.
Robert Konigsberg [Thu, 31 Jan 2013 14:37:40 +0000 (06:37 -0800)]
Update docs for committing changes.

11 years agoremove wrong argument of parseFloat
manufitoussi [Wed, 30 Jan 2013 13:54:40 +0000 (14:54 +0100)]
remove wrong argument of parseFloat

11 years agoResize event causes several mouseUp handler to be be added. Prevent multiple registra...
manufitoussi [Wed, 30 Jan 2013 09:58:45 +0000 (10:58 +0100)]
Resize event causes several mouseUp handler to be be added. Prevent multiple registration.

11 years agofix an resize issue : when the window has resized, mouseout and mousemove handlers...
manufitoussi [Wed, 30 Jan 2013 09:57:21 +0000 (10:57 +0100)]
fix an resize issue : when the window has resized, mouseout and mousemove handlers are no longer registered.

11 years agoMerge pull request #4 from danvk/master
Emmanuel Fitoussi [Wed, 30 Jan 2013 09:51:31 +0000 (01:51 -0800)]
Merge pull request #4 from danvk/master

Get last version

11 years agorefactoring of detection of unspecified limit.
manufitoussi [Wed, 30 Jan 2013 08:25:46 +0000 (09:25 +0100)]
refactoring of detection of unspecified limit.

11 years agoreference sentence rewrite
manufitoussi [Wed, 30 Jan 2013 08:22:50 +0000 (09:22 +0100)]
reference sentence rewrite

11 years agoMerge pull request #3 from danvk/master
Emmanuel Fitoussi [Wed, 30 Jan 2013 08:07:40 +0000 (00:07 -0800)]
Merge pull request #3 from danvk/master

Get last version

11 years agoadd broken test demo to show margin issues
Dan Vanderkam [Tue, 29 Jan 2013 23:51:04 +0000 (18:51 -0500)]
add broken test demo to show margin issues

11 years agoMerge pull request #202 from kberg/tweak-tests
Dan Vanderkam [Tue, 29 Jan 2013 21:26:17 +0000 (13:26 -0800)]
Merge pull request #202 from kberg/tweak-tests

Only print PASS when failed test count == 0. Or is that === 0?

11 years agoMerge pull request #200 from kberg/resize-handler
Dan Vanderkam [Tue, 29 Jan 2013 21:04:39 +0000 (13:04 -0800)]
Merge pull request #200 from kberg/resize-handler

Resize handler

11 years agoMerge pull request #201 from kberg/lint-cleanse
Dan Vanderkam [Tue, 29 Jan 2013 21:02:02 +0000 (13:02 -0800)]
Merge pull request #201 from kberg/lint-cleanse

Fix lint warnings.

11 years agoOnly print PASS when failed test count == 0. Or is that === 0?
Robert Konigsberg [Tue, 29 Jan 2013 21:01:16 +0000 (16:01 -0500)]
Only print PASS when failed test count == 0. Or is that === 0?

11 years agoFix lint warnings.
Robert Konigsberg [Tue, 29 Jan 2013 20:58:34 +0000 (15:58 -0500)]
Fix lint warnings.

11 years agoadd advice about delaying dygraph instantiation when using excanvas.
Dan Vanderkam [Tue, 29 Jan 2013 19:25:24 +0000 (14:25 -0500)]
add advice about delaying dygraph instantiation when using excanvas.

11 years agouse Dygraph.log in dygraphs.js
Dan Vanderkam [Fri, 25 Jan 2013 21:22:55 +0000 (16:22 -0500)]
use Dygraph.log in dygraphs.js

11 years agoRevert "To avoid the rising count of useless resizes : we remove the handler if it...
Emmanuel Fitoussi [Fri, 25 Jan 2013 21:05:24 +0000 (22:05 +0100)]
Revert "To avoid the rising count of useless resizes : we remove the handler if it exists before re-adding it."

This reverts commit 194075ffc1b1c44e37e785aed7dc92e777d7d192.

11 years agoResize event causes several event handlers to be be added. Make the events private...
Robert Konigsberg [Fri, 25 Jan 2013 19:57:27 +0000 (14:57 -0500)]
Resize event causes several event handlers to be be added. Make the events private, and prevent multiple registration.

11 years agoresize handler only added once per graph.
Robert Konigsberg [Fri, 25 Jan 2013 18:40:20 +0000 (13:40 -0500)]
resize handler only added once per graph.

11 years agoupdate reference description about the partial auto range.
manufitoussi [Fri, 25 Jan 2013 17:37:45 +0000 (18:37 +0100)]
update reference description about the partial auto range.

11 years agoPartial auto y range : adding support of null and undefined in addition to NaN
manufitoussi [Fri, 25 Jan 2013 17:31:44 +0000 (18:31 +0100)]
Partial auto y range : adding support of null and undefined in addition to NaN

11 years agoAllows that user specifies only one limit of valueRange and let other one to be calcu...
manufitoussi [Fri, 25 Jan 2013 15:34:32 +0000 (16:34 +0100)]
Allows that user specifies only one limit of valueRange and let other one to be calculated automatically, by exemple [NaN,30].

11 years agomove plugins/unzoom.js -> extras/unzoom.js
Dan Vanderkam [Fri, 25 Jan 2013 14:38:46 +0000 (09:38 -0500)]
move plugins/unzoom.js -> extras/unzoom.js

11 years agoMerge pull request #198 from klausw-g/generate-refactor
Dan Vanderkam [Fri, 25 Jan 2013 14:37:52 +0000 (06:37 -0800)]
Merge pull request #198 from klausw-g/generate-refactor

refactor generate-combined.sh

11 years agoAdding test for the per axis option includeZero
manufitoussi [Fri, 25 Jan 2013 14:36:48 +0000 (15:36 +0100)]
Adding test for the per axis option includeZero

11 years agoAdding an robustness test before using the registered events member.
manufitoussi [Fri, 25 Jan 2013 13:25:46 +0000 (14:25 +0100)]
Adding an robustness test before using the registered events member.

11 years agoTo avoid the rising count of useless resizes : we remove the handler if it exists...
manufitoussi [Fri, 25 Jan 2013 13:23:54 +0000 (14:23 +0100)]
To avoid the rising count of useless resizes : we remove the handler if it exists before re-adding it.

11 years agorefactor generate-combined.sh
Klaus Weidner [Fri, 25 Jan 2013 00:53:13 +0000 (16:53 -0800)]
refactor generate-combined.sh

Update the generate-combined.sh script to support printing an ordered
source file list, cat'ing the compressed or uncompressed output, or
updating the dygraph-combined.js file (the default). This is intended to
make it easier to integrate dygraphs code into other builds.

Move the plugins/{base,install}.js files to
dygraph-plugin-{base,install}.js, this simplifies the file list
by permitting use of plugins/*.js with no order dependency.

11 years agoMerge pull request #2 from witsa/master
Emmanuel Fitoussi [Thu, 24 Jan 2013 17:15:34 +0000 (09:15 -0800)]
Merge pull request #2 from witsa/master

Get last version

11 years agoMerge pull request #1 from danvk/master
Emmanuel Fitoussi [Thu, 24 Jan 2013 17:13:29 +0000 (09:13 -0800)]
Merge pull request #1 from danvk/master

Get last version

11 years agofix typo
Dan Vanderkam [Thu, 24 Jan 2013 03:48:58 +0000 (22:48 -0500)]
fix typo

11 years agoadd note about http-equiv being first in the head section
Dan Vanderkam [Thu, 24 Jan 2013 03:29:48 +0000 (22:29 -0500)]
add note about http-equiv being first in the head section

11 years agoremove unused opt
Dan Vanderkam [Wed, 23 Jan 2013 21:49:02 +0000 (16:49 -0500)]
remove unused opt

11 years agowrap DygraphOptions
Dan Vanderkam [Wed, 23 Jan 2013 03:12:44 +0000 (22:12 -0500)]
wrap DygraphOptions

11 years agonearly all lint errors gone; closure compiler still happy
Dan Vanderkam [Wed, 23 Jan 2013 03:09:50 +0000 (22:09 -0500)]
nearly all lint errors gone; closure compiler still happy

11 years agolint checks mostly pass
Dan Vanderkam [Tue, 22 Jan 2013 19:35:37 +0000 (14:35 -0500)]
lint checks mostly pass

11 years agoHandling zoom handle left position as a floating-point number for better accuracy...
Paul Felix [Thu, 6 Sep 2012 13:24:58 +0000 (09:24 -0400)]
Handling zoom handle left position as a floating-point number for better accuracy at the extremes.

11 years agoMore range selector auto tests
Paul Felix [Thu, 10 Jan 2013 14:17:43 +0000 (09:17 -0500)]
More range selector auto tests

11 years agoChanges based on comments from pull request
Paul Felix [Tue, 8 Jan 2013 18:24:48 +0000 (13:24 -0500)]
Changes based on comments from pull request

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.