IRubricator.FactAndValuesDimension

Syntax

FactAndValuesDimension: IDimensionModel;

Description

The FactAndValuesDimension property returns the dimension of time series database attributes.

Comments

The dimension of attributes includes attributes of the factors that are links to the dictionary, and the Value attribute.

Example

Executing the example requires a form containing the DimensionTree component with the DimensionTree1 identifier and the UiDimension component with the UiDimension1 identifier. The UiDimension1 component is a data source for DimensionTree1.

The repository must have a time series database with the TSBD identifier.

Add links to the Cubes and Metabase system assemblies.

Sub UserProc;
Var
    mb: IMetabase;
    TSDB: IRubricator;
Begin
    // Get current repository
    MB := MetabaseClass.Active;
    // Get time series database
    TSDB := MB.ItemById("TSDB").Bind As IRubricator;
    // Display dimension of attributes in the DimensionTree1 component
    UiDimension1.Dimension := TSDB.FactAndValuesDimension;
    UiDimension1.Active := True;
End Sub UserProc;

After executing the example the DimensionTree1 component displays dimension of attributes of time series database.

See also:

IRubricator