CNiPlot::ChartY

CNi

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

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

void ChartY(
    const CNiVector& y);

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

Charts a vector of data.

Notes:

1. The first time you call this function on a CNiGraph that contains no plot data, the x value of the first item in the vector is zero. Subsequently, the x value of the first item in the vector is equal to the x value of the last point you charted plus the value of the DefaultXInc property.

2. This function is similar to the PlotY 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& y

Y data to plot.

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