过渡

  • d3.transition - start an animated transition.
  • transition.delay - specify per-element delay in milliseconds.
  • transition.duration - specify per-element duration in milliseconds.
  • transition.ease - specify transition easing function.
  • transition.attr - smoothly transition to the new attribute value.
  • transition.attrTween - smoothly transition between two attribute values.
  • transition.style - smoothly transition to the new style property value.
  • transition.styleTween - smoothly transition between two style property values.
  • transition.text - set the text content when the transition starts.
  • transition.tween - specify a custom tween operator to run as part of the transition.
  • transition.select - start a transition on a descendant element for each selected element.
  • transition.selectAll - start a transition on multiple descendants for each selected element.
  • transition.filter - filter a transition based on data.
  • transition.transition - when this transition ends, start another one on the same elements.
  • transition.remove - remove selected elements at the end of a transition.
  • transition.empty - returns true if the transition is empty.
  • transition.node - returns the first node in the transition.
  • transition.size - returns the number of elements in the selection.
  • transition.each - add a listener for transition end events.
  • transition.call - call a function passing in the current transition.
  • d3.ease - customize transition timing.
  • ease - a parametric easing function.
  • d3.timer - start a custom animation timer.
  • d3.timer.flush - immediately execute any zero-delay timers.
  • d3.interpolate - interpolate two values.
  • interpolate - a parametric interpolation function.
  • d3.interpolateNumber - interpolate two numbers.
  • d3.interpolateRound - interpolate two integers.
  • d3.interpolateString - interpolate two strings.
  • d3.interpolateRgb - interpolate two RGB colors.
  • d3.interpolateHsl - interpolate two HSL colors.
  • d3.interpolateLab - interpolate two Lab* colors.
  • d3.interpolateHcl - interpolate two HCL colors.
  • d3.interpolateArray - interpolate two arrays of values.
  • d3.interpolateObject - interpolate two arbitrary objects.
  • d3.interpolateTransform - interpolate two 2D matrix transforms.
  • d3.interpolateZoom - zoom and pan between two points smoothly.
  • d3.interpolators - register a custom interpolator.