DetachGraph
Detach any graph that is attached to a given Worksheet cell
BOOL DetachGraph( int nRow, int nCol, BOOL bColLabel = FALSE )
returns TRUE if successful
EX1
//Detach the graph in cell(0,0) of the active sheet. void Worksheet_DetachGraph_Ex1() { Worksheet wks = Project.ActiveLayer(); if(!wks) return; int nRow = 0; int nCol = 0; if(!wks.DetachGraph(nRow, nCol)) printf("Failed to detach graph"); }
origin.h