CNiGraph::ChartXY

CNi

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

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

void ChartXY(
    const CNiMatrix& xy,
    bool chartPerRow);

'Description' icon -- Shortcut to top of page. 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.

Shortcut to top of page. Parameters

const CNiMatrix& xy

X-Y data to chart.

bool chartPerRow

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.

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