We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I accidentally wrote
yScale.range([height - padding, padding]); as yScale.range([height - padding], padding);
yScale.range([height - padding, padding]);
yScale.range([height - padding], padding);
No error was thrown and it took me a long time to figure out why my yScale was returning undefined on all inputs.
yScale
undefined
Could we make scale.range throw an error when more than one argument is present and/or when a scale can't be generated from the given 1st parameter?
scale.range
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I accidentally wrote
yScale.range([height - padding, padding]);
as
yScale.range([height - padding], padding);
No error was thrown and it took me a long time to figure out why my
yScale
was returningundefined
on all inputs.Could we make
scale.range
throw an error when more than one argument is present and/or when a scale can't be generated from the given 1st parameter?The text was updated successfully, but these errors were encountered: