Caleydo / caleydo

Caleydo - Visualization for Molecular Biology
http://caleydo.org
BSD 3-Clause "New" or "Revised" License
58 stars 14 forks source link

Kaplan-Meier plot axis labels in detail view plotted outside view and into frame #1559

Closed ngehlenborg closed 11 years ago

ngehlenborg commented 11 years ago

screen shot 2013-08-24 at 5 34 39 pm

alexsb commented 11 years ago

This should be possible to do correctly with the LineLabelRenderer, but I guess it gets the wrong parameters.

Note the new align parameter in TextRenderer renderTextInBounds, which the LineLabelRendere should use instead of calculating the width by itself.