eweitz / ideogram

Chromosome visualization for the web
https://eweitz.github.io/ideogram
Other
288 stars 72 forks source link

How can I hide brush until a user actually tries to select a region? #263

Closed richwandell closed 3 years ago

richwandell commented 3 years ago

Currently it looks like it is a requirement to define a region in order to get the brush to work. My use case is that I want to allow a user to select a region on a chr but I don't want to have to pre define the brush location. Is this possible?

richwandell commented 3 years ago

Found the solution. I can add brush at chr1:1-2 and the brush will not show but it will allow selection.