Added an optional per graph maximum height setting