CAGraphPivot::PivotTo
ADE User Guide > ADE Server Class Reference > CAGraphPivot
Description
Pivots a graph by changing the graphing role filler assignment for one role. This invokes the "smart pivot" logic also present in Analytica, which may cause other roles to change in order to arrive at a sensible pivot. For example, when you set the horizontal axis to the filler that is currently current color key, it may treat this as a swapping of the two roles.
It also changes the attribute values for the object to store the new pivot, hence the pivot persists if you release and then reinstaniate the associated CATable.
If you call CATable::SetIndexOrder and then graph something before you've called PivotTo, the new index order will be used by CATable::GraphToFile() and CATable::GraphToStream(). However, once you've called PivotTo, successive calls to CATable::SetIndexOrder alters the table pivot but not the graph pivot.
Enable comment auto-refresher