Hello Gorelick,
probably there is more than one way...
My suggestion: create a subVI with only a graph. Call that VI with the data to print (perhaps some additional data for scaling etc...) and print that subVI either with coding or by VI Properties -> Printing -> Automatically print...
Best regards,
GerdW
Best regards,
GerdW

using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019