There are two ways of doing it.
First, to do it offline, right click on the graph in front panel>> dropdown Menu select 'properties'>> Go to Tab 'Scales' and select relevant values for each axis
Or to do it programatically, create a property node ( as shown in attached pic)>> select property>> x scale range / y scale range>> change it to write>> create a control to it and you can set following attributes: Minimum, Maximum, Increment, Minor Increment, and Start of that particular axis
Hope this helps
Regards,
Dev