covariants icon indicating copy to clipboard operation
covariants copied to clipboard

Only Show Plotted Variants

Open emmahodcroft opened this issue 2 years ago • 2 comments

This is a minor thing, but bothers me sometimes now that in many places there are only 2-4 variants circulating...

Is it possible to only show variants in the mouse-over bar if they actually have a value at that time point? image

For example in the above, only 21K.Omicron through 20A/S:439K should show up on the mouseover. This just means that the 'total' number isn't pushed down so much by empty columns, and thus is easier to see on the page!

emmahodcroft avatar Mar 14 '22 13:03 emmahodcroft

@emmahodcroft Check this related PR and my more general thoughts about rendering of the different types of values in the tooltips: https://github.com/hodcroftlab/covariants/pull/255#issuecomment-1006325326

We have yet another type not mentioned there - values that are present, but are disabled with checkboxes in the sidebar.

In order to resolve this, need to know how to handle all the different types.

ivan-aksamentov avatar Mar 14 '22 14:03 ivan-aksamentov

Thank you for pointing this out! I must have completely missed this in the Christmas/post-Christmas (grant writing) mess! I'll respond there.

emmahodcroft avatar Mar 14 '22 15:03 emmahodcroft