web4bio / webgen

WebGen Vertically Integrated Project
https://web4bio.github.io/webgen/main/html/
11 stars 26 forks source link

Added x and y labels to the HeatMap #431

Closed ericr491 closed 1 year ago

enemeth19 commented 2 years ago

Could you add some padding to prevent overlapping of labels?

Screen Shot 2022-10-25 at 10 16 53 AM
ericr491 commented 2 years ago

This is the most padding I can give without the text going out of bounds. It still clips for the longer gene names.

Alternatively I can increase the margin.left variable, but this expands the screen out horizontally so an user would need to scroll left to right more often. I've noticed that it was originally 100 but was decreased to 50, so I don't think I should touch this.

enemeth19 commented 1 year ago

This is the most padding I can give without the text going out of bounds. It still clips for the longer gene names.

Alternatively I can increase the margin.left variable, but this expands the screen out horizontally so an user would need to scroll left to right more often. I've noticed that it was originally 100 but was decreased to 50, so I don't think I should touch this.

Thanks, Eric! Yeah, I think the width of this section of the app is already a bit too large in general.. so I think this PR can be approved and the horizontal-ness can be left to be solved in a separate issue.