TheJacksonLaboratory / isopretGO

Isoform function prediction and interpretation
https://thejacksonlaboratory.github.io/isopretGO/
GNU General Public License v3.0
6 stars 2 forks source link

DGE Screen > GO enrichment: Bar chart compressed due to long GO labels #156

Closed hansenp closed 10 months ago

hansenp commented 1 year ago

From the DGE screen, a window can be opened in which a bar chart is shown. The bar chart is compressed more or less depending on how long the longest GO label is.

image
pnrobinson commented 10 months ago

I am not sure there is any easy solution to this. The code is using a premade JavaFX widget, and it would be a ton of work to create a new widget to do this. I think the data are displayed even if it is not always pretty. I will leave this open for now as a reminder to search for an alternative widget in openfx

pnrobinson commented 10 months ago

The only way to fix this was to limit the maximum length of the GO labels to 40 characters, which looks a lot better. As far as I can see, there is no way to wrap long labels on multiple lines without making our own widget to do so... But it is better now.