Now using the range inputs to scale graph.
Test for the range parameters.
Updated example.