dragonfly-science / bailiwick-ui

Bailiwick frontend
1 stars 1 forks source link

Add no-data case back in #36

Closed finlay closed 5 years ago

finlay commented 5 years ago

We can get here via lots of directions.

simonwinter commented 5 years ago

The "No data" labels have been added in. I was originally adding the stripe colour to the map whenever we have a colour coming back as #FFFFFF - i.e:

setAttr (sel <> " > path") "fill" colour
    (if colour = "#FFFFFF" then "url(#lightstripe)" else colour)

I'm not sure if this logic is valid - i.e. are there circumstances when a region of the map should be white?

finlay commented 5 years ago

This is okay for now. If is white, it means no-data.