You can use the Application Control VIs, and use the Property Node "Print Panel to Printer". By default it will print the entire panel, but if you set the Entire Panel input to False, it will only print the visible portion of the panel. This way, you can print only the graph by minimizing the size of the panel to display only the graph.
Zvezdana S.
National Instruments