Added the possibility to export a graph to JPG with given size. This can
be used only when declared as "developer", and does not change zoom
level (mouse wheel).