Andrew Sutherland
714a961c79
better fix for empty array
2012-01-23 13:35:08 -08:00
Andrew Sutherland
9cc5585aec
fixing ie parse error
2012-01-23 12:45:10 -08:00
Jim Radford
00ed4c4155
A more accurate .round()
2012-01-22 18:43:23 -08:00
Mike Bostock
f176785b83
Fix a bug when setting extent.
2012-01-22 10:12:41 -08:00
Mike Bostock
5b27271364
Fix polylinear descending domains or ranges.
...
Fixes #446 .
2012-01-18 13:10:00 -08:00
Mike Bostock
ad76418aee
Merge branch 'master' of github.com:mbostock/d3
2012-01-17 13:08:48 -08:00
Mike Bostock
fbcb0281e3
Merge branch 'release'
2012-01-17 13:07:17 -08:00
Mike Bostock
f21d6b826b
Fix a bug in circle-packing layout.
...
There's an edge condition which is not discussed in the original algorithm
("Visualization of Large Hierarchical Data by Circle Packing", Wang et. al):
what happens if the first intersecting circle C_j is equidistant from C_m and
C_n? In other words, it is both after C_n on the front-chain, and before C_m.
The correct answer is that you should splice the smaller of the two circles. If
C_m is smaller than C_n, then splice from C_j to C_n and set C_m to C_j;
otherwise, splice from C_m to C_j, and set C_n to C_j.
2012-01-17 13:02:19 -08:00
Mike Bostock
930029ecbe
Merge branch 'order' of https://github.com/jasondavies/d3 into release
2012-01-17 10:39:56 -08:00
Mike Bostock
be63aaf928
Merge pull request #441 from jasondavies/spline
...
Simplification to spline example.
2012-01-13 09:13:40 -08:00
Jason Davies
1becccbdf6
Simplification to spline example.
2012-01-13 13:16:14 +00:00
Mike Bostock
d3d4ceecbb
Fix a bug with entering tick transition.
...
The tick sizes need to be set, else they grow from zero.
2012-01-01 16:58:38 -08:00
Mike Bostock
149d174029
Fix NaN in clamped log scale inversion.
2012-01-01 12:15:22 -08:00
Mike Bostock
5bae5f4788
Add test for range clamping.
2012-01-01 11:44:49 -08:00
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