Creating a Graph
- Updated2026-02-27
- 1 minute(s) read
VIs with a graph usually collect data in an array and then plot the data to the graph. This process is similar to a spreadsheet that stores the data and generates a plot.
To create a graph, complete the following steps.
-
Add one of the following graphs to the front panel window.
- Waveform graph
- XY graph
- Digital waveform graph
- Mixed signal graph
- Intensity graph
-
Right-click the graph and customize it using the shortcut menu items.
You can configure the scales, format the scales, add a plot, zoom in or out, and add cursors.
- Build the block diagram to display data on a waveform, XY, mixed signal, or digital waveform graph.
For details on configuring graphs, refer to Customizing Graphs and Charts.
Related Information
- Getting Started with Graphs and Charts
Graphs and charts display and update data differently. Understand the basics to get started with using and customizing graphs and charts in LabVIEW.
- Customizing Graphs and Charts
Each graph and chart in LabVIEW includes many options that you can use to customize appearance, convey more information, or highlight specific data.
- Graphs and Charts
After you acquire or generate data, use a graph or a chart to display data in a graphical form.
- Graphing Waveform Data
You can programmatically graph waveform data on a waveform graph.
- Graphing XY Data
You can programmatically graph waveform data on an XY graph.
- Graphing Digital Data
Complete the steps to display a digital signal in a digital waveform graph .
- Types of Graphs and Charts
LabVIEW includes specific types of graphs and charts. Different types of data suit each type of visualization.
- Configuring the X-Axis and Y-Axis on a Graph or Chart
Understand the basic configuration options for the axes and scales of graphs and charts.
- Changing the Format and Precision of Graph and Chart Axes
Change the format of an axis to display a different numeric format or time format on the axis of a graph or chart. Change the precision to specify the number of digits the axis displays.
- Adding a Plot to a Plot Legend
You can allocate—or set aside—a plot in the plot legend for data that LabVIEW will draw to the graph or chart, as well as customize the allocated plot .
- Zooming and Moving the View of a Graph or Chart
Use the graph palette of a graph or chart to zoom in and out on data and pan the view of the plots.
- Adding Cursors to Graphs
Use a cursor on a graph to read the exact value of a point on a plot. The value at that cursor displays in the cursor legend that is associated with the graph.
- Graphing Multiple Data Types on a Mixed Signal Graph
You can wire any data type accepted by waveform, XY, or digital waveform graphs to a mixed signal graph. Use the Bundle function to prepare multiple data types for graphing on a mixed signal graph.
- Exporting Data and Images
You can export data from graphs, charts, tables, and arrays. You also can export an image of a graph, chart, or table.