These are very basic issues and it should be clear once you study the online help and examples for a while.
Waveform Graphs
- Plain waveform graphs assume equally spaced data. The x-values are implicit from x0 and dx of the x-axis. By default x0=0 and dx=1, meaning the x-values are the array indices. You can change the offset and multiplier from the properties dialog or programmatically via property nodes.
- If you give a 2D array, there will be multiple graphs. Transpose if needed.
- Alternatively, you can give a cluster of [x0, dx, y-array] and the x-axis will adjust accordingly.
- As another alternative, you can built a waveform datatype and feed it to the graph.
- You can also graph dynamic data.
XY graphs
- xy graphs are needed if the x-vlaues are not regularly spaced.They take a variety of data formats, so pick what is most approriate for the data
- A cluster of an x-array and a y-array
- An array of clusters, each containing an xy pair
- A complex datatype (it will graph imaginary vs. real or similar).
- ...
Charts
Charts are different, because they maintain a data history buffer an retain a certain amount of data. Some examples of data inputs:
- A single scalar: it wil be appended to the existing chart data, possibly throwing out the oldest existing point.
- An array: The array data will be appended to the existing chart data.
- A cluster of e.g. 5 points: The chart will have 5 dividual plots, one point gets appended to each plot.
- etc.
- The express xy-graph can be configured as xy chart, etc.
Sure, it is a bit complicated at the beginning, but the complexity also gives you flexibility to do exactly what you want. Just play around with various scenarios and look at the outcome. The best way to learn! 🙂