eweitz / ideogram

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

Possible to change fill color of chromosome with bands off? #278

Closed harijay closed 3 years ago

harijay commented 3 years ago

Hi , Thank you for an excellent program to generate ideograms. I really like the API and how customizable everything is. I was wondering how to change the color of the fill for the chromosomes with the bands turned off?

Is there a way to change the fill color of the chromosome?

Thanks again for an awesome program Hari

eweitz commented 3 years ago

Hi @harijay, this isn't supported, but seems easy to implement. I'll develop towards this and update you within a few days.

harijay commented 3 years ago

Thank you so much. That sounds great...I am a javascript and css newbie, but I will try to see if I can help in any way.

eweitz commented 3 years ago

@harijay, I just finished a first pass at supporting custom chromosome colors, over in #280. What do you think?

harijay commented 3 years ago

This is awesome. Thank you so much for adding the feature. It looks great and just saw the merge..once the cdn js version updated will try it out with my test case.

harijay commented 3 years ago

Thanks a ton! I was able to webpack the library from the commit and use it to create this Looks great!

image

eweitz commented 3 years ago

Great! Would you mind if I asked where you're using Ideogram, @harijay? Knowing such things helps maintainability.