Difference between revisions of "CAGraphPivot"
m |
(Update) |
||
Line 27: | Line 27: | ||
== Methods == | == Methods == | ||
− | ==== Update() ==== | + | ==== [[CAGraphPivot::Update|Update]]() ==== |
+ | :Use to refresh the pivot after something outside the CAGraphPivot class changes the result's dimensionality, graphing attributes, or other setting that would alter the selected pivot. | ||
==== [[CAFiller]] [[CAGraphPivot::RoleFiller|RoleFiller]]( string role ) ==== | ==== [[CAFiller]] [[CAGraphPivot::RoleFiller|RoleFiller]]( string role ) ==== | ||
==== unsigned [[CAGraphPivot::NumPossibleFillers|NumPossibleFillers]]( string role ) ==== | ==== unsigned [[CAGraphPivot::NumPossibleFillers|NumPossibleFillers]]( string role ) ==== |
Revision as of 22:45, 7 March 2018
ADE User Guide > ADE Server Class Reference >
New to ADE 5.0
CAGraphPivot provides information about the pivot state of a graph, and a method for changing the pivot. The pivot state is the set of role-filler assignments (see Graphing roles) for a graph, as well as the set of pivot options. A CAGraphPivot object instance is obtained from an associated with a single CATable instance.
To obtain a graph image from ADE, the following steps are typically involved.
- Use CAObject::ResultTable to obtain the result to be graphed as a CATable
- Use CATable::GraphPivot to get a CAGraphPivot object
- Use the properties of CAGraphPivot to examine the current pivot, and use CAGraphPivot::PivotTo to change the current pivot.
- Set CATable::GraphWidth and CATable::GraphHeight to the desired graph image size.
- Obtain the graph image from CATable::GraphToStream or CATable::GraphToFile.
Creation
A CAGraphPivot instance is obtained from a call to CATable::GraphPivot().
Properties
{get,put} long NthSlicerPosition(unsigned n)
Methods
Update()
- Use to refresh the pivot after something outside the CAGraphPivot class changes the result's dimensionality, graphing attributes, or other setting that would alter the selected pivot.
CAFiller RoleFiller( string role )
unsigned NumPossibleFillers( string role )
CAFiller PossibleRoleFiller( string role, unsigned i )
unsigned NumSlicers( )
CAIndex NthSlicerIndex( unsigned n )
bool PivotTo( string role, CAFiller newFiller )
See Also
- Using the Analytica Graphing Engine
- Graphing roles
- CATable::GraphToStream(), CATable::GraphToFile()
- CAFiller
CAPicture <- | CAGraphPivot | -> CAFiller |
Comments
Enable comment auto-refresher