Fix for graphs with relative width but no ratio

Now it is possible to do a fixed height graph that scales horizontally