1. 30 Oct, 2012 1 commit
    • Mike Bostock's avatar
      Add support for 0, - and _ fill padding. · 835c3e12
      Mike Bostock authored
      For example, "%-d" formats the day with no padding, "%_d" formats the day with
      space-padding equivalent to "%e", and "%0d" formats the day with zero-padding
      equivalent to "%d".
  2. 29 Oct, 2012 7 commits
  3. 26 Oct, 2012 1 commit
  4. 25 Oct, 2012 2 commits
  5. 19 Oct, 2012 1 commit
    • Mike Bostock's avatar
      Optimize d3_dsv. · 2358fd0f
      Mike Bostock authored
      Replace regular expression search with a simple if-else.
      Replace a for-loop with a new Function to convert rows to objects, such that
      each row is defined in a single step as an object literal rather than lazily
      defining properties on a blank object. Note that parseRows can still be
      substantially faster for large files provided you convert strings to smaller
      types (e.g., numbers or booleans); greedy type-conversion reduces peak memory
      usage and accelerates garbage collection.
  6. 17 Oct, 2012 1 commit
  7. 16 Oct, 2012 5 commits
    • Mike Bostock's avatar
      Consolidate some code, again. · 9abaad97
      Mike Bostock authored
    • Mike Bostock's avatar
      Consolidate some code. · b1844d74
      Mike Bostock authored
    • Mike Bostock's avatar
      Greedy evaluation of transition.{style,attr,text}. · 3af91c35
      Mike Bostock authored
      Rather than computing the ending value when the transition starts, the ending
      value is computed when the transition is scheduled. This gives more predictable
      behavior and makes it easier to debug evaluation errors since they occur
      immediately (during user code) rather than inside a d3_timer callback.
      The behavior of attrTween and styleTween are unchanged, since the interpolator
      can only be constructed once the starting value is known. This commit also
      removes d3.tween; I may add this back in a future commit, but I think there is
      probably a better way to specify an interpolator for transitions.
    • Mike Bostock's avatar
      Changes to transition start & end. · 0794607c
      Mike Bostock authored
      The start event is now fired before any tweens are evaluated, such that you can
      do any necessary preprocessing work beforehand. The end event no longer causes
      the transition id to be inherited, since we can do that more elegantly now using
    • Mike Bostock's avatar
      Fix callback index with transition events. · 200bdea7
      Mike Bostock authored
  8. 15 Oct, 2012 1 commit
    • Mike Bostock's avatar
      Easier programmatic zooming. · f1c87d7e
      Mike Bostock authored
      Setting the translate and scale now propagates the changes to the scale domains
      in the same manner as user interaction. Likewise, setting new scales resets the
      translate and scale back to their default values ([0, 0] and 1 respectively).
  9. 11 Oct, 2012 5 commits
  10. 06 Oct, 2012 7 commits
  11. 05 Oct, 2012 9 commits