Fix unit label overlap and y-axis range

Fix #299 
Fix #291