![]() |
ChartY()








Public Function |
Declared in: NiGraph.h |
Declaration
void ChartY( const CNiMatrix& y);
Description
Charts a matrix of data as one or more y plots.
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 each plot you create is zero. Subsequently, the x value of each point is equal to the x value of the point in the corresponding plot, which 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 to chart. The data is plotted either by row or by column, depending on the value of the DefaultPlotPerRow property.