Setting the Background Image of Graph in LabVIEW

Updated Nov 26, 2019

Reported In


  • LabVIEW

Issue Details

How can I programmatically set the background image of my graph with a JPEG, PNG, or BMP image file? 


In order to set the background image of a graph, use the Plot Images:Back property. Since this property input requires a picture data type, use the Draw Flattened Pixmap function from the Picture Functions palette to convert raw image data into such format. 

To obtain the raw image data from a JPEG, PNG, or BMP file type, use the Read JPEG File (or corresponding) function from the Graphics Formats palette. 

Additional Information

To set a default image as the background image of a graph in a VI, follow the steps below. 
  1. Read the raw image data once to set the background image of the graph.
  2. Set the current graph's settings to the default value by selecting the entire graph, right-click to select Data Operations > Make Current Value Default
  3. Then you can remove the part of the program from the block diagram that read the raw data and set the background image.