Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jul 3, 2012
  1. Merge branch '2.9.6'

  2. Fix more bugs in circle clipping.

    It was returning 0 rather than null when a feature was completely clipped, and
    it was crashing when a closed polygon was completely clipped.
Commits on Jul 2, 2012
  1. Optimize greatArc and circle.

    When clipping, the origin of the great arc doesn’t change, so we can cache a
    number of intermediate values and accelerate the clipping computation.
  2. Condense code slightly.

  3. @jasondavies
  4. @jasondavies
  5. @jasondavies

    Fix #691: remove incorrect last interpolation step.

    jasondavies authored
    For closed polygons, the last point should simply be connected to the
    first clipped point, rather than be clipped to the clipping circle.
Commits on Jun 29, 2012
Commits on Jun 28, 2012
  1. Faster d3.geo.path implementation.

    Rather than creating separate arrays for each geometry, a shared buffer is used
    and the array is only converted to a string once.
Commits on Jun 25, 2012
  1. Don't transition label positioning attributes.

    The axis component no longer uses a transition for the text elements' dy and
    text-anchor attributes. This makes it easier to style the labels using post-
    selection, since the transition will not override custom attribute values.
Commits on Jun 24, 2012
  1. Merge branch '2.9.5'

  2. Remove extraneous parens.

  3. Add generated files.

  4. Fix bug with unexpected transition inheritance.

    Prior to this change, transitions used transition.each internally, which had the
    unexpected side-effect of enabling transitions on d3.transition(selection) when
    called from within a tween function. This would only occur on the first
    invocation of the tween function when the elapsed time between the transition
    creation and the transition start was greater than the transition delay;
    however, this is fairly common as the default delay for transitions is zero.
    This bug caused unexpected behavior if you tried to redraw an axis within a
    custom tween function: in some cases, the synchronous redraw of the axis would
    compete with a concurrent transition, causing unexpected behavior. By avoiding
    the use of transition.each internally, the user now controls when automatic
    transitions are enabled.
Commits on Jun 22, 2012
Commits on Jun 20, 2012
  1. @krid

    Remove spurious whitespace from class name list before splitting to e…

    krid authored
    …liminate null strings, which generate an error from classed(value, false). Fixes #675.
Commits on Jun 19, 2012
  1. Merge branch '2.9.4'

Commits on Jun 14, 2012
  1. Merge branch '2.9.3'

  2. Always display powers-of-ten tick labels.

    Previously, the log scale's tick format would hide all labels when there was not
    enough room to display the requested number of ticks; now it at least displays
    the power-of-ten labels. Fixes #655.
Commits on Jun 1, 2012
  1. @bdon
Commits on May 29, 2012
  1. @geowa4

    When using Sizzle, the API for `d3_select` changes when there is no e…

    geowa4 authored
    …lement to select. When using Sizzle, `undefined` is returned since `[][0] === undefined`. Without Sizzle, `d3_select` returns `null`. This is a problem, because IE9 does not support calling `HTMLElement.insertBefore` (see selection-insert.js) with `undefined` as the second argument; `null` is fine, though.
Commits on May 27, 2012
  1. @jasondavies

    Remove trailing commas.

    jasondavies authored
Something went wrong with that request. Please try again.