Dan Vanderkam [Tue, 21 Oct 2014 14:44:32 +0000 (10:44 -0400)]
Check that dygraph-combined is un-generated when testing.
Dan Vanderkam [Tue, 21 Oct 2014 05:19:46 +0000 (01:19 -0400)]
CONTRIBUTING.md formatting
Dan Vanderkam [Tue, 21 Oct 2014 05:19:12 +0000 (01:19 -0400)]
Add a guide to contributing
Dan Vanderkam [Tue, 21 Oct 2014 04:49:37 +0000 (00:49 -0400)]
check for correct versions in package.json and bower.json
Dan Vanderkam [Tue, 21 Oct 2014 00:28:50 +0000 (20:28 -0400)]
valid JSON for bower.json
Dan Vanderkam [Tue, 21 Oct 2014 00:18:18 +0000 (20:18 -0400)]
Attempt to create a working bower package
Dan Vanderkam [Tue, 21 Oct 2014 00:07:37 +0000 (20:07 -0400)]
Point to the new issue tracker
Adam Vartanian [Tue, 14 Oct 2014 20:24:42 +0000 (16:24 -0400)]
Add a fast-path setSelection() if the points are in the expected place.
In most cases, the appropriate index will contain the point that should
be selected, so check that and use that point if so. Otherwise, search
for a matching point.
Also add a test that tests the case where the appropriate index doesn't
contain the point we're looking for.
Adam Vartanian [Mon, 13 Oct 2014 16:35:36 +0000 (12:35 -0400)]
Make setSelection() work with missing points.
If the points array is missing points, for instance because the data
handler omitted them, setSelection() will now still properly find
the points that are being selected by looking at the points' idx
property instead of just indexing into the points array.
Paul Holden [Fri, 29 Aug 2014 18:43:27 +0000 (14:43 -0400)]
Add missing license text to dygraph-externs.js and dygraph-types.js
Paul Holden [Mon, 25 Aug 2014 01:58:19 +0000 (21:58 -0400)]
Update the hidpi test to work on a wider variety of platforms (e.g. when running the tests via `java -jar ./auto_tests/lib/JsTestDriver-1.3.3c.jar --tests all`)
yankee [Wed, 20 Aug 2014 14:09:10 +0000 (16:09 +0200)]
Replace ' ' with ' ', so that the legend works in XHTML pages as well
Brent Walther [Tue, 1 Jul 2014 22:57:17 +0000 (15:57 -0700)]
Add Dygraph.PointType to dygraph-types
Add the Dygraph.PointType type to the dygraph-types externs file. This type is used when defining a clickCallback function and must be defined in order to satisfy the Google Closure compiler.
Brent Walther [Tue, 1 Jul 2014 15:49:30 +0000 (08:49 -0700)]
Add panning interaction model functions to dygraph-externs
Add the startPan(), movePan(), and endPan() functions to the externs file. These functions are commonly used when defining custom interaction models and must be defined in order to satisfy the closure compiler.
Dan Vanderkam [Wed, 25 Jun 2014 16:40:34 +0000 (12:40 -0400)]
turn off warnings in uglifyjs
Dan Vanderkam [Wed, 25 Jun 2014 15:07:44 +0000 (11:07 -0400)]
compress with UglifyJS -- ~6k savings
Dan Vanderkam [Wed, 25 Jun 2014 04:09:53 +0000 (00:09 -0400)]
Bug fix for horizontal scrolling on hidpi devices
Dan Vanderkam [Wed, 25 Jun 2014 04:08:22 +0000 (00:08 -0400)]
ignore env
Dan Vanderkam [Tue, 24 Jun 2014 03:57:25 +0000 (23:57 -0400)]
Use closure compiler from NPM
Dan Vanderkam [Mon, 23 Jun 2014 23:11:04 +0000 (19:11 -0400)]
make publish works
Dan Vanderkam [Mon, 23 Jun 2014 22:55:11 +0000 (18:55 -0400)]
make publish
Dan Vanderkam [Sat, 14 Jun 2014 02:22:19 +0000 (22:22 -0400)]
Make test.sh return an error code on failure.
Dan Vanderkam [Sat, 14 Jun 2014 02:01:51 +0000 (22:01 -0400)]
First attempt at Travis CI testing
Boivin Benoit [Thu, 12 Jun 2014 07:09:14 +0000 (09:09 +0200)]
Reverted dygraph-combined.js
Changed fill_step_plot.js
Boivin Benoit [Wed, 11 Jun 2014 13:27:05 +0000 (15:27 +0200)]
Now considering the issue as a bug, adding an auto_test (might be wrong)
Boivin Benoit [Thu, 5 Jun 2014 14:46:41 +0000 (16:46 +0200)]
Fixed option support
Benoit Boivin [Thu, 5 Jun 2014 12:02:04 +0000 (14:02 +0200)]
Added new fillStepPlot option for dygraph
Robert Konigsberg [Mon, 12 May 2014 08:44:07 +0000 (04:44 -0400)]
Mind renaming.
Petr Shevtsov [Mon, 28 Apr 2014 09:26:00 +0000 (13:26 +0400)]
Execute custom shapes closure
Robert Konigsberg [Wed, 23 Apr 2014 14:58:09 +0000 (10:58 -0400)]
dingle quotes.
Robert Konigsberg [Wed, 23 Apr 2014 12:42:58 +0000 (08:42 -0400)]
x axis log scale.
Dan Vanderkam [Tue, 18 Mar 2014 17:44:37 +0000 (13:44 -0400)]
temporarily remove failing test
Dan Vanderkam [Thu, 6 Mar 2014 04:21:43 +0000 (23:21 -0500)]
fix SO links
Klaus Weidner [Fri, 21 Feb 2014 03:25:09 +0000 (19:25 -0800)]
Fix bad 'g' argument for drawHighlightPointCallback.
Akiyah [Mon, 17 Feb 2014 16:58:00 +0000 (01:58 +0900)]
add test of plugins/legend.js
George Madrid [Mon, 10 Feb 2014 16:01:06 +0000 (11:01 -0500)]
Changing test file name in local.html
George Madrid [Mon, 10 Feb 2014 15:33:41 +0000 (10:33 -0500)]
Responding to Dan's feedback.
George Madrid [Fri, 7 Feb 2014 19:05:25 +0000 (14:05 -0500)]
Fix for ticks when years are < 100.
Akiyah [Sat, 4 Jan 2014 17:19:03 +0000 (02:19 +0900)]
add semicollon
Akiyah [Sat, 4 Jan 2014 17:07:25 +0000 (02:07 +0900)]
fix XSS in labels
Paul Holden [Mon, 26 Aug 2013 13:52:02 +0000 (14:52 +0100)]
Add support for HiDPI displays
Joan Pau Beltran [Thu, 5 Jun 2014 15:40:30 +0000 (17:40 +0200)]
Removed disabled ticker test suite (no longer needed).
The tickers test suite is disabled. In addition, most tests there are broken.
Date ticker tests are fixed and moved to a separated date ticker test suite
by last commit. Hence move numeric ticker tests to the numeric ticker
test-suite and remove the disabled tickers test-suite.
* `auto_tests/tests/numeric_ticker.js`:
Include tests from `auto_tests/tests/tickers.disabled-js`
but commented because they are all broken.
* auto_tests/tests/tickers.disabled-js:
Delete it because it is no longer needed.
Joan Pau Beltran [Mon, 2 Jun 2014 15:50:45 +0000 (17:50 +0200)]
Added automated test for UTC date ticks and labels.
The date tick tests are broken in the ticker automatic test suite
because they assume EST timezone. In addition, the suite is disabled.
Fix the automatic test suite for the case UTC ticks and labels:
* `auto_tests/tests/date_ticker.js`:
Test the generation of ticks and labels at nice time positions
according to UTC as set by option `labelsDateUTC`.
Include the date axis tests from `auto-tests/tests/tickers.js-disabled`
with the required changes of timestamps and with initial ticks
out of range removed.
Joan Pau Beltran [Mon, 10 Feb 2014 11:11:24 +0000 (12:11 +0100)]
Added UTC date label tests and adapted existing ones.
* tests/labelsDateUTC.html:
New test/demo for the option `labelsDateUTC`.
Display several days of data according to UTC and to local time,
and compare the tick placement and the label format.
* tests/x-axis-formatter.html:
Added `opts` argument to `axisLabelFormatter` function
(used by inner `Dygraphs.dateAxisLabelFormatter` call).
Joan Pau Beltran [Thu, 5 Jun 2014 15:59:57 +0000 (17:59 +0200)]
Insignificant fix of `>` in jsdoc comments.
Joan Pau Beltran [Thu, 5 Jun 2014 15:46:27 +0000 (17:46 +0200)]
Format year of monthly tick lables with 2 digits instead of 4.
Since commit 7b2dfd0 (Oct 15, 2013) the format of monthly tick
labels is `%b %Y` (e.g. Oct 2013). Before the format was '%b %y'
(e.g. Oct 13). Revert to the later format because it seems to be
an accidental change.
* `dygraph.js`:
Revert format of monthly tick labels from `%b %Y` to `%b %y`.
Joan Pau Beltran [Fri, 31 Jan 2014 13:08:13 +0000 (14:08 +0100)]
Added support for option `labelsDateUTC` to the date tick picker.
* dygraph-tickers.js:
simplified date tick generation. `Dygraph.getDateAxis`
now produces nice ticks both in UTC and local time.
* dygraph-utils.js:
removed `Dygraph.dateSetters` and `Dygraph.setDateSameTZ`
because they are not needed any more.
Joan Pau Beltran [Wed, 22 Jan 2014 12:55:51 +0000 (13:55 +0100)]
Added support for UTC date time labels.
* dygraph-utils.js:
new utc switch parameter for `Dygraph.dateString_`
and new signature for `Dygraph.hhmmss_`.
* dygraph.js:
support for UTC date time labels in date formatter.
Also rename it to `dateAxisLabelFormatter` for homogeneity
with the numeric one. and add a `dateValueFormatter`.
* dygraph-options-reference.js:
new `labelsDateUTC` option.
Dan Vanderkam [Sat, 14 Dec 2013 18:52:33 +0000 (13:52 -0500)]
fix additional lint errors
Dan Vanderkam [Sat, 14 Dec 2013 18:20:12 +0000 (13:20 -0500)]
Merge branch 'master' of github.com:danvk/dygraphs
Dan Vanderkam [Fri, 13 Dec 2013 22:09:15 +0000 (17:09 -0500)]
Fix lint errors in gallery and add its JS files to lint.sh
Dan Vanderkam [Fri, 13 Dec 2013 21:21:05 +0000 (13:21 -0800)]
Merge pull request #286 from shawno1059/master
Speed up renerding of stacked graph when stackedGraphNaNFill = 'none'
Shawn [Tue, 26 Nov 2013 16:30:39 +0000 (08:30 -0800)]
Formatting change.
Shawn [Mon, 25 Nov 2013 21:59:47 +0000 (13:59 -0800)]
Speed up renerding of stacked graph by avoiding the loop in
updateNextPoint(), when stackedGraphNaNFill = 'none'.
Dan Vanderkam [Tue, 29 Oct 2013 17:51:38 +0000 (10:51 -0700)]
Merge pull request #284 from klausw-g/issue-466-regression-test
add regression test for NaN handling in errorbar mode.
Klaus Weidner [Tue, 29 Oct 2013 17:01:20 +0000 (10:01 -0700)]
add regression test for NaN handling in errorbar mode.
See https://code.google.com/p/dygraphs/issues/detail?id=466 .
The reported issue was that NaN values were unexpectedly being
drawn as connected in customBar=true mode. This already
works correctly in current Dygraphs, I've converted the jsfiddle
demonstrating the issue to a regression test.
Dan Vanderkam [Sun, 27 Oct 2013 04:56:08 +0000 (23:56 -0500)]
Fix some closure issues; down to 87 warnings
Dan Vanderkam [Sat, 26 Oct 2013 23:56:54 +0000 (18:56 -0500)]
lint cleanup
Dan Vanderkam [Sat, 26 Oct 2013 23:54:41 +0000 (18:54 -0500)]
cleanup
Dan Vanderkam [Sat, 26 Oct 2013 23:53:58 +0000 (18:53 -0500)]
cleanup
Dan Vanderkam [Sat, 26 Oct 2013 23:50:33 +0000 (18:50 -0500)]
Merge branch 'master' into range-selector-repair
Dan Vanderkam [Sat, 26 Oct 2013 23:49:20 +0000 (18:49 -0500)]
range selector tests pass
Dan Vanderkam [Sat, 26 Oct 2013 23:46:48 +0000 (18:46 -0500)]
almost passing!
Dan Vanderkam [Sat, 26 Oct 2013 22:24:54 +0000 (17:24 -0500)]
merge
Dan Vanderkam [Sat, 26 Oct 2013 19:09:06 +0000 (14:09 -0500)]
Update dygraph-externs to better reflect the public API (thanks mcantos)
Dan Vanderkam [Fri, 25 Oct 2013 20:02:22 +0000 (15:02 -0500)]
misc fixes
Dan Vanderkam [Thu, 24 Oct 2013 04:36:30 +0000 (23:36 -0500)]
Fix some basic Closure type annotation mistakes
Dan Vanderkam [Thu, 24 Oct 2013 03:24:01 +0000 (20:24 -0700)]
Merge pull request #283 from danvk/smf+compile
Add a "compile with closure" script
Dan Vanderkam [Thu, 24 Oct 2013 03:21:32 +0000 (22:21 -0500)]
better script
Dan Vanderkam [Wed, 23 Oct 2013 18:11:06 +0000 (13:11 -0500)]
check that compile script runs
Dan Vanderkam [Wed, 23 Oct 2013 18:09:15 +0000 (13:09 -0500)]
comments & cleanup
Dan Vanderkam [Wed, 23 Oct 2013 18:00:52 +0000 (13:00 -0500)]
Merge branch 'master' into smf+compile
Robert Konigsberg [Tue, 22 Oct 2013 20:49:38 +0000 (13:49 -0700)]
Merge pull request #281 from danvk/small-files-closure
Expand and Closurize dygraph-utils.js <-- pulled!
Dan Vanderkam [Mon, 21 Oct 2013 23:10:55 +0000 (18:10 -0500)]
compile-with-closure script
Dan Vanderkam [Mon, 21 Oct 2013 23:03:35 +0000 (18:03 -0500)]
exports + compile script
Dan Vanderkam [Fri, 18 Oct 2013 03:08:37 +0000 (23:08 -0400)]
add dygraph-types.js
Dan Vanderkam [Fri, 18 Oct 2013 02:57:51 +0000 (22:57 -0400)]
remaining changes from dygraph-utils.js
Dan Vanderkam [Fri, 18 Oct 2013 02:52:07 +0000 (22:52 -0400)]
move dragGet{X,Y} to dygraph-utils.js
Dan Vanderkam [Fri, 18 Oct 2013 02:48:32 +0000 (22:48 -0400)]
copy over dygraph-utils.js changes
Dan Vanderkam [Fri, 18 Oct 2013 02:40:55 +0000 (19:40 -0700)]
Merge pull request #279 from danvk/datahandler-cleanup
Datahandler cleanup
Dan Vanderkam [Fri, 18 Oct 2013 02:27:32 +0000 (19:27 -0700)]
Merge pull request #280 from danvk/kill-code
Kill code
Dan Vanderkam [Fri, 18 Oct 2013 02:26:58 +0000 (22:26 -0400)]
lint
Dan Vanderkam [Fri, 18 Oct 2013 02:26:07 +0000 (22:26 -0400)]
kberg review
Dan Vanderkam [Tue, 15 Oct 2013 04:18:24 +0000 (00:18 -0400)]
delete dependencies
Dan Vanderkam [Tue, 15 Oct 2013 04:11:20 +0000 (00:11 -0400)]
another typo; all tests pass
Dan Vanderkam [Tue, 15 Oct 2013 04:07:50 +0000 (00:07 -0400)]
typos
Dan Vanderkam [Tue, 15 Oct 2013 04:06:45 +0000 (00:06 -0400)]
fix up date formatting change
Dan Vanderkam [Tue, 15 Oct 2013 04:01:29 +0000 (00:01 -0400)]
copy over lots of changes from "shrink" branch.
Dan Vanderkam [Mon, 14 Oct 2013 21:37:11 +0000 (14:37 -0700)]
Merge pull request #278 from danvk/typed-options
Typed options
Dan Vanderkam [Mon, 14 Oct 2013 21:18:11 +0000 (17:18 -0400)]
todo is done
Dan Vanderkam [Mon, 14 Oct 2013 21:17:17 +0000 (17:17 -0400)]
@protected
Dan Vanderkam [Mon, 14 Oct 2013 03:23:27 +0000 (23:23 -0400)]
jsdoc
Dan Vanderkam [Mon, 14 Oct 2013 01:52:53 +0000 (21:52 -0400)]
cleanup _calcYNormal
Dan Vanderkam [Mon, 14 Oct 2013 01:49:48 +0000 (21:49 -0400)]
move parseFloat_ method around
Dan Vanderkam [Mon, 14 Oct 2013 01:45:26 +0000 (21:45 -0400)]
copy datahandler changes over from full-closure branch
Dan Vanderkam [Mon, 14 Oct 2013 01:26:40 +0000 (21:26 -0400)]
move lots of attr_ calls over to typed getOption
Dan Vanderkam [Mon, 14 Oct 2013 01:20:36 +0000 (21:20 -0400)]
port some option uses
Dan Vanderkam [Mon, 14 Oct 2013 01:13:48 +0000 (21:13 -0400)]
add get(Type)Option methods
Dan Vanderkam [Fri, 27 Sep 2013 14:50:42 +0000 (07:50 -0700)]
Merge pull request #271 from danvk/connect-separated-points
Make connectSeparatedPoints a per-series option.
Robert Konigsberg [Fri, 27 Sep 2013 14:30:58 +0000 (10:30 -0400)]
Code comments and indentation fixes.