dygraphs.git
10 years agofix two-axes-vr
Dan Vanderkam [Sat, 22 Nov 2014 06:42:03 +0000 (01:42 -0500)]
fix two-axes-vr

10 years agofix linear regression tests
Dan Vanderkam [Sat, 22 Nov 2014 06:38:57 +0000 (01:38 -0500)]
fix linear regression tests

10 years agofix drawing.html
Dan Vanderkam [Sat, 22 Nov 2014 06:33:04 +0000 (01:33 -0500)]
fix drawing.html

10 years agoMerge pull request #478 from danvk/jshint
Dan Vanderkam [Sat, 22 Nov 2014 05:54:38 +0000 (00:54 -0500)]
Merge pull request #478 from danvk/jshint

Lint as part of Travis tests

10 years agoTurn on more lint warnings; clear up some directives jshint
Dan Vanderkam [Sat, 22 Nov 2014 05:52:58 +0000 (00:52 -0500)]
Turn on more lint warnings; clear up some directives

10 years agoLint as part of Travis tests
Dan Vanderkam [Sat, 22 Nov 2014 05:16:40 +0000 (00:16 -0500)]
Lint as part of Travis tests

10 years agoMerge pull request #477 from danvk/461-retina
Dan Vanderkam [Sat, 22 Nov 2014 04:46:33 +0000 (23:46 -0500)]
Merge pull request #477 from danvk/461-retina

Fixes for Retina & PixelRatio < 1

10 years agoFixes for pixelRatio != 1 461-retina
Dan Vanderkam [Sat, 22 Nov 2014 03:16:05 +0000 (22:16 -0500)]
Fixes for pixelRatio != 1

10 years agoMerge https://github.com/thekidder/dygraphs into 461-retina
Dan Vanderkam [Sat, 22 Nov 2014 02:23:41 +0000 (21:23 -0500)]
Merge https://github.com/thekidder/dygraphs into 461-retina

10 years agoMerge pull request #472 from danvk/right-edge
Dan Vanderkam [Sat, 22 Nov 2014 02:19:34 +0000 (21:19 -0500)]
Merge pull request #472 from danvk/right-edge

Allow zooms to go 200px past the edge.

10 years agodrop to 100px buffer right-edge
Dan Vanderkam [Sat, 22 Nov 2014 02:17:39 +0000 (21:17 -0500)]
drop to 100px buffer

10 years agoMerge pull request #475 from danvk/checked-options
Dan Vanderkam [Sat, 22 Nov 2014 02:13:21 +0000 (21:13 -0500)]
Merge pull request #475 from danvk/checked-options

Log warnings when using non-existent options

10 years agoMake invalid option throw checked-options
Dan Vanderkam [Sat, 22 Nov 2014 02:10:01 +0000 (21:10 -0500)]
Make invalid option throw

10 years agocode review
Dan Vanderkam [Thu, 20 Nov 2014 05:37:24 +0000 (00:37 -0500)]
code review

10 years agoTests for option warnings
Dan Vanderkam [Thu, 20 Nov 2014 03:24:08 +0000 (22:24 -0500)]
Tests for option warnings

10 years agoMerge pull request #473 from danvk/download-links
Dan Vanderkam [Wed, 19 Nov 2014 17:47:34 +0000 (12:47 -0500)]
Merge pull request #473 from danvk/download-links

Flesh out downloads page (fixes #450)

10 years agoalso also download-links
Dan Vanderkam [Wed, 19 Nov 2014 17:46:48 +0000 (12:46 -0500)]
also also

10 years agoDocument the new "axis", not the old.
Dan Vanderkam [Wed, 19 Nov 2014 06:26:05 +0000 (01:26 -0500)]
Document the new "axis", not the old.

10 years agoport over tests
Dan Vanderkam [Wed, 19 Nov 2014 06:22:46 +0000 (01:22 -0500)]
port over tests

10 years agoLog warnings when using non-existent options
Dan Vanderkam [Wed, 19 Nov 2014 05:52:28 +0000 (00:52 -0500)]
Log warnings when using non-existent options

10 years agoFlesh out downloads page (fixes #450)
Dan Vanderkam [Wed, 19 Nov 2014 04:18:46 +0000 (23:18 -0500)]
Flesh out downloads page (fixes #450)

10 years agouse constant
Dan Vanderkam [Wed, 19 Nov 2014 04:08:13 +0000 (23:08 -0500)]
use constant

10 years agoAllow zooms to go 200px past the edge.
Dan Vanderkam [Wed, 19 Nov 2014 01:21:55 +0000 (20:21 -0500)]
Allow zooms to go 200px past the edge.

This requires registering mousemove/mouseup on document, rather than the
canvas. This is a bit scary! But the tests pass, and this is generally
pretty well-tested code.

10 years agoDocument point.idx (fixes #471)
Dan Vanderkam [Tue, 18 Nov 2014 23:54:23 +0000 (18:54 -0500)]
Document point.idx (fixes #471)

10 years agoCall .destroy() on plugins (fixes #418)
Dan Vanderkam [Tue, 18 Nov 2014 03:54:09 +0000 (22:54 -0500)]
Call .destroy() on plugins (fixes #418)

10 years agoMerge pull request #304 from danvk/merge-hairline
Dan Vanderkam [Sun, 16 Nov 2014 23:49:25 +0000 (18:49 -0500)]
Merge pull request #304 from danvk/merge-hairline

Merge mainline changes needed for hairlines & super-annotations

10 years agofix clearChart double-firing merge-hairline
Dan Vanderkam [Sun, 16 Nov 2014 23:47:31 +0000 (18:47 -0500)]
fix clearChart double-firing

10 years agomore tests for plugins
Dan Vanderkam [Sun, 16 Nov 2014 23:40:53 +0000 (18:40 -0500)]
more tests for plugins

10 years agocode review changes
Dan Vanderkam [Sun, 16 Nov 2014 00:18:42 +0000 (19:18 -0500)]
code review changes

10 years agoMerge in hairlines and super-annotations work.
Dan Vanderkam [Mon, 1 Apr 2013 03:46:54 +0000 (23:46 -0400)]
Merge in hairlines and super-annotations work.

10 years agoMerge pull request #462 from danvk/fast-fill
Dan Vanderkam [Sun, 16 Nov 2014 22:47:28 +0000 (17:47 -0500)]
Merge pull request #462 from danvk/fast-fill

Fast Fill

10 years agoSpeed up filled charts by down-sampling. fast-fill
Dan Vanderkam [Tue, 11 Nov 2014 14:28:40 +0000 (09:28 -0500)]
Speed up filled charts by down-sampling.

This is done by introducing a "fast canvas proxy", which elides
redundant moveTo and lineTo calls. This also reworks the order in which
the points are drawn to be more amenable to this optimization.

10 years agoMerge pull request #469 from danvk/re-smooth-plotter
Dan Vanderkam [Sun, 16 Nov 2014 21:19:32 +0000 (16:19 -0500)]
Merge pull request #469 from danvk/re-smooth-plotter

Smooth plotter using bezier curves

10 years agomove smooth plotter into its own demo re-smooth-plotter
Dan Vanderkam [Sun, 16 Nov 2014 21:15:54 +0000 (16:15 -0500)]
move smooth plotter into its own demo

10 years agoMerge pull request #465 from danvk/callback-this
Robert Konigsberg [Sun, 16 Nov 2014 00:29:32 +0000 (19:29 -0500)]
Merge pull request #465 from danvk/callback-this

Set "this" to the Dygraph object in all callbacks

10 years agoMerge pull request #464 from danvk/sourcemap
Robert Konigsberg [Sun, 16 Nov 2014 00:07:28 +0000 (19:07 -0500)]
Merge pull request #464 from danvk/sourcemap

Generate a source map!

10 years agoSmooth plotter using bezier curves.
Dan Vanderkam [Fri, 14 Nov 2014 22:04:37 +0000 (17:04 -0500)]
Smooth plotter using bezier curves.

10 years agoRegression test for issue #411
Dan Vanderkam [Fri, 14 Nov 2014 17:00:28 +0000 (12:00 -0500)]
Regression test for issue #411

10 years agoSet "this" to the Dygraph object in all callbacks callback-this
Dan Vanderkam [Thu, 13 Nov 2014 03:48:04 +0000 (22:48 -0500)]
Set "this" to the Dygraph object in all callbacks

10 years agoGenerate a source map! sourcemap
Dan Vanderkam [Wed, 12 Nov 2014 16:11:48 +0000 (11:11 -0500)]
Generate a source map!

10 years agoFix retina support on desktop browsers; add retina range selector
Adam Kidder [Tue, 11 Nov 2014 17:14:25 +0000 (09:14 -0800)]
Fix retina support on desktop browsers; add retina range selector

10 years agoAdd Fill option to benchmark to help with issue #346
Dan Vanderkam [Tue, 11 Nov 2014 05:06:53 +0000 (00:06 -0500)]
Add Fill option to benchmark to help with issue #346

10 years agoMerge pull request #459 from savvopoulos/patch-1
Dan Vanderkam [Tue, 11 Nov 2014 05:00:33 +0000 (00:00 -0500)]
Merge pull request #459 from savvopoulos/patch-1

Update dygraph-internal.externs.js to solve compilation conflicts.

10 years agoUpdate dygraph-internal.externs.js
savvopoulos [Mon, 10 Nov 2014 19:24:26 +0000 (20:24 +0100)]
Update dygraph-internal.externs.js

detachEvent takes a function not an object (as the param name suggests). This can create compile conflicts.

10 years agoMerge pull request #292 from joanpau
Dan Vanderkam [Wed, 5 Nov 2014 14:40:38 +0000 (09:40 -0500)]
Merge pull request #292 from joanpau

Conflicts:
dygraph-tickers.js

10 years agorename labelsDateUTC --> labelsUTC
Dan Vanderkam [Wed, 5 Nov 2014 14:32:00 +0000 (09:32 -0500)]
rename labelsDateUTC --> labelsUTC

10 years agoMerge pull request #457 from danvk/fix-log
Dan Vanderkam [Wed, 5 Nov 2014 03:50:34 +0000 (22:50 -0500)]
Merge pull request #457 from danvk/fix-log

Remove Dygraph.log and all its kin

10 years agoadd console polyfill licensing fix-log
Dan Vanderkam [Wed, 5 Nov 2014 03:30:05 +0000 (22:30 -0500)]
add console polyfill licensing

10 years agoMerge pull request #448 from danvk/range-selector-granularity
Dan Vanderkam [Wed, 5 Nov 2014 00:48:31 +0000 (19:48 -0500)]
Merge pull request #448 from danvk/range-selector-granularity

Only plot a point in range selector if it changes the x-value

10 years agoadd console polyfill; kill stacktrace.js
Dan Vanderkam [Wed, 5 Nov 2014 00:30:15 +0000 (19:30 -0500)]
add console polyfill; kill stacktrace.js

10 years agoremove all traces of Dygraph.log
Dan Vanderkam [Wed, 5 Nov 2014 00:09:29 +0000 (19:09 -0500)]
remove all traces of Dygraph.log

10 years agoonly apply optimization when stepPlot=false range-selector-granularity
Dan Vanderkam [Tue, 4 Nov 2014 23:51:57 +0000 (18:51 -0500)]
only apply optimization when stepPlot=false

10 years agoAdd a test for range-selector + stepPlot
Dan Vanderkam [Tue, 4 Nov 2014 23:51:29 +0000 (18:51 -0500)]
Add a test for range-selector + stepPlot

10 years agoOnly plot a point in range selector if it changes the x-value
Dan Vanderkam [Tue, 21 Oct 2014 16:28:11 +0000 (12:28 -0400)]
Only plot a point in range selector if it changes the x-value

10 years agorework option as showInRangeSelector
Dan Vanderkam [Tue, 4 Nov 2014 23:35:00 +0000 (18:35 -0500)]
rework option as showInRangeSelector

10 years agoAdd `rangeSelectorCombinedSeries` option
Philippe Proulx [Tue, 25 Mar 2014 18:08:06 +0000 (14:08 -0400)]
Add `rangeSelectorCombinedSeries` option

10 years agocleanup
Dan Vanderkam [Tue, 4 Nov 2014 22:42:07 +0000 (17:42 -0500)]
cleanup

10 years agoAdd alias for old method name; revert daylight-savings.html
Dan Vanderkam [Tue, 4 Nov 2014 22:27:46 +0000 (17:27 -0500)]
Add alias for old method name; revert daylight-savings.html

10 years agoadd date/time axis option to benchmark
Dan Vanderkam [Fri, 31 Oct 2014 17:00:17 +0000 (13:00 -0400)]
add date/time axis option to benchmark

10 years agoAdding test for multi axis stacking
Jason John Sayers [Thu, 30 Oct 2014 18:24:29 +0000 (13:24 -0500)]
Adding test for multi axis stacking

10 years agoFix ghosting issues when viewing graphs with browser zoomed out. Closes #440.
Gregory Jordan [Tue, 21 Oct 2014 17:24:41 +0000 (13:24 -0400)]
Fix ghosting issues when viewing graphs with browser zoomed out. Closes #440.

10 years agoChanged code to separate graph stacking logic by axis.
Jason John Sayers [Tue, 30 Sep 2014 14:00:23 +0000 (09:00 -0500)]
Changed code to separate graph stacking logic by axis.

10 years agoMove date accessors to utils script and adapt tick generation and format.
Joan Pau Beltran [Mon, 3 Nov 2014 15:45:33 +0000 (16:45 +0100)]
Move date accessors to utils script and adapt tick generation and format.

Add two properties to the `Dygraph` object to hold the date accessor methods
according to either UTC or local time.

Use these accessors to simplify a little bit the label format
and the tick generation.

10 years agoPoint README at new issue tracker & Stack Overflow
Dan Vanderkam [Mon, 3 Nov 2014 19:33:51 +0000 (14:33 -0500)]
Point README at new issue tracker & Stack Overflow

10 years agoFix comment and revert changes in DST transition test as requested.
Joan Pau Beltran [Mon, 3 Nov 2014 15:43:20 +0000 (16:43 +0100)]
Fix comment and revert changes in DST transition test as requested.

10 years agoFix tick location according to local time near DST transitions.
Joan Pau Beltran [Thu, 30 Oct 2014 13:35:42 +0000 (09:35 -0400)]
Fix tick location according to local time near DST transitions.

The curent algorithm for tick generation uses the 'roll over'
property of the `Date` methods. Hence, it produces two artifacts:

  1.  A one-hour gap of ticks within an hour of the 'fall back' transition.

  2.  Moves ticks within the hour skipped at the 'spring forward' transition.

To solve the first defect, use the constant spacing in milliseconds
for granularities not coarser than hourly.

To solve the second defect, check that computed dates using the 'roll over'
method return the expected tick position.

10 years agoadd date/time axis option to benchmark
Dan Vanderkam [Fri, 31 Oct 2014 17:00:17 +0000 (13:00 -0400)]
add date/time axis option to benchmark

10 years agoMerge pull request #313 from CSGOpenSource/CSG-v1.0.1
Dan Vanderkam [Fri, 31 Oct 2014 16:24:00 +0000 (12:24 -0400)]
Merge pull request #313 from CSGOpenSource/CSG-v1.0.1

Stack series per axis

10 years agoMerge branch 'CSG/MultiAxis-StackedGraph' into CSG-v1.0.1
Jason John Sayers [Thu, 30 Oct 2014 18:25:23 +0000 (13:25 -0500)]
Merge branch 'CSG/MultiAxis-StackedGraph' into CSG-v1.0.1

10 years agoAdding test for multi axis stacking
Jason John Sayers [Thu, 30 Oct 2014 18:24:29 +0000 (13:24 -0500)]
Adding test for multi axis stacking

10 years agoSwitch to full year in date tick labels.
Joan Pau Beltran [Thu, 30 Oct 2014 12:44:19 +0000 (08:44 -0400)]
Switch to full year in date tick labels.

Use the full year in date tick labels ('Apr 2008'),
instead of only the last two digits ('Apr 08').

Adapt the date ticker test suite for the new label format.

10 years agoMerge remote-tracking branch 'danvk/292-squash' into utc_datetime_labels-issue_498-v2
Joan Pau Beltran [Mon, 27 Oct 2014 15:18:00 +0000 (11:18 -0400)]
Merge remote-tracking branch 'danvk/292-squash' into utc_datetime_labels-issue_498-v2

This is an squash and rebase onto last version of master.
Some minor changes added as per comments in the PR.

10 years agoMerge pull request #449 from gregoryjordan/master
Dan Vanderkam [Fri, 24 Oct 2014 20:55:11 +0000 (16:55 -0400)]
Merge pull request #449 from gregoryjordan/master

Fix ghosting issues when viewing graphs with browser zoomed out.

10 years agoRebase PR 292
Dan Vanderkam [Wed, 22 Oct 2014 02:41:27 +0000 (22:41 -0400)]
Rebase PR 292

10 years agoFix ghosting issues when viewing graphs with browser zoomed out. Closes #440.
Gregory Jordan [Tue, 21 Oct 2014 17:24:41 +0000 (13:24 -0400)]
Fix ghosting issues when viewing graphs with browser zoomed out. Closes #440.

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 agoMerge pull request #315 from flooey/setselection
Dan Vanderkam [Tue, 14 Oct 2014 20:45:41 +0000 (16:45 -0400)]
Merge pull request #315 from flooey/setselection

Make setSelection() work with missing points.

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 agoMerge branch 'CSG/MultiAxis-StackedGraph' into CSG-v1.0.1
Jason John Sayers [Tue, 30 Sep 2014 14:01:04 +0000 (09:01 -0500)]
Merge branch 'CSG/MultiAxis-StackedGraph' into CSG-v1.0.1

10 years agoChanged code to separate graph stacking logic by axis.
Jason John Sayers [Tue, 30 Sep 2014 14:00:23 +0000 (09:00 -0500)]
Changed code to separate graph stacking logic by axis.

10 years agoMerge pull request #310 from hulkholden/license
Robert Konigsberg [Fri, 29 Aug 2014 18:49:39 +0000 (14:49 -0400)]
Merge pull request #310 from hulkholden/license

Add missing license text to dygraph-externs.js and dygraph-types.js

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 agoMerge pull request #309 from hulkholden/hidpi
Robert Konigsberg [Mon, 25 Aug 2014 02:04:33 +0000 (22:04 -0400)]
Merge pull request #309 from hulkholden/hidpi

Update the hidpi test to work on a wider variety of platforms

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 agoMerge pull request #308 from yankee42/fixXmlEntities
Dan Vanderkam [Thu, 21 Aug 2014 13:51:43 +0000 (09:51 -0400)]
Merge pull request #308 from yankee42/fixXmlEntities

Replace '&nbsp;' with '&#160;', so that the legend works in XHTML pages

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

10 years agoMerge pull request #303 from danvk/fix-hidpi
Dan Vanderkam [Mon, 7 Jul 2014 18:11:00 +0000 (14:11 -0400)]
Merge pull request #303 from danvk/fix-hidpi

Fix HiDPI over-scrolling issue

10 years agoMerge pull request #305 from brentwalther/master
Dan Vanderkam [Mon, 7 Jul 2014 18:10:30 +0000 (14:10 -0400)]
Merge pull request #305 from brentwalther/master

Add panning functions to dygraph-externs and PointType to dygraph-types

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 fix-hidpi
Dan Vanderkam [Wed, 25 Jun 2014 04:09:53 +0000 (00:09 -0400)]
Bug fix for horizontal scrolling on hidpi devices