-
Hello, TIA |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
in your config file you can put {
"tracks": [/* your tracks here, just have this here to show you where in your config the configuration part goes */],
"configuration": {
"LinearGenomeViewPlugin": {
"trackLabels": "hidden"
}
}
} note that this setting is also saved in localstorage so if the user changes it, it will use the value they chose from localstorage instead of this config. so, tldr, clear your localstorage or use private tab when testing this change |
Beta Was this translation helpful? Give feedback.
-
Hi Colin, Thanks so much for coming back to me, I tried adding that to my configuration, so now I have;
But no luck, i'm not sure if the theme might be causing a conflict? |
Beta Was this translation helpful? Give feedback.
I can see that this isn't working in embedded also. but, since you are in embedded, you can call programmatic APIs easier (unlike in jbrowse-web which is very configuration oriented)
here is an example that should work for embedded
this is the particular "API" that I called here: the setTrackLabels function on the "LinearGenomeView" statemodel API https://jbrowse.org/jb2/docs/models/lineargenomeview/#action-settracklabels