- 24 Mar, 2014 7 commits
-
-
Mike Bostock authored
This was fixed in 2010, so I think it’s safe to remove the workaround now.
-
Mike Bostock authored
This way, it’s easier to tell whether the touch changed during the event. This also fixes #1600 because the drag behavior now only dispatches a drag event on elements that moved, even if multiple touches are active.
-
Mike Bostock authored
The drag behavior no longer crashes when the element being dragged is removed from the DOM. In addition, the new d3.touch method extracts a single identified touch from the current touch event, making it more efficient during multitouch. The drag behavior now assigns touchmove and touchend listeners on the target element of the touchstart event, rather than the window.
-
Mike Bostock authored
The drag behavior registers a touchend listener for each started touch; however, a touchend event is dispatched to ALL listeners when any touch ends, not just for the corresponding starting touch. The drag behavior must therefore detect whenever the ending touch is the corresponding starting touch, and ignore other ending touches. This fixes the drag behavior during multitouch, as discussed in #1786.
-
Mike Bostock authored
Objects that are coercible to numbers, such as Dates, are often more usefully interpolated as numbers rather than as objects.
-
Mike Bostock authored
For backwards-compatibility, bisector checks the arity of the specified function, and if the function only takes a single argument, it is wrapped with a suitable comparator.
-
Mike Bostock authored
Fixes #1766. Unlike d3.bisector(accessor), this allows you to define a bisector that works in reverse order. An awkward aspect of implementing bisection on top of a comparator is that it is often the case that the sorted array contains objects (e.g., rows from a TSV), while the search value is a primitive value (e.g., a number). Thus, you want to apply an accessor to the array elements but not to the search value. The solution here is to invoke the comparator deterministically: the first argument is always an element from the array, and the second argument is always the search value. This lets a comparator apply an accessor to array elements but not to search values.
-
- 23 Mar, 2014 1 commit
-
-
Mike Bostock authored
Add ca-ES for localization
-
- 22 Mar, 2014 2 commits
-
-
Mike Bostock authored
Fix quadtree tests that check the children of a node
-
Jim Kang authored
Updated quadtree tests to check the `nodes` property of the node (a d3_geom_quadtreeNode) instead of treating the node as an array (which it is not) and trying to check indexes within it. e.g. `node[2]`.
-
- 21 Mar, 2014 1 commit
-
-
Roger Bramon authored
-
- 20 Mar, 2014 2 commits
-
-
Jason Davies authored
-
Jason Davies authored
Also, expose the optional zh_CN locale as d3.locale.zh_CN.
-
- 17 Mar, 2014 2 commits
-
-
Mike Bostock authored
Add pt-BR for localization.
-
Fabricio Tavares de Oliveira authored
Taken into account multiple locales support, and not custom build.
-
- 13 Mar, 2014 2 commits
-
-
Mike Bostock authored
Add zh-CN for localization
-
Alexander WU authored
-
- 09 Mar, 2014 1 commit
-
-
Mike Bostock authored
-
- 27 Feb, 2014 1 commit
-
-
Mike Bostock authored
-
- 26 Feb, 2014 1 commit
-
-
Jason Davies authored
Chrome 33 included some sin/cos optimisations, which unfortunately broke our assumption that sin(-x) + sin(x) = 0 for all x. More details here: https://code.google.com/p/v8/issues/detail?id=3006 This fix uses: sin(x) = sgn(x) * sin(abs(x)) and: cos(x) = cos(abs(x)) where it matters, which fixes area calculations for degenerate polygons such as: {"type":"Polygon", "coordinates":[[[-0.0002,0.0001],[0.0002,0.0001],[-0.0002,0.0001]]]} Fixes #1753.
-
- 18 Feb, 2014 4 commits
-
-
Mike Bostock authored
-
Mike Bostock authored
-
Mike Bostock authored
-
Mike Bostock authored
update copyright year
-
- 11 Feb, 2014 2 commits
-
-
jbblanchet authored
-
jbblanchet authored
Corrects bug where currency suffix was overwritten by SI-prefix formatting.
-
- 03 Feb, 2014 1 commit
-
-
PatrickJS authored
-
- 21 Jan, 2014 1 commit
-
-
Mike Bostock authored
add _site
-
- 20 Jan, 2014 1 commit
-
-
Jesus Magana authored
-
- 16 Jan, 2014 1 commit
-
-
Mike Bostock authored
adds composer.json closes #1674
-
- 15 Jan, 2014 2 commits
-
-
Mike Bostock authored
-
kmindi authored
-
- 14 Jan, 2014 2 commits
- 13 Jan, 2014 1 commit
-
-
Mike Bostock authored
Introduced by bfce5d5d (<= vs <).
-
- 10 Jan, 2014 3 commits
-
-
Jason Davies authored
-
Mike Bostock authored
-
Mike Bostock authored
-
- 09 Jan, 2014 2 commits
-
-
Mike Bostock authored
-
Mike Bostock authored
-