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
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
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
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
Mike Bostock
b4d799375d
Use shortest path even for large angles.
2012-07-31 00:38:13 -07:00
Mike Bostock
43360e48ff
Merge branch 'linear-closed-interpolation' into 2.9.7
2012-07-31 00:30:31 -07:00
Mike Bostock
b102a485fa
Use shortest path for rotate transitions.
2012-07-31 00:27:14 -07:00
Mike Bostock
ef8672cb7d
Condense d3.interpolateTransform slightly.
...
Also, fix the transform rotate test.
2012-07-30 19:42:32 -07:00
Mike Bostock
14ab1b3d01
Merge branch 'transform' of git://github.com/jasondavies/d3 into 2.9.7
2012-07-30 18:54:22 -07:00
Mike Bostock
5e7c5dd665
Merge branch 'fix-event-callbacks' of git://github.com/natevw/d3 into 2.9.7
2012-07-30 18:20:11 -07:00
Mike Bostock
90bfec5d88
Merge branch 'fix-time-full-year' into 2.9.7
2012-07-30 18:18:48 -07:00
Mike Bostock
45f742b412
Merge branch 'dbltap' of git://github.com/jasondavies/d3 into 2.9.7
2012-07-30 18:18:04 -07:00
Mike Bostock
3d6acd074f
Merge branch 'faster-linear-interpolation' into 2.9.7
2012-07-30 18:17:15 -07:00
Mike Bostock
e74a925e2c
Merge branch 'fix-classed-remove' of git://github.com/jasondavies/d3 into 2.9.7
2012-07-30 18:16:33 -07:00
Mike Bostock
151d5fe054
Merge branch 'fix-time-dayOfYear' of git://github.com/jasondavies/d3 into 2.9.7
2012-07-30 18:13:32 -07:00
Mike Bostock
d449be9855
Merge branch 'transition-filter' of git://github.com/jasondavies/d3 into 2.9.7
2012-07-30 18:12:37 -07:00
Jason Davies
aa3e38e398
Fix and add tests for transition.filter.
...
Thanks, @mbostock!
2012-07-25 19:36:21 +01:00
Jason Davies
5b04aa0838
Inherit ID, time and ease from parent transition.
...
Thanks, @mbostock!
2012-07-25 18:22:03 +01:00
Jason Davies
eadf003d2f
Clamp Math.sqrt to be on the safe side.
2012-07-25 15:26:05 +01:00
Jason Davies
9b3e780006
Further optimisation of d3.layout.pack.
...
Also avoids floating point errors without clamping, hopefully.
2012-07-25 13:46:20 +01:00