linechart rect formatting