To make it the size of a front panel? You could use the same idea in my example to do this, but change the graph to match the front panel size instead of making the front panel match the screen size. I've modified my example to show this, see if it works for you.
Brian