dygraphs.git
14 years agoadd resize_lock, which fixes a bug in chrome
Dan Vanderkam [Fri, 23 Apr 2010 19:20:53 +0000 (12:20 -0700)]
add resize_lock, which fixes a bug in chrome

14 years agoinclude 0 in series data
Adam Bozanich [Wed, 21 Apr 2010 09:08:40 +0000 (02:08 -0700)]
include 0 in series data

14 years agoset -x in push-to-web
Dan Vanderkam [Tue, 20 Apr 2010 00:12:50 +0000 (17:12 -0700)]
set -x in push-to-web

14 years agocontinue docs
Dan Vanderkam [Tue, 20 Apr 2010 00:12:35 +0000 (17:12 -0700)]
continue docs

14 years agoMerge branch 'master' of github.com:danvk/dygraphs
Dan Vanderkam [Mon, 19 Apr 2010 22:42:53 +0000 (15:42 -0700)]
Merge branch 'master' of github.com:danvk/dygraphs

14 years agopush-to-web.sh
Dan Vanderkam [Mon, 19 Apr 2010 22:42:31 +0000 (15:42 -0700)]
push-to-web.sh

14 years agostart data.html
Dan Vanderkam [Mon, 19 Apr 2010 22:41:41 +0000 (15:41 -0700)]
start data.html

14 years agolink to new underlay callback test
Dan Vanderkam [Mon, 19 Apr 2010 22:41:33 +0000 (15:41 -0700)]
link to new underlay callback test

14 years agoadd another underlay callback parameter, plus a nicer demo
Dan Vanderkam [Tue, 13 Apr 2010 21:40:12 +0000 (14:40 -0700)]
add another underlay callback parameter, plus a nicer demo

14 years agoAdd GWT Dygraphs loader class and supporting files.
Adam Vartanian [Fri, 9 Apr 2010 18:45:04 +0000 (14:45 -0400)]
Add GWT Dygraphs loader class and supporting files.

14 years agofix a small bug which appeared when a series had a min/max of zero
Dan Vanderkam [Tue, 6 Apr 2010 17:13:54 +0000 (10:13 -0700)]
fix a small bug which appeared when a series had a min/max of zero

14 years agouncover a bug in a test case
Dan Vanderkam [Tue, 6 Apr 2010 17:11:14 +0000 (10:11 -0700)]
uncover a bug in a test case

14 years agoAdd unhighlightCallback option, with documentation.
Adam Vartanian [Tue, 30 Mar 2010 15:13:30 +0000 (11:13 -0400)]
Add unhighlightCallback option, with documentation.

14 years agoProperly format timestamps at 00:00:00 with non-zero milliseconds on x axis.
Adam Vartanian [Wed, 24 Mar 2010 22:20:49 +0000 (18:20 -0400)]
Properly format timestamps at 00:00:00 with non-zero milliseconds on x axis.

Update docs for X axis formatting.

14 years agoAdd ability to specify the formatter used for the x axis.
Adam Vartanian [Wed, 24 Mar 2010 20:36:04 +0000 (16:36 -0400)]
Add ability to specify the formatter used for the x axis.

Combine code that does x axis formatting into a single function.

14 years agoMerge branch 'master' of github.com:danvk/dygraphs
Dan Vanderkam [Tue, 23 Mar 2010 17:27:25 +0000 (10:27 -0700)]
Merge branch 'master' of github.com:danvk/dygraphs

14 years agocall out the "developer options reference"
Dan Vanderkam [Tue, 23 Mar 2010 14:08:59 +0000 (07:08 -0700)]
call out the "developer options reference"

14 years agolinkify
Dan Vanderkam [Tue, 23 Mar 2010 14:05:32 +0000 (07:05 -0700)]
linkify

14 years agodocument some more options
Dan Vanderkam [Tue, 23 Mar 2010 14:05:22 +0000 (07:05 -0700)]
document some more options

14 years agocss tweak
Dan Vanderkam [Tue, 23 Mar 2010 13:45:39 +0000 (06:45 -0700)]
css tweak

14 years agolinkify
Dan Vanderkam [Tue, 23 Mar 2010 13:44:14 +0000 (06:44 -0700)]
linkify

14 years agotests divs
Dan Vanderkam [Tue, 23 Mar 2010 13:41:47 +0000 (06:41 -0700)]
tests divs

14 years agoadd test references to docs
Dan Vanderkam [Tue, 23 Mar 2010 13:33:28 +0000 (06:33 -0700)]
add test references to docs

14 years agoStop including dygraph-combined.js in tests
Dan Vanderkam [Tue, 23 Mar 2010 12:25:16 +0000 (05:25 -0700)]
Stop including dygraph-combined.js in tests

14 years agoupdate description of combined
Dan Vanderkam [Mon, 22 Mar 2010 20:48:04 +0000 (13:48 -0700)]
update description of combined

14 years agoAdded a makefile for running the generate-combined.sh script. The Makefile serves...
Dean Wampler [Mon, 22 Mar 2010 20:04:29 +0000 (15:04 -0500)]
Added a makefile for running the generate-combined.sh script. The Makefile serves as a clue to new users that a "build" is first required before using local copies of the JS files.

14 years agopush() is cheaper than unshift(). Refactor to separate the stacked case from
Nikhil Kasinadhuni [Thu, 11 Mar 2010 18:46:02 +0000 (10:46 -0800)]
push() is cheaper than unshift(). Refactor to separate the stacked case from
the normal case in determining the list of hovered points.

14 years agoGet the color alternating logic right.
Nikhil Kasinadhuni [Thu, 11 Mar 2010 03:19:09 +0000 (19:19 -0800)]
Get the color alternating logic right.

14 years agoMerge branch 'master' of git://github.com/danvk/dygraphs
Nikhil Kasinadhuni [Thu, 11 Mar 2010 01:14:40 +0000 (17:14 -0800)]
Merge branch 'master' of git://github.com/danvk/dygraphs

Conflicts:
dygraph.js

14 years agoFixed a bug with generating points for stackedGraph.
Nikhil Kasinadhuni [Thu, 11 Mar 2010 01:10:06 +0000 (17:10 -0800)]
Fixed a bug with generating points for stackedGraph.

14 years agosome tweaks to knikhil's change
Dan Vanderkam [Thu, 11 Mar 2010 00:30:18 +0000 (16:30 -0800)]
some tweaks to knikhil's change

14 years agoupdate for= in callback
Dan Vanderkam [Thu, 11 Mar 2010 00:21:02 +0000 (16:21 -0800)]
update for= in callback

14 years agoundo changes to dygraph-combined.js
Dan Vanderkam [Thu, 11 Mar 2010 00:19:39 +0000 (16:19 -0800)]
undo changes to dygraph-combined.js

14 years agoMerge remote branch 'danvk/master'
Nikhil Kasinadhuni [Thu, 11 Mar 2010 00:10:44 +0000 (16:10 -0800)]
Merge remote branch 'danvk/master'

Conflicts:
dygraph-combined.js
dygraph.js

14 years agoAdded tests for yValueFormatter and showLabelsOnHighlight. s/staticLabels/showLabelsO...
Nikhil Kasinadhuni [Wed, 10 Mar 2010 22:19:33 +0000 (14:19 -0800)]
Added tests for yValueFormatter and showLabelsOnHighlight. s/staticLabels/showLabelsOnHighlight/g

14 years agoAdd test for stacked graph.
Nikhil Kasinadhuni [Wed, 10 Mar 2010 07:06:13 +0000 (23:06 -0800)]
Add test for stacked graph.
'Unstack' the data points when displaying the data either in the labels or in a
callback for a stacked graph.
Accept a 'yValueFormatter' attribute which can be pointed to a function to
perform custom formatting. Ideally, the formatted value should be passed into the
a 'f' attribute in a GViz datatable.

14 years agoMerge branch 'master' of git://github.com/flooey/dygraphs
Dan Vanderkam [Mon, 8 Mar 2010 23:17:34 +0000 (15:17 -0800)]
Merge branch 'master' of git://github.com/flooey/dygraphs

14 years agoundo changes to dygraph-combined
Dan Vanderkam [Mon, 8 Mar 2010 22:30:33 +0000 (14:30 -0800)]
undo changes to dygraph-combined

14 years agodocument test, add reference
Dan Vanderkam [Mon, 8 Mar 2010 22:28:47 +0000 (14:28 -0800)]
document test, add reference

14 years agoadd live updates test
Dan Vanderkam [Mon, 8 Mar 2010 22:25:06 +0000 (14:25 -0800)]
add live updates test

14 years agoFix bugs in connectSeparatedPoints implementation. Add test.
Adam Vartanian [Mon, 8 Mar 2010 20:44:06 +0000 (15:44 -0500)]
Fix bugs in connectSeparatedPoints implementation.  Add test.

14 years agorename test
Dan Vanderkam [Fri, 5 Mar 2010 20:34:58 +0000 (12:34 -0800)]
rename test

14 years agocleanup
Dan Vanderkam [Fri, 5 Mar 2010 20:34:45 +0000 (12:34 -0800)]
cleanup

14 years agoAdded test
Yaroslav Korshak [Fri, 5 Mar 2010 09:47:21 +0000 (11:47 +0200)]
Added test

14 years agoAdded test fot reversing and made some cleanup
Yaroslav Korshak [Fri, 5 Mar 2010 09:46:01 +0000 (11:46 +0200)]
Added test fot reversing and made some cleanup

14 years agoAdd connectSeparatedPoints option to ignore points with no value.
Adam Vartanian [Thu, 4 Mar 2010 19:45:50 +0000 (14:45 -0500)]
Add connectSeparatedPoints option to ignore points with no value.
Created color-by-name map to look up colors, since not all datasets have a
point at each timestamp, so we can no longer rely on dataset index.

14 years agoLittle trick that allows reversing Y axis with valueRange: [300, 0]
Yaroslav Korshak [Thu, 4 Mar 2010 09:56:47 +0000 (11:56 +0200)]
Little trick that allows reversing Y axis with valueRange: [300, 0]

14 years agoclean up gviz selection test
Dan Vanderkam [Tue, 2 Mar 2010 19:20:44 +0000 (11:20 -0800)]
clean up gviz selection test

14 years agoGviz-compatibility test added
Nagy Attila Gabor [Tue, 2 Mar 2010 10:25:42 +0000 (11:25 +0100)]
Gviz-compatibility test added

14 years agoFixed bug when graph is zoomed
Nagy Attila Gabor [Thu, 25 Feb 2010 21:39:30 +0000 (22:39 +0100)]
Fixed bug when graph is zoomed

14 years agoGoogle Visualization API compatible getSelection() method
Nagy Attila Gabor [Wed, 24 Feb 2010 21:22:44 +0000 (22:22 +0100)]
Google Visualization API compatible getSelection() method

 - bugs: returns incorrect data is datasource is unsorted

14 years agoSupport for Google Visualization API compatible setSelection method
Nagy Attila Gabor [Wed, 24 Feb 2010 21:22:09 +0000 (22:22 +0100)]
Support for Google Visualization API compatible setSelection method

 - Only column selection is supported
 - bugs: may works incorrectly if source data is unsorted

14 years agocheck in the new commit hooks
Dan Vanderkam [Tue, 23 Feb 2010 04:11:01 +0000 (20:11 -0800)]
check in the new commit hooks

14 years agoremove dygraph-combined.js; it's now generated by a commit hook
Dan Vanderkam [Tue, 23 Feb 2010 03:57:38 +0000 (19:57 -0800)]
remove dygraph-combined.js; it's now generated by a commit hook

14 years agoremove mochikit entirely
Dan Vanderkam [Tue, 23 Feb 2010 02:33:04 +0000 (18:33 -0800)]
remove mochikit entirely

14 years agoupdate combined
Dan Vanderkam [Sat, 20 Feb 2010 03:37:31 +0000 (19:37 -0800)]
update combined

14 years agooverdrawing with error bars
Dan Vanderkam [Sat, 20 Feb 2010 03:37:12 +0000 (19:37 -0800)]
overdrawing with error bars

14 years agofix bug in toDomCoords
Dan Vanderkam [Sat, 20 Feb 2010 02:58:50 +0000 (18:58 -0800)]
fix bug in toDomCoords

14 years agoadd new coordinate conversion functions
Dan Vanderkam [Sat, 20 Feb 2010 02:56:30 +0000 (18:56 -0800)]
add new coordinate conversion functions

14 years agoprune to visible range, plus one point on either side (for overdrawing)
Dan Vanderkam [Sat, 20 Feb 2010 02:17:19 +0000 (18:17 -0800)]
prune to visible range, plus one point on either side (for overdrawing)

14 years agofix bug in dateWindow test
Dan Vanderkam [Sat, 20 Feb 2010 01:59:17 +0000 (17:59 -0800)]
fix bug in dateWindow test

14 years agoJS is not C++
Dan Vanderkam [Sat, 20 Feb 2010 01:57:54 +0000 (17:57 -0800)]
JS is not C++

14 years agocatch NaN dates like new Date("2009/10/00") in parseArray_
Dan Vanderkam [Sat, 20 Feb 2010 01:57:34 +0000 (17:57 -0800)]
catch NaN dates like new Date("2009/10/00") in parseArray_

14 years agoMerge commit '9ac5e4aea125e706201c61b0ccb13a2cafe5618f' into clipping
Dan Vanderkam [Sat, 20 Feb 2010 01:42:44 +0000 (17:42 -0800)]
Merge commit '9ac5e4aea125e706201c61b0ccb13a2cafe5618f' into clipping

14 years agoset clipping rectangles
Dan Vanderkam [Sat, 20 Feb 2010 01:38:54 +0000 (17:38 -0800)]
set clipping rectangles

14 years agoremove commented-out code
Dan Vanderkam [Fri, 19 Feb 2010 18:19:37 +0000 (10:19 -0800)]
remove commented-out code

14 years agoAdd support for custom underlay drawing
Eoin Curran [Fri, 19 Feb 2010 15:35:54 +0000 (15:35 +0000)]
Add support for custom underlay drawing

14 years agoupdate combined
Dan Vanderkam [Fri, 19 Feb 2010 07:49:06 +0000 (23:49 -0800)]
update combined

14 years agoadd a destroy() method
Dan Vanderkam [Fri, 19 Feb 2010 07:48:50 +0000 (23:48 -0800)]
add a destroy() method

14 years agomerge
Dan Vanderkam [Tue, 16 Feb 2010 20:48:14 +0000 (12:48 -0800)]
merge

14 years agofix some bugs that were breaking IE
Dan Vanderkam [Tue, 16 Feb 2010 20:47:11 +0000 (12:47 -0800)]
fix some bugs that were breaking IE

14 years agoadd a second parameter (initial) to drawCallback
Dan Vanderkam [Fri, 12 Feb 2010 23:55:29 +0000 (15:55 -0800)]
add a second parameter (initial) to drawCallback

14 years agosynchronize demo
Dan Vanderkam [Thu, 11 Feb 2010 16:16:45 +0000 (08:16 -0800)]
synchronize demo

14 years agonotes; stop clipping
Dan Vanderkam [Wed, 10 Feb 2010 17:55:00 +0000 (09:55 -0800)]
notes; stop clipping

14 years agoParse dates like "2009-7-12" correctly (patch from MarkSwanson)
Dan Vanderkam [Mon, 8 Feb 2010 23:00:38 +0000 (15:00 -0800)]
Parse dates like "2009-7-12" correctly (patch from MarkSwanson)

14 years agoupdate combined
Dan Vanderkam [Mon, 8 Feb 2010 22:45:56 +0000 (14:45 -0800)]
update combined

14 years agosimplify logic
Dan Vanderkam [Mon, 8 Feb 2010 22:45:47 +0000 (14:45 -0800)]
simplify logic

14 years agopad exact hours with :00
Evan Klitzke [Mon, 8 Feb 2010 08:09:39 +0000 (00:09 -0800)]
pad exact hours with :00

14 years agominor tweaks post-merge
Dan Vanderkam [Fri, 5 Feb 2010 17:51:29 +0000 (09:51 -0800)]
minor tweaks post-merge

14 years agomerge in nikhil's changes
Dan Vanderkam [Fri, 5 Feb 2010 17:45:08 +0000 (09:45 -0800)]
merge in nikhil's changes

14 years agoMerged stacked graph support from iownbey's version and added assorted
Nikhil Kasinadhuni [Fri, 5 Feb 2010 17:03:43 +0000 (09:03 -0800)]
Merged stacked graph support from iownbey's version and added assorted
fixes to 'unstack' them when calling the highlightCallback.

Added an option to not hide the label on mouse out.

Alternate the list of auto-generated colors since adjacent colors
are difficult to distinguish. A better way would be to randomize them with a
constant seed, but alas, Javascript's Math.random() doesn't accept a seed.

Added a getColors() accessor method to help an external labelsDiv
obtain the list of [auto-generated] colors.

14 years agochange for Safari suggested by bearlanding
Dan Vanderkam [Fri, 5 Feb 2010 05:51:55 +0000 (21:51 -0800)]
change for Safari suggested by bearlanding

14 years agoupdate combined
Dan Vanderkam [Fri, 5 Feb 2010 05:40:15 +0000 (21:40 -0800)]
update combined

14 years agohighlight callback only when selected point changes
Dan Vanderkam [Fri, 5 Feb 2010 05:36:21 +0000 (21:36 -0800)]
highlight callback only when selected point changes

14 years agoupdate combined
Dan Vanderkam [Wed, 3 Feb 2010 17:59:45 +0000 (09:59 -0800)]
update combined

14 years agoadd xAxisRange and a few tests
Dan Vanderkam [Wed, 3 Feb 2010 17:59:28 +0000 (09:59 -0800)]
add xAxisRange and a few tests

14 years agoupdate combined
Dan Vanderkam [Sun, 31 Jan 2010 05:10:50 +0000 (21:10 -0800)]
update combined

14 years agofix a bug involving calculation of span w/r/t/ includeZero
Dan Vanderkam [Sun, 31 Jan 2010 05:10:28 +0000 (21:10 -0800)]
fix a bug involving calculation of span w/r/t/ includeZero

14 years agoupdate combiend
Dan Vanderkam [Sun, 31 Jan 2010 03:41:20 +0000 (19:41 -0800)]
update combiend

14 years agoFix Kenny's numeric gviz bug and add a test
Dan Vanderkam [Sun, 31 Jan 2010 03:41:08 +0000 (19:41 -0800)]
Fix Kenny's numeric gviz bug and add a test

14 years agoadd includeZero test to no-range
Dan Vanderkam [Thu, 28 Jan 2010 20:04:14 +0000 (12:04 -0800)]
add includeZero test to no-range

14 years agoupdate combined
Dan Vanderkam [Tue, 26 Jan 2010 09:06:17 +0000 (01:06 -0800)]
update combined

14 years agoFix issue 67 and add a test
Dan Vanderkam [Tue, 26 Jan 2010 09:06:07 +0000 (01:06 -0800)]
Fix issue 67 and add a test

14 years agoupdate combined
Dan Vanderkam [Tue, 26 Jan 2010 08:51:08 +0000 (00:51 -0800)]
update combined

14 years agoFix issue #65
Dan Vanderkam [Tue, 26 Jan 2010 08:50:55 +0000 (00:50 -0800)]
Fix issue #65

14 years agoupdate combined
Dan Vanderkam [Wed, 13 Jan 2010 18:29:16 +0000 (10:29 -0800)]
update combined

14 years agoout of order test
Dan Vanderkam [Wed, 13 Jan 2010 18:28:58 +0000 (10:28 -0800)]
out of order test

14 years agosort data if it's out of order (but log a warning)
Dan Vanderkam [Wed, 13 Jan 2010 18:28:47 +0000 (10:28 -0800)]
sort data if it's out of order (but log a warning)

14 years agoAllow width/height to be specified as a % and as an attribute. Handle datetime proper...
potter [Tue, 12 Jan 2010 21:49:22 +0000 (13:49 -0800)]
Allow width/height to be specified as a % and as an attribute. Handle datetime properly for gviz dygraphs.

14 years agoFix typo spotted by Morgan
Dan Vanderkam [Wed, 30 Dec 2009 05:51:23 +0000 (21:51 -0800)]
Fix typo spotted by Morgan