dygraphs.git
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 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 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.

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 ' ' with ' ', so that the legend works in XHTML pages

10 years agoReplace ' ' with ' ', so that the legend works in XHTML pages as well
yankee [Wed, 20 Aug 2014 14:09:10 +0000 (16:09 +0200)]
Replace ' ' with ' ', 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

10 years agoignore env
Dan Vanderkam [Wed, 25 Jun 2014 04:08:22 +0000 (00:08 -0400)]
ignore env

10 years agoUse closure compiler from NPM
Dan Vanderkam [Tue, 24 Jun 2014 03:57:25 +0000 (23:57 -0400)]
Use closure compiler from NPM

10 years agomake publish works
Dan Vanderkam [Mon, 23 Jun 2014 23:11:04 +0000 (19:11 -0400)]
make publish works

10 years agomake publish
Dan Vanderkam [Mon, 23 Jun 2014 22:55:11 +0000 (18:55 -0400)]
make publish

10 years agoMake test.sh return an error code on failure.
Dan Vanderkam [Sat, 14 Jun 2014 02:22:19 +0000 (22:22 -0400)]
Make test.sh return an error code on failure.

10 years agoMerge branch 'master' of github.com:danvk/dygraphs
Dan Vanderkam [Sat, 14 Jun 2014 02:02:13 +0000 (22:02 -0400)]
Merge branch 'master' of github.com:danvk/dygraphs

10 years agoFirst attempt at Travis CI testing
Dan Vanderkam [Sat, 14 Jun 2014 02:01:51 +0000 (22:01 -0400)]
First attempt at Travis CI testing

10 years agoMerge pull request #301 from BoivinBenoit/master
Dan Vanderkam [Thu, 12 Jun 2014 22:48:22 +0000 (18:48 -0400)]
Merge pull request #301 from BoivinBenoit/master

Fixing fillGraph when null values and stepPlot

10 years agoReverted dygraph-combined.js
Boivin Benoit [Thu, 12 Jun 2014 07:09:14 +0000 (09:09 +0200)]
Reverted dygraph-combined.js
Changed fill_step_plot.js

10 years agoNow considering the issue as a bug, adding an auto_test (might be wrong)
Boivin Benoit [Wed, 11 Jun 2014 13:27:05 +0000 (15:27 +0200)]
Now considering the issue as a bug, adding an auto_test (might be wrong)

10 years agoRemoved disabled ticker test suite (no longer needed).
Joan Pau Beltran [Thu, 5 Jun 2014 15:40:30 +0000 (17:40 +0200)]
Removed disabled ticker test suite (no longer needed).

The tickers test suite is disabled. In addition, most tests there are broken.
Date ticker tests are fixed and moved to a separated date ticker test suite
by last commit. Hence move numeric ticker tests to the numeric ticker
test-suite and remove the disabled tickers test-suite.

  * `auto_tests/tests/numeric_ticker.js`:
    Include tests from `auto_tests/tests/tickers.disabled-js`
    but commented because they are all broken.

  * auto_tests/tests/tickers.disabled-js:
    Delete it because it is no longer needed.

10 years agoAdded automated test for UTC date ticks and labels.
Joan Pau Beltran [Mon, 2 Jun 2014 15:50:45 +0000 (17:50 +0200)]
Added automated test for UTC date ticks and labels.

The date tick tests are broken in the ticker automatic test suite
because they assume EST timezone. In addition, the suite is disabled.
Fix the  automatic test suite for the case UTC ticks and labels:

  * `auto_tests/tests/date_ticker.js`:
    Test the generation of ticks and labels at nice time positions
    according to UTC as set by option `labelsDateUTC`.
    Include the date axis tests from `auto-tests/tests/tickers.js-disabled`
    with the required changes of timestamps and with initial ticks
    out of range removed.

10 years agoAdded UTC date label tests and adapted existing ones.
Joan Pau Beltran [Mon, 10 Feb 2014 11:11:24 +0000 (12:11 +0100)]
Added UTC date label tests and adapted existing ones.

    * tests/labelsDateUTC.html:
      New test/demo for the option  `labelsDateUTC`.
      Display several days of data according to UTC and to local time,
      and compare the tick placement and the label format.

    * tests/x-axis-formatter.html:
      Added `opts` argument to `axisLabelFormatter` function
      (used by inner `Dygraphs.dateAxisLabelFormatter` call).

10 years agoInsignificant fix of `>` in jsdoc comments.
Joan Pau Beltran [Thu, 5 Jun 2014 15:59:57 +0000 (17:59 +0200)]
Insignificant fix of `>` in jsdoc comments.

10 years agoFormat year of monthly tick lables with 2 digits instead of 4.
Joan Pau Beltran [Thu, 5 Jun 2014 15:46:27 +0000 (17:46 +0200)]
Format year of monthly tick lables with 2 digits instead of 4.

Since commit 7b2dfd0 (Oct 15, 2013) the format of monthly tick
labels is `%b %Y` (e.g. Oct 2013). Before the format was '%b %y'
(e.g. Oct 13). Revert to the later format because it seems to be
an accidental change.

  * `dygraph.js`:
    Revert format of monthly tick labels from `%b %Y` to `%b %y`.

10 years agoFixed option support
Boivin Benoit [Thu, 5 Jun 2014 14:46:41 +0000 (16:46 +0200)]
Fixed option support

10 years agoAdded new fillStepPlot option for dygraph
Benoit Boivin [Thu, 5 Jun 2014 12:02:04 +0000 (14:02 +0200)]
Added new fillStepPlot option for dygraph

10 years agoMerge pull request #296 from danvk/xlog
Robert Konigsberg [Thu, 29 May 2014 10:00:29 +0000 (06:00 -0400)]
Merge pull request #296 from danvk/xlog

Log along the x-axis (bug 189)

10 years agoMind renaming. xlog
Robert Konigsberg [Mon, 12 May 2014 08:44:07 +0000 (04:44 -0400)]
Mind renaming.

10 years agoMerge pull request #297 from pshevtsov/custom-shapes
Robert Konigsberg [Mon, 28 Apr 2014 12:23:12 +0000 (08:23 -0400)]
Merge pull request #297 from pshevtsov/custom-shapes

Execute custom shapes closure. Makes tests/custom-circles.html work.

10 years agoExecute custom shapes closure
Petr Shevtsov [Mon, 28 Apr 2014 09:26:00 +0000 (13:26 +0400)]
Execute custom shapes closure

10 years agodingle quotes.
Robert Konigsberg [Wed, 23 Apr 2014 14:58:09 +0000 (10:58 -0400)]
dingle quotes.

10 years agoMerge branch 'master' into xlog
Robert Konigsberg [Wed, 23 Apr 2014 12:47:08 +0000 (08:47 -0400)]
Merge branch 'master' into xlog

Conflicts:
dygraph-layout.js

10 years agox axis log scale.
Robert Konigsberg [Wed, 23 Apr 2014 12:42:58 +0000 (08:42 -0400)]
x axis log scale.

10 years agotemporarily remove failing test
Dan Vanderkam [Tue, 18 Mar 2014 17:44:37 +0000 (13:44 -0400)]
temporarily remove failing test

10 years agofix SO links
Dan Vanderkam [Thu, 6 Mar 2014 04:21:43 +0000 (23:21 -0500)]
fix SO links

10 years agoMerge pull request #266 from hulkholden/fix_hidpi
Dan Vanderkam [Sun, 2 Mar 2014 02:40:56 +0000 (21:40 -0500)]
Merge pull request #266 from hulkholden/fix_hidpi

Add support for HiDPI displays

10 years agoMerge pull request #294 from klausw-g/highlightpointcallback
Dan Vanderkam [Fri, 21 Feb 2014 03:29:19 +0000 (22:29 -0500)]
Merge pull request #294 from klausw-g/highlightpointcallback

Fix bad 'g' argument for drawHighlightPointCallback.

10 years agoFix bad 'g' argument for drawHighlightPointCallback.
Klaus Weidner [Fri, 21 Feb 2014 03:25:09 +0000 (19:25 -0800)]
Fix bad 'g' argument for drawHighlightPointCallback.

10 years agomerge
Dan Vanderkam [Mon, 17 Feb 2014 22:38:41 +0000 (17:38 -0500)]
merge

10 years agoadd test of plugins/legend.js
Akiyah [Mon, 17 Feb 2014 17:14:49 +0000 (02:14 +0900)]
add test of plugins/legend.js

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.