Example Code

Implement a Simple Vertical Chart using an XY Graph in LabVIEW

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.


  • LabVIEW

Code and Documents


Download All


Code that shows how to implement a vertical chart using an XY Graph.



This VI demonstrates a method of displaying data in an XY graph so that it behaves like a chart (storing historical data). Unlike a standard waveform chart, it will scroll vertically instead of horizontally, with the Y-axis representing time.



LabVIEW 2012 or compatible


Steps to Implement or Execute Code
1. Run the VI
2. Stop execution using the Stop button

Additional Information or References


**This document has been updated to meet the current required format for the NI Code Exchange.**

Caleb Harris

National Instruments | Mechanical Engineer | http://www.ni.com/support

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.