2.2.4.2.2.10.2 CalculationPropertiesVisualizationProperties

The CalculationPropertiesVisualizationProperties complex type specifies visualization properties for a calculated result. This type is defined in the eng300 namespace.

The following is the XSD for the CalculationPropertiesVisualizationProperties complex type.

   <xsd:complexType name="CalculationPropertiesVisualizationProperties">
     <xsd:sequence>
       <xsd:element name="FolderPosition" type="xsd:integer" 
                    minOccurs="0" maxOccurs="1" default="-1"/>
       <xsd:element name="ContextualNameRule" minOccurs="0" maxOccurs="1" default="None">
         <xsd:simpleType>
           <xsd:restriction base="xsd:string">
             <xsd:enumeration value="None" />
             <xsd:enumeration value="Context" />
             <xsd:enumeration value="Merge" />
           </xsd:restriction>
         </xsd:simpleType>
       </xsd:element>
       <xsd:element name="Alignment" minOccurs="0" maxOccurs="1" default="Default">
         <xsd:simpleType>
           <xsd:restriction base="xsd:string">
             <xsd:enumeration value="Default" />
             <xsd:enumeration value="Left" />
             <xsd:enumeration value="Right" />
             <xsd:enumeration value="Center" />
           </xsd:restriction>
         </xsd:simpleType>
       </xsd:element>
       <xsd:element name="IsFolderDefault" type="xsd:boolean" 
                    minOccurs="0" maxOccurs="1" default="false"/>
       <xsd:element name="IsRightToLeft" type="xsd:boolean" 
                    minOccurs="0" maxOccurs="1" default="false"/>
       <xsd:element name="SortDirection" minOccurs="0" maxOccurs="1" default="Default">
         <xsd:simpleType >
           <xsd:restriction base="xsd:string">
             <xsd:enumeration value="Default" />
             <xsd:enumeration value="Ascending" />
             <xsd:enumeration value="Descending" />
           </xsd:restriction>
         </xsd:simpleType>
       </xsd:element>
       <xsd:element name="Units" type="xsd:string" minOccurs="0" maxOccurs="1" default=""/>
       <xsd:element name="Width" type="xsd:integer" minOccurs="0" maxOccurs="1" default="-1"/>
       <xsd:element name="IsDefaultMeasure" type="xsd:boolean" minOccurs="0" 
                    maxOccurs="1" default="false"/>
       <xsd:element name="DefaultDetailsPosition" type="xsd:integer" 
                    minOccurs="0" maxOccurs="1" default="-1"/>
       <xsd:element name="SortPropertiesPosition" type="xsd:integer" 
                    minOccurs="0" maxOccurs="1" default="-1"/>
       <xsd:element name="IsSimpleMeasure" type="xsd:boolean" 
                    minOccurs="0" maxOccurs="1" default="false" />
     </xsd:sequence>
   </xsd:complexType>

Element

Read-only

Default value

Description

FolderPosition

-1

Provides a hint to client applications to suggest the position that this attribute might hold among the other elements that share the same display folder (AttributeTranslation).

ContextualNameRule

"None"

Provides a hint to client applications to suggest how to create unambiguous names for this attribute. The following values are allowed:

  • "None" – Use the attribute name

  • "Context" – Use the incoming relationship name.

  • "Merge" – Attending to language grammar, concatenate the incoming relationship name and the attribute name.

Alignment

"Default"

Provides a hint to client applications to suggest how to justify this attribute when displayed. The following values are allowed:

  • "Default" – Use the alignment appropriate for the attribute’s data type.

  • "Left" – Align left.

  • "Right" – Align right.

  • "Center" – Center.

IsFolderDefault

"false"

Provides a hint to client applications that this attribute is representative of its display folder.

IsRightToLeft

"false"

Provides a hint to client applications that this attribute is to be displayed right-to-left.

SortDirection

"Default"

Provides a hint to client applications to suggest how to sort instances of this attribute. The following values are allowed:

  • "Default" – Use the sort direction appropriate for the attribute’s data type.

  • "Ascending" – Sort in ascending order.

  • "Descending" – Sort in descending order.

Units

Empty

Provides a hint to client applications to suggest a string to be associated with values of this attribute

Width

-1

Provides a hint to client applications to suggest the length (in characters) to reserve to display this attribute.

IsDefaultMeasure

"false"

Provides a hint to client applications that this CalculationProperty contains a result that is uniquely representative of a Dimension instance that the CalculationProperty is associated with.

DefaultDetailsPosition

-1

Provides the ability to place this attribute in the Default Details collection of the Dimension. This collection is an ordered set of DimensionAttribute types, CalculationProperty types, and RelationshipEnd elements. A positive value specifies participation in the collection. The collection is sorted in ascending order of this element.

SortPropertiesPosition

-1

Provides the ability to place this attribute in the Sort Properties collection of the Dimension. This collection is an ordered set of DimensionAttribute types, CalculationProperty types, and RelationshipEnd elements.

Client applications can interpret this collection as a suggestion for how to perform a multi-column sort on this Dimension. A positive value specifies participation in the collection. The collection is sorted in ascending order of this element.

IsSimpleMeasure

"false"

Provides a hint to client applications that this CalculationProperty need not be displayed in clients. For example, a client might mark an automatically generated calculation as IsSimple so that it remains visible to the client, but is filtered out of any user views.