From: Colin <col...@gm...> - 2023-10-29 16:51:18
|
v2.7.2 released now with the ability to configure the default track labels setting. note that users are still allowed to change it for their preference, so this config setting combines with a users current localstorage preference, so if the config doesn't look like it is working then try clearing localstorage and starting a new session a config snippet in our volvox config shows how to use: https://github.com/GMOD/jbrowse-components/blob/ab1d5d525d25841f1f057d762527646986836b77/test_data/volvox/config.json#L189-L192 basically, in your config.json: { "configuration": { "LinearGenomeViewPlugin": { "trackLabels": "offset" } } -Colin On Wed, Oct 25, 2023 at 8:38 PM David Goodstein <dmg...@lb...> wrote: > We (Phytozome) second that request; extremely useful feature. > > > -David > > > David M. Goodstein, Ph.D. > Phytozome & Plant Comparative Analysis Group > Joint Genome Institute > US Dept. of Energy - Lawrence Berkeley National Lab > https://phytozome.jgi.doe.gov > > > > > On Oct 25, 2023, at 3:59 PM, Colin <col...@gm...> wrote: > > Users can manually change the track labels setting in the UI, but it's not > formally a config variable you can set, but you can make a config with a > defaultSession that has this setting turned on though, and then that is a > way of setting this via the config > > > https://jbrowse.org/jb2/docs/user_guides/basic_usage/#track-label-positioning > > We can try to brainstorm a way to make this a single config slot though > > -Colin > > On Wed, Oct 25, 2023, 2:23 PM Vaneet Lotay <van...@uc...> > wrote: > >> Hello, >> >> >> In JBrowse1 there was a nice feature to prevent track labels from >> blocking or overlapping with the track itself: >> >> >> >> trackLabels >> >> >> >> Set "trackLabels": "no-block" to enable the trackLabels to be out of the >> way of the features. Added in 1.12.5 >> >> >> >> >> >> I tried adding this to the global configuration section of config.json, >> but that didn’t work. Is this feature possible in JBrowse2? >> >> >> >> Tjamls. >> >> >> >> Vameet >> >> >> >> *Vaneet Lotay* >> >> *Xenbase Bioinformatician* >> >> *University of Calgary* >> >> *2500 University Drive NW* >> >> *Calgary, AB T2N 1N4* >> >> *CANADA* >> >> >> _______________________________________________ >> Gmod-ajax mailing list >> Gmo...@li... >> https://lists.sourceforge.net/lists/listinfo/gmod-ajax >> > _______________________________________________ > Gmod-ajax mailing list > Gmo...@li... > https://lists.sourceforge.net/lists/listinfo/gmod-ajax > > > |