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

532 Коммитов

Автор SHA1 Сообщение Дата
Mike Bostock 1643aa9b46 Merge branch 'master' of https://github.com/trevnorris/d3 into v2.8.0
I simplified the implementation, though it still seems somewhat magical. I
would be more confident if there were an easy way to extract the mantissa and
exponent from a floating point number, but since JavaScript does not expose the
bitwise representation of numbers, there's no easy way to do it.
2012-02-18 13:05:02 -08:00
Mike Bostock cfd5915035 Merge branch 'tweaks' of https://github.com/jasondavies/d3 into v2.8.0 2012-02-18 11:40:32 -08:00
Trevor Norris 8178c2961b clean up step calculations. add better method for values with no decimal part. included additional tests to demonstrate fixes. 2012-02-15 14:23:27 -08:00
Trevor Norris 25c0bca405 update d3.js and d3.min.js 2012-02-14 16:04:03 -08:00
Mike Bostock 744aa9696e Define behavior for mismatched domain & range. 2012-02-13 23:11:05 -08:00
Jason Davies 8182f8dfe7 Remove a few more extraneous semicolons. 2012-02-13 21:44:53 +00:00
Jason Davies b2a701ead2 Remove extraneous semicolon. 2012-02-08 21:46:01 +00:00
Trevor Norris 8cd0872141 update d3.js and d3.min.js 2012-02-07 14:37:18 -08:00
Mike Bostock 76400ac15d Merge branch 'release' 2012-02-01 20:07:45 -08:00
Mike Bostock feb1da151f Merge branches 'fix-polygon', 'fix-interpolate-transform', 'fix-multiyear-time-scale' and 'dispatch-chain' into release 2012-02-01 20:06:44 -08:00
Mike Bostock ca113b6cca Minimize d3.interpolateTransform.
Fixes #480.
2012-01-29 19:24:10 -08:00
Mike Bostock 117942e284 Sub-second and multi-year ticks for time scales.
Fixes #428. This is built on top of existing tick support for linear scales: for
small intervals, a linear scale computes ticks based on milliseconds; for large
intervals, a linear scale computes ticks based on fractional years. This commit
also extends the time scale's formatter to display milliseconds.
2012-01-29 13:28:49 -08:00
Mike Bostock fef4f911db Merge branch 'dispatch-chain' of https://github.com/jasondavies/d3 into dispatch-chain 2012-01-29 10:43:22 -08:00
Mike Bostock 303478b90b Merge branch '2.7.x' 2012-01-26 11:18:42 -08:00
Mike Bostock cc5de6d7d1 Fix new d3.round implementation.
The second argument, n, is optional.
2012-01-26 11:05:06 -08:00
Mike Bostock 42352b259d Merge branch 'master' of https://github.com/radford/d3 into 2.7.x 2012-01-26 11:02:17 -08:00
Mike Bostock 4206b690d1 Merge branch 'master' of https://github.com/quizlet/d3 into 2.7.x 2012-01-26 11:01:52 -08:00
Jason Davies e85eefe8ba Allow event firing to be chained. 2012-01-26 10:00:35 +00:00
Mike Bostock 1a74fa2b58 Transition.remove should use an event namespace.
Fixes #471. This prevents transition.remove() from clobbering another transition
"end" event listener, or vice versa.
2012-01-26 00:16:44 -08:00
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 fbcb0281e3 Merge branch 'release' 2012-01-17 13:07:17 -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 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
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 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
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 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
Mike Bostock 6477daa9ee Fix #403 - big chords. 2011-12-10 18:24:09 -08:00
Mike Bostock 05d871b716 Merge branch 'order' 2011-12-08 18:06: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
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
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