Hide scale units with optional showScale attribute