Rename updateAxisRange->getRange
Comments and cleanups
Add function to solve equation
Pass autorange to other axis