Update g.line.js

Added opts for static x and y axis.
arguments: xdimMin, xdimMax, ydimMin and ydimMax