I programmatically set the min and max on the y axis, and x range of an XY Graph. Before starting the VI the y axis looks correct (see below) with min and max of -20 and 50, respectively.

However, after I start the vi and xy points are generated the y axis min max change based on the data min max of the plotted data (see below).

How can I fix this behavior?
Girish