Parameter added to allow rounding Y axis and a minimum Y scale