Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type error in value interpolation. #40

Closed
mbostock opened this issue Jan 19, 2011 · 1 comment
Closed

Type error in value interpolation. #40

mbostock opened this issue Jan 19, 2011 · 1 comment
Labels
bug Something isn’t working

Comments

@mbostock
Copy link
Member

For example:

d3.selectAll("p")
  .transition()
    .style("color", function() { return d3.hsl(Math.random() * 360, 1, .5); })

Results in:

d3.js:585 TypeError: 'rgb(145, 255, 0)' is not a valid argument for 'in' (evaluating 'k in a')
d3.js:1539 TypeError: 'undefined' is not an object (evaluating 'ik[tk].call')

@mbostock
Copy link
Member Author

mbostock commented Feb 9, 2011

Fixed in 0.30.3.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn’t working
Development

No branches or pull requests

1 participant