eg-react
eg-react copied to clipboard
Metadata Colors
Allow customization of colors in the metadata table.
@lidaof Would it be possible to assign metadata colors via the embedding code? Here we can see the metadataTerms: ["Sample"]
parameter but I don't see a way to specific a color to each sample/metadata class.
Hi @joreynajr , in the metadata
object, you can use this syntax for customized color: "sample": {"name"" "bone", "color": "#FF0000"},
color can also be “red”, “blue”, any CSS color
Doesn't the metadata
object belong to each track? It seems better to assign colors at the hub level rather than the individual track level using something like the metadataTerms
object.
Whatever the case, for now I should use the metadata
object from each track right?
It works! Thank for the help @lidaof
correct, we don't have centralized metadata terms anymore for the current version. thanks for the feedback! @joreynajr
As for documentation, was this within the readthedocs? I might have missed it.
good point, looks like it was missed...will add it