-
Notifications
You must be signed in to change notification settings - Fork 8
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
fill transform breaks legend color accuracy #42
Comments
here's the screenshot from step #3 above. you can see that the legend color of 222 does not match the country color: |
@Ths2-9Y-LqJt6 |
@melalj - makes sense! I'll just convert this from a bug to a feature request. |
if we implement PCH's IXP Dirs (https://pch.net/ixp) two functions ( |
@Ths2-9Y-LqJt6 this might be fixed with the new aggregate function, can you QA? |
update: while filed as a but, this has since been moved to an enhancement. See comments below.
when you have
map.countries.attr.fill.transform()
method declared, the legend ends up being the wrong color compared to color the country is filled with.steps to reproduce:
go to https://bl.ocks.org/melalj/07be61a538509b8e4a7e where
map.countries.attr.fill.transform()
is defined as:zoom in to Australia so it is behind the legend
hover over Australia so it's value is displayed on the legend
expected: legend color matches country color
actual: country color is much darker than legend color
workarounds: don't declare a
transform()
:(The text was updated successfully, but these errors were encountered: