dygraphs.git
9 years agotweak link options-link
Dan Vanderkam [Sat, 29 Nov 2014 17:20:21 +0000 (12:20 -0500)]
tweak link

9 years agoUpdate synchronize gallery demo
Dan Vanderkam [Sat, 29 Nov 2014 17:20:13 +0000 (12:20 -0500)]
Update synchronize gallery demo

9 years agoDocumentation tweaks
Dan Vanderkam [Sat, 29 Nov 2014 16:42:26 +0000 (11:42 -0500)]
Documentation tweaks

9 years agoMerge pull request #499 from danvk/synchronizer
Dan Vanderkam [Sat, 29 Nov 2014 05:58:00 +0000 (00:58 -0500)]
Merge pull request #499 from danvk/synchronizer

Synchronization tool

9 years agoSynchronization tool synchronizer
Dan Vanderkam [Sat, 29 Nov 2014 05:47:16 +0000 (00:47 -0500)]
Synchronization tool

9 years agoMerge pull request #498 from danvk/more-spacing
Dan Vanderkam [Fri, 28 Nov 2014 21:52:59 +0000 (16:52 -0500)]
Merge pull request #498 from danvk/more-spacing

Introduce a TWO_DAILY tick spacing

9 years agoIntroduce a TWO_DAILY tick spacing more-spacing
Dan Vanderkam [Fri, 28 Nov 2014 21:43:13 +0000 (16:43 -0500)]
Introduce a TWO_DAILY tick spacing

9 years agoMerge pull request #497 from danvk/issue-485-sep-fill
Dan Vanderkam [Fri, 28 Nov 2014 20:54:29 +0000 (15:54 -0500)]
Merge pull request #497 from danvk/issue-485-sep-fill

Patch up NaN values in error bars

9 years agoPatch up NaN values in error bars issue-485-sep-fill
Dan Vanderkam [Fri, 28 Nov 2014 20:50:29 +0000 (15:50 -0500)]
Patch up NaN values in error bars

9 years agoMerge pull request #479 from danvk/master+hairlines
Dan Vanderkam [Fri, 28 Nov 2014 20:07:15 +0000 (15:07 -0500)]
Merge pull request #479 from danvk/master+hairlines

Hairlines/Super-annotations plugins + demo

9 years agoMerge pull request #484 from danvk/wrapped-labels
Dan Vanderkam [Fri, 28 Nov 2014 20:07:01 +0000 (15:07 -0500)]
Merge pull request #484 from danvk/wrapped-labels

Wrapped labels

9 years agoChange x-axis pixel spacing default to 70. wrapped-labels
Dan Vanderkam [Fri, 28 Nov 2014 19:56:09 +0000 (14:56 -0500)]
Change x-axis pixel spacing default to 70.

Also updates tests. The cases where we get one axis label instead of
seven are a bit troubling.

9 years agofix issue #494 & expand xAxisLabelWidth; lots of failing tests
Dan Vanderkam [Tue, 25 Nov 2014 21:36:24 +0000 (16:36 -0500)]
fix issue #494 & expand xAxisLabelWidth; lots of failing tests

9 years agotry dropping width again; there is a bug :(
Dan Vanderkam [Mon, 24 Nov 2014 18:56:07 +0000 (13:56 -0500)]
try dropping width again; there is a bug :(

9 years agoMerge pull request #489 from danvk/combined-dev
Dan Vanderkam [Mon, 24 Nov 2014 17:26:06 +0000 (12:26 -0500)]
Merge pull request #489 from danvk/combined-dev

Generate dygraph-combined-dev.js

9 years agoMerge pull request #491 from danvk/legend-never
Dan Vanderkam [Sun, 23 Nov 2014 21:18:11 +0000 (16:18 -0500)]
Merge pull request #491 from danvk/legend-never

Add "legend: never"

9 years agorename legend test legend-never
Dan Vanderkam [Sun, 23 Nov 2014 21:13:06 +0000 (16:13 -0500)]
rename legend test

9 years agoAdd legend: "never" option
Dan Vanderkam [Sun, 23 Nov 2014 21:12:31 +0000 (16:12 -0500)]
Add legend: "never" option

9 years agoMerge pull request #490 from danvk/298-legend-follow
Dan Vanderkam [Sun, 23 Nov 2014 20:59:21 +0000 (15:59 -0500)]
Merge pull request #490 from danvk/298-legend-follow

Small changes to PR 298 "legend: follow"

9 years agocleanup 298-legend-follow
Dan Vanderkam [Sun, 23 Nov 2014 20:56:22 +0000 (15:56 -0500)]
cleanup

9 years agoMerge
Dan Vanderkam [Sun, 23 Nov 2014 18:25:46 +0000 (13:25 -0500)]
Merge

9 years agogenerate dygraph-combined-dev.js combined-dev
Dan Vanderkam [Sun, 23 Nov 2014 18:20:13 +0000 (13:20 -0500)]
generate dygraph-combined-dev.js

9 years agomore precise cleanup in push-to-web.sh
Dan Vanderkam [Sun, 23 Nov 2014 17:53:55 +0000 (12:53 -0500)]
more precise cleanup in push-to-web.sh

9 years agoMerge pull request #488 from danvk/ie8-fix
Dan Vanderkam [Sun, 23 Nov 2014 07:06:18 +0000 (02:06 -0500)]
Merge pull request #488 from danvk/ie8-fix

Fix for IE8

9 years agoFix for IE8 ie8-fix
Dan Vanderkam [Sun, 23 Nov 2014 07:03:19 +0000 (02:03 -0500)]
Fix for IE8

9 years agouse " " instead of " "
Dan Vanderkam [Sun, 23 Nov 2014 05:25:49 +0000 (00:25 -0500)]
use " " instead of " "

9 years agoclean up reference/comments
Dan Vanderkam [Sun, 23 Nov 2014 04:46:32 +0000 (23:46 -0500)]
clean up reference/comments

9 years agoPrevent labels from wrapping.
Dan Vanderkam [Sun, 23 Nov 2014 01:45:04 +0000 (20:45 -0500)]
Prevent labels from wrapping.

This involves changing the default spacing for labels.

9 years agoMerge pull request #481 from danvk/fix-tests
Dan Vanderkam [Sat, 22 Nov 2014 17:06:11 +0000 (12:06 -0500)]
Merge pull request #481 from danvk/fix-tests

Fix some broken demos

9 years agoone more fix-tests
Dan Vanderkam [Sat, 22 Nov 2014 06:44:27 +0000 (01:44 -0500)]
one more

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

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

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

9 years agoHairlines/Super-annotations plugins + test master+hairlines
Dan Vanderkam [Sat, 22 Nov 2014 05:59:00 +0000 (00:59 -0500)]
Hairlines/Super-annotations plugins + test

9 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

9 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

9 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

9 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

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

9 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

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

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

9 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

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

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

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

9 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)

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

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

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

9 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

9 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)

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

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

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

9 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)

9 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

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

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

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

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

9 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

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

9 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

9 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

9 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

9 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!

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

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

9 years agoUse "legend" option with "follow" value. Hide legend on deselect.
Petr Shevtsov [Thu, 13 Nov 2014 16:18:30 +0000 (19:18 +0300)]
Use "legend" option with "follow" value. Hide legend on deselect.

9 years agoCheck for visible viewport width, not the plotter width
Petr Shevtsov [Thu, 13 Nov 2014 15:02:29 +0000 (18:02 +0300)]
Check for visible viewport width, not the plotter width

9 years agoUse CSS styles instead of labelsDivStyles
Petr Shevtsov [Thu, 13 Nov 2014 10:35:08 +0000 (13:35 +0300)]
Use CSS styles instead of labelsDivStyles

9 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

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

9 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

9 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

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

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