resizing: don't scale by pixel ratio when ...

... graph container has flex-grow style > 1 (resizes)

scaling should only be needed when the graph's div element grows/shrinks
from browser zooming in/out. (when it has a fixed size)
update combined script