Граф коммитов

1742 Коммитов

Автор SHA1 Сообщение Дата
Mike Bostock 05da7af849 Fix #771 for singleton ordinal domains. 2012-08-16 13:26:14 -07:00
Mike Bostock b0686e2a5d Merge branch '2.10.0' 2012-08-09 20:11:48 -07:00
Mike Bostock ee03eb6cef Merge branch 'master' of git://github.com/snoble/d3 into 2.10.0 2012-08-09 18:46:28 -07:00
Mike Bostock cded852ba4 Add d3.lab and d3.hcl.
Includes d3.interpolateLab and d3.interpolateHcl.
2012-08-08 21:22:21 -07:00
Mike Bostock 952abefad0 Add d3.random.{logNormal,irwinHall}. Fixes #571. 2012-08-08 20:42:12 -07:00
Mike Bostock e42eb90ca8 Add d3.scale.threshold. Fixes #755. 2012-08-08 20:33:30 -07:00
Mike Bostock 3d4d67930b Fix for locale-specific abbreviations. 2012-08-08 19:12:43 -07:00
Mike Bostock 15ba641fa3 Merge remote-tracking branch 'origin/map' into 2.10.0
Conflicts:
	src/core/transition-attr.js
	src/core/transition-style.js
2012-08-08 18:08:47 -07:00
Mike Bostock 2d9fe177d0 Expose d3.tween. Fixes #747.
This is a little bit more verbose, but it avoids additional optional arguments
on transition.{attr,style}.
2012-08-08 17:53:46 -07:00
Mike Bostock 79a3c0d31c Merge remote-tracking branch 'origin/pack-padding' into 2.10.0 2012-08-08 17:36:40 -07:00
Mike Bostock 7ac1ae7c77 Merge remote-tracking branch 'origin/delimiter-separated-values' into 2.10.0 2012-08-08 17:36:01 -07:00
Mike Bostock 7c6a7fd0d5 Merge remote-tracking branch 'origin/ordinal-band-padding' into 2.10.0 2012-08-08 17:35:19 -07:00
Mike Bostock 90ae6c0b21 Merge remote-tracking branch 'origin/custom-line-interpolation' into 2.10.0
Conflicts:
	src/svg/line.js
2012-08-08 17:34:25 -07:00
Mike Bostock f06934831d Merge remote-tracking branch 'origin/transition-interpolate' into 2.10.0
Conflicts:
	src/core/interpolate.js
2012-08-08 17:32:32 -07:00
Mike Bostock 609ab913de Merge branch 'time-format-locale' into 2.10.0 2012-08-08 17:30:36 -07:00
Mike Bostock fbcc82bf34 Remove duplicate locale specification. 2012-08-07 12:35:10 -07:00
Mike Bostock d6d2792b53 Allow static localization of d3.time.format.
You can now build a locale-specific version of d3.time.format. For example,

  LANG=fr_FR make

will pull strings from the time/format-fr_FR.js file, rather than en_US.
2012-08-07 12:21:49 -07:00
Mike Bostock 48570c61ba Multi-value map support for transitions. 2012-08-05 16:39:11 -07:00
Mike Bostock 07f72be0aa Multi-value map support for on. 2012-08-05 16:29:04 -07:00
Mike Bostock 74596a90f7 Remove support for functions that return maps. 2012-08-05 15:52:10 -07:00
Mike Bostock f2b45c132d Multi-value map support for classed. 2012-08-05 14:54:02 -07:00
Mike Bostock a39ca24fb8 Better comments and minor optimization. 2012-08-05 10:42:28 -07:00
Mike Bostock d4f6f4dd8d Minor optimization and better comments. 2012-08-05 10:38:00 -07:00
Mike Bostock b20c823d6a Better comments. Test most-specific first. 2012-08-05 10:09:16 -07:00
Mike Bostock ce8852b9b4 Multi-value map support for property. 2012-08-05 09:53:33 -07:00
Mike Bostock 5c1dd6d904 Multi-value map support for style. 2012-08-05 09:53:07 -07:00
Mike Bostock 1976674fc7 Multi-value map support for attr. 2012-08-05 09:52:31 -07:00
Mike Bostock 91630afcab Revert piecewise interpolation for transforms.
Rather than adopting CSS’s elaborate rules for detecting when the start and end
transform are the same type as using piecewise (i.e., string-based)
interpolation, we always use the consolidated transform transition. If you want
to use string-based interpolation, simply specify d3.interpolateString as the
interpolator. Fixes #746.
2012-08-04 12:13:16 -07:00
Mike Bostock 3064f0aaf5 Custom interpolators for transition.{attr, style}.
Fixes #747.
2012-08-04 12:02:17 -07:00
Mike Bostock 6dd99394d5 Merge branch 'fix-minus' into 2.9.8 2012-08-02 17:50:14 -07:00
Mike Bostock da3131c876 Use hyphen instead of unicode minus for negatives.
Although the unicode minus is typographically correct, using the standard hyphen
is more conventional (and is compatible with standard parsing).
2012-08-02 17:48:26 -07:00
Mike Bostock 4801b69a76 Merge branch 'fix-time-scale-nice' into 2.9.8 2012-08-01 14:31:00 -07:00
Mike Bostock b484273b46 Add test for rotate-origin transitions. 2012-08-01 14:29:21 -07:00
Jason Davies e56e246f8c Clarify matrix decomposition comment slightly. 2012-08-01 13:31:48 +01:00
Jason Davies bb075f612e Fix rotate transforms with non-zero origin.
Previously, only the angle was being interpolated. Unfortunately, it
looks like the origin information is lost when converted to a matrix.
For example, "rotate(0 100 100)" is the identity matrix [1 0 0 1 0 0].
Interpolating the matrix decomposition seems better than dropping the
origin altogether.
2012-08-01 13:23:35 +01:00
Mike Bostock 7133162c2a Fix nice implementation for time scales.
The previous implementation didn't handle polylinear domains correctly.
2012-07-31 19:38:36 -07:00
Mike Bostock 108d65da0e Merge branch '2.9.7' 2012-07-31 14:59:49 -07:00
Mike Bostock 540d3ace3e Fix polar clock example.
The shortest-path interpolation for HSL was causing all the bars to be the same
color. Switching to string-interpolation preserves the original behavior.
2012-07-31 14:54:04 -07:00
Mike Bostock b878f258e0 Merge branch 'transform-null' of git://github.com/jasondavies/d3 into 2.9.7
Conflicts:
	examples/transform/test-rotate.html
	src/core/interpolate.js
2012-07-31 14:46:28 -07:00
Mike Bostock 06deb8f86b Don't use shortest-path for same-type transitions.
If the transform transition isn't the same type, then we can use the shortest-
path for rotate transitions. But, if the transforms are the same type, then we
should use the simpler string interpolation without the shortest-path.
2012-07-31 13:56:18 -07:00
Mike Bostock ea48a4a5af Merge branch 'bisect-large' of git://github.com/jasondavies/d3 into 2.9.7 2012-07-31 13:30:39 -07:00
Mike Bostock cb832c147b Fix d3.time.dayOfYear test. 2012-07-31 13:29:20 -07:00
Mike Bostock 7905b83694 Merge branch 'fix-time-tests' of git://github.com/jasondavies/d3 into 2.9.7 2012-07-31 13:20:26 -07:00
Jason Davies 20d38f8211 Update transform/test-rotate.
We no longer pick the shortest path for same type transitions.
2012-07-31 16:15:30 +01:00
Jason Davies 11e1efa3a3 Same type transforms: support matrix functions. 2012-07-31 14:51:49 +01:00
Jason Davies 65a464582d d3.bisect: support very large arrays. 2012-07-31 14:00:26 +01:00
Jason Davies e9abea57d3 More efficient handling of null transforms.
Avoid unnecessary object creation.
2012-07-31 13:42:48 +01:00
Jason Davies ed131d2374 Add support for interpolating null transform lists.
For consistency with CSS3 [1], a null "from" or "to" transform list is
replaced by an identity function list whose types match those of the
non-null transform list.

[1]: http://www.w3.org/TR/css3-transforms/#animation
2012-07-31 13:01:45 +01:00
Jason Davies ba009d9f3b Fix typo in comments: coallesce → coalesce. 2012-07-31 12:03:01 +01:00
Mike Bostock b4d799375d Use shortest path even for large angles. 2012-07-31 00:38:13 -07:00