Dan Vanderkam [Sun, 24 Feb 2013 22:43:07 +0000 (14:43 -0800)]
Merge pull request #224 from kberg/i294
Use the correct access when computing bounded y-values for constrained panning.
Robert Konigsberg [Sun, 24 Feb 2013 07:08:43 +0000 (02:08 -0500)]
Use the correct access when computing bounded y-values for constrained panning.
Dygraphs was computing the second y-axis using extreme range of the first y-axis. This fixes bug 294, setting panEdgeFraction to non-zero breaks secondary y-axis label computation.
Also add a minor optimization by moving a computation outside the axis loop.
Dan Vanderkam [Thu, 21 Feb 2013 22:03:48 +0000 (14:03 -0800)]
Merge pull request #222 from kberg/master
Fix bug 436, and include a lint change.
Robert Konigsberg [Thu, 21 Feb 2013 20:46:01 +0000 (15:46 -0500)]
Fix bug 436. Only restore axes that remain after an option update.
Dan Vanderkam [Wed, 20 Feb 2013 17:22:39 +0000 (12:22 -0500)]
Temporarily disable tests which must be run in eastern time
Dan Vanderkam [Wed, 20 Feb 2013 16:52:09 +0000 (11:52 -0500)]
Merge branch 'master' of github.com:danvk/dygraphs
Dan Vanderkam [Wed, 20 Feb 2013 16:51:53 +0000 (11:51 -0500)]
Fix an issue where annotations are set too early in IE8
Dan Vanderkam [Wed, 20 Feb 2013 04:08:40 +0000 (23:08 -0500)]
Fix & regression test for issue 392: connectSeparated and errorBars don't play nicely together
Dan Vanderkam [Wed, 20 Feb 2013 03:13:56 +0000 (22:13 -0500)]
add note about IE8
Dan Vanderkam [Wed, 20 Feb 2013 01:18:54 +0000 (20:18 -0500)]
guard window.getComputedStyle call for IE8
Dan Vanderkam [Tue, 19 Feb 2013 21:24:31 +0000 (13:24 -0800)]
Merge pull request #221 from walkingeyerobot/master
can't change constants
Mitch Foley [Tue, 19 Feb 2013 21:21:44 +0000 (16:21 -0500)]
Since we can't change constants, checking to see if they exist instead of always changing the value.
Dan Vanderkam [Tue, 19 Feb 2013 20:55:35 +0000 (15:55 -0500)]
getComputedStyle -> window.getComputedStyle
Dan Vanderkam [Tue, 19 Feb 2013 19:42:17 +0000 (11:42 -0800)]
Merge pull request #220 from walkingeyerobot/master
adding missing license block to dygraph-options.js
Mitch Foley [Tue, 19 Feb 2013 18:10:54 +0000 (13:10 -0500)]
adding missing license block
Dan Vanderkam [Mon, 18 Feb 2013 23:31:12 +0000 (18:31 -0500)]
Ignore zooms entirely outisde the plot area; Fix broken tests.
Dan Vanderkam [Mon, 18 Feb 2013 20:32:21 +0000 (15:32 -0500)]
Clean up some zooming oddities; fixes issues 434 and 280
Dan Vanderkam [Mon, 18 Feb 2013 20:01:42 +0000 (15:01 -0500)]
kberg review comments
Dan Vanderkam [Mon, 18 Feb 2013 05:31:54 +0000 (00:31 -0500)]
Fix & regression test for issue 433: Glitch in two-hourly ticks when crossing a "spring forward" daylight savings switch
Dan Vanderkam [Mon, 18 Feb 2013 05:02:49 +0000 (00:02 -0500)]
One more case in which ticks across DST boundaries are still broken
Dan Vanderkam [Mon, 18 Feb 2013 04:24:15 +0000 (23:24 -0500)]
A few tweaks to make all tests pass on FF 3.5
Dan Vanderkam [Mon, 18 Feb 2013 02:37:02 +0000 (21:37 -0500)]
factor out Dygraph.setDateSameTZ
Dan Vanderkam [Mon, 18 Feb 2013 02:17:51 +0000 (21:17 -0500)]
Fix some more DST issues
Dan Vanderkam [Mon, 18 Feb 2013 01:13:07 +0000 (20:13 -0500)]
Fix and regression test for Issue 147: X-axis date labels break after DST transitions
Robert Konigsberg [Sun, 17 Feb 2013 12:57:33 +0000 (07:57 -0500)]
Return failure code when lint fails.
Dan Vanderkam [Sun, 17 Feb 2013 04:36:15 +0000 (23:36 -0500)]
Fix & regression test for issue 363: Calling setSelection() after an updateOptions may have no effect
Dan Vanderkam [Sun, 17 Feb 2013 04:17:05 +0000 (23:17 -0500)]
fix & regression test for issue 355: Row number Issue
Dan Vanderkam [Sun, 17 Feb 2013 03:33:46 +0000 (22:33 -0500)]
Fix a few lint errors
Dan Vanderkam [Sun, 17 Feb 2013 03:27:18 +0000 (22:27 -0500)]
Move KMB/KMG2 formatting into default formatter function (issue 414)
Dan Vanderkam [Sun, 17 Feb 2013 02:36:58 +0000 (21:36 -0500)]
Fix issue 176, which involved duplicated x-values in stacked graphs
Dan Vanderkam [Sun, 17 Feb 2013 00:40:53 +0000 (19:40 -0500)]
Add another test for DST transitions
Dan Vanderkam [Sat, 16 Feb 2013 20:07:41 +0000 (15:07 -0500)]
Regression test for issue 430: Incorrect rendering when all values are negative and the same
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
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
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
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
Dan Vanderkam [Fri, 15 Feb 2013 20:34:08 +0000 (15:34 -0500)]
rv
34ad56b341, which introduced issue 432
Mitch Foley [Fri, 15 Feb 2013 20:08:43 +0000 (15:08 -0500)]
Making dygraph-tickers.js slightly more independent.
Klaus Weidner [Tue, 12 Feb 2013 18:19:20 +0000 (10:19 -0800)]
code review: rename to .singleSeriesName
Paul Felix [Tue, 12 Feb 2013 17:24:49 +0000 (12:24 -0500)]
Call addEvent on graph instance where needed for auto removal
Paul Felix [Tue, 12 Feb 2013 15:10:32 +0000 (10:10 -0500)]
Merge branch 'master' of github.com:danvk/dygraphs
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
Dan Vanderkam [Mon, 11 Feb 2013 16:52:25 +0000 (11:52 -0500)]
add missing semicolon
Dan Vanderkam [Mon, 11 Feb 2013 02:04:46 +0000 (21:04 -0500)]
Merge branch 'master' of github.com:danvk/dygraphs
Dan Vanderkam [Mon, 11 Feb 2013 02:04:39 +0000 (21:04 -0500)]
add Great Lakes Water Level dashboard example
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.
Klaus Weidner [Sun, 10 Feb 2013 23:10:06 +0000 (15:10 -0800)]
Address code review comments
Robert Konigsberg [Sun, 10 Feb 2013 16:43:22 +0000 (11:43 -0500)]
Remove naming of anoymous functions. Unnecessary and slightly wrong.
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.
Robert Konigsberg [Sat, 9 Feb 2013 19:14:09 +0000 (14:14 -0500)]
Fix bug 329 which accumulates clipping rectangles on subsequent draws.
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
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...
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.
Dan Vanderkam [Sat, 9 Feb 2013 05:16:31 +0000 (00:16 -0500)]
remove console.log()
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.
Dan Vanderkam [Sat, 9 Feb 2013 01:23:37 +0000 (20:23 -0500)]
auto_test for stacked annotations
Dan Vanderkam [Sat, 9 Feb 2013 01:09:29 +0000 (20:09 -0500)]
Fix the other half of Issue 256 (annotation stacking)
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
Dan Vanderkam [Sat, 9 Feb 2013 00:54:12 +0000 (19:54 -0500)]
Fix part 1 of Issue 256: Annotations attachAtBottom Property
Dan Vanderkam [Sat, 9 Feb 2013 00:39:14 +0000 (19:39 -0500)]
Fix Issue 347: three-finger zoom crashes the display on iOS
Dan Vanderkam [Sat, 9 Feb 2013 00:26:07 +0000 (19:26 -0500)]
Merge branch 'master' of github.com:danvk/dygraphs
Dan Vanderkam [Sat, 9 Feb 2013 00:25:58 +0000 (19:25 -0500)]
Fix Issue 181: labelsDiv flashes when the mouse hovers over it.
Dan Vanderkam [Sat, 9 Feb 2013 00:00:32 +0000 (16:00 -0800)]
Merge pull request #209 from kberg/i428
Fix bug 428
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.
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.
Dan Vanderkam [Fri, 8 Feb 2013 23:27:21 +0000 (18:27 -0500)]
support "double-tap" to zoom out on touch devices
Dan Vanderkam [Fri, 8 Feb 2013 22:58:21 +0000 (17:58 -0500)]
Call zoomCallback from touch interactions (issue 395)
Dan Vanderkam [Fri, 8 Feb 2013 22:45:36 +0000 (17:45 -0500)]
Slightly scary change to fix issue 426
Dan Vanderkam [Fri, 8 Feb 2013 21:18:36 +0000 (16:18 -0500)]
Add CSS "reset" to fix Issue 429
Dan Vanderkam [Fri, 8 Feb 2013 21:01:30 +0000 (16:01 -0500)]
Fix tests to handle the new space in the legend
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)
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
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
Dan Vanderkam [Fri, 8 Feb 2013 19:59:29 +0000 (14:59 -0500)]
Fix documentation for underlayCallback (Issue 379)
eichsjul [Thu, 7 Feb 2013 15:59:30 +0000 (16:59 +0100)]
BUGFIX:
Corrected tests for stepPlot per series
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
Robert Konigsberg [Thu, 7 Feb 2013 14:25:11 +0000 (09:25 -0500)]
Namespace the canvas proxy in auto tests.
eichsjul [Thu, 7 Feb 2013 09:44:16 +0000 (10:44 +0100)]
FEATURE: Added tests for stepPlot option per series
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
eichsjul [Thu, 31 Jan 2013 15:42:15 +0000 (16:42 +0100)]
FEATURE: Added stepPlot option per series for all plotters.
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.
eichsjul [Thu, 31 Jan 2013 13:32:58 +0000 (14:32 +0100)]
FEATURE: Added support for stepPlot per-series.
Paul Felix [Wed, 6 Feb 2013 17:07:02 +0000 (12:07 -0500)]
Fix for Issue 421: Range selector disappear after resize
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/
Robert Konigsberg [Sat, 2 Feb 2013 21:55:02 +0000 (13:55 -0800)]
s/RGBColor/RGBColorParser in the tests directory.
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.
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.
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
Dan Vanderkam [Fri, 1 Feb 2013 16:53:34 +0000 (11:53 -0500)]
Fix "Unnecessary semicolon" lint error
manufitoussi [Fri, 1 Feb 2013 10:17:38 +0000 (11:17 +0100)]
Changing name of isUnspecifiedLimit function to isNullUndefinedOrNaN
Dan Vanderkam [Thu, 31 Jan 2013 15:52:38 +0000 (07:52 -0800)]
Merge pull request #203 from witsa/resize_handler
Resize handler
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.
Robert Konigsberg [Thu, 31 Jan 2013 14:37:40 +0000 (06:37 -0800)]
Update docs for committing changes.
manufitoussi [Wed, 30 Jan 2013 13:54:40 +0000 (14:54 +0100)]
remove wrong argument of parseFloat
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.
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.
Emmanuel Fitoussi [Wed, 30 Jan 2013 09:51:31 +0000 (01:51 -0800)]
Merge pull request #4 from danvk/master
Get last version
manufitoussi [Wed, 30 Jan 2013 08:25:46 +0000 (09:25 +0100)]
refactoring of detection of unspecified limit.
manufitoussi [Wed, 30 Jan 2013 08:22:50 +0000 (09:22 +0100)]
reference sentence rewrite
Emmanuel Fitoussi [Wed, 30 Jan 2013 08:07:40 +0000 (00:07 -0800)]
Merge pull request #3 from danvk/master
Get last version