![]() |
ChartY()








Public Function |
Declared in: NiGraph.h |
Declaration
void ChartY( double y, double xInc);
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.
Parameters
Y data point to chart.
Amount to increment x for each new point.