https://github.com/d3/d3

sort by:
Revision Author Date Message Commit Date
4e4709c Fix selection.interrupt. Even if no further transitions are scheduled on the element, we must still advance the active counter to interrupt the active transition. Fixes #2165. Also added better tests that verify interruption. 30 December 2014, 17:03:54 UTC
4a4c3ce Merge branch '3.5.2' 09 December 2014, 18:11:40 UTC
ee0e2d7 Fix d3.transition(name). 09 December 2014, 17:39:27 UTC
e4ff113 Include d3.variance and d3.deviation by default. 08 December 2014, 19:57:19 UTC
8a0fe7f Merge branch '3.5.1' 08 December 2014, 18:50:38 UTC
d316211 Better interruption semantics. When a transition is interrupted, the interrupt event is dispatched immediately (such as within a call to selection.interrupt). This is easier to understand and guarantees that the interrupt event on an interrupted transition is dispatched prior to the start event on an interrupting transition, fixing #2140. Calling selection.interrupt repeatedly no longer cancels any scheduled (but inactive) transitions, fixing #2141. Calling selection.interrupt when there is no active transition now has no effect. An interrupt event is only dispatched if the active transition is interrupted, and not if a scheduled transition was cancelled, as when a delayed transition is superceded by an earlier transition on the same element. These transitions are cancelled silently, fixing #2144. Lastly, transition event listeners now see the latest bound data, rather than using the data that was captured shortly after the transition was scheduled. Fixes #2142. 08 December 2014, 18:39:53 UTC
bb52d62 Allow d3.transition to take an optional name. 08 December 2014, 17:44:25 UTC
737a991 Merge branch '3.5' 06 December 2014, 22:28:55 UTC
23cfc1f Allow zoom.duration to be set. 06 December 2014, 21:54:07 UTC
0f9e0c9 Merge remote-tracking branch 'origin/transition-duration' into 3.5 06 December 2014, 21:47:51 UTC
97bc2fe Match GitHub description. Fixes #2129. 06 December 2014, 21:31:35 UTC
bdbeec9 Ignore more files for Bower. Fixes #2104. 06 December 2014, 21:26:08 UTC
fbc1562 Merge branch 'master' into 3.5 06 December 2014, 21:21:54 UTC
595088c Fix component.json. The required field is "repository" rather than "repo". Also, the empty dependencies and development should be implied and can be removed. 06 December 2014, 21:21:04 UTC
c1a786e Allow padRadius to be specified explicitly. 01 December 2014, 19:42:10 UTC
446e219 Fix padding for non-circular pie layout. 20 November 2014, 17:58:14 UTC
7653608 Slightly shorter. 20 November 2014, 05:48:07 UTC
57a6499 Disallow negative radii. 20 November 2014, 05:39:58 UTC
78380ca Handle inverted inner & outer radii. 20 November 2014, 05:38:29 UTC
c1d7838 Avoid very small corners. https://code.google.com/p/chromium/issues/detail?id=434963 (Also ignore a negative corner radius.) 20 November 2014, 03:30:12 UTC
a6cc4cc Simplify tangent calculation. 19 November 2014, 23:19:45 UTC
dd3b903 Fix for counterclockwise rounded arcs. 19 November 2014, 18:31:48 UTC
7dedda9 Fix bug with counterclockwise pie padding. 19 November 2014, 18:25:27 UTC
af3f25f Add closing Z on circles. Also fix arc tests that were using arc segments of angular length π: the large- sweep flag is ambiguous in this case, so use arcs of length π / 2 instead. 19 November 2014, 17:57:21 UTC
13c647b Cleaner. 19 November 2014, 17:41:00 UTC
bc83c0f YES 19 November 2014, 08:04:32 UTC
cc57ddb So close! 19 November 2014, 07:50:51 UTC
b792bd9 Correct sweep flag. 19 November 2014, 05:32:10 UTC
f7887e9 Mostly working. 19 November 2014, 05:28:43 UTC
60b6798 Clamp padAngle. 19 November 2014, 03:54:55 UTC
e2ef1c7 Checkpoint. 18 November 2014, 07:02:44 UTC
7d78859 Simpler logic for arc padding. Rather than dynamically increasing the inner radius for thin wedges, preserve the inner radius but relax the requirement for sides parallel with the adjacent arc. As long as the inner radius is reasonably big, the behavior is pleasing and consistent. The recommended minimum inner radius when using padding is outerRadius * padAngle / sin(θ), where θ is the angle of the smallest arc (without padding). For example, if the outerRadius is 200 pixels and the padAngle is 0.02 radians, a reasonable θ is 0.04 radians and a reasonable innerRadius is 100 pixels. 18 November 2014, 05:48:23 UTC
8b08481 Comment. 17 November 2014, 23:43:14 UTC
687b886 Fix for counter-clockwise rounded arcs. 17 November 2014, 23:21:57 UTC
fa6634a Mostly working, except when counterclockwise. 17 November 2014, 21:59:30 UTC
363bf42 Checkpoint. 17 November 2014, 21:53:33 UTC
2aeb26c Fix thin wedges, again. 17 November 2014, 19:30:05 UTC
947757b More fixes for thin wedges. 17 November 2014, 19:01:59 UTC
56e0049 Better handling of thin wedges. 17 November 2014, 17:03:43 UTC
f1db2ea Avoid crash when accessing padAngle. For backwards compatibility, do not attempt to query the padAngle if the input data is not truthy. 17 November 2014, 07:49:24 UTC
d28cc3b Allow padAngle accessor to be set. 17 November 2014, 07:47:12 UTC
d2d8792 Replace padding with padAngle. The pie layout now exports the padAngle so that it can be used by d3.svg.arc to inset the arc accordingly. 17 November 2014, 07:40:44 UTC
659e181 Condense. 17 November 2014, 06:09:18 UTC
89ffe0e Cleaner logic. 17 November 2014, 05:58:29 UTC
c989fef Handle counter-clockwise arcs. 17 November 2014, 04:46:02 UTC
4229bd8 Compute maximum corner radius. 17 November 2014, 04:39:47 UTC
c0e2360 Fix corner tangent. 17 November 2014, 02:58:58 UTC
080147d Partial implementation of arc.cornerRadius. Still need to implement corners for inner arcs and handle the case where there is not enough room to draw the corners (in which case the corner radius will be reduced as necessary). Related #1131. 16 November 2014, 23:28:29 UTC
b850f11 Padding for d3.layout.pie. Similar to @sebastianseilund’s implementation in 19b9626, but with some style tweaks and handling more edge cases, such as when the pie layout is configured in counterclockwise orientation or when the space reserved for padding exceeds the total available space. (I still need to merge or implement tests.) 16 November 2014, 06:50:27 UTC
fcd87f6 Merge branch 'shuffle-subset' of github.com:PrajitR/d3 into shuffle-subset 15 November 2014, 22:35:29 UTC
94168fa Double-tap zoom transition. 15 November 2014, 22:19:49 UTC
2dc5105 Allow counter-clockwise arcs. If the start angle is greater than the end angle, the arc is now drawn counter- clockwise. This is sometimes useful in conjunction with text paths. Fixes #1749. 15 November 2014, 16:57:34 UTC
60df296 Transitions for dblclick. 15 November 2014, 01:59:23 UTC
7042c93 Merge branch 'master' of github.com:southdesign/d3 into deviation 14 November 2014, 21:31:28 UTC
3fb2608 quadtree.find takes ([x, y]), not (x, y). This makes it easier to use with d3.mouse. 14 November 2014, 21:13:49 UTC
1d4c3f3 Merge remote-tracking branch 'origin/quadtree-find' into 3.5 14 November 2014, 21:04:12 UTC
80e9f3c Pre-release version number. 14 November 2014, 20:55:22 UTC
44f4985 Merge remote-tracking branch 'origin/range-round-points' into 3.5 14 November 2014, 20:54:48 UTC
493f2eb Merge remote-tracking branch 'origin/interrupt-event' into 3.5 Conflicts: src/transition/each.js 14 November 2014, 20:54:25 UTC
802ec82 Merge branch 'canadian-locales' of github.com:serhalp/d3 into 3.5 14 November 2014, 20:53:01 UTC
617cedc Merge branch 'dorotka-master' into 3.5 14 November 2014, 20:52:33 UTC
c1588ce Merge branch 'master' of github.com:dorotka/d3 into dorotka-master 14 November 2014, 20:52:23 UTC
b683163 Merge branch 'pelson-rotation_dep_on_compose' into 3.5 14 November 2014, 20:52:08 UTC
c4aec8e Merge branch 'rotation_dep_on_compose' of github.com:pelson/d3 into pelson-rotation_dep_on_compose 14 November 2014, 20:51:42 UTC
b42de3c Merge remote-tracking branch 'origin/namespaced-transitions' into 3.5 Conflicts: src/transition/subtransition.js 14 November 2014, 20:51:06 UTC
7f83273 Merge remote-tracking branch 'origin/undefined' into 3.5 14 November 2014, 20:50:10 UTC
5ad4647 Merge remote-tracking branch 'origin/fix-point-stroke' into 3.5 14 November 2014, 20:49:41 UTC
e0a6be6 Merge remote-tracking branch 'origin/map-of-array' into 3.5 14 November 2014, 20:45:27 UTC
534866e Merge remote-tracking branch 'origin/slice' into 3.5 14 November 2014, 20:44:56 UTC
2771654 Merge remote-tracking branch 'origin/strict-function' into 3.5 14 November 2014, 20:44:35 UTC
2db7e92 Merge remote-tracking branch 'origin/transition-gc' into 3.5 14 November 2014, 20:44:07 UTC
135a84a Allow garbage collection of inherited transition. When creating a new transition derived from an existing transition, the new transition’s parameters (reference time, delay, duration and easing) are inherited. However, we were inadvertantly also capturing a reference to the old transition lock, including any tweens and listeners. Even though this object wasn’t used by the transition after creation, it’s likely that the garbage collector wasn’t smart enough to free the old lock. We now set the lock to null explicitly so as to allow garbage collection and avoid a memory leak with chained transitions. Related #2110. Also, create a new object when using transition.transition rather than using Object.create. It’s slightly more code, but it’s simpler. 14 November 2014, 18:59:33 UTC
f82dd6f Remove redundant parentheses. 13 November 2014, 17:31:46 UTC
2d48c8a Remove function declaration inside conditional. Strictly speaking, this is not legal ECMA-262 syntax, since a function declaration is not a statement and thus shouldn’t appear as part of a block. The reason for this is inconsistent hoisting behaviour across implementations. For example, V8 will always hoist a function declaration, even if it’s inside a conditional block, but Firefox will not hoist function declarations inside conditional blocks. Fixes #2114, #1553. 13 November 2014, 10:13:24 UTC
e221ab0 Shorten. Slicing an array with a negative end index indicates an offset from the end of the array. 03 November 2014, 22:06:33 UTC
9bb8561 Fix #2031 - Create a map from an array. The d3.map constructor can now be used to index the elements of an array by an optional key function, providing a convenient (and faster) alternative to using d3.nest. Before: var objectByKey = d3.nest() .key(function(d) { return d.key; }) .rollup(function(values) { return values[0]; }) .map(objects, d3.map); After: var objectByKey = d3.map(objects, function(d) { return d.key; }); Note that the behavior of the d3.map constructor now changes slightly when a sparse array is used. Previously, missing elements from sparse arrays were skipped by the for-in loop, but now missing elements are indexed. 24 October 2014, 18:30:54 UTC
6467340 Fix extra stroke when drawing points. The canvas arc commands starts at the positive x-axis, so we must move there before drawing the arc, rather than moving to the circle’s center. 23 October 2014, 22:08:17 UTC
688fd6d Remove references to undefined. Although unlikely, it’s possible to reassign `undefined` externally so that it affects internal behaviour of any functions that reference it. This doesn’t affect the minified code, since `undefined` is replaced with `void 0` by UglifyJs. Although it’s not possible to defend against all possible ways of modifying core JavaScript functionality, it seems simple enough to avoid it in a few limited cases, and this change barely affects the minified and gzipped sizes. Fixes #2077. 23 October 2014, 21:04:11 UTC
d659844 Merge pull request #2085 from rbu/locale-leading-zero-in-date Use zero-padded day of the month in DE+FR 23 October 2014, 17:25:17 UTC
0e5a8c1 Use zero-padded day of the month in DE+FR Currently, dates get formatted as "1.01.2014" which is inconsistent. Other locales use "01.01.2014" or comparable as well. 23 October 2014, 17:05:38 UTC
0022fcb Namespaced transitions. 23 October 2014, 17:02:09 UTC
3d8797b Modified months shortcuts After further discussion with a friend doing Phd in Polish language I made some changes to the months shortcuts. 22 October 2014, 22:55:54 UTC
4612d2f Merge branch 'master' into interrupt-event 22 October 2014, 17:43:21 UTC
ac5885b Ran make 21 October 2014, 13:21:25 UTC
89f1e65 Added compose as a dependency of rotation. 21 October 2014, 12:43:31 UTC
9364923 Bump version. 17 October 2014, 12:01:43 UTC
1398d4d Simplify benchmark. 17 October 2014, 06:22:56 UTC
74aaf24 Use d3_numeric for !isNaN. 17 October 2014, 06:20:36 UTC
57e07f9 Rename `array1` to `numbers`. 17 October 2014, 06:15:57 UTC
ad7e17d Merge branch 'axis-finite' into 3.4.13 17 October 2014, 06:04:51 UTC
f1bb569 Merge branch 'fix-format' into 3.4.13 17 October 2014, 06:04:11 UTC
2af1d30 Merge branch 'interpolate-precision' into 3.4.13 17 October 2014, 06:03:41 UTC
669b934 Merge branch 'stack-empty' into 3.4.13 17 October 2014, 06:02:59 UTC
c4870f4 Merge branch 'fix-falsey-dsv-accessor' into 3.4.13 17 October 2014, 06:02:25 UTC
8852a1c Merge branch 'fix-d3-global' into 3.4.13 17 October 2014, 06:01:52 UTC
4c62314 Merge branch 'fix-hcl-lab' into 3.4.13 17 October 2014, 06:01:34 UTC
a18b3f3 Merge branch 'fix-mean-string' into 3.4.13 17 October 2014, 06:00:51 UTC
84e242f Merge branch 'optimize-axis' into 3.4.13 17 October 2014, 06:00:20 UTC
a64f6df set.add should return the string-coerced value. 17 October 2014, 05:24:52 UTC
a7cb015 Object.defineProperty is now required. Since d3.map and d3.set now rely on Object.create(null), we also now rely on Object.defineProperty to create non-enumerable properties. 17 October 2014, 05:16:51 UTC
back to top