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

1368 Коммитов

Автор 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 c3516c06a6 Update src/package.js rather than package.json. 2012-02-18 11:51:45 -08:00
Mike Bostock c042431222 Merge branch 'better-node-package' into v2.8.0 2012-02-18 11:46:18 -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
Mike Bostock 4949310bce Merge branch 'fix-polylinear' into v2.8.0 2012-02-18 11:39:43 -08:00
Mike Bostock 4345a0ce02 Merge branch 'force-stop' of https://github.com/jasondavies/d3 into v2.8.0 2012-02-18 11:39:24 -08:00
Mike Bostock 80e0e78127 Merge pull request #508 from jasondavies/rollup
Add PivotGraph (rollup) layout example.
2012-02-16 08:43:19 -08:00
Jason Davies 58e640cbcb Fix incorrect x/y swap in rollup example. 2012-02-16 16:19:53 +00:00
Jason Davies 191445a5c5 Add linkSource, linkTarget and linkValue to rollup. 2012-02-16 16:16:51 +00:00
Jason Davies 4f37a4869b Prevent next tick when force.stop is called.
This is useful when stopping the layout in response to a user action,
e.g. if another layout is used to position the nodes in an event
handler.  In this case, we don't want the next tick of the force layout
to run as it could undo the positioning work done in the event handler.
2012-02-16 12:49:20 +00:00
Jason Davies 1a9cd3c2ea Simplify again. 2012-02-16 09:50:16 +00:00
Jason Davies 17fdd13509 Simplify. 2012-02-16 09:45:50 +00:00
Jason Davies fef068d2da Add PivotGraph (rollup) layout example.
This is ported from the Protovis implementation, pv.Layout.Rollup.
The only difference is that the rollup nodes are not instances of any
original nodes (Protovis used pv.extend).  Users are expected to use the
"x" and "y" properties of the rollup node, or alternatively the "rolled
up" nodes can be retrieved via the "nodes" property.
2012-02-16 09:02:06 +00: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 de8cddc6b8 forgot to follow spacing rules 2012-02-14 16:09:52 -08:00
Trevor Norris 25c0bca405 update d3.js and d3.min.js 2012-02-14 16:04:03 -08:00
Trevor Norris 76b13d547f use better method for calculating error correction. add test that failed the old method. 2012-02-14 16:03:38 -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
Mike Bostock 7a4a8ec8fe Fix for negative-size nodes in IE9. Fixes #498. 2012-02-12 08:41:58 -08:00
Jason Davies e0b733cc8d Simplify tree examples. 2012-02-10 09:39:29 +00:00
Mike Bostock 3a4f45fc5c Add index.js for easier usage within Node.
This allows you to require("d3") with no additional dependencies, and without
polluting the global namespace. Fixes #475.
2012-02-09 09:09:23 -08:00
Jason Davies 56bd6146b3 Fix typo in examples: "dendogram" -> "dendrogram". 2012-02-09 00:23:40 +00:00
Jason Davies d6e184b451 Fix typo in comment: "dendogram" -> "dendrogram". 2012-02-09 00:20:59 +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
Trevor Norris 87f48b7aa2 fix range increment error caused by IEEE 754 2012-02-07 14:09:39 -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 85ad3c16b0 Fix polygon.centroid for open polygons.
The implementation assumed closed polygons, but it should work on either. This
is a partial fix for #443.
2012-01-29 14:29:14 -08:00
Mike Bostock 0e5bca1e0a Inclusive upper bound for time scale ticks.
Fixes #478.
2012-01-29 13:44:48 -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 f67e89597d Expand the default custom build. 2012-01-26 11:58:40 -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
Mike Bostock cdcde01615 Merge branch 'treemap-overlap' of https://github.com/jasondavies/d3 into 2.7.x 2012-01-26 10:48:32 -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
Jason Davies 1708e5e7a5 Fix treemap overlap problem.
See #136.
2012-01-25 17:36:45 +00:00
Mike Bostock 8b8e31b33a Better zoom example using d3.svg.brush. 2012-01-23 18:15:52 -08:00
Mike Bostock 3e8e4e30eb Fix a bug in tick guestimation. 2012-01-23 15:23:10 -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