With the chart/graph controls you are using; you cannot.
You will have to draw it yourself with the picture plots.
The picture plots come with VIs for drawing xy graphs, however, they do not expose the grid line type so you will have to edit the sub VI that draws the grid (or draw everything yourself from scratch-which I think you will end up doing eventually to get the same look and feel as the first image).
Picture plots are here
.
You create your graph and draw it like this:
You will need to look inside several sub-vis to find the Draw Grid.vi and modify it like so:
Then when you run it you get this: