Table Of Contents

Graphs and Charts (G Dataflow)

Version:
    Last Modified: March 15, 2017

    Chart and plot data.

    What Is the Difference between Graphs and Charts?

    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.

    Deciding Which Graph or Chart to Use

    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.

    Autoscaling

    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:

    • Fit Exactly—Fits the end markers to the exact minimum and maximum values of the data.
    • Fit Loosely—Rounds the end markers to a multiple of the increment used for the scale.
    • Grow Only—Fits the end markers to the minimum and maximum values of the data at run time. This type of autoscaling is available only for the vertical axis of graph, chart, and intensity graph.

    Recently Viewed Topics