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

d3Scale.schemeCategory20 has gone in d3 5.8, causing "Cannot convert undefined or null to object" error #20

Open
mattdawson opened this issue Jan 31, 2019 · 0 comments

Comments

@mattdawson
Copy link

On line 37 of d3-timelines.js
colorCycle = d3Scale.scaleOrdinal(d3Scale.schemeCategory20)

causes an error on d3 5.8 as category20 was removed, try replacing with d3Scale.schemeCategory10

@mattdawson mattdawson changed the title d3Scale.schemeCategory20 has gone, in d3 5.8 d3Scale.schemeCategory20 has gone, in d3 5.8 causing "Cannot convert undefined or null to object" error Jan 31, 2019
@mattdawson mattdawson changed the title d3Scale.schemeCategory20 has gone, in d3 5.8 causing "Cannot convert undefined or null to object" error d3Scale.schemeCategory20 has gone in d3 5.8, causing "Cannot convert undefined or null to object" error Jan 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant