CNiGraph::ChartY

CNi

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

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

void ChartY(
    double y,
    double xInc);

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

Charts a point of data.

Notes:

1. The first time you call this function on a CNiGraph that contains no plot data, the x value of the point is zero. Subsequently, the x value of the point is equal to the x value of the point you previously 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. This function uses plots from the CNiGraph::Plots collection that are marked as multiplot. If there are not enough plots available, the function creates temporary plot objects that are deleted after this function executes.

4. See the CNiGraph overview for information about using date/time values.

Shortcut to top of page. Parameters

double y

Y data point to chart.

double xInc

Amount to increment x for each new point.

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