From: Scott C. <sc...@sc...> - 2024-03-29 17:43:12
|
Hi Vaneet, You can change the mouseover by providing jexl in the 'display' block (but not in the 'render' block), like this: "displays": [ { "type": "LinearBasicDisplay", "displayId": "Macaca_mulatta_all_genes-LinearBasicDisplay-1711729713263", "mouseover": "jexl:get(feature,'gene_biotype')", "renderer": { "type": "SvgFeatureRenderer", "color1": "jexl:get(feature,'strand')<0?'teal':'darkviolet'", "color3": "#30332E", "maxHeight": 5000 } } ] Scott On Thu, Mar 28, 2024 at 1:35 PM Vaneet Lotay <van...@uc...> wrote: > Hello, > > > > I couldn’t find anything specific in the docs about this but is there > anyway we can configure what is shown when you hover over a feature in a > track, like a tooltip? JBrowse1 had the ‘onClick’ method which I used to > configure mouse hover functionality, so I’m wondering if that can still be > used or is there another way to configure feature tooltips? > > > > Thanks, > > > > Vaneet > _______________________________________________ > Gmod-ajax mailing list > Gmo...@li... > https://lists.sourceforge.net/lists/listinfo/gmod-ajax > -- ------------------------------------------------------------------------ Scott Cain, Ph. D. scott at scottcain dot net GMOD Project Manager (http://gmod.org/) 216-392-3087 WormBase Developer (http://wormbase.org/) Alliance of Genome Resources Group Leader (http://alliancegenome.org/) VirusSeq Project Manager (https://virusseq-dataportal.ca/) Human Cancer Models Initiative Project Manager ( https://hcmi-searchable-catalog.nci.nih.gov/) |