![]() |
ChartXvsY()








Public Function |
Declared in: NiPlot.h |
Declaration
Description
Charts a vector of Y data against a vector of X data.
Notes:
1. If the X and Y vectors differ in size, the number of points charted equals the smaller of the two vectors.
2. This function is similar to the PlotXvsY function, except that the previously plotted data is not deleted until the amount stored for each chart is greater than the CNiGraph.ChartLength property.
3. Use the Plot and Chart functions on a CNiPlot object if you want to modify a single plot without affecting the other plots. Use the Plot and Chart functions on the CNiGraph object if you want to modify all existing plots.
4. See the CNiPlot overview for information about using date/time values.
Parameters
const CNiVector& x
const CNiVector& y
X data to plot.
Y data to plot.