2df8c62 | Mike Bostock | 22 November 2011, 22:38:43 UTC | Merge branch 'fix-dispatch' | 22 November 2011, 22:38:43 UTC |
1b3a3b3 | Mike Bostock | 22 November 2011, 22:36:09 UTC | dispatch.on(name) returns the current listener. Fixes #383. This includes a non-backwards-compatible change to d3.rebind, so as to make it easier to rebind multiple methods on subclasses. | 22 November 2011, 22:36:09 UTC |
75ddc28 | Mike Bostock | 22 November 2011, 21:08:55 UTC | Fix a bug when removing a shared listener. Previously, each listener function had a private _on property which recorded whether the listener was enabled; this was set to false when the listener was removed. (This is necessary because of the copy-on-write semantics when the array of listeners is modified while events are being dispatched.) If the listener was registered for multiple event types ("foo" and "bar") then removing the listener for any type would disable it for all types. The fix is to wrap the listener in an object. This also has better encapsulation since the state is kept private. | 22 November 2011, 21:08:55 UTC |
5d57fa7 | Mike Bostock | 19 November 2011, 00:52:35 UTC | Add .npmignore. | 19 November 2011, 00:52:35 UTC |
b04112a | Mike Bostock | 16 November 2011, 21:55:11 UTC | Merge branch 'release' | 16 November 2011, 21:55:11 UTC |
b4c6b00 | Mike Bostock | 16 November 2011, 21:54:20 UTC | Merge branch 'transform' into release | 16 November 2011, 21:54:20 UTC |
64c4e78 | Mike Bostock | 16 November 2011, 21:53:28 UTC | Merge branch 'master' into log | 16 November 2011, 21:53:28 UTC |
3007db2 | Mike Bostock | 16 November 2011, 21:45:28 UTC | Slightly smaller code. | 16 November 2011, 21:45:28 UTC |
0ad865f | Jason Davies | 16 November 2011, 21:23:33 UTC | Bump epsilon. | 16 November 2011, 21:23:33 UTC |
204506c | Jason Davies | 16 November 2011, 21:16:14 UTC | Fix d3.transform and add browser-based tests. This fixes various corner cases involving negative and zero scales, as well as proper support for skewX, which previously wasn't being computed correctly. Fixes #377. | 16 November 2011, 21:16:14 UTC |
7fe3ae4 | Mike Bostock | 15 November 2011, 00:07:11 UTC | Fix a couple bugs with transforms. We need to check the matrix determinant for flipped coordinates. We also need to check for invalid transforms, which are now treated as the identity transform. | 15 November 2011, 00:07:11 UTC |
4090261 | Mike Bostock | 14 November 2011, 15:59:11 UTC | Merge branch 'master' of github.com:mbostock/d3 | 14 November 2011, 15:59:11 UTC |
98b6abd | Mike Bostock | 14 November 2011, 02:28:09 UTC | Improvements to collapsible force example. | 14 November 2011, 02:28:09 UTC |
3de298b | Mike Bostock | 10 November 2011, 20:35:09 UTC | Fixed precision for the default log tick format. Also add @jmarca's test case. | 10 November 2011, 20:35:09 UTC |
da47ae8 | Mike Bostock | 10 November 2011, 20:31:54 UTC | Remove spurious rounding. | 10 November 2011, 20:31:54 UTC |
5ae34aa | Mike Bostock | 09 November 2011, 19:29:27 UTC | Merge pull request #371 from jasondavies/deps Update JSDOM and Vows versions (Node.js v0.6.x compatibility). | 09 November 2011, 19:29:27 UTC |
4d6b5bc | Jason Davies | 05 November 2011, 01:53:22 UTC | Update JSDOM and Vows versions. This required changing assert.length to assert.lengthOf in tests, due to a Vows.js change to be compatible with Node.js v0.6.x. For further details: https://github.com/cloudhead/vows/pull/141 | 09 November 2011, 19:19:15 UTC |
af5fccd | Mike Bostock | 05 November 2011, 02:42:59 UTC | Use inclusive bounds for brush examples. | 05 November 2011, 02:42:59 UTC |
8cba1d7 | Mike Bostock | 05 November 2011, 02:36:50 UTC | Merge branch '2.5.0' | 05 November 2011, 02:36:50 UTC |
7ae28f1 | Mike Bostock | 05 November 2011, 02:06:43 UTC | Merge branch 'transform' into 2.5.0 | 05 November 2011, 02:06:43 UTC |
9460e7f | Mike Bostock | 05 November 2011, 02:05:06 UTC | Add transform transition example. | 05 November 2011, 02:05:06 UTC |
d85d29e | Mike Bostock | 05 November 2011, 02:03:17 UTC | Tolerate uninvertible matrices. | 05 November 2011, 02:03:17 UTC |
8d68572 | Mike Bostock | 05 November 2011, 01:08:53 UTC | Merge branch 'interpolate' of https://github.com/jasondavies/d3 into 2.5.0 | 05 November 2011, 01:08:53 UTC |
a7ff9fa | Mike Bostock | 04 November 2011, 23:46:35 UTC | Restore d3_interpolateByName for transforms. | 04 November 2011, 23:46:35 UTC |
e3f6f33 | Mike Bostock | 04 November 2011, 23:19:58 UTC | Add d3.transform and d3.interpolateTransform. This is based on @jasondavies previous work on interpolating 3D matrices, simplified to only handle 2D transforms, and using SVG to parse transforms. | 04 November 2011, 23:19:58 UTC |
ff8225b | Mike Bostock | 04 November 2011, 22:14:06 UTC | Add state names. | 04 November 2011, 22:14:06 UTC |
e78cd68 | Mike Bostock | 04 November 2011, 22:13:44 UTC | Merge branch 'interpolate' of https://github.com/jasondavies/d3 into 2.5.0 | 04 November 2011, 22:13:44 UTC |
151f0ba | Jason Davies | 04 November 2011, 22:12:05 UTC | Slightly shorter regex. Exactly the same speed in Chrome (probably both are optimised into the same form): http://jsperf.com/number-matching | 04 November 2011, 22:12:05 UTC |
e60bc4d | Jason Davies | 04 November 2011, 22:01:55 UTC | Fix minor bug in exponent notation interpolation. | 04 November 2011, 22:01:55 UTC |
6fe70a8 | Mike Bostock | 04 November 2011, 21:10:01 UTC | Remove defunct d3_interpolateByName. | 04 November 2011, 21:10:01 UTC |
306d504 | Mike Bostock | 04 November 2011, 20:48:56 UTC | Disable sorting in donut transition example. | 04 November 2011, 20:48:56 UTC |
557abcc | Mike Bostock | 04 November 2011, 20:41:02 UTC | Merge branch 'zoom-extent' of https://github.com/jasondavies/d3 into 2.5.0 | 04 November 2011, 20:41:02 UTC |
4cfdc94 | Mike Bostock | 04 November 2011, 20:39:06 UTC | Tiny simplification. | 04 November 2011, 20:39:06 UTC |
070b463 | Jason Davies | 04 November 2011, 20:38:13 UTC | Reuse infinite extent. | 04 November 2011, 20:38:13 UTC |
92b010f | Jason Davies | 04 November 2011, 20:35:09 UTC | Fix typo introduced in last commit. | 04 November 2011, 20:35:09 UTC |
1637c4b | Mike Bostock | 04 November 2011, 20:32:14 UTC | Fix merge bug. | 04 November 2011, 20:32:14 UTC |
83f9b82 | Jason Davies | 04 November 2011, 20:25:45 UTC | Merge remote-tracking branch 'mbostock/zoom' into zoom-extent Conflicts: d3.js d3.min.js src/behavior/zoom.js | 04 November 2011, 20:25:45 UTC |
d2c424a | Jason Davies | 04 November 2011, 20:22:27 UTC | A null extent should set extent to infinities. | 04 November 2011, 20:23:51 UTC |
a5b538b | Jason Davies | 04 November 2011, 20:19:14 UTC | More meaningful naming. | 04 November 2011, 20:19:14 UTC |
9006592 | Mike Bostock | 04 November 2011, 20:18:19 UTC | Merge branch 'zoom-extent' of https://github.com/jasondavies/d3 into zoom | 04 November 2011, 20:18:19 UTC |
60e80dc | Jason Davies | 04 November 2011, 20:18:18 UTC | Remove unnecessary origin accessor from zoom. I don't think this is needed any more, as we now clamp the extent in the behaviour itself. | 04 November 2011, 20:18:18 UTC |
14b8d48 | Jason Davies | 04 November 2011, 20:14:20 UTC | Fix silly bug. This was due to mishandling infinities in the clamping function, so the default extent was "backwards". | 04 November 2011, 20:14:20 UTC |
99963f0 | Mike Bostock | 04 November 2011, 19:41:42 UTC | Merge branch 'zoom-extent' of https://github.com/jasondavies/d3 into zoom | 04 November 2011, 19:41:42 UTC |
4882a64 | Mike Bostock | 04 November 2011, 19:03:01 UTC | Fix range generation for ordinal scales. Using d3.range with a floating point step is a bit sketchy, because there's a chance that too many or too few elements could be generated. Instead, we now we generate an integer range and scale it accordingly. | 04 November 2011, 19:03:01 UTC |
6aad8c7 | Mike Bostock | 04 November 2011, 18:28:27 UTC | Use a single brush for scatterplot matrix. | 04 November 2011, 18:28:27 UTC |
a9043b9 | Mike Bostock | 04 November 2011, 00:04:02 UTC | Merge pull request #363 from jasondavies/extent Use single loop for d3.extent. | 04 November 2011, 00:04:02 UTC |
98da365 | Mike Bostock | 04 November 2011, 00:02:19 UTC | Merge branch 'master' of github.com:mbostock/d3 | 04 November 2011, 00:02:19 UTC |
d11b5d9 | Jason Davies | 03 November 2011, 17:34:02 UTC | Merge remote-tracking branch 'mbostock/brush' into extent Conflicts: d3.js d3.min.js src/core/extent.js test/core/extent-test.js | 03 November 2011, 17:34:02 UTC |
a4abdc3 | Jason Davies | 03 November 2011, 16:59:41 UTC | Use a single loop for d3.extent. | 03 November 2011, 16:59:41 UTC |
2b42dec | Mike Bostock | 03 November 2011, 16:20:06 UTC | Invoke accessor once per value in d3.extent. This allows the use of nondeterministic accessors. Also add a test. | 03 November 2011, 16:20:06 UTC |
6c8b308 | Mike Bostock | 03 November 2011, 16:06:04 UTC | Add .DS_Store to .gitignore. | 03 November 2011, 16:06:04 UTC |
149320f | Mike Bostock | 02 November 2011, 23:19:37 UTC | Add parallel coordinates example. This includes a d3.extent convenience method for [d3.min, d3.max], and fixes the brush component such that the resizers are hidden when the extent is empty. | 02 November 2011, 23:19:37 UTC |
af589a0 | Mike Bostock | 02 November 2011, 18:44:29 UTC | Update SPLOM example to use d3.svg.brush. This required a couple core changes. First, the brush shouldn't notify listeners when redrawing, because this commonly causes an infinite loop if one brush triggers a change in another brush (as in a scatterplot matrix, where only one brush is active at a given time). I suppose an alternative implementation might use just a single brush, and assign the axes dynmically; I might try that in a future commit. Second, I added a clear convenience method to reset a brush. | 02 November 2011, 18:44:29 UTC |
6ebc2fc | Mike Bostock | 02 November 2011, 16:18:57 UTC | Merge pull request #359 from jasondavies/brush Remove stray global in brush example. | 02 November 2011, 16:18:57 UTC |
6651c17 | Jason Davies | 02 November 2011, 12:32:50 UTC | Remove stray global in example. | 02 November 2011, 12:32:50 UTC |
49c5b60 | Mike Bostock | 02 November 2011, 02:14:12 UTC | The space key now lets you drag temporarily! | 02 November 2011, 02:14:12 UTC |
20b68c3 | Mike Bostock | 02 November 2011, 01:08:54 UTC | Use the altKey to preserve the brush center. A somewhat hidden feature, but useful! | 02 November 2011, 01:08:54 UTC |
6e1cad4 | Mike Bostock | 01 November 2011, 23:53:09 UTC | Brush refinements. The brush component now reports brushstart and brushend events at the start and end of a brushing gesture, which is useful for some types of interaction. You can now set the brush extent programmatically, as well. Note, however, that you'll probably want to redraw the brush after setting the extent. | 01 November 2011, 23:53:09 UTC |
a475cd5 | Mike Bostock | 01 November 2011, 20:30:58 UTC | Query the brush selection. You can now query the brush for its selection. This commit also includes a new d3.random.normal for generating random numbers with a normal distribution. This is useful for jittering points for display. | 01 November 2011, 20:30:58 UTC |
42a59ac | Mike Bostock | 01 November 2011, 18:57:37 UTC | Resizeable brush. | 01 November 2011, 18:57:37 UTC |
c72f10a | Mike Bostock | 01 November 2011, 01:03:48 UTC | Add resize handles. These aren't yet hooked up to interaction, but they show the right cursor! | 01 November 2011, 01:03:48 UTC |
e3d59bd | Mike Bostock | 31 October 2011, 23:59:17 UTC | First cut at a brush component. The d3.svg.brush component allows one- or two-dimensional rectangular brushing. A future commit will allow the brushed region to be resized by grabbing an edge, and also provide some way of reporting the selection (duh)! | 31 October 2011, 23:59:17 UTC |
eda09f4 | Mike Bostock | 29 October 2011, 17:50:09 UTC | Merge branch 'touches' of https://github.com/jasondavies/d3 into 2.5.0 | 29 October 2011, 17:50:09 UTC |
392ded0 | Mike Bostock | 29 October 2011, 17:42:19 UTC | Namespaces for d3.dispatch events. Fixes #294. This isn't backwards-compatible, but d3.dispatch is considered an internal API so this doesn't require a major version bump. | 29 October 2011, 17:42:19 UTC |
0ad900a | Mike Bostock | 29 October 2011, 16:39:52 UTC | Comment re. clipping and invalid inputs. Fixes #235. | 29 October 2011, 16:39:52 UTC |
338094e | Mike Bostock | 29 October 2011, 00:11:20 UTC | Add main property to package.json. Fixes #340. | 29 October 2011, 00:11:20 UTC |
6bf2071 | Mike Bostock | 29 October 2011, 00:05:50 UTC | Merge branch 'pie' into 2.5.0 | 29 October 2011, 00:05:50 UTC |
d57e278 | Mike Bostock | 29 October 2011, 00:04:03 UTC | Sort by descending value by default. Fixes #348. | 29 October 2011, 00:04:03 UTC |
4a0c384 | Mike Bostock | 28 October 2011, 23:53:58 UTC | Coerce pie values to numbers. Fixes #347. | 28 October 2011, 23:53:58 UTC |
bb19373 | Mike Bostock | 28 October 2011, 23:48:03 UTC | Merge branch 'calendar' into release | 28 October 2011, 23:48:03 UTC |
95a4dce | Mike Bostock | 28 October 2011, 23:47:31 UTC | Tiny simplification. | 28 October 2011, 23:47:31 UTC |
31d00a9 | Johan Sundström | 18 October 2011, 20:30:20 UTC | Prettify tooltips on non-data calendar dates. | 28 October 2011, 23:43:00 UTC |
9d56825 | Mike Bostock | 28 October 2011, 23:29:23 UTC | Add comment re. Opera bug. | 28 October 2011, 23:29:23 UTC |
b073edf | Mike Bostock | 28 October 2011, 23:15:07 UTC | Merge branch 'opera-chord' of https://github.com/larskotthoff/d3 into chord | 28 October 2011, 23:15:07 UTC |
8f98f81 | Jason Davies | 25 October 2011, 08:54:19 UTC | Simplify touchend handling. We only care about changed touches for d3.behavior.drag. | 25 October 2011, 08:54:30 UTC |
c16417c | Jason Davies | 25 October 2011, 08:52:00 UTC | Better handling of "touchend". We can't check for existence of event.touches to decide whether to use it or not for touchend, as it always exists, just not containing the touch that just ended. | 25 October 2011, 08:52:00 UTC |
d0d665c | Jason Davies | 25 October 2011, 08:30:59 UTC | Optional touch array argument for d3.svg.touches. By default, we probably want to use event.touches, but for "touchend" events it's useful to retrieve the positions of event.changedTouches. | 25 October 2011, 08:30:59 UTC |
bd90a2f | Jason Davies | 25 October 2011, 08:12:42 UTC | Use changedTouches instead of touches. This is because the "touchend" event removes the touch from event.touches on iOS, but it can still be accessed via event.changedTouches. | 25 October 2011, 08:12:42 UTC |
c0e5b96 | Mike Bostock | 24 October 2011, 02:39:40 UTC | Fix two sorting bugs in chord layout. We still weren't sorting subgroups correctly. Also, we now sort chords by their average value, rather than the source value, which works well with one-sided chords (where either the source or target value is zero). | 24 October 2011, 02:39:40 UTC |
81db54c | Jason Davies | 20 October 2011, 14:54:24 UTC | Simplify code. | 20 October 2011, 14:54:24 UTC |
8bfa56c | Jason Davies | 20 October 2011, 14:52:06 UTC | Fix another bug with infinite extents. | 20 October 2011, 14:52:06 UTC |
bc2394a | Jason Davies | 20 October 2011, 14:27:02 UTC | Fix bug when no extents are specified. | 20 October 2011, 14:27:02 UTC |
a93a371 | Jason Davies | 20 October 2011, 12:15:57 UTC | Add configurable extents to d3.behavior.zoom. The extents parameter is a 3-element array of ranges, corresponding to the ranges allowed in pixel-space at zoom-level 0. Each range is a two-element array. For example, to restrict zooming and panning to a rectangle of width w and height h, with minimum zoom level 0, use: .extents([[0, w], [0, h], [0, Infinity]]) | 20 October 2011, 12:19:16 UTC |
6830a0f | Jason Davies | 22 September 2011, 14:17:23 UTC | Add configurable origin to d3.behavior.zoom. This defaults to storing the absolute scale and transform across multiple zooms. However, it can be modified to retrieve state from outside the behaviour e.g. if the offsets have been restricted in some way, the true values should be returned in a custom offset accessor. The offset accessor is called on "mousedown" or "touchstart", and so has access to the current mouse position. | 20 October 2011, 11:02:53 UTC |
2f6d2fa | Mike Bostock | 20 October 2011, 01:01:39 UTC | Merge branch 'deps' of https://github.com/jasondavies/d3 | 20 October 2011, 01:01:39 UTC |
a62bd52 | Mike Bostock | 20 October 2011, 00:57:53 UTC | Fix a bug in enter selection's empty. Due to the ordering in which the prototypes are defined, it was still undefined! Also, the empty method depends on the node method being defined. Added a test. | 20 October 2011, 00:57:53 UTC |
b4cf93f | Mike Bostock | 19 October 2011, 21:23:14 UTC | Fix cartogram for IE9. | 19 October 2011, 21:23:14 UTC |
fb07750 | Mike Bostock | 17 October 2011, 17:27:57 UTC | Add state names. | 17 October 2011, 17:27:57 UTC |
99f3cb9 | Mike Bostock | 17 October 2011, 16:54:11 UTC | Add labels to tree-interactive example. | 17 October 2011, 16:54:11 UTC |
76bcd2a | Jason Davies | 17 October 2011, 07:43:27 UTC | Update JSDOM to 0.2.8. | 17 October 2011, 07:43:27 UTC |
3f3569c | Mike Bostock | 14 October 2011, 20:45:16 UTC | Consistent timing for subtransitions. It was previously possible for small differences in the reference time for subtransitions. This could lead to tearing with expensive transitions, as some transitions would have slightly different reference times than the others. This is fixed by passing the reference time along explicitly when deriving a new transition, either by the transition or selection operators. | 14 October 2011, 20:45:16 UTC |
c724d95 | Jason Davies | 10 October 2011, 07:27:24 UTC | Update UglifyJS, JSDOM and Vows. I ran the tests on the newly minified files too, for good measure, and everything passed. | 13 October 2011, 10:35:59 UTC |
c623877 | Mike Bostock | 13 October 2011, 07:30:45 UTC | Add hierarchical bar chart example. | 13 October 2011, 07:30:45 UTC |
4731d2c | Mike Bostock | 13 October 2011, 00:55:08 UTC | Calendar example improvements. | 13 October 2011, 00:55:08 UTC |
c86108e | Mike Bostock | 12 October 2011, 22:37:32 UTC | Fix a daylight savings bug in d3.time.format. We weren't computing the day-of-year number correctly, which affected both day number and week number directives (%j, %U, and %W). | 12 October 2011, 22:37:32 UTC |
846bd5c | Mike Bostock | 12 October 2011, 21:02:57 UTC | Add dji-area example with ggplot2 styles. | 12 October 2011, 21:02:57 UTC |
32907ec | Mike Bostock | 12 October 2011, 01:02:06 UTC | Merge branch 'release' | 12 October 2011, 01:02:06 UTC |
639f802 | Mike Bostock | 12 October 2011, 01:01:43 UTC | Merge branch 'nice' into release | 12 October 2011, 01:01:43 UTC |
b5a1c34 | Mike Bostock | 12 October 2011, 01:01:25 UTC | Merge branch 'nice' of https://github.com/jasondavies/d3 into nice | 12 October 2011, 01:01:25 UTC |
2adcdfe | Mike Bostock | 12 October 2011, 00:46:13 UTC | Add extended ISO 8601 support. The d3.time.format.iso is designed to be compatible with the default JSON serialization of dates, which includes milliseconds. So, d3.time.format now supports the %L directive for formatting and parsing milliseconds. This commit also changes d3.time.format.iso to use native ISO date methods, if available. | 12 October 2011, 00:46:13 UTC |