Properly scale chart that exceed max length.