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

Last number in limit is smaller than the rest using quantile #13

Open
reyemtm opened this issue Jul 14, 2016 · 3 comments
Open

Last number in limit is smaller than the rest using quantile #13

reyemtm opened this issue Jul 14, 2016 · 3 comments

Comments

@reyemtm
Copy link

reyemtm commented Jul 14, 2016

["10065", 20996.75, 24371, 28654.5, "8924"] OR
["10172", "18263", "21779", "27054", "9815"] - 9815 should be 148729 in this case

The map is drawing the right colors, its just the last limit # is wrong. Ideas?

Map

This is a chroma issue. See seblow.

@reyemtm reyemtm changed the title Last number in limit is small than the rest Last number in limit is smaller than the rest using quantile Jul 15, 2016
@timwis
Copy link
Owner

timwis commented Jul 16, 2016

Hi @reyemtm, thanks for reporting the issue. I see that you've posted it in chroma.js as well. I'm happy to help narrow it down. Would you mind posting a code sample so I can reproduce the problem?

@reyemtm
Copy link
Author

reyemtm commented Jul 18, 2016

The map link above should show the resulting limits in the console. The json that is being examined is not easily extracted sinc eit is a geojson jooned with a csv client-side. I will see about getting the array out of the app to set up a code sample.

@reyemtm
Copy link
Author

reyemtm commented Jul 18, 2016

To be clear am I right that the last number in a q scale with 5 values should be the largest number in the array?

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

2 participants