Better drawing line chart

Now there are always 10 x-axis values.