Difference between revisions of "CAGraphPivot"

(Set up this page. Haven't listed properties or methods yet)
 
(Listed methods and properties)
Line 18: Line 18:
  
 
== Creation==
 
== Creation==
 +
 +
A [[CAGraphPivot]] instance is obtained from a call to [[CATable::GraphPivot]]().
  
 
== Properties ==
 
== Properties ==
 +
 +
==== {get,put} long [[CAGraphPivot::NthSlicerPosition|:NthSlicerPosition]](unsigned  n) ====
  
 
== Methods ==
 
== Methods ==
 +
 +
==== Update() ====
 +
==== [[CAFiller]] [[CAGraphPivot::RoleFiller|:RoleFiller]]( string role ) ====
 +
==== unsigned [[CAGraphPivot::NumPossibleFillers|:NumPossibleFillers]]( string role ) ====
 +
==== [[CAFiller]] [[CAGraphPivot::PossibleRoleFiller|:PossibleRoleFiller]]( string role, unsigned i ) ====
 +
==== unsigned [[CAGraphPivot::NumSlicers|:NumSlicers]]( ) ====
 +
==== [[CAIndex]] [[CAGraphPivot::NthSlicerIndex|:NthSlicerIndex]]( unsigned n ) ====
 +
==== bool [[CAGraphPivot::PivotTo|:PivotTo]]( string role, CAFiller newFiller ) ====
  
 
== See Also ==
 
== See Also ==
 +
* [[Working_with_Models,_Modules,_and_Files_in_ADE#Using_the_Analytica_Graphing_Engine|Using the Analytica Graphing Engine]]
 +
* [[Graphing roles]]
 +
* [[CATable::GraphToStream]](), [[CATable::GraphToFile]]()
 +
* [[CAFiller]]
  
 
{| style="margin: 1em auto 1em auto;width: 100%;border:0;table-layout: fixed;" cellpadding=5
 
{| style="margin: 1em auto 1em auto;width: 100%;border:0;table-layout: fixed;" cellpadding=5

Revision as of 21:32, 28 July 2017


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.

  1. Use CAObject::ResultTable to obtain the result to be graphed as a CATable
  2. Use CATable::GraphPivot to get a CAGraphPivot object
  3. Use the properties of CAGraphPivot to examine the current pivot, and use CAGraphPivot::PivotTo to change the current pivot.
  4. Set CATable::GraphWidth and CATable::GraphHeight to the desired graph image size.
  5. 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()

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

CAPicture <- CAGraphPivot -> CAFiller
Comments


You are not allowed to post comments.