background:
so for mbio we have an idea where for certain plot elements in certain plots (xaxis and facet in box plots, overlay and facet in scatter) we would like to let the user select up to 10 vars, so long as those vars represent the same data type. specifically for phase 1, we want the user to be able to choose up to 10 different vars representing taxonomic relative abundance. if we a) have the data service state which plot elements in which plots can do this and b) (to borrow an idea from jb) annotate the parent terms of eligible collections of vars then we could:
when a user selected a child of one of the listVar annotated parents, constrain so the only remaining vars were other children of the same parent
when a user selected a term not a child of one of the listVar annotated parents, dont let them pick any more terms.
background: so for mbio we have an idea where for certain plot elements in certain plots (xaxis and facet in box plots, overlay and facet in scatter) we would like to let the user select up to 10 vars, so long as those vars represent the same data type. specifically for phase 1, we want the user to be able to choose up to 10 different vars representing taxonomic relative abundance. if we a) have the data service state which plot elements in which plots can do this and b) (to borrow an idea from jb) annotate the parent terms of eligible collections of vars then we could: