added a xGridSpacing which can be used to limit x axis lines on the grid

the value (which defaults to 1) is used to say every X points on the
x axis draw a grid line