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

color scale does not work when there is only 1 value #7

Closed
davelandry opened this issue Jun 6, 2017 · 0 comments
Closed

color scale does not work when there is only 1 value #7

davelandry opened this issue Jun 6, 2017 · 0 comments

Comments

@davelandry
Copy link
Member

Expected Behavior

When using the colorScale method, and there is only 1 data point available, the scale gets rendered with no values and the topojson is rendered as black.

Current Behavior

The color scale should not appear, and the topojson should be colored the max color in the scale.

Steps to Reproduce (for bugs)

https://jsfiddle.net/2zb6retc/9/

Your Environment

  • Browser Name: Chrome
  • Operating System and Version: macOS Sierra
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant