cxGeoPlotDataRemove - removes a set of x and y values from the current plot
#include <cx/Geometry.h> cxErrorCode cxGeoPlotDataRemove(int id)
- identifier for the dataset to be removed.
cxGeoPlotDataAdd returns an error code, an enumerated integer with cx_err_none (zero) indicating success. Any other value indicates the absence of a prior call to cxGeoPlotBegin, or an attempt to remove a dataset which cannot be found in the current plot. A description of the error can be obtained by immediately calling cxGeoPlotGetLastError.
This function removes a set of x and y values from the current plot. Each set of values may be identified by a unique integer (returned from cxGeoPlotDataAdd when the dataset is added to the plot), which can be used to remove it.
The source of the LineGraph module may be found in $EXPLORERHOME/src/LineGraph/linegraph.c on UNIX machines, and %EXPLORERHOME%\src\LineGraph\linegraph.c on NT machines. It illustrates the use of many of the cxGeoPlot* routines.
[ Documentation Home ]