CNiPlot::ChartXvsY

CNi

Class
CNiPlot::
ChartXvsY()
Base ClassesData ItemsConstructorsDestructorsFunctionsGo to hierarchy chart    Prev page: YAxisNext page: ChartXY    
Public Function Declared in:
NiPlot.h

'Declaration' icon -- Shortcut to top of page. Declaration

void ChartXvsY(
    const CNiVector& x,
    const CNiVector& y);

'Description' icon -- Shortcut to top of page. 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.

Shortcut to top of page. Parameters

const CNiVector& x

X data to plot.

const CNiVector& y

Y data to plot.

'See Also' icon -- Shortcut to top of page. See Also