dygraphs.git
10 years agorv changes to dygraph-layout.js joanpau-utc_datetime_labels-issue_498-v2
Dan Vanderkam [Wed, 22 Oct 2014 02:33:02 +0000 (22:33 -0400)]
rv changes to dygraph-layout.js

10 years agoCheck that dygraph-combined is un-generated when testing.
Dan Vanderkam [Tue, 21 Oct 2014 14:44:32 +0000 (10:44 -0400)]
Check that dygraph-combined is un-generated when testing.

10 years agoCONTRIBUTING.md formatting
Dan Vanderkam [Tue, 21 Oct 2014 05:19:46 +0000 (01:19 -0400)]
CONTRIBUTING.md formatting

10 years agoAdd a guide to contributing
Dan Vanderkam [Tue, 21 Oct 2014 05:19:12 +0000 (01:19 -0400)]
Add a guide to contributing

10 years agocheck for correct versions in package.json and bower.json
Dan Vanderkam [Tue, 21 Oct 2014 04:49:37 +0000 (00:49 -0400)]
check for correct versions in package.json and bower.json

10 years agovalid JSON for bower.json
Dan Vanderkam [Tue, 21 Oct 2014 00:28:50 +0000 (20:28 -0400)]
valid JSON for bower.json

10 years agoAttempt to create a working bower package
Dan Vanderkam [Tue, 21 Oct 2014 00:18:18 +0000 (20:18 -0400)]
Attempt to create a working bower package

10 years agoPoint to the new issue tracker
Dan Vanderkam [Tue, 21 Oct 2014 00:07:37 +0000 (20:07 -0400)]
Point to the new issue tracker

10 years agoAdd a fast-path setSelection() if the points are in the expected place.
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.

10 years agoMake setSelection() work with missing points.
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.

10 years agoAdd missing license text to dygraph-externs.js and dygraph-types.js
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

10 years agoUpdate the hidpi test to work on a wider variety of platforms (e.g. when running...
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`)

10 years agoReplace ' ' with ' ', so that the legend works in XHTML pages as well
yankee [Wed, 20 Aug 2014 14:09:10 +0000 (16:09 +0200)]
Replace ' ' with ' ', so that the legend works in XHTML pages as well

10 years agoAdd Dygraph.PointType to dygraph-types
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.

10 years agoAdd panning interaction model functions to dygraph-externs
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.

10 years agoturn off warnings in uglifyjs
Dan Vanderkam [Wed, 25 Jun 2014 16:40:34 +0000 (12:40 -0400)]
turn off warnings in uglifyjs

10 years agocompress with UglifyJS -- ~6k savings
Dan Vanderkam [Wed, 25 Jun 2014 15:07:44 +0000 (11:07 -0400)]
compress with UglifyJS -- ~6k savings

10 years agoBug fix for horizontal scrolling on hidpi devices
Dan Vanderkam [Wed, 25 Jun 2014 04:09:53 +0000 (00:09 -0400)]
Bug fix for horizontal scrolling on hidpi devices

10 years agoignore env
Dan Vanderkam [Wed, 25 Jun 2014 04:08:22 +0000 (00:08 -0400)]
ignore env

10 years agoUse closure compiler from NPM
Dan Vanderkam [Tue, 24 Jun 2014 03:57:25 +0000 (23:57 -0400)]
Use closure compiler from NPM

10 years agomake publish works
Dan Vanderkam [Mon, 23 Jun 2014 23:11:04 +0000 (19:11 -0400)]
make publish works

10 years agomake publish
Dan Vanderkam [Mon, 23 Jun 2014 22:55:11 +0000 (18:55 -0400)]
make publish

10 years agoMake test.sh return an error code on failure.
Dan Vanderkam [Sat, 14 Jun 2014 02:22:19 +0000 (22:22 -0400)]
Make test.sh return an error code on failure.

10 years agoFirst attempt at Travis CI testing
Dan Vanderkam [Sat, 14 Jun 2014 02:01:51 +0000 (22:01 -0400)]
First attempt at Travis CI testing

10 years agoReverted dygraph-combined.js
Boivin Benoit [Thu, 12 Jun 2014 07:09:14 +0000 (09:09 +0200)]
Reverted dygraph-combined.js
Changed fill_step_plot.js

10 years agoNow considering the issue as a bug, adding an auto_test (might be wrong)
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)

10 years agoFixed option support
Boivin Benoit [Thu, 5 Jun 2014 14:46:41 +0000 (16:46 +0200)]
Fixed option support

10 years agoAdded new fillStepPlot option for dygraph
Benoit Boivin [Thu, 5 Jun 2014 12:02:04 +0000 (14:02 +0200)]
Added new fillStepPlot option for dygraph

10 years agoMind renaming.
Robert Konigsberg [Mon, 12 May 2014 08:44:07 +0000 (04:44 -0400)]
Mind renaming.

10 years agoExecute custom shapes closure
Petr Shevtsov [Mon, 28 Apr 2014 09:26:00 +0000 (13:26 +0400)]
Execute custom shapes closure

10 years agodingle quotes.
Robert Konigsberg [Wed, 23 Apr 2014 14:58:09 +0000 (10:58 -0400)]
dingle quotes.

10 years agox axis log scale.
Robert Konigsberg [Wed, 23 Apr 2014 12:42:58 +0000 (08:42 -0400)]
x axis log scale.

10 years agotemporarily remove failing test
Dan Vanderkam [Tue, 18 Mar 2014 17:44:37 +0000 (13:44 -0400)]
temporarily remove failing test

10 years agofix SO links
Dan Vanderkam [Thu, 6 Mar 2014 04:21:43 +0000 (23:21 -0500)]
fix SO links

10 years agoFix bad 'g' argument for drawHighlightPointCallback.
Klaus Weidner [Fri, 21 Feb 2014 03:25:09 +0000 (19:25 -0800)]
Fix bad 'g' argument for drawHighlightPointCallback.

10 years agoadd test of plugins/legend.js
Akiyah [Mon, 17 Feb 2014 16:58:00 +0000 (01:58 +0900)]
add test of plugins/legend.js

10 years agoChanging test file name in local.html
George Madrid [Mon, 10 Feb 2014 16:01:06 +0000 (11:01 -0500)]
Changing test file name in local.html

10 years agoResponding to Dan's feedback.
George Madrid [Mon, 10 Feb 2014 15:33:41 +0000 (10:33 -0500)]
Responding to Dan's feedback.

10 years agoFix for ticks when years are < 100.
George Madrid [Fri, 7 Feb 2014 19:05:25 +0000 (14:05 -0500)]
Fix for ticks when years are < 100.

10 years agoadd semicollon
Akiyah [Sat, 4 Jan 2014 17:19:03 +0000 (02:19 +0900)]
add semicollon

10 years agofix XSS in labels
Akiyah [Sat, 4 Jan 2014 17:07:25 +0000 (02:07 +0900)]
fix XSS in labels

10 years agoAdd support for HiDPI displays
Paul Holden [Mon, 26 Aug 2013 13:52:02 +0000 (14:52 +0100)]
Add support for HiDPI displays

10 years agoRemoved disabled ticker test suite (no longer needed).
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.

10 years agoAdded automated test for UTC date ticks and labels.
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.

10 years agoAdded UTC date label tests and adapted existing ones.
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).

10 years agoInsignificant fix of `>` in jsdoc comments.
Joan Pau Beltran [Thu, 5 Jun 2014 15:59:57 +0000 (17:59 +0200)]
Insignificant fix of `>` in jsdoc comments.

10 years agoFormat year of monthly tick lables with 2 digits instead of 4.
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`.

10 years agoAdded support for option `labelsDateUTC` to the date tick picker.
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.

10 years agoAdded support for UTC date time labels.
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.

10 years agofix additional lint errors
Dan Vanderkam [Sat, 14 Dec 2013 18:52:33 +0000 (13:52 -0500)]
fix additional lint errors

10 years agoMerge branch 'master' of github.com:danvk/dygraphs
Dan Vanderkam [Sat, 14 Dec 2013 18:20:12 +0000 (13:20 -0500)]
Merge branch 'master' of github.com:danvk/dygraphs

10 years agoFix lint errors in gallery and add its JS files to lint.sh
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

10 years agoMerge pull request #286 from shawno1059/master
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'

11 years agoFormatting change.
Shawn [Tue, 26 Nov 2013 16:30:39 +0000 (08:30 -0800)]
Formatting change.

11 years agoSpeed up renerding of stacked graph by avoiding the loop in
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'.

11 years agoMerge pull request #284 from klausw-g/issue-466-regression-test
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.

11 years agoadd 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.

11 years agoFix some closure issues; down to 87 warnings
Dan Vanderkam [Sun, 27 Oct 2013 04:56:08 +0000 (23:56 -0500)]
Fix some closure issues; down to 87 warnings

11 years agolint cleanup
Dan Vanderkam [Sat, 26 Oct 2013 23:56:54 +0000 (18:56 -0500)]
lint cleanup

11 years agocleanup
Dan Vanderkam [Sat, 26 Oct 2013 23:54:41 +0000 (18:54 -0500)]
cleanup

11 years agocleanup
Dan Vanderkam [Sat, 26 Oct 2013 23:53:58 +0000 (18:53 -0500)]
cleanup

11 years agoMerge branch 'master' into range-selector-repair
Dan Vanderkam [Sat, 26 Oct 2013 23:50:33 +0000 (18:50 -0500)]
Merge branch 'master' into range-selector-repair

11 years agorange selector tests pass
Dan Vanderkam [Sat, 26 Oct 2013 23:49:20 +0000 (18:49 -0500)]
range selector tests pass

11 years agoalmost passing!
Dan Vanderkam [Sat, 26 Oct 2013 23:46:48 +0000 (18:46 -0500)]
almost passing!

11 years agomerge
Dan Vanderkam [Sat, 26 Oct 2013 22:24:54 +0000 (17:24 -0500)]
merge

11 years agoUpdate dygraph-externs to better reflect the public API (thanks mcantos)
Dan Vanderkam [Sat, 26 Oct 2013 19:09:06 +0000 (14:09 -0500)]
Update dygraph-externs to better reflect the public API (thanks mcantos)

11 years agomisc fixes
Dan Vanderkam [Fri, 25 Oct 2013 20:02:22 +0000 (15:02 -0500)]
misc fixes

11 years agoFix some basic Closure type annotation mistakes
Dan Vanderkam [Thu, 24 Oct 2013 04:36:30 +0000 (23:36 -0500)]
Fix some basic Closure type annotation mistakes

11 years agoMerge pull request #283 from danvk/smf+compile
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

11 years agobetter script smf+compile
Dan Vanderkam [Thu, 24 Oct 2013 03:21:32 +0000 (22:21 -0500)]
better script

11 years agocheck that compile script runs
Dan Vanderkam [Wed, 23 Oct 2013 18:11:06 +0000 (13:11 -0500)]
check that compile script runs

11 years agocomments & cleanup
Dan Vanderkam [Wed, 23 Oct 2013 18:09:15 +0000 (13:09 -0500)]
comments & cleanup

11 years agoMerge branch 'master' into smf+compile
Dan Vanderkam [Wed, 23 Oct 2013 18:00:52 +0000 (13:00 -0500)]
Merge branch 'master' into smf+compile

11 years agoMerge pull request #281 from danvk/small-files-closure
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!

11 years agocompile-with-closure script
Dan Vanderkam [Mon, 21 Oct 2013 23:10:55 +0000 (18:10 -0500)]
compile-with-closure script

11 years agoexports + compile script
Dan Vanderkam [Mon, 21 Oct 2013 23:03:35 +0000 (18:03 -0500)]
exports + compile script

11 years agoadd dygraph-types.js small-files-closure
Dan Vanderkam [Fri, 18 Oct 2013 03:08:37 +0000 (23:08 -0400)]
add dygraph-types.js

11 years agoremaining changes from dygraph-utils.js
Dan Vanderkam [Fri, 18 Oct 2013 02:57:51 +0000 (22:57 -0400)]
remaining changes from dygraph-utils.js

11 years agomove dragGet{X,Y} to dygraph-utils.js
Dan Vanderkam [Fri, 18 Oct 2013 02:52:07 +0000 (22:52 -0400)]
move dragGet{X,Y} to dygraph-utils.js

11 years agocopy over dygraph-utils.js changes
Dan Vanderkam [Fri, 18 Oct 2013 02:48:32 +0000 (22:48 -0400)]
copy over dygraph-utils.js changes

11 years agoMerge pull request #279 from danvk/datahandler-cleanup
Dan Vanderkam [Fri, 18 Oct 2013 02:40:55 +0000 (19:40 -0700)]
Merge pull request #279 from danvk/datahandler-cleanup

Datahandler cleanup

11 years agoMerge pull request #280 from danvk/kill-code
Dan Vanderkam [Fri, 18 Oct 2013 02:27:32 +0000 (19:27 -0700)]
Merge pull request #280 from danvk/kill-code

Kill code

11 years agolint kill-code
Dan Vanderkam [Fri, 18 Oct 2013 02:26:58 +0000 (22:26 -0400)]
lint

11 years agokberg review
Dan Vanderkam [Fri, 18 Oct 2013 02:26:07 +0000 (22:26 -0400)]
kberg review

11 years agodelete dependencies
Dan Vanderkam [Tue, 15 Oct 2013 04:18:24 +0000 (00:18 -0400)]
delete dependencies

11 years agoanother typo; all tests pass
Dan Vanderkam [Tue, 15 Oct 2013 04:11:20 +0000 (00:11 -0400)]
another typo; all tests pass

11 years agotypos
Dan Vanderkam [Tue, 15 Oct 2013 04:07:50 +0000 (00:07 -0400)]
typos

11 years agofix up date formatting change
Dan Vanderkam [Tue, 15 Oct 2013 04:06:45 +0000 (00:06 -0400)]
fix up date formatting change

11 years agocopy over lots of changes from "shrink" branch.
Dan Vanderkam [Tue, 15 Oct 2013 04:01:29 +0000 (00:01 -0400)]
copy over lots of changes from "shrink" branch.

11 years agoMerge pull request #278 from danvk/typed-options
Dan Vanderkam [Mon, 14 Oct 2013 21:37:11 +0000 (14:37 -0700)]
Merge pull request #278 from danvk/typed-options

Typed options

11 years agotodo is done datahandler-cleanup
Dan Vanderkam [Mon, 14 Oct 2013 21:18:11 +0000 (17:18 -0400)]
todo is done

11 years ago@protected
Dan Vanderkam [Mon, 14 Oct 2013 21:17:17 +0000 (17:17 -0400)]
@protected

11 years agojsdoc typed-options
Dan Vanderkam [Mon, 14 Oct 2013 03:23:27 +0000 (23:23 -0400)]
jsdoc

11 years agocleanup _calcYNormal
Dan Vanderkam [Mon, 14 Oct 2013 01:52:53 +0000 (21:52 -0400)]
cleanup _calcYNormal

11 years agomove parseFloat_ method around
Dan Vanderkam [Mon, 14 Oct 2013 01:49:48 +0000 (21:49 -0400)]
move parseFloat_ method around

11 years agocopy datahandler changes over from full-closure branch
Dan Vanderkam [Mon, 14 Oct 2013 01:45:26 +0000 (21:45 -0400)]
copy datahandler changes over from full-closure branch

11 years agomove lots of attr_ calls over to typed getOption
Dan Vanderkam [Mon, 14 Oct 2013 01:26:40 +0000 (21:26 -0400)]
move lots of attr_ calls over to typed getOption

11 years agoport some option uses
Dan Vanderkam [Mon, 14 Oct 2013 01:20:36 +0000 (21:20 -0400)]
port some option uses

11 years agoadd get(Type)Option methods
Dan Vanderkam [Mon, 14 Oct 2013 01:13:48 +0000 (21:13 -0400)]
add get(Type)Option methods

11 years agoMerge pull request #271 from danvk/connect-separated-points
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.