Chart and plot data.
You can collect data, usually in an array, and then plot the data to a graph. This process is similar to a spreadsheet that first stores the data and then generates a plot of it.
A chart appends new data points to those points already in the display to create a history. On a chart, you can see the current reading or measurement in context with data previously acquired.
Knowing what type of data you need to display determines the type of graph or chart you should use.
Control | Accepted Data Types | Display Examples | When to Use |
---|---|---|---|
Graph | Numeric, complex, X/Y, or point sample data contained in arrays and analog waveforms | Analog waveform data acquired at a constant rate | Use a graph for fast processes that acquire data continuously. |
Chart | Numeric data contained in arrays and analog waveforms | Analog waveform data acquired at a constant rate with a history, or buffer, of the data from previous updates | Use a chart for processes that require a cumulative history of incremental updates to be maintained. |
Intensity Graph | 3D data on a 2D plot by using color to display the values of the third dimension | Patterned data, such as frequency of sound intensity | Use an intensity graph for 3D data. |
Polar Graph | Arrays of radial, point, or complex data | Point data that represents microphone sensitivity | Use a polar graph for data best displayed on a continuous axis, such as rotating machinery. |
Digital Graph | Digital tables and digital waveforms | Digital lines and buses that represent a transistor-transistor logic (TTL) compatible signal | Use a digital graph when you work with timing diagrams or logic analyzers. |
You can enable autoscaling for graphs and charts, which means they adjust their horizontal or vertical scales to fit the data you wire to them. Graphs and charts support the following types of autoscaling: