fixed issue with legend/timeline height not being calculated correctly
corrected label padding with scale