-
Notifications
You must be signed in to change notification settings - Fork 8
Closed
Labels
Description
Legend
If you are have a maptable with values that are negative, the legend break. Say our min value is -114 and max is 175. The legend is rendered correctly:
-114 |---------------------------------------| 175
But when you roll over a country with a negative value, say -77, the legend indicator treats the smallest value as 0 instead of, in our case, -114, thus rendering the marker for the current country off of the legend:
-114 |---------------------------------------| 175
^
-77
it should put it about here:
-114 |---------------------------------------| 175
^
-77
And, in case ASCII art isn't your thing, here's a screenshot ;)
Map
Countries with a negative value always get a fill color of white. Instead, they should get the fill color of min