![]() |
ChartXY()








Public Function |
Declared in: NiGraph.h |
Declaration
void ChartXY( const CNiMatrix& xy, bool chartPerRow);
Description
Charts a matrix of data as one or more x-y plots.
Notes:
1. This function is similar to the PlotXY function, except that the previously plotted data is not deleted until the amount stored for each chart is greater than the CNiGraph.ChartLength property.
2. 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.
3. See the CNiGraph overview for information about using date/time values.
Parameters
X-Y data to chart.
If true, the first row in the matrix contains the x data and subsequent rows contain the y data for each plot. If false, the first column in the matrix contains the x data and subsequent columns contain the y data for each plot.