drawing of line chart