Jason Davies
b9a03ad84a
Optimise selection.order.
...
A small optimisation: only call insertBefore() if node.nextSibling isn't
already what we want, so that document nodes that are already in the
correct order can be skipped.
2011-12-31 09:28:42 +00:00
Mike Bostock
a92f8b3ed0
Merge branch '2.7.1'
2011-12-30 12:00:45 -08:00
Mike Bostock
1a8e8758c4
Merge branch 'package' of https://github.com/jasondavies/d3 into 2.7.1
2011-12-30 11:58:51 -08:00
Mike Bostock
f7c98d10e9
Merge branch 'cluster' of https://github.com/jasondavies/d3 into 2.7.1
2011-12-30 11:58:36 -08:00
Mike Bostock
394d384633
Merge branch 'pie' of https://github.com/jasondavies/d3 into 2.7.1
2011-12-30 11:57:46 -08:00
Mike Bostock
6220d30689
Merge branch 'axis-ordinal' of https://github.com/jasondavies/d3 into 2.7.1
2011-12-30 11:57:32 -08:00
Mike Bostock
22cdb642cd
Merge branch 'html-text-undefined' of https://github.com/jasondavies/d3 into 2.7.1
2011-12-30 11:56:59 -08:00
Mike Bostock
6c80963884
Don't initialize svg:g until d3.transform is called.
...
Fixes #395 .
2011-12-30 11:24:59 -08:00
Mike Bostock
09c6e51dbd
Use mime type for accept header.
...
Fixes #412 .
2011-12-30 11:22:13 -08:00
Mike Bostock
3e6969d0a4
Merge branch 'chord' into 2.7.1
2011-12-30 11:05:52 -08:00
Jason Davies
f217c23472
Reinstate JSDOM as a primary npm dependency.
...
Also, set vows version to "0.6.x" as the exact patch version is not
important right now.
2011-12-30 18:41:40 +00:00
Jason Davies
0fc6b900bb
Update dependency versions.
2011-12-28 11:41:55 +00:00
Mike Bostock
2d660756bb
Use filter for class and title.
2011-12-27 10:08:22 -08:00
Mike Bostock
5804a833a5
Merge branch 'master' of https://github.com/andycjw/d3 into fix-calendar
2011-12-27 09:59:12 -08:00
Ger Hobbelt
7d298c0e8f
corrected fix for the calendar example: do NOT mix UTC and Local TimeZone date operations in calculations which depend on identifying day/month transitions - default JavaScript Date object works with 'local timezone'. Fix tested in AZ/USA and Amsterdam/EUR timezones.
2011-12-27 11:24:46 +01:00
Andy Chong
2aecd70a36
the use of getUTCxxx() instead of getXxx() draw the wrong path for some timezone, the t1 will be previous year instead since t0 is not UTC timezoned
2011-12-27 16:32:15 +08:00
Gerard Hundman
da76aa249c
bugfix for D3.JS bug in calendar demo: edge around months was drawn incorrectly; this was apparent at each December month.
2011-12-20 23:22:01 +01:00
Mike Bostock
7d2ce55914
Fix a bug in SPLOM axes.
...
Array.reverse does not create a copy of the array, so we must slice first.
2011-12-20 08:39:01 -08:00
Jason Davies
adb57e2aa8
Slightly shorter syntax.
...
Thanks to "code golfer" @mbostock. :)
2011-12-15 19:07:12 +00:00
Jason Davies
bb47c10966
Treat undefined like null when setting html/text.
...
Fixes #405 .
2011-12-15 17:55:03 +00:00
Jason Davies
ac7e87e0a7
Test ordinal rangeExtent with explicit range.
2011-12-14 09:27:58 +00:00
Jason Davies
beab196164
Fix d3.scale.ordinal().rangeExtent().
2011-12-14 09:22:49 +00:00
Jason Davies
1a98398be0
Fix d3.svg.axis path for explicit ordinal range.
2011-12-14 09:15:25 +00:00
Jason Davies
23bb946a5c
Update generated files.
2011-12-13 14:43:15 +00:00
Jason Davies
f13f3b5b29
Remove unused variable.
2011-12-13 13:40:46 +00:00
Jason Davies
8efedd5386
Simplification to previous commit.
2011-12-13 13:39:36 +00:00
Jason Davies
c603af8e5e
d3.layout.pie: return arcs in original data order.
...
Fixes #406 .
2011-12-13 13:32:51 +00:00
Jason Davies
d49c499c68
Handle single node in d3.layout.cluster.
...
If there is only one node, it will be positioned at y = 0, which is
consistent with d3.layout.tree.
Fixes #396 .
2011-12-13 12:49:09 +00:00
Mike Bostock
6477daa9ee
Fix #403 - big chords.
2011-12-10 18:24:09 -08:00
Jason Davies
5166102c2f
Update dependencies and use "devDependencies".
...
Using "devDependencies" prevents "vows" etc. from being installed if D3
is being installed as a dependency. I'm not sure whether "jsdom" counts
as a true dependency or not as we only really use it for the tests.
I've also added a "scripts": {"test": …} parameter, which specifies what
happens when you run "npm test".
2011-12-10 09:42:12 +00:00
Mike Bostock
05d871b716
Merge branch 'order'
2011-12-08 18:06:31 -08:00
Mike Bostock
b3848afcca
Fix minified file.
2011-12-08 17:55:46 -08:00
Mike Bostock
1c1cb35aed
Merge branch 'geomcollection_bounds' of https://github.com/natevw/d3 into order
2011-12-08 17:54:31 -08:00
Mike Bostock
a6f87e751c
Allow selectors for selection.filter.
...
Fixes #397 .
2011-12-08 17:49:22 -08:00
Mike Bostock
4a35d78848
Add selection.order.
...
It's like selection.sort, except it assumes that the data is already sorted;
the elements are reordered to match the selection.
2011-12-08 17:14:08 -08:00
Nathan Vander Wilt
9ae8feea6f
add GeometryCollection support to d3.geo.bounds
2011-12-06 16:07:45 -08:00
Mike Bostock
fe671a70e2
Merge branch 'release'
2011-11-29 21:57:58 -08:00
Mike Bostock
33ab885baa
Merge branch 'fix-interpolate-number' into release
2011-11-29 21:57:20 -08:00
Mike Bostock
497211376b
Merge branch 'fix-log-precision' into release
2011-11-29 21:56:46 -08:00
Mike Bostock
2be4efd609
Fix #392 - interpolate string to number.
2011-11-29 21:55:51 -08:00
Mike Bostock
a752b9627f
Fix #394 .
2011-11-29 21:36:51 -08:00
Jason Davies
12711f2e49
d3.svg.*: namespaces are optional as of v2.6.0.
2011-11-23 22:54:09 +00:00
Jason Davies
5a87998694
Examples: namespaces are optional as of v2.6.0.
2011-11-23 22:48:13 +00:00
Mike Bostock
817358a7b2
Namespaces are optional now!
2011-11-23 13:04:39 -08:00
Mike Bostock
9523f94998
Merge branch 'release'
2011-11-23 13:00:39 -08:00
Mike Bostock
9c9266606c
Merge branch 'transpose' into release
2011-11-23 12:59:49 -08:00
Mike Bostock
ee3954c11f
Merge branch 'ordinal-axis' into release
2011-11-23 12:59:31 -08:00
Mike Bostock
0404f35cb9
Merge branch 'drag' into release
2011-11-23 12:59:06 -08:00
Mike Bostock
11c1e7a906
Infer namespaces for root element.
...
Now if you add an "svg" element, we automatically infer the namespace because
there is an "svg" namespace prefix. In conjunction with inheriting the namespace
from the parent element, this means that namespaces are almost optional!
2011-11-23 12:56:03 -08:00
Mike Bostock
cc3f5da0bb
Merge branch 'master' into default-namespace
2011-11-23 12:44:49 -08:00