pow.clamp()

pow.clamp(clamp) See continuous.clamp.

pow()

pow(value) See continuous.

poly.exponent()

poly.exponent(e) Returns a new polynomial easing with the specified exponent e. For example, to create equivalents of linear, quad, and cubic: var linear = d3.easePoly.exponent(1), quad = d3.easePoly.exponent(2), cubic = d3.easePoly.exponent(3);

point.step()

point.step() Returns the distance between the starts of adjacent points.

point.round()

point.round([round]) If round is specified, enables or disables rounding accordingly. If rounding is enabled, the position of each point will be integers. Rounding is sometimes useful for avoiding antialiasing artifacts, though also consider the shape-rendering “crispEdges” styles. Note that if the width of the domain is not a multiple of the cardinality of the range, there may be leftover unused space, even without padding! Use point.align to specify how the leftover space is distributed.

point.rangeRound()

point.rangeRound([range]) Sets the scale’s range to the specified two-element array of numbers while also enabling rounding. This is a convenience method equivalent to: point .range(range) .round(true); Rounding is sometimes useful for avoiding antialiasing artifacts, though also consider the shape-rendering “crispEdges” styles.

point.range()

point.range([range]) If range is specified, sets the scale’s range to the specified two-element array of numbers. If the elements in the given array are not numbers, they will be coerced to numbers. If range is not specified, returns the scale’s current range, which defaults to [0, 1].

point.padding()

point.padding([padding]) If padding is specified, sets the outer padding to the specified value which must be in the range [0, 1]. If padding is not specified, returns the current outer padding which defaults to 0. The outer padding determines the ratio of the range that is reserved for blank space before the first point and after the last point. Equivalent to band.paddingOuter.

point.domain()

point.domain([domain]) If domain is specified, sets the domain to the specified array of values. The first element in domain will be mapped to the first point, the second domain value to the second point, and so on. Domain values are stored internally in a map from stringified value to index; the resulting index is then used to determine the point. Thus, a point scale’s values must be coercible to a string, and the stringified version of the domain value uniquely identifies the corresponding p

point.copy()

point.copy() Returns an exact copy of this scale. Changes to this scale will not affect the returned scale, and vice versa.