Permalink
Commits on Aug 27, 2011
  1. Merge branch 'release'

    mbostock committed Aug 27, 2011
Commits on Aug 26, 2011
  1. Use reference count rather than owner id.

    As of 2.0.0, it's possible to have multiple transitions running concurrently
    with the same id. Thus, it is no longer sufficient to check the transition id
    to decide whether to delete the transition lock. We now use reference counting
    to determine the number of transitions that are scheduled on a given element;
    when that number drops to zero, we can delete the transition lock.
    mbostock committed Aug 26, 2011
  2. Fix KDE example.

    It should have been using a probability (density) histogram. I think
    there used to be a bug in d3.layout.histogram, which is now fixed.
    jasondavies committed Aug 26, 2011
  3. Create the root selection after the prototype.

    This fixes a breakage on IE9, which doesn't support array subclassing through
    prototype injection. On IE9, we then use direct extension of the prototype, but
    this can only be done after the prototype is fully-defined.
    mbostock committed Aug 26, 2011
  4. Fix negatively-sized rectangles in treemap.

    Includes unit test!
    
    Fixes #136.
    jasondavies committed Aug 26, 2011
Commits on Aug 25, 2011
  1. Fix zooming in Firefox.

    We were mistakenly binding Firefox's DOMMouseScroll to dblclick rather than
    mousewheel. Also, there's no acceleration on these events, so we need to make
    them faster to match the typical behavior of mousewheel.
    mbostock committed Aug 25, 2011
  2. Fix albersUsa, again.

    mbostock committed Aug 25, 2011
  3. Merge branch 'release'

    mbostock committed Aug 25, 2011
  4. Add a handful of axis examples.

    mbostock committed Aug 25, 2011
  5. Add transition.transition.

    This derives a new transition from the existing transition, equivalent to (and
    implemented as) transition.select(function() { return this; }).
    mbostock committed Aug 25, 2011
Commits on Aug 24, 2011
  1. Allow tickFormat to be specified as a constant.

    This was basically supported already, but there was a slight bug in the truthy
    check for tickFormat. Now we check for null rather than falsiness.
    mbostock committed Aug 24, 2011
  2. More consistent timing for transitions.

    Previously, the start time for a transition could be slightly different for
    different elements, even when the transition was created at the same time. This
    commit allows timers to be created with an explicit reference time (then),
    allowing a transition to be temporaly consistent across elements.
    mbostock committed Aug 24, 2011
  3. Merge branch 'release'

    mbostock committed Aug 24, 2011
  4. Fix a bug in selector functions.

    They weren't being invoked with the correct syntax (being passed the data and
    index, with the current node as the context). This commit also removes the
    d3_array wrapper, which does not appear to be necessary; I've forgotten why it
    was there in the first place.
    mbostock committed Aug 24, 2011
Commits on Aug 23, 2011
  1. Merge branch 'release'

    mbostock committed Aug 23, 2011
  2. Merge branch 'drag' of https://github.com/jasondavies/d3 into release

    This also fixes a few bugs in the new implementation, restoring support for the
    offset between the mouse and the dragged element by reporting a delta rather
    than an absolute offset. Also, this fixes an infinite loop when an element is
    removed from the DOM.
    mbostock committed Aug 23, 2011
  3. Promote the axis component to the svg module.

    I'm including the axis component in the core build because it should be useful
    in many different visualization types, similar to the other svg components. The
    chart module contains a hodgepodge of more obscure visualization types, and
    there's no reason to pull those in for more common visualizations. Perhaps most
    importantly, the axis component isn't a chart type!
    mbostock committed Aug 23, 2011
  4. Tick subdivision.

    mbostock committed Aug 23, 2011
  5. Add a clip path.

    mbostock committed Aug 23, 2011
  6. Fix a bug in path z-index.

    The test wasn't catching it because it wasn't updating the domain.
    mbostock committed Aug 23, 2011
  7. Allow `on` to return the current listener.

    Fixes #216.
    mbostock committed Aug 23, 2011