## draw the line segment $i->line( $x, $y, $x + $count, $y, $color ); ## accumulating your current x position as you go.