dygraphs.git
13 years agofile-level comment in interaction.js
Robert Konigsberg [Wed, 12 Jan 2011 18:12:55 +0000 (10:12 -0800)]
file-level comment in interaction.js

13 years agoSwapping the smart scroll awareness for a dumber, better, one.
Robert Konigsberg [Wed, 12 Jan 2011 18:10:05 +0000 (10:10 -0800)]
Swapping the smart scroll awareness for a dumber, better, one.

13 years agoAdded isZoomed description in index.html.
Neal Nelson [Tue, 11 Jan 2011 16:25:04 +0000 (17:25 +0100)]
Added isZoomed description in index.html.

13 years agoAdded setting of zoom flags when dateWindow and valueRange updated.
Neal Nelson [Tue, 11 Jan 2011 15:19:58 +0000 (16:19 +0100)]
Added setting of zoom flags when dateWindow and valueRange updated.

13 years agoMerge branch 'master' of http://github.com/danvk/dygraphs
Neal Nelson [Tue, 11 Jan 2011 13:54:51 +0000 (14:54 +0100)]
Merge branch 'master' of github.com/danvk/dygraphs

Conflicts:
tests/zoom.html

13 years agoFix major bug introduced by my significant figures change.
Jeremy Brewer [Mon, 10 Jan 2011 18:25:57 +0000 (13:25 -0500)]
Fix major bug introduced by my significant figures change.

* Fix bug in addXTicks_() for non-numeric data.
* Rename defaultFormat to floatFormat and add intFormat function.  Update the
  test to use the new names.
* Small 80-char formatting fix.

13 years agoManual fix of merge issues. Somehow git clobbered some but not all of my
Jeremy Brewer [Fri, 7 Jan 2011 20:40:06 +0000 (15:40 -0500)]
Manual fix of merge issues.  Somehow git clobbered some but not all of my
changes when pulling from the main dygraphs repo, making a revert or diff
between commits difficult.  So I manually fixed the changes.  Ugh.

13 years agoCleanup of previous commit which included some extraneous lefovers from
Jeremy Brewer [Fri, 7 Jan 2011 17:40:55 +0000 (12:40 -0500)]
Cleanup of previous commit which included some extraneous lefovers from
the merge.

* Implement %g like formatting in JavaScript.
* Implement related tests for floating point formatting.

13 years agoMerge branch 'master' of https://github.com/danvk/dygraphs
Jeremy Brewer [Fri, 7 Jan 2011 17:14:30 +0000 (12:14 -0500)]
Merge branch 'master' of https://github.com/danvk/dygraphs

Conflicts:
dygraph.js
tests/significant-figures.html

13 years agoConverted log scaled graphs from log(e) to log(10)
Robert Konigsberg [Tue, 4 Jan 2011 16:00:50 +0000 (11:00 -0500)]
Converted log scaled graphs from log(e) to log(10)

13 years agoLog scale support. Here's what currently works:
Robert Konigsberg [Thu, 30 Dec 2010 07:20:44 +0000 (23:20 -0800)]
Log scale support. Here's what currently works:

* Drawing to scale
* Drawing axes ticks to scale
* Zooming to scale

This required spltting out lots of functions, and encouraging the split
of toDomCoords, toDataCoords, also introduced toDomYPercentage.

Panning along the y axis seems to not work but I'm committing.

13 years agoWasn't supposed to go in this branch.
Robert Konigsberg [Wed, 29 Dec 2010 22:01:30 +0000 (14:01 -0800)]
Wasn't supposed to go in this branch.

13 years agoSet up test file for logscale
Robert Konigsberg [Wed, 29 Dec 2010 22:00:33 +0000 (14:00 -0800)]
Set up test file for logscale

13 years agoMerge branch 'master' of git://github.com/danvk/dygraphs
Robert Konigsberg [Wed, 29 Dec 2010 21:47:34 +0000 (13:47 -0800)]
Merge branch 'master' of git://github.com/danvk/dygraphs

13 years agoInteraction model demo: Clever hack -- now when scrolling down the page,
Robert Konigsberg [Wed, 29 Dec 2010 21:39:29 +0000 (13:39 -0800)]
Interaction model demo: Clever hack -- now when scrolling down the page,
the dygraph will not zoom when you scroll past it, unless you pause or
perform a non-scroll mouse event.

13 years agoGah, fixed spacing in interaction.js
Robert Konigsberg [Thu, 23 Dec 2010 06:38:39 +0000 (22:38 -0800)]
Gah, fixed spacing in interaction.js

13 years agoFix zooming in interaction.js so it focuses on the point where the mouse cursor is.
Robert Konigsberg [Thu, 23 Dec 2010 06:19:29 +0000 (22:19 -0800)]
Fix zooming in interaction.js so it focuses on the point where the mouse cursor is.

13 years agoRename unzoomGraph, remove commented-out code.
Robert Konigsberg [Thu, 23 Dec 2010 00:01:33 +0000 (16:01 -0800)]
Rename unzoomGraph, remove commented-out code.

13 years agoMove most of the interaction javascript to a .js file.
Robert Konigsberg [Wed, 22 Dec 2010 23:59:37 +0000 (15:59 -0800)]
Move most of the interaction javascript to a .js file.

13 years agoPanning is always allowed, even if you're not zoomed.
Robert Konigsberg [Wed, 22 Dec 2010 22:29:47 +0000 (14:29 -0800)]
Panning is always allowed, even if you're not zoomed.

13 years agointeraction.html's zoom was off. Zooming in and zooming out weren't
Robert Konigsberg [Wed, 22 Dec 2010 22:25:26 +0000 (14:25 -0800)]
interaction.html's zoom was off. Zooming in and zooming out weren't
matching 1:1.

The rest of it is whitespace cleansing.

13 years agoMerge branch 'master' of github.com:danvk/dygraphs
Dan Vanderkam [Tue, 21 Dec 2010 22:30:04 +0000 (17:30 -0500)]
Merge branch 'master' of github.com:danvk/dygraphs

13 years agocentury scale test
Dan Vanderkam [Tue, 21 Dec 2010 22:30:00 +0000 (17:30 -0500)]
century scale test

13 years agoRevert "Change intended to improve dygraphs rendering of y-values with tiny values...
Dan Vanderkam [Tue, 21 Dec 2010 22:28:36 +0000 (17:28 -0500)]
Revert "Change intended to improve dygraphs rendering of y-values with tiny values (e.g."

This reverts commit 3c1d225b3097891e863631bdb3b81a1250a5cce4.

(this was being reviewed, was not intended to be pulled)

13 years agoMerge branch 'master' of https://github.com/danvk/dygraphs
Jeremy Brewer [Tue, 21 Dec 2010 22:27:17 +0000 (17:27 -0500)]
Merge branch 'master' of https://github.com/danvk/dygraphs

13 years agofix sp
Dan Vanderkam [Tue, 21 Dec 2010 22:18:00 +0000 (17:18 -0500)]
fix sp

13 years agoMore significant figures CL cleanup.
Jeremy Brewer [Tue, 21 Dec 2010 21:55:05 +0000 (16:55 -0500)]
More significant figures CL cleanup.

* Keep track of x and y axis digits of precision separately.
* Clean up code for computing x ticks to be clearer.
* Update test to use numeric x values.

13 years agoChanges based on code review for significantFigures.
Jeremy Brewer [Tue, 21 Dec 2010 20:26:34 +0000 (15:26 -0500)]
Changes based on code review for significantFigures.

13 years agoMerge branch 'master' of https://github.com/jeremybrewer/dygraphs
Dan Vanderkam [Tue, 21 Dec 2010 19:46:05 +0000 (14:46 -0500)]
Merge branch 'master' of https://github.com/jeremybrewer/dygraphs

13 years agomake the issue more obvious
Dan Vanderkam [Tue, 21 Dec 2010 19:05:13 +0000 (14:05 -0500)]
make the issue more obvious

13 years agoadd dst test
Dan Vanderkam [Tue, 21 Dec 2010 19:03:12 +0000 (14:03 -0500)]
add dst test

13 years agoMerge branch 'master' of https://github.com/kberg/dygraphs
Dan Vanderkam [Tue, 21 Dec 2010 18:46:40 +0000 (13:46 -0500)]
Merge branch 'master' of https://github.com/kberg/dygraphs

13 years agoworks with century-scale data
Dan Vanderkam [Tue, 21 Dec 2010 18:40:48 +0000 (13:40 -0500)]
works with century-scale data

13 years agoMade v3 interaction model slightly more powerful. (shift-operate to
Robert Konigsberg [Mon, 20 Dec 2010 23:09:52 +0000 (15:09 -0800)]
Made v3 interaction model slightly more powerful. (shift-operate to
zoom)

13 years agoMerge branch 'master' of git://github.com/danvk/dygraphs
Robert Konigsberg [Mon, 20 Dec 2010 23:04:48 +0000 (15:04 -0800)]
Merge branch 'master' of git://github.com/danvk/dygraphs

13 years agoChange intended to improve dygraphs rendering of y-values with tiny values (e.g.
Jeremy Brewer [Mon, 20 Dec 2010 22:33:14 +0000 (17:33 -0500)]
Change intended to improve dygraphs rendering of y-values with tiny values (e.g.
1.0e-7).

* Wrote significantFigures() function for estimating # of significant figures.

* Updated numericTicks() to use significantFigures() to determine how to format
  the y-axis labels.  Altered the return value to include both the ticks and the
  number of sig figs.  Propogated changes to all callers of numericTicks().

* Store result of significantFigures in current dygraphs object and re-use when
  formatting y-values on the legend.  We actually use # sig figs + 1 here
  because we want the y-values to have more precision than the labels; the +1
  gives us gradations in tenths between each tick which should be reasonable.

* Wrote tests/significant-figures.html for checking corner cases of sig figs
  code and rendering with default options.

13 years agoTab removal
Robert Konigsberg [Fri, 17 Dec 2010 15:23:55 +0000 (07:23 -0800)]
Tab removal

13 years agomisc style cleanup
Dan Vanderkam [Wed, 15 Dec 2010 23:34:01 +0000 (18:34 -0500)]
misc style cleanup

13 years agoMerge https://github.com/kberg/dygraphs
Dan Vanderkam [Wed, 15 Dec 2010 23:30:29 +0000 (18:30 -0500)]
Merge https://github.com/kberg/dygraphs

13 years agoSimplified bindHandler
Robert Konigsberg [Wed, 15 Dec 2010 23:15:43 +0000 (18:15 -0500)]
Simplified bindHandler

13 years agoFurther comments from danvk.
Robert Konigsberg [Wed, 15 Dec 2010 23:13:55 +0000 (18:13 -0500)]
Further comments from danvk.

13 years agoResponse to code review comments, added missing interaction.html.
Robert Konigsberg [Wed, 15 Dec 2010 19:24:40 +0000 (14:24 -0500)]
Response to code review comments, added missing interaction.html.

13 years agoReducing the size of the interaction model API.
Robert Konigsberg [Tue, 14 Dec 2010 21:40:53 +0000 (16:40 -0500)]
Reducing the size of the interaction model API.

13 years agoIntroduce interaction model API.
Robert Konigsberg [Tue, 14 Dec 2010 21:35:08 +0000 (16:35 -0500)]
Introduce interaction model API.

13 years agoguide to making changes
Dan Vanderkam [Tue, 14 Dec 2010 16:22:49 +0000 (11:22 -0500)]
guide to making changes

13 years agoMerge branch 'master' of http://github.com/danvk/dygraphs
Neal Nelson [Tue, 7 Dec 2010 13:37:49 +0000 (14:37 +0100)]
Merge branch 'master' of github.com/danvk/dygraphs

Conflicts:
tests/zoom.html

13 years agoupdate locations
Dan Vanderkam [Mon, 29 Nov 2010 22:30:47 +0000 (17:30 -0500)]
update locations

13 years agoSyntax error, plus used correct function for y axis ranges.
Robert Konigsberg [Mon, 29 Nov 2010 22:20:45 +0000 (17:20 -0500)]
Syntax error, plus used correct function for y axis ranges.

13 years agoMerge branch 'master' of http://github.com/kberg/dygraphs
Robert Konigsberg [Mon, 29 Nov 2010 22:16:30 +0000 (17:16 -0500)]
Merge branch 'master' of github.com/kberg/dygraphs

Conflicts:
dygraph.js
tests/zoom.html

13 years agoMissing consistent use of getYRanges(). Fixed zoom.html to use yRanges in API.
Robert Konigsberg [Mon, 29 Nov 2010 22:12:29 +0000 (17:12 -0500)]
Missing consistent use of getYRanges(). Fixed zoom.html to use yRanges in API.

13 years agoMerge branch 'master' of https://github.com/kberg/dygraphs
Dan Vanderkam [Mon, 22 Nov 2010 15:49:03 +0000 (10:49 -0500)]
Merge branch 'master' of https://github.com/kberg/dygraphs

13 years agofix infinity bug
Dan Vanderkam [Mon, 22 Nov 2010 15:46:47 +0000 (10:46 -0500)]
fix infinity bug

13 years agoUpdate callback.html to reflect changes to zoomCallback API.
Robert Konigsberg [Sun, 21 Nov 2010 02:28:36 +0000 (21:28 -0500)]
Update callback.html to reflect changes to zoomCallback API.

13 years agofix dygraphs/actually get the callback right.
Robert Konigsberg [Sun, 21 Nov 2010 02:26:39 +0000 (21:26 -0500)]
fix dygraphs/actually get the callback right.

Update documentation.

13 years agoFix reporting error with dygraphs (used to show two min/max, now passes array.)
Robert Konigsberg [Sun, 21 Nov 2010 02:23:28 +0000 (21:23 -0500)]
Fix reporting error with dygraphs (used to show two min/max, now passes array.)

13 years agoMore whitespace changes.
Robert Konigsberg [Sun, 21 Nov 2010 01:42:29 +0000 (20:42 -0500)]
More whitespace changes.

13 years agoRenamed variables for readability
Robert Konigsberg [Sun, 21 Nov 2010 01:40:01 +0000 (20:40 -0500)]
Renamed variables for readability

13 years agoReplacing tabs.
Robert Konigsberg [Sat, 20 Nov 2010 15:00:51 +0000 (10:00 -0500)]
Replacing tabs.

13 years agoChanged zoom flags to isZoomed function.
Neal Nelson [Thu, 18 Nov 2010 10:12:40 +0000 (11:12 +0100)]
Changed zoom flags to isZoomed function.

13 years agoMerge branch 'master' of http://github.com/danvk/dygraphs
Neal Nelson [Thu, 18 Nov 2010 09:59:07 +0000 (10:59 +0100)]
Merge branch 'master' of github.com/danvk/dygraphs

13 years agoFixed whitespace and comments.
Robert Konigsberg [Tue, 16 Nov 2010 20:13:31 +0000 (15:13 -0500)]
Fixed whitespace and comments.

13 years agoAdded a second region for underlay-callback that helps clarify
Robert Konigsberg [Tue, 16 Nov 2010 00:04:39 +0000 (19:04 -0500)]
Added a second region for underlay-callback that helps clarify
toDomCoords.

13 years agofix drawing logic in underlayCallback
Dan Vanderkam [Mon, 15 Nov 2010 16:00:46 +0000 (11:00 -0500)]
fix drawing logic in underlayCallback

13 years agoupdate excanvas
Dan Vanderkam [Thu, 11 Nov 2010 23:15:29 +0000 (18:15 -0500)]
update excanvas

13 years agohack to be more robust in IE when instantiated while the page is still loading
Dan Vanderkam [Thu, 11 Nov 2010 23:14:49 +0000 (18:14 -0500)]
hack to be more robust in IE when instantiated while the page is still loading

13 years agoremove deprecated DateGraph uses
Dan Vanderkam [Thu, 11 Nov 2010 23:11:28 +0000 (18:11 -0500)]
remove deprecated DateGraph uses

13 years agoupdate excanvas paths
Dan Vanderkam [Thu, 11 Nov 2010 23:10:55 +0000 (18:10 -0500)]
update excanvas paths

13 years agobe a little less aggressive in underlayCallback changes
Dan Vanderkam [Wed, 10 Nov 2010 16:38:54 +0000 (11:38 -0500)]
be a little less aggressive in underlayCallback changes

13 years agoavoid passing layout to underlayCallback. Document underlayCallback
Dan Vanderkam [Wed, 10 Nov 2010 16:35:34 +0000 (11:35 -0500)]
avoid passing layout to underlayCallback. Document underlayCallback

13 years agoremove the commit-hook; it didn't work anyway
Dan Vanderkam [Wed, 10 Nov 2010 16:20:58 +0000 (11:20 -0500)]
remove the commit-hook; it didn't work anyway

13 years agoclean up
Dan Vanderkam [Wed, 10 Nov 2010 16:08:59 +0000 (11:08 -0500)]
clean up

13 years agoMerge https://github.com/stani/dygraphs
Dan Vanderkam [Wed, 10 Nov 2010 16:06:21 +0000 (11:06 -0500)]
Merge https://github.com/stani/dygraphs

13 years agoadd row number to highlightCallback params
Stanislav Chachkov [Wed, 10 Nov 2010 15:57:16 +0000 (16:57 +0100)]
add row number to highlightCallback params

13 years agoMerge branch 'master' of http://github.com/kberg/dygraphs
Dan Vanderkam [Wed, 10 Nov 2010 15:40:40 +0000 (10:40 -0500)]
Merge branch 'master' of github.com/kberg/dygraphs

13 years agobug: operator priority
Stanislav Chachkov [Wed, 10 Nov 2010 15:24:19 +0000 (16:24 +0100)]
bug: operator priority

13 years agoMerge branch 'master' of http://github.com/danvk/dygraphs
Robert Konigsberg [Tue, 9 Nov 2010 23:59:02 +0000 (18:59 -0500)]
Merge branch 'master' of github.com/danvk/dygraphs

13 years agoWhen a module is a pure underlay with no data points, mousemove
Robert Konigsberg [Tue, 9 Nov 2010 23:58:02 +0000 (18:58 -0500)]
When a module is a pure underlay with no data points, mousemove
operations generate errors.

13 years agofix css additions
Dan Vanderkam [Wed, 3 Nov 2010 16:12:59 +0000 (09:12 -0700)]
fix css additions

13 years agoMerge branch 'master' of http://github.com/danvk/dygraphs
Neal Nelson [Tue, 2 Nov 2010 09:58:00 +0000 (10:58 +0100)]
Merge branch 'master' of github.com/danvk/dygraphs

13 years ago- Fix vertical zoom problem where a data update would cause the zoom to be lost.
Neal Nelson [Tue, 2 Nov 2010 09:56:45 +0000 (10:56 +0100)]
- Fix vertical zoom problem where a data update would cause the zoom to be lost.
- Added zoomed indicator flags.

13 years agofix memory leak when gviz.draw() is called repeatedly
Dan Vanderkam [Mon, 1 Nov 2010 17:58:25 +0000 (10:58 -0700)]
fix memory leak when gviz.draw() is called repeatedly

13 years agoIE version
Dan Vanderkam [Sat, 23 Oct 2010 16:03:17 +0000 (12:03 -0400)]
IE version

13 years agoprevent highlighting of text on page
Dan Vanderkam [Sat, 23 Oct 2010 15:55:01 +0000 (11:55 -0400)]
prevent highlighting of text on page

13 years agodraw straight lines on half-integer pixels for a crisper look
Dan Vanderkam [Sat, 23 Oct 2010 15:39:26 +0000 (11:39 -0400)]
draw straight lines on half-integer pixels for a crisper look

13 years agopull in ron's patch
Dan Vanderkam [Sat, 23 Oct 2010 06:13:20 +0000 (02:13 -0400)]
pull in ron's patch

13 years agofix logic error
Dan Vanderkam [Fri, 22 Oct 2010 14:50:57 +0000 (10:50 -0400)]
fix logic error

13 years agoMerge branch 'two_axes'
Dan Vanderkam [Fri, 22 Oct 2010 03:26:15 +0000 (23:26 -0400)]
Merge branch 'two_axes'

13 years agoclipping rectangles for interaction layer two_axes
Dan Vanderkam [Fri, 22 Oct 2010 03:25:27 +0000 (23:25 -0400)]
clipping rectangles for interaction layer

13 years agooption to fill in two-axes test
Dan Vanderkam [Fri, 22 Oct 2010 03:19:04 +0000 (23:19 -0400)]
option to fill in two-axes test

13 years agofix color-visibility test
Dan Vanderkam [Fri, 22 Oct 2010 03:07:09 +0000 (23:07 -0400)]
fix color-visibility test

13 years agosupport y-zooming and panning in synchronize demo
Dan Vanderkam [Fri, 22 Oct 2010 02:53:06 +0000 (22:53 -0400)]
support y-zooming and panning in synchronize demo

13 years agofixed some bugs for stacked charts
Dan Vanderkam [Fri, 22 Oct 2010 02:45:13 +0000 (22:45 -0400)]
fixed some bugs for stacked charts

13 years agorecycle roller, avoid a DOM error in resize.html
Dan Vanderkam [Fri, 22 Oct 2010 02:33:33 +0000 (22:33 -0400)]
recycle roller, avoid a DOM error in resize.html

13 years agotwo bug fixes
Dan Vanderkam [Fri, 22 Oct 2010 01:19:23 +0000 (21:19 -0400)]
two bug fixes

13 years agotwo-axes demo fully functioning again!
Dan Vanderkam [Fri, 22 Oct 2010 01:13:05 +0000 (21:13 -0400)]
two-axes demo fully functioning again!

13 years agoremove unparseable bits; panning is broken
Dan Vanderkam [Fri, 22 Oct 2010 00:12:06 +0000 (20:12 -0400)]
remove unparseable bits; panning is broken

13 years agogross merge mostly done; left MERGE markers in a few spots
Dan Vanderkam [Thu, 21 Oct 2010 23:50:19 +0000 (19:50 -0400)]
gross merge mostly done; left MERGE markers in a few spots

13 years agomake drawGraph parameter-free
Dan Vanderkam [Thu, 21 Oct 2010 23:11:40 +0000 (19:11 -0400)]
make drawGraph parameter-free

13 years agointelligently position labelsDiv in predraw_
Dan Vanderkam [Thu, 21 Oct 2010 22:29:14 +0000 (18:29 -0400)]
intelligently position labelsDiv in predraw_

13 years agoreset linear-regression
Dan Vanderkam [Thu, 21 Oct 2010 12:43:42 +0000 (08:43 -0400)]
reset linear-regression