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.
Dan Vanderkam [Wed, 5 Nov 2014 14:40:38 +0000 (09:40 -0500)]
Merge pull request #292 from joanpau
Conflicts:
dygraph-tickers.js
Dan Vanderkam [Wed, 5 Nov 2014 14:32:00 +0000 (09:32 -0500)]
rename labelsDateUTC --> labelsUTC
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
Dan Vanderkam [Wed, 5 Nov 2014 03:30:05 +0000 (22:30 -0500)]
add console polyfill licensing
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
Dan Vanderkam [Wed, 5 Nov 2014 00:30:15 +0000 (19:30 -0500)]
add console polyfill; kill stacktrace.js
Dan Vanderkam [Wed, 5 Nov 2014 00:09:29 +0000 (19:09 -0500)]
remove all traces of Dygraph.log
Dan Vanderkam [Tue, 4 Nov 2014 23:51:57 +0000 (18:51 -0500)]
only apply optimization when stepPlot=false
Dan Vanderkam [Tue, 4 Nov 2014 23:51:29 +0000 (18:51 -0500)]
Add a test for range-selector + stepPlot
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
Dan Vanderkam [Tue, 4 Nov 2014 23:35:00 +0000 (18:35 -0500)]
rework option as showInRangeSelector
Philippe Proulx [Tue, 25 Mar 2014 18:08:06 +0000 (14:08 -0400)]
Add `rangeSelectorCombinedSeries` option
Dan Vanderkam [Tue, 4 Nov 2014 22:42:07 +0000 (17:42 -0500)]
cleanup
Dan Vanderkam [Tue, 4 Nov 2014 22:27:46 +0000 (17:27 -0500)]
Add alias for old method name; revert daylight-savings.html
Dan Vanderkam [Fri, 31 Oct 2014 17:00:17 +0000 (13:00 -0400)]
add date/time axis option to benchmark
Jason John Sayers [Thu, 30 Oct 2014 18:24:29 +0000 (13:24 -0500)]
Adding test for multi axis stacking
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.
Jason John Sayers [Tue, 30 Sep 2014 14:00:23 +0000 (09:00 -0500)]
Changed code to separate graph stacking logic by axis.
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.
Dan Vanderkam [Mon, 3 Nov 2014 19:33:51 +0000 (14:33 -0500)]
Point README at new issue tracker & Stack Overflow
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.
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.
Dan Vanderkam [Fri, 31 Oct 2014 17:00:17 +0000 (13:00 -0400)]
add date/time axis option to benchmark
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
Jason John Sayers [Thu, 30 Oct 2014 18:25:23 +0000 (13:25 -0500)]
Merge branch 'CSG/MultiAxis-StackedGraph' into CSG-v1.0.1
Jason John Sayers [Thu, 30 Oct 2014 18:24:29 +0000 (13:24 -0500)]
Adding test for multi axis stacking
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.
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.
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.
Dan Vanderkam [Wed, 22 Oct 2014 02:41:27 +0000 (22:41 -0400)]
Rebase PR 292
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.
Dan Vanderkam [Tue, 21 Oct 2014 14:44:32 +0000 (10:44 -0400)]
Check that dygraph-combined is un-generated when testing.
Dan Vanderkam [Tue, 21 Oct 2014 05:19:46 +0000 (01:19 -0400)]
CONTRIBUTING.md formatting
Dan Vanderkam [Tue, 21 Oct 2014 05:19:12 +0000 (01:19 -0400)]
Add a guide to contributing
Dan Vanderkam [Tue, 21 Oct 2014 04:49:37 +0000 (00:49 -0400)]
check for correct versions in package.json and bower.json
Dan Vanderkam [Tue, 21 Oct 2014 00:28:50 +0000 (20:28 -0400)]
valid JSON for bower.json
Dan Vanderkam [Tue, 21 Oct 2014 00:18:18 +0000 (20:18 -0400)]
Attempt to create a working bower package
Dan Vanderkam [Tue, 21 Oct 2014 00:07:37 +0000 (20:07 -0400)]
Point to the new issue tracker
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.
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.
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.
Jason John Sayers [Tue, 30 Sep 2014 14:01:04 +0000 (09:01 -0500)]
Merge branch 'CSG/MultiAxis-StackedGraph' into CSG-v1.0.1
Jason John Sayers [Tue, 30 Sep 2014 14:00:23 +0000 (09:00 -0500)]
Changed code to separate graph stacking logic by axis.
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
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
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
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`)
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
yankee [Wed, 20 Aug 2014 14:09:10 +0000 (16:09 +0200)]
Replace ' ' with ' ', so that the legend works in XHTML pages as well
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
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
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.
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.
Dan Vanderkam [Wed, 25 Jun 2014 16:40:34 +0000 (12:40 -0400)]
turn off warnings in uglifyjs
Dan Vanderkam [Wed, 25 Jun 2014 15:07:44 +0000 (11:07 -0400)]
compress with UglifyJS -- ~6k savings
Dan Vanderkam [Wed, 25 Jun 2014 04:09:53 +0000 (00:09 -0400)]
Bug fix for horizontal scrolling on hidpi devices
Dan Vanderkam [Wed, 25 Jun 2014 04:08:22 +0000 (00:08 -0400)]
ignore env
Dan Vanderkam [Tue, 24 Jun 2014 03:57:25 +0000 (23:57 -0400)]
Use closure compiler from NPM
Dan Vanderkam [Mon, 23 Jun 2014 23:11:04 +0000 (19:11 -0400)]
make publish works
Dan Vanderkam [Mon, 23 Jun 2014 22:55:11 +0000 (18:55 -0400)]
make publish
Dan Vanderkam [Sat, 14 Jun 2014 02:22:19 +0000 (22:22 -0400)]
Make test.sh return an error code on failure.
Dan Vanderkam [Sat, 14 Jun 2014 02:02:13 +0000 (22:02 -0400)]
Merge branch 'master' of github.com:danvk/dygraphs
Dan Vanderkam [Sat, 14 Jun 2014 02:01:51 +0000 (22:01 -0400)]
First attempt at Travis CI testing
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
Boivin Benoit [Thu, 12 Jun 2014 07:09:14 +0000 (09:09 +0200)]
Reverted dygraph-combined.js
Changed fill_step_plot.js
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)
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.
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.
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).
Joan Pau Beltran [Thu, 5 Jun 2014 15:59:57 +0000 (17:59 +0200)]
Insignificant fix of `>` in jsdoc comments.
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`.
Boivin Benoit [Thu, 5 Jun 2014 14:46:41 +0000 (16:46 +0200)]
Fixed option support
Benoit Boivin [Thu, 5 Jun 2014 12:02:04 +0000 (14:02 +0200)]
Added new fillStepPlot option for dygraph
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)
Robert Konigsberg [Mon, 12 May 2014 08:44:07 +0000 (04:44 -0400)]
Mind renaming.
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.
Petr Shevtsov [Mon, 28 Apr 2014 09:26:00 +0000 (13:26 +0400)]
Execute custom shapes closure
Robert Konigsberg [Wed, 23 Apr 2014 14:58:09 +0000 (10:58 -0400)]
dingle quotes.
Robert Konigsberg [Wed, 23 Apr 2014 12:47:08 +0000 (08:47 -0400)]
Merge branch 'master' into xlog
Conflicts:
dygraph-layout.js
Robert Konigsberg [Wed, 23 Apr 2014 12:42:58 +0000 (08:42 -0400)]
x axis log scale.
Dan Vanderkam [Tue, 18 Mar 2014 17:44:37 +0000 (13:44 -0400)]
temporarily remove failing test
Dan Vanderkam [Thu, 6 Mar 2014 04:21:43 +0000 (23:21 -0500)]
fix SO links
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
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.
Klaus Weidner [Fri, 21 Feb 2014 03:25:09 +0000 (19:25 -0800)]
Fix bad 'g' argument for drawHighlightPointCallback.
Dan Vanderkam [Mon, 17 Feb 2014 22:38:41 +0000 (17:38 -0500)]
merge
Akiyah [Mon, 17 Feb 2014 17:14:49 +0000 (02:14 +0900)]
add test of plugins/legend.js
Akiyah [Mon, 17 Feb 2014 16:58:00 +0000 (01:58 +0900)]
add test of plugins/legend.js
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.
George Madrid [Mon, 10 Feb 2014 16:01:06 +0000 (11:01 -0500)]
Changing test file name in local.html
George Madrid [Mon, 10 Feb 2014 15:33:41 +0000 (10:33 -0500)]
Responding to Dan's feedback.
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.
George Madrid [Fri, 7 Feb 2014 19:05:25 +0000 (14:05 -0500)]
Fix for ticks when years are < 100.
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.
Akiyah [Sat, 4 Jan 2014 17:07:25 +0000 (02:07 +0900)]
fix XSS in labels
Akiyah [Sat, 4 Jan 2014 17:19:03 +0000 (02:19 +0900)]
add semicollon
Akiyah [Sat, 4 Jan 2014 17:07:25 +0000 (02:07 +0900)]
fix XSS in labels
Dan Vanderkam [Sat, 14 Dec 2013 18:52:33 +0000 (13:52 -0500)]
fix additional lint errors
Dan Vanderkam [Sat, 14 Dec 2013 18:20:12 +0000 (13:20 -0500)]
Merge branch 'master' of github.com:danvk/dygraphs