Need some Gruff graphing help - custom dimensions?

g = Gruff::Line.new(500) #Sets scale to 500px, but I'd like 500 width
and 300 height

g = Gruff::Line.new("500x300")