EssGSetGridPerspective

This function sets perspective for a grid. Perspective is similar to grid option. If the set perspective is valid, the grid context is the same.

Syntax

ESSG_FUNC_M EssGSetGridPerspective(hGrid, sAttrdim, sPerspectiveType, pPerspectiveString)
ParameterData TypeDescription

hGrid

ESSG_HGRID_T

Handle passed back from EssGNewGrid().

sAttrdim

ESSG_STR_T

Attribute dimension name for which perspective has to set

sPerspectiveType

ESSG_SHORT_T

Type of perspective. See Grid Perspective Types.

pPerspectiveString

ESSG_STR_T
pPerspectiveString 	(m1,m2,m3,.....)

This is perspective tuple which should be applied for the given attribute dimension. Level-0 members from one or more "Independent" dimensions (for attrDim) will be the part of the input tuple.

If a member from one "independent" dimension is not present in the perspective tuple, the member of the same dimension from the current query/calculation context will be used.

In case of an explicit perspective missing for an attribute dimension, the default usage for perspective is ESSG_PERSP_REALITY. This argument can be NULL for sPerspectiveType other than ESSG_PERSP_EXPLICIT, which requires a valid tuple.

Return Value

See Also

  • EssGGetGridPerspective