I have created the following example to help illustrate
void set_group_plot_increment_by(BOOL bColor, BOOL bShape, BOOL bSymbolInterior, int nGroupIndex = 0)
{
GraphLayer gl = Project.ActiveLayer();
if( !gl )
return;
// get group plot by index from the active layer
GroupPlot gPlot = gl.Groups(nGroupIndex);
if( !gPlot )
return;
vector<int> vv;
if(bShape)
vv.Add(3); // 3 is for symbol shape
if(bColor)
vv.Add(0); // 0 for line color, which is also symbol color
if(bSymbolInterior)
vv.Add(8); // 8 for symbol interior
gPlot.Increment.Nested.nVal = 0; // not to be nested, as that will be more complicated
gPlot.Increment.Nester.nVals = vv;
}
CP