dygraphs.git
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 agoMerge pull request #293 from gmadrid/master
Dan Vanderkam [Thu, 13 Feb 2014 20:18:28 +0000 (15:18 -0500)]
Merge pull request #293 from gmadrid/master

Fix for ticks when years are < 100.

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 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 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 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 XSS in labels
Akiyah [Sat, 4 Jan 2014 17:07:25 +0000 (02:07 +0900)]
fix XSS in labels

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 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'

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

10 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.

11 years agoCode comments and indentation fixes. connect-separated-points
Robert Konigsberg [Fri, 27 Sep 2013 14:30:58 +0000 (10:30 -0400)]
Code comments and indentation fixes.

11 years agoadd comment explaining isFinite check
Dan Vanderkam [Fri, 27 Sep 2013 13:32:27 +0000 (09:32 -0400)]
add comment explaining isFinite check

11 years agoFix flaky testCustomBarsWithNegativeValuesInLogScale. DygraphLayout._calcYNormal...
Paul Holden [Fri, 27 Sep 2013 07:35:38 +0000 (08:35 +0100)]
Fix flaky testCustomBarsWithNegativeValuesInLogScale. DygraphLayout._calcYNormal(axis, NaN, logscale) initially returns NaN, but after it gets jitted it starts returning Infinity. Some of the downstream code doesn't handle this eventuality.

11 years agominor cleanup
Dan Vanderkam [Thu, 26 Sep 2013 18:11:14 +0000 (14:11 -0400)]
minor cleanup

11 years agoMerge branch 'master' into 272-value-format-per
Dan Vanderkam [Thu, 26 Sep 2013 18:06:43 +0000 (14:06 -0400)]
Merge branch 'master' into 272-value-format-per

11 years agoAdd jQuery to jsTestDriver.conf (fixes broken tests under JSTD)
Dan Vanderkam [Thu, 26 Sep 2013 18:01:55 +0000 (14:01 -0400)]
Add jQuery to jsTestDriver.conf (fixes broken tests under JSTD)

11 years agoModifying the numericTicks algorithm to include the last 'nice' tick
Sergey [Mon, 16 Sep 2013 21:19:09 +0000 (17:19 -0400)]
Modifying the numericTicks algorithm to include the last 'nice' tick
(either at range end or just past it).

This has the effect of making a (grid lines, axis label) pair always
show up together or not at all. Previously it was possible to get a
label but no gridline at the edge of the chart.

Squashed commit of the following:

commit 32955f836c3c32c11f009ae250cd35682d641e5c
Merge: d3b7c40 0b99641
Author: Dan Vanderkam <danvdk@gmail.com>
Date:   Mon Sep 16 17:18:40 2013 -0400

    Merge branch 'master' of https://github.com/blindmonkey/dygraphs into 269-end-ticks

commit 0b996410efcb7a53315347c8cea38dc225f069ee
Author: Sergey <grabkovsky.s@gmail.com>
Date:   Mon Sep 16 17:08:36 2013 -0400

    Reverting multi-csv

commit 3f72c23c3ebc23adc64dd2605175ff163491d8e2
Author: Sergey <grabkovsky.s@gmail.com>
Date:   Mon Sep 16 17:07:26 2013 -0400

    Changing it so that the right-most X axis tick isn't displayed, and changing the tests to reflect that

commit 3605ec18fb45718dca3dbd3bfb818adb5acc79eb
Author: Sergey <grabkovsky.s@gmail.com>
Date:   Mon Sep 16 16:40:18 2013 -0400

    Reverting whitespace stuff

commit 11959a26e45be3481425f3ba68d78e63730eab4a
Author: Sergey <grabkovsky.s@gmail.com>
Date:   Mon Sep 16 14:43:41 2013 -0400

    Reverting multiple axes old test

commit 4d91af0850a1fa72f693c497ac62e88e35c505eb
Author: Sergey <grabkovsky.s@gmail.com>
Date:   Mon Sep 16 14:42:56 2013 -0400

    Reverting multiple axes test

commit 40b6ea279591df646f10d3ec44f760a20b42cf8a
Author: Sergey <grabkovsky.s@gmail.com>
Date:   Fri Sep 13 14:14:29 2013 -0400

    Changing layout to not layout ticks whose gridline is slightly offscreen.

commit cec9c2857c3c03b14521ccfb4a44bbb4d7163776
Author: Sergey <grabkovsky.s@gmail.com>
Date:   Thu Sep 12 13:26:12 2013 -0400

    Adding tests for the numeric ticker algorithm change.

commit 106c0318cdf6c763a06545cf25f6ef66084cadf7
Author: Sergey <grabkovsky.s@gmail.com>
Date:   Thu Sep 12 12:16:35 2013 -0400

    Changing numericTicks so that it returns the last nice value that might be just outside the axis

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

11 years agoNit comment resolution for pull request 271 (making connectSeparatedPoints per-series...
Robert Konigsberg [Sun, 15 Sep 2013 19:58:06 +0000 (15:58 -0400)]
Nit comment resolution for pull request 271 (making connectSeparatedPoints per-series aware.)

11 years agoAdd comments including the tracking bug for the label format options not used on... value-format-per
Robert Konigsberg [Sun, 15 Sep 2013 15:17:40 +0000 (11:17 -0400)]
Add comments including the tracking bug for the label format options not used on the x-axis formatter.

11 years agoMerge branch 'master' of https://github.com/danvk/dygraphs into connect-separated...
Robert Konigsberg [Sun, 15 Sep 2013 15:13:14 +0000 (11:13 -0400)]
Merge branch 'master' of https://github.com/danvk/dygraphs into connect-separated-points

11 years agoMerge pull request #270 from danvk/issue-126
Dan Vanderkam [Sun, 15 Sep 2013 15:05:45 +0000 (08:05 -0700)]
Merge pull request #270 from danvk/issue-126

Add drawAxis option, deprecating drawXAxis and drawYAxis. Added tests for that that and drawGrid.

11 years agoAdd tests for labelsKMB, labelsKMG2, sigFigs, digitsAfterDecimal and maxNumberWidth
Robert Konigsberg [Sun, 15 Sep 2013 14:01:53 +0000 (10:01 -0400)]
Add tests for labelsKMB, labelsKMG2, sigFigs, digitsAfterDecimal and maxNumberWidth

11 years agoMake connectSeparatedPoints a per-series option. Add automated test and visual test.
Robert Konigsberg [Sun, 15 Sep 2013 04:44:06 +0000 (00:44 -0400)]
Make connectSeparatedPoints a per-series option. Add automated test and visual test.

11 years agoAdd method to auto tests' proxy to clear the call list for better testing.
Robert Konigsberg [Sun, 15 Sep 2013 04:42:17 +0000 (00:42 -0400)]
Add method to auto tests' proxy to clear the call list for better testing.

11 years agoMake it easier to set breakpoints while testing CanvasAssertions.numLinesDrawn.
Robert Konigsberg [Sun, 15 Sep 2013 04:41:49 +0000 (00:41 -0400)]
Make it easier to set breakpoints while testing CanvasAssertions.numLinesDrawn.

11 years agoAdd jsdoc to setVisibility.
Robert Konigsberg [Fri, 13 Sep 2013 23:39:48 +0000 (19:39 -0400)]
Add jsdoc to setVisibility.

11 years agoAdd drawAxis option, deprecating drawXAxis and drawYAxis. Added tests for that and... issue-126
Robert Konigsberg [Fri, 13 Sep 2013 22:16:33 +0000 (18:16 -0400)]
Add drawAxis option, deprecating drawXAxis and drawYAxis. Added tests for that and drawGrid.

11 years agoMerge pull request #268 from danvk/color-option
Dan Vanderkam [Fri, 13 Sep 2013 00:36:38 +0000 (17:36 -0700)]
Merge pull request #268 from danvk/color-option

Add per-series 'color' option. Fixes issue 263

11 years agoWhoops, remove now-invalid code in setColors_. color-option
Robert Konigsberg [Thu, 12 Sep 2013 17:15:05 +0000 (13:15 -0400)]
Whoops, remove now-invalid code in setColors_.

11 years agoWhoops, bad documentation for the new color option.
Robert Konigsberg [Thu, 12 Sep 2013 17:14:17 +0000 (13:14 -0400)]
Whoops, bad documentation for the new color option.

11 years agoAdd per-series 'color' option.
Robert Konigsberg [Thu, 12 Sep 2013 14:31:24 +0000 (10:31 -0400)]
Add per-series 'color' option.

11 years agosuggest merge command in release.sh
Dan Vanderkam [Thu, 29 Aug 2013 23:17:42 +0000 (19:17 -0400)]
suggest merge command in release.sh

11 years agosmall updates to release.sh script
Dan Vanderkam [Thu, 29 Aug 2013 22:58:37 +0000 (18:58 -0400)]
small updates to release.sh script

11 years agoMerge branch 'release-1.0.1'
Dan Vanderkam [Thu, 29 Aug 2013 22:55:05 +0000 (18:55 -0400)]
Merge branch 'release-1.0.1'

11 years agoupdate release.sh script to do releases on "releases" branch. release-1.0.1
Dan Vanderkam [Thu, 29 Aug 2013 22:54:54 +0000 (18:54 -0400)]
update release.sh script to do releases on "releases" branch.

11 years agoMerge branch 'release-1.0.1'
Dan Vanderkam [Thu, 29 Aug 2013 22:43:53 +0000 (18:43 -0400)]
Merge branch 'release-1.0.1'

11 years agolink to new version history page
Dan Vanderkam [Thu, 29 Aug 2013 22:43:42 +0000 (18:43 -0400)]
link to new version history page

11 years agoadd a version history page
Dan Vanderkam [Thu, 29 Aug 2013 22:39:26 +0000 (18:39 -0400)]
add a version history page

11 years agoMerge branch 'release-1.0.1'
Dan Vanderkam [Thu, 29 Aug 2013 20:34:26 +0000 (16:34 -0400)]
Merge branch 'release-1.0.1'

11 years agoMake testChartLogarithmic a true regression test for issue 454
Dan Vanderkam [Thu, 29 Aug 2013 20:33:57 +0000 (16:33 -0400)]
Make testChartLogarithmic a true regression test for issue 454

11 years agoFix for issue with log scale and toDataYCoord.
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

11 years agoremove the (very) old DateGraph symbol
Dan Vanderkam [Thu, 29 Aug 2013 03:40:03 +0000 (23:40 -0400)]
remove the (very) old DateGraph symbol

11 years agoMerge branch 'release-1.0.1'
Dan Vanderkam [Thu, 29 Aug 2013 02:33:25 +0000 (22:33 -0400)]
Merge branch 'release-1.0.1'

11 years agofix for obscured headers on options.html#xyz
Dan Vanderkam [Thu, 29 Aug 2013 02:31:45 +0000 (22:31 -0400)]
fix for obscured headers on options.html#xyz

11 years agobump version to 1.0.1
Dan Vanderkam [Thu, 29 Aug 2013 02:22:29 +0000 (22:22 -0400)]
bump version to 1.0.1

11 years agoCleanup from DataHandler change.
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.

11 years agoDatahandler and Unified Data Format
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.

11 years agopush tags when doing a release
Dan Vanderkam [Wed, 14 Aug 2013 16:16:08 +0000 (12:16 -0400)]
push tags when doing a release