GumusLab / clustergrammer

WebGL Clustergrammer JavaScript Library
https://ismms-himc.github.io/clustergrammer-gl/
MIT License
2 stars 9 forks source link

Dendrogram slider text doesn't render with multiple CG isntances #26

Open moromis opened 2 years ago

moromis commented 2 years ago
image

If you have more than one Clustergrammer instance, the text of the dendrogram sliders only shows on the first one.

turhanberk commented 2 years ago

Issue is not due to multiple CG instances, same problem occurs when we only render with the generateRandomNetwork()

Screen Shot 2022-09-30 at 12 52 13

Similarly no problem with multiple instances using cytofData

Screen Shot 2022-09-30 at 13 01 05
turhanberk commented 2 years ago

@moromis Actually there is no problem with rendering the labels, when we look closely labels are actually there, but only very very misplaced. It is re-sizing problem with the greater graphs I suppose, any idea about how to fix that?

Screen Shot 2022-09-30 at 13 23 48
moromis commented 2 years ago

@turhanberk Interesting! Could you please look into both those issues? For the latter those are actually the category titles. Double clicking them sorts the category. It would be a very good introduction to some of the sizing issues and fixing some of the hard coded stuff if you were to fix those (intelligently)