SafetyGraphics / hep-explorer

Interactive Graphic for Exploring Liver Function Data in Clinical Trials
https://safetygraphics.github.io/hep-explorer/test/
MIT License
9 stars 3 forks source link

Improve ordering of legend for group variable #111

Open jwildfire opened 5 years ago

jwildfire commented 5 years ago

For treatment (or any variable with a numeric equivalent), it would be good to order the legend by TRTN so that it is ordered Placebo, Xano Low, Xano High. (via @rzink01)

jwildfire commented 5 years ago

This is non-trivial. There is an option available to order the legend, but sorting the legend based on a second variable would require custom implementation.