2.2.4.17.27 GraphLayer::HasPlottedInGraph

Description

Check the specified DataRange if has been plotted in GraphLayer

Syntax

int HasPlottedInGraph( DataRange & dr, vector<int> * pvnPlotIndices = NULL, DWORD dwCntrl = 0 )

Parameters

dr
[input]DataRange to be checked
pvnPlotIndices
[output]the plot index for plotted sub data range, -1 for not plotted. it is an optional output.
dwCntrl
optional setting
enum
{
	HAS_PLOTTED_IN_GRAPH__CHECK_ROW_RANGE		= 0x00000001,
	HAS_PLOTTED_IN_GRAPH__NO_CHECK_PLOT		= 0x00000002,
	HAS_PLOTTED_IN_GRAPH__CHECK_ERROR_WEIGHT	= 0x00000004, 
};

Return

Number of plots in dr that has been plotted in graph layer or return negative for error.

Examples

Remark

See Also

check_has_plotted_in_graph

Header to Included

origin.h