Dan Vanderkam [Thu, 29 Aug 2013 22:43:53 +0000 (18:43 -0400)]
Merge branch 'release-1.0.1'
Dan Vanderkam [Thu, 29 Aug 2013 22:43:42 +0000 (18:43 -0400)]
link to new version history page
Dan Vanderkam [Thu, 29 Aug 2013 22:39:26 +0000 (18:39 -0400)]
add a version history page
Dan Vanderkam [Thu, 29 Aug 2013 20:34:26 +0000 (16:34 -0400)]
Merge branch 'release-1.0.1'
Dan Vanderkam [Thu, 29 Aug 2013 20:33:57 +0000 (16:33 -0400)]
Make testChartLogarithmic a true regression test for issue 454
craigj [Thu, 29 Aug 2013 20:32:31 +0000 (16:32 -0400)]
Fix for issue with log scale and toDataYCoord.
This is a fix for issue 454:
https://code.google.com/p/dygraphs/issues/detail?id=454
Squashed commit of the following:
commit
795eaa7bb3fcf65ae13c861dd8c034583009516e
Author: craigj <craig.jackson@douglasscientific.com>
Date: Thu Aug 29 07:21:56 2013 -0500
Adding back in comment that explains calculation that was removed in a previous commit.
commit
fc837121be749eefc41c2af0f5b376dd593bedb6
Author: craigj <craig.jackson@douglasscientific.com>
Date: Tue Aug 27 13:54:27 2013 -0500
Adding test testChartLogarithmic to auto_test.
commit
3e1f6af6a79517fce4b88d59def0d05e4ac90920
Author: craigj <craig.jackson@douglasscientific.com>
Date: Tue Aug 13 14:19:09 2013 -0500
ISSUE-454: Fixing issue with log scale and toDataYCoord per issue 454. https://code.google.com/p/dygraphs/issues/detail?id=454
commit
7ea65b58b912714594f5f9382464167f34dfd03a
Author: craigj <craig.jackson@douglasscientific.com>
Date: Tue Aug 13 14:16:59 2013 -0500
ISSUE-454: Fixing issue with log scale and toDataYCoord per issue 454. https://code.google.com/p/dygraphs/issues/detail?id=454
commit
d509655be656940deaec9a06cdab35c451e708d5
Author: craigj <craig.jackson@douglasscientific.com>
Date: Tue Aug 13 14:11:35 2013 -0500
ISSUE-454: Fixing issue with log scale and toDataYCoord per issue 454. https://code.google.com/p/dygraphs/issues/detail?id=454
Dan Vanderkam [Thu, 29 Aug 2013 03:40:03 +0000 (23:40 -0400)]
remove the (very) old DateGraph symbol
Dan Vanderkam [Thu, 29 Aug 2013 02:33:25 +0000 (22:33 -0400)]
Merge branch 'release-1.0.1'
Dan Vanderkam [Thu, 29 Aug 2013 02:31:45 +0000 (22:31 -0400)]
fix for obscured headers on options.html#xyz
Dan Vanderkam [Thu, 29 Aug 2013 02:22:29 +0000 (22:22 -0400)]
bump version to 1.0.1
Dan Vanderkam [Wed, 28 Aug 2013 04:00:57 +0000 (00:00 -0400)]
Cleanup from DataHandler change.
Highlights:
- Move from the string-based DataHandler registration system to plain
old JS symbols. This gets us some extra sanity checking from the
JS interpretor and linter.
- Standardize module pattern and indentation across datahandler/*.js.
- Document dataHandler option.
David Eberlein [Wed, 28 Aug 2013 02:55:47 +0000 (22:55 -0400)]
Datahandler and Unified Data Format
This commit unifies the various data formats used by dygraphs (error
bars, custom bars, fractions, simple numbers) into a single, canonical
format. It also allows users to create their own data formats.
Original proposal:
https://docs.google.com/document/d/1IWmX4oDbQbVtUoRNzSRG3yMpoBQ7LseVCQhGnuOZz_A/edit?pli=1#
This commit corresponds to pull request 249.
(https://github.com/danvk/dygraphs/pull/249)
Squashed commit of the following:
commit
acf2bc1dcdede4a52a5a9530476fbaf031009244
Author: Dan Vanderkam <danvdk@gmail.com>
Date: Tue Aug 27 22:50:46 2013 -0400
update closure TODO with new files
commit
13116fcf57a47b878f5cae2348718d61eebdc2e4
Merge: 0668281 625324f
Author: Dan Vanderkam <danvdk@gmail.com>
Date: Tue Aug 27 22:43:50 2013 -0400
Merge branch 'sauter-custom-datahandler' of https://github.com/sauter-hq/dygraphs into 249-datahandler
commit
625324fb1ce5d172537e484408497aab8bb1fcf0
Author: eberldav <eberldav@ch.sauter-bc.com>
Date: Mon Aug 5 14:44:06 2013 +0200
BUGFIX: Readded callback.js to the tests which was mistakenly removed.
commit
d18669c853b3e906a614fd3e251b06ab60be5ae7
Author: eberldav <eberldav@ch.sauter-bc.com>
Date: Mon Aug 5 14:28:41 2013 +0200
DOC: Refactored JSDoc to fit the closure complier standard.
commit
a5bb18294faca0c411507b74bd9ee25ac364ccda
Author: eberldav <eberldav@ch.sauter-bc.com>
Date: Mon Jul 22 18:04:37 2013 +0200
BUGFIX: Fixed lint errors for static usage of Dygraph and DygraphLayout
commit
a7b2e9493011710b2cb602200be6c2e839ffd6c0
Author: David Eberlein <david.eberlein@ch.sauter-bc.com>
Date: Mon Jul 22 16:53:36 2013 +0200
REFACTORING: Changed some method parameters based on suggestions of Dan and Robert and added some documentation.
commit
1d65e4effe51a00166a346cc06117d4613476231
Author: David Eberlein <david.eberlein@ch.sauter-bc.com>
Date: Mon Jul 22 15:16:07 2013 +0200
REFACTORING: Renamed datahandler files
commit
edb9bdfac79a810f5e0ae1758062e63bb21e8b5d
Author: David Eberlein <david.eberlein@ch.sauter-bc.com>
Date: Mon Jul 22 15:12:55 2013 +0200
DOC: Added documentation for data handlers and fixed wrong method visibilities.
commit
9ed5d88e2bfe2518293565cc97ee06bf56040c72
Merge: af5decb 22bc1f1
Author: David Eberlein <david.eberlein@ch.sauter-bc.com>
Date: Fri Jul 19 10:09:28 2013 +0200
Merge branch 'official-master' into sauter-custom-datahandler
Conflicts:
dygraph.js
commit
af5decb0e678e57eb9a50bfc7b141b5d647be1a1
Author: David Eberlein <david.eberlein@ch.sauter-bc.com>
Date: Wed Jul 10 10:21:25 2013 +0200
REFACTORING: Extracted getHandlerId_ method and refactored some variable names for better readability
commit
84be5b402420a10013ebf2e49943e8faabf54b01
Author: David Eberlein <david.eberlein@ch.sauter-bc.com>
Date: Tue Jul 9 18:02:45 2013 +0200
Fixed formatting issues.
commit
b2085b50a3f16d4067b02a1a2069f44835476d3d
Author: David Eberlein <david.eberlein@ch.sauter-bc.com>
Date: Tue Jun 25 08:49:54 2013 +0200
REFACTORING: Romoved old extract series method which is now moved into the data handlers.
commit
7d851638386c9e94bbd593a2bee7bfdec8486753
Merge: c8f5edb 464538e
Author: David Eberlein <david.eberlein@ch.sauter-bc.com>
Date: Thu Jun 20 15:13:22 2013 +0200
Merge branch 'official-master' into sauter-custom-datahandler
Conflicts:
dygraph.js
commit
c8f5edbb690ffdc3bc88393f26f8d3fd8f717533
Author: David Eberlein <david.eberlein@ch.sauter-bc.com>
Date: Fri Jun 14 12:20:41 2013 +0200
FEATURE: Integreated the new creation of points into the data handlers. This proposal is now fully functional again.
commit
5c1ce9c76243c430f9f5d50864b9cb909f611f6f
Author: David Eberlein <david.eberlein@ch.sauter-bc.com>
Date: Fri Jun 14 12:19:33 2013 +0200
Reverted file EOL back to unix
commit
2684ae56b8e2881680771f783449b3fd77903626
Author: David Eberlein <david.eberlein@ch.sauter-bc.com>
Date: Fri Jun 14 12:18:02 2013 +0200
BUGFIX: Fixed incorrect handling of logscale case in the datahandlers extractSeries methods.
commit
bcb28c102b91e902a881abdec6cf29b327610235
Author: David Eberlein <david.eberlein@ch.sauter-bc.com>
Date: Fri Jun 14 11:06:34 2013 +0200
CLEAN: Removed old imports of sauter js files.
commit
565afa87132d521a18dc7286bd4f79c6a1b743f8
Merge: 40f9f50 95a9512
Author: David Eberlein <david.eberlein@ch.sauter-bc.com>
Date: Thu Jun 13 18:07:16 2013 +0200
Merge branch 'official-master' into sauter-custom-datahandler: This is not yet functional, Dygraphs.seriesToPoints, and DygraphsLayout.evaluteLineCharts must still be refactored.
Conflicts:
dygraph-layout.js
dygraph.js
commit
40f9f50c2d2f1af65bb2ece54311d424d54a3afa
Author: David Eberlein <david.eberlein@ch.sauter-bc.com>
Date: Mon Jun 3 09:44:29 2013 +0200
REFACTORING: Removed benchmark tests since they are now integrated into the dygraphs-perf project.
commit
12940792fa7999da6910947cb7d0f407dd8ad81f
Merge: c24f3f3 8cf57f1
Author: David Eberlein <david.eberlein@ch.sauter-bc.com>
Date: Mon Jun 3 09:41:16 2013 +0200
Merge remote-tracking branch 'official/master' into sauter-custom-datahandler
commit
c24f3f3832a906d9c0c5a61173a94e26150b188b
Author: eberldav <eberldav@ch.sauter-bc.com>
Date: Thu May 30 17:10:57 2013 +0200
REFACTORING: Fixed lint issues and broken test as well as some code style for the pull.
commit
ea03a641f42d42d54842111e5f337c39ea3156ef
Author: David Eberlein <david.eberlein@ch.sauter-bc.com>
Date: Thu May 30 16:51:42 2013 +0200
CLEANUP: Removed sauter specific data handlers and the not 100% finished Bugfix for the y extremes date window issue so that this can be pulled.
commit
3782b55d0f66a600fe863ba3cb2a6c1588839525
Author: eberldav <eberldav@ch.sauter-bc.com>
Date: Thu May 16 13:51:09 2013 +0200
BUGFIX: Deleted falsely added comma
commit
803715042a4ba225097411be78f89f0c46df9236
Author: eberldav <eberldav@ch.sauter-bc.com>
Date: Thu May 16 13:47:58 2013 +0200
OPTIMIZATION: Replaced DataHandler onPointCreated callback with
onLineEvaluted passing all created points for one series instead of
calling the other method for each created point. Also added some bug
fixes to the yextemes method.
commit
97efdf6a4d01c8e888c614025a55252c0a55fa8d
Author: eberldav <eberldav@ch.sauter-bc.com>
Date: Wed May 15 11:26:17 2013 +0200
FEATURE: Made the onPointCreated callback optional for better
performance
commit
0b7892c335ab4309325efecaff95f7d6d8368848
Merge: c15adff 1bffeb9
Author: David Eberlein <david.eberlein@ch.sauter-bc.com>
Date: Wed May 15 11:02:46 2013 +0200
Merge branch 'sauter-custom-datahandler' of https://github.com/sauter-hq/dygraphs into sauter-custom-datahandler
commit
1bffeb9e60da0d1123cca874ca00cd86d53dfb2d
Author: eberldav <eberldav@ch.sauter-bc.com>
Date: Wed May 15 11:01:00 2013 +0200
REFACTORING: Removed unneseccary fractions check in default data
handler.
commit
c15adff4d2f857b84dfc231e0c19c5616c48d95f
Author: David Eberlein <david.eberlein@ch.sauter-bc.com>
Date: Wed May 15 10:58:05 2013 +0200
FEATURE: Removed copying the rolled series in the gather data method since the previous bug is fixed with the new data handler concept
commit
7c9d9f243a6b3149c495e1194baeaee1c6e1f479
Author: David Eberlein <david.eberlein@ch.sauter-bc.com>
Date: Mon May 13 14:56:22 2013 +0200
BUGFIX: Fixed wrong call of DataHandlers
commit
88f7311197bc5896a693a37aa52997c4be700454
Author: David Eberlein <david.eberlein@ch.sauter-bc.com>
Date: Mon May 13 13:48:24 2013 +0200
Added data handler to the generate combined and jsTestDriver imports.
commit
4eb44304546ae705e41cc90f7f6f027846d33968
Author: David Eberlein <david.eberlein@ch.sauter-bc.com>
Date: Mon May 13 11:18:36 2013 +0200
BUGFIX: fixed wrong value comparison for data pruning.
commit
c21c7f09bd545f6ad2a99e87d9f1584ceafd4c3e
Author: David Eberlein <david.eberlein@ch.sauter-bc.com>
Date: Mon May 13 11:06:04 2013 +0200
BUGFIX: Fixed not complete adaption of pruning.
commit
f5fcd68c8fad65ac7008972dfe8ed1b92868b5d2
Author: David Eberlein <david.eberlein@ch.sauter-bc.com>
Date: Mon May 13 10:51:32 2013 +0200
REFACTORING: Adapted samples pruning to the unified data format.
commit
34bf8984e75437f4e0f59f5f1f18cd041308d4b4
Merge: 925e74a b839102
Author: David Eberlein <david.eberlein@ch.sauter-bc.com>
Date: Mon May 13 10:42:55 2013 +0200
Merge branch 'official-master' into sauter-custom-datahandler
Conflicts:
auto_tests/misc/local.html
commit
925e74a6116c988060f83a78d34a4a60853a01e4
Merge: f9c4250 9f890c2
Author: David Eberlein <david.eberlein@ch.sauter-bc.com>
Date: Fri May 3 16:07:07 2013 +0200
Merge commit '
9f890c23ad80924d0a30f3a14f8680b7c2d6318e' into sauter-custom-datahandler
commit
f9c4250752b8a1d71aa8a37b69ca8a2bef42cd98
Author: David Eberlein <david.eberlein@ch.sauter-bc.com>
Date: Thu Apr 25 16:42:34 2013 +0200
TEST: Added benchmark test allowing for different dygaphs benchmarks. They are currently deactivated because they take quite a while to run.
commit
e6de1648346eaec0f253ef73836bf5c0e24a347f
Author: David Eberlein <david.eberlein@ch.sauter-bc.com>
Date: Thu Apr 25 14:29:59 2013 +0200
TEST: Adapted tests to conform to the new format and wrote new tests for the rolling options.
commit
8e8161efa9d79ef237a067f52f346dd1e36254ac
Author: David Eberlein <david.eberlein@ch.sauter-bc.com>
Date: Thu Apr 25 14:29:03 2013 +0200
FEATURE: Adapted DataHandler proposal to implement a unified data format.
commit
5667ec0d745ec446f29a444246a9c0c4555cbc53
Merge: 1049bc4 de25451
Author: David Eberlein <david.eberlein@ch.sauter-bc.com>
Date: Thu Apr 25 09:19:40 2013 +0200
Merge commit '
de2545148870a1bdb0957c4c42e80bdb8ce1656d' into sauter-custom-datahandler
commit
1049bc479f0245f35453110f74eb03fd5919a642
Merge: 531fd88 d88dec8
Author: David Eberlein <david.eberlein@ch.sauter-bc.com>
Date: Tue Apr 23 18:17:37 2013 +0200
Merge commit '
d88dec82afd6b902ffa56339d4afbf3277ad5ba3' into sauter-custom-datahandler
commit
531fd88e2fcae671f59e62b771df54310db1085d
Author: David Eberlein <david.eberlein@ch.sauter-bc.com>
Date: Fri Apr 19 16:15:59 2013 +0200
FEATURE: removed dygraphs-layout.evaluteWithErrors and added its content to the datahandler-bars.
commit
5235abea1f1f77668c15e6f1c44be185f00fe5e2
Author: David Eberlein <david.eberlein@ch.sauter-bc.com>
Date: Fri Apr 19 16:06:36 2013 +0200
REFACTORING: Reordered the datahandler methods to fit the calling order
commit
e8c157be072cb3b1bc58e105311e3354555b5ea0
Author: David Eberlein <david.eberlein@ch.sauter-bc.com>
Date: Fri Apr 19 15:47:19 2013 +0200
DOC: Added documentation and minor fixes to the datahandler
commit
58c69c1e5defe57d92b19cfbbf8ab49b8acba163
Author: David Eberlein <david.eberlein@ch.sauter-bc.com>
Date: Fri Apr 19 15:36:32 2013 +0200
REFACTORING: Minor enhancments in extremes computation
commit
3ab152656a0f46239b13bac5aa854381965c907f
Author: David Eberlein <david.eberlein@ch.sauter-bc.com>
Date: Fri Apr 19 13:42:31 2013 +0200
BUGFIX: Fixed bug still using the customData option in dygraph-layout.
commit
4bea6089553269046e80c18b6bd9a77beff3ed92
Author: David Eberlein <david.eberlein@ch.sauter-bc.com>
Date: Fri Apr 19 12:24:29 2013 +0200
BUGFIX: Removed wrong code in bars datahandler callback
commit
442151876269da341a3932750a7e11a52e594d0f
Author: David Eberlein <david.eberlein@ch.sauter-bc.com>
Date: Fri Apr 19 11:43:57 2013 +0200
TESTS: Adapted tests to fit the new dataHandler integration
commit
ce7550aaf00a2cafbdc1be3abc4f12dc7ea3a687
Author: David Eberlein <david.eberlein@ch.sauter-bc.com>
Date: Fri Apr 19 11:42:52 2013 +0200
FEATURE: Integrated the dataHandler model into dygraphs.
commit
e13eb4e4ea0514e62cba89975ed6b8aadebfad0e
Author: eichsjul <julian.eichstaedt@ch.sauter-bc.com>
Date: Thu Apr 18 15:38:36 2013 +0200
BUGFIX: Moved extremeValues method to the correct place and added the needed arguments to the call.
commit
05afa764addc217e87cf1a29ff350517207f7f65
Author: eichsjul <julian.eichstaedt@ch.sauter-bc.com>
Date: Thu Apr 18 14:51:47 2013 +0200
FEATURE: Added initial implementation of custom data support.
Dan Vanderkam [Wed, 14 Aug 2013 16:16:08 +0000 (12:16 -0400)]
push tags when doing a release
Dan Vanderkam [Tue, 13 Aug 2013 20:18:57 +0000 (16:18 -0400)]
checks and fixes in release.sh
Dan Vanderkam [Tue, 13 Aug 2013 20:09:06 +0000 (16:09 -0400)]
ready for release!
Dan Vanderkam [Tue, 13 Aug 2013 19:53:49 +0000 (15:53 -0400)]
Merge branch 'release-1.0.0' of github.com:danvk/dygraphs into release-1.0.0
Dan Vanderkam [Tue, 13 Aug 2013 19:49:47 +0000 (15:49 -0400)]
version 1.0.0
Dan Vanderkam [Mon, 12 Aug 2013 22:20:20 +0000 (18:20 -0400)]
generate download.html in push-to-web
Dan Vanderkam [Mon, 12 Aug 2013 20:59:38 +0000 (16:59 -0400)]
address issue 445
Dan Vanderkam [Mon, 12 Aug 2013 19:47:41 +0000 (15:47 -0400)]
fix lint error
Dan Vanderkam [Mon, 12 Aug 2013 19:43:32 +0000 (15:43 -0400)]
use .ready() for both charts on annotations.html
Dan Vanderkam [Mon, 12 Aug 2013 19:42:10 +0000 (15:42 -0400)]
.ready() works in IE8 now
Dan Vanderkam [Mon, 12 Aug 2013 03:21:00 +0000 (23:21 -0400)]
preliminary generate-download.py script
Dan Vanderkam [Wed, 7 Aug 2013 02:15:00 +0000 (22:15 -0400)]
make XHR work in IE6
Dan Vanderkam [Tue, 6 Aug 2013 01:11:26 +0000 (21:11 -0400)]
fix a few IE issues
Dan Vanderkam [Tue, 6 Aug 2013 01:04:48 +0000 (21:04 -0400)]
use IE-compatible version of jQuery
Dan Vanderkam [Mon, 5 Aug 2013 20:37:33 +0000 (16:37 -0400)]
Add Dygraph.ready() method to simplify annotations usage.
Dan Vanderkam [Sun, 4 Aug 2013 17:12:34 +0000 (13:12 -0400)]
New dygraphs home page
Dan Vanderkam [Sun, 21 Jul 2013 15:17:17 +0000 (11:17 -0400)]
test to track exported symbols in dygraph-combined.js
Dan Vanderkam [Wed, 17 Jul 2013 14:52:02 +0000 (16:52 +0200)]
Merge branch 'master' of github.com:danvk/dygraphs
Dan Vanderkam [Wed, 17 Jul 2013 14:51:49 +0000 (16:51 +0200)]
lightweight dead code elimination
Robert Konigsberg [Tue, 16 Jul 2013 12:41:02 +0000 (08:41 -0400)]
Make seriesToPoints_ and stackPoints_ private. They are being rendered as part of JSDoc, which is wrong, but also, seriesToPoints_ has the closure substring "<?", which jsdoc likes to think is PHP.
Dan Vanderkam [Wed, 19 Jun 2013 19:14:27 +0000 (12:14 -0700)]
Merge pull request #262 from sauter-hq/left-boundry-fix
Left boundary fix
David Eberlein [Wed, 19 Jun 2013 08:10:24 +0000 (10:10 +0200)]
Fixed wrong space usage in if clauses.
eberldav [Thu, 13 Jun 2013 08:38:31 +0000 (10:38 +0200)]
BUGFIX: Fixed bug using the idxToRow_ function instead of directly taking the row from the point. Also the idxToRow_ method has been completely removed based on Dans comment, that it is unneeded.
eberldav [Thu, 13 Jun 2013 08:13:04 +0000 (10:13 +0200)]
TEST: Added test to verify that the left boundry works now.
David Eberlein [Wed, 12 Jun 2013 16:16:25 +0000 (18:16 +0200)]
BUGFIX: Added "this." to the boundryIds_ calls
David Eberlein [Wed, 12 Jun 2013 15:50:44 +0000 (17:50 +0200)]
BUGFIX: Fixed Bug created by extracting different rows for each series (to fix the big not connecting lines at edges). Now all calls to the getLeftBoundry method are done with the correct set index resulting in a correct behaviour now.
Robert Konigsberg [Tue, 11 Jun 2013 20:31:43 +0000 (16:31 -0400)]
Merge branch 'master' of https://github.com/danvk/dygraphs
Robert Konigsberg [Tue, 11 Jun 2013 20:29:42 +0000 (16:29 -0400)]
Add comment to resize test case as a follow on to pull request 260.
Robert Konigsberg [Tue, 11 Jun 2013 20:29:42 +0000 (16:29 -0400)]
Add comment to resize test case as a follow on to pull request 260.
Robert Konigsberg [Tue, 11 Jun 2013 20:24:58 +0000 (13:24 -0700)]
Merge pull request #260 from klausw-g/resize-fix-2
Only resize canvas if the size changed.
Klaus Weidner [Tue, 11 Jun 2013 20:18:58 +0000 (13:18 -0700)]
Only resize canvas if the size changed.
Resizing the canvas erases it, and Dygraphs had skipped the redraw
when it thought it wasn't necessary, leading to blank graphs after
a redundant .resize() call.
Dan Vanderkam [Tue, 11 Jun 2013 18:52:57 +0000 (11:52 -0700)]
Merge pull request #259 from klausw-g/resize-fix
Fix graphs created in not-displayed divs.
Klaus Weidner [Tue, 11 Jun 2013 18:38:12 +0000 (11:38 -0700)]
Fix graphs created in not-displayed divs.
This distinguishes two cases:
- graphs with explicit height/width in graph options. They should
be drawn correctly after display, no resize needed.
- graphs without explicit height/width are supposed to inherit
the size from the surrounding div. They needs a .resize()
call after display.
Tests are included for both.
Fixes issue 238.
Robert Konigsberg [Fri, 7 Jun 2013 00:38:44 +0000 (17:38 -0700)]
Merge pull request #258 from klausw-g/lint-fixes
Linter fixes.
Klaus Weidner [Thu, 6 Jun 2013 23:23:25 +0000 (16:23 -0700)]
Linter fixes.
Klaus Weidner [Thu, 6 Jun 2013 20:38:12 +0000 (16:38 -0400)]
Refactoring to fix stacked graphs with NaNs.
For stacked graphs, draw gaps for just the specific parts of series that are
missing data, and use interpolation to help ensure that the overall graph shape
doesn't get distorted for missing points.
This replaces #139 "Fix NaN handling for stacked graphs" which had
aggressively propagated NaNs to ensure that graphs don't get drawn with
incorrect stacking.
Fixes issue 446 - Improve handling of NaNs in stacked graphs.
Detailed changes:
* Remove layouts_.datasets, instead create point object arrays directly from
gatherDatasets_(). This was necessary since the pre-stacked datasets
aren't able to store the additional data needed for handling gaps.
* For stacked graphs, track yval_stacked/y_stacked separately from yval as point
properties.
* Remove unstackPointAtIndex which is now no longer necessary, since the points
keep the original yval. This helps ensure that the returned values keep their
original NaN value and don't expose the interpolated stacked values used for
drawing gaps.
* Remove evaluateWithError, evaluateLineCharts and Dygraph.seriesToPoints_ now
handle error bars directly.
* In gatherDatasets_, remove the unconditional copy of rolledSeries, the
refactoring appears to have fixed the bug related to zooming with
error bars on. (I could reproduce it in the original code by zooming
dygraphs/tests/custom-bars.html.) For date windows (horizontal zoom),
use .splice() instead of manually coping.
Squashed commit of the following:
commit
56efaef6a50c737b99a8e4e6a36e55c83fde237f
Author: Klaus Weidner <klausw@google.com>
Date: Mon Jun 3 16:50:16 2013 -0700
Style fixes as per Robert's requests.
commit
83bb38a071f407560abcca53b7f6e07d6b0ca0e5
Author: Klaus Weidner <klausw@google.com>
Date: Mon Jun 3 15:53:59 2013 -0700
Add stackedGraphNaNFill option to control NaN handling.
Add a test for this, and add a docstring to the stackPoints_ method.
commit
e16e3c381d5cc7bec9896b31dddebc627a941c33
Author: Klaus Weidner <klausw@google.com>
Date: Mon Jun 3 15:20:24 2013 -0700
Revert name back to .addDataset, add docstring.
commit
d3e66a60c84656364829e8a5bb83ed0e2b9fb403
Author: Klaus Weidner <klausw@google.com>
Date: Mon Jun 3 15:15:19 2013 -0700
Add more type annotations to make the flow of point data clearer.
Unfortunately it's still not very clear, the logic is a bit convoluted.
commit
33db3d27501c8b5f2f84baa4dd92bf8d6f0a35a3
Author: Klaus Weidner <klausw@google.com>
Date: Mon Jun 3 15:00:38 2013 -0700
Rename fixPathAttrs_ to cleanPathAttrs_ as requested.
commit
f39168785efcbacd1de9a6275aa02c8e34e4c5a7
Author: Klaus Weidner <klausw@google.com>
Date: Mon Jun 3 14:58:26 2013 -0700
Add comment explaining baseline, as requested by Robert.
commit
80348ed3c9e677fb5ff1ef393056e1e2bea1bbf7
Author: Klaus Weidner <klausw@google.com>
Date: Mon Jun 3 13:16:51 2013 -0700
Track stroke/fill in CanvasAssertions.
For lineTo operations, set strokeStyle to undefined if the path is
filled (not stroked), and set fillStyle to undefined if the path
is stroked only.
Fix assertions in missing_points tests, those were apparently expecting the
inflated numbers.
Remove the strokeStyle='#000000' hack in dygraph-canvas which is now
no longer needed.
commit
4f47af82ac297d27dc0ac9d5c6fd256e00cccec5
Author: Klaus Weidner <klausw@google.com>
Date: Mon Jun 3 11:57:56 2013 -0700
fix CanvasAssertions which was calling .match wrong, remove now-redundant check.
commit
8c53e9e0f3d362e58204ff5a777c90ddb3b589d5
Author: Klaus Weidner <klausw@google.com>
Date: Thu May 23 11:00:50 2013 -0700
Restore hasOwnProperty.
commit
621cc37cfaf33821d04de2a94aea63021f7a9647
Author: Klaus Weidner <klausw@google.com>
Date: Wed May 22 15:35:16 2013 -0700
Fix all-NaN series stacking and Proxy return values.
Ensure that all-NaN series get treated as zero for stacking
purposes, and that nextPoint gets set to null past the last
stackable point. We want interpolation, but not extrapolation.
The Proxy class didn't return values from calls, breaking
testCorrectColors since it didn't get pixel data as expected.
Update the input data for testInterpolation to check corner cases,
including an all-NaN series.
commit
eb52ff1c1bbdd55312cb2881b5182731c91c155c
Author: Klaus Weidner <klausw@google.com>
Date: Wed May 22 12:40:44 2013 -0700
Refactoring to fix stacked graphs with NaNs.
For stacked graphs, draw gaps for just the specific parts of series that are
missing data, and use interpolation to help ensure that the overall graph shape
doesn't get distorted for missing points.
This replaces https://github.com/danvk/dygraphs/pull/139 "Fix NaN handling for
stacked graphs" which had aggressively propagated NaNs to ensure that graphs
don't get drawn with incorrect stacking.
Fixes issue 446 - Improve handling of NaNs in stacked graphs.
Detailed changes:
- Remove layouts_.datasets, instead create point object arrays directly from
gatherDatasets_(). This was necessary since the pre-stacked datasets aren't
able to store the additional data needed for handling gaps.
- For stacked graphs, track yval_stacked/y_stacked separately from yval as point
properties.
- Remove unstackPointAtIndex which is now no longer necessary, since the points
keep the original yval. This helps ensure that the returned values keep their
original NaN value and don't expose the interpolated stacked values used for
drawing gaps.
- Remove evaluateWithError, evaluateLineCharts and Dygraph.seriesToPoints_ now
handle error bars directly.
- In gatherDatasets_, remove the unconditional copy of rolledSeries, the
refactoring appears to have fixed the bug related to zooming with
error bars on. (I could reproduce it in the original code by zooming
dygraphs/tests/custom-bars.html.) For date windows (horizontal zoom),
use .splice() instead of manually coping.
Robert Konigsberg [Thu, 6 Jun 2013 11:28:16 +0000 (04:28 -0700)]
Merge pull request #257 from kberg/auto-tests
Auto tests cleanup and enhancements
Robert Konigsberg [Thu, 6 Jun 2013 11:27:07 +0000 (07:27 -0400)]
Merge branch 'master' of https://github.com/danvk/dygraphs into auto-tests
Robert Konigsberg [Thu, 6 Jun 2013 02:11:44 +0000 (19:11 -0700)]
Merge pull request #250 from wimme/patch-4
LogScale and customBars with negative values
Robert Konigsberg [Wed, 5 Jun 2013 21:02:30 +0000 (17:02 -0400)]
Clean up more of the local testing script, and also make it prettier. Add execution time to header.
Robert Konigsberg [Tue, 4 Jun 2013 21:38:25 +0000 (17:38 -0400)]
Reduce the width of testGridLinePattern from 480px to 120px, making the test run in 150ms instead of ~8000ms.
Robert Konigsberg [Tue, 4 Jun 2013 21:24:39 +0000 (17:24 -0400)]
Merge branch 'master' of https://github.com/danvk/dygraphs
Robert Konigsberg [Mon, 3 Jun 2013 20:41:21 +0000 (13:41 -0700)]
Merge pull request #256 from kberg/auto-tests
I broke test.sh. This fixes it.
Robert Konigsberg [Mon, 3 Jun 2013 20:40:36 +0000 (16:40 -0400)]
Merge branch 'auto-tests' of https://github.com/kberg/dygraphs into auto-tests
Robert Konigsberg [Mon, 3 Jun 2013 20:37:17 +0000 (16:37 -0400)]
I broke ./test.sh, and this fixes it.
Robert Konigsberg [Mon, 3 Jun 2013 20:37:17 +0000 (16:37 -0400)]
I broke ./test.sh, and this fixes it.
Robert Konigsberg [Mon, 3 Jun 2013 19:41:05 +0000 (12:41 -0700)]
Merge pull request #255 from kberg/master
Add --verbose flag to test.sh and phantom-driver.js which gathers all output from the web page under test.
Robert Konigsberg [Mon, 3 Jun 2013 19:40:03 +0000 (15:40 -0400)]
Merge branch 'master' of https://github.com/danvk/dygraphs
Robert Konigsberg [Mon, 3 Jun 2013 19:39:11 +0000 (15:39 -0400)]
Add --verbose to ./test.sh and phantom-driver.js
Robert Konigsberg [Mon, 3 Jun 2013 19:17:28 +0000 (12:17 -0700)]
Merge pull request #254 from kberg/i382
Fix lint errors for i382. Also, ugh, clearly broken bit with mouseUpHandler.
Robert Konigsberg [Mon, 3 Jun 2013 19:15:24 +0000 (15:15 -0400)]
Fix lint errors for i382. Also, ugh, clearly broken bit with mouseUpHandler.
Robert Konigsberg [Mon, 3 Jun 2013 14:16:05 +0000 (07:16 -0700)]
Merge pull request #232 from kberg/i382
Fix bug 382. Simplify resizing by not recreating everything from scratch...
Robert Konigsberg [Mon, 3 Jun 2013 14:15:14 +0000 (10:15 -0400)]
Merge branch 'i382' of https://github.com/kberg/dygraphs into i382
Robert Konigsberg [Mon, 3 Jun 2013 14:14:08 +0000 (10:14 -0400)]
Fix tests that accompany fixing bug 382.
Robert Konigsberg [Mon, 3 Jun 2013 14:06:22 +0000 (10:06 -0400)]
Merge branch 'master' of https://github.com/danvk/dygraphs into i382
Robert Konigsberg [Mon, 3 Jun 2013 14:05:59 +0000 (07:05 -0700)]
Merge pull request #252 from kberg/auto-tests
Add nice little things to the in-browser test runner.
Robert Konigsberg [Mon, 3 Jun 2013 14:04:05 +0000 (10:04 -0400)]
Merge branch 'master' of https://github.com/danvk/dygraphs into i382
Robert Konigsberg [Mon, 3 Jun 2013 05:57:42 +0000 (01:57 -0400)]
Add nice little things to the in-browser test runner.
1. Add meta-links to the test name and new "more..." links.
2. Test name link runs that single test. more... shows the stack trace in an alert window. (Not ideal, but it's something.)
Dan Vanderkam [Mon, 3 Jun 2013 01:26:51 +0000 (18:26 -0700)]
Merge pull request #251 from kberg/auto-tests
Nicer auto tests
Robert Konigsberg [Sun, 2 Jun 2013 23:09:48 +0000 (19:09 -0400)]
Make a table view out of the test results for easier reading.
Robert Konigsberg [Sun, 2 Jun 2013 22:38:51 +0000 (18:38 -0400)]
Rewrite local testdriver processing. Using a listener framework to report test results, and also, store test execution durations.
Robert Konigsberg [Sun, 2 Jun 2013 15:57:24 +0000 (11:57 -0400)]
Turn auto-tests script into an object for saner manipulation.
Robert Konigsberg [Sun, 2 Jun 2013 15:43:08 +0000 (11:43 -0400)]
The local auto tester's javascript is messy and having it embedded in HTML doesn't help, so this change moves it out into its own file.
Wim Bruynooghe [Fri, 31 May 2013 14:03:40 +0000 (17:03 +0300)]
Update dygraph.js
Wim Bruynooghe [Fri, 31 May 2013 13:50:37 +0000 (16:50 +0300)]
Update dygraph.js
Wim Bruynooghe [Fri, 31 May 2013 13:48:46 +0000 (16:48 +0300)]
Add comment
Wim Bruynooghe [Fri, 31 May 2013 11:27:11 +0000 (13:27 +0200)]
Add test for custom bars with negative values in logScale
Wim Bruynooghe [Fri, 31 May 2013 11:22:44 +0000 (13:22 +0200)]
LogScale and customBars with negative values
When LogScale and customBars are enabled, it was verifying if the value was negative by using a <= on an array and then inserting a null. This caused exceptions in rollingAverage(), the value can't be null when using customBars.
(This a new patch based on the current code, since pull request #236 was getting old).
Robert Konigsberg [Thu, 30 May 2013 16:58:40 +0000 (12:58 -0400)]
Remove the vestigial DygraphLayout.setDateWindow.
(Also, add a clarifying comment.)
Dan Vanderkam [Wed, 8 May 2013 23:13:05 +0000 (16:13 -0700)]
Merge branch 'master' of github.com:danvk/dygraphs
Dan Vanderkam [Wed, 8 May 2013 23:12:48 +0000 (16:12 -0700)]
Fix failing test
Dan Vanderkam [Wed, 8 May 2013 23:09:31 +0000 (16:09 -0700)]
Merge pull request #241 from sauter-hq/per-axis-grid
per-axis grid options
David Eberlein [Wed, 8 May 2013 06:42:37 +0000 (08:42 +0200)]
Merge remote-tracking branch 'official/master' into per-axis-grid
Conflicts:
tests/two-axes.html
Dan Vanderkam [Fri, 3 May 2013 16:32:41 +0000 (09:32 -0700)]
Merge pull request #243 from sauter-hq/fix-for-issue-451
Fix for issue 451
David Eberlein [Fri, 3 May 2013 07:05:11 +0000 (09:05 +0200)]
REFACTORING: fixed code style and lint warnings. Readded jsdoc lost in merge.
David Eberlein [Thu, 2 May 2013 09:51:55 +0000 (11:51 +0200)]
REFACTORING: Fixed code style nits and extracted the null values check to a method.
David Eberlein [Thu, 2 May 2013 08:50:24 +0000 (10:50 +0200)]
Merge commit '
9f890c23ad80924d0a30f3a14f8680b7c2d6318e' into fix-for-issue-451
Conflicts:
dygraph-layout.js
Dan Vanderkam [Tue, 30 Apr 2013 16:09:11 +0000 (12:09 -0400)]
only reserve space for y2 axis when it will be drawn
David Eberlein [Thu, 25 Apr 2013 07:11:49 +0000 (09:11 +0200)]
REFACTORING: cleaned up code and style for new grid per axis feature.
David Eberlein [Thu, 25 Apr 2013 06:48:54 +0000 (08:48 +0200)]
Dan Vanderkam [Wed, 24 Apr 2013 17:53:21 +0000 (13:53 -0400)]
Fix our lone lint error
Dan Vanderkam [Wed, 24 Apr 2013 17:40:12 +0000 (13:40 -0400)]
Fix syntax errors in docs and update test script to check for them.
Dan Vanderkam [Wed, 24 Apr 2013 16:24:16 +0000 (12:24 -0400)]
Stack Overflow link on home page
Dan Vanderkam [Wed, 24 Apr 2013 16:16:38 +0000 (09:16 -0700)]
Merge pull request #246 from davidmsibley/master
Quarterly granularity ticker fix
Dan Vanderkam [Thu, 18 Apr 2013 16:28:36 +0000 (09:28 -0700)]
Merge pull request #245 from sauter-hq/custom-bar-data-gaps-459
Custom bar data gaps 459
Robert Konigsberg [Thu, 18 Apr 2013 15:35:59 +0000 (08:35 -0700)]
Merge pull request #237 from kberg/closure
Fix closure bugs in Dygraphs
Robert Konigsberg [Thu, 18 Apr 2013 15:34:18 +0000 (11:34 -0400)]
Follow-on to pull request 237, closurifying some code.
David Eberlein [Thu, 18 Apr 2013 08:23:31 +0000 (10:23 +0200)]
BUGFIX: Fixed test not running die to OS differences. Now the edge pixels arn't checked anymore which works fine on linux and windows.