fix line display in chart