Juergen,
The filename input is for the path of the image you want to append to report. This image is has to be stored somewhere for you to append it to the report.
However, you can use Append Front Panel Image to Report and specify the VI name. This VI will append the entire front panel to the report, so you should put your graph in a separate subVI with only that one object on its front panel.
I've attached an example (LabVIEW 7) that shows a way to print only one of the front panel objects in this case a graph. The llb contains a top level vi which generates and plots 20 random data points into a graph and a subvi that prints the graph if it is chosen to do by a pop-up.
This subvi uses standard Report Generation vi's of LabVIEW to create a repo
rt, appends the image of the graph to it using its reference and then prints the report.
If you just need to print the graph, without creating a report, you can use VI Invoke Node called Print Panel to Printer. If you set "Entire Panel?" input of this node to false, it will only print the visible panel area. You just need to adjust the panel size, or put the graph indicator in a subVI.
Zvezdana S.