biosustain / shu

Multi-dimensional, trans-omics metabolic maps.
https://biosustain.github.io/shu
Apache License 2.0
41 stars 1 forks source link

Show conditions on "ALL" legend for histograms #27

Closed carrascomj closed 1 year ago

carrascomj commented 1 year ago

Motivation

When "ALL" is selected, if there are multiple conditions on histograms it should show it next to the legend.

Design

The histogram legends are laminated in the colors of the condition and the condition tag is written next to them.

The condition text is only shown if "ALL" is selected. Compare the left case, which corresponds to only one condition, against the "ALL" case on the right.

image

TODO

carrascomj commented 1 year ago

@NicholasCowie @teddygroves Any opinions for/against it? Does the layout in the image look alright or off-kilter?