If you are talking about turning off the legend auto update property for a graph page, there will be a way to do that.
The following function is an example. It reads the formats of a graph page, turns off the auto-update for legend, and updates the change of formats for the graph page.
void test4996()
{
//Get the first graph page in the project
GraphPage pg = Project.GraphPages(0);
if (!pg) return;
//Get part of its format
Tree tr;
tr = pg.GetFormat(FPB_OTHER, FOB_LABELS);
//Get the tree node for legend auto-update
TreeNode tn;
tn=tree_get_node_by_attributes(tr, "NodeID", "639");
if (!tn.IsValid()) return;
//Set legend auto-uplate to be false
tn.nVal=0;
//Apply the changed format
pg.ApplyFormat(tr);
}
Hope it helps. :)
Deanna
OriginLab GZ Office